diff --git a/.gitignore b/.gitignore index e9512a4b7..e5f7c0e33 100644 --- a/.gitignore +++ b/.gitignore @@ -53,7 +53,8 @@ Desktop.ini !/backend/public/install/.env !/frontend/admin/.env.production !/frontend/uni-app/.env.production -/backend/.constant +!/backend/.constant +!/backend/.env /backend/pem/ # 前端依赖与构建产物 @@ -83,7 +84,7 @@ node_modules/ /backend/vendor/dh2y/think-qrcode/src/phpqrcode/*-errors.txt # 发布到后端的前端构建资源 -/backend/public/admin/ + /backend/public/theme/ # 升级程序包二进制产物:目录内脚本/清单/增量文本入库,zip 与前端构建产物出包时现生成(见 .crmeb/rules/升级包规范.md) diff --git a/backend/public/admin/admin/monacoeditorwork/editor.worker.bundle.js b/backend/public/admin/admin/monacoeditorwork/editor.worker.bundle.js new file mode 100644 index 000000000..d2c003be7 --- /dev/null +++ b/backend/public/admin/admin/monacoeditorwork/editor.worker.bundle.js @@ -0,0 +1,13517 @@ +(() => { + var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, { + get: (a, b) => (typeof require !== "undefined" ? require : a)[b] + }) : x)(function(x) { + if (typeof require !== "undefined") return require.apply(this, arguments); + throw Error('Dynamic require of "' + x + '" is not supported'); + }); + + // node_modules/monaco-editor/esm/vs/base/common/errors.js + var ErrorHandler = class { + constructor() { + this.listeners = []; + this.unexpectedErrorHandler = function(e) { + setTimeout(() => { + if (e.stack) { + if (ErrorNoTelemetry.isErrorNoTelemetry(e)) { + throw new ErrorNoTelemetry(e.message + "\n\n" + e.stack); + } + throw new Error(e.message + "\n\n" + e.stack); + } + throw e; + }, 0); + }; + } + emit(e) { + this.listeners.forEach((listener) => { + listener(e); + }); + } + onUnexpectedError(e) { + this.unexpectedErrorHandler(e); + this.emit(e); + } + // For external errors, we don't want the listeners to be called + onUnexpectedExternalError(e) { + this.unexpectedErrorHandler(e); + } + }; + var errorHandler = new ErrorHandler(); + function onUnexpectedError(e) { + if (!isCancellationError(e)) { + errorHandler.onUnexpectedError(e); + } + return void 0; + } + function transformErrorForSerialization(error) { + if (error instanceof Error) { + const { name, message } = error; + const stack = error.stacktrace || error.stack; + return { + $isError: true, + name, + message, + stack, + noTelemetry: ErrorNoTelemetry.isErrorNoTelemetry(error) + }; + } + return error; + } + var canceledName = "Canceled"; + function isCancellationError(error) { + if (error instanceof CancellationError) { + return true; + } + return error instanceof Error && error.name === canceledName && error.message === canceledName; + } + var CancellationError = class extends Error { + constructor() { + super(canceledName); + this.name = this.message; + } + }; + var ErrorNoTelemetry = class _ErrorNoTelemetry extends Error { + constructor(msg) { + super(msg); + this.name = "CodeExpectedError"; + } + static fromError(err) { + if (err instanceof _ErrorNoTelemetry) { + return err; + } + const result = new _ErrorNoTelemetry(); + result.message = err.message; + result.stack = err.stack; + return result; + } + static isErrorNoTelemetry(err) { + return err.name === "CodeExpectedError"; + } + }; + var BugIndicatingError = class _BugIndicatingError extends Error { + constructor(message) { + super(message || "An unexpected bug occurred."); + Object.setPrototypeOf(this, _BugIndicatingError.prototype); + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/functional.js + function createSingleCallFunction(fn, fnDidRunCallback) { + const _this = this; + let didCall = false; + let result; + return function() { + if (didCall) { + return result; + } + didCall = true; + if (fnDidRunCallback) { + try { + result = fn.apply(_this, arguments); + } finally { + fnDidRunCallback(); + } + } else { + result = fn.apply(_this, arguments); + } + return result; + }; + } + + // node_modules/monaco-editor/esm/vs/base/common/iterator.js + var Iterable; + (function(Iterable2) { + function is(thing) { + return thing && typeof thing === "object" && typeof thing[Symbol.iterator] === "function"; + } + Iterable2.is = is; + const _empty2 = Object.freeze([]); + function empty() { + return _empty2; + } + Iterable2.empty = empty; + function* single(element) { + yield element; + } + Iterable2.single = single; + function wrap(iterableOrElement) { + if (is(iterableOrElement)) { + return iterableOrElement; + } else { + return single(iterableOrElement); + } + } + Iterable2.wrap = wrap; + function from(iterable) { + return iterable || _empty2; + } + Iterable2.from = from; + function* reverse(array) { + for (let i = array.length - 1; i >= 0; i--) { + yield array[i]; + } + } + Iterable2.reverse = reverse; + function isEmpty(iterable) { + return !iterable || iterable[Symbol.iterator]().next().done === true; + } + Iterable2.isEmpty = isEmpty; + function first(iterable) { + return iterable[Symbol.iterator]().next().value; + } + Iterable2.first = first; + function some(iterable, predicate) { + let i = 0; + for (const element of iterable) { + if (predicate(element, i++)) { + return true; + } + } + return false; + } + Iterable2.some = some; + function find(iterable, predicate) { + for (const element of iterable) { + if (predicate(element)) { + return element; + } + } + return void 0; + } + Iterable2.find = find; + function* filter(iterable, predicate) { + for (const element of iterable) { + if (predicate(element)) { + yield element; + } + } + } + Iterable2.filter = filter; + function* map(iterable, fn) { + let index = 0; + for (const element of iterable) { + yield fn(element, index++); + } + } + Iterable2.map = map; + function* flatMap(iterable, fn) { + let index = 0; + for (const element of iterable) { + yield* fn(element, index++); + } + } + Iterable2.flatMap = flatMap; + function* concat(...iterables) { + for (const iterable of iterables) { + yield* iterable; + } + } + Iterable2.concat = concat; + function reduce(iterable, reducer, initialValue) { + let value = initialValue; + for (const element of iterable) { + value = reducer(value, element); + } + return value; + } + Iterable2.reduce = reduce; + function* slice(arr, from2, to = arr.length) { + if (from2 < 0) { + from2 += arr.length; + } + if (to < 0) { + to += arr.length; + } else if (to > arr.length) { + to = arr.length; + } + for (; from2 < to; from2++) { + yield arr[from2]; + } + } + Iterable2.slice = slice; + function consume(iterable, atMost = Number.POSITIVE_INFINITY) { + const consumed = []; + if (atMost === 0) { + return [consumed, iterable]; + } + const iterator = iterable[Symbol.iterator](); + for (let i = 0; i < atMost; i++) { + const next = iterator.next(); + if (next.done) { + return [consumed, Iterable2.empty()]; + } + consumed.push(next.value); + } + return [consumed, { [Symbol.iterator]() { + return iterator; + } }]; + } + Iterable2.consume = consume; + async function asyncToArray(iterable) { + const result = []; + for await (const item of iterable) { + result.push(item); + } + return Promise.resolve(result); + } + Iterable2.asyncToArray = asyncToArray; + })(Iterable || (Iterable = {})); + + // node_modules/monaco-editor/esm/vs/base/common/lifecycle.js + var TRACK_DISPOSABLES = false; + var disposableTracker = null; + function setDisposableTracker(tracker) { + disposableTracker = tracker; + } + if (TRACK_DISPOSABLES) { + const __is_disposable_tracked__ = "__is_disposable_tracked__"; + setDisposableTracker(new class { + trackDisposable(x) { + const stack = new Error("Potentially leaked disposable").stack; + setTimeout(() => { + if (!x[__is_disposable_tracked__]) { + console.log(stack); + } + }, 3e3); + } + setParent(child, parent) { + if (child && child !== Disposable.None) { + try { + child[__is_disposable_tracked__] = true; + } catch { + } + } + } + markAsDisposed(disposable) { + if (disposable && disposable !== Disposable.None) { + try { + disposable[__is_disposable_tracked__] = true; + } catch { + } + } + } + markAsSingleton(disposable) { + } + }()); + } + function trackDisposable(x) { + disposableTracker?.trackDisposable(x); + return x; + } + function markAsDisposed(disposable) { + disposableTracker?.markAsDisposed(disposable); + } + function setParentOfDisposable(child, parent) { + disposableTracker?.setParent(child, parent); + } + function setParentOfDisposables(children, parent) { + if (!disposableTracker) { + return; + } + for (const child of children) { + disposableTracker.setParent(child, parent); + } + } + function dispose(arg) { + if (Iterable.is(arg)) { + const errors = []; + for (const d of arg) { + if (d) { + try { + d.dispose(); + } catch (e) { + errors.push(e); + } + } + } + if (errors.length === 1) { + throw errors[0]; + } else if (errors.length > 1) { + throw new AggregateError(errors, "Encountered errors while disposing of store"); + } + return Array.isArray(arg) ? [] : arg; + } else if (arg) { + arg.dispose(); + return arg; + } + } + function combinedDisposable(...disposables) { + const parent = toDisposable(() => dispose(disposables)); + setParentOfDisposables(disposables, parent); + return parent; + } + function toDisposable(fn) { + const self = trackDisposable({ + dispose: createSingleCallFunction(() => { + markAsDisposed(self); + fn(); + }) + }); + return self; + } + var DisposableStore = class _DisposableStore { + static { + this.DISABLE_DISPOSED_WARNING = false; + } + constructor() { + this._toDispose = /* @__PURE__ */ new Set(); + this._isDisposed = false; + trackDisposable(this); + } + /** + * Dispose of all registered disposables and mark this object as disposed. + * + * Any future disposables added to this object will be disposed of on `add`. + */ + dispose() { + if (this._isDisposed) { + return; + } + markAsDisposed(this); + this._isDisposed = true; + this.clear(); + } + /** + * @return `true` if this object has been disposed of. + */ + get isDisposed() { + return this._isDisposed; + } + /** + * Dispose of all registered disposables but do not mark this object as disposed. + */ + clear() { + if (this._toDispose.size === 0) { + return; + } + try { + dispose(this._toDispose); + } finally { + this._toDispose.clear(); + } + } + /** + * Add a new {@link IDisposable disposable} to the collection. + */ + add(o) { + if (!o) { + return o; + } + if (o === this) { + throw new Error("Cannot register a disposable on itself!"); + } + setParentOfDisposable(o, this); + if (this._isDisposed) { + if (!_DisposableStore.DISABLE_DISPOSED_WARNING) { + console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack); + } + } else { + this._toDispose.add(o); + } + return o; + } + /** + * Deletes the value from the store, but does not dispose it. + */ + deleteAndLeak(o) { + if (!o) { + return; + } + if (this._toDispose.has(o)) { + this._toDispose.delete(o); + setParentOfDisposable(o, null); + } + } + }; + var Disposable = class { + static { + this.None = Object.freeze({ dispose() { + } }); + } + constructor() { + this._store = new DisposableStore(); + trackDisposable(this); + setParentOfDisposable(this._store, this); + } + dispose() { + markAsDisposed(this); + this._store.dispose(); + } + /** + * Adds `o` to the collection of disposables managed by this object. + */ + _register(o) { + if (o === this) { + throw new Error("Cannot register a disposable on itself!"); + } + return this._store.add(o); + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/linkedList.js + var Node = class _Node { + static { + this.Undefined = new _Node(void 0); + } + constructor(element) { + this.element = element; + this.next = _Node.Undefined; + this.prev = _Node.Undefined; + } + }; + var LinkedList = class { + constructor() { + this._first = Node.Undefined; + this._last = Node.Undefined; + this._size = 0; + } + get size() { + return this._size; + } + isEmpty() { + return this._first === Node.Undefined; + } + clear() { + let node = this._first; + while (node !== Node.Undefined) { + const next = node.next; + node.prev = Node.Undefined; + node.next = Node.Undefined; + node = next; + } + this._first = Node.Undefined; + this._last = Node.Undefined; + this._size = 0; + } + unshift(element) { + return this._insert(element, false); + } + push(element) { + return this._insert(element, true); + } + _insert(element, atTheEnd) { + const newNode = new Node(element); + if (this._first === Node.Undefined) { + this._first = newNode; + this._last = newNode; + } else if (atTheEnd) { + const oldLast = this._last; + this._last = newNode; + newNode.prev = oldLast; + oldLast.next = newNode; + } else { + const oldFirst = this._first; + this._first = newNode; + newNode.next = oldFirst; + oldFirst.prev = newNode; + } + this._size += 1; + let didRemove = false; + return () => { + if (!didRemove) { + didRemove = true; + this._remove(newNode); + } + }; + } + shift() { + if (this._first === Node.Undefined) { + return void 0; + } else { + const res = this._first.element; + this._remove(this._first); + return res; + } + } + pop() { + if (this._last === Node.Undefined) { + return void 0; + } else { + const res = this._last.element; + this._remove(this._last); + return res; + } + } + _remove(node) { + if (node.prev !== Node.Undefined && node.next !== Node.Undefined) { + const anchor = node.prev; + anchor.next = node.next; + node.next.prev = anchor; + } else if (node.prev === Node.Undefined && node.next === Node.Undefined) { + this._first = Node.Undefined; + this._last = Node.Undefined; + } else if (node.next === Node.Undefined) { + this._last = this._last.prev; + this._last.next = Node.Undefined; + } else if (node.prev === Node.Undefined) { + this._first = this._first.next; + this._first.prev = Node.Undefined; + } + this._size -= 1; + } + *[Symbol.iterator]() { + let node = this._first; + while (node !== Node.Undefined) { + yield node.element; + node = node.next; + } + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/stopwatch.js + var hasPerformanceNow = globalThis.performance && typeof globalThis.performance.now === "function"; + var StopWatch = class _StopWatch { + static create(highResolution) { + return new _StopWatch(highResolution); + } + constructor(highResolution) { + this._now = hasPerformanceNow && highResolution === false ? Date.now : globalThis.performance.now.bind(globalThis.performance); + this._startTime = this._now(); + this._stopTime = -1; + } + stop() { + this._stopTime = this._now(); + } + reset() { + this._startTime = this._now(); + this._stopTime = -1; + } + elapsed() { + if (this._stopTime !== -1) { + return this._stopTime - this._startTime; + } + return this._now() - this._startTime; + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/event.js + var _enableListenerGCedWarning = false; + var _enableDisposeWithListenerWarning = false; + var _enableSnapshotPotentialLeakWarning = false; + var Event; + (function(Event2) { + Event2.None = () => Disposable.None; + function _addLeakageTraceLogic(options) { + if (_enableSnapshotPotentialLeakWarning) { + const { onDidAddListener: origListenerDidAdd } = options; + const stack = Stacktrace.create(); + let count = 0; + options.onDidAddListener = () => { + if (++count === 2) { + console.warn("snapshotted emitter LIKELY used public and SHOULD HAVE BEEN created with DisposableStore. snapshotted here"); + stack.print(); + } + origListenerDidAdd?.(); + }; + } + } + function defer(event, disposable) { + return debounce(event, () => void 0, 0, void 0, true, void 0, disposable); + } + Event2.defer = defer; + function once(event) { + return (listener, thisArgs = null, disposables) => { + let didFire = false; + let result = void 0; + result = event((e) => { + if (didFire) { + return; + } else if (result) { + result.dispose(); + } else { + didFire = true; + } + return listener.call(thisArgs, e); + }, null, disposables); + if (didFire) { + result.dispose(); + } + return result; + }; + } + Event2.once = once; + function onceIf(event, condition) { + return Event2.once(Event2.filter(event, condition)); + } + Event2.onceIf = onceIf; + function map(event, map2, disposable) { + return snapshot((listener, thisArgs = null, disposables) => event((i) => listener.call(thisArgs, map2(i)), null, disposables), disposable); + } + Event2.map = map; + function forEach(event, each, disposable) { + return snapshot((listener, thisArgs = null, disposables) => event((i) => { + each(i); + listener.call(thisArgs, i); + }, null, disposables), disposable); + } + Event2.forEach = forEach; + function filter(event, filter2, disposable) { + return snapshot((listener, thisArgs = null, disposables) => event((e) => filter2(e) && listener.call(thisArgs, e), null, disposables), disposable); + } + Event2.filter = filter; + function signal(event) { + return event; + } + Event2.signal = signal; + function any(...events) { + return (listener, thisArgs = null, disposables) => { + const disposable = combinedDisposable(...events.map((event) => event((e) => listener.call(thisArgs, e)))); + return addAndReturnDisposable(disposable, disposables); + }; + } + Event2.any = any; + function reduce(event, merge, initial, disposable) { + let output = initial; + return map(event, (e) => { + output = merge(output, e); + return output; + }, disposable); + } + Event2.reduce = reduce; + function snapshot(event, disposable) { + let listener; + const options = { + onWillAddFirstListener() { + listener = event(emitter.fire, emitter); + }, + onDidRemoveLastListener() { + listener?.dispose(); + } + }; + if (!disposable) { + _addLeakageTraceLogic(options); + } + const emitter = new Emitter(options); + disposable?.add(emitter); + return emitter.event; + } + function addAndReturnDisposable(d, store) { + if (store instanceof Array) { + store.push(d); + } else if (store) { + store.add(d); + } + return d; + } + function debounce(event, merge, delay = 100, leading = false, flushOnListenerRemove = false, leakWarningThreshold, disposable) { + let subscription; + let output = void 0; + let handle = void 0; + let numDebouncedCalls = 0; + let doFire; + const options = { + leakWarningThreshold, + onWillAddFirstListener() { + subscription = event((cur) => { + numDebouncedCalls++; + output = merge(output, cur); + if (leading && !handle) { + emitter.fire(output); + output = void 0; + } + doFire = () => { + const _output = output; + output = void 0; + handle = void 0; + if (!leading || numDebouncedCalls > 1) { + emitter.fire(_output); + } + numDebouncedCalls = 0; + }; + if (typeof delay === "number") { + clearTimeout(handle); + handle = setTimeout(doFire, delay); + } else { + if (handle === void 0) { + handle = 0; + queueMicrotask(doFire); + } + } + }); + }, + onWillRemoveListener() { + if (flushOnListenerRemove && numDebouncedCalls > 0) { + doFire?.(); + } + }, + onDidRemoveLastListener() { + doFire = void 0; + subscription.dispose(); + } + }; + if (!disposable) { + _addLeakageTraceLogic(options); + } + const emitter = new Emitter(options); + disposable?.add(emitter); + return emitter.event; + } + Event2.debounce = debounce; + function accumulate(event, delay = 0, disposable) { + return Event2.debounce(event, (last, e) => { + if (!last) { + return [e]; + } + last.push(e); + return last; + }, delay, void 0, true, void 0, disposable); + } + Event2.accumulate = accumulate; + function latch(event, equals3 = (a, b) => a === b, disposable) { + let firstCall = true; + let cache; + return filter(event, (value) => { + const shouldEmit = firstCall || !equals3(value, cache); + firstCall = false; + cache = value; + return shouldEmit; + }, disposable); + } + Event2.latch = latch; + function split(event, isT, disposable) { + return [ + Event2.filter(event, isT, disposable), + Event2.filter(event, (e) => !isT(e), disposable) + ]; + } + Event2.split = split; + function buffer(event, flushAfterTimeout = false, _buffer = [], disposable) { + let buffer2 = _buffer.slice(); + let listener = event((e) => { + if (buffer2) { + buffer2.push(e); + } else { + emitter.fire(e); + } + }); + if (disposable) { + disposable.add(listener); + } + const flush = () => { + buffer2?.forEach((e) => emitter.fire(e)); + buffer2 = null; + }; + const emitter = new Emitter({ + onWillAddFirstListener() { + if (!listener) { + listener = event((e) => emitter.fire(e)); + if (disposable) { + disposable.add(listener); + } + } + }, + onDidAddFirstListener() { + if (buffer2) { + if (flushAfterTimeout) { + setTimeout(flush); + } else { + flush(); + } + } + }, + onDidRemoveLastListener() { + if (listener) { + listener.dispose(); + } + listener = null; + } + }); + if (disposable) { + disposable.add(emitter); + } + return emitter.event; + } + Event2.buffer = buffer; + function chain(event, sythensize) { + const fn = (listener, thisArgs, disposables) => { + const cs = sythensize(new ChainableSynthesis()); + return event(function(value) { + const result = cs.evaluate(value); + if (result !== HaltChainable) { + listener.call(thisArgs, result); + } + }, void 0, disposables); + }; + return fn; + } + Event2.chain = chain; + const HaltChainable = Symbol("HaltChainable"); + class ChainableSynthesis { + constructor() { + this.steps = []; + } + map(fn) { + this.steps.push(fn); + return this; + } + forEach(fn) { + this.steps.push((v) => { + fn(v); + return v; + }); + return this; + } + filter(fn) { + this.steps.push((v) => fn(v) ? v : HaltChainable); + return this; + } + reduce(merge, initial) { + let last = initial; + this.steps.push((v) => { + last = merge(last, v); + return last; + }); + return this; + } + latch(equals3 = (a, b) => a === b) { + let firstCall = true; + let cache; + this.steps.push((value) => { + const shouldEmit = firstCall || !equals3(value, cache); + firstCall = false; + cache = value; + return shouldEmit ? value : HaltChainable; + }); + return this; + } + evaluate(value) { + for (const step of this.steps) { + value = step(value); + if (value === HaltChainable) { + break; + } + } + return value; + } + } + function fromNodeEventEmitter(emitter, eventName, map2 = (id) => id) { + const fn = (...args) => result.fire(map2(...args)); + const onFirstListenerAdd = () => emitter.on(eventName, fn); + const onLastListenerRemove = () => emitter.removeListener(eventName, fn); + const result = new Emitter({ onWillAddFirstListener: onFirstListenerAdd, onDidRemoveLastListener: onLastListenerRemove }); + return result.event; + } + Event2.fromNodeEventEmitter = fromNodeEventEmitter; + function fromDOMEventEmitter(emitter, eventName, map2 = (id) => id) { + const fn = (...args) => result.fire(map2(...args)); + const onFirstListenerAdd = () => emitter.addEventListener(eventName, fn); + const onLastListenerRemove = () => emitter.removeEventListener(eventName, fn); + const result = new Emitter({ onWillAddFirstListener: onFirstListenerAdd, onDidRemoveLastListener: onLastListenerRemove }); + return result.event; + } + Event2.fromDOMEventEmitter = fromDOMEventEmitter; + function toPromise(event) { + return new Promise((resolve2) => once(event)(resolve2)); + } + Event2.toPromise = toPromise; + function fromPromise(promise) { + const result = new Emitter(); + promise.then((res) => { + result.fire(res); + }, () => { + result.fire(void 0); + }).finally(() => { + result.dispose(); + }); + return result.event; + } + Event2.fromPromise = fromPromise; + function forward(from, to) { + return from((e) => to.fire(e)); + } + Event2.forward = forward; + function runAndSubscribe(event, handler, initial) { + handler(initial); + return event((e) => handler(e)); + } + Event2.runAndSubscribe = runAndSubscribe; + class EmitterObserver { + constructor(_observable, store) { + this._observable = _observable; + this._counter = 0; + this._hasChanged = false; + const options = { + onWillAddFirstListener: () => { + _observable.addObserver(this); + this._observable.reportChanges(); + }, + onDidRemoveLastListener: () => { + _observable.removeObserver(this); + } + }; + if (!store) { + _addLeakageTraceLogic(options); + } + this.emitter = new Emitter(options); + if (store) { + store.add(this.emitter); + } + } + beginUpdate(_observable) { + this._counter++; + } + handlePossibleChange(_observable) { + } + handleChange(_observable, _change) { + this._hasChanged = true; + } + endUpdate(_observable) { + this._counter--; + if (this._counter === 0) { + this._observable.reportChanges(); + if (this._hasChanged) { + this._hasChanged = false; + this.emitter.fire(this._observable.get()); + } + } + } + } + function fromObservable(obs, store) { + const observer = new EmitterObserver(obs, store); + return observer.emitter.event; + } + Event2.fromObservable = fromObservable; + function fromObservableLight(observable) { + return (listener, thisArgs, disposables) => { + let count = 0; + let didChange = false; + const observer = { + beginUpdate() { + count++; + }, + endUpdate() { + count--; + if (count === 0) { + observable.reportChanges(); + if (didChange) { + didChange = false; + listener.call(thisArgs); + } + } + }, + handlePossibleChange() { + }, + handleChange() { + didChange = true; + } + }; + observable.addObserver(observer); + observable.reportChanges(); + const disposable = { + dispose() { + observable.removeObserver(observer); + } + }; + if (disposables instanceof DisposableStore) { + disposables.add(disposable); + } else if (Array.isArray(disposables)) { + disposables.push(disposable); + } + return disposable; + }; + } + Event2.fromObservableLight = fromObservableLight; + })(Event || (Event = {})); + var EventProfiling = class _EventProfiling { + static { + this.all = /* @__PURE__ */ new Set(); + } + static { + this._idPool = 0; + } + constructor(name) { + this.listenerCount = 0; + this.invocationCount = 0; + this.elapsedOverall = 0; + this.durations = []; + this.name = `${name}_${_EventProfiling._idPool++}`; + _EventProfiling.all.add(this); + } + start(listenerCount) { + this._stopWatch = new StopWatch(); + this.listenerCount = listenerCount; + } + stop() { + if (this._stopWatch) { + const elapsed = this._stopWatch.elapsed(); + this.durations.push(elapsed); + this.elapsedOverall += elapsed; + this.invocationCount += 1; + this._stopWatch = void 0; + } + } + }; + var _globalLeakWarningThreshold = -1; + var LeakageMonitor = class _LeakageMonitor { + static { + this._idPool = 1; + } + constructor(_errorHandler, threshold, name = (_LeakageMonitor._idPool++).toString(16).padStart(3, "0")) { + this._errorHandler = _errorHandler; + this.threshold = threshold; + this.name = name; + this._warnCountdown = 0; + } + dispose() { + this._stacks?.clear(); + } + check(stack, listenerCount) { + const threshold = this.threshold; + if (threshold <= 0 || listenerCount < threshold) { + return void 0; + } + if (!this._stacks) { + this._stacks = /* @__PURE__ */ new Map(); + } + const count = this._stacks.get(stack.value) || 0; + this._stacks.set(stack.value, count + 1); + this._warnCountdown -= 1; + if (this._warnCountdown <= 0) { + this._warnCountdown = threshold * 0.5; + const [topStack, topCount] = this.getMostFrequentStack(); + const message = `[${this.name}] potential listener LEAK detected, having ${listenerCount} listeners already. MOST frequent listener (${topCount}):`; + console.warn(message); + console.warn(topStack); + const error = new ListenerLeakError(message, topStack); + this._errorHandler(error); + } + return () => { + const count2 = this._stacks.get(stack.value) || 0; + this._stacks.set(stack.value, count2 - 1); + }; + } + getMostFrequentStack() { + if (!this._stacks) { + return void 0; + } + let topStack; + let topCount = 0; + for (const [stack, count] of this._stacks) { + if (!topStack || topCount < count) { + topStack = [stack, count]; + topCount = count; + } + } + return topStack; + } + }; + var Stacktrace = class _Stacktrace { + static create() { + const err = new Error(); + return new _Stacktrace(err.stack ?? ""); + } + constructor(value) { + this.value = value; + } + print() { + console.warn(this.value.split("\n").slice(2).join("\n")); + } + }; + var ListenerLeakError = class extends Error { + constructor(message, stack) { + super(message); + this.name = "ListenerLeakError"; + this.stack = stack; + } + }; + var ListenerRefusalError = class extends Error { + constructor(message, stack) { + super(message); + this.name = "ListenerRefusalError"; + this.stack = stack; + } + }; + var UniqueContainer = class { + constructor(value) { + this.value = value; + } + }; + var compactionThreshold = 2; + var forEachListener = (listeners, fn) => { + if (listeners instanceof UniqueContainer) { + fn(listeners); + } else { + for (let i = 0; i < listeners.length; i++) { + const l = listeners[i]; + if (l) { + fn(l); + } + } + } + }; + var _listenerFinalizers; + if (_enableListenerGCedWarning) { + const leaks = []; + setInterval(() => { + if (leaks.length === 0) { + return; + } + console.warn("[LEAKING LISTENERS] GC'ed these listeners that were NOT yet disposed:"); + console.warn(leaks.join("\n")); + leaks.length = 0; + }, 3e3); + _listenerFinalizers = new FinalizationRegistry((heldValue) => { + if (typeof heldValue === "string") { + leaks.push(heldValue); + } + }); + } + var Emitter = class { + constructor(options) { + this._size = 0; + this._options = options; + this._leakageMon = _globalLeakWarningThreshold > 0 || this._options?.leakWarningThreshold ? new LeakageMonitor(options?.onListenerError ?? onUnexpectedError, this._options?.leakWarningThreshold ?? _globalLeakWarningThreshold) : void 0; + this._perfMon = this._options?._profName ? new EventProfiling(this._options._profName) : void 0; + this._deliveryQueue = this._options?.deliveryQueue; + } + dispose() { + if (!this._disposed) { + this._disposed = true; + if (this._deliveryQueue?.current === this) { + this._deliveryQueue.reset(); + } + if (this._listeners) { + if (_enableDisposeWithListenerWarning) { + const listeners = this._listeners; + queueMicrotask(() => { + forEachListener(listeners, (l) => l.stack?.print()); + }); + } + this._listeners = void 0; + this._size = 0; + } + this._options?.onDidRemoveLastListener?.(); + this._leakageMon?.dispose(); + } + } + /** + * For the public to allow to subscribe + * to events from this Emitter + */ + get event() { + this._event ??= (callback, thisArgs, disposables) => { + if (this._leakageMon && this._size > this._leakageMon.threshold ** 2) { + const message = `[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${this._leakageMon.threshold})`; + console.warn(message); + const tuple = this._leakageMon.getMostFrequentStack() ?? ["UNKNOWN stack", -1]; + const error = new ListenerRefusalError(`${message}. HINT: Stack shows most frequent listener (${tuple[1]}-times)`, tuple[0]); + const errorHandler2 = this._options?.onListenerError || onUnexpectedError; + errorHandler2(error); + return Disposable.None; + } + if (this._disposed) { + return Disposable.None; + } + if (thisArgs) { + callback = callback.bind(thisArgs); + } + const contained = new UniqueContainer(callback); + let removeMonitor; + let stack; + if (this._leakageMon && this._size >= Math.ceil(this._leakageMon.threshold * 0.2)) { + contained.stack = Stacktrace.create(); + removeMonitor = this._leakageMon.check(contained.stack, this._size + 1); + } + if (_enableDisposeWithListenerWarning) { + contained.stack = stack ?? Stacktrace.create(); + } + if (!this._listeners) { + this._options?.onWillAddFirstListener?.(this); + this._listeners = contained; + this._options?.onDidAddFirstListener?.(this); + } else if (this._listeners instanceof UniqueContainer) { + this._deliveryQueue ??= new EventDeliveryQueuePrivate(); + this._listeners = [this._listeners, contained]; + } else { + this._listeners.push(contained); + } + this._size++; + const result = toDisposable(() => { + _listenerFinalizers?.unregister(result); + removeMonitor?.(); + this._removeListener(contained); + }); + if (disposables instanceof DisposableStore) { + disposables.add(result); + } else if (Array.isArray(disposables)) { + disposables.push(result); + } + if (_listenerFinalizers) { + const stack2 = new Error().stack.split("\n").slice(2, 3).join("\n").trim(); + const match = /(file:|vscode-file:\/\/vscode-app)?(\/[^:]*:\d+:\d+)/.exec(stack2); + _listenerFinalizers.register(result, match?.[2] ?? stack2, result); + } + return result; + }; + return this._event; + } + _removeListener(listener) { + this._options?.onWillRemoveListener?.(this); + if (!this._listeners) { + return; + } + if (this._size === 1) { + this._listeners = void 0; + this._options?.onDidRemoveLastListener?.(this); + this._size = 0; + return; + } + const listeners = this._listeners; + const index = listeners.indexOf(listener); + if (index === -1) { + console.log("disposed?", this._disposed); + console.log("size?", this._size); + console.log("arr?", JSON.stringify(this._listeners)); + throw new Error("Attempted to dispose unknown listener"); + } + this._size--; + listeners[index] = void 0; + const adjustDeliveryQueue = this._deliveryQueue.current === this; + if (this._size * compactionThreshold <= listeners.length) { + let n = 0; + for (let i = 0; i < listeners.length; i++) { + if (listeners[i]) { + listeners[n++] = listeners[i]; + } else if (adjustDeliveryQueue) { + this._deliveryQueue.end--; + if (n < this._deliveryQueue.i) { + this._deliveryQueue.i--; + } + } + } + listeners.length = n; + } + } + _deliver(listener, value) { + if (!listener) { + return; + } + const errorHandler2 = this._options?.onListenerError || onUnexpectedError; + if (!errorHandler2) { + listener.value(value); + return; + } + try { + listener.value(value); + } catch (e) { + errorHandler2(e); + } + } + /** Delivers items in the queue. Assumes the queue is ready to go. */ + _deliverQueue(dq) { + const listeners = dq.current._listeners; + while (dq.i < dq.end) { + this._deliver(listeners[dq.i++], dq.value); + } + dq.reset(); + } + /** + * To be kept private to fire an event to + * subscribers + */ + fire(event) { + if (this._deliveryQueue?.current) { + this._deliverQueue(this._deliveryQueue); + this._perfMon?.stop(); + } + this._perfMon?.start(this._size); + if (!this._listeners) { + } else if (this._listeners instanceof UniqueContainer) { + this._deliver(this._listeners, event); + } else { + const dq = this._deliveryQueue; + dq.enqueue(this, event, this._listeners.length); + this._deliverQueue(dq); + } + this._perfMon?.stop(); + } + hasListeners() { + return this._size > 0; + } + }; + var EventDeliveryQueuePrivate = class { + constructor() { + this.i = -1; + this.end = 0; + } + enqueue(emitter, value, end) { + this.i = 0; + this.end = end; + this.current = emitter; + this.value = value; + } + reset() { + this.i = this.end; + this.current = void 0; + this.value = void 0; + } + }; + + // node_modules/monaco-editor/esm/vs/nls.messages.js + function getNLSMessages() { + return globalThis._VSCODE_NLS_MESSAGES; + } + function getNLSLanguage() { + return globalThis._VSCODE_NLS_LANGUAGE; + } + + // node_modules/monaco-editor/esm/vs/nls.js + var isPseudo = getNLSLanguage() === "pseudo" || typeof document !== "undefined" && document.location && document.location.hash.indexOf("pseudo=true") >= 0; + function _format(message, args) { + let result; + if (args.length === 0) { + result = message; + } else { + result = message.replace(/\{(\d+)\}/g, (match, rest) => { + const index = rest[0]; + const arg = args[index]; + let result2 = match; + if (typeof arg === "string") { + result2 = arg; + } else if (typeof arg === "number" || typeof arg === "boolean" || arg === void 0 || arg === null) { + result2 = String(arg); + } + return result2; + }); + } + if (isPseudo) { + result = "\uFF3B" + result.replace(/[aouei]/g, "$&$&") + "\uFF3D"; + } + return result; + } + function localize(data, message, ...args) { + if (typeof data === "number") { + return _format(lookupMessage(data, message), args); + } + return _format(message, args); + } + function lookupMessage(index, fallback) { + const message = getNLSMessages()?.[index]; + if (typeof message !== "string") { + if (typeof fallback === "string") { + return fallback; + } + throw new Error(`!!! NLS MISSING: ${index} !!!`); + } + return message; + } + + // node_modules/monaco-editor/esm/vs/base/common/platform.js + var LANGUAGE_DEFAULT = "en"; + var _isWindows = false; + var _isMacintosh = false; + var _isLinux = false; + var _isLinuxSnap = false; + var _isNative = false; + var _isWeb = false; + var _isElectron = false; + var _isIOS = false; + var _isCI = false; + var _isMobile = false; + var _locale = void 0; + var _language = LANGUAGE_DEFAULT; + var _platformLocale = LANGUAGE_DEFAULT; + var _translationsConfigFile = void 0; + var _userAgent = void 0; + var $globalThis = globalThis; + var nodeProcess = void 0; + if (typeof $globalThis.vscode !== "undefined" && typeof $globalThis.vscode.process !== "undefined") { + nodeProcess = $globalThis.vscode.process; + } else if (typeof process !== "undefined" && typeof process?.versions?.node === "string") { + nodeProcess = process; + } + var isElectronProcess = typeof nodeProcess?.versions?.electron === "string"; + var isElectronRenderer = isElectronProcess && nodeProcess?.type === "renderer"; + if (typeof nodeProcess === "object") { + _isWindows = nodeProcess.platform === "win32"; + _isMacintosh = nodeProcess.platform === "darwin"; + _isLinux = nodeProcess.platform === "linux"; + _isLinuxSnap = _isLinux && !!nodeProcess.env["SNAP"] && !!nodeProcess.env["SNAP_REVISION"]; + _isElectron = isElectronProcess; + _isCI = !!nodeProcess.env["CI"] || !!nodeProcess.env["BUILD_ARTIFACTSTAGINGDIRECTORY"]; + _locale = LANGUAGE_DEFAULT; + _language = LANGUAGE_DEFAULT; + const rawNlsConfig = nodeProcess.env["VSCODE_NLS_CONFIG"]; + if (rawNlsConfig) { + try { + const nlsConfig = JSON.parse(rawNlsConfig); + _locale = nlsConfig.userLocale; + _platformLocale = nlsConfig.osLocale; + _language = nlsConfig.resolvedLanguage || LANGUAGE_DEFAULT; + _translationsConfigFile = nlsConfig.languagePack?.translationsConfigFile; + } catch (e) { + } + } + _isNative = true; + } else if (typeof navigator === "object" && !isElectronRenderer) { + _userAgent = navigator.userAgent; + _isWindows = _userAgent.indexOf("Windows") >= 0; + _isMacintosh = _userAgent.indexOf("Macintosh") >= 0; + _isIOS = (_userAgent.indexOf("Macintosh") >= 0 || _userAgent.indexOf("iPad") >= 0 || _userAgent.indexOf("iPhone") >= 0) && !!navigator.maxTouchPoints && navigator.maxTouchPoints > 0; + _isLinux = _userAgent.indexOf("Linux") >= 0; + _isMobile = _userAgent?.indexOf("Mobi") >= 0; + _isWeb = true; + _language = getNLSLanguage() || LANGUAGE_DEFAULT; + _locale = navigator.language.toLowerCase(); + _platformLocale = _locale; + } else { + console.error("Unable to resolve platform."); + } + var _platform = 0; + if (_isMacintosh) { + _platform = 1; + } else if (_isWindows) { + _platform = 3; + } else if (_isLinux) { + _platform = 2; + } + var isWindows = _isWindows; + var isMacintosh = _isMacintosh; + var isNative = _isNative; + var isWeb = _isWeb; + var isWebWorker = _isWeb && typeof $globalThis.importScripts === "function"; + var webWorkerOrigin = isWebWorker ? $globalThis.origin : void 0; + var userAgent = _userAgent; + var setTimeout0IsFaster = typeof $globalThis.postMessage === "function" && !$globalThis.importScripts; + var setTimeout0 = (() => { + if (setTimeout0IsFaster) { + const pending = []; + $globalThis.addEventListener("message", (e) => { + if (e.data && e.data.vscodeScheduleAsyncWork) { + for (let i = 0, len = pending.length; i < len; i++) { + const candidate = pending[i]; + if (candidate.id === e.data.vscodeScheduleAsyncWork) { + pending.splice(i, 1); + candidate.callback(); + return; + } + } + } + }); + let lastId = 0; + return (callback) => { + const myId = ++lastId; + pending.push({ + id: myId, + callback + }); + $globalThis.postMessage({ vscodeScheduleAsyncWork: myId }, "*"); + }; + } + return (callback) => setTimeout(callback); + })(); + var isChrome = !!(userAgent && userAgent.indexOf("Chrome") >= 0); + var isFirefox = !!(userAgent && userAgent.indexOf("Firefox") >= 0); + var isSafari = !!(!isChrome && (userAgent && userAgent.indexOf("Safari") >= 0)); + var isEdge = !!(userAgent && userAgent.indexOf("Edg/") >= 0); + var isAndroid = !!(userAgent && userAgent.indexOf("Android") >= 0); + + // node_modules/monaco-editor/esm/vs/base/common/cache.js + function identity(t) { + return t; + } + var LRUCachedFunction = class { + constructor(arg1, arg2) { + this.lastCache = void 0; + this.lastArgKey = void 0; + if (typeof arg1 === "function") { + this._fn = arg1; + this._computeKey = identity; + } else { + this._fn = arg2; + this._computeKey = arg1.getCacheKey; + } + } + get(arg) { + const key = this._computeKey(arg); + if (this.lastArgKey !== key) { + this.lastArgKey = key; + this.lastCache = this._fn(arg); + } + return this.lastCache; + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/lazy.js + var Lazy = class { + constructor(executor) { + this.executor = executor; + this._didRun = false; + } + /** + * Get the wrapped value. + * + * This will force evaluation of the lazy value if it has not been resolved yet. Lazy values are only + * resolved once. `getValue` will re-throw exceptions that are hit while resolving the value + */ + get value() { + if (!this._didRun) { + try { + this._value = this.executor(); + } catch (err) { + this._error = err; + } finally { + this._didRun = true; + } + } + if (this._error) { + throw this._error; + } + return this._value; + } + /** + * Get the wrapped value without forcing evaluation. + */ + get rawValue() { + return this._value; + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/strings.js + function escapeRegExpCharacters(value) { + return value.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g, "\\$&"); + } + function splitLines(str) { + return str.split(/\r\n|\r|\n/); + } + function firstNonWhitespaceIndex(str) { + for (let i = 0, len = str.length; i < len; i++) { + const chCode = str.charCodeAt(i); + if (chCode !== 32 && chCode !== 9) { + return i; + } + } + return -1; + } + function lastNonWhitespaceIndex(str, startIndex = str.length - 1) { + for (let i = startIndex; i >= 0; i--) { + const chCode = str.charCodeAt(i); + if (chCode !== 32 && chCode !== 9) { + return i; + } + } + return -1; + } + function isUpperAsciiLetter(code) { + return code >= 65 && code <= 90; + } + function isHighSurrogate(charCode) { + return 55296 <= charCode && charCode <= 56319; + } + function isLowSurrogate(charCode) { + return 56320 <= charCode && charCode <= 57343; + } + function computeCodePoint(highSurrogate, lowSurrogate) { + return (highSurrogate - 55296 << 10) + (lowSurrogate - 56320) + 65536; + } + function getNextCodePoint(str, len, offset) { + const charCode = str.charCodeAt(offset); + if (isHighSurrogate(charCode) && offset + 1 < len) { + const nextCharCode = str.charCodeAt(offset + 1); + if (isLowSurrogate(nextCharCode)) { + return computeCodePoint(charCode, nextCharCode); + } + } + return charCode; + } + var IS_BASIC_ASCII = /^[\t\n\r\x20-\x7E]*$/; + function isBasicASCII(str) { + return IS_BASIC_ASCII.test(str); + } + var UTF8_BOM_CHARACTER = String.fromCharCode( + 65279 + /* CharCode.UTF8_BOM */ + ); + var GraphemeBreakTree = class _GraphemeBreakTree { + static { + this._INSTANCE = null; + } + static getInstance() { + if (!_GraphemeBreakTree._INSTANCE) { + _GraphemeBreakTree._INSTANCE = new _GraphemeBreakTree(); + } + return _GraphemeBreakTree._INSTANCE; + } + constructor() { + this._data = getGraphemeBreakRawData(); + } + getGraphemeBreakType(codePoint) { + if (codePoint < 32) { + if (codePoint === 10) { + return 3; + } + if (codePoint === 13) { + return 2; + } + return 4; + } + if (codePoint < 127) { + return 0; + } + const data = this._data; + const nodeCount = data.length / 3; + let nodeIndex = 1; + while (nodeIndex <= nodeCount) { + if (codePoint < data[3 * nodeIndex]) { + nodeIndex = 2 * nodeIndex; + } else if (codePoint > data[3 * nodeIndex + 1]) { + nodeIndex = 2 * nodeIndex + 1; + } else { + return data[3 * nodeIndex + 2]; + } + } + return 0; + } + }; + function getGraphemeBreakRawData() { + return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]"); + } + var AmbiguousCharacters = class _AmbiguousCharacters { + static { + this.ambiguousCharacterData = new Lazy(() => { + return JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}'); + }); + } + static { + this.cache = new LRUCachedFunction({ getCacheKey: JSON.stringify }, (locales) => { + function arrayToMap(arr) { + const result = /* @__PURE__ */ new Map(); + for (let i = 0; i < arr.length; i += 2) { + result.set(arr[i], arr[i + 1]); + } + return result; + } + function mergeMaps(map1, map2) { + const result = new Map(map1); + for (const [key, value] of map2) { + result.set(key, value); + } + return result; + } + function intersectMaps(map1, map2) { + if (!map1) { + return map2; + } + const result = /* @__PURE__ */ new Map(); + for (const [key, value] of map1) { + if (map2.has(key)) { + result.set(key, value); + } + } + return result; + } + const data = this.ambiguousCharacterData.value; + let filteredLocales = locales.filter((l) => !l.startsWith("_") && l in data); + if (filteredLocales.length === 0) { + filteredLocales = ["_default"]; + } + let languageSpecificMap = void 0; + for (const locale of filteredLocales) { + const map2 = arrayToMap(data[locale]); + languageSpecificMap = intersectMaps(languageSpecificMap, map2); + } + const commonMap = arrayToMap(data["_common"]); + const map = mergeMaps(commonMap, languageSpecificMap); + return new _AmbiguousCharacters(map); + }); + } + static getInstance(locales) { + return _AmbiguousCharacters.cache.get(Array.from(locales)); + } + static { + this._locales = new Lazy(() => Object.keys(_AmbiguousCharacters.ambiguousCharacterData.value).filter((k) => !k.startsWith("_"))); + } + static getLocales() { + return _AmbiguousCharacters._locales.value; + } + constructor(confusableDictionary) { + this.confusableDictionary = confusableDictionary; + } + isAmbiguous(codePoint) { + return this.confusableDictionary.has(codePoint); + } + /** + * Returns the non basic ASCII code point that the given code point can be confused, + * or undefined if such code point does note exist. + */ + getPrimaryConfusable(codePoint) { + return this.confusableDictionary.get(codePoint); + } + getConfusableCodePoints() { + return new Set(this.confusableDictionary.keys()); + } + }; + var InvisibleCharacters = class _InvisibleCharacters { + static getRawData() { + return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]"); + } + static { + this._data = void 0; + } + static getData() { + if (!this._data) { + this._data = new Set(_InvisibleCharacters.getRawData()); + } + return this._data; + } + static isInvisibleCharacter(codePoint) { + return _InvisibleCharacters.getData().has(codePoint); + } + static get codePoints() { + return _InvisibleCharacters.getData(); + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/process.js + var safeProcess; + var vscodeGlobal = globalThis.vscode; + if (typeof vscodeGlobal !== "undefined" && typeof vscodeGlobal.process !== "undefined") { + const sandboxProcess = vscodeGlobal.process; + safeProcess = { + get platform() { + return sandboxProcess.platform; + }, + get arch() { + return sandboxProcess.arch; + }, + get env() { + return sandboxProcess.env; + }, + cwd() { + return sandboxProcess.cwd(); + } + }; + } else if (typeof process !== "undefined" && typeof process?.versions?.node === "string") { + safeProcess = { + get platform() { + return process.platform; + }, + get arch() { + return process.arch; + }, + get env() { + return process.env; + }, + cwd() { + return process.env["VSCODE_CWD"] || process.cwd(); + } + }; + } else { + safeProcess = { + // Supported + get platform() { + return isWindows ? "win32" : isMacintosh ? "darwin" : "linux"; + }, + get arch() { + return void 0; + }, + // Unsupported + get env() { + return {}; + }, + cwd() { + return "/"; + } + }; + } + var cwd = safeProcess.cwd; + var env = safeProcess.env; + var platform = safeProcess.platform; + + // node_modules/monaco-editor/esm/vs/base/common/path.js + var CHAR_UPPERCASE_A = 65; + var CHAR_LOWERCASE_A = 97; + var CHAR_UPPERCASE_Z = 90; + var CHAR_LOWERCASE_Z = 122; + var CHAR_DOT = 46; + var CHAR_FORWARD_SLASH = 47; + var CHAR_BACKWARD_SLASH = 92; + var CHAR_COLON = 58; + var CHAR_QUESTION_MARK = 63; + var ErrorInvalidArgType = class extends Error { + constructor(name, expected, actual) { + let determiner; + if (typeof expected === "string" && expected.indexOf("not ") === 0) { + determiner = "must not be"; + expected = expected.replace(/^not /, ""); + } else { + determiner = "must be"; + } + const type = name.indexOf(".") !== -1 ? "property" : "argument"; + let msg = `The "${name}" ${type} ${determiner} of type ${expected}`; + msg += `. Received type ${typeof actual}`; + super(msg); + this.code = "ERR_INVALID_ARG_TYPE"; + } + }; + function validateObject(pathObject, name) { + if (pathObject === null || typeof pathObject !== "object") { + throw new ErrorInvalidArgType(name, "Object", pathObject); + } + } + function validateString(value, name) { + if (typeof value !== "string") { + throw new ErrorInvalidArgType(name, "string", value); + } + } + var platformIsWin32 = platform === "win32"; + function isPathSeparator(code) { + return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH; + } + function isPosixPathSeparator(code) { + return code === CHAR_FORWARD_SLASH; + } + function isWindowsDeviceRoot(code) { + return code >= CHAR_UPPERCASE_A && code <= CHAR_UPPERCASE_Z || code >= CHAR_LOWERCASE_A && code <= CHAR_LOWERCASE_Z; + } + function normalizeString(path, allowAboveRoot, separator, isPathSeparator2) { + let res = ""; + let lastSegmentLength = 0; + let lastSlash = -1; + let dots = 0; + let code = 0; + for (let i = 0; i <= path.length; ++i) { + if (i < path.length) { + code = path.charCodeAt(i); + } else if (isPathSeparator2(code)) { + break; + } else { + code = CHAR_FORWARD_SLASH; + } + if (isPathSeparator2(code)) { + if (lastSlash === i - 1 || dots === 1) { + } else if (dots === 2) { + if (res.length < 2 || lastSegmentLength !== 2 || res.charCodeAt(res.length - 1) !== CHAR_DOT || res.charCodeAt(res.length - 2) !== CHAR_DOT) { + if (res.length > 2) { + const lastSlashIndex = res.lastIndexOf(separator); + if (lastSlashIndex === -1) { + res = ""; + lastSegmentLength = 0; + } else { + res = res.slice(0, lastSlashIndex); + lastSegmentLength = res.length - 1 - res.lastIndexOf(separator); + } + lastSlash = i; + dots = 0; + continue; + } else if (res.length !== 0) { + res = ""; + lastSegmentLength = 0; + lastSlash = i; + dots = 0; + continue; + } + } + if (allowAboveRoot) { + res += res.length > 0 ? `${separator}..` : ".."; + lastSegmentLength = 2; + } + } else { + if (res.length > 0) { + res += `${separator}${path.slice(lastSlash + 1, i)}`; + } else { + res = path.slice(lastSlash + 1, i); + } + lastSegmentLength = i - lastSlash - 1; + } + lastSlash = i; + dots = 0; + } else if (code === CHAR_DOT && dots !== -1) { + ++dots; + } else { + dots = -1; + } + } + return res; + } + function formatExt(ext) { + return ext ? `${ext[0] === "." ? "" : "."}${ext}` : ""; + } + function _format2(sep2, pathObject) { + validateObject(pathObject, "pathObject"); + const dir = pathObject.dir || pathObject.root; + const base = pathObject.base || `${pathObject.name || ""}${formatExt(pathObject.ext)}`; + if (!dir) { + return base; + } + return dir === pathObject.root ? `${dir}${base}` : `${dir}${sep2}${base}`; + } + var win32 = { + // path.resolve([from ...], to) + resolve(...pathSegments) { + let resolvedDevice = ""; + let resolvedTail = ""; + let resolvedAbsolute = false; + for (let i = pathSegments.length - 1; i >= -1; i--) { + let path; + if (i >= 0) { + path = pathSegments[i]; + validateString(path, `paths[${i}]`); + if (path.length === 0) { + continue; + } + } else if (resolvedDevice.length === 0) { + path = cwd(); + } else { + path = env[`=${resolvedDevice}`] || cwd(); + if (path === void 0 || path.slice(0, 2).toLowerCase() !== resolvedDevice.toLowerCase() && path.charCodeAt(2) === CHAR_BACKWARD_SLASH) { + path = `${resolvedDevice}\\`; + } + } + const len = path.length; + let rootEnd = 0; + let device = ""; + let isAbsolute = false; + const code = path.charCodeAt(0); + if (len === 1) { + if (isPathSeparator(code)) { + rootEnd = 1; + isAbsolute = true; + } + } else if (isPathSeparator(code)) { + isAbsolute = true; + if (isPathSeparator(path.charCodeAt(1))) { + let j = 2; + let last = j; + while (j < len && !isPathSeparator(path.charCodeAt(j))) { + j++; + } + if (j < len && j !== last) { + const firstPart = path.slice(last, j); + last = j; + while (j < len && isPathSeparator(path.charCodeAt(j))) { + j++; + } + if (j < len && j !== last) { + last = j; + while (j < len && !isPathSeparator(path.charCodeAt(j))) { + j++; + } + if (j === len || j !== last) { + device = `\\\\${firstPart}\\${path.slice(last, j)}`; + rootEnd = j; + } + } + } + } else { + rootEnd = 1; + } + } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) { + device = path.slice(0, 2); + rootEnd = 2; + if (len > 2 && isPathSeparator(path.charCodeAt(2))) { + isAbsolute = true; + rootEnd = 3; + } + } + if (device.length > 0) { + if (resolvedDevice.length > 0) { + if (device.toLowerCase() !== resolvedDevice.toLowerCase()) { + continue; + } + } else { + resolvedDevice = device; + } + } + if (resolvedAbsolute) { + if (resolvedDevice.length > 0) { + break; + } + } else { + resolvedTail = `${path.slice(rootEnd)}\\${resolvedTail}`; + resolvedAbsolute = isAbsolute; + if (isAbsolute && resolvedDevice.length > 0) { + break; + } + } + } + resolvedTail = normalizeString(resolvedTail, !resolvedAbsolute, "\\", isPathSeparator); + return resolvedAbsolute ? `${resolvedDevice}\\${resolvedTail}` : `${resolvedDevice}${resolvedTail}` || "."; + }, + normalize(path) { + validateString(path, "path"); + const len = path.length; + if (len === 0) { + return "."; + } + let rootEnd = 0; + let device; + let isAbsolute = false; + const code = path.charCodeAt(0); + if (len === 1) { + return isPosixPathSeparator(code) ? "\\" : path; + } + if (isPathSeparator(code)) { + isAbsolute = true; + if (isPathSeparator(path.charCodeAt(1))) { + let j = 2; + let last = j; + while (j < len && !isPathSeparator(path.charCodeAt(j))) { + j++; + } + if (j < len && j !== last) { + const firstPart = path.slice(last, j); + last = j; + while (j < len && isPathSeparator(path.charCodeAt(j))) { + j++; + } + if (j < len && j !== last) { + last = j; + while (j < len && !isPathSeparator(path.charCodeAt(j))) { + j++; + } + if (j === len) { + return `\\\\${firstPart}\\${path.slice(last)}\\`; + } + if (j !== last) { + device = `\\\\${firstPart}\\${path.slice(last, j)}`; + rootEnd = j; + } + } + } + } else { + rootEnd = 1; + } + } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) { + device = path.slice(0, 2); + rootEnd = 2; + if (len > 2 && isPathSeparator(path.charCodeAt(2))) { + isAbsolute = true; + rootEnd = 3; + } + } + let tail = rootEnd < len ? normalizeString(path.slice(rootEnd), !isAbsolute, "\\", isPathSeparator) : ""; + if (tail.length === 0 && !isAbsolute) { + tail = "."; + } + if (tail.length > 0 && isPathSeparator(path.charCodeAt(len - 1))) { + tail += "\\"; + } + if (device === void 0) { + return isAbsolute ? `\\${tail}` : tail; + } + return isAbsolute ? `${device}\\${tail}` : `${device}${tail}`; + }, + isAbsolute(path) { + validateString(path, "path"); + const len = path.length; + if (len === 0) { + return false; + } + const code = path.charCodeAt(0); + return isPathSeparator(code) || // Possible device root + len > 2 && isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON && isPathSeparator(path.charCodeAt(2)); + }, + join(...paths) { + if (paths.length === 0) { + return "."; + } + let joined; + let firstPart; + for (let i = 0; i < paths.length; ++i) { + const arg = paths[i]; + validateString(arg, "path"); + if (arg.length > 0) { + if (joined === void 0) { + joined = firstPart = arg; + } else { + joined += `\\${arg}`; + } + } + } + if (joined === void 0) { + return "."; + } + let needsReplace = true; + let slashCount = 0; + if (typeof firstPart === "string" && isPathSeparator(firstPart.charCodeAt(0))) { + ++slashCount; + const firstLen = firstPart.length; + if (firstLen > 1 && isPathSeparator(firstPart.charCodeAt(1))) { + ++slashCount; + if (firstLen > 2) { + if (isPathSeparator(firstPart.charCodeAt(2))) { + ++slashCount; + } else { + needsReplace = false; + } + } + } + } + if (needsReplace) { + while (slashCount < joined.length && isPathSeparator(joined.charCodeAt(slashCount))) { + slashCount++; + } + if (slashCount >= 2) { + joined = `\\${joined.slice(slashCount)}`; + } + } + return win32.normalize(joined); + }, + // It will solve the relative path from `from` to `to`, for instance: + // from = 'C:\\orandea\\test\\aaa' + // to = 'C:\\orandea\\impl\\bbb' + // The output of the function should be: '..\\..\\impl\\bbb' + relative(from, to) { + validateString(from, "from"); + validateString(to, "to"); + if (from === to) { + return ""; + } + const fromOrig = win32.resolve(from); + const toOrig = win32.resolve(to); + if (fromOrig === toOrig) { + return ""; + } + from = fromOrig.toLowerCase(); + to = toOrig.toLowerCase(); + if (from === to) { + return ""; + } + let fromStart = 0; + while (fromStart < from.length && from.charCodeAt(fromStart) === CHAR_BACKWARD_SLASH) { + fromStart++; + } + let fromEnd = from.length; + while (fromEnd - 1 > fromStart && from.charCodeAt(fromEnd - 1) === CHAR_BACKWARD_SLASH) { + fromEnd--; + } + const fromLen = fromEnd - fromStart; + let toStart = 0; + while (toStart < to.length && to.charCodeAt(toStart) === CHAR_BACKWARD_SLASH) { + toStart++; + } + let toEnd = to.length; + while (toEnd - 1 > toStart && to.charCodeAt(toEnd - 1) === CHAR_BACKWARD_SLASH) { + toEnd--; + } + const toLen = toEnd - toStart; + const length = fromLen < toLen ? fromLen : toLen; + let lastCommonSep = -1; + let i = 0; + for (; i < length; i++) { + const fromCode = from.charCodeAt(fromStart + i); + if (fromCode !== to.charCodeAt(toStart + i)) { + break; + } else if (fromCode === CHAR_BACKWARD_SLASH) { + lastCommonSep = i; + } + } + if (i !== length) { + if (lastCommonSep === -1) { + return toOrig; + } + } else { + if (toLen > length) { + if (to.charCodeAt(toStart + i) === CHAR_BACKWARD_SLASH) { + return toOrig.slice(toStart + i + 1); + } + if (i === 2) { + return toOrig.slice(toStart + i); + } + } + if (fromLen > length) { + if (from.charCodeAt(fromStart + i) === CHAR_BACKWARD_SLASH) { + lastCommonSep = i; + } else if (i === 2) { + lastCommonSep = 3; + } + } + if (lastCommonSep === -1) { + lastCommonSep = 0; + } + } + let out = ""; + for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) { + if (i === fromEnd || from.charCodeAt(i) === CHAR_BACKWARD_SLASH) { + out += out.length === 0 ? ".." : "\\.."; + } + } + toStart += lastCommonSep; + if (out.length > 0) { + return `${out}${toOrig.slice(toStart, toEnd)}`; + } + if (toOrig.charCodeAt(toStart) === CHAR_BACKWARD_SLASH) { + ++toStart; + } + return toOrig.slice(toStart, toEnd); + }, + toNamespacedPath(path) { + if (typeof path !== "string" || path.length === 0) { + return path; + } + const resolvedPath = win32.resolve(path); + if (resolvedPath.length <= 2) { + return path; + } + if (resolvedPath.charCodeAt(0) === CHAR_BACKWARD_SLASH) { + if (resolvedPath.charCodeAt(1) === CHAR_BACKWARD_SLASH) { + const code = resolvedPath.charCodeAt(2); + if (code !== CHAR_QUESTION_MARK && code !== CHAR_DOT) { + return `\\\\?\\UNC\\${resolvedPath.slice(2)}`; + } + } + } else if (isWindowsDeviceRoot(resolvedPath.charCodeAt(0)) && resolvedPath.charCodeAt(1) === CHAR_COLON && resolvedPath.charCodeAt(2) === CHAR_BACKWARD_SLASH) { + return `\\\\?\\${resolvedPath}`; + } + return path; + }, + dirname(path) { + validateString(path, "path"); + const len = path.length; + if (len === 0) { + return "."; + } + let rootEnd = -1; + let offset = 0; + const code = path.charCodeAt(0); + if (len === 1) { + return isPathSeparator(code) ? path : "."; + } + if (isPathSeparator(code)) { + rootEnd = offset = 1; + if (isPathSeparator(path.charCodeAt(1))) { + let j = 2; + let last = j; + while (j < len && !isPathSeparator(path.charCodeAt(j))) { + j++; + } + if (j < len && j !== last) { + last = j; + while (j < len && isPathSeparator(path.charCodeAt(j))) { + j++; + } + if (j < len && j !== last) { + last = j; + while (j < len && !isPathSeparator(path.charCodeAt(j))) { + j++; + } + if (j === len) { + return path; + } + if (j !== last) { + rootEnd = offset = j + 1; + } + } + } + } + } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) { + rootEnd = len > 2 && isPathSeparator(path.charCodeAt(2)) ? 3 : 2; + offset = rootEnd; + } + let end = -1; + let matchedSlash = true; + for (let i = len - 1; i >= offset; --i) { + if (isPathSeparator(path.charCodeAt(i))) { + if (!matchedSlash) { + end = i; + break; + } + } else { + matchedSlash = false; + } + } + if (end === -1) { + if (rootEnd === -1) { + return "."; + } + end = rootEnd; + } + return path.slice(0, end); + }, + basename(path, suffix) { + if (suffix !== void 0) { + validateString(suffix, "suffix"); + } + validateString(path, "path"); + let start = 0; + let end = -1; + let matchedSlash = true; + let i; + if (path.length >= 2 && isWindowsDeviceRoot(path.charCodeAt(0)) && path.charCodeAt(1) === CHAR_COLON) { + start = 2; + } + if (suffix !== void 0 && suffix.length > 0 && suffix.length <= path.length) { + if (suffix === path) { + return ""; + } + let extIdx = suffix.length - 1; + let firstNonSlashEnd = -1; + for (i = path.length - 1; i >= start; --i) { + const code = path.charCodeAt(i); + if (isPathSeparator(code)) { + if (!matchedSlash) { + start = i + 1; + break; + } + } else { + if (firstNonSlashEnd === -1) { + matchedSlash = false; + firstNonSlashEnd = i + 1; + } + if (extIdx >= 0) { + if (code === suffix.charCodeAt(extIdx)) { + if (--extIdx === -1) { + end = i; + } + } else { + extIdx = -1; + end = firstNonSlashEnd; + } + } + } + } + if (start === end) { + end = firstNonSlashEnd; + } else if (end === -1) { + end = path.length; + } + return path.slice(start, end); + } + for (i = path.length - 1; i >= start; --i) { + if (isPathSeparator(path.charCodeAt(i))) { + if (!matchedSlash) { + start = i + 1; + break; + } + } else if (end === -1) { + matchedSlash = false; + end = i + 1; + } + } + if (end === -1) { + return ""; + } + return path.slice(start, end); + }, + extname(path) { + validateString(path, "path"); + let start = 0; + let startDot = -1; + let startPart = 0; + let end = -1; + let matchedSlash = true; + let preDotState = 0; + if (path.length >= 2 && path.charCodeAt(1) === CHAR_COLON && isWindowsDeviceRoot(path.charCodeAt(0))) { + start = startPart = 2; + } + for (let i = path.length - 1; i >= start; --i) { + const code = path.charCodeAt(i); + if (isPathSeparator(code)) { + if (!matchedSlash) { + startPart = i + 1; + break; + } + continue; + } + if (end === -1) { + matchedSlash = false; + end = i + 1; + } + if (code === CHAR_DOT) { + if (startDot === -1) { + startDot = i; + } else if (preDotState !== 1) { + preDotState = 1; + } + } else if (startDot !== -1) { + preDotState = -1; + } + } + if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot + preDotState === 0 || // The (right-most) trimmed path component is exactly '..' + preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) { + return ""; + } + return path.slice(startDot, end); + }, + format: _format2.bind(null, "\\"), + parse(path) { + validateString(path, "path"); + const ret = { root: "", dir: "", base: "", ext: "", name: "" }; + if (path.length === 0) { + return ret; + } + const len = path.length; + let rootEnd = 0; + let code = path.charCodeAt(0); + if (len === 1) { + if (isPathSeparator(code)) { + ret.root = ret.dir = path; + return ret; + } + ret.base = ret.name = path; + return ret; + } + if (isPathSeparator(code)) { + rootEnd = 1; + if (isPathSeparator(path.charCodeAt(1))) { + let j = 2; + let last = j; + while (j < len && !isPathSeparator(path.charCodeAt(j))) { + j++; + } + if (j < len && j !== last) { + last = j; + while (j < len && isPathSeparator(path.charCodeAt(j))) { + j++; + } + if (j < len && j !== last) { + last = j; + while (j < len && !isPathSeparator(path.charCodeAt(j))) { + j++; + } + if (j === len) { + rootEnd = j; + } else if (j !== last) { + rootEnd = j + 1; + } + } + } + } + } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) { + if (len <= 2) { + ret.root = ret.dir = path; + return ret; + } + rootEnd = 2; + if (isPathSeparator(path.charCodeAt(2))) { + if (len === 3) { + ret.root = ret.dir = path; + return ret; + } + rootEnd = 3; + } + } + if (rootEnd > 0) { + ret.root = path.slice(0, rootEnd); + } + let startDot = -1; + let startPart = rootEnd; + let end = -1; + let matchedSlash = true; + let i = path.length - 1; + let preDotState = 0; + for (; i >= rootEnd; --i) { + code = path.charCodeAt(i); + if (isPathSeparator(code)) { + if (!matchedSlash) { + startPart = i + 1; + break; + } + continue; + } + if (end === -1) { + matchedSlash = false; + end = i + 1; + } + if (code === CHAR_DOT) { + if (startDot === -1) { + startDot = i; + } else if (preDotState !== 1) { + preDotState = 1; + } + } else if (startDot !== -1) { + preDotState = -1; + } + } + if (end !== -1) { + if (startDot === -1 || // We saw a non-dot character immediately before the dot + preDotState === 0 || // The (right-most) trimmed path component is exactly '..' + preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) { + ret.base = ret.name = path.slice(startPart, end); + } else { + ret.name = path.slice(startPart, startDot); + ret.base = path.slice(startPart, end); + ret.ext = path.slice(startDot, end); + } + } + if (startPart > 0 && startPart !== rootEnd) { + ret.dir = path.slice(0, startPart - 1); + } else { + ret.dir = ret.root; + } + return ret; + }, + sep: "\\", + delimiter: ";", + win32: null, + posix: null + }; + var posixCwd = (() => { + if (platformIsWin32) { + const regexp = /\\/g; + return () => { + const cwd2 = cwd().replace(regexp, "/"); + return cwd2.slice(cwd2.indexOf("/")); + }; + } + return () => cwd(); + })(); + var posix = { + // path.resolve([from ...], to) + resolve(...pathSegments) { + let resolvedPath = ""; + let resolvedAbsolute = false; + for (let i = pathSegments.length - 1; i >= -1 && !resolvedAbsolute; i--) { + const path = i >= 0 ? pathSegments[i] : posixCwd(); + validateString(path, `paths[${i}]`); + if (path.length === 0) { + continue; + } + resolvedPath = `${path}/${resolvedPath}`; + resolvedAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH; + } + resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute, "/", isPosixPathSeparator); + if (resolvedAbsolute) { + return `/${resolvedPath}`; + } + return resolvedPath.length > 0 ? resolvedPath : "."; + }, + normalize(path) { + validateString(path, "path"); + if (path.length === 0) { + return "."; + } + const isAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH; + const trailingSeparator = path.charCodeAt(path.length - 1) === CHAR_FORWARD_SLASH; + path = normalizeString(path, !isAbsolute, "/", isPosixPathSeparator); + if (path.length === 0) { + if (isAbsolute) { + return "/"; + } + return trailingSeparator ? "./" : "."; + } + if (trailingSeparator) { + path += "/"; + } + return isAbsolute ? `/${path}` : path; + }, + isAbsolute(path) { + validateString(path, "path"); + return path.length > 0 && path.charCodeAt(0) === CHAR_FORWARD_SLASH; + }, + join(...paths) { + if (paths.length === 0) { + return "."; + } + let joined; + for (let i = 0; i < paths.length; ++i) { + const arg = paths[i]; + validateString(arg, "path"); + if (arg.length > 0) { + if (joined === void 0) { + joined = arg; + } else { + joined += `/${arg}`; + } + } + } + if (joined === void 0) { + return "."; + } + return posix.normalize(joined); + }, + relative(from, to) { + validateString(from, "from"); + validateString(to, "to"); + if (from === to) { + return ""; + } + from = posix.resolve(from); + to = posix.resolve(to); + if (from === to) { + return ""; + } + const fromStart = 1; + const fromEnd = from.length; + const fromLen = fromEnd - fromStart; + const toStart = 1; + const toLen = to.length - toStart; + const length = fromLen < toLen ? fromLen : toLen; + let lastCommonSep = -1; + let i = 0; + for (; i < length; i++) { + const fromCode = from.charCodeAt(fromStart + i); + if (fromCode !== to.charCodeAt(toStart + i)) { + break; + } else if (fromCode === CHAR_FORWARD_SLASH) { + lastCommonSep = i; + } + } + if (i === length) { + if (toLen > length) { + if (to.charCodeAt(toStart + i) === CHAR_FORWARD_SLASH) { + return to.slice(toStart + i + 1); + } + if (i === 0) { + return to.slice(toStart + i); + } + } else if (fromLen > length) { + if (from.charCodeAt(fromStart + i) === CHAR_FORWARD_SLASH) { + lastCommonSep = i; + } else if (i === 0) { + lastCommonSep = 0; + } + } + } + let out = ""; + for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) { + if (i === fromEnd || from.charCodeAt(i) === CHAR_FORWARD_SLASH) { + out += out.length === 0 ? ".." : "/.."; + } + } + return `${out}${to.slice(toStart + lastCommonSep)}`; + }, + toNamespacedPath(path) { + return path; + }, + dirname(path) { + validateString(path, "path"); + if (path.length === 0) { + return "."; + } + const hasRoot = path.charCodeAt(0) === CHAR_FORWARD_SLASH; + let end = -1; + let matchedSlash = true; + for (let i = path.length - 1; i >= 1; --i) { + if (path.charCodeAt(i) === CHAR_FORWARD_SLASH) { + if (!matchedSlash) { + end = i; + break; + } + } else { + matchedSlash = false; + } + } + if (end === -1) { + return hasRoot ? "/" : "."; + } + if (hasRoot && end === 1) { + return "//"; + } + return path.slice(0, end); + }, + basename(path, suffix) { + if (suffix !== void 0) { + validateString(suffix, "ext"); + } + validateString(path, "path"); + let start = 0; + let end = -1; + let matchedSlash = true; + let i; + if (suffix !== void 0 && suffix.length > 0 && suffix.length <= path.length) { + if (suffix === path) { + return ""; + } + let extIdx = suffix.length - 1; + let firstNonSlashEnd = -1; + for (i = path.length - 1; i >= 0; --i) { + const code = path.charCodeAt(i); + if (code === CHAR_FORWARD_SLASH) { + if (!matchedSlash) { + start = i + 1; + break; + } + } else { + if (firstNonSlashEnd === -1) { + matchedSlash = false; + firstNonSlashEnd = i + 1; + } + if (extIdx >= 0) { + if (code === suffix.charCodeAt(extIdx)) { + if (--extIdx === -1) { + end = i; + } + } else { + extIdx = -1; + end = firstNonSlashEnd; + } + } + } + } + if (start === end) { + end = firstNonSlashEnd; + } else if (end === -1) { + end = path.length; + } + return path.slice(start, end); + } + for (i = path.length - 1; i >= 0; --i) { + if (path.charCodeAt(i) === CHAR_FORWARD_SLASH) { + if (!matchedSlash) { + start = i + 1; + break; + } + } else if (end === -1) { + matchedSlash = false; + end = i + 1; + } + } + if (end === -1) { + return ""; + } + return path.slice(start, end); + }, + extname(path) { + validateString(path, "path"); + let startDot = -1; + let startPart = 0; + let end = -1; + let matchedSlash = true; + let preDotState = 0; + for (let i = path.length - 1; i >= 0; --i) { + const code = path.charCodeAt(i); + if (code === CHAR_FORWARD_SLASH) { + if (!matchedSlash) { + startPart = i + 1; + break; + } + continue; + } + if (end === -1) { + matchedSlash = false; + end = i + 1; + } + if (code === CHAR_DOT) { + if (startDot === -1) { + startDot = i; + } else if (preDotState !== 1) { + preDotState = 1; + } + } else if (startDot !== -1) { + preDotState = -1; + } + } + if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot + preDotState === 0 || // The (right-most) trimmed path component is exactly '..' + preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) { + return ""; + } + return path.slice(startDot, end); + }, + format: _format2.bind(null, "/"), + parse(path) { + validateString(path, "path"); + const ret = { root: "", dir: "", base: "", ext: "", name: "" }; + if (path.length === 0) { + return ret; + } + const isAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH; + let start; + if (isAbsolute) { + ret.root = "/"; + start = 1; + } else { + start = 0; + } + let startDot = -1; + let startPart = 0; + let end = -1; + let matchedSlash = true; + let i = path.length - 1; + let preDotState = 0; + for (; i >= start; --i) { + const code = path.charCodeAt(i); + if (code === CHAR_FORWARD_SLASH) { + if (!matchedSlash) { + startPart = i + 1; + break; + } + continue; + } + if (end === -1) { + matchedSlash = false; + end = i + 1; + } + if (code === CHAR_DOT) { + if (startDot === -1) { + startDot = i; + } else if (preDotState !== 1) { + preDotState = 1; + } + } else if (startDot !== -1) { + preDotState = -1; + } + } + if (end !== -1) { + const start2 = startPart === 0 && isAbsolute ? 1 : startPart; + if (startDot === -1 || // We saw a non-dot character immediately before the dot + preDotState === 0 || // The (right-most) trimmed path component is exactly '..' + preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) { + ret.base = ret.name = path.slice(start2, end); + } else { + ret.name = path.slice(start2, startDot); + ret.base = path.slice(start2, end); + ret.ext = path.slice(startDot, end); + } + } + if (startPart > 0) { + ret.dir = path.slice(0, startPart - 1); + } else if (isAbsolute) { + ret.dir = "/"; + } + return ret; + }, + sep: "/", + delimiter: ":", + win32: null, + posix: null + }; + posix.win32 = win32.win32 = win32; + posix.posix = win32.posix = posix; + var normalize = platformIsWin32 ? win32.normalize : posix.normalize; + var join = platformIsWin32 ? win32.join : posix.join; + var resolve = platformIsWin32 ? win32.resolve : posix.resolve; + var relative = platformIsWin32 ? win32.relative : posix.relative; + var dirname = platformIsWin32 ? win32.dirname : posix.dirname; + var basename = platformIsWin32 ? win32.basename : posix.basename; + var extname = platformIsWin32 ? win32.extname : posix.extname; + var sep = platformIsWin32 ? win32.sep : posix.sep; + + // node_modules/monaco-editor/esm/vs/base/common/uri.js + var _schemePattern = /^\w[\w\d+.-]*$/; + var _singleSlashStart = /^\//; + var _doubleSlashStart = /^\/\//; + function _validateUri(ret, _strict) { + if (!ret.scheme && _strict) { + throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${ret.authority}", path: "${ret.path}", query: "${ret.query}", fragment: "${ret.fragment}"}`); + } + if (ret.scheme && !_schemePattern.test(ret.scheme)) { + throw new Error("[UriError]: Scheme contains illegal characters."); + } + if (ret.path) { + if (ret.authority) { + if (!_singleSlashStart.test(ret.path)) { + throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character'); + } + } else { + if (_doubleSlashStart.test(ret.path)) { + throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")'); + } + } + } + } + function _schemeFix(scheme, _strict) { + if (!scheme && !_strict) { + return "file"; + } + return scheme; + } + function _referenceResolution(scheme, path) { + switch (scheme) { + case "https": + case "http": + case "file": + if (!path) { + path = _slash; + } else if (path[0] !== _slash) { + path = _slash + path; + } + break; + } + return path; + } + var _empty = ""; + var _slash = "/"; + var _regexp = /^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/; + var URI = class _URI { + static isUri(thing) { + if (thing instanceof _URI) { + return true; + } + if (!thing) { + return false; + } + return typeof thing.authority === "string" && typeof thing.fragment === "string" && typeof thing.path === "string" && typeof thing.query === "string" && typeof thing.scheme === "string" && typeof thing.fsPath === "string" && typeof thing.with === "function" && typeof thing.toString === "function"; + } + /** + * @internal + */ + constructor(schemeOrData, authority, path, query, fragment, _strict = false) { + if (typeof schemeOrData === "object") { + this.scheme = schemeOrData.scheme || _empty; + this.authority = schemeOrData.authority || _empty; + this.path = schemeOrData.path || _empty; + this.query = schemeOrData.query || _empty; + this.fragment = schemeOrData.fragment || _empty; + } else { + this.scheme = _schemeFix(schemeOrData, _strict); + this.authority = authority || _empty; + this.path = _referenceResolution(this.scheme, path || _empty); + this.query = query || _empty; + this.fragment = fragment || _empty; + _validateUri(this, _strict); + } + } + // ---- filesystem path ----------------------- + /** + * Returns a string representing the corresponding file system path of this URI. + * Will handle UNC paths, normalizes windows drive letters to lower-case, and uses the + * platform specific path separator. + * + * * Will *not* validate the path for invalid characters and semantics. + * * Will *not* look at the scheme of this URI. + * * The result shall *not* be used for display purposes but for accessing a file on disk. + * + * + * The *difference* to `URI#path` is the use of the platform specific separator and the handling + * of UNC paths. See the below sample of a file-uri with an authority (UNC path). + * + * ```ts + const u = URI.parse('file://server/c$/folder/file.txt') + u.authority === 'server' + u.path === '/shares/c$/file.txt' + u.fsPath === '\\server\c$\folder\file.txt' + ``` + * + * Using `URI#path` to read a file (using fs-apis) would not be enough because parts of the path, + * namely the server name, would be missing. Therefore `URI#fsPath` exists - it's sugar to ease working + * with URIs that represent files on disk (`file` scheme). + */ + get fsPath() { + return uriToFsPath(this, false); + } + // ---- modify to new ------------------------- + with(change) { + if (!change) { + return this; + } + let { scheme, authority, path, query, fragment } = change; + if (scheme === void 0) { + scheme = this.scheme; + } else if (scheme === null) { + scheme = _empty; + } + if (authority === void 0) { + authority = this.authority; + } else if (authority === null) { + authority = _empty; + } + if (path === void 0) { + path = this.path; + } else if (path === null) { + path = _empty; + } + if (query === void 0) { + query = this.query; + } else if (query === null) { + query = _empty; + } + if (fragment === void 0) { + fragment = this.fragment; + } else if (fragment === null) { + fragment = _empty; + } + if (scheme === this.scheme && authority === this.authority && path === this.path && query === this.query && fragment === this.fragment) { + return this; + } + return new Uri(scheme, authority, path, query, fragment); + } + // ---- parse & validate ------------------------ + /** + * Creates a new URI from a string, e.g. `http://www.example.com/some/path`, + * `file:///usr/home`, or `scheme:with/path`. + * + * @param value A string which represents an URI (see `URI#toString`). + */ + static parse(value, _strict = false) { + const match = _regexp.exec(value); + if (!match) { + return new Uri(_empty, _empty, _empty, _empty, _empty); + } + return new Uri(match[2] || _empty, percentDecode(match[4] || _empty), percentDecode(match[5] || _empty), percentDecode(match[7] || _empty), percentDecode(match[9] || _empty), _strict); + } + /** + * Creates a new URI from a file system path, e.g. `c:\my\files`, + * `/usr/home`, or `\\server\share\some\path`. + * + * The *difference* between `URI#parse` and `URI#file` is that the latter treats the argument + * as path, not as stringified-uri. E.g. `URI.file(path)` is **not the same as** + * `URI.parse('file://' + path)` because the path might contain characters that are + * interpreted (# and ?). See the following sample: + * ```ts + const good = URI.file('/coding/c#/project1'); + good.scheme === 'file'; + good.path === '/coding/c#/project1'; + good.fragment === ''; + const bad = URI.parse('file://' + '/coding/c#/project1'); + bad.scheme === 'file'; + bad.path === '/coding/c'; // path is now broken + bad.fragment === '/project1'; + ``` + * + * @param path A file system path (see `URI#fsPath`) + */ + static file(path) { + let authority = _empty; + if (isWindows) { + path = path.replace(/\\/g, _slash); + } + if (path[0] === _slash && path[1] === _slash) { + const idx = path.indexOf(_slash, 2); + if (idx === -1) { + authority = path.substring(2); + path = _slash; + } else { + authority = path.substring(2, idx); + path = path.substring(idx) || _slash; + } + } + return new Uri("file", authority, path, _empty, _empty); + } + /** + * Creates new URI from uri components. + * + * Unless `strict` is `true` the scheme is defaults to be `file`. This function performs + * validation and should be used for untrusted uri components retrieved from storage, + * user input, command arguments etc + */ + static from(components, strict) { + const result = new Uri(components.scheme, components.authority, components.path, components.query, components.fragment, strict); + return result; + } + /** + * Join a URI path with path fragments and normalizes the resulting path. + * + * @param uri The input URI. + * @param pathFragment The path fragment to add to the URI path. + * @returns The resulting URI. + */ + static joinPath(uri, ...pathFragment) { + if (!uri.path) { + throw new Error(`[UriError]: cannot call joinPath on URI without path`); + } + let newPath; + if (isWindows && uri.scheme === "file") { + newPath = _URI.file(win32.join(uriToFsPath(uri, true), ...pathFragment)).path; + } else { + newPath = posix.join(uri.path, ...pathFragment); + } + return uri.with({ path: newPath }); + } + // ---- printing/externalize --------------------------- + /** + * Creates a string representation for this URI. It's guaranteed that calling + * `URI.parse` with the result of this function creates an URI which is equal + * to this URI. + * + * * The result shall *not* be used for display purposes but for externalization or transport. + * * The result will be encoded using the percentage encoding and encoding happens mostly + * ignore the scheme-specific encoding rules. + * + * @param skipEncoding Do not encode the result, default is `false` + */ + toString(skipEncoding = false) { + return _asFormatted(this, skipEncoding); + } + toJSON() { + return this; + } + static revive(data) { + if (!data) { + return data; + } else if (data instanceof _URI) { + return data; + } else { + const result = new Uri(data); + result._formatted = data.external ?? null; + result._fsPath = data._sep === _pathSepMarker ? data.fsPath ?? null : null; + return result; + } + } + }; + var _pathSepMarker = isWindows ? 1 : void 0; + var Uri = class extends URI { + constructor() { + super(...arguments); + this._formatted = null; + this._fsPath = null; + } + get fsPath() { + if (!this._fsPath) { + this._fsPath = uriToFsPath(this, false); + } + return this._fsPath; + } + toString(skipEncoding = false) { + if (!skipEncoding) { + if (!this._formatted) { + this._formatted = _asFormatted(this, false); + } + return this._formatted; + } else { + return _asFormatted(this, true); + } + } + toJSON() { + const res = { + $mid: 1 + /* MarshalledId.Uri */ + }; + if (this._fsPath) { + res.fsPath = this._fsPath; + res._sep = _pathSepMarker; + } + if (this._formatted) { + res.external = this._formatted; + } + if (this.path) { + res.path = this.path; + } + if (this.scheme) { + res.scheme = this.scheme; + } + if (this.authority) { + res.authority = this.authority; + } + if (this.query) { + res.query = this.query; + } + if (this.fragment) { + res.fragment = this.fragment; + } + return res; + } + }; + var encodeTable = { + [ + 58 + /* CharCode.Colon */ + ]: "%3A", + // gen-delims + [ + 47 + /* CharCode.Slash */ + ]: "%2F", + [ + 63 + /* CharCode.QuestionMark */ + ]: "%3F", + [ + 35 + /* CharCode.Hash */ + ]: "%23", + [ + 91 + /* CharCode.OpenSquareBracket */ + ]: "%5B", + [ + 93 + /* CharCode.CloseSquareBracket */ + ]: "%5D", + [ + 64 + /* CharCode.AtSign */ + ]: "%40", + [ + 33 + /* CharCode.ExclamationMark */ + ]: "%21", + // sub-delims + [ + 36 + /* CharCode.DollarSign */ + ]: "%24", + [ + 38 + /* CharCode.Ampersand */ + ]: "%26", + [ + 39 + /* CharCode.SingleQuote */ + ]: "%27", + [ + 40 + /* CharCode.OpenParen */ + ]: "%28", + [ + 41 + /* CharCode.CloseParen */ + ]: "%29", + [ + 42 + /* CharCode.Asterisk */ + ]: "%2A", + [ + 43 + /* CharCode.Plus */ + ]: "%2B", + [ + 44 + /* CharCode.Comma */ + ]: "%2C", + [ + 59 + /* CharCode.Semicolon */ + ]: "%3B", + [ + 61 + /* CharCode.Equals */ + ]: "%3D", + [ + 32 + /* CharCode.Space */ + ]: "%20" + }; + function encodeURIComponentFast(uriComponent, isPath, isAuthority) { + let res = void 0; + let nativeEncodePos = -1; + for (let pos = 0; pos < uriComponent.length; pos++) { + const code = uriComponent.charCodeAt(pos); + if (code >= 97 && code <= 122 || code >= 65 && code <= 90 || code >= 48 && code <= 57 || code === 45 || code === 46 || code === 95 || code === 126 || isPath && code === 47 || isAuthority && code === 91 || isAuthority && code === 93 || isAuthority && code === 58) { + if (nativeEncodePos !== -1) { + res += encodeURIComponent(uriComponent.substring(nativeEncodePos, pos)); + nativeEncodePos = -1; + } + if (res !== void 0) { + res += uriComponent.charAt(pos); + } + } else { + if (res === void 0) { + res = uriComponent.substr(0, pos); + } + const escaped = encodeTable[code]; + if (escaped !== void 0) { + if (nativeEncodePos !== -1) { + res += encodeURIComponent(uriComponent.substring(nativeEncodePos, pos)); + nativeEncodePos = -1; + } + res += escaped; + } else if (nativeEncodePos === -1) { + nativeEncodePos = pos; + } + } + } + if (nativeEncodePos !== -1) { + res += encodeURIComponent(uriComponent.substring(nativeEncodePos)); + } + return res !== void 0 ? res : uriComponent; + } + function encodeURIComponentMinimal(path) { + let res = void 0; + for (let pos = 0; pos < path.length; pos++) { + const code = path.charCodeAt(pos); + if (code === 35 || code === 63) { + if (res === void 0) { + res = path.substr(0, pos); + } + res += encodeTable[code]; + } else { + if (res !== void 0) { + res += path[pos]; + } + } + } + return res !== void 0 ? res : path; + } + function uriToFsPath(uri, keepDriveLetterCasing) { + let value; + if (uri.authority && uri.path.length > 1 && uri.scheme === "file") { + value = `//${uri.authority}${uri.path}`; + } else if (uri.path.charCodeAt(0) === 47 && (uri.path.charCodeAt(1) >= 65 && uri.path.charCodeAt(1) <= 90 || uri.path.charCodeAt(1) >= 97 && uri.path.charCodeAt(1) <= 122) && uri.path.charCodeAt(2) === 58) { + if (!keepDriveLetterCasing) { + value = uri.path[1].toLowerCase() + uri.path.substr(2); + } else { + value = uri.path.substr(1); + } + } else { + value = uri.path; + } + if (isWindows) { + value = value.replace(/\//g, "\\"); + } + return value; + } + function _asFormatted(uri, skipEncoding) { + const encoder = !skipEncoding ? encodeURIComponentFast : encodeURIComponentMinimal; + let res = ""; + let { scheme, authority, path, query, fragment } = uri; + if (scheme) { + res += scheme; + res += ":"; + } + if (authority || scheme === "file") { + res += _slash; + res += _slash; + } + if (authority) { + let idx = authority.indexOf("@"); + if (idx !== -1) { + const userinfo = authority.substr(0, idx); + authority = authority.substr(idx + 1); + idx = userinfo.lastIndexOf(":"); + if (idx === -1) { + res += encoder(userinfo, false, false); + } else { + res += encoder(userinfo.substr(0, idx), false, false); + res += ":"; + res += encoder(userinfo.substr(idx + 1), false, true); + } + res += "@"; + } + authority = authority.toLowerCase(); + idx = authority.lastIndexOf(":"); + if (idx === -1) { + res += encoder(authority, false, true); + } else { + res += encoder(authority.substr(0, idx), false, true); + res += authority.substr(idx); + } + } + if (path) { + if (path.length >= 3 && path.charCodeAt(0) === 47 && path.charCodeAt(2) === 58) { + const code = path.charCodeAt(1); + if (code >= 65 && code <= 90) { + path = `/${String.fromCharCode(code + 32)}:${path.substr(3)}`; + } + } else if (path.length >= 2 && path.charCodeAt(1) === 58) { + const code = path.charCodeAt(0); + if (code >= 65 && code <= 90) { + path = `${String.fromCharCode(code + 32)}:${path.substr(2)}`; + } + } + res += encoder(path, true, false); + } + if (query) { + res += "?"; + res += encoder(query, false, false); + } + if (fragment) { + res += "#"; + res += !skipEncoding ? encodeURIComponentFast(fragment, false, false) : fragment; + } + return res; + } + function decodeURIComponentGraceful(str) { + try { + return decodeURIComponent(str); + } catch { + if (str.length > 3) { + return str.substr(0, 3) + decodeURIComponentGraceful(str.substr(3)); + } else { + return str; + } + } + } + var _rEncodedAsHex = /(%[0-9A-Za-z][0-9A-Za-z])+/g; + function percentDecode(str) { + if (!str.match(_rEncodedAsHex)) { + return str; + } + return str.replace(_rEncodedAsHex, (match) => decodeURIComponentGraceful(match)); + } + + // node_modules/monaco-editor/esm/vs/base/common/network.js + var Schemas; + (function(Schemas2) { + Schemas2.inMemory = "inmemory"; + Schemas2.vscode = "vscode"; + Schemas2.internal = "private"; + Schemas2.walkThrough = "walkThrough"; + Schemas2.walkThroughSnippet = "walkThroughSnippet"; + Schemas2.http = "http"; + Schemas2.https = "https"; + Schemas2.file = "file"; + Schemas2.mailto = "mailto"; + Schemas2.untitled = "untitled"; + Schemas2.data = "data"; + Schemas2.command = "command"; + Schemas2.vscodeRemote = "vscode-remote"; + Schemas2.vscodeRemoteResource = "vscode-remote-resource"; + Schemas2.vscodeManagedRemoteResource = "vscode-managed-remote-resource"; + Schemas2.vscodeUserData = "vscode-userdata"; + Schemas2.vscodeCustomEditor = "vscode-custom-editor"; + Schemas2.vscodeNotebookCell = "vscode-notebook-cell"; + Schemas2.vscodeNotebookCellMetadata = "vscode-notebook-cell-metadata"; + Schemas2.vscodeNotebookCellMetadataDiff = "vscode-notebook-cell-metadata-diff"; + Schemas2.vscodeNotebookCellOutput = "vscode-notebook-cell-output"; + Schemas2.vscodeNotebookCellOutputDiff = "vscode-notebook-cell-output-diff"; + Schemas2.vscodeNotebookMetadata = "vscode-notebook-metadata"; + Schemas2.vscodeInteractiveInput = "vscode-interactive-input"; + Schemas2.vscodeSettings = "vscode-settings"; + Schemas2.vscodeWorkspaceTrust = "vscode-workspace-trust"; + Schemas2.vscodeTerminal = "vscode-terminal"; + Schemas2.vscodeChatCodeBlock = "vscode-chat-code-block"; + Schemas2.vscodeChatCodeCompareBlock = "vscode-chat-code-compare-block"; + Schemas2.vscodeChatSesssion = "vscode-chat-editor"; + Schemas2.webviewPanel = "webview-panel"; + Schemas2.vscodeWebview = "vscode-webview"; + Schemas2.extension = "extension"; + Schemas2.vscodeFileResource = "vscode-file"; + Schemas2.tmp = "tmp"; + Schemas2.vsls = "vsls"; + Schemas2.vscodeSourceControl = "vscode-scm"; + Schemas2.commentsInput = "comment"; + Schemas2.codeSetting = "code-setting"; + Schemas2.outputChannel = "output"; + })(Schemas || (Schemas = {})); + var connectionTokenQueryName = "tkn"; + var RemoteAuthoritiesImpl = class { + constructor() { + this._hosts = /* @__PURE__ */ Object.create(null); + this._ports = /* @__PURE__ */ Object.create(null); + this._connectionTokens = /* @__PURE__ */ Object.create(null); + this._preferredWebSchema = "http"; + this._delegate = null; + this._serverRootPath = "/"; + } + setPreferredWebSchema(schema) { + this._preferredWebSchema = schema; + } + get _remoteResourcesPath() { + return posix.join(this._serverRootPath, Schemas.vscodeRemoteResource); + } + rewrite(uri) { + if (this._delegate) { + try { + return this._delegate(uri); + } catch (err) { + onUnexpectedError(err); + return uri; + } + } + const authority = uri.authority; + let host = this._hosts[authority]; + if (host && host.indexOf(":") !== -1 && host.indexOf("[") === -1) { + host = `[${host}]`; + } + const port = this._ports[authority]; + const connectionToken = this._connectionTokens[authority]; + let query = `path=${encodeURIComponent(uri.path)}`; + if (typeof connectionToken === "string") { + query += `&${connectionTokenQueryName}=${encodeURIComponent(connectionToken)}`; + } + return URI.from({ + scheme: isWeb ? this._preferredWebSchema : Schemas.vscodeRemoteResource, + authority: `${host}:${port}`, + path: this._remoteResourcesPath, + query + }); + } + }; + var RemoteAuthorities = new RemoteAuthoritiesImpl(); + var VSCODE_AUTHORITY = "vscode-app"; + var FileAccessImpl = class _FileAccessImpl { + static { + this.FALLBACK_AUTHORITY = VSCODE_AUTHORITY; + } + /** + * Returns a URI to use in contexts where the browser is responsible + * for loading (e.g. fetch()) or when used within the DOM. + * + * **Note:** use `dom.ts#asCSSUrl` whenever the URL is to be used in CSS context. + */ + asBrowserUri(resourcePath) { + const uri = this.toUri(resourcePath); + return this.uriToBrowserUri(uri); + } + /** + * Returns a URI to use in contexts where the browser is responsible + * for loading (e.g. fetch()) or when used within the DOM. + * + * **Note:** use `dom.ts#asCSSUrl` whenever the URL is to be used in CSS context. + */ + uriToBrowserUri(uri) { + if (uri.scheme === Schemas.vscodeRemote) { + return RemoteAuthorities.rewrite(uri); + } + if ( + // ...only ever for `file` resources + uri.scheme === Schemas.file && // ...and we run in native environments + (isNative || // ...or web worker extensions on desktop + webWorkerOrigin === `${Schemas.vscodeFileResource}://${_FileAccessImpl.FALLBACK_AUTHORITY}`) + ) { + return uri.with({ + scheme: Schemas.vscodeFileResource, + // We need to provide an authority here so that it can serve + // as origin for network and loading matters in chromium. + // If the URI is not coming with an authority already, we + // add our own + authority: uri.authority || _FileAccessImpl.FALLBACK_AUTHORITY, + query: null, + fragment: null + }); + } + return uri; + } + toUri(uriOrModule, moduleIdToUrl) { + if (URI.isUri(uriOrModule)) { + return uriOrModule; + } + if (globalThis._VSCODE_FILE_ROOT) { + const rootUriOrPath = globalThis._VSCODE_FILE_ROOT; + if (/^\w[\w\d+.-]*:\/\//.test(rootUriOrPath)) { + return URI.joinPath(URI.parse(rootUriOrPath, true), uriOrModule); + } + const modulePath = join(rootUriOrPath, uriOrModule); + return URI.file(modulePath); + } + return URI.parse(moduleIdToUrl.toUrl(uriOrModule)); + } + }; + var FileAccess = new FileAccessImpl(); + var COI; + (function(COI2) { + const coiHeaders = /* @__PURE__ */ new Map([ + ["1", { "Cross-Origin-Opener-Policy": "same-origin" }], + ["2", { "Cross-Origin-Embedder-Policy": "require-corp" }], + ["3", { "Cross-Origin-Opener-Policy": "same-origin", "Cross-Origin-Embedder-Policy": "require-corp" }] + ]); + COI2.CoopAndCoep = Object.freeze(coiHeaders.get("3")); + const coiSearchParamName = "vscode-coi"; + function getHeadersFromQuery(url) { + let params; + if (typeof url === "string") { + params = new URL(url).searchParams; + } else if (url instanceof URL) { + params = url.searchParams; + } else if (URI.isUri(url)) { + params = new URL(url.toString(true)).searchParams; + } + const value = params?.get(coiSearchParamName); + if (!value) { + return void 0; + } + return coiHeaders.get(value); + } + COI2.getHeadersFromQuery = getHeadersFromQuery; + function addSearchParam(urlOrSearch, coop, coep) { + if (!globalThis.crossOriginIsolated) { + return; + } + const value = coop && coep ? "3" : coep ? "2" : "1"; + if (urlOrSearch instanceof URLSearchParams) { + urlOrSearch.set(coiSearchParamName, value); + } else { + urlOrSearch[coiSearchParamName] = value; + } + } + COI2.addSearchParam = addSearchParam; + })(COI || (COI = {})); + + // node_modules/monaco-editor/esm/vs/base/common/worker/simpleWorker.js + var isESM = true; + var DEFAULT_CHANNEL = "default"; + var INITIALIZE = "$initialize"; + var RequestMessage = class { + constructor(vsWorker, req, channel, method, args) { + this.vsWorker = vsWorker; + this.req = req; + this.channel = channel; + this.method = method; + this.args = args; + this.type = 0; + } + }; + var ReplyMessage = class { + constructor(vsWorker, seq, res, err) { + this.vsWorker = vsWorker; + this.seq = seq; + this.res = res; + this.err = err; + this.type = 1; + } + }; + var SubscribeEventMessage = class { + constructor(vsWorker, req, channel, eventName, arg) { + this.vsWorker = vsWorker; + this.req = req; + this.channel = channel; + this.eventName = eventName; + this.arg = arg; + this.type = 2; + } + }; + var EventMessage = class { + constructor(vsWorker, req, event) { + this.vsWorker = vsWorker; + this.req = req; + this.event = event; + this.type = 3; + } + }; + var UnsubscribeEventMessage = class { + constructor(vsWorker, req) { + this.vsWorker = vsWorker; + this.req = req; + this.type = 4; + } + }; + var SimpleWorkerProtocol = class { + constructor(handler) { + this._workerId = -1; + this._handler = handler; + this._lastSentReq = 0; + this._pendingReplies = /* @__PURE__ */ Object.create(null); + this._pendingEmitters = /* @__PURE__ */ new Map(); + this._pendingEvents = /* @__PURE__ */ new Map(); + } + setWorkerId(workerId) { + this._workerId = workerId; + } + sendMessage(channel, method, args) { + const req = String(++this._lastSentReq); + return new Promise((resolve2, reject) => { + this._pendingReplies[req] = { + resolve: resolve2, + reject + }; + this._send(new RequestMessage(this._workerId, req, channel, method, args)); + }); + } + listen(channel, eventName, arg) { + let req = null; + const emitter = new Emitter({ + onWillAddFirstListener: () => { + req = String(++this._lastSentReq); + this._pendingEmitters.set(req, emitter); + this._send(new SubscribeEventMessage(this._workerId, req, channel, eventName, arg)); + }, + onDidRemoveLastListener: () => { + this._pendingEmitters.delete(req); + this._send(new UnsubscribeEventMessage(this._workerId, req)); + req = null; + } + }); + return emitter.event; + } + handleMessage(message) { + if (!message || !message.vsWorker) { + return; + } + if (this._workerId !== -1 && message.vsWorker !== this._workerId) { + return; + } + this._handleMessage(message); + } + createProxyToRemoteChannel(channel, sendMessageBarrier) { + const handler = { + get: (target, name) => { + if (typeof name === "string" && !target[name]) { + if (propertyIsDynamicEvent(name)) { + target[name] = (arg) => { + return this.listen(channel, name, arg); + }; + } else if (propertyIsEvent(name)) { + target[name] = this.listen(channel, name, void 0); + } else if (name.charCodeAt(0) === 36) { + target[name] = async (...myArgs) => { + await sendMessageBarrier?.(); + return this.sendMessage(channel, name, myArgs); + }; + } + } + return target[name]; + } + }; + return new Proxy(/* @__PURE__ */ Object.create(null), handler); + } + _handleMessage(msg) { + switch (msg.type) { + case 1: + return this._handleReplyMessage(msg); + case 0: + return this._handleRequestMessage(msg); + case 2: + return this._handleSubscribeEventMessage(msg); + case 3: + return this._handleEventMessage(msg); + case 4: + return this._handleUnsubscribeEventMessage(msg); + } + } + _handleReplyMessage(replyMessage) { + if (!this._pendingReplies[replyMessage.seq]) { + console.warn("Got reply to unknown seq"); + return; + } + const reply = this._pendingReplies[replyMessage.seq]; + delete this._pendingReplies[replyMessage.seq]; + if (replyMessage.err) { + let err = replyMessage.err; + if (replyMessage.err.$isError) { + err = new Error(); + err.name = replyMessage.err.name; + err.message = replyMessage.err.message; + err.stack = replyMessage.err.stack; + } + reply.reject(err); + return; + } + reply.resolve(replyMessage.res); + } + _handleRequestMessage(requestMessage) { + const req = requestMessage.req; + const result = this._handler.handleMessage(requestMessage.channel, requestMessage.method, requestMessage.args); + result.then((r) => { + this._send(new ReplyMessage(this._workerId, req, r, void 0)); + }, (e) => { + if (e.detail instanceof Error) { + e.detail = transformErrorForSerialization(e.detail); + } + this._send(new ReplyMessage(this._workerId, req, void 0, transformErrorForSerialization(e))); + }); + } + _handleSubscribeEventMessage(msg) { + const req = msg.req; + const disposable = this._handler.handleEvent(msg.channel, msg.eventName, msg.arg)((event) => { + this._send(new EventMessage(this._workerId, req, event)); + }); + this._pendingEvents.set(req, disposable); + } + _handleEventMessage(msg) { + if (!this._pendingEmitters.has(msg.req)) { + console.warn("Got event for unknown req"); + return; + } + this._pendingEmitters.get(msg.req).fire(msg.event); + } + _handleUnsubscribeEventMessage(msg) { + if (!this._pendingEvents.has(msg.req)) { + console.warn("Got unsubscribe for unknown req"); + return; + } + this._pendingEvents.get(msg.req).dispose(); + this._pendingEvents.delete(msg.req); + } + _send(msg) { + const transfer = []; + if (msg.type === 0) { + for (let i = 0; i < msg.args.length; i++) { + if (msg.args[i] instanceof ArrayBuffer) { + transfer.push(msg.args[i]); + } + } + } else if (msg.type === 1) { + if (msg.res instanceof ArrayBuffer) { + transfer.push(msg.res); + } + } + this._handler.sendMessage(msg, transfer); + } + }; + function propertyIsEvent(name) { + return name[0] === "o" && name[1] === "n" && isUpperAsciiLetter(name.charCodeAt(2)); + } + function propertyIsDynamicEvent(name) { + return /^onDynamic/.test(name) && isUpperAsciiLetter(name.charCodeAt(9)); + } + var SimpleWorkerServer = class { + constructor(postMessage, requestHandlerFactory) { + this._localChannels = /* @__PURE__ */ new Map(); + this._remoteChannels = /* @__PURE__ */ new Map(); + this._requestHandlerFactory = requestHandlerFactory; + this._requestHandler = null; + this._protocol = new SimpleWorkerProtocol({ + sendMessage: (msg, transfer) => { + postMessage(msg, transfer); + }, + handleMessage: (channel, method, args) => this._handleMessage(channel, method, args), + handleEvent: (channel, eventName, arg) => this._handleEvent(channel, eventName, arg) + }); + } + onmessage(msg) { + this._protocol.handleMessage(msg); + } + _handleMessage(channel, method, args) { + if (channel === DEFAULT_CHANNEL && method === INITIALIZE) { + return this.initialize(args[0], args[1], args[2]); + } + const requestHandler = channel === DEFAULT_CHANNEL ? this._requestHandler : this._localChannels.get(channel); + if (!requestHandler) { + return Promise.reject(new Error(`Missing channel ${channel} on worker thread`)); + } + if (typeof requestHandler[method] !== "function") { + return Promise.reject(new Error(`Missing method ${method} on worker thread channel ${channel}`)); + } + try { + return Promise.resolve(requestHandler[method].apply(requestHandler, args)); + } catch (e) { + return Promise.reject(e); + } + } + _handleEvent(channel, eventName, arg) { + const requestHandler = channel === DEFAULT_CHANNEL ? this._requestHandler : this._localChannels.get(channel); + if (!requestHandler) { + throw new Error(`Missing channel ${channel} on worker thread`); + } + if (propertyIsDynamicEvent(eventName)) { + const event = requestHandler[eventName].call(requestHandler, arg); + if (typeof event !== "function") { + throw new Error(`Missing dynamic event ${eventName} on request handler.`); + } + return event; + } + if (propertyIsEvent(eventName)) { + const event = requestHandler[eventName]; + if (typeof event !== "function") { + throw new Error(`Missing event ${eventName} on request handler.`); + } + return event; + } + throw new Error(`Malformed event name ${eventName}`); + } + getChannel(channel) { + if (!this._remoteChannels.has(channel)) { + const inst = this._protocol.createProxyToRemoteChannel(channel); + this._remoteChannels.set(channel, inst); + } + return this._remoteChannels.get(channel); + } + async initialize(workerId, loaderConfig, moduleId) { + this._protocol.setWorkerId(workerId); + if (this._requestHandlerFactory) { + this._requestHandler = this._requestHandlerFactory(this); + return; + } + if (loaderConfig) { + if (typeof loaderConfig.baseUrl !== "undefined") { + delete loaderConfig["baseUrl"]; + } + if (typeof loaderConfig.paths !== "undefined") { + if (typeof loaderConfig.paths.vs !== "undefined") { + delete loaderConfig.paths["vs"]; + } + } + if (typeof loaderConfig.trustedTypesPolicy !== "undefined") { + delete loaderConfig["trustedTypesPolicy"]; + } + loaderConfig.catchError = true; + globalThis.require.config(loaderConfig); + } + if (isESM) { + const url = FileAccess.asBrowserUri(`${moduleId}.js`).toString(true); + return import(`${url}`).then((module) => { + this._requestHandler = module.create(this); + if (!this._requestHandler) { + throw new Error(`No RequestHandler!`); + } + }); + } + return new Promise((resolve2, reject) => { + const req = globalThis.require; + req([moduleId], (module) => { + this._requestHandler = module.create(this); + if (!this._requestHandler) { + reject(new Error(`No RequestHandler!`)); + return; + } + resolve2(); + }, reject); + }); + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/diff/diffChange.js + var DiffChange = class { + /** + * Constructs a new DiffChange with the given sequence information + * and content. + */ + constructor(originalStart, originalLength, modifiedStart, modifiedLength) { + this.originalStart = originalStart; + this.originalLength = originalLength; + this.modifiedStart = modifiedStart; + this.modifiedLength = modifiedLength; + } + /** + * The end point (exclusive) of the change in the original sequence. + */ + getOriginalEnd() { + return this.originalStart + this.originalLength; + } + /** + * The end point (exclusive) of the change in the modified sequence. + */ + getModifiedEnd() { + return this.modifiedStart + this.modifiedLength; + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/hash.js + function numberHash(val, initialHashVal) { + return (initialHashVal << 5) - initialHashVal + val | 0; + } + function stringHash(s, hashVal) { + hashVal = numberHash(149417, hashVal); + for (let i = 0, length = s.length; i < length; i++) { + hashVal = numberHash(s.charCodeAt(i), hashVal); + } + return hashVal; + } + function leftRotate(value, bits, totalBits = 32) { + const delta = totalBits - bits; + const mask = ~((1 << delta) - 1); + return (value << bits | (mask & value) >>> delta) >>> 0; + } + function fill(dest, index = 0, count = dest.byteLength, value = 0) { + for (let i = 0; i < count; i++) { + dest[index + i] = value; + } + } + function leftPad(value, length, char = "0") { + while (value.length < length) { + value = char + value; + } + return value; + } + function toHexString(bufferOrValue, bitsize = 32) { + if (bufferOrValue instanceof ArrayBuffer) { + return Array.from(new Uint8Array(bufferOrValue)).map((b) => b.toString(16).padStart(2, "0")).join(""); + } + return leftPad((bufferOrValue >>> 0).toString(16), bitsize / 4); + } + var StringSHA1 = class _StringSHA1 { + static { + this._bigBlock32 = new DataView(new ArrayBuffer(320)); + } + // 80 * 4 = 320 + constructor() { + this._h0 = 1732584193; + this._h1 = 4023233417; + this._h2 = 2562383102; + this._h3 = 271733878; + this._h4 = 3285377520; + this._buff = new Uint8Array( + 64 + 3 + /* to fit any utf-8 */ + ); + this._buffDV = new DataView(this._buff.buffer); + this._buffLen = 0; + this._totalLen = 0; + this._leftoverHighSurrogate = 0; + this._finished = false; + } + update(str) { + const strLen = str.length; + if (strLen === 0) { + return; + } + const buff = this._buff; + let buffLen = this._buffLen; + let leftoverHighSurrogate = this._leftoverHighSurrogate; + let charCode; + let offset; + if (leftoverHighSurrogate !== 0) { + charCode = leftoverHighSurrogate; + offset = -1; + leftoverHighSurrogate = 0; + } else { + charCode = str.charCodeAt(0); + offset = 0; + } + while (true) { + let codePoint = charCode; + if (isHighSurrogate(charCode)) { + if (offset + 1 < strLen) { + const nextCharCode = str.charCodeAt(offset + 1); + if (isLowSurrogate(nextCharCode)) { + offset++; + codePoint = computeCodePoint(charCode, nextCharCode); + } else { + codePoint = 65533; + } + } else { + leftoverHighSurrogate = charCode; + break; + } + } else if (isLowSurrogate(charCode)) { + codePoint = 65533; + } + buffLen = this._push(buff, buffLen, codePoint); + offset++; + if (offset < strLen) { + charCode = str.charCodeAt(offset); + } else { + break; + } + } + this._buffLen = buffLen; + this._leftoverHighSurrogate = leftoverHighSurrogate; + } + _push(buff, buffLen, codePoint) { + if (codePoint < 128) { + buff[buffLen++] = codePoint; + } else if (codePoint < 2048) { + buff[buffLen++] = 192 | (codePoint & 1984) >>> 6; + buff[buffLen++] = 128 | (codePoint & 63) >>> 0; + } else if (codePoint < 65536) { + buff[buffLen++] = 224 | (codePoint & 61440) >>> 12; + buff[buffLen++] = 128 | (codePoint & 4032) >>> 6; + buff[buffLen++] = 128 | (codePoint & 63) >>> 0; + } else { + buff[buffLen++] = 240 | (codePoint & 1835008) >>> 18; + buff[buffLen++] = 128 | (codePoint & 258048) >>> 12; + buff[buffLen++] = 128 | (codePoint & 4032) >>> 6; + buff[buffLen++] = 128 | (codePoint & 63) >>> 0; + } + if (buffLen >= 64) { + this._step(); + buffLen -= 64; + this._totalLen += 64; + buff[0] = buff[64 + 0]; + buff[1] = buff[64 + 1]; + buff[2] = buff[64 + 2]; + } + return buffLen; + } + digest() { + if (!this._finished) { + this._finished = true; + if (this._leftoverHighSurrogate) { + this._leftoverHighSurrogate = 0; + this._buffLen = this._push( + this._buff, + this._buffLen, + 65533 + /* SHA1Constant.UNICODE_REPLACEMENT */ + ); + } + this._totalLen += this._buffLen; + this._wrapUp(); + } + return toHexString(this._h0) + toHexString(this._h1) + toHexString(this._h2) + toHexString(this._h3) + toHexString(this._h4); + } + _wrapUp() { + this._buff[this._buffLen++] = 128; + fill(this._buff, this._buffLen); + if (this._buffLen > 56) { + this._step(); + fill(this._buff); + } + const ml = 8 * this._totalLen; + this._buffDV.setUint32(56, Math.floor(ml / 4294967296), false); + this._buffDV.setUint32(60, ml % 4294967296, false); + this._step(); + } + _step() { + const bigBlock32 = _StringSHA1._bigBlock32; + const data = this._buffDV; + for (let j = 0; j < 64; j += 4) { + bigBlock32.setUint32(j, data.getUint32(j, false), false); + } + for (let j = 64; j < 320; j += 4) { + bigBlock32.setUint32(j, leftRotate(bigBlock32.getUint32(j - 12, false) ^ bigBlock32.getUint32(j - 32, false) ^ bigBlock32.getUint32(j - 56, false) ^ bigBlock32.getUint32(j - 64, false), 1), false); + } + let a = this._h0; + let b = this._h1; + let c = this._h2; + let d = this._h3; + let e = this._h4; + let f, k; + let temp; + for (let j = 0; j < 80; j++) { + if (j < 20) { + f = b & c | ~b & d; + k = 1518500249; + } else if (j < 40) { + f = b ^ c ^ d; + k = 1859775393; + } else if (j < 60) { + f = b & c | b & d | c & d; + k = 2400959708; + } else { + f = b ^ c ^ d; + k = 3395469782; + } + temp = leftRotate(a, 5) + f + e + k + bigBlock32.getUint32(j * 4, false) & 4294967295; + e = d; + d = c; + c = leftRotate(b, 30); + b = a; + a = temp; + } + this._h0 = this._h0 + a & 4294967295; + this._h1 = this._h1 + b & 4294967295; + this._h2 = this._h2 + c & 4294967295; + this._h3 = this._h3 + d & 4294967295; + this._h4 = this._h4 + e & 4294967295; + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/diff/diff.js + var StringDiffSequence = class { + constructor(source) { + this.source = source; + } + getElements() { + const source = this.source; + const characters = new Int32Array(source.length); + for (let i = 0, len = source.length; i < len; i++) { + characters[i] = source.charCodeAt(i); + } + return characters; + } + }; + function stringDiff(original, modified, pretty) { + return new LcsDiff(new StringDiffSequence(original), new StringDiffSequence(modified)).ComputeDiff(pretty).changes; + } + var Debug = class { + static Assert(condition, message) { + if (!condition) { + throw new Error(message); + } + } + }; + var MyArray = class { + /** + * Copies a range of elements from an Array starting at the specified source index and pastes + * them to another Array starting at the specified destination index. The length and the indexes + * are specified as 64-bit integers. + * sourceArray: + * The Array that contains the data to copy. + * sourceIndex: + * A 64-bit integer that represents the index in the sourceArray at which copying begins. + * destinationArray: + * The Array that receives the data. + * destinationIndex: + * A 64-bit integer that represents the index in the destinationArray at which storing begins. + * length: + * A 64-bit integer that represents the number of elements to copy. + */ + static Copy(sourceArray, sourceIndex, destinationArray, destinationIndex, length) { + for (let i = 0; i < length; i++) { + destinationArray[destinationIndex + i] = sourceArray[sourceIndex + i]; + } + } + static Copy2(sourceArray, sourceIndex, destinationArray, destinationIndex, length) { + for (let i = 0; i < length; i++) { + destinationArray[destinationIndex + i] = sourceArray[sourceIndex + i]; + } + } + }; + var DiffChangeHelper = class { + /** + * Constructs a new DiffChangeHelper for the given DiffSequences. + */ + constructor() { + this.m_changes = []; + this.m_originalStart = 1073741824; + this.m_modifiedStart = 1073741824; + this.m_originalCount = 0; + this.m_modifiedCount = 0; + } + /** + * Marks the beginning of the next change in the set of differences. + */ + MarkNextChange() { + if (this.m_originalCount > 0 || this.m_modifiedCount > 0) { + this.m_changes.push(new DiffChange(this.m_originalStart, this.m_originalCount, this.m_modifiedStart, this.m_modifiedCount)); + } + this.m_originalCount = 0; + this.m_modifiedCount = 0; + this.m_originalStart = 1073741824; + this.m_modifiedStart = 1073741824; + } + /** + * Adds the original element at the given position to the elements + * affected by the current change. The modified index gives context + * to the change position with respect to the original sequence. + * @param originalIndex The index of the original element to add. + * @param modifiedIndex The index of the modified element that provides corresponding position in the modified sequence. + */ + AddOriginalElement(originalIndex, modifiedIndex) { + this.m_originalStart = Math.min(this.m_originalStart, originalIndex); + this.m_modifiedStart = Math.min(this.m_modifiedStart, modifiedIndex); + this.m_originalCount++; + } + /** + * Adds the modified element at the given position to the elements + * affected by the current change. The original index gives context + * to the change position with respect to the modified sequence. + * @param originalIndex The index of the original element that provides corresponding position in the original sequence. + * @param modifiedIndex The index of the modified element to add. + */ + AddModifiedElement(originalIndex, modifiedIndex) { + this.m_originalStart = Math.min(this.m_originalStart, originalIndex); + this.m_modifiedStart = Math.min(this.m_modifiedStart, modifiedIndex); + this.m_modifiedCount++; + } + /** + * Retrieves all of the changes marked by the class. + */ + getChanges() { + if (this.m_originalCount > 0 || this.m_modifiedCount > 0) { + this.MarkNextChange(); + } + return this.m_changes; + } + /** + * Retrieves all of the changes marked by the class in the reverse order + */ + getReverseChanges() { + if (this.m_originalCount > 0 || this.m_modifiedCount > 0) { + this.MarkNextChange(); + } + this.m_changes.reverse(); + return this.m_changes; + } + }; + var LcsDiff = class _LcsDiff { + /** + * Constructs the DiffFinder + */ + constructor(originalSequence, modifiedSequence, continueProcessingPredicate = null) { + this.ContinueProcessingPredicate = continueProcessingPredicate; + this._originalSequence = originalSequence; + this._modifiedSequence = modifiedSequence; + const [originalStringElements, originalElementsOrHash, originalHasStrings] = _LcsDiff._getElements(originalSequence); + const [modifiedStringElements, modifiedElementsOrHash, modifiedHasStrings] = _LcsDiff._getElements(modifiedSequence); + this._hasStrings = originalHasStrings && modifiedHasStrings; + this._originalStringElements = originalStringElements; + this._originalElementsOrHash = originalElementsOrHash; + this._modifiedStringElements = modifiedStringElements; + this._modifiedElementsOrHash = modifiedElementsOrHash; + this.m_forwardHistory = []; + this.m_reverseHistory = []; + } + static _isStringArray(arr) { + return arr.length > 0 && typeof arr[0] === "string"; + } + static _getElements(sequence) { + const elements = sequence.getElements(); + if (_LcsDiff._isStringArray(elements)) { + const hashes = new Int32Array(elements.length); + for (let i = 0, len = elements.length; i < len; i++) { + hashes[i] = stringHash(elements[i], 0); + } + return [elements, hashes, true]; + } + if (elements instanceof Int32Array) { + return [[], elements, false]; + } + return [[], new Int32Array(elements), false]; + } + ElementsAreEqual(originalIndex, newIndex) { + if (this._originalElementsOrHash[originalIndex] !== this._modifiedElementsOrHash[newIndex]) { + return false; + } + return this._hasStrings ? this._originalStringElements[originalIndex] === this._modifiedStringElements[newIndex] : true; + } + ElementsAreStrictEqual(originalIndex, newIndex) { + if (!this.ElementsAreEqual(originalIndex, newIndex)) { + return false; + } + const originalElement = _LcsDiff._getStrictElement(this._originalSequence, originalIndex); + const modifiedElement = _LcsDiff._getStrictElement(this._modifiedSequence, newIndex); + return originalElement === modifiedElement; + } + static _getStrictElement(sequence, index) { + if (typeof sequence.getStrictElement === "function") { + return sequence.getStrictElement(index); + } + return null; + } + OriginalElementsAreEqual(index1, index2) { + if (this._originalElementsOrHash[index1] !== this._originalElementsOrHash[index2]) { + return false; + } + return this._hasStrings ? this._originalStringElements[index1] === this._originalStringElements[index2] : true; + } + ModifiedElementsAreEqual(index1, index2) { + if (this._modifiedElementsOrHash[index1] !== this._modifiedElementsOrHash[index2]) { + return false; + } + return this._hasStrings ? this._modifiedStringElements[index1] === this._modifiedStringElements[index2] : true; + } + ComputeDiff(pretty) { + return this._ComputeDiff(0, this._originalElementsOrHash.length - 1, 0, this._modifiedElementsOrHash.length - 1, pretty); + } + /** + * Computes the differences between the original and modified input + * sequences on the bounded range. + * @returns An array of the differences between the two input sequences. + */ + _ComputeDiff(originalStart, originalEnd, modifiedStart, modifiedEnd, pretty) { + const quitEarlyArr = [false]; + let changes = this.ComputeDiffRecursive(originalStart, originalEnd, modifiedStart, modifiedEnd, quitEarlyArr); + if (pretty) { + changes = this.PrettifyChanges(changes); + } + return { + quitEarly: quitEarlyArr[0], + changes + }; + } + /** + * Private helper method which computes the differences on the bounded range + * recursively. + * @returns An array of the differences between the two input sequences. + */ + ComputeDiffRecursive(originalStart, originalEnd, modifiedStart, modifiedEnd, quitEarlyArr) { + quitEarlyArr[0] = false; + while (originalStart <= originalEnd && modifiedStart <= modifiedEnd && this.ElementsAreEqual(originalStart, modifiedStart)) { + originalStart++; + modifiedStart++; + } + while (originalEnd >= originalStart && modifiedEnd >= modifiedStart && this.ElementsAreEqual(originalEnd, modifiedEnd)) { + originalEnd--; + modifiedEnd--; + } + if (originalStart > originalEnd || modifiedStart > modifiedEnd) { + let changes; + if (modifiedStart <= modifiedEnd) { + Debug.Assert(originalStart === originalEnd + 1, "originalStart should only be one more than originalEnd"); + changes = [ + new DiffChange(originalStart, 0, modifiedStart, modifiedEnd - modifiedStart + 1) + ]; + } else if (originalStart <= originalEnd) { + Debug.Assert(modifiedStart === modifiedEnd + 1, "modifiedStart should only be one more than modifiedEnd"); + changes = [ + new DiffChange(originalStart, originalEnd - originalStart + 1, modifiedStart, 0) + ]; + } else { + Debug.Assert(originalStart === originalEnd + 1, "originalStart should only be one more than originalEnd"); + Debug.Assert(modifiedStart === modifiedEnd + 1, "modifiedStart should only be one more than modifiedEnd"); + changes = []; + } + return changes; + } + const midOriginalArr = [0]; + const midModifiedArr = [0]; + const result = this.ComputeRecursionPoint(originalStart, originalEnd, modifiedStart, modifiedEnd, midOriginalArr, midModifiedArr, quitEarlyArr); + const midOriginal = midOriginalArr[0]; + const midModified = midModifiedArr[0]; + if (result !== null) { + return result; + } else if (!quitEarlyArr[0]) { + const leftChanges = this.ComputeDiffRecursive(originalStart, midOriginal, modifiedStart, midModified, quitEarlyArr); + let rightChanges = []; + if (!quitEarlyArr[0]) { + rightChanges = this.ComputeDiffRecursive(midOriginal + 1, originalEnd, midModified + 1, modifiedEnd, quitEarlyArr); + } else { + rightChanges = [ + new DiffChange(midOriginal + 1, originalEnd - (midOriginal + 1) + 1, midModified + 1, modifiedEnd - (midModified + 1) + 1) + ]; + } + return this.ConcatenateChanges(leftChanges, rightChanges); + } + return [ + new DiffChange(originalStart, originalEnd - originalStart + 1, modifiedStart, modifiedEnd - modifiedStart + 1) + ]; + } + WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr) { + let forwardChanges = null; + let reverseChanges = null; + let changeHelper = new DiffChangeHelper(); + let diagonalMin = diagonalForwardStart; + let diagonalMax = diagonalForwardEnd; + let diagonalRelative = midOriginalArr[0] - midModifiedArr[0] - diagonalForwardOffset; + let lastOriginalIndex = -1073741824; + let historyIndex = this.m_forwardHistory.length - 1; + do { + const diagonal = diagonalRelative + diagonalForwardBase; + if (diagonal === diagonalMin || diagonal < diagonalMax && forwardPoints[diagonal - 1] < forwardPoints[diagonal + 1]) { + originalIndex = forwardPoints[diagonal + 1]; + modifiedIndex = originalIndex - diagonalRelative - diagonalForwardOffset; + if (originalIndex < lastOriginalIndex) { + changeHelper.MarkNextChange(); + } + lastOriginalIndex = originalIndex; + changeHelper.AddModifiedElement(originalIndex + 1, modifiedIndex); + diagonalRelative = diagonal + 1 - diagonalForwardBase; + } else { + originalIndex = forwardPoints[diagonal - 1] + 1; + modifiedIndex = originalIndex - diagonalRelative - diagonalForwardOffset; + if (originalIndex < lastOriginalIndex) { + changeHelper.MarkNextChange(); + } + lastOriginalIndex = originalIndex - 1; + changeHelper.AddOriginalElement(originalIndex, modifiedIndex + 1); + diagonalRelative = diagonal - 1 - diagonalForwardBase; + } + if (historyIndex >= 0) { + forwardPoints = this.m_forwardHistory[historyIndex]; + diagonalForwardBase = forwardPoints[0]; + diagonalMin = 1; + diagonalMax = forwardPoints.length - 1; + } + } while (--historyIndex >= -1); + forwardChanges = changeHelper.getReverseChanges(); + if (quitEarlyArr[0]) { + let originalStartPoint = midOriginalArr[0] + 1; + let modifiedStartPoint = midModifiedArr[0] + 1; + if (forwardChanges !== null && forwardChanges.length > 0) { + const lastForwardChange = forwardChanges[forwardChanges.length - 1]; + originalStartPoint = Math.max(originalStartPoint, lastForwardChange.getOriginalEnd()); + modifiedStartPoint = Math.max(modifiedStartPoint, lastForwardChange.getModifiedEnd()); + } + reverseChanges = [ + new DiffChange(originalStartPoint, originalEnd - originalStartPoint + 1, modifiedStartPoint, modifiedEnd - modifiedStartPoint + 1) + ]; + } else { + changeHelper = new DiffChangeHelper(); + diagonalMin = diagonalReverseStart; + diagonalMax = diagonalReverseEnd; + diagonalRelative = midOriginalArr[0] - midModifiedArr[0] - diagonalReverseOffset; + lastOriginalIndex = 1073741824; + historyIndex = deltaIsEven ? this.m_reverseHistory.length - 1 : this.m_reverseHistory.length - 2; + do { + const diagonal = diagonalRelative + diagonalReverseBase; + if (diagonal === diagonalMin || diagonal < diagonalMax && reversePoints[diagonal - 1] >= reversePoints[diagonal + 1]) { + originalIndex = reversePoints[diagonal + 1] - 1; + modifiedIndex = originalIndex - diagonalRelative - diagonalReverseOffset; + if (originalIndex > lastOriginalIndex) { + changeHelper.MarkNextChange(); + } + lastOriginalIndex = originalIndex + 1; + changeHelper.AddOriginalElement(originalIndex + 1, modifiedIndex + 1); + diagonalRelative = diagonal + 1 - diagonalReverseBase; + } else { + originalIndex = reversePoints[diagonal - 1]; + modifiedIndex = originalIndex - diagonalRelative - diagonalReverseOffset; + if (originalIndex > lastOriginalIndex) { + changeHelper.MarkNextChange(); + } + lastOriginalIndex = originalIndex; + changeHelper.AddModifiedElement(originalIndex + 1, modifiedIndex + 1); + diagonalRelative = diagonal - 1 - diagonalReverseBase; + } + if (historyIndex >= 0) { + reversePoints = this.m_reverseHistory[historyIndex]; + diagonalReverseBase = reversePoints[0]; + diagonalMin = 1; + diagonalMax = reversePoints.length - 1; + } + } while (--historyIndex >= -1); + reverseChanges = changeHelper.getChanges(); + } + return this.ConcatenateChanges(forwardChanges, reverseChanges); + } + /** + * Given the range to compute the diff on, this method finds the point: + * (midOriginal, midModified) + * that exists in the middle of the LCS of the two sequences and + * is the point at which the LCS problem may be broken down recursively. + * This method will try to keep the LCS trace in memory. If the LCS recursion + * point is calculated and the full trace is available in memory, then this method + * will return the change list. + * @param originalStart The start bound of the original sequence range + * @param originalEnd The end bound of the original sequence range + * @param modifiedStart The start bound of the modified sequence range + * @param modifiedEnd The end bound of the modified sequence range + * @param midOriginal The middle point of the original sequence range + * @param midModified The middle point of the modified sequence range + * @returns The diff changes, if available, otherwise null + */ + ComputeRecursionPoint(originalStart, originalEnd, modifiedStart, modifiedEnd, midOriginalArr, midModifiedArr, quitEarlyArr) { + let originalIndex = 0, modifiedIndex = 0; + let diagonalForwardStart = 0, diagonalForwardEnd = 0; + let diagonalReverseStart = 0, diagonalReverseEnd = 0; + originalStart--; + modifiedStart--; + midOriginalArr[0] = 0; + midModifiedArr[0] = 0; + this.m_forwardHistory = []; + this.m_reverseHistory = []; + const maxDifferences = originalEnd - originalStart + (modifiedEnd - modifiedStart); + const numDiagonals = maxDifferences + 1; + const forwardPoints = new Int32Array(numDiagonals); + const reversePoints = new Int32Array(numDiagonals); + const diagonalForwardBase = modifiedEnd - modifiedStart; + const diagonalReverseBase = originalEnd - originalStart; + const diagonalForwardOffset = originalStart - modifiedStart; + const diagonalReverseOffset = originalEnd - modifiedEnd; + const delta = diagonalReverseBase - diagonalForwardBase; + const deltaIsEven = delta % 2 === 0; + forwardPoints[diagonalForwardBase] = originalStart; + reversePoints[diagonalReverseBase] = originalEnd; + quitEarlyArr[0] = false; + for (let numDifferences = 1; numDifferences <= maxDifferences / 2 + 1; numDifferences++) { + let furthestOriginalIndex = 0; + let furthestModifiedIndex = 0; + diagonalForwardStart = this.ClipDiagonalBound(diagonalForwardBase - numDifferences, numDifferences, diagonalForwardBase, numDiagonals); + diagonalForwardEnd = this.ClipDiagonalBound(diagonalForwardBase + numDifferences, numDifferences, diagonalForwardBase, numDiagonals); + for (let diagonal = diagonalForwardStart; diagonal <= diagonalForwardEnd; diagonal += 2) { + if (diagonal === diagonalForwardStart || diagonal < diagonalForwardEnd && forwardPoints[diagonal - 1] < forwardPoints[diagonal + 1]) { + originalIndex = forwardPoints[diagonal + 1]; + } else { + originalIndex = forwardPoints[diagonal - 1] + 1; + } + modifiedIndex = originalIndex - (diagonal - diagonalForwardBase) - diagonalForwardOffset; + const tempOriginalIndex = originalIndex; + while (originalIndex < originalEnd && modifiedIndex < modifiedEnd && this.ElementsAreEqual(originalIndex + 1, modifiedIndex + 1)) { + originalIndex++; + modifiedIndex++; + } + forwardPoints[diagonal] = originalIndex; + if (originalIndex + modifiedIndex > furthestOriginalIndex + furthestModifiedIndex) { + furthestOriginalIndex = originalIndex; + furthestModifiedIndex = modifiedIndex; + } + if (!deltaIsEven && Math.abs(diagonal - diagonalReverseBase) <= numDifferences - 1) { + if (originalIndex >= reversePoints[diagonal]) { + midOriginalArr[0] = originalIndex; + midModifiedArr[0] = modifiedIndex; + if (tempOriginalIndex <= reversePoints[diagonal] && 1447 > 0 && numDifferences <= 1447 + 1) { + return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr); + } else { + return null; + } + } + } + } + const matchLengthOfLongest = (furthestOriginalIndex - originalStart + (furthestModifiedIndex - modifiedStart) - numDifferences) / 2; + if (this.ContinueProcessingPredicate !== null && !this.ContinueProcessingPredicate(furthestOriginalIndex, matchLengthOfLongest)) { + quitEarlyArr[0] = true; + midOriginalArr[0] = furthestOriginalIndex; + midModifiedArr[0] = furthestModifiedIndex; + if (matchLengthOfLongest > 0 && 1447 > 0 && numDifferences <= 1447 + 1) { + return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr); + } else { + originalStart++; + modifiedStart++; + return [ + new DiffChange(originalStart, originalEnd - originalStart + 1, modifiedStart, modifiedEnd - modifiedStart + 1) + ]; + } + } + diagonalReverseStart = this.ClipDiagonalBound(diagonalReverseBase - numDifferences, numDifferences, diagonalReverseBase, numDiagonals); + diagonalReverseEnd = this.ClipDiagonalBound(diagonalReverseBase + numDifferences, numDifferences, diagonalReverseBase, numDiagonals); + for (let diagonal = diagonalReverseStart; diagonal <= diagonalReverseEnd; diagonal += 2) { + if (diagonal === diagonalReverseStart || diagonal < diagonalReverseEnd && reversePoints[diagonal - 1] >= reversePoints[diagonal + 1]) { + originalIndex = reversePoints[diagonal + 1] - 1; + } else { + originalIndex = reversePoints[diagonal - 1]; + } + modifiedIndex = originalIndex - (diagonal - diagonalReverseBase) - diagonalReverseOffset; + const tempOriginalIndex = originalIndex; + while (originalIndex > originalStart && modifiedIndex > modifiedStart && this.ElementsAreEqual(originalIndex, modifiedIndex)) { + originalIndex--; + modifiedIndex--; + } + reversePoints[diagonal] = originalIndex; + if (deltaIsEven && Math.abs(diagonal - diagonalForwardBase) <= numDifferences) { + if (originalIndex <= forwardPoints[diagonal]) { + midOriginalArr[0] = originalIndex; + midModifiedArr[0] = modifiedIndex; + if (tempOriginalIndex >= forwardPoints[diagonal] && 1447 > 0 && numDifferences <= 1447 + 1) { + return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr); + } else { + return null; + } + } + } + } + if (numDifferences <= 1447) { + let temp = new Int32Array(diagonalForwardEnd - diagonalForwardStart + 2); + temp[0] = diagonalForwardBase - diagonalForwardStart + 1; + MyArray.Copy2(forwardPoints, diagonalForwardStart, temp, 1, diagonalForwardEnd - diagonalForwardStart + 1); + this.m_forwardHistory.push(temp); + temp = new Int32Array(diagonalReverseEnd - diagonalReverseStart + 2); + temp[0] = diagonalReverseBase - diagonalReverseStart + 1; + MyArray.Copy2(reversePoints, diagonalReverseStart, temp, 1, diagonalReverseEnd - diagonalReverseStart + 1); + this.m_reverseHistory.push(temp); + } + } + return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr); + } + /** + * Shifts the given changes to provide a more intuitive diff. + * While the first element in a diff matches the first element after the diff, + * we shift the diff down. + * + * @param changes The list of changes to shift + * @returns The shifted changes + */ + PrettifyChanges(changes) { + for (let i = 0; i < changes.length; i++) { + const change = changes[i]; + const originalStop = i < changes.length - 1 ? changes[i + 1].originalStart : this._originalElementsOrHash.length; + const modifiedStop = i < changes.length - 1 ? changes[i + 1].modifiedStart : this._modifiedElementsOrHash.length; + const checkOriginal = change.originalLength > 0; + const checkModified = change.modifiedLength > 0; + while (change.originalStart + change.originalLength < originalStop && change.modifiedStart + change.modifiedLength < modifiedStop && (!checkOriginal || this.OriginalElementsAreEqual(change.originalStart, change.originalStart + change.originalLength)) && (!checkModified || this.ModifiedElementsAreEqual(change.modifiedStart, change.modifiedStart + change.modifiedLength))) { + const startStrictEqual = this.ElementsAreStrictEqual(change.originalStart, change.modifiedStart); + const endStrictEqual = this.ElementsAreStrictEqual(change.originalStart + change.originalLength, change.modifiedStart + change.modifiedLength); + if (endStrictEqual && !startStrictEqual) { + break; + } + change.originalStart++; + change.modifiedStart++; + } + const mergedChangeArr = [null]; + if (i < changes.length - 1 && this.ChangesOverlap(changes[i], changes[i + 1], mergedChangeArr)) { + changes[i] = mergedChangeArr[0]; + changes.splice(i + 1, 1); + i--; + continue; + } + } + for (let i = changes.length - 1; i >= 0; i--) { + const change = changes[i]; + let originalStop = 0; + let modifiedStop = 0; + if (i > 0) { + const prevChange = changes[i - 1]; + originalStop = prevChange.originalStart + prevChange.originalLength; + modifiedStop = prevChange.modifiedStart + prevChange.modifiedLength; + } + const checkOriginal = change.originalLength > 0; + const checkModified = change.modifiedLength > 0; + let bestDelta = 0; + let bestScore = this._boundaryScore(change.originalStart, change.originalLength, change.modifiedStart, change.modifiedLength); + for (let delta = 1; ; delta++) { + const originalStart = change.originalStart - delta; + const modifiedStart = change.modifiedStart - delta; + if (originalStart < originalStop || modifiedStart < modifiedStop) { + break; + } + if (checkOriginal && !this.OriginalElementsAreEqual(originalStart, originalStart + change.originalLength)) { + break; + } + if (checkModified && !this.ModifiedElementsAreEqual(modifiedStart, modifiedStart + change.modifiedLength)) { + break; + } + const touchingPreviousChange = originalStart === originalStop && modifiedStart === modifiedStop; + const score2 = (touchingPreviousChange ? 5 : 0) + this._boundaryScore(originalStart, change.originalLength, modifiedStart, change.modifiedLength); + if (score2 > bestScore) { + bestScore = score2; + bestDelta = delta; + } + } + change.originalStart -= bestDelta; + change.modifiedStart -= bestDelta; + const mergedChangeArr = [null]; + if (i > 0 && this.ChangesOverlap(changes[i - 1], changes[i], mergedChangeArr)) { + changes[i - 1] = mergedChangeArr[0]; + changes.splice(i, 1); + i++; + continue; + } + } + if (this._hasStrings) { + for (let i = 1, len = changes.length; i < len; i++) { + const aChange = changes[i - 1]; + const bChange = changes[i]; + const matchedLength = bChange.originalStart - aChange.originalStart - aChange.originalLength; + const aOriginalStart = aChange.originalStart; + const bOriginalEnd = bChange.originalStart + bChange.originalLength; + const abOriginalLength = bOriginalEnd - aOriginalStart; + const aModifiedStart = aChange.modifiedStart; + const bModifiedEnd = bChange.modifiedStart + bChange.modifiedLength; + const abModifiedLength = bModifiedEnd - aModifiedStart; + if (matchedLength < 5 && abOriginalLength < 20 && abModifiedLength < 20) { + const t = this._findBetterContiguousSequence(aOriginalStart, abOriginalLength, aModifiedStart, abModifiedLength, matchedLength); + if (t) { + const [originalMatchStart, modifiedMatchStart] = t; + if (originalMatchStart !== aChange.originalStart + aChange.originalLength || modifiedMatchStart !== aChange.modifiedStart + aChange.modifiedLength) { + aChange.originalLength = originalMatchStart - aChange.originalStart; + aChange.modifiedLength = modifiedMatchStart - aChange.modifiedStart; + bChange.originalStart = originalMatchStart + matchedLength; + bChange.modifiedStart = modifiedMatchStart + matchedLength; + bChange.originalLength = bOriginalEnd - bChange.originalStart; + bChange.modifiedLength = bModifiedEnd - bChange.modifiedStart; + } + } + } + } + } + return changes; + } + _findBetterContiguousSequence(originalStart, originalLength, modifiedStart, modifiedLength, desiredLength) { + if (originalLength < desiredLength || modifiedLength < desiredLength) { + return null; + } + const originalMax = originalStart + originalLength - desiredLength + 1; + const modifiedMax = modifiedStart + modifiedLength - desiredLength + 1; + let bestScore = 0; + let bestOriginalStart = 0; + let bestModifiedStart = 0; + for (let i = originalStart; i < originalMax; i++) { + for (let j = modifiedStart; j < modifiedMax; j++) { + const score2 = this._contiguousSequenceScore(i, j, desiredLength); + if (score2 > 0 && score2 > bestScore) { + bestScore = score2; + bestOriginalStart = i; + bestModifiedStart = j; + } + } + } + if (bestScore > 0) { + return [bestOriginalStart, bestModifiedStart]; + } + return null; + } + _contiguousSequenceScore(originalStart, modifiedStart, length) { + let score2 = 0; + for (let l = 0; l < length; l++) { + if (!this.ElementsAreEqual(originalStart + l, modifiedStart + l)) { + return 0; + } + score2 += this._originalStringElements[originalStart + l].length; + } + return score2; + } + _OriginalIsBoundary(index) { + if (index <= 0 || index >= this._originalElementsOrHash.length - 1) { + return true; + } + return this._hasStrings && /^\s*$/.test(this._originalStringElements[index]); + } + _OriginalRegionIsBoundary(originalStart, originalLength) { + if (this._OriginalIsBoundary(originalStart) || this._OriginalIsBoundary(originalStart - 1)) { + return true; + } + if (originalLength > 0) { + const originalEnd = originalStart + originalLength; + if (this._OriginalIsBoundary(originalEnd - 1) || this._OriginalIsBoundary(originalEnd)) { + return true; + } + } + return false; + } + _ModifiedIsBoundary(index) { + if (index <= 0 || index >= this._modifiedElementsOrHash.length - 1) { + return true; + } + return this._hasStrings && /^\s*$/.test(this._modifiedStringElements[index]); + } + _ModifiedRegionIsBoundary(modifiedStart, modifiedLength) { + if (this._ModifiedIsBoundary(modifiedStart) || this._ModifiedIsBoundary(modifiedStart - 1)) { + return true; + } + if (modifiedLength > 0) { + const modifiedEnd = modifiedStart + modifiedLength; + if (this._ModifiedIsBoundary(modifiedEnd - 1) || this._ModifiedIsBoundary(modifiedEnd)) { + return true; + } + } + return false; + } + _boundaryScore(originalStart, originalLength, modifiedStart, modifiedLength) { + const originalScore = this._OriginalRegionIsBoundary(originalStart, originalLength) ? 1 : 0; + const modifiedScore = this._ModifiedRegionIsBoundary(modifiedStart, modifiedLength) ? 1 : 0; + return originalScore + modifiedScore; + } + /** + * Concatenates the two input DiffChange lists and returns the resulting + * list. + * @param The left changes + * @param The right changes + * @returns The concatenated list + */ + ConcatenateChanges(left, right) { + const mergedChangeArr = []; + if (left.length === 0 || right.length === 0) { + return right.length > 0 ? right : left; + } else if (this.ChangesOverlap(left[left.length - 1], right[0], mergedChangeArr)) { + const result = new Array(left.length + right.length - 1); + MyArray.Copy(left, 0, result, 0, left.length - 1); + result[left.length - 1] = mergedChangeArr[0]; + MyArray.Copy(right, 1, result, left.length, right.length - 1); + return result; + } else { + const result = new Array(left.length + right.length); + MyArray.Copy(left, 0, result, 0, left.length); + MyArray.Copy(right, 0, result, left.length, right.length); + return result; + } + } + /** + * Returns true if the two changes overlap and can be merged into a single + * change + * @param left The left change + * @param right The right change + * @param mergedChange The merged change if the two overlap, null otherwise + * @returns True if the two changes overlap + */ + ChangesOverlap(left, right, mergedChangeArr) { + Debug.Assert(left.originalStart <= right.originalStart, "Left change is not less than or equal to right change"); + Debug.Assert(left.modifiedStart <= right.modifiedStart, "Left change is not less than or equal to right change"); + if (left.originalStart + left.originalLength >= right.originalStart || left.modifiedStart + left.modifiedLength >= right.modifiedStart) { + const originalStart = left.originalStart; + let originalLength = left.originalLength; + const modifiedStart = left.modifiedStart; + let modifiedLength = left.modifiedLength; + if (left.originalStart + left.originalLength >= right.originalStart) { + originalLength = right.originalStart + right.originalLength - left.originalStart; + } + if (left.modifiedStart + left.modifiedLength >= right.modifiedStart) { + modifiedLength = right.modifiedStart + right.modifiedLength - left.modifiedStart; + } + mergedChangeArr[0] = new DiffChange(originalStart, originalLength, modifiedStart, modifiedLength); + return true; + } else { + mergedChangeArr[0] = null; + return false; + } + } + /** + * Helper method used to clip a diagonal index to the range of valid + * diagonals. This also decides whether or not the diagonal index, + * if it exceeds the boundary, should be clipped to the boundary or clipped + * one inside the boundary depending on the Even/Odd status of the boundary + * and numDifferences. + * @param diagonal The index of the diagonal to clip. + * @param numDifferences The current number of differences being iterated upon. + * @param diagonalBaseIndex The base reference diagonal. + * @param numDiagonals The total number of diagonals. + * @returns The clipped diagonal index. + */ + ClipDiagonalBound(diagonal, numDifferences, diagonalBaseIndex, numDiagonals) { + if (diagonal >= 0 && diagonal < numDiagonals) { + return diagonal; + } + const diagonalsBelow = diagonalBaseIndex; + const diagonalsAbove = numDiagonals - diagonalBaseIndex - 1; + const diffEven = numDifferences % 2 === 0; + if (diagonal < 0) { + const lowerBoundEven = diagonalsBelow % 2 === 0; + return diffEven === lowerBoundEven ? 0 : 1; + } else { + const upperBoundEven = diagonalsAbove % 2 === 0; + return diffEven === upperBoundEven ? numDiagonals - 1 : numDiagonals - 2; + } + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/core/position.js + var Position = class _Position { + constructor(lineNumber, column) { + this.lineNumber = lineNumber; + this.column = column; + } + /** + * Create a new position from this position. + * + * @param newLineNumber new line number + * @param newColumn new column + */ + with(newLineNumber = this.lineNumber, newColumn = this.column) { + if (newLineNumber === this.lineNumber && newColumn === this.column) { + return this; + } else { + return new _Position(newLineNumber, newColumn); + } + } + /** + * Derive a new position from this position. + * + * @param deltaLineNumber line number delta + * @param deltaColumn column delta + */ + delta(deltaLineNumber = 0, deltaColumn = 0) { + return this.with(this.lineNumber + deltaLineNumber, this.column + deltaColumn); + } + /** + * Test if this position equals other position + */ + equals(other) { + return _Position.equals(this, other); + } + /** + * Test if position `a` equals position `b` + */ + static equals(a, b) { + if (!a && !b) { + return true; + } + return !!a && !!b && a.lineNumber === b.lineNumber && a.column === b.column; + } + /** + * Test if this position is before other position. + * If the two positions are equal, the result will be false. + */ + isBefore(other) { + return _Position.isBefore(this, other); + } + /** + * Test if position `a` is before position `b`. + * If the two positions are equal, the result will be false. + */ + static isBefore(a, b) { + if (a.lineNumber < b.lineNumber) { + return true; + } + if (b.lineNumber < a.lineNumber) { + return false; + } + return a.column < b.column; + } + /** + * Test if this position is before other position. + * If the two positions are equal, the result will be true. + */ + isBeforeOrEqual(other) { + return _Position.isBeforeOrEqual(this, other); + } + /** + * Test if position `a` is before position `b`. + * If the two positions are equal, the result will be true. + */ + static isBeforeOrEqual(a, b) { + if (a.lineNumber < b.lineNumber) { + return true; + } + if (b.lineNumber < a.lineNumber) { + return false; + } + return a.column <= b.column; + } + /** + * A function that compares positions, useful for sorting + */ + static compare(a, b) { + const aLineNumber = a.lineNumber | 0; + const bLineNumber = b.lineNumber | 0; + if (aLineNumber === bLineNumber) { + const aColumn = a.column | 0; + const bColumn = b.column | 0; + return aColumn - bColumn; + } + return aLineNumber - bLineNumber; + } + /** + * Clone this position. + */ + clone() { + return new _Position(this.lineNumber, this.column); + } + /** + * Convert to a human-readable representation. + */ + toString() { + return "(" + this.lineNumber + "," + this.column + ")"; + } + // --- + /** + * Create a `Position` from an `IPosition`. + */ + static lift(pos) { + return new _Position(pos.lineNumber, pos.column); + } + /** + * Test if `obj` is an `IPosition`. + */ + static isIPosition(obj) { + return obj && typeof obj.lineNumber === "number" && typeof obj.column === "number"; + } + toJSON() { + return { + lineNumber: this.lineNumber, + column: this.column + }; + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/core/range.js + var Range = class _Range { + constructor(startLineNumber, startColumn, endLineNumber, endColumn) { + if (startLineNumber > endLineNumber || startLineNumber === endLineNumber && startColumn > endColumn) { + this.startLineNumber = endLineNumber; + this.startColumn = endColumn; + this.endLineNumber = startLineNumber; + this.endColumn = startColumn; + } else { + this.startLineNumber = startLineNumber; + this.startColumn = startColumn; + this.endLineNumber = endLineNumber; + this.endColumn = endColumn; + } + } + /** + * Test if this range is empty. + */ + isEmpty() { + return _Range.isEmpty(this); + } + /** + * Test if `range` is empty. + */ + static isEmpty(range) { + return range.startLineNumber === range.endLineNumber && range.startColumn === range.endColumn; + } + /** + * Test if position is in this range. If the position is at the edges, will return true. + */ + containsPosition(position) { + return _Range.containsPosition(this, position); + } + /** + * Test if `position` is in `range`. If the position is at the edges, will return true. + */ + static containsPosition(range, position) { + if (position.lineNumber < range.startLineNumber || position.lineNumber > range.endLineNumber) { + return false; + } + if (position.lineNumber === range.startLineNumber && position.column < range.startColumn) { + return false; + } + if (position.lineNumber === range.endLineNumber && position.column > range.endColumn) { + return false; + } + return true; + } + /** + * Test if `position` is in `range`. If the position is at the edges, will return false. + * @internal + */ + static strictContainsPosition(range, position) { + if (position.lineNumber < range.startLineNumber || position.lineNumber > range.endLineNumber) { + return false; + } + if (position.lineNumber === range.startLineNumber && position.column <= range.startColumn) { + return false; + } + if (position.lineNumber === range.endLineNumber && position.column >= range.endColumn) { + return false; + } + return true; + } + /** + * Test if range is in this range. If the range is equal to this range, will return true. + */ + containsRange(range) { + return _Range.containsRange(this, range); + } + /** + * Test if `otherRange` is in `range`. If the ranges are equal, will return true. + */ + static containsRange(range, otherRange) { + if (otherRange.startLineNumber < range.startLineNumber || otherRange.endLineNumber < range.startLineNumber) { + return false; + } + if (otherRange.startLineNumber > range.endLineNumber || otherRange.endLineNumber > range.endLineNumber) { + return false; + } + if (otherRange.startLineNumber === range.startLineNumber && otherRange.startColumn < range.startColumn) { + return false; + } + if (otherRange.endLineNumber === range.endLineNumber && otherRange.endColumn > range.endColumn) { + return false; + } + return true; + } + /** + * Test if `range` is strictly in this range. `range` must start after and end before this range for the result to be true. + */ + strictContainsRange(range) { + return _Range.strictContainsRange(this, range); + } + /** + * Test if `otherRange` is strictly in `range` (must start after, and end before). If the ranges are equal, will return false. + */ + static strictContainsRange(range, otherRange) { + if (otherRange.startLineNumber < range.startLineNumber || otherRange.endLineNumber < range.startLineNumber) { + return false; + } + if (otherRange.startLineNumber > range.endLineNumber || otherRange.endLineNumber > range.endLineNumber) { + return false; + } + if (otherRange.startLineNumber === range.startLineNumber && otherRange.startColumn <= range.startColumn) { + return false; + } + if (otherRange.endLineNumber === range.endLineNumber && otherRange.endColumn >= range.endColumn) { + return false; + } + return true; + } + /** + * A reunion of the two ranges. + * The smallest position will be used as the start point, and the largest one as the end point. + */ + plusRange(range) { + return _Range.plusRange(this, range); + } + /** + * A reunion of the two ranges. + * The smallest position will be used as the start point, and the largest one as the end point. + */ + static plusRange(a, b) { + let startLineNumber; + let startColumn; + let endLineNumber; + let endColumn; + if (b.startLineNumber < a.startLineNumber) { + startLineNumber = b.startLineNumber; + startColumn = b.startColumn; + } else if (b.startLineNumber === a.startLineNumber) { + startLineNumber = b.startLineNumber; + startColumn = Math.min(b.startColumn, a.startColumn); + } else { + startLineNumber = a.startLineNumber; + startColumn = a.startColumn; + } + if (b.endLineNumber > a.endLineNumber) { + endLineNumber = b.endLineNumber; + endColumn = b.endColumn; + } else if (b.endLineNumber === a.endLineNumber) { + endLineNumber = b.endLineNumber; + endColumn = Math.max(b.endColumn, a.endColumn); + } else { + endLineNumber = a.endLineNumber; + endColumn = a.endColumn; + } + return new _Range(startLineNumber, startColumn, endLineNumber, endColumn); + } + /** + * A intersection of the two ranges. + */ + intersectRanges(range) { + return _Range.intersectRanges(this, range); + } + /** + * A intersection of the two ranges. + */ + static intersectRanges(a, b) { + let resultStartLineNumber = a.startLineNumber; + let resultStartColumn = a.startColumn; + let resultEndLineNumber = a.endLineNumber; + let resultEndColumn = a.endColumn; + const otherStartLineNumber = b.startLineNumber; + const otherStartColumn = b.startColumn; + const otherEndLineNumber = b.endLineNumber; + const otherEndColumn = b.endColumn; + if (resultStartLineNumber < otherStartLineNumber) { + resultStartLineNumber = otherStartLineNumber; + resultStartColumn = otherStartColumn; + } else if (resultStartLineNumber === otherStartLineNumber) { + resultStartColumn = Math.max(resultStartColumn, otherStartColumn); + } + if (resultEndLineNumber > otherEndLineNumber) { + resultEndLineNumber = otherEndLineNumber; + resultEndColumn = otherEndColumn; + } else if (resultEndLineNumber === otherEndLineNumber) { + resultEndColumn = Math.min(resultEndColumn, otherEndColumn); + } + if (resultStartLineNumber > resultEndLineNumber) { + return null; + } + if (resultStartLineNumber === resultEndLineNumber && resultStartColumn > resultEndColumn) { + return null; + } + return new _Range(resultStartLineNumber, resultStartColumn, resultEndLineNumber, resultEndColumn); + } + /** + * Test if this range equals other. + */ + equalsRange(other) { + return _Range.equalsRange(this, other); + } + /** + * Test if range `a` equals `b`. + */ + static equalsRange(a, b) { + if (!a && !b) { + return true; + } + return !!a && !!b && a.startLineNumber === b.startLineNumber && a.startColumn === b.startColumn && a.endLineNumber === b.endLineNumber && a.endColumn === b.endColumn; + } + /** + * Return the end position (which will be after or equal to the start position) + */ + getEndPosition() { + return _Range.getEndPosition(this); + } + /** + * Return the end position (which will be after or equal to the start position) + */ + static getEndPosition(range) { + return new Position(range.endLineNumber, range.endColumn); + } + /** + * Return the start position (which will be before or equal to the end position) + */ + getStartPosition() { + return _Range.getStartPosition(this); + } + /** + * Return the start position (which will be before or equal to the end position) + */ + static getStartPosition(range) { + return new Position(range.startLineNumber, range.startColumn); + } + /** + * Transform to a user presentable string representation. + */ + toString() { + return "[" + this.startLineNumber + "," + this.startColumn + " -> " + this.endLineNumber + "," + this.endColumn + "]"; + } + /** + * Create a new range using this range's start position, and using endLineNumber and endColumn as the end position. + */ + setEndPosition(endLineNumber, endColumn) { + return new _Range(this.startLineNumber, this.startColumn, endLineNumber, endColumn); + } + /** + * Create a new range using this range's end position, and using startLineNumber and startColumn as the start position. + */ + setStartPosition(startLineNumber, startColumn) { + return new _Range(startLineNumber, startColumn, this.endLineNumber, this.endColumn); + } + /** + * Create a new empty range using this range's start position. + */ + collapseToStart() { + return _Range.collapseToStart(this); + } + /** + * Create a new empty range using this range's start position. + */ + static collapseToStart(range) { + return new _Range(range.startLineNumber, range.startColumn, range.startLineNumber, range.startColumn); + } + /** + * Create a new empty range using this range's end position. + */ + collapseToEnd() { + return _Range.collapseToEnd(this); + } + /** + * Create a new empty range using this range's end position. + */ + static collapseToEnd(range) { + return new _Range(range.endLineNumber, range.endColumn, range.endLineNumber, range.endColumn); + } + /** + * Moves the range by the given amount of lines. + */ + delta(lineCount) { + return new _Range(this.startLineNumber + lineCount, this.startColumn, this.endLineNumber + lineCount, this.endColumn); + } + // --- + static fromPositions(start, end = start) { + return new _Range(start.lineNumber, start.column, end.lineNumber, end.column); + } + static lift(range) { + if (!range) { + return null; + } + return new _Range(range.startLineNumber, range.startColumn, range.endLineNumber, range.endColumn); + } + /** + * Test if `obj` is an `IRange`. + */ + static isIRange(obj) { + return obj && typeof obj.startLineNumber === "number" && typeof obj.startColumn === "number" && typeof obj.endLineNumber === "number" && typeof obj.endColumn === "number"; + } + /** + * Test if the two ranges are touching in any way. + */ + static areIntersectingOrTouching(a, b) { + if (a.endLineNumber < b.startLineNumber || a.endLineNumber === b.startLineNumber && a.endColumn < b.startColumn) { + return false; + } + if (b.endLineNumber < a.startLineNumber || b.endLineNumber === a.startLineNumber && b.endColumn < a.startColumn) { + return false; + } + return true; + } + /** + * Test if the two ranges are intersecting. If the ranges are touching it returns true. + */ + static areIntersecting(a, b) { + if (a.endLineNumber < b.startLineNumber || a.endLineNumber === b.startLineNumber && a.endColumn <= b.startColumn) { + return false; + } + if (b.endLineNumber < a.startLineNumber || b.endLineNumber === a.startLineNumber && b.endColumn <= a.startColumn) { + return false; + } + return true; + } + /** + * A function that compares ranges, useful for sorting ranges + * It will first compare ranges on the startPosition and then on the endPosition + */ + static compareRangesUsingStarts(a, b) { + if (a && b) { + const aStartLineNumber = a.startLineNumber | 0; + const bStartLineNumber = b.startLineNumber | 0; + if (aStartLineNumber === bStartLineNumber) { + const aStartColumn = a.startColumn | 0; + const bStartColumn = b.startColumn | 0; + if (aStartColumn === bStartColumn) { + const aEndLineNumber = a.endLineNumber | 0; + const bEndLineNumber = b.endLineNumber | 0; + if (aEndLineNumber === bEndLineNumber) { + const aEndColumn = a.endColumn | 0; + const bEndColumn = b.endColumn | 0; + return aEndColumn - bEndColumn; + } + return aEndLineNumber - bEndLineNumber; + } + return aStartColumn - bStartColumn; + } + return aStartLineNumber - bStartLineNumber; + } + const aExists = a ? 1 : 0; + const bExists = b ? 1 : 0; + return aExists - bExists; + } + /** + * A function that compares ranges, useful for sorting ranges + * It will first compare ranges on the endPosition and then on the startPosition + */ + static compareRangesUsingEnds(a, b) { + if (a.endLineNumber === b.endLineNumber) { + if (a.endColumn === b.endColumn) { + if (a.startLineNumber === b.startLineNumber) { + return a.startColumn - b.startColumn; + } + return a.startLineNumber - b.startLineNumber; + } + return a.endColumn - b.endColumn; + } + return a.endLineNumber - b.endLineNumber; + } + /** + * Test if the range spans multiple lines. + */ + static spansMultipleLines(range) { + return range.endLineNumber > range.startLineNumber; + } + toJSON() { + return this; + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/uint.js + function toUint8(v) { + if (v < 0) { + return 0; + } + if (v > 255) { + return 255; + } + return v | 0; + } + function toUint32(v) { + if (v < 0) { + return 0; + } + if (v > 4294967295) { + return 4294967295; + } + return v | 0; + } + + // node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.js + var CharacterClassifier = class _CharacterClassifier { + constructor(_defaultValue) { + const defaultValue = toUint8(_defaultValue); + this._defaultValue = defaultValue; + this._asciiMap = _CharacterClassifier._createAsciiMap(defaultValue); + this._map = /* @__PURE__ */ new Map(); + } + static _createAsciiMap(defaultValue) { + const asciiMap = new Uint8Array(256); + asciiMap.fill(defaultValue); + return asciiMap; + } + set(charCode, _value) { + const value = toUint8(_value); + if (charCode >= 0 && charCode < 256) { + this._asciiMap[charCode] = value; + } else { + this._map.set(charCode, value); + } + } + get(charCode) { + if (charCode >= 0 && charCode < 256) { + return this._asciiMap[charCode]; + } else { + return this._map.get(charCode) || this._defaultValue; + } + } + clear() { + this._asciiMap.fill(this._defaultValue); + this._map.clear(); + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/languages/linkComputer.js + var Uint8Matrix = class { + constructor(rows, cols, defaultValue) { + const data = new Uint8Array(rows * cols); + for (let i = 0, len = rows * cols; i < len; i++) { + data[i] = defaultValue; + } + this._data = data; + this.rows = rows; + this.cols = cols; + } + get(row, col) { + return this._data[row * this.cols + col]; + } + set(row, col, value) { + this._data[row * this.cols + col] = value; + } + }; + var StateMachine = class { + constructor(edges) { + let maxCharCode = 0; + let maxState = 0; + for (let i = 0, len = edges.length; i < len; i++) { + const [from, chCode, to] = edges[i]; + if (chCode > maxCharCode) { + maxCharCode = chCode; + } + if (from > maxState) { + maxState = from; + } + if (to > maxState) { + maxState = to; + } + } + maxCharCode++; + maxState++; + const states = new Uint8Matrix( + maxState, + maxCharCode, + 0 + /* State.Invalid */ + ); + for (let i = 0, len = edges.length; i < len; i++) { + const [from, chCode, to] = edges[i]; + states.set(from, chCode, to); + } + this._states = states; + this._maxCharCode = maxCharCode; + } + nextState(currentState, chCode) { + if (chCode < 0 || chCode >= this._maxCharCode) { + return 0; + } + return this._states.get(currentState, chCode); + } + }; + var _stateMachine = null; + function getStateMachine() { + if (_stateMachine === null) { + _stateMachine = new StateMachine([ + [ + 1, + 104, + 2 + /* State.H */ + ], + [ + 1, + 72, + 2 + /* State.H */ + ], + [ + 1, + 102, + 6 + /* State.F */ + ], + [ + 1, + 70, + 6 + /* State.F */ + ], + [ + 2, + 116, + 3 + /* State.HT */ + ], + [ + 2, + 84, + 3 + /* State.HT */ + ], + [ + 3, + 116, + 4 + /* State.HTT */ + ], + [ + 3, + 84, + 4 + /* State.HTT */ + ], + [ + 4, + 112, + 5 + /* State.HTTP */ + ], + [ + 4, + 80, + 5 + /* State.HTTP */ + ], + [ + 5, + 115, + 9 + /* State.BeforeColon */ + ], + [ + 5, + 83, + 9 + /* State.BeforeColon */ + ], + [ + 5, + 58, + 10 + /* State.AfterColon */ + ], + [ + 6, + 105, + 7 + /* State.FI */ + ], + [ + 6, + 73, + 7 + /* State.FI */ + ], + [ + 7, + 108, + 8 + /* State.FIL */ + ], + [ + 7, + 76, + 8 + /* State.FIL */ + ], + [ + 8, + 101, + 9 + /* State.BeforeColon */ + ], + [ + 8, + 69, + 9 + /* State.BeforeColon */ + ], + [ + 9, + 58, + 10 + /* State.AfterColon */ + ], + [ + 10, + 47, + 11 + /* State.AlmostThere */ + ], + [ + 11, + 47, + 12 + /* State.End */ + ] + ]); + } + return _stateMachine; + } + var _classifier = null; + function getClassifier() { + if (_classifier === null) { + _classifier = new CharacterClassifier( + 0 + /* CharacterClass.None */ + ); + const FORCE_TERMINATION_CHARACTERS = ` <>'"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\u2018\u3008\u300C\u300E\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u300F\u300D\u3009\u2019\uFF40\uFF5E\u2026`; + for (let i = 0; i < FORCE_TERMINATION_CHARACTERS.length; i++) { + _classifier.set( + FORCE_TERMINATION_CHARACTERS.charCodeAt(i), + 1 + /* CharacterClass.ForceTermination */ + ); + } + const CANNOT_END_WITH_CHARACTERS = ".,;:"; + for (let i = 0; i < CANNOT_END_WITH_CHARACTERS.length; i++) { + _classifier.set( + CANNOT_END_WITH_CHARACTERS.charCodeAt(i), + 2 + /* CharacterClass.CannotEndIn */ + ); + } + } + return _classifier; + } + var LinkComputer = class _LinkComputer { + static _createLink(classifier, line, lineNumber, linkBeginIndex, linkEndIndex) { + let lastIncludedCharIndex = linkEndIndex - 1; + do { + const chCode = line.charCodeAt(lastIncludedCharIndex); + const chClass = classifier.get(chCode); + if (chClass !== 2) { + break; + } + lastIncludedCharIndex--; + } while (lastIncludedCharIndex > linkBeginIndex); + if (linkBeginIndex > 0) { + const charCodeBeforeLink = line.charCodeAt(linkBeginIndex - 1); + const lastCharCodeInLink = line.charCodeAt(lastIncludedCharIndex); + if (charCodeBeforeLink === 40 && lastCharCodeInLink === 41 || charCodeBeforeLink === 91 && lastCharCodeInLink === 93 || charCodeBeforeLink === 123 && lastCharCodeInLink === 125) { + lastIncludedCharIndex--; + } + } + return { + range: { + startLineNumber: lineNumber, + startColumn: linkBeginIndex + 1, + endLineNumber: lineNumber, + endColumn: lastIncludedCharIndex + 2 + }, + url: line.substring(linkBeginIndex, lastIncludedCharIndex + 1) + }; + } + static computeLinks(model, stateMachine = getStateMachine()) { + const classifier = getClassifier(); + const result = []; + for (let i = 1, lineCount = model.getLineCount(); i <= lineCount; i++) { + const line = model.getLineContent(i); + const len = line.length; + let j = 0; + let linkBeginIndex = 0; + let linkBeginChCode = 0; + let state = 1; + let hasOpenParens = false; + let hasOpenSquareBracket = false; + let inSquareBrackets = false; + let hasOpenCurlyBracket = false; + while (j < len) { + let resetStateMachine = false; + const chCode = line.charCodeAt(j); + if (state === 13) { + let chClass; + switch (chCode) { + case 40: + hasOpenParens = true; + chClass = 0; + break; + case 41: + chClass = hasOpenParens ? 0 : 1; + break; + case 91: + inSquareBrackets = true; + hasOpenSquareBracket = true; + chClass = 0; + break; + case 93: + inSquareBrackets = false; + chClass = hasOpenSquareBracket ? 0 : 1; + break; + case 123: + hasOpenCurlyBracket = true; + chClass = 0; + break; + case 125: + chClass = hasOpenCurlyBracket ? 0 : 1; + break; + case 39: + case 34: + case 96: + if (linkBeginChCode === chCode) { + chClass = 1; + } else if (linkBeginChCode === 39 || linkBeginChCode === 34 || linkBeginChCode === 96) { + chClass = 0; + } else { + chClass = 1; + } + break; + case 42: + chClass = linkBeginChCode === 42 ? 1 : 0; + break; + case 124: + chClass = linkBeginChCode === 124 ? 1 : 0; + break; + case 32: + chClass = inSquareBrackets ? 0 : 1; + break; + default: + chClass = classifier.get(chCode); + } + if (chClass === 1) { + result.push(_LinkComputer._createLink(classifier, line, i, linkBeginIndex, j)); + resetStateMachine = true; + } + } else if (state === 12) { + let chClass; + if (chCode === 91) { + hasOpenSquareBracket = true; + chClass = 0; + } else { + chClass = classifier.get(chCode); + } + if (chClass === 1) { + resetStateMachine = true; + } else { + state = 13; + } + } else { + state = stateMachine.nextState(state, chCode); + if (state === 0) { + resetStateMachine = true; + } + } + if (resetStateMachine) { + state = 1; + hasOpenParens = false; + hasOpenSquareBracket = false; + hasOpenCurlyBracket = false; + linkBeginIndex = j + 1; + linkBeginChCode = chCode; + } + j++; + } + if (state === 13) { + result.push(_LinkComputer._createLink(classifier, line, i, linkBeginIndex, len)); + } + } + return result; + } + }; + function computeLinks(model) { + if (!model || typeof model.getLineCount !== "function" || typeof model.getLineContent !== "function") { + return []; + } + return LinkComputer.computeLinks(model); + } + + // node_modules/monaco-editor/esm/vs/editor/common/languages/supports/inplaceReplaceSupport.js + var BasicInplaceReplace = class _BasicInplaceReplace { + constructor() { + this._defaultValueSet = [ + ["true", "false"], + ["True", "False"], + ["Private", "Public", "Friend", "ReadOnly", "Partial", "Protected", "WriteOnly"], + ["public", "protected", "private"] + ]; + } + static { + this.INSTANCE = new _BasicInplaceReplace(); + } + navigateValueSet(range1, text1, range2, text2, up) { + if (range1 && text1) { + const result = this.doNavigateValueSet(text1, up); + if (result) { + return { + range: range1, + value: result + }; + } + } + if (range2 && text2) { + const result = this.doNavigateValueSet(text2, up); + if (result) { + return { + range: range2, + value: result + }; + } + } + return null; + } + doNavigateValueSet(text, up) { + const numberResult = this.numberReplace(text, up); + if (numberResult !== null) { + return numberResult; + } + return this.textReplace(text, up); + } + numberReplace(value, up) { + const precision = Math.pow(10, value.length - (value.lastIndexOf(".") + 1)); + let n1 = Number(value); + const n2 = parseFloat(value); + if (!isNaN(n1) && !isNaN(n2) && n1 === n2) { + if (n1 === 0 && !up) { + return null; + } else { + n1 = Math.floor(n1 * precision); + n1 += up ? precision : -precision; + return String(n1 / precision); + } + } + return null; + } + textReplace(value, up) { + return this.valueSetsReplace(this._defaultValueSet, value, up); + } + valueSetsReplace(valueSets, value, up) { + let result = null; + for (let i = 0, len = valueSets.length; result === null && i < len; i++) { + result = this.valueSetReplace(valueSets[i], value, up); + } + return result; + } + valueSetReplace(valueSet, value, up) { + let idx = valueSet.indexOf(value); + if (idx >= 0) { + idx += up ? 1 : -1; + if (idx < 0) { + idx = valueSet.length - 1; + } else { + idx %= valueSet.length; + } + return valueSet[idx]; + } + return null; + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/cancellation.js + var shortcutEvent = Object.freeze(function(callback, context) { + const handle = setTimeout(callback.bind(context), 0); + return { dispose() { + clearTimeout(handle); + } }; + }); + var CancellationToken; + (function(CancellationToken2) { + function isCancellationToken(thing) { + if (thing === CancellationToken2.None || thing === CancellationToken2.Cancelled) { + return true; + } + if (thing instanceof MutableToken) { + return true; + } + if (!thing || typeof thing !== "object") { + return false; + } + return typeof thing.isCancellationRequested === "boolean" && typeof thing.onCancellationRequested === "function"; + } + CancellationToken2.isCancellationToken = isCancellationToken; + CancellationToken2.None = Object.freeze({ + isCancellationRequested: false, + onCancellationRequested: Event.None + }); + CancellationToken2.Cancelled = Object.freeze({ + isCancellationRequested: true, + onCancellationRequested: shortcutEvent + }); + })(CancellationToken || (CancellationToken = {})); + var MutableToken = class { + constructor() { + this._isCancelled = false; + this._emitter = null; + } + cancel() { + if (!this._isCancelled) { + this._isCancelled = true; + if (this._emitter) { + this._emitter.fire(void 0); + this.dispose(); + } + } + } + get isCancellationRequested() { + return this._isCancelled; + } + get onCancellationRequested() { + if (this._isCancelled) { + return shortcutEvent; + } + if (!this._emitter) { + this._emitter = new Emitter(); + } + return this._emitter.event; + } + dispose() { + if (this._emitter) { + this._emitter.dispose(); + this._emitter = null; + } + } + }; + var CancellationTokenSource = class { + constructor(parent) { + this._token = void 0; + this._parentListener = void 0; + this._parentListener = parent && parent.onCancellationRequested(this.cancel, this); + } + get token() { + if (!this._token) { + this._token = new MutableToken(); + } + return this._token; + } + cancel() { + if (!this._token) { + this._token = CancellationToken.Cancelled; + } else if (this._token instanceof MutableToken) { + this._token.cancel(); + } + } + dispose(cancel = false) { + if (cancel) { + this.cancel(); + } + this._parentListener?.dispose(); + if (!this._token) { + this._token = CancellationToken.None; + } else if (this._token instanceof MutableToken) { + this._token.dispose(); + } + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/keyCodes.js + var KeyCodeStrMap = class { + constructor() { + this._keyCodeToStr = []; + this._strToKeyCode = /* @__PURE__ */ Object.create(null); + } + define(keyCode, str) { + this._keyCodeToStr[keyCode] = str; + this._strToKeyCode[str.toLowerCase()] = keyCode; + } + keyCodeToStr(keyCode) { + return this._keyCodeToStr[keyCode]; + } + strToKeyCode(str) { + return this._strToKeyCode[str.toLowerCase()] || 0; + } + }; + var uiMap = new KeyCodeStrMap(); + var userSettingsUSMap = new KeyCodeStrMap(); + var userSettingsGeneralMap = new KeyCodeStrMap(); + var EVENT_KEY_CODE_MAP = new Array(230); + var NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE = {}; + var scanCodeIntToStr = []; + var scanCodeStrToInt = /* @__PURE__ */ Object.create(null); + var scanCodeLowerCaseStrToInt = /* @__PURE__ */ Object.create(null); + var IMMUTABLE_CODE_TO_KEY_CODE = []; + var IMMUTABLE_KEY_CODE_TO_CODE = []; + for (let i = 0; i <= 193; i++) { + IMMUTABLE_CODE_TO_KEY_CODE[i] = -1; + } + for (let i = 0; i <= 132; i++) { + IMMUTABLE_KEY_CODE_TO_CODE[i] = -1; + } + (function() { + const empty = ""; + const mappings = [ + // immutable, scanCode, scanCodeStr, keyCode, keyCodeStr, eventKeyCode, vkey, usUserSettingsLabel, generalUserSettingsLabel + [1, 0, "None", 0, "unknown", 0, "VK_UNKNOWN", empty, empty], + [1, 1, "Hyper", 0, empty, 0, empty, empty, empty], + [1, 2, "Super", 0, empty, 0, empty, empty, empty], + [1, 3, "Fn", 0, empty, 0, empty, empty, empty], + [1, 4, "FnLock", 0, empty, 0, empty, empty, empty], + [1, 5, "Suspend", 0, empty, 0, empty, empty, empty], + [1, 6, "Resume", 0, empty, 0, empty, empty, empty], + [1, 7, "Turbo", 0, empty, 0, empty, empty, empty], + [1, 8, "Sleep", 0, empty, 0, "VK_SLEEP", empty, empty], + [1, 9, "WakeUp", 0, empty, 0, empty, empty, empty], + [0, 10, "KeyA", 31, "A", 65, "VK_A", empty, empty], + [0, 11, "KeyB", 32, "B", 66, "VK_B", empty, empty], + [0, 12, "KeyC", 33, "C", 67, "VK_C", empty, empty], + [0, 13, "KeyD", 34, "D", 68, "VK_D", empty, empty], + [0, 14, "KeyE", 35, "E", 69, "VK_E", empty, empty], + [0, 15, "KeyF", 36, "F", 70, "VK_F", empty, empty], + [0, 16, "KeyG", 37, "G", 71, "VK_G", empty, empty], + [0, 17, "KeyH", 38, "H", 72, "VK_H", empty, empty], + [0, 18, "KeyI", 39, "I", 73, "VK_I", empty, empty], + [0, 19, "KeyJ", 40, "J", 74, "VK_J", empty, empty], + [0, 20, "KeyK", 41, "K", 75, "VK_K", empty, empty], + [0, 21, "KeyL", 42, "L", 76, "VK_L", empty, empty], + [0, 22, "KeyM", 43, "M", 77, "VK_M", empty, empty], + [0, 23, "KeyN", 44, "N", 78, "VK_N", empty, empty], + [0, 24, "KeyO", 45, "O", 79, "VK_O", empty, empty], + [0, 25, "KeyP", 46, "P", 80, "VK_P", empty, empty], + [0, 26, "KeyQ", 47, "Q", 81, "VK_Q", empty, empty], + [0, 27, "KeyR", 48, "R", 82, "VK_R", empty, empty], + [0, 28, "KeyS", 49, "S", 83, "VK_S", empty, empty], + [0, 29, "KeyT", 50, "T", 84, "VK_T", empty, empty], + [0, 30, "KeyU", 51, "U", 85, "VK_U", empty, empty], + [0, 31, "KeyV", 52, "V", 86, "VK_V", empty, empty], + [0, 32, "KeyW", 53, "W", 87, "VK_W", empty, empty], + [0, 33, "KeyX", 54, "X", 88, "VK_X", empty, empty], + [0, 34, "KeyY", 55, "Y", 89, "VK_Y", empty, empty], + [0, 35, "KeyZ", 56, "Z", 90, "VK_Z", empty, empty], + [0, 36, "Digit1", 22, "1", 49, "VK_1", empty, empty], + [0, 37, "Digit2", 23, "2", 50, "VK_2", empty, empty], + [0, 38, "Digit3", 24, "3", 51, "VK_3", empty, empty], + [0, 39, "Digit4", 25, "4", 52, "VK_4", empty, empty], + [0, 40, "Digit5", 26, "5", 53, "VK_5", empty, empty], + [0, 41, "Digit6", 27, "6", 54, "VK_6", empty, empty], + [0, 42, "Digit7", 28, "7", 55, "VK_7", empty, empty], + [0, 43, "Digit8", 29, "8", 56, "VK_8", empty, empty], + [0, 44, "Digit9", 30, "9", 57, "VK_9", empty, empty], + [0, 45, "Digit0", 21, "0", 48, "VK_0", empty, empty], + [1, 46, "Enter", 3, "Enter", 13, "VK_RETURN", empty, empty], + [1, 47, "Escape", 9, "Escape", 27, "VK_ESCAPE", empty, empty], + [1, 48, "Backspace", 1, "Backspace", 8, "VK_BACK", empty, empty], + [1, 49, "Tab", 2, "Tab", 9, "VK_TAB", empty, empty], + [1, 50, "Space", 10, "Space", 32, "VK_SPACE", empty, empty], + [0, 51, "Minus", 88, "-", 189, "VK_OEM_MINUS", "-", "OEM_MINUS"], + [0, 52, "Equal", 86, "=", 187, "VK_OEM_PLUS", "=", "OEM_PLUS"], + [0, 53, "BracketLeft", 92, "[", 219, "VK_OEM_4", "[", "OEM_4"], + [0, 54, "BracketRight", 94, "]", 221, "VK_OEM_6", "]", "OEM_6"], + [0, 55, "Backslash", 93, "\\", 220, "VK_OEM_5", "\\", "OEM_5"], + [0, 56, "IntlHash", 0, empty, 0, empty, empty, empty], + // has been dropped from the w3c spec + [0, 57, "Semicolon", 85, ";", 186, "VK_OEM_1", ";", "OEM_1"], + [0, 58, "Quote", 95, "'", 222, "VK_OEM_7", "'", "OEM_7"], + [0, 59, "Backquote", 91, "`", 192, "VK_OEM_3", "`", "OEM_3"], + [0, 60, "Comma", 87, ",", 188, "VK_OEM_COMMA", ",", "OEM_COMMA"], + [0, 61, "Period", 89, ".", 190, "VK_OEM_PERIOD", ".", "OEM_PERIOD"], + [0, 62, "Slash", 90, "/", 191, "VK_OEM_2", "/", "OEM_2"], + [1, 63, "CapsLock", 8, "CapsLock", 20, "VK_CAPITAL", empty, empty], + [1, 64, "F1", 59, "F1", 112, "VK_F1", empty, empty], + [1, 65, "F2", 60, "F2", 113, "VK_F2", empty, empty], + [1, 66, "F3", 61, "F3", 114, "VK_F3", empty, empty], + [1, 67, "F4", 62, "F4", 115, "VK_F4", empty, empty], + [1, 68, "F5", 63, "F5", 116, "VK_F5", empty, empty], + [1, 69, "F6", 64, "F6", 117, "VK_F6", empty, empty], + [1, 70, "F7", 65, "F7", 118, "VK_F7", empty, empty], + [1, 71, "F8", 66, "F8", 119, "VK_F8", empty, empty], + [1, 72, "F9", 67, "F9", 120, "VK_F9", empty, empty], + [1, 73, "F10", 68, "F10", 121, "VK_F10", empty, empty], + [1, 74, "F11", 69, "F11", 122, "VK_F11", empty, empty], + [1, 75, "F12", 70, "F12", 123, "VK_F12", empty, empty], + [1, 76, "PrintScreen", 0, empty, 0, empty, empty, empty], + [1, 77, "ScrollLock", 84, "ScrollLock", 145, "VK_SCROLL", empty, empty], + [1, 78, "Pause", 7, "PauseBreak", 19, "VK_PAUSE", empty, empty], + [1, 79, "Insert", 19, "Insert", 45, "VK_INSERT", empty, empty], + [1, 80, "Home", 14, "Home", 36, "VK_HOME", empty, empty], + [1, 81, "PageUp", 11, "PageUp", 33, "VK_PRIOR", empty, empty], + [1, 82, "Delete", 20, "Delete", 46, "VK_DELETE", empty, empty], + [1, 83, "End", 13, "End", 35, "VK_END", empty, empty], + [1, 84, "PageDown", 12, "PageDown", 34, "VK_NEXT", empty, empty], + [1, 85, "ArrowRight", 17, "RightArrow", 39, "VK_RIGHT", "Right", empty], + [1, 86, "ArrowLeft", 15, "LeftArrow", 37, "VK_LEFT", "Left", empty], + [1, 87, "ArrowDown", 18, "DownArrow", 40, "VK_DOWN", "Down", empty], + [1, 88, "ArrowUp", 16, "UpArrow", 38, "VK_UP", "Up", empty], + [1, 89, "NumLock", 83, "NumLock", 144, "VK_NUMLOCK", empty, empty], + [1, 90, "NumpadDivide", 113, "NumPad_Divide", 111, "VK_DIVIDE", empty, empty], + [1, 91, "NumpadMultiply", 108, "NumPad_Multiply", 106, "VK_MULTIPLY", empty, empty], + [1, 92, "NumpadSubtract", 111, "NumPad_Subtract", 109, "VK_SUBTRACT", empty, empty], + [1, 93, "NumpadAdd", 109, "NumPad_Add", 107, "VK_ADD", empty, empty], + [1, 94, "NumpadEnter", 3, empty, 0, empty, empty, empty], + [1, 95, "Numpad1", 99, "NumPad1", 97, "VK_NUMPAD1", empty, empty], + [1, 96, "Numpad2", 100, "NumPad2", 98, "VK_NUMPAD2", empty, empty], + [1, 97, "Numpad3", 101, "NumPad3", 99, "VK_NUMPAD3", empty, empty], + [1, 98, "Numpad4", 102, "NumPad4", 100, "VK_NUMPAD4", empty, empty], + [1, 99, "Numpad5", 103, "NumPad5", 101, "VK_NUMPAD5", empty, empty], + [1, 100, "Numpad6", 104, "NumPad6", 102, "VK_NUMPAD6", empty, empty], + [1, 101, "Numpad7", 105, "NumPad7", 103, "VK_NUMPAD7", empty, empty], + [1, 102, "Numpad8", 106, "NumPad8", 104, "VK_NUMPAD8", empty, empty], + [1, 103, "Numpad9", 107, "NumPad9", 105, "VK_NUMPAD9", empty, empty], + [1, 104, "Numpad0", 98, "NumPad0", 96, "VK_NUMPAD0", empty, empty], + [1, 105, "NumpadDecimal", 112, "NumPad_Decimal", 110, "VK_DECIMAL", empty, empty], + [0, 106, "IntlBackslash", 97, "OEM_102", 226, "VK_OEM_102", empty, empty], + [1, 107, "ContextMenu", 58, "ContextMenu", 93, empty, empty, empty], + [1, 108, "Power", 0, empty, 0, empty, empty, empty], + [1, 109, "NumpadEqual", 0, empty, 0, empty, empty, empty], + [1, 110, "F13", 71, "F13", 124, "VK_F13", empty, empty], + [1, 111, "F14", 72, "F14", 125, "VK_F14", empty, empty], + [1, 112, "F15", 73, "F15", 126, "VK_F15", empty, empty], + [1, 113, "F16", 74, "F16", 127, "VK_F16", empty, empty], + [1, 114, "F17", 75, "F17", 128, "VK_F17", empty, empty], + [1, 115, "F18", 76, "F18", 129, "VK_F18", empty, empty], + [1, 116, "F19", 77, "F19", 130, "VK_F19", empty, empty], + [1, 117, "F20", 78, "F20", 131, "VK_F20", empty, empty], + [1, 118, "F21", 79, "F21", 132, "VK_F21", empty, empty], + [1, 119, "F22", 80, "F22", 133, "VK_F22", empty, empty], + [1, 120, "F23", 81, "F23", 134, "VK_F23", empty, empty], + [1, 121, "F24", 82, "F24", 135, "VK_F24", empty, empty], + [1, 122, "Open", 0, empty, 0, empty, empty, empty], + [1, 123, "Help", 0, empty, 0, empty, empty, empty], + [1, 124, "Select", 0, empty, 0, empty, empty, empty], + [1, 125, "Again", 0, empty, 0, empty, empty, empty], + [1, 126, "Undo", 0, empty, 0, empty, empty, empty], + [1, 127, "Cut", 0, empty, 0, empty, empty, empty], + [1, 128, "Copy", 0, empty, 0, empty, empty, empty], + [1, 129, "Paste", 0, empty, 0, empty, empty, empty], + [1, 130, "Find", 0, empty, 0, empty, empty, empty], + [1, 131, "AudioVolumeMute", 117, "AudioVolumeMute", 173, "VK_VOLUME_MUTE", empty, empty], + [1, 132, "AudioVolumeUp", 118, "AudioVolumeUp", 175, "VK_VOLUME_UP", empty, empty], + [1, 133, "AudioVolumeDown", 119, "AudioVolumeDown", 174, "VK_VOLUME_DOWN", empty, empty], + [1, 134, "NumpadComma", 110, "NumPad_Separator", 108, "VK_SEPARATOR", empty, empty], + [0, 135, "IntlRo", 115, "ABNT_C1", 193, "VK_ABNT_C1", empty, empty], + [1, 136, "KanaMode", 0, empty, 0, empty, empty, empty], + [0, 137, "IntlYen", 0, empty, 0, empty, empty, empty], + [1, 138, "Convert", 0, empty, 0, empty, empty, empty], + [1, 139, "NonConvert", 0, empty, 0, empty, empty, empty], + [1, 140, "Lang1", 0, empty, 0, empty, empty, empty], + [1, 141, "Lang2", 0, empty, 0, empty, empty, empty], + [1, 142, "Lang3", 0, empty, 0, empty, empty, empty], + [1, 143, "Lang4", 0, empty, 0, empty, empty, empty], + [1, 144, "Lang5", 0, empty, 0, empty, empty, empty], + [1, 145, "Abort", 0, empty, 0, empty, empty, empty], + [1, 146, "Props", 0, empty, 0, empty, empty, empty], + [1, 147, "NumpadParenLeft", 0, empty, 0, empty, empty, empty], + [1, 148, "NumpadParenRight", 0, empty, 0, empty, empty, empty], + [1, 149, "NumpadBackspace", 0, empty, 0, empty, empty, empty], + [1, 150, "NumpadMemoryStore", 0, empty, 0, empty, empty, empty], + [1, 151, "NumpadMemoryRecall", 0, empty, 0, empty, empty, empty], + [1, 152, "NumpadMemoryClear", 0, empty, 0, empty, empty, empty], + [1, 153, "NumpadMemoryAdd", 0, empty, 0, empty, empty, empty], + [1, 154, "NumpadMemorySubtract", 0, empty, 0, empty, empty, empty], + [1, 155, "NumpadClear", 131, "Clear", 12, "VK_CLEAR", empty, empty], + [1, 156, "NumpadClearEntry", 0, empty, 0, empty, empty, empty], + [1, 0, empty, 5, "Ctrl", 17, "VK_CONTROL", empty, empty], + [1, 0, empty, 4, "Shift", 16, "VK_SHIFT", empty, empty], + [1, 0, empty, 6, "Alt", 18, "VK_MENU", empty, empty], + [1, 0, empty, 57, "Meta", 91, "VK_COMMAND", empty, empty], + [1, 157, "ControlLeft", 5, empty, 0, "VK_LCONTROL", empty, empty], + [1, 158, "ShiftLeft", 4, empty, 0, "VK_LSHIFT", empty, empty], + [1, 159, "AltLeft", 6, empty, 0, "VK_LMENU", empty, empty], + [1, 160, "MetaLeft", 57, empty, 0, "VK_LWIN", empty, empty], + [1, 161, "ControlRight", 5, empty, 0, "VK_RCONTROL", empty, empty], + [1, 162, "ShiftRight", 4, empty, 0, "VK_RSHIFT", empty, empty], + [1, 163, "AltRight", 6, empty, 0, "VK_RMENU", empty, empty], + [1, 164, "MetaRight", 57, empty, 0, "VK_RWIN", empty, empty], + [1, 165, "BrightnessUp", 0, empty, 0, empty, empty, empty], + [1, 166, "BrightnessDown", 0, empty, 0, empty, empty, empty], + [1, 167, "MediaPlay", 0, empty, 0, empty, empty, empty], + [1, 168, "MediaRecord", 0, empty, 0, empty, empty, empty], + [1, 169, "MediaFastForward", 0, empty, 0, empty, empty, empty], + [1, 170, "MediaRewind", 0, empty, 0, empty, empty, empty], + [1, 171, "MediaTrackNext", 124, "MediaTrackNext", 176, "VK_MEDIA_NEXT_TRACK", empty, empty], + [1, 172, "MediaTrackPrevious", 125, "MediaTrackPrevious", 177, "VK_MEDIA_PREV_TRACK", empty, empty], + [1, 173, "MediaStop", 126, "MediaStop", 178, "VK_MEDIA_STOP", empty, empty], + [1, 174, "Eject", 0, empty, 0, empty, empty, empty], + [1, 175, "MediaPlayPause", 127, "MediaPlayPause", 179, "VK_MEDIA_PLAY_PAUSE", empty, empty], + [1, 176, "MediaSelect", 128, "LaunchMediaPlayer", 181, "VK_MEDIA_LAUNCH_MEDIA_SELECT", empty, empty], + [1, 177, "LaunchMail", 129, "LaunchMail", 180, "VK_MEDIA_LAUNCH_MAIL", empty, empty], + [1, 178, "LaunchApp2", 130, "LaunchApp2", 183, "VK_MEDIA_LAUNCH_APP2", empty, empty], + [1, 179, "LaunchApp1", 0, empty, 0, "VK_MEDIA_LAUNCH_APP1", empty, empty], + [1, 180, "SelectTask", 0, empty, 0, empty, empty, empty], + [1, 181, "LaunchScreenSaver", 0, empty, 0, empty, empty, empty], + [1, 182, "BrowserSearch", 120, "BrowserSearch", 170, "VK_BROWSER_SEARCH", empty, empty], + [1, 183, "BrowserHome", 121, "BrowserHome", 172, "VK_BROWSER_HOME", empty, empty], + [1, 184, "BrowserBack", 122, "BrowserBack", 166, "VK_BROWSER_BACK", empty, empty], + [1, 185, "BrowserForward", 123, "BrowserForward", 167, "VK_BROWSER_FORWARD", empty, empty], + [1, 186, "BrowserStop", 0, empty, 0, "VK_BROWSER_STOP", empty, empty], + [1, 187, "BrowserRefresh", 0, empty, 0, "VK_BROWSER_REFRESH", empty, empty], + [1, 188, "BrowserFavorites", 0, empty, 0, "VK_BROWSER_FAVORITES", empty, empty], + [1, 189, "ZoomToggle", 0, empty, 0, empty, empty, empty], + [1, 190, "MailReply", 0, empty, 0, empty, empty, empty], + [1, 191, "MailForward", 0, empty, 0, empty, empty, empty], + [1, 192, "MailSend", 0, empty, 0, empty, empty, empty], + // See https://lists.w3.org/Archives/Public/www-dom/2010JulSep/att-0182/keyCode-spec.html + // If an Input Method Editor is processing key input and the event is keydown, return 229. + [1, 0, empty, 114, "KeyInComposition", 229, empty, empty, empty], + [1, 0, empty, 116, "ABNT_C2", 194, "VK_ABNT_C2", empty, empty], + [1, 0, empty, 96, "OEM_8", 223, "VK_OEM_8", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_KANA", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_HANGUL", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_JUNJA", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_FINAL", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_HANJA", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_KANJI", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_CONVERT", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_NONCONVERT", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_ACCEPT", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_MODECHANGE", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_SELECT", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_PRINT", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_EXECUTE", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_SNAPSHOT", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_HELP", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_APPS", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_PROCESSKEY", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_PACKET", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_DBE_SBCSCHAR", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_DBE_DBCSCHAR", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_ATTN", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_CRSEL", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_EXSEL", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_EREOF", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_PLAY", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_ZOOM", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_NONAME", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_PA1", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_OEM_CLEAR", empty, empty] + ]; + const seenKeyCode = []; + const seenScanCode = []; + for (const mapping of mappings) { + const [immutable, scanCode, scanCodeStr, keyCode, keyCodeStr, eventKeyCode, vkey, usUserSettingsLabel, generalUserSettingsLabel] = mapping; + if (!seenScanCode[scanCode]) { + seenScanCode[scanCode] = true; + scanCodeIntToStr[scanCode] = scanCodeStr; + scanCodeStrToInt[scanCodeStr] = scanCode; + scanCodeLowerCaseStrToInt[scanCodeStr.toLowerCase()] = scanCode; + if (immutable) { + IMMUTABLE_CODE_TO_KEY_CODE[scanCode] = keyCode; + if (keyCode !== 0 && keyCode !== 3 && keyCode !== 5 && keyCode !== 4 && keyCode !== 6 && keyCode !== 57) { + IMMUTABLE_KEY_CODE_TO_CODE[keyCode] = scanCode; + } + } + } + if (!seenKeyCode[keyCode]) { + seenKeyCode[keyCode] = true; + if (!keyCodeStr) { + throw new Error(`String representation missing for key code ${keyCode} around scan code ${scanCodeStr}`); + } + uiMap.define(keyCode, keyCodeStr); + userSettingsUSMap.define(keyCode, usUserSettingsLabel || keyCodeStr); + userSettingsGeneralMap.define(keyCode, generalUserSettingsLabel || usUserSettingsLabel || keyCodeStr); + } + if (eventKeyCode) { + EVENT_KEY_CODE_MAP[eventKeyCode] = keyCode; + } + if (vkey) { + NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE[vkey] = keyCode; + } + } + IMMUTABLE_KEY_CODE_TO_CODE[ + 3 + /* KeyCode.Enter */ + ] = 46; + })(); + var KeyCodeUtils; + (function(KeyCodeUtils2) { + function toString(keyCode) { + return uiMap.keyCodeToStr(keyCode); + } + KeyCodeUtils2.toString = toString; + function fromString(key) { + return uiMap.strToKeyCode(key); + } + KeyCodeUtils2.fromString = fromString; + function toUserSettingsUS(keyCode) { + return userSettingsUSMap.keyCodeToStr(keyCode); + } + KeyCodeUtils2.toUserSettingsUS = toUserSettingsUS; + function toUserSettingsGeneral(keyCode) { + return userSettingsGeneralMap.keyCodeToStr(keyCode); + } + KeyCodeUtils2.toUserSettingsGeneral = toUserSettingsGeneral; + function fromUserSettings(key) { + return userSettingsUSMap.strToKeyCode(key) || userSettingsGeneralMap.strToKeyCode(key); + } + KeyCodeUtils2.fromUserSettings = fromUserSettings; + function toElectronAccelerator(keyCode) { + if (keyCode >= 98 && keyCode <= 113) { + return null; + } + switch (keyCode) { + case 16: + return "Up"; + case 18: + return "Down"; + case 15: + return "Left"; + case 17: + return "Right"; + } + return uiMap.keyCodeToStr(keyCode); + } + KeyCodeUtils2.toElectronAccelerator = toElectronAccelerator; + })(KeyCodeUtils || (KeyCodeUtils = {})); + function KeyChord(firstPart, secondPart) { + const chordPart = (secondPart & 65535) << 16 >>> 0; + return (firstPart | chordPart) >>> 0; + } + + // node_modules/monaco-editor/esm/vs/editor/common/core/selection.js + var Selection = class _Selection extends Range { + constructor(selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn) { + super(selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn); + this.selectionStartLineNumber = selectionStartLineNumber; + this.selectionStartColumn = selectionStartColumn; + this.positionLineNumber = positionLineNumber; + this.positionColumn = positionColumn; + } + /** + * Transform to a human-readable representation. + */ + toString() { + return "[" + this.selectionStartLineNumber + "," + this.selectionStartColumn + " -> " + this.positionLineNumber + "," + this.positionColumn + "]"; + } + /** + * Test if equals other selection. + */ + equalsSelection(other) { + return _Selection.selectionsEqual(this, other); + } + /** + * Test if the two selections are equal. + */ + static selectionsEqual(a, b) { + return a.selectionStartLineNumber === b.selectionStartLineNumber && a.selectionStartColumn === b.selectionStartColumn && a.positionLineNumber === b.positionLineNumber && a.positionColumn === b.positionColumn; + } + /** + * Get directions (LTR or RTL). + */ + getDirection() { + if (this.selectionStartLineNumber === this.startLineNumber && this.selectionStartColumn === this.startColumn) { + return 0; + } + return 1; + } + /** + * Create a new selection with a different `positionLineNumber` and `positionColumn`. + */ + setEndPosition(endLineNumber, endColumn) { + if (this.getDirection() === 0) { + return new _Selection(this.startLineNumber, this.startColumn, endLineNumber, endColumn); + } + return new _Selection(endLineNumber, endColumn, this.startLineNumber, this.startColumn); + } + /** + * Get the position at `positionLineNumber` and `positionColumn`. + */ + getPosition() { + return new Position(this.positionLineNumber, this.positionColumn); + } + /** + * Get the position at the start of the selection. + */ + getSelectionStart() { + return new Position(this.selectionStartLineNumber, this.selectionStartColumn); + } + /** + * Create a new selection with a different `selectionStartLineNumber` and `selectionStartColumn`. + */ + setStartPosition(startLineNumber, startColumn) { + if (this.getDirection() === 0) { + return new _Selection(startLineNumber, startColumn, this.endLineNumber, this.endColumn); + } + return new _Selection(this.endLineNumber, this.endColumn, startLineNumber, startColumn); + } + // ---- + /** + * Create a `Selection` from one or two positions + */ + static fromPositions(start, end = start) { + return new _Selection(start.lineNumber, start.column, end.lineNumber, end.column); + } + /** + * Creates a `Selection` from a range, given a direction. + */ + static fromRange(range, direction) { + if (direction === 0) { + return new _Selection(range.startLineNumber, range.startColumn, range.endLineNumber, range.endColumn); + } else { + return new _Selection(range.endLineNumber, range.endColumn, range.startLineNumber, range.startColumn); + } + } + /** + * Create a `Selection` from an `ISelection`. + */ + static liftSelection(sel) { + return new _Selection(sel.selectionStartLineNumber, sel.selectionStartColumn, sel.positionLineNumber, sel.positionColumn); + } + /** + * `a` equals `b`. + */ + static selectionsArrEqual(a, b) { + if (a && !b || !a && b) { + return false; + } + if (!a && !b) { + return true; + } + if (a.length !== b.length) { + return false; + } + for (let i = 0, len = a.length; i < len; i++) { + if (!this.selectionsEqual(a[i], b[i])) { + return false; + } + } + return true; + } + /** + * Test if `obj` is an `ISelection`. + */ + static isISelection(obj) { + return obj && typeof obj.selectionStartLineNumber === "number" && typeof obj.selectionStartColumn === "number" && typeof obj.positionLineNumber === "number" && typeof obj.positionColumn === "number"; + } + /** + * Create with a direction. + */ + static createWithDirection(startLineNumber, startColumn, endLineNumber, endColumn, direction) { + if (direction === 0) { + return new _Selection(startLineNumber, startColumn, endLineNumber, endColumn); + } + return new _Selection(endLineNumber, endColumn, startLineNumber, startColumn); + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/types.js + function isString(str) { + return typeof str === "string"; + } + + // node_modules/monaco-editor/esm/vs/base/common/codiconsUtil.js + var _codiconFontCharacters = /* @__PURE__ */ Object.create(null); + function register(id, fontCharacter) { + if (isString(fontCharacter)) { + const val = _codiconFontCharacters[fontCharacter]; + if (val === void 0) { + throw new Error(`${id} references an unknown codicon: ${fontCharacter}`); + } + fontCharacter = val; + } + _codiconFontCharacters[id] = fontCharacter; + return { id }; + } + + // node_modules/monaco-editor/esm/vs/base/common/codiconsLibrary.js + var codiconsLibrary = { + add: register("add", 6e4), + plus: register("plus", 6e4), + gistNew: register("gist-new", 6e4), + repoCreate: register("repo-create", 6e4), + lightbulb: register("lightbulb", 60001), + lightBulb: register("light-bulb", 60001), + repo: register("repo", 60002), + repoDelete: register("repo-delete", 60002), + gistFork: register("gist-fork", 60003), + repoForked: register("repo-forked", 60003), + gitPullRequest: register("git-pull-request", 60004), + gitPullRequestAbandoned: register("git-pull-request-abandoned", 60004), + recordKeys: register("record-keys", 60005), + keyboard: register("keyboard", 60005), + tag: register("tag", 60006), + gitPullRequestLabel: register("git-pull-request-label", 60006), + tagAdd: register("tag-add", 60006), + tagRemove: register("tag-remove", 60006), + person: register("person", 60007), + personFollow: register("person-follow", 60007), + personOutline: register("person-outline", 60007), + personFilled: register("person-filled", 60007), + gitBranch: register("git-branch", 60008), + gitBranchCreate: register("git-branch-create", 60008), + gitBranchDelete: register("git-branch-delete", 60008), + sourceControl: register("source-control", 60008), + mirror: register("mirror", 60009), + mirrorPublic: register("mirror-public", 60009), + star: register("star", 60010), + starAdd: register("star-add", 60010), + starDelete: register("star-delete", 60010), + starEmpty: register("star-empty", 60010), + comment: register("comment", 60011), + commentAdd: register("comment-add", 60011), + alert: register("alert", 60012), + warning: register("warning", 60012), + search: register("search", 60013), + searchSave: register("search-save", 60013), + logOut: register("log-out", 60014), + signOut: register("sign-out", 60014), + logIn: register("log-in", 60015), + signIn: register("sign-in", 60015), + eye: register("eye", 60016), + eyeUnwatch: register("eye-unwatch", 60016), + eyeWatch: register("eye-watch", 60016), + circleFilled: register("circle-filled", 60017), + primitiveDot: register("primitive-dot", 60017), + closeDirty: register("close-dirty", 60017), + debugBreakpoint: register("debug-breakpoint", 60017), + debugBreakpointDisabled: register("debug-breakpoint-disabled", 60017), + debugHint: register("debug-hint", 60017), + terminalDecorationSuccess: register("terminal-decoration-success", 60017), + primitiveSquare: register("primitive-square", 60018), + edit: register("edit", 60019), + pencil: register("pencil", 60019), + info: register("info", 60020), + issueOpened: register("issue-opened", 60020), + gistPrivate: register("gist-private", 60021), + gitForkPrivate: register("git-fork-private", 60021), + lock: register("lock", 60021), + mirrorPrivate: register("mirror-private", 60021), + close: register("close", 60022), + removeClose: register("remove-close", 60022), + x: register("x", 60022), + repoSync: register("repo-sync", 60023), + sync: register("sync", 60023), + clone: register("clone", 60024), + desktopDownload: register("desktop-download", 60024), + beaker: register("beaker", 60025), + microscope: register("microscope", 60025), + vm: register("vm", 60026), + deviceDesktop: register("device-desktop", 60026), + file: register("file", 60027), + fileText: register("file-text", 60027), + more: register("more", 60028), + ellipsis: register("ellipsis", 60028), + kebabHorizontal: register("kebab-horizontal", 60028), + mailReply: register("mail-reply", 60029), + reply: register("reply", 60029), + organization: register("organization", 60030), + organizationFilled: register("organization-filled", 60030), + organizationOutline: register("organization-outline", 60030), + newFile: register("new-file", 60031), + fileAdd: register("file-add", 60031), + newFolder: register("new-folder", 60032), + fileDirectoryCreate: register("file-directory-create", 60032), + trash: register("trash", 60033), + trashcan: register("trashcan", 60033), + history: register("history", 60034), + clock: register("clock", 60034), + folder: register("folder", 60035), + fileDirectory: register("file-directory", 60035), + symbolFolder: register("symbol-folder", 60035), + logoGithub: register("logo-github", 60036), + markGithub: register("mark-github", 60036), + github: register("github", 60036), + terminal: register("terminal", 60037), + console: register("console", 60037), + repl: register("repl", 60037), + zap: register("zap", 60038), + symbolEvent: register("symbol-event", 60038), + error: register("error", 60039), + stop: register("stop", 60039), + variable: register("variable", 60040), + symbolVariable: register("symbol-variable", 60040), + array: register("array", 60042), + symbolArray: register("symbol-array", 60042), + symbolModule: register("symbol-module", 60043), + symbolPackage: register("symbol-package", 60043), + symbolNamespace: register("symbol-namespace", 60043), + symbolObject: register("symbol-object", 60043), + symbolMethod: register("symbol-method", 60044), + symbolFunction: register("symbol-function", 60044), + symbolConstructor: register("symbol-constructor", 60044), + symbolBoolean: register("symbol-boolean", 60047), + symbolNull: register("symbol-null", 60047), + symbolNumeric: register("symbol-numeric", 60048), + symbolNumber: register("symbol-number", 60048), + symbolStructure: register("symbol-structure", 60049), + symbolStruct: register("symbol-struct", 60049), + symbolParameter: register("symbol-parameter", 60050), + symbolTypeParameter: register("symbol-type-parameter", 60050), + symbolKey: register("symbol-key", 60051), + symbolText: register("symbol-text", 60051), + symbolReference: register("symbol-reference", 60052), + goToFile: register("go-to-file", 60052), + symbolEnum: register("symbol-enum", 60053), + symbolValue: register("symbol-value", 60053), + symbolRuler: register("symbol-ruler", 60054), + symbolUnit: register("symbol-unit", 60054), + activateBreakpoints: register("activate-breakpoints", 60055), + archive: register("archive", 60056), + arrowBoth: register("arrow-both", 60057), + arrowDown: register("arrow-down", 60058), + arrowLeft: register("arrow-left", 60059), + arrowRight: register("arrow-right", 60060), + arrowSmallDown: register("arrow-small-down", 60061), + arrowSmallLeft: register("arrow-small-left", 60062), + arrowSmallRight: register("arrow-small-right", 60063), + arrowSmallUp: register("arrow-small-up", 60064), + arrowUp: register("arrow-up", 60065), + bell: register("bell", 60066), + bold: register("bold", 60067), + book: register("book", 60068), + bookmark: register("bookmark", 60069), + debugBreakpointConditionalUnverified: register("debug-breakpoint-conditional-unverified", 60070), + debugBreakpointConditional: register("debug-breakpoint-conditional", 60071), + debugBreakpointConditionalDisabled: register("debug-breakpoint-conditional-disabled", 60071), + debugBreakpointDataUnverified: register("debug-breakpoint-data-unverified", 60072), + debugBreakpointData: register("debug-breakpoint-data", 60073), + debugBreakpointDataDisabled: register("debug-breakpoint-data-disabled", 60073), + debugBreakpointLogUnverified: register("debug-breakpoint-log-unverified", 60074), + debugBreakpointLog: register("debug-breakpoint-log", 60075), + debugBreakpointLogDisabled: register("debug-breakpoint-log-disabled", 60075), + briefcase: register("briefcase", 60076), + broadcast: register("broadcast", 60077), + browser: register("browser", 60078), + bug: register("bug", 60079), + calendar: register("calendar", 60080), + caseSensitive: register("case-sensitive", 60081), + check: register("check", 60082), + checklist: register("checklist", 60083), + chevronDown: register("chevron-down", 60084), + chevronLeft: register("chevron-left", 60085), + chevronRight: register("chevron-right", 60086), + chevronUp: register("chevron-up", 60087), + chromeClose: register("chrome-close", 60088), + chromeMaximize: register("chrome-maximize", 60089), + chromeMinimize: register("chrome-minimize", 60090), + chromeRestore: register("chrome-restore", 60091), + circleOutline: register("circle-outline", 60092), + circle: register("circle", 60092), + debugBreakpointUnverified: register("debug-breakpoint-unverified", 60092), + terminalDecorationIncomplete: register("terminal-decoration-incomplete", 60092), + circleSlash: register("circle-slash", 60093), + circuitBoard: register("circuit-board", 60094), + clearAll: register("clear-all", 60095), + clippy: register("clippy", 60096), + closeAll: register("close-all", 60097), + cloudDownload: register("cloud-download", 60098), + cloudUpload: register("cloud-upload", 60099), + code: register("code", 60100), + collapseAll: register("collapse-all", 60101), + colorMode: register("color-mode", 60102), + commentDiscussion: register("comment-discussion", 60103), + creditCard: register("credit-card", 60105), + dash: register("dash", 60108), + dashboard: register("dashboard", 60109), + database: register("database", 60110), + debugContinue: register("debug-continue", 60111), + debugDisconnect: register("debug-disconnect", 60112), + debugPause: register("debug-pause", 60113), + debugRestart: register("debug-restart", 60114), + debugStart: register("debug-start", 60115), + debugStepInto: register("debug-step-into", 60116), + debugStepOut: register("debug-step-out", 60117), + debugStepOver: register("debug-step-over", 60118), + debugStop: register("debug-stop", 60119), + debug: register("debug", 60120), + deviceCameraVideo: register("device-camera-video", 60121), + deviceCamera: register("device-camera", 60122), + deviceMobile: register("device-mobile", 60123), + diffAdded: register("diff-added", 60124), + diffIgnored: register("diff-ignored", 60125), + diffModified: register("diff-modified", 60126), + diffRemoved: register("diff-removed", 60127), + diffRenamed: register("diff-renamed", 60128), + diff: register("diff", 60129), + diffSidebyside: register("diff-sidebyside", 60129), + discard: register("discard", 60130), + editorLayout: register("editor-layout", 60131), + emptyWindow: register("empty-window", 60132), + exclude: register("exclude", 60133), + extensions: register("extensions", 60134), + eyeClosed: register("eye-closed", 60135), + fileBinary: register("file-binary", 60136), + fileCode: register("file-code", 60137), + fileMedia: register("file-media", 60138), + filePdf: register("file-pdf", 60139), + fileSubmodule: register("file-submodule", 60140), + fileSymlinkDirectory: register("file-symlink-directory", 60141), + fileSymlinkFile: register("file-symlink-file", 60142), + fileZip: register("file-zip", 60143), + files: register("files", 60144), + filter: register("filter", 60145), + flame: register("flame", 60146), + foldDown: register("fold-down", 60147), + foldUp: register("fold-up", 60148), + fold: register("fold", 60149), + folderActive: register("folder-active", 60150), + folderOpened: register("folder-opened", 60151), + gear: register("gear", 60152), + gift: register("gift", 60153), + gistSecret: register("gist-secret", 60154), + gist: register("gist", 60155), + gitCommit: register("git-commit", 60156), + gitCompare: register("git-compare", 60157), + compareChanges: register("compare-changes", 60157), + gitMerge: register("git-merge", 60158), + githubAction: register("github-action", 60159), + githubAlt: register("github-alt", 60160), + globe: register("globe", 60161), + grabber: register("grabber", 60162), + graph: register("graph", 60163), + gripper: register("gripper", 60164), + heart: register("heart", 60165), + home: register("home", 60166), + horizontalRule: register("horizontal-rule", 60167), + hubot: register("hubot", 60168), + inbox: register("inbox", 60169), + issueReopened: register("issue-reopened", 60171), + issues: register("issues", 60172), + italic: register("italic", 60173), + jersey: register("jersey", 60174), + json: register("json", 60175), + kebabVertical: register("kebab-vertical", 60176), + key: register("key", 60177), + law: register("law", 60178), + lightbulbAutofix: register("lightbulb-autofix", 60179), + linkExternal: register("link-external", 60180), + link: register("link", 60181), + listOrdered: register("list-ordered", 60182), + listUnordered: register("list-unordered", 60183), + liveShare: register("live-share", 60184), + loading: register("loading", 60185), + location: register("location", 60186), + mailRead: register("mail-read", 60187), + mail: register("mail", 60188), + markdown: register("markdown", 60189), + megaphone: register("megaphone", 60190), + mention: register("mention", 60191), + milestone: register("milestone", 60192), + gitPullRequestMilestone: register("git-pull-request-milestone", 60192), + mortarBoard: register("mortar-board", 60193), + move: register("move", 60194), + multipleWindows: register("multiple-windows", 60195), + mute: register("mute", 60196), + noNewline: register("no-newline", 60197), + note: register("note", 60198), + octoface: register("octoface", 60199), + openPreview: register("open-preview", 60200), + package: register("package", 60201), + paintcan: register("paintcan", 60202), + pin: register("pin", 60203), + play: register("play", 60204), + run: register("run", 60204), + plug: register("plug", 60205), + preserveCase: register("preserve-case", 60206), + preview: register("preview", 60207), + project: register("project", 60208), + pulse: register("pulse", 60209), + question: register("question", 60210), + quote: register("quote", 60211), + radioTower: register("radio-tower", 60212), + reactions: register("reactions", 60213), + references: register("references", 60214), + refresh: register("refresh", 60215), + regex: register("regex", 60216), + remoteExplorer: register("remote-explorer", 60217), + remote: register("remote", 60218), + remove: register("remove", 60219), + replaceAll: register("replace-all", 60220), + replace: register("replace", 60221), + repoClone: register("repo-clone", 60222), + repoForcePush: register("repo-force-push", 60223), + repoPull: register("repo-pull", 60224), + repoPush: register("repo-push", 60225), + report: register("report", 60226), + requestChanges: register("request-changes", 60227), + rocket: register("rocket", 60228), + rootFolderOpened: register("root-folder-opened", 60229), + rootFolder: register("root-folder", 60230), + rss: register("rss", 60231), + ruby: register("ruby", 60232), + saveAll: register("save-all", 60233), + saveAs: register("save-as", 60234), + save: register("save", 60235), + screenFull: register("screen-full", 60236), + screenNormal: register("screen-normal", 60237), + searchStop: register("search-stop", 60238), + server: register("server", 60240), + settingsGear: register("settings-gear", 60241), + settings: register("settings", 60242), + shield: register("shield", 60243), + smiley: register("smiley", 60244), + sortPrecedence: register("sort-precedence", 60245), + splitHorizontal: register("split-horizontal", 60246), + splitVertical: register("split-vertical", 60247), + squirrel: register("squirrel", 60248), + starFull: register("star-full", 60249), + starHalf: register("star-half", 60250), + symbolClass: register("symbol-class", 60251), + symbolColor: register("symbol-color", 60252), + symbolConstant: register("symbol-constant", 60253), + symbolEnumMember: register("symbol-enum-member", 60254), + symbolField: register("symbol-field", 60255), + symbolFile: register("symbol-file", 60256), + symbolInterface: register("symbol-interface", 60257), + symbolKeyword: register("symbol-keyword", 60258), + symbolMisc: register("symbol-misc", 60259), + symbolOperator: register("symbol-operator", 60260), + symbolProperty: register("symbol-property", 60261), + wrench: register("wrench", 60261), + wrenchSubaction: register("wrench-subaction", 60261), + symbolSnippet: register("symbol-snippet", 60262), + tasklist: register("tasklist", 60263), + telescope: register("telescope", 60264), + textSize: register("text-size", 60265), + threeBars: register("three-bars", 60266), + thumbsdown: register("thumbsdown", 60267), + thumbsup: register("thumbsup", 60268), + tools: register("tools", 60269), + triangleDown: register("triangle-down", 60270), + triangleLeft: register("triangle-left", 60271), + triangleRight: register("triangle-right", 60272), + triangleUp: register("triangle-up", 60273), + twitter: register("twitter", 60274), + unfold: register("unfold", 60275), + unlock: register("unlock", 60276), + unmute: register("unmute", 60277), + unverified: register("unverified", 60278), + verified: register("verified", 60279), + versions: register("versions", 60280), + vmActive: register("vm-active", 60281), + vmOutline: register("vm-outline", 60282), + vmRunning: register("vm-running", 60283), + watch: register("watch", 60284), + whitespace: register("whitespace", 60285), + wholeWord: register("whole-word", 60286), + window: register("window", 60287), + wordWrap: register("word-wrap", 60288), + zoomIn: register("zoom-in", 60289), + zoomOut: register("zoom-out", 60290), + listFilter: register("list-filter", 60291), + listFlat: register("list-flat", 60292), + listSelection: register("list-selection", 60293), + selection: register("selection", 60293), + listTree: register("list-tree", 60294), + debugBreakpointFunctionUnverified: register("debug-breakpoint-function-unverified", 60295), + debugBreakpointFunction: register("debug-breakpoint-function", 60296), + debugBreakpointFunctionDisabled: register("debug-breakpoint-function-disabled", 60296), + debugStackframeActive: register("debug-stackframe-active", 60297), + circleSmallFilled: register("circle-small-filled", 60298), + debugStackframeDot: register("debug-stackframe-dot", 60298), + terminalDecorationMark: register("terminal-decoration-mark", 60298), + debugStackframe: register("debug-stackframe", 60299), + debugStackframeFocused: register("debug-stackframe-focused", 60299), + debugBreakpointUnsupported: register("debug-breakpoint-unsupported", 60300), + symbolString: register("symbol-string", 60301), + debugReverseContinue: register("debug-reverse-continue", 60302), + debugStepBack: register("debug-step-back", 60303), + debugRestartFrame: register("debug-restart-frame", 60304), + debugAlt: register("debug-alt", 60305), + callIncoming: register("call-incoming", 60306), + callOutgoing: register("call-outgoing", 60307), + menu: register("menu", 60308), + expandAll: register("expand-all", 60309), + feedback: register("feedback", 60310), + gitPullRequestReviewer: register("git-pull-request-reviewer", 60310), + groupByRefType: register("group-by-ref-type", 60311), + ungroupByRefType: register("ungroup-by-ref-type", 60312), + account: register("account", 60313), + gitPullRequestAssignee: register("git-pull-request-assignee", 60313), + bellDot: register("bell-dot", 60314), + debugConsole: register("debug-console", 60315), + library: register("library", 60316), + output: register("output", 60317), + runAll: register("run-all", 60318), + syncIgnored: register("sync-ignored", 60319), + pinned: register("pinned", 60320), + githubInverted: register("github-inverted", 60321), + serverProcess: register("server-process", 60322), + serverEnvironment: register("server-environment", 60323), + pass: register("pass", 60324), + issueClosed: register("issue-closed", 60324), + stopCircle: register("stop-circle", 60325), + playCircle: register("play-circle", 60326), + record: register("record", 60327), + debugAltSmall: register("debug-alt-small", 60328), + vmConnect: register("vm-connect", 60329), + cloud: register("cloud", 60330), + merge: register("merge", 60331), + export: register("export", 60332), + graphLeft: register("graph-left", 60333), + magnet: register("magnet", 60334), + notebook: register("notebook", 60335), + redo: register("redo", 60336), + checkAll: register("check-all", 60337), + pinnedDirty: register("pinned-dirty", 60338), + passFilled: register("pass-filled", 60339), + circleLargeFilled: register("circle-large-filled", 60340), + circleLarge: register("circle-large", 60341), + circleLargeOutline: register("circle-large-outline", 60341), + combine: register("combine", 60342), + gather: register("gather", 60342), + table: register("table", 60343), + variableGroup: register("variable-group", 60344), + typeHierarchy: register("type-hierarchy", 60345), + typeHierarchySub: register("type-hierarchy-sub", 60346), + typeHierarchySuper: register("type-hierarchy-super", 60347), + gitPullRequestCreate: register("git-pull-request-create", 60348), + runAbove: register("run-above", 60349), + runBelow: register("run-below", 60350), + notebookTemplate: register("notebook-template", 60351), + debugRerun: register("debug-rerun", 60352), + workspaceTrusted: register("workspace-trusted", 60353), + workspaceUntrusted: register("workspace-untrusted", 60354), + workspaceUnknown: register("workspace-unknown", 60355), + terminalCmd: register("terminal-cmd", 60356), + terminalDebian: register("terminal-debian", 60357), + terminalLinux: register("terminal-linux", 60358), + terminalPowershell: register("terminal-powershell", 60359), + terminalTmux: register("terminal-tmux", 60360), + terminalUbuntu: register("terminal-ubuntu", 60361), + terminalBash: register("terminal-bash", 60362), + arrowSwap: register("arrow-swap", 60363), + copy: register("copy", 60364), + personAdd: register("person-add", 60365), + filterFilled: register("filter-filled", 60366), + wand: register("wand", 60367), + debugLineByLine: register("debug-line-by-line", 60368), + inspect: register("inspect", 60369), + layers: register("layers", 60370), + layersDot: register("layers-dot", 60371), + layersActive: register("layers-active", 60372), + compass: register("compass", 60373), + compassDot: register("compass-dot", 60374), + compassActive: register("compass-active", 60375), + azure: register("azure", 60376), + issueDraft: register("issue-draft", 60377), + gitPullRequestClosed: register("git-pull-request-closed", 60378), + gitPullRequestDraft: register("git-pull-request-draft", 60379), + debugAll: register("debug-all", 60380), + debugCoverage: register("debug-coverage", 60381), + runErrors: register("run-errors", 60382), + folderLibrary: register("folder-library", 60383), + debugContinueSmall: register("debug-continue-small", 60384), + beakerStop: register("beaker-stop", 60385), + graphLine: register("graph-line", 60386), + graphScatter: register("graph-scatter", 60387), + pieChart: register("pie-chart", 60388), + bracket: register("bracket", 60175), + bracketDot: register("bracket-dot", 60389), + bracketError: register("bracket-error", 60390), + lockSmall: register("lock-small", 60391), + azureDevops: register("azure-devops", 60392), + verifiedFilled: register("verified-filled", 60393), + newline: register("newline", 60394), + layout: register("layout", 60395), + layoutActivitybarLeft: register("layout-activitybar-left", 60396), + layoutActivitybarRight: register("layout-activitybar-right", 60397), + layoutPanelLeft: register("layout-panel-left", 60398), + layoutPanelCenter: register("layout-panel-center", 60399), + layoutPanelJustify: register("layout-panel-justify", 60400), + layoutPanelRight: register("layout-panel-right", 60401), + layoutPanel: register("layout-panel", 60402), + layoutSidebarLeft: register("layout-sidebar-left", 60403), + layoutSidebarRight: register("layout-sidebar-right", 60404), + layoutStatusbar: register("layout-statusbar", 60405), + layoutMenubar: register("layout-menubar", 60406), + layoutCentered: register("layout-centered", 60407), + target: register("target", 60408), + indent: register("indent", 60409), + recordSmall: register("record-small", 60410), + errorSmall: register("error-small", 60411), + terminalDecorationError: register("terminal-decoration-error", 60411), + arrowCircleDown: register("arrow-circle-down", 60412), + arrowCircleLeft: register("arrow-circle-left", 60413), + arrowCircleRight: register("arrow-circle-right", 60414), + arrowCircleUp: register("arrow-circle-up", 60415), + layoutSidebarRightOff: register("layout-sidebar-right-off", 60416), + layoutPanelOff: register("layout-panel-off", 60417), + layoutSidebarLeftOff: register("layout-sidebar-left-off", 60418), + blank: register("blank", 60419), + heartFilled: register("heart-filled", 60420), + map: register("map", 60421), + mapHorizontal: register("map-horizontal", 60421), + foldHorizontal: register("fold-horizontal", 60421), + mapFilled: register("map-filled", 60422), + mapHorizontalFilled: register("map-horizontal-filled", 60422), + foldHorizontalFilled: register("fold-horizontal-filled", 60422), + circleSmall: register("circle-small", 60423), + bellSlash: register("bell-slash", 60424), + bellSlashDot: register("bell-slash-dot", 60425), + commentUnresolved: register("comment-unresolved", 60426), + gitPullRequestGoToChanges: register("git-pull-request-go-to-changes", 60427), + gitPullRequestNewChanges: register("git-pull-request-new-changes", 60428), + searchFuzzy: register("search-fuzzy", 60429), + commentDraft: register("comment-draft", 60430), + send: register("send", 60431), + sparkle: register("sparkle", 60432), + insert: register("insert", 60433), + mic: register("mic", 60434), + thumbsdownFilled: register("thumbsdown-filled", 60435), + thumbsupFilled: register("thumbsup-filled", 60436), + coffee: register("coffee", 60437), + snake: register("snake", 60438), + game: register("game", 60439), + vr: register("vr", 60440), + chip: register("chip", 60441), + piano: register("piano", 60442), + music: register("music", 60443), + micFilled: register("mic-filled", 60444), + repoFetch: register("repo-fetch", 60445), + copilot: register("copilot", 60446), + lightbulbSparkle: register("lightbulb-sparkle", 60447), + robot: register("robot", 60448), + sparkleFilled: register("sparkle-filled", 60449), + diffSingle: register("diff-single", 60450), + diffMultiple: register("diff-multiple", 60451), + surroundWith: register("surround-with", 60452), + share: register("share", 60453), + gitStash: register("git-stash", 60454), + gitStashApply: register("git-stash-apply", 60455), + gitStashPop: register("git-stash-pop", 60456), + vscode: register("vscode", 60457), + vscodeInsiders: register("vscode-insiders", 60458), + codeOss: register("code-oss", 60459), + runCoverage: register("run-coverage", 60460), + runAllCoverage: register("run-all-coverage", 60461), + coverage: register("coverage", 60462), + githubProject: register("github-project", 60463), + mapVertical: register("map-vertical", 60464), + foldVertical: register("fold-vertical", 60464), + mapVerticalFilled: register("map-vertical-filled", 60465), + foldVerticalFilled: register("fold-vertical-filled", 60465), + goToSearch: register("go-to-search", 60466), + percentage: register("percentage", 60467), + sortPercentage: register("sort-percentage", 60467), + attach: register("attach", 60468) + }; + + // node_modules/monaco-editor/esm/vs/base/common/codicons.js + var codiconsDerived = { + dialogError: register("dialog-error", "error"), + dialogWarning: register("dialog-warning", "warning"), + dialogInfo: register("dialog-info", "info"), + dialogClose: register("dialog-close", "close"), + treeItemExpanded: register("tree-item-expanded", "chevron-down"), + // collapsed is done with rotation + treeFilterOnTypeOn: register("tree-filter-on-type-on", "list-filter"), + treeFilterOnTypeOff: register("tree-filter-on-type-off", "list-selection"), + treeFilterClear: register("tree-filter-clear", "close"), + treeItemLoading: register("tree-item-loading", "loading"), + menuSelection: register("menu-selection", "check"), + menuSubmenu: register("menu-submenu", "chevron-right"), + menuBarMore: register("menubar-more", "more"), + scrollbarButtonLeft: register("scrollbar-button-left", "triangle-left"), + scrollbarButtonRight: register("scrollbar-button-right", "triangle-right"), + scrollbarButtonUp: register("scrollbar-button-up", "triangle-up"), + scrollbarButtonDown: register("scrollbar-button-down", "triangle-down"), + toolBarMore: register("toolbar-more", "more"), + quickInputBack: register("quick-input-back", "arrow-left"), + dropDownButton: register("drop-down-button", 60084), + symbolCustomColor: register("symbol-customcolor", 60252), + exportIcon: register("export", 60332), + workspaceUnspecified: register("workspace-unspecified", 60355), + newLine: register("newline", 60394), + thumbsDownFilled: register("thumbsdown-filled", 60435), + thumbsUpFilled: register("thumbsup-filled", 60436), + gitFetch: register("git-fetch", 60445), + lightbulbSparkleAutofix: register("lightbulb-sparkle-autofix", 60447), + debugBreakpointPending: register("debug-breakpoint-pending", 60377) + }; + var Codicon = { + ...codiconsLibrary, + ...codiconsDerived + }; + + // node_modules/monaco-editor/esm/vs/editor/common/tokenizationRegistry.js + var TokenizationRegistry = class { + constructor() { + this._tokenizationSupports = /* @__PURE__ */ new Map(); + this._factories = /* @__PURE__ */ new Map(); + this._onDidChange = new Emitter(); + this.onDidChange = this._onDidChange.event; + this._colorMap = null; + } + handleChange(languageIds) { + this._onDidChange.fire({ + changedLanguages: languageIds, + changedColorMap: false + }); + } + register(languageId, support) { + this._tokenizationSupports.set(languageId, support); + this.handleChange([languageId]); + return toDisposable(() => { + if (this._tokenizationSupports.get(languageId) !== support) { + return; + } + this._tokenizationSupports.delete(languageId); + this.handleChange([languageId]); + }); + } + get(languageId) { + return this._tokenizationSupports.get(languageId) || null; + } + registerFactory(languageId, factory) { + this._factories.get(languageId)?.dispose(); + const myData = new TokenizationSupportFactoryData(this, languageId, factory); + this._factories.set(languageId, myData); + return toDisposable(() => { + const v = this._factories.get(languageId); + if (!v || v !== myData) { + return; + } + this._factories.delete(languageId); + v.dispose(); + }); + } + async getOrCreate(languageId) { + const tokenizationSupport = this.get(languageId); + if (tokenizationSupport) { + return tokenizationSupport; + } + const factory = this._factories.get(languageId); + if (!factory || factory.isResolved) { + return null; + } + await factory.resolve(); + return this.get(languageId); + } + isResolved(languageId) { + const tokenizationSupport = this.get(languageId); + if (tokenizationSupport) { + return true; + } + const factory = this._factories.get(languageId); + if (!factory || factory.isResolved) { + return true; + } + return false; + } + setColorMap(colorMap) { + this._colorMap = colorMap; + this._onDidChange.fire({ + changedLanguages: Array.from(this._tokenizationSupports.keys()), + changedColorMap: true + }); + } + getColorMap() { + return this._colorMap; + } + getDefaultBackground() { + if (this._colorMap && this._colorMap.length > 2) { + return this._colorMap[ + 2 + /* ColorId.DefaultBackground */ + ]; + } + return null; + } + }; + var TokenizationSupportFactoryData = class extends Disposable { + get isResolved() { + return this._isResolved; + } + constructor(_registry, _languageId, _factory) { + super(); + this._registry = _registry; + this._languageId = _languageId; + this._factory = _factory; + this._isDisposed = false; + this._resolvePromise = null; + this._isResolved = false; + } + dispose() { + this._isDisposed = true; + super.dispose(); + } + async resolve() { + if (!this._resolvePromise) { + this._resolvePromise = this._create(); + } + return this._resolvePromise; + } + async _create() { + const value = await this._factory.tokenizationSupport; + this._isResolved = true; + if (value && !this._isDisposed) { + this._register(this._registry.register(this._languageId, value)); + } + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/languages.js + var Token = class { + constructor(offset, type, language) { + this.offset = offset; + this.type = type; + this.language = language; + this._tokenBrand = void 0; + } + toString() { + return "(" + this.offset + ", " + this.type + ")"; + } + }; + var HoverVerbosityAction; + (function(HoverVerbosityAction3) { + HoverVerbosityAction3[HoverVerbosityAction3["Increase"] = 0] = "Increase"; + HoverVerbosityAction3[HoverVerbosityAction3["Decrease"] = 1] = "Decrease"; + })(HoverVerbosityAction || (HoverVerbosityAction = {})); + var CompletionItemKinds; + (function(CompletionItemKinds2) { + const byKind = /* @__PURE__ */ new Map(); + byKind.set(0, Codicon.symbolMethod); + byKind.set(1, Codicon.symbolFunction); + byKind.set(2, Codicon.symbolConstructor); + byKind.set(3, Codicon.symbolField); + byKind.set(4, Codicon.symbolVariable); + byKind.set(5, Codicon.symbolClass); + byKind.set(6, Codicon.symbolStruct); + byKind.set(7, Codicon.symbolInterface); + byKind.set(8, Codicon.symbolModule); + byKind.set(9, Codicon.symbolProperty); + byKind.set(10, Codicon.symbolEvent); + byKind.set(11, Codicon.symbolOperator); + byKind.set(12, Codicon.symbolUnit); + byKind.set(13, Codicon.symbolValue); + byKind.set(15, Codicon.symbolEnum); + byKind.set(14, Codicon.symbolConstant); + byKind.set(15, Codicon.symbolEnum); + byKind.set(16, Codicon.symbolEnumMember); + byKind.set(17, Codicon.symbolKeyword); + byKind.set(27, Codicon.symbolSnippet); + byKind.set(18, Codicon.symbolText); + byKind.set(19, Codicon.symbolColor); + byKind.set(20, Codicon.symbolFile); + byKind.set(21, Codicon.symbolReference); + byKind.set(22, Codicon.symbolCustomColor); + byKind.set(23, Codicon.symbolFolder); + byKind.set(24, Codicon.symbolTypeParameter); + byKind.set(25, Codicon.account); + byKind.set(26, Codicon.issues); + function toIcon(kind) { + let codicon = byKind.get(kind); + if (!codicon) { + console.info("No codicon found for CompletionItemKind " + kind); + codicon = Codicon.symbolProperty; + } + return codicon; + } + CompletionItemKinds2.toIcon = toIcon; + const data = /* @__PURE__ */ new Map(); + data.set( + "method", + 0 + /* CompletionItemKind.Method */ + ); + data.set( + "function", + 1 + /* CompletionItemKind.Function */ + ); + data.set( + "constructor", + 2 + /* CompletionItemKind.Constructor */ + ); + data.set( + "field", + 3 + /* CompletionItemKind.Field */ + ); + data.set( + "variable", + 4 + /* CompletionItemKind.Variable */ + ); + data.set( + "class", + 5 + /* CompletionItemKind.Class */ + ); + data.set( + "struct", + 6 + /* CompletionItemKind.Struct */ + ); + data.set( + "interface", + 7 + /* CompletionItemKind.Interface */ + ); + data.set( + "module", + 8 + /* CompletionItemKind.Module */ + ); + data.set( + "property", + 9 + /* CompletionItemKind.Property */ + ); + data.set( + "event", + 10 + /* CompletionItemKind.Event */ + ); + data.set( + "operator", + 11 + /* CompletionItemKind.Operator */ + ); + data.set( + "unit", + 12 + /* CompletionItemKind.Unit */ + ); + data.set( + "value", + 13 + /* CompletionItemKind.Value */ + ); + data.set( + "constant", + 14 + /* CompletionItemKind.Constant */ + ); + data.set( + "enum", + 15 + /* CompletionItemKind.Enum */ + ); + data.set( + "enum-member", + 16 + /* CompletionItemKind.EnumMember */ + ); + data.set( + "enumMember", + 16 + /* CompletionItemKind.EnumMember */ + ); + data.set( + "keyword", + 17 + /* CompletionItemKind.Keyword */ + ); + data.set( + "snippet", + 27 + /* CompletionItemKind.Snippet */ + ); + data.set( + "text", + 18 + /* CompletionItemKind.Text */ + ); + data.set( + "color", + 19 + /* CompletionItemKind.Color */ + ); + data.set( + "file", + 20 + /* CompletionItemKind.File */ + ); + data.set( + "reference", + 21 + /* CompletionItemKind.Reference */ + ); + data.set( + "customcolor", + 22 + /* CompletionItemKind.Customcolor */ + ); + data.set( + "folder", + 23 + /* CompletionItemKind.Folder */ + ); + data.set( + "type-parameter", + 24 + /* CompletionItemKind.TypeParameter */ + ); + data.set( + "typeParameter", + 24 + /* CompletionItemKind.TypeParameter */ + ); + data.set( + "account", + 25 + /* CompletionItemKind.User */ + ); + data.set( + "issue", + 26 + /* CompletionItemKind.Issue */ + ); + function fromString(value, strict) { + let res = data.get(value); + if (typeof res === "undefined" && !strict) { + res = 9; + } + return res; + } + CompletionItemKinds2.fromString = fromString; + })(CompletionItemKinds || (CompletionItemKinds = {})); + var InlineCompletionTriggerKind; + (function(InlineCompletionTriggerKind3) { + InlineCompletionTriggerKind3[InlineCompletionTriggerKind3["Automatic"] = 0] = "Automatic"; + InlineCompletionTriggerKind3[InlineCompletionTriggerKind3["Explicit"] = 1] = "Explicit"; + })(InlineCompletionTriggerKind || (InlineCompletionTriggerKind = {})); + var DocumentPasteTriggerKind; + (function(DocumentPasteTriggerKind2) { + DocumentPasteTriggerKind2[DocumentPasteTriggerKind2["Automatic"] = 0] = "Automatic"; + DocumentPasteTriggerKind2[DocumentPasteTriggerKind2["PasteAs"] = 1] = "PasteAs"; + })(DocumentPasteTriggerKind || (DocumentPasteTriggerKind = {})); + var SignatureHelpTriggerKind; + (function(SignatureHelpTriggerKind3) { + SignatureHelpTriggerKind3[SignatureHelpTriggerKind3["Invoke"] = 1] = "Invoke"; + SignatureHelpTriggerKind3[SignatureHelpTriggerKind3["TriggerCharacter"] = 2] = "TriggerCharacter"; + SignatureHelpTriggerKind3[SignatureHelpTriggerKind3["ContentChange"] = 3] = "ContentChange"; + })(SignatureHelpTriggerKind || (SignatureHelpTriggerKind = {})); + var DocumentHighlightKind; + (function(DocumentHighlightKind3) { + DocumentHighlightKind3[DocumentHighlightKind3["Text"] = 0] = "Text"; + DocumentHighlightKind3[DocumentHighlightKind3["Read"] = 1] = "Read"; + DocumentHighlightKind3[DocumentHighlightKind3["Write"] = 2] = "Write"; + })(DocumentHighlightKind || (DocumentHighlightKind = {})); + var symbolKindNames = { + [ + 17 + /* SymbolKind.Array */ + ]: localize("Array", "array"), + [ + 16 + /* SymbolKind.Boolean */ + ]: localize("Boolean", "boolean"), + [ + 4 + /* SymbolKind.Class */ + ]: localize("Class", "class"), + [ + 13 + /* SymbolKind.Constant */ + ]: localize("Constant", "constant"), + [ + 8 + /* SymbolKind.Constructor */ + ]: localize("Constructor", "constructor"), + [ + 9 + /* SymbolKind.Enum */ + ]: localize("Enum", "enumeration"), + [ + 21 + /* SymbolKind.EnumMember */ + ]: localize("EnumMember", "enumeration member"), + [ + 23 + /* SymbolKind.Event */ + ]: localize("Event", "event"), + [ + 7 + /* SymbolKind.Field */ + ]: localize("Field", "field"), + [ + 0 + /* SymbolKind.File */ + ]: localize("File", "file"), + [ + 11 + /* SymbolKind.Function */ + ]: localize("Function", "function"), + [ + 10 + /* SymbolKind.Interface */ + ]: localize("Interface", "interface"), + [ + 19 + /* SymbolKind.Key */ + ]: localize("Key", "key"), + [ + 5 + /* SymbolKind.Method */ + ]: localize("Method", "method"), + [ + 1 + /* SymbolKind.Module */ + ]: localize("Module", "module"), + [ + 2 + /* SymbolKind.Namespace */ + ]: localize("Namespace", "namespace"), + [ + 20 + /* SymbolKind.Null */ + ]: localize("Null", "null"), + [ + 15 + /* SymbolKind.Number */ + ]: localize("Number", "number"), + [ + 18 + /* SymbolKind.Object */ + ]: localize("Object", "object"), + [ + 24 + /* SymbolKind.Operator */ + ]: localize("Operator", "operator"), + [ + 3 + /* SymbolKind.Package */ + ]: localize("Package", "package"), + [ + 6 + /* SymbolKind.Property */ + ]: localize("Property", "property"), + [ + 14 + /* SymbolKind.String */ + ]: localize("String", "string"), + [ + 22 + /* SymbolKind.Struct */ + ]: localize("Struct", "struct"), + [ + 25 + /* SymbolKind.TypeParameter */ + ]: localize("TypeParameter", "type parameter"), + [ + 12 + /* SymbolKind.Variable */ + ]: localize("Variable", "variable") + }; + var SymbolKinds; + (function(SymbolKinds2) { + const byKind = /* @__PURE__ */ new Map(); + byKind.set(0, Codicon.symbolFile); + byKind.set(1, Codicon.symbolModule); + byKind.set(2, Codicon.symbolNamespace); + byKind.set(3, Codicon.symbolPackage); + byKind.set(4, Codicon.symbolClass); + byKind.set(5, Codicon.symbolMethod); + byKind.set(6, Codicon.symbolProperty); + byKind.set(7, Codicon.symbolField); + byKind.set(8, Codicon.symbolConstructor); + byKind.set(9, Codicon.symbolEnum); + byKind.set(10, Codicon.symbolInterface); + byKind.set(11, Codicon.symbolFunction); + byKind.set(12, Codicon.symbolVariable); + byKind.set(13, Codicon.symbolConstant); + byKind.set(14, Codicon.symbolString); + byKind.set(15, Codicon.symbolNumber); + byKind.set(16, Codicon.symbolBoolean); + byKind.set(17, Codicon.symbolArray); + byKind.set(18, Codicon.symbolObject); + byKind.set(19, Codicon.symbolKey); + byKind.set(20, Codicon.symbolNull); + byKind.set(21, Codicon.symbolEnumMember); + byKind.set(22, Codicon.symbolStruct); + byKind.set(23, Codicon.symbolEvent); + byKind.set(24, Codicon.symbolOperator); + byKind.set(25, Codicon.symbolTypeParameter); + function toIcon(kind) { + let icon = byKind.get(kind); + if (!icon) { + console.info("No codicon found for SymbolKind " + kind); + icon = Codicon.symbolProperty; + } + return icon; + } + SymbolKinds2.toIcon = toIcon; + })(SymbolKinds || (SymbolKinds = {})); + var FoldingRangeKind = class _FoldingRangeKind { + static { + this.Comment = new _FoldingRangeKind("comment"); + } + static { + this.Imports = new _FoldingRangeKind("imports"); + } + static { + this.Region = new _FoldingRangeKind("region"); + } + /** + * Returns a {@link FoldingRangeKind} for the given value. + * + * @param value of the kind. + */ + static fromValue(value) { + switch (value) { + case "comment": + return _FoldingRangeKind.Comment; + case "imports": + return _FoldingRangeKind.Imports; + case "region": + return _FoldingRangeKind.Region; + } + return new _FoldingRangeKind(value); + } + /** + * Creates a new {@link FoldingRangeKind}. + * + * @param value of the kind. + */ + constructor(value) { + this.value = value; + } + }; + var NewSymbolNameTag; + (function(NewSymbolNameTag3) { + NewSymbolNameTag3[NewSymbolNameTag3["AIGenerated"] = 1] = "AIGenerated"; + })(NewSymbolNameTag || (NewSymbolNameTag = {})); + var NewSymbolNameTriggerKind; + (function(NewSymbolNameTriggerKind3) { + NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3["Invoke"] = 0] = "Invoke"; + NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3["Automatic"] = 1] = "Automatic"; + })(NewSymbolNameTriggerKind || (NewSymbolNameTriggerKind = {})); + var Command; + (function(Command2) { + function is(obj) { + if (!obj || typeof obj !== "object") { + return false; + } + return typeof obj.id === "string" && typeof obj.title === "string"; + } + Command2.is = is; + })(Command || (Command = {})); + var InlayHintKind; + (function(InlayHintKind3) { + InlayHintKind3[InlayHintKind3["Type"] = 1] = "Type"; + InlayHintKind3[InlayHintKind3["Parameter"] = 2] = "Parameter"; + })(InlayHintKind || (InlayHintKind = {})); + var TokenizationRegistry2 = new TokenizationRegistry(); + var TreeSitterTokenizationRegistry = new TokenizationRegistry(); + var InlineEditTriggerKind; + (function(InlineEditTriggerKind3) { + InlineEditTriggerKind3[InlineEditTriggerKind3["Invoke"] = 0] = "Invoke"; + InlineEditTriggerKind3[InlineEditTriggerKind3["Automatic"] = 1] = "Automatic"; + })(InlineEditTriggerKind || (InlineEditTriggerKind = {})); + + // node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneEnums.js + var AccessibilitySupport; + (function(AccessibilitySupport2) { + AccessibilitySupport2[AccessibilitySupport2["Unknown"] = 0] = "Unknown"; + AccessibilitySupport2[AccessibilitySupport2["Disabled"] = 1] = "Disabled"; + AccessibilitySupport2[AccessibilitySupport2["Enabled"] = 2] = "Enabled"; + })(AccessibilitySupport || (AccessibilitySupport = {})); + var CodeActionTriggerType; + (function(CodeActionTriggerType2) { + CodeActionTriggerType2[CodeActionTriggerType2["Invoke"] = 1] = "Invoke"; + CodeActionTriggerType2[CodeActionTriggerType2["Auto"] = 2] = "Auto"; + })(CodeActionTriggerType || (CodeActionTriggerType = {})); + var CompletionItemInsertTextRule; + (function(CompletionItemInsertTextRule2) { + CompletionItemInsertTextRule2[CompletionItemInsertTextRule2["None"] = 0] = "None"; + CompletionItemInsertTextRule2[CompletionItemInsertTextRule2["KeepWhitespace"] = 1] = "KeepWhitespace"; + CompletionItemInsertTextRule2[CompletionItemInsertTextRule2["InsertAsSnippet"] = 4] = "InsertAsSnippet"; + })(CompletionItemInsertTextRule || (CompletionItemInsertTextRule = {})); + var CompletionItemKind; + (function(CompletionItemKind2) { + CompletionItemKind2[CompletionItemKind2["Method"] = 0] = "Method"; + CompletionItemKind2[CompletionItemKind2["Function"] = 1] = "Function"; + CompletionItemKind2[CompletionItemKind2["Constructor"] = 2] = "Constructor"; + CompletionItemKind2[CompletionItemKind2["Field"] = 3] = "Field"; + CompletionItemKind2[CompletionItemKind2["Variable"] = 4] = "Variable"; + CompletionItemKind2[CompletionItemKind2["Class"] = 5] = "Class"; + CompletionItemKind2[CompletionItemKind2["Struct"] = 6] = "Struct"; + CompletionItemKind2[CompletionItemKind2["Interface"] = 7] = "Interface"; + CompletionItemKind2[CompletionItemKind2["Module"] = 8] = "Module"; + CompletionItemKind2[CompletionItemKind2["Property"] = 9] = "Property"; + CompletionItemKind2[CompletionItemKind2["Event"] = 10] = "Event"; + CompletionItemKind2[CompletionItemKind2["Operator"] = 11] = "Operator"; + CompletionItemKind2[CompletionItemKind2["Unit"] = 12] = "Unit"; + CompletionItemKind2[CompletionItemKind2["Value"] = 13] = "Value"; + CompletionItemKind2[CompletionItemKind2["Constant"] = 14] = "Constant"; + CompletionItemKind2[CompletionItemKind2["Enum"] = 15] = "Enum"; + CompletionItemKind2[CompletionItemKind2["EnumMember"] = 16] = "EnumMember"; + CompletionItemKind2[CompletionItemKind2["Keyword"] = 17] = "Keyword"; + CompletionItemKind2[CompletionItemKind2["Text"] = 18] = "Text"; + CompletionItemKind2[CompletionItemKind2["Color"] = 19] = "Color"; + CompletionItemKind2[CompletionItemKind2["File"] = 20] = "File"; + CompletionItemKind2[CompletionItemKind2["Reference"] = 21] = "Reference"; + CompletionItemKind2[CompletionItemKind2["Customcolor"] = 22] = "Customcolor"; + CompletionItemKind2[CompletionItemKind2["Folder"] = 23] = "Folder"; + CompletionItemKind2[CompletionItemKind2["TypeParameter"] = 24] = "TypeParameter"; + CompletionItemKind2[CompletionItemKind2["User"] = 25] = "User"; + CompletionItemKind2[CompletionItemKind2["Issue"] = 26] = "Issue"; + CompletionItemKind2[CompletionItemKind2["Snippet"] = 27] = "Snippet"; + })(CompletionItemKind || (CompletionItemKind = {})); + var CompletionItemTag; + (function(CompletionItemTag2) { + CompletionItemTag2[CompletionItemTag2["Deprecated"] = 1] = "Deprecated"; + })(CompletionItemTag || (CompletionItemTag = {})); + var CompletionTriggerKind; + (function(CompletionTriggerKind2) { + CompletionTriggerKind2[CompletionTriggerKind2["Invoke"] = 0] = "Invoke"; + CompletionTriggerKind2[CompletionTriggerKind2["TriggerCharacter"] = 1] = "TriggerCharacter"; + CompletionTriggerKind2[CompletionTriggerKind2["TriggerForIncompleteCompletions"] = 2] = "TriggerForIncompleteCompletions"; + })(CompletionTriggerKind || (CompletionTriggerKind = {})); + var ContentWidgetPositionPreference; + (function(ContentWidgetPositionPreference2) { + ContentWidgetPositionPreference2[ContentWidgetPositionPreference2["EXACT"] = 0] = "EXACT"; + ContentWidgetPositionPreference2[ContentWidgetPositionPreference2["ABOVE"] = 1] = "ABOVE"; + ContentWidgetPositionPreference2[ContentWidgetPositionPreference2["BELOW"] = 2] = "BELOW"; + })(ContentWidgetPositionPreference || (ContentWidgetPositionPreference = {})); + var CursorChangeReason; + (function(CursorChangeReason2) { + CursorChangeReason2[CursorChangeReason2["NotSet"] = 0] = "NotSet"; + CursorChangeReason2[CursorChangeReason2["ContentFlush"] = 1] = "ContentFlush"; + CursorChangeReason2[CursorChangeReason2["RecoverFromMarkers"] = 2] = "RecoverFromMarkers"; + CursorChangeReason2[CursorChangeReason2["Explicit"] = 3] = "Explicit"; + CursorChangeReason2[CursorChangeReason2["Paste"] = 4] = "Paste"; + CursorChangeReason2[CursorChangeReason2["Undo"] = 5] = "Undo"; + CursorChangeReason2[CursorChangeReason2["Redo"] = 6] = "Redo"; + })(CursorChangeReason || (CursorChangeReason = {})); + var DefaultEndOfLine; + (function(DefaultEndOfLine2) { + DefaultEndOfLine2[DefaultEndOfLine2["LF"] = 1] = "LF"; + DefaultEndOfLine2[DefaultEndOfLine2["CRLF"] = 2] = "CRLF"; + })(DefaultEndOfLine || (DefaultEndOfLine = {})); + var DocumentHighlightKind2; + (function(DocumentHighlightKind3) { + DocumentHighlightKind3[DocumentHighlightKind3["Text"] = 0] = "Text"; + DocumentHighlightKind3[DocumentHighlightKind3["Read"] = 1] = "Read"; + DocumentHighlightKind3[DocumentHighlightKind3["Write"] = 2] = "Write"; + })(DocumentHighlightKind2 || (DocumentHighlightKind2 = {})); + var EditorAutoIndentStrategy; + (function(EditorAutoIndentStrategy2) { + EditorAutoIndentStrategy2[EditorAutoIndentStrategy2["None"] = 0] = "None"; + EditorAutoIndentStrategy2[EditorAutoIndentStrategy2["Keep"] = 1] = "Keep"; + EditorAutoIndentStrategy2[EditorAutoIndentStrategy2["Brackets"] = 2] = "Brackets"; + EditorAutoIndentStrategy2[EditorAutoIndentStrategy2["Advanced"] = 3] = "Advanced"; + EditorAutoIndentStrategy2[EditorAutoIndentStrategy2["Full"] = 4] = "Full"; + })(EditorAutoIndentStrategy || (EditorAutoIndentStrategy = {})); + var EditorOption; + (function(EditorOption2) { + EditorOption2[EditorOption2["acceptSuggestionOnCommitCharacter"] = 0] = "acceptSuggestionOnCommitCharacter"; + EditorOption2[EditorOption2["acceptSuggestionOnEnter"] = 1] = "acceptSuggestionOnEnter"; + EditorOption2[EditorOption2["accessibilitySupport"] = 2] = "accessibilitySupport"; + EditorOption2[EditorOption2["accessibilityPageSize"] = 3] = "accessibilityPageSize"; + EditorOption2[EditorOption2["ariaLabel"] = 4] = "ariaLabel"; + EditorOption2[EditorOption2["ariaRequired"] = 5] = "ariaRequired"; + EditorOption2[EditorOption2["autoClosingBrackets"] = 6] = "autoClosingBrackets"; + EditorOption2[EditorOption2["autoClosingComments"] = 7] = "autoClosingComments"; + EditorOption2[EditorOption2["screenReaderAnnounceInlineSuggestion"] = 8] = "screenReaderAnnounceInlineSuggestion"; + EditorOption2[EditorOption2["autoClosingDelete"] = 9] = "autoClosingDelete"; + EditorOption2[EditorOption2["autoClosingOvertype"] = 10] = "autoClosingOvertype"; + EditorOption2[EditorOption2["autoClosingQuotes"] = 11] = "autoClosingQuotes"; + EditorOption2[EditorOption2["autoIndent"] = 12] = "autoIndent"; + EditorOption2[EditorOption2["automaticLayout"] = 13] = "automaticLayout"; + EditorOption2[EditorOption2["autoSurround"] = 14] = "autoSurround"; + EditorOption2[EditorOption2["bracketPairColorization"] = 15] = "bracketPairColorization"; + EditorOption2[EditorOption2["guides"] = 16] = "guides"; + EditorOption2[EditorOption2["codeLens"] = 17] = "codeLens"; + EditorOption2[EditorOption2["codeLensFontFamily"] = 18] = "codeLensFontFamily"; + EditorOption2[EditorOption2["codeLensFontSize"] = 19] = "codeLensFontSize"; + EditorOption2[EditorOption2["colorDecorators"] = 20] = "colorDecorators"; + EditorOption2[EditorOption2["colorDecoratorsLimit"] = 21] = "colorDecoratorsLimit"; + EditorOption2[EditorOption2["columnSelection"] = 22] = "columnSelection"; + EditorOption2[EditorOption2["comments"] = 23] = "comments"; + EditorOption2[EditorOption2["contextmenu"] = 24] = "contextmenu"; + EditorOption2[EditorOption2["copyWithSyntaxHighlighting"] = 25] = "copyWithSyntaxHighlighting"; + EditorOption2[EditorOption2["cursorBlinking"] = 26] = "cursorBlinking"; + EditorOption2[EditorOption2["cursorSmoothCaretAnimation"] = 27] = "cursorSmoothCaretAnimation"; + EditorOption2[EditorOption2["cursorStyle"] = 28] = "cursorStyle"; + EditorOption2[EditorOption2["cursorSurroundingLines"] = 29] = "cursorSurroundingLines"; + EditorOption2[EditorOption2["cursorSurroundingLinesStyle"] = 30] = "cursorSurroundingLinesStyle"; + EditorOption2[EditorOption2["cursorWidth"] = 31] = "cursorWidth"; + EditorOption2[EditorOption2["disableLayerHinting"] = 32] = "disableLayerHinting"; + EditorOption2[EditorOption2["disableMonospaceOptimizations"] = 33] = "disableMonospaceOptimizations"; + EditorOption2[EditorOption2["domReadOnly"] = 34] = "domReadOnly"; + EditorOption2[EditorOption2["dragAndDrop"] = 35] = "dragAndDrop"; + EditorOption2[EditorOption2["dropIntoEditor"] = 36] = "dropIntoEditor"; + EditorOption2[EditorOption2["emptySelectionClipboard"] = 37] = "emptySelectionClipboard"; + EditorOption2[EditorOption2["experimentalWhitespaceRendering"] = 38] = "experimentalWhitespaceRendering"; + EditorOption2[EditorOption2["extraEditorClassName"] = 39] = "extraEditorClassName"; + EditorOption2[EditorOption2["fastScrollSensitivity"] = 40] = "fastScrollSensitivity"; + EditorOption2[EditorOption2["find"] = 41] = "find"; + EditorOption2[EditorOption2["fixedOverflowWidgets"] = 42] = "fixedOverflowWidgets"; + EditorOption2[EditorOption2["folding"] = 43] = "folding"; + EditorOption2[EditorOption2["foldingStrategy"] = 44] = "foldingStrategy"; + EditorOption2[EditorOption2["foldingHighlight"] = 45] = "foldingHighlight"; + EditorOption2[EditorOption2["foldingImportsByDefault"] = 46] = "foldingImportsByDefault"; + EditorOption2[EditorOption2["foldingMaximumRegions"] = 47] = "foldingMaximumRegions"; + EditorOption2[EditorOption2["unfoldOnClickAfterEndOfLine"] = 48] = "unfoldOnClickAfterEndOfLine"; + EditorOption2[EditorOption2["fontFamily"] = 49] = "fontFamily"; + EditorOption2[EditorOption2["fontInfo"] = 50] = "fontInfo"; + EditorOption2[EditorOption2["fontLigatures"] = 51] = "fontLigatures"; + EditorOption2[EditorOption2["fontSize"] = 52] = "fontSize"; + EditorOption2[EditorOption2["fontWeight"] = 53] = "fontWeight"; + EditorOption2[EditorOption2["fontVariations"] = 54] = "fontVariations"; + EditorOption2[EditorOption2["formatOnPaste"] = 55] = "formatOnPaste"; + EditorOption2[EditorOption2["formatOnType"] = 56] = "formatOnType"; + EditorOption2[EditorOption2["glyphMargin"] = 57] = "glyphMargin"; + EditorOption2[EditorOption2["gotoLocation"] = 58] = "gotoLocation"; + EditorOption2[EditorOption2["hideCursorInOverviewRuler"] = 59] = "hideCursorInOverviewRuler"; + EditorOption2[EditorOption2["hover"] = 60] = "hover"; + EditorOption2[EditorOption2["inDiffEditor"] = 61] = "inDiffEditor"; + EditorOption2[EditorOption2["inlineSuggest"] = 62] = "inlineSuggest"; + EditorOption2[EditorOption2["inlineEdit"] = 63] = "inlineEdit"; + EditorOption2[EditorOption2["letterSpacing"] = 64] = "letterSpacing"; + EditorOption2[EditorOption2["lightbulb"] = 65] = "lightbulb"; + EditorOption2[EditorOption2["lineDecorationsWidth"] = 66] = "lineDecorationsWidth"; + EditorOption2[EditorOption2["lineHeight"] = 67] = "lineHeight"; + EditorOption2[EditorOption2["lineNumbers"] = 68] = "lineNumbers"; + EditorOption2[EditorOption2["lineNumbersMinChars"] = 69] = "lineNumbersMinChars"; + EditorOption2[EditorOption2["linkedEditing"] = 70] = "linkedEditing"; + EditorOption2[EditorOption2["links"] = 71] = "links"; + EditorOption2[EditorOption2["matchBrackets"] = 72] = "matchBrackets"; + EditorOption2[EditorOption2["minimap"] = 73] = "minimap"; + EditorOption2[EditorOption2["mouseStyle"] = 74] = "mouseStyle"; + EditorOption2[EditorOption2["mouseWheelScrollSensitivity"] = 75] = "mouseWheelScrollSensitivity"; + EditorOption2[EditorOption2["mouseWheelZoom"] = 76] = "mouseWheelZoom"; + EditorOption2[EditorOption2["multiCursorMergeOverlapping"] = 77] = "multiCursorMergeOverlapping"; + EditorOption2[EditorOption2["multiCursorModifier"] = 78] = "multiCursorModifier"; + EditorOption2[EditorOption2["multiCursorPaste"] = 79] = "multiCursorPaste"; + EditorOption2[EditorOption2["multiCursorLimit"] = 80] = "multiCursorLimit"; + EditorOption2[EditorOption2["occurrencesHighlight"] = 81] = "occurrencesHighlight"; + EditorOption2[EditorOption2["overviewRulerBorder"] = 82] = "overviewRulerBorder"; + EditorOption2[EditorOption2["overviewRulerLanes"] = 83] = "overviewRulerLanes"; + EditorOption2[EditorOption2["padding"] = 84] = "padding"; + EditorOption2[EditorOption2["pasteAs"] = 85] = "pasteAs"; + EditorOption2[EditorOption2["parameterHints"] = 86] = "parameterHints"; + EditorOption2[EditorOption2["peekWidgetDefaultFocus"] = 87] = "peekWidgetDefaultFocus"; + EditorOption2[EditorOption2["placeholder"] = 88] = "placeholder"; + EditorOption2[EditorOption2["definitionLinkOpensInPeek"] = 89] = "definitionLinkOpensInPeek"; + EditorOption2[EditorOption2["quickSuggestions"] = 90] = "quickSuggestions"; + EditorOption2[EditorOption2["quickSuggestionsDelay"] = 91] = "quickSuggestionsDelay"; + EditorOption2[EditorOption2["readOnly"] = 92] = "readOnly"; + EditorOption2[EditorOption2["readOnlyMessage"] = 93] = "readOnlyMessage"; + EditorOption2[EditorOption2["renameOnType"] = 94] = "renameOnType"; + EditorOption2[EditorOption2["renderControlCharacters"] = 95] = "renderControlCharacters"; + EditorOption2[EditorOption2["renderFinalNewline"] = 96] = "renderFinalNewline"; + EditorOption2[EditorOption2["renderLineHighlight"] = 97] = "renderLineHighlight"; + EditorOption2[EditorOption2["renderLineHighlightOnlyWhenFocus"] = 98] = "renderLineHighlightOnlyWhenFocus"; + EditorOption2[EditorOption2["renderValidationDecorations"] = 99] = "renderValidationDecorations"; + EditorOption2[EditorOption2["renderWhitespace"] = 100] = "renderWhitespace"; + EditorOption2[EditorOption2["revealHorizontalRightPadding"] = 101] = "revealHorizontalRightPadding"; + EditorOption2[EditorOption2["roundedSelection"] = 102] = "roundedSelection"; + EditorOption2[EditorOption2["rulers"] = 103] = "rulers"; + EditorOption2[EditorOption2["scrollbar"] = 104] = "scrollbar"; + EditorOption2[EditorOption2["scrollBeyondLastColumn"] = 105] = "scrollBeyondLastColumn"; + EditorOption2[EditorOption2["scrollBeyondLastLine"] = 106] = "scrollBeyondLastLine"; + EditorOption2[EditorOption2["scrollPredominantAxis"] = 107] = "scrollPredominantAxis"; + EditorOption2[EditorOption2["selectionClipboard"] = 108] = "selectionClipboard"; + EditorOption2[EditorOption2["selectionHighlight"] = 109] = "selectionHighlight"; + EditorOption2[EditorOption2["selectOnLineNumbers"] = 110] = "selectOnLineNumbers"; + EditorOption2[EditorOption2["showFoldingControls"] = 111] = "showFoldingControls"; + EditorOption2[EditorOption2["showUnused"] = 112] = "showUnused"; + EditorOption2[EditorOption2["snippetSuggestions"] = 113] = "snippetSuggestions"; + EditorOption2[EditorOption2["smartSelect"] = 114] = "smartSelect"; + EditorOption2[EditorOption2["smoothScrolling"] = 115] = "smoothScrolling"; + EditorOption2[EditorOption2["stickyScroll"] = 116] = "stickyScroll"; + EditorOption2[EditorOption2["stickyTabStops"] = 117] = "stickyTabStops"; + EditorOption2[EditorOption2["stopRenderingLineAfter"] = 118] = "stopRenderingLineAfter"; + EditorOption2[EditorOption2["suggest"] = 119] = "suggest"; + EditorOption2[EditorOption2["suggestFontSize"] = 120] = "suggestFontSize"; + EditorOption2[EditorOption2["suggestLineHeight"] = 121] = "suggestLineHeight"; + EditorOption2[EditorOption2["suggestOnTriggerCharacters"] = 122] = "suggestOnTriggerCharacters"; + EditorOption2[EditorOption2["suggestSelection"] = 123] = "suggestSelection"; + EditorOption2[EditorOption2["tabCompletion"] = 124] = "tabCompletion"; + EditorOption2[EditorOption2["tabIndex"] = 125] = "tabIndex"; + EditorOption2[EditorOption2["unicodeHighlighting"] = 126] = "unicodeHighlighting"; + EditorOption2[EditorOption2["unusualLineTerminators"] = 127] = "unusualLineTerminators"; + EditorOption2[EditorOption2["useShadowDOM"] = 128] = "useShadowDOM"; + EditorOption2[EditorOption2["useTabStops"] = 129] = "useTabStops"; + EditorOption2[EditorOption2["wordBreak"] = 130] = "wordBreak"; + EditorOption2[EditorOption2["wordSegmenterLocales"] = 131] = "wordSegmenterLocales"; + EditorOption2[EditorOption2["wordSeparators"] = 132] = "wordSeparators"; + EditorOption2[EditorOption2["wordWrap"] = 133] = "wordWrap"; + EditorOption2[EditorOption2["wordWrapBreakAfterCharacters"] = 134] = "wordWrapBreakAfterCharacters"; + EditorOption2[EditorOption2["wordWrapBreakBeforeCharacters"] = 135] = "wordWrapBreakBeforeCharacters"; + EditorOption2[EditorOption2["wordWrapColumn"] = 136] = "wordWrapColumn"; + EditorOption2[EditorOption2["wordWrapOverride1"] = 137] = "wordWrapOverride1"; + EditorOption2[EditorOption2["wordWrapOverride2"] = 138] = "wordWrapOverride2"; + EditorOption2[EditorOption2["wrappingIndent"] = 139] = "wrappingIndent"; + EditorOption2[EditorOption2["wrappingStrategy"] = 140] = "wrappingStrategy"; + EditorOption2[EditorOption2["showDeprecated"] = 141] = "showDeprecated"; + EditorOption2[EditorOption2["inlayHints"] = 142] = "inlayHints"; + EditorOption2[EditorOption2["editorClassName"] = 143] = "editorClassName"; + EditorOption2[EditorOption2["pixelRatio"] = 144] = "pixelRatio"; + EditorOption2[EditorOption2["tabFocusMode"] = 145] = "tabFocusMode"; + EditorOption2[EditorOption2["layoutInfo"] = 146] = "layoutInfo"; + EditorOption2[EditorOption2["wrappingInfo"] = 147] = "wrappingInfo"; + EditorOption2[EditorOption2["defaultColorDecorators"] = 148] = "defaultColorDecorators"; + EditorOption2[EditorOption2["colorDecoratorsActivatedOn"] = 149] = "colorDecoratorsActivatedOn"; + EditorOption2[EditorOption2["inlineCompletionsAccessibilityVerbose"] = 150] = "inlineCompletionsAccessibilityVerbose"; + })(EditorOption || (EditorOption = {})); + var EndOfLinePreference; + (function(EndOfLinePreference2) { + EndOfLinePreference2[EndOfLinePreference2["TextDefined"] = 0] = "TextDefined"; + EndOfLinePreference2[EndOfLinePreference2["LF"] = 1] = "LF"; + EndOfLinePreference2[EndOfLinePreference2["CRLF"] = 2] = "CRLF"; + })(EndOfLinePreference || (EndOfLinePreference = {})); + var EndOfLineSequence; + (function(EndOfLineSequence2) { + EndOfLineSequence2[EndOfLineSequence2["LF"] = 0] = "LF"; + EndOfLineSequence2[EndOfLineSequence2["CRLF"] = 1] = "CRLF"; + })(EndOfLineSequence || (EndOfLineSequence = {})); + var GlyphMarginLane; + (function(GlyphMarginLane3) { + GlyphMarginLane3[GlyphMarginLane3["Left"] = 1] = "Left"; + GlyphMarginLane3[GlyphMarginLane3["Center"] = 2] = "Center"; + GlyphMarginLane3[GlyphMarginLane3["Right"] = 3] = "Right"; + })(GlyphMarginLane || (GlyphMarginLane = {})); + var HoverVerbosityAction2; + (function(HoverVerbosityAction3) { + HoverVerbosityAction3[HoverVerbosityAction3["Increase"] = 0] = "Increase"; + HoverVerbosityAction3[HoverVerbosityAction3["Decrease"] = 1] = "Decrease"; + })(HoverVerbosityAction2 || (HoverVerbosityAction2 = {})); + var IndentAction; + (function(IndentAction2) { + IndentAction2[IndentAction2["None"] = 0] = "None"; + IndentAction2[IndentAction2["Indent"] = 1] = "Indent"; + IndentAction2[IndentAction2["IndentOutdent"] = 2] = "IndentOutdent"; + IndentAction2[IndentAction2["Outdent"] = 3] = "Outdent"; + })(IndentAction || (IndentAction = {})); + var InjectedTextCursorStops; + (function(InjectedTextCursorStops3) { + InjectedTextCursorStops3[InjectedTextCursorStops3["Both"] = 0] = "Both"; + InjectedTextCursorStops3[InjectedTextCursorStops3["Right"] = 1] = "Right"; + InjectedTextCursorStops3[InjectedTextCursorStops3["Left"] = 2] = "Left"; + InjectedTextCursorStops3[InjectedTextCursorStops3["None"] = 3] = "None"; + })(InjectedTextCursorStops || (InjectedTextCursorStops = {})); + var InlayHintKind2; + (function(InlayHintKind3) { + InlayHintKind3[InlayHintKind3["Type"] = 1] = "Type"; + InlayHintKind3[InlayHintKind3["Parameter"] = 2] = "Parameter"; + })(InlayHintKind2 || (InlayHintKind2 = {})); + var InlineCompletionTriggerKind2; + (function(InlineCompletionTriggerKind3) { + InlineCompletionTriggerKind3[InlineCompletionTriggerKind3["Automatic"] = 0] = "Automatic"; + InlineCompletionTriggerKind3[InlineCompletionTriggerKind3["Explicit"] = 1] = "Explicit"; + })(InlineCompletionTriggerKind2 || (InlineCompletionTriggerKind2 = {})); + var InlineEditTriggerKind2; + (function(InlineEditTriggerKind3) { + InlineEditTriggerKind3[InlineEditTriggerKind3["Invoke"] = 0] = "Invoke"; + InlineEditTriggerKind3[InlineEditTriggerKind3["Automatic"] = 1] = "Automatic"; + })(InlineEditTriggerKind2 || (InlineEditTriggerKind2 = {})); + var KeyCode; + (function(KeyCode2) { + KeyCode2[KeyCode2["DependsOnKbLayout"] = -1] = "DependsOnKbLayout"; + KeyCode2[KeyCode2["Unknown"] = 0] = "Unknown"; + KeyCode2[KeyCode2["Backspace"] = 1] = "Backspace"; + KeyCode2[KeyCode2["Tab"] = 2] = "Tab"; + KeyCode2[KeyCode2["Enter"] = 3] = "Enter"; + KeyCode2[KeyCode2["Shift"] = 4] = "Shift"; + KeyCode2[KeyCode2["Ctrl"] = 5] = "Ctrl"; + KeyCode2[KeyCode2["Alt"] = 6] = "Alt"; + KeyCode2[KeyCode2["PauseBreak"] = 7] = "PauseBreak"; + KeyCode2[KeyCode2["CapsLock"] = 8] = "CapsLock"; + KeyCode2[KeyCode2["Escape"] = 9] = "Escape"; + KeyCode2[KeyCode2["Space"] = 10] = "Space"; + KeyCode2[KeyCode2["PageUp"] = 11] = "PageUp"; + KeyCode2[KeyCode2["PageDown"] = 12] = "PageDown"; + KeyCode2[KeyCode2["End"] = 13] = "End"; + KeyCode2[KeyCode2["Home"] = 14] = "Home"; + KeyCode2[KeyCode2["LeftArrow"] = 15] = "LeftArrow"; + KeyCode2[KeyCode2["UpArrow"] = 16] = "UpArrow"; + KeyCode2[KeyCode2["RightArrow"] = 17] = "RightArrow"; + KeyCode2[KeyCode2["DownArrow"] = 18] = "DownArrow"; + KeyCode2[KeyCode2["Insert"] = 19] = "Insert"; + KeyCode2[KeyCode2["Delete"] = 20] = "Delete"; + KeyCode2[KeyCode2["Digit0"] = 21] = "Digit0"; + KeyCode2[KeyCode2["Digit1"] = 22] = "Digit1"; + KeyCode2[KeyCode2["Digit2"] = 23] = "Digit2"; + KeyCode2[KeyCode2["Digit3"] = 24] = "Digit3"; + KeyCode2[KeyCode2["Digit4"] = 25] = "Digit4"; + KeyCode2[KeyCode2["Digit5"] = 26] = "Digit5"; + KeyCode2[KeyCode2["Digit6"] = 27] = "Digit6"; + KeyCode2[KeyCode2["Digit7"] = 28] = "Digit7"; + KeyCode2[KeyCode2["Digit8"] = 29] = "Digit8"; + KeyCode2[KeyCode2["Digit9"] = 30] = "Digit9"; + KeyCode2[KeyCode2["KeyA"] = 31] = "KeyA"; + KeyCode2[KeyCode2["KeyB"] = 32] = "KeyB"; + KeyCode2[KeyCode2["KeyC"] = 33] = "KeyC"; + KeyCode2[KeyCode2["KeyD"] = 34] = "KeyD"; + KeyCode2[KeyCode2["KeyE"] = 35] = "KeyE"; + KeyCode2[KeyCode2["KeyF"] = 36] = "KeyF"; + KeyCode2[KeyCode2["KeyG"] = 37] = "KeyG"; + KeyCode2[KeyCode2["KeyH"] = 38] = "KeyH"; + KeyCode2[KeyCode2["KeyI"] = 39] = "KeyI"; + KeyCode2[KeyCode2["KeyJ"] = 40] = "KeyJ"; + KeyCode2[KeyCode2["KeyK"] = 41] = "KeyK"; + KeyCode2[KeyCode2["KeyL"] = 42] = "KeyL"; + KeyCode2[KeyCode2["KeyM"] = 43] = "KeyM"; + KeyCode2[KeyCode2["KeyN"] = 44] = "KeyN"; + KeyCode2[KeyCode2["KeyO"] = 45] = "KeyO"; + KeyCode2[KeyCode2["KeyP"] = 46] = "KeyP"; + KeyCode2[KeyCode2["KeyQ"] = 47] = "KeyQ"; + KeyCode2[KeyCode2["KeyR"] = 48] = "KeyR"; + KeyCode2[KeyCode2["KeyS"] = 49] = "KeyS"; + KeyCode2[KeyCode2["KeyT"] = 50] = "KeyT"; + KeyCode2[KeyCode2["KeyU"] = 51] = "KeyU"; + KeyCode2[KeyCode2["KeyV"] = 52] = "KeyV"; + KeyCode2[KeyCode2["KeyW"] = 53] = "KeyW"; + KeyCode2[KeyCode2["KeyX"] = 54] = "KeyX"; + KeyCode2[KeyCode2["KeyY"] = 55] = "KeyY"; + KeyCode2[KeyCode2["KeyZ"] = 56] = "KeyZ"; + KeyCode2[KeyCode2["Meta"] = 57] = "Meta"; + KeyCode2[KeyCode2["ContextMenu"] = 58] = "ContextMenu"; + KeyCode2[KeyCode2["F1"] = 59] = "F1"; + KeyCode2[KeyCode2["F2"] = 60] = "F2"; + KeyCode2[KeyCode2["F3"] = 61] = "F3"; + KeyCode2[KeyCode2["F4"] = 62] = "F4"; + KeyCode2[KeyCode2["F5"] = 63] = "F5"; + KeyCode2[KeyCode2["F6"] = 64] = "F6"; + KeyCode2[KeyCode2["F7"] = 65] = "F7"; + KeyCode2[KeyCode2["F8"] = 66] = "F8"; + KeyCode2[KeyCode2["F9"] = 67] = "F9"; + KeyCode2[KeyCode2["F10"] = 68] = "F10"; + KeyCode2[KeyCode2["F11"] = 69] = "F11"; + KeyCode2[KeyCode2["F12"] = 70] = "F12"; + KeyCode2[KeyCode2["F13"] = 71] = "F13"; + KeyCode2[KeyCode2["F14"] = 72] = "F14"; + KeyCode2[KeyCode2["F15"] = 73] = "F15"; + KeyCode2[KeyCode2["F16"] = 74] = "F16"; + KeyCode2[KeyCode2["F17"] = 75] = "F17"; + KeyCode2[KeyCode2["F18"] = 76] = "F18"; + KeyCode2[KeyCode2["F19"] = 77] = "F19"; + KeyCode2[KeyCode2["F20"] = 78] = "F20"; + KeyCode2[KeyCode2["F21"] = 79] = "F21"; + KeyCode2[KeyCode2["F22"] = 80] = "F22"; + KeyCode2[KeyCode2["F23"] = 81] = "F23"; + KeyCode2[KeyCode2["F24"] = 82] = "F24"; + KeyCode2[KeyCode2["NumLock"] = 83] = "NumLock"; + KeyCode2[KeyCode2["ScrollLock"] = 84] = "ScrollLock"; + KeyCode2[KeyCode2["Semicolon"] = 85] = "Semicolon"; + KeyCode2[KeyCode2["Equal"] = 86] = "Equal"; + KeyCode2[KeyCode2["Comma"] = 87] = "Comma"; + KeyCode2[KeyCode2["Minus"] = 88] = "Minus"; + KeyCode2[KeyCode2["Period"] = 89] = "Period"; + KeyCode2[KeyCode2["Slash"] = 90] = "Slash"; + KeyCode2[KeyCode2["Backquote"] = 91] = "Backquote"; + KeyCode2[KeyCode2["BracketLeft"] = 92] = "BracketLeft"; + KeyCode2[KeyCode2["Backslash"] = 93] = "Backslash"; + KeyCode2[KeyCode2["BracketRight"] = 94] = "BracketRight"; + KeyCode2[KeyCode2["Quote"] = 95] = "Quote"; + KeyCode2[KeyCode2["OEM_8"] = 96] = "OEM_8"; + KeyCode2[KeyCode2["IntlBackslash"] = 97] = "IntlBackslash"; + KeyCode2[KeyCode2["Numpad0"] = 98] = "Numpad0"; + KeyCode2[KeyCode2["Numpad1"] = 99] = "Numpad1"; + KeyCode2[KeyCode2["Numpad2"] = 100] = "Numpad2"; + KeyCode2[KeyCode2["Numpad3"] = 101] = "Numpad3"; + KeyCode2[KeyCode2["Numpad4"] = 102] = "Numpad4"; + KeyCode2[KeyCode2["Numpad5"] = 103] = "Numpad5"; + KeyCode2[KeyCode2["Numpad6"] = 104] = "Numpad6"; + KeyCode2[KeyCode2["Numpad7"] = 105] = "Numpad7"; + KeyCode2[KeyCode2["Numpad8"] = 106] = "Numpad8"; + KeyCode2[KeyCode2["Numpad9"] = 107] = "Numpad9"; + KeyCode2[KeyCode2["NumpadMultiply"] = 108] = "NumpadMultiply"; + KeyCode2[KeyCode2["NumpadAdd"] = 109] = "NumpadAdd"; + KeyCode2[KeyCode2["NUMPAD_SEPARATOR"] = 110] = "NUMPAD_SEPARATOR"; + KeyCode2[KeyCode2["NumpadSubtract"] = 111] = "NumpadSubtract"; + KeyCode2[KeyCode2["NumpadDecimal"] = 112] = "NumpadDecimal"; + KeyCode2[KeyCode2["NumpadDivide"] = 113] = "NumpadDivide"; + KeyCode2[KeyCode2["KEY_IN_COMPOSITION"] = 114] = "KEY_IN_COMPOSITION"; + KeyCode2[KeyCode2["ABNT_C1"] = 115] = "ABNT_C1"; + KeyCode2[KeyCode2["ABNT_C2"] = 116] = "ABNT_C2"; + KeyCode2[KeyCode2["AudioVolumeMute"] = 117] = "AudioVolumeMute"; + KeyCode2[KeyCode2["AudioVolumeUp"] = 118] = "AudioVolumeUp"; + KeyCode2[KeyCode2["AudioVolumeDown"] = 119] = "AudioVolumeDown"; + KeyCode2[KeyCode2["BrowserSearch"] = 120] = "BrowserSearch"; + KeyCode2[KeyCode2["BrowserHome"] = 121] = "BrowserHome"; + KeyCode2[KeyCode2["BrowserBack"] = 122] = "BrowserBack"; + KeyCode2[KeyCode2["BrowserForward"] = 123] = "BrowserForward"; + KeyCode2[KeyCode2["MediaTrackNext"] = 124] = "MediaTrackNext"; + KeyCode2[KeyCode2["MediaTrackPrevious"] = 125] = "MediaTrackPrevious"; + KeyCode2[KeyCode2["MediaStop"] = 126] = "MediaStop"; + KeyCode2[KeyCode2["MediaPlayPause"] = 127] = "MediaPlayPause"; + KeyCode2[KeyCode2["LaunchMediaPlayer"] = 128] = "LaunchMediaPlayer"; + KeyCode2[KeyCode2["LaunchMail"] = 129] = "LaunchMail"; + KeyCode2[KeyCode2["LaunchApp2"] = 130] = "LaunchApp2"; + KeyCode2[KeyCode2["Clear"] = 131] = "Clear"; + KeyCode2[KeyCode2["MAX_VALUE"] = 132] = "MAX_VALUE"; + })(KeyCode || (KeyCode = {})); + var MarkerSeverity; + (function(MarkerSeverity2) { + MarkerSeverity2[MarkerSeverity2["Hint"] = 1] = "Hint"; + MarkerSeverity2[MarkerSeverity2["Info"] = 2] = "Info"; + MarkerSeverity2[MarkerSeverity2["Warning"] = 4] = "Warning"; + MarkerSeverity2[MarkerSeverity2["Error"] = 8] = "Error"; + })(MarkerSeverity || (MarkerSeverity = {})); + var MarkerTag; + (function(MarkerTag2) { + MarkerTag2[MarkerTag2["Unnecessary"] = 1] = "Unnecessary"; + MarkerTag2[MarkerTag2["Deprecated"] = 2] = "Deprecated"; + })(MarkerTag || (MarkerTag = {})); + var MinimapPosition; + (function(MinimapPosition2) { + MinimapPosition2[MinimapPosition2["Inline"] = 1] = "Inline"; + MinimapPosition2[MinimapPosition2["Gutter"] = 2] = "Gutter"; + })(MinimapPosition || (MinimapPosition = {})); + var MinimapSectionHeaderStyle; + (function(MinimapSectionHeaderStyle2) { + MinimapSectionHeaderStyle2[MinimapSectionHeaderStyle2["Normal"] = 1] = "Normal"; + MinimapSectionHeaderStyle2[MinimapSectionHeaderStyle2["Underlined"] = 2] = "Underlined"; + })(MinimapSectionHeaderStyle || (MinimapSectionHeaderStyle = {})); + var MouseTargetType; + (function(MouseTargetType2) { + MouseTargetType2[MouseTargetType2["UNKNOWN"] = 0] = "UNKNOWN"; + MouseTargetType2[MouseTargetType2["TEXTAREA"] = 1] = "TEXTAREA"; + MouseTargetType2[MouseTargetType2["GUTTER_GLYPH_MARGIN"] = 2] = "GUTTER_GLYPH_MARGIN"; + MouseTargetType2[MouseTargetType2["GUTTER_LINE_NUMBERS"] = 3] = "GUTTER_LINE_NUMBERS"; + MouseTargetType2[MouseTargetType2["GUTTER_LINE_DECORATIONS"] = 4] = "GUTTER_LINE_DECORATIONS"; + MouseTargetType2[MouseTargetType2["GUTTER_VIEW_ZONE"] = 5] = "GUTTER_VIEW_ZONE"; + MouseTargetType2[MouseTargetType2["CONTENT_TEXT"] = 6] = "CONTENT_TEXT"; + MouseTargetType2[MouseTargetType2["CONTENT_EMPTY"] = 7] = "CONTENT_EMPTY"; + MouseTargetType2[MouseTargetType2["CONTENT_VIEW_ZONE"] = 8] = "CONTENT_VIEW_ZONE"; + MouseTargetType2[MouseTargetType2["CONTENT_WIDGET"] = 9] = "CONTENT_WIDGET"; + MouseTargetType2[MouseTargetType2["OVERVIEW_RULER"] = 10] = "OVERVIEW_RULER"; + MouseTargetType2[MouseTargetType2["SCROLLBAR"] = 11] = "SCROLLBAR"; + MouseTargetType2[MouseTargetType2["OVERLAY_WIDGET"] = 12] = "OVERLAY_WIDGET"; + MouseTargetType2[MouseTargetType2["OUTSIDE_EDITOR"] = 13] = "OUTSIDE_EDITOR"; + })(MouseTargetType || (MouseTargetType = {})); + var NewSymbolNameTag2; + (function(NewSymbolNameTag3) { + NewSymbolNameTag3[NewSymbolNameTag3["AIGenerated"] = 1] = "AIGenerated"; + })(NewSymbolNameTag2 || (NewSymbolNameTag2 = {})); + var NewSymbolNameTriggerKind2; + (function(NewSymbolNameTriggerKind3) { + NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3["Invoke"] = 0] = "Invoke"; + NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3["Automatic"] = 1] = "Automatic"; + })(NewSymbolNameTriggerKind2 || (NewSymbolNameTriggerKind2 = {})); + var OverlayWidgetPositionPreference; + (function(OverlayWidgetPositionPreference2) { + OverlayWidgetPositionPreference2[OverlayWidgetPositionPreference2["TOP_RIGHT_CORNER"] = 0] = "TOP_RIGHT_CORNER"; + OverlayWidgetPositionPreference2[OverlayWidgetPositionPreference2["BOTTOM_RIGHT_CORNER"] = 1] = "BOTTOM_RIGHT_CORNER"; + OverlayWidgetPositionPreference2[OverlayWidgetPositionPreference2["TOP_CENTER"] = 2] = "TOP_CENTER"; + })(OverlayWidgetPositionPreference || (OverlayWidgetPositionPreference = {})); + var OverviewRulerLane; + (function(OverviewRulerLane3) { + OverviewRulerLane3[OverviewRulerLane3["Left"] = 1] = "Left"; + OverviewRulerLane3[OverviewRulerLane3["Center"] = 2] = "Center"; + OverviewRulerLane3[OverviewRulerLane3["Right"] = 4] = "Right"; + OverviewRulerLane3[OverviewRulerLane3["Full"] = 7] = "Full"; + })(OverviewRulerLane || (OverviewRulerLane = {})); + var PartialAcceptTriggerKind; + (function(PartialAcceptTriggerKind2) { + PartialAcceptTriggerKind2[PartialAcceptTriggerKind2["Word"] = 0] = "Word"; + PartialAcceptTriggerKind2[PartialAcceptTriggerKind2["Line"] = 1] = "Line"; + PartialAcceptTriggerKind2[PartialAcceptTriggerKind2["Suggest"] = 2] = "Suggest"; + })(PartialAcceptTriggerKind || (PartialAcceptTriggerKind = {})); + var PositionAffinity; + (function(PositionAffinity2) { + PositionAffinity2[PositionAffinity2["Left"] = 0] = "Left"; + PositionAffinity2[PositionAffinity2["Right"] = 1] = "Right"; + PositionAffinity2[PositionAffinity2["None"] = 2] = "None"; + PositionAffinity2[PositionAffinity2["LeftOfInjectedText"] = 3] = "LeftOfInjectedText"; + PositionAffinity2[PositionAffinity2["RightOfInjectedText"] = 4] = "RightOfInjectedText"; + })(PositionAffinity || (PositionAffinity = {})); + var RenderLineNumbersType; + (function(RenderLineNumbersType2) { + RenderLineNumbersType2[RenderLineNumbersType2["Off"] = 0] = "Off"; + RenderLineNumbersType2[RenderLineNumbersType2["On"] = 1] = "On"; + RenderLineNumbersType2[RenderLineNumbersType2["Relative"] = 2] = "Relative"; + RenderLineNumbersType2[RenderLineNumbersType2["Interval"] = 3] = "Interval"; + RenderLineNumbersType2[RenderLineNumbersType2["Custom"] = 4] = "Custom"; + })(RenderLineNumbersType || (RenderLineNumbersType = {})); + var RenderMinimap; + (function(RenderMinimap2) { + RenderMinimap2[RenderMinimap2["None"] = 0] = "None"; + RenderMinimap2[RenderMinimap2["Text"] = 1] = "Text"; + RenderMinimap2[RenderMinimap2["Blocks"] = 2] = "Blocks"; + })(RenderMinimap || (RenderMinimap = {})); + var ScrollType; + (function(ScrollType2) { + ScrollType2[ScrollType2["Smooth"] = 0] = "Smooth"; + ScrollType2[ScrollType2["Immediate"] = 1] = "Immediate"; + })(ScrollType || (ScrollType = {})); + var ScrollbarVisibility; + (function(ScrollbarVisibility2) { + ScrollbarVisibility2[ScrollbarVisibility2["Auto"] = 1] = "Auto"; + ScrollbarVisibility2[ScrollbarVisibility2["Hidden"] = 2] = "Hidden"; + ScrollbarVisibility2[ScrollbarVisibility2["Visible"] = 3] = "Visible"; + })(ScrollbarVisibility || (ScrollbarVisibility = {})); + var SelectionDirection; + (function(SelectionDirection2) { + SelectionDirection2[SelectionDirection2["LTR"] = 0] = "LTR"; + SelectionDirection2[SelectionDirection2["RTL"] = 1] = "RTL"; + })(SelectionDirection || (SelectionDirection = {})); + var ShowLightbulbIconMode; + (function(ShowLightbulbIconMode2) { + ShowLightbulbIconMode2["Off"] = "off"; + ShowLightbulbIconMode2["OnCode"] = "onCode"; + ShowLightbulbIconMode2["On"] = "on"; + })(ShowLightbulbIconMode || (ShowLightbulbIconMode = {})); + var SignatureHelpTriggerKind2; + (function(SignatureHelpTriggerKind3) { + SignatureHelpTriggerKind3[SignatureHelpTriggerKind3["Invoke"] = 1] = "Invoke"; + SignatureHelpTriggerKind3[SignatureHelpTriggerKind3["TriggerCharacter"] = 2] = "TriggerCharacter"; + SignatureHelpTriggerKind3[SignatureHelpTriggerKind3["ContentChange"] = 3] = "ContentChange"; + })(SignatureHelpTriggerKind2 || (SignatureHelpTriggerKind2 = {})); + var SymbolKind; + (function(SymbolKind2) { + SymbolKind2[SymbolKind2["File"] = 0] = "File"; + SymbolKind2[SymbolKind2["Module"] = 1] = "Module"; + SymbolKind2[SymbolKind2["Namespace"] = 2] = "Namespace"; + SymbolKind2[SymbolKind2["Package"] = 3] = "Package"; + SymbolKind2[SymbolKind2["Class"] = 4] = "Class"; + SymbolKind2[SymbolKind2["Method"] = 5] = "Method"; + SymbolKind2[SymbolKind2["Property"] = 6] = "Property"; + SymbolKind2[SymbolKind2["Field"] = 7] = "Field"; + SymbolKind2[SymbolKind2["Constructor"] = 8] = "Constructor"; + SymbolKind2[SymbolKind2["Enum"] = 9] = "Enum"; + SymbolKind2[SymbolKind2["Interface"] = 10] = "Interface"; + SymbolKind2[SymbolKind2["Function"] = 11] = "Function"; + SymbolKind2[SymbolKind2["Variable"] = 12] = "Variable"; + SymbolKind2[SymbolKind2["Constant"] = 13] = "Constant"; + SymbolKind2[SymbolKind2["String"] = 14] = "String"; + SymbolKind2[SymbolKind2["Number"] = 15] = "Number"; + SymbolKind2[SymbolKind2["Boolean"] = 16] = "Boolean"; + SymbolKind2[SymbolKind2["Array"] = 17] = "Array"; + SymbolKind2[SymbolKind2["Object"] = 18] = "Object"; + SymbolKind2[SymbolKind2["Key"] = 19] = "Key"; + SymbolKind2[SymbolKind2["Null"] = 20] = "Null"; + SymbolKind2[SymbolKind2["EnumMember"] = 21] = "EnumMember"; + SymbolKind2[SymbolKind2["Struct"] = 22] = "Struct"; + SymbolKind2[SymbolKind2["Event"] = 23] = "Event"; + SymbolKind2[SymbolKind2["Operator"] = 24] = "Operator"; + SymbolKind2[SymbolKind2["TypeParameter"] = 25] = "TypeParameter"; + })(SymbolKind || (SymbolKind = {})); + var SymbolTag; + (function(SymbolTag2) { + SymbolTag2[SymbolTag2["Deprecated"] = 1] = "Deprecated"; + })(SymbolTag || (SymbolTag = {})); + var TextEditorCursorBlinkingStyle; + (function(TextEditorCursorBlinkingStyle2) { + TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2["Hidden"] = 0] = "Hidden"; + TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2["Blink"] = 1] = "Blink"; + TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2["Smooth"] = 2] = "Smooth"; + TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2["Phase"] = 3] = "Phase"; + TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2["Expand"] = 4] = "Expand"; + TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2["Solid"] = 5] = "Solid"; + })(TextEditorCursorBlinkingStyle || (TextEditorCursorBlinkingStyle = {})); + var TextEditorCursorStyle; + (function(TextEditorCursorStyle2) { + TextEditorCursorStyle2[TextEditorCursorStyle2["Line"] = 1] = "Line"; + TextEditorCursorStyle2[TextEditorCursorStyle2["Block"] = 2] = "Block"; + TextEditorCursorStyle2[TextEditorCursorStyle2["Underline"] = 3] = "Underline"; + TextEditorCursorStyle2[TextEditorCursorStyle2["LineThin"] = 4] = "LineThin"; + TextEditorCursorStyle2[TextEditorCursorStyle2["BlockOutline"] = 5] = "BlockOutline"; + TextEditorCursorStyle2[TextEditorCursorStyle2["UnderlineThin"] = 6] = "UnderlineThin"; + })(TextEditorCursorStyle || (TextEditorCursorStyle = {})); + var TrackedRangeStickiness; + (function(TrackedRangeStickiness2) { + TrackedRangeStickiness2[TrackedRangeStickiness2["AlwaysGrowsWhenTypingAtEdges"] = 0] = "AlwaysGrowsWhenTypingAtEdges"; + TrackedRangeStickiness2[TrackedRangeStickiness2["NeverGrowsWhenTypingAtEdges"] = 1] = "NeverGrowsWhenTypingAtEdges"; + TrackedRangeStickiness2[TrackedRangeStickiness2["GrowsOnlyWhenTypingBefore"] = 2] = "GrowsOnlyWhenTypingBefore"; + TrackedRangeStickiness2[TrackedRangeStickiness2["GrowsOnlyWhenTypingAfter"] = 3] = "GrowsOnlyWhenTypingAfter"; + })(TrackedRangeStickiness || (TrackedRangeStickiness = {})); + var WrappingIndent; + (function(WrappingIndent2) { + WrappingIndent2[WrappingIndent2["None"] = 0] = "None"; + WrappingIndent2[WrappingIndent2["Same"] = 1] = "Same"; + WrappingIndent2[WrappingIndent2["Indent"] = 2] = "Indent"; + WrappingIndent2[WrappingIndent2["DeepIndent"] = 3] = "DeepIndent"; + })(WrappingIndent || (WrappingIndent = {})); + + // node_modules/monaco-editor/esm/vs/editor/common/services/editorBaseApi.js + var KeyMod = class { + static { + this.CtrlCmd = 2048; + } + static { + this.Shift = 1024; + } + static { + this.Alt = 512; + } + static { + this.WinCtrl = 256; + } + static chord(firstPart, secondPart) { + return KeyChord(firstPart, secondPart); + } + }; + function createMonacoBaseAPI() { + return { + editor: void 0, + // undefined override expected here + languages: void 0, + // undefined override expected here + CancellationTokenSource, + Emitter, + KeyCode, + KeyMod, + Position, + Range, + Selection, + SelectionDirection, + MarkerSeverity, + MarkerTag, + Uri: URI, + Token + }; + } + + // node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerHost.js + var EditorWorkerHost = class _EditorWorkerHost { + static { + this.CHANNEL_NAME = "editorWorkerHost"; + } + static getChannel(workerServer) { + return workerServer.getChannel(_EditorWorkerHost.CHANNEL_NAME); + } + static setChannel(workerClient, obj) { + workerClient.setChannel(_EditorWorkerHost.CHANNEL_NAME, obj); + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/map.js + var _a; + var _b; + var ResourceMapEntry = class { + constructor(uri, value) { + this.uri = uri; + this.value = value; + } + }; + function isEntries(arg) { + return Array.isArray(arg); + } + var ResourceMap = class _ResourceMap { + static { + this.defaultToKey = (resource) => resource.toString(); + } + constructor(arg, toKey) { + this[_a] = "ResourceMap"; + if (arg instanceof _ResourceMap) { + this.map = new Map(arg.map); + this.toKey = toKey ?? _ResourceMap.defaultToKey; + } else if (isEntries(arg)) { + this.map = /* @__PURE__ */ new Map(); + this.toKey = toKey ?? _ResourceMap.defaultToKey; + for (const [resource, value] of arg) { + this.set(resource, value); + } + } else { + this.map = /* @__PURE__ */ new Map(); + this.toKey = arg ?? _ResourceMap.defaultToKey; + } + } + set(resource, value) { + this.map.set(this.toKey(resource), new ResourceMapEntry(resource, value)); + return this; + } + get(resource) { + return this.map.get(this.toKey(resource))?.value; + } + has(resource) { + return this.map.has(this.toKey(resource)); + } + get size() { + return this.map.size; + } + clear() { + this.map.clear(); + } + delete(resource) { + return this.map.delete(this.toKey(resource)); + } + forEach(clb, thisArg) { + if (typeof thisArg !== "undefined") { + clb = clb.bind(thisArg); + } + for (const [_, entry] of this.map) { + clb(entry.value, entry.uri, this); + } + } + *values() { + for (const entry of this.map.values()) { + yield entry.value; + } + } + *keys() { + for (const entry of this.map.values()) { + yield entry.uri; + } + } + *entries() { + for (const entry of this.map.values()) { + yield [entry.uri, entry.value]; + } + } + *[(_a = Symbol.toStringTag, Symbol.iterator)]() { + for (const [, entry] of this.map) { + yield [entry.uri, entry.value]; + } + } + }; + var LinkedMap = class { + constructor() { + this[_b] = "LinkedMap"; + this._map = /* @__PURE__ */ new Map(); + this._head = void 0; + this._tail = void 0; + this._size = 0; + this._state = 0; + } + clear() { + this._map.clear(); + this._head = void 0; + this._tail = void 0; + this._size = 0; + this._state++; + } + isEmpty() { + return !this._head && !this._tail; + } + get size() { + return this._size; + } + get first() { + return this._head?.value; + } + get last() { + return this._tail?.value; + } + has(key) { + return this._map.has(key); + } + get(key, touch = 0) { + const item = this._map.get(key); + if (!item) { + return void 0; + } + if (touch !== 0) { + this.touch(item, touch); + } + return item.value; + } + set(key, value, touch = 0) { + let item = this._map.get(key); + if (item) { + item.value = value; + if (touch !== 0) { + this.touch(item, touch); + } + } else { + item = { key, value, next: void 0, previous: void 0 }; + switch (touch) { + case 0: + this.addItemLast(item); + break; + case 1: + this.addItemFirst(item); + break; + case 2: + this.addItemLast(item); + break; + default: + this.addItemLast(item); + break; + } + this._map.set(key, item); + this._size++; + } + return this; + } + delete(key) { + return !!this.remove(key); + } + remove(key) { + const item = this._map.get(key); + if (!item) { + return void 0; + } + this._map.delete(key); + this.removeItem(item); + this._size--; + return item.value; + } + shift() { + if (!this._head && !this._tail) { + return void 0; + } + if (!this._head || !this._tail) { + throw new Error("Invalid list"); + } + const item = this._head; + this._map.delete(item.key); + this.removeItem(item); + this._size--; + return item.value; + } + forEach(callbackfn, thisArg) { + const state = this._state; + let current = this._head; + while (current) { + if (thisArg) { + callbackfn.bind(thisArg)(current.value, current.key, this); + } else { + callbackfn(current.value, current.key, this); + } + if (this._state !== state) { + throw new Error(`LinkedMap got modified during iteration.`); + } + current = current.next; + } + } + keys() { + const map = this; + const state = this._state; + let current = this._head; + const iterator = { + [Symbol.iterator]() { + return iterator; + }, + next() { + if (map._state !== state) { + throw new Error(`LinkedMap got modified during iteration.`); + } + if (current) { + const result = { value: current.key, done: false }; + current = current.next; + return result; + } else { + return { value: void 0, done: true }; + } + } + }; + return iterator; + } + values() { + const map = this; + const state = this._state; + let current = this._head; + const iterator = { + [Symbol.iterator]() { + return iterator; + }, + next() { + if (map._state !== state) { + throw new Error(`LinkedMap got modified during iteration.`); + } + if (current) { + const result = { value: current.value, done: false }; + current = current.next; + return result; + } else { + return { value: void 0, done: true }; + } + } + }; + return iterator; + } + entries() { + const map = this; + const state = this._state; + let current = this._head; + const iterator = { + [Symbol.iterator]() { + return iterator; + }, + next() { + if (map._state !== state) { + throw new Error(`LinkedMap got modified during iteration.`); + } + if (current) { + const result = { value: [current.key, current.value], done: false }; + current = current.next; + return result; + } else { + return { value: void 0, done: true }; + } + } + }; + return iterator; + } + [(_b = Symbol.toStringTag, Symbol.iterator)]() { + return this.entries(); + } + trimOld(newSize) { + if (newSize >= this.size) { + return; + } + if (newSize === 0) { + this.clear(); + return; + } + let current = this._head; + let currentSize = this.size; + while (current && currentSize > newSize) { + this._map.delete(current.key); + current = current.next; + currentSize--; + } + this._head = current; + this._size = currentSize; + if (current) { + current.previous = void 0; + } + this._state++; + } + trimNew(newSize) { + if (newSize >= this.size) { + return; + } + if (newSize === 0) { + this.clear(); + return; + } + let current = this._tail; + let currentSize = this.size; + while (current && currentSize > newSize) { + this._map.delete(current.key); + current = current.previous; + currentSize--; + } + this._tail = current; + this._size = currentSize; + if (current) { + current.next = void 0; + } + this._state++; + } + addItemFirst(item) { + if (!this._head && !this._tail) { + this._tail = item; + } else if (!this._head) { + throw new Error("Invalid list"); + } else { + item.next = this._head; + this._head.previous = item; + } + this._head = item; + this._state++; + } + addItemLast(item) { + if (!this._head && !this._tail) { + this._head = item; + } else if (!this._tail) { + throw new Error("Invalid list"); + } else { + item.previous = this._tail; + this._tail.next = item; + } + this._tail = item; + this._state++; + } + removeItem(item) { + if (item === this._head && item === this._tail) { + this._head = void 0; + this._tail = void 0; + } else if (item === this._head) { + if (!item.next) { + throw new Error("Invalid list"); + } + item.next.previous = void 0; + this._head = item.next; + } else if (item === this._tail) { + if (!item.previous) { + throw new Error("Invalid list"); + } + item.previous.next = void 0; + this._tail = item.previous; + } else { + const next = item.next; + const previous = item.previous; + if (!next || !previous) { + throw new Error("Invalid list"); + } + next.previous = previous; + previous.next = next; + } + item.next = void 0; + item.previous = void 0; + this._state++; + } + touch(item, touch) { + if (!this._head || !this._tail) { + throw new Error("Invalid list"); + } + if (touch !== 1 && touch !== 2) { + return; + } + if (touch === 1) { + if (item === this._head) { + return; + } + const next = item.next; + const previous = item.previous; + if (item === this._tail) { + previous.next = void 0; + this._tail = previous; + } else { + next.previous = previous; + previous.next = next; + } + item.previous = void 0; + item.next = this._head; + this._head.previous = item; + this._head = item; + this._state++; + } else if (touch === 2) { + if (item === this._tail) { + return; + } + const next = item.next; + const previous = item.previous; + if (item === this._head) { + next.previous = void 0; + this._head = next; + } else { + next.previous = previous; + previous.next = next; + } + item.next = void 0; + item.previous = this._tail; + this._tail.next = item; + this._tail = item; + this._state++; + } + } + toJSON() { + const data = []; + this.forEach((value, key) => { + data.push([key, value]); + }); + return data; + } + fromJSON(data) { + this.clear(); + for (const [key, value] of data) { + this.set(key, value); + } + } + }; + var Cache = class extends LinkedMap { + constructor(limit, ratio = 1) { + super(); + this._limit = limit; + this._ratio = Math.min(Math.max(0, ratio), 1); + } + get limit() { + return this._limit; + } + set limit(limit) { + this._limit = limit; + this.checkTrim(); + } + get(key, touch = 2) { + return super.get(key, touch); + } + peek(key) { + return super.get( + key, + 0 + /* Touch.None */ + ); + } + set(key, value) { + super.set( + key, + value, + 2 + /* Touch.AsNew */ + ); + return this; + } + checkTrim() { + if (this.size > this._limit) { + this.trim(Math.round(this._limit * this._ratio)); + } + } + }; + var LRUCache = class extends Cache { + constructor(limit, ratio = 1) { + super(limit, ratio); + } + trim(newSize) { + this.trimOld(newSize); + } + set(key, value) { + super.set(key, value); + this.checkTrim(); + return this; + } + }; + var SetMap = class { + constructor() { + this.map = /* @__PURE__ */ new Map(); + } + add(key, value) { + let values = this.map.get(key); + if (!values) { + values = /* @__PURE__ */ new Set(); + this.map.set(key, values); + } + values.add(value); + } + delete(key, value) { + const values = this.map.get(key); + if (!values) { + return; + } + values.delete(value); + if (values.size === 0) { + this.map.delete(key); + } + } + forEach(key, fn) { + const values = this.map.get(key); + if (!values) { + return; + } + values.forEach(fn); + } + get(key) { + const values = this.map.get(key); + if (!values) { + return /* @__PURE__ */ new Set(); + } + return values; + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/core/wordCharacterClassifier.js + var wordClassifierCache = new LRUCache(10); + + // node_modules/monaco-editor/esm/vs/base/common/objects.js + function getAllPropertyNames(obj) { + let res = []; + while (Object.prototype !== obj) { + res = res.concat(Object.getOwnPropertyNames(obj)); + obj = Object.getPrototypeOf(obj); + } + return res; + } + function getAllMethodNames(obj) { + const methods = []; + for (const prop of getAllPropertyNames(obj)) { + if (typeof obj[prop] === "function") { + methods.push(prop); + } + } + return methods; + } + function createProxyObject(methodNames, invoke) { + const createProxyMethod = (method) => { + return function() { + const args = Array.prototype.slice.call(arguments, 0); + return invoke(method, args); + }; + }; + const result = {}; + for (const methodName of methodNames) { + result[methodName] = createProxyMethod(methodName); + } + return result; + } + + // node_modules/monaco-editor/esm/vs/editor/common/model.js + var OverviewRulerLane2; + (function(OverviewRulerLane3) { + OverviewRulerLane3[OverviewRulerLane3["Left"] = 1] = "Left"; + OverviewRulerLane3[OverviewRulerLane3["Center"] = 2] = "Center"; + OverviewRulerLane3[OverviewRulerLane3["Right"] = 4] = "Right"; + OverviewRulerLane3[OverviewRulerLane3["Full"] = 7] = "Full"; + })(OverviewRulerLane2 || (OverviewRulerLane2 = {})); + var GlyphMarginLane2; + (function(GlyphMarginLane3) { + GlyphMarginLane3[GlyphMarginLane3["Left"] = 1] = "Left"; + GlyphMarginLane3[GlyphMarginLane3["Center"] = 2] = "Center"; + GlyphMarginLane3[GlyphMarginLane3["Right"] = 3] = "Right"; + })(GlyphMarginLane2 || (GlyphMarginLane2 = {})); + var InjectedTextCursorStops2; + (function(InjectedTextCursorStops3) { + InjectedTextCursorStops3[InjectedTextCursorStops3["Both"] = 0] = "Both"; + InjectedTextCursorStops3[InjectedTextCursorStops3["Right"] = 1] = "Right"; + InjectedTextCursorStops3[InjectedTextCursorStops3["Left"] = 2] = "Left"; + InjectedTextCursorStops3[InjectedTextCursorStops3["None"] = 3] = "None"; + })(InjectedTextCursorStops2 || (InjectedTextCursorStops2 = {})); + + // node_modules/monaco-editor/esm/vs/editor/common/model/textModelSearch.js + function leftIsWordBounday(wordSeparators, text, textLength, matchStartIndex, matchLength) { + if (matchStartIndex === 0) { + return true; + } + const charBefore = text.charCodeAt(matchStartIndex - 1); + if (wordSeparators.get(charBefore) !== 0) { + return true; + } + if (charBefore === 13 || charBefore === 10) { + return true; + } + if (matchLength > 0) { + const firstCharInMatch = text.charCodeAt(matchStartIndex); + if (wordSeparators.get(firstCharInMatch) !== 0) { + return true; + } + } + return false; + } + function rightIsWordBounday(wordSeparators, text, textLength, matchStartIndex, matchLength) { + if (matchStartIndex + matchLength === textLength) { + return true; + } + const charAfter = text.charCodeAt(matchStartIndex + matchLength); + if (wordSeparators.get(charAfter) !== 0) { + return true; + } + if (charAfter === 13 || charAfter === 10) { + return true; + } + if (matchLength > 0) { + const lastCharInMatch = text.charCodeAt(matchStartIndex + matchLength - 1); + if (wordSeparators.get(lastCharInMatch) !== 0) { + return true; + } + } + return false; + } + function isValidMatch(wordSeparators, text, textLength, matchStartIndex, matchLength) { + return leftIsWordBounday(wordSeparators, text, textLength, matchStartIndex, matchLength) && rightIsWordBounday(wordSeparators, text, textLength, matchStartIndex, matchLength); + } + var Searcher = class { + constructor(wordSeparators, searchRegex) { + this._wordSeparators = wordSeparators; + this._searchRegex = searchRegex; + this._prevMatchStartIndex = -1; + this._prevMatchLength = 0; + } + reset(lastIndex) { + this._searchRegex.lastIndex = lastIndex; + this._prevMatchStartIndex = -1; + this._prevMatchLength = 0; + } + next(text) { + const textLength = text.length; + let m; + do { + if (this._prevMatchStartIndex + this._prevMatchLength === textLength) { + return null; + } + m = this._searchRegex.exec(text); + if (!m) { + return null; + } + const matchStartIndex = m.index; + const matchLength = m[0].length; + if (matchStartIndex === this._prevMatchStartIndex && matchLength === this._prevMatchLength) { + if (matchLength === 0) { + if (getNextCodePoint(text, textLength, this._searchRegex.lastIndex) > 65535) { + this._searchRegex.lastIndex += 2; + } else { + this._searchRegex.lastIndex += 1; + } + continue; + } + return null; + } + this._prevMatchStartIndex = matchStartIndex; + this._prevMatchLength = matchLength; + if (!this._wordSeparators || isValidMatch(this._wordSeparators, text, textLength, matchStartIndex, matchLength)) { + return m; + } + } while (m); + return null; + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/assert.js + function assertNever(value, message = "Unreachable") { + throw new Error(message); + } + function assertFn(condition) { + if (!condition()) { + debugger; + condition(); + onUnexpectedError(new BugIndicatingError("Assertion Failed")); + } + } + function checkAdjacentItems(items, predicate) { + let i = 0; + while (i < items.length - 1) { + const a = items[i]; + const b = items[i + 1]; + if (!predicate(a, b)) { + return false; + } + i++; + } + return true; + } + + // node_modules/monaco-editor/esm/vs/editor/common/core/wordHelper.js + var USUAL_WORD_SEPARATORS = "`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?"; + function createWordRegExp(allowInWords = "") { + let source = "(-?\\d*\\.\\d\\w*)|([^"; + for (const sep2 of USUAL_WORD_SEPARATORS) { + if (allowInWords.indexOf(sep2) >= 0) { + continue; + } + source += "\\" + sep2; + } + source += "\\s]+)"; + return new RegExp(source, "g"); + } + var DEFAULT_WORD_REGEXP = createWordRegExp(); + function ensureValidWordDefinition(wordDefinition) { + let result = DEFAULT_WORD_REGEXP; + if (wordDefinition && wordDefinition instanceof RegExp) { + if (!wordDefinition.global) { + let flags = "g"; + if (wordDefinition.ignoreCase) { + flags += "i"; + } + if (wordDefinition.multiline) { + flags += "m"; + } + if (wordDefinition.unicode) { + flags += "u"; + } + result = new RegExp(wordDefinition.source, flags); + } else { + result = wordDefinition; + } + } + result.lastIndex = 0; + return result; + } + var _defaultConfig = new LinkedList(); + _defaultConfig.unshift({ + maxLen: 1e3, + windowSize: 15, + timeBudget: 150 + }); + function getWordAtText(column, wordDefinition, text, textOffset, config) { + wordDefinition = ensureValidWordDefinition(wordDefinition); + if (!config) { + config = Iterable.first(_defaultConfig); + } + if (text.length > config.maxLen) { + let start = column - config.maxLen / 2; + if (start < 0) { + start = 0; + } else { + textOffset += start; + } + text = text.substring(start, column + config.maxLen / 2); + return getWordAtText(column, wordDefinition, text, textOffset, config); + } + const t1 = Date.now(); + const pos = column - 1 - textOffset; + let prevRegexIndex = -1; + let match = null; + for (let i = 1; ; i++) { + if (Date.now() - t1 >= config.timeBudget) { + break; + } + const regexIndex = pos - config.windowSize * i; + wordDefinition.lastIndex = Math.max(0, regexIndex); + const thisMatch = _findRegexMatchEnclosingPosition(wordDefinition, text, pos, prevRegexIndex); + if (!thisMatch && match) { + break; + } + match = thisMatch; + if (regexIndex <= 0) { + break; + } + prevRegexIndex = regexIndex; + } + if (match) { + const result = { + word: match[0], + startColumn: textOffset + 1 + match.index, + endColumn: textOffset + 1 + match.index + match[0].length + }; + wordDefinition.lastIndex = 0; + return result; + } + return null; + } + function _findRegexMatchEnclosingPosition(wordDefinition, text, pos, stopPos) { + let match; + while (match = wordDefinition.exec(text)) { + const matchIndex = match.index || 0; + if (matchIndex <= pos && wordDefinition.lastIndex >= pos) { + return match; + } else if (stopPos > 0 && matchIndex > stopPos) { + return null; + } + } + return null; + } + + // node_modules/monaco-editor/esm/vs/editor/common/services/unicodeTextModelHighlighter.js + var UnicodeTextModelHighlighter = class { + static computeUnicodeHighlights(model, options, range) { + const startLine = range ? range.startLineNumber : 1; + const endLine = range ? range.endLineNumber : model.getLineCount(); + const codePointHighlighter = new CodePointHighlighter(options); + const candidates = codePointHighlighter.getCandidateCodePoints(); + let regex; + if (candidates === "allNonBasicAscii") { + regex = new RegExp("[^\\t\\n\\r\\x20-\\x7E]", "g"); + } else { + regex = new RegExp(`${buildRegExpCharClassExpr(Array.from(candidates))}`, "g"); + } + const searcher = new Searcher(null, regex); + const ranges = []; + let hasMore = false; + let m; + let ambiguousCharacterCount = 0; + let invisibleCharacterCount = 0; + let nonBasicAsciiCharacterCount = 0; + forLoop: for (let lineNumber = startLine, lineCount = endLine; lineNumber <= lineCount; lineNumber++) { + const lineContent = model.getLineContent(lineNumber); + const lineLength = lineContent.length; + searcher.reset(0); + do { + m = searcher.next(lineContent); + if (m) { + let startIndex = m.index; + let endIndex = m.index + m[0].length; + if (startIndex > 0) { + const charCodeBefore = lineContent.charCodeAt(startIndex - 1); + if (isHighSurrogate(charCodeBefore)) { + startIndex--; + } + } + if (endIndex + 1 < lineLength) { + const charCodeBefore = lineContent.charCodeAt(endIndex - 1); + if (isHighSurrogate(charCodeBefore)) { + endIndex++; + } + } + const str = lineContent.substring(startIndex, endIndex); + let word = getWordAtText(startIndex + 1, DEFAULT_WORD_REGEXP, lineContent, 0); + if (word && word.endColumn <= startIndex + 1) { + word = null; + } + const highlightReason = codePointHighlighter.shouldHighlightNonBasicASCII(str, word ? word.word : null); + if (highlightReason !== 0) { + if (highlightReason === 3) { + ambiguousCharacterCount++; + } else if (highlightReason === 2) { + invisibleCharacterCount++; + } else if (highlightReason === 1) { + nonBasicAsciiCharacterCount++; + } else { + assertNever(highlightReason); + } + const MAX_RESULT_LENGTH = 1e3; + if (ranges.length >= MAX_RESULT_LENGTH) { + hasMore = true; + break forLoop; + } + ranges.push(new Range(lineNumber, startIndex + 1, lineNumber, endIndex + 1)); + } + } + } while (m); + } + return { + ranges, + hasMore, + ambiguousCharacterCount, + invisibleCharacterCount, + nonBasicAsciiCharacterCount + }; + } + static computeUnicodeHighlightReason(char, options) { + const codePointHighlighter = new CodePointHighlighter(options); + const reason = codePointHighlighter.shouldHighlightNonBasicASCII(char, null); + switch (reason) { + case 0: + return null; + case 2: + return { + kind: 1 + /* UnicodeHighlighterReasonKind.Invisible */ + }; + case 3: { + const codePoint = char.codePointAt(0); + const primaryConfusable = codePointHighlighter.ambiguousCharacters.getPrimaryConfusable(codePoint); + const notAmbiguousInLocales = AmbiguousCharacters.getLocales().filter((l) => !AmbiguousCharacters.getInstance(/* @__PURE__ */ new Set([...options.allowedLocales, l])).isAmbiguous(codePoint)); + return { kind: 0, confusableWith: String.fromCodePoint(primaryConfusable), notAmbiguousInLocales }; + } + case 1: + return { + kind: 2 + /* UnicodeHighlighterReasonKind.NonBasicAscii */ + }; + } + } + }; + function buildRegExpCharClassExpr(codePoints, flags) { + const src = `[${escapeRegExpCharacters(codePoints.map((i) => String.fromCodePoint(i)).join(""))}]`; + return src; + } + var CodePointHighlighter = class { + constructor(options) { + this.options = options; + this.allowedCodePoints = new Set(options.allowedCodePoints); + this.ambiguousCharacters = AmbiguousCharacters.getInstance(new Set(options.allowedLocales)); + } + getCandidateCodePoints() { + if (this.options.nonBasicASCII) { + return "allNonBasicAscii"; + } + const set = /* @__PURE__ */ new Set(); + if (this.options.invisibleCharacters) { + for (const cp of InvisibleCharacters.codePoints) { + if (!isAllowedInvisibleCharacter(String.fromCodePoint(cp))) { + set.add(cp); + } + } + } + if (this.options.ambiguousCharacters) { + for (const cp of this.ambiguousCharacters.getConfusableCodePoints()) { + set.add(cp); + } + } + for (const cp of this.allowedCodePoints) { + set.delete(cp); + } + return set; + } + shouldHighlightNonBasicASCII(character, wordContext) { + const codePoint = character.codePointAt(0); + if (this.allowedCodePoints.has(codePoint)) { + return 0; + } + if (this.options.nonBasicASCII) { + return 1; + } + let hasBasicASCIICharacters = false; + let hasNonConfusableNonBasicAsciiCharacter = false; + if (wordContext) { + for (const char of wordContext) { + const codePoint2 = char.codePointAt(0); + const isBasicASCII2 = isBasicASCII(char); + hasBasicASCIICharacters = hasBasicASCIICharacters || isBasicASCII2; + if (!isBasicASCII2 && !this.ambiguousCharacters.isAmbiguous(codePoint2) && !InvisibleCharacters.isInvisibleCharacter(codePoint2)) { + hasNonConfusableNonBasicAsciiCharacter = true; + } + } + } + if ( + /* Don't allow mixing weird looking characters with ASCII */ + !hasBasicASCIICharacters && /* Is there an obviously weird looking character? */ + hasNonConfusableNonBasicAsciiCharacter + ) { + return 0; + } + if (this.options.invisibleCharacters) { + if (!isAllowedInvisibleCharacter(character) && InvisibleCharacters.isInvisibleCharacter(codePoint)) { + return 2; + } + } + if (this.options.ambiguousCharacters) { + if (this.ambiguousCharacters.isAmbiguous(codePoint)) { + return 3; + } + } + return 0; + } + }; + function isAllowedInvisibleCharacter(character) { + return character === " " || character === "\n" || character === " "; + } + + // node_modules/monaco-editor/esm/vs/editor/common/diff/linesDiffComputer.js + var LinesDiff = class { + constructor(changes, moves, hitTimeout) { + this.changes = changes; + this.moves = moves; + this.hitTimeout = hitTimeout; + } + }; + var MovedText = class { + constructor(lineRangeMapping, changes) { + this.lineRangeMapping = lineRangeMapping; + this.changes = changes; + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/core/offsetRange.js + var OffsetRange = class _OffsetRange { + static addRange(range, sortedRanges) { + let i = 0; + while (i < sortedRanges.length && sortedRanges[i].endExclusive < range.start) { + i++; + } + let j = i; + while (j < sortedRanges.length && sortedRanges[j].start <= range.endExclusive) { + j++; + } + if (i === j) { + sortedRanges.splice(i, 0, range); + } else { + const start = Math.min(range.start, sortedRanges[i].start); + const end = Math.max(range.endExclusive, sortedRanges[j - 1].endExclusive); + sortedRanges.splice(i, j - i, new _OffsetRange(start, end)); + } + } + static tryCreate(start, endExclusive) { + if (start > endExclusive) { + return void 0; + } + return new _OffsetRange(start, endExclusive); + } + static ofLength(length) { + return new _OffsetRange(0, length); + } + static ofStartAndLength(start, length) { + return new _OffsetRange(start, start + length); + } + constructor(start, endExclusive) { + this.start = start; + this.endExclusive = endExclusive; + if (start > endExclusive) { + throw new BugIndicatingError(`Invalid range: ${this.toString()}`); + } + } + get isEmpty() { + return this.start === this.endExclusive; + } + delta(offset) { + return new _OffsetRange(this.start + offset, this.endExclusive + offset); + } + deltaStart(offset) { + return new _OffsetRange(this.start + offset, this.endExclusive); + } + deltaEnd(offset) { + return new _OffsetRange(this.start, this.endExclusive + offset); + } + get length() { + return this.endExclusive - this.start; + } + toString() { + return `[${this.start}, ${this.endExclusive})`; + } + contains(offset) { + return this.start <= offset && offset < this.endExclusive; + } + /** + * for all numbers n: range1.contains(n) or range2.contains(n) => range1.join(range2).contains(n) + * The joined range is the smallest range that contains both ranges. + */ + join(other) { + return new _OffsetRange(Math.min(this.start, other.start), Math.max(this.endExclusive, other.endExclusive)); + } + /** + * for all numbers n: range1.contains(n) and range2.contains(n) <=> range1.intersect(range2).contains(n) + * + * The resulting range is empty if the ranges do not intersect, but touch. + * If the ranges don't even touch, the result is undefined. + */ + intersect(other) { + const start = Math.max(this.start, other.start); + const end = Math.min(this.endExclusive, other.endExclusive); + if (start <= end) { + return new _OffsetRange(start, end); + } + return void 0; + } + intersects(other) { + const start = Math.max(this.start, other.start); + const end = Math.min(this.endExclusive, other.endExclusive); + return start < end; + } + isBefore(other) { + return this.endExclusive <= other.start; + } + isAfter(other) { + return this.start >= other.endExclusive; + } + slice(arr) { + return arr.slice(this.start, this.endExclusive); + } + substring(str) { + return str.substring(this.start, this.endExclusive); + } + /** + * Returns the given value if it is contained in this instance, otherwise the closest value that is contained. + * The range must not be empty. + */ + clip(value) { + if (this.isEmpty) { + throw new BugIndicatingError(`Invalid clipping range: ${this.toString()}`); + } + return Math.max(this.start, Math.min(this.endExclusive - 1, value)); + } + /** + * Returns `r := value + k * length` such that `r` is contained in this range. + * The range must not be empty. + * + * E.g. `[5, 10).clipCyclic(10) === 5`, `[5, 10).clipCyclic(11) === 6` and `[5, 10).clipCyclic(4) === 9`. + */ + clipCyclic(value) { + if (this.isEmpty) { + throw new BugIndicatingError(`Invalid clipping range: ${this.toString()}`); + } + if (value < this.start) { + return this.endExclusive - (this.start - value) % this.length; + } + if (value >= this.endExclusive) { + return this.start + (value - this.start) % this.length; + } + return value; + } + forEach(f) { + for (let i = this.start; i < this.endExclusive; i++) { + f(i); + } + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/arraysFind.js + function findLastMonotonous(array, predicate) { + const idx = findLastIdxMonotonous(array, predicate); + return idx === -1 ? void 0 : array[idx]; + } + function findLastIdxMonotonous(array, predicate, startIdx = 0, endIdxEx = array.length) { + let i = startIdx; + let j = endIdxEx; + while (i < j) { + const k = Math.floor((i + j) / 2); + if (predicate(array[k])) { + i = k + 1; + } else { + j = k; + } + } + return i - 1; + } + function findFirstMonotonous(array, predicate) { + const idx = findFirstIdxMonotonousOrArrLen(array, predicate); + return idx === array.length ? void 0 : array[idx]; + } + function findFirstIdxMonotonousOrArrLen(array, predicate, startIdx = 0, endIdxEx = array.length) { + let i = startIdx; + let j = endIdxEx; + while (i < j) { + const k = Math.floor((i + j) / 2); + if (predicate(array[k])) { + j = k; + } else { + i = k + 1; + } + } + return i; + } + var MonotonousArray = class _MonotonousArray { + static { + this.assertInvariants = false; + } + constructor(_array) { + this._array = _array; + this._findLastMonotonousLastIdx = 0; + } + /** + * The predicate must be monotonous, i.e. `arr.map(predicate)` must be like `[true, ..., true, false, ..., false]`! + * For subsequent calls, current predicate must be weaker than (or equal to) the previous predicate, i.e. more entries must be `true`. + */ + findLastMonotonous(predicate) { + if (_MonotonousArray.assertInvariants) { + if (this._prevFindLastPredicate) { + for (const item of this._array) { + if (this._prevFindLastPredicate(item) && !predicate(item)) { + throw new Error("MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate."); + } + } + } + this._prevFindLastPredicate = predicate; + } + const idx = findLastIdxMonotonous(this._array, predicate, this._findLastMonotonousLastIdx); + this._findLastMonotonousLastIdx = idx + 1; + return idx === -1 ? void 0 : this._array[idx]; + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/core/lineRange.js + var LineRange = class _LineRange { + static fromRangeInclusive(range) { + return new _LineRange(range.startLineNumber, range.endLineNumber + 1); + } + /** + * @param lineRanges An array of sorted line ranges. + */ + static joinMany(lineRanges) { + if (lineRanges.length === 0) { + return []; + } + let result = new LineRangeSet(lineRanges[0].slice()); + for (let i = 1; i < lineRanges.length; i++) { + result = result.getUnion(new LineRangeSet(lineRanges[i].slice())); + } + return result.ranges; + } + static join(lineRanges) { + if (lineRanges.length === 0) { + throw new BugIndicatingError("lineRanges cannot be empty"); + } + let startLineNumber = lineRanges[0].startLineNumber; + let endLineNumberExclusive = lineRanges[0].endLineNumberExclusive; + for (let i = 1; i < lineRanges.length; i++) { + startLineNumber = Math.min(startLineNumber, lineRanges[i].startLineNumber); + endLineNumberExclusive = Math.max(endLineNumberExclusive, lineRanges[i].endLineNumberExclusive); + } + return new _LineRange(startLineNumber, endLineNumberExclusive); + } + static ofLength(startLineNumber, length) { + return new _LineRange(startLineNumber, startLineNumber + length); + } + /** + * @internal + */ + static deserialize(lineRange) { + return new _LineRange(lineRange[0], lineRange[1]); + } + constructor(startLineNumber, endLineNumberExclusive) { + if (startLineNumber > endLineNumberExclusive) { + throw new BugIndicatingError(`startLineNumber ${startLineNumber} cannot be after endLineNumberExclusive ${endLineNumberExclusive}`); + } + this.startLineNumber = startLineNumber; + this.endLineNumberExclusive = endLineNumberExclusive; + } + /** + * Indicates if this line range contains the given line number. + */ + contains(lineNumber) { + return this.startLineNumber <= lineNumber && lineNumber < this.endLineNumberExclusive; + } + /** + * Indicates if this line range is empty. + */ + get isEmpty() { + return this.startLineNumber === this.endLineNumberExclusive; + } + /** + * Moves this line range by the given offset of line numbers. + */ + delta(offset) { + return new _LineRange(this.startLineNumber + offset, this.endLineNumberExclusive + offset); + } + deltaLength(offset) { + return new _LineRange(this.startLineNumber, this.endLineNumberExclusive + offset); + } + /** + * The number of lines this line range spans. + */ + get length() { + return this.endLineNumberExclusive - this.startLineNumber; + } + /** + * Creates a line range that combines this and the given line range. + */ + join(other) { + return new _LineRange(Math.min(this.startLineNumber, other.startLineNumber), Math.max(this.endLineNumberExclusive, other.endLineNumberExclusive)); + } + toString() { + return `[${this.startLineNumber},${this.endLineNumberExclusive})`; + } + /** + * The resulting range is empty if the ranges do not intersect, but touch. + * If the ranges don't even touch, the result is undefined. + */ + intersect(other) { + const startLineNumber = Math.max(this.startLineNumber, other.startLineNumber); + const endLineNumberExclusive = Math.min(this.endLineNumberExclusive, other.endLineNumberExclusive); + if (startLineNumber <= endLineNumberExclusive) { + return new _LineRange(startLineNumber, endLineNumberExclusive); + } + return void 0; + } + intersectsStrict(other) { + return this.startLineNumber < other.endLineNumberExclusive && other.startLineNumber < this.endLineNumberExclusive; + } + overlapOrTouch(other) { + return this.startLineNumber <= other.endLineNumberExclusive && other.startLineNumber <= this.endLineNumberExclusive; + } + equals(b) { + return this.startLineNumber === b.startLineNumber && this.endLineNumberExclusive === b.endLineNumberExclusive; + } + toInclusiveRange() { + if (this.isEmpty) { + return null; + } + return new Range(this.startLineNumber, 1, this.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER); + } + /** + * @deprecated Using this function is discouraged because it might lead to bugs: The end position is not guaranteed to be a valid position! + */ + toExclusiveRange() { + return new Range(this.startLineNumber, 1, this.endLineNumberExclusive, 1); + } + mapToLineArray(f) { + const result = []; + for (let lineNumber = this.startLineNumber; lineNumber < this.endLineNumberExclusive; lineNumber++) { + result.push(f(lineNumber)); + } + return result; + } + forEach(f) { + for (let lineNumber = this.startLineNumber; lineNumber < this.endLineNumberExclusive; lineNumber++) { + f(lineNumber); + } + } + /** + * @internal + */ + serialize() { + return [this.startLineNumber, this.endLineNumberExclusive]; + } + includes(lineNumber) { + return this.startLineNumber <= lineNumber && lineNumber < this.endLineNumberExclusive; + } + /** + * Converts this 1-based line range to a 0-based offset range (subtracts 1!). + * @internal + */ + toOffsetRange() { + return new OffsetRange(this.startLineNumber - 1, this.endLineNumberExclusive - 1); + } + }; + var LineRangeSet = class _LineRangeSet { + constructor(_normalizedRanges = []) { + this._normalizedRanges = _normalizedRanges; + } + get ranges() { + return this._normalizedRanges; + } + addRange(range) { + if (range.length === 0) { + return; + } + const joinRangeStartIdx = findFirstIdxMonotonousOrArrLen(this._normalizedRanges, (r) => r.endLineNumberExclusive >= range.startLineNumber); + const joinRangeEndIdxExclusive = findLastIdxMonotonous(this._normalizedRanges, (r) => r.startLineNumber <= range.endLineNumberExclusive) + 1; + if (joinRangeStartIdx === joinRangeEndIdxExclusive) { + this._normalizedRanges.splice(joinRangeStartIdx, 0, range); + } else if (joinRangeStartIdx === joinRangeEndIdxExclusive - 1) { + const joinRange = this._normalizedRanges[joinRangeStartIdx]; + this._normalizedRanges[joinRangeStartIdx] = joinRange.join(range); + } else { + const joinRange = this._normalizedRanges[joinRangeStartIdx].join(this._normalizedRanges[joinRangeEndIdxExclusive - 1]).join(range); + this._normalizedRanges.splice(joinRangeStartIdx, joinRangeEndIdxExclusive - joinRangeStartIdx, joinRange); + } + } + contains(lineNumber) { + const rangeThatStartsBeforeEnd = findLastMonotonous(this._normalizedRanges, (r) => r.startLineNumber <= lineNumber); + return !!rangeThatStartsBeforeEnd && rangeThatStartsBeforeEnd.endLineNumberExclusive > lineNumber; + } + intersects(range) { + const rangeThatStartsBeforeEnd = findLastMonotonous(this._normalizedRanges, (r) => r.startLineNumber < range.endLineNumberExclusive); + return !!rangeThatStartsBeforeEnd && rangeThatStartsBeforeEnd.endLineNumberExclusive > range.startLineNumber; + } + getUnion(other) { + if (this._normalizedRanges.length === 0) { + return other; + } + if (other._normalizedRanges.length === 0) { + return this; + } + const result = []; + let i1 = 0; + let i2 = 0; + let current = null; + while (i1 < this._normalizedRanges.length || i2 < other._normalizedRanges.length) { + let next = null; + if (i1 < this._normalizedRanges.length && i2 < other._normalizedRanges.length) { + const lineRange1 = this._normalizedRanges[i1]; + const lineRange2 = other._normalizedRanges[i2]; + if (lineRange1.startLineNumber < lineRange2.startLineNumber) { + next = lineRange1; + i1++; + } else { + next = lineRange2; + i2++; + } + } else if (i1 < this._normalizedRanges.length) { + next = this._normalizedRanges[i1]; + i1++; + } else { + next = other._normalizedRanges[i2]; + i2++; + } + if (current === null) { + current = next; + } else { + if (current.endLineNumberExclusive >= next.startLineNumber) { + current = new LineRange(current.startLineNumber, Math.max(current.endLineNumberExclusive, next.endLineNumberExclusive)); + } else { + result.push(current); + current = next; + } + } + } + if (current !== null) { + result.push(current); + } + return new _LineRangeSet(result); + } + /** + * Subtracts all ranges in this set from `range` and returns the result. + */ + subtractFrom(range) { + const joinRangeStartIdx = findFirstIdxMonotonousOrArrLen(this._normalizedRanges, (r) => r.endLineNumberExclusive >= range.startLineNumber); + const joinRangeEndIdxExclusive = findLastIdxMonotonous(this._normalizedRanges, (r) => r.startLineNumber <= range.endLineNumberExclusive) + 1; + if (joinRangeStartIdx === joinRangeEndIdxExclusive) { + return new _LineRangeSet([range]); + } + const result = []; + let startLineNumber = range.startLineNumber; + for (let i = joinRangeStartIdx; i < joinRangeEndIdxExclusive; i++) { + const r = this._normalizedRanges[i]; + if (r.startLineNumber > startLineNumber) { + result.push(new LineRange(startLineNumber, r.startLineNumber)); + } + startLineNumber = r.endLineNumberExclusive; + } + if (startLineNumber < range.endLineNumberExclusive) { + result.push(new LineRange(startLineNumber, range.endLineNumberExclusive)); + } + return new _LineRangeSet(result); + } + toString() { + return this._normalizedRanges.map((r) => r.toString()).join(", "); + } + getIntersection(other) { + const result = []; + let i1 = 0; + let i2 = 0; + while (i1 < this._normalizedRanges.length && i2 < other._normalizedRanges.length) { + const r1 = this._normalizedRanges[i1]; + const r2 = other._normalizedRanges[i2]; + const i = r1.intersect(r2); + if (i && !i.isEmpty) { + result.push(i); + } + if (r1.endLineNumberExclusive < r2.endLineNumberExclusive) { + i1++; + } else { + i2++; + } + } + return new _LineRangeSet(result); + } + getWithDelta(value) { + return new _LineRangeSet(this._normalizedRanges.map((r) => r.delta(value))); + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/core/textLength.js + var TextLength = class _TextLength { + static { + this.zero = new _TextLength(0, 0); + } + static betweenPositions(position1, position2) { + if (position1.lineNumber === position2.lineNumber) { + return new _TextLength(0, position2.column - position1.column); + } else { + return new _TextLength(position2.lineNumber - position1.lineNumber, position2.column - 1); + } + } + static ofRange(range) { + return _TextLength.betweenPositions(range.getStartPosition(), range.getEndPosition()); + } + static ofText(text) { + let line = 0; + let column = 0; + for (const c of text) { + if (c === "\n") { + line++; + column = 0; + } else { + column++; + } + } + return new _TextLength(line, column); + } + constructor(lineCount, columnCount) { + this.lineCount = lineCount; + this.columnCount = columnCount; + } + isGreaterThanOrEqualTo(other) { + if (this.lineCount !== other.lineCount) { + return this.lineCount > other.lineCount; + } + return this.columnCount >= other.columnCount; + } + createRange(startPosition) { + if (this.lineCount === 0) { + return new Range(startPosition.lineNumber, startPosition.column, startPosition.lineNumber, startPosition.column + this.columnCount); + } else { + return new Range(startPosition.lineNumber, startPosition.column, startPosition.lineNumber + this.lineCount, this.columnCount + 1); + } + } + addToPosition(position) { + if (this.lineCount === 0) { + return new Position(position.lineNumber, position.column + this.columnCount); + } else { + return new Position(position.lineNumber + this.lineCount, this.columnCount + 1); + } + } + toString() { + return `${this.lineCount},${this.columnCount}`; + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/core/textEdit.js + var SingleTextEdit = class { + constructor(range, text) { + this.range = range; + this.text = text; + } + toSingleEditOperation() { + return { + range: this.range, + text: this.text + }; + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/diff/rangeMapping.js + var LineRangeMapping = class _LineRangeMapping { + static inverse(mapping, originalLineCount, modifiedLineCount) { + const result = []; + let lastOriginalEndLineNumber = 1; + let lastModifiedEndLineNumber = 1; + for (const m of mapping) { + const r2 = new _LineRangeMapping(new LineRange(lastOriginalEndLineNumber, m.original.startLineNumber), new LineRange(lastModifiedEndLineNumber, m.modified.startLineNumber)); + if (!r2.modified.isEmpty) { + result.push(r2); + } + lastOriginalEndLineNumber = m.original.endLineNumberExclusive; + lastModifiedEndLineNumber = m.modified.endLineNumberExclusive; + } + const r = new _LineRangeMapping(new LineRange(lastOriginalEndLineNumber, originalLineCount + 1), new LineRange(lastModifiedEndLineNumber, modifiedLineCount + 1)); + if (!r.modified.isEmpty) { + result.push(r); + } + return result; + } + static clip(mapping, originalRange, modifiedRange) { + const result = []; + for (const m of mapping) { + const original = m.original.intersect(originalRange); + const modified = m.modified.intersect(modifiedRange); + if (original && !original.isEmpty && modified && !modified.isEmpty) { + result.push(new _LineRangeMapping(original, modified)); + } + } + return result; + } + constructor(originalRange, modifiedRange) { + this.original = originalRange; + this.modified = modifiedRange; + } + toString() { + return `{${this.original.toString()}->${this.modified.toString()}}`; + } + flip() { + return new _LineRangeMapping(this.modified, this.original); + } + join(other) { + return new _LineRangeMapping(this.original.join(other.original), this.modified.join(other.modified)); + } + /** + * This method assumes that the LineRangeMapping describes a valid diff! + * I.e. if one range is empty, the other range cannot be the entire document. + * It avoids various problems when the line range points to non-existing line-numbers. + */ + toRangeMapping() { + const origInclusiveRange = this.original.toInclusiveRange(); + const modInclusiveRange = this.modified.toInclusiveRange(); + if (origInclusiveRange && modInclusiveRange) { + return new RangeMapping(origInclusiveRange, modInclusiveRange); + } else if (this.original.startLineNumber === 1 || this.modified.startLineNumber === 1) { + if (!(this.modified.startLineNumber === 1 && this.original.startLineNumber === 1)) { + throw new BugIndicatingError("not a valid diff"); + } + return new RangeMapping(new Range(this.original.startLineNumber, 1, this.original.endLineNumberExclusive, 1), new Range(this.modified.startLineNumber, 1, this.modified.endLineNumberExclusive, 1)); + } else { + return new RangeMapping(new Range(this.original.startLineNumber - 1, Number.MAX_SAFE_INTEGER, this.original.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), new Range(this.modified.startLineNumber - 1, Number.MAX_SAFE_INTEGER, this.modified.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER)); + } + } + /** + * This method assumes that the LineRangeMapping describes a valid diff! + * I.e. if one range is empty, the other range cannot be the entire document. + * It avoids various problems when the line range points to non-existing line-numbers. + */ + toRangeMapping2(original, modified) { + if (isValidLineNumber(this.original.endLineNumberExclusive, original) && isValidLineNumber(this.modified.endLineNumberExclusive, modified)) { + return new RangeMapping(new Range(this.original.startLineNumber, 1, this.original.endLineNumberExclusive, 1), new Range(this.modified.startLineNumber, 1, this.modified.endLineNumberExclusive, 1)); + } + if (!this.original.isEmpty && !this.modified.isEmpty) { + return new RangeMapping(Range.fromPositions(new Position(this.original.startLineNumber, 1), normalizePosition(new Position(this.original.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), original)), Range.fromPositions(new Position(this.modified.startLineNumber, 1), normalizePosition(new Position(this.modified.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), modified))); + } + if (this.original.startLineNumber > 1 && this.modified.startLineNumber > 1) { + return new RangeMapping(Range.fromPositions(normalizePosition(new Position(this.original.startLineNumber - 1, Number.MAX_SAFE_INTEGER), original), normalizePosition(new Position(this.original.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), original)), Range.fromPositions(normalizePosition(new Position(this.modified.startLineNumber - 1, Number.MAX_SAFE_INTEGER), modified), normalizePosition(new Position(this.modified.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), modified))); + } + throw new BugIndicatingError(); + } + }; + function normalizePosition(position, content) { + if (position.lineNumber < 1) { + return new Position(1, 1); + } + if (position.lineNumber > content.length) { + return new Position(content.length, content[content.length - 1].length + 1); + } + const line = content[position.lineNumber - 1]; + if (position.column > line.length + 1) { + return new Position(position.lineNumber, line.length + 1); + } + return position; + } + function isValidLineNumber(lineNumber, lines) { + return lineNumber >= 1 && lineNumber <= lines.length; + } + var DetailedLineRangeMapping = class _DetailedLineRangeMapping extends LineRangeMapping { + static fromRangeMappings(rangeMappings) { + const originalRange = LineRange.join(rangeMappings.map((r) => LineRange.fromRangeInclusive(r.originalRange))); + const modifiedRange = LineRange.join(rangeMappings.map((r) => LineRange.fromRangeInclusive(r.modifiedRange))); + return new _DetailedLineRangeMapping(originalRange, modifiedRange, rangeMappings); + } + constructor(originalRange, modifiedRange, innerChanges) { + super(originalRange, modifiedRange); + this.innerChanges = innerChanges; + } + flip() { + return new _DetailedLineRangeMapping(this.modified, this.original, this.innerChanges?.map((c) => c.flip())); + } + withInnerChangesFromLineRanges() { + return new _DetailedLineRangeMapping(this.original, this.modified, [this.toRangeMapping()]); + } + }; + var RangeMapping = class _RangeMapping { + static assertSorted(rangeMappings) { + for (let i = 1; i < rangeMappings.length; i++) { + const previous = rangeMappings[i - 1]; + const current = rangeMappings[i]; + if (!(previous.originalRange.getEndPosition().isBeforeOrEqual(current.originalRange.getStartPosition()) && previous.modifiedRange.getEndPosition().isBeforeOrEqual(current.modifiedRange.getStartPosition()))) { + throw new BugIndicatingError("Range mappings must be sorted"); + } + } + } + constructor(originalRange, modifiedRange) { + this.originalRange = originalRange; + this.modifiedRange = modifiedRange; + } + toString() { + return `{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`; + } + flip() { + return new _RangeMapping(this.modifiedRange, this.originalRange); + } + /** + * Creates a single text edit that describes the change from the original to the modified text. + */ + toTextEdit(modified) { + const newText = modified.getValueOfRange(this.modifiedRange); + return new SingleTextEdit(this.originalRange, newText); + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/diff/legacyLinesDiffComputer.js + var MINIMUM_MATCHING_CHARACTER_LENGTH = 3; + var LegacyLinesDiffComputer = class { + computeDiff(originalLines, modifiedLines, options) { + const diffComputer = new DiffComputer(originalLines, modifiedLines, { + maxComputationTime: options.maxComputationTimeMs, + shouldIgnoreTrimWhitespace: options.ignoreTrimWhitespace, + shouldComputeCharChanges: true, + shouldMakePrettyDiff: true, + shouldPostProcessCharChanges: true + }); + const result = diffComputer.computeDiff(); + const changes = []; + let lastChange = null; + for (const c of result.changes) { + let originalRange; + if (c.originalEndLineNumber === 0) { + originalRange = new LineRange(c.originalStartLineNumber + 1, c.originalStartLineNumber + 1); + } else { + originalRange = new LineRange(c.originalStartLineNumber, c.originalEndLineNumber + 1); + } + let modifiedRange; + if (c.modifiedEndLineNumber === 0) { + modifiedRange = new LineRange(c.modifiedStartLineNumber + 1, c.modifiedStartLineNumber + 1); + } else { + modifiedRange = new LineRange(c.modifiedStartLineNumber, c.modifiedEndLineNumber + 1); + } + let change = new DetailedLineRangeMapping(originalRange, modifiedRange, c.charChanges?.map((c2) => new RangeMapping(new Range(c2.originalStartLineNumber, c2.originalStartColumn, c2.originalEndLineNumber, c2.originalEndColumn), new Range(c2.modifiedStartLineNumber, c2.modifiedStartColumn, c2.modifiedEndLineNumber, c2.modifiedEndColumn)))); + if (lastChange) { + if (lastChange.modified.endLineNumberExclusive === change.modified.startLineNumber || lastChange.original.endLineNumberExclusive === change.original.startLineNumber) { + change = new DetailedLineRangeMapping(lastChange.original.join(change.original), lastChange.modified.join(change.modified), lastChange.innerChanges && change.innerChanges ? lastChange.innerChanges.concat(change.innerChanges) : void 0); + changes.pop(); + } + } + changes.push(change); + lastChange = change; + } + assertFn(() => { + return checkAdjacentItems(changes, (m1, m2) => m2.original.startLineNumber - m1.original.endLineNumberExclusive === m2.modified.startLineNumber - m1.modified.endLineNumberExclusive && // There has to be an unchanged line in between (otherwise both diffs should have been joined) + m1.original.endLineNumberExclusive < m2.original.startLineNumber && m1.modified.endLineNumberExclusive < m2.modified.startLineNumber); + }); + return new LinesDiff(changes, [], result.quitEarly); + } + }; + function computeDiff(originalSequence, modifiedSequence, continueProcessingPredicate, pretty) { + const diffAlgo = new LcsDiff(originalSequence, modifiedSequence, continueProcessingPredicate); + return diffAlgo.ComputeDiff(pretty); + } + var LineSequence = class { + constructor(lines) { + const startColumns = []; + const endColumns = []; + for (let i = 0, length = lines.length; i < length; i++) { + startColumns[i] = getFirstNonBlankColumn(lines[i], 1); + endColumns[i] = getLastNonBlankColumn(lines[i], 1); + } + this.lines = lines; + this._startColumns = startColumns; + this._endColumns = endColumns; + } + getElements() { + const elements = []; + for (let i = 0, len = this.lines.length; i < len; i++) { + elements[i] = this.lines[i].substring(this._startColumns[i] - 1, this._endColumns[i] - 1); + } + return elements; + } + getStrictElement(index) { + return this.lines[index]; + } + getStartLineNumber(i) { + return i + 1; + } + getEndLineNumber(i) { + return i + 1; + } + createCharSequence(shouldIgnoreTrimWhitespace, startIndex, endIndex) { + const charCodes = []; + const lineNumbers = []; + const columns = []; + let len = 0; + for (let index = startIndex; index <= endIndex; index++) { + const lineContent = this.lines[index]; + const startColumn = shouldIgnoreTrimWhitespace ? this._startColumns[index] : 1; + const endColumn = shouldIgnoreTrimWhitespace ? this._endColumns[index] : lineContent.length + 1; + for (let col = startColumn; col < endColumn; col++) { + charCodes[len] = lineContent.charCodeAt(col - 1); + lineNumbers[len] = index + 1; + columns[len] = col; + len++; + } + if (!shouldIgnoreTrimWhitespace && index < endIndex) { + charCodes[len] = 10; + lineNumbers[len] = index + 1; + columns[len] = lineContent.length + 1; + len++; + } + } + return new CharSequence(charCodes, lineNumbers, columns); + } + }; + var CharSequence = class { + constructor(charCodes, lineNumbers, columns) { + this._charCodes = charCodes; + this._lineNumbers = lineNumbers; + this._columns = columns; + } + toString() { + return "[" + this._charCodes.map((s, idx) => (s === 10 ? "\\n" : String.fromCharCode(s)) + `-(${this._lineNumbers[idx]},${this._columns[idx]})`).join(", ") + "]"; + } + _assertIndex(index, arr) { + if (index < 0 || index >= arr.length) { + throw new Error(`Illegal index`); + } + } + getElements() { + return this._charCodes; + } + getStartLineNumber(i) { + if (i > 0 && i === this._lineNumbers.length) { + return this.getEndLineNumber(i - 1); + } + this._assertIndex(i, this._lineNumbers); + return this._lineNumbers[i]; + } + getEndLineNumber(i) { + if (i === -1) { + return this.getStartLineNumber(i + 1); + } + this._assertIndex(i, this._lineNumbers); + if (this._charCodes[i] === 10) { + return this._lineNumbers[i] + 1; + } + return this._lineNumbers[i]; + } + getStartColumn(i) { + if (i > 0 && i === this._columns.length) { + return this.getEndColumn(i - 1); + } + this._assertIndex(i, this._columns); + return this._columns[i]; + } + getEndColumn(i) { + if (i === -1) { + return this.getStartColumn(i + 1); + } + this._assertIndex(i, this._columns); + if (this._charCodes[i] === 10) { + return 1; + } + return this._columns[i] + 1; + } + }; + var CharChange = class _CharChange { + constructor(originalStartLineNumber, originalStartColumn, originalEndLineNumber, originalEndColumn, modifiedStartLineNumber, modifiedStartColumn, modifiedEndLineNumber, modifiedEndColumn) { + this.originalStartLineNumber = originalStartLineNumber; + this.originalStartColumn = originalStartColumn; + this.originalEndLineNumber = originalEndLineNumber; + this.originalEndColumn = originalEndColumn; + this.modifiedStartLineNumber = modifiedStartLineNumber; + this.modifiedStartColumn = modifiedStartColumn; + this.modifiedEndLineNumber = modifiedEndLineNumber; + this.modifiedEndColumn = modifiedEndColumn; + } + static createFromDiffChange(diffChange, originalCharSequence, modifiedCharSequence) { + const originalStartLineNumber = originalCharSequence.getStartLineNumber(diffChange.originalStart); + const originalStartColumn = originalCharSequence.getStartColumn(diffChange.originalStart); + const originalEndLineNumber = originalCharSequence.getEndLineNumber(diffChange.originalStart + diffChange.originalLength - 1); + const originalEndColumn = originalCharSequence.getEndColumn(diffChange.originalStart + diffChange.originalLength - 1); + const modifiedStartLineNumber = modifiedCharSequence.getStartLineNumber(diffChange.modifiedStart); + const modifiedStartColumn = modifiedCharSequence.getStartColumn(diffChange.modifiedStart); + const modifiedEndLineNumber = modifiedCharSequence.getEndLineNumber(diffChange.modifiedStart + diffChange.modifiedLength - 1); + const modifiedEndColumn = modifiedCharSequence.getEndColumn(diffChange.modifiedStart + diffChange.modifiedLength - 1); + return new _CharChange(originalStartLineNumber, originalStartColumn, originalEndLineNumber, originalEndColumn, modifiedStartLineNumber, modifiedStartColumn, modifiedEndLineNumber, modifiedEndColumn); + } + }; + function postProcessCharChanges(rawChanges) { + if (rawChanges.length <= 1) { + return rawChanges; + } + const result = [rawChanges[0]]; + let prevChange = result[0]; + for (let i = 1, len = rawChanges.length; i < len; i++) { + const currChange = rawChanges[i]; + const originalMatchingLength = currChange.originalStart - (prevChange.originalStart + prevChange.originalLength); + const modifiedMatchingLength = currChange.modifiedStart - (prevChange.modifiedStart + prevChange.modifiedLength); + const matchingLength = Math.min(originalMatchingLength, modifiedMatchingLength); + if (matchingLength < MINIMUM_MATCHING_CHARACTER_LENGTH) { + prevChange.originalLength = currChange.originalStart + currChange.originalLength - prevChange.originalStart; + prevChange.modifiedLength = currChange.modifiedStart + currChange.modifiedLength - prevChange.modifiedStart; + } else { + result.push(currChange); + prevChange = currChange; + } + } + return result; + } + var LineChange = class _LineChange { + constructor(originalStartLineNumber, originalEndLineNumber, modifiedStartLineNumber, modifiedEndLineNumber, charChanges) { + this.originalStartLineNumber = originalStartLineNumber; + this.originalEndLineNumber = originalEndLineNumber; + this.modifiedStartLineNumber = modifiedStartLineNumber; + this.modifiedEndLineNumber = modifiedEndLineNumber; + this.charChanges = charChanges; + } + static createFromDiffResult(shouldIgnoreTrimWhitespace, diffChange, originalLineSequence, modifiedLineSequence, continueCharDiff, shouldComputeCharChanges, shouldPostProcessCharChanges) { + let originalStartLineNumber; + let originalEndLineNumber; + let modifiedStartLineNumber; + let modifiedEndLineNumber; + let charChanges = void 0; + if (diffChange.originalLength === 0) { + originalStartLineNumber = originalLineSequence.getStartLineNumber(diffChange.originalStart) - 1; + originalEndLineNumber = 0; + } else { + originalStartLineNumber = originalLineSequence.getStartLineNumber(diffChange.originalStart); + originalEndLineNumber = originalLineSequence.getEndLineNumber(diffChange.originalStart + diffChange.originalLength - 1); + } + if (diffChange.modifiedLength === 0) { + modifiedStartLineNumber = modifiedLineSequence.getStartLineNumber(diffChange.modifiedStart) - 1; + modifiedEndLineNumber = 0; + } else { + modifiedStartLineNumber = modifiedLineSequence.getStartLineNumber(diffChange.modifiedStart); + modifiedEndLineNumber = modifiedLineSequence.getEndLineNumber(diffChange.modifiedStart + diffChange.modifiedLength - 1); + } + if (shouldComputeCharChanges && diffChange.originalLength > 0 && diffChange.originalLength < 20 && diffChange.modifiedLength > 0 && diffChange.modifiedLength < 20 && continueCharDiff()) { + const originalCharSequence = originalLineSequence.createCharSequence(shouldIgnoreTrimWhitespace, diffChange.originalStart, diffChange.originalStart + diffChange.originalLength - 1); + const modifiedCharSequence = modifiedLineSequence.createCharSequence(shouldIgnoreTrimWhitespace, diffChange.modifiedStart, diffChange.modifiedStart + diffChange.modifiedLength - 1); + if (originalCharSequence.getElements().length > 0 && modifiedCharSequence.getElements().length > 0) { + let rawChanges = computeDiff(originalCharSequence, modifiedCharSequence, continueCharDiff, true).changes; + if (shouldPostProcessCharChanges) { + rawChanges = postProcessCharChanges(rawChanges); + } + charChanges = []; + for (let i = 0, length = rawChanges.length; i < length; i++) { + charChanges.push(CharChange.createFromDiffChange(rawChanges[i], originalCharSequence, modifiedCharSequence)); + } + } + } + return new _LineChange(originalStartLineNumber, originalEndLineNumber, modifiedStartLineNumber, modifiedEndLineNumber, charChanges); + } + }; + var DiffComputer = class { + constructor(originalLines, modifiedLines, opts) { + this.shouldComputeCharChanges = opts.shouldComputeCharChanges; + this.shouldPostProcessCharChanges = opts.shouldPostProcessCharChanges; + this.shouldIgnoreTrimWhitespace = opts.shouldIgnoreTrimWhitespace; + this.shouldMakePrettyDiff = opts.shouldMakePrettyDiff; + this.originalLines = originalLines; + this.modifiedLines = modifiedLines; + this.original = new LineSequence(originalLines); + this.modified = new LineSequence(modifiedLines); + this.continueLineDiff = createContinueProcessingPredicate(opts.maxComputationTime); + this.continueCharDiff = createContinueProcessingPredicate(opts.maxComputationTime === 0 ? 0 : Math.min(opts.maxComputationTime, 5e3)); + } + computeDiff() { + if (this.original.lines.length === 1 && this.original.lines[0].length === 0) { + if (this.modified.lines.length === 1 && this.modified.lines[0].length === 0) { + return { + quitEarly: false, + changes: [] + }; + } + return { + quitEarly: false, + changes: [{ + originalStartLineNumber: 1, + originalEndLineNumber: 1, + modifiedStartLineNumber: 1, + modifiedEndLineNumber: this.modified.lines.length, + charChanges: void 0 + }] + }; + } + if (this.modified.lines.length === 1 && this.modified.lines[0].length === 0) { + return { + quitEarly: false, + changes: [{ + originalStartLineNumber: 1, + originalEndLineNumber: this.original.lines.length, + modifiedStartLineNumber: 1, + modifiedEndLineNumber: 1, + charChanges: void 0 + }] + }; + } + const diffResult = computeDiff(this.original, this.modified, this.continueLineDiff, this.shouldMakePrettyDiff); + const rawChanges = diffResult.changes; + const quitEarly = diffResult.quitEarly; + if (this.shouldIgnoreTrimWhitespace) { + const lineChanges = []; + for (let i = 0, length = rawChanges.length; i < length; i++) { + lineChanges.push(LineChange.createFromDiffResult(this.shouldIgnoreTrimWhitespace, rawChanges[i], this.original, this.modified, this.continueCharDiff, this.shouldComputeCharChanges, this.shouldPostProcessCharChanges)); + } + return { + quitEarly, + changes: lineChanges + }; + } + const result = []; + let originalLineIndex = 0; + let modifiedLineIndex = 0; + for (let i = -1, len = rawChanges.length; i < len; i++) { + const nextChange = i + 1 < len ? rawChanges[i + 1] : null; + const originalStop = nextChange ? nextChange.originalStart : this.originalLines.length; + const modifiedStop = nextChange ? nextChange.modifiedStart : this.modifiedLines.length; + while (originalLineIndex < originalStop && modifiedLineIndex < modifiedStop) { + const originalLine = this.originalLines[originalLineIndex]; + const modifiedLine = this.modifiedLines[modifiedLineIndex]; + if (originalLine !== modifiedLine) { + { + let originalStartColumn = getFirstNonBlankColumn(originalLine, 1); + let modifiedStartColumn = getFirstNonBlankColumn(modifiedLine, 1); + while (originalStartColumn > 1 && modifiedStartColumn > 1) { + const originalChar = originalLine.charCodeAt(originalStartColumn - 2); + const modifiedChar = modifiedLine.charCodeAt(modifiedStartColumn - 2); + if (originalChar !== modifiedChar) { + break; + } + originalStartColumn--; + modifiedStartColumn--; + } + if (originalStartColumn > 1 || modifiedStartColumn > 1) { + this._pushTrimWhitespaceCharChange(result, originalLineIndex + 1, 1, originalStartColumn, modifiedLineIndex + 1, 1, modifiedStartColumn); + } + } + { + let originalEndColumn = getLastNonBlankColumn(originalLine, 1); + let modifiedEndColumn = getLastNonBlankColumn(modifiedLine, 1); + const originalMaxColumn = originalLine.length + 1; + const modifiedMaxColumn = modifiedLine.length + 1; + while (originalEndColumn < originalMaxColumn && modifiedEndColumn < modifiedMaxColumn) { + const originalChar = originalLine.charCodeAt(originalEndColumn - 1); + const modifiedChar = originalLine.charCodeAt(modifiedEndColumn - 1); + if (originalChar !== modifiedChar) { + break; + } + originalEndColumn++; + modifiedEndColumn++; + } + if (originalEndColumn < originalMaxColumn || modifiedEndColumn < modifiedMaxColumn) { + this._pushTrimWhitespaceCharChange(result, originalLineIndex + 1, originalEndColumn, originalMaxColumn, modifiedLineIndex + 1, modifiedEndColumn, modifiedMaxColumn); + } + } + } + originalLineIndex++; + modifiedLineIndex++; + } + if (nextChange) { + result.push(LineChange.createFromDiffResult(this.shouldIgnoreTrimWhitespace, nextChange, this.original, this.modified, this.continueCharDiff, this.shouldComputeCharChanges, this.shouldPostProcessCharChanges)); + originalLineIndex += nextChange.originalLength; + modifiedLineIndex += nextChange.modifiedLength; + } + } + return { + quitEarly, + changes: result + }; + } + _pushTrimWhitespaceCharChange(result, originalLineNumber, originalStartColumn, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedEndColumn) { + if (this._mergeTrimWhitespaceCharChange(result, originalLineNumber, originalStartColumn, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedEndColumn)) { + return; + } + let charChanges = void 0; + if (this.shouldComputeCharChanges) { + charChanges = [new CharChange(originalLineNumber, originalStartColumn, originalLineNumber, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedLineNumber, modifiedEndColumn)]; + } + result.push(new LineChange(originalLineNumber, originalLineNumber, modifiedLineNumber, modifiedLineNumber, charChanges)); + } + _mergeTrimWhitespaceCharChange(result, originalLineNumber, originalStartColumn, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedEndColumn) { + const len = result.length; + if (len === 0) { + return false; + } + const prevChange = result[len - 1]; + if (prevChange.originalEndLineNumber === 0 || prevChange.modifiedEndLineNumber === 0) { + return false; + } + if (prevChange.originalEndLineNumber === originalLineNumber && prevChange.modifiedEndLineNumber === modifiedLineNumber) { + if (this.shouldComputeCharChanges && prevChange.charChanges) { + prevChange.charChanges.push(new CharChange(originalLineNumber, originalStartColumn, originalLineNumber, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedLineNumber, modifiedEndColumn)); + } + return true; + } + if (prevChange.originalEndLineNumber + 1 === originalLineNumber && prevChange.modifiedEndLineNumber + 1 === modifiedLineNumber) { + prevChange.originalEndLineNumber = originalLineNumber; + prevChange.modifiedEndLineNumber = modifiedLineNumber; + if (this.shouldComputeCharChanges && prevChange.charChanges) { + prevChange.charChanges.push(new CharChange(originalLineNumber, originalStartColumn, originalLineNumber, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedLineNumber, modifiedEndColumn)); + } + return true; + } + return false; + } + }; + function getFirstNonBlankColumn(txt, defaultValue) { + const r = firstNonWhitespaceIndex(txt); + if (r === -1) { + return defaultValue; + } + return r + 1; + } + function getLastNonBlankColumn(txt, defaultValue) { + const r = lastNonWhitespaceIndex(txt); + if (r === -1) { + return defaultValue; + } + return r + 2; + } + function createContinueProcessingPredicate(maximumRuntime) { + if (maximumRuntime === 0) { + return () => true; + } + const startTime = Date.now(); + return () => { + return Date.now() - startTime < maximumRuntime; + }; + } + + // node_modules/monaco-editor/esm/vs/base/common/arrays.js + function equals2(one, other, itemEquals = (a, b) => a === b) { + if (one === other) { + return true; + } + if (!one || !other) { + return false; + } + if (one.length !== other.length) { + return false; + } + for (let i = 0, len = one.length; i < len; i++) { + if (!itemEquals(one[i], other[i])) { + return false; + } + } + return true; + } + function* groupAdjacentBy(items, shouldBeGrouped) { + let currentGroup; + let last; + for (const item of items) { + if (last !== void 0 && shouldBeGrouped(last, item)) { + currentGroup.push(item); + } else { + if (currentGroup) { + yield currentGroup; + } + currentGroup = [item]; + } + last = item; + } + if (currentGroup) { + yield currentGroup; + } + } + function forEachAdjacent(arr, f) { + for (let i = 0; i <= arr.length; i++) { + f(i === 0 ? void 0 : arr[i - 1], i === arr.length ? void 0 : arr[i]); + } + } + function forEachWithNeighbors(arr, f) { + for (let i = 0; i < arr.length; i++) { + f(i === 0 ? void 0 : arr[i - 1], arr[i], i + 1 === arr.length ? void 0 : arr[i + 1]); + } + } + function pushMany(arr, items) { + for (const item of items) { + arr.push(item); + } + } + var CompareResult; + (function(CompareResult2) { + function isLessThan(result) { + return result < 0; + } + CompareResult2.isLessThan = isLessThan; + function isLessThanOrEqual(result) { + return result <= 0; + } + CompareResult2.isLessThanOrEqual = isLessThanOrEqual; + function isGreaterThan(result) { + return result > 0; + } + CompareResult2.isGreaterThan = isGreaterThan; + function isNeitherLessOrGreaterThan(result) { + return result === 0; + } + CompareResult2.isNeitherLessOrGreaterThan = isNeitherLessOrGreaterThan; + CompareResult2.greaterThan = 1; + CompareResult2.lessThan = -1; + CompareResult2.neitherLessOrGreaterThan = 0; + })(CompareResult || (CompareResult = {})); + function compareBy(selector, comparator) { + return (a, b) => comparator(selector(a), selector(b)); + } + var numberComparator = (a, b) => a - b; + function reverseOrder(comparator) { + return (a, b) => -comparator(a, b); + } + var CallbackIterable = class _CallbackIterable { + static { + this.empty = new _CallbackIterable((_callback) => { + }); + } + constructor(iterate) { + this.iterate = iterate; + } + toArray() { + const result = []; + this.iterate((item) => { + result.push(item); + return true; + }); + return result; + } + filter(predicate) { + return new _CallbackIterable((cb) => this.iterate((item) => predicate(item) ? cb(item) : true)); + } + map(mapFn) { + return new _CallbackIterable((cb) => this.iterate((item) => cb(mapFn(item)))); + } + findLast(predicate) { + let result; + this.iterate((item) => { + if (predicate(item)) { + result = item; + } + return true; + }); + return result; + } + findLastMaxBy(comparator) { + let result; + let first = true; + this.iterate((item) => { + if (first || CompareResult.isGreaterThan(comparator(item, result))) { + first = false; + result = item; + } + return true; + }); + return result; + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js + var DiffAlgorithmResult = class _DiffAlgorithmResult { + static trivial(seq1, seq2) { + return new _DiffAlgorithmResult([new SequenceDiff(OffsetRange.ofLength(seq1.length), OffsetRange.ofLength(seq2.length))], false); + } + static trivialTimedOut(seq1, seq2) { + return new _DiffAlgorithmResult([new SequenceDiff(OffsetRange.ofLength(seq1.length), OffsetRange.ofLength(seq2.length))], true); + } + constructor(diffs, hitTimeout) { + this.diffs = diffs; + this.hitTimeout = hitTimeout; + } + }; + var SequenceDiff = class _SequenceDiff { + static invert(sequenceDiffs, doc1Length) { + const result = []; + forEachAdjacent(sequenceDiffs, (a, b) => { + result.push(_SequenceDiff.fromOffsetPairs(a ? a.getEndExclusives() : OffsetPair.zero, b ? b.getStarts() : new OffsetPair(doc1Length, (a ? a.seq2Range.endExclusive - a.seq1Range.endExclusive : 0) + doc1Length))); + }); + return result; + } + static fromOffsetPairs(start, endExclusive) { + return new _SequenceDiff(new OffsetRange(start.offset1, endExclusive.offset1), new OffsetRange(start.offset2, endExclusive.offset2)); + } + static assertSorted(sequenceDiffs) { + let last = void 0; + for (const cur of sequenceDiffs) { + if (last) { + if (!(last.seq1Range.endExclusive <= cur.seq1Range.start && last.seq2Range.endExclusive <= cur.seq2Range.start)) { + throw new BugIndicatingError("Sequence diffs must be sorted"); + } + } + last = cur; + } + } + constructor(seq1Range, seq2Range) { + this.seq1Range = seq1Range; + this.seq2Range = seq2Range; + } + swap() { + return new _SequenceDiff(this.seq2Range, this.seq1Range); + } + toString() { + return `${this.seq1Range} <-> ${this.seq2Range}`; + } + join(other) { + return new _SequenceDiff(this.seq1Range.join(other.seq1Range), this.seq2Range.join(other.seq2Range)); + } + delta(offset) { + if (offset === 0) { + return this; + } + return new _SequenceDiff(this.seq1Range.delta(offset), this.seq2Range.delta(offset)); + } + deltaStart(offset) { + if (offset === 0) { + return this; + } + return new _SequenceDiff(this.seq1Range.deltaStart(offset), this.seq2Range.deltaStart(offset)); + } + deltaEnd(offset) { + if (offset === 0) { + return this; + } + return new _SequenceDiff(this.seq1Range.deltaEnd(offset), this.seq2Range.deltaEnd(offset)); + } + intersect(other) { + const i1 = this.seq1Range.intersect(other.seq1Range); + const i2 = this.seq2Range.intersect(other.seq2Range); + if (!i1 || !i2) { + return void 0; + } + return new _SequenceDiff(i1, i2); + } + getStarts() { + return new OffsetPair(this.seq1Range.start, this.seq2Range.start); + } + getEndExclusives() { + return new OffsetPair(this.seq1Range.endExclusive, this.seq2Range.endExclusive); + } + }; + var OffsetPair = class _OffsetPair { + static { + this.zero = new _OffsetPair(0, 0); + } + static { + this.max = new _OffsetPair(Number.MAX_SAFE_INTEGER, Number.MAX_SAFE_INTEGER); + } + constructor(offset1, offset2) { + this.offset1 = offset1; + this.offset2 = offset2; + } + toString() { + return `${this.offset1} <-> ${this.offset2}`; + } + delta(offset) { + if (offset === 0) { + return this; + } + return new _OffsetPair(this.offset1 + offset, this.offset2 + offset); + } + equals(other) { + return this.offset1 === other.offset1 && this.offset2 === other.offset2; + } + }; + var InfiniteTimeout = class _InfiniteTimeout { + static { + this.instance = new _InfiniteTimeout(); + } + isValid() { + return true; + } + }; + var DateTimeout = class { + constructor(timeout) { + this.timeout = timeout; + this.startTime = Date.now(); + this.valid = true; + if (timeout <= 0) { + throw new BugIndicatingError("timeout must be positive"); + } + } + // Recommendation: Set a log-point `{this.disable()}` in the body + isValid() { + const valid = Date.now() - this.startTime < this.timeout; + if (!valid && this.valid) { + this.valid = false; + debugger; + } + return this.valid; + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/utils.js + var Array2D = class { + constructor(width, height) { + this.width = width; + this.height = height; + this.array = []; + this.array = new Array(width * height); + } + get(x, y) { + return this.array[x + y * this.width]; + } + set(x, y, value) { + this.array[x + y * this.width] = value; + } + }; + function isSpace(charCode) { + return charCode === 32 || charCode === 9; + } + var LineRangeFragment = class _LineRangeFragment { + static { + this.chrKeys = /* @__PURE__ */ new Map(); + } + static getKey(chr) { + let key = this.chrKeys.get(chr); + if (key === void 0) { + key = this.chrKeys.size; + this.chrKeys.set(chr, key); + } + return key; + } + constructor(range, lines, source) { + this.range = range; + this.lines = lines; + this.source = source; + this.histogram = []; + let counter = 0; + for (let i = range.startLineNumber - 1; i < range.endLineNumberExclusive - 1; i++) { + const line = lines[i]; + for (let j = 0; j < line.length; j++) { + counter++; + const chr = line[j]; + const key2 = _LineRangeFragment.getKey(chr); + this.histogram[key2] = (this.histogram[key2] || 0) + 1; + } + counter++; + const key = _LineRangeFragment.getKey("\n"); + this.histogram[key] = (this.histogram[key] || 0) + 1; + } + this.totalCount = counter; + } + computeSimilarity(other) { + let sumDifferences = 0; + const maxLength = Math.max(this.histogram.length, other.histogram.length); + for (let i = 0; i < maxLength; i++) { + sumDifferences += Math.abs((this.histogram[i] ?? 0) - (other.histogram[i] ?? 0)); + } + return 1 - sumDifferences / (this.totalCount + other.totalCount); + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.js + var DynamicProgrammingDiffing = class { + compute(sequence1, sequence2, timeout = InfiniteTimeout.instance, equalityScore) { + if (sequence1.length === 0 || sequence2.length === 0) { + return DiffAlgorithmResult.trivial(sequence1, sequence2); + } + const lcsLengths = new Array2D(sequence1.length, sequence2.length); + const directions = new Array2D(sequence1.length, sequence2.length); + const lengths = new Array2D(sequence1.length, sequence2.length); + for (let s12 = 0; s12 < sequence1.length; s12++) { + for (let s22 = 0; s22 < sequence2.length; s22++) { + if (!timeout.isValid()) { + return DiffAlgorithmResult.trivialTimedOut(sequence1, sequence2); + } + const horizontalLen = s12 === 0 ? 0 : lcsLengths.get(s12 - 1, s22); + const verticalLen = s22 === 0 ? 0 : lcsLengths.get(s12, s22 - 1); + let extendedSeqScore; + if (sequence1.getElement(s12) === sequence2.getElement(s22)) { + if (s12 === 0 || s22 === 0) { + extendedSeqScore = 0; + } else { + extendedSeqScore = lcsLengths.get(s12 - 1, s22 - 1); + } + if (s12 > 0 && s22 > 0 && directions.get(s12 - 1, s22 - 1) === 3) { + extendedSeqScore += lengths.get(s12 - 1, s22 - 1); + } + extendedSeqScore += equalityScore ? equalityScore(s12, s22) : 1; + } else { + extendedSeqScore = -1; + } + const newValue = Math.max(horizontalLen, verticalLen, extendedSeqScore); + if (newValue === extendedSeqScore) { + const prevLen = s12 > 0 && s22 > 0 ? lengths.get(s12 - 1, s22 - 1) : 0; + lengths.set(s12, s22, prevLen + 1); + directions.set(s12, s22, 3); + } else if (newValue === horizontalLen) { + lengths.set(s12, s22, 0); + directions.set(s12, s22, 1); + } else if (newValue === verticalLen) { + lengths.set(s12, s22, 0); + directions.set(s12, s22, 2); + } + lcsLengths.set(s12, s22, newValue); + } + } + const result = []; + let lastAligningPosS1 = sequence1.length; + let lastAligningPosS2 = sequence2.length; + function reportDecreasingAligningPositions(s12, s22) { + if (s12 + 1 !== lastAligningPosS1 || s22 + 1 !== lastAligningPosS2) { + result.push(new SequenceDiff(new OffsetRange(s12 + 1, lastAligningPosS1), new OffsetRange(s22 + 1, lastAligningPosS2))); + } + lastAligningPosS1 = s12; + lastAligningPosS2 = s22; + } + let s1 = sequence1.length - 1; + let s2 = sequence2.length - 1; + while (s1 >= 0 && s2 >= 0) { + if (directions.get(s1, s2) === 3) { + reportDecreasingAligningPositions(s1, s2); + s1--; + s2--; + } else { + if (directions.get(s1, s2) === 1) { + s1--; + } else { + s2--; + } + } + } + reportDecreasingAligningPositions(-1, -1); + result.reverse(); + return new DiffAlgorithmResult(result, false); + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.js + var MyersDiffAlgorithm = class { + compute(seq1, seq2, timeout = InfiniteTimeout.instance) { + if (seq1.length === 0 || seq2.length === 0) { + return DiffAlgorithmResult.trivial(seq1, seq2); + } + const seqX = seq1; + const seqY = seq2; + function getXAfterSnake(x, y) { + while (x < seqX.length && y < seqY.length && seqX.getElement(x) === seqY.getElement(y)) { + x++; + y++; + } + return x; + } + let d = 0; + const V = new FastInt32Array(); + V.set(0, getXAfterSnake(0, 0)); + const paths = new FastArrayNegativeIndices(); + paths.set(0, V.get(0) === 0 ? null : new SnakePath(null, 0, 0, V.get(0))); + let k = 0; + loop: while (true) { + d++; + if (!timeout.isValid()) { + return DiffAlgorithmResult.trivialTimedOut(seqX, seqY); + } + const lowerBound = -Math.min(d, seqY.length + d % 2); + const upperBound = Math.min(d, seqX.length + d % 2); + for (k = lowerBound; k <= upperBound; k += 2) { + let step = 0; + const maxXofDLineTop = k === upperBound ? -1 : V.get(k + 1); + const maxXofDLineLeft = k === lowerBound ? -1 : V.get(k - 1) + 1; + step++; + const x = Math.min(Math.max(maxXofDLineTop, maxXofDLineLeft), seqX.length); + const y = x - k; + step++; + if (x > seqX.length || y > seqY.length) { + continue; + } + const newMaxX = getXAfterSnake(x, y); + V.set(k, newMaxX); + const lastPath = x === maxXofDLineTop ? paths.get(k + 1) : paths.get(k - 1); + paths.set(k, newMaxX !== x ? new SnakePath(lastPath, x, y, newMaxX - x) : lastPath); + if (V.get(k) === seqX.length && V.get(k) - k === seqY.length) { + break loop; + } + } + } + let path = paths.get(k); + const result = []; + let lastAligningPosS1 = seqX.length; + let lastAligningPosS2 = seqY.length; + while (true) { + const endX = path ? path.x + path.length : 0; + const endY = path ? path.y + path.length : 0; + if (endX !== lastAligningPosS1 || endY !== lastAligningPosS2) { + result.push(new SequenceDiff(new OffsetRange(endX, lastAligningPosS1), new OffsetRange(endY, lastAligningPosS2))); + } + if (!path) { + break; + } + lastAligningPosS1 = path.x; + lastAligningPosS2 = path.y; + path = path.prev; + } + result.reverse(); + return new DiffAlgorithmResult(result, false); + } + }; + var SnakePath = class { + constructor(prev, x, y, length) { + this.prev = prev; + this.x = x; + this.y = y; + this.length = length; + } + }; + var FastInt32Array = class { + constructor() { + this.positiveArr = new Int32Array(10); + this.negativeArr = new Int32Array(10); + } + get(idx) { + if (idx < 0) { + idx = -idx - 1; + return this.negativeArr[idx]; + } else { + return this.positiveArr[idx]; + } + } + set(idx, value) { + if (idx < 0) { + idx = -idx - 1; + if (idx >= this.negativeArr.length) { + const arr = this.negativeArr; + this.negativeArr = new Int32Array(arr.length * 2); + this.negativeArr.set(arr); + } + this.negativeArr[idx] = value; + } else { + if (idx >= this.positiveArr.length) { + const arr = this.positiveArr; + this.positiveArr = new Int32Array(arr.length * 2); + this.positiveArr.set(arr); + } + this.positiveArr[idx] = value; + } + } + }; + var FastArrayNegativeIndices = class { + constructor() { + this.positiveArr = []; + this.negativeArr = []; + } + get(idx) { + if (idx < 0) { + idx = -idx - 1; + return this.negativeArr[idx]; + } else { + return this.positiveArr[idx]; + } + } + set(idx, value) { + if (idx < 0) { + idx = -idx - 1; + this.negativeArr[idx] = value; + } else { + this.positiveArr[idx] = value; + } + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js + var LinesSliceCharSequence = class { + constructor(lines, range, considerWhitespaceChanges) { + this.lines = lines; + this.range = range; + this.considerWhitespaceChanges = considerWhitespaceChanges; + this.elements = []; + this.firstElementOffsetByLineIdx = []; + this.lineStartOffsets = []; + this.trimmedWsLengthsByLineIdx = []; + this.firstElementOffsetByLineIdx.push(0); + for (let lineNumber = this.range.startLineNumber; lineNumber <= this.range.endLineNumber; lineNumber++) { + let line = lines[lineNumber - 1]; + let lineStartOffset = 0; + if (lineNumber === this.range.startLineNumber && this.range.startColumn > 1) { + lineStartOffset = this.range.startColumn - 1; + line = line.substring(lineStartOffset); + } + this.lineStartOffsets.push(lineStartOffset); + let trimmedWsLength = 0; + if (!considerWhitespaceChanges) { + const trimmedStartLine = line.trimStart(); + trimmedWsLength = line.length - trimmedStartLine.length; + line = trimmedStartLine.trimEnd(); + } + this.trimmedWsLengthsByLineIdx.push(trimmedWsLength); + const lineLength = lineNumber === this.range.endLineNumber ? Math.min(this.range.endColumn - 1 - lineStartOffset - trimmedWsLength, line.length) : line.length; + for (let i = 0; i < lineLength; i++) { + this.elements.push(line.charCodeAt(i)); + } + if (lineNumber < this.range.endLineNumber) { + this.elements.push("\n".charCodeAt(0)); + this.firstElementOffsetByLineIdx.push(this.elements.length); + } + } + } + toString() { + return `Slice: "${this.text}"`; + } + get text() { + return this.getText(new OffsetRange(0, this.length)); + } + getText(range) { + return this.elements.slice(range.start, range.endExclusive).map((e) => String.fromCharCode(e)).join(""); + } + getElement(offset) { + return this.elements[offset]; + } + get length() { + return this.elements.length; + } + getBoundaryScore(length) { + const prevCategory = getCategory(length > 0 ? this.elements[length - 1] : -1); + const nextCategory = getCategory(length < this.elements.length ? this.elements[length] : -1); + if (prevCategory === 7 && nextCategory === 8) { + return 0; + } + if (prevCategory === 8) { + return 150; + } + let score2 = 0; + if (prevCategory !== nextCategory) { + score2 += 10; + if (prevCategory === 0 && nextCategory === 1) { + score2 += 1; + } + } + score2 += getCategoryBoundaryScore(prevCategory); + score2 += getCategoryBoundaryScore(nextCategory); + return score2; + } + translateOffset(offset, preference = "right") { + const i = findLastIdxMonotonous(this.firstElementOffsetByLineIdx, (value) => value <= offset); + const lineOffset = offset - this.firstElementOffsetByLineIdx[i]; + return new Position(this.range.startLineNumber + i, 1 + this.lineStartOffsets[i] + lineOffset + (lineOffset === 0 && preference === "left" ? 0 : this.trimmedWsLengthsByLineIdx[i])); + } + translateRange(range) { + const pos1 = this.translateOffset(range.start, "right"); + const pos2 = this.translateOffset(range.endExclusive, "left"); + if (pos2.isBefore(pos1)) { + return Range.fromPositions(pos2, pos2); + } + return Range.fromPositions(pos1, pos2); + } + /** + * Finds the word that contains the character at the given offset + */ + findWordContaining(offset) { + if (offset < 0 || offset >= this.elements.length) { + return void 0; + } + if (!isWordChar(this.elements[offset])) { + return void 0; + } + let start = offset; + while (start > 0 && isWordChar(this.elements[start - 1])) { + start--; + } + let end = offset; + while (end < this.elements.length && isWordChar(this.elements[end])) { + end++; + } + return new OffsetRange(start, end); + } + countLinesIn(range) { + return this.translateOffset(range.endExclusive).lineNumber - this.translateOffset(range.start).lineNumber; + } + isStronglyEqual(offset1, offset2) { + return this.elements[offset1] === this.elements[offset2]; + } + extendToFullLines(range) { + const start = findLastMonotonous(this.firstElementOffsetByLineIdx, (x) => x <= range.start) ?? 0; + const end = findFirstMonotonous(this.firstElementOffsetByLineIdx, (x) => range.endExclusive <= x) ?? this.elements.length; + return new OffsetRange(start, end); + } + }; + function isWordChar(charCode) { + return charCode >= 97 && charCode <= 122 || charCode >= 65 && charCode <= 90 || charCode >= 48 && charCode <= 57; + } + var score = { + [ + 0 + /* CharBoundaryCategory.WordLower */ + ]: 0, + [ + 1 + /* CharBoundaryCategory.WordUpper */ + ]: 0, + [ + 2 + /* CharBoundaryCategory.WordNumber */ + ]: 0, + [ + 3 + /* CharBoundaryCategory.End */ + ]: 10, + [ + 4 + /* CharBoundaryCategory.Other */ + ]: 2, + [ + 5 + /* CharBoundaryCategory.Separator */ + ]: 30, + [ + 6 + /* CharBoundaryCategory.Space */ + ]: 3, + [ + 7 + /* CharBoundaryCategory.LineBreakCR */ + ]: 10, + [ + 8 + /* CharBoundaryCategory.LineBreakLF */ + ]: 10 + }; + function getCategoryBoundaryScore(category) { + return score[category]; + } + function getCategory(charCode) { + if (charCode === 10) { + return 8; + } else if (charCode === 13) { + return 7; + } else if (isSpace(charCode)) { + return 6; + } else if (charCode >= 97 && charCode <= 122) { + return 0; + } else if (charCode >= 65 && charCode <= 90) { + return 1; + } else if (charCode >= 48 && charCode <= 57) { + return 2; + } else if (charCode === -1) { + return 3; + } else if (charCode === 44 || charCode === 59) { + return 5; + } else { + return 4; + } + } + + // node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js + function computeMovedLines(changes, originalLines, modifiedLines, hashedOriginalLines, hashedModifiedLines, timeout) { + let { moves, excludedChanges } = computeMovesFromSimpleDeletionsToSimpleInsertions(changes, originalLines, modifiedLines, timeout); + if (!timeout.isValid()) { + return []; + } + const filteredChanges = changes.filter((c) => !excludedChanges.has(c)); + const unchangedMoves = computeUnchangedMoves(filteredChanges, hashedOriginalLines, hashedModifiedLines, originalLines, modifiedLines, timeout); + pushMany(moves, unchangedMoves); + moves = joinCloseConsecutiveMoves(moves); + moves = moves.filter((current) => { + const lines = current.original.toOffsetRange().slice(originalLines).map((l) => l.trim()); + const originalText = lines.join("\n"); + return originalText.length >= 15 && countWhere(lines, (l) => l.length >= 2) >= 2; + }); + moves = removeMovesInSameDiff(changes, moves); + return moves; + } + function countWhere(arr, predicate) { + let count = 0; + for (const t of arr) { + if (predicate(t)) { + count++; + } + } + return count; + } + function computeMovesFromSimpleDeletionsToSimpleInsertions(changes, originalLines, modifiedLines, timeout) { + const moves = []; + const deletions = changes.filter((c) => c.modified.isEmpty && c.original.length >= 3).map((d) => new LineRangeFragment(d.original, originalLines, d)); + const insertions = new Set(changes.filter((c) => c.original.isEmpty && c.modified.length >= 3).map((d) => new LineRangeFragment(d.modified, modifiedLines, d))); + const excludedChanges = /* @__PURE__ */ new Set(); + for (const deletion of deletions) { + let highestSimilarity = -1; + let best; + for (const insertion of insertions) { + const similarity = deletion.computeSimilarity(insertion); + if (similarity > highestSimilarity) { + highestSimilarity = similarity; + best = insertion; + } + } + if (highestSimilarity > 0.9 && best) { + insertions.delete(best); + moves.push(new LineRangeMapping(deletion.range, best.range)); + excludedChanges.add(deletion.source); + excludedChanges.add(best.source); + } + if (!timeout.isValid()) { + return { moves, excludedChanges }; + } + } + return { moves, excludedChanges }; + } + function computeUnchangedMoves(changes, hashedOriginalLines, hashedModifiedLines, originalLines, modifiedLines, timeout) { + const moves = []; + const original3LineHashes = new SetMap(); + for (const change of changes) { + for (let i = change.original.startLineNumber; i < change.original.endLineNumberExclusive - 2; i++) { + const key = `${hashedOriginalLines[i - 1]}:${hashedOriginalLines[i + 1 - 1]}:${hashedOriginalLines[i + 2 - 1]}`; + original3LineHashes.add(key, { range: new LineRange(i, i + 3) }); + } + } + const possibleMappings = []; + changes.sort(compareBy((c) => c.modified.startLineNumber, numberComparator)); + for (const change of changes) { + let lastMappings = []; + for (let i = change.modified.startLineNumber; i < change.modified.endLineNumberExclusive - 2; i++) { + const key = `${hashedModifiedLines[i - 1]}:${hashedModifiedLines[i + 1 - 1]}:${hashedModifiedLines[i + 2 - 1]}`; + const currentModifiedRange = new LineRange(i, i + 3); + const nextMappings = []; + original3LineHashes.forEach(key, ({ range }) => { + for (const lastMapping of lastMappings) { + if (lastMapping.originalLineRange.endLineNumberExclusive + 1 === range.endLineNumberExclusive && lastMapping.modifiedLineRange.endLineNumberExclusive + 1 === currentModifiedRange.endLineNumberExclusive) { + lastMapping.originalLineRange = new LineRange(lastMapping.originalLineRange.startLineNumber, range.endLineNumberExclusive); + lastMapping.modifiedLineRange = new LineRange(lastMapping.modifiedLineRange.startLineNumber, currentModifiedRange.endLineNumberExclusive); + nextMappings.push(lastMapping); + return; + } + } + const mapping = { + modifiedLineRange: currentModifiedRange, + originalLineRange: range + }; + possibleMappings.push(mapping); + nextMappings.push(mapping); + }); + lastMappings = nextMappings; + } + if (!timeout.isValid()) { + return []; + } + } + possibleMappings.sort(reverseOrder(compareBy((m) => m.modifiedLineRange.length, numberComparator))); + const modifiedSet = new LineRangeSet(); + const originalSet = new LineRangeSet(); + for (const mapping of possibleMappings) { + const diffOrigToMod = mapping.modifiedLineRange.startLineNumber - mapping.originalLineRange.startLineNumber; + const modifiedSections = modifiedSet.subtractFrom(mapping.modifiedLineRange); + const originalTranslatedSections = originalSet.subtractFrom(mapping.originalLineRange).getWithDelta(diffOrigToMod); + const modifiedIntersectedSections = modifiedSections.getIntersection(originalTranslatedSections); + for (const s of modifiedIntersectedSections.ranges) { + if (s.length < 3) { + continue; + } + const modifiedLineRange = s; + const originalLineRange = s.delta(-diffOrigToMod); + moves.push(new LineRangeMapping(originalLineRange, modifiedLineRange)); + modifiedSet.addRange(modifiedLineRange); + originalSet.addRange(originalLineRange); + } + } + moves.sort(compareBy((m) => m.original.startLineNumber, numberComparator)); + const monotonousChanges = new MonotonousArray(changes); + for (let i = 0; i < moves.length; i++) { + const move = moves[i]; + const firstTouchingChangeOrig = monotonousChanges.findLastMonotonous((c) => c.original.startLineNumber <= move.original.startLineNumber); + const firstTouchingChangeMod = findLastMonotonous(changes, (c) => c.modified.startLineNumber <= move.modified.startLineNumber); + const linesAbove = Math.max(move.original.startLineNumber - firstTouchingChangeOrig.original.startLineNumber, move.modified.startLineNumber - firstTouchingChangeMod.modified.startLineNumber); + const lastTouchingChangeOrig = monotonousChanges.findLastMonotonous((c) => c.original.startLineNumber < move.original.endLineNumberExclusive); + const lastTouchingChangeMod = findLastMonotonous(changes, (c) => c.modified.startLineNumber < move.modified.endLineNumberExclusive); + const linesBelow = Math.max(lastTouchingChangeOrig.original.endLineNumberExclusive - move.original.endLineNumberExclusive, lastTouchingChangeMod.modified.endLineNumberExclusive - move.modified.endLineNumberExclusive); + let extendToTop; + for (extendToTop = 0; extendToTop < linesAbove; extendToTop++) { + const origLine = move.original.startLineNumber - extendToTop - 1; + const modLine = move.modified.startLineNumber - extendToTop - 1; + if (origLine > originalLines.length || modLine > modifiedLines.length) { + break; + } + if (modifiedSet.contains(modLine) || originalSet.contains(origLine)) { + break; + } + if (!areLinesSimilar(originalLines[origLine - 1], modifiedLines[modLine - 1], timeout)) { + break; + } + } + if (extendToTop > 0) { + originalSet.addRange(new LineRange(move.original.startLineNumber - extendToTop, move.original.startLineNumber)); + modifiedSet.addRange(new LineRange(move.modified.startLineNumber - extendToTop, move.modified.startLineNumber)); + } + let extendToBottom; + for (extendToBottom = 0; extendToBottom < linesBelow; extendToBottom++) { + const origLine = move.original.endLineNumberExclusive + extendToBottom; + const modLine = move.modified.endLineNumberExclusive + extendToBottom; + if (origLine > originalLines.length || modLine > modifiedLines.length) { + break; + } + if (modifiedSet.contains(modLine) || originalSet.contains(origLine)) { + break; + } + if (!areLinesSimilar(originalLines[origLine - 1], modifiedLines[modLine - 1], timeout)) { + break; + } + } + if (extendToBottom > 0) { + originalSet.addRange(new LineRange(move.original.endLineNumberExclusive, move.original.endLineNumberExclusive + extendToBottom)); + modifiedSet.addRange(new LineRange(move.modified.endLineNumberExclusive, move.modified.endLineNumberExclusive + extendToBottom)); + } + if (extendToTop > 0 || extendToBottom > 0) { + moves[i] = new LineRangeMapping(new LineRange(move.original.startLineNumber - extendToTop, move.original.endLineNumberExclusive + extendToBottom), new LineRange(move.modified.startLineNumber - extendToTop, move.modified.endLineNumberExclusive + extendToBottom)); + } + } + return moves; + } + function areLinesSimilar(line1, line2, timeout) { + if (line1.trim() === line2.trim()) { + return true; + } + if (line1.length > 300 && line2.length > 300) { + return false; + } + const myersDiffingAlgorithm = new MyersDiffAlgorithm(); + const result = myersDiffingAlgorithm.compute(new LinesSliceCharSequence([line1], new Range(1, 1, 1, line1.length), false), new LinesSliceCharSequence([line2], new Range(1, 1, 1, line2.length), false), timeout); + let commonNonSpaceCharCount = 0; + const inverted = SequenceDiff.invert(result.diffs, line1.length); + for (const seq of inverted) { + seq.seq1Range.forEach((idx) => { + if (!isSpace(line1.charCodeAt(idx))) { + commonNonSpaceCharCount++; + } + }); + } + function countNonWsChars(str) { + let count = 0; + for (let i = 0; i < line1.length; i++) { + if (!isSpace(str.charCodeAt(i))) { + count++; + } + } + return count; + } + const longerLineLength = countNonWsChars(line1.length > line2.length ? line1 : line2); + const r = commonNonSpaceCharCount / longerLineLength > 0.6 && longerLineLength > 10; + return r; + } + function joinCloseConsecutiveMoves(moves) { + if (moves.length === 0) { + return moves; + } + moves.sort(compareBy((m) => m.original.startLineNumber, numberComparator)); + const result = [moves[0]]; + for (let i = 1; i < moves.length; i++) { + const last = result[result.length - 1]; + const current = moves[i]; + const originalDist = current.original.startLineNumber - last.original.endLineNumberExclusive; + const modifiedDist = current.modified.startLineNumber - last.modified.endLineNumberExclusive; + const currentMoveAfterLast = originalDist >= 0 && modifiedDist >= 0; + if (currentMoveAfterLast && originalDist + modifiedDist <= 2) { + result[result.length - 1] = last.join(current); + continue; + } + result.push(current); + } + return result; + } + function removeMovesInSameDiff(changes, moves) { + const changesMonotonous = new MonotonousArray(changes); + moves = moves.filter((m) => { + const diffBeforeEndOfMoveOriginal = changesMonotonous.findLastMonotonous((c) => c.original.startLineNumber < m.original.endLineNumberExclusive) || new LineRangeMapping(new LineRange(1, 1), new LineRange(1, 1)); + const diffBeforeEndOfMoveModified = findLastMonotonous(changes, (c) => c.modified.startLineNumber < m.modified.endLineNumberExclusive); + const differentDiffs = diffBeforeEndOfMoveOriginal !== diffBeforeEndOfMoveModified; + return differentDiffs; + }); + return moves; + } + + // node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js + function optimizeSequenceDiffs(sequence1, sequence2, sequenceDiffs) { + let result = sequenceDiffs; + result = joinSequenceDiffsByShifting(sequence1, sequence2, result); + result = joinSequenceDiffsByShifting(sequence1, sequence2, result); + result = shiftSequenceDiffs(sequence1, sequence2, result); + return result; + } + function joinSequenceDiffsByShifting(sequence1, sequence2, sequenceDiffs) { + if (sequenceDiffs.length === 0) { + return sequenceDiffs; + } + const result = []; + result.push(sequenceDiffs[0]); + for (let i = 1; i < sequenceDiffs.length; i++) { + const prevResult = result[result.length - 1]; + let cur = sequenceDiffs[i]; + if (cur.seq1Range.isEmpty || cur.seq2Range.isEmpty) { + const length = cur.seq1Range.start - prevResult.seq1Range.endExclusive; + let d; + for (d = 1; d <= length; d++) { + if (sequence1.getElement(cur.seq1Range.start - d) !== sequence1.getElement(cur.seq1Range.endExclusive - d) || sequence2.getElement(cur.seq2Range.start - d) !== sequence2.getElement(cur.seq2Range.endExclusive - d)) { + break; + } + } + d--; + if (d === length) { + result[result.length - 1] = new SequenceDiff(new OffsetRange(prevResult.seq1Range.start, cur.seq1Range.endExclusive - length), new OffsetRange(prevResult.seq2Range.start, cur.seq2Range.endExclusive - length)); + continue; + } + cur = cur.delta(-d); + } + result.push(cur); + } + const result2 = []; + for (let i = 0; i < result.length - 1; i++) { + const nextResult = result[i + 1]; + let cur = result[i]; + if (cur.seq1Range.isEmpty || cur.seq2Range.isEmpty) { + const length = nextResult.seq1Range.start - cur.seq1Range.endExclusive; + let d; + for (d = 0; d < length; d++) { + if (!sequence1.isStronglyEqual(cur.seq1Range.start + d, cur.seq1Range.endExclusive + d) || !sequence2.isStronglyEqual(cur.seq2Range.start + d, cur.seq2Range.endExclusive + d)) { + break; + } + } + if (d === length) { + result[i + 1] = new SequenceDiff(new OffsetRange(cur.seq1Range.start + length, nextResult.seq1Range.endExclusive), new OffsetRange(cur.seq2Range.start + length, nextResult.seq2Range.endExclusive)); + continue; + } + if (d > 0) { + cur = cur.delta(d); + } + } + result2.push(cur); + } + if (result.length > 0) { + result2.push(result[result.length - 1]); + } + return result2; + } + function shiftSequenceDiffs(sequence1, sequence2, sequenceDiffs) { + if (!sequence1.getBoundaryScore || !sequence2.getBoundaryScore) { + return sequenceDiffs; + } + for (let i = 0; i < sequenceDiffs.length; i++) { + const prevDiff = i > 0 ? sequenceDiffs[i - 1] : void 0; + const diff = sequenceDiffs[i]; + const nextDiff = i + 1 < sequenceDiffs.length ? sequenceDiffs[i + 1] : void 0; + const seq1ValidRange = new OffsetRange(prevDiff ? prevDiff.seq1Range.endExclusive + 1 : 0, nextDiff ? nextDiff.seq1Range.start - 1 : sequence1.length); + const seq2ValidRange = new OffsetRange(prevDiff ? prevDiff.seq2Range.endExclusive + 1 : 0, nextDiff ? nextDiff.seq2Range.start - 1 : sequence2.length); + if (diff.seq1Range.isEmpty) { + sequenceDiffs[i] = shiftDiffToBetterPosition(diff, sequence1, sequence2, seq1ValidRange, seq2ValidRange); + } else if (diff.seq2Range.isEmpty) { + sequenceDiffs[i] = shiftDiffToBetterPosition(diff.swap(), sequence2, sequence1, seq2ValidRange, seq1ValidRange).swap(); + } + } + return sequenceDiffs; + } + function shiftDiffToBetterPosition(diff, sequence1, sequence2, seq1ValidRange, seq2ValidRange) { + const maxShiftLimit = 100; + let deltaBefore = 1; + while (diff.seq1Range.start - deltaBefore >= seq1ValidRange.start && diff.seq2Range.start - deltaBefore >= seq2ValidRange.start && sequence2.isStronglyEqual(diff.seq2Range.start - deltaBefore, diff.seq2Range.endExclusive - deltaBefore) && deltaBefore < maxShiftLimit) { + deltaBefore++; + } + deltaBefore--; + let deltaAfter = 0; + while (diff.seq1Range.start + deltaAfter < seq1ValidRange.endExclusive && diff.seq2Range.endExclusive + deltaAfter < seq2ValidRange.endExclusive && sequence2.isStronglyEqual(diff.seq2Range.start + deltaAfter, diff.seq2Range.endExclusive + deltaAfter) && deltaAfter < maxShiftLimit) { + deltaAfter++; + } + if (deltaBefore === 0 && deltaAfter === 0) { + return diff; + } + let bestDelta = 0; + let bestScore = -1; + for (let delta = -deltaBefore; delta <= deltaAfter; delta++) { + const seq2OffsetStart = diff.seq2Range.start + delta; + const seq2OffsetEndExclusive = diff.seq2Range.endExclusive + delta; + const seq1Offset = diff.seq1Range.start + delta; + const score2 = sequence1.getBoundaryScore(seq1Offset) + sequence2.getBoundaryScore(seq2OffsetStart) + sequence2.getBoundaryScore(seq2OffsetEndExclusive); + if (score2 > bestScore) { + bestScore = score2; + bestDelta = delta; + } + } + return diff.delta(bestDelta); + } + function removeShortMatches(sequence1, sequence2, sequenceDiffs) { + const result = []; + for (const s of sequenceDiffs) { + const last = result[result.length - 1]; + if (!last) { + result.push(s); + continue; + } + if (s.seq1Range.start - last.seq1Range.endExclusive <= 2 || s.seq2Range.start - last.seq2Range.endExclusive <= 2) { + result[result.length - 1] = new SequenceDiff(last.seq1Range.join(s.seq1Range), last.seq2Range.join(s.seq2Range)); + } else { + result.push(s); + } + } + return result; + } + function extendDiffsToEntireWordIfAppropriate(sequence1, sequence2, sequenceDiffs) { + const equalMappings = SequenceDiff.invert(sequenceDiffs, sequence1.length); + const additional = []; + let lastPoint = new OffsetPair(0, 0); + function scanWord(pair, equalMapping) { + if (pair.offset1 < lastPoint.offset1 || pair.offset2 < lastPoint.offset2) { + return; + } + const w1 = sequence1.findWordContaining(pair.offset1); + const w2 = sequence2.findWordContaining(pair.offset2); + if (!w1 || !w2) { + return; + } + let w = new SequenceDiff(w1, w2); + const equalPart = w.intersect(equalMapping); + let equalChars1 = equalPart.seq1Range.length; + let equalChars2 = equalPart.seq2Range.length; + while (equalMappings.length > 0) { + const next = equalMappings[0]; + const intersects = next.seq1Range.intersects(w.seq1Range) || next.seq2Range.intersects(w.seq2Range); + if (!intersects) { + break; + } + const v1 = sequence1.findWordContaining(next.seq1Range.start); + const v2 = sequence2.findWordContaining(next.seq2Range.start); + const v = new SequenceDiff(v1, v2); + const equalPart2 = v.intersect(next); + equalChars1 += equalPart2.seq1Range.length; + equalChars2 += equalPart2.seq2Range.length; + w = w.join(v); + if (w.seq1Range.endExclusive >= next.seq1Range.endExclusive) { + equalMappings.shift(); + } else { + break; + } + } + if (equalChars1 + equalChars2 < (w.seq1Range.length + w.seq2Range.length) * 2 / 3) { + additional.push(w); + } + lastPoint = w.getEndExclusives(); + } + while (equalMappings.length > 0) { + const next = equalMappings.shift(); + if (next.seq1Range.isEmpty) { + continue; + } + scanWord(next.getStarts(), next); + scanWord(next.getEndExclusives().delta(-1), next); + } + const merged = mergeSequenceDiffs(sequenceDiffs, additional); + return merged; + } + function mergeSequenceDiffs(sequenceDiffs1, sequenceDiffs2) { + const result = []; + while (sequenceDiffs1.length > 0 || sequenceDiffs2.length > 0) { + const sd1 = sequenceDiffs1[0]; + const sd2 = sequenceDiffs2[0]; + let next; + if (sd1 && (!sd2 || sd1.seq1Range.start < sd2.seq1Range.start)) { + next = sequenceDiffs1.shift(); + } else { + next = sequenceDiffs2.shift(); + } + if (result.length > 0 && result[result.length - 1].seq1Range.endExclusive >= next.seq1Range.start) { + result[result.length - 1] = result[result.length - 1].join(next); + } else { + result.push(next); + } + } + return result; + } + function removeVeryShortMatchingLinesBetweenDiffs(sequence1, _sequence2, sequenceDiffs) { + let diffs = sequenceDiffs; + if (diffs.length === 0) { + return diffs; + } + let counter = 0; + let shouldRepeat; + do { + shouldRepeat = false; + const result = [ + diffs[0] + ]; + for (let i = 1; i < diffs.length; i++) { + let shouldJoinDiffs = function(before, after) { + const unchangedRange = new OffsetRange(lastResult.seq1Range.endExclusive, cur.seq1Range.start); + const unchangedText = sequence1.getText(unchangedRange); + const unchangedTextWithoutWs = unchangedText.replace(/\s/g, ""); + if (unchangedTextWithoutWs.length <= 4 && (before.seq1Range.length + before.seq2Range.length > 5 || after.seq1Range.length + after.seq2Range.length > 5)) { + return true; + } + return false; + }; + const cur = diffs[i]; + const lastResult = result[result.length - 1]; + const shouldJoin = shouldJoinDiffs(lastResult, cur); + if (shouldJoin) { + shouldRepeat = true; + result[result.length - 1] = result[result.length - 1].join(cur); + } else { + result.push(cur); + } + } + diffs = result; + } while (counter++ < 10 && shouldRepeat); + return diffs; + } + function removeVeryShortMatchingTextBetweenLongDiffs(sequence1, sequence2, sequenceDiffs) { + let diffs = sequenceDiffs; + if (diffs.length === 0) { + return diffs; + } + let counter = 0; + let shouldRepeat; + do { + shouldRepeat = false; + const result = [ + diffs[0] + ]; + for (let i = 1; i < diffs.length; i++) { + let shouldJoinDiffs = function(before, after) { + const unchangedRange = new OffsetRange(lastResult.seq1Range.endExclusive, cur.seq1Range.start); + const unchangedLineCount = sequence1.countLinesIn(unchangedRange); + if (unchangedLineCount > 5 || unchangedRange.length > 500) { + return false; + } + const unchangedText = sequence1.getText(unchangedRange).trim(); + if (unchangedText.length > 20 || unchangedText.split(/\r\n|\r|\n/).length > 1) { + return false; + } + const beforeLineCount1 = sequence1.countLinesIn(before.seq1Range); + const beforeSeq1Length = before.seq1Range.length; + const beforeLineCount2 = sequence2.countLinesIn(before.seq2Range); + const beforeSeq2Length = before.seq2Range.length; + const afterLineCount1 = sequence1.countLinesIn(after.seq1Range); + const afterSeq1Length = after.seq1Range.length; + const afterLineCount2 = sequence2.countLinesIn(after.seq2Range); + const afterSeq2Length = after.seq2Range.length; + const max = 2 * 40 + 50; + function cap(v) { + return Math.min(v, max); + } + if (Math.pow(Math.pow(cap(beforeLineCount1 * 40 + beforeSeq1Length), 1.5) + Math.pow(cap(beforeLineCount2 * 40 + beforeSeq2Length), 1.5), 1.5) + Math.pow(Math.pow(cap(afterLineCount1 * 40 + afterSeq1Length), 1.5) + Math.pow(cap(afterLineCount2 * 40 + afterSeq2Length), 1.5), 1.5) > (max ** 1.5) ** 1.5 * 1.3) { + return true; + } + return false; + }; + const cur = diffs[i]; + const lastResult = result[result.length - 1]; + const shouldJoin = shouldJoinDiffs(lastResult, cur); + if (shouldJoin) { + shouldRepeat = true; + result[result.length - 1] = result[result.length - 1].join(cur); + } else { + result.push(cur); + } + } + diffs = result; + } while (counter++ < 10 && shouldRepeat); + const newDiffs = []; + forEachWithNeighbors(diffs, (prev, cur, next) => { + let newDiff = cur; + function shouldMarkAsChanged(text) { + return text.length > 0 && text.trim().length <= 3 && cur.seq1Range.length + cur.seq2Range.length > 100; + } + const fullRange1 = sequence1.extendToFullLines(cur.seq1Range); + const prefix = sequence1.getText(new OffsetRange(fullRange1.start, cur.seq1Range.start)); + if (shouldMarkAsChanged(prefix)) { + newDiff = newDiff.deltaStart(-prefix.length); + } + const suffix = sequence1.getText(new OffsetRange(cur.seq1Range.endExclusive, fullRange1.endExclusive)); + if (shouldMarkAsChanged(suffix)) { + newDiff = newDiff.deltaEnd(suffix.length); + } + const availableSpace = SequenceDiff.fromOffsetPairs(prev ? prev.getEndExclusives() : OffsetPair.zero, next ? next.getStarts() : OffsetPair.max); + const result = newDiff.intersect(availableSpace); + if (newDiffs.length > 0 && result.getStarts().equals(newDiffs[newDiffs.length - 1].getEndExclusives())) { + newDiffs[newDiffs.length - 1] = newDiffs[newDiffs.length - 1].join(result); + } else { + newDiffs.push(result); + } + }); + return newDiffs; + } + + // node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.js + var LineSequence2 = class { + constructor(trimmedHash, lines) { + this.trimmedHash = trimmedHash; + this.lines = lines; + } + getElement(offset) { + return this.trimmedHash[offset]; + } + get length() { + return this.trimmedHash.length; + } + getBoundaryScore(length) { + const indentationBefore = length === 0 ? 0 : getIndentation(this.lines[length - 1]); + const indentationAfter = length === this.lines.length ? 0 : getIndentation(this.lines[length]); + return 1e3 - (indentationBefore + indentationAfter); + } + getText(range) { + return this.lines.slice(range.start, range.endExclusive).join("\n"); + } + isStronglyEqual(offset1, offset2) { + return this.lines[offset1] === this.lines[offset2]; + } + }; + function getIndentation(str) { + let i = 0; + while (i < str.length && (str.charCodeAt(i) === 32 || str.charCodeAt(i) === 9)) { + i++; + } + return i; + } + + // node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js + var DefaultLinesDiffComputer = class { + constructor() { + this.dynamicProgrammingDiffing = new DynamicProgrammingDiffing(); + this.myersDiffingAlgorithm = new MyersDiffAlgorithm(); + } + computeDiff(originalLines, modifiedLines, options) { + if (originalLines.length <= 1 && equals2(originalLines, modifiedLines, (a, b) => a === b)) { + return new LinesDiff([], [], false); + } + if (originalLines.length === 1 && originalLines[0].length === 0 || modifiedLines.length === 1 && modifiedLines[0].length === 0) { + return new LinesDiff([ + new DetailedLineRangeMapping(new LineRange(1, originalLines.length + 1), new LineRange(1, modifiedLines.length + 1), [ + new RangeMapping(new Range(1, 1, originalLines.length, originalLines[originalLines.length - 1].length + 1), new Range(1, 1, modifiedLines.length, modifiedLines[modifiedLines.length - 1].length + 1)) + ]) + ], [], false); + } + const timeout = options.maxComputationTimeMs === 0 ? InfiniteTimeout.instance : new DateTimeout(options.maxComputationTimeMs); + const considerWhitespaceChanges = !options.ignoreTrimWhitespace; + const perfectHashes = /* @__PURE__ */ new Map(); + function getOrCreateHash(text) { + let hash = perfectHashes.get(text); + if (hash === void 0) { + hash = perfectHashes.size; + perfectHashes.set(text, hash); + } + return hash; + } + const originalLinesHashes = originalLines.map((l) => getOrCreateHash(l.trim())); + const modifiedLinesHashes = modifiedLines.map((l) => getOrCreateHash(l.trim())); + const sequence1 = new LineSequence2(originalLinesHashes, originalLines); + const sequence2 = new LineSequence2(modifiedLinesHashes, modifiedLines); + const lineAlignmentResult = (() => { + if (sequence1.length + sequence2.length < 1700) { + return this.dynamicProgrammingDiffing.compute(sequence1, sequence2, timeout, (offset1, offset2) => originalLines[offset1] === modifiedLines[offset2] ? modifiedLines[offset2].length === 0 ? 0.1 : 1 + Math.log(1 + modifiedLines[offset2].length) : 0.99); + } + return this.myersDiffingAlgorithm.compute(sequence1, sequence2, timeout); + })(); + let lineAlignments = lineAlignmentResult.diffs; + let hitTimeout = lineAlignmentResult.hitTimeout; + lineAlignments = optimizeSequenceDiffs(sequence1, sequence2, lineAlignments); + lineAlignments = removeVeryShortMatchingLinesBetweenDiffs(sequence1, sequence2, lineAlignments); + const alignments = []; + const scanForWhitespaceChanges = (equalLinesCount) => { + if (!considerWhitespaceChanges) { + return; + } + for (let i = 0; i < equalLinesCount; i++) { + const seq1Offset = seq1LastStart + i; + const seq2Offset = seq2LastStart + i; + if (originalLines[seq1Offset] !== modifiedLines[seq2Offset]) { + const characterDiffs = this.refineDiff(originalLines, modifiedLines, new SequenceDiff(new OffsetRange(seq1Offset, seq1Offset + 1), new OffsetRange(seq2Offset, seq2Offset + 1)), timeout, considerWhitespaceChanges); + for (const a of characterDiffs.mappings) { + alignments.push(a); + } + if (characterDiffs.hitTimeout) { + hitTimeout = true; + } + } + } + }; + let seq1LastStart = 0; + let seq2LastStart = 0; + for (const diff of lineAlignments) { + assertFn(() => diff.seq1Range.start - seq1LastStart === diff.seq2Range.start - seq2LastStart); + const equalLinesCount = diff.seq1Range.start - seq1LastStart; + scanForWhitespaceChanges(equalLinesCount); + seq1LastStart = diff.seq1Range.endExclusive; + seq2LastStart = diff.seq2Range.endExclusive; + const characterDiffs = this.refineDiff(originalLines, modifiedLines, diff, timeout, considerWhitespaceChanges); + if (characterDiffs.hitTimeout) { + hitTimeout = true; + } + for (const a of characterDiffs.mappings) { + alignments.push(a); + } + } + scanForWhitespaceChanges(originalLines.length - seq1LastStart); + const changes = lineRangeMappingFromRangeMappings(alignments, originalLines, modifiedLines); + let moves = []; + if (options.computeMoves) { + moves = this.computeMoves(changes, originalLines, modifiedLines, originalLinesHashes, modifiedLinesHashes, timeout, considerWhitespaceChanges); + } + assertFn(() => { + function validatePosition(pos, lines) { + if (pos.lineNumber < 1 || pos.lineNumber > lines.length) { + return false; + } + const line = lines[pos.lineNumber - 1]; + if (pos.column < 1 || pos.column > line.length + 1) { + return false; + } + return true; + } + function validateRange(range, lines) { + if (range.startLineNumber < 1 || range.startLineNumber > lines.length + 1) { + return false; + } + if (range.endLineNumberExclusive < 1 || range.endLineNumberExclusive > lines.length + 1) { + return false; + } + return true; + } + for (const c of changes) { + if (!c.innerChanges) { + return false; + } + for (const ic of c.innerChanges) { + const valid = validatePosition(ic.modifiedRange.getStartPosition(), modifiedLines) && validatePosition(ic.modifiedRange.getEndPosition(), modifiedLines) && validatePosition(ic.originalRange.getStartPosition(), originalLines) && validatePosition(ic.originalRange.getEndPosition(), originalLines); + if (!valid) { + return false; + } + } + if (!validateRange(c.modified, modifiedLines) || !validateRange(c.original, originalLines)) { + return false; + } + } + return true; + }); + return new LinesDiff(changes, moves, hitTimeout); + } + computeMoves(changes, originalLines, modifiedLines, hashedOriginalLines, hashedModifiedLines, timeout, considerWhitespaceChanges) { + const moves = computeMovedLines(changes, originalLines, modifiedLines, hashedOriginalLines, hashedModifiedLines, timeout); + const movesWithDiffs = moves.map((m) => { + const moveChanges = this.refineDiff(originalLines, modifiedLines, new SequenceDiff(m.original.toOffsetRange(), m.modified.toOffsetRange()), timeout, considerWhitespaceChanges); + const mappings = lineRangeMappingFromRangeMappings(moveChanges.mappings, originalLines, modifiedLines, true); + return new MovedText(m, mappings); + }); + return movesWithDiffs; + } + refineDiff(originalLines, modifiedLines, diff, timeout, considerWhitespaceChanges) { + const lineRangeMapping = toLineRangeMapping(diff); + const rangeMapping = lineRangeMapping.toRangeMapping2(originalLines, modifiedLines); + const slice1 = new LinesSliceCharSequence(originalLines, rangeMapping.originalRange, considerWhitespaceChanges); + const slice2 = new LinesSliceCharSequence(modifiedLines, rangeMapping.modifiedRange, considerWhitespaceChanges); + const diffResult = slice1.length + slice2.length < 500 ? this.dynamicProgrammingDiffing.compute(slice1, slice2, timeout) : this.myersDiffingAlgorithm.compute(slice1, slice2, timeout); + const check = false; + let diffs = diffResult.diffs; + if (check) { + SequenceDiff.assertSorted(diffs); + } + diffs = optimizeSequenceDiffs(slice1, slice2, diffs); + if (check) { + SequenceDiff.assertSorted(diffs); + } + diffs = extendDiffsToEntireWordIfAppropriate(slice1, slice2, diffs); + if (check) { + SequenceDiff.assertSorted(diffs); + } + diffs = removeShortMatches(slice1, slice2, diffs); + if (check) { + SequenceDiff.assertSorted(diffs); + } + diffs = removeVeryShortMatchingTextBetweenLongDiffs(slice1, slice2, diffs); + if (check) { + SequenceDiff.assertSorted(diffs); + } + const result = diffs.map((d) => new RangeMapping(slice1.translateRange(d.seq1Range), slice2.translateRange(d.seq2Range))); + if (check) { + RangeMapping.assertSorted(result); + } + return { + mappings: result, + hitTimeout: diffResult.hitTimeout + }; + } + }; + function lineRangeMappingFromRangeMappings(alignments, originalLines, modifiedLines, dontAssertStartLine = false) { + const changes = []; + for (const g of groupAdjacentBy(alignments.map((a) => getLineRangeMapping(a, originalLines, modifiedLines)), (a1, a2) => a1.original.overlapOrTouch(a2.original) || a1.modified.overlapOrTouch(a2.modified))) { + const first = g[0]; + const last = g[g.length - 1]; + changes.push(new DetailedLineRangeMapping(first.original.join(last.original), first.modified.join(last.modified), g.map((a) => a.innerChanges[0]))); + } + assertFn(() => { + if (!dontAssertStartLine && changes.length > 0) { + if (changes[0].modified.startLineNumber !== changes[0].original.startLineNumber) { + return false; + } + if (modifiedLines.length - changes[changes.length - 1].modified.endLineNumberExclusive !== originalLines.length - changes[changes.length - 1].original.endLineNumberExclusive) { + return false; + } + } + return checkAdjacentItems(changes, (m1, m2) => m2.original.startLineNumber - m1.original.endLineNumberExclusive === m2.modified.startLineNumber - m1.modified.endLineNumberExclusive && // There has to be an unchanged line in between (otherwise both diffs should have been joined) + m1.original.endLineNumberExclusive < m2.original.startLineNumber && m1.modified.endLineNumberExclusive < m2.modified.startLineNumber); + }); + return changes; + } + function getLineRangeMapping(rangeMapping, originalLines, modifiedLines) { + let lineStartDelta = 0; + let lineEndDelta = 0; + if (rangeMapping.modifiedRange.endColumn === 1 && rangeMapping.originalRange.endColumn === 1 && rangeMapping.originalRange.startLineNumber + lineStartDelta <= rangeMapping.originalRange.endLineNumber && rangeMapping.modifiedRange.startLineNumber + lineStartDelta <= rangeMapping.modifiedRange.endLineNumber) { + lineEndDelta = -1; + } + if (rangeMapping.modifiedRange.startColumn - 1 >= modifiedLines[rangeMapping.modifiedRange.startLineNumber - 1].length && rangeMapping.originalRange.startColumn - 1 >= originalLines[rangeMapping.originalRange.startLineNumber - 1].length && rangeMapping.originalRange.startLineNumber <= rangeMapping.originalRange.endLineNumber + lineEndDelta && rangeMapping.modifiedRange.startLineNumber <= rangeMapping.modifiedRange.endLineNumber + lineEndDelta) { + lineStartDelta = 1; + } + const originalLineRange = new LineRange(rangeMapping.originalRange.startLineNumber + lineStartDelta, rangeMapping.originalRange.endLineNumber + 1 + lineEndDelta); + const modifiedLineRange = new LineRange(rangeMapping.modifiedRange.startLineNumber + lineStartDelta, rangeMapping.modifiedRange.endLineNumber + 1 + lineEndDelta); + return new DetailedLineRangeMapping(originalLineRange, modifiedLineRange, [rangeMapping]); + } + function toLineRangeMapping(sequenceDiff) { + return new LineRangeMapping(new LineRange(sequenceDiff.seq1Range.start + 1, sequenceDiff.seq1Range.endExclusive + 1), new LineRange(sequenceDiff.seq2Range.start + 1, sequenceDiff.seq2Range.endExclusive + 1)); + } + + // node_modules/monaco-editor/esm/vs/editor/common/diff/linesDiffComputers.js + var linesDiffComputers = { + getLegacy: () => new LegacyLinesDiffComputer(), + getDefault: () => new DefaultLinesDiffComputer() + }; + + // node_modules/monaco-editor/esm/vs/base/common/color.js + function roundFloat(number, decimalPoints) { + const decimal = Math.pow(10, decimalPoints); + return Math.round(number * decimal) / decimal; + } + var RGBA = class { + constructor(r, g, b, a = 1) { + this._rgbaBrand = void 0; + this.r = Math.min(255, Math.max(0, r)) | 0; + this.g = Math.min(255, Math.max(0, g)) | 0; + this.b = Math.min(255, Math.max(0, b)) | 0; + this.a = roundFloat(Math.max(Math.min(1, a), 0), 3); + } + static equals(a, b) { + return a.r === b.r && a.g === b.g && a.b === b.b && a.a === b.a; + } + }; + var HSLA = class _HSLA { + constructor(h, s, l, a) { + this._hslaBrand = void 0; + this.h = Math.max(Math.min(360, h), 0) | 0; + this.s = roundFloat(Math.max(Math.min(1, s), 0), 3); + this.l = roundFloat(Math.max(Math.min(1, l), 0), 3); + this.a = roundFloat(Math.max(Math.min(1, a), 0), 3); + } + static equals(a, b) { + return a.h === b.h && a.s === b.s && a.l === b.l && a.a === b.a; + } + /** + * Converts an RGB color value to HSL. Conversion formula + * adapted from http://en.wikipedia.org/wiki/HSL_color_space. + * Assumes r, g, and b are contained in the set [0, 255] and + * returns h in the set [0, 360], s, and l in the set [0, 1]. + */ + static fromRGBA(rgba) { + const r = rgba.r / 255; + const g = rgba.g / 255; + const b = rgba.b / 255; + const a = rgba.a; + const max = Math.max(r, g, b); + const min = Math.min(r, g, b); + let h = 0; + let s = 0; + const l = (min + max) / 2; + const chroma = max - min; + if (chroma > 0) { + s = Math.min(l <= 0.5 ? chroma / (2 * l) : chroma / (2 - 2 * l), 1); + switch (max) { + case r: + h = (g - b) / chroma + (g < b ? 6 : 0); + break; + case g: + h = (b - r) / chroma + 2; + break; + case b: + h = (r - g) / chroma + 4; + break; + } + h *= 60; + h = Math.round(h); + } + return new _HSLA(h, s, l, a); + } + static _hue2rgb(p, q, t) { + if (t < 0) { + t += 1; + } + if (t > 1) { + t -= 1; + } + if (t < 1 / 6) { + return p + (q - p) * 6 * t; + } + if (t < 1 / 2) { + return q; + } + if (t < 2 / 3) { + return p + (q - p) * (2 / 3 - t) * 6; + } + return p; + } + /** + * Converts an HSL color value to RGB. Conversion formula + * adapted from http://en.wikipedia.org/wiki/HSL_color_space. + * Assumes h in the set [0, 360] s, and l are contained in the set [0, 1] and + * returns r, g, and b in the set [0, 255]. + */ + static toRGBA(hsla) { + const h = hsla.h / 360; + const { s, l, a } = hsla; + let r, g, b; + if (s === 0) { + r = g = b = l; + } else { + const q = l < 0.5 ? l * (1 + s) : l + s - l * s; + const p = 2 * l - q; + r = _HSLA._hue2rgb(p, q, h + 1 / 3); + g = _HSLA._hue2rgb(p, q, h); + b = _HSLA._hue2rgb(p, q, h - 1 / 3); + } + return new RGBA(Math.round(r * 255), Math.round(g * 255), Math.round(b * 255), a); + } + }; + var HSVA = class _HSVA { + constructor(h, s, v, a) { + this._hsvaBrand = void 0; + this.h = Math.max(Math.min(360, h), 0) | 0; + this.s = roundFloat(Math.max(Math.min(1, s), 0), 3); + this.v = roundFloat(Math.max(Math.min(1, v), 0), 3); + this.a = roundFloat(Math.max(Math.min(1, a), 0), 3); + } + static equals(a, b) { + return a.h === b.h && a.s === b.s && a.v === b.v && a.a === b.a; + } + // from http://www.rapidtables.com/convert/color/rgb-to-hsv.htm + static fromRGBA(rgba) { + const r = rgba.r / 255; + const g = rgba.g / 255; + const b = rgba.b / 255; + const cmax = Math.max(r, g, b); + const cmin = Math.min(r, g, b); + const delta = cmax - cmin; + const s = cmax === 0 ? 0 : delta / cmax; + let m; + if (delta === 0) { + m = 0; + } else if (cmax === r) { + m = ((g - b) / delta % 6 + 6) % 6; + } else if (cmax === g) { + m = (b - r) / delta + 2; + } else { + m = (r - g) / delta + 4; + } + return new _HSVA(Math.round(m * 60), s, cmax, rgba.a); + } + // from http://www.rapidtables.com/convert/color/hsv-to-rgb.htm + static toRGBA(hsva) { + const { h, s, v, a } = hsva; + const c = v * s; + const x = c * (1 - Math.abs(h / 60 % 2 - 1)); + const m = v - c; + let [r, g, b] = [0, 0, 0]; + if (h < 60) { + r = c; + g = x; + } else if (h < 120) { + r = x; + g = c; + } else if (h < 180) { + g = c; + b = x; + } else if (h < 240) { + g = x; + b = c; + } else if (h < 300) { + r = x; + b = c; + } else if (h <= 360) { + r = c; + b = x; + } + r = Math.round((r + m) * 255); + g = Math.round((g + m) * 255); + b = Math.round((b + m) * 255); + return new RGBA(r, g, b, a); + } + }; + var Color = class _Color { + static fromHex(hex) { + return _Color.Format.CSS.parseHex(hex) || _Color.red; + } + static equals(a, b) { + if (!a && !b) { + return true; + } + if (!a || !b) { + return false; + } + return a.equals(b); + } + get hsla() { + if (this._hsla) { + return this._hsla; + } else { + return HSLA.fromRGBA(this.rgba); + } + } + get hsva() { + if (this._hsva) { + return this._hsva; + } + return HSVA.fromRGBA(this.rgba); + } + constructor(arg) { + if (!arg) { + throw new Error("Color needs a value"); + } else if (arg instanceof RGBA) { + this.rgba = arg; + } else if (arg instanceof HSLA) { + this._hsla = arg; + this.rgba = HSLA.toRGBA(arg); + } else if (arg instanceof HSVA) { + this._hsva = arg; + this.rgba = HSVA.toRGBA(arg); + } else { + throw new Error("Invalid color ctor argument"); + } + } + equals(other) { + return !!other && RGBA.equals(this.rgba, other.rgba) && HSLA.equals(this.hsla, other.hsla) && HSVA.equals(this.hsva, other.hsva); + } + /** + * http://www.w3.org/TR/WCAG20/#relativeluminancedef + * Returns the number in the set [0, 1]. O => Darkest Black. 1 => Lightest white. + */ + getRelativeLuminance() { + const R = _Color._relativeLuminanceForComponent(this.rgba.r); + const G = _Color._relativeLuminanceForComponent(this.rgba.g); + const B = _Color._relativeLuminanceForComponent(this.rgba.b); + const luminance = 0.2126 * R + 0.7152 * G + 0.0722 * B; + return roundFloat(luminance, 4); + } + static _relativeLuminanceForComponent(color) { + const c = color / 255; + return c <= 0.03928 ? c / 12.92 : Math.pow((c + 0.055) / 1.055, 2.4); + } + /** + * http://24ways.org/2010/calculating-color-contrast + * Return 'true' if lighter color otherwise 'false' + */ + isLighter() { + const yiq = (this.rgba.r * 299 + this.rgba.g * 587 + this.rgba.b * 114) / 1e3; + return yiq >= 128; + } + isLighterThan(another) { + const lum1 = this.getRelativeLuminance(); + const lum2 = another.getRelativeLuminance(); + return lum1 > lum2; + } + isDarkerThan(another) { + const lum1 = this.getRelativeLuminance(); + const lum2 = another.getRelativeLuminance(); + return lum1 < lum2; + } + lighten(factor) { + return new _Color(new HSLA(this.hsla.h, this.hsla.s, this.hsla.l + this.hsla.l * factor, this.hsla.a)); + } + darken(factor) { + return new _Color(new HSLA(this.hsla.h, this.hsla.s, this.hsla.l - this.hsla.l * factor, this.hsla.a)); + } + transparent(factor) { + const { r, g, b, a } = this.rgba; + return new _Color(new RGBA(r, g, b, a * factor)); + } + isTransparent() { + return this.rgba.a === 0; + } + isOpaque() { + return this.rgba.a === 1; + } + opposite() { + return new _Color(new RGBA(255 - this.rgba.r, 255 - this.rgba.g, 255 - this.rgba.b, this.rgba.a)); + } + makeOpaque(opaqueBackground) { + if (this.isOpaque() || opaqueBackground.rgba.a !== 1) { + return this; + } + const { r, g, b, a } = this.rgba; + return new _Color(new RGBA(opaqueBackground.rgba.r - a * (opaqueBackground.rgba.r - r), opaqueBackground.rgba.g - a * (opaqueBackground.rgba.g - g), opaqueBackground.rgba.b - a * (opaqueBackground.rgba.b - b), 1)); + } + toString() { + if (!this._toString) { + this._toString = _Color.Format.CSS.format(this); + } + return this._toString; + } + static getLighterColor(of, relative2, factor) { + if (of.isLighterThan(relative2)) { + return of; + } + factor = factor ? factor : 0.5; + const lum1 = of.getRelativeLuminance(); + const lum2 = relative2.getRelativeLuminance(); + factor = factor * (lum2 - lum1) / lum2; + return of.lighten(factor); + } + static getDarkerColor(of, relative2, factor) { + if (of.isDarkerThan(relative2)) { + return of; + } + factor = factor ? factor : 0.5; + const lum1 = of.getRelativeLuminance(); + const lum2 = relative2.getRelativeLuminance(); + factor = factor * (lum1 - lum2) / lum1; + return of.darken(factor); + } + static { + this.white = new _Color(new RGBA(255, 255, 255, 1)); + } + static { + this.black = new _Color(new RGBA(0, 0, 0, 1)); + } + static { + this.red = new _Color(new RGBA(255, 0, 0, 1)); + } + static { + this.blue = new _Color(new RGBA(0, 0, 255, 1)); + } + static { + this.green = new _Color(new RGBA(0, 255, 0, 1)); + } + static { + this.cyan = new _Color(new RGBA(0, 255, 255, 1)); + } + static { + this.lightgrey = new _Color(new RGBA(211, 211, 211, 1)); + } + static { + this.transparent = new _Color(new RGBA(0, 0, 0, 0)); + } + }; + (function(Color2) { + let Format; + (function(Format2) { + let CSS; + (function(CSS2) { + function formatRGB(color) { + if (color.rgba.a === 1) { + return `rgb(${color.rgba.r}, ${color.rgba.g}, ${color.rgba.b})`; + } + return Color2.Format.CSS.formatRGBA(color); + } + CSS2.formatRGB = formatRGB; + function formatRGBA(color) { + return `rgba(${color.rgba.r}, ${color.rgba.g}, ${color.rgba.b}, ${+color.rgba.a.toFixed(2)})`; + } + CSS2.formatRGBA = formatRGBA; + function formatHSL(color) { + if (color.hsla.a === 1) { + return `hsl(${color.hsla.h}, ${(color.hsla.s * 100).toFixed(2)}%, ${(color.hsla.l * 100).toFixed(2)}%)`; + } + return Color2.Format.CSS.formatHSLA(color); + } + CSS2.formatHSL = formatHSL; + function formatHSLA(color) { + return `hsla(${color.hsla.h}, ${(color.hsla.s * 100).toFixed(2)}%, ${(color.hsla.l * 100).toFixed(2)}%, ${color.hsla.a.toFixed(2)})`; + } + CSS2.formatHSLA = formatHSLA; + function _toTwoDigitHex(n) { + const r = n.toString(16); + return r.length !== 2 ? "0" + r : r; + } + function formatHex(color) { + return `#${_toTwoDigitHex(color.rgba.r)}${_toTwoDigitHex(color.rgba.g)}${_toTwoDigitHex(color.rgba.b)}`; + } + CSS2.formatHex = formatHex; + function formatHexA(color, compact = false) { + if (compact && color.rgba.a === 1) { + return Color2.Format.CSS.formatHex(color); + } + return `#${_toTwoDigitHex(color.rgba.r)}${_toTwoDigitHex(color.rgba.g)}${_toTwoDigitHex(color.rgba.b)}${_toTwoDigitHex(Math.round(color.rgba.a * 255))}`; + } + CSS2.formatHexA = formatHexA; + function format(color) { + if (color.isOpaque()) { + return Color2.Format.CSS.formatHex(color); + } + return Color2.Format.CSS.formatRGBA(color); + } + CSS2.format = format; + function parseHex(hex) { + const length = hex.length; + if (length === 0) { + return null; + } + if (hex.charCodeAt(0) !== 35) { + return null; + } + if (length === 7) { + const r = 16 * _parseHexDigit(hex.charCodeAt(1)) + _parseHexDigit(hex.charCodeAt(2)); + const g = 16 * _parseHexDigit(hex.charCodeAt(3)) + _parseHexDigit(hex.charCodeAt(4)); + const b = 16 * _parseHexDigit(hex.charCodeAt(5)) + _parseHexDigit(hex.charCodeAt(6)); + return new Color2(new RGBA(r, g, b, 1)); + } + if (length === 9) { + const r = 16 * _parseHexDigit(hex.charCodeAt(1)) + _parseHexDigit(hex.charCodeAt(2)); + const g = 16 * _parseHexDigit(hex.charCodeAt(3)) + _parseHexDigit(hex.charCodeAt(4)); + const b = 16 * _parseHexDigit(hex.charCodeAt(5)) + _parseHexDigit(hex.charCodeAt(6)); + const a = 16 * _parseHexDigit(hex.charCodeAt(7)) + _parseHexDigit(hex.charCodeAt(8)); + return new Color2(new RGBA(r, g, b, a / 255)); + } + if (length === 4) { + const r = _parseHexDigit(hex.charCodeAt(1)); + const g = _parseHexDigit(hex.charCodeAt(2)); + const b = _parseHexDigit(hex.charCodeAt(3)); + return new Color2(new RGBA(16 * r + r, 16 * g + g, 16 * b + b)); + } + if (length === 5) { + const r = _parseHexDigit(hex.charCodeAt(1)); + const g = _parseHexDigit(hex.charCodeAt(2)); + const b = _parseHexDigit(hex.charCodeAt(3)); + const a = _parseHexDigit(hex.charCodeAt(4)); + return new Color2(new RGBA(16 * r + r, 16 * g + g, 16 * b + b, (16 * a + a) / 255)); + } + return null; + } + CSS2.parseHex = parseHex; + function _parseHexDigit(charCode) { + switch (charCode) { + case 48: + return 0; + case 49: + return 1; + case 50: + return 2; + case 51: + return 3; + case 52: + return 4; + case 53: + return 5; + case 54: + return 6; + case 55: + return 7; + case 56: + return 8; + case 57: + return 9; + case 97: + return 10; + case 65: + return 10; + case 98: + return 11; + case 66: + return 11; + case 99: + return 12; + case 67: + return 12; + case 100: + return 13; + case 68: + return 13; + case 101: + return 14; + case 69: + return 14; + case 102: + return 15; + case 70: + return 15; + } + return 0; + } + })(CSS = Format2.CSS || (Format2.CSS = {})); + })(Format = Color2.Format || (Color2.Format = {})); + })(Color || (Color = {})); + + // node_modules/monaco-editor/esm/vs/editor/common/languages/defaultDocumentColorsComputer.js + function _parseCaptureGroups(captureGroups) { + const values = []; + for (const captureGroup of captureGroups) { + const parsedNumber = Number(captureGroup); + if (parsedNumber || parsedNumber === 0 && captureGroup.replace(/\s/g, "") !== "") { + values.push(parsedNumber); + } + } + return values; + } + function _toIColor(r, g, b, a) { + return { + red: r / 255, + blue: b / 255, + green: g / 255, + alpha: a + }; + } + function _findRange(model, match) { + const index = match.index; + const length = match[0].length; + if (!index) { + return; + } + const startPosition = model.positionAt(index); + const range = { + startLineNumber: startPosition.lineNumber, + startColumn: startPosition.column, + endLineNumber: startPosition.lineNumber, + endColumn: startPosition.column + length + }; + return range; + } + function _findHexColorInformation(range, hexValue) { + if (!range) { + return; + } + const parsedHexColor = Color.Format.CSS.parseHex(hexValue); + if (!parsedHexColor) { + return; + } + return { + range, + color: _toIColor(parsedHexColor.rgba.r, parsedHexColor.rgba.g, parsedHexColor.rgba.b, parsedHexColor.rgba.a) + }; + } + function _findRGBColorInformation(range, matches, isAlpha) { + if (!range || matches.length !== 1) { + return; + } + const match = matches[0]; + const captureGroups = match.values(); + const parsedRegex = _parseCaptureGroups(captureGroups); + return { + range, + color: _toIColor(parsedRegex[0], parsedRegex[1], parsedRegex[2], isAlpha ? parsedRegex[3] : 1) + }; + } + function _findHSLColorInformation(range, matches, isAlpha) { + if (!range || matches.length !== 1) { + return; + } + const match = matches[0]; + const captureGroups = match.values(); + const parsedRegex = _parseCaptureGroups(captureGroups); + const colorEquivalent = new Color(new HSLA(parsedRegex[0], parsedRegex[1] / 100, parsedRegex[2] / 100, isAlpha ? parsedRegex[3] : 1)); + return { + range, + color: _toIColor(colorEquivalent.rgba.r, colorEquivalent.rgba.g, colorEquivalent.rgba.b, colorEquivalent.rgba.a) + }; + } + function _findMatches(model, regex) { + if (typeof model === "string") { + return [...model.matchAll(regex)]; + } else { + return model.findMatches(regex); + } + } + function computeColors(model) { + const result = []; + const initialValidationRegex = /\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm; + const initialValidationMatches = _findMatches(model, initialValidationRegex); + if (initialValidationMatches.length > 0) { + for (const initialMatch of initialValidationMatches) { + const initialCaptureGroups = initialMatch.filter((captureGroup) => captureGroup !== void 0); + const colorScheme = initialCaptureGroups[1]; + const colorParameters = initialCaptureGroups[2]; + if (!colorParameters) { + continue; + } + let colorInformation; + if (colorScheme === "rgb") { + const regexParameters = /^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm; + colorInformation = _findRGBColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), false); + } else if (colorScheme === "rgba") { + const regexParameters = /^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm; + colorInformation = _findRGBColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), true); + } else if (colorScheme === "hsl") { + const regexParameters = /^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm; + colorInformation = _findHSLColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), false); + } else if (colorScheme === "hsla") { + const regexParameters = /^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm; + colorInformation = _findHSLColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), true); + } else if (colorScheme === "#") { + colorInformation = _findHexColorInformation(_findRange(model, initialMatch), colorScheme + colorParameters); + } + if (colorInformation) { + result.push(colorInformation); + } + } + } + return result; + } + function computeDefaultDocumentColors(model) { + if (!model || typeof model.getValue !== "function" || typeof model.positionAt !== "function") { + return []; + } + return computeColors(model); + } + + // node_modules/monaco-editor/esm/vs/editor/common/services/findSectionHeaders.js + var markRegex = new RegExp("\\bMARK:\\s*(.*)$", "d"); + var trimDashesRegex = /^-+|-+$/g; + function findSectionHeaders(model, options) { + let headers = []; + if (options.findRegionSectionHeaders && options.foldingRules?.markers) { + const regionHeaders = collectRegionHeaders(model, options); + headers = headers.concat(regionHeaders); + } + if (options.findMarkSectionHeaders) { + const markHeaders = collectMarkHeaders(model); + headers = headers.concat(markHeaders); + } + return headers; + } + function collectRegionHeaders(model, options) { + const regionHeaders = []; + const endLineNumber = model.getLineCount(); + for (let lineNumber = 1; lineNumber <= endLineNumber; lineNumber++) { + const lineContent = model.getLineContent(lineNumber); + const match = lineContent.match(options.foldingRules.markers.start); + if (match) { + const range = { startLineNumber: lineNumber, startColumn: match[0].length + 1, endLineNumber: lineNumber, endColumn: lineContent.length + 1 }; + if (range.endColumn > range.startColumn) { + const sectionHeader = { + range, + ...getHeaderText(lineContent.substring(match[0].length)), + shouldBeInComments: false + }; + if (sectionHeader.text || sectionHeader.hasSeparatorLine) { + regionHeaders.push(sectionHeader); + } + } + } + } + return regionHeaders; + } + function collectMarkHeaders(model) { + const markHeaders = []; + const endLineNumber = model.getLineCount(); + for (let lineNumber = 1; lineNumber <= endLineNumber; lineNumber++) { + const lineContent = model.getLineContent(lineNumber); + addMarkHeaderIfFound(lineContent, lineNumber, markHeaders); + } + return markHeaders; + } + function addMarkHeaderIfFound(lineContent, lineNumber, sectionHeaders) { + markRegex.lastIndex = 0; + const match = markRegex.exec(lineContent); + if (match) { + const column = match.indices[1][0] + 1; + const endColumn = match.indices[1][1] + 1; + const range = { startLineNumber: lineNumber, startColumn: column, endLineNumber: lineNumber, endColumn }; + if (range.endColumn > range.startColumn) { + const sectionHeader = { + range, + ...getHeaderText(match[1]), + shouldBeInComments: true + }; + if (sectionHeader.text || sectionHeader.hasSeparatorLine) { + sectionHeaders.push(sectionHeader); + } + } + } + } + function getHeaderText(text) { + text = text.trim(); + const hasSeparatorLine = text.startsWith("-"); + text = text.replace(trimDashesRegex, ""); + return { text, hasSeparatorLine }; + } + + // node_modules/monaco-editor/esm/vs/base/common/symbols.js + var MicrotaskDelay = Symbol("MicrotaskDelay"); + + // node_modules/monaco-editor/esm/vs/base/common/async.js + var runWhenGlobalIdle; + var _runWhenIdle; + (function() { + if (typeof globalThis.requestIdleCallback !== "function" || typeof globalThis.cancelIdleCallback !== "function") { + _runWhenIdle = (_targetWindow, runner) => { + setTimeout0(() => { + if (disposed) { + return; + } + const end = Date.now() + 15; + const deadline = { + didTimeout: true, + timeRemaining() { + return Math.max(0, end - Date.now()); + } + }; + runner(Object.freeze(deadline)); + }); + let disposed = false; + return { + dispose() { + if (disposed) { + return; + } + disposed = true; + } + }; + }; + } else { + _runWhenIdle = (targetWindow, runner, timeout) => { + const handle = targetWindow.requestIdleCallback(runner, typeof timeout === "number" ? { timeout } : void 0); + let disposed = false; + return { + dispose() { + if (disposed) { + return; + } + disposed = true; + targetWindow.cancelIdleCallback(handle); + } + }; + }; + } + runWhenGlobalIdle = (runner) => _runWhenIdle(globalThis, runner); + })(); + var Promises; + (function(Promises2) { + async function settled(promises) { + let firstError = void 0; + const result = await Promise.all(promises.map((promise) => promise.then((value) => value, (error) => { + if (!firstError) { + firstError = error; + } + return void 0; + }))); + if (typeof firstError !== "undefined") { + throw firstError; + } + return result; + } + Promises2.settled = settled; + function withAsyncBody(bodyFn) { + return new Promise(async (resolve2, reject) => { + try { + await bodyFn(resolve2, reject); + } catch (error) { + reject(error); + } + }); + } + Promises2.withAsyncBody = withAsyncBody; + })(Promises || (Promises = {})); + var AsyncIterableObject = class _AsyncIterableObject { + static fromArray(items) { + return new _AsyncIterableObject((writer) => { + writer.emitMany(items); + }); + } + static fromPromise(promise) { + return new _AsyncIterableObject(async (emitter) => { + emitter.emitMany(await promise); + }); + } + static fromPromises(promises) { + return new _AsyncIterableObject(async (emitter) => { + await Promise.all(promises.map(async (p) => emitter.emitOne(await p))); + }); + } + static merge(iterables) { + return new _AsyncIterableObject(async (emitter) => { + await Promise.all(iterables.map(async (iterable) => { + for await (const item of iterable) { + emitter.emitOne(item); + } + })); + }); + } + static { + this.EMPTY = _AsyncIterableObject.fromArray([]); + } + constructor(executor, onReturn) { + this._state = 0; + this._results = []; + this._error = null; + this._onReturn = onReturn; + this._onStateChanged = new Emitter(); + queueMicrotask(async () => { + const writer = { + emitOne: (item) => this.emitOne(item), + emitMany: (items) => this.emitMany(items), + reject: (error) => this.reject(error) + }; + try { + await Promise.resolve(executor(writer)); + this.resolve(); + } catch (err) { + this.reject(err); + } finally { + writer.emitOne = void 0; + writer.emitMany = void 0; + writer.reject = void 0; + } + }); + } + [Symbol.asyncIterator]() { + let i = 0; + return { + next: async () => { + do { + if (this._state === 2) { + throw this._error; + } + if (i < this._results.length) { + return { done: false, value: this._results[i++] }; + } + if (this._state === 1) { + return { done: true, value: void 0 }; + } + await Event.toPromise(this._onStateChanged.event); + } while (true); + }, + return: async () => { + this._onReturn?.(); + return { done: true, value: void 0 }; + } + }; + } + static map(iterable, mapFn) { + return new _AsyncIterableObject(async (emitter) => { + for await (const item of iterable) { + emitter.emitOne(mapFn(item)); + } + }); + } + map(mapFn) { + return _AsyncIterableObject.map(this, mapFn); + } + static filter(iterable, filterFn) { + return new _AsyncIterableObject(async (emitter) => { + for await (const item of iterable) { + if (filterFn(item)) { + emitter.emitOne(item); + } + } + }); + } + filter(filterFn) { + return _AsyncIterableObject.filter(this, filterFn); + } + static coalesce(iterable) { + return _AsyncIterableObject.filter(iterable, (item) => !!item); + } + coalesce() { + return _AsyncIterableObject.coalesce(this); + } + static async toPromise(iterable) { + const result = []; + for await (const item of iterable) { + result.push(item); + } + return result; + } + toPromise() { + return _AsyncIterableObject.toPromise(this); + } + /** + * The value will be appended at the end. + * + * **NOTE** If `resolve()` or `reject()` have already been called, this method has no effect. + */ + emitOne(value) { + if (this._state !== 0) { + return; + } + this._results.push(value); + this._onStateChanged.fire(); + } + /** + * The values will be appended at the end. + * + * **NOTE** If `resolve()` or `reject()` have already been called, this method has no effect. + */ + emitMany(values) { + if (this._state !== 0) { + return; + } + this._results = this._results.concat(values); + this._onStateChanged.fire(); + } + /** + * Calling `resolve()` will mark the result array as complete. + * + * **NOTE** `resolve()` must be called, otherwise all consumers of this iterable will hang indefinitely, similar to a non-resolved promise. + * **NOTE** If `resolve()` or `reject()` have already been called, this method has no effect. + */ + resolve() { + if (this._state !== 0) { + return; + } + this._state = 1; + this._onStateChanged.fire(); + } + /** + * Writing an error will permanently invalidate this iterable. + * The current users will receive an error thrown, as will all future users. + * + * **NOTE** If `resolve()` or `reject()` have already been called, this method has no effect. + */ + reject(error) { + if (this._state !== 0) { + return; + } + this._state = 2; + this._error = error; + this._onStateChanged.fire(); + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/model/prefixSumComputer.js + var PrefixSumComputer = class { + constructor(values) { + this.values = values; + this.prefixSum = new Uint32Array(values.length); + this.prefixSumValidIndex = new Int32Array(1); + this.prefixSumValidIndex[0] = -1; + } + insertValues(insertIndex, insertValues) { + insertIndex = toUint32(insertIndex); + const oldValues = this.values; + const oldPrefixSum = this.prefixSum; + const insertValuesLen = insertValues.length; + if (insertValuesLen === 0) { + return false; + } + this.values = new Uint32Array(oldValues.length + insertValuesLen); + this.values.set(oldValues.subarray(0, insertIndex), 0); + this.values.set(oldValues.subarray(insertIndex), insertIndex + insertValuesLen); + this.values.set(insertValues, insertIndex); + if (insertIndex - 1 < this.prefixSumValidIndex[0]) { + this.prefixSumValidIndex[0] = insertIndex - 1; + } + this.prefixSum = new Uint32Array(this.values.length); + if (this.prefixSumValidIndex[0] >= 0) { + this.prefixSum.set(oldPrefixSum.subarray(0, this.prefixSumValidIndex[0] + 1)); + } + return true; + } + setValue(index, value) { + index = toUint32(index); + value = toUint32(value); + if (this.values[index] === value) { + return false; + } + this.values[index] = value; + if (index - 1 < this.prefixSumValidIndex[0]) { + this.prefixSumValidIndex[0] = index - 1; + } + return true; + } + removeValues(startIndex, count) { + startIndex = toUint32(startIndex); + count = toUint32(count); + const oldValues = this.values; + const oldPrefixSum = this.prefixSum; + if (startIndex >= oldValues.length) { + return false; + } + const maxCount = oldValues.length - startIndex; + if (count >= maxCount) { + count = maxCount; + } + if (count === 0) { + return false; + } + this.values = new Uint32Array(oldValues.length - count); + this.values.set(oldValues.subarray(0, startIndex), 0); + this.values.set(oldValues.subarray(startIndex + count), startIndex); + this.prefixSum = new Uint32Array(this.values.length); + if (startIndex - 1 < this.prefixSumValidIndex[0]) { + this.prefixSumValidIndex[0] = startIndex - 1; + } + if (this.prefixSumValidIndex[0] >= 0) { + this.prefixSum.set(oldPrefixSum.subarray(0, this.prefixSumValidIndex[0] + 1)); + } + return true; + } + getTotalSum() { + if (this.values.length === 0) { + return 0; + } + return this._getPrefixSum(this.values.length - 1); + } + /** + * Returns the sum of the first `index + 1` many items. + * @returns `SUM(0 <= j <= index, values[j])`. + */ + getPrefixSum(index) { + if (index < 0) { + return 0; + } + index = toUint32(index); + return this._getPrefixSum(index); + } + _getPrefixSum(index) { + if (index <= this.prefixSumValidIndex[0]) { + return this.prefixSum[index]; + } + let startIndex = this.prefixSumValidIndex[0] + 1; + if (startIndex === 0) { + this.prefixSum[0] = this.values[0]; + startIndex++; + } + if (index >= this.values.length) { + index = this.values.length - 1; + } + for (let i = startIndex; i <= index; i++) { + this.prefixSum[i] = this.prefixSum[i - 1] + this.values[i]; + } + this.prefixSumValidIndex[0] = Math.max(this.prefixSumValidIndex[0], index); + return this.prefixSum[index]; + } + getIndexOf(sum) { + sum = Math.floor(sum); + this.getTotalSum(); + let low = 0; + let high = this.values.length - 1; + let mid = 0; + let midStop = 0; + let midStart = 0; + while (low <= high) { + mid = low + (high - low) / 2 | 0; + midStop = this.prefixSum[mid]; + midStart = midStop - this.values[mid]; + if (sum < midStart) { + high = mid - 1; + } else if (sum >= midStop) { + low = mid + 1; + } else { + break; + } + } + return new PrefixSumIndexOfResult(mid, sum - midStart); + } + }; + var PrefixSumIndexOfResult = class { + constructor(index, remainder) { + this.index = index; + this.remainder = remainder; + this._prefixSumIndexOfResultBrand = void 0; + this.index = index; + this.remainder = remainder; + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/model/mirrorTextModel.js + var MirrorTextModel = class { + constructor(uri, lines, eol, versionId) { + this._uri = uri; + this._lines = lines; + this._eol = eol; + this._versionId = versionId; + this._lineStarts = null; + this._cachedTextValue = null; + } + dispose() { + this._lines.length = 0; + } + get version() { + return this._versionId; + } + getText() { + if (this._cachedTextValue === null) { + this._cachedTextValue = this._lines.join(this._eol); + } + return this._cachedTextValue; + } + onEvents(e) { + if (e.eol && e.eol !== this._eol) { + this._eol = e.eol; + this._lineStarts = null; + } + const changes = e.changes; + for (const change of changes) { + this._acceptDeleteRange(change.range); + this._acceptInsertText(new Position(change.range.startLineNumber, change.range.startColumn), change.text); + } + this._versionId = e.versionId; + this._cachedTextValue = null; + } + _ensureLineStarts() { + if (!this._lineStarts) { + const eolLength = this._eol.length; + const linesLength = this._lines.length; + const lineStartValues = new Uint32Array(linesLength); + for (let i = 0; i < linesLength; i++) { + lineStartValues[i] = this._lines[i].length + eolLength; + } + this._lineStarts = new PrefixSumComputer(lineStartValues); + } + } + /** + * All changes to a line's text go through this method + */ + _setLineText(lineIndex, newValue) { + this._lines[lineIndex] = newValue; + if (this._lineStarts) { + this._lineStarts.setValue(lineIndex, this._lines[lineIndex].length + this._eol.length); + } + } + _acceptDeleteRange(range) { + if (range.startLineNumber === range.endLineNumber) { + if (range.startColumn === range.endColumn) { + return; + } + this._setLineText(range.startLineNumber - 1, this._lines[range.startLineNumber - 1].substring(0, range.startColumn - 1) + this._lines[range.startLineNumber - 1].substring(range.endColumn - 1)); + return; + } + this._setLineText(range.startLineNumber - 1, this._lines[range.startLineNumber - 1].substring(0, range.startColumn - 1) + this._lines[range.endLineNumber - 1].substring(range.endColumn - 1)); + this._lines.splice(range.startLineNumber, range.endLineNumber - range.startLineNumber); + if (this._lineStarts) { + this._lineStarts.removeValues(range.startLineNumber, range.endLineNumber - range.startLineNumber); + } + } + _acceptInsertText(position, insertText) { + if (insertText.length === 0) { + return; + } + const insertLines = splitLines(insertText); + if (insertLines.length === 1) { + this._setLineText(position.lineNumber - 1, this._lines[position.lineNumber - 1].substring(0, position.column - 1) + insertLines[0] + this._lines[position.lineNumber - 1].substring(position.column - 1)); + return; + } + insertLines[insertLines.length - 1] += this._lines[position.lineNumber - 1].substring(position.column - 1); + this._setLineText(position.lineNumber - 1, this._lines[position.lineNumber - 1].substring(0, position.column - 1) + insertLines[0]); + const newLengths = new Uint32Array(insertLines.length - 1); + for (let i = 1; i < insertLines.length; i++) { + this._lines.splice(position.lineNumber + i - 1, 0, insertLines[i]); + newLengths[i - 1] = insertLines[i].length + this._eol.length; + } + if (this._lineStarts) { + this._lineStarts.insertValues(position.lineNumber, newLengths); + } + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/services/textModelSync/textModelSync.impl.js + var STOP_SYNC_MODEL_DELTA_TIME_MS = 60 * 1e3; + var WorkerTextModelSyncServer = class { + constructor() { + this._models = /* @__PURE__ */ Object.create(null); + } + getModel(uri) { + return this._models[uri]; + } + getModels() { + const all = []; + Object.keys(this._models).forEach((key) => all.push(this._models[key])); + return all; + } + $acceptNewModel(data) { + this._models[data.url] = new MirrorModel(URI.parse(data.url), data.lines, data.EOL, data.versionId); + } + $acceptModelChanged(uri, e) { + if (!this._models[uri]) { + return; + } + const model = this._models[uri]; + model.onEvents(e); + } + $acceptRemovedModel(uri) { + if (!this._models[uri]) { + return; + } + delete this._models[uri]; + } + }; + var MirrorModel = class extends MirrorTextModel { + get uri() { + return this._uri; + } + get eol() { + return this._eol; + } + getValue() { + return this.getText(); + } + findMatches(regex) { + const matches = []; + for (let i = 0; i < this._lines.length; i++) { + const line = this._lines[i]; + const offsetToAdd = this.offsetAt(new Position(i + 1, 1)); + const iteratorOverMatches = line.matchAll(regex); + for (const match of iteratorOverMatches) { + if (match.index || match.index === 0) { + match.index = match.index + offsetToAdd; + } + matches.push(match); + } + } + return matches; + } + getLinesContent() { + return this._lines.slice(0); + } + getLineCount() { + return this._lines.length; + } + getLineContent(lineNumber) { + return this._lines[lineNumber - 1]; + } + getWordAtPosition(position, wordDefinition) { + const wordAtText = getWordAtText(position.column, ensureValidWordDefinition(wordDefinition), this._lines[position.lineNumber - 1], 0); + if (wordAtText) { + return new Range(position.lineNumber, wordAtText.startColumn, position.lineNumber, wordAtText.endColumn); + } + return null; + } + words(wordDefinition) { + const lines = this._lines; + const wordenize = this._wordenize.bind(this); + let lineNumber = 0; + let lineText = ""; + let wordRangesIdx = 0; + let wordRanges = []; + return { + *[Symbol.iterator]() { + while (true) { + if (wordRangesIdx < wordRanges.length) { + const value = lineText.substring(wordRanges[wordRangesIdx].start, wordRanges[wordRangesIdx].end); + wordRangesIdx += 1; + yield value; + } else { + if (lineNumber < lines.length) { + lineText = lines[lineNumber]; + wordRanges = wordenize(lineText, wordDefinition); + wordRangesIdx = 0; + lineNumber += 1; + } else { + break; + } + } + } + } + }; + } + getLineWords(lineNumber, wordDefinition) { + const content = this._lines[lineNumber - 1]; + const ranges = this._wordenize(content, wordDefinition); + const words = []; + for (const range of ranges) { + words.push({ + word: content.substring(range.start, range.end), + startColumn: range.start + 1, + endColumn: range.end + 1 + }); + } + return words; + } + _wordenize(content, wordDefinition) { + const result = []; + let match; + wordDefinition.lastIndex = 0; + while (match = wordDefinition.exec(content)) { + if (match[0].length === 0) { + break; + } + result.push({ start: match.index, end: match.index + match[0].length }); + } + return result; + } + getValueInRange(range) { + range = this._validateRange(range); + if (range.startLineNumber === range.endLineNumber) { + return this._lines[range.startLineNumber - 1].substring(range.startColumn - 1, range.endColumn - 1); + } + const lineEnding = this._eol; + const startLineIndex = range.startLineNumber - 1; + const endLineIndex = range.endLineNumber - 1; + const resultLines = []; + resultLines.push(this._lines[startLineIndex].substring(range.startColumn - 1)); + for (let i = startLineIndex + 1; i < endLineIndex; i++) { + resultLines.push(this._lines[i]); + } + resultLines.push(this._lines[endLineIndex].substring(0, range.endColumn - 1)); + return resultLines.join(lineEnding); + } + offsetAt(position) { + position = this._validatePosition(position); + this._ensureLineStarts(); + return this._lineStarts.getPrefixSum(position.lineNumber - 2) + (position.column - 1); + } + positionAt(offset) { + offset = Math.floor(offset); + offset = Math.max(0, offset); + this._ensureLineStarts(); + const out = this._lineStarts.getIndexOf(offset); + const lineLength = this._lines[out.index].length; + return { + lineNumber: 1 + out.index, + column: 1 + Math.min(out.remainder, lineLength) + }; + } + _validateRange(range) { + const start = this._validatePosition({ lineNumber: range.startLineNumber, column: range.startColumn }); + const end = this._validatePosition({ lineNumber: range.endLineNumber, column: range.endColumn }); + if (start.lineNumber !== range.startLineNumber || start.column !== range.startColumn || end.lineNumber !== range.endLineNumber || end.column !== range.endColumn) { + return { + startLineNumber: start.lineNumber, + startColumn: start.column, + endLineNumber: end.lineNumber, + endColumn: end.column + }; + } + return range; + } + _validatePosition(position) { + if (!Position.isIPosition(position)) { + throw new Error("bad position"); + } + let { lineNumber, column } = position; + let hasChanged = false; + if (lineNumber < 1) { + lineNumber = 1; + column = 1; + hasChanged = true; + } else if (lineNumber > this._lines.length) { + lineNumber = this._lines.length; + column = this._lines[lineNumber - 1].length + 1; + hasChanged = true; + } else { + const maxCharacter = this._lines[lineNumber - 1].length + 1; + if (column < 1) { + column = 1; + hasChanged = true; + } else if (column > maxCharacter) { + column = maxCharacter; + hasChanged = true; + } + } + if (!hasChanged) { + return position; + } else { + return { lineNumber, column }; + } + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/services/editorSimpleWorker.js + var isESM2 = true; + var BaseEditorSimpleWorker = class { + constructor() { + this._workerTextModelSyncServer = new WorkerTextModelSyncServer(); + } + dispose() { + } + _getModel(uri) { + return this._workerTextModelSyncServer.getModel(uri); + } + _getModels() { + return this._workerTextModelSyncServer.getModels(); + } + $acceptNewModel(data) { + this._workerTextModelSyncServer.$acceptNewModel(data); + } + $acceptModelChanged(uri, e) { + this._workerTextModelSyncServer.$acceptModelChanged(uri, e); + } + $acceptRemovedModel(uri) { + this._workerTextModelSyncServer.$acceptRemovedModel(uri); + } + async $computeUnicodeHighlights(url, options, range) { + const model = this._getModel(url); + if (!model) { + return { ranges: [], hasMore: false, ambiguousCharacterCount: 0, invisibleCharacterCount: 0, nonBasicAsciiCharacterCount: 0 }; + } + return UnicodeTextModelHighlighter.computeUnicodeHighlights(model, options, range); + } + async $findSectionHeaders(url, options) { + const model = this._getModel(url); + if (!model) { + return []; + } + return findSectionHeaders(model, options); + } + // ---- BEGIN diff -------------------------------------------------------------------------- + async $computeDiff(originalUrl, modifiedUrl, options, algorithm) { + const original = this._getModel(originalUrl); + const modified = this._getModel(modifiedUrl); + if (!original || !modified) { + return null; + } + const result = EditorSimpleWorker.computeDiff(original, modified, options, algorithm); + return result; + } + static computeDiff(originalTextModel, modifiedTextModel, options, algorithm) { + const diffAlgorithm = algorithm === "advanced" ? linesDiffComputers.getDefault() : linesDiffComputers.getLegacy(); + const originalLines = originalTextModel.getLinesContent(); + const modifiedLines = modifiedTextModel.getLinesContent(); + const result = diffAlgorithm.computeDiff(originalLines, modifiedLines, options); + const identical = result.changes.length > 0 ? false : this._modelsAreIdentical(originalTextModel, modifiedTextModel); + function getLineChanges(changes) { + return changes.map((m) => [m.original.startLineNumber, m.original.endLineNumberExclusive, m.modified.startLineNumber, m.modified.endLineNumberExclusive, m.innerChanges?.map((m2) => [ + m2.originalRange.startLineNumber, + m2.originalRange.startColumn, + m2.originalRange.endLineNumber, + m2.originalRange.endColumn, + m2.modifiedRange.startLineNumber, + m2.modifiedRange.startColumn, + m2.modifiedRange.endLineNumber, + m2.modifiedRange.endColumn + ])]); + } + return { + identical, + quitEarly: result.hitTimeout, + changes: getLineChanges(result.changes), + moves: result.moves.map((m) => [ + m.lineRangeMapping.original.startLineNumber, + m.lineRangeMapping.original.endLineNumberExclusive, + m.lineRangeMapping.modified.startLineNumber, + m.lineRangeMapping.modified.endLineNumberExclusive, + getLineChanges(m.changes) + ]) + }; + } + static _modelsAreIdentical(original, modified) { + const originalLineCount = original.getLineCount(); + const modifiedLineCount = modified.getLineCount(); + if (originalLineCount !== modifiedLineCount) { + return false; + } + for (let line = 1; line <= originalLineCount; line++) { + const originalLine = original.getLineContent(line); + const modifiedLine = modified.getLineContent(line); + if (originalLine !== modifiedLine) { + return false; + } + } + return true; + } + static { + this._diffLimit = 1e5; + } + async $computeMoreMinimalEdits(modelUrl, edits, pretty) { + const model = this._getModel(modelUrl); + if (!model) { + return edits; + } + const result = []; + let lastEol = void 0; + edits = edits.slice(0).sort((a, b) => { + if (a.range && b.range) { + return Range.compareRangesUsingStarts(a.range, b.range); + } + const aRng = a.range ? 0 : 1; + const bRng = b.range ? 0 : 1; + return aRng - bRng; + }); + let writeIndex = 0; + for (let readIndex = 1; readIndex < edits.length; readIndex++) { + if (Range.getEndPosition(edits[writeIndex].range).equals(Range.getStartPosition(edits[readIndex].range))) { + edits[writeIndex].range = Range.fromPositions(Range.getStartPosition(edits[writeIndex].range), Range.getEndPosition(edits[readIndex].range)); + edits[writeIndex].text += edits[readIndex].text; + } else { + writeIndex++; + edits[writeIndex] = edits[readIndex]; + } + } + edits.length = writeIndex + 1; + for (let { range, text, eol } of edits) { + if (typeof eol === "number") { + lastEol = eol; + } + if (Range.isEmpty(range) && !text) { + continue; + } + const original = model.getValueInRange(range); + text = text.replace(/\r\n|\n|\r/g, model.eol); + if (original === text) { + continue; + } + if (Math.max(text.length, original.length) > EditorSimpleWorker._diffLimit) { + result.push({ range, text }); + continue; + } + const changes = stringDiff(original, text, pretty); + const editOffset = model.offsetAt(Range.lift(range).getStartPosition()); + for (const change of changes) { + const start = model.positionAt(editOffset + change.originalStart); + const end = model.positionAt(editOffset + change.originalStart + change.originalLength); + const newEdit = { + text: text.substr(change.modifiedStart, change.modifiedLength), + range: { startLineNumber: start.lineNumber, startColumn: start.column, endLineNumber: end.lineNumber, endColumn: end.column } + }; + if (model.getValueInRange(newEdit.range) !== newEdit.text) { + result.push(newEdit); + } + } + } + if (typeof lastEol === "number") { + result.push({ eol: lastEol, text: "", range: { startLineNumber: 0, startColumn: 0, endLineNumber: 0, endColumn: 0 } }); + } + return result; + } + // ---- END minimal edits --------------------------------------------------------------- + async $computeLinks(modelUrl) { + const model = this._getModel(modelUrl); + if (!model) { + return null; + } + return computeLinks(model); + } + // --- BEGIN default document colors ----------------------------------------------------------- + async $computeDefaultDocumentColors(modelUrl) { + const model = this._getModel(modelUrl); + if (!model) { + return null; + } + return computeDefaultDocumentColors(model); + } + static { + this._suggestionsLimit = 1e4; + } + async $textualSuggest(modelUrls, leadingWord, wordDef, wordDefFlags) { + const sw = new StopWatch(); + const wordDefRegExp = new RegExp(wordDef, wordDefFlags); + const seen = /* @__PURE__ */ new Set(); + outer: for (const url of modelUrls) { + const model = this._getModel(url); + if (!model) { + continue; + } + for (const word of model.words(wordDefRegExp)) { + if (word === leadingWord || !isNaN(Number(word))) { + continue; + } + seen.add(word); + if (seen.size > EditorSimpleWorker._suggestionsLimit) { + break outer; + } + } + } + return { words: Array.from(seen), duration: sw.elapsed() }; + } + // ---- END suggest -------------------------------------------------------------------------- + //#region -- word ranges -- + async $computeWordRanges(modelUrl, range, wordDef, wordDefFlags) { + const model = this._getModel(modelUrl); + if (!model) { + return /* @__PURE__ */ Object.create(null); + } + const wordDefRegExp = new RegExp(wordDef, wordDefFlags); + const result = /* @__PURE__ */ Object.create(null); + for (let line = range.startLineNumber; line < range.endLineNumber; line++) { + const words = model.getLineWords(line, wordDefRegExp); + for (const word of words) { + if (!isNaN(Number(word.word))) { + continue; + } + let array = result[word.word]; + if (!array) { + array = []; + result[word.word] = array; + } + array.push({ + startLineNumber: line, + startColumn: word.startColumn, + endLineNumber: line, + endColumn: word.endColumn + }); + } + } + return result; + } + //#endregion + async $navigateValueSet(modelUrl, range, up, wordDef, wordDefFlags) { + const model = this._getModel(modelUrl); + if (!model) { + return null; + } + const wordDefRegExp = new RegExp(wordDef, wordDefFlags); + if (range.startColumn === range.endColumn) { + range = { + startLineNumber: range.startLineNumber, + startColumn: range.startColumn, + endLineNumber: range.endLineNumber, + endColumn: range.endColumn + 1 + }; + } + const selectionText = model.getValueInRange(range); + const wordRange = model.getWordAtPosition({ lineNumber: range.startLineNumber, column: range.startColumn }, wordDefRegExp); + if (!wordRange) { + return null; + } + const word = model.getValueInRange(wordRange); + const result = BasicInplaceReplace.INSTANCE.navigateValueSet(range, selectionText, wordRange, word, up); + return result; + } + }; + var EditorSimpleWorker = class extends BaseEditorSimpleWorker { + constructor(_host, _foreignModuleFactory) { + super(); + this._host = _host; + this._foreignModuleFactory = _foreignModuleFactory; + this._foreignModule = null; + } + async $ping() { + return "pong"; + } + // ---- BEGIN foreign module support -------------------------------------------------------------------------- + $loadForeignModule(moduleId, createData, foreignHostMethods) { + const proxyMethodRequest = (method, args) => { + return this._host.$fhr(method, args); + }; + const foreignHost = createProxyObject(foreignHostMethods, proxyMethodRequest); + const ctx = { + host: foreignHost, + getMirrorModels: () => { + return this._getModels(); + } + }; + if (this._foreignModuleFactory) { + this._foreignModule = this._foreignModuleFactory(ctx, createData); + return Promise.resolve(getAllMethodNames(this._foreignModule)); + } + return new Promise((resolve2, reject) => { + const onModuleCallback = (foreignModule) => { + this._foreignModule = foreignModule.create(ctx, createData); + resolve2(getAllMethodNames(this._foreignModule)); + }; + if (!isESM2) { + __require([`${moduleId}`], onModuleCallback, reject); + } else { + const url = FileAccess.asBrowserUri(`${moduleId}.js`).toString(true); + import(`${url}`).then(onModuleCallback).catch(reject); + } + }); + } + // foreign method request + $fmr(method, args) { + if (!this._foreignModule || typeof this._foreignModule[method] !== "function") { + return Promise.reject(new Error("Missing requestHandler or method: " + method)); + } + try { + return Promise.resolve(this._foreignModule[method].apply(this._foreignModule, args)); + } catch (e) { + return Promise.reject(e); + } + } + }; + if (typeof importScripts === "function") { + globalThis.monaco = createMonacoBaseAPI(); + } + + // node_modules/monaco-editor/esm/vs/editor/editor.worker.js + var initialized = false; + function initialize(foreignModule) { + if (initialized) { + return; + } + initialized = true; + const simpleWorker = new SimpleWorkerServer((msg) => { + globalThis.postMessage(msg); + }, (workerServer) => new EditorSimpleWorker(EditorWorkerHost.getChannel(workerServer), foreignModule)); + globalThis.onmessage = (e) => { + simpleWorker.onmessage(e.data); + }; + } + globalThis.onmessage = (e) => { + if (!initialized) { + initialize(null); + } + }; +})(); diff --git a/backend/public/admin/admin/monacoeditorwork/json.worker.bundle.js b/backend/public/admin/admin/monacoeditorwork/json.worker.bundle.js new file mode 100644 index 000000000..b90e3ec2b --- /dev/null +++ b/backend/public/admin/admin/monacoeditorwork/json.worker.bundle.js @@ -0,0 +1,21318 @@ +(() => { + var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, { + get: (a2, b) => (typeof require !== "undefined" ? require : a2)[b] + }) : x)(function(x) { + if (typeof require !== "undefined") return require.apply(this, arguments); + throw Error('Dynamic require of "' + x + '" is not supported'); + }); + + // node_modules/monaco-editor/esm/vs/base/common/errors.js + var ErrorHandler = class { + constructor() { + this.listeners = []; + this.unexpectedErrorHandler = function(e) { + setTimeout(() => { + if (e.stack) { + if (ErrorNoTelemetry.isErrorNoTelemetry(e)) { + throw new ErrorNoTelemetry(e.message + "\n\n" + e.stack); + } + throw new Error(e.message + "\n\n" + e.stack); + } + throw e; + }, 0); + }; + } + emit(e) { + this.listeners.forEach((listener) => { + listener(e); + }); + } + onUnexpectedError(e) { + this.unexpectedErrorHandler(e); + this.emit(e); + } + // For external errors, we don't want the listeners to be called + onUnexpectedExternalError(e) { + this.unexpectedErrorHandler(e); + } + }; + var errorHandler = new ErrorHandler(); + function onUnexpectedError(e) { + if (!isCancellationError(e)) { + errorHandler.onUnexpectedError(e); + } + return void 0; + } + function transformErrorForSerialization(error) { + if (error instanceof Error) { + const { name, message } = error; + const stack = error.stacktrace || error.stack; + return { + $isError: true, + name, + message, + stack, + noTelemetry: ErrorNoTelemetry.isErrorNoTelemetry(error) + }; + } + return error; + } + var canceledName = "Canceled"; + function isCancellationError(error) { + if (error instanceof CancellationError) { + return true; + } + return error instanceof Error && error.name === canceledName && error.message === canceledName; + } + var CancellationError = class extends Error { + constructor() { + super(canceledName); + this.name = this.message; + } + }; + var ErrorNoTelemetry = class _ErrorNoTelemetry extends Error { + constructor(msg) { + super(msg); + this.name = "CodeExpectedError"; + } + static fromError(err) { + if (err instanceof _ErrorNoTelemetry) { + return err; + } + const result = new _ErrorNoTelemetry(); + result.message = err.message; + result.stack = err.stack; + return result; + } + static isErrorNoTelemetry(err) { + return err.name === "CodeExpectedError"; + } + }; + var BugIndicatingError = class _BugIndicatingError extends Error { + constructor(message) { + super(message || "An unexpected bug occurred."); + Object.setPrototypeOf(this, _BugIndicatingError.prototype); + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/functional.js + function createSingleCallFunction(fn, fnDidRunCallback) { + const _this = this; + let didCall = false; + let result; + return function() { + if (didCall) { + return result; + } + didCall = true; + if (fnDidRunCallback) { + try { + result = fn.apply(_this, arguments); + } finally { + fnDidRunCallback(); + } + } else { + result = fn.apply(_this, arguments); + } + return result; + }; + } + + // node_modules/monaco-editor/esm/vs/base/common/iterator.js + var Iterable; + (function(Iterable2) { + function is(thing) { + return thing && typeof thing === "object" && typeof thing[Symbol.iterator] === "function"; + } + Iterable2.is = is; + const _empty2 = Object.freeze([]); + function empty() { + return _empty2; + } + Iterable2.empty = empty; + function* single(element) { + yield element; + } + Iterable2.single = single; + function wrap(iterableOrElement) { + if (is(iterableOrElement)) { + return iterableOrElement; + } else { + return single(iterableOrElement); + } + } + Iterable2.wrap = wrap; + function from(iterable) { + return iterable || _empty2; + } + Iterable2.from = from; + function* reverse(array) { + for (let i = array.length - 1; i >= 0; i--) { + yield array[i]; + } + } + Iterable2.reverse = reverse; + function isEmpty(iterable) { + return !iterable || iterable[Symbol.iterator]().next().done === true; + } + Iterable2.isEmpty = isEmpty; + function first(iterable) { + return iterable[Symbol.iterator]().next().value; + } + Iterable2.first = first; + function some(iterable, predicate) { + let i = 0; + for (const element of iterable) { + if (predicate(element, i++)) { + return true; + } + } + return false; + } + Iterable2.some = some; + function find(iterable, predicate) { + for (const element of iterable) { + if (predicate(element)) { + return element; + } + } + return void 0; + } + Iterable2.find = find; + function* filter(iterable, predicate) { + for (const element of iterable) { + if (predicate(element)) { + yield element; + } + } + } + Iterable2.filter = filter; + function* map(iterable, fn) { + let index = 0; + for (const element of iterable) { + yield fn(element, index++); + } + } + Iterable2.map = map; + function* flatMap(iterable, fn) { + let index = 0; + for (const element of iterable) { + yield* fn(element, index++); + } + } + Iterable2.flatMap = flatMap; + function* concat(...iterables) { + for (const iterable of iterables) { + yield* iterable; + } + } + Iterable2.concat = concat; + function reduce(iterable, reducer, initialValue) { + let value = initialValue; + for (const element of iterable) { + value = reducer(value, element); + } + return value; + } + Iterable2.reduce = reduce; + function* slice(arr, from2, to = arr.length) { + if (from2 < 0) { + from2 += arr.length; + } + if (to < 0) { + to += arr.length; + } else if (to > arr.length) { + to = arr.length; + } + for (; from2 < to; from2++) { + yield arr[from2]; + } + } + Iterable2.slice = slice; + function consume(iterable, atMost = Number.POSITIVE_INFINITY) { + const consumed = []; + if (atMost === 0) { + return [consumed, iterable]; + } + const iterator = iterable[Symbol.iterator](); + for (let i = 0; i < atMost; i++) { + const next = iterator.next(); + if (next.done) { + return [consumed, Iterable2.empty()]; + } + consumed.push(next.value); + } + return [consumed, { [Symbol.iterator]() { + return iterator; + } }]; + } + Iterable2.consume = consume; + async function asyncToArray(iterable) { + const result = []; + for await (const item of iterable) { + result.push(item); + } + return Promise.resolve(result); + } + Iterable2.asyncToArray = asyncToArray; + })(Iterable || (Iterable = {})); + + // node_modules/monaco-editor/esm/vs/base/common/lifecycle.js + var TRACK_DISPOSABLES = false; + var disposableTracker = null; + function setDisposableTracker(tracker) { + disposableTracker = tracker; + } + if (TRACK_DISPOSABLES) { + const __is_disposable_tracked__ = "__is_disposable_tracked__"; + setDisposableTracker(new class { + trackDisposable(x) { + const stack = new Error("Potentially leaked disposable").stack; + setTimeout(() => { + if (!x[__is_disposable_tracked__]) { + console.log(stack); + } + }, 3e3); + } + setParent(child, parent) { + if (child && child !== Disposable.None) { + try { + child[__is_disposable_tracked__] = true; + } catch { + } + } + } + markAsDisposed(disposable) { + if (disposable && disposable !== Disposable.None) { + try { + disposable[__is_disposable_tracked__] = true; + } catch { + } + } + } + markAsSingleton(disposable) { + } + }()); + } + function trackDisposable(x) { + disposableTracker?.trackDisposable(x); + return x; + } + function markAsDisposed(disposable) { + disposableTracker?.markAsDisposed(disposable); + } + function setParentOfDisposable(child, parent) { + disposableTracker?.setParent(child, parent); + } + function setParentOfDisposables(children, parent) { + if (!disposableTracker) { + return; + } + for (const child of children) { + disposableTracker.setParent(child, parent); + } + } + function dispose(arg) { + if (Iterable.is(arg)) { + const errors = []; + for (const d of arg) { + if (d) { + try { + d.dispose(); + } catch (e) { + errors.push(e); + } + } + } + if (errors.length === 1) { + throw errors[0]; + } else if (errors.length > 1) { + throw new AggregateError(errors, "Encountered errors while disposing of store"); + } + return Array.isArray(arg) ? [] : arg; + } else if (arg) { + arg.dispose(); + return arg; + } + } + function combinedDisposable(...disposables) { + const parent = toDisposable(() => dispose(disposables)); + setParentOfDisposables(disposables, parent); + return parent; + } + function toDisposable(fn) { + const self2 = trackDisposable({ + dispose: createSingleCallFunction(() => { + markAsDisposed(self2); + fn(); + }) + }); + return self2; + } + var DisposableStore = class _DisposableStore { + static { + this.DISABLE_DISPOSED_WARNING = false; + } + constructor() { + this._toDispose = /* @__PURE__ */ new Set(); + this._isDisposed = false; + trackDisposable(this); + } + /** + * Dispose of all registered disposables and mark this object as disposed. + * + * Any future disposables added to this object will be disposed of on `add`. + */ + dispose() { + if (this._isDisposed) { + return; + } + markAsDisposed(this); + this._isDisposed = true; + this.clear(); + } + /** + * @return `true` if this object has been disposed of. + */ + get isDisposed() { + return this._isDisposed; + } + /** + * Dispose of all registered disposables but do not mark this object as disposed. + */ + clear() { + if (this._toDispose.size === 0) { + return; + } + try { + dispose(this._toDispose); + } finally { + this._toDispose.clear(); + } + } + /** + * Add a new {@link IDisposable disposable} to the collection. + */ + add(o) { + if (!o) { + return o; + } + if (o === this) { + throw new Error("Cannot register a disposable on itself!"); + } + setParentOfDisposable(o, this); + if (this._isDisposed) { + if (!_DisposableStore.DISABLE_DISPOSED_WARNING) { + console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack); + } + } else { + this._toDispose.add(o); + } + return o; + } + /** + * Deletes the value from the store, but does not dispose it. + */ + deleteAndLeak(o) { + if (!o) { + return; + } + if (this._toDispose.has(o)) { + this._toDispose.delete(o); + setParentOfDisposable(o, null); + } + } + }; + var Disposable = class { + static { + this.None = Object.freeze({ dispose() { + } }); + } + constructor() { + this._store = new DisposableStore(); + trackDisposable(this); + setParentOfDisposable(this._store, this); + } + dispose() { + markAsDisposed(this); + this._store.dispose(); + } + /** + * Adds `o` to the collection of disposables managed by this object. + */ + _register(o) { + if (o === this) { + throw new Error("Cannot register a disposable on itself!"); + } + return this._store.add(o); + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/linkedList.js + var Node = class _Node { + static { + this.Undefined = new _Node(void 0); + } + constructor(element) { + this.element = element; + this.next = _Node.Undefined; + this.prev = _Node.Undefined; + } + }; + var LinkedList = class { + constructor() { + this._first = Node.Undefined; + this._last = Node.Undefined; + this._size = 0; + } + get size() { + return this._size; + } + isEmpty() { + return this._first === Node.Undefined; + } + clear() { + let node = this._first; + while (node !== Node.Undefined) { + const next = node.next; + node.prev = Node.Undefined; + node.next = Node.Undefined; + node = next; + } + this._first = Node.Undefined; + this._last = Node.Undefined; + this._size = 0; + } + unshift(element) { + return this._insert(element, false); + } + push(element) { + return this._insert(element, true); + } + _insert(element, atTheEnd) { + const newNode = new Node(element); + if (this._first === Node.Undefined) { + this._first = newNode; + this._last = newNode; + } else if (atTheEnd) { + const oldLast = this._last; + this._last = newNode; + newNode.prev = oldLast; + oldLast.next = newNode; + } else { + const oldFirst = this._first; + this._first = newNode; + newNode.next = oldFirst; + oldFirst.prev = newNode; + } + this._size += 1; + let didRemove = false; + return () => { + if (!didRemove) { + didRemove = true; + this._remove(newNode); + } + }; + } + shift() { + if (this._first === Node.Undefined) { + return void 0; + } else { + const res = this._first.element; + this._remove(this._first); + return res; + } + } + pop() { + if (this._last === Node.Undefined) { + return void 0; + } else { + const res = this._last.element; + this._remove(this._last); + return res; + } + } + _remove(node) { + if (node.prev !== Node.Undefined && node.next !== Node.Undefined) { + const anchor = node.prev; + anchor.next = node.next; + node.next.prev = anchor; + } else if (node.prev === Node.Undefined && node.next === Node.Undefined) { + this._first = Node.Undefined; + this._last = Node.Undefined; + } else if (node.next === Node.Undefined) { + this._last = this._last.prev; + this._last.next = Node.Undefined; + } else if (node.prev === Node.Undefined) { + this._first = this._first.next; + this._first.prev = Node.Undefined; + } + this._size -= 1; + } + *[Symbol.iterator]() { + let node = this._first; + while (node !== Node.Undefined) { + yield node.element; + node = node.next; + } + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/stopwatch.js + var hasPerformanceNow = globalThis.performance && typeof globalThis.performance.now === "function"; + var StopWatch = class _StopWatch { + static create(highResolution) { + return new _StopWatch(highResolution); + } + constructor(highResolution) { + this._now = hasPerformanceNow && highResolution === false ? Date.now : globalThis.performance.now.bind(globalThis.performance); + this._startTime = this._now(); + this._stopTime = -1; + } + stop() { + this._stopTime = this._now(); + } + reset() { + this._startTime = this._now(); + this._stopTime = -1; + } + elapsed() { + if (this._stopTime !== -1) { + return this._stopTime - this._startTime; + } + return this._now() - this._startTime; + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/event.js + var _enableListenerGCedWarning = false; + var _enableDisposeWithListenerWarning = false; + var _enableSnapshotPotentialLeakWarning = false; + var Event; + (function(Event2) { + Event2.None = () => Disposable.None; + function _addLeakageTraceLogic(options) { + if (_enableSnapshotPotentialLeakWarning) { + const { onDidAddListener: origListenerDidAdd } = options; + const stack = Stacktrace.create(); + let count = 0; + options.onDidAddListener = () => { + if (++count === 2) { + console.warn("snapshotted emitter LIKELY used public and SHOULD HAVE BEEN created with DisposableStore. snapshotted here"); + stack.print(); + } + origListenerDidAdd?.(); + }; + } + } + function defer(event, disposable) { + return debounce(event, () => void 0, 0, void 0, true, void 0, disposable); + } + Event2.defer = defer; + function once(event) { + return (listener, thisArgs = null, disposables) => { + let didFire = false; + let result = void 0; + result = event((e) => { + if (didFire) { + return; + } else if (result) { + result.dispose(); + } else { + didFire = true; + } + return listener.call(thisArgs, e); + }, null, disposables); + if (didFire) { + result.dispose(); + } + return result; + }; + } + Event2.once = once; + function onceIf(event, condition) { + return Event2.once(Event2.filter(event, condition)); + } + Event2.onceIf = onceIf; + function map(event, map2, disposable) { + return snapshot((listener, thisArgs = null, disposables) => event((i) => listener.call(thisArgs, map2(i)), null, disposables), disposable); + } + Event2.map = map; + function forEach(event, each, disposable) { + return snapshot((listener, thisArgs = null, disposables) => event((i) => { + each(i); + listener.call(thisArgs, i); + }, null, disposables), disposable); + } + Event2.forEach = forEach; + function filter(event, filter2, disposable) { + return snapshot((listener, thisArgs = null, disposables) => event((e) => filter2(e) && listener.call(thisArgs, e), null, disposables), disposable); + } + Event2.filter = filter; + function signal(event) { + return event; + } + Event2.signal = signal; + function any(...events) { + return (listener, thisArgs = null, disposables) => { + const disposable = combinedDisposable(...events.map((event) => event((e) => listener.call(thisArgs, e)))); + return addAndReturnDisposable(disposable, disposables); + }; + } + Event2.any = any; + function reduce(event, merge, initial, disposable) { + let output = initial; + return map(event, (e) => { + output = merge(output, e); + return output; + }, disposable); + } + Event2.reduce = reduce; + function snapshot(event, disposable) { + let listener; + const options = { + onWillAddFirstListener() { + listener = event(emitter.fire, emitter); + }, + onDidRemoveLastListener() { + listener?.dispose(); + } + }; + if (!disposable) { + _addLeakageTraceLogic(options); + } + const emitter = new Emitter(options); + disposable?.add(emitter); + return emitter.event; + } + function addAndReturnDisposable(d, store) { + if (store instanceof Array) { + store.push(d); + } else if (store) { + store.add(d); + } + return d; + } + function debounce(event, merge, delay = 100, leading = false, flushOnListenerRemove = false, leakWarningThreshold, disposable) { + let subscription; + let output = void 0; + let handle = void 0; + let numDebouncedCalls = 0; + let doFire; + const options = { + leakWarningThreshold, + onWillAddFirstListener() { + subscription = event((cur) => { + numDebouncedCalls++; + output = merge(output, cur); + if (leading && !handle) { + emitter.fire(output); + output = void 0; + } + doFire = () => { + const _output = output; + output = void 0; + handle = void 0; + if (!leading || numDebouncedCalls > 1) { + emitter.fire(_output); + } + numDebouncedCalls = 0; + }; + if (typeof delay === "number") { + clearTimeout(handle); + handle = setTimeout(doFire, delay); + } else { + if (handle === void 0) { + handle = 0; + queueMicrotask(doFire); + } + } + }); + }, + onWillRemoveListener() { + if (flushOnListenerRemove && numDebouncedCalls > 0) { + doFire?.(); + } + }, + onDidRemoveLastListener() { + doFire = void 0; + subscription.dispose(); + } + }; + if (!disposable) { + _addLeakageTraceLogic(options); + } + const emitter = new Emitter(options); + disposable?.add(emitter); + return emitter.event; + } + Event2.debounce = debounce; + function accumulate(event, delay = 0, disposable) { + return Event2.debounce(event, (last, e) => { + if (!last) { + return [e]; + } + last.push(e); + return last; + }, delay, void 0, true, void 0, disposable); + } + Event2.accumulate = accumulate; + function latch(event, equals4 = (a2, b) => a2 === b, disposable) { + let firstCall = true; + let cache; + return filter(event, (value) => { + const shouldEmit = firstCall || !equals4(value, cache); + firstCall = false; + cache = value; + return shouldEmit; + }, disposable); + } + Event2.latch = latch; + function split(event, isT, disposable) { + return [ + Event2.filter(event, isT, disposable), + Event2.filter(event, (e) => !isT(e), disposable) + ]; + } + Event2.split = split; + function buffer(event, flushAfterTimeout = false, _buffer = [], disposable) { + let buffer2 = _buffer.slice(); + let listener = event((e) => { + if (buffer2) { + buffer2.push(e); + } else { + emitter.fire(e); + } + }); + if (disposable) { + disposable.add(listener); + } + const flush = () => { + buffer2?.forEach((e) => emitter.fire(e)); + buffer2 = null; + }; + const emitter = new Emitter({ + onWillAddFirstListener() { + if (!listener) { + listener = event((e) => emitter.fire(e)); + if (disposable) { + disposable.add(listener); + } + } + }, + onDidAddFirstListener() { + if (buffer2) { + if (flushAfterTimeout) { + setTimeout(flush); + } else { + flush(); + } + } + }, + onDidRemoveLastListener() { + if (listener) { + listener.dispose(); + } + listener = null; + } + }); + if (disposable) { + disposable.add(emitter); + } + return emitter.event; + } + Event2.buffer = buffer; + function chain(event, sythensize) { + const fn = (listener, thisArgs, disposables) => { + const cs = sythensize(new ChainableSynthesis()); + return event(function(value) { + const result = cs.evaluate(value); + if (result !== HaltChainable) { + listener.call(thisArgs, result); + } + }, void 0, disposables); + }; + return fn; + } + Event2.chain = chain; + const HaltChainable = Symbol("HaltChainable"); + class ChainableSynthesis { + constructor() { + this.steps = []; + } + map(fn) { + this.steps.push(fn); + return this; + } + forEach(fn) { + this.steps.push((v) => { + fn(v); + return v; + }); + return this; + } + filter(fn) { + this.steps.push((v) => fn(v) ? v : HaltChainable); + return this; + } + reduce(merge, initial) { + let last = initial; + this.steps.push((v) => { + last = merge(last, v); + return last; + }); + return this; + } + latch(equals4 = (a2, b) => a2 === b) { + let firstCall = true; + let cache; + this.steps.push((value) => { + const shouldEmit = firstCall || !equals4(value, cache); + firstCall = false; + cache = value; + return shouldEmit ? value : HaltChainable; + }); + return this; + } + evaluate(value) { + for (const step of this.steps) { + value = step(value); + if (value === HaltChainable) { + break; + } + } + return value; + } + } + function fromNodeEventEmitter(emitter, eventName, map2 = (id) => id) { + const fn = (...args) => result.fire(map2(...args)); + const onFirstListenerAdd = () => emitter.on(eventName, fn); + const onLastListenerRemove = () => emitter.removeListener(eventName, fn); + const result = new Emitter({ onWillAddFirstListener: onFirstListenerAdd, onDidRemoveLastListener: onLastListenerRemove }); + return result.event; + } + Event2.fromNodeEventEmitter = fromNodeEventEmitter; + function fromDOMEventEmitter(emitter, eventName, map2 = (id) => id) { + const fn = (...args) => result.fire(map2(...args)); + const onFirstListenerAdd = () => emitter.addEventListener(eventName, fn); + const onLastListenerRemove = () => emitter.removeEventListener(eventName, fn); + const result = new Emitter({ onWillAddFirstListener: onFirstListenerAdd, onDidRemoveLastListener: onLastListenerRemove }); + return result.event; + } + Event2.fromDOMEventEmitter = fromDOMEventEmitter; + function toPromise(event) { + return new Promise((resolve2) => once(event)(resolve2)); + } + Event2.toPromise = toPromise; + function fromPromise(promise) { + const result = new Emitter(); + promise.then((res) => { + result.fire(res); + }, () => { + result.fire(void 0); + }).finally(() => { + result.dispose(); + }); + return result.event; + } + Event2.fromPromise = fromPromise; + function forward(from, to) { + return from((e) => to.fire(e)); + } + Event2.forward = forward; + function runAndSubscribe(event, handler, initial) { + handler(initial); + return event((e) => handler(e)); + } + Event2.runAndSubscribe = runAndSubscribe; + class EmitterObserver { + constructor(_observable, store) { + this._observable = _observable; + this._counter = 0; + this._hasChanged = false; + const options = { + onWillAddFirstListener: () => { + _observable.addObserver(this); + this._observable.reportChanges(); + }, + onDidRemoveLastListener: () => { + _observable.removeObserver(this); + } + }; + if (!store) { + _addLeakageTraceLogic(options); + } + this.emitter = new Emitter(options); + if (store) { + store.add(this.emitter); + } + } + beginUpdate(_observable) { + this._counter++; + } + handlePossibleChange(_observable) { + } + handleChange(_observable, _change) { + this._hasChanged = true; + } + endUpdate(_observable) { + this._counter--; + if (this._counter === 0) { + this._observable.reportChanges(); + if (this._hasChanged) { + this._hasChanged = false; + this.emitter.fire(this._observable.get()); + } + } + } + } + function fromObservable(obs, store) { + const observer = new EmitterObserver(obs, store); + return observer.emitter.event; + } + Event2.fromObservable = fromObservable; + function fromObservableLight(observable) { + return (listener, thisArgs, disposables) => { + let count = 0; + let didChange = false; + const observer = { + beginUpdate() { + count++; + }, + endUpdate() { + count--; + if (count === 0) { + observable.reportChanges(); + if (didChange) { + didChange = false; + listener.call(thisArgs); + } + } + }, + handlePossibleChange() { + }, + handleChange() { + didChange = true; + } + }; + observable.addObserver(observer); + observable.reportChanges(); + const disposable = { + dispose() { + observable.removeObserver(observer); + } + }; + if (disposables instanceof DisposableStore) { + disposables.add(disposable); + } else if (Array.isArray(disposables)) { + disposables.push(disposable); + } + return disposable; + }; + } + Event2.fromObservableLight = fromObservableLight; + })(Event || (Event = {})); + var EventProfiling = class _EventProfiling { + static { + this.all = /* @__PURE__ */ new Set(); + } + static { + this._idPool = 0; + } + constructor(name) { + this.listenerCount = 0; + this.invocationCount = 0; + this.elapsedOverall = 0; + this.durations = []; + this.name = `${name}_${_EventProfiling._idPool++}`; + _EventProfiling.all.add(this); + } + start(listenerCount) { + this._stopWatch = new StopWatch(); + this.listenerCount = listenerCount; + } + stop() { + if (this._stopWatch) { + const elapsed = this._stopWatch.elapsed(); + this.durations.push(elapsed); + this.elapsedOverall += elapsed; + this.invocationCount += 1; + this._stopWatch = void 0; + } + } + }; + var _globalLeakWarningThreshold = -1; + var LeakageMonitor = class _LeakageMonitor { + static { + this._idPool = 1; + } + constructor(_errorHandler, threshold, name = (_LeakageMonitor._idPool++).toString(16).padStart(3, "0")) { + this._errorHandler = _errorHandler; + this.threshold = threshold; + this.name = name; + this._warnCountdown = 0; + } + dispose() { + this._stacks?.clear(); + } + check(stack, listenerCount) { + const threshold = this.threshold; + if (threshold <= 0 || listenerCount < threshold) { + return void 0; + } + if (!this._stacks) { + this._stacks = /* @__PURE__ */ new Map(); + } + const count = this._stacks.get(stack.value) || 0; + this._stacks.set(stack.value, count + 1); + this._warnCountdown -= 1; + if (this._warnCountdown <= 0) { + this._warnCountdown = threshold * 0.5; + const [topStack, topCount] = this.getMostFrequentStack(); + const message = `[${this.name}] potential listener LEAK detected, having ${listenerCount} listeners already. MOST frequent listener (${topCount}):`; + console.warn(message); + console.warn(topStack); + const error = new ListenerLeakError(message, topStack); + this._errorHandler(error); + } + return () => { + const count2 = this._stacks.get(stack.value) || 0; + this._stacks.set(stack.value, count2 - 1); + }; + } + getMostFrequentStack() { + if (!this._stacks) { + return void 0; + } + let topStack; + let topCount = 0; + for (const [stack, count] of this._stacks) { + if (!topStack || topCount < count) { + topStack = [stack, count]; + topCount = count; + } + } + return topStack; + } + }; + var Stacktrace = class _Stacktrace { + static create() { + const err = new Error(); + return new _Stacktrace(err.stack ?? ""); + } + constructor(value) { + this.value = value; + } + print() { + console.warn(this.value.split("\n").slice(2).join("\n")); + } + }; + var ListenerLeakError = class extends Error { + constructor(message, stack) { + super(message); + this.name = "ListenerLeakError"; + this.stack = stack; + } + }; + var ListenerRefusalError = class extends Error { + constructor(message, stack) { + super(message); + this.name = "ListenerRefusalError"; + this.stack = stack; + } + }; + var UniqueContainer = class { + constructor(value) { + this.value = value; + } + }; + var compactionThreshold = 2; + var forEachListener = (listeners, fn) => { + if (listeners instanceof UniqueContainer) { + fn(listeners); + } else { + for (let i = 0; i < listeners.length; i++) { + const l = listeners[i]; + if (l) { + fn(l); + } + } + } + }; + var _listenerFinalizers; + if (_enableListenerGCedWarning) { + const leaks = []; + setInterval(() => { + if (leaks.length === 0) { + return; + } + console.warn("[LEAKING LISTENERS] GC'ed these listeners that were NOT yet disposed:"); + console.warn(leaks.join("\n")); + leaks.length = 0; + }, 3e3); + _listenerFinalizers = new FinalizationRegistry((heldValue) => { + if (typeof heldValue === "string") { + leaks.push(heldValue); + } + }); + } + var Emitter = class { + constructor(options) { + this._size = 0; + this._options = options; + this._leakageMon = _globalLeakWarningThreshold > 0 || this._options?.leakWarningThreshold ? new LeakageMonitor(options?.onListenerError ?? onUnexpectedError, this._options?.leakWarningThreshold ?? _globalLeakWarningThreshold) : void 0; + this._perfMon = this._options?._profName ? new EventProfiling(this._options._profName) : void 0; + this._deliveryQueue = this._options?.deliveryQueue; + } + dispose() { + if (!this._disposed) { + this._disposed = true; + if (this._deliveryQueue?.current === this) { + this._deliveryQueue.reset(); + } + if (this._listeners) { + if (_enableDisposeWithListenerWarning) { + const listeners = this._listeners; + queueMicrotask(() => { + forEachListener(listeners, (l) => l.stack?.print()); + }); + } + this._listeners = void 0; + this._size = 0; + } + this._options?.onDidRemoveLastListener?.(); + this._leakageMon?.dispose(); + } + } + /** + * For the public to allow to subscribe + * to events from this Emitter + */ + get event() { + this._event ??= (callback, thisArgs, disposables) => { + if (this._leakageMon && this._size > this._leakageMon.threshold ** 2) { + const message = `[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${this._leakageMon.threshold})`; + console.warn(message); + const tuple = this._leakageMon.getMostFrequentStack() ?? ["UNKNOWN stack", -1]; + const error = new ListenerRefusalError(`${message}. HINT: Stack shows most frequent listener (${tuple[1]}-times)`, tuple[0]); + const errorHandler2 = this._options?.onListenerError || onUnexpectedError; + errorHandler2(error); + return Disposable.None; + } + if (this._disposed) { + return Disposable.None; + } + if (thisArgs) { + callback = callback.bind(thisArgs); + } + const contained = new UniqueContainer(callback); + let removeMonitor; + let stack; + if (this._leakageMon && this._size >= Math.ceil(this._leakageMon.threshold * 0.2)) { + contained.stack = Stacktrace.create(); + removeMonitor = this._leakageMon.check(contained.stack, this._size + 1); + } + if (_enableDisposeWithListenerWarning) { + contained.stack = stack ?? Stacktrace.create(); + } + if (!this._listeners) { + this._options?.onWillAddFirstListener?.(this); + this._listeners = contained; + this._options?.onDidAddFirstListener?.(this); + } else if (this._listeners instanceof UniqueContainer) { + this._deliveryQueue ??= new EventDeliveryQueuePrivate(); + this._listeners = [this._listeners, contained]; + } else { + this._listeners.push(contained); + } + this._size++; + const result = toDisposable(() => { + _listenerFinalizers?.unregister(result); + removeMonitor?.(); + this._removeListener(contained); + }); + if (disposables instanceof DisposableStore) { + disposables.add(result); + } else if (Array.isArray(disposables)) { + disposables.push(result); + } + if (_listenerFinalizers) { + const stack2 = new Error().stack.split("\n").slice(2, 3).join("\n").trim(); + const match = /(file:|vscode-file:\/\/vscode-app)?(\/[^:]*:\d+:\d+)/.exec(stack2); + _listenerFinalizers.register(result, match?.[2] ?? stack2, result); + } + return result; + }; + return this._event; + } + _removeListener(listener) { + this._options?.onWillRemoveListener?.(this); + if (!this._listeners) { + return; + } + if (this._size === 1) { + this._listeners = void 0; + this._options?.onDidRemoveLastListener?.(this); + this._size = 0; + return; + } + const listeners = this._listeners; + const index = listeners.indexOf(listener); + if (index === -1) { + console.log("disposed?", this._disposed); + console.log("size?", this._size); + console.log("arr?", JSON.stringify(this._listeners)); + throw new Error("Attempted to dispose unknown listener"); + } + this._size--; + listeners[index] = void 0; + const adjustDeliveryQueue = this._deliveryQueue.current === this; + if (this._size * compactionThreshold <= listeners.length) { + let n = 0; + for (let i = 0; i < listeners.length; i++) { + if (listeners[i]) { + listeners[n++] = listeners[i]; + } else if (adjustDeliveryQueue) { + this._deliveryQueue.end--; + if (n < this._deliveryQueue.i) { + this._deliveryQueue.i--; + } + } + } + listeners.length = n; + } + } + _deliver(listener, value) { + if (!listener) { + return; + } + const errorHandler2 = this._options?.onListenerError || onUnexpectedError; + if (!errorHandler2) { + listener.value(value); + return; + } + try { + listener.value(value); + } catch (e) { + errorHandler2(e); + } + } + /** Delivers items in the queue. Assumes the queue is ready to go. */ + _deliverQueue(dq) { + const listeners = dq.current._listeners; + while (dq.i < dq.end) { + this._deliver(listeners[dq.i++], dq.value); + } + dq.reset(); + } + /** + * To be kept private to fire an event to + * subscribers + */ + fire(event) { + if (this._deliveryQueue?.current) { + this._deliverQueue(this._deliveryQueue); + this._perfMon?.stop(); + } + this._perfMon?.start(this._size); + if (!this._listeners) { + } else if (this._listeners instanceof UniqueContainer) { + this._deliver(this._listeners, event); + } else { + const dq = this._deliveryQueue; + dq.enqueue(this, event, this._listeners.length); + this._deliverQueue(dq); + } + this._perfMon?.stop(); + } + hasListeners() { + return this._size > 0; + } + }; + var EventDeliveryQueuePrivate = class { + constructor() { + this.i = -1; + this.end = 0; + } + enqueue(emitter, value, end) { + this.i = 0; + this.end = end; + this.current = emitter; + this.value = value; + } + reset() { + this.i = this.end; + this.current = void 0; + this.value = void 0; + } + }; + + // node_modules/monaco-editor/esm/vs/nls.messages.js + function getNLSMessages() { + return globalThis._VSCODE_NLS_MESSAGES; + } + function getNLSLanguage() { + return globalThis._VSCODE_NLS_LANGUAGE; + } + + // node_modules/monaco-editor/esm/vs/nls.js + var isPseudo = getNLSLanguage() === "pseudo" || typeof document !== "undefined" && document.location && document.location.hash.indexOf("pseudo=true") >= 0; + function _format(message, args) { + let result; + if (args.length === 0) { + result = message; + } else { + result = message.replace(/\{(\d+)\}/g, (match, rest) => { + const index = rest[0]; + const arg = args[index]; + let result2 = match; + if (typeof arg === "string") { + result2 = arg; + } else if (typeof arg === "number" || typeof arg === "boolean" || arg === void 0 || arg === null) { + result2 = String(arg); + } + return result2; + }); + } + if (isPseudo) { + result = "\uFF3B" + result.replace(/[aouei]/g, "$&$&") + "\uFF3D"; + } + return result; + } + function localize(data, message, ...args) { + if (typeof data === "number") { + return _format(lookupMessage(data, message), args); + } + return _format(message, args); + } + function lookupMessage(index, fallback) { + const message = getNLSMessages()?.[index]; + if (typeof message !== "string") { + if (typeof fallback === "string") { + return fallback; + } + throw new Error(`!!! NLS MISSING: ${index} !!!`); + } + return message; + } + + // node_modules/monaco-editor/esm/vs/base/common/platform.js + var LANGUAGE_DEFAULT = "en"; + var _isWindows = false; + var _isMacintosh = false; + var _isLinux = false; + var _isLinuxSnap = false; + var _isNative = false; + var _isWeb = false; + var _isElectron = false; + var _isIOS = false; + var _isCI = false; + var _isMobile = false; + var _locale = void 0; + var _language = LANGUAGE_DEFAULT; + var _platformLocale = LANGUAGE_DEFAULT; + var _translationsConfigFile = void 0; + var _userAgent = void 0; + var $globalThis = globalThis; + var nodeProcess = void 0; + if (typeof $globalThis.vscode !== "undefined" && typeof $globalThis.vscode.process !== "undefined") { + nodeProcess = $globalThis.vscode.process; + } else if (typeof process !== "undefined" && typeof process?.versions?.node === "string") { + nodeProcess = process; + } + var isElectronProcess = typeof nodeProcess?.versions?.electron === "string"; + var isElectronRenderer = isElectronProcess && nodeProcess?.type === "renderer"; + if (typeof nodeProcess === "object") { + _isWindows = nodeProcess.platform === "win32"; + _isMacintosh = nodeProcess.platform === "darwin"; + _isLinux = nodeProcess.platform === "linux"; + _isLinuxSnap = _isLinux && !!nodeProcess.env["SNAP"] && !!nodeProcess.env["SNAP_REVISION"]; + _isElectron = isElectronProcess; + _isCI = !!nodeProcess.env["CI"] || !!nodeProcess.env["BUILD_ARTIFACTSTAGINGDIRECTORY"]; + _locale = LANGUAGE_DEFAULT; + _language = LANGUAGE_DEFAULT; + const rawNlsConfig = nodeProcess.env["VSCODE_NLS_CONFIG"]; + if (rawNlsConfig) { + try { + const nlsConfig = JSON.parse(rawNlsConfig); + _locale = nlsConfig.userLocale; + _platformLocale = nlsConfig.osLocale; + _language = nlsConfig.resolvedLanguage || LANGUAGE_DEFAULT; + _translationsConfigFile = nlsConfig.languagePack?.translationsConfigFile; + } catch (e) { + } + } + _isNative = true; + } else if (typeof navigator === "object" && !isElectronRenderer) { + _userAgent = navigator.userAgent; + _isWindows = _userAgent.indexOf("Windows") >= 0; + _isMacintosh = _userAgent.indexOf("Macintosh") >= 0; + _isIOS = (_userAgent.indexOf("Macintosh") >= 0 || _userAgent.indexOf("iPad") >= 0 || _userAgent.indexOf("iPhone") >= 0) && !!navigator.maxTouchPoints && navigator.maxTouchPoints > 0; + _isLinux = _userAgent.indexOf("Linux") >= 0; + _isMobile = _userAgent?.indexOf("Mobi") >= 0; + _isWeb = true; + _language = getNLSLanguage() || LANGUAGE_DEFAULT; + _locale = navigator.language.toLowerCase(); + _platformLocale = _locale; + } else { + console.error("Unable to resolve platform."); + } + var _platform = 0; + if (_isMacintosh) { + _platform = 1; + } else if (_isWindows) { + _platform = 3; + } else if (_isLinux) { + _platform = 2; + } + var isWindows = _isWindows; + var isMacintosh = _isMacintosh; + var isNative = _isNative; + var isWeb = _isWeb; + var isWebWorker = _isWeb && typeof $globalThis.importScripts === "function"; + var webWorkerOrigin = isWebWorker ? $globalThis.origin : void 0; + var userAgent = _userAgent; + var setTimeout0IsFaster = typeof $globalThis.postMessage === "function" && !$globalThis.importScripts; + var setTimeout0 = (() => { + if (setTimeout0IsFaster) { + const pending = []; + $globalThis.addEventListener("message", (e) => { + if (e.data && e.data.vscodeScheduleAsyncWork) { + for (let i = 0, len = pending.length; i < len; i++) { + const candidate = pending[i]; + if (candidate.id === e.data.vscodeScheduleAsyncWork) { + pending.splice(i, 1); + candidate.callback(); + return; + } + } + } + }); + let lastId = 0; + return (callback) => { + const myId = ++lastId; + pending.push({ + id: myId, + callback + }); + $globalThis.postMessage({ vscodeScheduleAsyncWork: myId }, "*"); + }; + } + return (callback) => setTimeout(callback); + })(); + var isChrome = !!(userAgent && userAgent.indexOf("Chrome") >= 0); + var isFirefox = !!(userAgent && userAgent.indexOf("Firefox") >= 0); + var isSafari = !!(!isChrome && (userAgent && userAgent.indexOf("Safari") >= 0)); + var isEdge = !!(userAgent && userAgent.indexOf("Edg/") >= 0); + var isAndroid = !!(userAgent && userAgent.indexOf("Android") >= 0); + + // node_modules/monaco-editor/esm/vs/base/common/cache.js + function identity(t2) { + return t2; + } + var LRUCachedFunction = class { + constructor(arg1, arg2) { + this.lastCache = void 0; + this.lastArgKey = void 0; + if (typeof arg1 === "function") { + this._fn = arg1; + this._computeKey = identity; + } else { + this._fn = arg2; + this._computeKey = arg1.getCacheKey; + } + } + get(arg) { + const key = this._computeKey(arg); + if (this.lastArgKey !== key) { + this.lastArgKey = key; + this.lastCache = this._fn(arg); + } + return this.lastCache; + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/lazy.js + var Lazy = class { + constructor(executor) { + this.executor = executor; + this._didRun = false; + } + /** + * Get the wrapped value. + * + * This will force evaluation of the lazy value if it has not been resolved yet. Lazy values are only + * resolved once. `getValue` will re-throw exceptions that are hit while resolving the value + */ + get value() { + if (!this._didRun) { + try { + this._value = this.executor(); + } catch (err) { + this._error = err; + } finally { + this._didRun = true; + } + } + if (this._error) { + throw this._error; + } + return this._value; + } + /** + * Get the wrapped value without forcing evaluation. + */ + get rawValue() { + return this._value; + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/strings.js + function escapeRegExpCharacters(value) { + return value.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g, "\\$&"); + } + function splitLines(str) { + return str.split(/\r\n|\r|\n/); + } + function firstNonWhitespaceIndex(str) { + for (let i = 0, len = str.length; i < len; i++) { + const chCode = str.charCodeAt(i); + if (chCode !== 32 && chCode !== 9) { + return i; + } + } + return -1; + } + function lastNonWhitespaceIndex(str, startIndex = str.length - 1) { + for (let i = startIndex; i >= 0; i--) { + const chCode = str.charCodeAt(i); + if (chCode !== 32 && chCode !== 9) { + return i; + } + } + return -1; + } + function isUpperAsciiLetter(code) { + return code >= 65 && code <= 90; + } + function isHighSurrogate(charCode) { + return 55296 <= charCode && charCode <= 56319; + } + function isLowSurrogate(charCode) { + return 56320 <= charCode && charCode <= 57343; + } + function computeCodePoint(highSurrogate, lowSurrogate) { + return (highSurrogate - 55296 << 10) + (lowSurrogate - 56320) + 65536; + } + function getNextCodePoint(str, len, offset) { + const charCode = str.charCodeAt(offset); + if (isHighSurrogate(charCode) && offset + 1 < len) { + const nextCharCode = str.charCodeAt(offset + 1); + if (isLowSurrogate(nextCharCode)) { + return computeCodePoint(charCode, nextCharCode); + } + } + return charCode; + } + var IS_BASIC_ASCII = /^[\t\n\r\x20-\x7E]*$/; + function isBasicASCII(str) { + return IS_BASIC_ASCII.test(str); + } + var UTF8_BOM_CHARACTER = String.fromCharCode( + 65279 + /* CharCode.UTF8_BOM */ + ); + var GraphemeBreakTree = class _GraphemeBreakTree { + static { + this._INSTANCE = null; + } + static getInstance() { + if (!_GraphemeBreakTree._INSTANCE) { + _GraphemeBreakTree._INSTANCE = new _GraphemeBreakTree(); + } + return _GraphemeBreakTree._INSTANCE; + } + constructor() { + this._data = getGraphemeBreakRawData(); + } + getGraphemeBreakType(codePoint) { + if (codePoint < 32) { + if (codePoint === 10) { + return 3; + } + if (codePoint === 13) { + return 2; + } + return 4; + } + if (codePoint < 127) { + return 0; + } + const data = this._data; + const nodeCount = data.length / 3; + let nodeIndex = 1; + while (nodeIndex <= nodeCount) { + if (codePoint < data[3 * nodeIndex]) { + nodeIndex = 2 * nodeIndex; + } else if (codePoint > data[3 * nodeIndex + 1]) { + nodeIndex = 2 * nodeIndex + 1; + } else { + return data[3 * nodeIndex + 2]; + } + } + return 0; + } + }; + function getGraphemeBreakRawData() { + return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]"); + } + var AmbiguousCharacters = class _AmbiguousCharacters { + static { + this.ambiguousCharacterData = new Lazy(() => { + return JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}'); + }); + } + static { + this.cache = new LRUCachedFunction({ getCacheKey: JSON.stringify }, (locales) => { + function arrayToMap(arr) { + const result = /* @__PURE__ */ new Map(); + for (let i = 0; i < arr.length; i += 2) { + result.set(arr[i], arr[i + 1]); + } + return result; + } + function mergeMaps(map1, map2) { + const result = new Map(map1); + for (const [key, value] of map2) { + result.set(key, value); + } + return result; + } + function intersectMaps(map1, map2) { + if (!map1) { + return map2; + } + const result = /* @__PURE__ */ new Map(); + for (const [key, value] of map1) { + if (map2.has(key)) { + result.set(key, value); + } + } + return result; + } + const data = this.ambiguousCharacterData.value; + let filteredLocales = locales.filter((l) => !l.startsWith("_") && l in data); + if (filteredLocales.length === 0) { + filteredLocales = ["_default"]; + } + let languageSpecificMap = void 0; + for (const locale of filteredLocales) { + const map2 = arrayToMap(data[locale]); + languageSpecificMap = intersectMaps(languageSpecificMap, map2); + } + const commonMap = arrayToMap(data["_common"]); + const map = mergeMaps(commonMap, languageSpecificMap); + return new _AmbiguousCharacters(map); + }); + } + static getInstance(locales) { + return _AmbiguousCharacters.cache.get(Array.from(locales)); + } + static { + this._locales = new Lazy(() => Object.keys(_AmbiguousCharacters.ambiguousCharacterData.value).filter((k) => !k.startsWith("_"))); + } + static getLocales() { + return _AmbiguousCharacters._locales.value; + } + constructor(confusableDictionary) { + this.confusableDictionary = confusableDictionary; + } + isAmbiguous(codePoint) { + return this.confusableDictionary.has(codePoint); + } + /** + * Returns the non basic ASCII code point that the given code point can be confused, + * or undefined if such code point does note exist. + */ + getPrimaryConfusable(codePoint) { + return this.confusableDictionary.get(codePoint); + } + getConfusableCodePoints() { + return new Set(this.confusableDictionary.keys()); + } + }; + var InvisibleCharacters = class _InvisibleCharacters { + static getRawData() { + return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]"); + } + static { + this._data = void 0; + } + static getData() { + if (!this._data) { + this._data = new Set(_InvisibleCharacters.getRawData()); + } + return this._data; + } + static isInvisibleCharacter(codePoint) { + return _InvisibleCharacters.getData().has(codePoint); + } + static get codePoints() { + return _InvisibleCharacters.getData(); + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/process.js + var safeProcess; + var vscodeGlobal = globalThis.vscode; + if (typeof vscodeGlobal !== "undefined" && typeof vscodeGlobal.process !== "undefined") { + const sandboxProcess = vscodeGlobal.process; + safeProcess = { + get platform() { + return sandboxProcess.platform; + }, + get arch() { + return sandboxProcess.arch; + }, + get env() { + return sandboxProcess.env; + }, + cwd() { + return sandboxProcess.cwd(); + } + }; + } else if (typeof process !== "undefined" && typeof process?.versions?.node === "string") { + safeProcess = { + get platform() { + return process.platform; + }, + get arch() { + return process.arch; + }, + get env() { + return process.env; + }, + cwd() { + return process.env["VSCODE_CWD"] || process.cwd(); + } + }; + } else { + safeProcess = { + // Supported + get platform() { + return isWindows ? "win32" : isMacintosh ? "darwin" : "linux"; + }, + get arch() { + return void 0; + }, + // Unsupported + get env() { + return {}; + }, + cwd() { + return "/"; + } + }; + } + var cwd = safeProcess.cwd; + var env = safeProcess.env; + var platform = safeProcess.platform; + + // node_modules/monaco-editor/esm/vs/base/common/path.js + var CHAR_UPPERCASE_A = 65; + var CHAR_LOWERCASE_A = 97; + var CHAR_UPPERCASE_Z = 90; + var CHAR_LOWERCASE_Z = 122; + var CHAR_DOT = 46; + var CHAR_FORWARD_SLASH = 47; + var CHAR_BACKWARD_SLASH = 92; + var CHAR_COLON = 58; + var CHAR_QUESTION_MARK = 63; + var ErrorInvalidArgType = class extends Error { + constructor(name, expected, actual) { + let determiner; + if (typeof expected === "string" && expected.indexOf("not ") === 0) { + determiner = "must not be"; + expected = expected.replace(/^not /, ""); + } else { + determiner = "must be"; + } + const type = name.indexOf(".") !== -1 ? "property" : "argument"; + let msg = `The "${name}" ${type} ${determiner} of type ${expected}`; + msg += `. Received type ${typeof actual}`; + super(msg); + this.code = "ERR_INVALID_ARG_TYPE"; + } + }; + function validateObject(pathObject, name) { + if (pathObject === null || typeof pathObject !== "object") { + throw new ErrorInvalidArgType(name, "Object", pathObject); + } + } + function validateString(value, name) { + if (typeof value !== "string") { + throw new ErrorInvalidArgType(name, "string", value); + } + } + var platformIsWin32 = platform === "win32"; + function isPathSeparator(code) { + return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH; + } + function isPosixPathSeparator(code) { + return code === CHAR_FORWARD_SLASH; + } + function isWindowsDeviceRoot(code) { + return code >= CHAR_UPPERCASE_A && code <= CHAR_UPPERCASE_Z || code >= CHAR_LOWERCASE_A && code <= CHAR_LOWERCASE_Z; + } + function normalizeString(path, allowAboveRoot, separator, isPathSeparator2) { + let res = ""; + let lastSegmentLength = 0; + let lastSlash = -1; + let dots = 0; + let code = 0; + for (let i = 0; i <= path.length; ++i) { + if (i < path.length) { + code = path.charCodeAt(i); + } else if (isPathSeparator2(code)) { + break; + } else { + code = CHAR_FORWARD_SLASH; + } + if (isPathSeparator2(code)) { + if (lastSlash === i - 1 || dots === 1) { + } else if (dots === 2) { + if (res.length < 2 || lastSegmentLength !== 2 || res.charCodeAt(res.length - 1) !== CHAR_DOT || res.charCodeAt(res.length - 2) !== CHAR_DOT) { + if (res.length > 2) { + const lastSlashIndex = res.lastIndexOf(separator); + if (lastSlashIndex === -1) { + res = ""; + lastSegmentLength = 0; + } else { + res = res.slice(0, lastSlashIndex); + lastSegmentLength = res.length - 1 - res.lastIndexOf(separator); + } + lastSlash = i; + dots = 0; + continue; + } else if (res.length !== 0) { + res = ""; + lastSegmentLength = 0; + lastSlash = i; + dots = 0; + continue; + } + } + if (allowAboveRoot) { + res += res.length > 0 ? `${separator}..` : ".."; + lastSegmentLength = 2; + } + } else { + if (res.length > 0) { + res += `${separator}${path.slice(lastSlash + 1, i)}`; + } else { + res = path.slice(lastSlash + 1, i); + } + lastSegmentLength = i - lastSlash - 1; + } + lastSlash = i; + dots = 0; + } else if (code === CHAR_DOT && dots !== -1) { + ++dots; + } else { + dots = -1; + } + } + return res; + } + function formatExt(ext) { + return ext ? `${ext[0] === "." ? "" : "."}${ext}` : ""; + } + function _format2(sep2, pathObject) { + validateObject(pathObject, "pathObject"); + const dir = pathObject.dir || pathObject.root; + const base = pathObject.base || `${pathObject.name || ""}${formatExt(pathObject.ext)}`; + if (!dir) { + return base; + } + return dir === pathObject.root ? `${dir}${base}` : `${dir}${sep2}${base}`; + } + var win32 = { + // path.resolve([from ...], to) + resolve(...pathSegments) { + let resolvedDevice = ""; + let resolvedTail = ""; + let resolvedAbsolute = false; + for (let i = pathSegments.length - 1; i >= -1; i--) { + let path; + if (i >= 0) { + path = pathSegments[i]; + validateString(path, `paths[${i}]`); + if (path.length === 0) { + continue; + } + } else if (resolvedDevice.length === 0) { + path = cwd(); + } else { + path = env[`=${resolvedDevice}`] || cwd(); + if (path === void 0 || path.slice(0, 2).toLowerCase() !== resolvedDevice.toLowerCase() && path.charCodeAt(2) === CHAR_BACKWARD_SLASH) { + path = `${resolvedDevice}\\`; + } + } + const len = path.length; + let rootEnd = 0; + let device = ""; + let isAbsolute = false; + const code = path.charCodeAt(0); + if (len === 1) { + if (isPathSeparator(code)) { + rootEnd = 1; + isAbsolute = true; + } + } else if (isPathSeparator(code)) { + isAbsolute = true; + if (isPathSeparator(path.charCodeAt(1))) { + let j = 2; + let last = j; + while (j < len && !isPathSeparator(path.charCodeAt(j))) { + j++; + } + if (j < len && j !== last) { + const firstPart = path.slice(last, j); + last = j; + while (j < len && isPathSeparator(path.charCodeAt(j))) { + j++; + } + if (j < len && j !== last) { + last = j; + while (j < len && !isPathSeparator(path.charCodeAt(j))) { + j++; + } + if (j === len || j !== last) { + device = `\\\\${firstPart}\\${path.slice(last, j)}`; + rootEnd = j; + } + } + } + } else { + rootEnd = 1; + } + } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) { + device = path.slice(0, 2); + rootEnd = 2; + if (len > 2 && isPathSeparator(path.charCodeAt(2))) { + isAbsolute = true; + rootEnd = 3; + } + } + if (device.length > 0) { + if (resolvedDevice.length > 0) { + if (device.toLowerCase() !== resolvedDevice.toLowerCase()) { + continue; + } + } else { + resolvedDevice = device; + } + } + if (resolvedAbsolute) { + if (resolvedDevice.length > 0) { + break; + } + } else { + resolvedTail = `${path.slice(rootEnd)}\\${resolvedTail}`; + resolvedAbsolute = isAbsolute; + if (isAbsolute && resolvedDevice.length > 0) { + break; + } + } + } + resolvedTail = normalizeString(resolvedTail, !resolvedAbsolute, "\\", isPathSeparator); + return resolvedAbsolute ? `${resolvedDevice}\\${resolvedTail}` : `${resolvedDevice}${resolvedTail}` || "."; + }, + normalize(path) { + validateString(path, "path"); + const len = path.length; + if (len === 0) { + return "."; + } + let rootEnd = 0; + let device; + let isAbsolute = false; + const code = path.charCodeAt(0); + if (len === 1) { + return isPosixPathSeparator(code) ? "\\" : path; + } + if (isPathSeparator(code)) { + isAbsolute = true; + if (isPathSeparator(path.charCodeAt(1))) { + let j = 2; + let last = j; + while (j < len && !isPathSeparator(path.charCodeAt(j))) { + j++; + } + if (j < len && j !== last) { + const firstPart = path.slice(last, j); + last = j; + while (j < len && isPathSeparator(path.charCodeAt(j))) { + j++; + } + if (j < len && j !== last) { + last = j; + while (j < len && !isPathSeparator(path.charCodeAt(j))) { + j++; + } + if (j === len) { + return `\\\\${firstPart}\\${path.slice(last)}\\`; + } + if (j !== last) { + device = `\\\\${firstPart}\\${path.slice(last, j)}`; + rootEnd = j; + } + } + } + } else { + rootEnd = 1; + } + } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) { + device = path.slice(0, 2); + rootEnd = 2; + if (len > 2 && isPathSeparator(path.charCodeAt(2))) { + isAbsolute = true; + rootEnd = 3; + } + } + let tail = rootEnd < len ? normalizeString(path.slice(rootEnd), !isAbsolute, "\\", isPathSeparator) : ""; + if (tail.length === 0 && !isAbsolute) { + tail = "."; + } + if (tail.length > 0 && isPathSeparator(path.charCodeAt(len - 1))) { + tail += "\\"; + } + if (device === void 0) { + return isAbsolute ? `\\${tail}` : tail; + } + return isAbsolute ? `${device}\\${tail}` : `${device}${tail}`; + }, + isAbsolute(path) { + validateString(path, "path"); + const len = path.length; + if (len === 0) { + return false; + } + const code = path.charCodeAt(0); + return isPathSeparator(code) || // Possible device root + len > 2 && isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON && isPathSeparator(path.charCodeAt(2)); + }, + join(...paths) { + if (paths.length === 0) { + return "."; + } + let joined; + let firstPart; + for (let i = 0; i < paths.length; ++i) { + const arg = paths[i]; + validateString(arg, "path"); + if (arg.length > 0) { + if (joined === void 0) { + joined = firstPart = arg; + } else { + joined += `\\${arg}`; + } + } + } + if (joined === void 0) { + return "."; + } + let needsReplace = true; + let slashCount = 0; + if (typeof firstPart === "string" && isPathSeparator(firstPart.charCodeAt(0))) { + ++slashCount; + const firstLen = firstPart.length; + if (firstLen > 1 && isPathSeparator(firstPart.charCodeAt(1))) { + ++slashCount; + if (firstLen > 2) { + if (isPathSeparator(firstPart.charCodeAt(2))) { + ++slashCount; + } else { + needsReplace = false; + } + } + } + } + if (needsReplace) { + while (slashCount < joined.length && isPathSeparator(joined.charCodeAt(slashCount))) { + slashCount++; + } + if (slashCount >= 2) { + joined = `\\${joined.slice(slashCount)}`; + } + } + return win32.normalize(joined); + }, + // It will solve the relative path from `from` to `to`, for instance: + // from = 'C:\\orandea\\test\\aaa' + // to = 'C:\\orandea\\impl\\bbb' + // The output of the function should be: '..\\..\\impl\\bbb' + relative(from, to) { + validateString(from, "from"); + validateString(to, "to"); + if (from === to) { + return ""; + } + const fromOrig = win32.resolve(from); + const toOrig = win32.resolve(to); + if (fromOrig === toOrig) { + return ""; + } + from = fromOrig.toLowerCase(); + to = toOrig.toLowerCase(); + if (from === to) { + return ""; + } + let fromStart = 0; + while (fromStart < from.length && from.charCodeAt(fromStart) === CHAR_BACKWARD_SLASH) { + fromStart++; + } + let fromEnd = from.length; + while (fromEnd - 1 > fromStart && from.charCodeAt(fromEnd - 1) === CHAR_BACKWARD_SLASH) { + fromEnd--; + } + const fromLen = fromEnd - fromStart; + let toStart = 0; + while (toStart < to.length && to.charCodeAt(toStart) === CHAR_BACKWARD_SLASH) { + toStart++; + } + let toEnd = to.length; + while (toEnd - 1 > toStart && to.charCodeAt(toEnd - 1) === CHAR_BACKWARD_SLASH) { + toEnd--; + } + const toLen = toEnd - toStart; + const length = fromLen < toLen ? fromLen : toLen; + let lastCommonSep = -1; + let i = 0; + for (; i < length; i++) { + const fromCode = from.charCodeAt(fromStart + i); + if (fromCode !== to.charCodeAt(toStart + i)) { + break; + } else if (fromCode === CHAR_BACKWARD_SLASH) { + lastCommonSep = i; + } + } + if (i !== length) { + if (lastCommonSep === -1) { + return toOrig; + } + } else { + if (toLen > length) { + if (to.charCodeAt(toStart + i) === CHAR_BACKWARD_SLASH) { + return toOrig.slice(toStart + i + 1); + } + if (i === 2) { + return toOrig.slice(toStart + i); + } + } + if (fromLen > length) { + if (from.charCodeAt(fromStart + i) === CHAR_BACKWARD_SLASH) { + lastCommonSep = i; + } else if (i === 2) { + lastCommonSep = 3; + } + } + if (lastCommonSep === -1) { + lastCommonSep = 0; + } + } + let out = ""; + for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) { + if (i === fromEnd || from.charCodeAt(i) === CHAR_BACKWARD_SLASH) { + out += out.length === 0 ? ".." : "\\.."; + } + } + toStart += lastCommonSep; + if (out.length > 0) { + return `${out}${toOrig.slice(toStart, toEnd)}`; + } + if (toOrig.charCodeAt(toStart) === CHAR_BACKWARD_SLASH) { + ++toStart; + } + return toOrig.slice(toStart, toEnd); + }, + toNamespacedPath(path) { + if (typeof path !== "string" || path.length === 0) { + return path; + } + const resolvedPath = win32.resolve(path); + if (resolvedPath.length <= 2) { + return path; + } + if (resolvedPath.charCodeAt(0) === CHAR_BACKWARD_SLASH) { + if (resolvedPath.charCodeAt(1) === CHAR_BACKWARD_SLASH) { + const code = resolvedPath.charCodeAt(2); + if (code !== CHAR_QUESTION_MARK && code !== CHAR_DOT) { + return `\\\\?\\UNC\\${resolvedPath.slice(2)}`; + } + } + } else if (isWindowsDeviceRoot(resolvedPath.charCodeAt(0)) && resolvedPath.charCodeAt(1) === CHAR_COLON && resolvedPath.charCodeAt(2) === CHAR_BACKWARD_SLASH) { + return `\\\\?\\${resolvedPath}`; + } + return path; + }, + dirname(path) { + validateString(path, "path"); + const len = path.length; + if (len === 0) { + return "."; + } + let rootEnd = -1; + let offset = 0; + const code = path.charCodeAt(0); + if (len === 1) { + return isPathSeparator(code) ? path : "."; + } + if (isPathSeparator(code)) { + rootEnd = offset = 1; + if (isPathSeparator(path.charCodeAt(1))) { + let j = 2; + let last = j; + while (j < len && !isPathSeparator(path.charCodeAt(j))) { + j++; + } + if (j < len && j !== last) { + last = j; + while (j < len && isPathSeparator(path.charCodeAt(j))) { + j++; + } + if (j < len && j !== last) { + last = j; + while (j < len && !isPathSeparator(path.charCodeAt(j))) { + j++; + } + if (j === len) { + return path; + } + if (j !== last) { + rootEnd = offset = j + 1; + } + } + } + } + } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) { + rootEnd = len > 2 && isPathSeparator(path.charCodeAt(2)) ? 3 : 2; + offset = rootEnd; + } + let end = -1; + let matchedSlash = true; + for (let i = len - 1; i >= offset; --i) { + if (isPathSeparator(path.charCodeAt(i))) { + if (!matchedSlash) { + end = i; + break; + } + } else { + matchedSlash = false; + } + } + if (end === -1) { + if (rootEnd === -1) { + return "."; + } + end = rootEnd; + } + return path.slice(0, end); + }, + basename(path, suffix) { + if (suffix !== void 0) { + validateString(suffix, "suffix"); + } + validateString(path, "path"); + let start = 0; + let end = -1; + let matchedSlash = true; + let i; + if (path.length >= 2 && isWindowsDeviceRoot(path.charCodeAt(0)) && path.charCodeAt(1) === CHAR_COLON) { + start = 2; + } + if (suffix !== void 0 && suffix.length > 0 && suffix.length <= path.length) { + if (suffix === path) { + return ""; + } + let extIdx = suffix.length - 1; + let firstNonSlashEnd = -1; + for (i = path.length - 1; i >= start; --i) { + const code = path.charCodeAt(i); + if (isPathSeparator(code)) { + if (!matchedSlash) { + start = i + 1; + break; + } + } else { + if (firstNonSlashEnd === -1) { + matchedSlash = false; + firstNonSlashEnd = i + 1; + } + if (extIdx >= 0) { + if (code === suffix.charCodeAt(extIdx)) { + if (--extIdx === -1) { + end = i; + } + } else { + extIdx = -1; + end = firstNonSlashEnd; + } + } + } + } + if (start === end) { + end = firstNonSlashEnd; + } else if (end === -1) { + end = path.length; + } + return path.slice(start, end); + } + for (i = path.length - 1; i >= start; --i) { + if (isPathSeparator(path.charCodeAt(i))) { + if (!matchedSlash) { + start = i + 1; + break; + } + } else if (end === -1) { + matchedSlash = false; + end = i + 1; + } + } + if (end === -1) { + return ""; + } + return path.slice(start, end); + }, + extname(path) { + validateString(path, "path"); + let start = 0; + let startDot = -1; + let startPart = 0; + let end = -1; + let matchedSlash = true; + let preDotState = 0; + if (path.length >= 2 && path.charCodeAt(1) === CHAR_COLON && isWindowsDeviceRoot(path.charCodeAt(0))) { + start = startPart = 2; + } + for (let i = path.length - 1; i >= start; --i) { + const code = path.charCodeAt(i); + if (isPathSeparator(code)) { + if (!matchedSlash) { + startPart = i + 1; + break; + } + continue; + } + if (end === -1) { + matchedSlash = false; + end = i + 1; + } + if (code === CHAR_DOT) { + if (startDot === -1) { + startDot = i; + } else if (preDotState !== 1) { + preDotState = 1; + } + } else if (startDot !== -1) { + preDotState = -1; + } + } + if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot + preDotState === 0 || // The (right-most) trimmed path component is exactly '..' + preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) { + return ""; + } + return path.slice(startDot, end); + }, + format: _format2.bind(null, "\\"), + parse(path) { + validateString(path, "path"); + const ret = { root: "", dir: "", base: "", ext: "", name: "" }; + if (path.length === 0) { + return ret; + } + const len = path.length; + let rootEnd = 0; + let code = path.charCodeAt(0); + if (len === 1) { + if (isPathSeparator(code)) { + ret.root = ret.dir = path; + return ret; + } + ret.base = ret.name = path; + return ret; + } + if (isPathSeparator(code)) { + rootEnd = 1; + if (isPathSeparator(path.charCodeAt(1))) { + let j = 2; + let last = j; + while (j < len && !isPathSeparator(path.charCodeAt(j))) { + j++; + } + if (j < len && j !== last) { + last = j; + while (j < len && isPathSeparator(path.charCodeAt(j))) { + j++; + } + if (j < len && j !== last) { + last = j; + while (j < len && !isPathSeparator(path.charCodeAt(j))) { + j++; + } + if (j === len) { + rootEnd = j; + } else if (j !== last) { + rootEnd = j + 1; + } + } + } + } + } else if (isWindowsDeviceRoot(code) && path.charCodeAt(1) === CHAR_COLON) { + if (len <= 2) { + ret.root = ret.dir = path; + return ret; + } + rootEnd = 2; + if (isPathSeparator(path.charCodeAt(2))) { + if (len === 3) { + ret.root = ret.dir = path; + return ret; + } + rootEnd = 3; + } + } + if (rootEnd > 0) { + ret.root = path.slice(0, rootEnd); + } + let startDot = -1; + let startPart = rootEnd; + let end = -1; + let matchedSlash = true; + let i = path.length - 1; + let preDotState = 0; + for (; i >= rootEnd; --i) { + code = path.charCodeAt(i); + if (isPathSeparator(code)) { + if (!matchedSlash) { + startPart = i + 1; + break; + } + continue; + } + if (end === -1) { + matchedSlash = false; + end = i + 1; + } + if (code === CHAR_DOT) { + if (startDot === -1) { + startDot = i; + } else if (preDotState !== 1) { + preDotState = 1; + } + } else if (startDot !== -1) { + preDotState = -1; + } + } + if (end !== -1) { + if (startDot === -1 || // We saw a non-dot character immediately before the dot + preDotState === 0 || // The (right-most) trimmed path component is exactly '..' + preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) { + ret.base = ret.name = path.slice(startPart, end); + } else { + ret.name = path.slice(startPart, startDot); + ret.base = path.slice(startPart, end); + ret.ext = path.slice(startDot, end); + } + } + if (startPart > 0 && startPart !== rootEnd) { + ret.dir = path.slice(0, startPart - 1); + } else { + ret.dir = ret.root; + } + return ret; + }, + sep: "\\", + delimiter: ";", + win32: null, + posix: null + }; + var posixCwd = (() => { + if (platformIsWin32) { + const regexp = /\\/g; + return () => { + const cwd2 = cwd().replace(regexp, "/"); + return cwd2.slice(cwd2.indexOf("/")); + }; + } + return () => cwd(); + })(); + var posix = { + // path.resolve([from ...], to) + resolve(...pathSegments) { + let resolvedPath = ""; + let resolvedAbsolute = false; + for (let i = pathSegments.length - 1; i >= -1 && !resolvedAbsolute; i--) { + const path = i >= 0 ? pathSegments[i] : posixCwd(); + validateString(path, `paths[${i}]`); + if (path.length === 0) { + continue; + } + resolvedPath = `${path}/${resolvedPath}`; + resolvedAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH; + } + resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute, "/", isPosixPathSeparator); + if (resolvedAbsolute) { + return `/${resolvedPath}`; + } + return resolvedPath.length > 0 ? resolvedPath : "."; + }, + normalize(path) { + validateString(path, "path"); + if (path.length === 0) { + return "."; + } + const isAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH; + const trailingSeparator = path.charCodeAt(path.length - 1) === CHAR_FORWARD_SLASH; + path = normalizeString(path, !isAbsolute, "/", isPosixPathSeparator); + if (path.length === 0) { + if (isAbsolute) { + return "/"; + } + return trailingSeparator ? "./" : "."; + } + if (trailingSeparator) { + path += "/"; + } + return isAbsolute ? `/${path}` : path; + }, + isAbsolute(path) { + validateString(path, "path"); + return path.length > 0 && path.charCodeAt(0) === CHAR_FORWARD_SLASH; + }, + join(...paths) { + if (paths.length === 0) { + return "."; + } + let joined; + for (let i = 0; i < paths.length; ++i) { + const arg = paths[i]; + validateString(arg, "path"); + if (arg.length > 0) { + if (joined === void 0) { + joined = arg; + } else { + joined += `/${arg}`; + } + } + } + if (joined === void 0) { + return "."; + } + return posix.normalize(joined); + }, + relative(from, to) { + validateString(from, "from"); + validateString(to, "to"); + if (from === to) { + return ""; + } + from = posix.resolve(from); + to = posix.resolve(to); + if (from === to) { + return ""; + } + const fromStart = 1; + const fromEnd = from.length; + const fromLen = fromEnd - fromStart; + const toStart = 1; + const toLen = to.length - toStart; + const length = fromLen < toLen ? fromLen : toLen; + let lastCommonSep = -1; + let i = 0; + for (; i < length; i++) { + const fromCode = from.charCodeAt(fromStart + i); + if (fromCode !== to.charCodeAt(toStart + i)) { + break; + } else if (fromCode === CHAR_FORWARD_SLASH) { + lastCommonSep = i; + } + } + if (i === length) { + if (toLen > length) { + if (to.charCodeAt(toStart + i) === CHAR_FORWARD_SLASH) { + return to.slice(toStart + i + 1); + } + if (i === 0) { + return to.slice(toStart + i); + } + } else if (fromLen > length) { + if (from.charCodeAt(fromStart + i) === CHAR_FORWARD_SLASH) { + lastCommonSep = i; + } else if (i === 0) { + lastCommonSep = 0; + } + } + } + let out = ""; + for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) { + if (i === fromEnd || from.charCodeAt(i) === CHAR_FORWARD_SLASH) { + out += out.length === 0 ? ".." : "/.."; + } + } + return `${out}${to.slice(toStart + lastCommonSep)}`; + }, + toNamespacedPath(path) { + return path; + }, + dirname(path) { + validateString(path, "path"); + if (path.length === 0) { + return "."; + } + const hasRoot = path.charCodeAt(0) === CHAR_FORWARD_SLASH; + let end = -1; + let matchedSlash = true; + for (let i = path.length - 1; i >= 1; --i) { + if (path.charCodeAt(i) === CHAR_FORWARD_SLASH) { + if (!matchedSlash) { + end = i; + break; + } + } else { + matchedSlash = false; + } + } + if (end === -1) { + return hasRoot ? "/" : "."; + } + if (hasRoot && end === 1) { + return "//"; + } + return path.slice(0, end); + }, + basename(path, suffix) { + if (suffix !== void 0) { + validateString(suffix, "ext"); + } + validateString(path, "path"); + let start = 0; + let end = -1; + let matchedSlash = true; + let i; + if (suffix !== void 0 && suffix.length > 0 && suffix.length <= path.length) { + if (suffix === path) { + return ""; + } + let extIdx = suffix.length - 1; + let firstNonSlashEnd = -1; + for (i = path.length - 1; i >= 0; --i) { + const code = path.charCodeAt(i); + if (code === CHAR_FORWARD_SLASH) { + if (!matchedSlash) { + start = i + 1; + break; + } + } else { + if (firstNonSlashEnd === -1) { + matchedSlash = false; + firstNonSlashEnd = i + 1; + } + if (extIdx >= 0) { + if (code === suffix.charCodeAt(extIdx)) { + if (--extIdx === -1) { + end = i; + } + } else { + extIdx = -1; + end = firstNonSlashEnd; + } + } + } + } + if (start === end) { + end = firstNonSlashEnd; + } else if (end === -1) { + end = path.length; + } + return path.slice(start, end); + } + for (i = path.length - 1; i >= 0; --i) { + if (path.charCodeAt(i) === CHAR_FORWARD_SLASH) { + if (!matchedSlash) { + start = i + 1; + break; + } + } else if (end === -1) { + matchedSlash = false; + end = i + 1; + } + } + if (end === -1) { + return ""; + } + return path.slice(start, end); + }, + extname(path) { + validateString(path, "path"); + let startDot = -1; + let startPart = 0; + let end = -1; + let matchedSlash = true; + let preDotState = 0; + for (let i = path.length - 1; i >= 0; --i) { + const code = path.charCodeAt(i); + if (code === CHAR_FORWARD_SLASH) { + if (!matchedSlash) { + startPart = i + 1; + break; + } + continue; + } + if (end === -1) { + matchedSlash = false; + end = i + 1; + } + if (code === CHAR_DOT) { + if (startDot === -1) { + startDot = i; + } else if (preDotState !== 1) { + preDotState = 1; + } + } else if (startDot !== -1) { + preDotState = -1; + } + } + if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot + preDotState === 0 || // The (right-most) trimmed path component is exactly '..' + preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) { + return ""; + } + return path.slice(startDot, end); + }, + format: _format2.bind(null, "/"), + parse(path) { + validateString(path, "path"); + const ret = { root: "", dir: "", base: "", ext: "", name: "" }; + if (path.length === 0) { + return ret; + } + const isAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH; + let start; + if (isAbsolute) { + ret.root = "/"; + start = 1; + } else { + start = 0; + } + let startDot = -1; + let startPart = 0; + let end = -1; + let matchedSlash = true; + let i = path.length - 1; + let preDotState = 0; + for (; i >= start; --i) { + const code = path.charCodeAt(i); + if (code === CHAR_FORWARD_SLASH) { + if (!matchedSlash) { + startPart = i + 1; + break; + } + continue; + } + if (end === -1) { + matchedSlash = false; + end = i + 1; + } + if (code === CHAR_DOT) { + if (startDot === -1) { + startDot = i; + } else if (preDotState !== 1) { + preDotState = 1; + } + } else if (startDot !== -1) { + preDotState = -1; + } + } + if (end !== -1) { + const start2 = startPart === 0 && isAbsolute ? 1 : startPart; + if (startDot === -1 || // We saw a non-dot character immediately before the dot + preDotState === 0 || // The (right-most) trimmed path component is exactly '..' + preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) { + ret.base = ret.name = path.slice(start2, end); + } else { + ret.name = path.slice(start2, startDot); + ret.base = path.slice(start2, end); + ret.ext = path.slice(startDot, end); + } + } + if (startPart > 0) { + ret.dir = path.slice(0, startPart - 1); + } else if (isAbsolute) { + ret.dir = "/"; + } + return ret; + }, + sep: "/", + delimiter: ":", + win32: null, + posix: null + }; + posix.win32 = win32.win32 = win32; + posix.posix = win32.posix = posix; + var normalize = platformIsWin32 ? win32.normalize : posix.normalize; + var join = platformIsWin32 ? win32.join : posix.join; + var resolve = platformIsWin32 ? win32.resolve : posix.resolve; + var relative = platformIsWin32 ? win32.relative : posix.relative; + var dirname = platformIsWin32 ? win32.dirname : posix.dirname; + var basename = platformIsWin32 ? win32.basename : posix.basename; + var extname = platformIsWin32 ? win32.extname : posix.extname; + var sep = platformIsWin32 ? win32.sep : posix.sep; + + // node_modules/monaco-editor/esm/vs/base/common/uri.js + var _schemePattern = /^\w[\w\d+.-]*$/; + var _singleSlashStart = /^\//; + var _doubleSlashStart = /^\/\//; + function _validateUri(ret, _strict) { + if (!ret.scheme && _strict) { + throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${ret.authority}", path: "${ret.path}", query: "${ret.query}", fragment: "${ret.fragment}"}`); + } + if (ret.scheme && !_schemePattern.test(ret.scheme)) { + throw new Error("[UriError]: Scheme contains illegal characters."); + } + if (ret.path) { + if (ret.authority) { + if (!_singleSlashStart.test(ret.path)) { + throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character'); + } + } else { + if (_doubleSlashStart.test(ret.path)) { + throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")'); + } + } + } + } + function _schemeFix(scheme, _strict) { + if (!scheme && !_strict) { + return "file"; + } + return scheme; + } + function _referenceResolution(scheme, path) { + switch (scheme) { + case "https": + case "http": + case "file": + if (!path) { + path = _slash; + } else if (path[0] !== _slash) { + path = _slash + path; + } + break; + } + return path; + } + var _empty = ""; + var _slash = "/"; + var _regexp = /^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/; + var URI = class _URI { + static isUri(thing) { + if (thing instanceof _URI) { + return true; + } + if (!thing) { + return false; + } + return typeof thing.authority === "string" && typeof thing.fragment === "string" && typeof thing.path === "string" && typeof thing.query === "string" && typeof thing.scheme === "string" && typeof thing.fsPath === "string" && typeof thing.with === "function" && typeof thing.toString === "function"; + } + /** + * @internal + */ + constructor(schemeOrData, authority, path, query, fragment, _strict = false) { + if (typeof schemeOrData === "object") { + this.scheme = schemeOrData.scheme || _empty; + this.authority = schemeOrData.authority || _empty; + this.path = schemeOrData.path || _empty; + this.query = schemeOrData.query || _empty; + this.fragment = schemeOrData.fragment || _empty; + } else { + this.scheme = _schemeFix(schemeOrData, _strict); + this.authority = authority || _empty; + this.path = _referenceResolution(this.scheme, path || _empty); + this.query = query || _empty; + this.fragment = fragment || _empty; + _validateUri(this, _strict); + } + } + // ---- filesystem path ----------------------- + /** + * Returns a string representing the corresponding file system path of this URI. + * Will handle UNC paths, normalizes windows drive letters to lower-case, and uses the + * platform specific path separator. + * + * * Will *not* validate the path for invalid characters and semantics. + * * Will *not* look at the scheme of this URI. + * * The result shall *not* be used for display purposes but for accessing a file on disk. + * + * + * The *difference* to `URI#path` is the use of the platform specific separator and the handling + * of UNC paths. See the below sample of a file-uri with an authority (UNC path). + * + * ```ts + const u = URI.parse('file://server/c$/folder/file.txt') + u.authority === 'server' + u.path === '/shares/c$/file.txt' + u.fsPath === '\\server\c$\folder\file.txt' + ``` + * + * Using `URI#path` to read a file (using fs-apis) would not be enough because parts of the path, + * namely the server name, would be missing. Therefore `URI#fsPath` exists - it's sugar to ease working + * with URIs that represent files on disk (`file` scheme). + */ + get fsPath() { + return uriToFsPath(this, false); + } + // ---- modify to new ------------------------- + with(change) { + if (!change) { + return this; + } + let { scheme, authority, path, query, fragment } = change; + if (scheme === void 0) { + scheme = this.scheme; + } else if (scheme === null) { + scheme = _empty; + } + if (authority === void 0) { + authority = this.authority; + } else if (authority === null) { + authority = _empty; + } + if (path === void 0) { + path = this.path; + } else if (path === null) { + path = _empty; + } + if (query === void 0) { + query = this.query; + } else if (query === null) { + query = _empty; + } + if (fragment === void 0) { + fragment = this.fragment; + } else if (fragment === null) { + fragment = _empty; + } + if (scheme === this.scheme && authority === this.authority && path === this.path && query === this.query && fragment === this.fragment) { + return this; + } + return new Uri(scheme, authority, path, query, fragment); + } + // ---- parse & validate ------------------------ + /** + * Creates a new URI from a string, e.g. `http://www.example.com/some/path`, + * `file:///usr/home`, or `scheme:with/path`. + * + * @param value A string which represents an URI (see `URI#toString`). + */ + static parse(value, _strict = false) { + const match = _regexp.exec(value); + if (!match) { + return new Uri(_empty, _empty, _empty, _empty, _empty); + } + return new Uri(match[2] || _empty, percentDecode(match[4] || _empty), percentDecode(match[5] || _empty), percentDecode(match[7] || _empty), percentDecode(match[9] || _empty), _strict); + } + /** + * Creates a new URI from a file system path, e.g. `c:\my\files`, + * `/usr/home`, or `\\server\share\some\path`. + * + * The *difference* between `URI#parse` and `URI#file` is that the latter treats the argument + * as path, not as stringified-uri. E.g. `URI.file(path)` is **not the same as** + * `URI.parse('file://' + path)` because the path might contain characters that are + * interpreted (# and ?). See the following sample: + * ```ts + const good = URI.file('/coding/c#/project1'); + good.scheme === 'file'; + good.path === '/coding/c#/project1'; + good.fragment === ''; + const bad = URI.parse('file://' + '/coding/c#/project1'); + bad.scheme === 'file'; + bad.path === '/coding/c'; // path is now broken + bad.fragment === '/project1'; + ``` + * + * @param path A file system path (see `URI#fsPath`) + */ + static file(path) { + let authority = _empty; + if (isWindows) { + path = path.replace(/\\/g, _slash); + } + if (path[0] === _slash && path[1] === _slash) { + const idx = path.indexOf(_slash, 2); + if (idx === -1) { + authority = path.substring(2); + path = _slash; + } else { + authority = path.substring(2, idx); + path = path.substring(idx) || _slash; + } + } + return new Uri("file", authority, path, _empty, _empty); + } + /** + * Creates new URI from uri components. + * + * Unless `strict` is `true` the scheme is defaults to be `file`. This function performs + * validation and should be used for untrusted uri components retrieved from storage, + * user input, command arguments etc + */ + static from(components, strict) { + const result = new Uri(components.scheme, components.authority, components.path, components.query, components.fragment, strict); + return result; + } + /** + * Join a URI path with path fragments and normalizes the resulting path. + * + * @param uri The input URI. + * @param pathFragment The path fragment to add to the URI path. + * @returns The resulting URI. + */ + static joinPath(uri, ...pathFragment) { + if (!uri.path) { + throw new Error(`[UriError]: cannot call joinPath on URI without path`); + } + let newPath; + if (isWindows && uri.scheme === "file") { + newPath = _URI.file(win32.join(uriToFsPath(uri, true), ...pathFragment)).path; + } else { + newPath = posix.join(uri.path, ...pathFragment); + } + return uri.with({ path: newPath }); + } + // ---- printing/externalize --------------------------- + /** + * Creates a string representation for this URI. It's guaranteed that calling + * `URI.parse` with the result of this function creates an URI which is equal + * to this URI. + * + * * The result shall *not* be used for display purposes but for externalization or transport. + * * The result will be encoded using the percentage encoding and encoding happens mostly + * ignore the scheme-specific encoding rules. + * + * @param skipEncoding Do not encode the result, default is `false` + */ + toString(skipEncoding = false) { + return _asFormatted(this, skipEncoding); + } + toJSON() { + return this; + } + static revive(data) { + if (!data) { + return data; + } else if (data instanceof _URI) { + return data; + } else { + const result = new Uri(data); + result._formatted = data.external ?? null; + result._fsPath = data._sep === _pathSepMarker ? data.fsPath ?? null : null; + return result; + } + } + }; + var _pathSepMarker = isWindows ? 1 : void 0; + var Uri = class extends URI { + constructor() { + super(...arguments); + this._formatted = null; + this._fsPath = null; + } + get fsPath() { + if (!this._fsPath) { + this._fsPath = uriToFsPath(this, false); + } + return this._fsPath; + } + toString(skipEncoding = false) { + if (!skipEncoding) { + if (!this._formatted) { + this._formatted = _asFormatted(this, false); + } + return this._formatted; + } else { + return _asFormatted(this, true); + } + } + toJSON() { + const res = { + $mid: 1 + /* MarshalledId.Uri */ + }; + if (this._fsPath) { + res.fsPath = this._fsPath; + res._sep = _pathSepMarker; + } + if (this._formatted) { + res.external = this._formatted; + } + if (this.path) { + res.path = this.path; + } + if (this.scheme) { + res.scheme = this.scheme; + } + if (this.authority) { + res.authority = this.authority; + } + if (this.query) { + res.query = this.query; + } + if (this.fragment) { + res.fragment = this.fragment; + } + return res; + } + }; + var encodeTable = { + [ + 58 + /* CharCode.Colon */ + ]: "%3A", + // gen-delims + [ + 47 + /* CharCode.Slash */ + ]: "%2F", + [ + 63 + /* CharCode.QuestionMark */ + ]: "%3F", + [ + 35 + /* CharCode.Hash */ + ]: "%23", + [ + 91 + /* CharCode.OpenSquareBracket */ + ]: "%5B", + [ + 93 + /* CharCode.CloseSquareBracket */ + ]: "%5D", + [ + 64 + /* CharCode.AtSign */ + ]: "%40", + [ + 33 + /* CharCode.ExclamationMark */ + ]: "%21", + // sub-delims + [ + 36 + /* CharCode.DollarSign */ + ]: "%24", + [ + 38 + /* CharCode.Ampersand */ + ]: "%26", + [ + 39 + /* CharCode.SingleQuote */ + ]: "%27", + [ + 40 + /* CharCode.OpenParen */ + ]: "%28", + [ + 41 + /* CharCode.CloseParen */ + ]: "%29", + [ + 42 + /* CharCode.Asterisk */ + ]: "%2A", + [ + 43 + /* CharCode.Plus */ + ]: "%2B", + [ + 44 + /* CharCode.Comma */ + ]: "%2C", + [ + 59 + /* CharCode.Semicolon */ + ]: "%3B", + [ + 61 + /* CharCode.Equals */ + ]: "%3D", + [ + 32 + /* CharCode.Space */ + ]: "%20" + }; + function encodeURIComponentFast(uriComponent, isPath, isAuthority) { + let res = void 0; + let nativeEncodePos = -1; + for (let pos = 0; pos < uriComponent.length; pos++) { + const code = uriComponent.charCodeAt(pos); + if (code >= 97 && code <= 122 || code >= 65 && code <= 90 || code >= 48 && code <= 57 || code === 45 || code === 46 || code === 95 || code === 126 || isPath && code === 47 || isAuthority && code === 91 || isAuthority && code === 93 || isAuthority && code === 58) { + if (nativeEncodePos !== -1) { + res += encodeURIComponent(uriComponent.substring(nativeEncodePos, pos)); + nativeEncodePos = -1; + } + if (res !== void 0) { + res += uriComponent.charAt(pos); + } + } else { + if (res === void 0) { + res = uriComponent.substr(0, pos); + } + const escaped = encodeTable[code]; + if (escaped !== void 0) { + if (nativeEncodePos !== -1) { + res += encodeURIComponent(uriComponent.substring(nativeEncodePos, pos)); + nativeEncodePos = -1; + } + res += escaped; + } else if (nativeEncodePos === -1) { + nativeEncodePos = pos; + } + } + } + if (nativeEncodePos !== -1) { + res += encodeURIComponent(uriComponent.substring(nativeEncodePos)); + } + return res !== void 0 ? res : uriComponent; + } + function encodeURIComponentMinimal(path) { + let res = void 0; + for (let pos = 0; pos < path.length; pos++) { + const code = path.charCodeAt(pos); + if (code === 35 || code === 63) { + if (res === void 0) { + res = path.substr(0, pos); + } + res += encodeTable[code]; + } else { + if (res !== void 0) { + res += path[pos]; + } + } + } + return res !== void 0 ? res : path; + } + function uriToFsPath(uri, keepDriveLetterCasing) { + let value; + if (uri.authority && uri.path.length > 1 && uri.scheme === "file") { + value = `//${uri.authority}${uri.path}`; + } else if (uri.path.charCodeAt(0) === 47 && (uri.path.charCodeAt(1) >= 65 && uri.path.charCodeAt(1) <= 90 || uri.path.charCodeAt(1) >= 97 && uri.path.charCodeAt(1) <= 122) && uri.path.charCodeAt(2) === 58) { + if (!keepDriveLetterCasing) { + value = uri.path[1].toLowerCase() + uri.path.substr(2); + } else { + value = uri.path.substr(1); + } + } else { + value = uri.path; + } + if (isWindows) { + value = value.replace(/\//g, "\\"); + } + return value; + } + function _asFormatted(uri, skipEncoding) { + const encoder = !skipEncoding ? encodeURIComponentFast : encodeURIComponentMinimal; + let res = ""; + let { scheme, authority, path, query, fragment } = uri; + if (scheme) { + res += scheme; + res += ":"; + } + if (authority || scheme === "file") { + res += _slash; + res += _slash; + } + if (authority) { + let idx = authority.indexOf("@"); + if (idx !== -1) { + const userinfo = authority.substr(0, idx); + authority = authority.substr(idx + 1); + idx = userinfo.lastIndexOf(":"); + if (idx === -1) { + res += encoder(userinfo, false, false); + } else { + res += encoder(userinfo.substr(0, idx), false, false); + res += ":"; + res += encoder(userinfo.substr(idx + 1), false, true); + } + res += "@"; + } + authority = authority.toLowerCase(); + idx = authority.lastIndexOf(":"); + if (idx === -1) { + res += encoder(authority, false, true); + } else { + res += encoder(authority.substr(0, idx), false, true); + res += authority.substr(idx); + } + } + if (path) { + if (path.length >= 3 && path.charCodeAt(0) === 47 && path.charCodeAt(2) === 58) { + const code = path.charCodeAt(1); + if (code >= 65 && code <= 90) { + path = `/${String.fromCharCode(code + 32)}:${path.substr(3)}`; + } + } else if (path.length >= 2 && path.charCodeAt(1) === 58) { + const code = path.charCodeAt(0); + if (code >= 65 && code <= 90) { + path = `${String.fromCharCode(code + 32)}:${path.substr(2)}`; + } + } + res += encoder(path, true, false); + } + if (query) { + res += "?"; + res += encoder(query, false, false); + } + if (fragment) { + res += "#"; + res += !skipEncoding ? encodeURIComponentFast(fragment, false, false) : fragment; + } + return res; + } + function decodeURIComponentGraceful(str) { + try { + return decodeURIComponent(str); + } catch { + if (str.length > 3) { + return str.substr(0, 3) + decodeURIComponentGraceful(str.substr(3)); + } else { + return str; + } + } + } + var _rEncodedAsHex = /(%[0-9A-Za-z][0-9A-Za-z])+/g; + function percentDecode(str) { + if (!str.match(_rEncodedAsHex)) { + return str; + } + return str.replace(_rEncodedAsHex, (match) => decodeURIComponentGraceful(match)); + } + + // node_modules/monaco-editor/esm/vs/base/common/network.js + var Schemas; + (function(Schemas2) { + Schemas2.inMemory = "inmemory"; + Schemas2.vscode = "vscode"; + Schemas2.internal = "private"; + Schemas2.walkThrough = "walkThrough"; + Schemas2.walkThroughSnippet = "walkThroughSnippet"; + Schemas2.http = "http"; + Schemas2.https = "https"; + Schemas2.file = "file"; + Schemas2.mailto = "mailto"; + Schemas2.untitled = "untitled"; + Schemas2.data = "data"; + Schemas2.command = "command"; + Schemas2.vscodeRemote = "vscode-remote"; + Schemas2.vscodeRemoteResource = "vscode-remote-resource"; + Schemas2.vscodeManagedRemoteResource = "vscode-managed-remote-resource"; + Schemas2.vscodeUserData = "vscode-userdata"; + Schemas2.vscodeCustomEditor = "vscode-custom-editor"; + Schemas2.vscodeNotebookCell = "vscode-notebook-cell"; + Schemas2.vscodeNotebookCellMetadata = "vscode-notebook-cell-metadata"; + Schemas2.vscodeNotebookCellMetadataDiff = "vscode-notebook-cell-metadata-diff"; + Schemas2.vscodeNotebookCellOutput = "vscode-notebook-cell-output"; + Schemas2.vscodeNotebookCellOutputDiff = "vscode-notebook-cell-output-diff"; + Schemas2.vscodeNotebookMetadata = "vscode-notebook-metadata"; + Schemas2.vscodeInteractiveInput = "vscode-interactive-input"; + Schemas2.vscodeSettings = "vscode-settings"; + Schemas2.vscodeWorkspaceTrust = "vscode-workspace-trust"; + Schemas2.vscodeTerminal = "vscode-terminal"; + Schemas2.vscodeChatCodeBlock = "vscode-chat-code-block"; + Schemas2.vscodeChatCodeCompareBlock = "vscode-chat-code-compare-block"; + Schemas2.vscodeChatSesssion = "vscode-chat-editor"; + Schemas2.webviewPanel = "webview-panel"; + Schemas2.vscodeWebview = "vscode-webview"; + Schemas2.extension = "extension"; + Schemas2.vscodeFileResource = "vscode-file"; + Schemas2.tmp = "tmp"; + Schemas2.vsls = "vsls"; + Schemas2.vscodeSourceControl = "vscode-scm"; + Schemas2.commentsInput = "comment"; + Schemas2.codeSetting = "code-setting"; + Schemas2.outputChannel = "output"; + })(Schemas || (Schemas = {})); + var connectionTokenQueryName = "tkn"; + var RemoteAuthoritiesImpl = class { + constructor() { + this._hosts = /* @__PURE__ */ Object.create(null); + this._ports = /* @__PURE__ */ Object.create(null); + this._connectionTokens = /* @__PURE__ */ Object.create(null); + this._preferredWebSchema = "http"; + this._delegate = null; + this._serverRootPath = "/"; + } + setPreferredWebSchema(schema) { + this._preferredWebSchema = schema; + } + get _remoteResourcesPath() { + return posix.join(this._serverRootPath, Schemas.vscodeRemoteResource); + } + rewrite(uri) { + if (this._delegate) { + try { + return this._delegate(uri); + } catch (err) { + onUnexpectedError(err); + return uri; + } + } + const authority = uri.authority; + let host = this._hosts[authority]; + if (host && host.indexOf(":") !== -1 && host.indexOf("[") === -1) { + host = `[${host}]`; + } + const port = this._ports[authority]; + const connectionToken = this._connectionTokens[authority]; + let query = `path=${encodeURIComponent(uri.path)}`; + if (typeof connectionToken === "string") { + query += `&${connectionTokenQueryName}=${encodeURIComponent(connectionToken)}`; + } + return URI.from({ + scheme: isWeb ? this._preferredWebSchema : Schemas.vscodeRemoteResource, + authority: `${host}:${port}`, + path: this._remoteResourcesPath, + query + }); + } + }; + var RemoteAuthorities = new RemoteAuthoritiesImpl(); + var VSCODE_AUTHORITY = "vscode-app"; + var FileAccessImpl = class _FileAccessImpl { + static { + this.FALLBACK_AUTHORITY = VSCODE_AUTHORITY; + } + /** + * Returns a URI to use in contexts where the browser is responsible + * for loading (e.g. fetch()) or when used within the DOM. + * + * **Note:** use `dom.ts#asCSSUrl` whenever the URL is to be used in CSS context. + */ + asBrowserUri(resourcePath) { + const uri = this.toUri(resourcePath); + return this.uriToBrowserUri(uri); + } + /** + * Returns a URI to use in contexts where the browser is responsible + * for loading (e.g. fetch()) or when used within the DOM. + * + * **Note:** use `dom.ts#asCSSUrl` whenever the URL is to be used in CSS context. + */ + uriToBrowserUri(uri) { + if (uri.scheme === Schemas.vscodeRemote) { + return RemoteAuthorities.rewrite(uri); + } + if ( + // ...only ever for `file` resources + uri.scheme === Schemas.file && // ...and we run in native environments + (isNative || // ...or web worker extensions on desktop + webWorkerOrigin === `${Schemas.vscodeFileResource}://${_FileAccessImpl.FALLBACK_AUTHORITY}`) + ) { + return uri.with({ + scheme: Schemas.vscodeFileResource, + // We need to provide an authority here so that it can serve + // as origin for network and loading matters in chromium. + // If the URI is not coming with an authority already, we + // add our own + authority: uri.authority || _FileAccessImpl.FALLBACK_AUTHORITY, + query: null, + fragment: null + }); + } + return uri; + } + toUri(uriOrModule, moduleIdToUrl) { + if (URI.isUri(uriOrModule)) { + return uriOrModule; + } + if (globalThis._VSCODE_FILE_ROOT) { + const rootUriOrPath = globalThis._VSCODE_FILE_ROOT; + if (/^\w[\w\d+.-]*:\/\//.test(rootUriOrPath)) { + return URI.joinPath(URI.parse(rootUriOrPath, true), uriOrModule); + } + const modulePath = join(rootUriOrPath, uriOrModule); + return URI.file(modulePath); + } + return URI.parse(moduleIdToUrl.toUrl(uriOrModule)); + } + }; + var FileAccess = new FileAccessImpl(); + var COI; + (function(COI2) { + const coiHeaders = /* @__PURE__ */ new Map([ + ["1", { "Cross-Origin-Opener-Policy": "same-origin" }], + ["2", { "Cross-Origin-Embedder-Policy": "require-corp" }], + ["3", { "Cross-Origin-Opener-Policy": "same-origin", "Cross-Origin-Embedder-Policy": "require-corp" }] + ]); + COI2.CoopAndCoep = Object.freeze(coiHeaders.get("3")); + const coiSearchParamName = "vscode-coi"; + function getHeadersFromQuery(url) { + let params; + if (typeof url === "string") { + params = new URL(url).searchParams; + } else if (url instanceof URL) { + params = url.searchParams; + } else if (URI.isUri(url)) { + params = new URL(url.toString(true)).searchParams; + } + const value = params?.get(coiSearchParamName); + if (!value) { + return void 0; + } + return coiHeaders.get(value); + } + COI2.getHeadersFromQuery = getHeadersFromQuery; + function addSearchParam(urlOrSearch, coop, coep) { + if (!globalThis.crossOriginIsolated) { + return; + } + const value = coop && coep ? "3" : coep ? "2" : "1"; + if (urlOrSearch instanceof URLSearchParams) { + urlOrSearch.set(coiSearchParamName, value); + } else { + urlOrSearch[coiSearchParamName] = value; + } + } + COI2.addSearchParam = addSearchParam; + })(COI || (COI = {})); + + // node_modules/monaco-editor/esm/vs/base/common/worker/simpleWorker.js + var isESM = true; + var DEFAULT_CHANNEL = "default"; + var INITIALIZE = "$initialize"; + var RequestMessage = class { + constructor(vsWorker, req, channel, method, args) { + this.vsWorker = vsWorker; + this.req = req; + this.channel = channel; + this.method = method; + this.args = args; + this.type = 0; + } + }; + var ReplyMessage = class { + constructor(vsWorker, seq, res, err) { + this.vsWorker = vsWorker; + this.seq = seq; + this.res = res; + this.err = err; + this.type = 1; + } + }; + var SubscribeEventMessage = class { + constructor(vsWorker, req, channel, eventName, arg) { + this.vsWorker = vsWorker; + this.req = req; + this.channel = channel; + this.eventName = eventName; + this.arg = arg; + this.type = 2; + } + }; + var EventMessage = class { + constructor(vsWorker, req, event) { + this.vsWorker = vsWorker; + this.req = req; + this.event = event; + this.type = 3; + } + }; + var UnsubscribeEventMessage = class { + constructor(vsWorker, req) { + this.vsWorker = vsWorker; + this.req = req; + this.type = 4; + } + }; + var SimpleWorkerProtocol = class { + constructor(handler) { + this._workerId = -1; + this._handler = handler; + this._lastSentReq = 0; + this._pendingReplies = /* @__PURE__ */ Object.create(null); + this._pendingEmitters = /* @__PURE__ */ new Map(); + this._pendingEvents = /* @__PURE__ */ new Map(); + } + setWorkerId(workerId) { + this._workerId = workerId; + } + sendMessage(channel, method, args) { + const req = String(++this._lastSentReq); + return new Promise((resolve2, reject) => { + this._pendingReplies[req] = { + resolve: resolve2, + reject + }; + this._send(new RequestMessage(this._workerId, req, channel, method, args)); + }); + } + listen(channel, eventName, arg) { + let req = null; + const emitter = new Emitter({ + onWillAddFirstListener: () => { + req = String(++this._lastSentReq); + this._pendingEmitters.set(req, emitter); + this._send(new SubscribeEventMessage(this._workerId, req, channel, eventName, arg)); + }, + onDidRemoveLastListener: () => { + this._pendingEmitters.delete(req); + this._send(new UnsubscribeEventMessage(this._workerId, req)); + req = null; + } + }); + return emitter.event; + } + handleMessage(message) { + if (!message || !message.vsWorker) { + return; + } + if (this._workerId !== -1 && message.vsWorker !== this._workerId) { + return; + } + this._handleMessage(message); + } + createProxyToRemoteChannel(channel, sendMessageBarrier) { + const handler = { + get: (target, name) => { + if (typeof name === "string" && !target[name]) { + if (propertyIsDynamicEvent(name)) { + target[name] = (arg) => { + return this.listen(channel, name, arg); + }; + } else if (propertyIsEvent(name)) { + target[name] = this.listen(channel, name, void 0); + } else if (name.charCodeAt(0) === 36) { + target[name] = async (...myArgs) => { + await sendMessageBarrier?.(); + return this.sendMessage(channel, name, myArgs); + }; + } + } + return target[name]; + } + }; + return new Proxy(/* @__PURE__ */ Object.create(null), handler); + } + _handleMessage(msg) { + switch (msg.type) { + case 1: + return this._handleReplyMessage(msg); + case 0: + return this._handleRequestMessage(msg); + case 2: + return this._handleSubscribeEventMessage(msg); + case 3: + return this._handleEventMessage(msg); + case 4: + return this._handleUnsubscribeEventMessage(msg); + } + } + _handleReplyMessage(replyMessage) { + if (!this._pendingReplies[replyMessage.seq]) { + console.warn("Got reply to unknown seq"); + return; + } + const reply = this._pendingReplies[replyMessage.seq]; + delete this._pendingReplies[replyMessage.seq]; + if (replyMessage.err) { + let err = replyMessage.err; + if (replyMessage.err.$isError) { + err = new Error(); + err.name = replyMessage.err.name; + err.message = replyMessage.err.message; + err.stack = replyMessage.err.stack; + } + reply.reject(err); + return; + } + reply.resolve(replyMessage.res); + } + _handleRequestMessage(requestMessage) { + const req = requestMessage.req; + const result = this._handler.handleMessage(requestMessage.channel, requestMessage.method, requestMessage.args); + result.then((r) => { + this._send(new ReplyMessage(this._workerId, req, r, void 0)); + }, (e) => { + if (e.detail instanceof Error) { + e.detail = transformErrorForSerialization(e.detail); + } + this._send(new ReplyMessage(this._workerId, req, void 0, transformErrorForSerialization(e))); + }); + } + _handleSubscribeEventMessage(msg) { + const req = msg.req; + const disposable = this._handler.handleEvent(msg.channel, msg.eventName, msg.arg)((event) => { + this._send(new EventMessage(this._workerId, req, event)); + }); + this._pendingEvents.set(req, disposable); + } + _handleEventMessage(msg) { + if (!this._pendingEmitters.has(msg.req)) { + console.warn("Got event for unknown req"); + return; + } + this._pendingEmitters.get(msg.req).fire(msg.event); + } + _handleUnsubscribeEventMessage(msg) { + if (!this._pendingEvents.has(msg.req)) { + console.warn("Got unsubscribe for unknown req"); + return; + } + this._pendingEvents.get(msg.req).dispose(); + this._pendingEvents.delete(msg.req); + } + _send(msg) { + const transfer = []; + if (msg.type === 0) { + for (let i = 0; i < msg.args.length; i++) { + if (msg.args[i] instanceof ArrayBuffer) { + transfer.push(msg.args[i]); + } + } + } else if (msg.type === 1) { + if (msg.res instanceof ArrayBuffer) { + transfer.push(msg.res); + } + } + this._handler.sendMessage(msg, transfer); + } + }; + function propertyIsEvent(name) { + return name[0] === "o" && name[1] === "n" && isUpperAsciiLetter(name.charCodeAt(2)); + } + function propertyIsDynamicEvent(name) { + return /^onDynamic/.test(name) && isUpperAsciiLetter(name.charCodeAt(9)); + } + var SimpleWorkerServer = class { + constructor(postMessage, requestHandlerFactory) { + this._localChannels = /* @__PURE__ */ new Map(); + this._remoteChannels = /* @__PURE__ */ new Map(); + this._requestHandlerFactory = requestHandlerFactory; + this._requestHandler = null; + this._protocol = new SimpleWorkerProtocol({ + sendMessage: (msg, transfer) => { + postMessage(msg, transfer); + }, + handleMessage: (channel, method, args) => this._handleMessage(channel, method, args), + handleEvent: (channel, eventName, arg) => this._handleEvent(channel, eventName, arg) + }); + } + onmessage(msg) { + this._protocol.handleMessage(msg); + } + _handleMessage(channel, method, args) { + if (channel === DEFAULT_CHANNEL && method === INITIALIZE) { + return this.initialize(args[0], args[1], args[2]); + } + const requestHandler = channel === DEFAULT_CHANNEL ? this._requestHandler : this._localChannels.get(channel); + if (!requestHandler) { + return Promise.reject(new Error(`Missing channel ${channel} on worker thread`)); + } + if (typeof requestHandler[method] !== "function") { + return Promise.reject(new Error(`Missing method ${method} on worker thread channel ${channel}`)); + } + try { + return Promise.resolve(requestHandler[method].apply(requestHandler, args)); + } catch (e) { + return Promise.reject(e); + } + } + _handleEvent(channel, eventName, arg) { + const requestHandler = channel === DEFAULT_CHANNEL ? this._requestHandler : this._localChannels.get(channel); + if (!requestHandler) { + throw new Error(`Missing channel ${channel} on worker thread`); + } + if (propertyIsDynamicEvent(eventName)) { + const event = requestHandler[eventName].call(requestHandler, arg); + if (typeof event !== "function") { + throw new Error(`Missing dynamic event ${eventName} on request handler.`); + } + return event; + } + if (propertyIsEvent(eventName)) { + const event = requestHandler[eventName]; + if (typeof event !== "function") { + throw new Error(`Missing event ${eventName} on request handler.`); + } + return event; + } + throw new Error(`Malformed event name ${eventName}`); + } + getChannel(channel) { + if (!this._remoteChannels.has(channel)) { + const inst = this._protocol.createProxyToRemoteChannel(channel); + this._remoteChannels.set(channel, inst); + } + return this._remoteChannels.get(channel); + } + async initialize(workerId, loaderConfig, moduleId) { + this._protocol.setWorkerId(workerId); + if (this._requestHandlerFactory) { + this._requestHandler = this._requestHandlerFactory(this); + return; + } + if (loaderConfig) { + if (typeof loaderConfig.baseUrl !== "undefined") { + delete loaderConfig["baseUrl"]; + } + if (typeof loaderConfig.paths !== "undefined") { + if (typeof loaderConfig.paths.vs !== "undefined") { + delete loaderConfig.paths["vs"]; + } + } + if (typeof loaderConfig.trustedTypesPolicy !== "undefined") { + delete loaderConfig["trustedTypesPolicy"]; + } + loaderConfig.catchError = true; + globalThis.require.config(loaderConfig); + } + if (isESM) { + const url = FileAccess.asBrowserUri(`${moduleId}.js`).toString(true); + return import(`${url}`).then((module) => { + this._requestHandler = module.create(this); + if (!this._requestHandler) { + throw new Error(`No RequestHandler!`); + } + }); + } + return new Promise((resolve2, reject) => { + const req = globalThis.require; + req([moduleId], (module) => { + this._requestHandler = module.create(this); + if (!this._requestHandler) { + reject(new Error(`No RequestHandler!`)); + return; + } + resolve2(); + }, reject); + }); + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/diff/diffChange.js + var DiffChange = class { + /** + * Constructs a new DiffChange with the given sequence information + * and content. + */ + constructor(originalStart, originalLength, modifiedStart, modifiedLength) { + this.originalStart = originalStart; + this.originalLength = originalLength; + this.modifiedStart = modifiedStart; + this.modifiedLength = modifiedLength; + } + /** + * The end point (exclusive) of the change in the original sequence. + */ + getOriginalEnd() { + return this.originalStart + this.originalLength; + } + /** + * The end point (exclusive) of the change in the modified sequence. + */ + getModifiedEnd() { + return this.modifiedStart + this.modifiedLength; + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/hash.js + function numberHash(val, initialHashVal) { + return (initialHashVal << 5) - initialHashVal + val | 0; + } + function stringHash(s, hashVal) { + hashVal = numberHash(149417, hashVal); + for (let i = 0, length = s.length; i < length; i++) { + hashVal = numberHash(s.charCodeAt(i), hashVal); + } + return hashVal; + } + function leftRotate(value, bits, totalBits = 32) { + const delta = totalBits - bits; + const mask = ~((1 << delta) - 1); + return (value << bits | (mask & value) >>> delta) >>> 0; + } + function fill(dest, index = 0, count = dest.byteLength, value = 0) { + for (let i = 0; i < count; i++) { + dest[index + i] = value; + } + } + function leftPad(value, length, char = "0") { + while (value.length < length) { + value = char + value; + } + return value; + } + function toHexString(bufferOrValue, bitsize = 32) { + if (bufferOrValue instanceof ArrayBuffer) { + return Array.from(new Uint8Array(bufferOrValue)).map((b) => b.toString(16).padStart(2, "0")).join(""); + } + return leftPad((bufferOrValue >>> 0).toString(16), bitsize / 4); + } + var StringSHA1 = class _StringSHA1 { + static { + this._bigBlock32 = new DataView(new ArrayBuffer(320)); + } + // 80 * 4 = 320 + constructor() { + this._h0 = 1732584193; + this._h1 = 4023233417; + this._h2 = 2562383102; + this._h3 = 271733878; + this._h4 = 3285377520; + this._buff = new Uint8Array( + 64 + 3 + /* to fit any utf-8 */ + ); + this._buffDV = new DataView(this._buff.buffer); + this._buffLen = 0; + this._totalLen = 0; + this._leftoverHighSurrogate = 0; + this._finished = false; + } + update(str) { + const strLen = str.length; + if (strLen === 0) { + return; + } + const buff = this._buff; + let buffLen = this._buffLen; + let leftoverHighSurrogate = this._leftoverHighSurrogate; + let charCode; + let offset; + if (leftoverHighSurrogate !== 0) { + charCode = leftoverHighSurrogate; + offset = -1; + leftoverHighSurrogate = 0; + } else { + charCode = str.charCodeAt(0); + offset = 0; + } + while (true) { + let codePoint = charCode; + if (isHighSurrogate(charCode)) { + if (offset + 1 < strLen) { + const nextCharCode = str.charCodeAt(offset + 1); + if (isLowSurrogate(nextCharCode)) { + offset++; + codePoint = computeCodePoint(charCode, nextCharCode); + } else { + codePoint = 65533; + } + } else { + leftoverHighSurrogate = charCode; + break; + } + } else if (isLowSurrogate(charCode)) { + codePoint = 65533; + } + buffLen = this._push(buff, buffLen, codePoint); + offset++; + if (offset < strLen) { + charCode = str.charCodeAt(offset); + } else { + break; + } + } + this._buffLen = buffLen; + this._leftoverHighSurrogate = leftoverHighSurrogate; + } + _push(buff, buffLen, codePoint) { + if (codePoint < 128) { + buff[buffLen++] = codePoint; + } else if (codePoint < 2048) { + buff[buffLen++] = 192 | (codePoint & 1984) >>> 6; + buff[buffLen++] = 128 | (codePoint & 63) >>> 0; + } else if (codePoint < 65536) { + buff[buffLen++] = 224 | (codePoint & 61440) >>> 12; + buff[buffLen++] = 128 | (codePoint & 4032) >>> 6; + buff[buffLen++] = 128 | (codePoint & 63) >>> 0; + } else { + buff[buffLen++] = 240 | (codePoint & 1835008) >>> 18; + buff[buffLen++] = 128 | (codePoint & 258048) >>> 12; + buff[buffLen++] = 128 | (codePoint & 4032) >>> 6; + buff[buffLen++] = 128 | (codePoint & 63) >>> 0; + } + if (buffLen >= 64) { + this._step(); + buffLen -= 64; + this._totalLen += 64; + buff[0] = buff[64 + 0]; + buff[1] = buff[64 + 1]; + buff[2] = buff[64 + 2]; + } + return buffLen; + } + digest() { + if (!this._finished) { + this._finished = true; + if (this._leftoverHighSurrogate) { + this._leftoverHighSurrogate = 0; + this._buffLen = this._push( + this._buff, + this._buffLen, + 65533 + /* SHA1Constant.UNICODE_REPLACEMENT */ + ); + } + this._totalLen += this._buffLen; + this._wrapUp(); + } + return toHexString(this._h0) + toHexString(this._h1) + toHexString(this._h2) + toHexString(this._h3) + toHexString(this._h4); + } + _wrapUp() { + this._buff[this._buffLen++] = 128; + fill(this._buff, this._buffLen); + if (this._buffLen > 56) { + this._step(); + fill(this._buff); + } + const ml = 8 * this._totalLen; + this._buffDV.setUint32(56, Math.floor(ml / 4294967296), false); + this._buffDV.setUint32(60, ml % 4294967296, false); + this._step(); + } + _step() { + const bigBlock32 = _StringSHA1._bigBlock32; + const data = this._buffDV; + for (let j = 0; j < 64; j += 4) { + bigBlock32.setUint32(j, data.getUint32(j, false), false); + } + for (let j = 64; j < 320; j += 4) { + bigBlock32.setUint32(j, leftRotate(bigBlock32.getUint32(j - 12, false) ^ bigBlock32.getUint32(j - 32, false) ^ bigBlock32.getUint32(j - 56, false) ^ bigBlock32.getUint32(j - 64, false), 1), false); + } + let a2 = this._h0; + let b = this._h1; + let c = this._h2; + let d = this._h3; + let e = this._h4; + let f2, k; + let temp; + for (let j = 0; j < 80; j++) { + if (j < 20) { + f2 = b & c | ~b & d; + k = 1518500249; + } else if (j < 40) { + f2 = b ^ c ^ d; + k = 1859775393; + } else if (j < 60) { + f2 = b & c | b & d | c & d; + k = 2400959708; + } else { + f2 = b ^ c ^ d; + k = 3395469782; + } + temp = leftRotate(a2, 5) + f2 + e + k + bigBlock32.getUint32(j * 4, false) & 4294967295; + e = d; + d = c; + c = leftRotate(b, 30); + b = a2; + a2 = temp; + } + this._h0 = this._h0 + a2 & 4294967295; + this._h1 = this._h1 + b & 4294967295; + this._h2 = this._h2 + c & 4294967295; + this._h3 = this._h3 + d & 4294967295; + this._h4 = this._h4 + e & 4294967295; + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/diff/diff.js + var StringDiffSequence = class { + constructor(source) { + this.source = source; + } + getElements() { + const source = this.source; + const characters = new Int32Array(source.length); + for (let i = 0, len = source.length; i < len; i++) { + characters[i] = source.charCodeAt(i); + } + return characters; + } + }; + function stringDiff(original, modified, pretty) { + return new LcsDiff(new StringDiffSequence(original), new StringDiffSequence(modified)).ComputeDiff(pretty).changes; + } + var Debug = class { + static Assert(condition, message) { + if (!condition) { + throw new Error(message); + } + } + }; + var MyArray = class { + /** + * Copies a range of elements from an Array starting at the specified source index and pastes + * them to another Array starting at the specified destination index. The length and the indexes + * are specified as 64-bit integers. + * sourceArray: + * The Array that contains the data to copy. + * sourceIndex: + * A 64-bit integer that represents the index in the sourceArray at which copying begins. + * destinationArray: + * The Array that receives the data. + * destinationIndex: + * A 64-bit integer that represents the index in the destinationArray at which storing begins. + * length: + * A 64-bit integer that represents the number of elements to copy. + */ + static Copy(sourceArray, sourceIndex, destinationArray, destinationIndex, length) { + for (let i = 0; i < length; i++) { + destinationArray[destinationIndex + i] = sourceArray[sourceIndex + i]; + } + } + static Copy2(sourceArray, sourceIndex, destinationArray, destinationIndex, length) { + for (let i = 0; i < length; i++) { + destinationArray[destinationIndex + i] = sourceArray[sourceIndex + i]; + } + } + }; + var DiffChangeHelper = class { + /** + * Constructs a new DiffChangeHelper for the given DiffSequences. + */ + constructor() { + this.m_changes = []; + this.m_originalStart = 1073741824; + this.m_modifiedStart = 1073741824; + this.m_originalCount = 0; + this.m_modifiedCount = 0; + } + /** + * Marks the beginning of the next change in the set of differences. + */ + MarkNextChange() { + if (this.m_originalCount > 0 || this.m_modifiedCount > 0) { + this.m_changes.push(new DiffChange(this.m_originalStart, this.m_originalCount, this.m_modifiedStart, this.m_modifiedCount)); + } + this.m_originalCount = 0; + this.m_modifiedCount = 0; + this.m_originalStart = 1073741824; + this.m_modifiedStart = 1073741824; + } + /** + * Adds the original element at the given position to the elements + * affected by the current change. The modified index gives context + * to the change position with respect to the original sequence. + * @param originalIndex The index of the original element to add. + * @param modifiedIndex The index of the modified element that provides corresponding position in the modified sequence. + */ + AddOriginalElement(originalIndex, modifiedIndex) { + this.m_originalStart = Math.min(this.m_originalStart, originalIndex); + this.m_modifiedStart = Math.min(this.m_modifiedStart, modifiedIndex); + this.m_originalCount++; + } + /** + * Adds the modified element at the given position to the elements + * affected by the current change. The original index gives context + * to the change position with respect to the modified sequence. + * @param originalIndex The index of the original element that provides corresponding position in the original sequence. + * @param modifiedIndex The index of the modified element to add. + */ + AddModifiedElement(originalIndex, modifiedIndex) { + this.m_originalStart = Math.min(this.m_originalStart, originalIndex); + this.m_modifiedStart = Math.min(this.m_modifiedStart, modifiedIndex); + this.m_modifiedCount++; + } + /** + * Retrieves all of the changes marked by the class. + */ + getChanges() { + if (this.m_originalCount > 0 || this.m_modifiedCount > 0) { + this.MarkNextChange(); + } + return this.m_changes; + } + /** + * Retrieves all of the changes marked by the class in the reverse order + */ + getReverseChanges() { + if (this.m_originalCount > 0 || this.m_modifiedCount > 0) { + this.MarkNextChange(); + } + this.m_changes.reverse(); + return this.m_changes; + } + }; + var LcsDiff = class _LcsDiff { + /** + * Constructs the DiffFinder + */ + constructor(originalSequence, modifiedSequence, continueProcessingPredicate = null) { + this.ContinueProcessingPredicate = continueProcessingPredicate; + this._originalSequence = originalSequence; + this._modifiedSequence = modifiedSequence; + const [originalStringElements, originalElementsOrHash, originalHasStrings] = _LcsDiff._getElements(originalSequence); + const [modifiedStringElements, modifiedElementsOrHash, modifiedHasStrings] = _LcsDiff._getElements(modifiedSequence); + this._hasStrings = originalHasStrings && modifiedHasStrings; + this._originalStringElements = originalStringElements; + this._originalElementsOrHash = originalElementsOrHash; + this._modifiedStringElements = modifiedStringElements; + this._modifiedElementsOrHash = modifiedElementsOrHash; + this.m_forwardHistory = []; + this.m_reverseHistory = []; + } + static _isStringArray(arr) { + return arr.length > 0 && typeof arr[0] === "string"; + } + static _getElements(sequence) { + const elements = sequence.getElements(); + if (_LcsDiff._isStringArray(elements)) { + const hashes = new Int32Array(elements.length); + for (let i = 0, len = elements.length; i < len; i++) { + hashes[i] = stringHash(elements[i], 0); + } + return [elements, hashes, true]; + } + if (elements instanceof Int32Array) { + return [[], elements, false]; + } + return [[], new Int32Array(elements), false]; + } + ElementsAreEqual(originalIndex, newIndex) { + if (this._originalElementsOrHash[originalIndex] !== this._modifiedElementsOrHash[newIndex]) { + return false; + } + return this._hasStrings ? this._originalStringElements[originalIndex] === this._modifiedStringElements[newIndex] : true; + } + ElementsAreStrictEqual(originalIndex, newIndex) { + if (!this.ElementsAreEqual(originalIndex, newIndex)) { + return false; + } + const originalElement = _LcsDiff._getStrictElement(this._originalSequence, originalIndex); + const modifiedElement = _LcsDiff._getStrictElement(this._modifiedSequence, newIndex); + return originalElement === modifiedElement; + } + static _getStrictElement(sequence, index) { + if (typeof sequence.getStrictElement === "function") { + return sequence.getStrictElement(index); + } + return null; + } + OriginalElementsAreEqual(index1, index2) { + if (this._originalElementsOrHash[index1] !== this._originalElementsOrHash[index2]) { + return false; + } + return this._hasStrings ? this._originalStringElements[index1] === this._originalStringElements[index2] : true; + } + ModifiedElementsAreEqual(index1, index2) { + if (this._modifiedElementsOrHash[index1] !== this._modifiedElementsOrHash[index2]) { + return false; + } + return this._hasStrings ? this._modifiedStringElements[index1] === this._modifiedStringElements[index2] : true; + } + ComputeDiff(pretty) { + return this._ComputeDiff(0, this._originalElementsOrHash.length - 1, 0, this._modifiedElementsOrHash.length - 1, pretty); + } + /** + * Computes the differences between the original and modified input + * sequences on the bounded range. + * @returns An array of the differences between the two input sequences. + */ + _ComputeDiff(originalStart, originalEnd, modifiedStart, modifiedEnd, pretty) { + const quitEarlyArr = [false]; + let changes = this.ComputeDiffRecursive(originalStart, originalEnd, modifiedStart, modifiedEnd, quitEarlyArr); + if (pretty) { + changes = this.PrettifyChanges(changes); + } + return { + quitEarly: quitEarlyArr[0], + changes + }; + } + /** + * Private helper method which computes the differences on the bounded range + * recursively. + * @returns An array of the differences between the two input sequences. + */ + ComputeDiffRecursive(originalStart, originalEnd, modifiedStart, modifiedEnd, quitEarlyArr) { + quitEarlyArr[0] = false; + while (originalStart <= originalEnd && modifiedStart <= modifiedEnd && this.ElementsAreEqual(originalStart, modifiedStart)) { + originalStart++; + modifiedStart++; + } + while (originalEnd >= originalStart && modifiedEnd >= modifiedStart && this.ElementsAreEqual(originalEnd, modifiedEnd)) { + originalEnd--; + modifiedEnd--; + } + if (originalStart > originalEnd || modifiedStart > modifiedEnd) { + let changes; + if (modifiedStart <= modifiedEnd) { + Debug.Assert(originalStart === originalEnd + 1, "originalStart should only be one more than originalEnd"); + changes = [ + new DiffChange(originalStart, 0, modifiedStart, modifiedEnd - modifiedStart + 1) + ]; + } else if (originalStart <= originalEnd) { + Debug.Assert(modifiedStart === modifiedEnd + 1, "modifiedStart should only be one more than modifiedEnd"); + changes = [ + new DiffChange(originalStart, originalEnd - originalStart + 1, modifiedStart, 0) + ]; + } else { + Debug.Assert(originalStart === originalEnd + 1, "originalStart should only be one more than originalEnd"); + Debug.Assert(modifiedStart === modifiedEnd + 1, "modifiedStart should only be one more than modifiedEnd"); + changes = []; + } + return changes; + } + const midOriginalArr = [0]; + const midModifiedArr = [0]; + const result = this.ComputeRecursionPoint(originalStart, originalEnd, modifiedStart, modifiedEnd, midOriginalArr, midModifiedArr, quitEarlyArr); + const midOriginal = midOriginalArr[0]; + const midModified = midModifiedArr[0]; + if (result !== null) { + return result; + } else if (!quitEarlyArr[0]) { + const leftChanges = this.ComputeDiffRecursive(originalStart, midOriginal, modifiedStart, midModified, quitEarlyArr); + let rightChanges = []; + if (!quitEarlyArr[0]) { + rightChanges = this.ComputeDiffRecursive(midOriginal + 1, originalEnd, midModified + 1, modifiedEnd, quitEarlyArr); + } else { + rightChanges = [ + new DiffChange(midOriginal + 1, originalEnd - (midOriginal + 1) + 1, midModified + 1, modifiedEnd - (midModified + 1) + 1) + ]; + } + return this.ConcatenateChanges(leftChanges, rightChanges); + } + return [ + new DiffChange(originalStart, originalEnd - originalStart + 1, modifiedStart, modifiedEnd - modifiedStart + 1) + ]; + } + WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr) { + let forwardChanges = null; + let reverseChanges = null; + let changeHelper = new DiffChangeHelper(); + let diagonalMin = diagonalForwardStart; + let diagonalMax = diagonalForwardEnd; + let diagonalRelative = midOriginalArr[0] - midModifiedArr[0] - diagonalForwardOffset; + let lastOriginalIndex = -1073741824; + let historyIndex = this.m_forwardHistory.length - 1; + do { + const diagonal = diagonalRelative + diagonalForwardBase; + if (diagonal === diagonalMin || diagonal < diagonalMax && forwardPoints[diagonal - 1] < forwardPoints[diagonal + 1]) { + originalIndex = forwardPoints[diagonal + 1]; + modifiedIndex = originalIndex - diagonalRelative - diagonalForwardOffset; + if (originalIndex < lastOriginalIndex) { + changeHelper.MarkNextChange(); + } + lastOriginalIndex = originalIndex; + changeHelper.AddModifiedElement(originalIndex + 1, modifiedIndex); + diagonalRelative = diagonal + 1 - diagonalForwardBase; + } else { + originalIndex = forwardPoints[diagonal - 1] + 1; + modifiedIndex = originalIndex - diagonalRelative - diagonalForwardOffset; + if (originalIndex < lastOriginalIndex) { + changeHelper.MarkNextChange(); + } + lastOriginalIndex = originalIndex - 1; + changeHelper.AddOriginalElement(originalIndex, modifiedIndex + 1); + diagonalRelative = diagonal - 1 - diagonalForwardBase; + } + if (historyIndex >= 0) { + forwardPoints = this.m_forwardHistory[historyIndex]; + diagonalForwardBase = forwardPoints[0]; + diagonalMin = 1; + diagonalMax = forwardPoints.length - 1; + } + } while (--historyIndex >= -1); + forwardChanges = changeHelper.getReverseChanges(); + if (quitEarlyArr[0]) { + let originalStartPoint = midOriginalArr[0] + 1; + let modifiedStartPoint = midModifiedArr[0] + 1; + if (forwardChanges !== null && forwardChanges.length > 0) { + const lastForwardChange = forwardChanges[forwardChanges.length - 1]; + originalStartPoint = Math.max(originalStartPoint, lastForwardChange.getOriginalEnd()); + modifiedStartPoint = Math.max(modifiedStartPoint, lastForwardChange.getModifiedEnd()); + } + reverseChanges = [ + new DiffChange(originalStartPoint, originalEnd - originalStartPoint + 1, modifiedStartPoint, modifiedEnd - modifiedStartPoint + 1) + ]; + } else { + changeHelper = new DiffChangeHelper(); + diagonalMin = diagonalReverseStart; + diagonalMax = diagonalReverseEnd; + diagonalRelative = midOriginalArr[0] - midModifiedArr[0] - diagonalReverseOffset; + lastOriginalIndex = 1073741824; + historyIndex = deltaIsEven ? this.m_reverseHistory.length - 1 : this.m_reverseHistory.length - 2; + do { + const diagonal = diagonalRelative + diagonalReverseBase; + if (diagonal === diagonalMin || diagonal < diagonalMax && reversePoints[diagonal - 1] >= reversePoints[diagonal + 1]) { + originalIndex = reversePoints[diagonal + 1] - 1; + modifiedIndex = originalIndex - diagonalRelative - diagonalReverseOffset; + if (originalIndex > lastOriginalIndex) { + changeHelper.MarkNextChange(); + } + lastOriginalIndex = originalIndex + 1; + changeHelper.AddOriginalElement(originalIndex + 1, modifiedIndex + 1); + diagonalRelative = diagonal + 1 - diagonalReverseBase; + } else { + originalIndex = reversePoints[diagonal - 1]; + modifiedIndex = originalIndex - diagonalRelative - diagonalReverseOffset; + if (originalIndex > lastOriginalIndex) { + changeHelper.MarkNextChange(); + } + lastOriginalIndex = originalIndex; + changeHelper.AddModifiedElement(originalIndex + 1, modifiedIndex + 1); + diagonalRelative = diagonal - 1 - diagonalReverseBase; + } + if (historyIndex >= 0) { + reversePoints = this.m_reverseHistory[historyIndex]; + diagonalReverseBase = reversePoints[0]; + diagonalMin = 1; + diagonalMax = reversePoints.length - 1; + } + } while (--historyIndex >= -1); + reverseChanges = changeHelper.getChanges(); + } + return this.ConcatenateChanges(forwardChanges, reverseChanges); + } + /** + * Given the range to compute the diff on, this method finds the point: + * (midOriginal, midModified) + * that exists in the middle of the LCS of the two sequences and + * is the point at which the LCS problem may be broken down recursively. + * This method will try to keep the LCS trace in memory. If the LCS recursion + * point is calculated and the full trace is available in memory, then this method + * will return the change list. + * @param originalStart The start bound of the original sequence range + * @param originalEnd The end bound of the original sequence range + * @param modifiedStart The start bound of the modified sequence range + * @param modifiedEnd The end bound of the modified sequence range + * @param midOriginal The middle point of the original sequence range + * @param midModified The middle point of the modified sequence range + * @returns The diff changes, if available, otherwise null + */ + ComputeRecursionPoint(originalStart, originalEnd, modifiedStart, modifiedEnd, midOriginalArr, midModifiedArr, quitEarlyArr) { + let originalIndex = 0, modifiedIndex = 0; + let diagonalForwardStart = 0, diagonalForwardEnd = 0; + let diagonalReverseStart = 0, diagonalReverseEnd = 0; + originalStart--; + modifiedStart--; + midOriginalArr[0] = 0; + midModifiedArr[0] = 0; + this.m_forwardHistory = []; + this.m_reverseHistory = []; + const maxDifferences = originalEnd - originalStart + (modifiedEnd - modifiedStart); + const numDiagonals = maxDifferences + 1; + const forwardPoints = new Int32Array(numDiagonals); + const reversePoints = new Int32Array(numDiagonals); + const diagonalForwardBase = modifiedEnd - modifiedStart; + const diagonalReverseBase = originalEnd - originalStart; + const diagonalForwardOffset = originalStart - modifiedStart; + const diagonalReverseOffset = originalEnd - modifiedEnd; + const delta = diagonalReverseBase - diagonalForwardBase; + const deltaIsEven = delta % 2 === 0; + forwardPoints[diagonalForwardBase] = originalStart; + reversePoints[diagonalReverseBase] = originalEnd; + quitEarlyArr[0] = false; + for (let numDifferences = 1; numDifferences <= maxDifferences / 2 + 1; numDifferences++) { + let furthestOriginalIndex = 0; + let furthestModifiedIndex = 0; + diagonalForwardStart = this.ClipDiagonalBound(diagonalForwardBase - numDifferences, numDifferences, diagonalForwardBase, numDiagonals); + diagonalForwardEnd = this.ClipDiagonalBound(diagonalForwardBase + numDifferences, numDifferences, diagonalForwardBase, numDiagonals); + for (let diagonal = diagonalForwardStart; diagonal <= diagonalForwardEnd; diagonal += 2) { + if (diagonal === diagonalForwardStart || diagonal < diagonalForwardEnd && forwardPoints[diagonal - 1] < forwardPoints[diagonal + 1]) { + originalIndex = forwardPoints[diagonal + 1]; + } else { + originalIndex = forwardPoints[diagonal - 1] + 1; + } + modifiedIndex = originalIndex - (diagonal - diagonalForwardBase) - diagonalForwardOffset; + const tempOriginalIndex = originalIndex; + while (originalIndex < originalEnd && modifiedIndex < modifiedEnd && this.ElementsAreEqual(originalIndex + 1, modifiedIndex + 1)) { + originalIndex++; + modifiedIndex++; + } + forwardPoints[diagonal] = originalIndex; + if (originalIndex + modifiedIndex > furthestOriginalIndex + furthestModifiedIndex) { + furthestOriginalIndex = originalIndex; + furthestModifiedIndex = modifiedIndex; + } + if (!deltaIsEven && Math.abs(diagonal - diagonalReverseBase) <= numDifferences - 1) { + if (originalIndex >= reversePoints[diagonal]) { + midOriginalArr[0] = originalIndex; + midModifiedArr[0] = modifiedIndex; + if (tempOriginalIndex <= reversePoints[diagonal] && 1447 > 0 && numDifferences <= 1447 + 1) { + return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr); + } else { + return null; + } + } + } + } + const matchLengthOfLongest = (furthestOriginalIndex - originalStart + (furthestModifiedIndex - modifiedStart) - numDifferences) / 2; + if (this.ContinueProcessingPredicate !== null && !this.ContinueProcessingPredicate(furthestOriginalIndex, matchLengthOfLongest)) { + quitEarlyArr[0] = true; + midOriginalArr[0] = furthestOriginalIndex; + midModifiedArr[0] = furthestModifiedIndex; + if (matchLengthOfLongest > 0 && 1447 > 0 && numDifferences <= 1447 + 1) { + return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr); + } else { + originalStart++; + modifiedStart++; + return [ + new DiffChange(originalStart, originalEnd - originalStart + 1, modifiedStart, modifiedEnd - modifiedStart + 1) + ]; + } + } + diagonalReverseStart = this.ClipDiagonalBound(diagonalReverseBase - numDifferences, numDifferences, diagonalReverseBase, numDiagonals); + diagonalReverseEnd = this.ClipDiagonalBound(diagonalReverseBase + numDifferences, numDifferences, diagonalReverseBase, numDiagonals); + for (let diagonal = diagonalReverseStart; diagonal <= diagonalReverseEnd; diagonal += 2) { + if (diagonal === diagonalReverseStart || diagonal < diagonalReverseEnd && reversePoints[diagonal - 1] >= reversePoints[diagonal + 1]) { + originalIndex = reversePoints[diagonal + 1] - 1; + } else { + originalIndex = reversePoints[diagonal - 1]; + } + modifiedIndex = originalIndex - (diagonal - diagonalReverseBase) - diagonalReverseOffset; + const tempOriginalIndex = originalIndex; + while (originalIndex > originalStart && modifiedIndex > modifiedStart && this.ElementsAreEqual(originalIndex, modifiedIndex)) { + originalIndex--; + modifiedIndex--; + } + reversePoints[diagonal] = originalIndex; + if (deltaIsEven && Math.abs(diagonal - diagonalForwardBase) <= numDifferences) { + if (originalIndex <= forwardPoints[diagonal]) { + midOriginalArr[0] = originalIndex; + midModifiedArr[0] = modifiedIndex; + if (tempOriginalIndex >= forwardPoints[diagonal] && 1447 > 0 && numDifferences <= 1447 + 1) { + return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr); + } else { + return null; + } + } + } + } + if (numDifferences <= 1447) { + let temp = new Int32Array(diagonalForwardEnd - diagonalForwardStart + 2); + temp[0] = diagonalForwardBase - diagonalForwardStart + 1; + MyArray.Copy2(forwardPoints, diagonalForwardStart, temp, 1, diagonalForwardEnd - diagonalForwardStart + 1); + this.m_forwardHistory.push(temp); + temp = new Int32Array(diagonalReverseEnd - diagonalReverseStart + 2); + temp[0] = diagonalReverseBase - diagonalReverseStart + 1; + MyArray.Copy2(reversePoints, diagonalReverseStart, temp, 1, diagonalReverseEnd - diagonalReverseStart + 1); + this.m_reverseHistory.push(temp); + } + } + return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr); + } + /** + * Shifts the given changes to provide a more intuitive diff. + * While the first element in a diff matches the first element after the diff, + * we shift the diff down. + * + * @param changes The list of changes to shift + * @returns The shifted changes + */ + PrettifyChanges(changes) { + for (let i = 0; i < changes.length; i++) { + const change = changes[i]; + const originalStop = i < changes.length - 1 ? changes[i + 1].originalStart : this._originalElementsOrHash.length; + const modifiedStop = i < changes.length - 1 ? changes[i + 1].modifiedStart : this._modifiedElementsOrHash.length; + const checkOriginal = change.originalLength > 0; + const checkModified = change.modifiedLength > 0; + while (change.originalStart + change.originalLength < originalStop && change.modifiedStart + change.modifiedLength < modifiedStop && (!checkOriginal || this.OriginalElementsAreEqual(change.originalStart, change.originalStart + change.originalLength)) && (!checkModified || this.ModifiedElementsAreEqual(change.modifiedStart, change.modifiedStart + change.modifiedLength))) { + const startStrictEqual = this.ElementsAreStrictEqual(change.originalStart, change.modifiedStart); + const endStrictEqual = this.ElementsAreStrictEqual(change.originalStart + change.originalLength, change.modifiedStart + change.modifiedLength); + if (endStrictEqual && !startStrictEqual) { + break; + } + change.originalStart++; + change.modifiedStart++; + } + const mergedChangeArr = [null]; + if (i < changes.length - 1 && this.ChangesOverlap(changes[i], changes[i + 1], mergedChangeArr)) { + changes[i] = mergedChangeArr[0]; + changes.splice(i + 1, 1); + i--; + continue; + } + } + for (let i = changes.length - 1; i >= 0; i--) { + const change = changes[i]; + let originalStop = 0; + let modifiedStop = 0; + if (i > 0) { + const prevChange = changes[i - 1]; + originalStop = prevChange.originalStart + prevChange.originalLength; + modifiedStop = prevChange.modifiedStart + prevChange.modifiedLength; + } + const checkOriginal = change.originalLength > 0; + const checkModified = change.modifiedLength > 0; + let bestDelta = 0; + let bestScore = this._boundaryScore(change.originalStart, change.originalLength, change.modifiedStart, change.modifiedLength); + for (let delta = 1; ; delta++) { + const originalStart = change.originalStart - delta; + const modifiedStart = change.modifiedStart - delta; + if (originalStart < originalStop || modifiedStart < modifiedStop) { + break; + } + if (checkOriginal && !this.OriginalElementsAreEqual(originalStart, originalStart + change.originalLength)) { + break; + } + if (checkModified && !this.ModifiedElementsAreEqual(modifiedStart, modifiedStart + change.modifiedLength)) { + break; + } + const touchingPreviousChange = originalStart === originalStop && modifiedStart === modifiedStop; + const score2 = (touchingPreviousChange ? 5 : 0) + this._boundaryScore(originalStart, change.originalLength, modifiedStart, change.modifiedLength); + if (score2 > bestScore) { + bestScore = score2; + bestDelta = delta; + } + } + change.originalStart -= bestDelta; + change.modifiedStart -= bestDelta; + const mergedChangeArr = [null]; + if (i > 0 && this.ChangesOverlap(changes[i - 1], changes[i], mergedChangeArr)) { + changes[i - 1] = mergedChangeArr[0]; + changes.splice(i, 1); + i++; + continue; + } + } + if (this._hasStrings) { + for (let i = 1, len = changes.length; i < len; i++) { + const aChange = changes[i - 1]; + const bChange = changes[i]; + const matchedLength = bChange.originalStart - aChange.originalStart - aChange.originalLength; + const aOriginalStart = aChange.originalStart; + const bOriginalEnd = bChange.originalStart + bChange.originalLength; + const abOriginalLength = bOriginalEnd - aOriginalStart; + const aModifiedStart = aChange.modifiedStart; + const bModifiedEnd = bChange.modifiedStart + bChange.modifiedLength; + const abModifiedLength = bModifiedEnd - aModifiedStart; + if (matchedLength < 5 && abOriginalLength < 20 && abModifiedLength < 20) { + const t2 = this._findBetterContiguousSequence(aOriginalStart, abOriginalLength, aModifiedStart, abModifiedLength, matchedLength); + if (t2) { + const [originalMatchStart, modifiedMatchStart] = t2; + if (originalMatchStart !== aChange.originalStart + aChange.originalLength || modifiedMatchStart !== aChange.modifiedStart + aChange.modifiedLength) { + aChange.originalLength = originalMatchStart - aChange.originalStart; + aChange.modifiedLength = modifiedMatchStart - aChange.modifiedStart; + bChange.originalStart = originalMatchStart + matchedLength; + bChange.modifiedStart = modifiedMatchStart + matchedLength; + bChange.originalLength = bOriginalEnd - bChange.originalStart; + bChange.modifiedLength = bModifiedEnd - bChange.modifiedStart; + } + } + } + } + } + return changes; + } + _findBetterContiguousSequence(originalStart, originalLength, modifiedStart, modifiedLength, desiredLength) { + if (originalLength < desiredLength || modifiedLength < desiredLength) { + return null; + } + const originalMax = originalStart + originalLength - desiredLength + 1; + const modifiedMax = modifiedStart + modifiedLength - desiredLength + 1; + let bestScore = 0; + let bestOriginalStart = 0; + let bestModifiedStart = 0; + for (let i = originalStart; i < originalMax; i++) { + for (let j = modifiedStart; j < modifiedMax; j++) { + const score2 = this._contiguousSequenceScore(i, j, desiredLength); + if (score2 > 0 && score2 > bestScore) { + bestScore = score2; + bestOriginalStart = i; + bestModifiedStart = j; + } + } + } + if (bestScore > 0) { + return [bestOriginalStart, bestModifiedStart]; + } + return null; + } + _contiguousSequenceScore(originalStart, modifiedStart, length) { + let score2 = 0; + for (let l = 0; l < length; l++) { + if (!this.ElementsAreEqual(originalStart + l, modifiedStart + l)) { + return 0; + } + score2 += this._originalStringElements[originalStart + l].length; + } + return score2; + } + _OriginalIsBoundary(index) { + if (index <= 0 || index >= this._originalElementsOrHash.length - 1) { + return true; + } + return this._hasStrings && /^\s*$/.test(this._originalStringElements[index]); + } + _OriginalRegionIsBoundary(originalStart, originalLength) { + if (this._OriginalIsBoundary(originalStart) || this._OriginalIsBoundary(originalStart - 1)) { + return true; + } + if (originalLength > 0) { + const originalEnd = originalStart + originalLength; + if (this._OriginalIsBoundary(originalEnd - 1) || this._OriginalIsBoundary(originalEnd)) { + return true; + } + } + return false; + } + _ModifiedIsBoundary(index) { + if (index <= 0 || index >= this._modifiedElementsOrHash.length - 1) { + return true; + } + return this._hasStrings && /^\s*$/.test(this._modifiedStringElements[index]); + } + _ModifiedRegionIsBoundary(modifiedStart, modifiedLength) { + if (this._ModifiedIsBoundary(modifiedStart) || this._ModifiedIsBoundary(modifiedStart - 1)) { + return true; + } + if (modifiedLength > 0) { + const modifiedEnd = modifiedStart + modifiedLength; + if (this._ModifiedIsBoundary(modifiedEnd - 1) || this._ModifiedIsBoundary(modifiedEnd)) { + return true; + } + } + return false; + } + _boundaryScore(originalStart, originalLength, modifiedStart, modifiedLength) { + const originalScore = this._OriginalRegionIsBoundary(originalStart, originalLength) ? 1 : 0; + const modifiedScore = this._ModifiedRegionIsBoundary(modifiedStart, modifiedLength) ? 1 : 0; + return originalScore + modifiedScore; + } + /** + * Concatenates the two input DiffChange lists and returns the resulting + * list. + * @param The left changes + * @param The right changes + * @returns The concatenated list + */ + ConcatenateChanges(left, right) { + const mergedChangeArr = []; + if (left.length === 0 || right.length === 0) { + return right.length > 0 ? right : left; + } else if (this.ChangesOverlap(left[left.length - 1], right[0], mergedChangeArr)) { + const result = new Array(left.length + right.length - 1); + MyArray.Copy(left, 0, result, 0, left.length - 1); + result[left.length - 1] = mergedChangeArr[0]; + MyArray.Copy(right, 1, result, left.length, right.length - 1); + return result; + } else { + const result = new Array(left.length + right.length); + MyArray.Copy(left, 0, result, 0, left.length); + MyArray.Copy(right, 0, result, left.length, right.length); + return result; + } + } + /** + * Returns true if the two changes overlap and can be merged into a single + * change + * @param left The left change + * @param right The right change + * @param mergedChange The merged change if the two overlap, null otherwise + * @returns True if the two changes overlap + */ + ChangesOverlap(left, right, mergedChangeArr) { + Debug.Assert(left.originalStart <= right.originalStart, "Left change is not less than or equal to right change"); + Debug.Assert(left.modifiedStart <= right.modifiedStart, "Left change is not less than or equal to right change"); + if (left.originalStart + left.originalLength >= right.originalStart || left.modifiedStart + left.modifiedLength >= right.modifiedStart) { + const originalStart = left.originalStart; + let originalLength = left.originalLength; + const modifiedStart = left.modifiedStart; + let modifiedLength = left.modifiedLength; + if (left.originalStart + left.originalLength >= right.originalStart) { + originalLength = right.originalStart + right.originalLength - left.originalStart; + } + if (left.modifiedStart + left.modifiedLength >= right.modifiedStart) { + modifiedLength = right.modifiedStart + right.modifiedLength - left.modifiedStart; + } + mergedChangeArr[0] = new DiffChange(originalStart, originalLength, modifiedStart, modifiedLength); + return true; + } else { + mergedChangeArr[0] = null; + return false; + } + } + /** + * Helper method used to clip a diagonal index to the range of valid + * diagonals. This also decides whether or not the diagonal index, + * if it exceeds the boundary, should be clipped to the boundary or clipped + * one inside the boundary depending on the Even/Odd status of the boundary + * and numDifferences. + * @param diagonal The index of the diagonal to clip. + * @param numDifferences The current number of differences being iterated upon. + * @param diagonalBaseIndex The base reference diagonal. + * @param numDiagonals The total number of diagonals. + * @returns The clipped diagonal index. + */ + ClipDiagonalBound(diagonal, numDifferences, diagonalBaseIndex, numDiagonals) { + if (diagonal >= 0 && diagonal < numDiagonals) { + return diagonal; + } + const diagonalsBelow = diagonalBaseIndex; + const diagonalsAbove = numDiagonals - diagonalBaseIndex - 1; + const diffEven = numDifferences % 2 === 0; + if (diagonal < 0) { + const lowerBoundEven = diagonalsBelow % 2 === 0; + return diffEven === lowerBoundEven ? 0 : 1; + } else { + const upperBoundEven = diagonalsAbove % 2 === 0; + return diffEven === upperBoundEven ? numDiagonals - 1 : numDiagonals - 2; + } + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/core/position.js + var Position = class _Position { + constructor(lineNumber, column) { + this.lineNumber = lineNumber; + this.column = column; + } + /** + * Create a new position from this position. + * + * @param newLineNumber new line number + * @param newColumn new column + */ + with(newLineNumber = this.lineNumber, newColumn = this.column) { + if (newLineNumber === this.lineNumber && newColumn === this.column) { + return this; + } else { + return new _Position(newLineNumber, newColumn); + } + } + /** + * Derive a new position from this position. + * + * @param deltaLineNumber line number delta + * @param deltaColumn column delta + */ + delta(deltaLineNumber = 0, deltaColumn = 0) { + return this.with(this.lineNumber + deltaLineNumber, this.column + deltaColumn); + } + /** + * Test if this position equals other position + */ + equals(other) { + return _Position.equals(this, other); + } + /** + * Test if position `a` equals position `b` + */ + static equals(a2, b) { + if (!a2 && !b) { + return true; + } + return !!a2 && !!b && a2.lineNumber === b.lineNumber && a2.column === b.column; + } + /** + * Test if this position is before other position. + * If the two positions are equal, the result will be false. + */ + isBefore(other) { + return _Position.isBefore(this, other); + } + /** + * Test if position `a` is before position `b`. + * If the two positions are equal, the result will be false. + */ + static isBefore(a2, b) { + if (a2.lineNumber < b.lineNumber) { + return true; + } + if (b.lineNumber < a2.lineNumber) { + return false; + } + return a2.column < b.column; + } + /** + * Test if this position is before other position. + * If the two positions are equal, the result will be true. + */ + isBeforeOrEqual(other) { + return _Position.isBeforeOrEqual(this, other); + } + /** + * Test if position `a` is before position `b`. + * If the two positions are equal, the result will be true. + */ + static isBeforeOrEqual(a2, b) { + if (a2.lineNumber < b.lineNumber) { + return true; + } + if (b.lineNumber < a2.lineNumber) { + return false; + } + return a2.column <= b.column; + } + /** + * A function that compares positions, useful for sorting + */ + static compare(a2, b) { + const aLineNumber = a2.lineNumber | 0; + const bLineNumber = b.lineNumber | 0; + if (aLineNumber === bLineNumber) { + const aColumn = a2.column | 0; + const bColumn = b.column | 0; + return aColumn - bColumn; + } + return aLineNumber - bLineNumber; + } + /** + * Clone this position. + */ + clone() { + return new _Position(this.lineNumber, this.column); + } + /** + * Convert to a human-readable representation. + */ + toString() { + return "(" + this.lineNumber + "," + this.column + ")"; + } + // --- + /** + * Create a `Position` from an `IPosition`. + */ + static lift(pos) { + return new _Position(pos.lineNumber, pos.column); + } + /** + * Test if `obj` is an `IPosition`. + */ + static isIPosition(obj) { + return obj && typeof obj.lineNumber === "number" && typeof obj.column === "number"; + } + toJSON() { + return { + lineNumber: this.lineNumber, + column: this.column + }; + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/core/range.js + var Range = class _Range { + constructor(startLineNumber, startColumn, endLineNumber, endColumn) { + if (startLineNumber > endLineNumber || startLineNumber === endLineNumber && startColumn > endColumn) { + this.startLineNumber = endLineNumber; + this.startColumn = endColumn; + this.endLineNumber = startLineNumber; + this.endColumn = startColumn; + } else { + this.startLineNumber = startLineNumber; + this.startColumn = startColumn; + this.endLineNumber = endLineNumber; + this.endColumn = endColumn; + } + } + /** + * Test if this range is empty. + */ + isEmpty() { + return _Range.isEmpty(this); + } + /** + * Test if `range` is empty. + */ + static isEmpty(range) { + return range.startLineNumber === range.endLineNumber && range.startColumn === range.endColumn; + } + /** + * Test if position is in this range. If the position is at the edges, will return true. + */ + containsPosition(position) { + return _Range.containsPosition(this, position); + } + /** + * Test if `position` is in `range`. If the position is at the edges, will return true. + */ + static containsPosition(range, position) { + if (position.lineNumber < range.startLineNumber || position.lineNumber > range.endLineNumber) { + return false; + } + if (position.lineNumber === range.startLineNumber && position.column < range.startColumn) { + return false; + } + if (position.lineNumber === range.endLineNumber && position.column > range.endColumn) { + return false; + } + return true; + } + /** + * Test if `position` is in `range`. If the position is at the edges, will return false. + * @internal + */ + static strictContainsPosition(range, position) { + if (position.lineNumber < range.startLineNumber || position.lineNumber > range.endLineNumber) { + return false; + } + if (position.lineNumber === range.startLineNumber && position.column <= range.startColumn) { + return false; + } + if (position.lineNumber === range.endLineNumber && position.column >= range.endColumn) { + return false; + } + return true; + } + /** + * Test if range is in this range. If the range is equal to this range, will return true. + */ + containsRange(range) { + return _Range.containsRange(this, range); + } + /** + * Test if `otherRange` is in `range`. If the ranges are equal, will return true. + */ + static containsRange(range, otherRange) { + if (otherRange.startLineNumber < range.startLineNumber || otherRange.endLineNumber < range.startLineNumber) { + return false; + } + if (otherRange.startLineNumber > range.endLineNumber || otherRange.endLineNumber > range.endLineNumber) { + return false; + } + if (otherRange.startLineNumber === range.startLineNumber && otherRange.startColumn < range.startColumn) { + return false; + } + if (otherRange.endLineNumber === range.endLineNumber && otherRange.endColumn > range.endColumn) { + return false; + } + return true; + } + /** + * Test if `range` is strictly in this range. `range` must start after and end before this range for the result to be true. + */ + strictContainsRange(range) { + return _Range.strictContainsRange(this, range); + } + /** + * Test if `otherRange` is strictly in `range` (must start after, and end before). If the ranges are equal, will return false. + */ + static strictContainsRange(range, otherRange) { + if (otherRange.startLineNumber < range.startLineNumber || otherRange.endLineNumber < range.startLineNumber) { + return false; + } + if (otherRange.startLineNumber > range.endLineNumber || otherRange.endLineNumber > range.endLineNumber) { + return false; + } + if (otherRange.startLineNumber === range.startLineNumber && otherRange.startColumn <= range.startColumn) { + return false; + } + if (otherRange.endLineNumber === range.endLineNumber && otherRange.endColumn >= range.endColumn) { + return false; + } + return true; + } + /** + * A reunion of the two ranges. + * The smallest position will be used as the start point, and the largest one as the end point. + */ + plusRange(range) { + return _Range.plusRange(this, range); + } + /** + * A reunion of the two ranges. + * The smallest position will be used as the start point, and the largest one as the end point. + */ + static plusRange(a2, b) { + let startLineNumber; + let startColumn; + let endLineNumber; + let endColumn; + if (b.startLineNumber < a2.startLineNumber) { + startLineNumber = b.startLineNumber; + startColumn = b.startColumn; + } else if (b.startLineNumber === a2.startLineNumber) { + startLineNumber = b.startLineNumber; + startColumn = Math.min(b.startColumn, a2.startColumn); + } else { + startLineNumber = a2.startLineNumber; + startColumn = a2.startColumn; + } + if (b.endLineNumber > a2.endLineNumber) { + endLineNumber = b.endLineNumber; + endColumn = b.endColumn; + } else if (b.endLineNumber === a2.endLineNumber) { + endLineNumber = b.endLineNumber; + endColumn = Math.max(b.endColumn, a2.endColumn); + } else { + endLineNumber = a2.endLineNumber; + endColumn = a2.endColumn; + } + return new _Range(startLineNumber, startColumn, endLineNumber, endColumn); + } + /** + * A intersection of the two ranges. + */ + intersectRanges(range) { + return _Range.intersectRanges(this, range); + } + /** + * A intersection of the two ranges. + */ + static intersectRanges(a2, b) { + let resultStartLineNumber = a2.startLineNumber; + let resultStartColumn = a2.startColumn; + let resultEndLineNumber = a2.endLineNumber; + let resultEndColumn = a2.endColumn; + const otherStartLineNumber = b.startLineNumber; + const otherStartColumn = b.startColumn; + const otherEndLineNumber = b.endLineNumber; + const otherEndColumn = b.endColumn; + if (resultStartLineNumber < otherStartLineNumber) { + resultStartLineNumber = otherStartLineNumber; + resultStartColumn = otherStartColumn; + } else if (resultStartLineNumber === otherStartLineNumber) { + resultStartColumn = Math.max(resultStartColumn, otherStartColumn); + } + if (resultEndLineNumber > otherEndLineNumber) { + resultEndLineNumber = otherEndLineNumber; + resultEndColumn = otherEndColumn; + } else if (resultEndLineNumber === otherEndLineNumber) { + resultEndColumn = Math.min(resultEndColumn, otherEndColumn); + } + if (resultStartLineNumber > resultEndLineNumber) { + return null; + } + if (resultStartLineNumber === resultEndLineNumber && resultStartColumn > resultEndColumn) { + return null; + } + return new _Range(resultStartLineNumber, resultStartColumn, resultEndLineNumber, resultEndColumn); + } + /** + * Test if this range equals other. + */ + equalsRange(other) { + return _Range.equalsRange(this, other); + } + /** + * Test if range `a` equals `b`. + */ + static equalsRange(a2, b) { + if (!a2 && !b) { + return true; + } + return !!a2 && !!b && a2.startLineNumber === b.startLineNumber && a2.startColumn === b.startColumn && a2.endLineNumber === b.endLineNumber && a2.endColumn === b.endColumn; + } + /** + * Return the end position (which will be after or equal to the start position) + */ + getEndPosition() { + return _Range.getEndPosition(this); + } + /** + * Return the end position (which will be after or equal to the start position) + */ + static getEndPosition(range) { + return new Position(range.endLineNumber, range.endColumn); + } + /** + * Return the start position (which will be before or equal to the end position) + */ + getStartPosition() { + return _Range.getStartPosition(this); + } + /** + * Return the start position (which will be before or equal to the end position) + */ + static getStartPosition(range) { + return new Position(range.startLineNumber, range.startColumn); + } + /** + * Transform to a user presentable string representation. + */ + toString() { + return "[" + this.startLineNumber + "," + this.startColumn + " -> " + this.endLineNumber + "," + this.endColumn + "]"; + } + /** + * Create a new range using this range's start position, and using endLineNumber and endColumn as the end position. + */ + setEndPosition(endLineNumber, endColumn) { + return new _Range(this.startLineNumber, this.startColumn, endLineNumber, endColumn); + } + /** + * Create a new range using this range's end position, and using startLineNumber and startColumn as the start position. + */ + setStartPosition(startLineNumber, startColumn) { + return new _Range(startLineNumber, startColumn, this.endLineNumber, this.endColumn); + } + /** + * Create a new empty range using this range's start position. + */ + collapseToStart() { + return _Range.collapseToStart(this); + } + /** + * Create a new empty range using this range's start position. + */ + static collapseToStart(range) { + return new _Range(range.startLineNumber, range.startColumn, range.startLineNumber, range.startColumn); + } + /** + * Create a new empty range using this range's end position. + */ + collapseToEnd() { + return _Range.collapseToEnd(this); + } + /** + * Create a new empty range using this range's end position. + */ + static collapseToEnd(range) { + return new _Range(range.endLineNumber, range.endColumn, range.endLineNumber, range.endColumn); + } + /** + * Moves the range by the given amount of lines. + */ + delta(lineCount) { + return new _Range(this.startLineNumber + lineCount, this.startColumn, this.endLineNumber + lineCount, this.endColumn); + } + // --- + static fromPositions(start, end = start) { + return new _Range(start.lineNumber, start.column, end.lineNumber, end.column); + } + static lift(range) { + if (!range) { + return null; + } + return new _Range(range.startLineNumber, range.startColumn, range.endLineNumber, range.endColumn); + } + /** + * Test if `obj` is an `IRange`. + */ + static isIRange(obj) { + return obj && typeof obj.startLineNumber === "number" && typeof obj.startColumn === "number" && typeof obj.endLineNumber === "number" && typeof obj.endColumn === "number"; + } + /** + * Test if the two ranges are touching in any way. + */ + static areIntersectingOrTouching(a2, b) { + if (a2.endLineNumber < b.startLineNumber || a2.endLineNumber === b.startLineNumber && a2.endColumn < b.startColumn) { + return false; + } + if (b.endLineNumber < a2.startLineNumber || b.endLineNumber === a2.startLineNumber && b.endColumn < a2.startColumn) { + return false; + } + return true; + } + /** + * Test if the two ranges are intersecting. If the ranges are touching it returns true. + */ + static areIntersecting(a2, b) { + if (a2.endLineNumber < b.startLineNumber || a2.endLineNumber === b.startLineNumber && a2.endColumn <= b.startColumn) { + return false; + } + if (b.endLineNumber < a2.startLineNumber || b.endLineNumber === a2.startLineNumber && b.endColumn <= a2.startColumn) { + return false; + } + return true; + } + /** + * A function that compares ranges, useful for sorting ranges + * It will first compare ranges on the startPosition and then on the endPosition + */ + static compareRangesUsingStarts(a2, b) { + if (a2 && b) { + const aStartLineNumber = a2.startLineNumber | 0; + const bStartLineNumber = b.startLineNumber | 0; + if (aStartLineNumber === bStartLineNumber) { + const aStartColumn = a2.startColumn | 0; + const bStartColumn = b.startColumn | 0; + if (aStartColumn === bStartColumn) { + const aEndLineNumber = a2.endLineNumber | 0; + const bEndLineNumber = b.endLineNumber | 0; + if (aEndLineNumber === bEndLineNumber) { + const aEndColumn = a2.endColumn | 0; + const bEndColumn = b.endColumn | 0; + return aEndColumn - bEndColumn; + } + return aEndLineNumber - bEndLineNumber; + } + return aStartColumn - bStartColumn; + } + return aStartLineNumber - bStartLineNumber; + } + const aExists = a2 ? 1 : 0; + const bExists = b ? 1 : 0; + return aExists - bExists; + } + /** + * A function that compares ranges, useful for sorting ranges + * It will first compare ranges on the endPosition and then on the startPosition + */ + static compareRangesUsingEnds(a2, b) { + if (a2.endLineNumber === b.endLineNumber) { + if (a2.endColumn === b.endColumn) { + if (a2.startLineNumber === b.startLineNumber) { + return a2.startColumn - b.startColumn; + } + return a2.startLineNumber - b.startLineNumber; + } + return a2.endColumn - b.endColumn; + } + return a2.endLineNumber - b.endLineNumber; + } + /** + * Test if the range spans multiple lines. + */ + static spansMultipleLines(range) { + return range.endLineNumber > range.startLineNumber; + } + toJSON() { + return this; + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/uint.js + function toUint8(v) { + if (v < 0) { + return 0; + } + if (v > 255) { + return 255; + } + return v | 0; + } + function toUint32(v) { + if (v < 0) { + return 0; + } + if (v > 4294967295) { + return 4294967295; + } + return v | 0; + } + + // node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.js + var CharacterClassifier = class _CharacterClassifier { + constructor(_defaultValue) { + const defaultValue = toUint8(_defaultValue); + this._defaultValue = defaultValue; + this._asciiMap = _CharacterClassifier._createAsciiMap(defaultValue); + this._map = /* @__PURE__ */ new Map(); + } + static _createAsciiMap(defaultValue) { + const asciiMap = new Uint8Array(256); + asciiMap.fill(defaultValue); + return asciiMap; + } + set(charCode, _value) { + const value = toUint8(_value); + if (charCode >= 0 && charCode < 256) { + this._asciiMap[charCode] = value; + } else { + this._map.set(charCode, value); + } + } + get(charCode) { + if (charCode >= 0 && charCode < 256) { + return this._asciiMap[charCode]; + } else { + return this._map.get(charCode) || this._defaultValue; + } + } + clear() { + this._asciiMap.fill(this._defaultValue); + this._map.clear(); + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/languages/linkComputer.js + var Uint8Matrix = class { + constructor(rows, cols, defaultValue) { + const data = new Uint8Array(rows * cols); + for (let i = 0, len = rows * cols; i < len; i++) { + data[i] = defaultValue; + } + this._data = data; + this.rows = rows; + this.cols = cols; + } + get(row, col) { + return this._data[row * this.cols + col]; + } + set(row, col, value) { + this._data[row * this.cols + col] = value; + } + }; + var StateMachine = class { + constructor(edges) { + let maxCharCode = 0; + let maxState = 0; + for (let i = 0, len = edges.length; i < len; i++) { + const [from, chCode, to] = edges[i]; + if (chCode > maxCharCode) { + maxCharCode = chCode; + } + if (from > maxState) { + maxState = from; + } + if (to > maxState) { + maxState = to; + } + } + maxCharCode++; + maxState++; + const states = new Uint8Matrix( + maxState, + maxCharCode, + 0 + /* State.Invalid */ + ); + for (let i = 0, len = edges.length; i < len; i++) { + const [from, chCode, to] = edges[i]; + states.set(from, chCode, to); + } + this._states = states; + this._maxCharCode = maxCharCode; + } + nextState(currentState, chCode) { + if (chCode < 0 || chCode >= this._maxCharCode) { + return 0; + } + return this._states.get(currentState, chCode); + } + }; + var _stateMachine = null; + function getStateMachine() { + if (_stateMachine === null) { + _stateMachine = new StateMachine([ + [ + 1, + 104, + 2 + /* State.H */ + ], + [ + 1, + 72, + 2 + /* State.H */ + ], + [ + 1, + 102, + 6 + /* State.F */ + ], + [ + 1, + 70, + 6 + /* State.F */ + ], + [ + 2, + 116, + 3 + /* State.HT */ + ], + [ + 2, + 84, + 3 + /* State.HT */ + ], + [ + 3, + 116, + 4 + /* State.HTT */ + ], + [ + 3, + 84, + 4 + /* State.HTT */ + ], + [ + 4, + 112, + 5 + /* State.HTTP */ + ], + [ + 4, + 80, + 5 + /* State.HTTP */ + ], + [ + 5, + 115, + 9 + /* State.BeforeColon */ + ], + [ + 5, + 83, + 9 + /* State.BeforeColon */ + ], + [ + 5, + 58, + 10 + /* State.AfterColon */ + ], + [ + 6, + 105, + 7 + /* State.FI */ + ], + [ + 6, + 73, + 7 + /* State.FI */ + ], + [ + 7, + 108, + 8 + /* State.FIL */ + ], + [ + 7, + 76, + 8 + /* State.FIL */ + ], + [ + 8, + 101, + 9 + /* State.BeforeColon */ + ], + [ + 8, + 69, + 9 + /* State.BeforeColon */ + ], + [ + 9, + 58, + 10 + /* State.AfterColon */ + ], + [ + 10, + 47, + 11 + /* State.AlmostThere */ + ], + [ + 11, + 47, + 12 + /* State.End */ + ] + ]); + } + return _stateMachine; + } + var _classifier = null; + function getClassifier() { + if (_classifier === null) { + _classifier = new CharacterClassifier( + 0 + /* CharacterClass.None */ + ); + const FORCE_TERMINATION_CHARACTERS = ` <>'"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\u2018\u3008\u300C\u300E\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u300F\u300D\u3009\u2019\uFF40\uFF5E\u2026`; + for (let i = 0; i < FORCE_TERMINATION_CHARACTERS.length; i++) { + _classifier.set( + FORCE_TERMINATION_CHARACTERS.charCodeAt(i), + 1 + /* CharacterClass.ForceTermination */ + ); + } + const CANNOT_END_WITH_CHARACTERS = ".,;:"; + for (let i = 0; i < CANNOT_END_WITH_CHARACTERS.length; i++) { + _classifier.set( + CANNOT_END_WITH_CHARACTERS.charCodeAt(i), + 2 + /* CharacterClass.CannotEndIn */ + ); + } + } + return _classifier; + } + var LinkComputer = class _LinkComputer { + static _createLink(classifier, line, lineNumber, linkBeginIndex, linkEndIndex) { + let lastIncludedCharIndex = linkEndIndex - 1; + do { + const chCode = line.charCodeAt(lastIncludedCharIndex); + const chClass = classifier.get(chCode); + if (chClass !== 2) { + break; + } + lastIncludedCharIndex--; + } while (lastIncludedCharIndex > linkBeginIndex); + if (linkBeginIndex > 0) { + const charCodeBeforeLink = line.charCodeAt(linkBeginIndex - 1); + const lastCharCodeInLink = line.charCodeAt(lastIncludedCharIndex); + if (charCodeBeforeLink === 40 && lastCharCodeInLink === 41 || charCodeBeforeLink === 91 && lastCharCodeInLink === 93 || charCodeBeforeLink === 123 && lastCharCodeInLink === 125) { + lastIncludedCharIndex--; + } + } + return { + range: { + startLineNumber: lineNumber, + startColumn: linkBeginIndex + 1, + endLineNumber: lineNumber, + endColumn: lastIncludedCharIndex + 2 + }, + url: line.substring(linkBeginIndex, lastIncludedCharIndex + 1) + }; + } + static computeLinks(model, stateMachine = getStateMachine()) { + const classifier = getClassifier(); + const result = []; + for (let i = 1, lineCount = model.getLineCount(); i <= lineCount; i++) { + const line = model.getLineContent(i); + const len = line.length; + let j = 0; + let linkBeginIndex = 0; + let linkBeginChCode = 0; + let state = 1; + let hasOpenParens = false; + let hasOpenSquareBracket = false; + let inSquareBrackets = false; + let hasOpenCurlyBracket = false; + while (j < len) { + let resetStateMachine = false; + const chCode = line.charCodeAt(j); + if (state === 13) { + let chClass; + switch (chCode) { + case 40: + hasOpenParens = true; + chClass = 0; + break; + case 41: + chClass = hasOpenParens ? 0 : 1; + break; + case 91: + inSquareBrackets = true; + hasOpenSquareBracket = true; + chClass = 0; + break; + case 93: + inSquareBrackets = false; + chClass = hasOpenSquareBracket ? 0 : 1; + break; + case 123: + hasOpenCurlyBracket = true; + chClass = 0; + break; + case 125: + chClass = hasOpenCurlyBracket ? 0 : 1; + break; + case 39: + case 34: + case 96: + if (linkBeginChCode === chCode) { + chClass = 1; + } else if (linkBeginChCode === 39 || linkBeginChCode === 34 || linkBeginChCode === 96) { + chClass = 0; + } else { + chClass = 1; + } + break; + case 42: + chClass = linkBeginChCode === 42 ? 1 : 0; + break; + case 124: + chClass = linkBeginChCode === 124 ? 1 : 0; + break; + case 32: + chClass = inSquareBrackets ? 0 : 1; + break; + default: + chClass = classifier.get(chCode); + } + if (chClass === 1) { + result.push(_LinkComputer._createLink(classifier, line, i, linkBeginIndex, j)); + resetStateMachine = true; + } + } else if (state === 12) { + let chClass; + if (chCode === 91) { + hasOpenSquareBracket = true; + chClass = 0; + } else { + chClass = classifier.get(chCode); + } + if (chClass === 1) { + resetStateMachine = true; + } else { + state = 13; + } + } else { + state = stateMachine.nextState(state, chCode); + if (state === 0) { + resetStateMachine = true; + } + } + if (resetStateMachine) { + state = 1; + hasOpenParens = false; + hasOpenSquareBracket = false; + hasOpenCurlyBracket = false; + linkBeginIndex = j + 1; + linkBeginChCode = chCode; + } + j++; + } + if (state === 13) { + result.push(_LinkComputer._createLink(classifier, line, i, linkBeginIndex, len)); + } + } + return result; + } + }; + function computeLinks(model) { + if (!model || typeof model.getLineCount !== "function" || typeof model.getLineContent !== "function") { + return []; + } + return LinkComputer.computeLinks(model); + } + + // node_modules/monaco-editor/esm/vs/editor/common/languages/supports/inplaceReplaceSupport.js + var BasicInplaceReplace = class _BasicInplaceReplace { + constructor() { + this._defaultValueSet = [ + ["true", "false"], + ["True", "False"], + ["Private", "Public", "Friend", "ReadOnly", "Partial", "Protected", "WriteOnly"], + ["public", "protected", "private"] + ]; + } + static { + this.INSTANCE = new _BasicInplaceReplace(); + } + navigateValueSet(range1, text1, range2, text2, up) { + if (range1 && text1) { + const result = this.doNavigateValueSet(text1, up); + if (result) { + return { + range: range1, + value: result + }; + } + } + if (range2 && text2) { + const result = this.doNavigateValueSet(text2, up); + if (result) { + return { + range: range2, + value: result + }; + } + } + return null; + } + doNavigateValueSet(text, up) { + const numberResult = this.numberReplace(text, up); + if (numberResult !== null) { + return numberResult; + } + return this.textReplace(text, up); + } + numberReplace(value, up) { + const precision = Math.pow(10, value.length - (value.lastIndexOf(".") + 1)); + let n1 = Number(value); + const n2 = parseFloat(value); + if (!isNaN(n1) && !isNaN(n2) && n1 === n2) { + if (n1 === 0 && !up) { + return null; + } else { + n1 = Math.floor(n1 * precision); + n1 += up ? precision : -precision; + return String(n1 / precision); + } + } + return null; + } + textReplace(value, up) { + return this.valueSetsReplace(this._defaultValueSet, value, up); + } + valueSetsReplace(valueSets, value, up) { + let result = null; + for (let i = 0, len = valueSets.length; result === null && i < len; i++) { + result = this.valueSetReplace(valueSets[i], value, up); + } + return result; + } + valueSetReplace(valueSet, value, up) { + let idx = valueSet.indexOf(value); + if (idx >= 0) { + idx += up ? 1 : -1; + if (idx < 0) { + idx = valueSet.length - 1; + } else { + idx %= valueSet.length; + } + return valueSet[idx]; + } + return null; + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/cancellation.js + var shortcutEvent = Object.freeze(function(callback, context) { + const handle = setTimeout(callback.bind(context), 0); + return { dispose() { + clearTimeout(handle); + } }; + }); + var CancellationToken; + (function(CancellationToken2) { + function isCancellationToken(thing) { + if (thing === CancellationToken2.None || thing === CancellationToken2.Cancelled) { + return true; + } + if (thing instanceof MutableToken) { + return true; + } + if (!thing || typeof thing !== "object") { + return false; + } + return typeof thing.isCancellationRequested === "boolean" && typeof thing.onCancellationRequested === "function"; + } + CancellationToken2.isCancellationToken = isCancellationToken; + CancellationToken2.None = Object.freeze({ + isCancellationRequested: false, + onCancellationRequested: Event.None + }); + CancellationToken2.Cancelled = Object.freeze({ + isCancellationRequested: true, + onCancellationRequested: shortcutEvent + }); + })(CancellationToken || (CancellationToken = {})); + var MutableToken = class { + constructor() { + this._isCancelled = false; + this._emitter = null; + } + cancel() { + if (!this._isCancelled) { + this._isCancelled = true; + if (this._emitter) { + this._emitter.fire(void 0); + this.dispose(); + } + } + } + get isCancellationRequested() { + return this._isCancelled; + } + get onCancellationRequested() { + if (this._isCancelled) { + return shortcutEvent; + } + if (!this._emitter) { + this._emitter = new Emitter(); + } + return this._emitter.event; + } + dispose() { + if (this._emitter) { + this._emitter.dispose(); + this._emitter = null; + } + } + }; + var CancellationTokenSource = class { + constructor(parent) { + this._token = void 0; + this._parentListener = void 0; + this._parentListener = parent && parent.onCancellationRequested(this.cancel, this); + } + get token() { + if (!this._token) { + this._token = new MutableToken(); + } + return this._token; + } + cancel() { + if (!this._token) { + this._token = CancellationToken.Cancelled; + } else if (this._token instanceof MutableToken) { + this._token.cancel(); + } + } + dispose(cancel = false) { + if (cancel) { + this.cancel(); + } + this._parentListener?.dispose(); + if (!this._token) { + this._token = CancellationToken.None; + } else if (this._token instanceof MutableToken) { + this._token.dispose(); + } + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/keyCodes.js + var KeyCodeStrMap = class { + constructor() { + this._keyCodeToStr = []; + this._strToKeyCode = /* @__PURE__ */ Object.create(null); + } + define(keyCode, str) { + this._keyCodeToStr[keyCode] = str; + this._strToKeyCode[str.toLowerCase()] = keyCode; + } + keyCodeToStr(keyCode) { + return this._keyCodeToStr[keyCode]; + } + strToKeyCode(str) { + return this._strToKeyCode[str.toLowerCase()] || 0; + } + }; + var uiMap = new KeyCodeStrMap(); + var userSettingsUSMap = new KeyCodeStrMap(); + var userSettingsGeneralMap = new KeyCodeStrMap(); + var EVENT_KEY_CODE_MAP = new Array(230); + var NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE = {}; + var scanCodeIntToStr = []; + var scanCodeStrToInt = /* @__PURE__ */ Object.create(null); + var scanCodeLowerCaseStrToInt = /* @__PURE__ */ Object.create(null); + var IMMUTABLE_CODE_TO_KEY_CODE = []; + var IMMUTABLE_KEY_CODE_TO_CODE = []; + for (let i = 0; i <= 193; i++) { + IMMUTABLE_CODE_TO_KEY_CODE[i] = -1; + } + for (let i = 0; i <= 132; i++) { + IMMUTABLE_KEY_CODE_TO_CODE[i] = -1; + } + (function() { + const empty = ""; + const mappings = [ + // immutable, scanCode, scanCodeStr, keyCode, keyCodeStr, eventKeyCode, vkey, usUserSettingsLabel, generalUserSettingsLabel + [1, 0, "None", 0, "unknown", 0, "VK_UNKNOWN", empty, empty], + [1, 1, "Hyper", 0, empty, 0, empty, empty, empty], + [1, 2, "Super", 0, empty, 0, empty, empty, empty], + [1, 3, "Fn", 0, empty, 0, empty, empty, empty], + [1, 4, "FnLock", 0, empty, 0, empty, empty, empty], + [1, 5, "Suspend", 0, empty, 0, empty, empty, empty], + [1, 6, "Resume", 0, empty, 0, empty, empty, empty], + [1, 7, "Turbo", 0, empty, 0, empty, empty, empty], + [1, 8, "Sleep", 0, empty, 0, "VK_SLEEP", empty, empty], + [1, 9, "WakeUp", 0, empty, 0, empty, empty, empty], + [0, 10, "KeyA", 31, "A", 65, "VK_A", empty, empty], + [0, 11, "KeyB", 32, "B", 66, "VK_B", empty, empty], + [0, 12, "KeyC", 33, "C", 67, "VK_C", empty, empty], + [0, 13, "KeyD", 34, "D", 68, "VK_D", empty, empty], + [0, 14, "KeyE", 35, "E", 69, "VK_E", empty, empty], + [0, 15, "KeyF", 36, "F", 70, "VK_F", empty, empty], + [0, 16, "KeyG", 37, "G", 71, "VK_G", empty, empty], + [0, 17, "KeyH", 38, "H", 72, "VK_H", empty, empty], + [0, 18, "KeyI", 39, "I", 73, "VK_I", empty, empty], + [0, 19, "KeyJ", 40, "J", 74, "VK_J", empty, empty], + [0, 20, "KeyK", 41, "K", 75, "VK_K", empty, empty], + [0, 21, "KeyL", 42, "L", 76, "VK_L", empty, empty], + [0, 22, "KeyM", 43, "M", 77, "VK_M", empty, empty], + [0, 23, "KeyN", 44, "N", 78, "VK_N", empty, empty], + [0, 24, "KeyO", 45, "O", 79, "VK_O", empty, empty], + [0, 25, "KeyP", 46, "P", 80, "VK_P", empty, empty], + [0, 26, "KeyQ", 47, "Q", 81, "VK_Q", empty, empty], + [0, 27, "KeyR", 48, "R", 82, "VK_R", empty, empty], + [0, 28, "KeyS", 49, "S", 83, "VK_S", empty, empty], + [0, 29, "KeyT", 50, "T", 84, "VK_T", empty, empty], + [0, 30, "KeyU", 51, "U", 85, "VK_U", empty, empty], + [0, 31, "KeyV", 52, "V", 86, "VK_V", empty, empty], + [0, 32, "KeyW", 53, "W", 87, "VK_W", empty, empty], + [0, 33, "KeyX", 54, "X", 88, "VK_X", empty, empty], + [0, 34, "KeyY", 55, "Y", 89, "VK_Y", empty, empty], + [0, 35, "KeyZ", 56, "Z", 90, "VK_Z", empty, empty], + [0, 36, "Digit1", 22, "1", 49, "VK_1", empty, empty], + [0, 37, "Digit2", 23, "2", 50, "VK_2", empty, empty], + [0, 38, "Digit3", 24, "3", 51, "VK_3", empty, empty], + [0, 39, "Digit4", 25, "4", 52, "VK_4", empty, empty], + [0, 40, "Digit5", 26, "5", 53, "VK_5", empty, empty], + [0, 41, "Digit6", 27, "6", 54, "VK_6", empty, empty], + [0, 42, "Digit7", 28, "7", 55, "VK_7", empty, empty], + [0, 43, "Digit8", 29, "8", 56, "VK_8", empty, empty], + [0, 44, "Digit9", 30, "9", 57, "VK_9", empty, empty], + [0, 45, "Digit0", 21, "0", 48, "VK_0", empty, empty], + [1, 46, "Enter", 3, "Enter", 13, "VK_RETURN", empty, empty], + [1, 47, "Escape", 9, "Escape", 27, "VK_ESCAPE", empty, empty], + [1, 48, "Backspace", 1, "Backspace", 8, "VK_BACK", empty, empty], + [1, 49, "Tab", 2, "Tab", 9, "VK_TAB", empty, empty], + [1, 50, "Space", 10, "Space", 32, "VK_SPACE", empty, empty], + [0, 51, "Minus", 88, "-", 189, "VK_OEM_MINUS", "-", "OEM_MINUS"], + [0, 52, "Equal", 86, "=", 187, "VK_OEM_PLUS", "=", "OEM_PLUS"], + [0, 53, "BracketLeft", 92, "[", 219, "VK_OEM_4", "[", "OEM_4"], + [0, 54, "BracketRight", 94, "]", 221, "VK_OEM_6", "]", "OEM_6"], + [0, 55, "Backslash", 93, "\\", 220, "VK_OEM_5", "\\", "OEM_5"], + [0, 56, "IntlHash", 0, empty, 0, empty, empty, empty], + // has been dropped from the w3c spec + [0, 57, "Semicolon", 85, ";", 186, "VK_OEM_1", ";", "OEM_1"], + [0, 58, "Quote", 95, "'", 222, "VK_OEM_7", "'", "OEM_7"], + [0, 59, "Backquote", 91, "`", 192, "VK_OEM_3", "`", "OEM_3"], + [0, 60, "Comma", 87, ",", 188, "VK_OEM_COMMA", ",", "OEM_COMMA"], + [0, 61, "Period", 89, ".", 190, "VK_OEM_PERIOD", ".", "OEM_PERIOD"], + [0, 62, "Slash", 90, "/", 191, "VK_OEM_2", "/", "OEM_2"], + [1, 63, "CapsLock", 8, "CapsLock", 20, "VK_CAPITAL", empty, empty], + [1, 64, "F1", 59, "F1", 112, "VK_F1", empty, empty], + [1, 65, "F2", 60, "F2", 113, "VK_F2", empty, empty], + [1, 66, "F3", 61, "F3", 114, "VK_F3", empty, empty], + [1, 67, "F4", 62, "F4", 115, "VK_F4", empty, empty], + [1, 68, "F5", 63, "F5", 116, "VK_F5", empty, empty], + [1, 69, "F6", 64, "F6", 117, "VK_F6", empty, empty], + [1, 70, "F7", 65, "F7", 118, "VK_F7", empty, empty], + [1, 71, "F8", 66, "F8", 119, "VK_F8", empty, empty], + [1, 72, "F9", 67, "F9", 120, "VK_F9", empty, empty], + [1, 73, "F10", 68, "F10", 121, "VK_F10", empty, empty], + [1, 74, "F11", 69, "F11", 122, "VK_F11", empty, empty], + [1, 75, "F12", 70, "F12", 123, "VK_F12", empty, empty], + [1, 76, "PrintScreen", 0, empty, 0, empty, empty, empty], + [1, 77, "ScrollLock", 84, "ScrollLock", 145, "VK_SCROLL", empty, empty], + [1, 78, "Pause", 7, "PauseBreak", 19, "VK_PAUSE", empty, empty], + [1, 79, "Insert", 19, "Insert", 45, "VK_INSERT", empty, empty], + [1, 80, "Home", 14, "Home", 36, "VK_HOME", empty, empty], + [1, 81, "PageUp", 11, "PageUp", 33, "VK_PRIOR", empty, empty], + [1, 82, "Delete", 20, "Delete", 46, "VK_DELETE", empty, empty], + [1, 83, "End", 13, "End", 35, "VK_END", empty, empty], + [1, 84, "PageDown", 12, "PageDown", 34, "VK_NEXT", empty, empty], + [1, 85, "ArrowRight", 17, "RightArrow", 39, "VK_RIGHT", "Right", empty], + [1, 86, "ArrowLeft", 15, "LeftArrow", 37, "VK_LEFT", "Left", empty], + [1, 87, "ArrowDown", 18, "DownArrow", 40, "VK_DOWN", "Down", empty], + [1, 88, "ArrowUp", 16, "UpArrow", 38, "VK_UP", "Up", empty], + [1, 89, "NumLock", 83, "NumLock", 144, "VK_NUMLOCK", empty, empty], + [1, 90, "NumpadDivide", 113, "NumPad_Divide", 111, "VK_DIVIDE", empty, empty], + [1, 91, "NumpadMultiply", 108, "NumPad_Multiply", 106, "VK_MULTIPLY", empty, empty], + [1, 92, "NumpadSubtract", 111, "NumPad_Subtract", 109, "VK_SUBTRACT", empty, empty], + [1, 93, "NumpadAdd", 109, "NumPad_Add", 107, "VK_ADD", empty, empty], + [1, 94, "NumpadEnter", 3, empty, 0, empty, empty, empty], + [1, 95, "Numpad1", 99, "NumPad1", 97, "VK_NUMPAD1", empty, empty], + [1, 96, "Numpad2", 100, "NumPad2", 98, "VK_NUMPAD2", empty, empty], + [1, 97, "Numpad3", 101, "NumPad3", 99, "VK_NUMPAD3", empty, empty], + [1, 98, "Numpad4", 102, "NumPad4", 100, "VK_NUMPAD4", empty, empty], + [1, 99, "Numpad5", 103, "NumPad5", 101, "VK_NUMPAD5", empty, empty], + [1, 100, "Numpad6", 104, "NumPad6", 102, "VK_NUMPAD6", empty, empty], + [1, 101, "Numpad7", 105, "NumPad7", 103, "VK_NUMPAD7", empty, empty], + [1, 102, "Numpad8", 106, "NumPad8", 104, "VK_NUMPAD8", empty, empty], + [1, 103, "Numpad9", 107, "NumPad9", 105, "VK_NUMPAD9", empty, empty], + [1, 104, "Numpad0", 98, "NumPad0", 96, "VK_NUMPAD0", empty, empty], + [1, 105, "NumpadDecimal", 112, "NumPad_Decimal", 110, "VK_DECIMAL", empty, empty], + [0, 106, "IntlBackslash", 97, "OEM_102", 226, "VK_OEM_102", empty, empty], + [1, 107, "ContextMenu", 58, "ContextMenu", 93, empty, empty, empty], + [1, 108, "Power", 0, empty, 0, empty, empty, empty], + [1, 109, "NumpadEqual", 0, empty, 0, empty, empty, empty], + [1, 110, "F13", 71, "F13", 124, "VK_F13", empty, empty], + [1, 111, "F14", 72, "F14", 125, "VK_F14", empty, empty], + [1, 112, "F15", 73, "F15", 126, "VK_F15", empty, empty], + [1, 113, "F16", 74, "F16", 127, "VK_F16", empty, empty], + [1, 114, "F17", 75, "F17", 128, "VK_F17", empty, empty], + [1, 115, "F18", 76, "F18", 129, "VK_F18", empty, empty], + [1, 116, "F19", 77, "F19", 130, "VK_F19", empty, empty], + [1, 117, "F20", 78, "F20", 131, "VK_F20", empty, empty], + [1, 118, "F21", 79, "F21", 132, "VK_F21", empty, empty], + [1, 119, "F22", 80, "F22", 133, "VK_F22", empty, empty], + [1, 120, "F23", 81, "F23", 134, "VK_F23", empty, empty], + [1, 121, "F24", 82, "F24", 135, "VK_F24", empty, empty], + [1, 122, "Open", 0, empty, 0, empty, empty, empty], + [1, 123, "Help", 0, empty, 0, empty, empty, empty], + [1, 124, "Select", 0, empty, 0, empty, empty, empty], + [1, 125, "Again", 0, empty, 0, empty, empty, empty], + [1, 126, "Undo", 0, empty, 0, empty, empty, empty], + [1, 127, "Cut", 0, empty, 0, empty, empty, empty], + [1, 128, "Copy", 0, empty, 0, empty, empty, empty], + [1, 129, "Paste", 0, empty, 0, empty, empty, empty], + [1, 130, "Find", 0, empty, 0, empty, empty, empty], + [1, 131, "AudioVolumeMute", 117, "AudioVolumeMute", 173, "VK_VOLUME_MUTE", empty, empty], + [1, 132, "AudioVolumeUp", 118, "AudioVolumeUp", 175, "VK_VOLUME_UP", empty, empty], + [1, 133, "AudioVolumeDown", 119, "AudioVolumeDown", 174, "VK_VOLUME_DOWN", empty, empty], + [1, 134, "NumpadComma", 110, "NumPad_Separator", 108, "VK_SEPARATOR", empty, empty], + [0, 135, "IntlRo", 115, "ABNT_C1", 193, "VK_ABNT_C1", empty, empty], + [1, 136, "KanaMode", 0, empty, 0, empty, empty, empty], + [0, 137, "IntlYen", 0, empty, 0, empty, empty, empty], + [1, 138, "Convert", 0, empty, 0, empty, empty, empty], + [1, 139, "NonConvert", 0, empty, 0, empty, empty, empty], + [1, 140, "Lang1", 0, empty, 0, empty, empty, empty], + [1, 141, "Lang2", 0, empty, 0, empty, empty, empty], + [1, 142, "Lang3", 0, empty, 0, empty, empty, empty], + [1, 143, "Lang4", 0, empty, 0, empty, empty, empty], + [1, 144, "Lang5", 0, empty, 0, empty, empty, empty], + [1, 145, "Abort", 0, empty, 0, empty, empty, empty], + [1, 146, "Props", 0, empty, 0, empty, empty, empty], + [1, 147, "NumpadParenLeft", 0, empty, 0, empty, empty, empty], + [1, 148, "NumpadParenRight", 0, empty, 0, empty, empty, empty], + [1, 149, "NumpadBackspace", 0, empty, 0, empty, empty, empty], + [1, 150, "NumpadMemoryStore", 0, empty, 0, empty, empty, empty], + [1, 151, "NumpadMemoryRecall", 0, empty, 0, empty, empty, empty], + [1, 152, "NumpadMemoryClear", 0, empty, 0, empty, empty, empty], + [1, 153, "NumpadMemoryAdd", 0, empty, 0, empty, empty, empty], + [1, 154, "NumpadMemorySubtract", 0, empty, 0, empty, empty, empty], + [1, 155, "NumpadClear", 131, "Clear", 12, "VK_CLEAR", empty, empty], + [1, 156, "NumpadClearEntry", 0, empty, 0, empty, empty, empty], + [1, 0, empty, 5, "Ctrl", 17, "VK_CONTROL", empty, empty], + [1, 0, empty, 4, "Shift", 16, "VK_SHIFT", empty, empty], + [1, 0, empty, 6, "Alt", 18, "VK_MENU", empty, empty], + [1, 0, empty, 57, "Meta", 91, "VK_COMMAND", empty, empty], + [1, 157, "ControlLeft", 5, empty, 0, "VK_LCONTROL", empty, empty], + [1, 158, "ShiftLeft", 4, empty, 0, "VK_LSHIFT", empty, empty], + [1, 159, "AltLeft", 6, empty, 0, "VK_LMENU", empty, empty], + [1, 160, "MetaLeft", 57, empty, 0, "VK_LWIN", empty, empty], + [1, 161, "ControlRight", 5, empty, 0, "VK_RCONTROL", empty, empty], + [1, 162, "ShiftRight", 4, empty, 0, "VK_RSHIFT", empty, empty], + [1, 163, "AltRight", 6, empty, 0, "VK_RMENU", empty, empty], + [1, 164, "MetaRight", 57, empty, 0, "VK_RWIN", empty, empty], + [1, 165, "BrightnessUp", 0, empty, 0, empty, empty, empty], + [1, 166, "BrightnessDown", 0, empty, 0, empty, empty, empty], + [1, 167, "MediaPlay", 0, empty, 0, empty, empty, empty], + [1, 168, "MediaRecord", 0, empty, 0, empty, empty, empty], + [1, 169, "MediaFastForward", 0, empty, 0, empty, empty, empty], + [1, 170, "MediaRewind", 0, empty, 0, empty, empty, empty], + [1, 171, "MediaTrackNext", 124, "MediaTrackNext", 176, "VK_MEDIA_NEXT_TRACK", empty, empty], + [1, 172, "MediaTrackPrevious", 125, "MediaTrackPrevious", 177, "VK_MEDIA_PREV_TRACK", empty, empty], + [1, 173, "MediaStop", 126, "MediaStop", 178, "VK_MEDIA_STOP", empty, empty], + [1, 174, "Eject", 0, empty, 0, empty, empty, empty], + [1, 175, "MediaPlayPause", 127, "MediaPlayPause", 179, "VK_MEDIA_PLAY_PAUSE", empty, empty], + [1, 176, "MediaSelect", 128, "LaunchMediaPlayer", 181, "VK_MEDIA_LAUNCH_MEDIA_SELECT", empty, empty], + [1, 177, "LaunchMail", 129, "LaunchMail", 180, "VK_MEDIA_LAUNCH_MAIL", empty, empty], + [1, 178, "LaunchApp2", 130, "LaunchApp2", 183, "VK_MEDIA_LAUNCH_APP2", empty, empty], + [1, 179, "LaunchApp1", 0, empty, 0, "VK_MEDIA_LAUNCH_APP1", empty, empty], + [1, 180, "SelectTask", 0, empty, 0, empty, empty, empty], + [1, 181, "LaunchScreenSaver", 0, empty, 0, empty, empty, empty], + [1, 182, "BrowserSearch", 120, "BrowserSearch", 170, "VK_BROWSER_SEARCH", empty, empty], + [1, 183, "BrowserHome", 121, "BrowserHome", 172, "VK_BROWSER_HOME", empty, empty], + [1, 184, "BrowserBack", 122, "BrowserBack", 166, "VK_BROWSER_BACK", empty, empty], + [1, 185, "BrowserForward", 123, "BrowserForward", 167, "VK_BROWSER_FORWARD", empty, empty], + [1, 186, "BrowserStop", 0, empty, 0, "VK_BROWSER_STOP", empty, empty], + [1, 187, "BrowserRefresh", 0, empty, 0, "VK_BROWSER_REFRESH", empty, empty], + [1, 188, "BrowserFavorites", 0, empty, 0, "VK_BROWSER_FAVORITES", empty, empty], + [1, 189, "ZoomToggle", 0, empty, 0, empty, empty, empty], + [1, 190, "MailReply", 0, empty, 0, empty, empty, empty], + [1, 191, "MailForward", 0, empty, 0, empty, empty, empty], + [1, 192, "MailSend", 0, empty, 0, empty, empty, empty], + // See https://lists.w3.org/Archives/Public/www-dom/2010JulSep/att-0182/keyCode-spec.html + // If an Input Method Editor is processing key input and the event is keydown, return 229. + [1, 0, empty, 114, "KeyInComposition", 229, empty, empty, empty], + [1, 0, empty, 116, "ABNT_C2", 194, "VK_ABNT_C2", empty, empty], + [1, 0, empty, 96, "OEM_8", 223, "VK_OEM_8", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_KANA", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_HANGUL", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_JUNJA", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_FINAL", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_HANJA", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_KANJI", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_CONVERT", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_NONCONVERT", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_ACCEPT", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_MODECHANGE", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_SELECT", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_PRINT", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_EXECUTE", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_SNAPSHOT", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_HELP", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_APPS", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_PROCESSKEY", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_PACKET", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_DBE_SBCSCHAR", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_DBE_DBCSCHAR", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_ATTN", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_CRSEL", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_EXSEL", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_EREOF", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_PLAY", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_ZOOM", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_NONAME", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_PA1", empty, empty], + [1, 0, empty, 0, empty, 0, "VK_OEM_CLEAR", empty, empty] + ]; + const seenKeyCode = []; + const seenScanCode = []; + for (const mapping of mappings) { + const [immutable, scanCode, scanCodeStr, keyCode, keyCodeStr, eventKeyCode, vkey, usUserSettingsLabel, generalUserSettingsLabel] = mapping; + if (!seenScanCode[scanCode]) { + seenScanCode[scanCode] = true; + scanCodeIntToStr[scanCode] = scanCodeStr; + scanCodeStrToInt[scanCodeStr] = scanCode; + scanCodeLowerCaseStrToInt[scanCodeStr.toLowerCase()] = scanCode; + if (immutable) { + IMMUTABLE_CODE_TO_KEY_CODE[scanCode] = keyCode; + if (keyCode !== 0 && keyCode !== 3 && keyCode !== 5 && keyCode !== 4 && keyCode !== 6 && keyCode !== 57) { + IMMUTABLE_KEY_CODE_TO_CODE[keyCode] = scanCode; + } + } + } + if (!seenKeyCode[keyCode]) { + seenKeyCode[keyCode] = true; + if (!keyCodeStr) { + throw new Error(`String representation missing for key code ${keyCode} around scan code ${scanCodeStr}`); + } + uiMap.define(keyCode, keyCodeStr); + userSettingsUSMap.define(keyCode, usUserSettingsLabel || keyCodeStr); + userSettingsGeneralMap.define(keyCode, generalUserSettingsLabel || usUserSettingsLabel || keyCodeStr); + } + if (eventKeyCode) { + EVENT_KEY_CODE_MAP[eventKeyCode] = keyCode; + } + if (vkey) { + NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE[vkey] = keyCode; + } + } + IMMUTABLE_KEY_CODE_TO_CODE[ + 3 + /* KeyCode.Enter */ + ] = 46; + })(); + var KeyCodeUtils; + (function(KeyCodeUtils2) { + function toString(keyCode) { + return uiMap.keyCodeToStr(keyCode); + } + KeyCodeUtils2.toString = toString; + function fromString(key) { + return uiMap.strToKeyCode(key); + } + KeyCodeUtils2.fromString = fromString; + function toUserSettingsUS(keyCode) { + return userSettingsUSMap.keyCodeToStr(keyCode); + } + KeyCodeUtils2.toUserSettingsUS = toUserSettingsUS; + function toUserSettingsGeneral(keyCode) { + return userSettingsGeneralMap.keyCodeToStr(keyCode); + } + KeyCodeUtils2.toUserSettingsGeneral = toUserSettingsGeneral; + function fromUserSettings(key) { + return userSettingsUSMap.strToKeyCode(key) || userSettingsGeneralMap.strToKeyCode(key); + } + KeyCodeUtils2.fromUserSettings = fromUserSettings; + function toElectronAccelerator(keyCode) { + if (keyCode >= 98 && keyCode <= 113) { + return null; + } + switch (keyCode) { + case 16: + return "Up"; + case 18: + return "Down"; + case 15: + return "Left"; + case 17: + return "Right"; + } + return uiMap.keyCodeToStr(keyCode); + } + KeyCodeUtils2.toElectronAccelerator = toElectronAccelerator; + })(KeyCodeUtils || (KeyCodeUtils = {})); + function KeyChord(firstPart, secondPart) { + const chordPart = (secondPart & 65535) << 16 >>> 0; + return (firstPart | chordPart) >>> 0; + } + + // node_modules/monaco-editor/esm/vs/editor/common/core/selection.js + var Selection = class _Selection extends Range { + constructor(selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn) { + super(selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn); + this.selectionStartLineNumber = selectionStartLineNumber; + this.selectionStartColumn = selectionStartColumn; + this.positionLineNumber = positionLineNumber; + this.positionColumn = positionColumn; + } + /** + * Transform to a human-readable representation. + */ + toString() { + return "[" + this.selectionStartLineNumber + "," + this.selectionStartColumn + " -> " + this.positionLineNumber + "," + this.positionColumn + "]"; + } + /** + * Test if equals other selection. + */ + equalsSelection(other) { + return _Selection.selectionsEqual(this, other); + } + /** + * Test if the two selections are equal. + */ + static selectionsEqual(a2, b) { + return a2.selectionStartLineNumber === b.selectionStartLineNumber && a2.selectionStartColumn === b.selectionStartColumn && a2.positionLineNumber === b.positionLineNumber && a2.positionColumn === b.positionColumn; + } + /** + * Get directions (LTR or RTL). + */ + getDirection() { + if (this.selectionStartLineNumber === this.startLineNumber && this.selectionStartColumn === this.startColumn) { + return 0; + } + return 1; + } + /** + * Create a new selection with a different `positionLineNumber` and `positionColumn`. + */ + setEndPosition(endLineNumber, endColumn) { + if (this.getDirection() === 0) { + return new _Selection(this.startLineNumber, this.startColumn, endLineNumber, endColumn); + } + return new _Selection(endLineNumber, endColumn, this.startLineNumber, this.startColumn); + } + /** + * Get the position at `positionLineNumber` and `positionColumn`. + */ + getPosition() { + return new Position(this.positionLineNumber, this.positionColumn); + } + /** + * Get the position at the start of the selection. + */ + getSelectionStart() { + return new Position(this.selectionStartLineNumber, this.selectionStartColumn); + } + /** + * Create a new selection with a different `selectionStartLineNumber` and `selectionStartColumn`. + */ + setStartPosition(startLineNumber, startColumn) { + if (this.getDirection() === 0) { + return new _Selection(startLineNumber, startColumn, this.endLineNumber, this.endColumn); + } + return new _Selection(this.endLineNumber, this.endColumn, startLineNumber, startColumn); + } + // ---- + /** + * Create a `Selection` from one or two positions + */ + static fromPositions(start, end = start) { + return new _Selection(start.lineNumber, start.column, end.lineNumber, end.column); + } + /** + * Creates a `Selection` from a range, given a direction. + */ + static fromRange(range, direction) { + if (direction === 0) { + return new _Selection(range.startLineNumber, range.startColumn, range.endLineNumber, range.endColumn); + } else { + return new _Selection(range.endLineNumber, range.endColumn, range.startLineNumber, range.startColumn); + } + } + /** + * Create a `Selection` from an `ISelection`. + */ + static liftSelection(sel) { + return new _Selection(sel.selectionStartLineNumber, sel.selectionStartColumn, sel.positionLineNumber, sel.positionColumn); + } + /** + * `a` equals `b`. + */ + static selectionsArrEqual(a2, b) { + if (a2 && !b || !a2 && b) { + return false; + } + if (!a2 && !b) { + return true; + } + if (a2.length !== b.length) { + return false; + } + for (let i = 0, len = a2.length; i < len; i++) { + if (!this.selectionsEqual(a2[i], b[i])) { + return false; + } + } + return true; + } + /** + * Test if `obj` is an `ISelection`. + */ + static isISelection(obj) { + return obj && typeof obj.selectionStartLineNumber === "number" && typeof obj.selectionStartColumn === "number" && typeof obj.positionLineNumber === "number" && typeof obj.positionColumn === "number"; + } + /** + * Create with a direction. + */ + static createWithDirection(startLineNumber, startColumn, endLineNumber, endColumn, direction) { + if (direction === 0) { + return new _Selection(startLineNumber, startColumn, endLineNumber, endColumn); + } + return new _Selection(endLineNumber, endColumn, startLineNumber, startColumn); + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/types.js + function isString(str) { + return typeof str === "string"; + } + + // node_modules/monaco-editor/esm/vs/base/common/codiconsUtil.js + var _codiconFontCharacters = /* @__PURE__ */ Object.create(null); + function register(id, fontCharacter) { + if (isString(fontCharacter)) { + const val = _codiconFontCharacters[fontCharacter]; + if (val === void 0) { + throw new Error(`${id} references an unknown codicon: ${fontCharacter}`); + } + fontCharacter = val; + } + _codiconFontCharacters[id] = fontCharacter; + return { id }; + } + + // node_modules/monaco-editor/esm/vs/base/common/codiconsLibrary.js + var codiconsLibrary = { + add: register("add", 6e4), + plus: register("plus", 6e4), + gistNew: register("gist-new", 6e4), + repoCreate: register("repo-create", 6e4), + lightbulb: register("lightbulb", 60001), + lightBulb: register("light-bulb", 60001), + repo: register("repo", 60002), + repoDelete: register("repo-delete", 60002), + gistFork: register("gist-fork", 60003), + repoForked: register("repo-forked", 60003), + gitPullRequest: register("git-pull-request", 60004), + gitPullRequestAbandoned: register("git-pull-request-abandoned", 60004), + recordKeys: register("record-keys", 60005), + keyboard: register("keyboard", 60005), + tag: register("tag", 60006), + gitPullRequestLabel: register("git-pull-request-label", 60006), + tagAdd: register("tag-add", 60006), + tagRemove: register("tag-remove", 60006), + person: register("person", 60007), + personFollow: register("person-follow", 60007), + personOutline: register("person-outline", 60007), + personFilled: register("person-filled", 60007), + gitBranch: register("git-branch", 60008), + gitBranchCreate: register("git-branch-create", 60008), + gitBranchDelete: register("git-branch-delete", 60008), + sourceControl: register("source-control", 60008), + mirror: register("mirror", 60009), + mirrorPublic: register("mirror-public", 60009), + star: register("star", 60010), + starAdd: register("star-add", 60010), + starDelete: register("star-delete", 60010), + starEmpty: register("star-empty", 60010), + comment: register("comment", 60011), + commentAdd: register("comment-add", 60011), + alert: register("alert", 60012), + warning: register("warning", 60012), + search: register("search", 60013), + searchSave: register("search-save", 60013), + logOut: register("log-out", 60014), + signOut: register("sign-out", 60014), + logIn: register("log-in", 60015), + signIn: register("sign-in", 60015), + eye: register("eye", 60016), + eyeUnwatch: register("eye-unwatch", 60016), + eyeWatch: register("eye-watch", 60016), + circleFilled: register("circle-filled", 60017), + primitiveDot: register("primitive-dot", 60017), + closeDirty: register("close-dirty", 60017), + debugBreakpoint: register("debug-breakpoint", 60017), + debugBreakpointDisabled: register("debug-breakpoint-disabled", 60017), + debugHint: register("debug-hint", 60017), + terminalDecorationSuccess: register("terminal-decoration-success", 60017), + primitiveSquare: register("primitive-square", 60018), + edit: register("edit", 60019), + pencil: register("pencil", 60019), + info: register("info", 60020), + issueOpened: register("issue-opened", 60020), + gistPrivate: register("gist-private", 60021), + gitForkPrivate: register("git-fork-private", 60021), + lock: register("lock", 60021), + mirrorPrivate: register("mirror-private", 60021), + close: register("close", 60022), + removeClose: register("remove-close", 60022), + x: register("x", 60022), + repoSync: register("repo-sync", 60023), + sync: register("sync", 60023), + clone: register("clone", 60024), + desktopDownload: register("desktop-download", 60024), + beaker: register("beaker", 60025), + microscope: register("microscope", 60025), + vm: register("vm", 60026), + deviceDesktop: register("device-desktop", 60026), + file: register("file", 60027), + fileText: register("file-text", 60027), + more: register("more", 60028), + ellipsis: register("ellipsis", 60028), + kebabHorizontal: register("kebab-horizontal", 60028), + mailReply: register("mail-reply", 60029), + reply: register("reply", 60029), + organization: register("organization", 60030), + organizationFilled: register("organization-filled", 60030), + organizationOutline: register("organization-outline", 60030), + newFile: register("new-file", 60031), + fileAdd: register("file-add", 60031), + newFolder: register("new-folder", 60032), + fileDirectoryCreate: register("file-directory-create", 60032), + trash: register("trash", 60033), + trashcan: register("trashcan", 60033), + history: register("history", 60034), + clock: register("clock", 60034), + folder: register("folder", 60035), + fileDirectory: register("file-directory", 60035), + symbolFolder: register("symbol-folder", 60035), + logoGithub: register("logo-github", 60036), + markGithub: register("mark-github", 60036), + github: register("github", 60036), + terminal: register("terminal", 60037), + console: register("console", 60037), + repl: register("repl", 60037), + zap: register("zap", 60038), + symbolEvent: register("symbol-event", 60038), + error: register("error", 60039), + stop: register("stop", 60039), + variable: register("variable", 60040), + symbolVariable: register("symbol-variable", 60040), + array: register("array", 60042), + symbolArray: register("symbol-array", 60042), + symbolModule: register("symbol-module", 60043), + symbolPackage: register("symbol-package", 60043), + symbolNamespace: register("symbol-namespace", 60043), + symbolObject: register("symbol-object", 60043), + symbolMethod: register("symbol-method", 60044), + symbolFunction: register("symbol-function", 60044), + symbolConstructor: register("symbol-constructor", 60044), + symbolBoolean: register("symbol-boolean", 60047), + symbolNull: register("symbol-null", 60047), + symbolNumeric: register("symbol-numeric", 60048), + symbolNumber: register("symbol-number", 60048), + symbolStructure: register("symbol-structure", 60049), + symbolStruct: register("symbol-struct", 60049), + symbolParameter: register("symbol-parameter", 60050), + symbolTypeParameter: register("symbol-type-parameter", 60050), + symbolKey: register("symbol-key", 60051), + symbolText: register("symbol-text", 60051), + symbolReference: register("symbol-reference", 60052), + goToFile: register("go-to-file", 60052), + symbolEnum: register("symbol-enum", 60053), + symbolValue: register("symbol-value", 60053), + symbolRuler: register("symbol-ruler", 60054), + symbolUnit: register("symbol-unit", 60054), + activateBreakpoints: register("activate-breakpoints", 60055), + archive: register("archive", 60056), + arrowBoth: register("arrow-both", 60057), + arrowDown: register("arrow-down", 60058), + arrowLeft: register("arrow-left", 60059), + arrowRight: register("arrow-right", 60060), + arrowSmallDown: register("arrow-small-down", 60061), + arrowSmallLeft: register("arrow-small-left", 60062), + arrowSmallRight: register("arrow-small-right", 60063), + arrowSmallUp: register("arrow-small-up", 60064), + arrowUp: register("arrow-up", 60065), + bell: register("bell", 60066), + bold: register("bold", 60067), + book: register("book", 60068), + bookmark: register("bookmark", 60069), + debugBreakpointConditionalUnverified: register("debug-breakpoint-conditional-unverified", 60070), + debugBreakpointConditional: register("debug-breakpoint-conditional", 60071), + debugBreakpointConditionalDisabled: register("debug-breakpoint-conditional-disabled", 60071), + debugBreakpointDataUnverified: register("debug-breakpoint-data-unverified", 60072), + debugBreakpointData: register("debug-breakpoint-data", 60073), + debugBreakpointDataDisabled: register("debug-breakpoint-data-disabled", 60073), + debugBreakpointLogUnverified: register("debug-breakpoint-log-unverified", 60074), + debugBreakpointLog: register("debug-breakpoint-log", 60075), + debugBreakpointLogDisabled: register("debug-breakpoint-log-disabled", 60075), + briefcase: register("briefcase", 60076), + broadcast: register("broadcast", 60077), + browser: register("browser", 60078), + bug: register("bug", 60079), + calendar: register("calendar", 60080), + caseSensitive: register("case-sensitive", 60081), + check: register("check", 60082), + checklist: register("checklist", 60083), + chevronDown: register("chevron-down", 60084), + chevronLeft: register("chevron-left", 60085), + chevronRight: register("chevron-right", 60086), + chevronUp: register("chevron-up", 60087), + chromeClose: register("chrome-close", 60088), + chromeMaximize: register("chrome-maximize", 60089), + chromeMinimize: register("chrome-minimize", 60090), + chromeRestore: register("chrome-restore", 60091), + circleOutline: register("circle-outline", 60092), + circle: register("circle", 60092), + debugBreakpointUnverified: register("debug-breakpoint-unverified", 60092), + terminalDecorationIncomplete: register("terminal-decoration-incomplete", 60092), + circleSlash: register("circle-slash", 60093), + circuitBoard: register("circuit-board", 60094), + clearAll: register("clear-all", 60095), + clippy: register("clippy", 60096), + closeAll: register("close-all", 60097), + cloudDownload: register("cloud-download", 60098), + cloudUpload: register("cloud-upload", 60099), + code: register("code", 60100), + collapseAll: register("collapse-all", 60101), + colorMode: register("color-mode", 60102), + commentDiscussion: register("comment-discussion", 60103), + creditCard: register("credit-card", 60105), + dash: register("dash", 60108), + dashboard: register("dashboard", 60109), + database: register("database", 60110), + debugContinue: register("debug-continue", 60111), + debugDisconnect: register("debug-disconnect", 60112), + debugPause: register("debug-pause", 60113), + debugRestart: register("debug-restart", 60114), + debugStart: register("debug-start", 60115), + debugStepInto: register("debug-step-into", 60116), + debugStepOut: register("debug-step-out", 60117), + debugStepOver: register("debug-step-over", 60118), + debugStop: register("debug-stop", 60119), + debug: register("debug", 60120), + deviceCameraVideo: register("device-camera-video", 60121), + deviceCamera: register("device-camera", 60122), + deviceMobile: register("device-mobile", 60123), + diffAdded: register("diff-added", 60124), + diffIgnored: register("diff-ignored", 60125), + diffModified: register("diff-modified", 60126), + diffRemoved: register("diff-removed", 60127), + diffRenamed: register("diff-renamed", 60128), + diff: register("diff", 60129), + diffSidebyside: register("diff-sidebyside", 60129), + discard: register("discard", 60130), + editorLayout: register("editor-layout", 60131), + emptyWindow: register("empty-window", 60132), + exclude: register("exclude", 60133), + extensions: register("extensions", 60134), + eyeClosed: register("eye-closed", 60135), + fileBinary: register("file-binary", 60136), + fileCode: register("file-code", 60137), + fileMedia: register("file-media", 60138), + filePdf: register("file-pdf", 60139), + fileSubmodule: register("file-submodule", 60140), + fileSymlinkDirectory: register("file-symlink-directory", 60141), + fileSymlinkFile: register("file-symlink-file", 60142), + fileZip: register("file-zip", 60143), + files: register("files", 60144), + filter: register("filter", 60145), + flame: register("flame", 60146), + foldDown: register("fold-down", 60147), + foldUp: register("fold-up", 60148), + fold: register("fold", 60149), + folderActive: register("folder-active", 60150), + folderOpened: register("folder-opened", 60151), + gear: register("gear", 60152), + gift: register("gift", 60153), + gistSecret: register("gist-secret", 60154), + gist: register("gist", 60155), + gitCommit: register("git-commit", 60156), + gitCompare: register("git-compare", 60157), + compareChanges: register("compare-changes", 60157), + gitMerge: register("git-merge", 60158), + githubAction: register("github-action", 60159), + githubAlt: register("github-alt", 60160), + globe: register("globe", 60161), + grabber: register("grabber", 60162), + graph: register("graph", 60163), + gripper: register("gripper", 60164), + heart: register("heart", 60165), + home: register("home", 60166), + horizontalRule: register("horizontal-rule", 60167), + hubot: register("hubot", 60168), + inbox: register("inbox", 60169), + issueReopened: register("issue-reopened", 60171), + issues: register("issues", 60172), + italic: register("italic", 60173), + jersey: register("jersey", 60174), + json: register("json", 60175), + kebabVertical: register("kebab-vertical", 60176), + key: register("key", 60177), + law: register("law", 60178), + lightbulbAutofix: register("lightbulb-autofix", 60179), + linkExternal: register("link-external", 60180), + link: register("link", 60181), + listOrdered: register("list-ordered", 60182), + listUnordered: register("list-unordered", 60183), + liveShare: register("live-share", 60184), + loading: register("loading", 60185), + location: register("location", 60186), + mailRead: register("mail-read", 60187), + mail: register("mail", 60188), + markdown: register("markdown", 60189), + megaphone: register("megaphone", 60190), + mention: register("mention", 60191), + milestone: register("milestone", 60192), + gitPullRequestMilestone: register("git-pull-request-milestone", 60192), + mortarBoard: register("mortar-board", 60193), + move: register("move", 60194), + multipleWindows: register("multiple-windows", 60195), + mute: register("mute", 60196), + noNewline: register("no-newline", 60197), + note: register("note", 60198), + octoface: register("octoface", 60199), + openPreview: register("open-preview", 60200), + package: register("package", 60201), + paintcan: register("paintcan", 60202), + pin: register("pin", 60203), + play: register("play", 60204), + run: register("run", 60204), + plug: register("plug", 60205), + preserveCase: register("preserve-case", 60206), + preview: register("preview", 60207), + project: register("project", 60208), + pulse: register("pulse", 60209), + question: register("question", 60210), + quote: register("quote", 60211), + radioTower: register("radio-tower", 60212), + reactions: register("reactions", 60213), + references: register("references", 60214), + refresh: register("refresh", 60215), + regex: register("regex", 60216), + remoteExplorer: register("remote-explorer", 60217), + remote: register("remote", 60218), + remove: register("remove", 60219), + replaceAll: register("replace-all", 60220), + replace: register("replace", 60221), + repoClone: register("repo-clone", 60222), + repoForcePush: register("repo-force-push", 60223), + repoPull: register("repo-pull", 60224), + repoPush: register("repo-push", 60225), + report: register("report", 60226), + requestChanges: register("request-changes", 60227), + rocket: register("rocket", 60228), + rootFolderOpened: register("root-folder-opened", 60229), + rootFolder: register("root-folder", 60230), + rss: register("rss", 60231), + ruby: register("ruby", 60232), + saveAll: register("save-all", 60233), + saveAs: register("save-as", 60234), + save: register("save", 60235), + screenFull: register("screen-full", 60236), + screenNormal: register("screen-normal", 60237), + searchStop: register("search-stop", 60238), + server: register("server", 60240), + settingsGear: register("settings-gear", 60241), + settings: register("settings", 60242), + shield: register("shield", 60243), + smiley: register("smiley", 60244), + sortPrecedence: register("sort-precedence", 60245), + splitHorizontal: register("split-horizontal", 60246), + splitVertical: register("split-vertical", 60247), + squirrel: register("squirrel", 60248), + starFull: register("star-full", 60249), + starHalf: register("star-half", 60250), + symbolClass: register("symbol-class", 60251), + symbolColor: register("symbol-color", 60252), + symbolConstant: register("symbol-constant", 60253), + symbolEnumMember: register("symbol-enum-member", 60254), + symbolField: register("symbol-field", 60255), + symbolFile: register("symbol-file", 60256), + symbolInterface: register("symbol-interface", 60257), + symbolKeyword: register("symbol-keyword", 60258), + symbolMisc: register("symbol-misc", 60259), + symbolOperator: register("symbol-operator", 60260), + symbolProperty: register("symbol-property", 60261), + wrench: register("wrench", 60261), + wrenchSubaction: register("wrench-subaction", 60261), + symbolSnippet: register("symbol-snippet", 60262), + tasklist: register("tasklist", 60263), + telescope: register("telescope", 60264), + textSize: register("text-size", 60265), + threeBars: register("three-bars", 60266), + thumbsdown: register("thumbsdown", 60267), + thumbsup: register("thumbsup", 60268), + tools: register("tools", 60269), + triangleDown: register("triangle-down", 60270), + triangleLeft: register("triangle-left", 60271), + triangleRight: register("triangle-right", 60272), + triangleUp: register("triangle-up", 60273), + twitter: register("twitter", 60274), + unfold: register("unfold", 60275), + unlock: register("unlock", 60276), + unmute: register("unmute", 60277), + unverified: register("unverified", 60278), + verified: register("verified", 60279), + versions: register("versions", 60280), + vmActive: register("vm-active", 60281), + vmOutline: register("vm-outline", 60282), + vmRunning: register("vm-running", 60283), + watch: register("watch", 60284), + whitespace: register("whitespace", 60285), + wholeWord: register("whole-word", 60286), + window: register("window", 60287), + wordWrap: register("word-wrap", 60288), + zoomIn: register("zoom-in", 60289), + zoomOut: register("zoom-out", 60290), + listFilter: register("list-filter", 60291), + listFlat: register("list-flat", 60292), + listSelection: register("list-selection", 60293), + selection: register("selection", 60293), + listTree: register("list-tree", 60294), + debugBreakpointFunctionUnverified: register("debug-breakpoint-function-unverified", 60295), + debugBreakpointFunction: register("debug-breakpoint-function", 60296), + debugBreakpointFunctionDisabled: register("debug-breakpoint-function-disabled", 60296), + debugStackframeActive: register("debug-stackframe-active", 60297), + circleSmallFilled: register("circle-small-filled", 60298), + debugStackframeDot: register("debug-stackframe-dot", 60298), + terminalDecorationMark: register("terminal-decoration-mark", 60298), + debugStackframe: register("debug-stackframe", 60299), + debugStackframeFocused: register("debug-stackframe-focused", 60299), + debugBreakpointUnsupported: register("debug-breakpoint-unsupported", 60300), + symbolString: register("symbol-string", 60301), + debugReverseContinue: register("debug-reverse-continue", 60302), + debugStepBack: register("debug-step-back", 60303), + debugRestartFrame: register("debug-restart-frame", 60304), + debugAlt: register("debug-alt", 60305), + callIncoming: register("call-incoming", 60306), + callOutgoing: register("call-outgoing", 60307), + menu: register("menu", 60308), + expandAll: register("expand-all", 60309), + feedback: register("feedback", 60310), + gitPullRequestReviewer: register("git-pull-request-reviewer", 60310), + groupByRefType: register("group-by-ref-type", 60311), + ungroupByRefType: register("ungroup-by-ref-type", 60312), + account: register("account", 60313), + gitPullRequestAssignee: register("git-pull-request-assignee", 60313), + bellDot: register("bell-dot", 60314), + debugConsole: register("debug-console", 60315), + library: register("library", 60316), + output: register("output", 60317), + runAll: register("run-all", 60318), + syncIgnored: register("sync-ignored", 60319), + pinned: register("pinned", 60320), + githubInverted: register("github-inverted", 60321), + serverProcess: register("server-process", 60322), + serverEnvironment: register("server-environment", 60323), + pass: register("pass", 60324), + issueClosed: register("issue-closed", 60324), + stopCircle: register("stop-circle", 60325), + playCircle: register("play-circle", 60326), + record: register("record", 60327), + debugAltSmall: register("debug-alt-small", 60328), + vmConnect: register("vm-connect", 60329), + cloud: register("cloud", 60330), + merge: register("merge", 60331), + export: register("export", 60332), + graphLeft: register("graph-left", 60333), + magnet: register("magnet", 60334), + notebook: register("notebook", 60335), + redo: register("redo", 60336), + checkAll: register("check-all", 60337), + pinnedDirty: register("pinned-dirty", 60338), + passFilled: register("pass-filled", 60339), + circleLargeFilled: register("circle-large-filled", 60340), + circleLarge: register("circle-large", 60341), + circleLargeOutline: register("circle-large-outline", 60341), + combine: register("combine", 60342), + gather: register("gather", 60342), + table: register("table", 60343), + variableGroup: register("variable-group", 60344), + typeHierarchy: register("type-hierarchy", 60345), + typeHierarchySub: register("type-hierarchy-sub", 60346), + typeHierarchySuper: register("type-hierarchy-super", 60347), + gitPullRequestCreate: register("git-pull-request-create", 60348), + runAbove: register("run-above", 60349), + runBelow: register("run-below", 60350), + notebookTemplate: register("notebook-template", 60351), + debugRerun: register("debug-rerun", 60352), + workspaceTrusted: register("workspace-trusted", 60353), + workspaceUntrusted: register("workspace-untrusted", 60354), + workspaceUnknown: register("workspace-unknown", 60355), + terminalCmd: register("terminal-cmd", 60356), + terminalDebian: register("terminal-debian", 60357), + terminalLinux: register("terminal-linux", 60358), + terminalPowershell: register("terminal-powershell", 60359), + terminalTmux: register("terminal-tmux", 60360), + terminalUbuntu: register("terminal-ubuntu", 60361), + terminalBash: register("terminal-bash", 60362), + arrowSwap: register("arrow-swap", 60363), + copy: register("copy", 60364), + personAdd: register("person-add", 60365), + filterFilled: register("filter-filled", 60366), + wand: register("wand", 60367), + debugLineByLine: register("debug-line-by-line", 60368), + inspect: register("inspect", 60369), + layers: register("layers", 60370), + layersDot: register("layers-dot", 60371), + layersActive: register("layers-active", 60372), + compass: register("compass", 60373), + compassDot: register("compass-dot", 60374), + compassActive: register("compass-active", 60375), + azure: register("azure", 60376), + issueDraft: register("issue-draft", 60377), + gitPullRequestClosed: register("git-pull-request-closed", 60378), + gitPullRequestDraft: register("git-pull-request-draft", 60379), + debugAll: register("debug-all", 60380), + debugCoverage: register("debug-coverage", 60381), + runErrors: register("run-errors", 60382), + folderLibrary: register("folder-library", 60383), + debugContinueSmall: register("debug-continue-small", 60384), + beakerStop: register("beaker-stop", 60385), + graphLine: register("graph-line", 60386), + graphScatter: register("graph-scatter", 60387), + pieChart: register("pie-chart", 60388), + bracket: register("bracket", 60175), + bracketDot: register("bracket-dot", 60389), + bracketError: register("bracket-error", 60390), + lockSmall: register("lock-small", 60391), + azureDevops: register("azure-devops", 60392), + verifiedFilled: register("verified-filled", 60393), + newline: register("newline", 60394), + layout: register("layout", 60395), + layoutActivitybarLeft: register("layout-activitybar-left", 60396), + layoutActivitybarRight: register("layout-activitybar-right", 60397), + layoutPanelLeft: register("layout-panel-left", 60398), + layoutPanelCenter: register("layout-panel-center", 60399), + layoutPanelJustify: register("layout-panel-justify", 60400), + layoutPanelRight: register("layout-panel-right", 60401), + layoutPanel: register("layout-panel", 60402), + layoutSidebarLeft: register("layout-sidebar-left", 60403), + layoutSidebarRight: register("layout-sidebar-right", 60404), + layoutStatusbar: register("layout-statusbar", 60405), + layoutMenubar: register("layout-menubar", 60406), + layoutCentered: register("layout-centered", 60407), + target: register("target", 60408), + indent: register("indent", 60409), + recordSmall: register("record-small", 60410), + errorSmall: register("error-small", 60411), + terminalDecorationError: register("terminal-decoration-error", 60411), + arrowCircleDown: register("arrow-circle-down", 60412), + arrowCircleLeft: register("arrow-circle-left", 60413), + arrowCircleRight: register("arrow-circle-right", 60414), + arrowCircleUp: register("arrow-circle-up", 60415), + layoutSidebarRightOff: register("layout-sidebar-right-off", 60416), + layoutPanelOff: register("layout-panel-off", 60417), + layoutSidebarLeftOff: register("layout-sidebar-left-off", 60418), + blank: register("blank", 60419), + heartFilled: register("heart-filled", 60420), + map: register("map", 60421), + mapHorizontal: register("map-horizontal", 60421), + foldHorizontal: register("fold-horizontal", 60421), + mapFilled: register("map-filled", 60422), + mapHorizontalFilled: register("map-horizontal-filled", 60422), + foldHorizontalFilled: register("fold-horizontal-filled", 60422), + circleSmall: register("circle-small", 60423), + bellSlash: register("bell-slash", 60424), + bellSlashDot: register("bell-slash-dot", 60425), + commentUnresolved: register("comment-unresolved", 60426), + gitPullRequestGoToChanges: register("git-pull-request-go-to-changes", 60427), + gitPullRequestNewChanges: register("git-pull-request-new-changes", 60428), + searchFuzzy: register("search-fuzzy", 60429), + commentDraft: register("comment-draft", 60430), + send: register("send", 60431), + sparkle: register("sparkle", 60432), + insert: register("insert", 60433), + mic: register("mic", 60434), + thumbsdownFilled: register("thumbsdown-filled", 60435), + thumbsupFilled: register("thumbsup-filled", 60436), + coffee: register("coffee", 60437), + snake: register("snake", 60438), + game: register("game", 60439), + vr: register("vr", 60440), + chip: register("chip", 60441), + piano: register("piano", 60442), + music: register("music", 60443), + micFilled: register("mic-filled", 60444), + repoFetch: register("repo-fetch", 60445), + copilot: register("copilot", 60446), + lightbulbSparkle: register("lightbulb-sparkle", 60447), + robot: register("robot", 60448), + sparkleFilled: register("sparkle-filled", 60449), + diffSingle: register("diff-single", 60450), + diffMultiple: register("diff-multiple", 60451), + surroundWith: register("surround-with", 60452), + share: register("share", 60453), + gitStash: register("git-stash", 60454), + gitStashApply: register("git-stash-apply", 60455), + gitStashPop: register("git-stash-pop", 60456), + vscode: register("vscode", 60457), + vscodeInsiders: register("vscode-insiders", 60458), + codeOss: register("code-oss", 60459), + runCoverage: register("run-coverage", 60460), + runAllCoverage: register("run-all-coverage", 60461), + coverage: register("coverage", 60462), + githubProject: register("github-project", 60463), + mapVertical: register("map-vertical", 60464), + foldVertical: register("fold-vertical", 60464), + mapVerticalFilled: register("map-vertical-filled", 60465), + foldVerticalFilled: register("fold-vertical-filled", 60465), + goToSearch: register("go-to-search", 60466), + percentage: register("percentage", 60467), + sortPercentage: register("sort-percentage", 60467), + attach: register("attach", 60468) + }; + + // node_modules/monaco-editor/esm/vs/base/common/codicons.js + var codiconsDerived = { + dialogError: register("dialog-error", "error"), + dialogWarning: register("dialog-warning", "warning"), + dialogInfo: register("dialog-info", "info"), + dialogClose: register("dialog-close", "close"), + treeItemExpanded: register("tree-item-expanded", "chevron-down"), + // collapsed is done with rotation + treeFilterOnTypeOn: register("tree-filter-on-type-on", "list-filter"), + treeFilterOnTypeOff: register("tree-filter-on-type-off", "list-selection"), + treeFilterClear: register("tree-filter-clear", "close"), + treeItemLoading: register("tree-item-loading", "loading"), + menuSelection: register("menu-selection", "check"), + menuSubmenu: register("menu-submenu", "chevron-right"), + menuBarMore: register("menubar-more", "more"), + scrollbarButtonLeft: register("scrollbar-button-left", "triangle-left"), + scrollbarButtonRight: register("scrollbar-button-right", "triangle-right"), + scrollbarButtonUp: register("scrollbar-button-up", "triangle-up"), + scrollbarButtonDown: register("scrollbar-button-down", "triangle-down"), + toolBarMore: register("toolbar-more", "more"), + quickInputBack: register("quick-input-back", "arrow-left"), + dropDownButton: register("drop-down-button", 60084), + symbolCustomColor: register("symbol-customcolor", 60252), + exportIcon: register("export", 60332), + workspaceUnspecified: register("workspace-unspecified", 60355), + newLine: register("newline", 60394), + thumbsDownFilled: register("thumbsdown-filled", 60435), + thumbsUpFilled: register("thumbsup-filled", 60436), + gitFetch: register("git-fetch", 60445), + lightbulbSparkleAutofix: register("lightbulb-sparkle-autofix", 60447), + debugBreakpointPending: register("debug-breakpoint-pending", 60377) + }; + var Codicon = { + ...codiconsLibrary, + ...codiconsDerived + }; + + // node_modules/monaco-editor/esm/vs/editor/common/tokenizationRegistry.js + var TokenizationRegistry = class { + constructor() { + this._tokenizationSupports = /* @__PURE__ */ new Map(); + this._factories = /* @__PURE__ */ new Map(); + this._onDidChange = new Emitter(); + this.onDidChange = this._onDidChange.event; + this._colorMap = null; + } + handleChange(languageIds) { + this._onDidChange.fire({ + changedLanguages: languageIds, + changedColorMap: false + }); + } + register(languageId, support) { + this._tokenizationSupports.set(languageId, support); + this.handleChange([languageId]); + return toDisposable(() => { + if (this._tokenizationSupports.get(languageId) !== support) { + return; + } + this._tokenizationSupports.delete(languageId); + this.handleChange([languageId]); + }); + } + get(languageId) { + return this._tokenizationSupports.get(languageId) || null; + } + registerFactory(languageId, factory) { + this._factories.get(languageId)?.dispose(); + const myData = new TokenizationSupportFactoryData(this, languageId, factory); + this._factories.set(languageId, myData); + return toDisposable(() => { + const v = this._factories.get(languageId); + if (!v || v !== myData) { + return; + } + this._factories.delete(languageId); + v.dispose(); + }); + } + async getOrCreate(languageId) { + const tokenizationSupport = this.get(languageId); + if (tokenizationSupport) { + return tokenizationSupport; + } + const factory = this._factories.get(languageId); + if (!factory || factory.isResolved) { + return null; + } + await factory.resolve(); + return this.get(languageId); + } + isResolved(languageId) { + const tokenizationSupport = this.get(languageId); + if (tokenizationSupport) { + return true; + } + const factory = this._factories.get(languageId); + if (!factory || factory.isResolved) { + return true; + } + return false; + } + setColorMap(colorMap) { + this._colorMap = colorMap; + this._onDidChange.fire({ + changedLanguages: Array.from(this._tokenizationSupports.keys()), + changedColorMap: true + }); + } + getColorMap() { + return this._colorMap; + } + getDefaultBackground() { + if (this._colorMap && this._colorMap.length > 2) { + return this._colorMap[ + 2 + /* ColorId.DefaultBackground */ + ]; + } + return null; + } + }; + var TokenizationSupportFactoryData = class extends Disposable { + get isResolved() { + return this._isResolved; + } + constructor(_registry, _languageId, _factory) { + super(); + this._registry = _registry; + this._languageId = _languageId; + this._factory = _factory; + this._isDisposed = false; + this._resolvePromise = null; + this._isResolved = false; + } + dispose() { + this._isDisposed = true; + super.dispose(); + } + async resolve() { + if (!this._resolvePromise) { + this._resolvePromise = this._create(); + } + return this._resolvePromise; + } + async _create() { + const value = await this._factory.tokenizationSupport; + this._isResolved = true; + if (value && !this._isDisposed) { + this._register(this._registry.register(this._languageId, value)); + } + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/languages.js + var Token = class { + constructor(offset, type, language) { + this.offset = offset; + this.type = type; + this.language = language; + this._tokenBrand = void 0; + } + toString() { + return "(" + this.offset + ", " + this.type + ")"; + } + }; + var HoverVerbosityAction; + (function(HoverVerbosityAction3) { + HoverVerbosityAction3[HoverVerbosityAction3["Increase"] = 0] = "Increase"; + HoverVerbosityAction3[HoverVerbosityAction3["Decrease"] = 1] = "Decrease"; + })(HoverVerbosityAction || (HoverVerbosityAction = {})); + var CompletionItemKinds; + (function(CompletionItemKinds2) { + const byKind = /* @__PURE__ */ new Map(); + byKind.set(0, Codicon.symbolMethod); + byKind.set(1, Codicon.symbolFunction); + byKind.set(2, Codicon.symbolConstructor); + byKind.set(3, Codicon.symbolField); + byKind.set(4, Codicon.symbolVariable); + byKind.set(5, Codicon.symbolClass); + byKind.set(6, Codicon.symbolStruct); + byKind.set(7, Codicon.symbolInterface); + byKind.set(8, Codicon.symbolModule); + byKind.set(9, Codicon.symbolProperty); + byKind.set(10, Codicon.symbolEvent); + byKind.set(11, Codicon.symbolOperator); + byKind.set(12, Codicon.symbolUnit); + byKind.set(13, Codicon.symbolValue); + byKind.set(15, Codicon.symbolEnum); + byKind.set(14, Codicon.symbolConstant); + byKind.set(15, Codicon.symbolEnum); + byKind.set(16, Codicon.symbolEnumMember); + byKind.set(17, Codicon.symbolKeyword); + byKind.set(27, Codicon.symbolSnippet); + byKind.set(18, Codicon.symbolText); + byKind.set(19, Codicon.symbolColor); + byKind.set(20, Codicon.symbolFile); + byKind.set(21, Codicon.symbolReference); + byKind.set(22, Codicon.symbolCustomColor); + byKind.set(23, Codicon.symbolFolder); + byKind.set(24, Codicon.symbolTypeParameter); + byKind.set(25, Codicon.account); + byKind.set(26, Codicon.issues); + function toIcon(kind) { + let codicon = byKind.get(kind); + if (!codicon) { + console.info("No codicon found for CompletionItemKind " + kind); + codicon = Codicon.symbolProperty; + } + return codicon; + } + CompletionItemKinds2.toIcon = toIcon; + const data = /* @__PURE__ */ new Map(); + data.set( + "method", + 0 + /* CompletionItemKind.Method */ + ); + data.set( + "function", + 1 + /* CompletionItemKind.Function */ + ); + data.set( + "constructor", + 2 + /* CompletionItemKind.Constructor */ + ); + data.set( + "field", + 3 + /* CompletionItemKind.Field */ + ); + data.set( + "variable", + 4 + /* CompletionItemKind.Variable */ + ); + data.set( + "class", + 5 + /* CompletionItemKind.Class */ + ); + data.set( + "struct", + 6 + /* CompletionItemKind.Struct */ + ); + data.set( + "interface", + 7 + /* CompletionItemKind.Interface */ + ); + data.set( + "module", + 8 + /* CompletionItemKind.Module */ + ); + data.set( + "property", + 9 + /* CompletionItemKind.Property */ + ); + data.set( + "event", + 10 + /* CompletionItemKind.Event */ + ); + data.set( + "operator", + 11 + /* CompletionItemKind.Operator */ + ); + data.set( + "unit", + 12 + /* CompletionItemKind.Unit */ + ); + data.set( + "value", + 13 + /* CompletionItemKind.Value */ + ); + data.set( + "constant", + 14 + /* CompletionItemKind.Constant */ + ); + data.set( + "enum", + 15 + /* CompletionItemKind.Enum */ + ); + data.set( + "enum-member", + 16 + /* CompletionItemKind.EnumMember */ + ); + data.set( + "enumMember", + 16 + /* CompletionItemKind.EnumMember */ + ); + data.set( + "keyword", + 17 + /* CompletionItemKind.Keyword */ + ); + data.set( + "snippet", + 27 + /* CompletionItemKind.Snippet */ + ); + data.set( + "text", + 18 + /* CompletionItemKind.Text */ + ); + data.set( + "color", + 19 + /* CompletionItemKind.Color */ + ); + data.set( + "file", + 20 + /* CompletionItemKind.File */ + ); + data.set( + "reference", + 21 + /* CompletionItemKind.Reference */ + ); + data.set( + "customcolor", + 22 + /* CompletionItemKind.Customcolor */ + ); + data.set( + "folder", + 23 + /* CompletionItemKind.Folder */ + ); + data.set( + "type-parameter", + 24 + /* CompletionItemKind.TypeParameter */ + ); + data.set( + "typeParameter", + 24 + /* CompletionItemKind.TypeParameter */ + ); + data.set( + "account", + 25 + /* CompletionItemKind.User */ + ); + data.set( + "issue", + 26 + /* CompletionItemKind.Issue */ + ); + function fromString(value, strict) { + let res = data.get(value); + if (typeof res === "undefined" && !strict) { + res = 9; + } + return res; + } + CompletionItemKinds2.fromString = fromString; + })(CompletionItemKinds || (CompletionItemKinds = {})); + var InlineCompletionTriggerKind; + (function(InlineCompletionTriggerKind4) { + InlineCompletionTriggerKind4[InlineCompletionTriggerKind4["Automatic"] = 0] = "Automatic"; + InlineCompletionTriggerKind4[InlineCompletionTriggerKind4["Explicit"] = 1] = "Explicit"; + })(InlineCompletionTriggerKind || (InlineCompletionTriggerKind = {})); + var DocumentPasteTriggerKind; + (function(DocumentPasteTriggerKind2) { + DocumentPasteTriggerKind2[DocumentPasteTriggerKind2["Automatic"] = 0] = "Automatic"; + DocumentPasteTriggerKind2[DocumentPasteTriggerKind2["PasteAs"] = 1] = "PasteAs"; + })(DocumentPasteTriggerKind || (DocumentPasteTriggerKind = {})); + var SignatureHelpTriggerKind; + (function(SignatureHelpTriggerKind3) { + SignatureHelpTriggerKind3[SignatureHelpTriggerKind3["Invoke"] = 1] = "Invoke"; + SignatureHelpTriggerKind3[SignatureHelpTriggerKind3["TriggerCharacter"] = 2] = "TriggerCharacter"; + SignatureHelpTriggerKind3[SignatureHelpTriggerKind3["ContentChange"] = 3] = "ContentChange"; + })(SignatureHelpTriggerKind || (SignatureHelpTriggerKind = {})); + var DocumentHighlightKind; + (function(DocumentHighlightKind4) { + DocumentHighlightKind4[DocumentHighlightKind4["Text"] = 0] = "Text"; + DocumentHighlightKind4[DocumentHighlightKind4["Read"] = 1] = "Read"; + DocumentHighlightKind4[DocumentHighlightKind4["Write"] = 2] = "Write"; + })(DocumentHighlightKind || (DocumentHighlightKind = {})); + var symbolKindNames = { + [ + 17 + /* SymbolKind.Array */ + ]: localize("Array", "array"), + [ + 16 + /* SymbolKind.Boolean */ + ]: localize("Boolean", "boolean"), + [ + 4 + /* SymbolKind.Class */ + ]: localize("Class", "class"), + [ + 13 + /* SymbolKind.Constant */ + ]: localize("Constant", "constant"), + [ + 8 + /* SymbolKind.Constructor */ + ]: localize("Constructor", "constructor"), + [ + 9 + /* SymbolKind.Enum */ + ]: localize("Enum", "enumeration"), + [ + 21 + /* SymbolKind.EnumMember */ + ]: localize("EnumMember", "enumeration member"), + [ + 23 + /* SymbolKind.Event */ + ]: localize("Event", "event"), + [ + 7 + /* SymbolKind.Field */ + ]: localize("Field", "field"), + [ + 0 + /* SymbolKind.File */ + ]: localize("File", "file"), + [ + 11 + /* SymbolKind.Function */ + ]: localize("Function", "function"), + [ + 10 + /* SymbolKind.Interface */ + ]: localize("Interface", "interface"), + [ + 19 + /* SymbolKind.Key */ + ]: localize("Key", "key"), + [ + 5 + /* SymbolKind.Method */ + ]: localize("Method", "method"), + [ + 1 + /* SymbolKind.Module */ + ]: localize("Module", "module"), + [ + 2 + /* SymbolKind.Namespace */ + ]: localize("Namespace", "namespace"), + [ + 20 + /* SymbolKind.Null */ + ]: localize("Null", "null"), + [ + 15 + /* SymbolKind.Number */ + ]: localize("Number", "number"), + [ + 18 + /* SymbolKind.Object */ + ]: localize("Object", "object"), + [ + 24 + /* SymbolKind.Operator */ + ]: localize("Operator", "operator"), + [ + 3 + /* SymbolKind.Package */ + ]: localize("Package", "package"), + [ + 6 + /* SymbolKind.Property */ + ]: localize("Property", "property"), + [ + 14 + /* SymbolKind.String */ + ]: localize("String", "string"), + [ + 22 + /* SymbolKind.Struct */ + ]: localize("Struct", "struct"), + [ + 25 + /* SymbolKind.TypeParameter */ + ]: localize("TypeParameter", "type parameter"), + [ + 12 + /* SymbolKind.Variable */ + ]: localize("Variable", "variable") + }; + var SymbolKinds; + (function(SymbolKinds2) { + const byKind = /* @__PURE__ */ new Map(); + byKind.set(0, Codicon.symbolFile); + byKind.set(1, Codicon.symbolModule); + byKind.set(2, Codicon.symbolNamespace); + byKind.set(3, Codicon.symbolPackage); + byKind.set(4, Codicon.symbolClass); + byKind.set(5, Codicon.symbolMethod); + byKind.set(6, Codicon.symbolProperty); + byKind.set(7, Codicon.symbolField); + byKind.set(8, Codicon.symbolConstructor); + byKind.set(9, Codicon.symbolEnum); + byKind.set(10, Codicon.symbolInterface); + byKind.set(11, Codicon.symbolFunction); + byKind.set(12, Codicon.symbolVariable); + byKind.set(13, Codicon.symbolConstant); + byKind.set(14, Codicon.symbolString); + byKind.set(15, Codicon.symbolNumber); + byKind.set(16, Codicon.symbolBoolean); + byKind.set(17, Codicon.symbolArray); + byKind.set(18, Codicon.symbolObject); + byKind.set(19, Codicon.symbolKey); + byKind.set(20, Codicon.symbolNull); + byKind.set(21, Codicon.symbolEnumMember); + byKind.set(22, Codicon.symbolStruct); + byKind.set(23, Codicon.symbolEvent); + byKind.set(24, Codicon.symbolOperator); + byKind.set(25, Codicon.symbolTypeParameter); + function toIcon(kind) { + let icon = byKind.get(kind); + if (!icon) { + console.info("No codicon found for SymbolKind " + kind); + icon = Codicon.symbolProperty; + } + return icon; + } + SymbolKinds2.toIcon = toIcon; + })(SymbolKinds || (SymbolKinds = {})); + var FoldingRangeKind = class _FoldingRangeKind { + static { + this.Comment = new _FoldingRangeKind("comment"); + } + static { + this.Imports = new _FoldingRangeKind("imports"); + } + static { + this.Region = new _FoldingRangeKind("region"); + } + /** + * Returns a {@link FoldingRangeKind} for the given value. + * + * @param value of the kind. + */ + static fromValue(value) { + switch (value) { + case "comment": + return _FoldingRangeKind.Comment; + case "imports": + return _FoldingRangeKind.Imports; + case "region": + return _FoldingRangeKind.Region; + } + return new _FoldingRangeKind(value); + } + /** + * Creates a new {@link FoldingRangeKind}. + * + * @param value of the kind. + */ + constructor(value) { + this.value = value; + } + }; + var NewSymbolNameTag; + (function(NewSymbolNameTag3) { + NewSymbolNameTag3[NewSymbolNameTag3["AIGenerated"] = 1] = "AIGenerated"; + })(NewSymbolNameTag || (NewSymbolNameTag = {})); + var NewSymbolNameTriggerKind; + (function(NewSymbolNameTriggerKind3) { + NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3["Invoke"] = 0] = "Invoke"; + NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3["Automatic"] = 1] = "Automatic"; + })(NewSymbolNameTriggerKind || (NewSymbolNameTriggerKind = {})); + var Command; + (function(Command3) { + function is(obj) { + if (!obj || typeof obj !== "object") { + return false; + } + return typeof obj.id === "string" && typeof obj.title === "string"; + } + Command3.is = is; + })(Command || (Command = {})); + var InlayHintKind; + (function(InlayHintKind4) { + InlayHintKind4[InlayHintKind4["Type"] = 1] = "Type"; + InlayHintKind4[InlayHintKind4["Parameter"] = 2] = "Parameter"; + })(InlayHintKind || (InlayHintKind = {})); + var TokenizationRegistry2 = new TokenizationRegistry(); + var TreeSitterTokenizationRegistry = new TokenizationRegistry(); + var InlineEditTriggerKind; + (function(InlineEditTriggerKind3) { + InlineEditTriggerKind3[InlineEditTriggerKind3["Invoke"] = 0] = "Invoke"; + InlineEditTriggerKind3[InlineEditTriggerKind3["Automatic"] = 1] = "Automatic"; + })(InlineEditTriggerKind || (InlineEditTriggerKind = {})); + + // node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneEnums.js + var AccessibilitySupport; + (function(AccessibilitySupport2) { + AccessibilitySupport2[AccessibilitySupport2["Unknown"] = 0] = "Unknown"; + AccessibilitySupport2[AccessibilitySupport2["Disabled"] = 1] = "Disabled"; + AccessibilitySupport2[AccessibilitySupport2["Enabled"] = 2] = "Enabled"; + })(AccessibilitySupport || (AccessibilitySupport = {})); + var CodeActionTriggerType; + (function(CodeActionTriggerType2) { + CodeActionTriggerType2[CodeActionTriggerType2["Invoke"] = 1] = "Invoke"; + CodeActionTriggerType2[CodeActionTriggerType2["Auto"] = 2] = "Auto"; + })(CodeActionTriggerType || (CodeActionTriggerType = {})); + var CompletionItemInsertTextRule; + (function(CompletionItemInsertTextRule2) { + CompletionItemInsertTextRule2[CompletionItemInsertTextRule2["None"] = 0] = "None"; + CompletionItemInsertTextRule2[CompletionItemInsertTextRule2["KeepWhitespace"] = 1] = "KeepWhitespace"; + CompletionItemInsertTextRule2[CompletionItemInsertTextRule2["InsertAsSnippet"] = 4] = "InsertAsSnippet"; + })(CompletionItemInsertTextRule || (CompletionItemInsertTextRule = {})); + var CompletionItemKind; + (function(CompletionItemKind3) { + CompletionItemKind3[CompletionItemKind3["Method"] = 0] = "Method"; + CompletionItemKind3[CompletionItemKind3["Function"] = 1] = "Function"; + CompletionItemKind3[CompletionItemKind3["Constructor"] = 2] = "Constructor"; + CompletionItemKind3[CompletionItemKind3["Field"] = 3] = "Field"; + CompletionItemKind3[CompletionItemKind3["Variable"] = 4] = "Variable"; + CompletionItemKind3[CompletionItemKind3["Class"] = 5] = "Class"; + CompletionItemKind3[CompletionItemKind3["Struct"] = 6] = "Struct"; + CompletionItemKind3[CompletionItemKind3["Interface"] = 7] = "Interface"; + CompletionItemKind3[CompletionItemKind3["Module"] = 8] = "Module"; + CompletionItemKind3[CompletionItemKind3["Property"] = 9] = "Property"; + CompletionItemKind3[CompletionItemKind3["Event"] = 10] = "Event"; + CompletionItemKind3[CompletionItemKind3["Operator"] = 11] = "Operator"; + CompletionItemKind3[CompletionItemKind3["Unit"] = 12] = "Unit"; + CompletionItemKind3[CompletionItemKind3["Value"] = 13] = "Value"; + CompletionItemKind3[CompletionItemKind3["Constant"] = 14] = "Constant"; + CompletionItemKind3[CompletionItemKind3["Enum"] = 15] = "Enum"; + CompletionItemKind3[CompletionItemKind3["EnumMember"] = 16] = "EnumMember"; + CompletionItemKind3[CompletionItemKind3["Keyword"] = 17] = "Keyword"; + CompletionItemKind3[CompletionItemKind3["Text"] = 18] = "Text"; + CompletionItemKind3[CompletionItemKind3["Color"] = 19] = "Color"; + CompletionItemKind3[CompletionItemKind3["File"] = 20] = "File"; + CompletionItemKind3[CompletionItemKind3["Reference"] = 21] = "Reference"; + CompletionItemKind3[CompletionItemKind3["Customcolor"] = 22] = "Customcolor"; + CompletionItemKind3[CompletionItemKind3["Folder"] = 23] = "Folder"; + CompletionItemKind3[CompletionItemKind3["TypeParameter"] = 24] = "TypeParameter"; + CompletionItemKind3[CompletionItemKind3["User"] = 25] = "User"; + CompletionItemKind3[CompletionItemKind3["Issue"] = 26] = "Issue"; + CompletionItemKind3[CompletionItemKind3["Snippet"] = 27] = "Snippet"; + })(CompletionItemKind || (CompletionItemKind = {})); + var CompletionItemTag; + (function(CompletionItemTag3) { + CompletionItemTag3[CompletionItemTag3["Deprecated"] = 1] = "Deprecated"; + })(CompletionItemTag || (CompletionItemTag = {})); + var CompletionTriggerKind; + (function(CompletionTriggerKind2) { + CompletionTriggerKind2[CompletionTriggerKind2["Invoke"] = 0] = "Invoke"; + CompletionTriggerKind2[CompletionTriggerKind2["TriggerCharacter"] = 1] = "TriggerCharacter"; + CompletionTriggerKind2[CompletionTriggerKind2["TriggerForIncompleteCompletions"] = 2] = "TriggerForIncompleteCompletions"; + })(CompletionTriggerKind || (CompletionTriggerKind = {})); + var ContentWidgetPositionPreference; + (function(ContentWidgetPositionPreference2) { + ContentWidgetPositionPreference2[ContentWidgetPositionPreference2["EXACT"] = 0] = "EXACT"; + ContentWidgetPositionPreference2[ContentWidgetPositionPreference2["ABOVE"] = 1] = "ABOVE"; + ContentWidgetPositionPreference2[ContentWidgetPositionPreference2["BELOW"] = 2] = "BELOW"; + })(ContentWidgetPositionPreference || (ContentWidgetPositionPreference = {})); + var CursorChangeReason; + (function(CursorChangeReason2) { + CursorChangeReason2[CursorChangeReason2["NotSet"] = 0] = "NotSet"; + CursorChangeReason2[CursorChangeReason2["ContentFlush"] = 1] = "ContentFlush"; + CursorChangeReason2[CursorChangeReason2["RecoverFromMarkers"] = 2] = "RecoverFromMarkers"; + CursorChangeReason2[CursorChangeReason2["Explicit"] = 3] = "Explicit"; + CursorChangeReason2[CursorChangeReason2["Paste"] = 4] = "Paste"; + CursorChangeReason2[CursorChangeReason2["Undo"] = 5] = "Undo"; + CursorChangeReason2[CursorChangeReason2["Redo"] = 6] = "Redo"; + })(CursorChangeReason || (CursorChangeReason = {})); + var DefaultEndOfLine; + (function(DefaultEndOfLine2) { + DefaultEndOfLine2[DefaultEndOfLine2["LF"] = 1] = "LF"; + DefaultEndOfLine2[DefaultEndOfLine2["CRLF"] = 2] = "CRLF"; + })(DefaultEndOfLine || (DefaultEndOfLine = {})); + var DocumentHighlightKind2; + (function(DocumentHighlightKind4) { + DocumentHighlightKind4[DocumentHighlightKind4["Text"] = 0] = "Text"; + DocumentHighlightKind4[DocumentHighlightKind4["Read"] = 1] = "Read"; + DocumentHighlightKind4[DocumentHighlightKind4["Write"] = 2] = "Write"; + })(DocumentHighlightKind2 || (DocumentHighlightKind2 = {})); + var EditorAutoIndentStrategy; + (function(EditorAutoIndentStrategy2) { + EditorAutoIndentStrategy2[EditorAutoIndentStrategy2["None"] = 0] = "None"; + EditorAutoIndentStrategy2[EditorAutoIndentStrategy2["Keep"] = 1] = "Keep"; + EditorAutoIndentStrategy2[EditorAutoIndentStrategy2["Brackets"] = 2] = "Brackets"; + EditorAutoIndentStrategy2[EditorAutoIndentStrategy2["Advanced"] = 3] = "Advanced"; + EditorAutoIndentStrategy2[EditorAutoIndentStrategy2["Full"] = 4] = "Full"; + })(EditorAutoIndentStrategy || (EditorAutoIndentStrategy = {})); + var EditorOption; + (function(EditorOption2) { + EditorOption2[EditorOption2["acceptSuggestionOnCommitCharacter"] = 0] = "acceptSuggestionOnCommitCharacter"; + EditorOption2[EditorOption2["acceptSuggestionOnEnter"] = 1] = "acceptSuggestionOnEnter"; + EditorOption2[EditorOption2["accessibilitySupport"] = 2] = "accessibilitySupport"; + EditorOption2[EditorOption2["accessibilityPageSize"] = 3] = "accessibilityPageSize"; + EditorOption2[EditorOption2["ariaLabel"] = 4] = "ariaLabel"; + EditorOption2[EditorOption2["ariaRequired"] = 5] = "ariaRequired"; + EditorOption2[EditorOption2["autoClosingBrackets"] = 6] = "autoClosingBrackets"; + EditorOption2[EditorOption2["autoClosingComments"] = 7] = "autoClosingComments"; + EditorOption2[EditorOption2["screenReaderAnnounceInlineSuggestion"] = 8] = "screenReaderAnnounceInlineSuggestion"; + EditorOption2[EditorOption2["autoClosingDelete"] = 9] = "autoClosingDelete"; + EditorOption2[EditorOption2["autoClosingOvertype"] = 10] = "autoClosingOvertype"; + EditorOption2[EditorOption2["autoClosingQuotes"] = 11] = "autoClosingQuotes"; + EditorOption2[EditorOption2["autoIndent"] = 12] = "autoIndent"; + EditorOption2[EditorOption2["automaticLayout"] = 13] = "automaticLayout"; + EditorOption2[EditorOption2["autoSurround"] = 14] = "autoSurround"; + EditorOption2[EditorOption2["bracketPairColorization"] = 15] = "bracketPairColorization"; + EditorOption2[EditorOption2["guides"] = 16] = "guides"; + EditorOption2[EditorOption2["codeLens"] = 17] = "codeLens"; + EditorOption2[EditorOption2["codeLensFontFamily"] = 18] = "codeLensFontFamily"; + EditorOption2[EditorOption2["codeLensFontSize"] = 19] = "codeLensFontSize"; + EditorOption2[EditorOption2["colorDecorators"] = 20] = "colorDecorators"; + EditorOption2[EditorOption2["colorDecoratorsLimit"] = 21] = "colorDecoratorsLimit"; + EditorOption2[EditorOption2["columnSelection"] = 22] = "columnSelection"; + EditorOption2[EditorOption2["comments"] = 23] = "comments"; + EditorOption2[EditorOption2["contextmenu"] = 24] = "contextmenu"; + EditorOption2[EditorOption2["copyWithSyntaxHighlighting"] = 25] = "copyWithSyntaxHighlighting"; + EditorOption2[EditorOption2["cursorBlinking"] = 26] = "cursorBlinking"; + EditorOption2[EditorOption2["cursorSmoothCaretAnimation"] = 27] = "cursorSmoothCaretAnimation"; + EditorOption2[EditorOption2["cursorStyle"] = 28] = "cursorStyle"; + EditorOption2[EditorOption2["cursorSurroundingLines"] = 29] = "cursorSurroundingLines"; + EditorOption2[EditorOption2["cursorSurroundingLinesStyle"] = 30] = "cursorSurroundingLinesStyle"; + EditorOption2[EditorOption2["cursorWidth"] = 31] = "cursorWidth"; + EditorOption2[EditorOption2["disableLayerHinting"] = 32] = "disableLayerHinting"; + EditorOption2[EditorOption2["disableMonospaceOptimizations"] = 33] = "disableMonospaceOptimizations"; + EditorOption2[EditorOption2["domReadOnly"] = 34] = "domReadOnly"; + EditorOption2[EditorOption2["dragAndDrop"] = 35] = "dragAndDrop"; + EditorOption2[EditorOption2["dropIntoEditor"] = 36] = "dropIntoEditor"; + EditorOption2[EditorOption2["emptySelectionClipboard"] = 37] = "emptySelectionClipboard"; + EditorOption2[EditorOption2["experimentalWhitespaceRendering"] = 38] = "experimentalWhitespaceRendering"; + EditorOption2[EditorOption2["extraEditorClassName"] = 39] = "extraEditorClassName"; + EditorOption2[EditorOption2["fastScrollSensitivity"] = 40] = "fastScrollSensitivity"; + EditorOption2[EditorOption2["find"] = 41] = "find"; + EditorOption2[EditorOption2["fixedOverflowWidgets"] = 42] = "fixedOverflowWidgets"; + EditorOption2[EditorOption2["folding"] = 43] = "folding"; + EditorOption2[EditorOption2["foldingStrategy"] = 44] = "foldingStrategy"; + EditorOption2[EditorOption2["foldingHighlight"] = 45] = "foldingHighlight"; + EditorOption2[EditorOption2["foldingImportsByDefault"] = 46] = "foldingImportsByDefault"; + EditorOption2[EditorOption2["foldingMaximumRegions"] = 47] = "foldingMaximumRegions"; + EditorOption2[EditorOption2["unfoldOnClickAfterEndOfLine"] = 48] = "unfoldOnClickAfterEndOfLine"; + EditorOption2[EditorOption2["fontFamily"] = 49] = "fontFamily"; + EditorOption2[EditorOption2["fontInfo"] = 50] = "fontInfo"; + EditorOption2[EditorOption2["fontLigatures"] = 51] = "fontLigatures"; + EditorOption2[EditorOption2["fontSize"] = 52] = "fontSize"; + EditorOption2[EditorOption2["fontWeight"] = 53] = "fontWeight"; + EditorOption2[EditorOption2["fontVariations"] = 54] = "fontVariations"; + EditorOption2[EditorOption2["formatOnPaste"] = 55] = "formatOnPaste"; + EditorOption2[EditorOption2["formatOnType"] = 56] = "formatOnType"; + EditorOption2[EditorOption2["glyphMargin"] = 57] = "glyphMargin"; + EditorOption2[EditorOption2["gotoLocation"] = 58] = "gotoLocation"; + EditorOption2[EditorOption2["hideCursorInOverviewRuler"] = 59] = "hideCursorInOverviewRuler"; + EditorOption2[EditorOption2["hover"] = 60] = "hover"; + EditorOption2[EditorOption2["inDiffEditor"] = 61] = "inDiffEditor"; + EditorOption2[EditorOption2["inlineSuggest"] = 62] = "inlineSuggest"; + EditorOption2[EditorOption2["inlineEdit"] = 63] = "inlineEdit"; + EditorOption2[EditorOption2["letterSpacing"] = 64] = "letterSpacing"; + EditorOption2[EditorOption2["lightbulb"] = 65] = "lightbulb"; + EditorOption2[EditorOption2["lineDecorationsWidth"] = 66] = "lineDecorationsWidth"; + EditorOption2[EditorOption2["lineHeight"] = 67] = "lineHeight"; + EditorOption2[EditorOption2["lineNumbers"] = 68] = "lineNumbers"; + EditorOption2[EditorOption2["lineNumbersMinChars"] = 69] = "lineNumbersMinChars"; + EditorOption2[EditorOption2["linkedEditing"] = 70] = "linkedEditing"; + EditorOption2[EditorOption2["links"] = 71] = "links"; + EditorOption2[EditorOption2["matchBrackets"] = 72] = "matchBrackets"; + EditorOption2[EditorOption2["minimap"] = 73] = "minimap"; + EditorOption2[EditorOption2["mouseStyle"] = 74] = "mouseStyle"; + EditorOption2[EditorOption2["mouseWheelScrollSensitivity"] = 75] = "mouseWheelScrollSensitivity"; + EditorOption2[EditorOption2["mouseWheelZoom"] = 76] = "mouseWheelZoom"; + EditorOption2[EditorOption2["multiCursorMergeOverlapping"] = 77] = "multiCursorMergeOverlapping"; + EditorOption2[EditorOption2["multiCursorModifier"] = 78] = "multiCursorModifier"; + EditorOption2[EditorOption2["multiCursorPaste"] = 79] = "multiCursorPaste"; + EditorOption2[EditorOption2["multiCursorLimit"] = 80] = "multiCursorLimit"; + EditorOption2[EditorOption2["occurrencesHighlight"] = 81] = "occurrencesHighlight"; + EditorOption2[EditorOption2["overviewRulerBorder"] = 82] = "overviewRulerBorder"; + EditorOption2[EditorOption2["overviewRulerLanes"] = 83] = "overviewRulerLanes"; + EditorOption2[EditorOption2["padding"] = 84] = "padding"; + EditorOption2[EditorOption2["pasteAs"] = 85] = "pasteAs"; + EditorOption2[EditorOption2["parameterHints"] = 86] = "parameterHints"; + EditorOption2[EditorOption2["peekWidgetDefaultFocus"] = 87] = "peekWidgetDefaultFocus"; + EditorOption2[EditorOption2["placeholder"] = 88] = "placeholder"; + EditorOption2[EditorOption2["definitionLinkOpensInPeek"] = 89] = "definitionLinkOpensInPeek"; + EditorOption2[EditorOption2["quickSuggestions"] = 90] = "quickSuggestions"; + EditorOption2[EditorOption2["quickSuggestionsDelay"] = 91] = "quickSuggestionsDelay"; + EditorOption2[EditorOption2["readOnly"] = 92] = "readOnly"; + EditorOption2[EditorOption2["readOnlyMessage"] = 93] = "readOnlyMessage"; + EditorOption2[EditorOption2["renameOnType"] = 94] = "renameOnType"; + EditorOption2[EditorOption2["renderControlCharacters"] = 95] = "renderControlCharacters"; + EditorOption2[EditorOption2["renderFinalNewline"] = 96] = "renderFinalNewline"; + EditorOption2[EditorOption2["renderLineHighlight"] = 97] = "renderLineHighlight"; + EditorOption2[EditorOption2["renderLineHighlightOnlyWhenFocus"] = 98] = "renderLineHighlightOnlyWhenFocus"; + EditorOption2[EditorOption2["renderValidationDecorations"] = 99] = "renderValidationDecorations"; + EditorOption2[EditorOption2["renderWhitespace"] = 100] = "renderWhitespace"; + EditorOption2[EditorOption2["revealHorizontalRightPadding"] = 101] = "revealHorizontalRightPadding"; + EditorOption2[EditorOption2["roundedSelection"] = 102] = "roundedSelection"; + EditorOption2[EditorOption2["rulers"] = 103] = "rulers"; + EditorOption2[EditorOption2["scrollbar"] = 104] = "scrollbar"; + EditorOption2[EditorOption2["scrollBeyondLastColumn"] = 105] = "scrollBeyondLastColumn"; + EditorOption2[EditorOption2["scrollBeyondLastLine"] = 106] = "scrollBeyondLastLine"; + EditorOption2[EditorOption2["scrollPredominantAxis"] = 107] = "scrollPredominantAxis"; + EditorOption2[EditorOption2["selectionClipboard"] = 108] = "selectionClipboard"; + EditorOption2[EditorOption2["selectionHighlight"] = 109] = "selectionHighlight"; + EditorOption2[EditorOption2["selectOnLineNumbers"] = 110] = "selectOnLineNumbers"; + EditorOption2[EditorOption2["showFoldingControls"] = 111] = "showFoldingControls"; + EditorOption2[EditorOption2["showUnused"] = 112] = "showUnused"; + EditorOption2[EditorOption2["snippetSuggestions"] = 113] = "snippetSuggestions"; + EditorOption2[EditorOption2["smartSelect"] = 114] = "smartSelect"; + EditorOption2[EditorOption2["smoothScrolling"] = 115] = "smoothScrolling"; + EditorOption2[EditorOption2["stickyScroll"] = 116] = "stickyScroll"; + EditorOption2[EditorOption2["stickyTabStops"] = 117] = "stickyTabStops"; + EditorOption2[EditorOption2["stopRenderingLineAfter"] = 118] = "stopRenderingLineAfter"; + EditorOption2[EditorOption2["suggest"] = 119] = "suggest"; + EditorOption2[EditorOption2["suggestFontSize"] = 120] = "suggestFontSize"; + EditorOption2[EditorOption2["suggestLineHeight"] = 121] = "suggestLineHeight"; + EditorOption2[EditorOption2["suggestOnTriggerCharacters"] = 122] = "suggestOnTriggerCharacters"; + EditorOption2[EditorOption2["suggestSelection"] = 123] = "suggestSelection"; + EditorOption2[EditorOption2["tabCompletion"] = 124] = "tabCompletion"; + EditorOption2[EditorOption2["tabIndex"] = 125] = "tabIndex"; + EditorOption2[EditorOption2["unicodeHighlighting"] = 126] = "unicodeHighlighting"; + EditorOption2[EditorOption2["unusualLineTerminators"] = 127] = "unusualLineTerminators"; + EditorOption2[EditorOption2["useShadowDOM"] = 128] = "useShadowDOM"; + EditorOption2[EditorOption2["useTabStops"] = 129] = "useTabStops"; + EditorOption2[EditorOption2["wordBreak"] = 130] = "wordBreak"; + EditorOption2[EditorOption2["wordSegmenterLocales"] = 131] = "wordSegmenterLocales"; + EditorOption2[EditorOption2["wordSeparators"] = 132] = "wordSeparators"; + EditorOption2[EditorOption2["wordWrap"] = 133] = "wordWrap"; + EditorOption2[EditorOption2["wordWrapBreakAfterCharacters"] = 134] = "wordWrapBreakAfterCharacters"; + EditorOption2[EditorOption2["wordWrapBreakBeforeCharacters"] = 135] = "wordWrapBreakBeforeCharacters"; + EditorOption2[EditorOption2["wordWrapColumn"] = 136] = "wordWrapColumn"; + EditorOption2[EditorOption2["wordWrapOverride1"] = 137] = "wordWrapOverride1"; + EditorOption2[EditorOption2["wordWrapOverride2"] = 138] = "wordWrapOverride2"; + EditorOption2[EditorOption2["wrappingIndent"] = 139] = "wrappingIndent"; + EditorOption2[EditorOption2["wrappingStrategy"] = 140] = "wrappingStrategy"; + EditorOption2[EditorOption2["showDeprecated"] = 141] = "showDeprecated"; + EditorOption2[EditorOption2["inlayHints"] = 142] = "inlayHints"; + EditorOption2[EditorOption2["editorClassName"] = 143] = "editorClassName"; + EditorOption2[EditorOption2["pixelRatio"] = 144] = "pixelRatio"; + EditorOption2[EditorOption2["tabFocusMode"] = 145] = "tabFocusMode"; + EditorOption2[EditorOption2["layoutInfo"] = 146] = "layoutInfo"; + EditorOption2[EditorOption2["wrappingInfo"] = 147] = "wrappingInfo"; + EditorOption2[EditorOption2["defaultColorDecorators"] = 148] = "defaultColorDecorators"; + EditorOption2[EditorOption2["colorDecoratorsActivatedOn"] = 149] = "colorDecoratorsActivatedOn"; + EditorOption2[EditorOption2["inlineCompletionsAccessibilityVerbose"] = 150] = "inlineCompletionsAccessibilityVerbose"; + })(EditorOption || (EditorOption = {})); + var EndOfLinePreference; + (function(EndOfLinePreference2) { + EndOfLinePreference2[EndOfLinePreference2["TextDefined"] = 0] = "TextDefined"; + EndOfLinePreference2[EndOfLinePreference2["LF"] = 1] = "LF"; + EndOfLinePreference2[EndOfLinePreference2["CRLF"] = 2] = "CRLF"; + })(EndOfLinePreference || (EndOfLinePreference = {})); + var EndOfLineSequence; + (function(EndOfLineSequence2) { + EndOfLineSequence2[EndOfLineSequence2["LF"] = 0] = "LF"; + EndOfLineSequence2[EndOfLineSequence2["CRLF"] = 1] = "CRLF"; + })(EndOfLineSequence || (EndOfLineSequence = {})); + var GlyphMarginLane; + (function(GlyphMarginLane3) { + GlyphMarginLane3[GlyphMarginLane3["Left"] = 1] = "Left"; + GlyphMarginLane3[GlyphMarginLane3["Center"] = 2] = "Center"; + GlyphMarginLane3[GlyphMarginLane3["Right"] = 3] = "Right"; + })(GlyphMarginLane || (GlyphMarginLane = {})); + var HoverVerbosityAction2; + (function(HoverVerbosityAction3) { + HoverVerbosityAction3[HoverVerbosityAction3["Increase"] = 0] = "Increase"; + HoverVerbosityAction3[HoverVerbosityAction3["Decrease"] = 1] = "Decrease"; + })(HoverVerbosityAction2 || (HoverVerbosityAction2 = {})); + var IndentAction; + (function(IndentAction2) { + IndentAction2[IndentAction2["None"] = 0] = "None"; + IndentAction2[IndentAction2["Indent"] = 1] = "Indent"; + IndentAction2[IndentAction2["IndentOutdent"] = 2] = "IndentOutdent"; + IndentAction2[IndentAction2["Outdent"] = 3] = "Outdent"; + })(IndentAction || (IndentAction = {})); + var InjectedTextCursorStops; + (function(InjectedTextCursorStops3) { + InjectedTextCursorStops3[InjectedTextCursorStops3["Both"] = 0] = "Both"; + InjectedTextCursorStops3[InjectedTextCursorStops3["Right"] = 1] = "Right"; + InjectedTextCursorStops3[InjectedTextCursorStops3["Left"] = 2] = "Left"; + InjectedTextCursorStops3[InjectedTextCursorStops3["None"] = 3] = "None"; + })(InjectedTextCursorStops || (InjectedTextCursorStops = {})); + var InlayHintKind2; + (function(InlayHintKind4) { + InlayHintKind4[InlayHintKind4["Type"] = 1] = "Type"; + InlayHintKind4[InlayHintKind4["Parameter"] = 2] = "Parameter"; + })(InlayHintKind2 || (InlayHintKind2 = {})); + var InlineCompletionTriggerKind2; + (function(InlineCompletionTriggerKind4) { + InlineCompletionTriggerKind4[InlineCompletionTriggerKind4["Automatic"] = 0] = "Automatic"; + InlineCompletionTriggerKind4[InlineCompletionTriggerKind4["Explicit"] = 1] = "Explicit"; + })(InlineCompletionTriggerKind2 || (InlineCompletionTriggerKind2 = {})); + var InlineEditTriggerKind2; + (function(InlineEditTriggerKind3) { + InlineEditTriggerKind3[InlineEditTriggerKind3["Invoke"] = 0] = "Invoke"; + InlineEditTriggerKind3[InlineEditTriggerKind3["Automatic"] = 1] = "Automatic"; + })(InlineEditTriggerKind2 || (InlineEditTriggerKind2 = {})); + var KeyCode; + (function(KeyCode2) { + KeyCode2[KeyCode2["DependsOnKbLayout"] = -1] = "DependsOnKbLayout"; + KeyCode2[KeyCode2["Unknown"] = 0] = "Unknown"; + KeyCode2[KeyCode2["Backspace"] = 1] = "Backspace"; + KeyCode2[KeyCode2["Tab"] = 2] = "Tab"; + KeyCode2[KeyCode2["Enter"] = 3] = "Enter"; + KeyCode2[KeyCode2["Shift"] = 4] = "Shift"; + KeyCode2[KeyCode2["Ctrl"] = 5] = "Ctrl"; + KeyCode2[KeyCode2["Alt"] = 6] = "Alt"; + KeyCode2[KeyCode2["PauseBreak"] = 7] = "PauseBreak"; + KeyCode2[KeyCode2["CapsLock"] = 8] = "CapsLock"; + KeyCode2[KeyCode2["Escape"] = 9] = "Escape"; + KeyCode2[KeyCode2["Space"] = 10] = "Space"; + KeyCode2[KeyCode2["PageUp"] = 11] = "PageUp"; + KeyCode2[KeyCode2["PageDown"] = 12] = "PageDown"; + KeyCode2[KeyCode2["End"] = 13] = "End"; + KeyCode2[KeyCode2["Home"] = 14] = "Home"; + KeyCode2[KeyCode2["LeftArrow"] = 15] = "LeftArrow"; + KeyCode2[KeyCode2["UpArrow"] = 16] = "UpArrow"; + KeyCode2[KeyCode2["RightArrow"] = 17] = "RightArrow"; + KeyCode2[KeyCode2["DownArrow"] = 18] = "DownArrow"; + KeyCode2[KeyCode2["Insert"] = 19] = "Insert"; + KeyCode2[KeyCode2["Delete"] = 20] = "Delete"; + KeyCode2[KeyCode2["Digit0"] = 21] = "Digit0"; + KeyCode2[KeyCode2["Digit1"] = 22] = "Digit1"; + KeyCode2[KeyCode2["Digit2"] = 23] = "Digit2"; + KeyCode2[KeyCode2["Digit3"] = 24] = "Digit3"; + KeyCode2[KeyCode2["Digit4"] = 25] = "Digit4"; + KeyCode2[KeyCode2["Digit5"] = 26] = "Digit5"; + KeyCode2[KeyCode2["Digit6"] = 27] = "Digit6"; + KeyCode2[KeyCode2["Digit7"] = 28] = "Digit7"; + KeyCode2[KeyCode2["Digit8"] = 29] = "Digit8"; + KeyCode2[KeyCode2["Digit9"] = 30] = "Digit9"; + KeyCode2[KeyCode2["KeyA"] = 31] = "KeyA"; + KeyCode2[KeyCode2["KeyB"] = 32] = "KeyB"; + KeyCode2[KeyCode2["KeyC"] = 33] = "KeyC"; + KeyCode2[KeyCode2["KeyD"] = 34] = "KeyD"; + KeyCode2[KeyCode2["KeyE"] = 35] = "KeyE"; + KeyCode2[KeyCode2["KeyF"] = 36] = "KeyF"; + KeyCode2[KeyCode2["KeyG"] = 37] = "KeyG"; + KeyCode2[KeyCode2["KeyH"] = 38] = "KeyH"; + KeyCode2[KeyCode2["KeyI"] = 39] = "KeyI"; + KeyCode2[KeyCode2["KeyJ"] = 40] = "KeyJ"; + KeyCode2[KeyCode2["KeyK"] = 41] = "KeyK"; + KeyCode2[KeyCode2["KeyL"] = 42] = "KeyL"; + KeyCode2[KeyCode2["KeyM"] = 43] = "KeyM"; + KeyCode2[KeyCode2["KeyN"] = 44] = "KeyN"; + KeyCode2[KeyCode2["KeyO"] = 45] = "KeyO"; + KeyCode2[KeyCode2["KeyP"] = 46] = "KeyP"; + KeyCode2[KeyCode2["KeyQ"] = 47] = "KeyQ"; + KeyCode2[KeyCode2["KeyR"] = 48] = "KeyR"; + KeyCode2[KeyCode2["KeyS"] = 49] = "KeyS"; + KeyCode2[KeyCode2["KeyT"] = 50] = "KeyT"; + KeyCode2[KeyCode2["KeyU"] = 51] = "KeyU"; + KeyCode2[KeyCode2["KeyV"] = 52] = "KeyV"; + KeyCode2[KeyCode2["KeyW"] = 53] = "KeyW"; + KeyCode2[KeyCode2["KeyX"] = 54] = "KeyX"; + KeyCode2[KeyCode2["KeyY"] = 55] = "KeyY"; + KeyCode2[KeyCode2["KeyZ"] = 56] = "KeyZ"; + KeyCode2[KeyCode2["Meta"] = 57] = "Meta"; + KeyCode2[KeyCode2["ContextMenu"] = 58] = "ContextMenu"; + KeyCode2[KeyCode2["F1"] = 59] = "F1"; + KeyCode2[KeyCode2["F2"] = 60] = "F2"; + KeyCode2[KeyCode2["F3"] = 61] = "F3"; + KeyCode2[KeyCode2["F4"] = 62] = "F4"; + KeyCode2[KeyCode2["F5"] = 63] = "F5"; + KeyCode2[KeyCode2["F6"] = 64] = "F6"; + KeyCode2[KeyCode2["F7"] = 65] = "F7"; + KeyCode2[KeyCode2["F8"] = 66] = "F8"; + KeyCode2[KeyCode2["F9"] = 67] = "F9"; + KeyCode2[KeyCode2["F10"] = 68] = "F10"; + KeyCode2[KeyCode2["F11"] = 69] = "F11"; + KeyCode2[KeyCode2["F12"] = 70] = "F12"; + KeyCode2[KeyCode2["F13"] = 71] = "F13"; + KeyCode2[KeyCode2["F14"] = 72] = "F14"; + KeyCode2[KeyCode2["F15"] = 73] = "F15"; + KeyCode2[KeyCode2["F16"] = 74] = "F16"; + KeyCode2[KeyCode2["F17"] = 75] = "F17"; + KeyCode2[KeyCode2["F18"] = 76] = "F18"; + KeyCode2[KeyCode2["F19"] = 77] = "F19"; + KeyCode2[KeyCode2["F20"] = 78] = "F20"; + KeyCode2[KeyCode2["F21"] = 79] = "F21"; + KeyCode2[KeyCode2["F22"] = 80] = "F22"; + KeyCode2[KeyCode2["F23"] = 81] = "F23"; + KeyCode2[KeyCode2["F24"] = 82] = "F24"; + KeyCode2[KeyCode2["NumLock"] = 83] = "NumLock"; + KeyCode2[KeyCode2["ScrollLock"] = 84] = "ScrollLock"; + KeyCode2[KeyCode2["Semicolon"] = 85] = "Semicolon"; + KeyCode2[KeyCode2["Equal"] = 86] = "Equal"; + KeyCode2[KeyCode2["Comma"] = 87] = "Comma"; + KeyCode2[KeyCode2["Minus"] = 88] = "Minus"; + KeyCode2[KeyCode2["Period"] = 89] = "Period"; + KeyCode2[KeyCode2["Slash"] = 90] = "Slash"; + KeyCode2[KeyCode2["Backquote"] = 91] = "Backquote"; + KeyCode2[KeyCode2["BracketLeft"] = 92] = "BracketLeft"; + KeyCode2[KeyCode2["Backslash"] = 93] = "Backslash"; + KeyCode2[KeyCode2["BracketRight"] = 94] = "BracketRight"; + KeyCode2[KeyCode2["Quote"] = 95] = "Quote"; + KeyCode2[KeyCode2["OEM_8"] = 96] = "OEM_8"; + KeyCode2[KeyCode2["IntlBackslash"] = 97] = "IntlBackslash"; + KeyCode2[KeyCode2["Numpad0"] = 98] = "Numpad0"; + KeyCode2[KeyCode2["Numpad1"] = 99] = "Numpad1"; + KeyCode2[KeyCode2["Numpad2"] = 100] = "Numpad2"; + KeyCode2[KeyCode2["Numpad3"] = 101] = "Numpad3"; + KeyCode2[KeyCode2["Numpad4"] = 102] = "Numpad4"; + KeyCode2[KeyCode2["Numpad5"] = 103] = "Numpad5"; + KeyCode2[KeyCode2["Numpad6"] = 104] = "Numpad6"; + KeyCode2[KeyCode2["Numpad7"] = 105] = "Numpad7"; + KeyCode2[KeyCode2["Numpad8"] = 106] = "Numpad8"; + KeyCode2[KeyCode2["Numpad9"] = 107] = "Numpad9"; + KeyCode2[KeyCode2["NumpadMultiply"] = 108] = "NumpadMultiply"; + KeyCode2[KeyCode2["NumpadAdd"] = 109] = "NumpadAdd"; + KeyCode2[KeyCode2["NUMPAD_SEPARATOR"] = 110] = "NUMPAD_SEPARATOR"; + KeyCode2[KeyCode2["NumpadSubtract"] = 111] = "NumpadSubtract"; + KeyCode2[KeyCode2["NumpadDecimal"] = 112] = "NumpadDecimal"; + KeyCode2[KeyCode2["NumpadDivide"] = 113] = "NumpadDivide"; + KeyCode2[KeyCode2["KEY_IN_COMPOSITION"] = 114] = "KEY_IN_COMPOSITION"; + KeyCode2[KeyCode2["ABNT_C1"] = 115] = "ABNT_C1"; + KeyCode2[KeyCode2["ABNT_C2"] = 116] = "ABNT_C2"; + KeyCode2[KeyCode2["AudioVolumeMute"] = 117] = "AudioVolumeMute"; + KeyCode2[KeyCode2["AudioVolumeUp"] = 118] = "AudioVolumeUp"; + KeyCode2[KeyCode2["AudioVolumeDown"] = 119] = "AudioVolumeDown"; + KeyCode2[KeyCode2["BrowserSearch"] = 120] = "BrowserSearch"; + KeyCode2[KeyCode2["BrowserHome"] = 121] = "BrowserHome"; + KeyCode2[KeyCode2["BrowserBack"] = 122] = "BrowserBack"; + KeyCode2[KeyCode2["BrowserForward"] = 123] = "BrowserForward"; + KeyCode2[KeyCode2["MediaTrackNext"] = 124] = "MediaTrackNext"; + KeyCode2[KeyCode2["MediaTrackPrevious"] = 125] = "MediaTrackPrevious"; + KeyCode2[KeyCode2["MediaStop"] = 126] = "MediaStop"; + KeyCode2[KeyCode2["MediaPlayPause"] = 127] = "MediaPlayPause"; + KeyCode2[KeyCode2["LaunchMediaPlayer"] = 128] = "LaunchMediaPlayer"; + KeyCode2[KeyCode2["LaunchMail"] = 129] = "LaunchMail"; + KeyCode2[KeyCode2["LaunchApp2"] = 130] = "LaunchApp2"; + KeyCode2[KeyCode2["Clear"] = 131] = "Clear"; + KeyCode2[KeyCode2["MAX_VALUE"] = 132] = "MAX_VALUE"; + })(KeyCode || (KeyCode = {})); + var MarkerSeverity; + (function(MarkerSeverity2) { + MarkerSeverity2[MarkerSeverity2["Hint"] = 1] = "Hint"; + MarkerSeverity2[MarkerSeverity2["Info"] = 2] = "Info"; + MarkerSeverity2[MarkerSeverity2["Warning"] = 4] = "Warning"; + MarkerSeverity2[MarkerSeverity2["Error"] = 8] = "Error"; + })(MarkerSeverity || (MarkerSeverity = {})); + var MarkerTag; + (function(MarkerTag2) { + MarkerTag2[MarkerTag2["Unnecessary"] = 1] = "Unnecessary"; + MarkerTag2[MarkerTag2["Deprecated"] = 2] = "Deprecated"; + })(MarkerTag || (MarkerTag = {})); + var MinimapPosition; + (function(MinimapPosition2) { + MinimapPosition2[MinimapPosition2["Inline"] = 1] = "Inline"; + MinimapPosition2[MinimapPosition2["Gutter"] = 2] = "Gutter"; + })(MinimapPosition || (MinimapPosition = {})); + var MinimapSectionHeaderStyle; + (function(MinimapSectionHeaderStyle2) { + MinimapSectionHeaderStyle2[MinimapSectionHeaderStyle2["Normal"] = 1] = "Normal"; + MinimapSectionHeaderStyle2[MinimapSectionHeaderStyle2["Underlined"] = 2] = "Underlined"; + })(MinimapSectionHeaderStyle || (MinimapSectionHeaderStyle = {})); + var MouseTargetType; + (function(MouseTargetType2) { + MouseTargetType2[MouseTargetType2["UNKNOWN"] = 0] = "UNKNOWN"; + MouseTargetType2[MouseTargetType2["TEXTAREA"] = 1] = "TEXTAREA"; + MouseTargetType2[MouseTargetType2["GUTTER_GLYPH_MARGIN"] = 2] = "GUTTER_GLYPH_MARGIN"; + MouseTargetType2[MouseTargetType2["GUTTER_LINE_NUMBERS"] = 3] = "GUTTER_LINE_NUMBERS"; + MouseTargetType2[MouseTargetType2["GUTTER_LINE_DECORATIONS"] = 4] = "GUTTER_LINE_DECORATIONS"; + MouseTargetType2[MouseTargetType2["GUTTER_VIEW_ZONE"] = 5] = "GUTTER_VIEW_ZONE"; + MouseTargetType2[MouseTargetType2["CONTENT_TEXT"] = 6] = "CONTENT_TEXT"; + MouseTargetType2[MouseTargetType2["CONTENT_EMPTY"] = 7] = "CONTENT_EMPTY"; + MouseTargetType2[MouseTargetType2["CONTENT_VIEW_ZONE"] = 8] = "CONTENT_VIEW_ZONE"; + MouseTargetType2[MouseTargetType2["CONTENT_WIDGET"] = 9] = "CONTENT_WIDGET"; + MouseTargetType2[MouseTargetType2["OVERVIEW_RULER"] = 10] = "OVERVIEW_RULER"; + MouseTargetType2[MouseTargetType2["SCROLLBAR"] = 11] = "SCROLLBAR"; + MouseTargetType2[MouseTargetType2["OVERLAY_WIDGET"] = 12] = "OVERLAY_WIDGET"; + MouseTargetType2[MouseTargetType2["OUTSIDE_EDITOR"] = 13] = "OUTSIDE_EDITOR"; + })(MouseTargetType || (MouseTargetType = {})); + var NewSymbolNameTag2; + (function(NewSymbolNameTag3) { + NewSymbolNameTag3[NewSymbolNameTag3["AIGenerated"] = 1] = "AIGenerated"; + })(NewSymbolNameTag2 || (NewSymbolNameTag2 = {})); + var NewSymbolNameTriggerKind2; + (function(NewSymbolNameTriggerKind3) { + NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3["Invoke"] = 0] = "Invoke"; + NewSymbolNameTriggerKind3[NewSymbolNameTriggerKind3["Automatic"] = 1] = "Automatic"; + })(NewSymbolNameTriggerKind2 || (NewSymbolNameTriggerKind2 = {})); + var OverlayWidgetPositionPreference; + (function(OverlayWidgetPositionPreference2) { + OverlayWidgetPositionPreference2[OverlayWidgetPositionPreference2["TOP_RIGHT_CORNER"] = 0] = "TOP_RIGHT_CORNER"; + OverlayWidgetPositionPreference2[OverlayWidgetPositionPreference2["BOTTOM_RIGHT_CORNER"] = 1] = "BOTTOM_RIGHT_CORNER"; + OverlayWidgetPositionPreference2[OverlayWidgetPositionPreference2["TOP_CENTER"] = 2] = "TOP_CENTER"; + })(OverlayWidgetPositionPreference || (OverlayWidgetPositionPreference = {})); + var OverviewRulerLane; + (function(OverviewRulerLane3) { + OverviewRulerLane3[OverviewRulerLane3["Left"] = 1] = "Left"; + OverviewRulerLane3[OverviewRulerLane3["Center"] = 2] = "Center"; + OverviewRulerLane3[OverviewRulerLane3["Right"] = 4] = "Right"; + OverviewRulerLane3[OverviewRulerLane3["Full"] = 7] = "Full"; + })(OverviewRulerLane || (OverviewRulerLane = {})); + var PartialAcceptTriggerKind; + (function(PartialAcceptTriggerKind2) { + PartialAcceptTriggerKind2[PartialAcceptTriggerKind2["Word"] = 0] = "Word"; + PartialAcceptTriggerKind2[PartialAcceptTriggerKind2["Line"] = 1] = "Line"; + PartialAcceptTriggerKind2[PartialAcceptTriggerKind2["Suggest"] = 2] = "Suggest"; + })(PartialAcceptTriggerKind || (PartialAcceptTriggerKind = {})); + var PositionAffinity; + (function(PositionAffinity2) { + PositionAffinity2[PositionAffinity2["Left"] = 0] = "Left"; + PositionAffinity2[PositionAffinity2["Right"] = 1] = "Right"; + PositionAffinity2[PositionAffinity2["None"] = 2] = "None"; + PositionAffinity2[PositionAffinity2["LeftOfInjectedText"] = 3] = "LeftOfInjectedText"; + PositionAffinity2[PositionAffinity2["RightOfInjectedText"] = 4] = "RightOfInjectedText"; + })(PositionAffinity || (PositionAffinity = {})); + var RenderLineNumbersType; + (function(RenderLineNumbersType2) { + RenderLineNumbersType2[RenderLineNumbersType2["Off"] = 0] = "Off"; + RenderLineNumbersType2[RenderLineNumbersType2["On"] = 1] = "On"; + RenderLineNumbersType2[RenderLineNumbersType2["Relative"] = 2] = "Relative"; + RenderLineNumbersType2[RenderLineNumbersType2["Interval"] = 3] = "Interval"; + RenderLineNumbersType2[RenderLineNumbersType2["Custom"] = 4] = "Custom"; + })(RenderLineNumbersType || (RenderLineNumbersType = {})); + var RenderMinimap; + (function(RenderMinimap2) { + RenderMinimap2[RenderMinimap2["None"] = 0] = "None"; + RenderMinimap2[RenderMinimap2["Text"] = 1] = "Text"; + RenderMinimap2[RenderMinimap2["Blocks"] = 2] = "Blocks"; + })(RenderMinimap || (RenderMinimap = {})); + var ScrollType; + (function(ScrollType2) { + ScrollType2[ScrollType2["Smooth"] = 0] = "Smooth"; + ScrollType2[ScrollType2["Immediate"] = 1] = "Immediate"; + })(ScrollType || (ScrollType = {})); + var ScrollbarVisibility; + (function(ScrollbarVisibility2) { + ScrollbarVisibility2[ScrollbarVisibility2["Auto"] = 1] = "Auto"; + ScrollbarVisibility2[ScrollbarVisibility2["Hidden"] = 2] = "Hidden"; + ScrollbarVisibility2[ScrollbarVisibility2["Visible"] = 3] = "Visible"; + })(ScrollbarVisibility || (ScrollbarVisibility = {})); + var SelectionDirection; + (function(SelectionDirection2) { + SelectionDirection2[SelectionDirection2["LTR"] = 0] = "LTR"; + SelectionDirection2[SelectionDirection2["RTL"] = 1] = "RTL"; + })(SelectionDirection || (SelectionDirection = {})); + var ShowLightbulbIconMode; + (function(ShowLightbulbIconMode2) { + ShowLightbulbIconMode2["Off"] = "off"; + ShowLightbulbIconMode2["OnCode"] = "onCode"; + ShowLightbulbIconMode2["On"] = "on"; + })(ShowLightbulbIconMode || (ShowLightbulbIconMode = {})); + var SignatureHelpTriggerKind2; + (function(SignatureHelpTriggerKind3) { + SignatureHelpTriggerKind3[SignatureHelpTriggerKind3["Invoke"] = 1] = "Invoke"; + SignatureHelpTriggerKind3[SignatureHelpTriggerKind3["TriggerCharacter"] = 2] = "TriggerCharacter"; + SignatureHelpTriggerKind3[SignatureHelpTriggerKind3["ContentChange"] = 3] = "ContentChange"; + })(SignatureHelpTriggerKind2 || (SignatureHelpTriggerKind2 = {})); + var SymbolKind; + (function(SymbolKind3) { + SymbolKind3[SymbolKind3["File"] = 0] = "File"; + SymbolKind3[SymbolKind3["Module"] = 1] = "Module"; + SymbolKind3[SymbolKind3["Namespace"] = 2] = "Namespace"; + SymbolKind3[SymbolKind3["Package"] = 3] = "Package"; + SymbolKind3[SymbolKind3["Class"] = 4] = "Class"; + SymbolKind3[SymbolKind3["Method"] = 5] = "Method"; + SymbolKind3[SymbolKind3["Property"] = 6] = "Property"; + SymbolKind3[SymbolKind3["Field"] = 7] = "Field"; + SymbolKind3[SymbolKind3["Constructor"] = 8] = "Constructor"; + SymbolKind3[SymbolKind3["Enum"] = 9] = "Enum"; + SymbolKind3[SymbolKind3["Interface"] = 10] = "Interface"; + SymbolKind3[SymbolKind3["Function"] = 11] = "Function"; + SymbolKind3[SymbolKind3["Variable"] = 12] = "Variable"; + SymbolKind3[SymbolKind3["Constant"] = 13] = "Constant"; + SymbolKind3[SymbolKind3["String"] = 14] = "String"; + SymbolKind3[SymbolKind3["Number"] = 15] = "Number"; + SymbolKind3[SymbolKind3["Boolean"] = 16] = "Boolean"; + SymbolKind3[SymbolKind3["Array"] = 17] = "Array"; + SymbolKind3[SymbolKind3["Object"] = 18] = "Object"; + SymbolKind3[SymbolKind3["Key"] = 19] = "Key"; + SymbolKind3[SymbolKind3["Null"] = 20] = "Null"; + SymbolKind3[SymbolKind3["EnumMember"] = 21] = "EnumMember"; + SymbolKind3[SymbolKind3["Struct"] = 22] = "Struct"; + SymbolKind3[SymbolKind3["Event"] = 23] = "Event"; + SymbolKind3[SymbolKind3["Operator"] = 24] = "Operator"; + SymbolKind3[SymbolKind3["TypeParameter"] = 25] = "TypeParameter"; + })(SymbolKind || (SymbolKind = {})); + var SymbolTag; + (function(SymbolTag3) { + SymbolTag3[SymbolTag3["Deprecated"] = 1] = "Deprecated"; + })(SymbolTag || (SymbolTag = {})); + var TextEditorCursorBlinkingStyle; + (function(TextEditorCursorBlinkingStyle2) { + TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2["Hidden"] = 0] = "Hidden"; + TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2["Blink"] = 1] = "Blink"; + TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2["Smooth"] = 2] = "Smooth"; + TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2["Phase"] = 3] = "Phase"; + TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2["Expand"] = 4] = "Expand"; + TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2["Solid"] = 5] = "Solid"; + })(TextEditorCursorBlinkingStyle || (TextEditorCursorBlinkingStyle = {})); + var TextEditorCursorStyle; + (function(TextEditorCursorStyle2) { + TextEditorCursorStyle2[TextEditorCursorStyle2["Line"] = 1] = "Line"; + TextEditorCursorStyle2[TextEditorCursorStyle2["Block"] = 2] = "Block"; + TextEditorCursorStyle2[TextEditorCursorStyle2["Underline"] = 3] = "Underline"; + TextEditorCursorStyle2[TextEditorCursorStyle2["LineThin"] = 4] = "LineThin"; + TextEditorCursorStyle2[TextEditorCursorStyle2["BlockOutline"] = 5] = "BlockOutline"; + TextEditorCursorStyle2[TextEditorCursorStyle2["UnderlineThin"] = 6] = "UnderlineThin"; + })(TextEditorCursorStyle || (TextEditorCursorStyle = {})); + var TrackedRangeStickiness; + (function(TrackedRangeStickiness2) { + TrackedRangeStickiness2[TrackedRangeStickiness2["AlwaysGrowsWhenTypingAtEdges"] = 0] = "AlwaysGrowsWhenTypingAtEdges"; + TrackedRangeStickiness2[TrackedRangeStickiness2["NeverGrowsWhenTypingAtEdges"] = 1] = "NeverGrowsWhenTypingAtEdges"; + TrackedRangeStickiness2[TrackedRangeStickiness2["GrowsOnlyWhenTypingBefore"] = 2] = "GrowsOnlyWhenTypingBefore"; + TrackedRangeStickiness2[TrackedRangeStickiness2["GrowsOnlyWhenTypingAfter"] = 3] = "GrowsOnlyWhenTypingAfter"; + })(TrackedRangeStickiness || (TrackedRangeStickiness = {})); + var WrappingIndent; + (function(WrappingIndent2) { + WrappingIndent2[WrappingIndent2["None"] = 0] = "None"; + WrappingIndent2[WrappingIndent2["Same"] = 1] = "Same"; + WrappingIndent2[WrappingIndent2["Indent"] = 2] = "Indent"; + WrappingIndent2[WrappingIndent2["DeepIndent"] = 3] = "DeepIndent"; + })(WrappingIndent || (WrappingIndent = {})); + + // node_modules/monaco-editor/esm/vs/editor/common/services/editorBaseApi.js + var KeyMod = class { + static { + this.CtrlCmd = 2048; + } + static { + this.Shift = 1024; + } + static { + this.Alt = 512; + } + static { + this.WinCtrl = 256; + } + static chord(firstPart, secondPart) { + return KeyChord(firstPart, secondPart); + } + }; + function createMonacoBaseAPI() { + return { + editor: void 0, + // undefined override expected here + languages: void 0, + // undefined override expected here + CancellationTokenSource, + Emitter, + KeyCode, + KeyMod, + Position, + Range, + Selection, + SelectionDirection, + MarkerSeverity, + MarkerTag, + Uri: URI, + Token + }; + } + + // node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerHost.js + var EditorWorkerHost = class _EditorWorkerHost { + static { + this.CHANNEL_NAME = "editorWorkerHost"; + } + static getChannel(workerServer) { + return workerServer.getChannel(_EditorWorkerHost.CHANNEL_NAME); + } + static setChannel(workerClient, obj) { + workerClient.setChannel(_EditorWorkerHost.CHANNEL_NAME, obj); + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/map.js + var _a; + var _b; + var ResourceMapEntry = class { + constructor(uri, value) { + this.uri = uri; + this.value = value; + } + }; + function isEntries(arg) { + return Array.isArray(arg); + } + var ResourceMap = class _ResourceMap { + static { + this.defaultToKey = (resource) => resource.toString(); + } + constructor(arg, toKey) { + this[_a] = "ResourceMap"; + if (arg instanceof _ResourceMap) { + this.map = new Map(arg.map); + this.toKey = toKey ?? _ResourceMap.defaultToKey; + } else if (isEntries(arg)) { + this.map = /* @__PURE__ */ new Map(); + this.toKey = toKey ?? _ResourceMap.defaultToKey; + for (const [resource, value] of arg) { + this.set(resource, value); + } + } else { + this.map = /* @__PURE__ */ new Map(); + this.toKey = arg ?? _ResourceMap.defaultToKey; + } + } + set(resource, value) { + this.map.set(this.toKey(resource), new ResourceMapEntry(resource, value)); + return this; + } + get(resource) { + return this.map.get(this.toKey(resource))?.value; + } + has(resource) { + return this.map.has(this.toKey(resource)); + } + get size() { + return this.map.size; + } + clear() { + this.map.clear(); + } + delete(resource) { + return this.map.delete(this.toKey(resource)); + } + forEach(clb, thisArg) { + if (typeof thisArg !== "undefined") { + clb = clb.bind(thisArg); + } + for (const [_, entry] of this.map) { + clb(entry.value, entry.uri, this); + } + } + *values() { + for (const entry of this.map.values()) { + yield entry.value; + } + } + *keys() { + for (const entry of this.map.values()) { + yield entry.uri; + } + } + *entries() { + for (const entry of this.map.values()) { + yield [entry.uri, entry.value]; + } + } + *[(_a = Symbol.toStringTag, Symbol.iterator)]() { + for (const [, entry] of this.map) { + yield [entry.uri, entry.value]; + } + } + }; + var LinkedMap = class { + constructor() { + this[_b] = "LinkedMap"; + this._map = /* @__PURE__ */ new Map(); + this._head = void 0; + this._tail = void 0; + this._size = 0; + this._state = 0; + } + clear() { + this._map.clear(); + this._head = void 0; + this._tail = void 0; + this._size = 0; + this._state++; + } + isEmpty() { + return !this._head && !this._tail; + } + get size() { + return this._size; + } + get first() { + return this._head?.value; + } + get last() { + return this._tail?.value; + } + has(key) { + return this._map.has(key); + } + get(key, touch = 0) { + const item = this._map.get(key); + if (!item) { + return void 0; + } + if (touch !== 0) { + this.touch(item, touch); + } + return item.value; + } + set(key, value, touch = 0) { + let item = this._map.get(key); + if (item) { + item.value = value; + if (touch !== 0) { + this.touch(item, touch); + } + } else { + item = { key, value, next: void 0, previous: void 0 }; + switch (touch) { + case 0: + this.addItemLast(item); + break; + case 1: + this.addItemFirst(item); + break; + case 2: + this.addItemLast(item); + break; + default: + this.addItemLast(item); + break; + } + this._map.set(key, item); + this._size++; + } + return this; + } + delete(key) { + return !!this.remove(key); + } + remove(key) { + const item = this._map.get(key); + if (!item) { + return void 0; + } + this._map.delete(key); + this.removeItem(item); + this._size--; + return item.value; + } + shift() { + if (!this._head && !this._tail) { + return void 0; + } + if (!this._head || !this._tail) { + throw new Error("Invalid list"); + } + const item = this._head; + this._map.delete(item.key); + this.removeItem(item); + this._size--; + return item.value; + } + forEach(callbackfn, thisArg) { + const state = this._state; + let current = this._head; + while (current) { + if (thisArg) { + callbackfn.bind(thisArg)(current.value, current.key, this); + } else { + callbackfn(current.value, current.key, this); + } + if (this._state !== state) { + throw new Error(`LinkedMap got modified during iteration.`); + } + current = current.next; + } + } + keys() { + const map = this; + const state = this._state; + let current = this._head; + const iterator = { + [Symbol.iterator]() { + return iterator; + }, + next() { + if (map._state !== state) { + throw new Error(`LinkedMap got modified during iteration.`); + } + if (current) { + const result = { value: current.key, done: false }; + current = current.next; + return result; + } else { + return { value: void 0, done: true }; + } + } + }; + return iterator; + } + values() { + const map = this; + const state = this._state; + let current = this._head; + const iterator = { + [Symbol.iterator]() { + return iterator; + }, + next() { + if (map._state !== state) { + throw new Error(`LinkedMap got modified during iteration.`); + } + if (current) { + const result = { value: current.value, done: false }; + current = current.next; + return result; + } else { + return { value: void 0, done: true }; + } + } + }; + return iterator; + } + entries() { + const map = this; + const state = this._state; + let current = this._head; + const iterator = { + [Symbol.iterator]() { + return iterator; + }, + next() { + if (map._state !== state) { + throw new Error(`LinkedMap got modified during iteration.`); + } + if (current) { + const result = { value: [current.key, current.value], done: false }; + current = current.next; + return result; + } else { + return { value: void 0, done: true }; + } + } + }; + return iterator; + } + [(_b = Symbol.toStringTag, Symbol.iterator)]() { + return this.entries(); + } + trimOld(newSize) { + if (newSize >= this.size) { + return; + } + if (newSize === 0) { + this.clear(); + return; + } + let current = this._head; + let currentSize = this.size; + while (current && currentSize > newSize) { + this._map.delete(current.key); + current = current.next; + currentSize--; + } + this._head = current; + this._size = currentSize; + if (current) { + current.previous = void 0; + } + this._state++; + } + trimNew(newSize) { + if (newSize >= this.size) { + return; + } + if (newSize === 0) { + this.clear(); + return; + } + let current = this._tail; + let currentSize = this.size; + while (current && currentSize > newSize) { + this._map.delete(current.key); + current = current.previous; + currentSize--; + } + this._tail = current; + this._size = currentSize; + if (current) { + current.next = void 0; + } + this._state++; + } + addItemFirst(item) { + if (!this._head && !this._tail) { + this._tail = item; + } else if (!this._head) { + throw new Error("Invalid list"); + } else { + item.next = this._head; + this._head.previous = item; + } + this._head = item; + this._state++; + } + addItemLast(item) { + if (!this._head && !this._tail) { + this._head = item; + } else if (!this._tail) { + throw new Error("Invalid list"); + } else { + item.previous = this._tail; + this._tail.next = item; + } + this._tail = item; + this._state++; + } + removeItem(item) { + if (item === this._head && item === this._tail) { + this._head = void 0; + this._tail = void 0; + } else if (item === this._head) { + if (!item.next) { + throw new Error("Invalid list"); + } + item.next.previous = void 0; + this._head = item.next; + } else if (item === this._tail) { + if (!item.previous) { + throw new Error("Invalid list"); + } + item.previous.next = void 0; + this._tail = item.previous; + } else { + const next = item.next; + const previous = item.previous; + if (!next || !previous) { + throw new Error("Invalid list"); + } + next.previous = previous; + previous.next = next; + } + item.next = void 0; + item.previous = void 0; + this._state++; + } + touch(item, touch) { + if (!this._head || !this._tail) { + throw new Error("Invalid list"); + } + if (touch !== 1 && touch !== 2) { + return; + } + if (touch === 1) { + if (item === this._head) { + return; + } + const next = item.next; + const previous = item.previous; + if (item === this._tail) { + previous.next = void 0; + this._tail = previous; + } else { + next.previous = previous; + previous.next = next; + } + item.previous = void 0; + item.next = this._head; + this._head.previous = item; + this._head = item; + this._state++; + } else if (touch === 2) { + if (item === this._tail) { + return; + } + const next = item.next; + const previous = item.previous; + if (item === this._head) { + next.previous = void 0; + this._head = next; + } else { + next.previous = previous; + previous.next = next; + } + item.next = void 0; + item.previous = this._tail; + this._tail.next = item; + this._tail = item; + this._state++; + } + } + toJSON() { + const data = []; + this.forEach((value, key) => { + data.push([key, value]); + }); + return data; + } + fromJSON(data) { + this.clear(); + for (const [key, value] of data) { + this.set(key, value); + } + } + }; + var Cache = class extends LinkedMap { + constructor(limit, ratio = 1) { + super(); + this._limit = limit; + this._ratio = Math.min(Math.max(0, ratio), 1); + } + get limit() { + return this._limit; + } + set limit(limit) { + this._limit = limit; + this.checkTrim(); + } + get(key, touch = 2) { + return super.get(key, touch); + } + peek(key) { + return super.get( + key, + 0 + /* Touch.None */ + ); + } + set(key, value) { + super.set( + key, + value, + 2 + /* Touch.AsNew */ + ); + return this; + } + checkTrim() { + if (this.size > this._limit) { + this.trim(Math.round(this._limit * this._ratio)); + } + } + }; + var LRUCache = class extends Cache { + constructor(limit, ratio = 1) { + super(limit, ratio); + } + trim(newSize) { + this.trimOld(newSize); + } + set(key, value) { + super.set(key, value); + this.checkTrim(); + return this; + } + }; + var SetMap = class { + constructor() { + this.map = /* @__PURE__ */ new Map(); + } + add(key, value) { + let values = this.map.get(key); + if (!values) { + values = /* @__PURE__ */ new Set(); + this.map.set(key, values); + } + values.add(value); + } + delete(key, value) { + const values = this.map.get(key); + if (!values) { + return; + } + values.delete(value); + if (values.size === 0) { + this.map.delete(key); + } + } + forEach(key, fn) { + const values = this.map.get(key); + if (!values) { + return; + } + values.forEach(fn); + } + get(key) { + const values = this.map.get(key); + if (!values) { + return /* @__PURE__ */ new Set(); + } + return values; + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/core/wordCharacterClassifier.js + var wordClassifierCache = new LRUCache(10); + + // node_modules/monaco-editor/esm/vs/base/common/objects.js + function getAllPropertyNames(obj) { + let res = []; + while (Object.prototype !== obj) { + res = res.concat(Object.getOwnPropertyNames(obj)); + obj = Object.getPrototypeOf(obj); + } + return res; + } + function getAllMethodNames(obj) { + const methods = []; + for (const prop of getAllPropertyNames(obj)) { + if (typeof obj[prop] === "function") { + methods.push(prop); + } + } + return methods; + } + function createProxyObject(methodNames, invoke) { + const createProxyMethod = (method) => { + return function() { + const args = Array.prototype.slice.call(arguments, 0); + return invoke(method, args); + }; + }; + const result = {}; + for (const methodName of methodNames) { + result[methodName] = createProxyMethod(methodName); + } + return result; + } + + // node_modules/monaco-editor/esm/vs/editor/common/model.js + var OverviewRulerLane2; + (function(OverviewRulerLane3) { + OverviewRulerLane3[OverviewRulerLane3["Left"] = 1] = "Left"; + OverviewRulerLane3[OverviewRulerLane3["Center"] = 2] = "Center"; + OverviewRulerLane3[OverviewRulerLane3["Right"] = 4] = "Right"; + OverviewRulerLane3[OverviewRulerLane3["Full"] = 7] = "Full"; + })(OverviewRulerLane2 || (OverviewRulerLane2 = {})); + var GlyphMarginLane2; + (function(GlyphMarginLane3) { + GlyphMarginLane3[GlyphMarginLane3["Left"] = 1] = "Left"; + GlyphMarginLane3[GlyphMarginLane3["Center"] = 2] = "Center"; + GlyphMarginLane3[GlyphMarginLane3["Right"] = 3] = "Right"; + })(GlyphMarginLane2 || (GlyphMarginLane2 = {})); + var InjectedTextCursorStops2; + (function(InjectedTextCursorStops3) { + InjectedTextCursorStops3[InjectedTextCursorStops3["Both"] = 0] = "Both"; + InjectedTextCursorStops3[InjectedTextCursorStops3["Right"] = 1] = "Right"; + InjectedTextCursorStops3[InjectedTextCursorStops3["Left"] = 2] = "Left"; + InjectedTextCursorStops3[InjectedTextCursorStops3["None"] = 3] = "None"; + })(InjectedTextCursorStops2 || (InjectedTextCursorStops2 = {})); + + // node_modules/monaco-editor/esm/vs/editor/common/model/textModelSearch.js + function leftIsWordBounday(wordSeparators, text, textLength, matchStartIndex, matchLength) { + if (matchStartIndex === 0) { + return true; + } + const charBefore = text.charCodeAt(matchStartIndex - 1); + if (wordSeparators.get(charBefore) !== 0) { + return true; + } + if (charBefore === 13 || charBefore === 10) { + return true; + } + if (matchLength > 0) { + const firstCharInMatch = text.charCodeAt(matchStartIndex); + if (wordSeparators.get(firstCharInMatch) !== 0) { + return true; + } + } + return false; + } + function rightIsWordBounday(wordSeparators, text, textLength, matchStartIndex, matchLength) { + if (matchStartIndex + matchLength === textLength) { + return true; + } + const charAfter = text.charCodeAt(matchStartIndex + matchLength); + if (wordSeparators.get(charAfter) !== 0) { + return true; + } + if (charAfter === 13 || charAfter === 10) { + return true; + } + if (matchLength > 0) { + const lastCharInMatch = text.charCodeAt(matchStartIndex + matchLength - 1); + if (wordSeparators.get(lastCharInMatch) !== 0) { + return true; + } + } + return false; + } + function isValidMatch(wordSeparators, text, textLength, matchStartIndex, matchLength) { + return leftIsWordBounday(wordSeparators, text, textLength, matchStartIndex, matchLength) && rightIsWordBounday(wordSeparators, text, textLength, matchStartIndex, matchLength); + } + var Searcher = class { + constructor(wordSeparators, searchRegex) { + this._wordSeparators = wordSeparators; + this._searchRegex = searchRegex; + this._prevMatchStartIndex = -1; + this._prevMatchLength = 0; + } + reset(lastIndex) { + this._searchRegex.lastIndex = lastIndex; + this._prevMatchStartIndex = -1; + this._prevMatchLength = 0; + } + next(text) { + const textLength = text.length; + let m; + do { + if (this._prevMatchStartIndex + this._prevMatchLength === textLength) { + return null; + } + m = this._searchRegex.exec(text); + if (!m) { + return null; + } + const matchStartIndex = m.index; + const matchLength = m[0].length; + if (matchStartIndex === this._prevMatchStartIndex && matchLength === this._prevMatchLength) { + if (matchLength === 0) { + if (getNextCodePoint(text, textLength, this._searchRegex.lastIndex) > 65535) { + this._searchRegex.lastIndex += 2; + } else { + this._searchRegex.lastIndex += 1; + } + continue; + } + return null; + } + this._prevMatchStartIndex = matchStartIndex; + this._prevMatchLength = matchLength; + if (!this._wordSeparators || isValidMatch(this._wordSeparators, text, textLength, matchStartIndex, matchLength)) { + return m; + } + } while (m); + return null; + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/assert.js + function assertNever(value, message = "Unreachable") { + throw new Error(message); + } + function assertFn(condition) { + if (!condition()) { + debugger; + condition(); + onUnexpectedError(new BugIndicatingError("Assertion Failed")); + } + } + function checkAdjacentItems(items, predicate) { + let i = 0; + while (i < items.length - 1) { + const a2 = items[i]; + const b = items[i + 1]; + if (!predicate(a2, b)) { + return false; + } + i++; + } + return true; + } + + // node_modules/monaco-editor/esm/vs/editor/common/core/wordHelper.js + var USUAL_WORD_SEPARATORS = "`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?"; + function createWordRegExp(allowInWords = "") { + let source = "(-?\\d*\\.\\d\\w*)|([^"; + for (const sep2 of USUAL_WORD_SEPARATORS) { + if (allowInWords.indexOf(sep2) >= 0) { + continue; + } + source += "\\" + sep2; + } + source += "\\s]+)"; + return new RegExp(source, "g"); + } + var DEFAULT_WORD_REGEXP = createWordRegExp(); + function ensureValidWordDefinition(wordDefinition) { + let result = DEFAULT_WORD_REGEXP; + if (wordDefinition && wordDefinition instanceof RegExp) { + if (!wordDefinition.global) { + let flags = "g"; + if (wordDefinition.ignoreCase) { + flags += "i"; + } + if (wordDefinition.multiline) { + flags += "m"; + } + if (wordDefinition.unicode) { + flags += "u"; + } + result = new RegExp(wordDefinition.source, flags); + } else { + result = wordDefinition; + } + } + result.lastIndex = 0; + return result; + } + var _defaultConfig = new LinkedList(); + _defaultConfig.unshift({ + maxLen: 1e3, + windowSize: 15, + timeBudget: 150 + }); + function getWordAtText(column, wordDefinition, text, textOffset, config) { + wordDefinition = ensureValidWordDefinition(wordDefinition); + if (!config) { + config = Iterable.first(_defaultConfig); + } + if (text.length > config.maxLen) { + let start = column - config.maxLen / 2; + if (start < 0) { + start = 0; + } else { + textOffset += start; + } + text = text.substring(start, column + config.maxLen / 2); + return getWordAtText(column, wordDefinition, text, textOffset, config); + } + const t1 = Date.now(); + const pos = column - 1 - textOffset; + let prevRegexIndex = -1; + let match = null; + for (let i = 1; ; i++) { + if (Date.now() - t1 >= config.timeBudget) { + break; + } + const regexIndex = pos - config.windowSize * i; + wordDefinition.lastIndex = Math.max(0, regexIndex); + const thisMatch = _findRegexMatchEnclosingPosition(wordDefinition, text, pos, prevRegexIndex); + if (!thisMatch && match) { + break; + } + match = thisMatch; + if (regexIndex <= 0) { + break; + } + prevRegexIndex = regexIndex; + } + if (match) { + const result = { + word: match[0], + startColumn: textOffset + 1 + match.index, + endColumn: textOffset + 1 + match.index + match[0].length + }; + wordDefinition.lastIndex = 0; + return result; + } + return null; + } + function _findRegexMatchEnclosingPosition(wordDefinition, text, pos, stopPos) { + let match; + while (match = wordDefinition.exec(text)) { + const matchIndex = match.index || 0; + if (matchIndex <= pos && wordDefinition.lastIndex >= pos) { + return match; + } else if (stopPos > 0 && matchIndex > stopPos) { + return null; + } + } + return null; + } + + // node_modules/monaco-editor/esm/vs/editor/common/services/unicodeTextModelHighlighter.js + var UnicodeTextModelHighlighter = class { + static computeUnicodeHighlights(model, options, range) { + const startLine = range ? range.startLineNumber : 1; + const endLine = range ? range.endLineNumber : model.getLineCount(); + const codePointHighlighter = new CodePointHighlighter(options); + const candidates = codePointHighlighter.getCandidateCodePoints(); + let regex; + if (candidates === "allNonBasicAscii") { + regex = new RegExp("[^\\t\\n\\r\\x20-\\x7E]", "g"); + } else { + regex = new RegExp(`${buildRegExpCharClassExpr(Array.from(candidates))}`, "g"); + } + const searcher = new Searcher(null, regex); + const ranges = []; + let hasMore = false; + let m; + let ambiguousCharacterCount = 0; + let invisibleCharacterCount = 0; + let nonBasicAsciiCharacterCount = 0; + forLoop: for (let lineNumber = startLine, lineCount = endLine; lineNumber <= lineCount; lineNumber++) { + const lineContent = model.getLineContent(lineNumber); + const lineLength = lineContent.length; + searcher.reset(0); + do { + m = searcher.next(lineContent); + if (m) { + let startIndex = m.index; + let endIndex = m.index + m[0].length; + if (startIndex > 0) { + const charCodeBefore = lineContent.charCodeAt(startIndex - 1); + if (isHighSurrogate(charCodeBefore)) { + startIndex--; + } + } + if (endIndex + 1 < lineLength) { + const charCodeBefore = lineContent.charCodeAt(endIndex - 1); + if (isHighSurrogate(charCodeBefore)) { + endIndex++; + } + } + const str = lineContent.substring(startIndex, endIndex); + let word = getWordAtText(startIndex + 1, DEFAULT_WORD_REGEXP, lineContent, 0); + if (word && word.endColumn <= startIndex + 1) { + word = null; + } + const highlightReason = codePointHighlighter.shouldHighlightNonBasicASCII(str, word ? word.word : null); + if (highlightReason !== 0) { + if (highlightReason === 3) { + ambiguousCharacterCount++; + } else if (highlightReason === 2) { + invisibleCharacterCount++; + } else if (highlightReason === 1) { + nonBasicAsciiCharacterCount++; + } else { + assertNever(highlightReason); + } + const MAX_RESULT_LENGTH = 1e3; + if (ranges.length >= MAX_RESULT_LENGTH) { + hasMore = true; + break forLoop; + } + ranges.push(new Range(lineNumber, startIndex + 1, lineNumber, endIndex + 1)); + } + } + } while (m); + } + return { + ranges, + hasMore, + ambiguousCharacterCount, + invisibleCharacterCount, + nonBasicAsciiCharacterCount + }; + } + static computeUnicodeHighlightReason(char, options) { + const codePointHighlighter = new CodePointHighlighter(options); + const reason = codePointHighlighter.shouldHighlightNonBasicASCII(char, null); + switch (reason) { + case 0: + return null; + case 2: + return { + kind: 1 + /* UnicodeHighlighterReasonKind.Invisible */ + }; + case 3: { + const codePoint = char.codePointAt(0); + const primaryConfusable = codePointHighlighter.ambiguousCharacters.getPrimaryConfusable(codePoint); + const notAmbiguousInLocales = AmbiguousCharacters.getLocales().filter((l) => !AmbiguousCharacters.getInstance(/* @__PURE__ */ new Set([...options.allowedLocales, l])).isAmbiguous(codePoint)); + return { kind: 0, confusableWith: String.fromCodePoint(primaryConfusable), notAmbiguousInLocales }; + } + case 1: + return { + kind: 2 + /* UnicodeHighlighterReasonKind.NonBasicAscii */ + }; + } + } + }; + function buildRegExpCharClassExpr(codePoints, flags) { + const src = `[${escapeRegExpCharacters(codePoints.map((i) => String.fromCodePoint(i)).join(""))}]`; + return src; + } + var CodePointHighlighter = class { + constructor(options) { + this.options = options; + this.allowedCodePoints = new Set(options.allowedCodePoints); + this.ambiguousCharacters = AmbiguousCharacters.getInstance(new Set(options.allowedLocales)); + } + getCandidateCodePoints() { + if (this.options.nonBasicASCII) { + return "allNonBasicAscii"; + } + const set = /* @__PURE__ */ new Set(); + if (this.options.invisibleCharacters) { + for (const cp of InvisibleCharacters.codePoints) { + if (!isAllowedInvisibleCharacter(String.fromCodePoint(cp))) { + set.add(cp); + } + } + } + if (this.options.ambiguousCharacters) { + for (const cp of this.ambiguousCharacters.getConfusableCodePoints()) { + set.add(cp); + } + } + for (const cp of this.allowedCodePoints) { + set.delete(cp); + } + return set; + } + shouldHighlightNonBasicASCII(character, wordContext) { + const codePoint = character.codePointAt(0); + if (this.allowedCodePoints.has(codePoint)) { + return 0; + } + if (this.options.nonBasicASCII) { + return 1; + } + let hasBasicASCIICharacters = false; + let hasNonConfusableNonBasicAsciiCharacter = false; + if (wordContext) { + for (const char of wordContext) { + const codePoint2 = char.codePointAt(0); + const isBasicASCII2 = isBasicASCII(char); + hasBasicASCIICharacters = hasBasicASCIICharacters || isBasicASCII2; + if (!isBasicASCII2 && !this.ambiguousCharacters.isAmbiguous(codePoint2) && !InvisibleCharacters.isInvisibleCharacter(codePoint2)) { + hasNonConfusableNonBasicAsciiCharacter = true; + } + } + } + if ( + /* Don't allow mixing weird looking characters with ASCII */ + !hasBasicASCIICharacters && /* Is there an obviously weird looking character? */ + hasNonConfusableNonBasicAsciiCharacter + ) { + return 0; + } + if (this.options.invisibleCharacters) { + if (!isAllowedInvisibleCharacter(character) && InvisibleCharacters.isInvisibleCharacter(codePoint)) { + return 2; + } + } + if (this.options.ambiguousCharacters) { + if (this.ambiguousCharacters.isAmbiguous(codePoint)) { + return 3; + } + } + return 0; + } + }; + function isAllowedInvisibleCharacter(character) { + return character === " " || character === "\n" || character === " "; + } + + // node_modules/monaco-editor/esm/vs/editor/common/diff/linesDiffComputer.js + var LinesDiff = class { + constructor(changes, moves, hitTimeout) { + this.changes = changes; + this.moves = moves; + this.hitTimeout = hitTimeout; + } + }; + var MovedText = class { + constructor(lineRangeMapping, changes) { + this.lineRangeMapping = lineRangeMapping; + this.changes = changes; + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/core/offsetRange.js + var OffsetRange = class _OffsetRange { + static addRange(range, sortedRanges) { + let i = 0; + while (i < sortedRanges.length && sortedRanges[i].endExclusive < range.start) { + i++; + } + let j = i; + while (j < sortedRanges.length && sortedRanges[j].start <= range.endExclusive) { + j++; + } + if (i === j) { + sortedRanges.splice(i, 0, range); + } else { + const start = Math.min(range.start, sortedRanges[i].start); + const end = Math.max(range.endExclusive, sortedRanges[j - 1].endExclusive); + sortedRanges.splice(i, j - i, new _OffsetRange(start, end)); + } + } + static tryCreate(start, endExclusive) { + if (start > endExclusive) { + return void 0; + } + return new _OffsetRange(start, endExclusive); + } + static ofLength(length) { + return new _OffsetRange(0, length); + } + static ofStartAndLength(start, length) { + return new _OffsetRange(start, start + length); + } + constructor(start, endExclusive) { + this.start = start; + this.endExclusive = endExclusive; + if (start > endExclusive) { + throw new BugIndicatingError(`Invalid range: ${this.toString()}`); + } + } + get isEmpty() { + return this.start === this.endExclusive; + } + delta(offset) { + return new _OffsetRange(this.start + offset, this.endExclusive + offset); + } + deltaStart(offset) { + return new _OffsetRange(this.start + offset, this.endExclusive); + } + deltaEnd(offset) { + return new _OffsetRange(this.start, this.endExclusive + offset); + } + get length() { + return this.endExclusive - this.start; + } + toString() { + return `[${this.start}, ${this.endExclusive})`; + } + contains(offset) { + return this.start <= offset && offset < this.endExclusive; + } + /** + * for all numbers n: range1.contains(n) or range2.contains(n) => range1.join(range2).contains(n) + * The joined range is the smallest range that contains both ranges. + */ + join(other) { + return new _OffsetRange(Math.min(this.start, other.start), Math.max(this.endExclusive, other.endExclusive)); + } + /** + * for all numbers n: range1.contains(n) and range2.contains(n) <=> range1.intersect(range2).contains(n) + * + * The resulting range is empty if the ranges do not intersect, but touch. + * If the ranges don't even touch, the result is undefined. + */ + intersect(other) { + const start = Math.max(this.start, other.start); + const end = Math.min(this.endExclusive, other.endExclusive); + if (start <= end) { + return new _OffsetRange(start, end); + } + return void 0; + } + intersects(other) { + const start = Math.max(this.start, other.start); + const end = Math.min(this.endExclusive, other.endExclusive); + return start < end; + } + isBefore(other) { + return this.endExclusive <= other.start; + } + isAfter(other) { + return this.start >= other.endExclusive; + } + slice(arr) { + return arr.slice(this.start, this.endExclusive); + } + substring(str) { + return str.substring(this.start, this.endExclusive); + } + /** + * Returns the given value if it is contained in this instance, otherwise the closest value that is contained. + * The range must not be empty. + */ + clip(value) { + if (this.isEmpty) { + throw new BugIndicatingError(`Invalid clipping range: ${this.toString()}`); + } + return Math.max(this.start, Math.min(this.endExclusive - 1, value)); + } + /** + * Returns `r := value + k * length` such that `r` is contained in this range. + * The range must not be empty. + * + * E.g. `[5, 10).clipCyclic(10) === 5`, `[5, 10).clipCyclic(11) === 6` and `[5, 10).clipCyclic(4) === 9`. + */ + clipCyclic(value) { + if (this.isEmpty) { + throw new BugIndicatingError(`Invalid clipping range: ${this.toString()}`); + } + if (value < this.start) { + return this.endExclusive - (this.start - value) % this.length; + } + if (value >= this.endExclusive) { + return this.start + (value - this.start) % this.length; + } + return value; + } + forEach(f2) { + for (let i = this.start; i < this.endExclusive; i++) { + f2(i); + } + } + }; + + // node_modules/monaco-editor/esm/vs/base/common/arraysFind.js + function findLastMonotonous(array, predicate) { + const idx = findLastIdxMonotonous(array, predicate); + return idx === -1 ? void 0 : array[idx]; + } + function findLastIdxMonotonous(array, predicate, startIdx = 0, endIdxEx = array.length) { + let i = startIdx; + let j = endIdxEx; + while (i < j) { + const k = Math.floor((i + j) / 2); + if (predicate(array[k])) { + i = k + 1; + } else { + j = k; + } + } + return i - 1; + } + function findFirstMonotonous(array, predicate) { + const idx = findFirstIdxMonotonousOrArrLen(array, predicate); + return idx === array.length ? void 0 : array[idx]; + } + function findFirstIdxMonotonousOrArrLen(array, predicate, startIdx = 0, endIdxEx = array.length) { + let i = startIdx; + let j = endIdxEx; + while (i < j) { + const k = Math.floor((i + j) / 2); + if (predicate(array[k])) { + j = k; + } else { + i = k + 1; + } + } + return i; + } + var MonotonousArray = class _MonotonousArray { + static { + this.assertInvariants = false; + } + constructor(_array) { + this._array = _array; + this._findLastMonotonousLastIdx = 0; + } + /** + * The predicate must be monotonous, i.e. `arr.map(predicate)` must be like `[true, ..., true, false, ..., false]`! + * For subsequent calls, current predicate must be weaker than (or equal to) the previous predicate, i.e. more entries must be `true`. + */ + findLastMonotonous(predicate) { + if (_MonotonousArray.assertInvariants) { + if (this._prevFindLastPredicate) { + for (const item of this._array) { + if (this._prevFindLastPredicate(item) && !predicate(item)) { + throw new Error("MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate."); + } + } + } + this._prevFindLastPredicate = predicate; + } + const idx = findLastIdxMonotonous(this._array, predicate, this._findLastMonotonousLastIdx); + this._findLastMonotonousLastIdx = idx + 1; + return idx === -1 ? void 0 : this._array[idx]; + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/core/lineRange.js + var LineRange = class _LineRange { + static fromRangeInclusive(range) { + return new _LineRange(range.startLineNumber, range.endLineNumber + 1); + } + /** + * @param lineRanges An array of sorted line ranges. + */ + static joinMany(lineRanges) { + if (lineRanges.length === 0) { + return []; + } + let result = new LineRangeSet(lineRanges[0].slice()); + for (let i = 1; i < lineRanges.length; i++) { + result = result.getUnion(new LineRangeSet(lineRanges[i].slice())); + } + return result.ranges; + } + static join(lineRanges) { + if (lineRanges.length === 0) { + throw new BugIndicatingError("lineRanges cannot be empty"); + } + let startLineNumber = lineRanges[0].startLineNumber; + let endLineNumberExclusive = lineRanges[0].endLineNumberExclusive; + for (let i = 1; i < lineRanges.length; i++) { + startLineNumber = Math.min(startLineNumber, lineRanges[i].startLineNumber); + endLineNumberExclusive = Math.max(endLineNumberExclusive, lineRanges[i].endLineNumberExclusive); + } + return new _LineRange(startLineNumber, endLineNumberExclusive); + } + static ofLength(startLineNumber, length) { + return new _LineRange(startLineNumber, startLineNumber + length); + } + /** + * @internal + */ + static deserialize(lineRange) { + return new _LineRange(lineRange[0], lineRange[1]); + } + constructor(startLineNumber, endLineNumberExclusive) { + if (startLineNumber > endLineNumberExclusive) { + throw new BugIndicatingError(`startLineNumber ${startLineNumber} cannot be after endLineNumberExclusive ${endLineNumberExclusive}`); + } + this.startLineNumber = startLineNumber; + this.endLineNumberExclusive = endLineNumberExclusive; + } + /** + * Indicates if this line range contains the given line number. + */ + contains(lineNumber) { + return this.startLineNumber <= lineNumber && lineNumber < this.endLineNumberExclusive; + } + /** + * Indicates if this line range is empty. + */ + get isEmpty() { + return this.startLineNumber === this.endLineNumberExclusive; + } + /** + * Moves this line range by the given offset of line numbers. + */ + delta(offset) { + return new _LineRange(this.startLineNumber + offset, this.endLineNumberExclusive + offset); + } + deltaLength(offset) { + return new _LineRange(this.startLineNumber, this.endLineNumberExclusive + offset); + } + /** + * The number of lines this line range spans. + */ + get length() { + return this.endLineNumberExclusive - this.startLineNumber; + } + /** + * Creates a line range that combines this and the given line range. + */ + join(other) { + return new _LineRange(Math.min(this.startLineNumber, other.startLineNumber), Math.max(this.endLineNumberExclusive, other.endLineNumberExclusive)); + } + toString() { + return `[${this.startLineNumber},${this.endLineNumberExclusive})`; + } + /** + * The resulting range is empty if the ranges do not intersect, but touch. + * If the ranges don't even touch, the result is undefined. + */ + intersect(other) { + const startLineNumber = Math.max(this.startLineNumber, other.startLineNumber); + const endLineNumberExclusive = Math.min(this.endLineNumberExclusive, other.endLineNumberExclusive); + if (startLineNumber <= endLineNumberExclusive) { + return new _LineRange(startLineNumber, endLineNumberExclusive); + } + return void 0; + } + intersectsStrict(other) { + return this.startLineNumber < other.endLineNumberExclusive && other.startLineNumber < this.endLineNumberExclusive; + } + overlapOrTouch(other) { + return this.startLineNumber <= other.endLineNumberExclusive && other.startLineNumber <= this.endLineNumberExclusive; + } + equals(b) { + return this.startLineNumber === b.startLineNumber && this.endLineNumberExclusive === b.endLineNumberExclusive; + } + toInclusiveRange() { + if (this.isEmpty) { + return null; + } + return new Range(this.startLineNumber, 1, this.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER); + } + /** + * @deprecated Using this function is discouraged because it might lead to bugs: The end position is not guaranteed to be a valid position! + */ + toExclusiveRange() { + return new Range(this.startLineNumber, 1, this.endLineNumberExclusive, 1); + } + mapToLineArray(f2) { + const result = []; + for (let lineNumber = this.startLineNumber; lineNumber < this.endLineNumberExclusive; lineNumber++) { + result.push(f2(lineNumber)); + } + return result; + } + forEach(f2) { + for (let lineNumber = this.startLineNumber; lineNumber < this.endLineNumberExclusive; lineNumber++) { + f2(lineNumber); + } + } + /** + * @internal + */ + serialize() { + return [this.startLineNumber, this.endLineNumberExclusive]; + } + includes(lineNumber) { + return this.startLineNumber <= lineNumber && lineNumber < this.endLineNumberExclusive; + } + /** + * Converts this 1-based line range to a 0-based offset range (subtracts 1!). + * @internal + */ + toOffsetRange() { + return new OffsetRange(this.startLineNumber - 1, this.endLineNumberExclusive - 1); + } + }; + var LineRangeSet = class _LineRangeSet { + constructor(_normalizedRanges = []) { + this._normalizedRanges = _normalizedRanges; + } + get ranges() { + return this._normalizedRanges; + } + addRange(range) { + if (range.length === 0) { + return; + } + const joinRangeStartIdx = findFirstIdxMonotonousOrArrLen(this._normalizedRanges, (r) => r.endLineNumberExclusive >= range.startLineNumber); + const joinRangeEndIdxExclusive = findLastIdxMonotonous(this._normalizedRanges, (r) => r.startLineNumber <= range.endLineNumberExclusive) + 1; + if (joinRangeStartIdx === joinRangeEndIdxExclusive) { + this._normalizedRanges.splice(joinRangeStartIdx, 0, range); + } else if (joinRangeStartIdx === joinRangeEndIdxExclusive - 1) { + const joinRange = this._normalizedRanges[joinRangeStartIdx]; + this._normalizedRanges[joinRangeStartIdx] = joinRange.join(range); + } else { + const joinRange = this._normalizedRanges[joinRangeStartIdx].join(this._normalizedRanges[joinRangeEndIdxExclusive - 1]).join(range); + this._normalizedRanges.splice(joinRangeStartIdx, joinRangeEndIdxExclusive - joinRangeStartIdx, joinRange); + } + } + contains(lineNumber) { + const rangeThatStartsBeforeEnd = findLastMonotonous(this._normalizedRanges, (r) => r.startLineNumber <= lineNumber); + return !!rangeThatStartsBeforeEnd && rangeThatStartsBeforeEnd.endLineNumberExclusive > lineNumber; + } + intersects(range) { + const rangeThatStartsBeforeEnd = findLastMonotonous(this._normalizedRanges, (r) => r.startLineNumber < range.endLineNumberExclusive); + return !!rangeThatStartsBeforeEnd && rangeThatStartsBeforeEnd.endLineNumberExclusive > range.startLineNumber; + } + getUnion(other) { + if (this._normalizedRanges.length === 0) { + return other; + } + if (other._normalizedRanges.length === 0) { + return this; + } + const result = []; + let i1 = 0; + let i2 = 0; + let current = null; + while (i1 < this._normalizedRanges.length || i2 < other._normalizedRanges.length) { + let next = null; + if (i1 < this._normalizedRanges.length && i2 < other._normalizedRanges.length) { + const lineRange1 = this._normalizedRanges[i1]; + const lineRange2 = other._normalizedRanges[i2]; + if (lineRange1.startLineNumber < lineRange2.startLineNumber) { + next = lineRange1; + i1++; + } else { + next = lineRange2; + i2++; + } + } else if (i1 < this._normalizedRanges.length) { + next = this._normalizedRanges[i1]; + i1++; + } else { + next = other._normalizedRanges[i2]; + i2++; + } + if (current === null) { + current = next; + } else { + if (current.endLineNumberExclusive >= next.startLineNumber) { + current = new LineRange(current.startLineNumber, Math.max(current.endLineNumberExclusive, next.endLineNumberExclusive)); + } else { + result.push(current); + current = next; + } + } + } + if (current !== null) { + result.push(current); + } + return new _LineRangeSet(result); + } + /** + * Subtracts all ranges in this set from `range` and returns the result. + */ + subtractFrom(range) { + const joinRangeStartIdx = findFirstIdxMonotonousOrArrLen(this._normalizedRanges, (r) => r.endLineNumberExclusive >= range.startLineNumber); + const joinRangeEndIdxExclusive = findLastIdxMonotonous(this._normalizedRanges, (r) => r.startLineNumber <= range.endLineNumberExclusive) + 1; + if (joinRangeStartIdx === joinRangeEndIdxExclusive) { + return new _LineRangeSet([range]); + } + const result = []; + let startLineNumber = range.startLineNumber; + for (let i = joinRangeStartIdx; i < joinRangeEndIdxExclusive; i++) { + const r = this._normalizedRanges[i]; + if (r.startLineNumber > startLineNumber) { + result.push(new LineRange(startLineNumber, r.startLineNumber)); + } + startLineNumber = r.endLineNumberExclusive; + } + if (startLineNumber < range.endLineNumberExclusive) { + result.push(new LineRange(startLineNumber, range.endLineNumberExclusive)); + } + return new _LineRangeSet(result); + } + toString() { + return this._normalizedRanges.map((r) => r.toString()).join(", "); + } + getIntersection(other) { + const result = []; + let i1 = 0; + let i2 = 0; + while (i1 < this._normalizedRanges.length && i2 < other._normalizedRanges.length) { + const r1 = this._normalizedRanges[i1]; + const r2 = other._normalizedRanges[i2]; + const i = r1.intersect(r2); + if (i && !i.isEmpty) { + result.push(i); + } + if (r1.endLineNumberExclusive < r2.endLineNumberExclusive) { + i1++; + } else { + i2++; + } + } + return new _LineRangeSet(result); + } + getWithDelta(value) { + return new _LineRangeSet(this._normalizedRanges.map((r) => r.delta(value))); + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/core/textLength.js + var TextLength = class _TextLength { + static { + this.zero = new _TextLength(0, 0); + } + static betweenPositions(position1, position2) { + if (position1.lineNumber === position2.lineNumber) { + return new _TextLength(0, position2.column - position1.column); + } else { + return new _TextLength(position2.lineNumber - position1.lineNumber, position2.column - 1); + } + } + static ofRange(range) { + return _TextLength.betweenPositions(range.getStartPosition(), range.getEndPosition()); + } + static ofText(text) { + let line = 0; + let column = 0; + for (const c of text) { + if (c === "\n") { + line++; + column = 0; + } else { + column++; + } + } + return new _TextLength(line, column); + } + constructor(lineCount, columnCount) { + this.lineCount = lineCount; + this.columnCount = columnCount; + } + isGreaterThanOrEqualTo(other) { + if (this.lineCount !== other.lineCount) { + return this.lineCount > other.lineCount; + } + return this.columnCount >= other.columnCount; + } + createRange(startPosition) { + if (this.lineCount === 0) { + return new Range(startPosition.lineNumber, startPosition.column, startPosition.lineNumber, startPosition.column + this.columnCount); + } else { + return new Range(startPosition.lineNumber, startPosition.column, startPosition.lineNumber + this.lineCount, this.columnCount + 1); + } + } + addToPosition(position) { + if (this.lineCount === 0) { + return new Position(position.lineNumber, position.column + this.columnCount); + } else { + return new Position(position.lineNumber + this.lineCount, this.columnCount + 1); + } + } + toString() { + return `${this.lineCount},${this.columnCount}`; + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/core/textEdit.js + var SingleTextEdit = class { + constructor(range, text) { + this.range = range; + this.text = text; + } + toSingleEditOperation() { + return { + range: this.range, + text: this.text + }; + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/diff/rangeMapping.js + var LineRangeMapping = class _LineRangeMapping { + static inverse(mapping, originalLineCount, modifiedLineCount) { + const result = []; + let lastOriginalEndLineNumber = 1; + let lastModifiedEndLineNumber = 1; + for (const m of mapping) { + const r2 = new _LineRangeMapping(new LineRange(lastOriginalEndLineNumber, m.original.startLineNumber), new LineRange(lastModifiedEndLineNumber, m.modified.startLineNumber)); + if (!r2.modified.isEmpty) { + result.push(r2); + } + lastOriginalEndLineNumber = m.original.endLineNumberExclusive; + lastModifiedEndLineNumber = m.modified.endLineNumberExclusive; + } + const r = new _LineRangeMapping(new LineRange(lastOriginalEndLineNumber, originalLineCount + 1), new LineRange(lastModifiedEndLineNumber, modifiedLineCount + 1)); + if (!r.modified.isEmpty) { + result.push(r); + } + return result; + } + static clip(mapping, originalRange, modifiedRange) { + const result = []; + for (const m of mapping) { + const original = m.original.intersect(originalRange); + const modified = m.modified.intersect(modifiedRange); + if (original && !original.isEmpty && modified && !modified.isEmpty) { + result.push(new _LineRangeMapping(original, modified)); + } + } + return result; + } + constructor(originalRange, modifiedRange) { + this.original = originalRange; + this.modified = modifiedRange; + } + toString() { + return `{${this.original.toString()}->${this.modified.toString()}}`; + } + flip() { + return new _LineRangeMapping(this.modified, this.original); + } + join(other) { + return new _LineRangeMapping(this.original.join(other.original), this.modified.join(other.modified)); + } + /** + * This method assumes that the LineRangeMapping describes a valid diff! + * I.e. if one range is empty, the other range cannot be the entire document. + * It avoids various problems when the line range points to non-existing line-numbers. + */ + toRangeMapping() { + const origInclusiveRange = this.original.toInclusiveRange(); + const modInclusiveRange = this.modified.toInclusiveRange(); + if (origInclusiveRange && modInclusiveRange) { + return new RangeMapping(origInclusiveRange, modInclusiveRange); + } else if (this.original.startLineNumber === 1 || this.modified.startLineNumber === 1) { + if (!(this.modified.startLineNumber === 1 && this.original.startLineNumber === 1)) { + throw new BugIndicatingError("not a valid diff"); + } + return new RangeMapping(new Range(this.original.startLineNumber, 1, this.original.endLineNumberExclusive, 1), new Range(this.modified.startLineNumber, 1, this.modified.endLineNumberExclusive, 1)); + } else { + return new RangeMapping(new Range(this.original.startLineNumber - 1, Number.MAX_SAFE_INTEGER, this.original.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), new Range(this.modified.startLineNumber - 1, Number.MAX_SAFE_INTEGER, this.modified.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER)); + } + } + /** + * This method assumes that the LineRangeMapping describes a valid diff! + * I.e. if one range is empty, the other range cannot be the entire document. + * It avoids various problems when the line range points to non-existing line-numbers. + */ + toRangeMapping2(original, modified) { + if (isValidLineNumber(this.original.endLineNumberExclusive, original) && isValidLineNumber(this.modified.endLineNumberExclusive, modified)) { + return new RangeMapping(new Range(this.original.startLineNumber, 1, this.original.endLineNumberExclusive, 1), new Range(this.modified.startLineNumber, 1, this.modified.endLineNumberExclusive, 1)); + } + if (!this.original.isEmpty && !this.modified.isEmpty) { + return new RangeMapping(Range.fromPositions(new Position(this.original.startLineNumber, 1), normalizePosition(new Position(this.original.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), original)), Range.fromPositions(new Position(this.modified.startLineNumber, 1), normalizePosition(new Position(this.modified.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), modified))); + } + if (this.original.startLineNumber > 1 && this.modified.startLineNumber > 1) { + return new RangeMapping(Range.fromPositions(normalizePosition(new Position(this.original.startLineNumber - 1, Number.MAX_SAFE_INTEGER), original), normalizePosition(new Position(this.original.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), original)), Range.fromPositions(normalizePosition(new Position(this.modified.startLineNumber - 1, Number.MAX_SAFE_INTEGER), modified), normalizePosition(new Position(this.modified.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), modified))); + } + throw new BugIndicatingError(); + } + }; + function normalizePosition(position, content) { + if (position.lineNumber < 1) { + return new Position(1, 1); + } + if (position.lineNumber > content.length) { + return new Position(content.length, content[content.length - 1].length + 1); + } + const line = content[position.lineNumber - 1]; + if (position.column > line.length + 1) { + return new Position(position.lineNumber, line.length + 1); + } + return position; + } + function isValidLineNumber(lineNumber, lines) { + return lineNumber >= 1 && lineNumber <= lines.length; + } + var DetailedLineRangeMapping = class _DetailedLineRangeMapping extends LineRangeMapping { + static fromRangeMappings(rangeMappings) { + const originalRange = LineRange.join(rangeMappings.map((r) => LineRange.fromRangeInclusive(r.originalRange))); + const modifiedRange = LineRange.join(rangeMappings.map((r) => LineRange.fromRangeInclusive(r.modifiedRange))); + return new _DetailedLineRangeMapping(originalRange, modifiedRange, rangeMappings); + } + constructor(originalRange, modifiedRange, innerChanges) { + super(originalRange, modifiedRange); + this.innerChanges = innerChanges; + } + flip() { + return new _DetailedLineRangeMapping(this.modified, this.original, this.innerChanges?.map((c) => c.flip())); + } + withInnerChangesFromLineRanges() { + return new _DetailedLineRangeMapping(this.original, this.modified, [this.toRangeMapping()]); + } + }; + var RangeMapping = class _RangeMapping { + static assertSorted(rangeMappings) { + for (let i = 1; i < rangeMappings.length; i++) { + const previous = rangeMappings[i - 1]; + const current = rangeMappings[i]; + if (!(previous.originalRange.getEndPosition().isBeforeOrEqual(current.originalRange.getStartPosition()) && previous.modifiedRange.getEndPosition().isBeforeOrEqual(current.modifiedRange.getStartPosition()))) { + throw new BugIndicatingError("Range mappings must be sorted"); + } + } + } + constructor(originalRange, modifiedRange) { + this.originalRange = originalRange; + this.modifiedRange = modifiedRange; + } + toString() { + return `{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`; + } + flip() { + return new _RangeMapping(this.modifiedRange, this.originalRange); + } + /** + * Creates a single text edit that describes the change from the original to the modified text. + */ + toTextEdit(modified) { + const newText = modified.getValueOfRange(this.modifiedRange); + return new SingleTextEdit(this.originalRange, newText); + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/diff/legacyLinesDiffComputer.js + var MINIMUM_MATCHING_CHARACTER_LENGTH = 3; + var LegacyLinesDiffComputer = class { + computeDiff(originalLines, modifiedLines, options) { + const diffComputer = new DiffComputer(originalLines, modifiedLines, { + maxComputationTime: options.maxComputationTimeMs, + shouldIgnoreTrimWhitespace: options.ignoreTrimWhitespace, + shouldComputeCharChanges: true, + shouldMakePrettyDiff: true, + shouldPostProcessCharChanges: true + }); + const result = diffComputer.computeDiff(); + const changes = []; + let lastChange = null; + for (const c of result.changes) { + let originalRange; + if (c.originalEndLineNumber === 0) { + originalRange = new LineRange(c.originalStartLineNumber + 1, c.originalStartLineNumber + 1); + } else { + originalRange = new LineRange(c.originalStartLineNumber, c.originalEndLineNumber + 1); + } + let modifiedRange; + if (c.modifiedEndLineNumber === 0) { + modifiedRange = new LineRange(c.modifiedStartLineNumber + 1, c.modifiedStartLineNumber + 1); + } else { + modifiedRange = new LineRange(c.modifiedStartLineNumber, c.modifiedEndLineNumber + 1); + } + let change = new DetailedLineRangeMapping(originalRange, modifiedRange, c.charChanges?.map((c2) => new RangeMapping(new Range(c2.originalStartLineNumber, c2.originalStartColumn, c2.originalEndLineNumber, c2.originalEndColumn), new Range(c2.modifiedStartLineNumber, c2.modifiedStartColumn, c2.modifiedEndLineNumber, c2.modifiedEndColumn)))); + if (lastChange) { + if (lastChange.modified.endLineNumberExclusive === change.modified.startLineNumber || lastChange.original.endLineNumberExclusive === change.original.startLineNumber) { + change = new DetailedLineRangeMapping(lastChange.original.join(change.original), lastChange.modified.join(change.modified), lastChange.innerChanges && change.innerChanges ? lastChange.innerChanges.concat(change.innerChanges) : void 0); + changes.pop(); + } + } + changes.push(change); + lastChange = change; + } + assertFn(() => { + return checkAdjacentItems(changes, (m1, m2) => m2.original.startLineNumber - m1.original.endLineNumberExclusive === m2.modified.startLineNumber - m1.modified.endLineNumberExclusive && // There has to be an unchanged line in between (otherwise both diffs should have been joined) + m1.original.endLineNumberExclusive < m2.original.startLineNumber && m1.modified.endLineNumberExclusive < m2.modified.startLineNumber); + }); + return new LinesDiff(changes, [], result.quitEarly); + } + }; + function computeDiff(originalSequence, modifiedSequence, continueProcessingPredicate, pretty) { + const diffAlgo = new LcsDiff(originalSequence, modifiedSequence, continueProcessingPredicate); + return diffAlgo.ComputeDiff(pretty); + } + var LineSequence = class { + constructor(lines) { + const startColumns = []; + const endColumns = []; + for (let i = 0, length = lines.length; i < length; i++) { + startColumns[i] = getFirstNonBlankColumn(lines[i], 1); + endColumns[i] = getLastNonBlankColumn(lines[i], 1); + } + this.lines = lines; + this._startColumns = startColumns; + this._endColumns = endColumns; + } + getElements() { + const elements = []; + for (let i = 0, len = this.lines.length; i < len; i++) { + elements[i] = this.lines[i].substring(this._startColumns[i] - 1, this._endColumns[i] - 1); + } + return elements; + } + getStrictElement(index) { + return this.lines[index]; + } + getStartLineNumber(i) { + return i + 1; + } + getEndLineNumber(i) { + return i + 1; + } + createCharSequence(shouldIgnoreTrimWhitespace, startIndex, endIndex) { + const charCodes = []; + const lineNumbers = []; + const columns = []; + let len = 0; + for (let index = startIndex; index <= endIndex; index++) { + const lineContent = this.lines[index]; + const startColumn = shouldIgnoreTrimWhitespace ? this._startColumns[index] : 1; + const endColumn = shouldIgnoreTrimWhitespace ? this._endColumns[index] : lineContent.length + 1; + for (let col = startColumn; col < endColumn; col++) { + charCodes[len] = lineContent.charCodeAt(col - 1); + lineNumbers[len] = index + 1; + columns[len] = col; + len++; + } + if (!shouldIgnoreTrimWhitespace && index < endIndex) { + charCodes[len] = 10; + lineNumbers[len] = index + 1; + columns[len] = lineContent.length + 1; + len++; + } + } + return new CharSequence(charCodes, lineNumbers, columns); + } + }; + var CharSequence = class { + constructor(charCodes, lineNumbers, columns) { + this._charCodes = charCodes; + this._lineNumbers = lineNumbers; + this._columns = columns; + } + toString() { + return "[" + this._charCodes.map((s, idx) => (s === 10 ? "\\n" : String.fromCharCode(s)) + `-(${this._lineNumbers[idx]},${this._columns[idx]})`).join(", ") + "]"; + } + _assertIndex(index, arr) { + if (index < 0 || index >= arr.length) { + throw new Error(`Illegal index`); + } + } + getElements() { + return this._charCodes; + } + getStartLineNumber(i) { + if (i > 0 && i === this._lineNumbers.length) { + return this.getEndLineNumber(i - 1); + } + this._assertIndex(i, this._lineNumbers); + return this._lineNumbers[i]; + } + getEndLineNumber(i) { + if (i === -1) { + return this.getStartLineNumber(i + 1); + } + this._assertIndex(i, this._lineNumbers); + if (this._charCodes[i] === 10) { + return this._lineNumbers[i] + 1; + } + return this._lineNumbers[i]; + } + getStartColumn(i) { + if (i > 0 && i === this._columns.length) { + return this.getEndColumn(i - 1); + } + this._assertIndex(i, this._columns); + return this._columns[i]; + } + getEndColumn(i) { + if (i === -1) { + return this.getStartColumn(i + 1); + } + this._assertIndex(i, this._columns); + if (this._charCodes[i] === 10) { + return 1; + } + return this._columns[i] + 1; + } + }; + var CharChange = class _CharChange { + constructor(originalStartLineNumber, originalStartColumn, originalEndLineNumber, originalEndColumn, modifiedStartLineNumber, modifiedStartColumn, modifiedEndLineNumber, modifiedEndColumn) { + this.originalStartLineNumber = originalStartLineNumber; + this.originalStartColumn = originalStartColumn; + this.originalEndLineNumber = originalEndLineNumber; + this.originalEndColumn = originalEndColumn; + this.modifiedStartLineNumber = modifiedStartLineNumber; + this.modifiedStartColumn = modifiedStartColumn; + this.modifiedEndLineNumber = modifiedEndLineNumber; + this.modifiedEndColumn = modifiedEndColumn; + } + static createFromDiffChange(diffChange, originalCharSequence, modifiedCharSequence) { + const originalStartLineNumber = originalCharSequence.getStartLineNumber(diffChange.originalStart); + const originalStartColumn = originalCharSequence.getStartColumn(diffChange.originalStart); + const originalEndLineNumber = originalCharSequence.getEndLineNumber(diffChange.originalStart + diffChange.originalLength - 1); + const originalEndColumn = originalCharSequence.getEndColumn(diffChange.originalStart + diffChange.originalLength - 1); + const modifiedStartLineNumber = modifiedCharSequence.getStartLineNumber(diffChange.modifiedStart); + const modifiedStartColumn = modifiedCharSequence.getStartColumn(diffChange.modifiedStart); + const modifiedEndLineNumber = modifiedCharSequence.getEndLineNumber(diffChange.modifiedStart + diffChange.modifiedLength - 1); + const modifiedEndColumn = modifiedCharSequence.getEndColumn(diffChange.modifiedStart + diffChange.modifiedLength - 1); + return new _CharChange(originalStartLineNumber, originalStartColumn, originalEndLineNumber, originalEndColumn, modifiedStartLineNumber, modifiedStartColumn, modifiedEndLineNumber, modifiedEndColumn); + } + }; + function postProcessCharChanges(rawChanges) { + if (rawChanges.length <= 1) { + return rawChanges; + } + const result = [rawChanges[0]]; + let prevChange = result[0]; + for (let i = 1, len = rawChanges.length; i < len; i++) { + const currChange = rawChanges[i]; + const originalMatchingLength = currChange.originalStart - (prevChange.originalStart + prevChange.originalLength); + const modifiedMatchingLength = currChange.modifiedStart - (prevChange.modifiedStart + prevChange.modifiedLength); + const matchingLength = Math.min(originalMatchingLength, modifiedMatchingLength); + if (matchingLength < MINIMUM_MATCHING_CHARACTER_LENGTH) { + prevChange.originalLength = currChange.originalStart + currChange.originalLength - prevChange.originalStart; + prevChange.modifiedLength = currChange.modifiedStart + currChange.modifiedLength - prevChange.modifiedStart; + } else { + result.push(currChange); + prevChange = currChange; + } + } + return result; + } + var LineChange = class _LineChange { + constructor(originalStartLineNumber, originalEndLineNumber, modifiedStartLineNumber, modifiedEndLineNumber, charChanges) { + this.originalStartLineNumber = originalStartLineNumber; + this.originalEndLineNumber = originalEndLineNumber; + this.modifiedStartLineNumber = modifiedStartLineNumber; + this.modifiedEndLineNumber = modifiedEndLineNumber; + this.charChanges = charChanges; + } + static createFromDiffResult(shouldIgnoreTrimWhitespace, diffChange, originalLineSequence, modifiedLineSequence, continueCharDiff, shouldComputeCharChanges, shouldPostProcessCharChanges) { + let originalStartLineNumber; + let originalEndLineNumber; + let modifiedStartLineNumber; + let modifiedEndLineNumber; + let charChanges = void 0; + if (diffChange.originalLength === 0) { + originalStartLineNumber = originalLineSequence.getStartLineNumber(diffChange.originalStart) - 1; + originalEndLineNumber = 0; + } else { + originalStartLineNumber = originalLineSequence.getStartLineNumber(diffChange.originalStart); + originalEndLineNumber = originalLineSequence.getEndLineNumber(diffChange.originalStart + diffChange.originalLength - 1); + } + if (diffChange.modifiedLength === 0) { + modifiedStartLineNumber = modifiedLineSequence.getStartLineNumber(diffChange.modifiedStart) - 1; + modifiedEndLineNumber = 0; + } else { + modifiedStartLineNumber = modifiedLineSequence.getStartLineNumber(diffChange.modifiedStart); + modifiedEndLineNumber = modifiedLineSequence.getEndLineNumber(diffChange.modifiedStart + diffChange.modifiedLength - 1); + } + if (shouldComputeCharChanges && diffChange.originalLength > 0 && diffChange.originalLength < 20 && diffChange.modifiedLength > 0 && diffChange.modifiedLength < 20 && continueCharDiff()) { + const originalCharSequence = originalLineSequence.createCharSequence(shouldIgnoreTrimWhitespace, diffChange.originalStart, diffChange.originalStart + diffChange.originalLength - 1); + const modifiedCharSequence = modifiedLineSequence.createCharSequence(shouldIgnoreTrimWhitespace, diffChange.modifiedStart, diffChange.modifiedStart + diffChange.modifiedLength - 1); + if (originalCharSequence.getElements().length > 0 && modifiedCharSequence.getElements().length > 0) { + let rawChanges = computeDiff(originalCharSequence, modifiedCharSequence, continueCharDiff, true).changes; + if (shouldPostProcessCharChanges) { + rawChanges = postProcessCharChanges(rawChanges); + } + charChanges = []; + for (let i = 0, length = rawChanges.length; i < length; i++) { + charChanges.push(CharChange.createFromDiffChange(rawChanges[i], originalCharSequence, modifiedCharSequence)); + } + } + } + return new _LineChange(originalStartLineNumber, originalEndLineNumber, modifiedStartLineNumber, modifiedEndLineNumber, charChanges); + } + }; + var DiffComputer = class { + constructor(originalLines, modifiedLines, opts) { + this.shouldComputeCharChanges = opts.shouldComputeCharChanges; + this.shouldPostProcessCharChanges = opts.shouldPostProcessCharChanges; + this.shouldIgnoreTrimWhitespace = opts.shouldIgnoreTrimWhitespace; + this.shouldMakePrettyDiff = opts.shouldMakePrettyDiff; + this.originalLines = originalLines; + this.modifiedLines = modifiedLines; + this.original = new LineSequence(originalLines); + this.modified = new LineSequence(modifiedLines); + this.continueLineDiff = createContinueProcessingPredicate(opts.maxComputationTime); + this.continueCharDiff = createContinueProcessingPredicate(opts.maxComputationTime === 0 ? 0 : Math.min(opts.maxComputationTime, 5e3)); + } + computeDiff() { + if (this.original.lines.length === 1 && this.original.lines[0].length === 0) { + if (this.modified.lines.length === 1 && this.modified.lines[0].length === 0) { + return { + quitEarly: false, + changes: [] + }; + } + return { + quitEarly: false, + changes: [{ + originalStartLineNumber: 1, + originalEndLineNumber: 1, + modifiedStartLineNumber: 1, + modifiedEndLineNumber: this.modified.lines.length, + charChanges: void 0 + }] + }; + } + if (this.modified.lines.length === 1 && this.modified.lines[0].length === 0) { + return { + quitEarly: false, + changes: [{ + originalStartLineNumber: 1, + originalEndLineNumber: this.original.lines.length, + modifiedStartLineNumber: 1, + modifiedEndLineNumber: 1, + charChanges: void 0 + }] + }; + } + const diffResult = computeDiff(this.original, this.modified, this.continueLineDiff, this.shouldMakePrettyDiff); + const rawChanges = diffResult.changes; + const quitEarly = diffResult.quitEarly; + if (this.shouldIgnoreTrimWhitespace) { + const lineChanges = []; + for (let i = 0, length = rawChanges.length; i < length; i++) { + lineChanges.push(LineChange.createFromDiffResult(this.shouldIgnoreTrimWhitespace, rawChanges[i], this.original, this.modified, this.continueCharDiff, this.shouldComputeCharChanges, this.shouldPostProcessCharChanges)); + } + return { + quitEarly, + changes: lineChanges + }; + } + const result = []; + let originalLineIndex = 0; + let modifiedLineIndex = 0; + for (let i = -1, len = rawChanges.length; i < len; i++) { + const nextChange = i + 1 < len ? rawChanges[i + 1] : null; + const originalStop = nextChange ? nextChange.originalStart : this.originalLines.length; + const modifiedStop = nextChange ? nextChange.modifiedStart : this.modifiedLines.length; + while (originalLineIndex < originalStop && modifiedLineIndex < modifiedStop) { + const originalLine = this.originalLines[originalLineIndex]; + const modifiedLine = this.modifiedLines[modifiedLineIndex]; + if (originalLine !== modifiedLine) { + { + let originalStartColumn = getFirstNonBlankColumn(originalLine, 1); + let modifiedStartColumn = getFirstNonBlankColumn(modifiedLine, 1); + while (originalStartColumn > 1 && modifiedStartColumn > 1) { + const originalChar = originalLine.charCodeAt(originalStartColumn - 2); + const modifiedChar = modifiedLine.charCodeAt(modifiedStartColumn - 2); + if (originalChar !== modifiedChar) { + break; + } + originalStartColumn--; + modifiedStartColumn--; + } + if (originalStartColumn > 1 || modifiedStartColumn > 1) { + this._pushTrimWhitespaceCharChange(result, originalLineIndex + 1, 1, originalStartColumn, modifiedLineIndex + 1, 1, modifiedStartColumn); + } + } + { + let originalEndColumn = getLastNonBlankColumn(originalLine, 1); + let modifiedEndColumn = getLastNonBlankColumn(modifiedLine, 1); + const originalMaxColumn = originalLine.length + 1; + const modifiedMaxColumn = modifiedLine.length + 1; + while (originalEndColumn < originalMaxColumn && modifiedEndColumn < modifiedMaxColumn) { + const originalChar = originalLine.charCodeAt(originalEndColumn - 1); + const modifiedChar = originalLine.charCodeAt(modifiedEndColumn - 1); + if (originalChar !== modifiedChar) { + break; + } + originalEndColumn++; + modifiedEndColumn++; + } + if (originalEndColumn < originalMaxColumn || modifiedEndColumn < modifiedMaxColumn) { + this._pushTrimWhitespaceCharChange(result, originalLineIndex + 1, originalEndColumn, originalMaxColumn, modifiedLineIndex + 1, modifiedEndColumn, modifiedMaxColumn); + } + } + } + originalLineIndex++; + modifiedLineIndex++; + } + if (nextChange) { + result.push(LineChange.createFromDiffResult(this.shouldIgnoreTrimWhitespace, nextChange, this.original, this.modified, this.continueCharDiff, this.shouldComputeCharChanges, this.shouldPostProcessCharChanges)); + originalLineIndex += nextChange.originalLength; + modifiedLineIndex += nextChange.modifiedLength; + } + } + return { + quitEarly, + changes: result + }; + } + _pushTrimWhitespaceCharChange(result, originalLineNumber, originalStartColumn, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedEndColumn) { + if (this._mergeTrimWhitespaceCharChange(result, originalLineNumber, originalStartColumn, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedEndColumn)) { + return; + } + let charChanges = void 0; + if (this.shouldComputeCharChanges) { + charChanges = [new CharChange(originalLineNumber, originalStartColumn, originalLineNumber, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedLineNumber, modifiedEndColumn)]; + } + result.push(new LineChange(originalLineNumber, originalLineNumber, modifiedLineNumber, modifiedLineNumber, charChanges)); + } + _mergeTrimWhitespaceCharChange(result, originalLineNumber, originalStartColumn, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedEndColumn) { + const len = result.length; + if (len === 0) { + return false; + } + const prevChange = result[len - 1]; + if (prevChange.originalEndLineNumber === 0 || prevChange.modifiedEndLineNumber === 0) { + return false; + } + if (prevChange.originalEndLineNumber === originalLineNumber && prevChange.modifiedEndLineNumber === modifiedLineNumber) { + if (this.shouldComputeCharChanges && prevChange.charChanges) { + prevChange.charChanges.push(new CharChange(originalLineNumber, originalStartColumn, originalLineNumber, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedLineNumber, modifiedEndColumn)); + } + return true; + } + if (prevChange.originalEndLineNumber + 1 === originalLineNumber && prevChange.modifiedEndLineNumber + 1 === modifiedLineNumber) { + prevChange.originalEndLineNumber = originalLineNumber; + prevChange.modifiedEndLineNumber = modifiedLineNumber; + if (this.shouldComputeCharChanges && prevChange.charChanges) { + prevChange.charChanges.push(new CharChange(originalLineNumber, originalStartColumn, originalLineNumber, originalEndColumn, modifiedLineNumber, modifiedStartColumn, modifiedLineNumber, modifiedEndColumn)); + } + return true; + } + return false; + } + }; + function getFirstNonBlankColumn(txt, defaultValue) { + const r = firstNonWhitespaceIndex(txt); + if (r === -1) { + return defaultValue; + } + return r + 1; + } + function getLastNonBlankColumn(txt, defaultValue) { + const r = lastNonWhitespaceIndex(txt); + if (r === -1) { + return defaultValue; + } + return r + 2; + } + function createContinueProcessingPredicate(maximumRuntime) { + if (maximumRuntime === 0) { + return () => true; + } + const startTime = Date.now(); + return () => { + return Date.now() - startTime < maximumRuntime; + }; + } + + // node_modules/monaco-editor/esm/vs/base/common/arrays.js + function equals2(one, other, itemEquals = (a2, b) => a2 === b) { + if (one === other) { + return true; + } + if (!one || !other) { + return false; + } + if (one.length !== other.length) { + return false; + } + for (let i = 0, len = one.length; i < len; i++) { + if (!itemEquals(one[i], other[i])) { + return false; + } + } + return true; + } + function* groupAdjacentBy(items, shouldBeGrouped) { + let currentGroup; + let last; + for (const item of items) { + if (last !== void 0 && shouldBeGrouped(last, item)) { + currentGroup.push(item); + } else { + if (currentGroup) { + yield currentGroup; + } + currentGroup = [item]; + } + last = item; + } + if (currentGroup) { + yield currentGroup; + } + } + function forEachAdjacent(arr, f2) { + for (let i = 0; i <= arr.length; i++) { + f2(i === 0 ? void 0 : arr[i - 1], i === arr.length ? void 0 : arr[i]); + } + } + function forEachWithNeighbors(arr, f2) { + for (let i = 0; i < arr.length; i++) { + f2(i === 0 ? void 0 : arr[i - 1], arr[i], i + 1 === arr.length ? void 0 : arr[i + 1]); + } + } + function pushMany(arr, items) { + for (const item of items) { + arr.push(item); + } + } + var CompareResult; + (function(CompareResult2) { + function isLessThan(result) { + return result < 0; + } + CompareResult2.isLessThan = isLessThan; + function isLessThanOrEqual(result) { + return result <= 0; + } + CompareResult2.isLessThanOrEqual = isLessThanOrEqual; + function isGreaterThan(result) { + return result > 0; + } + CompareResult2.isGreaterThan = isGreaterThan; + function isNeitherLessOrGreaterThan(result) { + return result === 0; + } + CompareResult2.isNeitherLessOrGreaterThan = isNeitherLessOrGreaterThan; + CompareResult2.greaterThan = 1; + CompareResult2.lessThan = -1; + CompareResult2.neitherLessOrGreaterThan = 0; + })(CompareResult || (CompareResult = {})); + function compareBy(selector, comparator) { + return (a2, b) => comparator(selector(a2), selector(b)); + } + var numberComparator = (a2, b) => a2 - b; + function reverseOrder(comparator) { + return (a2, b) => -comparator(a2, b); + } + var CallbackIterable = class _CallbackIterable { + static { + this.empty = new _CallbackIterable((_callback) => { + }); + } + constructor(iterate) { + this.iterate = iterate; + } + toArray() { + const result = []; + this.iterate((item) => { + result.push(item); + return true; + }); + return result; + } + filter(predicate) { + return new _CallbackIterable((cb) => this.iterate((item) => predicate(item) ? cb(item) : true)); + } + map(mapFn) { + return new _CallbackIterable((cb) => this.iterate((item) => cb(mapFn(item)))); + } + findLast(predicate) { + let result; + this.iterate((item) => { + if (predicate(item)) { + result = item; + } + return true; + }); + return result; + } + findLastMaxBy(comparator) { + let result; + let first = true; + this.iterate((item) => { + if (first || CompareResult.isGreaterThan(comparator(item, result))) { + first = false; + result = item; + } + return true; + }); + return result; + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js + var DiffAlgorithmResult = class _DiffAlgorithmResult { + static trivial(seq1, seq2) { + return new _DiffAlgorithmResult([new SequenceDiff(OffsetRange.ofLength(seq1.length), OffsetRange.ofLength(seq2.length))], false); + } + static trivialTimedOut(seq1, seq2) { + return new _DiffAlgorithmResult([new SequenceDiff(OffsetRange.ofLength(seq1.length), OffsetRange.ofLength(seq2.length))], true); + } + constructor(diffs, hitTimeout) { + this.diffs = diffs; + this.hitTimeout = hitTimeout; + } + }; + var SequenceDiff = class _SequenceDiff { + static invert(sequenceDiffs, doc1Length) { + const result = []; + forEachAdjacent(sequenceDiffs, (a2, b) => { + result.push(_SequenceDiff.fromOffsetPairs(a2 ? a2.getEndExclusives() : OffsetPair.zero, b ? b.getStarts() : new OffsetPair(doc1Length, (a2 ? a2.seq2Range.endExclusive - a2.seq1Range.endExclusive : 0) + doc1Length))); + }); + return result; + } + static fromOffsetPairs(start, endExclusive) { + return new _SequenceDiff(new OffsetRange(start.offset1, endExclusive.offset1), new OffsetRange(start.offset2, endExclusive.offset2)); + } + static assertSorted(sequenceDiffs) { + let last = void 0; + for (const cur of sequenceDiffs) { + if (last) { + if (!(last.seq1Range.endExclusive <= cur.seq1Range.start && last.seq2Range.endExclusive <= cur.seq2Range.start)) { + throw new BugIndicatingError("Sequence diffs must be sorted"); + } + } + last = cur; + } + } + constructor(seq1Range, seq2Range) { + this.seq1Range = seq1Range; + this.seq2Range = seq2Range; + } + swap() { + return new _SequenceDiff(this.seq2Range, this.seq1Range); + } + toString() { + return `${this.seq1Range} <-> ${this.seq2Range}`; + } + join(other) { + return new _SequenceDiff(this.seq1Range.join(other.seq1Range), this.seq2Range.join(other.seq2Range)); + } + delta(offset) { + if (offset === 0) { + return this; + } + return new _SequenceDiff(this.seq1Range.delta(offset), this.seq2Range.delta(offset)); + } + deltaStart(offset) { + if (offset === 0) { + return this; + } + return new _SequenceDiff(this.seq1Range.deltaStart(offset), this.seq2Range.deltaStart(offset)); + } + deltaEnd(offset) { + if (offset === 0) { + return this; + } + return new _SequenceDiff(this.seq1Range.deltaEnd(offset), this.seq2Range.deltaEnd(offset)); + } + intersect(other) { + const i1 = this.seq1Range.intersect(other.seq1Range); + const i2 = this.seq2Range.intersect(other.seq2Range); + if (!i1 || !i2) { + return void 0; + } + return new _SequenceDiff(i1, i2); + } + getStarts() { + return new OffsetPair(this.seq1Range.start, this.seq2Range.start); + } + getEndExclusives() { + return new OffsetPair(this.seq1Range.endExclusive, this.seq2Range.endExclusive); + } + }; + var OffsetPair = class _OffsetPair { + static { + this.zero = new _OffsetPair(0, 0); + } + static { + this.max = new _OffsetPair(Number.MAX_SAFE_INTEGER, Number.MAX_SAFE_INTEGER); + } + constructor(offset1, offset2) { + this.offset1 = offset1; + this.offset2 = offset2; + } + toString() { + return `${this.offset1} <-> ${this.offset2}`; + } + delta(offset) { + if (offset === 0) { + return this; + } + return new _OffsetPair(this.offset1 + offset, this.offset2 + offset); + } + equals(other) { + return this.offset1 === other.offset1 && this.offset2 === other.offset2; + } + }; + var InfiniteTimeout = class _InfiniteTimeout { + static { + this.instance = new _InfiniteTimeout(); + } + isValid() { + return true; + } + }; + var DateTimeout = class { + constructor(timeout) { + this.timeout = timeout; + this.startTime = Date.now(); + this.valid = true; + if (timeout <= 0) { + throw new BugIndicatingError("timeout must be positive"); + } + } + // Recommendation: Set a log-point `{this.disable()}` in the body + isValid() { + const valid = Date.now() - this.startTime < this.timeout; + if (!valid && this.valid) { + this.valid = false; + debugger; + } + return this.valid; + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/utils.js + var Array2D = class { + constructor(width, height) { + this.width = width; + this.height = height; + this.array = []; + this.array = new Array(width * height); + } + get(x, y) { + return this.array[x + y * this.width]; + } + set(x, y, value) { + this.array[x + y * this.width] = value; + } + }; + function isSpace(charCode) { + return charCode === 32 || charCode === 9; + } + var LineRangeFragment = class _LineRangeFragment { + static { + this.chrKeys = /* @__PURE__ */ new Map(); + } + static getKey(chr) { + let key = this.chrKeys.get(chr); + if (key === void 0) { + key = this.chrKeys.size; + this.chrKeys.set(chr, key); + } + return key; + } + constructor(range, lines, source) { + this.range = range; + this.lines = lines; + this.source = source; + this.histogram = []; + let counter = 0; + for (let i = range.startLineNumber - 1; i < range.endLineNumberExclusive - 1; i++) { + const line = lines[i]; + for (let j = 0; j < line.length; j++) { + counter++; + const chr = line[j]; + const key2 = _LineRangeFragment.getKey(chr); + this.histogram[key2] = (this.histogram[key2] || 0) + 1; + } + counter++; + const key = _LineRangeFragment.getKey("\n"); + this.histogram[key] = (this.histogram[key] || 0) + 1; + } + this.totalCount = counter; + } + computeSimilarity(other) { + let sumDifferences = 0; + const maxLength = Math.max(this.histogram.length, other.histogram.length); + for (let i = 0; i < maxLength; i++) { + sumDifferences += Math.abs((this.histogram[i] ?? 0) - (other.histogram[i] ?? 0)); + } + return 1 - sumDifferences / (this.totalCount + other.totalCount); + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.js + var DynamicProgrammingDiffing = class { + compute(sequence1, sequence2, timeout = InfiniteTimeout.instance, equalityScore) { + if (sequence1.length === 0 || sequence2.length === 0) { + return DiffAlgorithmResult.trivial(sequence1, sequence2); + } + const lcsLengths = new Array2D(sequence1.length, sequence2.length); + const directions = new Array2D(sequence1.length, sequence2.length); + const lengths = new Array2D(sequence1.length, sequence2.length); + for (let s12 = 0; s12 < sequence1.length; s12++) { + for (let s22 = 0; s22 < sequence2.length; s22++) { + if (!timeout.isValid()) { + return DiffAlgorithmResult.trivialTimedOut(sequence1, sequence2); + } + const horizontalLen = s12 === 0 ? 0 : lcsLengths.get(s12 - 1, s22); + const verticalLen = s22 === 0 ? 0 : lcsLengths.get(s12, s22 - 1); + let extendedSeqScore; + if (sequence1.getElement(s12) === sequence2.getElement(s22)) { + if (s12 === 0 || s22 === 0) { + extendedSeqScore = 0; + } else { + extendedSeqScore = lcsLengths.get(s12 - 1, s22 - 1); + } + if (s12 > 0 && s22 > 0 && directions.get(s12 - 1, s22 - 1) === 3) { + extendedSeqScore += lengths.get(s12 - 1, s22 - 1); + } + extendedSeqScore += equalityScore ? equalityScore(s12, s22) : 1; + } else { + extendedSeqScore = -1; + } + const newValue = Math.max(horizontalLen, verticalLen, extendedSeqScore); + if (newValue === extendedSeqScore) { + const prevLen = s12 > 0 && s22 > 0 ? lengths.get(s12 - 1, s22 - 1) : 0; + lengths.set(s12, s22, prevLen + 1); + directions.set(s12, s22, 3); + } else if (newValue === horizontalLen) { + lengths.set(s12, s22, 0); + directions.set(s12, s22, 1); + } else if (newValue === verticalLen) { + lengths.set(s12, s22, 0); + directions.set(s12, s22, 2); + } + lcsLengths.set(s12, s22, newValue); + } + } + const result = []; + let lastAligningPosS1 = sequence1.length; + let lastAligningPosS2 = sequence2.length; + function reportDecreasingAligningPositions(s12, s22) { + if (s12 + 1 !== lastAligningPosS1 || s22 + 1 !== lastAligningPosS2) { + result.push(new SequenceDiff(new OffsetRange(s12 + 1, lastAligningPosS1), new OffsetRange(s22 + 1, lastAligningPosS2))); + } + lastAligningPosS1 = s12; + lastAligningPosS2 = s22; + } + let s1 = sequence1.length - 1; + let s2 = sequence2.length - 1; + while (s1 >= 0 && s2 >= 0) { + if (directions.get(s1, s2) === 3) { + reportDecreasingAligningPositions(s1, s2); + s1--; + s2--; + } else { + if (directions.get(s1, s2) === 1) { + s1--; + } else { + s2--; + } + } + } + reportDecreasingAligningPositions(-1, -1); + result.reverse(); + return new DiffAlgorithmResult(result, false); + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.js + var MyersDiffAlgorithm = class { + compute(seq1, seq2, timeout = InfiniteTimeout.instance) { + if (seq1.length === 0 || seq2.length === 0) { + return DiffAlgorithmResult.trivial(seq1, seq2); + } + const seqX = seq1; + const seqY = seq2; + function getXAfterSnake(x, y) { + while (x < seqX.length && y < seqY.length && seqX.getElement(x) === seqY.getElement(y)) { + x++; + y++; + } + return x; + } + let d = 0; + const V = new FastInt32Array(); + V.set(0, getXAfterSnake(0, 0)); + const paths = new FastArrayNegativeIndices(); + paths.set(0, V.get(0) === 0 ? null : new SnakePath(null, 0, 0, V.get(0))); + let k = 0; + loop: while (true) { + d++; + if (!timeout.isValid()) { + return DiffAlgorithmResult.trivialTimedOut(seqX, seqY); + } + const lowerBound = -Math.min(d, seqY.length + d % 2); + const upperBound = Math.min(d, seqX.length + d % 2); + for (k = lowerBound; k <= upperBound; k += 2) { + let step = 0; + const maxXofDLineTop = k === upperBound ? -1 : V.get(k + 1); + const maxXofDLineLeft = k === lowerBound ? -1 : V.get(k - 1) + 1; + step++; + const x = Math.min(Math.max(maxXofDLineTop, maxXofDLineLeft), seqX.length); + const y = x - k; + step++; + if (x > seqX.length || y > seqY.length) { + continue; + } + const newMaxX = getXAfterSnake(x, y); + V.set(k, newMaxX); + const lastPath = x === maxXofDLineTop ? paths.get(k + 1) : paths.get(k - 1); + paths.set(k, newMaxX !== x ? new SnakePath(lastPath, x, y, newMaxX - x) : lastPath); + if (V.get(k) === seqX.length && V.get(k) - k === seqY.length) { + break loop; + } + } + } + let path = paths.get(k); + const result = []; + let lastAligningPosS1 = seqX.length; + let lastAligningPosS2 = seqY.length; + while (true) { + const endX = path ? path.x + path.length : 0; + const endY = path ? path.y + path.length : 0; + if (endX !== lastAligningPosS1 || endY !== lastAligningPosS2) { + result.push(new SequenceDiff(new OffsetRange(endX, lastAligningPosS1), new OffsetRange(endY, lastAligningPosS2))); + } + if (!path) { + break; + } + lastAligningPosS1 = path.x; + lastAligningPosS2 = path.y; + path = path.prev; + } + result.reverse(); + return new DiffAlgorithmResult(result, false); + } + }; + var SnakePath = class { + constructor(prev, x, y, length) { + this.prev = prev; + this.x = x; + this.y = y; + this.length = length; + } + }; + var FastInt32Array = class { + constructor() { + this.positiveArr = new Int32Array(10); + this.negativeArr = new Int32Array(10); + } + get(idx) { + if (idx < 0) { + idx = -idx - 1; + return this.negativeArr[idx]; + } else { + return this.positiveArr[idx]; + } + } + set(idx, value) { + if (idx < 0) { + idx = -idx - 1; + if (idx >= this.negativeArr.length) { + const arr = this.negativeArr; + this.negativeArr = new Int32Array(arr.length * 2); + this.negativeArr.set(arr); + } + this.negativeArr[idx] = value; + } else { + if (idx >= this.positiveArr.length) { + const arr = this.positiveArr; + this.positiveArr = new Int32Array(arr.length * 2); + this.positiveArr.set(arr); + } + this.positiveArr[idx] = value; + } + } + }; + var FastArrayNegativeIndices = class { + constructor() { + this.positiveArr = []; + this.negativeArr = []; + } + get(idx) { + if (idx < 0) { + idx = -idx - 1; + return this.negativeArr[idx]; + } else { + return this.positiveArr[idx]; + } + } + set(idx, value) { + if (idx < 0) { + idx = -idx - 1; + this.negativeArr[idx] = value; + } else { + this.positiveArr[idx] = value; + } + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js + var LinesSliceCharSequence = class { + constructor(lines, range, considerWhitespaceChanges) { + this.lines = lines; + this.range = range; + this.considerWhitespaceChanges = considerWhitespaceChanges; + this.elements = []; + this.firstElementOffsetByLineIdx = []; + this.lineStartOffsets = []; + this.trimmedWsLengthsByLineIdx = []; + this.firstElementOffsetByLineIdx.push(0); + for (let lineNumber = this.range.startLineNumber; lineNumber <= this.range.endLineNumber; lineNumber++) { + let line = lines[lineNumber - 1]; + let lineStartOffset = 0; + if (lineNumber === this.range.startLineNumber && this.range.startColumn > 1) { + lineStartOffset = this.range.startColumn - 1; + line = line.substring(lineStartOffset); + } + this.lineStartOffsets.push(lineStartOffset); + let trimmedWsLength = 0; + if (!considerWhitespaceChanges) { + const trimmedStartLine = line.trimStart(); + trimmedWsLength = line.length - trimmedStartLine.length; + line = trimmedStartLine.trimEnd(); + } + this.trimmedWsLengthsByLineIdx.push(trimmedWsLength); + const lineLength = lineNumber === this.range.endLineNumber ? Math.min(this.range.endColumn - 1 - lineStartOffset - trimmedWsLength, line.length) : line.length; + for (let i = 0; i < lineLength; i++) { + this.elements.push(line.charCodeAt(i)); + } + if (lineNumber < this.range.endLineNumber) { + this.elements.push("\n".charCodeAt(0)); + this.firstElementOffsetByLineIdx.push(this.elements.length); + } + } + } + toString() { + return `Slice: "${this.text}"`; + } + get text() { + return this.getText(new OffsetRange(0, this.length)); + } + getText(range) { + return this.elements.slice(range.start, range.endExclusive).map((e) => String.fromCharCode(e)).join(""); + } + getElement(offset) { + return this.elements[offset]; + } + get length() { + return this.elements.length; + } + getBoundaryScore(length) { + const prevCategory = getCategory(length > 0 ? this.elements[length - 1] : -1); + const nextCategory = getCategory(length < this.elements.length ? this.elements[length] : -1); + if (prevCategory === 7 && nextCategory === 8) { + return 0; + } + if (prevCategory === 8) { + return 150; + } + let score2 = 0; + if (prevCategory !== nextCategory) { + score2 += 10; + if (prevCategory === 0 && nextCategory === 1) { + score2 += 1; + } + } + score2 += getCategoryBoundaryScore(prevCategory); + score2 += getCategoryBoundaryScore(nextCategory); + return score2; + } + translateOffset(offset, preference = "right") { + const i = findLastIdxMonotonous(this.firstElementOffsetByLineIdx, (value) => value <= offset); + const lineOffset = offset - this.firstElementOffsetByLineIdx[i]; + return new Position(this.range.startLineNumber + i, 1 + this.lineStartOffsets[i] + lineOffset + (lineOffset === 0 && preference === "left" ? 0 : this.trimmedWsLengthsByLineIdx[i])); + } + translateRange(range) { + const pos1 = this.translateOffset(range.start, "right"); + const pos2 = this.translateOffset(range.endExclusive, "left"); + if (pos2.isBefore(pos1)) { + return Range.fromPositions(pos2, pos2); + } + return Range.fromPositions(pos1, pos2); + } + /** + * Finds the word that contains the character at the given offset + */ + findWordContaining(offset) { + if (offset < 0 || offset >= this.elements.length) { + return void 0; + } + if (!isWordChar(this.elements[offset])) { + return void 0; + } + let start = offset; + while (start > 0 && isWordChar(this.elements[start - 1])) { + start--; + } + let end = offset; + while (end < this.elements.length && isWordChar(this.elements[end])) { + end++; + } + return new OffsetRange(start, end); + } + countLinesIn(range) { + return this.translateOffset(range.endExclusive).lineNumber - this.translateOffset(range.start).lineNumber; + } + isStronglyEqual(offset1, offset2) { + return this.elements[offset1] === this.elements[offset2]; + } + extendToFullLines(range) { + const start = findLastMonotonous(this.firstElementOffsetByLineIdx, (x) => x <= range.start) ?? 0; + const end = findFirstMonotonous(this.firstElementOffsetByLineIdx, (x) => range.endExclusive <= x) ?? this.elements.length; + return new OffsetRange(start, end); + } + }; + function isWordChar(charCode) { + return charCode >= 97 && charCode <= 122 || charCode >= 65 && charCode <= 90 || charCode >= 48 && charCode <= 57; + } + var score = { + [ + 0 + /* CharBoundaryCategory.WordLower */ + ]: 0, + [ + 1 + /* CharBoundaryCategory.WordUpper */ + ]: 0, + [ + 2 + /* CharBoundaryCategory.WordNumber */ + ]: 0, + [ + 3 + /* CharBoundaryCategory.End */ + ]: 10, + [ + 4 + /* CharBoundaryCategory.Other */ + ]: 2, + [ + 5 + /* CharBoundaryCategory.Separator */ + ]: 30, + [ + 6 + /* CharBoundaryCategory.Space */ + ]: 3, + [ + 7 + /* CharBoundaryCategory.LineBreakCR */ + ]: 10, + [ + 8 + /* CharBoundaryCategory.LineBreakLF */ + ]: 10 + }; + function getCategoryBoundaryScore(category) { + return score[category]; + } + function getCategory(charCode) { + if (charCode === 10) { + return 8; + } else if (charCode === 13) { + return 7; + } else if (isSpace(charCode)) { + return 6; + } else if (charCode >= 97 && charCode <= 122) { + return 0; + } else if (charCode >= 65 && charCode <= 90) { + return 1; + } else if (charCode >= 48 && charCode <= 57) { + return 2; + } else if (charCode === -1) { + return 3; + } else if (charCode === 44 || charCode === 59) { + return 5; + } else { + return 4; + } + } + + // node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js + function computeMovedLines(changes, originalLines, modifiedLines, hashedOriginalLines, hashedModifiedLines, timeout) { + let { moves, excludedChanges } = computeMovesFromSimpleDeletionsToSimpleInsertions(changes, originalLines, modifiedLines, timeout); + if (!timeout.isValid()) { + return []; + } + const filteredChanges = changes.filter((c) => !excludedChanges.has(c)); + const unchangedMoves = computeUnchangedMoves(filteredChanges, hashedOriginalLines, hashedModifiedLines, originalLines, modifiedLines, timeout); + pushMany(moves, unchangedMoves); + moves = joinCloseConsecutiveMoves(moves); + moves = moves.filter((current) => { + const lines = current.original.toOffsetRange().slice(originalLines).map((l) => l.trim()); + const originalText = lines.join("\n"); + return originalText.length >= 15 && countWhere(lines, (l) => l.length >= 2) >= 2; + }); + moves = removeMovesInSameDiff(changes, moves); + return moves; + } + function countWhere(arr, predicate) { + let count = 0; + for (const t2 of arr) { + if (predicate(t2)) { + count++; + } + } + return count; + } + function computeMovesFromSimpleDeletionsToSimpleInsertions(changes, originalLines, modifiedLines, timeout) { + const moves = []; + const deletions = changes.filter((c) => c.modified.isEmpty && c.original.length >= 3).map((d) => new LineRangeFragment(d.original, originalLines, d)); + const insertions = new Set(changes.filter((c) => c.original.isEmpty && c.modified.length >= 3).map((d) => new LineRangeFragment(d.modified, modifiedLines, d))); + const excludedChanges = /* @__PURE__ */ new Set(); + for (const deletion of deletions) { + let highestSimilarity = -1; + let best; + for (const insertion of insertions) { + const similarity = deletion.computeSimilarity(insertion); + if (similarity > highestSimilarity) { + highestSimilarity = similarity; + best = insertion; + } + } + if (highestSimilarity > 0.9 && best) { + insertions.delete(best); + moves.push(new LineRangeMapping(deletion.range, best.range)); + excludedChanges.add(deletion.source); + excludedChanges.add(best.source); + } + if (!timeout.isValid()) { + return { moves, excludedChanges }; + } + } + return { moves, excludedChanges }; + } + function computeUnchangedMoves(changes, hashedOriginalLines, hashedModifiedLines, originalLines, modifiedLines, timeout) { + const moves = []; + const original3LineHashes = new SetMap(); + for (const change of changes) { + for (let i = change.original.startLineNumber; i < change.original.endLineNumberExclusive - 2; i++) { + const key = `${hashedOriginalLines[i - 1]}:${hashedOriginalLines[i + 1 - 1]}:${hashedOriginalLines[i + 2 - 1]}`; + original3LineHashes.add(key, { range: new LineRange(i, i + 3) }); + } + } + const possibleMappings = []; + changes.sort(compareBy((c) => c.modified.startLineNumber, numberComparator)); + for (const change of changes) { + let lastMappings = []; + for (let i = change.modified.startLineNumber; i < change.modified.endLineNumberExclusive - 2; i++) { + const key = `${hashedModifiedLines[i - 1]}:${hashedModifiedLines[i + 1 - 1]}:${hashedModifiedLines[i + 2 - 1]}`; + const currentModifiedRange = new LineRange(i, i + 3); + const nextMappings = []; + original3LineHashes.forEach(key, ({ range }) => { + for (const lastMapping of lastMappings) { + if (lastMapping.originalLineRange.endLineNumberExclusive + 1 === range.endLineNumberExclusive && lastMapping.modifiedLineRange.endLineNumberExclusive + 1 === currentModifiedRange.endLineNumberExclusive) { + lastMapping.originalLineRange = new LineRange(lastMapping.originalLineRange.startLineNumber, range.endLineNumberExclusive); + lastMapping.modifiedLineRange = new LineRange(lastMapping.modifiedLineRange.startLineNumber, currentModifiedRange.endLineNumberExclusive); + nextMappings.push(lastMapping); + return; + } + } + const mapping = { + modifiedLineRange: currentModifiedRange, + originalLineRange: range + }; + possibleMappings.push(mapping); + nextMappings.push(mapping); + }); + lastMappings = nextMappings; + } + if (!timeout.isValid()) { + return []; + } + } + possibleMappings.sort(reverseOrder(compareBy((m) => m.modifiedLineRange.length, numberComparator))); + const modifiedSet = new LineRangeSet(); + const originalSet = new LineRangeSet(); + for (const mapping of possibleMappings) { + const diffOrigToMod = mapping.modifiedLineRange.startLineNumber - mapping.originalLineRange.startLineNumber; + const modifiedSections = modifiedSet.subtractFrom(mapping.modifiedLineRange); + const originalTranslatedSections = originalSet.subtractFrom(mapping.originalLineRange).getWithDelta(diffOrigToMod); + const modifiedIntersectedSections = modifiedSections.getIntersection(originalTranslatedSections); + for (const s of modifiedIntersectedSections.ranges) { + if (s.length < 3) { + continue; + } + const modifiedLineRange = s; + const originalLineRange = s.delta(-diffOrigToMod); + moves.push(new LineRangeMapping(originalLineRange, modifiedLineRange)); + modifiedSet.addRange(modifiedLineRange); + originalSet.addRange(originalLineRange); + } + } + moves.sort(compareBy((m) => m.original.startLineNumber, numberComparator)); + const monotonousChanges = new MonotonousArray(changes); + for (let i = 0; i < moves.length; i++) { + const move = moves[i]; + const firstTouchingChangeOrig = monotonousChanges.findLastMonotonous((c) => c.original.startLineNumber <= move.original.startLineNumber); + const firstTouchingChangeMod = findLastMonotonous(changes, (c) => c.modified.startLineNumber <= move.modified.startLineNumber); + const linesAbove = Math.max(move.original.startLineNumber - firstTouchingChangeOrig.original.startLineNumber, move.modified.startLineNumber - firstTouchingChangeMod.modified.startLineNumber); + const lastTouchingChangeOrig = monotonousChanges.findLastMonotonous((c) => c.original.startLineNumber < move.original.endLineNumberExclusive); + const lastTouchingChangeMod = findLastMonotonous(changes, (c) => c.modified.startLineNumber < move.modified.endLineNumberExclusive); + const linesBelow = Math.max(lastTouchingChangeOrig.original.endLineNumberExclusive - move.original.endLineNumberExclusive, lastTouchingChangeMod.modified.endLineNumberExclusive - move.modified.endLineNumberExclusive); + let extendToTop; + for (extendToTop = 0; extendToTop < linesAbove; extendToTop++) { + const origLine = move.original.startLineNumber - extendToTop - 1; + const modLine = move.modified.startLineNumber - extendToTop - 1; + if (origLine > originalLines.length || modLine > modifiedLines.length) { + break; + } + if (modifiedSet.contains(modLine) || originalSet.contains(origLine)) { + break; + } + if (!areLinesSimilar(originalLines[origLine - 1], modifiedLines[modLine - 1], timeout)) { + break; + } + } + if (extendToTop > 0) { + originalSet.addRange(new LineRange(move.original.startLineNumber - extendToTop, move.original.startLineNumber)); + modifiedSet.addRange(new LineRange(move.modified.startLineNumber - extendToTop, move.modified.startLineNumber)); + } + let extendToBottom; + for (extendToBottom = 0; extendToBottom < linesBelow; extendToBottom++) { + const origLine = move.original.endLineNumberExclusive + extendToBottom; + const modLine = move.modified.endLineNumberExclusive + extendToBottom; + if (origLine > originalLines.length || modLine > modifiedLines.length) { + break; + } + if (modifiedSet.contains(modLine) || originalSet.contains(origLine)) { + break; + } + if (!areLinesSimilar(originalLines[origLine - 1], modifiedLines[modLine - 1], timeout)) { + break; + } + } + if (extendToBottom > 0) { + originalSet.addRange(new LineRange(move.original.endLineNumberExclusive, move.original.endLineNumberExclusive + extendToBottom)); + modifiedSet.addRange(new LineRange(move.modified.endLineNumberExclusive, move.modified.endLineNumberExclusive + extendToBottom)); + } + if (extendToTop > 0 || extendToBottom > 0) { + moves[i] = new LineRangeMapping(new LineRange(move.original.startLineNumber - extendToTop, move.original.endLineNumberExclusive + extendToBottom), new LineRange(move.modified.startLineNumber - extendToTop, move.modified.endLineNumberExclusive + extendToBottom)); + } + } + return moves; + } + function areLinesSimilar(line1, line2, timeout) { + if (line1.trim() === line2.trim()) { + return true; + } + if (line1.length > 300 && line2.length > 300) { + return false; + } + const myersDiffingAlgorithm = new MyersDiffAlgorithm(); + const result = myersDiffingAlgorithm.compute(new LinesSliceCharSequence([line1], new Range(1, 1, 1, line1.length), false), new LinesSliceCharSequence([line2], new Range(1, 1, 1, line2.length), false), timeout); + let commonNonSpaceCharCount = 0; + const inverted = SequenceDiff.invert(result.diffs, line1.length); + for (const seq of inverted) { + seq.seq1Range.forEach((idx) => { + if (!isSpace(line1.charCodeAt(idx))) { + commonNonSpaceCharCount++; + } + }); + } + function countNonWsChars(str) { + let count = 0; + for (let i = 0; i < line1.length; i++) { + if (!isSpace(str.charCodeAt(i))) { + count++; + } + } + return count; + } + const longerLineLength = countNonWsChars(line1.length > line2.length ? line1 : line2); + const r = commonNonSpaceCharCount / longerLineLength > 0.6 && longerLineLength > 10; + return r; + } + function joinCloseConsecutiveMoves(moves) { + if (moves.length === 0) { + return moves; + } + moves.sort(compareBy((m) => m.original.startLineNumber, numberComparator)); + const result = [moves[0]]; + for (let i = 1; i < moves.length; i++) { + const last = result[result.length - 1]; + const current = moves[i]; + const originalDist = current.original.startLineNumber - last.original.endLineNumberExclusive; + const modifiedDist = current.modified.startLineNumber - last.modified.endLineNumberExclusive; + const currentMoveAfterLast = originalDist >= 0 && modifiedDist >= 0; + if (currentMoveAfterLast && originalDist + modifiedDist <= 2) { + result[result.length - 1] = last.join(current); + continue; + } + result.push(current); + } + return result; + } + function removeMovesInSameDiff(changes, moves) { + const changesMonotonous = new MonotonousArray(changes); + moves = moves.filter((m) => { + const diffBeforeEndOfMoveOriginal = changesMonotonous.findLastMonotonous((c) => c.original.startLineNumber < m.original.endLineNumberExclusive) || new LineRangeMapping(new LineRange(1, 1), new LineRange(1, 1)); + const diffBeforeEndOfMoveModified = findLastMonotonous(changes, (c) => c.modified.startLineNumber < m.modified.endLineNumberExclusive); + const differentDiffs = diffBeforeEndOfMoveOriginal !== diffBeforeEndOfMoveModified; + return differentDiffs; + }); + return moves; + } + + // node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js + function optimizeSequenceDiffs(sequence1, sequence2, sequenceDiffs) { + let result = sequenceDiffs; + result = joinSequenceDiffsByShifting(sequence1, sequence2, result); + result = joinSequenceDiffsByShifting(sequence1, sequence2, result); + result = shiftSequenceDiffs(sequence1, sequence2, result); + return result; + } + function joinSequenceDiffsByShifting(sequence1, sequence2, sequenceDiffs) { + if (sequenceDiffs.length === 0) { + return sequenceDiffs; + } + const result = []; + result.push(sequenceDiffs[0]); + for (let i = 1; i < sequenceDiffs.length; i++) { + const prevResult = result[result.length - 1]; + let cur = sequenceDiffs[i]; + if (cur.seq1Range.isEmpty || cur.seq2Range.isEmpty) { + const length = cur.seq1Range.start - prevResult.seq1Range.endExclusive; + let d; + for (d = 1; d <= length; d++) { + if (sequence1.getElement(cur.seq1Range.start - d) !== sequence1.getElement(cur.seq1Range.endExclusive - d) || sequence2.getElement(cur.seq2Range.start - d) !== sequence2.getElement(cur.seq2Range.endExclusive - d)) { + break; + } + } + d--; + if (d === length) { + result[result.length - 1] = new SequenceDiff(new OffsetRange(prevResult.seq1Range.start, cur.seq1Range.endExclusive - length), new OffsetRange(prevResult.seq2Range.start, cur.seq2Range.endExclusive - length)); + continue; + } + cur = cur.delta(-d); + } + result.push(cur); + } + const result2 = []; + for (let i = 0; i < result.length - 1; i++) { + const nextResult = result[i + 1]; + let cur = result[i]; + if (cur.seq1Range.isEmpty || cur.seq2Range.isEmpty) { + const length = nextResult.seq1Range.start - cur.seq1Range.endExclusive; + let d; + for (d = 0; d < length; d++) { + if (!sequence1.isStronglyEqual(cur.seq1Range.start + d, cur.seq1Range.endExclusive + d) || !sequence2.isStronglyEqual(cur.seq2Range.start + d, cur.seq2Range.endExclusive + d)) { + break; + } + } + if (d === length) { + result[i + 1] = new SequenceDiff(new OffsetRange(cur.seq1Range.start + length, nextResult.seq1Range.endExclusive), new OffsetRange(cur.seq2Range.start + length, nextResult.seq2Range.endExclusive)); + continue; + } + if (d > 0) { + cur = cur.delta(d); + } + } + result2.push(cur); + } + if (result.length > 0) { + result2.push(result[result.length - 1]); + } + return result2; + } + function shiftSequenceDiffs(sequence1, sequence2, sequenceDiffs) { + if (!sequence1.getBoundaryScore || !sequence2.getBoundaryScore) { + return sequenceDiffs; + } + for (let i = 0; i < sequenceDiffs.length; i++) { + const prevDiff = i > 0 ? sequenceDiffs[i - 1] : void 0; + const diff = sequenceDiffs[i]; + const nextDiff = i + 1 < sequenceDiffs.length ? sequenceDiffs[i + 1] : void 0; + const seq1ValidRange = new OffsetRange(prevDiff ? prevDiff.seq1Range.endExclusive + 1 : 0, nextDiff ? nextDiff.seq1Range.start - 1 : sequence1.length); + const seq2ValidRange = new OffsetRange(prevDiff ? prevDiff.seq2Range.endExclusive + 1 : 0, nextDiff ? nextDiff.seq2Range.start - 1 : sequence2.length); + if (diff.seq1Range.isEmpty) { + sequenceDiffs[i] = shiftDiffToBetterPosition(diff, sequence1, sequence2, seq1ValidRange, seq2ValidRange); + } else if (diff.seq2Range.isEmpty) { + sequenceDiffs[i] = shiftDiffToBetterPosition(diff.swap(), sequence2, sequence1, seq2ValidRange, seq1ValidRange).swap(); + } + } + return sequenceDiffs; + } + function shiftDiffToBetterPosition(diff, sequence1, sequence2, seq1ValidRange, seq2ValidRange) { + const maxShiftLimit = 100; + let deltaBefore = 1; + while (diff.seq1Range.start - deltaBefore >= seq1ValidRange.start && diff.seq2Range.start - deltaBefore >= seq2ValidRange.start && sequence2.isStronglyEqual(diff.seq2Range.start - deltaBefore, diff.seq2Range.endExclusive - deltaBefore) && deltaBefore < maxShiftLimit) { + deltaBefore++; + } + deltaBefore--; + let deltaAfter = 0; + while (diff.seq1Range.start + deltaAfter < seq1ValidRange.endExclusive && diff.seq2Range.endExclusive + deltaAfter < seq2ValidRange.endExclusive && sequence2.isStronglyEqual(diff.seq2Range.start + deltaAfter, diff.seq2Range.endExclusive + deltaAfter) && deltaAfter < maxShiftLimit) { + deltaAfter++; + } + if (deltaBefore === 0 && deltaAfter === 0) { + return diff; + } + let bestDelta = 0; + let bestScore = -1; + for (let delta = -deltaBefore; delta <= deltaAfter; delta++) { + const seq2OffsetStart = diff.seq2Range.start + delta; + const seq2OffsetEndExclusive = diff.seq2Range.endExclusive + delta; + const seq1Offset = diff.seq1Range.start + delta; + const score2 = sequence1.getBoundaryScore(seq1Offset) + sequence2.getBoundaryScore(seq2OffsetStart) + sequence2.getBoundaryScore(seq2OffsetEndExclusive); + if (score2 > bestScore) { + bestScore = score2; + bestDelta = delta; + } + } + return diff.delta(bestDelta); + } + function removeShortMatches(sequence1, sequence2, sequenceDiffs) { + const result = []; + for (const s of sequenceDiffs) { + const last = result[result.length - 1]; + if (!last) { + result.push(s); + continue; + } + if (s.seq1Range.start - last.seq1Range.endExclusive <= 2 || s.seq2Range.start - last.seq2Range.endExclusive <= 2) { + result[result.length - 1] = new SequenceDiff(last.seq1Range.join(s.seq1Range), last.seq2Range.join(s.seq2Range)); + } else { + result.push(s); + } + } + return result; + } + function extendDiffsToEntireWordIfAppropriate(sequence1, sequence2, sequenceDiffs) { + const equalMappings = SequenceDiff.invert(sequenceDiffs, sequence1.length); + const additional = []; + let lastPoint = new OffsetPair(0, 0); + function scanWord(pair, equalMapping) { + if (pair.offset1 < lastPoint.offset1 || pair.offset2 < lastPoint.offset2) { + return; + } + const w1 = sequence1.findWordContaining(pair.offset1); + const w2 = sequence2.findWordContaining(pair.offset2); + if (!w1 || !w2) { + return; + } + let w = new SequenceDiff(w1, w2); + const equalPart = w.intersect(equalMapping); + let equalChars1 = equalPart.seq1Range.length; + let equalChars2 = equalPart.seq2Range.length; + while (equalMappings.length > 0) { + const next = equalMappings[0]; + const intersects = next.seq1Range.intersects(w.seq1Range) || next.seq2Range.intersects(w.seq2Range); + if (!intersects) { + break; + } + const v1 = sequence1.findWordContaining(next.seq1Range.start); + const v2 = sequence2.findWordContaining(next.seq2Range.start); + const v = new SequenceDiff(v1, v2); + const equalPart2 = v.intersect(next); + equalChars1 += equalPart2.seq1Range.length; + equalChars2 += equalPart2.seq2Range.length; + w = w.join(v); + if (w.seq1Range.endExclusive >= next.seq1Range.endExclusive) { + equalMappings.shift(); + } else { + break; + } + } + if (equalChars1 + equalChars2 < (w.seq1Range.length + w.seq2Range.length) * 2 / 3) { + additional.push(w); + } + lastPoint = w.getEndExclusives(); + } + while (equalMappings.length > 0) { + const next = equalMappings.shift(); + if (next.seq1Range.isEmpty) { + continue; + } + scanWord(next.getStarts(), next); + scanWord(next.getEndExclusives().delta(-1), next); + } + const merged = mergeSequenceDiffs(sequenceDiffs, additional); + return merged; + } + function mergeSequenceDiffs(sequenceDiffs1, sequenceDiffs2) { + const result = []; + while (sequenceDiffs1.length > 0 || sequenceDiffs2.length > 0) { + const sd1 = sequenceDiffs1[0]; + const sd2 = sequenceDiffs2[0]; + let next; + if (sd1 && (!sd2 || sd1.seq1Range.start < sd2.seq1Range.start)) { + next = sequenceDiffs1.shift(); + } else { + next = sequenceDiffs2.shift(); + } + if (result.length > 0 && result[result.length - 1].seq1Range.endExclusive >= next.seq1Range.start) { + result[result.length - 1] = result[result.length - 1].join(next); + } else { + result.push(next); + } + } + return result; + } + function removeVeryShortMatchingLinesBetweenDiffs(sequence1, _sequence2, sequenceDiffs) { + let diffs = sequenceDiffs; + if (diffs.length === 0) { + return diffs; + } + let counter = 0; + let shouldRepeat; + do { + shouldRepeat = false; + const result = [ + diffs[0] + ]; + for (let i = 1; i < diffs.length; i++) { + let shouldJoinDiffs = function(before, after) { + const unchangedRange = new OffsetRange(lastResult.seq1Range.endExclusive, cur.seq1Range.start); + const unchangedText = sequence1.getText(unchangedRange); + const unchangedTextWithoutWs = unchangedText.replace(/\s/g, ""); + if (unchangedTextWithoutWs.length <= 4 && (before.seq1Range.length + before.seq2Range.length > 5 || after.seq1Range.length + after.seq2Range.length > 5)) { + return true; + } + return false; + }; + const cur = diffs[i]; + const lastResult = result[result.length - 1]; + const shouldJoin = shouldJoinDiffs(lastResult, cur); + if (shouldJoin) { + shouldRepeat = true; + result[result.length - 1] = result[result.length - 1].join(cur); + } else { + result.push(cur); + } + } + diffs = result; + } while (counter++ < 10 && shouldRepeat); + return diffs; + } + function removeVeryShortMatchingTextBetweenLongDiffs(sequence1, sequence2, sequenceDiffs) { + let diffs = sequenceDiffs; + if (diffs.length === 0) { + return diffs; + } + let counter = 0; + let shouldRepeat; + do { + shouldRepeat = false; + const result = [ + diffs[0] + ]; + for (let i = 1; i < diffs.length; i++) { + let shouldJoinDiffs = function(before, after) { + const unchangedRange = new OffsetRange(lastResult.seq1Range.endExclusive, cur.seq1Range.start); + const unchangedLineCount = sequence1.countLinesIn(unchangedRange); + if (unchangedLineCount > 5 || unchangedRange.length > 500) { + return false; + } + const unchangedText = sequence1.getText(unchangedRange).trim(); + if (unchangedText.length > 20 || unchangedText.split(/\r\n|\r|\n/).length > 1) { + return false; + } + const beforeLineCount1 = sequence1.countLinesIn(before.seq1Range); + const beforeSeq1Length = before.seq1Range.length; + const beforeLineCount2 = sequence2.countLinesIn(before.seq2Range); + const beforeSeq2Length = before.seq2Range.length; + const afterLineCount1 = sequence1.countLinesIn(after.seq1Range); + const afterSeq1Length = after.seq1Range.length; + const afterLineCount2 = sequence2.countLinesIn(after.seq2Range); + const afterSeq2Length = after.seq2Range.length; + const max = 2 * 40 + 50; + function cap(v) { + return Math.min(v, max); + } + if (Math.pow(Math.pow(cap(beforeLineCount1 * 40 + beforeSeq1Length), 1.5) + Math.pow(cap(beforeLineCount2 * 40 + beforeSeq2Length), 1.5), 1.5) + Math.pow(Math.pow(cap(afterLineCount1 * 40 + afterSeq1Length), 1.5) + Math.pow(cap(afterLineCount2 * 40 + afterSeq2Length), 1.5), 1.5) > (max ** 1.5) ** 1.5 * 1.3) { + return true; + } + return false; + }; + const cur = diffs[i]; + const lastResult = result[result.length - 1]; + const shouldJoin = shouldJoinDiffs(lastResult, cur); + if (shouldJoin) { + shouldRepeat = true; + result[result.length - 1] = result[result.length - 1].join(cur); + } else { + result.push(cur); + } + } + diffs = result; + } while (counter++ < 10 && shouldRepeat); + const newDiffs = []; + forEachWithNeighbors(diffs, (prev, cur, next) => { + let newDiff = cur; + function shouldMarkAsChanged(text) { + return text.length > 0 && text.trim().length <= 3 && cur.seq1Range.length + cur.seq2Range.length > 100; + } + const fullRange1 = sequence1.extendToFullLines(cur.seq1Range); + const prefix = sequence1.getText(new OffsetRange(fullRange1.start, cur.seq1Range.start)); + if (shouldMarkAsChanged(prefix)) { + newDiff = newDiff.deltaStart(-prefix.length); + } + const suffix = sequence1.getText(new OffsetRange(cur.seq1Range.endExclusive, fullRange1.endExclusive)); + if (shouldMarkAsChanged(suffix)) { + newDiff = newDiff.deltaEnd(suffix.length); + } + const availableSpace = SequenceDiff.fromOffsetPairs(prev ? prev.getEndExclusives() : OffsetPair.zero, next ? next.getStarts() : OffsetPair.max); + const result = newDiff.intersect(availableSpace); + if (newDiffs.length > 0 && result.getStarts().equals(newDiffs[newDiffs.length - 1].getEndExclusives())) { + newDiffs[newDiffs.length - 1] = newDiffs[newDiffs.length - 1].join(result); + } else { + newDiffs.push(result); + } + }); + return newDiffs; + } + + // node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.js + var LineSequence2 = class { + constructor(trimmedHash, lines) { + this.trimmedHash = trimmedHash; + this.lines = lines; + } + getElement(offset) { + return this.trimmedHash[offset]; + } + get length() { + return this.trimmedHash.length; + } + getBoundaryScore(length) { + const indentationBefore = length === 0 ? 0 : getIndentation(this.lines[length - 1]); + const indentationAfter = length === this.lines.length ? 0 : getIndentation(this.lines[length]); + return 1e3 - (indentationBefore + indentationAfter); + } + getText(range) { + return this.lines.slice(range.start, range.endExclusive).join("\n"); + } + isStronglyEqual(offset1, offset2) { + return this.lines[offset1] === this.lines[offset2]; + } + }; + function getIndentation(str) { + let i = 0; + while (i < str.length && (str.charCodeAt(i) === 32 || str.charCodeAt(i) === 9)) { + i++; + } + return i; + } + + // node_modules/monaco-editor/esm/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js + var DefaultLinesDiffComputer = class { + constructor() { + this.dynamicProgrammingDiffing = new DynamicProgrammingDiffing(); + this.myersDiffingAlgorithm = new MyersDiffAlgorithm(); + } + computeDiff(originalLines, modifiedLines, options) { + if (originalLines.length <= 1 && equals2(originalLines, modifiedLines, (a2, b) => a2 === b)) { + return new LinesDiff([], [], false); + } + if (originalLines.length === 1 && originalLines[0].length === 0 || modifiedLines.length === 1 && modifiedLines[0].length === 0) { + return new LinesDiff([ + new DetailedLineRangeMapping(new LineRange(1, originalLines.length + 1), new LineRange(1, modifiedLines.length + 1), [ + new RangeMapping(new Range(1, 1, originalLines.length, originalLines[originalLines.length - 1].length + 1), new Range(1, 1, modifiedLines.length, modifiedLines[modifiedLines.length - 1].length + 1)) + ]) + ], [], false); + } + const timeout = options.maxComputationTimeMs === 0 ? InfiniteTimeout.instance : new DateTimeout(options.maxComputationTimeMs); + const considerWhitespaceChanges = !options.ignoreTrimWhitespace; + const perfectHashes = /* @__PURE__ */ new Map(); + function getOrCreateHash(text) { + let hash = perfectHashes.get(text); + if (hash === void 0) { + hash = perfectHashes.size; + perfectHashes.set(text, hash); + } + return hash; + } + const originalLinesHashes = originalLines.map((l) => getOrCreateHash(l.trim())); + const modifiedLinesHashes = modifiedLines.map((l) => getOrCreateHash(l.trim())); + const sequence1 = new LineSequence2(originalLinesHashes, originalLines); + const sequence2 = new LineSequence2(modifiedLinesHashes, modifiedLines); + const lineAlignmentResult = (() => { + if (sequence1.length + sequence2.length < 1700) { + return this.dynamicProgrammingDiffing.compute(sequence1, sequence2, timeout, (offset1, offset2) => originalLines[offset1] === modifiedLines[offset2] ? modifiedLines[offset2].length === 0 ? 0.1 : 1 + Math.log(1 + modifiedLines[offset2].length) : 0.99); + } + return this.myersDiffingAlgorithm.compute(sequence1, sequence2, timeout); + })(); + let lineAlignments = lineAlignmentResult.diffs; + let hitTimeout = lineAlignmentResult.hitTimeout; + lineAlignments = optimizeSequenceDiffs(sequence1, sequence2, lineAlignments); + lineAlignments = removeVeryShortMatchingLinesBetweenDiffs(sequence1, sequence2, lineAlignments); + const alignments = []; + const scanForWhitespaceChanges = (equalLinesCount) => { + if (!considerWhitespaceChanges) { + return; + } + for (let i = 0; i < equalLinesCount; i++) { + const seq1Offset = seq1LastStart + i; + const seq2Offset = seq2LastStart + i; + if (originalLines[seq1Offset] !== modifiedLines[seq2Offset]) { + const characterDiffs = this.refineDiff(originalLines, modifiedLines, new SequenceDiff(new OffsetRange(seq1Offset, seq1Offset + 1), new OffsetRange(seq2Offset, seq2Offset + 1)), timeout, considerWhitespaceChanges); + for (const a2 of characterDiffs.mappings) { + alignments.push(a2); + } + if (characterDiffs.hitTimeout) { + hitTimeout = true; + } + } + } + }; + let seq1LastStart = 0; + let seq2LastStart = 0; + for (const diff of lineAlignments) { + assertFn(() => diff.seq1Range.start - seq1LastStart === diff.seq2Range.start - seq2LastStart); + const equalLinesCount = diff.seq1Range.start - seq1LastStart; + scanForWhitespaceChanges(equalLinesCount); + seq1LastStart = diff.seq1Range.endExclusive; + seq2LastStart = diff.seq2Range.endExclusive; + const characterDiffs = this.refineDiff(originalLines, modifiedLines, diff, timeout, considerWhitespaceChanges); + if (characterDiffs.hitTimeout) { + hitTimeout = true; + } + for (const a2 of characterDiffs.mappings) { + alignments.push(a2); + } + } + scanForWhitespaceChanges(originalLines.length - seq1LastStart); + const changes = lineRangeMappingFromRangeMappings(alignments, originalLines, modifiedLines); + let moves = []; + if (options.computeMoves) { + moves = this.computeMoves(changes, originalLines, modifiedLines, originalLinesHashes, modifiedLinesHashes, timeout, considerWhitespaceChanges); + } + assertFn(() => { + function validatePosition(pos, lines) { + if (pos.lineNumber < 1 || pos.lineNumber > lines.length) { + return false; + } + const line = lines[pos.lineNumber - 1]; + if (pos.column < 1 || pos.column > line.length + 1) { + return false; + } + return true; + } + function validateRange(range, lines) { + if (range.startLineNumber < 1 || range.startLineNumber > lines.length + 1) { + return false; + } + if (range.endLineNumberExclusive < 1 || range.endLineNumberExclusive > lines.length + 1) { + return false; + } + return true; + } + for (const c of changes) { + if (!c.innerChanges) { + return false; + } + for (const ic of c.innerChanges) { + const valid = validatePosition(ic.modifiedRange.getStartPosition(), modifiedLines) && validatePosition(ic.modifiedRange.getEndPosition(), modifiedLines) && validatePosition(ic.originalRange.getStartPosition(), originalLines) && validatePosition(ic.originalRange.getEndPosition(), originalLines); + if (!valid) { + return false; + } + } + if (!validateRange(c.modified, modifiedLines) || !validateRange(c.original, originalLines)) { + return false; + } + } + return true; + }); + return new LinesDiff(changes, moves, hitTimeout); + } + computeMoves(changes, originalLines, modifiedLines, hashedOriginalLines, hashedModifiedLines, timeout, considerWhitespaceChanges) { + const moves = computeMovedLines(changes, originalLines, modifiedLines, hashedOriginalLines, hashedModifiedLines, timeout); + const movesWithDiffs = moves.map((m) => { + const moveChanges = this.refineDiff(originalLines, modifiedLines, new SequenceDiff(m.original.toOffsetRange(), m.modified.toOffsetRange()), timeout, considerWhitespaceChanges); + const mappings = lineRangeMappingFromRangeMappings(moveChanges.mappings, originalLines, modifiedLines, true); + return new MovedText(m, mappings); + }); + return movesWithDiffs; + } + refineDiff(originalLines, modifiedLines, diff, timeout, considerWhitespaceChanges) { + const lineRangeMapping = toLineRangeMapping(diff); + const rangeMapping = lineRangeMapping.toRangeMapping2(originalLines, modifiedLines); + const slice1 = new LinesSliceCharSequence(originalLines, rangeMapping.originalRange, considerWhitespaceChanges); + const slice2 = new LinesSliceCharSequence(modifiedLines, rangeMapping.modifiedRange, considerWhitespaceChanges); + const diffResult = slice1.length + slice2.length < 500 ? this.dynamicProgrammingDiffing.compute(slice1, slice2, timeout) : this.myersDiffingAlgorithm.compute(slice1, slice2, timeout); + const check = false; + let diffs = diffResult.diffs; + if (check) { + SequenceDiff.assertSorted(diffs); + } + diffs = optimizeSequenceDiffs(slice1, slice2, diffs); + if (check) { + SequenceDiff.assertSorted(diffs); + } + diffs = extendDiffsToEntireWordIfAppropriate(slice1, slice2, diffs); + if (check) { + SequenceDiff.assertSorted(diffs); + } + diffs = removeShortMatches(slice1, slice2, diffs); + if (check) { + SequenceDiff.assertSorted(diffs); + } + diffs = removeVeryShortMatchingTextBetweenLongDiffs(slice1, slice2, diffs); + if (check) { + SequenceDiff.assertSorted(diffs); + } + const result = diffs.map((d) => new RangeMapping(slice1.translateRange(d.seq1Range), slice2.translateRange(d.seq2Range))); + if (check) { + RangeMapping.assertSorted(result); + } + return { + mappings: result, + hitTimeout: diffResult.hitTimeout + }; + } + }; + function lineRangeMappingFromRangeMappings(alignments, originalLines, modifiedLines, dontAssertStartLine = false) { + const changes = []; + for (const g of groupAdjacentBy(alignments.map((a2) => getLineRangeMapping(a2, originalLines, modifiedLines)), (a1, a2) => a1.original.overlapOrTouch(a2.original) || a1.modified.overlapOrTouch(a2.modified))) { + const first = g[0]; + const last = g[g.length - 1]; + changes.push(new DetailedLineRangeMapping(first.original.join(last.original), first.modified.join(last.modified), g.map((a2) => a2.innerChanges[0]))); + } + assertFn(() => { + if (!dontAssertStartLine && changes.length > 0) { + if (changes[0].modified.startLineNumber !== changes[0].original.startLineNumber) { + return false; + } + if (modifiedLines.length - changes[changes.length - 1].modified.endLineNumberExclusive !== originalLines.length - changes[changes.length - 1].original.endLineNumberExclusive) { + return false; + } + } + return checkAdjacentItems(changes, (m1, m2) => m2.original.startLineNumber - m1.original.endLineNumberExclusive === m2.modified.startLineNumber - m1.modified.endLineNumberExclusive && // There has to be an unchanged line in between (otherwise both diffs should have been joined) + m1.original.endLineNumberExclusive < m2.original.startLineNumber && m1.modified.endLineNumberExclusive < m2.modified.startLineNumber); + }); + return changes; + } + function getLineRangeMapping(rangeMapping, originalLines, modifiedLines) { + let lineStartDelta = 0; + let lineEndDelta = 0; + if (rangeMapping.modifiedRange.endColumn === 1 && rangeMapping.originalRange.endColumn === 1 && rangeMapping.originalRange.startLineNumber + lineStartDelta <= rangeMapping.originalRange.endLineNumber && rangeMapping.modifiedRange.startLineNumber + lineStartDelta <= rangeMapping.modifiedRange.endLineNumber) { + lineEndDelta = -1; + } + if (rangeMapping.modifiedRange.startColumn - 1 >= modifiedLines[rangeMapping.modifiedRange.startLineNumber - 1].length && rangeMapping.originalRange.startColumn - 1 >= originalLines[rangeMapping.originalRange.startLineNumber - 1].length && rangeMapping.originalRange.startLineNumber <= rangeMapping.originalRange.endLineNumber + lineEndDelta && rangeMapping.modifiedRange.startLineNumber <= rangeMapping.modifiedRange.endLineNumber + lineEndDelta) { + lineStartDelta = 1; + } + const originalLineRange = new LineRange(rangeMapping.originalRange.startLineNumber + lineStartDelta, rangeMapping.originalRange.endLineNumber + 1 + lineEndDelta); + const modifiedLineRange = new LineRange(rangeMapping.modifiedRange.startLineNumber + lineStartDelta, rangeMapping.modifiedRange.endLineNumber + 1 + lineEndDelta); + return new DetailedLineRangeMapping(originalLineRange, modifiedLineRange, [rangeMapping]); + } + function toLineRangeMapping(sequenceDiff) { + return new LineRangeMapping(new LineRange(sequenceDiff.seq1Range.start + 1, sequenceDiff.seq1Range.endExclusive + 1), new LineRange(sequenceDiff.seq2Range.start + 1, sequenceDiff.seq2Range.endExclusive + 1)); + } + + // node_modules/monaco-editor/esm/vs/editor/common/diff/linesDiffComputers.js + var linesDiffComputers = { + getLegacy: () => new LegacyLinesDiffComputer(), + getDefault: () => new DefaultLinesDiffComputer() + }; + + // node_modules/monaco-editor/esm/vs/base/common/color.js + function roundFloat(number, decimalPoints) { + const decimal = Math.pow(10, decimalPoints); + return Math.round(number * decimal) / decimal; + } + var RGBA = class { + constructor(r, g, b, a2 = 1) { + this._rgbaBrand = void 0; + this.r = Math.min(255, Math.max(0, r)) | 0; + this.g = Math.min(255, Math.max(0, g)) | 0; + this.b = Math.min(255, Math.max(0, b)) | 0; + this.a = roundFloat(Math.max(Math.min(1, a2), 0), 3); + } + static equals(a2, b) { + return a2.r === b.r && a2.g === b.g && a2.b === b.b && a2.a === b.a; + } + }; + var HSLA = class _HSLA { + constructor(h, s, l, a2) { + this._hslaBrand = void 0; + this.h = Math.max(Math.min(360, h), 0) | 0; + this.s = roundFloat(Math.max(Math.min(1, s), 0), 3); + this.l = roundFloat(Math.max(Math.min(1, l), 0), 3); + this.a = roundFloat(Math.max(Math.min(1, a2), 0), 3); + } + static equals(a2, b) { + return a2.h === b.h && a2.s === b.s && a2.l === b.l && a2.a === b.a; + } + /** + * Converts an RGB color value to HSL. Conversion formula + * adapted from http://en.wikipedia.org/wiki/HSL_color_space. + * Assumes r, g, and b are contained in the set [0, 255] and + * returns h in the set [0, 360], s, and l in the set [0, 1]. + */ + static fromRGBA(rgba) { + const r = rgba.r / 255; + const g = rgba.g / 255; + const b = rgba.b / 255; + const a2 = rgba.a; + const max = Math.max(r, g, b); + const min = Math.min(r, g, b); + let h = 0; + let s = 0; + const l = (min + max) / 2; + const chroma = max - min; + if (chroma > 0) { + s = Math.min(l <= 0.5 ? chroma / (2 * l) : chroma / (2 - 2 * l), 1); + switch (max) { + case r: + h = (g - b) / chroma + (g < b ? 6 : 0); + break; + case g: + h = (b - r) / chroma + 2; + break; + case b: + h = (r - g) / chroma + 4; + break; + } + h *= 60; + h = Math.round(h); + } + return new _HSLA(h, s, l, a2); + } + static _hue2rgb(p, q, t2) { + if (t2 < 0) { + t2 += 1; + } + if (t2 > 1) { + t2 -= 1; + } + if (t2 < 1 / 6) { + return p + (q - p) * 6 * t2; + } + if (t2 < 1 / 2) { + return q; + } + if (t2 < 2 / 3) { + return p + (q - p) * (2 / 3 - t2) * 6; + } + return p; + } + /** + * Converts an HSL color value to RGB. Conversion formula + * adapted from http://en.wikipedia.org/wiki/HSL_color_space. + * Assumes h in the set [0, 360] s, and l are contained in the set [0, 1] and + * returns r, g, and b in the set [0, 255]. + */ + static toRGBA(hsla) { + const h = hsla.h / 360; + const { s, l, a: a2 } = hsla; + let r, g, b; + if (s === 0) { + r = g = b = l; + } else { + const q = l < 0.5 ? l * (1 + s) : l + s - l * s; + const p = 2 * l - q; + r = _HSLA._hue2rgb(p, q, h + 1 / 3); + g = _HSLA._hue2rgb(p, q, h); + b = _HSLA._hue2rgb(p, q, h - 1 / 3); + } + return new RGBA(Math.round(r * 255), Math.round(g * 255), Math.round(b * 255), a2); + } + }; + var HSVA = class _HSVA { + constructor(h, s, v, a2) { + this._hsvaBrand = void 0; + this.h = Math.max(Math.min(360, h), 0) | 0; + this.s = roundFloat(Math.max(Math.min(1, s), 0), 3); + this.v = roundFloat(Math.max(Math.min(1, v), 0), 3); + this.a = roundFloat(Math.max(Math.min(1, a2), 0), 3); + } + static equals(a2, b) { + return a2.h === b.h && a2.s === b.s && a2.v === b.v && a2.a === b.a; + } + // from http://www.rapidtables.com/convert/color/rgb-to-hsv.htm + static fromRGBA(rgba) { + const r = rgba.r / 255; + const g = rgba.g / 255; + const b = rgba.b / 255; + const cmax = Math.max(r, g, b); + const cmin = Math.min(r, g, b); + const delta = cmax - cmin; + const s = cmax === 0 ? 0 : delta / cmax; + let m; + if (delta === 0) { + m = 0; + } else if (cmax === r) { + m = ((g - b) / delta % 6 + 6) % 6; + } else if (cmax === g) { + m = (b - r) / delta + 2; + } else { + m = (r - g) / delta + 4; + } + return new _HSVA(Math.round(m * 60), s, cmax, rgba.a); + } + // from http://www.rapidtables.com/convert/color/hsv-to-rgb.htm + static toRGBA(hsva) { + const { h, s, v, a: a2 } = hsva; + const c = v * s; + const x = c * (1 - Math.abs(h / 60 % 2 - 1)); + const m = v - c; + let [r, g, b] = [0, 0, 0]; + if (h < 60) { + r = c; + g = x; + } else if (h < 120) { + r = x; + g = c; + } else if (h < 180) { + g = c; + b = x; + } else if (h < 240) { + g = x; + b = c; + } else if (h < 300) { + r = x; + b = c; + } else if (h <= 360) { + r = c; + b = x; + } + r = Math.round((r + m) * 255); + g = Math.round((g + m) * 255); + b = Math.round((b + m) * 255); + return new RGBA(r, g, b, a2); + } + }; + var Color = class _Color { + static fromHex(hex) { + return _Color.Format.CSS.parseHex(hex) || _Color.red; + } + static equals(a2, b) { + if (!a2 && !b) { + return true; + } + if (!a2 || !b) { + return false; + } + return a2.equals(b); + } + get hsla() { + if (this._hsla) { + return this._hsla; + } else { + return HSLA.fromRGBA(this.rgba); + } + } + get hsva() { + if (this._hsva) { + return this._hsva; + } + return HSVA.fromRGBA(this.rgba); + } + constructor(arg) { + if (!arg) { + throw new Error("Color needs a value"); + } else if (arg instanceof RGBA) { + this.rgba = arg; + } else if (arg instanceof HSLA) { + this._hsla = arg; + this.rgba = HSLA.toRGBA(arg); + } else if (arg instanceof HSVA) { + this._hsva = arg; + this.rgba = HSVA.toRGBA(arg); + } else { + throw new Error("Invalid color ctor argument"); + } + } + equals(other) { + return !!other && RGBA.equals(this.rgba, other.rgba) && HSLA.equals(this.hsla, other.hsla) && HSVA.equals(this.hsva, other.hsva); + } + /** + * http://www.w3.org/TR/WCAG20/#relativeluminancedef + * Returns the number in the set [0, 1]. O => Darkest Black. 1 => Lightest white. + */ + getRelativeLuminance() { + const R = _Color._relativeLuminanceForComponent(this.rgba.r); + const G = _Color._relativeLuminanceForComponent(this.rgba.g); + const B = _Color._relativeLuminanceForComponent(this.rgba.b); + const luminance = 0.2126 * R + 0.7152 * G + 0.0722 * B; + return roundFloat(luminance, 4); + } + static _relativeLuminanceForComponent(color) { + const c = color / 255; + return c <= 0.03928 ? c / 12.92 : Math.pow((c + 0.055) / 1.055, 2.4); + } + /** + * http://24ways.org/2010/calculating-color-contrast + * Return 'true' if lighter color otherwise 'false' + */ + isLighter() { + const yiq = (this.rgba.r * 299 + this.rgba.g * 587 + this.rgba.b * 114) / 1e3; + return yiq >= 128; + } + isLighterThan(another) { + const lum1 = this.getRelativeLuminance(); + const lum2 = another.getRelativeLuminance(); + return lum1 > lum2; + } + isDarkerThan(another) { + const lum1 = this.getRelativeLuminance(); + const lum2 = another.getRelativeLuminance(); + return lum1 < lum2; + } + lighten(factor) { + return new _Color(new HSLA(this.hsla.h, this.hsla.s, this.hsla.l + this.hsla.l * factor, this.hsla.a)); + } + darken(factor) { + return new _Color(new HSLA(this.hsla.h, this.hsla.s, this.hsla.l - this.hsla.l * factor, this.hsla.a)); + } + transparent(factor) { + const { r, g, b, a: a2 } = this.rgba; + return new _Color(new RGBA(r, g, b, a2 * factor)); + } + isTransparent() { + return this.rgba.a === 0; + } + isOpaque() { + return this.rgba.a === 1; + } + opposite() { + return new _Color(new RGBA(255 - this.rgba.r, 255 - this.rgba.g, 255 - this.rgba.b, this.rgba.a)); + } + makeOpaque(opaqueBackground) { + if (this.isOpaque() || opaqueBackground.rgba.a !== 1) { + return this; + } + const { r, g, b, a: a2 } = this.rgba; + return new _Color(new RGBA(opaqueBackground.rgba.r - a2 * (opaqueBackground.rgba.r - r), opaqueBackground.rgba.g - a2 * (opaqueBackground.rgba.g - g), opaqueBackground.rgba.b - a2 * (opaqueBackground.rgba.b - b), 1)); + } + toString() { + if (!this._toString) { + this._toString = _Color.Format.CSS.format(this); + } + return this._toString; + } + static getLighterColor(of, relative2, factor) { + if (of.isLighterThan(relative2)) { + return of; + } + factor = factor ? factor : 0.5; + const lum1 = of.getRelativeLuminance(); + const lum2 = relative2.getRelativeLuminance(); + factor = factor * (lum2 - lum1) / lum2; + return of.lighten(factor); + } + static getDarkerColor(of, relative2, factor) { + if (of.isDarkerThan(relative2)) { + return of; + } + factor = factor ? factor : 0.5; + const lum1 = of.getRelativeLuminance(); + const lum2 = relative2.getRelativeLuminance(); + factor = factor * (lum1 - lum2) / lum1; + return of.darken(factor); + } + static { + this.white = new _Color(new RGBA(255, 255, 255, 1)); + } + static { + this.black = new _Color(new RGBA(0, 0, 0, 1)); + } + static { + this.red = new _Color(new RGBA(255, 0, 0, 1)); + } + static { + this.blue = new _Color(new RGBA(0, 0, 255, 1)); + } + static { + this.green = new _Color(new RGBA(0, 255, 0, 1)); + } + static { + this.cyan = new _Color(new RGBA(0, 255, 255, 1)); + } + static { + this.lightgrey = new _Color(new RGBA(211, 211, 211, 1)); + } + static { + this.transparent = new _Color(new RGBA(0, 0, 0, 0)); + } + }; + (function(Color3) { + let Format; + (function(Format2) { + let CSS; + (function(CSS2) { + function formatRGB(color) { + if (color.rgba.a === 1) { + return `rgb(${color.rgba.r}, ${color.rgba.g}, ${color.rgba.b})`; + } + return Color3.Format.CSS.formatRGBA(color); + } + CSS2.formatRGB = formatRGB; + function formatRGBA(color) { + return `rgba(${color.rgba.r}, ${color.rgba.g}, ${color.rgba.b}, ${+color.rgba.a.toFixed(2)})`; + } + CSS2.formatRGBA = formatRGBA; + function formatHSL(color) { + if (color.hsla.a === 1) { + return `hsl(${color.hsla.h}, ${(color.hsla.s * 100).toFixed(2)}%, ${(color.hsla.l * 100).toFixed(2)}%)`; + } + return Color3.Format.CSS.formatHSLA(color); + } + CSS2.formatHSL = formatHSL; + function formatHSLA(color) { + return `hsla(${color.hsla.h}, ${(color.hsla.s * 100).toFixed(2)}%, ${(color.hsla.l * 100).toFixed(2)}%, ${color.hsla.a.toFixed(2)})`; + } + CSS2.formatHSLA = formatHSLA; + function _toTwoDigitHex(n) { + const r = n.toString(16); + return r.length !== 2 ? "0" + r : r; + } + function formatHex(color) { + return `#${_toTwoDigitHex(color.rgba.r)}${_toTwoDigitHex(color.rgba.g)}${_toTwoDigitHex(color.rgba.b)}`; + } + CSS2.formatHex = formatHex; + function formatHexA(color, compact = false) { + if (compact && color.rgba.a === 1) { + return Color3.Format.CSS.formatHex(color); + } + return `#${_toTwoDigitHex(color.rgba.r)}${_toTwoDigitHex(color.rgba.g)}${_toTwoDigitHex(color.rgba.b)}${_toTwoDigitHex(Math.round(color.rgba.a * 255))}`; + } + CSS2.formatHexA = formatHexA; + function format5(color) { + if (color.isOpaque()) { + return Color3.Format.CSS.formatHex(color); + } + return Color3.Format.CSS.formatRGBA(color); + } + CSS2.format = format5; + function parseHex(hex) { + const length = hex.length; + if (length === 0) { + return null; + } + if (hex.charCodeAt(0) !== 35) { + return null; + } + if (length === 7) { + const r = 16 * _parseHexDigit(hex.charCodeAt(1)) + _parseHexDigit(hex.charCodeAt(2)); + const g = 16 * _parseHexDigit(hex.charCodeAt(3)) + _parseHexDigit(hex.charCodeAt(4)); + const b = 16 * _parseHexDigit(hex.charCodeAt(5)) + _parseHexDigit(hex.charCodeAt(6)); + return new Color3(new RGBA(r, g, b, 1)); + } + if (length === 9) { + const r = 16 * _parseHexDigit(hex.charCodeAt(1)) + _parseHexDigit(hex.charCodeAt(2)); + const g = 16 * _parseHexDigit(hex.charCodeAt(3)) + _parseHexDigit(hex.charCodeAt(4)); + const b = 16 * _parseHexDigit(hex.charCodeAt(5)) + _parseHexDigit(hex.charCodeAt(6)); + const a2 = 16 * _parseHexDigit(hex.charCodeAt(7)) + _parseHexDigit(hex.charCodeAt(8)); + return new Color3(new RGBA(r, g, b, a2 / 255)); + } + if (length === 4) { + const r = _parseHexDigit(hex.charCodeAt(1)); + const g = _parseHexDigit(hex.charCodeAt(2)); + const b = _parseHexDigit(hex.charCodeAt(3)); + return new Color3(new RGBA(16 * r + r, 16 * g + g, 16 * b + b)); + } + if (length === 5) { + const r = _parseHexDigit(hex.charCodeAt(1)); + const g = _parseHexDigit(hex.charCodeAt(2)); + const b = _parseHexDigit(hex.charCodeAt(3)); + const a2 = _parseHexDigit(hex.charCodeAt(4)); + return new Color3(new RGBA(16 * r + r, 16 * g + g, 16 * b + b, (16 * a2 + a2) / 255)); + } + return null; + } + CSS2.parseHex = parseHex; + function _parseHexDigit(charCode) { + switch (charCode) { + case 48: + return 0; + case 49: + return 1; + case 50: + return 2; + case 51: + return 3; + case 52: + return 4; + case 53: + return 5; + case 54: + return 6; + case 55: + return 7; + case 56: + return 8; + case 57: + return 9; + case 97: + return 10; + case 65: + return 10; + case 98: + return 11; + case 66: + return 11; + case 99: + return 12; + case 67: + return 12; + case 100: + return 13; + case 68: + return 13; + case 101: + return 14; + case 69: + return 14; + case 102: + return 15; + case 70: + return 15; + } + return 0; + } + })(CSS = Format2.CSS || (Format2.CSS = {})); + })(Format = Color3.Format || (Color3.Format = {})); + })(Color || (Color = {})); + + // node_modules/monaco-editor/esm/vs/editor/common/languages/defaultDocumentColorsComputer.js + function _parseCaptureGroups(captureGroups) { + const values = []; + for (const captureGroup of captureGroups) { + const parsedNumber = Number(captureGroup); + if (parsedNumber || parsedNumber === 0 && captureGroup.replace(/\s/g, "") !== "") { + values.push(parsedNumber); + } + } + return values; + } + function _toIColor(r, g, b, a2) { + return { + red: r / 255, + blue: b / 255, + green: g / 255, + alpha: a2 + }; + } + function _findRange(model, match) { + const index = match.index; + const length = match[0].length; + if (!index) { + return; + } + const startPosition = model.positionAt(index); + const range = { + startLineNumber: startPosition.lineNumber, + startColumn: startPosition.column, + endLineNumber: startPosition.lineNumber, + endColumn: startPosition.column + length + }; + return range; + } + function _findHexColorInformation(range, hexValue) { + if (!range) { + return; + } + const parsedHexColor = Color.Format.CSS.parseHex(hexValue); + if (!parsedHexColor) { + return; + } + return { + range, + color: _toIColor(parsedHexColor.rgba.r, parsedHexColor.rgba.g, parsedHexColor.rgba.b, parsedHexColor.rgba.a) + }; + } + function _findRGBColorInformation(range, matches, isAlpha) { + if (!range || matches.length !== 1) { + return; + } + const match = matches[0]; + const captureGroups = match.values(); + const parsedRegex = _parseCaptureGroups(captureGroups); + return { + range, + color: _toIColor(parsedRegex[0], parsedRegex[1], parsedRegex[2], isAlpha ? parsedRegex[3] : 1) + }; + } + function _findHSLColorInformation(range, matches, isAlpha) { + if (!range || matches.length !== 1) { + return; + } + const match = matches[0]; + const captureGroups = match.values(); + const parsedRegex = _parseCaptureGroups(captureGroups); + const colorEquivalent = new Color(new HSLA(parsedRegex[0], parsedRegex[1] / 100, parsedRegex[2] / 100, isAlpha ? parsedRegex[3] : 1)); + return { + range, + color: _toIColor(colorEquivalent.rgba.r, colorEquivalent.rgba.g, colorEquivalent.rgba.b, colorEquivalent.rgba.a) + }; + } + function _findMatches(model, regex) { + if (typeof model === "string") { + return [...model.matchAll(regex)]; + } else { + return model.findMatches(regex); + } + } + function computeColors(model) { + const result = []; + const initialValidationRegex = /\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm; + const initialValidationMatches = _findMatches(model, initialValidationRegex); + if (initialValidationMatches.length > 0) { + for (const initialMatch of initialValidationMatches) { + const initialCaptureGroups = initialMatch.filter((captureGroup) => captureGroup !== void 0); + const colorScheme = initialCaptureGroups[1]; + const colorParameters = initialCaptureGroups[2]; + if (!colorParameters) { + continue; + } + let colorInformation; + if (colorScheme === "rgb") { + const regexParameters = /^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm; + colorInformation = _findRGBColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), false); + } else if (colorScheme === "rgba") { + const regexParameters = /^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm; + colorInformation = _findRGBColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), true); + } else if (colorScheme === "hsl") { + const regexParameters = /^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm; + colorInformation = _findHSLColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), false); + } else if (colorScheme === "hsla") { + const regexParameters = /^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm; + colorInformation = _findHSLColorInformation(_findRange(model, initialMatch), _findMatches(colorParameters, regexParameters), true); + } else if (colorScheme === "#") { + colorInformation = _findHexColorInformation(_findRange(model, initialMatch), colorScheme + colorParameters); + } + if (colorInformation) { + result.push(colorInformation); + } + } + } + return result; + } + function computeDefaultDocumentColors(model) { + if (!model || typeof model.getValue !== "function" || typeof model.positionAt !== "function") { + return []; + } + return computeColors(model); + } + + // node_modules/monaco-editor/esm/vs/editor/common/services/findSectionHeaders.js + var markRegex = new RegExp("\\bMARK:\\s*(.*)$", "d"); + var trimDashesRegex = /^-+|-+$/g; + function findSectionHeaders(model, options) { + let headers = []; + if (options.findRegionSectionHeaders && options.foldingRules?.markers) { + const regionHeaders = collectRegionHeaders(model, options); + headers = headers.concat(regionHeaders); + } + if (options.findMarkSectionHeaders) { + const markHeaders = collectMarkHeaders(model); + headers = headers.concat(markHeaders); + } + return headers; + } + function collectRegionHeaders(model, options) { + const regionHeaders = []; + const endLineNumber = model.getLineCount(); + for (let lineNumber = 1; lineNumber <= endLineNumber; lineNumber++) { + const lineContent = model.getLineContent(lineNumber); + const match = lineContent.match(options.foldingRules.markers.start); + if (match) { + const range = { startLineNumber: lineNumber, startColumn: match[0].length + 1, endLineNumber: lineNumber, endColumn: lineContent.length + 1 }; + if (range.endColumn > range.startColumn) { + const sectionHeader = { + range, + ...getHeaderText(lineContent.substring(match[0].length)), + shouldBeInComments: false + }; + if (sectionHeader.text || sectionHeader.hasSeparatorLine) { + regionHeaders.push(sectionHeader); + } + } + } + } + return regionHeaders; + } + function collectMarkHeaders(model) { + const markHeaders = []; + const endLineNumber = model.getLineCount(); + for (let lineNumber = 1; lineNumber <= endLineNumber; lineNumber++) { + const lineContent = model.getLineContent(lineNumber); + addMarkHeaderIfFound(lineContent, lineNumber, markHeaders); + } + return markHeaders; + } + function addMarkHeaderIfFound(lineContent, lineNumber, sectionHeaders) { + markRegex.lastIndex = 0; + const match = markRegex.exec(lineContent); + if (match) { + const column = match.indices[1][0] + 1; + const endColumn = match.indices[1][1] + 1; + const range = { startLineNumber: lineNumber, startColumn: column, endLineNumber: lineNumber, endColumn }; + if (range.endColumn > range.startColumn) { + const sectionHeader = { + range, + ...getHeaderText(match[1]), + shouldBeInComments: true + }; + if (sectionHeader.text || sectionHeader.hasSeparatorLine) { + sectionHeaders.push(sectionHeader); + } + } + } + } + function getHeaderText(text) { + text = text.trim(); + const hasSeparatorLine = text.startsWith("-"); + text = text.replace(trimDashesRegex, ""); + return { text, hasSeparatorLine }; + } + + // node_modules/monaco-editor/esm/vs/base/common/symbols.js + var MicrotaskDelay = Symbol("MicrotaskDelay"); + + // node_modules/monaco-editor/esm/vs/base/common/async.js + var runWhenGlobalIdle; + var _runWhenIdle; + (function() { + if (typeof globalThis.requestIdleCallback !== "function" || typeof globalThis.cancelIdleCallback !== "function") { + _runWhenIdle = (_targetWindow, runner) => { + setTimeout0(() => { + if (disposed) { + return; + } + const end = Date.now() + 15; + const deadline = { + didTimeout: true, + timeRemaining() { + return Math.max(0, end - Date.now()); + } + }; + runner(Object.freeze(deadline)); + }); + let disposed = false; + return { + dispose() { + if (disposed) { + return; + } + disposed = true; + } + }; + }; + } else { + _runWhenIdle = (targetWindow, runner, timeout) => { + const handle = targetWindow.requestIdleCallback(runner, typeof timeout === "number" ? { timeout } : void 0); + let disposed = false; + return { + dispose() { + if (disposed) { + return; + } + disposed = true; + targetWindow.cancelIdleCallback(handle); + } + }; + }; + } + runWhenGlobalIdle = (runner) => _runWhenIdle(globalThis, runner); + })(); + var Promises; + (function(Promises2) { + async function settled(promises) { + let firstError = void 0; + const result = await Promise.all(promises.map((promise) => promise.then((value) => value, (error) => { + if (!firstError) { + firstError = error; + } + return void 0; + }))); + if (typeof firstError !== "undefined") { + throw firstError; + } + return result; + } + Promises2.settled = settled; + function withAsyncBody(bodyFn) { + return new Promise(async (resolve2, reject) => { + try { + await bodyFn(resolve2, reject); + } catch (error) { + reject(error); + } + }); + } + Promises2.withAsyncBody = withAsyncBody; + })(Promises || (Promises = {})); + var AsyncIterableObject = class _AsyncIterableObject { + static fromArray(items) { + return new _AsyncIterableObject((writer) => { + writer.emitMany(items); + }); + } + static fromPromise(promise) { + return new _AsyncIterableObject(async (emitter) => { + emitter.emitMany(await promise); + }); + } + static fromPromises(promises) { + return new _AsyncIterableObject(async (emitter) => { + await Promise.all(promises.map(async (p) => emitter.emitOne(await p))); + }); + } + static merge(iterables) { + return new _AsyncIterableObject(async (emitter) => { + await Promise.all(iterables.map(async (iterable) => { + for await (const item of iterable) { + emitter.emitOne(item); + } + })); + }); + } + static { + this.EMPTY = _AsyncIterableObject.fromArray([]); + } + constructor(executor, onReturn) { + this._state = 0; + this._results = []; + this._error = null; + this._onReturn = onReturn; + this._onStateChanged = new Emitter(); + queueMicrotask(async () => { + const writer = { + emitOne: (item) => this.emitOne(item), + emitMany: (items) => this.emitMany(items), + reject: (error) => this.reject(error) + }; + try { + await Promise.resolve(executor(writer)); + this.resolve(); + } catch (err) { + this.reject(err); + } finally { + writer.emitOne = void 0; + writer.emitMany = void 0; + writer.reject = void 0; + } + }); + } + [Symbol.asyncIterator]() { + let i = 0; + return { + next: async () => { + do { + if (this._state === 2) { + throw this._error; + } + if (i < this._results.length) { + return { done: false, value: this._results[i++] }; + } + if (this._state === 1) { + return { done: true, value: void 0 }; + } + await Event.toPromise(this._onStateChanged.event); + } while (true); + }, + return: async () => { + this._onReturn?.(); + return { done: true, value: void 0 }; + } + }; + } + static map(iterable, mapFn) { + return new _AsyncIterableObject(async (emitter) => { + for await (const item of iterable) { + emitter.emitOne(mapFn(item)); + } + }); + } + map(mapFn) { + return _AsyncIterableObject.map(this, mapFn); + } + static filter(iterable, filterFn) { + return new _AsyncIterableObject(async (emitter) => { + for await (const item of iterable) { + if (filterFn(item)) { + emitter.emitOne(item); + } + } + }); + } + filter(filterFn) { + return _AsyncIterableObject.filter(this, filterFn); + } + static coalesce(iterable) { + return _AsyncIterableObject.filter(iterable, (item) => !!item); + } + coalesce() { + return _AsyncIterableObject.coalesce(this); + } + static async toPromise(iterable) { + const result = []; + for await (const item of iterable) { + result.push(item); + } + return result; + } + toPromise() { + return _AsyncIterableObject.toPromise(this); + } + /** + * The value will be appended at the end. + * + * **NOTE** If `resolve()` or `reject()` have already been called, this method has no effect. + */ + emitOne(value) { + if (this._state !== 0) { + return; + } + this._results.push(value); + this._onStateChanged.fire(); + } + /** + * The values will be appended at the end. + * + * **NOTE** If `resolve()` or `reject()` have already been called, this method has no effect. + */ + emitMany(values) { + if (this._state !== 0) { + return; + } + this._results = this._results.concat(values); + this._onStateChanged.fire(); + } + /** + * Calling `resolve()` will mark the result array as complete. + * + * **NOTE** `resolve()` must be called, otherwise all consumers of this iterable will hang indefinitely, similar to a non-resolved promise. + * **NOTE** If `resolve()` or `reject()` have already been called, this method has no effect. + */ + resolve() { + if (this._state !== 0) { + return; + } + this._state = 1; + this._onStateChanged.fire(); + } + /** + * Writing an error will permanently invalidate this iterable. + * The current users will receive an error thrown, as will all future users. + * + * **NOTE** If `resolve()` or `reject()` have already been called, this method has no effect. + */ + reject(error) { + if (this._state !== 0) { + return; + } + this._state = 2; + this._error = error; + this._onStateChanged.fire(); + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/model/prefixSumComputer.js + var PrefixSumComputer = class { + constructor(values) { + this.values = values; + this.prefixSum = new Uint32Array(values.length); + this.prefixSumValidIndex = new Int32Array(1); + this.prefixSumValidIndex[0] = -1; + } + insertValues(insertIndex, insertValues) { + insertIndex = toUint32(insertIndex); + const oldValues = this.values; + const oldPrefixSum = this.prefixSum; + const insertValuesLen = insertValues.length; + if (insertValuesLen === 0) { + return false; + } + this.values = new Uint32Array(oldValues.length + insertValuesLen); + this.values.set(oldValues.subarray(0, insertIndex), 0); + this.values.set(oldValues.subarray(insertIndex), insertIndex + insertValuesLen); + this.values.set(insertValues, insertIndex); + if (insertIndex - 1 < this.prefixSumValidIndex[0]) { + this.prefixSumValidIndex[0] = insertIndex - 1; + } + this.prefixSum = new Uint32Array(this.values.length); + if (this.prefixSumValidIndex[0] >= 0) { + this.prefixSum.set(oldPrefixSum.subarray(0, this.prefixSumValidIndex[0] + 1)); + } + return true; + } + setValue(index, value) { + index = toUint32(index); + value = toUint32(value); + if (this.values[index] === value) { + return false; + } + this.values[index] = value; + if (index - 1 < this.prefixSumValidIndex[0]) { + this.prefixSumValidIndex[0] = index - 1; + } + return true; + } + removeValues(startIndex, count) { + startIndex = toUint32(startIndex); + count = toUint32(count); + const oldValues = this.values; + const oldPrefixSum = this.prefixSum; + if (startIndex >= oldValues.length) { + return false; + } + const maxCount = oldValues.length - startIndex; + if (count >= maxCount) { + count = maxCount; + } + if (count === 0) { + return false; + } + this.values = new Uint32Array(oldValues.length - count); + this.values.set(oldValues.subarray(0, startIndex), 0); + this.values.set(oldValues.subarray(startIndex + count), startIndex); + this.prefixSum = new Uint32Array(this.values.length); + if (startIndex - 1 < this.prefixSumValidIndex[0]) { + this.prefixSumValidIndex[0] = startIndex - 1; + } + if (this.prefixSumValidIndex[0] >= 0) { + this.prefixSum.set(oldPrefixSum.subarray(0, this.prefixSumValidIndex[0] + 1)); + } + return true; + } + getTotalSum() { + if (this.values.length === 0) { + return 0; + } + return this._getPrefixSum(this.values.length - 1); + } + /** + * Returns the sum of the first `index + 1` many items. + * @returns `SUM(0 <= j <= index, values[j])`. + */ + getPrefixSum(index) { + if (index < 0) { + return 0; + } + index = toUint32(index); + return this._getPrefixSum(index); + } + _getPrefixSum(index) { + if (index <= this.prefixSumValidIndex[0]) { + return this.prefixSum[index]; + } + let startIndex = this.prefixSumValidIndex[0] + 1; + if (startIndex === 0) { + this.prefixSum[0] = this.values[0]; + startIndex++; + } + if (index >= this.values.length) { + index = this.values.length - 1; + } + for (let i = startIndex; i <= index; i++) { + this.prefixSum[i] = this.prefixSum[i - 1] + this.values[i]; + } + this.prefixSumValidIndex[0] = Math.max(this.prefixSumValidIndex[0], index); + return this.prefixSum[index]; + } + getIndexOf(sum) { + sum = Math.floor(sum); + this.getTotalSum(); + let low = 0; + let high = this.values.length - 1; + let mid = 0; + let midStop = 0; + let midStart = 0; + while (low <= high) { + mid = low + (high - low) / 2 | 0; + midStop = this.prefixSum[mid]; + midStart = midStop - this.values[mid]; + if (sum < midStart) { + high = mid - 1; + } else if (sum >= midStop) { + low = mid + 1; + } else { + break; + } + } + return new PrefixSumIndexOfResult(mid, sum - midStart); + } + }; + var PrefixSumIndexOfResult = class { + constructor(index, remainder) { + this.index = index; + this.remainder = remainder; + this._prefixSumIndexOfResultBrand = void 0; + this.index = index; + this.remainder = remainder; + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/model/mirrorTextModel.js + var MirrorTextModel = class { + constructor(uri, lines, eol, versionId) { + this._uri = uri; + this._lines = lines; + this._eol = eol; + this._versionId = versionId; + this._lineStarts = null; + this._cachedTextValue = null; + } + dispose() { + this._lines.length = 0; + } + get version() { + return this._versionId; + } + getText() { + if (this._cachedTextValue === null) { + this._cachedTextValue = this._lines.join(this._eol); + } + return this._cachedTextValue; + } + onEvents(e) { + if (e.eol && e.eol !== this._eol) { + this._eol = e.eol; + this._lineStarts = null; + } + const changes = e.changes; + for (const change of changes) { + this._acceptDeleteRange(change.range); + this._acceptInsertText(new Position(change.range.startLineNumber, change.range.startColumn), change.text); + } + this._versionId = e.versionId; + this._cachedTextValue = null; + } + _ensureLineStarts() { + if (!this._lineStarts) { + const eolLength = this._eol.length; + const linesLength = this._lines.length; + const lineStartValues = new Uint32Array(linesLength); + for (let i = 0; i < linesLength; i++) { + lineStartValues[i] = this._lines[i].length + eolLength; + } + this._lineStarts = new PrefixSumComputer(lineStartValues); + } + } + /** + * All changes to a line's text go through this method + */ + _setLineText(lineIndex, newValue) { + this._lines[lineIndex] = newValue; + if (this._lineStarts) { + this._lineStarts.setValue(lineIndex, this._lines[lineIndex].length + this._eol.length); + } + } + _acceptDeleteRange(range) { + if (range.startLineNumber === range.endLineNumber) { + if (range.startColumn === range.endColumn) { + return; + } + this._setLineText(range.startLineNumber - 1, this._lines[range.startLineNumber - 1].substring(0, range.startColumn - 1) + this._lines[range.startLineNumber - 1].substring(range.endColumn - 1)); + return; + } + this._setLineText(range.startLineNumber - 1, this._lines[range.startLineNumber - 1].substring(0, range.startColumn - 1) + this._lines[range.endLineNumber - 1].substring(range.endColumn - 1)); + this._lines.splice(range.startLineNumber, range.endLineNumber - range.startLineNumber); + if (this._lineStarts) { + this._lineStarts.removeValues(range.startLineNumber, range.endLineNumber - range.startLineNumber); + } + } + _acceptInsertText(position, insertText) { + if (insertText.length === 0) { + return; + } + const insertLines = splitLines(insertText); + if (insertLines.length === 1) { + this._setLineText(position.lineNumber - 1, this._lines[position.lineNumber - 1].substring(0, position.column - 1) + insertLines[0] + this._lines[position.lineNumber - 1].substring(position.column - 1)); + return; + } + insertLines[insertLines.length - 1] += this._lines[position.lineNumber - 1].substring(position.column - 1); + this._setLineText(position.lineNumber - 1, this._lines[position.lineNumber - 1].substring(0, position.column - 1) + insertLines[0]); + const newLengths = new Uint32Array(insertLines.length - 1); + for (let i = 1; i < insertLines.length; i++) { + this._lines.splice(position.lineNumber + i - 1, 0, insertLines[i]); + newLengths[i - 1] = insertLines[i].length + this._eol.length; + } + if (this._lineStarts) { + this._lineStarts.insertValues(position.lineNumber, newLengths); + } + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/services/textModelSync/textModelSync.impl.js + var STOP_SYNC_MODEL_DELTA_TIME_MS = 60 * 1e3; + var WorkerTextModelSyncServer = class { + constructor() { + this._models = /* @__PURE__ */ Object.create(null); + } + getModel(uri) { + return this._models[uri]; + } + getModels() { + const all = []; + Object.keys(this._models).forEach((key) => all.push(this._models[key])); + return all; + } + $acceptNewModel(data) { + this._models[data.url] = new MirrorModel(URI.parse(data.url), data.lines, data.EOL, data.versionId); + } + $acceptModelChanged(uri, e) { + if (!this._models[uri]) { + return; + } + const model = this._models[uri]; + model.onEvents(e); + } + $acceptRemovedModel(uri) { + if (!this._models[uri]) { + return; + } + delete this._models[uri]; + } + }; + var MirrorModel = class extends MirrorTextModel { + get uri() { + return this._uri; + } + get eol() { + return this._eol; + } + getValue() { + return this.getText(); + } + findMatches(regex) { + const matches = []; + for (let i = 0; i < this._lines.length; i++) { + const line = this._lines[i]; + const offsetToAdd = this.offsetAt(new Position(i + 1, 1)); + const iteratorOverMatches = line.matchAll(regex); + for (const match of iteratorOverMatches) { + if (match.index || match.index === 0) { + match.index = match.index + offsetToAdd; + } + matches.push(match); + } + } + return matches; + } + getLinesContent() { + return this._lines.slice(0); + } + getLineCount() { + return this._lines.length; + } + getLineContent(lineNumber) { + return this._lines[lineNumber - 1]; + } + getWordAtPosition(position, wordDefinition) { + const wordAtText = getWordAtText(position.column, ensureValidWordDefinition(wordDefinition), this._lines[position.lineNumber - 1], 0); + if (wordAtText) { + return new Range(position.lineNumber, wordAtText.startColumn, position.lineNumber, wordAtText.endColumn); + } + return null; + } + words(wordDefinition) { + const lines = this._lines; + const wordenize = this._wordenize.bind(this); + let lineNumber = 0; + let lineText = ""; + let wordRangesIdx = 0; + let wordRanges = []; + return { + *[Symbol.iterator]() { + while (true) { + if (wordRangesIdx < wordRanges.length) { + const value = lineText.substring(wordRanges[wordRangesIdx].start, wordRanges[wordRangesIdx].end); + wordRangesIdx += 1; + yield value; + } else { + if (lineNumber < lines.length) { + lineText = lines[lineNumber]; + wordRanges = wordenize(lineText, wordDefinition); + wordRangesIdx = 0; + lineNumber += 1; + } else { + break; + } + } + } + } + }; + } + getLineWords(lineNumber, wordDefinition) { + const content = this._lines[lineNumber - 1]; + const ranges = this._wordenize(content, wordDefinition); + const words = []; + for (const range of ranges) { + words.push({ + word: content.substring(range.start, range.end), + startColumn: range.start + 1, + endColumn: range.end + 1 + }); + } + return words; + } + _wordenize(content, wordDefinition) { + const result = []; + let match; + wordDefinition.lastIndex = 0; + while (match = wordDefinition.exec(content)) { + if (match[0].length === 0) { + break; + } + result.push({ start: match.index, end: match.index + match[0].length }); + } + return result; + } + getValueInRange(range) { + range = this._validateRange(range); + if (range.startLineNumber === range.endLineNumber) { + return this._lines[range.startLineNumber - 1].substring(range.startColumn - 1, range.endColumn - 1); + } + const lineEnding = this._eol; + const startLineIndex = range.startLineNumber - 1; + const endLineIndex = range.endLineNumber - 1; + const resultLines = []; + resultLines.push(this._lines[startLineIndex].substring(range.startColumn - 1)); + for (let i = startLineIndex + 1; i < endLineIndex; i++) { + resultLines.push(this._lines[i]); + } + resultLines.push(this._lines[endLineIndex].substring(0, range.endColumn - 1)); + return resultLines.join(lineEnding); + } + offsetAt(position) { + position = this._validatePosition(position); + this._ensureLineStarts(); + return this._lineStarts.getPrefixSum(position.lineNumber - 2) + (position.column - 1); + } + positionAt(offset) { + offset = Math.floor(offset); + offset = Math.max(0, offset); + this._ensureLineStarts(); + const out = this._lineStarts.getIndexOf(offset); + const lineLength = this._lines[out.index].length; + return { + lineNumber: 1 + out.index, + column: 1 + Math.min(out.remainder, lineLength) + }; + } + _validateRange(range) { + const start = this._validatePosition({ lineNumber: range.startLineNumber, column: range.startColumn }); + const end = this._validatePosition({ lineNumber: range.endLineNumber, column: range.endColumn }); + if (start.lineNumber !== range.startLineNumber || start.column !== range.startColumn || end.lineNumber !== range.endLineNumber || end.column !== range.endColumn) { + return { + startLineNumber: start.lineNumber, + startColumn: start.column, + endLineNumber: end.lineNumber, + endColumn: end.column + }; + } + return range; + } + _validatePosition(position) { + if (!Position.isIPosition(position)) { + throw new Error("bad position"); + } + let { lineNumber, column } = position; + let hasChanged = false; + if (lineNumber < 1) { + lineNumber = 1; + column = 1; + hasChanged = true; + } else if (lineNumber > this._lines.length) { + lineNumber = this._lines.length; + column = this._lines[lineNumber - 1].length + 1; + hasChanged = true; + } else { + const maxCharacter = this._lines[lineNumber - 1].length + 1; + if (column < 1) { + column = 1; + hasChanged = true; + } else if (column > maxCharacter) { + column = maxCharacter; + hasChanged = true; + } + } + if (!hasChanged) { + return position; + } else { + return { lineNumber, column }; + } + } + }; + + // node_modules/monaco-editor/esm/vs/editor/common/services/editorSimpleWorker.js + var isESM2 = true; + var BaseEditorSimpleWorker = class { + constructor() { + this._workerTextModelSyncServer = new WorkerTextModelSyncServer(); + } + dispose() { + } + _getModel(uri) { + return this._workerTextModelSyncServer.getModel(uri); + } + _getModels() { + return this._workerTextModelSyncServer.getModels(); + } + $acceptNewModel(data) { + this._workerTextModelSyncServer.$acceptNewModel(data); + } + $acceptModelChanged(uri, e) { + this._workerTextModelSyncServer.$acceptModelChanged(uri, e); + } + $acceptRemovedModel(uri) { + this._workerTextModelSyncServer.$acceptRemovedModel(uri); + } + async $computeUnicodeHighlights(url, options, range) { + const model = this._getModel(url); + if (!model) { + return { ranges: [], hasMore: false, ambiguousCharacterCount: 0, invisibleCharacterCount: 0, nonBasicAsciiCharacterCount: 0 }; + } + return UnicodeTextModelHighlighter.computeUnicodeHighlights(model, options, range); + } + async $findSectionHeaders(url, options) { + const model = this._getModel(url); + if (!model) { + return []; + } + return findSectionHeaders(model, options); + } + // ---- BEGIN diff -------------------------------------------------------------------------- + async $computeDiff(originalUrl, modifiedUrl, options, algorithm) { + const original = this._getModel(originalUrl); + const modified = this._getModel(modifiedUrl); + if (!original || !modified) { + return null; + } + const result = EditorSimpleWorker.computeDiff(original, modified, options, algorithm); + return result; + } + static computeDiff(originalTextModel, modifiedTextModel, options, algorithm) { + const diffAlgorithm = algorithm === "advanced" ? linesDiffComputers.getDefault() : linesDiffComputers.getLegacy(); + const originalLines = originalTextModel.getLinesContent(); + const modifiedLines = modifiedTextModel.getLinesContent(); + const result = diffAlgorithm.computeDiff(originalLines, modifiedLines, options); + const identical = result.changes.length > 0 ? false : this._modelsAreIdentical(originalTextModel, modifiedTextModel); + function getLineChanges(changes) { + return changes.map((m) => [m.original.startLineNumber, m.original.endLineNumberExclusive, m.modified.startLineNumber, m.modified.endLineNumberExclusive, m.innerChanges?.map((m2) => [ + m2.originalRange.startLineNumber, + m2.originalRange.startColumn, + m2.originalRange.endLineNumber, + m2.originalRange.endColumn, + m2.modifiedRange.startLineNumber, + m2.modifiedRange.startColumn, + m2.modifiedRange.endLineNumber, + m2.modifiedRange.endColumn + ])]); + } + return { + identical, + quitEarly: result.hitTimeout, + changes: getLineChanges(result.changes), + moves: result.moves.map((m) => [ + m.lineRangeMapping.original.startLineNumber, + m.lineRangeMapping.original.endLineNumberExclusive, + m.lineRangeMapping.modified.startLineNumber, + m.lineRangeMapping.modified.endLineNumberExclusive, + getLineChanges(m.changes) + ]) + }; + } + static _modelsAreIdentical(original, modified) { + const originalLineCount = original.getLineCount(); + const modifiedLineCount = modified.getLineCount(); + if (originalLineCount !== modifiedLineCount) { + return false; + } + for (let line = 1; line <= originalLineCount; line++) { + const originalLine = original.getLineContent(line); + const modifiedLine = modified.getLineContent(line); + if (originalLine !== modifiedLine) { + return false; + } + } + return true; + } + static { + this._diffLimit = 1e5; + } + async $computeMoreMinimalEdits(modelUrl, edits, pretty) { + const model = this._getModel(modelUrl); + if (!model) { + return edits; + } + const result = []; + let lastEol = void 0; + edits = edits.slice(0).sort((a2, b) => { + if (a2.range && b.range) { + return Range.compareRangesUsingStarts(a2.range, b.range); + } + const aRng = a2.range ? 0 : 1; + const bRng = b.range ? 0 : 1; + return aRng - bRng; + }); + let writeIndex = 0; + for (let readIndex = 1; readIndex < edits.length; readIndex++) { + if (Range.getEndPosition(edits[writeIndex].range).equals(Range.getStartPosition(edits[readIndex].range))) { + edits[writeIndex].range = Range.fromPositions(Range.getStartPosition(edits[writeIndex].range), Range.getEndPosition(edits[readIndex].range)); + edits[writeIndex].text += edits[readIndex].text; + } else { + writeIndex++; + edits[writeIndex] = edits[readIndex]; + } + } + edits.length = writeIndex + 1; + for (let { range, text, eol } of edits) { + if (typeof eol === "number") { + lastEol = eol; + } + if (Range.isEmpty(range) && !text) { + continue; + } + const original = model.getValueInRange(range); + text = text.replace(/\r\n|\n|\r/g, model.eol); + if (original === text) { + continue; + } + if (Math.max(text.length, original.length) > EditorSimpleWorker._diffLimit) { + result.push({ range, text }); + continue; + } + const changes = stringDiff(original, text, pretty); + const editOffset = model.offsetAt(Range.lift(range).getStartPosition()); + for (const change of changes) { + const start = model.positionAt(editOffset + change.originalStart); + const end = model.positionAt(editOffset + change.originalStart + change.originalLength); + const newEdit = { + text: text.substr(change.modifiedStart, change.modifiedLength), + range: { startLineNumber: start.lineNumber, startColumn: start.column, endLineNumber: end.lineNumber, endColumn: end.column } + }; + if (model.getValueInRange(newEdit.range) !== newEdit.text) { + result.push(newEdit); + } + } + } + if (typeof lastEol === "number") { + result.push({ eol: lastEol, text: "", range: { startLineNumber: 0, startColumn: 0, endLineNumber: 0, endColumn: 0 } }); + } + return result; + } + // ---- END minimal edits --------------------------------------------------------------- + async $computeLinks(modelUrl) { + const model = this._getModel(modelUrl); + if (!model) { + return null; + } + return computeLinks(model); + } + // --- BEGIN default document colors ----------------------------------------------------------- + async $computeDefaultDocumentColors(modelUrl) { + const model = this._getModel(modelUrl); + if (!model) { + return null; + } + return computeDefaultDocumentColors(model); + } + static { + this._suggestionsLimit = 1e4; + } + async $textualSuggest(modelUrls, leadingWord, wordDef, wordDefFlags) { + const sw = new StopWatch(); + const wordDefRegExp = new RegExp(wordDef, wordDefFlags); + const seen = /* @__PURE__ */ new Set(); + outer: for (const url of modelUrls) { + const model = this._getModel(url); + if (!model) { + continue; + } + for (const word of model.words(wordDefRegExp)) { + if (word === leadingWord || !isNaN(Number(word))) { + continue; + } + seen.add(word); + if (seen.size > EditorSimpleWorker._suggestionsLimit) { + break outer; + } + } + } + return { words: Array.from(seen), duration: sw.elapsed() }; + } + // ---- END suggest -------------------------------------------------------------------------- + //#region -- word ranges -- + async $computeWordRanges(modelUrl, range, wordDef, wordDefFlags) { + const model = this._getModel(modelUrl); + if (!model) { + return /* @__PURE__ */ Object.create(null); + } + const wordDefRegExp = new RegExp(wordDef, wordDefFlags); + const result = /* @__PURE__ */ Object.create(null); + for (let line = range.startLineNumber; line < range.endLineNumber; line++) { + const words = model.getLineWords(line, wordDefRegExp); + for (const word of words) { + if (!isNaN(Number(word.word))) { + continue; + } + let array = result[word.word]; + if (!array) { + array = []; + result[word.word] = array; + } + array.push({ + startLineNumber: line, + startColumn: word.startColumn, + endLineNumber: line, + endColumn: word.endColumn + }); + } + } + return result; + } + //#endregion + async $navigateValueSet(modelUrl, range, up, wordDef, wordDefFlags) { + const model = this._getModel(modelUrl); + if (!model) { + return null; + } + const wordDefRegExp = new RegExp(wordDef, wordDefFlags); + if (range.startColumn === range.endColumn) { + range = { + startLineNumber: range.startLineNumber, + startColumn: range.startColumn, + endLineNumber: range.endLineNumber, + endColumn: range.endColumn + 1 + }; + } + const selectionText = model.getValueInRange(range); + const wordRange = model.getWordAtPosition({ lineNumber: range.startLineNumber, column: range.startColumn }, wordDefRegExp); + if (!wordRange) { + return null; + } + const word = model.getValueInRange(wordRange); + const result = BasicInplaceReplace.INSTANCE.navigateValueSet(range, selectionText, wordRange, word, up); + return result; + } + }; + var EditorSimpleWorker = class extends BaseEditorSimpleWorker { + constructor(_host, _foreignModuleFactory) { + super(); + this._host = _host; + this._foreignModuleFactory = _foreignModuleFactory; + this._foreignModule = null; + } + async $ping() { + return "pong"; + } + // ---- BEGIN foreign module support -------------------------------------------------------------------------- + $loadForeignModule(moduleId, createData, foreignHostMethods) { + const proxyMethodRequest = (method, args) => { + return this._host.$fhr(method, args); + }; + const foreignHost = createProxyObject(foreignHostMethods, proxyMethodRequest); + const ctx = { + host: foreignHost, + getMirrorModels: () => { + return this._getModels(); + } + }; + if (this._foreignModuleFactory) { + this._foreignModule = this._foreignModuleFactory(ctx, createData); + return Promise.resolve(getAllMethodNames(this._foreignModule)); + } + return new Promise((resolve2, reject) => { + const onModuleCallback = (foreignModule) => { + this._foreignModule = foreignModule.create(ctx, createData); + resolve2(getAllMethodNames(this._foreignModule)); + }; + if (!isESM2) { + __require([`${moduleId}`], onModuleCallback, reject); + } else { + const url = FileAccess.asBrowserUri(`${moduleId}.js`).toString(true); + import(`${url}`).then(onModuleCallback).catch(reject); + } + }); + } + // foreign method request + $fmr(method, args) { + if (!this._foreignModule || typeof this._foreignModule[method] !== "function") { + return Promise.reject(new Error("Missing requestHandler or method: " + method)); + } + try { + return Promise.resolve(this._foreignModule[method].apply(this._foreignModule, args)); + } catch (e) { + return Promise.reject(e); + } + } + }; + if (typeof importScripts === "function") { + globalThis.monaco = createMonacoBaseAPI(); + } + + // node_modules/monaco-editor/esm/vs/editor/editor.worker.js + var initialized = false; + function initialize(foreignModule) { + if (initialized) { + return; + } + initialized = true; + const simpleWorker = new SimpleWorkerServer((msg) => { + globalThis.postMessage(msg); + }, (workerServer) => new EditorSimpleWorker(EditorWorkerHost.getChannel(workerServer), foreignModule)); + globalThis.onmessage = (e) => { + simpleWorker.onmessage(e.data); + }; + } + globalThis.onmessage = (e) => { + if (!initialized) { + initialize(null); + } + }; + + // node_modules/monaco-editor/esm/vs/language/json/json.worker.js + function createScanner(text, ignoreTrivia = false) { + const len = text.length; + let pos = 0, value = "", tokenOffset = 0, token = 16, lineNumber = 0, lineStartOffset = 0, tokenLineStartOffset = 0, prevTokenLineStartOffset = 0, scanError = 0; + function scanHexDigits(count, exact) { + let digits = 0; + let value2 = 0; + while (digits < count || !exact) { + let ch = text.charCodeAt(pos); + if (ch >= 48 && ch <= 57) { + value2 = value2 * 16 + ch - 48; + } else if (ch >= 65 && ch <= 70) { + value2 = value2 * 16 + ch - 65 + 10; + } else if (ch >= 97 && ch <= 102) { + value2 = value2 * 16 + ch - 97 + 10; + } else { + break; + } + pos++; + digits++; + } + if (digits < count) { + value2 = -1; + } + return value2; + } + function setPosition(newPosition) { + pos = newPosition; + value = ""; + tokenOffset = 0; + token = 16; + scanError = 0; + } + function scanNumber() { + let start = pos; + if (text.charCodeAt(pos) === 48) { + pos++; + } else { + pos++; + while (pos < text.length && isDigit(text.charCodeAt(pos))) { + pos++; + } + } + if (pos < text.length && text.charCodeAt(pos) === 46) { + pos++; + if (pos < text.length && isDigit(text.charCodeAt(pos))) { + pos++; + while (pos < text.length && isDigit(text.charCodeAt(pos))) { + pos++; + } + } else { + scanError = 3; + return text.substring(start, pos); + } + } + let end = pos; + if (pos < text.length && (text.charCodeAt(pos) === 69 || text.charCodeAt(pos) === 101)) { + pos++; + if (pos < text.length && text.charCodeAt(pos) === 43 || text.charCodeAt(pos) === 45) { + pos++; + } + if (pos < text.length && isDigit(text.charCodeAt(pos))) { + pos++; + while (pos < text.length && isDigit(text.charCodeAt(pos))) { + pos++; + } + end = pos; + } else { + scanError = 3; + } + } + return text.substring(start, end); + } + function scanString() { + let result = "", start = pos; + while (true) { + if (pos >= len) { + result += text.substring(start, pos); + scanError = 2; + break; + } + const ch = text.charCodeAt(pos); + if (ch === 34) { + result += text.substring(start, pos); + pos++; + break; + } + if (ch === 92) { + result += text.substring(start, pos); + pos++; + if (pos >= len) { + scanError = 2; + break; + } + const ch2 = text.charCodeAt(pos++); + switch (ch2) { + case 34: + result += '"'; + break; + case 92: + result += "\\"; + break; + case 47: + result += "/"; + break; + case 98: + result += "\b"; + break; + case 102: + result += "\f"; + break; + case 110: + result += "\n"; + break; + case 114: + result += "\r"; + break; + case 116: + result += " "; + break; + case 117: + const ch3 = scanHexDigits(4, true); + if (ch3 >= 0) { + result += String.fromCharCode(ch3); + } else { + scanError = 4; + } + break; + default: + scanError = 5; + } + start = pos; + continue; + } + if (ch >= 0 && ch <= 31) { + if (isLineBreak(ch)) { + result += text.substring(start, pos); + scanError = 2; + break; + } else { + scanError = 6; + } + } + pos++; + } + return result; + } + function scanNext() { + value = ""; + scanError = 0; + tokenOffset = pos; + lineStartOffset = lineNumber; + prevTokenLineStartOffset = tokenLineStartOffset; + if (pos >= len) { + tokenOffset = len; + return token = 17; + } + let code = text.charCodeAt(pos); + if (isWhiteSpace(code)) { + do { + pos++; + value += String.fromCharCode(code); + code = text.charCodeAt(pos); + } while (isWhiteSpace(code)); + return token = 15; + } + if (isLineBreak(code)) { + pos++; + value += String.fromCharCode(code); + if (code === 13 && text.charCodeAt(pos) === 10) { + pos++; + value += "\n"; + } + lineNumber++; + tokenLineStartOffset = pos; + return token = 14; + } + switch (code) { + case 123: + pos++; + return token = 1; + case 125: + pos++; + return token = 2; + case 91: + pos++; + return token = 3; + case 93: + pos++; + return token = 4; + case 58: + pos++; + return token = 6; + case 44: + pos++; + return token = 5; + case 34: + pos++; + value = scanString(); + return token = 10; + case 47: + const start = pos - 1; + if (text.charCodeAt(pos + 1) === 47) { + pos += 2; + while (pos < len) { + if (isLineBreak(text.charCodeAt(pos))) { + break; + } + pos++; + } + value = text.substring(start, pos); + return token = 12; + } + if (text.charCodeAt(pos + 1) === 42) { + pos += 2; + const safeLength = len - 1; + let commentClosed = false; + while (pos < safeLength) { + const ch = text.charCodeAt(pos); + if (ch === 42 && text.charCodeAt(pos + 1) === 47) { + pos += 2; + commentClosed = true; + break; + } + pos++; + if (isLineBreak(ch)) { + if (ch === 13 && text.charCodeAt(pos) === 10) { + pos++; + } + lineNumber++; + tokenLineStartOffset = pos; + } + } + if (!commentClosed) { + pos++; + scanError = 1; + } + value = text.substring(start, pos); + return token = 13; + } + value += String.fromCharCode(code); + pos++; + return token = 16; + case 45: + value += String.fromCharCode(code); + pos++; + if (pos === len || !isDigit(text.charCodeAt(pos))) { + return token = 16; + } + case 48: + case 49: + case 50: + case 51: + case 52: + case 53: + case 54: + case 55: + case 56: + case 57: + value += scanNumber(); + return token = 11; + default: + while (pos < len && isUnknownContentCharacter(code)) { + pos++; + code = text.charCodeAt(pos); + } + if (tokenOffset !== pos) { + value = text.substring(tokenOffset, pos); + switch (value) { + case "true": + return token = 8; + case "false": + return token = 9; + case "null": + return token = 7; + } + return token = 16; + } + value += String.fromCharCode(code); + pos++; + return token = 16; + } + } + function isUnknownContentCharacter(code) { + if (isWhiteSpace(code) || isLineBreak(code)) { + return false; + } + switch (code) { + case 125: + case 93: + case 123: + case 91: + case 34: + case 58: + case 44: + case 47: + return false; + } + return true; + } + function scanNextNonTrivia() { + let result; + do { + result = scanNext(); + } while (result >= 12 && result <= 15); + return result; + } + return { + setPosition, + getPosition: () => pos, + scan: ignoreTrivia ? scanNextNonTrivia : scanNext, + getToken: () => token, + getTokenValue: () => value, + getTokenOffset: () => tokenOffset, + getTokenLength: () => pos - tokenOffset, + getTokenStartLine: () => lineStartOffset, + getTokenStartCharacter: () => tokenOffset - prevTokenLineStartOffset, + getTokenError: () => scanError + }; + } + function isWhiteSpace(ch) { + return ch === 32 || ch === 9; + } + function isLineBreak(ch) { + return ch === 10 || ch === 13; + } + function isDigit(ch) { + return ch >= 48 && ch <= 57; + } + var CharacterCodes; + (function(CharacterCodes2) { + CharacterCodes2[CharacterCodes2["lineFeed"] = 10] = "lineFeed"; + CharacterCodes2[CharacterCodes2["carriageReturn"] = 13] = "carriageReturn"; + CharacterCodes2[CharacterCodes2["space"] = 32] = "space"; + CharacterCodes2[CharacterCodes2["_0"] = 48] = "_0"; + CharacterCodes2[CharacterCodes2["_1"] = 49] = "_1"; + CharacterCodes2[CharacterCodes2["_2"] = 50] = "_2"; + CharacterCodes2[CharacterCodes2["_3"] = 51] = "_3"; + CharacterCodes2[CharacterCodes2["_4"] = 52] = "_4"; + CharacterCodes2[CharacterCodes2["_5"] = 53] = "_5"; + CharacterCodes2[CharacterCodes2["_6"] = 54] = "_6"; + CharacterCodes2[CharacterCodes2["_7"] = 55] = "_7"; + CharacterCodes2[CharacterCodes2["_8"] = 56] = "_8"; + CharacterCodes2[CharacterCodes2["_9"] = 57] = "_9"; + CharacterCodes2[CharacterCodes2["a"] = 97] = "a"; + CharacterCodes2[CharacterCodes2["b"] = 98] = "b"; + CharacterCodes2[CharacterCodes2["c"] = 99] = "c"; + CharacterCodes2[CharacterCodes2["d"] = 100] = "d"; + CharacterCodes2[CharacterCodes2["e"] = 101] = "e"; + CharacterCodes2[CharacterCodes2["f"] = 102] = "f"; + CharacterCodes2[CharacterCodes2["g"] = 103] = "g"; + CharacterCodes2[CharacterCodes2["h"] = 104] = "h"; + CharacterCodes2[CharacterCodes2["i"] = 105] = "i"; + CharacterCodes2[CharacterCodes2["j"] = 106] = "j"; + CharacterCodes2[CharacterCodes2["k"] = 107] = "k"; + CharacterCodes2[CharacterCodes2["l"] = 108] = "l"; + CharacterCodes2[CharacterCodes2["m"] = 109] = "m"; + CharacterCodes2[CharacterCodes2["n"] = 110] = "n"; + CharacterCodes2[CharacterCodes2["o"] = 111] = "o"; + CharacterCodes2[CharacterCodes2["p"] = 112] = "p"; + CharacterCodes2[CharacterCodes2["q"] = 113] = "q"; + CharacterCodes2[CharacterCodes2["r"] = 114] = "r"; + CharacterCodes2[CharacterCodes2["s"] = 115] = "s"; + CharacterCodes2[CharacterCodes2["t"] = 116] = "t"; + CharacterCodes2[CharacterCodes2["u"] = 117] = "u"; + CharacterCodes2[CharacterCodes2["v"] = 118] = "v"; + CharacterCodes2[CharacterCodes2["w"] = 119] = "w"; + CharacterCodes2[CharacterCodes2["x"] = 120] = "x"; + CharacterCodes2[CharacterCodes2["y"] = 121] = "y"; + CharacterCodes2[CharacterCodes2["z"] = 122] = "z"; + CharacterCodes2[CharacterCodes2["A"] = 65] = "A"; + CharacterCodes2[CharacterCodes2["B"] = 66] = "B"; + CharacterCodes2[CharacterCodes2["C"] = 67] = "C"; + CharacterCodes2[CharacterCodes2["D"] = 68] = "D"; + CharacterCodes2[CharacterCodes2["E"] = 69] = "E"; + CharacterCodes2[CharacterCodes2["F"] = 70] = "F"; + CharacterCodes2[CharacterCodes2["G"] = 71] = "G"; + CharacterCodes2[CharacterCodes2["H"] = 72] = "H"; + CharacterCodes2[CharacterCodes2["I"] = 73] = "I"; + CharacterCodes2[CharacterCodes2["J"] = 74] = "J"; + CharacterCodes2[CharacterCodes2["K"] = 75] = "K"; + CharacterCodes2[CharacterCodes2["L"] = 76] = "L"; + CharacterCodes2[CharacterCodes2["M"] = 77] = "M"; + CharacterCodes2[CharacterCodes2["N"] = 78] = "N"; + CharacterCodes2[CharacterCodes2["O"] = 79] = "O"; + CharacterCodes2[CharacterCodes2["P"] = 80] = "P"; + CharacterCodes2[CharacterCodes2["Q"] = 81] = "Q"; + CharacterCodes2[CharacterCodes2["R"] = 82] = "R"; + CharacterCodes2[CharacterCodes2["S"] = 83] = "S"; + CharacterCodes2[CharacterCodes2["T"] = 84] = "T"; + CharacterCodes2[CharacterCodes2["U"] = 85] = "U"; + CharacterCodes2[CharacterCodes2["V"] = 86] = "V"; + CharacterCodes2[CharacterCodes2["W"] = 87] = "W"; + CharacterCodes2[CharacterCodes2["X"] = 88] = "X"; + CharacterCodes2[CharacterCodes2["Y"] = 89] = "Y"; + CharacterCodes2[CharacterCodes2["Z"] = 90] = "Z"; + CharacterCodes2[CharacterCodes2["asterisk"] = 42] = "asterisk"; + CharacterCodes2[CharacterCodes2["backslash"] = 92] = "backslash"; + CharacterCodes2[CharacterCodes2["closeBrace"] = 125] = "closeBrace"; + CharacterCodes2[CharacterCodes2["closeBracket"] = 93] = "closeBracket"; + CharacterCodes2[CharacterCodes2["colon"] = 58] = "colon"; + CharacterCodes2[CharacterCodes2["comma"] = 44] = "comma"; + CharacterCodes2[CharacterCodes2["dot"] = 46] = "dot"; + CharacterCodes2[CharacterCodes2["doubleQuote"] = 34] = "doubleQuote"; + CharacterCodes2[CharacterCodes2["minus"] = 45] = "minus"; + CharacterCodes2[CharacterCodes2["openBrace"] = 123] = "openBrace"; + CharacterCodes2[CharacterCodes2["openBracket"] = 91] = "openBracket"; + CharacterCodes2[CharacterCodes2["plus"] = 43] = "plus"; + CharacterCodes2[CharacterCodes2["slash"] = 47] = "slash"; + CharacterCodes2[CharacterCodes2["formFeed"] = 12] = "formFeed"; + CharacterCodes2[CharacterCodes2["tab"] = 9] = "tab"; + })(CharacterCodes || (CharacterCodes = {})); + var cachedSpaces = new Array(20).fill(0).map((_, index) => { + return " ".repeat(index); + }); + var maxCachedValues = 200; + var cachedBreakLinesWithSpaces = { + " ": { + "\n": new Array(maxCachedValues).fill(0).map((_, index) => { + return "\n" + " ".repeat(index); + }), + "\r": new Array(maxCachedValues).fill(0).map((_, index) => { + return "\r" + " ".repeat(index); + }), + "\r\n": new Array(maxCachedValues).fill(0).map((_, index) => { + return "\r\n" + " ".repeat(index); + }) + }, + " ": { + "\n": new Array(maxCachedValues).fill(0).map((_, index) => { + return "\n" + " ".repeat(index); + }), + "\r": new Array(maxCachedValues).fill(0).map((_, index) => { + return "\r" + " ".repeat(index); + }), + "\r\n": new Array(maxCachedValues).fill(0).map((_, index) => { + return "\r\n" + " ".repeat(index); + }) + } + }; + var supportedEols = ["\n", "\r", "\r\n"]; + function format(documentText, range, options) { + let initialIndentLevel; + let formatText; + let formatTextStart; + let rangeStart; + let rangeEnd; + if (range) { + rangeStart = range.offset; + rangeEnd = rangeStart + range.length; + formatTextStart = rangeStart; + while (formatTextStart > 0 && !isEOL(documentText, formatTextStart - 1)) { + formatTextStart--; + } + let endOffset = rangeEnd; + while (endOffset < documentText.length && !isEOL(documentText, endOffset)) { + endOffset++; + } + formatText = documentText.substring(formatTextStart, endOffset); + initialIndentLevel = computeIndentLevel(formatText, options); + } else { + formatText = documentText; + initialIndentLevel = 0; + formatTextStart = 0; + rangeStart = 0; + rangeEnd = documentText.length; + } + const eol = getEOL(options, documentText); + const eolFastPathSupported = supportedEols.includes(eol); + let numberLineBreaks = 0; + let indentLevel = 0; + let indentValue; + if (options.insertSpaces) { + indentValue = cachedSpaces[options.tabSize || 4] ?? repeat(cachedSpaces[1], options.tabSize || 4); + } else { + indentValue = " "; + } + const indentType = indentValue === " " ? " " : " "; + let scanner = createScanner(formatText, false); + let hasError = false; + function newLinesAndIndent() { + if (numberLineBreaks > 1) { + return repeat(eol, numberLineBreaks) + repeat(indentValue, initialIndentLevel + indentLevel); + } + const amountOfSpaces = indentValue.length * (initialIndentLevel + indentLevel); + if (!eolFastPathSupported || amountOfSpaces > cachedBreakLinesWithSpaces[indentType][eol].length) { + return eol + repeat(indentValue, initialIndentLevel + indentLevel); + } + if (amountOfSpaces <= 0) { + return eol; + } + return cachedBreakLinesWithSpaces[indentType][eol][amountOfSpaces]; + } + function scanNext() { + let token = scanner.scan(); + numberLineBreaks = 0; + while (token === 15 || token === 14) { + if (token === 14 && options.keepLines) { + numberLineBreaks += 1; + } else if (token === 14) { + numberLineBreaks = 1; + } + token = scanner.scan(); + } + hasError = token === 16 || scanner.getTokenError() !== 0; + return token; + } + const editOperations = []; + function addEdit(text, startOffset, endOffset) { + if (!hasError && (!range || startOffset < rangeEnd && endOffset > rangeStart) && documentText.substring(startOffset, endOffset) !== text) { + editOperations.push({ offset: startOffset, length: endOffset - startOffset, content: text }); + } + } + let firstToken = scanNext(); + if (options.keepLines && numberLineBreaks > 0) { + addEdit(repeat(eol, numberLineBreaks), 0, 0); + } + if (firstToken !== 17) { + let firstTokenStart = scanner.getTokenOffset() + formatTextStart; + let initialIndent = indentValue.length * initialIndentLevel < 20 && options.insertSpaces ? cachedSpaces[indentValue.length * initialIndentLevel] : repeat(indentValue, initialIndentLevel); + addEdit(initialIndent, formatTextStart, firstTokenStart); + } + while (firstToken !== 17) { + let firstTokenEnd = scanner.getTokenOffset() + scanner.getTokenLength() + formatTextStart; + let secondToken = scanNext(); + let replaceContent = ""; + let needsLineBreak = false; + while (numberLineBreaks === 0 && (secondToken === 12 || secondToken === 13)) { + let commentTokenStart = scanner.getTokenOffset() + formatTextStart; + addEdit(cachedSpaces[1], firstTokenEnd, commentTokenStart); + firstTokenEnd = scanner.getTokenOffset() + scanner.getTokenLength() + formatTextStart; + needsLineBreak = secondToken === 12; + replaceContent = needsLineBreak ? newLinesAndIndent() : ""; + secondToken = scanNext(); + } + if (secondToken === 2) { + if (firstToken !== 1) { + indentLevel--; + } + ; + if (options.keepLines && numberLineBreaks > 0 || !options.keepLines && firstToken !== 1) { + replaceContent = newLinesAndIndent(); + } else if (options.keepLines) { + replaceContent = cachedSpaces[1]; + } + } else if (secondToken === 4) { + if (firstToken !== 3) { + indentLevel--; + } + ; + if (options.keepLines && numberLineBreaks > 0 || !options.keepLines && firstToken !== 3) { + replaceContent = newLinesAndIndent(); + } else if (options.keepLines) { + replaceContent = cachedSpaces[1]; + } + } else { + switch (firstToken) { + case 3: + case 1: + indentLevel++; + if (options.keepLines && numberLineBreaks > 0 || !options.keepLines) { + replaceContent = newLinesAndIndent(); + } else { + replaceContent = cachedSpaces[1]; + } + break; + case 5: + if (options.keepLines && numberLineBreaks > 0 || !options.keepLines) { + replaceContent = newLinesAndIndent(); + } else { + replaceContent = cachedSpaces[1]; + } + break; + case 12: + replaceContent = newLinesAndIndent(); + break; + case 13: + if (numberLineBreaks > 0) { + replaceContent = newLinesAndIndent(); + } else if (!needsLineBreak) { + replaceContent = cachedSpaces[1]; + } + break; + case 6: + if (options.keepLines && numberLineBreaks > 0) { + replaceContent = newLinesAndIndent(); + } else if (!needsLineBreak) { + replaceContent = cachedSpaces[1]; + } + break; + case 10: + if (options.keepLines && numberLineBreaks > 0) { + replaceContent = newLinesAndIndent(); + } else if (secondToken === 6 && !needsLineBreak) { + replaceContent = ""; + } + break; + case 7: + case 8: + case 9: + case 11: + case 2: + case 4: + if (options.keepLines && numberLineBreaks > 0) { + replaceContent = newLinesAndIndent(); + } else { + if ((secondToken === 12 || secondToken === 13) && !needsLineBreak) { + replaceContent = cachedSpaces[1]; + } else if (secondToken !== 5 && secondToken !== 17) { + hasError = true; + } + } + break; + case 16: + hasError = true; + break; + } + if (numberLineBreaks > 0 && (secondToken === 12 || secondToken === 13)) { + replaceContent = newLinesAndIndent(); + } + } + if (secondToken === 17) { + if (options.keepLines && numberLineBreaks > 0) { + replaceContent = newLinesAndIndent(); + } else { + replaceContent = options.insertFinalNewline ? eol : ""; + } + } + const secondTokenStart = scanner.getTokenOffset() + formatTextStart; + addEdit(replaceContent, firstTokenEnd, secondTokenStart); + firstToken = secondToken; + } + return editOperations; + } + function repeat(s, count) { + let result = ""; + for (let i = 0; i < count; i++) { + result += s; + } + return result; + } + function computeIndentLevel(content, options) { + let i = 0; + let nChars = 0; + const tabSize = options.tabSize || 4; + while (i < content.length) { + let ch = content.charAt(i); + if (ch === cachedSpaces[1]) { + nChars++; + } else if (ch === " ") { + nChars += tabSize; + } else { + break; + } + i++; + } + return Math.floor(nChars / tabSize); + } + function getEOL(options, text) { + for (let i = 0; i < text.length; i++) { + const ch = text.charAt(i); + if (ch === "\r") { + if (i + 1 < text.length && text.charAt(i + 1) === "\n") { + return "\r\n"; + } + return "\r"; + } else if (ch === "\n") { + return "\n"; + } + } + return options && options.eol || "\n"; + } + function isEOL(text, offset) { + return "\r\n".indexOf(text.charAt(offset)) !== -1; + } + var ParseOptions; + (function(ParseOptions2) { + ParseOptions2.DEFAULT = { + allowTrailingComma: false + }; + })(ParseOptions || (ParseOptions = {})); + function parse(text, errors = [], options = ParseOptions.DEFAULT) { + let currentProperty = null; + let currentParent = []; + const previousParents = []; + function onValue(value) { + if (Array.isArray(currentParent)) { + currentParent.push(value); + } else if (currentProperty !== null) { + currentParent[currentProperty] = value; + } + } + const visitor = { + onObjectBegin: () => { + const object = {}; + onValue(object); + previousParents.push(currentParent); + currentParent = object; + currentProperty = null; + }, + onObjectProperty: (name) => { + currentProperty = name; + }, + onObjectEnd: () => { + currentParent = previousParents.pop(); + }, + onArrayBegin: () => { + const array = []; + onValue(array); + previousParents.push(currentParent); + currentParent = array; + currentProperty = null; + }, + onArrayEnd: () => { + currentParent = previousParents.pop(); + }, + onLiteralValue: onValue, + onError: (error, offset, length) => { + errors.push({ error, offset, length }); + } + }; + visit(text, visitor, options); + return currentParent[0]; + } + function getNodePath(node) { + if (!node.parent || !node.parent.children) { + return []; + } + const path = getNodePath(node.parent); + if (node.parent.type === "property") { + const key = node.parent.children[0].value; + path.push(key); + } else if (node.parent.type === "array") { + const index = node.parent.children.indexOf(node); + if (index !== -1) { + path.push(index); + } + } + return path; + } + function getNodeValue(node) { + switch (node.type) { + case "array": + return node.children.map(getNodeValue); + case "object": + const obj = /* @__PURE__ */ Object.create(null); + for (let prop of node.children) { + const valueNode = prop.children[1]; + if (valueNode) { + obj[prop.children[0].value] = getNodeValue(valueNode); + } + } + return obj; + case "null": + case "string": + case "number": + case "boolean": + return node.value; + default: + return void 0; + } + } + function contains(node, offset, includeRightBound = false) { + return offset >= node.offset && offset < node.offset + node.length || includeRightBound && offset === node.offset + node.length; + } + function findNodeAtOffset(node, offset, includeRightBound = false) { + if (contains(node, offset, includeRightBound)) { + const children = node.children; + if (Array.isArray(children)) { + for (let i = 0; i < children.length && children[i].offset <= offset; i++) { + const item = findNodeAtOffset(children[i], offset, includeRightBound); + if (item) { + return item; + } + } + } + return node; + } + return void 0; + } + function visit(text, visitor, options = ParseOptions.DEFAULT) { + const _scanner = createScanner(text, false); + const _jsonPath = []; + function toNoArgVisit(visitFunction) { + return visitFunction ? () => visitFunction(_scanner.getTokenOffset(), _scanner.getTokenLength(), _scanner.getTokenStartLine(), _scanner.getTokenStartCharacter()) : () => true; + } + function toNoArgVisitWithPath(visitFunction) { + return visitFunction ? () => visitFunction(_scanner.getTokenOffset(), _scanner.getTokenLength(), _scanner.getTokenStartLine(), _scanner.getTokenStartCharacter(), () => _jsonPath.slice()) : () => true; + } + function toOneArgVisit(visitFunction) { + return visitFunction ? (arg) => visitFunction(arg, _scanner.getTokenOffset(), _scanner.getTokenLength(), _scanner.getTokenStartLine(), _scanner.getTokenStartCharacter()) : () => true; + } + function toOneArgVisitWithPath(visitFunction) { + return visitFunction ? (arg) => visitFunction(arg, _scanner.getTokenOffset(), _scanner.getTokenLength(), _scanner.getTokenStartLine(), _scanner.getTokenStartCharacter(), () => _jsonPath.slice()) : () => true; + } + const onObjectBegin = toNoArgVisitWithPath(visitor.onObjectBegin), onObjectProperty = toOneArgVisitWithPath(visitor.onObjectProperty), onObjectEnd = toNoArgVisit(visitor.onObjectEnd), onArrayBegin = toNoArgVisitWithPath(visitor.onArrayBegin), onArrayEnd = toNoArgVisit(visitor.onArrayEnd), onLiteralValue = toOneArgVisitWithPath(visitor.onLiteralValue), onSeparator = toOneArgVisit(visitor.onSeparator), onComment = toNoArgVisit(visitor.onComment), onError = toOneArgVisit(visitor.onError); + const disallowComments = options && options.disallowComments; + const allowTrailingComma = options && options.allowTrailingComma; + function scanNext() { + while (true) { + const token = _scanner.scan(); + switch (_scanner.getTokenError()) { + case 4: + handleError( + 14 + /* ParseErrorCode.InvalidUnicode */ + ); + break; + case 5: + handleError( + 15 + /* ParseErrorCode.InvalidEscapeCharacter */ + ); + break; + case 3: + handleError( + 13 + /* ParseErrorCode.UnexpectedEndOfNumber */ + ); + break; + case 1: + if (!disallowComments) { + handleError( + 11 + /* ParseErrorCode.UnexpectedEndOfComment */ + ); + } + break; + case 2: + handleError( + 12 + /* ParseErrorCode.UnexpectedEndOfString */ + ); + break; + case 6: + handleError( + 16 + /* ParseErrorCode.InvalidCharacter */ + ); + break; + } + switch (token) { + case 12: + case 13: + if (disallowComments) { + handleError( + 10 + /* ParseErrorCode.InvalidCommentToken */ + ); + } else { + onComment(); + } + break; + case 16: + handleError( + 1 + /* ParseErrorCode.InvalidSymbol */ + ); + break; + case 15: + case 14: + break; + default: + return token; + } + } + } + function handleError(error, skipUntilAfter = [], skipUntil = []) { + onError(error); + if (skipUntilAfter.length + skipUntil.length > 0) { + let token = _scanner.getToken(); + while (token !== 17) { + if (skipUntilAfter.indexOf(token) !== -1) { + scanNext(); + break; + } else if (skipUntil.indexOf(token) !== -1) { + break; + } + token = scanNext(); + } + } + } + function parseString(isValue) { + const value = _scanner.getTokenValue(); + if (isValue) { + onLiteralValue(value); + } else { + onObjectProperty(value); + _jsonPath.push(value); + } + scanNext(); + return true; + } + function parseLiteral() { + switch (_scanner.getToken()) { + case 11: + const tokenValue = _scanner.getTokenValue(); + let value = Number(tokenValue); + if (isNaN(value)) { + handleError( + 2 + /* ParseErrorCode.InvalidNumberFormat */ + ); + value = 0; + } + onLiteralValue(value); + break; + case 7: + onLiteralValue(null); + break; + case 8: + onLiteralValue(true); + break; + case 9: + onLiteralValue(false); + break; + default: + return false; + } + scanNext(); + return true; + } + function parseProperty() { + if (_scanner.getToken() !== 10) { + handleError(3, [], [ + 2, + 5 + /* SyntaxKind.CommaToken */ + ]); + return false; + } + parseString(false); + if (_scanner.getToken() === 6) { + onSeparator(":"); + scanNext(); + if (!parseValue()) { + handleError(4, [], [ + 2, + 5 + /* SyntaxKind.CommaToken */ + ]); + } + } else { + handleError(5, [], [ + 2, + 5 + /* SyntaxKind.CommaToken */ + ]); + } + _jsonPath.pop(); + return true; + } + function parseObject() { + onObjectBegin(); + scanNext(); + let needsComma = false; + while (_scanner.getToken() !== 2 && _scanner.getToken() !== 17) { + if (_scanner.getToken() === 5) { + if (!needsComma) { + handleError(4, [], []); + } + onSeparator(","); + scanNext(); + if (_scanner.getToken() === 2 && allowTrailingComma) { + break; + } + } else if (needsComma) { + handleError(6, [], []); + } + if (!parseProperty()) { + handleError(4, [], [ + 2, + 5 + /* SyntaxKind.CommaToken */ + ]); + } + needsComma = true; + } + onObjectEnd(); + if (_scanner.getToken() !== 2) { + handleError(7, [ + 2 + /* SyntaxKind.CloseBraceToken */ + ], []); + } else { + scanNext(); + } + return true; + } + function parseArray() { + onArrayBegin(); + scanNext(); + let isFirstElement = true; + let needsComma = false; + while (_scanner.getToken() !== 4 && _scanner.getToken() !== 17) { + if (_scanner.getToken() === 5) { + if (!needsComma) { + handleError(4, [], []); + } + onSeparator(","); + scanNext(); + if (_scanner.getToken() === 4 && allowTrailingComma) { + break; + } + } else if (needsComma) { + handleError(6, [], []); + } + if (isFirstElement) { + _jsonPath.push(0); + isFirstElement = false; + } else { + _jsonPath[_jsonPath.length - 1]++; + } + if (!parseValue()) { + handleError(4, [], [ + 4, + 5 + /* SyntaxKind.CommaToken */ + ]); + } + needsComma = true; + } + onArrayEnd(); + if (!isFirstElement) { + _jsonPath.pop(); + } + if (_scanner.getToken() !== 4) { + handleError(8, [ + 4 + /* SyntaxKind.CloseBracketToken */ + ], []); + } else { + scanNext(); + } + return true; + } + function parseValue() { + switch (_scanner.getToken()) { + case 3: + return parseArray(); + case 1: + return parseObject(); + case 10: + return parseString(true); + default: + return parseLiteral(); + } + } + scanNext(); + if (_scanner.getToken() === 17) { + if (options.allowEmptyContent) { + return true; + } + handleError(4, [], []); + return false; + } + if (!parseValue()) { + handleError(4, [], []); + return false; + } + if (_scanner.getToken() !== 17) { + handleError(9, [], []); + } + return true; + } + var createScanner2 = createScanner; + var ScanError; + (function(ScanError2) { + ScanError2[ScanError2["None"] = 0] = "None"; + ScanError2[ScanError2["UnexpectedEndOfComment"] = 1] = "UnexpectedEndOfComment"; + ScanError2[ScanError2["UnexpectedEndOfString"] = 2] = "UnexpectedEndOfString"; + ScanError2[ScanError2["UnexpectedEndOfNumber"] = 3] = "UnexpectedEndOfNumber"; + ScanError2[ScanError2["InvalidUnicode"] = 4] = "InvalidUnicode"; + ScanError2[ScanError2["InvalidEscapeCharacter"] = 5] = "InvalidEscapeCharacter"; + ScanError2[ScanError2["InvalidCharacter"] = 6] = "InvalidCharacter"; + })(ScanError || (ScanError = {})); + var SyntaxKind; + (function(SyntaxKind2) { + SyntaxKind2[SyntaxKind2["OpenBraceToken"] = 1] = "OpenBraceToken"; + SyntaxKind2[SyntaxKind2["CloseBraceToken"] = 2] = "CloseBraceToken"; + SyntaxKind2[SyntaxKind2["OpenBracketToken"] = 3] = "OpenBracketToken"; + SyntaxKind2[SyntaxKind2["CloseBracketToken"] = 4] = "CloseBracketToken"; + SyntaxKind2[SyntaxKind2["CommaToken"] = 5] = "CommaToken"; + SyntaxKind2[SyntaxKind2["ColonToken"] = 6] = "ColonToken"; + SyntaxKind2[SyntaxKind2["NullKeyword"] = 7] = "NullKeyword"; + SyntaxKind2[SyntaxKind2["TrueKeyword"] = 8] = "TrueKeyword"; + SyntaxKind2[SyntaxKind2["FalseKeyword"] = 9] = "FalseKeyword"; + SyntaxKind2[SyntaxKind2["StringLiteral"] = 10] = "StringLiteral"; + SyntaxKind2[SyntaxKind2["NumericLiteral"] = 11] = "NumericLiteral"; + SyntaxKind2[SyntaxKind2["LineCommentTrivia"] = 12] = "LineCommentTrivia"; + SyntaxKind2[SyntaxKind2["BlockCommentTrivia"] = 13] = "BlockCommentTrivia"; + SyntaxKind2[SyntaxKind2["LineBreakTrivia"] = 14] = "LineBreakTrivia"; + SyntaxKind2[SyntaxKind2["Trivia"] = 15] = "Trivia"; + SyntaxKind2[SyntaxKind2["Unknown"] = 16] = "Unknown"; + SyntaxKind2[SyntaxKind2["EOF"] = 17] = "EOF"; + })(SyntaxKind || (SyntaxKind = {})); + var parse2 = parse; + var findNodeAtOffset2 = findNodeAtOffset; + var getNodePath2 = getNodePath; + var getNodeValue2 = getNodeValue; + var ParseErrorCode; + (function(ParseErrorCode2) { + ParseErrorCode2[ParseErrorCode2["InvalidSymbol"] = 1] = "InvalidSymbol"; + ParseErrorCode2[ParseErrorCode2["InvalidNumberFormat"] = 2] = "InvalidNumberFormat"; + ParseErrorCode2[ParseErrorCode2["PropertyNameExpected"] = 3] = "PropertyNameExpected"; + ParseErrorCode2[ParseErrorCode2["ValueExpected"] = 4] = "ValueExpected"; + ParseErrorCode2[ParseErrorCode2["ColonExpected"] = 5] = "ColonExpected"; + ParseErrorCode2[ParseErrorCode2["CommaExpected"] = 6] = "CommaExpected"; + ParseErrorCode2[ParseErrorCode2["CloseBraceExpected"] = 7] = "CloseBraceExpected"; + ParseErrorCode2[ParseErrorCode2["CloseBracketExpected"] = 8] = "CloseBracketExpected"; + ParseErrorCode2[ParseErrorCode2["EndOfFileExpected"] = 9] = "EndOfFileExpected"; + ParseErrorCode2[ParseErrorCode2["InvalidCommentToken"] = 10] = "InvalidCommentToken"; + ParseErrorCode2[ParseErrorCode2["UnexpectedEndOfComment"] = 11] = "UnexpectedEndOfComment"; + ParseErrorCode2[ParseErrorCode2["UnexpectedEndOfString"] = 12] = "UnexpectedEndOfString"; + ParseErrorCode2[ParseErrorCode2["UnexpectedEndOfNumber"] = 13] = "UnexpectedEndOfNumber"; + ParseErrorCode2[ParseErrorCode2["InvalidUnicode"] = 14] = "InvalidUnicode"; + ParseErrorCode2[ParseErrorCode2["InvalidEscapeCharacter"] = 15] = "InvalidEscapeCharacter"; + ParseErrorCode2[ParseErrorCode2["InvalidCharacter"] = 16] = "InvalidCharacter"; + })(ParseErrorCode || (ParseErrorCode = {})); + function format2(documentText, range, options) { + return format(documentText, range, options); + } + function equals3(one, other) { + if (one === other) { + return true; + } + if (one === null || one === void 0 || other === null || other === void 0) { + return false; + } + if (typeof one !== typeof other) { + return false; + } + if (typeof one !== "object") { + return false; + } + if (Array.isArray(one) !== Array.isArray(other)) { + return false; + } + let i, key; + if (Array.isArray(one)) { + if (one.length !== other.length) { + return false; + } + for (i = 0; i < one.length; i++) { + if (!equals3(one[i], other[i])) { + return false; + } + } + } else { + const oneKeys = []; + for (key in one) { + oneKeys.push(key); + } + oneKeys.sort(); + const otherKeys = []; + for (key in other) { + otherKeys.push(key); + } + otherKeys.sort(); + if (!equals3(oneKeys, otherKeys)) { + return false; + } + for (i = 0; i < oneKeys.length; i++) { + if (!equals3(one[oneKeys[i]], other[oneKeys[i]])) { + return false; + } + } + } + return true; + } + function isNumber(val) { + return typeof val === "number"; + } + function isDefined(val) { + return typeof val !== "undefined"; + } + function isBoolean(val) { + return typeof val === "boolean"; + } + function isString2(val) { + return typeof val === "string"; + } + function isObject2(val) { + return typeof val === "object" && val !== null && !Array.isArray(val); + } + function startsWith(haystack, needle) { + if (haystack.length < needle.length) { + return false; + } + for (let i = 0; i < needle.length; i++) { + if (haystack[i] !== needle[i]) { + return false; + } + } + return true; + } + function endsWith(haystack, needle) { + const diff = haystack.length - needle.length; + if (diff > 0) { + return haystack.lastIndexOf(needle) === diff; + } else if (diff === 0) { + return haystack === needle; + } else { + return false; + } + } + function extendedRegExp(pattern) { + let flags = ""; + if (startsWith(pattern, "(?i)")) { + pattern = pattern.substring(4); + flags = "i"; + } + try { + return new RegExp(pattern, flags + "u"); + } catch (e) { + try { + return new RegExp(pattern, flags); + } catch (e2) { + return void 0; + } + } + } + function stringLength(str) { + let count = 0; + for (let i = 0; i < str.length; i++) { + count++; + const code = str.charCodeAt(i); + if (55296 <= code && code <= 56319) { + i++; + } + } + return count; + } + var DocumentUri; + (function(DocumentUri2) { + function is(value) { + return typeof value === "string"; + } + DocumentUri2.is = is; + })(DocumentUri || (DocumentUri = {})); + var URI2; + (function(URI3) { + function is(value) { + return typeof value === "string"; + } + URI3.is = is; + })(URI2 || (URI2 = {})); + var integer; + (function(integer2) { + integer2.MIN_VALUE = -2147483648; + integer2.MAX_VALUE = 2147483647; + function is(value) { + return typeof value === "number" && integer2.MIN_VALUE <= value && value <= integer2.MAX_VALUE; + } + integer2.is = is; + })(integer || (integer = {})); + var uinteger; + (function(uinteger2) { + uinteger2.MIN_VALUE = 0; + uinteger2.MAX_VALUE = 2147483647; + function is(value) { + return typeof value === "number" && uinteger2.MIN_VALUE <= value && value <= uinteger2.MAX_VALUE; + } + uinteger2.is = is; + })(uinteger || (uinteger = {})); + var Position2; + (function(Position22) { + function create(line, character) { + if (line === Number.MAX_VALUE) { + line = uinteger.MAX_VALUE; + } + if (character === Number.MAX_VALUE) { + character = uinteger.MAX_VALUE; + } + return { line, character }; + } + Position22.create = create; + function is(value) { + let candidate = value; + return Is.objectLiteral(candidate) && Is.uinteger(candidate.line) && Is.uinteger(candidate.character); + } + Position22.is = is; + })(Position2 || (Position2 = {})); + var Range2; + (function(Range22) { + function create(one, two, three, four) { + if (Is.uinteger(one) && Is.uinteger(two) && Is.uinteger(three) && Is.uinteger(four)) { + return { start: Position2.create(one, two), end: Position2.create(three, four) }; + } else if (Position2.is(one) && Position2.is(two)) { + return { start: one, end: two }; + } else { + throw new Error(`Range#create called with invalid arguments[${one}, ${two}, ${three}, ${four}]`); + } + } + Range22.create = create; + function is(value) { + let candidate = value; + return Is.objectLiteral(candidate) && Position2.is(candidate.start) && Position2.is(candidate.end); + } + Range22.is = is; + })(Range2 || (Range2 = {})); + var Location; + (function(Location2) { + function create(uri, range) { + return { uri, range }; + } + Location2.create = create; + function is(value) { + let candidate = value; + return Is.objectLiteral(candidate) && Range2.is(candidate.range) && (Is.string(candidate.uri) || Is.undefined(candidate.uri)); + } + Location2.is = is; + })(Location || (Location = {})); + var LocationLink; + (function(LocationLink2) { + function create(targetUri, targetRange, targetSelectionRange, originSelectionRange) { + return { targetUri, targetRange, targetSelectionRange, originSelectionRange }; + } + LocationLink2.create = create; + function is(value) { + let candidate = value; + return Is.objectLiteral(candidate) && Range2.is(candidate.targetRange) && Is.string(candidate.targetUri) && Range2.is(candidate.targetSelectionRange) && (Range2.is(candidate.originSelectionRange) || Is.undefined(candidate.originSelectionRange)); + } + LocationLink2.is = is; + })(LocationLink || (LocationLink = {})); + var Color2; + (function(Color22) { + function create(red, green, blue, alpha) { + return { + red, + green, + blue, + alpha + }; + } + Color22.create = create; + function is(value) { + const candidate = value; + return Is.objectLiteral(candidate) && Is.numberRange(candidate.red, 0, 1) && Is.numberRange(candidate.green, 0, 1) && Is.numberRange(candidate.blue, 0, 1) && Is.numberRange(candidate.alpha, 0, 1); + } + Color22.is = is; + })(Color2 || (Color2 = {})); + var ColorInformation; + (function(ColorInformation2) { + function create(range, color) { + return { + range, + color + }; + } + ColorInformation2.create = create; + function is(value) { + const candidate = value; + return Is.objectLiteral(candidate) && Range2.is(candidate.range) && Color2.is(candidate.color); + } + ColorInformation2.is = is; + })(ColorInformation || (ColorInformation = {})); + var ColorPresentation; + (function(ColorPresentation2) { + function create(label, textEdit, additionalTextEdits) { + return { + label, + textEdit, + additionalTextEdits + }; + } + ColorPresentation2.create = create; + function is(value) { + const candidate = value; + return Is.objectLiteral(candidate) && Is.string(candidate.label) && (Is.undefined(candidate.textEdit) || TextEdit.is(candidate)) && (Is.undefined(candidate.additionalTextEdits) || Is.typedArray(candidate.additionalTextEdits, TextEdit.is)); + } + ColorPresentation2.is = is; + })(ColorPresentation || (ColorPresentation = {})); + var FoldingRangeKind2; + (function(FoldingRangeKind22) { + FoldingRangeKind22.Comment = "comment"; + FoldingRangeKind22.Imports = "imports"; + FoldingRangeKind22.Region = "region"; + })(FoldingRangeKind2 || (FoldingRangeKind2 = {})); + var FoldingRange; + (function(FoldingRange2) { + function create(startLine, endLine, startCharacter, endCharacter, kind, collapsedText) { + const result = { + startLine, + endLine + }; + if (Is.defined(startCharacter)) { + result.startCharacter = startCharacter; + } + if (Is.defined(endCharacter)) { + result.endCharacter = endCharacter; + } + if (Is.defined(kind)) { + result.kind = kind; + } + if (Is.defined(collapsedText)) { + result.collapsedText = collapsedText; + } + return result; + } + FoldingRange2.create = create; + function is(value) { + const candidate = value; + return Is.objectLiteral(candidate) && Is.uinteger(candidate.startLine) && Is.uinteger(candidate.startLine) && (Is.undefined(candidate.startCharacter) || Is.uinteger(candidate.startCharacter)) && (Is.undefined(candidate.endCharacter) || Is.uinteger(candidate.endCharacter)) && (Is.undefined(candidate.kind) || Is.string(candidate.kind)); + } + FoldingRange2.is = is; + })(FoldingRange || (FoldingRange = {})); + var DiagnosticRelatedInformation; + (function(DiagnosticRelatedInformation2) { + function create(location, message) { + return { + location, + message + }; + } + DiagnosticRelatedInformation2.create = create; + function is(value) { + let candidate = value; + return Is.defined(candidate) && Location.is(candidate.location) && Is.string(candidate.message); + } + DiagnosticRelatedInformation2.is = is; + })(DiagnosticRelatedInformation || (DiagnosticRelatedInformation = {})); + var DiagnosticSeverity; + (function(DiagnosticSeverity2) { + DiagnosticSeverity2.Error = 1; + DiagnosticSeverity2.Warning = 2; + DiagnosticSeverity2.Information = 3; + DiagnosticSeverity2.Hint = 4; + })(DiagnosticSeverity || (DiagnosticSeverity = {})); + var DiagnosticTag; + (function(DiagnosticTag2) { + DiagnosticTag2.Unnecessary = 1; + DiagnosticTag2.Deprecated = 2; + })(DiagnosticTag || (DiagnosticTag = {})); + var CodeDescription; + (function(CodeDescription2) { + function is(value) { + const candidate = value; + return Is.objectLiteral(candidate) && Is.string(candidate.href); + } + CodeDescription2.is = is; + })(CodeDescription || (CodeDescription = {})); + var Diagnostic; + (function(Diagnostic2) { + function create(range, message, severity, code, source, relatedInformation) { + let result = { range, message }; + if (Is.defined(severity)) { + result.severity = severity; + } + if (Is.defined(code)) { + result.code = code; + } + if (Is.defined(source)) { + result.source = source; + } + if (Is.defined(relatedInformation)) { + result.relatedInformation = relatedInformation; + } + return result; + } + Diagnostic2.create = create; + function is(value) { + var _a2; + let candidate = value; + return Is.defined(candidate) && Range2.is(candidate.range) && Is.string(candidate.message) && (Is.number(candidate.severity) || Is.undefined(candidate.severity)) && (Is.integer(candidate.code) || Is.string(candidate.code) || Is.undefined(candidate.code)) && (Is.undefined(candidate.codeDescription) || Is.string((_a2 = candidate.codeDescription) === null || _a2 === void 0 ? void 0 : _a2.href)) && (Is.string(candidate.source) || Is.undefined(candidate.source)) && (Is.undefined(candidate.relatedInformation) || Is.typedArray(candidate.relatedInformation, DiagnosticRelatedInformation.is)); + } + Diagnostic2.is = is; + })(Diagnostic || (Diagnostic = {})); + var Command2; + (function(Command22) { + function create(title, command, ...args) { + let result = { title, command }; + if (Is.defined(args) && args.length > 0) { + result.arguments = args; + } + return result; + } + Command22.create = create; + function is(value) { + let candidate = value; + return Is.defined(candidate) && Is.string(candidate.title) && Is.string(candidate.command); + } + Command22.is = is; + })(Command2 || (Command2 = {})); + var TextEdit; + (function(TextEdit2) { + function replace(range, newText) { + return { range, newText }; + } + TextEdit2.replace = replace; + function insert(position, newText) { + return { range: { start: position, end: position }, newText }; + } + TextEdit2.insert = insert; + function del(range) { + return { range, newText: "" }; + } + TextEdit2.del = del; + function is(value) { + const candidate = value; + return Is.objectLiteral(candidate) && Is.string(candidate.newText) && Range2.is(candidate.range); + } + TextEdit2.is = is; + })(TextEdit || (TextEdit = {})); + var ChangeAnnotation; + (function(ChangeAnnotation2) { + function create(label, needsConfirmation, description) { + const result = { label }; + if (needsConfirmation !== void 0) { + result.needsConfirmation = needsConfirmation; + } + if (description !== void 0) { + result.description = description; + } + return result; + } + ChangeAnnotation2.create = create; + function is(value) { + const candidate = value; + return Is.objectLiteral(candidate) && Is.string(candidate.label) && (Is.boolean(candidate.needsConfirmation) || candidate.needsConfirmation === void 0) && (Is.string(candidate.description) || candidate.description === void 0); + } + ChangeAnnotation2.is = is; + })(ChangeAnnotation || (ChangeAnnotation = {})); + var ChangeAnnotationIdentifier; + (function(ChangeAnnotationIdentifier2) { + function is(value) { + const candidate = value; + return Is.string(candidate); + } + ChangeAnnotationIdentifier2.is = is; + })(ChangeAnnotationIdentifier || (ChangeAnnotationIdentifier = {})); + var AnnotatedTextEdit; + (function(AnnotatedTextEdit2) { + function replace(range, newText, annotation) { + return { range, newText, annotationId: annotation }; + } + AnnotatedTextEdit2.replace = replace; + function insert(position, newText, annotation) { + return { range: { start: position, end: position }, newText, annotationId: annotation }; + } + AnnotatedTextEdit2.insert = insert; + function del(range, annotation) { + return { range, newText: "", annotationId: annotation }; + } + AnnotatedTextEdit2.del = del; + function is(value) { + const candidate = value; + return TextEdit.is(candidate) && (ChangeAnnotation.is(candidate.annotationId) || ChangeAnnotationIdentifier.is(candidate.annotationId)); + } + AnnotatedTextEdit2.is = is; + })(AnnotatedTextEdit || (AnnotatedTextEdit = {})); + var TextDocumentEdit; + (function(TextDocumentEdit2) { + function create(textDocument, edits) { + return { textDocument, edits }; + } + TextDocumentEdit2.create = create; + function is(value) { + let candidate = value; + return Is.defined(candidate) && OptionalVersionedTextDocumentIdentifier.is(candidate.textDocument) && Array.isArray(candidate.edits); + } + TextDocumentEdit2.is = is; + })(TextDocumentEdit || (TextDocumentEdit = {})); + var CreateFile; + (function(CreateFile2) { + function create(uri, options, annotation) { + let result = { + kind: "create", + uri + }; + if (options !== void 0 && (options.overwrite !== void 0 || options.ignoreIfExists !== void 0)) { + result.options = options; + } + if (annotation !== void 0) { + result.annotationId = annotation; + } + return result; + } + CreateFile2.create = create; + function is(value) { + let candidate = value; + return candidate && candidate.kind === "create" && Is.string(candidate.uri) && (candidate.options === void 0 || (candidate.options.overwrite === void 0 || Is.boolean(candidate.options.overwrite)) && (candidate.options.ignoreIfExists === void 0 || Is.boolean(candidate.options.ignoreIfExists))) && (candidate.annotationId === void 0 || ChangeAnnotationIdentifier.is(candidate.annotationId)); + } + CreateFile2.is = is; + })(CreateFile || (CreateFile = {})); + var RenameFile; + (function(RenameFile2) { + function create(oldUri, newUri, options, annotation) { + let result = { + kind: "rename", + oldUri, + newUri + }; + if (options !== void 0 && (options.overwrite !== void 0 || options.ignoreIfExists !== void 0)) { + result.options = options; + } + if (annotation !== void 0) { + result.annotationId = annotation; + } + return result; + } + RenameFile2.create = create; + function is(value) { + let candidate = value; + return candidate && candidate.kind === "rename" && Is.string(candidate.oldUri) && Is.string(candidate.newUri) && (candidate.options === void 0 || (candidate.options.overwrite === void 0 || Is.boolean(candidate.options.overwrite)) && (candidate.options.ignoreIfExists === void 0 || Is.boolean(candidate.options.ignoreIfExists))) && (candidate.annotationId === void 0 || ChangeAnnotationIdentifier.is(candidate.annotationId)); + } + RenameFile2.is = is; + })(RenameFile || (RenameFile = {})); + var DeleteFile; + (function(DeleteFile2) { + function create(uri, options, annotation) { + let result = { + kind: "delete", + uri + }; + if (options !== void 0 && (options.recursive !== void 0 || options.ignoreIfNotExists !== void 0)) { + result.options = options; + } + if (annotation !== void 0) { + result.annotationId = annotation; + } + return result; + } + DeleteFile2.create = create; + function is(value) { + let candidate = value; + return candidate && candidate.kind === "delete" && Is.string(candidate.uri) && (candidate.options === void 0 || (candidate.options.recursive === void 0 || Is.boolean(candidate.options.recursive)) && (candidate.options.ignoreIfNotExists === void 0 || Is.boolean(candidate.options.ignoreIfNotExists))) && (candidate.annotationId === void 0 || ChangeAnnotationIdentifier.is(candidate.annotationId)); + } + DeleteFile2.is = is; + })(DeleteFile || (DeleteFile = {})); + var WorkspaceEdit; + (function(WorkspaceEdit2) { + function is(value) { + let candidate = value; + return candidate && (candidate.changes !== void 0 || candidate.documentChanges !== void 0) && (candidate.documentChanges === void 0 || candidate.documentChanges.every((change) => { + if (Is.string(change.kind)) { + return CreateFile.is(change) || RenameFile.is(change) || DeleteFile.is(change); + } else { + return TextDocumentEdit.is(change); + } + })); + } + WorkspaceEdit2.is = is; + })(WorkspaceEdit || (WorkspaceEdit = {})); + var TextDocumentIdentifier; + (function(TextDocumentIdentifier2) { + function create(uri) { + return { uri }; + } + TextDocumentIdentifier2.create = create; + function is(value) { + let candidate = value; + return Is.defined(candidate) && Is.string(candidate.uri); + } + TextDocumentIdentifier2.is = is; + })(TextDocumentIdentifier || (TextDocumentIdentifier = {})); + var VersionedTextDocumentIdentifier; + (function(VersionedTextDocumentIdentifier2) { + function create(uri, version) { + return { uri, version }; + } + VersionedTextDocumentIdentifier2.create = create; + function is(value) { + let candidate = value; + return Is.defined(candidate) && Is.string(candidate.uri) && Is.integer(candidate.version); + } + VersionedTextDocumentIdentifier2.is = is; + })(VersionedTextDocumentIdentifier || (VersionedTextDocumentIdentifier = {})); + var OptionalVersionedTextDocumentIdentifier; + (function(OptionalVersionedTextDocumentIdentifier2) { + function create(uri, version) { + return { uri, version }; + } + OptionalVersionedTextDocumentIdentifier2.create = create; + function is(value) { + let candidate = value; + return Is.defined(candidate) && Is.string(candidate.uri) && (candidate.version === null || Is.integer(candidate.version)); + } + OptionalVersionedTextDocumentIdentifier2.is = is; + })(OptionalVersionedTextDocumentIdentifier || (OptionalVersionedTextDocumentIdentifier = {})); + var TextDocumentItem; + (function(TextDocumentItem2) { + function create(uri, languageId, version, text) { + return { uri, languageId, version, text }; + } + TextDocumentItem2.create = create; + function is(value) { + let candidate = value; + return Is.defined(candidate) && Is.string(candidate.uri) && Is.string(candidate.languageId) && Is.integer(candidate.version) && Is.string(candidate.text); + } + TextDocumentItem2.is = is; + })(TextDocumentItem || (TextDocumentItem = {})); + var MarkupKind; + (function(MarkupKind2) { + MarkupKind2.PlainText = "plaintext"; + MarkupKind2.Markdown = "markdown"; + function is(value) { + const candidate = value; + return candidate === MarkupKind2.PlainText || candidate === MarkupKind2.Markdown; + } + MarkupKind2.is = is; + })(MarkupKind || (MarkupKind = {})); + var MarkupContent; + (function(MarkupContent2) { + function is(value) { + const candidate = value; + return Is.objectLiteral(value) && MarkupKind.is(candidate.kind) && Is.string(candidate.value); + } + MarkupContent2.is = is; + })(MarkupContent || (MarkupContent = {})); + var CompletionItemKind2; + (function(CompletionItemKind22) { + CompletionItemKind22.Text = 1; + CompletionItemKind22.Method = 2; + CompletionItemKind22.Function = 3; + CompletionItemKind22.Constructor = 4; + CompletionItemKind22.Field = 5; + CompletionItemKind22.Variable = 6; + CompletionItemKind22.Class = 7; + CompletionItemKind22.Interface = 8; + CompletionItemKind22.Module = 9; + CompletionItemKind22.Property = 10; + CompletionItemKind22.Unit = 11; + CompletionItemKind22.Value = 12; + CompletionItemKind22.Enum = 13; + CompletionItemKind22.Keyword = 14; + CompletionItemKind22.Snippet = 15; + CompletionItemKind22.Color = 16; + CompletionItemKind22.File = 17; + CompletionItemKind22.Reference = 18; + CompletionItemKind22.Folder = 19; + CompletionItemKind22.EnumMember = 20; + CompletionItemKind22.Constant = 21; + CompletionItemKind22.Struct = 22; + CompletionItemKind22.Event = 23; + CompletionItemKind22.Operator = 24; + CompletionItemKind22.TypeParameter = 25; + })(CompletionItemKind2 || (CompletionItemKind2 = {})); + var InsertTextFormat; + (function(InsertTextFormat2) { + InsertTextFormat2.PlainText = 1; + InsertTextFormat2.Snippet = 2; + })(InsertTextFormat || (InsertTextFormat = {})); + var CompletionItemTag2; + (function(CompletionItemTag22) { + CompletionItemTag22.Deprecated = 1; + })(CompletionItemTag2 || (CompletionItemTag2 = {})); + var InsertReplaceEdit; + (function(InsertReplaceEdit2) { + function create(newText, insert, replace) { + return { newText, insert, replace }; + } + InsertReplaceEdit2.create = create; + function is(value) { + const candidate = value; + return candidate && Is.string(candidate.newText) && Range2.is(candidate.insert) && Range2.is(candidate.replace); + } + InsertReplaceEdit2.is = is; + })(InsertReplaceEdit || (InsertReplaceEdit = {})); + var InsertTextMode; + (function(InsertTextMode2) { + InsertTextMode2.asIs = 1; + InsertTextMode2.adjustIndentation = 2; + })(InsertTextMode || (InsertTextMode = {})); + var CompletionItemLabelDetails; + (function(CompletionItemLabelDetails2) { + function is(value) { + const candidate = value; + return candidate && (Is.string(candidate.detail) || candidate.detail === void 0) && (Is.string(candidate.description) || candidate.description === void 0); + } + CompletionItemLabelDetails2.is = is; + })(CompletionItemLabelDetails || (CompletionItemLabelDetails = {})); + var CompletionItem; + (function(CompletionItem2) { + function create(label) { + return { label }; + } + CompletionItem2.create = create; + })(CompletionItem || (CompletionItem = {})); + var CompletionList; + (function(CompletionList2) { + function create(items, isIncomplete) { + return { items: items ? items : [], isIncomplete: !!isIncomplete }; + } + CompletionList2.create = create; + })(CompletionList || (CompletionList = {})); + var MarkedString; + (function(MarkedString2) { + function fromPlainText(plainText) { + return plainText.replace(/[\\`*_{}[\]()#+\-.!]/g, "\\$&"); + } + MarkedString2.fromPlainText = fromPlainText; + function is(value) { + const candidate = value; + return Is.string(candidate) || Is.objectLiteral(candidate) && Is.string(candidate.language) && Is.string(candidate.value); + } + MarkedString2.is = is; + })(MarkedString || (MarkedString = {})); + var Hover; + (function(Hover2) { + function is(value) { + let candidate = value; + return !!candidate && Is.objectLiteral(candidate) && (MarkupContent.is(candidate.contents) || MarkedString.is(candidate.contents) || Is.typedArray(candidate.contents, MarkedString.is)) && (value.range === void 0 || Range2.is(value.range)); + } + Hover2.is = is; + })(Hover || (Hover = {})); + var ParameterInformation; + (function(ParameterInformation2) { + function create(label, documentation) { + return documentation ? { label, documentation } : { label }; + } + ParameterInformation2.create = create; + })(ParameterInformation || (ParameterInformation = {})); + var SignatureInformation; + (function(SignatureInformation2) { + function create(label, documentation, ...parameters) { + let result = { label }; + if (Is.defined(documentation)) { + result.documentation = documentation; + } + if (Is.defined(parameters)) { + result.parameters = parameters; + } else { + result.parameters = []; + } + return result; + } + SignatureInformation2.create = create; + })(SignatureInformation || (SignatureInformation = {})); + var DocumentHighlightKind3; + (function(DocumentHighlightKind22) { + DocumentHighlightKind22.Text = 1; + DocumentHighlightKind22.Read = 2; + DocumentHighlightKind22.Write = 3; + })(DocumentHighlightKind3 || (DocumentHighlightKind3 = {})); + var DocumentHighlight; + (function(DocumentHighlight2) { + function create(range, kind) { + let result = { range }; + if (Is.number(kind)) { + result.kind = kind; + } + return result; + } + DocumentHighlight2.create = create; + })(DocumentHighlight || (DocumentHighlight = {})); + var SymbolKind2; + (function(SymbolKind22) { + SymbolKind22.File = 1; + SymbolKind22.Module = 2; + SymbolKind22.Namespace = 3; + SymbolKind22.Package = 4; + SymbolKind22.Class = 5; + SymbolKind22.Method = 6; + SymbolKind22.Property = 7; + SymbolKind22.Field = 8; + SymbolKind22.Constructor = 9; + SymbolKind22.Enum = 10; + SymbolKind22.Interface = 11; + SymbolKind22.Function = 12; + SymbolKind22.Variable = 13; + SymbolKind22.Constant = 14; + SymbolKind22.String = 15; + SymbolKind22.Number = 16; + SymbolKind22.Boolean = 17; + SymbolKind22.Array = 18; + SymbolKind22.Object = 19; + SymbolKind22.Key = 20; + SymbolKind22.Null = 21; + SymbolKind22.EnumMember = 22; + SymbolKind22.Struct = 23; + SymbolKind22.Event = 24; + SymbolKind22.Operator = 25; + SymbolKind22.TypeParameter = 26; + })(SymbolKind2 || (SymbolKind2 = {})); + var SymbolTag2; + (function(SymbolTag22) { + SymbolTag22.Deprecated = 1; + })(SymbolTag2 || (SymbolTag2 = {})); + var SymbolInformation; + (function(SymbolInformation2) { + function create(name, kind, range, uri, containerName) { + let result = { + name, + kind, + location: { uri, range } + }; + if (containerName) { + result.containerName = containerName; + } + return result; + } + SymbolInformation2.create = create; + })(SymbolInformation || (SymbolInformation = {})); + var WorkspaceSymbol; + (function(WorkspaceSymbol2) { + function create(name, kind, uri, range) { + return range !== void 0 ? { name, kind, location: { uri, range } } : { name, kind, location: { uri } }; + } + WorkspaceSymbol2.create = create; + })(WorkspaceSymbol || (WorkspaceSymbol = {})); + var DocumentSymbol; + (function(DocumentSymbol2) { + function create(name, detail, kind, range, selectionRange, children) { + let result = { + name, + detail, + kind, + range, + selectionRange + }; + if (children !== void 0) { + result.children = children; + } + return result; + } + DocumentSymbol2.create = create; + function is(value) { + let candidate = value; + return candidate && Is.string(candidate.name) && Is.number(candidate.kind) && Range2.is(candidate.range) && Range2.is(candidate.selectionRange) && (candidate.detail === void 0 || Is.string(candidate.detail)) && (candidate.deprecated === void 0 || Is.boolean(candidate.deprecated)) && (candidate.children === void 0 || Array.isArray(candidate.children)) && (candidate.tags === void 0 || Array.isArray(candidate.tags)); + } + DocumentSymbol2.is = is; + })(DocumentSymbol || (DocumentSymbol = {})); + var CodeActionKind; + (function(CodeActionKind2) { + CodeActionKind2.Empty = ""; + CodeActionKind2.QuickFix = "quickfix"; + CodeActionKind2.Refactor = "refactor"; + CodeActionKind2.RefactorExtract = "refactor.extract"; + CodeActionKind2.RefactorInline = "refactor.inline"; + CodeActionKind2.RefactorRewrite = "refactor.rewrite"; + CodeActionKind2.Source = "source"; + CodeActionKind2.SourceOrganizeImports = "source.organizeImports"; + CodeActionKind2.SourceFixAll = "source.fixAll"; + })(CodeActionKind || (CodeActionKind = {})); + var CodeActionTriggerKind; + (function(CodeActionTriggerKind2) { + CodeActionTriggerKind2.Invoked = 1; + CodeActionTriggerKind2.Automatic = 2; + })(CodeActionTriggerKind || (CodeActionTriggerKind = {})); + var CodeActionContext; + (function(CodeActionContext2) { + function create(diagnostics, only, triggerKind) { + let result = { diagnostics }; + if (only !== void 0 && only !== null) { + result.only = only; + } + if (triggerKind !== void 0 && triggerKind !== null) { + result.triggerKind = triggerKind; + } + return result; + } + CodeActionContext2.create = create; + function is(value) { + let candidate = value; + return Is.defined(candidate) && Is.typedArray(candidate.diagnostics, Diagnostic.is) && (candidate.only === void 0 || Is.typedArray(candidate.only, Is.string)) && (candidate.triggerKind === void 0 || candidate.triggerKind === CodeActionTriggerKind.Invoked || candidate.triggerKind === CodeActionTriggerKind.Automatic); + } + CodeActionContext2.is = is; + })(CodeActionContext || (CodeActionContext = {})); + var CodeAction; + (function(CodeAction2) { + function create(title, kindOrCommandOrEdit, kind) { + let result = { title }; + let checkKind = true; + if (typeof kindOrCommandOrEdit === "string") { + checkKind = false; + result.kind = kindOrCommandOrEdit; + } else if (Command2.is(kindOrCommandOrEdit)) { + result.command = kindOrCommandOrEdit; + } else { + result.edit = kindOrCommandOrEdit; + } + if (checkKind && kind !== void 0) { + result.kind = kind; + } + return result; + } + CodeAction2.create = create; + function is(value) { + let candidate = value; + return candidate && Is.string(candidate.title) && (candidate.diagnostics === void 0 || Is.typedArray(candidate.diagnostics, Diagnostic.is)) && (candidate.kind === void 0 || Is.string(candidate.kind)) && (candidate.edit !== void 0 || candidate.command !== void 0) && (candidate.command === void 0 || Command2.is(candidate.command)) && (candidate.isPreferred === void 0 || Is.boolean(candidate.isPreferred)) && (candidate.edit === void 0 || WorkspaceEdit.is(candidate.edit)); + } + CodeAction2.is = is; + })(CodeAction || (CodeAction = {})); + var CodeLens; + (function(CodeLens2) { + function create(range, data) { + let result = { range }; + if (Is.defined(data)) { + result.data = data; + } + return result; + } + CodeLens2.create = create; + function is(value) { + let candidate = value; + return Is.defined(candidate) && Range2.is(candidate.range) && (Is.undefined(candidate.command) || Command2.is(candidate.command)); + } + CodeLens2.is = is; + })(CodeLens || (CodeLens = {})); + var FormattingOptions; + (function(FormattingOptions2) { + function create(tabSize, insertSpaces) { + return { tabSize, insertSpaces }; + } + FormattingOptions2.create = create; + function is(value) { + let candidate = value; + return Is.defined(candidate) && Is.uinteger(candidate.tabSize) && Is.boolean(candidate.insertSpaces); + } + FormattingOptions2.is = is; + })(FormattingOptions || (FormattingOptions = {})); + var DocumentLink; + (function(DocumentLink2) { + function create(range, target, data) { + return { range, target, data }; + } + DocumentLink2.create = create; + function is(value) { + let candidate = value; + return Is.defined(candidate) && Range2.is(candidate.range) && (Is.undefined(candidate.target) || Is.string(candidate.target)); + } + DocumentLink2.is = is; + })(DocumentLink || (DocumentLink = {})); + var SelectionRange; + (function(SelectionRange2) { + function create(range, parent) { + return { range, parent }; + } + SelectionRange2.create = create; + function is(value) { + let candidate = value; + return Is.objectLiteral(candidate) && Range2.is(candidate.range) && (candidate.parent === void 0 || SelectionRange2.is(candidate.parent)); + } + SelectionRange2.is = is; + })(SelectionRange || (SelectionRange = {})); + var SemanticTokenTypes; + (function(SemanticTokenTypes2) { + SemanticTokenTypes2["namespace"] = "namespace"; + SemanticTokenTypes2["type"] = "type"; + SemanticTokenTypes2["class"] = "class"; + SemanticTokenTypes2["enum"] = "enum"; + SemanticTokenTypes2["interface"] = "interface"; + SemanticTokenTypes2["struct"] = "struct"; + SemanticTokenTypes2["typeParameter"] = "typeParameter"; + SemanticTokenTypes2["parameter"] = "parameter"; + SemanticTokenTypes2["variable"] = "variable"; + SemanticTokenTypes2["property"] = "property"; + SemanticTokenTypes2["enumMember"] = "enumMember"; + SemanticTokenTypes2["event"] = "event"; + SemanticTokenTypes2["function"] = "function"; + SemanticTokenTypes2["method"] = "method"; + SemanticTokenTypes2["macro"] = "macro"; + SemanticTokenTypes2["keyword"] = "keyword"; + SemanticTokenTypes2["modifier"] = "modifier"; + SemanticTokenTypes2["comment"] = "comment"; + SemanticTokenTypes2["string"] = "string"; + SemanticTokenTypes2["number"] = "number"; + SemanticTokenTypes2["regexp"] = "regexp"; + SemanticTokenTypes2["operator"] = "operator"; + SemanticTokenTypes2["decorator"] = "decorator"; + })(SemanticTokenTypes || (SemanticTokenTypes = {})); + var SemanticTokenModifiers; + (function(SemanticTokenModifiers2) { + SemanticTokenModifiers2["declaration"] = "declaration"; + SemanticTokenModifiers2["definition"] = "definition"; + SemanticTokenModifiers2["readonly"] = "readonly"; + SemanticTokenModifiers2["static"] = "static"; + SemanticTokenModifiers2["deprecated"] = "deprecated"; + SemanticTokenModifiers2["abstract"] = "abstract"; + SemanticTokenModifiers2["async"] = "async"; + SemanticTokenModifiers2["modification"] = "modification"; + SemanticTokenModifiers2["documentation"] = "documentation"; + SemanticTokenModifiers2["defaultLibrary"] = "defaultLibrary"; + })(SemanticTokenModifiers || (SemanticTokenModifiers = {})); + var SemanticTokens; + (function(SemanticTokens2) { + function is(value) { + const candidate = value; + return Is.objectLiteral(candidate) && (candidate.resultId === void 0 || typeof candidate.resultId === "string") && Array.isArray(candidate.data) && (candidate.data.length === 0 || typeof candidate.data[0] === "number"); + } + SemanticTokens2.is = is; + })(SemanticTokens || (SemanticTokens = {})); + var InlineValueText; + (function(InlineValueText2) { + function create(range, text) { + return { range, text }; + } + InlineValueText2.create = create; + function is(value) { + const candidate = value; + return candidate !== void 0 && candidate !== null && Range2.is(candidate.range) && Is.string(candidate.text); + } + InlineValueText2.is = is; + })(InlineValueText || (InlineValueText = {})); + var InlineValueVariableLookup; + (function(InlineValueVariableLookup2) { + function create(range, variableName, caseSensitiveLookup) { + return { range, variableName, caseSensitiveLookup }; + } + InlineValueVariableLookup2.create = create; + function is(value) { + const candidate = value; + return candidate !== void 0 && candidate !== null && Range2.is(candidate.range) && Is.boolean(candidate.caseSensitiveLookup) && (Is.string(candidate.variableName) || candidate.variableName === void 0); + } + InlineValueVariableLookup2.is = is; + })(InlineValueVariableLookup || (InlineValueVariableLookup = {})); + var InlineValueEvaluatableExpression; + (function(InlineValueEvaluatableExpression2) { + function create(range, expression) { + return { range, expression }; + } + InlineValueEvaluatableExpression2.create = create; + function is(value) { + const candidate = value; + return candidate !== void 0 && candidate !== null && Range2.is(candidate.range) && (Is.string(candidate.expression) || candidate.expression === void 0); + } + InlineValueEvaluatableExpression2.is = is; + })(InlineValueEvaluatableExpression || (InlineValueEvaluatableExpression = {})); + var InlineValueContext; + (function(InlineValueContext2) { + function create(frameId, stoppedLocation) { + return { frameId, stoppedLocation }; + } + InlineValueContext2.create = create; + function is(value) { + const candidate = value; + return Is.defined(candidate) && Range2.is(value.stoppedLocation); + } + InlineValueContext2.is = is; + })(InlineValueContext || (InlineValueContext = {})); + var InlayHintKind3; + (function(InlayHintKind22) { + InlayHintKind22.Type = 1; + InlayHintKind22.Parameter = 2; + function is(value) { + return value === 1 || value === 2; + } + InlayHintKind22.is = is; + })(InlayHintKind3 || (InlayHintKind3 = {})); + var InlayHintLabelPart; + (function(InlayHintLabelPart2) { + function create(value) { + return { value }; + } + InlayHintLabelPart2.create = create; + function is(value) { + const candidate = value; + return Is.objectLiteral(candidate) && (candidate.tooltip === void 0 || Is.string(candidate.tooltip) || MarkupContent.is(candidate.tooltip)) && (candidate.location === void 0 || Location.is(candidate.location)) && (candidate.command === void 0 || Command2.is(candidate.command)); + } + InlayHintLabelPart2.is = is; + })(InlayHintLabelPart || (InlayHintLabelPart = {})); + var InlayHint; + (function(InlayHint2) { + function create(position, label, kind) { + const result = { position, label }; + if (kind !== void 0) { + result.kind = kind; + } + return result; + } + InlayHint2.create = create; + function is(value) { + const candidate = value; + return Is.objectLiteral(candidate) && Position2.is(candidate.position) && (Is.string(candidate.label) || Is.typedArray(candidate.label, InlayHintLabelPart.is)) && (candidate.kind === void 0 || InlayHintKind3.is(candidate.kind)) && candidate.textEdits === void 0 || Is.typedArray(candidate.textEdits, TextEdit.is) && (candidate.tooltip === void 0 || Is.string(candidate.tooltip) || MarkupContent.is(candidate.tooltip)) && (candidate.paddingLeft === void 0 || Is.boolean(candidate.paddingLeft)) && (candidate.paddingRight === void 0 || Is.boolean(candidate.paddingRight)); + } + InlayHint2.is = is; + })(InlayHint || (InlayHint = {})); + var StringValue; + (function(StringValue2) { + function createSnippet(value) { + return { kind: "snippet", value }; + } + StringValue2.createSnippet = createSnippet; + })(StringValue || (StringValue = {})); + var InlineCompletionItem; + (function(InlineCompletionItem2) { + function create(insertText, filterText, range, command) { + return { insertText, filterText, range, command }; + } + InlineCompletionItem2.create = create; + })(InlineCompletionItem || (InlineCompletionItem = {})); + var InlineCompletionList; + (function(InlineCompletionList2) { + function create(items) { + return { items }; + } + InlineCompletionList2.create = create; + })(InlineCompletionList || (InlineCompletionList = {})); + var InlineCompletionTriggerKind3; + (function(InlineCompletionTriggerKind22) { + InlineCompletionTriggerKind22.Invoked = 0; + InlineCompletionTriggerKind22.Automatic = 1; + })(InlineCompletionTriggerKind3 || (InlineCompletionTriggerKind3 = {})); + var SelectedCompletionInfo; + (function(SelectedCompletionInfo2) { + function create(range, text) { + return { range, text }; + } + SelectedCompletionInfo2.create = create; + })(SelectedCompletionInfo || (SelectedCompletionInfo = {})); + var InlineCompletionContext; + (function(InlineCompletionContext2) { + function create(triggerKind, selectedCompletionInfo) { + return { triggerKind, selectedCompletionInfo }; + } + InlineCompletionContext2.create = create; + })(InlineCompletionContext || (InlineCompletionContext = {})); + var WorkspaceFolder; + (function(WorkspaceFolder2) { + function is(value) { + const candidate = value; + return Is.objectLiteral(candidate) && URI2.is(candidate.uri) && Is.string(candidate.name); + } + WorkspaceFolder2.is = is; + })(WorkspaceFolder || (WorkspaceFolder = {})); + var TextDocument; + (function(TextDocument3) { + function create(uri, languageId, version, content) { + return new FullTextDocument(uri, languageId, version, content); + } + TextDocument3.create = create; + function is(value) { + let candidate = value; + return Is.defined(candidate) && Is.string(candidate.uri) && (Is.undefined(candidate.languageId) || Is.string(candidate.languageId)) && Is.uinteger(candidate.lineCount) && Is.func(candidate.getText) && Is.func(candidate.positionAt) && Is.func(candidate.offsetAt) ? true : false; + } + TextDocument3.is = is; + function applyEdits(document2, edits) { + let text = document2.getText(); + let sortedEdits = mergeSort2(edits, (a2, b) => { + let diff = a2.range.start.line - b.range.start.line; + if (diff === 0) { + return a2.range.start.character - b.range.start.character; + } + return diff; + }); + let lastModifiedOffset = text.length; + for (let i = sortedEdits.length - 1; i >= 0; i--) { + let e = sortedEdits[i]; + let startOffset = document2.offsetAt(e.range.start); + let endOffset = document2.offsetAt(e.range.end); + if (endOffset <= lastModifiedOffset) { + text = text.substring(0, startOffset) + e.newText + text.substring(endOffset, text.length); + } else { + throw new Error("Overlapping edit"); + } + lastModifiedOffset = startOffset; + } + return text; + } + TextDocument3.applyEdits = applyEdits; + function mergeSort2(data, compare) { + if (data.length <= 1) { + return data; + } + const p = data.length / 2 | 0; + const left = data.slice(0, p); + const right = data.slice(p); + mergeSort2(left, compare); + mergeSort2(right, compare); + let leftIdx = 0; + let rightIdx = 0; + let i = 0; + while (leftIdx < left.length && rightIdx < right.length) { + let ret = compare(left[leftIdx], right[rightIdx]); + if (ret <= 0) { + data[i++] = left[leftIdx++]; + } else { + data[i++] = right[rightIdx++]; + } + } + while (leftIdx < left.length) { + data[i++] = left[leftIdx++]; + } + while (rightIdx < right.length) { + data[i++] = right[rightIdx++]; + } + return data; + } + })(TextDocument || (TextDocument = {})); + var FullTextDocument = class { + constructor(uri, languageId, version, content) { + this._uri = uri; + this._languageId = languageId; + this._version = version; + this._content = content; + this._lineOffsets = void 0; + } + get uri() { + return this._uri; + } + get languageId() { + return this._languageId; + } + get version() { + return this._version; + } + getText(range) { + if (range) { + let start = this.offsetAt(range.start); + let end = this.offsetAt(range.end); + return this._content.substring(start, end); + } + return this._content; + } + update(event, version) { + this._content = event.text; + this._version = version; + this._lineOffsets = void 0; + } + getLineOffsets() { + if (this._lineOffsets === void 0) { + let lineOffsets = []; + let text = this._content; + let isLineStart = true; + for (let i = 0; i < text.length; i++) { + if (isLineStart) { + lineOffsets.push(i); + isLineStart = false; + } + let ch = text.charAt(i); + isLineStart = ch === "\r" || ch === "\n"; + if (ch === "\r" && i + 1 < text.length && text.charAt(i + 1) === "\n") { + i++; + } + } + if (isLineStart && text.length > 0) { + lineOffsets.push(text.length); + } + this._lineOffsets = lineOffsets; + } + return this._lineOffsets; + } + positionAt(offset) { + offset = Math.max(Math.min(offset, this._content.length), 0); + let lineOffsets = this.getLineOffsets(); + let low = 0, high = lineOffsets.length; + if (high === 0) { + return Position2.create(0, offset); + } + while (low < high) { + let mid = Math.floor((low + high) / 2); + if (lineOffsets[mid] > offset) { + high = mid; + } else { + low = mid + 1; + } + } + let line = low - 1; + return Position2.create(line, offset - lineOffsets[line]); + } + offsetAt(position) { + let lineOffsets = this.getLineOffsets(); + if (position.line >= lineOffsets.length) { + return this._content.length; + } else if (position.line < 0) { + return 0; + } + let lineOffset = lineOffsets[position.line]; + let nextLineOffset = position.line + 1 < lineOffsets.length ? lineOffsets[position.line + 1] : this._content.length; + return Math.max(Math.min(lineOffset + position.character, nextLineOffset), lineOffset); + } + get lineCount() { + return this.getLineOffsets().length; + } + }; + var Is; + (function(Is2) { + const toString = Object.prototype.toString; + function defined(value) { + return typeof value !== "undefined"; + } + Is2.defined = defined; + function undefined2(value) { + return typeof value === "undefined"; + } + Is2.undefined = undefined2; + function boolean(value) { + return value === true || value === false; + } + Is2.boolean = boolean; + function string(value) { + return toString.call(value) === "[object String]"; + } + Is2.string = string; + function number(value) { + return toString.call(value) === "[object Number]"; + } + Is2.number = number; + function numberRange(value, min, max) { + return toString.call(value) === "[object Number]" && min <= value && value <= max; + } + Is2.numberRange = numberRange; + function integer2(value) { + return toString.call(value) === "[object Number]" && -2147483648 <= value && value <= 2147483647; + } + Is2.integer = integer2; + function uinteger2(value) { + return toString.call(value) === "[object Number]" && 0 <= value && value <= 2147483647; + } + Is2.uinteger = uinteger2; + function func(value) { + return toString.call(value) === "[object Function]"; + } + Is2.func = func; + function objectLiteral(value) { + return value !== null && typeof value === "object"; + } + Is2.objectLiteral = objectLiteral; + function typedArray(value, check) { + return Array.isArray(value) && value.every(check); + } + Is2.typedArray = typedArray; + })(Is || (Is = {})); + var FullTextDocument2 = class _FullTextDocument { + constructor(uri, languageId, version, content) { + this._uri = uri; + this._languageId = languageId; + this._version = version; + this._content = content; + this._lineOffsets = void 0; + } + get uri() { + return this._uri; + } + get languageId() { + return this._languageId; + } + get version() { + return this._version; + } + getText(range) { + if (range) { + const start = this.offsetAt(range.start); + const end = this.offsetAt(range.end); + return this._content.substring(start, end); + } + return this._content; + } + update(changes, version) { + for (let change of changes) { + if (_FullTextDocument.isIncremental(change)) { + const range = getWellformedRange(change.range); + const startOffset = this.offsetAt(range.start); + const endOffset = this.offsetAt(range.end); + this._content = this._content.substring(0, startOffset) + change.text + this._content.substring(endOffset, this._content.length); + const startLine = Math.max(range.start.line, 0); + const endLine = Math.max(range.end.line, 0); + let lineOffsets = this._lineOffsets; + const addedLineOffsets = computeLineOffsets(change.text, false, startOffset); + if (endLine - startLine === addedLineOffsets.length) { + for (let i = 0, len = addedLineOffsets.length; i < len; i++) { + lineOffsets[i + startLine + 1] = addedLineOffsets[i]; + } + } else { + if (addedLineOffsets.length < 1e4) { + lineOffsets.splice(startLine + 1, endLine - startLine, ...addedLineOffsets); + } else { + this._lineOffsets = lineOffsets = lineOffsets.slice(0, startLine + 1).concat(addedLineOffsets, lineOffsets.slice(endLine + 1)); + } + } + const diff = change.text.length - (endOffset - startOffset); + if (diff !== 0) { + for (let i = startLine + 1 + addedLineOffsets.length, len = lineOffsets.length; i < len; i++) { + lineOffsets[i] = lineOffsets[i] + diff; + } + } + } else if (_FullTextDocument.isFull(change)) { + this._content = change.text; + this._lineOffsets = void 0; + } else { + throw new Error("Unknown change event received"); + } + } + this._version = version; + } + getLineOffsets() { + if (this._lineOffsets === void 0) { + this._lineOffsets = computeLineOffsets(this._content, true); + } + return this._lineOffsets; + } + positionAt(offset) { + offset = Math.max(Math.min(offset, this._content.length), 0); + let lineOffsets = this.getLineOffsets(); + let low = 0, high = lineOffsets.length; + if (high === 0) { + return { line: 0, character: offset }; + } + while (low < high) { + let mid = Math.floor((low + high) / 2); + if (lineOffsets[mid] > offset) { + high = mid; + } else { + low = mid + 1; + } + } + let line = low - 1; + return { line, character: offset - lineOffsets[line] }; + } + offsetAt(position) { + let lineOffsets = this.getLineOffsets(); + if (position.line >= lineOffsets.length) { + return this._content.length; + } else if (position.line < 0) { + return 0; + } + let lineOffset = lineOffsets[position.line]; + let nextLineOffset = position.line + 1 < lineOffsets.length ? lineOffsets[position.line + 1] : this._content.length; + return Math.max(Math.min(lineOffset + position.character, nextLineOffset), lineOffset); + } + get lineCount() { + return this.getLineOffsets().length; + } + static isIncremental(event) { + let candidate = event; + return candidate !== void 0 && candidate !== null && typeof candidate.text === "string" && candidate.range !== void 0 && (candidate.rangeLength === void 0 || typeof candidate.rangeLength === "number"); + } + static isFull(event) { + let candidate = event; + return candidate !== void 0 && candidate !== null && typeof candidate.text === "string" && candidate.range === void 0 && candidate.rangeLength === void 0; + } + }; + var TextDocument2; + (function(TextDocument3) { + function create(uri, languageId, version, content) { + return new FullTextDocument2(uri, languageId, version, content); + } + TextDocument3.create = create; + function update(document2, changes, version) { + if (document2 instanceof FullTextDocument2) { + document2.update(changes, version); + return document2; + } else { + throw new Error("TextDocument.update: document must be created by TextDocument.create"); + } + } + TextDocument3.update = update; + function applyEdits(document2, edits) { + let text = document2.getText(); + let sortedEdits = mergeSort(edits.map(getWellformedEdit), (a2, b) => { + let diff = a2.range.start.line - b.range.start.line; + if (diff === 0) { + return a2.range.start.character - b.range.start.character; + } + return diff; + }); + let lastModifiedOffset = 0; + const spans = []; + for (const e of sortedEdits) { + let startOffset = document2.offsetAt(e.range.start); + if (startOffset < lastModifiedOffset) { + throw new Error("Overlapping edit"); + } else if (startOffset > lastModifiedOffset) { + spans.push(text.substring(lastModifiedOffset, startOffset)); + } + if (e.newText.length) { + spans.push(e.newText); + } + lastModifiedOffset = document2.offsetAt(e.range.end); + } + spans.push(text.substr(lastModifiedOffset)); + return spans.join(""); + } + TextDocument3.applyEdits = applyEdits; + })(TextDocument2 || (TextDocument2 = {})); + function mergeSort(data, compare) { + if (data.length <= 1) { + return data; + } + const p = data.length / 2 | 0; + const left = data.slice(0, p); + const right = data.slice(p); + mergeSort(left, compare); + mergeSort(right, compare); + let leftIdx = 0; + let rightIdx = 0; + let i = 0; + while (leftIdx < left.length && rightIdx < right.length) { + let ret = compare(left[leftIdx], right[rightIdx]); + if (ret <= 0) { + data[i++] = left[leftIdx++]; + } else { + data[i++] = right[rightIdx++]; + } + } + while (leftIdx < left.length) { + data[i++] = left[leftIdx++]; + } + while (rightIdx < right.length) { + data[i++] = right[rightIdx++]; + } + return data; + } + function computeLineOffsets(text, isAtLineStart, textOffset = 0) { + const result = isAtLineStart ? [textOffset] : []; + for (let i = 0; i < text.length; i++) { + let ch = text.charCodeAt(i); + if (ch === 13 || ch === 10) { + if (ch === 13 && i + 1 < text.length && text.charCodeAt(i + 1) === 10) { + i++; + } + result.push(textOffset + i + 1); + } + } + return result; + } + function getWellformedRange(range) { + const start = range.start; + const end = range.end; + if (start.line > end.line || start.line === end.line && start.character > end.character) { + return { start: end, end: start }; + } + return range; + } + function getWellformedEdit(textEdit) { + const range = getWellformedRange(textEdit.range); + if (range !== textEdit.range) { + return { newText: textEdit.newText, range }; + } + return textEdit; + } + var ErrorCode; + (function(ErrorCode2) { + ErrorCode2[ErrorCode2["Undefined"] = 0] = "Undefined"; + ErrorCode2[ErrorCode2["EnumValueMismatch"] = 1] = "EnumValueMismatch"; + ErrorCode2[ErrorCode2["Deprecated"] = 2] = "Deprecated"; + ErrorCode2[ErrorCode2["UnexpectedEndOfComment"] = 257] = "UnexpectedEndOfComment"; + ErrorCode2[ErrorCode2["UnexpectedEndOfString"] = 258] = "UnexpectedEndOfString"; + ErrorCode2[ErrorCode2["UnexpectedEndOfNumber"] = 259] = "UnexpectedEndOfNumber"; + ErrorCode2[ErrorCode2["InvalidUnicode"] = 260] = "InvalidUnicode"; + ErrorCode2[ErrorCode2["InvalidEscapeCharacter"] = 261] = "InvalidEscapeCharacter"; + ErrorCode2[ErrorCode2["InvalidCharacter"] = 262] = "InvalidCharacter"; + ErrorCode2[ErrorCode2["PropertyExpected"] = 513] = "PropertyExpected"; + ErrorCode2[ErrorCode2["CommaExpected"] = 514] = "CommaExpected"; + ErrorCode2[ErrorCode2["ColonExpected"] = 515] = "ColonExpected"; + ErrorCode2[ErrorCode2["ValueExpected"] = 516] = "ValueExpected"; + ErrorCode2[ErrorCode2["CommaOrCloseBacketExpected"] = 517] = "CommaOrCloseBacketExpected"; + ErrorCode2[ErrorCode2["CommaOrCloseBraceExpected"] = 518] = "CommaOrCloseBraceExpected"; + ErrorCode2[ErrorCode2["TrailingComma"] = 519] = "TrailingComma"; + ErrorCode2[ErrorCode2["DuplicateKey"] = 520] = "DuplicateKey"; + ErrorCode2[ErrorCode2["CommentNotPermitted"] = 521] = "CommentNotPermitted"; + ErrorCode2[ErrorCode2["PropertyKeysMustBeDoublequoted"] = 528] = "PropertyKeysMustBeDoublequoted"; + ErrorCode2[ErrorCode2["SchemaResolveError"] = 768] = "SchemaResolveError"; + ErrorCode2[ErrorCode2["SchemaUnsupportedFeature"] = 769] = "SchemaUnsupportedFeature"; + })(ErrorCode || (ErrorCode = {})); + var SchemaDraft; + (function(SchemaDraft2) { + SchemaDraft2[SchemaDraft2["v3"] = 3] = "v3"; + SchemaDraft2[SchemaDraft2["v4"] = 4] = "v4"; + SchemaDraft2[SchemaDraft2["v6"] = 6] = "v6"; + SchemaDraft2[SchemaDraft2["v7"] = 7] = "v7"; + SchemaDraft2[SchemaDraft2["v2019_09"] = 19] = "v2019_09"; + SchemaDraft2[SchemaDraft2["v2020_12"] = 20] = "v2020_12"; + })(SchemaDraft || (SchemaDraft = {})); + var ClientCapabilities; + (function(ClientCapabilities2) { + ClientCapabilities2.LATEST = { + textDocument: { + completion: { + completionItem: { + documentationFormat: [MarkupKind.Markdown, MarkupKind.PlainText], + commitCharactersSupport: true, + labelDetailsSupport: true + } + } + } + }; + })(ClientCapabilities || (ClientCapabilities = {})); + var bundle; + function t(...args) { + const firstArg = args[0]; + let key; + let message; + let formatArgs; + if (typeof firstArg === "string") { + key = firstArg; + message = firstArg; + args.splice(0, 1); + formatArgs = !args || typeof args[0] !== "object" ? args : args[0]; + } else if (firstArg instanceof Array) { + const replacements = args.slice(1); + if (firstArg.length !== replacements.length + 1) { + throw new Error("expected a string as the first argument to l10n.t"); + } + let str = firstArg[0]; + for (let i = 1; i < firstArg.length; i++) { + str += `{${i - 1}}` + firstArg[i]; + } + return t(str, ...replacements); + } else { + message = firstArg.message; + key = message; + if (firstArg.comment && firstArg.comment.length > 0) { + key += `/${Array.isArray(firstArg.comment) ? firstArg.comment.join("") : firstArg.comment}`; + } + formatArgs = firstArg.args ?? {}; + } + const messageFromBundle = bundle?.[key]; + if (!messageFromBundle) { + return format3(message, formatArgs); + } + if (typeof messageFromBundle === "string") { + return format3(messageFromBundle, formatArgs); + } + if (messageFromBundle.comment) { + return format3(messageFromBundle.message, formatArgs); + } + return format3(message, formatArgs); + } + var _format2Regexp = /{([^}]+)}/g; + function format3(template, values) { + if (Object.keys(values).length === 0) { + return template; + } + return template.replace(_format2Regexp, (match, group) => values[group] ?? match); + } + var formats = { + "color-hex": { errorMessage: t("Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."), pattern: /^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$/ }, + "date-time": { errorMessage: t("String is not a RFC3339 date-time."), pattern: /^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i }, + "date": { errorMessage: t("String is not a RFC3339 date."), pattern: /^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/i }, + "time": { errorMessage: t("String is not a RFC3339 time."), pattern: /^([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i }, + "email": { errorMessage: t("String is not an e-mail address."), pattern: /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}))$/ }, + "hostname": { errorMessage: t("String is not a hostname."), pattern: /^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i }, + "ipv4": { errorMessage: t("String is not an IPv4 address."), pattern: /^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/ }, + "ipv6": { errorMessage: t("String is not an IPv6 address."), pattern: /^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i } + }; + var ASTNodeImpl = class { + constructor(parent, offset, length = 0) { + this.offset = offset; + this.length = length; + this.parent = parent; + } + get children() { + return []; + } + toString() { + return "type: " + this.type + " (" + this.offset + "/" + this.length + ")" + (this.parent ? " parent: {" + this.parent.toString() + "}" : ""); + } + }; + var NullASTNodeImpl = class extends ASTNodeImpl { + constructor(parent, offset) { + super(parent, offset); + this.type = "null"; + this.value = null; + } + }; + var BooleanASTNodeImpl = class extends ASTNodeImpl { + constructor(parent, boolValue, offset) { + super(parent, offset); + this.type = "boolean"; + this.value = boolValue; + } + }; + var ArrayASTNodeImpl = class extends ASTNodeImpl { + constructor(parent, offset) { + super(parent, offset); + this.type = "array"; + this.items = []; + } + get children() { + return this.items; + } + }; + var NumberASTNodeImpl = class extends ASTNodeImpl { + constructor(parent, offset) { + super(parent, offset); + this.type = "number"; + this.isInteger = true; + this.value = Number.NaN; + } + }; + var StringASTNodeImpl = class extends ASTNodeImpl { + constructor(parent, offset, length) { + super(parent, offset, length); + this.type = "string"; + this.value = ""; + } + }; + var PropertyASTNodeImpl = class extends ASTNodeImpl { + constructor(parent, offset, keyNode) { + super(parent, offset); + this.type = "property"; + this.colonOffset = -1; + this.keyNode = keyNode; + } + get children() { + return this.valueNode ? [this.keyNode, this.valueNode] : [this.keyNode]; + } + }; + var ObjectASTNodeImpl = class extends ASTNodeImpl { + constructor(parent, offset) { + super(parent, offset); + this.type = "object"; + this.properties = []; + } + get children() { + return this.properties; + } + }; + function asSchema(schema) { + if (isBoolean(schema)) { + return schema ? {} : { "not": {} }; + } + return schema; + } + var EnumMatch; + (function(EnumMatch2) { + EnumMatch2[EnumMatch2["Key"] = 0] = "Key"; + EnumMatch2[EnumMatch2["Enum"] = 1] = "Enum"; + })(EnumMatch || (EnumMatch = {})); + var schemaDraftFromId = { + "http://json-schema.org/draft-03/schema#": SchemaDraft.v3, + "http://json-schema.org/draft-04/schema#": SchemaDraft.v4, + "http://json-schema.org/draft-06/schema#": SchemaDraft.v6, + "http://json-schema.org/draft-07/schema#": SchemaDraft.v7, + "https://json-schema.org/draft/2019-09/schema": SchemaDraft.v2019_09, + "https://json-schema.org/draft/2020-12/schema": SchemaDraft.v2020_12 + }; + var EvaluationContext = class { + constructor(schemaDraft) { + this.schemaDraft = schemaDraft; + } + }; + var SchemaCollector = class _SchemaCollector { + constructor(focusOffset = -1, exclude) { + this.focusOffset = focusOffset; + this.exclude = exclude; + this.schemas = []; + } + add(schema) { + this.schemas.push(schema); + } + merge(other) { + Array.prototype.push.apply(this.schemas, other.schemas); + } + include(node) { + return (this.focusOffset === -1 || contains2(node, this.focusOffset)) && node !== this.exclude; + } + newSub() { + return new _SchemaCollector(-1, this.exclude); + } + }; + var NoOpSchemaCollector = class { + constructor() { + } + get schemas() { + return []; + } + add(_schema) { + } + merge(_other) { + } + include(_node) { + return true; + } + newSub() { + return this; + } + }; + NoOpSchemaCollector.instance = new NoOpSchemaCollector(); + var ValidationResult = class { + constructor() { + this.problems = []; + this.propertiesMatches = 0; + this.processedProperties = /* @__PURE__ */ new Set(); + this.propertiesValueMatches = 0; + this.primaryValueMatches = 0; + this.enumValueMatch = false; + this.enumValues = void 0; + } + hasProblems() { + return !!this.problems.length; + } + merge(validationResult) { + this.problems = this.problems.concat(validationResult.problems); + this.propertiesMatches += validationResult.propertiesMatches; + this.propertiesValueMatches += validationResult.propertiesValueMatches; + this.mergeProcessedProperties(validationResult); + } + mergeEnumValues(validationResult) { + if (!this.enumValueMatch && !validationResult.enumValueMatch && this.enumValues && validationResult.enumValues) { + this.enumValues = this.enumValues.concat(validationResult.enumValues); + for (const error of this.problems) { + if (error.code === ErrorCode.EnumValueMismatch) { + error.message = t("Value is not accepted. Valid values: {0}.", this.enumValues.map((v) => JSON.stringify(v)).join(", ")); + } + } + } + } + mergePropertyMatch(propertyValidationResult) { + this.problems = this.problems.concat(propertyValidationResult.problems); + this.propertiesMatches++; + if (propertyValidationResult.enumValueMatch || !propertyValidationResult.hasProblems() && propertyValidationResult.propertiesMatches) { + this.propertiesValueMatches++; + } + if (propertyValidationResult.enumValueMatch && propertyValidationResult.enumValues && propertyValidationResult.enumValues.length === 1) { + this.primaryValueMatches++; + } + } + mergeProcessedProperties(validationResult) { + validationResult.processedProperties.forEach((p) => this.processedProperties.add(p)); + } + compare(other) { + const hasProblems = this.hasProblems(); + if (hasProblems !== other.hasProblems()) { + return hasProblems ? -1 : 1; + } + if (this.enumValueMatch !== other.enumValueMatch) { + return other.enumValueMatch ? -1 : 1; + } + if (this.primaryValueMatches !== other.primaryValueMatches) { + return this.primaryValueMatches - other.primaryValueMatches; + } + if (this.propertiesValueMatches !== other.propertiesValueMatches) { + return this.propertiesValueMatches - other.propertiesValueMatches; + } + return this.propertiesMatches - other.propertiesMatches; + } + }; + function newJSONDocument(root, diagnostics = []) { + return new JSONDocument(root, diagnostics, []); + } + function getNodeValue3(node) { + return getNodeValue2(node); + } + function getNodePath3(node) { + return getNodePath2(node); + } + function contains2(node, offset, includeRightBound = false) { + return offset >= node.offset && offset < node.offset + node.length || includeRightBound && offset === node.offset + node.length; + } + var JSONDocument = class { + constructor(root, syntaxErrors = [], comments = []) { + this.root = root; + this.syntaxErrors = syntaxErrors; + this.comments = comments; + } + getNodeFromOffset(offset, includeRightBound = false) { + if (this.root) { + return findNodeAtOffset2(this.root, offset, includeRightBound); + } + return void 0; + } + visit(visitor) { + if (this.root) { + const doVisit = (node) => { + let ctn = visitor(node); + const children = node.children; + if (Array.isArray(children)) { + for (let i = 0; i < children.length && ctn; i++) { + ctn = doVisit(children[i]); + } + } + return ctn; + }; + doVisit(this.root); + } + } + validate(textDocument, schema, severity = DiagnosticSeverity.Warning, schemaDraft) { + if (this.root && schema) { + const validationResult = new ValidationResult(); + validate(this.root, schema, validationResult, NoOpSchemaCollector.instance, new EvaluationContext(schemaDraft ?? getSchemaDraft(schema))); + return validationResult.problems.map((p) => { + const range = Range2.create(textDocument.positionAt(p.location.offset), textDocument.positionAt(p.location.offset + p.location.length)); + return Diagnostic.create(range, p.message, p.severity ?? severity, p.code); + }); + } + return void 0; + } + getMatchingSchemas(schema, focusOffset = -1, exclude) { + if (this.root && schema) { + const matchingSchemas = new SchemaCollector(focusOffset, exclude); + const schemaDraft = getSchemaDraft(schema); + const context = new EvaluationContext(schemaDraft); + validate(this.root, schema, new ValidationResult(), matchingSchemas, context); + return matchingSchemas.schemas; + } + return []; + } + }; + function getSchemaDraft(schema, fallBack = SchemaDraft.v2020_12) { + let schemaId = schema.$schema; + if (schemaId) { + return schemaDraftFromId[schemaId] ?? fallBack; + } + return fallBack; + } + function validate(n, schema, validationResult, matchingSchemas, context) { + if (!n || !matchingSchemas.include(n)) { + return; + } + if (n.type === "property") { + return validate(n.valueNode, schema, validationResult, matchingSchemas, context); + } + const node = n; + _validateNode(); + switch (node.type) { + case "object": + _validateObjectNode(node); + break; + case "array": + _validateArrayNode(node); + break; + case "string": + _validateStringNode(node); + break; + case "number": + _validateNumberNode(node); + break; + } + matchingSchemas.add({ node, schema }); + function _validateNode() { + function matchesType(type) { + return node.type === type || type === "integer" && node.type === "number" && node.isInteger; + } + if (Array.isArray(schema.type)) { + if (!schema.type.some(matchesType)) { + validationResult.problems.push({ + location: { offset: node.offset, length: node.length }, + message: schema.errorMessage || t("Incorrect type. Expected one of {0}.", schema.type.join(", ")) + }); + } + } else if (schema.type) { + if (!matchesType(schema.type)) { + validationResult.problems.push({ + location: { offset: node.offset, length: node.length }, + message: schema.errorMessage || t('Incorrect type. Expected "{0}".', schema.type) + }); + } + } + if (Array.isArray(schema.allOf)) { + for (const subSchemaRef of schema.allOf) { + const subValidationResult = new ValidationResult(); + const subMatchingSchemas = matchingSchemas.newSub(); + validate(node, asSchema(subSchemaRef), subValidationResult, subMatchingSchemas, context); + validationResult.merge(subValidationResult); + matchingSchemas.merge(subMatchingSchemas); + } + } + const notSchema = asSchema(schema.not); + if (notSchema) { + const subValidationResult = new ValidationResult(); + const subMatchingSchemas = matchingSchemas.newSub(); + validate(node, notSchema, subValidationResult, subMatchingSchemas, context); + if (!subValidationResult.hasProblems()) { + validationResult.problems.push({ + location: { offset: node.offset, length: node.length }, + message: schema.errorMessage || t("Matches a schema that is not allowed.") + }); + } + for (const ms of subMatchingSchemas.schemas) { + ms.inverted = !ms.inverted; + matchingSchemas.add(ms); + } + } + const testAlternatives = (alternatives, maxOneMatch) => { + const matches = []; + let bestMatch = void 0; + for (const subSchemaRef of alternatives) { + const subSchema = asSchema(subSchemaRef); + const subValidationResult = new ValidationResult(); + const subMatchingSchemas = matchingSchemas.newSub(); + validate(node, subSchema, subValidationResult, subMatchingSchemas, context); + if (!subValidationResult.hasProblems()) { + matches.push(subSchema); + } + if (!bestMatch) { + bestMatch = { schema: subSchema, validationResult: subValidationResult, matchingSchemas: subMatchingSchemas }; + } else { + if (!maxOneMatch && !subValidationResult.hasProblems() && !bestMatch.validationResult.hasProblems()) { + bestMatch.matchingSchemas.merge(subMatchingSchemas); + bestMatch.validationResult.propertiesMatches += subValidationResult.propertiesMatches; + bestMatch.validationResult.propertiesValueMatches += subValidationResult.propertiesValueMatches; + bestMatch.validationResult.mergeProcessedProperties(subValidationResult); + } else { + const compareResult = subValidationResult.compare(bestMatch.validationResult); + if (compareResult > 0) { + bestMatch = { schema: subSchema, validationResult: subValidationResult, matchingSchemas: subMatchingSchemas }; + } else if (compareResult === 0) { + bestMatch.matchingSchemas.merge(subMatchingSchemas); + bestMatch.validationResult.mergeEnumValues(subValidationResult); + } + } + } + } + if (matches.length > 1 && maxOneMatch) { + validationResult.problems.push({ + location: { offset: node.offset, length: 1 }, + message: t("Matches multiple schemas when only one must validate.") + }); + } + if (bestMatch) { + validationResult.merge(bestMatch.validationResult); + matchingSchemas.merge(bestMatch.matchingSchemas); + } + return matches.length; + }; + if (Array.isArray(schema.anyOf)) { + testAlternatives(schema.anyOf, false); + } + if (Array.isArray(schema.oneOf)) { + testAlternatives(schema.oneOf, true); + } + const testBranch = (schema2) => { + const subValidationResult = new ValidationResult(); + const subMatchingSchemas = matchingSchemas.newSub(); + validate(node, asSchema(schema2), subValidationResult, subMatchingSchemas, context); + validationResult.merge(subValidationResult); + matchingSchemas.merge(subMatchingSchemas); + }; + const testCondition = (ifSchema2, thenSchema, elseSchema) => { + const subSchema = asSchema(ifSchema2); + const subValidationResult = new ValidationResult(); + const subMatchingSchemas = matchingSchemas.newSub(); + validate(node, subSchema, subValidationResult, subMatchingSchemas, context); + matchingSchemas.merge(subMatchingSchemas); + validationResult.mergeProcessedProperties(subValidationResult); + if (!subValidationResult.hasProblems()) { + if (thenSchema) { + testBranch(thenSchema); + } + } else if (elseSchema) { + testBranch(elseSchema); + } + }; + const ifSchema = asSchema(schema.if); + if (ifSchema) { + testCondition(ifSchema, asSchema(schema.then), asSchema(schema.else)); + } + if (Array.isArray(schema.enum)) { + const val = getNodeValue3(node); + let enumValueMatch = false; + for (const e of schema.enum) { + if (equals3(val, e)) { + enumValueMatch = true; + break; + } + } + validationResult.enumValues = schema.enum; + validationResult.enumValueMatch = enumValueMatch; + if (!enumValueMatch) { + validationResult.problems.push({ + location: { offset: node.offset, length: node.length }, + code: ErrorCode.EnumValueMismatch, + message: schema.errorMessage || t("Value is not accepted. Valid values: {0}.", schema.enum.map((v) => JSON.stringify(v)).join(", ")) + }); + } + } + if (isDefined(schema.const)) { + const val = getNodeValue3(node); + if (!equals3(val, schema.const)) { + validationResult.problems.push({ + location: { offset: node.offset, length: node.length }, + code: ErrorCode.EnumValueMismatch, + message: schema.errorMessage || t("Value must be {0}.", JSON.stringify(schema.const)) + }); + validationResult.enumValueMatch = false; + } else { + validationResult.enumValueMatch = true; + } + validationResult.enumValues = [schema.const]; + } + let deprecationMessage = schema.deprecationMessage; + if (deprecationMessage || schema.deprecated) { + deprecationMessage = deprecationMessage || t("Value is deprecated"); + let targetNode = node.parent?.type === "property" ? node.parent : node; + validationResult.problems.push({ + location: { offset: targetNode.offset, length: targetNode.length }, + severity: DiagnosticSeverity.Warning, + message: deprecationMessage, + code: ErrorCode.Deprecated + }); + } + } + function _validateNumberNode(node2) { + const val = node2.value; + function normalizeFloats(float) { + const parts = /^(-?\d+)(?:\.(\d+))?(?:e([-+]\d+))?$/.exec(float.toString()); + return parts && { + value: Number(parts[1] + (parts[2] || "")), + multiplier: (parts[2]?.length || 0) - (parseInt(parts[3]) || 0) + }; + } + ; + if (isNumber(schema.multipleOf)) { + let remainder = -1; + if (Number.isInteger(schema.multipleOf)) { + remainder = val % schema.multipleOf; + } else { + let normMultipleOf = normalizeFloats(schema.multipleOf); + let normValue = normalizeFloats(val); + if (normMultipleOf && normValue) { + const multiplier = 10 ** Math.abs(normValue.multiplier - normMultipleOf.multiplier); + if (normValue.multiplier < normMultipleOf.multiplier) { + normValue.value *= multiplier; + } else { + normMultipleOf.value *= multiplier; + } + remainder = normValue.value % normMultipleOf.value; + } + } + if (remainder !== 0) { + validationResult.problems.push({ + location: { offset: node2.offset, length: node2.length }, + message: t("Value is not divisible by {0}.", schema.multipleOf) + }); + } + } + function getExclusiveLimit(limit, exclusive) { + if (isNumber(exclusive)) { + return exclusive; + } + if (isBoolean(exclusive) && exclusive) { + return limit; + } + return void 0; + } + function getLimit(limit, exclusive) { + if (!isBoolean(exclusive) || !exclusive) { + return limit; + } + return void 0; + } + const exclusiveMinimum = getExclusiveLimit(schema.minimum, schema.exclusiveMinimum); + if (isNumber(exclusiveMinimum) && val <= exclusiveMinimum) { + validationResult.problems.push({ + location: { offset: node2.offset, length: node2.length }, + message: t("Value is below the exclusive minimum of {0}.", exclusiveMinimum) + }); + } + const exclusiveMaximum = getExclusiveLimit(schema.maximum, schema.exclusiveMaximum); + if (isNumber(exclusiveMaximum) && val >= exclusiveMaximum) { + validationResult.problems.push({ + location: { offset: node2.offset, length: node2.length }, + message: t("Value is above the exclusive maximum of {0}.", exclusiveMaximum) + }); + } + const minimum = getLimit(schema.minimum, schema.exclusiveMinimum); + if (isNumber(minimum) && val < minimum) { + validationResult.problems.push({ + location: { offset: node2.offset, length: node2.length }, + message: t("Value is below the minimum of {0}.", minimum) + }); + } + const maximum = getLimit(schema.maximum, schema.exclusiveMaximum); + if (isNumber(maximum) && val > maximum) { + validationResult.problems.push({ + location: { offset: node2.offset, length: node2.length }, + message: t("Value is above the maximum of {0}.", maximum) + }); + } + } + function _validateStringNode(node2) { + if (isNumber(schema.minLength) && stringLength(node2.value) < schema.minLength) { + validationResult.problems.push({ + location: { offset: node2.offset, length: node2.length }, + message: t("String is shorter than the minimum length of {0}.", schema.minLength) + }); + } + if (isNumber(schema.maxLength) && stringLength(node2.value) > schema.maxLength) { + validationResult.problems.push({ + location: { offset: node2.offset, length: node2.length }, + message: t("String is longer than the maximum length of {0}.", schema.maxLength) + }); + } + if (isString2(schema.pattern)) { + const regex = extendedRegExp(schema.pattern); + if (!regex?.test(node2.value)) { + validationResult.problems.push({ + location: { offset: node2.offset, length: node2.length }, + message: schema.patternErrorMessage || schema.errorMessage || t('String does not match the pattern of "{0}".', schema.pattern) + }); + } + } + if (schema.format) { + switch (schema.format) { + case "uri": + case "uri-reference": + { + let errorMessage; + if (!node2.value) { + errorMessage = t("URI expected."); + } else { + const match = /^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/.exec(node2.value); + if (!match) { + errorMessage = t("URI is expected."); + } else if (!match[2] && schema.format === "uri") { + errorMessage = t("URI with a scheme is expected."); + } + } + if (errorMessage) { + validationResult.problems.push({ + location: { offset: node2.offset, length: node2.length }, + message: schema.patternErrorMessage || schema.errorMessage || t("String is not a URI: {0}", errorMessage) + }); + } + } + break; + case "color-hex": + case "date-time": + case "date": + case "time": + case "email": + case "hostname": + case "ipv4": + case "ipv6": + const format5 = formats[schema.format]; + if (!node2.value || !format5.pattern.exec(node2.value)) { + validationResult.problems.push({ + location: { offset: node2.offset, length: node2.length }, + message: schema.patternErrorMessage || schema.errorMessage || format5.errorMessage + }); + } + default: + } + } + } + function _validateArrayNode(node2) { + let prefixItemsSchemas; + let additionalItemSchema; + if (context.schemaDraft >= SchemaDraft.v2020_12) { + prefixItemsSchemas = schema.prefixItems; + additionalItemSchema = !Array.isArray(schema.items) ? schema.items : void 0; + } else { + prefixItemsSchemas = Array.isArray(schema.items) ? schema.items : void 0; + additionalItemSchema = !Array.isArray(schema.items) ? schema.items : schema.additionalItems; + } + let index = 0; + if (prefixItemsSchemas !== void 0) { + const max = Math.min(prefixItemsSchemas.length, node2.items.length); + for (; index < max; index++) { + const subSchemaRef = prefixItemsSchemas[index]; + const subSchema = asSchema(subSchemaRef); + const itemValidationResult = new ValidationResult(); + const item = node2.items[index]; + if (item) { + validate(item, subSchema, itemValidationResult, matchingSchemas, context); + validationResult.mergePropertyMatch(itemValidationResult); + } + validationResult.processedProperties.add(String(index)); + } + } + if (additionalItemSchema !== void 0 && index < node2.items.length) { + if (typeof additionalItemSchema === "boolean") { + if (additionalItemSchema === false) { + validationResult.problems.push({ + location: { offset: node2.offset, length: node2.length }, + message: t("Array has too many items according to schema. Expected {0} or fewer.", index) + }); + } + for (; index < node2.items.length; index++) { + validationResult.processedProperties.add(String(index)); + validationResult.propertiesValueMatches++; + } + } else { + for (; index < node2.items.length; index++) { + const itemValidationResult = new ValidationResult(); + validate(node2.items[index], additionalItemSchema, itemValidationResult, matchingSchemas, context); + validationResult.mergePropertyMatch(itemValidationResult); + validationResult.processedProperties.add(String(index)); + } + } + } + const containsSchema = asSchema(schema.contains); + if (containsSchema) { + let containsCount = 0; + for (let index2 = 0; index2 < node2.items.length; index2++) { + const item = node2.items[index2]; + const itemValidationResult = new ValidationResult(); + validate(item, containsSchema, itemValidationResult, NoOpSchemaCollector.instance, context); + if (!itemValidationResult.hasProblems()) { + containsCount++; + if (context.schemaDraft >= SchemaDraft.v2020_12) { + validationResult.processedProperties.add(String(index2)); + } + } + } + if (containsCount === 0 && !isNumber(schema.minContains)) { + validationResult.problems.push({ + location: { offset: node2.offset, length: node2.length }, + message: schema.errorMessage || t("Array does not contain required item.") + }); + } + if (isNumber(schema.minContains) && containsCount < schema.minContains) { + validationResult.problems.push({ + location: { offset: node2.offset, length: node2.length }, + message: schema.errorMessage || t("Array has too few items that match the contains contraint. Expected {0} or more.", schema.minContains) + }); + } + if (isNumber(schema.maxContains) && containsCount > schema.maxContains) { + validationResult.problems.push({ + location: { offset: node2.offset, length: node2.length }, + message: schema.errorMessage || t("Array has too many items that match the contains contraint. Expected {0} or less.", schema.maxContains) + }); + } + } + const unevaluatedItems = schema.unevaluatedItems; + if (unevaluatedItems !== void 0) { + for (let i = 0; i < node2.items.length; i++) { + if (!validationResult.processedProperties.has(String(i))) { + if (unevaluatedItems === false) { + validationResult.problems.push({ + location: { offset: node2.offset, length: node2.length }, + message: t("Item does not match any validation rule from the array.") + }); + } else { + const itemValidationResult = new ValidationResult(); + validate(node2.items[i], schema.unevaluatedItems, itemValidationResult, matchingSchemas, context); + validationResult.mergePropertyMatch(itemValidationResult); + } + } + validationResult.processedProperties.add(String(i)); + validationResult.propertiesValueMatches++; + } + } + if (isNumber(schema.minItems) && node2.items.length < schema.minItems) { + validationResult.problems.push({ + location: { offset: node2.offset, length: node2.length }, + message: t("Array has too few items. Expected {0} or more.", schema.minItems) + }); + } + if (isNumber(schema.maxItems) && node2.items.length > schema.maxItems) { + validationResult.problems.push({ + location: { offset: node2.offset, length: node2.length }, + message: t("Array has too many items. Expected {0} or fewer.", schema.maxItems) + }); + } + if (schema.uniqueItems === true) { + let hasDuplicates = function() { + for (let i = 0; i < values.length - 1; i++) { + const value = values[i]; + for (let j = i + 1; j < values.length; j++) { + if (equals3(value, values[j])) { + return true; + } + } + } + return false; + }; + const values = getNodeValue3(node2); + if (hasDuplicates()) { + validationResult.problems.push({ + location: { offset: node2.offset, length: node2.length }, + message: t("Array has duplicate items.") + }); + } + } + } + function _validateObjectNode(node2) { + const seenKeys = /* @__PURE__ */ Object.create(null); + const unprocessedProperties = /* @__PURE__ */ new Set(); + for (const propertyNode of node2.properties) { + const key = propertyNode.keyNode.value; + seenKeys[key] = propertyNode.valueNode; + unprocessedProperties.add(key); + } + if (Array.isArray(schema.required)) { + for (const propertyName of schema.required) { + if (!seenKeys[propertyName]) { + const keyNode = node2.parent && node2.parent.type === "property" && node2.parent.keyNode; + const location = keyNode ? { offset: keyNode.offset, length: keyNode.length } : { offset: node2.offset, length: 1 }; + validationResult.problems.push({ + location, + message: t('Missing property "{0}".', propertyName) + }); + } + } + } + const propertyProcessed = (prop) => { + unprocessedProperties.delete(prop); + validationResult.processedProperties.add(prop); + }; + if (schema.properties) { + for (const propertyName of Object.keys(schema.properties)) { + propertyProcessed(propertyName); + const propertySchema = schema.properties[propertyName]; + const child = seenKeys[propertyName]; + if (child) { + if (isBoolean(propertySchema)) { + if (!propertySchema) { + const propertyNode = child.parent; + validationResult.problems.push({ + location: { offset: propertyNode.keyNode.offset, length: propertyNode.keyNode.length }, + message: schema.errorMessage || t("Property {0} is not allowed.", propertyName) + }); + } else { + validationResult.propertiesMatches++; + validationResult.propertiesValueMatches++; + } + } else { + const propertyValidationResult = new ValidationResult(); + validate(child, propertySchema, propertyValidationResult, matchingSchemas, context); + validationResult.mergePropertyMatch(propertyValidationResult); + } + } + } + } + if (schema.patternProperties) { + for (const propertyPattern of Object.keys(schema.patternProperties)) { + const regex = extendedRegExp(propertyPattern); + if (regex) { + const processed = []; + for (const propertyName of unprocessedProperties) { + if (regex.test(propertyName)) { + processed.push(propertyName); + const child = seenKeys[propertyName]; + if (child) { + const propertySchema = schema.patternProperties[propertyPattern]; + if (isBoolean(propertySchema)) { + if (!propertySchema) { + const propertyNode = child.parent; + validationResult.problems.push({ + location: { offset: propertyNode.keyNode.offset, length: propertyNode.keyNode.length }, + message: schema.errorMessage || t("Property {0} is not allowed.", propertyName) + }); + } else { + validationResult.propertiesMatches++; + validationResult.propertiesValueMatches++; + } + } else { + const propertyValidationResult = new ValidationResult(); + validate(child, propertySchema, propertyValidationResult, matchingSchemas, context); + validationResult.mergePropertyMatch(propertyValidationResult); + } + } + } + } + processed.forEach(propertyProcessed); + } + } + } + const additionalProperties = schema.additionalProperties; + if (additionalProperties !== void 0) { + for (const propertyName of unprocessedProperties) { + propertyProcessed(propertyName); + const child = seenKeys[propertyName]; + if (child) { + if (additionalProperties === false) { + const propertyNode = child.parent; + validationResult.problems.push({ + location: { offset: propertyNode.keyNode.offset, length: propertyNode.keyNode.length }, + message: schema.errorMessage || t("Property {0} is not allowed.", propertyName) + }); + } else if (additionalProperties !== true) { + const propertyValidationResult = new ValidationResult(); + validate(child, additionalProperties, propertyValidationResult, matchingSchemas, context); + validationResult.mergePropertyMatch(propertyValidationResult); + } + } + } + } + const unevaluatedProperties = schema.unevaluatedProperties; + if (unevaluatedProperties !== void 0) { + const processed = []; + for (const propertyName of unprocessedProperties) { + if (!validationResult.processedProperties.has(propertyName)) { + processed.push(propertyName); + const child = seenKeys[propertyName]; + if (child) { + if (unevaluatedProperties === false) { + const propertyNode = child.parent; + validationResult.problems.push({ + location: { offset: propertyNode.keyNode.offset, length: propertyNode.keyNode.length }, + message: schema.errorMessage || t("Property {0} is not allowed.", propertyName) + }); + } else if (unevaluatedProperties !== true) { + const propertyValidationResult = new ValidationResult(); + validate(child, unevaluatedProperties, propertyValidationResult, matchingSchemas, context); + validationResult.mergePropertyMatch(propertyValidationResult); + } + } + } + } + processed.forEach(propertyProcessed); + } + if (isNumber(schema.maxProperties)) { + if (node2.properties.length > schema.maxProperties) { + validationResult.problems.push({ + location: { offset: node2.offset, length: node2.length }, + message: t("Object has more properties than limit of {0}.", schema.maxProperties) + }); + } + } + if (isNumber(schema.minProperties)) { + if (node2.properties.length < schema.minProperties) { + validationResult.problems.push({ + location: { offset: node2.offset, length: node2.length }, + message: t("Object has fewer properties than the required number of {0}", schema.minProperties) + }); + } + } + if (schema.dependentRequired) { + for (const key in schema.dependentRequired) { + const prop = seenKeys[key]; + const propertyDeps = schema.dependentRequired[key]; + if (prop && Array.isArray(propertyDeps)) { + _validatePropertyDependencies(key, propertyDeps); + } + } + } + if (schema.dependentSchemas) { + for (const key in schema.dependentSchemas) { + const prop = seenKeys[key]; + const propertyDeps = schema.dependentSchemas[key]; + if (prop && isObject2(propertyDeps)) { + _validatePropertyDependencies(key, propertyDeps); + } + } + } + if (schema.dependencies) { + for (const key in schema.dependencies) { + const prop = seenKeys[key]; + if (prop) { + _validatePropertyDependencies(key, schema.dependencies[key]); + } + } + } + const propertyNames = asSchema(schema.propertyNames); + if (propertyNames) { + for (const f2 of node2.properties) { + const key = f2.keyNode; + if (key) { + validate(key, propertyNames, validationResult, NoOpSchemaCollector.instance, context); + } + } + } + function _validatePropertyDependencies(key, propertyDep) { + if (Array.isArray(propertyDep)) { + for (const requiredProp of propertyDep) { + if (!seenKeys[requiredProp]) { + validationResult.problems.push({ + location: { offset: node2.offset, length: node2.length }, + message: t("Object is missing property {0} required by property {1}.", requiredProp, key) + }); + } else { + validationResult.propertiesValueMatches++; + } + } + } else { + const propertySchema = asSchema(propertyDep); + if (propertySchema) { + const propertyValidationResult = new ValidationResult(); + validate(node2, propertySchema, propertyValidationResult, matchingSchemas, context); + validationResult.mergePropertyMatch(propertyValidationResult); + } + } + } + } + } + function parse3(textDocument, config) { + const problems = []; + let lastProblemOffset = -1; + const text = textDocument.getText(); + const scanner = createScanner2(text, false); + const commentRanges = config && config.collectComments ? [] : void 0; + function _scanNext() { + while (true) { + const token2 = scanner.scan(); + _checkScanError(); + switch (token2) { + case 12: + case 13: + if (Array.isArray(commentRanges)) { + commentRanges.push(Range2.create(textDocument.positionAt(scanner.getTokenOffset()), textDocument.positionAt(scanner.getTokenOffset() + scanner.getTokenLength()))); + } + break; + case 15: + case 14: + break; + default: + return token2; + } + } + } + function _accept(token2) { + if (scanner.getToken() === token2) { + _scanNext(); + return true; + } + return false; + } + function _errorAtRange(message, code, startOffset, endOffset, severity = DiagnosticSeverity.Error) { + if (problems.length === 0 || startOffset !== lastProblemOffset) { + const range = Range2.create(textDocument.positionAt(startOffset), textDocument.positionAt(endOffset)); + problems.push(Diagnostic.create(range, message, severity, code, textDocument.languageId)); + lastProblemOffset = startOffset; + } + } + function _error(message, code, node = void 0, skipUntilAfter = [], skipUntil = []) { + let start = scanner.getTokenOffset(); + let end = scanner.getTokenOffset() + scanner.getTokenLength(); + if (start === end && start > 0) { + start--; + while (start > 0 && /\s/.test(text.charAt(start))) { + start--; + } + end = start + 1; + } + _errorAtRange(message, code, start, end); + if (node) { + _finalize(node, false); + } + if (skipUntilAfter.length + skipUntil.length > 0) { + let token2 = scanner.getToken(); + while (token2 !== 17) { + if (skipUntilAfter.indexOf(token2) !== -1) { + _scanNext(); + break; + } else if (skipUntil.indexOf(token2) !== -1) { + break; + } + token2 = _scanNext(); + } + } + return node; + } + function _checkScanError() { + switch (scanner.getTokenError()) { + case 4: + _error(t("Invalid unicode sequence in string."), ErrorCode.InvalidUnicode); + return true; + case 5: + _error(t("Invalid escape character in string."), ErrorCode.InvalidEscapeCharacter); + return true; + case 3: + _error(t("Unexpected end of number."), ErrorCode.UnexpectedEndOfNumber); + return true; + case 1: + _error(t("Unexpected end of comment."), ErrorCode.UnexpectedEndOfComment); + return true; + case 2: + _error(t("Unexpected end of string."), ErrorCode.UnexpectedEndOfString); + return true; + case 6: + _error(t("Invalid characters in string. Control characters must be escaped."), ErrorCode.InvalidCharacter); + return true; + } + return false; + } + function _finalize(node, scanNext) { + node.length = scanner.getTokenOffset() + scanner.getTokenLength() - node.offset; + if (scanNext) { + _scanNext(); + } + return node; + } + function _parseArray(parent) { + if (scanner.getToken() !== 3) { + return void 0; + } + const node = new ArrayASTNodeImpl(parent, scanner.getTokenOffset()); + _scanNext(); + const count = 0; + let needsComma = false; + while (scanner.getToken() !== 4 && scanner.getToken() !== 17) { + if (scanner.getToken() === 5) { + if (!needsComma) { + _error(t("Value expected"), ErrorCode.ValueExpected); + } + const commaOffset = scanner.getTokenOffset(); + _scanNext(); + if (scanner.getToken() === 4) { + if (needsComma) { + _errorAtRange(t("Trailing comma"), ErrorCode.TrailingComma, commaOffset, commaOffset + 1); + } + continue; + } + } else if (needsComma) { + _error(t("Expected comma"), ErrorCode.CommaExpected); + } + const item = _parseValue(node); + if (!item) { + _error(t("Value expected"), ErrorCode.ValueExpected, void 0, [], [ + 4, + 5 + /* Json.SyntaxKind.CommaToken */ + ]); + } else { + node.items.push(item); + } + needsComma = true; + } + if (scanner.getToken() !== 4) { + return _error(t("Expected comma or closing bracket"), ErrorCode.CommaOrCloseBacketExpected, node); + } + return _finalize(node, true); + } + const keyPlaceholder = new StringASTNodeImpl(void 0, 0, 0); + function _parseProperty(parent, keysSeen) { + const node = new PropertyASTNodeImpl(parent, scanner.getTokenOffset(), keyPlaceholder); + let key = _parseString(node); + if (!key) { + if (scanner.getToken() === 16) { + _error(t("Property keys must be doublequoted"), ErrorCode.PropertyKeysMustBeDoublequoted); + const keyNode = new StringASTNodeImpl(node, scanner.getTokenOffset(), scanner.getTokenLength()); + keyNode.value = scanner.getTokenValue(); + key = keyNode; + _scanNext(); + } else { + return void 0; + } + } + node.keyNode = key; + if (key.value !== "//") { + const seen = keysSeen[key.value]; + if (seen) { + _errorAtRange(t("Duplicate object key"), ErrorCode.DuplicateKey, node.keyNode.offset, node.keyNode.offset + node.keyNode.length, DiagnosticSeverity.Warning); + if (isObject2(seen)) { + _errorAtRange(t("Duplicate object key"), ErrorCode.DuplicateKey, seen.keyNode.offset, seen.keyNode.offset + seen.keyNode.length, DiagnosticSeverity.Warning); + } + keysSeen[key.value] = true; + } else { + keysSeen[key.value] = node; + } + } + if (scanner.getToken() === 6) { + node.colonOffset = scanner.getTokenOffset(); + _scanNext(); + } else { + _error(t("Colon expected"), ErrorCode.ColonExpected); + if (scanner.getToken() === 10 && textDocument.positionAt(key.offset + key.length).line < textDocument.positionAt(scanner.getTokenOffset()).line) { + node.length = key.length; + return node; + } + } + const value = _parseValue(node); + if (!value) { + return _error(t("Value expected"), ErrorCode.ValueExpected, node, [], [ + 2, + 5 + /* Json.SyntaxKind.CommaToken */ + ]); + } + node.valueNode = value; + node.length = value.offset + value.length - node.offset; + return node; + } + function _parseObject(parent) { + if (scanner.getToken() !== 1) { + return void 0; + } + const node = new ObjectASTNodeImpl(parent, scanner.getTokenOffset()); + const keysSeen = /* @__PURE__ */ Object.create(null); + _scanNext(); + let needsComma = false; + while (scanner.getToken() !== 2 && scanner.getToken() !== 17) { + if (scanner.getToken() === 5) { + if (!needsComma) { + _error(t("Property expected"), ErrorCode.PropertyExpected); + } + const commaOffset = scanner.getTokenOffset(); + _scanNext(); + if (scanner.getToken() === 2) { + if (needsComma) { + _errorAtRange(t("Trailing comma"), ErrorCode.TrailingComma, commaOffset, commaOffset + 1); + } + continue; + } + } else if (needsComma) { + _error(t("Expected comma"), ErrorCode.CommaExpected); + } + const property = _parseProperty(node, keysSeen); + if (!property) { + _error(t("Property expected"), ErrorCode.PropertyExpected, void 0, [], [ + 2, + 5 + /* Json.SyntaxKind.CommaToken */ + ]); + } else { + node.properties.push(property); + } + needsComma = true; + } + if (scanner.getToken() !== 2) { + return _error(t("Expected comma or closing brace"), ErrorCode.CommaOrCloseBraceExpected, node); + } + return _finalize(node, true); + } + function _parseString(parent) { + if (scanner.getToken() !== 10) { + return void 0; + } + const node = new StringASTNodeImpl(parent, scanner.getTokenOffset()); + node.value = scanner.getTokenValue(); + return _finalize(node, true); + } + function _parseNumber(parent) { + if (scanner.getToken() !== 11) { + return void 0; + } + const node = new NumberASTNodeImpl(parent, scanner.getTokenOffset()); + if (scanner.getTokenError() === 0) { + const tokenValue = scanner.getTokenValue(); + try { + const numberValue = JSON.parse(tokenValue); + if (!isNumber(numberValue)) { + return _error(t("Invalid number format."), ErrorCode.Undefined, node); + } + node.value = numberValue; + } catch (e) { + return _error(t("Invalid number format."), ErrorCode.Undefined, node); + } + node.isInteger = tokenValue.indexOf(".") === -1; + } + return _finalize(node, true); + } + function _parseLiteral(parent) { + let node; + switch (scanner.getToken()) { + case 7: + return _finalize(new NullASTNodeImpl(parent, scanner.getTokenOffset()), true); + case 8: + return _finalize(new BooleanASTNodeImpl(parent, true, scanner.getTokenOffset()), true); + case 9: + return _finalize(new BooleanASTNodeImpl(parent, false, scanner.getTokenOffset()), true); + default: + return void 0; + } + } + function _parseValue(parent) { + return _parseArray(parent) || _parseObject(parent) || _parseString(parent) || _parseNumber(parent) || _parseLiteral(parent); + } + let _root = void 0; + const token = _scanNext(); + if (token !== 17) { + _root = _parseValue(_root); + if (!_root) { + _error(t("Expected a JSON object, array or literal."), ErrorCode.Undefined); + } else if (scanner.getToken() !== 17) { + _error(t("End of file expected."), ErrorCode.Undefined); + } + } + return new JSONDocument(_root, problems, commentRanges); + } + function stringifyObject(obj, indent, stringifyLiteral) { + if (obj !== null && typeof obj === "object") { + const newIndent = indent + " "; + if (Array.isArray(obj)) { + if (obj.length === 0) { + return "[]"; + } + let result = "[\n"; + for (let i = 0; i < obj.length; i++) { + result += newIndent + stringifyObject(obj[i], newIndent, stringifyLiteral); + if (i < obj.length - 1) { + result += ","; + } + result += "\n"; + } + result += indent + "]"; + return result; + } else { + const keys = Object.keys(obj); + if (keys.length === 0) { + return "{}"; + } + let result = "{\n"; + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + result += newIndent + JSON.stringify(key) + ": " + stringifyObject(obj[key], newIndent, stringifyLiteral); + if (i < keys.length - 1) { + result += ","; + } + result += "\n"; + } + result += indent + "}"; + return result; + } + } + return stringifyLiteral(obj); + } + var valueCommitCharacters = [",", "}", "]"]; + var propertyCommitCharacters = [":"]; + var JSONCompletion = class { + constructor(schemaService, contributions = [], promiseConstructor = Promise, clientCapabilities = {}) { + this.schemaService = schemaService; + this.contributions = contributions; + this.promiseConstructor = promiseConstructor; + this.clientCapabilities = clientCapabilities; + } + doResolve(item) { + for (let i = this.contributions.length - 1; i >= 0; i--) { + const resolveCompletion = this.contributions[i].resolveCompletion; + if (resolveCompletion) { + const resolver = resolveCompletion(item); + if (resolver) { + return resolver; + } + } + } + return this.promiseConstructor.resolve(item); + } + doComplete(document2, position, doc) { + const result = { + items: [], + isIncomplete: false + }; + const text = document2.getText(); + const offset = document2.offsetAt(position); + let node = doc.getNodeFromOffset(offset, true); + if (this.isInComment(document2, node ? node.offset : 0, offset)) { + return Promise.resolve(result); + } + if (node && offset === node.offset + node.length && offset > 0) { + const ch = text[offset - 1]; + if (node.type === "object" && ch === "}" || node.type === "array" && ch === "]") { + node = node.parent; + } + } + const currentWord = this.getCurrentWord(document2, offset); + let overwriteRange; + if (node && (node.type === "string" || node.type === "number" || node.type === "boolean" || node.type === "null")) { + overwriteRange = Range2.create(document2.positionAt(node.offset), document2.positionAt(node.offset + node.length)); + } else { + let overwriteStart = offset - currentWord.length; + if (overwriteStart > 0 && text[overwriteStart - 1] === '"') { + overwriteStart--; + } + overwriteRange = Range2.create(document2.positionAt(overwriteStart), position); + } + const supportsCommitCharacters = false; + const proposed = /* @__PURE__ */ new Map(); + const collector = { + add: (suggestion) => { + let label = suggestion.label; + const existing = proposed.get(label); + if (!existing) { + label = label.replace(/[\n]/g, "\u21B5"); + if (label.length > 60) { + const shortendedLabel = label.substr(0, 57).trim() + "..."; + if (!proposed.has(shortendedLabel)) { + label = shortendedLabel; + } + } + suggestion.textEdit = TextEdit.replace(overwriteRange, suggestion.insertText); + if (supportsCommitCharacters) { + suggestion.commitCharacters = suggestion.kind === CompletionItemKind2.Property ? propertyCommitCharacters : valueCommitCharacters; + } + suggestion.label = label; + proposed.set(label, suggestion); + result.items.push(suggestion); + } else { + if (!existing.documentation) { + existing.documentation = suggestion.documentation; + } + if (!existing.detail) { + existing.detail = suggestion.detail; + } + if (!existing.labelDetails) { + existing.labelDetails = suggestion.labelDetails; + } + } + }, + setAsIncomplete: () => { + result.isIncomplete = true; + }, + error: (message) => { + console.error(message); + }, + getNumberOfProposals: () => { + return result.items.length; + } + }; + return this.schemaService.getSchemaForResource(document2.uri, doc).then((schema) => { + const collectionPromises = []; + let addValue = true; + let currentKey = ""; + let currentProperty = void 0; + if (node) { + if (node.type === "string") { + const parent = node.parent; + if (parent && parent.type === "property" && parent.keyNode === node) { + addValue = !parent.valueNode; + currentProperty = parent; + currentKey = text.substr(node.offset + 1, node.length - 2); + if (parent) { + node = parent.parent; + } + } + } + } + if (node && node.type === "object") { + if (node.offset === offset) { + return result; + } + const properties = node.properties; + properties.forEach((p) => { + if (!currentProperty || currentProperty !== p) { + proposed.set(p.keyNode.value, CompletionItem.create("__")); + } + }); + let separatorAfter = ""; + if (addValue) { + separatorAfter = this.evaluateSeparatorAfter(document2, document2.offsetAt(overwriteRange.end)); + } + if (schema) { + this.getPropertyCompletions(schema, doc, node, addValue, separatorAfter, collector); + } else { + this.getSchemaLessPropertyCompletions(doc, node, currentKey, collector); + } + const location = getNodePath3(node); + this.contributions.forEach((contribution) => { + const collectPromise = contribution.collectPropertyCompletions(document2.uri, location, currentWord, addValue, separatorAfter === "", collector); + if (collectPromise) { + collectionPromises.push(collectPromise); + } + }); + if (!schema && currentWord.length > 0 && text.charAt(offset - currentWord.length - 1) !== '"') { + collector.add({ + kind: CompletionItemKind2.Property, + label: this.getLabelForValue(currentWord), + insertText: this.getInsertTextForProperty(currentWord, void 0, false, separatorAfter), + insertTextFormat: InsertTextFormat.Snippet, + documentation: "" + }); + collector.setAsIncomplete(); + } + } + const types = {}; + if (schema) { + this.getValueCompletions(schema, doc, node, offset, document2, collector, types); + } else { + this.getSchemaLessValueCompletions(doc, node, offset, document2, collector); + } + if (this.contributions.length > 0) { + this.getContributedValueCompletions(doc, node, offset, document2, collector, collectionPromises); + } + return this.promiseConstructor.all(collectionPromises).then(() => { + if (collector.getNumberOfProposals() === 0) { + let offsetForSeparator = offset; + if (node && (node.type === "string" || node.type === "number" || node.type === "boolean" || node.type === "null")) { + offsetForSeparator = node.offset + node.length; + } + const separatorAfter = this.evaluateSeparatorAfter(document2, offsetForSeparator); + this.addFillerValueCompletions(types, separatorAfter, collector); + } + return result; + }); + }); + } + getPropertyCompletions(schema, doc, node, addValue, separatorAfter, collector) { + const matchingSchemas = doc.getMatchingSchemas(schema.schema, node.offset); + matchingSchemas.forEach((s) => { + if (s.node === node && !s.inverted) { + const schemaProperties = s.schema.properties; + if (schemaProperties) { + Object.keys(schemaProperties).forEach((key) => { + const propertySchema = schemaProperties[key]; + if (typeof propertySchema === "object" && !propertySchema.deprecationMessage && !propertySchema.doNotSuggest) { + const proposal = { + kind: CompletionItemKind2.Property, + label: key, + insertText: this.getInsertTextForProperty(key, propertySchema, addValue, separatorAfter), + insertTextFormat: InsertTextFormat.Snippet, + filterText: this.getFilterTextForValue(key), + documentation: this.fromMarkup(propertySchema.markdownDescription) || propertySchema.description || "" + }; + if (propertySchema.suggestSortText !== void 0) { + proposal.sortText = propertySchema.suggestSortText; + } + if (proposal.insertText && endsWith(proposal.insertText, `$1${separatorAfter}`)) { + proposal.command = { + title: "Suggest", + command: "editor.action.triggerSuggest" + }; + } + collector.add(proposal); + } + }); + } + const schemaPropertyNames = s.schema.propertyNames; + if (typeof schemaPropertyNames === "object" && !schemaPropertyNames.deprecationMessage && !schemaPropertyNames.doNotSuggest) { + const propertyNameCompletionItem = (name, enumDescription = void 0) => { + const proposal = { + kind: CompletionItemKind2.Property, + label: name, + insertText: this.getInsertTextForProperty(name, void 0, addValue, separatorAfter), + insertTextFormat: InsertTextFormat.Snippet, + filterText: this.getFilterTextForValue(name), + documentation: enumDescription || this.fromMarkup(schemaPropertyNames.markdownDescription) || schemaPropertyNames.description || "" + }; + if (schemaPropertyNames.suggestSortText !== void 0) { + proposal.sortText = schemaPropertyNames.suggestSortText; + } + if (proposal.insertText && endsWith(proposal.insertText, `$1${separatorAfter}`)) { + proposal.command = { + title: "Suggest", + command: "editor.action.triggerSuggest" + }; + } + collector.add(proposal); + }; + if (schemaPropertyNames.enum) { + for (let i = 0; i < schemaPropertyNames.enum.length; i++) { + let enumDescription = void 0; + if (schemaPropertyNames.markdownEnumDescriptions && i < schemaPropertyNames.markdownEnumDescriptions.length) { + enumDescription = this.fromMarkup(schemaPropertyNames.markdownEnumDescriptions[i]); + } else if (schemaPropertyNames.enumDescriptions && i < schemaPropertyNames.enumDescriptions.length) { + enumDescription = schemaPropertyNames.enumDescriptions[i]; + } + propertyNameCompletionItem(schemaPropertyNames.enum[i], enumDescription); + } + } + if (schemaPropertyNames.const) { + propertyNameCompletionItem(schemaPropertyNames.const); + } + } + } + }); + } + getSchemaLessPropertyCompletions(doc, node, currentKey, collector) { + const collectCompletionsForSimilarObject = (obj) => { + obj.properties.forEach((p) => { + const key = p.keyNode.value; + collector.add({ + kind: CompletionItemKind2.Property, + label: key, + insertText: this.getInsertTextForValue(key, ""), + insertTextFormat: InsertTextFormat.Snippet, + filterText: this.getFilterTextForValue(key), + documentation: "" + }); + }); + }; + if (node.parent) { + if (node.parent.type === "property") { + const parentKey = node.parent.keyNode.value; + doc.visit((n) => { + if (n.type === "property" && n !== node.parent && n.keyNode.value === parentKey && n.valueNode && n.valueNode.type === "object") { + collectCompletionsForSimilarObject(n.valueNode); + } + return true; + }); + } else if (node.parent.type === "array") { + node.parent.items.forEach((n) => { + if (n.type === "object" && n !== node) { + collectCompletionsForSimilarObject(n); + } + }); + } + } else if (node.type === "object") { + collector.add({ + kind: CompletionItemKind2.Property, + label: "$schema", + insertText: this.getInsertTextForProperty("$schema", void 0, true, ""), + insertTextFormat: InsertTextFormat.Snippet, + documentation: "", + filterText: this.getFilterTextForValue("$schema") + }); + } + } + getSchemaLessValueCompletions(doc, node, offset, document2, collector) { + let offsetForSeparator = offset; + if (node && (node.type === "string" || node.type === "number" || node.type === "boolean" || node.type === "null")) { + offsetForSeparator = node.offset + node.length; + node = node.parent; + } + if (!node) { + collector.add({ + kind: this.getSuggestionKind("object"), + label: "Empty object", + insertText: this.getInsertTextForValue({}, ""), + insertTextFormat: InsertTextFormat.Snippet, + documentation: "" + }); + collector.add({ + kind: this.getSuggestionKind("array"), + label: "Empty array", + insertText: this.getInsertTextForValue([], ""), + insertTextFormat: InsertTextFormat.Snippet, + documentation: "" + }); + return; + } + const separatorAfter = this.evaluateSeparatorAfter(document2, offsetForSeparator); + const collectSuggestionsForValues = (value) => { + if (value.parent && !contains2(value.parent, offset, true)) { + collector.add({ + kind: this.getSuggestionKind(value.type), + label: this.getLabelTextForMatchingNode(value, document2), + insertText: this.getInsertTextForMatchingNode(value, document2, separatorAfter), + insertTextFormat: InsertTextFormat.Snippet, + documentation: "" + }); + } + if (value.type === "boolean") { + this.addBooleanValueCompletion(!value.value, separatorAfter, collector); + } + }; + if (node.type === "property") { + if (offset > (node.colonOffset || 0)) { + const valueNode = node.valueNode; + if (valueNode && (offset > valueNode.offset + valueNode.length || valueNode.type === "object" || valueNode.type === "array")) { + return; + } + const parentKey = node.keyNode.value; + doc.visit((n) => { + if (n.type === "property" && n.keyNode.value === parentKey && n.valueNode) { + collectSuggestionsForValues(n.valueNode); + } + return true; + }); + if (parentKey === "$schema" && node.parent && !node.parent.parent) { + this.addDollarSchemaCompletions(separatorAfter, collector); + } + } + } + if (node.type === "array") { + if (node.parent && node.parent.type === "property") { + const parentKey = node.parent.keyNode.value; + doc.visit((n) => { + if (n.type === "property" && n.keyNode.value === parentKey && n.valueNode && n.valueNode.type === "array") { + n.valueNode.items.forEach(collectSuggestionsForValues); + } + return true; + }); + } else { + node.items.forEach(collectSuggestionsForValues); + } + } + } + getValueCompletions(schema, doc, node, offset, document2, collector, types) { + let offsetForSeparator = offset; + let parentKey = void 0; + let valueNode = void 0; + if (node && (node.type === "string" || node.type === "number" || node.type === "boolean" || node.type === "null")) { + offsetForSeparator = node.offset + node.length; + valueNode = node; + node = node.parent; + } + if (!node) { + this.addSchemaValueCompletions(schema.schema, "", collector, types); + return; + } + if (node.type === "property" && offset > (node.colonOffset || 0)) { + const valueNode2 = node.valueNode; + if (valueNode2 && offset > valueNode2.offset + valueNode2.length) { + return; + } + parentKey = node.keyNode.value; + node = node.parent; + } + if (node && (parentKey !== void 0 || node.type === "array")) { + const separatorAfter = this.evaluateSeparatorAfter(document2, offsetForSeparator); + const matchingSchemas = doc.getMatchingSchemas(schema.schema, node.offset, valueNode); + for (const s of matchingSchemas) { + if (s.node === node && !s.inverted && s.schema) { + if (node.type === "array" && s.schema.items) { + let c = collector; + if (s.schema.uniqueItems) { + const existingValues = /* @__PURE__ */ new Set(); + node.children.forEach((n) => { + if (n.type !== "array" && n.type !== "object") { + existingValues.add(this.getLabelForValue(getNodeValue3(n))); + } + }); + c = { + ...collector, + add(suggestion) { + if (!existingValues.has(suggestion.label)) { + collector.add(suggestion); + } + } + }; + } + if (Array.isArray(s.schema.items)) { + const index = this.findItemAtOffset(node, document2, offset); + if (index < s.schema.items.length) { + this.addSchemaValueCompletions(s.schema.items[index], separatorAfter, c, types); + } + } else { + this.addSchemaValueCompletions(s.schema.items, separatorAfter, c, types); + } + } + if (parentKey !== void 0) { + let propertyMatched = false; + if (s.schema.properties) { + const propertySchema = s.schema.properties[parentKey]; + if (propertySchema) { + propertyMatched = true; + this.addSchemaValueCompletions(propertySchema, separatorAfter, collector, types); + } + } + if (s.schema.patternProperties && !propertyMatched) { + for (const pattern of Object.keys(s.schema.patternProperties)) { + const regex = extendedRegExp(pattern); + if (regex?.test(parentKey)) { + propertyMatched = true; + const propertySchema = s.schema.patternProperties[pattern]; + this.addSchemaValueCompletions(propertySchema, separatorAfter, collector, types); + } + } + } + if (s.schema.additionalProperties && !propertyMatched) { + const propertySchema = s.schema.additionalProperties; + this.addSchemaValueCompletions(propertySchema, separatorAfter, collector, types); + } + } + } + } + if (parentKey === "$schema" && !node.parent) { + this.addDollarSchemaCompletions(separatorAfter, collector); + } + if (types["boolean"]) { + this.addBooleanValueCompletion(true, separatorAfter, collector); + this.addBooleanValueCompletion(false, separatorAfter, collector); + } + if (types["null"]) { + this.addNullValueCompletion(separatorAfter, collector); + } + } + } + getContributedValueCompletions(doc, node, offset, document2, collector, collectionPromises) { + if (!node) { + this.contributions.forEach((contribution) => { + const collectPromise = contribution.collectDefaultCompletions(document2.uri, collector); + if (collectPromise) { + collectionPromises.push(collectPromise); + } + }); + } else { + if (node.type === "string" || node.type === "number" || node.type === "boolean" || node.type === "null") { + node = node.parent; + } + if (node && node.type === "property" && offset > (node.colonOffset || 0)) { + const parentKey = node.keyNode.value; + const valueNode = node.valueNode; + if ((!valueNode || offset <= valueNode.offset + valueNode.length) && node.parent) { + const location = getNodePath3(node.parent); + this.contributions.forEach((contribution) => { + const collectPromise = contribution.collectValueCompletions(document2.uri, location, parentKey, collector); + if (collectPromise) { + collectionPromises.push(collectPromise); + } + }); + } + } + } + } + addSchemaValueCompletions(schema, separatorAfter, collector, types) { + if (typeof schema === "object") { + this.addEnumValueCompletions(schema, separatorAfter, collector); + this.addDefaultValueCompletions(schema, separatorAfter, collector); + this.collectTypes(schema, types); + if (Array.isArray(schema.allOf)) { + schema.allOf.forEach((s) => this.addSchemaValueCompletions(s, separatorAfter, collector, types)); + } + if (Array.isArray(schema.anyOf)) { + schema.anyOf.forEach((s) => this.addSchemaValueCompletions(s, separatorAfter, collector, types)); + } + if (Array.isArray(schema.oneOf)) { + schema.oneOf.forEach((s) => this.addSchemaValueCompletions(s, separatorAfter, collector, types)); + } + } + } + addDefaultValueCompletions(schema, separatorAfter, collector, arrayDepth = 0) { + let hasProposals = false; + if (isDefined(schema.default)) { + let type = schema.type; + let value = schema.default; + for (let i = arrayDepth; i > 0; i--) { + value = [value]; + type = "array"; + } + const completionItem = { + kind: this.getSuggestionKind(type), + label: this.getLabelForValue(value), + insertText: this.getInsertTextForValue(value, separatorAfter), + insertTextFormat: InsertTextFormat.Snippet + }; + if (this.doesSupportsLabelDetails()) { + completionItem.labelDetails = { description: t("Default value") }; + } else { + completionItem.detail = t("Default value"); + } + collector.add(completionItem); + hasProposals = true; + } + if (Array.isArray(schema.examples)) { + schema.examples.forEach((example) => { + let type = schema.type; + let value = example; + for (let i = arrayDepth; i > 0; i--) { + value = [value]; + type = "array"; + } + collector.add({ + kind: this.getSuggestionKind(type), + label: this.getLabelForValue(value), + insertText: this.getInsertTextForValue(value, separatorAfter), + insertTextFormat: InsertTextFormat.Snippet + }); + hasProposals = true; + }); + } + if (Array.isArray(schema.defaultSnippets)) { + schema.defaultSnippets.forEach((s) => { + let type = schema.type; + let value = s.body; + let label = s.label; + let insertText; + let filterText; + if (isDefined(value)) { + let type2 = schema.type; + for (let i = arrayDepth; i > 0; i--) { + value = [value]; + type2 = "array"; + } + insertText = this.getInsertTextForSnippetValue(value, separatorAfter); + filterText = this.getFilterTextForSnippetValue(value); + label = label || this.getLabelForSnippetValue(value); + } else if (typeof s.bodyText === "string") { + let prefix = "", suffix = "", indent = ""; + for (let i = arrayDepth; i > 0; i--) { + prefix = prefix + indent + "[\n"; + suffix = suffix + "\n" + indent + "]"; + indent += " "; + type = "array"; + } + insertText = prefix + indent + s.bodyText.split("\n").join("\n" + indent) + suffix + separatorAfter; + label = label || insertText, filterText = insertText.replace(/[\n]/g, ""); + } else { + return; + } + collector.add({ + kind: this.getSuggestionKind(type), + label, + documentation: this.fromMarkup(s.markdownDescription) || s.description, + insertText, + insertTextFormat: InsertTextFormat.Snippet, + filterText + }); + hasProposals = true; + }); + } + if (!hasProposals && typeof schema.items === "object" && !Array.isArray(schema.items) && arrayDepth < 5) { + this.addDefaultValueCompletions(schema.items, separatorAfter, collector, arrayDepth + 1); + } + } + addEnumValueCompletions(schema, separatorAfter, collector) { + if (isDefined(schema.const)) { + collector.add({ + kind: this.getSuggestionKind(schema.type), + label: this.getLabelForValue(schema.const), + insertText: this.getInsertTextForValue(schema.const, separatorAfter), + insertTextFormat: InsertTextFormat.Snippet, + documentation: this.fromMarkup(schema.markdownDescription) || schema.description + }); + } + if (Array.isArray(schema.enum)) { + for (let i = 0, length = schema.enum.length; i < length; i++) { + const enm = schema.enum[i]; + let documentation = this.fromMarkup(schema.markdownDescription) || schema.description; + if (schema.markdownEnumDescriptions && i < schema.markdownEnumDescriptions.length && this.doesSupportMarkdown()) { + documentation = this.fromMarkup(schema.markdownEnumDescriptions[i]); + } else if (schema.enumDescriptions && i < schema.enumDescriptions.length) { + documentation = schema.enumDescriptions[i]; + } + collector.add({ + kind: this.getSuggestionKind(schema.type), + label: this.getLabelForValue(enm), + insertText: this.getInsertTextForValue(enm, separatorAfter), + insertTextFormat: InsertTextFormat.Snippet, + documentation + }); + } + } + } + collectTypes(schema, types) { + if (Array.isArray(schema.enum) || isDefined(schema.const)) { + return; + } + const type = schema.type; + if (Array.isArray(type)) { + type.forEach((t2) => types[t2] = true); + } else if (type) { + types[type] = true; + } + } + addFillerValueCompletions(types, separatorAfter, collector) { + if (types["object"]) { + collector.add({ + kind: this.getSuggestionKind("object"), + label: "{}", + insertText: this.getInsertTextForGuessedValue({}, separatorAfter), + insertTextFormat: InsertTextFormat.Snippet, + detail: t("New object"), + documentation: "" + }); + } + if (types["array"]) { + collector.add({ + kind: this.getSuggestionKind("array"), + label: "[]", + insertText: this.getInsertTextForGuessedValue([], separatorAfter), + insertTextFormat: InsertTextFormat.Snippet, + detail: t("New array"), + documentation: "" + }); + } + } + addBooleanValueCompletion(value, separatorAfter, collector) { + collector.add({ + kind: this.getSuggestionKind("boolean"), + label: value ? "true" : "false", + insertText: this.getInsertTextForValue(value, separatorAfter), + insertTextFormat: InsertTextFormat.Snippet, + documentation: "" + }); + } + addNullValueCompletion(separatorAfter, collector) { + collector.add({ + kind: this.getSuggestionKind("null"), + label: "null", + insertText: "null" + separatorAfter, + insertTextFormat: InsertTextFormat.Snippet, + documentation: "" + }); + } + addDollarSchemaCompletions(separatorAfter, collector) { + const schemaIds = this.schemaService.getRegisteredSchemaIds((schema) => schema === "http" || schema === "https"); + schemaIds.forEach((schemaId) => { + if (schemaId.startsWith("http://json-schema.org/draft-")) { + schemaId = schemaId + "#"; + } + collector.add({ + kind: CompletionItemKind2.Module, + label: this.getLabelForValue(schemaId), + filterText: this.getFilterTextForValue(schemaId), + insertText: this.getInsertTextForValue(schemaId, separatorAfter), + insertTextFormat: InsertTextFormat.Snippet, + documentation: "" + }); + }); + } + getLabelForValue(value) { + return JSON.stringify(value); + } + getValueFromLabel(value) { + return JSON.parse(value); + } + getFilterTextForValue(value) { + return JSON.stringify(value); + } + getFilterTextForSnippetValue(value) { + return JSON.stringify(value).replace(/\$\{\d+:([^}]+)\}|\$\d+/g, "$1"); + } + getLabelForSnippetValue(value) { + const label = JSON.stringify(value); + return label.replace(/\$\{\d+:([^}]+)\}|\$\d+/g, "$1"); + } + getInsertTextForPlainText(text) { + return text.replace(/[\\\$\}]/g, "\\$&"); + } + getInsertTextForValue(value, separatorAfter) { + const text = JSON.stringify(value, null, " "); + if (text === "{}") { + return "{$1}" + separatorAfter; + } else if (text === "[]") { + return "[$1]" + separatorAfter; + } + return this.getInsertTextForPlainText(text + separatorAfter); + } + getInsertTextForSnippetValue(value, separatorAfter) { + const replacer = (value2) => { + if (typeof value2 === "string") { + if (value2[0] === "^") { + return value2.substr(1); + } + } + return JSON.stringify(value2); + }; + return stringifyObject(value, "", replacer) + separatorAfter; + } + getInsertTextForGuessedValue(value, separatorAfter) { + switch (typeof value) { + case "object": + if (value === null) { + return "${1:null}" + separatorAfter; + } + return this.getInsertTextForValue(value, separatorAfter); + case "string": + let snippetValue = JSON.stringify(value); + snippetValue = snippetValue.substr(1, snippetValue.length - 2); + snippetValue = this.getInsertTextForPlainText(snippetValue); + return '"${1:' + snippetValue + '}"' + separatorAfter; + case "number": + case "boolean": + return "${1:" + JSON.stringify(value) + "}" + separatorAfter; + } + return this.getInsertTextForValue(value, separatorAfter); + } + getSuggestionKind(type) { + if (Array.isArray(type)) { + const array = type; + type = array.length > 0 ? array[0] : void 0; + } + if (!type) { + return CompletionItemKind2.Value; + } + switch (type) { + case "string": + return CompletionItemKind2.Value; + case "object": + return CompletionItemKind2.Module; + case "property": + return CompletionItemKind2.Property; + default: + return CompletionItemKind2.Value; + } + } + getLabelTextForMatchingNode(node, document2) { + switch (node.type) { + case "array": + return "[]"; + case "object": + return "{}"; + default: + const content = document2.getText().substr(node.offset, node.length); + return content; + } + } + getInsertTextForMatchingNode(node, document2, separatorAfter) { + switch (node.type) { + case "array": + return this.getInsertTextForValue([], separatorAfter); + case "object": + return this.getInsertTextForValue({}, separatorAfter); + default: + const content = document2.getText().substr(node.offset, node.length) + separatorAfter; + return this.getInsertTextForPlainText(content); + } + } + getInsertTextForProperty(key, propertySchema, addValue, separatorAfter) { + const propertyText = this.getInsertTextForValue(key, ""); + if (!addValue) { + return propertyText; + } + const resultText = propertyText + ": "; + let value; + let nValueProposals = 0; + if (propertySchema) { + if (Array.isArray(propertySchema.defaultSnippets)) { + if (propertySchema.defaultSnippets.length === 1) { + const body = propertySchema.defaultSnippets[0].body; + if (isDefined(body)) { + value = this.getInsertTextForSnippetValue(body, ""); + } + } + nValueProposals += propertySchema.defaultSnippets.length; + } + if (propertySchema.enum) { + if (!value && propertySchema.enum.length === 1) { + value = this.getInsertTextForGuessedValue(propertySchema.enum[0], ""); + } + nValueProposals += propertySchema.enum.length; + } + if (isDefined(propertySchema.const)) { + if (!value) { + value = this.getInsertTextForGuessedValue(propertySchema.const, ""); + } + nValueProposals++; + } + if (isDefined(propertySchema.default)) { + if (!value) { + value = this.getInsertTextForGuessedValue(propertySchema.default, ""); + } + nValueProposals++; + } + if (Array.isArray(propertySchema.examples) && propertySchema.examples.length) { + if (!value) { + value = this.getInsertTextForGuessedValue(propertySchema.examples[0], ""); + } + nValueProposals += propertySchema.examples.length; + } + if (nValueProposals === 0) { + let type = Array.isArray(propertySchema.type) ? propertySchema.type[0] : propertySchema.type; + if (!type) { + if (propertySchema.properties) { + type = "object"; + } else if (propertySchema.items) { + type = "array"; + } + } + switch (type) { + case "boolean": + value = "$1"; + break; + case "string": + value = '"$1"'; + break; + case "object": + value = "{$1}"; + break; + case "array": + value = "[$1]"; + break; + case "number": + case "integer": + value = "${1:0}"; + break; + case "null": + value = "${1:null}"; + break; + default: + return propertyText; + } + } + } + if (!value || nValueProposals > 1) { + value = "$1"; + } + return resultText + value + separatorAfter; + } + getCurrentWord(document2, offset) { + let i = offset - 1; + const text = document2.getText(); + while (i >= 0 && ' \n\r\v":{[,]}'.indexOf(text.charAt(i)) === -1) { + i--; + } + return text.substring(i + 1, offset); + } + evaluateSeparatorAfter(document2, offset) { + const scanner = createScanner2(document2.getText(), true); + scanner.setPosition(offset); + const token = scanner.scan(); + switch (token) { + case 5: + case 2: + case 4: + case 17: + return ""; + default: + return ","; + } + } + findItemAtOffset(node, document2, offset) { + const scanner = createScanner2(document2.getText(), true); + const children = node.items; + for (let i = children.length - 1; i >= 0; i--) { + const child = children[i]; + if (offset > child.offset + child.length) { + scanner.setPosition(child.offset + child.length); + const token = scanner.scan(); + if (token === 5 && offset >= scanner.getTokenOffset() + scanner.getTokenLength()) { + return i + 1; + } + return i; + } else if (offset >= child.offset) { + return i; + } + } + return 0; + } + isInComment(document2, start, offset) { + const scanner = createScanner2(document2.getText(), false); + scanner.setPosition(start); + let token = scanner.scan(); + while (token !== 17 && scanner.getTokenOffset() + scanner.getTokenLength() < offset) { + token = scanner.scan(); + } + return (token === 12 || token === 13) && scanner.getTokenOffset() <= offset; + } + fromMarkup(markupString) { + if (markupString && this.doesSupportMarkdown()) { + return { + kind: MarkupKind.Markdown, + value: markupString + }; + } + return void 0; + } + doesSupportMarkdown() { + if (!isDefined(this.supportsMarkdown)) { + const documentationFormat = this.clientCapabilities.textDocument?.completion?.completionItem?.documentationFormat; + this.supportsMarkdown = Array.isArray(documentationFormat) && documentationFormat.indexOf(MarkupKind.Markdown) !== -1; + } + return this.supportsMarkdown; + } + doesSupportsCommitCharacters() { + if (!isDefined(this.supportsCommitCharacters)) { + this.labelDetailsSupport = this.clientCapabilities.textDocument?.completion?.completionItem?.commitCharactersSupport; + } + return this.supportsCommitCharacters; + } + doesSupportsLabelDetails() { + if (!isDefined(this.labelDetailsSupport)) { + this.labelDetailsSupport = this.clientCapabilities.textDocument?.completion?.completionItem?.labelDetailsSupport; + } + return this.labelDetailsSupport; + } + }; + var JSONHover = class { + constructor(schemaService, contributions = [], promiseConstructor) { + this.schemaService = schemaService; + this.contributions = contributions; + this.promise = promiseConstructor || Promise; + } + doHover(document2, position, doc) { + const offset = document2.offsetAt(position); + let node = doc.getNodeFromOffset(offset); + if (!node || (node.type === "object" || node.type === "array") && offset > node.offset + 1 && offset < node.offset + node.length - 1) { + return this.promise.resolve(null); + } + const hoverRangeNode = node; + if (node.type === "string") { + const parent = node.parent; + if (parent && parent.type === "property" && parent.keyNode === node) { + node = parent.valueNode; + if (!node) { + return this.promise.resolve(null); + } + } + } + const hoverRange = Range2.create(document2.positionAt(hoverRangeNode.offset), document2.positionAt(hoverRangeNode.offset + hoverRangeNode.length)); + const createHover = (contents) => { + const result = { + contents, + range: hoverRange + }; + return result; + }; + const location = getNodePath3(node); + for (let i = this.contributions.length - 1; i >= 0; i--) { + const contribution = this.contributions[i]; + const promise = contribution.getInfoContribution(document2.uri, location); + if (promise) { + return promise.then((htmlContent) => createHover(htmlContent)); + } + } + return this.schemaService.getSchemaForResource(document2.uri, doc).then((schema) => { + if (schema && node) { + const matchingSchemas = doc.getMatchingSchemas(schema.schema, node.offset); + let title = void 0; + let markdownDescription = void 0; + let markdownEnumValueDescription = void 0, enumValue = void 0; + matchingSchemas.every((s) => { + if (s.node === node && !s.inverted && s.schema) { + title = title || s.schema.title; + markdownDescription = markdownDescription || s.schema.markdownDescription || toMarkdown(s.schema.description); + if (s.schema.enum) { + const idx = s.schema.enum.indexOf(getNodeValue3(node)); + if (s.schema.markdownEnumDescriptions) { + markdownEnumValueDescription = s.schema.markdownEnumDescriptions[idx]; + } else if (s.schema.enumDescriptions) { + markdownEnumValueDescription = toMarkdown(s.schema.enumDescriptions[idx]); + } + if (markdownEnumValueDescription) { + enumValue = s.schema.enum[idx]; + if (typeof enumValue !== "string") { + enumValue = JSON.stringify(enumValue); + } + } + } + } + return true; + }); + let result = ""; + if (title) { + result = toMarkdown(title); + } + if (markdownDescription) { + if (result.length > 0) { + result += "\n\n"; + } + result += markdownDescription; + } + if (markdownEnumValueDescription) { + if (result.length > 0) { + result += "\n\n"; + } + result += `\`${toMarkdownCodeBlock(enumValue)}\`: ${markdownEnumValueDescription}`; + } + return createHover([result]); + } + return null; + }); + } + }; + function toMarkdown(plain) { + if (plain) { + const res = plain.replace(/([^\n\r])(\r?\n)([^\n\r])/gm, "$1\n\n$3"); + return res.replace(/[\\`*_{}[\]()#+\-.!]/g, "\\$&"); + } + return void 0; + } + function toMarkdownCodeBlock(content) { + if (content.indexOf("`") !== -1) { + return "`` " + content + " ``"; + } + return content; + } + var JSONValidation = class { + constructor(jsonSchemaService, promiseConstructor) { + this.jsonSchemaService = jsonSchemaService; + this.promise = promiseConstructor; + this.validationEnabled = true; + } + configure(raw) { + if (raw) { + this.validationEnabled = raw.validate !== false; + this.commentSeverity = raw.allowComments ? void 0 : DiagnosticSeverity.Error; + } + } + doValidation(textDocument, jsonDocument, documentSettings, schema) { + if (!this.validationEnabled) { + return this.promise.resolve([]); + } + const diagnostics = []; + const added = {}; + const addProblem = (problem) => { + const signature = problem.range.start.line + " " + problem.range.start.character + " " + problem.message; + if (!added[signature]) { + added[signature] = true; + diagnostics.push(problem); + } + }; + const getDiagnostics = (schema2) => { + let trailingCommaSeverity = documentSettings?.trailingCommas ? toDiagnosticSeverity(documentSettings.trailingCommas) : DiagnosticSeverity.Error; + let commentSeverity = documentSettings?.comments ? toDiagnosticSeverity(documentSettings.comments) : this.commentSeverity; + let schemaValidation = documentSettings?.schemaValidation ? toDiagnosticSeverity(documentSettings.schemaValidation) : DiagnosticSeverity.Warning; + let schemaRequest = documentSettings?.schemaRequest ? toDiagnosticSeverity(documentSettings.schemaRequest) : DiagnosticSeverity.Warning; + if (schema2) { + const addSchemaProblem = (errorMessage, errorCode) => { + if (jsonDocument.root && schemaRequest) { + const astRoot = jsonDocument.root; + const property = astRoot.type === "object" ? astRoot.properties[0] : void 0; + if (property && property.keyNode.value === "$schema") { + const node = property.valueNode || property; + const range = Range2.create(textDocument.positionAt(node.offset), textDocument.positionAt(node.offset + node.length)); + addProblem(Diagnostic.create(range, errorMessage, schemaRequest, errorCode)); + } else { + const range = Range2.create(textDocument.positionAt(astRoot.offset), textDocument.positionAt(astRoot.offset + 1)); + addProblem(Diagnostic.create(range, errorMessage, schemaRequest, errorCode)); + } + } + }; + if (schema2.errors.length) { + addSchemaProblem(schema2.errors[0], ErrorCode.SchemaResolveError); + } else if (schemaValidation) { + for (const warning of schema2.warnings) { + addSchemaProblem(warning, ErrorCode.SchemaUnsupportedFeature); + } + const semanticErrors = jsonDocument.validate(textDocument, schema2.schema, schemaValidation, documentSettings?.schemaDraft); + if (semanticErrors) { + semanticErrors.forEach(addProblem); + } + } + if (schemaAllowsComments(schema2.schema)) { + commentSeverity = void 0; + } + if (schemaAllowsTrailingCommas(schema2.schema)) { + trailingCommaSeverity = void 0; + } + } + for (const p of jsonDocument.syntaxErrors) { + if (p.code === ErrorCode.TrailingComma) { + if (typeof trailingCommaSeverity !== "number") { + continue; + } + p.severity = trailingCommaSeverity; + } + addProblem(p); + } + if (typeof commentSeverity === "number") { + const message = t("Comments are not permitted in JSON."); + jsonDocument.comments.forEach((c) => { + addProblem(Diagnostic.create(c, message, commentSeverity, ErrorCode.CommentNotPermitted)); + }); + } + return diagnostics; + }; + if (schema) { + const uri = schema.id || "schemaservice://untitled/" + idCounter++; + const handle = this.jsonSchemaService.registerExternalSchema({ uri, schema }); + return handle.getResolvedSchema().then((resolvedSchema) => { + return getDiagnostics(resolvedSchema); + }); + } + return this.jsonSchemaService.getSchemaForResource(textDocument.uri, jsonDocument).then((schema2) => { + return getDiagnostics(schema2); + }); + } + getLanguageStatus(textDocument, jsonDocument) { + return { schemas: this.jsonSchemaService.getSchemaURIsForResource(textDocument.uri, jsonDocument) }; + } + }; + var idCounter = 0; + function schemaAllowsComments(schemaRef) { + if (schemaRef && typeof schemaRef === "object") { + if (isBoolean(schemaRef.allowComments)) { + return schemaRef.allowComments; + } + if (schemaRef.allOf) { + for (const schema of schemaRef.allOf) { + const allow = schemaAllowsComments(schema); + if (isBoolean(allow)) { + return allow; + } + } + } + } + return void 0; + } + function schemaAllowsTrailingCommas(schemaRef) { + if (schemaRef && typeof schemaRef === "object") { + if (isBoolean(schemaRef.allowTrailingCommas)) { + return schemaRef.allowTrailingCommas; + } + const deprSchemaRef = schemaRef; + if (isBoolean(deprSchemaRef["allowsTrailingCommas"])) { + return deprSchemaRef["allowsTrailingCommas"]; + } + if (schemaRef.allOf) { + for (const schema of schemaRef.allOf) { + const allow = schemaAllowsTrailingCommas(schema); + if (isBoolean(allow)) { + return allow; + } + } + } + } + return void 0; + } + function toDiagnosticSeverity(severityLevel) { + switch (severityLevel) { + case "error": + return DiagnosticSeverity.Error; + case "warning": + return DiagnosticSeverity.Warning; + case "ignore": + return void 0; + } + return void 0; + } + var Digit0 = 48; + var Digit9 = 57; + var A = 65; + var a = 97; + var f = 102; + function hexDigit(charCode) { + if (charCode < Digit0) { + return 0; + } + if (charCode <= Digit9) { + return charCode - Digit0; + } + if (charCode < a) { + charCode += a - A; + } + if (charCode >= a && charCode <= f) { + return charCode - a + 10; + } + return 0; + } + function colorFromHex(text) { + if (text[0] !== "#") { + return void 0; + } + switch (text.length) { + case 4: + return { + red: hexDigit(text.charCodeAt(1)) * 17 / 255, + green: hexDigit(text.charCodeAt(2)) * 17 / 255, + blue: hexDigit(text.charCodeAt(3)) * 17 / 255, + alpha: 1 + }; + case 5: + return { + red: hexDigit(text.charCodeAt(1)) * 17 / 255, + green: hexDigit(text.charCodeAt(2)) * 17 / 255, + blue: hexDigit(text.charCodeAt(3)) * 17 / 255, + alpha: hexDigit(text.charCodeAt(4)) * 17 / 255 + }; + case 7: + return { + red: (hexDigit(text.charCodeAt(1)) * 16 + hexDigit(text.charCodeAt(2))) / 255, + green: (hexDigit(text.charCodeAt(3)) * 16 + hexDigit(text.charCodeAt(4))) / 255, + blue: (hexDigit(text.charCodeAt(5)) * 16 + hexDigit(text.charCodeAt(6))) / 255, + alpha: 1 + }; + case 9: + return { + red: (hexDigit(text.charCodeAt(1)) * 16 + hexDigit(text.charCodeAt(2))) / 255, + green: (hexDigit(text.charCodeAt(3)) * 16 + hexDigit(text.charCodeAt(4))) / 255, + blue: (hexDigit(text.charCodeAt(5)) * 16 + hexDigit(text.charCodeAt(6))) / 255, + alpha: (hexDigit(text.charCodeAt(7)) * 16 + hexDigit(text.charCodeAt(8))) / 255 + }; + } + return void 0; + } + var JSONDocumentSymbols = class { + constructor(schemaService) { + this.schemaService = schemaService; + } + findDocumentSymbols(document2, doc, context = { resultLimit: Number.MAX_VALUE }) { + const root = doc.root; + if (!root) { + return []; + } + let limit = context.resultLimit || Number.MAX_VALUE; + const resourceString = document2.uri; + if (resourceString === "vscode://defaultsettings/keybindings.json" || endsWith(resourceString.toLowerCase(), "/user/keybindings.json")) { + if (root.type === "array") { + const result2 = []; + for (const item of root.items) { + if (item.type === "object") { + for (const property of item.properties) { + if (property.keyNode.value === "key" && property.valueNode) { + const location = Location.create(document2.uri, getRange(document2, item)); + result2.push({ name: getName(property.valueNode), kind: SymbolKind2.Function, location }); + limit--; + if (limit <= 0) { + if (context && context.onResultLimitExceeded) { + context.onResultLimitExceeded(resourceString); + } + return result2; + } + } + } + } + } + return result2; + } + } + const toVisit = [ + { node: root, containerName: "" } + ]; + let nextToVisit = 0; + let limitExceeded = false; + const result = []; + const collectOutlineEntries = (node, containerName) => { + if (node.type === "array") { + node.items.forEach((node2) => { + if (node2) { + toVisit.push({ node: node2, containerName }); + } + }); + } else if (node.type === "object") { + node.properties.forEach((property) => { + const valueNode = property.valueNode; + if (valueNode) { + if (limit > 0) { + limit--; + const location = Location.create(document2.uri, getRange(document2, property)); + const childContainerName = containerName ? containerName + "." + property.keyNode.value : property.keyNode.value; + result.push({ name: this.getKeyLabel(property), kind: this.getSymbolKind(valueNode.type), location, containerName }); + toVisit.push({ node: valueNode, containerName: childContainerName }); + } else { + limitExceeded = true; + } + } + }); + } + }; + while (nextToVisit < toVisit.length) { + const next = toVisit[nextToVisit++]; + collectOutlineEntries(next.node, next.containerName); + } + if (limitExceeded && context && context.onResultLimitExceeded) { + context.onResultLimitExceeded(resourceString); + } + return result; + } + findDocumentSymbols2(document2, doc, context = { resultLimit: Number.MAX_VALUE }) { + const root = doc.root; + if (!root) { + return []; + } + let limit = context.resultLimit || Number.MAX_VALUE; + const resourceString = document2.uri; + if (resourceString === "vscode://defaultsettings/keybindings.json" || endsWith(resourceString.toLowerCase(), "/user/keybindings.json")) { + if (root.type === "array") { + const result2 = []; + for (const item of root.items) { + if (item.type === "object") { + for (const property of item.properties) { + if (property.keyNode.value === "key" && property.valueNode) { + const range = getRange(document2, item); + const selectionRange = getRange(document2, property.keyNode); + result2.push({ name: getName(property.valueNode), kind: SymbolKind2.Function, range, selectionRange }); + limit--; + if (limit <= 0) { + if (context && context.onResultLimitExceeded) { + context.onResultLimitExceeded(resourceString); + } + return result2; + } + } + } + } + } + return result2; + } + } + const result = []; + const toVisit = [ + { node: root, result } + ]; + let nextToVisit = 0; + let limitExceeded = false; + const collectOutlineEntries = (node, result2) => { + if (node.type === "array") { + node.items.forEach((node2, index) => { + if (node2) { + if (limit > 0) { + limit--; + const range = getRange(document2, node2); + const selectionRange = range; + const name = String(index); + const symbol = { name, kind: this.getSymbolKind(node2.type), range, selectionRange, children: [] }; + result2.push(symbol); + toVisit.push({ result: symbol.children, node: node2 }); + } else { + limitExceeded = true; + } + } + }); + } else if (node.type === "object") { + node.properties.forEach((property) => { + const valueNode = property.valueNode; + if (valueNode) { + if (limit > 0) { + limit--; + const range = getRange(document2, property); + const selectionRange = getRange(document2, property.keyNode); + const children = []; + const symbol = { name: this.getKeyLabel(property), kind: this.getSymbolKind(valueNode.type), range, selectionRange, children, detail: this.getDetail(valueNode) }; + result2.push(symbol); + toVisit.push({ result: children, node: valueNode }); + } else { + limitExceeded = true; + } + } + }); + } + }; + while (nextToVisit < toVisit.length) { + const next = toVisit[nextToVisit++]; + collectOutlineEntries(next.node, next.result); + } + if (limitExceeded && context && context.onResultLimitExceeded) { + context.onResultLimitExceeded(resourceString); + } + return result; + } + getSymbolKind(nodeType) { + switch (nodeType) { + case "object": + return SymbolKind2.Module; + case "string": + return SymbolKind2.String; + case "number": + return SymbolKind2.Number; + case "array": + return SymbolKind2.Array; + case "boolean": + return SymbolKind2.Boolean; + default: + return SymbolKind2.Variable; + } + } + getKeyLabel(property) { + let name = property.keyNode.value; + if (name) { + name = name.replace(/[\n]/g, "\u21B5"); + } + if (name && name.trim()) { + return name; + } + return `"${name}"`; + } + getDetail(node) { + if (!node) { + return void 0; + } + if (node.type === "boolean" || node.type === "number" || node.type === "null" || node.type === "string") { + return String(node.value); + } else { + if (node.type === "array") { + return node.children.length ? void 0 : "[]"; + } else if (node.type === "object") { + return node.children.length ? void 0 : "{}"; + } + } + return void 0; + } + findDocumentColors(document2, doc, context) { + return this.schemaService.getSchemaForResource(document2.uri, doc).then((schema) => { + const result = []; + if (schema) { + let limit = context && typeof context.resultLimit === "number" ? context.resultLimit : Number.MAX_VALUE; + const matchingSchemas = doc.getMatchingSchemas(schema.schema); + const visitedNode = {}; + for (const s of matchingSchemas) { + if (!s.inverted && s.schema && (s.schema.format === "color" || s.schema.format === "color-hex") && s.node && s.node.type === "string") { + const nodeId = String(s.node.offset); + if (!visitedNode[nodeId]) { + const color = colorFromHex(getNodeValue3(s.node)); + if (color) { + const range = getRange(document2, s.node); + result.push({ color, range }); + } + visitedNode[nodeId] = true; + limit--; + if (limit <= 0) { + if (context && context.onResultLimitExceeded) { + context.onResultLimitExceeded(document2.uri); + } + return result; + } + } + } + } + } + return result; + }); + } + getColorPresentations(document2, doc, color, range) { + const result = []; + const red256 = Math.round(color.red * 255), green256 = Math.round(color.green * 255), blue256 = Math.round(color.blue * 255); + function toTwoDigitHex(n) { + const r = n.toString(16); + return r.length !== 2 ? "0" + r : r; + } + let label; + if (color.alpha === 1) { + label = `#${toTwoDigitHex(red256)}${toTwoDigitHex(green256)}${toTwoDigitHex(blue256)}`; + } else { + label = `#${toTwoDigitHex(red256)}${toTwoDigitHex(green256)}${toTwoDigitHex(blue256)}${toTwoDigitHex(Math.round(color.alpha * 255))}`; + } + result.push({ label, textEdit: TextEdit.replace(range, JSON.stringify(label)) }); + return result; + } + }; + function getRange(document2, node) { + return Range2.create(document2.positionAt(node.offset), document2.positionAt(node.offset + node.length)); + } + function getName(node) { + return getNodeValue3(node) || t(""); + } + var schemaContributions = { + schemaAssociations: [], + schemas: { + // bundle the schema-schema to include (localized) descriptions + "http://json-schema.org/draft-04/schema#": { + "$schema": "http://json-schema.org/draft-04/schema#", + "definitions": { + "schemaArray": { + "type": "array", + "minItems": 1, + "items": { + "$ref": "#" + } + }, + "positiveInteger": { + "type": "integer", + "minimum": 0 + }, + "positiveIntegerDefault0": { + "allOf": [ + { + "$ref": "#/definitions/positiveInteger" + }, + { + "default": 0 + } + ] + }, + "simpleTypes": { + "type": "string", + "enum": [ + "array", + "boolean", + "integer", + "null", + "number", + "object", + "string" + ] + }, + "stringArray": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 1, + "uniqueItems": true + } + }, + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uri" + }, + "$schema": { + "type": "string", + "format": "uri" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "default": {}, + "multipleOf": { + "type": "number", + "minimum": 0, + "exclusiveMinimum": true + }, + "maximum": { + "type": "number" + }, + "exclusiveMaximum": { + "type": "boolean", + "default": false + }, + "minimum": { + "type": "number" + }, + "exclusiveMinimum": { + "type": "boolean", + "default": false + }, + "maxLength": { + "allOf": [ + { + "$ref": "#/definitions/positiveInteger" + } + ] + }, + "minLength": { + "allOf": [ + { + "$ref": "#/definitions/positiveIntegerDefault0" + } + ] + }, + "pattern": { + "type": "string", + "format": "regex" + }, + "additionalItems": { + "anyOf": [ + { + "type": "boolean" + }, + { + "$ref": "#" + } + ], + "default": {} + }, + "items": { + "anyOf": [ + { + "$ref": "#" + }, + { + "$ref": "#/definitions/schemaArray" + } + ], + "default": {} + }, + "maxItems": { + "allOf": [ + { + "$ref": "#/definitions/positiveInteger" + } + ] + }, + "minItems": { + "allOf": [ + { + "$ref": "#/definitions/positiveIntegerDefault0" + } + ] + }, + "uniqueItems": { + "type": "boolean", + "default": false + }, + "maxProperties": { + "allOf": [ + { + "$ref": "#/definitions/positiveInteger" + } + ] + }, + "minProperties": { + "allOf": [ + { + "$ref": "#/definitions/positiveIntegerDefault0" + } + ] + }, + "required": { + "allOf": [ + { + "$ref": "#/definitions/stringArray" + } + ] + }, + "additionalProperties": { + "anyOf": [ + { + "type": "boolean" + }, + { + "$ref": "#" + } + ], + "default": {} + }, + "definitions": { + "type": "object", + "additionalProperties": { + "$ref": "#" + }, + "default": {} + }, + "properties": { + "type": "object", + "additionalProperties": { + "$ref": "#" + }, + "default": {} + }, + "patternProperties": { + "type": "object", + "additionalProperties": { + "$ref": "#" + }, + "default": {} + }, + "dependencies": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "$ref": "#" + }, + { + "$ref": "#/definitions/stringArray" + } + ] + } + }, + "enum": { + "type": "array", + "minItems": 1, + "uniqueItems": true + }, + "type": { + "anyOf": [ + { + "$ref": "#/definitions/simpleTypes" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/simpleTypes" + }, + "minItems": 1, + "uniqueItems": true + } + ] + }, + "format": { + "anyOf": [ + { + "type": "string", + "enum": [ + "date-time", + "uri", + "email", + "hostname", + "ipv4", + "ipv6", + "regex" + ] + }, + { + "type": "string" + } + ] + }, + "allOf": { + "allOf": [ + { + "$ref": "#/definitions/schemaArray" + } + ] + }, + "anyOf": { + "allOf": [ + { + "$ref": "#/definitions/schemaArray" + } + ] + }, + "oneOf": { + "allOf": [ + { + "$ref": "#/definitions/schemaArray" + } + ] + }, + "not": { + "allOf": [ + { + "$ref": "#" + } + ] + } + }, + "dependencies": { + "exclusiveMaximum": [ + "maximum" + ], + "exclusiveMinimum": [ + "minimum" + ] + }, + "default": {} + }, + "http://json-schema.org/draft-07/schema#": { + "definitions": { + "schemaArray": { + "type": "array", + "minItems": 1, + "items": { "$ref": "#" } + }, + "nonNegativeInteger": { + "type": "integer", + "minimum": 0 + }, + "nonNegativeIntegerDefault0": { + "allOf": [ + { "$ref": "#/definitions/nonNegativeInteger" }, + { "default": 0 } + ] + }, + "simpleTypes": { + "enum": [ + "array", + "boolean", + "integer", + "null", + "number", + "object", + "string" + ] + }, + "stringArray": { + "type": "array", + "items": { "type": "string" }, + "uniqueItems": true, + "default": [] + } + }, + "type": ["object", "boolean"], + "properties": { + "$id": { + "type": "string", + "format": "uri-reference" + }, + "$schema": { + "type": "string", + "format": "uri" + }, + "$ref": { + "type": "string", + "format": "uri-reference" + }, + "$comment": { + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "default": true, + "readOnly": { + "type": "boolean", + "default": false + }, + "examples": { + "type": "array", + "items": true + }, + "multipleOf": { + "type": "number", + "exclusiveMinimum": 0 + }, + "maximum": { + "type": "number" + }, + "exclusiveMaximum": { + "type": "number" + }, + "minimum": { + "type": "number" + }, + "exclusiveMinimum": { + "type": "number" + }, + "maxLength": { "$ref": "#/definitions/nonNegativeInteger" }, + "minLength": { "$ref": "#/definitions/nonNegativeIntegerDefault0" }, + "pattern": { + "type": "string", + "format": "regex" + }, + "additionalItems": { "$ref": "#" }, + "items": { + "anyOf": [ + { "$ref": "#" }, + { "$ref": "#/definitions/schemaArray" } + ], + "default": true + }, + "maxItems": { "$ref": "#/definitions/nonNegativeInteger" }, + "minItems": { "$ref": "#/definitions/nonNegativeIntegerDefault0" }, + "uniqueItems": { + "type": "boolean", + "default": false + }, + "contains": { "$ref": "#" }, + "maxProperties": { "$ref": "#/definitions/nonNegativeInteger" }, + "minProperties": { "$ref": "#/definitions/nonNegativeIntegerDefault0" }, + "required": { "$ref": "#/definitions/stringArray" }, + "additionalProperties": { "$ref": "#" }, + "definitions": { + "type": "object", + "additionalProperties": { "$ref": "#" }, + "default": {} + }, + "properties": { + "type": "object", + "additionalProperties": { "$ref": "#" }, + "default": {} + }, + "patternProperties": { + "type": "object", + "additionalProperties": { "$ref": "#" }, + "propertyNames": { "format": "regex" }, + "default": {} + }, + "dependencies": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { "$ref": "#" }, + { "$ref": "#/definitions/stringArray" } + ] + } + }, + "propertyNames": { "$ref": "#" }, + "const": true, + "enum": { + "type": "array", + "items": true, + "minItems": 1, + "uniqueItems": true + }, + "type": { + "anyOf": [ + { "$ref": "#/definitions/simpleTypes" }, + { + "type": "array", + "items": { "$ref": "#/definitions/simpleTypes" }, + "minItems": 1, + "uniqueItems": true + } + ] + }, + "format": { "type": "string" }, + "contentMediaType": { "type": "string" }, + "contentEncoding": { "type": "string" }, + "if": { "$ref": "#" }, + "then": { "$ref": "#" }, + "else": { "$ref": "#" }, + "allOf": { "$ref": "#/definitions/schemaArray" }, + "anyOf": { "$ref": "#/definitions/schemaArray" }, + "oneOf": { "$ref": "#/definitions/schemaArray" }, + "not": { "$ref": "#" } + }, + "default": true + } + } + }; + var descriptions = { + id: t("A unique identifier for the schema."), + $schema: t("The schema to verify this document against."), + title: t("A descriptive title of the element."), + description: t("A long description of the element. Used in hover menus and suggestions."), + default: t("A default value. Used by suggestions."), + multipleOf: t("A number that should cleanly divide the current value (i.e. have no remainder)."), + maximum: t("The maximum numerical value, inclusive by default."), + exclusiveMaximum: t("Makes the maximum property exclusive."), + minimum: t("The minimum numerical value, inclusive by default."), + exclusiveMinimum: t("Makes the minimum property exclusive."), + maxLength: t("The maximum length of a string."), + minLength: t("The minimum length of a string."), + pattern: t("A regular expression to match the string against. It is not implicitly anchored."), + additionalItems: t("For arrays, only when items is set as an array. If it is a schema, then this schema validates items after the ones specified by the items array. If it is false, then additional items will cause validation to fail."), + items: t("For arrays. Can either be a schema to validate every element against or an array of schemas to validate each item against in order (the first schema will validate the first element, the second schema will validate the second element, and so on."), + maxItems: t("The maximum number of items that can be inside an array. Inclusive."), + minItems: t("The minimum number of items that can be inside an array. Inclusive."), + uniqueItems: t("If all of the items in the array must be unique. Defaults to false."), + maxProperties: t("The maximum number of properties an object can have. Inclusive."), + minProperties: t("The minimum number of properties an object can have. Inclusive."), + required: t("An array of strings that lists the names of all properties required on this object."), + additionalProperties: t("Either a schema or a boolean. If a schema, then used to validate all properties not matched by 'properties' or 'patternProperties'. If false, then any properties not matched by either will cause this schema to fail."), + definitions: t("Not used for validation. Place subschemas here that you wish to reference inline with $ref."), + properties: t("A map of property names to schemas for each property."), + patternProperties: t("A map of regular expressions on property names to schemas for matching properties."), + dependencies: t("A map of property names to either an array of property names or a schema. An array of property names means the property named in the key depends on the properties in the array being present in the object in order to be valid. If the value is a schema, then the schema is only applied to the object if the property in the key exists on the object."), + enum: t("The set of literal values that are valid."), + type: t("Either a string of one of the basic schema types (number, integer, null, array, object, boolean, string) or an array of strings specifying a subset of those types."), + format: t("Describes the format expected for the value."), + allOf: t("An array of schemas, all of which must match."), + anyOf: t("An array of schemas, where at least one must match."), + oneOf: t("An array of schemas, exactly one of which must match."), + not: t("A schema which must not match."), + $id: t("A unique identifier for the schema."), + $ref: t("Reference a definition hosted on any location."), + $comment: t("Comments from schema authors to readers or maintainers of the schema."), + readOnly: t("Indicates that the value of the instance is managed exclusively by the owning authority."), + examples: t("Sample JSON values associated with a particular schema, for the purpose of illustrating usage."), + contains: t('An array instance is valid against "contains" if at least one of its elements is valid against the given schema.'), + propertyNames: t("If the instance is an object, this keyword validates if every property name in the instance validates against the provided schema."), + const: t("An instance validates successfully against this keyword if its value is equal to the value of the keyword."), + contentMediaType: t("Describes the media type of a string property."), + contentEncoding: t("Describes the content encoding of a string property."), + if: t('The validation outcome of the "if" subschema controls which of the "then" or "else" keywords are evaluated.'), + then: t('The "if" subschema is used for validation when the "if" subschema succeeds.'), + else: t('The "else" subschema is used for validation when the "if" subschema fails.') + }; + for (const schemaName in schemaContributions.schemas) { + const schema = schemaContributions.schemas[schemaName]; + for (const property in schema.properties) { + let propertyObject = schema.properties[property]; + if (typeof propertyObject === "boolean") { + propertyObject = schema.properties[property] = {}; + } + const description = descriptions[property]; + if (description) { + propertyObject["description"] = description; + } + } + } + var LIB; + (() => { + "use strict"; + var t2 = { 470: (t3) => { + function e2(t4) { + if ("string" != typeof t4) + throw new TypeError("Path must be a string. Received " + JSON.stringify(t4)); + } + function r2(t4, e3) { + for (var r3, n3 = "", i = 0, o = -1, s = 0, h = 0; h <= t4.length; ++h) { + if (h < t4.length) + r3 = t4.charCodeAt(h); + else { + if (47 === r3) + break; + r3 = 47; + } + if (47 === r3) { + if (o === h - 1 || 1 === s) + ; + else if (o !== h - 1 && 2 === s) { + if (n3.length < 2 || 2 !== i || 46 !== n3.charCodeAt(n3.length - 1) || 46 !== n3.charCodeAt(n3.length - 2)) { + if (n3.length > 2) { + var a2 = n3.lastIndexOf("/"); + if (a2 !== n3.length - 1) { + -1 === a2 ? (n3 = "", i = 0) : i = (n3 = n3.slice(0, a2)).length - 1 - n3.lastIndexOf("/"), o = h, s = 0; + continue; + } + } else if (2 === n3.length || 1 === n3.length) { + n3 = "", i = 0, o = h, s = 0; + continue; + } + } + e3 && (n3.length > 0 ? n3 += "/.." : n3 = "..", i = 2); + } else + n3.length > 0 ? n3 += "/" + t4.slice(o + 1, h) : n3 = t4.slice(o + 1, h), i = h - o - 1; + o = h, s = 0; + } else + 46 === r3 && -1 !== s ? ++s : s = -1; + } + return n3; + } + var n2 = { resolve: function() { + for (var t4, n3 = "", i = false, o = arguments.length - 1; o >= -1 && !i; o--) { + var s; + o >= 0 ? s = arguments[o] : (void 0 === t4 && (t4 = process.cwd()), s = t4), e2(s), 0 !== s.length && (n3 = s + "/" + n3, i = 47 === s.charCodeAt(0)); + } + return n3 = r2(n3, !i), i ? n3.length > 0 ? "/" + n3 : "/" : n3.length > 0 ? n3 : "."; + }, normalize: function(t4) { + if (e2(t4), 0 === t4.length) + return "."; + var n3 = 47 === t4.charCodeAt(0), i = 47 === t4.charCodeAt(t4.length - 1); + return 0 !== (t4 = r2(t4, !n3)).length || n3 || (t4 = "."), t4.length > 0 && i && (t4 += "/"), n3 ? "/" + t4 : t4; + }, isAbsolute: function(t4) { + return e2(t4), t4.length > 0 && 47 === t4.charCodeAt(0); + }, join: function() { + if (0 === arguments.length) + return "."; + for (var t4, r3 = 0; r3 < arguments.length; ++r3) { + var i = arguments[r3]; + e2(i), i.length > 0 && (void 0 === t4 ? t4 = i : t4 += "/" + i); + } + return void 0 === t4 ? "." : n2.normalize(t4); + }, relative: function(t4, r3) { + if (e2(t4), e2(r3), t4 === r3) + return ""; + if ((t4 = n2.resolve(t4)) === (r3 = n2.resolve(r3))) + return ""; + for (var i = 1; i < t4.length && 47 === t4.charCodeAt(i); ++i) + ; + for (var o = t4.length, s = o - i, h = 1; h < r3.length && 47 === r3.charCodeAt(h); ++h) + ; + for (var a2 = r3.length - h, c = s < a2 ? s : a2, f2 = -1, u = 0; u <= c; ++u) { + if (u === c) { + if (a2 > c) { + if (47 === r3.charCodeAt(h + u)) + return r3.slice(h + u + 1); + if (0 === u) + return r3.slice(h + u); + } else + s > c && (47 === t4.charCodeAt(i + u) ? f2 = u : 0 === u && (f2 = 0)); + break; + } + var l = t4.charCodeAt(i + u); + if (l !== r3.charCodeAt(h + u)) + break; + 47 === l && (f2 = u); + } + var g = ""; + for (u = i + f2 + 1; u <= o; ++u) + u !== o && 47 !== t4.charCodeAt(u) || (0 === g.length ? g += ".." : g += "/.."); + return g.length > 0 ? g + r3.slice(h + f2) : (h += f2, 47 === r3.charCodeAt(h) && ++h, r3.slice(h)); + }, _makeLong: function(t4) { + return t4; + }, dirname: function(t4) { + if (e2(t4), 0 === t4.length) + return "."; + for (var r3 = t4.charCodeAt(0), n3 = 47 === r3, i = -1, o = true, s = t4.length - 1; s >= 1; --s) + if (47 === (r3 = t4.charCodeAt(s))) { + if (!o) { + i = s; + break; + } + } else + o = false; + return -1 === i ? n3 ? "/" : "." : n3 && 1 === i ? "//" : t4.slice(0, i); + }, basename: function(t4, r3) { + if (void 0 !== r3 && "string" != typeof r3) + throw new TypeError('"ext" argument must be a string'); + e2(t4); + var n3, i = 0, o = -1, s = true; + if (void 0 !== r3 && r3.length > 0 && r3.length <= t4.length) { + if (r3.length === t4.length && r3 === t4) + return ""; + var h = r3.length - 1, a2 = -1; + for (n3 = t4.length - 1; n3 >= 0; --n3) { + var c = t4.charCodeAt(n3); + if (47 === c) { + if (!s) { + i = n3 + 1; + break; + } + } else + -1 === a2 && (s = false, a2 = n3 + 1), h >= 0 && (c === r3.charCodeAt(h) ? -1 == --h && (o = n3) : (h = -1, o = a2)); + } + return i === o ? o = a2 : -1 === o && (o = t4.length), t4.slice(i, o); + } + for (n3 = t4.length - 1; n3 >= 0; --n3) + if (47 === t4.charCodeAt(n3)) { + if (!s) { + i = n3 + 1; + break; + } + } else + -1 === o && (s = false, o = n3 + 1); + return -1 === o ? "" : t4.slice(i, o); + }, extname: function(t4) { + e2(t4); + for (var r3 = -1, n3 = 0, i = -1, o = true, s = 0, h = t4.length - 1; h >= 0; --h) { + var a2 = t4.charCodeAt(h); + if (47 !== a2) + -1 === i && (o = false, i = h + 1), 46 === a2 ? -1 === r3 ? r3 = h : 1 !== s && (s = 1) : -1 !== r3 && (s = -1); + else if (!o) { + n3 = h + 1; + break; + } + } + return -1 === r3 || -1 === i || 0 === s || 1 === s && r3 === i - 1 && r3 === n3 + 1 ? "" : t4.slice(r3, i); + }, format: function(t4) { + if (null === t4 || "object" != typeof t4) + throw new TypeError('The "pathObject" argument must be of type Object. Received type ' + typeof t4); + return function(t5, e3) { + var r3 = e3.dir || e3.root, n3 = e3.base || (e3.name || "") + (e3.ext || ""); + return r3 ? r3 === e3.root ? r3 + n3 : r3 + "/" + n3 : n3; + }(0, t4); + }, parse: function(t4) { + e2(t4); + var r3 = { root: "", dir: "", base: "", ext: "", name: "" }; + if (0 === t4.length) + return r3; + var n3, i = t4.charCodeAt(0), o = 47 === i; + o ? (r3.root = "/", n3 = 1) : n3 = 0; + for (var s = -1, h = 0, a2 = -1, c = true, f2 = t4.length - 1, u = 0; f2 >= n3; --f2) + if (47 !== (i = t4.charCodeAt(f2))) + -1 === a2 && (c = false, a2 = f2 + 1), 46 === i ? -1 === s ? s = f2 : 1 !== u && (u = 1) : -1 !== s && (u = -1); + else if (!c) { + h = f2 + 1; + break; + } + return -1 === s || -1 === a2 || 0 === u || 1 === u && s === a2 - 1 && s === h + 1 ? -1 !== a2 && (r3.base = r3.name = 0 === h && o ? t4.slice(1, a2) : t4.slice(h, a2)) : (0 === h && o ? (r3.name = t4.slice(1, s), r3.base = t4.slice(1, a2)) : (r3.name = t4.slice(h, s), r3.base = t4.slice(h, a2)), r3.ext = t4.slice(s, a2)), h > 0 ? r3.dir = t4.slice(0, h - 1) : o && (r3.dir = "/"), r3; + }, sep: "/", delimiter: ":", win32: null, posix: null }; + n2.posix = n2, t3.exports = n2; + } }, e = {}; + function r(n2) { + var i = e[n2]; + if (void 0 !== i) + return i.exports; + var o = e[n2] = { exports: {} }; + return t2[n2](o, o.exports, r), o.exports; + } + r.d = (t3, e2) => { + for (var n2 in e2) + r.o(e2, n2) && !r.o(t3, n2) && Object.defineProperty(t3, n2, { enumerable: true, get: e2[n2] }); + }, r.o = (t3, e2) => Object.prototype.hasOwnProperty.call(t3, e2), r.r = (t3) => { + "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t3, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(t3, "__esModule", { value: true }); + }; + var n = {}; + (() => { + let t3; + if (r.r(n), r.d(n, { URI: () => f2, Utils: () => P }), "object" == typeof process) + t3 = "win32" === process.platform; + else if ("object" == typeof navigator) { + let e3 = navigator.userAgent; + t3 = e3.indexOf("Windows") >= 0; + } + const e2 = /^\w[\w\d+.-]*$/, i = /^\//, o = /^\/\//; + function s(t4, r2) { + if (!t4.scheme && r2) + throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${t4.authority}", path: "${t4.path}", query: "${t4.query}", fragment: "${t4.fragment}"}`); + if (t4.scheme && !e2.test(t4.scheme)) + throw new Error("[UriError]: Scheme contains illegal characters."); + if (t4.path) { + if (t4.authority) { + if (!i.test(t4.path)) + throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character'); + } else if (o.test(t4.path)) + throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")'); + } + } + const h = "", a2 = "/", c = /^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/; + class f2 { + static isUri(t4) { + return t4 instanceof f2 || !!t4 && "string" == typeof t4.authority && "string" == typeof t4.fragment && "string" == typeof t4.path && "string" == typeof t4.query && "string" == typeof t4.scheme && "string" == typeof t4.fsPath && "function" == typeof t4.with && "function" == typeof t4.toString; + } + scheme; + authority; + path; + query; + fragment; + constructor(t4, e3, r2, n2, i2, o2 = false) { + "object" == typeof t4 ? (this.scheme = t4.scheme || h, this.authority = t4.authority || h, this.path = t4.path || h, this.query = t4.query || h, this.fragment = t4.fragment || h) : (this.scheme = /* @__PURE__ */ function(t5, e4) { + return t5 || e4 ? t5 : "file"; + }(t4, o2), this.authority = e3 || h, this.path = function(t5, e4) { + switch (t5) { + case "https": + case "http": + case "file": + e4 ? e4[0] !== a2 && (e4 = a2 + e4) : e4 = a2; + } + return e4; + }(this.scheme, r2 || h), this.query = n2 || h, this.fragment = i2 || h, s(this, o2)); + } + get fsPath() { + return m(this, false); + } + with(t4) { + if (!t4) + return this; + let { scheme: e3, authority: r2, path: n2, query: i2, fragment: o2 } = t4; + return void 0 === e3 ? e3 = this.scheme : null === e3 && (e3 = h), void 0 === r2 ? r2 = this.authority : null === r2 && (r2 = h), void 0 === n2 ? n2 = this.path : null === n2 && (n2 = h), void 0 === i2 ? i2 = this.query : null === i2 && (i2 = h), void 0 === o2 ? o2 = this.fragment : null === o2 && (o2 = h), e3 === this.scheme && r2 === this.authority && n2 === this.path && i2 === this.query && o2 === this.fragment ? this : new l(e3, r2, n2, i2, o2); + } + static parse(t4, e3 = false) { + const r2 = c.exec(t4); + return r2 ? new l(r2[2] || h, C(r2[4] || h), C(r2[5] || h), C(r2[7] || h), C(r2[9] || h), e3) : new l(h, h, h, h, h); + } + static file(e3) { + let r2 = h; + if (t3 && (e3 = e3.replace(/\\/g, a2)), e3[0] === a2 && e3[1] === a2) { + const t4 = e3.indexOf(a2, 2); + -1 === t4 ? (r2 = e3.substring(2), e3 = a2) : (r2 = e3.substring(2, t4), e3 = e3.substring(t4) || a2); + } + return new l("file", r2, e3, h, h); + } + static from(t4) { + const e3 = new l(t4.scheme, t4.authority, t4.path, t4.query, t4.fragment); + return s(e3, true), e3; + } + toString(t4 = false) { + return y(this, t4); + } + toJSON() { + return this; + } + static revive(t4) { + if (t4) { + if (t4 instanceof f2) + return t4; + { + const e3 = new l(t4); + return e3._formatted = t4.external, e3._fsPath = t4._sep === u ? t4.fsPath : null, e3; + } + } + return t4; + } + } + const u = t3 ? 1 : void 0; + class l extends f2 { + _formatted = null; + _fsPath = null; + get fsPath() { + return this._fsPath || (this._fsPath = m(this, false)), this._fsPath; + } + toString(t4 = false) { + return t4 ? y(this, true) : (this._formatted || (this._formatted = y(this, false)), this._formatted); + } + toJSON() { + const t4 = { $mid: 1 }; + return this._fsPath && (t4.fsPath = this._fsPath, t4._sep = u), this._formatted && (t4.external = this._formatted), this.path && (t4.path = this.path), this.scheme && (t4.scheme = this.scheme), this.authority && (t4.authority = this.authority), this.query && (t4.query = this.query), this.fragment && (t4.fragment = this.fragment), t4; + } + } + const g = { 58: "%3A", 47: "%2F", 63: "%3F", 35: "%23", 91: "%5B", 93: "%5D", 64: "%40", 33: "%21", 36: "%24", 38: "%26", 39: "%27", 40: "%28", 41: "%29", 42: "%2A", 43: "%2B", 44: "%2C", 59: "%3B", 61: "%3D", 32: "%20" }; + function d(t4, e3, r2) { + let n2, i2 = -1; + for (let o2 = 0; o2 < t4.length; o2++) { + const s2 = t4.charCodeAt(o2); + if (s2 >= 97 && s2 <= 122 || s2 >= 65 && s2 <= 90 || s2 >= 48 && s2 <= 57 || 45 === s2 || 46 === s2 || 95 === s2 || 126 === s2 || e3 && 47 === s2 || r2 && 91 === s2 || r2 && 93 === s2 || r2 && 58 === s2) + -1 !== i2 && (n2 += encodeURIComponent(t4.substring(i2, o2)), i2 = -1), void 0 !== n2 && (n2 += t4.charAt(o2)); + else { + void 0 === n2 && (n2 = t4.substr(0, o2)); + const e4 = g[s2]; + void 0 !== e4 ? (-1 !== i2 && (n2 += encodeURIComponent(t4.substring(i2, o2)), i2 = -1), n2 += e4) : -1 === i2 && (i2 = o2); + } + } + return -1 !== i2 && (n2 += encodeURIComponent(t4.substring(i2))), void 0 !== n2 ? n2 : t4; + } + function p(t4) { + let e3; + for (let r2 = 0; r2 < t4.length; r2++) { + const n2 = t4.charCodeAt(r2); + 35 === n2 || 63 === n2 ? (void 0 === e3 && (e3 = t4.substr(0, r2)), e3 += g[n2]) : void 0 !== e3 && (e3 += t4[r2]); + } + return void 0 !== e3 ? e3 : t4; + } + function m(e3, r2) { + let n2; + return n2 = e3.authority && e3.path.length > 1 && "file" === e3.scheme ? `//${e3.authority}${e3.path}` : 47 === e3.path.charCodeAt(0) && (e3.path.charCodeAt(1) >= 65 && e3.path.charCodeAt(1) <= 90 || e3.path.charCodeAt(1) >= 97 && e3.path.charCodeAt(1) <= 122) && 58 === e3.path.charCodeAt(2) ? r2 ? e3.path.substr(1) : e3.path[1].toLowerCase() + e3.path.substr(2) : e3.path, t3 && (n2 = n2.replace(/\//g, "\\")), n2; + } + function y(t4, e3) { + const r2 = e3 ? p : d; + let n2 = "", { scheme: i2, authority: o2, path: s2, query: h2, fragment: c2 } = t4; + if (i2 && (n2 += i2, n2 += ":"), (o2 || "file" === i2) && (n2 += a2, n2 += a2), o2) { + let t5 = o2.indexOf("@"); + if (-1 !== t5) { + const e4 = o2.substr(0, t5); + o2 = o2.substr(t5 + 1), t5 = e4.lastIndexOf(":"), -1 === t5 ? n2 += r2(e4, false, false) : (n2 += r2(e4.substr(0, t5), false, false), n2 += ":", n2 += r2(e4.substr(t5 + 1), false, true)), n2 += "@"; + } + o2 = o2.toLowerCase(), t5 = o2.lastIndexOf(":"), -1 === t5 ? n2 += r2(o2, false, true) : (n2 += r2(o2.substr(0, t5), false, true), n2 += o2.substr(t5)); + } + if (s2) { + if (s2.length >= 3 && 47 === s2.charCodeAt(0) && 58 === s2.charCodeAt(2)) { + const t5 = s2.charCodeAt(1); + t5 >= 65 && t5 <= 90 && (s2 = `/${String.fromCharCode(t5 + 32)}:${s2.substr(3)}`); + } else if (s2.length >= 2 && 58 === s2.charCodeAt(1)) { + const t5 = s2.charCodeAt(0); + t5 >= 65 && t5 <= 90 && (s2 = `${String.fromCharCode(t5 + 32)}:${s2.substr(2)}`); + } + n2 += r2(s2, true, false); + } + return h2 && (n2 += "?", n2 += r2(h2, false, false)), c2 && (n2 += "#", n2 += e3 ? c2 : d(c2, false, false)), n2; + } + function v(t4) { + try { + return decodeURIComponent(t4); + } catch { + return t4.length > 3 ? t4.substr(0, 3) + v(t4.substr(3)) : t4; + } + } + const b = /(%[0-9A-Za-z][0-9A-Za-z])+/g; + function C(t4) { + return t4.match(b) ? t4.replace(b, (t5) => v(t5)) : t4; + } + var A2 = r(470); + const w = A2.posix || A2, x = "/"; + var P; + !function(t4) { + t4.joinPath = function(t5, ...e3) { + return t5.with({ path: w.join(t5.path, ...e3) }); + }, t4.resolvePath = function(t5, ...e3) { + let r2 = t5.path, n2 = false; + r2[0] !== x && (r2 = x + r2, n2 = true); + let i2 = w.resolve(r2, ...e3); + return n2 && i2[0] === x && !t5.authority && (i2 = i2.substring(1)), t5.with({ path: i2 }); + }, t4.dirname = function(t5) { + if (0 === t5.path.length || t5.path === x) + return t5; + let e3 = w.dirname(t5.path); + return 1 === e3.length && 46 === e3.charCodeAt(0) && (e3 = ""), t5.with({ path: e3 }); + }, t4.basename = function(t5) { + return w.basename(t5.path); + }, t4.extname = function(t5) { + return w.extname(t5.path); + }; + }(P || (P = {})); + })(), LIB = n; + })(); + var { URI: URI22, Utils } = LIB; + function createRegex(glob, opts) { + if (typeof glob !== "string") { + throw new TypeError("Expected a string"); + } + const str = String(glob); + let reStr = ""; + const extended = opts ? !!opts.extended : false; + const globstar = opts ? !!opts.globstar : false; + let inGroup = false; + const flags = opts && typeof opts.flags === "string" ? opts.flags : ""; + let c; + for (let i = 0, len = str.length; i < len; i++) { + c = str[i]; + switch (c) { + case "/": + case "$": + case "^": + case "+": + case ".": + case "(": + case ")": + case "=": + case "!": + case "|": + reStr += "\\" + c; + break; + case "?": + if (extended) { + reStr += "."; + break; + } + case "[": + case "]": + if (extended) { + reStr += c; + break; + } + case "{": + if (extended) { + inGroup = true; + reStr += "("; + break; + } + case "}": + if (extended) { + inGroup = false; + reStr += ")"; + break; + } + case ",": + if (inGroup) { + reStr += "|"; + break; + } + reStr += "\\" + c; + break; + case "*": + const prevChar = str[i - 1]; + let starCount = 1; + while (str[i + 1] === "*") { + starCount++; + i++; + } + const nextChar = str[i + 1]; + if (!globstar) { + reStr += ".*"; + } else { + const isGlobstar = starCount > 1 && (prevChar === "/" || prevChar === void 0 || prevChar === "{" || prevChar === ",") && (nextChar === "/" || nextChar === void 0 || nextChar === "," || nextChar === "}"); + if (isGlobstar) { + if (nextChar === "/") { + i++; + } else if (prevChar === "/" && reStr.endsWith("\\/")) { + reStr = reStr.substr(0, reStr.length - 2); + } + reStr += "((?:[^/]*(?:/|$))*)"; + } else { + reStr += "([^/]*)"; + } + } + break; + default: + reStr += c; + } + } + if (!flags || !~flags.indexOf("g")) { + reStr = "^" + reStr + "$"; + } + return new RegExp(reStr, flags); + } + var BANG = "!"; + var PATH_SEP = "/"; + var FilePatternAssociation = class { + constructor(pattern, folderUri, uris) { + this.folderUri = folderUri; + this.uris = uris; + this.globWrappers = []; + try { + for (let patternString of pattern) { + const include = patternString[0] !== BANG; + if (!include) { + patternString = patternString.substring(1); + } + if (patternString.length > 0) { + if (patternString[0] === PATH_SEP) { + patternString = patternString.substring(1); + } + this.globWrappers.push({ + regexp: createRegex("**/" + patternString, { extended: true, globstar: true }), + include + }); + } + } + ; + if (folderUri) { + folderUri = normalizeResourceForMatching(folderUri); + if (!folderUri.endsWith("/")) { + folderUri = folderUri + "/"; + } + this.folderUri = folderUri; + } + } catch (e) { + this.globWrappers.length = 0; + this.uris = []; + } + } + matchesPattern(fileName) { + if (this.folderUri && !fileName.startsWith(this.folderUri)) { + return false; + } + let match = false; + for (const { regexp, include } of this.globWrappers) { + if (regexp.test(fileName)) { + match = include; + } + } + return match; + } + getURIs() { + return this.uris; + } + }; + var SchemaHandle = class { + constructor(service, uri, unresolvedSchemaContent) { + this.service = service; + this.uri = uri; + this.dependencies = /* @__PURE__ */ new Set(); + this.anchors = void 0; + if (unresolvedSchemaContent) { + this.unresolvedSchema = this.service.promise.resolve(new UnresolvedSchema(unresolvedSchemaContent)); + } + } + getUnresolvedSchema() { + if (!this.unresolvedSchema) { + this.unresolvedSchema = this.service.loadSchema(this.uri); + } + return this.unresolvedSchema; + } + getResolvedSchema() { + if (!this.resolvedSchema) { + this.resolvedSchema = this.getUnresolvedSchema().then((unresolved) => { + return this.service.resolveSchemaContent(unresolved, this); + }); + } + return this.resolvedSchema; + } + clearSchema() { + const hasChanges = !!this.unresolvedSchema; + this.resolvedSchema = void 0; + this.unresolvedSchema = void 0; + this.dependencies.clear(); + this.anchors = void 0; + return hasChanges; + } + }; + var UnresolvedSchema = class { + constructor(schema, errors = []) { + this.schema = schema; + this.errors = errors; + } + }; + var ResolvedSchema = class { + constructor(schema, errors = [], warnings = [], schemaDraft) { + this.schema = schema; + this.errors = errors; + this.warnings = warnings; + this.schemaDraft = schemaDraft; + } + getSection(path) { + const schemaRef = this.getSectionRecursive(path, this.schema); + if (schemaRef) { + return asSchema(schemaRef); + } + return void 0; + } + getSectionRecursive(path, schema) { + if (!schema || typeof schema === "boolean" || path.length === 0) { + return schema; + } + const next = path.shift(); + if (schema.properties && typeof schema.properties[next]) { + return this.getSectionRecursive(path, schema.properties[next]); + } else if (schema.patternProperties) { + for (const pattern of Object.keys(schema.patternProperties)) { + const regex = extendedRegExp(pattern); + if (regex?.test(next)) { + return this.getSectionRecursive(path, schema.patternProperties[pattern]); + } + } + } else if (typeof schema.additionalProperties === "object") { + return this.getSectionRecursive(path, schema.additionalProperties); + } else if (next.match("[0-9]+")) { + if (Array.isArray(schema.items)) { + const index = parseInt(next, 10); + if (!isNaN(index) && schema.items[index]) { + return this.getSectionRecursive(path, schema.items[index]); + } + } else if (schema.items) { + return this.getSectionRecursive(path, schema.items); + } + } + return void 0; + } + }; + var JSONSchemaService = class { + constructor(requestService, contextService, promiseConstructor) { + this.contextService = contextService; + this.requestService = requestService; + this.promiseConstructor = promiseConstructor || Promise; + this.callOnDispose = []; + this.contributionSchemas = {}; + this.contributionAssociations = []; + this.schemasById = {}; + this.filePatternAssociations = []; + this.registeredSchemasIds = {}; + } + getRegisteredSchemaIds(filter) { + return Object.keys(this.registeredSchemasIds).filter((id) => { + const scheme = URI22.parse(id).scheme; + return scheme !== "schemaservice" && (!filter || filter(scheme)); + }); + } + get promise() { + return this.promiseConstructor; + } + dispose() { + while (this.callOnDispose.length > 0) { + this.callOnDispose.pop()(); + } + } + onResourceChange(uri) { + this.cachedSchemaForResource = void 0; + let hasChanges = false; + uri = normalizeId(uri); + const toWalk = [uri]; + const all = Object.keys(this.schemasById).map((key) => this.schemasById[key]); + while (toWalk.length) { + const curr = toWalk.pop(); + for (let i = 0; i < all.length; i++) { + const handle = all[i]; + if (handle && (handle.uri === curr || handle.dependencies.has(curr))) { + if (handle.uri !== curr) { + toWalk.push(handle.uri); + } + if (handle.clearSchema()) { + hasChanges = true; + } + all[i] = void 0; + } + } + } + return hasChanges; + } + setSchemaContributions(schemaContributions2) { + if (schemaContributions2.schemas) { + const schemas = schemaContributions2.schemas; + for (const id in schemas) { + const normalizedId = normalizeId(id); + this.contributionSchemas[normalizedId] = this.addSchemaHandle(normalizedId, schemas[id]); + } + } + if (Array.isArray(schemaContributions2.schemaAssociations)) { + const schemaAssociations = schemaContributions2.schemaAssociations; + for (let schemaAssociation of schemaAssociations) { + const uris = schemaAssociation.uris.map(normalizeId); + const association = this.addFilePatternAssociation(schemaAssociation.pattern, schemaAssociation.folderUri, uris); + this.contributionAssociations.push(association); + } + } + } + addSchemaHandle(id, unresolvedSchemaContent) { + const schemaHandle = new SchemaHandle(this, id, unresolvedSchemaContent); + this.schemasById[id] = schemaHandle; + return schemaHandle; + } + getOrAddSchemaHandle(id, unresolvedSchemaContent) { + return this.schemasById[id] || this.addSchemaHandle(id, unresolvedSchemaContent); + } + addFilePatternAssociation(pattern, folderUri, uris) { + const fpa = new FilePatternAssociation(pattern, folderUri, uris); + this.filePatternAssociations.push(fpa); + return fpa; + } + registerExternalSchema(config) { + const id = normalizeId(config.uri); + this.registeredSchemasIds[id] = true; + this.cachedSchemaForResource = void 0; + if (config.fileMatch && config.fileMatch.length) { + this.addFilePatternAssociation(config.fileMatch, config.folderUri, [id]); + } + return config.schema ? this.addSchemaHandle(id, config.schema) : this.getOrAddSchemaHandle(id); + } + clearExternalSchemas() { + this.schemasById = {}; + this.filePatternAssociations = []; + this.registeredSchemasIds = {}; + this.cachedSchemaForResource = void 0; + for (const id in this.contributionSchemas) { + this.schemasById[id] = this.contributionSchemas[id]; + this.registeredSchemasIds[id] = true; + } + for (const contributionAssociation of this.contributionAssociations) { + this.filePatternAssociations.push(contributionAssociation); + } + } + getResolvedSchema(schemaId) { + const id = normalizeId(schemaId); + const schemaHandle = this.schemasById[id]; + if (schemaHandle) { + return schemaHandle.getResolvedSchema(); + } + return this.promise.resolve(void 0); + } + loadSchema(url) { + if (!this.requestService) { + const errorMessage = t("Unable to load schema from '{0}'. No schema request service available", toDisplayString(url)); + return this.promise.resolve(new UnresolvedSchema({}, [errorMessage])); + } + if (url.startsWith("http://json-schema.org/")) { + url = "https" + url.substring(4); + } + return this.requestService(url).then((content) => { + if (!content) { + const errorMessage = t("Unable to load schema from '{0}': No content.", toDisplayString(url)); + return new UnresolvedSchema({}, [errorMessage]); + } + const errors = []; + if (content.charCodeAt(0) === 65279) { + errors.push(t("Problem reading content from '{0}': UTF-8 with BOM detected, only UTF 8 is allowed.", toDisplayString(url))); + content = content.trimStart(); + } + let schemaContent = {}; + const jsonErrors = []; + schemaContent = parse2(content, jsonErrors); + if (jsonErrors.length) { + errors.push(t("Unable to parse content from '{0}': Parse error at offset {1}.", toDisplayString(url), jsonErrors[0].offset)); + } + return new UnresolvedSchema(schemaContent, errors); + }, (error) => { + let errorMessage = error.toString(); + const errorSplit = error.toString().split("Error: "); + if (errorSplit.length > 1) { + errorMessage = errorSplit[1]; + } + if (endsWith(errorMessage, ".")) { + errorMessage = errorMessage.substr(0, errorMessage.length - 1); + } + return new UnresolvedSchema({}, [t("Unable to load schema from '{0}': {1}.", toDisplayString(url), errorMessage)]); + }); + } + resolveSchemaContent(schemaToResolve, handle) { + const resolveErrors = schemaToResolve.errors.slice(0); + const schema = schemaToResolve.schema; + let schemaDraft = schema.$schema ? normalizeId(schema.$schema) : void 0; + if (schemaDraft === "http://json-schema.org/draft-03/schema") { + return this.promise.resolve(new ResolvedSchema({}, [t("Draft-03 schemas are not supported.")], [], schemaDraft)); + } + let usesUnsupportedFeatures = /* @__PURE__ */ new Set(); + const contextService = this.contextService; + const findSectionByJSONPointer = (schema2, path) => { + path = decodeURIComponent(path); + let current = schema2; + if (path[0] === "/") { + path = path.substring(1); + } + path.split("/").some((part) => { + part = part.replace(/~1/g, "/").replace(/~0/g, "~"); + current = current[part]; + return !current; + }); + return current; + }; + const findSchemaById = (schema2, handle2, id) => { + if (!handle2.anchors) { + handle2.anchors = collectAnchors(schema2); + } + return handle2.anchors.get(id); + }; + const merge = (target, section) => { + for (const key in section) { + if (section.hasOwnProperty(key) && key !== "id" && key !== "$id") { + target[key] = section[key]; + } + } + }; + const mergeRef = (target, sourceRoot, sourceHandle, refSegment) => { + let section; + if (refSegment === void 0 || refSegment.length === 0) { + section = sourceRoot; + } else if (refSegment.charAt(0) === "/") { + section = findSectionByJSONPointer(sourceRoot, refSegment); + } else { + section = findSchemaById(sourceRoot, sourceHandle, refSegment); + } + if (section) { + merge(target, section); + } else { + resolveErrors.push(t("$ref '{0}' in '{1}' can not be resolved.", refSegment || "", sourceHandle.uri)); + } + }; + const resolveExternalLink = (node, uri, refSegment, parentHandle) => { + if (contextService && !/^[A-Za-z][A-Za-z0-9+\-.+]*:\/\/.*/.test(uri)) { + uri = contextService.resolveRelativePath(uri, parentHandle.uri); + } + uri = normalizeId(uri); + const referencedHandle = this.getOrAddSchemaHandle(uri); + return referencedHandle.getUnresolvedSchema().then((unresolvedSchema) => { + parentHandle.dependencies.add(uri); + if (unresolvedSchema.errors.length) { + const loc = refSegment ? uri + "#" + refSegment : uri; + resolveErrors.push(t("Problems loading reference '{0}': {1}", loc, unresolvedSchema.errors[0])); + } + mergeRef(node, unresolvedSchema.schema, referencedHandle, refSegment); + return resolveRefs(node, unresolvedSchema.schema, referencedHandle); + }); + }; + const resolveRefs = (node, parentSchema, parentHandle) => { + const openPromises = []; + this.traverseNodes(node, (next) => { + const seenRefs = /* @__PURE__ */ new Set(); + while (next.$ref) { + const ref = next.$ref; + const segments = ref.split("#", 2); + delete next.$ref; + if (segments[0].length > 0) { + openPromises.push(resolveExternalLink(next, segments[0], segments[1], parentHandle)); + return; + } else { + if (!seenRefs.has(ref)) { + const id = segments[1]; + mergeRef(next, parentSchema, parentHandle, id); + seenRefs.add(ref); + } + } + } + if (next.$recursiveRef) { + usesUnsupportedFeatures.add("$recursiveRef"); + } + if (next.$dynamicRef) { + usesUnsupportedFeatures.add("$dynamicRef"); + } + }); + return this.promise.all(openPromises); + }; + const collectAnchors = (root) => { + const result = /* @__PURE__ */ new Map(); + this.traverseNodes(root, (next) => { + const id = next.$id || next.id; + const anchor = isString2(id) && id.charAt(0) === "#" ? id.substring(1) : next.$anchor; + if (anchor) { + if (result.has(anchor)) { + resolveErrors.push(t("Duplicate anchor declaration: '{0}'", anchor)); + } else { + result.set(anchor, next); + } + } + if (next.$recursiveAnchor) { + usesUnsupportedFeatures.add("$recursiveAnchor"); + } + if (next.$dynamicAnchor) { + usesUnsupportedFeatures.add("$dynamicAnchor"); + } + }); + return result; + }; + return resolveRefs(schema, schema, handle).then((_) => { + let resolveWarnings = []; + if (usesUnsupportedFeatures.size) { + resolveWarnings.push(t("The schema uses meta-schema features ({0}) that are not yet supported by the validator.", Array.from(usesUnsupportedFeatures.keys()).join(", "))); + } + return new ResolvedSchema(schema, resolveErrors, resolveWarnings, schemaDraft); + }); + } + traverseNodes(root, handle) { + if (!root || typeof root !== "object") { + return Promise.resolve(null); + } + const seen = /* @__PURE__ */ new Set(); + const collectEntries = (...entries) => { + for (const entry of entries) { + if (isObject2(entry)) { + toWalk.push(entry); + } + } + }; + const collectMapEntries = (...maps) => { + for (const map of maps) { + if (isObject2(map)) { + for (const k in map) { + const key = k; + const entry = map[key]; + if (isObject2(entry)) { + toWalk.push(entry); + } + } + } + } + }; + const collectArrayEntries = (...arrays) => { + for (const array of arrays) { + if (Array.isArray(array)) { + for (const entry of array) { + if (isObject2(entry)) { + toWalk.push(entry); + } + } + } + } + }; + const collectEntryOrArrayEntries = (items) => { + if (Array.isArray(items)) { + for (const entry of items) { + if (isObject2(entry)) { + toWalk.push(entry); + } + } + } else if (isObject2(items)) { + toWalk.push(items); + } + }; + const toWalk = [root]; + let next = toWalk.pop(); + while (next) { + if (!seen.has(next)) { + seen.add(next); + handle(next); + collectEntries(next.additionalItems, next.additionalProperties, next.not, next.contains, next.propertyNames, next.if, next.then, next.else, next.unevaluatedItems, next.unevaluatedProperties); + collectMapEntries(next.definitions, next.$defs, next.properties, next.patternProperties, next.dependencies, next.dependentSchemas); + collectArrayEntries(next.anyOf, next.allOf, next.oneOf, next.prefixItems); + collectEntryOrArrayEntries(next.items); + } + next = toWalk.pop(); + } + } + getSchemaFromProperty(resource, document2) { + if (document2.root?.type === "object") { + for (const p of document2.root.properties) { + if (p.keyNode.value === "$schema" && p.valueNode?.type === "string") { + let schemaId = p.valueNode.value; + if (this.contextService && !/^\w[\w\d+.-]*:/.test(schemaId)) { + schemaId = this.contextService.resolveRelativePath(schemaId, resource); + } + return schemaId; + } + } + } + return void 0; + } + getAssociatedSchemas(resource) { + const seen = /* @__PURE__ */ Object.create(null); + const schemas = []; + const normalizedResource = normalizeResourceForMatching(resource); + for (const entry of this.filePatternAssociations) { + if (entry.matchesPattern(normalizedResource)) { + for (const schemaId of entry.getURIs()) { + if (!seen[schemaId]) { + schemas.push(schemaId); + seen[schemaId] = true; + } + } + } + } + return schemas; + } + getSchemaURIsForResource(resource, document2) { + let schemeId = document2 && this.getSchemaFromProperty(resource, document2); + if (schemeId) { + return [schemeId]; + } + return this.getAssociatedSchemas(resource); + } + getSchemaForResource(resource, document2) { + if (document2) { + let schemeId = this.getSchemaFromProperty(resource, document2); + if (schemeId) { + const id = normalizeId(schemeId); + return this.getOrAddSchemaHandle(id).getResolvedSchema(); + } + } + if (this.cachedSchemaForResource && this.cachedSchemaForResource.resource === resource) { + return this.cachedSchemaForResource.resolvedSchema; + } + const schemas = this.getAssociatedSchemas(resource); + const resolvedSchema = schemas.length > 0 ? this.createCombinedSchema(resource, schemas).getResolvedSchema() : this.promise.resolve(void 0); + this.cachedSchemaForResource = { resource, resolvedSchema }; + return resolvedSchema; + } + createCombinedSchema(resource, schemaIds) { + if (schemaIds.length === 1) { + return this.getOrAddSchemaHandle(schemaIds[0]); + } else { + const combinedSchemaId = "schemaservice://combinedSchema/" + encodeURIComponent(resource); + const combinedSchema = { + allOf: schemaIds.map((schemaId) => ({ $ref: schemaId })) + }; + return this.addSchemaHandle(combinedSchemaId, combinedSchema); + } + } + getMatchingSchemas(document2, jsonDocument, schema) { + if (schema) { + const id = schema.id || "schemaservice://untitled/matchingSchemas/" + idCounter2++; + const handle = this.addSchemaHandle(id, schema); + return handle.getResolvedSchema().then((resolvedSchema) => { + return jsonDocument.getMatchingSchemas(resolvedSchema.schema).filter((s) => !s.inverted); + }); + } + return this.getSchemaForResource(document2.uri, jsonDocument).then((schema2) => { + if (schema2) { + return jsonDocument.getMatchingSchemas(schema2.schema).filter((s) => !s.inverted); + } + return []; + }); + } + }; + var idCounter2 = 0; + function normalizeId(id) { + try { + return URI22.parse(id).toString(true); + } catch (e) { + return id; + } + } + function normalizeResourceForMatching(resource) { + try { + return URI22.parse(resource).with({ fragment: null, query: null }).toString(true); + } catch (e) { + return resource; + } + } + function toDisplayString(url) { + try { + const uri = URI22.parse(url); + if (uri.scheme === "file") { + return uri.fsPath; + } + } catch (e) { + } + return url; + } + function getFoldingRanges(document2, context) { + const ranges = []; + const nestingLevels = []; + const stack = []; + let prevStart = -1; + const scanner = createScanner2(document2.getText(), false); + let token = scanner.scan(); + function addRange(range) { + ranges.push(range); + nestingLevels.push(stack.length); + } + while (token !== 17) { + switch (token) { + case 1: + case 3: { + const startLine = document2.positionAt(scanner.getTokenOffset()).line; + const range = { startLine, endLine: startLine, kind: token === 1 ? "object" : "array" }; + stack.push(range); + break; + } + case 2: + case 4: { + const kind = token === 2 ? "object" : "array"; + if (stack.length > 0 && stack[stack.length - 1].kind === kind) { + const range = stack.pop(); + const line = document2.positionAt(scanner.getTokenOffset()).line; + if (range && line > range.startLine + 1 && prevStart !== range.startLine) { + range.endLine = line - 1; + addRange(range); + prevStart = range.startLine; + } + } + break; + } + case 13: { + const startLine = document2.positionAt(scanner.getTokenOffset()).line; + const endLine = document2.positionAt(scanner.getTokenOffset() + scanner.getTokenLength()).line; + if (scanner.getTokenError() === 1 && startLine + 1 < document2.lineCount) { + scanner.setPosition(document2.offsetAt(Position2.create(startLine + 1, 0))); + } else { + if (startLine < endLine) { + addRange({ startLine, endLine, kind: FoldingRangeKind2.Comment }); + prevStart = startLine; + } + } + break; + } + case 12: { + const text = document2.getText().substr(scanner.getTokenOffset(), scanner.getTokenLength()); + const m = text.match(/^\/\/\s*#(region\b)|(endregion\b)/); + if (m) { + const line = document2.positionAt(scanner.getTokenOffset()).line; + if (m[1]) { + const range = { startLine: line, endLine: line, kind: FoldingRangeKind2.Region }; + stack.push(range); + } else { + let i = stack.length - 1; + while (i >= 0 && stack[i].kind !== FoldingRangeKind2.Region) { + i--; + } + if (i >= 0) { + const range = stack[i]; + stack.length = i; + if (line > range.startLine && prevStart !== range.startLine) { + range.endLine = line; + addRange(range); + prevStart = range.startLine; + } + } + } + } + break; + } + } + token = scanner.scan(); + } + const rangeLimit = context && context.rangeLimit; + if (typeof rangeLimit !== "number" || ranges.length <= rangeLimit) { + return ranges; + } + if (context && context.onRangeLimitExceeded) { + context.onRangeLimitExceeded(document2.uri); + } + const counts = []; + for (let level of nestingLevels) { + if (level < 30) { + counts[level] = (counts[level] || 0) + 1; + } + } + let entries = 0; + let maxLevel = 0; + for (let i = 0; i < counts.length; i++) { + const n = counts[i]; + if (n) { + if (n + entries > rangeLimit) { + maxLevel = i; + break; + } + entries += n; + } + } + const result = []; + for (let i = 0; i < ranges.length; i++) { + const level = nestingLevels[i]; + if (typeof level === "number") { + if (level < maxLevel || level === maxLevel && entries++ < rangeLimit) { + result.push(ranges[i]); + } + } + } + return result; + } + function getSelectionRanges(document2, positions, doc) { + function getSelectionRange(position) { + let offset = document2.offsetAt(position); + let node = doc.getNodeFromOffset(offset, true); + const result = []; + while (node) { + switch (node.type) { + case "string": + case "object": + case "array": + const cStart = node.offset + 1, cEnd = node.offset + node.length - 1; + if (cStart < cEnd && offset >= cStart && offset <= cEnd) { + result.push(newRange(cStart, cEnd)); + } + result.push(newRange(node.offset, node.offset + node.length)); + break; + case "number": + case "boolean": + case "null": + case "property": + result.push(newRange(node.offset, node.offset + node.length)); + break; + } + if (node.type === "property" || node.parent && node.parent.type === "array") { + const afterCommaOffset = getOffsetAfterNextToken( + node.offset + node.length, + 5 + /* SyntaxKind.CommaToken */ + ); + if (afterCommaOffset !== -1) { + result.push(newRange(node.offset, afterCommaOffset)); + } + } + node = node.parent; + } + let current = void 0; + for (let index = result.length - 1; index >= 0; index--) { + current = SelectionRange.create(result[index], current); + } + if (!current) { + current = SelectionRange.create(Range2.create(position, position)); + } + return current; + } + function newRange(start, end) { + return Range2.create(document2.positionAt(start), document2.positionAt(end)); + } + const scanner = createScanner2(document2.getText(), true); + function getOffsetAfterNextToken(offset, expectedToken) { + scanner.setPosition(offset); + let token = scanner.scan(); + if (token === expectedToken) { + return scanner.getTokenOffset() + scanner.getTokenLength(); + } + return -1; + } + return positions.map(getSelectionRange); + } + function format4(documentToFormat, formattingOptions, formattingRange) { + let range = void 0; + if (formattingRange) { + const offset = documentToFormat.offsetAt(formattingRange.start); + const length = documentToFormat.offsetAt(formattingRange.end) - offset; + range = { offset, length }; + } + const options = { + tabSize: formattingOptions ? formattingOptions.tabSize : 4, + insertSpaces: formattingOptions?.insertSpaces === true, + insertFinalNewline: formattingOptions?.insertFinalNewline === true, + eol: "\n", + keepLines: formattingOptions?.keepLines === true + }; + return format2(documentToFormat.getText(), range, options).map((edit) => { + return TextEdit.replace(Range2.create(documentToFormat.positionAt(edit.offset), documentToFormat.positionAt(edit.offset + edit.length)), edit.content); + }); + } + var Container; + (function(Container2) { + Container2[Container2["Object"] = 0] = "Object"; + Container2[Container2["Array"] = 1] = "Array"; + })(Container || (Container = {})); + var PropertyTree = class { + constructor(propertyName, beginningLineNumber) { + this.propertyName = propertyName ?? ""; + this.beginningLineNumber = beginningLineNumber; + this.childrenProperties = []; + this.lastProperty = false; + this.noKeyName = false; + } + addChildProperty(childProperty) { + childProperty.parent = this; + if (this.childrenProperties.length > 0) { + let insertionIndex = 0; + if (childProperty.noKeyName) { + insertionIndex = this.childrenProperties.length; + } else { + insertionIndex = binarySearchOnPropertyArray(this.childrenProperties, childProperty, compareProperties); + } + if (insertionIndex < 0) { + insertionIndex = insertionIndex * -1 - 1; + } + this.childrenProperties.splice(insertionIndex, 0, childProperty); + } else { + this.childrenProperties.push(childProperty); + } + return childProperty; + } + }; + function compareProperties(propertyTree1, propertyTree2) { + const propertyName1 = propertyTree1.propertyName.toLowerCase(); + const propertyName2 = propertyTree2.propertyName.toLowerCase(); + if (propertyName1 < propertyName2) { + return -1; + } else if (propertyName1 > propertyName2) { + return 1; + } + return 0; + } + function binarySearchOnPropertyArray(propertyTreeArray, propertyTree, compare_fn) { + const propertyName = propertyTree.propertyName.toLowerCase(); + const firstPropertyInArrayName = propertyTreeArray[0].propertyName.toLowerCase(); + const lastPropertyInArrayName = propertyTreeArray[propertyTreeArray.length - 1].propertyName.toLowerCase(); + if (propertyName < firstPropertyInArrayName) { + return 0; + } + if (propertyName > lastPropertyInArrayName) { + return propertyTreeArray.length; + } + let m = 0; + let n = propertyTreeArray.length - 1; + while (m <= n) { + let k = n + m >> 1; + let cmp = compare_fn(propertyTree, propertyTreeArray[k]); + if (cmp > 0) { + m = k + 1; + } else if (cmp < 0) { + n = k - 1; + } else { + return k; + } + } + return -m - 1; + } + function sort(documentToSort, formattingOptions) { + const options = { + ...formattingOptions, + keepLines: false + // keepLines must be false so that the properties are on separate lines for the sorting + }; + const formattedJsonString = TextDocument2.applyEdits(documentToSort, format4(documentToSort, options, void 0)); + const formattedJsonDocument = TextDocument2.create("test://test.json", "json", 0, formattedJsonString); + const jsonPropertyTree = findJsoncPropertyTree(formattedJsonDocument); + const sortedJsonDocument = sortJsoncDocument(formattedJsonDocument, jsonPropertyTree); + const edits = format4(sortedJsonDocument, options, void 0); + const sortedAndFormattedJsonDocument = TextDocument2.applyEdits(sortedJsonDocument, edits); + return [TextEdit.replace(Range2.create(Position2.create(0, 0), documentToSort.positionAt(documentToSort.getText().length)), sortedAndFormattedJsonDocument)]; + } + function findJsoncPropertyTree(formattedDocument) { + const formattedString = formattedDocument.getText(); + const scanner = createScanner2(formattedString, false); + let rootTree = new PropertyTree(); + let currentTree = rootTree; + let currentProperty = rootTree; + let lastProperty = rootTree; + let token = void 0; + let lastTokenLine = 0; + let numberOfCharactersOnPreviousLines = 0; + let lastNonTriviaNonCommentToken = void 0; + let secondToLastNonTriviaNonCommentToken = void 0; + let lineOfLastNonTriviaNonCommentToken = -1; + let endIndexOfLastNonTriviaNonCommentToken = -1; + let beginningLineNumber = 0; + let endLineNumber = 0; + let currentContainerStack = []; + let updateLastPropertyEndLineNumber = false; + let updateBeginningLineNumber = false; + while ((token = scanner.scan()) !== 17) { + if (updateLastPropertyEndLineNumber === true && token !== 14 && token !== 15 && token !== 12 && token !== 13 && currentProperty.endLineNumber === void 0) { + let endLineNumber2 = scanner.getTokenStartLine(); + if (secondToLastNonTriviaNonCommentToken === 2 || secondToLastNonTriviaNonCommentToken === 4) { + lastProperty.endLineNumber = endLineNumber2 - 1; + } else { + currentProperty.endLineNumber = endLineNumber2 - 1; + } + beginningLineNumber = endLineNumber2; + updateLastPropertyEndLineNumber = false; + } + if (updateBeginningLineNumber === true && token !== 14 && token !== 15 && token !== 12 && token !== 13) { + beginningLineNumber = scanner.getTokenStartLine(); + updateBeginningLineNumber = false; + } + if (scanner.getTokenStartLine() !== lastTokenLine) { + for (let i = lastTokenLine; i < scanner.getTokenStartLine(); i++) { + const lengthOfLine = formattedDocument.getText(Range2.create(Position2.create(i, 0), Position2.create(i + 1, 0))).length; + numberOfCharactersOnPreviousLines = numberOfCharactersOnPreviousLines + lengthOfLine; + } + lastTokenLine = scanner.getTokenStartLine(); + } + switch (token) { + case 10: { + if (lastNonTriviaNonCommentToken === void 0 || lastNonTriviaNonCommentToken === 1 || lastNonTriviaNonCommentToken === 5 && currentContainerStack[currentContainerStack.length - 1] === Container.Object) { + const childProperty = new PropertyTree(scanner.getTokenValue(), beginningLineNumber); + lastProperty = currentProperty; + currentProperty = currentTree.addChildProperty(childProperty); + } + break; + } + case 3: { + if (rootTree.beginningLineNumber === void 0) { + rootTree.beginningLineNumber = scanner.getTokenStartLine(); + } + if (currentContainerStack[currentContainerStack.length - 1] === Container.Object) { + currentTree = currentProperty; + } else if (currentContainerStack[currentContainerStack.length - 1] === Container.Array) { + const childProperty = new PropertyTree(scanner.getTokenValue(), beginningLineNumber); + childProperty.noKeyName = true; + lastProperty = currentProperty; + currentProperty = currentTree.addChildProperty(childProperty); + currentTree = currentProperty; + } + currentContainerStack.push(Container.Array); + currentProperty.type = Container.Array; + beginningLineNumber = scanner.getTokenStartLine(); + beginningLineNumber++; + break; + } + case 1: { + if (rootTree.beginningLineNumber === void 0) { + rootTree.beginningLineNumber = scanner.getTokenStartLine(); + } else if (currentContainerStack[currentContainerStack.length - 1] === Container.Array) { + const childProperty = new PropertyTree(scanner.getTokenValue(), beginningLineNumber); + childProperty.noKeyName = true; + lastProperty = currentProperty; + currentProperty = currentTree.addChildProperty(childProperty); + } + currentProperty.type = Container.Object; + currentContainerStack.push(Container.Object); + currentTree = currentProperty; + beginningLineNumber = scanner.getTokenStartLine(); + beginningLineNumber++; + break; + } + case 4: { + endLineNumber = scanner.getTokenStartLine(); + currentContainerStack.pop(); + if (currentProperty.endLineNumber === void 0 && (lastNonTriviaNonCommentToken === 2 || lastNonTriviaNonCommentToken === 4)) { + currentProperty.endLineNumber = endLineNumber - 1; + currentProperty.lastProperty = true; + currentProperty.lineWhereToAddComma = lineOfLastNonTriviaNonCommentToken; + currentProperty.indexWhereToAddComa = endIndexOfLastNonTriviaNonCommentToken; + lastProperty = currentProperty; + currentProperty = currentProperty ? currentProperty.parent : void 0; + currentTree = currentProperty; + } + rootTree.endLineNumber = endLineNumber; + beginningLineNumber = endLineNumber + 1; + break; + } + case 2: { + endLineNumber = scanner.getTokenStartLine(); + currentContainerStack.pop(); + if (lastNonTriviaNonCommentToken !== 1) { + if (currentProperty.endLineNumber === void 0) { + currentProperty.endLineNumber = endLineNumber - 1; + currentProperty.lastProperty = true; + currentProperty.lineWhereToAddComma = lineOfLastNonTriviaNonCommentToken; + currentProperty.indexWhereToAddComa = endIndexOfLastNonTriviaNonCommentToken; + } + lastProperty = currentProperty; + currentProperty = currentProperty ? currentProperty.parent : void 0; + currentTree = currentProperty; + } + rootTree.endLineNumber = scanner.getTokenStartLine(); + beginningLineNumber = endLineNumber + 1; + break; + } + case 5: { + endLineNumber = scanner.getTokenStartLine(); + if (currentProperty.endLineNumber === void 0 && (currentContainerStack[currentContainerStack.length - 1] === Container.Object || currentContainerStack[currentContainerStack.length - 1] === Container.Array && (lastNonTriviaNonCommentToken === 2 || lastNonTriviaNonCommentToken === 4))) { + currentProperty.endLineNumber = endLineNumber; + currentProperty.commaIndex = scanner.getTokenOffset() - numberOfCharactersOnPreviousLines; + currentProperty.commaLine = endLineNumber; + } + if (lastNonTriviaNonCommentToken === 2 || lastNonTriviaNonCommentToken === 4) { + lastProperty = currentProperty; + currentProperty = currentProperty ? currentProperty.parent : void 0; + currentTree = currentProperty; + } + beginningLineNumber = endLineNumber + 1; + break; + } + case 13: { + if (lastNonTriviaNonCommentToken === 5 && lineOfLastNonTriviaNonCommentToken === scanner.getTokenStartLine() && (currentContainerStack[currentContainerStack.length - 1] === Container.Array && (secondToLastNonTriviaNonCommentToken === 2 || secondToLastNonTriviaNonCommentToken === 4) || currentContainerStack[currentContainerStack.length - 1] === Container.Object)) { + if (currentContainerStack[currentContainerStack.length - 1] === Container.Array && (secondToLastNonTriviaNonCommentToken === 2 || secondToLastNonTriviaNonCommentToken === 4) || currentContainerStack[currentContainerStack.length - 1] === Container.Object) { + currentProperty.endLineNumber = void 0; + updateLastPropertyEndLineNumber = true; + } + } + if ((lastNonTriviaNonCommentToken === 1 || lastNonTriviaNonCommentToken === 3) && lineOfLastNonTriviaNonCommentToken === scanner.getTokenStartLine()) { + updateBeginningLineNumber = true; + } + break; + } + } + if (token !== 14 && token !== 13 && token !== 12 && token !== 15) { + secondToLastNonTriviaNonCommentToken = lastNonTriviaNonCommentToken; + lastNonTriviaNonCommentToken = token; + lineOfLastNonTriviaNonCommentToken = scanner.getTokenStartLine(); + endIndexOfLastNonTriviaNonCommentToken = scanner.getTokenOffset() + scanner.getTokenLength() - numberOfCharactersOnPreviousLines; + } + } + return rootTree; + } + function sortJsoncDocument(jsonDocument, propertyTree) { + if (propertyTree.childrenProperties.length === 0) { + return jsonDocument; + } + const sortedJsonDocument = TextDocument2.create("test://test.json", "json", 0, jsonDocument.getText()); + const queueToSort = []; + updateSortingQueue(queueToSort, propertyTree, propertyTree.beginningLineNumber); + while (queueToSort.length > 0) { + const dataToSort = queueToSort.shift(); + const propertyTreeArray = dataToSort.propertyTreeArray; + let beginningLineNumber = dataToSort.beginningLineNumber; + for (let i = 0; i < propertyTreeArray.length; i++) { + const propertyTree2 = propertyTreeArray[i]; + const range = Range2.create(Position2.create(propertyTree2.beginningLineNumber, 0), Position2.create(propertyTree2.endLineNumber + 1, 0)); + const jsonContentToReplace = jsonDocument.getText(range); + const jsonDocumentToReplace = TextDocument2.create("test://test.json", "json", 0, jsonContentToReplace); + if (propertyTree2.lastProperty === true && i !== propertyTreeArray.length - 1) { + const lineWhereToAddComma = propertyTree2.lineWhereToAddComma - propertyTree2.beginningLineNumber; + const indexWhereToAddComma = propertyTree2.indexWhereToAddComa; + const edit2 = { + range: Range2.create(Position2.create(lineWhereToAddComma, indexWhereToAddComma), Position2.create(lineWhereToAddComma, indexWhereToAddComma)), + text: "," + }; + TextDocument2.update(jsonDocumentToReplace, [edit2], 1); + } else if (propertyTree2.lastProperty === false && i === propertyTreeArray.length - 1) { + const commaIndex = propertyTree2.commaIndex; + const commaLine = propertyTree2.commaLine; + const lineWhereToRemoveComma = commaLine - propertyTree2.beginningLineNumber; + const edit2 = { + range: Range2.create(Position2.create(lineWhereToRemoveComma, commaIndex), Position2.create(lineWhereToRemoveComma, commaIndex + 1)), + text: "" + }; + TextDocument2.update(jsonDocumentToReplace, [edit2], 1); + } + const length = propertyTree2.endLineNumber - propertyTree2.beginningLineNumber + 1; + const edit = { + range: Range2.create(Position2.create(beginningLineNumber, 0), Position2.create(beginningLineNumber + length, 0)), + text: jsonDocumentToReplace.getText() + }; + TextDocument2.update(sortedJsonDocument, [edit], 1); + updateSortingQueue(queueToSort, propertyTree2, beginningLineNumber); + beginningLineNumber = beginningLineNumber + length; + } + } + return sortedJsonDocument; + } + function updateSortingQueue(queue, propertyTree, beginningLineNumber) { + if (propertyTree.childrenProperties.length === 0) { + return; + } + if (propertyTree.type === Container.Object) { + let minimumBeginningLineNumber = Infinity; + for (const childProperty of propertyTree.childrenProperties) { + if (childProperty.beginningLineNumber < minimumBeginningLineNumber) { + minimumBeginningLineNumber = childProperty.beginningLineNumber; + } + } + const diff = minimumBeginningLineNumber - propertyTree.beginningLineNumber; + beginningLineNumber = beginningLineNumber + diff; + queue.push(new SortingRange(beginningLineNumber, propertyTree.childrenProperties)); + } else if (propertyTree.type === Container.Array) { + updateSortingQueueForArrayProperties(queue, propertyTree, beginningLineNumber); + } + } + function updateSortingQueueForArrayProperties(queue, propertyTree, beginningLineNumber) { + for (const subObject of propertyTree.childrenProperties) { + if (subObject.type === Container.Object) { + let minimumBeginningLineNumber = Infinity; + for (const childProperty of subObject.childrenProperties) { + if (childProperty.beginningLineNumber < minimumBeginningLineNumber) { + minimumBeginningLineNumber = childProperty.beginningLineNumber; + } + } + const diff = minimumBeginningLineNumber - subObject.beginningLineNumber; + queue.push(new SortingRange(beginningLineNumber + subObject.beginningLineNumber - propertyTree.beginningLineNumber + diff, subObject.childrenProperties)); + } + if (subObject.type === Container.Array) { + updateSortingQueueForArrayProperties(queue, subObject, beginningLineNumber + subObject.beginningLineNumber - propertyTree.beginningLineNumber); + } + } + } + var SortingRange = class { + constructor(beginningLineNumber, propertyTreeArray) { + this.beginningLineNumber = beginningLineNumber; + this.propertyTreeArray = propertyTreeArray; + } + }; + function findLinks(document2, doc) { + const links = []; + doc.visit((node) => { + if (node.type === "property" && node.keyNode.value === "$ref" && node.valueNode?.type === "string") { + const path = node.valueNode.value; + const targetNode = findTargetNode(doc, path); + if (targetNode) { + const targetPos = document2.positionAt(targetNode.offset); + links.push({ + target: `${document2.uri}#${targetPos.line + 1},${targetPos.character + 1}`, + range: createRange(document2, node.valueNode) + }); + } + } + return true; + }); + return Promise.resolve(links); + } + function createRange(document2, node) { + return Range2.create(document2.positionAt(node.offset + 1), document2.positionAt(node.offset + node.length - 1)); + } + function findTargetNode(doc, path) { + const tokens = parseJSONPointer(path); + if (!tokens) { + return null; + } + return findNode(tokens, doc.root); + } + function findNode(pointer, node) { + if (!node) { + return null; + } + if (pointer.length === 0) { + return node; + } + const token = pointer.shift(); + if (node && node.type === "object") { + const propertyNode = node.properties.find((propertyNode2) => propertyNode2.keyNode.value === token); + if (!propertyNode) { + return null; + } + return findNode(pointer, propertyNode.valueNode); + } else if (node && node.type === "array") { + if (token.match(/^(0|[1-9][0-9]*)$/)) { + const index = Number.parseInt(token); + const arrayItem = node.items[index]; + if (!arrayItem) { + return null; + } + return findNode(pointer, arrayItem); + } + } + return null; + } + function parseJSONPointer(path) { + if (path === "#") { + return []; + } + if (path[0] !== "#" || path[1] !== "/") { + return null; + } + return path.substring(2).split(/\//).map(unescape); + } + function unescape(str) { + return str.replace(/~1/g, "/").replace(/~0/g, "~"); + } + function getLanguageService(params) { + const promise = params.promiseConstructor || Promise; + const jsonSchemaService = new JSONSchemaService(params.schemaRequestService, params.workspaceContext, promise); + jsonSchemaService.setSchemaContributions(schemaContributions); + const jsonCompletion = new JSONCompletion(jsonSchemaService, params.contributions, promise, params.clientCapabilities); + const jsonHover = new JSONHover(jsonSchemaService, params.contributions, promise); + const jsonDocumentSymbols = new JSONDocumentSymbols(jsonSchemaService); + const jsonValidation = new JSONValidation(jsonSchemaService, promise); + return { + configure: (settings) => { + jsonSchemaService.clearExternalSchemas(); + settings.schemas?.forEach(jsonSchemaService.registerExternalSchema.bind(jsonSchemaService)); + jsonValidation.configure(settings); + }, + resetSchema: (uri) => jsonSchemaService.onResourceChange(uri), + doValidation: jsonValidation.doValidation.bind(jsonValidation), + getLanguageStatus: jsonValidation.getLanguageStatus.bind(jsonValidation), + parseJSONDocument: (document2) => parse3(document2, { collectComments: true }), + newJSONDocument: (root, diagnostics) => newJSONDocument(root, diagnostics), + getMatchingSchemas: jsonSchemaService.getMatchingSchemas.bind(jsonSchemaService), + doResolve: jsonCompletion.doResolve.bind(jsonCompletion), + doComplete: jsonCompletion.doComplete.bind(jsonCompletion), + findDocumentSymbols: jsonDocumentSymbols.findDocumentSymbols.bind(jsonDocumentSymbols), + findDocumentSymbols2: jsonDocumentSymbols.findDocumentSymbols2.bind(jsonDocumentSymbols), + findDocumentColors: jsonDocumentSymbols.findDocumentColors.bind(jsonDocumentSymbols), + getColorPresentations: jsonDocumentSymbols.getColorPresentations.bind(jsonDocumentSymbols), + doHover: jsonHover.doHover.bind(jsonHover), + getFoldingRanges, + getSelectionRanges, + findDefinition: () => Promise.resolve([]), + findLinks, + format: (document2, range, options) => format4(document2, options, range), + sort: (document2, options) => sort(document2, options) + }; + } + var defaultSchemaRequestService; + if (typeof fetch !== "undefined") { + defaultSchemaRequestService = function(url) { + return fetch(url).then((response) => response.text()); + }; + } + var JSONWorker = class { + constructor(ctx, createData) { + this._ctx = ctx; + this._languageSettings = createData.languageSettings; + this._languageId = createData.languageId; + this._languageService = getLanguageService({ + workspaceContext: { + resolveRelativePath: (relativePath, resource) => { + const base = resource.substr(0, resource.lastIndexOf("/") + 1); + return resolvePath(base, relativePath); + } + }, + schemaRequestService: createData.enableSchemaRequest ? defaultSchemaRequestService : void 0, + clientCapabilities: ClientCapabilities.LATEST + }); + this._languageService.configure(this._languageSettings); + } + async doValidation(uri) { + let document2 = this._getTextDocument(uri); + if (document2) { + let jsonDocument = this._languageService.parseJSONDocument(document2); + return this._languageService.doValidation(document2, jsonDocument, this._languageSettings); + } + return Promise.resolve([]); + } + async doComplete(uri, position) { + let document2 = this._getTextDocument(uri); + if (!document2) { + return null; + } + let jsonDocument = this._languageService.parseJSONDocument(document2); + return this._languageService.doComplete(document2, position, jsonDocument); + } + async doResolve(item) { + return this._languageService.doResolve(item); + } + async doHover(uri, position) { + let document2 = this._getTextDocument(uri); + if (!document2) { + return null; + } + let jsonDocument = this._languageService.parseJSONDocument(document2); + return this._languageService.doHover(document2, position, jsonDocument); + } + async format(uri, range, options) { + let document2 = this._getTextDocument(uri); + if (!document2) { + return []; + } + let textEdits = this._languageService.format(document2, range, options); + return Promise.resolve(textEdits); + } + async resetSchema(uri) { + return Promise.resolve(this._languageService.resetSchema(uri)); + } + async findDocumentSymbols(uri) { + let document2 = this._getTextDocument(uri); + if (!document2) { + return []; + } + let jsonDocument = this._languageService.parseJSONDocument(document2); + let symbols = this._languageService.findDocumentSymbols2(document2, jsonDocument); + return Promise.resolve(symbols); + } + async findDocumentColors(uri) { + let document2 = this._getTextDocument(uri); + if (!document2) { + return []; + } + let jsonDocument = this._languageService.parseJSONDocument(document2); + let colorSymbols = this._languageService.findDocumentColors(document2, jsonDocument); + return Promise.resolve(colorSymbols); + } + async getColorPresentations(uri, color, range) { + let document2 = this._getTextDocument(uri); + if (!document2) { + return []; + } + let jsonDocument = this._languageService.parseJSONDocument(document2); + let colorPresentations = this._languageService.getColorPresentations( + document2, + jsonDocument, + color, + range + ); + return Promise.resolve(colorPresentations); + } + async getFoldingRanges(uri, context) { + let document2 = this._getTextDocument(uri); + if (!document2) { + return []; + } + let ranges = this._languageService.getFoldingRanges(document2, context); + return Promise.resolve(ranges); + } + async getSelectionRanges(uri, positions) { + let document2 = this._getTextDocument(uri); + if (!document2) { + return []; + } + let jsonDocument = this._languageService.parseJSONDocument(document2); + let ranges = this._languageService.getSelectionRanges(document2, positions, jsonDocument); + return Promise.resolve(ranges); + } + async parseJSONDocument(uri) { + let document2 = this._getTextDocument(uri); + if (!document2) { + return null; + } + let jsonDocument = this._languageService.parseJSONDocument(document2); + return Promise.resolve(jsonDocument); + } + async getMatchingSchemas(uri) { + let document2 = this._getTextDocument(uri); + if (!document2) { + return []; + } + let jsonDocument = this._languageService.parseJSONDocument(document2); + return Promise.resolve(this._languageService.getMatchingSchemas(document2, jsonDocument)); + } + _getTextDocument(uri) { + let models = this._ctx.getMirrorModels(); + for (let model of models) { + if (model.uri.toString() === uri) { + return TextDocument2.create( + uri, + this._languageId, + model.version, + model.getValue() + ); + } + } + return null; + } + }; + var Slash = "/".charCodeAt(0); + var Dot = ".".charCodeAt(0); + function isAbsolutePath(path) { + return path.charCodeAt(0) === Slash; + } + function resolvePath(uriString, path) { + if (isAbsolutePath(path)) { + const uri = URI22.parse(uriString); + const parts = path.split("/"); + return uri.with({ path: normalizePath(parts) }).toString(); + } + return joinPath(uriString, path); + } + function normalizePath(parts) { + const newParts = []; + for (const part of parts) { + if (part.length === 0 || part.length === 1 && part.charCodeAt(0) === Dot) { + } else if (part.length === 2 && part.charCodeAt(0) === Dot && part.charCodeAt(1) === Dot) { + newParts.pop(); + } else { + newParts.push(part); + } + } + if (parts.length > 1 && parts[parts.length - 1].length === 0) { + newParts.push(""); + } + let res = newParts.join("/"); + if (parts[0].length === 0) { + res = "/" + res; + } + return res; + } + function joinPath(uriString, ...paths) { + const uri = URI22.parse(uriString); + const parts = uri.path.split("/"); + for (let path of paths) { + parts.push(...path.split("/")); + } + return uri.with({ path: normalizePath(parts) }).toString(); + } + self.onmessage = () => { + initialize((ctx, createData) => { + return new JSONWorker(ctx, createData); + }); + }; +})(); +/*! Bundled license information: + +monaco-editor/esm/vs/language/json/json.worker.js: + (*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*) +*/ diff --git a/backend/public/admin/favicon.ico b/backend/public/admin/favicon.ico new file mode 100644 index 000000000..b41ece2ab Binary files /dev/null and b/backend/public/admin/favicon.ico differ diff --git a/backend/public/admin/image/logo-small.png b/backend/public/admin/image/logo-small.png new file mode 100644 index 000000000..77744f465 Binary files /dev/null and b/backend/public/admin/image/logo-small.png differ diff --git a/backend/public/admin/index.html b/backend/public/admin/index.html new file mode 100644 index 000000000..01aad013b --- /dev/null +++ b/backend/public/admin/index.html @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/backend/public/admin/manifest.json b/backend/public/admin/manifest.json new file mode 100644 index 000000000..f65c0c3e4 --- /dev/null +++ b/backend/public/admin/manifest.json @@ -0,0 +1,13 @@ +{ + "name":"CRMEB", + "display":"standalone", + "start_url":".", + "id": "index.html", + "background_color": "#999", + "theme_color":"#292d3e", + "icons":[{ + "src":"./image/logo-small.png", + "sizes":"144x144", + "type":"image/png" + }] +} \ No newline at end of file diff --git a/backend/public/admin/system_static/App-BbLou-Lv.js b/backend/public/admin/system_static/App-BbLou-Lv.js new file mode 100644 index 000000000..5db30f830 --- /dev/null +++ b/backend/public/admin/system_static/App-BbLou-Lv.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["system_static/index-DHL7RTL2.js","system_static/element-plus-C_ZDq0cz.js","system_static/element-plus-BMPTpAlv.css","system_static/monaco-editor-uXAv8CL-.js","system_static/monaco-editor-gC43XGTT.css","system_static/form-create-7SMPLzS9.js","system_static/vxe-CHB4XD1z.js","system_static/vxe-B-xomzuK.css","system_static/index-CYIj7XV_.css","system_static/user-Blgc2iHx.js"])))=>i.map(i=>d[i]); +import{k as y,u as we,y as u,z as x,j as a,C as o,A as i,ac as dt,aj as rt,F as fe,H as D,$ as L,s as j,B as C,a0 as B,Z as Q,l as f,ad as We,Y as Qe,I as ia,g as Tt,f as Ut,n as ut,b as sa,E as ua,p as Ue,D as Pe,W as ke,a as da,ab as Ne,a9 as ra}from"./element-plus-C_ZDq0cz.js";import{_ as ze,h as ct,y as Bt,S as ca,a as ma,c as va,af as pa,k as fa,ag as _a,ae as ga,G as ya,o as bt,a9 as ba,aj as ha,w as Va}from"./index-DHL7RTL2.js";import{virtualApi as Ce}from"./api-D06-m3Vw.js";import{_ as ht}from"./monaco-editor-uXAv8CL-.js";import{_ as ka}from"./index-B14gRfLE.js";import{f as wa}from"./index-qanQGPk7.js";import{a as xa}from"./addAttr-rwPSDERC.js";import Fa from"./index-CYgESPmX.js";import{B as $a,a as Ca,P as Sa,M as Ta,O as Ua}from"./OtherSetting-BWm0KY_q.js";import{d as Vt}from"./vuedraggable.umd-fTw9SVdO.js";import{f as Ba}from"./editorImg-CgC4L1e6.js";import{u as Aa}from"./index-BroL-9rZ.js";import{g as Da}from"./index-BXdg6YJo.js";import{_ as La}from"./order_icon-kRzQraQC.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./marketing-BAfn8OEa.js";import"./index-C2Zmd2Xm.js";/* empty css */import"./useLabel-CIIjfVL7.js";import"./index-Beo5Mkpq.js";import"./wangeditor-D-KRDJ3T.js";import"./registerMenus-BIn2m7Us.js";const Ia={class:"virtual-list"},Oa={class:"padding-add"},Pa={class:"mb12"},Ea={key:0,class:"tabBox_img"},Ra={key:1},Na=["onClick"],Ma={class:"acea-row row-right page"},ja=Object.assign({name:"virtualProductList"},{__name:"List",setup(e){const P=ct(),U=f(!1),b=f([]),O=f(0),Y=f([]),_=f({page:1,limit:15,store_name:"",status:"",type:"all",cate_id:"",price_min:"",price_max:"",stock_min:"",stock_max:"",time:""}),r=f([]),J=f([]),te=f(!1);function X(V){if(!V)return"";const m=new Date(V*1e3),H=m.getFullYear(),S=("0"+(m.getMonth()+1)).slice(-2),M=("0"+m.getDate()).slice(-2),ne=("0"+m.getHours()).slice(-2),I=("0"+m.getMinutes()).slice(-2);return H+"-"+S+"-"+M+" "+ne+":"+I}async function ae(){try{const V=await Bt(1);Y.value=V.data||[]}catch{Y.value=[]}}function re(){const V=new URLSearchParams;return V.set("page",_.value.page),V.set("limit",_.value.limit),_.value.store_name&&V.set("store_name",_.value.store_name),_.value.cate_id&&V.set("cate_id",_.value.cate_id),_.value.price_min&&V.set("price_min",_.value.price_min),_.value.price_max&&V.set("price_max",_.value.price_max),_.value.stock_min&&V.set("stock_min",_.value.stock_min),_.value.stock_max&&V.set("stock_max",_.value.stock_max),_.value.time&&V.set("time",_.value.time),_.value.type==="all"||(_.value.type==="-1"?V.set("is_del","1"):V.set("status",_.value.type)),V}async function ee(){U.value=!0;try{const V=await Ce("/product/list?"+re().toString());b.value=V.data.list||[],O.value=V.data.total||0}catch(V){Q.error(V.message)}U.value=!1}function q(){_.value.page=1,ee()}function R(){_.value={page:1,limit:15,store_name:"",status:"",type:"all",cate_id:"",price_min:"",price_max:"",stock_min:"",stock_max:"",time:""},J.value=[],r.value=[],ee()}function N(){_.value.page=1,r.value=[],ee()}function d(V){_.value.time=V?V.join(","):""}function W(V){r.value=V.map(m=>m.id)}function ce(){P.push({path:"/admin/product/virtual/add"})}function me(V){P.push({path:"/admin/product/virtual/add/"+V})}async function n(V,m){try{await Ce("/product/status/"+V.id+"/"+m,{method:"PUT"}),Q.success(m?"上架成功":"下架成功"),V.is_show=m}catch(H){Q.error(H.message)}}function k(V){We.confirm("确定将商品移入回收站吗?","提示",{type:"warning"}).then(async()=>{await Ce("/product/"+V.id,{method:"DELETE"}),Q.success("已移入回收站"),ee()}).catch(()=>{})}function w(){r.value.length&&We.confirm("确定将选中的 "+r.value.length+" 个商品移入回收站吗?","提示",{type:"warning"}).then(async()=>{for(const V of r.value)await Ce("/product/"+V,{method:"DELETE"});Q.success("批量删除成功"),r.value=[],ee()}).catch(()=>{})}function T(V,m){V==="delete"?k(m):V==="restore"?h(m):V==="forceDelete"&&z(m)}async function h(V){try{await Ce("/product/restore/"+V.id,{method:"PUT"}),Q.success("恢复成功"),ee()}catch(m){Q.error(m.message)}}async function z(V){We.confirm("确定彻底删除该商品吗?删除后不可恢复!","警告",{type:"warning",confirmButtonText:"确定删除"}).then(async()=>{await Ce("/product/force/"+V.id,{method:"DELETE"}),Q.success("已彻底删除"),ee()}).catch(()=>{})}return ae(),ee(),(V,m)=>{const H=y("el-input"),S=y("el-form-item"),M=y("el-cascader"),ne=y("date-range-picker"),I=y("el-button"),_e=y("el-form"),he=y("el-card"),F=y("el-tab-pane"),s=y("el-tabs"),K=y("el-table-column"),ye=y("el-switch"),xe=y("el-divider"),Fe=y("el-dropdown-item"),Se=y("el-dropdown-menu"),oe=y("el-dropdown"),le=y("el-table"),Te=y("pagination"),ie=we("db-click"),Ee=we("lazy"),Me=we("viewer"),Re=we("loading");return u(),x("div",Ia,[a(he,{bordered:!1,shadow:"never","body-style":{padding:0}},{default:o(()=>[i("div",Oa,[a(_e,{inline:!0,onSubmit:dt(q,["prevent"])},{default:o(()=>[a(S,{label:"商品名称"},{default:o(()=>[a(H,{modelValue:_.value.store_name,"onUpdate:modelValue":m[0]||(m[0]=E=>_.value.store_name=E),placeholder:"商品名称/ID",clearable:"",onKeyup:rt(q,["enter"]),style:{width:"220px"}},null,8,["modelValue"])]),_:1}),a(S,{label:"分类"},{default:o(()=>[a(M,{modelValue:_.value.cate_id,"onUpdate:modelValue":m[1]||(m[1]=E=>_.value.cate_id=E),options:Y.value,props:{multiple:!1,emitPath:!1,checkStrictly:!0},clearable:"",placeholder:"全部",style:{width:"180px"}},null,8,["modelValue","options"])]),_:1}),te.value?(u(),x(fe,{key:0},[a(S,{label:"售价"},{default:o(()=>[a(H,{modelValue:_.value.price_min,"onUpdate:modelValue":m[2]||(m[2]=E=>_.value.price_min=E),placeholder:"最低价",style:{width:"120px"}},null,8,["modelValue"]),m[11]||(m[11]=i("span",{class:"ml5 mr5"},"~",-1)),a(H,{modelValue:_.value.price_max,"onUpdate:modelValue":m[3]||(m[3]=E=>_.value.price_max=E),placeholder:"最高价",style:{width:"120px"}},null,8,["modelValue"])]),_:1}),a(S,{label:"库存"},{default:o(()=>[a(H,{modelValue:_.value.stock_min,"onUpdate:modelValue":m[4]||(m[4]=E=>_.value.stock_min=E),placeholder:"最小值",style:{width:"120px"}},null,8,["modelValue"]),m[12]||(m[12]=i("span",{class:"ml5 mr5"},"~",-1)),a(H,{modelValue:_.value.stock_max,"onUpdate:modelValue":m[5]||(m[5]=E=>_.value.stock_max=E),placeholder:"最大值",style:{width:"120px"}},null,8,["modelValue"])]),_:1}),a(S,{label:"添加时间"},{default:o(()=>[a(ne,{modelValue:J.value,"onUpdate:modelValue":m[6]||(m[6]=E=>J.value=E),format:"YYYY-MM-DD","value-format":"YYYY-MM-DD","range-separator":"~",onChange:d},null,8,["modelValue"])]),_:1})],64)):D("",!0),a(S,null,{default:o(()=>[a(I,{type:"primary",onClick:q},{default:o(()=>[...m[13]||(m[13]=[L("查询",-1)])]),_:1}),a(I,{onClick:R},{default:o(()=>[...m[14]||(m[14]=[L("重置",-1)])]),_:1}),j((u(),x("a",{class:"ml10 font12",onClick:m[7]||(m[7]=E=>te.value=!te.value)},[te.value?(u(),x(fe,{key:1},[m[17]||(m[17]=L("收起",-1)),m[18]||(m[18]=i("i",{class:"el-icon-arrow-up"},null,-1))],64)):(u(),x(fe,{key:0},[m[15]||(m[15]=L("展开",-1)),m[16]||(m[16]=i("i",{class:"el-icon-arrow-down"},null,-1))],64))])),[[ie]])]),_:1})]),_:1})])]),_:1}),a(he,{bordered:!1,shadow:"never",class:"ivu-mt mt16","body-style":{padding:"20px 20px 20px"}},{default:o(()=>[a(s,{modelValue:_.value.type,"onUpdate:modelValue":m[8]||(m[8]=E=>_.value.type=E),onTabChange:N},{default:o(()=>[a(F,{label:"全部",name:"all"}),a(F,{label:"上架中",name:"1"}),a(F,{label:"已下架",name:"0"}),a(F,{label:"回收站",name:"-1"})]),_:1},8,["modelValue"]),i("div",Pa,[a(I,{type:"primary",onClick:ce},{default:o(()=>[...m[19]||(m[19]=[L("添加网盘商品",-1)])]),_:1}),a(I,{disabled:!r.value.length,onClick:w},{default:o(()=>[...m[20]||(m[20]=[L("批量删除",-1)])]),_:1},8,["disabled"])]),j((u(),C(le,{data:b.value,stripe:"","empty-text":"暂无数据",onSelectionChange:W,"row-key":"id"},{default:o(()=>[a(K,{type:"selection",width:"50","reserve-selection":!0}),a(K,{label:"ID",width:"70",prop:"id"}),a(K,{label:"商品图",width:"80"},{default:o(({row:E})=>[E.image?j((u(),x("div",Ea,[j(i("img",null,null,512),[[Ee,E.image]])])),[[Me]]):(u(),x("span",Ra,"--"))]),_:1}),a(K,{label:"商品名称","min-width":"200",prop:"store_name","show-overflow-tooltip":""}),a(K,{label:"售价",width:"100",prop:"price"}),a(K,{label:"库存",width:"80",prop:"stock"}),a(K,{label:"销量",width:"80",prop:"sales"}),a(K,{label:"排序",width:"70",prop:"sort"}),a(K,{label:"状态",width:"110"},{default:o(({row:E})=>[a(ye,{"model-value":E.is_show,"active-value":1,"inactive-value":0,onChange:Ve=>n(E,Ve),"active-text":"上架","inactive-text":"下架",class:"defineSwitch"},null,8,["model-value","onChange"])]),_:1}),a(K,{label:"添加时间",width:"160"},{default:o(({row:E})=>[L(B(X(E.add_time)),1)]),_:1}),a(K,{label:"操作",width:"200",fixed:"right"},{default:o(({row:E})=>[j((u(),x("a",{onClick:Ve=>me(E.id)},[...m[21]||(m[21]=[L("编辑",-1)])],8,Na)),[[ie]]),a(xe,{direction:"vertical"}),a(oe,{onCommand:Ve=>T(Ve,E)},{dropdown:o(()=>[a(Se,null,{default:o(()=>[_.value.type!=="-1"?(u(),C(Fe,{key:0,command:"delete"},{default:o(()=>[...m[22]||(m[22]=[L("移到回收站",-1)])]),_:1})):D("",!0),_.value.type==="-1"?(u(),C(Fe,{key:1,command:"restore"},{default:o(()=>[...m[23]||(m[23]=[L("恢复商品",-1)])]),_:1})):D("",!0),_.value.type==="-1"?(u(),C(Fe,{key:2,command:"forceDelete",divided:""},{default:o(()=>[...m[24]||(m[24]=[L("彻底删除",-1)])]),_:1})):D("",!0)]),_:1})]),default:o(()=>[m[25]||(m[25]=i("span",{class:"el-dropdown-link"},[L("更多"),i("i",{class:"el-icon-arrow-down el-icon--right"})],-1))]),_:1},8,["onCommand"])]),_:1})]),_:1},8,["data"])),[[Re,U.value]]),i("div",Ma,[O.value?(u(),C(Te,{key:0,total:O.value,page:_.value.page,"onUpdate:page":m[9]||(m[9]=E=>_.value.page=E),limit:_.value.limit,"onUpdate:limit":m[10]||(m[10]=E=>_.value.limit=E),onPagination:ee},null,8,["total","page","limit"])):D("",!0)])]),_:1})])}}}),kt=ze(ja,[["__scopeId","data-v-dd6cecc6"]]);function qa(e){var P=typeof e;return e!=null&&(P=="object"||P=="function")}var mt=qa,Ha=typeof Qe=="object"&&Qe&&Qe.Object===Object&&Qe,Ga=Ha,Wa=Ga,za=typeof self=="object"&&self&&self.Object===Object&&self,Ka=Wa||za||Function("return this")(),At=Ka,Ya=At,Ja=function(){return Ya.Date.now()},Xa=Ja,Za=/\s/;function Qa(e){for(var P=e.length;P--&&Za.test(e.charAt(P)););return P}var en=Qa,tn=en,ln=/^\s+/;function an(e){return e&&e.slice(0,tn(e)+1).replace(ln,"")}var nn=an,on=At,sn=on.Symbol,Dt=sn,wt=Dt,Lt=Object.prototype,un=Lt.hasOwnProperty,dn=Lt.toString,Ge=wt?wt.toStringTag:void 0;function rn(e){var P=un.call(e,Ge),U=e[Ge];try{e[Ge]=void 0;var b=!0}catch{}var O=dn.call(e);return b&&(P?e[Ge]=U:delete e[Ge]),O}var cn=rn,mn=Object.prototype,vn=mn.toString;function pn(e){return vn.call(e)}var fn=pn,xt=Dt,_n=cn,gn=fn,yn="[object Null]",bn="[object Undefined]",Ft=xt?xt.toStringTag:void 0;function hn(e){return e==null?e===void 0?bn:yn:Ft&&Ft in Object(e)?_n(e):gn(e)}var Vn=hn;function kn(e){return e!=null&&typeof e=="object"}var wn=kn,xn=Vn,Fn=wn,$n="[object Symbol]";function Cn(e){return typeof e=="symbol"||Fn(e)&&xn(e)==$n}var Sn=Cn,Tn=nn,$t=mt,Un=Sn,Ct=NaN,Bn=/^[-+]0x[0-9a-f]+$/i,An=/^0b[01]+$/i,Dn=/^0o[0-7]+$/i,Ln=parseInt;function In(e){if(typeof e=="number")return e;if(Un(e))return Ct;if($t(e)){var P=typeof e.valueOf=="function"?e.valueOf():e;e=$t(P)?P+"":P}if(typeof e!="string")return e===0?e:+e;e=Tn(e);var U=An.test(e);return U||Dn.test(e)?Ln(e.slice(2),U?2:8):Bn.test(e)?Ct:+e}var On=In,Pn=mt,st=Xa,St=On,En="Expected a function",Rn=Math.max,Nn=Math.min;function Mn(e,P,U){var b,O,Y,_,r,J,te=0,X=!1,ae=!1,re=!0;if(typeof e!="function")throw new TypeError(En);P=St(P)||0,Pn(U)&&(X=!!U.leading,ae="maxWait"in U,Y=ae?Rn(St(U.maxWait)||0,P):Y,re="trailing"in U?!!U.trailing:re);function ee(k){var w=b,T=O;return b=O=void 0,te=k,_=e.apply(T,w),_}function q(k){return te=k,r=setTimeout(d,P),X?ee(k):_}function R(k){var w=k-J,T=k-te,h=P-w;return ae?Nn(h,Y-T):h}function N(k){var w=k-J,T=k-te;return J===void 0||w>=P||w<0||ae&&T>=Y}function d(){var k=st();if(N(k))return W(k);r=setTimeout(d,R(k))}function W(k){return r=void 0,re&&b?ee(k):(b=O=void 0,_)}function ce(){r!==void 0&&clearTimeout(r),te=0,b=J=O=r=void 0}function me(){return r===void 0?_:W(st())}function n(){var k=st(),w=N(k);if(b=arguments,O=this,J=k,w){if(r===void 0)return q(J);if(ae)return clearTimeout(r),r=setTimeout(d,P),ee(J)}return r===void 0&&(r=setTimeout(d,P)),_}return n.cancel=ce,n.flush=me,n}var jn=Mn,qn=jn,Hn=mt,Gn="Expected a function";function Wn(e,P,U){var b=!0,O=!0;if(typeof e!="function")throw new TypeError(Gn);return Hn(U)&&(b="leading"in U?!!U.leading:b,O="trailing"in U?!!U.trailing:O),qn(e,P,{leading:b,maxWait:P,trailing:O})}var zn=Wn;const Kn=ia(zn),Yn=Object.assign({name:"el-table-virtual-scroll"},{__name:"virtualTabel",props:{data:{type:Array,required:!0},height:{type:Number,default:60},buffer:{type:Number,default:500},keyProp:{type:String,default:"id"},throttleTime:{type:Number,default:100}},emits:["change"],setup(e,{expose:P,emit:U}){const b=e,O=U,{proxy:Y}=Tt(),_=f({});let r=[],J=0,te,X=null,ae=null,re=null;const ee=Ue(()=>{const{keyProp:h,height:z,data:V}=b,m={};let H=0;for(let S=0;S{N()},100),ae=Kn(N,b.throttleTime),X.addEventListener("scroll",N),window.addEventListener("resize",ae)}function R(){const h=Y.$el.querySelectorAll(".el-table__body > tbody > .el-table__row");Array.from(h).forEach((z,V)=>{const m=r[V];if(!m)return;const H=m[b.keyProp],S=z.offsetHeight;_.value[H]!==S&&(_.value[H]=S)})}function N(h=!0){R(),ce(),me(),h&&n(),O("change",r,J,te)}function d(h){const z=b.data[h];return z&&ee.value[z[b.keyProp]]||0}function W(h){const z=b.data[h];if(z){const V=z[b.keyProp];return _.value[V]||b.height}return b.height}function ce(){const h=b.data,z=b.buffer,V=X.scrollTop-z,m=X.scrollTop+X.offsetHeight+z;let H=0,S=h.length-1,M=0;for(;H<=S;)if(M=Math.floor((H+S)/2),d(M)V)break;H=M+1}else S=M-1;let ne=M,I=h.length-1;for(let _e=ne+1;_e=m){I=_e;break}ne%2&&(ne=ne-1),J=ne,te=I,r=h.slice(ne,I+1)}function me(){const h=b.data.length-1,z=d(h)+W(h),V=d(J);[".el-table__body-wrapper",".el-table__fixed-right .el-table__fixed-body-wrapper",".el-table__fixed .el-table__fixed-body-wrapper"].forEach(H=>{const S=Y.$el.querySelector(H);if(S){if(!S.wrapEl){const M=document.createElement("div"),ne=document.createElement("div");M.appendChild(ne),ne.appendChild(S.children[0]),S.insertBefore(M,S.firstChild),S.wrapEl=M,S.innerEl=ne}S.wrapEl&&(S.wrapEl.style.height=z+"px",S.innerEl.style.transform=`translateY(${V}px)`)}})}function n(){re&&clearTimeout(re),re=setTimeout(()=>{re&&clearTimeout(re),N(!1)},b.throttleTime+10)}function k(){N()}function w(h,z=!1){b.data[h]&&X&&(R(),ce(),ut(()=>{const m=d(h);X.scrollTop=m,z||setTimeout(()=>{w(h,!0)},50)}))}function T(){_.value={},w(0,!1)}return Ut(()=>b.data,()=>{k()}),ut(()=>{q()}),sa(()=>{X&&(X.removeEventListener("scroll",ae),window.removeEventListener("resize",ae))}),P({update:k,scrollTo:w,reset:T}),(h,z)=>(u(),x("div",null,[ua(h.$slots,"default")]))}}),Jn={class:"specifications"},Xn=["onClick"],Zn=["onClick"],Qn={class:"specifications-item-box"},eo={class:"specifications-item-name mb18"},to={class:"rulesBox ml30"},lo={class:"mr10 spec drag"},ao=["onClick"],no={key:0,class:"img-popover"},oo=["onClick"],io=["src"],so={key:1,class:"el-icon-plus"},uo=["onClick"],ro={class:"addfont",type:"text"},co={key:0},mo=["onClick"],vo={key:0,class:"pictrue pictrueTab"},po={key:1,class:"upLoad pictrueTab acea-row row-center-wrapper"},fo={key:0},_o=["onClick"],go={key:0,class:"pictrue pictrueTab"},yo={key:1,class:"upLoad pictrueTab acea-row row-center-wrapper"},bo={key:0,class:"fictitious-netdisk"},ho=["onClick"],Vo=["onClick"],ko={key:3},wo={key:0,class:"pictrue"},xo={key:1,class:"upLoad acea-row row-center-wrapper"},Fo={class:"fictitious-netdisk"},$o=Object.assign({name:"SpecStock"},{__name:"SpecStock",props:{formValidate:{type:Object,required:!0},ruleList:{type:Array,required:!0},attrs:{type:Array,required:!0},manyFormValidate:{type:Array,required:!0},oneFormValidate:{type:Array,required:!0},tableKey:{type:Number,required:!0},canSel:{type:Boolean,required:!0},formDynamic:{type:Object,required:!0},oneFormBatch:{type:Array,required:!0}},emits:["changeSpec","confirm","onMoveSpec","changeDefaultSelect","changeDefaultShow","modalPicTap","handleRemove2","batchAdd","handleAddRole","batchDel","handleFocus","attrDetailChangeValue","handleBlur","attrChangeValue","handleShowPop","handleSelImg","handleSaveAsTemplate","addGoodsCoupon","changeCurrentIndex","addVirtual","handleRemoveImg","handleRemoveRole","see","createAttr"],setup(e,{emit:P}){const U=e,b=P,O=f([]),Y=F=>U.attrs.indexOf(F),_=new WeakMap;let r=0;const J=F=>(_.has(F)||_.set(F,++r),_.get(F));function te(F){b("changeSpec",F)}function X(F){b("confirm",F)}function ae(F){b("onMoveSpec",F)}function re(F,s){b("changeDefaultSelect",F,s)}function ee(F){b("changeDefaultShow",F)}function q(F,s,K){b("modalPicTap",F,s,K)}function R(F,s,K){b("handleRemove2",F,s,K)}function N(){b("batchAdd")}function d(){b("handleAddRole")}function W(){b("batchDel")}function ce(F){b("handleFocus",F)}function me(F,s){b("attrDetailChangeValue",F,s)}function n(F){b("handleBlur",F)}function k(F,s){b("attrChangeValue",F,s)}function w(F){b("handleShowPop",F)}function T(F){b("handleSelImg",F)}function h(){b("handleSaveAsTemplate")}function z(F,s){b("addGoodsCoupon",F,s)}function V(F){b("changeCurrentIndex",F)}function m(F,s){b("addVirtual",F,s)}function H(F){b("handleRemoveImg",F)}function S(F){b("handleRemoveRole",F)}function M(F,s,K){b("see",F,s,K)}function ne(F,s){b("createAttr",F,s)}function I({row:F,column:s,rowIndex:K,columnIndex:ye}){F.index=K||"",s.index=ye}function _e(F,s){F?(U.attrs.map((K,ye)=>{ye!==s&&(K.add_pic=0)}),U.canSel=!1):U.canSel=!0}function he({row:F,column:s,rowIndex:K,columnIndex:ye}){if(ye===0&&K>0){let xe=s.label;const Fe=U.manyFormValidate[K].detail[xe],Se=U.manyFormValidate.findIndex((oe,le)=>{if(le>0)return oe.detail[xe]==Fe});if(K==Se){let oe=1;for(let le=Se+1;le{const K=y("el-radio"),ye=y("el-radio-group"),xe=y("el-dropdown-item"),Fe=y("el-dropdown-menu"),Se=y("el-dropdown"),oe=y("el-form-item"),le=y("el-col"),Te=y("el-switch"),ie=y("el-input"),Ee=y("el-checkbox"),Me=y("el-tooltip"),Re=y("el-popover"),E=y("el-button"),Ve=y("el-option"),Be=y("el-select"),se=y("el-input-number"),Ke=y("el-divider"),Ae=y("el-table-column"),De=y("el-table"),Le=y("el-row"),pe=we("db-click"),$e=we("lazy");return u(),C(Le,{gutter:24},{default:o(()=>[a(le,{span:24},{default:o(()=>[a(oe,{label:"规格类型:",props:"spec_type"},{default:o(()=>[a(ye,{modelValue:e.formValidate.spec_type,"onUpdate:modelValue":s[0]||(s[0]=v=>e.formValidate.spec_type=v),onInput:te},{default:o(()=>[a(K,{label:0,value:0,class:"radio"},{default:o(()=>[...s[32]||(s[32]=[L("单规格",-1)])]),_:1}),a(K,{label:1,value:1},{default:o(()=>[...s[33]||(s[33]=[L("多规格",-1)])]),_:1})]),_:1},8,["modelValue"]),e.formValidate.spec_type==1?(u(),C(Se,{key:0,class:"ml20",onCommand:X,trigger:"hover"},{dropdown:o(()=>[a(Fe,null,{default:o(()=>[(u(!0),x(fe,null,Pe(e.ruleList,(v,ue)=>(u(),C(xe,{key:ue,command:v.rule_name},{default:o(()=>[L(B(v.rule_name),1)]),_:2},1032,["command"]))),128))]),_:1})]),default:o(()=>[s[34]||(s[34]=i("span",{class:"el-dropdown-link"},[L(" 选择规格模版"),i("i",{class:"el-icon-arrow-down el-icon--right"})],-1))]),_:1})):D("",!0)]),_:1})]),_:1}),e.formValidate.virtual_type==3?(u(),C(le,{key:0,span:24},{default:o(()=>[a(oe,{label:"自动发货:"},{default:o(()=>[a(Te,{modelValue:e.formValidate.is_auto_send,"onUpdate:modelValue":s[1]||(s[1]=v=>e.formValidate.is_auto_send=v),"active-value":1,"inactive-value":0,"active-text":"开启","inactive-text":"关闭"},null,8,["modelValue"]),s[35]||(s[35]=i("span",{class:"ml10 autosend-tips"},"开启后支付成功自动发放网盘链接与提取码",-1))]),_:1})]),_:1})):D("",!0),e.formValidate.spec_type===1?(u(),C(le,{key:1,span:24,class:"noForm"},{default:o(()=>[a(oe,{label:"商品规格:",prop:""},{default:o(()=>[i("div",Jn,[a(ke(Vt),{group:"specifications",disabled:e.attrs.length<2,list:e.attrs,handle:".move-icon",onEnd:ae,animation:"300","item-key":Y},{item:o(({element:v,index:ue})=>[i("div",{class:"specifications-item active",onClick:p=>V(ue)},[s[42]||(s[42]=i("div",{class:"move-icon"},[i("span",{class:"iconfont icondrag2"})],-1)),i("i",{class:"del el-icon-error",onClick:p=>S(ue,v.value)},null,8,Zn),i("div",Qn,[s[41]||(s[41]=i("div",{class:"lineBox"},null,-1)),i("div",eo,[a(ie,{modelValue:v.value,"onUpdate:modelValue":p=>v.value=p,placeholder:"规格名称",onChange:p=>k(ue,v.value),onFocus:p=>ce(v.value),class:"specifications-item-name-input",maxlength:"30","show-word-limit":""},null,8,["modelValue","onUpdate:modelValue","onChange","onFocus"]),a(Ee,{class:"ml20",modelValue:v.add_pic,"onUpdate:modelValue":p=>v.add_pic=p,disabled:!v.add_pic&&!e.canSel,"true-value":1,"false-value":0,onChange:p=>_e(p,ue)},{default:o(()=>[...s[36]||(s[36]=[L("添加规格图",-1)])]),_:1},8,["modelValue","onUpdate:modelValue","disabled","onChange"]),a(Me,{class:"item",effect:"dark",content:"添加规格图片, 仅支持打开一个(建议尺寸:800*800)",placement:"right"},{default:o(()=>[...s[37]||(s[37]=[i("i",{class:"el-icon-info"},null,-1)])]),_:1})]),i("div",to,[a(ke(Vt),{class:"item",list:v.detail,disabled:v.detail.length<2,handle:".drag",onEnd:ae,"item-key":J},{item:o(({element:p,index:$})=>[i("div",lo,[i("i",{class:"el-icon-error",onClick:be=>R(v.detail,$,p.value)},null,8,ao),a(ie,{style:{width:"120px"},modelValue:p.value,"onUpdate:modelValue":be=>p.value=be,placeholder:"规格值",onChange:be=>me(p.value,ue),onFocus:be=>ce(p.value),maxlength:"30",onBlur:s[2]||(s[2]=be=>n())},{prefix:o(()=>[...s[38]||(s[38]=[i("span",{class:"iconfont icondrag2"},null,-1)])]),_:1},8,["modelValue","onUpdate:modelValue","onChange","onFocus"]),v.add_pic?(u(),x("div",no,[s[39]||(s[39]=i("div",{class:"popper-arrow"},null,-1)),i("div",{class:"popper",onClick:be=>T(p,$)},[p.pic?(u(),x("img",{key:0,class:"img",src:p.pic},null,8,io)):(u(),x("i",so))],8,oo),p.pic?(u(),x("i",{key:0,class:"img-del el-icon-error",onClick:be=>H(p)},null,8,uo)):D("",!0)])):D("",!0)])]),footer:o(()=>[a(Re,{ref:"popoverRef_"+ue,placement:"bottom",width:"210",trigger:"click",onAfterEnter:p=>w(ue)},{reference:o(()=>[j((u(),x("div",ro,[...s[40]||(s[40]=[L("添加规格值",-1)])])),[[pe]])]),default:o(()=>[a(ie,{ref:"inputRef_"+ue,placeholder:"请输入规格值",modelValue:e.formDynamic.attrsVal,"onUpdate:modelValue":s[3]||(s[3]=p=>e.formDynamic.attrsVal=p),onKeyup:rt(p=>ne(e.formDynamic.attrsVal,ue),["enter"]),onBlur:p=>ne(e.formDynamic.attrsVal,ue),maxlength:"30","show-word-limit":""},null,8,["modelValue","onKeyup","onBlur"])]),_:2},1032,["onAfterEnter"])]),_:2},1032,["list","disabled"])])])],8,Xn)]),_:1},8,["disabled","list"]),e.attrs.length<4?j((u(),C(E,{key:0,onClick:s[4]||(s[4]=v=>d())},{default:o(()=>[...s[43]||(s[43]=[L("添加新规格",-1)])]),_:1})),[[pe]]):D("",!0),e.attrs.length>=1?j((u(),C(E,{key:1,type:"text",onClick:s[5]||(s[5]=v=>h())},{default:o(()=>[...s[44]||(s[44]=[L("另存为模板",-1)])]),_:1})),[[pe]]):D("",!0)])]),_:1})]),_:1})):D("",!0),e.formValidate.spec_type===1?(u(),C(le,{key:2,span:24},{default:o(()=>[e.manyFormValidate.length?(u(),C(oe,{key:0,label:"商品属性:",class:"labeltop"},{default:o(()=>[a(Yn,{data:e.manyFormValidate,buffer:50,height:62,"key-prop":"index",onChange:s[14]||(s[14]=v=>O.value=v)},{default:o(()=>[(u(),C(De,{"row-key":"index",height:"700px",data:e.manyFormValidate,style:{width:"100%"},"cell-class-name":I,"span-method":he,border:"",key:e.tableKey},{default:o(()=>[(u(!0),x(fe,null,Pe(e.formValidate.header,(v,ue)=>(u(),C(Ae,{key:ue,label:v.title,"min-width":v.minWidth||"100",fixed:v.fixed},{default:o(p=>[p.$index==0?(u(),x(fe,{key:0},[v.key?(u(),x(fe,{key:0},[e.attrs.length&&e.attrs[p.column.index]&&e.manyFormValidate.length?(u(),x("div",co,[a(Be,{modelValue:e.oneFormBatch[0][v.title],"onUpdate:modelValue":$=>e.oneFormBatch[0][v.title]=$,placeholder:`请选择${v.title}`,clearable:""},{default:o(()=>[(u(!0),x(fe,null,Pe(e.attrs[p.column.index].detail,$=>(u(),C(Ve,{key:$.value,label:$.value,value:$.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","placeholder"])])):D("",!0)],64)):v.slot==="pic"?j((u(),x("div",{key:1,class:"acea-row row-middle",onClick:$=>q("dan","duopi",p.$index)},[e.oneFormBatch[0].pic?(u(),x("div",vo,[j(i("img",null,null,512),[[$e,e.oneFormBatch[0].pic]])])):(u(),x("div",po,[...s[45]||(s[45]=[i("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])]))],8,mo)),[[pe]]):v.slot==="price"?(u(),C(se,{key:2,controls:!1,modelValue:e.oneFormBatch[0].price,"onUpdate:modelValue":s[6]||(s[6]=$=>e.oneFormBatch[0].price=$),min:0,max:9999999999,class:"priceBox",clearable:""},null,8,["modelValue"])):v.slot==="cost"?(u(),C(se,{key:3,controls:!1,modelValue:e.oneFormBatch[0].cost,"onUpdate:modelValue":s[7]||(s[7]=$=>e.oneFormBatch[0].cost=$),min:0,max:9999999999,class:"priceBox",clearable:""},null,8,["modelValue"])):v.slot==="ot_price"?(u(),C(se,{key:4,controls:!1,modelValue:e.oneFormBatch[0].ot_price,"onUpdate:modelValue":s[8]||(s[8]=$=>e.oneFormBatch[0].ot_price=$),min:0,class:"priceBox",clearable:""},null,8,["modelValue"])):v.slot==="stock"?(u(),C(se,{key:5,controls:!1,modelValue:e.oneFormBatch[0].stock,"onUpdate:modelValue":s[9]||(s[9]=$=>e.oneFormBatch[0].stock=$),disabled:e.formValidate.virtual_type==1,min:0,max:9999999999,class:"priceBox",clearable:""},null,8,["modelValue","disabled"])):v.slot==="fictitious"?(u(),x(fe,{key:6},[L(" -- ")],64)):v.slot==="bar_code"?(u(),C(ie,{key:7,modelValue:e.oneFormBatch[0].bar_code,"onUpdate:modelValue":s[10]||(s[10]=$=>e.oneFormBatch[0].bar_code=$)},null,8,["modelValue"])):v.slot==="bar_code_number"?(u(),C(ie,{key:8,modelValue:e.oneFormBatch[0].bar_code_number,"onUpdate:modelValue":s[11]||(s[11]=$=>e.oneFormBatch[0].bar_code_number=$)},null,8,["modelValue"])):v.slot==="weight"?(u(),C(se,{key:9,controls:!1,modelValue:e.oneFormBatch[0].weight,"onUpdate:modelValue":s[12]||(s[12]=$=>e.oneFormBatch[0].weight=$),step:.1,min:0,max:9999999999,class:"priceBox",clearable:""},null,8,["modelValue"])):v.slot==="volume"?(u(),C(se,{key:10,controls:!1,modelValue:e.oneFormBatch[0].volume,"onUpdate:modelValue":s[13]||(s[13]=$=>e.oneFormBatch[0].volume=$),step:.1,min:0,max:9999999999,class:"priceBox",clearable:""},null,8,["modelValue"])):v.slot==="selected_spec"?(u(),x(fe,{key:11},[L(" -- ")],64)):v.slot==="action"?(u(),x(fe,{key:12},[j((u(),x("a",{onClick:N},[...s[46]||(s[46]=[L("批量修改",-1)])])),[[pe]]),a(Ke,{direction:"vertical"}),j((u(),x("a",{onClick:W},[...s[47]||(s[47]=[L("清空",-1)])])),[[pe]])],64)):D("",!0)],64)):(u(),x(fe,{key:1},[v.key?(u(),x("div",fo,[i("span",null,B(p.row.detail[v.key]),1)])):D("",!0),v.slot==="pic"?j((u(),x("div",{key:1,class:"acea-row row-middle",onClick:$=>q("dan","duoTable",p.$index)},[e.manyFormValidate[p.$index].pic?(u(),x("div",go,[j(i("img",null,null,512),[[$e,e.manyFormValidate[p.$index].pic]])])):(u(),x("div",yo,[...s[48]||(s[48]=[i("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])]))],8,_o)),[[pe]]):D("",!0),v.slot==="price"?(u(),C(se,{key:2,controls:!1,modelValue:e.manyFormValidate[p.$index].price,"onUpdate:modelValue":$=>e.manyFormValidate[p.$index].price=$,min:0,max:9999999999,class:"priceBox"},null,8,["modelValue","onUpdate:modelValue"])):v.slot==="cost"?(u(),C(se,{key:3,controls:!1,modelValue:e.manyFormValidate[p.$index].cost,"onUpdate:modelValue":$=>e.manyFormValidate[p.$index].cost=$,min:0,max:9999999999,class:"priceBox"},null,8,["modelValue","onUpdate:modelValue"])):v.slot==="ot_price"?(u(),C(se,{key:4,controls:!1,modelValue:e.manyFormValidate[p.$index].ot_price,"onUpdate:modelValue":$=>e.manyFormValidate[p.$index].ot_price=$,min:0,max:9999999999,class:"priceBox"},null,8,["modelValue","onUpdate:modelValue"])):v.slot==="stock"?(u(),C(se,{key:5,controls:!1,modelValue:e.manyFormValidate[p.$index].stock,"onUpdate:modelValue":$=>e.manyFormValidate[p.$index].stock=$,disabled:e.formValidate.virtual_type==1,min:0,max:9999999999,precision:0,class:"priceBox"},null,8,["modelValue","onUpdate:modelValue","disabled"])):v.slot==="bar_code"?(u(),C(ie,{key:6,modelValue:e.manyFormValidate[p.$index].bar_code,"onUpdate:modelValue":$=>e.manyFormValidate[p.$index].bar_code=$},null,8,["modelValue","onUpdate:modelValue"])):v.slot==="bar_code_number"?(u(),C(ie,{key:7,modelValue:e.manyFormValidate[p.$index].bar_code_number,"onUpdate:modelValue":$=>e.manyFormValidate[p.$index].bar_code_number=$},null,8,["modelValue","onUpdate:modelValue"])):v.slot==="weight"?(u(),C(se,{key:8,controls:!1,modelValue:e.manyFormValidate[p.$index].weight,"onUpdate:modelValue":$=>e.manyFormValidate[p.$index].weight=$,min:0,max:9999999999,class:"priceBox"},null,8,["modelValue","onUpdate:modelValue"])):v.slot==="volume"?(u(),C(se,{key:9,controls:!1,modelValue:e.manyFormValidate[p.$index].volume,"onUpdate:modelValue":$=>e.manyFormValidate[p.$index].volume=$,min:0,max:9999999999,class:"priceBox"},null,8,["modelValue","onUpdate:modelValue"])):v.slot==="fictitious"?(u(),x(fe,{key:10},[e.formValidate.virtual_type==3?(u(),x("div",bo,[a(ie,{modelValue:e.manyFormValidate[p.$index].download_url,"onUpdate:modelValue":$=>e.manyFormValidate[p.$index].download_url=$,placeholder:"网盘链接",class:"netdisk-url"},null,8,["modelValue","onUpdate:modelValue"]),a(ie,{modelValue:e.manyFormValidate[p.$index].download_password,"onUpdate:modelValue":$=>e.manyFormValidate[p.$index].download_password=$,placeholder:"提取码",class:"netdisk-pwd"},null,8,["modelValue","onUpdate:modelValue"])])):!e.manyFormValidate[p.$index].coupon_id&&e.formValidate.virtual_type==2?j((u(),C(E,{key:1,onClick:$=>z(p.$index,"manyFormValidate")},{default:o(()=>[...s[49]||(s[49]=[L("选择优惠券",-1)])]),_:1},8,["onClick"])),[[pe]]):e.manyFormValidate[p.$index].coupon_id&&e.formValidate.virtual_type==2?j((u(),x("span",{key:2,class:"see",onClick:$=>M(e.manyFormValidate[p.$index],"manyFormValidate",p.$index)},[L(B(e.manyFormValidate[p.$index].coupon_name),1)],8,ho)),[[pe]]):!(e.manyFormValidate[p.$index].virtual_list||[]).length&&!e.manyFormValidate[p.$index].stock&&e.formValidate.virtual_type==1?j((u(),C(E,{key:3,onClick:$=>m(p.$index,"manyFormValidate")},{default:o(()=>[...s[50]||(s[50]=[L("添加卡密",-1)])]),_:1},8,["onClick"])),[[pe]]):((e.manyFormValidate[p.$index].virtual_list||[]).length||e.manyFormValidate[p.$index].stock)&&e.formValidate.virtual_type==1?j((u(),x("span",{key:4,class:"see",onClick:$=>M(e.manyFormValidate[p.$index],"manyFormValidate",p.$index)},[...s[51]||(s[51]=[L("已设置",-1)])],8,Vo)),[[pe]]):D("",!0)],64)):v.slot==="selected_spec"?(u(),C(Te,{key:11,modelValue:e.manyFormValidate[p.$index].is_default_select,"onUpdate:modelValue":$=>e.manyFormValidate[p.$index].is_default_select=$,"active-value":1,"inactive-value":0,onChange:$=>re($,p.$index)},null,8,["modelValue","onUpdate:modelValue","onChange"])):v.slot==="action"?(u(),C(Te,{key:12,class:"defineSwitch",modelValue:e.manyFormValidate[p.$index].is_show,"onUpdate:modelValue":$=>e.manyFormValidate[p.$index].is_show=$,"active-text":"显示","inactive-text":"隐藏","active-value":1,"inactive-value":0,onChange:$=>ee(p.$index)},null,8,["modelValue","onUpdate:modelValue","onChange"])):D("",!0)],64))]),_:2},1032,["label","min-width","fixed"]))),128))]),_:1},8,["data"]))]),_:1},8,["data"])]),_:1})):D("",!0)]),_:1})):D("",!0),e.formValidate.spec_type===0?(u(),x("div",ko,[a(le,{span:24},{default:o(()=>[a(oe,{label:"图片:",required:""},{default:o(()=>[j((u(),x("div",{class:"pictrueBox",onClick:s[17]||(s[17]=v=>q("dan","danTable",0))},[e.oneFormValidate[0].pic?(u(),x("div",wo,[j(i("img",null,null,512),[[$e,e.oneFormValidate[0].pic]]),a(ie,{modelValue:e.oneFormValidate[0].pic,"onUpdate:modelValue":s[15]||(s[15]=v=>e.oneFormValidate[0].pic=v),style:{display:"none"}},null,8,["modelValue"])])):(u(),x("div",xo,[a(ie,{modelValue:e.oneFormValidate[0].pic,"onUpdate:modelValue":s[16]||(s[16]=v=>e.oneFormValidate[0].pic=v),style:{display:"none"}},null,8,["modelValue"]),s[52]||(s[52]=i("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1))]))])),[[pe]])]),_:1})]),_:1}),a(le,{span:24},{default:o(()=>[a(oe,{label:"售价:",required:""},{default:o(()=>[a(se,{controls:!1,modelValue:e.oneFormValidate[0].price,"onUpdate:modelValue":s[18]||(s[18]=v=>e.oneFormValidate[0].price=v),min:0,precision:2,max:9999999999,class:"input_width input-number-unit-class","active-change":!1,"class-unit":"元"},null,8,["modelValue"])]),_:1})]),_:1}),a(le,{span:24},{default:o(()=>[a(oe,{label:"成本价:",required:""},{default:o(()=>[a(se,{controls:!1,modelValue:e.oneFormValidate[0].cost,"onUpdate:modelValue":s[19]||(s[19]=v=>e.oneFormValidate[0].cost=v),min:0,max:9999999999,precision:2,"active-change":!1,class:"input_width input-number-unit-class","class-unit":"元"},null,8,["modelValue"])]),_:1})]),_:1}),a(le,{span:24},{default:o(()=>[a(oe,{label:"划线价:",required:""},{default:o(()=>[a(se,{controls:!1,modelValue:e.oneFormValidate[0].ot_price,"onUpdate:modelValue":s[20]||(s[20]=v=>e.oneFormValidate[0].ot_price=v),min:0,max:9999999999,precision:2,"active-change":!1,class:"input_width input-number-unit-class","class-unit":"元"},null,8,["modelValue"])]),_:1})]),_:1}),a(le,{span:24},{default:o(()=>[a(oe,{label:"库存:",required:""},{default:o(()=>[a(se,{controls:!1,modelValue:e.oneFormValidate[0].stock,"onUpdate:modelValue":s[21]||(s[21]=v=>e.oneFormValidate[0].stock=v),min:0,max:9999999999,disabled:e.formValidate.virtual_type==1,precision:0,class:"input_width input-number-unit-class","class-unit":e.formValidate.unit_name||"件"},null,8,["modelValue","disabled","class-unit"])]),_:1})]),_:1}),a(le,{span:24},{default:o(()=>[a(oe,{label:"商品编码:"},{default:o(()=>[a(ie,{modelValue:e.oneFormValidate[0].bar_code,"onUpdate:modelValue":s[22]||(s[22]=v=>e.oneFormValidate[0].bar_code=v),modelModifiers:{trim:!0},class:"input_width"},null,8,["modelValue"])]),_:1})]),_:1}),a(le,{span:24},{default:o(()=>[a(oe,{label:"条形码:"},{default:o(()=>[a(ie,{modelValue:e.oneFormValidate[0].bar_code_number,"onUpdate:modelValue":s[23]||(s[23]=v=>e.oneFormValidate[0].bar_code_number=v),modelModifiers:{trim:!0},class:"input_width"},null,8,["modelValue"])]),_:1})]),_:1}),e.formValidate.virtual_type==0?(u(),C(le,{key:0,span:24},{default:o(()=>[a(oe,{label:"重量:",required:""},{default:o(()=>[a(se,{controls:!1,modelValue:e.oneFormValidate[0].weight,"onUpdate:modelValue":s[24]||(s[24]=v=>e.oneFormValidate[0].weight=v),min:0,max:9999999999,class:"input_width input-number-unit-class","class-unit":"kg"},null,8,["modelValue"])]),_:1})]),_:1})):D("",!0),a(le,{span:24},{default:o(()=>[e.formValidate.virtual_type==0?(u(),C(oe,{key:0,label:"体积:",required:""},{default:o(()=>[a(se,{controls:!1,modelValue:e.oneFormValidate[0].volume,"onUpdate:modelValue":s[25]||(s[25]=v=>e.oneFormValidate[0].volume=v),min:0,max:9999999999,class:"input_width input-number-unit-class","class-unit":"m³"},null,8,["modelValue"])]),_:1})):D("",!0)]),_:1}),e.formValidate.virtual_type==3?(u(),C(le,{key:1,span:24},{default:o(()=>[a(oe,{label:"网盘信息:"},{default:o(()=>[i("div",Fo,[a(ie,{modelValue:e.oneFormValidate[0].download_url,"onUpdate:modelValue":s[26]||(s[26]=v=>e.oneFormValidate[0].download_url=v),modelModifiers:{trim:!0},placeholder:"网盘链接",class:"netdisk-url"},null,8,["modelValue"]),a(ie,{modelValue:e.oneFormValidate[0].download_password,"onUpdate:modelValue":s[27]||(s[27]=v=>e.oneFormValidate[0].download_password=v),modelModifiers:{trim:!0},placeholder:"提取码",class:"netdisk-pwd"},null,8,["modelValue"])])]),_:1})]),_:1})):D("",!0),a(le,{span:24},{default:o(()=>[e.formValidate.virtual_type==1||e.formValidate.virtual_type==2?(u(),C(oe,{key:0,label:e.formValidate.virtual_type==1?"添加卡密/网盘:":"选择优惠券:"},{default:o(()=>[!e.oneFormValidate[0].coupon_id&&e.formValidate.virtual_type==2?j((u(),C(E,{key:0,onClick:s[28]||(s[28]=v=>z(0,"oneFormValidate"))},{default:o(()=>[...s[53]||(s[53]=[L("选择优惠券",-1)])]),_:1})),[[pe]]):e.oneFormValidate[0].coupon_id&&e.formValidate.virtual_type==2?j((u(),x("span",{key:1,class:"see",onClick:s[29]||(s[29]=v=>M(e.oneFormValidate[0],"oneFormValidate",0))},[L(B(e.oneFormValidate[0].coupon_name),1)])),[[pe]]):D("",!0),!(e.oneFormValidate[0].virtual_list||[]).length&&!e.oneFormValidate[0].stock&&e.formValidate.virtual_type==1?j((u(),C(E,{key:2,onClick:s[30]||(s[30]=v=>m(0,"oneFormValidate"))},{default:o(()=>[...s[54]||(s[54]=[L("添加卡密",-1)])]),_:1})),[[pe]]):((e.oneFormValidate[0].virtual_list||[]).length||e.oneFormValidate[0].stock>0)&&e.formValidate.virtual_type==1?j((u(),x("span",{key:3,class:"see",onClick:s[31]||(s[31]=v=>M(e.oneFormValidate[0],"oneFormValidate",0))},[...s[55]||(s[55]=[L("已设置",-1)])])),[[pe]]):D("",!0)]),_:1},8,["label"])):D("",!0)]),_:1})])):D("",!0)]),_:1})}}}),Co=ze($o,[["__scopeId","data-v-0f8deee1"]]),So=[{title:"图片",slot:"pic",align:"center",minWidth:80},{title:"售价",slot:"price",align:"center",minWidth:120},{title:"成本价",slot:"cost",align:"center",minWidth:120},{title:"原价",slot:"ot_price",align:"center",minWidth:120},{title:"库存",slot:"stock",align:"center",minWidth:120},{title:"产品编号",slot:"bar_code",align:"center",minWidth:120},{title:"网盘信息",slot:"fictitious",align:"center",minWidth:300},{title:"默认选中规格",slot:"selected_spec",fixed:"right",align:"center",minWidth:90},{title:"操作",slot:"action",fixed:"right",align:"center",minWidth:120}],et=[{title:"图片",slot:"pic",align:"center",minWidth:80},{title:"售价",slot:"price",align:"center",minWidth:95},{title:"成本价",slot:"cost",align:"center",minWidth:95},{title:"划线价",slot:"ot_price",align:"center",minWidth:95},{title:"库存",slot:"stock",align:"center",minWidth:95},{title:"商品编码",slot:"bar_code",align:"center",minWidth:120},{title:"条形码",slot:"bar_code_number",align:"center",minWidth:120},{title:"重量(KG)",slot:"weight",align:"center",minWidth:95},{title:"体积(m³)",slot:"volume",align:"center",minWidth:95},{title:"操作",slot:"action",fixed:"right",align:"center",minWidth:120}],To=[{value:"text",label:"文本框"},{value:"number",label:"数字"},{value:"email",label:"邮件"},{value:"data",label:"日期"},{value:"time",label:"时间"},{value:"id",label:"身份证"},{value:"phone",label:"手机号"},{value:"img",label:"图片"}],Uo={class:"",id:"shopp-manager"},Bo=Object.assign({name:"virtualProductAdd"},{__name:"Add",props:{editId:{type:Number,default:0}},setup(e){const{proxy:P}=Tt(),U=ct(),b=ca.routePre,O=ma(),Y=e,_=f(null),r=f(null),J=f(null),te=f(null),X=f(null),ae=f(null),re=f(null),ee=Ue(()=>O.isMobile),q=Ue(()=>ee.value?void 0:"120px"),R=Ue(()=>ee.value?"top":"right"),N=f(!1),d=f(!1),W=f("1"),ce=f([{tit:"基础信息",name:"1"},{tit:"规格库存",name:"2"},{tit:"商品详情",name:"3"},{tit:"会员价/佣金",name:"4"},{tit:"营销设置",name:"5"},{tit:"其他设置",name:"6"}]),me=f(0),n=f({store_name:"",store_info:"",cate_id:[],label_id:[],slider_image:[],image:"",recommend_image:"",description:"",keyword:"",unit_name:"件",price:0,ot_price:0,cost:0,stock:0,ficti:0,give_integral:0,sort:0,is_show:1,is_vip:0,is_vip_admin:0,vip_product:0,spec_type:0,is_sub:0,coupon_ids:[],couponName:[],label_list:[],params_list:[],protection_list:[],custom_form:[],recommend:[],recommend_list:[],activity:["默认","秒杀","砍价","拼团"],presale:0,presale_time:[],is_limit:0,limit_type:0,limit_num:0,min_qty:1,logistics:["1"],freight:2,postage:0,temp_id:"",video_link:"",video_open:0,seletVideo:0,download_url:"",download_password:"",is_auto_send:1,attrs:[],items:[],header:[],selectRule:"",virtual_type:3,is_virtual:0,type:0}),k=f([{pic:"",price:0,cost:0,ot_price:0,stock:0,bar_code:"",bar_code_number:"",weight:0,volume:0,brokerage:0,brokerage_two:0,vip_price:0,download_url:"",download_password:""}]),w=f([]),T=f([{pic:"",price:void 0,cost:void 0,ot_price:void 0,stock:void 0,bar_code:"",bar_code_number:"",weight:void 0,volume:void 0}]),h=f([]),z=f([]),V=f([]),m=f({attrsName:"",attrsVal:""}),H=f(!0),S=f(0),M=f(""),ne=f([{id:3,tit:"网盘商品",tit2:"网盘发货"}]),I=f([]),_e=f([]),he=f([]),F=f(!1),s=f(""),K=f(""),ye=f(0),xe=f(0),Fe=f(!1),Se=f({videoIng:!1}),oe={xl:6,lg:8,md:12,sm:12,xs:12},le={xl:4,lg:8,md:8,sm:8,xs:8},Te=f(""),ie=f(""),Ee=f(!1),Me=f(null),Re=f([]),E=f([]),Ve=f(0),Be=f([]),se=f([]),Ke=f([]),Ae=f([]),De=f(!1),Le=f(!1),pe=f({默认:"red",秒杀:"blue",砍价:"green",拼团:"yellow"}),$e=f(void 0),v=f(void 0),ue=f(void 0),p=f(void 0),$=f([]),be=f([]),Ye=[{title:"一级返佣(元)",slot:"brokerage",align:"center",width:95},{title:"二级返佣(元)",slot:"brokerage_two",align:"center",width:95}],Je=[{title:"会员价",slot:"vip_price",align:"center",width:95},{title:"会员折扣",slot:"vip_proportion",align:"center",width:95}],je=f([]),qe=f(!1);let Xe=null;async function vt(){try{const l=await Bt(1);I.value=l.data||[]}catch{I.value=[]}}async function Ot(){N.value=!0;try{const t=(await Ce("/product/"+Y.editId)).data||{};if(n.value.store_name=t.store_name||"",n.value.store_info=t.store_info||"",n.value.price=t.price||0,n.value.ot_price=t.ot_price||0,n.value.cost=t.cost||0,n.value.stock=t.stock||0,n.value.ficti=t.ficti||0,n.value.unit_name=t.unit_name||"件",n.value.sort=t.sort||0,n.value.is_show=t.is_show!==void 0?t.is_show:1,n.value.is_vip=t.is_vip||0,n.value.is_vip_admin=t.is_vip_admin||0,n.value.vip_product=t.vip_product!==void 0?t.vip_product:0,n.value.keyword=t.keyword||"",n.value.description=t.description||"",n.value.give_integral=t.give_integral||0,n.value.is_auto_send=t.is_auto_send!==void 0?t.is_auto_send:1,n.value.spec_type=t.spec_type!==void 0?t.spec_type:0,n.value.is_sub=t.is_sub??0,n.value.recommend=t.recommend||[],n.value.recommend_list=t.recommend_list||[],n.value.label_list=t.label_list||[],n.value.params_list=t.params_list||[],n.value.protection_list=t.protection_list||[],n.value.custom_form=t.custom_form||[],Ve.value=t.custom_form&&t.custom_form.length>0?1:0,n.value.logistics=t.logistics||["1"],n.value.freight=t.freight!==void 0?t.freight:2,n.value.postage=t.postage||0,n.value.temp_id=t.temp_id||"",n.value.min_qty=t.min_qty||1,n.value.is_limit=t.is_limit||!1,n.value.limit_type=t.limit_type||0,n.value.limit_num=t.limit_num||0,n.value.presale=t.presale||!1,n.value.presale_time=t.presale_time||[],n.value.video_open=t.video_open||0,n.value.seletVideo=t.seletVideo||0,n.value.video_link=t.video_link||"",t.slider_image){const g=typeof t.slider_image=="string"?JSON.parse(t.slider_image||"[]"):t.slider_image||[];n.value.slider_image=g,n.value.image=g[0]||""}const c=t.cate_id||[];n.value.cate_id=Array.isArray(c)?c:[c],t.attr&&typeof t.attr=="object"?(k.value[0].price=parseFloat(t.attr.price)||0,k.value[0].cost=parseFloat(t.attr.cost)||0,k.value[0].ot_price=parseFloat(t.attr.ot_price)||0,k.value[0].stock=parseInt(t.attr.stock)||0,k.value[0].pic=t.attr.pic||n.value.image,k.value[0].vip_price=parseFloat(t.attr.vip_price)||0,k.value[0].brokerage=parseFloat(t.attr.brokerage)||0,k.value[0].brokerage_two=parseFloat(t.attr.brokerage_two)||0,k.value[0].download_url=t.attr.download_url||"",k.value[0].download_password=t.attr.download_password||""):(k.value[0].price=t.price||0,k.value[0].cost=t.cost||0,k.value[0].ot_price=t.ot_price||0,k.value[0].stock=t.stock||0,k.value[0].pic=n.value.image),t.spec_type===1&&Array.isArray(t.attrs)&&t.attrs.length>1&&kl(t.attrs),ie.value=t.description||"",setTimeout(()=>{gt(n.value.is_sub)},500)}catch{Q.error("加载商品信息失败")}N.value=!1}function tt(){pa().then(l=>{z.value=l.data})}function pt(){fa().then(l=>{V.value=l.data})}function Pt(){_a().then(l=>{Re.value=l.data.list})}function Et(){ga({page:0,limit:0,status:1}).then(l=>{E.value=l.data.list})}function ft(){ya().then(l=>{_e.value=l.data.flatMap(c=>c.list);let t=l.data;n.value.label_list.length?n.value.label_list.map(c=>{t.map(g=>{g.list.map(A=>{A.id===c?A.active=!0:A.active=!1})})}):t.map(c=>{c.list.map(g=>{g.active=!1})}),he.value=t})}function Rt(l,t){}function Nt(){W.value=(Number(W.value)-1).toString()}function Mt(){W.value=(Number(W.value)+1).toString()}function jt(){bt(ht(()=>import("./index-DHL7RTL2.js").then(l=>l.bX),__vite__mapDeps([0,1,2,3,4,5,6,7,8])).then(l=>l.productCreateApi())).then(()=>vt())}function qt(){Le.value=!0}function Ht(){P.$videoModal(l=>{n.value.video_link=l})}function Gt(){n.value.video_link="",xe.value=0,Se.value.videoIng=!1}function Wt(l,t){Xe=t}function zt(){Xe=null}function Kt(l){l.dataTransfer.dropEffect="move"}function Yt(l,t){if(t===Xe)return;const c=[...n.value.slider_image],g=c.indexOf(Xe),A=c.indexOf(t);c.splice(A,0,...c.splice(g,1)),n.value.slider_image=c}function Jt(l){n.value.slider_image.splice(l,1),k.value[0].pic=n.value.slider_image[0]||""}function lt(l,t="",c=0){F.value=!0,s.value=l==="dan"?"单选":"多选",K.value=t,ye.value=c}function Xt(l){switch(K.value){case"danFrom":n.value.image=l.att_dir,Y.editId||(n.value.spec_type===0?k.value[0].pic=l.att_dir:(w.value.map(t=>{t.pic=l.att_dir}),T.value[0].pic=l.att_dir));break;case"danTable":k.value[ye.value].pic=l.att_dir;break;case"duopi":T.value[ye.value].pic=l.att_dir;break;default:w.value.length&&(w.value[ye.value].pic=l.att_dir)}F.value=!1}function Zt(l){l.map(t=>{n.value.slider_image.push(t.att_dir),n.value.slider_image=n.value.slider_image.splice(0,10)}),k.value[0].pic=n.value.slider_image[0]||"",F.value=!1}function Qt(){n.value.is_sub=0}function el(l){if(n.value.selectRule=l,h.value=[],!l.trim())return Q.error("请选择属性");z.value.forEach(t=>{t.rule_name===l&&(h.value=[...t.rule_value])}),H.value=!0,Ie(h.value)}function tl(){Ie(h.value)}function ll(l){}function al(l){h.value.splice(l,1),w.value.splice(l,1),h.value.length?Ie(h.value):(n.value.header=[],w.value=[])}function nl(l,t){t.trim().length&&h.value[l].detail.length?(at(h.value),w.value.length&&(w.value.map((c,g)=>{g>0&&Object.keys(c.detail).includes(M.value)&&(c.detail[t]=c.detail[M.value],c[t]=c[M.value],delete c.detail[M.value],delete c[M.value])}),M.value=t)):Ie(h.value)}function ol(l){M.value=l}function il(){M.value=""}function sl(l){P.$imgModal(t=>{l.pic=t.att_dir,wl([l.value],t.att_dir)})}function ul(l){l.pic=""}function dl(l){J.value.$refs["inputRef_"+l][0].focus()}function rl(){h.value.push({value:m.value.attrsName,add_pic:0,detail:[]})}function cl(){if(!h.value.length)return Q.warning("请先添加规格");We.prompt("","请输入模板名称",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(({value:l})=>{let t=h.value.map(c=>({value:c.value,detail:c.detail.map(g=>g.value)}));ba({rule_name:l,spec:t},0).then(c=>{Q.success(c.msg),tt()})}).catch(()=>{})}function ml(l,t){if(l){if(h.value[t].detail.some(g=>g.value===l)){Q.error("规格值已存在");return}h.value[t].detail.push({value:l,pic:""}),w.value.length?vl(h.value[t].value,l):Ie(h.value),J.value.$refs["popoverRef_"+t][0].doClose(),pl()}else J.value.$refs["popoverRef_"+t][0].doClose()}function vl(l,t){Ie(h.value,t)}function pl(){m.value.attrsName="",m.value.attrsVal=""}function fl(l,t){l?(h.value.map((c,g)=>{g!==t&&(c.add_pic=0)}),H.value=!1):H.value=!0}function _l(l,t,c){l.splice(t,1),gl(c)}function gl(l){for(let t=0;t{if(A>0&&Object.keys(g.detail).includes(c)&&g.detail[c]===M.value){g.detail[c]=l;let de=g.attr_arr.findIndex(G=>G===M.value);g.attr_arr[de]=l}}),M.value=l}else Ie(h.value,1)}function bl(){let l=[];for(let c of h.value)T.value[0][c.value]&&l.push(T.value[0][c.value]);const t=["pic","price","cost","ot_price","stock","weight","volume","bar_code","bar_code_number"];for(let c of w.value){const g=T.value[0];(!l.length||Ze(c.attr_arr,l))&&t.forEach(A=>{g[A]&&g[A]!==void 0&&(A==="pic"&&g[A]||A!=="pic")&&(c[A]=g[A])})}}function hl(){T.value=[{pic:"",price:void 0,cost:void 0,ot_price:void 0,stock:void 0,bar_code:"",bar_code_number:"",weight:void 0,volume:void 0}]}function Ze(l,t){const c=new Set(l),g=new Set(t);for(let A of g)if(!c.has(A))return!1;return!0}function Vl(){tt()}function at(l){let c=[...l.map(g=>({title:g.value,key:g.value,minWidth:140,fixed:"left"})),...So];n.value.header=c,S.value+=1,je.value=c}function Ie(l,t){at(l);let c=l;const g=ot(c);let A=[];if(g.length>500){const de=Math.ceil(g.length/500);for(let G=0;G{let ge=nt(c,g.slice(G,G+de),t);A=[...A,...ge],w.value=[...T.value,...A]},0)}else A=nt(c,g,t),w.value=[...T.value,...A]}function nt(l,t,c){let g=w.value.slice(1);return t.map(de=>{let G={attr_arr:de,detail:{},title:"",key:"",price:0,pic:"",ot_price:0,cost:0,stock:0,is_show:1,is_default_select:0,unique:"",weight:"",volume:"",brokerage:0,brokerage_two:0,vip_price:0,vip_proportion:0,download_url:"",download_password:""};return l.forEach((ge,He)=>{const Oe=de[He];G[ge.value]=Oe,G.title=ge.value,G.key=ge.value,G.detail[ge.value]=Oe;const ve=g.find(Z=>Z.attr_arr&&_t(Z.attr_arr,de));if(ve)Object.assign(G,{price:ve.price,cost:ve.cost,ot_price:ve.ot_price,stock:ve.stock,pic:ve.pic,unique:ve.unique||"",weight:ve.weight||"",volume:ve.volume||"",is_show:ve.is_show||1,is_default_select:ve.is_default_select||0,brokerage:ve.brokerage,brokerage_two:ve.brokerage_two,vip_price:ve.vip_price,vip_proportion:ve.vip_proportion,download_url:ve.download_url||"",download_password:ve.download_password||""});else if(ge.add_pic&&de.includes(c)){const Z=ge.detail.find(it=>de.includes(it.value));Z&&(G.pic=Z.pic)}}),G})}function kl(l){const t={};if(l.forEach(A=>{const de=A.detail||{};Object.keys(de).forEach(G=>{t[G]||(t[G]=[]);const ge=de[G];t[G].includes(ge)||t[G].push(ge)})}),l.value=Object.keys(t).map(A=>({value:A,add_pic:0,detail:t[A].map(de=>({value:de,pic:""}))})),!l.value.length)return;n.value.items=l.value,at(l.value);const c=ot(l.value),g=nt(l.value,c);g.forEach(A=>{const de=A.attr_arr||[],G=l.find(ge=>{const He=ge.detail?Object.values(ge.detail):[];return _t(He,de)});G&&(A.price=parseFloat(G.price)||0,A.cost=parseFloat(G.cost)||0,A.ot_price=parseFloat(G.ot_price)||0,A.stock=parseInt(G.stock)||0,A.unique=G.unique||"",A.pic=G.pic||"",A.download_url=G.download_url||"",A.download_password=G.download_password||"")}),w.value=[...T.value,...g],n.value.spec_type=1,n.value.is_copy=1,w.value.length>1&&(w.value[1].is_default_select=1)}function ot(l,t=[]){if(l.length===0)return[t];const[c,...g]=l;return c.detail.flatMap(A=>ot(g,[...t,A.value]))}function _t(l,t){if(!l||!t||l.length!==t.length)return!1;for(let c=0;c{for(let g of w.value)Ze(g.attr_arr,l)&&(g.pic=t)}).catch(()=>{});else for(let g of w.value)Ze(g.attr_arr,l)&&(g.pic=t)}function xl(l,t){w.value.map((c,g)=>{g!==t&&(c.is_default_select=0)}),l&&(w.value[t].is_show=1)}function Fl(l){w.value[l].is_default_select===1&&(w.value[l].is_show=1,Q.error("默认规格不可隐藏"))}function $l(l,t,c){}function Cl(l,t){}function Sl(l,t){}function Tl(l){Te.value=l}function Ul(){gt()}function gt(){let l=h.value.length+3;const t=n.value.is_sub==1,c=n.value.is_vip==1;n.value.spec_type===0?t&&c?$.value=et.slice(0,l).concat(Ye).concat(Je):c?$.value=et.slice(0,l).concat(Je):t?$.value=et.slice(0,l).concat(Ye):$.value=et.slice(0,l):t&&c?be.value=je.value.slice(0,l+1).concat(Ye).concat(Je):c?be.value=je.value.slice(0,l).concat(Je):t?be.value=je.value.slice(0,l).concat(Ye):be.value=je.value.slice(0,l)}function Bl(l,t="manyFormValidate"){const c=t==="oneFormValidate"?k.value:w.value;c[l].vip_price=(c[l].price*(c[l].vip_proportion/100)).toFixed(2)}function Al(l,t="manyFormValidate"){const c=t==="oneFormValidate"?k.value:w.value;c[l].vip_proportion=(c[l].vip_price/c[l].price*100).toFixed(2)}function Dl(){if(n.value.is_sub==1&&($e.value<=0||v.value<=0))return Q.error("请填写返佣金额后进行批量添加");if(n.value.is_vip==1&&ue.value<=0)return Q.error("请填写会员价后进行批量添加");if(n.value.is_sub==1&&n.value.is_vip==1){if($e.value<=0||v.value<=0)return Q.error("请填写完金额后进行批量添加");if(ue.value>0&&p.value>0)return Q.error("会员价和会员折扣只能二选一添加")}for(let l of w.value)$e.value!==void 0&&(l.brokerage=$e.value),v.value!==void 0&&(l.brokerage_two=v.value),ue.value!==void 0?(l.vip_price=ue.value,l.vip_proportion=(l.vip_price/l.price*100).toFixed(2)):p.value!==void 0&&(l.vip_proportion=p.value,l.vip_price=(l.price*(p.value/100)).toFixed(2))}function Ll(){te.value.isTemplate=!0,te.value.tableList()}function Il(l){let t=Be.value.indexOf(l);Be.value.splice(t,1);let c=n.value.coupon_ids;c.splice(t,1),se.value=c,Ke.value=Be.value}function Ol(l,t){n.value.coupon_ids=l,Be.value=Pl(t)}function Pl(l){const t={};return l.filter(c=>{const g=JSON.stringify(c);return t[g]?!1:(t[g]=!0,!0)})}function El(l){n.value.presale_time=l}function Rl(){De.value=!0}function Nl(l){let t=Ae.value.indexOf(Ae.value.filter(c=>c.id==l.id)[0]);Ae.value.splice(t,1)}function Ml(){bt(ht(()=>import("./user-Blgc2iHx.js"),__vite__mapDeps([9,0,1,2,3,4,5,6,7,8])).then(l=>l.userLabelAddApi(0))).then(()=>Kl())}function jl(l){n.value.recommend_list.splice(l,1)}function ql(){qe.value=!0,ut(()=>{X.value.getList(),X.value.goodsCategory()})}function Hl(l){qe.value=!1,n.value.recommend_list=Gl(n.value.recommend_list.concat(l))}function Gl(l){const t=new Map;return l.filter(c=>!t.has(c.product_id)&&t.set(c.product_id,1))}function Wl(l){De.value=!1,Ae.value=l}function zl(l){Le.value=!1,n.value.label_list=Array.from(new Set(l))}function yt(){De.value=!1,Le.value=!1}function Kl(){ft()}function Yl(l){l||(n.value.custom_form=[]),Ve.value=l}function Jl(){n.value.custom_form.length>9?Q.warning("最多添加10条"):n.value.custom_form.push({title:"",label:"text",value:"",status:!1})}function Xl(l){n.value.custom_form.splice(l,1)}function Zl(l){l?Ql(l):n.value.params_list=[]}function Ql(l){ha(l).then(t=>{n.value.params_list=t.data.value})}function ea(l){n.value.params_list.splice(l,1)}function ta(){n.value.params_list.push({name:"",value:""})}function la(){U.push({path:b+"/product/protection/list"})}function aa(l){Ee.value=l}function na(){if(n.value.spec_type===1&&w.value.length<2)return Q.warning("商品规格-规格数量最少1个");if(!n.value.store_name)return Q.warning("商品名称不能为空");if(!n.value.cate_id.length)return Q.warning("请选择商品分类");if(!n.value.slider_image.length)return Q.warning("请上传商品图片");if(n.value.is_sub==1||n.value.is_vip==1){let g;if(n.value.spec_type===0?g=JSON.parse(JSON.stringify(k.value)):(g=JSON.parse(JSON.stringify(w.value)),g.shift()),n.value.is_vip==1){for(let A=0;A{Q.success(Y.editId?"更新成功":"添加成功"),oa()}).catch(g=>{Q.error(g.message)}).finally(()=>{d.value=!1})}function oa(){const l=b+"/product/virtual/list";U.push({path:l})}return da(()=>{n.value.virtual_type=3,n.value.virtual_type=3,vt(),tt(),pt(),Pt(),Et(),ft(),Y.editId&&Ot()}),(l,t)=>{const c=y("pages-header"),g=y("el-tab-pane"),A=y("el-tabs"),de=y("el-button"),G=y("el-form-item"),ge=y("el-form"),He=y("el-card"),Oe=y("el-dialog"),ve=we("loading");return j((u(),x("div",Uo,[a(c,{ref_key:"pageHeader",ref:_,title:e.editId?"编辑网盘商品":"添加网盘商品",backUrl:ke(b)+"/product/virtual/list"},null,8,["title","backUrl"]),a(He,{bordered:!1,shadow:"never",class:"mt16","body-style":{padding:"0px 20px"}},{default:o(()=>[a(A,{modelValue:W.value,"onUpdate:modelValue":t[0]||(t[0]=Z=>W.value=Z)},{default:o(()=>[(u(!0),x(fe,null,Pe(ce.value,(Z,it)=>(u(),C(g,{key:it,label:Z.tit,name:Z.name},null,8,["label","name"]))),128))]),_:1},8,["modelValue"]),a(ge,{class:"formValidate mt20",ref_key:"formValidateRef",ref:r,rules:l.ruleValidate,model:n.value,"label-width":q.value,"label-position":R.value,onSubmit:t[6]||(t[6]=dt(()=>{},["prevent"]))},{default:o(()=>[j(a($a,{isCai:me.value,formValidate:n.value,goodsType:ne.value,treeSelect:I.value,tileLabelList:_e.value,progress:xe.value,upload:Se.value,videoIng:Fe.value,onVirtualbtn:Rt,onHandleDragStart:Wt,onHandleDragOver:Kt,onHandleDragEnter:Yt,onHandleDragEnd:zt,onHandleRemove:Jt,onModalPicTap:lt,onAddVideo:Ht,onDelVideo:Gt,onAddCate:jt,onAddGoodsTag:qt},null,8,["isCai","formValidate","goodsType","treeSelect","tileLabelList","progress","upload","videoIng"]),[[Ne,W.value==="1"]]),j(a(Co,{ref_key:"specStock",ref:J,formValidate:n.value,ruleList:z.value,attrs:h.value,manyFormValidate:w.value,oneFormValidate:k.value,tableKey:S.value,oneFormBatch:T.value,formDynamic:m.value,canSel:H.value,onChangeSpec:Qt,onConfirm:el,onOnMoveSpec:tl,onChangeCurrentIndex:ll,onHandleRemoveRole:al,onAttrChangeValue:nl,onHandleFocus:ol,onAddPic:fl,onHandleRemove2:_l,onAttrDetailChangeValue:yl,onHandleBlur:il,onHandleSelImg:sl,onHandleRemoveImg:ul,onHandleShowPop:dl,onCreateAttr:ml,onHandleAddRole:rl,onHandleSaveAsTemplate:cl,onBatchAdd:bl,onBatchDel:hl,onModalPicTap:lt,onChangeDefaultSelect:xl,onChangeDefaultShow:Fl,onAddGoodsCoupon:Sl,onSee:$l,onAddVirtual:Cl},null,8,["formValidate","ruleList","attrs","manyFormValidate","oneFormValidate","tableKey","oneFormBatch","formDynamic","canSel"]),[[Ne,W.value==="2"]]),j(a(Ca,{contents:ie.value,content:Te.value,"store-name":n.value.store_name,onGetEditorContent:Tl},null,8,["contents","content","store-name"]),[[Ne,W.value==="3"]]),j(a(Sa,{formValidate:n.value,oneFormValidate:k.value,manyFormValidate:w.value,columnsInstall:$.value,columnsInstal2:be.value,manyBrokerage:$e.value,"onUpdate:manyBrokerage":t[1]||(t[1]=Z=>$e.value=Z),manyBrokerageTwo:v.value,"onUpdate:manyBrokerageTwo":t[2]||(t[2]=Z=>v.value=Z),manyVipPrice:ue.value,"onUpdate:manyVipPrice":t[3]||(t[3]=Z=>ue.value=Z),manyVipDiscount:p.value,"onUpdate:manyVipDiscount":t[4]||(t[4]=Z=>p.value=Z),onCheckAllGroupChange:Ul,onChangeVipPrice:Al,onChangeDiscount:Bl,onBrokerageSetUp:Dl},null,8,["formValidate","oneFormValidate","manyFormValidate","columnsInstall","columnsInstal2","manyBrokerage","manyBrokerageTwo","manyVipPrice","manyVipDiscount"]),[[Ne,W.value==="4"]]),j(a(Ta,{formValidate:n.value,couponName:Be.value,dataLabel:Ae.value,activity:pe.value,onHandleClose:Il,onAddCoupon:Ll,onOpenLabel:Rl,onCloseLabel:Nl,onAddLabel:Ml,onOnchangeTime:El,onHandleRemoveRecommend:jl,onChangeGoods:ql},null,8,["formValidate","couponName","dataLabel","activity"]),[[Ne,W.value==="5"]]),j(a(Ua,{formValidate:n.value,customBtn:Ve.value,"onUpdate:customBtn":t[5]||(t[5]=Z=>Ve.value=Z),paramsType:Me.value,paramsTypeList:Re.value,protectionList:E.value,CustomList:ke(To),onModalPicTap:lt,onChangeParamsType:Zl,onDeleteRow:ea,onHandleAddParams:ta,onAddProtection:la,onCustomMessBtn:Yl,onDelcustom:Xl,onAddcustom:Jl},null,8,["formValidate","customBtn","paramsType","paramsTypeList","protectionList","CustomList"]),[[Ne,W.value==="6"]]),a(G,{class:"mt20"},{default:o(()=>[W.value!=="1"?(u(),C(de,{key:0,onClick:Nt},{default:o(()=>[...t[11]||(t[11]=[L("上一项",-1)])]),_:1})):D("",!0),W.value!=="6"?(u(),C(de,{key:1,type:"primary",onClick:Mt},{default:o(()=>[...t[12]||(t[12]=[L("下一项",-1)])]),_:1})):D("",!0),a(de,{type:"primary",loading:d.value,onClick:na},{default:o(()=>[...t[13]||(t[13]=[L("保存",-1)])]),_:1},8,["loading"])]),_:1})]),_:1},8,["rules","model","label-width","label-position"])]),_:1}),a(Oe,{modelValue:F.value,"onUpdate:modelValue":t[7]||(t[7]=Z=>F.value=Z),width:"950px",scrollable:"",title:"上传商品图","close-on-click-modal":!1},{default:o(()=>[F.value?(u(),C(ke(va),{key:0,isChoice:s.value,onGetPic:Xt,onGetPicD:Zt,gridBtn:le,gridPic:oe},null,8,["isChoice"])):D("",!0)]),_:1},8,["modelValue"]),a(ke(ka),{ref_key:"couponTemplates",ref:te,onNameId:Ol,couponids:n.value.coupon_ids,updateIds:se.value,updateName:Ke.value},null,8,["couponids","updateIds","updateName"]),a(Oe,{modelValue:De.value,"onUpdate:modelValue":t[8]||(t[8]=Z=>De.value=Z),title:"请选择用户标签","show-close":!0,width:"540px","close-on-click-modal":!1},{default:o(()=>[a(ke(Aa),{onActiveData:Wl,onClose:yt})]),_:1},8,["modelValue"]),a(Oe,{modelValue:Le.value,"onUpdate:modelValue":t[9]||(t[9]=Z=>Le.value=Z),title:"请选择商品标签","show-close":!0,width:"540px","close-on-click-modal":!1},{default:o(()=>[a(ke(Da),{defaultLabelList:he.value,onActiveLabel:zl,onClose:yt},null,8,["defaultLabelList"])]),_:1},8,["modelValue"]),a(Oe,{modelValue:qe.value,"onUpdate:modelValue":t[10]||(t[10]=Z=>qe.value=Z),title:"商品列表",footerHide:"",class:"paymentFooter",scrollable:"",width:"1000px"},{default:o(()=>[qe.value?(u(),C(ke(Fa),{key:0,ref_key:"goodslist",ref:X,ischeckbox:!0,onGetProductId:Hl},null,512)):D("",!0)]),_:1},8,["modelValue"]),a(ke(wa),{template:Ee.value,onChangeTemplate:aa,onAddSuccess:pt,ref_key:"templates",ref:ae},null,8,["template"]),a(ke(xa),{ref_key:"addattr",ref:re,onGetList:Vl},null,512)])),[[ve,N.value]])}}}),Ao={class:"virtual-order-detail"},Do={key:1},Lo={class:"head"},Io={class:"full"},Oo={class:"text"},Po={class:"head-list"},Eo={class:"item"},Ro={key:0,style:{color:"#ed4014","margin-left":"4px"}},No={class:"item"},Mo={class:"price"},jo={key:0,class:"item"},qo={class:"item"},Ho={class:"item"},Go={class:"item"},Wo={key:1},zo={key:0,class:"section"},Ko={class:"goods-cell"},Yo={class:"goods-meta"},Jo={class:"goods-name"},Xo={key:0,class:"goods-sku"},Zo={class:"section"},Qo={class:"detail-item"},ei={class:"value"},ti={class:"detail-item"},li={class:"value"},ai={class:"section"},ni={class:"detail-item"},oi={class:"value"},ii={class:"detail-item"},si={class:"value"},ui={class:"detail-item"},di={class:"value"},ri={class:"detail-item"},ci={class:"value"},mi={class:"detail-item"},vi={class:"value"},pi={class:"detail-item"},fi={class:"value"},_i={class:"detail-item"},gi={class:"value"},yi={class:"detail-item"},bi={class:"value price-value"},hi={key:1,class:"section"},Vi={class:"detail-item"},ki={class:"value"},wi={class:"detail-item"},xi={class:"value"},Fi={class:"detail-item"},$i={class:"value"},Ci={class:"detail-item"},Si={class:"value"},Ti={key:2,class:"section"},Ui={class:"detail-item"},Bi={class:"value",style:{"white-space":"pre-wrap"}},Ai={key:3,class:"section"},Di={class:"detail-item"},Li={class:"value"},Ii={class:"detail-item"},Oi={class:"value"},Pi={class:"detail-item"},Ei={class:"value"},Ri={class:"detail-item"},Ni={class:"value"},Mi={class:"detail-item"},ji={class:"value"},qi={class:"detail-item"},Hi={class:"value"},Gi={class:"detail-item"},Wi={class:"value"},zi={class:"section"},Ki={class:"detail-item"},Yi={class:"value"},Ji={key:4,class:"section"},Xi={class:"detail-item"},Zi={class:"label"},Qi={class:"value"},es={class:"detail-item"},ts={class:"label"},ls={class:"value"},as=["src"],ns={class:"section"},os={class:"detail-item"},is={class:"value"},ss={key:0,class:"tl-section"},us={class:"tl-title"},ds={class:"tl-desc"},rs={key:2,class:"empty-tip"},cs=Object.assign({name:"virtualOrderDetail"},{__name:"Detail",props:{orderNo:{type:String,default:""},showBack:{type:Boolean,default:!0}},setup(e){function P(N){if(!N)return"";const d=new Date(N*1e3);return d.getFullYear()+"-"+("0"+(d.getMonth()+1)).slice(-2)+"-"+("0"+d.getDate()).slice(-2)+" "+("0"+d.getHours()).slice(-2)+":"+("0"+d.getMinutes()).slice(-2)+":"+("0"+d.getSeconds()).slice(-2)}const U={pending_payment:"待支付",processing:"待处理",completed:"已完成",canceled:"已取消",refunding:"退款中",refunded:"已退款"},b={pending_payment:"warning",processing:"primary",completed:"success",canceled:"info",refunding:"danger",refunded:"info"},O=e,Y=ct(),_=f(!1),r=f({}),J=f("detail"),te=Ue(()=>r.value.order_items||r.value.cartInfo||[]);Ut(()=>O.orderNo,N=>{N&&R()},{immediate:!0});function X(N){return b[N]||"info"}function ae(N){return U[N]||N||"--"}function re(N){return N&&{pending_payment:"warning",pending_send:"warning",completed:"success",canceled:"info",refunding:"danger",refunded:"info"}[N.code]||"info"}function ee(N){return N?P(N):"--"}function q(){Y.push({path:"/admin/product/virtual/order/list"})}async function R(){if(O.orderNo){_.value=!0;try{const N=await Va.get("virtual/order/"+O.orderNo);r.value=N.data||{}}catch{Q.error("加载订单详情失败")}_.value=!1}}return(N,d)=>{const W=y("el-button"),ce=y("el-card"),me=y("el-tag"),n=y("el-image"),k=y("el-table-column"),w=y("el-table"),T=y("el-col"),h=y("el-row"),z=y("el-tab-pane"),V=y("el-timeline-item"),m=y("el-timeline"),H=y("el-tabs"),S=y("el-empty"),M=we("viewer"),ne=we("loading");return j((u(),x("div",Ao,[e.showBack?(u(),C(ce,{key:0,class:"mb10",shadow:"never","body-style":{padding:"16px 20px"}},{default:o(()=>[a(W,{onClick:q},{default:o(()=>[...d[1]||(d[1]=[L("返回",-1)])]),_:1})]),_:1})):D("",!0),!_.value&&r.value.order_no?(u(),x("div",Do,[a(ce,{shadow:"never",class:"mt16"},{header:o(()=>[i("div",Lo,[i("div",Io,[d[3]||(d[3]=i("img",{class:"order-icon",src:La,alt:""},null,-1)),i("div",Oo,[d[2]||(d[2]=i("div",{class:"title"},"网盘商品订单",-1)),i("div",null,"订单号:"+B(r.value.order_no),1)])]),i("ul",Po,[i("li",Eo,[d[4]||(d[4]=i("div",{class:"label"},"订单状态",-1)),i("div",null,[a(me,{type:X(r.value.status_code)},{default:o(()=>[L(B(ae(r.value.status_code)),1)]),_:1},8,["type"]),r.value.refund_status==1?(u(),x("span",Ro,B(r.value.is_all_refund?"退款中":"部分退款中"),1)):D("",!0)])]),i("li",No,[d[5]||(d[5]=i("div",{class:"label"},"订单金额",-1)),i("div",Mo,"¥"+B(r.value.total_price||"0.00"),1)]),r.value.refund_status==2?(u(),x("li",jo,[d[6]||(d[6]=i("div",{class:"label"},"实际退款",-1)),i("div",null,"¥"+B(r.value.refunded_price||"0.00"),1)])):D("",!0),i("li",qo,[d[7]||(d[7]=i("div",{class:"label"},"支付方式",-1)),i("div",null,B(r.value.pay_type_name||r.value.pay_type||"--"),1)]),i("li",Ho,[d[8]||(d[8]=i("div",{class:"label"},"支付时间",-1)),i("div",null,B(ee(r.value.pay_time)),1)]),i("li",Go,[d[9]||(d[9]=i("div",{class:"label"},"业务状态",-1)),i("div",null,[r.value.business_status?(u(),C(me,{key:0,type:re(r.value.business_status)},{default:o(()=>[L(B(r.value.business_status.text),1)]),_:1},8,["type"])):(u(),x("span",Wo,"--"))])])])])]),_:1}),a(ce,{shadow:"never",class:"mt16"},{default:o(()=>[a(H,{modelValue:J.value,"onUpdate:modelValue":d[0]||(d[0]=I=>J.value=I)},{default:o(()=>[a(z,{label:"订单信息",name:"detail"},{default:o(()=>[te.value.length?(u(),x("div",zo,[d[10]||(d[10]=i("div",{class:"section-title"},"商品信息",-1)),a(w,{data:te.value,stripe:"",class:"goods-table"},{default:o(()=>[a(k,{label:"商品","min-width":"300"},{default:o(({row:I})=>[i("div",Ko,[a(n,{src:I.image,class:"goods-img"},null,8,["src"]),i("div",Yo,[i("p",Jo,B(I.store_name),1),I.sku?(u(),x("p",Xo,B(I.sku),1)):D("",!0)])])]),_:1}),a(k,{label:"单价",width:"100"},{default:o(({row:I})=>[L("¥"+B(I.true_price||I.price),1)]),_:1}),a(k,{label:"数量",width:"80",prop:"cart_num"}),a(k,{label:"小计",width:"120"},{default:o(({row:I})=>[L("¥"+B((parseFloat(I.true_price||I.price)*I.cart_num).toFixed(2)),1)]),_:1})]),_:1},8,["data"])])):D("",!0),i("div",Zo,[d[13]||(d[13]=i("div",{class:"section-title"},"用户信息",-1)),a(h,{gutter:24,class:"detail-grid"},{default:o(()=>[a(T,{span:8},{default:o(()=>{var I;return[i("div",Qo,[d[11]||(d[11]=i("span",{class:"label"},"用户名称:",-1)),i("span",ei,B(r.value.real_name||((I=r.value.contact)==null?void 0:I.name)||"--"),1)])]}),_:1}),a(T,{span:8},{default:o(()=>{var I;return[i("div",ti,[d[12]||(d[12]=i("span",{class:"label"},"联系电话:",-1)),i("span",li,B(r.value.user_phone||((I=r.value.contact)==null?void 0:I.phone)||"--"),1)])]}),_:1})]),_:1})]),i("div",ai,[d[22]||(d[22]=i("div",{class:"section-title"},"订单信息",-1)),a(h,{gutter:24,class:"detail-grid"},{default:o(()=>[a(T,{span:8},{default:o(()=>[i("div",ni,[d[14]||(d[14]=i("span",{class:"label"},"创建时间:",-1)),i("span",oi,B(ee(r.value.add_time)),1)])]),_:1}),a(T,{span:8},{default:o(()=>[i("div",ii,[d[15]||(d[15]=i("span",{class:"label"},"商品总数:",-1)),i("span",si,B(r.value.total_num),1)])]),_:1}),a(T,{span:8},{default:o(()=>[i("div",ui,[d[16]||(d[16]=i("span",{class:"label"},"商品总价:",-1)),i("span",di,"¥"+B(r.value.total_price),1)])]),_:1}),a(T,{span:8},{default:o(()=>[i("div",ri,[d[17]||(d[17]=i("span",{class:"label"},"优惠券金额:",-1)),i("span",ci,"-¥"+B(r.value.coupon_price||"0.00"),1)])]),_:1}),a(T,{span:8},{default:o(()=>[i("div",mi,[d[18]||(d[18]=i("span",{class:"label"},"积分抵扣:",-1)),i("span",vi,"-¥"+B(r.value.deduction_price||"0.00"),1)])]),_:1}),a(T,{span:8},{default:o(()=>[i("div",pi,[d[19]||(d[19]=i("span",{class:"label"},"会员等级优惠:",-1)),i("span",fi,"-¥"+B(r.value.member_level_discount||"0.00"),1)])]),_:1}),a(T,{span:8},{default:o(()=>[i("div",_i,[d[20]||(d[20]=i("span",{class:"label"},"付费会员优惠:",-1)),i("span",gi,"-¥"+B(r.value.vip_discount||"0.00"),1)])]),_:1}),a(T,{span:8},{default:o(()=>[i("div",yi,[d[21]||(d[21]=i("span",{class:"label price-label"},"实际支付:",-1)),i("span",bi,"¥"+B(r.value.pay_price||"0.00"),1)])]),_:1})]),_:1})]),r.value.virtual_extend?(u(),x("div",hi,[d[27]||(d[27]=i("div",{class:"section-title"},"网盘商品信息",-1)),a(h,{gutter:24,class:"detail-grid"},{default:o(()=>[a(T,{span:8},{default:o(()=>[i("div",Vi,[d[23]||(d[23]=i("span",{class:"label"},"商品ID:",-1)),i("span",ki,B(r.value.virtual_extend.product_id||"--"),1)])]),_:1}),a(T,{span:8},{default:o(()=>[i("div",wi,[d[24]||(d[24]=i("span",{class:"label"},"状态:",-1)),i("span",xi,[a(me,{type:X(r.value.virtual_extend.status)},{default:o(()=>[L(B(r.value.virtual_extend.status_text||ae(r.value.virtual_extend.status)),1)]),_:1},8,["type"])])])]),_:1}),a(T,{span:8},{default:o(()=>[i("div",Fi,[d[25]||(d[25]=i("span",{class:"label"},"发放时间:",-1)),i("span",$i,B(ee(r.value.virtual_extend.send_time)),1)])]),_:1}),a(T,{span:8},{default:o(()=>[i("div",Ci,[d[26]||(d[26]=i("span",{class:"label"},"完成时间:",-1)),i("span",Si,B(ee(r.value.virtual_extend.complete_time)),1)])]),_:1})]),_:1})])):D("",!0),r.value.virtual_extend&&r.value.virtual_extend.delivery_info?(u(),x("div",Ti,[d[29]||(d[29]=i("div",{class:"section-title"},"交付信息",-1)),a(h,{gutter:24,class:"detail-grid"},{default:o(()=>[a(T,{span:24},{default:o(()=>[i("div",Ui,[d[28]||(d[28]=i("span",{class:"label"},"交付内容:",-1)),i("span",Bi,B(r.value.virtual_extend.delivery_info),1)])]),_:1})]),_:1})])):D("",!0),r.value.invoice&&Object.keys(r.value.invoice).length?(u(),x("div",Ai,[d[39]||(d[39]=i("div",{class:"section-title"},"发票信息",-1)),a(h,{gutter:24,class:"detail-grid"},{default:o(()=>[a(T,{span:8},{default:o(()=>[i("div",Di,[d[30]||(d[30]=i("span",{class:"label"},"发票抬头:",-1)),i("span",Li,B(r.value.invoice.name||"--"),1)])]),_:1}),r.value.invoice.header_type===2&&r.value.invoice.type===1?(u(),C(T,{key:0,span:8},{default:o(()=>[i("div",Ii,[d[31]||(d[31]=i("span",{class:"label"},"企业税号:",-1)),i("span",Oi,B(r.value.invoice.duty_number||"--"),1)])]),_:1})):D("",!0),r.value.invoice.header_type===2&&r.value.invoice.type===1?(u(),C(T,{key:1,span:8},{default:o(()=>[...d[32]||(d[32]=[i("div",{class:"detail-item"},[i("span",{class:"label"},"发票类型:"),i("span",{class:"value"},"电子普通发票")],-1)])]),_:1})):D("",!0),r.value.invoice.header_type===2&&r.value.invoice.type===1?(u(),C(T,{key:2,span:8},{default:o(()=>[...d[33]||(d[33]=[i("div",{class:"detail-item"},[i("span",{class:"label"},"发票抬头类型:"),i("span",{class:"value"},"企业")],-1)])]),_:1})):D("",!0),r.value.invoice.header_type===1&&r.value.invoice.type===1?(u(),C(T,{key:3,span:8},{default:o(()=>[i("div",Pi,[d[34]||(d[34]=i("span",{class:"label"},"真实姓名:",-1)),i("span",Ei,B(r.value.invoice.name||"--"),1)])]),_:1})):D("",!0),r.value.invoice.header_type===1&&r.value.invoice.type===1?(u(),C(T,{key:4,span:8},{default:o(()=>[i("div",Ri,[d[35]||(d[35]=i("span",{class:"label"},"联系电话:",-1)),i("span",Ni,B(r.value.invoice.drawer_phone||"--"),1)])]),_:1})):D("",!0),r.value.invoice.header_type===2&&r.value.invoice.type===1?(u(),C(T,{key:5,span:8},{default:o(()=>[i("div",Mi,[d[36]||(d[36]=i("span",{class:"label"},"联系电话:",-1)),i("span",ji,B(r.value.invoice.user_phone||"--"),1)])]),_:1})):D("",!0),r.value.invoice.header_type===2&&r.value.invoice.type===1?(u(),C(T,{key:6,span:8},{default:o(()=>[i("div",qi,[d[37]||(d[37]=i("span",{class:"label"},"联系邮箱:",-1)),i("span",Hi,B(r.value.invoice.email||"--"),1)])]),_:1})):D("",!0),a(T,{span:8},{default:o(()=>[i("div",Gi,[d[38]||(d[38]=i("span",{class:"label"},"开票状态:",-1)),i("span",Wi,B(r.value.invoice.is_invoice?"已开票":"未开票"),1)])]),_:1})]),_:1})])):D("",!0),i("div",zi,[d[40]||(d[40]=i("div",{class:"section-title"},"买家留言",-1)),a(h,{gutter:24,class:"detail-grid"},{default:o(()=>[a(T,{span:24},{default:o(()=>[i("div",Ki,[i("span",Yi,B(r.value.mark||"--"),1)])]),_:1})]),_:1})]),r.value.custom_form&&r.value.custom_form.length?(u(),x("div",Ji,[d[41]||(d[41]=i("div",{class:"section-title"},"表单信息",-1)),a(h,{gutter:24,class:"detail-grid"},{default:o(()=>[(u(!0),x(fe,null,Pe(r.value.custom_form,(I,_e)=>(u(),x(fe,{key:_e},[I.label!=="img"?(u(),C(T,{key:0,span:8},{default:o(()=>[i("div",Xi,[i("span",Zi,B(I.title)+":",1),i("span",Qi,B(I.value),1)])]),_:2},1024)):(u(),C(T,{key:1,span:24},{default:o(()=>[i("div",es,[i("span",ts,B(I.title)+":",1),i("span",ls,[(u(!0),x(fe,null,Pe(I.value,(he,F)=>j((u(),x("img",{key:F,src:he,class:"form-img"},null,8,as)),[[M]])),128))])])]),_:2},1024))],64))),128))]),_:1})])):D("",!0),i("div",ns,[d[42]||(d[42]=i("div",{class:"section-title"},"订单备注",-1)),a(h,{gutter:24,class:"detail-grid"},{default:o(()=>[a(T,{span:24},{default:o(()=>[i("div",os,[i("span",is,B(r.value.remark||"--"),1)])]),_:1})]),_:1})])]),_:1}),a(z,{label:"订单进度",name:"timeline"},{default:o(()=>[r.value.timeline&&r.value.timeline.length?(u(),x("div",ss,[a(m,null,{default:o(()=>[(u(!0),x(fe,null,Pe(r.value.timeline,(I,_e)=>(u(),C(V,{key:_e,timestamp:I.time,color:_e===0?"#409eff":"#e4e7ed"},{default:o(()=>[i("span",us,B(I.title),1),i("span",ds,B(I.desc),1)]),_:2},1032,["timestamp","color"]))),128))]),_:1})])):D("",!0)]),_:1})]),_:1},8,["modelValue"])]),_:1})])):_.value?D("",!0):(u(),x("div",rs,[a(S,{description:"订单信息未找到"})]))])),[[ne,_.value]])}}}),It=ze(cs,[["__scopeId","data-v-aac7f17e"]]),ms={class:"virtual-order-list"},vs=["onClick"],ps={class:"acea-row row-right page"},fs=Object.assign({name:"virtualOrderList"},{__name:"List",setup(e){const P=f(!1),U=f([]),b=f(0),O=f({page:1,limit:15,order_no:"",status:""}),Y=f(!1),_=f("");function r(q){if(!q)return"";const R=new Date(q*1e3),N=R.getFullYear(),d=("0"+(R.getMonth()+1)).slice(-2),W=("0"+R.getDate()).slice(-2),ce=("0"+R.getHours()).slice(-2),me=("0"+R.getMinutes()).slice(-2);return N+"-"+d+"-"+W+" "+ce+":"+me}function J(q){return{pending_payment:"warning",completed:"success",closed:"info"}[q]||"info"}function te(q){return{pending_payment:"待付款",completed:"已完成",closed:"已关闭"}[q]||q}async function X(){P.value=!0;try{const q=new URLSearchParams;q.set("page",O.value.page),q.set("limit",O.value.limit),O.value.order_no&&q.set("order_no",O.value.order_no),O.value.status&&q.set("status",O.value.status);const R=await Ce("/order/list?"+q.toString());U.value=R.data.list||[],b.value=R.data.total||0}catch(q){Q.error(q.message)}P.value=!1}function ae(){O.value.page=1,X()}function re(){O.value={page:1,limit:15,order_no:"",status:""},X()}function ee(q){_.value=q,Y.value=!0}return X(),(q,R)=>{const N=y("el-input"),d=y("el-form-item"),W=y("el-option"),ce=y("el-select"),me=y("el-button"),n=y("el-form"),k=y("el-card"),w=y("el-table-column"),T=y("el-tag"),h=y("el-table"),z=y("pagination"),V=y("el-drawer"),m=we("db-click"),H=we("loading");return u(),x("div",ms,[a(k,{shadow:"never","body-style":{padding:"16px 20px"}},{default:o(()=>[a(n,{inline:!0,onSubmit:dt(ae,["prevent"])},{default:o(()=>[a(d,{label:"订单号"},{default:o(()=>[a(N,{modelValue:O.value.order_no,"onUpdate:modelValue":R[0]||(R[0]=S=>O.value.order_no=S),placeholder:"订单号",clearable:"",onKeyup:rt(ae,["enter"]),style:{width:"220px"}},null,8,["modelValue"])]),_:1}),a(d,{label:"状态"},{default:o(()=>[a(ce,{modelValue:O.value.status,"onUpdate:modelValue":R[1]||(R[1]=S=>O.value.status=S),clearable:"",placeholder:"全部",style:{width:"120px"}},{default:o(()=>[a(W,{label:"待付款",value:"pending_payment"}),a(W,{label:"已完成",value:"completed"}),a(W,{label:"已关闭",value:"closed"})]),_:1},8,["modelValue"])]),_:1}),a(d,null,{default:o(()=>[a(me,{type:"primary",onClick:ae},{default:o(()=>[...R[5]||(R[5]=[L("查询",-1)])]),_:1}),a(me,{onClick:re},{default:o(()=>[...R[6]||(R[6]=[L("重置",-1)])]),_:1})]),_:1})]),_:1})]),_:1}),a(k,{shadow:"never","body-style":{padding:"12px 20px"},class:"mt16"},{default:o(()=>[j((u(),C(h,{data:U.value,stripe:"","empty-text":"暂无数据"},{default:o(()=>[a(w,{label:"订单号","min-width":"200",prop:"order_no"}),a(w,{label:"商品ID","min-width":"90",prop:"product_id"}),a(w,{label:"状态","min-width":"120"},{default:o(({row:S})=>[a(T,{type:J(S.status)},{default:o(()=>[L(B(te(S.status)),1)]),_:2},1032,["type"])]),_:1}),a(w,{label:"发货时间","min-width":"160"},{default:o(({row:S})=>[L(B(r(S.send_time)),1)]),_:1}),a(w,{label:"完成时间","min-width":"160"},{default:o(({row:S})=>[L(B(r(S.complete_time)),1)]),_:1}),a(w,{label:"退款状态","min-width":"100"},{default:o(({row:S})=>[a(T,{type:S.refund_status?"danger":"info"},{default:o(()=>[L(B(S.refund_status?"退款中":"正常"),1)]),_:2},1032,["type"])]),_:1}),a(w,{label:"创建时间","min-width":"160"},{default:o(({row:S})=>[L(B(r(S.add_time)),1)]),_:1}),a(w,{label:"操作",width:"120",fixed:"right"},{default:o(({row:S})=>[j((u(),x("a",{onClick:M=>ee(S.order_no)},[...R[7]||(R[7]=[L("详情",-1)])],8,vs)),[[m]])]),_:1})]),_:1},8,["data"])),[[H,P.value]]),i("div",ps,[b.value?(u(),C(z,{key:0,total:b.value,page:O.value.page,"onUpdate:page":R[2]||(R[2]=S=>O.value.page=S),limit:O.value.limit,"onUpdate:limit":R[3]||(R[3]=S=>O.value.limit=S),onPagination:X},null,8,["total","page","limit"])):D("",!0)])]),_:1}),a(V,{modelValue:Y.value,"onUpdate:modelValue":R[4]||(R[4]=S=>Y.value=S),title:"订单详情",size:"720px","destroy-on-close":""},{default:o(()=>[a(It,{"order-no":_.value,"show-back":!1},null,8,["order-no"])]),_:1},8,["modelValue"])])}}}),_s=ze(fs,[["__scopeId","data-v-beb5f66a"]]),gs={class:"virtual-app"},ys={class:"section-content"},bs=Object.assign({name:"virtualApp"},{__name:"App",props:{section:{type:String,default:"product"},action:{type:String,default:"list"},params:{type:Object,default:()=>({})}},setup(e){const P={product:kt,order:_s},U=e,b=Ue(()=>U.section==="product"&&U.action==="add"?Bo:U.section==="order"&&U.action==="detail"?It:P[U.section]||kt),O=Ue(()=>U.params&&U.params.id?U.params.id:0),Y=Ue(()=>U.params&&U.params.orderNo?U.params.orderNo:"");return(_,r)=>(u(),x("div",gs,[i("div",ys,[(u(),C(ra(b.value),{"edit-id":O.value,"order-no":Y.value},null,8,["edit-id","order-no"]))])]))}}),qs=ze(bs,[["__scopeId","data-v-c95adc1b"]]);export{qs as default}; diff --git a/backend/public/admin/system_static/App-C5ePyr6f.css b/backend/public/admin/system_static/App-C5ePyr6f.css new file mode 100644 index 000000000..24bf0ac60 --- /dev/null +++ b/backend/public/admin/system_static/App-C5ePyr6f.css @@ -0,0 +1 @@ +@charset "UTF-8";.download[data-v-ead3b6de]{background-color:var(--prev-color-primary-light-9);padding:12px;border-radius:4px;color:#303133;font-size:12px}.download img[data-v-ead3b6de]{width:19px;height:19px;margin:0 4px 0 8px}.download .download-text[data-v-ead3b6de]{color:var(--prev-color-primary)}.goods-upload[data-v-ead3b6de],.goods-upload[data-v-ead3b6de] .el-upload{width:100%}.goods-upload[data-v-ead3b6de] .el-upload .el-upload-dragger{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:170px 0}.goods-upload[data-v-ead3b6de] .el-upload .el-upload-dragger .el-upload-dragger__icon{width:42px;height:57px}.goods-upload[data-v-ead3b6de] .el-upload .el-upload-dragger .el-upload__trip{font-weight:400;font-size:12px;color:#999;margin-top:6px}.goods-upload .file-info[data-v-ead3b6de]{height:342px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;border:1px dashed #d9d9d9;border-radius:4px;margin-top:10px}.goods-upload .file-info .active-btn[data-v-ead3b6de]{color:var(--prev-color-primary);font-size:12px;font-weight:400;margin:0 6px;cursor:pointer}.goods-upload .file-info .btn-import[data-v-ead3b6de]{margin-top:26px}.goods-upload .file-info .el-upload-dragger__icon[data-v-ead3b6de]{width:42px;height:57px}.goods-upload .file-info .el-upload__trip[data-v-ead3b6de]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-weight:400;font-size:12px;color:#999;margin-top:6px}.import-rule .rule-title[data-v-ead3b6de]{font-weight:500;font-size:14px;color:#303133;margin-bottom:6px}.import-rule .rule-text[data-v-ead3b6de]{font-size:12px;color:#303133}.goods-name[data-v-fe83783c]{display:inline-block;line-height:1.4}.tabBox_img[data-v-fe83783c]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-fe83783c]{width:100%;height:100%}.labelInput[data-v-fe83783c]{border:1px solid #dcdee2;padding:0 15px 0 10px;border-radius:5px;min-height:30px;cursor:pointer;font-size:12px}.labelInput .span[data-v-fe83783c]{color:#c5c8ce}.labelInput .iconxiayi[data-v-fe83783c]{margin-left:5px;font-size:12px}.el-dropdown-link[data-v-fe83783c]{cursor:pointer;color:var(--prev-color-primary);font-size:12px}.el-icon-arrow-down[data-v-fe83783c]{font-size:12px}.el-dropdown-menu__item a[data-v-fe83783c]{color:#606266}.label_width[data-v-fe83783c]{width:400px}.search-form[data-v-fe83783c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.search-form .search-form-box[data-v-fe83783c]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-flex:1;-ms-flex:1;flex:1}.search-form .search-form-sub[data-v-fe83783c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}.batch-box [data-v-fe83783c] .ivu-modal-body{overflow:auto;min-height:350px}.rulesBox[data-v-019fa05d]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.attrFrom[data-v-019fa05d] .ivu-form-item{margin-bottom:0!important}.noForm[data-v-019fa05d]{margin-left:12px}.add[data-v-019fa05d]{margin-left:132px}.drag[data-v-019fa05d]{cursor:move}.spec[data-v-019fa05d]{display:block;margin:5px 0;position:relative}.spec .el-icon-error[data-v-019fa05d]{position:absolute;display:none;right:-3px;top:-3px;z-index:9}.spec:hover .el-icon-error[data-v-019fa05d]{display:block;z-index:999;cursor:pointer}.move-icon[data-v-019fa05d]{width:30px;cursor:move;margin-right:10px}.move-icon .icondrag2[data-v-019fa05d]{font-size:26px;color:#bbb}.specifications[data-v-019fa05d]{width:100%}.specifications .specifications-item[data-v-019fa05d]:hover{background-color:var(--prev-bg-menu-hover-ba-color)}.specifications .specifications-item:hover .del[data-v-019fa05d]{display:block}.specifications .specifications-item[data-v-019fa05d]:last-child{margin-bottom:14px}.specifications .specifications-item[data-v-019fa05d]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:20px 15px;-webkit-transition:all .1s;transition:all .1s;background-color:#fafafa;margin-bottom:10px;border-radius:4px}.specifications .specifications-item .del[data-v-019fa05d]{display:none;position:absolute;right:15px;top:15px;font-size:22px;color:var(--prev-color-primary);cursor:pointer}.specifications .specifications-item .specifications-item-box[data-v-019fa05d]{position:relative}.specifications .specifications-item .specifications-item-box .lineBox[data-v-019fa05d]{position:absolute;left:13px;top:24px;width:30px;height:45px;border-radius:6px;border-left:1px solid #dcdfe6;border-bottom:1px solid #dcdfe6}.specifications .specifications-item .specifications-item-box .specifications-item-name-input[data-v-019fa05d]{width:200px}.specifications .rulesBox[data-v-019fa05d]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.specifications .rulesBox .item[data-v-019fa05d]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.specifications .rulesBox .addfont[data-v-019fa05d]{margin-top:5px}.specifications .rulesBox[data-v-019fa05d] .el-popover{border:none;-webkit-box-shadow:none;box-shadow:none;padding:0;margin-top:5px;line-height:1.5}.specifications .addfont[data-v-019fa05d]{display:inline-block;font-size:12px;font-weight:400;color:var(--prev-color-primary);margin-left:14px;cursor:pointer}[data-v-eb808df1] .ivu-form-item-content{line-height:unset!important}.Box .ivu-radio-wrapper[data-v-eb808df1]{margin-right:25px}.add[data-v-eb808df1]{color:#2d8cf0;cursor:pointer}.Box .numPut[data-v-eb808df1]{width:414px!important}[data-v-e402678a] .el-tabs__item{height:54px!important;line-height:54px!important}.input_width[data-v-e402678a]{width:160px}.content_width[data-v-e402678a]{width:460px}.content_width[data-v-e402678a] .el-input__inner{padding-right:60px}.list-group[data-v-e402678a]{margin-left:-8px}.borderStyle[data-v-e402678a]{border:1px solid #ccc;padding:8px;border-radius:4px}.drag[data-v-e402678a]{cursor:move}.spec[data-v-e402678a]{display:block;margin:5px 0;position:relative}.spec .img-popover[data-v-e402678a]{cursor:pointer;width:76px;height:76px;padding:6px;margin-top:12px;background-color:#fff;position:relative;border:1px solid #dcdfe6;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover:hover .img-del[data-v-e402678a]{display:block}.spec .img-popover .img-del[data-v-e402678a]{display:none;position:absolute;right:3px;top:3px;font-size:16px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.spec .img-popover .popper[data-v-e402678a]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover .img[data-v-e402678a]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:4px}.spec .img-popover .popper-arrow[data-v-e402678a],.spec .img-popover .popper-arrow[data-v-e402678a]:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.spec .img-popover .popper-arrow[data-v-e402678a]{top:-13px;border-top-width:0;border-bottom-color:#dcdfe6;border-width:6px;-webkit-filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))}.spec .img-popover .popper-arrow[data-v-e402678a]:after{top:-5px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff;content:" ";border-width:6px}.spec .el-icon-error[data-v-e402678a]{position:absolute;display:none;right:-3px;top:-3px;z-index:9;color:var(--prev-color-primary)}.spec:hover .el-icon-error[data-v-e402678a]{display:block;z-index:999;cursor:pointer}.move-icon[data-v-e402678a]{width:30px;cursor:move;margin-right:10px}.move-icon .icondrag2[data-v-e402678a]{font-size:26px;color:#bbb}.maxW[data-v-e402678a] .ivu-select-dropdown{max-width:600px}#shopp-manager .ivu-table-wrapper[data-v-e402678a]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.noLeft[data-v-e402678a] .ivu-form-item-content{margin-left:0!important}#shopp-manager .ivu-form-item[data-v-e402678a]{position:relative}#shopp-manager .ivu-form-item .tips[data-v-e402678a]{position:absolute;color:#999;top:29px;left:-77px;font-size:12px}.box-video-style[data-v-e402678a]{width:375px;height:211px;border-radius:10px;background-color:#707070;margin-top:10px;position:relative;overflow:hidden}.box-video-style .iconv[data-v-e402678a]{color:#fff;line-height:180px;width:50px;height:50px;display:inherit;font-size:26px;position:absolute;top:-74px;left:50%;margin-left:-25px;cursor:pointer}.box-video-style .mark[data-v-e402678a]{position:absolute;width:100%;height:30px;top:0;background-color:#00000080;text-align:center}.submission[data-v-e402678a]{margin-left:10px}.color-list .tip[data-v-e402678a]{color:#c9c9c9;font-size:12px}.color-list .color-item[data-v-e402678a]{height:30px;line-height:30px;padding:0 10px;color:#fff;margin-right:10px;font-size:12px}.color-list .color-item.blue[data-v-e402678a]{background-color:#1e9fff}.color-list .color-item.yellow[data-v-e402678a]{background-color:#feb900}.color-list .color-item.green[data-v-e402678a]{background-color:#009688}.color-list .color-item.red[data-v-e402678a]{background-color:#ed4014}.columnsBox[data-v-e402678a]{margin-right:10px;width:200px}.priceBox[data-v-e402678a]{width:100%}.rulesBox[data-v-e402678a]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.rulesBox .item[data-v-e402678a]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.rulesBox .addfont[data-v-e402678a]{margin-left:0}.rulesBox[data-v-e402678a] .el-popover{border:none;-webkit-box-shadow:none;box-shadow:none;padding:0;margin-top:5px;line-height:1.5}.pictrueBox[data-v-e402678a]{display:inline-block}.pictrueTab[data-v-e402678a]{width:40px!important;height:40px!important}.pictrue[data-v-e402678a]{width:60px;height:60px;border:1px dashed rgba(0,0,0,.1);margin-right:15px;display:inline-block;position:relative;cursor:pointer}.pictrue img[data-v-e402678a]{width:100%;height:100%}.pictrue .btndel[data-v-e402678a]{position:absolute;z-index:1;width:20px!important;height:20px!important;left:46px;top:-4px}.upLoad[data-v-e402678a]{width:58px;height:58px;line-height:58px;border:1px dashed rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer}.curs[data-v-e402678a]{cursor:pointer}.inpWith[data-v-e402678a]{width:60%}.labeltop[data-v-e402678a] .ivu-form-item-label{float:none!important;display:inline-block!important;margin-left:120px!important;width:auto!important}.video-icon[data-v-e402678a]{background-image:url(https://cdn.oss.9gt.net/prov1.1/1/icons.png);background-color:#fff;background-position:-9999px;background-repeat:no-repeat}.see[data-v-e402678a]{color:#2d8cf0;cursor:pointer}.trip[data-v-e402678a]{color:#bbb;margin-bottom:10px;font-size:12px}.virtual-data[data-v-e402678a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.add-more[data-v-e402678a]{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex}.virtual-title[data-v-e402678a]{width:60px}.scroll-virtual[data-v-e402678a]{max-height:400px;overflow-y:auto;margin-top:10px}.footer[data-v-e402678a]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:30px}.footer .clear[data-v-e402678a],.footer .submit[data-v-e402678a]{padding:10px 20px;border-radius:5px;color:#fff;cursor:pointer}.footer .clear[data-v-e402678a]{background-color:#ccc;margin-right:20px}.footer .submit[data-v-e402678a]{background-color:#2d8cf0}.picBox[data-v-e402678a]{display:-webkit-box;display:-ms-flexbox;display:flex}.btndel[data-v-e402678a]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.ifam[data-v-e402678a]{width:344px;height:644px;background:url(/admin/system_static/phonebg-BTZgNDFd.png) no-repeat center top;background-size:344px 644px;padding:50px 20px 40px;margin:0 auto}.ifam .content[data-v-e402678a]{height:560px;overflow:hidden;scrollbar-width:none;-ms-overflow-style:none;overflow-x:hidden;overflow-y:auto}.ifam .content video[data-v-e402678a]{text-align:center}.ifam .content[data-v-e402678a] video{display:block;max-width:100%;height:auto;margin:0 auto}.ifam .content[data-v-e402678a]::-webkit-scrollbar{display:none}[data-v-e402678a] .ivu-date-picker{width:300px}.virtual_boder[data-v-e402678a]{border:1px solid var(--prev-color-primary)}.virtual_boder2[data-v-e402678a]{border:1px solid #e7e7e7}.virtual_san[data-v-e402678a]{position:absolute;bottom:0;right:0;width:0;height:0;border-bottom:26px solid var(--prev-color-primary);border-left:26px solid transparent}.virtual_dui[data-v-e402678a]{position:absolute;bottom:-2px;right:2px;color:#fff;font-family:system-ui}.virtual[data-v-e402678a]{width:120px;height:60px;background:#fff;border-radius:3px;float:left;text-align:center;padding-top:8px;position:relative;cursor:pointer;line-height:23px}.virtual .virtual_top[data-v-e402678a]{font-size:14px;font-weight:600;color:#000000d9}.virtual .virtual_bottom[data-v-e402678a]{font-size:12px;font-weight:400;color:#999}.virtual[data-v-e402678a]:nth-child(2n){margin:0 12px}.addfont[data-v-e402678a]{display:inline-block;font-size:12px;font-weight:400;color:var(--prev-color-primary);margin-left:14px;cursor:pointer}.videbox[data-v-e402678a]{width:60px;height:60px;background:#00000005;border-radius:4px;border:1px dashed #dddddd;line-height:60px;text-align:center;font-size:26px;font-weight:400;cursor:pointer}.addCustom_content[data-v-e402678a]{width:100%;margin-top:20px}.addCustom_content .custom_box[data-v-e402678a]{margin-bottom:10px}.addCustomBox[data-v-e402678a]{width:100%;margin-top:12px;font-size:13px;font-weight:400;color:var(--prev-color-primary)}.addCustomBox .btn[data-v-e402678a]{cursor:pointer;width:-webkit-max-content;width:-moz-max-content;width:max-content}.type-radio[data-v-e402678a]{margin-bottom:10px}.deteal-btn[data-v-e402678a]{color:#5179ea}.stock-disk[data-v-e402678a]{margin:10px 0}.line[data-v-e402678a]{border-bottom:1px dashed #eee;margin-bottom:20px}.labelInput[data-v-e402678a]{border:1px solid #dcdee2;width:414px;padding:0 15px;border-radius:5px;min-height:30px;cursor:pointer;font-size:12px}.labelInput .span[data-v-e402678a]{color:#c5c8ce}.labelInput .iconxiayi[data-v-e402678a]{font-size:12px}#shopp-manager[data-v-e402678a] .ivu-form-item-content{line-height:33px!important}#selectvideo[data-v-e402678a] .ivu-form-item-content{line-height:0px!important}.progress[data-v-e402678a]{margin-top:10px}.labelInput[data-v-e402678a] .el-tag{color:#606266;background-color:#f0f2f5;border-color:#f0f2f5;margin-right:6px}.labelInput[data-v-e402678a] .el-tag .el-tag__close{color:#909399}.labelInput[data-v-e402678a] .el-tag .el-tag__close:hover{color:#fff;background-color:#909399}.brokerage[data-v-e402678a]{font-size:12px}.img-preview[data-v-e402678a]{width:253px}.specifications[data-v-e402678a]{width:100%}.specifications .specifications-item[data-v-e402678a]:hover{background-color:var(--prev-color-primary-light-9)}.specifications .specifications-item:hover .del[data-v-e402678a]{display:block}.specifications .specifications-item[data-v-e402678a]:last-child{margin-bottom:14px}.specifications .specifications-item[data-v-e402678a]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:20px 15px;-webkit-transition:all .1s;transition:all .1s;background-color:#fafafa;margin-bottom:10px;border-radius:4px}.specifications .specifications-item .del[data-v-e402678a]{display:none;position:absolute;right:15px;top:15px;font-size:22px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.specifications .specifications-item .specifications-item-box[data-v-e402678a]{position:relative}.specifications .specifications-item .specifications-item-box .lineBox[data-v-e402678a]{position:absolute;left:13px;top:24px;width:30px;height:45px;border-radius:6px;border-left:1px solid #dcdfe6;border-bottom:1px solid #dcdfe6}.specifications .specifications-item .specifications-item-box .specifications-item-name .el-icon-info[data-v-e402678a]{color:var(--prev-color-primary);font-size:12px;margin-left:5px;margin-bottom:3px}.specifications .specifications-item .specifications-item-box .specifications-item-name-input[data-v-e402678a]{width:200px}[data-v-94921928] .el-tabs__item{height:54px!important;line-height:54px!important}.input_width[data-v-94921928]{width:160px}.content_width[data-v-94921928]{width:460px}.content_width[data-v-94921928] .el-input__inner{padding-right:60px}.list-group[data-v-94921928]{margin-left:-8px}.borderStyle[data-v-94921928]{border:1px solid #ccc;padding:8px;border-radius:4px}.drag[data-v-94921928]{cursor:move}.spec[data-v-94921928]{display:block;margin:5px 0;position:relative}.spec .img-popover[data-v-94921928]{cursor:pointer;width:76px;height:76px;padding:6px;margin-top:12px;background-color:#fff;position:relative;border:1px solid #dcdfe6;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover:hover .img-del[data-v-94921928]{display:block}.spec .img-popover .img-del[data-v-94921928]{display:none;position:absolute;right:3px;top:3px;font-size:16px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.spec .img-popover .popper[data-v-94921928]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover .img[data-v-94921928]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:4px}.spec .img-popover .popper-arrow[data-v-94921928],.spec .img-popover .popper-arrow[data-v-94921928]:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.spec .img-popover .popper-arrow[data-v-94921928]{top:-13px;border-top-width:0;border-bottom-color:#dcdfe6;border-width:6px;-webkit-filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))}.spec .img-popover .popper-arrow[data-v-94921928]:after{top:-5px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff;content:" ";border-width:6px}.spec .el-icon-error[data-v-94921928]{position:absolute;display:none;right:-3px;top:-3px;z-index:9;color:var(--prev-color-primary)}.spec:hover .el-icon-error[data-v-94921928]{display:block;z-index:999;cursor:pointer}.move-icon[data-v-94921928]{width:30px;cursor:move;margin-right:10px}.move-icon .icondrag2[data-v-94921928]{font-size:26px;color:#bbb}.maxW[data-v-94921928] .ivu-select-dropdown{max-width:600px}#shopp-manager .ivu-table-wrapper[data-v-94921928]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.noLeft[data-v-94921928] .ivu-form-item-content{margin-left:0!important}#shopp-manager .ivu-form-item[data-v-94921928]{position:relative}#shopp-manager .ivu-form-item .tips[data-v-94921928]{position:absolute;color:#999;top:29px;left:-77px;font-size:12px}.box-video-style[data-v-94921928]{width:375px;height:211px;border-radius:10px;background-color:#707070;margin-top:10px;position:relative;overflow:hidden}.box-video-style .iconv[data-v-94921928]{color:#fff;line-height:180px;width:50px;height:50px;display:inherit;font-size:26px;position:absolute;top:-74px;left:50%;margin-left:-25px;cursor:pointer}.box-video-style .mark[data-v-94921928]{position:absolute;width:100%;height:30px;top:0;background-color:#00000080;text-align:center}.submission[data-v-94921928]{margin-left:10px}.color-list .tip[data-v-94921928]{color:#c9c9c9;font-size:12px}.color-list .color-item[data-v-94921928]{height:30px;line-height:30px;padding:0 10px;color:#fff;margin-right:10px;font-size:12px}.color-list .color-item.blue[data-v-94921928]{background-color:#1e9fff}.color-list .color-item.yellow[data-v-94921928]{background-color:#feb900}.color-list .color-item.green[data-v-94921928]{background-color:#009688}.color-list .color-item.red[data-v-94921928]{background-color:#ed4014}.columnsBox[data-v-94921928]{margin-right:10px;width:200px}.priceBox[data-v-94921928]{width:100%}.rulesBox[data-v-94921928]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.rulesBox .item[data-v-94921928]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.rulesBox .addfont[data-v-94921928]{margin-left:0}.rulesBox[data-v-94921928] .el-popover{border:none;-webkit-box-shadow:none;box-shadow:none;padding:0;margin-top:5px;line-height:1.5}.pictrueBox[data-v-94921928]{display:inline-block}.pictrueTab[data-v-94921928]{width:40px!important;height:40px!important}.pictrue[data-v-94921928]{width:60px;height:60px;border:1px dashed rgba(0,0,0,.1);margin-right:15px;display:inline-block;position:relative;cursor:pointer}.pictrue img[data-v-94921928]{width:100%;height:100%}.pictrue .btndel[data-v-94921928]{position:absolute;z-index:1;width:20px!important;height:20px!important;left:46px;top:-4px}.upLoad[data-v-94921928]{width:58px;height:58px;line-height:58px;border:1px dashed rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer}.curs[data-v-94921928]{cursor:pointer}.inpWith[data-v-94921928]{width:60%}.labeltop[data-v-94921928] .ivu-form-item-label{float:none!important;display:inline-block!important;margin-left:120px!important;width:auto!important}.video-icon[data-v-94921928]{background-image:url(https://cdn.oss.9gt.net/prov1.1/1/icons.png);background-color:#fff;background-position:-9999px;background-repeat:no-repeat}.see[data-v-94921928]{color:#2d8cf0;cursor:pointer}.trip[data-v-94921928]{color:#bbb;margin-bottom:10px;font-size:12px}.virtual-data[data-v-94921928]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.add-more[data-v-94921928]{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex}.virtual-title[data-v-94921928]{width:60px}.scroll-virtual[data-v-94921928]{max-height:400px;overflow-y:auto;margin-top:10px}.footer[data-v-94921928]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:30px}.footer .clear[data-v-94921928],.footer .submit[data-v-94921928]{padding:10px 20px;border-radius:5px;color:#fff;cursor:pointer}.footer .clear[data-v-94921928]{background-color:#ccc;margin-right:20px}.footer .submit[data-v-94921928]{background-color:#2d8cf0}.picBox[data-v-94921928]{display:-webkit-box;display:-ms-flexbox;display:flex}.btndel[data-v-94921928]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.ifam[data-v-94921928]{width:344px;height:644px;background:url(/admin/system_static/phonebg-BTZgNDFd.png) no-repeat center top;background-size:344px 644px;padding:50px 20px 40px;margin:0 auto}.ifam .content[data-v-94921928]{height:560px;overflow:hidden;scrollbar-width:none;-ms-overflow-style:none;overflow-x:hidden;overflow-y:auto}.ifam .content video[data-v-94921928]{text-align:center}.ifam .content[data-v-94921928] video{display:block;max-width:100%;height:auto;margin:0 auto}.ifam .content[data-v-94921928]::-webkit-scrollbar{display:none}[data-v-94921928] .ivu-date-picker{width:300px}.virtual_boder[data-v-94921928]{border:1px solid var(--prev-color-primary)}.virtual_boder2[data-v-94921928]{border:1px solid #e7e7e7}.virtual_san[data-v-94921928]{position:absolute;bottom:0;right:0;width:0;height:0;border-bottom:26px solid var(--prev-color-primary);border-left:26px solid transparent}.virtual_dui[data-v-94921928]{position:absolute;bottom:-2px;right:2px;color:#fff;font-family:system-ui}.virtual[data-v-94921928]{width:120px;height:60px;background:#fff;border-radius:3px;float:left;text-align:center;padding-top:8px;position:relative;cursor:pointer;line-height:23px}.virtual .virtual_top[data-v-94921928]{font-size:14px;font-weight:600;color:#000000d9}.virtual .virtual_bottom[data-v-94921928]{font-size:12px;font-weight:400;color:#999}.virtual[data-v-94921928]:nth-child(2n){margin:0 12px}.addfont[data-v-94921928]{display:inline-block;font-size:12px;font-weight:400;color:var(--prev-color-primary);margin-left:14px;cursor:pointer}.videbox[data-v-94921928]{width:60px;height:60px;background:#00000005;border-radius:4px;border:1px dashed #dddddd;line-height:60px;text-align:center;font-size:26px;font-weight:400;cursor:pointer}.addCustom_content[data-v-94921928]{width:100%;margin-top:20px}.addCustom_content .custom_box[data-v-94921928]{margin-bottom:10px}.addCustomBox[data-v-94921928]{width:100%;margin-top:12px;font-size:13px;font-weight:400;color:var(--prev-color-primary)}.addCustomBox .btn[data-v-94921928]{cursor:pointer;width:-webkit-max-content;width:-moz-max-content;width:max-content}.type-radio[data-v-94921928]{margin-bottom:10px}.deteal-btn[data-v-94921928]{color:#5179ea}.stock-disk[data-v-94921928]{margin:10px 0}.line[data-v-94921928]{border-bottom:1px dashed #eee;margin-bottom:20px}.labelInput[data-v-94921928]{border:1px solid #dcdee2;width:414px;padding:0 15px;border-radius:5px;min-height:30px;cursor:pointer;font-size:12px}.labelInput .span[data-v-94921928]{color:#c5c8ce}.labelInput .iconxiayi[data-v-94921928]{font-size:12px}#shopp-manager[data-v-94921928] .ivu-form-item-content{line-height:33px!important}#selectvideo[data-v-94921928] .ivu-form-item-content{line-height:0px!important}.progress[data-v-94921928]{margin-top:10px}.labelInput[data-v-94921928] .el-tag{color:#606266;background-color:#f0f2f5;border-color:#f0f2f5;margin-right:6px}.labelInput[data-v-94921928] .el-tag .el-tag__close{color:#909399}.labelInput[data-v-94921928] .el-tag .el-tag__close:hover{color:#fff;background-color:#909399}.brokerage[data-v-94921928]{font-size:12px}.img-preview[data-v-94921928]{width:253px}.specifications[data-v-94921928]{width:100%}.specifications .specifications-item[data-v-94921928]:hover{background-color:var(--prev-color-primary-light-9)}.specifications .specifications-item:hover .del[data-v-94921928]{display:block}.specifications .specifications-item[data-v-94921928]:last-child{margin-bottom:14px}.specifications .specifications-item[data-v-94921928]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:20px 15px;-webkit-transition:all .1s;transition:all .1s;background-color:#fafafa;margin-bottom:10px;border-radius:4px}.specifications .specifications-item .del[data-v-94921928]{display:none;position:absolute;right:15px;top:15px;font-size:22px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.specifications .specifications-item .specifications-item-box[data-v-94921928]{position:relative}.specifications .specifications-item .specifications-item-box .lineBox[data-v-94921928]{position:absolute;left:13px;top:24px;width:30px;height:45px;border-radius:6px;border-left:1px solid #dcdfe6;border-bottom:1px solid #dcdfe6}.specifications .specifications-item .specifications-item-box .specifications-item-name .el-icon-info[data-v-94921928]{color:var(--prev-color-primary);font-size:12px;margin-left:5px;margin-bottom:3px}.specifications .specifications-item .specifications-item-box .specifications-item-name-input[data-v-94921928]{width:200px}[data-v-f41fc397] .el-tabs__item{height:54px!important;line-height:54px!important}.input_width[data-v-f41fc397]{width:160px}.content_width[data-v-f41fc397]{width:460px}.content_width[data-v-f41fc397] .el-input__inner{padding-right:60px}.list-group[data-v-f41fc397]{margin-left:-8px}.borderStyle[data-v-f41fc397]{border:1px solid #ccc;padding:8px;border-radius:4px}.drag[data-v-f41fc397]{cursor:move}.spec[data-v-f41fc397]{display:block;margin:5px 0;position:relative}.spec .img-popover[data-v-f41fc397]{cursor:pointer;width:76px;height:76px;padding:6px;margin-top:12px;background-color:#fff;position:relative;border:1px solid #dcdfe6;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover:hover .img-del[data-v-f41fc397]{display:block}.spec .img-popover .img-del[data-v-f41fc397]{display:none;position:absolute;right:3px;top:3px;font-size:16px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.spec .img-popover .popper[data-v-f41fc397]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover .img[data-v-f41fc397]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:4px}.spec .img-popover .popper-arrow[data-v-f41fc397],.spec .img-popover .popper-arrow[data-v-f41fc397]:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.spec .img-popover .popper-arrow[data-v-f41fc397]{top:-13px;border-top-width:0;border-bottom-color:#dcdfe6;border-width:6px;-webkit-filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))}.spec .img-popover .popper-arrow[data-v-f41fc397]:after{top:-5px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff;content:" ";border-width:6px}.spec .el-icon-error[data-v-f41fc397]{position:absolute;display:none;right:-3px;top:-3px;z-index:9;color:var(--prev-color-primary)}.spec:hover .el-icon-error[data-v-f41fc397]{display:block;z-index:999;cursor:pointer}.move-icon[data-v-f41fc397]{width:30px;cursor:move;margin-right:10px}.move-icon .icondrag2[data-v-f41fc397]{font-size:26px;color:#bbb}.maxW[data-v-f41fc397] .ivu-select-dropdown{max-width:600px}#shopp-manager .ivu-table-wrapper[data-v-f41fc397]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.noLeft[data-v-f41fc397] .ivu-form-item-content{margin-left:0!important}#shopp-manager .ivu-form-item[data-v-f41fc397]{position:relative}#shopp-manager .ivu-form-item .tips[data-v-f41fc397]{position:absolute;color:#999;top:29px;left:-77px;font-size:12px}.box-video-style[data-v-f41fc397]{width:375px;height:211px;border-radius:10px;background-color:#707070;margin-top:10px;position:relative;overflow:hidden}.box-video-style .iconv[data-v-f41fc397]{color:#fff;line-height:180px;width:50px;height:50px;display:inherit;font-size:26px;position:absolute;top:-74px;left:50%;margin-left:-25px;cursor:pointer}.box-video-style .mark[data-v-f41fc397]{position:absolute;width:100%;height:30px;top:0;background-color:#00000080;text-align:center}.submission[data-v-f41fc397]{margin-left:10px}.color-list .tip[data-v-f41fc397]{color:#c9c9c9;font-size:12px}.color-list .color-item[data-v-f41fc397]{height:30px;line-height:30px;padding:0 10px;color:#fff;margin-right:10px;font-size:12px}.color-list .color-item.blue[data-v-f41fc397]{background-color:#1e9fff}.color-list .color-item.yellow[data-v-f41fc397]{background-color:#feb900}.color-list .color-item.green[data-v-f41fc397]{background-color:#009688}.color-list .color-item.red[data-v-f41fc397]{background-color:#ed4014}.columnsBox[data-v-f41fc397]{margin-right:10px;width:200px}.priceBox[data-v-f41fc397]{width:100%}.rulesBox[data-v-f41fc397]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.rulesBox .item[data-v-f41fc397]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.rulesBox .addfont[data-v-f41fc397]{margin-left:0}.rulesBox[data-v-f41fc397] .el-popover{border:none;-webkit-box-shadow:none;box-shadow:none;padding:0;margin-top:5px;line-height:1.5}.pictrueBox[data-v-f41fc397]{display:inline-block}.pictrueTab[data-v-f41fc397]{width:40px!important;height:40px!important}.pictrue[data-v-f41fc397]{width:60px;height:60px;border:1px dashed rgba(0,0,0,.1);margin-right:15px;display:inline-block;position:relative;cursor:pointer}.pictrue img[data-v-f41fc397]{width:100%;height:100%}.pictrue .btndel[data-v-f41fc397]{position:absolute;z-index:1;width:20px!important;height:20px!important;left:46px;top:-4px}.upLoad[data-v-f41fc397]{width:58px;height:58px;line-height:58px;border:1px dashed rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer}.curs[data-v-f41fc397]{cursor:pointer}.inpWith[data-v-f41fc397]{width:60%}.labeltop[data-v-f41fc397] .ivu-form-item-label{float:none!important;display:inline-block!important;margin-left:120px!important;width:auto!important}.video-icon[data-v-f41fc397]{background-image:url(https://cdn.oss.9gt.net/prov1.1/1/icons.png);background-color:#fff;background-position:-9999px;background-repeat:no-repeat}.see[data-v-f41fc397]{color:#2d8cf0;cursor:pointer}.trip[data-v-f41fc397]{color:#bbb;margin-bottom:10px;font-size:12px}.virtual-data[data-v-f41fc397]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.add-more[data-v-f41fc397]{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex}.virtual-title[data-v-f41fc397]{width:60px}.scroll-virtual[data-v-f41fc397]{max-height:400px;overflow-y:auto;margin-top:10px}.footer[data-v-f41fc397]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:30px}.footer .clear[data-v-f41fc397],.footer .submit[data-v-f41fc397]{padding:10px 20px;border-radius:5px;color:#fff;cursor:pointer}.footer .clear[data-v-f41fc397]{background-color:#ccc;margin-right:20px}.footer .submit[data-v-f41fc397]{background-color:#2d8cf0}.picBox[data-v-f41fc397]{display:-webkit-box;display:-ms-flexbox;display:flex}.btndel[data-v-f41fc397]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.ifam[data-v-f41fc397]{width:344px;height:644px;background:url(/admin/system_static/phonebg-BTZgNDFd.png) no-repeat center top;background-size:344px 644px;padding:50px 20px 40px;margin:0 auto}.ifam .content[data-v-f41fc397]{height:560px;overflow:hidden;scrollbar-width:none;-ms-overflow-style:none;overflow-x:hidden;overflow-y:auto}.ifam .content video[data-v-f41fc397]{text-align:center}.ifam .content[data-v-f41fc397] video{display:block;max-width:100%;height:auto;margin:0 auto}.ifam .content[data-v-f41fc397]::-webkit-scrollbar{display:none}[data-v-f41fc397] .ivu-date-picker{width:300px}.virtual_boder[data-v-f41fc397]{border:1px solid var(--prev-color-primary)}.virtual_boder2[data-v-f41fc397]{border:1px solid #e7e7e7}.virtual_san[data-v-f41fc397]{position:absolute;bottom:0;right:0;width:0;height:0;border-bottom:26px solid var(--prev-color-primary);border-left:26px solid transparent}.virtual_dui[data-v-f41fc397]{position:absolute;bottom:-2px;right:2px;color:#fff;font-family:system-ui}.virtual[data-v-f41fc397]{width:120px;height:60px;background:#fff;border-radius:3px;float:left;text-align:center;padding-top:8px;position:relative;cursor:pointer;line-height:23px}.virtual .virtual_top[data-v-f41fc397]{font-size:14px;font-weight:600;color:#000000d9}.virtual .virtual_bottom[data-v-f41fc397]{font-size:12px;font-weight:400;color:#999}.virtual[data-v-f41fc397]:nth-child(2n){margin:0 12px}.addfont[data-v-f41fc397]{display:inline-block;font-size:12px;font-weight:400;color:var(--prev-color-primary);margin-left:14px;cursor:pointer}.videbox[data-v-f41fc397]{width:60px;height:60px;background:#00000005;border-radius:4px;border:1px dashed #dddddd;line-height:60px;text-align:center;font-size:26px;font-weight:400;cursor:pointer}.addCustom_content[data-v-f41fc397]{width:100%;margin-top:20px}.addCustom_content .custom_box[data-v-f41fc397]{margin-bottom:10px}.addCustomBox[data-v-f41fc397]{width:100%;margin-top:12px;font-size:13px;font-weight:400;color:var(--prev-color-primary)}.addCustomBox .btn[data-v-f41fc397]{cursor:pointer;width:-webkit-max-content;width:-moz-max-content;width:max-content}.type-radio[data-v-f41fc397]{margin-bottom:10px}.deteal-btn[data-v-f41fc397]{color:#5179ea}.stock-disk[data-v-f41fc397]{margin:10px 0}.line[data-v-f41fc397]{border-bottom:1px dashed #eee;margin-bottom:20px}.labelInput[data-v-f41fc397]{border:1px solid #dcdee2;width:414px;padding:0 15px;border-radius:5px;min-height:30px;cursor:pointer;font-size:12px}.labelInput .span[data-v-f41fc397]{color:#c5c8ce}.labelInput .iconxiayi[data-v-f41fc397]{font-size:12px}#shopp-manager[data-v-f41fc397] .ivu-form-item-content{line-height:33px!important}#selectvideo[data-v-f41fc397] .ivu-form-item-content{line-height:0px!important}.progress[data-v-f41fc397]{margin-top:10px}.labelInput[data-v-f41fc397] .el-tag{color:#606266;background-color:#f0f2f5;border-color:#f0f2f5;margin-right:6px}.labelInput[data-v-f41fc397] .el-tag .el-tag__close{color:#909399}.labelInput[data-v-f41fc397] .el-tag .el-tag__close:hover{color:#fff;background-color:#909399}.brokerage[data-v-f41fc397]{font-size:12px}.img-preview[data-v-f41fc397]{width:253px}.specifications[data-v-f41fc397]{width:100%}.specifications .specifications-item[data-v-f41fc397]:hover{background-color:var(--prev-color-primary-light-9)}.specifications .specifications-item:hover .del[data-v-f41fc397]{display:block}.specifications .specifications-item[data-v-f41fc397]:last-child{margin-bottom:14px}.specifications .specifications-item[data-v-f41fc397]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:20px 15px;-webkit-transition:all .1s;transition:all .1s;background-color:#fafafa;margin-bottom:10px;border-radius:4px}.specifications .specifications-item .del[data-v-f41fc397]{display:none;position:absolute;right:15px;top:15px;font-size:22px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.specifications .specifications-item .specifications-item-box[data-v-f41fc397]{position:relative}.specifications .specifications-item .specifications-item-box .lineBox[data-v-f41fc397]{position:absolute;left:13px;top:24px;width:30px;height:45px;border-radius:6px;border-left:1px solid #dcdfe6;border-bottom:1px solid #dcdfe6}.specifications .specifications-item .specifications-item-box .specifications-item-name .el-icon-info[data-v-f41fc397]{color:var(--prev-color-primary);font-size:12px;margin-left:5px;margin-bottom:3px}.specifications .specifications-item .specifications-item-box .specifications-item-name-input[data-v-f41fc397]{width:200px}[data-v-19fbf751] .el-tabs__item{height:54px!important;line-height:54px!important}.input_width[data-v-19fbf751]{width:160px}.content_width[data-v-19fbf751]{width:460px}.content_width[data-v-19fbf751] .el-input__inner{padding-right:60px}.list-group[data-v-19fbf751]{margin-left:-8px}.borderStyle[data-v-19fbf751]{border:1px solid #ccc;padding:8px;border-radius:4px}.drag[data-v-19fbf751]{cursor:move}.spec[data-v-19fbf751]{display:block;margin:5px 0;position:relative}.spec .img-popover[data-v-19fbf751]{cursor:pointer;width:76px;height:76px;padding:6px;margin-top:12px;background-color:#fff;position:relative;border:1px solid #dcdfe6;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover:hover .img-del[data-v-19fbf751]{display:block}.spec .img-popover .img-del[data-v-19fbf751]{display:none;position:absolute;right:3px;top:3px;font-size:16px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.spec .img-popover .popper[data-v-19fbf751]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover .img[data-v-19fbf751]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:4px}.spec .img-popover .popper-arrow[data-v-19fbf751],.spec .img-popover .popper-arrow[data-v-19fbf751]:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.spec .img-popover .popper-arrow[data-v-19fbf751]{top:-13px;border-top-width:0;border-bottom-color:#dcdfe6;border-width:6px;-webkit-filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))}.spec .img-popover .popper-arrow[data-v-19fbf751]:after{top:-5px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff;content:" ";border-width:6px}.spec .el-icon-error[data-v-19fbf751]{position:absolute;display:none;right:-3px;top:-3px;z-index:9;color:var(--prev-color-primary)}.spec:hover .el-icon-error[data-v-19fbf751]{display:block;z-index:999;cursor:pointer}.move-icon[data-v-19fbf751]{width:30px;cursor:move;margin-right:10px}.move-icon .icondrag2[data-v-19fbf751]{font-size:26px;color:#bbb}.maxW[data-v-19fbf751] .ivu-select-dropdown{max-width:600px}#shopp-manager .ivu-table-wrapper[data-v-19fbf751]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.noLeft[data-v-19fbf751] .ivu-form-item-content{margin-left:0!important}#shopp-manager .ivu-form-item[data-v-19fbf751]{position:relative}#shopp-manager .ivu-form-item .tips[data-v-19fbf751]{position:absolute;color:#999;top:29px;left:-77px;font-size:12px}.box-video-style[data-v-19fbf751]{width:375px;height:211px;border-radius:10px;background-color:#707070;margin-top:10px;position:relative;overflow:hidden}.box-video-style .iconv[data-v-19fbf751]{color:#fff;line-height:180px;width:50px;height:50px;display:inherit;font-size:26px;position:absolute;top:-74px;left:50%;margin-left:-25px;cursor:pointer}.box-video-style .mark[data-v-19fbf751]{position:absolute;width:100%;height:30px;top:0;background-color:#00000080;text-align:center}.submission[data-v-19fbf751]{margin-left:10px}.color-list .tip[data-v-19fbf751]{color:#c9c9c9;font-size:12px}.color-list .color-item[data-v-19fbf751]{height:30px;line-height:30px;padding:0 10px;color:#fff;margin-right:10px;font-size:12px}.color-list .color-item.blue[data-v-19fbf751]{background-color:#1e9fff}.color-list .color-item.yellow[data-v-19fbf751]{background-color:#feb900}.color-list .color-item.green[data-v-19fbf751]{background-color:#009688}.color-list .color-item.red[data-v-19fbf751]{background-color:#ed4014}.columnsBox[data-v-19fbf751]{margin-right:10px;width:200px}.priceBox[data-v-19fbf751]{width:100%}.rulesBox[data-v-19fbf751]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.rulesBox .item[data-v-19fbf751]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.rulesBox .addfont[data-v-19fbf751]{margin-left:0}.rulesBox[data-v-19fbf751] .el-popover{border:none;-webkit-box-shadow:none;box-shadow:none;padding:0;margin-top:5px;line-height:1.5}.pictrueBox[data-v-19fbf751]{display:inline-block}.pictrueTab[data-v-19fbf751]{width:40px!important;height:40px!important}.pictrue[data-v-19fbf751]{width:60px;height:60px;border:1px dashed rgba(0,0,0,.1);margin-right:15px;display:inline-block;position:relative;cursor:pointer}.pictrue img[data-v-19fbf751]{width:100%;height:100%}.pictrue .btndel[data-v-19fbf751]{position:absolute;z-index:1;width:20px!important;height:20px!important;left:46px;top:-4px}.upLoad[data-v-19fbf751]{width:58px;height:58px;line-height:58px;border:1px dashed rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer}.curs[data-v-19fbf751]{cursor:pointer}.inpWith[data-v-19fbf751]{width:60%}.labeltop[data-v-19fbf751] .ivu-form-item-label{float:none!important;display:inline-block!important;margin-left:120px!important;width:auto!important}.video-icon[data-v-19fbf751]{background-image:url(https://cdn.oss.9gt.net/prov1.1/1/icons.png);background-color:#fff;background-position:-9999px;background-repeat:no-repeat}.see[data-v-19fbf751]{color:#2d8cf0;cursor:pointer}.trip[data-v-19fbf751]{color:#bbb;margin-bottom:10px;font-size:12px}.virtual-data[data-v-19fbf751]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.add-more[data-v-19fbf751]{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex}.virtual-title[data-v-19fbf751]{width:60px}.scroll-virtual[data-v-19fbf751]{max-height:400px;overflow-y:auto;margin-top:10px}.footer[data-v-19fbf751]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:30px}.footer .clear[data-v-19fbf751],.footer .submit[data-v-19fbf751]{padding:10px 20px;border-radius:5px;color:#fff;cursor:pointer}.footer .clear[data-v-19fbf751]{background-color:#ccc;margin-right:20px}.footer .submit[data-v-19fbf751]{background-color:#2d8cf0}.picBox[data-v-19fbf751]{display:-webkit-box;display:-ms-flexbox;display:flex}.btndel[data-v-19fbf751]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.ifam[data-v-19fbf751]{width:344px;height:644px;background:url(/admin/system_static/phonebg-BTZgNDFd.png) no-repeat center top;background-size:344px 644px;padding:50px 20px 40px;margin:0 auto}.ifam .content[data-v-19fbf751]{height:560px;overflow:hidden;scrollbar-width:none;-ms-overflow-style:none;overflow-x:hidden;overflow-y:auto}.ifam .content video[data-v-19fbf751]{text-align:center}.ifam .content[data-v-19fbf751] video{display:block;max-width:100%;height:auto;margin:0 auto}.ifam .content[data-v-19fbf751]::-webkit-scrollbar{display:none}[data-v-19fbf751] .ivu-date-picker{width:300px}.virtual_boder[data-v-19fbf751]{border:1px solid var(--prev-color-primary)}.virtual_boder2[data-v-19fbf751]{border:1px solid #e7e7e7}.virtual_san[data-v-19fbf751]{position:absolute;bottom:0;right:0;width:0;height:0;border-bottom:26px solid var(--prev-color-primary);border-left:26px solid transparent}.virtual_dui[data-v-19fbf751]{position:absolute;bottom:-2px;right:2px;color:#fff;font-family:system-ui}.virtual[data-v-19fbf751]{width:120px;height:60px;background:#fff;border-radius:3px;float:left;text-align:center;padding-top:8px;position:relative;cursor:pointer;line-height:23px}.virtual .virtual_top[data-v-19fbf751]{font-size:14px;font-weight:600;color:#000000d9}.virtual .virtual_bottom[data-v-19fbf751]{font-size:12px;font-weight:400;color:#999}.virtual[data-v-19fbf751]:nth-child(2n){margin:0 12px}.addfont[data-v-19fbf751]{display:inline-block;font-size:12px;font-weight:400;color:var(--prev-color-primary);margin-left:14px;cursor:pointer}.videbox[data-v-19fbf751]{width:60px;height:60px;background:#00000005;border-radius:4px;border:1px dashed #dddddd;line-height:60px;text-align:center;font-size:26px;font-weight:400;cursor:pointer}.addCustom_content[data-v-19fbf751]{width:100%;margin-top:20px}.addCustom_content .custom_box[data-v-19fbf751]{margin-bottom:10px}.addCustomBox[data-v-19fbf751]{width:100%;margin-top:12px;font-size:13px;font-weight:400;color:var(--prev-color-primary)}.addCustomBox .btn[data-v-19fbf751]{cursor:pointer;width:-webkit-max-content;width:-moz-max-content;width:max-content}.type-radio[data-v-19fbf751]{margin-bottom:10px}.deteal-btn[data-v-19fbf751]{color:#5179ea}.stock-disk[data-v-19fbf751]{margin:10px 0}.line[data-v-19fbf751]{border-bottom:1px dashed #eee;margin-bottom:20px}.labelInput[data-v-19fbf751]{border:1px solid #dcdee2;width:414px;padding:0 15px;border-radius:5px;min-height:30px;cursor:pointer;font-size:12px}.labelInput .span[data-v-19fbf751]{color:#c5c8ce}.labelInput .iconxiayi[data-v-19fbf751]{font-size:12px}#shopp-manager[data-v-19fbf751] .ivu-form-item-content{line-height:33px!important}#selectvideo[data-v-19fbf751] .ivu-form-item-content{line-height:0px!important}.progress[data-v-19fbf751]{margin-top:10px}.labelInput[data-v-19fbf751] .el-tag{color:#606266;background-color:#f0f2f5;border-color:#f0f2f5;margin-right:6px}.labelInput[data-v-19fbf751] .el-tag .el-tag__close{color:#909399}.labelInput[data-v-19fbf751] .el-tag .el-tag__close:hover{color:#fff;background-color:#909399}.brokerage[data-v-19fbf751]{font-size:12px}.img-preview[data-v-19fbf751]{width:253px}.specifications[data-v-19fbf751]{width:100%}.specifications .specifications-item[data-v-19fbf751]:hover{background-color:var(--prev-color-primary-light-9)}.specifications .specifications-item:hover .del[data-v-19fbf751]{display:block}.specifications .specifications-item[data-v-19fbf751]:last-child{margin-bottom:14px}.specifications .specifications-item[data-v-19fbf751]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:20px 15px;-webkit-transition:all .1s;transition:all .1s;background-color:#fafafa;margin-bottom:10px;border-radius:4px}.specifications .specifications-item .del[data-v-19fbf751]{display:none;position:absolute;right:15px;top:15px;font-size:22px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.specifications .specifications-item .specifications-item-box[data-v-19fbf751]{position:relative}.specifications .specifications-item .specifications-item-box .lineBox[data-v-19fbf751]{position:absolute;left:13px;top:24px;width:30px;height:45px;border-radius:6px;border-left:1px solid #dcdfe6;border-bottom:1px solid #dcdfe6}.specifications .specifications-item .specifications-item-box .specifications-item-name .el-icon-info[data-v-19fbf751]{color:var(--prev-color-primary);font-size:12px;margin-left:5px;margin-bottom:3px}.specifications .specifications-item .specifications-item-box .specifications-item-name-input[data-v-19fbf751]{width:200px}[data-v-83e95712] .el-tabs__item{height:54px!important;line-height:54px!important}.input_width[data-v-83e95712]{width:160px}.content_width[data-v-83e95712]{width:460px}.content_width[data-v-83e95712] .el-input__inner{padding-right:60px}.list-group[data-v-83e95712]{margin-left:-8px}.borderStyle[data-v-83e95712]{border:1px solid #ccc;padding:8px;border-radius:4px}.drag[data-v-83e95712]{cursor:move}.spec[data-v-83e95712]{display:block;margin:5px 0;position:relative}.spec .img-popover[data-v-83e95712]{cursor:pointer;width:76px;height:76px;padding:6px;margin-top:12px;background-color:#fff;position:relative;border:1px solid #dcdfe6;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover:hover .img-del[data-v-83e95712]{display:block}.spec .img-popover .img-del[data-v-83e95712]{display:none;position:absolute;right:3px;top:3px;font-size:16px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.spec .img-popover .popper[data-v-83e95712]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover .img[data-v-83e95712]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:4px}.spec .img-popover .popper-arrow[data-v-83e95712],.spec .img-popover .popper-arrow[data-v-83e95712]:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.spec .img-popover .popper-arrow[data-v-83e95712]{top:-13px;border-top-width:0;border-bottom-color:#dcdfe6;border-width:6px;-webkit-filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))}.spec .img-popover .popper-arrow[data-v-83e95712]:after{top:-5px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff;content:" ";border-width:6px}.spec .el-icon-error[data-v-83e95712]{position:absolute;display:none;right:-3px;top:-3px;z-index:9;color:var(--prev-color-primary)}.spec:hover .el-icon-error[data-v-83e95712]{display:block;z-index:999;cursor:pointer}.move-icon[data-v-83e95712]{width:30px;cursor:move;margin-right:10px}.move-icon .icondrag2[data-v-83e95712]{font-size:26px;color:#bbb}.maxW[data-v-83e95712] .ivu-select-dropdown{max-width:600px}#shopp-manager .ivu-table-wrapper[data-v-83e95712]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.noLeft[data-v-83e95712] .ivu-form-item-content{margin-left:0!important}#shopp-manager .ivu-form-item[data-v-83e95712]{position:relative}#shopp-manager .ivu-form-item .tips[data-v-83e95712]{position:absolute;color:#999;top:29px;left:-77px;font-size:12px}.box-video-style[data-v-83e95712]{width:375px;height:211px;border-radius:10px;background-color:#707070;margin-top:10px;position:relative;overflow:hidden}.box-video-style .iconv[data-v-83e95712]{color:#fff;line-height:180px;width:50px;height:50px;display:inherit;font-size:26px;position:absolute;top:-74px;left:50%;margin-left:-25px;cursor:pointer}.box-video-style .mark[data-v-83e95712]{position:absolute;width:100%;height:30px;top:0;background-color:#00000080;text-align:center}.submission[data-v-83e95712]{margin-left:10px}.color-list .tip[data-v-83e95712]{color:#c9c9c9;font-size:12px}.color-list .color-item[data-v-83e95712]{height:30px;line-height:30px;padding:0 10px;color:#fff;margin-right:10px;font-size:12px}.color-list .color-item.blue[data-v-83e95712]{background-color:#1e9fff}.color-list .color-item.yellow[data-v-83e95712]{background-color:#feb900}.color-list .color-item.green[data-v-83e95712]{background-color:#009688}.color-list .color-item.red[data-v-83e95712]{background-color:#ed4014}.columnsBox[data-v-83e95712]{margin-right:10px;width:200px}.priceBox[data-v-83e95712]{width:100%}.rulesBox[data-v-83e95712]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.rulesBox .item[data-v-83e95712]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.rulesBox .addfont[data-v-83e95712]{margin-left:0}.rulesBox[data-v-83e95712] .el-popover{border:none;-webkit-box-shadow:none;box-shadow:none;padding:0;margin-top:5px;line-height:1.5}.pictrueBox[data-v-83e95712]{display:inline-block}.pictrueTab[data-v-83e95712]{width:40px!important;height:40px!important}.pictrue[data-v-83e95712]{width:60px;height:60px;border:1px dashed rgba(0,0,0,.1);margin-right:15px;display:inline-block;position:relative;cursor:pointer}.pictrue img[data-v-83e95712]{width:100%;height:100%}.pictrue .btndel[data-v-83e95712]{position:absolute;z-index:1;width:20px!important;height:20px!important;left:46px;top:-4px}.upLoad[data-v-83e95712]{width:58px;height:58px;line-height:58px;border:1px dashed rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer}.curs[data-v-83e95712]{cursor:pointer}.inpWith[data-v-83e95712]{width:60%}.labeltop[data-v-83e95712] .ivu-form-item-label{float:none!important;display:inline-block!important;margin-left:120px!important;width:auto!important}.video-icon[data-v-83e95712]{background-image:url(https://cdn.oss.9gt.net/prov1.1/1/icons.png);background-color:#fff;background-position:-9999px;background-repeat:no-repeat}.see[data-v-83e95712]{color:#2d8cf0;cursor:pointer}.trip[data-v-83e95712]{color:#bbb;margin-bottom:10px;font-size:12px}.virtual-data[data-v-83e95712]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.add-more[data-v-83e95712]{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex}.virtual-title[data-v-83e95712]{width:60px}.scroll-virtual[data-v-83e95712]{max-height:400px;overflow-y:auto;margin-top:10px}.footer[data-v-83e95712]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:30px}.footer .clear[data-v-83e95712],.footer .submit[data-v-83e95712]{padding:10px 20px;border-radius:5px;color:#fff;cursor:pointer}.footer .clear[data-v-83e95712]{background-color:#ccc;margin-right:20px}.footer .submit[data-v-83e95712]{background-color:#2d8cf0}.picBox[data-v-83e95712]{display:-webkit-box;display:-ms-flexbox;display:flex}.btndel[data-v-83e95712]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.ifam[data-v-83e95712]{width:344px;height:644px;background:url(/admin/system_static/phonebg-BTZgNDFd.png) no-repeat center top;background-size:344px 644px;padding:50px 20px 40px;margin:0 auto}.ifam .content[data-v-83e95712]{height:560px;overflow:hidden;scrollbar-width:none;-ms-overflow-style:none;overflow-x:hidden;overflow-y:auto}.ifam .content video[data-v-83e95712]{text-align:center}.ifam .content[data-v-83e95712] video{display:block;max-width:100%;height:auto;margin:0 auto}.ifam .content[data-v-83e95712]::-webkit-scrollbar{display:none}[data-v-83e95712] .ivu-date-picker{width:300px}.virtual_boder[data-v-83e95712]{border:1px solid var(--prev-color-primary)}.virtual_boder2[data-v-83e95712]{border:1px solid #e7e7e7}.virtual_san[data-v-83e95712]{position:absolute;bottom:0;right:0;width:0;height:0;border-bottom:26px solid var(--prev-color-primary);border-left:26px solid transparent}.virtual_dui[data-v-83e95712]{position:absolute;bottom:-2px;right:2px;color:#fff;font-family:system-ui}.virtual[data-v-83e95712]{width:120px;height:60px;background:#fff;border-radius:3px;float:left;text-align:center;padding-top:8px;position:relative;cursor:pointer;line-height:23px}.virtual .virtual_top[data-v-83e95712]{font-size:14px;font-weight:600;color:#000000d9}.virtual .virtual_bottom[data-v-83e95712]{font-size:12px;font-weight:400;color:#999}.virtual[data-v-83e95712]:nth-child(2n){margin:0 12px}.addfont[data-v-83e95712]{display:inline-block;font-size:12px;font-weight:400;color:var(--prev-color-primary);margin-left:14px;cursor:pointer}.videbox[data-v-83e95712]{width:60px;height:60px;background:#00000005;border-radius:4px;border:1px dashed #dddddd;line-height:60px;text-align:center;font-size:26px;font-weight:400;cursor:pointer}.addCustom_content[data-v-83e95712]{width:100%;margin-top:20px}.addCustom_content .custom_box[data-v-83e95712]{margin-bottom:10px}.addCustomBox[data-v-83e95712]{width:100%;margin-top:12px;font-size:13px;font-weight:400;color:var(--prev-color-primary)}.addCustomBox .btn[data-v-83e95712]{cursor:pointer;width:-webkit-max-content;width:-moz-max-content;width:max-content}.type-radio[data-v-83e95712]{margin-bottom:10px}.deteal-btn[data-v-83e95712]{color:#5179ea}.stock-disk[data-v-83e95712]{margin:10px 0}.line[data-v-83e95712]{border-bottom:1px dashed #eee;margin-bottom:20px}.labelInput[data-v-83e95712]{border:1px solid #dcdee2;width:414px;padding:0 15px;border-radius:5px;min-height:30px;cursor:pointer;font-size:12px}.labelInput .span[data-v-83e95712]{color:#c5c8ce}.labelInput .iconxiayi[data-v-83e95712]{font-size:12px}#shopp-manager[data-v-83e95712] .ivu-form-item-content{line-height:33px!important}#selectvideo[data-v-83e95712] .ivu-form-item-content{line-height:0px!important}.progress[data-v-83e95712]{margin-top:10px}.labelInput[data-v-83e95712] .el-tag{color:#606266;background-color:#f0f2f5;border-color:#f0f2f5;margin-right:6px}.labelInput[data-v-83e95712] .el-tag .el-tag__close{color:#909399}.labelInput[data-v-83e95712] .el-tag .el-tag__close:hover{color:#fff;background-color:#909399}.brokerage[data-v-83e95712]{font-size:12px}.img-preview[data-v-83e95712]{width:253px}.specifications[data-v-83e95712]{width:100%}.specifications .specifications-item[data-v-83e95712]:hover{background-color:var(--prev-color-primary-light-9)}.specifications .specifications-item:hover .del[data-v-83e95712]{display:block}.specifications .specifications-item[data-v-83e95712]:last-child{margin-bottom:14px}.specifications .specifications-item[data-v-83e95712]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:20px 15px;-webkit-transition:all .1s;transition:all .1s;background-color:#fafafa;margin-bottom:10px;border-radius:4px}.specifications .specifications-item .del[data-v-83e95712]{display:none;position:absolute;right:15px;top:15px;font-size:22px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.specifications .specifications-item .specifications-item-box[data-v-83e95712]{position:relative}.specifications .specifications-item .specifications-item-box .lineBox[data-v-83e95712]{position:absolute;left:13px;top:24px;width:30px;height:45px;border-radius:6px;border-left:1px solid #dcdfe6;border-bottom:1px solid #dcdfe6}.specifications .specifications-item .specifications-item-box .specifications-item-name .el-icon-info[data-v-83e95712]{color:var(--prev-color-primary);font-size:12px;margin-left:5px;margin-bottom:3px}.specifications .specifications-item .specifications-item-box .specifications-item-name-input[data-v-83e95712]{width:200px}[data-v-db63a431] .el-tabs__item{height:54px!important;line-height:54px!important}.input_width[data-v-db63a431]{width:160px}.content_width[data-v-db63a431]{width:460px}.content_width[data-v-db63a431] .el-input__inner{padding-right:60px}.list-group[data-v-db63a431]{margin-left:-8px}.borderStyle[data-v-db63a431]{border:1px solid #ccc;padding:8px;border-radius:4px}.drag[data-v-db63a431]{cursor:move}.spec[data-v-db63a431]{display:block;margin:5px 0;position:relative}.spec .img-popover[data-v-db63a431]{cursor:pointer;width:76px;height:76px;padding:6px;margin-top:12px;background-color:#fff;position:relative;border:1px solid #dcdfe6;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover:hover .img-del[data-v-db63a431]{display:block}.spec .img-popover .img-del[data-v-db63a431]{display:none;position:absolute;right:3px;top:3px;font-size:16px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.spec .img-popover .popper[data-v-db63a431]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover .img[data-v-db63a431]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:4px}.spec .img-popover .popper-arrow[data-v-db63a431],.spec .img-popover .popper-arrow[data-v-db63a431]:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.spec .img-popover .popper-arrow[data-v-db63a431]{top:-13px;border-top-width:0;border-bottom-color:#dcdfe6;border-width:6px;-webkit-filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))}.spec .img-popover .popper-arrow[data-v-db63a431]:after{top:-5px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff;content:" ";border-width:6px}.spec .el-icon-error[data-v-db63a431]{position:absolute;display:none;right:-3px;top:-3px;z-index:9;color:var(--prev-color-primary)}.spec:hover .el-icon-error[data-v-db63a431]{display:block;z-index:999;cursor:pointer}.move-icon[data-v-db63a431]{width:30px;cursor:move;margin-right:10px}.move-icon .icondrag2[data-v-db63a431]{font-size:26px;color:#bbb}.maxW[data-v-db63a431] .ivu-select-dropdown{max-width:600px}#shopp-manager .ivu-table-wrapper[data-v-db63a431]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.noLeft[data-v-db63a431] .ivu-form-item-content{margin-left:0!important}#shopp-manager .ivu-form-item[data-v-db63a431]{position:relative}#shopp-manager .ivu-form-item .tips[data-v-db63a431]{position:absolute;color:#999;top:29px;left:-77px;font-size:12px}.box-video-style[data-v-db63a431]{width:375px;height:211px;border-radius:10px;background-color:#707070;margin-top:10px;position:relative;overflow:hidden}.box-video-style .iconv[data-v-db63a431]{color:#fff;line-height:180px;width:50px;height:50px;display:inherit;font-size:26px;position:absolute;top:-74px;left:50%;margin-left:-25px;cursor:pointer}.box-video-style .mark[data-v-db63a431]{position:absolute;width:100%;height:30px;top:0;background-color:#00000080;text-align:center}.submission[data-v-db63a431]{margin-left:10px}.color-list .tip[data-v-db63a431]{color:#c9c9c9;font-size:12px}.color-list .color-item[data-v-db63a431]{height:30px;line-height:30px;padding:0 10px;color:#fff;margin-right:10px;font-size:12px}.color-list .color-item.blue[data-v-db63a431]{background-color:#1e9fff}.color-list .color-item.yellow[data-v-db63a431]{background-color:#feb900}.color-list .color-item.green[data-v-db63a431]{background-color:#009688}.color-list .color-item.red[data-v-db63a431]{background-color:#ed4014}.columnsBox[data-v-db63a431]{margin-right:10px;width:200px}.priceBox[data-v-db63a431]{width:100%}.rulesBox[data-v-db63a431]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.rulesBox .item[data-v-db63a431]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.rulesBox .addfont[data-v-db63a431]{margin-left:0}.rulesBox[data-v-db63a431] .el-popover{border:none;-webkit-box-shadow:none;box-shadow:none;padding:0;margin-top:5px;line-height:1.5}.pictrueBox[data-v-db63a431]{display:inline-block}.pictrueTab[data-v-db63a431]{width:40px!important;height:40px!important}.pictrue[data-v-db63a431]{width:60px;height:60px;border:1px dashed rgba(0,0,0,.1);margin-right:15px;display:inline-block;position:relative;cursor:pointer}.pictrue img[data-v-db63a431]{width:100%;height:100%}.pictrue .btndel[data-v-db63a431]{position:absolute;z-index:1;width:20px!important;height:20px!important;left:46px;top:-4px}.upLoad[data-v-db63a431]{width:58px;height:58px;line-height:58px;border:1px dashed rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer}.curs[data-v-db63a431]{cursor:pointer}.inpWith[data-v-db63a431]{width:60%}.labeltop[data-v-db63a431] .ivu-form-item-label{float:none!important;display:inline-block!important;margin-left:120px!important;width:auto!important}.video-icon[data-v-db63a431]{background-image:url(https://cdn.oss.9gt.net/prov1.1/1/icons.png);background-color:#fff;background-position:-9999px;background-repeat:no-repeat}.see[data-v-db63a431]{color:#2d8cf0;cursor:pointer}.trip[data-v-db63a431]{color:#bbb;margin-bottom:10px;font-size:12px}.virtual-data[data-v-db63a431]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.add-more[data-v-db63a431]{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex}.virtual-title[data-v-db63a431]{width:60px}.scroll-virtual[data-v-db63a431]{max-height:400px;overflow-y:auto;margin-top:10px}.footer[data-v-db63a431]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:30px}.footer .clear[data-v-db63a431],.footer .submit[data-v-db63a431]{padding:10px 20px;border-radius:5px;color:#fff;cursor:pointer}.footer .clear[data-v-db63a431]{background-color:#ccc;margin-right:20px}.footer .submit[data-v-db63a431]{background-color:#2d8cf0}.picBox[data-v-db63a431]{display:-webkit-box;display:-ms-flexbox;display:flex}.btndel[data-v-db63a431]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.ifam[data-v-db63a431]{width:344px;height:644px;background:url(/admin/system_static/phonebg-BTZgNDFd.png) no-repeat center top;background-size:344px 644px;padding:50px 20px 40px;margin:0 auto}.ifam .content[data-v-db63a431]{height:560px;overflow:hidden;scrollbar-width:none;-ms-overflow-style:none;overflow-x:hidden;overflow-y:auto}.ifam .content video[data-v-db63a431]{text-align:center}.ifam .content[data-v-db63a431] video{display:block;max-width:100%;height:auto;margin:0 auto}.ifam .content[data-v-db63a431]::-webkit-scrollbar{display:none}[data-v-db63a431] .ivu-date-picker{width:300px}.virtual_boder[data-v-db63a431]{border:1px solid var(--prev-color-primary)}.virtual_boder2[data-v-db63a431]{border:1px solid #e7e7e7}.virtual_san[data-v-db63a431]{position:absolute;bottom:0;right:0;width:0;height:0;border-bottom:26px solid var(--prev-color-primary);border-left:26px solid transparent}.virtual_dui[data-v-db63a431]{position:absolute;bottom:-2px;right:2px;color:#fff;font-family:system-ui}.virtual[data-v-db63a431]{width:120px;height:60px;background:#fff;border-radius:3px;float:left;text-align:center;padding-top:8px;position:relative;cursor:pointer;line-height:23px}.virtual .virtual_top[data-v-db63a431]{font-size:14px;font-weight:600;color:#000000d9}.virtual .virtual_bottom[data-v-db63a431]{font-size:12px;font-weight:400;color:#999}.virtual[data-v-db63a431]:nth-child(2n){margin:0 12px}.addfont[data-v-db63a431]{display:inline-block;font-size:12px;font-weight:400;color:var(--prev-color-primary);margin-left:14px;cursor:pointer}.videbox[data-v-db63a431]{width:60px;height:60px;background:#00000005;border-radius:4px;border:1px dashed #dddddd;line-height:60px;text-align:center;font-size:26px;font-weight:400;cursor:pointer}.addCustom_content[data-v-db63a431]{width:100%;margin-top:20px}.addCustom_content .custom_box[data-v-db63a431]{margin-bottom:10px}.addCustomBox[data-v-db63a431]{width:100%;margin-top:12px;font-size:13px;font-weight:400;color:var(--prev-color-primary)}.addCustomBox .btn[data-v-db63a431]{cursor:pointer;width:-webkit-max-content;width:-moz-max-content;width:max-content}.type-radio[data-v-db63a431]{margin-bottom:10px}.deteal-btn[data-v-db63a431]{color:#5179ea}.stock-disk[data-v-db63a431]{margin:10px 0}.line[data-v-db63a431]{border-bottom:1px dashed #eee;margin-bottom:20px}.labelInput[data-v-db63a431]{border:1px solid #dcdee2;width:414px;padding:0 15px;border-radius:5px;min-height:30px;cursor:pointer;font-size:12px}.labelInput .span[data-v-db63a431]{color:#c5c8ce}.labelInput .iconxiayi[data-v-db63a431]{font-size:12px}#shopp-manager[data-v-db63a431] .ivu-form-item-content{line-height:33px!important}#selectvideo[data-v-db63a431] .ivu-form-item-content{line-height:0px!important}.progress[data-v-db63a431]{margin-top:10px}.labelInput[data-v-db63a431] .el-tag{color:#606266;background-color:#f0f2f5;border-color:#f0f2f5;margin-right:6px}.labelInput[data-v-db63a431] .el-tag .el-tag__close{color:#909399}.labelInput[data-v-db63a431] .el-tag .el-tag__close:hover{color:#fff;background-color:#909399}.brokerage[data-v-db63a431]{font-size:12px}.img-preview[data-v-db63a431]{width:253px}.specifications[data-v-db63a431]{width:100%}.specifications .specifications-item[data-v-db63a431]:hover{background-color:var(--prev-color-primary-light-9)}.specifications .specifications-item:hover .del[data-v-db63a431]{display:block}.specifications .specifications-item[data-v-db63a431]:last-child{margin-bottom:14px}.specifications .specifications-item[data-v-db63a431]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:20px 15px;-webkit-transition:all .1s;transition:all .1s;background-color:#fafafa;margin-bottom:10px;border-radius:4px}.specifications .specifications-item .del[data-v-db63a431]{display:none;position:absolute;right:15px;top:15px;font-size:22px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.specifications .specifications-item .specifications-item-box[data-v-db63a431]{position:relative}.specifications .specifications-item .specifications-item-box .lineBox[data-v-db63a431]{position:absolute;left:13px;top:24px;width:30px;height:45px;border-radius:6px;border-left:1px solid #dcdfe6;border-bottom:1px solid #dcdfe6}.specifications .specifications-item .specifications-item-box .specifications-item-name .el-icon-info[data-v-db63a431]{color:var(--prev-color-primary);font-size:12px;margin-left:5px;margin-bottom:3px}.specifications .specifications-item .specifications-item-box .specifications-item-name-input[data-v-db63a431]{width:200px}.picBox[data-v-db63a431]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:10px}.pictrue[data-v-db63a431]{width:60px;height:60px;border:1px dashed rgba(0,0,0,.1);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:relative;cursor:pointer;overflow:hidden;border-radius:4px;-ms-flex-negative:0;flex-shrink:0}.pictrue img[data-v-db63a431]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:4px}.pictrue .btndel[data-v-db63a431]{position:absolute;z-index:1;width:16px;height:16px;right:-4px;top:-4px;left:auto;color:#999}.pictrue .btndel[data-v-db63a431]:hover{color:var(--prev-color-primary, #1890ff)}.upLoad[data-v-db63a431]{width:58px;height:58px;line-height:58px;border:1px dashed rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer;-ms-flex-negative:0;flex-shrink:0;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.labelInput[data-v-db63a431]{width:300px}[data-v-0d6bdf98] .el-tabs__item{height:54px!important;line-height:54px!important}.input_width[data-v-0d6bdf98]{width:160px}.content_width[data-v-0d6bdf98]{width:460px}.content_width[data-v-0d6bdf98] .el-input__inner{padding-right:60px}.list-group[data-v-0d6bdf98]{margin-left:-8px}.borderStyle[data-v-0d6bdf98]{border:1px solid #ccc;padding:8px;border-radius:4px}.drag[data-v-0d6bdf98]{cursor:move}.spec[data-v-0d6bdf98]{display:block;margin:5px 0;position:relative}.spec .img-popover[data-v-0d6bdf98]{cursor:pointer;width:76px;height:76px;padding:6px;margin-top:12px;background-color:#fff;position:relative;border:1px solid #dcdfe6;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover:hover .img-del[data-v-0d6bdf98]{display:block}.spec .img-popover .img-del[data-v-0d6bdf98]{display:none;position:absolute;right:3px;top:3px;font-size:16px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.spec .img-popover .popper[data-v-0d6bdf98]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover .img[data-v-0d6bdf98]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:4px}.spec .img-popover .popper-arrow[data-v-0d6bdf98],.spec .img-popover .popper-arrow[data-v-0d6bdf98]:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.spec .img-popover .popper-arrow[data-v-0d6bdf98]{top:-13px;border-top-width:0;border-bottom-color:#dcdfe6;border-width:6px;-webkit-filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))}.spec .img-popover .popper-arrow[data-v-0d6bdf98]:after{top:-5px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff;content:" ";border-width:6px}.spec .el-icon-error[data-v-0d6bdf98]{position:absolute;display:none;right:-3px;top:-3px;z-index:9;color:var(--prev-color-primary)}.spec:hover .el-icon-error[data-v-0d6bdf98]{display:block;z-index:999;cursor:pointer}.move-icon[data-v-0d6bdf98]{width:30px;cursor:move;margin-right:10px}.move-icon .icondrag2[data-v-0d6bdf98]{font-size:26px;color:#bbb}.maxW[data-v-0d6bdf98] .ivu-select-dropdown{max-width:600px}#shopp-manager .ivu-table-wrapper[data-v-0d6bdf98]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.noLeft[data-v-0d6bdf98] .ivu-form-item-content{margin-left:0!important}#shopp-manager .ivu-form-item[data-v-0d6bdf98]{position:relative}#shopp-manager .ivu-form-item .tips[data-v-0d6bdf98]{position:absolute;color:#999;top:29px;left:-77px;font-size:12px}.box-video-style[data-v-0d6bdf98]{width:375px;height:211px;border-radius:10px;background-color:#707070;margin-top:10px;position:relative;overflow:hidden}.box-video-style .iconv[data-v-0d6bdf98]{color:#fff;line-height:180px;width:50px;height:50px;display:inherit;font-size:26px;position:absolute;top:-74px;left:50%;margin-left:-25px;cursor:pointer}.box-video-style .mark[data-v-0d6bdf98]{position:absolute;width:100%;height:30px;top:0;background-color:#00000080;text-align:center}.submission[data-v-0d6bdf98]{margin-left:10px}.color-list .tip[data-v-0d6bdf98]{color:#c9c9c9;font-size:12px}.color-list .color-item[data-v-0d6bdf98]{height:30px;line-height:30px;padding:0 10px;color:#fff;margin-right:10px;font-size:12px}.color-list .color-item.blue[data-v-0d6bdf98]{background-color:#1e9fff}.color-list .color-item.yellow[data-v-0d6bdf98]{background-color:#feb900}.color-list .color-item.green[data-v-0d6bdf98]{background-color:#009688}.color-list .color-item.red[data-v-0d6bdf98]{background-color:#ed4014}.columnsBox[data-v-0d6bdf98]{margin-right:10px;width:200px}.priceBox[data-v-0d6bdf98]{width:100%}.rulesBox[data-v-0d6bdf98]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.rulesBox .item[data-v-0d6bdf98]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.rulesBox .addfont[data-v-0d6bdf98]{margin-left:0}.rulesBox[data-v-0d6bdf98] .el-popover{border:none;-webkit-box-shadow:none;box-shadow:none;padding:0;margin-top:5px;line-height:1.5}.pictrueBox[data-v-0d6bdf98]{display:inline-block}.pictrueTab[data-v-0d6bdf98]{width:40px!important;height:40px!important}.pictrue[data-v-0d6bdf98]{width:60px;height:60px;border:1px dashed rgba(0,0,0,.1);margin-right:15px;display:inline-block;position:relative;cursor:pointer}.pictrue img[data-v-0d6bdf98]{width:100%;height:100%}.pictrue .btndel[data-v-0d6bdf98]{position:absolute;z-index:1;width:20px!important;height:20px!important;left:46px;top:-4px}.upLoad[data-v-0d6bdf98]{width:58px;height:58px;line-height:58px;border:1px dashed rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer}.curs[data-v-0d6bdf98]{cursor:pointer}.inpWith[data-v-0d6bdf98]{width:60%}.labeltop[data-v-0d6bdf98] .ivu-form-item-label{float:none!important;display:inline-block!important;margin-left:120px!important;width:auto!important}.video-icon[data-v-0d6bdf98]{background-image:url(https://cdn.oss.9gt.net/prov1.1/1/icons.png);background-color:#fff;background-position:-9999px;background-repeat:no-repeat}.see[data-v-0d6bdf98]{color:#2d8cf0;cursor:pointer}.trip[data-v-0d6bdf98]{color:#bbb;margin-bottom:10px;font-size:12px}.virtual-data[data-v-0d6bdf98]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.add-more[data-v-0d6bdf98]{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex}.virtual-title[data-v-0d6bdf98]{width:60px}.scroll-virtual[data-v-0d6bdf98]{max-height:400px;overflow-y:auto;margin-top:10px}.footer[data-v-0d6bdf98]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:30px}.footer .clear[data-v-0d6bdf98],.footer .submit[data-v-0d6bdf98]{padding:10px 20px;border-radius:5px;color:#fff;cursor:pointer}.footer .clear[data-v-0d6bdf98]{background-color:#ccc;margin-right:20px}.footer .submit[data-v-0d6bdf98]{background-color:#2d8cf0}.picBox[data-v-0d6bdf98]{display:-webkit-box;display:-ms-flexbox;display:flex}.btndel[data-v-0d6bdf98]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.ifam[data-v-0d6bdf98]{width:344px;height:644px;background:url(/admin/system_static/phonebg-BTZgNDFd.png) no-repeat center top;background-size:344px 644px;padding:50px 20px 40px;margin:0 auto}.ifam .content[data-v-0d6bdf98]{height:560px;overflow:hidden;scrollbar-width:none;-ms-overflow-style:none;overflow-x:hidden;overflow-y:auto}.ifam .content video[data-v-0d6bdf98]{text-align:center}.ifam .content[data-v-0d6bdf98] video{display:block;max-width:100%;height:auto;margin:0 auto}.ifam .content[data-v-0d6bdf98]::-webkit-scrollbar{display:none}[data-v-0d6bdf98] .ivu-date-picker{width:300px}.virtual_boder[data-v-0d6bdf98]{border:1px solid var(--prev-color-primary)}.virtual_boder2[data-v-0d6bdf98]{border:1px solid #e7e7e7}.virtual_san[data-v-0d6bdf98]{position:absolute;bottom:0;right:0;width:0;height:0;border-bottom:26px solid var(--prev-color-primary);border-left:26px solid transparent}.virtual_dui[data-v-0d6bdf98]{position:absolute;bottom:-2px;right:2px;color:#fff;font-family:system-ui}.virtual[data-v-0d6bdf98]{width:120px;height:60px;background:#fff;border-radius:3px;float:left;text-align:center;padding-top:8px;position:relative;cursor:pointer;line-height:23px}.virtual .virtual_top[data-v-0d6bdf98]{font-size:14px;font-weight:600;color:#000000d9}.virtual .virtual_bottom[data-v-0d6bdf98]{font-size:12px;font-weight:400;color:#999}.virtual[data-v-0d6bdf98]:nth-child(2n){margin:0 12px}.addfont[data-v-0d6bdf98]{display:inline-block;font-size:12px;font-weight:400;color:var(--prev-color-primary);margin-left:14px;cursor:pointer}.videbox[data-v-0d6bdf98]{width:60px;height:60px;background:#00000005;border-radius:4px;border:1px dashed #dddddd;line-height:60px;text-align:center;font-size:26px;font-weight:400;cursor:pointer}.addCustom_content[data-v-0d6bdf98]{width:100%;margin-top:20px}.addCustom_content .custom_box[data-v-0d6bdf98]{margin-bottom:10px}.addCustomBox[data-v-0d6bdf98]{width:100%;margin-top:12px;font-size:13px;font-weight:400;color:var(--prev-color-primary)}.addCustomBox .btn[data-v-0d6bdf98]{cursor:pointer;width:-webkit-max-content;width:-moz-max-content;width:max-content}.type-radio[data-v-0d6bdf98]{margin-bottom:10px}.deteal-btn[data-v-0d6bdf98]{color:#5179ea}.stock-disk[data-v-0d6bdf98]{margin:10px 0}.line[data-v-0d6bdf98]{border-bottom:1px dashed #eee;margin-bottom:20px}.labelInput[data-v-0d6bdf98]{border:1px solid #dcdee2;width:414px;padding:0 15px;border-radius:5px;min-height:30px;cursor:pointer;font-size:12px}.labelInput .span[data-v-0d6bdf98]{color:#c5c8ce}.labelInput .iconxiayi[data-v-0d6bdf98]{font-size:12px}#shopp-manager[data-v-0d6bdf98] .ivu-form-item-content{line-height:33px!important}#selectvideo[data-v-0d6bdf98] .ivu-form-item-content{line-height:0px!important}.progress[data-v-0d6bdf98]{margin-top:10px}.labelInput[data-v-0d6bdf98] .el-tag{color:#606266;background-color:#f0f2f5;border-color:#f0f2f5;margin-right:6px}.labelInput[data-v-0d6bdf98] .el-tag .el-tag__close{color:#909399}.labelInput[data-v-0d6bdf98] .el-tag .el-tag__close:hover{color:#fff;background-color:#909399}.brokerage[data-v-0d6bdf98]{font-size:12px}.img-preview[data-v-0d6bdf98]{width:253px}.specifications[data-v-0d6bdf98]{width:100%}.specifications .specifications-item[data-v-0d6bdf98]:hover{background-color:var(--prev-color-primary-light-9)}.specifications .specifications-item:hover .del[data-v-0d6bdf98]{display:block}.specifications .specifications-item[data-v-0d6bdf98]:last-child{margin-bottom:14px}.specifications .specifications-item[data-v-0d6bdf98]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:20px 15px;-webkit-transition:all .1s;transition:all .1s;background-color:#fafafa;margin-bottom:10px;border-radius:4px}.specifications .specifications-item .del[data-v-0d6bdf98]{display:none;position:absolute;right:15px;top:15px;font-size:22px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.specifications .specifications-item .specifications-item-box[data-v-0d6bdf98]{position:relative}.specifications .specifications-item .specifications-item-box .lineBox[data-v-0d6bdf98]{position:absolute;left:13px;top:24px;width:30px;height:45px;border-radius:6px;border-left:1px solid #dcdfe6;border-bottom:1px solid #dcdfe6}.specifications .specifications-item .specifications-item-box .specifications-item-name .el-icon-info[data-v-0d6bdf98]{color:var(--prev-color-primary);font-size:12px;margin-left:5px;margin-bottom:3px}.specifications .specifications-item .specifications-item-box .specifications-item-name-input[data-v-0d6bdf98]{width:200px}[data-v-23bda3d0] .el-tabs__item{height:54px!important;line-height:54px!important}.input_width[data-v-23bda3d0]{width:160px}.content_width[data-v-23bda3d0]{width:460px}.content_width[data-v-23bda3d0] .el-input__inner{padding-right:60px}.list-group[data-v-23bda3d0]{margin-left:-8px}.borderStyle[data-v-23bda3d0]{border:1px solid #ccc;padding:8px;border-radius:4px}.drag[data-v-23bda3d0]{cursor:move}.spec[data-v-23bda3d0]{display:block;margin:5px 0;position:relative}.spec .img-popover[data-v-23bda3d0]{cursor:pointer;width:76px;height:76px;padding:6px;margin-top:12px;background-color:#fff;position:relative;border:1px solid #dcdfe6;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover:hover .img-del[data-v-23bda3d0]{display:block}.spec .img-popover .img-del[data-v-23bda3d0]{display:none;position:absolute;right:3px;top:3px;font-size:16px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.spec .img-popover .popper[data-v-23bda3d0]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover .img[data-v-23bda3d0]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:4px}.spec .img-popover .popper-arrow[data-v-23bda3d0],.spec .img-popover .popper-arrow[data-v-23bda3d0]:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.spec .img-popover .popper-arrow[data-v-23bda3d0]{top:-13px;border-top-width:0;border-bottom-color:#dcdfe6;border-width:6px;-webkit-filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))}.spec .img-popover .popper-arrow[data-v-23bda3d0]:after{top:-5px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff;content:" ";border-width:6px}.spec .el-icon-error[data-v-23bda3d0]{position:absolute;display:none;right:-3px;top:-3px;z-index:9;color:var(--prev-color-primary)}.spec:hover .el-icon-error[data-v-23bda3d0]{display:block;z-index:999;cursor:pointer}.move-icon[data-v-23bda3d0]{width:30px;cursor:move;margin-right:10px}.move-icon .icondrag2[data-v-23bda3d0]{font-size:26px;color:#bbb}.maxW[data-v-23bda3d0] .ivu-select-dropdown{max-width:600px}#shopp-manager .ivu-table-wrapper[data-v-23bda3d0]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.noLeft[data-v-23bda3d0] .ivu-form-item-content{margin-left:0!important}#shopp-manager .ivu-form-item[data-v-23bda3d0]{position:relative}#shopp-manager .ivu-form-item .tips[data-v-23bda3d0]{position:absolute;color:#999;top:29px;left:-77px;font-size:12px}.box-video-style[data-v-23bda3d0]{width:375px;height:211px;border-radius:10px;background-color:#707070;margin-top:10px;position:relative;overflow:hidden}.box-video-style .iconv[data-v-23bda3d0]{color:#fff;line-height:180px;width:50px;height:50px;display:inherit;font-size:26px;position:absolute;top:-74px;left:50%;margin-left:-25px;cursor:pointer}.box-video-style .mark[data-v-23bda3d0]{position:absolute;width:100%;height:30px;top:0;background-color:#00000080;text-align:center}.submission[data-v-23bda3d0]{margin-left:10px}.color-list .tip[data-v-23bda3d0]{color:#c9c9c9;font-size:12px}.color-list .color-item[data-v-23bda3d0]{height:30px;line-height:30px;padding:0 10px;color:#fff;margin-right:10px;font-size:12px}.color-list .color-item.blue[data-v-23bda3d0]{background-color:#1e9fff}.color-list .color-item.yellow[data-v-23bda3d0]{background-color:#feb900}.color-list .color-item.green[data-v-23bda3d0]{background-color:#009688}.color-list .color-item.red[data-v-23bda3d0]{background-color:#ed4014}.columnsBox[data-v-23bda3d0]{margin-right:10px;width:200px}.priceBox[data-v-23bda3d0]{width:100%}.rulesBox[data-v-23bda3d0]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.rulesBox .item[data-v-23bda3d0]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.rulesBox .addfont[data-v-23bda3d0]{margin-left:0}.rulesBox[data-v-23bda3d0] .el-popover{border:none;-webkit-box-shadow:none;box-shadow:none;padding:0;margin-top:5px;line-height:1.5}.pictrueBox[data-v-23bda3d0]{display:inline-block}.pictrueTab[data-v-23bda3d0]{width:40px!important;height:40px!important}.pictrue[data-v-23bda3d0]{width:60px;height:60px;border:1px dashed rgba(0,0,0,.1);margin-right:15px;display:inline-block;position:relative;cursor:pointer}.pictrue img[data-v-23bda3d0]{width:100%;height:100%}.pictrue .btndel[data-v-23bda3d0]{position:absolute;z-index:1;width:20px!important;height:20px!important;left:46px;top:-4px}.upLoad[data-v-23bda3d0]{width:58px;height:58px;line-height:58px;border:1px dashed rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer}.curs[data-v-23bda3d0]{cursor:pointer}.inpWith[data-v-23bda3d0]{width:60%}.labeltop[data-v-23bda3d0] .ivu-form-item-label{float:none!important;display:inline-block!important;margin-left:120px!important;width:auto!important}.video-icon[data-v-23bda3d0]{background-image:url(https://cdn.oss.9gt.net/prov1.1/1/icons.png);background-color:#fff;background-position:-9999px;background-repeat:no-repeat}.see[data-v-23bda3d0]{color:#2d8cf0;cursor:pointer}.trip[data-v-23bda3d0]{color:#bbb;margin-bottom:10px;font-size:12px}.virtual-data[data-v-23bda3d0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.add-more[data-v-23bda3d0]{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex}.virtual-title[data-v-23bda3d0]{width:60px}.scroll-virtual[data-v-23bda3d0]{max-height:400px;overflow-y:auto;margin-top:10px}.footer[data-v-23bda3d0]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:30px}.footer .clear[data-v-23bda3d0],.footer .submit[data-v-23bda3d0]{padding:10px 20px;border-radius:5px;color:#fff;cursor:pointer}.footer .clear[data-v-23bda3d0]{background-color:#ccc;margin-right:20px}.footer .submit[data-v-23bda3d0]{background-color:#2d8cf0}.picBox[data-v-23bda3d0]{display:-webkit-box;display:-ms-flexbox;display:flex}.btndel[data-v-23bda3d0]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.ifam[data-v-23bda3d0]{width:344px;height:644px;background:url(/admin/system_static/phonebg-BTZgNDFd.png) no-repeat center top;background-size:344px 644px;padding:50px 20px 40px;margin:0 auto}.ifam .content[data-v-23bda3d0]{height:560px;overflow:hidden;scrollbar-width:none;-ms-overflow-style:none;overflow-x:hidden;overflow-y:auto}.ifam .content video[data-v-23bda3d0]{text-align:center}.ifam .content[data-v-23bda3d0] video{display:block;max-width:100%;height:auto;margin:0 auto}.ifam .content[data-v-23bda3d0]::-webkit-scrollbar{display:none}[data-v-23bda3d0] .ivu-date-picker{width:300px}.virtual_boder[data-v-23bda3d0]{border:1px solid var(--prev-color-primary)}.virtual_boder2[data-v-23bda3d0]{border:1px solid #e7e7e7}.virtual_san[data-v-23bda3d0]{position:absolute;bottom:0;right:0;width:0;height:0;border-bottom:26px solid var(--prev-color-primary);border-left:26px solid transparent}.virtual_dui[data-v-23bda3d0]{position:absolute;bottom:-2px;right:2px;color:#fff;font-family:system-ui}.virtual[data-v-23bda3d0]{width:120px;height:60px;background:#fff;border-radius:3px;float:left;text-align:center;padding-top:8px;position:relative;cursor:pointer;line-height:23px}.virtual .virtual_top[data-v-23bda3d0]{font-size:14px;font-weight:600;color:#000000d9}.virtual .virtual_bottom[data-v-23bda3d0]{font-size:12px;font-weight:400;color:#999}.virtual[data-v-23bda3d0]:nth-child(2n){margin:0 12px}.addfont[data-v-23bda3d0]{display:inline-block;font-size:12px;font-weight:400;color:var(--prev-color-primary);margin-left:14px;cursor:pointer}.videbox[data-v-23bda3d0]{width:60px;height:60px;background:#00000005;border-radius:4px;border:1px dashed #dddddd;line-height:60px;text-align:center;font-size:26px;font-weight:400;cursor:pointer}.addCustom_content[data-v-23bda3d0]{width:100%;margin-top:20px}.addCustom_content .custom_box[data-v-23bda3d0]{margin-bottom:10px}.addCustomBox[data-v-23bda3d0]{width:100%;margin-top:12px;font-size:13px;font-weight:400;color:var(--prev-color-primary)}.addCustomBox .btn[data-v-23bda3d0]{cursor:pointer;width:-webkit-max-content;width:-moz-max-content;width:max-content}.type-radio[data-v-23bda3d0]{margin-bottom:10px}.deteal-btn[data-v-23bda3d0]{color:#5179ea}.stock-disk[data-v-23bda3d0]{margin:10px 0}.line[data-v-23bda3d0]{border-bottom:1px dashed #eee;margin-bottom:20px}.labelInput[data-v-23bda3d0]{border:1px solid #dcdee2;width:414px;padding:0 15px;border-radius:5px;min-height:30px;cursor:pointer;font-size:12px}.labelInput .span[data-v-23bda3d0]{color:#c5c8ce}.labelInput .iconxiayi[data-v-23bda3d0]{font-size:12px}#shopp-manager[data-v-23bda3d0] .ivu-form-item-content{line-height:33px!important}#selectvideo[data-v-23bda3d0] .ivu-form-item-content{line-height:0px!important}.progress[data-v-23bda3d0]{margin-top:10px}.labelInput[data-v-23bda3d0] .el-tag{color:#606266;background-color:#f0f2f5;border-color:#f0f2f5;margin-right:6px}.labelInput[data-v-23bda3d0] .el-tag .el-tag__close{color:#909399}.labelInput[data-v-23bda3d0] .el-tag .el-tag__close:hover{color:#fff;background-color:#909399}.brokerage[data-v-23bda3d0]{font-size:12px}.img-preview[data-v-23bda3d0]{width:253px}.specifications[data-v-23bda3d0]{width:100%}.specifications .specifications-item[data-v-23bda3d0]:hover{background-color:var(--prev-color-primary-light-9)}.specifications .specifications-item:hover .del[data-v-23bda3d0]{display:block}.specifications .specifications-item[data-v-23bda3d0]:last-child{margin-bottom:14px}.specifications .specifications-item[data-v-23bda3d0]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:20px 15px;-webkit-transition:all .1s;transition:all .1s;background-color:#fafafa;margin-bottom:10px;border-radius:4px}.specifications .specifications-item .del[data-v-23bda3d0]{display:none;position:absolute;right:15px;top:15px;font-size:22px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.specifications .specifications-item .specifications-item-box[data-v-23bda3d0]{position:relative}.specifications .specifications-item .specifications-item-box .lineBox[data-v-23bda3d0]{position:absolute;left:13px;top:24px;width:30px;height:45px;border-radius:6px;border-left:1px solid #dcdfe6;border-bottom:1px solid #dcdfe6}.specifications .specifications-item .specifications-item-box .specifications-item-name .el-icon-info[data-v-23bda3d0]{color:var(--prev-color-primary);font-size:12px;margin-left:5px;margin-bottom:3px}.specifications .specifications-item .specifications-item-box .specifications-item-name-input[data-v-23bda3d0]{width:200px}.stat-card .stat-item[data-v-9416b934]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.stat-card .stat-icon[data-v-9416b934]{width:50px;height:50px;border-radius:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:24px;margin-right:15px}.stat-card .stat-icon-total[data-v-9416b934]{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.stat-card .stat-icon-pay[data-v-9416b934]{background:linear-gradient(135deg,#f093fb,#f5576c);color:#fff}.stat-card .stat-icon-pending[data-v-9416b934]{background:linear-gradient(135deg,#4facfe,#00f2fe);color:#fff}.stat-card .stat-icon-completed[data-v-9416b934]{background:linear-gradient(135deg,#43e97b,#38f9d7);color:#fff}.stat-card .stat-info .stat-value[data-v-9416b934]{font-size:24px;font-weight:700;color:#333}.stat-card .stat-info .stat-label[data-v-9416b934]{font-size:14px;color:#999;margin-top:5px}.table_box[data-v-64c5da29]{padding:20px}.expand[data-v-626e0acf]{font-size:13px;color:#606266}.expand-row[data-v-626e0acf]{margin-bottom:16px}.expand-key[data-v-626e0acf]{color:#909399;margin-right:4px}.expand-value[data-v-626e0acf]{color:#303133}.mt16[data-v-110bd173]{margin-top:16px}[data-v-110bd173] .el-tabs__header{margin:0;padding:0 20px}.toolbar[data-v-110bd173]{padding:10px 20px;border-bottom:1px solid #ebeef5}.orderData .tab[data-v-110bd173]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.orderData .tab img[data-v-110bd173]{width:36px;height:36px;margin-right:10px;-ms-flex-negative:0;flex-shrink:0}.orderData .w-250[data-v-110bd173]{max-width:250px}.price[data-v-110bd173]{color:#ed4014;font-weight:700}.trip[data-v-110bd173]{color:#ed4014;font-size:12px;margin-top:2px}[data-v-110bd173] .el-dropdown-link{cursor:pointer;color:var(--prev-color-primary);font-size:13px}[data-v-110bd173] .el-dropdown-menu__item{font-size:13px}.order-send-dialog .mb20[data-v-92634bdd]{margin-bottom:20px}.order-send-dialog .user-info-box p[data-v-92634bdd]{margin:0;line-height:1.8}.order-send-dialog .copy-box[data-v-92634bdd]{position:absolute;top:10px;right:10px}.order-send-dialog .copy-btn[data-v-92634bdd]{color:#57a3f3;cursor:pointer;margin-left:10px}.order-send-dialog .product-cell[data-v-92634bdd]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.order-send-dialog .product-img[data-v-92634bdd]{width:50px;height:50px;border-radius:4px;margin-right:10px;-ms-flex-negative:0;flex-shrink:0}.order-send-dialog .product-meta[data-v-92634bdd]{min-width:0}.order-send-dialog .product-name[data-v-92634bdd]{margin:0;font-size:13px;color:#303133;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-send-dialog .product-sku[data-v-92634bdd]{margin:2px 0 0;font-size:12px;color:#909399}.order-info[data-v-740cef3a]{background:#f8f8f8;padding:12px 16px;border-radius:4px}.label[data-v-740cef3a]{color:#666;font-size:13px}.value[data-v-740cef3a]{color:#333;font-size:13px}.form-section[data-v-740cef3a]{padding:0}.section-title[data-v-740cef3a]{font-size:14px;font-weight:600;color:#333;margin-bottom:12px}[data-v-b7714be6] .el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{border-bottom:none}[data-v-b7714be6] .el-tabs__item{height:40px!important;line-height:40px!important}.head[data-v-b7714be6]{padding:0 30px 24px}.head .full[data-v-b7714be6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.head .full .order_icon[data-v-b7714be6]{width:60px;height:60px}.head .full .text[data-v-b7714be6]{-ms-flex-item-align:center;align-self:center;-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:0;padding-left:12px;font-size:13px;color:#606266}.head .full .text .title[data-v-b7714be6]{margin-bottom:10px;font-weight:500;font-size:16px;line-height:16px;color:#000000d9}.head .list[data-v-b7714be6]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:20px;overflow:hidden;list-style:none;padding:0}.head .list .item[data-v-b7714be6]{-webkit-box-flex:0;-ms-flex:none;flex:none;width:200px;font-size:14px;line-height:14px;color:#000000d9}.head .list .item .title[data-v-b7714be6]{margin-bottom:12px;font-size:13px;line-height:13px;color:#666}.head .list .item .value1[data-v-b7714be6]{color:#f56022;font-weight:700}[data-v-b7714be6] .el-drawer__body{padding:20px 0}[data-v-b7714be6] .el-tabs--border-card>.el-tabs__content{padding:0 35px}[data-v-b7714be6] .el-tabs--border-card>.el-tabs__header,[data-v-b7714be6] .el-tabs--border-card>.el-tabs__header .el-tabs__item:active{border:none;height:40px}[data-v-b7714be6] .el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{border:none;border-top:2px solid var(--prev-color-primary);font-size:13px;font-weight:500;color:#303133;line-height:16px}[data-v-b7714be6] .el-tabs--border-card>.el-tabs__header .el-tabs__item{border:none}[data-v-b7714be6] .el-tabs--border-card>.el-tabs__header .el-tabs__item{margin-top:0;-webkit-transition:none;transition:none;height:40px!important;line-height:40px!important;width:92px!important;font-size:13px;font-weight:400;color:#303133;line-height:16px}[data-v-b7714be6] .el-tabs--border-card{border:none;-webkit-box-shadow:none;box-shadow:none}.section[data-v-b7714be6]{padding:20px 0;border-bottom:1px dashed #eee}.section[data-v-b7714be6]:last-child{border-bottom:none}.section-title[data-v-b7714be6]{padding-left:10px;border-left:3px solid var(--prev-color-primary, #1890ff);font-size:15px;font-weight:500;color:#303133;margin-bottom:16px}.detail-grid[data-v-b7714be6]{padding:0}.detail-item[data-v-b7714be6]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:8px 0;font-size:13px;color:#666}.detail-item .label[data-v-b7714be6]{-ms-flex-negative:0;flex-shrink:0;color:#909399;margin-right:4px}.detail-item .value[data-v-b7714be6]{-webkit-box-flex:1;-ms-flex:1;flex:1;word-break:break-all;min-width:0}.detail-item .value .track-link[data-v-b7714be6]{display:inline-block;margin-left:8px;color:#2d8cf0;cursor:pointer;white-space:nowrap;word-break:keep-all}.price-label[data-v-b7714be6]{color:#ed4014!important}.price-value[data-v-b7714be6]{color:#ed4014;font-weight:700}.goods-table[data-v-b7714be6]{border:1px solid #ebeef5;border-radius:4px}.goods-cell[data-v-b7714be6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.goods-img[data-v-b7714be6]{width:50px;height:50px;border-radius:4px;margin-right:12px;-ms-flex-negative:0;flex-shrink:0}.goods-meta[data-v-b7714be6]{min-width:0}.goods-name[data-v-b7714be6]{margin:0;font-size:13px;color:#303133;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.goods-sku[data-v-b7714be6]{margin:2px 0 0;font-size:12px;color:#909399}.form-img[data-v-b7714be6]{width:80px;height:80px;-o-object-fit:cover;object-fit:cover;margin-right:8px;cursor:pointer}.tl-section[data-v-b7714be6]{padding:16px 0}[data-v-b7714be6] .el-timeline-item__content .tl-title{font-size:13px;font-weight:500;color:#303133}[data-v-b7714be6] .el-timeline-item__content .tl-desc{margin-left:8px;font-size:12px;color:#909399}.source-tag[data-v-b7714be6]{margin-right:6px;vertical-align:middle}.empty-tip[data-v-b7714be6]{padding:40px}.empty-tips[data-v-b7714be6]{padding:20px 0;color:#909399;font-size:13px}.logistics-panel[data-v-b7714be6]{margin-top:16px;padding:16px;background:#fafafa;border-radius:8px}.logistics-panel .logistics-header[data-v-b7714be6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-bottom:12px;border-bottom:1px solid #ebeef5;margin-bottom:16px}.logistics-panel .logistics-header .logistics-icon[data-v-b7714be6]{width:40px;height:40px;border-radius:6px;margin-right:12px;-ms-flex-negative:0;flex-shrink:0}.logistics-panel .logistics-header .logistics-info[data-v-b7714be6]{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:0}.logistics-panel .logistics-header .logistics-company[data-v-b7714be6]{font-size:14px;font-weight:600;color:#303133;margin-bottom:4px}.logistics-panel .logistics-header .logistics-num[data-v-b7714be6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:12px}.logistics-panel .logistics-header .logistics-num .label[data-v-b7714be6]{color:#909399;margin-right:6px;-ms-flex-negative:0;flex-shrink:0}.logistics-panel .logistics-header .logistics-num .value[data-v-b7714be6]{color:#606266;word-break:break-all}.logistics-panel .logistics-header .logistics-num .copy-btn[data-v-b7714be6]{color:#909399;cursor:pointer;margin-left:6px;font-size:13px;-ms-flex-negative:0;flex-shrink:0}.logistics-panel .logistics-header .logistics-num .copy-btn[data-v-b7714be6]:hover{color:#2d8cf0}.logistics-panel .logistics-timeline[data-v-b7714be6]{max-height:300px;overflow-y:auto;padding-left:8px}.logistics-panel .logistics-timeline[data-v-b7714be6] .el-timeline-item{padding-bottom:16px}.logistics-panel .logistics-timeline[data-v-b7714be6] .el-timeline-item:last-child{padding-bottom:0}.logistics-panel .logistics-timeline[data-v-b7714be6] .el-timeline-item__node{width:12px;height:12px}.logistics-panel .logistics-timeline[data-v-b7714be6] .el-timeline-item__wrapper{padding-left:20px}.logistics-panel .track-item .track-status[data-v-b7714be6]{font-size:13px;color:#606266;line-height:1.5;margin-bottom:2px}.logistics-panel .track-item .track-status.latest[data-v-b7714be6]{color:#2d8cf0;font-weight:500}.logistics-panel .track-item .track-time[data-v-b7714be6]{font-size:11px;color:#c0c4cc}.logistics-panel .empty-logistics[data-v-b7714be6]{text-align:center;color:#909399;padding:30px 0;font-size:13px}.normal-order-list .mt16[data-v-d81e3aea]{margin-top:16px}.normal-order-list .mb10[data-v-d81e3aea]{margin-bottom:10px}.normal-order-list .mt10[data-v-d81e3aea]{margin-top:10px}.normal-order-list .batch-result[data-v-d81e3aea]{padding:10px;background:#f5f7fa;border-radius:4px;font-size:14px}.normal-order-list .logistics-box .logistics-header[data-v-d81e3aea]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:10px 0 20px;border-bottom:1px solid #ebeef5;margin-bottom:20px}.normal-order-list .logistics-box .logistics-header .logistics-icon[data-v-d81e3aea]{width:45px;height:45px;margin-right:12px}.normal-order-list .logistics-box .logistics-header .logistics-info p[data-v-d81e3aea]{margin:0;line-height:1.8;font-size:13px;color:#303133}.normal-order-list .logistics-box .logistics-status[data-v-d81e3aea]{font-size:13px;color:#606266}.normal-statistic[data-v-f18b86be]{padding-bottom:20px}.filter-card[data-v-f18b86be],.stat-card[data-v-f18b86be],.ranking-card[data-v-f18b86be]{margin-bottom:16px}.filter-row[data-v-f18b86be],.ranking-header[data-v-f18b86be]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:12px}.ranking-header[data-v-f18b86be]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:16px}.card-title[data-v-f18b86be]{color:var(--prev-color-text-regular);font-size:16px;font-weight:600}.metric[data-v-f18b86be]{min-height:98px;padding:16px 0}.metric-name[data-v-f18b86be]{color:var(--prev-color-text-primary);font-size:14px}.metric-value[data-v-f18b86be]{margin:8px 0;color:var(--prev-color-text-regular);font-size:24px;font-weight:600}.metric-percent[data-v-f18b86be]{font-size:12px}.up[data-v-f18b86be]{color:var(--prev-color-danger)}.down[data-v-f18b86be]{color:var(--prev-color-success)}@media screen and (max-width: 640px){.filter-row[data-v-f18b86be]{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-ms-flex-wrap:wrap;flex-wrap:wrap}.filter-row[data-v-f18b86be] .el-date-editor{width:100%!important}}.normal-app[data-v-029b64ff]{height:100%} diff --git a/backend/public/admin/system_static/App-CylSJUVC.css b/backend/public/admin/system_static/App-CylSJUVC.css new file mode 100644 index 000000000..0de4b879f --- /dev/null +++ b/backend/public/admin/system_static/App-CylSJUVC.css @@ -0,0 +1 @@ +.mt16[data-v-dd6cecc6]{margin-top:16px}.mb12[data-v-dd6cecc6]{margin-bottom:12px}.ml5[data-v-dd6cecc6]{margin-left:5px}.mr5[data-v-dd6cecc6]{margin-right:5px}.ml10[data-v-dd6cecc6]{margin-left:10px}.font12[data-v-dd6cecc6]{font-size:12px;color:#409eff;cursor:pointer}.tabBox_img[data-v-dd6cecc6]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-dd6cecc6]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.el-dropdown-link[data-v-dd6cecc6]{cursor:pointer;color:var(--prev-color-primary);font-size:12px}[data-v-0f8deee1] .el-tabs__item{height:54px!important;line-height:54px!important}.input_width[data-v-0f8deee1]{width:160px}.content_width[data-v-0f8deee1]{width:460px}.content_width[data-v-0f8deee1] .el-input__inner{padding-right:60px}.list-group[data-v-0f8deee1]{margin-left:-8px}.borderStyle[data-v-0f8deee1]{border:1px solid #ccc;padding:8px;border-radius:4px}.drag[data-v-0f8deee1]{cursor:move}.spec[data-v-0f8deee1]{display:block;margin:5px 0;position:relative}.spec .img-popover[data-v-0f8deee1]{cursor:pointer;width:76px;height:76px;padding:6px;margin-top:12px;background-color:#fff;position:relative;border:1px solid #dcdfe6;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover:hover .img-del[data-v-0f8deee1]{display:block}.spec .img-popover .img-del[data-v-0f8deee1]{display:none;position:absolute;right:3px;top:3px;font-size:16px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.spec .img-popover .popper[data-v-0f8deee1]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover .img[data-v-0f8deee1]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:4px}.spec .img-popover .popper-arrow[data-v-0f8deee1],.spec .img-popover .popper-arrow[data-v-0f8deee1]:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.spec .img-popover .popper-arrow[data-v-0f8deee1]{top:-13px;border-top-width:0;border-bottom-color:#dcdfe6;border-width:6px;-webkit-filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))}.spec .img-popover .popper-arrow[data-v-0f8deee1]:after{top:-5px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff;content:" ";border-width:6px}.spec .el-icon-error[data-v-0f8deee1]{position:absolute;display:none;right:-3px;top:-3px;z-index:9;color:var(--prev-color-primary)}.spec:hover .el-icon-error[data-v-0f8deee1]{display:block;z-index:999;cursor:pointer}.move-icon[data-v-0f8deee1]{width:30px;cursor:move;margin-right:10px}.move-icon .icondrag2[data-v-0f8deee1]{font-size:26px;color:#bbb}.maxW[data-v-0f8deee1] .ivu-select-dropdown{max-width:600px}#shopp-manager .ivu-table-wrapper[data-v-0f8deee1]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.noLeft[data-v-0f8deee1] .ivu-form-item-content{margin-left:0!important}#shopp-manager .ivu-form-item[data-v-0f8deee1]{position:relative}#shopp-manager .ivu-form-item .tips[data-v-0f8deee1]{position:absolute;color:#999;top:29px;left:-77px;font-size:12px}.box-video-style[data-v-0f8deee1]{width:375px;height:211px;border-radius:10px;background-color:#707070;margin-top:10px;position:relative;overflow:hidden}.box-video-style .iconv[data-v-0f8deee1]{color:#fff;line-height:180px;width:50px;height:50px;display:inherit;font-size:26px;position:absolute;top:-74px;left:50%;margin-left:-25px;cursor:pointer}.box-video-style .mark[data-v-0f8deee1]{position:absolute;width:100%;height:30px;top:0;background-color:#00000080;text-align:center}.submission[data-v-0f8deee1]{margin-left:10px}.color-list .tip[data-v-0f8deee1]{color:#c9c9c9;font-size:12px}.color-list .color-item[data-v-0f8deee1]{height:30px;line-height:30px;padding:0 10px;color:#fff;margin-right:10px;font-size:12px}.color-list .color-item.blue[data-v-0f8deee1]{background-color:#1e9fff}.color-list .color-item.yellow[data-v-0f8deee1]{background-color:#feb900}.color-list .color-item.green[data-v-0f8deee1]{background-color:#009688}.color-list .color-item.red[data-v-0f8deee1]{background-color:#ed4014}.columnsBox[data-v-0f8deee1]{margin-right:10px;width:200px}.priceBox[data-v-0f8deee1]{width:100%}.rulesBox[data-v-0f8deee1]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.rulesBox .item[data-v-0f8deee1]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.rulesBox .addfont[data-v-0f8deee1]{margin-top:5px;margin-left:0}.rulesBox[data-v-0f8deee1] .el-popover{border:none;-webkit-box-shadow:none;box-shadow:none;padding:0;margin-top:5px;line-height:1.5}.pictrueBox[data-v-0f8deee1]{display:inline-block}.pictrueTab[data-v-0f8deee1]{width:40px!important;height:40px!important}.pictrue[data-v-0f8deee1]{width:60px;height:60px;border:1px dashed rgba(0,0,0,.1);margin-right:15px;display:inline-block;position:relative;cursor:pointer}.pictrue img[data-v-0f8deee1]{width:100%;height:100%}.pictrue .btndel[data-v-0f8deee1]{position:absolute;z-index:1;width:20px!important;height:20px!important;left:46px;top:-4px}.upLoad[data-v-0f8deee1]{width:58px;height:58px;line-height:58px;border:1px dashed rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer}.curs[data-v-0f8deee1]{cursor:pointer}.inpWith[data-v-0f8deee1]{width:60%}.labeltop[data-v-0f8deee1] .ivu-form-item-label{float:none!important;display:inline-block!important;margin-left:120px!important;width:auto!important}.video-icon[data-v-0f8deee1]{background-image:url(https://cdn.oss.9gt.net/prov1.1/1/icons.png);background-color:#fff;background-position:-9999px;background-repeat:no-repeat}.see[data-v-0f8deee1]{color:#2d8cf0;cursor:pointer}.trip[data-v-0f8deee1]{color:#bbb;margin-bottom:10px;font-size:12px}.virtual-data[data-v-0f8deee1]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.add-more[data-v-0f8deee1]{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex}.virtual-title[data-v-0f8deee1]{width:60px}.scroll-virtual[data-v-0f8deee1]{max-height:400px;overflow-y:auto;margin-top:10px}.footer[data-v-0f8deee1]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:30px}.footer .clear[data-v-0f8deee1],.footer .submit[data-v-0f8deee1]{padding:10px 20px;border-radius:5px;color:#fff;cursor:pointer}.footer .clear[data-v-0f8deee1]{background-color:#ccc;margin-right:20px}.footer .submit[data-v-0f8deee1]{background-color:#2d8cf0}.picBox[data-v-0f8deee1]{display:-webkit-box;display:-ms-flexbox;display:flex}.btndel[data-v-0f8deee1]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.ifam[data-v-0f8deee1]{width:344px;height:644px;background:url(/admin/system_static/phonebg-BTZgNDFd.png) no-repeat center top;background-size:344px 644px;padding:50px 20px 40px;margin:0 auto}.ifam .content[data-v-0f8deee1]{height:560px;overflow:hidden;scrollbar-width:none;-ms-overflow-style:none;overflow-x:hidden;overflow-y:auto}.ifam .content video[data-v-0f8deee1]{text-align:center}.ifam .content[data-v-0f8deee1] video{display:block;max-width:100%;height:auto;margin:0 auto}.ifam .content[data-v-0f8deee1]::-webkit-scrollbar{display:none}[data-v-0f8deee1] .ivu-date-picker{width:300px}.virtual_boder[data-v-0f8deee1]{border:1px solid var(--prev-color-primary)}.virtual_boder2[data-v-0f8deee1]{border:1px solid #e7e7e7}.virtual_san[data-v-0f8deee1]{position:absolute;bottom:0;right:0;width:0;height:0;border-bottom:26px solid var(--prev-color-primary);border-left:26px solid transparent}.virtual_dui[data-v-0f8deee1]{position:absolute;bottom:-2px;right:2px;color:#fff;font-family:system-ui}.virtual[data-v-0f8deee1]{width:120px;height:60px;background:#fff;border-radius:3px;float:left;text-align:center;padding-top:8px;position:relative;cursor:pointer;line-height:23px}.virtual .virtual_top[data-v-0f8deee1]{font-size:14px;font-weight:600;color:#000000d9}.virtual .virtual_bottom[data-v-0f8deee1]{font-size:12px;font-weight:400;color:#999}.virtual[data-v-0f8deee1]:nth-child(2n){margin:0 12px}.addfont[data-v-0f8deee1]{display:inline-block;font-size:12px;font-weight:400;color:var(--prev-color-primary);margin-left:14px;cursor:pointer}.videbox[data-v-0f8deee1]{width:60px;height:60px;background:#00000005;border-radius:4px;border:1px dashed #dddddd;line-height:60px;text-align:center;font-size:26px;font-weight:400;cursor:pointer}.addCustom_content[data-v-0f8deee1]{margin-top:20px}.addCustom_content .custom_box[data-v-0f8deee1]{margin-bottom:10px}.addCustomBox[data-v-0f8deee1]{margin-top:12px;font-size:13px;font-weight:400;color:var(--prev-color-primary)}.addCustomBox .btn[data-v-0f8deee1]{cursor:pointer;width:-webkit-max-content;width:-moz-max-content;width:max-content}.type-radio[data-v-0f8deee1]{margin-bottom:10px}.deteal-btn[data-v-0f8deee1]{color:#5179ea}.stock-disk[data-v-0f8deee1]{margin:10px 0}.line[data-v-0f8deee1]{border-bottom:1px dashed #eee;margin-bottom:20px}.labelInput[data-v-0f8deee1]{border:1px solid #dcdee2;width:414px;padding:0 15px;border-radius:5px;min-height:30px;cursor:pointer;font-size:12px}.labelInput .span[data-v-0f8deee1]{color:#c5c8ce}.labelInput .iconxiayi[data-v-0f8deee1]{font-size:12px}#shopp-manager[data-v-0f8deee1] .ivu-form-item-content{line-height:33px!important}#selectvideo[data-v-0f8deee1] .ivu-form-item-content{line-height:0px!important}.progress[data-v-0f8deee1]{margin-top:10px}.labelInput[data-v-0f8deee1] .el-tag{color:#606266;background-color:#f0f2f5;border-color:#f0f2f5;margin-right:6px}.labelInput[data-v-0f8deee1] .el-tag .el-tag__close{color:#909399}.labelInput[data-v-0f8deee1] .el-tag .el-tag__close:hover{color:#fff;background-color:#909399}.brokerage[data-v-0f8deee1]{font-size:12px}.img-preview[data-v-0f8deee1]{width:253px}.specifications .specifications-item[data-v-0f8deee1]:hover{background-color:var(--prev-color-primary-light-9)}.specifications .specifications-item:hover .del[data-v-0f8deee1]{display:block}.specifications .specifications-item[data-v-0f8deee1]:last-child{margin-bottom:14px}.specifications .specifications-item[data-v-0f8deee1]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:20px 15px;-webkit-transition:all .1s;transition:all .1s;background-color:#fafafa;margin-bottom:10px;border-radius:4px}.specifications .specifications-item .del[data-v-0f8deee1]{display:none;position:absolute;right:15px;top:15px;font-size:22px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.specifications .specifications-item .specifications-item-box[data-v-0f8deee1]{position:relative}.specifications .specifications-item .specifications-item-box .lineBox[data-v-0f8deee1]{position:absolute;left:13px;top:24px;width:30px;height:45px;border-radius:6px;border-left:1px solid #dcdfe6;border-bottom:1px solid #dcdfe6}.specifications .specifications-item .specifications-item-box .specifications-item-name .el-icon-info[data-v-0f8deee1]{color:var(--prev-color-primary);font-size:12px;margin-left:5px}.specifications .specifications-item .specifications-item-box .specifications-item-name-input[data-v-0f8deee1]{width:200px}.fictitious-netdisk[data-v-0f8deee1]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:6px;width:100%}.fictitious-netdisk .netdisk-url[data-v-0f8deee1]{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:0}.fictitious-netdisk .netdisk-pwd[data-v-0f8deee1]{width:120px;-webkit-box-flex:0;-ms-flex:none;flex:none}.autosend-tips[data-v-0f8deee1]{font-size:12px;color:#999}[data-v-1b501242] .el-tabs__item{height:54px!important;line-height:54px!important}.input_width[data-v-1b501242]{width:160px}.content_width[data-v-1b501242]{width:460px}.content_width[data-v-1b501242] .el-input__inner{padding-right:60px}.list-group[data-v-1b501242]{margin-left:-8px}.borderStyle[data-v-1b501242]{border:1px solid #ccc;padding:8px;border-radius:4px}.drag[data-v-1b501242]{cursor:move}.spec[data-v-1b501242]{display:block;margin:5px 0;position:relative}.spec .img-popover[data-v-1b501242]{cursor:pointer;width:76px;height:76px;padding:6px;margin-top:12px;background-color:#fff;position:relative;border:1px solid #dcdfe6;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover:hover .img-del[data-v-1b501242]{display:block}.spec .img-popover .img-del[data-v-1b501242]{display:none;position:absolute;right:3px;top:3px;font-size:16px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.spec .img-popover .popper[data-v-1b501242]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover .img[data-v-1b501242]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:4px}.spec .img-popover .popper-arrow[data-v-1b501242],.spec .img-popover .popper-arrow[data-v-1b501242]:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.spec .img-popover .popper-arrow[data-v-1b501242]{top:-13px;border-top-width:0;border-bottom-color:#dcdfe6;border-width:6px;-webkit-filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))}.spec .img-popover .popper-arrow[data-v-1b501242]:after{top:-5px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff;content:" ";border-width:6px}.spec .el-icon-error[data-v-1b501242]{position:absolute;display:none;right:-3px;top:-3px;z-index:9;color:var(--prev-color-primary)}.spec:hover .el-icon-error[data-v-1b501242]{display:block;z-index:999;cursor:pointer}.move-icon[data-v-1b501242]{width:30px;cursor:move;margin-right:10px}.move-icon .icondrag2[data-v-1b501242]{font-size:26px;color:#bbb}.maxW[data-v-1b501242] .ivu-select-dropdown{max-width:600px}#shopp-manager .ivu-table-wrapper[data-v-1b501242]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.noLeft[data-v-1b501242] .ivu-form-item-content{margin-left:0!important}#shopp-manager .ivu-form-item[data-v-1b501242]{position:relative}#shopp-manager .ivu-form-item .tips[data-v-1b501242]{position:absolute;color:#999;top:29px;left:-77px;font-size:12px}.box-video-style[data-v-1b501242]{width:375px;height:211px;border-radius:10px;background-color:#707070;margin-top:10px;position:relative;overflow:hidden}.box-video-style .iconv[data-v-1b501242]{color:#fff;line-height:180px;width:50px;height:50px;display:inherit;font-size:26px;position:absolute;top:-74px;left:50%;margin-left:-25px;cursor:pointer}.box-video-style .mark[data-v-1b501242]{position:absolute;width:100%;height:30px;top:0;background-color:#00000080;text-align:center}.submission[data-v-1b501242]{margin-left:10px}.color-list .tip[data-v-1b501242]{color:#c9c9c9;font-size:12px}.color-list .color-item[data-v-1b501242]{height:30px;line-height:30px;padding:0 10px;color:#fff;margin-right:10px;font-size:12px}.color-list .color-item.blue[data-v-1b501242]{background-color:#1e9fff}.color-list .color-item.yellow[data-v-1b501242]{background-color:#feb900}.color-list .color-item.green[data-v-1b501242]{background-color:#009688}.color-list .color-item.red[data-v-1b501242]{background-color:#ed4014}.columnsBox[data-v-1b501242]{margin-right:10px;width:200px}.priceBox[data-v-1b501242]{width:100%}.rulesBox[data-v-1b501242]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.rulesBox .item[data-v-1b501242]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.rulesBox .addfont[data-v-1b501242]{margin-top:5px;margin-left:0}.rulesBox[data-v-1b501242] .el-popover{border:none;-webkit-box-shadow:none;box-shadow:none;padding:0;margin-top:5px;line-height:1.5}.pictrueBox[data-v-1b501242]{display:inline-block}.pictrueTab[data-v-1b501242]{width:40px!important;height:40px!important}.pictrue[data-v-1b501242]{width:60px;height:60px;border:1px dashed rgba(0,0,0,.1);margin-right:15px;display:inline-block;position:relative;cursor:pointer}.pictrue img[data-v-1b501242]{width:100%;height:100%}.pictrue .btndel[data-v-1b501242]{position:absolute;z-index:1;width:20px!important;height:20px!important;left:46px;top:-4px}.upLoad[data-v-1b501242]{width:58px;height:58px;line-height:58px;border:1px dashed rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer}.curs[data-v-1b501242]{cursor:pointer}.inpWith[data-v-1b501242]{width:60%}.labeltop[data-v-1b501242] .ivu-form-item-label{float:none!important;display:inline-block!important;margin-left:120px!important;width:auto!important}.video-icon[data-v-1b501242]{background-image:url(https://cdn.oss.9gt.net/prov1.1/1/icons.png);background-color:#fff;background-position:-9999px;background-repeat:no-repeat}.see[data-v-1b501242]{color:#2d8cf0;cursor:pointer}.trip[data-v-1b501242]{color:#bbb;margin-bottom:10px;font-size:12px}.virtual-data[data-v-1b501242]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.add-more[data-v-1b501242]{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex}.virtual-title[data-v-1b501242]{width:60px}.scroll-virtual[data-v-1b501242]{max-height:400px;overflow-y:auto;margin-top:10px}.footer[data-v-1b501242]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:30px}.footer .clear[data-v-1b501242],.footer .submit[data-v-1b501242]{padding:10px 20px;border-radius:5px;color:#fff;cursor:pointer}.footer .clear[data-v-1b501242]{background-color:#ccc;margin-right:20px}.footer .submit[data-v-1b501242]{background-color:#2d8cf0}.picBox[data-v-1b501242]{display:-webkit-box;display:-ms-flexbox;display:flex}.btndel[data-v-1b501242]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.ifam[data-v-1b501242]{width:344px;height:644px;background:url(/admin/system_static/phonebg-BTZgNDFd.png) no-repeat center top;background-size:344px 644px;padding:50px 20px 40px;margin:0 auto}.ifam .content[data-v-1b501242]{height:560px;overflow:hidden;scrollbar-width:none;-ms-overflow-style:none;overflow-x:hidden;overflow-y:auto}.ifam .content video[data-v-1b501242]{text-align:center}.ifam .content[data-v-1b501242] video{display:block;max-width:100%;height:auto;margin:0 auto}.ifam .content[data-v-1b501242]::-webkit-scrollbar{display:none}[data-v-1b501242] .ivu-date-picker{width:300px}.virtual_boder[data-v-1b501242]{border:1px solid var(--prev-color-primary)}.virtual_boder2[data-v-1b501242]{border:1px solid #e7e7e7}.virtual_san[data-v-1b501242]{position:absolute;bottom:0;right:0;width:0;height:0;border-bottom:26px solid var(--prev-color-primary);border-left:26px solid transparent}.virtual_dui[data-v-1b501242]{position:absolute;bottom:-2px;right:2px;color:#fff;font-family:system-ui}.virtual[data-v-1b501242]{width:120px;height:60px;background:#fff;border-radius:3px;float:left;text-align:center;padding-top:8px;position:relative;cursor:pointer;line-height:23px}.virtual .virtual_top[data-v-1b501242]{font-size:14px;font-weight:600;color:#000000d9}.virtual .virtual_bottom[data-v-1b501242]{font-size:12px;font-weight:400;color:#999}.virtual[data-v-1b501242]:nth-child(2n){margin:0 12px}.addfont[data-v-1b501242]{display:inline-block;font-size:12px;font-weight:400;color:var(--prev-color-primary);margin-left:14px;cursor:pointer}.videbox[data-v-1b501242]{width:60px;height:60px;background:#00000005;border-radius:4px;border:1px dashed #dddddd;line-height:60px;text-align:center;font-size:26px;font-weight:400;cursor:pointer}.addCustom_content[data-v-1b501242]{margin-top:20px}.addCustom_content .custom_box[data-v-1b501242]{margin-bottom:10px}.addCustomBox[data-v-1b501242]{margin-top:12px;font-size:13px;font-weight:400;color:var(--prev-color-primary)}.addCustomBox .btn[data-v-1b501242]{cursor:pointer;width:-webkit-max-content;width:-moz-max-content;width:max-content}.type-radio[data-v-1b501242]{margin-bottom:10px}.deteal-btn[data-v-1b501242]{color:#5179ea}.stock-disk[data-v-1b501242]{margin:10px 0}.line[data-v-1b501242]{border-bottom:1px dashed #eee;margin-bottom:20px}.labelInput[data-v-1b501242]{border:1px solid #dcdee2;width:414px;padding:0 15px;border-radius:5px;min-height:30px;cursor:pointer;font-size:12px}.labelInput .span[data-v-1b501242]{color:#c5c8ce}.labelInput .iconxiayi[data-v-1b501242]{font-size:12px}#shopp-manager[data-v-1b501242] .ivu-form-item-content{line-height:33px!important}#selectvideo[data-v-1b501242] .ivu-form-item-content{line-height:0px!important}.progress[data-v-1b501242]{margin-top:10px}.labelInput[data-v-1b501242] .el-tag{color:#606266;background-color:#f0f2f5;border-color:#f0f2f5;margin-right:6px}.labelInput[data-v-1b501242] .el-tag .el-tag__close{color:#909399}.labelInput[data-v-1b501242] .el-tag .el-tag__close:hover{color:#fff;background-color:#909399}.brokerage[data-v-1b501242]{font-size:12px}.img-preview[data-v-1b501242]{width:253px}.specifications .specifications-item[data-v-1b501242]:hover{background-color:var(--prev-color-primary-light-9)}.specifications .specifications-item:hover .del[data-v-1b501242]{display:block}.specifications .specifications-item[data-v-1b501242]:last-child{margin-bottom:14px}.specifications .specifications-item[data-v-1b501242]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:20px 15px;-webkit-transition:all .1s;transition:all .1s;background-color:#fafafa;margin-bottom:10px;border-radius:4px}.specifications .specifications-item .del[data-v-1b501242]{display:none;position:absolute;right:15px;top:15px;font-size:22px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.specifications .specifications-item .specifications-item-box[data-v-1b501242]{position:relative}.specifications .specifications-item .specifications-item-box .lineBox[data-v-1b501242]{position:absolute;left:13px;top:24px;width:30px;height:45px;border-radius:6px;border-left:1px solid #dcdfe6;border-bottom:1px solid #dcdfe6}.specifications .specifications-item .specifications-item-box .specifications-item-name .el-icon-info[data-v-1b501242]{color:var(--prev-color-primary);font-size:12px;margin-left:5px}.specifications .specifications-item .specifications-item-box .specifications-item-name-input[data-v-1b501242]{width:200px}.mt16[data-v-aac7f17e]{margin-top:16px}.head[data-v-aac7f17e]{padding:0}.head .full[data-v-aac7f17e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:16px}.head .order-icon[data-v-aac7f17e]{width:50px;height:50px;margin-right:12px}.head .text[data-v-aac7f17e]{-webkit-box-flex:1;-ms-flex:1;flex:1}.head .text .title[data-v-aac7f17e]{font-size:16px;font-weight:500;color:#303133;margin-bottom:6px}.head .text div[data-v-aac7f17e]{font-size:13px;color:#606266}.head-list[data-v-aac7f17e]{display:-webkit-box;display:-ms-flexbox;display:flex;list-style:none;padding:0;margin:0;-ms-flex-wrap:wrap;flex-wrap:wrap}.head-list .item[data-v-aac7f17e]{-webkit-box-flex:0;-ms-flex:0 0 160px;flex:0 0 160px;margin-top:12px;font-size:14px;color:#000000d9}.head-list .item .label[data-v-aac7f17e]{font-size:13px;color:#909399;margin-bottom:8px}.head-list .item .price[data-v-aac7f17e]{color:#ed4014;font-weight:700}.section[data-v-aac7f17e]{padding:20px 0;border-bottom:1px dashed #eee}.section[data-v-aac7f17e]:last-child{border-bottom:none}.section-title[data-v-aac7f17e]{padding-left:10px;border-left:3px solid var(--prev-color-primary, #1890ff);font-size:15px;font-weight:500;color:#303133;margin-bottom:16px}.detail-grid[data-v-aac7f17e]{padding:0}.detail-item[data-v-aac7f17e]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:8px 0;font-size:13px;color:#666}.detail-item .label[data-v-aac7f17e]{-ms-flex-negative:0;flex-shrink:0;color:#909399;margin-right:4px}.detail-item .value[data-v-aac7f17e]{-webkit-box-flex:1;-ms-flex:1;flex:1;word-break:break-all}.price-label[data-v-aac7f17e]{color:#ed4014!important}.price-value[data-v-aac7f17e]{color:#ed4014;font-weight:700}.goods-table[data-v-aac7f17e]{border:1px solid #ebeef5;border-radius:4px}.goods-cell[data-v-aac7f17e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.goods-img[data-v-aac7f17e]{width:50px;height:50px;border-radius:4px;margin-right:12px;-ms-flex-negative:0;flex-shrink:0}.goods-meta[data-v-aac7f17e]{min-width:0}.goods-name[data-v-aac7f17e]{margin:0;font-size:13px;color:#303133;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.goods-sku[data-v-aac7f17e]{margin:2px 0 0;font-size:12px;color:#909399}.form-img[data-v-aac7f17e]{width:80px;height:80px;-o-object-fit:cover;object-fit:cover;margin-right:8px;cursor:pointer}.tl-section[data-v-aac7f17e]{padding:16px 0}[data-v-aac7f17e] .el-timeline-item__content .tl-title{font-size:13px;font-weight:500;color:#303133}[data-v-aac7f17e] .el-timeline-item__content .tl-desc{margin-left:8px;font-size:12px;color:#909399}.empty-tip[data-v-aac7f17e]{padding:60px 0}[data-v-aac7f17e] .el-tabs--border-card>.el-tabs__content{padding:0 24px}[data-v-aac7f17e] .el-tabs--border-card{border:none;-webkit-box-shadow:none;box-shadow:none}[data-v-aac7f17e] .el-tabs__item{height:40px!important;line-height:40px!important}.mt16[data-v-beb5f66a]{margin-top:16px}.virtual-app[data-v-c95adc1b]{height:100%} diff --git a/backend/public/admin/system_static/App-DL5-CEn5.js b/backend/public/admin/system_static/App-DL5-CEn5.js new file mode 100644 index 000000000..85479d650 --- /dev/null +++ b/backend/public/admin/system_static/App-DL5-CEn5.js @@ -0,0 +1,3 @@ +import{f as il,k as s,y as a,z as v,A as t,s as z,ab as al,j as e,C as l,$ as y,a0 as _,H as F,B as p,as as La,l as u,Z as T,L as Oa,u as xe,ac as ul,F as ye,D as Fe,W as Ve,n as Sl,p as Ae,aj as Gl,a as Ol,r as gl,a1 as st,g as wt,ad as _l,a9 as Pa}from"./element-plus-C_ZDq0cz.js";import{w as ke,_ as Oe,S as ll,g as At,a7 as Na,h as rt,y as Ct,G as Ft,m as nt,k as St,a8 as ja,a9 as $t,aa as Ea,ab as Ma,b as Dt,a as qa,ac as Wa,A as Ga,ad as Ka,ae as za,d as Xa,af as Ha,ag as Ya,c as Qa,o as _t,ah as Ja,ai as gt,aj as Za,ak as en}from"./index-DHL7RTL2.js";import{u as Ut}from"./index-BroL-9rZ.js";import{g as Tt}from"./index-BXdg6YJo.js";import{_ as it}from"./index-B14gRfLE.js";import{b as ln,v as tn}from"./vipPriceSet-xUhp1jU1.js";import{_ as yt}from"./file-success-DULWj9TL.js";import{importProductImport as an,exportProductExport as nn,exportProductList as on}from"./export-D13HPb6l.js";import{e as Bt}from"./newToExcel-Ce_ClQ6v.js";import{d as Ll}from"./vuedraggable.umd-fTw9SVdO.js";import{u as sn}from"./useLabel-CIIjfVL7.js";import{f as rn}from"./index-qanQGPk7.js";import dn from"./index-CYgESPmX.js";import{userLabelAddApi as un}from"./user-Blgc2iHx.js";import{p as cn}from"./plugin-BtX0g2Z9.js";import{W as mn}from"./index-Beo5Mkpq.js";import{f as pn}from"./editorImg-CgC4L1e6.js";import{_ as It}from"./expressi-pvEIYRE3.js";import{_ as fn}from"./order_icon-kRzQraQC.js";import{f as bt}from"./validate-a11VBqc7.js";import{_ as vn}from"./index-K7mJi7Sh.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./marketing-BAfn8OEa.js";import"./xlsx-DvXcP_SB.js";import"./index-C2Zmd2Xm.js";/* empty css */import"./wangeditor-D-KRDJ3T.js";import"./registerMenus-BIn2m7Us.js";import"./echarts-CylxjQLW.js";import"./echarts-C6m23LPs.js";function _n(n){return ke({url:"normal/product/list",method:"get",params:n})}function gn(){return ke({url:"normal/product/type_header",method:"get"})}function yn(n){return ke({url:`normal/product/${n}`,method:"get"})}function bn(n){return ke({url:"normal/product",method:"POST",data:n})}function hn(n,re){return ke({url:`normal/product/${n}`,method:"PUT",data:re})}function Vn(n,re){return ke({url:`normal/product/status/${n}/${re}`,method:"PUT"})}function ht(n){return ke({url:"normal/product/batch_status",method:"PUT",data:n})}function kn(n){return ke({url:"normal/product/batch_setting",method:"POST",data:n})}const xn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAMAAACf4xmcAAAAAXNSR0IArs4c6QAAAfVQTFRFAAAAAP8AAEBAAIBAQIBAQL+AM7+AE1U5GVw1IqFlGFo5IKRnMsKBFlw3F104Gl04I6JmI6VoLrl5M8WCD3tBD3xAGlw4IqNnEUAkGls3IqRmDTMeIqJlM8WCGVw3EH1CEHxBEHtBEHxCGF03GFw3IaNmM8SBCUYkCUYlCkgmCk0oCk4pC1EsDC8bDC8cDDAcDTcgDTggDTkgDzoiDzsjD18zEFc1EHpAEHtBEHxBEH1CET8mEUAmEXlAEXtBEXxBEXxCEX1CEX5DEn1CEn1DEoBFE0krE3A9E3I+E3Q/E35DE35EFEwtFn9FFoBGFotPF4BGF4BHGFw3GF44GHdLGYFIGYFJGoZTG5VZHINLHJdbHoNMHppeH4RNIIRNIYVOIaFlIaJmIaNmI6ZpK4pXLbl5MY5cMo5cMo9cM49dM8SBNZBfN5FgOpNjQJZoQpdpRZlrRplrRppsSpxvTJ1xU6F2WKN6WKR6WaN7WaR7WaR8WqR8ba6Lbq+MdrSSd7STeraVf7mZgLqajcGkjsGmosy1q9C8rNG9r9O/s9XDv9zMw97QyuLVy+LVy+LWz+TZ0ubb1uje1+nf2+vj3ezj6/Tv7PXw8vj18/j29Pn29vr49/r4+Pv5+Pv6+fz6+vz7+/38/P39/f79/f7+/v7+/v/+////D1xnigAAACd0Uk5TAAEEBAQEFBtITFVXZWZubm5ubm52d3d3eHh4eXnC0PH7/f39/v7+50P66QAAAXVJREFUOMut1FVTw0AQwHHc3b24U1wWD+5S3N3dJbi7FdcCZT8nDyW5EMgBM/zfdub3sjd3p6X1x/SNrayF2djymRkQZurX/qmufpI7YY7t0syfMBcK6/9npq2rp8mtjfSV2cs8NXknkkrbxEwG31XTKmLfKoir/BULCs1u7BCkYQ0z7GQmADTPscMAABAYAvXCtTWs+BBvBwGY9TfVLIXB2BPuMNB3h7sMjWVt4v1I5hZe9wCNQdMF7o4/4irQWfrii1qJZ3U/MCg/QlRNc1NAcGptqyCeVR0jqlhuioqpyM8QxDFmTX15iuctH2NktCJPeNwcG7p5W5l6xo00KivZR2V1wR4+DFPZklq9ADD6ggeFFNZ9hSdlAAXb+LpMYb3z7AAAQOc8O8HQVhAVGa3ITREkzT4lcckjxMyOezJeCXzxsfIYEeMfoGs4nzwsLEfE+JySSMlFCinmrKD0Z+ZAUb6EmfhIMw/CdIwsLCUyN/zlx/wOndlwSQJ38nMAAAAASUVORK5CYII=",Vt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAAByCAMAAAD6QAbYAAAAAXNSR0IArs4c6QAAAohQTFRFAAAAAGb/AFX/AEn/AGD/AFX/AE3/AGb/AEboAF3oAF3/AFXqAFX/AE7rAE7/AGL/AFvtAFv/AFXuAFX/AFDvAFD/AGD/AFrwAFr/AFX/AFH/AF7/AFn/AFX/AFH/AF3/AFn/AFX0AFX/AFL1AFL/AFz/AFj1AFj/AFX2AFX/AFL2AFL/AFv/AFj2AFj/AFX/AFL/AFr/AFj/AFX/AFL/AFr/AFf4AFf/B1f/AFX4AFX/AFP4AFr/B1r/AFf4AFf/B1f/AFX4AFX/B1X/AFP5AFP/AFn/Bln/AFf5AFf/Blf/AFX5AFX/BlX/AFP/Bln/AFf/Blf/AFX/BlX/AFP/AFn/Bln/AFf/BVf/AFX/AFP/AFj/BVP6BVj/AFf/BVf6BVf/AFX/BVX6AFj/BVP6BVj6BVj/AFf/BVf6AFX/BVX6BVX/AFj/BVj/AFf/BVf/AFX/BFX/AFj/BFj/AFb/BFb/AFn/BFX/BFj/AFb7BFb7BFb/BFX7BFX/BFT7AFX7BFX/BFb/BFX/A1X8AFf/A1T8A1f/A1b/A1j/A1f/A1X/A1b8A1b/A1X/A1X/A1f/A1b/A1X/A1j/A1f/A1j/Alb/Alf/Alb/Alb/Alf/Alb/Alj/Alb9Alb/Alb/Alb/Alf/Alb/lbn/////Alf/Alb/Alb/Alf/Alb9Alb/Alf/Alb9Alb9AlX/Alf/4+z/4er/4ez/4Or/3ef/3en/Alb/2+f/AlX/2ub/Alb9Alb/2OT/1+T/Alf/1eP/Alb/1OH/1OP/0+H/Alf/Alf/Alb/Alf/Alf/Alb/Alb/Alb/Alf/AVb+AVb/AVf/AVb/AVb/AVX/AVf/AVb/AVb/AVX/utL/lrn/R+QL5AAAANd0Uk5TAAUGBwgJCgoLCwsMDA0NDQ4ODw8QEBARERITExQVFhYXGBgZGRkaGhsbHBwcHR0eHx8gISIiIyMjJCQlJSUmJiYnJycoKCgoKSkpKioqKyssLC0tLi4uLy8wMTExMTIyMjMzNDQ0NDU1NjY2Nzc4ODk5Ojo7Ozw8PT4+Pj8/QEJFR0hLTExMTU5PUVNTV1pbXF1dYWNoamtucHF0dnZ6fH6AgICEhoiKi4uNjo+QkJCRkZKUlJWVlpaXl5eYmZmampqbnp+hoaKjpKmqq6uttLW2tre4ub8MxkDfAAAD6UlEQVRo3rWRiVeUVRiHfw5ZoVZUZrZZFi2ISw7LsCiklQsIjDBQCU1W0mKZGVkGqS22mpZZ2aYtVLZpC9O+mIaClooyeP+d5l5G0e+73Pf9bnOf91w4c9/nPmfOGayx5GMYWG2JMFWftESYqh2WCFP1ifb2dpsjTNVVlghT9XFLhKn6/6LDVB9daTfCVF1piTBVH2lra7M5wlRts0SYqg+vsBthqq6wRJiqDy23G2GqLrdEmKoPLrMbYaous0SYqvc/IGcPidfyRcWxzs7OdHSpYjeJ1xLaajp6r4KOei2hraaj9ynoqNcS2mo6evc9cv4i8Vra6PFfa0lra+uS1j9JpHfyZ2Gq3qmgo15LmKp3Keio1xKmajweXxyP01HpsaKyeofidxKvJUzVRc1y6CjfWtSMFgWt862WFtzmANzqANziADQ2NTVl+iAWizXGYr+RSI9hNUoPDYqfSfhWQwPqFbTOt+rrEV0oh9b5VnQhogqGzraiUdQpfiThW3V1qFXQOt+qrcWCGjm0zrcW1KBakSDhW9XVmF8lh9b51vwqzFMkEl0J85EW5XQlBmuYM1dOV4IavjVnLm5yAGbfmPnBLAegsrLyhkwfVCi+J+FbFRWYMVMOrfOtGTNRrqB1vlVejjIFrfOtsjKUKr4j4VulpYhEIiWRCK1Lj2GVSA9Fim9J+FZREQpTfwoZeiEzKj0UKL4h4VsFBW6iYQWt861w2E10ugNw/fTMD6Y5wE10qgMwxQHIz8+fnOmDSQ5AngNwnQNwrQNwjQOQ6wBc5QBc6QBMdACucAAudwAmBCe8etOnuwb27/pgU1gv4LKg1Lw7MMTODp0SOLp+/8Ap7KjRRC8NRFVv0kvvKp8VLDrP30zxmi96SQCm/pHUstjj4eIAbNM3k703n+rhIj6vJoej95N3Xr59SAwQnXIoaeTr2Sei49k8lSQ4tDFt4kI2X/WTvDRoYhyXPLrZ35OnVIzl8jYj2v+GUnE+jxd7OM3+L5WM8zhc/asuoLtUOs5lkKt73pNbovn2TdJHDoNfjvrZV5yTU7zPd10sfZx9DjkvHDnqm4P1ctPguy+SL3AWzd4jftYNrjZ47w+uTd1iDMnzmubm48vNuhVGk2z1N7cMbbf4ls+NxiiSn3zPvjCu947CmdnZ2ebzb5+Xj95PIXfy/+e+9bM4/Qxq/unTInf6zXaMJNmufypX+s0PjOhbQaN9OI2kQ/9Srob7pnR0WnfA6HvIonlG+1Ru9NFXONGs7kDR7iyEGEz++7AfuTisIx5iRUPjP+NHXw+FMILHmwe8j+WtP3ngsdQ1NzrigmZPVxf98Olx8vo/28Tb5YHWlFkAAAAASUVORK5CYII=",wn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAAByCAMAAAD6QAbYAAAAAXNSR0IArs4c6QAAAqNQTFRFAAAA8qam/6am/6qq/6Ki9Kam/6am/6qq/6Oj9Z2d9aen/6en/6Gh/6qq/6Sk9p6e/6en/6Ki/6Wl95+f/6en/6Ki/6Wl+IOD+KCg/6io/6Oj/6Wl+KGh/6io/6Oj/6am+aKi/4mJ/4+P/6io/6Sk/6am+aKi/6Ki/6io/6Sk/6Gh/6am+qOj/6Oj/6Wl/6Gh/6en+qOj/6Oj+n19/6Wl/6Ki+qSk/6Sk9nt7+o6O/6Wl/6Ki+qSk/6Sk/6am/6Oj+6Sk/6Sk+5GR/6am+6Oj+6Wl/6Wl/6am83R0+6Oj+6Wl/6Wl/6am+6Sk+6Wl/6Wl+IWF/6am+6Sk+4iI+6Wl/6Wl9Hh4/6am/KSk/KWl/6Wl/6en/KSk/KKi/Kam/6am+Hx8/6Oj/6en/KWl/KOj/6am/6Sk/KWl/KOj/6am/6Sk/KWl+YCA/KOj/6am/6Sk/KWl/KOj/6am/6Sk/KWl/KSk/6am/6Wl/KWl925u/KSk/6Sk/6am921t/6Wl/KOj/Kam/KSk/6Sk/6Wl/KOj/KSk/6Sk/6Wl/aOj/aSk/6Sk9mpq9mlp+HNz+HV19mtr+HR09mtr9mxs929v93Bw92lp93Bw9Wdn9XBw93Bw92lp92pq92xs/6Wl////9Wxs92xs9Wxs9mZm9m5u9m1t9m9v9mlp9Wpq9Wxs/+/v/+3t/+/v/+3t/+3t/+zs/+zs/+vr/+zs/+vr9GVl/+np/+vr/+rq/+jo/+rq/+np9WVl/+np/+fn/+np9Wdn/+fn9Who9GRk9GVl9WVl9GZm/8TE9GJi9GNj9GNj9GNj9GNj9GRk9GRk9GNj9GRk9WNj9GJi9WJi9GJi9GNj9GJi82Fh9GFh9GJi82Ji9GJi9GFh9XV1+aam+bCw/evr/6Wl////SevE3wAAANp0Uk5TABQUFRYXFxgZGhoaGxscHR0eHyAgISIjIyMkJSYmJygpKSkpKissLCwtLi4vLzAxMTIyMzM0NTU2NjY3ODg5Ojs7PDw9Pj4/QEBBQUJDRERFRUZHR0dISElKSktMTU1NTk5OT1BQUVJTU1RVVlZWV1hZWVpbXFxdXl9fX19gYGFhYmJjZGVlZmdoaGxtbW1ubnBxeHl6e3x9fX6AgICAhISGiYmKio2Tl52enp+goaOkpKWmpqanqamqq6usrK2tsbW5ur6/09PU1dbW19jY4eLi5OXw8fHx8vLk6naWAAADdklEQVRo3u2ZP2gUQRTGv9lZc8kZkujpYRSMmFMwBtKJKBo5hSDRQi2sNUVCCi1tLGIjopaplCBYCBZBRFKIKVQ4AsZGEeEsLARRowRMjGiSnbHY7O7c7b+Z3TnwyL3hIHvv45c3s2/evL0lN5HMckPhPoMntOJEDaCIoCaHRlBTQMOpaaCh1FTQMGo6aAg1JTSYmhYaSDUYTzYQQTUSMhkiqIbFkg1EUDVE6qeaDBqsODGk9e4HxaoJWknVBa2gmrZ3MHbZpuJUxVIZuChC4y1etx3lykiZFJRJUtegXArKY2PVfKNs6oQIlVhTKZWdA5qhNnUNymKtWhVFNaIlnsmpbKrGPPWoiVOqHKh6rD9PHQUZhn4zeQMKnIsVTkqrAJMRTjiRSH5pFSdrp2n8IjBpldv2cMQNeRXjpq2UqPzSKnDNe5/rPvh8UL17v5ZQzdOvRZ7WJFJytm6qFKubSG3ohVjhPWlVHW7TeohUNqWYgqpRT9d1Pe1vtJLrGGo11nQdn/sMIFzzx+Re/dX2STP9/oO7shsJ+NLC55kXooP0JiTmzx/KCJe/PtyZ86A9hCcZlw5nquvzqxuOl+xLEmbPWCbg28Xr7+0/aA5ceYwMbwj6V5lixyw4OGhOnXl5IOR5muzJz4CD083Kcx85Ge7b3TYLQB3aOxr13F94OweQblXow7ZI958zAG1X/IlzrBCz7/Mlrvr7aecB964YIstw1+RoJ6ftapO/usNhUip0LdQkzoWZLalGWhACpdRlUiHUftWCcsKdGLMoKCyHCe8VTfNxRajQeVlwqJQClnAqH1OEdsFPrWaiWxHaCh8V1Uxk0kAdahUTrYqnqQkf1ceE+T80E6uVodqZ6mSWJ1KDLm6qZnqZ5YkUoX99TAs+6k9FaHmbn+mL9RNtVoKSoo8JcBgwhOpylyhWqZctTq0zhVyiFFh1knN+QLVKuZ0IZ0J+Wha8t9MfOWlVayLyj5xQCRH3jeG+WFo59UP1tfG350Ko4kOpG2hpjpEW1YZnJhu56PNFTqip2kq8HqQRzOXRL+CUqm7srx19Ed4Hk+7uVbJS195Q39QYAFBDvQg9y+4PDmX5/jU7Mcwkta1vPBfw7e+hN87xnaxkjh9pqkZOXwnuMxRs663CFuFyafr2d69CkOQFfuD0zlxbE5YXVt49eSo6/gEKLzRPNtl1gQAAAABJRU5ErkJggg==",An={class:"goods-import"},Cn={class:"goods-upload mt20"},Fn={class:"file-info"},Sn={class:"el-upload__text"},$n={key:0,class:"flex mt12"},Dn={key:1,class:"el-upload__trip"},Un={class:"file-info"},Tn=["src"],Bn={class:"el-upload__text"},In={key:0,class:"el-upload__trip"},Rn=Object.assign({name:"goodsImport"},{__name:"goodsImport",emits:["close"],setup(n,{emit:re}){const V=re,A=u(null),r=ll.apiBaseURL+"/file/upload/1",j={"Authori-zation":"Bearer "+At("token")},I=u(""),U=u(""),C=u(!1),te=u(!1),R=u({all:0,success:0,fail:0,jump:0}),X=u(yt);il(R,G=>{G.fail>0?X.value=wn:X.value=yt},{deep:!0});function S(G,D){if(Na(G)){if(G.size>=10485760)return T.error("文件大小不能超过10MB"),!1;I.value=G.name}else return!1}function f(){C.value=!1,te.value=!1,A.value.$el.querySelector('input[type="file"]').click()}function c(G,D,w){G.status===200&&(U.value=G.data.src)}function H(){te.value=!0,C.value=!1,an({file:U.value}).then(G=>{C.value=!0,R.value=G.data}).catch(G=>{te.value=!1,C.value=!1,T.error(G.msg)})}function m(){U.value="",I.value="",C.value=!1,V("close")}function W(){}return(G,D)=>{const w=s("el-upload"),o=s("el-button");return a(),v("div",An,[D[8]||(D[8]=t("div",{class:"download acea-row row-middle"},[t("span",null,"上传前请先按Excel模板中的格式编辑内容"),t("img",{src:xn,alt:""}),t("a",{href:"/product_migration.xlsx",download:"",class:"download-text cup"},"下载Excel模板")],-1)),t("div",Cn,[z(e(w,{ref_key:"uploadRef",ref:A,class:"upload-demo",drag:!U.value,"show-file-list":!1,action:r,headers:j,"before-upload":S,"on-success":c,accept:".xls, .xlsx"},{default:l(()=>[...D[1]||(D[1]=[t("img",{class:"el-upload-dragger__icon mb20",src:Vt,alt:""},null,-1),t("div",{class:"el-upload__text"},[y("将文件拖到此处,或"),t("em",null,"点击添加")],-1),t("div",{class:"el-upload__trip"},"支持 .xls,.xlsx,限10M以内",-1)])]),_:1},8,["drag"]),[[al,!U.value&&!C.value]]),z(t("div",Fn,[D[4]||(D[4]=t("img",{class:"el-upload-dragger__icon mb20",src:Vt,alt:""},null,-1)),t("div",Sn,_(I.value),1),U.value&&!te.value?(a(),v("div",$n,[t("div",{class:"active-btn",onClick:f},"重新上传"),t("div",{class:"active-btn",onClick:D[0]||(D[0]=se=>U.value="")},"删除")])):F("",!0),te.value?(a(),v("div",Dn,[...D[2]||(D[2]=[y(" 正在导入,您可关闭当前弹窗,稍候可在列表查看导入结果 ",-1),t("i",{class:"el-icon-loading"},null,-1)])])):(a(),p(o,{key:2,class:"btn-import",type:"primary",onClick:H},{default:l(()=>[...D[3]||(D[3]=[y("立即导入",-1)])]),_:1}))],512),[[al,U.value&&!C.value]]),z(t("div",Un,[t("img",{class:"el-upload-dragger__icon mb20",src:X.value,alt:""},null,8,Tn),t("div",Bn," 共导入 "+_(R.value.all)+" 个,成功 "+_(R.value.success)+" 个,失败 "+_(R.value.fail)+" 跳过 "+_(R.value.jump)+" 个 ",1),R.value.fail>0?(a(),v("div",In,[D[5]||(D[5]=y(" 您可以下载失败数据,修改后再重新导入 ",-1)),t("span",{class:"active-btn",onClick:W},"下载失败数据")])):F("",!0),t("div",null,[e(o,{class:"btn-import",onClick:f},{default:l(()=>[...D[6]||(D[6]=[y("再次导入",-1)])]),_:1}),e(o,{type:"primary",class:"btn-import",onClick:m},{default:l(()=>[...D[7]||(D[7]=[y("完成",-1)])]),_:1})])],512),[[al,U.value&&C.value]])]),D[9]||(D[9]=La('
导入规则
1. 请先下载模板,在模板中按字段填写信息,然后上传该文件。
2. 导入未完成之前,请勿关闭页面,否则可能数据错误。
3. 文件大小不超过10MB。
4. 限制导入10000行记录,超出部分请分多次导入。
',1))])}}}),Ln=Oe(Rn,[["__scopeId","data-v-ead3b6de"]]),On={class:"article-manager"},Pn={class:"padding-add"},Nn={class:"acea-row search-form"},jn={class:"search-form-box"},En={class:"search-form-sub"},Mn={class:"Button"},qn={class:"tabBox_img"},Wn=["onClick"],Gn={class:"acea-row row-right page"},Kn={class:"acea-row"},zn={class:"acea-row"},Xn={key:0,class:"mb20"},Hn={class:"acea-row label_width"},Yn={style:{width:"auto"}},Qn={key:0},Jn={key:1,class:"span"},Zn={class:"dialog-footer"},eo=Object.assign({name:"normalProductList"},{__name:"List",props:{section:{type:String,default:""},action:{type:String,default:""},params:{type:Object,default:()=>({})}},setup(n){const re=rt(),V=ll.routePre,A=u(null),r=u(null),j=u(null),I=u(null),U=u(null),C=u(null),te=u(null),R=u(null),X=u(!1),S=u(!1),f=u(!1),c=u(!1),H=u(1),m=u(x()),W={},G=u([]),D=u([]),w=u([]),o=u(B()),se=u([]),ae=u(0),ie=u(!1),$=u([]),L=u([]),ue=u([]),O=u(0),Y=u([]),Q=u([]),_e=u(!1),ge=u([]);function B(){return{page:1,limit:15,store_name:"",cate_id:"",spec_type:"",vip_product:"",is_gift:"",sales_s:["",""],stock_s:["",""],price_s:["",""],time:"",type:"1"}}function x(){return{cate_id:[],delivery_methods:["express"],freight_config:{express:{type:"template",postage:0,temp_id:0},door_service:{type:"free",postage:0}},give_integral:0,label_id:[],coupon_ids:[],is_gift:0,gift_price:0}}const b=Ae(()=>(m.value.freight_config&&m.value.freight_config.express||{}).type||"template"),h=Ae(()=>(m.value.freight_config&&m.value.freight_config.express||{}).postage||0),M=Ae(()=>(m.value.freight_config&&m.value.freight_config.express||{}).temp_id||0);function de(N){Q.value=N,o.value.time=Q.value?Q.value.join("-"):"",o.value.page=1,Be()}function pe(){o.value.page=1,ue.value=[],r.value&&r.value.clearSelection(),Be()}function k(){gn().then(N=>{ge.value=N.data||[]}).catch(()=>{})}function De(){Ft().then(N=>{N.data.map(d=>{d.list&&d.list.length&&d.list.map(he=>{he.active=!1})}),Y.value=N.data}).catch(N=>{T.error(N.msg)})}function be(N,d){O.value=N.id,R.value.visible=!0}function we(){let N=m.value;N.ids=L.value,N.type=H.value;let d=[];if(D.value.forEach(he=>{d.push(he.id)}),N.label_id=d,H.value==2&&!m.value.delivery_methods.length)return T.warning("请选择物流方式");kn(N).then(he=>{T.success(he.msg),Be(),$e(!1),L.value=[]}).catch(he=>{T.error(he.msg)})}function ce(N){const d={type:N};N==="fixed"?d.postage=h.value:N==="template"&&(d.temp_id=M.value),m.value.freight_config={...m.value.freight_config||{},express:d}}function Se(N){m.value.freight_config={...m.value.freight_config||{},express:{type:"fixed",postage:N||0}}}function Xe(N){m.value.freight_config={...m.value.freight_config||{},express:{type:"template",temp_id:N||0}}}function $e(N){N||(m.value={cate_id:[],delivery_methods:["express"],freight_config:{express:{type:"template",postage:0,temp_id:0},door_service:{type:"free",postage:0}},give_integral:null,label_id:[],coupon_ids:[],is_gift:null,gift_price:null,label_list:[]},D.value=[]),X.value=!1,r.value.clearSelection()}function Ke(N){L.value.length?N===7?yl():N===8?rl():N===9?(H.value=N,f.value=!0):N===11?We("全部移到回收站",1):N===12?We("恢复选中商品",2):(H.value=N,X.value=!0,ee()):T.warning("请选择要修改的商品")}function We(N,d){let he=d==1?"normal/product/batch_delete":"normal/product/batch_recover",ve={title:N,url:he,method:"post",ids:{ids:L.value}};nt(ve).then(Te=>{T.success(Te.msg),Be()}).catch(Te=>{T.error(Te.msg)})}function le(N){if(N===1){c.value=!0;return}tl(2)}function J(){re.push({path:ll.routePre+"/product/normal/add",query:{type:-1}})}function He(){c.value=!1,o.value.page=1,Be(),k()}async function tl(N){let[d,he,ve,Te]=[[],[],[],""];const Ie=JSON.parse(JSON.stringify(o.value));Ie.page=1,Ie.limit=50,Ie.ids=L.value;const Ye=N?nn:on;for(;;){const je=(await Ye(Ie)).data;if(Te||(Te=je.filename),he.length||(he=je.fileKey),d.length||(d=je.header),!je.export.length){Bt(d,he,Te,ve);return}ve=ve.concat(je.export),Ie.page++}}function cl(N){S.value=!1,D.value=N}function Qe(N,d){m.value.coupon_ids=N,G.value=nl(d)}function Me(N){let d=G.value.indexOf(N);G.value.splice(d,1),m.value.coupon_ids.splice(d,1)}function nl(N){const d=new Map;return N.filter(he=>!d.has(he.id)&&d.set(he.id,1))}function ee(){St().then(N=>{w.value=N.data})}function Pe(){S.value=!1,f.value=!1}function K(N){f.value=!1,m.value.label_list=Array.from(new Set(N)),we()}function me(){S.value=!0}function qe(N){let d=D.value.indexOf(D.value.filter(he=>he.id==N.id)[0]);D.value.splice(d,1)}function sl(){I.value.isTemplate=!0,I.value.tableList()}function rl(){if(L.value.length===0)T.warning("请选择要上架的商品");else{let N={ids:L.value,status:1};ht(N).then(d=>{T.success(d.msg),Be()}).catch(d=>{T.error(d.msg)})}}function yl(){if(L.value.length===0)T.warning("请选择要下架的商品");else{let N={ids:L.value,status:0};ht(N).then(d=>{T.success(d.msg),o.value.page=1,Be()}).catch(d=>{T.error(d.msg)})}}function ml(N){return N.id}function bl(N){const d=[],he=[];for(let ve=0;ve{$.value=N.data}).catch(N=>{T.error(N.msg)})}function Be(){ie.value=!0,o.value.cate_id=o.value.cate_id||"",_n(o.value).then(N=>{se.value=N.data.list||[],ae.value=N.data.count||0,Sl(ze),ie.value=!1}).catch(N=>{ie.value=!1,T.error(N.msg||"获取列表失败")})}function ze(){ue.value.length>0&&se.value.forEach(N=>{ue.value.forEach(d=>{N.id===d.id&&r.value.toggleRowSelection(d,!0)})})}function Vl(){o.value.page=1,Be()}function kl(N){Vn(N.id,N.is_show).then(d=>{T.success(d.msg),Be()}).catch(d=>{N.is_show=N.is_show?0:1,T.error(d.msg)})}function P(N){re.push({path:ll.routePre+"/product/normal/add/"+N.id})}function Z(N,d,he){let ve={title:d,url:`normal/product/${N.id}`,method:"DELETE",ids:""};nt(ve).then(Te=>{T.success(Te.msg),se.value.splice(he,1),Be()}).catch(Te=>{T.error(Te.msg)})}function Ue(N,d,he){let ve={title:d,url:`normal/product/full_del/${N.id}`,method:"DELETE"};nt(ve).then(Te=>{T.success(Te.msg),se.value.splice(he,1),Be()}).catch(Te=>{T.error(Te.msg)})}function fe(){o.value=B(),Q.value=[],Be()}return hl(),De(),Be(),k(),Oa(()=>{hl(),De(),Be(),k()}),(N,d)=>{const he=s("el-input"),ve=s("el-form-item"),Te=s("el-cascader"),Ie=s("el-option"),Ye=s("el-select"),xl=s("date-range-picker"),je=s("el-button"),wl=s("el-form"),Al=s("el-card"),Re=s("el-tab-pane"),pl=s("el-tabs"),Pl=s("router-link"),Ee=s("el-dropdown-item"),$l=s("el-dropdown-menu"),Dl=s("el-dropdown"),Je=s("el-table-column"),Nl=s("el-switch"),Kl=s("el-divider"),zl=s("el-table"),jl=s("pagination"),Cl=s("el-col"),Ul=s("el-checkbox"),Xl=s("el-checkbox-group"),Tl=s("el-radio"),El=s("el-radio-group"),Bl=s("el-input-number"),Ml=s("el-tag"),Hl=s("el-row"),Fl=s("el-dialog"),Ze=xe("db-click"),Il=xe("auth"),Yl=xe("lazy"),Ql=xe("viewer"),Jl=xe("loading");return a(),v("div",On,[e(Al,{bordered:!1,shadow:"never","body-style":{padding:0}},{default:l(()=>[t("div",Pn,[e(wl,{ref_key:"artFromRef",ref:A,model:o.value,"label-width":"80px","label-position":"right",inline:"",onSubmit:d[13]||(d[13]=ul(()=>{},["prevent"]))},{default:l(()=>[t("div",Nn,[t("div",jn,[e(ve,{label:"商品搜索:","label-for":"store_name"},{default:l(()=>[e(he,{clearable:"",placeholder:"请输入商品名称/关键字/ID",modelValue:o.value.store_name,"onUpdate:modelValue":d[0]||(d[0]=q=>o.value.store_name=q),class:"form_content_width"},null,8,["modelValue"])]),_:1}),e(ve,{label:"商品分类:","label-for":"pid"},{default:l(()=>[e(Te,{modelValue:o.value.cate_id,"onUpdate:modelValue":d[1]||(d[1]=q=>o.value.cate_id=q),options:$.value,props:{multiple:!1,emitPath:!1,checkStrictly:!0},clearable:"",class:"form_content_width"},null,8,["modelValue","options"])]),_:1}),_e.value?(a(),v(ye,{key:0},[e(ve,{label:"商品规格:"},{default:l(()=>[e(Ye,{modelValue:o.value.spec_type,"onUpdate:modelValue":d[2]||(d[2]=q=>o.value.spec_type=q),clearable:"",placeholder:"全部",class:"form_content_width"},{default:l(()=>[e(Ie,{label:"全部",value:""}),e(Ie,{label:"单规格",value:"0"}),e(Ie,{label:"多规格",value:"1"})]),_:1},8,["modelValue"])]),_:1}),e(ve,{label:"会员专属:"},{default:l(()=>[e(Ye,{modelValue:o.value.vip_product,"onUpdate:modelValue":d[3]||(d[3]=q=>o.value.vip_product=q),clearable:"",placeholder:"全部",class:"form_content_width"},{default:l(()=>[e(Ie,{label:"全部",value:""}),e(Ie,{label:"不限制",value:"0"}),e(Ie,{label:"仅会员可见可买",value:"1"}),e(Ie,{label:"所有人可见仅会员可买",value:"2"})]),_:1},8,["modelValue"])]),_:1}),e(ve,{label:"是否礼物:"},{default:l(()=>[e(Ye,{modelValue:o.value.is_gift,"onUpdate:modelValue":d[4]||(d[4]=q=>o.value.is_gift=q),clearable:"",placeholder:"全部",class:"form_content_width"},{default:l(()=>[e(Ie,{label:"全部",value:""}),e(Ie,{label:"否",value:"0"}),e(Ie,{label:"是",value:"1"})]),_:1},8,["modelValue"])]),_:1}),e(ve,{label:"添加时间:"},{default:l(()=>[e(xl,{class:"form_range_content_width",clearable:"",modelValue:Q.value,"onUpdate:modelValue":d[5]||(d[5]=q=>Q.value=q),editable:!1,onChange:de,format:"YYYY/MM/DD","value-format":"YYYY/MM/DD"},null,8,["modelValue"])]),_:1}),e(ve,{label:"库存:","label-for":"store_name"},{default:l(()=>[e(he,{clearable:"",placeholder:"最小值",modelValue:o.value.stock_s[0],"onUpdate:modelValue":d[6]||(d[6]=q=>o.value.stock_s[0]=q),class:"form_range_content_width"},null,8,["modelValue"]),d[28]||(d[28]=y(" ~ ",-1)),e(he,{clearable:"",placeholder:"最大值",modelValue:o.value.stock_s[1],"onUpdate:modelValue":d[7]||(d[7]=q=>o.value.stock_s[1]=q),class:"form_range_content_width"},null,8,["modelValue"])]),_:1}),e(ve,{label:"价格:","label-for":"store_name"},{default:l(()=>[e(he,{clearable:"",placeholder:"最小值",modelValue:o.value.price_s[0],"onUpdate:modelValue":d[8]||(d[8]=q=>o.value.price_s[0]=q),class:"form_range_content_width"},null,8,["modelValue"]),d[29]||(d[29]=y(" ~ ",-1)),e(he,{clearable:"",placeholder:"最大值",modelValue:o.value.price_s[1],"onUpdate:modelValue":d[9]||(d[9]=q=>o.value.price_s[1]=q),class:"form_range_content_width"},null,8,["modelValue"])]),_:1}),e(ve,{label:"销量:","label-for":"store_name"},{default:l(()=>[e(he,{clearable:"",placeholder:"最小值",modelValue:o.value.sales_s[0],"onUpdate:modelValue":d[10]||(d[10]=q=>o.value.sales_s[0]=q),class:"form_range_content_width"},null,8,["modelValue"]),d[30]||(d[30]=y(" ~ ",-1)),e(he,{clearable:"",placeholder:"最大值",modelValue:o.value.sales_s[1],"onUpdate:modelValue":d[11]||(d[11]=q=>o.value.sales_s[1]=q),class:"form_range_content_width"},null,8,["modelValue"])]),_:1})],64)):F("",!0)]),t("div",En,[z((a(),p(je,{type:"primary",onClick:Vl},{default:l(()=>[...d[31]||(d[31]=[y("查询",-1)])]),_:1})),[[Ze]]),z((a(),p(je,{class:"ResetSearch",onClick:fe},{default:l(()=>[...d[32]||(d[32]=[y("重置",-1)])]),_:1})),[[Ze]]),z((a(),v("a",{class:"ivu-ml-8 font12 ml10",onClick:d[12]||(d[12]=q=>_e.value=!_e.value)},[_e.value?(a(),v(ye,{key:1},[d[35]||(d[35]=y(" 收起 ",-1)),d[36]||(d[36]=t("i",{class:"el-icon-arrow-up"},null,-1))],64)):(a(),v(ye,{key:0},[d[33]||(d[33]=y(" 展开 ",-1)),d[34]||(d[34]=t("i",{class:"el-icon-arrow-down"},null,-1))],64))])),[[Ze]])])])]),_:1},8,["model"])])]),_:1}),e(Al,{bordered:!1,shadow:"never",class:"ivu-mt mt16","body-style":{padding:"0 20px 20px"}},{default:l(()=>[e(pl,{modelValue:o.value.type,"onUpdate:modelValue":d[14]||(d[14]=q=>o.value.type=q),onTabChange:pe},{default:l(()=>[(a(!0),v(ye,null,Fe(ge.value,(q,Ge)=>(a(),p(Re,{label:q.name+"("+q.count+")",name:q.type.toString(),key:Ge},null,8,["label","name"]))),128))]),_:1},8,["modelValue"]),t("div",Mn,[z((a(),p(Pl,{to:Ve(V)+"/product/normal/add"},{default:l(()=>[e(je,{type:"primary",class:"mr14"},{default:l(()=>[...d[37]||(d[37]=[y("添加商品",-1)])]),_:1})]),_:1},8,["to"])),[[Il,["admin-normal-product-add"]]]),z((a(),p(je,{type:"success",class:"mr14",onClick:J},{default:l(()=>[...d[38]||(d[38]=[y("商品采集",-1)])]),_:1})),[[Il,["product-crawl-save"]],[Ze]]),e(Dl,{class:"bnt mr14",onCommand:Ke},{dropdown:l(()=>[e($l,null,{default:l(()=>[e(Ee,{command:1},{default:l(()=>[...d[40]||(d[40]=[y("商品分类",-1)])]),_:1}),e(Ee,{command:2},{default:l(()=>[...d[41]||(d[41]=[y("物流设置",-1)])]),_:1}),e(Ee,{command:3},{default:l(()=>[...d[42]||(d[42]=[y("购买送积分",-1)])]),_:1}),e(Ee,{command:4},{default:l(()=>[...d[43]||(d[43]=[y("购买送优惠券",-1)])]),_:1}),e(Ee,{command:5},{default:l(()=>[...d[44]||(d[44]=[y("关联用户标签",-1)])]),_:1}),o.value.type==="1"?(a(),p(Ee,{key:0,command:7},{default:l(()=>[...d[45]||(d[45]=[y("批量下架",-1)])]),_:1})):F("",!0),o.value.type==="2"?(a(),p(Ee,{key:1,command:8},{default:l(()=>[...d[46]||(d[46]=[y("批量上架",-1)])]),_:1})):F("",!0),e(Ee,{command:9},{default:l(()=>[...d[47]||(d[47]=[y("设置商品标签",-1)])]),_:1}),e(Ee,{command:10},{default:l(()=>[...d[48]||(d[48]=[y("是否支持送礼",-1)])]),_:1}),o.value.type!=="6"?(a(),p(Ee,{key:2,command:11},{default:l(()=>[...d[49]||(d[49]=[y("移到回收站",-1)])]),_:1})):F("",!0),o.value.type=="6"?(a(),p(Ee,{key:3,command:12},{default:l(()=>[...d[50]||(d[50]=[y("恢复商品",-1)])]),_:1})):F("",!0)]),_:1})]),default:l(()=>[e(je,null,{default:l(()=>[...d[39]||(d[39]=[y("批量修改",-1),t("i",{class:"el-icon-arrow-down el-icon--right"},null,-1)])]),_:1})]),_:1}),e(Dl,{class:"bnt mr14",onCommand:le},{dropdown:l(()=>[e($l,null,{default:l(()=>[e(Ee,{command:1},{default:l(()=>[...d[52]||(d[52]=[y("商品导入",-1)])]),_:1}),e(Ee,{command:2},{default:l(()=>[...d[53]||(d[53]=[y("商品导出",-1)])]),_:1})]),_:1})]),default:l(()=>[e(je,null,{default:l(()=>[...d[51]||(d[51]=[y("商品迁移",-1),t("i",{class:"el-icon-arrow-down el-icon--right"},null,-1)])]),_:1})]),_:1}),z((a(),p(je,{class:"export",onClick:d[15]||(d[15]=q=>tl(0))},{default:l(()=>[...d[54]||(d[54]=[y("商品数据导出",-1)])]),_:1})),[[Il,["export-product_list"]],[Ze]])]),z((a(),p(zl,{ref_key:"table",ref:r,data:se.value,class:"mt14","highlight-current-row":"","row-key":ml,onSelectionChange:bl,"empty-text":"暂无数据"},{default:l(()=>[e(Je,{type:"selection",width:"60","reserve-selection":!0}),e(Je,{label:"商品ID",width:"80"},{default:l(q=>[t("span",null,_(q.row.id),1)]),_:1}),e(Je,{label:"商品图","min-width":"90"},{default:l(q=>[z((a(),v("div",qn,[z(t("img",null,null,512),[[Yl,q.row.image]])])),[[Ql]])]),_:1}),e(Je,{label:"商品名称","min-width":"250"},{default:l(q=>[t("span",null,_(q.row.store_name),1)]),_:1}),e(Je,{label:"商品售价","min-width":"100"},{default:l(q=>[t("span",null,_(q.row.price),1)]),_:1}),e(Je,{label:"销量","min-width":"100"},{default:l(q=>[t("span",null,_(q.row.sales),1)]),_:1}),e(Je,{label:"库存","min-width":"100"},{default:l(q=>[t("span",null,_(q.row.stock),1)]),_:1}),e(Je,{label:"排序","min-width":"100"},{default:l(q=>[t("span",null,_(q.row.sort),1)]),_:1}),e(Je,{label:"状态","min-width":"100"},{default:l(q=>[e(Nl,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:q.row.is_show,"onUpdate:modelValue":Ge=>q.row.is_show=Ge,value:q.row.is_show,disabled:!!q.row.stop_status,onChange:Ge=>kl(q.row),size:"large","active-text":"上架","inactive-text":"下架"},null,8,["modelValue","onUpdate:modelValue","value","disabled","onChange"])]),_:1}),e(Je,{label:"操作",fixed:"right",minWidth:"100"},{default:l(q=>[z((a(),v("a",{onClick:Ge=>P(q.row)},[...d[55]||(d[55]=[y("编辑",-1)])],8,Wn)),[[Ze]]),e(Kl,{direction:"vertical"}),e(Dl,null,{dropdown:l(()=>[e($l,null,{default:l(()=>[e(Ee,null,{default:l(()=>[e(Pl,{to:{path:Ve(V)+"/product/product_reply/"+q.row.id}},{default:l(()=>[...d[56]||(d[56]=[t("a",null,"查看评论",-1)])]),_:1},8,["to"])]),_:2},1024),e(Ee,{onClick:Ge=>be(q.row,"vipPriceSet")},{default:l(()=>[...d[57]||(d[57]=[y("会员价管理",-1)])]),_:1},8,["onClick"]),o.value.type==="6"?(a(),p(Ee,{key:0,onClick:Ge=>Z(q.row,"恢复商品",q.$index)},{default:l(()=>[...d[58]||(d[58]=[y("恢复商品",-1)])]),_:1},8,["onClick"])):F("",!0),o.value.type==="6"?(a(),p(Ee,{key:1,onClick:Ge=>Ue(q.row,"彻底删除",q.$index)},{default:l(()=>[...d[59]||(d[59]=[y("彻底删除",-1)])]),_:1},8,["onClick"])):(a(),p(Ee,{key:2,onClick:Ge=>Z(q.row,"移入回收站",q.$index)},{default:l(()=>[...d[60]||(d[60]=[y("移到回收站",-1)])]),_:1},8,["onClick"]))]),_:2},1024)]),default:l(()=>[d[61]||(d[61]=t("span",{class:"el-dropdown-link"},[y("更多"),t("i",{class:"el-icon-arrow-down el-icon--right"})],-1))]),_:2},1024)]),_:1})]),_:1},8,["data"])),[[Jl,ie.value]]),t("div",Gn,[ae.value?(a(),p(jl,{key:0,total:ae.value,page:o.value.page,"onUpdate:page":d[16]||(d[16]=q=>o.value.page=q),limit:o.value.limit,"onUpdate:limit":d[17]||(d[17]=q=>o.value.limit=q),onPagination:Be},null,8,["total","page","limit"])):F("",!0)])]),_:1}),e(ln,{ref_key:"brokerageSetRef",ref:te,productId:O.value},null,8,["productId"]),e(tn,{ref_key:"vipPriceSetRef",ref:R,productId:O.value},null,8,["productId"]),e(Fl,{modelValue:X.value,"onUpdate:modelValue":d[24]||(d[24]=q=>X.value=q),class:"batch-box",title:"批量设置","show-close":!0,"close-on-click-modal":!1,width:"540px"},{footer:l(()=>[t("span",Zn,[z((a(),p(je,{onClick:$e},{default:l(()=>[...d[71]||(d[71]=[y("取 消",-1)])]),_:1})),[[Ze]]),z((a(),p(je,{type:"primary",onClick:we},{default:l(()=>[...d[72]||(d[72]=[y("确 定",-1)])]),_:1})),[[Ze]])])]),default:l(()=>[e(wl,{class:"batchFormData",ref_key:"batchFormDataRef",ref:j,rules:W,model:m.value,"label-width":"90px","label-position":"right",onSubmit:d[23]||(d[23]=ul(()=>{},["prevent"]))},{default:l(()=>[e(Hl,{gutter:24},{default:l(()=>[H.value==1?(a(),p(Cl,{key:0,span:24},{default:l(()=>[e(ve,{label:"商品分类:",prop:"cate_id"},{default:l(()=>[e(Te,{modelValue:m.value.cate_id,"onUpdate:modelValue":d[18]||(d[18]=q=>m.value.cate_id=q),options:$.value,props:{multiple:!0,emitPath:!1,checkStrictly:!0},clearable:"",style:{width:"400px"}},null,8,["modelValue","options"])]),_:1})]),_:1})):F("",!0),H.value==2?(a(),p(Cl,{key:1,span:24},{default:l(()=>[e(ve,{label:"物流方式:",prop:"delivery_methods"},{default:l(()=>[e(Xl,{modelValue:m.value.delivery_methods,"onUpdate:modelValue":d[19]||(d[19]=q=>m.value.delivery_methods=q)},{default:l(()=>[e(Ul,{label:"express"},{default:l(()=>[...d[62]||(d[62]=[y("快递",-1)])]),_:1}),e(Ul,{label:"pickup"},{default:l(()=>[...d[63]||(d[63]=[y("到店",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(ve,{label:"运费设置:"},{default:l(()=>[e(El,{value:b.value,onChange:ce},{default:l(()=>[e(Tl,{label:"free",value:"free"},{default:l(()=>[...d[64]||(d[64]=[y("包邮",-1)])]),_:1}),e(Tl,{label:"fixed",value:"fixed"},{default:l(()=>[...d[65]||(d[65]=[y("固定邮费",-1)])]),_:1}),e(Tl,{label:"template",value:"template"},{default:l(()=>[...d[66]||(d[66]=[y("运费模板",-1)])]),_:1})]),_:1},8,["value"])]),_:1}),b.value==="fixed"?(a(),p(ve,{key:0,label:""},{default:l(()=>[t("div",Kn,[e(Bl,{controls:!1,min:0,value:h.value,onChange:Se,placeholder:"请输入金额",class:"input_width maxW input-number-unit-class","class-unit":"元"},null,8,["value"])])]),_:1})):F("",!0),b.value==="template"?(a(),p(ve,{key:1,label:"",prop:"templateId"},{default:l(()=>[t("div",zn,[e(Ye,{value:M.value,onChange:Xe,clearable:"",placeholder:"请选择运费模板",style:{width:"414px"}},{default:l(()=>[(a(!0),v(ye,null,Fe(w.value,(q,Ge)=>(a(),p(Ie,{value:q.id,key:Ge,label:q.name},null,8,["value","label"]))),128))]),_:1},8,["value"])])]),_:1})):F("",!0)]),_:1})):F("",!0),[3,4,5].includes(H.value)?(a(),p(Cl,{key:2,span:24},{default:l(()=>[H.value==3?(a(),p(ve,{key:0,label:"赠送积分:",prop:"give_integral"},{default:l(()=>[e(Bl,{controls:!1,modelValue:m.value.give_integral,"onUpdate:modelValue":d[20]||(d[20]=q=>m.value.give_integral=q),min:0,max:9999999999,placeholder:"请输入积分",style:{width:"100%"}},null,8,["modelValue"])]),_:1})):F("",!0),H.value==4?(a(),p(ve,{key:1,label:"赠送优惠券:"},{default:l(()=>[G.value.length?(a(),v("div",Xn,[(a(!0),v(ye,null,Fe(G.value,(q,Ge)=>(a(),p(Ml,{closable:"",key:Ge,onClose:Zl=>Me(q)},{default:l(()=>[y(_(q.title),1)]),_:2},1032,["onClose"]))),128))])):F("",!0),z((a(),p(je,{type:"primary",onClick:sl},{default:l(()=>[...d[67]||(d[67]=[y("添加优惠券",-1)])]),_:1})),[[Ze]])]),_:1})):F("",!0),H.value==5?(a(),p(ve,{key:2,label:"关联标签:",prop:"label_id"},{default:l(()=>[t("div",Hn,[z((a(),v("div",{class:"labelInput acea-row row-between-wrapper",onClick:me},[t("div",Yn,[D.value.length?(a(),v("div",Qn,[(a(!0),v(ye,null,Fe(D.value,(q,Ge)=>(a(),p(Ml,{class:"m-r-2",closable:"",onClose:Zl=>qe(q),key:Ge},{default:l(()=>[y(_(q.label_name),1)]),_:2},1032,["onClose"]))),128))])):(a(),v("span",Jn,"选择用户关联标签"))]),d[68]||(d[68]=t("div",{class:"iconfont iconxiayi"},null,-1))])),[[Ze]])])]),_:1})):F("",!0)]),_:1})):F("",!0),H.value==10?(a(),p(Cl,{key:3,span:24},{default:l(()=>[e(ve,{label:"开启送礼:"},{default:l(()=>[e(Nl,{modelValue:m.value.is_gift,"onUpdate:modelValue":d[21]||(d[21]=q=>m.value.is_gift=q),class:"defineSwitch","active-text":"开启","inactive-text":"关闭","active-value":1,"inactive-value":0,size:"large"},null,8,["modelValue"]),d[69]||(d[69]=t("div",{class:"tip"},"开启送礼后,移动端商品详情的底部菜单显示送礼按钮",-1))]),_:1}),m.value.is_gift?(a(),p(ve,{key:0,label:"礼品附加费:"},{default:l(()=>[e(Bl,{controls:!1,min:0,max:1e5,modelValue:m.value.gift_price,"onUpdate:modelValue":d[22]||(d[22]=q=>m.value.gift_price=q),placeholder:"礼品附加费",class:"input-number-unit-class","class-unit":"元"},null,8,["modelValue"]),d[70]||(d[70]=t("div",{class:"tip"},"送礼下单时,订单默认无运费,此费用可用于负担商品运费、产品包装等附加费用",-1))]),_:1})):F("",!0)]),_:1})):F("",!0)]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),e(Fl,{modelValue:S.value,"onUpdate:modelValue":d[25]||(d[25]=q=>S.value=q),title:"请选择用户标签",width:"540px","show-close":!0,"close-on-click-modal":!1},{default:l(()=>[e(Ve(Ut),{ref_key:"userLabelRef",ref:U,onActiveData:cl,onClose:Pe},null,512)]),_:1},8,["modelValue"]),e(Fl,{modelValue:f.value,"onUpdate:modelValue":d[26]||(d[26]=q=>f.value=q),title:"请选择商品标签","show-close":!0,width:"540px","close-on-click-modal":!1},{default:l(()=>[e(Ve(Tt),{ref_key:"goodsLabelRef",ref:C,defaultLabelList:Y.value,onActiveLabel:K,onClose:Pe},null,8,["defaultLabelList"])]),_:1},8,["modelValue"]),e(Ve(it),{ref_key:"couponTemplates",ref:I,onNameId:Qe,couponids:m.value.coupon_ids},null,8,["couponids"]),e(Fl,{modelValue:c.value,"onUpdate:modelValue":d[27]||(d[27]=q=>c.value=q),title:"商品导入",width:"900px","show-close":!0,"close-on-click-modal":!1},{default:l(()=>[c.value?(a(),p(Ln,{key:0,onClose:He})):F("",!0)]),_:1},8,["modelValue"])])}}}),kt=Oe(eo,[["__scopeId","data-v-fe83783c"]]),lo={class:"specifications"},to=["data-spec-idx"],ao=["onClick"],no={class:"specifications-item-box"},oo={class:"specifications-item-name mb18"},io={class:"rulesBox ml30"},so={class:"mr10 spec drag"},ro=["onClick"],uo=["onClick"],co={class:"dialog-footer"},mo=Object.assign({name:"addAttr"},{__name:"addAttr",emits:["getList"],setup(n,{expose:re,emit:V}){const A=V,r=u(null),j=u(!1),I=u(!1),U=u(!1),C=u(1),te={rule_name:[{required:!0,message:"请输入规格名称",trigger:"blur"}]},R=u({rule_name:"",spec:[]}),X=u(""),S=u(""),f=u(!1),c=u(0);let H=0;const m=O=>R.value.spec.indexOf(O),W=O=>O.id;function G(O,Y){O.detail.push({id:++H,value:""}),Sl(()=>{const Q=document.querySelector(`.specifications-item[data-spec-idx="${Y}"]`),_e=Q?Q.querySelectorAll('input[placeholder="规格值"]'):[];_e.length&&_e[_e.length-1].focus()})}function D(O,Y,Q){Q.value.trim()&&G(O,Y)}function w(O){R.value.spec.splice(O,1),R.value.spec.length||(R.value.spec=[])}function o(){let O={value:R.value.attrsName,detail:[]};R.value.spec.push(O)}function se(){c.value=0,L()}function ae(){c.value=0,L(),U.value=!1}function ie(O){j.value=!0,c.value=O.id,ja(O.id).then(Y=>{R.value=Y.data.info,R.value.spec=(R.value.spec||[]).map(Q=>({value:Q.value,detail:(Q.detail||[]).map(_e=>({id:++H,value:typeof _e=="string"?_e:_e.value}))})),j.value=!1}).catch(Y=>{j.value=!1,T.error(Y.msg)})}function $(O){r.value.validate(Y=>{if(Y){if(R.value.spec.length===0)return T.warning("请至少添加一条商品规格!");const Q=R.value.spec.map(_e=>({value:_e.value,detail:_e.detail.map(ge=>(ge.value||"").trim()).filter(ge=>ge!=="")}));I.value=!0,setTimeout(()=>{$t({rule_name:R.value.rule_name,spec:Q},c.value).then(_e=>{T.success(_e.msg),setTimeout(()=>{U.value=!1,I.value=!1},500),setTimeout(()=>{A("getList"),L()},600)}).catch(_e=>{I.value=!1,T.error(_e.msg)})},1200)}else return!1})}function L(){r.value.resetFields(),R.value.spec=[],f.value=!1,X.value="",S.value="",c.value=0}function ue(O,Y){O.splice(Y,1)}return re({modal:U,getIofo:ie}),(O,Y)=>{const Q=s("el-input"),_e=s("el-form-item"),ge=s("el-col"),B=s("el-button"),x=s("el-row"),b=s("el-form"),h=s("el-dialog"),M=xe("db-click"),de=xe("loading");return a(),p(h,{modelValue:U.value,"onUpdate:modelValue":Y[4]||(Y[4]=pe=>U.value=pe),onClosed:se,title:"商品规格",width:"1000px"},{footer:l(()=>[t("span",co,[z((a(),p(B,{onClick:ae},{default:l(()=>[...Y[10]||(Y[10]=[y("取消",-1)])]),_:1})),[[M]]),z((a(),p(B,{type:"primary",loading:I.value,onClick:Y[3]||(Y[3]=pe=>$("formDynamic"))},{default:l(()=>[...Y[11]||(Y[11]=[y("确定",-1)])]),_:1},8,["loading"])),[[M]])])]),default:l(()=>[z((a(),p(b,{ref_key:"formDynamicRef",ref:r,model:R.value,rules:te,class:"attrFrom","label-width":"120px","label-position":"right",onSubmit:Y[2]||(Y[2]=ul(()=>{},["prevent"]))},{default:l(()=>[e(x,{gutter:24},{default:l(()=>[e(ge,{span:24},{default:l(()=>[e(ge,{span:8},{default:l(()=>[e(_e,{label:"规格模板名称:",prop:"rule_name"},{default:l(()=>[e(Q,{placeholder:"请输入标题名称",maxlength:20,modelValue:R.value.rule_name,"onUpdate:modelValue":Y[0]||(Y[0]=pe=>R.value.rule_name=pe),modelModifiers:{trim:!0}},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),(a(),p(ge,{span:23,class:"noForm",key:C.value},{default:l(()=>[e(_e,{label:""},{default:l(()=>[t("div",lo,[e(Ve(Ll),{group:"specifications",list:R.value.spec,handle:".move-icon",animation:"300","item-key":m},{item:l(({element:pe,index:k})=>[t("div",{class:"specifications-item active","data-spec-idx":k},[Y[8]||(Y[8]=t("div",{class:"move-icon"},[t("span",{class:"iconfont icondrag2"})],-1)),t("i",{class:"del el-icon-error",onClick:De=>w(k)},null,8,ao),t("div",no,[Y[7]||(Y[7]=t("div",{class:"lineBox"},null,-1)),t("div",oo,[e(Q,{modelValue:pe.value,"onUpdate:modelValue":De=>pe.value=De,placeholder:"规格名称",class:"specifications-item-name-input",maxlength:"30","show-word-limit":""},null,8,["modelValue","onUpdate:modelValue"])]),t("div",io,[e(Ve(Ll),{class:"item",list:pe.detail,handle:".drag","item-key":W},{item:l(({element:De,index:be})=>[t("div",so,[t("i",{class:"el-icon-error",onClick:we=>ue(pe.detail,be)},null,8,ro),e(Q,{style:{width:"120px"},modelValue:De.value,"onUpdate:modelValue":we=>De.value=we,placeholder:"规格值",maxlength:"30",onKeyup:Gl(we=>D(pe,k,De),["enter"])},{prefix:l(()=>[...Y[5]||(Y[5]=[t("span",{class:"iconfont icondrag2"},null,-1)])]),_:1},8,["modelValue","onUpdate:modelValue","onKeyup"])])]),footer:l(()=>[z((a(),v("div",{class:"addfont",type:"text",onClick:De=>G(pe,k)},[...Y[6]||(Y[6]=[y(" 添加规格值 ",-1)])],8,uo)),[[M]])]),_:2},1032,["list"])])])],8,to)]),_:1},8,["list"]),R.value.spec.length<4?z((a(),p(B,{key:0,onClick:Y[1]||(Y[1]=pe=>o())},{default:l(()=>[...Y[9]||(Y[9]=[y("添加新规格",-1)])]),_:1})),[[M]]):F("",!0)])]),_:1})]),_:1}))]),_:1})]),_:1},8,["model"])),[[de,j.value]])]),_:1},8,["modelValue"])}}}),po=Oe(mo,[["__scopeId","data-v-019fa05d"]]),fo={class:"Box"},vo={class:"tips"},_o={key:0,href:"https://doc.crmeb.com/single/v5/7785",target:"_blank"},go={key:1},yo=Object.assign({name:"productCollect"},{__name:"productCollect",emits:["on-close","get-platforms"],setup(n,{emit:re}){const V=re,A=rt(),r=u(null),j=u(""),I=u(!1),U=gl({copy_type:2,copy_num:0,platforms:[]}),C=gl({type:"taobao",url:""});Ol(()=>{R()});function te(){A.push({path:ll.routePre+"/setting/yihaotong/index"})}function R(){Ea().then(S=>{U.copy_type=S.data.copy_type,U.copy_num=S.data.copy_num,U.platforms=S.data.platforms||[],V("get-platforms",U.platforms)})}function X(){if(j.value){var S=/(http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])?/;if(!S.test(j.value))return T.warning("请输入以http开头的地址!");I.value=!0,C.url=j.value,Ma(C).then(f=>{let c=f.data.productInfo;V("on-close",c),I.value=!1}).catch(f=>{I.value=!1,T.error(f.msg)})}else T.warning("请输入链接地址!")}return(S,f)=>{const c=s("el-input"),H=s("el-button"),m=s("el-form-item"),W=s("el-form"),G=xe("db-click"),D=xe("loading");return z((a(),v("div",fo,[t("div",null,[t("div",vo,[f[4]||(f[4]=y(" 生成的商品默认是没有上架的,请手动上架商品! ",-1)),U.copy_type==2?(a(),v("a",_o,"如何配置密钥")):(a(),v("span",go,[y("您当前剩余"+_(U.copy_num)+"条采集次数,",1),z((a(),v("span",{class:"add",onClick:f[0]||(f[0]=w=>te())},[...f[3]||(f[3]=[y("增加采集次数",-1)])])),[[G]])]))]),f[5]||(f[5]=t("div",null,"商品采集设置:设置 > 系统设置 > 第三方接口设置 > 采集商品配置",-1))]),e(W,{class:"formValidate mt20",ref_key:"formValidateRef",ref:r,"label-width":"80px","label-position":"right",onSubmit:f[2]||(f[2]=ul(()=>{},["prevent"]))},{default:l(()=>[e(m,{label:"链接地址:"},{default:l(()=>[e(c,{clearable:"",modelValue:j.value,"onUpdate:modelValue":f[1]||(f[1]=w=>j.value=w),placeholder:"请输入链接地址",class:"numPut"},null,8,["modelValue"]),z((a(),p(H,{type:"primary",class:"ml15",onClick:X},{default:l(()=>[...f[6]||(f[6]=[y("确定",-1)])]),_:1})),[[G]])]),_:1})]),_:1},512)])),[[D,I.value]])}}}),bo=Oe(yo,[["__scopeId","data-v-eb808df1"]]),ho=[{title:"图片",slot:"pic",align:"center",minWidth:"80px"},{title:"售价",slot:"price",align:"center",minWidth:"120px"},{title:"成本价",slot:"cost",align:"center",minWidth:"120px"},{title:"划线价",slot:"original_price",align:"center",minWidth:"120px"},{title:"库存",slot:"stock",align:"center",minWidth:"120px"},{title:"商品编码",slot:"bar_code",align:"center",minWidth:"120px"},{title:"条形码",slot:"bar_code_number",align:"center",minWidth:"120px"},{title:"重量(KG)",slot:"weight",align:"center",minWidth:"95px"},{title:"体积(m³)",slot:"volume",align:"center",minWidth:"95px"},{title:"默认选中规格",slot:"selected_spec",fixed:"right",align:"center",minWidth:"100px"},{title:"操作",slot:"action",fixed:"right",align:"center",minWidth:"120px"}],ot=[{title:"图片",slot:"pic",align:"center",minWidth:80},{title:"售价",slot:"price",align:"center",minWidth:95},{title:"成本价",slot:"cost",align:"center",minWidth:95},{title:"划线价",slot:"original_price",align:"center",minWidth:95},{title:"库存",slot:"stock",align:"center",minWidth:95},{title:"商品编码",slot:"bar_code",align:"center",minWidth:120},{title:"条形码",slot:"bar_code_number",align:"center",minWidth:120},{title:"重量(KG)",slot:"weight",align:"center",minWidth:95},{title:"体积(m³)",slot:"volume",align:"center",minWidth:95},{title:"操作",slot:"action",fixed:"right",align:"center",minWidth:120}],Vo=[{value:"text",label:"文本框"},{value:"number",label:"数字"},{value:"email",label:"邮件"},{value:"data",label:"日期"},{value:"time",label:"时间"},{value:"id",label:"身份证"},{value:"phone",label:"手机号"},{value:"img",label:"图片"}],ko={store_name:[{required:!0,message:"请输入商品名称",trigger:"blur"}],cate_id:[{required:!0,message:"请选择商品分类",trigger:"change",type:"array",min:"1"}],unit_name:[{required:!0,message:"请输入单位",trigger:"blur"}],slider_image:[{required:!0,message:"请上传商品轮播图",type:"array",trigger:"change"}],spec_type:[{required:!0,message:"请选择商品规格",trigger:"change"}],selectRule:[{required:!0,message:"请选择商品规格属性",trigger:"change"}],presale_time:[{required:!0,type:"array",message:"请选择活动时间",trigger:"change"}],delivery_methods:[{required:!0,type:"array",min:1,message:"请选择物流方式",trigger:"change"},{type:"array",max:3,message:"最多选择3种物流方式",trigger:"change"}],give_integral:[{type:"integer",transform:n=>n===""||n===null||n===void 0?void 0:Number(n),message:"请输入整数"}]},xo={class:"acea-row"},wo=["onDragstart","onDragover","onDragenter","onDragend"],Ao=["onClick"],Co={key:1,class:"box-video-style"},Fo=["src"],So={class:"flex"},$o=Object.assign({name:"BasicInfo"},{__name:"BasicInfo",props:{formValidate:{type:Object,required:!0},treeSelect:{type:Array,required:!0},tileLabelList:{type:Array,required:!0},upload:{type:Object,required:!0},isCai:{type:[Number,String],required:!0},progress:{type:Number,default:0},videoIng:{type:Boolean,default:!1}},emits:["handleDragStart","handleDragOver","handleDragEnter","handleDragEnd","handleRemove","modalPicTap","addVideo","delVideo","addCate","addGoodsTag"],setup(n,{emit:re}){const V=re;function A(f,c){V("handleDragStart",f,c)}function r(f,c){V("handleDragOver",f,c)}function j(f,c){V("handleDragEnter",f,c)}function I(f,c){V("handleDragEnd",f,c)}function U(f){V("handleRemove",f)}function C(f){V("modalPicTap",f)}function te(){V("addVideo")}function R(){V("delVideo")}function X(){V("addCate")}function S(){V("addGoodsTag")}return(f,c)=>{const H=s("el-input"),m=s("el-form-item"),W=s("el-col"),G=s("el-progress"),D=s("el-cascader"),w=s("el-button"),o=s("el-radio"),se=s("el-radio-group"),ae=s("el-row"),ie=xe("lazy"),$=xe("db-click");return a(),p(ae,{gutter:24},{default:l(()=>[e(W,{span:24},{default:l(()=>[e(m,{label:"商品名称:",prop:"store_name"},{default:l(()=>[e(H,{class:"content_width",modelValue:n.formValidate.store_name,"onUpdate:modelValue":c[0]||(c[0]=L=>n.formValidate.store_name=L),placeholder:"请输入商品名称",maxlength:"80","show-word-limit":""},null,8,["modelValue"])]),_:1})]),_:1}),e(W,{span:24},{default:l(()=>[e(m,{label:"单位:",prop:"unit_name"},{default:l(()=>[e(H,{class:"input_width",modelValue:n.formValidate.unit_name,"onUpdate:modelValue":c[1]||(c[1]=L=>n.formValidate.unit_name=L),placeholder:"请输入单位",maxlength:"5","show-word-limit":""},null,8,["modelValue"])]),_:1})]),_:1}),e(W,{span:24},{default:l(()=>[e(m,{label:"商品轮播图:",prop:"slider_image"},{default:l(()=>[t("div",xo,[(a(!0),v(ye,null,Fe(n.formValidate.slider_image,(L,ue)=>(a(),v("div",{class:"pictrue",key:ue,draggable:"true",onDragstart:O=>A(O,L),onDragover:ul(O=>r(O,L),["prevent"]),onDragenter:O=>j(O,L),onDragend:O=>I(O,L)},[z(t("img",null,null,512),[[ie,L]]),z(t("i",{class:"el-icon-error btndel",onClick:O=>U(ue)},null,8,Ao),[[$]])],40,wo))),128)),n.formValidate.slider_image.length<10?z((a(),v("div",{key:0,class:"upLoad acea-row row-center-wrapper",onClick:c[2]||(c[2]=L=>C("duo"))},[...c[7]||(c[7]=[t("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])])),[[$]]):F("",!0),e(H,{modelValue:n.formValidate.slider_image[0],"onUpdate:modelValue":c[3]||(c[3]=L=>n.formValidate.slider_image[0]=L),style:{display:"none"}},null,8,["modelValue"])]),c[8]||(c[8]=t("div",{class:"tip"},"建议尺寸:800*800,可拖拽改变图片顺序,默认首张图为主图,最多上传10张",-1))]),_:1})]),_:1}),e(W,{span:24,id:"selectvideo"},{default:l(()=>[e(m,{label:"添加视频:",prop:"video_link"},{default:l(()=>[n.formValidate.video_link?F("",!0):(a(),v("div",{key:0,class:"videbox",onClick:te},[...c[9]||(c[9]=[t("i",{class:"el-icon-video-camera"},null,-1)])])),n.formValidate.video_link?(a(),v("div",Co,[t("video",{style:{width:"100%",height:"100%"},src:n.formValidate.video_link,controls:"controls"}," 您的浏览器不支持 video 标签。 ",8,Fo),c[10]||(c[10]=t("div",{class:"mark"},null,-1)),z(t("i",{class:"el-icon-delete iconv",onClick:R},null,512),[[$]])])):F("",!0),n.upload.videoIng?(a(),p(G,{key:2,class:"progress",percentage:n.progress,"stroke-width":5},null,8,["percentage"])):F("",!0),c[11]||(c[11]=t("div",{class:"tip"},"建议时长:9~30秒,视频宽高比16:9",-1))]),_:1})]),_:1}),e(W,{span:24},{default:l(()=>[e(m,{label:"商品分类:",prop:"cate_id"},{default:l(()=>[e(D,{class:"content_width",modelValue:n.formValidate.cate_id,"onUpdate:modelValue":c[4]||(c[4]=L=>n.formValidate.cate_id=L),filterable:"",options:n.treeSelect,props:{multiple:!0,checkStrictly:!0,emitPath:!1},clearable:""},null,8,["modelValue","options"]),z((a(),v("span",{class:"addfont",onClick:X},[...c[12]||(c[12]=[y("新增分类",-1)])])),[[$]])]),_:1})]),_:1}),e(W,{span:24},{default:l(()=>[e(m,{label:"商品标签:"},{default:l(()=>[t("div",So,[n.tileLabelList.length?(a(),p(Ve(sn),{key:0,activeId:n.formValidate.label_list,"onUpdate:activeId":c[5]||(c[5]=L=>n.formValidate.label_list=L),listData:n.tileLabelList},null,8,["activeId","listData"])):F("",!0),z((a(),p(w,{onClick:S},{default:l(()=>[...c[13]||(c[13]=[y("选择标签",-1)])]),_:1})),[[$]])])]),_:1})]),_:1}),e(W,{span:24},{default:l(()=>[e(m,{label:"商品状态:"},{default:l(()=>[e(se,{modelValue:n.formValidate.is_show,"onUpdate:modelValue":c[6]||(c[6]=L=>n.formValidate.is_show=L)},{default:l(()=>[e(o,{label:1,value:1,class:"radio"},{default:l(()=>[...c[14]||(c[14]=[y("上架",-1)])]),_:1}),e(o,{label:0,value:0},{default:l(()=>[...c[15]||(c[15]=[y("下架",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})}}}),Do=Oe($o,[["__scopeId","data-v-e402678a"]]),Uo={class:"specifications"},To=["onClick"],Bo=["onClick"],Io={class:"specifications-item-box"},Ro={class:"specifications-item-name mb18"},Lo={class:"rulesBox ml30"},Oo={class:"mr10 spec drag"},Po=["onClick"],No={key:0,class:"img-popover"},jo=["onClick"],Eo=["src"],Mo={key:1,class:"el-icon-plus"},qo=["onClick"],Wo={key:0,class:"mr10 spec"},Go=["onClick"],Ko={key:0},zo=["onClick"],Xo={key:0,class:"pictrue pictrueTab"},Ho={key:1,class:"upLoad pictrueTab acea-row row-center-wrapper"},Yo={key:0},Qo=["onClick"],Jo={key:0,class:"pictrue pictrueTab"},Zo={key:1,class:"upLoad pictrueTab acea-row row-center-wrapper"},ei={key:2},li={key:0,class:"pictrue"},ti={key:1,class:"upLoad acea-row row-center-wrapper"},ai=Object.assign({name:"SpecStock"},{__name:"SpecStock",props:{formValidate:{type:Object,required:!0},ruleList:{type:Array,required:!0},attrs:{type:Array,required:!0},manyFormValidate:{type:Array,required:!0},oneFormValidate:{type:Array,required:!0},tableKey:{type:Number,required:!0},canSel:{type:Boolean,required:!0},formDynamic:{type:Object,required:!0},oneFormBatch:{type:Array,required:!0}},emits:["changeSpec","confirm","onMoveSpec","changeDefaultSelect","changeDefaultShow","modalPicTap","handleRemove2","batchAdd","handleAddRole","batchDel","handleFocus","attrDetailChangeValue","handleBlur","attrChangeValue","handleSelImg","handleSaveAsTemplate","changeCurrentIndex","handleRemoveImg","handleRemoveRole","see","createAttr"],setup(n,{emit:re}){const V=n,A=re,r=b=>V.attrs.indexOf(b),j=new WeakMap;let I=0;const U=b=>(j.has(b)||j.set(b,++I),j.get(b));function C(b){A("changeSpec",b)}function te(b){A("confirm",b)}function R(b){A("onMoveSpec",b)}function X(b,h){A("changeDefaultSelect",b,h)}function S(b){A("changeDefaultShow",b)}function f(b,h,M){A("modalPicTap",b,h,M)}function c(b,h,M){A("handleRemove2",b,h,M)}function H(){A("batchAdd")}function m(){A("handleAddRole")}function W(){A("batchDel")}function G(b){A("handleFocus",b)}function D(b,h){A("attrDetailChangeValue",b,h)}function w(b){A("handleBlur",b)}function o(b,h){A("attrChangeValue",b,h)}const se=u(-1),ae=u();function ie(b){se.value=b,Sl(()=>{var h;return(h=ae.value)==null?void 0:h.focus()})}function $(b){A("createAttr",V.formDynamic.attrsVal,b)}function L(b){A("createAttr",V.formDynamic.attrsVal,b),se.value=-1}function ue(b){A("handleSelImg",b)}function O(){A("handleSaveAsTemplate")}function Y(b){A("changeCurrentIndex",b)}function Q(b){A("handleRemoveImg",b)}function _e(b){A("handleRemoveRole",b)}function ge({row:b,column:h,rowIndex:M,columnIndex:de}){b.index=M||"",h.index=de}function B(b,h){b?(V.attrs.map((M,de)=>{de!==h&&(M.add_pic=0)}),V.canSel=!1):V.canSel=!0}function x({row:b,column:h,rowIndex:M,columnIndex:de}){if(de===0&&M>0){let pe=h.label;const k=V.manyFormValidate[M].detail[pe],De=V.manyFormValidate.findIndex((be,we)=>{if(we>0)return be.detail[pe]==k});if(M==De){let be=1;for(let we=De+1;we{const M=s("el-radio"),de=s("el-radio-group"),pe=s("el-dropdown-item"),k=s("el-dropdown-menu"),De=s("el-dropdown"),be=s("el-form-item"),we=s("el-col"),ce=s("el-input"),Se=s("el-checkbox"),Xe=s("el-tooltip"),$e=s("el-button"),Ke=s("el-option"),We=s("el-select"),le=s("el-input-number"),J=s("el-divider"),He=s("el-switch"),tl=s("el-table-column"),cl=s("el-table"),Qe=s("el-row"),Me=xe("db-click"),nl=xe("lazy");return a(),p(Qe,{gutter:24},{default:l(()=>[e(we,{span:24},{default:l(()=>[e(be,{label:"规格类型:",props:"spec_type"},{default:l(()=>[e(de,{modelValue:n.formValidate.spec_type,"onUpdate:modelValue":h[0]||(h[0]=ee=>n.formValidate.spec_type=ee),onInput:C},{default:l(()=>[e(M,{label:0,value:0,class:"radio"},{default:l(()=>[...h[24]||(h[24]=[y("单规格",-1)])]),_:1}),e(M,{label:1,value:1},{default:l(()=>[...h[25]||(h[25]=[y("多规格",-1)])]),_:1})]),_:1},8,["modelValue"]),n.formValidate.spec_type==1?(a(),p(De,{key:0,class:"ml20",onCommand:te,trigger:"hover"},{dropdown:l(()=>[e(k,null,{default:l(()=>[(a(!0),v(ye,null,Fe(n.ruleList,(ee,Pe)=>(a(),p(pe,{key:Pe,command:ee.rule_name},{default:l(()=>[y(_(ee.rule_name),1)]),_:2},1032,["command"]))),128))]),_:1})]),default:l(()=>[h[26]||(h[26]=t("span",{class:"el-dropdown-link"},[y(" 选择规格模版"),t("i",{class:"el-icon-arrow-down el-icon--right"})],-1))]),_:1})):F("",!0)]),_:1})]),_:1}),n.formValidate.spec_type===1?(a(),p(we,{key:0,span:24,class:"noForm"},{default:l(()=>[e(be,{label:"商品规格:",prop:""},{default:l(()=>[t("div",Uo,[e(Ve(Ll),{group:"specifications",disabled:n.attrs.length<2,list:n.attrs,handle:".move-icon",onEnd:R,animation:"300","item-key":r},{item:l(({element:ee,index:Pe})=>[t("div",{class:"specifications-item active",onClick:K=>Y(Pe)},[h[33]||(h[33]=t("div",{class:"move-icon"},[t("span",{class:"iconfont icondrag2"})],-1)),t("i",{class:"del el-icon-error",onClick:K=>_e(Pe,ee.value)},null,8,Bo),t("div",Io,[h[32]||(h[32]=t("div",{class:"lineBox"},null,-1)),t("div",Ro,[e(ce,{modelValue:ee.value,"onUpdate:modelValue":K=>ee.value=K,placeholder:"规格名称",onChange:K=>o(Pe,ee.value),onFocus:K=>G(ee.value),class:"specifications-item-name-input",maxlength:"30","show-word-limit":""},null,8,["modelValue","onUpdate:modelValue","onChange","onFocus"]),e(Se,{class:"ml20",modelValue:ee.add_pic,"onUpdate:modelValue":K=>ee.add_pic=K,disabled:!ee.add_pic&&!n.canSel,"true-value":1,"false-value":0,onChange:K=>B(K,Pe)},{default:l(()=>[...h[27]||(h[27]=[y("添加规格图",-1)])]),_:1},8,["modelValue","onUpdate:modelValue","disabled","onChange"]),e(Xe,{class:"item",effect:"dark",content:"添加规格图片, 仅支持打开一个(建议尺寸:800*800)",placement:"right"},{default:l(()=>[...h[28]||(h[28]=[t("i",{class:"el-icon-info"},null,-1)])]),_:1})]),t("div",Lo,[e(Ve(Ll),{class:"item",list:ee.detail,disabled:ee.detail.length<2,handle:".drag",onEnd:R,"item-key":U},{item:l(({element:K,index:me})=>[t("div",Oo,[t("i",{class:"el-icon-error",onClick:qe=>c(ee.detail,me,K.value)},null,8,Po),e(ce,{style:{width:"120px"},modelValue:K.value,"onUpdate:modelValue":qe=>K.value=qe,placeholder:"规格值",onChange:qe=>D(K.value,Pe),onFocus:qe=>G(K.value),maxlength:"30",onBlur:h[1]||(h[1]=qe=>w())},{prefix:l(()=>[...h[29]||(h[29]=[t("span",{class:"iconfont icondrag2"},null,-1)])]),_:1},8,["modelValue","onUpdate:modelValue","onChange","onFocus"]),ee.add_pic?(a(),v("div",No,[h[30]||(h[30]=t("div",{class:"popper-arrow"},null,-1)),t("div",{class:"popper",onClick:qe=>ue(K,me)},[K.pic?(a(),v("img",{key:0,class:"img",src:K.pic},null,8,Eo)):(a(),v("i",Mo))],8,jo),K.pic?(a(),v("i",{key:0,class:"img-del el-icon-error",onClick:qe=>Q(K)},null,8,qo)):F("",!0)])):F("",!0)])]),footer:l(()=>[se.value===Pe?(a(),v("div",Wo,[e(ce,{ref_key:"attrInputRef",ref:ae,style:{width:"120px"},placeholder:"规格值",modelValue:n.formDynamic.attrsVal,"onUpdate:modelValue":h[2]||(h[2]=K=>n.formDynamic.attrsVal=K),onKeyup:Gl(K=>$(Pe),["enter"]),onBlur:K=>L(Pe),maxlength:"30"},null,8,["modelValue","onKeyup","onBlur"])])):z((a(),v("div",{key:1,class:"addfont",type:"text",onClick:K=>ie(Pe)},[...h[31]||(h[31]=[y("添加规格值",-1)])],8,Go)),[[Me]])]),_:2},1032,["list","disabled"])])])],8,To)]),_:1},8,["disabled","list"]),n.attrs.length<4?z((a(),p($e,{key:0,onClick:h[3]||(h[3]=ee=>m())},{default:l(()=>[...h[34]||(h[34]=[y("添加新规格",-1)])]),_:1})),[[Me]]):F("",!0),n.attrs.length>=1?z((a(),p($e,{key:1,type:"text",onClick:h[4]||(h[4]=ee=>O())},{default:l(()=>[...h[35]||(h[35]=[y("另存为模板",-1)])]),_:1})),[[Me]]):F("",!0)])]),_:1})]),_:1})):F("",!0),n.formValidate.spec_type===1?(a(),p(we,{key:1,span:24},{default:l(()=>[n.manyFormValidate.length?(a(),p(be,{key:0,label:"商品属性:",class:"labeltop"},{default:l(()=>[(a(),p(cl,{"row-key":"index",height:"700px",data:n.manyFormValidate,style:{width:"100%"},"cell-class-name":ge,"span-method":x,border:"",key:n.tableKey},{default:l(()=>[(a(!0),v(ye,null,Fe(n.formValidate.header,(ee,Pe)=>(a(),p(tl,{key:Pe,label:ee.title,"min-width":ee.minWidth||"100",fixed:ee.fixed},{default:l(K=>[K.$index==0?(a(),v(ye,{key:0},[ee.key?(a(),v(ye,{key:0},[n.attrs.length&&n.attrs[K.column.index]&&n.manyFormValidate.length?(a(),v("div",Ko,[e(We,{modelValue:n.oneFormBatch[0][ee.title],"onUpdate:modelValue":me=>n.oneFormBatch[0][ee.title]=me,placeholder:`请选择${ee.title}`,clearable:""},{default:l(()=>[(a(!0),v(ye,null,Fe(n.attrs[K.column.index].detail,me=>(a(),p(Ke,{key:me.value,label:me.value,value:me.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","placeholder"])])):F("",!0)],64)):ee.slot==="pic"?z((a(),v("div",{key:1,class:"acea-row row-middle",onClick:me=>f("dan","duopi",K.$index)},[n.oneFormBatch[0].pic?(a(),v("div",Xo,[z(t("img",null,null,512),[[nl,n.oneFormBatch[0].pic]])])):(a(),v("div",Ho,[...h[36]||(h[36]=[t("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])]))],8,zo)),[[Me]]):ee.slot==="price"?(a(),p(le,{key:2,controls:!1,modelValue:n.oneFormBatch[0].price,"onUpdate:modelValue":h[5]||(h[5]=me=>n.oneFormBatch[0].price=me),min:0,max:9999999999,class:"priceBox",clearable:""},null,8,["modelValue"])):ee.slot==="cost"?(a(),p(le,{key:3,controls:!1,modelValue:n.oneFormBatch[0].cost,"onUpdate:modelValue":h[6]||(h[6]=me=>n.oneFormBatch[0].cost=me),min:0,max:9999999999,class:"priceBox",clearable:""},null,8,["modelValue"])):ee.slot==="original_price"?(a(),p(le,{key:4,controls:!1,modelValue:n.oneFormBatch[0].original_price,"onUpdate:modelValue":h[7]||(h[7]=me=>n.oneFormBatch[0].original_price=me),min:0,class:"priceBox",clearable:""},null,8,["modelValue"])):ee.slot==="stock"?(a(),p(le,{key:5,controls:!1,modelValue:n.oneFormBatch[0].stock,"onUpdate:modelValue":h[8]||(h[8]=me=>n.oneFormBatch[0].stock=me),min:0,max:9999999999,class:"priceBox",clearable:""},null,8,["modelValue"])):ee.slot==="bar_code"?(a(),p(ce,{key:6,modelValue:n.oneFormBatch[0].bar_code,"onUpdate:modelValue":h[9]||(h[9]=me=>n.oneFormBatch[0].bar_code=me)},null,8,["modelValue"])):ee.slot==="bar_code_number"?(a(),p(ce,{key:7,modelValue:n.oneFormBatch[0].bar_code_number,"onUpdate:modelValue":h[10]||(h[10]=me=>n.oneFormBatch[0].bar_code_number=me)},null,8,["modelValue"])):ee.slot==="weight"?(a(),p(le,{key:8,controls:!1,modelValue:n.oneFormBatch[0].weight,"onUpdate:modelValue":h[11]||(h[11]=me=>n.oneFormBatch[0].weight=me),step:.1,min:0,max:9999999999,class:"priceBox",clearable:""},null,8,["modelValue"])):ee.slot==="volume"?(a(),p(le,{key:9,controls:!1,modelValue:n.oneFormBatch[0].volume,"onUpdate:modelValue":h[12]||(h[12]=me=>n.oneFormBatch[0].volume=me),step:.1,min:0,max:9999999999,class:"priceBox",clearable:""},null,8,["modelValue"])):ee.slot==="selected_spec"?(a(),v(ye,{key:10},[y(" -- ")],64)):ee.slot==="action"?(a(),v(ye,{key:11},[z((a(),v("a",{onClick:H},[...h[37]||(h[37]=[y("批量修改",-1)])])),[[Me]]),e(J,{direction:"vertical"}),z((a(),v("a",{onClick:W},[...h[38]||(h[38]=[y("清空",-1)])])),[[Me]])],64)):F("",!0)],64)):(a(),v(ye,{key:1},[ee.key?(a(),v("div",Yo,[t("span",null,_(K.row.detail[ee.key]),1)])):F("",!0),ee.slot==="pic"?z((a(),v("div",{key:1,class:"acea-row row-middle",onClick:me=>f("dan","duoTable",K.$index)},[n.manyFormValidate[K.$index].pic?(a(),v("div",Jo,[z(t("img",null,null,512),[[nl,n.manyFormValidate[K.$index].pic]])])):(a(),v("div",Zo,[...h[39]||(h[39]=[t("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])]))],8,Qo)),[[Me]]):F("",!0),ee.slot==="price"?(a(),p(le,{key:2,controls:!1,modelValue:n.manyFormValidate[K.$index].price,"onUpdate:modelValue":me=>n.manyFormValidate[K.$index].price=me,min:0,max:9999999999,class:"priceBox"},null,8,["modelValue","onUpdate:modelValue"])):ee.slot==="cost"?(a(),p(le,{key:3,controls:!1,modelValue:n.manyFormValidate[K.$index].cost,"onUpdate:modelValue":me=>n.manyFormValidate[K.$index].cost=me,min:0,max:9999999999,class:"priceBox"},null,8,["modelValue","onUpdate:modelValue"])):ee.slot==="original_price"?(a(),p(le,{key:4,controls:!1,modelValue:n.manyFormValidate[K.$index].original_price,"onUpdate:modelValue":me=>n.manyFormValidate[K.$index].original_price=me,min:0,max:9999999999,class:"priceBox"},null,8,["modelValue","onUpdate:modelValue"])):ee.slot==="stock"?(a(),p(le,{key:5,controls:!1,modelValue:n.manyFormValidate[K.$index].stock,"onUpdate:modelValue":me=>n.manyFormValidate[K.$index].stock=me,min:0,max:9999999999,precision:0,class:"priceBox"},null,8,["modelValue","onUpdate:modelValue"])):ee.slot==="bar_code"?(a(),p(ce,{key:6,modelValue:n.manyFormValidate[K.$index].bar_code,"onUpdate:modelValue":me=>n.manyFormValidate[K.$index].bar_code=me},null,8,["modelValue","onUpdate:modelValue"])):ee.slot==="bar_code_number"?(a(),p(ce,{key:7,modelValue:n.manyFormValidate[K.$index].bar_code_number,"onUpdate:modelValue":me=>n.manyFormValidate[K.$index].bar_code_number=me},null,8,["modelValue","onUpdate:modelValue"])):ee.slot==="weight"?(a(),p(le,{key:8,controls:!1,modelValue:n.manyFormValidate[K.$index].weight,"onUpdate:modelValue":me=>n.manyFormValidate[K.$index].weight=me,min:0,max:9999999999,class:"priceBox"},null,8,["modelValue","onUpdate:modelValue"])):ee.slot==="volume"?(a(),p(le,{key:9,controls:!1,modelValue:n.manyFormValidate[K.$index].volume,"onUpdate:modelValue":me=>n.manyFormValidate[K.$index].volume=me,min:0,max:9999999999,class:"priceBox"},null,8,["modelValue","onUpdate:modelValue"])):ee.slot==="selected_spec"?(a(),p(He,{key:10,modelValue:n.manyFormValidate[K.$index].is_default_select,"onUpdate:modelValue":me=>n.manyFormValidate[K.$index].is_default_select=me,"active-value":1,"inactive-value":0,onChange:me=>X(me,K.$index)},null,8,["modelValue","onUpdate:modelValue","onChange"])):ee.slot==="action"?(a(),p(He,{key:11,class:"defineSwitch",modelValue:n.manyFormValidate[K.$index].is_show,"onUpdate:modelValue":me=>n.manyFormValidate[K.$index].is_show=me,"active-text":"显示","inactive-text":"隐藏","active-value":1,"inactive-value":0,onChange:me=>S(K.$index)},null,8,["modelValue","onUpdate:modelValue","onChange"])):F("",!0)],64))]),_:2},1032,["label","min-width","fixed"]))),128))]),_:1},8,["data"]))]),_:1})):F("",!0)]),_:1})):F("",!0),n.formValidate.spec_type===0?(a(),v("div",ei,[e(we,{span:24},{default:l(()=>[e(be,{label:"图片:"},{default:l(()=>[z((a(),v("div",{class:"pictrueBox",onClick:h[15]||(h[15]=ee=>f("dan","danTable",0))},[n.oneFormValidate[0].pic?(a(),v("div",li,[z(t("img",null,null,512),[[nl,n.oneFormValidate[0].pic]]),e(ce,{modelValue:n.oneFormValidate[0].pic,"onUpdate:modelValue":h[13]||(h[13]=ee=>n.oneFormValidate[0].pic=ee),style:{display:"none"}},null,8,["modelValue"])])):(a(),v("div",ti,[e(ce,{modelValue:n.oneFormValidate[0].pic,"onUpdate:modelValue":h[14]||(h[14]=ee=>n.oneFormValidate[0].pic=ee),style:{display:"none"}},null,8,["modelValue"]),h[40]||(h[40]=t("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1))]))])),[[Me]])]),_:1})]),_:1}),e(we,{span:24},{default:l(()=>[e(be,{label:"售价:"},{default:l(()=>[e(le,{controls:!1,modelValue:n.oneFormValidate[0].price,"onUpdate:modelValue":h[16]||(h[16]=ee=>n.oneFormValidate[0].price=ee),min:0,precision:2,max:9999999999,class:"input_width input-number-unit-class","active-change":!1,"class-unit":"元"},null,8,["modelValue"])]),_:1})]),_:1}),e(we,{span:24},{default:l(()=>[e(be,{label:"成本价:"},{default:l(()=>[e(le,{controls:!1,modelValue:n.oneFormValidate[0].cost,"onUpdate:modelValue":h[17]||(h[17]=ee=>n.oneFormValidate[0].cost=ee),min:0,max:9999999999,precision:2,"active-change":!1,class:"input_width input-number-unit-class","class-unit":"元"},null,8,["modelValue"])]),_:1})]),_:1}),e(we,{span:24},{default:l(()=>[e(be,{label:"划线价:"},{default:l(()=>[e(le,{controls:!1,modelValue:n.oneFormValidate[0].original_price,"onUpdate:modelValue":h[18]||(h[18]=ee=>n.oneFormValidate[0].original_price=ee),min:0,max:9999999999,precision:2,"active-change":!1,class:"input_width input-number-unit-class","class-unit":"元"},null,8,["modelValue"])]),_:1})]),_:1}),e(we,{span:24},{default:l(()=>[e(be,{label:"库存:"},{default:l(()=>[e(le,{controls:!1,modelValue:n.oneFormValidate[0].stock,"onUpdate:modelValue":h[19]||(h[19]=ee=>n.oneFormValidate[0].stock=ee),min:0,max:9999999999,precision:0,class:"input_width input-number-unit-class","class-unit":n.formValidate.unit_name||"件"},null,8,["modelValue","class-unit"])]),_:1})]),_:1}),e(we,{span:24},{default:l(()=>[e(be,{label:"商品编码:"},{default:l(()=>[e(ce,{modelValue:n.oneFormValidate[0].bar_code,"onUpdate:modelValue":h[20]||(h[20]=ee=>n.oneFormValidate[0].bar_code=ee),modelModifiers:{trim:!0},class:"input_width"},null,8,["modelValue"])]),_:1})]),_:1}),e(we,{span:24},{default:l(()=>[e(be,{label:"条形码:"},{default:l(()=>[e(ce,{modelValue:n.oneFormValidate[0].bar_code_number,"onUpdate:modelValue":h[21]||(h[21]=ee=>n.oneFormValidate[0].bar_code_number=ee),modelModifiers:{trim:!0},class:"input_width"},null,8,["modelValue"])]),_:1})]),_:1}),e(we,{span:24},{default:l(()=>[e(be,{label:"重量:"},{default:l(()=>[e(le,{controls:!1,modelValue:n.oneFormValidate[0].weight,"onUpdate:modelValue":h[22]||(h[22]=ee=>n.oneFormValidate[0].weight=ee),min:0,max:9999999999,class:"input_width input-number-unit-class","class-unit":"kg"},null,8,["modelValue"])]),_:1})]),_:1}),e(we,{span:24},{default:l(()=>[e(be,{label:"体积:"},{default:l(()=>[e(le,{controls:!1,modelValue:n.oneFormValidate[0].volume,"onUpdate:modelValue":h[23]||(h[23]=ee=>n.oneFormValidate[0].volume=ee),min:0,max:9999999999,class:"input_width input-number-unit-class","class-unit":"m³"},null,8,["modelValue"])]),_:1})]),_:1})])):F("",!0)]),_:1})}}}),ni=Oe(ai,[["__scopeId","data-v-94921928"]]),oi={class:"ifam"},ii=["innerHTML"],si=Object.assign({name:"ProductDetail"},{__name:"ProductDetail",props:{contents:{type:String,required:!0},content:{type:String,required:!0},storeName:{type:String,default:""}},emits:["getEditorContent"],setup(n,{emit:re}){const V=n,A=Ae(()=>{const I=(V.storeName||"").trim();return I?`请围绕商品《${I}》撰写一篇产品推广文章,介绍产品亮点、使用场景与适用人群,结构清晰,800字左右。`:"写一篇产品推广文章,介绍产品亮点、使用场景与适用人群,结构清晰,800字左右。"}),r=re;function j(I){r("getEditorContent",I)}return(I,U)=>{const C=s("el-form-item"),te=s("el-col"),R=s("el-row");return a(),p(R,null,{default:l(()=>[e(te,{span:16},{default:l(()=>[e(C,{label:"商品详情:"},{default:l(()=>[e(mn,{style:{width:"100%"},content:n.contents,"ai-default-prompt":A.value,onEditorContent:j},null,8,["content","ai-default-prompt"])]),_:1})]),_:1}),e(te,{span:6,style:{width:"33%"}},{default:l(()=>[t("div",oi,[t("div",{class:"content",innerHTML:n.content},null,8,ii)])]),_:1})]),_:1})}}}),ri=Oe(si,[["__scopeId","data-v-f41fc397"]]),di={class:"acea-row"},ui={class:"acea-row"},ci={class:"acea-row"},mi=Object.assign({name:"LogisticsSetting"},{__name:"LogisticsSetting",props:{formValidate:{type:Object,required:!0},templateList:{type:Array,required:!0}},emits:["deliveryMethodsChange","freightConfigChange","addTemp"],setup(n,{emit:re}){const V=n,A=re,r=Ae({get(){return V.formValidate.delivery_methods||["express"]},set(ie){A("deliveryMethodsChange",ie)}}),j=Ae(()=>V.formValidate.delivery_methods&&V.formValidate.delivery_methods.includes("express")),I=Ae(()=>V.formValidate.delivery_methods&&V.formValidate.delivery_methods.includes("door_service")),U=Ae(()=>V.formValidate.freight_config&&V.formValidate.freight_config.express||{}),C=Ae(()=>U.value.type||"free"),te=Ae(()=>U.value.postage||0),R=Ae(()=>U.value.temp_id||null),X=Ae({get(){return R.value},set(ie){w(ie)}}),S=Ae({get(){return C.value},set(ie){G(ie)}}),f=Ae(()=>V.formValidate.freight_config&&V.formValidate.freight_config.door_service||{}),c=Ae(()=>f.value.type||"free"),H=Ae(()=>f.value.postage||0),m=Ae({get(){return c.value},set(ie){o(ie)}});function W(ie){const $=V.formValidate.freight_config&&typeof V.formValidate.freight_config=="object"?JSON.parse(JSON.stringify(V.formValidate.freight_config)):{};return Object.assign({},$,ie)}function G(ie){const $={type:ie};ie==="fixed"?$.postage=te.value:ie==="template"&&($.temp_id=R.value),A("freightConfigChange",W({express:$}))}function D(ie){const $={type:"fixed",postage:parseFloat(ie)||0};A("freightConfigChange",W({express:$}))}function w(ie){A("freightConfigChange",W({express:{type:"template",temp_id:ie||0}}))}function o(ie){const $={type:ie};ie==="fixed"&&($.postage=H.value),A("freightConfigChange",W({door_service:$}))}function se(ie){const $={type:"fixed",postage:parseFloat(ie)||0};A("freightConfigChange",W({door_service:$}))}function ae(){A("addTemp")}return(ie,$)=>{const L=s("el-checkbox"),ue=s("el-checkbox-group"),O=s("el-form-item"),Y=s("el-col"),Q=s("el-radio"),_e=s("el-radio-group"),ge=s("el-input-number"),B=s("el-option"),x=s("el-select"),b=s("el-row"),h=xe("db-click");return a(),p(b,null,{default:l(()=>[e(Y,{span:24},{default:l(()=>[e(O,{label:"物流方式:",prop:"delivery_methods"},{default:l(()=>[e(ue,{modelValue:r.value,"onUpdate:modelValue":$[0]||($[0]=M=>r.value=M)},{default:l(()=>[e(L,{value:"express"},{default:l(()=>[...$[4]||($[4]=[y("快递",-1)])]),_:1}),e(L,{value:"pickup"},{default:l(()=>[...$[5]||($[5]=[y("到店",-1)])]),_:1}),e(L,{value:"door_service"},{default:l(()=>[...$[6]||($[6]=[y("上门服务",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),j.value?(a(),v(ye,{key:0},[e(Y,{span:24},{default:l(()=>[e(O,{label:"运费设置:"},{default:l(()=>[e(_e,{modelValue:S.value,"onUpdate:modelValue":$[1]||($[1]=M=>S.value=M)},{default:l(()=>[e(Q,{label:"free",value:"free"},{default:l(()=>[...$[7]||($[7]=[y("包邮",-1)])]),_:1}),e(Q,{label:"fixed",value:"fixed"},{default:l(()=>[...$[8]||($[8]=[y("固定邮费",-1)])]),_:1}),e(Q,{label:"template",value:"template"},{default:l(()=>[...$[9]||($[9]=[y("运费模板",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),C.value==="fixed"?(a(),p(Y,{key:0,span:24},{default:l(()=>[e(O,{label:""},{default:l(()=>[t("div",di,[e(ge,{controls:!1,min:0,"model-value":te.value,onChange:D,placeholder:"请输入金额",class:"input_width maxW input-number-unit-class","class-unit":"元"},null,8,["model-value"])])]),_:1})]),_:1})):F("",!0),C.value==="template"?(a(),p(Y,{key:1,span:24},{default:l(()=>[e(O,{label:"",prop:"templateId"},{default:l(()=>[t("div",ui,[e(x,{modelValue:X.value,"onUpdate:modelValue":$[2]||($[2]=M=>X.value=M),clearable:"",placeholder:"请选择运费模板",class:"input_width maxW"},{default:l(()=>[(a(!0),v(ye,null,Fe(n.templateList,(M,de)=>(a(),p(B,{value:M.id,key:de,label:M.name},null,8,["value","label"]))),128))]),_:1},8,["modelValue"]),z((a(),v("span",{class:"addfont",onClick:ae},[...$[10]||($[10]=[y("新增运费模板",-1)])])),[[h]])])]),_:1})]),_:1})):F("",!0)],64)):F("",!0),I.value?(a(),v(ye,{key:1},[e(Y,{span:24},{default:l(()=>[e(O,{label:"上门服务费:"},{default:l(()=>[e(_e,{modelValue:m.value,"onUpdate:modelValue":$[3]||($[3]=M=>m.value=M)},{default:l(()=>[e(Q,{label:"free",value:"free"},{default:l(()=>[...$[11]||($[11]=[y("免费上门",-1)])]),_:1}),e(Q,{label:"fixed",value:"fixed"},{default:l(()=>[...$[12]||($[12]=[y("固定上门费",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),c.value==="fixed"?(a(),p(Y,{key:0,span:24},{default:l(()=>[e(O,{label:""},{default:l(()=>[t("div",ci,[e(ge,{controls:!1,min:0,step:1,precision:2,"model-value":H.value,onChange:se,placeholder:"请输入上门服务费金额",class:"input_width maxW input-number-unit-class","class-unit":"元"},null,8,["model-value"])])]),_:1})]),_:1})):F("",!0)],64)):F("",!0)]),_:1})}}}),pi=Oe(mi,[["__scopeId","data-v-19fbf751"]]),fi={key:0},vi={key:1,class:"pictrue pictrueTab"},_i={key:2},gi={key:3},yi={key:4},bi={key:5},hi={key:6},Vi={key:7},ki={key:8},xi={key:0,class:"brokerage"},wi={key:1,class:"brokerage"},Ai={key:0},Ci={key:1,class:"pictrue pictrueTab"},Fi={key:2},Si={key:3},$i={key:4},Di={key:5},Ui={key:6},Ti={key:7},Bi={key:8},Ii={key:9},Ri=Object.assign({name:"PriceCommission"},{__name:"PriceCommission",props:{formValidate:{type:Object,required:!0},oneFormValidate:{type:Array,required:!0},manyFormValidate:{type:Array,required:!0},columnsInstall:{type:Array,required:!0},columnsInstal2:{type:Array,required:!0},manyVipPrice:{type:Number,default:void 0},manyVipDiscount:{type:Number,default:void 0}},emits:["checkAllGroupChange","changeVipPrice","changeDiscount","brokerageSetUp","update:manyVipPrice","update:manyVipDiscount","update:manyFormValidate"],setup(n,{emit:re}){const V=re;function A(){V("checkAllGroupChange")}function r(U,C){V("changeVipPrice",U,C)}function j(U,C){V("changeDiscount",U,C)}function I(){V("brokerageSetUp")}return(U,C)=>{const te=s("el-radio"),R=s("el-radio-group"),X=s("el-form-item"),S=s("el-col"),f=s("el-checkbox"),c=s("el-input-number"),H=s("el-table-column"),m=s("el-table"),W=s("el-button"),G=s("el-row"),D=xe("lazy"),w=xe("db-click");return a(),p(G,null,{default:l(()=>[e(S,{span:24},{default:l(()=>[e(X,{label:"会员专属:"},{default:l(()=>[e(R,{modelValue:n.formValidate.vip_product,"onUpdate:modelValue":C[0]||(C[0]=o=>n.formValidate.vip_product=o)},{default:l(()=>[e(te,{label:0,value:0},{default:l(()=>[...C[10]||(C[10]=[y("不限制",-1)])]),_:1}),e(te,{label:1,value:1},{default:l(()=>[...C[11]||(C[11]=[y("仅会员可见",-1)])]),_:1}),e(te,{label:2,value:2},{default:l(()=>[...C[12]||(C[12]=[y("仅会员可买",-1)])]),_:1})]),_:1},8,["modelValue"]),C[13]||(C[13]=t("div",{class:"tip"}," 会员只是付费会员,不限制:所有用户可见可买,仅会员可见:仅会员可见可买,仅会员可买:所有人可见仅会员可买 ",-1))]),_:1})]),_:1}),e(S,{span:8},{default:l(()=>[e(X,{label:"付费会员价:"},{default:l(()=>[e(f,{"true-value":1,"false-value":0,modelValue:n.formValidate.is_vip,"onUpdate:modelValue":C[1]||(C[1]=o=>n.formValidate.is_vip=o),onChange:A},{default:l(()=>[...C[14]||(C[14]=[y("开启单独设置",-1)])]),_:1},8,["modelValue"])]),_:1})]),_:1}),n.formValidate.is_vip==1?(a(),p(S,{key:0,span:24},{default:l(()=>[n.formValidate.spec_type===0?(a(),p(X,{key:0,label:"商品属性:"},{default:l(()=>[e(m,{data:n.oneFormValidate},{default:l(()=>[(a(!0),v(ye,null,Fe(n.columnsInstall,(o,se)=>(a(),p(H,{label:o.title,"min-width":o.minWidth,key:se},{default:l(ae=>[o.key?(a(),v("div",fi,[t("span",null,_(ae.row[o.key]),1)])):o.slot==="pic"?(a(),v("div",vi,[z(t("img",null,null,512),[[D,n.oneFormValidate[0].pic]])])):o.slot==="price"?(a(),v("span",_i,_(n.oneFormValidate[0].price),1)):o.slot==="cost"?(a(),v("span",gi,_(n.oneFormValidate[0].cost),1)):o.slot==="original_price"?(a(),v("span",yi,_(n.oneFormValidate[0].original_price),1)):o.slot==="stock"?(a(),v("span",bi,_(n.oneFormValidate[0].stock),1)):o.slot==="bar_code"?(a(),v("span",hi,_(n.oneFormValidate[0].bar_code),1)):o.slot==="bar_code_number"?(a(),v("span",Vi,_(n.oneFormValidate[0].bar_code_number),1)):o.slot==="weight"?(a(),v("span",ki,_(n.oneFormValidate[0].weight),1)):o.slot==="vip_price"?(a(),p(c,{key:9,controls:!1,modelValue:n.oneFormValidate[0].vip_price,"onUpdate:modelValue":C[2]||(C[2]=ie=>n.oneFormValidate[0].vip_price=ie),min:0,max:9999999999,class:"priceBox input-number-unit-class","class-unit":"元",onInput:C[3]||(C[3]=ie=>r(0,"oneFormValidate"))},null,8,["modelValue"])):o.slot==="vip_proportion"?(a(),p(c,{key:10,controls:!1,modelValue:n.oneFormValidate[0].vip_proportion,"onUpdate:modelValue":C[4]||(C[4]=ie=>n.oneFormValidate[0].vip_proportion=ie),min:0,max:9999999999,class:"priceBox input-number-unit-class","class-unit":"%",onInput:C[5]||(C[5]=ie=>j(0,"oneFormValidate"))},null,8,["modelValue"])):F("",!0)]),_:2},1032,["label","min-width"]))),128))]),_:1},8,["data"])]),_:1})):F("",!0),n.formValidate.spec_type===1?(a(),p(X,{key:1,label:"批量设置:"},{default:l(()=>[n.formValidate.is_vip==1?(a(),v("span",xi,[C[15]||(C[15]=y(" 会员价:",-1)),e(c,{controls:!1,placeholder:"请输入会员价",min:0,max:9999999999,class:"columnsBox input_width input-number-unit-class","class-unit":"元",value:n.manyVipPrice,onInput:C[6]||(C[6]=o=>V("update:manyVipPrice",o)),onFocus:C[7]||(C[7]=o=>V("update:manyVipDiscount",void 0))},null,8,["value"])])):F("",!0),n.formValidate.is_vip==1?(a(),v("span",wi,[C[16]||(C[16]=y(" 会员折扣:",-1)),e(c,{controls:!1,placeholder:"请输入折扣比例",min:0,max:9999999999,class:"columnsBox input_width input-number-unit-class","class-unit":"%",value:n.manyVipDiscount,onInput:C[8]||(C[8]=o=>V("update:manyVipDiscount",o)),onFocus:C[9]||(C[9]=o=>V("update:manyVipPrice",void 0))},null,8,["value"])])):F("",!0),z((a(),p(W,{type:"primary",onClick:I},{default:l(()=>[...C[17]||(C[17]=[y("批量设置",-1)])]),_:1})),[[w]])]),_:1})):F("",!0),n.formValidate.spec_type==1&&n.formValidate.is_vip&&n.manyFormValidate.length&&n.columnsInstal2?(a(),p(X,{key:2,label:"商品属性:"},{default:l(()=>[e(m,{data:n.manyFormValidate.slice(1)},{default:l(()=>[(a(!0),v(ye,null,Fe(n.columnsInstal2,(o,se)=>(a(),p(H,{label:o.title,"min-width":o.minWidth,key:se},{default:l(ae=>[o.key?(a(),v("div",Ai,[t("span",null,_(ae.row.detail[o.key]),1)])):o.slot==="pic"?(a(),v("div",Ci,[z(t("img",null,null,512),[[D,n.manyFormValidate[ae.$index+1].pic]])])):o.slot==="price"?(a(),v("span",Fi,_(n.manyFormValidate[ae.$index+1].price),1)):o.slot==="cost"?(a(),v("span",Si,_(n.manyFormValidate[ae.$index+1].cost),1)):o.slot==="original_price"?(a(),v("span",$i,_(n.manyFormValidate[ae.$index+1].original_price),1)):o.slot==="stock"?(a(),v("span",Di,_(n.manyFormValidate[ae.$index+1].stock),1)):o.slot==="bar_code"?(a(),v("span",Ui,_(n.manyFormValidate[ae.$index+1].bar_code),1)):o.slot==="bar_code_number"?(a(),v("span",Ti,_(n.manyFormValidate[ae.$index+1].bar_code_number),1)):o.slot==="weight"?(a(),v("span",Bi,_(n.manyFormValidate[ae.$index+1].weight),1)):o.slot==="volume"?(a(),v("span",Ii,_(n.manyFormValidate[ae.$index+1].volume),1)):o.slot==="vip_price"?(a(),p(c,{key:10,controls:!1,value:n.manyFormValidate[ae.$index+1].vip_price,min:0,max:9999999999,class:"priceBox input-number-unit-class","class-unit":"元",onInput:ie=>{const $=[...n.manyFormValidate];$[ae.$index+1].vip_price=ie,V("update:manyFormValidate",$),r(ae.$index+1)}},null,8,["value","onInput"])):o.slot==="vip_proportion"?(a(),p(c,{key:11,controls:!1,value:n.manyFormValidate[ae.$index+1].vip_proportion,min:0,max:9999999999,class:"priceBox input-number-unit-class","class-unit":"%",onInput:ie=>{const $=[...n.manyFormValidate];$[ae.$index+1].vip_proportion=ie,V("update:manyFormValidate",$),j(ae.$index+1)}},null,8,["value","onInput"])):F("",!0)]),_:2},1032,["label","min-width"]))),128))]),_:1},8,["data"])]),_:1})):F("",!0)]),_:1})):F("",!0)]),_:1})}}}),Li=Oe(Ri,[["__scopeId","data-v-83e95712"]]),Oi={key:0,class:"mb10"},Pi={style:{display:"flex"}},Ni={style:{width:"90%"}},ji={key:0},Ei={key:1,class:"span"},Mi={class:"acea-row row-middle"},qi={class:"acea-row row-middle"},Wi={class:"acea-row row-middle"},Gi={class:"picBox"},Ki=["src"],zi=["onClick"],Xi=Object.assign({name:"MarketingSetting"},{__name:"MarketingSetting",props:{formValidate:{type:Object,required:!0},couponName:{type:Array,default:()=>[]},dataLabel:{type:Array,default:()=>[]},activity:{type:Object,default:()=>({})}},emits:["handleClose","addCoupon","openLabel","closeLabel","addLabel","onchangeTime","handleRemoveRecommend","changeGoods"],setup(n,{emit:re}){function V(f){return f}const A=re;function r(f){A("handleClose",f)}function j(){A("addCoupon")}function I(){A("openLabel")}function U(){A("closeLabel")}function C(){A("addLabel")}function te(f){A("onchangeTime",f)}function R(f){A("handleRemoveRecommend",f)}function X(f){A("changeGoods",f)}function S(f){f.target.style.display="none"}return(f,c)=>{const H=s("el-input-number"),m=s("el-form-item"),W=s("el-col"),G=s("el-tag"),D=s("el-button"),w=s("el-switch"),o=s("el-radio"),se=s("el-radio-group"),ae=s("el-date-picker"),ie=s("el-row"),$=xe("db-click");return a(),p(ie,null,{default:l(()=>[e(W,{span:24},{default:l(()=>[e(m,{label:"购买送积分:",prop:"give_integral"},{default:l(()=>[e(H,{controls:!1,modelValue:n.formValidate.give_integral,"onUpdate:modelValue":c[0]||(c[0]=L=>n.formValidate.give_integral=L),min:0,max:9999999999,placeholder:"请输入积分",class:"input_width input-number-unit-class","class-unit":"积分"},null,8,["modelValue"])]),_:1})]),_:1}),e(W,{span:24},{default:l(()=>[e(m,{label:"购买送优惠券:"},{default:l(()=>[n.couponName.length?(a(),v("div",Oi,[(a(!0),v(ye,null,Fe(n.couponName,(L,ue)=>(a(),p(G,{class:"mr10",closable:"",key:ue,onClose:O=>r(L)},{default:l(()=>[y(_(L.title),1)]),_:2},1032,["onClose"]))),128))])):F("",!0),z((a(),p(D,{type:"primary",onClick:j},{default:l(()=>[...c[13]||(c[13]=[y("选择优惠券",-1)])]),_:1})),[[$]])]),_:1})]),_:1}),e(W,{span:24},{default:l(()=>[e(m,{label:"关联用户标签:",prop:"label_id"},{default:l(()=>[t("div",Pi,[z((a(),v("div",{class:"labelInput acea-row row-between-wrapper",onClick:I},[t("div",Ni,[n.dataLabel.length?(a(),v("div",ji,[(a(!0),v(ye,null,Fe(n.dataLabel,(L,ue)=>(a(),p(G,{closable:"",onClose:O=>U(L),key:ue},{default:l(()=>[y(_(L.label_name),1)]),_:2},1032,["onClose"]))),128))])):(a(),v("span",Ei,"选择用户关联标签"))]),c[14]||(c[14]=t("div",{class:"iconfont iconxiayi"},null,-1))])),[[$]]),z((a(),v("span",{class:"addfont",onClick:C},[...c[15]||(c[15]=[y("新增标签",-1)])])),[[$]])])]),_:1})]),_:1}),e(W,{span:24},{default:l(()=>[...c[16]||(c[16]=[t("div",{class:"line"},null,-1)])]),_:1}),e(W,{span:24},{default:l(()=>[e(m,{label:"起购数量:"},{default:l(()=>[e(H,{controls:!1,min:1,max:9999999999,precision:0,modelValue:n.formValidate.min_qty,"onUpdate:modelValue":c[1]||(c[1]=L=>n.formValidate.min_qty=L),placeholder:"请输入起购数量",class:"input_width input-number-unit-class","class-unit":n.formValidate.unit_name||"件"},null,8,["modelValue","class-unit"])]),_:1})]),_:1}),e(W,{span:24},{default:l(()=>[e(m,{label:"是否限购:"},{default:l(()=>[e(w,{modelValue:n.formValidate.is_limit,"onUpdate:modelValue":c[2]||(c[2]=L=>n.formValidate.is_limit=L),class:"defineSwitch","active-text":"开启","inactive-text":"关闭","active-value":1,"inactive-value":0,size:"large"},null,8,["modelValue"])]),_:1})]),_:1}),e(W,{span:24},{default:l(()=>[n.formValidate.is_limit?(a(),p(m,{key:0,label:"限购类型:"},{default:l(()=>[e(se,{modelValue:n.formValidate.limit_type,"onUpdate:modelValue":c[3]||(c[3]=L=>n.formValidate.limit_type=L)},{default:l(()=>[e(o,{label:1,value:1},{default:l(()=>[...c[17]||(c[17]=[y("单次限购",-1)])]),_:1}),e(o,{label:2,value:2},{default:l(()=>[...c[18]||(c[18]=[y("单人限购",-1)])]),_:1})]),_:1},8,["modelValue"]),c[19]||(c[19]=t("div",{class:"tip"},"单次限购是限制每次下单最多购买的数量,单人限购是限制一个用户总共可以购买的数量",-1))]),_:1})):F("",!0)]),_:1}),n.formValidate.is_limit?(a(),p(W,{key:0,span:24},{default:l(()=>[e(m,{label:"限购数量:",prop:"limit_num"},{default:l(()=>[t("div",Mi,[e(H,{controls:!1,placeholder:"请输入限购数量",precision:0,min:1,modelValue:n.formValidate.limit_num,"onUpdate:modelValue":c[4]||(c[4]=L=>n.formValidate.limit_num=L),class:"input_width input-number-unit-class","class-unit":n.formValidate.unit_name||"件"},null,8,["modelValue","class-unit"])])]),_:1})]),_:1})):F("",!0),n.formValidate.is_limit?(a(),p(W,{key:1,span:24},{default:l(()=>[...c[20]||(c[20]=[t("div",{class:"line"},null,-1)])]),_:1})):F("",!0),e(W,{span:24},{default:l(()=>[e(m,{label:"预售商品:"},{default:l(()=>[e(w,{modelValue:n.formValidate.presale,"onUpdate:modelValue":c[5]||(c[5]=L=>n.formValidate.presale=L),class:"defineSwitch","active-text":"开启","inactive-text":"关闭","active-value":1,"inactive-value":0,size:"large"},null,8,["modelValue"])]),_:1})]),_:1}),n.formValidate.presale?(a(),p(W,{key:2,span:24},{default:l(()=>[e(m,{label:"预售活动时间:",prop:"presale_time"},{default:l(()=>[t("div",qi,[e(ae,{clearable:"",editable:!1,type:"datetimerange",format:"YYYY-MM-DD HH:mm","value-format":"YYYY-MM-DD HH:mm","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期",onChange:te,modelValue:n.formValidate.presale_time,"onUpdate:modelValue":c[6]||(c[6]=L=>n.formValidate.presale_time=L)},null,8,["modelValue"])]),c[21]||(c[21]=t("div",{class:"tip"},"设置活动开启结束时间,用户可以在设置时间内发起参与预售",-1))]),_:1})]),_:1})):F("",!0),n.formValidate.presale?(a(),p(W,{key:3,span:24},{default:l(()=>[e(m,{label:"发货时间:",prop:"presale_day"},{default:l(()=>[t("div",Wi,[c[22]||(c[22]=t("span",{class:"mr10"},"预售活动结束后",-1)),e(H,{class:"w-80 input-number-unit-class",controls:!1,placeholder:"请输入发货时间",precision:0,min:1,"class-unit":"天",modelValue:n.formValidate.presale_day,"onUpdate:modelValue":c[7]||(c[7]=L=>n.formValidate.presale_day=L)},null,8,["modelValue"]),c[23]||(c[23]=t("span",{class:"ml10"}," 之内 ",-1))])]),_:1})]),_:1})):F("",!0),e(W,{span:24},{default:l(()=>[...c[24]||(c[24]=[t("div",{class:"line"},null,-1)])]),_:1}),n.formValidate.activity.length>1?(a(),p(W,{key:4,span:24},{default:l(()=>[e(m,{label:"活动优先级:"},{default:l(()=>[e(Ve(Ll),{class:"color-list acea-row row-middle",list:n.formValidate.activity,group:"color","item-key":V},{item:l(({element:L})=>[t("div",{class:st(["color-item",n.activity[L]])},_(L),3)]),_:1},8,["list"]),c[25]||(c[25]=t("div",{class:"tip"},"可拖动按钮调整活动的优先展示顺序",-1))]),_:1})]),_:1})):F("",!0),e(W,{span:24},{default:l(()=>[e(m,{label:"优品推荐商品:"},{default:l(()=>[t("div",Gi,[(a(!0),v(ye,null,Fe(n.formValidate.recommend_list,(L,ue)=>(a(),v("div",{class:"pictrue",key:ue},[t("img",{src:L.image||"",onError:c[8]||(c[8]=O=>S(O))},null,40,Ki),z(t("i",{class:"el-icon-error btndel",onClick:O=>R(ue)},null,8,zi),[[$]])]))),128)),z((a(),v("div",{class:"upLoad acea-row row-center-wrapper",onClick:X},[...c[26]||(c[26]=[t("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])])),[[$]])])]),_:1})]),_:1}),e(W,{span:24},{default:l(()=>[...c[27]||(c[27]=[t("div",{class:"line"},null,-1)])]),_:1}),e(W,{span:24},{default:l(()=>[e(m,{label:"已售数量:"},{default:l(()=>[e(H,{controls:!1,min:0,max:9999999999,modelValue:n.formValidate.ficti,"onUpdate:modelValue":c[9]||(c[9]=L=>n.formValidate.ficti=L),placeholder:"请输入虚拟销量",class:"input_width input-number-unit-class","class-unit":n.formValidate.unit_name||"件"},null,8,["modelValue","class-unit"])]),_:1})]),_:1}),e(W,{span:24},{default:l(()=>[e(m,{label:"排序:"},{default:l(()=>[e(H,{controls:!1,min:0,max:9999999999,modelValue:n.formValidate.sort,"onUpdate:modelValue":c[10]||(c[10]=L=>n.formValidate.sort=L),placeholder:"请输入数字越大越靠前",class:"input_width"},null,8,["modelValue"])]),_:1})]),_:1}),e(W,{span:24},{default:l(()=>[...c[28]||(c[28]=[t("div",{class:"line"},null,-1)])]),_:1}),e(W,{span:24},{default:l(()=>[e(m,{label:"开启送礼:"},{default:l(()=>[e(w,{modelValue:n.formValidate.is_gift,"onUpdate:modelValue":c[11]||(c[11]=L=>n.formValidate.is_gift=L),class:"defineSwitch","active-text":"开启","inactive-text":"关闭","active-value":1,"inactive-value":0,size:"large"},null,8,["modelValue"]),c[29]||(c[29]=t("div",{class:"tip"},"开启送礼后,移动端商品详情的底部菜单显示送礼按钮",-1))]),_:1})]),_:1}),n.formValidate.is_gift?(a(),p(W,{key:5,span:24},{default:l(()=>[e(m,{label:"礼品附加费:"},{default:l(()=>[e(H,{controls:!1,min:0,max:1e5,modelValue:n.formValidate.gift_price,"onUpdate:modelValue":c[12]||(c[12]=L=>n.formValidate.gift_price=L),placeholder:"请输入礼品附加费",class:"input_width input-number-unit-class","class-unit":"元"},null,8,["modelValue"]),c[30]||(c[30]=t("div",{class:"tip"},"送礼下单时,订单默认无运费,此费用可用于负担商品运费、产品包装等附加费用",-1))]),_:1})]),_:1})):F("",!0)]),_:1})}}}),Hi=Oe(Xi,[["__scopeId","data-v-db63a431"]]),Yi={key:0,class:"pictrue"},Qi={key:1,class:"upLoad acea-row row-center-wrapper"},Ji={class:"specifications"},Zi=["onClick"],es={key:0,class:"addCustom_content"},ls=["onClick"],ts={class:"addCustomBox"},as=Object.assign({name:"OtherSetting"},{__name:"OtherSetting",props:{formValidate:{type:Object,required:!0},customBtn:{type:Number,default:0},paramsType:{type:Number,default:0},paramsTypeList:{type:Array,default:()=>[]},protectionList:{type:Array,default:()=>[]},CustomList:{type:Array,default:()=>[]}},emits:["modalPicTap","changeParamsType","deleteRow","handleAddParams","addProtection","customMessBtn","delcustom","addcustom"],setup(n,{emit:re}){const V=n,A=re,r=Ae({get(){return V.customBtn},set(S){A("customMessBtn",S)}});function j(S,f){A("modalPicTap",S,f)}function I(S){A("changeParamsType",S)}function U(S){A("deleteRow",S)}function C(){A("handleAddParams")}function te(){A("addProtection")}function R(S){A("delcustom",S)}function X(){A("addcustom")}return(S,f)=>{const c=s("el-input"),H=s("el-form-item"),m=s("el-col"),W=s("el-checkbox"),G=s("el-checkbox-group"),D=s("el-button"),w=s("el-option"),o=s("el-select"),se=s("el-table-column"),ae=s("el-table"),ie=s("el-switch"),$=s("el-row"),L=xe("lazy"),ue=xe("db-click");return a(),p($,null,{default:l(()=>[e(m,{span:24},{default:l(()=>[e(H,{label:"商品关键字:"},{default:l(()=>[e(c,{class:"content_width",modelValue:n.formValidate.keyword,"onUpdate:modelValue":f[0]||(f[0]=O=>n.formValidate.keyword=O),modelModifiers:{trim:!0},placeholder:"请输入商品关键字",maxlength:"100","show-word-limit":""},null,8,["modelValue"]),f[8]||(f[8]=t("div",{class:"tip"},"SEO优化以及可以根据关键字进行商品搜索",-1))]),_:1})]),_:1}),e(m,{span:24},{default:l(()=>[e(H,{label:"商品简介:"},{default:l(()=>[e(c,{class:"content_width",modelValue:n.formValidate.intro,"onUpdate:modelValue":f[1]||(f[1]=O=>n.formValidate.intro=O),modelModifiers:{trim:!0},type:"textarea",rows:3,placeholder:"请输入商品简介",maxlength:"100","show-word-limit":""},null,8,["modelValue"]),f[9]||(f[9]=t("div",{class:"tip"},"公众号分享商品以及SEO优化使用",-1))]),_:1})]),_:1}),e(m,{span:24},{default:l(()=>[e(H,{label:"商品口令:"},{default:l(()=>[e(c,{modelValue:n.formValidate.command_word,"onUpdate:modelValue":f[2]||(f[2]=O=>n.formValidate.command_word=O),modelModifiers:{trim:!0},placeholder:"请输入商品口令",type:"textarea",rows:3,class:"content_width"},null,8,["modelValue"]),f[10]||(f[10]=t("div",{class:"tip"},"将其他平台的商品口令填写保存,移动端进入商品详情的时候自动复制",-1))]),_:1})]),_:1}),e(m,{span:24},{default:l(()=>[e(H,{label:"商品推荐图:"},{default:l(()=>[z((a(),v("div",{class:"pictrueBox",onClick:f[5]||(f[5]=O=>j("dan","recommend_image"))},[n.formValidate.recommend_image?(a(),v("div",Yi,[z(t("img",null,null,512),[[L,n.formValidate.recommend_image]]),e(c,{modelValue:n.formValidate.recommend_image,"onUpdate:modelValue":f[3]||(f[3]=O=>n.formValidate.recommend_image=O),modelModifiers:{trim:!0},style:{display:"none"}},null,8,["modelValue"])])):(a(),v("div",Qi,[e(c,{modelValue:n.formValidate.recommend_image,"onUpdate:modelValue":f[4]||(f[4]=O=>n.formValidate.recommend_image=O),modelModifiers:{trim:!0},style:{display:"none"}},null,8,["modelValue"]),f[11]||(f[11]=t("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1))])),f[12]||(f[12]=t("div",{class:"tip"},"移动端分类样式2显示的长方形图片,建议比例:5:2",-1))])),[[ue]])]),_:1})]),_:1}),e(m,{span:24},{default:l(()=>[e(H,{label:"服务保障:"},{default:l(()=>[n.protectionList.length?(a(),p(G,{key:0,modelValue:n.formValidate.protection_list,"onUpdate:modelValue":f[6]||(f[6]=O=>n.formValidate.protection_list=O)},{default:l(()=>[(a(!0),v(ye,null,Fe(n.protectionList,(O,Y)=>(a(),p(W,{key:Y,value:O.id},{default:l(()=>[y(_(O.title),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])):z((a(),p(D,{key:1,type:"primary",onClick:te},{default:l(()=>[...f[13]||(f[13]=[y("添加保障",-1)])]),_:1})),[[ue]]),f[14]||(f[14]=t("div",{class:"tip"},"商品详情中显示的服务保障信息,可多选",-1))]),_:1})]),_:1}),e(m,{span:24},{default:l(()=>[e(H,{label:"商品参数:"},{default:l(()=>[e(o,{"model-value":n.paramsType,clearable:"",style:{width:"200px","margin-right":"10px"},onChange:I},{default:l(()=>[(a(!0),v(ye,null,Fe(n.paramsTypeList,O=>(a(),p(w,{value:O.id,key:O.id,label:O.name},null,8,["value","label"]))),128))]),_:1},8,["model-value"]),t("div",Ji,[e(ae,{class:"mt15",ref:"selection",data:n.formValidate.params_list},{default:l(()=>[e(se,{label:"参数名称","min-width":"180"},{default:l(O=>[e(c,{modelValue:O.row.name,"onUpdate:modelValue":Y=>O.row.name=Y},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),e(se,{label:"参数值","min-width":"180"},{default:l(O=>[e(c,{modelValue:O.row.value,"onUpdate:modelValue":Y=>O.row.value=Y},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),e(se,{label:"操作",fixed:"right",width:"80"},{default:l(O=>[z((a(),v("a",{class:"submission mr15",onClick:Y=>U(O.$index)},[...f[15]||(f[15]=[y("删除",-1)])],8,Zi)),[[ue]])]),_:1})]),_:1},8,["data"]),n.formValidate.params_list.length<8?z((a(),p(D,{key:0,type:"primary",class:"submission mr15 mt20",onClick:C},{default:l(()=>[...f[16]||(f[16]=[y("添加参数",-1)])]),_:1})),[[ue]]):F("",!0)])]),_:1})]),_:1}),e(m,{span:24},{default:l(()=>[e(H,{label:"自定义表单:"},{default:l(()=>[e(ie,{"active-value":1,"inactive-value":0,modelValue:r.value,"onUpdate:modelValue":f[7]||(f[7]=O=>r.value=O),size:"large"},{open:l(()=>[...f[17]||(f[17]=[t("span",null,"开启",-1)])]),close:l(()=>[...f[18]||(f[18]=[t("span",null,"关闭",-1)])]),_:1},8,["modelValue"]),n.customBtn?(a(),v("div",es,[(a(!0),v(ye,null,Fe(n.formValidate.custom_form,(O,Y)=>(a(),v("div",{key:Y,class:"custom_box"},[e(c,{modelValue:O.title,"onUpdate:modelValue":Q=>O.title=Q,modelModifiers:{trim:!0},placeholder:"表单标题"+(Y+1),style:{width:"150px","margin-right":"10px"},maxlength:"10","show-word-limit":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),e(o,{modelValue:O.label,"onUpdate:modelValue":Q=>O.label=Q,style:{width:"200px","margin-left":"6px","margin-right":"10px"}},{default:l(()=>[(a(!0),v(ye,null,Fe(n.CustomList,Q=>(a(),p(w,{value:Q.value,key:Q.value,label:Q.label},null,8,["value","label"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue"]),e(W,{modelValue:O.status,"onUpdate:modelValue":Q=>O.status=Q},{default:l(()=>[...f[19]||(f[19]=[y("必填",-1)])]),_:1},8,["modelValue","onUpdate:modelValue"]),z((a(),v("div",{class:"addfont",onClick:Q=>R(Y)},[...f[20]||(f[20]=[y("删除",-1)])],8,ls)),[[ue]])]))),128))])):F("",!0),z(t("div",ts,[z((a(),v("div",{class:"btn",onClick:X},[...f[21]||(f[21]=[y("+ 添加表单",-1)])])),[[ue]]),f[22]||(f[22]=t("div",{class:"tip"},"用户下单时需填写的信息,最多可设置10条,设置了自定义表单的商品不能加入购物车",-1))],512),[[al,n.customBtn]])]),_:1})]),_:1})]),_:1})}}}),ns=Oe(as,[["__scopeId","data-v-0d6bdf98"]]),os={class:"",id:"shopp-manager"},is=Object.assign({name:"ProductAdd"},{__name:"index",setup(n){const{proxy:re}=wt(),V=Dt(),A=rt(),r=qa(),j=ll.routePre,I=u(null),U=u(null),C=u(null),te=u(null),R=u(null),X=u(null),S=u(null),f=u(null),c=u(null),H=u(!1),m=u(!1),W=u([]),G=u([{tit:"基础信息",name:"1"},{tit:"规格库存",name:"2"},{tit:"商品详情",name:"3"},{tit:"物流设置",name:"4"},{tit:"会员价",name:"5"},{tit:"营销设置",name:"6"},{tit:"其他设置",name:"7"}]),D=u(0),w=u(0),o=u(""),se=u("");ll.apiBaseURL+"",ll.apiBaseURL+"";const ae=u(""),ie=u({}),$=u(0),L=u(!1),ue=u(!1),O=u(!1),Y=u(!1),Q=u([{pic:"",price:void 0,cost:void 0,original_price:void 0,stock:void 0,bar_code:"",bar_code_number:"",weight:void 0,volume:void 0}]),_e=u({attrsName:"",attrsVal:""}),ge=u(0),B=u(""),x=u([]),b=u([]),h=u([]),M={xl:6,lg:8,md:12,sm:12,xs:12},de={xl:4,lg:8,md:8,sm:8,xs:8},pe=u(0),k=u({delivery_methods:["express"],freight_config:{express:{type:"free",postage:0,temp_id:0},door_service:{type:"free",postage:0}},recommend:[],presale_day:1,presale:0,is_limit:0,limit_type:0,limit_num:0,presale_time:[],vip_product:0,custom_form:[],store_name:"",cate_id:[],label_id:[],keyword:"",unit_name:"",intro:"",image:"",recommend_image:"",slider_image:[],description:"",ficti:0,give_integral:0,sort:0,is_show:1,is_gift:0,gift_price:0,is_postage:0,is_sub:0,is_vip:0,recommend_list:[],params_list:[],id:0,spec_type:0,attrs:[],items:[{pic:"",price:0,cost:0,original_price:0,stock:0,bar_code:"",bar_code_number:""}],activity:["默认","秒杀","砍价","拼团"],couponName:[],header:[],selectRule:"",coupon_ids:[],command_word:"",min_qty:1,label_list:[],protection_list:[],weight:0,volume:0}),De=u([]),be=u([]),we=u(!0),ce=u([]),Se=u([{pic:"",price:0,cost:0,original_price:0,stock:0,bar_code:"",bar_code_number:"",weight:0,volume:0,brokerage:0,brokerage_two:0,vip_price:0}]),Xe=u([]),$e=u("1"),Ke=u(""),We=u(!1),le=u(!1),J=u([]),He=u(""),tl=u(0),cl=ko,Qe=u(void 0),Me=u(void 0),nl=gl({videoIng:!1}),ee=u(!1),Pe=u(0),K=u([]),me=u({默认:"red",秒杀:"blue",砍价:"green",拼团:"yellow"}),qe=u([]),sl=u([]),rl=u([]),yl=[{title:"会员价",slot:"vip_price",align:"center",width:95},{title:"会员折扣",slot:"vip_proportion",align:"center",width:95}],ml=u([]),bl=u([]),hl=u(null),Be=u(!0),ze=u(""),Vl=u(0),kl=u([]),P=u([]),Z=u([]);let Ue=0,fe=null;const N=Ae(()=>r.isMobile),d=Ae(()=>N.value?void 0:"120px"),he=Ae(()=>N.value?"top":"right");Wa((i,g,E)=>{Ga.emit("onTagsViewRefreshRouterView",V.path),E()});function ve(i){return i==="oneFormValidate"?Se.value:ce.value}x.value=ot.slice(0,8),Kl(),Ol(async()=>{V.params.id!=="0"&&V.params.id?await fa():V.params.id==="0"?Te():Ye(),V.query.type?(L.value=!0,$.value=Number(V.query.type)):$.value=0,mt(),et(),dt(),Mt(),zl(),Rl(),Ie(),Ia()});function Te(){Ka().then(i=>{let g=i.data.info;if(Ye(),!Array.isArray(g)){let E=g.cate_id.map(Number);g.label_id.map(Number),K.value=Array.isArray(g.items)?g.items.map(oe=>({value:oe.name,detail:oe.values.map(Ce=>({value:Ce}))})):[];let ne=[];g.coupons&&(g.coupons.map(oe=>{ne.push(oe.id)}),qe.value=g.coupons),Object.assign(k.value,g),k.value.activity=g.activity||["默认","秒杀","砍价","拼团"],W.value=g.label_id,k.value.coupon_ids=ne,sl.value=ne,rl.value=g.coupons,k.value.cate_id=E,Se.value=g.attr?[g.attr]:Array.isArray(g.attrs)?g.attrs.slice(0,1).map(oe=>({...oe})):[],Wl(K.value),k.value.delivery_methods=g.delivery_methods||["express"],k.value.header=[],ce.value=Array.isArray(g.attrs)?g.attrs:[],Ue=Number(g.spec_type),k.value.spec_type=Ue,k.value.custom_form=g.custom_form||[],k.value.custom_form.length!=0&&(w.value=1),K.value.map(oe=>{oe.add_pic&&(Be.value=!1)}),Ue===0?ce.value=[]:(we.value=!0,Se.value=[{pic:g.image,price:0,cost:0,original_price:0,stock:0,bar_code:"",bar_code_number:"",weight:0,volume:0,brokerage:0,brokerage_two:0,vip_price:0}]),Rl(),O.value=!1}}).catch(i=>{T.error(i.msg)})}function Ie(){za({page:0,limit:0,status:1}).then(i=>{kl.value=i.data.list})}function Ye(){Ft().then(i=>{Z.value=i.data.flatMap(E=>E.list);let g=i.data;k.value.label_list.length?k.value.label_list.map(E=>{g.map(ne=>{ne.list.map(oe=>{oe.id===E?oe.active=!0:oe.active=!1})})}):g.map(E=>{E.list.map(ne=>{ne.active=!1})}),P.value=g})}function xl(){A.push({path:ll.routePre+"/product/protection/list"})}function je(){_t(Ja()).then(()=>mt())}function wl(i){k.value.delivery_methods=i}function Al(i){k.value.freight_config=i}function Re(){_t(un(0)).then(()=>Ye())}function pl(){m.value=!0}function Pl(i){i||(k.value.custom_form=[]),w.value=i}function Ee(){k.value.custom_form.length>9?T.warning("最多添加10条"):k.value.custom_form.push({title:"",label:"text",value:"",status:!1})}function $l(i){k.value.custom_form.splice(i,1)}function Dl(i){k.value.presale_time=i}function Je(i){o.value=i}function Nl(){L.value=!1}function Kl(){ie.value["Authori-zation"]="Bearer "+At("token")}function zl(){Xa().then(i=>{ae.value=i.data.upload_type})}function jl(i,g){let E=i.cate_id.map(Number);i.label_id.map(Number),K.value=Array.isArray(i.items)?i.items.map(oe=>({value:oe.value,detail:(oe.detail??[]).map(Ce=>typeof Ce=="string"?{value:Ce,pic:""}:{value:Ce.value??"",pic:Ce.pic??""}),add_pic:oe.add_pic??0})):[];let ne=[];i.coupons.map(oe=>{ne.push(oe.id)}),Object.assign(k.value,i),typeof k.value.recommend_list=="string"&&(k.value.recommend_list=[]),k.value.is_sub=Number(i.is_sub)||0,k.value.give_integral=Number(i.give_integral)||0,k.value.activity=i.activity||["默认","秒杀","砍价","拼团"],D.value=i.seletVideo,se.value=i.description,qe.value=i.coupons,k.value.coupon_ids=ne,sl.value=ne,W.value=i.label_id,rl.value=i.coupons,k.value.delivery_methods=i.delivery_methods||["express"],k.value.custom_form=i.custom_form||[],k.value.custom_form.length!=0&&(w.value=1),k.value.cate_id=E,i.attr&&(Se.value=[i.attr],Se.value[0].vip_proportion=(Se.value[0].vip_price/Se.value[0].price*100).toFixed(2),Se.value[0].weight=i.weight??0,Se.value[0].volume=i.volume??0),Ye(),k.value.header=[],Ue=Number(i.spec_type),k.value.spec_type=Ue,K.value.map(oe=>{oe.add_pic&&(Be.value=!1)}),Ue===0?ce.value=[]:(we.value=!0,Se.value=[{pic:"",price:0,cost:0,original_price:0,stock:0,bar_code:"",bar_code_number:"",weight:0,volume:0,brokerage:0,brokerage_two:0,vip_price:0}],Wl(K.value),ce.value=[...Q.value,...Array.isArray(i.attrs)?i.attrs:[]]),setTimeout(oe=>{El()},1e3),Rl()}function Cl(i){L.value=!1,jl(i)}const Ul=u("商品采集");function Xl(i){i!=null&&i.length&&(Ul.value="复制"+i.map(g=>g.name).join("、"))}function Tl(){El()}function El(){let i=K.value.length+3;const g=k.value.is_vip==1;k.value.spec_type===0?b.value=g?ot.slice(0,i).concat(yl):ot.slice(0,i):h.value=g?ml.value.slice(0,i).concat(yl):ml.value.slice(0,i)}function Bl(){R.value.isTemplate=!0,R.value.tableList()}function Ml(i,g,E){B.value=g,ge.value=E,X.value.isTemplate=!0,X.value.tableList(3)}function Hl(i,g="manyFormValidate"){ve(g)[i].vip_price=(ve(g)[i].price*(ve(g)[i].vip_proportion/100)).toFixed(2)}function Fl(i,g="manyFormValidate"){ve(g)[i].vip_proportion=(ve(g)[i].vip_price/ve(g)[i].price*100).toFixed(2)}function Ze(i){const g={};return i.filter(E=>{const ne=JSON.stringify(E);return g[ne]?!1:(g[ne]=!0,!0)})}function Il(i,g){k.value.coupon_ids=i,qe.value=Ze(g)}function Yl(i){ve(B.value)[ge.value].coupon_id=i.id,ve(B.value)[ge.value].coupon_name=i.title,X.value.isTemplate=!1}function Ql(i){let g=qe.value.indexOf(i);qe.value.splice(g,1);let E=k.value.coupon_ids;E.splice(g,1),sl.value=E,rl.value=qe.value}function Jl(){C.value.isTemplate=!0}function q(){re.$videoModal(i=>{k.value.video_link=i})}function Ge(){k.value.video_link="",Pe.value=0,ee.value=!1,nl.videoIng=!1}function Zl(){$e.value=(Number($e.value)-1).toString()}function Ot(){$e.value=(Number($e.value)+1).toString()}function Pt(){et()}function Nt(){if(Qe.value==null&&Me.value==null)return T.error("请填写会员价或会员折扣后进行批量添加");if(Qe.value!=null&&Me.value!=null)return T.error("会员价和会员折扣只能二选一添加");for(let i of ce.value)Qe.value!=null?(i.vip_price=Qe.value,i.vip_proportion=(i.vip_price/i.price*100).toFixed(2)):(i.vip_proportion=Me.value,i.vip_price=(i.price*(Me.value/100)).toFixed(2))}function jt(){Q.value=[{pic:"",price:void 0,cost:void 0,original_price:void 0,stock:void 0,bar_code:"",bar_code_number:"",weight:void 0,volume:void 0}]}function Et(i){if(k.value.selectRule=i,K.value=[],k.value.selectRule.trim().length<=0)return T.error("请选择属性");De.value.forEach((g,E)=>{g.rule_name===k.value.selectRule&&(K.value=[...g.rule_value])}),Be.value=!0,fl(K.value)}function et(){Ha().then(i=>{De.value=i.data})}function dt(){St().then(i=>{be.value=i.data})}function Mt(){Ya().then(i=>{bl.value=i.data.list})}function qt(i){i?Wt(i):k.value.params_list=[]}function Wt(i){Za(i).then(g=>{k.value.params_list=g.data.value})}function ql(i,g){const E=new Set(i),ne=new Set(g);for(let oe of ne)if(!E.has(oe))return!1;return!0}function Gt(){let i=[];for(let E of K.value)Q.value[0][E.value]&&i.push(Q.value[0][E.value]);const g=["pic","price","cost","original_price","stock","weight","volume","bar_code","bar_code_number"];for(let E of ce.value){const ne=Q.value[0];(!i.length||ql(E.attr_arr,i))&&g.forEach(oe=>{ne[oe]&&ne[oe]!==void 0&&(oe==="pic"&&ne[oe]||oe!="pic")&&(E[oe]=ne[oe])})}}function Kt(i,g){let E=!1;for(let ne=1;ne{for(let ne of ce.value)ql(ne.attr_arr,i)&&(ne.pic=g)}).catch(()=>{});else for(let ne of ce.value)ql(ne.attr_arr,i)&&(ne.pic=g)}function zt(){_e.value.attrsName="",_e.value.attrsVal=""}function Xt(i){K.value.splice(i,1),ce.value.splice(i,1),K.value.length?fl(K.value):(k.value.header=[],ce.value=[])}function Ht(i){for(let g=0;g{let g=K.value.map(ne=>({value:ne.value,detail:ne.detail.map(oe=>oe.value)}));$t({rule_name:i,spec:g},0).then(ne=>{T.success(ne.msg),et()}).catch(ne=>{T.error(ne.msg)})}).catch(()=>{})}function ea(i,g){fl(K.value,g)}function la(i){ze.value=i}function ta(){ze.value=""}function aa(i){re.$imgModal(g=>{i.pic=g.att_dir,Kt([i.value],g.att_dir)})}function na(i){i.pic=""}function oa(i,g){g.trim().length&&K.value[i].detail.length?(Wl(K.value),ce.value.length&&(ce.value.map((E,ne)=>{ne>0&&Object.keys(E.detail).includes(ze.value)&&(E.detail[g]=E.detail[ze.value],E[g]=E[ze.value],delete E.detail[ze.value],delete E[ze.value])}),ze.value=g)):fl(K.value)}function ia(i,g){if(ce.value.length){let E=K.value[g].value;ce.value.map((ne,oe)=>{if(oe>0&&Object.keys(ne.detail).includes(E)&&ne.detail[E]===ze.value){ne.detail[E]=i;let Ce=ne.attr_arr.findIndex(el=>el===ze.value);ne.attr_arr[Ce]=i}}),ze.value=i}else fl(K.value,1)}function sa(i,g){i?(K.value.map((E,ne)=>{ne!==g&&(E.add_pic=0)}),Be.value=!1):Be.value=!0}function ra(){fl(K.value)}function da(i){pe.value=i}function Wl(i){let E=[...i.map(ne=>({title:ne.value,key:ne.value,minWidth:140,fixed:"left"})),...ho];k.value.header=E,Vl.value+=1,ml.value=E}function fl(i,g){Wl(i);const E=ct(i);let ne=[];if(E.length>500){const oe=Math.ceil(E.length/500);for(let Ce=0;Ce{let ol=ut(i,E.slice(Ce,Ce+oe),g);ne=[...ne,...ol],ce.value=[...Q.value,...ne]},0)}else ne=ut(i,E,g),ce.value=[...Q.value,...ne]}function ut(i,g,E){const ne=ce.value.slice(1);return g.map(Ce=>{const el={attr_arr:Ce,detail:{},title:"",key:"",price:0,pic:"",original_price:0,cost:0,stock:0,is_show:1,is_default_select:0,unique:"",weight:"",volume:"",brokerage:0,brokerage_two:0,vip_price:0,vip_proportion:0};return i.forEach((ol,at)=>{const dl=Ce[at];el[ol.value]=dl,el.title=ol.value,el.key=ol.value,el.detail[ol.value]=dl;const Ne=ne.find(vl=>vl.attr_arr&&en(vl.attr_arr,Ce));if(Ne)Object.assign(el,{price:Ne.price,cost:Ne.cost,original_price:Ne.original_price,stock:Ne.stock,pic:Ne.pic,unique:Ne.unique||"",weight:Ne.weight||"",volume:Ne.volume||"",is_show:Ne.is_show||1,is_default_select:Ne.is_default_select||0,volume:Ne.volume||0,bar_code_number:Ne.bar_code_number||0,brokerage:Ne.brokerage,brokerage_two:Ne.brokerage_two,vip_price:Ne.vip_price,vip_proportion:Ne.vip_proportion});else if(ol.add_pic&&Ce.includes(E)){const vl=ol.detail.find(Le=>Ce.includes(Le.value));vl&&(el.pic=vl.pic)}}),el})}function ua(i,g){ce.value.map((E,ne)=>{ne!==g&&(E.is_default_select=0)}),i&&(ce.value[g].is_show=1)}function ca(i){ce.value[i].is_default_select===1&&(ce.value[i].is_show=1,T.error("默认规格不可隐藏"))}function ct(i,g=[]){if(i.length===0)return[g];const[E,...ne]=i;return E.detail.flatMap(oe=>ct(ne,[...g,oe.value]))}function ma(i,g){if(i){var E=K.value[g].detail.some(ne=>ne.value===i);if(E){T.error("规格值已存在");return}K.value[g].detail.push({value:i,pic:""}),ce.value.length?ea(K.value[g].value,i):fl(K.value),zt()}}function mt(){Ct(1).then(i=>{J.value=i.data}).catch(i=>{T.error(i.msg)})}function pa(i){k.value.is_sub=0}function fa(){O.value=!0,yn(V.params.id).then(async i=>{let g=i.data;jl(g),O.value=!1}).catch(i=>{O.value=!1,T.error(i.msg||"加载失败")})}function va(i){Xe.value.splice(i,1),k.value.slider_image.splice(i,1),Se.value[0].pic=k.value.slider_image[0]}function lt(i,g="",E=0){We.value=!0,Ke.value=i==="dan"?"单选":"多选",He.value=g,tl.value=E}function _a(i){switch(He.value){case"danFrom":k.value.image=i.att_dir,V.params.id||(k.value.spec_type===0?Se.value[0].pic=i.att_dir:(ce.value.map(g=>{g.pic=i.att_dir}),Q.value[0].pic=i.att_dir));break;case"danTable":Se.value[tl.value].pic=i.att_dir;break;case"duopi":Q.value[tl.value].pic=i.att_dir;break;case"recommend_image":k.value.recommend_image=i.att_dir;break;default:ce.value.length&&(ce.value[tl.value].pic=i.att_dir)}We.value=!1}function ga(i){k.value.params_list.splice(i,1)}function ya(i){Xe.value=i,Xe.value.map(g=>{k.value.slider_image.push(g.att_dir),k.value.slider_image=k.value.slider_image.splice(0,10)}),Se.value[0].pic=k.value.slider_image[0],We.value=!1}function ba(){I.value.validate(i=>{if(i){k.value.type=$.value,k.value.is_sub=0;let g=k.value.spec_type===0?Se.value:ce.value,E=JSON.parse(JSON.stringify(g));if(k.value.spec_type===1){if(E.length<2)return T.warning("商品规格-规格数量最少1个");E.shift()}for(let oe=0;oe1e6)return T.error("规格库存-库存超出系统范围(1000000)");if(k.value.is_vip===1){for(let oe=0;oe{ne.push(oe.id)}),k.value.label_id=ne,Y.value)return;Y.value=!0,k.value.description=pn(o.value),k.value.spec_type===0?(k.value.attrs=E,k.value.header=[],k.value.items=[],k.value.is_copy=0):(k.value.items=K.value,k.value.attrs=E,k.value.is_copy=1),k.value.product_type="normal",k.value.spec_type===0&&Se.value.length>0&&(k.value.weight=Se.value[0].weight??0,k.value.volume=Se.value[0].volume??0),k.value.id?hn(k.value.id,k.value).then(async oe=>{Y.value=!1,T.success(oe.msg),V.params.id==="0"&>().catch(Ce=>{T.error(Ce.msg)}),setTimeout(()=>{Y.value=!1,A.push({path:ll.routePre+"/product/normal/list"})},500)}).catch(oe=>{setTimeout(Ce=>{Y.value=!1},1e3),T.error(oe.msg)}):bn(k.value).then(async oe=>{Y.value=!1,T.success(oe.msg),gt().catch(Ce=>{T.error(Ce.msg)}),setTimeout(()=>{Y.value=!1,A.push({path:ll.routePre+"/product/normal/list"})},500)}).catch(oe=>{setTimeout(Ce=>{Y.value=!1},1e3),T.error(oe.msg)})}else if(k.value.store_name)if(k.value.cate_id.length)if(k.value.unit_name)if(k.value.slider_image.length){if(!k.value.delivery_methods||!k.value.delivery_methods.length)return T.warning("物流设置-至少选择一种物流方式");if(k.value.freight_config&&k.value.freight_config.express&&k.value.freight_config.express.type==="template"&&!k.value.freight_config.express.temp_id)return T.warning("商品信息-运费模板不能为空")}else return T.warning("商品信息-商品轮播图不能为空");else return T.warning("商品信息-商品单位不能为空");else return T.warning("商品信息-商品分类不能为空");else return T.warning("商品信息-商品名称不能为空")})}function ha(i){le.value=i}function Va(i,g){fe=g}function ka(i,g){fe=null}function xa(i){i.dataTransfer.dropEffect="move"}function wa(i,g){if(i.dataTransfer.effectAllowed="move",g===fe)return;const E=[...k.value.slider_image],ne=E.indexOf(fe),oe=E.indexOf(g);E.splice(oe,0,...E.splice(ne,1)),k.value.slider_image=E}function Aa(i){const g=new Map;return i.filter(E=>!g.has(E.product_id)&&g.set(E.product_id,1))}function Ca(i){ue.value=!1,k.value.recommend_list=Aa(k.value.recommend_list.concat(i))}function Fa(){ue.value=!0,Sl(()=>{S.value&&(S.value.getList(),S.value.goodsCategory())})}function Sa(i){H.value=!1,W.value=i}function $a(i){m.value=!1,k.value.label_list=Array.from(new Set(i))}function pt(){H.value=!1,m.value=!1}function Da(i){let g=W.value.indexOf(W.value.filter(E=>E.id==i.id)[0]);W.value.splice(g,1)}function Ua(i){H.value=!0}function Ta(i){k.value.recommend_list.splice(i,1)}const ft={秒杀:"seckill",砍价:"bargain",拼团:"combination"},tt=u(!1),vt=u([]),Ba=Ae(()=>["默认",...Object.keys(ft).filter(i=>vt.value.includes(i))]);function Ia(){cn().then(i=>{const g=[];for(const E of i.data||[]){if(!E.installed||!E.enabled)continue;const ne=`${E.key||""} ${E.path||""}`.toLowerCase();for(const[oe,Ce]of Object.entries(ft))ne.includes(Ce)&&!g.includes(oe)&&g.push(oe)}vt.value=g,tt.value=!0,Rl()}).catch(()=>{tt.value=!0,Rl()})}function Rl(){if(!tt.value||!k.value.activity)return;const i=Ba.value;k.value.activity=k.value.activity.filter(g=>i.includes(g))}return(i,g)=>{const E=s("pages-header"),ne=s("el-tab-pane"),oe=s("el-tabs"),Ce=s("el-button"),el=s("el-form-item"),ol=s("el-form"),at=s("el-card"),dl=s("el-dialog"),Ne=xe("db-click"),vl=xe("loading");return z((a(),v("div",os,[e(E,{ref:"pageHeader",title:Ve(V).params.id?"编辑实物商品":"添加实物商品",backUrl:Ve(j)+"/product/normal/list"},null,8,["title","backUrl"]),e(at,{bordered:!1,shadow:"never",class:"mt16","body-style":{padding:"0px 20px"}},{default:l(()=>[e(oe,{modelValue:$e.value,"onUpdate:modelValue":g[0]||(g[0]=Le=>$e.value=Le)},{default:l(()=>[(a(!0),v(ye,null,Fe(G.value,(Le,Ra)=>(a(),p(ne,{key:Ra,label:Le.tit,name:Le.name},null,8,["label","name"]))),128))]),_:1},8,["modelValue"]),e(ol,{class:"formValidate mt20",ref_key:"formValidateRef",ref:I,rules:Ve(cl),model:k.value,"label-width":d.value,"label-position":he.value,onSubmit:g[5]||(g[5]=ul(()=>{},["prevent"]))},{default:l(()=>[z(e(Do,{isCai:$.value,formValidate:k.value,treeSelect:J.value,tileLabelList:Z.value,progress:Pe.value,upload:nl,videoIng:ee.value,onHandleDragStart:Va,onHandleDragOver:xa,onHandleDragEnter:wa,onHandleDragEnd:ka,onHandleRemove:va,onModalPicTap:lt,onAddVideo:q,onDelVideo:Ge,onAddCate:je,onAddGoodsTag:pl},null,8,["isCai","formValidate","treeSelect","tileLabelList","progress","upload","videoIng"]),[[al,$e.value==="1"]]),z(e(ni,{ref_key:"specStock",ref:U,formValidate:k.value,ruleList:De.value,attrs:K.value,manyFormValidate:ce.value,oneFormValidate:Se.value,tableKey:Vl.value,oneFormBatch:Q.value,formDynamic:_e.value,canSel:Be.value,onChangeSpec:pa,onConfirm:Et,onOnMoveSpec:ra,onChangeCurrentIndex:da,onHandleRemoveRole:Xt,onAttrChangeValue:oa,onHandleFocus:la,onAddPic:sa,onHandleRemove2:Yt,onAttrDetailChangeValue:ia,onHandleBlur:ta,onHandleSelImg:aa,onHandleRemoveImg:na,onCreateAttr:ma,onHandleAddRole:Qt,onHandleSaveAsTemplate:Zt,onBatchAdd:Gt,onBatchDel:jt,onModalPicTap:lt,onChangeDefaultSelect:ua,onChangeDefaultShow:ca,onSee:Ml},null,8,["formValidate","ruleList","attrs","manyFormValidate","oneFormValidate","tableKey","oneFormBatch","formDynamic","canSel"]),[[al,$e.value==="2"]]),z(e(ri,{contents:se.value,content:o.value,"store-name":k.value.store_name,onGetEditorContent:Je},null,8,["contents","content","store-name"]),[[al,$e.value==="3"]]),z(e(pi,{formValidate:k.value,templateList:be.value,onDeliveryMethodsChange:wl,onFreightConfigChange:Al,onAddTemp:Jl},null,8,["formValidate","templateList"]),[[al,$e.value==="4"]]),z(e(Li,{formValidate:k.value,oneFormValidate:Se.value,manyFormValidate:ce.value,columnsInstall:b.value,columnsInstal2:h.value,manyVipPrice:Qe.value,"onUpdate:manyVipPrice":g[1]||(g[1]=Le=>Qe.value=Le),manyVipDiscount:Me.value,"onUpdate:manyVipDiscount":g[2]||(g[2]=Le=>Me.value=Le),onCheckAllGroupChange:Tl,onChangeVipPrice:Fl,onChangeDiscount:Hl,onBrokerageSetUp:Nt},null,8,["formValidate","oneFormValidate","manyFormValidate","columnsInstall","columnsInstal2","manyVipPrice","manyVipDiscount"]),[[al,$e.value==="5"]]),z(e(Hi,{formValidate:k.value,couponName:qe.value,dataLabel:W.value,activity:me.value,onHandleClose:Ql,onAddCoupon:Bl,onOpenLabel:Ua,onCloseLabel:Da,onAddLabel:Re,onOnchangeTime:Dl,onHandleRemoveRecommend:Ta,onChangeGoods:Fa},null,8,["formValidate","couponName","dataLabel","activity"]),[[al,$e.value==="6"]]),z(e(ns,{formValidate:k.value,customBtn:w.value,"onUpdate:customBtn":g[3]||(g[3]=Le=>w.value=Le),paramsType:hl.value,paramsTypeList:bl.value,protectionList:kl.value,CustomList:Ve(Vo),onModalPicTap:lt,onChangeParamsType:qt,onDeleteRow:ga,onHandleAddParams:Jt,onAddProtection:xl,onCustomMessBtn:Pl,onDelcustom:$l,onAddcustom:Ee},null,8,["formValidate","customBtn","paramsType","paramsTypeList","protectionList","CustomList"]),[[al,$e.value==="7"]]),e(el,null,{default:l(()=>[$e.value!=="1"?z((a(),p(Ce,{key:0,onClick:Zl},{default:l(()=>[...g[11]||(g[11]=[y("上一步",-1)])]),_:1})),[[Ne]]):F("",!0),$e.value!=="7"?z((a(),p(Ce,{key:1,class:"submission",onClick:Ot},{default:l(()=>[...g[12]||(g[12]=[y("下一步",-1)])]),_:1})),[[Ne]]):F("",!0),Ve(V).params.id||$e.value!=="1"?z((a(),p(Ce,{key:2,type:"primary",class:"submission",onClick:g[4]||(g[4]=Le=>ba())},{default:l(()=>[...g[13]||(g[13]=[y("保存",-1)])]),_:1})),[[Ne]]):F("",!0)]),_:1})]),_:1},8,["rules","model","label-width","label-position"])]),_:1}),e(dl,{modelValue:We.value,"onUpdate:modelValue":g[6]||(g[6]=Le=>We.value=Le),width:"950px",scrollable:"",title:"上传商品图","close-on-click-modal":!1},{default:l(()=>[We.value?(a(),p(Ve(Qa),{key:0,isChoice:Ke.value,onGetPic:_a,onGetPicD:ya,gridBtn:de,gridPic:M},null,8,["isChoice"])):F("",!0)]),_:1},8,["modelValue"]),e(Ve(rn),{template:le.value,onChangeTemplate:ha,onAddSuccess:dt,ref_key:"templates",ref:C},null,8,["template"]),e(Ve(po),{ref_key:"addattr",ref:te,onGetList:Pt},null,512),e(Ve(it),{ref_key:"couponTemplates",ref:R,onNameId:Il,couponids:k.value.coupon_ids,updateIds:sl.value,updateName:rl.value},null,8,["couponids","updateIds","updateName"]),e(Ve(it),{ref_key:"goodsCoupon",ref:X,many:"one",luckDraw:!0,onGetCouponId:Yl},null,512),e(dl,{modelValue:L.value,"onUpdate:modelValue":g[7]||(g[7]=Le=>L.value=Le),onClosed:Nl,class:"Box",title:Ul.value,"close-on-click-modal":!1,width:"720px"},{default:l(()=>[L.value?(a(),p(Ve(bo),{key:0,ref:"productCollectRef",onOnClose:Cl,onGetPlatforms:Xl},null,512)):F("",!0)]),_:1},8,["modelValue","title"]),e(dl,{modelValue:ue.value,"onUpdate:modelValue":g[8]||(g[8]=Le=>ue.value=Le),title:"商品列表",footerHide:"",class:"paymentFooter",scrollable:"",width:"1000px"},{default:l(()=>[ue.value?(a(),p(Ve(dn),{key:0,ref_key:"goodslist",ref:S,ischeckbox:!0,onGetProductId:Ca},null,512)):F("",!0)]),_:1},8,["modelValue"]),e(dl,{modelValue:H.value,"onUpdate:modelValue":g[9]||(g[9]=Le=>H.value=Le),title:"请选择用户标签","show-close":!0,width:"540px","close-on-click-modal":!1},{default:l(()=>[e(Ve(Ut),{ref_key:"userLabelRef",ref:f,onActiveData:Sa,onClose:pt},null,512)]),_:1},8,["modelValue"]),e(dl,{modelValue:m.value,"onUpdate:modelValue":g[10]||(g[10]=Le=>m.value=Le),title:"请选择商品标签","show-close":!0,width:"540px","close-on-click-modal":!1},{default:l(()=>[e(Ve(Tt),{ref_key:"goodsLabelRef",ref:c,defaultLabelList:P.value,onActiveLabel:$a,onClose:pt},null,8,["defaultLabelList"])]),_:1},8,["modelValue"])])),[[vl,O.value]])}}}),ss=Oe(is,[["__scopeId","data-v-23bda3d0"]]);function rs(n){return ke.get("normal/order/list",{params:n})}function ds(n={}){return ke.get("normal/order/statistics",{params:n})}function us(n){return ke.get("normal/order/print_receipt/"+n)}function cs(n){return ke.get("normal/order/print_picklist/"+n)}function ms(n){return ke.get("normal/order/record/list",{params:n})}function ps(n){return ke.get("normal/order/export",{params:n})}function fs(n){return ke.get("normal/order/edit_price/"+n)}function vs(n){return ke.put("normal/order/update_price",n)}function _s(n){return ke.put("normal/order/update_integral",n)}function Rt(n){return ke.get("normal/order/express/"+n)}const gs={class:"stat-item"},ys={class:"stat-info"},bs={class:"stat-value"},hs={class:"stat-item"},Vs={class:"stat-info"},ks={class:"stat-value"},xs={class:"stat-item"},ws={class:"stat-info"},As={class:"stat-value"},Cs={class:"stat-item"},Fs={class:"stat-info"},Ss={class:"stat-value"},$s=Object.assign({name:"OrderStatistics"},{__name:"OrderStatistics",props:{data:{type:Object,default:()=>({})}},setup(n){const re=n,V=Ae(()=>re.data.status_counts||{});return(A,r)=>{const j=s("el-card"),I=s("el-col"),U=s("el-row");return a(),p(U,{gutter:20},{default:l(()=>[e(I,{span:6},{default:l(()=>[e(j,{bordered:!1,shadow:"never",class:"stat-card"},{default:l(()=>[t("div",gs,[r[1]||(r[1]=t("div",{class:"stat-icon stat-icon-total"},[t("i",{class:"el-icon-s-order"})],-1)),t("div",ys,[t("div",bs,_(n.data.all&&n.data.all.count||0),1),r[0]||(r[0]=t("div",{class:"stat-label"},"订单总数",-1))])])]),_:1})]),_:1}),e(I,{span:6},{default:l(()=>[e(j,{bordered:!1,shadow:"never",class:"stat-card"},{default:l(()=>[t("div",hs,[r[3]||(r[3]=t("div",{class:"stat-icon stat-icon-pay"},[t("i",{class:"el-icon-yuan"})],-1)),t("div",Vs,[t("div",ks,"¥"+_(n.data.all&&n.data.all.amount||"0.00"),1),r[2]||(r[2]=t("div",{class:"stat-label"},"总金额",-1))])])]),_:1})]),_:1}),e(I,{span:6},{default:l(()=>[e(j,{bordered:!1,shadow:"never",class:"stat-card"},{default:l(()=>[t("div",xs,[r[5]||(r[5]=t("div",{class:"stat-icon stat-icon-pending"},[t("i",{class:"el-icon-clock"})],-1)),t("div",ws,[t("div",As,_(V.value&&V.value.pending_payment&&V.value.pending_payment.count||0),1),r[4]||(r[4]=t("div",{class:"stat-label"},"待支付",-1))])])]),_:1})]),_:1}),e(I,{span:6},{default:l(()=>[e(j,{bordered:!1,shadow:"never",class:"stat-card"},{default:l(()=>[t("div",Cs,[r[7]||(r[7]=t("div",{class:"stat-icon stat-icon-completed"},[t("i",{class:"el-icon-check-circle"})],-1)),t("div",Fs,[t("div",Ss,_(V.value&&V.value.completed&&V.value.completed.count||0),1),r[6]||(r[6]=t("div",{class:"stat-label"},"已完成",-1))])])]),_:1})]),_:1})]),_:1})}}}),Ds=Oe($s,[["__scopeId","data-v-9416b934"]]),Us={class:"table_box"},Ts=Object.assign({name:"OrderSearch"},{__name:"OrderSearch",props:{value:{type:Object,default:()=>({})}},emits:["search","reset"],setup(n,{emit:re}){const V=n,A=re,r=u(null),j=()=>({page:1,limit:15,order_no:"",keyword:"",search_field:"all",date_range:"",pay_type:"",type:""}),I=gl(j()),U=u([]),C=[{key:"weixin",label:"微信支付"},{key:"yue",label:"余额支付"},{key:"alipay",label:"支付宝"},{key:"offline",label:"线下支付"}];il(()=>V.value,S=>{S&&Object.keys(S).length&&Object.assign(I,S)},{immediate:!0});function te(){I.page=1,A("search",{...I,date_range:I.date_range})}function R(){Object.assign(I,j()),U.value=[],A("search",{...I}),A("reset")}function X(S){U.value=S||[],I.date_range=U.value[0]?U.value.join(","):"",te()}return(S,f)=>{const c=s("el-input"),H=s("el-form-item"),m=s("el-option"),W=s("el-select"),G=s("date-range-picker"),D=s("el-button"),w=s("el-form"),o=s("el-card"),se=xe("db-click");return a(),p(o,{shadow:"never","body-style":{padding:0}},{default:l(()=>[t("div",Us,[e(w,{ref_key:"searchFormRef",ref:r,model:I,"label-width":"80px","label-position":"right",inline:"",onSubmit:f[6]||(f[6]=ul(()=>{},["prevent"]))},{default:l(()=>[e(H,{label:"订单号:"},{default:l(()=>[e(c,{modelValue:I.order_no,"onUpdate:modelValue":f[0]||(f[0]=ae=>I.order_no=ae),placeholder:"订单号",clearable:"",onKeyup:Gl(te,["enter"]),style:{width:"180px"}},null,8,["modelValue"])]),_:1}),e(H,{label:"订单类型:"},{default:l(()=>[e(W,{modelValue:I.type,"onUpdate:modelValue":f[1]||(f[1]=ae=>I.type=ae),clearable:"",onChange:te,placeholder:"全部",style:{width:"120px"}},{default:l(()=>[e(m,{label:"全部订单",value:""}),e(m,{label:"普通订单",value:"1"}),e(m,{label:"拼团订单",value:"2"}),e(m,{label:"秒杀订单",value:"3"}),e(m,{label:"砍价订单",value:"4"}),e(m,{label:"预售订单",value:"5"})]),_:1},8,["modelValue"])]),_:1}),e(H,{label:"支付方式:"},{default:l(()=>[e(W,{modelValue:I.pay_type,"onUpdate:modelValue":f[2]||(f[2]=ae=>I.pay_type=ae),clearable:"",onChange:te,placeholder:"全部",style:{width:"120px"}},{default:l(()=>[e(m,{label:"全部",value:""}),(a(),v(ye,null,Fe(C,ae=>e(m,{key:ae.key,value:ae.key,label:ae.label},null,8,["value","label"])),64))]),_:1},8,["modelValue"])]),_:1}),e(H,{label:"创建时间:"},{default:l(()=>[e(G,{clearable:"",modelValue:U.value,"onUpdate:modelValue":f[3]||(f[3]=ae=>U.value=ae),onChange:X,format:"YYYY/MM/DD","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1}),e(H,{label:"订单搜索:"},{default:l(()=>[e(c,{clearable:"",modelValue:I.keyword,"onUpdate:modelValue":f[5]||(f[5]=ae=>I.keyword=ae),placeholder:"订单号/联系人/UID",style:{width:"220px"},onKeyup:Gl(te,["enter"])},{prepend:l(()=>[e(W,{modelValue:I.search_field,"onUpdate:modelValue":f[4]||(f[4]=ae=>I.search_field=ae),style:{width:"100px"}},{default:l(()=>[e(m,{value:"all",label:"全部"}),e(m,{value:"order_no",label:"订单号"}),e(m,{value:"contact_name",label:"联系人"}),e(m,{value:"contact_phone",label:"联系电话"}),e(m,{value:"uid",label:"UID"})]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])]),_:1}),e(H,null,{default:l(()=>[z((a(),p(D,{type:"primary",onClick:te},{default:l(()=>[...f[7]||(f[7]=[y("查询",-1)])]),_:1})),[[se]]),z((a(),p(D,{onClick:R},{default:l(()=>[...f[8]||(f[8]=[y("重置",-1)])]),_:1})),[[se]])]),_:1})]),_:1},8,["model"])])]),_:1})}}}),Bs=Oe(Ts,[["__scopeId","data-v-64c5da29"]]),Is={class:"expand"},Rs={class:"expand-value"},Ls={class:"expand-value"},Os={class:"expand-value"},Ps={class:"expand-value"},Ns={class:"expand-value"},js={class:"expand-value"},Es={class:"expand-value"},Ms={class:"expand-value"},qs=Object.assign({name:"OrderExpand"},{__name:"OrderExpand",props:{row:{type:Object,default:()=>({})}},setup(n){function re(V){if(!V)return"--";const A=new Date(V*1e3),r=A.getFullYear(),j=(A.getMonth()+1).toString().padStart(2,"0"),I=A.getDate().toString().padStart(2,"0"),U=A.getHours().toString().padStart(2,"0"),C=A.getMinutes().toString().padStart(2,"0"),te=A.getSeconds().toString().padStart(2,"0");return`${r}/${j}/${I} ${U}:${C}:${te}`}return(V,A)=>{const r=s("el-col"),j=s("el-row");return a(),v("div",Is,[e(j,{class:"expand-row"},{default:l(()=>[e(r,{span:6},{default:l(()=>[A[0]||(A[0]=t("span",{class:"expand-key"},"商品总价:",-1)),t("span",Rs,"¥"+_(n.row.total_price||"0.00"),1)]),_:1}),e(r,{span:6},{default:l(()=>[A[1]||(A[1]=t("span",{class:"expand-key"},"下单时间:",-1)),t("span",Ls,_(n.row.add_time?re(n.row.add_time):"--"),1)]),_:1}),e(r,{span:6},{default:l(()=>[A[2]||(A[2]=t("span",{class:"expand-key"},"推广人:",-1)),t("span",Os,_(n.row.spread_nickname||"无"),1)]),_:1}),e(r,{span:6},{default:l(()=>[A[3]||(A[3]=t("span",{class:"expand-key"},"事业部:",-1)),t("span",Ps,_(n.row.division_name||"无"),1)]),_:1})]),_:1}),e(j,null,{default:l(()=>[e(r,{span:6},{default:l(()=>[A[4]||(A[4]=t("span",{class:"expand-key"},"用户备注:",-1)),t("span",Ns,_(n.row.mark||"无"),1)]),_:1}),e(r,{span:6},{default:l(()=>[A[5]||(A[5]=t("span",{class:"expand-key"},"商家备注:",-1)),t("span",js,_(n.row.remark||"无"),1)]),_:1}),e(r,{span:6},{default:l(()=>[A[6]||(A[6]=t("span",{class:"expand-key"},"支付方式:",-1)),t("span",Es,_(n.row.pay_type_name||n.row.pay_type||"--"),1)]),_:1}),e(r,{span:6},{default:l(()=>[A[7]||(A[7]=t("span",{class:"expand-key"},"快递公司:",-1)),t("span",Ms,_(n.row.delivery_name||"--"),1)]),_:1})]),_:1})])}}}),Ws=Oe(qs,[["__scopeId","data-v-626e0acf"]]),Gs={class:"toolbar"},Ks={key:0,style:{color:"#ed4014","font-size":"12px"}},zs={key:1,style:{color:"#ed4014","font-size":"12px"}},Xs={class:"tab"},Hs={key:0},Ys={class:"line2 w-250"},Qs={class:"price"},Js={class:"price"},Zs={key:0,class:"trip"},er={key:1,style:{color:"#c0c4cc"}},lr={style:{"font-size":"12px",color:"#909399"}},tr=["onClick"],ar={key:1,style:{color:"#909399"}},nr=["onClick"],or={key:0,class:"acea-row row-right page"},ir=Object.assign({name:"OrderTable"},{__name:"OrderTable",props:{tableData:{type:Array,default:()=>[]},total:{type:Number,default:0},loading:{type:Boolean,default:!1},statData:{type:Object,default:()=>({})},searchParams:{type:Object,default:()=>({})}},emits:["tab-change","batch-shipment","batch-delete","detail","confirm-pay","shipment","confirm","edit-order","print-receipt","print-pick","edit-address","remark","refund","delivery-info","record","delete","logistics","export","page-change"],setup(n,{expose:re,emit:V}){const A=n,r=V,j=u(""),I=gl({page:1,limit:15}),U=u([]);function C(B){return[1,2,3].includes(Number(B.pay_status))}function te(){I.page=1,r("tab-change",j.value)}function R(B,x){const b=A.statData.business_status_counts,h=b&&b[x];return h?`${B}(${h})`:B}function X(B){const x={refund_only:"仅退款",return_refund:"退货退款",exchange:"换货",resend:"补发",repair:"维修"};return(B||[]).map(b=>x[b]||b).join("、")}function S(B){const x={pending_audit:"待审核",audit_passed:"审核通过",refunding:"退款中",pending_return:"待退货",receiving:"待收货",resending:"补发中",repairing:"维修中",repair_complete:"维修完成",refunded:"已退款",completed:"已完成",canceled:"已取消",rejected:"已拒绝"};return(B||[]).map(b=>x[b]||b).join("、")}function f(B){U.value=B.map(x=>x.id)}function c(B){U.value=B.map(x=>x.id)}function H(B){return Q(B).code==="pending_payment"&&B.pay_type==="offline"}function m(B){return Q(B).code==="pending_payment"&&B.pay_status===0}function W(B){return Q(B).code==="pending_shipped"&&B.delivery_type!=="fictitious"}function G(B){const x=Q(B).code;return x==="pending_receive"||x==="pending_pickup"}function D(B){var x;return((x=B==null?void 0:B.extra_info)==null?void 0:x.delivery_type)==="pickup"||(B==null?void 0:B.shipping_type)===2?"到店核销":"确认收货"}function w(B){return B.delivery_time>0&&B.delivery_name&&B.delivery_id}function o(B){const x=Q(B).code;return x==="pending_payment"||x==="canceled"}function se(B){return Q(B).code==="pending_shipped"}function ae(B){return B.pay_status===1&&B.refund_status!==2}function ie(B){return B.pay_status===1}function $(B,x){switch(x){case"confirmPay":r("confirm-pay",B);break;case"shipment":r("shipment",B);break;case"confirm":r("confirm",B);break;case"editOrder":r("edit-order",B);break;case"printReceipt":r("print-receipt",B);break;case"printPick":r("print-pick",B);break;case"editAddress":r("edit-address",B);break;case"remark":r("remark",B);break;case"refund":r("refund",B);break;case"deliveryInfo":r("delivery-info",B);break;case"record":r("record",B);break;case"delete":r("delete",B);break}}function L(B){r("detail",B)}function ue(B){r("logistics",B)}function O(){r("export")}function Y(){r("page-change",{...I})}function Q(B){var x;return B.is_del===1?{code:"deleted",text:"已删除",type:"danger"}:B.status_code==="pending_payment"?{code:"pending_payment",text:"待支付",type:"warning"}:B.status_code==="canceled"?{code:"canceled",text:"已取消",type:"danger"}:B.status_code==="after_sale"||B.status_code==="refunding"?{code:"after_sale",text:"退换/售后",type:"info"}:B.status_code==="refunded"?{code:"refunded",text:"已退款",type:"info"}:B.status_code==="processing"?((x=B.extra_info)==null?void 0:x.delivery_type)==="pickup"?{code:"pending_pickup",text:"待到店",type:"warning"}:!B.delivery_time||B.delivery_time===0?{code:"pending_shipped",text:"待发货",type:"danger"}:{code:"pending_receive",text:"待收货",type:"primary"}:B.status_code==="pending_review"?{code:"pending_review",text:"待评价",type:"success"}:B.status_code==="completed"?{code:"completed",text:"已完成",type:"success"}:{code:B.status_code,text:B.status_code||"未知",type:"info"}}function _e(B){return Q(B).text}function ge(B){if(!B)return"--";const x=new Date(B*1e3),b=x.getFullYear(),h=(x.getMonth()+1).toString().padStart(2,"0"),M=x.getDate().toString().padStart(2,"0"),de=x.getHours().toString().padStart(2,"0"),pe=x.getMinutes().toString().padStart(2,"0"),k=x.getSeconds().toString().padStart(2,"0");return`${b}/${h}/${M} ${de}:${pe}:${k}`}return re({selectedIds:U,page:I}),(B,x)=>{const b=s("el-tab-pane"),h=s("el-tabs"),M=s("el-button"),de=s("el-table-column"),pe=s("el-tooltip"),k=s("el-tag"),De=s("el-divider"),be=s("el-dropdown-item"),we=s("el-dropdown-menu"),ce=s("el-dropdown"),Se=s("el-table"),Xe=s("pagination"),$e=s("el-card"),Ke=xe("db-click"),We=xe("lazy"),le=xe("loading");return a(),p($e,{bordered:!1,shadow:"never",class:"mt16","body-style":{padding:"0 0 20px"}},{default:l(()=>[e(h,{modelValue:j.value,"onUpdate:modelValue":x[0]||(x[0]=J=>j.value=J),onTabChange:te},{default:l(()=>[e(b,{label:"全部",name:""}),e(b,{label:R("待支付","pending_payment"),name:"pending_payment"},null,8,["label"]),e(b,{label:R("待发货","pending_shipped"),name:"pending_shipped"},null,8,["label"]),e(b,{label:R("待收货","pending_receive"),name:"pending_receive"},null,8,["label"]),e(b,{label:R("待评价","pending_review"),name:"pending_review"},null,8,["label"]),e(b,{label:R("已完成","completed"),name:"completed"},null,8,["label"]),e(b,{label:R("退换/售后","after_sale"),name:"after_sale"},null,8,["label"]),e(b,{label:R("已删除","deleted"),name:"deleted"},null,8,["label"])]),_:1},8,["modelValue"]),t("div",Gs,[z((a(),p(M,{type:"primary",onClick:x[1]||(x[1]=J=>r("batch-shipment"))},{default:l(()=>[...x[5]||(x[5]=[y("批量发货",-1)])]),_:1})),[[Ke]]),z((a(),p(M,{onClick:x[2]||(x[2]=J=>r("batch-delete"))},{default:l(()=>[...x[6]||(x[6]=[y("批量删除",-1)])]),_:1})),[[Ke]]),z((a(),p(M,{onClick:O},{default:l(()=>[...x[7]||(x[7]=[y("订单导出",-1)])]),_:1})),[[Ke]])]),z((a(),p(Se,{data:n.tableData,stripe:"","empty-text":"暂无数据",class:"orderData",onSelect:f,onSelectAll:c},{default:l(()=>[e(de,{type:"expand",width:"50"},{default:l(J=>[e(Ve(Ws),{row:J.row},null,8,["row"])]),_:1}),e(de,{type:"selection",width:"50"}),e(de,{label:"订单号",width:"180"},{default:l(J=>[t("div",null,_(J.row.order_no),1),J.row.is_del===1?(a(),v("span",Ks,"用户已删除")):F("",!0),J.row.is_cancel===1&&J.row.is_del===0?(a(),v("span",zs,"用户已取消")):F("",!0)]),_:1}),e(de,{label:"商品信息","min-width":"240"},{default:l(J=>[t("div",Xs,[z(t("img",null,null,512),[[We,J.row.image]]),e(pe,{placement:"top","open-delay":300},{content:l(()=>[t("div",null,[t("div",null,[x[8]||(x[8]=t("span",null,"商品名称:",-1)),t("span",null,_(J.row.title),1)]),J.row.subtitle?(a(),v("div",Hs,[x[9]||(x[9]=t("span",null,"副标题:",-1)),t("span",null,_(J.row.subtitle),1)])):F("",!0),t("div",null,[x[10]||(x[10]=t("span",null,"购买数量:",-1)),t("span",null,_(J.row.total_num),1)])])]),default:l(()=>[t("span",Ys,_(J.row.title),1)]),_:2},1024)])]),_:1}),e(de,{label:"用户信息","min-width":"150"},{default:l(J=>[t("div",null,_(J.row.contact_name||J.row.real_name||"--"),1),t("div",null,_(J.row.contact_phone||J.row.user_phone||"--"),1)]),_:1}),e(de,{label:"订单金额","min-width":"130"},{default:l(J=>[t("div",null,[x[11]||(x[11]=t("span",null,"总价:",-1)),t("span",Qs,"¥"+_(J.row.total_price),1)]),t("div",null,[x[12]||(x[12]=t("span",null,"实付:",-1)),t("span",Js,"¥"+_(J.row.pay_price),1)])]),_:1}),e(de,{label:"支付方式",width:"90"},{default:l(J=>[t("span",null,_(J.row.pay_type_name||J.row.pay_type||"--"),1)]),_:1}),e(de,{label:"支付状态",width:"90"},{default:l(J=>[e(k,{type:C(J.row)?"success":"danger"},{default:l(()=>[y(_(C(J.row)?"已支付":"未支付"),1)]),_:2},1032,["type"])]),_:1}),e(de,{label:"订单状态","min-width":"100"},{default:l(J=>[e(k,{type:Q(J.row).type},{default:l(()=>[y(_(_e(J.row)),1)]),_:2},1032,["type"]),!J.row.is_all_refund&&J.row.refund_status===1?(a(),v("div",Zs,"部分退款中")):F("",!0)]),_:1}),e(de,{label:"售后",width:"100"},{default:l(J=>[J.row.after_sale&&J.row.after_sale.has_after_sale?(a(),p(pe,{key:0,placement:"top","open-delay":300},{content:l(()=>[t("div",null,[t("div",null,"售后单数:"+_(J.row.after_sale.count),1),t("div",null,"售后类型:"+_(X(J.row.after_sale.types)),1),t("div",null,"售后状态:"+_(S(J.row.after_sale.statuses)),1)])]),default:l(()=>[e(k,{type:J.row.after_sale.is_processing?"warning":"info"},{default:l(()=>[y(_(J.row.after_sale.is_processing?"售后中":"有售后"),1)]),_:2},1032,["type"])]),_:2},1024)):(a(),v("span",er,"--"))]),_:1}),e(de,{label:"配送信息","min-width":"150"},{default:l(J=>[J.row.delivery_name?(a(),v(ye,{key:0},[t("div",null,_(J.row.delivery_name||"--"),1),t("div",lr,_(J.row.delivery_id||"--"),1),J.row.delivery_type==="express"&&J.row.delivery_id?z((a(),v("a",{key:0,onClick:He=>ue(J.row),style:{"font-size":"12px"}},[...x[13]||(x[13]=[y("物流查询",-1)])],8,tr)),[[Ke]]):F("",!0)],64)):(a(),v("span",ar,"未发货"))]),_:1}),e(de,{label:"创建时间",width:"160"},{default:l(J=>[t("span",null,_(J.row.add_time?ge(J.row.add_time):"--"),1)]),_:1}),e(de,{label:"操作",fixed:"right",width:"200"},{default:l(J=>[z((a(),v("a",{onClick:He=>L(J.row)},[...x[14]||(x[14]=[y("详情",-1)])],8,nr)),[[Ke]]),e(De,{direction:"vertical"}),e(ce,{onCommand:He=>$(J.row,He),transfer:!0},{dropdown:l(()=>[e(we,null,{default:l(()=>[H(J.row)?(a(),p(be,{key:0,command:"confirmPay"},{default:l(()=>[...x[15]||(x[15]=[y("确认付款",-1)])]),_:1})):F("",!0),W(J.row)?(a(),p(be,{key:1,command:"shipment"},{default:l(()=>[...x[16]||(x[16]=[y("发货",-1)])]),_:1})):F("",!0),G(J.row)?(a(),p(be,{key:2,command:"confirm"},{default:l(()=>[y(_(D(J.row)),1)]),_:2},1024)):F("",!0),m(J.row)?(a(),p(be,{key:3,command:"editOrder"},{default:l(()=>[...x[17]||(x[17]=[y("订单编辑",-1)])]),_:1})):F("",!0),ie(J.row)?(a(),p(be,{key:4,command:"printReceipt"},{default:l(()=>[...x[18]||(x[18]=[y("小票打印",-1)])]),_:1})):F("",!0),ie(J.row)?(a(),p(be,{key:5,command:"printPick"},{default:l(()=>[...x[19]||(x[19]=[y("配货单打印",-1)])]),_:1})):F("",!0),se(J.row)?(a(),p(be,{key:6,command:"editAddress"},{default:l(()=>[...x[20]||(x[20]=[y("修改地址",-1)])]),_:1})):F("",!0),e(be,{command:"remark"},{default:l(()=>[...x[21]||(x[21]=[y("订单备注",-1)])]),_:1}),ae(J.row)?(a(),p(be,{key:7,command:"refund"},{default:l(()=>[...x[22]||(x[22]=[y("立即退款",-1)])]),_:1})):F("",!0),w(J.row)?(a(),p(be,{key:8,command:"deliveryInfo"},{default:l(()=>[...x[23]||(x[23]=[y("配送信息",-1)])]),_:1})):F("",!0),o(J.row)?(a(),p(be,{key:9,command:"delete"},{default:l(()=>[...x[24]||(x[24]=[y("删除订单",-1)])]),_:1})):F("",!0)]),_:2},1024)]),default:l(()=>[x[25]||(x[25]=t("span",{class:"el-dropdown-link"},[y(" 更多"),t("i",{class:"el-icon-arrow-down el-icon--right"})],-1))]),_:2},1032,["onCommand"])]),_:1})]),_:1},8,["data"])),[[le,n.loading]]),n.total?(a(),v("div",or,[e(Xe,{total:n.total,page:I.page,"onUpdate:page":x[3]||(x[3]=J=>I.page=J),limit:I.limit,"onUpdate:limit":x[4]||(x[4]=J=>I.limit=J),onPagination:Y},null,8,["total","page","limit"])])):F("",!0)]),_:1})}}}),sr=Oe(ir,[["__scopeId","data-v-110bd173"]]),rr={class:"user-info-box"},dr={class:"product-cell"},ur={class:"product-meta"},cr={class:"product-name"},mr={key:0,class:"product-sku"},pr=Object.assign({name:"OrderSend"},{__name:"OrderSend",props:{orderNo:{type:String,default:""},visible:{type:Boolean,default:!1}},emits:["success","close"],setup(n,{emit:re}){const V=n,A=re,{proxy:r}=wt(),j=u(null),I=u(!1),U=u(!1),C=u(!1),te=u(!1),R=u({}),X=u([]),S=u([]),f=u([]),c=u([]),H=u({}),m=u(G()),W={sh_delivery:[{required:!0,message:"请选择送货人",trigger:"change"}],delivery_name:[{required:!0,message:"请选择快递公司",trigger:"change"}],delivery_id:[{required:!0,message:"请输入快递单号",trigger:"blur"}],express_temp_id:[{required:!0,message:"请选择电子面单模板",trigger:"change"}],to_name:[{required:!0,message:"请输入寄件人姓名",trigger:"blur"}],to_tel:[{required:!0,message:"请输入寄件人电话",trigger:"blur"}],to_addr:[{required:!0,message:"请输入寄件人地址",trigger:"blur"}]};function G(){return{delivery_type:"express",express_record_type:1,delivery_name:"",delivery_code:"",delivery_id:"",express_temp_id:"",to_name:"",to_tel:"",to_addr:"",sh_delivery:"",sh_delivery_name:"",sh_delivery_id:"",sh_delivery_uid:0,fictitious_content:""}}il(()=>V.visible,x=>{I.value=x,x&&V.orderNo&&D()},{immediate:!0}),il(()=>V.orderNo,x=>{I.value&&x&&D()});function D(){ge(),U.value=!0,ie(),$(),L(),w()}function w(){ke.get("normal/order/shipment/sheet_info").then(x=>{H.value=x.data||{},m.value.to_name=H.value.to_name||"",m.value.to_tel=H.value.to_tel||"",m.value.to_addr=H.value.to_addr||""}).catch(()=>{})}function o(x){const b=S.value.find(h=>(h.value||h.name)===x);m.value.delivery_code=(b==null?void 0:b.code)||"",m.value.express_temp_id="",f.value=[],m.value.express_record_type===2&&m.value.delivery_code&&se(m.value.delivery_code)}function se(x){te.value=!0,ke.get("normal/order/shipment/express_temp",{com:x}).then(b=>{f.value=b.data||[]}).catch(()=>{f.value=[]}).finally(()=>{te.value=!1})}function ae(){j.value&&j.value.clearValidate(),m.value.express_record_type===2&&m.value.delivery_code&&se(m.value.delivery_code)}function ie(){ke.get("normal/order/shipment/detail/"+V.orderNo).then(x=>{const b=x.data||{};R.value={real_name:b.real_name||"",user_phone:b.user_phone||"",user_address:b.user_address||""},X.value=b.items||[]}).catch(x=>{T.error(x.msg||"获取发货详情失败")}).finally(()=>{U.value=!1})}function $(){ke.get("normal/order/express_list").then(x=>{S.value=x.data||[]}).catch(()=>{})}function L(){ke.get("normal/order/shipment/delivery_persons").then(x=>{c.value=x.data||[]}).catch(()=>{})}function ue(){j.value&&j.value.clearValidate()}function O(x){if(!x)return;const b=c.value.find(h=>h.id===x);b&&(m.value.sh_delivery_name=b.wx_name,m.value.sh_delivery_id=b.phone,m.value.sh_delivery_uid=b.uid||b.staff_id||0)}function Y(){const x=m.value.delivery_type;if(x==="express"){if(!m.value.delivery_name)return T.error("请选择快递公司");if(m.value.express_record_type===2){if(!m.value.express_temp_id)return T.error("请选择电子面单模板");if(!m.value.to_name)return T.error("请输入寄件人姓名");if(!m.value.to_tel)return T.error("请输入寄件人电话");if(!m.value.to_addr)return T.error("请输入寄件人地址")}else if(!m.value.delivery_id)return T.error("请输入快递单号")}else if(x==="send"&&!m.value.sh_delivery)return T.error("请选择送货人");const b={order_no:V.orderNo,delivery_type:x};x==="express"?(b.delivery_name=m.value.delivery_name,m.value.express_record_type===2?(b.express_record_type=2,b.delivery_code=m.value.delivery_code,b.express_temp_id=m.value.express_temp_id,b.to_name=m.value.to_name,b.to_tel=m.value.to_tel,b.to_addr=m.value.to_addr):b.delivery_id=m.value.delivery_id):x==="send"?(b.sh_delivery_name=m.value.sh_delivery_name,b.sh_delivery_id=m.value.sh_delivery_id,b.sh_delivery_uid=m.value.sh_delivery_uid):x==="fictitious"&&(b.fictitious_content=m.value.fictitious_content),C.value=!0,ke.post("normal/order/shipment",b).then(h=>{var de;const M=((de=h.data)==null?void 0:de.delivery_id)||"";T.success(M?`发货成功,运单号:${M}`:h.msg||"发货成功"),I.value=!1,A("success")}).catch(h=>{T.error(h.msg||"发货失败")}).finally(()=>{C.value=!1})}function Q(){I.value=!1,A("close")}function _e(){A("close"),ge()}function ge(){m.value=G(),R.value={},X.value=[],U.value=!1,C.value=!1}function B(){const x="用户姓名:"+(R.value.real_name||"")+` +用户电话:`+(R.value.user_phone||"")+` +用户地址:`+(R.value.user_address||"");r.$copyText(x).then(()=>{T.success("复制成功")}).catch(()=>{T.error("复制失败")})}return(x,b)=>{const h=s("el-alert"),M=s("el-radio"),de=s("el-radio-group"),pe=s("el-form-item"),k=s("el-option"),De=s("el-select"),be=s("el-input"),we=s("el-image"),ce=s("el-table-column"),Se=s("el-table"),Xe=s("el-form"),$e=s("el-button"),Ke=s("el-dialog"),We=xe("loading");return a(),p(Ke,{modelValue:I.value,"onUpdate:modelValue":b[11]||(b[11]=le=>I.value=le),title:"订单发送货",class:"order-send-dialog","show-close":!0,width:"1000px",onClosed:_e},{footer:l(()=>[t("div",null,[e($e,{onClick:Q},{default:l(()=>[...b[17]||(b[17]=[y("取消",-1)])]),_:1}),e($e,{type:"primary",onClick:Y,loading:C.value},{default:l(()=>[...b[18]||(b[18]=[y("提交",-1)])]),_:1},8,["loading"])])]),default:l(()=>[I.value?(a(),v(ye,{key:0},[e(h,{class:"mb20",type:"warning",closable:!1},{title:l(()=>[t("div",rr,[t("p",null,"用户姓名:"+_(R.value.real_name||"--"),1),t("p",null,"用户电话:"+_(R.value.user_phone||"--"),1),t("p",null,"用户地址:"+_(R.value.user_address||"--"),1)])]),default:l(()=>[t("div",{class:"copy-box"},[t("span",{class:"copy-btn",onClick:B},"复制")])]),_:1}),z((a(),p(Xe,{ref_key:"formRef",ref:j,model:m.value,rules:W,"label-width":"100px",onSubmit:b[10]||(b[10]=ul(()=>{},["prevent"]))},{default:l(()=>[e(pe,{label:"选择类型:"},{default:l(()=>[e(de,{modelValue:m.value.delivery_type,"onUpdate:modelValue":b[0]||(b[0]=le=>m.value.delivery_type=le),onChange:ue},{default:l(()=>[e(M,{label:"express",value:"express"},{default:l(()=>[...b[12]||(b[12]=[y("发货",-1)])]),_:1}),e(M,{label:"send",value:"send"},{default:l(()=>[...b[13]||(b[13]=[y("送货",-1)])]),_:1}),e(M,{label:"fictitious",value:"fictitious"},{default:l(()=>[...b[14]||(b[14]=[y("无需配送",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),m.value.delivery_type==="express"?(a(),v(ye,{key:0},[e(pe,{label:"发货方式:"},{default:l(()=>[e(de,{modelValue:m.value.express_record_type,"onUpdate:modelValue":b[1]||(b[1]=le=>m.value.express_record_type=le),onChange:ae},{default:l(()=>[e(M,{value:1},{default:l(()=>[...b[15]||(b[15]=[y("手动填写快递单号",-1)])]),_:1}),H.value.export_open===1?(a(),p(M,{key:0,value:2},{default:l(()=>[...b[16]||(b[16]=[y("电子面单",-1)])]),_:1})):F("",!0)]),_:1},8,["modelValue"])]),_:1}),e(pe,{label:"快递公司:",prop:"delivery_name"},{default:l(()=>[e(De,{modelValue:m.value.delivery_name,"onUpdate:modelValue":b[2]||(b[2]=le=>m.value.delivery_name=le),filterable:"",placeholder:"请选择快递公司",style:{width:"60%"},onChange:o},{default:l(()=>[(a(!0),v(ye,null,Fe(S.value,le=>(a(),p(k,{key:le.code||le.id,label:le.value||le.name,value:le.value||le.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),m.value.express_record_type===2?(a(),v(ye,{key:0},[e(pe,{label:"面单模板:",prop:"express_temp_id"},{default:l(()=>[z((a(),p(De,{modelValue:m.value.express_temp_id,"onUpdate:modelValue":b[3]||(b[3]=le=>m.value.express_temp_id=le),filterable:"",placeholder:"请选择电子面单模板",style:{width:"60%"}},{default:l(()=>[(a(!0),v(ye,null,Fe(f.value,le=>(a(),p(k,{key:le.temp_id,label:le.temp_name,value:le.temp_id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])),[[We,te.value]])]),_:1}),e(pe,{label:"寄件人姓名:",prop:"to_name"},{default:l(()=>[e(be,{modelValue:m.value.to_name,"onUpdate:modelValue":b[4]||(b[4]=le=>m.value.to_name=le),placeholder:"请输入寄件人姓名",style:{width:"60%"}},null,8,["modelValue"])]),_:1}),e(pe,{label:"寄件人电话:",prop:"to_tel"},{default:l(()=>[e(be,{modelValue:m.value.to_tel,"onUpdate:modelValue":b[5]||(b[5]=le=>m.value.to_tel=le),placeholder:"请输入寄件人电话",style:{width:"60%"}},null,8,["modelValue"])]),_:1}),e(pe,{label:"寄件人地址:",prop:"to_addr"},{default:l(()=>[e(be,{modelValue:m.value.to_addr,"onUpdate:modelValue":b[6]||(b[6]=le=>m.value.to_addr=le),placeholder:"请输入寄件人地址",style:{width:"60%"}},null,8,["modelValue"])]),_:1})],64)):(a(),p(pe,{key:1,label:"快递单号:",prop:"delivery_id"},{default:l(()=>[e(be,{modelValue:m.value.delivery_id,"onUpdate:modelValue":b[7]||(b[7]=le=>m.value.delivery_id=le),placeholder:"请输入快递单号",style:{width:"60%"}},null,8,["modelValue"])]),_:1}))],64)):F("",!0),m.value.delivery_type==="send"?(a(),p(pe,{key:1,label:"送货人:",prop:"sh_delivery"},{default:l(()=>[e(De,{modelValue:m.value.sh_delivery,"onUpdate:modelValue":b[8]||(b[8]=le=>m.value.sh_delivery=le),placeholder:"请选择送货人",style:{width:"60%"},onChange:O},{default:l(()=>[(a(!0),v(ye,null,Fe(c.value,(le,J)=>(a(),p(k,{key:J,value:le.id,label:le.wx_name+"("+le.phone+")"},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1})):F("",!0),m.value.delivery_type==="fictitious"?(a(),p(pe,{key:2,label:"备注:"},{default:l(()=>[e(be,{modelValue:m.value.fictitious_content,"onUpdate:modelValue":b[9]||(b[9]=le=>m.value.fictitious_content=le),type:"textarea",autosize:{minRows:2,maxRows:5},placeholder:"请输入发货备注(选填)",style:{width:"60%"}},null,8,["modelValue"])]),_:1})):F("",!0),X.value.length?(a(),p(pe,{key:3,label:"商品信息:"},{default:l(()=>[e(Se,{data:X.value,stripe:"",border:"",style:{width:"90%"}},{default:l(()=>[e(ce,{label:"商品","min-width":"220"},{default:l(({row:le})=>[t("div",dr,[e(we,{src:le.image,class:"product-img"},null,8,["src"]),t("div",ur,[t("p",cr,_(le.store_name||le.title||"--"),1),le.suk||le.sku?(a(),v("p",mr,_(le.suk||le.sku),1)):F("",!0)])])]),_:1}),e(ce,{label:"单价",width:"100"},{default:l(({row:le})=>[y("¥"+_(le.true_price||le.price||"0.00"),1)]),_:1}),e(ce,{label:"数量",width:"80",prop:"cart_num"}),e(ce,{label:"小计",width:"120"},{default:l(({row:le})=>[y("¥"+_((parseFloat(le.true_price||le.price||0)*(le.cart_num||1)).toFixed(2)),1)]),_:1})]),_:1},8,["data"])]),_:1})):F("",!0)]),_:1},8,["model"])),[[We,U.value]])],64)):F("",!0)]),_:1},8,["modelValue"])}}}),fr=Oe(pr,[["__scopeId","data-v-92634bdd"]]),vr=Object.assign({name:"OrderRemark"},{__name:"OrderRemark",props:{visible:{type:Boolean,default:!1},orderId:{type:[Number,String],default:0},remark:{type:String,default:""}},emits:["success","close"],setup(n,{emit:re}){const V=n,A=re,r=u(null),j=u(!1),I=u(!1),U=gl({remark:""});il(()=>V.visible,R=>{j.value=R,R&&(U.remark=V.remark||"")},{immediate:!0});function C(){if(!U.remark){T.error("请输入备注内容");return}I.value=!0,ke.put("normal/order/remark",{id:V.orderId,remark:U.remark}).then(R=>{T.success(R.msg||"备注成功"),j.value=!1,A("success")}).catch(R=>{T.error(R.msg||"备注失败")}).finally(()=>{I.value=!1})}function te(){j.value=!1,A("close")}return(R,X)=>{const S=s("el-input"),f=s("el-form-item"),c=s("el-form"),H=s("el-button"),m=s("el-dialog");return a(),p(m,{title:"订单备注",width:"540px",modelValue:j.value,"onUpdate:modelValue":X[1]||(X[1]=W=>j.value=W),onClose:te,"close-on-click-modal":!1,"destroy-on-close":!0},{footer:l(()=>[t("div",null,[e(H,{onClick:te},{default:l(()=>[...X[2]||(X[2]=[y("取消",-1)])]),_:1}),e(H,{type:"primary",onClick:C,loading:I.value},{default:l(()=>[...X[3]||(X[3]=[y("保存",-1)])]),_:1},8,["loading"])])]),default:l(()=>[e(c,{ref_key:"remarkFormRef",ref:r,model:U,"label-width":"80px"},{default:l(()=>[e(f,{label:"备注:"},{default:l(()=>[e(S,{type:"textarea",modelValue:U.remark,"onUpdate:modelValue":X[0]||(X[0]=W=>U.remark=W),rows:4,maxlength:"200","show-word-limit":"",placeholder:"请输入备注内容"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])}}}),_r=Object.assign({name:"OrderAddress"},{__name:"OrderAddress",props:{visible:{type:Boolean,default:!1},orderNo:{type:String,default:""},contactName:{type:String,default:""},contactPhone:{type:String,default:""},contactAddress:{type:String,default:""}},emits:["success","close"],setup(n,{emit:re}){const V=n,A=re,r=u(null),j=u(!1),I=u(!1),U=u({order_no:"",real_name:"",user_phone:"",user_address:""}),C={real_name:[{required:!0,message:"请输入收货人姓名",trigger:"blur"}],user_phone:[{required:!0,message:"请输入收货人电话",trigger:"blur"}],user_address:[{required:!0,message:"请输入收货人详细地址",trigger:"blur"}]};il(()=>V.visible,X=>{j.value=X,X&&(U.value={order_no:V.orderNo||"",real_name:V.contactName||"",user_phone:V.contactPhone||"",user_address:V.contactAddress||""},Sl(()=>{r.value&&r.value.clearValidate()}))},{immediate:!0});function te(){r.value.validate(X=>{X&&(I.value=!0,ke.put("normal/order/edit_address",{order_no:U.value.order_no,real_name:U.value.real_name,user_phone:U.value.user_phone,user_address:U.value.user_address}).then(S=>{T.success(S.msg||"修改地址成功"),j.value=!1,A("success")}).catch(S=>{T.error(S.msg||"修改地址失败")}).finally(()=>{I.value=!1}))})}function R(){j.value=!1,A("close")}return(X,S)=>{const f=s("el-form-item"),c=s("el-input"),H=s("el-form"),m=s("el-button"),W=s("el-dialog");return a(),p(W,{title:"修改收货地址",width:"500px",modelValue:j.value,"onUpdate:modelValue":S[3]||(S[3]=G=>j.value=G),onClose:R,"close-on-click-modal":!1,"destroy-on-close":!0},{footer:l(()=>[t("div",null,[e(m,{onClick:R},{default:l(()=>[...S[4]||(S[4]=[y("取消",-1)])]),_:1}),e(m,{type:"primary",onClick:te,loading:I.value},{default:l(()=>[...S[5]||(S[5]=[y("保存",-1)])]),_:1},8,["loading"])])]),default:l(()=>[e(H,{ref_key:"addressFormRef",ref:r,model:U.value,"label-width":"100px",rules:C},{default:l(()=>[e(f,{label:"订单号:"},{default:l(()=>[t("span",null,_(U.value.order_no),1)]),_:1}),e(f,{label:"收货人:",prop:"real_name"},{default:l(()=>[e(c,{modelValue:U.value.real_name,"onUpdate:modelValue":S[0]||(S[0]=G=>U.value.real_name=G),placeholder:"请输入收货人姓名",style:{width:"300px"}},null,8,["modelValue"])]),_:1}),e(f,{label:"收货电话:",prop:"user_phone"},{default:l(()=>[e(c,{modelValue:U.value.user_phone,"onUpdate:modelValue":S[1]||(S[1]=G=>U.value.user_phone=G),placeholder:"请输入收货人电话",style:{width:"300px"}},null,8,["modelValue"])]),_:1}),e(f,{label:"详细地址:",prop:"user_address"},{default:l(()=>[e(c,{modelValue:U.value.user_address,"onUpdate:modelValue":S[2]||(S[2]=G=>U.value.user_address=G),placeholder:"请输入省市区详细地址",style:{width:"300px"}},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])}}}),gr={style:{color:"#ed4014","font-weight":"bold"}},yr={style:{"margin-left":"8px",color:"#909399","font-size":"12px"}},br=Object.assign({name:"OrderRefund"},{__name:"OrderRefund",props:{visible:{type:Boolean,default:!1},orderNo:{type:String,default:""}},emits:["success","close"],setup(n,{emit:re}){const V=n,A=re,r=u(null),j=u(!1),I=u(!1),U=u(!1),C=u({order_no:"",pay_price:"0.00",max_refund:"0.00",refund_price:0});il(()=>V.visible,S=>{j.value=S,S&&V.orderNo&&te()},{immediate:!0});function te(){I.value=!0,ke.get("normal/order/get_refund_form/"+V.orderNo).then(S=>{C.value={order_no:S.data.order_no,pay_price:S.data.pay_price,max_refund:S.data.max_refund,refund_price:parseFloat(S.data.max_refund)||0}}).catch(S=>{T.error(S.msg||"获取退款信息失败")}).finally(()=>{I.value=!1})}function R(){if(!C.value.refund_price||parseFloat(C.value.refund_price)<=0){T.error("请输入退款金额");return}if(parseFloat(C.value.refund_price)>parseFloat(C.value.max_refund)){T.error("退款金额不能超过可退金额");return}U.value=!0,ke.post("normal/order/process_refund",{order_no:C.value.order_no,refund_price:C.value.refund_price}).then(S=>{T.success(S.msg||"退款成功"),j.value=!1,A("success")}).catch(S=>{T.error(S.msg||"退款失败")}).finally(()=>{U.value=!1})}function X(){j.value=!1,A("close")}return(S,f)=>{const c=s("el-form-item"),H=s("el-input-number"),m=s("el-form"),W=s("el-button"),G=s("el-dialog"),D=xe("loading");return a(),p(G,{title:"立即退款",width:"500px",modelValue:j.value,"onUpdate:modelValue":f[1]||(f[1]=w=>j.value=w),onClose:X,"close-on-click-modal":!1,"destroy-on-close":!0},{footer:l(()=>[t("div",null,[e(W,{onClick:X},{default:l(()=>[...f[2]||(f[2]=[y("取消",-1)])]),_:1}),e(W,{type:"danger",onClick:R,loading:U.value},{default:l(()=>[...f[3]||(f[3]=[y("确认退款",-1)])]),_:1},8,["loading"])])]),default:l(()=>[z((a(),p(m,{ref_key:"refundFormRef",ref:r,model:C.value,"label-width":"100px"},{default:l(()=>[e(c,{label:"订单号:"},{default:l(()=>[t("span",null,_(C.value.order_no),1)]),_:1}),e(c,{label:"订单金额:"},{default:l(()=>[t("span",null,"¥"+_(C.value.pay_price),1)]),_:1}),e(c,{label:"可退金额:"},{default:l(()=>[t("span",gr,"¥"+_(C.value.max_refund),1)]),_:1}),e(c,{label:"退款金额:"},{default:l(()=>[e(H,{modelValue:C.value.refund_price,"onUpdate:modelValue":f[0]||(f[0]=w=>C.value.refund_price=w),min:.01,max:parseFloat(C.value.max_refund)||0,precision:2,step:.01,style:{width:"200px"}},null,8,["modelValue","max"]),t("span",yr,"输入0~"+_(C.value.max_refund),1)]),_:1})]),_:1},8,["model"])),[[D,I.value]])]),_:1},8,["modelValue"])}}}),hr=Object.assign({name:"OrderRecord"},{__name:"OrderRecord",props:{visible:{type:Boolean,default:!1},orderId:{type:Number,default:0},orderNo:{type:String,default:""}},emits:["close"],setup(n,{emit:re}){const V=n,A=re,r=u(!1),j=u(!1),I=u([]);il(()=>V.visible,X=>{r.value=X,X&&(V.orderId||V.orderNo)&&U()},{immediate:!0});function U(){j.value=!0;const X={};V.orderNo?X.order_no=V.orderNo:X.id=V.orderId,ms(X).then(S=>{I.value=S.data||[]}).catch(S=>{T.error(S.msg||"获取操作记录失败")}).finally(()=>{j.value=!1})}function C(X){return{create:"success",pay:"success",delivery:"primary",confirm:"success",refund:"warning",remark:"info",edit:"warning",cancel:"danger",delete:"danger"}[X]||"info"}function te(X){return{create:"创建订单",pay:"支付",delivery:"发货",confirm:"确认收货",refund:"退款",remark:"备注",edit:"编辑",cancel:"取消订单",delete:"删除订单"}[X]||X||"--"}function R(){r.value=!1,A("close")}return(X,S)=>{const f=s("el-tag"),c=s("el-table-column"),H=s("el-table"),m=s("el-card"),W=s("el-drawer"),G=xe("loading");return a(),p(W,{modelValue:r.value,"onUpdate:modelValue":S[0]||(S[0]=D=>r.value=D),title:"操作记录","wrapper-closable":!1,size:700,onClose:R},{default:l(()=>[e(m,{bordered:!1,shadow:"never"},{default:l(()=>[z((a(),p(H,{data:I.value,"empty-text":"暂无操作记录","highlight-current-row":""},{default:l(()=>[e(c,{label:"操作类型","min-width":"120"},{default:l(D=>[e(f,{type:C(D.row.change_type)},{default:l(()=>[y(_(te(D.row.change_type)),1)]),_:2},1032,["type"])]),_:1}),e(c,{label:"操作内容","min-width":"200"},{default:l(D=>[t("span",null,_(D.row.change_message||"--"),1)]),_:1}),e(c,{label:"操作时间",width:"180"},{default:l(D=>[t("span",null,_(D.row.change_time||"--"),1)]),_:1})]),_:1},8,["data"])),[[G,j.value]])]),_:1})]),_:1},8,["modelValue"])}}}),Vr={key:0,class:"order-info"},kr={class:"value"},xr={class:"value"},wr={class:"value"},Ar={class:"value"},Cr={class:"form-section"},Fr={class:"form-section"},Sr={class:"tip"},$r=Object.assign({name:"orderEdit"},{__name:"Edit",emits:["saved"],setup(n,{expose:re,emit:V}){const A=V,r=u(null),j=u(!1),I=u(!1),U=u(!1),C=u(""),te=u(null),R=u({total_price:0,pay_price:0,pay_postage:0}),X={total_price:[{required:!0,message:"请输入商品总价",trigger:"blur"}],pay_price:[{required:!0,message:"请输入实际支付",trigger:"blur"}],pay_postage:[{required:!0,message:"请输入配送邮费",trigger:"blur"}]},S=gl({give_integral:0,back_integral:0});function f(D){if(C.value=D||"",!C.value){T.error("订单号不能为空");return}c(),H(),j.value=!0}function c(){R.value={total_price:0,pay_price:0,pay_postage:0},S.give_integral=0,S.back_integral=0,te.value=null}async function H(){I.value=!0;try{const D=await fs(C.value);D.status===200&&(te.value=D.data,R.value={total_price:parseFloat(D.data.total_price||0),pay_price:parseFloat(D.data.pay_price||0),pay_postage:parseFloat(D.data.pay_postage||0)},S.give_integral=parseInt(D.data.give_integral||0,10))}catch{T.error("获取订单数据失败")}finally{I.value=!1}}async function m(){try{await r.value.validate()}catch{return}U.value=!0;try{const D=[];D.push(vs({order_no:C.value,total_price:R.value.total_price,pay_price:R.value.pay_price,pay_postage:R.value.pay_postage})),D.push(_s({order_no:C.value,give_integral:S.give_integral,back_integral:S.back_integral})),await Promise.all(D),T.success("保存成功"),j.value=!1,A("saved")}catch(D){T.error(D.msg||"保存失败")}finally{U.value=!1}}function W(){j.value=!1}function G(D){return{pending_payment:"待支付",processing:"进行中",completed:"已完成",canceled:"已取消",refunding:"退款中",refunded:"已退款"}[D]||D||"--"}return re({open:f}),(D,w)=>{const o=s("el-col"),se=s("el-row"),ae=s("el-divider"),ie=s("el-input-number"),$=s("el-form-item"),L=s("el-form"),ue=s("el-button"),O=s("el-dialog"),Y=xe("loading");return a(),p(O,{modelValue:j.value,"onUpdate:modelValue":w[6]||(w[6]=Q=>j.value=Q),title:"订单编辑",width:"720px",onClose:W,"close-on-click-modal":!1},{footer:l(()=>[t("div",null,[e(ue,{onClick:w[5]||(w[5]=Q=>j.value=!1)},{default:l(()=>[...w[14]||(w[14]=[y("取 消",-1)])]),_:1}),e(ue,{type:"primary",loading:U.value,onClick:m},{default:l(()=>[...w[15]||(w[15]=[y("保 存",-1)])]),_:1},8,["loading"])])]),default:l(()=>[z((a(),v("div",null,[te.value?(a(),v("div",Vr,[e(se,{gutter:24},{default:l(()=>[e(o,{span:12},{default:l(()=>[w[7]||(w[7]=t("span",{class:"label"},"订单号:",-1)),t("span",kr,_(C.value),1)]),_:1}),e(o,{span:12},{default:l(()=>[w[8]||(w[8]=t("span",{class:"label"},"订单状态:",-1)),t("span",xr,_(G(te.value.status_code)),1)]),_:1})]),_:1}),e(se,{gutter:24,style:{"margin-top":"8px"}},{default:l(()=>[e(o,{span:12},{default:l(()=>[w[9]||(w[9]=t("span",{class:"label"},"商品总价:",-1)),t("span",wr,"¥"+_(te.value.total_price||"0.00"),1)]),_:1}),e(o,{span:12},{default:l(()=>[w[10]||(w[10]=t("span",{class:"label"},"实际支付:",-1)),t("span",Ar,"¥"+_(te.value.pay_price||"0.00"),1)]),_:1})]),_:1})])):F("",!0),e(ae),t("div",Cr,[w[11]||(w[11]=t("div",{class:"section-title"},"改价",-1)),e(L,{ref_key:"priceFormRef",ref:r,model:R.value,rules:X,"label-width":"120px"},{default:l(()=>[e($,{label:"商品总价",prop:"total_price"},{default:l(()=>[e(ie,{modelValue:R.value.total_price,"onUpdate:modelValue":w[0]||(w[0]=Q=>R.value.total_price=Q),precision:2,min:0,max:999999.99,style:{width:"240px"}},null,8,["modelValue"])]),_:1}),e($,{label:"配送邮费",prop:"pay_postage"},{default:l(()=>[e(ie,{modelValue:R.value.pay_postage,"onUpdate:modelValue":w[1]||(w[1]=Q=>R.value.pay_postage=Q),precision:2,min:0,max:999999.99,style:{width:"240px"}},null,8,["modelValue"])]),_:1}),e($,{label:"实际支付",prop:"pay_price"},{default:l(()=>[e(ie,{modelValue:R.value.pay_price,"onUpdate:modelValue":w[2]||(w[2]=Q=>R.value.pay_price=Q),precision:2,min:0,max:999999.99,style:{width:"240px"}},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),e(ae),t("div",Fr,[w[13]||(w[13]=t("div",{class:"section-title"},"积分管理",-1)),e(L,{ref:"integralFormRef",model:S,"label-width":"120px"},{default:l(()=>[e($,{label:"赠送积分"},{default:l(()=>[e(ie,{modelValue:S.give_integral,"onUpdate:modelValue":w[3]||(w[3]=Q=>S.give_integral=Q),precision:0,min:0,max:999999,style:{width:"240px"}},null,8,["modelValue"]),w[12]||(w[12]=t("span",{class:"tip"},"给购买该订单的用户赠送积分",-1))]),_:1}),te.value&&te.value.use_integral>0?(a(),p($,{key:0,label:"退回积分"},{default:l(()=>[e(ie,{modelValue:S.back_integral,"onUpdate:modelValue":w[4]||(w[4]=Q=>S.back_integral=Q),precision:0,min:0,max:te.value.use_integral,style:{width:"240px"}},null,8,["modelValue","max"]),t("span",Sr,"退还用户下单时使用的积分(已退 "+_(te.value.backed_integral||0)+",最多可退 "+_(te.value.use_integral)+")",1)]),_:1})):F("",!0)]),_:1},8,["model"])])])),[[Y,I.value]])]),_:1},8,["modelValue"])}}}),Dr=Oe($r,[["__scopeId","data-v-740cef3a"]]),Ur={key:0,class:"order-detail"},Tr={class:"head"},Br={class:"full"},Ir=["src"],Rr={class:"text"},Lr={class:"list"},Or={class:"item"},Pr={key:0,style:{color:"#ed4014"}},Nr={class:"item"},jr={class:"value1"},Er={key:0,class:"item"},Mr={class:"item"},qr={class:"item"},Wr={key:0,class:"section"},Gr={class:"goods-cell"},Kr={class:"goods-meta"},zr={class:"goods-name"},Xr={key:0,class:"goods-sku"},Hr={class:"section"},Yr={class:"detail-item"},Qr={class:"value"},Jr={class:"detail-item"},Zr={class:"value"},ed={class:"section"},ld={class:"detail-item"},td={class:"value"},ad={key:1,class:"section"},nd={class:"section-title"},od={class:"detail-item"},id={class:"label"},sd={class:"value"},rd={class:"detail-item"},dd={class:"label"},ud={class:"value"},cd={key:0,class:"logistics-panel"},md={class:"logistics-header"},pd={class:"logistics-info"},fd={class:"logistics-company"},vd={class:"logistics-num"},_d={class:"value"},gd={class:"logistics-timeline"},yd={class:"track-item"},bd={class:"track-time"},hd={key:1,class:"empty-logistics"},Vd={key:2,class:"section"},kd={class:"detail-item"},xd={class:"value"},wd={class:"detail-item"},Ad={class:"value"},Cd={class:"detail-item"},Fd={class:"value"},Sd={class:"section"},$d={class:"detail-item"},Dd={class:"value"},Ud={class:"detail-item"},Td={class:"value"},Bd={class:"detail-item"},Id={class:"value"},Rd={class:"detail-item"},Ld={class:"value"},Od={class:"detail-item"},Pd={class:"value"},Nd={class:"detail-item"},jd={class:"value"},Ed={class:"detail-item"},Md={class:"value"},qd={class:"detail-item"},Wd={class:"value"},Gd={class:"detail-item"},Kd={class:"value price-value"},zd={key:3,class:"section"},Xd={class:"detail-item"},Hd={class:"value"},Yd={class:"detail-item"},Qd={class:"value"},Jd={class:"detail-item"},Zd={class:"value"},eu={class:"detail-item"},lu={class:"value"},tu={class:"detail-item"},au={class:"value"},nu={key:4,class:"section"},ou={class:"detail-item"},iu={class:"value"},su={class:"detail-item"},ru={class:"value"},du={class:"detail-item"},uu={class:"value"},cu={class:"detail-item"},mu={class:"value"},pu={class:"detail-item"},fu={class:"value"},vu={class:"detail-item"},_u={class:"value"},gu={class:"detail-item"},yu={class:"value"},bu={class:"section"},hu={class:"detail-item"},Vu={class:"value"},ku={key:5,class:"section"},xu={class:"detail-item"},wu={class:"label"},Au={class:"value"},Cu={class:"detail-item"},Fu={class:"label"},Su={class:"value"},$u=["src"],Du={class:"section"},Uu={class:"detail-item"},Tu={class:"value"},Bu={key:0,class:"tl-section"},Iu={class:"tl-title"},Ru={key:0,class:"tl-desc"},Lu={key:1,class:"empty-tips"},Ou={key:1,class:"empty-tip"},Pu=Object.assign({name:"normalOrderDetail"},{__name:"Detail",props:{orderNo:{type:String,default:""}},setup(n,{expose:re}){const V=n,A=Dt(),r=u(null),j=u(!1),I=u("detail"),U=u(!1),C=u([]),te=Ae(()=>r.value?r.value.order_items||r.value.cartInfo||[]:[]),R=Ae(()=>{if(!r.value)return null;const o=(r.value.extend||{}).after_sale;return!o||!o.after_sale_no?null:o}),X=Ae(()=>{if(!r.value)return[];const w=(r.value.timeline||[]).map(se=>({title:se.title||"",desc:se.desc||"",time:se.time||"",source:"order",sortTime:W(se.time)})),o=(R.value&&R.value.timeline||[]).map(se=>({title:se.title||"",desc:se.desc||"",time:se.time||"",source:"after_sale",sortTime:W(se.time)}));return[...w,...o].sort((se,ae)=>ae.sortTime-se.sortTime)});function S(w){var se;const o=w||V.orderNo||((se=A.params)==null?void 0:se.orderNo)||"";o&&(j.value=!0,ke.get("normal/order/"+o).then(ae=>{r.value=ae.data,j.value=!1}).catch(ae=>{j.value=!1,T.error(ae.msg||"加载订单详情失败")}))}function f(){U.value=!U.value,U.value&&!C.value.length&&H()}function c(){const w=r.value&&r.value.delivery_id||"";if(!w)return;const o=document.createElement("input");o.value=w,document.body.appendChild(o),o.select(),document.execCommand("copy"),document.body.removeChild(o),T.success("已复制")}function H(){r.value&&Rt(r.value.order_no).then(w=>{C.value=w.data.result||[]}).catch(w=>{T.error(w.msg||"物流查询失败")})}function m(w){if(!w)return"--";const o=new Date(w*1e3);return`${o.getFullYear()}/${(o.getMonth()+1).toString().padStart(2,"0")}/${o.getDate().toString().padStart(2,"0")} ${o.getHours().toString().padStart(2,"0")}:${o.getMinutes().toString().padStart(2,"0")}:${o.getSeconds().toString().padStart(2,"0")}`}function W(w){if(!w)return 0;const o=new Date(String(w).replace(/-/g,"/")).getTime();return isNaN(o)?0:o}function G(w){if(!w)return"";if(typeof w=="string")try{const o=JSON.parse(w);return D(o)}catch{return w}return typeof w=="object"?D(w):""}function D(w){const o=[];return w.province&&o.push(w.province),w.city&&o.push(w.city),w.district&&o.push(w.district),w.detail&&o.push(w.detail),o.join("")}return Ol(()=>{var o;const w=V.orderNo||((o=A.params)==null?void 0:o.orderNo)||"";w&&S(w)}),il(()=>V.orderNo,w=>{w&&S(w)}),re({loadDetail:S}),(w,o)=>{const se=s("el-image"),ae=s("el-table-column"),ie=s("el-table"),$=s("el-col"),L=s("el-row"),ue=s("el-timeline-item"),O=s("el-timeline"),Y=s("el-tab-pane"),Q=s("el-tag"),_e=s("el-tabs"),ge=s("el-empty"),B=xe("db-click"),x=xe("viewer"),b=xe("loading");return a(),v("div",null,[z((a(),v("div",null,[r.value?(a(),v("div",Ur,[t("div",Tr,[t("div",Br,[t("img",{class:"order_icon",src:Ve(fn),alt:""},null,8,Ir),t("div",Rr,[o[1]||(o[1]=t("div",{class:"title"},"实物商品订单",-1)),t("div",null,"订单号:"+_(r.value.order_no),1)])]),t("ul",Lr,[t("li",Or,[o[2]||(o[2]=t("div",{class:"title"},"订单状态",-1)),t("div",null,[y(_(r.value.status_text||"--")+" ",1),r.value.refund_status==1?(a(),v("span",Pr,_(r.value.is_all_refund?"退款中":"部分退款中"),1)):F("",!0)])]),t("li",Nr,[o[3]||(o[3]=t("div",{class:"title"},"订单金额",-1)),t("div",jr,"¥"+_(r.value.total_price||"0.00"),1)]),r.value.refund_status==2?(a(),v("li",Er,[o[4]||(o[4]=t("div",{class:"title"},"实际退款",-1)),t("div",null,"¥"+_(r.value.refunded_price||"0.00"),1)])):F("",!0),t("li",Mr,[o[5]||(o[5]=t("div",{class:"title"},"支付方式",-1)),t("div",null,_(r.value.pay_type_name||r.value.pay_type||"--"),1)]),t("li",qr,[o[6]||(o[6]=t("div",{class:"title"},"支付时间",-1)),t("div",null,_(r.value.pay_time?m(r.value.pay_time):"--"),1)])])]),e(_e,{type:"border-card",modelValue:I.value,"onUpdate:modelValue":o[0]||(o[0]=h=>I.value=h)},{default:l(()=>[e(Y,{label:"订单信息",name:"detail"},{default:l(()=>{var h;return[te.value.length?(a(),v("div",Wr,[o[7]||(o[7]=t("div",{class:"section-title"},"商品信息",-1)),e(ie,{data:te.value,stripe:"",class:"goods-table"},{default:l(()=>[e(ae,{label:"商品","min-width":"300"},{default:l(({row:M})=>[t("div",Gr,[e(se,{src:M.image,class:"goods-img"},null,8,["src"]),t("div",Kr,[t("p",zr,_(M.store_name),1),M.sku?(a(),v("p",Xr,_(M.sku),1)):F("",!0)])])]),_:1}),e(ae,{label:"单价",width:"100"},{default:l(({row:M})=>[y("¥"+_(M.true_price||M.price),1)]),_:1}),e(ae,{label:"数量",width:"80",prop:"cart_num"}),e(ae,{label:"小计",width:"120"},{default:l(({row:M})=>[y("¥"+_((parseFloat(M.true_price||M.price)*M.cart_num).toFixed(2)),1)]),_:1})]),_:1},8,["data"])])):F("",!0),t("div",Hr,[o[10]||(o[10]=t("div",{class:"section-title"},"用户信息",-1)),e(L,{gutter:24,class:"detail-grid"},{default:l(()=>[e($,{span:8},{default:l(()=>{var M;return[t("div",Yr,[o[8]||(o[8]=t("span",{class:"label"},"用户名称:",-1)),t("span",Qr,_(r.value.real_name||((M=r.value.contact)==null?void 0:M.name)||"--"),1)])]}),_:1}),e($,{span:8},{default:l(()=>{var M;return[t("div",Jr,[o[9]||(o[9]=t("span",{class:"label"},"联系电话:",-1)),t("span",Zr,_(r.value.user_phone||((M=r.value.contact)==null?void 0:M.phone)||"--"),1)])]}),_:1})]),_:1})]),t("div",ed,[o[12]||(o[12]=t("div",{class:"section-title"},"配送方式",-1)),e(L,{gutter:24,class:"detail-grid"},{default:l(()=>[e($,{span:8},{default:l(()=>{var M;return[t("div",ld,[o[11]||(o[11]=t("span",{class:"label"},"配送方式:",-1)),t("span",td,_(((M=r.value.extra_info)==null?void 0:M.delivery_type)==="pickup"?"到店自提":"快递配送"),1)])]}),_:1})]),_:1})]),r.value.delivery_name?(a(),v("div",ad,[t("div",nd,_(r.value.delivery_type=="express"?"物流信息":"送货人信息"),1),e(L,{gutter:24,class:"detail-grid"},{default:l(()=>[e($,{span:8},{default:l(()=>[t("div",od,[t("span",id,_(r.value.delivery_type=="express"?"物流公司:":"送货人姓名:"),1),t("span",sd,_(r.value.delivery_name||"--"),1)])]),_:1}),e($,{span:12},{default:l(()=>[t("div",rd,[t("span",dd,_(r.value.delivery_type=="express"?"物流单号:":"送货人电话:"),1),t("span",ud,[y(_(r.value.delivery_id||"--"),1),r.value.delivery_type=="express"?z((a(),v("a",{key:0,onClick:f,class:"track-link"},[y(_(U.value?"收起轨迹":"查看轨迹"),1)])),[[B]]):F("",!0)])])]),_:1})]),_:1}),U.value?(a(),v("div",cd,[t("div",md,[o[14]||(o[14]=t("img",{class:"logistics-icon",src:It},null,-1)),t("div",pd,[t("div",fd,_(r.value.delivery_name),1),t("div",vd,[o[13]||(o[13]=t("span",{class:"label"},"运单号",-1)),t("span",_d,_(r.value.delivery_id),1),t("i",{class:"el-icon-document-copy copy-btn",title:"复制",onClick:c})])])]),t("div",gd,[C.value.length?(a(),p(O,{key:0},{default:l(()=>[(a(!0),v(ye,null,Fe(C.value,(M,de)=>(a(),p(ue,{key:de,color:de===0?"#2d8cf0":"#c0c4cc"},{default:l(()=>[t("div",yd,[t("div",{class:st(["track-status",{latest:de===0}])},_(M.status),3),t("div",bd,_(M.time),1)])]),_:2},1032,["color"]))),128))]),_:1})):(a(),v("div",hd,"暂无物流信息"))])])):F("",!0)])):F("",!0),((h=r.value.extra_info)==null?void 0:h.delivery_type)!=="pickup"&&(r.value.contact||r.value.user_address)?(a(),v("div",Vd,[o[18]||(o[18]=t("div",{class:"section-title"},"收货信息",-1)),e(L,{gutter:24,class:"detail-grid"},{default:l(()=>[e($,{span:8},{default:l(()=>{var M;return[t("div",kd,[o[15]||(o[15]=t("span",{class:"label"},"收货人:",-1)),t("span",xd,_(((M=r.value.contact)==null?void 0:M.name)||r.value.real_name||"--"),1)])]}),_:1}),e($,{span:8},{default:l(()=>{var M;return[t("div",wd,[o[16]||(o[16]=t("span",{class:"label"},"收货电话:",-1)),t("span",Ad,_(((M=r.value.contact)==null?void 0:M.phone)||r.value.user_phone||"--"),1)])]}),_:1}),e($,{span:8},{default:l(()=>{var M;return[t("div",Cd,[o[17]||(o[17]=t("span",{class:"label"},"收货地址:",-1)),t("span",Fd,_(G(r.value.user_address||((M=r.value.contact)==null?void 0:M.address))||"--"),1)])]}),_:1})]),_:1})])):F("",!0),t("div",Sd,[o[28]||(o[28]=t("div",{class:"section-title"},"订单信息",-1)),e(L,{gutter:24,class:"detail-grid"},{default:l(()=>[e($,{span:8},{default:l(()=>[t("div",$d,[o[19]||(o[19]=t("span",{class:"label"},"创建时间:",-1)),t("span",Dd,_(m(r.value.add_time)),1)])]),_:1}),e($,{span:8},{default:l(()=>[t("div",Ud,[o[20]||(o[20]=t("span",{class:"label"},"商品总数:",-1)),t("span",Td,_(r.value.total_num),1)])]),_:1}),e($,{span:8},{default:l(()=>[t("div",Bd,[o[21]||(o[21]=t("span",{class:"label"},"商品总价:",-1)),t("span",Id,"¥"+_(r.value.total_price),1)])]),_:1}),e($,{span:8},{default:l(()=>[t("div",Rd,[o[22]||(o[22]=t("span",{class:"label"},"优惠券金额:",-1)),t("span",Ld,"-¥"+_(r.value.coupon_price||"0.00"),1)])]),_:1}),e($,{span:8},{default:l(()=>[t("div",Od,[o[23]||(o[23]=t("span",{class:"label"},"积分抵扣:",-1)),t("span",Pd,"-¥"+_(r.value.deduction_price||"0.00"),1)])]),_:1}),e($,{span:8},{default:l(()=>[t("div",Nd,[o[24]||(o[24]=t("span",{class:"label"},"交付邮费:",-1)),t("span",jd,"¥"+_(r.value.pay_postage||"0.00"),1)])]),_:1}),e($,{span:8},{default:l(()=>[t("div",Ed,[o[25]||(o[25]=t("span",{class:"label"},"会员等级优惠:",-1)),t("span",Md,"-¥"+_(r.value.member_level_discount||"0.00"),1)])]),_:1}),e($,{span:8},{default:l(()=>[t("div",qd,[o[26]||(o[26]=t("span",{class:"label"},"付费会员优惠:",-1)),t("span",Wd,"-¥"+_(r.value.vip_discount||"0.00"),1)])]),_:1}),e($,{span:8},{default:l(()=>[t("div",Gd,[o[27]||(o[27]=t("span",{class:"label price-label"},"实际支付:",-1)),t("span",Kd,"¥"+_(r.value.pay_price||"0.00"),1)])]),_:1})]),_:1})]),r.value.one_brokerage||r.value.two_brokerage||r.value.staff_brokerage||r.value.agent_brokerage||r.value.division_brokerage?(a(),v("div",zd,[o[34]||(o[34]=t("div",{class:"section-title"},"返佣信息(金额|用户UID)",-1)),e(L,{gutter:24,class:"detail-grid"},{default:l(()=>[e($,{span:8},{default:l(()=>[t("div",Xd,[o[29]||(o[29]=t("span",{class:"label"},"一级佣金:",-1)),t("span",Hd,_(r.value.one_brokerage||"0.00")+" | "+_(r.value.spread_uid||"0"),1)])]),_:1}),e($,{span:8},{default:l(()=>[t("div",Yd,[o[30]||(o[30]=t("span",{class:"label"},"二级佣金:",-1)),t("span",Qd,_(r.value.two_brokerage||"0.00")+" | "+_(r.value.spread_two_uid||"0"),1)])]),_:1}),e($,{span:8},{default:l(()=>[t("div",Jd,[o[31]||(o[31]=t("span",{class:"label"},"员工返佣:",-1)),t("span",Zd,_(r.value.staff_brokerage||"0.00")+" | "+_(r.value.staff_id||"0"),1)])]),_:1}),e($,{span:8},{default:l(()=>[t("div",eu,[o[32]||(o[32]=t("span",{class:"label"},"代理商佣金:",-1)),t("span",lu,_(r.value.agent_brokerage||"0.00")+" | "+_(r.value.agent_id||"0"),1)])]),_:1}),e($,{span:8},{default:l(()=>[t("div",tu,[o[33]||(o[33]=t("span",{class:"label"},"事业部佣金:",-1)),t("span",au,_(r.value.division_brokerage||"0.00")+" | "+_(r.value.division_id||"0"),1)])]),_:1})]),_:1})])):F("",!0),r.value.invoice&&Object.keys(r.value.invoice).length?(a(),v("div",nu,[o[44]||(o[44]=t("div",{class:"section-title"},"发票信息",-1)),e(L,{gutter:24,class:"detail-grid"},{default:l(()=>[e($,{span:8},{default:l(()=>[t("div",ou,[o[35]||(o[35]=t("span",{class:"label"},"发票抬头:",-1)),t("span",iu,_(r.value.invoice.name||"--"),1)])]),_:1}),r.value.invoice.header_type===2&&r.value.invoice.type===1?(a(),p($,{key:0,span:8},{default:l(()=>[t("div",su,[o[36]||(o[36]=t("span",{class:"label"},"企业税号:",-1)),t("span",ru,_(r.value.invoice.duty_number||"--"),1)])]),_:1})):F("",!0),r.value.invoice.header_type===2&&r.value.invoice.type===1?(a(),p($,{key:1,span:8},{default:l(()=>[...o[37]||(o[37]=[t("div",{class:"detail-item"},[t("span",{class:"label"},"发票类型:"),t("span",{class:"value"},"电子普通发票")],-1)])]),_:1})):F("",!0),r.value.invoice.header_type===2&&r.value.invoice.type===1?(a(),p($,{key:2,span:8},{default:l(()=>[...o[38]||(o[38]=[t("div",{class:"detail-item"},[t("span",{class:"label"},"发票抬头类型:"),t("span",{class:"value"},"企业")],-1)])]),_:1})):F("",!0),r.value.invoice.header_type===1&&r.value.invoice.type===1?(a(),p($,{key:3,span:8},{default:l(()=>[t("div",du,[o[39]||(o[39]=t("span",{class:"label"},"真实姓名:",-1)),t("span",uu,_(r.value.invoice.name||"--"),1)])]),_:1})):F("",!0),r.value.invoice.header_type===1&&r.value.invoice.type===1?(a(),p($,{key:4,span:8},{default:l(()=>[t("div",cu,[o[40]||(o[40]=t("span",{class:"label"},"联系电话:",-1)),t("span",mu,_(r.value.invoice.drawer_phone||"--"),1)])]),_:1})):F("",!0),r.value.invoice.header_type===2&&r.value.invoice.type===1?(a(),p($,{key:5,span:8},{default:l(()=>[t("div",pu,[o[41]||(o[41]=t("span",{class:"label"},"联系电话:",-1)),t("span",fu,_(r.value.invoice.user_phone||"--"),1)])]),_:1})):F("",!0),r.value.invoice.header_type===2&&r.value.invoice.type===1?(a(),p($,{key:6,span:8},{default:l(()=>[t("div",vu,[o[42]||(o[42]=t("span",{class:"label"},"联系邮箱:",-1)),t("span",_u,_(r.value.invoice.email||"--"),1)])]),_:1})):F("",!0),e($,{span:8},{default:l(()=>[t("div",gu,[o[43]||(o[43]=t("span",{class:"label"},"开票状态:",-1)),t("span",yu,_(r.value.invoice.is_invoice?"已开票":"未开票"),1)])]),_:1})]),_:1})])):F("",!0),t("div",bu,[o[45]||(o[45]=t("div",{class:"section-title"},"买家留言",-1)),e(L,{gutter:24,class:"detail-grid"},{default:l(()=>[e($,{span:24},{default:l(()=>[t("div",hu,[t("span",Vu,_(r.value.mark||"--"),1)])]),_:1})]),_:1})]),r.value.custom_form&&r.value.custom_form.length?(a(),v("div",ku,[o[46]||(o[46]=t("div",{class:"section-title"},"表单信息",-1)),e(L,{gutter:24,class:"detail-grid"},{default:l(()=>[(a(!0),v(ye,null,Fe(r.value.custom_form,(M,de)=>(a(),v(ye,{key:de},[M.label!=="img"?(a(),p($,{key:0,span:8},{default:l(()=>[t("div",xu,[t("span",wu,_(M.title)+":",1),t("span",Au,_(M.value),1)])]),_:2},1024)):(a(),p($,{key:1,span:24},{default:l(()=>[t("div",Cu,[t("span",Fu,_(M.title)+":",1),t("span",Su,[(a(!0),v(ye,null,Fe(M.value,(pe,k)=>z((a(),v("img",{key:k,src:pe,class:"form-img"},null,8,$u)),[[x]])),128))])])]),_:2},1024))],64))),128))]),_:1})])):F("",!0),t("div",Du,[o[47]||(o[47]=t("div",{class:"section-title"},"订单备注",-1)),e(L,{gutter:24,class:"detail-grid"},{default:l(()=>[e($,{span:24},{default:l(()=>[t("div",Uu,[t("span",Tu,_(r.value.remark||"--"),1)])]),_:1})]),_:1})])]}),_:1}),e(Y,{label:"订单记录",name:"timeline"},{default:l(()=>[X.value.length?(a(),v("div",Bu,[e(O,null,{default:l(()=>[(a(!0),v(ye,null,Fe(X.value,(h,M)=>(a(),p(ue,{key:M,timestamp:h.time,color:h.source==="after_sale"?"#e6a23c":M===0?"#409eff":"#e4e7ed"},{default:l(()=>[t("span",Iu,[h.source==="after_sale"?(a(),p(Q,{key:0,type:"warning",effect:"plain",class:"source-tag"},{default:l(()=>[...o[48]||(o[48]=[y("售后",-1)])]),_:1})):F("",!0),y(" "+_(h.title),1)]),h.desc?(a(),v("span",Ru,_(h.desc),1)):F("",!0)]),_:2},1032,["timestamp","color"]))),128))]),_:1})])):(a(),v("div",Lu,"暂无订单记录"))]),_:1})]),_:1},8,["modelValue"])])):j.value?F("",!0):(a(),v("div",Ou,[e(ge,{description:"暂无订单数据"})]))])),[[b,j.value]])])}}}),Lt=Oe(Pu,[["__scopeId","data-v-b7714be6"]]),Nu={class:"normal-order-list-wrap"},ju={class:"normal-order-list"},Eu={class:"mt16"},Mu={key:0,class:"logistics-box"},qu={class:"logistics-header"},Wu={class:"logistics-info"},Gu={class:"logistics-status"},Ku={key:0,class:"batch-result mt10"},zu={key:0},Xu={key:1,style:{color:"#ed4014","font-size":"12px"}},Hu=Object.assign({name:"normalOrderList"},{__name:"List",setup(n){ll.routePre;const re=u(null),V=u(null),A=u(null),r=u(!1),j=u([]),I=u(0),U=u({}),C=u(""),te=u({}),R=u(!1),X=u(""),S=u(!1),f=u(""),c=u(!1),H=u(0),m=u(""),W=u(!1),G=u(""),D=u(""),w=u(""),o=u(""),se=u(!1),ae=u(""),ie=u(!1),$=u(""),L=u(0),ue=u(!1),O=u(null),Y=u([]),Q=u(!1),_e=u(null),ge=u(!1),B=u(null),x=u(!1),b=[{}],h=Ae(()=>"/adminapi/"),M=Ae(()=>({"Authori-zation":"Bearer "+localStorage.getItem("token")}));function de(){r.value=!0;const P={...U.value};C.value&&(P.business_status=C.value),rs(P).then(Z=>{j.value=Z.data.list||[],I.value=Z.data.total||0}).catch(Z=>{T.error(Z.msg||"加载订单列表失败")}).finally(()=>{r.value=!1})}function pe(){const P={keyword:U.value.keyword||"",date_range:U.value.date_range||"",pay_type:U.value.pay_type||"",type:U.value.type||""};ds(P).then(Z=>{te.value=Z.data||{}}).catch(()=>{})}function k(P){U.value=P,de(),pe()}function De(){U.value={},C.value="",de(),pe()}function be(P){C.value=P,de(),pe()}function we(P){U.value.page=P.page,U.value.limit=P.limit,de()}function ce(P){X.value=P.order_no,R.value=!0}function Se(){Sl(()=>{A.value&&A.value.loadDetail()})}function Xe(P){f.value=P.order_no,S.value=!0}function $e(){S.value=!1,de(),pe()}function Ke(){de(),pe()}function We(P){var fe;const Ue=((fe=P==null?void 0:P.extra_info)==null?void 0:fe.delivery_type)==="pickup"||(P==null?void 0:P.shipping_type)===2?"到店核销":"确认收货";_l({title:"提示",message:`确定要${Ue}吗?`,showCancelButton:!0,cancelButtonText:"取消",confirmButtonText:"确定"}).then(()=>{ke.post("normal/order/confirm_receipt",{order_no:P.order_no}).then(N=>{T.success(N.msg||`${Ue}成功`),de(),pe()}).catch(N=>{T.error(N.msg||`${Ue}失败`)})}).catch(()=>{})}function le(P){H.value=P.id,m.value=P.remark||"",c.value=!0}function J(){c.value=!1,de()}function He(P){G.value=P.order_no,D.value=P.contact_name||P.real_name||"",w.value=P.contact_phone||P.user_phone||"",o.value=P.user_address||"",W.value=!0}function tl(){W.value=!1,de()}function cl(P){ae.value=P.order_no,se.value=!0}function Qe(){se.value=!1,de(),pe()}function Me(P){us(P.order_no).then(Z=>{ee(Z.data,"receipt")}).catch(Z=>{T.error(Z.msg||"获取小票数据失败")})}function nl(P){cs(P.order_no).then(Z=>{ee(Z.data,"picklist")}).catch(Z=>{T.error(Z.msg||"获取配货单数据失败")})}function ee(P,Z){var Ue=window.open("","_blank","width=420,height=600,scrollbars=yes");if(!Ue){T.error("浏览器阻止了弹出窗口,请允许本网站弹出窗口");return}var fe=''+(Z==="receipt"?"小票打印":"配货单打印")+"",Z==="receipt"){if(fe+="

收银小票

",fe+='
',fe+='
订单号:'+P.order_no+"
",fe+='
商家:'+(P.store&&P.store.name||"")+"
",fe+='
商家电话:'+(P.store&&P.store.phone||"")+"
",fe+='
顾客:'+P.contact_name+"
",fe+='
顾客电话:'+P.contact_phone+"
",fe+="
",fe+="",P.items)for(var N=0;N"}fe+="
商品规格单价数量小计
"+d.name+""+(d.sku||"-")+"¥"+d.price+""+d.quantity+"¥"+d.subtotal+"
",fe+='
实付金额:¥'+P.pay_price+"
",P.pay_postage&&parseFloat(P.pay_postage)>0&&(fe+='
含运费:¥'+P.pay_postage+"
")}else{if(fe+="

配货单

",fe+='
',fe+='
订单号:'+P.order_no+"
",fe+="
",fe+="",P.items)for(var he=0;he"}fe+="
商品名称规格数量
"+ve.name+""+(ve.sku||"-")+""+ve.quantity+"
",fe+='
备注:'+(P.remark||"无")+"
",fe+='
—— 配货单(无价格信息)——
'}fe+='
',fe+='',fe+=' ',fe+="
",fe+="",Ue.document.write(fe),Ue.document.close()}function Pe(P){_l({title:"提示",message:"确定要删除该订单吗?",showCancelButton:!0,cancelButtonText:"取消",confirmButtonText:"确定"}).then(()=>{ke.delete("normal/order/delete/"+P.id).then(Z=>{T.success(Z.msg||"删除成功"),de(),pe()}).catch(Z=>{T.error(Z.msg||"删除失败")})}).catch(()=>{})}function K(P){$.value=P.order_no,L.value=P.id,ie.value=!0}function me(){B.value=null,x.value=!1,ge.value=!0}function qe(P){B.value=P,P.code===200?(T.success(P.msg||"批量发货完成"),de()):T.error(P.msg||"批量发货失败")}function sl(P){T.error("批量发货失败:"+(P.msg||"文件上传异常"))}function rl(P){var Z=P.name.split(".").pop().toLowerCase();return["xls","xlsx"].includes(Z)?!0:(T.error("文件格式不正确,请上传xls或xlsx格式"),!1)}function yl(P){_l({title:"提示",message:"确认该订单已支付(线下支付)?",showCancelButton:!0,cancelButtonText:"取消",confirmButtonText:"确定",type:"warning"}).then(()=>{ke.post("normal/order/confirm_pay",{order_no:P.order_no}).then(Z=>{T.success(Z.msg||"确认付款成功"),de(),pe()}).catch(Z=>{T.error(Z.msg||"确认付款失败")})}).catch(()=>{})}function ml(P){V.value.open(P.order_no)}function bl(P){_e.value={delivery_type:P.delivery_type||"express",delivery_name:P.delivery_name||"",delivery_id:P.delivery_id||""},Q.value=!0}function hl(P){O.value=P,ue.value=!0,Be(P)}function Be(P){P&&Rt(P.order_no).then(Z=>{Y.value=Z.data.result||[]}).catch(Z=>{T.error(Z.msg||"物流查询失败")})}function ze(){const P=re.value?re.value.selectedIds:[];if(!P||P.length===0){T.error("请先选择要删除的订单");return}_l({title:"提示",message:"确定要批量删除选中的订单吗?",showCancelButton:!0,cancelButtonText:"取消",confirmButtonText:"确定",type:"warning"}).then(()=>{ke.post("normal/order/batch_delete",{ids:P}).then(Z=>{T.success(Z.msg||"批量删除成功"),de(),pe()}).catch(Z=>{T.error(Z.msg||"批量删除失败")})}).catch(()=>{})}function Vl(){_l({title:"提示",message:"确定要导出订单数据吗?",showCancelButton:!0,cancelButtonText:"取消",confirmButtonText:"确定"}).then(()=>{const P={page:1,limit:200,...U.value,status_code:C.value};kl(P)}).catch(()=>{})}function kl(P){T.info("正在导出,请稍候..."),ps(P).then(Z=>{const Ue=Z.data||{};Ue.export&&Ue.export.length?Bt(Ue.header||[],Ue.fileKey||[],Ue.filename||"订单导出",Ue.export,Ue.filename||"订单导出"):T.info("暂无数据可导出")}).catch(Z=>{T.error(Z.msg||"导出失败")})}return Ol(()=>{de(),pe()}),(P,Z)=>{const Ue=s("el-image"),fe=s("el-timeline-item"),N=s("el-timeline"),d=s("el-empty"),he=s("el-dialog"),ve=s("el-form-item"),Te=s("el-form"),Ie=s("el-table-column"),Ye=s("el-table"),xl=s("el-button"),je=s("el-upload"),wl=s("el-drawer"),Al=xe("db-click");return a(),v("div",Nu,[t("div",ju,[e(Ve(Bs),{onSearch:k,onReset:De}),t("div",Eu,[e(Ve(Ds),{data:te.value},null,8,["data"])]),e(Ve(sr),{ref_key:"tableRef",ref:re,"table-data":j.value,total:I.value,loading:r.value,"stat-data":te.value,onTabChange:be,onDetail:ce,onConfirmPay:yl,onShipment:Xe,onConfirm:We,onEditOrder:ml,onPrintReceipt:Me,onPrintPick:nl,onEditAddress:He,onRemark:le,onRefund:cl,onDeliveryInfo:bl,onRecord:K,onDelete:Pe,onBatchShipment:me,onBatchDelete:ze,onLogistics:hl,onExport:Vl,onPageChange:we},null,8,["table-data","total","loading","stat-data"]),S.value?(a(),p(Ve(fr),{key:0,visible:S.value,"order-no":f.value,onSuccess:$e,onClose:Z[0]||(Z[0]=Re=>S.value=!1)},null,8,["visible","order-no"])):F("",!0),c.value?(a(),p(Ve(vr),{key:1,visible:c.value,"order-id":H.value,remark:m.value,onSuccess:J,onClose:Z[1]||(Z[1]=Re=>c.value=!1)},null,8,["visible","order-id","remark"])):F("",!0),W.value?(a(),p(Ve(_r),{key:2,visible:W.value,"order-no":G.value,"contact-name":D.value,"contact-phone":w.value,"contact-address":o.value,onSuccess:tl,onClose:Z[2]||(Z[2]=Re=>W.value=!1)},null,8,["visible","order-no","contact-name","contact-phone","contact-address"])):F("",!0),se.value?(a(),p(Ve(br),{key:3,visible:se.value,"order-no":ae.value,onSuccess:Qe,onClose:Z[3]||(Z[3]=Re=>se.value=!1)},null,8,["visible","order-no"])):F("",!0),e(Ve(hr),{visible:ie.value,"order-no":$.value,"order-id":L.value,onClose:Z[4]||(Z[4]=Re=>ie.value=!1)},null,8,["visible","order-no","order-id"]),e(he,{modelValue:ue.value,"onUpdate:modelValue":Z[5]||(Z[5]=Re=>ue.value=Re),title:"物流查询",width:"500px",onClose:Z[6]||(Z[6]=Re=>ue.value=!1)},{default:l(()=>[O.value?(a(),v("div",Mu,[t("div",qu,[e(Ue,{src:Ve(It),class:"logistics-icon"},null,8,["src"]),t("div",Wu,[t("p",null,"物流公司:"+_(O.value.delivery_name||"--"),1),t("p",null,"物流单号:"+_(O.value.delivery_id||"--"),1)])]),e(N,null,{default:l(()=>[(a(!0),v(ye,null,Fe(Y.value,(Re,pl)=>(a(),p(fe,{key:pl,timestamp:Re.time,placement:"top"},{default:l(()=>[t("p",Gu,_(Re.status),1)]),_:2},1032,["timestamp"]))),128))]),_:1}),Y.value.length?F("",!0):(a(),p(d,{key:0,description:"暂无物流信息"}))])):F("",!0)]),_:1},8,["modelValue"]),e(he,{modelValue:Q.value,"onUpdate:modelValue":Z[7]||(Z[7]=Re=>Q.value=Re),title:"配送信息",width:"500px"},{default:l(()=>[_e.value?(a(),p(Te,{key:0,"label-width":"120px"},{default:l(()=>[e(ve,{label:"配送方式:"},{default:l(()=>[t("span",null,_(_e.value.delivery_type==="express"?"快递":_e.value.delivery_type==="send"?"送货":"虚拟发货"),1)]),_:1}),e(ve,{label:"配送人:"},{default:l(()=>[t("span",null,_(_e.value.delivery_name||"--"),1)]),_:1}),e(ve,{label:"配送单号:"},{default:l(()=>[t("span",null,_(_e.value.delivery_id||"--"),1)]),_:1})]),_:1})):F("",!0)]),_:1},8,["modelValue"]),e(he,{modelValue:ge.value,"onUpdate:modelValue":Z[9]||(Z[9]=Re=>ge.value=Re),title:"批量发货",width:"560px"},{default:l(()=>[t("div",null,[Z[15]||(Z[15]=t("p",{class:"mb10"},[y("请上传 Excel 文件("),t("b",null,"xls/xlsx"),y("),格式如下:")],-1)),e(Ye,{data:b,border:"",stripe:"",class:"mb10"},{default:l(()=>[e(Ie,{label:"订单号",width:"200"},{default:l(()=>[...Z[11]||(Z[11]=[t("template",null,[y("CP1234567890")],-1)])]),_:1}),e(Ie,{label:"快递公司",width:"150"},{default:l(()=>[...Z[12]||(Z[12]=[t("template",null,[y("顺丰速运")],-1)])]),_:1}),e(Ie,{label:"快递单号",width:"150"},{default:l(()=>[...Z[13]||(Z[13]=[t("template",null,[y("SF1234567890")],-1)])]),_:1})]),_:1}),Z[16]||(Z[16]=t("p",{class:"mb10",style:{color:"#909399","font-size":"12px"}},"第一行为表头,从第二行开始为数据",-1)),e(je,{ref:"upload",action:h.value+"normal/order/batch_shipment",headers:M.value,"on-success":qe,"on-error":sl,"before-upload":rl,accept:".xls,.xlsx","show-file-list":!1},{trigger:l(()=>[e(xl,{type:"primary"},{default:l(()=>[...Z[14]||(Z[14]=[y("选取文件上传",-1)])]),_:1})]),_:1},8,["action","headers"])]),B.value?(a(),v("div",Ku,[t("p",null,_(B.value.msg),1),B.value.data&&B.value.data.errors&&B.value.data.errors.length?(a(),v("p",zu,[z((a(),v("a",{onClick:Z[8]||(Z[8]=Re=>x.value=!x.value)},[y(_(x.value?"收起":"查看")+"失败详情("+_(B.value.data.errors.length)+"条) ",1)])),[[Al]])])):F("",!0),x.value?(a(),v("ul",Xu,[(a(!0),v(ye,null,Fe(B.value.data.errors,(Re,pl)=>(a(),v("li",{key:pl},_(Re),1))),128))])):F("",!0)])):F("",!0)]),_:1},8,["modelValue"])]),e(Dr,{ref_key:"editRef",ref:V,onSaved:Ke},null,512),e(wl,{modelValue:R.value,"onUpdate:modelValue":Z[10]||(Z[10]=Re=>R.value=Re),title:"订单详情",size:"720px",onOpened:Se},{default:l(()=>[e(Lt,{orderNo:X.value,ref_key:"detailRef",ref:A},null,8,["orderNo"])]),_:1},8,["modelValue"])])}}}),Yu=Oe(Hu,[["__scopeId","data-v-d81e3aea"]]);function Qu(n){return ke({url:"normal/statistic/get_basic",method:"get",params:n})}function Ju(n){return ke({url:"normal/statistic/get_trend",method:"get",params:n})}function Zu(n){return ke({url:"normal/statistic/get_product_ranking",method:"get",params:n})}function ec(n){return ke({url:"normal/statistic/get_excel",method:"get",params:n})}const lc={class:"normal-statistic"},tc={class:"filter-row"},ac={class:"metric"},nc={class:"metric-name"},oc={class:"metric-value"},ic={class:"ranking-header"},sc=Object.assign({name:"normalStatisticIndex"},{__name:"Index",setup(n){const re=u(!1),V=u([]),A=u(""),r=u({}),j=u(null),I=u([]),U=u("pay"),C=[{value:"visit",label:"浏览量"},{value:"user",label:"访客数"},{value:"cart",label:"加购件数"},{value:"orders",label:"下单件数"},{value:"pay",label:"支付件数"},{value:"price",label:"支付金额"},{value:"collect",label:"收藏数"}],te=Ae(()=>[["browse","商品浏览量"],["user","商品访客数"],["pay","支付件数"],["payPrice","支付金额"],["refund","退款件数"],["refundPrice","退款金额"]].map(([G,D])=>{var w,o;return{key:G,name:D,value:((w=r.value[G])==null?void 0:w.num)??0,percent:((o=r.value[G])==null?void 0:o.percent)??0}})),R=new Date,X=new Date(new Date().getFullYear(),new Date().getMonth(),new Date().getDate()-29);V.value=[X,R],A.value=`${bt(X,"yyyy/MM/dd")}-${bt(R,"yyyy/MM/dd")}`;function S(G){A.value=G?G.join("-"):""}async function f(){if(!A.value)return T.warning("请选择时间");re.value=!0;try{const[G,D]=await Promise.all([Qu({data:A.value}),Ju({data:A.value})]);r.value=G.data||{},j.value=m(D.data||{}),await c()}catch(G){T.error(G.msg||"统计数据加载失败")}finally{re.value=!1}}async function c(){try{const G=await Zu({data:A.value,sort:U.value});I.value=G.data||[]}catch(G){T.error(G.msg||"排行数据加载失败")}}async function H(){var G;try{const w=((G=(await ec({data:A.value})).data)==null?void 0:G.url)||[];(Array.isArray(w)?w:[w]).filter(Boolean).forEach(o=>{window.location.href=o})}catch(D){T.error(D.msg||"导出失败")}}function m(G){const D=(G.series||[]).map((w,o)=>({...w,itemStyle:{normal:{color:W(o)}}}));return{tooltip:{trigger:"axis"},legend:{x:"center",data:D.map(w=>w.name)},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},toolbox:{feature:{saveAsImage:{}}},xAxis:{type:"category",data:G.xAxis||[],axisLabel:{interval:0,rotate:40}},yAxis:[{type:"value",name:"金额"},{type:"value",name:"数量"}],series:D}}function W(G){const D=["--prev-color-primary","--prev-color-success","--prev-color-warning","--prev-color-info"];return getComputedStyle(document.documentElement).getPropertyValue(D[G%D.length]).trim()}return Ol(f),(G,D)=>{const w=s("date-range-picker"),o=s("el-button"),se=s("el-card"),ae=s("el-col"),ie=s("el-row"),$=s("el-option"),L=s("el-select"),ue=s("el-table-column"),O=s("el-table"),Y=xe("auth"),Q=xe("db-click"),_e=xe("loading");return z((a(),v("div",lc,[e(se,{shadow:"never",bordered:!1,class:"filter-card"},{default:l(()=>[t("div",tc,[e(w,{modelValue:V.value,"onUpdate:modelValue":D[0]||(D[0]=ge=>V.value=ge),format:"YYYY/MM/DD","value-format":"YYYY/MM/DD",onChange:S},null,8,["modelValue"]),z((a(),p(o,{type:"primary",onClick:f},{default:l(()=>[...D[2]||(D[2]=[y("查询",-1)])]),_:1})),[[Y,["admin-normal-statistics-basic"]],[Q]]),z((a(),p(o,{onClick:H},{default:l(()=>[...D[3]||(D[3]=[y("导出",-1)])]),_:1})),[[Y,["admin-normal-statistics-excel"]],[Q]])])]),_:1}),e(se,{shadow:"never",bordered:!1,class:"stat-card"},{default:l(()=>[D[4]||(D[4]=t("div",{class:"card-title"},"实物商品概况",-1)),e(ie,{gutter:20},{default:l(()=>[(a(!0),v(ye,null,Fe(te.value,ge=>(a(),p(ae,{key:ge.key,xl:4,lg:8,md:8,sm:12,xs:24},{default:l(()=>[t("div",ac,[t("div",nc,_(ge.name),1),t("div",oc,_(ge.value),1),t("div",{class:st(["metric-percent",ge.percent>=0?"up":"down"])},"环比 "+_(ge.percent)+"%",3)])]),_:2},1024))),128))]),_:1}),j.value?(a(),p(Ve(vn),{key:0,"option-data":j.value,styles:{height:"380px"},height:"100%",width:"100%"},null,8,["option-data"])):F("",!0)]),_:1}),e(se,{shadow:"never",bordered:!1,class:"ranking-card"},{default:l(()=>[t("div",ic,[D[5]||(D[5]=t("span",{class:"card-title"},"实物商品排行",-1)),e(L,{modelValue:U.value,"onUpdate:modelValue":D[1]||(D[1]=ge=>U.value=ge),style:{width:"150px"},onChange:c},{default:l(()=>[(a(),v(ye,null,Fe(C,ge=>e($,{key:ge.value,label:ge.label,value:ge.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),e(O,{data:I.value,"empty-text":"暂无数据"},{default:l(()=>[e(ue,{prop:"product_id",label:"ID",width:"80"}),e(ue,{label:"商品名称","min-width":"180"},{default:l(ge=>[y(_(ge.row.store_name||"--"),1)]),_:1}),e(ue,{prop:"visit",label:"浏览量","min-width":"100"}),e(ue,{prop:"user",label:"访客数","min-width":"100"}),e(ue,{prop:"cart",label:"加购件数","min-width":"100"}),e(ue,{prop:"orders",label:"下单件数","min-width":"100"}),e(ue,{prop:"pay",label:"支付件数","min-width":"100"}),e(ue,{prop:"price",label:"支付金额","min-width":"110"}),e(ue,{prop:"collect",label:"收藏数","min-width":"90"})]),_:1},8,["data"])]),_:1})])),[[_e,re.value]])}}}),xt=Oe(sc,[["__scopeId","data-v-f18b86be"]]),rc={class:"normal-app"},dc={class:"section-content"},uc=Object.assign({name:"normalApp"},{__name:"App",props:{section:{type:String,default:"product"},action:{type:String,default:"list"},params:{type:Object,default:()=>({})}},setup(n){const re={product:kt,order:Yu,statistic:xt},V=n,A=Ae(()=>V.section==="product"&&V.action==="add"?ss:V.section==="order"&&V.action==="detail"?Lt:V.section==="statistic"?xt:re[V.section]||kt),r=Ae(()=>V.params&&V.params.id?V.params.id:0),j=Ae(()=>V.params&&V.params.orderNo?V.params.orderNo:"");return(I,U)=>(a(),v("div",rc,[t("div",dc,[(a(),p(Pa(A.value),{"edit-id":r.value,"order-no":j.value},null,8,["edit-id","order-no"]))])]))}}),qc=Oe(uc,[["__scopeId","data-v-029b64ff"]]);export{qc as default}; diff --git a/backend/public/admin/system_static/D-DIN-PRO-600-SemiBold-D3rt1d_1.ttf b/backend/public/admin/system_static/D-DIN-PRO-600-SemiBold-D3rt1d_1.ttf new file mode 100644 index 000000000..6a237f662 Binary files /dev/null and b/backend/public/admin/system_static/D-DIN-PRO-600-SemiBold-D3rt1d_1.ttf differ diff --git a/backend/public/admin/system_static/DetailLogistics-Bya3j2yF.js b/backend/public/admin/system_static/DetailLogistics-Bya3j2yF.js new file mode 100644 index 000000000..21fccbf2b --- /dev/null +++ b/backend/public/admin/system_static/DetailLogistics-Bya3j2yF.js @@ -0,0 +1 @@ +import{k as c,y as a,B as d,C as r,z as m,A as t,a0 as l,H as f,F as b,D as g,a1 as k,Z as x}from"./element-plus-C_ZDq0cz.js";import{_ as C}from"./expressi-pvEIYRE3.js";import{_ as h}from"./index-DHL7RTL2.js";const L={key:0,class:"express-header"},B={class:"express-info"},D={class:"express-company"},w={class:"express-num"},N={class:"value"},z={class:"express-timeline"},E={class:"track-item"},V={class:"track-time"},$={key:1,class:"empty-logistics"},j=Object.assign({name:"DetailLogistics"},{__name:"DetailLogistics",props:{visible:{type:Boolean,default:!1},data:{type:Object,default:()=>({})},logisticsList:{type:Array,default:()=>[]}},emits:["update:visible"],setup(s){const u=s;function p(){const i=u.data&&u.data.delivery_id||"";if(!i)return;const e=document.createElement("input");e.value=i,document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),x.success("已复制")}return(i,e)=>{const _=c("el-timeline-item"),v=c("el-timeline"),y=c("el-drawer");return a(),d(y,{"model-value":s.visible,"onUpdate:modelValue":e[0]||(e[0]=o=>i.$emit("update:visible",o)),onClose:e[1]||(e[1]=o=>i.$emit("update:visible",!1)),title:"物流查询",size:"420px","modal-append-to-body":!0,"wrapper-closable":!0,class:"order_box2"},{default:r(()=>[s.data?(a(),m("div",L,[e[3]||(e[3]=t("img",{class:"express-icon",src:C},null,-1)),t("div",B,[t("div",D,l(s.data.delivery_name),1),t("div",w,[e[2]||(e[2]=t("span",{class:"label"},"运单号",-1)),t("span",N,l(s.data.delivery_id),1),t("i",{class:"el-icon-document-copy copy-btn",title:"复制",onClick:p})])])])):f("",!0),t("div",z,[s.logisticsList.length?(a(),d(v,{key:0},{default:r(()=>[(a(!0),m(b,null,g(s.logisticsList,(o,n)=>(a(),d(_,{key:n,color:n===0?"#2d8cf0":"#c0c4cc"},{default:r(()=>[t("div",E,[t("div",{class:k(["track-status",{latest:n===0}])},l(o.status),3),t("div",V,l(o.time),1)])]),_:2},1032,["color"]))),128))]),_:1})):(a(),m("div",$,"暂无物流信息"))])]),_:1},8,["model-value"])}}}),H=h(j,[["__scopeId","data-v-67b7baf1"]]);export{H as D}; diff --git a/backend/public/admin/system_static/DetailLogistics-dICRUuLI.css b/backend/public/admin/system_static/DetailLogistics-dICRUuLI.css new file mode 100644 index 000000000..c5954e246 --- /dev/null +++ b/backend/public/admin/system_static/DetailLogistics-dICRUuLI.css @@ -0,0 +1 @@ +@charset "UTF-8";.order_box2[data-v-67b7baf1] .el-drawer__wrapper{z-index:3000!important}.order_box2[data-v-67b7baf1] .el-drawer__body{padding:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%}.express-header[data-v-67b7baf1]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:20px 24px;background:#f5f7fa;border-bottom:1px solid #ebeef5}.express-header .express-icon[data-v-67b7baf1]{width:48px;height:48px;border-radius:8px;margin-right:16px;-ms-flex-negative:0;flex-shrink:0}.express-header .express-info[data-v-67b7baf1]{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:0}.express-header .express-company[data-v-67b7baf1]{font-size:15px;font-weight:600;color:#303133;margin-bottom:6px}.express-header .express-num[data-v-67b7baf1]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:13px}.express-header .express-num .label[data-v-67b7baf1]{color:#909399;margin-right:8px;-ms-flex-negative:0;flex-shrink:0}.express-header .express-num .value[data-v-67b7baf1]{color:#606266;word-break:break-all}.express-header .express-num .copy-btn[data-v-67b7baf1]{color:#909399;cursor:pointer;margin-left:8px;font-size:14px;-ms-flex-negative:0;flex-shrink:0}.express-header .express-num .copy-btn[data-v-67b7baf1]:hover{color:#2d8cf0}.express-timeline[data-v-67b7baf1]{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto;padding:20px 24px 20px 12px}.express-timeline[data-v-67b7baf1] .el-timeline-item{padding-bottom:24px}.express-timeline[data-v-67b7baf1] .el-timeline-item:last-child{padding-bottom:0}.express-timeline[data-v-67b7baf1] .el-timeline-item__node{width:14px;height:14px}.express-timeline[data-v-67b7baf1] .el-timeline-item__tail{left:6px}.express-timeline[data-v-67b7baf1] .el-timeline-item__wrapper{padding-left:28px}.track-item .track-status[data-v-67b7baf1]{font-size:14px;color:#606266;line-height:1.6;margin-bottom:4px}.track-item .track-status.latest[data-v-67b7baf1]{color:#2d8cf0;font-weight:500}.track-item .track-time[data-v-67b7baf1]{font-size:12px;color:#c0c4cc}.empty-logistics[data-v-67b7baf1]{text-align:center;color:#909399;padding:60px 0;font-size:14px} diff --git a/backend/public/admin/system_static/OtherSetting-BWm0KY_q.js b/backend/public/admin/system_static/OtherSetting-BWm0KY_q.js new file mode 100644 index 000000000..c2566c6ae --- /dev/null +++ b/backend/public/admin/system_static/OtherSetting-BWm0KY_q.js @@ -0,0 +1 @@ +import{k as c,u as R,y as n,B as f,C as l,j as t,z as d,F as I,D as M,s as w,a1 as Y,A as s,a0 as x,H as $,ab as H,ac as J,$ as g,W,p as K}from"./element-plus-C_ZDq0cz.js";import{u as Q}from"./useLabel-CIIjfVL7.js";import{_ as G}from"./index-DHL7RTL2.js";import{W as X}from"./index-Beo5Mkpq.js";import{d as Z}from"./vuedraggable.umd-fTw9SVdO.js";const ee=["onClick"],le={class:"virtual_top"},te={class:"virtual_bottom"},ae={key:0,class:"virtual_san"},ne={key:1,class:"virtual_dui"},oe={class:"acea-row"},ie=["onDragstart","onDragover","onDragenter","onDragend"],de=["onClick"],ue={key:1,class:"box-video-style"},se=["src"],re={class:"flex"},me=Object.assign({name:"BasicInfo"},{__name:"BasicInfo",props:{formValidate:{type:Object,required:!0},goodsType:{type:Array,required:!0},treeSelect:{type:Array,required:!0},tileLabelList:{type:Array,required:!0},upload:{type:Object,required:!0},isCai:{type:[Number,String],required:!0}},emits:["virtualbtn","handleDragStart","handleDragOver","handleDragEnter","handleDragEnd","handleRemove","modalPicTap","addVideo","delVideo","addCate","addGoodsTag"],setup(e,{emit:N}){const _=N;function F(v,o){_("virtualbtn",v,o)}function O(v,o){_("handleDragStart",v,o)}function q(v,o){_("handleDragOver",v,o)}function P(v,o){_("handleDragEnter",v,o)}function r(v,o){_("handleDragEnd",v,o)}function i(v){_("handleRemove",v)}function T(v){_("modalPicTap",v)}function E(){_("addVideo")}function S(){_("delVideo")}function C(){_("addCate")}function a(){_("addGoodsTag")}return(v,o)=>{const V=c("el-form-item"),B=c("el-col"),j=c("el-input"),A=c("el-progress"),L=c("el-cascader"),u=c("el-button"),h=c("el-radio"),k=c("el-radio-group"),b=c("el-row"),D=R("db-click"),p=R("lazy");return n(),f(b,{gutter:24},{default:l(()=>[t(B,{span:24},{default:l(()=>[t(V,{label:"商品类型:",props:"is_virtual"},{default:l(()=>[(n(!0),d(I,null,M(e.goodsType,(y,m)=>w((n(),d("div",{class:Y(["virtual",e.formValidate.virtual_type==y.id?"virtual_boder":"virtual_boder2"]),key:m,onClick:U=>F(y.id,2)},[s("div",le,x(y.tit),1),s("div",te,"("+x(y.tit2)+")",1),e.formValidate.virtual_type==y.id?(n(),d("div",ae)):$("",!0),e.formValidate.virtual_type==y.id?(n(),d("div",ne,"✓")):$("",!0)],10,ee)),[[D],[H,e.formValidate.id&&e.formValidate.virtual_type==y.id||e.isCai==-1&&m==0&&!e.formValidate.id||e.isCai==0&&!e.formValidate.id]])),128))]),_:1})]),_:1}),t(B,{span:24},{default:l(()=>[t(V,{label:"商品名称:",prop:"store_name"},{default:l(()=>[t(j,{class:"content_width",modelValue:e.formValidate.store_name,"onUpdate:modelValue":o[0]||(o[0]=y=>e.formValidate.store_name=y),placeholder:"请输入商品名称",maxlength:"80","show-word-limit":""},null,8,["modelValue"])]),_:1})]),_:1}),t(B,{span:24},{default:l(()=>[t(V,{label:"单位:",prop:"unit_name"},{default:l(()=>[t(j,{class:"input_width",modelValue:e.formValidate.unit_name,"onUpdate:modelValue":o[1]||(o[1]=y=>e.formValidate.unit_name=y),placeholder:"请输入单位",maxlength:"5","show-word-limit":""},null,8,["modelValue"])]),_:1})]),_:1}),t(B,{span:24},{default:l(()=>[t(V,{label:"商品轮播图:",prop:"slider_image"},{default:l(()=>[s("div",oe,[(n(!0),d(I,null,M(e.formValidate.slider_image,(y,m)=>(n(),d("div",{class:"pictrue",key:m,draggable:"true",onDragstart:U=>O(U,y),onDragover:J(U=>q(U,y),["prevent"]),onDragenter:U=>P(U,y),onDragend:U=>r(U,y)},[w(s("img",null,null,512),[[p,y]]),w(s("i",{class:"el-icon-error btndel",onClick:U=>i(m)},null,8,de),[[D]])],40,ie))),128)),e.formValidate.slider_image.length<10?w((n(),d("div",{key:0,class:"upLoad acea-row row-center-wrapper",onClick:o[2]||(o[2]=y=>T("duo"))},[...o[7]||(o[7]=[s("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])])),[[D]]):$("",!0),t(j,{modelValue:e.formValidate.slider_image[0],"onUpdate:modelValue":o[3]||(o[3]=y=>e.formValidate.slider_image[0]=y),style:{display:"none"}},null,8,["modelValue"])]),o[8]||(o[8]=s("div",{class:"tip"},"建议尺寸:800*800,可拖拽改变图片顺序,默认首张图为主图,最多上传10张",-1))]),_:1})]),_:1}),t(B,{span:24,id:"selectvideo"},{default:l(()=>[t(V,{label:"添加视频:",prop:"video_link"},{default:l(()=>[e.formValidate.video_link?$("",!0):(n(),d("div",{key:0,class:"videbox",onClick:E},[...o[9]||(o[9]=[s("i",{class:"el-icon-video-camera"},null,-1)])])),e.formValidate.video_link?(n(),d("div",ue,[s("video",{style:{width:"100%",height:"100%"},src:e.formValidate.video_link,controls:"controls"}," 您的浏览器不支持 video 标签。 ",8,se),o[10]||(o[10]=s("div",{class:"mark"},null,-1)),w(s("i",{class:"el-icon-delete iconv",onClick:S},null,512),[[D]])])):$("",!0),e.upload.videoIng?(n(),f(A,{key:2,class:"progress",percentage:v.progress,"stroke-width":5},null,8,["percentage"])):$("",!0),o[11]||(o[11]=s("div",{class:"tip"},"建议时长:9~30秒,视频宽高比16:9",-1))]),_:1})]),_:1}),t(B,{span:24},{default:l(()=>[t(V,{label:"商品分类:",prop:"cate_id"},{default:l(()=>[t(L,{class:"content_width",modelValue:e.formValidate.cate_id,"onUpdate:modelValue":o[4]||(o[4]=y=>e.formValidate.cate_id=y),filterable:"",options:e.treeSelect,props:{multiple:!0,checkStrictly:!0,emitPath:!1},clearable:""},null,8,["modelValue","options"]),w((n(),d("span",{class:"addfont",onClick:C},[...o[12]||(o[12]=[g("新增分类",-1)])])),[[D]])]),_:1})]),_:1}),t(B,{span:24},{default:l(()=>[t(V,{label:"商品标签:"},{default:l(()=>[s("div",re,[e.tileLabelList.length?(n(),f(W(Q),{key:0,activeId:e.formValidate.label_list,"onUpdate:activeId":o[5]||(o[5]=y=>e.formValidate.label_list=y),listData:e.tileLabelList},null,8,["activeId","listData"])):$("",!0),w((n(),f(u,{onClick:a},{default:l(()=>[...o[13]||(o[13]=[g("选择标签",-1)])]),_:1})),[[D]])])]),_:1})]),_:1}),t(B,{span:24},{default:l(()=>[t(V,{label:"商品状态:"},{default:l(()=>[t(k,{modelValue:e.formValidate.is_show,"onUpdate:modelValue":o[6]||(o[6]=y=>e.formValidate.is_show=y)},{default:l(()=>[t(h,{label:1,value:1,class:"radio"},{default:l(()=>[...o[14]||(o[14]=[g("上架",-1)])]),_:1}),t(h,{label:0,value:0},{default:l(()=>[...o[15]||(o[15]=[g("下架",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})}}}),fl=G(me,[["__scopeId","data-v-a52b203d"]]),fe={key:0},ce={key:1,class:"pictrue pictrueTab"},Ve={key:2},ye={key:3},ve={key:4},pe={key:5},be={key:6},ke={key:7},ge={key:8},we=["onClick"],$e=["onClick"],Ce={key:0},xe={key:1,class:"brokerage"},Fe={key:2,class:"brokerage"},_e={key:0},De={key:1,class:"pictrue pictrueTab"},Ue={key:2},Be={key:3},Le={key:4},Pe={key:5},Ie={key:6},Te={key:7},Se={key:8},he=["onClick"],Oe=["onClick"],Ae={key:10},Me=Object.assign({name:"PriceCommission"},{__name:"PriceCommission",props:{formValidate:{type:Object,required:!0},oneFormValidate:{type:Array,required:!0},manyFormValidate:{type:Array,required:!0},columnsInstall:{type:Array,required:!0},columnsInstal2:{type:Array,required:!0},manyBrokerage:{type:Number,default:void 0},manyBrokerageTwo:{type:Number,default:void 0},manyVipPrice:{type:Number,default:void 0},manyVipDiscount:{type:Number,default:void 0}},emits:["checkAllGroupChange","changeVipPrice","changeDiscount","brokerageSetUp","update:manyBrokerage","update:manyBrokerageTwo","update:manyVipPrice","update:manyVipDiscount","update:manyFormValidate"],setup(e,{emit:N}){const _=N;function F(r){_("checkAllGroupChange",r)}function O(r,i){_("changeVipPrice",r,i)}function q(r,i){_("changeDiscount",r,i)}function P(){_("brokerageSetUp")}return(r,i)=>{const T=c("el-radio"),E=c("el-radio-group"),S=c("el-form-item"),C=c("el-col"),a=c("el-checkbox"),v=c("el-button"),o=c("el-input-number"),V=c("el-table-column"),B=c("el-table"),j=c("el-row"),A=R("lazy"),L=R("db-click");return n(),f(j,null,{default:l(()=>[t(C,{span:24},{default:l(()=>[t(S,{label:"付费会员专属:"},{default:l(()=>[t(E,{modelValue:e.formValidate.vip_product,"onUpdate:modelValue":i[0]||(i[0]=u=>e.formValidate.vip_product=u)},{default:l(()=>[t(T,{label:0,value:0},{default:l(()=>[...i[15]||(i[15]=[g("不限制(所有人可见可买)",-1)])]),_:1}),t(T,{label:1,value:1},{default:l(()=>[...i[16]||(i[16]=[g("仅会员可见可买",-1)])]),_:1}),t(T,{label:2,value:2},{default:l(()=>[...i[17]||(i[17]=[g("所有人可见仅会员可买",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(C,{span:24},{default:l(()=>[t(S,{label:"分销设置:"},{default:l(()=>[t(a,{modelValue:e.formValidate.is_sub,"onUpdate:modelValue":i[1]||(i[1]=u=>e.formValidate.is_sub=u),"true-value":1,"false-value":0,onChange:F},{default:l(()=>[...i[18]||(i[18]=[g("佣金设置(数字即返佣金额)",-1)])]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(C,{span:24},{default:l(()=>[t(S,{label:"会员价设置:"},{default:l(()=>[t(a,{modelValue:e.formValidate.is_vip,"onUpdate:modelValue":i[2]||(i[2]=u=>e.formValidate.is_vip=u),"true-value":1,"false-value":0,onChange:F},{default:l(()=>[...i[19]||(i[19]=[g("付费会员价",-1)])]),_:1},8,["modelValue"])]),_:1})]),_:1}),e.formValidate.is_sub==1||e.formValidate.is_vip==1?(n(),f(C,{key:0,span:24},{default:l(()=>[e.formValidate.spec_type===0?(n(),f(S,{key:0,label:"商品属性:"},{default:l(()=>[t(B,{data:e.oneFormValidate},{default:l(()=>[(n(!0),d(I,null,M(e.columnsInstall,(u,h)=>(n(),f(V,{label:u.title,"min-width":u.minWidth,key:h},{default:l(k=>[u.key?(n(),d("div",fe,[s("span",null,x(k.row[u.key]),1)])):u.slot==="pic"?(n(),d("div",ce,[w(s("img",null,null,512),[[A,e.oneFormValidate[0].pic]])])):u.slot==="price"?(n(),d("span",Ve,x(e.oneFormValidate[0].price),1)):u.slot==="cost"?(n(),d("span",ye,x(e.oneFormValidate[0].cost),1)):u.slot==="ot_price"?(n(),d("span",ve,x(e.oneFormValidate[0].ot_price),1)):u.slot==="stock"?(n(),d("span",pe,x(e.oneFormValidate[0].stock),1)):u.slot==="bar_code"?(n(),d("span",be,x(e.oneFormValidate[0].bar_code),1)):u.slot==="bar_code_number"?(n(),d("span",ke,x(e.oneFormValidate[0].bar_code_number),1)):u.slot==="weight"?(n(),d("span",ge,x(e.oneFormValidate[0].weight),1)):u.slot==="fictitious"?(n(),d(I,{key:9},[!r.row.coupon_id&&e.formValidate.virtual_type==2?w((n(),f(v,{key:0,onClick:b=>r.addGoodsCoupon(k.$index,"oneFormValidate")},{default:l(()=>[...i[20]||(i[20]=[g("选择优惠券",-1)])]),_:1},8,["onClick"])),[[L]]):r.row.coupon_id&&e.formValidate.virtual_type==2?w((n(),d("span",{key:1,class:"see",onClick:b=>r.see(r.row,"manyFormValidate",k.$index)},[g(x(r.row.coupon_name),1)],8,we)),[[L]]):!(r.row.virtual_list||[]).length&&!r.row.stock&&e.formValidate.virtual_type==1?w((n(),f(v,{key:2,onClick:b=>r.addVirtual(k.$index,"oneFormValidate")},{default:l(()=>[...i[21]||(i[21]=[g("添加卡密",-1)])]),_:1},8,["onClick"])),[[L]]):((r.row.virtual_list||[]).length||r.row.stock)&&e.formValidate.virtual_type==1?w((n(),d("span",{key:3,class:"see",onClick:b=>r.see(r.row,"oneFormValidate",k.$index)},[...i[22]||(i[22]=[g("已设置",-1)])],8,$e)),[[L]]):$("",!0)],64)):u.slot==="brokerage"?(n(),f(o,{key:10,controls:!1,modelValue:e.oneFormValidate[0].brokerage,"onUpdate:modelValue":i[3]||(i[3]=b=>e.oneFormValidate[0].brokerage=b),min:0,max:9999999999,class:"priceBox input-number-unit-class","class-unit":"元"},null,8,["modelValue"])):u.slot==="brokerage_two"?(n(),f(o,{key:11,controls:!1,modelValue:e.oneFormValidate[0].brokerage_two,"onUpdate:modelValue":i[4]||(i[4]=b=>e.oneFormValidate[0].brokerage_two=b),min:0,max:9999999999,class:"priceBox input-number-unit-class","class-unit":"元"},null,8,["modelValue"])):u.slot==="vip_price"?(n(),f(o,{key:12,controls:!1,modelValue:e.oneFormValidate[0].vip_price,"onUpdate:modelValue":i[5]||(i[5]=b=>e.oneFormValidate[0].vip_price=b),min:0,max:9999999999,class:"priceBox input-number-unit-class","class-unit":"元",onChange:i[6]||(i[6]=b=>O(0,"oneFormValidate"))},null,8,["modelValue"])):u.slot==="vip_proportion"?(n(),f(o,{key:13,controls:!1,modelValue:e.oneFormValidate[0].vip_proportion,"onUpdate:modelValue":i[7]||(i[7]=b=>e.oneFormValidate[0].vip_proportion=b),min:0,max:9999999999,class:"priceBox input-number-unit-class","class-unit":"%",onChange:i[8]||(i[8]=b=>q(0,"oneFormValidate"))},null,8,["modelValue"])):$("",!0)]),_:2},1032,["label","min-width"]))),128))]),_:1},8,["data"])]),_:1})):$("",!0),e.formValidate.spec_type===1?(n(),f(S,{key:1,label:"批量设置:"},{default:l(()=>[e.formValidate.is_sub==1?(n(),d("span",Ce,[i[23]||(i[23]=s("span",{class:"brokerage"},"一级返佣:",-1)),t(o,{controls:!1,placeholder:"请输入一级返佣",class:"columnsBox input_width input-number-unit-class","class-unit":"元",value:e.manyBrokerage,onInput:i[9]||(i[9]=u=>r.$emit("update:manyBrokerage",u))},null,8,["value"]),i[24]||(i[24]=s("span",{class:"brokerage"},"二级返佣:",-1)),t(o,{controls:!1,placeholder:"请输入二级返佣",class:"columnsBox input_width input-number-unit-class","class-unit":"元",value:e.manyBrokerageTwo,onInput:i[10]||(i[10]=u=>r.$emit("update:manyBrokerageTwo",u))},null,8,["value"])])):$("",!0),e.formValidate.is_vip==1?(n(),d("span",xe,[i[25]||(i[25]=g(" 会员价:",-1)),t(o,{controls:!1,placeholder:"请输入会员价",min:0,max:9999999999,class:"columnsBox input_width input-number-unit-class","class-unit":"元",value:e.manyVipPrice,onInput:i[11]||(i[11]=u=>r.$emit("update:manyVipPrice",u)),onFocus:i[12]||(i[12]=u=>r.$emit("update:manyVipDiscount",void 0))},null,8,["value"])])):$("",!0),e.formValidate.is_vip==1?(n(),d("span",Fe,[i[26]||(i[26]=g(" 会员折扣:",-1)),t(o,{controls:!1,placeholder:"请输入折扣比例",min:0,max:9999999999,class:"columnsBox input_width input-number-unit-class","class-unit":"%",value:e.manyVipDiscount,onInput:i[13]||(i[13]=u=>r.$emit("update:manyVipDiscount",u)),onFocus:i[14]||(i[14]=u=>r.$emit("update:manyVipPrice",void 0))},null,8,["value"])])):$("",!0),w((n(),f(v,{type:"primary",onClick:P},{default:l(()=>[...i[27]||(i[27]=[g("批量设置",-1)])]),_:1})),[[L]])]),_:1})):$("",!0),e.formValidate.spec_type==1&&(e.formValidate.is_sub==1||e.formValidate.is_vip==1)&&e.manyFormValidate.length&&e.columnsInstal2?(n(),f(S,{key:2,label:"商品属性:"},{default:l(()=>[t(B,{data:e.manyFormValidate.slice(1)},{default:l(()=>[(n(!0),d(I,null,M(e.columnsInstal2,(u,h)=>(n(),f(V,{label:u.title,"min-width":u.minWidth,key:h},{default:l(k=>[u.key?(n(),d("div",_e,[s("span",null,x(k.row.detail[u.key]),1)])):u.slot==="pic"?(n(),d("div",De,[w(s("img",null,null,512),[[A,e.manyFormValidate[k.$index+1].pic]])])):u.slot==="price"?(n(),d("span",Ue,x(e.manyFormValidate[k.$index+1].price),1)):u.slot==="cost"?(n(),d("span",Be,x(e.manyFormValidate[k.$index+1].cost),1)):u.slot==="ot_price"?(n(),d("span",Le,x(e.manyFormValidate[k.$index+1].ot_price),1)):u.slot==="stock"?(n(),d("span",Pe,x(e.manyFormValidate[k.$index+1].stock),1)):u.slot==="bar_code"?(n(),d("span",Ie,x(e.manyFormValidate[k.$index+1].bar_code),1)):u.slot==="bar_code_number"?(n(),d("span",Te,x(e.manyFormValidate[k.$index+1].bar_code_number),1)):u.slot==="weight"?(n(),d("span",Se,x(e.manyFormValidate[k.$index+1].weight),1)):u.slot==="fictitious"?(n(),d(I,{key:9},[!r.row.coupon_id&&e.formValidate.virtual_type==2?w((n(),f(v,{key:0,onClick:b=>r.addGoodsCoupon(k.$index+1,"manyFormValidate")},{default:l(()=>[...i[28]||(i[28]=[g("选择优惠券",-1)])]),_:1},8,["onClick"])),[[L]]):r.row.coupon_id&&e.formValidate.virtual_type==2?w((n(),d("span",{key:1,class:"see",onClick:b=>r.see(r.row,"manyFormValidate",k.$index+1)},[g(x(r.row.coupon_name),1)],8,he)),[[L]]):!(r.row.virtual_list||[]).length&&!r.row.stock&&e.formValidate.virtual_type==1?w((n(),f(v,{key:2,onClick:b=>r.addVirtual(k.$index+1,"manyFormValidate")},{default:l(()=>[...i[29]||(i[29]=[g("添加卡密",-1)])]),_:1},8,["onClick"])),[[L]]):((r.row.virtual_list||[]).length||r.row.stock)&&e.formValidate.virtual_type==1?w((n(),d("span",{key:3,class:"see",onClick:b=>r.see(r.row,"manyFormValidate",k.$index+1)},[...i[30]||(i[30]=[g("已设置",-1)])],8,Oe)),[[L]]):$("",!0)],64)):u.slot==="volume"?(n(),d("span",Ae,x(e.manyFormValidate[k.$index+1].volume),1)):u.slot==="brokerage"?(n(),f(o,{key:11,controls:!1,value:e.manyFormValidate[k.$index+1].brokerage,min:0,max:9999999999,class:"priceBox input-number-unit-class","class-unit":"元",onInput:b=>{const D=[...e.manyFormValidate];D[k.$index+1].brokerage=b,r.$emit("update:manyFormValidate",D)}},null,8,["value","onInput"])):u.slot==="brokerage_two"?(n(),f(o,{key:12,controls:!1,value:e.manyFormValidate[k.$index+1].brokerage_two,min:0,max:9999999999,class:"priceBox input-number-unit-class","class-unit":"元",onInput:b=>{const D=[...e.manyFormValidate];D[k.$index+1].brokerage_two=b,r.$emit("update:manyFormValidate",D)}},null,8,["value","onInput"])):u.slot==="vip_price"?(n(),f(o,{key:13,controls:!1,value:e.manyFormValidate[k.$index+1].vip_price,min:0,max:9999999999,class:"priceBox input-number-unit-class","class-unit":"元",onInput:b=>{const D=[...e.manyFormValidate];D[k.$index+1].vip_price=b,r.$emit("update:manyFormValidate",D)},onChange:b=>O(k.$index+1)},null,8,["value","onInput","onChange"])):u.slot==="vip_proportion"?(n(),f(o,{key:14,controls:!1,value:e.manyFormValidate[k.$index+1].vip_proportion,min:0,max:9999999999,class:"priceBox input-number-unit-class","class-unit":"%",onInput:b=>{const D=[...e.manyFormValidate];D[k.$index+1].vip_proportion=b,r.$emit("update:manyFormValidate",D)},onChange:b=>q(k.$index+1)},null,8,["value","onInput","onChange"])):$("",!0)]),_:2},1032,["label","min-width"]))),128))]),_:1},8,["data"])]),_:1})):$("",!0)]),_:1})):$("",!0)]),_:1})}}}),cl=G(Me,[["__scopeId","data-v-22e1f53d"]]),qe={class:"ifam"},ze=["innerHTML"],Ne=Object.assign({name:"ProductDetail"},{__name:"ProductDetail",props:{contents:{type:String,required:!0},content:{type:String,required:!0},storeName:{type:String,default:""}},emits:["getEditorContent"],setup(e,{emit:N}){const _=e,F=K(()=>{const P=(_.storeName||"").trim();return P?`请围绕商品《${P}》撰写一篇产品推广文章,介绍产品亮点、使用场景与适用人群,结构清晰,800字左右。`:"写一篇产品推广文章,介绍产品亮点、使用场景与适用人群,结构清晰,800字左右。"}),O=N;function q(P){O("getEditorContent",P)}return(P,r)=>{const i=c("el-form-item"),T=c("el-col"),E=c("el-row");return n(),f(E,null,{default:l(()=>[t(T,{span:16},{default:l(()=>[t(i,{label:"商品详情:"},{default:l(()=>[t(X,{style:{width:"100%"},content:e.contents,"ai-default-prompt":F.value,onEditorContent:q},null,8,["content","ai-default-prompt"])]),_:1})]),_:1}),t(T,{span:6,style:{width:"33%"}},{default:l(()=>[s("div",qe,[s("div",{class:"content preview-content",innerHTML:e.content},null,8,ze)])]),_:1})]),_:1})}}}),Vl=G(Ne,[["__scopeId","data-v-d31ab828"]]),Ee={key:0,class:"mb10"},je={style:{display:"flex"}},Re={style:{width:"90%"}},Ge={key:0},Ye={key:1,class:"span"},He={class:"acea-row row-middle"},We={class:"acea-row row-middle"},Ke={class:"acea-row row-middle"},Je={class:"picBox"},Qe=["onClick"],Xe=Object.assign({name:"MarketingSetting"},{__name:"MarketingSetting",props:{formValidate:{type:Object,required:!0},couponName:{type:Array,default:()=>[]},dataLabel:{type:Array,default:()=>[]},activity:{type:Object,default:()=>({})}},emits:["handleClose","addCoupon","openLabel","closeLabel","addLabel","onchangeTime","handleRemoveRecommend","changeGoods"],setup(e,{emit:N}){function _(C){return C}const F=N;function O(C){F("handleClose",C)}function q(){F("addCoupon")}function P(){F("openLabel")}function r(){F("closeLabel")}function i(){F("addLabel")}function T(C){F("onchangeTime",C)}function E(C){F("handleRemoveRecommend",C)}function S(C){F("changeGoods",C)}return(C,a)=>{const v=c("el-input-number"),o=c("el-form-item"),V=c("el-col"),B=c("el-tag"),j=c("el-button"),A=c("el-switch"),L=c("el-radio"),u=c("el-radio-group"),h=c("el-date-picker"),k=c("el-row"),b=R("db-click"),D=R("lazy");return n(),f(k,null,{default:l(()=>[t(V,{span:24},{default:l(()=>[t(o,{label:"购买送积分:",prop:"give_integral"},{default:l(()=>[t(v,{controls:!1,modelValue:e.formValidate.give_integral,"onUpdate:modelValue":a[0]||(a[0]=p=>e.formValidate.give_integral=p),min:0,max:9999999999,placeholder:"请输入积分",class:"input_width input-number-unit-class","class-unit":"积分"},null,8,["modelValue"])]),_:1})]),_:1}),t(V,{span:24},{default:l(()=>[t(o,{label:"购买送优惠券:"},{default:l(()=>[e.couponName.length?(n(),d("div",Ee,[(n(!0),d(I,null,M(e.couponName,(p,y)=>(n(),f(B,{class:"mr10",closable:"",key:y,onClose:m=>O(p)},{default:l(()=>[g(x(p.title),1)]),_:2},1032,["onClose"]))),128))])):$("",!0),w((n(),f(j,{type:"primary",onClick:q},{default:l(()=>[...a[12]||(a[12]=[g("选择优惠券",-1)])]),_:1})),[[b]])]),_:1})]),_:1}),t(V,{span:24},{default:l(()=>[t(o,{label:"关联用户标签:",prop:"label_id"},{default:l(()=>[s("div",je,[w((n(),d("div",{class:"labelInput acea-row row-between-wrapper",onClick:P},[s("div",Re,[e.dataLabel.length?(n(),d("div",Ge,[(n(!0),d(I,null,M(e.dataLabel,(p,y)=>(n(),f(B,{closable:"",onClose:m=>r(p),key:y},{default:l(()=>[g(x(p.label_name),1)]),_:2},1032,["onClose"]))),128))])):(n(),d("span",Ye,"选择用户关联标签"))]),a[13]||(a[13]=s("div",{class:"iconfont iconxiayi"},null,-1))])),[[b]]),w((n(),d("span",{class:"addfont",onClick:i},[...a[14]||(a[14]=[g("新增标签",-1)])])),[[b]])])]),_:1})]),_:1}),t(V,{span:24},{default:l(()=>[...a[15]||(a[15]=[s("div",{class:"line"},null,-1)])]),_:1}),e.formValidate.virtual_type==0?(n(),f(V,{key:0,span:24},{default:l(()=>[t(o,{label:"起购数量:"},{default:l(()=>[t(v,{controls:!1,min:1,max:9999999999,precision:0,modelValue:e.formValidate.min_qty,"onUpdate:modelValue":a[1]||(a[1]=p=>e.formValidate.min_qty=p),placeholder:"请输入起购数量",class:"input_width input-number-unit-class","class-unit":e.formValidate.unit_name||"件"},null,8,["modelValue","class-unit"])]),_:1})]),_:1})):$("",!0),t(V,{span:24},{default:l(()=>[t(o,{label:"是否限购:"},{default:l(()=>[t(A,{modelValue:e.formValidate.is_limit,"onUpdate:modelValue":a[2]||(a[2]=p=>e.formValidate.is_limit=p),class:"defineSwitch","active-text":"开启","inactive-text":"关闭","active-value":1,"inactive-value":0,size:"large"},null,8,["modelValue"])]),_:1})]),_:1}),t(V,{span:24},{default:l(()=>[e.formValidate.is_limit?(n(),f(o,{key:0,label:"限购类型:"},{default:l(()=>[t(u,{modelValue:e.formValidate.limit_type,"onUpdate:modelValue":a[3]||(a[3]=p=>e.formValidate.limit_type=p)},{default:l(()=>[t(L,{label:1,value:1},{default:l(()=>[...a[16]||(a[16]=[g("单次限购",-1)])]),_:1}),t(L,{label:2,value:2},{default:l(()=>[...a[17]||(a[17]=[g("单人限购",-1)])]),_:1})]),_:1},8,["modelValue"]),a[18]||(a[18]=s("div",{class:"tip"},"单次限购是限制每次下单最多购买的数量,单人限购是限制一个用户总共可以购买的数量",-1))]),_:1})):$("",!0)]),_:1}),e.formValidate.is_limit?(n(),f(V,{key:1,span:24},{default:l(()=>[t(o,{label:"限购数量:",prop:"limit_num"},{default:l(()=>[s("div",He,[t(v,{controls:!1,placeholder:"请输入限购数量",precision:0,min:1,modelValue:e.formValidate.limit_num,"onUpdate:modelValue":a[4]||(a[4]=p=>e.formValidate.limit_num=p),class:"input_width input-number-unit-class","class-unit":e.formValidate.unit_name||"件"},null,8,["modelValue","class-unit"])])]),_:1})]),_:1})):$("",!0),e.formValidate.is_limit?(n(),f(V,{key:2,span:24},{default:l(()=>[...a[19]||(a[19]=[s("div",{class:"line"},null,-1)])]),_:1})):$("",!0),e.formValidate.virtual_type==0||e.formValidate.virtual_type==3?(n(),f(V,{key:3,span:24},{default:l(()=>[t(o,{label:"预售商品:"},{default:l(()=>[t(A,{modelValue:e.formValidate.presale,"onUpdate:modelValue":a[5]||(a[5]=p=>e.formValidate.presale=p),class:"defineSwitch","active-text":"开启","inactive-text":"关闭","active-value":1,"inactive-value":0,size:"large"},null,8,["modelValue"])]),_:1})]),_:1})):$("",!0),e.formValidate.presale?(n(),f(V,{key:4,span:24},{default:l(()=>[t(o,{label:"预售活动时间:",prop:"presale_time"},{default:l(()=>[s("div",We,[t(h,{clearable:"",editable:!1,type:"datetimerange",format:"YYYY-MM-DD HH:mm","value-format":"YYYY-MM-DD HH:mm","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期",onChange:T,modelValue:e.formValidate.presale_time,"onUpdate:modelValue":a[6]||(a[6]=p=>e.formValidate.presale_time=p)},null,8,["modelValue"])]),a[20]||(a[20]=s("div",{class:"tip"},"设置活动开启结束时间,用户可以在设置时间内发起参与预售",-1))]),_:1})]),_:1})):$("",!0),e.formValidate.presale?(n(),f(V,{key:5,span:24},{default:l(()=>[t(o,{label:"发货时间:",prop:"presale_day"},{default:l(()=>[s("div",Ke,[a[21]||(a[21]=s("span",{class:"mr10"},"预售活动结束后",-1)),t(v,{class:"w-80 input-number-unit-class",controls:!1,placeholder:"请输入发货时间",precision:0,min:1,"class-unit":"天",modelValue:e.formValidate.presale_day,"onUpdate:modelValue":a[7]||(a[7]=p=>e.formValidate.presale_day=p)},null,8,["modelValue"]),a[22]||(a[22]=s("span",{class:"ml10"}," 之内 ",-1))])]),_:1})]),_:1})):$("",!0),t(V,{span:24},{default:l(()=>[...a[23]||(a[23]=[s("div",{class:"line"},null,-1)])]),_:1}),t(V,{span:24},{default:l(()=>[t(o,{label:"活动优先级:"},{default:l(()=>[t(W(Z),{class:"color-list acea-row row-middle",list:e.formValidate.activity,group:"color","item-key":_},{item:l(({element:p})=>[s("div",{class:Y(["color-item",e.activity[p]])},x(p),3)]),_:1},8,["list"]),a[24]||(a[24]=s("div",{class:"tip"},"可拖动按钮调整活动的优先展示顺序",-1))]),_:1})]),_:1}),t(V,{span:24},{default:l(()=>[t(o,{label:"优品推荐商品:"},{default:l(()=>[s("div",Je,[(n(!0),d(I,null,M(e.formValidate.recommend_list,(p,y)=>(n(),d("div",{class:"pictrue",key:y},[w(s("img",null,null,512),[[D,p.image]]),w(s("i",{class:"el-icon-error btndel",onClick:m=>E(y)},null,8,Qe),[[b]])]))),128)),w((n(),d("div",{class:"upLoad acea-row row-center-wrapper",onClick:S},[...a[25]||(a[25]=[s("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])])),[[b]])])]),_:1})]),_:1}),t(V,{span:24},{default:l(()=>[...a[26]||(a[26]=[s("div",{class:"line"},null,-1)])]),_:1}),t(V,{span:24},{default:l(()=>[t(o,{label:"已售数量:"},{default:l(()=>[t(v,{controls:!1,min:0,max:9999999999,modelValue:e.formValidate.ficti,"onUpdate:modelValue":a[8]||(a[8]=p=>e.formValidate.ficti=p),placeholder:"请输入虚拟销量",class:"input_width input-number-unit-class","class-unit":e.formValidate.unit_name||"件"},null,8,["modelValue","class-unit"])]),_:1})]),_:1}),t(V,{span:24},{default:l(()=>[t(o,{label:"排序:"},{default:l(()=>[t(v,{controls:!1,min:0,max:9999999999,modelValue:e.formValidate.sort,"onUpdate:modelValue":a[9]||(a[9]=p=>e.formValidate.sort=p),placeholder:"请输入数字越大越靠前",class:"input_width"},null,8,["modelValue"])]),_:1})]),_:1}),t(V,{span:24},{default:l(()=>[...a[27]||(a[27]=[s("div",{class:"line"},null,-1)])]),_:1}),e.formValidate.virtual_type==0?(n(),f(V,{key:6,span:24},{default:l(()=>[t(o,{label:"开启送礼:"},{default:l(()=>[t(A,{modelValue:e.formValidate.is_gift,"onUpdate:modelValue":a[10]||(a[10]=p=>e.formValidate.is_gift=p),class:"defineSwitch","active-text":"开启","inactive-text":"关闭","active-value":1,"inactive-value":0,size:"large"},null,8,["modelValue"]),a[28]||(a[28]=s("div",{class:"tip"},"开启送礼后,移动端商品详情的底部菜单显示送礼按钮",-1))]),_:1})]),_:1})):$("",!0),e.formValidate.virtual_type==0&&e.formValidate.is_gift?(n(),f(V,{key:7,span:24},{default:l(()=>[t(o,{label:"礼品附加费:"},{default:l(()=>[t(v,{controls:!1,min:0,max:1e5,modelValue:e.formValidate.gift_price,"onUpdate:modelValue":a[11]||(a[11]=p=>e.formValidate.gift_price=p),placeholder:"请输入礼品附加费",class:"input_width input-number-unit-class","class-unit":"元"},null,8,["modelValue"]),a[29]||(a[29]=s("div",{class:"tip"},"送礼下单时,订单默认无运费,此费用可用于负担商品运费、产品包装等附加费用",-1))]),_:1})]),_:1})):$("",!0)]),_:1})}}}),yl=G(Xe,[["__scopeId","data-v-770f97e0"]]),Ze={key:0,class:"pictrue"},el={key:1,class:"upLoad acea-row row-center-wrapper"},ll={class:"specifications"},tl=["onClick"],al={key:0,class:"addCustom_content"},nl=["onClick"],ol={class:"addCustomBox"},il=Object.assign({name:"OtherSetting"},{__name:"OtherSetting",props:{formValidate:{type:Object,required:!0},customBtn:{type:Number,default:0},paramsType:{type:Number,default:0},paramsTypeList:{type:Array,default:()=>[]},protectionList:{type:Array,default:()=>[]},CustomList:{type:Array,default:()=>[]}},emits:["customMessBtn","modalPicTap","changeParamsType","deleteRow","handleAddParams","addProtection","delcustom","addcustom"],setup(e,{emit:N}){const _=e,F=N,O=K({get(){return _.customBtn},set(C){F("customMessBtn",C)}});function q(C,a){F("modalPicTap",C,a)}function P(C){F("changeParamsType",C)}function r(C){F("deleteRow",C)}function i(){F("handleAddParams")}function T(){F("addProtection")}function E(C){F("delcustom",C)}function S(){F("addcustom")}return(C,a)=>{const v=c("el-input"),o=c("el-form-item"),V=c("el-col"),B=c("el-checkbox"),j=c("el-checkbox-group"),A=c("el-button"),L=c("el-option"),u=c("el-select"),h=c("el-table-column"),k=c("el-table"),b=c("el-switch"),D=c("el-row"),p=R("lazy"),y=R("db-click");return n(),f(D,null,{default:l(()=>[t(V,{span:24},{default:l(()=>[t(o,{label:"商品关键字:"},{default:l(()=>[t(v,{class:"content_width",modelValue:e.formValidate.keyword,"onUpdate:modelValue":a[0]||(a[0]=m=>e.formValidate.keyword=m),modelModifiers:{trim:!0},placeholder:"请输入商品关键字",maxlength:"100","show-word-limit":""},null,8,["modelValue"]),a[8]||(a[8]=s("div",{class:"tip"},"SEO优化以及可以根据关键字进行商品搜索",-1))]),_:1})]),_:1}),t(V,{span:24},{default:l(()=>[t(o,{label:"商品简介:"},{default:l(()=>[t(v,{class:"content_width",modelValue:e.formValidate.store_info,"onUpdate:modelValue":a[1]||(a[1]=m=>e.formValidate.store_info=m),modelModifiers:{trim:!0},type:"textarea",rows:3,placeholder:"请输入商品简介",maxlength:"100","show-word-limit":""},null,8,["modelValue"]),a[9]||(a[9]=s("div",{class:"tip"},"公众号分享商品以及SEO优化使用",-1))]),_:1})]),_:1}),t(V,{span:24},{default:l(()=>[t(o,{label:"商品口令:"},{default:l(()=>[t(v,{modelValue:e.formValidate.command_word,"onUpdate:modelValue":a[2]||(a[2]=m=>e.formValidate.command_word=m),modelModifiers:{trim:!0},placeholder:"请输入商品口令",type:"textarea",rows:3,class:"content_width"},null,8,["modelValue"]),a[10]||(a[10]=s("div",{class:"tip"},"将其他平台的商品口令填写保存,移动端进入商品详情的时候自动复制",-1))]),_:1})]),_:1}),t(V,{span:24},{default:l(()=>[t(o,{label:"商品推荐图:"},{default:l(()=>[w((n(),d("div",{class:"pictrueBox",onClick:a[5]||(a[5]=m=>q("dan","recommend_image"))},[e.formValidate.recommend_image?(n(),d("div",Ze,[w(s("img",null,null,512),[[p,e.formValidate.recommend_image]]),t(v,{modelValue:e.formValidate.recommend_image,"onUpdate:modelValue":a[3]||(a[3]=m=>e.formValidate.recommend_image=m),modelModifiers:{trim:!0},style:{display:"none"}},null,8,["modelValue"])])):(n(),d("div",el,[t(v,{modelValue:e.formValidate.recommend_image,"onUpdate:modelValue":a[4]||(a[4]=m=>e.formValidate.recommend_image=m),modelModifiers:{trim:!0},style:{display:"none"}},null,8,["modelValue"]),a[11]||(a[11]=s("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1))])),a[12]||(a[12]=s("div",{class:"tip"},"移动端分类样式2显示的长方形图片,建议比例:5:2",-1))])),[[y]])]),_:1})]),_:1}),t(V,{span:24},{default:l(()=>[t(o,{label:"服务保障:"},{default:l(()=>[e.protectionList.length?(n(),f(j,{key:0,modelValue:e.formValidate.protection_list,"onUpdate:modelValue":a[6]||(a[6]=m=>e.formValidate.protection_list=m)},{default:l(()=>[(n(!0),d(I,null,M(e.protectionList,(m,U)=>(n(),f(B,{key:U,value:m.id},{default:l(()=>[g(x(m.title),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])):w((n(),f(A,{key:1,type:"primary",onClick:T},{default:l(()=>[...a[13]||(a[13]=[g("添加保障",-1)])]),_:1})),[[y]]),a[14]||(a[14]=s("div",{class:"tip"},"商品详情中显示的服务保障信息,可多选",-1))]),_:1})]),_:1}),t(V,{span:24},{default:l(()=>[t(o,{label:"商品参数:"},{default:l(()=>[t(u,{"model-value":e.paramsType,clearable:"",style:{width:"200px","margin-right":"10px"},onChange:P},{default:l(()=>[(n(!0),d(I,null,M(e.paramsTypeList,m=>(n(),f(L,{value:m.id,key:m.id,label:m.name},null,8,["value","label"]))),128))]),_:1},8,["model-value"]),s("div",ll,[t(k,{class:"mt15",ref:"selection",data:e.formValidate.params_list},{default:l(()=>[t(h,{label:"参数名称","min-width":"180"},{default:l(m=>[t(v,{modelValue:m.row.name,"onUpdate:modelValue":U=>m.row.name=U},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),t(h,{label:"参数值","min-width":"180"},{default:l(m=>[t(v,{modelValue:m.row.value,"onUpdate:modelValue":U=>m.row.value=U},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),t(h,{label:"操作",fixed:"right",width:"80"},{default:l(m=>[w((n(),d("a",{class:"submission mr15",onClick:U=>r(m.$index)},[...a[15]||(a[15]=[g("删除",-1)])],8,tl)),[[y]])]),_:1})]),_:1},8,["data"]),e.formValidate.params_list.length<8?w((n(),f(A,{key:0,type:"primary",class:"submission mr15 mt20",onClick:i},{default:l(()=>[...a[16]||(a[16]=[g("添加参数",-1)])]),_:1})),[[y]]):$("",!0)])]),_:1})]),_:1}),t(V,{span:24},{default:l(()=>[t(o,{label:"自定义表单:"},{default:l(()=>[t(b,{"active-value":1,"inactive-value":0,modelValue:O.value,"onUpdate:modelValue":a[7]||(a[7]=m=>O.value=m),size:"large"},{open:l(()=>[...a[17]||(a[17]=[s("span",null,"开启",-1)])]),close:l(()=>[...a[18]||(a[18]=[s("span",null,"关闭",-1)])]),_:1},8,["modelValue"]),e.customBtn?(n(),d("div",al,[(n(!0),d(I,null,M(e.formValidate.custom_form,(m,U)=>(n(),d("div",{key:U,class:"custom_box"},[t(v,{modelValue:m.title,"onUpdate:modelValue":z=>m.title=z,modelModifiers:{trim:!0},placeholder:"表单标题"+(U+1),style:{width:"150px","margin-right":"10px"},maxlength:"10","show-word-limit":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),t(u,{modelValue:m.label,"onUpdate:modelValue":z=>m.label=z,style:{width:"200px","margin-left":"6px","margin-right":"10px"}},{default:l(()=>[(n(!0),d(I,null,M(e.CustomList,z=>(n(),f(L,{value:z.value,key:z.value,label:z.label},null,8,["value","label"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue"]),t(B,{modelValue:m.status,"onUpdate:modelValue":z=>m.status=z},{default:l(()=>[...a[19]||(a[19]=[g("必填",-1)])]),_:1},8,["modelValue","onUpdate:modelValue"]),w((n(),d("div",{class:"addfont",onClick:z=>E(U)},[...a[20]||(a[20]=[g("删除",-1)])],8,nl)),[[y]])]))),128))])):$("",!0),w(s("div",ol,[w((n(),d("div",{class:"btn",onClick:S},[...a[21]||(a[21]=[g("+ 添加表单",-1)])])),[[y]]),a[22]||(a[22]=s("div",{class:"tip"},"用户下单时需填写的信息,最多可设置10条,设置了自定义表单的商品不能加入购物车",-1))],512),[[H,e.customBtn]])]),_:1})]),_:1})]),_:1})}}}),vl=G(il,[["__scopeId","data-v-943a4638"]]);export{fl as B,yl as M,vl as O,cl as P,Vl as a}; diff --git a/backend/public/admin/system_static/OtherSetting-DdmifY4S.css b/backend/public/admin/system_static/OtherSetting-DdmifY4S.css new file mode 100644 index 000000000..abc224dd4 --- /dev/null +++ b/backend/public/admin/system_static/OtherSetting-DdmifY4S.css @@ -0,0 +1 @@ +[data-v-a52b203d] .el-tabs__item{height:54px!important;line-height:54px!important}.input_width[data-v-a52b203d]{width:160px}.content_width[data-v-a52b203d]{width:460px}.content_width[data-v-a52b203d] .el-input__inner{padding-right:60px}.list-group[data-v-a52b203d]{margin-left:-8px}.borderStyle[data-v-a52b203d]{border:1px solid #ccc;padding:8px;border-radius:4px}.drag[data-v-a52b203d]{cursor:move}.spec[data-v-a52b203d]{display:block;margin:5px 0;position:relative}.spec .img-popover[data-v-a52b203d]{cursor:pointer;width:76px;height:76px;padding:6px;margin-top:12px;background-color:#fff;position:relative;border:1px solid #dcdfe6;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover:hover .img-del[data-v-a52b203d]{display:block}.spec .img-popover .img-del[data-v-a52b203d]{display:none;position:absolute;right:3px;top:3px;font-size:16px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.spec .img-popover .popper[data-v-a52b203d]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover .img[data-v-a52b203d]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:4px}.spec .img-popover .popper-arrow[data-v-a52b203d],.spec .img-popover .popper-arrow[data-v-a52b203d]:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.spec .img-popover .popper-arrow[data-v-a52b203d]{top:-13px;border-top-width:0;border-bottom-color:#dcdfe6;border-width:6px;-webkit-filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))}.spec .img-popover .popper-arrow[data-v-a52b203d]:after{top:-5px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff;content:" ";border-width:6px}.spec .el-icon-error[data-v-a52b203d]{position:absolute;display:none;right:-3px;top:-3px;z-index:9;color:var(--prev-color-primary)}.spec:hover .el-icon-error[data-v-a52b203d]{display:block;z-index:999;cursor:pointer}.move-icon[data-v-a52b203d]{width:30px;cursor:move;margin-right:10px}.move-icon .icondrag2[data-v-a52b203d]{font-size:26px;color:#bbb}.maxW[data-v-a52b203d] .ivu-select-dropdown{max-width:600px}#shopp-manager .ivu-table-wrapper[data-v-a52b203d]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.noLeft[data-v-a52b203d] .ivu-form-item-content{margin-left:0!important}#shopp-manager .ivu-form-item[data-v-a52b203d]{position:relative}#shopp-manager .ivu-form-item .tips[data-v-a52b203d]{position:absolute;color:#999;top:29px;left:-77px;font-size:12px}.box-video-style[data-v-a52b203d]{width:375px;height:211px;border-radius:10px;background-color:#707070;margin-top:10px;position:relative;overflow:hidden}.box-video-style .iconv[data-v-a52b203d]{color:#fff;line-height:180px;width:50px;height:50px;display:inherit;font-size:26px;position:absolute;top:-74px;left:50%;margin-left:-25px;cursor:pointer}.box-video-style .mark[data-v-a52b203d]{position:absolute;width:100%;height:30px;top:0;background-color:#00000080;text-align:center}.submission[data-v-a52b203d]{margin-left:10px}.color-list .tip[data-v-a52b203d]{color:#c9c9c9;font-size:12px}.color-list .color-item[data-v-a52b203d]{height:30px;line-height:30px;padding:0 10px;color:#fff;margin-right:10px;font-size:12px}.color-list .color-item.blue[data-v-a52b203d]{background-color:#1e9fff}.color-list .color-item.yellow[data-v-a52b203d]{background-color:#feb900}.color-list .color-item.green[data-v-a52b203d]{background-color:#009688}.color-list .color-item.red[data-v-a52b203d]{background-color:#ed4014}.columnsBox[data-v-a52b203d]{margin-right:10px;width:200px}.priceBox[data-v-a52b203d]{width:100%}.rulesBox[data-v-a52b203d]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.rulesBox .item[data-v-a52b203d]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.rulesBox .addfont[data-v-a52b203d]{margin-top:5px;margin-left:0}.rulesBox[data-v-a52b203d] .el-popover{border:none;-webkit-box-shadow:none;box-shadow:none;padding:0;margin-top:5px;line-height:1.5}.pictrueBox[data-v-a52b203d]{display:inline-block}.pictrueTab[data-v-a52b203d]{width:40px!important;height:40px!important}.pictrue[data-v-a52b203d]{width:60px;height:60px;border:1px dashed rgba(0,0,0,.1);margin-right:15px;display:inline-block;position:relative;cursor:pointer}.pictrue img[data-v-a52b203d]{width:100%;height:100%}.pictrue .btndel[data-v-a52b203d]{position:absolute;z-index:1;width:20px!important;height:20px!important;left:46px;top:-4px}.upLoad[data-v-a52b203d]{width:58px;height:58px;line-height:58px;border:1px dashed rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer}.curs[data-v-a52b203d]{cursor:pointer}.inpWith[data-v-a52b203d]{width:60%}.labeltop[data-v-a52b203d] .ivu-form-item-label{float:none!important;display:inline-block!important;margin-left:120px!important;width:auto!important}.video-icon[data-v-a52b203d]{background-image:url(https://cdn.oss.9gt.net/prov1.1/1/icons.png);background-color:#fff;background-position:-9999px;background-repeat:no-repeat}.see[data-v-a52b203d]{color:#2d8cf0;cursor:pointer}.trip[data-v-a52b203d]{color:#bbb;margin-bottom:10px;font-size:12px}.virtual-data[data-v-a52b203d]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.add-more[data-v-a52b203d]{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex}.virtual-title[data-v-a52b203d]{width:60px}.scroll-virtual[data-v-a52b203d]{max-height:400px;overflow-y:auto;margin-top:10px}.footer[data-v-a52b203d]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:30px}.footer .clear[data-v-a52b203d],.footer .submit[data-v-a52b203d]{padding:10px 20px;border-radius:5px;color:#fff;cursor:pointer}.footer .clear[data-v-a52b203d]{background-color:#ccc;margin-right:20px}.footer .submit[data-v-a52b203d]{background-color:#2d8cf0}.picBox[data-v-a52b203d]{display:-webkit-box;display:-ms-flexbox;display:flex}.btndel[data-v-a52b203d]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.ifam[data-v-a52b203d]{width:344px;height:644px;background:url(/admin/system_static/phonebg-BTZgNDFd.png) no-repeat center top;background-size:344px 644px;padding:50px 20px 40px;margin:0 auto}.ifam .content[data-v-a52b203d]{height:560px;overflow:hidden;scrollbar-width:none;-ms-overflow-style:none;overflow-x:hidden;overflow-y:auto}.ifam .content video[data-v-a52b203d]{text-align:center}.ifam .content[data-v-a52b203d] video{display:block;max-width:100%;height:auto;margin:0 auto}.ifam .content[data-v-a52b203d]::-webkit-scrollbar{display:none}[data-v-a52b203d] .ivu-date-picker{width:300px}.virtual_boder[data-v-a52b203d]{border:1px solid var(--prev-color-primary)}.virtual_boder2[data-v-a52b203d]{border:1px solid #e7e7e7}.virtual_san[data-v-a52b203d]{position:absolute;bottom:0;right:0;width:0;height:0;border-bottom:26px solid var(--prev-color-primary);border-left:26px solid transparent}.virtual_dui[data-v-a52b203d]{position:absolute;bottom:-2px;right:2px;color:#fff;font-family:system-ui}.virtual[data-v-a52b203d]{width:120px;height:60px;background:#fff;border-radius:3px;float:left;text-align:center;padding-top:8px;position:relative;cursor:pointer;line-height:23px}.virtual .virtual_top[data-v-a52b203d]{font-size:14px;font-weight:600;color:#000000d9}.virtual .virtual_bottom[data-v-a52b203d]{font-size:12px;font-weight:400;color:#999}.virtual[data-v-a52b203d]:nth-child(2n){margin:0 12px}.addfont[data-v-a52b203d]{display:inline-block;font-size:12px;font-weight:400;color:var(--prev-color-primary);margin-left:14px;cursor:pointer}.videbox[data-v-a52b203d]{width:60px;height:60px;background:#00000005;border-radius:4px;border:1px dashed #dddddd;line-height:60px;text-align:center;font-size:26px;font-weight:400;cursor:pointer}.addCustom_content[data-v-a52b203d]{margin-top:20px}.addCustom_content .custom_box[data-v-a52b203d]{margin-bottom:10px}.addCustomBox[data-v-a52b203d]{margin-top:12px;font-size:13px;font-weight:400;color:var(--prev-color-primary)}.addCustomBox .btn[data-v-a52b203d]{cursor:pointer;width:-webkit-max-content;width:-moz-max-content;width:max-content}.type-radio[data-v-a52b203d]{margin-bottom:10px}.deteal-btn[data-v-a52b203d]{color:#5179ea}.stock-disk[data-v-a52b203d]{margin:10px 0}.line[data-v-a52b203d]{border-bottom:1px dashed #eee;margin-bottom:20px}.labelInput[data-v-a52b203d]{border:1px solid #dcdee2;width:414px;padding:0 15px;border-radius:5px;min-height:30px;cursor:pointer;font-size:12px}.labelInput .span[data-v-a52b203d]{color:#c5c8ce}.labelInput .iconxiayi[data-v-a52b203d]{font-size:12px}#shopp-manager[data-v-a52b203d] .ivu-form-item-content{line-height:33px!important}#selectvideo[data-v-a52b203d] .ivu-form-item-content{line-height:0px!important}.progress[data-v-a52b203d]{margin-top:10px}.labelInput[data-v-a52b203d] .el-tag{color:#606266;background-color:#f0f2f5;border-color:#f0f2f5;margin-right:6px}.labelInput[data-v-a52b203d] .el-tag .el-tag__close{color:#909399}.labelInput[data-v-a52b203d] .el-tag .el-tag__close:hover{color:#fff;background-color:#909399}.brokerage[data-v-a52b203d]{font-size:12px}.img-preview[data-v-a52b203d]{width:253px}.specifications .specifications-item[data-v-a52b203d]:hover{background-color:var(--prev-color-primary-light-9)}.specifications .specifications-item:hover .del[data-v-a52b203d]{display:block}.specifications .specifications-item[data-v-a52b203d]:last-child{margin-bottom:14px}.specifications .specifications-item[data-v-a52b203d]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:20px 15px;-webkit-transition:all .1s;transition:all .1s;background-color:#fafafa;margin-bottom:10px;border-radius:4px}.specifications .specifications-item .del[data-v-a52b203d]{display:none;position:absolute;right:15px;top:15px;font-size:22px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.specifications .specifications-item .specifications-item-box[data-v-a52b203d]{position:relative}.specifications .specifications-item .specifications-item-box .lineBox[data-v-a52b203d]{position:absolute;left:13px;top:24px;width:30px;height:45px;border-radius:6px;border-left:1px solid #dcdfe6;border-bottom:1px solid #dcdfe6}.specifications .specifications-item .specifications-item-box .specifications-item-name .el-icon-info[data-v-a52b203d]{color:var(--prev-color-primary);font-size:12px;margin-left:5px}.specifications .specifications-item .specifications-item-box .specifications-item-name-input[data-v-a52b203d]{width:200px}[data-v-22e1f53d] .el-tabs__item{height:54px!important;line-height:54px!important}.input_width[data-v-22e1f53d]{width:160px}.content_width[data-v-22e1f53d]{width:460px}.content_width[data-v-22e1f53d] .el-input__inner{padding-right:60px}.list-group[data-v-22e1f53d]{margin-left:-8px}.borderStyle[data-v-22e1f53d]{border:1px solid #ccc;padding:8px;border-radius:4px}.drag[data-v-22e1f53d]{cursor:move}.spec[data-v-22e1f53d]{display:block;margin:5px 0;position:relative}.spec .img-popover[data-v-22e1f53d]{cursor:pointer;width:76px;height:76px;padding:6px;margin-top:12px;background-color:#fff;position:relative;border:1px solid #dcdfe6;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover:hover .img-del[data-v-22e1f53d]{display:block}.spec .img-popover .img-del[data-v-22e1f53d]{display:none;position:absolute;right:3px;top:3px;font-size:16px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.spec .img-popover .popper[data-v-22e1f53d]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover .img[data-v-22e1f53d]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:4px}.spec .img-popover .popper-arrow[data-v-22e1f53d],.spec .img-popover .popper-arrow[data-v-22e1f53d]:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.spec .img-popover .popper-arrow[data-v-22e1f53d]{top:-13px;border-top-width:0;border-bottom-color:#dcdfe6;border-width:6px;-webkit-filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))}.spec .img-popover .popper-arrow[data-v-22e1f53d]:after{top:-5px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff;content:" ";border-width:6px}.spec .el-icon-error[data-v-22e1f53d]{position:absolute;display:none;right:-3px;top:-3px;z-index:9;color:var(--prev-color-primary)}.spec:hover .el-icon-error[data-v-22e1f53d]{display:block;z-index:999;cursor:pointer}.move-icon[data-v-22e1f53d]{width:30px;cursor:move;margin-right:10px}.move-icon .icondrag2[data-v-22e1f53d]{font-size:26px;color:#bbb}.maxW[data-v-22e1f53d] .ivu-select-dropdown{max-width:600px}#shopp-manager .ivu-table-wrapper[data-v-22e1f53d]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.noLeft[data-v-22e1f53d] .ivu-form-item-content{margin-left:0!important}#shopp-manager .ivu-form-item[data-v-22e1f53d]{position:relative}#shopp-manager .ivu-form-item .tips[data-v-22e1f53d]{position:absolute;color:#999;top:29px;left:-77px;font-size:12px}.box-video-style[data-v-22e1f53d]{width:375px;height:211px;border-radius:10px;background-color:#707070;margin-top:10px;position:relative;overflow:hidden}.box-video-style .iconv[data-v-22e1f53d]{color:#fff;line-height:180px;width:50px;height:50px;display:inherit;font-size:26px;position:absolute;top:-74px;left:50%;margin-left:-25px;cursor:pointer}.box-video-style .mark[data-v-22e1f53d]{position:absolute;width:100%;height:30px;top:0;background-color:#00000080;text-align:center}.submission[data-v-22e1f53d]{margin-left:10px}.color-list .tip[data-v-22e1f53d]{color:#c9c9c9;font-size:12px}.color-list .color-item[data-v-22e1f53d]{height:30px;line-height:30px;padding:0 10px;color:#fff;margin-right:10px;font-size:12px}.color-list .color-item.blue[data-v-22e1f53d]{background-color:#1e9fff}.color-list .color-item.yellow[data-v-22e1f53d]{background-color:#feb900}.color-list .color-item.green[data-v-22e1f53d]{background-color:#009688}.color-list .color-item.red[data-v-22e1f53d]{background-color:#ed4014}.columnsBox[data-v-22e1f53d]{margin-right:10px;width:200px}.priceBox[data-v-22e1f53d]{width:100%}.rulesBox[data-v-22e1f53d]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.rulesBox .item[data-v-22e1f53d]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.rulesBox .addfont[data-v-22e1f53d]{margin-top:5px;margin-left:0}.rulesBox[data-v-22e1f53d] .el-popover{border:none;-webkit-box-shadow:none;box-shadow:none;padding:0;margin-top:5px;line-height:1.5}.pictrueBox[data-v-22e1f53d]{display:inline-block}.pictrueTab[data-v-22e1f53d]{width:40px!important;height:40px!important}.pictrue[data-v-22e1f53d]{width:60px;height:60px;border:1px dashed rgba(0,0,0,.1);margin-right:15px;display:inline-block;position:relative;cursor:pointer}.pictrue img[data-v-22e1f53d]{width:100%;height:100%}.pictrue .btndel[data-v-22e1f53d]{position:absolute;z-index:1;width:20px!important;height:20px!important;left:46px;top:-4px}.upLoad[data-v-22e1f53d]{width:58px;height:58px;line-height:58px;border:1px dashed rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer}.curs[data-v-22e1f53d]{cursor:pointer}.inpWith[data-v-22e1f53d]{width:60%}.labeltop[data-v-22e1f53d] .ivu-form-item-label{float:none!important;display:inline-block!important;margin-left:120px!important;width:auto!important}.video-icon[data-v-22e1f53d]{background-image:url(https://cdn.oss.9gt.net/prov1.1/1/icons.png);background-color:#fff;background-position:-9999px;background-repeat:no-repeat}.see[data-v-22e1f53d]{color:#2d8cf0;cursor:pointer}.trip[data-v-22e1f53d]{color:#bbb;margin-bottom:10px;font-size:12px}.virtual-data[data-v-22e1f53d]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.add-more[data-v-22e1f53d]{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex}.virtual-title[data-v-22e1f53d]{width:60px}.scroll-virtual[data-v-22e1f53d]{max-height:400px;overflow-y:auto;margin-top:10px}.footer[data-v-22e1f53d]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:30px}.footer .clear[data-v-22e1f53d],.footer .submit[data-v-22e1f53d]{padding:10px 20px;border-radius:5px;color:#fff;cursor:pointer}.footer .clear[data-v-22e1f53d]{background-color:#ccc;margin-right:20px}.footer .submit[data-v-22e1f53d]{background-color:#2d8cf0}.picBox[data-v-22e1f53d]{display:-webkit-box;display:-ms-flexbox;display:flex}.btndel[data-v-22e1f53d]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.ifam[data-v-22e1f53d]{width:344px;height:644px;background:url(/admin/system_static/phonebg-BTZgNDFd.png) no-repeat center top;background-size:344px 644px;padding:50px 20px 40px;margin:0 auto}.ifam .content[data-v-22e1f53d]{height:560px;overflow:hidden;scrollbar-width:none;-ms-overflow-style:none;overflow-x:hidden;overflow-y:auto}.ifam .content video[data-v-22e1f53d]{text-align:center}.ifam .content[data-v-22e1f53d] video{display:block;max-width:100%;height:auto;margin:0 auto}.ifam .content[data-v-22e1f53d]::-webkit-scrollbar{display:none}[data-v-22e1f53d] .ivu-date-picker{width:300px}.virtual_boder[data-v-22e1f53d]{border:1px solid var(--prev-color-primary)}.virtual_boder2[data-v-22e1f53d]{border:1px solid #e7e7e7}.virtual_san[data-v-22e1f53d]{position:absolute;bottom:0;right:0;width:0;height:0;border-bottom:26px solid var(--prev-color-primary);border-left:26px solid transparent}.virtual_dui[data-v-22e1f53d]{position:absolute;bottom:-2px;right:2px;color:#fff;font-family:system-ui}.virtual[data-v-22e1f53d]{width:120px;height:60px;background:#fff;border-radius:3px;float:left;text-align:center;padding-top:8px;position:relative;cursor:pointer;line-height:23px}.virtual .virtual_top[data-v-22e1f53d]{font-size:14px;font-weight:600;color:#000000d9}.virtual .virtual_bottom[data-v-22e1f53d]{font-size:12px;font-weight:400;color:#999}.virtual[data-v-22e1f53d]:nth-child(2n){margin:0 12px}.addfont[data-v-22e1f53d]{display:inline-block;font-size:12px;font-weight:400;color:var(--prev-color-primary);margin-left:14px;cursor:pointer}.videbox[data-v-22e1f53d]{width:60px;height:60px;background:#00000005;border-radius:4px;border:1px dashed #dddddd;line-height:60px;text-align:center;font-size:26px;font-weight:400;cursor:pointer}.addCustom_content[data-v-22e1f53d]{margin-top:20px}.addCustom_content .custom_box[data-v-22e1f53d]{margin-bottom:10px}.addCustomBox[data-v-22e1f53d]{margin-top:12px;font-size:13px;font-weight:400;color:var(--prev-color-primary)}.addCustomBox .btn[data-v-22e1f53d]{cursor:pointer;width:-webkit-max-content;width:-moz-max-content;width:max-content}.type-radio[data-v-22e1f53d]{margin-bottom:10px}.deteal-btn[data-v-22e1f53d]{color:#5179ea}.stock-disk[data-v-22e1f53d]{margin:10px 0}.line[data-v-22e1f53d]{border-bottom:1px dashed #eee;margin-bottom:20px}.labelInput[data-v-22e1f53d]{border:1px solid #dcdee2;width:414px;padding:0 15px;border-radius:5px;min-height:30px;cursor:pointer;font-size:12px}.labelInput .span[data-v-22e1f53d]{color:#c5c8ce}.labelInput .iconxiayi[data-v-22e1f53d]{font-size:12px}#shopp-manager[data-v-22e1f53d] .ivu-form-item-content{line-height:33px!important}#selectvideo[data-v-22e1f53d] .ivu-form-item-content{line-height:0px!important}.progress[data-v-22e1f53d]{margin-top:10px}.labelInput[data-v-22e1f53d] .el-tag{color:#606266;background-color:#f0f2f5;border-color:#f0f2f5;margin-right:6px}.labelInput[data-v-22e1f53d] .el-tag .el-tag__close{color:#909399}.labelInput[data-v-22e1f53d] .el-tag .el-tag__close:hover{color:#fff;background-color:#909399}.brokerage[data-v-22e1f53d]{font-size:12px}.img-preview[data-v-22e1f53d]{width:253px}.specifications .specifications-item[data-v-22e1f53d]:hover{background-color:var(--prev-color-primary-light-9)}.specifications .specifications-item:hover .del[data-v-22e1f53d]{display:block}.specifications .specifications-item[data-v-22e1f53d]:last-child{margin-bottom:14px}.specifications .specifications-item[data-v-22e1f53d]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:20px 15px;-webkit-transition:all .1s;transition:all .1s;background-color:#fafafa;margin-bottom:10px;border-radius:4px}.specifications .specifications-item .del[data-v-22e1f53d]{display:none;position:absolute;right:15px;top:15px;font-size:22px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.specifications .specifications-item .specifications-item-box[data-v-22e1f53d]{position:relative}.specifications .specifications-item .specifications-item-box .lineBox[data-v-22e1f53d]{position:absolute;left:13px;top:24px;width:30px;height:45px;border-radius:6px;border-left:1px solid #dcdfe6;border-bottom:1px solid #dcdfe6}.specifications .specifications-item .specifications-item-box .specifications-item-name .el-icon-info[data-v-22e1f53d]{color:var(--prev-color-primary);font-size:12px;margin-left:5px}.specifications .specifications-item .specifications-item-box .specifications-item-name-input[data-v-22e1f53d]{width:200px}[data-v-d31ab828] .el-tabs__item{height:54px!important;line-height:54px!important}.input_width[data-v-d31ab828]{width:160px}.content_width[data-v-d31ab828]{width:460px}.content_width[data-v-d31ab828] .el-input__inner{padding-right:60px}.list-group[data-v-d31ab828]{margin-left:-8px}.borderStyle[data-v-d31ab828]{border:1px solid #ccc;padding:8px;border-radius:4px}.drag[data-v-d31ab828]{cursor:move}.spec[data-v-d31ab828]{display:block;margin:5px 0;position:relative}.spec .img-popover[data-v-d31ab828]{cursor:pointer;width:76px;height:76px;padding:6px;margin-top:12px;background-color:#fff;position:relative;border:1px solid #dcdfe6;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover:hover .img-del[data-v-d31ab828]{display:block}.spec .img-popover .img-del[data-v-d31ab828]{display:none;position:absolute;right:3px;top:3px;font-size:16px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.spec .img-popover .popper[data-v-d31ab828]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover .img[data-v-d31ab828]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:4px}.spec .img-popover .popper-arrow[data-v-d31ab828],.spec .img-popover .popper-arrow[data-v-d31ab828]:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.spec .img-popover .popper-arrow[data-v-d31ab828]{top:-13px;border-top-width:0;border-bottom-color:#dcdfe6;border-width:6px;-webkit-filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))}.spec .img-popover .popper-arrow[data-v-d31ab828]:after{top:-5px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff;content:" ";border-width:6px}.spec .el-icon-error[data-v-d31ab828]{position:absolute;display:none;right:-3px;top:-3px;z-index:9;color:var(--prev-color-primary)}.spec:hover .el-icon-error[data-v-d31ab828]{display:block;z-index:999;cursor:pointer}.move-icon[data-v-d31ab828]{width:30px;cursor:move;margin-right:10px}.move-icon .icondrag2[data-v-d31ab828]{font-size:26px;color:#bbb}.maxW[data-v-d31ab828] .ivu-select-dropdown{max-width:600px}#shopp-manager .ivu-table-wrapper[data-v-d31ab828]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.noLeft[data-v-d31ab828] .ivu-form-item-content{margin-left:0!important}#shopp-manager .ivu-form-item[data-v-d31ab828]{position:relative}#shopp-manager .ivu-form-item .tips[data-v-d31ab828]{position:absolute;color:#999;top:29px;left:-77px;font-size:12px}.box-video-style[data-v-d31ab828]{width:375px;height:211px;border-radius:10px;background-color:#707070;margin-top:10px;position:relative;overflow:hidden}.box-video-style .iconv[data-v-d31ab828]{color:#fff;line-height:180px;width:50px;height:50px;display:inherit;font-size:26px;position:absolute;top:-74px;left:50%;margin-left:-25px;cursor:pointer}.box-video-style .mark[data-v-d31ab828]{position:absolute;width:100%;height:30px;top:0;background-color:#00000080;text-align:center}.submission[data-v-d31ab828]{margin-left:10px}.color-list .tip[data-v-d31ab828]{color:#c9c9c9;font-size:12px}.color-list .color-item[data-v-d31ab828]{height:30px;line-height:30px;padding:0 10px;color:#fff;margin-right:10px;font-size:12px}.color-list .color-item.blue[data-v-d31ab828]{background-color:#1e9fff}.color-list .color-item.yellow[data-v-d31ab828]{background-color:#feb900}.color-list .color-item.green[data-v-d31ab828]{background-color:#009688}.color-list .color-item.red[data-v-d31ab828]{background-color:#ed4014}.columnsBox[data-v-d31ab828]{margin-right:10px;width:200px}.priceBox[data-v-d31ab828]{width:100%}.rulesBox[data-v-d31ab828]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.rulesBox .item[data-v-d31ab828]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.rulesBox .addfont[data-v-d31ab828]{margin-top:5px;margin-left:0}.rulesBox[data-v-d31ab828] .el-popover{border:none;-webkit-box-shadow:none;box-shadow:none;padding:0;margin-top:5px;line-height:1.5}.pictrueBox[data-v-d31ab828]{display:inline-block}.pictrueTab[data-v-d31ab828]{width:40px!important;height:40px!important}.pictrue[data-v-d31ab828]{width:60px;height:60px;border:1px dashed rgba(0,0,0,.1);margin-right:15px;display:inline-block;position:relative;cursor:pointer}.pictrue img[data-v-d31ab828]{width:100%;height:100%}.pictrue .btndel[data-v-d31ab828]{position:absolute;z-index:1;width:20px!important;height:20px!important;left:46px;top:-4px}.upLoad[data-v-d31ab828]{width:58px;height:58px;line-height:58px;border:1px dashed rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer}.curs[data-v-d31ab828]{cursor:pointer}.inpWith[data-v-d31ab828]{width:60%}.labeltop[data-v-d31ab828] .ivu-form-item-label{float:none!important;display:inline-block!important;margin-left:120px!important;width:auto!important}.video-icon[data-v-d31ab828]{background-image:url(https://cdn.oss.9gt.net/prov1.1/1/icons.png);background-color:#fff;background-position:-9999px;background-repeat:no-repeat}.see[data-v-d31ab828]{color:#2d8cf0;cursor:pointer}.trip[data-v-d31ab828]{color:#bbb;margin-bottom:10px;font-size:12px}.virtual-data[data-v-d31ab828]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.add-more[data-v-d31ab828]{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex}.virtual-title[data-v-d31ab828]{width:60px}.scroll-virtual[data-v-d31ab828]{max-height:400px;overflow-y:auto;margin-top:10px}.footer[data-v-d31ab828]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:30px}.footer .clear[data-v-d31ab828],.footer .submit[data-v-d31ab828]{padding:10px 20px;border-radius:5px;color:#fff;cursor:pointer}.footer .clear[data-v-d31ab828]{background-color:#ccc;margin-right:20px}.footer .submit[data-v-d31ab828]{background-color:#2d8cf0}.picBox[data-v-d31ab828]{display:-webkit-box;display:-ms-flexbox;display:flex}.btndel[data-v-d31ab828]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.ifam[data-v-d31ab828]{width:344px;height:644px;background:url(/admin/system_static/phonebg-BTZgNDFd.png) no-repeat center top;background-size:344px 644px;padding:50px 20px 40px;margin:0 auto}.ifam .content[data-v-d31ab828]{height:560px;overflow:hidden;scrollbar-width:none;-ms-overflow-style:none;overflow-x:hidden;overflow-y:auto}.ifam .content video[data-v-d31ab828]{text-align:center}.ifam .content[data-v-d31ab828] video{display:block;max-width:100%;height:auto;margin:0 auto}.ifam .content[data-v-d31ab828]::-webkit-scrollbar{display:none}[data-v-d31ab828] .ivu-date-picker{width:300px}.virtual_boder[data-v-d31ab828]{border:1px solid var(--prev-color-primary)}.virtual_boder2[data-v-d31ab828]{border:1px solid #e7e7e7}.virtual_san[data-v-d31ab828]{position:absolute;bottom:0;right:0;width:0;height:0;border-bottom:26px solid var(--prev-color-primary);border-left:26px solid transparent}.virtual_dui[data-v-d31ab828]{position:absolute;bottom:-2px;right:2px;color:#fff;font-family:system-ui}.virtual[data-v-d31ab828]{width:120px;height:60px;background:#fff;border-radius:3px;float:left;text-align:center;padding-top:8px;position:relative;cursor:pointer;line-height:23px}.virtual .virtual_top[data-v-d31ab828]{font-size:14px;font-weight:600;color:#000000d9}.virtual .virtual_bottom[data-v-d31ab828]{font-size:12px;font-weight:400;color:#999}.virtual[data-v-d31ab828]:nth-child(2n){margin:0 12px}.addfont[data-v-d31ab828]{display:inline-block;font-size:12px;font-weight:400;color:var(--prev-color-primary);margin-left:14px;cursor:pointer}.videbox[data-v-d31ab828]{width:60px;height:60px;background:#00000005;border-radius:4px;border:1px dashed #dddddd;line-height:60px;text-align:center;font-size:26px;font-weight:400;cursor:pointer}.addCustom_content[data-v-d31ab828]{margin-top:20px}.addCustom_content .custom_box[data-v-d31ab828]{margin-bottom:10px}.addCustomBox[data-v-d31ab828]{margin-top:12px;font-size:13px;font-weight:400;color:var(--prev-color-primary)}.addCustomBox .btn[data-v-d31ab828]{cursor:pointer;width:-webkit-max-content;width:-moz-max-content;width:max-content}.type-radio[data-v-d31ab828]{margin-bottom:10px}.deteal-btn[data-v-d31ab828]{color:#5179ea}.stock-disk[data-v-d31ab828]{margin:10px 0}.line[data-v-d31ab828]{border-bottom:1px dashed #eee;margin-bottom:20px}.labelInput[data-v-d31ab828]{border:1px solid #dcdee2;width:414px;padding:0 15px;border-radius:5px;min-height:30px;cursor:pointer;font-size:12px}.labelInput .span[data-v-d31ab828]{color:#c5c8ce}.labelInput .iconxiayi[data-v-d31ab828]{font-size:12px}#shopp-manager[data-v-d31ab828] .ivu-form-item-content{line-height:33px!important}#selectvideo[data-v-d31ab828] .ivu-form-item-content{line-height:0px!important}.progress[data-v-d31ab828]{margin-top:10px}.labelInput[data-v-d31ab828] .el-tag{color:#606266;background-color:#f0f2f5;border-color:#f0f2f5;margin-right:6px}.labelInput[data-v-d31ab828] .el-tag .el-tag__close{color:#909399}.labelInput[data-v-d31ab828] .el-tag .el-tag__close:hover{color:#fff;background-color:#909399}.brokerage[data-v-d31ab828]{font-size:12px}.img-preview[data-v-d31ab828]{width:253px}.specifications .specifications-item[data-v-d31ab828]:hover{background-color:var(--prev-color-primary-light-9)}.specifications .specifications-item:hover .del[data-v-d31ab828]{display:block}.specifications .specifications-item[data-v-d31ab828]:last-child{margin-bottom:14px}.specifications .specifications-item[data-v-d31ab828]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:20px 15px;-webkit-transition:all .1s;transition:all .1s;background-color:#fafafa;margin-bottom:10px;border-radius:4px}.specifications .specifications-item .del[data-v-d31ab828]{display:none;position:absolute;right:15px;top:15px;font-size:22px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.specifications .specifications-item .specifications-item-box[data-v-d31ab828]{position:relative}.specifications .specifications-item .specifications-item-box .lineBox[data-v-d31ab828]{position:absolute;left:13px;top:24px;width:30px;height:45px;border-radius:6px;border-left:1px solid #dcdfe6;border-bottom:1px solid #dcdfe6}.specifications .specifications-item .specifications-item-box .specifications-item-name .el-icon-info[data-v-d31ab828]{color:var(--prev-color-primary);font-size:12px;margin-left:5px}.specifications .specifications-item .specifications-item-box .specifications-item-name-input[data-v-d31ab828]{width:200px}[data-v-770f97e0] .el-tabs__item{height:54px!important;line-height:54px!important}.input_width[data-v-770f97e0]{width:160px}.content_width[data-v-770f97e0]{width:460px}.content_width[data-v-770f97e0] .el-input__inner{padding-right:60px}.list-group[data-v-770f97e0]{margin-left:-8px}.borderStyle[data-v-770f97e0]{border:1px solid #ccc;padding:8px;border-radius:4px}.drag[data-v-770f97e0]{cursor:move}.spec[data-v-770f97e0]{display:block;margin:5px 0;position:relative}.spec .img-popover[data-v-770f97e0]{cursor:pointer;width:76px;height:76px;padding:6px;margin-top:12px;background-color:#fff;position:relative;border:1px solid #dcdfe6;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover:hover .img-del[data-v-770f97e0]{display:block}.spec .img-popover .img-del[data-v-770f97e0]{display:none;position:absolute;right:3px;top:3px;font-size:16px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.spec .img-popover .popper[data-v-770f97e0]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover .img[data-v-770f97e0]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:4px}.spec .img-popover .popper-arrow[data-v-770f97e0],.spec .img-popover .popper-arrow[data-v-770f97e0]:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.spec .img-popover .popper-arrow[data-v-770f97e0]{top:-13px;border-top-width:0;border-bottom-color:#dcdfe6;border-width:6px;-webkit-filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))}.spec .img-popover .popper-arrow[data-v-770f97e0]:after{top:-5px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff;content:" ";border-width:6px}.spec .el-icon-error[data-v-770f97e0]{position:absolute;display:none;right:-3px;top:-3px;z-index:9;color:var(--prev-color-primary)}.spec:hover .el-icon-error[data-v-770f97e0]{display:block;z-index:999;cursor:pointer}.move-icon[data-v-770f97e0]{width:30px;cursor:move;margin-right:10px}.move-icon .icondrag2[data-v-770f97e0]{font-size:26px;color:#bbb}.maxW[data-v-770f97e0] .ivu-select-dropdown{max-width:600px}#shopp-manager .ivu-table-wrapper[data-v-770f97e0]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.noLeft[data-v-770f97e0] .ivu-form-item-content{margin-left:0!important}#shopp-manager .ivu-form-item[data-v-770f97e0]{position:relative}#shopp-manager .ivu-form-item .tips[data-v-770f97e0]{position:absolute;color:#999;top:29px;left:-77px;font-size:12px}.box-video-style[data-v-770f97e0]{width:375px;height:211px;border-radius:10px;background-color:#707070;margin-top:10px;position:relative;overflow:hidden}.box-video-style .iconv[data-v-770f97e0]{color:#fff;line-height:180px;width:50px;height:50px;display:inherit;font-size:26px;position:absolute;top:-74px;left:50%;margin-left:-25px;cursor:pointer}.box-video-style .mark[data-v-770f97e0]{position:absolute;width:100%;height:30px;top:0;background-color:#00000080;text-align:center}.submission[data-v-770f97e0]{margin-left:10px}.color-list .tip[data-v-770f97e0]{color:#c9c9c9;font-size:12px}.color-list .color-item[data-v-770f97e0]{height:30px;line-height:30px;padding:0 10px;color:#fff;margin-right:10px;font-size:12px}.color-list .color-item.blue[data-v-770f97e0]{background-color:#1e9fff}.color-list .color-item.yellow[data-v-770f97e0]{background-color:#feb900}.color-list .color-item.green[data-v-770f97e0]{background-color:#009688}.color-list .color-item.red[data-v-770f97e0]{background-color:#ed4014}.columnsBox[data-v-770f97e0]{margin-right:10px;width:200px}.priceBox[data-v-770f97e0]{width:100%}.rulesBox[data-v-770f97e0]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.rulesBox .item[data-v-770f97e0]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.rulesBox .addfont[data-v-770f97e0]{margin-top:5px;margin-left:0}.rulesBox[data-v-770f97e0] .el-popover{border:none;-webkit-box-shadow:none;box-shadow:none;padding:0;margin-top:5px;line-height:1.5}.pictrueBox[data-v-770f97e0]{display:inline-block}.pictrueTab[data-v-770f97e0]{width:40px!important;height:40px!important}.pictrue[data-v-770f97e0]{width:60px;height:60px;border:1px dashed rgba(0,0,0,.1);margin-right:15px;display:inline-block;position:relative;cursor:pointer}.pictrue img[data-v-770f97e0]{width:100%;height:100%}.pictrue .btndel[data-v-770f97e0]{position:absolute;z-index:1;width:20px!important;height:20px!important;left:46px;top:-4px}.upLoad[data-v-770f97e0]{width:58px;height:58px;line-height:58px;border:1px dashed rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer}.curs[data-v-770f97e0]{cursor:pointer}.inpWith[data-v-770f97e0]{width:60%}.labeltop[data-v-770f97e0] .ivu-form-item-label{float:none!important;display:inline-block!important;margin-left:120px!important;width:auto!important}.video-icon[data-v-770f97e0]{background-image:url(https://cdn.oss.9gt.net/prov1.1/1/icons.png);background-color:#fff;background-position:-9999px;background-repeat:no-repeat}.see[data-v-770f97e0]{color:#2d8cf0;cursor:pointer}.trip[data-v-770f97e0]{color:#bbb;margin-bottom:10px;font-size:12px}.virtual-data[data-v-770f97e0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.add-more[data-v-770f97e0]{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex}.virtual-title[data-v-770f97e0]{width:60px}.scroll-virtual[data-v-770f97e0]{max-height:400px;overflow-y:auto;margin-top:10px}.footer[data-v-770f97e0]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:30px}.footer .clear[data-v-770f97e0],.footer .submit[data-v-770f97e0]{padding:10px 20px;border-radius:5px;color:#fff;cursor:pointer}.footer .clear[data-v-770f97e0]{background-color:#ccc;margin-right:20px}.footer .submit[data-v-770f97e0]{background-color:#2d8cf0}.picBox[data-v-770f97e0]{display:-webkit-box;display:-ms-flexbox;display:flex}.btndel[data-v-770f97e0]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.ifam[data-v-770f97e0]{width:344px;height:644px;background:url(/admin/system_static/phonebg-BTZgNDFd.png) no-repeat center top;background-size:344px 644px;padding:50px 20px 40px;margin:0 auto}.ifam .content[data-v-770f97e0]{height:560px;overflow:hidden;scrollbar-width:none;-ms-overflow-style:none;overflow-x:hidden;overflow-y:auto}.ifam .content video[data-v-770f97e0]{text-align:center}.ifam .content[data-v-770f97e0] video{display:block;max-width:100%;height:auto;margin:0 auto}.ifam .content[data-v-770f97e0]::-webkit-scrollbar{display:none}[data-v-770f97e0] .ivu-date-picker{width:300px}.virtual_boder[data-v-770f97e0]{border:1px solid var(--prev-color-primary)}.virtual_boder2[data-v-770f97e0]{border:1px solid #e7e7e7}.virtual_san[data-v-770f97e0]{position:absolute;bottom:0;right:0;width:0;height:0;border-bottom:26px solid var(--prev-color-primary);border-left:26px solid transparent}.virtual_dui[data-v-770f97e0]{position:absolute;bottom:-2px;right:2px;color:#fff;font-family:system-ui}.virtual[data-v-770f97e0]{width:120px;height:60px;background:#fff;border-radius:3px;float:left;text-align:center;padding-top:8px;position:relative;cursor:pointer;line-height:23px}.virtual .virtual_top[data-v-770f97e0]{font-size:14px;font-weight:600;color:#000000d9}.virtual .virtual_bottom[data-v-770f97e0]{font-size:12px;font-weight:400;color:#999}.virtual[data-v-770f97e0]:nth-child(2n){margin:0 12px}.addfont[data-v-770f97e0]{display:inline-block;font-size:12px;font-weight:400;color:var(--prev-color-primary);margin-left:14px;cursor:pointer}.videbox[data-v-770f97e0]{width:60px;height:60px;background:#00000005;border-radius:4px;border:1px dashed #dddddd;line-height:60px;text-align:center;font-size:26px;font-weight:400;cursor:pointer}.addCustom_content[data-v-770f97e0]{margin-top:20px}.addCustom_content .custom_box[data-v-770f97e0]{margin-bottom:10px}.addCustomBox[data-v-770f97e0]{margin-top:12px;font-size:13px;font-weight:400;color:var(--prev-color-primary)}.addCustomBox .btn[data-v-770f97e0]{cursor:pointer;width:-webkit-max-content;width:-moz-max-content;width:max-content}.type-radio[data-v-770f97e0]{margin-bottom:10px}.deteal-btn[data-v-770f97e0]{color:#5179ea}.stock-disk[data-v-770f97e0]{margin:10px 0}.line[data-v-770f97e0]{border-bottom:1px dashed #eee;margin-bottom:20px}.labelInput[data-v-770f97e0]{border:1px solid #dcdee2;width:414px;padding:0 15px;border-radius:5px;min-height:30px;cursor:pointer;font-size:12px}.labelInput .span[data-v-770f97e0]{color:#c5c8ce}.labelInput .iconxiayi[data-v-770f97e0]{font-size:12px}#shopp-manager[data-v-770f97e0] .ivu-form-item-content{line-height:33px!important}#selectvideo[data-v-770f97e0] .ivu-form-item-content{line-height:0px!important}.progress[data-v-770f97e0]{margin-top:10px}.labelInput[data-v-770f97e0] .el-tag{color:#606266;background-color:#f0f2f5;border-color:#f0f2f5;margin-right:6px}.labelInput[data-v-770f97e0] .el-tag .el-tag__close{color:#909399}.labelInput[data-v-770f97e0] .el-tag .el-tag__close:hover{color:#fff;background-color:#909399}.brokerage[data-v-770f97e0]{font-size:12px}.img-preview[data-v-770f97e0]{width:253px}.specifications .specifications-item[data-v-770f97e0]:hover{background-color:var(--prev-color-primary-light-9)}.specifications .specifications-item:hover .del[data-v-770f97e0]{display:block}.specifications .specifications-item[data-v-770f97e0]:last-child{margin-bottom:14px}.specifications .specifications-item[data-v-770f97e0]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:20px 15px;-webkit-transition:all .1s;transition:all .1s;background-color:#fafafa;margin-bottom:10px;border-radius:4px}.specifications .specifications-item .del[data-v-770f97e0]{display:none;position:absolute;right:15px;top:15px;font-size:22px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.specifications .specifications-item .specifications-item-box[data-v-770f97e0]{position:relative}.specifications .specifications-item .specifications-item-box .lineBox[data-v-770f97e0]{position:absolute;left:13px;top:24px;width:30px;height:45px;border-radius:6px;border-left:1px solid #dcdfe6;border-bottom:1px solid #dcdfe6}.specifications .specifications-item .specifications-item-box .specifications-item-name .el-icon-info[data-v-770f97e0]{color:var(--prev-color-primary);font-size:12px;margin-left:5px}.specifications .specifications-item .specifications-item-box .specifications-item-name-input[data-v-770f97e0]{width:200px}[data-v-943a4638] .el-tabs__item{height:54px!important;line-height:54px!important}.input_width[data-v-943a4638]{width:160px}.content_width[data-v-943a4638]{width:460px}.content_width[data-v-943a4638] .el-input__inner{padding-right:60px}.list-group[data-v-943a4638]{margin-left:-8px}.borderStyle[data-v-943a4638]{border:1px solid #ccc;padding:8px;border-radius:4px}.drag[data-v-943a4638]{cursor:move}.spec[data-v-943a4638]{display:block;margin:5px 0;position:relative}.spec .img-popover[data-v-943a4638]{cursor:pointer;width:76px;height:76px;padding:6px;margin-top:12px;background-color:#fff;position:relative;border:1px solid #dcdfe6;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover:hover .img-del[data-v-943a4638]{display:block}.spec .img-popover .img-del[data-v-943a4638]{display:none;position:absolute;right:3px;top:3px;font-size:16px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.spec .img-popover .popper[data-v-943a4638]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.spec .img-popover .img[data-v-943a4638]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:4px}.spec .img-popover .popper-arrow[data-v-943a4638],.spec .img-popover .popper-arrow[data-v-943a4638]:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.spec .img-popover .popper-arrow[data-v-943a4638]{top:-13px;border-top-width:0;border-bottom-color:#dcdfe6;border-width:6px;-webkit-filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))}.spec .img-popover .popper-arrow[data-v-943a4638]:after{top:-5px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff;content:" ";border-width:6px}.spec .el-icon-error[data-v-943a4638]{position:absolute;display:none;right:-3px;top:-3px;z-index:9;color:var(--prev-color-primary)}.spec:hover .el-icon-error[data-v-943a4638]{display:block;z-index:999;cursor:pointer}.move-icon[data-v-943a4638]{width:30px;cursor:move;margin-right:10px}.move-icon .icondrag2[data-v-943a4638]{font-size:26px;color:#bbb}.maxW[data-v-943a4638] .ivu-select-dropdown{max-width:600px}#shopp-manager .ivu-table-wrapper[data-v-943a4638]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.noLeft[data-v-943a4638] .ivu-form-item-content{margin-left:0!important}#shopp-manager .ivu-form-item[data-v-943a4638]{position:relative}#shopp-manager .ivu-form-item .tips[data-v-943a4638]{position:absolute;color:#999;top:29px;left:-77px;font-size:12px}.box-video-style[data-v-943a4638]{width:375px;height:211px;border-radius:10px;background-color:#707070;margin-top:10px;position:relative;overflow:hidden}.box-video-style .iconv[data-v-943a4638]{color:#fff;line-height:180px;width:50px;height:50px;display:inherit;font-size:26px;position:absolute;top:-74px;left:50%;margin-left:-25px;cursor:pointer}.box-video-style .mark[data-v-943a4638]{position:absolute;width:100%;height:30px;top:0;background-color:#00000080;text-align:center}.submission[data-v-943a4638]{margin-left:10px}.color-list .tip[data-v-943a4638]{color:#c9c9c9;font-size:12px}.color-list .color-item[data-v-943a4638]{height:30px;line-height:30px;padding:0 10px;color:#fff;margin-right:10px;font-size:12px}.color-list .color-item.blue[data-v-943a4638]{background-color:#1e9fff}.color-list .color-item.yellow[data-v-943a4638]{background-color:#feb900}.color-list .color-item.green[data-v-943a4638]{background-color:#009688}.color-list .color-item.red[data-v-943a4638]{background-color:#ed4014}.columnsBox[data-v-943a4638]{margin-right:10px;width:200px}.priceBox[data-v-943a4638]{width:100%}.rulesBox[data-v-943a4638]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.rulesBox .item[data-v-943a4638]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.rulesBox .addfont[data-v-943a4638]{margin-top:5px;margin-left:0}.rulesBox[data-v-943a4638] .el-popover{border:none;-webkit-box-shadow:none;box-shadow:none;padding:0;margin-top:5px;line-height:1.5}.pictrueBox[data-v-943a4638]{display:inline-block}.pictrueTab[data-v-943a4638]{width:40px!important;height:40px!important}.pictrue[data-v-943a4638]{width:60px;height:60px;border:1px dashed rgba(0,0,0,.1);margin-right:15px;display:inline-block;position:relative;cursor:pointer}.pictrue img[data-v-943a4638]{width:100%;height:100%}.pictrue .btndel[data-v-943a4638]{position:absolute;z-index:1;width:20px!important;height:20px!important;left:46px;top:-4px}.upLoad[data-v-943a4638]{width:58px;height:58px;line-height:58px;border:1px dashed rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer}.curs[data-v-943a4638]{cursor:pointer}.inpWith[data-v-943a4638]{width:60%}.labeltop[data-v-943a4638] .ivu-form-item-label{float:none!important;display:inline-block!important;margin-left:120px!important;width:auto!important}.video-icon[data-v-943a4638]{background-image:url(https://cdn.oss.9gt.net/prov1.1/1/icons.png);background-color:#fff;background-position:-9999px;background-repeat:no-repeat}.see[data-v-943a4638]{color:#2d8cf0;cursor:pointer}.trip[data-v-943a4638]{color:#bbb;margin-bottom:10px;font-size:12px}.virtual-data[data-v-943a4638]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.add-more[data-v-943a4638]{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex}.virtual-title[data-v-943a4638]{width:60px}.scroll-virtual[data-v-943a4638]{max-height:400px;overflow-y:auto;margin-top:10px}.footer[data-v-943a4638]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:30px}.footer .clear[data-v-943a4638],.footer .submit[data-v-943a4638]{padding:10px 20px;border-radius:5px;color:#fff;cursor:pointer}.footer .clear[data-v-943a4638]{background-color:#ccc;margin-right:20px}.footer .submit[data-v-943a4638]{background-color:#2d8cf0}.picBox[data-v-943a4638]{display:-webkit-box;display:-ms-flexbox;display:flex}.btndel[data-v-943a4638]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.ifam[data-v-943a4638]{width:344px;height:644px;background:url(/admin/system_static/phonebg-BTZgNDFd.png) no-repeat center top;background-size:344px 644px;padding:50px 20px 40px;margin:0 auto}.ifam .content[data-v-943a4638]{height:560px;overflow:hidden;scrollbar-width:none;-ms-overflow-style:none;overflow-x:hidden;overflow-y:auto}.ifam .content video[data-v-943a4638]{text-align:center}.ifam .content[data-v-943a4638] video{display:block;max-width:100%;height:auto;margin:0 auto}.ifam .content[data-v-943a4638]::-webkit-scrollbar{display:none}[data-v-943a4638] .ivu-date-picker{width:300px}.virtual_boder[data-v-943a4638]{border:1px solid var(--prev-color-primary)}.virtual_boder2[data-v-943a4638]{border:1px solid #e7e7e7}.virtual_san[data-v-943a4638]{position:absolute;bottom:0;right:0;width:0;height:0;border-bottom:26px solid var(--prev-color-primary);border-left:26px solid transparent}.virtual_dui[data-v-943a4638]{position:absolute;bottom:-2px;right:2px;color:#fff;font-family:system-ui}.virtual[data-v-943a4638]{width:120px;height:60px;background:#fff;border-radius:3px;float:left;text-align:center;padding-top:8px;position:relative;cursor:pointer;line-height:23px}.virtual .virtual_top[data-v-943a4638]{font-size:14px;font-weight:600;color:#000000d9}.virtual .virtual_bottom[data-v-943a4638]{font-size:12px;font-weight:400;color:#999}.virtual[data-v-943a4638]:nth-child(2n){margin:0 12px}.addfont[data-v-943a4638]{display:inline-block;font-size:12px;font-weight:400;color:var(--prev-color-primary);margin-left:14px;cursor:pointer}.videbox[data-v-943a4638]{width:60px;height:60px;background:#00000005;border-radius:4px;border:1px dashed #dddddd;line-height:60px;text-align:center;font-size:26px;font-weight:400;cursor:pointer}.addCustom_content[data-v-943a4638]{margin-top:20px}.addCustom_content .custom_box[data-v-943a4638]{margin-bottom:10px}.addCustomBox[data-v-943a4638]{margin-top:12px;font-size:13px;font-weight:400;color:var(--prev-color-primary)}.addCustomBox .btn[data-v-943a4638]{cursor:pointer;width:-webkit-max-content;width:-moz-max-content;width:max-content}.type-radio[data-v-943a4638]{margin-bottom:10px}.deteal-btn[data-v-943a4638]{color:#5179ea}.stock-disk[data-v-943a4638]{margin:10px 0}.line[data-v-943a4638]{border-bottom:1px dashed #eee;margin-bottom:20px}.labelInput[data-v-943a4638]{border:1px solid #dcdee2;width:414px;padding:0 15px;border-radius:5px;min-height:30px;cursor:pointer;font-size:12px}.labelInput .span[data-v-943a4638]{color:#c5c8ce}.labelInput .iconxiayi[data-v-943a4638]{font-size:12px}#shopp-manager[data-v-943a4638] .ivu-form-item-content{line-height:33px!important}#selectvideo[data-v-943a4638] .ivu-form-item-content{line-height:0px!important}.progress[data-v-943a4638]{margin-top:10px}.labelInput[data-v-943a4638] .el-tag{color:#606266;background-color:#f0f2f5;border-color:#f0f2f5;margin-right:6px}.labelInput[data-v-943a4638] .el-tag .el-tag__close{color:#909399}.labelInput[data-v-943a4638] .el-tag .el-tag__close:hover{color:#fff;background-color:#909399}.brokerage[data-v-943a4638]{font-size:12px}.img-preview[data-v-943a4638]{width:253px}.specifications .specifications-item[data-v-943a4638]:hover{background-color:var(--prev-color-primary-light-9)}.specifications .specifications-item:hover .del[data-v-943a4638]{display:block}.specifications .specifications-item[data-v-943a4638]:last-child{margin-bottom:14px}.specifications .specifications-item[data-v-943a4638]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:20px 15px;-webkit-transition:all .1s;transition:all .1s;background-color:#fafafa;margin-bottom:10px;border-radius:4px}.specifications .specifications-item .del[data-v-943a4638]{display:none;position:absolute;right:15px;top:15px;font-size:22px;color:var(--prev-color-primary);cursor:pointer;z-index:9}.specifications .specifications-item .specifications-item-box[data-v-943a4638]{position:relative}.specifications .specifications-item .specifications-item-box .lineBox[data-v-943a4638]{position:absolute;left:13px;top:24px;width:30px;height:45px;border-radius:6px;border-left:1px solid #dcdfe6;border-bottom:1px solid #dcdfe6}.specifications .specifications-item .specifications-item-box .specifications-item-name .el-icon-info[data-v-943a4638]{color:var(--prev-color-primary);font-size:12px;margin-left:5px}.specifications .specifications-item .specifications-item-box .specifications-item-name-input[data-v-943a4638]{width:200px} diff --git a/backend/public/admin/system_static/PageContainer-BVjHQf20.css b/backend/public/admin/system_static/PageContainer-BVjHQf20.css new file mode 100644 index 000000000..0c677f953 --- /dev/null +++ b/backend/public/admin/system_static/PageContainer-BVjHQf20.css @@ -0,0 +1 @@ +.ext-container[data-v-2f88ad1c]{min-height:400px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.ext-error[data-v-2f88ad1c]{text-align:center;padding:80px 0} diff --git a/backend/public/admin/system_static/PageContainer-CwNjVoS0.js b/backend/public/admin/system_static/PageContainer-CwNjVoS0.js new file mode 100644 index 000000000..2c793f747 --- /dev/null +++ b/backend/public/admin/system_static/PageContainer-CwNjVoS0.js @@ -0,0 +1 @@ +import{f as y,b as $,s as E,y as f,z as w,B as j,a9 as B,j as x,C as N,H as P,Z as S,u as D,l as b,O as M,p as O,k as C,$ as R}from"./element-plus-C_ZDq0cz.js";import{_ as U,l as g,b as V}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const q={class:"ext-container","element-loading-text":"扩展加载中...","element-loading-spinner":"el-icon-loading"},L={key:1,class:"ext-error"},T=Object.assign({name:"PluginPageContainer"},{__name:"PageContainer",props:{typeKey:{type:String,required:!0},section:{type:String,default:"product"},action:{type:String,default:"list"},params:{type:Object,default:()=>({})}},setup(l){const t=l,h=V(),o=b(!0),i=M(null),K=b(null);let a=null;const k=O(()=>`${t.typeKey}-${t.section}-${t.action}`);function u(){const e=h.meta.title;e&&g.global&&g.global.mergeLocaleMessage(g.global.locale,{[e]:e})}function v(){const e=`__ext_${t.typeKey}`;window[e]?p(window[e]):c()}function p(e){i.value=e&&e.default?e.default:e,e&&e.routes&&(K.value=e.routes,u())}function c(){o.value=!0,i.value=null;const e=`__ext_${t.typeKey}`,s=`/admin/static/extensions/${t.typeKey}/`,r=s+"app.umd.css",d=s+"app.umd.js";if(window[e]){p(window[e]),o.value=!1;return}if(!document.querySelector(`link[href="${r}"]`)){const m=document.createElement("link");m.rel="stylesheet",m.href=r,document.head.appendChild(m)}const n=document.createElement("script");n.src=d,n.onload=()=>{p(window[e]),o.value=!1},n.onerror=()=>{o.value=!1,S.error(`扩展「${t.typeKey}」脚本加载失败`)},document.body.appendChild(n),a=n}function _(){a&&a.parentNode&&(a.parentNode.removeChild(a),a=null)}return y(()=>t.typeKey,()=>{_(),c()}),y(()=>t.section,()=>{u(),v()}),y(()=>t.action,()=>{u(),v()}),c(),$(()=>{_()}),(e,s)=>{const r=C("el-empty"),d=C("el-button"),n=D("loading");return E((f(),w("div",q,[i.value?(f(),j(B(i.value),{key:k.value,section:l.section,action:l.action,params:l.params},null,8,["section","action","params"])):o.value?P("",!0):(f(),w("div",L,[x(r,{description:"扩展「"+l.typeKey+"」加载失败,请确认扩展已安装"},null,8,["description"]),x(d,{type:"primary",onClick:c},{default:N(()=>[...s[0]||(s[0]=[R("重新加载",-1)])]),_:1})]))])),[[n,o.value]])}}}),F=U(T,[["__scopeId","data-v-2f88ad1c"]]);export{F as default}; diff --git a/backend/public/admin/system_static/abbreviation-DpLm7rj7.png b/backend/public/admin/system_static/abbreviation-DpLm7rj7.png new file mode 100644 index 000000000..381b301e0 Binary files /dev/null and b/backend/public/admin/system_static/abbreviation-DpLm7rj7.png differ diff --git a/backend/public/admin/system_static/abbreviationBig-3cTObEZV.png b/backend/public/admin/system_static/abbreviationBig-3cTObEZV.png new file mode 100644 index 000000000..a9acd5440 Binary files /dev/null and b/backend/public/admin/system_static/abbreviationBig-3cTObEZV.png differ diff --git a/backend/public/admin/system_static/abbreviationSmall-BstagHuq.png b/backend/public/admin/system_static/abbreviationSmall-BstagHuq.png new file mode 100644 index 000000000..e285f4bbb Binary files /dev/null and b/backend/public/admin/system_static/abbreviationSmall-BstagHuq.png differ diff --git a/backend/public/admin/system_static/add-BmoSYUu7.css b/backend/public/admin/system_static/add-BmoSYUu7.css new file mode 100644 index 000000000..777ec3943 --- /dev/null +++ b/backend/public/admin/system_static/add-BmoSYUu7.css @@ -0,0 +1 @@ +.upload-box[data-v-917cda0d]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer}.box[data-v-917cda0d]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.box .box-item[data-v-917cda0d]{position:relative;margin-right:20px}.box .box-item .el-icon-error[data-v-917cda0d]{position:absolute;right:-10px;top:-8px;color:#999;cursor:pointer}.box .upload-box[data-v-917cda0d],.box .box-item[data-v-917cda0d]{width:60px;height:60px;margin-bottom:10px}.box .upload-box img[data-v-917cda0d],.box .box-item img[data-v-917cda0d]{width:100%;height:100%;cursor:pointer}.active-btn[data-v-917cda0d]{padding-left:96px}.table-box[data-v-917cda0d]{margin:0 107px}.sub_btn[data-v-917cda0d]{margin-top:10px}.product_box[data-v-917cda0d]{display:-webkit-box;display:-ms-flexbox;display:flex}.product_box img[data-v-917cda0d]{width:36px;height:36px;margin-right:10px} diff --git a/backend/public/admin/system_static/add-CXZ5ypxl.js b/backend/public/admin/system_static/add-CXZ5ypxl.js new file mode 100644 index 000000000..ab3743647 --- /dev/null +++ b/backend/public/admin/system_static/add-CXZ5ypxl.js @@ -0,0 +1 @@ +import{y as i,z as _,j as s,C as o,k as d,l as a,u as D,ac as te,A as n,F as le,D as oe,s as m,W as G,B as x,$ as y,H as $,a0 as w,p as A,Z as C}from"./element-plus-C_ZDq0cz.js";import{_ as se,s as ae,a as ne,h as ie,S as de}from"./index-DHL7RTL2.js";import F from"./index-CYgESPmX.js";import{liveGoodsCreatApi as re,liveGoodsAddApi as ue}from"./api-Bi3YkYmz.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./index-C2Zmd2Xm.js";/* empty css */const ce={class:"box"},_e=["src"],me=["onClick"],pe={key:0,class:"active-btn"},fe={key:1,class:"table-box"},ve={class:"product_box"},be=["src"],ge=["onClick"],he={class:"sub_btn"},we=Object.assign({name:"LiveGoodsAdd"},{__name:"add",setup(ke){const M=ie(),{isMobile:I}=ae(ne()),P=A(()=>I.value?void 0:"100px"),L=A(()=>I.value?"top":"right"),b=a(!1),N=a(!1),g=a(!1),r=a([]),V=a({}),c=a([]),h=a(!1),S=a(!1),z=a([]),T=a(null),U=a(null);function j(){g.value=!0}function E(){let t=[];r.value.map(e=>{t.push(e.product_id)}),re({product_id:t}).then(e=>{c.value=e.data,b.value=!0}).catch(e=>{C.error(e.msg)})}function H(t){const e=new Map;return t.filter(u=>!e.has(u.product_id)&&e.set(u.product_id,1))}function R(t){g.value=!1,r.value=H(r.value.concat(t))}function W(t,e){r.value.splice(t,1);let u=c.value.findIndex(p=>p.id==e.product_id);c.value.splice(u,1),r.value.length||(b.value=!1)}function q(t,e){c.value.splice(e,1);let u=r.value.findIndex(p=>p.product_id==t.id);r.value.splice(u,1),c.value.length||(b.value=!1)}function O(){h.value=!0,S.value=!0,ue({goods_info:c.value}).then(t=>{C.success("添加成功"),h.value=!1,setTimeout(()=>{M.push({path:de.routePre+"/marketing/live/goods"})},500)}).catch(t=>{h.value=!1,C.error(t.msg)})}return(t,e)=>{const u=d("pages-header"),p=d("el-form-item"),Z=d("el-col"),J=d("el-row"),K=d("el-form"),B=d("el-button"),f=d("el-table-column"),Q=d("el-table"),X=d("el-card"),Y=d("el-dialog"),v=D("db-click"),ee=D("loading");return i(),_("div",null,[s(u,{ref:"pageHeader",title:t.$route.meta.title,backUrl:t.$routeProStr+"/marketing/live/goods"},null,8,["title","backUrl"]),s(X,{bordered:!1,shadow:"never",class:"mt16"},{default:o(()=>[s(K,{ref_key:"formValidate",ref:V,model:V.value,"label-width":P.value,"label-position":L.value,class:"tabform",onSubmit:e[0]||(e[0]=te(()=>{},["prevent"]))},{default:o(()=>[s(J,{gutter:24},{default:o(()=>[s(Z,{span:24},{default:o(()=>[s(p,{label:"选择商品:"},{default:o(()=>[n("div",ce,[(i(!0),_(le,null,oe(r.value,(l,k)=>(i(),_("div",{class:"box-item",key:k},[n("img",{src:l.image,alt:""},null,8,_e),m(n("i",{class:"el-icon-error",onClick:xe=>W(k,l),style:{"font-size":"16px"}},null,8,me),[[v]])]))),128)),m((i(),_("div",{class:"upload-box acea-row row-center-wrapper",onClick:j},[...e[2]||(e[2]=[n("i",{class:"el-icon-goods",style:{"font-size":"24px"}},null,-1)])])),[[v]])])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","label-width","label-position"]),G(F).length>0?(i(),_("div",pe,[m((i(),x(B,{type:"primary",onClick:E},{default:o(()=>[...e[3]||(e[3]=[y("生成直播商品",-1)])]),_:1})),[[v]])])):$("",!0),b.value?(i(),_("div",fe,[m((i(),x(Q,{data:c.value,ref_key:"table",ref:U,class:"mt14","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:o(()=>[s(f,{label:"商品ID",width:"80"},{default:o(l=>[n("span",null,w(l.row.id),1)]),_:1}),s(f,{label:"商品信息","min-width":"90"},{default:o(l=>[n("div",ve,[n("img",{src:l.row.image,alt:""},null,8,be),n("span",null,w(l.row.store_name),1)])]),_:1}),s(f,{label:"直播售价","min-width":"130"},{default:o(l=>[n("span",null,w(l.row.price),1)]),_:1}),s(f,{label:"库存","min-width":"130"},{default:o(l=>[n("span",null,w(l.row.stock),1)]),_:1}),s(f,{label:"操作",fixed:"right",width:"80"},{default:o(l=>[m((i(),_("a",{onClick:k=>q(l.row,l.$index)},[...e[4]||(e[4]=[y("删除",-1)])],8,ge)),[[v]])]),_:1})]),_:1},8,["data"])),[[ee,N.value]]),n("div",he,[m((i(),x(B,{type:"primary",style:{width:"8%"},onClick:O,disabled:h.value,loading:S.value},{default:o(()=>[...e[5]||(e[5]=[y("提交",-1)])]),_:1},8,["disabled","loading"])),[[v]])])])):$("",!0)]),_:1}),s(Y,{modelValue:g.value,"onUpdate:modelValue":e[1]||(e[1]=l=>g.value=l),title:"商品列表",class:"paymentFooter",width:"1000px"},{default:o(()=>[s(G(F),{ref_key:"goodslist",ref:T,selectIds:z.value,onGetProductId:R,ischeckbox:!0},null,8,["selectIds"])]),_:1},8,["modelValue"])])}}}),Ae=se(we,[["__scopeId","data-v-917cda0d"]]);export{Ae as default}; diff --git a/backend/public/admin/system_static/addAttr-CQ7n0fC2.css b/backend/public/admin/system_static/addAttr-CQ7n0fC2.css new file mode 100644 index 000000000..d7b9c538d --- /dev/null +++ b/backend/public/admin/system_static/addAttr-CQ7n0fC2.css @@ -0,0 +1 @@ +.rulesBox[data-v-7312251e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.attrFrom[data-v-7312251e] .ivu-form-item{margin-bottom:0!important}.noForm[data-v-7312251e]{margin-left:12px}.add[data-v-7312251e]{margin-left:132px}.drag[data-v-7312251e]{cursor:move}.spec[data-v-7312251e]{display:block;margin:5px 0;position:relative}.spec .el-icon-error[data-v-7312251e]{position:absolute;display:none;right:-3px;top:-3px;z-index:9}.spec:hover .el-icon-error[data-v-7312251e]{display:block;z-index:999;cursor:pointer}.move-icon[data-v-7312251e]{width:30px;cursor:move;margin-right:10px}.move-icon .icondrag2[data-v-7312251e]{font-size:26px;color:#bbb}.specifications[data-v-7312251e]{width:100%}.specifications .specifications-item[data-v-7312251e]:hover{background-color:var(--prev-bg-menu-hover-ba-color)}.specifications .specifications-item:hover .del[data-v-7312251e]{display:block}.specifications .specifications-item[data-v-7312251e]:last-child{margin-bottom:14px}.specifications .specifications-item[data-v-7312251e]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:20px 15px;-webkit-transition:all .1s;transition:all .1s;background-color:#fafafa;margin-bottom:10px;border-radius:4px}.specifications .specifications-item .del[data-v-7312251e]{display:none;position:absolute;right:15px;top:15px;font-size:22px;color:var(--prev-color-primary);cursor:pointer}.specifications .specifications-item .specifications-item-box[data-v-7312251e]{position:relative}.specifications .specifications-item .specifications-item-box .lineBox[data-v-7312251e]{position:absolute;left:13px;top:24px;width:30px;height:45px;border-radius:6px;border-left:1px solid #dcdfe6;border-bottom:1px solid #dcdfe6}.specifications .specifications-item .specifications-item-box .specifications-item-name-input[data-v-7312251e]{width:200px}.specifications .rulesBox[data-v-7312251e]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.specifications .rulesBox .item[data-v-7312251e]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.specifications .rulesBox .addfont[data-v-7312251e]{margin-top:5px}.specifications .rulesBox[data-v-7312251e] .el-popover{border:none;-webkit-box-shadow:none;box-shadow:none;padding:0;margin-top:5px;line-height:1.5}.specifications .addfont[data-v-7312251e]{display:inline-block;font-size:12px;font-weight:400;color:var(--prev-color-primary);margin-left:14px;cursor:pointer} diff --git a/backend/public/admin/system_static/addAttr-rwPSDERC.js b/backend/public/admin/system_static/addAttr-rwPSDERC.js new file mode 100644 index 000000000..590354761 --- /dev/null +++ b/backend/public/admin/system_static/addAttr-rwPSDERC.js @@ -0,0 +1 @@ +import{Z as V,k as m,u as U,y as p,B as v,C as o,s as g,ac as te,j as u,A as n,W as N,z as ae,$ as b,aj as oe,H as se,l as d,n as ne}from"./element-plus-C_ZDq0cz.js";import{_ as ie,a8 as ue,a9 as de}from"./index-DHL7RTL2.js";import{d as R}from"./vuedraggable.umd-fTw9SVdO.js";const ce={class:"specifications"},re=["data-spec-idx"],me=["onClick"],pe={class:"specifications-item-box"},ve={class:"specifications-item-name mb18"},fe={class:"rulesBox ml30"},_e={class:"mr10 spec drag"},ge=["onClick"],xe=["onClick"],ye={class:"dialog-footer"},he=Object.assign({name:"addAttr"},{__name:"addAttr",emits:["getList"],setup(ke,{expose:I,emit:K}){const S=K,C=d(null),x=d(!1),y=d(!1),f=d(!1),T=d(1),j={rule_name:[{required:!0,message:"请输入规格名称",trigger:"blur"}]},l=d({rule_name:"",spec:[]}),q=d(""),E=d(""),F=d(!1),_=d(0);let $=0;const M=t=>l.value.spec.indexOf(t),L=t=>t.id;I({modal:f,getIofo:G});function D(t,e){t.detail.push({id:++$,value:""}),ne(()=>{const s=document.querySelector(`.specifications-item[data-spec-idx="${e}"]`),a=s?s.querySelectorAll('input[placeholder="规格值"]'):[];a.length&&a[a.length-1].focus()})}function O(t,e,s){s.value.trim()&&D(t,e)}function z(t){l.value.spec.splice(t,1),l.value.spec.length||(l.value.spec=[])}function H(){let t={value:l.value.attrsName,detail:[]};l.value.spec.push(t)}function W(){_.value=0,w()}function Z(){_.value=0,w(),f.value=!1}function G(t){x.value=!0,_.value=t.id,ue(t.id).then(e=>{l.value=e.data.info,l.value.spec=(l.value.spec||[]).map(s=>({value:s.value,detail:(s.detail||[]).map(a=>({id:++$,value:typeof a=="string"?a:a.value}))})),x.value=!1}).catch(e=>{x.value=!1,V.error(e.msg)})}function J(t){C.value.validate(e=>{if(e){if(l.value.spec.length===0)return V.warning("请至少添加一条商品规格!");const s=l.value.spec.map(a=>({value:a.value,detail:a.detail.map(c=>(c.value||"").trim()).filter(c=>c!=="")}));y.value=!0,setTimeout(()=>{de({rule_name:l.value.rule_name,spec:s},_.value).then(a=>{V.success(a.msg),setTimeout(()=>{f.value=!1,y.value=!1},500),setTimeout(()=>{S("getList"),w()},600)}).catch(a=>{y.value=!1,V.error(a.msg)})},1200)}else return!1})}function w(){C.value.resetFields(),l.value.spec=[],F.value=!1,q.value="",E.value="",_.value=0}function P(t,e){t.splice(e,1)}return(t,e)=>{const s=m("el-input"),a=m("el-form-item"),c=m("el-col"),A=m("el-button"),Q=m("el-row"),X=m("el-form"),Y=m("el-dialog"),h=U("db-click"),ee=U("loading");return p(),v(Y,{modelValue:f.value,"onUpdate:modelValue":e[4]||(e[4]=i=>f.value=i),onClosed:W,title:"商品规格",width:"1000px"},{footer:o(()=>[n("span",ye,[g((p(),v(A,{onClick:Z},{default:o(()=>[...e[10]||(e[10]=[b("取消",-1)])]),_:1})),[[h]]),g((p(),v(A,{type:"primary",loading:y.value,onClick:e[3]||(e[3]=i=>J("formDynamic"))},{default:o(()=>[...e[11]||(e[11]=[b("确定",-1)])]),_:1},8,["loading"])),[[h]])])]),default:o(()=>[g((p(),v(X,{ref_key:"formDynamicRef",ref:C,model:l.value,rules:j,class:"attrFrom","label-width":"120px","label-position":"right",onSubmit:e[2]||(e[2]=te(()=>{},["prevent"]))},{default:o(()=>[u(Q,{gutter:24},{default:o(()=>[u(c,{span:24},{default:o(()=>[u(c,{span:8},{default:o(()=>[u(a,{label:"规格模板名称:",prop:"rule_name"},{default:o(()=>[u(s,{placeholder:"请输入规格模版名称",maxlength:20,modelValue:l.value.rule_name,"onUpdate:modelValue":e[0]||(e[0]=i=>l.value.rule_name=i),modelModifiers:{trim:!0}},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),(p(),v(c,{span:23,class:"noForm",key:T.value},{default:o(()=>[u(a,{label:""},{default:o(()=>[n("div",ce,[u(N(R),{group:"specifications",list:l.value.spec,handle:".move-icon",animation:"300","item-key":M},{item:o(({element:i,index:k})=>[n("div",{class:"specifications-item active","data-spec-idx":k},[e[8]||(e[8]=n("div",{class:"move-icon"},[n("span",{class:"iconfont icondrag2"})],-1)),n("i",{class:"del el-icon-error",onClick:r=>z(k)},null,8,me),n("div",pe,[e[7]||(e[7]=n("div",{class:"lineBox"},null,-1)),n("div",ve,[u(s,{modelValue:i.value,"onUpdate:modelValue":r=>i.value=r,placeholder:"规格名称",class:"specifications-item-name-input",maxlength:"30","show-word-limit":""},null,8,["modelValue","onUpdate:modelValue"])]),n("div",fe,[u(N(R),{class:"item",list:i.detail,handle:".drag","item-key":L},{item:o(({element:r,index:le})=>[n("div",_e,[n("i",{class:"el-icon-error",onClick:B=>P(i.detail,le)},null,8,ge),u(s,{style:{width:"120px"},modelValue:r.value,"onUpdate:modelValue":B=>r.value=B,placeholder:"规格值",maxlength:"30",onKeyup:oe(B=>O(i,k,r),["enter"])},{prefix:o(()=>[...e[5]||(e[5]=[n("span",{class:"iconfont icondrag2"},null,-1)])]),_:1},8,["modelValue","onUpdate:modelValue","onKeyup"])])]),footer:o(()=>[g((p(),ae("div",{class:"addfont",type:"text",onClick:r=>D(i,k)},[...e[6]||(e[6]=[b(" 添加规格值 ",-1)])],8,xe)),[[h]])]),_:2},1032,["list"])])])],8,re)]),_:1},8,["list"]),l.value.spec.length<4?g((p(),v(A,{key:0,onClick:e[1]||(e[1]=i=>H())},{default:o(()=>[...e[9]||(e[9]=[b("添加新规格",-1)])]),_:1})),[[h]]):se("",!0)])]),_:1})]),_:1}))]),_:1})]),_:1},8,["model"])),[[ee,x.value]])]),_:1},8,["modelValue"])}}}),we=ie(he,[["__scopeId","data-v-7312251e"]]);export{we as a}; diff --git a/backend/public/admin/system_static/afterSale-B_OkLLdC.js b/backend/public/admin/system_static/afterSale-B_OkLLdC.js new file mode 100644 index 000000000..2e7ca0930 --- /dev/null +++ b/backend/public/admin/system_static/afterSale-B_OkLLdC.js @@ -0,0 +1 @@ +import{w as t}from"./index-DHL7RTL2.js";function s(e){return t({url:"/after_sale/list",method:"get",params:e})}function u(e){return t({url:`/after_sale/detail/${e}`,method:"get"})}function l(e,r){return t({url:`/after_sale/audit/${e}`,method:"post",data:r})}function n(e){return t({url:`/after_sale/receive/${e}`,method:"post"})}function f(e,r){return t({url:`/after_sale/refund/${e}`,method:"post",data:r})}function o(e,r){return t({url:`/after_sale/resend/${e}`,method:"post",data:r})}function i(e){return t({url:`/after_sale/start_repair/${e}`,method:"post"})}function p(e,r){return t({url:`/after_sale/repair_complete/${e}`,method:"post",data:r})}function d(e,r){return t({url:`/after_sale/remark/${e}`,method:"put",data:r})}function m(e,r="return"){return t({url:`/after_sale/express/${e}`,method:"get",params:{type:r}})}export{s as a,u as b,n as c,l as d,f as e,o as f,m as g,p as h,d as r,i as s}; diff --git a/backend/public/admin/system_static/ag-phone-18N_R-_w.png b/backend/public/admin/system_static/ag-phone-18N_R-_w.png new file mode 100644 index 000000000..46f4ac63b Binary files /dev/null and b/backend/public/admin/system_static/ag-phone-18N_R-_w.png differ diff --git a/backend/public/admin/system_static/api-Bi3YkYmz.js b/backend/public/admin/system_static/api-Bi3YkYmz.js new file mode 100644 index 000000000..891435ee1 --- /dev/null +++ b/backend/public/admin/system_static/api-Bi3YkYmz.js @@ -0,0 +1 @@ +import{w as o}from"./index-DHL7RTL2.js";import"./element-plus-C_ZDq0cz.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function d(e){return o({url:"app/routine/download",method:"post",data:e})}function p(){return o({url:"app/routine/info",method:"get"})}function m(){return o({url:"app/routine/ci/environment",method:"get"})}function c(){return o({url:"app/routine/ci/guide",method:"get"})}function s(){return o({url:"app/routine/ci/config",method:"get"})}function h(e){return o({url:"app/routine/ci/private_key",method:"post",data:e})}function v(e){return o({url:"app/routine/ci/upload",method:"post",data:e})}function a(e){return o({url:"app/routine/ci/preview",method:"post",data:e})}function f(e){return o({url:"app/routine/scheme_list",method:"get",params:e})}function g(e){return o({url:`app/routine/scheme_form/${e}`,method:"get"})}function A(e){return o({url:`app/routine/scheme_del/${e}`,method:"delete"})}function w(e){return o({url:"live/room/list",method:"get",params:e})}function G(e){return o({url:"live/room/add",method:"post",data:e})}function C(e){return o({url:"live/room/detail/"+e,method:"get"})}function S(e,t){return o({url:`live/room/set_show/${e}/${t}`,method:"get"})}function I(e){return o({url:"live/goods/list",method:"get",params:e})}function _(e){return o({url:"live/goods/create",method:"post",data:e})}function $(e){return o({url:"live/goods/add",method:"post",data:e})}function y(e){return o({url:"live/room/add_goods",method:"post",data:e})}function D(){return o({url:"live/room/syncRoom",method:"get"})}function L(){return o({url:"live/goods/syncGoods",method:"get"})}function R(e){return o({url:"live/anchor/list",method:"get",params:e})}function k(e){return o({url:"live/anchor/add/"+e,method:"get"})}function x(e){return o({url:`live/anchor/del/${e}`,method:"delete"})}function E(e){return o({url:"live/goods/detail/"+e,method:"get"})}function F(e,t){return o({url:`live/goods/set_show/${e}/${t}`,method:"get"})}export{G as liveAddApi,k as liveAnchorAddApi,x as liveAnchorDelApi,R as liveAnchorListApi,C as liveDetailApi,$ as liveGoodsAddApi,_ as liveGoodsCreatApi,E as liveGoodsDetailApi,I as liveGoodsListApi,F as liveGoodsShowApi,w as liveListApi,y as liveRoomGoodsAddApi,S as liveShowApi,L as liveSyncGoodsApi,D as liveSyncRoomApi,s as routineCIConfig,m as routineCIEnvironment,c as routineCIGuide,a as routineCIPreview,h as routineCISaveKey,v as routineCIUpload,d as routineDownload,p as routineInfo,A as routineSchemeDel,g as routineSchemeForm,f as routineSchemeList}; diff --git a/backend/public/admin/system_static/api-BkA92x09.js b/backend/public/admin/system_static/api-BkA92x09.js new file mode 100644 index 000000000..fbbc11a4e --- /dev/null +++ b/backend/public/admin/system_static/api-BkA92x09.js @@ -0,0 +1 @@ +import{w as e}from"./index-DHL7RTL2.js";import"./element-plus-C_ZDq0cz.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function c(t){return e({url:"app/wechat/menu",method:"get"})}function i(t){return e({url:"app/wechat/menu",method:"post",data:t})}function h(){return e({url:"app/wechat/syncSubscribe",method:"GET"})}function w(t){return e({url:"app/wechat/template",method:"get",params:t})}function d(){return e({url:"app/wechat/template/create",method:"get"})}function s(t){return e({url:`app/wechat/template/${t}/edit`,method:"get"})}function m(t){return e({url:`app/wechat/template/set_status/${t.id}/${t.status}`,method:"PUT"})}function l(t){return e({url:t.url,method:"post",data:t.key})}function f(t){return e({url:"app/wechat/keyword",method:"get",params:t})}function A(t){return e({url:`app/wechat/keyword/set_status/${t.id}/${t.status}`,method:"PUT"})}function T(t,r){return e({url:t,method:"get",params:r.key})}function g(t){return e({url:"/app/wechat/news",method:"POST",data:t})}function E(t){return e({url:"app/wechat/news",method:"GET",params:t})}function G(t){return e({url:`app/wechat/news/${t}`,method:"GET"})}function y(t){return e({url:"app/wechat/push",method:"POST",data:t})}function $(t){return e({url:"app/wechat/user",method:"GET",params:t})}function L(){return e({url:"app/wechat/user/tag_group",method:"GET"})}function k(t){return e({url:t,method:"GET"})}function S(){return e({url:"app/wechat/tag",method:"GET"})}function P(){return e({url:"app/wechat/tag/create",method:"GET"})}function C(t){return e({url:`app/wechat/tag/${t}/edit`,method:"GET"})}function _(){return e({url:"app/wechat/group",method:"GET"})}function N(){return e({url:"app/wechat/group/create",method:"GET"})}function U(t){return e({url:`app/wechat/group/${t}/edit`,method:"GET"})}function b(t){return e({url:"app/wechat/action",method:"GET",params:t})}function M(t){return e({url:`app/wechat/code_reply/${t}`,method:"GET"})}export{i as MenuApi,M as downloadReplyCode,k as groupsEditApi,f as keywordListApi,A as keywordsetStatusApi,T as keywordsinfoApi,l as replyApi,L as tagListtApi,b as wechatActionListApi,d as wechatCreateApi,s as wechatEditApi,N as wechatGroupCreateApi,U as wechatGroupEditApi,_ as wechatGroupListApi,w as wechatListApi,c as wechatMenuApi,g as wechatNewsAddApi,G as wechatNewsInfotApi,E as wechatNewsListApi,y as wechatPushApi,m as wechatSetStatusApi,h as wechatSyncTemplate,P as wechatTagCreateApi,C as wechatTagEditApi,S as wechatTagListApi,$ as wechatUserListtApi}; diff --git a/backend/public/admin/system_static/api-Cf_YNigo.js b/backend/public/admin/system_static/api-Cf_YNigo.js new file mode 100644 index 000000000..c6661898d --- /dev/null +++ b/backend/public/admin/system_static/api-Cf_YNigo.js @@ -0,0 +1 @@ +import{w as r}from"./index-DHL7RTL2.js";function u(e){return r({url:"user/member/ship",method:"GET",params:e})}function n(e,m){return r({url:`user/member_ship/save/${e}`,method:"POST",data:m})}function s(e){return r({url:"user/member_card/set_status",method:"GET",params:e})}function a(e){return r({url:"user/member_batch/index",method:"GET",params:e})}function o(e,m){return r({url:`user/member_batch/save/${e}`,method:"POST",data:m})}function c(e,m){return r({url:`user/member_batch/set_value/${e}`,method:"GET",params:m})}function i(e,m){return r({url:`user/member_card/index/${e}`,method:"GET",params:m})}function b(e){return r({url:"user/member_card/set_status",method:"GET",params:e})}function h(){return r({url:"user/member_scan",method:"GET"})}function d(e){return r({url:"user/member/record",method:"GET",params:e})}function f(){return r({url:"user/member/right",method:"GET"})}function l(e){return r({url:"user/member_right/save/0",method:"POST",data:e})}function T(){return r({url:"user/member/agreement",method:"GET"})}function S(e,m){return r({url:`user/member_agreement/save/${e}`,method:"POST",data:m})}function _(e){return r({url:"user/scan_list",method:"GET",params:e})}function E(e){return r({url:"user/offline_scan",method:"GET",params:e})}export{E as a,n as b,i as c,b as d,a as e,h as f,c as g,o as h,d as i,f as j,l as k,T as l,s as m,S as n,_ as o,u}; diff --git a/backend/public/admin/system_static/api-CkTOrWll.js b/backend/public/admin/system_static/api-CkTOrWll.js new file mode 100644 index 000000000..34ff11a79 --- /dev/null +++ b/backend/public/admin/system_static/api-CkTOrWll.js @@ -0,0 +1 @@ +import{w as r}from"./index-DHL7RTL2.js";import"./element-plus-C_ZDq0cz.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function m(t){return r({url:"marketing/lottery/list",method:"get",params:t})}function s(t){return r({url:`marketing/lottery/detail/${t}`,method:"get"})}function a(t){return r({url:"marketing/lottery/add",method:"post",data:t})}function d(t,e){return r({url:`marketing/lottery/edit/${t}`,method:"put",data:e})}function p(t){return r({url:`marketing/lottery/del/${t}`,method:"delete"})}function y(t){return r({url:`marketing/lottery/set_status/${t.id}/${t.status}`,method:"put"})}function c(t){return r({url:"marketing/lottery/record/list",method:"get",params:t})}function f(t){return r({url:"marketing/lottery/record/deliver",method:"post",data:t})}function g(t){return r({url:"marketing/lottery/list",method:"get",params:t})}function h(t){return r({url:`marketing/lottery/set_status/${t.id}/${t.status}`,method:"put"})}function k(){return r({url:"marketing/lottery/factor/list",method:"get"})}function A(t){return r({url:"marketing/lottery/factor/use",method:"post",data:t})}export{k as factorListApi,A as factorUseApi,a as lotteryCreateApi,p as lotteryDelApi,s as lotteryDetailApi,d as lotteryEditApi,g as lotteryList,m as lotteryListApi,f as lotteryRecordDeliver,c as lotteryRecordList,h as lotteryStatus,y as lotteryStatusApi}; diff --git a/backend/public/admin/system_static/api-CuxUM2v-.js b/backend/public/admin/system_static/api-CuxUM2v-.js new file mode 100644 index 000000000..575127436 --- /dev/null +++ b/backend/public/admin/system_static/api-CuxUM2v-.js @@ -0,0 +1 @@ +import{w as t}from"./index-DHL7RTL2.js";import"./element-plus-C_ZDq0cz.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function g(r){return t({url:"marketing/integral_product",method:"GET",params:r})}function d(r){return t({url:`marketing/integral/${r.id}`,method:"post",data:r})}function l(r){return t({url:`marketing/integral/${r}`,method:"GET"})}function m(r){return t({url:`marketing/integral/set_show/${r.id}/${r.is_show}`,method:"put"})}function s(r){return t({url:`marketing/integral/${r}`,method:"DELETE"})}function p(r,e){return t({url:`product/product/attrs/${r}/${e}`,method:"GET"})}function c(r){return t({url:"marketing/integral/order/list",method:"get",params:r})}function f(r){return t({url:"marketing/integral/order/chart",method:"get",params:r})}function h(r){return t({url:`marketing/integral/order/info/${r}`,method:"get"})}function k(r){return t({url:`marketing/integral/order/express/${r}`,method:"get"})}function $(r){return t({url:"marketing/integral/order/express_list?status="+r,method:"get"})}function E(r){return t({url:`marketing/integral/order/distribution/${r}`,method:"get"})}function D(r){return t({url:`marketing/integral/order/delivery/${r.id}`,method:"put",data:r.datas})}function O(r){return t({url:`marketing/integral/order/distribution/${r.id}`,method:"put",data:r.datas})}function A(r){return t({url:`marketing/integral/order/remark/${r.id}`,method:"put",data:{remark:r.remark}})}function x(r){return t({url:`marketing/integral/order/status/${r.id}`,method:"get"})}function I(){return t({url:"marketing/integral/order/delivery/list",method:"get"})}function T(r){return t({url:"marketing/integral/order/express/temp",method:"get",params:r})}function v(){return t({url:"marketing/integral/order/sheet_info",method:"get"})}function L(r){return t({url:`marketing/integral/order/take/${r}`,method:"put"})}function P(r){return t({url:`marketing/integral/order/del/${r}`,method:"DELETE"})}function _(r){return t({url:`marketing/integral/order/print/${r}`,method:"post"})}export{k as getExpress,$ as getExpressData,h as getIntegralOrderDataInfo,E as getIntegralOrderDistribution,x as getIntegralOrderRecord,d as integralAddApi,s as integralDelApi,f as integralGetOrdes,l as integralInfoApi,m as integralIsShowApi,P as integralOrderDel,c as integralOrderList,_ as integralOrderPrint,D as integralOrderPutDelivery,O as integralOrderPutDistribution,A as integralOrderPutRemarkData,L as integralOrderTake,g as integralProductListApi,I as orderDeliveryList,T as orderExpressTemp,v as orderSheetInfo,p as productAttrsApi}; diff --git a/backend/public/admin/system_static/api-D06-m3Vw.js b/backend/public/admin/system_static/api-D06-m3Vw.js new file mode 100644 index 000000000..2f37c2bbc --- /dev/null +++ b/backend/public/admin/system_static/api-D06-m3Vw.js @@ -0,0 +1 @@ +import{w as i}from"./index-DHL7RTL2.js";import"./element-plus-C_ZDq0cz.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const m="/virtual";function u(o,r={}){const e=(r.method||"get").toLowerCase(),t={url:m+o,method:e};return r.body&&(t.data=typeof r.body=="string"?JSON.parse(r.body):r.body),i(t)}export{u as virtualApi}; diff --git a/backend/public/admin/system_static/api-DA9KG23L.js b/backend/public/admin/system_static/api-DA9KG23L.js new file mode 100644 index 000000000..93ea09c19 --- /dev/null +++ b/backend/public/admin/system_static/api-DA9KG23L.js @@ -0,0 +1 @@ +import{w as t}from"./index-DHL7RTL2.js";import"./element-plus-C_ZDq0cz.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function u(){return t({url:"marketing/channel_code/cate/list",method:"get"})}function d(e){return t({url:`marketing/channel_code/cate/create/${e}`,method:"get"})}function h(e){return t({url:"marketing/channel_code/list",method:"GET",params:e})}function l(e){return t({url:`marketing/channel_code/set_status/${e.id}/${e.status}`,method:"PUT"})}function m(e){return t({url:`marketing/channel_code/user_list/${e.id}`,method:"get",params:e})}function s(e){return t({url:`marketing/channel_code/info/${e}`,method:"get"})}function g(e,n){return t({url:`marketing/channel_code/save/${e}`,method:"POST",data:n})}function f(e,n){return t({url:`marketing/channel_code/statistic/${e}`,method:"GET",params:n})}function _(e){return t({url:`marketing/channel_code/cate/del/${e}`,method:"DELETE"})}function k(e){return t({url:`marketing/channel_code/del/${e}`,method:"DELETE"})}export{m as getUserList,_ as wechatQrcodeCateDelApi,d as wechatQrcodeCreate,k as wechatQrcodeDelApi,s as wechatQrcodeDetail,h as wechatQrcodeList,g as wechatQrcodeSaveApi,f as wechatQrcodeStatistic,l as wechatQrcodeStatusApi,u as wechatQrcodeTree}; diff --git a/backend/public/admin/system_static/api-DEOgbDDm.js b/backend/public/admin/system_static/api-DEOgbDDm.js new file mode 100644 index 000000000..71f811123 --- /dev/null +++ b/backend/public/admin/system_static/api-DEOgbDDm.js @@ -0,0 +1 @@ +import{w as t}from"./index-DHL7RTL2.js";import"./element-plus-C_ZDq0cz.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function u(i){return t({url:"marketing/seckill",method:"GET",params:i})}function o(i){return t({url:`marketing/seckill/${i}`,method:"GET"})}function k(i){return t({url:`marketing/seckill/${i.id||0}`,method:"POST",data:i})}function m(i){return t({url:`marketing/seckill/set_status/${i.id}/${i.status}`,method:"PUT"})}function f(i){return t({url:`marketing/seckill/${i}`,method:"DELETE"})}function a(i){return t({url:"marketing/seckill_activity/list",method:"GET",params:i})}function d(i){return t({url:`marketing/seckill_activity/info/${i}`,method:"GET"})}function g(i){return t({url:`marketing/seckill_activity/save/${i.id||0}`,method:"POST",data:i})}function p(i){return t({url:`marketing/seckill_activity/del/${i}`,method:"DELETE"})}function A(i){return t({url:`marketing/seckill_activity/status/${i.id}/${i.status}`,method:"PUT"})}function h(){return t({url:"marketing/seckill/time_list",method:"GET"})}function T(i){return t({url:`marketing/seckill/statistics/head/${i}`,method:"GET"})}function E(i,e){return t({url:`marketing/seckill/statistics/people/${i}`,method:"GET",params:e})}function $(i,e){return t({url:`marketing/seckill/statistics/order/${i}`,method:"GET",params:e})}function _(i,e){return t({url:`product/product/attrs/${i}/${e}`,method:"GET"})}function v(i){return t({url:"export/seckill_list",method:"GET",params:i})}function G(i){return t({url:"marketing/seckill_config",method:"GET",params:i})}function S(i){return t({url:"marketing/seckill_config",method:"POST",data:i})}function y(i){return t({url:`marketing/seckill_config/${i}`,method:"GET"})}function L(i){return t({url:`marketing/seckill_config/${i}`,method:"DELETE"})}function P(i){return t({url:`marketing/seckill_config/set_status/${i.id}/${i.status}`,method:"PUT"})}export{v as exportSeckillListApi,T as getseckillStatistics,$ as getseckillStatisticsOrder,E as getseckillStatisticsPeople,_ as productAttrsApi,g as seckillActivityAddApi,p as seckillActivityDelApi,d as seckillActivityInfoApi,a as seckillActivityListApi,A as seckillActivityStatusApi,k as seckillAddApi,L as seckillConfigDelApi,y as seckillConfigInfoApi,G as seckillConfigListApi,S as seckillConfigSaveApi,P as seckillConfigStatusApi,f as seckillDelApi,o as seckillInfoApi,u as seckillListApi,m as seckillStatusApi,h as seckillTimeListApi}; diff --git a/backend/public/admin/system_static/api-DjzY39ON.js b/backend/public/admin/system_static/api-DjzY39ON.js new file mode 100644 index 000000000..f31edbc8b --- /dev/null +++ b/backend/public/admin/system_static/api-DjzY39ON.js @@ -0,0 +1 @@ +import{w as i}from"./index-DHL7RTL2.js";import"./element-plus-C_ZDq0cz.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function m(t){return i({url:"distribution/index",method:"get",params:t})}function p(t){return i({url:"distribution/spread",method:"PUT",data:t})}function l(t){return i({url:"distribution/statistics",method:"get",params:t})}function c(t,r){return i({url:t,method:"get",params:r})}function g(t){return i({url:"distribution/look_code",method:"get",params:t})}function f(t){return i({url:"distribution/look_xcx_code",method:"get",params:t})}function h(t){return i({url:"distribution/look_h5_code",method:"get",params:t})}function b(t){return i({url:"export/userAgent",method:"get",params:t})}function v(t){return i({url:"distribution/division/list",method:"get",params:t})}function A(t){return i({url:"distribution/division/agent_apply/list",method:"get",params:t})}function $(t){return i({url:"distribution/division/statistics",method:"get",params:t})}function x(t){return i({url:`distribution/division/agent/create/${t}`,method:"get"})}function _(t,r){return i({url:`distribution/division/examine_apply/${t}/${r}`,method:"get"})}function k(t){return i({url:`distribution/division/create/${t}`,method:"get"})}function L(t){return i({url:"distribution/division/down_list",method:"get",params:t})}function F(t){return i({url:`distribution/division/set_status/${t.status}/${t.id}`,method:"put"})}function y(t){return i({url:`distribution/division/staff/create/${t}`,method:"get"})}function w(t){return i({url:"distribution/spread/apply/list",method:"get",params:t})}function C(t,r,o,n){return i({url:`distribution/spread/apply/examine/${t}/${r}/${o}`,method:"post",data:n})}export{x as agentFrom,m as agentListApi,p as agentSpreadApi,L as clerkList,_ as divisionFrom,A as divisionList,$ as divisionStatistics,F as isShowApi,g as lookCodeApi,h as lookh5CodeApi,f as lookxcxCodeApi,k as regionFrom,v as regionList,C as spreadFrom,w as spreadList,y as staffAddFrom,c as stairListApi,l as statisticsApi,b as userAgentApi}; diff --git a/backend/public/admin/system_static/api-DrXU68ht.js b/backend/public/admin/system_static/api-DrXU68ht.js new file mode 100644 index 000000000..d4ed0f680 --- /dev/null +++ b/backend/public/admin/system_static/api-DrXU68ht.js @@ -0,0 +1 @@ +import{w as e}from"./index-DHL7RTL2.js";import"./element-plus-C_ZDq0cz.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function i(t){return e({url:"/setting/system_out_account/index",method:"get",params:t})}function c(t){return e({url:`setting/system_out_account/set_status/${t.id}/${t.status}`,method:"PUT"})}function m(t){return e({url:"setting/system_out_account/save",method:"post",data:t})}function _(t){return e({url:`setting/system_out_account/update/${t.id}`,method:"post",data:t})}function f(t){return e({url:`setting/system_out_account/set_up/${t}`,method:"get"})}function a(){return e({url:"setting/system_out_interface/list",method:"get"})}function p(t){return e({url:`setting/system_out_account/set_up/${t.id}`,method:"put",data:t})}function d(t){return e({url:`setting/system_out_interface/save/${t.id}`,method:"post",data:t})}function l(t){return e({url:`setting/system_out_interface/info/${t}`,method:"get"})}function g(t){return e({url:"setting/system_out_interface/edit_name",method:"PUT",data:t})}function h(t){return e({url:"setting/system_out_interface/del/"+t,method:"delete"})}function y(t){return e({url:"setting/system_out_account/text_out_url",method:"post",data:t})}export{i as accountListApi,h as interfaceDel,l as interfaceDet,g as interfaceEditName,a as interfaceList,d as interfaceSave,m as outSaveApi,_ as outSavesApi,f as outSetUp,c as setShowApi,p as setUpPush,y as textOutUrl}; diff --git a/backend/public/admin/system_static/api-DzQEuwz6.js b/backend/public/admin/system_static/api-DzQEuwz6.js new file mode 100644 index 000000000..3f9b82115 --- /dev/null +++ b/backend/public/admin/system_static/api-DzQEuwz6.js @@ -0,0 +1 @@ +import{w as m}from"./index-DHL7RTL2.js";import"./element-plus-C_ZDq0cz.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const a="/normal";function p(t,r={}){const e=(r.method||"get").toLowerCase(),o={url:a+t,method:e};return r.body&&(o.data=typeof r.body=="string"?JSON.parse(r.body):r.body),m(o)}export{p as normalApi}; diff --git a/backend/public/admin/system_static/api-F07lxUgi.js b/backend/public/admin/system_static/api-F07lxUgi.js new file mode 100644 index 000000000..b09e77630 --- /dev/null +++ b/backend/public/admin/system_static/api-F07lxUgi.js @@ -0,0 +1 @@ +import{w as u}from"./index-DHL7RTL2.js";import"./element-plus-C_ZDq0cz.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function c(e){return u({url:"/kefu/login",method:"post",data:e,kefu:!0})}function k(e){return u({url:"/kefu/user/record",method:"get",params:e,kefu:!0})}function s(e){return u({url:`/kefu/user/end_chat/${e}`,method:"put",kefu:!0})}function d(){return u({url:"/kefu/user/unread_num",method:"get",kefu:!0})}function a(e){return u({url:"/kefu/user/info/"+e,method:"get",kefu:!0})}function l(e){return u({url:"/kefu/service/speechcraft",method:"get",params:e,kefu:!0})}function m(e){return u({url:"/kefu/service/transfer_list",method:"get",params:e,kefu:!0})}function h(e){return u({url:"/kefu/service/transfer",method:"post",params:e,kefu:!0})}function p(e){return u({url:`/kefu/user/label/${e}`,method:"get",kefu:!0})}function g(e,t){return u({url:`/kefu/user/label/${e}`,method:"put",data:t,kefu:!0})}function v(e){return u({url:"/kefu/service/list",method:"get",params:e,kefu:!0})}function A(){return u({url:"/kefu/user/logout",method:"post",kefu:!0})}function C(){return u({url:"/kefu/key",method:"get",kefu:!0})}function b(){return u({url:"/kefu/config",method:"get",kefu:!0})}function L(e){return u({url:"/kefu/service/cate",method:"get",params:e,kefu:!0})}function S(e,t){return u({url:"/kefu/service/speechcraft/"+e,method:"PUT",params:t,kefu:!0})}function _(e){return u({url:"/kefu/service/speechcraft",method:"post",data:e,kefu:!0})}function $(e){return u({url:"/kefu/service/cate",method:"post",data:e,kefu:!0})}function U(e,t){return u({url:"/kefu/service/cate/"+e,method:"PUT",params:t,kefu:!0})}function I(e,t){return u({url:"/kefu/scan/"+e,method:"get",params:t,kefu:!0})}function P(){return u({url:"/kefu/user/group",method:"get",kefu:!0})}function T(e,t){return u({url:`/kefu/user/group/${e}/${t}`,method:"put",kefu:!0})}function w(){return u({url:"/kefu/config",method:"get",kefu:!0})}function y(e){return u({url:"kefu/tourist/user",method:"get",params:e,kefu:!0})}function G(){return u({url:"kefu/tourist/adv",method:"get",kefu:!0})}function K(e){return u({url:"kefu/tourist/chat",method:"get",params:e,kefu:!0})}function x(){return u({url:"kefu/tourist/feedback",method:"get",kefu:!0})}function D(e){return u({url:"kefu/tourist/feedback",method:"post",data:e,kefu:!0})}function F(){return u({url:"get_workerman_url",method:"get"})}function N(e){return u({url:"kefu/upload",method:"post",data:e,kefu:!0})}export{c as AccountLogin,A as AccountLogoutKefu,$ as addServiceCate,_ as addSpeeChcraft,K as chatListApi,U as editServiceCate,s as endChatApi,x as feedbackDataApi,D as feedbackFromApi,G as getAdvApi,C as getSanCodeKey,F as getWorkermanUrl,w as kefuConfig,b as loginInfoApi,T as putGroupApi,k as record,I as scanStatus,L as serviceCate,S as serviceCateUpdate,v as serviceList,y as serviceListApi,h as serviceTransfer,l as speeChcraft,m as transferList,d as unreadNumApi,N as uploadImg,P as userGroupApi,a as userInfo,p as userLabel,g as userLabelPut}; diff --git a/backend/public/admin/system_static/api-OAtPGPHN.js b/backend/public/admin/system_static/api-OAtPGPHN.js new file mode 100644 index 000000000..008ade01c --- /dev/null +++ b/backend/public/admin/system_static/api-OAtPGPHN.js @@ -0,0 +1,4 @@ +import{w as i,g as A,S as k}from"./index-DHL7RTL2.js";import"./element-plus-C_ZDq0cz.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function D(){return i({url:"aiagent/options",method:"get"})}function _(){return i({url:"aiagent/conversations",method:"get"})}function y(t){return i({url:`aiagent/messages/${t}`,method:"get"})}function C(t){return i({url:`aiagent/conversation/${t}`,method:"delete"})}function M(t,e){return i({url:`aiagent/conversation/${t}`,method:"put",data:e})}function b(t,e,u={}){return g("aiagent/chat_stream",t,e,{...u,requireDone:!0})}function R(t,e,u={}){return g("aiagent/confirm_stream",t,e,{...u,requireDone:!0})}function g(t,e,u,l={}){const d=k.apiBaseURL.replace(/\/$/,"");return fetch(`${d}/${t}`,{method:"POST",headers:{"Content-Type":"application/json","Authori-zation":"Bearer "+(A("token")||"")},body:JSON.stringify(e),signal:l.signal}).then(async a=>{if(!a.ok||!a.body)throw a.status===401?new Error("登录已失效,请重新登录"):a.status===403?new Error("暂无操作权限"):new Error("流式请求失败:HTTP "+a.status);let p=!1;const m=c=>{const o=c.split(` +`).find(s=>s.startsWith("data:"));if(!o)return;let n;try{n=JSON.parse(o.slice(5).trim())}catch{return}if(u(n),n.event==="done"&&(p=!0),l.requireDone&&n.event==="error")throw new Error(n.msg||"对话失败")},h=a.body.getReader(),f=new TextDecoder("utf-8");let r="";for(;;){const{done:c,value:o}=await h.read();if(c)break;r+=f.decode(o,{stream:!0});let n;for(;(n=r.indexOf(` + +`))!==-1;){const s=r.slice(0,n);r=r.slice(n+2),m(s)}}if(r.trim()&&m(r),l.requireDone&&!p)throw new Error("对话连接已中断,请检查会话记录后重试")})}function L(){return i({url:"aiagent/mcp_servers",method:"get"})}function q(t){return i({url:`aiagent/mcp_server/${t}`,method:"get"})}function E(t,e=0){return i({url:e?`aiagent/mcp_server/${e}`:"aiagent/mcp_server",method:e?"put":"post",data:t})}function O(t){return i({url:`aiagent/mcp_server/${t}`,method:"delete"})}function x(t,e){return i({url:`aiagent/mcp_server/${t}/status`,method:"put",data:{status:e}})}function B(t){return i({url:`aiagent/mcp_server/${t}/sync`,method:"post"})}function U(t){return i({url:`aiagent/mcp_server/${t}/test`,method:"post"})}function J(t,e=[]){return i({url:"ai/chat",method:"post",data:{prompt:t,prompts:e}})}function N(){return i({url:"aiagent/skills",method:"get"})}function P(t){return i({url:`aiagent/skill/${t}`,method:"get"})}function j(t){return i({url:"aiagent/skill",method:"post",data:t})}function z(t,e){return i({url:`aiagent/skill/${t}`,method:"put",data:e})}function H(t){return i({url:`aiagent/skill/${t}`,method:"delete"})}function W(t,e){return i({url:`aiagent/skill/${t}/status`,method:"put",data:{status:e}})}function F(t){return i({url:`aiagent/skill/${t}/attachments`,method:"get"})}function G(t,e){return i({url:`aiagent/skill/${t}/attachment`,method:"get",params:{file:e}})}function I(t,e){return i({url:`aiagent/skill/${t}/attachment`,method:"post",data:e})}function K(t,e){return i({url:`aiagent/skill/${t}/attachment`,method:"delete",params:{file:e}})}function Q(t){return i({url:"aiagent/tasks",method:"get",params:t})}function V(t){const e=t.id||0;return i({url:e?`aiagent/task/${e}`:"aiagent/task",method:e?"put":"post",data:t})}function X(t){return i({url:`aiagent/task/${t}`,method:"get"})}function Y(t){return i({url:`aiagent/task/${t}`,method:"delete"})}function Z(t,e){return i({url:`aiagent/task/${t}/status`,method:"put",data:{status:e}})}function tt(t){return i({url:`aiagent/task/${t}/run`,method:"post"})}function et(t,e){return i({url:`aiagent/task/${t}/runs`,method:"get",params:e})}function it(t){return i({url:"aiagent/task_runs",method:"get",params:t})}function nt(t){return i({url:`aiagent/task_run/${t}`,method:"get"})}export{b as aiAgentChatStreamApi,R as aiAgentConfirmStreamApi,_ as aiAgentConversationsApi,C as aiAgentDeleteConversationApi,y as aiAgentMessagesApi,D as aiAgentOptionsApi,M as aiAgentUpdateConversationApi,J as aiChatApi,O as aiMcpServerDeleteApi,q as aiMcpServerDetailApi,L as aiMcpServerListApi,E as aiMcpServerSaveApi,x as aiMcpServerStatusApi,B as aiMcpServerSyncApi,U as aiMcpServerTestApi,K as aiSkillAttachmentDeleteApi,F as aiSkillAttachmentListApi,G as aiSkillAttachmentReadApi,I as aiSkillAttachmentSaveApi,H as aiSkillDeleteApi,P as aiSkillDetailApi,N as aiSkillListApi,j as aiSkillSaveApi,W as aiSkillStatusApi,z as aiSkillUpdateApi,Y as aiTaskDeleteApi,X as aiTaskDetailApi,Q as aiTaskListApi,nt as aiTaskRunDetailApi,it as aiTaskRunListApi,et as aiTaskRunsApi,V as aiTaskSaveApi,Z as aiTaskStatusApi,tt as aiTaskTriggerApi,g as sseRequest}; diff --git a/backend/public/admin/system_static/api-WYxeAVAk.js b/backend/public/admin/system_static/api-WYxeAVAk.js new file mode 100644 index 000000000..7dd1a2c5d --- /dev/null +++ b/backend/public/admin/system_static/api-WYxeAVAk.js @@ -0,0 +1 @@ +import{w as i}from"./index-DHL7RTL2.js";import"./element-plus-C_ZDq0cz.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function c(t){return i({url:"marketing/combination",method:"GET",params:t})}function u(t){return i({url:`marketing/combination/set_status/${t.id}/${t.status}`,method:"PUT"})}function s(){return i({url:"marketing/combination/statistics",method:"GET"})}function b(t){return i({url:`marketing/combination/${t}`,method:"GET"})}function p(t){return i({url:`marketing/combination/${t.id||0}`,method:"POST",data:t})}function d(t){return i({url:"marketing/combination/combine/list",method:"GET",params:t})}function l(t){return i({url:`marketing/combination/order_pink/${t}`,method:"GET"})}function f(t){return i({url:"export/combination_list",method:"GET",params:t})}function g(t){return i({url:`marketing/combination/statistics/head/${t}`,method:"GET"})}function h(t,n){return i({url:`marketing/combination/statistics/list/${t}`,method:"GET",params:n})}function k(t,n){return i({url:`marketing/combination/statistics/order/${t}`,method:"GET",params:n})}function T(t){return i({url:`marketing/combination/immediately/${t}`,method:"GET"})}export{p as combinationCreatApi,b as combinationInfoApi,c as combinationListApi,u as combinationSetStatusApi,T as combineJoinApi,d as combineListApi,g as getcombinationStatistics,k as getcombinationStatisticsOrder,h as getcombinationStatisticsPeople,l as orderPinkListApi,s as statisticsApi,f as storeCombinationApi}; diff --git a/backend/public/admin/system_static/api-sRNjWbbq.js b/backend/public/admin/system_static/api-sRNjWbbq.js new file mode 100644 index 000000000..647e9f503 --- /dev/null +++ b/backend/public/admin/system_static/api-sRNjWbbq.js @@ -0,0 +1 @@ +import{w as t}from"./index-DHL7RTL2.js";import"./element-plus-C_ZDq0cz.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function f(){return t({url:"system/file",method:"GET"})}function m(e){return t({url:"system/file/login",method:"POST",data:e})}function s(e){return t({url:"system/file/opendir",method:"GET",params:e,file_edit:!0})}function d(e){return t({url:"system/file/openfile",method:"GET",params:e,file_edit:!0})}function p(e){return t({url:`system/file/savefile?fileToken=${e.fileToken}`,method:"post",data:e,file_edit:!0})}function c(e){return t({url:"system/file/createFolder",method:"GET",params:e,file_edit:!0})}function a(e){return t({url:"system/file/createFile",method:"GET",params:e,file_edit:!0})}function h(e){return t({url:"system/file/rename",method:"GET",params:e,file_edit:!0})}function y(e){return t({url:"system/file/delFolder",method:"GET",params:e,file_edit:!0})}function T(e){return t({url:"system/file/mark",method:"get",params:e,file_edit:!0})}function _(e,i){return t({url:`system/file/mark/save?fileToken=${e}`,method:"post",data:i})}export{a as createFile,c as createFolder,y as delFolder,f as fileListApi,T as fileMark,_ as markSave,s as opendirListApi,m as opendirLoginApi,d as openfileApi,h as rename,p as savefileApi}; diff --git a/backend/public/admin/system_static/app-hJ6HxRad.js b/backend/public/admin/system_static/app-hJ6HxRad.js new file mode 100644 index 000000000..10d6bdd72 --- /dev/null +++ b/backend/public/admin/system_static/app-hJ6HxRad.js @@ -0,0 +1 @@ +import{w as e}from"./index-DHL7RTL2.js";function r(){return e({url:"app/routine/syncSubscribe",method:"GET"})}function n(){return e({url:"app/wechat/syncSubscribe",method:"GET"})}function o(t){return e({url:"app/routine/ci/upload",method:"post",data:t})}function i(t){return e({url:`app/wechat/keyword/set_status/${t.id}/${t.status}`,method:"PUT"})}function a(t){return e({url:"app/wechat/news",method:"GET",params:t})}function p(){return e({url:"setting/city/full_list",method:"GET"})}function s(t){return e({url:"app/kefu/auto_reply/list",method:"get",params:t})}function c(t){return e({url:"app/kefu/auto_reply/form/"+t,method:"get"})}function f(){return e({url:"app/kefu/config",method:"get"})}function l(t){return e({url:"app/kefu/config/save",method:"post",data:t})}export{i as a,c as b,f as c,l as d,p as e,n as f,o as g,s as k,r,a as w}; diff --git a/backend/public/admin/system_static/aside-BPzrVeQ6.css b/backend/public/admin/system_static/aside-BPzrVeQ6.css new file mode 100644 index 000000000..491d4da7a --- /dev/null +++ b/backend/public/admin/system_static/aside-BPzrVeQ6.css @@ -0,0 +1 @@ +[data-v-afd4dd9b] .center{text-align:center;margin-right:0!important;margin-left:5px}.cat-name[data-v-7fa66453]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:50px;border-bottom:1px solid var(--prev-border-color-lighter);font-weight:500;font-size:15px} diff --git a/backend/public/admin/system_static/aside-Ct0KePfj.js b/backend/public/admin/system_static/aside-Ct0KePfj.js new file mode 100644 index 000000000..b5a66f5a1 --- /dev/null +++ b/backend/public/admin/system_static/aside-Ct0KePfj.js @@ -0,0 +1 @@ +import{l as k,f as q,k as h,y as o,z as v,j as l,C as n,F as E,D as G,B as m,A as M,a0 as S,aI as J,H as w,W as Q,a1 as R,p as r,b as X}from"./element-plus-C_ZDq0cz.js";import{_ as D,b as Y,bE as Z,bk as P,s as ee,aO as te,aK as se,aL as ne,A as c}from"./index-DHL7RTL2.js";import{a as oe,M as F,L as j}from"./header-GEaJ1_Kn.js";const ae=["href"],le=Object.assign({name:"navMenuVertical"},{__name:"vertical",props:{menuList:{type:Array,default(){return[]}}},setup(x){const p=Y(),A=Z(),f=P(),{activePath:_}=ee(A),C=k(p.path),i=r(()=>f.themeConfig.columnsAsideStyle),y=r(()=>f.themeConfig),g=r(()=>document.body.clientWidth<1e3?!1:f.themeConfig.isCollapse);return q(()=>p.fullPath,()=>{C.value=p.path,document.body.clientWidth<1e3&&(f.themeConfig.isCollapse=!1)}),(d,B)=>{const u=h("el-sub-menu"),L=h("el-menu-item"),b=h("el-menu");return o(),v("div",null,[l(b,{router:"",class:R(i.value),"background-color":"transparent","default-active":Q(_)||C.value,collapse:g.value,"unique-opened":y.value.isUniqueOpened,"collapse-transition":!1},{default:n(()=>[(o(!0),v(E,null,G(x.menuList,t=>(o(),v(E,{key:t.path},[t.is_show&&t.children&&t.children.length>0?(o(),m(u,{key:0,index:t.path},{title:n(()=>[l(F,{icon:t.icon},null,8,["icon"]),M("span",null,S(d.$t(t.title)),1)]),default:n(()=>[l(oe,{chil:t.children},null,8,["chil"])]),_:2},1032,["index"])):t.is_show?(o(),m(L,{key:1,index:t.path},J({default:n(()=>[l(F,{icon:t.icon},null,8,["icon"])]),_:2},[!t.isLink||t.isLink&&t.isIframe?{name:"title",fn:n(()=>[M("span",null,S(d.$t(t.title)),1)]),key:"0"}:{name:"title",fn:n(()=>[M("a",{href:t.isLink,target:"_blank"},S(d.$t(t.title)),9,ae)]),key:"1"}]),1032,["index"])):w("",!0)],64))),128))]),_:1},8,["class","default-active","collapse","unique-opened"])])}}}),U=D(le,[["__scopeId","data-v-afd4dd9b"]]),ie={key:1,class:"cat-name"},ue=Object.assign({name:"layoutAside"},{__name:"aside",emits:["routesListChange"],setup(x,{emit:p}){const A=p,f=te(),_=se(),C=ne(),i=P(),y=k(null),g=k(""),d=k(""),B=r(()=>f.adminTitle||""),u=r(()=>_.childMenuList);q(()=>_.childMenuList.length,e=>{i.themeConfig.isCollapse=e<=0},{immediate:!0});const L=r(()=>{let{layout:e,isCollapse:s}=i.themeConfig,a="";return(e==="classic"||e==="columns")&&(a="layout-el-aside-br-color"),e==="columns"?s?["layout-aside-width1",a]:["layout-aside-width-default",a]:s&&u.value.length?["layout-aside-width64",a]:s?["layout-aside-width1",a]:["layout-aside-width-default",a,e==="classic"?"pt8":""]}),b=r(()=>{let{isShowLogo:e,layout:s}=i.themeConfig;return e&&s==="defaults"||e&&s==="columns"}),t=r(()=>i.themeConfig);O(document.body.clientWidth),z(),c.on("layoutMobileResize",W),c.on("oneCatName",V),c.on("updateElScrollBar",N),i.themeConfig.layout!=="columns"&&c.on("routesListChange",T),X(()=>{c.off("routesListChange",T),c.off("layoutMobileResize",W),c.off("oneCatName",V),c.off("updateElScrollBar",N)});function W(e){O(e.clientWidth)}function V(e){d.value=e}function N(){setTimeout(()=>{var e,s;(s=(e=y.value)==null?void 0:e.update)==null||s.call(e)},300)}function T(){z()}function z(){if(i.themeConfig.layout==="columns")return!1;_.setChildMenuList(I(C.routesList))}function I(e){return e.filter(s=>s.path).map(s=>(s=Object.assign({},s),s.children&&(s.children=I(s.children)),s))}function O(e){g.value=e,A("routesListChange")}return(e,s)=>{const a=h("el-scrollbar"),$=h("el-aside"),H=h("el-drawer");return g.value>1e3?(o(),m($,{key:0,class:R(["layout-aside",L.value])},{default:n(()=>[b.value&&u.value.length&&t.value.layout!=="columns"?(o(),m(j,{key:0})):w("",!0),u.value.length&&t.value.layout=="columns"?(o(),v("div",ie,S(B.value||d.value),1)):w("",!0),l(a,{class:"flex-auto",ref_key:"layoutAsideRef",ref:y},{default:n(()=>[l(U,{menuList:u.value,class:R(L.value)},null,8,["menuList","class"])]),_:1},512)]),_:1},8,["class"])):(o(),m(H,{key:1,modelValue:t.value.isCollapse,"onUpdate:modelValue":s[0]||(s[0]=K=>t.value.isCollapse=K),"with-header":!1,direction:"ltr",size:"180px",class:"layout-aside-drawer"},{default:n(()=>[l($,{class:"layout-aside w100 h100"},{default:n(()=>[b.value&&u.value.length?(o(),m(j,{key:0})):w("",!0),l(a,{class:"flex-auto",ref_key:"layoutAsideRef",ref:y},{default:n(()=>[l(U,{menuList:u.value},null,8,["menuList"])]),_:1},512)]),_:1})]),_:1},8,["modelValue"]))}}}),fe=D(ue,[["__scopeId","data-v-7fa66453"]]);export{fe as A}; diff --git a/backend/public/admin/system_static/authLapse-UNQuIcwX.js b/backend/public/admin/system_static/authLapse-UNQuIcwX.js new file mode 100644 index 000000000..319f7915a --- /dev/null +++ b/backend/public/admin/system_static/authLapse-UNQuIcwX.js @@ -0,0 +1 @@ +import{ao as r,h as e}from"./element-plus-C_ZDq0cz.js";function n(t){return new Promise((i,a)=>{r.warning({title:t.title,duration:3e3,message:e("div",[e("a",{href:"http://www.crmeb.com",target:"_blank"},t.info)])}),i()})}export{n as a}; diff --git a/backend/public/admin/system_static/autoReply-BXyvByB7.js b/backend/public/admin/system_static/autoReply-BXyvByB7.js new file mode 100644 index 000000000..ef703a0e4 --- /dev/null +++ b/backend/public/admin/system_static/autoReply-BXyvByB7.js @@ -0,0 +1 @@ +import{Z as _,y as s,z as f,j as l,C as a,A as m,ac as K,s as u,B as w,$ as y,a0 as h,H as Q,l as S,k as n,p as B,r as X,u as k}from"./element-plus-C_ZDq0cz.js";import{k as Y,a as ee,b as E}from"./app-hJ6HxRad.js";import{_ as te,a as le,o as F,m as ae}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const oe={class:"padding-add"},ne={key:0},ie={key:1,class:"tabBox_img"},se=["onClick"],de=["onClick"],re={class:"acea-row row-right page"},ue=Object.assign({name:"keyword"},{__name:"autoReply",setup(ce){const M=le(),v=S(!1),i=X({key:"",type:"",page:1,limit:15}),x=S([]),V=S(0),D=B(()=>M.isMobile),z=B(()=>D.value?void 0:"80px"),L=B(()=>D.value?"top":"right");p();function p(){v.value=!0,Y(i).then(async o=>{let t=o.data;x.value=t.list,V.value=o.data.count,v.value=!1}).catch(o=>{v.value=!1,_.error(o.msg)})}function N(o){let t={id:o.id,status:o.status};ee(t).then(async d=>{_.success(d.msg)}).catch(d=>{_.error(d.msg)})}function U(){i.page=1,p()}function R(){F(E(0)).then(()=>p())}function I(o){F(E(o.id)).then(()=>p())}function j(o,t,d){let C={title:t,url:`app/kefu/auto_reply/del/${o.id}`,method:"DELETE",ids:""};ae(C).then(r=>{_.success(r.msg),x.value.splice(d,1)}).catch(r=>{_.error(r.msg)})}return(o,t)=>{const d=n("el-option"),C=n("el-select"),r=n("el-form-item"),P=n("el-input"),$=n("el-button"),T=n("el-form"),A=n("el-card"),c=n("el-table-column"),H=n("el-switch"),O=n("el-divider"),W=n("el-table"),Z=n("pagination"),b=k("db-click"),q=k("lazy"),G=k("viewer"),J=k("loading");return s(),f("div",null,[l(A,{bordered:!1,shadow:"never",class:"ivu-mb-16","body-style":{padding:0}},{default:a(()=>[m("div",oe,[l(T,{ref:"levelFrom",model:i,"label-width":z.value,"label-position":L.value,onSubmit:t[2]||(t[2]=K(()=>{},["prevent"])),inline:""},{default:a(()=>[l(r,{label:"回复类型:",prop:"type","label-for":"type"},{default:a(()=>[l(C,{modelValue:i.type,"onUpdate:modelValue":t[0]||(t[0]=e=>i.type=e),placeholder:"请选择",clearable:"",onChange:U,class:"form_content_width"},{default:a(()=>[l(d,{value:"text",label:"文字消息"}),l(d,{value:"image",label:"图片消息"})]),_:1},8,["modelValue"])]),_:1}),l(r,{label:"关键字:",prop:"key","label-for":"key"},{default:a(()=>[l(P,{clearable:"",modelValue:i.key,"onUpdate:modelValue":t[1]||(t[1]=e=>i.key=e),placeholder:"请输入关键字",class:"form_content_width"},null,8,["modelValue"])]),_:1}),l(r,null,{default:a(()=>[u((s(),w($,{type:"primary",onClick:U},{default:a(()=>[...t[5]||(t[5]=[y("查询",-1)])]),_:1})),[[b]])]),_:1})]),_:1},8,["model","label-width","label-position"])])]),_:1}),l(A,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:a(()=>[u((s(),w($,{type:"primary",class:"action-row",onClick:R},{default:a(()=>[...t[6]||(t[6]=[y("添加自动回复",-1)])]),_:1})),[[b]]),u((s(),w(W,{data:x.value,ref:"table",class:"mt14","highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:a(()=>[l(c,{label:"ID",width:"80"},{default:a(e=>[m("span",null,h(e.row.id),1)]),_:1}),l(c,{label:"关键字","min-width":"130"},{default:a(e=>[m("span",null,h(e.row.key),1)]),_:1}),l(c,{label:"回复类型","min-width":"130"},{default:a(e=>[m("span",null,h(e.row.type=="text"?"文字消息":"图片消息"),1)]),_:1}),l(c,{label:"回复内容","min-width":"130"},{default:a(e=>[e.row.type=="text"?(s(),f("span",ne,h(e.row.data.content),1)):u((s(),f("div",ie,[u(m("img",null,null,512),[[q,e.row.data.src]])])),[[G]])]),_:1}),l(c,{label:"是否开启","min-width":"130"},{default:a(e=>[l(H,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:e.row.status,"onUpdate:modelValue":g=>e.row.status=g,value:e.row.status,onChange:g=>N(e.row),size:"large","active-text":"开启","inactive-text":"关闭"},null,8,["modelValue","onUpdate:modelValue","value","onChange"])]),_:1}),l(c,{label:"操作",fixed:"right",width:"170"},{default:a(e=>[u((s(),f("a",{onClick:g=>I(e.row)},[...t[7]||(t[7]=[y("编辑",-1)])],8,se)),[[b]]),l(O,{direction:"vertical"}),u((s(),f("a",{onClick:g=>j(e.row,"客服自动回复",e.$index)},[...t[8]||(t[8]=[y("删除",-1)])],8,de)),[[b]])]),_:1})]),_:1},8,["data"])),[[J,v.value]]),m("div",re,[V.value?(s(),w(Z,{key:0,total:V.value,page:i.page,"onUpdate:page":t[3]||(t[3]=e=>i.page=e),limit:i.limit,"onUpdate:limit":t[4]||(t[4]=e=>i.limit=e),onPagination:p},null,8,["total","page","limit"])):Q("",!0)])]),_:1})])}}}),ge=te(ue,[["__scopeId","data-v-0dc08f2c"]]);export{ge as default}; diff --git a/backend/public/admin/system_static/autoReply-p0QXOSr9.css b/backend/public/admin/system_static/autoReply-p0QXOSr9.css new file mode 100644 index 000000000..04258a773 --- /dev/null +++ b/backend/public/admin/system_static/autoReply-p0QXOSr9.css @@ -0,0 +1 @@ +.QRpic[data-v-0dc08f2c]{width:180px;height:180px}.QRpic img[data-v-0dc08f2c]{width:100%;height:100%} diff --git a/backend/public/admin/system_static/bg-C7cxfRmM.png b/backend/public/admin/system_static/bg-C7cxfRmM.png new file mode 100644 index 000000000..4269be98c Binary files /dev/null and b/backend/public/admin/system_static/bg-C7cxfRmM.png differ diff --git a/backend/public/admin/system_static/bg-CFO_IM8o.jpg b/backend/public/admin/system_static/bg-CFO_IM8o.jpg new file mode 100644 index 000000000..021b6d1a7 Binary files /dev/null and b/backend/public/admin/system_static/bg-CFO_IM8o.jpg differ diff --git a/backend/public/admin/system_static/bg2-BCMKJo4J.png b/backend/public/admin/system_static/bg2-BCMKJo4J.png new file mode 100644 index 000000000..5be8fe222 Binary files /dev/null and b/backend/public/admin/system_static/bg2-BCMKJo4J.png differ diff --git a/backend/public/admin/system_static/bluesgin-B0vag8TQ.png b/backend/public/admin/system_static/bluesgin-B0vag8TQ.png new file mode 100644 index 000000000..8c284acc1 Binary files /dev/null and b/backend/public/admin/system_static/bluesgin-B0vag8TQ.png differ diff --git a/backend/public/admin/system_static/bule-HspEcbH4.jpg b/backend/public/admin/system_static/bule-HspEcbH4.jpg new file mode 100644 index 000000000..ed2cfa6ef Binary files /dev/null and b/backend/public/admin/system_static/bule-HspEcbH4.jpg differ diff --git a/backend/public/admin/system_static/cards-R1Ybou8A.css b/backend/public/admin/system_static/cards-R1Ybou8A.css new file mode 100644 index 000000000..c198d5719 --- /dev/null +++ b/backend/public/admin/system_static/cards-R1Ybou8A.css @@ -0,0 +1 @@ +.card_box_cir1[data-v-4cc3a2f1] .iconfont{font-size:26px;color:#fff}.one[data-v-4cc3a2f1]{background:#e4ecff}.two[data-v-4cc3a2f1]{background:#fff3e0}.three[data-v-4cc3a2f1]{background:#eaf9e1}.four[data-v-4cc3a2f1]{background:#ffeaf4}.five[data-v-4cc3a2f1]{background:#f1e4ff}.one1[data-v-4cc3a2f1]{background:#4d7cfe}.two1[data-v-4cc3a2f1]{background:#ffab2b}.three1[data-v-4cc3a2f1]{background:#6dd230}.four1[data-v-4cc3a2f1]{background:#ff85c0}.five1[data-v-4cc3a2f1]{background:#b37feb}.card_box[data-v-4cc3a2f1]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:4px}.card_box .card_box_cir[data-v-4cc3a2f1]{width:60px;height:60px;border-radius:50%;overflow:hidden;margin-right:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.card_box .card_box_cir .card_box_cir1[data-v-4cc3a2f1]{width:48px;height:48px;border-radius:50%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.card_box .card_box_txt .sp1[data-v-4cc3a2f1]{display:block;color:#252631;font-size:24px}.card_box .card_box_txt .sp2[data-v-4cc3a2f1]{display:block;color:#98a9bc;font-size:12px} diff --git a/backend/public/admin/system_static/cards-kFTwJ5CA.js b/backend/public/admin/system_static/cards-kFTwJ5CA.js new file mode 100644 index 000000000..cc4048ab4 --- /dev/null +++ b/backend/public/admin/system_static/cards-kFTwJ5CA.js @@ -0,0 +1 @@ +import{y as l,z as _,j as m,C as o,F as f,D as h,r as x,k as r,B as v,A as t,a1 as n,a0 as i}from"./element-plus-C_ZDq0cz.js";import{_ as b}from"./index-DHL7RTL2.js";const k={class:"card_box"},C={class:"card_box_txt"},w=["textContent"],L=["textContent"],B=Object.assign({name:"cards"},{__name:"cards",props:{cardLists:Array},setup(d){const c=d,s=x({xl:4,lg:8,md:12});switch(c.cardLists.length){case 1:s.xl=24,s.lg=24,s.md=24;break;case 2:s.xl=12,s.lg=12,s.md=12;break;case 3:s.xl=8,s.lg=8,s.md=8;break;case 4:s.xl=6,s.lg=6,s.md=12;break;case 5:s.xl=8,s.lg=8,s.md=12;break;default:s.xl=4,s.lg=8,s.md=12;break}return c.cardLists.length==4?s.lg=6:c.cardLists.length==4&&(s.lg=8),(z,D)=>{const g=r("el-card"),u=r("el-col"),p=r("el-row");return l(),_("div",null,[m(p,{align:"middle",gutter:16,class:"ivu-mt"},{default:o(()=>[(l(!0),_(f,null,h(d.cardLists,(e,a)=>(l(),v(u,{xl:e.col||s.xl,lg:s.lg,md:s.md,sm:24,xs:24,class:"ivu-mb",key:a},{default:o(()=>[m(g,{shadow:"never",class:"card_cent"},{default:o(()=>[t("div",k,[t("div",{class:n(["card_box_cir",{one:a%5==0,two:a%5==1,three:a%5==2,four:a%5==3,five:a%5==4}])},[t("div",{class:n(["card_box_cir1",{one1:a%5==0,two1:a%5==1,three1:a%5==2,four1:a%5==3,five1:a%5==4}])},[t("span",{class:n(["iconfont",e.className])},null,2)],2)],2),t("div",C,[t("span",{class:"sp1",textContent:i(e.count||0)},null,8,w),t("span",{class:"sp2",textContent:i(e.name)},null,8,L)])])]),_:2},1024)]),_:2},1032,["xl","lg","md"]))),128))]),_:1})])}}}),A=b(B,[["__scopeId","data-v-4cc3a2f1"]]);export{A as c}; diff --git a/backend/public/admin/system_static/cate1-BqKs_57c.png b/backend/public/admin/system_static/cate1-BqKs_57c.png new file mode 100644 index 000000000..7d6b3cb14 Binary files /dev/null and b/backend/public/admin/system_static/cate1-BqKs_57c.png differ diff --git a/backend/public/admin/system_static/cate2-DlxDfM8z.png b/backend/public/admin/system_static/cate2-DlxDfM8z.png new file mode 100644 index 000000000..285b93d56 Binary files /dev/null and b/backend/public/admin/system_static/cate2-DlxDfM8z.png differ diff --git a/backend/public/admin/system_static/cate3-BBplymHd.png b/backend/public/admin/system_static/cate3-BBplymHd.png new file mode 100644 index 000000000..bcbb113aa Binary files /dev/null and b/backend/public/admin/system_static/cate3-BBplymHd.png differ diff --git a/backend/public/admin/system_static/channelCodeIndex-CHwxEGpT.js b/backend/public/admin/system_static/channelCodeIndex-CHwxEGpT.js new file mode 100644 index 000000000..a7da315dc --- /dev/null +++ b/backend/public/admin/system_static/channelCodeIndex-CHwxEGpT.js @@ -0,0 +1 @@ +import{L as ye,a as xe,Z as h,y as s,z as m,j as n,C as a,l as c,k as d,u as U,s as p,A as i,$ as v,H as b,a0 as w,B as k,F as Ce,D as Ee}from"./element-plus-C_ZDq0cz.js";import{_ as Ve,s as Le,a as Ue,h as Se,S as De,n as Ie,o as Z,m as G}from"./index-DHL7RTL2.js";import{wechatQrcodeTree as Be,wechatQrcodeList as Me,wechatQrcodeCreate as J,wechatQrcodeStatusApi as $e,getUserList as Fe}from"./api-DA9KG23L.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const Ne={class:"tree"},Ae={class:"custom-tree-node"},Te={class:"file-name"},ze={key:0,class:"icon",src:Ie},Pe={class:"text line1"},Qe={key:0},je={class:"flex"},Re={class:"tabBox_img"},qe={key:0},Oe={key:1},He={key:2},Ze={class:"tabBox_img"},Ge=["onClick"],Je=["onClick"],Ke={class:"acea-row row-right page"},We={class:"tabBox_img"},Xe={class:"acea-row row-right page"},Ye=Object.assign({name:"marketing_channel_code"},{__name:"channelCodeIndex",setup(et){const I=Se(),B=De.routePre,{isMobile:tt}=Le(Ue()),K=c(""),M=c([]),W=c({page:1,limit:15,data:"",type:"",nickname:""}),$=c(!1),F=c(0),f=c({page:1,limit:15,cate_id:0,name:""}),y=c({id:0,page:1,limit:15}),E=c(!1),N=c([]),X=c(!1),A=c(0),x=c([]),Y=c(""),ee=c(0),te=c(0);ye(()=>{V()}),xe(()=>{V()});function ae(l,e){switch(te.value=l.id,e){case"1":le(l.image);break;case"2":I.push({path:B+"/marketing/channel_code/code_statistic",query:{id:l.id}});break;case"3":$.value=!0,y.value.id=l.id,Q();break}}function le(l){if(!l)return h.warning("暂无二维码");var e=new Image;e.src=l,e.setAttribute("crossOrigin","anonymous"),e.onload=function(){var o=document.createElement("canvas");o.width=e.width,o.height=e.height;var u=o.getContext("2d");u.drawImage(e,0,0,e.width,e.height);var r=o.toDataURL(),C=document.createElement("a"),T=new MouseEvent("click");C.download=name||"photo",C.href=r,C.dispatchEvent(T)}}function Q(){Fe(y.value).then(async l=>{let e=l.data,o=[];e.list.map(u=>{o.push(u.user)}),M.value=o,A.value=e.count,X.value=!1}).catch(l=>{E.value=!1,M.value=[],h.error(l.msg)})}function V(l){Be().then(e=>{let o=e.data.data,u={cate_name:"全部",id:""};o.unshift(u),o.forEach(r=>{r.status=!1}),l||(Y.value=o[0].id,f.value.cate_id=o[0].id,S()),x.value=o})}function ne(){Z(J(0)).then(()=>V())}function oe(l){Z(J(l.id)).then(()=>V(1))}function ie(l,e){let o=x.value.findIndex(r=>r.id==l.id),u={title:e,url:`marketing/channel_code/cate/del/${l.id}`,method:"DELETE",ids:""};G(u).then(r=>{h.success(r.msg),x.value.splice(o,1),x.value=[],V()}).catch(r=>{h.error(r.msg)})}function se(l,e){f.value.page=1,ee.value=e,x.value.forEach(o=>{o.status=!1}),f.value.cate_id=l.id,S()}function de(l){I.push({path:B+"/marketing/channel_code/create",query:{id:l.id}})}function re(){I.push({path:B+"/marketing/channel_code/create"})}function ue(){W.value.page=1,S()}function ce(l,e,o){let u={title:e,url:`/marketing/channel_code/del/${l.id}`,method:"DELETE",ids:""};G(u).then(r=>{h.success(r.msg),N.value.splice(o,1)}).catch(r=>{h.error(r.msg)})}function S(){E.value=!0,Me(f.value).then(async l=>{let e=l.data;N.value=e.list,F.value=l.data.count,E.value=!1}).catch(l=>{E.value=!1,h.error(l.msg)})}function me(l){let e={id:l.id,status:l.status};$e(e).then(async o=>{h.success(o.msg)}).catch(o=>{h.error(o.msg)})}function _e(l,e){e==1?oe(l):e==2&&ie(l,"删除分类")}return(l,e)=>{const o=d("el-tooltip"),u=d("el-dropdown-item"),r=d("el-dropdown-menu"),C=d("el-dropdown"),T=d("el-tree"),D=d("el-col"),j=d("el-button"),pe=d("el-input"),R=d("el-row"),_=d("el-table-column"),ve=d("el-tag"),fe=d("el-switch"),q=d("el-divider"),O=d("el-table"),H=d("pagination"),ge=d("el-card"),he=d("el-dialog"),L=U("db-click"),we=U("auth"),z=U("lazy"),P=U("viewer"),be=U("loading");return s(),m("div",null,[n(R,{class:"ivu-mt box-wrapper"},{default:a(()=>[n(D,{span:4,class:"left-wrapper"},{default:a(()=>[p((s(),m("div",{class:"tree_tit",onClick:ne},[...e[6]||(e[6]=[i("i",{class:"el-icon-circle-plus"},null,-1),v(" 添加分组 ",-1)])])),[[L]]),i("div",Ne,[n(T,{data:x.value,"node-key":"id","default-expand-all":"","highlight-current":"","expand-on-click-node":!1,onNodeClick:se,"current-node-key":K.value},{default:a(({data:t})=>[i("span",Ae,[i("div",Te,[t.pid?b("",!0):(s(),m("img",ze)),n(o,{class:"item",effect:"dark",content:t.cate_name,placement:"top"},{default:a(()=>[i("div",Pe,w(t.cate_name),1)]),_:2},1032,["content"])]),t.id?(s(),m("span",Qe,[n(C,{onCommand:g=>_e(t,g)},{dropdown:a(()=>[n(r,null,{default:a(()=>[n(u,{command:"1"},{default:a(()=>[...e[7]||(e[7]=[v("编辑分组",-1)])]),_:1}),t.id?(s(),k(u,{key:0,command:"2"},{default:a(()=>[...e[8]||(e[8]=[v("删除分组",-1)])]),_:1})):b("",!0)]),_:2},1024)]),default:a(()=>[e[9]||(e[9]=i("i",{class:"el-icon-more el-icon--right"},null,-1))]),_:2},1032,["onCommand"])])):b("",!0)])]),_:1},8,["data","current-node-key"])])]),_:1}),n(D,{span:20},{default:a(()=>[n(ge,{bordered:!1,shadow:"never",class:"left-radius-none"},{default:a(()=>[n(R,{class:"action-row mb14"},{default:a(()=>[n(D,{span:18},{default:a(()=>[p((s(),k(j,{type:"primary",onClick:re},{default:a(()=>[...e[10]||(e[10]=[v("新建渠道码",-1)])]),_:1})),[[we,["marketing-channel_code-create"]],[L]])]),_:1}),n(D,{span:6},{default:a(()=>[i("div",je,[n(pe,{class:"mr10",modelValue:f.value.name,"onUpdate:modelValue":e[0]||(e[0]=t=>f.value.name=t),search:"",placeholder:"请输入渠道码名称"},null,8,["modelValue"]),p((s(),k(j,{type:"primary",onClick:ue},{default:a(()=>[...e[11]||(e[11]=[v("搜索",-1)])]),_:1})),[[L]])])]),_:1})]),_:1}),p((s(),k(O,{data:N.value,"highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:a(()=>[n(_,{label:"渠道码",width:"80"},{default:a(t=>[p((s(),m("div",Re,[p(i("img",null,null,512),[[z,t.row.image]])])),[[P]])]),_:1}),n(_,{label:"渠道码名称","min-width":"80"},{default:a(t=>[i("span",null,w(t.row.name),1)]),_:1}),n(_,{label:"总关注数","min-width":"80"},{default:a(t=>[i("span",null,w(t.row.follow),1)]),_:1}),n(_,{label:"昨日新增关注","min-width":"80"},{default:a(t=>[i("span",null,w(t.row.y_follow),1)]),_:1}),n(_,{label:"用户标签","min-width":"80"},{default:a(t=>[(s(!0),m(Ce,null,Ee(t.row.label_name,(g,ke)=>(s(),k(ve,{class:"label-name",key:ke},{default:a(()=>[v(w(g),1)]),_:2},1024))),128))]),_:1}),n(_,{label:"时间","min-width":"80"},{default:a(t=>[t.row.stop===0?(s(),m("span",qe," 永久 ")):b("",!0),t.row.stop===1?(s(),m("span",Oe,[i("div",null,w(t.row.add_time),1),e[12]||(e[12]=i("div",null,"-",-1)),i("div",null,w(t.row.end_time),1)])):b("",!0),t.row.stop===-1?(s(),m("span",He,"已过期")):b("",!0)]),_:1}),n(_,{label:"关联推广员","min-width":"80"},{default:a(t=>[p((s(),m("div",Ze,[p(i("img",null,null,512),[[z,t.row.avatar]])])),[[P]])]),_:1}),n(_,{label:"状态","min-width":"80"},{default:a(t=>[n(fe,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:t.row.status,"onUpdate:modelValue":g=>t.row.status=g,value:t.row.status,disabled:t.row.lottery_status==2,onChange:g=>me(t.row),size:"large","active-text":"开启","inactive-text":"关闭"},null,8,["modelValue","onUpdate:modelValue","value","disabled","onChange"])]),_:1}),n(_,{label:"操作",fixed:"right",width:"170"},{default:a(t=>[p((s(),m("a",{onClick:g=>de(t.row)},[...e[13]||(e[13]=[v("编辑",-1)])],8,Ge)),[[L]]),n(q,{direction:"vertical"}),p((s(),m("a",{onClick:g=>ce(t.row,"删除二维码",t.$index)},[...e[14]||(e[14]=[v("删除",-1)])],8,Je)),[[L]]),n(q,{direction:"vertical"}),n(C,{onCommand:g=>ae(t.row,g),transfer:!0},{dropdown:a(()=>[n(r,null,{default:a(()=>[n(u,{command:"1"},{default:a(()=>[...e[15]||(e[15]=[v("下载",-1)])]),_:1}),n(u,{command:"2"},{default:a(()=>[...e[16]||(e[16]=[v("统计",-1)])]),_:1}),n(u,{command:"3"},{default:a(()=>[...e[17]||(e[17]=[v("用户列表",-1)])]),_:1})]),_:1})]),default:a(()=>[e[18]||(e[18]=i("span",{class:"el-dropdown-link"},[v("更多"),i("i",{class:"el-icon-arrow-down el-icon--right"})],-1))]),_:1},8,["onCommand"])]),_:1})]),_:1},8,["data"])),[[be,E.value]]),i("div",Ke,[F.value?(s(),k(H,{key:0,total:F.value,page:f.value.page,"onUpdate:page":e[1]||(e[1]=t=>f.value.page=t),limit:f.value.limit,"onUpdate:limit":e[2]||(e[2]=t=>f.value.limit=t),onPagination:S},null,8,["total","page","limit"])):b("",!0)])]),_:1})]),_:1})]),_:1}),n(he,{modelValue:$.value,"onUpdate:modelValue":e[5]||(e[5]=t=>$.value=t),title:"渠道码用户列表","close-on-click-modal":!1,width:"900px"},{default:a(()=>[n(O,{data:M.value,"empty-text":"暂无数据","highlight-current-row":"","max-height":"400"},{default:a(()=>[n(_,{label:"UID","min-width":"120"},{default:a(t=>[i("span",null,w(t.row.uid),1)]),_:1}),n(_,{label:"用户头像","min-width":"120"},{default:a(t=>[p((s(),m("div",We,[p(i("img",null,null,512),[[z,t.row.avatar]])])),[[P]])]),_:1}),n(_,{label:"用户昵称","min-width":"120"},{default:a(t=>[i("span",null,w(t.row.nickname),1)]),_:1})]),_:1},8,["data"]),i("div",Xe,[A.value?(s(),k(H,{key:0,total:A.value,page:y.value.page,"onUpdate:page":e[3]||(e[3]=t=>y.value.page=t),limit:y.value.limit,"onUpdate:limit":e[4]||(e[4]=t=>y.value.limit=t),onPagination:Q},null,8,["total","page","limit"])):b("",!0)])]),_:1},8,["modelValue"])])}}}),dt=Ve(Ye,[["__scopeId","data-v-f5d7c977"]]);export{dt as default}; diff --git a/backend/public/admin/system_static/channelCodeIndex-GXsB5Bax.css b/backend/public/admin/system_static/channelCodeIndex-GXsB5Bax.css new file mode 100644 index 000000000..7815fc963 --- /dev/null +++ b/backend/public/admin/system_static/channelCodeIndex-GXsB5Bax.css @@ -0,0 +1 @@ +.showOn[data-v-f5d7c977]{color:#2d8cf0;background:#f0faff;z-index:2}.tabBox_img[data-v-f5d7c977]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-f5d7c977]{width:100%;height:100%}.modelBox[data-v-f5d7c977] .ivu-table-header{width:100%!important}.label-name[data-v-f5d7c977]{margin:2px}.trees-coadd[data-v-f5d7c977]{width:100%;height:385px}.trees-coadd .scollhide[data-v-f5d7c977]{width:100%;height:100%;overflow-x:hidden;overflow-y:scroll}.scollhide[data-v-f5d7c977]::-webkit-scrollbar{display:none}[data-v-f5d7c977] .ivu-menu-vertical .ivu-menu-item-group-title{display:none}[data-v-f5d7c977] .ivu-menu-vertical.ivu-menu-light:after{display:none}.left-wrapper[data-v-f5d7c977]{height:904px;background:#fff;border-right:1px solid #f2f2f2}.menu-item[data-v-f5d7c977]{z-index:50;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;word-break:break-all}.menu-item .icon-box[data-v-f5d7c977]{z-index:3;position:absolute;right:20px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);display:none}.menu-item:hover .icon-box[data-v-f5d7c977]{display:block}.menu-item .right-menu[data-v-f5d7c977]{z-index:10;position:absolute;right:-106px;top:-11px;width:auto;min-width:121px} diff --git a/backend/public/admin/system_static/chat_list-BXP92vqi.css b/backend/public/admin/system_static/chat_list-BXP92vqi.css new file mode 100644 index 000000000..ffc9dc652 --- /dev/null +++ b/backend/public/admin/system_static/chat_list-BXP92vqi.css @@ -0,0 +1 @@ +html,body{font-size:50px}.chat-list[data-v-d18d5f13]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;padding-bottom:.15rem;background:#fff}.chat-list .head-box .hd[data-v-d18d5f13]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;height:1rem;padding:0 .3rem;background:-webkit-gradient(linear,left top,right top,from(#3875ea),to(#1890fc));background:linear-gradient(90deg,#3875ea,#1890fc)}.chat-list .head-box .hd .left-wrappers[data-v-d18d5f13]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#fff;font-size:.26rem}.chat-list .head-box .hd .left-wrappers img[data-v-d18d5f13]{width:.58rem;height:.58rem;border-radius:50%;background:#eef1f6;-o-object-fit:cover;object-fit:cover}.chat-list .head-box .hd .left-wrappers .info[data-v-d18d5f13]{margin-left:.12rem}.chat-list .head-box .hd .left-wrappers .info .status[data-v-d18d5f13]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:.2rem}.chat-list .head-box .hd .left-wrappers .info .status .doc[data-v-d18d5f13]{width:.14rem;height:.14rem;margin-right:.1rem;background-color:#27f2cb;border-radius:50%;margin-top:.04rem}.chat-list .head-box .hd .left-wrappers .info .status .doc.off[data-v-d18d5f13]{background:#919191}.chat-list .head-box .hd .left-wrappers .down-wrapper[data-v-d18d5f13]{z-index:50;position:absolute;left:0;bottom:-1.9rem;width:2.14rem;background:#434343;border-radius:.1rem}.chat-list .head-box .hd .left-wrappers .down-wrapper .item[data-v-d18d5f13]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:.8rem;padding-left:.3rem;border-bottom:1px solid rgba(240,241,242,.16);font-size:.28rem}.chat-list .head-box .hd .left-wrappers .down-wrapper .item[data-v-d18d5f13]:last-child{border-bottom:none}.chat-list .head-box .hd .left-wrappers .down-wrapper .item .dot[data-v-d18d5f13]{width:.12rem;height:.12rem;margin-right:.16rem;border-radius:50%;background:-webkit-gradient(linear,left top,left bottom,from(#bcbcbc),to(#919191));background:linear-gradient(180deg,#bcbcbc,#919191)}.chat-list .head-box .hd .left-wrappers .down-wrapper .item .dot.green[data-v-d18d5f13]{background:linear-gradient(143deg,#27f2cb,#14e3b4)}.chat-list .head-box .hd .left-wrappers .down-wrapper .item .iconfont[data-v-d18d5f13]{margin-left:.36rem;color:#b9b9b9;font-size:.18rem}.chat-list .head-box .hd .right-wrapper[data-v-d18d5f13]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#fff;font-size:.24rem}.chat-list .head-box .search-box[data-v-d18d5f13]{padding:0 .3rem .2rem;border-bottom:1px solid #eceff8}.chat-list .head-box .search-box[data-v-d18d5f13] .el-input__wrapper{background:#f5f6f9;border-radius:.39rem;-webkit-box-shadow:none;box-shadow:none}.chat-list .head-box .search-box[data-v-d18d5f13] .el-input__inner{height:.68rem;font-size:.28rem;text-align:center}.chat-list .head-box .tab-box[data-v-d18d5f13]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:.2rem 0}.chat-list .head-box .tab-box .tab-item[data-v-d18d5f13]{-webkit-box-flex:1;-ms-flex:1;flex:1;height:100%;line-height:.6rem;text-align:center;font-size:.3rem}.chat-list .head-box .tab-box .tab-item.on[data-v-d18d5f13]{color:#3875ea}.chat-list .head-box .tab-box .tab-item[data-v-d18d5f13]:first-child{border-right:1px solid #ddd}.chat-list .list-box[data-v-d18d5f13]{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:hidden}.chat-list .list-box .list-scroll[data-v-d18d5f13]{height:100%;overflow-y:auto}.chat-list .list-box .item[data-v-d18d5f13]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:.2rem .3rem}.chat-list .list-box .item+.item[data-v-d18d5f13]{border-top:1px solid #f2f3f7}.chat-list .list-box .item .left-wrappers[data-v-d18d5f13]{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.chat-list .list-box .item .left-wrappers .img-box[data-v-d18d5f13]{-webkit-box-flex:0;-ms-flex:none;flex:none;width:.9rem;height:.9rem;position:relative;background:#eef1f6;border-radius:50%}.chat-list .list-box .item .left-wrappers .online[data-v-d18d5f13]{position:absolute;right:0;bottom:.02rem;width:.16rem;height:.16rem;background:linear-gradient(143deg,#bcbcbc,#919191);border-radius:50%;border:1px solid #ffffff;-webkit-box-sizing:border-box;box-sizing:border-box}.chat-list .list-box .item .left-wrappers .online.on[data-v-d18d5f13]{background:linear-gradient(143deg,#27f2cb,#14e3b4)}.chat-list .list-box .item .left-wrappers img[data-v-d18d5f13]{display:block;width:.9rem;height:.9rem;border-radius:50%;-o-object-fit:cover;object-fit:cover}.chat-list .list-box .item .left-wrappers .info[data-v-d18d5f13]{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:0;margin-left:.2rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.chat-list .list-box .item .left-wrappers .info .title[data-v-d18d5f13]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-width:0}.chat-list .list-box .item .left-wrappers .info .title .line1[data-v-d18d5f13]{min-width:0}.chat-list .list-box .item .left-wrappers .info .title .label[data-v-d18d5f13]{-ms-flex-negative:0;flex-shrink:0;white-space:nowrap;margin-left:.12rem;font-size:.2rem;padding:.03rem .1rem;background:#3875ea24;color:#3875ea;border-radius:.04rem}.chat-list .list-box .item .left-wrappers .info .title .label.h5[data-v-d18d5f13]{background:#ffa2002e;color:#d08800}.chat-list .list-box .item .left-wrappers .info .title .label.wx[data-v-d18d5f13]{background:#00ba6424;color:#00a219}.chat-list .list-box .item .left-wrappers .info .title .label.pc[data-v-d18d5f13]{background:#8540e324;color:#820adb}.chat-list .list-box .item .left-wrappers .info .msg[data-v-d18d5f13]{margin-top:.08rem;font-size:.24rem;color:#9f9f9f}.chat-list .list-box .item .right-wrapper[data-v-d18d5f13]{-webkit-box-flex:0;-ms-flex:none;flex:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;margin-left:.16rem;color:#9f9f9f;font-size:.22rem}.chat-list .list-box .item .right-wrapper .num[data-v-d18d5f13]{display:inline-block;min-width:.32rem;margin-top:.1rem;padding:0 .08rem;background-color:#f74c31;color:#fff;border-radius:.16rem;font-size:.2rem;line-height:.32rem;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box} diff --git a/backend/public/admin/system_static/chat_list-D23HiL_U.js b/backend/public/admin/system_static/chat_list-D23HiL_U.js new file mode 100644 index 000000000..8586919f1 --- /dev/null +++ b/backend/public/admin/system_static/chat_list-D23HiL_U.js @@ -0,0 +1 @@ +import{l as c,a as R,ao as W,b as G,y as n,z as a,A as o,s as v,a0 as p,a1 as S,ab as Q,$ as x,H as u,F as V,D,j as X,B as Z,W as ee,u as N,ad as se,k as te,a7 as H}from"./element-plus-C_ZDq0cz.js";import{_ as oe}from"./notice-RG9GT7UO.js";import{_ as ne,a as ae,S as le,g as M,h as ie}from"./index-DHL7RTL2.js";import{S as O}from"./socket-DARqh6Ia.js";import{record as re}from"./api-F07lxUgi.js";import{s as ue,e as ce}from"./empty-9253BCs-.js";import{u as de}from"./store-Uf3gwVpr.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const ve={class:"chat-list"},_e={class:"head-box"},fe={class:"hd"},pe={class:"left-wrappers"},me={class:"status"},ge={class:"down-wrapper"},he={key:0,class:"iconfont iconduihao"},ke={key:0,class:"iconfont iconduihao"},ye={class:"tab-box"},be=["onClick"],Se={class:"search-box"},we={key:0,class:"list-box"},Ce=["onClick"],xe={class:"left-wrappers"},Le={class:"img-box"},Be={class:"info"},$e={class:"title"},Ee={class:"line1"},Ie={key:0,class:"label"},Ve={key:1,class:"label h5"},De={key:2,class:"label wx"},Ne={key:3,class:"label pc"},He={key:0,class:"msg line1"},Me={key:1,class:"msg"},Oe={key:2,class:"msg"},Te={key:3,class:"msg"},ze={key:4,class:"msg"},Pe={class:"right-wrapper"},Ue={class:"time"},Ye={key:0,class:"num"},je=Object.assign({name:"chat_list.vue"},{__name:"chat_list",setup(Ae){const T=new Audio(oe),L=ie(),z=de();ae().isMobile||L.replace(le.routePre+"/kefu/pc_list");const m=c(!1),r=c([]),h=c(1),B=c(15),k=c(!0),w=c(""),_=c({}),y=c(!1),d=c(0),P=c([{key:0,title:"会话列表"},{key:1,title:"会话结束"}]),$=c(JSON.parse(sessionStorage.getItem("wsLogin")));function U(t){if(!t)return"";const e=H.unix(t),l=H();return e.isSame(l,"day")?e.format("HH:mm"):e.isSame(l,"year")?e.format("M月D日"):e.format("YYYY年M月D日")}Promise.all([A(),b()]),R(()=>{window.addEventListener("beforeunload",Y),$.value=JSON.parse(sessionStorage.getItem("wsLogin"));let t=M("kefu_token");O.then(e=>{!$.value&&t&&e.send({type:"kefu_login",data:M("kefu_token")}),e.$on("transfer",l=>{if(l.recored.id&&d.value===0){let f=!1;for(let i=0;i{if(l.num>0&&T.play(),l.recored.id){let f=!1;r.value.forEach((i,s,g)=>{if(l.recored.id==i.id&&(f=!0,d.value===0)){let C=l.recored;g.splice(s,1),g.unshift(C)}}),!f&&d.value===0&&r.value.unshift(l.recored),d.value===1&&W.info({title:l.recored.is_tourist==1?"游客发来消息啦!":"用户发来消息啦!"})}}),e.$on("success",l=>{sessionStorage.setItem("wsLogin",!0)})})});function Y(t){sessionStorage.setItem("wsLogin",!1)}G(()=>{});function E(t){t.target.style.visibility="hidden"}function j(t){d.value!=t.key&&(d.value=t.key,h.value=1,r.value=[],k.value=!0,m.value=!1,b())}function I(t){_.value.online=t,y.value=!1,O.then(e=>{e.send({type:"online",data:{online:t}})})}function A(){ue().then(t=>{_.value=t.data,window.document.title=`${t.data.site_name} - 消息列表`})}function b(){!k.value||m.value||(m.value=!0,re({nickname:w.value,page:h.value,limit:B.value,is_end:d.value}).then(t=>{m.value=!1,k.value=t.data.length>=B.value,r.value=r.value.concat(t.data),h.value++}).catch(()=>{m.value=!1}))}function K(){se({title:"退出登录确认",message:"您确定退出登录当前账户吗?打开的标签页和个人设置将会保存。",showCancelButton:!0,cancelButtonText:"取消",confirmButtonText:"确定",iconClass:"el-icon-warning",confirmButtonClass:"btn-custom-cancel"}).then(()=>{z.logoutKefu({confirm:!1})}).catch(()=>{})}function F(t){h.value=1,r.value=[],k.value=!0,m.value=!1,b()}function J(t){L.push({path:"mobile_chat",query:{toUid:t.to_uid,nickname:t.nickname,is_tourist:t.is_tourist==1?1:0}})}function q(t){const e=t.target;e.scrollTop+e.clientHeight>=e.scrollHeight-10&&b()}return(t,e)=>{const l=te("el-input"),f=N("lazy"),i=N("db-click");return n(),a("div",ve,[o("div",_e,[o("div",fe,[o("div",pe,[v(o("img",{onError:E},null,544),[[f,_.value.avatar]]),v((n(),a("div",{class:"info",onClick:e[0]||(e[0]=s=>y.value=!y.value)},[o("div",null,p(_.value.nickname),1),o("div",me,[o("span",{class:S(["doc",{off:!_.value.online}])},null,2),o("span",null,p(_.value.online?"在线":"离线"),1)])])),[[i]]),v(o("div",ge,[v((n(),a("div",{class:"item",onClick:e[1]||(e[1]=s=>I(1))},[e[4]||(e[4]=o("span",{class:"dot green"},null,-1)),e[5]||(e[5]=x("在线 ",-1)),_.value.online?(n(),a("span",he)):u("",!0)])),[[i]]),v((n(),a("div",{class:"item",onClick:e[2]||(e[2]=s=>I(0))},[e[6]||(e[6]=o("span",{class:"dot"},null,-1)),e[7]||(e[7]=x("离线 ",-1)),_.value.online?u("",!0):(n(),a("span",ke))])),[[i]])],512),[[Q,y.value]])]),v((n(),a("div",{class:"right-wrapper",onClick:K},[...e[8]||(e[8]=[o("div",{class:"icon-box"},[o("span",{class:"iconfont icontuichu"})],-1),o("div",{style:{"margin-left":"5px"}},"退出登录",-1)])])),[[i]])]),o("div",ye,[(n(!0),a(V,null,D(P.value,(s,g)=>v((n(),a("div",{class:S(["tab-item",{on:d.value==s.key}]),key:g,onClick:C=>j(s)},[x(p(s.title),1)],10,be)),[[i]])),128))]),o("div",Se,[X(l,{modelValue:w.value,"onUpdate:modelValue":e[3]||(e[3]=s=>w.value=s),placeholder:"搜索用户名称",onChange:F},null,8,["modelValue"])])]),r.value.length>0?(n(),a("div",we,[o("div",{class:"list-scroll",onScroll:q},[(n(!0),a(V,null,D(r.value,(s,g)=>v((n(),a("div",{class:"item",key:g,onClick:C=>J(s)},[o("div",xe,[o("div",Le,[v(o("img",{onError:E},null,544),[[f,s.wx_avatar||s.avatar]]),o("div",{class:S(["online",{on:s.online}])},null,2)]),o("div",Be,[o("div",$e,[o("span",Ee,p(s.nickname),1),o("span",{class:S(["label source",s.is_tourist==1?"tourist":"user-tag"])},p(s.is_tourist==1?"游客":"用户"),3),s.type==2?(n(),a("span",Ie,"小程序")):u("",!0),s.type==3?(n(),a("span",Ve,"H5")):u("",!0),s.type==1?(n(),a("span",De,"公众号")):u("",!0),s.type==0?(n(),a("span",Ne,"PC端")):u("",!0)]),s.message_type==1?(n(),a("div",He,p(s.message),1)):u("",!0),s.message_type==2?(n(),a("div",Me,"[表情]")):u("",!0),s.message_type==3?(n(),a("div",Oe,"[图片]")):u("",!0),s.message_type==5?(n(),a("div",Te,"[商品]")):u("",!0),s.message_type==6?(n(),a("div",ze,"[订单]")):u("",!0)])]),o("div",Pe,[o("div",Ue,p(U(s.update_time)),1),d.value===0&&s.mssage_num>0?(n(),a("span",Ye,p(s.mssage_num),1)):u("",!0)])],8,Ce)),[[i]])),128))],32)])):(n(),Z(ee(ce),{key:1,status:"3",msg:d.value?"暂无结束会话":"暂无会话"},null,8,["msg"]))])}}}),es=ne(je,[["__scopeId","data-v-d18d5f13"]]);export{es as default}; diff --git a/backend/public/admin/system_static/classic-DBkTXhBw.js b/backend/public/admin/system_static/classic-DBkTXhBw.js new file mode 100644 index 000000000..ebc12ed69 --- /dev/null +++ b/backend/public/admin/system_static/classic-DBkTXhBw.js @@ -0,0 +1 @@ +import{k as o,y as a,B as s,C as r,j as e,A as m,H as l,p}from"./element-plus-C_ZDq0cz.js";import{A as _}from"./aside-Ct0KePfj.js";import{_ as f,T as u}from"./header-GEaJ1_Kn.js";import d from"./main-D8Bhuck4.js";import{bk as g}from"./index-DHL7RTL2.js";import"./screenfull-BDHcr3-M.js";import"./icon-C8INUNkX.js";import"./keepAliveNames-DXzO5c1g.js";import"./system-C_6vcZAB.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const h={class:"flex-center layout-backtop"},H=Object.assign({name:"layoutClassic"},{__name:"classic",setup(k){const c=g(),n=p(()=>c.themeConfig);return(C,b)=>{const t=o("el-container"),i=o("el-backtop");return a(),s(t,{class:"layout-container flex-center"},{default:r(()=>[e(f),e(t,{class:"layout-mian-height-50"},{default:r(()=>[e(_),m("div",h,[n.value.isTagsview?(a(),s(u,{key:0})):l("",!0),e(d)])]),_:1}),e(i,{target:".layout-backtop .el-main .el-scrollbar__wrap"})]),_:1})}}});export{H as default}; diff --git a/backend/public/admin/system_static/cms-BakSzEoF.js b/backend/public/admin/system_static/cms-BakSzEoF.js new file mode 100644 index 000000000..d0e138959 --- /dev/null +++ b/backend/public/admin/system_static/cms-BakSzEoF.js @@ -0,0 +1 @@ +import{w as r}from"./index-DHL7RTL2.js";function c(t){return r({url:"cms/cms",method:"get",params:t})}function o(t){return r({url:"cms/cms",method:"post",data:t})}function u(t){return r({url:`cms/cms/${t}`,method:"get"})}function i(){return r({url:"cms/category/create",method:"GET"})}function n(t){return r({url:"cms/category",method:"GET",params:t})}function a(){return r({url:"cms/category_tree_list",method:"GET"})}function m(t){return r({url:`cms/category/${t}/edit`,method:"GET"})}function d(t){return r({url:`cms/category/set_status/${t.id}/${t.status}`,method:"put"})}function p(t,e){return r({url:`cms/cms/relation/${e}`,method:"put",data:t})}export{n as a,i as b,c,m as d,a as e,u as f,o as g,p as r,d as s}; diff --git a/backend/public/admin/system_static/codeStatistic-Ct6__wKR.js b/backend/public/admin/system_static/codeStatistic-Ct6__wKR.js new file mode 100644 index 000000000..e15bb04cd --- /dev/null +++ b/backend/public/admin/system_static/codeStatistic-Ct6__wKR.js @@ -0,0 +1 @@ +import{s as C,y as v,z as L,j as f,W as _,B as x,H as b,C as V,l as n,u as N,k as g,A as w}from"./element-plus-C_ZDq0cz.js";import{_ as T,S as j,b as I}from"./index-DHL7RTL2.js";import{c as P}from"./cards-kFTwJ5CA.js";import{_ as U}from"./index-K7mJi7Sh.js";import{wechatQrcodeStatistic as Q}from"./api-DA9KG23L.js";import{f as D}from"./validate-a11VBqc7.js";import"./echarts-CylxjQLW.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./echarts-C6m23LPs.js";const $={class:"table-head"},q=Object.assign({name:"index"},{__name:"codeStatistic",setup(z){const k=I(),S=j.routePre,a=n([]),A={height:"400px"},c=n({time:""}),d=n([{col:6,count:0,name:"昨日新增关注",className:"md-rose"},{col:6,count:0,name:"昨日参与",className:"ios-speedometer-outline"},{col:6,count:0,name:"总关注",className:"ios-speedometer-outline"},{col:6,count:0,name:"参与总人数",className:"md-rose"}]),m=n({}),u=n(!1),B=k.query.id,y=new Date,r=new Date;r.setTime(r.setTime(new Date(new Date().getFullYear(),new Date().getMonth(),new Date().getDate()-29))),a.value=[r,y],c.value.time=D(r,"yyyy/MM/dd")+"-"+D(y,"yyyy/MM/dd"),h();function h(){Q(B,c.value).then(e=>{let t=["y_follow","y_scan","all_follow","all_scan"];d.value.map((l,s)=>{l.count=e.data[t[s]]}),M(e.data.trend.series,e.data.trend.xAxis)})}function F(e){a.value=e,c.value.time=a.value?a.value.join("-"):"",h()}function M(e,t){u.value=!0;let l=e.map(o=>o.name),s=t,p=["#5B8FF9","#5AD8A6","#FFAB2B","#5D7092"],i=[];e.map((o,Y)=>{i.push({name:o.name,type:"line",data:o.data,itemStyle:{normal:{color:p[Y]}},smooth:0})}),m.value={tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},legend:{x:"center",data:l},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},toolbox:{feature:{saveAsImage:{}}},xAxis:{type:"category",boundaryGap:!0,axisLabel:{interval:0,rotate:40,textStyle:{color:"#000000"}},data:s},yAxis:{type:"value",axisLine:{show:!1},axisTick:{show:!1},axisLabel:{textStyle:{color:"#7F8B9C"}},splitLine:{show:!0,lineStyle:{color:"#F5F7F9"}}},series:i},u.value=!1}return(e,t)=>{const l=g("pages-header"),s=g("date-range-picker"),p=g("el-card"),i=N("loading");return C((v(),L("div",null,[f(l,{title:e.$route.meta.title,backUrl:_(S)+"/marketing/channel_code/channelCodeIndex"},null,8,["title","backUrl"]),d.value.length>=0?(v(),x(_(P),{key:0,class:"mt16",cardLists:d.value},null,8,["cardLists"])):b("",!0),f(p,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:V(()=>[w("div",$,[t[1]||(t[1]=w("h3",null,"关注趋势",-1)),f(s,{editable:!1,clearable:"",onChange:F,modelValue:a.value,"onUpdate:modelValue":t[0]||(t[0]=o=>a.value=o),format:"YYYY/MM/DD","value-format":"YYYY/MM/DD","range-separator":"-",class:"mr20"},null,8,["modelValue"])]),m.value?(v(),x(_(U),{key:0,"option-data":m.value,styles:A,height:"100%",width:"100%"},null,8,["option-data"])):b("",!0)]),_:1})])),[[i,u.value]])}}}),te=T(q,[["__scopeId","data-v-5b73d27a"]]);export{te as default}; diff --git a/backend/public/admin/system_static/codeStatistic-DzNFYkq-.css b/backend/public/admin/system_static/codeStatistic-DzNFYkq-.css new file mode 100644 index 000000000..1f33a0e85 --- /dev/null +++ b/backend/public/admin/system_static/codeStatistic-DzNFYkq-.css @@ -0,0 +1 @@ +.cl[data-v-5b73d27a]{margin-right:20px}.code-row-bg[data-v-5b73d27a]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.code-row-bg .ivu-mt[data-v-5b73d27a]{width:100%;margin:0 5px}.ech-box[data-v-5b73d27a]{margin-top:10px}.change-style[data-v-5b73d27a]{border:1px solid #ccc;border-radius:15px;padding:0 10px;cursor:pointer}.table-head[data-v-5b73d27a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.return[data-v-5b73d27a]{margin-bottom:6px}.i-layout-page-header[data-v-5b73d27a]{padding-left:13px} diff --git a/backend/public/admin/system_static/codicon-DCmgc-ay.ttf b/backend/public/admin/system_static/codicon-DCmgc-ay.ttf new file mode 100644 index 000000000..27ee4c68c Binary files /dev/null and b/backend/public/admin/system_static/codicon-DCmgc-ay.ttf differ diff --git a/backend/public/admin/system_static/columns-hJG3dco0.css b/backend/public/admin/system_static/columns-hJG3dco0.css new file mode 100644 index 000000000..6e2f9a30f --- /dev/null +++ b/backend/public/admin/system_static/columns-hJG3dco0.css @@ -0,0 +1 @@ +.layout-columns-aside[data-v-7e60b3ce]{width:70px;height:100%;background:var(--prev-bg-columnsMenuBar);-webkit-box-shadow:0 1px 4px rgba(0,21,41,.08);box-shadow:0 1px 4px #00152914;border-right:1px solid var(--prev-border-color-lighter)}.layout-columns-aside ul[data-v-7e60b3ce]{position:relative}.layout-columns-aside ul li[data-v-7e60b3ce]{color:var(--prev-bg-columnsMenuBarColor);width:100%;height:50px;text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;cursor:pointer;position:relative;z-index:1}.layout-columns-aside ul li .columns-vertical[data-v-7e60b3ce]{margin:auto}.layout-columns-aside ul li .columns-vertical[data-v-7e60b3ce] .menu-icon{margin-right:0}.layout-columns-aside ul li .columns-vertical .columns-vertical-title[data-v-7e60b3ce]{padding-top:1px}.layout-columns-aside ul li .columns-horizontal[data-v-7e60b3ce]{display:-webkit-box;display:-ms-flexbox;display:flex;height:50px;width:100%;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 5px}.layout-columns-aside ul li .columns-horizontal i[data-v-7e60b3ce]{margin-right:3px}.layout-columns-aside ul li .columns-horizontal a[data-v-7e60b3ce]{display:-webkit-box;display:-ms-flexbox;display:flex}.layout-columns-aside ul li .columns-horizontal a .columns-horizontal-title[data-v-7e60b3ce]{padding-top:1px}.layout-columns-aside ul li a[data-v-7e60b3ce]{text-decoration:none;color:var(--prev-bg-columnsMenuBarColor)}.layout-columns-aside ul .layout-columns[data-v-7e60b3ce]{-webkit-transition:.3s ease-in-out;transition:.3s ease-in-out}.layout-columns-aside ul .layout-columns-active[data-v-7e60b3ce],.layout-columns-aside ul .layout-columns-active a[data-v-7e60b3ce]{color:var(--prev-bg-columnsMenuActiveColor);-webkit-transition:.3s ease-in-out;transition:.3s ease-in-out}.layout-columns-aside ul .columns-round[data-v-7e60b3ce],.layout-columns-aside ul .columns-card[data-v-7e60b3ce]{background:var(--prev-color-primary);position:absolute;left:50%;top:2px;height:50px;width:65px;-webkit-transform:translateX(-50%);transform:translate(-50%);z-index:0;-webkit-transition:.3s ease-in-out;transition:.3s ease-in-out;border-radius:5px}.layout-columns-aside ul .columns-card[data-v-7e60b3ce]{top:0;height:50px;width:100%;border-radius:0} diff --git a/backend/public/admin/system_static/columns-vNuT95U_.js b/backend/public/admin/system_static/columns-vNuT95U_.js new file mode 100644 index 000000000..ee610d7c2 --- /dev/null +++ b/backend/public/admin/system_static/columns-vNuT95U_.js @@ -0,0 +1 @@ +import{b as P,a as U,f as H,k,y as a,z as f,j as i,C as y,A as u,F as q,D as G,a1 as g,a0 as O,l as d,n as J,p as $,B as S,H as T}from"./element-plus-C_ZDq0cz.js";import{A as Q}from"./aside-Ct0KePfj.js";import{L as W,M as w,_ as j}from"./header-GEaJ1_Kn.js";import X from"./main-D8Bhuck4.js";import{_ as Y,b as Z,h as ee,aK as te,aL as se,bk as D,A as r,bN as I,bO as ne,bD as oe}from"./index-DHL7RTL2.js";import"./screenfull-BDHcr3-M.js";import"./icon-C8INUNkX.js";import"./keepAliveNames-DXzO5c1g.js";import"./system-C_6vcZAB.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const le={class:"layout-columns-aside"},ie=["onClick","title"],ae={class:"font12"},re=["href"],ue={class:"font12"},ce=Object.assign({name:"layoutColumnsAside"},{__name:"columnsAside",setup(V){const c=Z(),m=ee(),h=te(),b=se(),o=D(),l=d([]),p=d(0),A=d(0),R=d(null),v=d(null),x=$(()=>o.themeConfig.columnsAsideStyle),_=$(()=>o.themeConfig.columnsAsideLayout);P(()=>{r.off("routesListChange",M)}),U(()=>{r.on("routesListChange",M),N()});function M(){N()}function z(e){if(e===void 0)return!1;const t=R.value;if(!t||!t[e])return!1;p.value=e,v.value.style.top=`${t[e].offsetTop+A.value}px`}function E(e){let{path:t,redirect:n}=e;if(e.children&&e.children.length){const s=oe(e.children);m.push(s&&s.path||t)}else m.push(t);!e.children||e.children.length<=1?o.themeConfig.isCollapse=!0:e.children.length>1&&(o.themeConfig.isCollapse=!1)}function L(e){J(()=>{z(e)})}function N(){if(b.routesList.length<=0)return!1;l.value=B(b.routesList);const e=F(I(c,l.value));if(!e.children)return r.emit("setSendColumnsChildren",[]),h.setChildMenuList([]),o.themeConfig.isCollapse=!0,!1;r.emit("oneCatName",e.item[0].title),L(e.item[0].k),e.children.length>0?o.themeConfig.isCollapse=!1:o.themeConfig.isCollapse=!0,r.emit("setSendColumnsChildren",(e==null?void 0:e.children)||[]),h.setChildMenuList((e==null?void 0:e.children)||[])}function F(e){let t={};return l.value.map((n,s)=>{n.k=s,n.path===e&&(t.item=[{...n}],n.children&&(t.children=n.children))}),t}function B(e){return e.filter(t=>t.path).map(t=>(t=Object.assign({},t),t.children&&(t.children=B(t.children)),t))}function K(e){const t=l.value.find(n=>n.path===e);if(!t)return!1;setTimeout(()=>{L(t.k)},0)}return H(()=>o.themeConfig.columnsAsideStyle,e=>{e==="columnsRound"?A.value=3:A.value=0}),H(()=>c.fullPath,()=>{var C;const e=c;K(e.path);let t=I(e,l.value),n=(C=ne(l.value,t)[0])==null?void 0:C.children;const s=F(t);s.item&&(L(s.item[0].k),r.emit("oneCatName",s.item[0].title)),h.setChildMenuList(n||[])}),(e,t)=>{const n=k("el-scrollbar");return a(),f("div",le,[i(n,null,{default:y(()=>[i(W),u("ul",null,[(a(!0),f(q,null,G(l.value,(s,C)=>(a(),f("li",{key:C,onClick:de=>E(s),ref_for:!0,ref_key:"columnsAsideOffsetTopRefs",ref:R,class:g(["layout-columns",{"layout-columns-active":s.k===p.value}]),title:e.$t(s.title)},[!s.isLink||s.isLink&&s.isIframe?(a(),f("div",{key:0,class:g(_.value)},[i(w,{icon:s.icon},null,8,["icon"]),u("div",ae,O(e.$t(s.title)&&e.$t(s.title).length>=4?e.$t(s.title).substr(0,_.value==="columns-vertical"?4:3):e.$t(s.title)),1)],2)):(a(),f("div",{key:1,class:g(_.value)},[u("a",{href:s.isLink,target:"_blank"},[i(w,{icon:s.icon},null,8,["icon"]),u("div",ue,O(e.$t(s.title)&&e.$t(s.title).length>=4?e.$t(s.title).substr(0,_.value==="columns-vertical"?4:3):e.$t(s.title)),1)],8,re)],2))],10,ie))),128)),u("div",{ref_key:"columnsAsideActiveRef",ref:v,class:g(x.value)},null,2)])]),_:1})])}}}),me=Y(ce,[["__scopeId","data-v-7e60b3ce"]]),fe={class:"layout-columns-warp"},Re=Object.assign({name:"layoutColumns"},{__name:"columns",setup(V){const c=D(),m=$(()=>c.themeConfig.isFixedHeader);return(h,b)=>{const o=k("el-scrollbar"),l=k("el-container"),p=k("el-backtop");return a(),S(l,{class:"layout-container"},{default:y(()=>[i(me),u("div",fe,[i(Q),i(l,{class:"flex-center layout-backtop"},{default:y(()=>[m.value?(a(),S(j,{key:0})):T("",!0),i(o,null,{default:y(()=>[m.value?T("",!0):(a(),S(j,{key:0})),i(X)]),_:1})]),_:1})]),i(p,{target:".layout-backtop .el-scrollbar__wrap"})]),_:1})}}});export{Re as default}; diff --git a/backend/public/admin/system_static/config-BqpXIccF.css b/backend/public/admin/system_static/config-BqpXIccF.css new file mode 100644 index 000000000..66f99d493 --- /dev/null +++ b/backend/public/admin/system_static/config-BqpXIccF.css @@ -0,0 +1 @@ +.content_width[data-v-533d0482]{width:414px} diff --git a/backend/public/admin/system_static/config-JfvM_Q2I.js b/backend/public/admin/system_static/config-JfvM_Q2I.js new file mode 100644 index 000000000..765f9f53d --- /dev/null +++ b/backend/public/admin/system_static/config-JfvM_Q2I.js @@ -0,0 +1,4 @@ +import{a as M,Z as u,y as g,z as P,s as k,B as w,C as l,j as n,$ as i,A as a,l as v,r as N,u as C,k as s}from"./element-plus-C_ZDq0cz.js";import{W as j}from"./index-Beo5Mkpq.js";import{c as D,d as O}from"./app-hJ6HxRad.js";import"./wangeditor-D-KRDJ3T.js";import"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./registerMenus-BIn2m7Us.js";const S={class:"form-actions mt20"},$=Object.assign({name:"kefuConfig"},{__name:"config",setup(T){const _={prompt:"请为商城客服聊天窗口撰写一段展示在右侧的客服说明,介绍服务时间、可咨询的问题范围(订单查询、物流跟踪、退换货等)和留言反馈提示,亲切友好,150字左右。",systemPrompt:`你是一名电商客服运营文案编辑,擅长撰写展示给买家看的客服服务说明。请根据用户要求直接撰写说明正文。 +语言风格:面向买家在线阅读,亲切友好、简洁明了,可适量使用表情符号增加亲和力; +内容范围:围绕客服服务须知展开,覆盖服务时间、可咨询范围(订单、物流、退换货、产品咨询等)、自助查询指引、留言反馈说明即可,不写协议条款与争议解决内容; +输出要求:内容将展示在聊天窗口右侧窄栏,使用简短段落或 - 列表组织,全文控制在 200 字以内;使用 Markdown 格式,重点内容用 **加粗**;直接输出说明正文,不要输出任何解释说明或与正文无关的内容。`},r=v(!1),f=v(!1),o=N({offline_reply:"",first_greeting:"",kf_adv:""}),d=v("");M(()=>{c()});function c(){r.value=!0,D().then(t=>{o.offline_reply=t.data.offline_reply||"",o.first_greeting=t.data.first_greeting||"",o.kf_adv=t.data.kf_adv||"",d.value=o.kf_adv}).catch(t=>{u.error(t.msg)}).finally(()=>{r.value=!1})}function V(t){d.value=t}function x(){f.value=!0,O({offline_reply:o.offline_reply,first_greeting:o.first_greeting,kf_adv:d.value}).then(t=>{u.success(t.msg),c()}).catch(t=>{u.error(t.msg)}).finally(()=>{f.value=!1})}return(t,e)=>{const p=s("el-divider"),y=s("el-input"),b=s("el-button"),A=s("el-card"),B=C("db-click"),E=C("loading");return g(),P("div",null,[k((g(),w(A,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:l(()=>[n(p,{"content-position":"left"},{default:l(()=>[...e[2]||(e[2]=[i("离线自动回复",-1)])]),_:1}),n(y,{modelValue:o.offline_reply,"onUpdate:modelValue":e[0]||(e[0]=m=>o.offline_reply=m),type:"textarea",rows:4,maxlength:"200","show-word-limit":"",placeholder:"请输入客服全部离线时的提示文案"},null,8,["modelValue"]),e[6]||(e[6]=a("div",{class:"tips-info"},"客服全部离线时,用户发起咨询收到的提示文案;留空则显示默认文案",-1)),n(p,{"content-position":"left"},{default:l(()=>[...e[3]||(e[3]=[i("首次自动打招呼",-1)])]),_:1}),n(y,{modelValue:o.first_greeting,"onUpdate:modelValue":e[1]||(e[1]=m=>o.first_greeting=m),type:"textarea",rows:4,maxlength:"200","show-word-limit":"",placeholder:"请输入首次接入时自动发送的欢迎语"},null,8,["modelValue"]),e[7]||(e[7]=a("div",{class:"tips-info"}," 用户首次接入客服会话时,客服自动发送的欢迎语;与「自动回复」中关键词为「欢迎语」的记录同步 ",-1)),n(p,{"content-position":"left"},{default:l(()=>[...e[4]||(e[4]=[i("聊天窗右侧说明",-1)])]),_:1}),n(j,{style:{width:"100%"},content:o.kf_adv,"ai-default-prompt":_.prompt,"ai-default-system-prompt":_.systemPrompt,onEditorContent:V},null,8,["content","ai-default-prompt","ai-default-system-prompt"]),e[8]||(e[8]=a("div",{class:"tips-info"},"展示在客服聊天窗口右侧的说明内容(支持图文富文本),留空则不展示",-1)),a("div",S,[k((g(),w(b,{type:"primary",loading:f.value,onClick:x},{default:l(()=>[...e[5]||(e[5]=[i("保存",-1)])]),_:1},8,["loading"])),[[B]])])]),_:1})),[[E,r.value]])])}}});export{$ as default}; diff --git a/backend/public/admin/system_static/config-yQbilv3l.js b/backend/public/admin/system_static/config-yQbilv3l.js new file mode 100644 index 000000000..35dac873f --- /dev/null +++ b/backend/public/admin/system_static/config-yQbilv3l.js @@ -0,0 +1 @@ +import{a as C,y as n,z as i,j as l,C as a,l as b,k as u,u as h,F as m,D as v,B as c,s as B,$ as D,Z as U}from"./element-plus-C_ZDq0cz.js";import{factorListApi as L,factorUseApi as A}from"./api-CkTOrWll.js";import{_ as E}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const F=Object.assign({name:"lotteryConfig"},{__name:"config",setup(M){const t=b({evaluate:"",pay:"",point:""}),r=b({evaluate:[],pay:[],point:[]});C(()=>{y()});function y(){L().then(s=>{r.value=s.data,t.value=s.data.info})}function g(){A(t.value).then(s=>{U.success(s.msg)})}return(s,o)=>{const V=u("pages-header"),p=u("el-option"),_=u("el-select"),d=u("el-form-item"),k=u("el-button"),w=u("el-form"),j=u("el-card"),x=h("db-click");return n(),i("div",null,[l(V,{ref:"pageHeader",title:s.$route.meta.title},null,8,["title"]),l(j,{bordered:!1,shadow:"never",class:"mt16"},{default:a(()=>[l(w,{model:t.value,"label-width":"100px"},{default:a(()=>[l(d,{label:"积分抽奖:"},{default:a(()=>[l(_,{modelValue:t.value.point,"onUpdate:modelValue":o[0]||(o[0]=e=>t.value.point=e),clearable:"",class:"content_width"},{default:a(()=>[(n(!0),i(m,null,v(r.value.point,(e,f)=>(n(),c(p,{value:e.id,key:e.id,label:e.name},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(d,{label:"支付抽奖:"},{default:a(()=>[l(_,{modelValue:t.value.pay,"onUpdate:modelValue":o[1]||(o[1]=e=>t.value.pay=e),clearable:"",class:"content_width"},{default:a(()=>[(n(!0),i(m,null,v(r.value.pay,(e,f)=>(n(),c(p,{value:e.id,key:e.id,label:e.name},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(d,{label:"评价抽奖:"},{default:a(()=>[l(_,{modelValue:t.value.evaluate,"onUpdate:modelValue":o[2]||(o[2]=e=>t.value.evaluate=e),clearable:"",class:"content_width"},{default:a(()=>[(n(!0),i(m,null,v(r.value.evaluate,(e,f)=>(n(),c(p,{value:e.id,key:e.id,label:e.name},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(d,null,{default:a(()=>[B((n(),c(k,{type:"primary",onClick:g},{default:a(()=>[...o[3]||(o[3]=[D("保存",-1)])]),_:1})),[[x]])]),_:1})]),_:1},8,["model"])]),_:1})])}}}),T=E(F,[["__scopeId","data-v-533d0482"]]);export{T as default}; diff --git a/backend/public/admin/system_static/content--56iX3eK.js b/backend/public/admin/system_static/content--56iX3eK.js new file mode 100644 index 000000000..f19486b0c --- /dev/null +++ b/backend/public/admin/system_static/content--56iX3eK.js @@ -0,0 +1 @@ +import{f as ee,Z as k,k as p,u as B,y as o,z as n,j as a,C as s,s as A,ac as le,W as w,$ as d,A as t,a0 as L,B as P,H as i,ab as te,a1 as ae,l as m,p as V,n as se}from"./element-plus-C_ZDq0cz.js";import{_ as oe,b as ne,a as ie,Q as T}from"./index-DHL7RTL2.js";import{f as re,g as de}from"./printer-ByWczRt9.js";import{l as ue}from"./index-CIbY4f6Z.js";import{u as ve}from"./layout-BstPWRqw.js";import{u as fe}from"./usePrinterAuth-I2ixLXHJ.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./index-C2Zmd2Xm.js";import"./marketing-BAfn8OEa.js";import"./cms-BakSzEoF.js";const pe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgoAAAAaBAMAAAAkpmnUAAAAAXNSR0IArs4c6QAAAA9QTFRFAAAA////////////////j0LeaAAAAAR0Uk5TAECAv6NU3QwAAAB9SURBVFjD7dSxDYAwDETRAzEAUhZAiAFYgeD9Z6JAxESipLvv7l/5CmsLrgqDiEABBRRQQAEFFFBAAQUUUEABhR8UVg3FtFJhkaTiWU2hSpK0OVYqLPc+OlZTOKUXj1elwvHsk1+lwv7so1+lwtztXvWhIL+KaP+h270q6gUS+pJSUmHA9AAAAABJRU5ErkJggg==",me={class:"printer-content-page"},ce={class:"flex justify-between warpper"},be={key:0,class:"link"},_e={class:"select-link"},ye={key:0,class:"notice-field"},ge={class:"ticket-preview"},ke={class:"ticket-content"},Ae={key:0,class:"ticket-header"},we={key:1,class:"delivery btn-line"},Ve={key:2,class:"buyer-remarks btn-line"},xe={key:3},Ue={class:"goods-msg btn-line"},Ce={key:0,class:"flex py-10"},Se={class:"goods-msg pb-10 pt-10"},Re={key:0,class:"flex py-10"},Be={key:4,class:"pay flex flex-col align-end btn-line"},Le={key:0},he={key:1},je={key:2},Ee={key:5,class:"pay flex flex-col align-end btn-line"},Fe={key:0},Qe={key:1,class:"fw-500"},De={key:6,class:"order pt-10 btn-line"},Pe={key:0},Te={key:1},qe={key:2},He={key:3},Me={class:"code"},Ne={key:0,class:"mt-20"},We=Object.assign({name:"PrinterContent"},{__name:"content",setup(ze){const q=ne(),{hasPermission:c}=fe(),H=ve(),M=ie(),N=m(null),x=m(null),h=m(null),g=m(!1),b=m(!1),_=m(!1),U=m(""),l=m({header:1,delivery:1,buyer_remarks:1,goods:[0],freight:1,preferential:1,pay:[0,1],order:[0,1],code:0,code_url:"",show_notice:0,notice_content:""}),C=q.query.id,S=V(()=>M.isMobile),W=V(()=>H.menuCollapse),z=V(()=>S.value?void 0:120),K=V(()=>S.value?"top":"right");C&&J(),ee([()=>l.value.code,()=>l.value.code_url,U],()=>se(()=>Z(j(l.value.code_url))));async function J(){if(c("admin-printer-content-read")){g.value=!0;try{const u=await re(C),{site_url:e,...y}=u.data;U.value=e||"",l.value={...l.value,...y},b.value=!0}catch(u){b.value=!1,k.error(u.msg||"小票配置加载失败")}finally{g.value=!1}}}async function O(){if(!(_.value||g.value||!b.value||!c("admin-printer-content"))){if(l.value.code&&!j(l.value.code_url)){k.warning("请选择有效二维码链接,并配置商城地址");return}_.value=!0;try{const u=await de(C,{...l.value});k.success(u.msg||"保存成功")}catch(u){k.error(u.msg||"小票配置保存失败")}finally{_.value=!1}}}function X(){!b.value||_.value||!c("admin-printer-content")||x.value&&(x.value.modals=!0)}function I(u){c("admin-printer-content")&&(l.value.code_url=u)}function j(u){const e=String(u||"").trim();if(!e)return"";if(/^https?:\/\//i.test(e))try{return new URL(e).hostname?e:""}catch{return""}if(/^[a-z][a-z\d+.-]*:/i.test(e)||e.startsWith("//"))return"";const y=U.value.trim().replace(/\/+$/,"");if(!/^https?:\/\//i.test(y))return"";try{return new URL(y).hostname?y+"/"+e.replace(/^\/+/,""):""}catch{return""}}function Z(u){const e=h.value;if(e&&(e.innerHTML="",!(!u||!l.value.code)))try{new T(e,{text:u,width:128,height:128,colorDark:"#000000",colorLight:"#ffffff",correctLevel:T.CorrectLevel.H})}catch{k.error("二维码链接无法预览")}}return(u,e)=>{const y=p("pages-header"),v=p("el-checkbox"),f=p("el-form-item"),R=p("el-checkbox-group"),E=p("el-button"),Y=p("el-input"),$=p("el-form"),F=p("el-card"),Q=B("auth"),D=B("db-click"),G=B("loading");return o(),n("div",me,[a(y,{ref_key:"pageHeader",ref:N,title:"小票配置",backUrl:u.$routeProStr+"/setting/printer"},null,8,["backUrl"]),a(F,{bordered:!1,shadow:"never",class:"mt16"},{default:s(()=>[A((o(),n("div",ce,[a($,{class:"content-form",model:l.value,"label-width":z.value,"label-position":K.value,disabled:!b.value||_.value||!w(c)("admin-printer-content"),onSubmit:e[11]||(e[11]=le(()=>{},["prevent"]))},{default:s(()=>[a(f,{label:"小票头部:"},{default:s(()=>[a(v,{modelValue:l.value.header,"onUpdate:modelValue":e[0]||(e[0]=r=>l.value.header=r),"true-label":1,"false-label":0},{default:s(()=>[...e[12]||(e[12]=[d("商家名称",-1)])]),_:1},8,["modelValue"])]),_:1}),a(f,{label:"配送信息:"},{default:s(()=>[a(v,{modelValue:l.value.delivery,"onUpdate:modelValue":e[1]||(e[1]=r=>l.value.delivery=r),"true-label":1,"false-label":0},{default:s(()=>[...e[13]||(e[13]=[d("配送信息",-1)])]),_:1},8,["modelValue"])]),_:1}),a(f,{label:"买家备注:"},{default:s(()=>[a(v,{modelValue:l.value.buyer_remarks,"onUpdate:modelValue":e[2]||(e[2]=r=>l.value.buyer_remarks=r),"true-label":1,"false-label":0},{default:s(()=>[...e[14]||(e[14]=[d("买家备注",-1)])]),_:1},8,["modelValue"])]),_:1}),a(f,{label:"商品信息:"},{default:s(()=>[a(R,{modelValue:l.value.goods,"onUpdate:modelValue":e[3]||(e[3]=r=>l.value.goods=r)},{default:s(()=>[a(v,{label:0},{default:s(()=>[...e[15]||(e[15]=[d("商品基础信息",-1)])]),_:1}),a(v,{label:1},{default:s(()=>[...e[16]||(e[16]=[d("规格编码",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),a(f,{label:"运费信息:"},{default:s(()=>[a(v,{modelValue:l.value.freight,"onUpdate:modelValue":e[4]||(e[4]=r=>l.value.freight=r),"true-label":1,"false-label":0},{default:s(()=>[...e[17]||(e[17]=[d("运费",-1)])]),_:1},8,["modelValue"])]),_:1}),a(f,{label:"优惠信息:"},{default:s(()=>[a(v,{modelValue:l.value.preferential,"onUpdate:modelValue":e[5]||(e[5]=r=>l.value.preferential=r),"true-label":1,"false-label":0},{default:s(()=>[...e[18]||(e[18]=[d("优惠总计",-1)])]),_:1},8,["modelValue"])]),_:1}),a(f,{label:"支付信息:"},{default:s(()=>[a(R,{modelValue:l.value.pay,"onUpdate:modelValue":e[6]||(e[6]=r=>l.value.pay=r)},{default:s(()=>[a(v,{label:0},{default:s(()=>[...e[19]||(e[19]=[d("支付方式",-1)])]),_:1}),a(v,{label:1},{default:s(()=>[...e[20]||(e[20]=[d("实收金额",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),a(f,{label:"其他订单信息:"},{default:s(()=>[a(R,{modelValue:l.value.order,"onUpdate:modelValue":e[7]||(e[7]=r=>l.value.order=r)},{default:s(()=>[a(v,{label:0},{default:s(()=>[...e[21]||(e[21]=[d("订单编号",-1)])]),_:1}),a(v,{label:1},{default:s(()=>[...e[22]||(e[22]=[d("下单时间",-1)])]),_:1}),a(v,{label:2},{default:s(()=>[...e[23]||(e[23]=[d("支付时间",-1)])]),_:1}),a(v,{label:3},{default:s(()=>[...e[24]||(e[24]=[d("打印时间",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),a(f,{label:"推广二维码:"},{default:s(()=>[a(v,{modelValue:l.value.code,"onUpdate:modelValue":e[8]||(e[8]=r=>l.value.code=r),"true-label":1,"false-label":0},{default:s(()=>[...e[25]||(e[25]=[d("选择系统链接",-1)])]),_:1},8,["modelValue"]),l.value.code?(o(),n("div",be,[t("div",_e,[d(" 链接:"+L(l.value.code_url)+" ",1),w(c)("admin-printer-content")?A((o(),P(E,{key:0,link:"",type:"primary",disabled:!b.value||_.value,onClick:X},{default:s(()=>[d(L(l.value.code_url?"修改":"选择"),1)]),_:1},8,["disabled"])),[[Q,["admin-printer-content"]],[D]]):i("",!0)])])):i("",!0)]),_:1}),a(f,{label:"底部公告:"},{default:s(()=>[a(v,{modelValue:l.value.show_notice,"onUpdate:modelValue":e[9]||(e[9]=r=>l.value.show_notice=r),"true-label":1,"false-label":0},{default:s(()=>[...e[26]||(e[26]=[d("底部公告",-1)])]),_:1},8,["modelValue"]),l.value.show_notice?(o(),n("div",ye,[a(Y,{modelValue:l.value.notice_content,"onUpdate:modelValue":e[10]||(e[10]=r=>l.value.notice_content=r),maxlength:"80","show-word-limit":"",type:"textarea",placeholder:"请输入公告内容",class:"notice-input"},null,8,["modelValue"])])):i("",!0)]),_:1})]),_:1},8,["model","label-width","label-position","disabled"]),t("div",ge,[e[38]||(e[38]=t("div",{class:"out-line"},null,-1)),t("div",ke,[l.value.header===1?(o(),n("div",Ae,"商家名称")):i("",!0),l.value.delivery===1?(o(),n("div",we,[...e[27]||(e[27]=[t("div",{class:"form-box"},[t("div",{class:"label"},"配送方式:"),t("div",{class:"content"},"商家配送")],-1),t("div",{class:"form-box"},[t("div",{class:"label"},"客户姓名:"),t("div",{class:"content"},"收货人姓名")],-1),t("div",{class:"form-box"},[t("div",{class:"label"},"客户电话:"),t("div",{class:"content"},"13023354455")],-1),t("div",{class:"form-box"},[t("div",{class:"label"},"收货地址:"),t("div",{class:"content"},"上海市浦东新区世界大道25号B座309室")],-1)])])):i("",!0),l.value.buyer_remarks===1?(o(),n("div",Ve,[...e[28]||(e[28]=[t("div",{class:"form-box"},[t("div",{class:"label"},"买家备注:"),t("div",{class:"content"},"请在收货时向商家留言,谢谢!")],-1)])])):i("",!0),l.value.goods.includes(0)?(o(),n("div",xe,[e[35]||(e[35]=t("div",{class:"goods btn-line"},[t("div",{class:"xing"},"*************************商品***********************"),t("div",{class:"flex justify-between"},[t("span",null,"商品"),t("span",null,"单价"),t("span",null,"数量"),t("span",null,"金额")])],-1)),t("div",Ue,[e[30]||(e[30]=t("div",{class:"flex justify-between"},[t("span",null,"商品1"),t("span",null,"100.0"),t("span",null,"2"),t("span",null,"200.0")],-1)),e[31]||(e[31]=t("div",{class:"flex justify-between"},[t("span",null,"(规格1)"),t("span"),t("span"),t("span")],-1)),l.value.goods.includes(1)?(o(),n("div",Ce,[...e[29]||(e[29]=[t("span",null,"规格编码:",-1),t("span",null,"FKXQW4567vw59",-1)])])):i("",!0)]),t("div",Se,[e[33]||(e[33]=t("div",{class:"flex justify-between"},[t("span",null,"商品2"),t("span",null,"100.0"),t("span",null,"2"),t("span",null,"200.0")],-1)),e[34]||(e[34]=t("div",{class:"flex justify-between"},[t("span",null,"(规格2)"),t("span"),t("span"),t("span")],-1)),l.value.goods.includes(1)?(o(),n("div",Re,[...e[32]||(e[32]=[t("span",null,"规格编码:",-1),t("span",null,"FKXQW4567vw60",-1)])])):i("",!0)]),e[36]||(e[36]=t("div",{class:"xing"},"**************************************************",-1)),e[37]||(e[37]=t("div",{class:"pay flex flex-col align-end btn-line"},[t("div",{class:"fw-500"},"合计:400.00元")],-1))])):i("",!0),l.value.freight===1||l.value.preferential===1?(o(),n("div",Be,[l.value.freight===1?(o(),n("div",Le,"运费:+30.00元")):i("",!0),l.value.preferential===1?(o(),n("div",he,"优惠:-80.00元")):i("",!0),l.value.preferential===1?(o(),n("div",je,"抵扣:-20.00元")):i("",!0)])):i("",!0),l.value.pay.length>0?(o(),n("div",Ee,[l.value.pay.includes(0)?(o(),n("div",Fe,"支付方式:微信支付")):i("",!0),l.value.pay.includes(1)?(o(),n("div",Qe,"实际支付:330.00元")):i("",!0)])):i("",!0),l.value.order.length>0?(o(),n("div",De,[l.value.order.includes(0)?(o(),n("div",Pe,"订单编号:wx1234567890")):i("",!0),l.value.order.includes(1)?(o(),n("div",Te,"下单时间:2022/06/18 12:00:00")):i("",!0),l.value.order.includes(2)?(o(),n("div",qe,"支付时间:2022/06/18 12:00:00")):i("",!0),l.value.order.includes(3)?(o(),n("div",He,"打印时间:2022/06/18 14:20:00")):i("",!0)])):i("",!0),t("div",Me,[A(t("div",{ref_key:"qrcodeRef",ref:h,class:"qrcode"},null,512),[[te,l.value.code]]),l.value.show_notice?(o(),n("div",Ne,L(l.value.notice_content),1)):i("",!0)])]),e[39]||(e[39]=t("div",{class:"bottom-notice"},[t("img",{class:"image",src:pe,alt:""})],-1))])])),[[G,g.value]])]),_:1}),a(F,{bordered:!1,shadow:"never",class:ae(["fixed-card",{collapsed:W.value,mobile:S.value}])},{default:s(()=>[w(c)("admin-printer-content")?A((o(),P(E,{key:0,type:"primary",class:"submission",loading:_.value,disabled:g.value||!b.value,onClick:O},{default:s(()=>[...e[40]||(e[40]=[d(" 保存 ",-1)])]),_:1},8,["loading","disabled"])),[[Q,["admin-printer-content"]],[D]]):i("",!0)]),_:1},8,["class"]),a(w(ue),{ref_key:"linkaddres",ref:x,onLinkUrl:I},null,512)])}}}),al=oe(We,[["__scopeId","data-v-0db6222b"]]);export{al as default}; diff --git a/backend/public/admin/system_static/content-DtQPAsi4.css b/backend/public/admin/system_static/content-DtQPAsi4.css new file mode 100644 index 000000000..f243247a3 --- /dev/null +++ b/backend/public/admin/system_static/content-DtQPAsi4.css @@ -0,0 +1 @@ +[data-v-0db6222b] .ivu-checkbox-wrapper{font-size:12px;margin-right:30px}[data-v-0db6222b] .el-checkbox__input{margin-right:6px}[data-v-0db6222b] .el-checkbox__input{width:12px;height:12px;font-size:12px}.warpper[data-v-0db6222b]{max-width:1200px;gap:30px}.printer-content-page[data-v-0db6222b]{padding-bottom:80px}.content-form[data-v-0db6222b]{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:0}.notice-field[data-v-0db6222b]{width:100%;max-width:500px;min-width:0}.notice-input[data-v-0db6222b]{width:100%}.fixed-card[data-v-0db6222b]{position:fixed;right:0;bottom:0;left:180px!important;z-index:45;-webkit-box-shadow:0 -1px 2px var(--prev-border-color-light);box-shadow:0 -1px 2px var(--prev-border-color-light)}.fixed-card.collapsed[data-v-0db6222b]{left:64px!important}.fixed-card.mobile[data-v-0db6222b]{left:0!important}.link[data-v-0db6222b]{background:var(--prev-bg-color);border-radius:4px;padding:15px}.select-link[data-v-0db6222b]{font-size:12px;overflow-wrap:anywhere}.ticket-content[data-v-0db6222b]::-webkit-scrollbar{display:none}.ticket-preview[data-v-0db6222b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0;width:271px;max-width:100%}.out-line[data-v-0db6222b]{width:271px;max-width:100%;height:7px;background:var(--prev-border-color-lighter);border-radius:4px}@-webkit-keyframes show-0db6222b{0%{margin-top:-70vh}to{margin-top:0}}@keyframes show-0db6222b{0%{margin-top:-70vh}to{margin-top:0}}.ticket-preview[data-v-0db6222b]{overflow:hidden;height:70vh}.ticket-content[data-v-0db6222b]{position:relative;top:-3px;-webkit-animation:show-0db6222b 2s ease-in-out forwards;animation:show-0db6222b 2s ease-in-out forwards;width:260px;max-width:100%;max-height:70vh;overflow-y:scroll;overflow-x:hidden;background-color:var(--prev-bg-white);padding:20px 15px 15px;-webkit-box-shadow:0px 4px 10px 0px var(--prev-color-hover);box-shadow:0 4px 10px 0 var(--prev-color-hover);border-radius:4px;font-size:12px;font-weight:400;color:var(--prev-color-text-regular);line-height:18px}.ticket-content .form-box[data-v-0db6222b]{display:-webkit-box;display:-ms-flexbox;display:flex}.ticket-content .form-box .label[data-v-0db6222b]{white-space:nowrap}.ticket-content .ticket-header[data-v-0db6222b]{font-weight:500;font-size:18px;text-align:center;margin-bottom:20px}.ticket-content .btn-line[data-v-0db6222b]{border-bottom:1px dashed var(--prev-border-color-lighter);padding:10px 0;word-break:break-all}.ticket-content .fw-500[data-v-0db6222b]{font-weight:500}.ticket-content .code[data-v-0db6222b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center}.ticket-content .code .qrcode[data-v-0db6222b]{width:128px;height:128px;margin:25px 0 0}.bottom-notice[data-v-0db6222b]{width:260px;max-width:100%;margin-left:1px;height:13px;position:relative}.image[data-v-0db6222b]{width:100%;height:100%;position:absolute;top:-6px}.xing[data-v-0db6222b]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden;white-space:nowrap}@media (max-width: 768px){.warpper[data-v-0db6222b]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.ticket-preview[data-v-0db6222b]{-ms-flex-item-align:center;align-self:center}} diff --git a/backend/public/admin/system_static/country-CLvqH4WN.css b/backend/public/admin/system_static/country-CLvqH4WN.css new file mode 100644 index 000000000..635b248ba --- /dev/null +++ b/backend/public/admin/system_static/country-CLvqH4WN.css @@ -0,0 +1 @@ +.ivu-mt .type .item[data-v-7ff89a3b]{margin:3px 0}.tabform[data-v-7ff89a3b]{margin-bottom:10px}.Refresh[data-v-7ff89a3b]{font-size:12px;color:var(--prev-color-primary);cursor:pointer}.ivu-form-item[data-v-7ff89a3b]{margin-bottom:10px}.status[data-v-7ff89a3b] .item~.item{margin-left:6px}.status[data-v-7ff89a3b] .statusVal{margin-bottom:7px}[data-v-7ff89a3b] .type{padding:3px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.tabBox_img[data-v-7ff89a3b]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-7ff89a3b]{width:100%;height:100%} diff --git a/backend/public/admin/system_static/country-aNvTrvCu.js b/backend/public/admin/system_static/country-aNvTrvCu.js new file mode 100644 index 000000000..dcf51f258 --- /dev/null +++ b/backend/public/admin/system_static/country-aNvTrvCu.js @@ -0,0 +1 @@ +import{a as J,k as a,u as M,y as s,z as C,j as o,C as l,A as d,ac as K,s as u,B as v,$ as b,am as O,an as Q,a0 as w,H as X,Z as x,p as B,r as Y,l as _}from"./element-plus-C_ZDq0cz.js";import{_ as ee,a as te,bs as le,o as D,bt as E,m as oe}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const ae={class:"padding-add"},ne={class:"acea-row row-middle"},ie=["onClick"],se=["onClick"],de={class:"acea-row row-right page"},re={__name:"country",setup(ce){const S=te(),$=_(null),L=_(null),N={xl:7,lg:7,md:12,sm:24,xs:24},n=Y({keyword:"",page:1,limit:15}),y=_(0),p=_(!1),k=_([]),P=B(()=>S.isMobile),R=B(()=>P.value?void 0:"80px");function U(){D(E(0)).then(()=>c())}function z(i){D(E(i.id)).then(()=>c())}function F(i,e,h){let f={title:e,url:`setting/lang_country/del/${i.id}`,method:"DELETE",ids:""};oe(f).then(r=>{x.success(r.msg),k.value.splice(h,1)}).catch(r=>{x.error(r.msg)})}function T(){n.page=1,c()}function c(){p.value=!0,le(n).then(async i=>{p.value=!1,k.value=i.data.list,y.value=i.data.count}).catch(i=>{p.value=!1,x.error(i.msg)})}return J(()=>{c()}),(i,e)=>{const h=a("el-input"),f=a("el-form-item"),r=a("el-button"),j=a("el-form"),V=a("el-card"),A=a("el-col"),H=a("el-row"),m=a("el-table-column"),I=a("el-divider"),W=a("el-table"),Z=a("pagination"),g=M("db-click"),q=M("loading");return s(),C("div",null,[o(V,{bordered:!1,shadow:"never",class:"mb10","body-style":{padding:0}},{default:l(()=>[d("div",ae,[o(j,{ref_key:"formValidateRef",ref:L,model:n,"label-width":R.value,"label-position":"right",onSubmit:e[1]||(e[1]=K(()=>{},["prevent"])),inline:""},{default:l(()=>[o(f,{label:"搜索:"},{default:l(()=>[d("div",ne,[o(h,{clearable:"",placeholder:"请输入语言Code",modelValue:n.keyword,"onUpdate:modelValue":e[0]||(e[0]=t=>n.keyword=t),class:"form_content_width"},null,8,["modelValue"])])]),_:1}),o(f,null,{default:l(()=>[u((s(),v(r,{type:"primary",onClick:T},{default:l(()=>[...e[4]||(e[4]=[b("搜索",-1)])]),_:1})),[[g]])]),_:1})]),_:1},8,["model","label-width"])])]),_:1}),o(V,{bordered:!1,shadow:"never"},{default:l(()=>[o(H,{class:"action-row"},{default:l(()=>[o(A,O(Q(N)),{default:l(()=>[u((s(),v(r,{type:"primary",onClick:U},{default:l(()=>[...e[5]||(e[5]=[b("添加语言地区",-1)])]),_:1})),[[g]])]),_:1},16)]),_:1}),u((s(),v(W,{ref_key:"table",ref:$,data:k.value,class:"mt14","empty-text":"暂无数据"},{default:l(()=>[o(m,{label:"编号","min-width":"100"},{default:l(t=>[d("span",null,w(t.row.id),1)]),_:1}),o(m,{label:"浏览器语言识别码","min-width":"100"},{default:l(t=>[d("span",null,w(t.row.code),1)]),_:1}),o(m,{label:"语言说明","min-width":"100"},{default:l(t=>[d("span",null,w(t.row.name),1)]),_:1}),o(m,{label:"关联语言","min-width":"100"},{default:l(t=>[d("span",null,w(t.row.link_lang),1)]),_:1}),o(m,{label:"操作",fixed:"right",width:"100"},{default:l(t=>[u((s(),C("a",{onClick:G=>z(t.row)},[...e[6]||(e[6]=[b("编辑",-1)])],8,ie)),[[g]]),o(I,{direction:"vertical"}),u((s(),C("a",{onClick:G=>F(t.row,"删除地区语言",t.$index)},[...e[7]||(e[7]=[b("删除",-1)])],8,se)),[[g]])]),_:1})]),_:1},8,["data"])),[[q,p.value]]),d("div",de,[y.value?(s(),v(Z,{key:0,total:y.value,page:n.page,"onUpdate:page":e[2]||(e[2]=t=>n.page=t),limit:n.limit,"onUpdate:limit":e[3]||(e[3]=t=>n.limit=t),onPagination:c},null,8,["total","page","limit"])):X("",!0)])]),_:1})])}}},ge=ee(re,[["__scopeId","data-v-7ff89a3b"]]);export{ge as default}; diff --git a/backend/public/admin/system_static/coupon01-B0R5c0WC.png b/backend/public/admin/system_static/coupon01-B0R5c0WC.png new file mode 100644 index 000000000..30113487b Binary files /dev/null and b/backend/public/admin/system_static/coupon01-B0R5c0WC.png differ diff --git a/backend/public/admin/system_static/coupon02-C-qCx0SB.png b/backend/public/admin/system_static/coupon02-C-qCx0SB.png new file mode 100644 index 000000000..0c5d1e396 Binary files /dev/null and b/backend/public/admin/system_static/coupon02-C-qCx0SB.png differ diff --git a/backend/public/admin/system_static/coupon03-BRGlD6wi.png b/backend/public/admin/system_static/coupon03-BRGlD6wi.png new file mode 100644 index 000000000..b15fe3c61 Binary files /dev/null and b/backend/public/admin/system_static/coupon03-BRGlD6wi.png differ diff --git a/backend/public/admin/system_static/coupon04-fx34BEzk.png b/backend/public/admin/system_static/coupon04-fx34BEzk.png new file mode 100644 index 000000000..a52cb0a12 Binary files /dev/null and b/backend/public/admin/system_static/coupon04-fx34BEzk.png differ diff --git a/backend/public/admin/system_static/coupon05-BeVIxiBy.png b/backend/public/admin/system_static/coupon05-BeVIxiBy.png new file mode 100644 index 000000000..a777bebb8 Binary files /dev/null and b/backend/public/admin/system_static/coupon05-BeVIxiBy.png differ diff --git a/backend/public/admin/system_static/couponProduct-TuDixKV1.js b/backend/public/admin/system_static/couponProduct-TuDixKV1.js new file mode 100644 index 000000000..217ce5b0b --- /dev/null +++ b/backend/public/admin/system_static/couponProduct-TuDixKV1.js @@ -0,0 +1 @@ +import{w as t}from"./index-DHL7RTL2.js";function c(o){return t({url:"coupon/product/list",method:"get",params:o})}function n(o){return t({url:"coupon/product",method:"post",data:o})}function p(o,u){return t({url:`coupon/product/${o}`,method:"put",data:u})}export{p as a,n as b,c}; diff --git a/backend/public/admin/system_static/create-2r2vtRUT.js b/backend/public/admin/system_static/create-2r2vtRUT.js new file mode 100644 index 000000000..d515109b1 --- /dev/null +++ b/backend/public/admin/system_static/create-2r2vtRUT.js @@ -0,0 +1 @@ +import{a as Xe,Z as b,s as _,y as s,z as v,j as t,C as o,W as L,l as d,u as N,k as c,ac as me,B as g,A as m,H as y,F as E,D as B,am as ce,an as pe,$ as h,a0 as ve,ab as fe,p as M,n as el}from"./element-plus-C_ZDq0cz.js";import{_ as ll,a as tl,k as al,b as ol,h as nl,S as il,c as sl}from"./index-DHL7RTL2.js";import ul from"./index-CYgESPmX.js";import{W as rl}from"./index-Beo5Mkpq.js";import{seckillTimeListApi as dl,seckillInfoApi as ml,seckillAddApi as cl,productAttrsApi as pl}from"./api-DEOgbDDm.js";import{f as vl}from"./index-qanQGPk7.js";import{s as fl}from"./index-FXNuAOau.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./index-C2Zmd2Xm.js";/* empty css */import"./wangeditor-D-KRDJ3T.js";import"./registerMenus-BIn2m7Us.js";const _l={key:0,class:"pictrue"},gl={key:1,class:"upLoad acea-row row-center-wrapper"},bl={class:"acea-row"},kl=["onDragstart","onDragover","onDragenter","onDragend"],yl=["onClick"],Vl={class:"acea-row"},hl={class:"acea-row"},wl={key:0},xl=["onClick"],Dl={key:0,class:"pictrue pictrueTab"},Cl={key:1,class:"upLoad pictrueTab acea-row row-center-wrapper"},Ul=Object.assign({name:"seckillProductCreate"},{__name:"create",setup(Tl){const U=ol(),_e=nl(),ge=il.routePre,be=tl(),ke=d(null),$=d(null),O=d(null),w=d(null),z=d(null),W=M(()=>be.isMobile),ye=M(()=>W.value?void 0:"135px"),Ve=M(()=>W.value?"top":"right"),he=d(["选择秒杀商品","填写基础信息","修改商品详情"]),T=d(!1),P=d(!1),H=d(""),f=d(0),x=d(!1),j={xl:12,lg:20,md:24,sm:24,xs:24},we={xl:6,lg:8,md:12,sm:12,xs:12},xe={xl:4,lg:8,md:8,sm:8,xs:8},S=d(!1),R=d([]),l=d({images:[],info:"",title:"",image:"",unit_name:"",logistics:["1"],freight:2,postage:1,sort:0,num:1,once_num:1,give_integral:0,section_time:[],is_hot:0,status:0,description:"",id:0,product_id:0,temp_id:"",time_id:[],attrs:[],items:[],is_commission:0}),De=M(()=>{const a=(l.value.title||"").trim();return a?`请围绕商品《${a}》撰写一篇产品推广文章,介绍产品亮点、使用场景与适用人群,结构清晰,800字左右。`:"写一篇产品推广文章,介绍产品亮点、使用场景与适用人群,结构清晰,800字左右。"}),K=d(""),Z=d([]),J=d([]),I=d([]),k=d([]),Q=d(""),Y=d(0),X=d(0),Ce=d({images:[{required:!0,type:"array",message:"请选择轮播图",trigger:"change",min:1}],title:[{required:!0,message:"请输入商品标题",trigger:"blur"}],info:[{required:!0,message:"请输入秒杀活动简介",trigger:"blur"}],section_time:[{required:!0,type:"array",message:"请选择活动时间",trigger:"change"}],unit_name:[{required:!0,message:"请输入单位",trigger:"blur"}],num:[{required:!0,type:"number",message:"请输入购买数量限制",trigger:"blur"}],once_num:[{required:!0,type:"number",message:"请输入单次购买数量",trigger:"blur"}],temp_id:[{required:!0,message:"请选择运费模板",trigger:"change",type:"number"}],time_id:[{required:!0,message:"请选择开始时间",trigger:"change",type:"array"}]});let q=null;Xe(()=>{U.params.id&&(X.value=parseInt(U.params.copy)||0,f.value=1,Ee()),ee(),qe()});function Ue(a){K.value=a}function Te(){z.value.id=0,z.value.isTemplate=!0}function Pe(a){pl(a.id,1).then(e=>{let u=e.data.info;k.value=u.attrs,k.value.forEach(function(i,r){k.value[r].id=r}),l.value.items=u.items,I.value=u.header}).catch(e=>{b.error(e.msg)})}function Se(a){l.value.attrs=a}function qe(){dl().then(a=>{J.value=a.data.list.data}).catch(a=>{b.error(a.msg)})}function ee(){al().then(a=>{Z.value=a.data})}function Ae(a){S.value=!1,setTimeout(()=>{l.value={images:a.slider_image,info:a.store_info,title:a.store_name,image:a.image,unit_name:a.unit_name,price:0,ot_price:a.ot_price,cost:a.cost,sales:a.sales,stock:a.stock,sort:a.sort,num:1,once_num:1,give_integral:a.give_integral,postage:a.postage,section_time:[],is_postage:a.is_postage,is_hot:a.is_hot,status:0,description:"",id:0,product_id:a.id,temp_id:a.temp_id,logistics:a.logistics,freight:a.freight,custom_form:a.custom_form,virtual_type:a.virtual_type,is_commission:a.is_commission},Pe(a),w.value.productRow=null},500)}function Le(a){l.value.section_time=a}function Ee(){P.value=!0,ml(U.params.id).then(async a=>{let e=a.data.info;l.value=e,l.value.items=e.attrs.items,I.value=e.attrs.header,k.value=e.attrs.value,k.value.forEach(function(i,r){k.value[r].id=r});let u=[];for(let i in e.attrs.value)e.attrs.value[i]._checked&&u.push(e.attrs.value[i]);l.value.attrs=u,u.forEach(i=>{O.value.toggleRowSelection(i,!0)}),P.value=!1}).catch(a=>{P.value=!1,b.error(a.msg)})}function Be(a){return a.id}function Me(a){f.value===2?(l.value.description=K.value,$.value.validate(e=>{e&&(X.value==1&&(l.value.copy=1),l.value.id=Number(U.params.id)||0,T.value=!0,cl(l.value).then(async u=>{T.value=!1,b.success(u.msg),setTimeout(()=>{_e.push({path:ge+"/marketing/seckill/product"})},500)}).catch(u=>{T.value=!1,b.error(u.msg)}))})):f.value===1?$.value.validate(e=>{if(e){if(!l.value.attrs)return b.error("请选择属性规格");for(let u in l.value.attrs){if(l.value.attrs[u].price>l.value.attrs[u].ot_price)return b.error("秒杀价格不能大于原价");if(l.value.attrs[u].quota<=0)return b.error("秒杀限量必须大于0");if(l.value.attrs[u].quota>l.value.attrs[u].stock)return b.error("秒杀限量不能超过规格库存")}f.value+=1}}):l.value.images?f.value+=1:b.warning("请选择商品")}function $e(){f.value--}function le(a,e,u){x.value=!0,H.value=a==="dan"?"单选":"多选",Q.value=e,Y.value=u}function ze(a){switch(Q.value){case"danFrom":l.value.image=a.att_dir;break;default:l.value.attrs&&l.value.attrs.length&&(k.value[Y.value]._checked=!0),k.value[Y.value].pic=a.att_dir}x.value=!1}function Re(a){R.value=a,R.value.map(e=>{l.value.images.push(e.att_dir),l.value.images=l.value.images.splice(0,10)}),x.value=!1}function Ie(a){R.value.splice(a,1),l.value.images.splice(a,1)}function Ye(){S.value=!0,el(()=>{w.value.formValidate.is_show=-1,w.value.formValidate.type=3,w.value.getList(),w.value.goodsCategory()})}function Ge(a,e){q=e}function Fe(a,e){q=null}function Ne(a){a.dataTransfer.dropEffect="move"}function Oe(a,e){if(a.dataTransfer.effectAllowed="move",e===q)return;const u=[...l.value.images],i=u.indexOf(q),r=u.indexOf(e);u.splice(r,0,...u.splice(i,1)),l.value.images=u}return(a,e)=>{const u=c("pages-header"),i=c("el-col"),r=c("el-form-item"),G=c("el-input"),We=c("el-date-picker"),te=c("el-checkbox"),He=c("el-checkbox-group"),ae=c("el-radio"),je=c("el-radio-group"),D=c("el-input-number"),oe=c("el-option"),ne=c("el-select"),ie=c("el-switch"),se=c("el-table-column"),Ke=c("el-table"),ue=c("el-row"),re=c("el-button"),Ze=c("el-form"),Je=c("el-card"),de=c("el-dialog"),F=N("lazy"),V=N("db-click"),Qe=N("loading");return _((s(),v("div",null,[t(u,{ref_key:"pageHeader",ref:ke,title:a.$route.params.id?"编辑秒杀商品":"添加秒杀商品",backUrl:a.$routeProStr+"/marketing/seckill/product"},null,8,["title","backUrl"]),t(Je,{bordered:!1,shadow:"never",class:"mt16"},{default:o(()=>[t(ue,{class:"mt30 acea-row row-middle row-center"},{default:o(()=>[t(i,{span:20},{default:o(()=>[t(L(fl),{stepList:he.value,isActive:f.value},null,8,["stepList","isActive"])]),_:1}),t(i,{span:23},{default:o(()=>[t(Ze,{class:"form mt30",ref_key:"formValidateRef",ref:$,model:l.value,rules:Ce.value,"label-width":ye.value,"label-position":Ve.value,onSubmit:e[16]||(e[16]=me(()=>{},["prevent"]))},{default:o(()=>[f.value===0?(s(),g(r,{key:0,label:"选择商品:",prop:"image_input"},{default:o(()=>[_((s(),v("div",{class:"picBox",onClick:Ye},[l.value.image?(s(),v("div",_l,[_(m("img",null,null,512),[[F,l.value.image]])])):(s(),v("div",gl,[...e[19]||(e[19]=[m("i",{class:"el-icon-goods",style:{"font-size":"24px"}},null,-1)])]))])),[[V]])]),_:1})):y("",!0),_(t(i,null,{default:o(()=>[t(i,{span:24},{default:o(()=>[t(r,{label:"商品轮播图:",prop:"images"},{default:o(()=>[m("div",bl,[(s(!0),v(E,null,B(l.value.images,(n,C)=>(s(),v("div",{class:"pictrue",key:C,draggable:"true",onDragstart:p=>Ge(p,n),onDragover:me(p=>Ne(p,n),["prevent"]),onDragenter:p=>Oe(p,n),onDragend:p=>Fe(p,n)},[_(m("img",null,null,512),[[F,n]]),_(m("i",{class:"el-icon-circle-close btndel",onClick:p=>Ie(C)},null,8,yl),[[V]])],40,kl))),128)),l.value.images.length<10?_((s(),v("div",{key:0,class:"upLoad acea-row row-center-wrapper",onClick:e[0]||(e[0]=n=>le("duo"))},[...e[20]||(e[20]=[m("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])])),[[V]]):y("",!0)])]),_:1})]),_:1}),t(i,{span:24},{default:o(()=>[t(i,ce(pe(j)),{default:o(()=>[t(r,{label:"商品标题:",prop:"title","label-for":"title"},{default:o(()=>[t(G,{clearable:"",placeholder:"请输入商品标题",modelValue:l.value.title,"onUpdate:modelValue":e[1]||(e[1]=n=>l.value.title=n),class:"content_width",maxlength:"80","show-word-limit":""},null,8,["modelValue"])]),_:1})]),_:1},16)]),_:1}),t(i,{span:24},{default:o(()=>[t(i,ce(pe(j)),{default:o(()=>[t(r,{label:"秒杀活动简介:",prop:"info","label-for":"info"},{default:o(()=>[t(G,{placeholder:"请输入秒杀活动简介",type:"textarea",rows:4,modelValue:l.value.info,"onUpdate:modelValue":e[2]||(e[2]=n=>l.value.info=n),class:"content_width",maxlength:"100","show-word-limit":""},null,8,["modelValue"])]),_:1})]),_:1},16)]),_:1}),t(i,{span:24},{default:o(()=>[t(r,{label:"活动时间:",prop:"section_time"},{default:o(()=>[m("div",null,[t(We,{clearable:"",editable:!1,type:"daterange",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期",onChange:Le,class:"content_width",modelValue:l.value.section_time,"onUpdate:modelValue":e[3]||(e[3]=n=>l.value.section_time=n)},null,8,["modelValue"]),e[21]||(e[21]=m("div",{class:"grey"},"设置活动开启结束时间,用户可以在有效时间内参与秒杀",-1))])]),_:1})]),_:1}),l.value.virtual_type==0?(s(),g(i,{key:0,span:24},{default:o(()=>[t(r,{label:"物流方式:",prop:"logistics"},{default:o(()=>[t(He,{modelValue:l.value.logistics,"onUpdate:modelValue":e[4]||(e[4]=n=>l.value.logistics=n)},{default:o(()=>[t(te,{label:"1"},{default:o(()=>[...e[22]||(e[22]=[h("快递",-1)])]),_:1}),t(te,{label:"2"},{default:o(()=>[...e[23]||(e[23]=[h("到店",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})):y("",!0),l.value.virtual_type==0&&l.value.logistics.includes("1")?(s(),g(i,{key:1,span:24},{default:o(()=>[t(r,{label:"运费设置:"},{default:o(()=>[t(je,{modelValue:l.value.freight,"onUpdate:modelValue":e[5]||(e[5]=n=>l.value.freight=n)},{default:o(()=>[t(ae,{label:2,value:2},{default:o(()=>[...e[24]||(e[24]=[h("固定邮费",-1)])]),_:1}),t(ae,{label:3,value:3},{default:o(()=>[...e[25]||(e[25]=[h("运费模板",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})):y("",!0),l.value.freight!=3&&l.value.freight!=1&&l.value.virtual_type==0&&l.value.logistics.includes("1")?(s(),g(i,{key:2,span:24},{default:o(()=>[t(r,{label:""},{default:o(()=>[m("div",Vl,[t(D,{controls:!1,min:0,max:9999999999,modelValue:l.value.postage,"onUpdate:modelValue":e[6]||(e[6]=n=>l.value.postage=n),placeholder:"请输入金额",class:"input-number-unit-class","class-unit":"元"},null,8,["modelValue"])])]),_:1})]),_:1})):y("",!0),l.value.freight==3&&l.value.virtual_type==0?(s(),g(i,{key:3,span:24},{default:o(()=>[t(r,{label:"",prop:"temp_id"},{default:o(()=>[m("div",hl,[t(ne,{modelValue:l.value.temp_id,"onUpdate:modelValue":e[7]||(e[7]=n=>l.value.temp_id=n),clearable:"",placeholder:"请选择运费模板",class:"content_width"},{default:o(()=>[(s(!0),v(E,null,B(Z.value,(n,C)=>(s(),g(oe,{value:n.id,key:C,label:n.name},null,8,["value","label"]))),128))]),_:1},8,["modelValue"]),_((s(),v("span",{class:"addfont",onClick:Te},[...e[26]||(e[26]=[h("新增运费模板",-1)])])),[[V]])])]),_:1})]),_:1})):y("",!0),t(i,{span:24},{default:o(()=>[t(r,{label:"开始时间:",prop:"time_id"},{default:o(()=>[m("div",null,[t(ne,{modelValue:l.value.time_id,"onUpdate:modelValue":e[8]||(e[8]=n=>l.value.time_id=n),multiple:"",class:"content_width"},{default:o(()=>[(s(!0),v(E,null,B(J.value,n=>(s(),g(oe,{value:n.id,key:n.id,label:n.time_name},null,8,["value","label"]))),128))]),_:1},8,["modelValue"]),e[27]||(e[27]=m("div",{class:"grey"}," 选择产品开始时间段,该时间段内用户可参与购买;其它时间段会显示活动未开始或已结束。如活动超过一天,则活动期内,每天都会定时开启 ",-1))])]),_:1})]),_:1}),t(i,{span:24},{default:o(()=>[t(r,{label:"总购买数量限制:",prop:"num"},{default:o(()=>[m("div",null,[t(D,{controls:!1,min:1,placeholder:"请输入数量限制","element-id":"num",precision:0,max:1e4,modelValue:l.value.num,"onUpdate:modelValue":e[9]||(e[9]=n=>l.value.num=n),class:"content_width"},null,8,["modelValue"]),e[28]||(e[28]=m("div",{class:"grey"}," 活动有效期内每个用户可购买该商品总数限制。例如设置为4,表示本次活动有效期内,每个用户最多可购买总数4个 ",-1))])]),_:1})]),_:1}),t(i,{span:24},{default:o(()=>[t(r,{label:"单次购买数量限制:",prop:"once_num"},{default:o(()=>[m("div",null,[t(D,{controls:!1,min:1,placeholder:"请输入单次购买数量限制","element-id":"once_num",precision:0,max:1e4,modelValue:l.value.once_num,"onUpdate:modelValue":e[10]||(e[10]=n=>l.value.once_num=n),class:"content_width"},null,8,["modelValue"]),e[29]||(e[29]=m("div",{class:"grey"}," 用户参与秒杀时,一次购买最大数量限制。例如设置为2,表示参与秒杀时,用户一次购买数量最大可选择2个 ",-1))])]),_:1})]),_:1}),t(i,{span:24},{default:o(()=>[t(r,{label:"单位:",prop:"unit_name","label-for":"unit_name"},{default:o(()=>[t(G,{placeholder:"请输入单位","element-id":"unit_name",modelValue:l.value.unit_name,"onUpdate:modelValue":e[11]||(e[11]=n=>l.value.unit_name=n),class:"content_width"},null,8,["modelValue"])]),_:1})]),_:1}),t(i,{span:24},{default:o(()=>[t(r,{label:"排序:"},{default:o(()=>[t(D,{controls:!1,placeholder:"请输入排序","element-id":"sort",precision:0,max:1e4,min:0,modelValue:l.value.sort,"onUpdate:modelValue":e[12]||(e[12]=n=>l.value.sort=n),class:"content_width"},null,8,["modelValue"])]),_:1})]),_:1}),t(i,{span:24},{default:o(()=>[t(r,{label:"是否参与分销:","label-for":"is_commission"},{default:o(()=>[m("div",null,[t(ie,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:l.value.is_commission,"onUpdate:modelValue":e[13]||(e[13]=n=>l.value.is_commission=n),size:"large","active-text":"开启","inactive-text":"关闭"},null,8,["modelValue"]),e[30]||(e[30]=m("div",{class:"grey"},"商品是否参与商城分销返佣",-1))])]),_:1})]),_:1}),t(i,{span:24},{default:o(()=>[t(r,{label:"活动状态:","label-for":"status"},{default:o(()=>[t(ie,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:l.value.status,"onUpdate:modelValue":e[14]||(e[14]=n=>l.value.status=n),size:"large","active-text":"开启","inactive-text":"关闭"},null,8,["modelValue"])]),_:1})]),_:1}),t(i,{span:24},{default:o(()=>[t(r,{label:"规格选择:"},{default:o(()=>[t(Ke,{ref_key:"multipleTable",ref:O,"row-key":Be,data:k.value,border:"",onSelectionChange:Se},{default:o(()=>[t(se,{type:"selection","reserve-selection":!0,width:"55"}),(s(!0),v(E,null,B(I.value,(n,C)=>(s(),g(se,{label:n.title,"min-width":n.minWidth,key:C},{default:o(p=>[n.key?(s(),v("div",wl,[m("span",null,ve(p.row[n.key]),1)])):n.slot==="pic"?_((s(),v("div",{key:1,class:"acea-row row-middle row-center-wrapper",onClick:A=>le("dan","danTable",p.$index)},[p.row.pic?(s(),v("div",Dl,[_(m("img",null,null,512),[[F,p.row.pic]])])):(s(),v("div",Cl,[...e[31]||(e[31]=[m("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])]))],8,xl)),[[V]]):n.slot==="price"?(s(),g(D,{key:2,controls:!1,modelValue:p.row.price,"onUpdate:modelValue":A=>p.row.price=A,min:0,precision:2,class:"priceBox","active-change":!1},null,8,["modelValue","onUpdate:modelValue"])):n.slot==="quota"?(s(),g(D,{key:3,controls:!1,modelValue:p.row.quota,"onUpdate:modelValue":A=>p.row.quota=A,min:1,"active-change":"",class:"priceBox"},null,8,["modelValue","onUpdate:modelValue"])):y("",!0)]),_:2},1032,["label","min-width"]))),128))]),_:1},8,["data"])]),_:1})]),_:1})]),_:1},512),[[fe,f.value===1]]),_(t(ue,null,{default:o(()=>[t(i,{span:24},{default:o(()=>[t(r,{label:"内容:"},{default:o(()=>[t(rl,{style:{width:"90%"},content:l.value.description,"ai-default-prompt":De.value,onEditorContent:Ue},null,8,["content","ai-default-prompt"])]),_:1})]),_:1})]),_:1},512),[[fe,f.value===2]]),t(i,{span:24},{default:o(()=>[t(r,null,{default:o(()=>[_((s(),g(re,{class:"submission",onClick:$e,disabled:a.$route.params.id&&f.value===1||f.value===0},{default:o(()=>[...e[32]||(e[32]=[h("上一步",-1)])]),_:1},8,["disabled"])),[[V]]),_((s(),g(re,{disabled:T.value&&f.value===2,type:"primary",class:"submission",onClick:e[15]||(e[15]=n=>Me("formValidate"))},{default:o(()=>[h(ve(f.value===2?"提交":"下一步"),1)]),_:1},8,["disabled"])),[[V]])]),_:1})]),_:1})]),_:1},8,["model","rules","label-width","label-position"])]),_:1})]),_:1})]),_:1}),t(de,{modelValue:S.value,"onUpdate:modelValue":e[17]||(e[17]=n=>S.value=n),title:"商品列表",class:"paymentFooter",width:"1000px"},{default:o(()=>[t(L(ul),{ref_key:"goodslist",ref:w,onGetProductId:Ae},null,512)]),_:1},8,["modelValue"]),t(de,{modelValue:x.value,"onUpdate:modelValue":e[18]||(e[18]=n=>x.value=n),width:"950px",title:"上传商品图","close-on-click-modal":!1},{default:o(()=>[x.value?(s(),g(L(sl),{key:0,isChoice:H.value,onGetPic:ze,onGetPicD:Re,gridBtn:xe,gridPic:we},null,8,["isChoice"])):y("",!0)]),_:1},8,["modelValue"]),t(L(vl),{ref_key:"template",ref:z,onAddSuccess:ee},null,512)])),[[Qe,P.value]])}}}),Fl=ll(Ul,[["__scopeId","data-v-aaa2b3f4"]]);export{Fl as default}; diff --git a/backend/public/admin/system_static/create-BKnT-EMg.js b/backend/public/admin/system_static/create-BKnT-EMg.js new file mode 100644 index 000000000..f9f512b5e --- /dev/null +++ b/backend/public/admin/system_static/create-BKnT-EMg.js @@ -0,0 +1 @@ +import{a as re,Z as k,y as s,z as d,j as l,C as t,A as m,l as c,k as n,u as z,ac as ue,$ as g,s as v,F as H,D as Y,B as y,a0 as de,v as me,W as ce,H as pe,p as B,n as ve}from"./element-plus-C_ZDq0cz.js";import{_ as _e,s as fe,a as ge,h as be,c as we,S as Ve}from"./index-DHL7RTL2.js";import{liveAnchorListApi as xe,liveAddApi as he}from"./api-Bi3YkYmz.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const ke={style:{display:"flex"}},ye=["src"],Ce={key:1,class:"upload-box acea-row row-center-wrapper"},Ue={style:{display:"flex"}},Se=["src"],Pe={key:1,class:"upload-box acea-row row-center-wrapper"},De={class:"acea-row row-around"},Me={class:"QRpic"},ze=Object.assign({name:"LiveRoomCreate"},{__name:"create",setup(He){const L=be(),{isMobile:C}=fe(ge()),R=B(()=>C.value?void 0:"120px"),T=B(()=>C.value?"top":"right"),$={xl:4,lg:8,md:8,sm:8,xs:8},q={xl:6,lg:8,md:12,sm:12,xs:12},A={xl:10,lg:16,md:18,sm:24,xs:24},_=c(!1),o=c({name:"",anchor_name:"",anchor_wechat:"",phone:"",screen_type:0,close_like:1,close_goods:1,close_comment:1,cover_img:"",share_img:"",sort:0,type:0,start_time:""}),N=[{value:"手机直播",label:0}],U=c(""),p=c(!1),j=c("单选"),S=c(0),b=c([]),w=c(!1),E=c({anchor_wechat:[{required:!0,message:"请选择主播",trigger:"change"}],name:[{required:!0,message:"请输入直播间名称",trigger:"blur"}]}),I=c(null);re(()=>{O()});function F(){w.value=!0}function J(i){b.value.filter(e=>{e.wechat===i&&(o.value.anchor_name=e.name)})}function O(){xe({kerword:"",page:"",limit:""}).then(e=>{b.value=e.data.list}).catch(e=>{k.error(e.msg)})}function P(i){S.value=i,p.value=!0}function Z(i){o.value.start_time=i}function W(i){ve(()=>{S.value==0?o.value.cover_img=i.att_dir:o.value.share_img=i.att_dir,p.value=!1})}function G(i){_.value=!0,he(o.value).then(e=>{k.success("添加成功"),setTimeout(()=>{_.value=!1,L.push({path:Ve.routePre+"/marketing/live/room"})},500)}).catch(e=>{setTimeout(()=>{_.value=!1},1e3),k.error(e.msg)})}return(i,e)=>{const K=n("pages-header"),Q=n("el-alert"),r=n("el-col"),X=n("el-option"),ee=n("el-select"),u=n("el-form-item"),V=n("el-input"),le=n("el-date-picker"),te=n("el-radio"),ae=n("el-radio-group"),x=n("el-switch"),D=n("el-row"),oe=n("el-button"),ne=n("el-form"),se=n("el-card"),M=n("el-dialog"),f=z("db-click"),ie=z("viewer");return s(),d("div",null,[l(K,{ref:"pageHeader",title:i.$route.meta.title,backUrl:i.$routeProStr+"/marketing/live/room"},null,8,["title","backUrl"]),l(se,{bordered:!1,shadow:"never",class:"mt16"},{default:t(()=>[l(ne,{ref_key:"formValidateRef",ref:I,model:o.value,"label-width":R.value,"label-position":T.value,class:"tabform",rules:E.value,onSubmit:e[12]||(e[12]=ue(()=>{},["prevent"]))},{default:t(()=>[l(D,{gutter:24},{default:t(()=>[l(r,{span:24},{default:t(()=>[l(Q,{class:"mb10",type:"warning","show-icon":"",closable:!1},{title:t(()=>[m("span",null,[e[16]||(e[16]=g("必须前往微信小程序官方后台开通直播权限,关注",-1)),v((s(),d("span",{style:{color:"red",cursor:"pointer"},onClick:F},[...e[15]||(e[15]=[g("【小程序直播】",-1)])])),[[f]]),e[17]||(e[17]=g("须知直播状态",-1))])]),_:1})]),_:1}),l(r,{span:24},{default:t(()=>[l(u,{label:"选择主播:",prop:"anchor_wechat"},{default:t(()=>[l(ee,{modelValue:o.value.anchor_wechat,"onUpdate:modelValue":e[0]||(e[0]=a=>o.value.anchor_wechat=a),filterable:"",clearable:"",class:"content_width",onChange:J},{default:t(()=>[(s(!0),d(H,null,Y(b.value,(a,h)=>(s(),y(X,{value:a.wechat,key:h,label:a.wechat},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(r,{span:24},{default:t(()=>[l(u,{label:"直播间名称:",prop:"name"},{default:t(()=>[l(V,{"enter-button":"",placeholder:"请输入直播间名称","element-id":"name",modelValue:o.value.name,"onUpdate:modelValue":e[1]||(e[1]=a=>o.value.name=a),class:"content_width",maxlength:"80","show-word-limit":""},null,8,["modelValue"])]),_:1})]),_:1}),l(r,{span:24},{default:t(()=>[m("div",ke,[l(u,{label:"背景图:",prop:"name"},{default:t(()=>[v((s(),d("div",{onClick:e[2]||(e[2]=a=>P(0)),class:"box"},[o.value.cover_img?(s(),d("img",{key:0,src:o.value.cover_img,alt:""},null,8,ye)):(s(),d("div",Ce,[...e[18]||(e[18]=[m("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])]))])),[[f]]),e[19]||(e[19]=m("div",{class:"desc"},"尺寸:1080*1920px",-1))]),_:1})])]),_:1}),l(r,{span:24},{default:t(()=>[m("div",Ue,[l(u,{label:"分享图:",prop:"name"},{default:t(()=>[v((s(),d("div",{onClick:e[3]||(e[3]=a=>P(1)),class:"box"},[o.value.share_img?(s(),d("img",{key:0,src:o.value.share_img,alt:""},null,8,Se)):(s(),d("div",Pe,[...e[20]||(e[20]=[m("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])]))])),[[f]]),e[21]||(e[21]=m("div",{class:"desc"},"尺寸:800*640px",-1))]),_:1})])]),_:1}),l(r,{span:24},{default:t(()=>[l(u,{label:"联系电话:"},{default:t(()=>[l(V,{placeholder:"请输入主播联系电话",modelValue:o.value.phone,"onUpdate:modelValue":e[4]||(e[4]=a=>o.value.phone=a),class:"content_width",maxlength:"11","show-word-limit":""},null,8,["modelValue"])]),_:1})]),_:1}),l(r,{span:24},{default:t(()=>[l(u,{label:"直播时间:",prop:"name"},{default:t(()=>[l(le,{clearable:"",type:"datetimerange",format:"YYYY-MM-DD HH:mm",placeholder:"请选择直播时间",class:"content_width",modelValue:U.value,"onUpdate:modelValue":e[5]||(e[5]=a=>U.value=a),onChange:Z,"value-format":"YYYY-MM-DD HH:mm","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},null,8,["modelValue"])]),_:1})]),_:1}),l(r,{span:24},{default:t(()=>[l(u,{label:"排序:"},{default:t(()=>[l(V,{type:"number",placeholder:"0",modelValue:o.value.sort,"onUpdate:modelValue":e[6]||(e[6]=a=>o.value.sort=a),class:"content_width"},null,8,["modelValue"])]),_:1})]),_:1}),l(r,{span:24},{default:t(()=>[l(u,{label:"直播间类型:"},{default:t(()=>[l(ae,{modelValue:o.value.type,"onUpdate:modelValue":e[7]||(e[7]=a=>o.value.type=a)},{default:t(()=>[(s(),d(H,null,Y(N,(a,h)=>l(te,{label:a.label,value:a.label,key:h},{default:t(()=>[m("span",null,de(a.value),1)]),_:2},1032,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(r,{span:24},{default:t(()=>[l(u,{label:"直播间点赞:"},{default:t(()=>[l(x,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:o.value.close_like,"onUpdate:modelValue":e[8]||(e[8]=a=>o.value.close_like=a),size:"large","active-text":"开启","inactive-text":"关闭"},null,8,["modelValue"])]),_:1})]),_:1}),l(r,{span:24},{default:t(()=>[l(u,{label:"直播卖货:"},{default:t(()=>[l(x,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:o.value.close_goods,"onUpdate:modelValue":e[9]||(e[9]=a=>o.value.close_goods=a),size:"large","active-text":"开启","inactive-text":"关闭"},null,8,["modelValue"])]),_:1})]),_:1}),l(r,{span:24},{default:t(()=>[l(u,{label:"直播间评论:"},{default:t(()=>[l(x,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:o.value.close_comment,"onUpdate:modelValue":e[10]||(e[10]=a=>o.value.close_comment=a),size:"large","active-text":"开启","inactive-text":"关闭"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),l(D,{gutter:24},{default:t(()=>[l(r,me(A,{span:24}),{default:t(()=>[v((s(),y(oe,{loading:_.value,type:"primary",style:{"margin-left":"120px"},onClick:e[11]||(e[11]=a=>G("formItem"))},{default:t(()=>[...e[22]||(e[22]=[g(" 提交 ",-1)])]),_:1},8,["loading"])),[[f]])]),_:1},16)]),_:1})]),_:1},8,["model","label-width","label-position","rules"])]),_:1}),m("div",null,[l(M,{modelValue:p.value,"onUpdate:modelValue":e[13]||(e[13]=a=>p.value=a),width:"950px",title:"上传商品图","close-on-click-modal":!1,"z-index":888},{default:t(()=>[p.value?(s(),y(ce(we),{key:0,isChoice:j.value,onGetPic:W,gridBtn:$,gridPic:q},null,8,["isChoice"])):pe("",!0)]),_:1},8,["modelValue"])]),l(M,{modelValue:w.value,"onUpdate:modelValue":e[14]||(e[14]=a=>w.value=a),title:"二维码"},{default:t(()=>[m("div",De,[v((s(),d("div",Me,[...e[23]||(e[23]=[m("img",{src:"https://res.wx.qq.com/op_res/9rSix1dhHfK4rR049JL0PHJ7TpOvkuZ3mE0z7Ou_Etvjf-w1J_jVX0rZqeStLfwh"},null,-1)])])),[[ie]])])]),_:1},8,["modelValue"])])}}}),qe=_e(ze,[["__scopeId","data-v-6ddbb1d0"]]);export{qe as default}; diff --git a/backend/public/admin/system_static/create-BxBp4tnQ.css b/backend/public/admin/system_static/create-BxBp4tnQ.css new file mode 100644 index 000000000..b3aaf3462 --- /dev/null +++ b/backend/public/admin/system_static/create-BxBp4tnQ.css @@ -0,0 +1 @@ +.content_width[data-v-e99af1a3]{width:460px}.custom-label[data-v-e99af1a3]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;line-height:1.5}.grey[data-v-e99af1a3]{color:#999}.tabBox_img[data-v-e99af1a3]{width:50px;height:50px;margin:0 auto}.tabBox_img img[data-v-e99af1a3]{width:100%;height:100%}.priceBox[data-v-e99af1a3]{width:100%}.form .picBox[data-v-e99af1a3]{display:inline-block;cursor:pointer}.form .pictrue[data-v-e99af1a3]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:15px;display:inline-block;position:relative;cursor:pointer}.form .pictrue img[data-v-e99af1a3]{width:100%;height:100%}.form .pictrue .btndel[data-v-e99af1a3]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.form .upLoad[data-v-e99af1a3]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer} diff --git a/backend/public/admin/system_static/create-C0WQAxxM.js b/backend/public/admin/system_static/create-C0WQAxxM.js new file mode 100644 index 000000000..a1cdb5e5d --- /dev/null +++ b/backend/public/admin/system_static/create-C0WQAxxM.js @@ -0,0 +1,3 @@ +import{a as Xe,k as m,u as se,y as r,z as b,j as a,C as t,$ as _,B as c,F as Z,D as ee,a0 as D,H as g,s as V,A as s,W as L,r as tl,l as p,Z as le,n as ie,ac as al,a1 as ol,ab as ul,p as $}from"./element-plus-C_ZDq0cz.js";import{S as nl,_ as rl}from"./sortable.esm-C9jepji9.js";import{_ as ze,c as Ce,a as sl,q as il,b as dl,S as pl,h as ml}from"./index-DHL7RTL2.js";/* empty css */import{u as cl}from"./userLabel-Bfejie0w.js";import{_ as vl}from"./index-B14gRfLE.js";import fl from"./index-CYgESPmX.js";import{lotteryDetailApi as _l,lotteryEditApi as gl,lotteryCreateApi as bl}from"./api-CkTOrWll.js";import{levelListApi as yl}from"./user-Blgc2iHx.js";import{W as Vl}from"./index-Beo5Mkpq.js";import{f as wl}from"./validate-a11VBqc7.js";import{f as kl}from"./editorImg-CgC4L1e6.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./marketing-BAfn8OEa.js";import"./index-C2Zmd2Xm.js";import"./wangeditor-D-KRDJ3T.js";import"./registerMenus-BIn2m7Us.js";const xl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVcAAAFWCAMAAADqsy6PAAAAeFBMVEX////09PSkpKTn5+eYmJiZmZm4uLi7u7unp6f29vbNzc2zs7PU1NTPz8/k5OScnJz9/f35+fmfn5/7+/vj4+OxsbHv7++ioqLX19fq6urg4OCsrKzJycnz8/Pu7u7d3d2pqanFxcXCwsLx8fG/v7+urq7S0tLa2toxS1DsAAALuUlEQVR42uza23LbIBAGYEvqgmS53gWis6yz7Pd/w6Z1D06vKzql/z+5ITMJnm82BBZOCPKP5XFG/mTu313zTnsNF9pn1CelfaaIf7heTl4TJyefiT5FJ59J4PoMXOEKV7jCFa5whStc4QpXuMIVrnCFK1zhCle4whWucIUrXOEKV7jCFa5whStc4QpXuMIVrnCFK1zhCle4whWucIUrXOH6511ddouM+HM10ft8f8VVosu9NV5cXXLWeVHkW106D64SPRb1Pp9a6lJ8u0o5x/G2enCVtS8qpvdwqh7R4a6m1ZOlr7GpqiPx6mqSxRKp8nhXN2yWON3zfaqIps+3g12zx/5VtCu61BKl55tHV1M+ciYvrlIuTJWukyYZ+44pvZhDXd3YEU9L/ZZcH8vEVNXGl6tbW1Wxrby4mrsl2z//GqUpmIrkUNdBvbO27jn32/Scz4urXHcmTpfZi2tSEOufJdOm78hyoKucK0ofv4rXkr2IH1dXV0T7GJ19uMqFqSrl51AxaXOga6SI9S9ImYh64821uA8u8+IazcT5S8HMlvLyQNdkp/j+MtaWlsjTOtBcSyMnP66DItu/jD9XVAwHul5Vp5uPrnPm6/+WvBeQJ9ekoOr1A/bVsfWaNclgXmqoYDo7f/tXb67leZtffsAdvb5+jCQVxQ8J0NVFa/TimExke/HlahrNrIdTgK4fItlmab/66LtEazk0oyLery50V8m+nRGMD9deqyJlsnniToG7fmNl3XjpExZM7+ElklPgrt8aBVQk4sV1KbqUibgbTdiupi0skW6cn752FkW3clTM8SUL2XU9T0y2H5zHexgxw9nSNIa4z3pGki0m7uqb+L3fkkgxb2ugrmLG3FKlW+P/3rCuaL+G6SrZJWWe+sHDfay7jmPzgSml9BGkq0R3S7yPxsc9tynYzq+LzZBSfAnSNbtY4iIRP+8HNJM2/0O9ShsT5YOc/LieK9qbl9nvoa6vjSJKm4+sx/a17SI/WdeJaLsF6OrulmxtTr5czWwpvpvvrKXmQPuE60ZkP9evaaMj91lNThzrtjQuGy6FJdvfQjxvXXciTj9ENUe6mjZn4k7pTecpkV0GCdH1kdLv2ZNDzwXmbUuZnrH7eRXPfRczan2ODq/XRWultNK/0pfHnrdkrXXRTVO3q/lqAn+n6ff9qyuTtn1rMgn+/SveFcMVrl8DV7jCFa5whStc4QpXuMIVrnCFK1zhCle4whWucIUrXOEKV7jCFa5whStc4QpXuMIVrnCFK1zhCle4whWucIUrXOF6mOukvIYL5TP5p1z5TPHTVX32Grt89pn+U//ZZxasAz+D9RWucIUrXOEKV7jCFa5whStc4QpXuMIVrnCFK1zhCle4whWucIUrXOEKV7jCFa5whStc4QpXuMIVrnCFK1zhCle4wjV8VxGB6x93FbMOZSZw/ZOukvRFGsdxWsyJCdg1G+e5Nr5cZZ27iulr2E5zI6G6unaydos8uUqpLXGab/OmUqZKJ4G6SpITkfblepuZ4m1symhtxiVmu93CdC0X69HVtRXZfpXvyOeY0keQrtk55sqfa9QT5zf5Wb2aWUmArm6ceF/8uQ6K+GJ+je8VdVl4rtLs3NW1P9cmJ35zv8bjRNManqtRXN2z2m+9ji+udUqdCc5VestzZDy63mbi3nz4AHlw66sbK1KN+HR1raW0cT9/S0HxJbT9gGs66t4XO5+up3VjUm/P1oBplbV6DcxVSk1VbU5+XV2jK977emwfl76zlU4kMNfbt8VVPLuepJwrIpumFRNV4fUHTJ0+d+ieXV15SZnYWstE0+fBhOXq3naeEjn5dnXJTmzTQs9bkVqmonUhuUqpOX0X8e0qSUrU1dnTeNyZpjYkVzNbu4h/11IT54P7PrMbFHER0DlW7jHr9eTdVR4VVYn7NW47qu7huL51XCTi3zXribV7/cZMrIJxNTlX52b9nuZMpJJ1vZnDXUtN9iyvBXxhmiQQV7nFZAul9PevjihWWm+Pw12bL+3dCZOaMBwF8AX7IGglB2C45BLx+3/D2m53i/aeNtmpfc+ZHbJy/oaJCf5njGDf3zCWBjZ7FNdTiG/Ets5du+j+fl0kwoe5X4OoWOUsAHsuiqh07nqcICO9Pu0RsniY/lUFx1W6PRBVx2Ognbmuu1OzHg9cBtj2YVxX8Tx+rQqgqdQLa1oAQ0fXP3bVFwsp2vSYPWXHzSQkxPJwz7XfwFUlpQCsaM67cyMMIPbJI81jPbuuYes4lPgcEffBYz3P8uy6lj1c2vnjgGQ3t5eDfty6t6zabnvts04zO1bVZlOdMsU6TdZrfzt0pStd6UpXutKVrnSlK13pSle60pWudKUrXelKV7rSla50pStd6UpXutKVrnSlK13pSle60pWudKUrXelKV7rSla50pStdr65GeA2s8JnwXSh8xr66junn5NfXa/L82lg175fuk99su27d7ccsP9nR7Z6+vU6af+dE8/tT6t/1q///+LRv1/o5y7eAFvYDL2H/Sle60pWudKUrXelKV7rSla50pStd6UpXutKVrnSlK13pSle60pWudKUrXelKV7rSla50pStd6UpXutKVrnSlK13pSte/7qqyTD2wq9JfRzl3zXTQpWkV6Ey5dlX6PsqHazVH95m0c9d0tgBgoot27Rrs7y+v8uGaD/I+TeLWVSWtlfgUaaKNcut6iO8vr/bhWgvcx7VrMBvI89yO8QCY3cata7UDpFmlyX24Bmm9zqWAjJRT12BvEG43pyA4bFoDMx6duqZniEu+yiZ5g/FAVUCUTscDWT7ALIF6/lnyyaDpnbrWDc76rcdZamuxOzh1PY2Qc6I+t7oGZsxcupYChXpr12AnTatcuqpaQHTqtTmFdk5cui5WRm8+L+gFzqnTeYHewkzr017a0qlra8z01q4qNpgSp65djLD2OY8dpW3f2FV1AmHpdh5bNxgCj65qRrg8L6k3c20Nosqt6/tQfvwY0fl2iqdtrpVjVx1D9Epf5rMQ57gMlH9XlQxSLtqta2vM/KT6SFhjjBW7OnHrGkRo+r4IjQSkCZsy8e6a9QZN+uTUVU0wo9430ohBWEAO+6NT18MO4TxIe46i3SABsQ18uyaRxHh065rNsOMltNG+r+tyHCTEkrh0rQpIa+dy03VV3TZAWGq/rlllYOvMraueYaLCtl32qeO5NBLn3KVr2kCK/efpne4biWLj1zVpsZprOXJNYkhjWv3SvgjISbt03YXNNvvS1VmYvfbpqqoGKLVjVx0D8qzVl37BoKgcup7qS77aQEUS8cGnq74A4fWIzvsB2P36+W8DcfH4PUxpcU59unYR5Ji4dlUTINLbz2u79ei6ERh6j66qt5CbzLXrUyshqptBCGzr0fUgIEqPrscRstAvLZfzrVvXwLNr59k1b2DeZ+5d8wYiX19ngXDvzjVbxra+GR/47Qf01mA4Kfeuhxh27VgPGGqHrpEx0/p22VvsNv5cqwhmUh7qMrK9kUXyeiQ9GewODvuB6WYcp4JCyjHw5qo+dnu5l3qXzRlmeYHNagHTZg5d8wa2TV5ZtwbhRXlzTWLInfbiqhcDUwaZelKZThspo8rlPDaZDMIlydQ1+rSXkOPJ3zw2bxAunuqzDjMg4/6YJelogKF3XD8QAbIoqyCplgJA1D15c1WTQdF5clWn+KVSQgJNr926qiqWL4eTwHxQ/lzvv212XEd0XBqJT7FTpV3XE2aHpcFzZFEe1ZM/V72p04O/Ok2lq0s7R/H0Pj1m7us0VVL118NF87butHrs+tcsOHWHk/ZV/5oFh647Jeo/qCtmvTZd6XoNXelKV7rSla50pStd6UpXutKVrnSlK13pSle60pWudKUrXelKV7rSla50pStd6UpXutKVrnSlK13pSle60pWudL267hOvsXXiM927LvGZ+tX1Ha6vd89/8e6a54Wb5nff+aWNf7AKnpu/ujF+c2MPV3b/zotrEjB/M8kTw/xb+QByHEnqGeIJiwAAAABJRU5ErkJggg==",Sl={key:0,class:"mb20"},ql={class:"ml100 grey"},Xl={key:0,class:"upload-list"},zl=["src"],Cl={key:0,class:"upload-list"},Ul=["src"],Tl={key:1,class:"upLoad pictrueTab acea-row row-center-wrapper"},hl=Object.assign({name:"lotteryAddGoods"},{__name:"addGoods",props:{editData:{type:Object,default:()=>({})}},emits:["addGoodsData"],setup(_e,{expose:j,emit:de}){const W=_e,te=de,ae=p(null),N=p(null),F=p(null),C=p(!1),M=p(!1),q=p("单选"),x=p([]),i=tl({type:5,name:"",num:0,image:"",chance:1,product_id:0,coupon_id:0,total:0,prompt:"",goods_image:"",coupon_title:""}),pe={name:[{required:!0,message:"商品名称",trigger:"blur"}],goods_image:[{required:!0,message:"请添加商品",trigger:"blur"}],num:[{required:!0,type:"number",message:"请输入金额数量",trigger:"blur"}],chance:[{required:!0,type:"number",message:"请输入商品权重",trigger:"blur"}],image:[{required:!0,message:"请选择奖品图片",trigger:"blur"}],prompt:[{required:!0,message:"请输入提示语",trigger:"blur"}]};Xe(()=>{Object.keys(W.editData||{}).forEach(n=>{i[n]=W.editData[n],n==="coupon_title"&&W.editData[n]&&x.value.push({title:W.editData[n],id:W.editData.coupon_id})})});function R(){M.value=!0,ie(()=>{N.value&&(N.value.getList(),N.value.goodsCategory())})}function me(w){i.coupon_id=w.id,i.coupon_title=w.coupon_title;let n=[];n.push(w),x.value=n}function oe(){ae.value.validate(w=>{w?(te("addGoodsData",i),le.success("添加成功")):le.warning("请完善数据")})}function P(w){i.image=w.att_dir,C.value=!1}function G(w){i.product_id=w.id,i.goods_image=w.image,M.value=!1}function U(){i.product_id="",i.goods_image=""}function H(){i.image=""}function ue(){F.value.isTemplate=!0,F.value.tableList()}function I(w){x.value.splice(0,1),i.coupon_id=0}return j({handleSubmit:oe}),(w,n)=>{const T=m("el-radio"),ce=m("el-radio-group"),k=m("el-form-item"),O=m("el-tag"),ge=m("el-button"),E=m("el-input-number"),J=m("el-input"),v=m("el-form"),B=m("el-dialog"),l=se("db-click");return r(),b("div",null,[a(v,{ref_key:"formRef",ref:ae,model:i,rules:pe,"label-width":"90px"},{default:t(()=>[a(k,{label:"奖品:",prop:"type"},{default:t(()=>[a(ce,{modelValue:i.type,"onUpdate:modelValue":n[0]||(n[0]=f=>i.type=f)},{default:t(()=>[a(T,{label:1,value:1},{default:t(()=>[...n[11]||(n[11]=[_("未中奖",-1)])]),_:1}),a(T,{label:5,value:5},{default:t(()=>[...n[12]||(n[12]=[_("优惠券",-1)])]),_:1}),a(T,{label:2,value:2},{default:t(()=>[...n[13]||(n[13]=[_("积分",-1)])]),_:1}),a(T,{label:6,value:6},{default:t(()=>[...n[14]||(n[14]=[_("商品",-1)])]),_:1}),a(T,{label:4,value:4},{default:t(()=>[...n[15]||(n[15]=[_("红包",-1)])]),_:1}),a(T,{label:3,value:3},{default:t(()=>[...n[16]||(n[16]=[_("余额",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),i.type==5?(r(),c(k,{key:0,label:"赠送优惠券:"},{default:t(()=>[x.value.length?(r(),b("div",Sl,[(r(!0),b(Z,null,ee(x.value,(f,ne)=>(r(),c(O,{closable:"",key:ne,onClose:be=>I(f)},{default:t(()=>[_(D(f.title),1)]),_:2},1032,["onClose"]))),128))])):g("",!0),x.value.length?g("",!0):V((r(),c(ge,{key:1,type:"primary",onClick:ue},{default:t(()=>[...n[17]||(n[17]=[_("添加优惠券",-1)])]),_:1})),[[l]])]),_:1})):g("",!0),[2,3,4].includes(i.type)?(r(),c(k,{key:1,label:[3,4].includes(i.type)?"金额信息":"积分数量",prop:"num"},{default:t(()=>[a(E,{controls:!1,modelValue:i.num,"onUpdate:modelValue":n[1]||(n[1]=f=>i.num=f),placeholder:"请输入金额数量",max:9999999999,min:.1,style:{width:"300px"}},null,8,["modelValue"]),s("div",ql,D(i.type==3?"用户领取余额后会自动到账余额账户":i.type==4?"用户抽到之后需要在抽奖列表中手动领取,需要开通微信支付的商家转账功能,金额不能小于0.1元":""),1)]),_:1},8,["label"])):g("",!0),i.type==6?(r(),c(k,{key:2,label:"商品:",prop:"goods_image"},{default:t(()=>[i.goods_image?(r(),b("div",Xl,[s("img",{src:i.goods_image},null,8,zl),V(s("i",{class:"el-icon-error",onClick:n[2]||(n[2]=f=>U()),style:{"font-size":"16px"}},null,512),[[l]])])):V((r(),b("div",{key:1,class:"upLoad pictrueTab acea-row row-center-wrapper",onClick:R},[...n[18]||(n[18]=[s("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])])),[[l]])]),_:1})):g("",!0),a(k,{label:"奖品名称:",prop:"name"},{default:t(()=>[a(J,{modelValue:i.name,"onUpdate:modelValue":n[3]||(n[3]=f=>i.name=f),maxlength:10,placeholder:"请输入奖品名称",style:{width:"300px"}},null,8,["modelValue"])]),_:1}),a(k,{label:"奖品图片:",prop:"image"},{default:t(()=>[i.image?(r(),b("div",Cl,[s("img",{src:i.image},null,8,Ul),V(s("i",{class:"el-icon-error",onClick:n[4]||(n[4]=f=>H()),style:{"font-size":"16px"}},null,512),[[l]])])):(r(),b("div",Tl,[V(s("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"},onClick:n[5]||(n[5]=f=>C.value=!0)},null,512),[[l]])]))]),_:1}),a(k,{label:"奖品数量:",prop:"total"},{default:t(()=>[a(E,{controls:!1,modelValue:i.total,"onUpdate:modelValue":n[6]||(n[6]=f=>i.total=f),placeholder:"请输入奖品数量",max:9999999999,min:0,precision:0,style:{width:"300px"}},null,8,["modelValue"])]),_:1}),a(k,{label:"奖品概率(%):",prop:"percent"},{default:t(()=>[a(E,{controls:!1,modelValue:i.percent,"onUpdate:modelValue":n[7]||(n[7]=f=>i.percent=f),placeholder:"请输入奖品概率",max:100,min:0,precision:2,style:{width:"300px"}},null,8,["modelValue"])]),_:1}),a(k,{label:"提示语:",prop:"prompt"},{default:t(()=>[a(J,{modelValue:i.prompt,"onUpdate:modelValue":n[8]||(n[8]=f=>i.prompt=f),maxlength:15,placeholder:"请输入提示语",style:{width:"300px"}},null,8,["modelValue"])]),_:1})]),_:1},8,["model"]),a(B,{modelValue:C.value,"onUpdate:modelValue":n[9]||(n[9]=f=>C.value=f),modal:!1,width:"1024px",title:"上传图片","close-on-click-modal":!1},{default:t(()=>[C.value?(r(),c(L(Ce),{key:0,isChoice:q.value,onGetPic:P},null,8,["isChoice"])):g("",!0)]),_:1},8,["modelValue"]),a(B,{modelValue:M.value,"onUpdate:modelValue":n[10]||(n[10]=f=>M.value=f),title:"商品列表",class:"paymentFooter",width:"1000px"},{default:t(()=>[a(L(fl),{ref_key:"goodslistRef",ref:N,onGetProductId:G},null,512)]),_:1},8,["modelValue"]),a(L(vl),{ref_key:"couponTemplatesRef",ref:F,luckDraw:!0,onGetCouponId:me},null,512)])}}}),Al=ze(hl,[["__scopeId","data-v-1fb15ed5"]]),Dl={name:[{required:!0,message:"请输入活动名称",trigger:"blur"}],factor:[{required:!0,type:"number",message:"请选择活动类型",trigger:"change"}],attends_user:[{required:!0,type:"number",message:"请选择参与用户",trigger:"change"}],factor_num:[{required:!0,type:"number",message:"请输入抽奖次数",trigger:"blur"}],prize:[{required:!0,type:"array",message:"请添加抽奖奖品(8条)",trigger:"change"},{type:"array",min:8,message:"请添加抽奖奖品(8条)",trigger:"change"}],lottery_num:[{required:!0,type:"number",message:"请输入邀请新用户最多可获得抽奖多少次",trigger:"blur"}],spread_num:[{required:!0,type:"number",message:"请输入关注额外抽多少次",trigger:"blur"}],image:[{required:!0,message:"请上传活动背景图",trigger:"change"}],content:[{required:!0,message:"请填写活动规则",trigger:"blur"}]},Ll={class:"i-layout-page-header header-title"},Wl={class:"fl_header"},Ml={class:"ivu-page-header-title"},Pl={class:"acea-row row-middle"},Il={class:"acea-row row-middle"},Kl={class:"acea-row row-middle"},jl={class:"acea-row row-middle"},Nl={class:""},Fl={key:0},Gl={key:1,class:"span"},Ol={class:"acea-row row-middle"},Zl={class:"acea-row row-middle"},Rl={class:"acea-row row-middle"},Hl=["onClick"],El={key:0,class:"pictrue pictrueTab"},Jl={key:1,class:"upLoad pictrueTab acea-row row-center-wrapper"},Bl=["onClick"],Ql={class:"pl60 grey"},Yl={class:"acea-row"},$l={key:0,class:"pictrue"},et={class:"acea-row row-right mt20"},lt=Object.assign({name:"lotteryCreate"},{__name:"create",setup(_e){const j=dl(),de=ml(),W=sl(),te=$(()=>W.isMobile),ae=$(()=>te.value?void 0:"120px"),N=$(()=>te.value?"top":"right"),F=p(null),C=p(null),M=p(null),q=p([]),x=p(!1),i=p(""),pe=[{name:"积分抽取",type:"1"},{name:"订单支付",type:"3"},{name:"订单评价",type:"4"}],R=p("添加商品"),me=p([]),oe=p([]),P=p(!1),G=p(!1),U=p(!1),H=p({}),ue=p("单选"),I=p(!1),w=[{id:-1,name:"不限制会员类型"},{id:0,name:"非付费会员"},{id:1,name:"付费会员"}],n=p(""),T=p(0),ce=p(0),k=p(null),O=p(0),E=`${pl.apiBaseURL.replace(/\/adminapi$/,"")}/statics/images/lottery-no-win.png`;function J(){return Array.from({length:8},()=>({type:1,name:"未中奖",num:10,image:E,chance:1,total:0,percent:12.5,min_try_num:0,prompt:""}))}const v=p(J()),B=$(()=>{const u=v.value.reduce((e,d)=>e+Number(d.percent||0),0);return Math.round(u*100)/100}),l=p({images:[],name:"",desc:"",image:"",factor:"1",factor_num:1,attends_user:1,user_level:[],user_label:[],is_svip:"",prize_num:0,period:[],prize:[],lottery_num_term:1,lottery_num:1,spread_num:1,is_all_record:0,is_personal_record:0,is_content:0,content:"",status:0}),f=Dl;function ne(u){return{1:"未中奖",2:"积分",3:"余额",4:"红包",5:"优惠券",6:"商品"}[u]||""}const be=["你是电商平台抽奖活动的资深运营,负责撰写展示给顾客的抽奖活动规则说明。","输出要求:使用 Markdown 格式,章节标题用 ##,条目用 - 列表,重点内容用 **加粗**;直接输出规则正文,不要输出任何解释说明或与正文无关的内容。",'内容需覆盖:活动时间、参与条件、抽奖方式与消耗、奖品与中奖概率说明、奖品发放与使用、注意事项;提示词中未提及的具体信息(如时间、数量)用"以活动页面展示为准"表述,不得自行编造数值。','合规要求:语言严谨无歧义、条理清晰,不夸大中奖可能,不使用"必中""稳赚""最高可中"等绝对化用语,符合广告法与平台内容规范。'].join(` +`),Ue=$(()=>{const u=l.value,e={1:"积分抽取",3:"订单支付抽取",4:"订单评价抽取"},d=["请根据以下活动信息,撰写一份完整的抽奖活动规则说明:"];if(d.push(`1. 活动名称:${u.name||"(未填写)"}`),d.push(`2. 活动时间:${Array.isArray(u.period)&&u.period.length?u.period.join(" 至 "):"(未设置)"}`),d.push(`3. 抽奖方式:${e[u.factor]||""}${u.factor==1?`,每次消耗 ${u.factor_num} 积分`:""}`),u.attends_user==2){const X={"-1":"不限会员类型",0:"非付费会员",1:"付费会员"};d.push(`4. 参与用户:指定用户(${X[String(u.is_svip)]||"不限会员类型"},按等级/标签筛选)`)}else d.push("4. 参与用户:全部用户");const K=v.value.map((X,Q)=>`位置${Q+1}:${X.name}(${ne(X.type)})`).join(";");return d.push(`5. 奖品设置:${K}`),d.join(` +`)});Xe(()=>{Me(),Pe(),j.query.type&&(l.value.factor=j.query.type),j.query.lottery_id&&(O.value=j.query.lottery_id,ye()),ie(()=>{Re()})});function Te(){M.value.handleSubmit()}function he(u){u==1&&(l.value.user_level=[],l.value.user_label=[],l.value.is_svip="-1",q.value=[])}function Ae(){x.value=!1}function De(u){x.value=!1,q.value=u}function Le(u){O.value&&ye(u)}function We(u){i.value=u}function Me(){il().then(u=>{me.value=u.data.list})}function Pe(){yl().then(u=>{oe.value=u.data.list})}function Ie(u){l.value.period=u}function ye(u){G.value=!0,_l(O.value).then(e=>{e.status==200&&!Array.isArray(e.data)?(l.value=e.data,l.value.user_level=e.data.user_level||[],q.value=e.data.user_label||[],l.value.is_svip=e.data.is_svip,i.value=e.data.is_content?e.data.content:"",l.value.factor=e.data.factor.toString(),l.value.period=[ke(e.data.start_time)||"",ke(e.data.end_time)||""],v.value=e.data.prize,we()):(l.value={images:[],name:"",desc:"",image:"",factor:u?u.toString():l.value.factor,factor_num:1,attends_user:1,user_level:[],user_label:[],is_svip:"-1",prize_num:0,period:[],prize:[],lottery_num_term:1,lottery_num:1,spread_num:1,is_all_record:0,is_personal_record:0,is_content:0,content:"",status:0},v.value=J()),ie(()=>{G.value=!1})}).catch(()=>{G.value=!1})}function Ke(){if(l.value.prize=v.value,l.value.is_content&&(l.value.content=kl(i.value)),l.value.attends_user==2&&q.value.length&&(l.value.user_label=q.value.map(u=>u.id)),P.value)return!1;F.value.validate(u=>{if(!u)return!1;P.value=!0,(l.value.id&&!ce.value?gl(l.value.id,l.value):bl(l.value)).then(async d=>{le.success(d.msg),P.value=!1,setTimeout(()=>{de.push({path:"/admin/marketing/lottery/list"})},500)}).catch(d=>{P.value=!1,le.error(d.msg)})})}function Ve(u,e,d){I.value=!0,ue.value="单选",n.value=e||"",T.value=d}function je(u){switch(n.value){case"danFrom":l.value.image=u.att_dir;break;default:v.value[T.value].image=u.att_dir}I.value=!1}function Ne(){l.value.image=""}function Fe(){U.value=!0,R.value="添加商品",H.value={}}function Ge(u){U.value=!0,R.value="添加奖品",H.value=v.value[u],k.value=u}function Oe(u,e){return u.reduce((d,K)=>d+Number(K[e]||0),0)}function Ze(u){k.value!=null?v.value[k.value]=u:v.value.length<8?v.value.push(u):le.warning("最多添加8个奖品"),we(),U.value=!1,k.value=null}function we(){let u=Oe(v.value,"chance");for(let e=0;e{He(d.oldIndex,d.newIndex)}})}function He(u,e){const d=v.value,K=d[u];d[u]=d[e],d[e]=K,v.value=[],ie(()=>{v.value=d})}function ke(u){if(u){let e=new Date(u*1e3);return wl(e,"yyyy-MM-dd hh:mm")}else return""}return(u,e)=>{const d=m("el-button"),K=m("el-divider"),X=m("el-radio"),Q=m("el-radio-group"),y=m("el-form-item"),S=m("el-col"),Ee=m("el-input"),Je=m("el-date-picker"),xe=m("el-option"),Se=m("el-select"),Be=m("el-tag"),Y=m("el-input-number"),ve=m("el-row"),h=m("el-table-column"),Qe=m("el-table"),Ye=m("el-tooltip"),re=m("el-switch"),$e=m("el-form"),el=m("el-card"),fe=m("el-dialog"),z=se("db-click"),qe=se("lazy"),ll=se("loading");return r(),b("div",null,[s("div",Ll,[s("div",Wl,[V((r(),c(d,{class:"btn-back",icon:"el-icon-arrow-left",type:"text",onClick:e[0]||(e[0]=o=>u.$router.go(-1))},{default:t(()=>[...e[24]||(e[24]=[_("返回",-1)])]),_:1})),[[z]]),a(K,{direction:"vertical"}),s("span",Ml,D(u.$route.query.lottery_id?"编辑":"新增")+"抽奖活动",1)])]),a(el,{bordered:!1,shadow:"never",class:"ivu-mt","body-style":{padding:"0 20px 20px"}},{default:t(()=>[a(ve,{class:"mt30 acea-row row-middle row-center"},{default:t(()=>[V((r(),c(S,{span:24},{default:t(()=>[a($e,{class:"form",ref_key:"formRef",ref:F,rules:L(f),model:l.value,"label-width":ae.value,"label-position":N.value,onSubmit:e[19]||(e[19]=al(()=>{},["prevent"]))},{default:t(()=>[a(ve,null,{default:t(()=>[a(S,{span:24},{default:t(()=>[a(y,{label:"活动类型:",prop:"name"},{default:t(()=>[a(Q,{modelValue:l.value.factor,"onUpdate:modelValue":e[1]||(e[1]=o=>l.value.factor=o),onChange:Le},{default:t(()=>[(r(),b(Z,null,ee(pe,(o,A)=>a(X,{label:o.type,value:o.type,disabled:!!O.value,key:A},{default:t(()=>[_(D(o.name),1)]),_:2},1032,["label","value","disabled"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(S,{span:24},{default:t(()=>[a(y,{label:"活动名称:",prop:"name"},{default:t(()=>[a(Ee,{placeholder:"请输入活动名称",modelValue:l.value.name,"onUpdate:modelValue":e[2]||(e[2]=o=>l.value.name=o),class:"content_width",maxlength:"80","show-word-limit":""},null,8,["modelValue"])]),_:1})]),_:1}),a(S,{span:24},{default:t(()=>[a(y,{label:"活动时间:"},{default:t(()=>[s("div",Pl,[a(Je,{modelValue:l.value.period,"onUpdate:modelValue":e[3]||(e[3]=o=>l.value.period=o),editable:!1,type:"datetimerange",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期",onChange:Ie,style:{width:"460px"}},null,8,["modelValue"])])]),_:1})]),_:1}),a(S,{span:24},{default:t(()=>[a(y,{label:"参与用户:",prop:"attends_user"},{default:t(()=>[a(Q,{modelValue:l.value.attends_user,"onUpdate:modelValue":e[4]||(e[4]=o=>l.value.attends_user=o),onChange:he},{default:t(()=>[a(X,{label:1,value:1,class:"radio"},{default:t(()=>[...e[25]||(e[25]=[_("全部用户",-1)])]),_:1}),a(X,{label:2,value:2},{default:t(()=>[...e[26]||(e[26]=[_("部分用户",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),l.value.attends_user==2?(r(),c(S,{key:0,span:24},{default:t(()=>[a(y,{label:"",prop:l.value.attends_user==2?"user_level":""},{default:t(()=>[s("div",Il,[a(Se,{multiple:"",modelValue:l.value.user_level,"onUpdate:modelValue":e[5]||(e[5]=o=>l.value.user_level=o),class:"content_width",placeholder:"请选择用户等级"},{default:t(()=>[(r(!0),b(Z,null,ee(oe.value,o=>(r(),c(xe,{value:o.id,key:o.id,label:o.name},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])])]),_:1},8,["prop"])]),_:1})):g("",!0),l.value.attends_user==2?(r(),c(S,{key:1,span:24},{default:t(()=>[a(y,{label:"",prop:l.value.attends_user==2?"is_svip":""},{default:t(()=>[s("div",Kl,[a(Se,{modelValue:l.value.is_svip,"onUpdate:modelValue":e[6]||(e[6]=o=>l.value.is_svip=o),clearable:"",placeholder:"请选择是否是付费会员",class:"content_width"},{default:t(()=>[(r(),b(Z,null,ee(w,o=>a(xe,{value:o.id,key:o.id,label:o.name},null,8,["value","label"])),64))]),_:1},8,["modelValue"])])]),_:1},8,["prop"])]),_:1})):g("",!0),l.value.attends_user==2?(r(),c(S,{key:2,span:24},{default:t(()=>[a(y,{label:"",prop:l.value.attends_user==2?"user_label":""},{default:t(()=>[s("div",jl,[V((r(),b("div",{class:"labelInput acea-row row-between-wrapper",onClick:e[7]||(e[7]=o=>x.value=!0)},[s("div",Nl,[q.value.length?(r(),b("div",Fl,[(r(!0),b(Z,null,ee(q.value,(o,A)=>(r(),c(Be,{closable:!1,key:A,class:"mr10"},{default:t(()=>[_(D(o.label_name),1)]),_:2},1024))),128))])):(r(),b("span",Gl,"选择用户标签"))]),e[27]||(e[27]=s("div",{class:"ivu-icon ivu-icon-ios-arrow-down"},null,-1))])),[[z]])]),e[28]||(e[28]=s("div",{class:"tip ml100 grey"},"三个条件都设置后,必须这些条件都满足的用户才能参加抽奖",-1))]),_:1},8,["prop"])]),_:1})):g("",!0),l.value.factor==5?(r(),c(S,{key:3,span:24},{default:t(()=>[a(y,{label:"抽奖次数:",prop:l.value.factor==5?"lottery_num_term":""},{default:t(()=>[a(Q,{modelValue:l.value.lottery_num_term,"onUpdate:modelValue":e[8]||(e[8]=o=>l.value.lottery_num_term=o)},{default:t(()=>[a(X,{label:1,value:1,class:"radio"},{default:t(()=>[...e[29]||(e[29]=[_("每天N次",-1)])]),_:1}),a(X,{label:2,value:2},{default:t(()=>[...e[30]||(e[30]=[_("每人N次",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["prop"])]),_:1})):g("",!0),l.value.factor==5?(r(),c(S,{key:4,span:24},{default:t(()=>[a(y,{label:"邀请新用户最多可获得抽奖",prop:l.value.factor==5?"lottery_num":""},{default:t(()=>[s("div",Ol,[e[31]||(e[31]=s("div",{class:"mr10 grey"},null,-1)),a(Y,{controls:!1,placeholder:"",min:1,precision:0,modelValue:l.value.lottery_num,"onUpdate:modelValue":e[9]||(e[9]=o=>l.value.lottery_num=o),class:"content_width"},null,8,["modelValue"]),e[32]||(e[32]=s("div",{class:"ml10 grey"},"次",-1))])]),_:1},8,["prop"])]),_:1})):g("",!0),l.value.factor==5?(r(),c(S,{key:5,span:24},{default:t(()=>[a(y,{label:"邀请一位新用户关注公众号可获得抽奖",prop:l.value.factor==5?"spread_num":""},{default:t(()=>[s("div",Zl,[e[33]||(e[33]=s("div",{class:"mr10 grey"},null,-1)),a(Y,{controls:!1,placeholder:"",min:1,precision:0,modelValue:l.value.spread_num,"onUpdate:modelValue":e[10]||(e[10]=o=>l.value.spread_num=o),class:"content_width"},null,8,["modelValue"]),e[34]||(e[34]=s("div",{class:"ml10 grey"},"次",-1))])]),_:1},8,["prop"])]),_:1})):g("",!0),l.value.factor==1||l.value.factor==3||l.value.factor==4?(r(),c(S,{key:6,span:24},{default:t(()=>[a(y,{label:l.value.factor==1?"抽奖消耗积分:":"抽奖次数:",prop:l.value.factor==1||l.value.factor==3||l.value.factor==4?"factor_num":""},{default:t(()=>[s("div",Rl,[a(Y,{controls:!1,placeholder:"",min:1,precision:0,modelValue:l.value.factor_num,"onUpdate:modelValue":e[11]||(e[11]=o=>l.value.factor_num=o),class:"content_width"},null,8,["modelValue"])])]),_:1},8,["label","prop"])]),_:1})):g("",!0)]),_:1}),a(ve,null,{default:t(()=>[a(S,{span:24},{default:t(()=>[a(y,{label:"规格选择:",prop:"prize"},{default:t(()=>[a(Qe,{ref_key:"selectionRef",ref:C,data:v.value},{default:t(()=>[a(h,{"min-width":"30"},{default:t(o=>[...e[35]||(e[35]=[s("div",{class:"drag"},[s("img",{class:"handle",src:rl,alt:""})],-1)])]),_:1}),a(h,{label:"序号",type:"index",width:"50"}),a(h,{label:"图片","min-width":"80"},{default:t(o=>[V((r(),b("div",{class:"acea-row scope.row-middle scope.row-center-wrapper",onClick:A=>Ve("dan","goods",o.$index)},[o.row.image?(r(),b("div",El,[V(s("img",null,null,512),[[qe,o.row.image]])])):(r(),b("div",Jl,[...e[36]||(e[36]=[s("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])]))],8,Hl)),[[z]])]),_:1}),a(h,{label:"名称","min-width":"80"},{default:t(o=>[s("div",null,D(o.row.name),1)]),_:1}),a(h,{label:"奖品","min-width":"80"},{default:t(o=>[s("div",null,D(ne(o.row.type)),1)]),_:1}),a(h,{label:"提示语","min-width":"80"},{default:t(o=>[s("div",null,D(o.row.prompt),1)]),_:1}),a(h,{label:"数量","min-width":"80"},{default:t(o=>[a(Y,{controls:!1,modelValue:o.row.total,"onUpdate:modelValue":A=>o.row.total=A,max:9999999999,min:0,precision:0,class:"priceBox"},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),a(h,{"min-width":"80"},{header:t(()=>[s("span",{class:ol({"percent-warn":B.value!=100})},[e[37]||(e[37]=_("奖品概率(%) ",-1)),v.value.length?(r(),b(Z,{key:0},[_("(合计:"+D(B.value)+"%)",1)],64)):g("",!0)],2)]),default:t(o=>[a(Y,{controls:!1,modelValue:o.row.percent,"onUpdate:modelValue":A=>o.row.percent=A,max:100,min:0,precision:2,class:"priceBox"},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),a(h,{label:"操作",fixed:"right",width:"80"},{default:t(o=>[V((r(),b("a",{class:"submission mr15",onClick:A=>Ge(o.$index)},[...e[38]||(e[38]=[_("编辑",-1)])],8,Bl)),[[z]])]),_:1})]),_:1},8,["data"]),v.value.length<8?V((r(),c(d,{key:0,type:"primary",class:"submission mr15 mt20",onClick:Fe},{default:t(()=>[...e[39]||(e[39]=[_("添加商品",-1)])]),_:1})),[[z]]):g("",!0)]),_:1}),a(y,null,{default:t(()=>[s("div",Ql,[e[42]||(e[42]=_(" 奖品必须设置为8个,列表中拖拽可调整奖品在九宫中的位置 ",-1)),a(Ye,{effect:"light",placement:"bottom",width:"380"},{content:t(()=>[...e[40]||(e[40]=[s("div",{class:"api"},[s("img",{src:xl,alt:""})],-1)])]),default:t(()=>[e[41]||(e[41]=s("a",null,"查看位置示例图",-1))]),_:1})])]),_:1})]),_:1})]),_:1}),s("div",null,[l.value.factor!=3&&l.value.factor!=4?(r(),c(y,{key:0,prop:l.value.factor!=3&&l.value.factor!=4?"image":""},{label:t(()=>[...e[43]||(e[43]=[s("div",{class:"custom-label"},[s("div",null,[s("div",null,"活动背景图"),s("div",null,"(750*750)")]),s("div",null,":")],-1)])]),default:t(()=>[s("div",Yl,[l.value.image?(r(),b("div",$l,[V(s("img",null,null,512),[[qe,l.value.image]]),V(s("i",{class:"el-icon-circle-close btndel",onClick:e[12]||(e[12]=o=>Ne())},null,512),[[z]])])):V((r(),b("div",{key:1,class:"upLoad acea-row row-center-wrapper",onClick:e[13]||(e[13]=o=>Ve("dan","danFrom"))},[...e[44]||(e[44]=[s("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])])),[[z]])])]),_:1},8,["prop"])):g("",!0),l.value.factor!=3&&l.value.factor!=4?(r(),c(y,{key:1,label:"中奖名单:",prop:l.value.factor!=3&&l.value.factor!=4?"is_all_record":""},{default:t(()=>[a(re,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:l.value.is_all_record,"onUpdate:modelValue":e[14]||(e[14]=o=>l.value.is_all_record=o),size:"large","active-text":"开启","inactive-text":"关闭"},null,8,["modelValue"])]),_:1},8,["prop"])):g("",!0),l.value.factor!=3&&l.value.factor!=4?(r(),c(y,{key:2,label:"个人中奖记录:",prop:l.value.factor!=3&&l.value.factor!=4?"is_personal_record":""},{default:t(()=>[a(re,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:l.value.is_personal_record,"onUpdate:modelValue":e[15]||(e[15]=o=>l.value.is_personal_record=o),size:"large","active-text":"开启","inactive-text":"关闭"},null,8,["modelValue"])]),_:1},8,["prop"])):g("",!0),l.value.factor!=3&&l.value.factor!=4?(r(),c(y,{key:3,label:"活动规则:",prop:"is_content"},{default:t(()=>[a(re,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:l.value.is_content,"onUpdate:modelValue":e[16]||(e[16]=o=>l.value.is_content=o),size:"large","active-text":"开启","inactive-text":"关闭"},null,8,["modelValue"])]),_:1})):g("",!0),V(a(y,{label:"",prop:l.value.factor!=3&&l.value.factor!=4&&l.value.is_content==1?"content":""},{default:t(()=>[a(Vl,{style:{width:"90%"},content:l.value.content,onEditorContent:We,"ai-default-prompt":Ue.value,"ai-default-system-prompt":L(be)},null,8,["content","ai-default-prompt","ai-default-system-prompt"])]),_:1},8,["prop"]),[[ul,l.value.factor!=3&&l.value.factor!=4&&l.value.is_content==1]]),a(y,{label:"活动状态:",prop:"status"},{default:t(()=>[a(re,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:l.value.status,"onUpdate:modelValue":e[17]||(e[17]=o=>l.value.status=o),size:"large","active-text":"开启","inactive-text":"关闭"},null,8,["modelValue"])]),_:1})]),a(y,null,{default:t(()=>[V((r(),c(d,{type:"primary",loading:P.value,onClick:e[18]||(e[18]=o=>Ke())},{default:t(()=>[...e[45]||(e[45]=[_("提交",-1)])]),_:1},8,["loading"])),[[z]])]),_:1})]),_:1},8,["rules","model","label-width","label-position"])]),_:1})),[[ll,G.value]])]),_:1})]),_:1}),a(fe,{modelValue:I.value,"onUpdate:modelValue":e[20]||(e[20]=o=>I.value=o),width:"950px",title:"上传商品图","close-on-click-modal":!1},{default:t(()=>[I.value?(r(),c(L(Ce),{key:0,isChoice:ue.value,onGetPic:je},null,8,["isChoice"])):g("",!0)]),_:1},8,["modelValue"]),a(fe,{modelValue:U.value,"onUpdate:modelValue":e[22]||(e[22]=o=>U.value=o),width:"720px",title:R.value,"close-on-click-modal":!1},{default:t(()=>[U.value?(r(),c(L(Al),{key:0,ref_key:"addGoodsForm",ref:M,onAddGoodsData:Ze,editData:H.value},null,8,["editData"])):g("",!0),s("div",et,[V((r(),c(d,{onClick:e[21]||(e[21]=o=>U.value=!1)},{default:t(()=>[...e[46]||(e[46]=[_("取消",-1)])]),_:1})),[[z]]),V((r(),c(d,{type:"primary",onClick:Te},{default:t(()=>[...e[47]||(e[47]=[_("提交",-1)])]),_:1})),[[z]])])]),_:1},8,["modelValue","title"]),a(fe,{modelValue:x.value,"onUpdate:modelValue":e[23]||(e[23]=o=>x.value=o),scrollable:"",title:"请选择用户标签",closable:!1,width:"540px"},{default:t(()=>[x.value?(r(),c(L(cl),{key:0,uid:0,ref:"userLabelRef",only_get:!0,selectDataLabel:q.value,onActiveData:De,onClose:Ae},null,8,["selectDataLabel"])):g("",!0)]),_:1},8,["modelValue"])])}}}),wt=ze(lt,[["__scopeId","data-v-5fcf9245"]]);export{wt as default}; diff --git a/backend/public/admin/system_static/create-CGwjk1Hq.css b/backend/public/admin/system_static/create-CGwjk1Hq.css new file mode 100644 index 000000000..9a362cc6d --- /dev/null +++ b/backend/public/admin/system_static/create-CGwjk1Hq.css @@ -0,0 +1 @@ +.content_width[data-v-aaa2b3f4]{width:460px}.grey[data-v-aaa2b3f4]{color:#999;font-size:12px}.pictrue[data-v-aaa2b3f4]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:15px;display:inline-block;position:relative;cursor:pointer}.pictrue img[data-v-aaa2b3f4]{width:100%;height:100%}.pictrue .btndel[data-v-aaa2b3f4]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.upLoad[data-v-aaa2b3f4]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer}.priceBox[data-v-aaa2b3f4]{width:100%}.addfont[data-v-aaa2b3f4]{font-size:12px;color:var(--prev-color-primary);margin-left:10px;cursor:pointer} diff --git a/backend/public/admin/system_static/create-CV4yvf2w.css b/backend/public/admin/system_static/create-CV4yvf2w.css new file mode 100644 index 000000000..1ae0578fb --- /dev/null +++ b/backend/public/admin/system_static/create-CV4yvf2w.css @@ -0,0 +1 @@ +.content_width[data-v-4ae8b60c]{width:414px}.pictrue[data-v-4ae8b60c]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:15px;display:inline-block;position:relative;cursor:pointer}.pictrue img[data-v-4ae8b60c]{width:100%;height:100%}.pictrue .btndel[data-v-4ae8b60c]{position:absolute;z-index:1;width:20px!important;height:20px!important;left:46px;top:-4px}.upLoad[data-v-4ae8b60c]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer}.ivu-icon-ios-close-circle[data-v-4ae8b60c]{position:absolute;top:0;right:0;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%)}.tip[data-v-4ae8b60c]{line-height:16px} diff --git a/backend/public/admin/system_static/create-DlUHCJET.js b/backend/public/admin/system_static/create-DlUHCJET.js new file mode 100644 index 000000000..40f9a9eac --- /dev/null +++ b/backend/public/admin/system_static/create-DlUHCJET.js @@ -0,0 +1 @@ +import{Z as n,k as p,u as N,y as b,z as H,j as l,W as P,C as a,$ as i,A as m,s as _,ab as y,F as ue,D as ie,H as x,B as S,a0 as se,p as de,r as re,l as v}from"./element-plus-C_ZDq0cz.js";import{_ as ne,b as pe,h as me,a as _e,y as fe,S as T}from"./index-DHL7RTL2.js";import ve from"./index-CYgESPmX.js";import{n as ce,o as be}from"./marketing-BAfn8OEa.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./index-C2Zmd2Xm.js";/* empty css */const ye={class:"acea-row"},ge=["onClick"],Ve=Object.assign({name:"storeCouponCreate"},{__name:"create",setup(ke){const w=pe(),z=me();_e();const A=v(null),R=v(null),D=v(!1),t=re({coupon_title:"",coupon_price:0,type:0,use_min_price:0,coupon_time:0,start_use_time:0,end_use_time:0,start_time:0,end_time:0,user_type:1,receive_type:1,is_permanent:1,total_count:1,sort:0,status:1,product_id:"",category_id:0,receive_limit:1}),B=v([]),f=v([]),C=v(0),V=v(1),M=v(0),Y=v(!1),L=v(["",""]),$=v([]),r=de(()=>!!w.params.edit);q(),w.params.id&&(t.id=r.value&&Number(w.params.id)||0,G());function j(){t.user_type==2&&(t.receive_type=1)}function q(){fe(1).then(async u=>{B.value=u.data})}function G(){ce(w.params.id).then(u=>{let e=u.data;t.coupon_title=e.coupon_title,t.type=e.type,t.category_id=e.category_id,t.coupon_price=parseFloat(e.coupon_price),t.use_min_price=parseFloat(e.use_min_price),t.use_min_price&&(C.value=1),t.coupon_time=e.coupon_time,t.receive_type=e.receive_type,t.user_type=e.user_type,t.is_permanent=e.is_permanent,t.status=e.status,t.product_id=e.product_id,t.start_time=e.start_time,t.end_time=e.end_time,t.total_count=e.total_count,t.sort=e.sort,t.receive_limit=e.receive_limit,"productInfo"in e&&(f.value=e.productInfo),e.coupon_time||(V.value=0,L.value=[k(e.start_use_time*1e3),k(e.end_use_time*1e3)],t.start_use_time=k(e.start_use_time*1e3),t.end_use_time=k(e.end_use_time*1e3)),e.start_time&&(M.value=1,$.value=[e.start_time*1e3,e.end_time*1e3],t.start_time=k(e.start_time*1e3),t.end_time=k(e.end_time*1e3))}).catch(u=>{n.error(u.msg)})}function k(u){let e=new Date(u),U=e.getFullYear()+"-",F=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",s=e.getDate()<10?"0"+e.getDate():e.getDate(),g=(e.getHours()<10?"0"+e.getHours():e.getHours())+":",d=(e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes())+":",c=e.getSeconds()<10?"0"+e.getSeconds():e.getSeconds();return U+F+s+" "+g+d+c}function O(){if(!t.coupon_title)return n.error("请输入优惠券名称");if(t.type===2&&!t.product_id)return n.error("请选择商品");if(t.type===1&&!t.category_id)return n.error("请选择品类");if(t.coupon_price<=0)return n.error("优惠券面值不能小于0");if(!C.value)t.use_min_price=0;else if(t.use_min_price<1)return n.error("优惠券最低消费不能小于0");if(V.value){if(t.start_use_time=0,t.end_use_time=0,t.coupon_time<1)return n.error("使用有效期限不能小于1天")}else if(t.coupon_time=0,!t.start_use_time)return n.error("请选择使用有效期限");if(M.value){if(!t.start_time)return n.error("请选择领取时间")}else t.start_time=0,t.end_time=0;if(t.is_permanent)t.total_count=0;else if(t.total_count<1)return n.error("发布数量不能小于1");if(t.receive_limit<1)return n.error("每个用户可以领取数量不能小于1");t.type==0?(t.product_id="",t.category_id="",f.value=[]):t.type==1?(t.product_id="",f.value=[]):t.type==2&&(t.category_id=""),!D.value&&(D.value=!0,be(t).then(u=>{n.success(u.msg),setTimeout(()=>{D.value=!1,z.push({path:T.routePre+"/marketing/store_coupon_issue/index"})},1e3)}).catch(u=>{D.value=!1,n.error(u.msg)}))}function W(u){t.start_use_time=u[0],t.end_use_time=u[1]}function Z(u){t.start_time=u[0],t.end_time=u[1]}function J(u){const e=new Map;return u.filter(U=>!e.has(U.product_id)&&e.set(U.product_id,1))}function K(u){Y.value=!1,f.value=J(f.value.concat(u)),t.product_id="",f.value.forEach(e=>{t.product_id?t.product_id+=`,${e.product_id}`:t.product_id+=`${e.product_id}`})}function Q(u){for(let e=0;e{t.product_id?t.product_id+=`,${e.product_id}`:t.product_id+=`${e.product_id}`})}return(u,e)=>{const U=p("pages-header"),F=p("el-input"),s=p("el-form-item"),g=p("el-input-number"),d=p("el-radio"),c=p("el-radio-group"),X=p("el-cascader"),E=p("el-date-picker"),h=p("el-button"),ee=p("el-form"),te=p("el-card"),le=p("el-dialog"),ae=N("lazy"),I=N("db-click");return b(),H("div",null,[l(U,{ref_key:"pageHeader",ref:A,title:P(w).params.id&&r.value?"编辑优惠券":"添加优惠券",backUrl:P(T).routePre+"/marketing/store_coupon_issue/index"},null,8,["title","backUrl"]),l(te,{bordered:!1,shadow:"never",class:"mt16"},{default:a(()=>[l(ee,{model:t,"label-width":"160px"},{default:a(()=>[l(s,{label:"优惠券名称:"},{default:a(()=>[l(F,{modelValue:t.coupon_title,"onUpdate:modelValue":e[0]||(e[0]=o=>t.coupon_title=o),maxlength:"18","show-word-limit":"",placeholder:"请输入优惠券名称",class:"content_width"},null,8,["modelValue"])]),_:1}),l(s,{label:"优惠券面值:"},{default:a(()=>[l(g,{controls:!1,min:1,max:9999999999,modelValue:t.coupon_price,"onUpdate:modelValue":e[1]||(e[1]=o=>t.coupon_price=o),class:"input-number-unit-class","class-unit":"元",disabled:r.value},null,8,["modelValue","disabled"])]),_:1}),l(s,{label:"用户类型:"},{default:a(()=>[l(c,{modelValue:t.user_type,"onUpdate:modelValue":e[2]||(e[2]=o=>t.user_type=o),disabled:r.value,onInput:j},{default:a(()=>[l(d,{label:1,value:1},{default:a(()=>[...e[19]||(e[19]=[i("普通用户",-1)])]),_:1}),l(d,{label:2,value:2},{default:a(()=>[...e[20]||(e[20]=[i("付费会员用户",-1)])]),_:1})]),_:1},8,["modelValue","disabled"]),e[21]||(e[21]=m("div",{class:"tip"},[i(" 普通用户:所有用户都能获取到的优惠券;"),m("br"),i(" 付费会员用户:仅付费会员才能领取的优惠券; ")],-1))]),_:1}),_(l(s,{label:"发送方式:"},{default:a(()=>[l(c,{modelValue:t.receive_type,"onUpdate:modelValue":e[3]||(e[3]=o=>t.receive_type=o),disabled:r.value},{default:a(()=>[l(d,{label:1,value:1},{default:a(()=>[...e[22]||(e[22]=[i("用户领取",-1)])]),_:1}),l(d,{label:3,value:3},{default:a(()=>[...e[23]||(e[23]=[i("系统赠送",-1)])]),_:1})]),_:1},8,["modelValue","disabled"]),e[24]||(e[24]=m("div",{class:"tip"},[i(" 用户领取:用户需要手动领取优惠券;"),m("br"),i(" 系统赠送:1.后台发放指定用户。2.添加到商品里面用户购买该商品获得。3.设置新人礼页面新用户注册赠送优惠券; ")],-1))]),_:1},512),[[y,t.user_type==1]]),l(s,{label:"优惠劵类型:"},{default:a(()=>[l(c,{modelValue:t.type,"onUpdate:modelValue":e[4]||(e[4]=o=>t.type=o),disabled:r.value},{default:a(()=>[l(d,{label:0,value:0},{default:a(()=>[...e[25]||(e[25]=[i("通用券",-1)])]),_:1}),l(d,{label:1,value:1},{default:a(()=>[...e[26]||(e[26]=[i("品类券",-1)])]),_:1}),l(d,{label:2,value:2},{default:a(()=>[...e[27]||(e[27]=[i("商品券",-1)])]),_:1})]),_:1},8,["modelValue","disabled"])]),_:1}),_(l(s,null,{default:a(()=>[m("div",ye,[(b(!0),H(ue,null,ie(f.value,(o,oe)=>(b(),H("div",{key:oe,class:"pictrue"},[_(m("img",null,null,512),[[ae,o.image]]),t.type==2&&!t.id?_((b(),H("i",{key:0,class:"el-icon-error btndel",onClick:Ue=>Q(o.product_id)},null,8,ge)),[[I]]):x("",!0)]))),128)),t.type==2&&!t.id?_((b(),H("div",{key:0,class:"upLoad acea-row row-center-wrapper",onClick:e[5]||(e[5]=o=>Y.value=!0)},[...e[28]||(e[28]=[m("i",{class:"el-icon-goods",style:{"font-size":"24px"}},null,-1)])])),[[I]]):x("",!0)])]),_:1},512),[[y,t.type===2]]),_(l(s,null,{default:a(()=>[l(X,{modelValue:t.category_id,"onUpdate:modelValue":e[6]||(e[6]=o=>t.category_id=o),options:B.value,props:{multiple:!0,emitPath:!1,checkStrictly:!0},clearable:"",style:{width:"320px"},disabled:r.value},null,8,["modelValue","options","disabled"]),e[29]||(e[29]=m("div",{class:"tip"},"选择商品的品类",-1))]),_:1},512),[[y,t.type===1]]),l(s,{label:"使用门槛:"},{default:a(()=>[l(c,{modelValue:C.value,"onUpdate:modelValue":e[7]||(e[7]=o=>C.value=o),disabled:r.value},{default:a(()=>[l(d,{label:0,value:0},{default:a(()=>[...e[30]||(e[30]=[i("无门槛",-1)])]),_:1}),l(d,{label:1,value:1},{default:a(()=>[...e[31]||(e[31]=[i("有门槛",-1)])]),_:1})]),_:1},8,["modelValue","disabled"])]),_:1}),C.value?(b(),S(s,{key:0},{default:a(()=>[l(g,{controls:!1,min:0,max:9999999999,modelValue:t.use_min_price,"onUpdate:modelValue":e[8]||(e[8]=o=>t.use_min_price=o),class:"input-number-unit-class",disabled:r.value,"class-unit":"元"},null,8,["modelValue","disabled"]),e[32]||(e[32]=m("div",{class:"tip"},"填写优惠券的最低消费金额",-1))]),_:1})):x("",!0),l(s,{label:"有效期:"},{default:a(()=>[l(c,{modelValue:V.value,"onUpdate:modelValue":e[9]||(e[9]=o=>V.value=o),disabled:r.value},{default:a(()=>[l(d,{label:1,value:1},{default:a(()=>[...e[33]||(e[33]=[i("天数",-1)])]),_:1}),l(d,{label:0,value:0},{default:a(()=>[...e[34]||(e[34]=[i("时间段",-1)])]),_:1})]),_:1},8,["modelValue","disabled"])]),_:1}),_(l(s,{label:""},{default:a(()=>[l(g,{controls:!1,min:0,modelValue:t.coupon_time,"onUpdate:modelValue":e[10]||(e[10]=o=>t.coupon_time=o),precision:0,class:"input-number-unit-class",disabled:r.value,"class-unit":"天"},null,8,["modelValue","disabled"]),e[35]||(e[35]=m("div",{class:"tip"},"领取后多少天内有效",-1))]),_:1},512),[[y,V.value]]),_(l(s,{label:""},{default:a(()=>[l(E,{modelValue:L.value,"onUpdate:modelValue":e[11]||(e[11]=o=>L.value=o),disabled:r.value,clearable:"",editable:!1,type:"datetimerange","value-format":"YYYY-MM-DD HH:mm:ss",style:{width:"380px"},"range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期",onChange:W},null,8,["modelValue","disabled"])]),_:1},512),[[y,!V.value]]),t.receive_type!=2&&t.receive_type!=3?(b(),S(s,{key:1,label:"领取时间:"},{default:a(()=>[l(c,{modelValue:M.value,"onUpdate:modelValue":e[12]||(e[12]=o=>M.value=o),disabled:r.value},{default:a(()=>[l(d,{label:1,value:1},{default:a(()=>[...e[36]||(e[36]=[i("限时",-1)])]),_:1}),l(d,{label:0,value:0},{default:a(()=>[...e[37]||(e[37]=[i("不限时",-1)])]),_:1})]),_:1},8,["modelValue","disabled"])]),_:1})):x("",!0),_(l(s,{label:""},{default:a(()=>[l(E,{clearable:"",modelValue:$.value,"onUpdate:modelValue":e[13]||(e[13]=o=>$.value=o),type:"datetimerange","value-format":"YYYY/MM/DD HH:mm:ss",style:{width:"380px"},"range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期",onChange:Z,disabled:r.value},null,8,["modelValue","disabled"])]),_:1},512),[[y,M.value&&t.receive_type!=2&&t.receive_type!=3]]),_(l(s,{label:"优惠券发布数量:"},{default:a(()=>[l(c,{modelValue:t.is_permanent,"onUpdate:modelValue":e[14]||(e[14]=o=>t.is_permanent=o),disabled:r.value},{default:a(()=>[l(d,{label:0,value:0},{default:a(()=>[...e[38]||(e[38]=[i("限量",-1)])]),_:1}),l(d,{label:1,value:1},{default:a(()=>[...e[39]||(e[39]=[i("不限量",-1)])]),_:1})]),_:1},8,["modelValue","disabled"])]),_:1},512),[[y,t.receive_type==1]]),_(l(s,{label:""},{default:a(()=>[l(g,{controls:!1,min:r.value?t.total_count:1,max:9999999999,modelValue:t.total_count,"onUpdate:modelValue":e[15]||(e[15]=o=>t.total_count=o),precision:0,class:"input-number-unit-class","class-unit":"张"},null,8,["min","modelValue"]),e[40]||(e[40]=m("div",{class:"tip"},"填写优惠券的发布数量",-1))]),_:1},512),[[y,!t.is_permanent]]),t.receive_type!=2&&t.receive_type!=3?(b(),S(s,{key:2,label:"用户领取数量:"},{default:a(()=>[l(g,{controls:!1,min:r.value?t.receive_limit:1,max:9999999999,modelValue:t.receive_limit,"onUpdate:modelValue":e[16]||(e[16]=o=>t.receive_limit=o),precision:0,class:"input-number-unit-class","class-unit":"张"},null,8,["min","modelValue"]),e[41]||(e[41]=m("div",{class:"tip"},"填写每个用户可以领取多少张",-1))]),_:1})):x("",!0),l(s,{label:"状态:"},{default:a(()=>[l(c,{modelValue:t.status,"onUpdate:modelValue":e[17]||(e[17]=o=>t.status=o)},{default:a(()=>[l(d,{label:1,value:1},{default:a(()=>[...e[42]||(e[42]=[i("开启",-1)])]),_:1}),l(d,{label:0,value:0},{default:a(()=>[...e[43]||(e[43]=[i("关闭",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),l(s,null,{default:a(()=>[_((b(),S(h,{type:"primary",onClick:O,disabled:D.value},{default:a(()=>[i(se(r.value?"立即保存":"立即创建"),1)]),_:1},8,["disabled"])),[[I]])]),_:1})]),_:1},8,["model"])]),_:1}),l(le,{modelValue:Y.value,"onUpdate:modelValue":e[18]||(e[18]=o=>Y.value=o),title:"商品列表",class:"paymentFooter",width:"1000px"},{default:a(()=>[Y.value?(b(),S(P(ve),{key:0,ref_key:"goodslist",ref:R,ischeckbox:!0,onGetProductId:K},null,512)):x("",!0)]),_:1},8,["modelValue"])])}}}),$e=ne(Ve,[["__scopeId","data-v-4ae8b60c"]]);export{$e as default}; diff --git a/backend/public/admin/system_static/create-Do0womH6.js b/backend/public/admin/system_static/create-Do0womH6.js new file mode 100644 index 000000000..9448b3c7b --- /dev/null +++ b/backend/public/admin/system_static/create-Do0womH6.js @@ -0,0 +1 @@ +import{a as De,Z as x,s as q,y as k,z as T,j as l,C as o,W as z,l as d,u as O,k as r,ac as K,am as Le,an as ze,A as i,F as Oe,D as Ye,B as I,ab as X,$ as y,a0 as S,H as Be,p as Y}from"./element-plus-C_ZDq0cz.js";import{_ as $e,a as Fe,k as Re,b as Ge,h as We,S as He}from"./index-DHL7RTL2.js";import Je from"./index-CYgESPmX.js";import{seckillTimeListApi as Qe,seckillActivityInfoApi as Ze,seckillActivityAddApi as je}from"./api-DEOgbDDm.js";import{f as Ke}from"./index-qanQGPk7.js";import{s as Xe}from"./index-FXNuAOau.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./index-C2Zmd2Xm.js";/* empty css */const el={class:"acea-row row-between-wrapper"},ll={class:"goodsWord"},tl={class:"vxeTable"},al={class:"flex imgPic row-middle"},ol={class:"pictrue"},nl={class:"info"},sl={class:"line2"},il={key:0},ul=["onClick"],dl=Object.assign({name:"seckillActivityCreate"},{__name:"create",setup(rl){const P=Ge(),ee=We(),le=He.routePre,te=Fe(),ae=d(null),oe=d(null),D=d(null),ne=d(null),se=d(null),B=Y(()=>te.isMobile),$=Y(()=>B.value?void 0:"135px"),F=Y(()=>B.value?"top":"right"),ie=d(["填写基础信息","选择秒杀商品"]),E=d(!1),M=d(!1),m=d(0),N=d(!1),A=d(!1),ue={xl:12,lg:20,md:24,sm:24,xs:24},u=d({title:"",section_time:[],time_ids:[],num:0,once_num:0,status:1,is_commission:0,product_infos:[]}),f=d({price:"",quota:""}),de=d([]),R=d([]),g=d(!1),c=d([]),w=d([]),p=d([]),U=d("");De(()=>{P.params.id&&(m.value=0,Ce()),G(),ke()});function re(t){m.value=t}function ce(){N.value=!0}function pe(){A.value=!0}function me(t){w.value.length?(w.value.forEach((a,s)=>{t.id==a.id&&w.value.splice(s,1)}),p.value.forEach((a,s)=>{if(t.id==a.id)return p.value.splice(s,1)})):p.value.forEach((a,s)=>{if(t.id==a.id)return p.value.splice(s,1)});let e=c.value.indexOf(t.id);e!==-1&&c.value.splice(e,1)}function fe(){g.value?p.value=[]:p.value=p.value.filter(t=>!c.value.some(e=>e===t.id)),c.value=[],g.value=!1}function ve(){f.value.price="",f.value.quota=""}function _e(){let t=[];p.value.forEach(e=>{e.store_name.indexOf(U.value)!=-1&&t.push(e)}),w.value=U.value?t:[]}function be(){g.value=D.value.isAllCheckboxChecked(),g.value||(c.value=[])}function ge(t){let e=parseInt(t.rowid);if(t.row.product_id){let a=c.value.indexOf(t.row.product_id);a!==-1&&!t.checked&&(c.value=c.value.filter(s=>s!==t.row.product_id)),a===-1&&t.checked&&c.value.push(t.row.product_id)}else{let a=c.value.indexOf(e);a!==-1&&!t.checked&&(c.value=c.value.filter(s=>s!==e)),a===-1&&t.checked&&c.value.push(e)}g.value=D.value.isAllCheckboxChecked()}function he(t){if(t.parent===1&&t.quota>0&&t.attrs&&t.attrs.length){const e=t.attrs.reduce((s,_)=>s+(Number(_.stock)||0),0);let a=0;t.attrs.forEach((s,_)=>{const v=Number(s.stock)||1;let C;_===t.attrs.length-1?C=t.quota-a:(C=Math.floor(t.quota*v/e),a+=C),s.quota=Math.max(C,1)})}}function ke(){Qe().then(t=>{R.value=t.data.list.data}).catch(t=>{x.error(t.msg)})}function G(){Re().then(t=>{de.value=t.data})}function Ve(t){N.value=!1;let e=JSON.parse(JSON.stringify(t));e.forEach(a=>{a.parent=1,a.status=1,a.isAllChecked=!0,a.attrs.forEach(s=>{s.cate_name=a.cate_name,s.store_label=a.store_label,s.status=1,s.quota||(s.quota=Number(s.stock)||1)}),a.quota||(a.quota=a.attrs.reduce((s,_)=>s+(Number(_.quota)||0),0))}),p.value=xe(p.value.concat(e))}function xe(t){const e=new Map;return t.filter(a=>!e.has(a.id)&&e.set(a.id,1))}function ye(){if(f.value.price==""&&f.value.quota=="")return x.error("请输入秒杀价或限量");const t=a=>{a.attrs&&a.attrs.length&&(a.quota=a.attrs.reduce((s,_)=>s+(Number(_.quota)||0),0))};(g.value?p.value:p.value.filter(a=>c.value.includes(a.id))).forEach(a=>{a.attrs.forEach(s=>{f.value.price!=""&&(s.price=f.value.price),f.value.quota!=""&&s.status&&(s.quota=f.value.quota)}),t(a)}),A.value=!1}function we(t){u.value.section_time=t}function Ce(){M.value=!0,Ze(P.params.id).then(async t=>{u.value=t.data,p.value=t.data.product_infos,p.value.forEach(e=>{e.parent=1,e.isAllChecked=!0,e.attrs.forEach(a=>{a.cate_name=e.cate_name,a.store_label=e.store_label}),e.attrs&&e.attrs.length&&(e.quota=e.attrs.reduce((a,s)=>a+(Number(s.quota)||0),0))}),M.value=!1}).catch(t=>{M.value=!1,x.error(t.msg)})}function qe(t){if(m.value===1){u.value.id=Number(P.params.id)||0,E.value=!0;let e=[];p.value.forEach(a=>{e.push({id:a.id,status:a.status,attrs:a.attrs}),u.value.product_infos=e}),je(u.value).then(async a=>{E.value=!1,x.success(a.msg),setTimeout(()=>{ee.push({path:le+"/marketing/seckill/activity"})},500)}).catch(a=>{E.value=!1,x.error(a.msg)})}else{if(m.value===0&&!u.value.section_time.length)return x.warning("请选择活动时间");if(m.value===0&&!u.value.time_ids.length)return x.warning("请选择秒杀时间段");m.value+=1}}function Ae(){m.value--}return(t,e)=>{const a=r("pages-header"),s=r("el-col"),_=r("el-input"),v=r("el-form-item"),C=r("el-date-picker"),Ue=r("el-option"),Se=r("el-select"),W=r("el-input-number"),L=r("el-switch"),V=r("el-button"),b=r("vxe-column"),Ee=r("viewer"),Me=r("el-tooltip"),H=r("vxe-input"),Ne=r("vxe-table"),J=r("el-row"),Q=r("el-form"),Te=r("el-card"),Z=r("el-dialog"),Ie=O("lazy"),j=O("db-click"),Pe=O("loading");return q((k(),T("div",null,[l(a,{ref_key:"pageHeader",ref:ae,title:t.$route.params.id?"编辑秒杀活动":"添加秒杀活动",backUrl:t.$routeProStr+"/marketing/seckill/activity"},null,8,["title","backUrl"]),l(Te,{bordered:!1,shadow:"never",class:"mt16"},{default:o(()=>[l(J,{class:"mt30 acea-row row-middle row-center"},{default:o(()=>[l(s,{span:20},{default:o(()=>[l(z(Xe),{stepList:ie.value,isActive:m.value,onStepActive:re},null,8,["stepList","isActive"])]),_:1}),l(s,{span:23},{default:o(()=>[l(Q,{class:"form mt30",ref_key:"formValidateRef",ref:oe,model:u.value,"label-width":$.value,"label-position":F.value,onSubmit:e[9]||(e[9]=K(()=>{},["prevent"]))},{default:o(()=>[q(l(s,null,{default:o(()=>[l(s,{span:24},{default:o(()=>[l(s,Le(ze(ue)),{default:o(()=>[l(v,{label:"活动标题:","label-for":"title"},{default:o(()=>[l(_,{clearable:"",placeholder:"请输入活动标题",modelValue:u.value.title,"onUpdate:modelValue":e[0]||(e[0]=n=>u.value.title=n),class:"content_width",maxlength:"80","show-word-limit":""},null,8,["modelValue"])]),_:1})]),_:1},16)]),_:1}),l(s,{span:24},{default:o(()=>[l(v,{label:"活动时间:"},{default:o(()=>[i("div",null,[l(C,{clearable:"",editable:!1,type:"daterange",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期",onChange:we,class:"content_width",modelValue:u.value.section_time,"onUpdate:modelValue":e[1]||(e[1]=n=>u.value.section_time=n)},null,8,["modelValue"]),e[16]||(e[16]=i("div",{class:"grey"},"设置活动开启结束时间,用户可以在有效时间内参与秒杀",-1))])]),_:1})]),_:1}),l(s,{span:24},{default:o(()=>[l(v,{label:"开始时间:"},{default:o(()=>[i("div",null,[l(Se,{modelValue:u.value.time_ids,"onUpdate:modelValue":e[2]||(e[2]=n=>u.value.time_ids=n),multiple:"",class:"content_width"},{default:o(()=>[(k(!0),T(Oe,null,Ye(R.value,n=>(k(),I(Ue,{value:n.id,key:n.id,label:n.time_name},null,8,["value","label"]))),128))]),_:1},8,["modelValue"]),e[17]||(e[17]=i("div",{class:"grey"}," 选择产品开始时间段,该时间段内用户可参与购买;其它时间段会显示活动未开始或已结束。如活动超过一天,则活动期内,每天都会定时开启 ",-1))])]),_:1})]),_:1}),l(s,{span:24},{default:o(()=>[l(v,{label:"总购买数量限制:"},{default:o(()=>[i("div",null,[l(W,{controls:!1,min:1,placeholder:"请输入数量限制","element-id":"num",precision:0,max:1e4,modelValue:u.value.num,"onUpdate:modelValue":e[3]||(e[3]=n=>u.value.num=n),class:"content_width"},null,8,["modelValue"]),e[18]||(e[18]=i("div",{class:"grey"}," 活动有效期内每个用户可购买该商品总数限制。例如设置为4,表示本次活动有效期内,每个用户最多可购买总数4个 ",-1))])]),_:1})]),_:1}),l(s,{span:24},{default:o(()=>[l(v,{label:"单次购买数量限制:"},{default:o(()=>[i("div",null,[l(W,{controls:!1,min:1,placeholder:"请输入单次购买数量限制","element-id":"once_num",precision:0,max:1e4,modelValue:u.value.once_num,"onUpdate:modelValue":e[4]||(e[4]=n=>u.value.once_num=n),class:"content_width"},null,8,["modelValue"]),e[19]||(e[19]=i("div",{class:"grey"}," 用户参与秒杀时,一次购买最大数量限制。例如设置为2,表示参与秒杀时,用户一次购买数量最大可选择2个 ",-1))])]),_:1})]),_:1}),l(s,{span:24},{default:o(()=>[l(v,{label:"秒杀是否参与分销:","label-for":"is_commission"},{default:o(()=>[i("div",null,[l(L,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:u.value.is_commission,"onUpdate:modelValue":e[5]||(e[5]=n=>u.value.is_commission=n),size:"large","active-text":"开启","inactive-text":"关闭"},null,8,["modelValue"]),e[20]||(e[20]=i("div",{class:"grey"},"商品是否参与商城分销返佣",-1))])]),_:1})]),_:1}),l(s,{span:24},{default:o(()=>[l(v,{label:"活动状态:","label-for":"status"},{default:o(()=>[l(L,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:u.value.status,"onUpdate:modelValue":e[6]||(e[6]=n=>u.value.status=n),size:"large","active-text":"开启","inactive-text":"关闭"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1},512),[[X,m.value===0]]),q(l(J,null,{default:o(()=>[l(s,{span:24},{default:o(()=>[i("div",el,[i("div",null,[l(V,{type:"primary",onClick:ce},{default:o(()=>[...e[21]||(e[21]=[y("添加商品",-1)])]),_:1}),l(V,{onClick:pe,class:"ml20",disabled:!g.value&&!c.value.length},{default:o(()=>[...e[22]||(e[22]=[y(" 批量设置 ",-1)])]),_:1},8,["disabled"]),l(V,{onClick:fe,class:"ml20",disabled:!g.value&&!c.value.length},{default:o(()=>[...e[23]||(e[23]=[y(" 批量删除 ",-1)])]),_:1},8,["disabled"])]),i("div",ll,[l(v,{label:"商品搜索:"},{default:o(()=>[l(_,{class:"w_input240",modelValue:U.value,"onUpdate:modelValue":e[7]||(e[7]=n=>U.value=n),placeholder:"请输入商品关键词",onInput:_e},null,8,["modelValue"])]),_:1})])])]),_:1}),l(s,{span:24},{default:o(()=>[i("div",tl,[l(Ne,{border:"inner",ref_key:"xTree",ref:D,"column-config":{resizable:!0},"tree-config":{childrenField:"attrs",reserve:!0},onCheckboxAll:be,onCheckboxChange:ge,data:w.value.length||U.value?w.value:p.value,"row-config":{keyField:"id"}},{default:o(()=>[l(b,{type:"checkbox",title:"多选",width:"100","tree-node":""}),l(b,{field:"info",title:"商品信息","min-width":"300"},{default:o(({row:n})=>[i("div",al,[l(Ee,null,{default:o(()=>[i("div",ol,[q(i("img",null,null,512),[[Ie,n.parent==1?n.image:n.pic]])])]),_:2},1024),i("div",nl,[l(Me,{"max-width":"200",placement:"bottom",transfer:""},{content:o(()=>[i("p",null,S(n.store_name)+S(n.suk),1)]),default:o(()=>[i("span",sl,S(n.store_name)+S(n.suk),1)]),_:2},1024)])])]),_:1}),l(b,{field:"cost",title:"成本价","min-width":"80"}),l(b,{field:"product_price",title:"售价","min-width":"80"}),l(b,{field:"price",title:"秒杀价","min-width":"150"},{default:o(({row:n})=>[n.parent==1?(k(),T("div",il,"——")):(k(),I(H,{key:1,modelValue:n.price,"onUpdate:modelValue":h=>n.price=h,min:"0",placeholder:"请输入秒杀价",type:"float",digits:"2",step:"1"},null,8,["modelValue","onUpdate:modelValue"]))]),_:1}),l(b,{field:"quota",title:"限量","min-width":"150"},{default:o(({row:n})=>[l(H,{modelValue:n.quota,"onUpdate:modelValue":h=>n.quota=h,min:"0",placeholder:"请输入限量",type:"integer",onInput:h=>he(n)},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:1}),l(b,{field:"stock",title:"库存","min-width":"90"}),l(b,{field:"status",title:"是否开启","min-width":"100"},{default:o(({row:n})=>[l(L,{modelValue:n.status,"onUpdate:modelValue":h=>n.status=h,"active-value":1,"inactive-value":0,size:"large"},{open:o(()=>[...e[24]||(e[24]=[i("span",null,"上架",-1)])]),close:o(()=>[...e[25]||(e[25]=[i("span",null,"下架",-1)])]),_:1},8,["modelValue","onUpdate:modelValue"])]),_:1}),l(b,{field:"date",title:"操作","min-width":"100",fixed:"right",align:"center"},{default:o(({row:n})=>[n.parent==1?(k(),T("a",{key:0,onClick:h=>me(n,h)},"删除",8,ul)):Be("",!0)]),_:1})]),_:1},8,["data"])])]),_:1})]),_:1},512),[[X,m.value===1]]),l(s,{class:"mt20",span:24},{default:o(()=>[l(v,null,{default:o(()=>[q((k(),I(V,{class:"submission",onClick:Ae,disabled:m.value===0},{default:o(()=>[...e[26]||(e[26]=[y("上一步",-1)])]),_:1},8,["disabled"])),[[j]]),q((k(),I(V,{disabled:E.value&&m.value===1,type:"primary",class:"submission",onClick:e[8]||(e[8]=n=>qe("formValidate"))},{default:o(()=>[y(S(m.value===1?"提交":"下一步"),1)]),_:1},8,["disabled"])),[[j]])]),_:1})]),_:1})]),_:1},8,["model","label-width","label-position"])]),_:1})]),_:1})]),_:1}),l(Z,{modelValue:N.value,"onUpdate:modelValue":e[10]||(e[10]=n=>N.value=n),title:"商品列表",class:"paymentFooter",width:"1000px"},{default:o(()=>[l(z(Je),{ref_key:"goodslist",ref:ne,ischeckbox:!0,isdiy:"",goodsType:1,onGetProductId:Ve},null,512)]),_:1},8,["modelValue"]),l(z(Ke),{ref_key:"template",ref:se,onAddSuccess:G},null,512),l(Z,{modelValue:A.value,"onUpdate:modelValue":e[15]||(e[15]=n=>A.value=n),title:"批量设置",onClose:ve},{footer:o(()=>[i("div",null,[l(V,{onClick:e[14]||(e[14]=n=>A.value=!1)},{default:o(()=>[...e[27]||(e[27]=[y("取消",-1)])]),_:1}),l(V,{type:"primary",onClick:ye},{default:o(()=>[...e[28]||(e[28]=[y("保存",-1)])]),_:1})])]),default:o(()=>[l(Q,{model:f.value,"label-width":$.value,"label-position":F.value,onSubmit:e[13]||(e[13]=K(()=>{},["prevent"]))},{default:o(()=>[l(v,{label:"秒杀价:",prop:"price"},{default:o(()=>[l(_,{class:"w_input315",modelValue:f.value.price,"onUpdate:modelValue":e[11]||(e[11]=n=>f.value.price=n),min:"0",placeholder:"请输入秒杀价",type:"float",digits:"2",step:"1"},null,8,["modelValue"])]),_:1}),l(v,{label:"限量:",prop:"quota"},{default:o(()=>[l(_,{class:"w_input315",modelValue:f.value.quota,"onUpdate:modelValue":e[12]||(e[12]=n=>f.value.quota=n),min:"0",placeholder:"请输入限量",type:"integer"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","label-width","label-position"])]),_:1},8,["modelValue"])])),[[Pe,M.value]])}}}),xl=$e(dl,[["__scopeId","data-v-8854c834"]]);export{xl as default}; diff --git a/backend/public/admin/system_static/create-DzEeMplL.css b/backend/public/admin/system_static/create-DzEeMplL.css new file mode 100644 index 000000000..c46747ed5 --- /dev/null +++ b/backend/public/admin/system_static/create-DzEeMplL.css @@ -0,0 +1 @@ +.pictrueBox[data-v-1fb15ed5]{display:inline-block}.pictrue[data-v-1fb15ed5]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:15px;display:inline-block;position:relative;cursor:pointer}.pictrue img[data-v-1fb15ed5]{width:100%;height:100%}.pictrue .btndel[data-v-1fb15ed5]{position:absolute;z-index:1;width:20px!important;height:20px!important;left:46px;top:-4px}.upload-list[data-v-1fb15ed5]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer;position:relative}.upload-list .el-icon-error[data-v-1fb15ed5]{position:absolute;right:-8px;top:-8px}.upload-list img[data-v-1fb15ed5]{display:block;width:100%;height:100%}.upLoad[data-v-1fb15ed5]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer}.ivu-icon-ios-close-circle[data-v-1fb15ed5]{position:absolute;top:0;right:0;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%)}.grey[data-v-1fb15ed5]{color:#999}.content_width[data-v-5fcf9245]{width:460px}[data-v-5fcf9245] .el-tabs__item{height:54px!important;line-height:54px!important}.custom-label[data-v-5fcf9245]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;line-height:1.5}.grey[data-v-5fcf9245]{color:#999}.percent-warn[data-v-5fcf9245]{color:#f56c6c}.maxW[data-v-5fcf9245] .ivu-select-dropdown{max-width:600px}.ivu-table-wrapper[data-v-5fcf9245]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.tabBox_img[data-v-5fcf9245]{width:50px;height:50px}.tabBox_img img[data-v-5fcf9245]{width:100%;height:100%}.priceBox[data-v-5fcf9245]{width:100%}.form .picBox[data-v-5fcf9245]{display:inline-block;cursor:pointer}.form .pictrue[data-v-5fcf9245]{width:58px;height:58px;border:1px dotted rgba(0,0,0,.1);margin-right:0;display:inline-block;position:relative;cursor:pointer}.form .pictrue img[data-v-5fcf9245]{width:100%;height:100%}.form .pictrue .btndel[data-v-5fcf9245]{position:absolute;z-index:9;font-size:20px;left:46px;top:-4px}.form .upLoad[data-v-5fcf9245]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer}.labelInput[data-v-5fcf9245]{border:1px solid #dcdee2;padding:0 15px;width:460px;border-radius:5px;min-height:30px;cursor:pointer}.labelInput .span[data-v-5fcf9245]{font-size:12px;color:#c5c8ce}.labelInput .ivu-icon-ios-arrow-down[data-v-5fcf9245]{font-size:14px;color:#808695} diff --git a/backend/public/admin/system_static/create-GyDWxhOw.css b/backend/public/admin/system_static/create-GyDWxhOw.css new file mode 100644 index 000000000..b9e1fe128 --- /dev/null +++ b/backend/public/admin/system_static/create-GyDWxhOw.css @@ -0,0 +1 @@ +.content_width[data-v-6ddbb1d0]{width:460px}.QRpic[data-v-6ddbb1d0]{width:180px;height:180px}.QRpic img[data-v-6ddbb1d0]{width:100%;height:100%}.desc[data-v-6ddbb1d0]{font-size:12px;color:#999}.upload-box[data-v-6ddbb1d0]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer}.box[data-v-6ddbb1d0]{width:60px;height:60px;border-radius:4px;cursor:pointer}.box img[data-v-6ddbb1d0]{width:100%;height:100%} diff --git a/backend/public/admin/system_static/create-OOYR2wfy.css b/backend/public/admin/system_static/create-OOYR2wfy.css new file mode 100644 index 000000000..5ec79c96f --- /dev/null +++ b/backend/public/admin/system_static/create-OOYR2wfy.css @@ -0,0 +1 @@ +.content_width[data-v-8854c834]{width:460px}.grey[data-v-8854c834]{color:#999;font-size:12px}.pictrue[data-v-8854c834]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:15px;display:inline-block;position:relative;cursor:pointer}.pictrue img[data-v-8854c834]{width:100%;height:100%}.imgPic[data-v-8854c834]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center} diff --git a/backend/public/admin/system_static/create-bl0RFWlt.js b/backend/public/admin/system_static/create-bl0RFWlt.js new file mode 100644 index 000000000..0bd3b663f --- /dev/null +++ b/backend/public/admin/system_static/create-bl0RFWlt.js @@ -0,0 +1 @@ +import{a as Fe,Z as b,y as u,z as p,j as l,C as o,l as m,k as f,u as F,s as g,B as w,W as M,ac as ee,A as r,H as A,F as le,D as te,am as ae,an as oe,$ as y,a0 as se,ab as ne,p as L,n as Me}from"./element-plus-C_ZDq0cz.js";import{_ as Ne,a as Oe,b as We,h as Ge,S as je,c as He}from"./index-DHL7RTL2.js";import Ke from"./index-CYgESPmX.js";import{W as Ze}from"./index-Beo5Mkpq.js";import{s as Je}from"./index-FXNuAOau.js";import{integralInfoApi as Qe,integralAddApi as Xe,productAttrsApi as Ye}from"./api-CuxUM2v-.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./index-C2Zmd2Xm.js";/* empty css */import"./wangeditor-D-KRDJ3T.js";import"./registerMenus-BIn2m7Us.js";const el={key:0,class:"pictrue"},ll={key:1,class:"upLoad acea-row row-center-wrapper"},tl={key:0,class:"pictrue"},al={key:1,class:"upLoad acea-row row-center-wrapper"},ol={class:"acea-row"},sl=["onDragstart","onDragover","onDragenter","onDragend"],nl=["onClick"],il={class:"acea-row row-middle"},ul={key:0},rl=["onClick"],dl={key:0,class:"pictrue pictrueTab"},ml={key:1,class:"upLoad pictrueTab acea-row row-center-wrapper"},cl=Object.assign({name:"integralProductCreate"},{__name:"create",setup(pl){const x=We(),ie=Ge(),ue=je.routePre,re=Oe(),q=m(null),N=m(null),V=m(null),O=L(()=>re.isMobile),de=L(()=>O.value?void 0:"135px"),me=L(()=>O.value?"top":"right"),C=m(!1),D=m(!1),W=m(""),v=m(0),k=m(!1),ce={xl:12,lg:20,md:24,sm:24,xs:24},pe={xl:8,lg:12,md:12,sm:24,xs:24},ve={xl:6,lg:8,md:12,sm:12,xs:12},fe={xl:4,lg:8,md:8,sm:8,xs:8},ge=m(["选择积分商品","填写基础信息","修改商品详情"]),P=m(!1),_e=m(!1),t=m({images:[],title:"",image:"",unit_name:"",price:0,sales:0,stock:0,sort:0,num:1,once_num:1,is_host:0,is_show:1,description:"",id:0,product_id:0,attrs:[],items:[]}),be=L(()=>{const a=(t.value.title||"").trim();return a?`请围绕商品《${a}》撰写一篇产品推广文章,介绍产品亮点、使用场景与适用人群,结构清晰,800字左右。`:"写一篇产品推广文章,介绍产品亮点、使用场景与适用人群,结构清晰,800字左右。"}),G=m(""),z=m([]),_=m([]),j=m(""),R=m(0),H=m(0),we=m({image:[{required:!0,message:"请选择主图",trigger:"change"}],images:[{required:!0,type:"array",message:"请选择轮播图",trigger:"change"},{type:"array",min:1,message:"至少选择一张轮播图",trigger:"change"}],title:[{required:!0,message:"请输入商品标题",trigger:"blur"}],unit_name:[{required:!0,message:"请输入单位",trigger:"blur"}],num:[{required:!0,type:"number",message:"请输入兑换数量限制",trigger:"blur"}]});let U=null;Fe(()=>{x.params.id&&(H.value=x.params.copy||0,v.value=1,xe())});function he(a){G.value=a}function ke(a){Ye(a.id,4).then(e=>{let i=e.data.info;_.value=i.attrs,_.value.forEach(function(n,d){_.value[d].id=d}),t.value.items=i.items,z.value=i.header}).catch(e=>{b.error(e.msg)})}function ye(a){t.value.attrs=a}function Ve(a){_e.value=!1,P.value=!1,setTimeout(()=>{t.value={images:a.slider_image||[],title:a.store_name,image:a.image,unit_name:a.unit_name,price:0,sales:a.sales,stock:a.stock,sort:a.sort,num:1,once_num:1,is_host:0,is_show:1,description:a.description||"",id:0,product_id:a.id,attrs:[],items:[]},ke(a)},500)}function xe(){D.value=!0,Qe(x.params.id).then(async a=>{let e=a.data.info;t.value=e,t.value.items=e.attrs.items,z.value=e.attrs.header,_.value=e.attrs.value,_.value.forEach(function(n,d){_.value[d].id=d});let i=[];for(let n in e.attrs.value)e.attrs.value[n]._checked&&i.push(e.attrs.value[n]);t.value.attrs=i,i.forEach(n=>{N.value.toggleRowSelection(n,!0)}),D.value=!1}).catch(a=>{D.value=!1,b.error(a.msg)})}function Ce(a){return a.id}function De(a){v.value===2?(t.value.description=G.value,q.value.validate(e=>{if(e)H.value==1&&(t.value.copy=1),t.value.id=Number(x.params.id)||0,C.value=!0,Xe(t.value).then(async i=>{C.value=!1,b.success(i.msg),setTimeout(()=>{ie.push({path:ue+"/marketing/integral/product"})},500)}).catch(i=>{C.value=!1,b.error(i.msg)});else return!1})):v.value===1?q.value.validate(e=>{if(e){if(!t.value.attrs||!t.value.attrs.length)return b.error("请选择属性规格");for(let i in t.value.attrs)if(t.value.attrs[i].quota<=0)return b.error("兑换次数必须大于0");v.value+=1}else return b.warning("请完善您的信息")}):t.value.image?v.value+=1:b.warning("请选择商品")}function Pe(){v.value--}function I(a,e,i){k.value=!0,W.value=a==="dan"?"单选":"多选",j.value=e,R.value=i}function Ue(a){switch(j.value){case"danFrom":t.value.image=a.att_dir;break;default:t.value.attrs&&t.value.attrs.length&&(_.value[R.value]._checked=!0),_.value[R.value].pic=a.att_dir}k.value=!1}function Te(a){a.map(e=>{t.value.images.push(e.att_dir),t.value.images=t.value.images.splice(0,10)}),k.value=!1}function Se(a){t.value.images.splice(a,1)}function Be(){P.value=!0,Me(()=>{V.value.formValidate.is_show=-1,V.value.formValidate.type=7,V.value.getList(),V.value.goodsCategory()})}function Ee(a,e){U=e}function $e(a,e){U=null}function Ae(a){a.dataTransfer.dropEffect="move"}function Le(a,e){if(a.dataTransfer.effectAllowed="move",e===U)return;const i=[...t.value.images],n=i.indexOf(U),d=i.indexOf(e);i.splice(d,0,...i.splice(n,1)),t.value.images=i}return(a,e)=>{const i=f("pages-header"),n=f("el-col"),d=f("el-form-item"),K=f("el-input"),T=f("el-input-number"),S=f("el-radio"),Z=f("el-radio-group"),J=f("el-table-column"),qe=f("el-table"),Q=f("el-row"),X=f("el-button"),ze=f("el-form"),Re=f("el-card"),Y=f("el-dialog"),B=F("lazy"),h=F("db-click"),Ie=F("loading");return u(),p("div",null,[l(i,{title:a.$route.params.id?"编辑积分商品":"添加积分商品",backUrl:a.$routeProStr+"/marketing/integral/product"},null,8,["title","backUrl"]),l(Re,{bordered:!1,shadow:"never",class:"mt16"},{default:o(()=>[g((u(),w(Q,{class:"mt30 acea-row row-middle row-center"},{default:o(()=>[l(n,{span:20},{default:o(()=>[l(M(Je),{stepList:ge.value,isActive:v.value},null,8,["stepList","isActive"])]),_:1}),l(n,{span:23},{default:o(()=>[l(ze,{class:"form mt30",ref_key:"formValidateRef",ref:q,model:t.value,rules:we.value,"label-width":de.value,"label-position":me.value,onSubmit:e[9]||(e[9]=ee(()=>{},["prevent"]))},{default:o(()=>[v.value===0?(u(),w(d,{key:0,label:"选择商品:",prop:"image_input"},{default:o(()=>[g((u(),p("div",{class:"picBox",onClick:Be},[t.value.image?(u(),p("div",el,[g(r("img",null,null,512),[[B,t.value.image]])])):(u(),p("div",ll,[...e[12]||(e[12]=[r("i",{class:"el-icon-goods",style:{"font-size":"24px"}},null,-1)])]))])),[[h]])]),_:1})):A("",!0),g(l(n,null,{default:o(()=>[l(n,{span:24},{default:o(()=>[l(d,{prop:"image"},{label:o(()=>[...e[13]||(e[13]=[r("div",{class:"custom-label"},[r("div",null,[r("div",null,"商品主图"),r("div",null,"(750*750)")]),r("div",null,":")],-1)])]),default:o(()=>[g((u(),p("div",{class:"picBox",onClick:e[0]||(e[0]=s=>I("dan","danFrom"))},[t.value.image?(u(),p("div",tl,[g(r("img",null,null,512),[[B,t.value.image]])])):(u(),p("div",al,[...e[14]||(e[14]=[r("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])]))])),[[h]])]),_:1})]),_:1}),l(n,{span:24},{default:o(()=>[l(d,{prop:"images"},{label:o(()=>[...e[15]||(e[15]=[r("div",{class:"custom-label"},[r("div",null,[r("div",null,"商品轮播图"),r("div",null,"(750*750)")]),r("div",null,":")],-1)])]),default:o(()=>[r("div",ol,[(u(!0),p(le,null,te(t.value.images,(s,E)=>(u(),p("div",{class:"pictrue",key:E,draggable:"true",onDragstart:c=>Ee(c,s),onDragover:ee(c=>Ae(c,s),["prevent"]),onDragenter:c=>Le(c,s),onDragend:c=>$e(c,s)},[g(r("img",null,null,512),[[B,s]]),g(r("i",{class:"el-icon-circle-close btndel",onClick:c=>Se(E)},null,8,nl),[[h]])],40,sl))),128)),t.value.images.length<10?g((u(),p("div",{key:0,class:"upLoad acea-row row-center-wrapper",onClick:e[1]||(e[1]=s=>I("duo"))},[...e[16]||(e[16]=[r("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])])),[[h]]):A("",!0)])]),_:1})]),_:1}),l(n,{span:24},{default:o(()=>[l(n,ae(oe(ce)),{default:o(()=>[l(d,{label:"商品标题:",prop:"title","label-for":"title"},{default:o(()=>[l(K,{placeholder:"请输入商品标题",modelValue:t.value.title,"onUpdate:modelValue":e[2]||(e[2]=s=>t.value.title=s),class:"content_width",maxlength:"80","show-word-limit":""},null,8,["modelValue"])]),_:1})]),_:1},16)]),_:1}),l(n,{span:24},{default:o(()=>[l(d,{label:"用户兑换数量限制:",prop:"num"},{default:o(()=>[r("div",il,[l(T,{controls:!1,min:1,max:9999999999,placeholder:"请输入数量限制","element-id":"num",precision:0,modelValue:t.value.num,"onUpdate:modelValue":e[3]||(e[3]=s=>t.value.num=s),class:"content_width"},null,8,["modelValue"]),e[17]||(e[17]=r("div",{class:"ml10 grey"},"每个用户可购买该商品总数限制",-1))])]),_:1})]),_:1}),l(n,{span:24},{default:o(()=>[l(d,{label:"单位:",prop:"unit_name","label-for":"unit_name"},{default:o(()=>[l(K,{placeholder:"请输入单位","element-id":"unit_name",modelValue:t.value.unit_name,"onUpdate:modelValue":e[4]||(e[4]=s=>t.value.unit_name=s),class:"content_width"},null,8,["modelValue"])]),_:1})]),_:1}),l(n,{span:24},{default:o(()=>[l(d,{label:"排序:"},{default:o(()=>[l(T,{controls:!1,placeholder:"请输入排序","element-id":"sort",precision:0,modelValue:t.value.sort,"onUpdate:modelValue":e[5]||(e[5]=s=>t.value.sort=s),class:"content_width"},null,8,["modelValue"])]),_:1})]),_:1}),l(n,{span:24},{default:o(()=>[l(d,{label:"上架状态:",props:"is_show","label-for":"status"},{default:o(()=>[l(Z,{"element-id":"is_show",modelValue:t.value.is_show,"onUpdate:modelValue":e[6]||(e[6]=s=>t.value.is_show=s)},{default:o(()=>[l(S,{label:1,value:1,class:"radio"},{default:o(()=>[...e[18]||(e[18]=[y("开启",-1)])]),_:1}),l(S,{label:0,value:0},{default:o(()=>[...e[19]||(e[19]=[y("关闭",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(n,ae(oe(pe)),{default:o(()=>[l(d,{label:"热门推荐:",props:"is_host","label-for":"is_host"},{default:o(()=>[l(Z,{"element-id":"is_host",modelValue:t.value.is_host,"onUpdate:modelValue":e[7]||(e[7]=s=>t.value.is_host=s)},{default:o(()=>[l(S,{label:1,value:1,class:"radio"},{default:o(()=>[...e[20]||(e[20]=[y("开启",-1)])]),_:1}),l(S,{label:0,value:0},{default:o(()=>[...e[21]||(e[21]=[y("关闭",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},16),l(n,{span:24},{default:o(()=>[l(d,{label:"规格选择:"},{default:o(()=>[l(qe,{ref_key:"multipleTable",ref:N,data:_.value,border:"","row-key":Ce,class:"mt14","highlight-current-row":"",onSelectionChange:ye},{default:o(()=>[l(J,{type:"selection","reserve-selection":!0,width:"55"}),(u(!0),p(le,null,te(z.value,(s,E)=>(u(),w(J,{label:s.title,"min-width":s.minWidth,key:E},{default:o(c=>[s.key?(u(),p("div",ul,[r("span",null,se(c.row[s.key]),1)])):s.slot==="pic"?g((u(),p("div",{key:1,class:"acea-row row-middle row-center-wrapper",onClick:$=>I("dan","danTable",c.$index)},[c.row.pic?(u(),p("div",dl,[g(r("img",null,null,512),[[B,c.row.pic]])])):(u(),p("div",ml,[...e[22]||(e[22]=[r("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])]))],8,rl)),[[h]]):s.slot==="price"?(u(),w(T,{key:2,controls:!1,modelValue:c.row.price,"onUpdate:modelValue":$=>c.row.price=$,min:0,precision:0,class:"priceBox","active-change":!1},null,8,["modelValue","onUpdate:modelValue"])):s.slot==="quota"?(u(),w(T,{key:3,controls:!1,modelValue:c.row.quota,"onUpdate:modelValue":$=>c.row.quota=$,min:1,class:"priceBox"},null,8,["modelValue","onUpdate:modelValue"])):A("",!0)]),_:2},1032,["label","min-width"]))),128))]),_:1},8,["data"])]),_:1})]),_:1})]),_:1},512),[[ne,v.value===1]]),g(l(Q,null,{default:o(()=>[l(n,{span:24},{default:o(()=>[l(d,{label:"内容:"},{default:o(()=>[l(Ze,{style:{width:"90%"},content:t.value.description,"ai-default-prompt":be.value,onEditorContent:he},null,8,["content","ai-default-prompt"])]),_:1})]),_:1})]),_:1},512),[[ne,v.value===2]]),l(n,{span:24},{default:o(()=>[l(d,null,{default:o(()=>[g((u(),w(X,{class:"submission",onClick:Pe,disabled:a.$route.params.id&&v.value===1||v.value===0},{default:o(()=>[...e[23]||(e[23]=[y("上一步",-1)])]),_:1},8,["disabled"])),[[h]]),g((u(),w(X,{disabled:C.value&&v.value===2,type:"primary",class:"submission",onClick:e[8]||(e[8]=s=>De("formValidate"))},{default:o(()=>[y(se(v.value===2?"提交":"下一步"),1)]),_:1},8,["disabled"])),[[h]])]),_:1})]),_:1})]),_:1},8,["model","rules","label-width","label-position"])]),_:1})]),_:1})),[[Ie,D.value]])]),_:1}),l(Y,{modelValue:P.value,"onUpdate:modelValue":e[10]||(e[10]=s=>P.value=s),title:"商品列表",class:"paymentFooter",width:"1000px"},{default:o(()=>[l(M(Ke),{ref_key:"goodslist",ref:V,onGetProductId:Ve},null,512)]),_:1},8,["modelValue"]),l(Y,{modelValue:k.value,"onUpdate:modelValue":e[11]||(e[11]=s=>k.value=s),width:"950px",title:"上传商品图","close-on-click-modal":!1},{default:o(()=>[k.value?(u(),w(M(He),{key:0,isChoice:W.value,onGetPic:Ue,onGetPicD:Te,gridBtn:fe,gridPic:ve},null,8,["isChoice"])):A("",!0)]),_:1},8,["modelValue"])])}}}),Pl=Ne(cl,[["__scopeId","data-v-e99af1a3"]]);export{Pl as default}; diff --git a/backend/public/admin/system_static/createCode-CYd5sOvE.js b/backend/public/admin/system_static/createCode-CYd5sOvE.js new file mode 100644 index 000000000..4b5491b46 --- /dev/null +++ b/backend/public/admin/system_static/createCode-CYd5sOvE.js @@ -0,0 +1 @@ +import{Z as s,y as u,z as m,j as a,W as h,C as o,l as d,k as i,u as F,F as $,D as E,B as g,A as r,s as f,$ as p,a0 as H,ab as z,H as y}from"./element-plus-C_ZDq0cz.js";import{_ as xe,q as Ce,g as he,S as P,b as Le,h as Ue,o as Se,r as je,t as Be}from"./index-DHL7RTL2.js";import{u as De}from"./index-BroL-9rZ.js";/* empty css */import{n as ze}from"./index-ClezV1By.js";import{userLabelAddApi as Ae}from"./user-Blgc2iHx.js";import{wechatQrcodeDetail as Ie,wechatQrcodeTree as Te,wechatQrcodeSaveApi as Ne}from"./api-DA9KG23L.js";import Oe from"./index-D9y4vq66.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./app-hJ6HxRad.js";const Re={style:{display:"flex"}},qe={style:{width:"90%"}},Me={key:0},Fe={key:1,class:"span"},$e={key:0,class:"pictrue"},Ee={key:1,class:"upLoad acea-row row-center-wrapper"},He={key:0,class:"news-box"},Pe=["src"],Qe={class:"acea-row row-middle"},We=4,Je="600",Ge="10",Ze="98%",Ke=Object.assign({name:"createCode"},{__name:"createCode",setup(Xe){const A=Le(),Q=Ue(),I=P.routePre,T=d(null),w=d(!1),V=d(!1),C=d(!1),W=d([]),J=["jpg","jpeg","png","bmp","gif"],G=["mp3","wma","wav","amr"],N=d({}),Z=P.apiBaseURL+"/file/upload/1",l=d({name:"",type:"text",time:void 0,label_id:[],image:"",cate_id:"",content:{content:"",src:"",list:{}}}),O=d([]),k=d(0),x=d(!1),K={name:[{required:!0,message:"请填写二维码名称",trigger:"blur"}],cate_id:[{required:!0,message:"请选择二维码分组",trigger:"change"}]},L=d(0),c=d([]),R=d(!1);pe(),q(),me(),A.query.id&&(L.value=A.query.id,ae());function X(t){if(l.value.type==="image")return je(t);if(l.value.type==="voice")return Be(t)}function Y(t){V.value=!1,c.value=t}function ee(){V.value=!1}function le(t){V.value=!0,c.value.length&&T.value.userLabel(JSON.parse(JSON.stringify(c.value)))}function te(t){let e=c.value.indexOf(c.value.filter(U=>U.id==t.id)[0]);c.value.splice(e,1)}function ae(){Ie(L.value).then(t=>{l.value=t.data,t.data.time>0&&(k.value=1),t.data.label_id.length&&(c.value=t.data.label_id)})}function oe(){w.value=!0}function ne(){Se(Ae(0)).then(()=>q())}function q(){Ce().then(t=>{W.value=t.data.list}).catch(t=>{s.error(t.msg)})}function ue(t){w.value=!1,l.value.uid=t.uid,l.value.avatar=t.image}function se(t){l.value.content.list=t.new[0],x.value=!1}function ie(){l.value.content.list={}}function re(t,e){t.status===200?(l.value.content.src=t.data.src,s.success(t.msg)):s.error(t.msg)}function de(t){l.value.type==="image"?s.warning("请上传bmp/png/jpeg/jpg/gif格式的图片"):s.warning("请上传mp3/wma/wav/amr格式的语音")}function ce(t){s.warning("请上传文件2M以内的文件")}function me(){N.value["Authori-zation"]="Bearer "+he("token")}function pe(){Te().then(t=>{let e=t.data.data;O.value=e})}function ve(){if(!l.value.name)return s.error("请输入二维码名称");if(!l.value.cate_id)return s.error("请选择分组");if(c.value.length){let t=[];c.value.map(e=>{t.push(e.id)}),l.value.label_id=t}else return s.error("请选择用户标签");if(!l.value.uid)return s.error("请选择推广员");if(k.value){if(l.value.time<1)return s.error("使用有效期限不能小于1天")}else l.value.time=0;if((l.value.type==="text"||l.value.type==="url")&&!l.value.content.content.trim())return s.error("请输入内容");if((l.value.type==="voice"||l.value.type==="image")&&!l.value.content.src.trim())return s.error("请先上传消息");if(l.value.type==="news"&&!l.value.content.list.title.trim())return s.error("请选择图文消息");C.value=!1,R.value=!0,Ne(L.value,l.value).then(t=>{C.value=!0,s.success(t.msg),setTimeout(()=>{Q.push({path:I+"/marketing/channel_code/channelCodeIndex"})},1e3)}).catch(t=>{C.value=!0,s.error(t.msg)})}return(t,e)=>{const U=i("pages-header"),S=i("el-input"),v=i("el-form-item"),fe=i("el-option"),ge=i("el-select"),_e=i("el-tag"),_=i("el-radio"),M=i("el-radio-group"),be=i("el-input-number"),j=i("el-button"),ye=i("el-upload"),we=i("el-form"),Ve=i("el-card"),B=i("el-dialog"),b=F("db-click"),ke=F("lazy");return u(),m("div",null,[a(U,{title:t.$route.meta.title,backUrl:h(I)+"/marketing/channel_code/channelCodeIndex"},null,8,["title","backUrl"]),a(Ve,{bordered:!1,shadow:"never",class:"mt16"},{default:o(()=>[a(we,{model:l.value,"label-width":"100px",rules:K},{default:o(()=>[a(v,{label:"渠道码名称:"},{default:o(()=>[a(S,{clearable:"",modelValue:l.value.name,"onUpdate:modelValue":e[0]||(e[0]=n=>l.value.name=n),placeholder:"请输入渠道码名称",class:"content_width",maxlength:"20","show-word-limit":""},null,8,["modelValue"])]),_:1}),a(v,{label:"渠道码分组:"},{default:o(()=>[a(ge,{clearable:"",modelValue:l.value.cate_id,"onUpdate:modelValue":e[1]||(e[1]=n=>l.value.cate_id=n),class:"content_width"},{default:o(()=>[(u(!0),m($,null,E(O.value,(n,D)=>(u(),g(fe,{value:n.id,key:D,label:n.cate_name},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(v,{label:"用户标签:"},{default:o(()=>[r("div",Re,[f((u(),m("div",{class:"labelInput acea-row row-between-wrapper",onClick:le},[r("div",qe,[c.value.length?(u(),m("div",Me,[(u(!0),m($,null,E(c.value,(n,D)=>(u(),g(_e,{closable:"",onClose:Ye=>te(n),key:D},{default:o(()=>[p(H(n.label_name),1)]),_:2},1032,["onClose"]))),128))])):(u(),m("span",Fe,"选择用户关联标签"))]),e[11]||(e[11]=r("div",{class:"ivu-icon ivu-icon-ios-arrow-down"},null,-1))])),[[b]]),f((u(),m("span",{class:"addfont",onClick:ne},[...e[12]||(e[12]=[p("新增标签",-1)])])),[[b]])])]),_:1}),a(v,{label:"关联推广员:"},{default:o(()=>[f((u(),m("div",{class:"picBox",onClick:oe},[l.value.avatar?(u(),m("div",$e,[f(r("img",null,null,512),[[ke,l.value.avatar]])])):(u(),m("div",Ee,[...e[13]||(e[13]=[r("i",{class:"el-icon-user",style:{"font-size":"24px"}},null,-1)])]))])),[[b]]),e[14]||(e[14]=r("div",{class:"trip"},"扫码注册的新用户,将自动成为此推广员的下级,与分销推广功能一致",-1))]),_:1}),a(v,{label:"有效期:"},{default:o(()=>[a(M,{modelValue:k.value,"onUpdate:modelValue":e[2]||(e[2]=n=>k.value=n)},{default:o(()=>[a(_,{label:0,value:0},{default:o(()=>[...e[15]||(e[15]=[p("永久",-1)])]),_:1}),a(_,{label:1,value:1},{default:o(()=>[...e[16]||(e[16]=[p("有效期",-1)])]),_:1})]),_:1},8,["modelValue"]),f(r("div",null,[a(be,{controls:!1,max:1e4,precision:0,modelValue:l.value.time,"onUpdate:modelValue":e[3]||(e[3]=n=>l.value.time=n),placeholder:"请输入天数",class:"input-number-unit-class","class-unit":"天"},null,8,["modelValue"])],512),[[z,k.value]]),e[17]||(e[17]=r("div",{class:"trip"},"临时码过期后不能再扫码,永久二维码最大创建数量为10万个",-1))]),_:1}),a(v,{label:"回复内容:"},{default:o(()=>[a(M,{modelValue:l.value.type,"onUpdate:modelValue":e[4]||(e[4]=n=>l.value.type=n)},{default:o(()=>[a(_,{label:"text",value:"text"},{default:o(()=>[...e[18]||(e[18]=[p("文字内容",-1)])]),_:1}),a(_,{label:"voice",value:"voice"},{default:o(()=>[...e[19]||(e[19]=[p("声音消息",-1)])]),_:1}),a(_,{label:"image",value:"image"},{default:o(()=>[...e[20]||(e[20]=[p("图片消息",-1)])]),_:1}),a(_,{label:"news",value:"news"},{default:o(()=>[...e[21]||(e[21]=[p("图文消息",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),l.value.type==="text"||l.value.type==="url"?(u(),g(v,{key:0,label:"消息内容:",prop:"content"},{default:o(()=>[a(S,{type:"textarea",rows:"2",clearable:"",modelValue:l.value.content.content,"onUpdate:modelValue":e[5]||(e[5]=n=>l.value.content.content=n),placeholder:l.value.type==="text"?"请填写消息内容":"请填写网址链接",class:"content_width"},null,8,["modelValue","placeholder"])]),_:1})):y("",!0),l.value.type==="news"?(u(),g(v,{key:1,label:"选取图文:"},{default:o(()=>[f((u(),g(j,{onClick:e[6]||(e[6]=n=>x.value=!0)},{default:o(()=>[...e[22]||(e[22]=[p("选择图文消息",-1)])]),_:1})),[[b]]),l.value.content.list.title?(u(),m("div",He,[r("img",{class:"news_pic",src:l.value.content.list.image_input[0]},null,8,Pe),r("span",null,H(l.value.content.list.title),1),f(r("i",{class:"el-icon-error del_icon",onClick:ie},null,512),[[b]])])):y("",!0)]),_:1})):y("",!0),l.value.type==="image"||l.value.type==="voice"?(u(),g(v,{key:2,label:l.value.type==="image"?"图片地址:":"语音地址:",prop:"src"},{default:o(()=>[r("div",Qe,[a(S,{readonly:"readonly",placeholder:"请填入链接地址",class:"content_width mr15",modelValue:l.value.content.src,"onUpdate:modelValue":e[7]||(e[7]=n=>l.value.content.src=n)},null,8,["modelValue"]),a(ye,{"show-file-list":!1,action:Z,"on-success":re,format:l.value.type==="image"?J:G,"max-size":2048,headers:N.value,"on-format-error":de,"on-exceeded-size":ce,class:"mr20",style:{"margin-top":"1px"},accept:"image/*,.mp3","before-upload":X},{default:o(()=>[a(j,{type:"primary"},{default:o(()=>[...e[23]||(e[23]=[p("上传",-1)])]),_:1})]),_:1},8,["format","headers"])]),f(r("span",null,"文件最大2Mb,支持bmp/png/jpeg/jpg/gif格式",512),[[z,l.value.type==="image"]]),f(r("span",null,"文件最大2Mb,支持mp3格式,播放长度不超过60s",512),[[z,l.value.type==="voice"]])]),_:1},8,["label"])):y("",!0),a(v,null,{default:o(()=>[f((u(),g(j,{class:"submit",type:"primary",onClick:ve,loading:R.value,disabled:C.value},{default:o(()=>[...e[24]||(e[24]=[p("立即提交",-1)])]),_:1},8,["loading","disabled"])),[[b]])]),_:1})]),_:1},8,["model"])]),_:1}),a(B,{modelValue:w.value,"onUpdate:modelValue":e[8]||(e[8]=n=>w.value=n),title:"请选择商城用户","show-close":!0,width:"1000px"},{default:o(()=>[w.value?(u(),g(h(Oe),{key:0,onImageObject:ue})):y("",!0)]),_:1},8,["modelValue"]),a(B,{modelValue:x.value,"onUpdate:modelValue":e[9]||(e[9]=n=>x.value=n),title:"发送消息",width:"1200px",class:"modelBox"},{default:o(()=>[x.value?(u(),g(h(ze),{key:0,onGetCentList:se,scrollerHeight:Je,contentTop:Ge,contentWidth:Ze,maxCols:We})):y("",!0)]),_:1},8,["modelValue"]),a(B,{modelValue:V.value,"onUpdate:modelValue":e[10]||(e[10]=n=>V.value=n),scrollable:"",title:"请选择用户标签",closable:!1,width:"540px","footer-hide":!0,"mask-closable":!1},{default:o(()=>[a(h(De),{ref_key:"userLabelRef",ref:T,onActiveData:Y,onClose:ee},null,512)]),_:1},8,["modelValue"])])}}}),ml=xe(Ke,[["__scopeId","data-v-f03cc323"]]);export{ml as default}; diff --git a/backend/public/admin/system_static/createCode-mLfAZj29.css b/backend/public/admin/system_static/createCode-mLfAZj29.css new file mode 100644 index 000000000..5bd4b4ce4 --- /dev/null +++ b/backend/public/admin/system_static/createCode-mLfAZj29.css @@ -0,0 +1 @@ +.content_width[data-v-f03cc323]{width:460px}.ivu-row[data-v-f03cc323]{border:1px solid #f2f2f2}.ivu-form-item[data-v-f03cc323]{padding:10px 0;max-width:1100px}.ivu-form[data-v-f03cc323] .ivu-form-item-label{font-weight:700;font-size:14px!important}.ivu-input-wrapper[data-v-f03cc323]{width:320px}.ivu-radio-wrapper[data-v-f03cc323]{margin-right:30px;font-size:14px!important}.ivu-radio-wrapper[data-v-f03cc323] .ivu-radio{margin-right:10px}.ivu-input-number[data-v-f03cc323]{width:160px}.ivu-date-picker[data-v-f03cc323]{width:320px}.ivu-icon-ios-camera-outline[data-v-f03cc323]{width:58px;height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background-color:#00000005;line-height:58px;cursor:pointer;vertical-align:middle}.upload-list[data-v-f03cc323]{width:58px;height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;margin-right:15px;display:inline-block;position:relative;cursor:pointer;vertical-align:middle}[data-v-f03cc323] .el-tag{margin-right:5px}.upload-list img[data-v-f03cc323]{display:block;width:100%;height:100%}.ivu-icon-ios-close-circle[data-v-f03cc323]{position:absolute;top:0;right:0;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%)}.modelBox[data-v-f03cc323] .ivu-modal-body{padding:0 16px 16px!important}.header-save[data-v-f03cc323]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.trip[data-v-f03cc323]{font-size:12px;color:#ccc}textarea[data-v-f03cc323]{padding:0 5px;border-radius:3px;border-color:#c5c8ce;outline-color:#2d8cf0;font-size:14px}.picBox[data-v-f03cc323]{display:inline-block;cursor:pointer}.picBox .upLoad[data-v-f03cc323]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:#00000005}.picBox .pictrue[data-v-f03cc323]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:10px}.picBox .pictrue img[data-v-f03cc323]{width:100%;height:100%}.picBox .iconfont[data-v-f03cc323]{color:#898989}.addfont[data-v-f03cc323]{display:inline-block;font-size:12px;font-weight:400;color:var(--prev-color-primary);cursor:pointer;margin-left:10px}.iconxiayi[data-v-f03cc323]{font-size:14px}.ivu-page-header-title[data-v-f03cc323]{padding-bottom:0}.news-box[data-v-f03cc323]{width:200px;background-color:#f2f2f2;padding:10px;border-radius:10px;margin-top:20px;position:relative}.news-box .news_pic[data-v-f03cc323]{width:100%;height:150px}.news-box .del_icon[data-v-f03cc323]{position:absolute;right:-8px;top:-8px;cursor:pointer}.labelInput[data-v-f03cc323]{border:1px solid #dcdee2;width:460px;padding:0 15px;border-radius:5px;min-height:30px;cursor:pointer}.labelInput .span[data-v-f03cc323]{font-size:12px;color:#c5c8ce}.labelInput .ivu-icon-ios-arrow-down[data-v-f03cc323]{font-size:14px;color:#808695} diff --git a/backend/public/admin/system_static/crmeb_iconfont-Cc4PHFhh.woff b/backend/public/admin/system_static/crmeb_iconfont-Cc4PHFhh.woff new file mode 100644 index 000000000..5aa9b8ee2 Binary files /dev/null and b/backend/public/admin/system_static/crmeb_iconfont-Cc4PHFhh.woff differ diff --git a/backend/public/admin/system_static/crmeb_iconfont-DISY6zH1.ttf b/backend/public/admin/system_static/crmeb_iconfont-DISY6zH1.ttf new file mode 100644 index 000000000..3aa53d422 Binary files /dev/null and b/backend/public/admin/system_static/crmeb_iconfont-DISY6zH1.ttf differ diff --git a/backend/public/admin/system_static/crmeb_iconfont-e8Tn5Wqb.woff2 b/backend/public/admin/system_static/crmeb_iconfont-e8Tn5Wqb.woff2 new file mode 100644 index 000000000..629ac981f Binary files /dev/null and b/backend/public/admin/system_static/crmeb_iconfont-e8Tn5Wqb.woff2 differ diff --git a/backend/public/admin/system_static/dataList-CWjVmrJO.css b/backend/public/admin/system_static/dataList-CWjVmrJO.css new file mode 100644 index 000000000..fee6a3937 --- /dev/null +++ b/backend/public/admin/system_static/dataList-CWjVmrJO.css @@ -0,0 +1 @@ +.options-list .item[data-v-4bec6a4e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.options-list .item .add[data-v-4bec6a4e]{font-size:18px;cursor:pointer;margin-right:5px}.options-list .item .delete[data-v-4bec6a4e]{font-size:18px;cursor:pointer;color:#fb0144} diff --git a/backend/public/admin/system_static/dataList-o7Jl1Q7l.js b/backend/public/admin/system_static/dataList-o7Jl1Q7l.js new file mode 100644 index 000000000..8b1f93366 --- /dev/null +++ b/backend/public/admin/system_static/dataList-o7Jl1Q7l.js @@ -0,0 +1 @@ +import{k as s,u as w,y as n,z as f,A as p,s as d,B as h,C as c,$ as _,j as i,a0 as x,H as R,r as U,l as g,Z as B}from"./element-plus-C_ZDq0cz.js";import{_ as z,b as A,h as H,a as P,o as k,m as T}from"./index-DHL7RTL2.js";import{i as Z,j as C}from"./systemCodeGeneration-DVBdGskJ.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const G={class:"i-layout-page-header header-title"},J={class:"fl_header"},K={class:"ivu-page-header-title"},Q=["onClick"],W=["onClick"],X=["onClick"],Y={class:"acea-row row-right page"},tt=Object.assign({name:"user_level"},{__name:"dataList",setup(et){const v=A();H(),P();const q=g(null),I=g(!1),r=U({name:"",page:1,limit:15}),D=g([]),b=g(0);function L(e){k(C(v.query.id,0,e)).then(t=>{l()}).catch(t=>{})}function N(e){k(C(v.query.id,e,0)).then(t=>{l()}).catch(t=>{})}function l(){Z(r).then(e=>{D.value=e.data.list,b.value=e.data.count})}function S(e,t,y){let u={title:t,url:`system/crud/data_dictionary/info_del/${e.id}`,method:"delete",ids:""};T(u).then(o=>{B.success(o.msg),l()}).catch(o=>{B.error(o.msg)})}function V(){k(C(v.query.id,0,0)).then(e=>{l()}).catch(e=>{})}return r.id=v.query.id,l(),(e,t)=>{const y=s("el-button"),u=s("el-divider"),o=s("el-table-column"),j=s("el-table"),F=s("pagination"),E=s("el-card"),m=w("db-click"),M=w("auth"),O=w("loading");return n(),f("div",null,[p("div",G,[p("div",J,[d((n(),h(y,{class:"btn-back",icon:"el-icon-arrow-left",type:"text",onClick:t[0]||(t[0]=a=>e.$router.go(-1))},{default:c(()=>[...t[3]||(t[3]=[_("返回",-1)])]),_:1})),[[m]]),i(u,{direction:"vertical"}),p("span",K,x(e.$route.meta.title),1)])]),i(E,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:c(()=>[d((n(),h(y,{type:"primary",onClick:V,class:"action-row"},{default:c(()=>[...t[4]||(t[4]=[_("添加数据字典",-1)])]),_:1})),[[M,["system-crud-data_dictionary"]],[m]]),d((n(),h(j,{data:D.value,ref_key:"table",ref:q,class:"mt14","highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果","row-key":"id","tree-props":{children:"children",hasChildren:"hasChildren"}},{default:c(()=>[i(o,{label:"ID","min-width":"80"},{default:c(a=>[p("span",null,x(a.row.id),1)]),_:1}),i(o,{prop:"name",label:"字典名称","min-width":"100"}),i(o,{prop:"value",label:"字典数据","min-width":"100"}),i(o,{prop:"sort",label:"排序","min-width":"100"}),i(o,{prop:"add_time",label:"添加时间","min-width":"200"}),i(o,{fixed:"right",label:"操作",width:"200"},{default:c(a=>[d((n(),f("a",{onClick:$=>L(a.row.id)},[...t[5]||(t[5]=[_("添加下级",-1)])],8,Q)),[[m]]),i(u,{direction:"vertical"}),d((n(),f("a",{onClick:$=>N(a.row.id)},[...t[6]||(t[6]=[_("编辑",-1)])],8,W)),[[m]]),i(u,{direction:"vertical"}),d((n(),f("a",{onClick:$=>S(a.row,"删除",a.$index)},[...t[7]||(t[7]=[_("删除",-1)])],8,X)),[[m]])]),_:1})]),_:1},8,["data"])),[[O,I.value]]),p("div",Y,[b.value?(n(),h(F,{key:0,total:b.value,page:r.page,"onUpdate:page":t[1]||(t[1]=a=>r.page=a),limit:r.limit,"onUpdate:limit":t[2]||(t[2]=a=>r.limit=a),onPagination:l},null,8,["total","page","limit"])):R("",!0)])]),_:1})])}}}),st=z(tt,[["__scopeId","data-v-4bec6a4e"]]);export{st as default}; diff --git a/backend/public/admin/system_static/default-BAFRzqAa.jpg b/backend/public/admin/system_static/default-BAFRzqAa.jpg new file mode 100644 index 000000000..aa0237bb9 Binary files /dev/null and b/backend/public/admin/system_static/default-BAFRzqAa.jpg differ diff --git a/backend/public/admin/system_static/defaults-3EyKQ7rz.js b/backend/public/admin/system_static/defaults-3EyKQ7rz.js new file mode 100644 index 000000000..c65c537c3 --- /dev/null +++ b/backend/public/admin/system_static/defaults-3EyKQ7rz.js @@ -0,0 +1 @@ +import{f as d,k as a,y as r,B as l,C as s,j as e,H as m,l as b,p as k}from"./element-plus-C_ZDq0cz.js";import{b as y,bk as h}from"./index-DHL7RTL2.js";import{A as C}from"./aside-Ct0KePfj.js";import{_ as p}from"./header-GEaJ1_Kn.js";import x from"./main-D8Bhuck4.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./screenfull-BDHcr3-M.js";import"./icon-C8INUNkX.js";import"./keepAliveNames-DXzO5c1g.js";import"./system-C_6vcZAB.js";const $=Object.assign({name:"layoutDefaults"},{__name:"defaults",setup(g){const f=y(),u=h(),t=b(null),c=k(()=>u.themeConfig.isFixedHeader);return d(()=>f.fullPath,()=>{var o;(o=t.value)!=null&&o.wrapRef&&(t.value.wrapRef.scrollTop=0)}),(o,v)=>{const i=a("el-scrollbar"),n=a("el-container"),_=a("el-backtop");return r(),l(n,{class:"layout-container"},{default:s(()=>[e(C),e(n,{class:"flex-center layout-backtop"},{default:s(()=>[c.value?(r(),l(p,{key:0})):m("",!0),e(i,{ref_key:"layoutDefaultsScrollbarRef",ref:t},{default:s(()=>[c.value?m("",!0):(r(),l(p,{key:0})),e(x)]),_:1},512)]),_:1}),e(_,{target:".layout-backtop .el-scrollbar__wrap"})]),_:1})}}});export{$ as default}; diff --git a/backend/public/admin/system_static/detail-7FxJXZqg.js b/backend/public/admin/system_static/detail-7FxJXZqg.js new file mode 100644 index 000000000..de9180f8f --- /dev/null +++ b/backend/public/admin/system_static/detail-7FxJXZqg.js @@ -0,0 +1 @@ +import{k as f,u as C,y as a,z as l,A as t,as as A,F as S,D as x,j as m,a0 as i,H as u,$ as M,s as N,a1 as E,p as H,C as D,B as U,a as z,W as w,Z as F,l as $}from"./element-plus-C_ZDq0cz.js";import{_ as B,b as T}from"./index-DHL7RTL2.js";import{_ as Y}from"./order_icon-kRzQraQC.js";import{f as J}from"./orderCenter-CFBp04xC.js";import{j as R}from"./order-61Db5vVU.js";import{D as W}from"./DetailLogistics-Bya3j2yF.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./expressi-pvEIYRE3.js";const Z={key:0,class:"section"},q={class:"goods-table"},G={class:"col-goods"},K={class:"goods-name"},P={class:"col-spec"},Q={class:"col-price"},X={class:"col-num"},tt={class:"col-subtotal"},et={class:"section"},st={class:"list"},it={class:"item"},at={class:"value"},lt={class:"item"},dt={class:"value"},ot={class:"section"},nt={class:"title"},ct={key:0,class:"list"},ut={class:"item"},vt={class:"value"},rt={class:"item"},mt={class:"value"},_t={class:"item"},yt={class:"value"},ft={key:1,class:"list"},gt={class:"item"},ht={class:"value"},kt={class:"item"},bt={class:"value"},$t={class:"item"},St={class:"value"},Dt={class:"section"},Lt={class:"list"},Ot={class:"item"},wt={class:"value"},xt={class:"item"},It={class:"value"},jt={class:"item"},pt={class:"value"},Vt={class:"item"},Ct={class:"value"},Mt={class:"item"},Nt={class:"value"},Bt={key:0,class:"item"},Ft={class:"value"},At={class:"item"},Et={class:"value"},Ht={class:"item"},Ut={class:"value"},zt={class:"item"},Tt={class:"value price"},Yt={key:1,class:"section"},Jt={class:"list"},Rt={class:"item"},Wt={class:"value"},Zt={class:"item"},qt={class:"value"},Gt={class:"item"},Kt={class:"value"},Pt={class:"item"},Qt={class:"value"},Xt={class:"item"},te={class:"value"},ee={key:2,class:"section"},se={class:"title"},ie={class:"list"},ae={class:"item"},le={class:"value"},de={class:"item"},oe={class:"value"},ne={key:3,class:"section"},ce={class:"list"},ue={class:"item"},ve={class:"value"},re={key:0,class:"item"},me={class:"value"},_e={key:1,class:"item"},ye={key:2,class:"item"},fe={key:3,class:"item"},ge={class:"value"},he={key:4,class:"item"},ke={class:"value"},be={key:5,class:"item"},$e={class:"value"},Se={key:6,class:"item"},De={class:"value"},Le={class:"item"},Oe={class:"value"},we={class:"section"},xe={class:"list"},Ie={class:"item"},je={key:4,class:"section"},pe={class:"list"},Ve={key:0},Ce=["src"],Me={class:"section"},Ne={class:"list"},Be={class:"item"},Fe=Object.assign({name:"DetailOrderInfo"},{__name:"DetailOrderInfo",props:{data:{type:Object,default:()=>({})}},setup(s){const g=s,n=H(()=>g.data.order_items||g.data.cartInfo||[]);function r(o){if(!o)return"--";const e=new Date(o*1e3);return`${e.getFullYear()}/${(e.getMonth()+1).toString().padStart(2,"0")}/${e.getDate().toString().padStart(2,"0")} ${e.getHours().toString().padStart(2,"0")}:${e.getMinutes().toString().padStart(2,"0")}:${e.getSeconds().toString().padStart(2,"0")}`}function y(o){if(!o)return"";if(typeof o=="string")try{const e=JSON.parse(o);return _(e)}catch{return o}return typeof o=="object"?_(o):""}function _(o){const e=[];return o.province&&e.push(o.province),o.city&&e.push(o.city),o.district&&e.push(o.district),o.detail&&e.push(o.detail),o.postal_code&&e.push(`(${o.postal_code})`),e.join("")}return(o,e)=>{var L,O,v,d,h;const I=f("el-image"),j=C("db-click"),p=C("viewer");return a(),l("div",null,[n.value.length?(a(),l("div",Z,[e[2]||(e[2]=t("div",{class:"title"},"商品信息",-1)),t("div",q,[e[1]||(e[1]=A('
商品规格单价数量小计
',1)),(a(!0),l(S,null,x(n.value,(c,k)=>(a(),l("div",{class:"goods-row",key:k},[t("div",G,[m(I,{src:c.image},null,8,["src"]),t("span",K,i(c.store_name),1)]),t("div",P,i(c.sku||"默认"),1),t("div",Q,"¥"+i(c.true_price||c.price),1),t("div",X,i(c.cart_num),1),t("div",tt,"¥"+i(((c.true_price||c.price)*c.cart_num).toFixed(2)),1)]))),128))])])):u("",!0),t("div",et,[e[5]||(e[5]=t("div",{class:"title"},"用户信息",-1)),t("ul",st,[t("li",it,[e[3]||(e[3]=t("div",null,"用户名称:",-1)),t("div",at,i(s.data.real_name||((L=s.data.contact)==null?void 0:L.name)||"--"),1)]),t("li",lt,[e[4]||(e[4]=t("div",null,"绑定电话:",-1)),t("div",dt,i(s.data.user_phone||((O=s.data.contact)==null?void 0:O.phone)||"--"),1)])])]),t("div",ot,[t("div",nt,i(s.data.order_delivery_type==="pickup"?"自提门店":"收货信息"),1),s.data.order_delivery_type==="pickup"&&s.data.store_info?(a(),l("ul",ct,[t("li",ut,[e[6]||(e[6]=t("div",null,"门店名称:",-1)),t("div",vt,i(s.data.store_info.store_name||"--"),1)]),t("li",rt,[e[7]||(e[7]=t("div",null,"门店电话:",-1)),t("div",mt,i(s.data.store_info.store_phone||"--"),1)]),t("li",_t,[e[8]||(e[8]=t("div",null,"门店地址:",-1)),t("div",yt,i(s.data.store_info.detailed_address||s.data.store_info.address||"--"),1)])])):(a(),l("ul",ft,[t("li",gt,[e[9]||(e[9]=t("div",null,"收货人:",-1)),t("div",ht,i(((v=s.data.contact)==null?void 0:v.name)||s.data.real_name||"--"),1)]),t("li",kt,[e[10]||(e[10]=t("div",null,"收货电话:",-1)),t("div",bt,i(((d=s.data.contact)==null?void 0:d.phone)||s.data.user_phone||"--"),1)]),t("li",$t,[e[11]||(e[11]=t("div",null,"收货地址:",-1)),t("div",St,i(y(s.data.user_address)||((h=s.data.contact)==null?void 0:h.address)||"--"),1)])]))]),t("div",Dt,[e[21]||(e[21]=t("div",{class:"title"},"订单信息",-1)),t("ul",Lt,[t("li",Ot,[e[12]||(e[12]=t("div",null,"创建时间:",-1)),t("div",wt,i(r(s.data.add_time)),1)]),t("li",xt,[e[13]||(e[13]=t("div",null,"商品总数:",-1)),t("div",It,i(s.data.total_num),1)]),t("li",jt,[e[14]||(e[14]=t("div",null,"商品总价:",-1)),t("div",pt,"¥"+i(s.data.total_price),1)]),t("li",Vt,[e[15]||(e[15]=t("div",null,"优惠券金额:",-1)),t("div",Ct,"¥"+i(s.data.coupon_price||"0.00"),1)]),t("li",Mt,[e[16]||(e[16]=t("div",null,"积分抵扣:",-1)),t("div",Nt,"¥"+i(s.data.deduction_price||"0.00"),1)]),s.data.order_delivery_type!=="pickup"?(a(),l("li",Bt,[e[17]||(e[17]=t("div",null,"交付邮费:",-1)),t("div",Ft,"¥"+i(s.data.pay_postage||"0.00"),1)])):u("",!0),t("li",At,[e[18]||(e[18]=t("div",null,"用户等级优惠:",-1)),t("div",Et,"¥"+i(s.data.member_level_discount||"0.00"),1)]),t("li",Ht,[e[19]||(e[19]=t("div",null,"付费会员优惠:",-1)),t("div",Ut,"¥"+i(s.data.vip_discount||"0.00"),1)]),t("li",zt,[e[20]||(e[20]=t("div",null,"实际支付:",-1)),t("div",Tt,"¥"+i(s.data.pay_price||"0.00"),1)])])]),s.data.one_brokerage||s.data.two_brokerage||s.data.staff_brokerage||s.data.agent_brokerage||s.data.division_brokerage?(a(),l("div",Yt,[e[27]||(e[27]=t("div",{class:"title"},"返佣信息(金额|用户UID)",-1)),t("ul",Jt,[t("li",Rt,[e[22]||(e[22]=t("div",null,"一级佣金:",-1)),t("div",Wt,i(s.data.one_brokerage||"0.00")+" | "+i(s.data.spread_uid||"0"),1)]),t("li",Zt,[e[23]||(e[23]=t("div",null,"二级佣金:",-1)),t("div",qt,i(s.data.two_brokerage||"0.00")+" | "+i(s.data.spread_two_uid||"0"),1)]),t("li",Gt,[e[24]||(e[24]=t("div",null,"员工返佣:",-1)),t("div",Kt,i(s.data.staff_brokerage||"0.00")+" | "+i(s.data.staff_id||"0"),1)]),t("li",Pt,[e[25]||(e[25]=t("div",null,"代理商佣金:",-1)),t("div",Qt,i(s.data.agent_brokerage||"0.00")+" | "+i(s.data.agent_id||"0"),1)]),t("li",Xt,[e[26]||(e[26]=t("div",null,"事业部佣金:",-1)),t("div",te,i(s.data.division_brokerage||"0.00")+" | "+i(s.data.division_id||"0"),1)])])])):u("",!0),s.data.delivery_name?(a(),l("div",ee,[t("div",se,i(s.data.delivery_type=="express"?"物流信息":"送货人信息"),1),t("ul",ie,[t("li",ae,[t("div",null,i(s.data.delivery_type=="express"?"物流公司:":"送货人姓名:"),1),t("div",le,i(s.data.delivery_name||"--"),1)]),t("li",de,[t("div",null,i(s.data.delivery_type=="express"?"物流单号:":"送货人电话:"),1),t("div",oe,[M(i(s.data.delivery_id||"--")+" ",1),s.data.delivery_type=="express"?N((a(),l("a",{key:0,onClick:e[0]||(e[0]=c=>o.$emit("openLogistics"))},[...e[28]||(e[28]=[M("物流查询",-1)])])),[[j]]):u("",!0)])])])])):u("",!0),s.data.invoice&&Object.keys(s.data.invoice).length?(a(),l("div",ne,[e[38]||(e[38]=t("div",{class:"title"},"发票信息",-1)),t("ul",ce,[t("li",ue,[e[29]||(e[29]=t("div",null,"发票抬头:",-1)),t("div",ve,i(s.data.invoice.name||"--"),1)]),s.data.invoice.header_type===2&&s.data.invoice.type===1?(a(),l("li",re,[e[30]||(e[30]=t("div",null,"企业税号:",-1)),t("div",me,i(s.data.invoice.duty_number||"--"),1)])):u("",!0),s.data.invoice.header_type===2&&s.data.invoice.type===1?(a(),l("li",_e,[...e[31]||(e[31]=[t("div",null,"发票类型:",-1),t("div",{class:"value"},"电子普通发票",-1)])])):u("",!0),s.data.invoice.header_type===2&&s.data.invoice.type===1?(a(),l("li",ye,[...e[32]||(e[32]=[t("div",null,"发票抬头类型:",-1),t("div",{class:"value"},"企业",-1)])])):u("",!0),s.data.invoice.header_type===1&&s.data.invoice.type===1?(a(),l("li",fe,[e[33]||(e[33]=t("div",null,"真实姓名:",-1)),t("div",ge,i(s.data.invoice.name||"--"),1)])):u("",!0),s.data.invoice.header_type===1&&s.data.invoice.type===1?(a(),l("li",he,[e[34]||(e[34]=t("div",null,"联系电话:",-1)),t("div",ke,i(s.data.invoice.drawer_phone||"--"),1)])):u("",!0),s.data.invoice.header_type===2&&s.data.invoice.type===1?(a(),l("li",be,[e[35]||(e[35]=t("div",null,"联系电话:",-1)),t("div",$e,i(s.data.invoice.user_phone||"--"),1)])):u("",!0),s.data.invoice.header_type===2&&s.data.invoice.type===1?(a(),l("li",Se,[e[36]||(e[36]=t("div",null,"联系邮箱:",-1)),t("div",De,i(s.data.invoice.email||"--"),1)])):u("",!0),t("li",Le,[e[37]||(e[37]=t("div",null,"开票状态:",-1)),t("div",Oe,i(s.data.invoice.is_invoice?"已开票":"未开票"),1)])])])):u("",!0),t("div",we,[e[39]||(e[39]=t("div",{class:"title"},"买家留言",-1)),t("ul",xe,[t("li",Ie,[t("div",null,i(s.data.mark||"--"),1)])])]),s.data.custom_form&&s.data.custom_form.length?(a(),l("div",je,[e[40]||(e[40]=t("div",{class:"title"},"表单信息",-1)),t("ul",pe,[(a(!0),l(S,null,x(s.data.custom_form,(c,k)=>(a(),l("li",{class:E(["item",{pic:c.label=="img"}]),key:k},[c.label!=="img"?(a(),l("div",Ve,i(c.title)+":"+i(c.value),1)):(a(),l(S,{key:1},[t("div",null,i(c.title)+":",1),(a(!0),l(S,null,x(c.value,(V,b)=>(a(),l("div",{key:b,class:"img"},[N(t("img",{src:V,alt:""},null,8,Ce),[[p]])]))),128))],64))],2))),128))])])):u("",!0),t("div",Me,[e[41]||(e[41]=t("div",{class:"title"},"订单备注",-1)),t("ul",Ne,[t("li",Be,[t("div",null,i(s.data.remark||"--"),1)])])])])}}}),Ae=B(Fe,[["__scopeId","data-v-22fab174"]]),Ee={class:"order-list-wrap"},He={key:0,class:"timeline-section"},Ue={class:"tl-title"},ze={class:"tl-desc"},Te=Object.assign({name:"DetailOrderList"},{__name:"DetailOrderList",props:{timeline:{type:Array,default:()=>[]}},setup(s){return(g,n)=>{const r=f("el-timeline-item"),y=f("el-timeline");return a(),l("div",Ee,[s.timeline&&s.timeline.length?(a(),l("div",He,[m(y,null,{default:D(()=>[(a(!0),l(S,null,x(s.timeline,(_,o)=>(a(),U(r,{key:o,timestamp:_.time,color:o===0?"#409eff":"#e4e7ed"},{default:D(()=>[t("span",Ue,i(_.title),1),t("span",ze,i(_.desc),1)]),_:2},1032,["timestamp","color"]))),128))]),_:1})])):u("",!0)])}}}),Ye=B(Te,[["__scopeId","data-v-3d47980c"]]),Je={key:0,class:"order-detail"},Re={class:"head"},We={class:"full"},Ze=["src"],qe={class:"text"},Ge={class:"list"},Ke={class:"item"},Pe={key:0,style:{color:"#ed4014"}},Qe={class:"item"},Xe={class:"value1"},ts={key:0,class:"item"},es={class:"item"},ss={class:"item"},is={key:1,class:"empty-tip"},as=Object.assign({name:"orderCenterDetail"},{__name:"detail",setup(s){const g=T(),n=$(null),r=$(!1),y=$("detail"),_=Y,o=$(!1),e=$([]);function I(){const v=g.params.id;v&&(r.value=!0,J(v).then(d=>{n.value=d.data,r.value=!1}).catch(d=>{r.value=!1,F.error(d.msg)}))}function j(){o.value=!0,p()}function p(){n.value&&R(n.value.order_no).then(v=>{e.value=v.data.result||[]}).catch(v=>{F.error(v.msg)})}function L(v){return{pending_payment:"待支付",processing:"待处理",completed:"已完成",canceled:"已取消",refunding:"退款中",refunded:"已退款"}[v]||v||"--"}function O(v){const d=new Date(v);return`${d.getFullYear()}/${(d.getMonth()+1).toString().padStart(2,"0")}/${d.getDate().toString().padStart(2,"0")} ${d.getHours().toString().padStart(2,"0")}:${d.getMinutes().toString().padStart(2,"0")}:${d.getSeconds().toString().padStart(2,"0")}`}return z(()=>{I()}),(v,d)=>{const h=f("el-tab-pane"),c=f("el-tabs"),k=f("el-empty"),V=C("loading");return a(),l("div",null,[N((a(),l("div",null,[n.value?(a(),l("div",Je,[t("div",Re,[t("div",We,[t("img",{class:"order_icon",src:w(_),alt:""},null,8,Ze),t("div",qe,[d[2]||(d[2]=t("div",{class:"title"},"普通订单",-1)),t("div",null,"订单号:"+i(n.value.order_no),1)])]),t("ul",Ge,[t("li",Ke,[d[3]||(d[3]=t("div",{class:"title"},"订单状态",-1)),t("div",null,[M(i(L(n.value.status_code))+" ",1),n.value.refund_status==1?(a(),l("span",Pe,i(n.value.is_all_refund?"退款中":"部分退款中"),1)):u("",!0)])]),t("li",Qe,[d[4]||(d[4]=t("div",{class:"title"},"订单金额",-1)),t("div",Xe,"¥"+i(n.value.total_price||"0.00"),1)]),n.value.refund_status==2?(a(),l("li",ts,[d[5]||(d[5]=t("div",{class:"title"},"实际退款",-1)),t("div",null,"¥"+i(n.value.refunded_price||"0.00"),1)])):u("",!0),t("li",es,[d[6]||(d[6]=t("div",{class:"title"},"支付方式",-1)),t("div",null,i(n.value.pay_type_name||n.value.pay_type||"--"),1)]),t("li",ss,[d[7]||(d[7]=t("div",{class:"title"},"支付时间",-1)),t("div",null,i(n.value.pay_time?O(n.value.pay_time*1e3):"--"),1)])])]),m(c,{type:"border-card",modelValue:y.value,"onUpdate:modelValue":d[0]||(d[0]=b=>y.value=b)},{default:D(()=>[m(h,{label:"订单信息",name:"detail"},{default:D(()=>[m(w(Ae),{data:n.value,onOpenLogistics:j},null,8,["data"])]),_:1}),m(h,{label:"订单进度",name:"timeline"},{default:D(()=>[m(w(Ye),{timeline:n.value.timeline},null,8,["timeline"])]),_:1})]),_:1},8,["modelValue"])])):r.value?u("",!0):(a(),l("div",is,[m(k,{description:"暂无订单数据"})]))])),[[V,r.value]]),m(w(W),{visible:o.value,"onUpdate:visible":d[1]||(d[1]=b=>o.value=b),data:n.value,logisticsList:e.value},null,8,["visible","data","logisticsList"])])}}}),ys=B(as,[["__scopeId","data-v-5a06b8e1"]]);export{ys as default}; diff --git a/backend/public/admin/system_static/detail-BN1Ih8Q9.css b/backend/public/admin/system_static/detail-BN1Ih8Q9.css new file mode 100644 index 000000000..bb17afbae --- /dev/null +++ b/backend/public/admin/system_static/detail-BN1Ih8Q9.css @@ -0,0 +1 @@ +.after-sale-detail[data-v-5986c777]{padding:0}.head-card[data-v-5986c777] .el-card__body{padding:20px 30px}.head .full[data-v-5986c777]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.head .full .order_icon[data-v-5986c777]{width:50px;height:50px;border-radius:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:24px;color:#fff;background:linear-gradient(135deg,#667eea,#764ba2)}.head .full .text[data-v-5986c777]{-webkit-box-flex:1;-ms-flex:1;flex:1;padding-left:12px}.head .full .text .title[data-v-5986c777]{font-size:16px;font-weight:500;color:#000000d9;margin-bottom:6px}.head .full .text .sub[data-v-5986c777]{font-size:13px;color:#606266}.head .list[data-v-5986c777]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:20px;list-style:none;padding:0;-ms-flex-wrap:wrap;flex-wrap:wrap}.head .list .item[data-v-5986c777]{-webkit-box-flex:0;-ms-flex:none;flex:none;width:180px;font-size:14px;margin-bottom:10px}.head .list .item .title[data-v-5986c777]{margin-bottom:8px;font-size:13px;color:#999}.head .list .item .value1[data-v-5986c777]{color:#ed4014;font-weight:700}.tab-content[data-v-5986c777]{padding:20px 30px}.section-title[data-v-5986c777]{margin:24px 0 12px;font-size:14px;font-weight:500;color:#303133;padding-left:10px;border-left:3px solid var(--prev-color-primary, #409eff)}.image-list[data-v-5986c777]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px}.evidence-img[data-v-5986c777]{width:80px;height:80px;border-radius:4px;border:1px solid #ebeef5}.product-img[data-v-5986c777]{width:50px;height:50px;border-radius:4px}.price[data-v-5986c777]{color:#ed4014;font-weight:700}.danger-text[data-v-5986c777]{color:#ed4014}.remark-content[data-v-5986c777]{padding:12px;background:#f5f7fa;border-radius:4px;font-size:13px;color:#606266;white-space:pre-wrap;word-break:break-all}.action-card[data-v-5986c777] .el-card__body{padding:16px 20px}.action-card .action-bar[data-v-5986c777]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.action-card .action-bar .action-tip[data-v-5986c777]{font-size:14px;color:#606266}.action-card .action-bar .action-tip i[data-v-5986c777]{margin-right:6px;color:var(--prev-color-primary, #409eff)}.action-card .action-bar .action-buttons[data-v-5986c777]{display:-webkit-box;display:-ms-flexbox;display:flex;gap:10px}.repair-tip[data-v-5986c777]{margin-top:8px;padding:10px;background:#fff7e6;border-radius:4px;color:#fa8c16;font-size:12px}.empty-tip[data-v-5986c777]{padding:80px 0}[data-v-5986c777] .el-tabs--border-card{border:none;-webkit-box-shadow:none;box-shadow:none}[data-v-5986c777] .el-tabs--border-card>.el-tabs__header{border:none;height:40px}[data-v-5986c777] .el-tabs--border-card>.el-tabs__header .el-tabs__item{border:none;height:40px!important;line-height:40px!important;font-size:13px}[data-v-5986c777] .el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{border-top:2px solid var(--prev-color-primary, #409eff);font-weight:500}[data-v-5986c777] .el-tabs--border-card>.el-tabs__content{padding:0} diff --git a/backend/public/admin/system_static/detail-BQJeVvL7.js b/backend/public/admin/system_static/detail-BQJeVvL7.js new file mode 100644 index 000000000..ebb00fda9 --- /dev/null +++ b/backend/public/admin/system_static/detail-BQJeVvL7.js @@ -0,0 +1 @@ +import{a as qe,k as _,u as te,s as V,y as s,z as b,j as a,C as l,A as o,a1 as Ee,a0 as i,$ as u,H as v,B as d,F as Y,D as le,W as Oe,Z as c,l as y,p as D,ad as de}from"./element-plus-C_ZDq0cz.js";import{_ as Pe,b as He,h as Ie,S as We}from"./index-DHL7RTL2.js";import{b as Ye,g as Ze,r as Ge,c as Je,s as Ke,d as Qe,e as Xe,f as he,h as et}from"./afterSale-B_OkLLdC.js";import{D as tt}from"./DetailLogistics-Bya3j2yF.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./expressi-pvEIYRE3.js";const lt={key:0,class:"after-sale-detail"},at={class:"head"},rt={class:"full"},nt={class:"text"},ut={class:"title"},st={class:"sub"},ot={class:"list"},it={class:"item"},dt={class:"item"},vt={class:"item"},pt={class:"value1"},mt={key:0,class:"item"},_t={class:"value1"},ft={class:"item"},ct={class:"tab-content"},yt={class:"tab-content"},gt={class:"price"},bt={class:"price"},kt={class:"image-list"},Vt={class:"danger-text"},xt={key:0,class:"section-title"},wt={class:"image-list"},St={key:2,class:"section-title"},Ct={key:4,class:"section-title"},$t={key:6,class:"section-title"},Rt={class:"tab-content"},jt={key:1},Dt={class:"tab-content"},Ut={class:"mt16"},At={key:0,class:"remark-history mt16"},Bt={class:"remark-content"},Tt={class:"action-bar"},Lt={class:"action-tip"},zt={class:"action-buttons"},Mt={class:"price"},Ft=Object.assign({name:"afterSaleDetail"},{__name:"detail",setup(Nt){const x=He(),Z=Ie(),G=We.routePre,t=y(null),B=y(!1),ae=y("timeline"),E=y(""),T=y(!1),g=y({result:"pass",reject_reason:"",audit_remark:""}),L=y(!1),k=y({amount:0,refund_type:"original",refund_trade_no:""}),z=y(!1),w=y({delivery_type:"",delivery_no:""}),M=y(!1),U=y({repair_remark:""}),ve=[{key:"normal",label:"实物商品"},{key:"virtual",label:"虚拟商品"},{key:"cardkey",label:"卡密商品"},{key:"coupon",label:"优惠券商品"}],pe=[{key:"goods",label:"商品订单"},{key:"points",label:"积分订单"},{key:"member",label:"会员订单"},{key:"recharge",label:"充值订单"}],J=y(!1),K=y({}),Q=y([]),re=D(()=>{const r=t.value&&t.value.product_snapshot;if(!r)return[];let e=[];return Array.isArray(r)?e=r:r&&Array.isArray(r.items)?e=r.items:r&&typeof r=="object"&&(e=[r]),e.map(m=>({image:m.image||"",name:m.name||m.store_name||m.title||"",sku:m.sku||"",num:m.num||m.cart_num||1,price:m.price||m.true_price||"0.00"}))}),ne=D(()=>{const r=t.value&&t.value.return_delivery;return r&&(r.type||r.no)}),ue=D(()=>{const r=t.value&&t.value.resend_delivery;return r&&(r.type||r.no)}),me=D(()=>{if(!t.value)return!1;const{status:r,type:e}=t.value;return e==="refund_only"&&r==="audit_passed"||e==="return_refund"&&r==="receiving"}),_e=D(()=>{if(!t.value)return!1;const{status:r,type:e}=t.value;return r==="receiving"&&["return_refund","exchange"].includes(e)}),fe=D(()=>{if(!t.value)return!1;const{status:r,type:e}=t.value;return r==="receiving"&&e==="repair"}),ce=D(()=>{if(!t.value)return!1;const{status:r,type:e}=t.value;return e==="resend"&&r==="audit_passed"||e==="exchange"&&r==="receiving"||e==="repair"&&r==="repair_complete"});function $(){const r=x.params.id;r&&(B.value=!0,Ye(r).then(e=>{t.value=e.data||null,E.value=t.value&&t.value.remark||"",B.value=!1,x.query.action==="audit"&&t.value&&t.value.status==="pending_audit"&&X("pass")}).catch(e=>{B.value=!1,c.error(e.msg)}))}function se(r){const e=x.params.id;K.value={},Q.value=[],J.value=!0,Ze(e,r).then(m=>{const A=m.data||{};K.value={delivery_name:A.delivery_name,delivery_id:A.delivery_id},Q.value=A.result||[]}).catch(m=>{c.error(m.msg)})}function X(r){g.value={result:r,reject_reason:"",audit_remark:""},T.value=!0}function ye(){if(g.value.result==="reject"&&!g.value.reject_reason){c.warning("请填写拒绝原因");return}const r=x.params.id;Qe(r,g.value).then(e=>{c.success(e.msg),T.value=!1,$()}).catch(e=>{c.error(e.msg)})}function ge(){k.value={amount:Number(t.value.refund_price)||0,refund_type:"original",refund_trade_no:""},L.value=!0}function be(){if(k.value.amount<=0){c.warning("退款金额必须大于0");return}const r=x.params.id;Xe(r,k.value).then(e=>{c.success(e.msg),L.value=!1,$()}).catch(e=>{c.error(e.msg)})}function ke(){de.confirm("确认已收到用户退回的商品吗?确认后将推进后续流程。","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{const r=x.params.id;Je(r).then(e=>{c.success(e.msg),$()}).catch(e=>{c.error(e.msg)})}).catch(()=>{})}function Ve(){de.confirm('确认开始维修吗?确认后售后状态将变为"维修中"。',"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{const r=x.params.id;Ke(r).then(e=>{c.success(e.msg),$()}).catch(e=>{c.error(e.msg)})}).catch(()=>{})}function xe(){U.value={repair_remark:""},M.value=!0}function we(){const r=x.params.id;et(r,U.value).then(e=>{c.success(e.msg),M.value=!1,$()}).catch(e=>{c.error(e.msg)})}function Se(){w.value={delivery_type:"",delivery_no:""},z.value=!0}function Ce(){if(!w.value.delivery_type||!w.value.delivery_no){c.warning("请填写快递公司和单号");return}const r=x.params.id;he(r,w.value).then(e=>{c.success(e.msg),z.value=!1,$()}).catch(e=>{c.error(e.msg)})}function $e(){const r=x.params.id;Ge(r,{remark:E.value}).then(e=>{c.success(e.msg),$()}).catch(e=>{c.error(e.msg)})}function Re(){if(!t.value)return;const{product_type:r,order_no:e,order_center_id:m}=t.value;e?Z.push({path:`${G}/product/${r}/order/detail/${e}`}):m&&Z.push({path:`${G}/order/center/detail/${m}`})}function je(){Z.push({path:G+"/order/afterSale"})}function De(r){const e=ve.find(m=>m.key===r);return e?e.label:r||"--"}function Ue(r){const e=pe.find(m=>m.key===r);return e?e.label:r||"--"}function Ae(r){return{original:"原路退回",balance:"退到余额"}[r]||r||"--"}function oe(r){return{refund_only:"warning",return_refund:"danger",exchange:"primary",resend:"success",repair:"info"}[r]||"info"}function Be(r){return{pending_audit:"warning",audit_passed:"primary",audit_rejected:"danger",canceled:"info",refunding:"warning",refunded:"success",pending_return:"warning",receiving:"primary",repairing:"primary",resending:"primary",completed:"success"}[r]||"info"}function O(r){if(!r)return"--";const e=new Date(r*1e3);return`${e.getFullYear()}/${(e.getMonth()+1).toString().padStart(2,"0")}/${e.getDate().toString().padStart(2,"0")} ${e.getHours().toString().padStart(2,"0")}:${e.getMinutes().toString().padStart(2,"0")}:${e.getSeconds().toString().padStart(2,"0")}`}return qe(()=>{$()}),(r,e)=>{const m=_("el-tag"),A=_("el-card"),Te=_("el-timeline-item"),Le=_("el-timeline"),h=_("el-empty"),P=_("el-tab-pane"),p=_("el-descriptions-item"),ee=_("el-image"),F=_("el-descriptions"),f=_("el-button"),N=_("el-table-column"),ze=_("el-table"),j=_("el-input"),Me=_("el-tabs"),H=_("el-radio"),ie=_("el-radio-group"),S=_("el-form-item"),I=_("el-form"),W=_("el-dialog"),Fe=_("el-input-number"),C=te("db-click"),R=te("auth"),Ne=te("loading");return V((s(),b("div",null,[t.value?(s(),b("div",lt,[a(A,{bordered:!1,shadow:"never",class:"head-card"},{default:l(()=>[o("div",at,[o("div",rt,[o("div",{class:Ee(["order_icon",oe(t.value.type)])},[...e[28]||(e[28]=[o("i",{class:"el-icon-s-promotion"},null,-1)])],2),o("div",nt,[o("div",ut,i(t.value.type_text)+" · "+i(t.value.status_text),1),o("div",st,"售后单号:"+i(t.value.after_sale_no)+" | 订单号:"+i(t.value.order_no),1)])]),o("ul",ot,[o("li",it,[e[29]||(e[29]=o("div",{class:"title"},"售后类型",-1)),o("div",null,[a(m,{type:oe(t.value.type),effect:"plain"},{default:l(()=>[u(i(t.value.type_text),1)]),_:1},8,["type"])])]),o("li",dt,[e[30]||(e[30]=o("div",{class:"title"},"售后状态",-1)),o("div",null,[a(m,{type:Be(t.value.status)},{default:l(()=>[u(i(t.value.status_text),1)]),_:1},8,["type"])])]),o("li",vt,[e[31]||(e[31]=o("div",{class:"title"},"申请退款金额",-1)),o("div",pt,"¥"+i(t.value.refund_price||"0.00"),1)]),t.value.actual_refund_price>0?(s(),b("li",mt,[e[32]||(e[32]=o("div",{class:"title"},"实际退款金额",-1)),o("div",_t,"¥"+i(t.value.actual_refund_price||"0.00"),1)])):v("",!0),o("li",ft,[e[33]||(e[33]=o("div",{class:"title"},"申请时间",-1)),o("div",null,i(t.value.add_time?O(t.value.add_time):"--"),1)])])])]),_:1}),a(Me,{type:"border-card",modelValue:ae.value,"onUpdate:modelValue":e[3]||(e[3]=n=>ae.value=n),class:"mt16"},{default:l(()=>[a(P,{label:"处理进度",name:"timeline"},{default:l(()=>[o("div",ct,[t.value.timeline&&t.value.timeline.length?(s(),d(Le,{key:0},{default:l(()=>[(s(!0),b(Y,null,le(t.value.timeline,(n,q)=>(s(),d(Te,{key:q,timestamp:n.time?O(n.time):"待处理",color:n.done?"#52c41a":"#d9d9d9",placement:"top"},{default:l(()=>[u(i(n.label),1)]),_:2},1032,["timestamp","color"]))),128))]),_:1})):(s(),d(h,{key:1,description:"暂无进度数据","image-size":80}))])]),_:1}),a(P,{label:"售后信息",name:"info"},{default:l(()=>[o("div",yt,[a(F,{column:2,border:"",size:"default"},{default:l(()=>[a(p,{label:"售后单号"},{default:l(()=>[u(i(t.value.after_sale_no),1)]),_:1}),a(p,{label:"订单号"},{default:l(()=>[V((s(),b("a",{onClick:Re},[u(i(t.value.order_no),1)])),[[C]])]),_:1}),a(p,{label:"售后类型"},{default:l(()=>[u(i(t.value.type_text),1)]),_:1}),a(p,{label:"售后状态"},{default:l(()=>[u(i(t.value.status_text),1)]),_:1}),a(p,{label:"产品类型"},{default:l(()=>[u(i(De(t.value.product_type)),1)]),_:1}),a(p,{label:"订单大类"},{default:l(()=>[u(i(Ue(t.value.order_category)),1)]),_:1}),a(p,{label:"申请退款金额"},{default:l(()=>[o("span",gt,"¥"+i(t.value.refund_price||"0.00"),1)]),_:1}),a(p,{label:"实际退款金额"},{default:l(()=>[o("span",bt,"¥"+i(t.value.actual_refund_price||"0.00"),1)]),_:1}),t.value.refund_integral>0?(s(),d(p,{key:0,label:"退还积分"},{default:l(()=>[u(i(t.value.refund_integral),1)]),_:1})):v("",!0),t.value.return_postage>0?(s(),d(p,{key:1,label:"退货运费"},{default:l(()=>[u("¥"+i(t.value.return_postage),1)]),_:1})):v("",!0),t.value.refund_type?(s(),d(p,{key:2,label:"退款方式"},{default:l(()=>[u(i(Ae(t.value.refund_type)),1)]),_:1})):v("",!0),t.value.refund_trade_no?(s(),d(p,{key:3,label:"退款流水号"},{default:l(()=>[u(i(t.value.refund_trade_no),1)]),_:1})):v("",!0),t.value.before_status_text?(s(),d(p,{key:4,label:"售后前订单状态"},{default:l(()=>[u(i(t.value.before_status_text),1)]),_:1})):v("",!0),a(p,{label:"申请时间",span:2},{default:l(()=>[u(i(t.value.add_time?O(t.value.add_time):"--"),1)]),_:1}),a(p,{label:"申请原因",span:2},{default:l(()=>[u(i(t.value.reason||"--"),1)]),_:1}),t.value.evidence_images&&t.value.evidence_images.length?(s(),d(p,{key:5,label:"凭证图片",span:2},{default:l(()=>[o("div",kt,[(s(!0),b(Y,null,le(t.value.evidence_images,(n,q)=>(s(),d(ee,{key:q,src:n,"preview-src-list":t.value.evidence_images,fit:"cover",class:"evidence-img"},null,8,["src","preview-src-list"]))),128))])]),_:1})):v("",!0),t.value.reject_reason?(s(),d(p,{key:6,label:"拒绝原因",span:2},{default:l(()=>[o("span",Vt,i(t.value.reject_reason),1)]),_:1})):v("",!0)]),_:1}),ne.value?(s(),b("div",xt,"退货物流")):v("",!0),ne.value?(s(),d(F,{key:1,column:2,border:"",size:"default"},{default:l(()=>[a(p,{label:"快递公司"},{default:l(()=>[u(i(t.value.return_delivery.type||"--"),1)]),_:1}),a(p,{label:"快递单号"},{default:l(()=>[u(i(t.value.return_delivery.no||"--")+" ",1),t.value.return_delivery.no?(s(),d(f,{key:0,type:"text",onClick:e[0]||(e[0]=n=>se("return")),style:{"margin-left":"8px"}},{default:l(()=>[...e[34]||(e[34]=[u("查看物流",-1)])]),_:1})):v("",!0)]),_:1}),t.value.return_delivery.images&&t.value.return_delivery.images.length?(s(),d(p,{key:0,label:"退货凭证",span:2},{default:l(()=>[o("div",wt,[(s(!0),b(Y,null,le(t.value.return_delivery.images,(n,q)=>(s(),d(ee,{key:q,src:n,"preview-src-list":t.value.return_delivery.images,fit:"cover",class:"evidence-img"},null,8,["src","preview-src-list"]))),128))])]),_:1})):v("",!0)]),_:1})):v("",!0),ue.value?(s(),b("div",St,"补发物流")):v("",!0),ue.value?(s(),d(F,{key:3,column:2,border:"",size:"default"},{default:l(()=>[a(p,{label:"快递公司"},{default:l(()=>[u(i(t.value.resend_delivery.type||"--"),1)]),_:1}),a(p,{label:"快递单号"},{default:l(()=>[u(i(t.value.resend_delivery.no||"--")+" ",1),t.value.resend_delivery.no?(s(),d(f,{key:0,type:"text",onClick:e[1]||(e[1]=n=>se("resend")),style:{"margin-left":"8px"}},{default:l(()=>[...e[35]||(e[35]=[u("查看物流",-1)])]),_:1})):v("",!0)]),_:1})]),_:1})):v("",!0),t.value.audit_time>0?(s(),b("div",Ct,"审核信息")):v("",!0),t.value.audit_time>0?(s(),d(F,{key:5,column:2,border:"",size:"default"},{default:l(()=>[a(p,{label:"审核结果"},{default:l(()=>[u(i(t.value.status==="audit_rejected"?"审核拒绝":"审核通过"),1)]),_:1}),a(p,{label:"审核时间"},{default:l(()=>[u(i(O(t.value.audit_time)),1)]),_:1}),a(p,{label:"审核备注",span:2},{default:l(()=>[u(i(t.value.audit_remark||"--"),1)]),_:1})]),_:1})):v("",!0),t.value.repair_remark?(s(),b("div",$t,"维修记录")):v("",!0),t.value.repair_remark?(s(),d(F,{key:7,column:1,border:"",size:"default"},{default:l(()=>[a(p,{label:"维修备注"},{default:l(()=>[u(i(t.value.repair_remark),1)]),_:1})]),_:1})):v("",!0)])]),_:1}),a(P,{label:"商品信息",name:"product"},{default:l(()=>[o("div",Rt,[re.value.length?(s(),d(ze,{key:0,data:re.value,border:""},{default:l(()=>[a(N,{label:"商品图片",width:"90"},{default:l(n=>[n.row.image?(s(),d(ee,{key:0,src:n.row.image,fit:"cover",class:"product-img"},null,8,["src"])):(s(),b("span",jt,"--"))]),_:1}),a(N,{label:"商品名称",prop:"name","min-width":"200"}),a(N,{label:"规格",prop:"sku","min-width":"120"}),a(N,{label:"数量",prop:"num",width:"80"}),a(N,{label:"单价",width:"100"},{default:l(n=>[u("¥"+i(n.row.price||"0.00"),1)]),_:1})]),_:1},8,["data"])):(s(),d(h,{key:1,description:"暂无商品快照","image-size":80}))])]),_:1}),a(P,{label:"管理备注",name:"remark"},{default:l(()=>[o("div",Dt,[a(j,{type:"textarea",modelValue:E.value,"onUpdate:modelValue":e[2]||(e[2]=n=>E.value=n),rows:6,placeholder:"请输入管理备注内容",maxlength:"500","show-word-limit":""},null,8,["modelValue"]),o("div",Ut,[V((s(),d(f,{type:"primary",onClick:$e},{default:l(()=>[...e[36]||(e[36]=[u("保存备注",-1)])]),_:1})),[[C],[R,["admin-order-afterSale-remark"]]])]),t.value.remark?(s(),b("div",At,[e[37]||(e[37]=o("div",{class:"section-title"},"当前备注",-1)),o("div",Bt,i(t.value.remark),1)])):v("",!0)])]),_:1})]),_:1},8,["modelValue"]),a(A,{bordered:!1,shadow:"never",class:"mt16 action-card"},{default:l(()=>[o("div",Tt,[o("div",Lt,[e[38]||(e[38]=o("i",{class:"el-icon-info"},null,-1)),o("span",null,"当前状态:"+i(t.value.status_text),1)]),o("div",zt,[t.value.status==="pending_audit"?(s(),b(Y,{key:0},[V((s(),d(f,{type:"primary",onClick:e[4]||(e[4]=n=>X("pass"))},{default:l(()=>[...e[39]||(e[39]=[u("审核通过",-1)])]),_:1})),[[C],[R,["admin-order-afterSale-audit"]]]),V((s(),d(f,{type:"danger",onClick:e[5]||(e[5]=n=>X("reject"))},{default:l(()=>[...e[40]||(e[40]=[u("审核拒绝",-1)])]),_:1})),[[C],[R,["admin-order-afterSale-audit"]]])],64)):v("",!0),me.value?V((s(),d(f,{key:1,type:"warning",onClick:ge},{default:l(()=>[...e[41]||(e[41]=[u("执行退款",-1)])]),_:1})),[[C],[R,["admin-order-afterSale-refund"]]]):v("",!0),_e.value?V((s(),d(f,{key:2,type:"primary",onClick:ke},{default:l(()=>[...e[42]||(e[42]=[u("确认收货",-1)])]),_:1})),[[C],[R,["admin-order-afterSale-receive"]]]):v("",!0),fe.value?V((s(),d(f,{key:3,type:"primary",onClick:Ve},{default:l(()=>[...e[43]||(e[43]=[u("开始维修",-1)])]),_:1})),[[C],[R,["admin-order-afterSale-start_repair"]]]):v("",!0),t.value.status==="repairing"?V((s(),d(f,{key:4,type:"success",onClick:xe},{default:l(()=>[...e[44]||(e[44]=[u("维修完成",-1)])]),_:1})),[[C],[R,["admin-order-afterSale-repair_complete"]]]):v("",!0),ce.value?V((s(),d(f,{key:5,type:"primary",onClick:Se},{default:l(()=>[...e[45]||(e[45]=[u("补发商品",-1)])]),_:1})),[[C],[R,["admin-order-afterSale-resend"]]]):v("",!0),V((s(),d(f,{onClick:je},{default:l(()=>[...e[46]||(e[46]=[u("返回列表",-1)])]),_:1})),[[C]])])])]),_:1})])):B.value?v("",!0):(s(),d(h,{key:1,description:"售后单不存在或已删除",class:"empty-tip"})),a(W,{modelValue:T.value,"onUpdate:modelValue":e[10]||(e[10]=n=>T.value=n),title:g.value.result==="pass"?"审核通过":"审核拒绝",width:"500px",onClose:e[11]||(e[11]=n=>g.value={result:"pass",reject_reason:"",audit_remark:""})},{footer:l(()=>[o("div",null,[a(f,{onClick:e[9]||(e[9]=n=>T.value=!1)},{default:l(()=>[...e[49]||(e[49]=[u("取消",-1)])]),_:1}),a(f,{type:"primary",onClick:ye},{default:l(()=>[...e[50]||(e[50]=[u("确定",-1)])]),_:1})])]),default:l(()=>[a(I,{model:g.value,"label-width":"100px"},{default:l(()=>[a(S,{label:"审核结果"},{default:l(()=>[a(ie,{modelValue:g.value.result,"onUpdate:modelValue":e[6]||(e[6]=n=>g.value.result=n)},{default:l(()=>[a(H,{label:"pass",value:"pass"},{default:l(()=>[...e[47]||(e[47]=[u("审核通过",-1)])]),_:1}),a(H,{label:"reject",value:"reject"},{default:l(()=>[...e[48]||(e[48]=[u("审核拒绝",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),g.value.result==="reject"?(s(),d(S,{key:0,label:"拒绝原因",required:""},{default:l(()=>[a(j,{type:"textarea",modelValue:g.value.reject_reason,"onUpdate:modelValue":e[7]||(e[7]=n=>g.value.reject_reason=n),rows:3,placeholder:"请填写拒绝原因"},null,8,["modelValue"])]),_:1})):v("",!0),a(S,{label:"审核备注"},{default:l(()=>[a(j,{type:"textarea",modelValue:g.value.audit_remark,"onUpdate:modelValue":e[8]||(e[8]=n=>g.value.audit_remark=n),rows:3,placeholder:"审核备注(选填)"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue","title"]),a(W,{modelValue:L.value,"onUpdate:modelValue":e[16]||(e[16]=n=>L.value=n),title:"执行退款",width:"500px",onClose:e[17]||(e[17]=n=>k.value={amount:0,refund_type:"original",refund_trade_no:""})},{footer:l(()=>[o("div",null,[a(f,{onClick:e[15]||(e[15]=n=>L.value=!1)},{default:l(()=>[...e[53]||(e[53]=[u("取消",-1)])]),_:1}),a(f,{type:"primary",onClick:be},{default:l(()=>[...e[54]||(e[54]=[u("确认退款",-1)])]),_:1})])]),default:l(()=>[a(I,{model:k.value,"label-width":"100px"},{default:l(()=>[a(S,{label:"可退金额"},{default:l(()=>[o("span",Mt,"¥"+i(t.value.refund_price||"0.00"),1)]),_:1}),a(S,{label:"退款金额",required:""},{default:l(()=>[a(Fe,{modelValue:k.value.amount,"onUpdate:modelValue":e[12]||(e[12]=n=>k.value.amount=n),min:.01,max:Number(t.value.refund_price)||0,precision:2,style:{width:"200px"}},null,8,["modelValue","max"])]),_:1}),a(S,{label:"退款方式"},{default:l(()=>[a(ie,{modelValue:k.value.refund_type,"onUpdate:modelValue":e[13]||(e[13]=n=>k.value.refund_type=n)},{default:l(()=>[a(H,{label:"original",value:"original"},{default:l(()=>[...e[51]||(e[51]=[u("原路退回",-1)])]),_:1}),a(H,{label:"balance",value:"balance"},{default:l(()=>[...e[52]||(e[52]=[u("退到余额",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),a(S,{label:"退款流水号"},{default:l(()=>[a(j,{modelValue:k.value.refund_trade_no,"onUpdate:modelValue":e[14]||(e[14]=n=>k.value.refund_trade_no=n),placeholder:"退款交易流水号(选填)"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),a(W,{modelValue:z.value,"onUpdate:modelValue":e[21]||(e[21]=n=>z.value=n),title:"补发商品",width:"500px",onClose:e[22]||(e[22]=n=>w.value={delivery_type:"",delivery_no:""})},{footer:l(()=>[o("div",null,[a(f,{onClick:e[20]||(e[20]=n=>z.value=!1)},{default:l(()=>[...e[55]||(e[55]=[u("取消",-1)])]),_:1}),a(f,{type:"primary",onClick:Ce},{default:l(()=>[...e[56]||(e[56]=[u("确认补发",-1)])]),_:1})])]),default:l(()=>[a(I,{model:w.value,"label-width":"100px"},{default:l(()=>[a(S,{label:"快递公司",required:""},{default:l(()=>[a(j,{modelValue:w.value.delivery_type,"onUpdate:modelValue":e[18]||(e[18]=n=>w.value.delivery_type=n),placeholder:"请输入快递公司名称"},null,8,["modelValue"])]),_:1}),a(S,{label:"快递单号",required:""},{default:l(()=>[a(j,{modelValue:w.value.delivery_no,"onUpdate:modelValue":e[19]||(e[19]=n=>w.value.delivery_no=n),placeholder:"请输入快递单号"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),a(W,{modelValue:M.value,"onUpdate:modelValue":e[25]||(e[25]=n=>M.value=n),title:"维修完成",width:"500px",onClose:e[26]||(e[26]=n=>U.value={repair_remark:""})},{footer:l(()=>[o("div",null,[a(f,{onClick:e[24]||(e[24]=n=>M.value=!1)},{default:l(()=>[...e[58]||(e[58]=[u("取消",-1)])]),_:1}),a(f,{type:"primary",onClick:we},{default:l(()=>[...e[59]||(e[59]=[u("确认完成",-1)])]),_:1})])]),default:l(()=>[a(I,{model:U.value,"label-width":"100px"},{default:l(()=>[a(S,{label:"维修备注"},{default:l(()=>[a(j,{type:"textarea",modelValue:U.value.repair_remark,"onUpdate:modelValue":e[23]||(e[23]=n=>U.value.repair_remark=n),rows:4,placeholder:"维修过程记录(选填)"},null,8,["modelValue"])]),_:1}),e[57]||(e[57]=o("div",{class:"repair-tip"},"维修完成后将进入补发流程,请填写补发物流寄回用户。",-1))]),_:1},8,["model"])]),_:1},8,["modelValue"]),a(Oe(tt),{visible:J.value,"onUpdate:visible":e[27]||(e[27]=n=>J.value=n),data:K.value,logisticsList:Q.value},null,8,["visible","data","logisticsList"])])),[[Ne,B.value]])}}}),Zt=Pe(Ft,[["__scopeId","data-v-5986c777"]]);export{Zt as default}; diff --git a/backend/public/admin/system_static/detail-DCf0_qwl.css b/backend/public/admin/system_static/detail-DCf0_qwl.css new file mode 100644 index 000000000..e403fff64 --- /dev/null +++ b/backend/public/admin/system_static/detail-DCf0_qwl.css @@ -0,0 +1 @@ +.section[data-v-22fab174]{padding:25px 0;border-bottom:1px dashed #eeeeee}.section .title[data-v-22fab174]{padding-left:10px;border-left:3px solid var(--prev-color-primary);font-size:15px;line-height:15px;color:#303133}.section .list[data-v-22fab174]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;list-style:none;padding:0}.section .item[data-v-22fab174]{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:16px;font-size:13px;color:#666}.section .item[data-v-22fab174]:nth-child(3n+1){padding-right:20px}.section .item[data-v-22fab174]:nth-child(3n+2){padding-right:10px;padding-left:10px}.section .item[data-v-22fab174]:nth-child(3n+3){padding-left:20px}.section .value[data-v-22fab174]{-webkit-box-flex:1;-ms-flex:1;flex:1}.section .value image[data-v-22fab174]{display:inline-block;width:40px;height:40px;margin:0 12px 12px 0;vertical-align:middle}.section .item.pic[data-v-22fab174]{display:-webkit-box;display:-ms-flexbox;display:flex}.section .item.pic img[data-v-22fab174]{width:80px;height:80px}.section .price[data-v-22fab174]{color:#ed4014;font-weight:700}.goods-table[data-v-22fab174]{margin-top:16px;border:1px solid #ebeef5;border-radius:4px}.goods-table .goods-header[data-v-22fab174],.goods-table .goods-row[data-v-22fab174]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:10px 16px;font-size:13px;color:#666}.goods-table .goods-header[data-v-22fab174]{background:#fafafa;color:#909399;font-weight:500;border-bottom:1px solid #ebeef5}.goods-table .goods-row+.goods-row[data-v-22fab174]{border-top:1px solid #ebeef5}.goods-table .col-goods[data-v-22fab174]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-width:0}.goods-table .col-goods .el-image[data-v-22fab174]{width:50px;height:50px;margin-right:12px;border-radius:4px;-ms-flex-negative:0;flex-shrink:0}.goods-table .col-goods .goods-name[data-v-22fab174]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#303133}.goods-table .col-spec[data-v-22fab174],.goods-table .col-price[data-v-22fab174],.goods-table .col-num[data-v-22fab174],.goods-table .col-subtotal[data-v-22fab174]{-webkit-box-flex:0;-ms-flex:0 0 100px;flex:0 0 100px;text-align:center}.goods-table .col-subtotal[data-v-22fab174]{color:#303133;font-weight:500}.order-list-wrap .timeline-section[data-v-3d47980c]{padding:16px 0}.order-list-wrap .timeline-section[data-v-3d47980c] .el-timeline-item__content .tl-title{font-size:13px;font-weight:500;color:#303133}.order-list-wrap .timeline-section[data-v-3d47980c] .el-timeline-item__content .tl-desc{margin-left:8px;font-size:12px;color:#909399}[data-v-5a06b8e1] .el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{border-bottom:none}[data-v-5a06b8e1] .el-tabs__item{height:40px!important;line-height:40px!important}.head[data-v-5a06b8e1]{padding:0 30px 24px}.head .full[data-v-5a06b8e1]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.head .full .order_icon[data-v-5a06b8e1]{width:60px;height:60px}.head .full .text[data-v-5a06b8e1]{-ms-flex-item-align:center;align-self:center;-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:0;padding-left:12px;font-size:13px;color:#606266}.head .full .text .title[data-v-5a06b8e1]{margin-bottom:10px;font-weight:500;font-size:16px;line-height:16px;color:#000000d9}.head .list[data-v-5a06b8e1]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:20px;overflow:hidden;list-style:none;padding:0}.head .list .item[data-v-5a06b8e1]{-webkit-box-flex:0;-ms-flex:none;flex:none;width:200px;font-size:14px;line-height:14px;color:#000000d9}.head .list .item .title[data-v-5a06b8e1]{margin-bottom:12px;font-size:13px;line-height:13px;color:#666}.head .list .item .value1[data-v-5a06b8e1]{color:#f56022;font-weight:700}[data-v-5a06b8e1] .el-drawer__body{padding:20px 0}[data-v-5a06b8e1] .el-tabs--border-card>.el-tabs__content{padding:0 35px}[data-v-5a06b8e1] .el-tabs--border-card>.el-tabs__header,[data-v-5a06b8e1] .el-tabs--border-card>.el-tabs__header .el-tabs__item:active{border:none;height:40px}[data-v-5a06b8e1] .el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{border:none;border-top:2px solid var(--prev-color-primary);font-size:13px;font-weight:500;color:#303133;line-height:16px}[data-v-5a06b8e1] .el-tabs--border-card>.el-tabs__header .el-tabs__item{border:none}[data-v-5a06b8e1] .el-tabs--border-card>.el-tabs__header .el-tabs__item{margin-top:0;-webkit-transition:none;transition:none;height:40px!important;line-height:40px!important;width:92px!important;font-size:13px;font-weight:400;color:#303133;line-height:16px}[data-v-5a06b8e1] .el-tabs--border-card{border:none;-webkit-box-shadow:none;box-shadow:none}.empty-tip[data-v-5a06b8e1]{padding:40px} diff --git a/backend/public/admin/system_static/diyIndex-BKHKFqFf.css b/backend/public/admin/system_static/diyIndex-BKHKFqFf.css new file mode 100644 index 000000000..32a9f646a --- /dev/null +++ b/backend/public/admin/system_static/diyIndex-BKHKFqFf.css @@ -0,0 +1 @@ +@charset "UTF-8";.empty-box[data-v-5693a144]{height:170px;background-color:#f3f9ff}.empty-box .shan[data-v-5693a144]{width:65px!important;height:50px!important}.empty-box.style3[data-v-5693a144]{width:16px;height:134px;border-radius:0}.empty-box.style3 img[data-v-5693a144]{height:100%}.empty-box.on[data-v-5693a144]{-webkit-box-flex:1;-ms-flex:1;flex:1;height:170px}.banner[data-v-5693a144]{width:100%;margin-top:0}.banner.on[data-v-5693a144]{margin-top:-96px}.banner img[data-v-5693a144]{width:100%;height:100%;border-radius:6px}.bg[data-v-5693a144]{width:100%;height:96px}.dot[data-v-5693a144]{position:absolute;left:0;bottom:0;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.dot.on .dot-item[data-v-5693a144]{width:5px;height:5px}.dot.on .dot-item.ons[data-v-5693a144]{width:9px;height:5px;border-radius:4px}.dot.on2 .dot-item[data-v-5693a144]{width:10px;height:3px;border-radius:4px}.dot .dot-item[data-v-5693a144]{width:6px;height:6px;background:#ddd;border-radius:50%;margin:0 3px}.dot .line-dot[data-v-5693a144]{width:30px;height:3px;border-radius:4px;background-color:#ddd}.dot .line-dot .item[data-v-5693a144]{width:10px;height:100%;border-radius:4px;background-color:#e93323}.dot.number[data-v-5693a144]{width:40px;height:18px;border-radius:100px;background:#0000004d;color:#fff;font-size:8px}.dot.number .num[data-v-5693a144]{width:22px;height:100%;border-radius:20px 0 20px 20px;background:#0000001a;font-size:10px;text-align:center;line-height:18px}.dot.number .numCon[data-v-5693a144]{width:18px;text-align:center;line-height:18px}.seckill-box[data-v-980a49ed]{display:inline-block;width:-webkit-fill-available}.seckill-box .hd[data-v-980a49ed]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-repeat:no-repeat;background-size:100% 100%;width:100%;height:48px;padding:0 12px}.seckill-box .hd .right[data-v-980a49ed]{color:#fff;font-size:12px}.seckill-box .hd .right .iconfont[data-v-980a49ed]{font-size:12px}.seckill-box .hd .left[data-v-980a49ed]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.seckill-box .hd .left .text[data-v-980a49ed]{font-size:16px}.seckill-box .hd .left .line[data-v-980a49ed]{width:1px;height:14px;background:#ddd;margin:0 10px}.seckill-box .hd .left img[data-v-980a49ed]{width:70px;height:16px}.seckill-box .hd .left .tips[data-v-980a49ed]{font-size:13px;color:#fff;font-weight:400}.seckill-box .list-wrapper[data-v-980a49ed]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;padding:10px;width:100%}.seckill-box .list-wrapper.on[data-v-980a49ed]{display:block}.seckill-box .list-wrapper.on2[data-v-980a49ed]{-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.seckill-box .list-wrapper.on3[data-v-980a49ed]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;padding-right:0}.seckill-box .list-wrapper .itemTwo[data-v-980a49ed],.seckill-box .list-wrapper .itemThree[data-v-980a49ed]{width:48%;position:relative;margin-right:11px;margin-top:15px}.seckill-box .list-wrapper .itemTwo .item[data-v-980a49ed],.seckill-box .list-wrapper .itemThree .item[data-v-980a49ed]{height:50px}.seckill-box .list-wrapper .itemTwo .item2[data-v-980a49ed],.seckill-box .list-wrapper .itemThree .item2[data-v-980a49ed]{height:30px}.seckill-box .list-wrapper .itemTwo[data-v-980a49ed]:nth-child(1),.seckill-box .list-wrapper .itemThree[data-v-980a49ed]:nth-child(1){margin-top:0}.seckill-box .list-wrapper .itemTwo[data-v-980a49ed]:nth-child(2),.seckill-box .list-wrapper .itemThree[data-v-980a49ed]:nth-child(2){margin-top:0}.seckill-box .list-wrapper .itemTwo[data-v-980a49ed]:nth-of-type(2n),.seckill-box .list-wrapper .itemThree[data-v-980a49ed]:nth-of-type(2n){margin-right:0}.seckill-box .list-wrapper .itemTwo .empty-box[data-v-980a49ed],.seckill-box .list-wrapper .itemThree .empty-box[data-v-980a49ed]{width:100%;height:162px;background-color:#f3f9ff}.seckill-box .list-wrapper .itemTwo .empty-box img[data-v-980a49ed],.seckill-box .list-wrapper .itemThree .empty-box img[data-v-980a49ed]{width:64px;height:50px;display:block}.seckill-box .list-wrapper .itemTwo .title[data-v-980a49ed],.seckill-box .list-wrapper .itemThree .title[data-v-980a49ed]{font-size:14px;color:#333;margin-top:8px}.seckill-box .list-wrapper .itemTwo .price[data-v-980a49ed],.seckill-box .list-wrapper .itemThree .price[data-v-980a49ed]{font-weight:600;font-size:12px}.seckill-box .list-wrapper .itemTwo .price.on[data-v-980a49ed],.seckill-box .list-wrapper .itemThree .price.on[data-v-980a49ed]{margin-top:8px}.seckill-box .list-wrapper .itemTwo .price .num[data-v-980a49ed],.seckill-box .list-wrapper .itemThree .price .num[data-v-980a49ed]{font-size:15px}.seckill-box .list-wrapper .itemTwo .yprice[data-v-980a49ed],.seckill-box .list-wrapper .itemThree .yprice[data-v-980a49ed]{font-size:11px;text-decoration:line-through}.seckill-box .list-wrapper .itemTwo .yprice.on[data-v-980a49ed],.seckill-box .list-wrapper .itemThree .yprice.on[data-v-980a49ed]{margin-top:9px}.seckill-box .list-wrapper .itemTwo .bnt[data-v-980a49ed],.seckill-box .list-wrapper .itemThree .bnt[data-v-980a49ed]{width:57px;height:26px;border-radius:13px;text-align:center;line-height:26px;position:absolute;right:0;bottom:0;font-size:12px;color:#fff}.seckill-box .list-wrapper .itemTwo .bnt.on[data-v-980a49ed],.seckill-box .list-wrapper .itemThree .bnt.on[data-v-980a49ed]{bottom:-4px}.seckill-box .list-wrapper .itemThree[data-v-980a49ed]{width:112px;margin-top:0;margin-right:10px!important}.seckill-box .list-wrapper .itemThree .item[data-v-980a49ed]{height:45px}.seckill-box .list-wrapper .itemThree .item2[data-v-980a49ed]{height:29px}.seckill-box .list-wrapper .itemThree .empty-box[data-v-980a49ed]{height:112px;width:112px}.seckill-box .list-wrapper .itemThree .title[data-v-980a49ed]{font-size:13px;margin-top:6px}.seckill-box .list-wrapper .itemThree .joinNum[data-v-980a49ed]{width:76px;height:13px;border-radius:7px;font-size:10px;text-align:center;line-height:13px;margin-top:3px}.seckill-box .list-wrapper .itemThree .price[data-v-980a49ed]{font-size:11px;margin-top:3px}.seckill-box .list-wrapper .itemThree .price.on[data-v-980a49ed]{margin-top:6px}.seckill-box .list-wrapper .itemOne[data-v-980a49ed]{position:relative}.seckill-box .list-wrapper .itemOne~.itemOne[data-v-980a49ed]{margin-top:15px}.seckill-box .list-wrapper .itemOne .empty-box[data-v-980a49ed]{width:140px;height:140px;margin-right:10px;background-color:#f3f9ff}.seckill-box .list-wrapper .itemOne .empty-box img[data-v-980a49ed]{width:64px;height:50px;display:block}.seckill-box .list-wrapper .itemOne .text[data-v-980a49ed]{-webkit-box-flex:1;-ms-flex:1;flex:1}.seckill-box .list-wrapper .itemOne .text .top[data-v-980a49ed]{height:98px}.seckill-box .list-wrapper .itemOne .text .top .num[data-v-980a49ed]{font-size:12px;color:#e93323}.seckill-box .list-wrapper .itemOne .text .top .num .iconfont[data-v-980a49ed]{font-size:12px;margin-right:2px}.seckill-box .list-wrapper .itemOne .text .bottom[data-v-980a49ed]{margin-top:8px;height:40px}.seckill-box .list-wrapper .itemOne .text .name[data-v-980a49ed]{font-size:14px;color:#333;margin-bottom:9px}.seckill-box .list-wrapper .itemOne .text .price[data-v-980a49ed]{font-size:12px;color:#e93323}.seckill-box .list-wrapper .itemOne .text .price .label[data-v-980a49ed]{margin-right:2px}.seckill-box .list-wrapper .itemOne .text .price .num[data-v-980a49ed]{font-size:16px;font-weight:500;font-family:SemiBold}.seckill-box .list-wrapper .itemOne .text .yprice[data-v-980a49ed]{color:#999;font-size:11px;text-decoration:line-through}.seckill-box .list-wrapper .itemOne .text .bnt[data-v-980a49ed]{width:72px;height:28px;background:-webkit-gradient(linear,left top,right top,from(#ff7931),to(#e93323));background:linear-gradient(90deg,#ff7931,#e93323);border-radius:25px;text-align:center;line-height:28px;color:#fff;font-size:12px;position:absolute;right:0;bottom:0}.seckill-box .list-wrapper .list-item[data-v-980a49ed]{width:31.47%;margin-top:10px}.seckill-box .list-wrapper .list-item~.list-item[data-v-980a49ed]{margin-left:9px}.seckill-box .list-wrapper .list-item[data-v-980a49ed]:nth-of-type(3n-2){margin-left:0}.seckill-box .list-wrapper .list-item[data-v-980a49ed]:nth-child(1),.seckill-box .list-wrapper .list-item[data-v-980a49ed]:nth-child(2),.seckill-box .list-wrapper .list-item[data-v-980a49ed]:nth-child(3){margin-top:0}.seckill-box .list-wrapper .list-item .img-box[data-v-980a49ed]{border-radius:6px;position:relative;width:100%;height:106px}.seckill-box .list-wrapper .list-item .img-box .empty-box[data-v-980a49ed]{background-color:#f3f9ff}.seckill-box .list-wrapper .list-item .img-box .empty-box img[data-v-980a49ed]{width:65px;height:50px;display:block}.seckill-box .list-wrapper .list-item .title[data-v-980a49ed]{margin-top:8px;font-size:13px;color:#333}.seckill-box .list-wrapper .list-item .price[data-v-980a49ed]{position:relative;color:#fff;font-size:11px}.seckill-box .list-wrapper .list-item .price .lable[data-v-980a49ed]{font-size:11px;font-weight:600;margin-left:2px}.seckill-box .list-wrapper .list-item .price .num[data-v-980a49ed]{font-size:15px;font-weight:600}.seckill-box .list-wrapper .list-item .price img[data-v-980a49ed]{width:12px;height:22px;display:block;position:absolute;left:-4px;top:0}.seckill-box .list-wrapper .list-item .yprice[data-v-980a49ed]{color:#999;font-size:12px;text-decoration:line-through}.bottom-menu[data-v-9af5c644]{height:50px;padding:0 10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.bottom-menu .menu-img[data-v-9af5c644]{width:20px;height:20px}.bottom-menu .icons-box[data-v-9af5c644]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:10px}.bottom-menu .icons-box .item[data-v-9af5c644]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-right:15px;color:#333}.bottom-menu .icons-box .item .iconfont[data-v-9af5c644]{font-size:20px;margin-bottom:2px}.bottom-menu .icons-box .item .text[data-v-9af5c644]{font-size:10px}.bottom-menu .icons-box .item[data-v-9af5c644]:last-child{margin-right:0}.bottom-menu .buttons-box[data-v-9af5c644]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-flex:1;-ms-flex:1;flex:1}.bottom-menu .buttons-box .btn[data-v-9af5c644]{width:100%;height:36px;border-radius:18px;color:#fff;text-align:center;line-height:36px;font-size:14px}.bottom-menu .buttons-box .btn[data-v-9af5c644]:first-child{margin-left:0;margin-right:0;border-radius:18px}.bottom-menu .buttons-box .btn[data-v-9af5c644]:last-child{border-radius:18px}.bottom-menu .buttons-box .btn.cart-btn[data-v-9af5c644]{background:#faad14;margin-right:10px}.empty-box[data-v-aa15ad48]{height:160px;background-color:#f3f9ff}.empty-box .shan[data-v-aa15ad48]{width:65px!important;height:50px!important}.empty-box.style3[data-v-aa15ad48]{width:16px;border-radius:0;height:144px}.empty-box.style3 img[data-v-aa15ad48]{width:16px;height:100%}.empty-box.on[data-v-aa15ad48]{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 12px;height:160px}.banDot .dot[data-v-aa15ad48]{left:28px;width:calc(100% - 56px);padding:0 12px}.dot[data-v-aa15ad48]{position:absolute;left:0;bottom:25px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;z-index:9;padding:0 30px}.dot.on .dot-item[data-v-aa15ad48]{width:5px;height:5px}.dot.on .dot-item.ons[data-v-aa15ad48]{width:9px;height:5px;border-radius:4px}.dot.on2 .dot-item[data-v-aa15ad48]{width:10px;height:3px;border-radius:4px}.dot .dot-item[data-v-aa15ad48]{width:6px;height:6px;background:#ddd;border-radius:50%;margin:0 3px}.dot .line-dot[data-v-aa15ad48]{width:30px;height:3px;border-radius:4px;background-color:#ddd}.dot .line-dot .item[data-v-aa15ad48]{width:10px;height:100%;border-radius:4px;background-color:#e93323}.dot.number[data-v-aa15ad48]{width:40px;height:18px;border-radius:100px;background:#0000004d;color:#fff;font-size:8px}.dot.number .num[data-v-aa15ad48]{width:22px;height:100%;border-radius:20px 0 20px 20px;background:#0000001a;font-size:10px;text-align:center;line-height:18px}.dot.number .numCon[data-v-aa15ad48]{width:18px;text-align:center;line-height:18px}.homeComb[data-v-aa15ad48]{width:100%;position:relative;overflow:hidden;padding-bottom:13px}.homeComb .bag-gradient[data-v-aa15ad48]{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;z-index:1}.homeComb.on[data-v-aa15ad48]{background:#0003}.homeComb .bgImg[data-v-aa15ad48]{position:absolute;width:100%;height:100%;top:0;z-index:1;-webkit-filter:blur(0);filter:blur(0);overflow:hidden}.homeComb .bgImg img[data-v-aa15ad48]{width:100%;height:100%;-webkit-filter:blur(15px);filter:blur(15px);-webkit-transform:scale(1.5);transform:scale(1.5)}.homeComb .searchBox[data-v-aa15ad48]{position:relative;padding:9px 12px 0;z-index:1}.homeComb .searchBox img[data-v-aa15ad48]{width:69px;height:30px;display:inline-block;margin-right:10px}.homeComb .searchBox .title[data-v-aa15ad48],.homeComb .searchBox .map[data-v-aa15ad48]{font-size:14px;font-weight:400;color:#fff;margin-right:12px}.homeComb .searchBox .map .iconfont[data-v-aa15ad48]{font-size:12px}.homeComb .searchBox .map .icondingwei[data-v-aa15ad48]{font-size:14px;margin-right:6px}.homeComb .searchBox .box[data-v-aa15ad48]{-webkit-box-flex:1;-ms-flex:1;flex:1;height:29px;border-radius:16px;background-color:#e4e4e466;padding:0 12px;font-size:12px;font-weight:400;color:#ffffff80}.homeComb .searchBox .box.on[data-v-aa15ad48]{width:100%}.homeComb .searchBox .box .hot[data-v-aa15ad48]{color:#fff}.homeComb .nav[data-v-aa15ad48]{position:relative;z-index:1;padding:0 12px;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;height:42px}.homeComb .nav .list[data-v-aa15ad48]{width:325px;overflow:hidden}.homeComb .nav .list .listCon[data-v-aa15ad48]{width:10000%}.homeComb .nav .iconfont[data-v-aa15ad48]{font-size:14px;color:#fff}.homeComb .nav .bar[data-v-aa15ad48]{width:1px;height:15px;background:linear-gradient(135deg,#d7d7d700,#fff,#d7d7d700);margin:0 5px}.homeComb .nav .item[data-v-aa15ad48]{font-weight:400;color:#fff;font-size:15px;position:relative}.homeComb .nav .item.on[data-v-aa15ad48]{font-size:16px;margin-left:0!important}.homeComb .nav .item.on .lines[data-v-aa15ad48]{position:absolute;width:10px;height:2px;background:#fff;-webkit-transform:translateX(-50%);transform:translate(-50%);left:50%;bottom:0}.homeComb .banner[data-v-aa15ad48]{width:355px;height:180px;position:relative;z-index:1;border-radius:6px;margin:0 auto}.homeComb .banner.on[data-v-aa15ad48]{margin-top:15px}.homeComb .banner.ons[data-v-aa15ad48]{width:100%}.homeComb .banner img[data-v-aa15ad48]{width:100%;height:100%;border-radius:6px}.couponCon[data-v-2eea208e]{width:-webkit-fill-available;overflow:hidden}.coupon5[data-v-2eea208e]{height:78px;background:#fff;border-radius:8px;padding-left:10px;width:100%;overflow:hidden}.coupon5 .list[data-v-2eea208e]{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.coupon5 .list .item[data-v-2eea208e]{width:114px;height:54px;background:-webkit-gradient(linear,left bottom,left top,from(#e93323),to(#ff7931));background:linear-gradient(0deg,#e93323,#ff7931);border-radius:6px;position:relative;margin-right:6px}.coupon5 .list .item .roll[data-v-2eea208e]{width:8px;height:8px;background:#fff;border-radius:50%;position:absolute;left:-4px}.coupon5 .list .item .right[data-v-2eea208e]{-webkit-box-flex:1;-ms-flex:1;flex:1}.coupon5 .list .item .right .rightCon[data-v-2eea208e]{width:20px;font-size:12px;color:#fff;text-align:center;line-height:1.2}.coupon5 .list .item .left[data-v-2eea208e]{width:86px;height:100%;background:-webkit-gradient(linear,left bottom,left top,from(rgba(255,255,255,.9)),to(rgba(255,255,255,.8)));background:linear-gradient(0deg,#ffffffe6,#fffc);border-radius:6px;text-align:center;color:#e93323;padding:8px 0}.coupon5 .list .item .left .money[data-v-2eea208e]{font-size:21px;line-height:21px;font-family:D-DIN-PRO,D-DIN-PRO;font-weight:600}.coupon5 .list .item .left .money .label[data-v-2eea208e]{font-size:14px}.coupon5 .list .item .left .tips[data-v-2eea208e]{font-size:11px}.coupon4[data-v-2eea208e]{width:100%;border-radius:8px}.coupon4 .list[data-v-2eea208e]{background:#e93323;border-radius:12px;height:86px;padding-left:10px;position:relative;overflow:hidden;width:100%}.coupon4 .list .listCon[data-v-2eea208e]{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.coupon4 .list .pocket[data-v-2eea208e]{text-align:center;background:-webkit-gradient(linear,left bottom,left top,from(#e93323),to(#ff7931));background:linear-gradient(0deg,#e93323,#ff7931);position:absolute;top:0;right:0;width:148px;height:100%;padding-top:10px}.coupon4 .list .pocket .tips[data-v-2eea208e]{color:#fff;font-size:16px}.coupon4 .list .pocket .info[data-v-2eea208e]{font-size:10px;color:#f5f5f5}.coupon4 .list .pocket .bnt[data-v-2eea208e]{width:80px;height:24px;border-radius:13px;background:#e93323;margin:4px auto 0;color:#e93323}.coupon4 .list .pocket .bnt .bntCon[data-v-2eea208e]{width:100%;height:100%;background:#ffffffe6;text-align:center;line-height:24px;font-size:12px;border-radius:13px}.coupon4 .list .item[data-v-2eea208e]{width:70px;height:66px;background:#fff;border-radius:6px;text-align:center;margin-right:6px}.coupon4 .list .item .type[data-v-2eea208e]{font-size:11px;color:#e93323;width:54px;height:19px;background:#e93323;border-radius:0 0 12px 12px;margin:0 auto}.coupon4 .list .item .type .typeCon[data-v-2eea208e]{background:#ffffffe6;width:100%;height:100%;text-align:center;line-height:19px}.coupon4 .list .item .money[data-v-2eea208e]{font-size:20px;font-family:D-DIN-PRO,D-DIN-PRO;font-weight:600;margin-top:4px;line-height:24px;color:#e93323}.coupon4 .list .item .money .label[data-v-2eea208e]{font-size:14px}.coupon4 .list .item .tips[data-v-2eea208e]{font-size:9px;color:#333}.coupon2[data-v-2eea208e]{background:-webkit-gradient(linear,left top,right top,from(#e93323),to(#ff7931));background:linear-gradient(90deg,#e93323,#ff7931);height:140px;padding-left:12px;width:100%;overflow:hidden}.coupon2 .list[data-v-2eea208e]{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.coupon2 .list .item[data-v-2eea208e]{width:102px;height:116px;background:#fff;border-radius:8px;text-align:center;padding-top:14px;margin-right:6px}.coupon2 .list .item .type[data-v-2eea208e]{font-weight:500;color:#333;font-size:12px}.coupon2 .list .item .money[data-v-2eea208e]{font-size:22px;font-family:D-DIN-PRO,D-DIN-PRO;font-weight:600;color:#e93323;line-height:1.3}.coupon2 .list .item .money .label[data-v-2eea208e]{font-size:14px}.coupon2 .list .item .tips[data-v-2eea208e]{font-size:9px;color:#e93323}.coupon2 .list .item .bnt[data-v-2eea208e]{width:68px;height:24px;background:-webkit-gradient(linear,left top,right top,from(#ff7931),to(#e93323));background:linear-gradient(90deg,#ff7931,#e93323);border-radius:13px;color:#fff;font-size:12px;text-align:center;line-height:24px;margin:6px auto 0}.coupon1[data-v-2eea208e]{overflow:hidden;padding:6px}.coupon1 .list[data-v-2eea208e]{margin-top:18px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.coupon1 .list .item[data-v-2eea208e]{width:78px;height:76px;background:#f12a13;position:relative;border-radius:6px 6px 15px 15px;margin-right:6px}.coupon1 .list .item .money[data-v-2eea208e]{width:72px;height:53px;background:#fff;border:1px solid #fceae9;position:absolute;left:3px;top:-18px;text-align:center;font-size:20px;font-family:D-DIN-PRO,D-DIN-PRO;font-weight:600;color:#e93323;padding-top:6px;border-radius:6px 6px 0 0}.coupon1 .list .item .money .lable[data-v-2eea208e]{font-size:14px}.coupon1 .list .item .money .tips[data-v-2eea208e]{font-size:9px;color:#999;font-weight:400}.coupon1 .list .item .sill[data-v-2eea208e]{position:absolute;bottom:0;left:0;width:100%;height:39px;background:-webkit-gradient(linear,left top,right top,from(#e93323),to(#ff7931));background:linear-gradient(90deg,#e93323,#ff7931);color:#fff;line-height:46px;border-radius:0 0 15px 15px;font-size:10px;text-align:center}.coupon1 .list .item img[data-v-2eea208e]{position:absolute;left:0;width:78px;height:10px;bottom:32px}.coupon[data-v-2eea208e]{overflow:hidden;width:100%;padding:12px}.coupon .list[data-v-2eea208e]{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.coupon .itemCon[data-v-2eea208e]{background:#e93323;border-radius:8px;width:137px;height:75px;overflow:hidden;margin-right:6px}.coupon .item[data-v-2eea208e]{-ms-flex-negative:0;flex-shrink:0;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;width:137px;height:75px;background:#ffffffe6;border-radius:8px;color:#fff;margin-right:10px;border:1px solid #e93323}.coupon .item .left[data-v-2eea208e]{width:100px;height:75px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#e93323;padding-bottom:5px}.coupon .item .left .num[data-v-2eea208e]{font-size:22px;font-weight:600}.coupon .item .left .num span[data-v-2eea208e]{font-size:14px}.coupon .item .left .txt[data-v-2eea208e]{font-size:12px}.coupon .item .right[data-v-2eea208e]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:12px;border-left:1px dashed #e93323;color:#e93323}.coupon .item .right .rightCon[data-v-2eea208e]{width:21px;text-align:center;line-height:1.2}.coupon .item .roll[data-v-2eea208e]{position:absolute;width:8px;height:8px;border-radius:0 0 50% 50%;background:#fff;border:1px solid #e93323}.coupon .item .roll.up-roll[data-v-2eea208e]{right:31px;top:-5px}.coupon .item .roll.down-roll[data-v-2eea208e]{right:31px;bottom:-5px;border-radius:50% 50% 0 0}.home_custom_component .custom-box[data-v-dba7b287]{text-align:center}.home_custom_component .custom-box .title[data-v-dba7b287]{font-size:16px;font-weight:700;margin-bottom:5px}.home_custom_component .custom-box .desc[data-v-dba7b287]{font-size:12px;color:#666}.home_custom_component .custom-box .list-wrapper[data-v-dba7b287]{padding:10px}.home_custom_component .custom-box .list-wrapper .list-item[data-v-dba7b287]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:10px;padding:10px;background:#ffffffe6;border-radius:5px}.home_custom_component .custom-box .list-wrapper .list-item .img-box[data-v-dba7b287]{width:70px;height:70px;margin-right:10px;-ms-flex-negative:0;flex-shrink:0}.home_custom_component .custom-box .list-wrapper .list-item .img-box img[data-v-dba7b287]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:4px}.home_custom_component .custom-box .list-wrapper .list-item .info[data-v-dba7b287]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;text-align:left;overflow:hidden}.home_custom_component .custom-box .list-wrapper .list-item .info .name[data-v-dba7b287]{font-size:14px;color:#333;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home_custom_component .custom-box .list-wrapper .list-item .info .time[data-v-dba7b287],.home_custom_component .custom-box .list-wrapper .list-item .info .view[data-v-dba7b287]{font-size:12px;color:#999}.custom-component-box[data-v-dba7b287]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:380px;background:#f3f9ff}.custom-component-box .title[data-v-dba7b287]{font-weight:700}.custom-component-box img[data-v-dba7b287]{width:65px;height:50px}.custom-box-list[data-v-dba7b287]{overflow:auto}.custom-box-list[data-v-dba7b287]::-webkit-scrollbar{display:none}.mobile-page[data-v-4139dfd7]{display:inline-block;width:-webkit-fill-available}.itemOn[data-v-4139dfd7],.itemOn img[data-v-4139dfd7],.itemOn .empty-box[data-v-4139dfd7]{border-radius:0!important}.itemOn .img-box .label[data-v-4139dfd7]{border-radius:0 0 8px!important}.pageOn[data-v-4139dfd7]{border-radius:8px!important}.list-wrapper[data-v-4139dfd7]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.list-wrapper .item[data-v-4139dfd7]{width:48.5%;margin-bottom:10px;background-color:#fff;position:relative}.list-wrapper .item .bnt[data-v-4139dfd7]{width:48px;height:28px;background:-webkit-gradient(linear,left top,right top,from(#e93323),to(#ff7931));background:linear-gradient(90deg,#e93323,#ff7931);border-radius:25px;color:#fff;text-align:center;line-height:28px;font-size:12px;position:absolute;right:10px;bottom:10px}.list-wrapper .item .jia[data-v-4139dfd7]{width:22px;height:22px;background-color:#e93323;border-radius:50%;position:absolute;right:10px;bottom:10px}.list-wrapper .item .jia .jiaCon[data-v-4139dfd7]{width:100%;height:100%;text-align:center;line-height:22px}.list-wrapper .item .jia .jiaCon .iconfont[data-v-4139dfd7]{color:#fff;font-size:13px}.list-wrapper .item .img-box[data-v-4139dfd7]{position:relative;width:100%;height:173px}.list-wrapper .item .img-box .img[data-v-4139dfd7]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.list-wrapper .item .img-box img[data-v-4139dfd7],.list-wrapper .item .img-box .box[data-v-4139dfd7]{width:65px;height:50px}.list-wrapper .item .img-box .empty-box[data-v-4139dfd7]{background:#f3f9ff}.list-wrapper .item .info[data-v-4139dfd7]{padding:7px 10px}.list-wrapper .item .info .title[data-v-4139dfd7]{font-size:14px;color:#333}.list-wrapper .item .info img[data-v-4139dfd7]{height:14px;display:block;margin-top:4px}.list-wrapper .item .info .bottom[data-v-4139dfd7]{color:#999;font-size:11px}.list-wrapper .item .info .price[data-v-4139dfd7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.list-wrapper .item .info .price img[data-v-4139dfd7]{width:70px;height:15px;display:block}.list-wrapper .item .info .price .num[data-v-4139dfd7]{font-size:20px;margin-right:4px;font-family:SemiBold}.list-wrapper .item .info .price .num span[data-v-4139dfd7]{font-size:12px}.itemA .item[data-v-4139dfd7]{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;padding:10px;position:relative}.itemA .item .img-box[data-v-4139dfd7]{position:relative;width:112px;height:112px}.itemA .item .info[data-v-4139dfd7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:10px;padding:0}.itemA .item .info .hd[data-v-4139dfd7]{height:63px}.itemA .item .info .price[data-v-4139dfd7]{margin-top:2px}.itemA .item .info .price.on[data-v-4139dfd7]{margin-top:20px}.itemB[data-v-4139dfd7]{-webkit-box-pack:inherit;-ms-flex-pack:inherit;justify-content:inherit;background-color:#fff;padding:16px 10px 0;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.itemB .list[data-v-4139dfd7]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;width:100%;-webkit-column-gap:10px;-moz-column-gap:10px;column-gap:10px}.itemB .item[data-v-4139dfd7]{width:calc((100% - 20px) / 3);margin-right:0;background:unset}.itemB .item .jia[data-v-4139dfd7]{right:2px;bottom:0}.itemB .item .info[data-v-4139dfd7]{padding:0}.itemB .item .info.on[data-v-4139dfd7]{height:70px}.itemB .item .info.on2[data-v-4139dfd7]{height:30px}.itemB .item .info .hd[data-v-4139dfd7]{margin-top:7px;height:42px}.itemB .item .info .price[data-v-4139dfd7]{margin-top:7px;line-height:1.2}.itemB .item .img-box[data-v-4139dfd7]{position:relative;width:100%;height:110px}.itemB .item .img-box img[data-v-4139dfd7],.itemB .item .img-box .box[data-v-4139dfd7],.itemB .item .img-box .empty-box[data-v-4139dfd7]{border-radius:10px 10px 0 0}.itemD[data-v-4139dfd7]{-ms-flex-wrap:nowrap;flex-wrap:nowrap;display:-webkit-box;display:-ms-flexbox;display:flex;overflow-x:auto;padding-bottom:10px}.itemD[data-v-4139dfd7]::-webkit-scrollbar{display:none}.itemD .list[data-v-4139dfd7]{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.itemD .item[data-v-4139dfd7]{width:110px;-ms-flex-negative:0;flex-shrink:0;margin-right:10px;background:unset}.itemD .item[data-v-4139dfd7]:last-child{margin-right:0}.itemD .item .img-box[data-v-4139dfd7]{height:110px}.itemC .item[data-v-4139dfd7]{background-color:transparent}.itemC .item .info[data-v-4139dfd7]{background-color:#fff}.itemC .item .info.on[data-v-4139dfd7]{height:67px}.itemC .item .info.on2[data-v-4139dfd7]{height:40px}.itemC .item .info .price[data-v-4139dfd7]{margin-top:6px;margin-bottom:8px}.itemC .item .info .bottom[data-v-4139dfd7]{margin-top:3px}.title-img[data-v-4139dfd7]{display:inline-block}.mobile-page[data-v-5ec2ab0a]{display:inline-block;width:-webkit-fill-available}.itemOn[data-v-5ec2ab0a],.itemOn img[data-v-5ec2ab0a],.itemOn .empty-box[data-v-5ec2ab0a]{border-radius:0!important}.itemOn .img-box .label[data-v-5ec2ab0a]{border-radius:0 0 8px!important}.pageOn[data-v-5ec2ab0a]{border-radius:8px!important}.listCross[data-v-5ec2ab0a]{width:100%;background:#fff;padding:16px 12px 6px}.listCross .item[data-v-5ec2ab0a]{width:49%;min-width:0;margin-bottom:10px;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.listCross .item .pictrue[data-v-5ec2ab0a]{-webkit-box-flex:0;-ms-flex:0 0 72px;flex:0 0 72px;width:72px;height:72px;background:#f3f9ff;border-radius:4px;margin-right:10px}.listCross .item .pictrue img[data-v-5ec2ab0a]{width:26px;height:20px;display:block}.listCross .item .pictrue .img[data-v-5ec2ab0a]{width:100%;height:100%;display:block;-o-object-fit:cover;object-fit:cover}.listCross .item .text[data-v-5ec2ab0a]{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:0;overflow:hidden}.listCross .item .text .name[data-v-5ec2ab0a]{width:100%;font-size:13px;color:#282828;height:45px;overflow:hidden}.listCross .item .text .name .line2[data-v-5ec2ab0a]{width:100%}.listCross .item .text .price[data-v-5ec2ab0a]{font-size:18px;font-weight:600;font-family:SemiBold}.listCross .item .text .price span[data-v-5ec2ab0a]{font-size:12px}.listBig[data-v-5ec2ab0a]{width:100%}.listBig .itemBig[data-v-5ec2ab0a]{width:100%;margin-bottom:10px;background-color:#fff;border-radius:10px;position:relative}.listBig .itemBig .bnt[data-v-5ec2ab0a]{width:48px;height:28px;background:-webkit-gradient(linear,left top,right top,from(#e93323),to(#ff7931));background:linear-gradient(90deg,#e93323,#ff7931);border-radius:25px;text-align:center;line-height:28px;font-size:12px;color:#fff;position:absolute;right:10px;bottom:12px}.listBig .itemBig .jia[data-v-5ec2ab0a]{width:22px;height:22px;background-color:#e93323;border-radius:50%;position:absolute;right:10px;bottom:10px}.listBig .itemBig .jia .jiaCon[data-v-5ec2ab0a]{width:100%;height:100%;text-align:center;line-height:22px}.listBig .itemBig .jia .jiaCon .iconfont[data-v-5ec2ab0a]{color:#fff;font-size:13px}.listBig .itemBig .conter[data-v-5ec2ab0a]{padding:0 12px 12px}.listBig .itemBig .conter.on[data-v-5ec2ab0a]{height:45px}.listBig .itemBig .conter .name[data-v-5ec2ab0a]{margin-top:10px;font-weight:400;color:#333;font-size:14px;padding:0}.listBig .itemBig .conter img[data-v-5ec2ab0a]{height:14px;display:block;margin-top:5px}.listBig .itemBig .conter .price[data-v-5ec2ab0a]{margin-top:8px;margin-bottom:8px}.listBig .itemBig .conter .price img[data-v-5ec2ab0a]{width:70px;height:15px}.listBig .itemBig .conter .price .num[data-v-5ec2ab0a]{font-size:20px;font-family:SemiBold}.listBig .itemBig .conter .price .num span[data-v-5ec2ab0a]{font-size:12px}.listBig .itemBig .conter .bottom[data-v-5ec2ab0a]{font-weight:400;color:#999;font-size:11px}.listBig .itemBig .img-box[data-v-5ec2ab0a]{width:100%;height:180px;position:relative}.listBig .itemBig .img-box img[data-v-5ec2ab0a]{width:65px;height:50px}.listBig .itemBig .img-box .img[data-v-5ec2ab0a]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.listBig .itemBig .img-box .empty-box[data-v-5ec2ab0a]{border-radius:8px 8px 0 0;background:#f3f9ff}.listBig .itemBig .img-box .label[data-v-5ec2ab0a]{position:absolute;top:0;left:0;width:59px;height:25px;line-height:25px;text-align:center;color:#fff;font-size:12px;border-radius:8px 0}.listBig .itemBig .name[data-v-5ec2ab0a]{font-size:15px;font-weight:700;margin-top:8px;padding:0 10px}.listBig .itemBig .coupon[data-v-5ec2ab0a]{width:16px;height:18px;line-height:18px;text-align:center;font-size:12px;margin-right:5px;display:inline-block}.listBig .itemBig .price[data-v-5ec2ab0a]{font-weight:700;font-size:12px}.listBig .itemBig .price .num[data-v-5ec2ab0a]{font-size:18px;margin-right:5px}.home_product[data-v-5ec2ab0a]{overflow:hidden}.home_product .hd_nav[data-v-5ec2ab0a]{display:-webkit-box;display:-ms-flexbox;display:flex;height:65px;padding:0 5px}.home_product .hd_nav .item[data-v-5ec2ab0a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:25%}.home_product .hd_nav .item .title[data-v-5ec2ab0a]{font-size:16px;color:#282828}.home_product .hd_nav .item .label[data-v-5ec2ab0a]{width:62px;height:18px;line-height:18px;text-align:center;background:transparent;border-radius:8px;color:#999;font-size:12px}.home_product .hd_nav .item.active .title[data-v-5ec2ab0a]{color:#f44}.home_product .hd_nav .item.active .label[data-v-5ec2ab0a]{color:#fff;background:-webkit-gradient(linear,right top,left top,from(rgb(255,84,0)),to(rgb(255,0,0)));background:linear-gradient(270deg,#ff5400,red)}.list-wrapper[data-v-5ec2ab0a]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.list-wrapper .item[data-v-5ec2ab0a]{width:48.5%;margin-bottom:10px;background-color:#fff;position:relative}.list-wrapper .item .bnt[data-v-5ec2ab0a]{width:48px;height:28px;background:-webkit-gradient(linear,left top,right top,from(#e93323),to(#ff7931));background:linear-gradient(90deg,#e93323,#ff7931);border-radius:25px;color:#fff;text-align:center;line-height:28px;font-size:12px;position:absolute;right:10px;bottom:10px}.list-wrapper .item .jia[data-v-5ec2ab0a]{width:22px;height:22px;background-color:#e93323;border-radius:50%;position:absolute;right:10px;bottom:10px}.list-wrapper .item .jia .jiaCon[data-v-5ec2ab0a]{width:100%;height:100%;text-align:center;line-height:22px}.list-wrapper .item .jia .jiaCon .iconfont[data-v-5ec2ab0a]{color:#fff;font-size:13px}.list-wrapper .item .img-box[data-v-5ec2ab0a]{position:relative;width:100%;height:173px}.list-wrapper .item .img-box .img[data-v-5ec2ab0a]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.list-wrapper .item .img-box img[data-v-5ec2ab0a],.list-wrapper .item .img-box .box[data-v-5ec2ab0a]{width:65px;height:50px}.list-wrapper .item .img-box .empty-box[data-v-5ec2ab0a]{background:#f3f9ff}.list-wrapper .item .img-box .box[data-v-5ec2ab0a]{background:#d8d8d8}.list-wrapper .item .img-box .label[data-v-5ec2ab0a]{position:absolute;left:0;top:0;width:46px;height:22px;border-radius:10px 0;color:#fff;font-size:13px;text-align:center;line-height:22px}.list-wrapper .item .info[data-v-5ec2ab0a]{padding:7px 10px}.list-wrapper .item .info .title[data-v-5ec2ab0a]{font-size:14px;color:#333}.list-wrapper .item .info img[data-v-5ec2ab0a]{height:14px;display:block;margin-top:4px}.list-wrapper .item .info .bottom[data-v-5ec2ab0a]{color:#999;font-size:11px}.list-wrapper .item .info .price[data-v-5ec2ab0a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.list-wrapper .item .info .price img[data-v-5ec2ab0a]{width:70px;height:15px;display:block}.list-wrapper .item .info .price .num[data-v-5ec2ab0a]{font-size:20px;margin-right:4px;font-family:SemiBold}.list-wrapper .item .info .price .num span[data-v-5ec2ab0a]{font-size:12px}.list-wrapper .item .info .price .label[data-v-5ec2ab0a]{width:16px;height:18px;margin-left:5px;text-align:center;line-height:18px;font-size:11px}.list-wrapper .item .info .price .label.on[data-v-5ec2ab0a]{margin-left:0}.itemA .item[data-v-5ec2ab0a]{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;padding:10px;position:relative}.itemA .item .img-box[data-v-5ec2ab0a]{position:relative;width:112px;height:112px}.itemA .item .img-box img[data-v-5ec2ab0a]{width:65px;height:50px}.itemA .item .img-box .empty-box[data-v-5ec2ab0a]{background:#f3f9ff}.itemA .item .info[data-v-5ec2ab0a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:10px;padding:0}.itemA .item .info .hd[data-v-5ec2ab0a]{height:63px}.itemA .item .info .price[data-v-5ec2ab0a]{margin-top:2px}.itemA .item .info .price.on[data-v-5ec2ab0a]{margin-top:20px}.itemA .item .info .price .img[data-v-5ec2ab0a]{margin-top:0}.itemB[data-v-5ec2ab0a]{-webkit-box-pack:inherit;-ms-flex-pack:inherit;justify-content:inherit;background-color:#fff;padding:16px 10px 0;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.itemB .list[data-v-5ec2ab0a]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%}.itemB .item[data-v-5ec2ab0a]{width:100%;min-width:0;margin-right:0;background:unset}.itemB .item .jia[data-v-5ec2ab0a]{right:2px;bottom:0}.itemB .item .info[data-v-5ec2ab0a]{padding:0}.itemB .item .info.on[data-v-5ec2ab0a]{height:70px}.itemB .item .info.on2[data-v-5ec2ab0a]{height:30px}.itemB .item .info .hd[data-v-5ec2ab0a]{margin-top:7px;height:42px}.itemB .item .info .price[data-v-5ec2ab0a]{margin-top:7px;line-height:1.2}.itemB .item .img-box[data-v-5ec2ab0a]{position:relative;width:100%;height:110px}.itemB .item .img-box img[data-v-5ec2ab0a],.itemB .item .img-box .box[data-v-5ec2ab0a],.itemB .item .img-box .empty-box[data-v-5ec2ab0a]{border-radius:10px 10px 0 0}.itemD[data-v-5ec2ab0a]{-ms-flex-wrap:nowrap;flex-wrap:nowrap;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;overflow:hidden}.itemD .list[data-v-5ec2ab0a]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:0;width:auto}.itemD .item[data-v-5ec2ab0a]{-webkit-box-flex:0;-ms-flex:0 0 100px;flex:0 0 100px;width:100px;margin-right:10px;background:unset}.itemD .item[data-v-5ec2ab0a]:nth-child(3n){margin-right:10px}.itemD .item .img-box[data-v-5ec2ab0a]{height:100px}.itemC .item[data-v-5ec2ab0a]{background-color:transparent}.itemC .item .info.on[data-v-5ec2ab0a]{height:67px}.itemC .item .info.on2[data-v-5ec2ab0a]{height:40px}.itemC .item .info .price[data-v-5ec2ab0a]{margin-top:6px;margin-bottom:8px}.itemC .item .info .bottom[data-v-5ec2ab0a]{margin-top:3px}.paddingBox[data-v-b61c7ce6]{padding:0 10px!important}.home-hot[data-v-b61c7ce6]{padding:15px 10px;background:#ffe5e3;border-radius:12px}.home-hot .hd[data-v-b61c7ce6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.home-hot .hd .txt[data-v-b61c7ce6]{margin-right:10px;color:#fc3c3e;font-size:16px;font-weight:700}.home-hot .hd .color-txt[data-v-b61c7ce6]{width:110px;height:18px;border-radius:13px 0;color:#fff;text-align:center;font-size:11px;-webkit-box-shadow:3px 1px 1px 1px rgba(255,203,199,.8);box-shadow:3px 1px 1px 1px #ffcbc7cc}.home-hot .bd[data-v-b61c7ce6]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.home-hot .bd .item[data-v-b61c7ce6]{display:-webkit-box;display:-ms-flexbox;display:flex;width:158px;margin-top:10px;margin-right:13px;padding:10px;background:#fff;border-radius:8px}.home-hot .bd .item[data-v-b61c7ce6]:nth-child(2n){margin-right:0}.home-hot .bd .item .left[data-v-b61c7ce6]{width:69px}.home-hot .bd .item .left .title[data-v-b61c7ce6]{font-size:14px}.home-hot .bd .item .left .des[data-v-b61c7ce6]{font-size:12px;color:#999}.home-hot .bd .item .left .link[data-v-b61c7ce6]{width:56px;height:18px;padding:0 10px;margin-top:3px;background:-webkit-gradient(linear,left top,right top,from(#4bc4ff),to(#207eff));background:linear-gradient(90deg,#4bc4ff,#207eff);border-radius:9px;color:#fff;font-size:13px}.home-hot .bd .item .img-box[data-v-b61c7ce6]{-webkit-box-flex:1;-ms-flex:1;flex:1}.home-hot .bd .item .img-box img[data-v-b61c7ce6]{width:100%;height:100%}.home-hot .bd .item .img-box .box[data-v-b61c7ce6]{width:100%;height:100%;background:#d8d8d8}.home-hot .bd .item:nth-child(2) .left .link[data-v-b61c7ce6]{background:-webkit-gradient(linear,left top,right top,from(#ff9043),to(#ff531d));background:linear-gradient(90deg,#ff9043,#ff531d)}.home-hot .bd .item:nth-child(3) .left .link[data-v-b61c7ce6]{background:-webkit-gradient(linear,left top,right top,from(#96e187),to(#48ce2c));background:linear-gradient(90deg,#96e187,#48ce2c)}.home-hot .bd .item:nth-child(4) .left .link[data-v-b61c7ce6]{background:-webkit-gradient(linear,left top,right top,from(#ffc560),to(#ff9c00));background:linear-gradient(90deg,#ffc560,#ff9c00)}.mobile-page[data-v-86a32f21]{display:inline-block;width:-webkit-fill-available}.pictrue[data-v-86a32f21]{width:100%;height:100%}.pictrue .empty-box[data-v-86a32f21]{width:100%;height:375px;border-radius:0;background:#f3f9ff}.pictrue .empty-box img[data-v-86a32f21]{width:65px;height:50px}.pictrue img[data-v-86a32f21]{width:100%;height:100%}.info-card-box[data-v-b1aa3bdb]{padding:4px 0}.title[data-v-b1aa3bdb]{font-size:16px;font-weight:700;color:#333;margin-bottom:10px}.mock-info-list[data-v-b1aa3bdb]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:8px}.mock-info-row[data-v-b1aa3bdb]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:4px 0;border-bottom:1px solid #f5f5f5}.mock-info-row[data-v-b1aa3bdb]:last-child{border-bottom:none}.mock-info-label[data-v-b1aa3bdb]{font-size:12px;color:#999}.mock-info-value[data-v-b1aa3bdb]{font-size:12px;color:#333}.mobile-page[data-v-38673503]{display:inline-block;width:-webkit-fill-available}.member-card[data-v-38673503]{position:relative;min-height:100px;overflow:hidden}.member-card .shortcut-entry .shortcut-img[data-v-38673503]{width:20px;height:20px;display:block}.member-card .shortcut-entry .empty-icon[data-v-38673503]{width:20px;height:20px;background:#f5f5f5;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#999;font-size:12px}.member-card .menu-entry[data-v-38673503]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.member-card .menu-entry .iconfont[data-v-38673503]{font-size:20px;color:#333}.member-card .menu-entry .menu-img[data-v-38673503]{width:20px;height:20px;display:block}.member-card .menu-entry .empty-icon[data-v-38673503]{width:20px;height:20px;background:#f5f5f5;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#999;font-size:12px}.member-card .card-header[data-v-38673503]{position:relative;z-index:2}.member-card .card-header .user-info.style-2[data-v-38673503]{width:100%;padding:0 21px}.member-card .card-header .user-info.style-2 .avatar[data-v-38673503]{margin-right:0}.member-card .card-header .user-info.style-3[data-v-38673503]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.member-card .card-header .user-info.style-3 .avatar[data-v-38673503]{margin-right:0;margin-bottom:10px}.member-card .card-header .user-info.style-3 .text[data-v-38673503]{text-align:center}.member-card .card-header .user-info.style-3 .text .name[data-v-38673503]{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.member-card .card-header .user-info .avatar[data-v-38673503]{width:56px;height:56px;border-radius:50%;margin-right:16px}.member-card .card-header .user-info .avatar img[data-v-38673503]{width:100%;height:100%;border-radius:50%;-o-object-fit:cover;object-fit:cover}.member-card .card-header .user-info .avatar .empty-box[data-v-38673503]{background-color:#f3f9ff;border:1px solid #eeeeee;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;border-radius:50%}.member-card .card-header .user-info .avatar .empty-box img[data-v-38673503]{width:26px;height:20px;border-radius:0}.member-card .card-header .user-info .text .name[data-v-38673503]{font-size:16px;font-weight:500;color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:5px}.member-card .card-header .user-info .text .level[data-v-38673503]{font-size:10px;color:#fff}.member-card .card-data[data-v-38673503]{margin-top:20px;position:relative;z-index:2}.member-card .card-data .item[data-v-38673503]{text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.member-card .card-data .item.style-vert[data-v-38673503]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.member-card .card-data .item.style-horiz[data-v-38673503]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.member-card .card-data .item.style-horiz .num[data-v-38673503]{margin-left:5px}.member-card .card-data .item.style-vert-2[data-v-38673503],.member-card .card-data .item.style-icon[data-v-38673503]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.member-card .card-data .item.style-icon .icon-box[data-v-38673503]{margin-bottom:5px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.member-card .card-data .item.style-icon .icon-box .iconfont[data-v-38673503]{font-size:24px;color:#fff}.member-card .card-data .item.style-icon .icon-box .img-icon[data-v-38673503]{width:24px;height:24px}.member-card .card-data .item.style-icon .icon-box .empty-icon[data-v-38673503]{width:24px;height:24px;background:#f5f5f5;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#999;font-size:12px;border-radius:4px}.member-card .card-data .item .num[data-v-38673503]{font-size:16px;font-weight:700;color:#fff}.member-card .card-data .item .label[data-v-38673503]{font-size:11px;color:#fffc;margin-top:0}.member-card.style4 .text-center[data-v-38673503]{text-align:center;margin-top:10px}.member-card.style4 .avatar[data-v-38673503]{margin-right:0}.member-style-1[data-v-38673503]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:15px 0;margin-top:18px}.member-style-1 .item[data-v-38673503]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;padding:0 20px}.member-style-1 .item .text-box .title[data-v-38673503]{font-size:14px;color:#333;font-weight:700;margin-bottom:5px}.member-style-1 .item .text-box .subtitle[data-v-38673503]{font-size:11px;color:#ff7d00;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.member-style-1 .item .text-box .subtitle .iconfont[data-v-38673503]{font-size:10px;margin-top:1px}.member-style-1 .item .img-box[data-v-38673503]{width:44px;height:44px}.member-style-1 .item .img-box img[data-v-38673503]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:50%}.member-style-1 .item .img-box .empty-icon[data-v-38673503]{width:100%;height:100%;background:#f5f5f5;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#ccc;border-radius:50%}.member-style-1 .item .line[data-v-38673503]{position:absolute;right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:1px;height:20px;background:#eee}.style-4-container[data-v-38673503]{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.style-4-container .left-card[data-v-38673503]{-webkit-box-flex:2;-ms-flex:2;flex:2;margin-right:10px;padding:15px;background:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.style-4-container .left-card .user-info[data-v-38673503]{margin-bottom:10px}.style-4-container .left-card .user-info .avatar[data-v-38673503]{width:40px;height:40px;margin-right:10px}.style-4-container .left-card .user-info .avatar img[data-v-38673503]{width:100%;height:100%;border-radius:50%;-o-object-fit:cover;object-fit:cover}.style-4-container .left-card .user-info .avatar .empty-box[data-v-38673503]{width:100%;height:100%;border-radius:50%;background:#eee;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.style-4-container .left-card .user-info .avatar .empty-box img[data-v-38673503]{width:20px;height:20px;border-radius:0}.style-4-container .left-card .user-info .text .name[data-v-38673503]{margin-bottom:3px}.style-4-container .left-card .stats-row .item[data-v-38673503]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.style-4-container .right-card[data-v-38673503]{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:15px 10px;background:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.style-4-container .right-card .entry-content[data-v-38673503]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center}.style-4-container .right-card .entry-content .img-box[data-v-38673503]{width:60px;height:60px;margin-top:5px}.style-4-container .right-card .entry-content .img-box img[data-v-38673503]{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.style-4-container .right-card .entry-content .img-box .empty-icon[data-v-38673503]{width:100%;height:100%;background:#f5f5f5;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#ccc;border-radius:4px}.style-5-container[data-v-38673503]{padding:20px;background:#fff;border-radius:12px;margin-top:45px}.style-5-container .header[data-v-38673503]{margin-bottom:45px;position:relative}.style-5-container .header .left[data-v-38673503]{position:absolute;top:-46px;left:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.style-5-container .header .left .avatar[data-v-38673503]{width:74px;height:74px;margin-right:12px;border-radius:50%;border:3px solid #fff;position:relative}.style-5-container .header .left .avatar img[data-v-38673503]{width:100%;height:100%;border-radius:50%;-o-object-fit:cover;object-fit:cover}.style-5-container .header .left .avatar .empty-box[data-v-38673503]{width:100%;height:100%;border-radius:50%;background:#f5f5f5;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.style-5-container .header .left .avatar .empty-box img[data-v-38673503]{width:25px;height:25px;border-radius:0}.style-5-container .header .left .text .name[data-v-38673503]{font-weight:700;margin-bottom:5px}.style-5-container .header .menu-entry[data-v-38673503]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;top:0;right:0}.style-5-container .header .menu-entry .item .menu-img[data-v-38673503]{width:24px;height:24px}.style-5-container .header .menu-entry .item .mb-iconfont[data-v-38673503]{font-size:24px;color:#333}.style-5-container .asset-grid[data-v-38673503]{padding-top:35px}.style-5-container .asset-grid .item[data-v-38673503]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.style-5-container .asset-grid .item .icon-box[data-v-38673503]{width:30px;height:30px;margin-bottom:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.style-5-container .asset-grid .item .icon-box .img-icon[data-v-38673503]{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.style-5-container .asset-grid .item .icon-box .iconfont[data-v-38673503]{font-size:30px;color:#333}.style-5-container .asset-grid .item .icon-box .empty-icon[data-v-38673503]{width:30px;height:30px;background:#f5f5f5;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#ccc;border-radius:4px}.member-style-2[data-v-38673503]{margin-top:18px;padding:15px}.member-style-2 .top-row[data-v-38673503]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:15px}.member-style-2 .top-row .left-info .title-area[data-v-38673503]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.member-style-2 .top-row .left-info .title-area .title-img[data-v-38673503]{width:162px;height:30px;-o-object-fit:cover;object-fit:cover}.member-style-2 .top-row .left-info .title-area .title-text[data-v-38673503]{font-size:18px;font-weight:700}.member-style-2 .top-row .left-info .intro-text[data-v-38673503]{font-size:12px;opacity:.8}.member-style-2 .top-row .right-rights[data-v-38673503]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.member-style-2 .top-row .right-rights .right-item[data-v-38673503]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:10px}.member-style-2 .top-row .right-rights .right-item .icon-wrap[data-v-38673503]{width:28px;height:28px;margin-right:4px}.member-style-2 .top-row .right-rights .right-item .icon-wrap img[data-v-38673503]{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.member-style-2 .top-row .right-rights .right-item .icon-wrap .iconfont[data-v-38673503]{font-size:16px}.member-style-2 .top-row .right-rights .right-item .icon-wrap .empty-icon[data-v-38673503]{width:100%;height:100%;background:#f5f5f5;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#ccc;border-radius:50%}.member-style-2 .top-row .right-rights .right-item .icon-wrap .empty-icon img[data-v-38673503],.member-style-2 .top-row .right-rights .right-item .text[data-v-38673503]{font-size:12px}.member-style-2 .top-row .right-rights .iconyou[data-v-38673503]{margin-left:5px;font-size:12px}.member-style-2 .divider[data-v-38673503]{height:1px;background:#0000000d;margin:0}.member-style-2 .bottom-row[data-v-38673503]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-top:10px}.member-style-2 .bottom-row .explain-list[data-v-38673503]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.member-style-2 .bottom-row .explain-list .icons[data-v-38673503]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:10px}.member-style-2 .bottom-row .explain-list .icons img[data-v-38673503]{height:32px;-o-object-fit:contain;object-fit:contain}.member-style-2 .bottom-row .explain-list .explain-text[data-v-38673503]{font-size:12px}.member-style-2 .bottom-row .action-btn[data-v-38673503]{padding:5px 15px;border-radius:20px;font-size:12px;font-weight:700}.member-style-3[data-v-38673503]{margin-top:18px}.member-style-4[data-v-38673503]{margin-top:18px;padding:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mobile-page[data-v-48117ee2]{display:inline-block;width:-webkit-fill-available}.menu-header[data-v-48117ee2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.menu-header .left-text[data-v-48117ee2]{-webkit-box-flex:1;-ms-flex:1;flex:1}.menu-header .right-text[data-v-48117ee2]{-ms-flex-negative:0;flex-shrink:0}.list_menu[data-v-48117ee2]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.list_menu .item[data-v-48117ee2]{font-size:12px;color:#333;text-align:center;width:33.3333%}.list_menu .item.four[data-v-48117ee2]{width:25%}.list_menu .item.five[data-v-48117ee2]{width:20%}.list_menu .item.grid-three[data-v-48117ee2]{width:33.3333%}.list_menu .item.grid-four[data-v-48117ee2]{width:25%}.list_menu .item .item-content[data-v-48117ee2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;-webkit-box-sizing:border-box;box-sizing:border-box;margin-bottom:12px}.list_menu .item .img-box[data-v-48117ee2]{width:45px;height:45px;margin:0 auto 8px}.list_menu .item .img-box.on[data-v-48117ee2]{width:25px;height:25px;margin-bottom:0}.list_menu .item .img-box img[data-v-48117ee2]{width:100%;height:100%}.list_menu .item .img-box-gird[data-v-48117ee2]{width:45px;height:45px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:relative}.list_menu .item .img-box-gird img[data-v-48117ee2]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.list_menu .item .img-box-gird.on[data-v-48117ee2]{margin-bottom:10px}.list_menu .icontupian[data-v-48117ee2]{font-size:16px}.list_menu.grid-layout[data-v-48117ee2]{display:grid;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.list_menu.grid-layout .item[data-v-48117ee2]{width:100%}.list_menu.grid-layout .item .item-content[data-v-48117ee2]{margin-bottom:0}.list-menu[data-v-48117ee2]{padding:0 12px}.list-menu .list-item[data-v-48117ee2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:6px 0;border-bottom:1px solid #f5f5f5}.list-menu .list-item[data-v-48117ee2]:last-child{border-bottom:none}.list-menu .list-item .list-item-content[data-v-48117ee2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:1;-ms-flex:1;flex:1}.list-menu .list-item .list-img-box[data-v-48117ee2]{width:40px;height:40px;margin-right:12px;-ms-flex-negative:0;flex-shrink:0;border-radius:4px;overflow:hidden}.list-menu .list-item .list-img-box img[data-v-48117ee2]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.list-menu .list-item .list-empty-box[data-v-48117ee2]{width:45px;height:45px;margin-right:12px;-ms-flex-negative:0;flex-shrink:0;background:#f3f9ff;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.list-menu .list-item .list-empty-box img[data-v-48117ee2]{width:20px!important;height:16px!important}.list-menu .list-item .list-text[data-v-48117ee2]{-webkit-box-flex:1;-ms-flex:1;flex:1;font-size:14px;margin:0}.list-menu .list-item .list-arrow[data-v-48117ee2]{font-size:18px;color:#999;margin-left:8px}.home_menu[data-v-48117ee2]{padding:0 12px 12px;display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden}.home_menu .menu-item[data-v-48117ee2]{margin-top:12px;font-size:11px;color:#282828;text-align:center;margin-right:27px}.home_menu .menu-item .img-box[data-v-48117ee2]{width:50px;height:50px}.home_menu .menu-item .img-box.on[data-v-48117ee2],.home_menu .menu-item .img-box.on img[data-v-48117ee2],.home_menu .menu-item .img-box.on .empty-box[data-v-48117ee2]{border-radius:50%}.home_menu .menu-item .box[data-v-48117ee2],.home_menu .menu-item img[data-v-48117ee2]{width:100%;height:100%}.home_menu .menu-item .box[data-v-48117ee2]{background:#d8d8d8}.home_menu .menu-item p[data-v-48117ee2]{margin-top:5px}.home_menu.on .menu-item[data-v-48117ee2]{margin-right:51px}.home_menu.on .menu-item[data-v-48117ee2]:nth-child(5n){margin-right:51px}.home_menu.on .menu-item[data-v-48117ee2]:nth-child(4n){margin-right:0}.home_menu .icontupian[data-v-48117ee2]{font-size:16px}.dot[data-v-48117ee2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding-bottom:10px}.dot.number[data-v-48117ee2]{bottom:15px}.dot .num[data-v-48117ee2]{width:25px;height:18px;line-height:18px;background-color:#000;color:#fff;opacity:.3;border-radius:8px;font-size:12px;text-align:center}.dot .dot-item[data-v-48117ee2]{width:10px;height:3px;background:#ddd;border-radius:50%;margin:0 3px}.empty-box[data-v-48117ee2]{background:#f3f9ff}.empty-box img[data-v-48117ee2]{width:26px!important;height:20px!important}.mobile-page[data-v-b7485322]{display:inline-block;width:-webkit-fill-available}.empty-box[data-v-b7485322]{background:#f3f9ff}.empty-box img[data-v-b7485322]{width:65px!important;height:50px!important}.wrapper2[data-v-b7485322]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:100%}.wrapper2 .item[data-v-b7485322]{width:calc(50% - 5px);margin-bottom:10px;-webkit-box-sizing:border-box;box-sizing:border-box}.wrapper2 .item.on1[data-v-b7485322]:nth-last-child(1){margin-bottom:0}.wrapper2 .item.on2[data-v-b7485322]:nth-last-child(1){margin-bottom:0}.wrapper2 .item.on2[data-v-b7485322]:nth-last-child(2){margin-bottom:0}.wrapper2 .item .pictrue[data-v-b7485322]{width:100%;height:108px}.wrapper2 .item .pictrue img[data-v-b7485322]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.wrapper2 .item .text[data-v-b7485322]{padding:8px 10px 4px;-webkit-box-sizing:border-box;box-sizing:border-box}.wrapper2 .item .text .name[data-v-b7485322]{color:#333;font-size:14px}.wrapper2 .item .text .time[data-v-b7485322]{font-size:12px;color:#999}.wrapper2 .item .text .bottom[data-v-b7485322]{font-size:12px;color:#999;margin-top:2px}.wrapper2 .item .text .bottom .likeNum[data-v-b7485322]{padding-top:2px}.wrapper2 .item .text .bottom .iconfont[data-v-b7485322]{font-size:15px;margin-right:4px;padding-top:2px}.wrapper .item[data-v-b7485322]{padding:16px 12px 12px;margin-bottom:10px}.wrapper .item[data-v-b7485322]:nth-last-child(1){margin-bottom:0}.wrapper .item .name[data-v-b7485322]{font-size:14px;color:#333}.wrapper .item .pictrue[data-v-b7485322]{width:100%;height:160px;margin-top:12px}.wrapper .item .pictrue img[data-v-b7485322]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.wrapper .item .bottom[data-v-b7485322]{color:#999;font-size:12px;margin-top:12px}.wrapper .item .bottom .right[data-v-b7485322]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wrapper .item .bottom .right .iconfont[data-v-b7485322]{font-size:16px;margin-right:4px}.wrapper .item .bottom .right .iconic_Like[data-v-b7485322]{font-size:14px}.wrapper .item .bottom .right .like[data-v-b7485322]{margin-left:16px}.wrapper .item .bottom .right .num[data-v-b7485322]{margin-top:2px}.list-wrapper .item[data-v-b7485322]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;background-color:#fff;padding:8px;margin-bottom:10px}.list-wrapper .item[data-v-b7485322]:nth-last-child(1){margin-bottom:0!important}.list-wrapper .item .info[data-v-b7485322]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-left:10px;-webkit-box-flex:1;-ms-flex:1;flex:1}.list-wrapper .item .info .titleCon[data-v-b7485322]{height:52px}.list-wrapper .item .info .title[data-v-b7485322]{color:#333;font-size:14px}.list-wrapper .item .info .bottom[data-v-b7485322]{color:#999;font-size:12px}.list-wrapper .item .info .bottom .right[data-v-b7485322]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.list-wrapper .item .info .bottom .right .iconfont[data-v-b7485322]{font-size:16px;margin-right:4px}.list-wrapper .item .info .bottom .right .like[data-v-b7485322]{margin-left:16px}.list-wrapper .item .info .bottom .right .like .likeNum[data-v-b7485322]{padding-top:2px}.list-wrapper .item .empty-box[data-v-b7485322]{width:120px;height:76px;background:#f3f9ff img;background-width:50px!important;background-height:38px!important}.list-wrapper .item .pictrue[data-v-b7485322]{width:120px;height:76px}.list-wrapper .item .pictrue img[data-v-b7485322]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.pageOn[data-v-4b3dd060]{border-radius:6px!important}.news-box[data-v-4b3dd060]{display:inline-block;width:-webkit-fill-available}.news-box .list[data-v-4b3dd060]{padding:0 12px 16px}.news-box .list .title[data-v-4b3dd060]{color:#999;font-size:12px;padding:16px 0}.news-box .list .title .top[data-v-4b3dd060]{font-size:16px}.news-box .list .title .pictrue[data-v-4b3dd060]{height:18px}.news-box .list .title .pictrue img[data-v-4b3dd060]{height:100%;width:100%}.news-box .list .title .iconfont[data-v-4b3dd060]{font-size:12px}.news-box .list .text[data-v-4b3dd060]{color:#282828;font-size:14px}.news-box .list .text .num[data-v-4b3dd060]{font-size:15px;margin-right:7px;color:#999}.news-box .list .text .num.on[data-v-4b3dd060]{color:#e93323}.news-box .list .text .num.on2[data-v-4b3dd060]{color:#ff7300}.news-box .list .text .num.on3[data-v-4b3dd060]{color:#ffc300}.news-box .list .text~.text[data-v-4b3dd060]{margin-top:12px}.news-box .item[data-v-4b3dd060]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:44px;padding:0 10px;font-size:13px;color:#333;position:relative}.news-box .item .top[data-v-4b3dd060]{max-width:64px;height:20px;font-size:13px;text-align:center;line-height:20px;padding:0 6px;border-radius:4px;margin-right:8px}.news-box .item .iconfont[data-v-4b3dd060]{color:#999;font-size:14px}.news-box .item .img-box[data-v-4b3dd060]{height:24px}.news-box .item .img-box img[data-v-4b3dd060]{height:100%;margin-right:8px}.news-box .item .right-box[data-v-4b3dd060]{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-page[data-v-d38896f4]{display:inline-block;width:-webkit-fill-available;overflow:hidden}.vip-container[data-v-d38896f4]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.vip-container .left-content[data-v-d38896f4]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.vip-container .left-content .vip-icon[data-v-d38896f4]{height:18px;margin-right:8px}.vip-container .left-content .text-content[data-v-d38896f4]{font-size:13px;font-weight:400}.vip-container .right-content .open-btn[data-v-d38896f4]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-weight:500;cursor:pointer}.vip-container .right-content .open-btn .iconjinru[data-v-d38896f4]{font-size:12px;margin-left:2px}.seckill-box[data-v-41cab8bf]{display:inline-block;width:-webkit-fill-available}.seckill-box .hd[data-v-41cab8bf]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-repeat:no-repeat;background-size:100% 100%;width:100%;height:48px;padding:0 12px}.seckill-box .hd .right[data-v-41cab8bf]{color:#fff;font-size:12px}.seckill-box .hd .right .iconfont[data-v-41cab8bf]{font-size:12px}.seckill-box .hd .left[data-v-41cab8bf]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.seckill-box .hd .left .text[data-v-41cab8bf]{font-size:16px;margin-right:8px}.seckill-box .hd .left .line[data-v-41cab8bf]{width:1px;height:14px;background:#ddd;margin:0 10px}.seckill-box .hd .left img[data-v-41cab8bf]{width:70px;height:16px}.seckill-box .hd .left .pictrue[data-v-41cab8bf]{width:43px;height:18px}.seckill-box .hd .left .pictrue img[data-v-41cab8bf]{width:100%;height:100%}.seckill-box .hd .left .tips[data-v-41cab8bf]{font-size:13px;color:#fff;font-weight:400;margin-left:6px}.seckill-box .list-wrapper[data-v-41cab8bf]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;padding:10px;width:100%}.seckill-box .list-wrapper.on[data-v-41cab8bf]{display:block}.seckill-box .list-wrapper.on2[data-v-41cab8bf]{-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.seckill-box .list-wrapper.on3[data-v-41cab8bf]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;padding-right:0}.seckill-box .list-wrapper .itemTwo[data-v-41cab8bf],.seckill-box .list-wrapper .itemThree[data-v-41cab8bf]{width:48%;position:relative;margin-right:11px;margin-top:15px}.seckill-box .list-wrapper .itemTwo .item[data-v-41cab8bf],.seckill-box .list-wrapper .itemThree .item[data-v-41cab8bf]{height:50px}.seckill-box .list-wrapper .itemTwo .item2[data-v-41cab8bf],.seckill-box .list-wrapper .itemThree .item2[data-v-41cab8bf]{height:20px}.seckill-box .list-wrapper .itemTwo[data-v-41cab8bf]:nth-child(1),.seckill-box .list-wrapper .itemThree[data-v-41cab8bf]:nth-child(1){margin-top:0}.seckill-box .list-wrapper .itemTwo[data-v-41cab8bf]:nth-child(2),.seckill-box .list-wrapper .itemThree[data-v-41cab8bf]:nth-child(2){margin-top:0}.seckill-box .list-wrapper .itemTwo[data-v-41cab8bf]:nth-of-type(2n),.seckill-box .list-wrapper .itemThree[data-v-41cab8bf]:nth-of-type(2n){margin-right:0}.seckill-box .list-wrapper .itemTwo .empty-box[data-v-41cab8bf],.seckill-box .list-wrapper .itemThree .empty-box[data-v-41cab8bf]{width:100%;height:162px;background-color:#f3f9ff}.seckill-box .list-wrapper .itemTwo .empty-box img[data-v-41cab8bf],.seckill-box .list-wrapper .itemThree .empty-box img[data-v-41cab8bf]{width:64px;height:50px;display:block}.seckill-box .list-wrapper .itemTwo .title[data-v-41cab8bf],.seckill-box .list-wrapper .itemThree .title[data-v-41cab8bf]{font-size:14px;color:#333;margin-top:8px}.seckill-box .list-wrapper .itemTwo .title .name[data-v-41cab8bf],.seckill-box .list-wrapper .itemThree .title .name[data-v-41cab8bf]{-webkit-box-flex:1;-ms-flex:1;flex:1}.seckill-box .list-wrapper .itemTwo .title .label[data-v-41cab8bf],.seckill-box .list-wrapper .itemThree .title .label[data-v-41cab8bf]{width:40px;height:15px;border-radius:3px;margin-right:5px}.seckill-box .list-wrapper .itemTwo .title .label .labelBg[data-v-41cab8bf],.seckill-box .list-wrapper .itemThree .title .label .labelBg[data-v-41cab8bf]{width:100%;height:100%;text-align:center;line-height:15px;background-color:#ffffffe6;font-size:11px;border-radius:2px}.seckill-box .list-wrapper .itemTwo .price[data-v-41cab8bf],.seckill-box .list-wrapper .itemThree .price[data-v-41cab8bf]{font-weight:600;font-size:12px}.seckill-box .list-wrapper .itemTwo .price.on[data-v-41cab8bf],.seckill-box .list-wrapper .itemThree .price.on[data-v-41cab8bf]{margin-top:8px}.seckill-box .list-wrapper .itemTwo .price .num[data-v-41cab8bf],.seckill-box .list-wrapper .itemThree .price .num[data-v-41cab8bf]{font-size:16px}.seckill-box .list-wrapper .itemTwo .yprice[data-v-41cab8bf],.seckill-box .list-wrapper .itemThree .yprice[data-v-41cab8bf]{font-size:11px;text-decoration:line-through}.seckill-box .list-wrapper .itemTwo .yprice.on[data-v-41cab8bf],.seckill-box .list-wrapper .itemThree .yprice.on[data-v-41cab8bf]{margin-top:9px}.seckill-box .list-wrapper .itemTwo .bnt[data-v-41cab8bf],.seckill-box .list-wrapper .itemThree .bnt[data-v-41cab8bf]{width:57px;height:26px;border-radius:13px;text-align:center;line-height:26px;position:absolute;right:0;bottom:0;font-size:12px;color:#fff}.seckill-box .list-wrapper .itemTwo .bnt.on[data-v-41cab8bf],.seckill-box .list-wrapper .itemThree .bnt.on[data-v-41cab8bf]{bottom:-4px}.seckill-box .list-wrapper .itemThree[data-v-41cab8bf]{width:112px;margin-top:0;margin-right:10px!important}.seckill-box .list-wrapper .itemThree .item[data-v-41cab8bf]{height:45px}.seckill-box .list-wrapper .itemThree .item2[data-v-41cab8bf]{height:29px}.seckill-box .list-wrapper .itemThree .empty-box[data-v-41cab8bf]{height:112px;position:relative}.seckill-box .list-wrapper .itemThree .empty-box .label[data-v-41cab8bf]{width:42px;height:15px;border-radius:8px;font-size:11px;text-align:center;line-height:15px;left:5px;top:5px;position:absolute}.seckill-box .list-wrapper .itemThree .empty-box .label .labelBg[data-v-41cab8bf]{background-color:#ffffffe6}.seckill-box .list-wrapper .itemThree .title[data-v-41cab8bf]{font-size:13px;margin-top:6px}.seckill-box .list-wrapper .itemThree .price[data-v-41cab8bf]{font-size:11px;height:20px}.seckill-box .list-wrapper .itemThree .price.on[data-v-41cab8bf],.seckill-box .list-wrapper .itemThree .yprice.on[data-v-41cab8bf]{margin-top:1px}.seckill-box .list-wrapper .itemOne[data-v-41cab8bf]{position:relative}.seckill-box .list-wrapper .itemOne~.itemOne[data-v-41cab8bf]{margin-top:15px}.seckill-box .list-wrapper .itemOne .empty-box[data-v-41cab8bf]{width:120px;height:120px;margin-right:12px;background-color:#f3f9ff}.seckill-box .list-wrapper .itemOne .empty-box img[data-v-41cab8bf]{width:64px;height:50px;display:block}.seckill-box .list-wrapper .itemOne .text[data-v-41cab8bf]{-webkit-box-flex:1;-ms-flex:1;flex:1}.seckill-box .list-wrapper .itemOne .text .top[data-v-41cab8bf]{height:78px}.seckill-box .list-wrapper .itemOne .text .top .label[data-v-41cab8bf]{width:96px;font-size:11px;border-radius:3px}.seckill-box .list-wrapper .itemOne .text .top .label .labelBg[data-v-41cab8bf]{display:-webkit-box;display:-ms-flexbox;display:flex;background-color:#ffffffe6;border-radius:3px}.seckill-box .list-wrapper .itemOne .text .top .label .labelBg .num[data-v-41cab8bf]{border-radius:3px 0 0 3px;color:#fff;width:37px;text-align:center;margin-right:4px}.seckill-box .list-wrapper .itemOne .text .bottom[data-v-41cab8bf]{height:42px}.seckill-box .list-wrapper .itemOne .text .name[data-v-41cab8bf]{font-size:14px;color:#333;margin-bottom:6px}.seckill-box .list-wrapper .itemOne .text .price[data-v-41cab8bf]{font-size:12px;color:#e93323}.seckill-box .list-wrapper .itemOne .text .price .label[data-v-41cab8bf]{font-weight:600;margin-left:4px}.seckill-box .list-wrapper .itemOne .text .price .num[data-v-41cab8bf]{font-size:16px;font-weight:600}.seckill-box .list-wrapper .itemOne .text .yprice[data-v-41cab8bf]{color:#999;font-size:12px}.seckill-box .list-wrapper .itemOne .text .bnt[data-v-41cab8bf]{width:60px;height:28px;background:-webkit-gradient(linear,left top,right top,from(#ff7931),to(#e93323));background:linear-gradient(90deg,#ff7931,#e93323);border-radius:25px;text-align:center;line-height:28px;color:#fff;font-size:12px;position:absolute;right:0;bottom:0}.seckill-box .list-wrapper .list-item[data-v-41cab8bf]{width:31.47%;margin-top:10px}.seckill-box .list-wrapper .list-item~.list-item[data-v-41cab8bf]{margin-left:9px}.seckill-box .list-wrapper .list-item[data-v-41cab8bf]:nth-of-type(3n-2){margin-left:0}.seckill-box .list-wrapper .list-item[data-v-41cab8bf]:nth-child(1),.seckill-box .list-wrapper .list-item[data-v-41cab8bf]:nth-child(2),.seckill-box .list-wrapper .list-item[data-v-41cab8bf]:nth-child(3){margin-top:0}.seckill-box .list-wrapper .list-item .img-box[data-v-41cab8bf]{border-radius:6px;position:relative;width:100%;height:106px}.seckill-box .list-wrapper .list-item .img-box .empty-box[data-v-41cab8bf]{background-color:#f3f9ff;position:relative}.seckill-box .list-wrapper .list-item .img-box .empty-box img[data-v-41cab8bf]{width:65px;height:50px;display:block}.seckill-box .list-wrapper .list-item .img-box .empty-box .label[data-v-41cab8bf]{width:42px;height:15px;border-radius:8px;font-size:11px;text-align:center;line-height:15px;left:5px;top:5px;position:absolute}.seckill-box .list-wrapper .list-item .img-box .empty-box .label .labelBg[data-v-41cab8bf]{background-color:#ffffffe6}.seckill-box .list-wrapper .list-item .title[data-v-41cab8bf]{margin-top:8px;font-size:13px;color:#333}.seckill-box .list-wrapper .list-item .price[data-v-41cab8bf]{line-height:22px;position:relative;border-radius:0 4px 4px 0;font-size:16px;margin-top:1px;font-weight:600;height:20px}.seckill-box .list-wrapper .list-item .price span[data-v-41cab8bf]{font-size:11px;margin-right:2px}.seckill-box .list-wrapper .list-item .price img[data-v-41cab8bf]{width:12px;height:22px;display:block;position:absolute;left:-4px;top:0}.seckill-box .list-wrapper .list-item .yprice[data-v-41cab8bf]{color:#999;font-size:12px;text-decoration:line-through}.mobile-page[data-v-89007298]{display:inline-block;width:-webkit-fill-available}.menus[data-v-89007298]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:10000%;cursor:pointer;padding:9px 0}.menus.on[data-v-89007298]{padding-bottom:14px}.menus .title[data-v-89007298]{color:#333;font-size:12px;margin-top:4px;height:20px;border-radius:20px;padding:0 5px;line-height:20px;text-align:center;white-space:nowrap}.menus .item[data-v-89007298]{position:relative;color:#333;font-size:14px;margin-right:28px;z-index:9}.menus .item.pic[data-v-89007298]{margin-right:15px}.menus .item .pictrue[data-v-89007298]{width:46px;height:46px;border:1px solid #eeeeee;border-radius:50%;background:#f3f9ff;margin:0 auto}.menus .item .pictrue .img[data-v-89007298]{width:42px;height:42px;border-radius:50%}.menus .item .pictrue img[data-v-89007298]{width:27px}.menus .item.on[data-v-89007298]{font-size:16px;font-weight:600}.menus .item.on span[data-v-89007298]{display:block;position:absolute;left:50%;bottom:4px;width:100%;height:4px;border-radius:100px;-webkit-transform:translateX(-50%);transform:translate(-50%);background:#fff;background:-webkit-gradient(linear,left top,right top,from(#e93323),to(#ff7931));background:linear-gradient(90deg,#e93323,#ff7931);z-index:-1}.menus .item.on2[data-v-89007298]{height:24px;text-align:center;line-height:24px;color:#fff;background:-webkit-gradient(linear,left top,right top,from(#e93323),to(#ff7931));background:linear-gradient(90deg,#e93323,#ff7931);border-radius:50px;padding:0 6px}.menus .item.on3[data-v-89007298]{font-size:16px;font-weight:600;color:#e93323}.menus .item.on3 span[data-v-89007298]{position:absolute;width:30px;height:30px;border:3px solid #e93323;border-left:3px solid transparent!important;border-top:3px solid transparent!important;border-right:3px solid transparent!important;border-radius:50%;bottom:-4px;left:50%;-webkit-transform:translateX(-50%);transform:translate(-50%)}.home_product[data-v-89007298]{overflow:hidden}.home_product .hd_nav[data-v-89007298]{display:-webkit-box;display:-ms-flexbox;display:flex;height:65px;overflow:hidden;padding:10px 0}.home_product .hd_nav .item[data-v-89007298]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-right:37px}.home_product .hd_nav .item .title[data-v-89007298]{white-space:nowrap;font-size:15px;color:#282828;text-align:center}.home_product .hd_nav .item .label[data-v-89007298]{width:56px;height:19px;line-height:19px;text-align:center;background:transparent;border-radius:10px;color:#999;font-size:11px}.home_product .hd_nav .item.active .title[data-v-89007298]{color:#f44}.home_product .hd_nav .item.active .label[data-v-89007298]{color:#fff;background:-webkit-gradient(linear,right top,left top,from(rgb(255,84,0)),to(rgb(255,0,0)));background:linear-gradient(270deg,#ff5400,red)}.home_product .list-wrapper[data-v-89007298]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.home_product .list-wrapper .item[data-v-89007298]{width:48.5%;margin-bottom:10px;position:relative}.home_product .list-wrapper .item .jia[data-v-89007298]{width:22px;height:22px;background-color:#e93323;border-radius:50%;position:absolute;right:10px;bottom:8px}.home_product .list-wrapper .item .jia .jiaCon[data-v-89007298]{width:100%;height:100%;text-align:center;line-height:22px}.home_product .list-wrapper .item .jia .jiaCon .iconfont[data-v-89007298]{color:#fff;font-size:13px}.home_product .list-wrapper .item .img-box[data-v-89007298]{width:100%;height:173px}.home_product .list-wrapper .item .img-box .img[data-v-89007298]{width:100%;height:100%}.home_product .list-wrapper .item .img-box img[data-v-89007298],.home_product .list-wrapper .item .img-box .box[data-v-89007298]{width:65px;height:50px}.home_product .list-wrapper .item .img-box .empty-box[data-v-89007298]{background:#f3f9ff}.home_product .list-wrapper .item .img-box .box[data-v-89007298]{background:#d8d8d8}.home_product .list-wrapper .item .img-box .label[data-v-89007298]{position:absolute;left:0;top:0;width:46px;height:22px;border-radius:10px 0;color:#fff;font-size:13px;text-align:center;line-height:22px}.home_product .list-wrapper .item .info[data-v-89007298]{padding:7px 10px;background:#fff;border-radius:0 0 10px 10px}.home_product .list-wrapper .item .info .pictrue[data-v-89007298]{height:14px;margin-top:4px}.home_product .list-wrapper .item .info .pictrue img[data-v-89007298]{height:100%}.home_product .list-wrapper .item .info .title[data-v-89007298]{font-size:14px;color:#282828}.home_product .list-wrapper .item .info .sales[data-v-89007298]{color:#999;font-size:11px}.home_product .list-wrapper .item .info .price[data-v-89007298]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:6px}.home_product .list-wrapper .item .info .price img[data-v-89007298]{width:70px;height:15px}.home_product .list-wrapper .item .info .price .num[data-v-89007298]{font-size:20px;margin-right:4px;font-family:SemiBold;color:#e93323}.home_product .list-wrapper .item .info .price .num span[data-v-89007298]{font-size:12px}.home_product .list-wrapper .item .info .price .label[data-v-89007298]{width:16px;height:18px;margin-left:5px;text-align:center;line-height:18px;font-size:11px}.home_product .list-wrapper .item .info .price .label.on[data-v-89007298]{margin-left:0}.product-desc-box[data-v-3b12584d]{text-align:center}.title[data-v-3b12584d]{font-size:16px;font-weight:700;color:#333}.desc[data-v-3b12584d]{font-size:12px;color:#999;margin-top:10px}.product-info-box.style-3 .image-wrap .indicators[data-v-8c508072]{bottom:85px}.product-info-box .image-wrap[data-v-8c508072]{position:relative}.product-info-box .image-wrap img[data-v-8c508072]{width:100%;display:block}.product-info-box .image-wrap .indicators[data-v-8c508072]{position:absolute;bottom:30px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 10px;-webkit-box-sizing:border-box;box-sizing:border-box}.product-info-box .image-wrap .indicators.pos-left[data-v-8c508072]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.product-info-box .image-wrap .indicators.pos-center[data-v-8c508072]{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.product-info-box .image-wrap .indicators.pos-right[data-v-8c508072]{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.product-info-box .image-wrap .indicators .indicator-line[data-v-8c508072]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%}.product-info-box .image-wrap .indicators .indicator-line .line-item[data-v-8c508072]{width:20%;height:2px;margin:0 3px;border-radius:2px}.product-info-box .image-wrap .indicators .indicator-dot[data-v-8c508072]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.product-info-box .image-wrap .indicators .indicator-dot .dot-item[data-v-8c508072]{width:6px;height:6px;border-radius:50%;margin:0 3px;-webkit-transition:all .3s;transition:all .3s}.product-info-box .image-wrap .indicators .indicator-dot .dot-item.active[data-v-8c508072]{width:12px;border-radius:3px}.product-info-box .image-wrap .indicators .indicator-number .num-box[data-v-8c508072]{background:#0000004d;color:#fff;font-size:12px;padding:2px 8px;border-radius:10px}.product-info-box .image-wrap .indicators .indicator-number .num-box .current[data-v-8c508072]{font-size:14px}.product-info-box .info-box[data-v-8c508072]{position:sticky;padding:16px 16px 8px;border-radius:16px 16px 0 0;background:-webkit-gradient(linear,left top,left bottom,from(#ffffff),color-stop(54%,#ffffff),to(rgba(255,255,255,0)));background:linear-gradient(180deg,#fff,#fff 54%,#fff0);margin-top:-16px;z-index:1}.product-info-box .info-box .spec-top-section[data-v-8c508072]{margin-bottom:15px}.product-info-box .info-box .spec-top-section.style-0 .spec-list[data-v-8c508072]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow-x:auto}.product-info-box .info-box .spec-top-section.style-0 .spec-list[data-v-8c508072]::-webkit-scrollbar{display:none}.product-info-box .info-box .spec-top-section.style-0 .spec-list[data-v-8c508072]{scrollbar-width:none}.product-info-box .info-box .spec-top-section.style-0 .spec-list .spec-item[data-v-8c508072]{margin-right:10px;-ms-flex-negative:0;flex-shrink:0}.product-info-box .info-box .spec-top-section.style-0 .spec-list .spec-item img[data-v-8c508072]{width:40px;height:40px;border-radius:4px;-o-object-fit:cover;object-fit:cover;border:1px solid #eee}.product-info-box .info-box .spec-top-section.style-0 .spec-list .spec-item:first-child img[data-v-8c508072]{border:1px solid #e93323}.product-info-box .info-box .spec-top-section.style-0 .spec-list .total-count[data-v-8c508072]{font-size:12px;color:#999;line-height:1.2;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0;position:sticky;right:0;background-color:#fff;padding-left:10px;z-index:10}.product-info-box .info-box .spec-top-section.style-0 .spec-list .total-count .iconfont[data-v-8c508072]{font-size:12px}.product-info-box .info-box .spec-top-section.style-1 .spec-list-text[data-v-8c508072]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow-x:auto}.product-info-box .info-box .spec-top-section.style-1 .spec-list-text[data-v-8c508072]::-webkit-scrollbar{display:none}.product-info-box .info-box .spec-top-section.style-1 .spec-list-text[data-v-8c508072]{scrollbar-width:none}.product-info-box .info-box .spec-top-section.style-1 .spec-list-text .spec-item[data-v-8c508072]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:#f5f5f5;padding:4px 8px;border-radius:4px;margin-right:10px;white-space:nowrap;-ms-flex-negative:0;flex-shrink:0}.product-info-box .info-box .spec-top-section.style-1 .spec-list-text .spec-item img[data-v-8c508072]{width:20px;height:20px;margin-right:5px;border-radius:2px}.product-info-box .info-box .spec-top-section.style-1 .spec-list-text .spec-item .name[data-v-8c508072]{font-size:12px;color:#333}.product-info-box .info-box .spec-top-section.style-1 .spec-list-text .spec-item.active[data-v-8c508072]{background:#fdebeb;border:1px solid #e93323}.product-info-box .info-box .spec-top-section.style-1 .spec-list-text .spec-item.active .name[data-v-8c508072]{color:#e93323}.product-info-box .info-box .spec-top-section.style-1 .spec-list-text .total-count[data-v-8c508072]{font-size:12px;color:#999;height:28px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;white-space:nowrap;-ms-flex-negative:0;flex-shrink:0;position:sticky;right:0;background-color:#fff;padding-left:10px;z-index:10}.product-info-box .info-box .spec-top-section.style-1 .spec-list-text .total-count .iconfont[data-v-8c508072]{font-size:12px}.product-info-box .info-box .spec-bottom-section[data-v-8c508072]{margin-top:15px}.product-info-box .info-box .spec-bottom-section .spec-list[data-v-8c508072]{display:-webkit-box;display:-ms-flexbox;display:flex;overflow-x:auto}.product-info-box .info-box .spec-bottom-section .spec-list[data-v-8c508072]::-webkit-scrollbar{display:none}.product-info-box .info-box .spec-bottom-section .spec-list[data-v-8c508072]{scrollbar-width:none}.product-info-box .info-box .spec-bottom-section .spec-list .spec-item[data-v-8c508072]{margin-right:10px;text-align:center;-ms-flex-negative:0;flex-shrink:0}.product-info-box .info-box .spec-bottom-section .spec-list .spec-item img[data-v-8c508072]{width:60px;height:60px;border-radius:6px;-o-object-fit:cover;object-fit:cover}.product-info-box .info-box .spec-bottom-section .spec-list .spec-item .name[data-v-8c508072]{font-size:12px;color:#333;margin-top:5px}.product-info-box .info-box .spec-bottom-section .spec-list .spec-item.selected[data-v-8c508072]{border:1px solid #e93323;border-radius:6px;overflow:hidden}.product-info-box .info-box .spec-bottom-section .spec-list .spec-item.selected .name[data-v-8c508072]{color:#e93323;background:#fdebeb;border-radius:2px}.product-info-box .info-box .spec-bottom-section .spec-list .total-count[data-v-8c508072]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:12px;color:#999;-ms-flex-negative:0;flex-shrink:0;position:sticky;right:0;background-color:#fff;padding-left:10px;z-index:10}.product-info-box .info-box .spec-bottom-section .spec-list .total-count .iconfont[data-v-8c508072]{font-size:12px}.product-info-box .spec-style-4[data-v-8c508072]{position:absolute;bottom:5px;width:100%;background:#9999;padding:10px 0 15px 10px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow-x:hidden;display:-webkit-box;display:-ms-flexbox;display:flex}.product-info-box .spec-style-4 .spec-list[data-v-8c508072]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:0;overflow-x:auto;overflow-y:hidden}.product-info-box .spec-style-4 .spec-list .spec-item[data-v-8c508072]{-ms-flex-negative:0;flex-shrink:0;margin-right:10px;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background:#777;padding:2px;border-radius:8px}.product-info-box .spec-style-4 .spec-list .spec-item img[data-v-8c508072]{width:40px;height:40px;border-radius:4px}.product-info-box .spec-style-4 .spec-list .spec-item .spec-info[data-v-8c508072]{display:-webkit-box;display:-ms-flexbox;display:flex;color:#fff;width:60px;font-size:12px;padding-left:5px}.product-info-box .spec-style-4 .spec-list .spec-item[data-v-8c508072]:first-child{border:1px solid #e93323;padding:2px}.product-info-box .spec-style-4 .total-count[data-v-8c508072]{-ms-flex-negative:0;flex-shrink:0;margin-left:5px;color:#fff;height:44px;background:#777;padding:2px 2px 2px 10px;font-size:12px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:60px;z-index:10;border-radius:4px 0 0 4px}.product-info-box .spec-style-4 .total-count .iconfont[data-v-8c508072]{font-size:12px}.product-info-box .info-item[data-v-8c508072]{margin-bottom:8px}.product-info-box .price-section .price-row[data-v-8c508072]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-ms-flex-wrap:wrap;flex-wrap:wrap}.product-info-box .price-section .price-row .main-price-wrap[data-v-8c508072]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;margin-right:10px;color:#e93323}.product-info-box .price-section .price-row .main-price-wrap .label[data-v-8c508072]{font-size:11px;margin-right:2px}.product-info-box .price-section .price-row .main-price-wrap .price[data-v-8c508072]{font-size:24px;font-weight:700;line-height:1}.product-info-box .price-section .price-row .ot-price-wrap[data-v-8c508072]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;margin-right:10px;color:#333}.product-info-box .price-section .price-row .ot-price-wrap .label[data-v-8c508072],.product-info-box .price-section .price-row .ot-price-wrap .price[data-v-8c508072]{font-size:11px}.product-info-box .price-section .price-row .vip-price-wrap[data-v-8c508072]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:18px}.product-info-box .price-section .price-row .vip-price-wrap .badge[data-v-8c508072]{background:#333;color:#f8dcae;font-size:10px;padding:0 4px;border-radius:9px 0 0 9px;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-weight:700}.product-info-box .price-section .price-row .vip-price-wrap .price[data-v-8c508072]{background:#fff0d8;color:#333;font-size:11px;padding:0 5px 0 2px;border-radius:0 9px 9px 0;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-weight:700}.product-info-box .name-section .title[data-v-8c508072]{font-size:16px;color:#333;font-weight:700;line-height:1.4}.product-info-box .data-section[data-v-8c508072]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:12px;color:#999}.product-info-box .tags-section[data-v-8c508072]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.product-info-box .tags-section .tag[data-v-8c508072]{font-size:10px;color:#e93323;border:1px solid #e93323;padding:0 4px;border-radius:2px;margin-right:5px}.product-service[data-v-c97836f2]{overflow:hidden}.product-service .item[data-v-c97836f2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:12px 0}.product-service .item[data-v-c97836f2]:last-child{border-bottom:none}.product-service .item .label[data-v-c97836f2]{width:40px;font-size:14px;color:#999;margin-right:10px;-ms-flex-negative:0;flex-shrink:0}.product-service .item .content[data-v-c97836f2]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:14px;color:#333;overflow:hidden}.product-service .item .content>span[data-v-c97836f2]:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-webkit-box-flex:1;-ms-flex:1;flex:1}.product-service .item .content .tags[data-v-c97836f2]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.product-service .item .content .tags .tag[data-v-c97836f2]{font-size:10px;padding:2px 5px;border-radius:10px;margin-right:5px;margin-bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.product-service .item .content .tags .tag .iconfont[data-v-c97836f2]{font-size:8px;margin-left:2px;line-height:12px}.product-service .item .content .tags .tag .mb-iconfont[data-v-c97836f2]{font-size:12px;margin-right:2px;line-height:12px}.product-service .item .content .iconfont[data-v-c97836f2]{font-size:12px;color:#333;margin-left:5px}.mobile-page[data-v-69a149fb]{display:inline-block;width:-webkit-fill-available}.reviews-box .header[data-v-69a149fb]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:12px}.reviews-box .header .left .title[data-v-69a149fb]{font-size:15px;font-weight:700;margin-right:5px}.reviews-box .header .left .count[data-v-69a149fb]{font-size:12px}.reviews-box .header .right[data-v-69a149fb]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.reviews-box .header .right .rate[data-v-69a149fb]{font-size:12px}.reviews-box .header .right .iconyou[data-v-69a149fb]{font-size:12px;margin-left:2px}.reviews-box .list.is-slide[data-v-69a149fb]{display:-webkit-box;display:-ms-flexbox;display:flex;overflow-x:auto}.reviews-box .list.is-slide[data-v-69a149fb]::-webkit-scrollbar{display:none}.reviews-box .list.is-slide .item[data-v-69a149fb]{-ms-flex-negative:0;flex-shrink:0;width:85%;margin-bottom:0;margin-right:10px}.reviews-box .list .item[data-v-69a149fb]{background:#f9f9f9;border-radius:6px;padding:10px;margin-bottom:10px}.reviews-box .list .item .user-info[data-v-69a149fb]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:8px}.reviews-box .list .item .user-info .avatar[data-v-69a149fb]{width:32px;height:32px;border-radius:50%;overflow:hidden;margin-right:8px}.reviews-box .list .item .user-info .avatar img[data-v-69a149fb]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.reviews-box .list .item .user-info .info .name[data-v-69a149fb]{font-size:13px;color:#333;margin-bottom:2px}.reviews-box .list .item .user-info .info .stars[data-v-69a149fb]{display:-webkit-box;display:-ms-flexbox;display:flex}.reviews-box .list .item .user-info .info .stars .icon-pingjia[data-v-69a149fb]{font-size:10px;margin-right:2px}.reviews-box .list .item .content[data-v-69a149fb]{font-size:13px;color:#333;line-height:1.4;margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.reviews-box .list .item .images[data-v-69a149fb]{display:-webkit-box;display:-ms-flexbox;display:flex}.reviews-box .list .item .images .img-box[data-v-69a149fb]{width:60px;height:60px;border-radius:4px;overflow:hidden;margin-right:6px;position:relative}.reviews-box .list .item .images .img-box img[data-v-69a149fb]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.reviews-box .list .item .images .img-box .more[data-v-69a149fb]{position:absolute;top:0;left:0;width:100%;height:100%;background:#00000080;color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:14px}.seckill-box[data-v-eb5ee478]{display:inline-block;width:-webkit-fill-available}.seckill-box .hd[data-v-eb5ee478]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-repeat:no-repeat;background-size:100% 100%;width:100%;height:48px;padding:0 12px}.seckill-box .hd .right[data-v-eb5ee478]{color:#fff;font-size:12px}.seckill-box .hd .right .iconfont[data-v-eb5ee478]{font-size:12px}.seckill-box .hd .left[data-v-eb5ee478]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.seckill-box .hd .left .text[data-v-eb5ee478]{font-size:16px}.seckill-box .hd .left .line[data-v-eb5ee478]{width:1px;height:14px;background:#ddd;margin:0 10px}.seckill-box .hd .left img[data-v-eb5ee478]{width:70px;height:16px}.seckill-box .hd .left .pictrue[data-v-eb5ee478]{width:43px;height:18px}.seckill-box .hd .left .pictrue img[data-v-eb5ee478]{width:100%;height:100%}.seckill-box .hd .left .tips[data-v-eb5ee478]{font-size:13px;color:#fff;font-weight:400;margin-left:6px}.seckill-box .hd .left .time[data-v-eb5ee478]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:4px;color:#f44}.seckill-box .hd .left .time span[data-v-eb5ee478]{width:18px;height:18px;font-size:11px;text-align:center;line-height:18px;background:#fff;border-radius:2px}.seckill-box .hd .left .time em[data-v-eb5ee478]{font-size:11px;margin:0 3px;font-style:initial;font-weight:700;color:#fff}.seckill-box .list-wrapper[data-v-eb5ee478]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:10px;width:100%}.seckill-box .list-wrapper.on[data-v-eb5ee478]{display:block}.seckill-box .list-wrapper.on2[data-v-eb5ee478]{-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.seckill-box .list-wrapper.on3[data-v-eb5ee478]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;padding-right:0;overflow:hidden}.seckill-box .list-wrapper .itemTwo[data-v-eb5ee478],.seckill-box .list-wrapper .itemThree[data-v-eb5ee478]{width:48%;position:relative;margin-right:11px;margin-top:15px}.seckill-box .list-wrapper .itemTwo .item[data-v-eb5ee478],.seckill-box .list-wrapper .itemThree .item[data-v-eb5ee478]{height:50px}.seckill-box .list-wrapper .itemTwo .item2[data-v-eb5ee478],.seckill-box .list-wrapper .itemThree .item2[data-v-eb5ee478]{height:20px}.seckill-box .list-wrapper .itemTwo[data-v-eb5ee478]:nth-child(1),.seckill-box .list-wrapper .itemThree[data-v-eb5ee478]:nth-child(1){margin-top:0}.seckill-box .list-wrapper .itemTwo[data-v-eb5ee478]:nth-child(2),.seckill-box .list-wrapper .itemThree[data-v-eb5ee478]:nth-child(2){margin-top:0}.seckill-box .list-wrapper .itemTwo[data-v-eb5ee478]:nth-of-type(2n),.seckill-box .list-wrapper .itemThree[data-v-eb5ee478]:nth-of-type(2n){margin-right:0}.seckill-box .list-wrapper .itemTwo .empty-box[data-v-eb5ee478],.seckill-box .list-wrapper .itemThree .empty-box[data-v-eb5ee478]{width:100%;height:162px;background-color:#f3f9ff}.seckill-box .list-wrapper .itemTwo .empty-box img[data-v-eb5ee478],.seckill-box .list-wrapper .itemThree .empty-box img[data-v-eb5ee478]{width:64px;height:50px;display:block}.seckill-box .list-wrapper .itemTwo .title[data-v-eb5ee478],.seckill-box .list-wrapper .itemThree .title[data-v-eb5ee478]{font-size:14px;color:#333;margin-top:8px}.seckill-box .list-wrapper .itemTwo .title .name[data-v-eb5ee478],.seckill-box .list-wrapper .itemThree .title .name[data-v-eb5ee478]{-webkit-box-flex:1;-ms-flex:1;flex:1}.seckill-box .list-wrapper .itemTwo .title .label[data-v-eb5ee478],.seckill-box .list-wrapper .itemThree .title .label[data-v-eb5ee478]{width:40px;height:15px;border-radius:3px;margin-right:5px}.seckill-box .list-wrapper .itemTwo .title .label .labelBg[data-v-eb5ee478],.seckill-box .list-wrapper .itemThree .title .label .labelBg[data-v-eb5ee478]{width:100%;height:100%;text-align:center;line-height:15px;background-color:#ffffffe6;font-size:11px;border-radius:2px}.seckill-box .list-wrapper .itemTwo .price[data-v-eb5ee478],.seckill-box .list-wrapper .itemThree .price[data-v-eb5ee478]{font-weight:600;font-size:12px}.seckill-box .list-wrapper .itemTwo .price.on[data-v-eb5ee478],.seckill-box .list-wrapper .itemThree .price.on[data-v-eb5ee478]{margin-top:8px}.seckill-box .list-wrapper .itemTwo .price .num[data-v-eb5ee478],.seckill-box .list-wrapper .itemThree .price .num[data-v-eb5ee478]{font-size:16px}.seckill-box .list-wrapper .itemTwo .yprice[data-v-eb5ee478],.seckill-box .list-wrapper .itemThree .yprice[data-v-eb5ee478]{font-size:11px;text-decoration:line-through}.seckill-box .list-wrapper .itemTwo .yprice.on[data-v-eb5ee478],.seckill-box .list-wrapper .itemThree .yprice.on[data-v-eb5ee478]{margin-top:9px}.seckill-box .list-wrapper .itemTwo .bnt[data-v-eb5ee478],.seckill-box .list-wrapper .itemThree .bnt[data-v-eb5ee478]{width:57px;height:26px;border-radius:13px;text-align:center;line-height:26px;position:absolute;right:0;bottom:0;font-size:12px;color:#fff}.seckill-box .list-wrapper .itemTwo .bnt.on[data-v-eb5ee478],.seckill-box .list-wrapper .itemThree .bnt.on[data-v-eb5ee478]{bottom:-4px}.seckill-box .list-wrapper .itemThree[data-v-eb5ee478]{width:112px;margin-top:0;margin-right:10px!important}.seckill-box .list-wrapper .itemThree .item[data-v-eb5ee478]{height:45px}.seckill-box .list-wrapper .itemThree .item2[data-v-eb5ee478]{height:29px}.seckill-box .list-wrapper .itemThree .empty-box[data-v-eb5ee478]{height:112px;position:relative}.seckill-box .list-wrapper .itemThree .empty-box .label[data-v-eb5ee478]{width:42px;height:15px;border-radius:8px;font-size:11px;text-align:center;line-height:15px;left:5px;top:5px;position:absolute}.seckill-box .list-wrapper .itemThree .empty-box .label .labelBg[data-v-eb5ee478]{background-color:#ffffffe6}.seckill-box .list-wrapper .itemThree .title[data-v-eb5ee478]{font-size:13px;margin-top:6px}.seckill-box .list-wrapper .itemThree .price[data-v-eb5ee478]{font-size:11px;height:20px}.seckill-box .list-wrapper .itemThree .price.on[data-v-eb5ee478],.seckill-box .list-wrapper .itemThree .yprice.on[data-v-eb5ee478]{margin-top:1px}.seckill-box .list-wrapper .itemThree .bnt[data-v-eb5ee478]{width:33px;height:20px;line-height:20px;border-radius:0 11px 11px 0}.seckill-box .list-wrapper .itemThree .bnt.on2[data-v-eb5ee478]{bottom:3px}.seckill-box .list-wrapper .itemThree .bnt .bntCon[data-v-eb5ee478]{position:relative}.seckill-box .list-wrapper .itemThree .bnt .bntCon img[data-v-eb5ee478]{width:11px;height:20px;display:block;position:absolute;top:0;left:-4px}.seckill-box .list-wrapper .itemOne[data-v-eb5ee478]{position:relative}.seckill-box .list-wrapper .itemOne~.itemOne[data-v-eb5ee478]{margin-top:15px}.seckill-box .list-wrapper .itemOne .empty-box[data-v-eb5ee478]{width:120px;height:120px;margin-right:12px;background-color:#f3f9ff}.seckill-box .list-wrapper .itemOne .empty-box img[data-v-eb5ee478]{width:64px;height:50px;display:block}.seckill-box .list-wrapper .itemOne .text[data-v-eb5ee478]{-webkit-box-flex:1;-ms-flex:1;flex:1}.seckill-box .list-wrapper .itemOne .text .top[data-v-eb5ee478]{height:78px}.seckill-box .list-wrapper .itemOne .text .top .label[data-v-eb5ee478]{width:96px;font-size:11px;border-radius:3px}.seckill-box .list-wrapper .itemOne .text .top .label .labelBg[data-v-eb5ee478]{display:-webkit-box;display:-ms-flexbox;display:flex;background-color:#ffffffe6;border-radius:3px}.seckill-box .list-wrapper .itemOne .text .top .label .labelBg .num[data-v-eb5ee478]{border-radius:3px 0 0 3px;color:#fff;width:37px;text-align:center;margin-right:4px}.seckill-box .list-wrapper .itemOne .text .bottom[data-v-eb5ee478]{height:42px}.seckill-box .list-wrapper .itemOne .text .name[data-v-eb5ee478]{font-size:14px;color:#333;margin-bottom:6px}.seckill-box .list-wrapper .itemOne .text .progressBg[data-v-eb5ee478]{width:120px;height:12px;background:#fdf0ed;border-radius:8px;position:relative}.seckill-box .list-wrapper .itemOne .text .progressBg .progressBar[data-v-eb5ee478]{border-radius:8px;overflow:hidden;background-color:#ffffffe6}.seckill-box .list-wrapper .itemOne .text .progressBg .progressTxt[data-v-eb5ee478]{position:absolute;right:-50px;color:#e93323;font-size:11px;top:-3px}.seckill-box .list-wrapper .itemOne .text .progressBg img[data-v-eb5ee478]{position:absolute;width:17px;height:17px;display:block;top:50%;margin-top:-8.5px;left:65px}.seckill-box .list-wrapper .itemOne .text .progressBg .progress[data-v-eb5ee478]{width:75px;height:12px;line-height:12px;background:linear-gradient(45deg,#ff7931,#e93323);border-radius:8px;font-size:9px;color:#fff;padding-left:7px}.seckill-box .list-wrapper .itemOne .text .price[data-v-eb5ee478]{font-size:12px;color:#e93323}.seckill-box .list-wrapper .itemOne .text .price .label[data-v-eb5ee478]{font-weight:600;margin-left:4px}.seckill-box .list-wrapper .itemOne .text .price .num[data-v-eb5ee478]{font-size:16px;font-weight:600}.seckill-box .list-wrapper .itemOne .text .yprice[data-v-eb5ee478]{color:#999;font-size:12px;text-decoration:line-through}.seckill-box .list-wrapper .itemOne .text .yprice .num[data-v-eb5ee478]{margin-left:4px}.seckill-box .list-wrapper .itemOne .text .bnt[data-v-eb5ee478]{width:60px;height:28px;background:-webkit-gradient(linear,left top,right top,from(#ff7931),to(#e93323));background:linear-gradient(90deg,#ff7931,#e93323);border-radius:25px;text-align:center;line-height:28px;color:#fff;font-size:12px;position:absolute;right:0;bottom:0}.seckill-box .list-wrapper .list-item[data-v-eb5ee478]{width:31.47%;margin-top:10px}.seckill-box .list-wrapper .list-item~.list-item[data-v-eb5ee478]{margin-left:9px}.seckill-box .list-wrapper .list-item[data-v-eb5ee478]:nth-of-type(3n-2){margin-left:0}.seckill-box .list-wrapper .list-item[data-v-eb5ee478]:nth-child(1),.seckill-box .list-wrapper .list-item[data-v-eb5ee478]:nth-child(2),.seckill-box .list-wrapper .list-item[data-v-eb5ee478]:nth-child(3){margin-top:0}.seckill-box .list-wrapper .list-item .img-box[data-v-eb5ee478]{border-radius:6px;position:relative;width:100%;height:106px}.seckill-box .list-wrapper .list-item .img-box .empty-box[data-v-eb5ee478]{background-color:#f3f9ff;position:relative}.seckill-box .list-wrapper .list-item .img-box .empty-box img[data-v-eb5ee478]{width:65px;height:50px;display:block}.seckill-box .list-wrapper .list-item .img-box .empty-box .label[data-v-eb5ee478]{width:42px;height:15px;border-radius:8px;font-size:11px;text-align:center;line-height:15px;left:5px;top:5px;position:absolute}.seckill-box .list-wrapper .list-item .img-box .empty-box .label .labelBg[data-v-eb5ee478]{background-color:#ffffffe6}.seckill-box .list-wrapper .list-item .title[data-v-eb5ee478]{margin-top:8px;font-size:13px;color:#333}.seckill-box .list-wrapper .list-item .price[data-v-eb5ee478]{width:75px;height:22px;line-height:22px;position:relative;border-radius:0 4px 4px 0;margin-top:1px;font-weight:500;height:20px;font-size:15px;padding-left:13px}.seckill-box .list-wrapper .list-item .price span[data-v-eb5ee478]{font-size:12px;margin-right:2px}.seckill-box .list-wrapper .list-item .price img[data-v-eb5ee478]{width:12px;height:22px;display:block;position:absolute;left:-4px;top:0}.seckill-box .list-wrapper .list-item .yprice[data-v-eb5ee478]{color:#999;font-size:12px;text-decoration:line-through}.service-box[data-v-c1415dff]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;padding-right:10px}.service-box.on[data-v-c1415dff]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;padding-left:10px}.service-box .img-box[data-v-c1415dff]{width:43px;height:43px}.service-box .img-box img[data-v-c1415dff]{width:100%;height:100%;border-radius:50%}.service-box .img-box .empty-box[data-v-c1415dff]{border-radius:50%;background:#f3f9ff}.service-box .img-box .empty-box img[data-v-c1415dff]{width:26px;height:20px}.service-box .img-box .empty-box .iconfont[data-v-c1415dff]{font-size:20px}.spec-preview-box[data-v-6eaa8a5a]{padding:4px 0}.title[data-v-6eaa8a5a]{font-size:16px;font-weight:700;color:#333;margin-bottom:10px}.mock-calendar[data-v-6eaa8a5a],.mock-calendar-month[data-v-6eaa8a5a]{margin-bottom:10px}.mock-calendar-month__grid[data-v-6eaa8a5a]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.mock-calendar-month__grid .day[data-v-6eaa8a5a]{-webkit-box-flex:0;-ms-flex:0 0 calc(100% / 7);flex:0 0 calc(100% / 7);text-align:center;font-size:11px;padding:5px 0;color:#333}.mock-calendar-month__grid .day.muted[data-v-6eaa8a5a]{color:#ccc}.mock-calendar-month__grid .day.active[data-v-6eaa8a5a]{background:#e93323;color:#fff;border-radius:4px}.mock-calendar__week[data-v-6eaa8a5a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:4px}.mock-calendar__week span[data-v-6eaa8a5a]{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:center;font-size:11px;color:#999}.mock-calendar__days[data-v-6eaa8a5a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.mock-calendar__days .day[data-v-6eaa8a5a]{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:center;font-size:12px;padding:4px 0;border-radius:4px;color:#333}.mock-calendar__days .day.muted[data-v-6eaa8a5a]{color:#ccc}.mock-calendar__days .day.active[data-v-6eaa8a5a]{background:#e93323;color:#fff}.mock-slots[data-v-6eaa8a5a]{display:-webkit-box;display:-ms-flexbox;display:flex;gap:8px;margin-bottom:10px}.mock-slot[data-v-6eaa8a5a]{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:6px 8px;border:1px solid #eee;border-radius:4px;text-align:center}.mock-slot.active[data-v-6eaa8a5a]{border-color:#e93323;background:#e933230d}.mock-slot__name[data-v-6eaa8a5a]{display:block;font-size:12px;color:#333;font-weight:500}.mock-slot__time[data-v-6eaa8a5a]{display:block;font-size:10px;color:#999;margin-top:2px}.mock-prices[data-v-6eaa8a5a]{display:-webkit-box;display:-ms-flexbox;display:flex;gap:8px}.mock-price[data-v-6eaa8a5a]{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:6px 8px;background:#f7f8fa;border-radius:4px;text-align:center}.mock-price__name[data-v-6eaa8a5a]{display:block;font-size:12px;color:#333}.mock-price__val[data-v-6eaa8a5a]{display:block;font-size:14px;color:#e93323;font-weight:600;margin-top:2px}.store-card-box[data-v-139e714f]{padding:4px 0}.title[data-v-139e714f]{font-size:16px;font-weight:700;color:#333;margin-bottom:10px}.mock-store[data-v-139e714f]{padding:8px;background:#f7f8fa;border-radius:6px}.mock-store__header[data-v-139e714f]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:10px}.mock-store__icon[data-v-139e714f]{width:36px;height:36px;background:#e93323;border-radius:6px;-ms-flex-negative:0;flex-shrink:0;opacity:.8}.mock-store__info[data-v-139e714f]{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:0}.mock-store__name[data-v-139e714f]{font-size:13px;font-weight:500;color:#333}.mock-store__addr[data-v-139e714f]{font-size:11px;color:#999;margin-top:2px}.mock-store__meta[data-v-139e714f]{display:-webkit-box;display:-ms-flexbox;display:flex;gap:6px;margin-top:8px}.mock-tag[data-v-139e714f]{font-size:10px;color:#e93323;background:#e9332314;padding:2px 6px;border-radius:3px}.time-card-box[data-v-3233ba73]{padding:4px 0}.title[data-v-3233ba73]{font-size:16px;font-weight:700;color:#333;margin-bottom:10px}.mock-timeline[data-v-3233ba73]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:10px;padding-left:4px}.mock-tl-item[data-v-3233ba73]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:10px}.mock-tl-dot[data-v-3233ba73]{width:8px;height:8px;border-radius:50%;background:#e93323;-ms-flex-negative:0;flex-shrink:0}.mock-tl-dot.muted[data-v-3233ba73]{background:#ddd}.mock-tl-content[data-v-3233ba73]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:8px}.mock-tl-time[data-v-3233ba73]{font-size:12px;color:#333;font-weight:500}.mock-tl-label[data-v-3233ba73]{font-size:11px;color:#999;background:#f7f8fa;padding:1px 6px;border-radius:3px}.title[data-v-29b8aaae]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.titleOn[data-v-29b8aaae]{border-radius:10px!important}.title[data-v-29b8aaae]{padding:13px 12px}.title .title-box.on[data-v-29b8aaae]{width:100%}.iconfont[data-v-29b8aaae]{font-size:14px}.userInfor[data-v-08f36c92]{padding:14px 10px}.userInfor .list[data-v-08f36c92]{margin-top:16px;padding-top:16px;border-top:1px solid #eee}.userInfor .list .item[data-v-08f36c92]{font-size:13px;color:#999}.userInfor .list .item .num[data-v-08f36c92]{font-size:14px;font-weight:600;color:#333;margin-left:4px}.userInfor .right.on .item[data-v-08f36c92]{color:#666}.userInfor .right .item[data-v-08f36c92]{text-align:center;font-weight:400;color:#999;font-size:11px;margin-left:16px}.userInfor .right .item .num[data-v-08f36c92]{font-size:16px;margin-bottom:2px;font-weight:600;color:#333}.userInfor .right .iconfont[data-v-08f36c92]{font-weight:400;font-size:15px;margin-bottom:2px}.userInfor .left .pictrue[data-v-08f36c92]{width:45px;height:45px;border-radius:50%;margin-right:10px}.userInfor .left .pictrue img[data-v-08f36c92]{border-radius:50%;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.userInfor .left .pictrue .empty-box[data-v-08f36c92]{border-radius:50%;background-color:#f3f9ff;border:1px solid #eeeeee}.userInfor .left .pictrue .empty-box .iconfont[data-v-08f36c92]{font-size:20px}.userInfor .left .pictrue .empty-box img[data-v-08f36c92]{width:26px;height:20px}.userInfor .left .text[data-v-08f36c92]{font-weight:400;color:#333;font-size:16px}.userInfor .left .text .name img[data-v-08f36c92]{width:38px;height:16px;margin-left:5px}.userInfor .left .text .progress[data-v-08f36c92]{overflow:hidden;background-color:#eee;width:60px;height:7px;border-radius:3px;position:relative}.userInfor .left .text .progress .bgReds[data-v-08f36c92]{width:80%;height:100%;-webkit-transition:width .6s ease;transition:width .6s ease;border-radius:3px}.userInfor .left .text .percent[data-v-08f36c92]{font-size:10px;margin-left:4px}.userInfor .left .text .phone[data-v-08f36c92]{font-weight:400;font-size:10px;margin-top:3px}.userInfor .left .text .phone .iconshouji[data-v-08f36c92]{margin-right:2px;font-size:12px}.pictrue[data-v-0f147d3f]{width:100%;height:213px;background-repeat:no-repeat;background-size:cover;background-position:50%}.pictrue.on[data-v-0f147d3f]{height:284px}.pictrue.on2[data-v-0f147d3f]{height:375px}.pictrue .image[data-v-0f147d3f]{width:44px;height:44px;background:#0003;border-radius:50%}.pictrue .image img[data-v-0f147d3f]{width:24px;height:24px;display:block}.pictrue .empty-box[data-v-0f147d3f]{width:100%;height:375px;border-radius:0;background:#f3f9ff}.pictrue .empty-box img[data-v-0f147d3f]{width:65px;height:50px}.pictrue img[data-v-0f147d3f]{width:100%;height:100%}.menusCon[data-v-49147994]{overflow:hidden}.menus[data-v-49147994]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:10000%;height:40px;cursor:pointer;padding-left:12px}.menus .item[data-v-49147994]{position:relative;color:#333;font-size:14px;margin-right:28px;z-index:9}.menus .item.on[data-v-49147994]{font-size:16px;font-weight:600}.menus .item.on span[data-v-49147994]{display:block;position:absolute;left:50%;bottom:4px;width:100%;height:4px;border-radius:100px;-webkit-transform:translateX(-50%);transform:translate(-50%);background:#fff;background:-webkit-gradient(linear,left top,right top,from(#e93323),to(#ff7931));background:linear-gradient(90deg,#e93323,#ff7931);z-index:-1}.menus .item.on2[data-v-49147994]{width:46px;height:24px;text-align:center;line-height:24px;color:#fff;background:-webkit-gradient(linear,left top,right top,from(#e93323),to(#ff7931));background:linear-gradient(90deg,#e93323,#ff7931);border-radius:50px}.menus .item.on3[data-v-49147994]{font-size:16px;font-weight:600;color:#e93323}.menus .item.on3 span[data-v-49147994]{position:absolute;width:30px;height:30px;border:3px solid #e93323;border-left:3px solid transparent!important;border-top:3px solid transparent!important;border-right:3px solid transparent!important;border-radius:50%;bottom:-4px;left:50%;-webkit-transform:translateX(-50%);transform:translate(-50%)}.empty-box[data-v-903f3434]{background:#f3f9ff}.empty-box img[data-v-903f3434]{width:65px;height:50px}.img[data-v-903f3434]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.advertItem07[data-v-903f3434]{width:100%;height:100%}.advertItem07 .item[data-v-903f3434],.advertItem07 .items[data-v-903f3434]{width:100%;height:50%}.advertItem07 .items .pic[data-v-903f3434]{width:33.3333%;height:100%}.advertItem08 .item .pic[data-v-903f3434]{width:50%;height:100%}.mobile-page[data-v-903f3434]{display:inline-block;width:-webkit-fill-available}.mobile-page .advert[data-v-903f3434]{position:relative}.mobile-page .advert .advertItem11[data-v-903f3434]{position:absolute}.mobile-page .advert .advertItem01[data-v-903f3434]{width:100%;height:100%}.mobile-page .advert .advertItem01 .empty-box[data-v-903f3434]{width:100%;height:375px}.mobile-page .advert .advertItem01 .empty-box .icontupian[data-v-903f3434]{font-size:50px;color:#999}.mobile-page .advert .advertItem02[data-v-903f3434]{width:100%;height:100%}.mobile-page .advert .advertItem02 .item[data-v-903f3434]{width:50%;height:100%}.mobile-page .advert .advertItem02 .item .empty-box[data-v-903f3434]{width:100%;height:100%}.mobile-page .advert .advertItem03 .item[data-v-903f3434]{width:33.3333%;height:100%}.mobile-page .advert .advertItem03 .item .empty-box[data-v-903f3434],.mobile-page .advert .advertItem04[data-v-903f3434]{width:100%;height:100%}.mobile-page .advert .advertItem04 .item[data-v-903f3434]{width:50%;height:100%}.mobile-page .advert .advertItem04 .item .empty-box[data-v-903f3434]{width:100%;height:100%}.mobile-page .advert .advertItem04 .item .pic[data-v-903f3434]{width:100%;height:50%}.mobile-page .advert .advertItem04 .item .pic .picItem[data-v-903f3434]{width:50%;height:100%}.mobile-page .advert .advertItem05 .item[data-v-903f3434]{width:25%}.mobile-page .advert .advertItem05 .item .empty-box[data-v-903f3434]{width:100%;height:94.75px}.mobile-page .advert .advertItem06[data-v-903f3434]{width:100%;height:100%}.mobile-page .advert .advertItem06 .item[data-v-903f3434]{width:50%;height:50%}.mobile-page .advert .advertItem06 .item .empty-box[data-v-903f3434]{width:100%;height:100%}.pointsMall .title[data-v-f067fb94]{color:#333;background-repeat:no-repeat;background-size:100% 100%;width:100%;height:48px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:16px;font-weight:500;padding:0 12px}.pointsMall .title img[data-v-f067fb94]{width:88px;height:16px;display:block}.pointsMall .title .more[data-v-f067fb94]{font-size:12px;color:#999}.pointsMall .title .more .iconfont[data-v-f067fb94]{font-size:12px}.pointsMall .conter[data-v-f067fb94]{padding:0 0 16px 10px;background:-webkit-gradient(linear,left top,right top,from(#e93323),to(#ff7931));background:linear-gradient(90deg,#e93323,#ff7931)}.pointsMall .list[data-v-f067fb94]{background-color:#fff;padding:10px 0 10px 10px;border-radius:8px 0 0 8px;display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden}.pointsMall .list.on2[data-v-f067fb94]{-ms-flex-wrap:wrap;flex-wrap:wrap;padding-top:0}.pointsMall .list.on2 .item[data-v-f067fb94]{width:47.4%;margin-right:11px;margin-bottom:10px}.pointsMall .list.on2 .item[data-v-f067fb94]:nth-of-type(2n){margin-right:0}.pointsMall .list.on2 .item[data-v-f067fb94]:nth-last-child(1),.pointsMall .list.on2 .item[data-v-f067fb94]:nth-last-child(2){margin-bottom:0}.pointsMall .list.on2 .item .pictrue[data-v-f067fb94]{width:100%;height:162px}.pointsMall .list.on2 .item .name[data-v-f067fb94]{font-size:14px;margin-top:5px}.pointsMall .list.on2 .item .money[data-v-f067fb94]{margin-top:0}.pointsMall .list.on2 .item .money .num.on[data-v-f067fb94]{font-size:16px;font-family:D-DIN-PRO,D-DIN-PRO;font-weight:600}.pointsMall .list.on[data-v-f067fb94]{-ms-flex-wrap:wrap;flex-wrap:wrap;padding-top:0}.pointsMall .list.on .item[data-v-f067fb94]{width:30.7%;margin-right:9px;margin-bottom:10px}.pointsMall .list.on .item[data-v-f067fb94]:nth-last-child(1),.pointsMall .list.on .item[data-v-f067fb94]:nth-last-child(2),.pointsMall .list.on .item[data-v-f067fb94]:nth-last-child(3){margin-bottom:0}.pointsMall .list.on .item .pictrue[data-v-f067fb94]{width:100%;height:106px}.pointsMall .list .item[data-v-f067fb94]{width:112px;margin-right:10px}.pointsMall .list .item .pictrue[data-v-f067fb94]{width:112px;height:112px;background-color:#f3f9ff}.pointsMall .list .item .pictrue img[data-v-f067fb94]{width:65px;height:50px}.pointsMall .list .item .bottom[data-v-f067fb94]{width:98px;height:18px;background:-webkit-gradient(linear,left top,right top,from(#e93323),to(#ff7931));background:linear-gradient(90deg,#e93323,#ff7931);border-radius:1px 10px 10px;text-align:center;line-height:18px;color:#fff;font-size:11px;margin-top:8px}.pointsMall .list .item .money[data-v-f067fb94]{font-size:12px;color:#666;margin-top:8px}.pointsMall .list .item .money img[data-v-f067fb94]{width:16px;height:16px;display:block;margin-right:4px}.pointsMall .list .item .money .num[data-v-f067fb94]{color:#e93323}.pointsMall .list .item .name[data-v-f067fb94]{color:#282828;font-size:13px;margin-top:3px}.mobile-page[data-v-e4298639]{display:inline-block;width:-webkit-fill-available}.search-box[data-v-e4298639]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:48px;padding:9px 15px;cursor:pointer}.search-box .search[data-v-e4298639]{width:100%}.search-box .search.center[data-v-e4298639]{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.search-box .search.right[data-v-e4298639]{-webkit-box-pack:right;-ms-flex-pack:right;justify-content:right}.search-box .search .hotWords[data-v-e4298639]{color:#fffc}.search-box .title[data-v-e4298639]{font-size:15px;color:#333}.search-box .map[data-v-e4298639]{color:#333;font-size:14px}.search-box .map .iconfont[data-v-e4298639]{font-size:16px}.search-box .map .iconyou[data-v-e4298639]{font-size:12px;opacity:.8}.search-box .map .icondingwei[data-v-e4298639]{margin-right:3px}.search-box img[data-v-e4298639]{width:76px;height:30px;margin-right:11px}.search-box .box[data-v-e4298639]{-webkit-box-flex:1;-ms-flex:1;flex:1;height:30px;line-height:30px;color:#ccc;font-size:14px;background:#fff;border-radius:15px;padding:0 16px}.search-box .box .iconfont[data-v-e4298639]{margin-right:5px;margin-top:-3px;display:inline-block;vertical-align:middle}.signIn[data-v-d438501d]{width:100%}.signIn .signInBg[data-v-d438501d]{width:100%;height:70px;border-radius:8px;padding:0 3px}.signIn .signInBg .item[data-v-d438501d]{text-align:center;font-size:11px;color:#999;padding-top:5px}.signIn .signInBg .item.gift[data-v-d438501d]{padding-bottom:3px}.signIn .signInBg .item.gift img[data-v-d438501d]{width:32px;height:32px;margin-bottom:2px}.signIn .signInBg .item img[data-v-d438501d]{width:24px;height:24px;display:block;margin-bottom:6px}.signIn .signInBg .bnt[data-v-d438501d]{width:44px;height:24px;background:-webkit-gradient(linear,left top,right top,from(#e93323),to(#ff7931));background:linear-gradient(90deg,#e93323,#ff7931);border-radius:12px;text-align:center;line-height:24px;font-size:12px;color:#fff}.signIn .signInBg.on[data-v-d438501d]{background:#fff;padding:0 10px}.signIn .signInBg.on .bnt[data-v-d438501d]{width:70px;height:26px;background:-webkit-gradient(linear,left top,right top,from(#e93323),to(#ff7931));background:linear-gradient(90deg,#e93323,#ff7931);border-radius:13px;font-size:12px;color:#fff;text-align:center;line-height:26px}.signIn .signInBg.on .pictrue[data-v-d438501d]{width:44px;height:44px;margin-right:10px}.signIn .signInBg.on .pictrue img[data-v-d438501d]{width:100%;height:100%}.signIn .signInBg.on .name[data-v-d438501d]{color:#282828;font-size:15px;font-weight:600;line-height:1}.signIn .signInBg.on .points[data-v-d438501d]{width:40px;height:16px;background:#fceae9;border-radius:12px;font-size:10px;color:#e93323;margin-left:2px}.signIn .signInBg.on .points .pointsBg[data-v-d438501d]{width:100%;height:100%}.signIn .signInBg.on .points img[data-v-d438501d]{width:14px;height:14px;display:block}.signIn .signInBg.on .tips[data-v-d438501d]{color:#999;font-size:12px;margin-top:6px}.live-broadcast[data-v-073165de]{width:100%}.live-broadcast.on[data-v-073165de]{padding-right:0}.live-wrapper-d[data-v-073165de]{width:100%}.live-wrapper-d .live-item-d .img-box[data-v-073165de]{width:100%;height:335px;position:relative;background:#f3f9ff}.live-wrapper-d .live-item-d .img-box .empty-box[data-v-073165de]{width:100%;height:265px;background-color:unset}.live-wrapper-d .live-item-d .img-box .empty-box img[data-v-073165de]{width:88px;height:68px}.live-wrapper-d .live-item-d .img-box .label[data-v-073165de]{top:12px;left:0;border-radius:0 50px 50px 0;height:20px}.live-wrapper-d .live-item-d .img-box .info[data-v-073165de]{position:absolute;width:100%;background-color:#0003;left:0;bottom:0;padding:12px}.live-wrapper-d .live-item-d .img-box .info .title[data-v-073165de]{color:#fff;font-size:14px}.live-wrapper-d .live-item-d .img-box .info .people[data-v-073165de]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:6px}.live-wrapper-d .live-item-d .img-box .info .people img[data-v-073165de]{width:20px;height:20px;border-radius:50%;margin-right:5px}.live-wrapper-d .live-item-d .img-box .info .people span[data-v-073165de]{font-size:12px;color:#fff}.live-wrapper-d .live-item-d.on[data-v-073165de]{width:100%;border-radius:8px;border:1px solid #eee;padding:10px;margin-top:10px}.live-wrapper-d .live-item-d.on .name[data-v-073165de]{color:#333;font-size:14px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.live-wrapper-d .live-item-d.on .name .label[data-v-073165de]{position:unset;width:32px;height:16px;text-align:center;line-height:16px;background:-webkit-gradient(linear,left top,right top,from(#208ff2),color-stop(98%,#3fa6ff));background:linear-gradient(90deg,#208ff2,#3fa6ff 98%);border-radius:3px;margin-right:8px}.live-wrapper-d .live-item-d.on .name .label.bggary[data-v-073165de]{background:-webkit-gradient(linear,left top,right top,from(#6d80ac),to(#889ebd));background:linear-gradient(90deg,#6d80ac,#889ebd)}.live-wrapper-d .live-item-d.on .people[data-v-073165de]{font-size:12px;color:#999;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:6px}.live-wrapper-d .live-item-d.on .people img[data-v-073165de]{width:20px;height:20px;border-radius:50%;margin-right:6px}.live-wrapper-d .live-item-d.on .people .line[data-v-073165de]{width:1px;height:11px;background:#eee;margin:0 6px}.live-wrapper-c[data-v-073165de]{width:100%}.live-wrapper-c .live-item-a[data-v-073165de]{position:relative}.live-wrapper-c .live-item-a[data-v-073165de]:nth-last-child(1){margin-bottom:0!important}.live-wrapper-c .live-item-a .empty-box[data-v-073165de]{width:100%;height:200px;background:#f3f9ff}.live-wrapper-c .live-item-a .empty-box img[data-v-073165de]{width:88px;height:68px}.live-wrapper-c .live-item-a .img-box .label[data-v-073165de]{height:20px;line-height:20px;border-radius:0 50px 50px 0;left:0;top:12px}.live-wrapper-c .live-item-a .img-box .label.bgred[data-v-073165de]{width:65px;background:-webkit-gradient(linear,left top,right top,from(#ff2851),to(#ff2851));background:linear-gradient(90deg,#ff2851,#ff2851)}.live-wrapper-c .live-item-a .img-box .label.bgblue .txt[data-v-073165de]{border-radius:0 50px 50px 0;line-height:20px}.live-wrapper-c .live-item-a .img-box .label.bgblue .msg[data-v-073165de]{height:100%}.live-wrapper-c .live-item-a .img-box .label.bggary[data-v-073165de]{width:38px}.live-wrapper-c .live-item-a .info .title[data-v-073165de]{color:#333;font-size:14px;margin-top:12px}.live-wrapper-c .live-item-a .info .people[data-v-073165de]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:12px;color:#999;margin-top:6px}.live-wrapper-c .live-item-a .info .people img[data-v-073165de]{width:20px;height:20px;background:#f3f9ff;border-radius:50%;margin-right:6px}.live-wrapper-a .live-item-a[data-v-073165de]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;margin-bottom:10px;overflow:hidden}.live-wrapper-a .live-item-a[data-v-073165de]:nth-last-child(1){margin-bottom:0!important}.live-wrapper-a .live-item-a .img-box[data-v-073165de]{position:relative;width:166px;height:118px;overflow:hidden}.live-wrapper-a .live-item-a .img-box .empty-box[data-v-073165de]{background-color:#f3f9ff}.live-wrapper-a .live-item-a .img-box .empty-box img[data-v-073165de]{width:65px;height:50px}.live-wrapper-a .live-item-a .img-box .bggary.label[data-v-073165de]{width:34px;line-height:18px}.live-wrapper-a .live-item-a .info[data-v-073165de]{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:hidden;margin-left:10px}.live-wrapper-a .live-item-a .info .title[data-v-073165de]{color:#333;font-size:14px}.live-wrapper-a .live-item-a .goods-wrapper[data-v-073165de]{margin-top:8px;display:-webkit-box;display:-ms-flexbox;display:flex}.live-wrapper-a .live-item-a .goods-wrapper .goods-item[data-v-073165de]{position:relative;width:48px;height:48px;border-radius:4px;margin-right:8px;background:#f3f9ff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.live-wrapper-a .live-item-a .goods-wrapper .goods-item[data-v-073165de]:nth-child(3n){margin-right:0}.live-wrapper-a .live-item-a .goods-wrapper .goods-item img[data-v-073165de]{width:36px;height:28px}.live-wrapper-a .live-item-a .goods-wrapper .goods-item span[data-v-073165de]{position:absolute;left:0;bottom:0;color:#fff;font-size:12px;width:100%;height:13px;background:#0000004d;border-radius:0 0 4px 4px;font-size:11px;text-align:center;line-height:14px}.live-wrapper-a .live-item-a .goods-wrapper .goods-item span.num[data-v-073165de]{width:100%;height:100%;background:#00000059;font-size:14px;color:#fefefe;border-radius:4px;line-height:48px}.live-wrapper-b[data-v-073165de]{display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden}.live-wrapper-b .live-item-b[data-v-073165de]{width:140px;margin-right:10px}.live-wrapper-b .live-item-b[data-v-073165de]:nth-last-child(1){margin-bottom:0}.live-wrapper-b .live-item-b .img-box[data-v-073165de]{position:relative;height:100px;width:140px}.live-wrapper-b .live-item-b .img-box .empty-box[data-v-073165de]{background:#f3f9ff}.live-wrapper-b .live-item-b .img-box .empty-box img[data-v-073165de]{width:65px;height:50px}.live-wrapper-b .live-item-b .label[data-v-073165de]{top:0;left:0}.live-wrapper-b .live-item-b .label.bgred[data-v-073165de]{width:61px}.live-wrapper-b .live-item-b .label.bgblue[data-v-073165de]{width:128px}.live-wrapper-b .live-item-b .label.bgblue .txt[data-v-073165de]{border-radius:0}.live-wrapper-b .live-item-b .label.bggary[data-v-073165de]{width:34px}.live-wrapper-b .live-item-b .info[data-v-073165de]{width:100%}.live-wrapper-b .live-item-b .info .title[data-v-073165de]{font-size:14px;color:#333;margin-top:6px}.live-wrapper-b .live-item-b .info .people[data-v-073165de]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:6px;font-size:12px;color:#999}.live-wrapper-b .live-item-b .info .people img[data-v-073165de]{width:20px;height:20px;margin-right:5px;border-radius:50%}.bggary[data-v-073165de]{background:-webkit-gradient(linear,left top,right top,from(#6d80ac),to(#889ebd));background:linear-gradient(90deg,#6d80ac,#889ebd)}.bgred[data-v-073165de]{background:-webkit-gradient(linear,left top,right top,from(#ff2851),to(#ff2851));background:linear-gradient(90deg,#ff2851,#ff2851)}.label[data-v-073165de]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:absolute;left:6px;top:6px;width:61px;height:18px;line-height:18px;border-radius:50px;color:#fff;font-size:11px}.label .iconfont[data-v-073165de]{font-size:12px;margin-right:5px}.label.bgblue[data-v-073165de]{-webkit-box-pack:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:128px;background:#0003;overflow:hidden}.label.bgblue .txt[data-v-073165de]{width:34px;height:100%;text-align:center;margin-right:7px;background:-webkit-gradient(linear,left top,right top,from(#208ff2),color-stop(98%,#3fa6ff));background:linear-gradient(90deg,#208ff2,#3fa6ff 98%);border-radius:50px;line-height:18px}.label.bggary[data-v-073165de]{width:54px}.mobile-page[data-v-dcc33c2c]{display:inline-block;width:-webkit-fill-available}.box[data-v-dcc33c2c]{height:20px;background:#f5f5f5}.mobile-page[data-v-131bf89f]{padding:7px 0;display:inline-block;width:-webkit-fill-available}.mobile-page[data-v-435db369]{display:inline-block;width:-webkit-fill-available}.mobile-page[data-v-435db369] video{width:100%!important}.box[data-v-435db369]{min-height:42px;padding:10px;background-color:#f5f5f5;word-break:break-all;border-radius:12px}.box img[data-v-435db369]{max-width:100%;height:auto}.flex-box[data-v-98340631]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:0 10px;height:60px}.flex-box .iconfont[data-v-98340631]{color:#999;font-size:15px;margin-left:10px}.flex-box .right[data-v-98340631]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:10px}.flex-box .left[data-v-98340631]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.flex-box .left .img-box[data-v-98340631],.flex-box .left .empty-box[data-v-98340631]{width:46px;height:46px;border-radius:50%}.flex-box .left .img-box img[data-v-98340631],.flex-box .left .empty-box img[data-v-98340631]{width:100%;height:100%;border-radius:50%}.flex-box .left .name[data-v-98340631]{margin-left:10px;font-size:15px;color:#333}.flex-box .btn[data-v-98340631]{width:56px;height:28px;border:1px solid #e93323;opacity:1;border-radius:25px;color:#e93323;font-size:12px;text-align:center;line-height:28px}.flex-box .iconfont[data-v-98340631]{font-size:20px}.c_row-item[data-v-bed0bb94]{margin:0 15px 20px}.c_radio-group[data-v-bed0bb94]{width:70%}.row-item[data-v-bed0bb94]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.iconfont[data-v-bed0bb94]{font-size:18px}[data-v-bed0bb94] .el-radio-button__inner{padding:5px 10px}[data-v-3d2c5dd1] .el-checkbox{margin-bottom:0!important}.article-box[data-v-3d2c5dd1]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 15px 20px}.article-box .title-bar[data-v-3d2c5dd1]{color:#fff;font-size:12px;margin-right:30px}.article-box .list-box[data-v-3d2c5dd1]{-webkit-box-flex:1;-ms-flex:1;flex:1}.article-box .list-box .item[data-v-3d2c5dd1]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;height:40px;margin-bottom:4px;background:#fff;border-radius:4px;padding:0 10px;-webkit-box-sizing:border-box;box-sizing:border-box}.article-box .list-box .item.sortable-chosen[data-v-3d2c5dd1],.article-box .list-box .item.sortable-drag[data-v-3d2c5dd1],.article-box .list-box .item.sortable-ghost[data-v-3d2c5dd1]{background:#f7f7f7!important}.article-box .list-box .item .move-icon[data-v-3d2c5dd1]{cursor:move;margin-right:10px}.article-box .list-box .item .move-icon .iconfont[data-v-3d2c5dd1]{color:#ddd;font-size:16px}.article-box .list-box .item .img-box[data-v-3d2c5dd1]{width:30px;height:30px;margin-right:10px;position:relative}.article-box .list-box .item .img-box img[data-v-3d2c5dd1]{width:100%;height:100%;border-radius:4px}.article-box .list-box .item .img-box .empty-img[data-v-3d2c5dd1]{width:100%;height:100%;background:#f5f5f5;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#ccc;font-size:14px}.article-box .list-box .item .info[data-v-3d2c5dd1]{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:hidden;max-width:170px}.article-box .list-box .item .info .name[data-v-3d2c5dd1]{font-size:12px;color:#333}.article-box .list-box .item .iconshanchu3[data-v-3d2c5dd1]{display:none;color:#999;font-size:16px;cursor:pointer;margin-left:10px}.article-box .list-box .item:hover .iconshanchu3[data-v-3d2c5dd1]{display:block}.article-box .add-btn[data-v-3d2c5dd1]{margin-left:15px}.article-box .add-btn .iconaddto[data-v-3d2c5dd1]{font-size:12px;color:#999;margin-right:5px}.article-box .add-btn .btn[data-v-3d2c5dd1]{width:100%}.tabBox_img[data-v-3d2c5dd1]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-3d2c5dd1]{width:100%;height:100%}.color-box[data-v-0637802b]{position:relative}.color-box .iconfont[data-v-0637802b]{position:absolute;top:27px;left:24px;color:#bbb;font-size:21px}.color-box .color-item[data-v-0637802b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:15px}.color-box .color-item~.color-item[data-v-0637802b]{margin-top:15px}.color-box .color-item span[data-v-0637802b]{margin-left:15px;color:var(--prev-color-primary);font-size:13px;cursor:pointer}.color-box .color-item .input[data-v-0637802b]{margin-left:11px;width:192px}.color-box .white-space-nowrap[data-v-0637802b]{white-space:nowrap}.c_row-item[data-v-0637802b]{margin:0 15px 20px;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.c_row-item .c_label[data-v-0637802b]{font-size:12px;margin-top:8px}[data-v-0637802b] .ivu-color-picker-color{width:22px;height:22px}[data-v-0637802b] .ivu-input-icon{width:35px;height:35px;line-height:35px;font-size:14px;right:-1px;color:#fff}[data-v-0637802b] .ivu-input-icon-normal+.ivu-input{padding-right:4px}[data-v-0637802b] .ivu-color-picker-color{top:0}[data-v-0637802b] .ivu-input{padding:4px 5px;border:1px solid #eee}.upload_img[data-v-d1d30243]{padding:0 15px;margin-top:10px}.upload_img.on .title[data-v-d1d30243]{margin-bottom:0;padding-bottom:0}.upload_img.on .list[data-v-d1d30243]{padding:0 0 20px;height:auto;background:#fff}.upload_img.on .list .box[data-v-d1d30243]{margin-bottom:0}.upload_img.on .list .name[data-v-d1d30243]{width:75px}.upload_img .list[data-v-d1d30243]{width:370px;background:#f9f9f9;border-radius:3px;padding:16px 20px}.upload_img .item[data-v-d1d30243]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.upload_img .item .name[data-v-d1d30243]{font-size:12px;color:#999;margin-right:16px;white-space:nowrap}.upload_img .item[data-v-d1d30243] .ivu-input-icon{color:#bbb}.upload_img .item .picTxt[data-v-d1d30243]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.header[data-v-d1d30243]{font-size:14px;color:#000}.title[data-v-d1d30243]{padding:20px 0;font-size:14px;color:#333}.box[data-v-d1d30243]{width:64px;height:64px;margin-bottom:10px;position:relative;background:url(/admin/system_static/transparents-h9eUEqWN.jpg) no-repeat;background-size:100% 100%;border-radius:3px}.box .pictrue[data-v-d1d30243]{position:relative;width:100%;height:100%}.box .pictrue video[data-v-d1d30243]{width:100%;height:100%}.box .pictrue .iconfont[data-v-d1d30243]{position:absolute;right:-12px;top:-12px;font-size:24px;color:#ccc}.box img[data-v-d1d30243]{width:64px;border-radius:3px;max-height:64px;-o-object-fit:cover;object-fit:cover}.upload-box[data-v-d1d30243]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:64px;height:64px;background:#fff;border-radius:4px;border:1px solid #eeeeee}.upload-box .ivu-icon[data-v-d1d30243]{color:#ccc}.c_radio.on[data-v-fed74697]{padding:0 15px}.c_radio.on .c_label[data-v-fed74697]{color:#999;font-size:12px}.c_radio.on[data-v-fed74697] .ivu-radio-wrapper{margin:5px 25px 15px 0}.c_radio .c_row-item[data-v-fed74697]{-webkit-box-align:unset;-ms-flex-align:unset;align-items:unset}.c_radio .c_label[data-v-fed74697]{color:#000;margin-top:10px;margin-right:15px}.c_radio .c_label.on[data-v-fed74697]{text-align:right;color:#666}.c_radio .color-box[data-v-fed74697]{margin-top:2px}.title-tips[data-v-e0656fbc]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-e0656fbc]{margin-right:14px;color:#999}.radio-box[data-v-e0656fbc]{margin-bottom:20px}.radio-box[data-v-e0656fbc] .el-radio-group{display:-webkit-box;display:-ms-flexbox;display:flex}.radio-box[data-v-e0656fbc] .el-radio-group .el-radio{-webkit-box-flex:1;-ms-flex:1;flex:1}.radio-box[data-v-e0656fbc] .el-radio-group .el-radio .el-radio-button__inner{width:100%}.slider-box[data-v-2c0cbd34]{padding:0 15px}.slider-box .label[data-v-2c0cbd34]{color:#999;font-size:12px;width:75px;margin-right:16px}.c_row-item[data-v-2c0cbd34]{margin-bottom:20px}[data-v-2c0cbd34] .el-cascader__search-input{margin-left:8px}[data-v-2c0cbd34] .el-cascader{width:100%}.button-style[data-v-1870624b]{padding:0 15px;margin-bottom:20px}.button-style .title-tips[data-v-1870624b]{color:#999;font-size:12px;width:75px;margin-right:16px}.button-style .style-box .pictrue[data-v-1870624b]{width:54px;height:36px;border-radius:3px;border:1px solid #fff;margin-right:10px}.button-style .style-box .pictrue.on[data-v-1870624b]{border:1px solid var(--prev-color-primary)}.button-style .style-box .pictrue img[data-v-1870624b]{display:block}[data-v-e8bbec69] .ivu-modal-body{max-height:623px;overflow:auto}.list[data-v-e8bbec69]{padding-left:8px;max-height:50vh}.list .item[data-v-e8bbec69]{margin-right:11px;text-align:center;cursor:pointer}.list .item.on .pictrue[data-v-e8bbec69]{border-color:var(--prev-color-primary)}.list .item .name[data-v-e8bbec69]{color:#3d3d3d;font-size:14px;margin:12px 0}.list .item[data-v-e8bbec69]:nth-of-type(3n){margin-right:0}.list .item .pictrue[data-v-e8bbec69]{width:273px;height:218px;background:#f5f5f5;border-radius:4px;border:1px solid #dddddd;position:relative}.list .item .pictrue img[data-v-e8bbec69]{display:block}.list .item .pictrue .iconfont[data-v-e8bbec69]{position:absolute;right:-1px;bottom:-4px;color:var(--prev-color-primary)}.button-style[data-v-e8bbec69]{padding:0 15px;margin-bottom:20px}.button-style .title-tips[data-v-e8bbec69]{margin-right:14px;color:#999;font-size:12px;width:82px}.button-style .style-box .bnt[data-v-e8bbec69]{width:94px;height:32px;background:var(--prev-color-primary);border-radius:4px;text-align:center;line-height:32px;color:#fff;font-size:12px;cursor:pointer}.button-style .style-box .name[data-v-e8bbec69]{color:#999;font-size:12px;margin-left:12px}.c-card-select[data-v-44ebe0fe]{padding:0 15px 15px}.c-card-select .card-wrapper[data-v-44ebe0fe]{background:#fff;border-radius:8px}.c-card-select .card-wrapper .card-title[data-v-44ebe0fe]{padding:15px 0 10px;font-size:14px;color:#333;font-weight:500}.c-card-select .card-wrapper .card-desc[data-v-44ebe0fe]{padding:0 0 10px;font-size:13px;color:#bbb}.c-card-select .card-wrapper .card-list[data-v-44ebe0fe]{display:-webkit-box;display:-ms-flexbox;display:flex;gap:10px;-ms-flex-wrap:wrap;flex-wrap:wrap}.c-card-select .card-wrapper .card-list .card-item[data-v-44ebe0fe]{position:relative;-webkit-box-flex:0;-ms-flex:0 0 calc(25% - 8px);flex:0 0 calc(25% - 8px);height:32px;background:#f7f8fa;border-radius:6px;border:2px solid transparent;cursor:pointer;-webkit-transition:all .3s;transition:all .3s;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.c-card-select .card-wrapper .card-list .card-item[data-v-44ebe0fe]:hover{background:#f0f2f5}.c-card-select .card-wrapper .card-list .card-item.active[data-v-44ebe0fe]{background:#fff;border-color:var(--prev-color-primary)}.c-card-select .card-wrapper .card-list .card-item.active .card-name[data-v-44ebe0fe]{color:var(--prev-color-primary);font-weight:500}.c-card-select .card-wrapper .card-list .card-item .card-content[data-v-44ebe0fe]{text-align:center}.c-card-select .card-wrapper .card-list .card-item .card-content .card-name[data-v-44ebe0fe]{font-size:14px;color:#666;display:block}.c-card-select .card-wrapper .card-list .card-item .card-check[data-v-44ebe0fe]{position:absolute;bottom:0;right:0;width:13px;height:13px;background:var(--prev-color-primary);border-radius:6px 0 3px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.c-card-select .card-wrapper .card-list .card-item .card-check i[data-v-44ebe0fe]{color:#fff;font-size:10px;font-weight:700}.checkboxs[data-v-9022e8a0]{padding:0 15px;margin-bottom:20px}.title-tips[data-v-9022e8a0]{margin-right:14px;color:#999;font-size:12px;width:82px}.checkbox-box[data-v-9022e8a0]{width:270px}.ivu-checkbox-group-item[data-v-9022e8a0]{margin-bottom:15px;margin-right:15px}[data-v-9022e8a0] .ivu-checkbox{margin-right:4px}[data-v-9022e8a0] .ivu-checkbox-group-item{font-size:12px}[data-v-9022e8a0] .ivu-checkbox-wrapper:nth-last-child(1){margin-right:0}.slider-box[data-v-df11a3b7]{margin-top:20px;padding:0 15px}.slider-box .label[data-v-df11a3b7]{color:#999;font-size:12px;width:75px;margin-right:16px}.c_row-item[data-v-df11a3b7]{margin-bottom:20px}[data-v-df11a3b7] .el-cascader__search-input{margin-left:8px;font-size:12px}[data-v-df11a3b7] .el-cascader{width:100%}[data-v-df11a3b7] .el-cascader .el-tag{margin:4px 0 2px 6px}.ivu-date-picker[data-v-d500049a]{width:100%}.c_radio .c_row-item[data-v-d500049a]{-webkit-box-align:unset;-ms-flex-align:unset;align-items:unset}.c_radio .c_row-item.on[data-v-d500049a]{display:block}.c_radio .c_row-item.on .c_label[data-v-d500049a]{text-align:left;margin-bottom:3px}.c_radio .c_label[data-v-d500049a]{color:#000;margin-right:15px;margin-top:4px}.c_radio .c_label.on[data-v-d500049a]{text-align:right;color:#666}.c_radio[data-v-d500049a] .ivu-radio-wrapper{margin:5px 25px 5px 0}.c_radio[data-v-d500049a] .ivu-radio{margin-right:6px}.setUpTop[data-v-7e55a1a2]{height:6px;background:#f0f2f5}.title[data-v-7e55a1a2]{padding:20px 15px;font-size:14px;color:#333;border-top:6px solid #f0f2f5;margin-top:-5px}.margin-style-config[data-v-e8cb7169]{padding:0 15px}.margin-style-config .c_row[data-v-e8cb7169]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.margin-style-config .c_label[data-v-e8cb7169]{font-size:12px;color:#999;line-height:38px;margin-bottom:10px;white-space:nowrap}.margin-style-config .c_content[data-v-e8cb7169]{width:75%}.margin-style-config .main-setting[data-v-e8cb7169]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.margin-style-config .main-setting .expand-icon[data-v-e8cb7169]{margin-left:10px;cursor:pointer;width:32px;height:32px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border:1px solid #dcdfe6;border-radius:4px;color:#606266}.margin-style-config .main-setting .expand-icon[data-v-e8cb7169]:hover{color:#409eff;border-color:#c6e2ff}.margin-style-config .main-setting .expand-icon .iconfont[data-v-e8cb7169]{font-size:18px}.margin-style-config .main-setting .expand-icon.selected[data-v-e8cb7169]{color:#409eff;border-color:#c6e2ff}.margin-style-config .main-setting[data-v-e8cb7169] .el-slider{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-right:0}.margin-style-config .main-setting[data-v-e8cb7169] .el-slider .el-slider__input{width:110px}.margin-style-config .sub-settings[data-v-e8cb7169]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:10px;margin-right:-10px}.margin-style-config .sub-settings .sub-item[data-v-e8cb7169]{width:50%;padding-right:10px;margin-bottom:10px;-webkit-box-sizing:border-box;box-sizing:border-box}.margin-style-config .sub-settings .sub-item .input-box[data-v-e8cb7169]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #dcdfe6;border-radius:4px;padding-left:5px}.margin-style-config .sub-settings .sub-item .input-box[data-v-e8cb7169]:hover{border-color:#c0c4cc}.margin-style-config .sub-settings .sub-item .input-box .prefix-icon[data-v-e8cb7169]{color:#909399;font-size:14px;margin-right:5px}.margin-style-config .sub-settings .sub-item .input-box[data-v-e8cb7169] .el-input-number{width:100%;border:none}.margin-style-config .sub-settings .sub-item .input-box[data-v-e8cb7169] .el-input-number .el-input__inner{border:none;padding-left:5px;text-align:left}.margin-style-config .sub-settings .sub-item .input-box[data-v-e8cb7169] .el-input__wrapper{-webkit-box-shadow:none;box-shadow:none}.margin-style-config[data-v-4ff31ca3]{padding:0 15px}.margin-style-config .c_row[data-v-4ff31ca3]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.margin-style-config .c_label[data-v-4ff31ca3]{font-size:12px;color:#999;line-height:38px;margin-bottom:10px;white-space:nowrap}.margin-style-config .c_content[data-v-4ff31ca3]{width:75%}.margin-style-config .main-setting[data-v-4ff31ca3]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.margin-style-config .main-setting .expand-icon[data-v-4ff31ca3]{margin-left:10px;cursor:pointer;width:32px;height:32px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border:1px solid #dcdfe6;border-radius:4px;color:#606266}.margin-style-config .main-setting .expand-icon[data-v-4ff31ca3]:hover{color:#409eff;border-color:#c6e2ff}.margin-style-config .main-setting .expand-icon .iconfont[data-v-4ff31ca3]{font-size:18px}.margin-style-config .main-setting .expand-icon.selected[data-v-4ff31ca3]{color:#409eff;border-color:#c6e2ff}.margin-style-config .main-setting[data-v-4ff31ca3] .el-slider{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-right:0}.margin-style-config .main-setting[data-v-4ff31ca3] .el-slider .el-slider__input{width:110px}.margin-style-config .sub-settings[data-v-4ff31ca3]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:10px;margin-right:-10px}.margin-style-config .sub-settings .sub-item[data-v-4ff31ca3]{width:50%;padding-right:10px;margin-bottom:10px;-webkit-box-sizing:border-box;box-sizing:border-box}.margin-style-config .sub-settings .sub-item .input-box[data-v-4ff31ca3]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #dcdfe6;border-radius:4px;padding-left:5px}.margin-style-config .sub-settings .sub-item .input-box[data-v-4ff31ca3]:hover{border-color:#c0c4cc}.margin-style-config .sub-settings .sub-item .input-box .prefix-icon[data-v-4ff31ca3]{color:#909399;font-size:14px;margin-right:5px}.margin-style-config .sub-settings .sub-item .input-box[data-v-4ff31ca3] .el-input-number{width:100%;border:none}.margin-style-config .sub-settings .sub-item .input-box[data-v-4ff31ca3] .el-input-number .el-input__inner{border:none;padding-left:5px;text-align:left}.margin-style-config .sub-settings .sub-item .input-box[data-v-4ff31ca3] .el-input__wrapper{-webkit-box-shadow:none;box-shadow:none}.c_row-item[data-v-a7b8acf1]{margin:0 15px 20px}.c_row-item .label[data-v-a7b8acf1]{color:#999;font-size:12px}.goods-box[data-v-1bebab48]{padding:0 15px}.goods-box .wrapper[data-v-1bebab48]{-webkit-box-flex:1;-ms-flex:1;flex:1}.goods-box .wrapper[data-v-1bebab48],.goods-box .list-group[data-v-1bebab48]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%}.goods-box .title[data-v-1bebab48]{color:#fff;font-size:12px;width:75px;margin-right:5px;margin-top:20px}.goods-box .add-item[data-v-1bebab48]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:32px;border-radius:4px;margin:0 0 20px 12px}.goods-box .add-item .btn[data-v-1bebab48]{width:100%}.goods-box .add-item .iconfont[data-v-1bebab48]{font-size:12px;color:#999;margin-right:5px}.goods-box .add-item .tip[data-v-1bebab48]{color:#333}.goods-box .item[data-v-1bebab48]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;height:40px;margin-bottom:4px;background:#fff;border-radius:4px;padding:0 10px;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:13px}.goods-box .item.sortable-chosen[data-v-1bebab48],.goods-box .item.sortable-drag[data-v-1bebab48],.goods-box .item.sortable-ghost[data-v-1bebab48]{background:#f7f7f7!important}.goods-box .item .move-icon[data-v-1bebab48]{margin-right:10px}.goods-box .item .move-icon .iconfont[data-v-1bebab48]{cursor:move;color:#ddd;font-size:14px}.goods-box .item .coupon-item[data-v-1bebab48]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden;max-width:210px}.goods-box .item .coupon-item .name[data-v-1bebab48]{font-size:12px;color:#333;width:100%}.goods-box .item .iconshanchu3[data-v-1bebab48]{display:none;color:#999;font-size:16px;cursor:pointer;margin-left:10px}.goods-box .item:hover .iconshanchu3[data-v-1bebab48]{display:block}.custom-btn-box[data-v-394ca6f8]{padding:0 15px 20px}.custom-btn-box .btn[data-v-394ca6f8]{width:100%}.mobile-config-component[data-v-01ced21c]{margin:15px 0}.mobile-config-component .title-bar[data-v-01ced21c]{font-size:14px;color:#333;padding:0 15px;margin-bottom:15px}.mobile-config-component .box-content .box-item[data-v-01ced21c]{padding:0 15px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:15px}.mobile-config-component .box-content .box-item .label[data-v-01ced21c]{width:80px;font-size:13px;color:#999}.mobile-config-component .box-content .box-item .input-box[data-v-01ced21c]{-webkit-box-flex:1;-ms-flex:1;flex:1}.mobile-config-component[data-v-f54ed070]{padding:0 15px;margin-bottom:10px}.mobile-config-component .label[data-v-f54ed070]{color:#999;font-size:12px;margin-right:15px}[data-v-3fa42f26] .ivu-input{font-size:12px!important}.dragArea[data-v-3fa42f26]{padding-bottom:20px}.footer[data-v-3fa42f26]{padding:0 15px}.tips[data-v-3fa42f26]{font-size:12px;color:#bbb}.box-item[data-v-3fa42f26]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:15px;padding:20px 20px 20px 0;background:#f9f9f9;border-radius:3px}.box-item .del-box[data-v-3fa42f26]{position:absolute;right:-13px;top:-18px;cursor:pointer}.box-item .del-box .iconfont[data-v-3fa42f26]{color:#ccc;font-size:24px}.left-tool[data-v-3fa42f26]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:42px}.left-tool .iconfont[data-v-3fa42f26]{color:#999;font-size:18px;cursor:move}.right-wrapper[data-v-3fa42f26]{-webkit-box-flex:1;-ms-flex:1;flex:1}.right-wrapper .title[data-v-3fa42f26]{color:#999;font-size:12px;width:50px;margin-top:23px}.right-wrapper .img-wrapper[data-v-3fa42f26]{display:-webkit-box;display:-ms-flexbox;display:flex}.right-wrapper .img-wrapper .img-item[data-v-3fa42f26]{width:64px;margin-right:20px}.right-wrapper .img-wrapper .img-item .name[data-v-3fa42f26]{color:#bbb;font-size:12px;text-align:center;margin-top:7px}.right-wrapper .img-wrapper .img-item .pictrue[data-v-3fa42f26]{width:100%;height:64px;cursor:pointer;border:1px solid #eeeeee;position:relative;border-radius:3px}.right-wrapper .img-wrapper .img-item img[data-v-3fa42f26]{display:block;width:100%;height:100%}.right-wrapper .img-wrapper .img-item .empty-img[data-v-3fa42f26]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;font-size:12px;color:#bfbfbf;border:1px solid #eeeeee;border-radius:3px}.right-wrapper .img-wrapper .img-item .empty-img .iconfont[data-v-3fa42f26]{font-size:24px}.right-wrapper .img-wrapper .img-item .txt[data-v-3fa42f26]{position:absolute;left:0;bottom:0;width:100%;height:22px;line-height:22px;text-align:center;background:#00000080;color:#fff;font-size:12px;border-radius:0 0 3px 3px}.right-wrapper .c_row-item[data-v-3fa42f26]{margin-top:10px}.right-wrapper .c_row-item .label[data-v-3fa42f26]{color:#999;font-size:12px}.add-btn[data-v-3fa42f26]{width:100%;height:40px;margin-bottom:30px}.goods-box[data-v-ff66f964]{padding:0 15px}.goods-box .wrapper[data-v-ff66f964],.goods-box .list-group[data-v-ff66f964]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;width:272px}.goods-box .title[data-v-ff66f964]{color:#999;font-size:12px;width:75px;margin-right:16px;margin-top:20px}.goods-box .add-item[data-v-ff66f964]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-radius:4px;border:1px solid #eee}.goods-box .add-item .iconfont[data-v-ff66f964]{font-size:24px;color:#d8d8d8}.goods-box .item[data-v-ff66f964]{position:relative;width:64px;height:64px;margin-bottom:20px;margin-right:12px}.goods-box .item[data-v-ff66f964]:nth-of-type(3n){margin-right:0}.goods-box .item img[data-v-ff66f964]{width:100%;height:100%}.goods-box .item .icondel_1[data-v-ff66f964]{position:absolute;right:-5px;top:-12px;color:#ccc;font-size:22px;cursor:pointer}.label-wrapper .list[data-v-5b10a7a2]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.label-wrapper .list .label[data-v-5b10a7a2]{position:relative;border:1px solid #ffffff;padding:2px;border-radius:4px;margin:0 8px 10px 0;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.label-wrapper .list .label.on[data-v-5b10a7a2]{border:1px solid #2d8cf0}.label-wrapper .list .label-item[data-v-5b10a7a2]{padding:3px 8px;background:#eee;color:#333;border-radius:2px;cursor:pointer;font-size:12px}.label-wrapper .list .img-tag[data-v-5b10a7a2]{height:22px;border-radius:2px}.label-wrapper .list .sanjiao[data-v-5b10a7a2]{position:absolute;right:0;bottom:0;width:20px;height:20px;background:#2d8cf0;clip-path:polygon(100% 100%,100% 0,0 100%);color:#fff;text-align:right}.label-wrapper .list .sanjiao .iconfont[data-v-5b10a7a2]{font-size:10px}.label-wrapper .footer[data-v-5b10a7a2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin-top:40px}.label-wrapper .footer button[data-v-5b10a7a2]{margin-left:10px}.label-box[data-v-5b10a7a2]{margin-bottom:10px}.btn[data-v-5b10a7a2]{width:60px;height:24px}.title[data-v-5b10a7a2]{font-size:13px;margin-bottom:8px}.nonefont[data-v-5b10a7a2]{text-align:center;padding-top:20px}.slider-box[data-v-51fad7be]{padding:0 15px}.c_row-item[data-v-51fad7be]{margin-bottom:20px}.label[data-v-51fad7be]{color:#999;font-size:12px}.labelInput[data-v-51fad7be]{border:1px solid #dcdee2;width:100%;padding:0 5px;border-radius:5px;min-height:30px;cursor:pointer}.labelInput .span[data-v-51fad7be]{font-size:12px;color:#c5c8ce;padding-left:10px}.labelInput .iconxiayi[data-v-51fad7be]{font-size:12px}.grid-item-style-config[data-v-2344c5e2]{padding:12px 16px;border-bottom:1px solid #f0f0f0}.grid-item-style-config .config-title[data-v-2344c5e2]{font-size:14px;font-weight:500;color:#333;margin-bottom:12px}.grid-item-style-config .config-item[data-v-2344c5e2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:12px}.grid-item-style-config .config-item .slider-container[data-v-2344c5e2]{width:75%}.grid-item-style-config .config-item[data-v-2344c5e2]:last-child{margin-bottom:0}.grid-item-style-config .config-item .item-label[data-v-2344c5e2]{font-size:13px;color:#999}.grid-item-style-config .row[data-v-2344c5e2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative}.grid-item-style-config .row .reset-btn[data-v-2344c5e2]{cursor:pointer;font-size:12px;margin-left:10px;color:var(--prev-color-primary)}.grid-item-style-config .row .reset-btn[data-v-2344c5e2]:hover{color:var(--prev-color-primary-light-1)}.header-style-config[data-v-4e13bd1c]{padding:12px 16px}.header-style-config .config-title[data-v-4e13bd1c]{font-size:14px;font-weight:500;color:#333;margin-bottom:12px}.header-style-config .config-item[data-v-4e13bd1c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:12px}.header-style-config .config-item .slider-container[data-v-4e13bd1c]{width:75%}.header-style-config .config-item[data-v-4e13bd1c]:last-child{margin-bottom:0}.header-style-config .config-item .item-label[data-v-4e13bd1c]{font-size:13px;color:#999}.header-style-config .row[data-v-4e13bd1c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative}.header-style-config .row .reset-btn[data-v-4e13bd1c]{cursor:pointer;font-size:12px;margin-left:10px;color:var(--prev-color-primary)}.header-style-config .row .reset-btn[data-v-4e13bd1c]:hover{color:var(--prev-color-primary-light-1)}.config-item[data-v-96b1487d]{padding:12px 16px}.config-item .item-header[data-v-96b1487d]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.config-item .item-header .item-title[data-v-96b1487d]{font-size:14px;color:#333}[data-v-0413416e] .ivu-input{font-size:13px!important}.hot_imgs[data-v-0413416e]{border-top:1px solid rgba(0,0,0,.05)}.hot_imgs .title[data-v-0413416e]{padding:13px 0;color:#999;font-size:12px;border-bottom:1px solid rgba(0,0,0,.05)}.hot_imgs .list-box .item[data-v-0413416e]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:20px}.hot_imgs .list-box .item .move-icon[data-v-0413416e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:30px;height:80px;cursor:move}.hot_imgs .list-box .item .img-box[data-v-0413416e]{width:80px;height:80px}.hot_imgs .list-box .item .img-box img[data-v-0413416e]{width:100%;height:100%}.hot_imgs .list-box .item .info[data-v-0413416e]{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:22px}.hot_imgs .list-box .item .info .info-item[data-v-0413416e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:10px}.hot_imgs .list-box .item .info .info-item span[data-v-0413416e]{width:40px;font-size:13px}.hot_imgs .list-box .item .info .info-item .input-box[data-v-0413416e]{-webkit-box-flex:1;-ms-flex:1;flex:1}.hot_imgs .add-btn[data-v-0413416e]{margin-top:10px}.hot_imgs .upload-box[data-v-0413416e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:80px;height:80px;background:#ccc;border-radius:5px}[data-v-b0449b2a] .ivu-select-arrow{color:#ccc}.line-box[data-v-b0449b2a]{padding:0 15px}.line-box .input-box .add-btn[data-v-b0449b2a]{margin-top:20px}.line-box .input-box .add-btn .btn[data-v-b0449b2a]{width:100%;height:36px;border-color:#eee;color:#666}.line-box .input-box .add-btn .btn .iconfont[data-v-b0449b2a]{font-size:11px;margin-right:5px}.line-box .input-box .input-item[data-v-b0449b2a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:15px}.line-box .input-box .input-item .delete[data-v-b0449b2a]{color:#ccc;width:30px;text-align:right}.line-box .input-box .input-item .delete .iconfont[data-v-b0449b2a]{font-size:14px}.line-box .input-box .input-item .icon[data-v-b0449b2a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:30px;cursor:move}.line-box .input-box .input-item .icon .iconfont[data-v-b0449b2a]{font-size:16px;color:#ddd}.line-box .input-box .input-item[data-v-b0449b2a] .ivu-input{-webkit-box-flex:1;-ms-flex:1;flex:1;height:36px;font-size:13px!important}.icon-selector .search-box[data-v-d43b841b]{margin-bottom:20px}.icon-selector .icon-list[data-v-d43b841b]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;max-height:500px;overflow-y:auto;border:1px solid #eee;padding:10px;border-radius:4px}.icon-selector .icon-list .icon-item[data-v-d43b841b]{width:100px;height:100px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;border-radius:4px;-webkit-transition:all .3s;transition:all .3s;margin:5px}.icon-selector .icon-list .icon-item[data-v-d43b841b]:hover{background-color:#f5f7fa;color:#409eff}.icon-selector .icon-list .icon-item .icon-box[data-v-d43b841b]{margin-bottom:10px}.icon-selector .icon-list .icon-item .icon-box .mb-iconfont[data-v-d43b841b]{font-size:32px}.icon-selector .icon-list .icon-item .icon-name[data-v-d43b841b]{font-size:12px;text-align:center;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 5px}.icon-style-config[data-v-fdd489d6]{padding-bottom:20px}.icon-style-config .title[data-v-fdd489d6]{padding:20px 15px;font-size:14px;color:#333}.icon-style-config .config-item[data-v-fdd489d6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:10px 15px}.icon-style-config .config-item .item-label[data-v-fdd489d6]{font-size:12px;color:#999;width:70px}.icon-style-config .config-item .color-box[data-v-fdd489d6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-flex:1;-ms-flex:1;flex:1}.icon-style-config .config-item .color-box .input[data-v-fdd489d6]{margin-left:11px;width:192px}.icon-style-config .config-item .color-box .reset[data-v-fdd489d6]{font-size:12px;color:#1890ff;cursor:pointer;margin-left:10px}.icon-style-config .config-item .slider-box[data-v-fdd489d6]{width:75%}.icon-style-config .config-item .radio-box[data-v-fdd489d6]{display:-webkit-box;display:-ms-flexbox;display:flex}.icon-style-config .config-item .radio-box .radio-item[data-v-fdd489d6]{width:30px;height:30px;border:1px solid #ddd;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer}.icon-style-config .config-item .radio-box .radio-item.active[data-v-fdd489d6]{border-color:#1890ff;color:#1890ff;background-color:#e6f7ff}.icon-style-config .config-item .radio-box .radio-item[data-v-fdd489d6]:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px}.icon-style-config .config-item .radio-box .radio-item[data-v-fdd489d6]:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px}.icon-style-config .config-item .radio-box .radio-item+.radio-item[data-v-fdd489d6]{border-left:none}.mobile-config-component[data-v-92845993]{margin:15px 0;border-bottom:6px solid rgb(240,242,245)}.mobile-config-component .title-bar[data-v-92845993]{font-size:14px;color:#333;padding:0 15px;margin-bottom:15px}.mobile-config-component .box-content .box-item[data-v-92845993]{padding:0 15px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:15px}.mobile-config-component .box-content .box-item .label[data-v-92845993]{width:80px;font-size:13px;color:#999}.mobile-config-component .box-content .box-item .input-box[data-v-92845993]{-webkit-box-flex:1;-ms-flex:1;flex:1}.mobile-config-component .box-content .box-item .input-box[data-v-92845993] .el-radio{margin-bottom:0}.mobile-config-component .box-content .box-item .input-box.red-text[data-v-92845993]{color:#e93323;font-size:12px}[data-v-5a6251df] .ivu-input{font-size:13px!important}.box.on3[data-v-5a6251df]{padding:0 15px}.box.on3[data-v-5a6251df] .ivu-input{font-size:12px!important}.box.on3 .label[data-v-5a6251df]{font-size:12px;color:#999}.box.on3[data-v-5a6251df] .ivu-input-icon{color:#bbb}.c_row-item[data-v-5a6251df]{margin-bottom:10px}.c_row-item.on[data-v-5a6251df]{margin-bottom:20px}.c_row-item.on .label[data-v-5a6251df]{text-align:right;color:#666}.c_row-item.on2[data-v-5a6251df]{display:block}.c_row-item.on2 .label[data-v-5a6251df]{margin-bottom:5px;color:#666}[data-v-31eadcfd] .ivu-input-number{width:100%;font-size:12px!important}.numbox[data-v-31eadcfd]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:20px;padding:0 15px}.numbox.on2[data-v-31eadcfd]{border-top:1px dashed #eeeeee;padding:20px 0 0;margin-top:20px;margin-left:15px;margin-right:15px}.numbox.on2[data-v-31eadcfd] .ivu-input-number{width:91%}.numbox.on2 .slider-box .unit[data-v-31eadcfd]{font-size:12px;color:#bbb;margin-left:10px}.numbox.on[data-v-31eadcfd]{padding:0}.numbox.on[data-v-31eadcfd] .ivu-input-number{font-size:13px!important}.numbox.on .c_row-item .label[data-v-31eadcfd]{text-align:right;font-size:13px}.numbox.on .c_row-item .label span[data-v-31eadcfd]{color:#666}.numbox span[data-v-31eadcfd]{width:80px;color:#999}.c_row-item[data-v-31eadcfd]{width:100%}.c_row-item .label[data-v-31eadcfd]{color:#999;font-size:12px}.c_row-item[data-v-7448c161]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:10px}.c_row-item .c_label.on[data-v-7448c161]{color:#666;text-align:right}.c_row-item .c_label.on2[data-v-7448c161]{text-align:left;color:#666}[data-v-4eeda2f2] .ivu-input-icon,[data-v-4eeda2f2] .ivu-input-word-count{color:#bbb}.hot_imgs[data-v-4eeda2f2]{margin:0 15px 20px}.hot_imgs .type-title[data-v-4eeda2f2]{font-size:12px;color:#999;margin-right:30px}.hot_imgs[data-v-4eeda2f2] .el-radio{margin-bottom:0}.hot_imgs .title[data-v-4eeda2f2]{padding-bottom:21px;color:#999;font-size:12px}.hot_imgs .type-switch[data-v-4eeda2f2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.hot_imgs .list-box .item[data-v-4eeda2f2]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;background:#f9f9f9;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:16px 20px 16px 0;margin-bottom:16px;border-radius:3px}.hot_imgs .list-box .item .delect-btn[data-v-4eeda2f2]{position:absolute;right:-13px;top:-16px}.hot_imgs .list-box .item .delect-btn .iconfont[data-v-4eeda2f2]{font-size:25px;color:#ccc}.hot_imgs .list-box .item .move-icon[data-v-4eeda2f2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:30px;cursor:move}.hot_imgs .list-box .item .img-box[data-v-4eeda2f2]{position:relative;width:64px;height:64px}.hot_imgs .list-box .item .img-box img[data-v-4eeda2f2]{width:100%;height:100%;border-radius:3px}.hot_imgs .list-box .item .info[data-v-4eeda2f2]{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:22px}.hot_imgs .list-box .item .info .info-item[data-v-4eeda2f2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:10px}.hot_imgs .list-box .item .info .info-item[data-v-4eeda2f2]:nth-last-child(1){margin-bottom:0}.hot_imgs .list-box .item .info .info-item .span[data-v-4eeda2f2]{width:40px;font-size:12px;color:#999}.hot_imgs .list-box .item .info .info-item .input-box[data-v-4eeda2f2]{-webkit-box-flex:1;-ms-flex:1;flex:1}.hot_imgs .add-btn[data-v-4eeda2f2]{margin-top:10px}.hot_imgs .add-btn .btn[data-v-4eeda2f2]{width:100%;height:36px;border-color:#eee;color:#666}.hot_imgs .add-btn .btn .iconfont[data-v-4eeda2f2]{font-size:11px;margin-right:5px}.upload-box[data-v-4eeda2f2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;background:#fff;border-radius:4px;border:1px solid #eeeeee;color:#ccc}.iconfont[data-v-4eeda2f2]{color:#ddd;font-size:16px}.areaBox[data-v-a0d60793]{position:absolute;background:#1890ff80;border:1px dashed var(--prev-color-primary);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--prev-color-primary);font-size:12px;cursor:move}.areaBox .prompt-text[data-v-a0d60793]{overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;max-width:100%;max-height:100%;text-align:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#fff}.areaBox .prompt-text .num[data-v-a0d60793]{font-size:12px}.areaBox .prompt-text .prompt-item[data-v-a0d60793]{color:#fff;margin:0 2px}.areaBox .del[data-v-a0d60793]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:16px;height:16px;line-height:16px;font-size:12px;background:var(--prev-color-primary);color:#fff;text-align:center;border-radius:0 0 0 3px;position:absolute;right:7px;top:7px;-webkit-transform:translate3d(50%,-50%,0);transform:translate3d(50%,-50%,0);cursor:default}.areaBox .del[data-v-a0d60793]:hover{width:16px;height:16px;line-height:16px}.areaBox .shape[data-v-a0d60793]{position:absolute;width:7px;height:7px;background:transparent;right:0;bottom:0;-webkit-transform:translate3d(50%,50%,0);transform:translate3d(50%,50%,0);cursor:nwse-resize}.area-set[data-v-a0d60793]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:16px 0}.area-label[data-v-a0d60793]{width:100px}.area-content[data-v-a0d60793]{-webkit-box-flex:1;-ms-flex:1;flex:1}[data-v-3d38180b] .el-dialog{border-radius:0!important}[data-v-3d38180b] .el-dialog .el-alert__icon.is-big{font-size:14px;width:16px}[data-v-3d38180b] .el-dialog .el-alert .el-alert__description{margin:0}.btn[data-v-3d38180b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:16px 0}.dialog-footer[data-v-3d38180b]{text-align:right;margin-top:20px;margin-right:20px}.operationFloor[data-v-3d38180b]{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;max-height:80vh}.operationFloor .header .titleBox[data-v-3d38180b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100px}.operationFloor .header .titleBox .name[data-v-3d38180b]{font-size:13px;font-weight:700}.operationFloor .header .textBox[data-v-3d38180b]{font-size:12px;color:#777;margin-bottom:10px}.operationFloor .imgBox[data-v-3d38180b]::-webkit-scrollbar{display:none}.operationFloor .imgBox[data-v-3d38180b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:65%;overflow-y:scroll;max-height:800px}.operationFloor .imgBox .container[data-v-3d38180b]{position:relative;border:1px solid #f5f5f5}.operationFloor .imgBox img[data-v-3d38180b]{cursor:crosshair;display:block;width:750px}.operationFloor .imgBox .area[data-v-3d38180b]{position:absolute;width:200px;height:200px;left:200px;top:300px;background:#2980b94d;border:1px dashed #34495e}.form[data-v-3d38180b]{font-size:12px;width:30%;max-height:800px;overflow-y:scroll}.form .form-row[data-v-3d38180b]{display:-webkit-box;display:-ms-flexbox;display:flex;margin:12px 0;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.form .form-row .form-item[data-v-3d38180b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;white-space:nowrap;margin:0 5px;font-size:12px}.form .form-row .form-item .num[data-v-3d38180b]{width:69px;color:#999;font-size:12px}.form .form-row .form-item .label[data-v-3d38180b]{color:#c7c7c7}.form .el-icon-delete[data-v-3d38180b]{font-size:16px;cursor:pointer}.onePictrue[data-v-b558e63e]{padding:0 15px}.onePictrue .bnt[data-v-b558e63e]{width:100%;height:36px;border-radius:3px;opacity:1;border:1px solid #eeeeee;color:#666;font-size:12px;text-align:center;line-height:36px;margin-top:20px;cursor:pointer}.onePictrue .pictrues[data-v-b558e63e]{width:370px;height:100%;margin-top:20px}.onePictrue .pictrues img[data-v-b558e63e]{width:100%;height:100%}.onePictrue .pictrues .emptyBox[data-v-b558e63e]{height:164px;background:#f9f9f9;border-radius:3px;font-size:12px;color:#bbb;text-align:center;line-height:164px}.onePictrue .uploadImg[data-v-b558e63e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:96px;background:#f9f9f9;border-radius:3px;width:100%;margin-top:20px;padding:0 20px}.onePictrue .uploadImg .name[data-v-b558e63e]{font-size:12px;color:#999;margin-right:16px}.onePictrue .uploadImg .picTxt[data-v-b558e63e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.onePictrue .uploadImg .picTxt .box[data-v-b558e63e]{width:64px;height:64px;position:relative;background:url(/admin/system_static/transparents-h9eUEqWN.jpg) no-repeat;background-size:100% 100%;border-radius:3px}.onePictrue .uploadImg .picTxt .box .upload-box[data-v-b558e63e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:64px;height:64px;background:#fff;border-radius:4px;border:1px solid #eeeeee}.onePictrue .uploadImg .picTxt .box .upload-box .ivu-icon[data-v-b558e63e]{color:#ccc}.onePictrue .uploadImg .picTxt .box .pictrue[data-v-b558e63e]{position:relative;width:100%;height:100%}.onePictrue .uploadImg .picTxt .box .pictrue .iconfont[data-v-b558e63e]{position:absolute;right:-12px;top:-19px;font-size:24px;color:#ccc}.onePictrue .uploadImg .picTxt .box img[data-v-b558e63e]{width:64px;border-radius:3px;max-height:64px;-o-object-fit:cover;object-fit:cover}.box[data-v-03c6e342]{padding:0 15px}[data-v-14effe11] .ivu-divider-horizontal{margin:12px 0}img[data-v-14effe11]{-o-object-fit:cover;object-fit:cover;width:100%;height:100%}.empty-box[data-v-14effe11]{color:#8c8c8c;font-size:12px;border-radius:0;background-color:#eee;width:100%;border:1px solid #ddd;text-align:center}.mobile-page .tip[data-v-14effe11]{margin-bottom:2px}.mobile-page .advert[data-v-14effe11]{cursor:pointer;padding:0 15px 20px}.mobile-page .advert .advertItem07[data-v-14effe11]{height:185px}.mobile-page .advert .advertItem07.on img[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important}.mobile-page .advert .advertItem07.on .empty-box[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important;color:var(--prev-color-primary)}.mobile-page .advert .advertItem08 .item[data-v-14effe11]{height:185px}.mobile-page .advert .advertItem08 .item .pic[data-v-14effe11]{width:50%;height:100%}.mobile-page .advert .advertItem08 .item .pic.on img[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important}.mobile-page .advert .advertItem08 .item .pic.on .empty-box[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important;color:var(--prev-color-primary)}.mobile-page .advert .advertItem08 .item.on img[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important}.mobile-page .advert .advertItem08 .item.on .empty-box[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important;color:var(--prev-color-primary)}.mobile-page .advert .advertItem08 .items .pic[data-v-14effe11]{width:33.33333%;height:185px}.mobile-page .advert .advertItem08 .items .pic.on img[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important}.mobile-page .advert .advertItem08 .items .pic.on .empty-box[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important;color:var(--prev-color-primary)}.mobile-page .advert .advertItem01[data-v-14effe11]{width:100%;height:100%}.mobile-page .advert .advertItem01 .empty-box[data-v-14effe11]{height:366px;border:1px solid #ddd}.mobile-page .advert .advertItem01 img[data-v-14effe11]{width:100%;height:100%;border:1px solid var(--prev-color-primary)}.mobile-page .advert .advertItem02[data-v-14effe11]{width:370px;height:370px}.mobile-page .advert .advertItem02 .item[data-v-14effe11]{width:50%;height:370px}.mobile-page .advert .advertItem02 .item img[data-v-14effe11]{width:100%;height:100%}.mobile-page .advert .advertItem02 .item.on img[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important}.mobile-page .advert .advertItem02 .item.on .empty-box[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important;color:var(--prev-color-primary)}.mobile-page .advert .advertItem02 .item .empty-box[data-v-14effe11]{border-right:1px solid #eee}.mobile-page .advert .advertItem02 .item:nth-child(2) .empty-box[data-v-14effe11]{border-right:1px solid #ddd}.mobile-page .advert .advertItem03 .item[data-v-14effe11]{width:33.3333%;height:370px}.mobile-page .advert .advertItem03 .item.on img[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important}.mobile-page .advert .advertItem03 .item.on .empty-box[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important;color:var(--prev-color-primary)}.mobile-page .advert .advertItem03 .item .empty-box[data-v-14effe11]{border-right:1px solid #eee}.mobile-page .advert .advertItem03 .item:nth-child(2) .empty-box[data-v-14effe11]{border-right:1px solid #eee}.mobile-page .advert .advertItem03 .item:nth-child(3) .empty-box[data-v-14effe11]{border-right:1px solid #ddd}.mobile-page .advert .advertItem04 .item[data-v-14effe11]{width:50%;height:370px}.mobile-page .advert .advertItem04 .item .empty-box[data-v-14effe11]{height:100%}.mobile-page .advert .advertItem04 .item img[data-v-14effe11]{width:100%;height:100%}.mobile-page .advert .advertItem04 .item.on img[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important}.mobile-page .advert .advertItem04 .item.on .empty-box[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important;color:var(--prev-color-primary)}.mobile-page .advert .advertItem04 .item .pic[data-v-14effe11]{width:100%;height:185px}.mobile-page .advert .advertItem04 .item .pic .picItem[data-v-14effe11]{width:50%;height:100%}.mobile-page .advert .advertItem04 .item .pic .picItem.on img[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important}.mobile-page .advert .advertItem04 .item .pic .picItem.on .empty-box[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important;color:var(--prev-color-primary)}.mobile-page .advert .advertItem04 .item .pic.on img[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important}.mobile-page .advert .advertItem04 .item .pic.on .empty-box[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important;color:var(--prev-color-primary)}.mobile-page .advert .advertItem04 .item:nth-child(1) .empty-box[data-v-14effe11]{border-right:1px solid #eee}.mobile-page .advert .advertItem04 .item:nth-child(2) .pic:nth-child(2) .empty-box[data-v-14effe11]{border-top:1px solid #eee}.mobile-page .advert .advertItem05 .item[data-v-14effe11]{width:25%}.mobile-page .advert .advertItem05 .item.on img[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important}.mobile-page .advert .advertItem05 .item.on .empty-box[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important;color:var(--prev-color-primary)}.mobile-page .advert .advertItem05 .item .empty-box[data-v-14effe11]{height:94.75px}.mobile-page .advert .advertItem05 .item:nth-child(4) .empty-box[data-v-14effe11]{border-right:1px solid #ddd}.mobile-page .advert .advertItem05 .item:nth-child(2) .empty-box[data-v-14effe11]{border-right:1px solid #eee}.mobile-page .advert .advertItem06 .item[data-v-14effe11]{width:50%;height:185px}.mobile-page .advert .advertItem06 .item img[data-v-14effe11]{width:100%;height:100%}.mobile-page .advert .advertItem06 .item.on img[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important}.mobile-page .advert .advertItem06 .item.on .empty-box[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important;color:var(--prev-color-primary)}.mobile-page .advert .advertItem06 .item .empty-box[data-v-14effe11]{height:100%;border-right:1px solid #eee;border-bottom:1px solid #eee}.mobile-page .advert .advertItem06 .item:nth-child(2) .empty-box[data-v-14effe11]{border-right:1px solid #ddd}.mobile-page .advert .advertItem06 .item:nth-child(3) .empty-box[data-v-14effe11]{border-bottom:1px solid #ddd}.mobile-page .advert .advertItem06 .item:nth-child(4) .empty-box[data-v-14effe11]{border-right:1px solid #ddd;border-bottom:1px solid #ddd}.mobile-page .advert .advertItem11[data-v-14effe11]{width:375px;height:375px;visibility:visible;position:relative}.mobile-page .advert .advertItem11 .seled[data-v-14effe11]{border:1px solid red;background-color:#d6dff7}.mobile-page .advert .advertItem11 .lay-item[data-v-14effe11]{width:93.75px;height:93.75px}.mobile-page .advert .advertItem11 .lay-item .empty-box[data-v-14effe11]{height:100%}.mobile-page .advert .advertItem11 .lay-item img[data-v-14effe11]{width:100%;height:100%}.mobile-page .advert .advertItem11 .lay-item.on img[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important}.mobile-page .advert .advertItem11 .lay-item.on .empty-box[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important;color:var(--prev-color-primary)}.mobile-page .advert .advertItem11 .lay-item .pic[data-v-14effe11]{width:100%;height:100%}.mobile-page .advert .advertItem11 .lay-item .pic .picItem[data-v-14effe11]{width:50%}.mobile-page .advert .advertItem11 .lay-item .pic .picItem.on img[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important}.mobile-page .advert .advertItem11 .lay-item .pic .picItem.on .empty-box[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important;color:var(--prev-color-primary)}.mobile-page .advert .advertItem11 .lay-item .pic.on img[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important}.mobile-page .advert .advertItem11 .lay-item .pic.on .empty-box[data-v-14effe11]{border:1px solid var(--prev-color-primary)!important;color:var(--prev-color-primary)}.mobile-page .advert .advertItem11 .lay-item .empty-box[data-v-14effe11]{border-right:1px solid #ddd}.mobile-page .advert .advertItem11 .lay-item .empty-box[data-v-14effe11]{border-top:0px solid #ddd}.mobile-page .advert .pic-box[data-v-14effe11]{position:relative}.mobile-page .advert .areaBox.active[data-v-14effe11]{border:1px solid var(--prev-color-primary)}.mobile-page .advert .areaBox[data-v-14effe11]{position:absolute;background:#eee;border:1px solid #dddddd;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--prev-color-primary);font-size:12px;cursor:pointer;z-index:11}.mobile-page .advert .areaBox .prompt-text[data-v-14effe11]{overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;max-width:100%;max-height:100%;text-align:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--prev-color-primary)}.mobile-page .advert .areaBox .del[data-v-14effe11]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:16px;height:16px;line-height:16px;font-size:12px;background:var(--prev-color-primary);color:#fff;text-align:center;border-radius:0 0 0 3px;position:absolute;right:7px;top:7px;-webkit-transform:translate3d(50%,-50%,0);transform:translate3d(50%,-50%,0);cursor:default}.mobile-page .advert .areaBox .del[data-v-14effe11]:hover{width:16px;height:16px;line-height:16px}.mobile-config-component[data-v-411cd4b2]{margin:15px 0;border-bottom:6px solid rgb(240,242,245)}.mobile-config-component .title-bar[data-v-411cd4b2]{font-size:14px;color:#333;padding:0 15px;margin-bottom:15px}.mobile-config-component .box-content .box-item[data-v-411cd4b2]{padding:0 15px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:15px}.mobile-config-component .box-content .box-item .label[data-v-411cd4b2]{width:80px;font-size:13px;color:#999}.mobile-config-component .box-content .box-item .input-box[data-v-411cd4b2]{-webkit-box-flex:1;-ms-flex:1;flex:1}.mobile-config-component .box-content .box-item .input-box[data-v-411cd4b2] .el-radio{margin-bottom:0;margin-right:15px}[data-v-90b6d347] .ivu-input{font-size:12px!important}[data-v-90b6d347] .ivu-input-word-count,[data-v-90b6d347] .ivu-input-icon{color:#bbb}.c_product[data-v-90b6d347]{margin-bottom:20px;padding:0 15px 20px}.c_product .list-box .item[data-v-90b6d347]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;padding:18px 20px 18px 0;background-color:#f9f9f9;border-radius:3px}.c_product .list-box .item .delete[data-v-90b6d347]{position:absolute;right:-13px;top:-14px;color:#ccc;cursor:pointer}.c_product .list-box .move-icon[data-v-90b6d347]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:40px;cursor:move}.c_product .list-box .content[data-v-90b6d347]{-webkit-box-flex:1;-ms-flex:1;flex:1}.c_product .list-box .content .con-item[data-v-90b6d347]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:15px}.c_product .list-box .content .con-item[data-v-90b6d347]:last-child{margin-bottom:0}.c_product .list-box .content .con-item span[data-v-90b6d347]{width:45px;font-size:12px;color:#999}.c_product .add-btn[data-v-90b6d347]{margin-top:20px}.c_product .add-btn .btn[data-v-90b6d347]{width:100%;height:36px;border-color:#eee;color:#666}.c_product .add-btn .btn .iconfont[data-v-90b6d347]{font-size:11px;margin-right:5px}.title[data-v-90b6d347]{padding-top:20px;font-size:12px;color:#999}.iconfont[data-v-90b6d347]{color:#ddd;font-size:16px}.mobile-config-component[data-v-662d7b83]{margin:15px}.mobile-config-component .title[data-v-662d7b83]{padding-bottom:21px;color:#333;font-size:14px}.mobile-config-component .tips[data-v-662d7b83]{font-size:12px;color:#999;margin-bottom:15px}.mobile-config-component .list-box .item[data-v-662d7b83]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;background:#f9f9f9;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:16px 20px 16px 0;margin-bottom:16px;border-radius:3px}.mobile-config-component .list-box .item .move-icon[data-v-662d7b83]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:30px;cursor:move}.mobile-config-component .list-box .item .move-icon .iconfont[data-v-662d7b83]{color:#ddd;font-size:16px}.mobile-config-component .list-box .item .content[data-v-662d7b83]{-webkit-box-flex:1;-ms-flex:1;flex:1}.mobile-config-component .list-box .item .content .info[data-v-662d7b83]{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:10px}.mobile-config-component .list-box .item .content .info .info-item[data-v-662d7b83]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:10px}.mobile-config-component .list-box .item .content .info .info-item[data-v-662d7b83] .el-checkbox{margin-bottom:0}.mobile-config-component .list-box .item .content .info .info-item[data-v-662d7b83]:nth-last-child(1){margin-bottom:0}.mobile-config-component .list-box .item .content .info .info-item .span[data-v-662d7b83]{width:70px;font-size:12px;color:#999}.mobile-config-component .list-box .item .content .info .info-item .input-box[data-v-662d7b83]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.mobile-config-component .list-box .item .content .info .info-item .input-box[data-v-662d7b83] .el-checkbox-group{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.mobile-config-component .list-box .item .content .info .info-item .input-box[data-v-662d7b83] .el-checkbox{margin-right:10px}.mobile-config-component .list-box .item .content .info .info-item .input-box[data-v-662d7b83] .el-checkbox:last-child{margin-right:0}[data-v-efa6abca] .el-cascader{width:100%}[data-v-efa6abca] .el-cascader__search-input{margin-left:8px}[data-v-efa6abca] .ivu-radio-wrapper{margin-right:25px}.box[data-v-efa6abca]{width:64px;height:64px;position:relative;border-radius:3px}.box .pictrue[data-v-efa6abca]{background:url(/admin/system_static/transparents-h9eUEqWN.jpg) no-repeat;background-size:100% 100%;position:relative;width:100%;height:100%}.box .pictrue .iconfont[data-v-efa6abca]{position:absolute;right:-12px;top:-19px;font-size:24px;color:#ccc}.box .upload-box[data-v-efa6abca]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:64px;height:64px;border-radius:3px;border:1px solid #eeeeee}.box .upload-box .ivu-icon[data-v-efa6abca]{color:#ccc}.box img[data-v-efa6abca]{width:100%;height:100%;border-radius:3px}.goods-box .title[data-v-efa6abca]{color:#999;font-size:12px;width:67px;margin-top:23px}.goods-box .list[data-v-efa6abca]{width:236px}.goods-box .list-group[data-v-efa6abca]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.goods-box .add-item[data-v-efa6abca]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-bottom:10px}.goods-box .add-item .iconfont[data-v-efa6abca]{font-size:25px;color:#d8d8d8}.goods-box .items[data-v-efa6abca]{position:relative;width:64px;height:64px;margin-bottom:16px;margin-right:12px;border:1px solid #eee;border-radius:3px}.goods-box .items img[data-v-efa6abca]{width:100%;height:100%}.goods-box .items .icondel_1[data-v-efa6abca]{position:absolute;right:-10px;top:-16px;color:#ccc;font-size:22px;cursor:pointer}.ivu-input-number[data-v-efa6abca]{width:100%}.labelInput[data-v-efa6abca]{border:1px solid #dcdee2;width:100%;padding:0 8px;border-radius:5px;min-height:30px;background-color:#fff;cursor:pointer}.labelInput .span[data-v-efa6abca]{color:#c7c7c7;font-size:12px}.labelInput .iconxiayi[data-v-efa6abca]{font-size:12px}.conter[data-v-efa6abca]{width:335px;background:#f9f9f9;padding:20px 15px 4px;margin-top:20px}.txt_tab[data-v-efa6abca]{margin-top:20px}.c_row-item[data-v-efa6abca]{margin-bottom:20px}.c_row-item .slider-box[data-v-efa6abca]{padding-left:3px}.c_row-item .slider-box.on[data-v-efa6abca]{padding-left:10px}.c_row-item .title[data-v-efa6abca]{color:#999;font-size:12px;width:67px}.c_row-item .flex-1[data-v-efa6abca]{-webkit-box-flex:1;-ms-flex:1;flex:1}.c_row-item .label[data-v-efa6abca],.c_row-item .c_label[data-v-efa6abca]{color:#999;font-size:12px}.row-item[data-v-efa6abca]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.iconfont[data-v-efa6abca]{font-size:18px}[data-v-efa6abca] .ivu-input{font-size:12px!important}.c_product[data-v-efa6abca]{margin-bottom:20px;padding:0 15px}.c_product .list-box .item[data-v-efa6abca]{position:relative;margin-top:20px;padding:20px 15px 20px 0;border:1px solid rgb(238,238,238);border-radius:3px}.c_product .list-box .item .delete[data-v-efa6abca]{position:absolute;right:-10px;top:-10px;color:#ccc;cursor:pointer}.c_product .list-box .move-icon[data-v-efa6abca]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:40px;cursor:move}.c_product .list-box .move-icon .iconxingzhuangjiehe[data-v-efa6abca]{color:#ddd}.c_product .list-box .content[data-v-efa6abca]{-webkit-box-flex:1;-ms-flex:1;flex:1}.c_product .list-box .content .con-item[data-v-efa6abca]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:15px}.c_product .list-box .content .con-item[data-v-efa6abca]:last-child{margin-bottom:0}.c_product .list-box .content .con-item span[data-v-efa6abca]{width:45px;font-size:12px;color:#999}.c_product .add-btn[data-v-efa6abca]{margin-top:18px}.title[data-v-efa6abca]{font-size:12px;color:#bbb}.icondrag2[data-v-efa6abca]{color:#ddd;font-size:38px}.slider-box[data-v-f535b077]{padding:0 15px}.slider-box .label[data-v-f535b077]{color:#999;font-size:12px}.c_row-item[data-v-f535b077]{margin-bottom:20px}.poptipOn[data-v-2ea09710]{display:none}[data-v-2ea09710] textarea.ivu-input{resize:none}.batchItem[data-v-2ea09710]{padding-left:2px;padding-right:2px}.batchItem .title[data-v-2ea09710]{font-size:13px;color:#333;font-weight:400;margin-top:6px}.batchItem .tips[data-v-2ea09710]{font-size:12px;color:#999;font-weight:400;margin-top:3px;margin-bottom:10px}.batchItem .batchBnt[data-v-2ea09710]{margin-top:12px}.select-word[data-v-2ea09710]{margin-bottom:20px}.select-word .c_row-item[data-v-2ea09710]{-webkit-box-align:baseline!important;-ms-flex-align:baseline!important;align-items:baseline!important;text-align:right;color:#666}.select-word .c_row-item[data-v-2ea09710] .ivu-input-suffix i{color:#999;font-size:18px}.select-word .c_row-item .button[data-v-2ea09710]{margin-top:20px}.select-word .c_row-item .button.on[data-v-2ea09710]{margin-top:0}.select-word .c_row-item .button .bnt[data-v-2ea09710]{width:143px;height:32px;border:1px solid #dcdfe6;border-radius:5px;font-size:13px;cursor:pointer}.select-word .c_row-item .button .bnt .iconfont[data-v-2ea09710]{font-size:12px;color:var(--prev-color-primary);margin-right:5px}.select-word .c_row-item .inputs[data-v-2ea09710]{margin-bottom:10px}.setUpTop[data-v-c61d15d6]{height:6px;background:#f0f2f5}.setUp[data-v-c61d15d6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 15px;border-bottom:1px solid #f0f2f5;z-index:99;position:relative;background:#fff}.setUp .label[data-v-c61d15d6]{font-size:16px;color:#333;margin-bottom:15px}.setUp[data-v-c61d15d6] .el-tabs__header{margin:0}.setUp[data-v-c61d15d6] .el-tabs__nav-wrap:after{height:1px;background-color:#e4e7ed}.setUp[data-v-c61d15d6] .el-tabs__item{font-size:14px;color:#606266;padding:0 60px;height:40px;line-height:40px}.setUp[data-v-c61d15d6] .el-tabs__item.is-active{color:var(--prev-color-primary);font-weight:500}.setUp[data-v-c61d15d6] .el-tabs__item:hover{color:var(--prev-color-primary)}.setUp[data-v-c61d15d6] .el-tabs__active-bar{background-color:var(--prev-color-primary);height:2px}.setUp[data-v-c61d15d6] .el-tabs__content{display:none}.mobile-config-component[data-v-9c5cc8cb]{margin:15px 0;border-bottom:6px solid rgb(240,242,245)}.mobile-config-component .title-bar[data-v-9c5cc8cb]{font-size:14px;color:#333;padding:0 15px;margin-bottom:15px}.mobile-config-component .box-content .box-item[data-v-9c5cc8cb]{padding:0 15px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:15px}.mobile-config-component .box-content .box-item .label[data-v-9c5cc8cb]{width:80px;font-size:13px;color:#999}.mobile-config-component .box-content .box-item .input-box[data-v-9c5cc8cb]{-webkit-box-flex:1;-ms-flex:1;flex:1}.mobile-config-component .box-content .box-item .input-box[data-v-9c5cc8cb] .el-radio{margin-bottom:0;margin-right:15px}.c_row-item[data-v-f0f53d18]{margin-top:10px;margin-bottom:20px}.color-box[data-v-f0f53d18]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.color-box .color-item[data-v-f0f53d18]{margin-left:15px}.color-box .color-item span[data-v-f0f53d18]{margin-left:5px;color:#999;font-size:13px;cursor:pointer}[data-v-4150226c] .ivu-input-icon,[data-v-4150226c] .ivu-input-word-count{color:#bbb}.hot_imgs[data-v-4150226c]{margin:0 15px 20px}.hot_imgs .title[data-v-4150226c]{padding-bottom:21px;color:#999;font-size:12px}.hot_imgs .list-box .item[data-v-4150226c]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;background:#f9f9f9;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:16px 20px 16px 0;margin-bottom:16px;border-radius:3px}.hot_imgs .list-box .item .delect-btn[data-v-4150226c]{position:absolute;right:-13px;top:-16px}.hot_imgs .list-box .item .delect-btn .iconfont[data-v-4150226c]{font-size:25px;color:#ccc}.hot_imgs .list-box .item .move-icon[data-v-4150226c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:30px;cursor:move}.hot_imgs .list-box .item .img-box[data-v-4150226c]{position:relative;width:64px;height:64px}.hot_imgs .list-box .item .img-box img[data-v-4150226c]{width:100%;height:100%;border-radius:3px}.hot_imgs .list-box .item .info[data-v-4150226c]{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:19px}.hot_imgs .list-box .item .info~.info[data-v-4150226c]{margin-top:13px}.hot_imgs .list-box .item .info .info-item[data-v-4150226c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:10px}.hot_imgs .list-box .item .info .info-item[data-v-4150226c]:nth-last-child(1){margin-bottom:0}.hot_imgs .list-box .item .info .info-item .span[data-v-4150226c]{width:40px;font-size:12px;color:#999}.hot_imgs .list-box .item .info .info-item .input-box[data-v-4150226c]{width:270px}.hot_imgs .add-btn[data-v-4150226c]{margin-top:10px}.hot_imgs .add-btn .btn[data-v-4150226c]{width:100%;height:36px;border-color:#eee;color:#666}.hot_imgs .add-btn .btn .iconfont[data-v-4150226c]{font-size:11px;margin-right:5px}.upload-box[data-v-4150226c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;background:#fff;border-radius:4px;border:1px solid #eee;color:#ccc}.iconfont[data-v-4150226c]{color:#ddd;font-size:28px}.ivu-radio-group-button.ivu-radio-group-large .ivu-radio-wrapper[data-v-2c294f45]:after{height:0}.ivu-radio-group-button.ivu-radio-group-large .ivu-radio-wrapper[data-v-2c294f45]{height:32px;width:120px;text-align:center}.title-tips[data-v-2c294f45]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-2c294f45]{margin-right:14px;color:#999}.iconfont[data-v-2c294f45]{font-size:20px;line-height:18px}[data-v-ba64dfc5] .ivu-input{font-size:12px!important}[data-v-ba64dfc5] .ivu-input-wrapper{width:240px}[data-v-ba64dfc5] .ivu-input-word-count,[data-v-ba64dfc5] .ivu-input-icon{color:#bbb}[data-v-ba64dfc5] .el-radio{margin-bottom:1px!important}.c_product[data-v-ba64dfc5]{padding:0 15px 20px}.c_product .list-box .item[data-v-ba64dfc5]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;margin-top:23px;padding:18px 20px 18px 0;background-color:#f9f9f9;border-radius:3px}.c_product .list-box .item .delete[data-v-ba64dfc5]{position:absolute;right:-10px;top:-10px;color:#ccc;cursor:pointer}.c_product .list-box .move-icon[data-v-ba64dfc5]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:50px;cursor:move}.c_product .list-box .con-item[data-v-ba64dfc5]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:15px}.c_product .list-box .con-item[data-v-ba64dfc5]:last-child{margin-bottom:0}.c_product .list-box .con-item span[data-v-ba64dfc5]{width:75px;font-size:12px;color:#999}.c_product .add-btn[data-v-ba64dfc5]{margin-top:21px}.c_product .add-btn .btn[data-v-ba64dfc5]{width:100%;height:36px;border-color:#eee;color:#666}.c_product .add-btn .btn .iconfont[data-v-ba64dfc5]{font-size:11px;margin-right:5px}.title[data-v-ba64dfc5]{font-size:12px;color:#999}.iconfont[data-v-ba64dfc5]{color:#ddd;font-size:16px}.config-item[data-v-1996c035]{padding:12px 16px}.config-item .item-header[data-v-1996c035]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:12px}.config-item .item-header .item-title[data-v-1996c035]{font-size:12px;color:#999}.config-item .item-content[data-v-1996c035]{margin-top:12px}.config-item .item-content .link-box[data-v-1996c035]{margin-top:10px}.config-item .item-content .link-box .el-icon-link[data-v-1996c035]{cursor:pointer;line-height:32px;font-size:14px;color:#1890ff;margin-right:5px}.mobile-config-component[data-v-8d2babf1]{margin:15px 0;border-bottom:6px solid rgb(240,242,245)}.mobile-config-component .title-bar[data-v-8d2babf1]{font-size:14px;color:#333;padding:0 15px;margin-bottom:15px}.mobile-config-component .box-content .box-item[data-v-8d2babf1]{padding:0 15px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:15px}.mobile-config-component .box-content .box-item .label[data-v-8d2babf1]{width:80px;font-size:13px;color:#999}.mobile-config-component .box-content .box-item .input-box[data-v-8d2babf1]{-webkit-box-flex:1;-ms-flex:1;flex:1}.mobile-config-component .box-content .box-item .input-box[data-v-8d2babf1] .el-radio{margin-bottom:0;margin-right:15px}.txt_tab[data-v-7f4d3011]{margin-top:20px}.c_row-item[data-v-7f4d3011]{margin-bottom:20px}.row-item[data-v-7f4d3011]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.iconfont[data-v-7f4d3011]{font-size:18px}.title[data-v-5aa71298]{margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid rgba(0,0,0,.05);font-size:12px;color:#999}.box[data-v-5aa71298]{width:60px;height:60px;margin-bottom:10px;background-color:#f2f2f2}.box img[data-v-5aa71298]{width:100%;height:100%}.upload-box[data-v-5aa71298]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:60px;height:60px;background:#ccc}.title-tips[data-v-d9c247e2]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-d9c247e2]{margin-right:14px;color:#999}.component-list[data-v-ddf75722]{padding:10px 15px}.component-list[data-v-ddf75722] .el-collapse{border:none}.component-list[data-v-ddf75722] .el-collapse .el-collapse-item__wrap{border:none;overflow:visible}.component-list[data-v-ddf75722] .el-collapse .el-collapse-item__content{padding-bottom:0}.component-list[data-v-ddf75722] .el-collapse-item__header{border:none;color:#333;font-size:14px;font-weight:400}.component-list .list-wrapper[data-v-ddf75722]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.component-list .list-item[data-v-ddf75722]{width:33.33%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:-webkit-grab;cursor:grab;padding:10px 0;-webkit-transition:all .3s;transition:all .3s;margin-bottom:10px;border-radius:5px;overflow:hidden}.component-list .list-item[data-v-ddf75722]:hover{-webkit-box-shadow:0 0 5px 0 rgba(24,144,255,.3);box-shadow:0 0 5px #1890ff4d;-webkit-transition:all .2s;transition:all .2s}.component-list .list-item .icon-box[data-v-ddf75722]{font-size:28px;line-height:28px}.component-list .list-item .icon-box .iconfont[data-v-ddf75722]{width:28px;height:28px}.component-list .list-item .text[data-v-ddf75722]{font-size:12px}.shape[data-v-9e4a2235]{position:absolute}.shape[data-v-9e4a2235]:hover{cursor:move;outline:1px dashed var(--prev-color-primary)}.shape.active[data-v-9e4a2235]{outline:1px solid var(--prev-color-primary);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.shape .shape-point[data-v-9e4a2235]{position:absolute;background:#fff;border:1px solid var(--prev-color-primary);width:8px;height:8px;z-index:1}.shape .shape-rotate[data-v-9e4a2235]{position:absolute;top:-30px;left:50%;-webkit-transform:translateX(-50%);transform:translate(-50%);cursor:-webkit-grab;cursor:grab;color:var(--prev-color-primary);font-size:20px;font-weight:600}.shape .shape-rotate[data-v-9e4a2235]:active{cursor:-webkit-grabbing;cursor:grabbing}.shape .shape-lock[data-v-9e4a2235]{position:absolute;top:0;right:0;color:red;padding:2px;z-index:10}.shape.shape-line[data-v-9e4a2235]{padding:5px 0;margin-top:-5px}.editor[data-v-1ae2ae2a]{position:relative;background:#fff;margin:20px auto}.editor .grid-bg[data-v-1ae2ae2a]{position:absolute;top:0;left:0;width:100%;height:100%;background-image:linear-gradient(45deg,#f5f5f5 25%,transparent 25%,transparent 75%,#f5f5f5 75%,#f5f5f5),linear-gradient(45deg,#f5f5f5 25%,transparent 25%,transparent 75%,#f5f5f5 75%,#f5f5f5);background-size:20px 20px;background-position:0 0,10px 10px;pointer-events:none}.editor .guideline-v[data-v-1ae2ae2a]{position:absolute;top:0;bottom:0;border-left:1px dashed #1890ff;z-index:9999;pointer-events:none}.editor .guideline-h[data-v-1ae2ae2a]{position:absolute;left:0;right:0;border-top:1px dashed #1890ff;z-index:9999;pointer-events:none}.editor .area-selector[data-v-1ae2ae2a]{position:absolute;border:1px solid #1890ff;background-color:#1890ff4d;z-index:9999;pointer-events:none}.row[data-v-41d60e65]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.section-title[data-v-41d60e65]{font-size:14px;color:#333;margin-bottom:18px;margin-top:10px}.row[data-v-8bf463db]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.section-title[data-v-8bf463db]{font-size:14px;color:#333;margin-bottom:18px;margin-top:10px}.size-container[data-v-8bf463db]{position:relative;padding-right:40px}.size-container .size-item[data-v-8bf463db]{margin-bottom:10px}.lock-wrapper[data-v-8bf463db]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;right:-5px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);z-index:10}.lock-wrapper .lock-btn[data-v-8bf463db]{width:32px;height:32px;margin:0;border:1px solid #dcdfe6;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;background:#fff;-webkit-transition:all .3s;transition:all .3s;border-radius:4px;color:#606266}.lock-wrapper .lock-btn.active[data-v-8bf463db]{background:none;color:#409eff;border-color:#409eff}.lock-wrapper .lock-btn[data-v-8bf463db]:hover{border-color:#409eff}.lock-wrapper .lock-btn .iconfont[data-v-8bf463db]{font-size:18px}.lock-wrapper[data-v-8bf463db]:before{content:"";position:absolute;right:37px;top:-15px;width:8px;height:1px;background:#dcdfe6}.lock-wrapper[data-v-8bf463db]:after{content:"";position:absolute;right:37px;bottom:-15px;width:8px;height:1px;background:#dcdfe6}.lock-wrapper .lock-line[data-v-8bf463db]{position:absolute;right:37px;top:-15px;bottom:-15px;width:1px;background:#dcdfe6}.row[data-v-9b7ca4c2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.section-title[data-v-9b7ca4c2]{font-size:14px;color:#333;margin-bottom:18px;margin-top:10px;width:calc(100% + 30px);margin-left:-15px;padding-left:15px;padding-top:20px;border-top:6px solid #f0f2f5}.margin-style-config[data-v-0f00402e]{margin-bottom:18px}.margin-style-config .c_row[data-v-0f00402e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.margin-style-config .c_label[data-v-0f00402e]{font-size:12px;color:#999;line-height:38px;white-space:nowrap;width:70px}.margin-style-config .c_content[data-v-0f00402e]{-webkit-box-flex:1;-ms-flex:1;flex:1}.margin-style-config .main-setting[data-v-0f00402e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.margin-style-config .main-setting .expand-icon[data-v-0f00402e]{margin-left:10px;cursor:pointer;width:32px;height:32px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border:1px solid #dcdfe6;border-radius:4px;color:#606266}.margin-style-config .main-setting .expand-icon[data-v-0f00402e]:hover{color:#409eff;border-color:#c6e2ff}.margin-style-config .main-setting .expand-icon .iconfont[data-v-0f00402e]{font-size:18px}.margin-style-config .main-setting .expand-icon.selected[data-v-0f00402e]{color:#409eff;border-color:#c6e2ff}.margin-style-config .main-setting[data-v-0f00402e] .el-slider{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-right:0}.margin-style-config .main-setting[data-v-0f00402e] .el-slider .el-slider__input{width:60px}.margin-style-config .main-setting[data-v-0f00402e] .el-slider .el-slider__runway{margin-right:75px}.margin-style-config .sub-settings[data-v-0f00402e]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:10px}.margin-style-config .sub-settings .sub-item[data-v-0f00402e]{width:50%;margin-bottom:10px;-webkit-box-sizing:border-box;box-sizing:border-box}.margin-style-config .sub-settings .sub-item .input-box[data-v-0f00402e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #dcdfe6;border-radius:4px;padding-left:5px}.margin-style-config .sub-settings .sub-item .input-box[data-v-0f00402e]:hover{border-color:#c0c4cc}.margin-style-config .sub-settings .sub-item .input-box .prefix-icon[data-v-0f00402e]{color:#909399;font-size:14px;margin-right:5px}.margin-style-config .sub-settings .sub-item .input-box[data-v-0f00402e] .el-input-number{width:100%;border:none}.margin-style-config .sub-settings .sub-item .input-box[data-v-0f00402e] .el-input-number .el-input__inner{border:none;padding-left:5px;text-align:left;padding-right:40px}.margin-style-config .sub-settings .sub-item .input-box[data-v-0f00402e] .el-input__wrapper{-webkit-box-shadow:none;box-shadow:none}.row[data-v-c30d5cbd]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative}.row .iconlianjie[data-v-c30d5cbd]{position:absolute;left:11px;z-index:11;top:41px;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.row .reset-btn[data-v-c30d5cbd]{cursor:pointer;font-size:12px;margin-left:10px;color:var(--prev-color-primary)}.row .reset-btn[data-v-c30d5cbd]:hover{color:var(--prev-color-primary-light-1)}.margin-style-config[data-v-78af265d]{margin-bottom:20px}.margin-style-config .c_content[data-v-78af265d]{-webkit-box-flex:1;-ms-flex:1;flex:1}.margin-style-config .main-setting[data-v-78af265d]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.margin-style-config .main-setting .expand-icon[data-v-78af265d]{margin-left:10px;cursor:pointer;width:32px;height:32px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border:1px solid #dcdfe6;border-radius:4px;color:#606266}.margin-style-config .main-setting .expand-icon[data-v-78af265d]:hover{color:#409eff;border-color:#c6e2ff}.margin-style-config .main-setting .expand-icon .iconfont[data-v-78af265d]{font-size:12px}.margin-style-config .main-setting .expand-icon .selected[data-v-78af265d]{color:#409eff;border-color:#c6e2ff}.margin-style-config .main-setting[data-v-78af265d] .el-slider{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-right:0}.margin-style-config .main-setting[data-v-78af265d] .el-slider .el-slider__input{width:60px;padding-right:0}.margin-style-config .main-setting[data-v-78af265d] .el-slider .el-slider__runway{margin-right:75px}.margin-style-config .sub-settings[data-v-78af265d]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:10px}.margin-style-config .sub-settings .sub-item[data-v-78af265d]{width:50%;padding-right:10px;margin-bottom:10px;-webkit-box-sizing:border-box;box-sizing:border-box}.margin-style-config .sub-settings .sub-item .input-box[data-v-78af265d]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #dcdfe6;border-radius:4px;padding-left:5px;background-color:#fff}.margin-style-config .sub-settings .sub-item .input-box[data-v-78af265d]:hover{border-color:#c0c4cc}.margin-style-config .sub-settings .sub-item .input-box .prefix-icon[data-v-78af265d]{color:#909399;font-size:14px;margin-right:5px}.margin-style-config .sub-settings .sub-item .input-box[data-v-78af265d] .el-input-number{width:100%;border:none}.margin-style-config .sub-settings .sub-item .input-box[data-v-78af265d] .el-input-number .el-input__inner{border:none;padding-left:5px;text-align:left;padding-right:30px}.margin-style-config .sub-settings .sub-item .input-box[data-v-78af265d] .el-input__wrapper{-webkit-box-shadow:none;box-shadow:none}.row[data-v-736851fe],.row[data-v-ccbb031a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.section-title[data-v-ccbb031a]{font-size:14px;color:#333;margin-bottom:18px;margin-top:10px;width:calc(100% + 30px);margin-left:-15px;padding-left:15px;padding-top:20px;border-top:6px solid #f0f2f5}[data-v-ccbb031a] .el-radio-button--small .el-radio-button__inner{padding:7px 15px}.multi-select-panel[data-v-6585f7d1] .el-input-number.is-controls-right .el-input__inner{text-align:center;padding:0 5px}.alignment-bar[data-v-6585f7d1]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #eee;border-radius:4px;gap:2px;padding:0 4px}.alignment-bar .bar-item[data-v-6585f7d1]{-webkit-box-flex:1;-ms-flex:1;flex:1;height:32px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;color:#515a6e;border-radius:8px;padding:0 5px}.alignment-bar .bar-item .iconfont[data-v-6585f7d1]{font-size:18px}.alignment-bar .bar-item[data-v-6585f7d1]:hover{background:#fff;color:#2d8cf0;-webkit-box-shadow:0 2px 4px rgba(0,0,0,.05);box-shadow:0 2px 4px #0000000d}.alignment-bar .bar-item[data-v-6585f7d1]:active{background:#eee}.alignment-bar .bar-item-divider[data-v-6585f7d1]{width:1px;height:32px;background:#dcdee0;margin:0 4px}.row[data-v-c61d23ff]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.section-title[data-v-c61d23ff]{font-size:14px;color:#333;margin-bottom:18px;margin-top:10px;width:calc(100% + 30px);margin-left:-15px;padding-left:15px;padding-top:10px;border-top:6px solid #f0f2f5}.row[data-v-d19d5336]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.section-title[data-v-d19d5336]{font-size:14px;color:#333;margin-bottom:18px;margin-top:10px}.upload-box[data-v-4f926432]{width:64px;height:64px;border:1px solid #d9d9d9;border-radius:4px;cursor:pointer;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.upload-box[data-v-4f926432]:hover{border-color:#409eff}.upload-box .img[data-v-4f926432]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:4px}.upload-box .upload-icon[data-v-4f926432]{font-size:28px;color:#8c939d}.upload-box .delete-box[data-v-4f926432]{position:absolute;top:-9px;right:-9px;line-height:18px;cursor:pointer;z-index:10}.upload-box .delete-box .iconfont[data-v-4f926432]{font-size:16px;color:#f56c6c}.upload-box[data-v-8cc86f36]{width:80px;height:80px;border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.upload-box[data-v-8cc86f36]:hover{border-color:#409eff}.upload-box .upload-icon[data-v-8cc86f36]{font-size:28px;color:#8c939d}.upload-box[data-v-58db893f]{width:80px;height:80px;border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.upload-box[data-v-58db893f]:hover{border-color:#409eff}.upload-box .upload-icon[data-v-58db893f]{font-size:28px;color:#8c939d}.flex[data-v-8e0786b7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.justify-between[data-v-8e0786b7]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.attr-list[data-v-8e0786b7]{padding:15px}.attr-list .tip[data-v-8e0786b7]{color:#f56c6c;line-height:1.5}.attr-list .section-title[data-v-8e0786b7]{font-size:14px;color:#333;margin-bottom:18px;margin-top:10px;width:calc(100% + 30px);margin-left:-15px;padding-left:15px;padding-top:20px;border-top:6px solid #f0f2f5}.attr-list .custom-tabs[data-v-8e0786b7]{display:-webkit-box;display:-ms-flexbox;display:flex;border-bottom:1px solid #e4e7ed;margin-bottom:20px}.attr-list .custom-tabs .tab-item[data-v-8e0786b7]{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:center;padding:10px 0;cursor:pointer;font-size:14px;color:#303133;position:relative}.attr-list .custom-tabs .tab-item.active[data-v-8e0786b7]{color:var(--prev-color-primary);font-weight:500}.attr-list .custom-tabs .tab-item.active[data-v-8e0786b7]:after{content:"";position:absolute;left:50%;bottom:0;-webkit-transform:translateX(-50%);transform:translate(-50%);width:40px;height:2px;background:var(--prev-color-primary)}.attr-list[data-v-8e0786b7] .el-radio,.attr-list[data-v-8e0786b7] .el-checkbox{margin-bottom:0}.attr-list[data-v-8e0786b7] .el-form-item__content{margin-left:80px!important;line-height:36px!important}.attr-list[data-v-8e0786b7] .el-form-item--small .el-form-item__label{line-height:38px!important;word-break:break-word}[data-v-8e0786b7] .reset-color{font-size:13px;white-space:nowrap;color:var(--prev-color-primary);cursor:pointer;margin-left:15px}[data-v-8e0786b7] .reset-color:hover{color:var(--prev-color-primary-light-1)}.contextmenu[data-v-39d20098]{position:absolute;z-index:1000}.contextmenu ul[data-v-39d20098]{border:1px solid #e4e7ed;border-radius:4px;background-color:#fff;-webkit-box-shadow:0 2px 12px 0 rgba(0,0,0,.1);box-shadow:0 2px 12px #0000001a;-webkit-box-sizing:border-box;box-sizing:border-box;margin:5px 0;padding:6px 0;list-style:none}.contextmenu ul li[data-v-39d20098]{font-size:14px;padding:0 20px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#606266;height:34px;line-height:34px;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer}.contextmenu ul li[data-v-39d20098]:hover{background-color:#f5f7fa;color:#409eff}.contextmenu ul li.disabled[data-v-39d20098]{color:#c0c4cc;cursor:not-allowed}.contextmenu ul li.disabled[data-v-39d20098]:hover{background-color:#fff}.contextmenu ul li.divider[data-v-39d20098]{height:1px;background-color:#ebeef5;margin:5px 0;padding:0}.custom-design[data-v-b7e71965]{height:100vh;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background:#f5f5f5}.custom-design .header[data-v-b7e71965]{height:60px;background:#fff;border-bottom:1px solid #ddd;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 20px 0 10px}.custom-design .header .left[data-v-b7e71965]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.custom-design .header .left .title[data-v-b7e71965]{font-size:16px;font-weight:500;margin-left:10px}.custom-design .header .close-btn[data-v-b7e71965]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:14px;color:#333;cursor:pointer;position:relative;padding-right:10px;border-right:1px solid #eee}.custom-design .body[data-v-b7e71965]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden}.custom-design .body .left-panel[data-v-b7e71965]{width:300px;background:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.custom-design .body .left-panel .height-setting[data-v-b7e71965]{padding:15px;border-top:6px solid #f0f2f5;border-bottom:6px solid #f0f2f5}.custom-design .body .left-panel .height-setting .label[data-v-b7e71965]{margin-bottom:10px;font-size:14px;color:#333}.custom-design .body .left-panel .height-setting .control[data-v-b7e71965]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.custom-design .body .left-panel .layer-list[data-v-b7e71965]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:hidden}.custom-design .body .left-panel .layer-list .title[data-v-b7e71965]{padding:10px 15px;color:#333;font-size:14px;background:#f9f9f9}.custom-design .body .left-panel .layer-list .layer-item[data-v-b7e71965]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:10px 15px;cursor:pointer}.custom-design .body .left-panel .layer-list .layer-item[data-v-b7e71965]:hover{background:var(--prev-color-primary-light-9)}.custom-design .body .left-panel .layer-list .layer-item.active[data-v-b7e71965]{background:var(--prev-color-primary-light-9);border-left:3px solid var(--prev-color-primary)}.custom-design .body .left-panel .layer-list .layer-item .handle[data-v-b7e71965]{cursor:move;margin-right:10px;color:#c0c4cc;font-size:14px;line-height:18px}.custom-design .body .left-panel .layer-list .layer-item .name[data-v-b7e71965]{-webkit-box-flex:1;-ms-flex:1;flex:1;font-size:13px}.custom-design .body .left-panel .layer-list .layer-item .actions .iconfont[data-v-b7e71965]{margin-left:5px;color:#bbb}.custom-design .body .left-panel .layer-list .layer-item .actions .iconfont[data-v-b7e71965]:hover{color:var(--prev-color-primary)}.custom-design .body .left-panel .layer-list .layer-item .actions .iconic_edit2[data-v-b7e71965]{margin-right:12px;padding-right:12px;border-right:1px solid rgba(51,51,51,.05)}.custom-design .body .center-panel[data-v-b7e71965]{-webkit-box-flex:1;-ms-flex:1;flex:1;background:#f0f2f5;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden;position:relative;padding-top:70px}.custom-design .body .center-panel .canvas-container[data-v-b7e71965]{width:100%;height:100%;overflow:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.custom-design .body .center-panel .history-controls[data-v-b7e71965]{position:absolute;top:20px;left:50%;-webkit-transform:translateX(-50%);transform:translate(-50%);z-index:100;background:#fff;padding:5px;border-radius:4px}.custom-design .body .center-panel .history-controls .operation-bar[data-v-b7e71965]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:32px}.custom-design .body .center-panel .history-controls .operation-bar .operation-item[data-v-b7e71965]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;color:#333;margin:0 10px;-webkit-transition:all .3s;transition:all .3s}.custom-design .body .center-panel .history-controls .operation-bar .operation-item.disabled[data-v-b7e71965]{color:#ccc;cursor:not-allowed}.custom-design .body .center-panel .history-controls .operation-bar .operation-item[data-v-b7e71965]:hover:not(.disabled){color:var(--prev-color-primary)}.custom-design .body .center-panel .history-controls .operation-bar .operation-item .iconfont[data-v-b7e71965]{font-size:16px}.custom-design .body .center-panel .history-controls .operation-bar .operation-item.text[data-v-b7e71965]{font-size:14px;color:#606266}.custom-design .body .center-panel .history-controls .operation-bar .operation-item.text[data-v-b7e71965]:hover,.custom-design .body .center-panel .history-controls .operation-bar .operation-item.text.active[data-v-b7e71965]{color:var(--prev-color-primary)}.custom-design .body .center-panel .history-controls .operation-bar .divider[data-v-b7e71965]{width:1px;height:16px;background:#e6e6e6;margin:0 5px}.custom-design .body .center-panel .history-list[data-v-b7e71965]{position:absolute;top:20px;right:0;width:187px;background:#fff;border:1px solid #e4e7ed;-webkit-box-shadow:0 2px 12px 0 rgba(0,0,0,.1);box-shadow:0 2px 12px #0000001a;border-radius:4px;z-index:100;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.custom-design .body .center-panel .history-list .history-header[data-v-b7e71965]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:10px 15px;border-bottom:1px solid #f0f0f0;font-size:12px;font-weight:400;color:#333}.custom-design .body .center-panel .history-list .history-header .close-icon[data-v-b7e71965]{cursor:pointer;color:#333}.custom-design .body .center-panel .history-list .history-content[data-v-b7e71965]{max-height:300px;overflow-y:auto;padding:5px 0}.custom-design .body .center-panel .history-list .history-item[data-v-b7e71965]{padding:8px 15px;cursor:pointer;font-size:12px;color:#333;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.custom-design .body .center-panel .history-list .history-item[data-v-b7e71965]:hover{background-color:#f5f7fa}.custom-design .body .center-panel .history-list .history-item.active[data-v-b7e71965]{color:#606266;background-color:#f5f7fa}.custom-design .body .center-panel .history-list .history-item .type[data-v-b7e71965]{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.custom-design .body .center-panel .history-list .history-item .right-info[data-v-b7e71965]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:10px}.custom-design .body .center-panel .history-list .history-item .right-info .time[data-v-b7e71965]{color:#333;font-size:13px;margin-right:8px}.custom-design .body .center-panel .history-list .history-item .right-info .iconfont[data-v-b7e71965]{color:var(--prev-color-primary);font-size:12px;width:12px}.custom-design .body .center-panel .component-actions[data-v-b7e71965]{position:absolute;width:32px;background:var(--prev-color-primary);-webkit-box-shadow:0 2px 12px 0 rgba(0,0,0,.1);box-shadow:0 2px 12px #0000001a;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:10px 0;z-index:100}.custom-design .body .center-panel .component-actions .action-item[data-v-b7e71965]{width:100%;height:30px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;color:#fff;-webkit-transition:all .3s;transition:all .3s;position:relative}.custom-design .body .center-panel .component-actions .action-item.disabled[data-v-b7e71965]{opacity:.3;cursor:not-allowed;pointer-events:none}.custom-design .body .center-panel .component-actions .action-item[data-v-b7e71965]:hover{background-color:#ffffff1a}.custom-design .body .center-panel .component-actions .action-item i[data-v-b7e71965]{font-size:16px}.custom-design .body .right-panel[data-v-b7e71965]{width:400px;background:#fff;overflow-y:auto}.custom-design .body .right-panel[data-v-b7e71965] .el-form-item__label{color:#999}.custom-design .body .right-panel .empty-tip[data-v-b7e71965]{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#999}.custom-design .body .right-panel .empty-tip img[data-v-b7e71965]{width:150px;margin-bottom:20px}.custom-design .body .right-panel .empty-tip p[data-v-b7e71965]{font-size:14px}.mobile-config[data-v-e6890bb8]{padding-bottom:20px}[data-v-e6890bb8] .custom-design-dialog{border-radius:0!important}[data-v-e6890bb8] .custom-design-dialog .el-dialog__header{display:none}[data-v-e6890bb8] .custom-design-dialog .el-dialog__body{padding:0!important;height:100%;overflow:hidden;max-height:100vh!important}.title-tips[data-v-bccd4083]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-bccd4083]{margin-right:14px;color:#999}.title-tips[data-v-e3eb6d6c]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-e3eb6d6c]{margin-right:14px;color:#999}.pro[data-v-6f4785d7]{padding:15px 15px 0}.pro .tips[data-v-6f4785d7]{height:50px;line-height:50px;color:#999;font-size:12px;border-bottom:1px solid rgba(0,0,0,.05)}.btn-box[data-v-6f4785d7]{padding-bottom:20px}.hot[data-v-b6e4a07b]{padding-right:14px;padding-left:14px}.pro[data-v-bc2eca39]{padding:15px 15px 0}.pro .tips[data-v-bc2eca39]{height:50px;line-height:50px;color:#999;font-size:12px;border-bottom:1px solid rgba(0,0,0,.05)}.btn-box[data-v-bc2eca39]{padding-bottom:20px}.title-tips[data-v-b1f699e8]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-b1f699e8]{margin-right:14px;color:#999}.title-tips[data-v-22717c86]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-22717c86]{margin-right:14px;color:#999}.title-tips[data-v-c67082e5]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-c67082e5]{margin-right:14px;color:#999}.title-tips[data-v-abce2c24]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-abce2c24]{margin-right:14px;color:#999}[data-v-ea3b8065] .ivu-radio-group-button.ivu-radio-group-large .ivu-radio-wrapper{width:52px!important;margin-bottom:10px;margin-right:9px!important}.pro[data-v-ea3b8065]{padding:15px 15px 0}.pro .tips[data-v-ea3b8065]{height:50px;line-height:50px;color:#999;font-size:12px;border-bottom:1px solid rgba(0,0,0,.05)}.btn-box[data-v-ea3b8065],.mobile-config[data-v-abb9b661],.mobile-config[data-v-ba8a9322]{padding-bottom:20px}.title-tips[data-v-c31949ea]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-c31949ea]{margin-right:14px;color:#999}.title-tips[data-v-dc3f15a6]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-dc3f15a6]{margin-right:14px;color:#999}.upload-box[data-v-bbcc57a6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:60px;height:60px;background:#ccc}[data-v-bbcc57a6] .el-input__inner{font-size:13px!important}.slider-box .title[data-v-bbcc57a6]{color:#999;font-size:13px;margin-bottom:5px}.c_row-item[data-v-bbcc57a6]{padding:0 15px;margin-top:22px}.slider-box .color[data-v-bbcc57a6]{margin-bottom:15px}.boxs[data-v-bbcc57a6]{width:60px;height:60px;margin-bottom:10px;position:relative}.boxs .replace[data-v-bbcc57a6]{background:#0006;border-radius:0 0 6px 6px;position:absolute;bottom:0;left:0;width:100%;color:#fff;font-size:12px;text-align:center;height:24px;line-height:24px}.boxs .iconfont[data-v-bbcc57a6]{position:absolute;top:-15px;right:-8px;font-size:25px;color:#999}.boxs img[data-v-bbcc57a6]{width:100%;height:100%;border-radius:6px}.page-footer2[data-v-3574b5da]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.page-footer2 .list[data-v-3574b5da]{display:contents}.page-footer[data-v-3574b5da]{display:-webkit-box;display:-ms-flexbox;display:flex;background:#fff}.page-footer .foot-item[data-v-3574b5da]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:50px}.page-footer .foot-item.on p[data-v-3574b5da]{font-size:16px}.page-footer .foot-item img[data-v-3574b5da]{width:24px;height:24px}.page-footer .foot-item p[data-v-3574b5da]{font-size:12px;color:#282828;margin-top:1px}.page-footer .foot-item p.on[data-v-3574b5da]{color:#00a4f8}.el-main{padding:0!important}.header-title[data-v-bb231fdd]{background:var(--prev-color-primary);border-radius:0;margin-bottom:0;padding:16px}.ivu-page-header-title[data-v-bb231fdd]{color:#fff;font-size:16px}[data-v-bb231fdd] .el-card__body{padding:0}[data-v-bb231fdd] .icondel_1,[data-v-bb231fdd] .upload-box{cursor:pointer}[data-v-bb231fdd] .el-checkbox,[data-v-bb231fdd] .el-radio{margin-bottom:15px;margin-right:15px}.c_label[data-v-bb231fdd]{margin-top:0}[data-v-bb231fdd] .el-button--small{border-radius:4px}.look[data-v-bb231fdd],.look[data-v-bb231fdd]:hover,.look[data-v-bb231fdd]:focus,.look[data-v-bb231fdd]:active,.close[data-v-bb231fdd],.close[data-v-bb231fdd]:hover,.close[data-v-bb231fdd]:focus,.close[data-v-bb231fdd]:active{background:var(--prev-color-primary);color:#fff;border-color:#fff}.save[data-v-bb231fdd],.save[data-v-bb231fdd]:hover,.save[data-v-bb231fdd]:active,.save[data-v-bb231fdd]:focus{background:#fff;color:var(--prev-color-primary);border-color:var(--prev-color-primary)}.ysize[data-v-bb231fdd]{background-size:100%}.fullsize[data-v-bb231fdd]{background-size:100% 100%}.repeat[data-v-bb231fdd]{background-repeat:repeat}.noRepeat[data-v-bb231fdd]{background-repeat:no-repeat}.fl_header[data-v-bb231fdd]{color:#fff}.fl_header .f-title[data-v-bb231fdd]{position:relative}.fl_header .return[data-v-bb231fdd]{color:#fff;margin-right:34px;margin-left:5px}.fl_header .return[data-v-bb231fdd]:after{content:" ";position:absolute;width:1px;height:16px;background-color:#eeeeee80;left:65px;top:50%;margin-top:-8px}.fl_header .iconfont[data-v-bb231fdd]{color:#fff}.fl_header .f_title:hover .return[data-v-bb231fdd],.fl_header .f_title:hover .iconfanhui[data-v-bb231fdd]{color:#fffc}.fl_header .f_title .name[data-v-bb231fdd]{font-size:16px}.fl_header .f_title .iconfont[data-v-bb231fdd]{margin-left:10px;color:#fff}.wrapper-con[data-v-bb231fdd]{position:relative;-webkit-box-flex:1;-ms-flex:1;flex:1;background:#f0f2f5;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding-top:40px;height:100%}.wrapper-con .acticons[data-v-bb231fdd]{position:absolute;right:20px;top:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;z-index:1}.wrapper-con .acticons .el-button+.el-button[data-v-bb231fdd]{margin-left:0}.main .content-wrapper[data-v-bb231fdd]{padding:0!important}.defaultData[data-v-bb231fdd]{cursor:pointer;position:absolute;left:50%;margin-left:235px}.defaultData .data[data-v-bb231fdd]{display:block;margin-top:20px;color:#282828;background-color:#fff;width:94px;text-align:center;height:32px;border-radius:3px;font-size:12px;margin-left:0!important;border:none}.defaultData .data[data-v-bb231fdd]:hover{color:var(--prev-color-primary);border:none;-webkit-box-shadow:0px 1px 6px 0px rgba(0,0,0,.03);box-shadow:0 1px 6px #00000008}.defaultData .data[data-v-bb231fdd]:focus{color:#fff;background-color:var(--prev-color-primary);border:1px solid var(--prev-color-primary)}.overflowy[data-v-bb231fdd]{margin-right:4px}.overflowy .picture[data-v-bb231fdd]{width:375px;height:20px;margin:0 auto;background-color:#fff}.bnt[data-v-bb231fdd]{width:80px!important}[data-v-bb231fdd]::-webkit-scrollbar-thumb{-webkit-box-shadow:inset 0 0 6px #fff;display:none}.left[data-v-bb231fdd]:hover::-webkit-scrollbar-thumb,.right-box[data-v-bb231fdd]:hover::-webkit-scrollbar-thumb{display:block}[data-v-bb231fdd]::-webkit-scrollbar{width:4px!important}.scrollCon[data-v-bb231fdd]{overflow-y:scroll;overflow-x:hidden}.scroll-box .position[data-v-bb231fdd]{display:block!important;height:40px;text-align:center;line-height:40px;border:1px dashed var(--prev-color-primary);color:var(--prev-color-primary);background-color:#edf4fb}.scroll-box .conter[data-v-bb231fdd]{display:none!important}.conter[data-v-bb231fdd]{margin-top:3px}.dragClass[data-v-bb231fdd]{background-color:#fff}.ivu-mt[data-v-bb231fdd]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:10px}.diy-wrapper[data-v-bb231fdd]{max-width:100%;min-width:1100px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;height:calc(100vh - 62px)}.diy-wrapper .left[data-v-bb231fdd]{min-width:300px;max-width:300px;border-radius:4px;height:100%}.diy-wrapper .left .title-bar[data-v-bb231fdd]{display:-webkit-box;display:-ms-flexbox;display:flex;color:#333;border-bottom:1px solid #eee;border-radius:4px;cursor:pointer}.diy-wrapper .left .title-bar .title-item[data-v-bb231fdd]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-flex:1;-ms-flex:1;flex:1;height:45px}.diy-wrapper .left .title-bar .title-item.on[data-v-bb231fdd]{color:var(--prev-color-primary);font-size:14px;border-bottom:1px solid var(--prev-color-primary)}.diy-wrapper .left .wrapper[data-v-bb231fdd]{padding:15px;overflow-y:scroll;-webkit-overflow-scrolling:touch}.diy-wrapper .left .wrapper .tips[data-v-bb231fdd]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding-bottom:15px;font-size:13px;color:#000;cursor:pointer}.diy-wrapper .left .wrapper .tips .ivu-icon[data-v-bb231fdd]{color:#000}.diy-wrapper .left .link-item[data-v-bb231fdd]{padding:10px;border-bottom:1px solid #f5f5f5;font-size:12px;color:#323232}.diy-wrapper .left .link-item .name[data-v-bb231fdd]{font-size:14px;color:var(--prev-color-primary)}.diy-wrapper .left .link-item .copy_btn[data-v-bb231fdd]{cursor:pointer}.diy-wrapper .left .link-item .link-txt[data-v-bb231fdd]{margin-top:2px;word-break:break-all}.diy-wrapper .left .link-item .params[data-v-bb231fdd]{margin-top:5px;color:#1cbe6b;word-break:break-all}.diy-wrapper .left .link-item .params .txt[data-v-bb231fdd]{color:#323232}.diy-wrapper .left .link-item .params span:last-child i[data-v-bb231fdd]{display:none;color:red}.diy-wrapper .left .link-item .lable[data-v-bb231fdd]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:5px;color:#999}.diy-wrapper .left .link-item .lable p[data-v-bb231fdd]{-webkit-box-flex:1;-ms-flex:1;flex:1;word-break:break-all}.diy-wrapper .left .link-item .lable button[data-v-bb231fdd]{margin-left:30px;width:38px}.diy-wrapper .left .dragArea.list-group[data-v-bb231fdd]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.diy-wrapper .left .dragArea.list-group .list-group-item[data-v-bb231fdd]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:74px;height:66px;margin-right:17px;margin-bottom:10px;font-size:12px;color:#666;cursor:pointer;border-radius:5px;text-align:center}.diy-wrapper .left .dragArea.list-group .list-group-item[data-v-bb231fdd]:hover{-webkit-box-shadow:0 0 5px 0 rgba(24,144,255,.3);box-shadow:0 0 5px #1890ff4d;border-radius:5px;-webkit-transform:scale(1.1);transform:scale(1.1);-webkit-transition:all .2s;transition:all .2s}.diy-wrapper .left .dragArea.list-group .list-group-item[data-v-bb231fdd]:nth-child(3n){margin-right:0}.diy-wrapper .content[data-v-bb231fdd]{position:relative;height:100%;width:100%}.diy-wrapper .content .page-foot[data-v-bb231fdd]{position:relative;width:375px;margin:0 auto 20px}.diy-wrapper .content .page-foot .delete-box[data-v-bb231fdd]{display:none;position:absolute;left:-2px;top:0;width:379px;height:100%;border:2px dashed var(--prev-color-primary);padding:10px 0}.diy-wrapper .content .page-foot.on[data-v-bb231fdd]{cursor:move}.diy-wrapper .content .page-foot.on .delete-box[data-v-bb231fdd]{display:block;border:2px solid var(--prev-color-primary);-webkit-box-shadow:0 0 10px 0 rgba(24,144,255,.3);box-shadow:0 0 10px #1890ff4d}.diy-wrapper .content .page-title[data-v-bb231fdd]{position:relative;height:35px;line-height:35px;background:#fff;font-size:15px;color:#333;text-align:center;width:375px;margin:0 auto}.diy-wrapper .content .page-title .delete-box[data-v-bb231fdd]{display:none;position:absolute;left:-2px;top:0;width:379px;height:100%;border:2px dashed var(--prev-color-primary);padding:10px 0}.diy-wrapper .content .page-title .delete-box span[data-v-bb231fdd]{position:absolute;right:0;bottom:0;width:32px;height:16px;line-height:16px;display:inline-block;text-align:center;font-size:10px;color:#fff;background:#0006;margin-left:2px;cursor:pointer;z-index:11}.diy-wrapper .content .page-title.on[data-v-bb231fdd]{cursor:move}.diy-wrapper .content .page-title.on .delete-box[data-v-bb231fdd]{display:block;border:2px solid var(--prev-color-primary);-webkit-box-shadow:0 0 10px 0 rgba(24,144,255,.3);box-shadow:0 0 10px #1890ff4d}.diy-wrapper .content .scroll-box[data-v-bb231fdd]{-webkit-box-flex:1;-ms-flex:1;flex:1;background-color:#fff;width:375px;margin:0 auto;padding-top:1px}.diy-wrapper .content .dragArea.list-group[data-v-bb231fdd]{width:100%;height:100%}.diy-wrapper .content .dragArea.list-group .mConfig-item[data-v-bb231fdd]{position:relative;cursor:move}.diy-wrapper .content .dragArea.list-group .mConfig-item .disabled-comp-tip[data-v-bb231fdd]{min-height:40px;padding:10px 12px;background:#0000000a;border:1px dashed var(--prev-color-primary-light-5);color:var(--prev-color-text-secondary);font-size:12px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.diy-wrapper .content .dragArea.list-group .mConfig-item.hide[data-v-bb231fdd]:before{position:absolute;content:"已隐藏";background:#00000080;width:100%;height:100%;z-index:99;color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.diy-wrapper .content .dragArea.list-group .mConfig-item .delete-name.on[data-v-bb231fdd]{background:var(--prev-color-primary-light-3);color:#fff}.diy-wrapper .content .dragArea.list-group .mConfig-item .delete-name.on[data-v-bb231fdd]:before{background:var(--prev-color-primary-light-3)}.diy-wrapper .content .dragArea.list-group .mConfig-item .delete-name[data-v-bb231fdd]{position:absolute;top:6px;background:#fff;left:-100px;width:86px;height:32px;text-align:center;line-height:32px;font-size:13px;color:#666;border-radius:3px}.diy-wrapper .content .dragArea.list-group .mConfig-item .delete-name .custom-badge[data-v-bb231fdd]{position:absolute;top:-6px;left:-16px;background:#ffaa18;color:#fff;font-size:10px;padding:0 5px;border-radius:3px;line-height:14px;z-index:10}.diy-wrapper .content .dragArea.list-group .mConfig-item .delete-name[data-v-bb231fdd]:before{content:"";position:absolute;width:10px;height:10px;background:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg);top:50%;right:-5px;margin-top:-5px}.diy-wrapper .content .dragArea.list-group .mConfig-item .delete-box[data-v-bb231fdd]{display:none;position:absolute;left:-2px;top:0;width:379px;height:100%;border:2px dashed var(--prev-color-primary)}.diy-wrapper .content .dragArea.list-group .mConfig-item .delete-box .handleType[data-v-bb231fdd]{position:absolute;right:-43px;top:0;width:36px;border-radius:4px;background-color:var(--prev-color-primary);cursor:pointer;color:#fff;font-weight:700;text-align:center;padding:4px 0}.diy-wrapper .content .dragArea.list-group .mConfig-item .delete-box .handleType .el-tooltip[data-v-bb231fdd]{background-color:inherit;color:inherit}.diy-wrapper .content .dragArea.list-group .mConfig-item .delete-box .handleType .iconfont[data-v-bb231fdd]{padding:5px 0;color:#fff}.diy-wrapper .content .dragArea.list-group .mConfig-item .delete-box .handleType .iconfont.on[data-v-bb231fdd]{opacity:.4}.diy-wrapper .content .dragArea.list-group .mConfig-item.on[data-v-bb231fdd]{cursor:move}.diy-wrapper .content .dragArea.list-group .mConfig-item.on .delete-box[data-v-bb231fdd]{display:block;border:2px solid var(--prev-color-primary);-webkit-box-shadow:0 0 10px 0 rgba(24,144,255,.3);box-shadow:0 0 10px #1890ff4d}.diy-wrapper .content .dragArea.list-group .mConfig-item[data-v-bb231fdd]:hover{-webkit-transform:scale(1.01);transform:scale(1.01);-webkit-box-shadow:0 0 10px 0 rgba(24,144,255,.3);box-shadow:0 0 10px #1890ff4d;-webkit-transition:all .2s;transition:all .2s}.diy-wrapper .right-box[data-v-bb231fdd]{max-width:400px;min-width:400px;height:100%;border-radius:4px;overflow:scroll;overflow-x:hidden;-webkit-overflow-scrolling:touch}.diy-wrapper .right-box[data-v-bb231fdd] .ivu-tabs-bar{margin-bottom:16px}.diy-wrapper .right-box .title-bar[data-v-bb231fdd]{width:100%;height:45px;line-height:45px;padding-left:24px;color:#000;border-radius:4px;border-bottom:1px solid #eee;font-size:14px}.diy-wrapper[data-v-bb231fdd] ::-webkit-scrollbar{width:6px;background-color:transparent}.diy-wrapper[data-v-bb231fdd] ::-webkit-scrollbar-track{border-radius:10px}.diy-wrapper[data-v-bb231fdd] ::-webkit-scrollbar-thumb{background-color:#bfc1c4}.foot-box[data-v-bb231fdd]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:80px;background:#fff;-webkit-box-shadow:0px -2px 4px 0px rgba(0,0,0,.03);box-shadow:0 -2px 4px #00000008}.foot-box button[data-v-bb231fdd]{width:100px;height:32px;font-size:13px}.foot-box button[data-v-bb231fdd]:first-child{margin-right:20px}[data-v-bb231fdd] .ivu-scroll-loader{display:none}[data-v-bb231fdd] .ivu-card-body{width:100%;padding:0;height:calc(100vh - 73px)}.rbtn[data-v-bb231fdd]{position:absolute;right:20px}.code[data-v-bb231fdd]{position:relative}.QRpic[data-v-bb231fdd]{width:160px;height:160px}.QRpic img[data-v-bb231fdd]{width:100%;height:100%}.contxt[data-v-bb231fdd]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:hidden;height:100%}.contxt[data-v-bb231fdd]:hover ::-webkit-scrollbar-thumb{display:block}.icon[data-v-bb231fdd]{width:28px;height:28px;fill:currentColor;overflow:hidden} diff --git a/backend/public/admin/system_static/diyIndex-fnxQJQda.js b/backend/public/admin/system_static/diyIndex-fnxQJQda.js new file mode 100644 index 000000000..ccf6933f0 --- /dev/null +++ b/backend/public/admin/system_static/diyIndex-fnxQJQda.js @@ -0,0 +1,23 @@ +import{f as M,a as Ce,n as ve,k as X,y as s,B as ce,C as P,A as l,z as u,a2 as U,H as O,a1 as ue,F as q,D as ae,l as v,a0 as $,$ as se,p as pe,Z as Ve,j as L,W as de,s as Ze,ab as ft,m as Ki,u as jt,ac as Re,g as Ac,v as Pi,ad as GA,a6 as Gi,b as dl,a9 as Oe,E as nc,r as Mn,i as El,J as lc}from"./element-plus-C_ZDq0cz.js";import{u as Be,_ as ic,a as ac}from"./mobildConfig-D-hsabUr.js";import{_ as fe,S as co,bj as sc,c as Nt,y as ml,G as cc,b as zi,s as Ji,h as rc,f as uc,Q as Sl}from"./index-DHL7RTL2.js";import{q as dc,r as mc,t as gc,u as fc,v as gl,l as vc,w as Yi,b as Xi,x as pc,y as Cc,z as _c,A as bc,i as Bc}from"./index-C2Zmd2Xm.js";import{d as mt}from"./vuedraggable.umd-fTw9SVdO.js";import{f as hc}from"./validate-a11VBqc7.js";import{a as Wi,c as $i}from"./cms-BakSzEoF.js";import{l as Ft}from"./index-CIbY4f6Z.js";import{_ as yc}from"./index-B14gRfLE.js";import Zi from"./index-CYgESPmX.js";import{_ as qi}from"./monaco-editor-uXAv8CL-.js";import{W as wc}from"./index-Beo5Mkpq.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./marketing-BAfn8OEa.js";/* empty css */import"./wangeditor-D-KRDJ3T.js";import"./registerMenus-BIn2m7Us.js";const Qc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXcAAAAUCAYAAAB2132+AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAABd6ADAAQAAAABAAAAFAAAAABeOGisAAAGY0lEQVR4Ae2ZCWwVVRSGX6VaRItogShW8xCsilZwQ8QqQRQjilaLEhG1uEWIS9QgrmlFUYILwaIxRuKCCrhgVcANbIjGqMiSWGrSsFTEJSgYLUtww+9v58ab6fS9tjxbXt75k6/33jMz9837e++ZM20sZjIHzAFzwBwwB8wBc8AcMAfMAXPAHDAHzAFzwBwwB8wBc8AcMAfMgVQ4kJWKSWwOc8AcMAfMgUgHehItiDzS9mAtl25KdvleyU5o5fFizt8VoH5z6sWB+2Ax/A7rgnYJbRkcCiZzIAcLepgN5sBuODCBa68OXa9kOwMWwUTw8+DZjGfD63AxOB1C5yYY5AJBeyttbijmhoV0Stwgha3m1NwJ5X+phCe28OAA7zy/74VjMxlUw4MwDPQw6Az/wFlQDt/A02DKTAey+dpPwTZQhbIGToJE0lvoAqj3TtL6vgF2wGgvHtWdS1Br8cLQQRePWs9jgmtUkJj2LAdO5HbK4VGIg9P+dN6BTnAvnAFTQeoPr8AyeBymwQXQBRaC1uLtMAokFaH54K85xZ2U314FrWf1U0H3YM4i2v9Vq5hdG2Jl8CnlwVgx9X3dxWAzaMP+DFUgcy+D00Gb735QXCbKsC2gX4IpsxyYxNfdCefBwfAwbARV8s1pIgf0Fug2mtbNBlgNWo+JkntXjm+HtaCKzZdL7s/6waD/Ca3mLos4ZqGOdUB5ZTrUgP/7KWH8OTgNoaO8pEKgAlyip9twXSWtis4nFUADYVZDLxZ7glbrszkp50laI6ni14YZYzE3dzBs2ugL7Y70pJOiqprGI//93EpX1ZUqdG20obACjoQR0AdkuuKXg879O4DGlEEOnMl3rYL34CfQJlWVNBwOhCWgdeI0mM7N8JALBO0dtC2pcFSJ7QBVZSOhG/jShlKVfoAXLKSvjb7di1l3z3HgNW7lNvgydEt9GasoddID/SBQRRx1rID4pzAMxsMj8BYoXymnaX22p8JrUw+rSLUmuRczg3v6qN9azeQCGZUL6+FreAm0Ie+BKTAHlPD1Gq7Xp6PAlHkO6LW4H+gBL53a2MQOp9XfPlVJnRLE8mi1bq4DvRE6qTBQFa41m0xXcsJ8WARK1peCLyUDrdmrvKA2eiXUezHr7vkOxLlFveE5fU9Ha2Q/iMNv4PQdHcX/gHOhB0yGBaAHh4oO5SkVp/tAR0hFzqCoD06U3JXAy8Al8gHeBH7fCyft/hKc8QHtcSBT9eRUZaRWVf0J8CFIWxob+5lhDrzJ9z0MPgJtJhUG2mDZUANxeAyU/F8EJWa3Zui2SnpgDIF58CdUgpJ9WLMIKKFLKlDGgmKm9HJAD28VBE770tHvXYlcx7qDkxK7Ck1pI2gtLgXlLj0UtA6+glGwHDpDR0hvHk2UKLnr1aMc1KZaquC1KdX2hf5BewztC2AVOyZksPRWVwpd4RyYBFqrP4D0LagQuBZUDLwM2nD5oPPU16Ztia7gpCy4CKaD5iiCOPiazaAPDAVdo8JjMZjSywGtnbh3y+rXwl8QdUzFRFi3EKgAFQEPwDXwBoyE9pb+nPhF1IcmSu5R56cyVspk2jDayKrkq0GvPePAlNkOHM3X10YbCKeB/q6ZDSvAV28GvUDVk9bRZOgS9FUwtETaoGtABcWxwQWq4MYGfddspqOqfgKMh+dBDxhTejnwLrc7GFRYaq3oH5OfgfQ26MGdA/lwPbhjdBukNbkatkIdHA97Qz+og/bWVD5Qa7OJOjK562ZcxaWKXfyooCnjHcjDgY9hBOg1+W6ogrXQE5TIVSVNAR13qKLaFoyV8JPpZE7QursRhnvMo6+kH9ZzBEpAbwZK7qb0c2A9t3wnLAetp8JgTNNQbK6k3QA1sArmgC+tlWeCwHxaFaTVsA6WQZSWRgXbGAvPFZnYk82tL7YL1ErFoLFQX2rJOY1nNv9TDxgZbTIHfAcqGGjhar0pUatCl+KwCUohrHEE6kPBbow1x+hQXMMZoLeCThp4UqLXNfpH7lzQg0bSWq2D98FJ15e5gbVp40Aud3pEM3ertaYiIiytk97hYILxGI4VJTje1kOa85JkF2clO8GOmwMd6IA2Ux4omZvMgXRzIIcbPh8KUnzjtcy3EHameF6bzhwwB8wBc8AcMAfMAXPAHDAHzAFzwBwwB8wBc8AcMAfMAXPAHDAHIhz4FwO/QgbhZ4FRAAAAAElFTkSuQmCC",pn=new WeakMap;let Ll=0;function Nl(t){return!t||typeof t!="object"&&typeof t!="function"?`draggable-${String(t)}`:(pn.has(t)||(Ll+=1,pn.set(t,`draggable-${Ll}`)),pn.get(t))}const he="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAABkCAYAAABO6zhfAAAAAXNSR0IArs4c6QAACjFJREFUeF7tXW12E8cSvTWy3zt2MFgxJvHjSzp5QDjvR9AO8A5gBTErePYKsFeAswKbFcAOrB3gPzkESJ4Eh68YOyOwHSdgTb1TY0nIRrJmeqpHI6v1x8dH09XVt+6UqquruwnKn8fv+Kbn4UcANwAUmDEJQtUjVOsB7iOH8vU8VZW7deIMESDDdl80+2WL5wm4KwZvF8oAjv7vEVbrHpYcEbTQN5eTmACPfJ4cZ6xwgFtx1CBCNfAw60gQBzX9ZxMR4LHPBS/AGhgFI9UItf06Zv9zjtaN2rtGiRFIRIAnm/yAEe/NP6oxAbUgh5LzBIltaSTAmABPtngRjLudfuN7xQBHvwdQ/v4szRqNwDVKhEASAlTY1PV3UJkZs9enqZxoNK5xbASMCPB4k+c8YCV2b8c0YOcFNOGMLMuIAE+2+BFzOM9X/ezlkC/lqaYq1Ak7FgEzAmyy/PSHH40YoE2JuWtn6b6zWXoIxCbA4zdcoFFUbKjoEeavTtFPNmQ7mZ0RiE8ASfUS1mwAGjCWrk/Tog3ZTqYWASx6AHYESJ2nsT1AmPqtw3cxQOq2stJhbAKIFk822WdgUlsjL0DpqksLa8OqPwt4usX3mDGvqimhem2KiqoynbCeCBh5AFnzJ+VAkAir16boTk+N3QOqCBgRQDT4ZZPXCLiplAdwC0KqZo0uzJgA4VJwHY80YgEX/Uc3mPaTxgQQRR5v8JznJVwTcK5f26ax5CUiQEiCd7xIhLuxem08TMDqnzksuPy/CXo6bRITQNT4eYNvjOTwQCqDIsYENXH730/Tss4wnBRTBFQI0OxclolDb9ClTkCqf5iwyh5+chVApibTbadKgKZqTzf4Rp0wmfPwQz1A3iNUAsZzV/ChazwNaVYIoKGYk5EOAo4A6eCc2V4cATJrmnQUcwRIB+fM9uIIYMk0FZ/D1dJixmscHQEUCSBG/7iPefLw37YUeZUYS1fP0qpiV2qiHAGUoJS1kRwfs02OUR7N4XbWPIIjgBIBnv7BlV57JAlYvjJFC0pdqohxBFCA8dkWLzKirYdQgNkrGdoB5QiQkADi+keCGGXyhPUrX1MpYbdqzR0BEkL56xavMGGutUOmuRp23F9g4cpUNhbCHAESEODXTb7FHh40RQiYrS1TjZNROv0vi2I5QjELAaEjQBICSOAHs8MxiLD8Xb7/AaEjgCEBnvm8SBwt8OvWBRNmr+T7uyXeEcCAABWfCwEr1EMSyv/O9/dgDEcAAwL85vMKGHMGTb9sQlj4Lt+/gNARIKYVn/l805OMn9aHUPPQv4DQESCmIf/nc4UNA79uXXnAcrFPAaEjQAwC/OaHh2Hei9Ek8qN19CcgdASIaCIJ/ACsab/9bTmEcrEPAaEjQFQCvGc5DVUn8OvSJyP9gNARIAIBKj7LgViPIjya9BE5ICvVDGHqBGhUyjSPlq1mIR3ay2qVWu+l3l4yIn/vYbl4Jr0MYWoEkN9QIqwwcLPtd69KhIdBgKWsEqHi8zzITuDXlRSM2WJKGcJUCCAutHGewGSXrWNVZpSyRoIGaWXO3zoMO+LWt5ZtDZ8vFybTyRBaJ0AnEDsxXw6IuHwmWwdEPJfATyvjF/k34OBBZtwp5u3XEVonQBwQ5bzgtFxfL3s0iGvlPMRefTe+lw201gNCqwQQEGVfYMQBy1r6emEyG9UyzyXwU874RcWh9Rxh+bLlgNAqAV7UDO4TYCxc7uPiiID/wuc5poQHX8S2ducGwUFsZO1CDWsECEE0OT2EUQtScH3d7BN6LS9c7DG7BUXJ8K2ZEqN8yWJAaI8A7xO50OVLll1fNzu9+KC41KtFhgB3LlkKCK0Q4Pl7XpQbxJKMX8qnL6Y0F27qKW9/zosesyQZX8y2tXpgJyBUJ4AWiEQoXzydzly4aYwXybxWTJvGe5wDLF3O6x+krU6Alx/05s4c4PalPD2MB5XZ0y8+8BxxNgK/biPYP/ACqpduqhLgpc832NNbNCGg+imwnyEUrzXq2VvqNaNkh1YWvKIuAT7oV8uAsXTxjL7ra4c39Fqwu9SrRQIGbl86recV1QggLlT7IqlGSrS2f+AFVF1f0yBvfC7Uc5kM/DpzhnW9ogoBBMQgZ8+FEvDw/Gm6rfUWtct5ZcNr2VC0TaacsajlFVUI8Hqb7wXax8cfAZHr+tPClx9YKnxUr7+zbPuW+FwdxRkFr5iYAI23P3K+3xggwvr5Cb11gqbXykrGLy4uTChfmEg+TU5MgFc7vALLtXJNcJixcOGMziYK8Vrql17EtWLC5wPC7MWJZFvLEhFAXCiJC21ui7X9F6h9rCfPiLW8lm19LcuXafLf9WTT5EQEeL2TYq3c57dl+V8TyWrmXm+zFHiq33ya8IU2ai4ZwvMJpsnGBHi1nTzfbzRiAME+ShcMl0jFa3kZWeo1Hf+RdjXaR8k0IDQigLhQHgkzfuo3h0UBhYDyjEEAJHpjFGuat55H0df2M6Z4iF5mBJDAr0+1cm1gzs7EDIDe7gx+4HcMmWLjYUSA8C0ayUDmjFD961P0ACgzettyBzHxaKoR2wO83eFKhlzo0sxEtHWCt9sG5Wm2jGVPbmQ8jAjwRqZ92QqgahwhAMqg3rYoEAmP9s4je4A3e1ygenZq5doYvPrNqe77CWQr2thoGLBmosbPluXb5Ja/PRU9QxiZAL9v8yIb3g5me9Cyn6BbQJhlvW3hchweR/uMRAB5+716BgK/LojJNOhcB9ZnXW9bBACh+o+PKOUjHFUfiQAbu3plXrYGLXvrvz11eJ3g912Wq+xu2eozy3IDRqSAsCcBNnZ4jgdgyVRO3xz9hGKT9YOity0SCR71HEozY8cX0vQmwG5f8v1GuEihxDeNaeHGAOltNNhojTr+NEaeBbzb4XlOe298tIF1faruoTgSQLxWon0JCdXITHPZXzF9TMa0qweQACoXZG/a1wtZAtb5hKz09RprxO+r576iYrdnuxJgUwK/AamUjQjE0D4mJ7A0fxojTQPl7Y91CcLQQjswA6/te50Dwo4e4N3uySmYGBgTWVZUzmI6O/5lZfUXBJDp0wkrmLAM7eCI5w4B4SEC+D5PBv8Mj0Eflrz54FhPQVOpIZwaPxwQHiLA1m528/0K43ciDq60WZge/5wxbRHA3wsvQbBf3+/M0G8Eat7fnzOmLQJs7WWizKvf4AxH/4TVqbGDJfSQAJu7fIvo8+1Xw4HCcI9SNpVMj1E5JMAfe4OT7x9us6mOfv3rcSqRvzcYq32qQ3fCQgSCALeFAHIJQusAZ4fN8CAghTTk/8k+qD8bPIYH6oyOlFFzBMiobVJRKyTAX/wIfDI2SqYC2gnqhAjrEgMkPtTxBGEyVENh4A5J/p/GIF6gkNo+f8v75t04GteYH4czUOU9lMI8gKSBCVgDoRDp/vPme9LswP1/gMDg4FFlYDY/RtVDawFSQk0efjwphycMlT/vPVi5kazGddzHRyw3q6f/D9KSUgPkzt2bAAAAAElFTkSuQmCC",xc={style:{position:"relative"}},Ic={key:0},Uc={key:0,class:"banner"},Fc=["src"],Ec={key:1,class:"banner"},Sc={class:"acea-row row-middle"},Lc=["src"],Nc=["src"],kc={key:1,class:"shan",src:he},Vc=["src"],ea=t=>({cname:"轮播图",name:"swiperBg",desc:"轮播图以动态播放的形式为用户呈现多张图片素材,通过轮播图组件可以让每张图片素材都得到较好的曝光,提高商品、内容转化。",timestamp:t,isHide:!1,setUp:{tabVal:0},titleLeft:"展示设置",titleContent:"内容设置",titleRight:"指示器设置",titleImg:"图片设置",titleCurrency:"通用样式",zIndexConfig:{title:"组件上浮",val:0,min:0},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},styleConfig:{title:"选择风格",tabVal:1,tabList:[{name:"样式一"},{name:"样式二"}]},swiperConfig:{maxList:10,list:[{img:"",imgTitle:"图片",info:[{title:"链接",value:"",tips:"请输入链接",max:100}]}]},docConfig:{title:"指示器样式",tabVal:0,tabList:[{name:"样式一"},{name:"样式二"},{name:"样式三"},{name:"样式四"}]},docPosition:{title:"指示器位置",tabVal:1,tabList:[{name:"左对齐"},{name:"居中对齐"},{name:"右对齐"}]},toneConfig:{title:"色调",tabVal:0,tabList:[{name:"跟随主题风格"},{name:"自定义"}]},dotColor:{title:"选中样式",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},dotBgColor:{title:"常规样式",default:[{item:"#DDDDDD"}],color:[{item:"#DDDDDD"}]},filletImg:{title:"图片圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:10,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},imgConfig:{title:"图片间距",val:1,min:0},componentBgConfig:{title:"组件背景",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#F5F5F5"},{item:"#F5F5F5"}],color:[{item:"#F5F5F5"},{item:"#F5F5F5"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},bottomBgColor:{title:"底部背景",default:[{item:"#f5f5f5"}],color:[{item:"#f5f5f5"}]},paddingConfig:{title:"内边距",val:0,min:0,max:100,isAll:!1,valList:[{val:10},{val:10},{val:10},{val:10}]},marginConfig:{title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:8,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},txtStyle:{title:"指示器位置",type:0,list:[{val:"居左",icon:"icondoc_left"},{val:"居中",icon:"icondoc_center"},{val:"居右",icon:"icondoc_right"}]}}),Oc=Object.assign({name:"banner",cname:"轮播图",icon:"#iconzujian-lunbotu",defaultName:"swiperBg",configName:"c_banner",type:0},{__name:"banner",props:{index:{type:null},num:{type:null},colorStyle:{type:null}},setup(t){const n=t,A=ea(n.num),e=Be(),o=v(null),i=v(0),m=v(""),a=v(0),d=v(0),r=v([]),c=v(0),f=v(0),g=v(""),p=v(""),b=v(0),_=v({}),B=v([]),y=v(0),Q=v({val:0,valList:[{val:0},{val:0},{val:0},{val:0}]}),I=v({val:0,valList:[{val:0},{val:0},{val:0},{val:0}]});M(_,(w,h)=>{N(w)},{deep:!0}),M(()=>n.num,(w,h)=>{let E=e.defaultArray[w];N(E)},{deep:!0}),M(()=>e.defaultArray,(w,h)=>{let E=e.defaultArray[n.num];N(E)},{deep:!0}),Ce(()=>{ve(()=>{_.value=e.defaultArray[n.num],N(_.value)})});function N(w){if(!w)return;let h=JSON.parse(JSON.stringify(w));for(let E in A)h[E]==null&&(h[E]=JSON.parse(JSON.stringify(A[E])));w.bgColor&&!h.bottomBgColor&&(h.bottomBgColor.color[0].item=w.bgColor.color[0].item),w.paddingConfig||(h.topConfig&&(h.paddingConfig.valList[0].val=h.topConfig.val),h.bottomConfig&&(h.paddingConfig.valList[2].val=h.bottomConfig.val),h.prConfig&&(h.paddingConfig.valList[1].val=h.prConfig.val,h.paddingConfig.valList[3].val=h.prConfig.val)),w.marginConfig||h.mbConfig&&(h.marginConfig.valList[0].val=h.mbConfig.val),o.value=h,i.value=h.styleConfig.tabVal||0,m.value=h.bottomBgColor?h.bottomBgColor.color[0].item:"",a.value=h.filletImg.type,d.value=h.filletImg.val,r.value=h.filletImg.valList,c.value=h.docPosition.tabVal,f.value=h.toneConfig.tabVal,p.value=h.dotColor.color[0].item,g.value=h.dotBgColor.color[0].item,b.value=h.imgConfig.val,B.value=h.swiperConfig.list,y.value=h.docConfig.tabVal,Q.value=h.paddingConfig,I.value=h.marginConfig}return(w,h)=>{const E=X("common_wrapper");return s(),ce(E,{config:o.value},{default:P(()=>[l("div",xc,[i.value==0||i.value==1?(s(),u("div",Ic,[i.value==0?(s(),u("div",Uc,[B.value.length&&B.value[0].img?(s(),u("img",{key:0,src:B.value[0].img,alt:"",style:U({borderRadius:a.value?r.value[0].val+"px "+r.value[1].val+"px "+r.value[3].val+"px "+r.value[2].val+"px":d.value+"px"})},null,12,Fc)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:a.value?r.value[0].val+"px "+r.value[1].val+"px "+r.value[3].val+"px "+r.value[2].val+"px":d.value+"px"})},[...h[0]||(h[0]=[l("img",{class:"shan",src:he},null,-1)])],4))])):(s(),u("div",Ec,[l("div",Sc,[l("div",{class:"empty-box style3",style:U({borderRadius:a.value?"0 "+r.value[1].val+"px "+r.value[3].val+"px 0":"0 "+d.value+"px "+d.value+"px 0"})},[B.value.length>1&&B.value[1].img?(s(),u("img",{key:0,src:B.value[1].img,alt:"",style:U({borderRadius:a.value?"0 "+r.value[1].val+"px "+r.value[3].val+"px 0":"0 "+d.value+"px "+d.value+"px 0"})},null,12,Lc)):O("",!0)],4),l("div",{class:"empty-box style3 on",style:U({marginLeft:b.value+"px",marginRight:b.value+"px",borderRadius:a.value?r.value[0].val+"px "+r.value[1].val+"px "+r.value[3].val+"px "+r.value[2].val+"px":d.value+"px"})},[B.value.length&&B.value[0].img?(s(),u("img",{key:0,src:B.value[0].img,alt:"",style:U({borderRadius:a.value?r.value[0].val+"px "+r.value[1].val+"px "+r.value[3].val+"px "+r.value[2].val+"px":d.value+"px"})},null,12,Nc)):(s(),u("img",kc))],4),l("div",{class:"empty-box style3",style:U({borderRadius:a.value?r.value[1].val+"px 0 0 "+r.value[3].val+"px":d.value+"px 0 0 "+d.value+"px"})},[B.value.length>2&&B.value[2].img?(s(),u("img",{key:0,src:B.value[2].img,alt:"",style:U({borderRadius:a.value?r.value[1].val+"px 0 0 "+r.value[3].val+"px":d.value+"px 0 0 "+d.value+"px"})},null,12,Vc)):O("",!0)],4)])]))])):O("",!0),l("div",null,[y.value==2?(s(),u("div",{key:0,class:"dot",style:U({paddingLeft:i.value==1?Q.value.valList[3].val+b.value*2+26+"px":Q.value.valList[3].val+13+"px",paddingRight:i.value==1?Q.value.valList[1].val+b.value*2+26+"px":Q.value.valList[1].val+13+"px",paddingBottom:Q.value.valList[2].val+10+"px",justifyContent:c.value===1?"center":c.value===2?"flex-end":"flex-start"})},[l("div",{class:"line-dot",style:U({background:f.value?g.value:"#ddd"})},[l("div",{class:"item",style:U({background:f.value?`${p.value}`:`${t.colorStyle.theme}`})},null,4)],4)],4)):(s(),u("div",{key:1,class:ue(["dot",y.value==1?"on":y.value==3?"on2":""]),style:U({paddingLeft:i.value==1?Q.value.valList[3].val+b.value*2+26+"px":Q.value.valList[3].val+10+"px",paddingRight:i.value==1?Q.value.valList[1].val+b.value*2+26+"px":Q.value.valList[1].val+10+"px",paddingBottom:Q.value.valList[2].val+10+"px",justifyContent:c.value===1?"center":c.value===2?"flex-end":"flex-start"})},[l("div",{class:ue(["dot-item",y.value==1?"ons":""]),style:U({background:f.value?`${p.value}`:`${t.colorStyle.theme}`})},null,6),(s(),u(q,null,ae(2,(F,x)=>l("div",{class:"dot-item",style:U({background:f.value?g.value:"#ddd"}),key:x},null,4)),64))],6))])])]),_:1},8,["config"])}}}),Dc=fe(Oc,[["__scopeId","data-v-5693a144"]]),Hc=Object.freeze(Object.defineProperty({__proto__:null,default:Dc,getDefaultConfig:ea},Symbol.toStringTag,{value:"Module"})),Tc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAAAgCAYAAADAHpCrAAAAAXNSR0IArs4c6QAACZNJREFUeF7tXLGPV0UQnjkwIYbkDk0sjMG7ACZWQmklxFhQyRUWVtz9BUJnB5RWwF8AdBYmQmdBAnR2QiucHIm1QGLUmMCYb9l9zps3s2/f7/c7uUt8CQV3+97bnf3mm29m9h3TAi4ROUtE182jLjHzxXken59rH3GPmbf1D0VkBf9n5mfzvG8v3isix4noIzP3W54tROQMES03rHNg43IPezfnDfi84cFlyEki2jDjbxIR/rVcT5j5rh0oIneICM/WVw+IIoLfXyOiTSJaJaJPWl44MgYGsw4w82NF5DIRJVDn6xkzn5/5gerGwEZrjlPBNo8b33mXmU95Y9l4cdo4EZny8MY5VIe5E8xgAGj0BRZZyxsAoBRAYYFgOgvcWeZ3nZkBwHSJiMzwkO4Zzv33mfnEDM/s3RLs0zYzwz52LGw1xTanPCcGYIA6AARXetluAUzerKfGO/FjsBGoWHvtrgRMDhk/OaBvZd9y6w27gSICAAAI+uqBPdtwFgJwnRiA+Z6IENvKdShvRCt9zesoCQARBYoIdNCFhpfsVsDAtrDxvNfA44NwtGnDqSGFKfM4z8xX9A0ADOLrOfVDUCVo3wIGQrMnNqe8eWTsA2bWc+iGT2A7AAbhKdIwlpEKU3lTg2jsDDVPSBKRqaEgMtUhLWSDcI177Ti7vxgTsRCYULM2xp5g5vtlUkXDaIEHmrvnAGburGcWgAW0qx8FEMOrBqJZD3K8zI313hyNzgOwAT59XXLsVfQgNsGOn2oKiGQwv3YkD4hWe3nsDHuBrQbOLyJYGwCmL5AHQJPGAzBYjI6x8KyrEWDyBhbNM3Xh3vibGsFlQJ4XJm+zpN5Gtabu8wBmBHhI56Ns09MOMHwV3FkiaE/vheyKE3VhqxLKByHLrM/LTDuQATCYGIRluSDGkPLZkJQYJoib8wBng5lvmEkDJDY78t7Ro9/aJBYBmCA81vTXV0TU0wCZDTtGl8e0wmtJAqQreIctJehEpdzasZAjM8qY0SiR3w/bW1LAHNeTZ9hMCZS1RwCzzsxN2caCAONlJVeimoqIeOGoq5HII9ogpmsktMlHXxU+A/bodESFOUqGG4nsgW6JHCyDxtMzVABj4yGEr00FXzfDgBYt6sPNssZYEGA8uu6JQsUUHkv2NcZWyp7OkNAGH6XEsg6Dd1or0BjllQUwXtUdYETG01wJz5IA8+vZvADGlpcfTAAMJtHk5fnlVpOMhSTEe4RIhE4bpsJwsGjATCmS5Y33RGmPEWUrOeVxElrno3QzeEcCWUO2GAFmNAyNME0vPE0RaxHDTMk2PK+LAAN0wysKVVuthXV62QPChifKoSd65fks7q29sJ5BWyBIjwFmr4UAh8P7elfa+J/pOHGuey2lMSv0gk7wB3Q/e7W9LxXsgn6dfr4FDBwZ2RvmaDMfPNNbI/bH1rxu5V5VqhIXhsF/dP0CWVJrSEKoQJ6ui3/Jk5yiIJ5rDeIBxm0mBgWoXt9kAaJ8wFoN3m2xEXq1bKUEw9Y6YMOrfGQgkLvnTgQM9hPZ0HZQr3HnF7wj7U/WVhcKYGy1d4qGwWKRCehsIGkLZ4PXnarnADAVirTzxNA+zfsNy1oCZX/nAcYrftWeGQMGDLMv9bx0oTKxwYIAs9JQ4JsMmJLBFcBoMZcKNROypJSjm/GgQTTvdGqOn4EirQ4ZBUxO/UGVXjX4HDODudK1aIaZgV0wjapuQCpNL1Up429a4w/rVXTj/bA5WEozVdR09GTATIDRIUnn9QgvYILWOkyJnfoZAB2Eqm6MYbMR2ycBJlOhPR6gvbuXKYkImM6eD8H41tZAr02RKR1GBytobYQ1lqzDaqY6YB7SSVpSdliiQ7oW41GXAkxxUFsr+U8Bo9v3Hjt0XhOlfU6xCMDTJXGwlpfpuAyTPVsfX4hCQFN9Yd602ll3B4ra79zNf0gXaSmLy6UVotWn7lECfW8GDJwOY5+1rmdRGqbMxav0Qj17ojdRv2OcFPMrzTC8q3ZswhO9tl1R0wtNZ0taDVzRT7YGMztgSjqNl+1fJTqcyLzOSiKruv/Tup6dAIyNcSUVc0NHBTBgD6zcZgAwRq2WMFaH6aWOTsrclNa3GninASM2HB08S/ROl+GinoXsZrTA1rqenQCMLSUjJXsSaY0IMCOCMzW8AgHZAhgYEKwHfYJ0v6clbCc30AC2/9IEtIqYnolh5BHdIVYN1bcvEy33tHzYTTYhqmk9tVTZ2qllLEKSbZAh4wFL2EM/Kc46/ZEuDXWeVeaUaiUBYHpZTgaeZr2kqQode7WYqFs8i4F3kmFki4bHDd69/Tsd+PSgeS/0X9Iqlfm8NsDYRUCcoohnu6ypZyIitvCE4wnIqpDSRoeFCti8au2gH6QOdqPS22s7BA290a51K4XvFGBcsPCBv2jtz9PZOW0or/bJWtcTdK5dkd3KMN4RTa/mUVjCHoguRToPDMX++kC0BZx3+iv8bKT1lLxDt00euUjAyGNapRd0kjhlRMN2xRvHvuXDD7/MLQFoRguawRFJFSKb1hPYK2qYeo3LnmRASOoV7aAHnJJ+6tkEB5pLj8lr/Zf1pZP+QTrYlOUoQ3ksNvisYlcA5he6Q1I5ALb03mle+/WHzM7Rabdkt1nX40SE2oGvJsD0inb4/MGhu5I6e2ctSt/Ipp1YpPaYKC0fNBBrOXQQ9l4HYPR3V/bY5isnqgFm6c0fee2Pj43O8lofUVV2lGGCDKl24KsJMDp9RiUWmkafwMOaStjxzohGh8ZhRK2DCui8voy74bklYNsB+MDOnpGFUEd2scgvHeZpao4DhpY/4yPPbxvAeKWJjp2nivjAuQZJhmLvccA4VOf1HiIWSfTmZEfIbCCELfBwkBkbblvrtWpvCwj2FmD2r17i97fdz4iDE3VeJlllmOxsXl3M1S85LM4EGE8jgEXgwRYAhTXs5EvdZVAdzWCxIHDL+xMaf3sHMPve+o5Xf/uiIq695MFLDMYA434x4H0VOS/DDA4YZxbx9AvCBT5JsWdnSkZlazwRwFwds8sA09LXKrZHCL860DBLy9/w2vOvaxote7p1tEGRsZZWV+w29sXANIbJNGYLdpgsjggCHPYDfRxhAJD0z7tur2ogaht59+D3XXFOIR6pqP0U1LM3OuNgwCl/QGBs39y/gDB2U09n/Ct6t+klbfKx0c9L0u1B7cR+oOZ1q9MH9MFeQQtV2w75rzvYA27QY91nMe4RzSlG+X9sbAHZonP0gu7i+OUUO9WOak55zk6M/QdhCcyhY5yY0QAAAABJRU5ErkJggg==",jc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAAAgCAYAAADAHpCrAAAAAXNSR0IArs4c6QAACoRJREFUeF7tXL9vHMcVntmVokMQIFTjRE1wFE3tdiZFp0hlqUgAI4XFIkBSWfwLLHbpJHZJZRH5Ayx3KQxYrpIigKguQCKS6nYl0ToDSSi5sRAozl2U3Qm+ycxm9u2budm7k0UBuY53szOzb7733vd+DKVYwCfP8/eFELfIVDtFUdyYZ3ozL53iblEUI/fL4XC4hL9Ho9GzedZ7HZ9dXV1dS9P0LXfv4/H4M04WFy5cuJIkyXcj3rMjY/uM5B7GAQwGg/ciJrZDLgkhrrrjlVK3pZS3I+f4oiiKPTo2z/M7QgjM7X5aQMzzHL9/JITYEkIMhRDvRK4ZGgaBUQWYedosyz6UUmpQ46OUelaW5fbMEzoPemS0TJUqz3PI5nHkmntFUVzmxkqixfrgek4euYfgMHaDBgwATfOBsCeTyfJgMMABACgWUHhBWLoWcGfc3K2iKABA/cnzXM0wTzMHfV4pdViW5foMc7Ye8ZzTqCiKZUb5IKs+srnMKTEAA9QBffjoxU4KYLChLMu+crXT7HNPKbVGvj+RgDEu44CCvof1tY9+TA8wz3MAAEBwPy2wG8D3sS52LlaJZZZln0opr9hR4/H4rNHeWPM1r6Lgea8JzPMcPOh6xCInEjCGN3wasf9pQzoa73FHW9SdEqMwbR3Xmm+XZXnTfQCAgX+9Zr+sqmo9TVOQRwoYEM0W2YxeecpApdT9siybPbjDe1g7AAbuieUwjEXSQOW2ppT6zBXUPC4pz/O+roCVFhTZJbKcu8aDdBw9XzM5a4WUUgfUmgMPDx8+PLSbshzGJXgwc3cZwMwd9cwCMI/ZdacCiKFV7OHbgYyWsb6e26PL85RS16SUa2TcDiMvzQezLMMh0PG9RGFI8lmiSBwQKffirDPkBWvVUf4sy/BuH7rrYG0p5bodL6mPVUrdlFLu+gBjDtBynl4vzg2uquq2i2A7xuwLm6dRkjtNNIjnAQw5KJfz6Z+KomCjTR8p9Vk2u45S6grR9JbLDihR47YCrrzjssj7cZFpAzJpQuivnM0iHEbIR12SPhyP35wHOFeLoviYbBogaUVH3ALU/IY2sQjAeADg5V9Zln0gpWxxAGMNG4v+eG24tHz4v/yRZw2aSuiA1rVCHjcE8UxVMLM+ZN8yCsbSbGrNoJESTNbrAJi6rjcfPHgQletZEGA6UQkssi+n4nFHTY7k+OLK1USKj2olts7tH2kQcdbD5REBy6FdbIBkd3iLT8EAGo7PYLwFTMsfGuLbCgUtOl+hhYFZpKj3HhYVxoIA0zHXlBQ6nImzkq1De7qxgujpihTi6hv3jrSVZeTbcC2OYzjvaVMiXNb91ng83u6TCTeUAPtryVwDhqaXq6q6n6ZpFGCMqYrScrM45STTXNJeVVXbaZoiUUfdlNcdLBowfZJk5uA7pJRaxKcb5w+E0IR483v3jm571tAgi4gWfYCZ6oZClsbIvAFNH7Lm4zB9og1O61jAKKWA7h0b3lKuhZf0RA9wGx1SrpQCn2il5w25p/LC+3TKAp7wGJFZZ6xRuA/oxDj4L3+4ulZVlc57JVJizJJMkvU3/vTw0CgufU4n7Dz1OneJFmAgG8ivruu9NE1bkY8QAnNy74jzaeW8kGKQUqJWpbPE1iXhjyZ/UVXVbqyFQW4GqW43+Wc1iSYFlVK78r9Ccj8dwPiKiZ4EVKtusgCX2bFaEdpNseHV6qcbKwgwGuAa4MPd7n5//3NKkJt5ewIG54loaOTJ17D786yhz8dwq+saMPRge3IYAAahePOylgjSAwaQkiShWc8OYHwmku4T46iZfxmACUQdvq16AfOXteHat06deh/5HOfhZ0qpnUUABsoWkeDrDRjjZofWwjRkziZqekRJOkYn42GqUbxzQ3N8hwQX5SFTAQMhnDlz5rqbkbbChuDLskTeSH8WDZgZrAu2EeQNCKW/naZNKqOuquVzh6NgFp1oP5R0ieRqfEVHjgbMBBjXJTVxvXEvm30AYwqW7hzIDiKX0xTGTIb0fl/AwBQqpVrtAa5a07A2yzJYu1Z/iDH7tFiJrzvZYVqmMCYdQkf00XAjo1i2/4ZypiBgjt9+81KiVKM4X1fVWTcXw5ktBzBWQWmu5BsFjFu+56xDozW+sI+abQO8JiVu3BwX6bAWxmi2277gM/9R+YV5w2rmvRtQhH7jNn188fyNREpNLp8rIX769Wm2lcB9FoCB0k0mk8twObHvsygOY/fSyfSC9XOk15p+RjiaJPqKYWahUNtEBzBcS4APLbG9JbEC9q2zSMA44bQ4roX4+T9PT3VjUCC3/hP7PgsHDDMheAasDMs1fIAxPOMx07sCYYRyCdPyMO4ZdpJ3tofHd9AOt6Hp9Oh0gIcbzWRhqDv63b8T8atJqreJLsXJZLIVk2B7ZYBhUskIyb7oC5gphFMXvDwEcipgDF/YHY/HNweDARKKLS5RlmWrkuvhACcCME82Vu5Ip6D6m3+l4pMXCVUKtppMXFTU+4RCZSqnmLHoh6EFsst1XS8x4a/2s0x9pMlbeIpt2JfOlXCAoVGOAZ7L7DWnsuaYy8X4qsWzCPhluqSnb795QyjVSoxtj08936/kdwiRP7RcJbCfVwMYWswCOU2S5B1aZbU1E9oyCTNaliWiKoS0vmYhDTZPtrZTD7KN3XVdb9PiIlfQi6lax5rwlwUYDiwTIcY/+cfpd5HVpq48VNQ0so4CjCeHxJLsWAvTadH05DyslWg1RNsX48DgCL+JZJge3U6UE7o2Etslz5jbKAEvEjDHa8OhSNJLidTp9k654q+1+O3Fg6NfgOQnSXKHAU2nRbIvJ+PkFSiYcoXLFmVAx10raQc+wKT0cS3irCd6sTUmriHZkjnd6c+Fg7FRjiMozop1rlWcBMB8ubFyRwUawJ4o8e5b+0e/x1593W5WbrO+D9dEH2j4igJMK2mH6w+M+dY8heu1sKl5imRDVN1in87IcuNiSOtJA4x774pp29RKFALMRIk//mD/6EcuELjShy9rHONiPSF1qOE+CjBN+Iws52QyuTEYDJq0tQn3NM/gmnd8TeNGiG4xTW/U41NZC2HcXKs5XCn1HtMji9IEQu5F3nSYp6g5FTDPa/XjlYPP/+AChktN2HtYNNSOBEzHGnNBhqOM0wHDmLpO7cFnRfAszBsTHe2Nx+NNCjxzhQU3KmlpPZTtjQHBawWYvym5s77/iL1GzCmlJ5IMcjJfXszHXwyRngkwHVRikRcvXowoAOx9IgbtNu9CO9SQFARYKAjY9H6Pwt9rA5i/C/nJ6r1HP/ORa0/wwF0LCQLG08oZTFZGRUkRZEpbEY6/APl1Xd9leme0OecsjykjtF6Wa4QyiI+9sfdNACamrmVJPlz4LuUwz4X89cq9R7/0gcVxDVTROgcdckkBRZt2Y6CfhTHopv0q2OyWYfH0gv6WuRLRfO9We50CoiujzjPmxyY55wgOgKFXQTvyRgunsYB9/oFA8Nx8/wFh2mG7vzuAGdVSbp3786Pg3Sn7LMfzmItsXLVaX6DnzspwoWDZwRgF2uAGPtbsm23R7COU/4/1S+DJxfPXkjTdQ/tlHzmFWjX7zPMyxv4HTgyfHG5SHkMAAAAASUVORK5CYII=",Rc={class:"seckill-box"},Mc={class:"left acea-row row-middle"},Kc=["src"],Pc={class:"text"},Gc={class:"top"},zc={class:"img-box"},ta=t=>({cname:"砍价",name:"bargain",desc:"砍价的介绍",timestamp:t,isHide:!1,setUp:{tabVal:0},zIndexConfig:{title:"组件上浮",val:0,min:0},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},titleLeft:"头部设置",titleGoodsList:"商品列表",titleGoods:"商品设置",titleRight:"头部样式",titleGoodsStyle:"商品样式",titleCurrency:"通用样式",styleConfig:{title:"选择风格",tabVal:1,tabList:[{name:"背景色"},{name:"背景图片"}]},headerBgColor:{title:"头部背景",name:"headerBgColor",default:[{item:"#F62C2C"},{item:"#F96E29"}],color:[{item:"#F62C2C"},{item:"#F96E29"}]},imgBgConfig:{info:"建议:710px * 96px",url:co.apiBaseURL.replace(/adminapi/,"")+"statics/images/bargainBg.png",type:"code",delType:1,name:"背景图片"},titleConfig:{title:"标题类型",tabVal:0,tabList:[{name:"图片"},{name:"文字"}]},imgConfig:{info:"建议:154px * 32px",url:Tc,type:"code",delType:1,name:"标题图片"},imgColorConfig:{info:"建议:154px * 32px",url:jc,type:"code",delType:1,name:"标题图片"},titleTxtConfig:{title:"标题文字",value:"疯狂砍价",place:"请输入标题文字",max:6},tipTxtConfig:{title:"提示文字",value:"低至0元免费拿",place:"请输入提示文字",max:10},rightBntConfig:{title:"右侧按钮",value:"更多",place:"请输入右侧按钮",max:4},goodStyleConfig:{title:"选择风格",tabVal:0,tabList:[{name:"单列展示"},{name:"两列展示"},{name:"三列展示"},{name:"左右滑动"}]},numberConfig:{title:"商品数量",val:3,min:1},checkboxInfo:{title:"展示信息",name:"checkboxInfo",type:[0,1,2,3],list:[{id:0,name:"商品名称"},{id:1,name:"参与人数"},{id:2,name:"商品价格"},{id:3,name:"划线价"}]},bargainConfig:{title:"砍价按钮",tabVal:0,tabList:[{name:"显示"},{name:"隐藏"}]},headerBgColor:{title:"背景颜色",name:"headerBgColor",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},titleText:{title:"标题文字",tabVal:0,tabList:[{name:"加粗",style:"bold"},{name:"正常",style:"normal"},{name:"倾斜",style:"italic"}]},titleColor:{title:"标题颜色",name:"titleColor",default:[{item:"#282828"}],color:[{item:"#282828"}]},titleNumber:{title:"标题字号",val:16,min:0},headerBntColor:{title:"按钮颜色",name:"headerBntColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},headerBntColor2:{title:"按钮颜色",name:"headerBntColor2",default:[{item:"#999"}],color:[{item:"#999"}]},bntNumber:{title:"按钮字号",val:12,min:0},tipsColor:{title:"提示文字",name:"tipsColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},tipsColor2:{title:"提示文字",name:"tipsColor2",default:[{item:"#999"}],color:[{item:"#999"}]},moduleColor:{title:"组件背景",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},dividerColor:{title:"分割线",name:"dividerColor",default:[{item:"#DDDDDD"}],color:[{item:"#DDDDDD"}]},filletImg:{title:"图片圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},goodsName:{title:"商品名称",tabVal:1,tabList:[{name:"加粗",style:"bold"},{name:"正常",style:"normal"}]},goodsNameColor:{title:"商品名称",name:"goodsNameColor",default:[{item:"#333333"}],color:[{item:"#333333"}]},goodsPriceColor:{title:"划线价",name:"goodsPriceColor",default:[{item:"#999999"}],color:[{item:"#999999"}]},toneConfig:{title:"色调",tabVal:0,tabList:[{name:"跟随主题风格"},{name:"自定义"}]},joinNumColor:{title:"参与人数",name:"joinNumColor",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},joinNumColor2:{title:"参与人数",name:"joinNumColor2",default:[{item:"#fff"}],color:[{item:"#fff"}]},joinBgColor:{title:"参与背景",name:"progressColor",default:[{item:"#FF7931"},{item:"#E93323"}],color:[{item:"#FF7931"},{item:"#E93323"}]},bargainPriceColor:{title:"砍价价格",name:"bargainPriceColor",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},goodsBntColor:{title:"按钮颜色",name:"goodsBntColor",default:[{item:"#FF7931"},{item:"#E93323"}],color:[{item:"#FF7931"},{item:"#E93323"}]},goodsBntTxtColor:{title:"按钮文字",name:"goodsBntTxtColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},componentBgConfig:{title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#F5F5F5"},{item:"#F5F5F5"}],color:[{item:"#F5F5F5"},{item:"#F5F5F5"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},bottomBgColor:{title:"底部背景",default:[{item:"#f5f5f5"}],color:[{item:"#f5f5f5"}]},paddingConfig:{title:"内边距",isAll:!1,val:0,min:0,valList:[{val:0},{val:10},{val:0},{val:10}]},marginConfig:{title:"外边距",isAll:!1,val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:8,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]}}),Jc=Object.assign({name:"home_bargain",cname:"砍价",icon:"#iconzujian-kanjia",configName:"c_home_bargain",type:1,defaultName:"bargain",pluginComponent:!0},{__name:"home_bargain",props:{index:{type:null},num:{type:null},colorStyle:{type:null}},setup(t){const n=t,A=ta(n.num),e=Be(),o=v(null),i=v({}),m=v(""),a=v(""),d=v(""),r=v(""),c=v(""),f=v(""),g=v(""),p=v(""),b=v(""),_=v(0),B=v(0),y=v(""),Q=v(""),I=v(""),N=v(0),w=v(""),h=v(""),E=v(0),F=v([]),x=v(0),j=v(""),D=v(""),V=v(""),S=v(0),k=v(""),K=v(""),J=v(0),ee=v(""),T=v(0),H=v(1),R=v(""),G=v(0),z=v(""),ie=v(""),Y=v(""),Z=v(""),re=v(""),te=v(""),ge=v(""),W=v("");M(i,(me,ye)=>{Ae(me)},{deep:!0}),M(()=>n.num,(me,ye)=>{let Te=e.defaultArray[me];Ae(Te)},{deep:!0}),M(()=>e.defaultArray,(me,ye)=>{let Te=e.defaultArray[n.num];Ae(Te)},{deep:!0}),Ce(()=>{ve(()=>{i.value=e.defaultArray[n.num],Ae(i.value)})});function Ae(me){if(!me)return;o.value=me;let ye=!me.paddingConfig,Te=!me.marginConfig;for(let De in A)me[De]==null&&(me[De]=JSON.parse(JSON.stringify(A[De])));ye&&(me.topConfig&&(me.paddingConfig.valList[0].val=me.topConfig.val),me.bottomConfig&&(me.paddingConfig.valList[2].val=me.bottomConfig.val),me.prConfig&&(me.paddingConfig.valList[1].val=me.prConfig.val,me.paddingConfig.valList[3].val=me.prConfig.val)),Te&&me.mbConfig&&(me.marginConfig.valList[0].val=me.mbConfig.val);let Pe=me.moduleColor.color[0].item,Qe=me.moduleColor.color[1].item;if(W.value=`linear-gradient(90deg,${Pe} 0%,${Qe} 100%)`,me.mbConfig||me.marginConfig){m.value=me.imgConfig.url,a.value=me.imgBgConfig.url,I.value=me.imgColorConfig.url,d.value=me.tipsColor.color[0].item,r.value=me.tipsColor2.color[0].item,c.value=me.dividerColor.color[0].item,f.value=me.rightBntConfig.value,g.value=me.tipTxtConfig.value,p.value=me.headerBntColor.color[0].item,b.value=me.headerBntColor2.color[0].item,_.value=me.bntNumber.val,B.value=me.styleConfig.tabVal,y.value=me.headerBgColor&&me.headerBgColor.color[0]?me.headerBgColor.color[0].item:"#F62C2C",Q.value=me.headerBgColor&&me.headerBgColor.color[1]?me.headerBgColor.color[1].item:"#F96E29",N.value=me.titleConfig.tabVal,w.value=me.titleTxtConfig.value;let De=me.titleText.tabVal;E.value=De,h.value=me.titleText.tabList[De].style,F.value=me.checkboxInfo.type;let _e=me.filletImg.type,Ie=me.filletImg.val,Ge=me.filletImg.valList;x.value=_e?Ge[0].val+"px "+Ge[1].val+"px "+Ge[3].val+"px "+Ge[2].val+"px":Ie+"px";let Ne=me.goodsName.tabVal;j.value=me.goodsName.tabList[Ne].style,D.value=me.goodsNameColor.color[0].item,V.value=me.goodsPriceColor.color[0].item,S.value=me.toneConfig.tabVal,k.value=me.goodsBntColor.color[0].item,K.value=me.goodsBntColor.color[1].item,J.value=me.goodStyleConfig.tabVal,ee.value=me.goodsBntTxtColor.color[0].item,T.value=me.bargainConfig.tabVal,H.value=me.numberConfig.val,R.value=me.titleColor.color[0].item,G.value=me.titleNumber.val,z.value=me.styleConfig.tabVal?me.joinNumColor.color[0].item:me.joinNumColor2.color[0].item,ie.value=me.joinNumColor.color[0].item,Y.value=me.bargainPriceColor.color[0].item,Z.value=me.joinBgColor.color[0].item,re.value=me.joinBgColor.color[1].item,te.value=`linear-gradient(90deg,${n.colorStyle.theme} 0%,${n.colorStyle.gradient} 100%)`,ge.value=`linear-gradient(270deg,${n.colorStyle.theme} 0%,${n.colorStyle.gradient} 100%)`}}return(me,ye)=>{const Te=X("common_wrapper");return o.value?(s(),ce(Te,{key:0,config:o.value},{default:P(()=>[l("div",Rc,[l("div",{class:"hd",style:U(B.value?"backgroundImage:url("+a.value+")":`background:linear-gradient(90deg,${y.value} 0%,${Q.value} 100%)`)},[l("div",Mc,[N.value?(s(),u("div",{key:0,class:"text",style:U((E.value==2?"fontStyle:":"fontWeight:")+h.value+";color:"+R.value+";fontSize:"+G.value+"px;")},$(w.value),5)):(s(),u("img",{key:1,src:B.value?m.value:I.value,alt:""},null,8,Kc)),l("div",{class:"line",style:U({background:c.value})},null,4),l("div",{class:"tips",style:U({color:B.value?d.value:r.value})},$(g.value),5)]),l("div",{class:"right",style:U({color:B.value?p.value:b.value,fontSize:_.value+"px"})},[se($(f.value)+" ",1),l("span",{class:"iconfont iconjinru",style:U({fontSize:_.value+"px"})},null,4)],4)],4),l("div",{class:ue(["list-wrapper",J.value==0?"on":J.value==1||J.value==2?"on2":J.value==3?"on3":""]),style:U({background:W.value})},[J.value==0?(s(!0),u(q,{key:0},ae(H.value,(Pe,Qe)=>(s(),u("div",{class:"itemOne acea-row",key:Qe},[l("div",{class:"empty-box",style:U({borderRadius:x.value})},[...ye[0]||(ye[0]=[l("img",{src:he},null,-1)])],4),l("div",Pc,[l("div",Gc,[F.value.indexOf(0)!=-1?(s(),u("div",{key:0,class:"name line2",style:U({fontWeight:j.value,color:D.value})}," 熙米家藏青色工装锥形裤 les 中性风帅T无性别中性多口... ",4)):O("",!0),F.value.indexOf(1)!=-1?(s(),u("div",{key:1,class:"num",style:U({color:S.value?z.value:t.colorStyle.theme})},[...ye[1]||(ye[1]=[l("span",{class:"iconfont iconic_fire"},null,-1),se("1223人正在参与 ",-1)])],4)):O("",!0)]),l("div",{class:ue(["bottom",F.value.indexOf(2)!=-1&&F.value.indexOf(3)!=-1?"":"acea-row row-bottom"])},[F.value.indexOf(2)!=-1?(s(),u("div",{key:0,class:"price",style:U({color:S.value?Y.value:t.colorStyle.theme})},[...ye[2]||(ye[2]=[l("span",{class:"label"},"¥",-1),l("span",{class:"num"},"2690.00",-1)])],4)):O("",!0),F.value.indexOf(3)!=-1?(s(),u("div",{key:1,class:"yprice",style:U({color:V.value})}," ¥1233423.00 ",4)):O("",!0)],2),T.value?O("",!0):(s(),u("div",{key:0,class:"bnt",style:U({color:S.value?ee.value:"#fff",background:S.value?`linear-gradient(270deg,${K.value} 0%,${k.value} 100%)`:te.value})}," 参与砍价 ",4))])]))),128)):O("",!0),J.value==1?(s(!0),u(q,{key:1},ae(H.value,(Pe,Qe)=>(s(),u("div",{class:"itemTwo",key:Qe},[l("div",{class:"empty-box",style:U({borderRadius:x.value})},[...ye[3]||(ye[3]=[l("img",{src:he},null,-1)])],4),l("div",{class:ue(F.value.indexOf(0)!=-1&&F.value.length==1&&!T.value||F.value.indexOf(0)!=-1&&F.value.indexOf(1)!=-1&&F.value.length==2&&!T.value?"item":(!F.value.length||F.value.indexOf(1)!=-1&&F.value.length==1)&&!T.value?"item2":"")},[F.value.indexOf(0)!=-1?(s(),u("div",{key:0,class:"title line1",style:U({fontWeight:j.value,color:D.value})}," 熙米家藏青色工装锥形裤 les 中性风帅T无性别中性多口... ",4)):O("",!0),F.value.indexOf(2)!=-1?(s(),u("div",{key:1,class:ue(["price",F.value.indexOf(3)==-1&&!T.value?"on":""]),style:U({color:S.value?Y.value:t.colorStyle.theme})},[...ye[4]||(ye[4]=[se(" ¥",-1),l("span",{class:"num"},"3200.00",-1)])],6)):O("",!0),F.value.indexOf(3)!=-1?(s(),u("div",{key:2,class:ue(["yprice",F.value.indexOf(2)==-1&&!T.value?"on":""]),style:U({color:V.value})}," ¥3699.00 ",6)):O("",!0),T.value?O("",!0):(s(),u("div",{key:3,class:ue(["bnt",F.value.indexOf(2)==-1&&!T.value?"on":""]),style:U({color:S.value?ee.value:"#fff",background:S.value?`linear-gradient(90deg,${K.value} 0%,${k.value} 100%)`:te.value})}," 去砍价 ",6))],2)]))),128)):O("",!0),J.value==2?(s(!0),u(q,{key:2},ae(H.value,(Pe,Qe)=>(s(),u("div",{class:"list-item",key:Qe},[l("div",zc,[l("div",{class:"empty-box",style:U({borderRadius:x.value})},[...ye[5]||(ye[5]=[l("img",{src:he},null,-1)])],4)]),F.value.indexOf(0)!=-1?(s(),u("div",{key:0,class:"title line1",style:U({fontWeight:j.value,color:D.value})}," 熙米家藏青色工装锥形裤 les 中性风帅T无性别中性多口... ",4)):O("",!0),F.value.indexOf(2)!=-1?(s(),u("div",{key:1,class:"price",style:U({color:S.value?Y.value:t.colorStyle.theme})},[...ye[6]||(ye[6]=[se(" 低至",-1),l("span",{class:"lable"},"¥",-1),l("span",{class:"num"},"350.00",-1)])],4)):O("",!0),F.value.indexOf(3)!=-1?(s(),u("div",{key:2,class:"yprice",style:U({color:V.value})}," ¥3699.00 ",4)):O("",!0)]))),128)):O("",!0),J.value==3?(s(!0),u(q,{key:3},ae(H.value,(Pe,Qe)=>(s(),u("div",{class:"itemThree",key:Qe},[l("div",{class:"empty-box",style:U({borderRadius:x.value})},[...ye[7]||(ye[7]=[l("img",{src:he},null,-1)])],4),l("div",null,[F.value.indexOf(0)!=-1?(s(),u("div",{key:0,class:"title line1",style:U({fontWeight:j.value,color:D.value})}," 熙米家藏青色工装锥形裤 les 中性风帅T无性别中性多口... ",4)):O("",!0),F.value.indexOf(1)!=-1?(s(),u("div",{key:1,class:"joinNum",style:U({color:S.value?ie.value:"#fff",background:S.value?`linear-gradient(90deg,${Z.value} 0%,${re.value} 100%)`:ge.value})}," 175人参与活动 ",4)):O("",!0),F.value.indexOf(2)!=-1?(s(),u("div",{key:2,class:ue(["price",F.value.indexOf(3)==-1&&!T.value?"on":""]),style:U({color:S.value?Y.value:t.colorStyle.theme})},[...ye[8]||(ye[8]=[se(" ¥",-1),l("span",{class:"num"},"3200.00",-1)])],6)):O("",!0),F.value.indexOf(3)!=-1?(s(),u("div",{key:3,class:ue(["yprice",F.value.indexOf(2)==-1&&!T.value?"on":""]),style:U({color:V.value})}," ¥3699.00 ",6)):O("",!0)])]))),128)):O("",!0)],6)])]),_:1},8,["config"])):O("",!0)}}}),Yc=fe(Jc,[["__scopeId","data-v-980a49ed"]]),Xc=Object.freeze(Object.defineProperty({__proto__:null,default:Yc,getDefaultConfig:ta},Symbol.toStringTag,{value:"Module"})),Wc={class:"bottom-menu acea-row row-middle"},$c={class:"icons-box acea-row row-middle"},Zc={key:1,style:{position:"relative"}},qc=["src"],er={key:0,class:"num",style:{position:"absolute",top:"-5px",right:"-5px","background-color":"#f5222d",color:"#fff","font-size":"10px",padding:"0 4px","border-radius":"10px","line-height":"14px"}},tr={class:"text"},or={class:"buttons-box acea-row row-middle"},oa=t=>({cname:"底部菜单",name:"bottomMenu",timestamp:t,isHide:!1,setUp:{tabVal:0},entryConfig:{title:"入口内容",tabVal:0,tabList:[{name:"默认"},{name:"自定义"}]},styleTitle:"样式设置",iconColor:{title:"图标颜色",default:[{item:"#333"}],color:[{item:"#333"}]},iconSize:{title:"图标大小",val:20,min:10,max:50},iconRotate:{title:"旋转角度",val:0,min:0,max:360},padding:{title:"内边距",val:0,min:0,max:50},contentConfigTitle:"内容设置",showContent:{title:"显示内容",name:"showContent",type:[3,1,2],list:[{id:3,name:"首页",icon:"icon-shouye6"},{id:1,name:"收藏",icon:"icon-shoucang4"},{id:2,name:"购物车",icon:"icon-gouwuche"},{id:0,name:"客服",icon:"icon-kefu"},{id:4,name:"分享",icon:"icon-fenxiang4"}]},cartButton:{title:"购物车按钮",tabVal:0,tabList:[{name:"显示"},{name:"隐藏"}]},menuConfig:{title:"最多可添加1张图片,建议宽度90 * 90px",bnt:"添加",type:1,listStyle:0,maxList:100,list:[{img:"",type:0,show:!0,icon:"",info:[{title:"标题",value:"标题",tips:"选填,不超过4个字",max:4},{title:"链接",value:"",tips:"请输入链接",max:100}]}]},buttonStyleTitle:"按钮设置",toneConfig:{title:"按钮色调",tabVal:0,tabList:[{name:"跟随主题风格"},{name:"自定义"}]},cartColor:{title:"购物车按钮",default:[{item:"#FAAD14"},{item:"#FAAD14"}],color:[{item:"#FAAD14"},{item:"#FAAD14"}]},buyColor:{title:"购买按钮",default:[{item:"#E93323"},{item:"#E93323"}],color:[{item:"#E93323"},{item:"#E93323"}]},generalStyleTitle:"通用样式",moduleColor:{title:"组件背景",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},bottomBgColor:{title:"底部背景",default:[{item:"#F5F5F5"}],color:[{item:"#F5F5F5"}]},componentBgConfig:{title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},zIndexConfig:{title:"组件上浮",val:0,min:0},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},paddingConfig:{title:"内边距",isAll:!1,val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},marginConfig:{title:"外边距",isAll:!1,val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},menuPcFillet:{title:"圆角设置",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]}}),Ar=Object.assign({name:"home_bottom_menu",cname:"底部菜单",configName:"c_bottom_menu",icon:"#iconzujian-dibucaidan",type:-1,defaultName:"bottomMenu"},{__name:"home_bottom_menu",props:{index:{type:null},num:{type:null},colorStyle:{type:null}},setup(t){const n=t;oa(n.num);const A=Be(),e=pe(()=>{var I;return(I=p.value)==null?void 0:I.entryConfig}),o=pe(()=>{var I;return((I=e.value)==null?void 0:I.tabVal)===1}),i=pe(()=>{var I,N;return o.value&&((N=(I=p.value)==null?void 0:I.menuConfig)==null?void 0:N.listStyle)===0}),m=pe(()=>{var I,N;return o.value&&((N=(I=p.value)==null?void 0:I.menuConfig)==null?void 0:N.listStyle)===1}),a=pe(()=>{var w;const I=(w=p.value)==null?void 0:w.menuPcFillet;if(!I)return{width:"20px",height:"20px"};let N;return I.type?N=`${I.valList[0].val}px ${I.valList[1].val}px ${I.valList[3].val}px ${I.valList[2].val}px`:N=`${I.val}px`,{borderRadius:N,width:"20px",height:"20px",display:"block"}}),d=pe(()=>{var x,j,D,V,S,k,K;const I=p.value;if(!I)return{};const N=((D=(j=(x=I.iconColor)==null?void 0:x.color)==null?void 0:j[0])==null?void 0:D.item)||"#333",w=((V=I.iconSize)==null?void 0:V.val)||20,h=((S=I.iconRotate)==null?void 0:S.val)||0,E=((k=I.padding)==null?void 0:k.val)||0,F=((K=I.shadow)==null?void 0:K.tabVal)===1?"0px 2px 4px rgba(0,0,0,0.2)":"none";return{width:"20px",height:"20px",color:N,fontSize:`${w}px`,transform:`rotate(${h}deg)`,padding:`${E}px`,textShadow:F,display:"inline-block"}}),r=v({}),c=v([]),f=v(!0),g=v(0),p=v(null),b=v(""),_=v(""),B=v(""),y=v("");M(r,(I,N)=>{Q(I)},{deep:!0}),M(()=>n.num,(I,N)=>{let w;I?w=A.defaultArray[I]:w=A.bottomMenu,Q(w)},{deep:!0}),M(()=>A.defaultArray,(I,N)=>{if(n.num){let w=A.defaultArray[n.num];Q(w)}},{deep:!0}),M(()=>A.bottomMenu,(I,N)=>{n.num||Q(I)},{deep:!0}),M(()=>n.colorStyle,(I,N)=>{B.value=`linear-gradient(90deg,${I.theme} 0%,${I.gradient} 100%)`},{deep:!0}),Ce(()=>{ve(()=>{n.num?r.value=A.defaultArray[n.num]:r.value=A.bottomMenu,Q(r.value)})});function Q(I){if(!I)return;if(I.entryConfig&&I.entryConfig.tabVal===1){let F=I.menuConfig.list||[];c.value=F.filter(x=>x.show).map(x=>({name:x.info[0].value,icon:x.icon,img:x.img,id:"custom",url:x.url}))}else{let F=I.showContent.type,x=I.showContent.list;c.value=F.map(j=>x.find(D=>D.id===j)).filter(j=>j)}f.value=I.cartButton.tabVal===0,g.value=I.toneConfig.tabVal;let N=I.cartColor.color[0].item,w=I.cartColor.color[1].item;b.value=`linear-gradient(90deg,${N} 0%,${w} 100%)`;let h=I.buyColor.color[0].item,E=I.buyColor.color[1].item;_.value=`linear-gradient(90deg,${h} 0%,${E} 100%)`,I.componentBgConfig||(I.componentBgConfig={title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:I.moduleColor.default,color:I.moduleColor.color},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}}),I.marginConfig||(I.marginConfig={isAll:!1,val:0,valList:[{val:0},{val:0},{val:0},{val:0}]}),p.value=I,B.value=`linear-gradient(90deg,${n.colorStyle.theme} 0%,${n.colorStyle.gradient} 100%)`,y.value="linear-gradient(90deg, #FAAD14 0%, #FAAD14 100%)"}return(I,N)=>{const w=X("common_wrapper");return s(),ce(w,{config:p.value},{default:P(()=>[l("div",Wc,[l("div",$c,[(s(!0),u(q,null,ae(c.value,(h,E)=>(s(),u("div",{class:ue(["item",{"gift-item":h.id===5}]),key:E},[!i.value&&!h.url?(s(),u("div",{key:0,class:ue(["mb-iconfont",h.icon]),style:U(m.value?d.value:"")},null,6)):(s(),u("div",Zc,[l("img",{class:"menu-img",src:h.img,style:U(a.value),alt:""},null,12,qc),h.id===2?(s(),u("span",er,"0")):O("",!0)])),l("div",tr,$(h.name),1)],2))),128))]),l("div",or,[f.value?(s(),u("div",{key:0,class:"btn cart-btn",style:U({background:g.value?b.value:y.value})}," 加入购物车 ",4)):O("",!0),l("div",{class:"btn buy-btn",style:U({background:g.value?_.value:B.value})}," 立即购买 ",4)])])]),_:1},8,["config"])}}}),Aa=fe(Ar,[["__scopeId","data-v-9af5c644"]]),nr=Object.freeze(Object.defineProperty({__proto__:null,default:Aa,getDefaultConfig:oa},Symbol.toStringTag,{value:"Module"})),lr={class:"bgImg"},ir=["src"],ar={class:"searchBox acea-row row-between-wrapper"},sr={key:0,class:"title"},cr=["src"],rr={key:0,class:"hot"},ur={key:1},dr={key:0,class:"nav acea-row row-between-wrapper flex-no-wrap"},mr={class:"list"},gr={class:"listCon acea-row row-middle"},fr=["src"],vr={class:"acea-row row-middle"},pr=["src"],Cr=["src"],_r={key:1,class:"shan",src:he},br=["src"],na=t=>({cname:"轮播搜索",desc:"轮播搜索组件",name:"homeComb",timestamp:t,isHide:!1,setUp:{tabVal:0},titleLeft:"展示设置",titleSearch:"搜索设置",titleHotWords:"搜索热词",titleTab:"选项卡设置",titleImg:"图片设置",titleRight:"标签设置",titlePointer:"指示器设置",titleGradient:"通用样式",styleConfig:{title:"选择风格",tabVal:0,tabList:[{name:"样式一"},{name:"样式二"}]},classConfig:{title:"分类设置",tabVal:0,tabList:[{name:"显示"},{name:"隐藏"}]},searchConfig:{title:"搜索设置",tabVal:0,tabList:[{name:"正常显示"},{name:"滚动至顶部固定"}]},searchBox:{title:"搜索框",tabVal:1,tabList:[{name:"文字"},{name:"logo"}]},searchFix:{title:"定位类型",tabVal:0,tabList:[{name:"门店"},{name:"用户定位"}]},titleConfig:{title:"标题",value:"标题",place:"请输入标题",max:6},logoConfig:{info:"建议:200px * 100px",url:"",type:"code",name:"默认logo"},logoUpConfig:{info:"建议:200px * 100px",url:"",type:"code",name:"顶部固定logo"},inputConfig:{title:"提示文字",value:"请输入搜索词",place:"填写内容",max:10},hotWords:{list:[{val:""}]},gradientColor:{title:"组件背景",default:[{item:"#f5f5f5"}],color:[{item:"#f5f5f5"}]},numConfig:{placeholder:"设置搜索热词显示时间",title:"滚动时间",val:3,type:"words"},tabListConfig:{title:"鼠标拖拽版块可调整选项卡顺序",max:100,list:[{text:{title:"显示文字",val:"首页",max:4,pla:"请输入分类名称"},dataType:{title:"数据类型",tabVal:0,tabList:[{name:"微页面"},{name:"商品分类"}]},microPage:{name:"",id:0},classPage:{name:"",id:0}},{text:{title:"显示文字",val:"标题标题",max:4,pla:"请输入分类名称"},dataType:{title:"数据类型",tabVal:0,tabList:[{name:"微页面"},{name:"商品分类"}]},microPage:{name:"",id:0},classPage:{name:"",id:0}},{text:{title:"显示文字",val:"标题标题",max:4,pla:"请输入分类名称"},dataType:{title:"数据类型",tabVal:0,tabList:[{name:"微页面"},{name:"商品分类"}]},microPage:{name:"",id:0},classPage:{name:"",id:0}},{text:{title:"显示文字",val:"标题标题",max:4,pla:"请输入分类名称"},dataType:{title:"数据类型",tabVal:0,tabList:[{name:"微页面"},{name:"商品分类"}]},microPage:{name:"",id:0},classPage:{name:"",id:0}}]},contentConfig:{title:"内容间距",val:20,min:0},classColor:{title:"下拉分类",default:[{item:"#E93323"},{item:"#E93323"}],color:[{item:"#E93323"},{item:"#E93323"}]},docConfig:{title:"指示器样式",tabVal:0,tabList:[{name:"样式一"},{name:"样式二"},{name:"样式三"},{name:"样式四"}]},docPosition:{title:"指示器位置",tabVal:1,tabList:[{name:"左对齐"},{name:"居中对齐"},{name:"右对齐"}]},toneConfig:{title:"色调",tabVal:0,tabList:[{name:"跟随主题风格"},{name:"自定义"}]},dotColor:{title:"选中样式",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},dotBgColor:{title:"常规样式",default:[{item:"#DDDDDD"}],color:[{item:"#DDDDDD"}]},filletImg:{title:"图片圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:10,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},swiperConfig:{title:"建议:图片尺寸702*320px;鼠标拖拽版块可调整图片顺序",bnt:"添加",maxList:10,list:[{img:"",info:[{title:"标题",value:"标题",tips:"选填,不超过4个字",max:4},{title:"链接",value:"",tips:"请输入链接",max:100}]}]},paddingConfig:{title:"内边距",val:0,min:0,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},marginConfig:{title:"外边距",val:0,min:0,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},bottomBgColor:{title:"底部背景",default:[{item:"#f5f5f5"}],color:[{item:"#f5f5f5"}]},zIndexConfig:{title:"组件上浮",val:0,min:0},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},componentBgConfig:{title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#E93323"},{item:"#E93323"}],color:[{item:"#E93323"},{item:"#E93323"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}}}),Br=Object.assign({name:"home_comb",cname:"轮播搜索",icon:"#iconzujian-zuhezujian",defaultName:"homeComb",configName:"c_home_comb",type:0},{__name:"home_comb",props:{index:{type:null},num:{type:null},colorStyle:{type:null}},setup(t){const n=t,A=na(n.num),e=Be(),o=pe(()=>({"background-image":`linear-gradient(to bottom, rgba(245,245,245,0) 0%, rgba(245,245,245,0) 50%, ${D.value} 100%)`})),i=v({}),m=v(""),a=v([]),d=v([]),r=v(0),c=v(0),f=v(0),g=v(""),p=v(""),b=v(0),_=v(0),B=v(0),y=v(""),Q=v(""),I=v(0),N=v(0),w=v(0),h=v(0),E=v([]),F=v(0),x=v(0),j=v(""),D=v("#f5f5f5"),V=v(null);M(i,(k,K)=>{S(k)},{deep:!0}),M(()=>n.num,(k,K)=>{const J=e.defaultArray[k];S(J)},{deep:!0}),M(()=>e.defaultArray,(k,K)=>{const J=e.defaultArray[n.num];S(J)},{deep:!0}),Ce(()=>{ve(()=>{i.value=e.defaultArray[n.num],S(i.value)})});function S(k){if(!k)return;let K=JSON.parse(JSON.stringify(k));for(let H in A)K[H]===void 0&&(K[H]=JSON.parse(JSON.stringify(A[H])));V.value=K,d.value=K.tabListConfig.list,r.value=K.styleConfig.tabVal,c.value=K.classConfig.tabVal,f.value=K.searchConfig.tabVal,F.value=K.searchBox.tabVal,x.value=K.searchFix.tabVal,m.value=K.logoConfig.url,j.value=K.titleConfig.value,g.value=K.inputConfig.value,p.value=K.hotWords.list.length?K.hotWords.list[0].val:"",b.value=K.contentConfig.val,E.value=K.swiperConfig.list,a.value=K.swiperConfig.list.length?K.swiperConfig.list[0].img:"",_.value=K.docPosition.tabVal,B.value=K.toneConfig.tabVal,y.value=K.dotBgColor.color[0].item,Q.value=K.dotColor.color[0].item,I.value=K.docConfig.tabVal,D.value=K.gradientColor.color[0].item;let J=K.filletImg.type,ee=K.filletImg.val,T=K.filletImg.valList;N.value=J?T[0].val+"px "+T[1].val+"px "+T[3].val+"px "+T[2].val+"px":ee+"px",w.value=J?"0 "+T[1].val+"px "+T[3].val+"px 0":"0 "+ee+"px "+ee+"px 0",h.value=J?T[1].val+"px 0 0 "+T[3].val+"px":ee+"px 0 0 "+ee+"px"}return(k,K)=>{const J=X("common_wrapper");return V.value?(s(),ce(J,{key:0,config:V.value},{default:P(()=>[l("div",{class:ue(["homeComb",a.value?"":"on"])},[l("div",lr,[a.value?(s(),u("img",{key:0,src:a.value},null,8,ir)):O("",!0)]),l("div",{class:"bag-gradient",style:U([o.value])},null,4),l("div",ar,[F.value==0?(s(),u("div",sr,$(j.value),1)):O("",!0),m.value&&F.value==1?(s(),u("img",{key:1,src:m.value,alt:""},null,8,cr)):O("",!0),l("div",{class:ue(["box acea-row row-between-wrapper",m.value?"":"on"])},[p.value?(s(),u("span",rr,$(p.value),1)):(s(),u("span",ur,$(g.value),1)),K[0]||(K[0]=l("span",{class:"iconfont iconsousuo1"},null,-1))],2)]),c.value==0?(s(),u("div",dr,[l("div",mr,[l("div",gr,[(s(!0),u(q,null,ae(d.value.slice(0,20),(ee,T)=>(s(),u("div",{class:ue(["item",T==0?"on":""]),style:U({marginLeft:b.value+"px"}),key:T},$(ee.text.val),7))),128))])]),K[1]||(K[1]=l("div",{class:"acea-row row-middle flex-no-wrap"},[l("div",{class:"bar"}),l("div",{class:"iconfont iconerweima"})],-1))])):O("",!0),r.value==0?(s(),u("div",{key:1,class:ue(["banner",c.value==0?"":"on"])},[a.value?(s(),u("img",{key:0,src:a.value,style:U({borderRadius:N.value})},null,12,fr)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:N.value})},[...K[2]||(K[2]=[l("img",{class:"shan",src:he},null,-1)])],4))],2)):(s(),u("div",{key:2,class:ue(["banner ons",c.value==0?"":"on"])},[l("div",vr,[l("div",{class:"empty-box style3",style:U({borderRadius:w.value})},[E.value.length>1&&E.value[1].img?(s(),u("img",{key:0,src:E.value[1].img,alt:"",style:U({borderRadius:w.value})},null,12,pr)):O("",!0)],4),l("div",{class:"empty-box style3 on",style:U({borderRadius:N.value})},[E.value.length&&E.value[0].img?(s(),u("img",{key:0,src:E.value[0].img,alt:"",style:U({borderRadius:N.value})},null,12,Cr)):(s(),u("img",_r))],4),l("div",{class:"empty-box style3",style:U({borderRadius:h.value})},[E.value.length>2&&E.value[2].img?(s(),u("img",{key:0,src:E.value[2].img,alt:"",style:U({borderRadius:h.value})},null,12,br)):O("",!0)],4)])],2)),l("div",{class:ue(r.value?"banDot":"")},[I.value==2?(s(),u("div",{key:0,class:"dot",style:U({justifyContent:_.value===1?"center":_.value===2?"flex-end":"flex-start"})},[l("div",{class:"line-dot",style:U({background:B.value?y.value:"#ddd"})},[l("div",{class:"item",style:U({background:B.value?`${Q.value}`:`${t.colorStyle.theme}`})},null,4)],4)],4)):(s(),u("div",{key:1,class:ue(["dot",I.value==1?"on":I.value==3?"on2":""]),style:U({justifyContent:_.value===1?"center":_.value===2?"flex-end":"flex-start"})},[l("div",{class:ue(["dot-item",I.value==1?"ons":""]),style:U({background:B.value?`${Q.value}`:`${t.colorStyle.theme}`})},null,6),(s(),u(q,null,ae(2,(ee,T)=>l("div",{class:"dot-item",style:U({background:B.value?y.value:"#ddd"}),key:T},null,4)),64))],6))],2)],2)]),_:1},8,["config"])):O("",!0)}}}),hr=fe(Br,[["__scopeId","data-v-aa15ad48"]]),yr=Object.freeze(Object.defineProperty({__proto__:null,default:hr,getDefaultConfig:na},Symbol.toStringTag,{value:"Module"})),wr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJgAAAAUCAYAAABxsPSCAAAAAXNSR0IArs4c6QAAAv9JREFUaEPtmcuNFDEQhn/zWhASSJwhAYgAIiACwiMAIoAEIII9cWS5cdnlwBvDN3IttaYf4xl3T7fGlkp2v+xy+VOVXR1ijO8lPZB0V9KJWmkW2N8C3yR9lvQpxBg/uv5uSLoj6bakm/uP03o4Igv8kPRV0hdJP23eOWDeHtcTaMB2S1I4ImO1qY5bIEr6nqACrF9dnwwB5t+/lsInsBFGuW7l+CzwWxLhD6CouR4s2wKWd0L4BDQLpc27jVl6nc/xUhb6AIp2UdkVMD8IcAEbYZS67d2KlmBxLwMRMBH+qIFs51IDsHxwwiewmQBc83A7L9GkH5qHAiaT0bBXohGAvZT0WNKjkg8L3gUuYAM0g67t4QoMWPFV4DGQ8FS09/JQA7pdSDq99CwxRgB7IumpqyvO7UpXnFANOsBDGnR1rQ1MQGQCTJ0nvUrDnkp6B1TUIYQP9NsbumKM9xJozx10lXTp7AboDDbycbS518LrsNXxQIADSOSfDKgpYUIjAwqo3oYQ8Fj/la0XL3k4vJsBB4BzFGDLBfCQYyoAgwBRLnPYAYA2MP3dUr3qAypXZGvA8g9jjMD2Inm3qfZvQ4ZDdyADPgPOasLtmryfeSHCmoHkgaI91V5pyMbmpV6HEICruOwMmB8pxsjeDcG7TXlgKJ2gQQhwufCMe76mbeK3EH12skX3NW0TgKHta9peDgVPly3ZN71J4Q+oOsNeySJUAazDu3ng8HRzhdOSubd3/+2j8FRVgKoWIktWx3k4O6ECYCvzWmCTNnCb896NeU21JvFgYwq6EyqgPVtYWB1Tfw3PPUxX0gZzK38QwLommUEHeJaXa+F1mAr2TZZ/OtskN1MOam6YusZbDGB9xkjhFdjs8ED74YR/HpawLrkOQGReiTYgXSYzl6iw6bR4wIaMl+CzhDDgIVwj1l6y/dENcM4TNAaSQUR4O69xmjuUEVYN2DZGSwliPN79BB5til1bzT175rvuy/EZGLka3Ec2v0ocQHafewbQquHZxv5/AFJW597fr7VVAAAAAElFTkSuQmCC",Qr={class:"list acea-row row-middle"},xr={class:"money"},Ir={class:"list acea-row row-middle"},Ur={class:"list acea-row row-middle"},Fr={class:"left"},Er={class:"listCon acea-row row-middle"},Sr={class:"list acea-row row-middle"},Lr={class:"left"},la=t=>({cname:"优惠券",name:"coupon",desc:"优惠券的介绍",timestamp:t,isHide:!1,setUp:{tabVal:0},zIndexConfig:{title:"组件上浮",val:0,min:0},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},titleLeft:"展示设置",titleData:"优惠券数据",titleRight:"优惠券样式",titleCurrency:"通用样式",styleConfig:{title:"选择风格",tabVal:0,tabList:[{name:"风格一"},{name:"风格二"},{name:"风格三"},{name:"风格四"}]},numberConfig:{title:"展示数量",val:5,min:1},toneConfig:{title:"色调",tabVal:0,tabList:[{name:"跟随主题风格"},{name:"自定义"}]},couponMoneyColor:{title:"优惠金额",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},couponReduceColor:{title:"满减文字",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},couponTypeColor:{title:"优惠券类型",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},bntTxtColor:{title:"按钮文字",default:[{item:"#FFFFFF"}],color:[{item:"#FFFFFF"}]},bntBgColor:{title:"按钮背景",name:"bntBgColor",default:[{item:"#FF7931"},{item:"#E93323"}],color:[{item:"#FF7931"},{item:"#E93323"}]},couponBgColor:{title:"优惠券背景",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},spacingConfig:{title:"优惠券间距",val:6,min:0},moduleColor:{title:"组件背景",default:[{item:"#E93323"},{item:"#FF7931"}],color:[{item:"#E93323"},{item:"#FF7931"}]},componentBgConfig:{title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#F5F5F5"},{item:"#F5F5F5"}],color:[{item:"#F5F5F5"},{item:"#F5F5F5"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},bottomBgColor:{title:"底部背景",default:[{item:"#f5f5f5"}],color:[{item:"#f5f5f5"}]},paddingConfig:{title:"内边距",isAll:!1,val:10,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},marginConfig:{title:"外边距",isAll:!1,val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:8,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]}}),Nr=Object.assign({name:"home_coupon",cname:"优惠券",configName:"c_home_coupon",icon:"#iconzujian-youhuiquan",type:1,defaultName:"coupon"},{__name:"home_coupon",props:{index:{type:null},num:{type:null},colorStyle:{type:null}},setup(t){const n=t,A=la(n.num),e=Be(),o=v({}),i=v(0),m=v(0),a=v(0),d=v(""),r=v(""),c=v(""),f=v(""),g=v(""),p=v(""),b=v(""),_=v(""),B=v(null),y=v(0),Q=v(0),I=v(""),N=v("");M(o,(h,E)=>{w(h)},{deep:!0}),M(()=>n.num,(h,E)=>{let F=e.defaultArray[h];w(F)},{deep:!0}),M(()=>e.defaultArray,(h,E)=>{let F=e.defaultArray[n.num];w(F)},{deep:!0}),Ce(()=>{ve(()=>{o.value=e.defaultArray[n.num],w(o.value)})});function w(h){if(!h)return;for(let V in A)h[V]==null&&(h[V]=JSON.parse(JSON.stringify(A[V])));i.value=h.numberConfig.val,m.value=h.styleConfig.tabVal,a.value=h.toneConfig.tabVal,r.value=h.couponMoneyColor.color[0].item,c.value=h.couponReduceColor.color[0].item,f.value=h.couponTypeColor.color[0].item,g.value=h.bntTxtColor.color[0].item,p.value=h.bntBgColor.color[0].item,b.value=h.bntBgColor.color[1].item,d.value=h.couponBgColor.color[0].item,Q.value=h.spacingConfig.val;let E=h.moduleColor.color[0].item,F=h.moduleColor.color[1].item;_.value=`linear-gradient(90deg,${E} 0%,${F} 100%)`;let x=h.fillet.type,j=h.fillet.val,D=h.fillet.valList;y.value=x?D[0].val+"px "+D[1].val+"px "+D[3].val+"px "+D[2].val+"px":j+"px",B.value=h,I.value=`linear-gradient(90deg,${n.colorStyle.theme} 0%,${n.colorStyle.gradient} 100%)`,N.value=`linear-gradient(0deg,${n.colorStyle.theme} 0%,${n.colorStyle.gradient} 100%)`}return(h,E)=>{const F=X("common_wrapper");return s(),ce(F,{config:B.value},{default:P(()=>[l("div",{class:"couponCon",style:U({background:_.value,borderRadius:y.value})},[m.value==0?(s(),u("div",{key:0,class:"coupon1 acea-row row-middle",style:U({borderRadius:y.value})},[l("div",Qr,[(s(!0),u(q,null,ae(i.value,(x,j)=>(s(),u("div",{class:"item",key:j,style:U({marginRight:Q.value+"px",background:a.value?d.value:t.colorStyle.theme})},[l("div",xr,[l("div",{style:U({color:a.value?r.value:t.colorStyle.theme})},[...E[0]||(E[0]=[l("span",{class:"lable"},"¥",-1),se("70 ",-1)])],4),E[1]||(E[1]=l("div",{class:"tips"},"满5000可用",-1))]),l("div",{class:"sill",style:U({background:a.value?`linear-gradient(90deg,${b.value} 0%,${p.value} 100%)`:I.value})}," 满200可用 ",4),E[2]||(E[2]=l("img",{src:wr},null,-1))],4))),128))])],4)):m.value==1?(s(),u("div",{key:1,class:"coupon2 acea-row row-middle",style:U({background:_.value,borderRadius:y.value})},[l("div",Ir,[(s(!0),u(q,null,ae(i.value,(x,j)=>(s(),u("div",{class:"item",style:U({marginRight:Q.value+"px"}),key:j},[l("div",{class:"type",style:U({color:a.value?f.value:"#333333"})}," 品类券 ",4),l("div",{class:"money",style:U({color:a.value?r.value:t.colorStyle.theme})},[...E[3]||(E[3]=[l("span",{class:"label"},"¥",-1),se("50 ",-1)])],4),l("div",{class:"tips",style:U({color:a.value?c.value:t.colorStyle.theme})}," 满500元可用 ",4),l("div",{class:"bnt",style:U({background:a.value?`linear-gradient(90deg,${b.value} 0%,${p.value} 100%)`:I.value,color:a.value?g.value:"#ffffff"})}," 去领取 ",4)],4))),128))])],4)):m.value==2?(s(),u("div",{key:2,class:"coupon acea-row row-middle",style:U({borderRadius:y.value})},[l("div",Ur,[(s(!0),u(q,null,ae(i.value,(x,j)=>(s(),u("div",{class:"itemCon",style:U({marginRight:Q.value+"px"}),key:j},[l("div",{class:"item",style:U({color:a.value?r.value:t.colorStyle.theme,borderColor:a.value?r.value:t.colorStyle.theme})},[l("div",Fr,[l("div",{class:"num",style:U({color:a.value?r.value:t.colorStyle.theme})},[...E[4]||(E[4]=[l("span",null,"¥",-1),se("50 ",-1)])],4),l("div",{class:"txt",style:U({color:a.value?c.value:t.colorStyle.theme})}," 满100元可用 ",4)]),l("div",{class:"right",style:U({color:a.value?g.value:t.colorStyle.theme,borderColor:a.value?g.value:t.colorStyle.theme,background:a.value?`linear-gradient(0deg,${b.value} 0%,${p.value} 100%)`:"transparent"})},[...E[5]||(E[5]=[l("div",{class:"rightCon"},"立即领取",-1)])],4),l("div",{class:"roll up-roll",style:U({color:a.value?r.value:t.colorStyle.theme,borderColor:a.value?r.value:t.colorStyle.theme})},null,4),l("div",{class:"roll down-roll",style:U({color:a.value?r.value:t.colorStyle.theme,borderColor:a.value?r.value:t.colorStyle.theme})},null,4)],4)],4))),128))])],4)):m.value==3?(s(),u("div",{key:3,class:"coupon4",style:U({borderRadius:y.value})},[l("div",{class:"list acea-row row-middle",style:U({background:a.value?d.value:t.colorStyle.theme})},[l("div",Er,[(s(!0),u(q,null,ae(i.value,(x,j)=>(s(),u(q,{key:j},[j<4?(s(),u("div",{key:0,class:"item",style:U({marginRight:Q.value+"px"})},[l("div",{class:"type",style:U({background:a.value?f.value:t.colorStyle.theme})},[l("div",{class:"typeCon",style:U({color:a.value?f.value:t.colorStyle.theme})}," 通用券 ",4)],4),l("div",{class:"money",style:U({color:a.value?r.value:t.colorStyle.theme})},[...E[6]||(E[6]=[l("span",{class:"label"},"¥",-1),se("50 ",-1)])],4),l("div",{class:"tips",style:U({color:a.value?c.value:"#333333"})}," 满5000可用 ",4)],4)):O("",!0)],64))),128))]),l("div",{class:"pocket",style:U({background:a.value?`linear-gradient(0deg,${b.value} 0%,${p.value} 100%)`:N.value})},[E[7]||(E[7]=l("div",{class:"tips"},"先领券 再购物",-1)),E[8]||(E[8]=l("div",{class:"info"},"领券下单·享购物优惠",-1)),l("div",{class:"bnt",style:U({background:a.value?`linear-gradient(90deg,${b.value} 0%,${p.value} 100%)`:t.colorStyle.theme})},[l("div",{class:"bntCon",style:U({background:a.value?`linear-gradient(90deg,${b.value} 0%,${p.value} 100%)`:"rgba(255, 255, 255, 0.9)",color:a.value?g.value:t.colorStyle.theme})}," 立即领取 ",4)],4)],4)],4)],4)):(s(),u("div",{key:4,class:"coupon5 acea-row row-middle",style:U({borderRadius:y.value})},[l("div",Sr,[(s(!0),u(q,null,ae(i.value,(x,j)=>(s(),u("div",{class:"item acea-row row-middle",style:U({marginRight:Q.value+"px",background:a.value?`linear-gradient(0deg,${b.value} 0%,${p.value} 100%)`:N.value}),key:j},[l("div",Lr,[l("div",{class:"money",style:U({color:a.value?r.value:t.colorStyle.theme})},[...E[9]||(E[9]=[l("span",{class:"label"},"¥",-1),se("50 ",-1)])],4),E[10]||(E[10]=l("div",{class:"tips"},"满5000可用",-1))]),E[11]||(E[11]=l("div",{class:"right acea-row row-center"},[l("div",{class:"rightCon"},"领取")],-1)),E[12]||(E[12]=l("div",{class:"roll"},null,-1))],4))),128))])],4))],4)]),_:1},8,["config"])}}}),kr=fe(Nr,[["__scopeId","data-v-2eea208e"]]),Vr=Object.freeze(Object.defineProperty({__proto__:null,default:kr,getDefaultConfig:la},Symbol.toStringTag,{value:"Module"})),Or={key:0,class:"custom-box"},Dr={key:0},Hr=["src"],Tr={key:1,style:{width:"100%"}},jr=["src"],Rr={key:3,style:{display:"flex","align-items":"center","justify-content":"center",width:"100%",height:"100%"}},Mr={key:1,class:"custom-box custom-component-box"},ia=t=>({cname:"超级组件",name:"customComponent",timestamp:t,messageTitle:"信息设置",dataTitle:"数据设置",designTitle:"组件设计",commonTitle:"通用样式",dataStyleTitle:"数据样式",setUp:{tabVal:0},selectType:{title:"选择信息",activeValue:"user",list:[{activeValue:"user",title:"用户"},{activeValue:"article",title:"文章"},{activeValue:"coupon",title:"优惠券"},{activeValue:"goods",title:"商品"}]},articleDisplayMode:{title:"展示方式",tabVal:0,tabList:[{name:"纵向平铺"},{name:"横向滑动"}]},articleColumnStyle:{title:"排列方式",tabVal:0,tabList:[{name:"1列"},{name:"2列"},{name:"3列"},{name:"4列"}]},articleDataSource:{title:"数据选择",tabVal:0,tabList:[{name:"指定数据"},{name:"筛选数据"}]},articleList:{list:[]},articleClass:{title:"文章分类",activeValue:"",list:[]},articleNum:{title:"显示数量",val:1,min:1},articleSort:{title:"排序类型",tabVal:0,tabList:[{name:"浏览量"},{name:"发布时间"}]},articleSortRule:{title:"排序规则",tabVal:0,tabList:[{name:"升序"},{name:"降序"}]},couponDisplayMode:{title:"展示方式",tabVal:0,tabList:[{name:"纵向平铺"},{name:"横向滑动"}]},couponColumnStyle:{title:"排列方式",tabVal:0,tabList:[{name:"1列"},{name:"2列"},{name:"3列"},{name:"4列"}]},couponDataSource:{title:"数据选择",tabVal:0,tabList:[{name:"指定数据"},{name:"筛选数据"}]},couponList:{list:[]},couponType:{title:"优惠券类型",activeValue:"",list:[{activeValue:"",title:"全部"},{activeValue:"0",title:"通用券"},{activeValue:"1",title:"品类券"},{activeValue:"2",title:"商品券"}]},couponUserType:{title:"用户类型",activeValue:"",list:[{activeValue:"",title:"全部"},{activeValue:"1",title:"普通用户"},{activeValue:"2",title:"会员用户"}]},couponSendType:{title:"发送方式",activeValue:"",list:[{activeValue:"",title:"全部"},{activeValue:"1",title:"手动领取"},{activeValue:"3",title:"赠送券"}]},couponThreshold:{title:"使用门槛",tabVal:0,tabList:[{name:"无门槛"},{name:"有门槛"}]},couponThresholdValue:{title:"门槛金额",val:0,min:0,max:1e4},couponTime:{title:"领取时间",val:[]},couponSort:{title:"排序类型",tabVal:0,tabList:[{name:"面值大小"},{name:"发布时间"}]},couponSortRule:{title:"排序规则",tabVal:0,tabList:[{name:"升序"},{name:"降序"}]},couponNum:{title:"显示数量",val:1,min:1},goodsDisplayMode:{title:"展示方式",tabVal:0,tabList:[{name:"纵向平铺"},{name:"横向滑动"}]},goodsColumnStyle:{title:"排列方式",tabVal:0,tabList:[{name:"1列"},{name:"2列"},{name:"3列"},{name:"4列"}]},goodsDataSource:{title:"数据选择",tabVal:0,tabList:[{name:"指定数据"},{name:"指定分类"}]},goodsList:{title:"商品列表",max:20,list:[]},goodsClass:{title:"商品分类",activeValue:"",list:[]},goodsNum:{title:"显示数量",val:6,min:1},goodsSort:{title:"商品排序",tabVal:0,tabList:[{name:"销量"},{name:"价格"}]},goodsSortRule:{title:"排序规则",tabVal:0,tabList:[{name:"降序"},{name:"升序"}]},paddingConfig:{isAll:!1,title:"内边距",val:0,min:0,max:500,valList:[{val:0},{val:0},{val:0},{val:0}]},marginConfig:{isAll:!1,title:"外边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},bottomBgColor:{title:"底部背景",default:[{item:"#F5F5F5"}],color:[{item:"#F5F5F5"}]},componentBgConfig:{title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:6,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},moduleColor:{title:"组件背景",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},zIndexConfig:{title:"组件上浮",val:0,min:0}}),Kr=Object.assign({name:"home_custom_component",cname:"超级组件",configName:"c_custom_component",icon:"#iconzujian-zidingyi",type:0,defaultName:"customComponent"},{__name:"home_custom_component",props:{index:{type:null},num:{type:null},colorStyle:{type:null}},setup(t){const n=t;ia(n.num);const A=Be(),e=pe(()=>c.value.selectType?c.value.selectType.activeValue:"user"),o=pe(()=>e.value==="article"?c.value.articleDisplayMode:e.value==="coupon"?c.value.couponDisplayMode:e.value==="goods"?c.value.goodsDisplayMode:null),i=pe(()=>e.value==="article"?c.value.articleColumnStyle:e.value==="coupon"?c.value.couponColumnStyle:e.value==="goods"?c.value.goodsColumnStyle:null),m=pe(()=>c.value.customComponents),a=pe(()=>!m.value||!m.value.list?[]:m.value.list.filter(T=>!T.isHidden)),d=pe(()=>{const{marginConfig:T,paddingConfig:H,borderConfig:R,paddingDataConfig:G,borderDataConfig:z,marginDataConfig:ie}=c.value;let Y=375;if(T&&(T.isAll?Y-=(T.valList[1].val||0)+(T.valList[3].val||0):Y-=(T.val||0)*2),H&&(H.isAll?Y-=(H.valList[1].val||0)+(H.valList[3].val||0):Y-=(H.val||0)*2),R&&R.tabVal){const Z=(R.widthConfig.val||0)*2;Y-=Z}if(ie&&(ie.isAll?Y-=(ie.valList[1].val||0)+(ie.valList[3].val||0):Y-=(ie.val||0)*2),G&&(G.isAll?Y-=(G.valList[1].val||0)+(G.valList[3].val||0):Y-=(G.val||0)*2),z&&z.tabVal){const Z=(z.widthConfig.val||0)*2;Y-=Z}return Y/375}),r=v(""),c=v({}),f=v(""),g=v(""),p=v([]),b=v(null),_=v(null),B=v(null);M(()=>n.num,(T,H)=>{b.value=null,_.value=null,B.value=null;let R=A.defaultArray[T];y(R)},{deep:!0}),M(()=>A.defaultArray,(T,H)=>{let R=A.defaultArray[n.num];y(R)},{deep:!0}),Ce(()=>{ve(()=>{let T=A.defaultArray[n.num];y(T)})});function y(T){T&&(c.value=T,r.value=c.value.bottomBgColor.color[0].item,f.value=T.moduleColor.color[0].item,g.value=T.moduleColor.color[1].item,e.value==="article"?I():e.value==="coupon"?Q():e.value==="goods"&&N())}function Q(){if(!c.value.couponDataSource)return;let T={limit:c.value.couponNum.val,order:c.value.couponSort.tabVal,sort:c.value.couponSortRule.tabVal};if(c.value.couponDataSource.tabVal===0){if(!c.value.couponList||!c.value.couponList.list)return;if(T.ids=c.value.couponList.list.map(R=>R.id).join(","),T.ids.length===0){p.value=[];return}}else T.type=c.value.couponType.activeValue,T.user_type=c.value.couponUserType.activeValue,c.value.couponUserType.activeValue!=2&&(T.send_type=c.value.couponSendType.activeValue),T.is_min_price=c.value.couponThreshold.tabVal,T.is_min_price==1&&(T.min_price=c.value.couponThresholdValue.val),c.value.couponTime.val&&c.value.couponTime.val.length&&(T.start_time=c.value.couponTime.val[0],T.end_time=c.value.couponTime.val[1]);const H=JSON.stringify(T);_.value!==H&&(_.value=H,dc(T).then(R=>{p.value=R.data}).catch(R=>{Ve.error(R.msg)}))}function I(){if(!c.value.articleDataSource)return;let T={limit:c.value.articleNum.val,order:c.value.articleSort.tabVal,sort:c.value.articleSortRule.tabVal};if(c.value.articleDataSource.tabVal===0){if(!c.value.articleList||!c.value.articleList.list)return;if(T.ids=c.value.articleList.list.map(R=>R.id).join(","),T.ids.length===0){p.value=[];return}}else T.cid=Array.isArray(c.value.articleClass.activeValue)?c.value.articleClass.activeValue.join(","):c.value.articleClass.activeValue;const H=JSON.stringify(T);b.value!==H&&(b.value=H,mc(T).then(R=>{p.value=R.data}).catch(R=>{Ve.error(R.msg)}))}function N(){if(!c.value.goodsDataSource)return;let T={limit:c.value.goodsNum.val,order:c.value.goodsSort.tabVal,sort:c.value.goodsSortRule.tabVal};if(c.value.goodsDataSource.tabVal===0){if(!c.value.goodsList||!c.value.goodsList.list)return;if(T.ids=c.value.goodsList.list.map(R=>R.id).join(","),T.ids.length===0){p.value=[];return}}else T.cate_ids=Array.isArray(c.value.goodsClass.activeValue)?c.value.goodsClass.activeValue.join(","):c.value.goodsClass.activeValue;const H=JSON.stringify(T);B.value!==H&&(B.value=H,gc(T).then(R=>{p.value=R.data}).catch(R=>{Ve.error(R.msg)}))}function w(T,H){const R={position:"relative",width:"100%"};return T&&T.tabVal===1?(R.display="flex",R.overflowX="auto",R.overflowY="hidden",R.flexWrap="nowrap"):(R.display="flex",R.flexWrap="wrap"),R}function h(T,H){const R={width:"100%"};if(T&&T.tabVal===1)if(R.flexShrink=0,H){const G=H.tabVal+1;R.width=`${100/G}%`}else R.width="200px";else if(H){const G=H.tabVal+1;R.width=`${100/G}%`}return R}function E(T,H){const{marginConfig:R,paddingConfig:G,borderConfig:z,marginDataConfig:ie,paddingDataConfig:Y,borderDataConfig:Z}=c.value;let re=0,te=0,ge=0;return R&&(re+=R.isAll?(R.valList[0].val||0)+(R.valList[2].val||0):(R.val||0)*2),G&&(te+=G.isAll?(G.valList[0].val||0)+(G.valList[2].val||0):(G.val||0)*2),z&&z.tabVal&&(ge+=z.widthConfig.val||0),ie&&(re+=ie.isAll?(ie.valList[0].val||0)+(ie.valList[2].val||0):(ie.val||0)*2),Y&&(te+=Y.isAll?(Y.valList[0].val||0)+(Y.valList[2].val||0):(Y.val||0)*2),Z&&Z.tabVal&&(ge+=Z.widthConfig.val||0),(m.value.canvasHeight*d.value||0)+ge*d.value+re+te+"",m.value.canvasHeight*d.value+ge+re+te,{height:m.value.canvasHeight*d.value+"px",position:"relative",boxSizing:"border-box",width:"100%"}}function F(){const{filletDataConfig:T,marginDataConfig:H,paddingDataConfig:R,componentBgDataConfig:G,borderDataConfig:z,shadowDataConfig:ie}=c.value,Y={};if(T&&(T.type?Y.borderRadius=`${T.valList[0].val}px ${T.valList[1].val}px ${T.valList[3].val}px ${T.valList[2].val}px`:Y.borderRadius=`${T.val}px`),H&&(H.isAll?(Y.marginTop=`${H.valList[0].val}px`,Y.marginRight=`${H.valList[1].val}px`,Y.marginBottom=`${H.valList[2].val}px`,Y.marginLeft=`${H.valList[3].val}px`):Y.margin=`${H.val}px`),R&&(R.isAll?(Y.paddingTop=`${R.valList[0].val}px`,Y.paddingRight=`${R.valList[1].val}px`,Y.paddingBottom=`${R.valList[2].val}px`,Y.paddingLeft=`${R.valList[3].val}px`):Y.padding=`${R.val}px`),G)if(G.tabVal===0){const Z=G.colorConfig.color;Z&&Z.length>0&&(Y.background=`linear-gradient(${G.colorDirection.tabVal===0?"90deg":G.colorDirection.tabVal===1?"180deg":G.colorDirection.tabVal===2?"135deg":"45deg"}, ${Z[0].item} 0%, ${Z[1]?Z[1].item:Z[0].item} 100%)`)}else G.imageConfig.url&&(Y.backgroundImage=`url(${G.imageConfig.url})`,Y.backgroundSize="100% 100%",Y.backgroundRepeat="no-repeat");return z&&z.tabVal&&(Y.borderStyle=z.styleConfig.tabVal===0?"solid":z.styleConfig.tabVal===1?"dashed":"dotted",Y.borderWidth=`${z.widthConfig.val}px`,Y.borderColor=z.colorConfig.color[0].item),ie&&ie.tabVal&&(Y.boxShadow=`${ie.xConfig.val}px ${ie.yConfig.val}px ${ie.blurConfig.val}px ${ie.spreadConfig.val}px ${ie.colorConfig.color[0].item}`),Y}function x(T){if(!T)return{};const H=d.value;return{position:"absolute",top:T.top*H+"px",left:T.left*H+"px",width:T.width*H+"px",maxWidth:"100%",height:T.height*H+"px",zIndex:T.zIndex,transform:`rotate(${T.rotate||0}deg)`}}function j(T){const H=d.value,R={width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none",boxSizing:"border-box",borderWidth:(T.showBorder?T.borderWidth*H:0)+"px",borderColor:T.borderColor||"transparent",borderStyle:T.borderStyle||"solid"};return T.isRadiusAll?R.borderRadius=(T.borderRadius||0)*H+"px":R.borderRadius=`${(T.borderRadiusTopLeft||0)*H}px ${(T.borderRadiusTopRight||0)*H}px ${(T.borderRadiusBottomRight||0)*H}px ${(T.borderRadiusBottomLeft||0)*H}px`,T.showShadow&&(R.boxShadow=`${(T.shadowX||0)*H}px ${(T.shadowY||0)*H}px ${(T.shadowBlur||0)*H}px ${(T.shadowSpread||0)*H}px ${T.shadowColor||"rgba(0,0,0,0.5)"}`),R}function D(T){const H=d.value,R={display:"flex",justifyContent:T.iconAlign||"center",alignItems:"center",width:"100%",height:"100%",boxSizing:"border-box",borderWidth:(T.showBorder?T.borderWidth*H:0)+"px",borderColor:T.borderColor||"transparent",borderStyle:T.borderStyle||"solid",padding:`${(T.paddingTop||0)*H}px ${(T.paddingRight||0)*H}px ${(T.paddingBottom||0)*H}px ${(T.paddingLeft||0)*H}px`};if(T.bgColor2){const z={horizontal:"90deg",vertical:"180deg","left-diagonal":"135deg","right-diagonal":"45deg"}[T.bgDirection]||"180deg";R.background=`linear-gradient(${z}, ${T.backgroundColor||"transparent"}, ${T.bgColor2})`}else R.backgroundColor=T.backgroundColor||"transparent";return T.showBorder&&T.borderWidth&&(R.backgroundSize=`100% calc(100% + ${T.borderWidth*H*2||0}px`,R.backgroundPosition=`0px -${T.borderWidth*H||0}px`),T.isRadiusAll?R.borderRadius=(T.borderRadius||0)*H+"px":R.borderRadius=`${(T.borderRadiusTopLeft||0)*H}px ${(T.borderRadiusTopRight||0)*H}px ${(T.borderRadiusBottomRight||0)*H}px ${(T.borderRadiusBottomLeft||0)*H}px`,R}function V(T){const H=d.value,R={width:"100%",fontSize:T.fontSize*H+"px",color:T.color,lineHeight:T.lineHeight,letterSpacing:(T.letterSpacing||0)*H+"px",fontWeight:T.fontWeight||"normal",fontStyle:T.fontStyle||"normal",textDecoration:T.textDecoration||"none",textAlign:T.textAlign||"left",boxSizing:"border-box",wordBreak:"break-all"};return T.ellipsis>0&&(R.display="-webkit-box",R.WebkitBoxOrient="vertical",R.WebkitLineClamp=T.ellipsis,R.overflow="hidden"),R.whiteSpace="normal",R}function S(T){const H=d.value,R={height:"100%",padding:`${(T.paddingTop||0)*H}px ${(T.paddingRight||0)*H}px ${(T.paddingBottom||0)*H}px ${(T.paddingLeft||0)*H}px`,borderWidth:(T.showBorder?T.borderWidth*H:0)+"px",borderColor:T.borderColor||"transparent",borderStyle:T.borderStyle||"solid"};if(T.bgColor2){const z={horizontal:"90deg",vertical:"180deg","left-diagonal":"135deg","right-diagonal":"45deg"}[T.bgDirection]||"180deg";R.backgroundImage=`linear-gradient(${z}, ${T.backgroundColor||"transparent"}, ${T.bgColor2})`}else R.backgroundColor=T.backgroundColor||"transparent";return T.showBorder&&T.borderWidth&&(R.backgroundSize=`100% calc(100% + ${T.borderWidth*H*2||0}px`,R.backgroundPosition=`0px -${T.borderWidth*H||0}px`),T.isRadiusAll?R.borderRadius=(T.borderRadius||0)+"px":R.borderRadius=`${T.borderRadiusTopLeft||0}px ${T.borderRadiusTopRight||0}px ${T.borderRadiusBottomRight||0}px ${T.borderRadiusBottomLeft||0}px`,R}function k(T){const H=d.value,R={width:"100%",height:"100%",boxSizing:"border-box",borderWidth:(T.showBorder?T.borderWidth*H:0)+"px",borderColor:T.borderColor||"transparent",borderStyle:T.borderStyle||"solid"};if(T.bgColor2){const z={horizontal:"90deg",vertical:"180deg","left-diagonal":"135deg","right-diagonal":"45deg"}[T.bgDirection]||"180deg";R.backgroundImage=`linear-gradient(${z}, ${T.backgroundColor||"transparent"}, ${T.bgColor2})`}else R.backgroundColor=T.backgroundColor||"transparent";return T.showBorder&&T.borderWidth&&(R.backgroundSize=`100% calc(100% + ${T.borderWidth*H*2||0}px`,R.backgroundPosition=`0px -${T.borderWidth*H||0}px`),T.isRadiusAll?R.borderRadius=(T.borderRadius||0)*H+"px":R.borderRadius=`${(T.borderRadiusTopLeft||0)*H}px ${(T.borderRadiusTopRight||0)*H}px ${(T.borderRadiusBottomRight||0)*H}px ${(T.borderRadiusBottomLeft||0)*H}px`,T.showShadow&&(R.boxShadow=`${(T.shadowX||0)*H}px ${(T.shadowY||0)*H}px ${(T.shadowBlur||0)*H}px ${(T.shadowSpread||0)*H}px ${T.shadowColor||"#000000"}`),R}function K(T){const H=d.value,R=(T.height||0)*H;return{width:T.direction==="vertical"?"0px":"100%",height:T.direction==="vertical"?"100%":"0px",borderTop:T.direction==="vertical"?"none":R+"px "+T.style+" "+T.color,borderLeft:T.direction==="vertical"?R+"px "+T.style+" "+T.color:"none"}}function J(T,H){if(H){const R=T.propValue.fieldType;if(e.value==="article"){if(R==="title")return H.title;if(R==="visit")return H.visit;if(R==="add_time")return H.add_time;if(R==="synopsis")return H.synopsis}else if(e.value==="coupon"){const G=T.propValue.fieldType;if(G==="coupon_title")return H.coupon_title||H.title;if(G==="coupon_price")return H.coupon_price;if(G==="use_min_price")return H.use_min_price;if(G==="coupon_time")return H.coupon_time;if(G==="type")return H.type===1?"品类券":H.type===2?"商品券":"通用券";if(G==="status")return H.status===1?"开启":"关闭";if(G==="receive_time")return H.receive_time;if(G==="use_time")return H.use_time;if(G==="receive_count")return H.receive_count;if(G==="add_time")return H.add_time}else if(e.value==="goods"){if(R==="store_name")return H.store_name;if(R==="id")return H.id;if(R==="image")return H.image;if(R==="store_info")return H.store_info;if(R==="unit_name")return H.unit_name;if(R==="cate_name")return H.cate_name;if(R==="label_name")return H.label_name;if(R==="stock")return H.stock;if(R==="price")return H.price;if(R==="max_price")return H.max_price;if(R==="min_price")return H.min_price;if(R==="ot_price")return H.ot_price;if(R==="max_ot_price")return H.max_ot_price;if(R==="min_ot_price")return H.min_ot_price;if(R==="min_qty")return H.min_qty;if(R==="sales")return H.sales;if(R==="browse")return H.browse;if(R==="add_time")return H.add_time}}return e.value==="user"&&T.propValue.typeLabel?T.propValue.typeLabel:T.propValue.text||T.propValue.typeLabel}function ee(T,H){return T.propValue.fieldType&&!T.propValue.url&&H.image?H.image:T.propValue.url||he}return(T,H)=>{const R=X("common_wrapper");return a.value&&a.value.length?(s(),u("div",Or,[L(R,{config:c.value},{default:P(()=>[["article","coupon","goods"].includes(e.value)&&p.value.length>0?(s(),u("div",Dr,[l("div",{class:"custom-box-list",style:U(w(o.value,i.value))},[(s(!0),u(q,null,ae(p.value,(G,z)=>(s(),u("div",{key:z,style:U(h(o.value,i.value))},[l("div",{class:"home_custom_component",style:U({background:`linear-gradient(90deg,${f.value} 0%,${g.value} 100%)`,...F()})},[l("div",{style:U(E(o.value,i.value))},[(s(!0),u(q,null,ae(a.value,ie=>(s(),u("div",{key:ie.id,style:U(x(ie.style))},[ie.component==="Picture"?(s(),u("img",{key:0,src:ee(ie,G),style:U(j(ie.propValue))},null,12,Hr)):ie.component==="Text"?(s(),u("div",{key:1,"data-custom-text-bg":"",style:U(S(ie.propValue))},[l("div",{style:U(V(ie.propValue))},$(J(ie,G)),5)],4)):ie.component==="Icon"?(s(),u("div",{key:2,style:U(D(ie.propValue))},[l("span",{class:ue(["mb-iconfont",ie.propValue.class]),style:U({fontSize:ie.propValue.size*d.value+"px",color:ie.propValue.color})},null,6)],4)):ie.component==="Line"?(s(),u("div",{key:3,style:U({display:"flex",alignItems:"center",justifyContent:"center",width:ie.propValue.width?ie.propValue.width*d.value+"px":"100%",height:ie.propValue.height?ie.propValue.height*d.value+"px":"100%"})},[l("div",{style:U(K(ie.propValue))},null,4)],4)):ie.component==="Panel"?(s(),u("div",{key:4,style:U(k(ie.propValue))},null,4)):O("",!0)],4))),128))],4)],4)],4))),128))],4)])):(s(),u("div",Tr,[l("div",{class:"home_custom_component",style:U({background:`linear-gradient(90deg,${f.value} 0%,${g.value} 100%)`,...F()})},[l("div",{style:U(E())},[(s(!0),u(q,null,ae(a.value,G=>(s(),u("div",{key:G.id,style:U(x(G.style))},[G.component==="Picture"?(s(),u("img",{key:0,src:G.propValue.url||de(he),style:U(j(G.propValue))},null,12,jr)):O("",!0),G.component==="Text"?(s(),u("div",{key:1,"data-custom-text-bg":"",style:U(S(G.propValue))},[l("div",{style:U(V(G.propValue))},$(J(G)),5)],4)):G.component==="Icon"?(s(),u("div",{key:2,style:U(D(G.propValue))},[l("span",{class:ue(["mb-iconfont",G.propValue.class]),style:U({fontSize:G.propValue.size*d.value+"px",color:G.propValue.color})},null,6)],4)):G.component==="Line"?(s(),u("div",Rr,[l("div",{style:U(K(G.propValue))},null,4)])):G.component==="Panel"?(s(),u("div",{key:4,style:U(k(G.propValue))},null,4)):O("",!0)],4))),128))],4)],4)]))]),_:1},8,["config"])])):c.value?(s(),u("div",Mr,[...H[0]||(H[0]=[l("img",{class:"shan",src:he},null,-1)])])):O("",!0)}}}),Pr=fe(Kr,[["__scopeId","data-v-dba7b287"]]),Gr=Object.freeze(Object.defineProperty({__proto__:null,default:Pr,getDefaultConfig:ia},Symbol.toStringTag,{value:"Module"})),Lo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGoAAAAbCAYAAACUXxrzAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAhKSURBVGiB1ZpPbBvXEcZ/s0sHTi9hD5EttKhXog03J1OifGoBk6cARYFQh+bSApIOPVu61I5DmqtISGxfJOeSQwxIQlr0KPrSUwpKQHsoatls0UNrWNKmRSKTTVGmCFDB2d3pgU8S/4qkRMvuByzA3Z03b7jz5nszsysY7MQdx7Lt90HfRCXKywxBFR4Lcm9g48miQNhpiL7D60TIAD9BOYugJ2Dp0aAIwmcIn2BxR1y+FoB/jg1dDEPrt2Lxke6G9878Zbv0om09DArWlyPDo4EldwS+PLOx+fah8jcYxOZ3CPex+FBcvBMy9cjQDG8A17AYweIHAvA0MfwHW+Xe6w83P37B9vUETRIp/ye2LrbeG/jj1lJbuSy/BrZkjndP0Ly+QDMsI/zD+nxs6KIgZ/7fnAQga/iKfqAqP20nozO8CvyIZ9w5QdP6idvAzyw7kO8qbL5oa44KP8JjlO+1FfgWA8C/5TZfnZxVfcQ8f0U5ZwmIqHbcjPewE3ec8uUL8ePOvzN2PrkTd5zj6nnFlxCQtgKnEDjZxEFdoupSl5BphrS6OA0yTuPYRoixPdKrEZZtFwjDNWCq17F1elQLYtuTUL+xly9fiAeqTVnn4IMna8eZrxtoliUgjc2IuHjqEsVn+tBBIXl5n2LdtYAcEAdSAOriELCKT4q9/xuwYKS7eo49Oao0dt5F1UFZ3xk7n+wkv+v7xaGiV+lljjAIVi2RqKpWAEQkCkQ5LGr6AM0yCUwCiwQU1GWEXaKc4kqNmGNsOXCMxVqTMpu7BDzSDEmZZw2fOEJF5quyxnGT2Ax1a1/XjtqJOw6qEwAqLFnamU1OwxBQgWqkaBherb0fwmQpEUsChMr64MPNZQCB6TMPt1YAyonYksJzrevUJUpADmFW3sPVLA4BC3KLKUxUAGiWBSAucwfXmvT4xPEBIY8Q1wwgTCB4miEJQIAD5PFxNINDhKK4HLqgu3aUZdsLAGEQDA0WPe8w2Z2x80lLtVB7LVCNWjAZqs4CWCIIVELVzyzhLUsEYLlRl0IyVGa7tfNIMDQk7+ECYDNFwCPNMo3NMj7VPVlIojUPHNiLEgCe4WBTWyYkDQ84KB5CfQmxd+4zBS0iswZdOcpQXjoUSXVyUi1ayQ4+3HIBSolYTiA/+HBrpZSInWs13kShsxsG+W7n7BV6Exet7ksmYhCXGc0whbBKiCIsVoUBiCOkzXAPDujL7FVDLfRPyFz3NNcKHR31dHR4GtWcwl1bNVdOxHKt5AKR9cEHT9zjGNOEKlXme93neoJyBWVKXDy9wQo2Bc1wX+ZZ0xukiHAJ8BoftN5kAjURiKG93QaKtoiiTKCs6PXDMzy5dXi3xOr4P8Iwr6ozGgSLCklEioHqeu2haNRSbRkVx4Ghvfv91lsHm3GZJw8mIpS7CFf3z2vtyZDWLIVWavCJc4rtusPmEeAg5JruNRy1dNoKHSPK0NfiXs0T+P7dRkprpC5b9Vy7VKOciFUTkuqRLCdihOAIzStKwbMtudTJxuNAXCp1qz0kD+T1Og6nqdS1ey1eQ1tHhtmr9jNTk+onsUk19hY1yyqKQ4RUpyRiDz3XUX3AZM3vJFUnObRyVBBMqW1v78SdpsXRV5xiu+maDfjMYrW4dwhMBrkKOK2cZHRP4VPAp6Au4900iXt2lB2JXN0ZHW5ox2gcpIYmNKraevKBjc0UQCkRUwF3YGNzpZSItWyoDhY9r5yILduRyFVgpldbu4XM1ddops7ZJsIyYV0dFUXaR4BmmTbFbgXwCMhptoVgAAgegkNAQbPMylxzxluLjntUkzEaJm2RK7WHIBVV/VP58oV4KRFLKzItIsXO2jojEFlR1cl+6Op+UhaA5aaVHvJttLWjDNXlgFlsRjhgiDRKq5ZbmpAZ4C6woJmDxKQVeo6oMAjH29HQzuiwKzCBiKdB0J8I8H0P245ux53o88r+NEMa4S1sZghIA3HsFkWtcAlovQBtZoHZGudOGRpMAzMyd1AnmeuT+HhyizV1yUOfCt5uYGokF0zzNhFbGtjYPFJP0BTNURG5oqrec03RIxQJWCDgkbly8MAt1vGZMXSYRklplkl8isD4noqW+0zINBy0jvZRLYzhdNU53exRPVNf14hEHK1PHAAoJ2KFciJWAFB02vxON8pJGMZVdUFVnW+CYLzxfj8hLh42KUNrUeyDBysunsyTN3uPR4QikMNmlVc67FdqqLARFg5Q6TbjgyNElFhWeifudOwUWKpXpXVbZBlAYHkvm1WYbOy4nn24tQimI3ACMKt6RDM8Mk3ZlOmgOwQsUaXDEXGpqMuIydpWjdz+AzfyOaqLdKoxSTD9wBztKLQNunbUYNHzSonhoogsiOn7dUBFa1v4vu+FljU7aJqttSglYi/PS70IKXwKBKTVJU/ANrBGQErmqhRlnDVOQMG8BnH3xwcUAA8ltd8tz5BETKFczfgqKD2xRERBxXREO+HMxtbIdtyJnu6im92YcJhzt7Xezf0IFZGZIAi6Xm3PImqdCqR9K/8bFKv7VyTGCftRojcYaXrfVJXz9qKu7oaJujrZedb0ek0L6nT3tKd7tPP52NDFUiLmHS7+8uLp6PCPS2OxT9vd1xle1Sxf6TVeO0m7+gXN8IbeZNv6zoPtv4GWno7Gfv6ijeoVmiQiyDsi+qt2MrLAf4Hf8Aq/OEHT+olrKL8UgC8SzvdttT9V+Aifj8/+ebP8oq07DHvf9YWW3Ab+1eV3fb9HyePzYadO9cuAuu/6dvnhPnfvxB1HLPsDEX0TfclpQlBBHmsvX8q6DBDwLvA2MPD8jTwGFAH+jvAJNrfF5ev/Aee6phtjlEq+AAAAAElFTkSuQmCC",No="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAAAeCAYAAAD+bvZ2AAAAAXNSR0IArs4c6QAADABJREFUeF7tmwlUFEcax7/OemACiopyeIBKPJ4KCsZgxARPXAQJ8eSI8QSF4K4a0c3Lk/FIVlSIJl7gk1VZwOxbs+Ko8QBEBU2MoHgkSqIR2HAoaoBBzVOYfV/1VE9Nd88BA25QKslj0lNHd9Wv/99RNRy0lJYZqMcMcPWo21K1ZQbAKDBLI2b55l26Pq51m9Y+j2oe96xU1bStra0DDv/hOMAe8C/5j/8f/Fe4hhX47/lr5HvhGn9dfI10w9TR6VMYg46paU/vQfP3m3/FvUzLWwsAD4DjfgK1+hzUqdO4TkOym2IC9AITMsM3uLio5NOS8gpHCoOwuDqAMMDIQaOzwBpojAKjAUwOGgFUBkQxRBwHLxkwcmxchrraj7lObt80JjgSYBSKhV3PZuTtLiwu8dVVBEYhBJUQvd2mKIwOLIxC6cDRojCNuMi74Wn1Eq6LZ3Vj9KkDzMol85xPZOSkV1ZW86pCTQgBRA4YkUkSFEbOTDFmyUyF4U2U1iTp3OfLaZKMsKDOhz/Vjees3O6ZC40ADCpL2r9PXais0sJiXGGajw+TsDcNcvNvkPny9fYEP++RkrkrKauA1Rt2k+sOtjYQvWKeUKda9QhSvz4JBT8XAX52sLOBBbP8yV99JSsnD07nXCJfB743Hvo69zS6XniPh4/nwM2fi8HKsh1pg23lxqH9431jcR/Sn9S1snxVZhx1PjxVjTJXaQRgvDzdlUVFpb5aB9RUE9Q8fBhciLClG8hE2tvagDKF/8wWhEV5PIdcio6aJ0CFCxIcpiCgiMuy8EAInDJeFgS/oCgoLa/QO564EUKdsC9N0hfeb+zaD6FvHy1whuqmJCj0QAO7OWvX+UapNVCBABM09c/B57+7/E+iKBrTo2OSiAnRAtTesh2oan7XRjj1iZL+jz6MPiDwmRGKycFRskB9tOpLyKJKoYEjK/sSgQHf5kPJGyQLlHv5BoQt46Fk4dO3Fjg+Ak0B8/IcCirVIwFgd9d+EB+3gjQX3yvWLS2rEO4x9AN/CJ3lLz9UXa2POY4wIeStYYMLS8srempNEBMWa2AY7tILIoLHQv/e9tDe0oLcTHXNE8j89gbs3H8aSu9VAoK0P24B+U6x9TDk/VDEhNpa6Patnw1Wr7WFLUlZ8FPhPdj6yTTEFKYvTSS+yTTvoTDVe4gk5i+/rwLVo9/h64yrcKWgVBPKi5TQgA/DKoVYZViYNq2JBK+RQ4UJHzZ2LvmMSoKKgoVVLDkgwpbGQG7+TZPVBYFEMLHEx0YR84IldnsqpB44ST6fSttKwGTVBWGl5koY084GlMlSBdU80GXO2lX7cPWUGy4yLNBPeeTUIUFRZBTmTZfesHcDr2S/lj+EkruV5PMbg5144u/+BjOWJBDV2bVuFgwb5Agphy9A3J50AgKbh3Eb6Ag7Vs0k7SbM3wpWr1nAgS1836Pe30zqzgl4E+YEeBh8lCTlRUg6nMdDJcrBYB/6wmqUfJxwLHSh2TcWQUFgaGG/E5spqkhiYOqrLjgWQoFwYLmYkSiMz4JE4aBw24vAYEFi+5BMZJ16VEPzNJyH+6AtZeUViw2ZoIPbIqF/H3tYn3AUktLOCxFKN9uOkPjZbHDoak1UJv6rMzB5tCusXjyZqM/oD+IkCrMqfBJMemcQHD1zDdbtPA72XTrIAONBoDmW/SPE7M5gojWAKeNcIXwm77AuWncAbv/3vmgMHlB9wKAfgguNf6nKsOrCvrE4Btaj5gjNAn2bWShYRcA29VUXbEMXGxUElYQWuXFo/6yZwvrof1GnXfwcImg2cdauy+spLqQ6986IoQWFxaWvG1KYG8c+I5U9pq+DauK70GwtQIj/CIiaPxEuXiuEBZ/sAytLCzgSH0mUIyw6GXKvF+kozMGtCwkkK2IPwtncW3qA4RWGAiPO9MZHT4M+PWxg054sOHm+oF4KI36b0dZTRxMjJ1QLU4o+yNgFRrXCiMzBtrPRCIkCI1aNJgGG485xHVykYaIJD865De735MHDyra6CqPrwxzcHkl8l4Ppl2B7yiligmS3BjQgrV7sB36jXSH1yPcQ9490YUHdB/aEHdGBxN95b/EuAlJ9FQbHjV3uD679HARgGpKHoREMO0dG3kpZMyWGjL794rlH/wfhlA95tQrzXIABuMdZu3Y1gQ9JFc7ZsZv6WW0ts/ejGybj2z2gjwPsjZkvOLvfX/0F0jIuE1Uh8IiiJPRhdq19X2OWPhcUBs2Rr9dgOHIazdExA8DoVxjnHl0AFQbL8lglcX5N9WFYyTY0WYaUBk1UUKhCiGbi46IEM4U5mqAwhdA1wsGG4oail+eqMKCu5ayHtGoYME7d1M+eMcAw5oZ9c7vbdoSIkLHwxuBe0M3WWhgLwUlWfgcFd8p1NiBPJy0TzFLeD8Xku7RtvDkKX/MVXPqRv2ZIYcoqqqCsQpPR5gDsOrcHOxsrMvaJcwWwaW8WH+6buJeEDixGLrTgImEYi4U1RQ52ncHdlY9SxIWNWsTOru53c8HP25OEwBj9FNwqJl3RSEfcb7MBRmKSTMjDDHfpDWM9+sOYEQOIw4tl1RdpoMy8IuxWfzR3AgT5DufN0p4MQHO0UxFEzFFAZIKgSvLA6I+SEKAT52/Cf9KvQs2Tp/WOktiFYs2HwahC04hVKDkV0ueMspFOSrxC1p95vsCYYZIkTi+zb4QK0M2uE3S360jMy83bZVr514TLi4K8YFGgF/n+7ZCNmrcdYNggJ0hYE0Kuj5m9GaIjeHO0/2gubN6XaQQYPkrKzrsN21LP8lEScFD+oFqqJuI9LgN5GMyd0JAaGcC3npoMjDhoQXVB88EWcWKNNUW0nl9wFEmgiWFiQ3NxRMWqHXW+WXjlnF6aSMTML2Z1aWGB1qdkpK45Tq8krBYpTMAEd/j7sqkk/zJhTqwEGIyKclJXkvuYFPoFlNyrErLCyh0RRIEWKlIIMKgmAZHxUErq8OGvIYXRFyWJNx9N9WHwTU89cEKYYH3AeI10k6T72agIYZEzWVRhxLkcQyE4vRk2D8Mutlwehpq+BudhABoeVksSdyIfBrO3Fw6sIs+1LTmTREmskxvi70HCal2F4bO6YTPehtDpo4h/09fJFgru3IVZK/cwybyGRUm6UZHpPozYbzDVJLGLiZGOWH1ovxQqdHaT4xWCM8zCRnMsNHuLi46KxGaOWSDZtlR52Pth69LIT6w8EkfMnMQddqazNSDjw0SGjCUOL5Zfy3+Dm7+UEkD69bKH/r3tyHWSuNt/RufEHaoLqgwta7cfhcOnr2mBayKFadO6FRxK2SiZp4YAwyb6sD0usLjgdgGqiniPp59zDygpuw8Ft4pIE2qq2Hps8o0N9fF6teqxpC32I74nrMuqpZG9K/O2BvAGAqdMDPn2Qn6Sob2kgPFuEBE8BjC7yxYMqxGWQ5n5TJSkDc3jVweD+0BH0uTdD3cCRj7a7YKGKYyx8zA9u9tCwue8mTRUTFEYdnH19cUukPJ4NsRt3y/Z2cZFxS0HVB99wKDKKGIShciNjte3Tw/Slj3igOOs3qDdQqB1xdlfqbpwPlwnlwafwhOON4zxdFfeweMNRqIkPKOBeRlUmNK7lVD96Mkf7kyvz/i3YHEon6sxt5BzMJrNP3194W4xe/QAgcBzMKgslpavEvVhfR62T2qSaN+0bYkm3Md+5c7uYH3xODgGu2kqvV91Imc9xLRUtp6HFYDZqFjYNQUPUFWrHPksbvM9D/NlzFJ4vXcPc1l5wdpz+fC0qvEOUOHs4BHN4xnZ6VWVKt0jmvUCyMivBpr4PIyv90iIXNA46vLCEKOGK9CqdlyjHtGkk/Ppx3+xzTx7fm9hcYl3czvTO6CvE8REh4OFRdsXZq3NfxAuEZ5W/dXco5n0PvT+zGTmuxNnF5eUrr9b8dBWv4n645zp9ZvoSTb3WmDRLK1anQ+vvPI3rkPDHVw5WI3+kC18zvTA/OsFY9pZtPWpUtV0VdU8bqVWq2UjInrsQf8Pzxrvd0mt27QCB9su4DLQGXwmjASMJF7iUgeg1vyQDc5BHaRxnVzPNsV8GAXGmLPcFDdlYp9qE+u1VGvEGWgoMI14Cy1dNacZ+B9fMUl5tgGm0gAAAABJRU5ErkJggg==",zr={class:"home_product"},Jr=["src"],Yr={key:1,class:"empty-img"},Xr={key:1,class:"list-wrapper itemA"},Wr={class:"img-box"},$r=["src"],Zr={class:"info"},qr={class:"hd"},eu={key:1,src:Lo},tu={key:1,class:"img",src:No},ou={class:"bottom"},Au={key:0},nu={class:"jiaCon"},lu={key:0,class:"iconfont iconjiahao1"},iu={key:1,class:"iconfont icongouwuche1"},au={key:2,class:"list-wrapper itemC"},su={class:"img-box"},cu=["src"],ru={class:"hd"},uu={key:1,src:Lo},du={class:"price acea-row row-middle"},mu={key:1,class:"img",src:No},gu={class:"jiaCon"},fu={key:0,class:"iconfont iconjiahao1"},vu={key:1,class:"iconfont icongouwuche1"},pu={class:"list"},Cu={class:"img-box"},_u=["src"],bu={key:0,class:"hd"},Bu={key:1,class:"price"},hu={class:"jiaCon"},yu={key:0,class:"iconfont iconjiahao1"},wu={key:1,class:"iconfont icongouwuche1"},aa=t=>({cname:"优品推荐",name:"goodRecommend",timestamp:t,isHide:!1,setUp:{tabVal:0},headerTitle:"头部设置",headerType:{title:"标题类型",tabVal:0,tabList:[{name:"文字"},{name:"图片"}]},headerText:{title:"标题文字",value:"优品推荐"},headerImg:{url:"",type:"code",delType:1,name:"上传图片"},titleGoods:"商品设置",goodsList:{max:20,list:[]},productList:{list:[]},typeConfig:{title:"选择方式",activeValue:1,list:[{activeValue:1,title:"指定商品"},{activeValue:3,title:"指定分类"},{activeValue:4,title:"商品标签"}]},goodsSort:{title:"商品排序",tabVal:1,tabList:[{name:"综合"},{name:"销量"},{name:"价格"}]},numberConfig:{title:"商品数量",val:3,min:1},classList:{title:"商品分类",classVal:[]},goodsLabel:{title:"商品标签",activeValue:[],list:[]},checkboxInfo:{title:"展示信息",name:"checkboxInfo",type:[0,3,2,5],list:[{id:0,name:"商品名称"},{id:2,name:"商品价格"},{id:5,name:"会员价格"},{id:3,name:"已售数量"}]},cartConfig:{title:"购物车按钮",tabVal:0,tabList:[{name:"显示"},{name:"隐藏"}]},bntStyleConfig:{title:"按钮样式",tabVal:0,tabList:[{name:"样式1",icon:"icon-circle"},{name:"样式2",icon:"icon-plus"},{name:"样式3",icon:"icon-cart"}]},bntConfig:{title:"按钮效果",tabVal:1,tabList:[{name:"进入商品详情页"},{name:"加入购物车"}]},titleRight:"列表样式",styleConfig:{title:"列表样式",tabVal:0,tabList:[{name:"单列展示"},{name:"两列纵向"},{name:"三列展示"},{name:"左右滑动"}]},headerStyleTitle:"头部样式",headerTextConfig:{title:"标题文字",tabVal:1,tabList:[{name:"加粗",style:"bold"},{name:"正常",style:"normal"},{name:"倾斜",style:"italic"}]},headerColor:{title:"标题颜色",default:[{item:"#333333"}],color:[{item:"#333333"}]},headerAlign:{title:"标题位置",tabVal:1,tabList:[{name:"左对齐",style:"left"},{name:"居中对齐",style:"center"},{name:"右对齐",style:"right"}]},headerFontSize:{title:"标题字号",val:16,min:12,max:30},cartStyleTitle:"购物车按钮",goodsStyleTitle:"商品图样式",toneCartConfig:{title:"色调",tabVal:0,tabList:[{name:"跟随主题风格"},{name:"自定义"}]},bntBgColor:{title:"按钮颜色",default:[{item:"#E93323"},{item:"#FF7931"}],color:[{item:"#E93323"},{item:"#FF7931"}]},generalStyleTitle:"通用样式",componentBgConfig:{title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#F5F5F5"}],color:[{item:"#F5F5F5"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},zIndexConfig:{title:"组件上浮",val:0,min:0},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},bottomBgColor:{title:"底部背景",default:[{item:"#F5F5F5"}],color:[{item:"#F5F5F5"}]},paddingConfig:{title:"内边距",isAll:!1,val:10,min:0,max:100,valList:[{val:0},{val:10},{val:0},{val:10}]},marginConfig:{title:"外边距",isAll:!1,val:0,min:0,max:100,valList:[{val:10},{val:0},{val:0},{val:0}]},topConfig:{title:"上边距",val:0,min:0},bottomConfig:{title:"下边距",val:0,min:0},prConfig:{title:"左右边距",val:10,min:0},mbConfig:{title:"内容间距",val:10,min:0},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:8,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},filletImg:{title:"圆角值",type:0,val:8,valList:[{val:8},{val:8},{val:8},{val:8}]},goodsName:{title:"商品名称",tabVal:0,tabList:[{name:"加粗",style:"bold"},{name:"正常",style:"normal"}]},toneConfig:{title:"色调",tabVal:0,tabList:[{name:"跟随主题风格"},{name:"自定义"}]},goodsNameColor:{title:"商品名称",default:[{item:"#333333"}],color:[{item:"#333333"}]},goodsPriceColor:{title:"商品价格",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},soldNumColor:{title:"已售数量",default:[{item:"#999999"}],color:[{item:"#999999"}]},scoreColor:{title:"评分",default:[{item:"#999999"}],color:[{item:"#999999"}]}}),Qu=Object.assign({name:"home_good_recommend",cname:"优品推荐",configName:"c_good_recommend",icon:"#iconzujian-youpintuijian",type:3,defaultName:"goodRecommend"},{__name:"home_good_recommend",props:{index:{type:null},num:{type:null},colorStyle:{type:null}},setup(t){const n=t,A=aa(n.num),e=Be(),o=pe(()=>({marginBottom:"10px",padding:"0 10px",textAlign:G.value})),i=pe(()=>({color:R.value,fontSize:z.value+"px",fontWeight:T.value,fontStyle:H.value,textAlign:G.value})),m=pe(()=>({textAlign:G.value})),a=pe(()=>({maxWidth:"100%",height:"auto"})),d=v(null),r=v([]),c=v({}),f=v(0),g=v([]),p=v(0),b=v(0),_=v(0),B=v(0),y=v(""),Q=v(0),I=v(""),N=v(""),w=v(""),h=v(""),E=v(0),F=v(""),x=v(""),j=v({title:"内边距",isAll:!1,val:10,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]}),D=v({title:"外边距",isAll:!1,val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]}),V=v(0),S=v(0),k=v(""),K=v(0),J=v(""),ee=v(""),T=v("normal"),H=v("normal"),R=v(""),G=v("center"),z=v(16);M(c,(Y,Z)=>{ie(Y)},{deep:!0}),M(()=>n.num,(Y,Z)=>{let re=e.defaultArray[Y];ie(re)},{deep:!0}),M(()=>e.defaultArray,(Y,Z)=>{let re=e.defaultArray[n.num];ie(re)},{deep:!0}),Ce(()=>{ve(()=>{c.value=e.defaultArray[n.num],ie(c.value)})});function ie(Y){if(!Y)return;let Z=JSON.parse(JSON.stringify(Y));d.value=Z,j.value=Z.paddingConfig||{title:"内边距",val:10,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},D.value=Z.marginConfig||{title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},Z.paddingConfig||(Z.topConfig&&(j.value.valList[0].val=Z.topConfig.val),Z.bottomConfig&&(j.value.valList[2].val=Z.bottomConfig.val),Z.prConfig&&(j.value.valList[1].val=Z.prConfig.val,j.value.valList[3].val=Z.prConfig.val),Z.paddingConfig=j.value),Z.marginConfig||(Z.mbConfig&&(D.value.valList[0].val=Z.mbConfig.val),Z.marginConfig=D.value),Z.zIndexConfig||(Z.zIndexConfig=A.zIndexConfig),Z.borderConfig||(Z.borderConfig=A.borderConfig),Z.shadowConfig||(Z.shadowConfig=A.shadowConfig),Z.componentBgConfig||(Z.componentBgConfig=A.componentBgConfig),Z.headerTitle||(Z.headerTitle=A.headerTitle),Z.headerType||(Z.headerType=A.headerType),Z.headerText||(Z.headerText=A.headerText),Z.headerImg||(Z.headerImg=A.headerImg),Z.headerStyleTitle||(Z.headerStyleTitle=A.headerStyleTitle),Z.headerTextConfig||(Z.headerTextConfig=A.headerTextConfig),Z.headerColor||(Z.headerColor=A.headerColor),Z.headerAlign||(Z.headerAlign=A.headerAlign),Z.headerFontSize||(Z.headerFontSize=A.headerFontSize),K.value=Z.headerType.tabVal,J.value=Z.headerText.value,ee.value=Z.headerImg.url;let re=Z.headerTextConfig.tabVal;T.value=re==0?"bold":"normal",H.value=re==2?"italic":"normal",R.value=Z.headerColor.color&&Z.headerColor.color[0]?Z.headerColor.color[0].item:"#333";const te=Z.headerAlign.tabList,ge=Z.headerAlign.tabVal;if(G.value=te&&te[ge]?te[ge].style:"left",z.value=Z.headerFontSize.val,Z.mbConfig){f.value=Z.styleConfig.tabVal,g.value=Z.checkboxInfo.type,p.value=Z.cartConfig.tabVal,b.value=Z.bntStyleConfig.tabVal;let W=Z.filletImg.type,Ae=Z.filletImg.val,me=Z.filletImg.valList;_.value=W?me[0].val+"px "+me[1].val+"px "+me[3].val+"px "+me[2].val+"px":Ae+"px",B.value=W?me[0].val+"px "+me[1].val+"px 0 0":Ae+"px "+Ae+"px 0 0";let ye=Z.goodsName.tabVal;y.value=Z.goodsName.tabList[ye].style,Q.value=Z.toneConfig.tabVal,I.value=Z.goodsNameColor.color[0].item,N.value=Z.goodsPriceColor.color[0].item,w.value=Z.soldNumColor.color[0].item,h.value=Z.scoreColor.color[0].item,E.value=Z.toneCartConfig.tabVal;let Te=Z.bntBgColor.color[0].item,Pe=Z.bntBgColor.color[1].item;F.value=`linear-gradient(90deg,${Te} 0%,${Pe} 100%)`,x.value=Z.bottomBgColor.color[0].item,k.value=`linear-gradient(90deg,${n.colorStyle.theme} 0%,${n.colorStyle.gradient} 100%)`;let Qe=Z.fillet.type,De=Z.fillet.val,_e=Z.fillet.valList;V.value=Qe?_e[0].val+"px "+_e[1].val+"px "+_e[3].val+"px "+_e[2].val+"px":De+"px",S.value=Qe?"0 0 "+_e[3].val+"px "+_e[2].val+"px":"0 0 "+De+"px "+De+"px",Z.typeConfig.activeValue==1?r.value=Z.goodsList.list.length?Z.goodsList.list:4:r.value=Z.productList.list.length?Z.productList.list:4}}return(Y,Z)=>{const re=X("common_wrapper");return s(),ce(re,{config:d.value},{default:P(()=>[l("div",zr,[J.value||ee.value?(s(),u("div",{key:0,class:"header-box",style:U(o.value)},[K.value===0?(s(),u("div",{key:0,class:"title-text",style:U(i.value)},$(J.value),5)):(s(),u("div",{key:1,class:"title-img",style:U(m.value)},[ee.value?(s(),u("img",{key:0,src:ee.value,style:U(a.value),alt:""},null,12,Jr)):(s(),u("div",Yr,"暂无图片"))],4))],4)):O("",!0),f.value==0?(s(),u("div",Xr,[(s(!0),u(q,null,ae(r.value,(te,ge)=>(s(),u("div",{class:"item",key:ge,style:U({borderRadius:V.value})},[l("div",Wr,[te.image?(s(),u("img",{key:0,class:"img",src:te.image,alt:"",style:U({borderRadius:_.value})},null,12,$r)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:_.value})},[...Z[0]||(Z[0]=[l("img",{src:he},null,-1)])],4))]),l("div",Zr,[l("div",qr,[g.value.indexOf(0)!=-1?(s(),u("div",{key:0,class:"title line2",style:U({fontWeight:y.value,color:Q.value?I.value:"#333"})},$(te.store_name||"华为荣耀畅享平板换屏服务 屏幕换外屏主板维修"),5)):O("",!0),g.value.indexOf(1)!=-1?(s(),u("img",eu)):O("",!0)]),l("div",{class:ue(["price acea-row row-middle",g.value.indexOf(3)==-1&&g.value.indexOf(4)==-1?"on":""])},[g.value.indexOf(2)!=-1?(s(),u("div",{key:0,class:"num",style:U({color:Q.value?N.value:t.colorStyle.theme})},[Z[1]||(Z[1]=l("span",null,"¥",-1)),se($(te.price?Y.$HandlePrice(te.price,0):33),1),l("span",null,$(te.price?Y.$HandlePrice(te.price,1):""),1)],4)):O("",!0),g.value.indexOf(5)!=-1?(s(),u("img",tu)):O("",!0)],2),l("div",ou,[g.value.indexOf(3)!=-1?(s(),u("span",{key:0,class:"mr8",style:U({color:Q.value?w.value:"#999999"})},"已售"+$(te.sales||0)+"件",5)):O("",!0),g.value.indexOf(4)!=-1?(s(),u("span",{key:1,style:U({color:Q.value?h.value:"#999999"})},"评分 "+$(te.star||0),5)):O("",!0)])]),p.value?O("",!0):(s(),u("div",Au,[b.value==0?(s(),u("div",{key:0,class:"bnt",style:U({background:E.value?F.value:k.value})}," 购买 ",4)):(s(),u("div",{key:1,class:"jia",style:U({background:E.value?F.value:k.value})},[l("div",nu,[b.value==1?(s(),u("span",lu)):(s(),u("span",iu))])],4))]))],4))),128))])):f.value==1?(s(),u("div",au,[(s(!0),u(q,null,ae(r.value,(te,ge)=>(s(),u("div",{class:"item",key:ge},[l("div",su,[te.image?(s(),u("img",{key:0,class:"img",src:te.image,alt:"",style:U({borderRadius:B.value})},null,12,cu)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:B.value})},[...Z[2]||(Z[2]=[l("img",{src:he},null,-1)])],4))]),l("div",{class:ue(["info",g.value.length==1&&g.value.indexOf(0)!=-1&&!p.value?"on":(g.value.length==1&&g.value.indexOf(4)!=-1||!g.value.length)&&!p.value?"on2":""]),style:U({borderRadius:S.value})},[l("div",ru,[g.value.indexOf(0)!=-1?(s(),u("div",{key:0,class:"title line2",style:U({fontWeight:y.value,color:Q.value?I.value:"#333"})},$(te.store_name||"蓝牙音乐手表 | Jeep智能表蓝牙通话健康管理 P07"),5)):O("",!0),g.value.indexOf(1)!=-1?(s(),u("img",uu)):O("",!0)]),l("div",du,[g.value.indexOf(2)!=-1?(s(),u("div",{key:0,class:"num mb-10",style:U({color:Q.value?N.value:t.colorStyle.theme})},[Z[3]||(Z[3]=l("span",null,"¥",-1)),se($(te.price?Y.$HandlePrice(te.price,0):77),1),l("span",null,$(te.price?Y.$HandlePrice(te.price,1):""),1)],4)):O("",!0),g.value.indexOf(5)!=-1?(s(),u("img",mu)):O("",!0)]),g.value.indexOf(3)!=-1?(s(),u("div",{key:0,class:"bottom",style:U({color:Q.value?w.value:"#999999"})},[l("span",null,"已售"+$(te.sales||0)+"件",1)],4)):O("",!0)],6),p.value?O("",!0):(s(),u("div",{key:0,class:"jia",style:U({background:E.value?F.value:k.value})},[l("div",gu,[b.value==0?(s(),u("span",fu)):(s(),u("span",vu))])],4))]))),128))])):(s(),u("div",{key:3,class:ue(["list-wrapper itemB",f.value==3?"itemD":""]),style:U({borderRadius:V.value})},[l("div",pu,[(s(!0),u(q,null,ae(r.value,(te,ge)=>(s(),u("div",{class:"item",key:ge},[l("div",Cu,[te.image?(s(),u("img",{key:0,class:"img",src:te.image,alt:"",style:U({borderRadius:_.value})},null,12,_u)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:_.value})},[...Z[4]||(Z[4]=[l("img",{src:he},null,-1)])],4))]),l("div",{class:ue(["info",g.value.indexOf(2)==-1&&g.value.indexOf(0)!=-1&&!p.value?"on":g.value.indexOf(2)==-1&&g.value.indexOf(0)==-1&&!p.value?"on2":""])},[g.value.indexOf(0)!=-1?(s(),u("div",bu,[l("div",{class:"title line2",style:U({fontWeight:y.value,color:Q.value?I.value:"#333"})},$(te.store_name||"商品名称商品商名称商品商…"),5)])):O("",!0),g.value.indexOf(2)!=-1?(s(),u("div",Bu,[l("div",{class:"num",style:U({color:Q.value?N.value:t.colorStyle.theme})},[Z[5]||(Z[5]=l("span",null,"¥",-1)),se($(te.price?Y.$HandlePrice(te.price,0):77),1),l("span",null,$(te.price?Y.$HandlePrice(te.price,1):""),1)],4)])):O("",!0)],2),p.value?O("",!0):(s(),u("div",{key:0,class:"jia",style:U({background:E.value?F.value:k.value})},[l("div",hu,[b.value==0?(s(),u("span",yu)):(s(),u("span",wu))])],4))]))),128))])],6))])]),_:1},8,["config"])}}}),xu=fe(Qu,[["__scopeId","data-v-4139dfd7"]]),Iu=Object.freeze(Object.defineProperty({__proto__:null,default:xu,getDefaultConfig:aa},Symbol.toStringTag,{value:"Module"})),Uu={class:"home_product"},Fu={key:0,class:"list-wrapper itemA"},Eu=["index"],Su={class:"img-box"},Lu=["src"],Nu={class:"info"},ku={class:"hd"},Vu={key:1,src:Lo},Ou={key:1,class:"img",src:No},Du={class:"bottom"},Hu={key:0},Tu={class:"jiaCon"},ju={key:0,class:"iconfont iconjiahao1"},Ru={key:1,class:"iconfont icongouwuche1"},Mu={key:1,class:"list-wrapper itemC"},Ku=["index"],Pu={class:"img-box"},Gu=["src"],zu={class:"hd"},Ju={key:1,src:Lo},Yu={class:"price acea-row row-middle"},Xu={key:1,class:"img",src:No},Wu={class:"jiaCon"},$u={key:0,class:"iconfont iconjiahao1"},Zu={key:1,class:"iconfont icongouwuche1"},qu={key:2,class:"listBig"},ed={class:"img-box"},td=["src"],od={key:1,src:Lo},Ad={class:"price acea-row row-middle"},nd={key:1,src:No},ld={key:0},id={class:"jiaCon"},ad={key:0,class:"iconfont iconjiahao1"},sd={key:1,class:"iconfont icongouwuche1"},cd=["index"],rd=["src"],ud={key:1,src:he},dd={class:"text"},md={class:"line2"},gd={class:"list"},fd=["index"],vd={class:"img-box"},pd=["src"],Cd={key:0,class:"hd"},_d={key:1,class:"price"},bd={class:"jiaCon"},Bd={key:0,class:"iconfont iconjiahao1"},hd={key:1,class:"iconfont icongouwuche1"},sa=t=>({cname:"商品列表",desc:"商品列表介绍",name:"goodList",timestamp:t,isHide:!1,setUp:{tabVal:0},zIndexConfig:{title:"组件上浮",val:0,min:0},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},titleLeft:"列表设置",titleGoods:"商品设置",titleContents:"显示内容",titleCart:"购物车按钮",titleRight:"商品样式",titleCurrency:"通用样式",styleConfig:{title:"选择风格",tabVal:1,tabList:[{name:"单列展示"},{name:"两列展示"},{name:"三列展示"},{name:"两列展示"},{name:"大图展示"},{name:"左右滑动"}]},typeConfig:{title:"选择方式",activeValue:1,list:[{activeValue:1,title:"指定商品"},{activeValue:3,title:"指定分类"},{activeValue:4,title:"商品标签"}]},goodsList:{max:20,list:[]},goodsSort:{title:"商品排序",tabVal:1,tabList:[{name:"综合"},{name:"销量"},{name:"价格"}]},numberConfig:{title:"商品数量",val:3,min:1},classList:{title:"商品分类",classVal:[]},checkboxInfo:{title:"展示信息",name:"checkboxInfo",type:[0,1,2,3,4,5],list:[{id:0,name:"商品名称"},{id:1,name:"商品标签"},{id:2,name:"商品价格"},{id:3,name:"商品销量"},{id:4,name:"商品评分"},{id:5,name:"会员价格"}]},cartConfig:{title:"是否显示",tabVal:0,tabList:[{name:"显示"},{name:"隐藏"}]},bntConfig:{title:"按钮效果",tabVal:1,tabList:[{name:"进入商品详情页"},{name:"商品加购"}]},bntStyleConfig:{title:"按钮样式",tabVal:0},filletImg:{title:"图片圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},goodsName:{title:"商品名称",tabVal:1,tabList:[{name:"加粗",style:"bold"},{name:"正常",style:"normal"}]},toneConfig:{title:"色调",tabVal:0,tabList:[{name:"跟随主题风格"},{name:"自定义"}]},goodsNameColor:{title:"商品名称",name:"goodsNameColor",default:[{item:"#333333"}],color:[{item:"#333333"}]},goodsPriceColor:{title:"商品价格",name:"goodsPriceColor",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},soldNumColor:{title:"已售数量",name:"soldNumColor",default:[{item:"#999999"}],color:[{item:"#999999"}]},scoreColor:{title:"评分颜色",name:"scoreColor",default:[{item:"#999999"}],color:[{item:"#999999"}]},toneCartConfig:{title:"色调",tabVal:0,tabList:[{name:"跟随主题风格"},{name:"自定义"}]},bntBgColor:{title:"按钮颜色",name:"bntBgColor",default:[{item:"#E93323"},{item:"#FF7931"}],color:[{item:"#E93323"},{item:"#FF7931"}]},moduleColor:{title:"组件背景",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},bottomBgColor:{title:"底部背景",default:[{item:"#f5f5f5"}],color:[{item:"#f5f5f5"}]},paddingConfig:{title:"内边距",isAll:!1,val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},marginConfig:{title:"外边距",isAll:!1,val:0,min:0,valList:[{val:0},{val:10},{val:0},{val:10}]},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:8,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},componentBgConfig:{title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#FFFFFF"},{item:"#FFFFFF"}],color:[{item:"#FFFFFF"},{item:"#FFFFFF"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},zIndexConfig:{title:"组件上浮",val:0,min:0},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},goodsLabel:{title:"商品标签",activeValue:[],list:[]},productList:{title:"商品列表",list:[]}}),yd=Object.assign({name:"home_goods_list",cname:"商品列表",configName:"c_home_goods_list",icon:"#iconzujian-shangpinliebiao",type:0,defaultName:"goodList"},{__name:"home_goods_list",props:{index:{type:null},num:{type:null},colorStyle:{type:null}},setup(t){const n=t,A=sa(n.num),e=Be(),o=v([]),i=v({}),m=v(0),a=v([]),d=v(0),r=v(0),c=v(0),f=v(0),g=v(""),p=v(0),b=v(""),_=v(""),B=v(""),y=v(""),Q=v(0),I=v(""),N=v(""),w=v(null),h=v(0),E=v(0),F=v("");M(i,(j,D)=>{x(j)},{deep:!0}),M(()=>n.num,(j,D)=>{let V=e.defaultArray[j];x(V)},{deep:!0}),M(()=>e.defaultArray,(j,D)=>{let V=e.defaultArray[n.num];x(V)},{deep:!0}),Ce(()=>{ve(()=>{i.value=e.defaultArray[n.num],x(i.value)})});function x(j){if(!j)return;for(let z in A)j[z]==null&&(j[z]=A[z]);m.value=j.styleConfig.tabVal,a.value=j.checkboxInfo.type,d.value=j.cartConfig.tabVal,r.value=j.bntStyleConfig.tabVal;let D=j.filletImg.type,V=j.filletImg.val,S=j.filletImg.valList;c.value=D?S[0].val+"px "+S[1].val+"px "+S[3].val+"px "+S[2].val+"px":V+"px",f.value=D?S[0].val+"px "+S[1].val+"px 0 0":V+"px "+V+"px 0 0";let k=j.goodsName.tabVal;g.value=j.goodsName.tabList[k].style,p.value=j.toneConfig.tabVal,b.value=j.goodsNameColor.color[0].item,_.value=j.goodsPriceColor.color[0].item,B.value=j.soldNumColor.color[0].item,y.value=j.scoreColor.color[0].item,Q.value=j.toneCartConfig.tabVal;let K=j.bntBgColor.color[0].item,J=j.bntBgColor.color[1].item;I.value=`linear-gradient(90deg,${K} 0%,${J} 100%)`;let ee=j.moduleColor.color[0].item,T=j.moduleColor.color[1].item;if(N.value=`linear-gradient(90deg,${ee} 0%,${T} 100%)`,F.value=`linear-gradient(90deg,${n.colorStyle.theme} 0%,${n.colorStyle.gradient} 100%)`,!j.paddingConfig){let z={title:"内边距",isAll:!1,val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]};j.topConfig&&(z.valList[0].val=j.topConfig.val),j.prConfig&&(z.valList[1].val=j.prConfig.val,z.valList[3].val=j.prConfig.val),j.bottomConfig&&(z.valList[2].val=j.bottomConfig.val),j.paddingConfig=z}if(!j.marginConfig){let z={title:"外边距",isAll:!1,val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]};j.mbConfig&&(z.valList[0].val=j.mbConfig.val),j.marginConfig=z}j.bottomBgColor||(j.bottomBgColor={title:"底部背景",default:[{item:"#f5f5f5"}],color:[{item:"#f5f5f5"}]});for(let z in A)j[z]===void 0&&(j[z]=A[z]);w.value=j;let H=j.fillet.type,R=j.fillet.val,G=j.fillet.valList;h.value=H?G[0].val+"px "+G[1].val+"px "+G[3].val+"px "+G[2].val+"px":R+"px",E.value=H?"0 0 "+G[3].val+"px "+G[2].val+"px":"0 0 "+R+"px "+R+"px",j.typeConfig.activeValue==1?o.value=j.goodsList.list.length?j.goodsList.list:4:o.value=j.productList.list.length?j.productList.list:4}return(j,D)=>{const V=X("common_wrapper");return s(),u("div",null,[L(V,{config:w.value},{default:P(()=>[l("div",Uu,[m.value==0?(s(),u("div",Fu,[(s(!0),u(q,null,ae(o.value,(S,k)=>(s(),u("div",{class:"item",key:k,index:k,style:U({background:N.value,borderRadius:h.value})},[l("div",Su,[S.image?(s(),u("img",{key:0,class:"img",src:S.image,alt:"",style:U({borderRadius:c.value})},null,12,Lu)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:c.value})},[...D[0]||(D[0]=[l("img",{src:he},null,-1)])],4))]),l("div",Nu,[l("div",ku,[a.value.indexOf(0)!=-1?(s(),u("div",{key:0,class:"title line2",style:U({fontWeight:g.value,color:p.value?b.value:"#333"})},$(S.store_name||"华为荣耀畅享平板换屏服务 屏幕换外屏主板维修"),5)):O("",!0),a.value.indexOf(1)!=-1?(s(),u("img",Vu)):O("",!0)]),l("div",{class:ue(["price acea-row row-middle",a.value.indexOf(3)==-1&&a.value.indexOf(4)==-1?"on":""])},[a.value.indexOf(2)!=-1?(s(),u("div",{key:0,class:"num",style:U({color:p.value?_.value:t.colorStyle.theme})},[D[1]||(D[1]=l("span",null,"¥",-1)),se($(S.price?j.$HandlePrice(S.price,0):33),1),l("span",null,$(S.price?j.$HandlePrice(S.price,1):""),1)],4)):O("",!0),a.value.indexOf(5)!=-1?(s(),u("img",Ou)):O("",!0)],2),l("div",Du,[a.value.indexOf(3)!=-1?(s(),u("span",{key:0,class:"mr8",style:U({color:p.value?B.value:"#999999"})},"已售"+$(S.sales||0)+"件",5)):O("",!0),a.value.indexOf(4)!=-1?(s(),u("span",{key:1,style:U({color:p.value?y.value:"#999999"})},"评分 "+$(S.star||0),5)):O("",!0)])]),d.value?O("",!0):(s(),u("div",Hu,[r.value==0?(s(),u("div",{key:0,class:"bnt",style:U({background:Q.value?I.value:F.value})}," 购买 ",4)):(s(),u("div",{key:1,class:"jia",style:U({background:Q.value?I.value:F.value})},[l("div",Tu,[r.value==1?(s(),u("span",ju)):(s(),u("span",Ru))])],4))]))],12,Eu))),128))])):m.value==1?(s(),u("div",Mu,[(s(!0),u(q,null,ae(o.value,(S,k)=>(s(),u("div",{class:"item",key:k,index:k,style:U({background:N.value,borderRadius:h.value})},[l("div",Pu,[S.image?(s(),u("img",{key:0,class:"img",src:S.image,alt:"",style:U({borderRadius:f.value})},null,12,Gu)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[...D[2]||(D[2]=[l("img",{src:he},null,-1)])],4))]),l("div",{class:ue(["info",a.value.length==1&&a.value.indexOf(0)!=-1&&!d.value?"on":(a.value.length==1&&a.value.indexOf(4)!=-1||!a.value.length)&&!d.value?"on2":""]),style:U({borderRadius:E.value})},[l("div",zu,[a.value.indexOf(0)!=-1?(s(),u("div",{key:0,class:"title line2",style:U({fontWeight:g.value,color:p.value?b.value:"#333"})},$(S.store_name||"蓝牙音乐手表 | Jeep智能表蓝牙通话健康管理 P07"),5)):O("",!0),a.value.indexOf(1)!=-1?(s(),u("img",Ju)):O("",!0)]),l("div",Yu,[a.value.indexOf(2)!=-1?(s(),u("div",{key:0,class:"num mb-10",style:U({color:p.value?_.value:t.colorStyle.theme})},[D[3]||(D[3]=l("span",null,"¥",-1)),se($(S.price?j.$HandlePrice(S.price,0):77),1),l("span",null,$(S.price?j.$HandlePrice(S.price,1):""),1)],4)):O("",!0),a.value.indexOf(5)!=-1?(s(),u("img",Xu)):O("",!0)]),a.value.indexOf(3)!=-1?(s(),u("div",{key:0,class:"bottom",style:U({color:p.value?B.value:"#999999"})},[l("span",null,"已售"+$(S.sales||0)+"件",1)],4)):O("",!0)],6),d.value?O("",!0):(s(),u("div",{key:0,class:"jia",style:U({background:Q.value?I.value:F.value})},[l("div",Wu,[r.value==0?(s(),u("span",$u)):(s(),u("span",Zu))])],4))],12,Ku))),128))])):m.value==4?(s(),u("div",qu,[(s(!0),u(q,null,ae(o.value,(S,k)=>(s(),u("div",{class:"itemBig",key:k,style:U({background:N.value,borderRadius:h.value})},[l("div",ed,[S.image?(s(),u("img",{key:0,class:"img",src:S.image,alt:"",style:U({borderRadius:c.value})},null,12,td)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:c.value})},[...D[4]||(D[4]=[l("img",{src:he},null,-1)])],4))]),l("div",{class:ue(["conter",(a.value.length==1&&(a.value.indexOf(1)!=-1||a.value.indexOf(3)!=-1||a.value.indexOf(4)!=-1||a.value.indexOf(5)!=-1)||!a.value.length)&&!d.value?"on":""])},[a.value.indexOf(0)!=-1?(s(),u("div",{key:0,class:"name",style:U({fontWeight:g.value,color:p.value?b.value:"#333"})},$(S.store_name||"商品名称商品商名称商品商…"),5)):O("",!0),a.value.indexOf(1)!=-1?(s(),u("img",od)):O("",!0),l("div",Ad,[a.value.indexOf(2)!=-1?(s(),u("div",{key:0,class:"num",style:U({color:p.value?_.value:t.colorStyle.theme})},[D[5]||(D[5]=l("span",null,"¥",-1)),se($(S.price?j.$HandlePrice(S.price,0):77),1),l("span",null,$(S.price?j.$HandlePrice(S.price,1):""),1)],4)):O("",!0),a.value.indexOf(5)!=-1?(s(),u("img",nd)):O("",!0)]),a.value.indexOf(3)!=-1?(s(),u("div",{key:2,class:"bottom",style:U({color:p.value?B.value:"#999999"})},[l("span",null,"已售"+$(S.sales||0)+"件",1)],4)):O("",!0)],2),d.value?O("",!0):(s(),u("div",ld,[r.value==0?(s(),u("div",{key:0,class:"bnt",style:U({background:Q.value?I.value:F.value})}," 购买 ",4)):(s(),u("div",{key:1,class:"jia",style:U({background:Q.value?I.value:F.value})},[l("div",id,[r.value==1?(s(),u("span",ad)):(s(),u("span",sd))])],4))]))],4))),128))])):m.value==3?(s(),u("div",{key:3,class:"listCross acea-row row-between-wrapper",style:U({background:N.value,borderRadius:h.value})},[(s(!0),u(q,null,ae(o.value,(S,k)=>(s(),u("div",{class:"item acea-row row-middle",key:k,index:k},[l("div",{class:"pictrue acea-row row-center-wrapper",style:U({borderRadius:c.value})},[S.image?(s(),u("img",{key:0,class:"img",src:S.image,alt:"",style:U({borderRadius:c.value})},null,12,rd)):(s(),u("img",ud))],4),l("div",dd,[a.value.indexOf(0)!=-1?(s(),u("div",{key:0,class:"name",style:U({fontWeight:g.value,color:p.value?b.value:"#333"})},[l("div",md,$(S.store_name||"这里是标题这里是标题这..."),1)],4)):O("",!0),a.value.indexOf(2)!=-1?(s(),u("div",{key:1,class:"price",style:U({color:p.value?_.value:t.colorStyle.theme})},[D[6]||(D[6]=l("span",null,"¥",-1)),se($(S.price?j.$HandlePrice(S.price,0):77),1),l("span",null,$(S.price?j.$HandlePrice(S.price,1):""),1)],4)):O("",!0)])],8,cd))),128))],4)):(s(),u("div",{key:4,class:ue(["list-wrapper itemB",m.value==5?"itemD":""]),style:U({background:N.value,borderRadius:h.value})},[l("div",gd,[(s(!0),u(q,null,ae(o.value,(S,k)=>(s(),u("div",{class:"item",key:k,index:k},[l("div",vd,[S.image?(s(),u("img",{key:0,class:"img",src:S.image,alt:"",style:U({borderRadius:c.value})},null,12,pd)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:c.value})},[...D[7]||(D[7]=[l("img",{src:he},null,-1)])],4))]),l("div",{class:ue(["info",a.value.indexOf(2)==-1&&a.value.indexOf(0)!=-1&&!d.value?"on":a.value.indexOf(2)==-1&&a.value.indexOf(0)==-1&&!d.value?"on2":""])},[a.value.indexOf(0)!=-1?(s(),u("div",Cd,[l("div",{class:"title line2",style:U({fontWeight:g.value,color:p.value?b.value:"#333"})},$(S.store_name||"商品名称商品商名称商品商…"),5)])):O("",!0),a.value.indexOf(2)!=-1?(s(),u("div",_d,[l("div",{class:"num",style:U({color:p.value?_.value:t.colorStyle.theme})},[D[8]||(D[8]=l("span",null,"¥",-1)),se($(S.price?j.$HandlePrice(S.price,0):77),1),l("span",null,$(S.price?j.$HandlePrice(S.price,1):""),1)],4)])):O("",!0)],2),d.value?O("",!0):(s(),u("div",{key:0,class:"jia",style:U({background:Q.value?I.value:F.value})},[l("div",bd,[r.value==0?(s(),u("span",Bd)):(s(),u("span",hd))])],4))],8,fd))),128))])],6))])]),_:1},8,["config"])])}}}),wd=fe(yd,[["__scopeId","data-v-5ec2ab0a"]]),Qd=Object.freeze(Object.defineProperty({__proto__:null,default:wd,getDefaultConfig:sa},Symbol.toStringTag,{value:"Module"})),xd={class:"hd"},Id={class:"bd"},Ud={class:"left"},Fd={class:"title"},Ed={class:"des"},Sd={class:"img-box"},Ld=["src"],Nd={key:1,class:"empty-box on"},ca=t=>({name:"activeParty",timestamp:t,setUp:{tabVal:0},titleConfig:{title:"促销标题",value:"超值爆款",place:"请输入标题",max:10},desConfig:{title:"促销简介",value:"美好生活由此开始",place:"请输入简介",max:8},menuConfig:{title:"最多可添加4个版块,图片建议尺寸140 * 140px;鼠标拖拽左侧圆点可 调整版块顺序",maxList:4,list:[{img:"",info:[{title:"标题",value:"今日推荐",tips:"选填,不超过4个字",max:4},{title:"简介",value:"店主诚意推荐 品质商品",tips:"选填,不超过20个字",max:20},{title:"链接",value:"",tips:"请输入链接",max:100}]},{img:"",info:[{title:"标题",value:"热卖推荐",tips:"选填,不超过4个字",max:4},{title:"简介",value:"店主诚意推荐 品质商品",tips:"选填,不超过20个字",max:20},{title:"链接",value:"",tips:"请输入链接",max:100}]},{img:"",info:[{title:"标题",value:"新品推荐",tips:"选填,不超过4个字",max:4},{title:"简介",value:"新品上架等 你来拿",tips:"选填,不超过20个字",max:20},{title:"链接",value:"",tips:"请输入链接",max:100}]},{img:"",info:[{title:"标题",value:"超值推荐",tips:"选填,不超过4个字",max:4},{title:"简介",value:"综合评选好 产品",tips:"选填,不超过20个字",max:20},{title:"链接",value:"",tips:"请输入链接",max:100}]}]},themeColor:{title:"主题颜色",name:"themeColor",default:[{item:"#fc3c3e"}],color:[{item:"#fc3c3e"}]},bgColor:{title:"标签背景颜色",name:"bgColor",default:[{item:"#F62C2C"},{item:"#F96E29"}],color:[{item:"#F62C2C"},{item:"#F96E29"}]},boxColor:{title:"背景颜色",name:"boxColor",default:[{item:"#ffe5e3"}],color:[{item:"#ffe5e3"}]},titleCurrency:"通用样式",bottomBgColor:{title:"底部背景",default:[{item:"#F5F5F5"}],color:[{item:"#F5F5F5"}]},paddingConfig:{title:"内边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},marginConfig:{title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},componentBgConfig:{title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#FFFFFF"},{item:"#FFFFFF"}],color:[{item:"#FFFFFF"},{item:"#FFFFFF"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},zIndexConfig:{title:"组件上浮",val:0,min:0},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}}}),kd=Object.assign({name:"home_hot",cname:"活动魔方",icon:"iconhuodongmofang1",configName:"c_home_hot",type:-1,defaultName:"activeParty"},{__name:"home_hot",props:{index:{type:null},num:{type:null}},setup(t){const n=t,A=ca(n.num),e=Be(),o=v(""),i=v(""),m=v(""),a=v([]),d=v(""),r=v([]),c=v({}),f=v({}),g=v("");M(c,(b,_)=>{p(b)},{deep:!0}),M(()=>n.num,(b,_)=>{let B=e.defaultArray[b];p(B)},{deep:!0}),M(()=>e.defaultArray,(b,_)=>{let B=e.defaultArray[n.num];p(B)},{deep:!0}),Ce(()=>{ve(()=>{c.value=e.defaultArray[n.num],p(c.value)})});function p(b){if(b){f.value=b;for(let _ in A)b[_]==null&&(b[_]=JSON.parse(JSON.stringify(A[_])));o.value=b.titleConfig.value,i.value=b.desConfig.value,m.value=b.mbConfig?b.mbConfig.val:0,a.value=b.menuConfig.list,d.value=b.themeColor.color[0].item,r.value=b.bgColor.color,g.value=b.boxColor.color[0].item,f.value.paddingConfig||(f.value.paddingConfig={title:"内边距",isAll:!1,val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]}),f.value.marginConfig||(f.value.marginConfig={title:"外边距",isAll:!1,val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},b.mbConfig&&(f.value.marginConfig.valList[0].val=b.mbConfig.val));for(let _ in A)f.value[_]===void 0&&(f.value[_]=JSON.parse(JSON.stringify(A[_])))}}return(b,_)=>{const B=X("common_wrapper");return r.value.length>0?(s(),ce(B,{key:0,config:f.value},{default:P(()=>[l("div",{class:"home-hot",style:U({background:g.value})},[l("div",xd,[l("p",{class:"txt",style:U({color:d.value})},$(o.value),5),l("p",{class:"color-txt",style:U(`background: linear-gradient(90deg,${r.value[0].item},${r.value[1].item});`)},$(i.value),5)]),l("div",Id,[(s(!0),u(q,null,ae(a.value,(y,Q)=>(s(),u("div",{class:"item",key:Q},[l("div",Ud,[l("div",Fd,$(y.info[0].value),1),l("div",Ed,$(y.info[1].value),1),_[0]||(_[0]=l("div",{class:"link"},"GO!",-1))]),l("div",Sd,[y.img?(s(),u("img",{key:0,src:y.img,alt:""},null,8,Ld)):(s(),u("div",Nd,[..._[1]||(_[1]=[l("span",{class:"iconfont icontupian"},null,-1)])]))])]))),128))])],4)]),_:1},8,["config"])):O("",!0)}}}),Vd=fe(kd,[["__scopeId","data-v-b61c7ce6"]]),Od=Object.freeze(Object.defineProperty({__proto__:null,default:Vd,getDefaultConfig:ca},Symbol.toStringTag,{value:"Module"})),Dd={class:"pictrue"},Hd=["src"],ra=t=>({cname:"热区",name:"hotspot",timestamp:t,isHide:!1,setUp:{tabVal:0},titleLeft:"内容设置",titleRight:"通用样式",zIndexConfig:{title:"组件上浮",val:0,min:0},picStyle:{url:"",list:[]},bottomBgColor:{title:"底部背景",name:"bottomBgColor",default:[{item:"#F5F5F5"}],color:[{item:"#F5F5F5"}]},topConfig:{title:"上边距",val:0,min:0},bottomConfig:{title:"下边距",val:0,min:0},prConfig:{title:"左右边距",val:0,min:0},paddingConfig:{title:"内边距",val:0,min:0,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},componentBgConfig:{title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#F5F5F5"},{item:"#F5F5F5"}],color:[{item:"#F5F5F5"},{item:"#F5F5F5"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},marginConfig:{title:"外边距",val:0,min:0,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},mbConfig:{title:"页面上间距",val:0,min:0},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]}}),Td=Object.assign({name:"home_hotspot",cname:"热区",configName:"c_hotspot",icon:"#iconzujian-requ",type:0,defaultName:"hotspot"},{__name:"home_hotspot",props:{index:{type:null,default:-1},num:{type:null}},setup(t){const n=t,A=ra(n.num),e=Be(),o=v(null),i=v({}),m=v(0),a=v("");M(i,(r,c)=>{d(r)},{deep:!0}),M(()=>n.num,(r,c)=>{let f=e.defaultArray[r];d(f)},{deep:!0}),M(()=>e.defaultArray,(r,c)=>{let f=e.defaultArray[n.num];d(f)},{deep:!0}),Ce(()=>{ve(()=>{i.value=e.defaultArray[n.num],d(i.value)})});function d(r){if(r){o.value=r;for(let c in A)o.value[c]===void 0&&(o.value[c]=JSON.parse(JSON.stringify(A[c])));if(r.mbConfig){if(a.value=r.picStyle.url,!r.paddingConfig){let p={title:"内边距",val:0,min:0,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]};p.valList[0].val=r.topConfig.val,p.valList[2].val=r.bottomConfig.val,p.valList[1].val=r.prConfig.val,p.valList[3].val=r.prConfig.val,o.value.paddingConfig=p}if(!r.marginConfig){let p={title:"外边距",val:0,min:0,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]};p.valList[0].val=r.mbConfig.val,o.value.marginConfig=p}let c=r.fillet.type,f=r.fillet.val,g=r.fillet.valList;m.value=c?g[0].val+"px "+g[1].val+"px "+g[3].val+"px "+g[2].val+"px":f+"px"}}}return(r,c)=>{const f=X("common_wrapper");return o.value?(s(),ce(f,{key:0,config:o.value},{default:P(()=>[l("div",Dd,[a.value?(s(),u("img",{key:0,src:a.value,style:U({borderRadius:m.value})},null,12,Hd)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:m.value})},[...c[0]||(c[0]=[l("img",{src:he},null,-1)])],4))])]),_:1},8,["config"])):O("",!0)}}}),jd=fe(Td,[["__scopeId","data-v-86a32f21"]]),Rd=Object.freeze(Object.defineProperty({__proto__:null,default:jd,getDefaultConfig:ra},Symbol.toStringTag,{value:"Module"})),Md={key:0,class:"info-card-box"},ua=t=>({cname:"万能信息卡",name:"infoCard",timestamp:t,contentTitle:"内容设置",titleStyle:"标题样式",setUp:{tabVal:0},isShow:{title:"显示标题",tabVal:0,tabList:[{name:"显示"},{name:"隐藏"}]},textPosition:{title:"对齐方式",val:"center"},textColor:{title:"文字颜色",default:[{item:"#333"}],color:[{item:"#333"}]},fontSize:{title:"字体大小",val:16,min:12,max:40},titleCurrency:"通用样式",moduleColor:{title:"背景颜色",name:"moduleColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},bottomBgColor:{title:"底部背景",name:"bottomBgColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},marginConfig:{title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},paddingConfig:{title:"内边距",val:10,min:0,max:100,isAll:!1,valList:[{val:10},{val:10},{val:10},{val:10}]},componentBgConfig:{title:"组件背景",tabVal:0,colorConfig:{title:"颜色设置",default:[{item:"transparent"}],color:[{item:"transparent"}]},imageConfig:{title:"图片设置",url:""}},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},borderRadius:"0",zIndexConfig:{title:"层级",val:0,min:0}}),Kd=Object.assign({name:"home_info_card",cname:"万能信息卡",configName:"c_info_card",icon:"#iconzujian-wenzhangliebiao",type:3,defaultName:"infoCard"},{__name:"home_info_card",props:{index:{type:null},num:{type:null}},setup(t){const n=t;ua(n.num);const A=Be(),e=pe(()=>{var r,c;return((c=(r=a.value)==null?void 0:r.isShow)==null?void 0:c.tabVal)==0}),o=pe(()=>{var r,c,f,g;return((g=(f=(c=(r=a.value)==null?void 0:r.textColor)==null?void 0:c.color)==null?void 0:f[0])==null?void 0:g.item)||"#333"}),i=pe(()=>{var r,c;return((c=(r=a.value)==null?void 0:r.fontSize)==null?void 0:c.val)||16}),m=pe(()=>{var r;return((r=a.value)==null?void 0:r.textPosition.val)||"left"}),a=v(null);M(()=>n.num,(r,c)=>{let f=A.defaultArray[r];d(f)},{deep:!0}),M(()=>A.defaultArray,(r,c)=>{let f=A.defaultArray[n.num];d(f)},{deep:!0}),Ce(()=>{ve(()=>{d(A.defaultArray[n.num])})});function d(r){r&&r&&(a.value=r)}return(r,c)=>{const f=X("common_wrapper");return s(),ce(f,{config:a.value},{default:P(()=>[a.value?(s(),u("div",Md,[e.value?(s(),u("div",{key:0,class:"title",style:U({color:o.value,fontSize:i.value+"px",textAlign:m.value})}," 万能信息卡 ",4)):O("",!0),c[0]||(c[0]=l("div",{class:"mock-info-list"},[l("div",{class:"mock-info-row"},[l("span",{class:"mock-info-label"},"发货方式"),l("span",{class:"mock-info-value"},"支付后自动发放")]),l("div",{class:"mock-info-row"},[l("span",{class:"mock-info-label"},"物流"),l("span",{class:"mock-info-value"},"无需物流")]),l("div",{class:"mock-info-row"},[l("span",{class:"mock-info-label"},"有效期"),l("span",{class:"mock-info-value"},"购买后30天内")])],-1))])):O("",!0)]),_:1},8,["config"])}}}),Pd=fe(Kd,[["__scopeId","data-v-b1aa3bdb"]]),Gd=Object.freeze(Object.defineProperty({__proto__:null,default:Pd,getDefaultConfig:ua},Symbol.toStringTag,{value:"Module"})),zd={class:"user-info acea-row row-middle"},Jd={class:"avatar"},Yd=["src"],Xd={key:1,class:"empty-box"},Wd={class:"text"},$d={key:0,class:"menu-entry",style:{position:"absolute",right:"10px",top:"14px","z-index":"10"}},Zd=["src"],qd={key:1,class:"card-header acea-row row-between-wrapper"},em={class:"user-info style-2 acea-row row-between-wrapper"},tm={class:"text"},om={class:"avatar"},Am=["src"],nm={key:1,class:"empty-box"},lm={key:2,class:"card-header acea-row row-center-wrapper"},im={class:"user-info style-3"},am={class:"avatar"},sm=["src"],cm={key:1,class:"empty-box"},rm={class:"text"},um={key:0,class:"menu-entry",style:{position:"absolute",right:"10px",top:"14px","z-index":"10"}},dm=["src"],mm={key:1,class:"empty-icon"},gm={key:3,class:"style-4-container acea-row row-between-wrapper"},fm={class:"user-info acea-row row-middle"},vm={class:"avatar"},pm=["src"],Cm={key:1,class:"empty-box"},_m={class:"text"},bm={class:"stats-row card-data acea-row row-around"},Bm={class:"icon-box"},hm=["src"],ym={key:2,class:"empty-icon"},wm={key:0,class:"entry-content"},Qm={class:"subtitle",style:{"font-size":"12px",color:"#ff9900","margin-bottom":"10px",display:"flex","align-items":"center"}},xm={class:"img-box"},Im=["src"],Um={key:1,class:"empty-icon"},Fm={key:4,class:"style-5-container"},Em={class:"header acea-row row-between-wrapper"},Sm={class:"left"},Lm={class:"avatar"},Nm=["src"],km={key:1,class:"empty-box"},Vm={class:"text"},Om={key:0,class:"menu-entry"},Dm=["src"],Hm={key:0,class:"card-data acea-row row-around"},Tm={class:"icon-box"},jm=["src"],Rm={key:2,class:"empty-icon"},Mm={class:"label"},Km={key:5,class:"card-data acea-row row-around"},Pm={class:"icon-box"},Gm=["src"],zm={key:2,class:"empty-icon"},Jm={class:"text-box"},Ym={class:"img-box"},Xm=["src"],Wm={key:1,class:"empty-icon"},$m={key:0,class:"line"},Zm={class:"top-row"},qm={class:"left-info"},eg={class:"title-area"},tg=["src"],og={class:"right-rights"},Ag={class:"icon-wrap"},ng=["src"],lg={key:2,class:"empty-icon"},ig={class:"bottom-row"},ag={class:"explain-list"},sg={key:0,class:"icons"},cg=["src"],da=t=>({cname:"会员中心",name:"member",desc:"会员中心模块,可以用来展示会员信息、优惠券、积分等",timestamp:t,isHide:!1,setUp:{tabVal:0},titleLeft:"展示设置",titleImg:"默认头像",titleRight:"样式设置",titleCurrency:"通用样式",infoStyleText:"会员信息",memberStyleText:"会员样式",iconStyleText:"图标样式",assetConfigText:"图文入口",styleConfig:{title:"选择风格",tabVal:0,tabList:[{name:"样式一"},{name:"样式二"},{name:"样式三"},{name:"样式四"},{name:"样式五"}]},memberStyleConfig:{title:"会员样式",tabVal:0,tabList:[{name:"样式一"},{name:"样式二"},{name:"样式三"},{name:"样式四"}]},menuConfig:{title:"最多可添加2张图片,建议宽度40 * 40px",bnt:"添加",listStyleName:"操作内容",type:1,listStyle:0,maxList:2,list:[{img:"",type:0,show:!0,icon:"",info:[{title:"标题",value:"标题",tips:"选填,不超过4个字",max:4},{title:"链接",value:"",tips:"请输入链接",max:100}]},{img:"",type:0,show:!0,icon:"",info:[{title:"标题",value:"标题",tips:"选填,不超过4个字",max:4},{title:"链接",value:"",tips:"请输入链接",max:100}]}]},checkboxInfo:{title:"数据内容",name:"checkboxInfo",maxList:5,type:[1,2,3],list:[{id:1,name:"余额"},{id:3,name:"优惠券"},{id:2,name:"积分"},{id:5,name:"收藏商品"},{id:6,name:"浏览记录"},{id:8,name:"推广佣金"},{id:9,name:"推广人"},{id:10,name:"推广订单"}]},logoConfig:{info:"建议:图片尺寸90px * 90px",url:"",type:"code",delType:1,name:"上传图片"},bottomBgColor:{title:"底部背景",default:[{item:"#fff"}],color:[{item:"#fff"}]},componentBgConfig:{title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#E93323"},{item:"#E93323"}],color:[{item:"#E93323"},{item:"#E93323"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},zIndexConfig:{title:"组件上浮",val:0,min:0},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},paddingConfig:{title:"内边距",val:15,min:0,isAll:!1,valList:[{val:15},{val:15},{val:0},{val:15}]},marginConfig:{title:"外边距",val:0,min:0,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},assetIconColor:{title:"图标颜色",default:[{item:"#fff"}],color:[{item:"#fff"}]},assetIconSize:{title:"图标大小",val:20,min:10,max:32},assetTextColor:{title:"文字颜色",default:[{item:"#fff"}],color:[{item:"#fff"}]},assetTextSize:{title:"文字大小",val:12,min:10,max:32}}),rg=Object.assign({name:"home_member",cname:"会员中心",configName:"c_member",icon:"#iconzujian-huiyuanxinxi",type:4,defaultName:"member"},{__name:"home_member",props:{index:{type:null},num:{type:null},colorStyle:{type:null}},setup(t){const n=t,A=da(n.num),e=Be(),o=pe(()=>[{id:1,name:"余额",val:"200"},{id:3,name:"优惠券",val:"2888"},{id:2,name:"积分",val:"3000"},{id:5,name:"收藏商品",val:"1660"},{id:6,name:"浏览记录",val:"1660"},{id:8,name:"推广佣金",val:"666"},{id:9,name:"推广人",val:"1660"},{id:10,name:"推广订单",val:"1660"}].filter(le=>N.value.indexOf(le.id)!=-1)),i=pe(()=>{if(B.value==3){let Se=ye.value&&ye.value.color[0]?ye.value.color[0].item:"#fff",le=ye.value&&ye.value.color[1]?ye.value.color[1].item:"#fff";return{background:`linear-gradient(90deg, ${Se} 0%, ${le} 100%)`,borderRadius:Pe.value?Pe.value:"0px"}}return{}}),m=pe(()=>Te.value&&Te.value.color[0]?Te.value.color[0].item:"#333"),a=pe(()=>B.value==3||B.value==4?"10px":""),d=pe(()=>{if(Q.value==0){let Se=Ae.value&&Ae.value.color[0]?Ae.value.color[0].item:"#fff",le=Ae.value&&Ae.value.color[1]?Ae.value.color[1].item:"#fff";return{background:`linear-gradient(90deg, ${Se} 0%, ${le} 100%)`,borderRadius:me.value?me.value:"0px"}}else if(Q.value==1){let Se=Ae.value&&Ae.value.color[0]?Ae.value.color[0].item:"#fff",le=Ae.value&&Ae.value.color[1]?Ae.value.color[1].item:"#fff";return{background:`linear-gradient(90deg, ${Se} 0%, ${le} 100%)`,borderRadius:me.value?me.value:"0px"}}else if(Q.value==2){let Se={borderRadius:me.value?me.value:"0px"};if(go.value===1&&xt.value)Se.backgroundImage=`url(${xt.value})`,Se.backgroundRepeat="no-repeat",Se.backgroundSize="100% 100%";else{const le=Ae.value&&Ae.value.color[0]?Ae.value.color[0].item:"#fff",vt=Ae.value&&Ae.value.color[1]?Ae.value.color[1].item:le;Se.background=`linear-gradient(90deg, ${le} 0%, ${vt} 100%)`}return Se}else if(Q.value==3){let Se={borderRadius:me.value?me.value:"0px"};if(Ro.value===1&&fo.value)Se.backgroundImage=`url(${fo.value})`,Se.backgroundRepeat="no-repeat",Se.backgroundSize="100% 100%";else{const le=Ae.value&&Ae.value.color[0]?Ae.value.color[0].item:"#fff",vt=Ae.value&&Ae.value.color[1]?Ae.value.color[1].item:le;Se.background=`linear-gradient(90deg, ${le} 0%, ${vt} 100%)`}return Se}return{}}),r=pe(()=>{let Se=Ho.value?Ho.value.valList:[{val:0},{val:0},{val:0},{val:0}];return{padding:`${Se[0].val}px ${Se[1].val}px ${Se[2].val}px ${Se[3].val}px`,display:"flex",justifyContent:"space-between",alignItems:"center"}}),c=v(null),f=v(""),g=v(20),p=v(""),b=v(12),_=v({}),B=v(0),y=v(0),Q=v(0),I=v({}),N=v([]),w=v(""),h=v(0),E=v([]),F=v(0),x=v([]),j=v(0),D=v(0),V=v(2),S=v([]),k=v(""),K=v(null),J=v({title:"内边距",isAll:!1,val:15,min:0,valList:[{val:15},{val:15},{val:15},{val:15}]}),ee=v({title:"外边距",isAll:!1,val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]}),T=v("#fff"),H=v(16),R=v("#fff"),G=v(14),z=v("#fff"),ie=v("#fff"),Y=v(null),Z=v(null),re=v(null),te=v(null),ge=v([]),W=v([]),Ae=v(null),me=v(0),ye=v(null),Te=v(null),Pe=v(null),Qe=v(0),De=v(""),_e=v(""),Ie=v(""),Ge=v(""),Ne=v(""),We=v([]),bt=v(""),oo=v(""),Ao=v(""),Ot=v(""),mo=v(""),Kt=v(""),no=v(""),Dt=v(""),St=v("#333"),Pt=v("#ff7d00"),uA=v(""),Vo=v(""),Oo=v(""),Do=v(""),Ho=v(null),xt=v(""),To=v(null),go=v(0),jo=v(null),Ro=v(0),fo=v("");M(_,(Se,le)=>{vo(Se)},{deep:!0}),M(()=>n.num,(Se,le)=>{let vt=e.defaultArray[Se];vo(vt)},{deep:!0}),M(()=>e.defaultArray,(Se,le)=>{let vt=e.defaultArray[n.num];vo(vt)},{deep:!0}),M(c,(Se,le)=>{Se&&(To.value=Se.ms3BgColor?Se.ms3BgColor.color:[],go.value=Se.ms3BgMode?Se.ms3BgMode.tabVal:0,xt.value=Se.ms3BackgroundImage?Se.ms3BackgroundImage.url:"",jo.value=Se.ms4BgColor?Se.ms4BgColor.color:[],Ro.value=Se.ms4BgMode?Se.ms4BgMode.tabVal:0,fo.value=Se.ms4BackgroundImage?Se.ms4BackgroundImage.url:"",f.value=Se.assetIconColor?Se.assetIconColor.color[0].item:"#ff9900",g.value=Se.assetIconSize?Se.assetIconSize.val:20,p.value=Se.assetTextColor?Se.assetTextColor.color[0].item:"#333",b.value=Se.assetTextSize?Se.assetTextSize.val:12)},{deep:!0}),Ce(()=>{ve(()=>{_.value=e.defaultArray[n.num],vo(_.value)})});function vo(Se){if(!Se)return;let le=JSON.parse(JSON.stringify(Se));for(let Mo in A)le[Mo]===void 0&&(le[Mo]=JSON.parse(JSON.stringify(A[Mo])));c.value=le,J.value=le.paddingConfig,ee.value=le.marginConfig,Y.value=le.zIndexConfig,re.value=le.borderConfig,te.value=le.shadowConfig,Z.value=le.componentBgConfig,h.value=le.menuConfig?le.menuConfig.listStyle:0,B.value=le.styleConfig.tabVal,y.value=le.userInfoConfig?le.userInfoConfig.tabVal:0,Q.value=le.memberStyleConfig?le.memberStyleConfig.tabVal:0,N.value=le.checkboxInfo.type,w.value=le.logoConfig.url,E.value=le.menuConfig?le.menuConfig.list:[],F.value=le.shortcutConfig?le.shortcutConfig.listStyle:0,x.value=le.shortcutConfig?le.shortcutConfig.list:[],j.value=le.assetMode?le.assetMode.tabVal:0,D.value=le.dataStyle?le.dataStyle.tabVal:0,ge.value=le.memberConfig?le.memberConfig.list:[],W.value=le.rightEntryConfig?le.rightEntryConfig.list:[],Ae.value=le.cardBgColor?le.cardBgColor:[];let vt=le.cardBgRadius?le.cardBgRadius.type:0,Fe=le.cardBgRadius?le.cardBgRadius.val:0,Ye=le.cardBgRadius&&le.cardBgRadius.valList?le.cardBgRadius.valList:[];me.value=vt?Ye[0].val+"px "+Ye[1].val+"px "+Ye[3].val+"px "+Ye[2].val+"px":Fe+"px",ye.value=le.moduleBgColor,Te.value=le.moduleTextColor;let dA=le.moduleRadius?le.moduleRadius.type:0,fn=le.moduleRadius?le.moduleRadius.val:0,po=le.moduleRadius&&le.moduleRadius.valList?le.moduleRadius.valList:[];Pe.value=dA?po[0].val+"px "+po[1].val+"px "+po[3].val+"px "+po[2].val+"px":fn+"px",Qe.value=le.ms2TitleType?le.ms2TitleType.tabVal:0,De.value=le.ms2TitleText?le.ms2TitleText.value:"",_e.value=le.ms2TitleColor?le.ms2TitleColor.color[0].item:"",Ie.value=le.ms2TitleImage?le.ms2TitleImage.url:"",Ge.value=le.ms2IntroText?le.ms2IntroText.value:"",Ne.value=le.ms2IntroColor?le.ms2IntroColor.color[0].item:"",We.value=le.ms2RightsList?le.ms2RightsList.list:[],bt.value=le.ms2RightsColor?le.ms2RightsColor.color[0].item:"",oo.value=le.ms2ExplainIcons?le.ms2ExplainIcons.url:"",Ao.value=le.ms2ExplainText?le.ms2ExplainText.value:"",Ot.value=le.ms2ExplainColor?le.ms2ExplainColor.color[0].item:"",mo.value=le.ms2ButtonText?le.ms2ButtonText.value:"",Kt.value=le.ms2ButtonLink?le.ms2ButtonLink.value:"",no.value=le.ms2ButtonColor?le.ms2ButtonColor.color[0].item:"",Dt.value=le.ms2ButtonBgColor?le.ms2ButtonBgColor.color[0].item:"",St.value=le.ms1TitleColor?le.ms1TitleColor.color[0].item:"#333",Pt.value=le.ms1DescColor?le.ms1DescColor.color[0].item:"#ff7d00",uA.value=le.ms3TitleText?le.ms3TitleText.value:"",Vo.value=le.ms3TitleColor?le.ms3TitleColor.color[0].item:"",Oo.value=le.ms3ButtonText?le.ms3ButtonText.value:"",Do.value=le.ms3ButtonColor?le.ms3ButtonColor.color[0].item:"",Ho.value=le.ms3PaddingConfig,go.value=le.ms3BgMode?le.ms3BgMode.tabVal:0,To.value=le.ms3BgColor?le.ms3BgColor.color:[],xt.value=le.ms3BackgroundImage?le.ms3BackgroundImage.url:"",Ro.value=le.ms4BgMode?le.ms4BgMode.tabVal:0,jo.value=le.ms4BgColor?le.ms4BgColor.color:[],fo.value=le.ms4BackgroundImage?le.ms4BackgroundImage.url:"",V.value=le.assetConfig?le.assetConfig.listStyle:2,S.value=le.assetConfig?le.assetConfig.list:[],I.value=le.iconStyleConfig||le.iconStyle||{},k.value=le.bottomBgColor.color[0].item,K.value=le.fillet,T.value=le.nameColor?le.nameColor.color[0].item:"#333333",H.value=le.nameSize?le.nameSize.val:16,R.value=le.numColor?le.numColor.color[0].item:"#333333",G.value=le.numSize?le.numSize.val:14,z.value=le.dataTitleColor?le.dataTitleColor.color[0].item:"#333333",ie.value=le.dataNumColor?le.dataNumColor.color[0].item:"#333333",f.value=le.assetIconColor?le.assetIconColor.color[0].item:"#ff9900",g.value=le.assetIconSize?le.assetIconSize.val:20,p.value=le.assetTextColor?le.assetTextColor.color[0].item:"#333",b.value=le.assetTextSize?le.assetTextSize.val:12}return(Se,le)=>{const vt=X("common_wrapper");return s(),ce(vt,{config:c.value},{default:P(()=>[l("div",{class:ue(["member-card","style"+(B.value+1)])},[B.value==0?(s(),u("div",{key:0,class:ue(["card-header acea-row row-between-wrapper",{"style-0":B.value==0}])},[l("div",zd,[l("div",Jd,[w.value?(s(),u("img",{key:0,src:w.value},null,8,Yd)):(s(),u("div",Xd,[...le[0]||(le[0]=[l("img",{src:he},null,-1)])]))]),l("div",Wd,[l("div",{class:"name",style:U({color:T.value,fontSize:H.value+"px"})},"这里是昵称",4),y.value==0?(s(),u("div",{key:0,class:"level",style:U({color:R.value,fontSize:G.value+"px"})}," 14512349876 ",4)):(s(),u("div",{key:1,class:"level",style:U({color:R.value,fontSize:G.value+"px"})},"ID: 9527",4))])]),E.value.length?(s(),u("div",$d,[(s(!0),u(q,null,ae(E.value,(Fe,Ye)=>(s(),u("div",{class:"item",key:Ye,style:{marginLeft:"10px"}},[h.value==0?(s(),u(q,{key:0},[Fe.img?(s(),u("img",{key:0,src:Fe.img,class:"menu-img"},null,8,Zd)):O("",!0)],64)):(s(),u(q,{key:1},[Fe.icon?(s(),u("span",{key:0,class:ue(["mb-iconfont",Fe.icon]),style:U({display:"inline-block",color:I.value.color.color[0].item,fontSize:I.value.size.val+"px",padding:I.value.padding.val+"px",transform:"rotate("+I.value.rotate.val+"deg)"})},null,6)):O("",!0)],64))]))),128))])):O("",!0)],2)):O("",!0),B.value==1?(s(),u("div",qd,[l("div",em,[l("div",tm,[l("div",{class:"name",style:U({color:T.value,fontSize:H.value+"px"})},"这里是昵称",4),y.value==0?(s(),u("div",{key:0,class:"level",style:U({color:R.value,fontSize:G.value+"px"})}," 14512349876 ",4)):(s(),u("div",{key:1,class:"level",style:U({color:R.value,fontSize:G.value+"px"})},"9527",4))]),l("div",om,[w.value?(s(),u("img",{key:0,src:w.value},null,8,Am)):(s(),u("div",nm,[...le[1]||(le[1]=[l("img",{src:he},null,-1)])]))])])])):O("",!0),B.value==2?(s(),u("div",lm,[l("div",im,[l("div",am,[w.value?(s(),u("img",{key:0,src:w.value},null,8,sm)):(s(),u("div",cm,[...le[2]||(le[2]=[l("img",{src:he},null,-1)])]))]),l("div",rm,[l("div",{class:"name",style:U({color:T.value,fontSize:H.value+"px"})},"这里是昵称",4),y.value==0?(s(),u("div",{key:0,class:"level",style:U({color:R.value,fontSize:G.value+"px"})}," 14512349876 ",4)):(s(),u("div",{key:1,class:"level",style:U({color:R.value,fontSize:G.value+"px"})},"ID: 9527",4))])]),E.value.length?(s(),u("div",um,[(s(!0),u(q,null,ae(E.value,(Fe,Ye)=>(s(),u("div",{class:"item",key:Ye,style:{marginLeft:"10px"}},[h.value==0?(s(),u(q,{key:0},[Fe.img?(s(),u("img",{key:0,src:Fe.img,class:"menu-img"},null,8,dm)):(s(),u("div",mm,[...le[3]||(le[3]=[l("img",{src:he},null,-1)])]))],64)):(s(),u(q,{key:1},[Fe.icon?(s(),u("span",{key:0,class:ue(["mb-iconfont",Fe.icon]),style:U({display:"inline-block",color:I.value.color.color[0].item,fontSize:I.value.size.val+"px",padding:I.value.padding.val+"px",transform:"rotate("+I.value.rotate.val+"deg)"})},null,6)):O("",!0)],64))]))),128))])):O("",!0)])):O("",!0),B.value==3?(s(),u("div",gm,[l("div",{class:"left-card",style:U(i.value)},[l("div",fm,[l("div",vm,[w.value?(s(),u("img",{key:0,src:w.value},null,8,pm)):(s(),u("div",Cm,[...le[4]||(le[4]=[l("img",{src:he},null,-1)])]))]),l("div",_m,[l("div",{class:"name",style:U({color:T.value,fontSize:H.value+"px"})},"这里是昵称",4),y.value==0?(s(),u("div",{key:0,class:"level",style:U({color:R.value,fontSize:G.value+"px"})}," 14512349876 ",4)):(s(),u("div",{key:1,class:"level",style:U({color:R.value,fontSize:G.value+"px"})},"ID: 9527",4))])]),l("div",bm,[j.value==0?(s(!0),u(q,{key:0},ae(o.value,(Fe,Ye)=>(s(),u("div",{class:ue(["item",{"style-vert":D.value==0,"style-horiz":D.value==1,"style-vert-2":D.value==2}]),key:Ye},[D.value==0?(s(),u(q,{key:0},[l("div",{class:"num",style:U({color:ie.value})},$(Fe.val),5),l("div",{class:"label",style:U({color:z.value})},$(Fe.name),5)],64)):O("",!0),D.value==1||D.value==2?(s(),u(q,{key:1},[l("div",{class:"label",style:U({color:z.value})},$(Fe.name),5),l("div",{class:"num",style:U({color:ie.value})},$(Fe.val),5)],64)):O("",!0)],2))),128)):O("",!0),j.value==1?(s(!0),u(q,{key:1},ae(S.value,(Fe,Ye)=>(s(),u("div",{class:"item style-icon",key:Ye},[l("div",Bm,[V.value==0&&Fe.img?(s(),u("img",{key:0,src:Fe.img,class:"img-icon"},null,8,hm)):V.value==1&&Fe.icon?(s(),u("span",{key:1,class:ue(["iconfont",Fe.icon]),style:U({fontSize:g.value+"px",color:f.value})},null,6)):(s(),u("div",ym,[...le[5]||(le[5]=[l("img",{src:he},null,-1)])]))]),l("div",{class:"label",style:U({fontSize:b.value+"px",color:p.value})},$(Fe.info[0].value),5)]))),128)):O("",!0)])],4),l("div",{class:"right-card",style:U(i.value)},[W.value.length?(s(),u("div",wm,[l("div",{class:"title",style:U({fontSize:"14px",fontWeight:"bold",marginBottom:"5px",color:m.value})},$(W.value[0].info[0].value),5),l("div",Qm,[se($(W.value[0].info[1].value)+" ",1),le[6]||(le[6]=l("span",{class:"iconfont iconyou",style:{"font-size":"12px"}},null,-1))]),l("div",xm,[W.value[0].img?(s(),u("img",{key:0,src:W.value[0].img},null,8,Im)):(s(),u("div",Um,[...le[7]||(le[7]=[l("img",{src:he},null,-1)])]))])])):O("",!0)],4)])):O("",!0),B.value==4?(s(),u("div",Fm,[l("div",Em,[l("div",Sm,[l("div",Lm,[w.value?(s(),u("img",{key:0,src:w.value},null,8,Nm)):(s(),u("div",km,[...le[8]||(le[8]=[l("img",{src:he},null,-1)])]))]),l("div",Vm,[l("div",{class:"name",style:U({color:T.value,fontSize:H.value+"px"})},"这里是昵称",4),y.value==0?(s(),u("div",{key:0,class:"level",style:U({color:R.value,fontSize:G.value+"px"})}," 14512349876 ",4)):(s(),u("div",{key:1,class:"level",style:U({color:R.value,fontSize:G.value+"px"})},"ID: 9527",4))])]),E.value.length?(s(),u("div",Om,[(s(!0),u(q,null,ae(E.value,(Fe,Ye)=>(s(),u("div",{class:"item",key:Ye,style:{marginLeft:"10px"}},[h.value==0?(s(),u(q,{key:0},[Fe.img?(s(),u("img",{key:0,src:Fe.img,class:"menu-img"},null,8,Dm)):O("",!0)],64)):(s(),u(q,{key:1},[Fe.icon?(s(),u("span",{key:0,class:ue(["mb-iconfont",Fe.icon]),style:U({display:"inline-block",color:I.value.color.color[0].item,fontSize:I.value.size.val+"px",padding:I.value.padding.val+"px",transform:"rotate("+I.value.rotate.val+"deg)"})},null,6)):O("",!0)],64))]))),128))])):O("",!0)]),S.value.length?(s(),u("div",Hm,[j.value==0?(s(!0),u(q,{key:0},ae(o.value,(Fe,Ye)=>(s(),u("div",{class:ue(["item",{"style-vert":D.value==0,"style-horiz":D.value==1,"style-vert-2":D.value==2}]),key:Ye},[D.value==0?(s(),u(q,{key:0},[l("div",{class:"num",style:U({color:ie.value})},$(Fe.val),5),l("div",{class:"label",style:U({color:z.value})},$(Fe.name),5)],64)):O("",!0),D.value==1||D.value==2?(s(),u(q,{key:1},[l("div",{class:"label",style:U({color:z.value})},$(Fe.name),5),l("div",{class:"num",style:U({color:ie.value})},$(Fe.val),5)],64)):O("",!0)],2))),128)):O("",!0),j.value==1?(s(!0),u(q,{key:1},ae(S.value,(Fe,Ye)=>(s(),u("div",{class:"item style-icon",key:Ye},[l("div",Tm,[V.value==0&&Fe.img?(s(),u("img",{key:0,src:Fe.img,class:"img-icon"},null,8,jm)):V.value==1&&Fe.icon?(s(),u("span",{key:1,class:ue(["iconfont",Fe.icon]),style:U({fontSize:g.value+"px",color:f.value})},null,6)):(s(),u("div",Rm,[...le[9]||(le[9]=[l("img",{src:he},null,-1)])]))]),l("div",Mm,$(Fe.info[0].value),1)]))),128)):O("",!0)])):O("",!0)])):O("",!0),(j.value==0&&N.value.length||j.value==1&&S.value.length)&&B.value!=3&&B.value!=4?(s(),u("div",Km,[j.value==0?(s(!0),u(q,{key:0},ae(o.value,(Fe,Ye)=>(s(),u("div",{class:ue(["item",{"style-vert":D.value==0,"style-horiz":D.value==1,"style-vert-2":D.value==2}]),key:Ye},[D.value==0?(s(),u(q,{key:0},[l("div",{class:"num",style:U({color:ie.value})},$(Fe.val),5),l("div",{class:"label",style:U({color:z.value})},$(Fe.name),5)],64)):O("",!0),D.value==1||D.value==2?(s(),u(q,{key:1},[l("div",{class:"label",style:U({color:z.value})},$(Fe.name),5),l("div",{class:"num",style:U({color:ie.value})},$(Fe.val),5)],64)):O("",!0)],2))),128)):O("",!0),j.value==1?(s(!0),u(q,{key:1},ae(S.value,(Fe,Ye)=>(s(),u("div",{class:"item style-icon",key:Ye},[l("div",Pm,[V.value==0&&Fe.img?(s(),u("img",{key:0,src:Fe.img,class:"img-icon"},null,8,Gm)):V.value==1&&Fe.icon?(s(),u("span",{key:1,class:ue(["iconfont",Fe.icon]),style:U({fontSize:g.value+"px",color:f.value})},null,6)):(s(),u("div",zm,[...le[10]||(le[10]=[l("img",{src:he},null,-1)])]))]),l("div",{class:"label",style:U({color:p.value,fontSize:b.value+"px"})},$(Fe.info[0].value),5)]))),128)):O("",!0)])):O("",!0),Q.value==0?(s(),u("div",{key:6,class:"member-style-1",style:U([d.value,{marginTop:a.value}])},[(s(!0),u(q,null,ae(ge.value,(Fe,Ye)=>(s(),u("div",{class:"item",key:Ye},[l("div",Jm,[l("div",{class:"title",style:U({color:St.value})},$(Fe.info[0].value),5),l("div",{class:"subtitle",style:U({color:Pt.value})},[se($(Fe.info[1].value)+" ",1),le[11]||(le[11]=l("span",{class:"iconfont iconyou"},null,-1))],4)]),l("div",Ym,[Fe.img?(s(),u("img",{key:0,src:Fe.img},null,8,Xm)):(s(),u("div",Wm,[...le[12]||(le[12]=[l("img",{src:he},null,-1)])]))]),Ye(s(),u("div",{class:"right-item",key:Ye},[l("div",Ag,[Fe.img?(s(),u("img",{key:0,src:Fe.img},null,8,ng)):Fe.icon?(s(),u("span",{key:1,class:ue(["iconfont",Fe.icon]),style:U({color:bt.value})},null,6)):(s(),u("div",lg,[...le[13]||(le[13]=[l("img",{src:he},null,-1)])]))]),l("span",{class:"text",style:U({color:bt.value})},$(Fe.info[0].value),5)]))),128)),l("span",{class:"iconfont iconyou",style:U({color:bt.value})},null,4)])]),le[14]||(le[14]=l("div",{class:"divider"},null,-1)),l("div",ig,[l("div",ag,[oo.value?(s(),u("div",sg,[l("img",{src:oo.value},null,8,cg)])):O("",!0),l("div",{class:"explain-text",style:U({color:Ot.value})},$(Ao.value),5)]),l("div",{class:"action-btn",style:U({color:no.value,background:Dt.value})},$(mo.value),5)])],4)):O("",!0),Q.value==2?(s(),u("div",{key:8,class:"member-style-3",style:U([d.value])},[l("div",{class:"content-wrapper",style:U(r.value)},[l("div",{class:"desc",style:U({color:Vo.value,fontSize:"12px"})},$(uA.value),5),l("div",{class:"btn",style:U({color:Do.value,borderColor:Do.value,border:"1px solid",padding:"4px 12px",borderRadius:"14px",fontSize:"12px"})},$(Oo.value),5)],4)],4)):O("",!0),Q.value==3?(s(),u("div",{key:9,class:"member-style-4",style:U([d.value,{marginTop:a.value}])},[...le[15]||(le[15]=[l("div",{class:"left-box"},[l("div",{class:"label",style:{color:"#999","font-size":"12px","margin-bottom":"5px"}},"可提现(元)"),l("div",{class:"value",style:{color:"#f6d99d","font-size":"24px","font-weight":"bold"}},"200.00")],-1),l("div",{class:"right-box",style:{background:"#f6d99d",color:"#5a350c",padding:"5px 15px","border-radius":"20px","font-size":"12px","font-weight":"bold"}}," 立即提现 ",-1)])],4)):O("",!0)],2)]),_:1},8,["config"])}}}),ug=fe(rg,[["__scopeId","data-v-38673503"]]),dg=Object.freeze(Object.defineProperty({__proto__:null,default:ug,getDefaultConfig:da},Symbol.toStringTag,{value:"Module"})),mg={key:1,class:"mobile-page"},gg={class:"list-menu"},fg={class:"list-item-content"},vg=["src"],pg={key:2,class:"mobile-page"},Cg={key:0},_g=["src"],bg={key:3,class:"dot"},ma=t=>({cname:"导航组",name:"menus",timestamp:t,isHide:!1,setUp:{tabVal:0},titleLeft:"展示设置",titleContent:"内容设置",titleRight:"图片样式",titlePointer:"指示器设置",titleCurrency:"通用样式",zIndexConfig:{title:"组件上浮",val:0,min:0},menuStyleConfig:{title:"展示样式",tabVal:0,tabList:[{name:"排列展示"},{name:"宫格展示"},{name:"列表展示"}]},navDisplayStyle:{title:"导航样式",tabVal:0,tabList:[{name:"图文展示"},{name:"纯图片"},{name:"纯文字"}]},number:{title:"单行显示",tabVal:1,tabList:[{name:"3个"},{name:"4个"},{name:"5个"}]},gridStyle:{title:"宫格样式",tabVal:0,tabList:[{name:"3个/行"},{name:"4个/行"}]},gridItemStyle:{title:"宫格项样式",itemPadding:8,itemBgColor:"#ffffff",itemRadius:8,itemPaddingTop:0},headerConfig:{title:"头部设置",enable:!1},headerStyle:{title:"头部样式",fontSize:14,rightFontSize:14,leftColor:"#333333",rightColor:"#333333",topPadding:10,bottomPadding:10,leftRightPadding:12,leftWeight:"normal",rightWeight:"normal"},leftTopText:{title:"左上角文字",enable:!1,text:"左上角文字",link:""},rightTopText:{title:"右上角文字",enable:!1,text:"右上角文字",link:""},showConfig:{title:"展示样式",tabVal:0,tabList:[{name:"固定显示"},{name:"分页滑动"}]},rowsNum:{title:"显示行数",tabVal:0,tabList:[{name:"1行"},{name:"2行"},{name:"3行"},{name:"4行"}]},filletImg:{title:"图片圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},toneConfig:{title:"色调",tabVal:0,tabList:[{name:"跟随主题风格"},{name:"自定义"}]},pointerBgColor:{title:"常规样式",default:[{item:"#DDDDDD"}],color:[{item:"#DDDDDD"}]},pointerColor:{title:"选中样式",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},bgColor:{title:"组件背景",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},textColor:{title:"文字颜色",default:[{item:"#333"}],color:[{item:"#333"}]},bottomBgColor:{title:"底部背景",default:[{item:"#fff"}],color:[{item:"#fff"}]},componentBgConfig:{title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},paddingConfig:{title:"内边距",val:0,min:0,max:100,isAll:!0,valList:[{val:10},{val:0},{val:0},{val:0}]},marginConfig:{title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:20},{val:0},{val:0},{val:0}]},menuConfig:{title:"最多可添加1张图片,建议宽度90 * 90px",bnt:"添加",type:1,listStyle:0,maxList:100,list:[{img:"",type:0,show:!0,icon:"",info:[{title:"标题",value:"标题",tips:"选填,不超过4个字",max:4},{title:"链接",value:"",tips:"请输入链接",max:100}]},{img:"",type:0,show:!0,icon:"",info:[{title:"标题",value:"标题",tips:"选填,不超过4个字",max:4},{title:"链接",value:"",tips:"请输入链接",max:100}]},{img:"",type:0,show:!0,icon:"",info:[{title:"标题",value:"标题",tips:"选填,不超过4个字",max:4},{title:"链接",value:"",tips:"请输入链接",max:100}]},{img:"",type:0,show:!0,icon:"",info:[{title:"标题",value:"标题",tips:"选填,不超过4个字",max:4},{title:"链接",value:"",tips:"请输入链接",max:100}]}]},iconStyleConfig:{color:{title:"图标颜色",default:[{item:"#333"}],color:[{item:"#333"}]},size:{title:"图标大小",val:24,min:12,max:100},position:{title:"图标位置",tabVal:1,tabList:[{icon:"iconzuoduiqi"},{icon:"iconjuzhongduiqi"},{icon:"iconyouduiqi"}]},rotate:{title:"旋转角度",val:0,min:0,max:360}},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]}}),Bg=Object.assign({name:"home_menu",cname:"导航组",icon:"#iconzujian-daohangzu",configName:"c_home_menu",type:0,defaultName:"menus"},{__name:"home_menu",props:{index:{type:null},num:{type:null},colorStyle:{type:null}},setup(t){const n=t,A=ma(n.num),e=Be(),o=v([]),i=v(""),m=v(""),a=v(""),d=v(0),r=v(0),c=v(""),f=v(""),g=v(""),p=v({}),b=v(0),_=v(0),B=v(0),y=v(0),Q=v(0),I=v([]),N=v(0),w=v(0),h=v([]),E=v(0),F=v(0),x=v({enable:!1,text:""}),j=v({enable:!1,text:""}),D=v({enable:!1}),V=v({fontSize:14,leftColor:"#333333",rightColor:"#333333",topPadding:10,bottomPadding:10,leftRightPadding:12}),S=v({itemPadding:8,itemBgColor:"#ffffff",itemRadius:8,itemPaddingTop:0}),k=v(0),K=v({color:"#333",size:24,position:1,padding:0,rotate:0,shadow:0}),J=v(null);M(p,(H,R)=>{T(H)},{deep:!0}),M(()=>n.num,(H,R)=>{let G=e.defaultArray[H];T(G)},{deep:!0}),M(()=>e.defaultArray,(H,R)=>{let G=e.defaultArray[n.num];T(G)},{deep:!0}),Ce(()=>{ve(()=>{p.value=e.defaultArray[n.num],T(p.value)})});function ee(H){return Object.keys(H).map(z=>H[z])}function T(H){if(H){J.value=H;for(let R in A)H[R]==null&&(H[R]=JSON.parse(JSON.stringify(A[R])));if(H.menuConfig){b.value=H.menuStyleConfig.tabVal,_.value=H.navDisplayStyle?H.navDisplayStyle.tabVal:0,B.value=H.showConfig.tabVal,y.value=H.filletImg.type,Q.value=H.filletImg.val,I.value=H.filletImg.valList,N.value=H.fillet.type,w.value=H.fillet.val,h.value=H.fillet.valList,E.value=H.toneConfig.tabVal,f.value=H.pointerColor.color[0].item,g.value=H.pointerBgColor.color[0].item,a.value=H.bottomBgColor&&H.bottomBgColor.color&&H.bottomBgColor.color[0]?H.bottomBgColor.color[0].item:"",c.value=H.textColor.color[0].item,H.paddingConfig||(H.paddingConfig={title:"内边距",isAll:!1,val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},H.topConfig&&(H.paddingConfig.valList[0].val=H.topConfig.val),H.prConfig&&(H.paddingConfig.valList[1].val=H.prConfig.val,H.paddingConfig.valList[3].val=H.prConfig.val),H.bottomConfig&&(H.paddingConfig.valList[2].val=H.bottomConfig.val)),H.marginConfig||(H.marginConfig={title:"外边距",isAll:!0,val:0,min:0,max:100,valList:[{val:20},{val:0},{val:0},{val:0}]},H.mbConfig&&(H.marginConfig.valList[0].val=H.mbConfig.val)),i.value=H.bgColor.color[0].item,m.value=H.bgColor.color[1].item,F.value=H.gridStyle?H.gridStyle.tabVal:0,x.value=H.leftTopText||{enable:!1,text:"左上角文字",link:""},j.value=H.rightTopText||{enable:!1,text:"右上角文字",link:""},D.value=H.headerConfig||{enable:!1},V.value=H.headerStyle||{fontSize:14,leftColor:"#333333",rightColor:"#333333",topPadding:10,bottomPadding:10,leftRightPadding:12},S.value=Object.assign({itemPadding:8,itemBgColor:"#ffffff",itemRadius:8,itemPaddingTop:0},H.gridItemStyle),k.value=H.menuConfig.listStyle||0;let R=H.iconStyleConfig||{};K.value={color:R.color?R.color.color[0].item:"#333",size:R.size?R.size.val:24,position:R.position?R.position.tabVal:1,padding:R.padding?R.padding.val:0,rotate:R.rotate?R.rotate.val:0,shadow:R.shadow?R.shadow.tabVal:0};let G=ee(H.menuConfig.list),z=[];if(G.forEach(ie=>{ie.show&&z.push(ie)}),d.value=H.number.tabVal,r.value=H.rowsNum.tabVal,B.value){const ie=b.value===1?F.value+3:d.value+3;o.value=z.splice(0,(r.value+1)*ie)}else o.value=G.filter(ie=>ie.show)}}}return(H,R)=>{const G=X("common_wrapper");return J.value?(s(),ce(G,{key:0,config:J.value},{default:P(()=>[l("div",{class:"mobile-page",style:U({background:`linear-gradient(90deg,${i.value} 0%,${m.value} 100%)`,borderRadius:N.value?h.value[0].val+"px "+h.value[1].val+"px "+h.value[3].val+"px "+h.value[2].val+"px":w.value+"px"})},[l("div",null,[D.value.enable&&(x.value.enable||j.value.enable)?(s(),u("div",{key:0,class:"menu-header",style:U({paddingTop:V.value.topPadding+"px",paddingBottom:V.value.bottomPadding+"px",paddingLeft:V.value.leftRightPadding+"px",paddingRight:V.value.leftRightPadding+"px"})},[Ze(l("span",{class:"left-text",style:U({color:V.value.leftColor,fontSize:V.value.fontSize+"px",fontWeight:V.value.leftWeight})},$(x.value.text),5),[[ft,x.value.enable]]),Ze(l("span",{class:"right-text",style:U({color:V.value.rightColor,fontSize:V.value.rightFontSize+"px",fontWeight:V.value.rightWeight})},[se($(j.value.text)+" ",1),j.value.text&&j.value.link?(s(),u("span",{key:0,class:"mb-iconfont icon-xiangyou",style:U({fontSize:V.value.rightFontSize+"px"})},null,4)):O("",!0)],4),[[ft,j.value.enable]])],4)):O("",!0),b.value===2?(s(),u("div",mg,[l("div",gg,[(s(!0),u(q,null,ae(o.value,(z,ie)=>(s(),u("div",{class:"list-item",key:ie},[l("div",fg,[_.value!==2?(s(),u("div",{key:0,class:"list-img-box",style:U({borderRadius:y.value?I.value[0].val+"px "+I.value[1].val+"px "+I.value[3].val+"px "+I.value[2].val+"px":Q.value+"px"})},[k.value==0?(s(),u(q,{key:0},[z.img?(s(),u("img",{key:0,src:z.img,alt:""},null,8,vg)):(s(),u("div",{key:1,class:"list-empty-box",style:U({borderRadius:y.value?I.value[0].val+"px "+I.value[1].val+"px "+I.value[3].val+"px "+I.value[2].val+"px":Q.value+"px"})},[...R[0]||(R[0]=[l("img",{src:he},null,-1)])],4))],64)):(s(),u("div",{key:1,class:"icon-box",style:U([{display:"flex","align-items":"center",width:"100%",height:"100%"},{justifyContent:K.value.position===0?"flex-start":K.value.position===1?"center":"flex-end"}])},[l("span",{class:ue(["mb-iconfont",z.icon]),style:U({color:K.value.color,fontSize:K.value.size+"px",lineHeight:K.value.size+"px",padding:K.value.padding+"px",transform:"rotate("+K.value.rotate+"deg)",textShadow:K.value.shadow?"0px 2px 4px rgba(0,0,0,0.2)":"none"})},null,6)],4))],4)):O("",!0),_.value!==1?(s(),u("p",{key:1,class:"list-text",style:U("color:"+c.value)},$(z.info[0].value),5)):O("",!0)]),R[1]||(R[1]=l("span",{class:"list-arrow"},"›",-1))]))),128))])])):(s(),u("div",pg,[l("div",{class:ue(["list_menu",[b.value===2?"list-style":"",b.value===1?"grid-layout":""]]),style:U(b.value===1?{gridTemplateColumns:F.value===0?"repeat(3, 1fr)":"repeat(4, 1fr)",columnGap:S.value.itemPadding+"px",rowGap:S.value.itemPaddingTop+"px"}:{})},[(s(!0),u(q,null,ae(o.value,(z,ie)=>(s(),u("div",{class:ue(["item",[b.value===0?d.value===1?"four":d.value===2?"five":"":"",b.value===1?F.value===0?"grid-three":"grid-four":""]]),key:ie},[l("div",{class:"item-content",style:U(b.value===1?{backgroundColor:S.value.itemBgColor,borderRadius:S.value.itemRadius+"px",paddingTop:S.value.itemPaddingTop+"px",paddingBottom:S.value.itemPaddingTop+"px"}:{})},[_.value!==2?(s(),u("div",{key:0,class:ue(["img-box-gird",_.value==1?"on":""])},[k.value==0?(s(),u(q,{key:0},[z.img?(s(),u("div",Cg,[z.img?(s(),u("img",{key:0,src:z.img,alt:"",style:U({borderRadius:y.value?I.value[0].val+"px "+I.value[1].val+"px "+I.value[3].val+"px "+I.value[2].val+"px":Q.value+"px"})},null,12,_g)):(s(),u("div",{key:1,class:"empty-box on",style:U({borderRadius:y.value?I.value[0].val+"px "+I.value[1].val+"px "+I.value[3].val+"px "+I.value[2].val+"px":Q.value+"px"})},[...R[2]||(R[2]=[l("img",{src:he},null,-1)])],4))])):O("",!0)],64)):(s(),u("div",{key:1,style:U([{width:"100%",height:"100%",display:"flex","align-items":"center"},{justifyContent:K.value.position===0?"flex-start":K.value.position===1?"center":"flex-end"}])},[l("span",{class:ue(["mb-iconfont",z.icon]),style:U({color:K.value.color,fontSize:K.value.size+"px",lineHeight:K.value.size+"px",padding:K.value.padding+"px",transform:"rotate("+K.value.rotate+"deg)",textShadow:K.value.shadow?"0px 2px 4px rgba(0,0,0,0.2)":"none"})},null,6)],4))],2)):O("",!0),_.value!==1?(s(),u("p",{key:1,style:U({color:c.value,marginTop:k.value===0?"10px":"0px"})},$(z.info[0].value),5)):O("",!0)],4)],2))),128))],6)])),B.value&&b.value!==2?(s(),u("div",bg,[l("div",{class:"dot-item",style:U({background:E.value?`${f.value}`:`${t.colorStyle.theme}`})},null,4),(s(),u(q,null,ae(2,z=>l("div",{class:"dot-item",style:U({background:E.value?`${g.value}`:""}),key:z},null,4)),64))])):O("",!0)])],4)]),_:1},8,["config"])):O("",!0)}}}),hg=fe(Bg,[["__scopeId","data-v-48117ee2"]]),yg=Object.freeze(Object.defineProperty({__proto__:null,default:hg,getDefaultConfig:ma},Symbol.toStringTag,{value:"Module"})),wg={key:0,class:"wrapper"},Qg={class:"pictrue"},xg=["src"],Ig={class:"right"},Ug={key:0,class:"acea-row row-center-wrapper mr5"},Fg={key:1,class:"list-wrapper"},Eg={key:0,class:"pictrue"},Sg=["src"],Lg={class:"info"},Ng={class:"titleCon"},kg={class:"right"},Vg={key:0,class:"acea-row row-center-wrapper mr5"},Og={key:2,class:"wrapper2"},Dg={class:"pictrue"},Hg=["src"],Tg={class:"text"},jg={key:1,class:"acea-row row-center-wrapper mr5"},ga=t=>({cname:"文章列表",desc:"文章列表介绍",name:"articleList",timestamp:t,isHide:!1,setUp:{tabVal:0},titleLeft:"展示设置",titleRight:"列表样式",titleArticle:"文章设置",titleList:"列表设置",titleCurrency:"通用样式",zIndexConfig:{title:"组件上浮",val:0,min:0},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},styleConfig:{title:"选择风格",tabVal:1,tabList:[{name:"大图展示"},{name:"单列纵向"},{name:"两列横向"}]},numConfig:{val:3,title:"文章数量"},selectConfig:{title:"文章分类",activeValue:"",list:[{activeValue:"",title:""},{activeValue:"",title:""}]},goodsList:{max:20,list:[]},selectList:{title:"文章列表",list:[]},checkboxList:{title:"是否显示",type:[0,1,2],list:[{id:0,name:"时间日期"},{id:1,name:"浏览量"}]},filletImg:{title:"图片圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},nameConfig:{title:"文章标题",tabVal:1,tabList:[{name:"加粗"},{name:"常规"}]},toneConfig:{title:"色调",tabVal:0,tabList:[{name:"跟随主题风格"},{name:"自定义"}]},likeSuccessColor:{title:"点赞成功",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},nameColor:{title:"文章标题",default:[{item:"#333333"}],color:[{item:"#333333"}]},timeColor:{title:"时间日期",default:[{item:"#999999"}],color:[{item:"#999999"}]},browseColor:{title:"浏览元素",default:[{item:"#999999"}],color:[{item:"#999999"}]},statisticColor:{title:"数字统计",default:[{item:"#999999"}],color:[{item:"#999999"}]},componentBgConfig:{title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#F5F5F5"},{item:"#F5F5F5"}],color:[{item:"#F5F5F5"},{item:"#F5F5F5"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},bgColor:{title:"组件背景",isAlpha:!1,default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},bottomBgColor:{title:"底部背景",default:[{item:"#F5F5F5"}],color:[{item:"#F5F5F5"}]},topConfig:{title:"上边距",val:0,min:0},bottomConfig:{title:"下边距",val:0,min:0},prConfig:{title:"左右边距",val:10,min:0},mbConfig:{title:"页面间距",val:0,min:0},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:6,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]}}),Rg=Object.assign({name:"home_new_list",cname:"文章列表",icon:"#iconzujian-wenzhangliebiao",configName:"c_new_list",type:0,defaultName:"articleList"},{__name:"home_new_list",props:{index:{type:null},num:{type:null},colorStyle:{type:null}},setup(t){const n=t,A=ga(n.num),e=Be(),o=v(""),i=v(""),m=v(0),a=v(0),d=v([]),r=v(0),c=v(0),f=v([]),g=v(0),p=v(0),b=v([]),_=v(0),B=v(""),y=v(""),Q=v(""),I=v(""),N=v(""),w=v({}),h=v({}),E=v(0),F=v(0),x=v(0),j=v(""),D=v([]);M(h,(S,k)=>{V(S)},{deep:!0}),M(()=>n.num,(S,k)=>{const K=e.defaultArray[S];V(K)},{deep:!0}),M(()=>e.defaultArray,(S,k)=>{const K=e.defaultArray[n.num];V(K)},{deep:!0}),Ce(()=>{ve(()=>{h.value=e.defaultArray[n.num],V(h.value)})});function V(S){if(!S)return;for(let K in A)S[K]==null&&(S[K]=JSON.parse(JSON.stringify(A[K])));if(a.value=S.styleConfig.tabVal,d.value=S.checkboxList.type,r.value=S.filletImg.type,c.value=S.filletImg.val,f.value=S.filletImg.valList,g.value=S.fillet.type,p.value=S.fillet.val,b.value=S.fillet.valList,o.value=S.bgColor.color[0].item,i.value=S.bgColor.color[1].item,_.value=S.nameConfig.tabVal,B.value=S.nameColor.color[0].item,y.value=S.timeColor.color[0].item,Q.value=S.browseColor.color[0].item,j.value=S.likeSuccessColor.color[0].item,I.value=S.statisticColor.color[0].item,N.value=S.bottomBgColor.color[0].item,E.value=S.topConfig.val,F.value=S.bottomConfig.val,x.value=S.toneConfig.tabVal,m.value=S.prConfig.val,w.value=S,!S.paddingConfig){let K={title:"内边距",val:0,min:0,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]};K.valList[0].val=S.topConfig.val,K.valList[2].val=S.bottomConfig.val,K.valList[1].val=S.prConfig.val,K.valList[3].val=S.prConfig.val,w.value.paddingConfig=K}if(!S.marginConfig){let K={title:"外边距",val:0,min:0,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]};K.valList[0].val=S.mbConfig?S.mbConfig.val:0,w.value.marginConfig=K}const k=S.selectList.list||[];k.length?D.value=k:D.value=S.numConfig.val}return(S,k)=>{const K=X("common_wrapper");return s(),ce(K,{config:w.value},{default:P(()=>[a.value==0?(s(),u("div",wg,[(s(!0),u(q,null,ae(D.value,(J,ee)=>(s(),u("div",{class:"item",key:ee,style:U({background:`linear-gradient(90deg,${o.value} 0%,${i.value} 100%)`,borderRadius:g.value?b.value[0].val+"px "+b.value[1].val+"px "+b.value[3].val+"px "+b.value[2].val+"px":p.value+"px"})},[l("div",{class:"name line1",style:U({color:B.value,fontWeight:_.value?"":"bold"})},$(J.title||"文章标题文章标题文章标题文章"),5),l("div",Qg,[J.image_input?(s(),u("img",{key:0,src:J.image_input[0],style:U({borderRadius:r.value?f.value[0].val+"px "+f.value[1].val+"px "+f.value[3].val+"px "+f.value[2].val+"px":c.value+"px"})},null,12,xg)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:r.value?f.value[0].val+"px "+f.value[1].val+"px "+f.value[3].val+"px "+f.value[2].val+"px":c.value+"px"})},[...k[0]||(k[0]=[l("img",{src:he},null,-1)])],4))]),l("div",{class:ue(["bottom acea-row",d.value.indexOf(0)!=-1?"row-between-wrapper":"row-right"])},[d.value.indexOf(0)!=-1?(s(),u("div",{key:0,style:U({color:y.value})},$(S.$filters.formatDate(J.add_time||"1621474811")),5)):O("",!0),l("div",Ig,[d.value.indexOf(1)!=-1?(s(),u("div",Ug,[l("span",{class:"iconfont iconfangwenliang",style:U({color:`${Q.value}`})},null,4),l("span",{class:"num",style:U({color:`${I.value}`})},$(J.visit||0),5)])):O("",!0)])],2)],4))),128))])):a.value==1?(s(),u("div",Fg,[(s(!0),u(q,null,ae(D.value,(J,ee)=>(s(),u("div",{class:"item",key:ee,style:U({background:`linear-gradient(90deg,${o.value} 0%,${i.value} 100%)`,borderRadius:g.value?b.value[0].val+"px "+b.value[1].val+"px "+b.value[3].val+"px "+b.value[2].val+"px":p.value+"px"})},[J.image_input?(s(),u("div",Eg,[l("img",{src:J.image_input[0],style:U({borderRadius:r.value?f.value[0].val+"px "+f.value[1].val+"px "+f.value[3].val+"px "+f.value[2].val+"px":c.value+"px"})},null,12,Sg)])):(s(),u("div",{key:1,class:"empty-box on",style:U({borderRadius:r.value?f.value[0].val+"px "+f.value[1].val+"px "+f.value[3].val+"px "+f.value[2].val+"px":c.value+"px"})},[...k[1]||(k[1]=[l("img",{src:he},null,-1)])],4)),l("div",Lg,[l("div",Ng,[l("div",{class:"title line2",style:U({color:B.value,fontWeight:_.value?"":"bold"})},$(J.title||"文章标题文章标题文章标题文章"),5)]),l("div",{class:ue(["bottom acea-row",d.value.indexOf(0)!=-1?"row-between-wrapper":"row-right"])},[d.value.indexOf(0)!=-1?(s(),u("div",{key:0,class:"time",style:U({color:y.value})},$(S.$filters.formatDate(J.add_time||"1621474811")),5)):O("",!0),l("div",kg,[d.value.indexOf(1)!=-1?(s(),u("div",Vg,[l("span",{class:"iconfont iconfangwenliang",style:U({color:`${Q.value}`})},null,4),l("span",{style:U({color:`${I.value}`})},$(J.visit||0),5)])):O("",!0)])],2)])],4))),128))])):(s(),u("div",Og,[(s(!0),u(q,null,ae(D.value,(J,ee)=>(s(),u("div",{class:ue(["item",D.value.length%2==0?"on2":"on1"]),key:ee,style:U({background:`linear-gradient(90deg,${o.value} 0%,${i.value} 100%)`,borderRadius:g.value?b.value[0].val+"px "+b.value[1].val+"px "+b.value[3].val+"px "+b.value[2].val+"px":p.value+"px"})},[l("div",Dg,[J.image_input?(s(),u("img",{key:0,src:J.image_input[0],style:U({borderRadius:r.value?f.value[0].val+"px "+f.value[1].val+"px "+f.value[3].val+"px "+f.value[2].val+"px":c.value+"px"})},null,12,Hg)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:r.value?f.value[0].val+"px "+f.value[1].val+"px "+f.value[3].val+"px "+f.value[2].val+"px":c.value+"px"})},[...k[2]||(k[2]=[l("img",{src:he},null,-1)])],4))]),l("div",Tg,[l("div",{class:"name line1",style:U({color:`${B.value}`,fontWeight:_.value?"":"bold"})},$(J.title||"文章标题文章标题文章标题文章"),5),l("div",{class:ue(["bottom acea-row",d.value.indexOf(0)!=-1?"row-between-wrapper":"row-right"])},[d.value.indexOf(0)!=-1?(s(),u("div",{key:0,class:"time",style:U({color:`${y.value}`})},$(S.$filters.formatDate(J.add_time||"1621474811")),5)):O("",!0),d.value.indexOf(1)!=-1?(s(),u("div",jg,[l("span",{class:"iconfont iconfangwenliang",style:U({color:`${Q.value}`})},null,4),l("span",{style:U({color:`${I.value}`})},$(J.visit||0),5)])):O("",!0)],2)])],6))),128))]))]),_:1},8,["config"])}}}),Mg=fe(Rg,[["__scopeId","data-v-b7485322"]]),Kg=Object.freeze(Object.defineProperty({__proto__:null,default:Mg,getDefaultConfig:ga},Symbol.toStringTag,{value:"Module"})),Pg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADkAAAAwCAYAAACrF9JNAAAAAXNSR0IArs4c6QAADEZJREFUaEPtmguQXFWZx3/nPvp29/T09DyTTCIBEkCiIo74CJYlieIjQLIQkri1gCsqUMZC0dKyJIWpQlHAYi0ErSi7FLICyYKuyta6BQVBWERMgWKWZxACxBgyz37e2/dxrO/evsmEJGQmM2NF3VN1qh9z7z3nd/7f953vOz2Kv4Om/g4Y+X/IvxWV/yJKao3BU4VFmOpMfPutuE6I6/4If+R+tQR3Ioupf3b5Sl742TnosMxbV1+mlqyf0H3y7BmH1Fv682SrXyNbu4QozDHqwFCbjppe2TCCW4i8dWoFlYOBuj+5coHzyk+/we7nV+HZoMFte/MFua/ed+tEFucvA/lY50doK9+BExZpgN7ejTcEgT+GYQehk+W7Zo51ahnl8ZPWm744m9qLN/LSr89k8KWMboBXh4qrQt11/MCsm5554oiA1Pdj0dX2r7TXzsPEYNjAe6YNt+oSaB9lgOPg5tr4slHiRrWEQCaub/jgRxn63bcZfnWWrmn8OrhVajWKdzYa5a8vuIfnJgo440rqxwq92N7/0u4fJ46hdyhGt4If6thPDAMyGchkedm0+Cd7FQ/qVSykmEAELnhVFVY963EC/8LZ9/L7ycCl186oT+otHQPky7+goHvFl4JtMPRk7FaYBlgmWBZkHLTl8HPT5mPb7ntXNP/ZR3/jW/p43+NXteL8z8z98fbHDgduxiG1iPVo77kUB39IQWeFzHsSRp5Kop3ASTdbr7ZDhSwXWedwxysXtHeTqeTmbuNPanNiwlNpM6akfmDBG8j4N1N8eSkdWhGBvxWG/g/MloIpoGWDmQHDZrOC1Wo1u6cC9dp7ZwRSb+nswO+9imj4U5QGbTqSYb2tMPq7RD3TTpS05VUgbZGXhrL4uFrJxiMaUj9MDvPYSwnK66BcoKNJDKkU4TOa4S0tJTNgZ1qwJhiZGBJM7mE+Z6hT8A8GumXDBvvtxecGGP7lR9C7a7zpiu+oJR8/aHIwrUrqh3rasQufhPLl6LFuwhDaSboF0Qsw9mjik7aTQIqKhqiYKAkGLorF6mx+u+++ub6L4JW3R7sfX6q0+mdV2zUb34CwAk7/F9W6rd862KJMC6SWeT9c7MRwLsZsfB5d64ljaAhkW5AZ0Lug/EvhaEE6LTNNIc0YMgKuVmfzlXjPvG5xjqhxPVH1fGqjDm4Abh3tNQmb4HpiLwsunbvh+e9MO2QMJm09Jh/uXITSX8BorMLwcvH3sk+IwTlAHhBzHIX6r0GyVTursHIGygwTBdMuK6B5lj5OVqfS0B/jJtr4RPzIJgTSXXBdan5o3Dlmt//8+P8cu+v1fHjCSsZQG7CICp044TFE4TH0GTvpMU/Gji7E9E7EiESTBFD0kOAvkxZI+YsL0XN50H0YXb3Q1QN+DXb+Fvxyaq5yfwPNGWoF93urC6uNoHaLr1FBYDwSeeFDbsTds+/lkYkGp0NCxnDXkaW350QCTiP0PwzNd+B4Nv1GQCkysaJCDDMeMIWU70Rb+btA146C4nuh0AEdJWgo2PEU7LwbaCbXKTQh31DLuVxuf/HTAyfOf+GxP6j/lgviJZxUe11I/UPaCPtOJdCr0f5paHc+qmlhRoq5wKyWQimgDC1w0sUfpct78cv0e68XCkuhrQvai9C0YKgKu/8LGtsSSGkhT3Mmi5QAT7EdEDLOVm7qfiOwlshbDl4/KjQxomQS4j/HAl1xyN+rYGqm40FFPYGUV+l+FuylkO+DtnYw8zDWhKpsoveCajGF1HA5Sa3kD1Nk3L+ejAFv6VpEqL9FWH8/yrf3wMmSxDkZsBDoHFeRpoDpq6iYBh/xR/ksxuYriAbAPhpyeciVwLfAHYShH7Ukj6+PCLhEreAH0w95c6mEYd1IUF6D0TRjqLTLaEolai7Q0N3ytfEGNT7oCFiaeco9tRasNwcdLEKZGXS+hHJKEFVh7E6IGsl4Go3PTeosLpp+yFt7TiOq34ZqzNljOuONWkxRQMRc+1uQ6SKMVzE1zxRUthApi2VbaeZoji0kiHJg59C5LjKZIezgIWKrkedID9iKwSlqGV4c02786KlkyydF1ZFOw6o08cISRsOPAl001PBQkJ37gL326Ydfuyj7+GQcSW/r+Sxh+WrMZqa1onvvSSHE7CTwnNAKPPEMjGRiYZSYZgqZvoqJ11s9VDSGenHdDkxT42R9Ms4ulO0mrpAoKc8YxOUUtZLtzc+1nWxbajPt3R3xShk50LJiNqgQlAOqWqfWuVhdtXWfU4N9IcUfN3ZeCbUvY4Tm3iMgqXhlYC0VLzQ0lIC3tbYHsV+BjDREEQRSPLZUS6OsjCTfjSUmG1Yt3N0W2YyHmdVJ0iBdFE8SArkuwON0dTabG5dwtFPneRyM2DtkqHT2yiCKIvzQGLLt3BLn+7V9iuv9oqve2P0lzPqV2FYmhkzhBEBy0aYPjSCZ8LtI/DK+TgKKjNwCHG+uabSVSDwi5QjoCCrPg22CkwdDEgaJwgIqaibbUYjPWrWcDfJx9Ly2072q/wGlo2HPMEpKq8GAsAT2rkbod43m5969eOP+BfYBIPv/AatyG/lsLl5SMb8gSADlve9DvQkVnfilmKxMKgVJ98jxn9P3MpqYrJzNRVDdBd4wFIrgFFqZkYBKNJZrJcL6XMVyrpjKfrk/5F1HHQuVB8iZ8zAsCASsBSmmKpBeE8qt7HUAKL5mr0wznzSApElCYoKxmlGTOMEeewlyOch3gErVTCE1OvLYYKxgrYrL7sNr+0NuknO1nlsx/TXYjrFHPTFTgRVVmxFyvBj71zzg+JYvCUQaNF47n3Sbkdcy+NXEr8IyGD5kUiVTcxW/jNA02YjHeWp1vDyH1Q6c8dzVcwZR898g6ovXLwaULrNqlVASYcugpVQ9EdSccWY2fl9tuew+s/PAH00eaSuwxX8l4KSmKr4rz4jHZiM7OV9dfPAi+lDkB4bcRAaz92rc+kUEzXysngDKZNJoKe8FUFQJQB0D1jxrkIJ6CtuRCORgGJ2geyHIo8IMOkwimazTGNRb5+b5XHLGE4OmgImJazxup8EF065k7FI/7ZuFG30e1/sEnttFM1CxiqLguK4lUnoEkam2qoL1L+bJubvJlV3mdNp4ctioetG5RaDeg/bei/IWot0CjapRH4JGMzl7laJEtrp9cuEwLrpuwOWyGYGMQTeRw5+9hKa/iqhxDqYuUvVgOIIh0KNy+Cviqrq5MP+pbK52p1ofL8F+TWtMNh/dTqZtAMI1+DvOCEcrc0ZHMGTt2tqgTXJhCTqJP4rlBLh8QZ3F9Ycyydf7+8TqyZtLHWTDX+CY76TuKgZdGE6ipK5CNG+O1m96w9OW7V6oVj5xyGI2/vkg03uqro/c0BgO3lyuoCQlLnaY5DrzrS3JlcRjFNc4Sy2XfO/w2yEhY0VXYXJuxzexuAytTYbL8VFG3GsK3v1OmDUriqqvXmH0P3LN6520pVONq52HO06PxqrfqwyHx1QbKPltpNjukG9vx5C9K9D30DDWqNUjEscPu00IMga9o3sFtn8rltXO6BiMhskWIsHjuBPgpAHN6Kv/Q/T4GrVMVuHQTct21dexNKq615ZHmovqnrYtA53NZKNspuPZjGNcwvKdD04lEThQcD/ozPTtpaMx9T1kzYXU6jDi7oVs74b3nS4/PW3D3bFCLXv8yUMjJlfEim7uXRBVvPObjeD9YWg6tp3fZjjWDyx3xwNTCTjpHCau5HosFpU24agV+IHBiNR/ulU+WfDGt+D3zXvRNrYvVR964oWJQu4xX1G1vyfPYKaEyRBn/rExVQUnDxlXKF2XkgmvxTBsxE3GogRSspfAQudzD6qgskJ9M07Dj5g2YSVj09rUtRgz+Am2NYtyBUb8xGQFVNI8xRBZ3qOu4ZkjhnCy/zOg/72rSCa8D8cYoNZQe/xSjjWkuohokuFiruWWVpF2RLBOUklMdOk6MnotEclWIn4pagpoQITFtRRZp9ZP/XfF6VqhSUHGJnt717nY4c0YqsBIGUaiGFKSgiAgUDZXWC9zjfqPw68apgtu0oFnbxTsP4qwejuht5hKUzGaRFivJscR6qVc1vxHrg5+9Vdrrnv2tTs6l1Fzr6LmnUAlyuiq8v0mW0zTuN4cC3+svn/4ZdF0qzipZGD84Fr2zGMLxzGm300tGMRVv2e9u/1IUm/8fCftkzOx0jP9zD8DjwY3fKmyEZYAAAAASUVORK5CYII=",Gg={class:"news-box"},zg={key:0,class:"img-box"},Jg=["src"],Yg={class:"title acea-row row-between-wrapper"},Xg={key:0,class:"pictrue"},Wg=["src"],fa=t=>({cname:"新闻公告",desc:"新闻公告",name:"news",timestamp:t,isHide:!1,setUp:{tabVal:0},titleLeft:"展示设置",titleStyle:"公告风格",titleButton:"按钮设置",titleContent:"公告内容",titleRight:"标题样式",titleCurrency:"通用样式",styleConfig:{title:"选择风格",tabVal:0,tabList:[{name:"样式一"},{name:"样式二"}]},titleConfig:{title:"标题类型",tabVal:0,tabList:[{name:"图片"},{name:"文字"}]},imgConfig:{url:Pg,type:"code",delType:1,name:"上传图片"},titleTxtConfig:{title:"标题文字",value:"商城头条",place:"请输入标题文字",max:4},rollConfig:{title:"滚动方式",tabVal:0,tabList:[{name:"上下滚动"},{name:"左右滚动"}]},buttonConfig:{title:"右侧按钮",tabVal:0,tabList:[{name:"显示"},{name:"隐藏"}]},textConfig:{title:"右侧文字",value:"更多",place:"请输入右侧文字",max:4},linkConfig:{title:"链接",value:"",place:"选择跳转链接",max:100,type:"link"},listConfig:{max:10,type:1,list:[{chiild:[{title:"标题",val:"标题",max:20,pla:"输入标题"},{title:"链接",val:"",max:200,pla:"输入连接"}],show:!0}]},toneConfig:{title:"色调",tabVal:0,tabList:[{name:"跟随主题风格"},{name:"自定义"}]},titleBgColor:{title:"标题背景",default:[{item:"#FCEAE9"},{item:"#FCEAE9"}],color:[{item:"#FCEAE9"},{item:"#FCEAE9"}]},titleColor:{title:"标题文字",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},newsColor:{title:"新闻标题",default:[{item:"#333333"}],color:[{item:"#333333"}]},bntColor:{title:"按钮颜色",default:[{item:"#999999"}],color:[{item:"#999999"}]},moduleColor:{title:"组件背景",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},bottomBgColor:{title:"底部背景",default:[{item:"#f5f5f5"}],color:[{item:"#f5f5f5"}]},paddingConfig:{title:"内边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},marginConfig:{title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},zIndexConfig:{title:"组件上浮",val:0,min:0},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},componentBgConfig:{title:"组件背景",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]}}),$g=Object.assign({name:"home_news_roll",cname:"新闻公告",configName:"c_news_roll",type:0,defaultName:"news",icon:"#iconzujian-xinwenbobao"},{__name:"home_news_roll",props:{index:{type:null},num:{type:null},colorStyle:{type:null}},setup(t){const n=t,A=fa(n.num),e=Be(),o=v(""),i=v(""),m=v({}),a=v({}),d=v([]),r=v(0),c=v(""),f=v(0),g=v(""),p=v(0),b=v(""),_=v(""),B=v(""),y=v(""),Q=v(0),I=v(0),N=v(""),w=v(""),h=v(""),E=v("");M(m,(x,j)=>{F(x)},{deep:!0}),M(()=>n.num,(x,j)=>{let D=e.defaultArray[x];F(D)},{deep:!0}),M(()=>e.defaultArray,(x,j)=>{let D=e.defaultArray[n.num];F(D)},{deep:!0}),Ce(()=>{ve(()=>{m.value=e.defaultArray[n.num],F(m.value)})});function F(x){if(!x)return;a.value=x,a.value.paddingConfig||(a.value.paddingConfig={title:"内边距",isAll:!1,val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},x.topConfig&&(a.value.paddingConfig.valList[0].val=x.topConfig.val),x.bottomConfig&&(a.value.paddingConfig.valList[2].val=x.bottomConfig.val),x.prConfig&&(a.value.paddingConfig.valList[1].val=x.prConfig.val,a.value.paddingConfig.valList[3].val=x.prConfig.val)),a.value.marginConfig||(a.value.marginConfig={title:"外边距",isAll:!1,val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},x.mbConfig&&(a.value.marginConfig.valList[0].val=x.mbConfig.val));for(let K in A)a.value[K]===void 0&&(a.value[K]=A[K]);o.value=x.rollConfig.tabVal,i.value=x.textConfig.tabVal,r.value=x.styleConfig.tabVal,c.value=x.imgConfig.url,f.value=x.buttonConfig.tabVal,g.value=x.textConfig.value;let j=x.listConfig.list,D=[];j.forEach(K=>{K.show&&D.push(K)}),d.value=D,p.value=x.toneConfig.tabVal,b.value=x.newsColor.color[0].item,_.value=x.bntColor.color[0].item,B.value=x.moduleColor.color[0].item,y.value=x.moduleColor.color[1].item,I.value=x.titleConfig.tabVal,N.value=x.titleBgColor.color[0].item,w.value=x.titleBgColor.color[1].item,h.value=x.titleColor.color[0].item,E.value=x.titleTxtConfig.value;let V=x.fillet.type,S=x.fillet.val,k=x.fillet.valList;Q.value=V?k[0].val+"px "+k[1].val+"px "+k[3].val+"px "+k[2].val+"px":S+"px"}return(x,j)=>{const D=X("common_wrapper");return d.value.length?(s(),ce(D,{key:0,config:a.value},{default:P(()=>[l("div",Gg,[r.value==0?(s(),u("div",{key:0,class:"item",style:U({background:`linear-gradient(90deg,${B.value} 0%,${y.value} 100%)`,borderRadius:Q.value})},[I.value==0?(s(),u("div",zg,[l("img",{src:c.value,alt:""},null,8,Jg)])):(s(),u("div",{key:1,class:"top",style:U({color:p.value?h.value:"#fff",background:p.value?`linear-gradient(90deg,${N.value} 0%,${w.value} 100%)`:t.colorStyle.theme})},$(E.value||"商城头条"),5)),l("div",{class:"right-box",style:U({color:b.value})},$(d.value[0].chiild[0].val),5),f.value?O("",!0):(s(),u("span",{key:2,class:"iconfont iconjinru",style:U({color:_.value})},null,4))],4)):(s(),u("div",{key:1,class:"list",style:U({background:`linear-gradient(90deg,${B.value} 0%,${y.value} 100%)`,borderRadius:Q.value})},[l("div",Yg,[I.value==0?(s(),u("div",Xg,[l("img",{src:c.value,alt:""},null,8,Wg)])):(s(),u("div",{key:1,class:"top",style:U({color:p.value?t.colorStyle.theme:h.value})},$(E.value||"商城头条"),5)),f.value?O("",!0):(s(),u("div",{key:2,style:U({color:_.value})},[se($(g.value),1),j[0]||(j[0]=l("span",{class:"iconfont iconjinru"},null,-1))],4))]),(s(!0),u(q,null,ae(d.value,(V,S)=>(s(),u("div",{class:"text line1",key:S,style:U({color:b.value})},[l("span",{class:ue(["num",S==0?"on":S==1?"on2":S==2?"on3":""])},$(S+1),3),se($(V.chiild[0].val),1)],4))),128))],4))])]),_:1},8,["config"])):O("",!0)}}}),Zg=fe($g,[["__scopeId","data-v-4b3dd060"]]),qg=Object.freeze(Object.defineProperty({__proto__:null,default:Zg,getDefaultConfig:fa},Symbol.toStringTag,{value:"Module"})),va="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADYAAAAWCAYAAACL6W/rAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFGmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNi4wLWMwMDIgNzkuMTY0NDYwLCAyMDIwLzA1LzEyLTE2OjA0OjE3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjEuMiAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMjAtMTEtMTBUMTU6MzI6MTkrMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDIwLTExLTEwVDE1OjMyOjUxKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDIwLTExLTEwVDE1OjMyOjUxKzA4OjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOmZlYzBlOWE3LWE4YTEtNGZmNi05Nzg1LTkwMTViNmJjNzE5OCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpmZWMwZTlhNy1hOGExLTRmZjYtOTc4NS05MDE1YjZiYzcxOTgiIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpmZWMwZTlhNy1hOGExLTRmZjYtOTc4NS05MDE1YjZiYzcxOTgiPiA8eG1wTU06SGlzdG9yeT4gPHJkZjpTZXE+IDxyZGY6bGkgc3RFdnQ6YWN0aW9uPSJjcmVhdGVkIiBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOmZlYzBlOWE3LWE4YTEtNGZmNi05Nzg1LTkwMTViNmJjNzE5OCIgc3RFdnQ6d2hlbj0iMjAyMC0xMS0xMFQxNTozMjoxOSswODowMCIgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIDIxLjIgKE1hY2ludG9zaCkiLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+iB4NtgAABDpJREFUWIXdln1MlVUcxz/neR7QIEYi6VSYqLTSZjgvQi4VtFSwWUSytmaa1h8tw8ra/KuXLVtb/9RmU1ZLcxMr04q8LRlxezFIq2uxgZCvpMQ7oSYvl+c55/THxa53PBCXcGx+/7l7zvmd3/l+f2/nCq016enpu4HHuYFg9P9uAk6MJZHRhgHg9/u7LcsqALrHmM+o4WrGOHbs2Ang6THkMqowrv3w+/17gA/GhsrownJZ2wRkAHOGOhgbA6vvldwxS3FLnKa906DmlMDrM7HtoM3DOZJAn8DrMwb1s3C+Yk6qYvcBiyUZivg4TUmZCcCqpZKpk3SYvSMFzW1QfdKgoUkMX5jf7+/OzMwscBynZrBDqSmKom19aC2oOWnQ3G4w/05J3nLNhjUOG7eOo/0vSJqiKci18f04nu4ed1/Pb7Rp7RC8vx+W3i2ZPi0kbPUyyW0zFKfrQ4GJjwverxR8eMjk7V1RwxMGwX7zeDyDRmPbFpva0ybPvRaFlCFXM5I1xW8FeGWzTeGrUXh9Jo/lOSxbqFyzdvtMzcxkza5PXGkAUFVr8MLr0WFrE+I1G9ZI1j7ocLza5PufBvoevEYGwU3jYdZ0TXmlcY2oIM5dEBz4yiIjTRIbA2f+ENSdFeRmO66+crMlXT3w7VEzIg6dlwTvfWwS6IP0ucrVJmJhPb3Q0i5YvkgSHT1wf2exxfoXx+H0i/b6TBbcpUhMCLcTAlYulpRXmvQGImUBV7oEFy8LYmO0637EwgDe2BnFvNmK/dsDPPmIQ2pKKGo9vVB3RhDoJ3v4OxOlYMXi8PSmz1XcmqDx+iLL1lVkpCkmJ2rOnHeXMHhxD4GKXwwKnhnHA/dJcrIUTz3qcKFJ8HWFyaelJk2toWl18bKg8rjJqmzJvpKQiNxsSWOr4Hj10LGdnAg5WaHARUdpkqdo8lZIGpoNPit1D8yIhAE0tgiKii2KiiElSZGVqbl/qcO6fIdt70RxqDx0oddn8OZWm5QkTX2DIDoali2UfOT97+tnJCkK19n/ftsONLcJDh42KS4x6el1PxexsNgYiI/TNLaEslLfYFDfAHsOmmx5wuHlzTY1pwzOng/aHPnZ5NLfNjlZkqJiiyULFDfHMKwyPPrbwKk4HETcY2mzFV+8GyB5qnvT7thrIqUIm1a2DWUVFrlZwT7LyXKoqhv6gf2/iFhYVa2BVPDQCum6P3ECWKamvTN83eszmTZZsyhdco9HjXhoDBcRl2JXN2zfY/HsBgfDCBJu7RCkTFPMm6PIXyk512Bw9Ndw4tW/C+r/FLxU6KAUlP0wooE8bIxoeOz93MKRsD4/+Ppfhe1A6RGTHXst179QX35jsmmtQ1mFyZWu61eGAEJrjRADL/F4PO5NdO1hAYkJmkkT4fKV4MPd13ddeEaMEY97AK2hrUPQ1jFadEYP17fQxxA3rLB/AInulg8syJa/AAAAAElFTkSuQmCC",ef={class:"left-content"},tf=["src"],of={class:"right-content"},pa=t=>({cname:"付费会员",name:"home_paid_vip",timestamp:t,setUp:{tabVal:0},titleContent:"内容设置",imgConfig:{info:"建议:36px * 36px",url:va,type:"code",delType:1,name:"会员图片"},rightBntConfig:{title:"右侧按钮",value:"立即开通",place:"请输入按钮文字",max:6},titleStyle:"文字设置",toneConfig:{title:"色调",tabVal:0,tabList:[{name:"默认"},{name:"自定义"}]},tipsColor:{title:"提示文字",default:[{item:"#333333"}],color:[{item:"#333333"}]},moneyColor:{title:"金额文字",default:[{item:"#F62C2C"}],color:[{item:"#F62C2C"}]},btnColor:{title:"按钮颜色",default:[{item:"#FF6B00"}],color:[{item:"#FF6B00"}]},btnConfig:{title:"按钮字号",val:13,min:12},titleCurrency:"通用样式",componentBgColor:{title:"组件背景",default:[{item:"#FFF0D1"}],color:[{item:"#FFF0D1"}]},paddingConfig:{title:"内边距",val:15,min:0,max:100,isAll:!1,valList:[{val:15},{val:15},{val:15},{val:15}]},marginConfig:{title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},zIndexConfig:{title:"组件上浮",val:0,min:0},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},bottomBgColor:{title:"底部背景",default:[{item:"#fff"}],color:[{item:"#fff"}]},componentBgConfig:{title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#FFF0D1"},{item:"#FFF0D1"}],color:[{item:"#FFF0D1"},{item:"#FFF0D1"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:8,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]}}),Af=Object.assign({name:"home_paid_vip",cname:"付费会员",configName:"c_paid_vip",icon:"#iconzujian-fufeihuiyuan",type:3,defaultName:"home_paid_vip"},{__name:"home_paid_vip",props:{index:{type:null},num:{type:null}},setup(t){const n=t,A=pa(n.num),e=Be(),o=pe(()=>({})),i=pe(()=>({color:c.value,fontSize:f.value+"px"})),m=pe(()=>p.value.url),a=pe(()=>b.value.value),d=pe(()=>g.value?_.value:"#333333"),r=pe(()=>g.value?B.value:"#F62C2C"),c=pe(()=>g.value?y.value:"#FF6B00"),f=pe(()=>Q.value&&Q.value.btnConfig?Q.value.btnConfig.val:13),g=pe(()=>Q.value&&Q.value.toneConfig&&Q.value.toneConfig.tabVal===1),p=pe(()=>Q.value&&Q.value.imgConfig?Q.value.imgConfig:{}),b=pe(()=>Q.value&&Q.value.rightBntConfig?Q.value.rightBntConfig:{}),_=pe(()=>Q.value&&Q.value.tipsColor&&Q.value.tipsColor.color&&Q.value.tipsColor.color[0]?Q.value.tipsColor.color[0].item:"#333333"),B=pe(()=>Q.value&&Q.value.moneyColor&&Q.value.moneyColor.color&&Q.value.moneyColor.color[0]?Q.value.moneyColor.color[0].item:"#F62C2C"),y=pe(()=>Q.value&&Q.value.btnColor&&Q.value.btnColor.color&&Q.value.btnColor.color[0]?Q.value.btnColor.color[0].item:"#FF6B00"),Q=v(null),I=v(null),N=v(null),w=v(null),h=v(null),E=v(null),F=v({});M(F,(j,D)=>{x(j)},{deep:!0}),M(()=>n.num,(j,D)=>{let V=e.defaultArray[j];x(V)},{deep:!0}),M(()=>e.defaultArray,(j,D)=>{let V=e.defaultArray[n.num];x(V)},{deep:!0}),Ce(()=>{ve(()=>{n.num&&(F.value=e.defaultArray[n.num],x(F.value))})});function x(j){if(!j)return;let D=JSON.parse(JSON.stringify(j));D.paddingConfig||(D.paddingConfig={title:"内边距",val:15,min:0,max:100,valList:[{val:15},{val:15},{val:15},{val:15}]},D.topConfig&&(D.paddingConfig.valList[0].val=D.topConfig.val),D.bottomConfig&&(D.paddingConfig.valList[2].val=D.bottomConfig.val),D.prConfig&&(D.paddingConfig.valList[1].val=D.prConfig.val,D.paddingConfig.valList[3].val=D.prConfig.val)),D.marginConfig||(D.marginConfig={title:"外边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},D.mbConfig&&(D.marginConfig.valList[0].val=D.mbConfig.val));for(let V in A)D[V]===void 0&&(D[V]=JSON.parse(JSON.stringify(A[V])));Q.value=D,I.value=D.paddingConfig,N.value=D.marginConfig,w.value=D.borderConfig,h.value=D.shadowConfig,E.value=D.componentBgConfig}return(j,D)=>{const V=X("common_wrapper");return s(),ce(V,{config:Q.value},{default:P(()=>[l("div",{class:"vip-container",style:U([o.value])},[l("div",ef,[m.value?(s(),u("img",{key:0,src:m.value,class:"vip-icon"},null,8,tf)):O("",!0),l("div",{class:"text-content",style:U({color:d.value})},[D[0]||(D[0]=se(" 开通SVIP会员预计省 ",-1)),l("span",{style:U({color:r.value})},"2.90",4),D[1]||(D[1]=se(" 元 ",-1))],4)]),l("div",of,[l("div",{class:"open-btn",style:U([i.value])},[se($(a.value)+" ",1),D[2]||(D[2]=l("span",{class:"iconfont iconjinru"},null,-1))],4)])],4)]),_:1},8,["config"])}}}),nf=fe(Af,[["__scopeId","data-v-d38896f4"]]),lf=Object.freeze(Object.defineProperty({__proto__:null,default:nf,getDefaultConfig:pa},Symbol.toStringTag,{value:"Module"})),af="/admin/system_static/pinkHead-C3KVpluG.png",sf="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAAAgCAYAAADAHpCrAAAAAXNSR0IArs4c6QAAB8RJREFUeF7tXM1uXTUQnglQfqSKRKiLIiSSAvuGF6DlBWieoI14gCYPgJpKlRArki1CaiqxJ32ChgdAlBWLEiVILFiAkrKhApQh34l9a4/Hxz4/N2kiLN1F7vXx8c/nb74Zj8OUKSLySP30gJk3dXURmSWiq7l2Kr7fY+a9tnoiskJEnwR1Dph5qfDMPBHtqjp3mXmtok9mFRG5RkT31Y+rzLxlzAve81H4PTNftxoWEfRVt2vOd9++j/UctwBGaibbTaIGV5f+3WLmB4XF/0GBcpuI7hZeYi0CAN/6LiICGB9nFhaA0WM1+y8it4loXbVznZnR96iIyC0DMIst/cDYIjB2mfAhdV8EwCxZO9QPyu2+hCmI6M6Qgbc8u8nMyyMApprhHJsDjL6AdRdaNvNNIkrYfkrzETXbAMagfHwdDgB/w2xEpgMUOwLDmLsuAIy1+0DtQ1itbW5HAYybVwAdwPFlW5slZ9L3VYeyfXDtnjpgYD+xMJ0KM7OIQL986R609IymYA3EEmAADP3MHBHpSe7U92kxjGNED2bMBz5hsfRaCCrUPXAfME2ie0Tk7AImnAnDbls7SmujLGAy5qhp0xDlFgaKLGk89JCZJ9pDRLpsJiwuAKFNaF8wm6bpPAFGs8E6M68qUHUBjLVYy5a3plckp326eklnCDCtTJ2ZH81sj5kZ7NYUa+xew8CsaOrUGiHxMELFn1mgZBAiUgWYTHsYxwLccGf7Q1dbzwnGo70UuL+JCxw8+J128c8xYOD2a8ehmdsiYCy+NBa2NYaRcQ3ngFi3+HgNFhEuclhyrqbFLls+/tICqL70j+cSF7kHYOCSe013Q21ELEbiVhNRrh5c/Iih3c63NExXhjl1wGiPYKL0j2yu/i1c1AjVbkIslxQ/hW3m6owNGOigd12jYGIEEcMC5vUgiBjKGLfp/dTWC3a+CRinn2rjMwApPmHB2BqThNiYaZKcl4Mgky7aa8LO0QEtTNBmhl0mQOgBmBzAThww4aRkQgjZwGMtEGrrVQAGwK6Lz/yzR/SKljDPR+s84ITl4RZb0cvaXYrOIeIKvRO+PdpJXQBzJHEsqvT9KQEGmmWjsvNWmL816nwuAPPv3lFAYo0IgHnbso7HszdNwDS2Xy2SFk/VJqkArjEBA/Pyrer3+QUMgPJ0neip209v3iZ6S/sEJ8AwuTB65S5Pqg0ETN/X+ufOOmDgVKTy4s+vrtLB57ME0Phy6etndPHT19SEQXJ4DYNYl2mS8JKce2oJo5BNfoFr7TQMhFjnYoTK29ioxDCd3z8Cw/htCsZCHGPi1dRqk9p6JQ2jDzblZ7pB3HhsqVh55/tNuvBhyTKkgGmbYUtPwLbpZwq6o3URdXtnkGHC8ZW021S9JA8Y2aV5OmxiLLnjngO6IrBN/eIwIgIm8bEDTADC78unDBgIaj3gEsNU57vUClgXhgd7YI7ybsUxbNBniOlSvS5MmIAsczQwicPIDt0ndn2QJval85W26Ir8OAQw2q/35zWJx3JCDOMBq6PCJcDU5Lv4xQoPTbMaxghgti32CwGYsIPyhK7RTHKyv3LEMDjA7c0w1YCxvCGDiaCurOwyaKVImhsmac2f9xiLVQJMl51r1bUivRq0be/A2GqYqEs/OzNMBJidxnLEwcYZmqP5JotxNMA0nazQJv5cRzNR9SmrxViBuOvKMF0WYizA+POpJspb0GB9+jcUMLETIbTN7xM8oP5HA4ZN/B8wbmkVy4E5tT6JWMmleIDuUeDihoe6cFsfGqhpqwfPKzowLWmYyYb7iebpQpJqscLv0cZQwGi0DQUMfHl95oJxQBBGQnZkhpmG6AWlY5Gx2NA9VTm9GOwReJDkFQLmRLykCWCe0BrNKLMzQ3O8QDgQHsQw+uFm4nON+g75o/AK05Wl4pEBU0pfCPuBnFltw8cO3NUm0mcPbq2Jq2EY2aVZOmzY5TlgnTlyYE61jUsdCSSBHYcxInpZwEzbS4oEW5o7c+KiV/Wny60B6zR9hZmTs65pBO7EYpdDus4fHJ+sG4nn+LouH0ZEcKYSHnU3AzuNOMw5AowFrlzuz6gMU2KXjLnsBBh97wcP+2PyouZwQTCdP1vlEbSlTPZwq33ydM27rQTt0UySiFiU3ySU6c6NzTBN4E4HPWN2gb4MA7XoUuLZtqVoanHWS3PUrFKXOj0AM7roHWCSNGtk7xqNCRjZaZyNGAyBdgn0i07J3dAX59oOH7tc2eiyi2vxgctsyW3DHGDcBKNt7eIOFb1+bFF/nMhsKLtGKGfSR9vuO41hktZp/7Pfaf/evWjSX7r8jC598wW98XGfmwywLpHlGJpAVQuIUr2cbTcDdx3D9aV3W79H/Sm8rzYPuO06zXDAIHXh10WiQ2XxLj8ier2XWjDnDYBJorSu5pgHaKVFOzeACS6yhfNXuvo6DDB/Pyb6bYmifBfM+Nwdorne/3sgCxh9l8i71PCacPYz9ulrcUcHcYAzxzCZmFTrXapBGgZZdH8kFwumAhasCxgGHlIogJJ/X+F2DXYMkoxR14e+S8xR+zvse3KFNNAqvh1cM1l1Yqy27T71IgFo9CNsczJf7q6UvkaDumDQ7L80cTGRkJGaceY6Pgnc/bV9nJ/ry8ws0auLRBdvEr08HQPxH0vVGV9njUBrAAAAAElFTkSuQmCC",cf="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAAAgCAYAAADAHpCrAAAAAXNSR0IArs4c6QAACJJJREFUeF7tXD1sHEUUfrNrkx8FxaYIUGE7aZGO20uN05EqjpAQEkIkDSU4FTQojkRBqtiio4lTUOO0CAmnjvc4lDYkpkqCkGIJhTjobof7lp3T7NuZ2dnbPTu2WMmF72Zm5+d7733vZ06Q5Ymi6Gf9KynlrW63u86bt1qtmampqZZtnLLP+/3+dq/X23a1a7fby0KIC1qbnTiOL7r6tFqtuTAMH7I1XOt2uytlc7J93+l0FpMkual/L4S4EsfxBu/T6XRWpJTv6p/HcXzONHY219y4tv0ed+5N9RMOwEifzcYmDjcmB66Kk7sUx/EtV58oin4hIh2Um0KIa64+SZLMCSFyh0BE60II57uEEDt3797tmca2rNU4/yiKPieiVQauc1tbW5t87Ha7fYnPNQiCd2zzyACWA2PFPR+7+csAmIsmCVUrsmkKIcTVsVft7rgex/HluoCpouEybb6ovXN7KETzDmH+BOCf0Pqdw6aAMah8fKwvAP/DbORMB1RsXQ0jhDBKnZq1SfrQp6ZWc21KI4DJ9vWhEGJOe9kmN0sw6WEYPmUTss4B7aIo2l/ARFEE1X2pKmLjOBZnz55tJUlyI+s7w0wHPuYqOAfEMsAYpI8Gg8GsYZOrTt/WvhZgoFmCIEhNtBAC+4G/0SOlLPA1Biq03ZFS7gghoGkKvOdAA0bfDIPdLkhUFEU5buQCjEmtA4DYRE7KLadfqiV5Pynl7W63O+IeVYQJawGJ52R7XCQDXN1ut2CaDhNgIFmjQxpK2OrW1tYVBipvwJgOS0p52eSt8UOpwiFcB3pQAFOmqU37MzU1pZtL6vf7vV6vt6PamtaechiYFSklV53c8yl4GDrjNx2QaRG+GsaiXWCO5uGGZ7Zfd7X5nmA9OS9laC7h/hZcYNVxMBjc4S7+YQVMu91e4Y6D2ttSwJgkjB+slNIZwzCRU3ANIBaHj3dMT0/PJEkCF3n02CTDclAbKv5iA9S46j/rV3CRxwBMLwxDxemWGIcBfym41URkbAcXn2tozNNkkqpqmH0HzHARCJLpKm5EHtvtNvcWRufKUY0vHGAYjblXgMm8wLcyEgtNvMxACfc2BQHXUIZ1Gwm1bztN8gteksaffOMzACn+9AdrS00SYmNGk5R5OQgy8Yd7TQhm5QJaUso74BMW7ZKaDgxaFTAG8Km57Tlg9E2pErizrHuigJFSAthe8ZnXKaEnFFgVMjxgI2BqxlHWB4PBtTAMwXeM2qUqYLKQui0o5wQMSHa/31/zMUtBECwaIsHOqPNhAAyA8hHt0ilK6Es6sfeAUbZffzM3M1U0jKstpEdFYS0k2xswYRgi1fAD27FDCxgA5QK9oCV6kS55g47Qd3Rs7wFjC6P7SLmpTR3AjPtOrd9BBww8wwK9OE//tD6g3RmARj2rdGz3RzpylO0ZKIfiMIh1FQK6osQ9NRGjEbcRQvwO1zrjMCBilR8eyTxogBmGI1aDICApZUsI0dO9Gl8y69tOba6vl/QkOo3zg8eWi7dgnM/o1fX7FOZ4ai23OuMeBV8dZIijwuSi+SKHj3fQAMPWmSO1vkDwbecLmEetOZR2XJX2dM/OeXlybew4TBRFS1JKFTtADgTh98smIOwhYMD2uafm5DBlsaJxPB5IsxAC+bIlQ86Hy8W6lBJkuiDRvgJkaFfwrMo0zJPo9E2RaRVJCMgKXq+0cV6e/LUOYLhfn+Zr9hEwKWB58LCM9PrUu6gDSZIEJmQkJIq889ocwxxcZ/9SAEaf4KPOmcWA1SsJksvvyZnZPQGMyRviwELSLEmSQpY1DEOE8nPheoNJWlFVcWMApoYgp11Nkd5c7sv1Arj1npqoyjwraxh98D86Z27wYOPfg8Hs+8FrqGLMhS+8OYxBxaWTLOMm6gUmwPhmWU0mTrPV/LD2PHDnoWHS/JSK8pZwsCpAUW1rAeZxeyEXZZdEm2/Evxmtx/+AqX48Tg0DzWngJ7k+KPGQUs7i1UIIuLh6UreH8gk+LVc7eF68IrGMw6jxQX4DVtcMc3QqfrBWK5dk6FxLw2S+PM+5YB0ofcgR2SY1zCRIb6fTAc+5jdQ/it0NlX7W2M0QPKik0wEz0dQArxd+1F5YCZjZgTma723vNAoYtfG2QRWCtVxRwf32Fe4mAVNWvqDPaViVP2+oC240cOeb8W/arcY6H7bmZo7/p11GgFXmCN9DEDi3qWKSchE9F2Am7Vbrh/oykN5xXHH0sWTTl+M4LuS6JgEYk3ZJhDj35tb9NLNuKX0dJYyzNsVIb/YFcip6qjtd2H641YcFMKZEpa1mpWnAlGmX7My5uRwVp2lOhxUw/N4P+qg0eSnnyC548fpZL6vkulg2hoZJi6d9Xmwq0Da51eNqGIvKTwvK+PyaBgwCd5wr6toluyXCY1CFqy3WEk0DObPuuYtz+BxUlTZVATMJ0jsuYAw1Pda7Rk0C5nF7AfGVHBh07qLxl1xJ7rA6cg0FvUzDW5OP/F6M61y9pdgXHGEYXjTd8rMBBhucua08BO+s2fUgvena+HwyNxYJRi+ibOEv1usrDQFm9WPa/fND+fxrfZ1PSex+I49fvyemc9eGPc8G1iV/LahmAZXne93NHHW9xsCdRzCt1rz4fEre51UH7Kq5bQIwKF34lv6iE5Tfsi/oBN2jqVr7oXcWBmKrLlo1mUBzTvgwASbTLrwC0Xn1tS5gFmhAX9Ez0utdsOHf09H0r8kHdZu5u0SKByCDTUTI/UAlTRQ8hwkwphLTsrtUdQCDCrpP6XkBE5MAS0oD8MsI+p0k089XQGpw6SkrMp5Roe+mkDv8pYV1009+KK6i3hMEwQYKlDL23tTrC+MEQbCmcyo+j5yK1n7uA8VoQRDkrtGgLRKxrp80gdBKKUdCqdZpW6BKDbxN/bQ+Vz3PSNADCuknesVZ4F1n4/4Fw7ueUg9z4sUAAAAASUVORK5CYII=",rf={class:"seckill-box"},uf={class:"left acea-row row-middle"},df=["src"],mf={class:"text"},gf={class:"top"},ff={class:"labelBg"},vf={key:1,class:"name line1"},pf={class:"img-box"},Ca=t=>({cname:"拼团",name:"combination",timestamp:t,isHide:!1,setUp:{tabVal:0},zIndexConfig:{title:"组件上浮",val:0,min:0},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},titleLeft:"头部设置",titleGoodsList:"商品列表",titleGoods:"商品设置",titleRight:"头部样式",bgTitle:"背景图片",titleGoodsStyle:"商品样式",titleCurrency:"通用样式",styleConfig:{title:"选择风格",tabVal:1,tabList:[{name:"背景色"},{name:"背景图片"}]},imgBgConfig:{info:"建议:710px * 96px",url:co.apiBaseURL.replace(/adminapi/,"")+"statics/images/pinkBg.png",type:"code",delType:1,name:"背景图片",title:""},titleConfig:{title:"标题类型",tabVal:0,tabList:[{name:"图片"},{name:"文字"}]},imgConfig:{info:"建议:154px * 32px",url:sf,type:"code",delType:1,name:"标题图片",title:"标题图片"},imgColorConfig:{info:"建议:154px * 32px",url:cf,type:"code",delType:1,name:"标题图片"},titleTxtConfig:{title:"标题文字",value:"超值拼团",place:"请输入标题文字",max:6},rightBntConfig:{title:"右侧按钮",value:"更多",place:"请输入右侧按钮",max:6},goodStyleConfig:{title:"选择风格",tabVal:0,tabList:[{name:"单列展示"},{name:"两列纵向"},{name:"三列展示"},{name:"左右滑动"}]},numberConfig:{title:"商品数量",val:3,min:1},checkboxInfo:{title:"展示信息",name:"checkboxInfo",type:[0,1,2,3],list:[{id:0,name:"商品名称"},{id:1,name:"商品标签"},{id:2,name:"商品价格"},{id:3,name:"划线价"}]},pinkConfig:{title:"拼团按钮",tabVal:0,tabList:[{name:"显示"},{name:"隐藏"}]},headerBgColor:{title:"背景颜色",name:"headerBgColor",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},titleText:{title:"标题文字",tabVal:0,tabList:[{name:"加粗",style:"bold"},{name:"正常",style:"normal"},{name:"倾斜",style:"italic"}]},titleColor:{title:"标题颜色",name:"titleColor",default:[{item:"#333333"}],color:[{item:"#333333"}]},titleNumber:{title:"标题字号",val:16,min:0},labelColor:{title:"标签颜色",name:"labelColor",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},headerBntColor:{title:"按钮颜色",name:"headerBntColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},headerBntColor2:{title:"按钮颜色",name:"headerBntColor2",default:[{item:"#999"}],color:[{item:"#999"}]},bntNumber:{title:"按钮字号",val:12,min:0},tipsColor:{title:"提示文字",name:"tipsColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},tipsColor2:{title:"提示文字",name:"tipsColor2",default:[{item:"#999"}],color:[{item:"#999"}]},dividerColor:{title:"分割线",name:"dividerColor",default:[{item:"#DDDDDD"}],color:[{item:"#DDDDDD"}]},filletImg:{title:"图片圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},goodsName:{title:"商品名称",tabVal:1,tabList:[{name:"加粗",style:"bold"},{name:"正常",style:"normal"}]},goodsNameColor:{title:"商品名称",name:"goodsNameColor",default:[{item:"#333333"}],color:[{item:"#333333"}]},goodsPriceColor:{title:"划线价",name:"goodsPriceColor",default:[{item:"#999999"}],color:[{item:"#999999"}]},toneConfig:{title:"色调",tabVal:0,tabList:[{name:"跟随主题风格"},{name:"自定义"}]},pinkPriceColor:{title:"拼团价格",name:"pinkPriceColor",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},goodsBntColor:{title:"按钮颜色",name:"goodsBntColor",default:[{item:"#FF7931"},{item:"#E93323"}],color:[{item:"#FF7931"},{item:"#E93323"}]},goodsBntTxtColor:{title:"按钮文字",name:"goodsBntTxtColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},moduleColor:{title:"组件背景",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},componentBgConfig:{title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#F5F5F5"},{item:"#F5F5F5"}],color:[{item:"#F5F5F5"},{item:"#F5F5F5"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},bottomBgColor:{title:"底部背景",default:[{item:"#f5f5f5"}],color:[{item:"#f5f5f5"}]},paddingConfig:{title:"内边距",isAll:!1,val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},marginConfig:{title:"外边距",isAll:!1,val:0,min:0,valList:[{val:0},{val:10},{val:0},{val:10}]},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:8,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]}}),Cf=Object.assign({name:"home_pink",cname:"拼团",icon:"#iconzujian-pintuan",configName:"c_home_pink",type:1,defaultName:"combination",pluginComponent:!0},{__name:"home_pink",props:{index:{type:null},num:{type:null},colorStyle:{type:null}},setup(t){const n=t,A=Ca(n.num),e=Be(),o=v({}),i=v(""),m=v(""),a=v(""),d=v(""),r=v(""),c=v(""),f=v(""),g=v(""),p=v(0),b=v(0),_=v(""),B=v(""),y=v(""),Q=v(0),I=v(""),N=v(null),w=v(""),h=v(""),E=v(0),F=v([]),x=v(0),j=v(0),D=v(0),V=v(""),S=v(""),k=v(""),K=v(0),J=v(""),ee=v(""),T=v(0),H=v(""),R=v(0),G=v(1),z=v(""),ie=v(0),Y=v(""),Z=v(""),re=v("");M(o,(ge,W)=>{te(ge)},{deep:!0}),M(()=>n.num,(ge,W)=>{let Ae=e.defaultArray[ge];te(Ae)},{deep:!0}),M(()=>e.defaultArray,(ge,W)=>{let Ae=e.defaultArray[n.num];te(Ae)},{deep:!0}),Ce(()=>{ve(()=>{o.value=e.defaultArray[n.num],te(o.value)})});function te(ge){if(!ge)return;N.value=ge;for(let Ge in A)ge[Ge]==null&&(ge[Ge]=JSON.parse(JSON.stringify(A[Ge])));i.value=ge.imgConfig.url,m.value=ge.imgBgConfig.url,y.value=ge.imgColorConfig.url,a.value=ge.tipsColor.color[0].item,d.value=ge.tipsColor2.color[0].item,r.value=ge.dividerColor.color[0].item,c.value=ge.rightBntConfig.value,f.value=ge.headerBntColor.color[0].item,g.value=ge.headerBntColor2.color[0].item,p.value=ge.bntNumber.val,b.value=ge.styleConfig.tabVal,_.value=ge.headerBgColor.color[0].item,B.value=ge.headerBgColor.color[1].item,Q.value=ge.titleConfig.tabVal,I.value=ge.titleTxtConfig.value;let W=ge.moduleColor.color[0].item,Ae=ge.moduleColor.color[1].item;w.value=`linear-gradient(90deg,${W} 0%,${Ae} 100%)`,N.value=ge;let me=ge.titleText.tabVal;E.value=me,h.value=ge.titleText.tabList[me].style,F.value=ge.checkboxInfo.type;let ye=ge.filletImg.type,Te=ge.filletImg.val,Pe=ge.filletImg.valList;x.value=ye?Pe[0].val+"px "+Pe[1].val+"px "+Pe[3].val+"px "+Pe[2].val+"px":Te+"px";let Qe=ge.fillet.type,De=ge.fillet.val,_e=ge.fillet.valList;j.value=Qe?_e[0].val+"px "+_e[1].val+"px 0 0":De+"px "+De+"px 0 0",D.value=Qe?"0 0 "+_e[3].val+"px "+_e[2].val+"px":"0 0 "+De+"px "+De+"px";let Ie=ge.goodsName.tabVal;V.value=ge.goodsName.tabList[Ie].style,S.value=ge.goodsNameColor.color[0].item,k.value=ge.goodsPriceColor.color[0].item,K.value=ge.toneConfig.tabVal,J.value=ge.goodsBntColor.color[0].item,ee.value=ge.goodsBntColor.color[1].item,T.value=ge.goodStyleConfig.tabVal,H.value=ge.goodsBntTxtColor.color[0].item,R.value=ge.pinkConfig.tabVal,G.value=ge.numberConfig.val,z.value=ge.titleColor.color[0].item,ie.value=ge.titleNumber.val,Y.value=ge.labelColor.color[0].item,Z.value=ge.pinkPriceColor.color[0].item,re.value=`linear-gradient(90deg,${n.colorStyle.theme} 0%,${n.colorStyle.gradient} 100%)`}return(ge,W)=>{const Ae=X("common_wrapper");return s(),ce(Ae,{config:N.value},{default:P(()=>[l("div",rf,[l("div",{class:"hd",style:U((b.value?"backgroundImage:url("+m.value+")":`background:linear-gradient(90deg,${_.value} 0%,${B.value} 100%)`)+";borderRadius:"+j.value)},[l("div",uf,[Q.value?(s(),u("div",{key:0,class:"text",style:U((E.value==2?"fontStyle:":"fontWeight:")+h.value+";color:"+z.value+";fontSize:"+ie.value+"px;")},$(I.value),5)):(s(),u("img",{key:1,src:b.value?i.value:y.value,alt:""},null,8,df)),l("div",{class:"line",style:U({background:r.value})},null,4),W[0]||(W[0]=l("div",{class:"pictrue"},[l("img",{src:af})],-1)),l("div",{class:"tips",style:U({color:b.value?a.value:d.value})}," 134人参与 ",4)]),l("div",{class:"right",style:U({color:b.value?f.value:g.value,fontSize:p.value+"px"})},[se($(c.value)+" ",1),l("span",{class:"iconfont iconjinru",style:U({fontSize:p.value+"px"})},null,4)],4)],4),l("div",{class:ue(["list-wrapper",T.value==0?"on":T.value==1||T.value==2?"on2":T.value==3?"on3":""]),style:U({background:w.value,borderRadius:D.value})},[T.value==0?(s(!0),u(q,{key:0},ae(G.value,(me,ye)=>(s(),u("div",{class:"itemOne acea-row",key:ye},[l("div",{class:"empty-box",style:U({borderRadius:x.value})},[...W[1]||(W[1]=[l("img",{src:he},null,-1)])],4),l("div",mf,[l("div",gf,[F.value.indexOf(0)!=-1?(s(),u("div",{key:0,class:"name line2",style:U({fontWeight:V.value,color:S.value})}," 橙中爱马仕 黑标新骑士晚季橙中爱马仕 黑标新骑士晚季... ",4)):O("",!0),F.value.indexOf(1)!=-1?(s(),u("div",{key:1,class:"label",style:U({background:K.value?Y.value:t.colorStyle.theme,color:K.value?Y.value:t.colorStyle.theme})},[l("div",ff,[l("div",{class:"num",style:U({background:K.value?Y.value:t.colorStyle.theme})}," 2人团 ",4),W[2]||(W[2]=se(" 已拼148份 ",-1))])],4)):O("",!0)]),l("div",{class:ue(["bottom",F.value.indexOf(2)!=-1&&F.value.indexOf(3)!=-1?"":"acea-row row-bottom"])},[F.value.indexOf(2)!=-1?(s(),u("div",{key:0,class:"price",style:U({color:K.value?Z.value:t.colorStyle.theme})},[...W[3]||(W[3]=[se(" 拼团价",-1),l("span",{class:"label"},"¥",-1),l("span",{class:"num"},"3200.00",-1)])],4)):O("",!0),F.value.indexOf(3)!=-1?(s(),u("div",{key:1,class:"yprice",style:U({color:k.value})},[...W[4]||(W[4]=[l("span",{class:"num line-through"},"¥4233",-1)])],4)):O("",!0)],2),R.value?O("",!0):(s(),u("div",{key:0,class:"bnt",style:U({color:K.value?H.value:"#fff",background:K.value?`linear-gradient(90deg,${ee.value} 0%,${J.value} 100%)`:re.value})}," 去拼团 ",4))])]))),128)):O("",!0),T.value==1?(s(!0),u(q,{key:1},ae(G.value,(me,ye)=>(s(),u("div",{class:"itemTwo",key:ye},[l("div",{class:"empty-box",style:U({borderRadius:x.value})},[...W[5]||(W[5]=[l("img",{src:he},null,-1)])],4),l("div",{class:ue(F.value.indexOf(0)!=-1&&F.value.length==1&&!R.value||F.value.indexOf(0)!=-1&&F.value.indexOf(1)!=-1&&F.value.length==2&&!R.value?"item":(!F.value.length||F.value.indexOf(1)!=-1&&F.value.length==1)&&!R.value?"item2":"")},[l("div",{class:"title acea-row row-middle",style:U({fontWeight:V.value,color:S.value})},[F.value.indexOf(1)!=-1?(s(),u("div",{key:0,class:"label",style:U({background:K.value?Y.value:t.colorStyle.theme,color:K.value?Y.value:t.colorStyle.theme})},[...W[6]||(W[6]=[l("div",{class:"labelBg"},"5人团",-1)])],4)):O("",!0),F.value.indexOf(0)!=-1?(s(),u("div",vf,"橙中爱马仕 黑标新骑士...")):O("",!0)],4),F.value.indexOf(2)!=-1?(s(),u("div",{key:0,class:ue(["price",F.value.indexOf(3)==-1&&!R.value?"on":""]),style:U({color:K.value?Z.value:t.colorStyle.theme})},[...W[7]||(W[7]=[se(" ¥",-1),l("span",{class:"num"},"3200.00",-1)])],6)):O("",!0),F.value.indexOf(3)!=-1?(s(),u("div",{key:1,class:ue(["yprice",F.value.indexOf(2)==-1&&!R.value?"on":""]),style:U({color:k.value})}," ¥3699.00 ",6)):O("",!0),R.value?O("",!0):(s(),u("div",{key:2,class:ue(["bnt",F.value.indexOf(2)==-1&&!R.value?"on":""]),style:U({color:K.value?H.value:"#fff",background:K.value?`linear-gradient(90deg,${ee.value} 0%,${J.value} 100%)`:re.value})}," 去拼团 ",6))],2)]))),128)):O("",!0),T.value==2?(s(!0),u(q,{key:2},ae(G.value,(me,ye)=>(s(),u("div",{class:"list-item",key:ye},[l("div",pf,[l("div",{class:"empty-box",style:U({borderRadius:x.value})},[W[9]||(W[9]=l("img",{src:he},null,-1)),F.value.indexOf(1)!=-1?(s(),u("div",{key:0,class:"label",style:U({background:K.value?Y.value:t.colorStyle.theme,color:K.value?Y.value:t.colorStyle.theme})},[...W[8]||(W[8]=[l("div",{class:"labelBg"},"5人团",-1)])],4)):O("",!0)],4)]),F.value.indexOf(0)!=-1?(s(),u("div",{key:0,class:"title line1",style:U({fontWeight:V.value,color:S.value})}," 橙中爱马仕黑橙... ",4)):O("",!0),F.value.indexOf(2)!=-1?(s(),u("div",{key:1,class:"price",style:U({color:K.value?Z.value:t.colorStyle.theme})},[...W[10]||(W[10]=[l("span",null,"¥",-1),se("3500.00 ",-1)])],4)):O("",!0),F.value.indexOf(3)!=-1?(s(),u("div",{key:2,class:"yprice",style:U({color:k.value})}," ¥3699.00 ",4)):O("",!0)]))),128)):O("",!0),T.value==3?(s(!0),u(q,{key:3},ae(G.value,(me,ye)=>(s(),u("div",{class:"itemThree",key:ye},[l("div",{class:"empty-box",style:U({borderRadius:x.value})},[W[12]||(W[12]=l("img",{src:he},null,-1)),F.value.indexOf(1)!=-1?(s(),u("div",{key:0,class:"label",style:U({background:K.value?Y.value:t.colorStyle.theme,color:K.value?Y.value:t.colorStyle.theme})},[...W[11]||(W[11]=[l("div",{class:"labelBg"},"5人团",-1)])],4)):O("",!0)],4),l("div",null,[F.value.indexOf(0)!=-1?(s(),u("div",{key:0,class:"title line1",style:U({fontWeight:V.value,color:S.value})}," 橙中爱马仕 黑标新骑士... ",4)):O("",!0),F.value.indexOf(2)!=-1?(s(),u("div",{key:1,class:ue(["price",F.value.indexOf(3)==-1&&!R.value?"on":""]),style:U({color:K.value?Z.value:t.colorStyle.theme})},[...W[13]||(W[13]=[se(" ¥",-1),l("span",{class:"num"},"3200.00",-1)])],6)):O("",!0),F.value.indexOf(3)!=-1?(s(),u("div",{key:2,class:ue(["yprice",F.value.indexOf(2)==-1&&!R.value?"on":""]),style:U({color:k.value})}," ¥3699.00 ",6)):O("",!0)])]))),128)):O("",!0)],6)])]),_:1},8,["config"])}}}),_f=fe(Cf,[["__scopeId","data-v-41cab8bf"]]),bf=Object.freeze(Object.defineProperty({__proto__:null,default:_f,getDefaultConfig:Ca},Symbol.toStringTag,{value:"Module"})),Bf={class:"home_product"},hf={key:0,class:"hd_nav"},yf=["src"],wf={key:1,src:he},Qf={class:"list-wrapper"},xf={class:"img-box"},If=["src"],Uf={class:"title line2"},Ff={class:"price"},Ef={class:"sales"},Sf={class:"jiaCon"},Lf={key:0,class:"iconfont iconjiahao1"},Nf={key:1,class:"iconfont icongouwuche1"},_a=t=>({cname:"商品选项卡",desc:"商品选项卡",name:"promotionList",timestamp:t,isHide:!1,setUp:{tabVal:0},titleLeft:"展示设置",titleTab:"选项卡设置",titleRight:"选项卡样式",titleCurrency:"通用样式",titleCart:"购物车按钮",styleConfig:{title:"选择风格",tabVal:1,tabList:[{name:"样式一"},{name:"样式二"},{name:"样式三"},{name:"样式四"},{name:"样式五"}]},slideConfig:{title:"滑动置顶",tabVal:1,tabList:[{name:"启用"},{name:"不启用"}]},tabConfig:{title:"点击下方选项卡可进行编辑;鼠标拖拽版块可调整顺序",max:"",tabCur:0,classList:[],list:[{chiild:[{title:"标题",val:"新品推荐",max:4,pla:"选填,不超过四个字"},{title:"简介",val:"最新出炉",max:4,pla:"选填,不超过四个字"}],image:"",tabVal:1,brandConfig:{brandVal:[]},selectConfig:{activeValue:[]},goodsLabel:{activeValue:[],list:[]},goodsSort:0,numConfig:{val:6},goodsList:{max:20,list:[]},productList:{list:[]}}]},cartConfig:{title:"是否显示",tabVal:0,tabList:[{name:"显示"},{name:"隐藏"}]},bntConfig:{title:"按钮效果",tabVal:1,tabList:[{name:"进入商品详情页"},{name:"商品加购"}]},bntStyleConfig:{typeFrom:"bnt",title:"按钮样式",tabVal:0},toneConfig:{title:"色调",tabVal:0,tabList:[{name:"跟随主题风格"},{name:"自定义"}]},goodsPriceColor:{title:"商品价格",name:"goodsPriceColor",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},decorateColor:{title:"装饰元素",default:[{item:"#E93323"},{item:"#FF7931"}],color:[{item:"#E93323"},{item:"#FF7931"}]},decorateColor2:{title:"装饰元素",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},textColor:{title:"选中文字",default:[{item:"#333333"}],color:[{item:"#333333"}]},textColor2:{title:"选中文字",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},textColor3:{title:"选中文字",default:[{item:"#FFFFFF"}],color:[{item:"#FFFFFF"}]},toneCartConfig:{title:"色调",tabVal:0,tabList:[{name:"跟随主题风格"},{name:"自定义"}]},bntBgColor:{title:"按钮颜色",name:"bntBgColor",default:[{item:"#E93323"},{item:"#FF7931"}],color:[{item:"#E93323"},{item:"#FF7931"}]},bottomBgColor:{title:"底部背景",default:[{item:"#f5f5f5"}],color:[{item:"#f5f5f5"}]},componentBgConfig:{title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#FFFFFF"},{item:"#FFFFFF"}],color:[{item:"#FFFFFF"},{item:"#FFFFFF"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},zIndexConfig:{title:"组件上浮",val:0,min:0},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]}}),kf=Object.assign({name:"home_product",cname:"商品选项卡",configName:"c_home_product",desc:"商品选项卡",icon:"#iconzujian-shangpinxuanxiangka",type:0,defaultName:"promotionList"},{__name:"home_product",props:{index:{type:null},num:{type:null},colorStyle:{type:null}},setup(t){const n=t,A=_a(n.num),e=Be(),o=v(null),i=v([]),m=v(0),a=v([]),d=v({}),r=v(0),c=v(0),f=v(""),g=v(""),p=v(""),b=v(""),_=v(""),B=v(""),y=v(""),Q=v(0),I=v(0),N=v(""),w=v(0),h=v(0),E=v(""),F=v(0),x=v("");M(d,(D,V)=>{j(D)},{deep:!0}),M(()=>n.num,(D,V)=>{const S=e.defaultArray[D];j(S)},{deep:!0}),M(()=>e.defaultArray,(D,V)=>{const S=e.defaultArray[n.num];j(S)},{deep:!0}),Ce(()=>{ve(()=>{d.value=e.defaultArray[n.num],j(d.value)})});function j(D){if(!D)return;for(let H in A)D[H]==null&&(D[H]=JSON.parse(JSON.stringify(A[H])));r.value=D.styleConfig.tabVal,w.value=D.cartConfig.tabVal,F.value=D.bntStyleConfig.tabVal,h.value=D.toneCartConfig.tabVal;let V=D.bntBgColor.color[0].item,S=D.bntBgColor.color[1].item;E.value=`linear-gradient(90deg,${V} 0%,${S} 100%)`,c.value=D.toneConfig.tabVal,f.value=D.textColor.color[0].item,g.value=D.textColor2.color[0].item,p.value=D.textColor3.color[0].item;let k=D.decorateColor.color[1].item;if(B.value=D.decorateColor.color[0].item,x.value=h.value?D.goodsPriceColor.color[0].item:"#E93323",b.value=`linear-gradient(90deg,${B.value} 0%,${k} 100%)`,_.value=D.decorateColor2.color[0].item,N.value=`linear-gradient(90deg,${n.colorStyle.theme} 0%,${n.colorStyle.gradient} 100%)`,y.value=D.bottomBgColor.color[0].item,o.value=D,!D.paddingConfig){let H={title:"内边距",isAll:!1,val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]};D.topConfig&&(H.valList[0].val=D.topConfig.val),D.prConfig&&(H.valList[1].val=D.prConfig.val,H.valList[3].val=D.prConfig.val),D.bottomConfig&&(H.valList[2].val=D.bottomConfig.val),o.value.paddingConfig=H}if(!D.marginConfig){let H={title:"外边距",isAll:!1,val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]};D.mbConfig&&(H.valList[0].val=D.mbConfig.val),o.value.marginConfig=H}let K=D.fillet.type,J=D.fillet.val,ee=D.fillet.valList;Q.value=K?ee[0].val+"px "+ee[1].val+"px 0 0":J+"px "+J+"px 0 0",I.value=K?"0 0 "+ee[3].val+"px "+ee[2].val+"px":"0 0 "+J+"px "+J+"px",i.value=D.tabConfig.list,m.value=D.tabConfig.tabCur||0;let T=D.tabConfig.list[m.value];T.tabVal==1&&T.goodsList.list?a.value=T.goodsList.list.length?T.goodsList.list:2:(T.goodsList.list,a.value=T.productList.list.length?T.productList.list:2)}return(D,V)=>{const S=X("common_wrapper");return s(),ce(S,{config:o.value},{default:P(()=>[l("div",Bf,[r.value==0?(s(),u("div",hf,[(s(!0),u(q,null,ae(i.value,(k,K)=>(s(),u("div",{class:ue(["item",K==m.value?"active":""]),key:K},[l("p",{class:"title",style:U({color:K==m.value?c.value?g.value:t.colorStyle.theme:"#282828"})},$(k.chiild[0].val||"标题"),5),k.chiild[1].val?(s(),u("span",{key:0,class:"label",style:U({background:K==m.value?c.value?b.value:N.value:""})},$(k.chiild[1].val||"标题简介"),5)):O("",!0)],2))),128))])):(s(),u("div",{key:1,class:ue(["menus",r.value==2?"on":""])},[r.value==1?(s(!0),u(q,{key:0},ae(i.value,(k,K)=>(s(),u("div",{class:ue(["item",K==m.value?"on":""]),key:K,style:U({color:K==m.value?c.value?f.value:"#333":"#282828"})},[se($(k.chiild[0].val||"标题"),1),l("span",{style:U({background:c.value?b.value:N.value})},null,4)],6))),128)):O("",!0),r.value==2?(s(!0),u(q,{key:1},ae(i.value,(k,K)=>(s(),u("div",{class:ue(["item",K==m.value?"on3":""]),key:K,style:U({color:K==m.value?c.value?g.value:t.colorStyle.theme:"#282828"})},[se($(k.chiild[0].val||"标题"),1),l("span",{style:U({borderColor:c.value?_.value:t.colorStyle.theme})},null,4)],6))),128)):O("",!0),r.value==3?(s(!0),u(q,{key:2},ae(i.value,(k,K)=>(s(),u("div",{class:ue(["item",K==m.value?"on2":""]),key:K,style:U({color:K==m.value?c.value?p.value:"#fff":"#282828",background:K==m.value?c.value?b.value:N.value:""})},$(k.chiild[0].val||"标题"),7))),128)):O("",!0),r.value==4?(s(!0),u(q,{key:3},ae(i.value,(k,K)=>(s(),u("div",{class:"item pic",key:K},[l("div",{class:"pictrue acea-row row-center-wrapper",style:U({borderColor:K==m.value?c.value?B.value:t.colorStyle.theme:"#EEEEEE"})},[k.image?(s(),u("img",{key:0,class:"img",src:k.image},null,8,yf)):(s(),u("img",wf))],4),l("div",{class:"title",style:U({color:K==m.value?c.value?p.value:"#fff":"#282828",background:K==m.value?c.value?b.value:N.value:""})},$(k.chiild[0].val||"标题"),5)]))),128)):O("",!0)],2)),l("div",Qf,[(s(!0),u(q,null,ae(a.value,(k,K)=>(s(),u("div",{class:"item",key:K},[l("div",xf,[k.image?(s(),u("img",{key:0,class:"img",src:k.image,alt:"",style:U({borderRadius:Q.value})},null,12,If)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:Q.value})},[...V[0]||(V[0]=[l("img",{src:he},null,-1)])],4))]),l("div",{class:"info",style:U({borderRadius:I.value})},[l("div",Uf,$(k.store_name||"蓝牙音乐手表 | Jeep智能表蓝牙通话健康管理 P07"),1),V[3]||(V[3]=l("div",{class:"pictrue"},[l("img",{src:Lo})],-1)),l("div",Ff,[l("div",{class:"num",style:U({color:x.value})},[V[1]||(V[1]=l("span",null,"¥",-1)),se($(k.price?D.$HandlePrice(k.price,0):77),1),l("span",null,$(k.price?D.$HandlePrice(k.price,1):""),1)],4),V[2]||(V[2]=l("img",{src:No},null,-1))]),l("div",Ef,"已售"+$(k.sales||0)+"件",1)],4),w.value?O("",!0):(s(),u("div",{key:0,class:"jia",style:U({background:h.value?E.value:N.value})},[l("div",Sf,[F.value==0?(s(),u("span",Lf)):(s(),u("span",Nf))])],4))]))),128))])])]),_:1},8,["config"])}}}),Vf=fe(kf,[["__scopeId","data-v-89007298"]]),Of=Object.freeze(Object.defineProperty({__proto__:null,default:Vf,getDefaultConfig:_a},Symbol.toStringTag,{value:"Module"})),Df={class:"product-desc-box"},ba=t=>({cname:"产品介绍",name:"productDesc",timestamp:t,contentTitle:"内容设置",titleStyle:"标题样式",setUp:{tabVal:0},isShow:{title:"显示标题",tabVal:0,tabList:[{name:"显示"},{name:"隐藏"}]},textPosition:{title:"对齐方式",val:"center"},textColor:{title:"文字颜色",default:[{item:"#333"}],color:[{item:"#333"}]},fontSize:{title:"字体大小",val:16,min:12,max:40},titleCurrency:"通用样式",moduleColor:{title:"背景颜色",name:"moduleColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},bottomBgColor:{title:"底部背景",name:"bottomBgColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},marginConfig:{title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},paddingConfig:{title:"内边距",val:10,min:0,max:100,isAll:!1,valList:[{val:10},{val:10},{val:10},{val:10}]},componentBgConfig:{title:"组件背景",tabVal:0,colorConfig:{title:"颜色设置",default:[{item:"#fff"}],color:[{item:"#fff"}]},imageConfig:{title:"图片设置",url:""}},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},borderRadius:"0",zIndexConfig:{title:"层级",val:0,min:0}}),Hf=Object.assign({name:"home_product_desc",cname:"产品介绍",configName:"c_product_desc",icon:"#iconzujian-wenzhangliebiao",type:3,defaultName:"productDesc"},{__name:"home_product_desc",props:{index:{type:null},num:{type:null}},setup(t){const n=t;ba(n.num);const A=Be(),e=pe(()=>{var r,c;return((c=(r=a.value)==null?void 0:r.isShow)==null?void 0:c.tabVal)==0}),o=pe(()=>{var r,c,f,g;return((g=(f=(c=(r=a.value)==null?void 0:r.textColor)==null?void 0:c.color)==null?void 0:f[0])==null?void 0:g.item)||"#333"}),i=pe(()=>{var r,c;return((c=(r=a.value)==null?void 0:r.fontSize)==null?void 0:c.val)||16}),m=pe(()=>{var r;return((r=a.value)==null?void 0:r.textPosition.val)||"left"}),a=v(null);M(()=>n.num,(r,c)=>{let f=A.defaultArray[r];d(f)},{deep:!0}),M(()=>A.defaultArray,(r,c)=>{let f=A.defaultArray[n.num];d(f)},{deep:!0}),Ce(()=>{ve(()=>{d(A.defaultArray[n.num])})});function d(r){r&&r&&(a.value=r)}return(r,c)=>{const f=X("common_wrapper");return s(),ce(f,{config:a.value},{default:P(()=>[l("div",Df,[e.value?(s(),u("div",{key:0,class:"title",style:U({color:o.value,fontSize:i.value+"px",textAlign:m.value})}," 产品介绍 ",4)):O("",!0),c[0]||(c[0]=l("div",{class:"desc"},"此模块暂无内容设置,仅支持通用样式设置",-1))])]),_:1},8,["config"])}}}),Tf=fe(Hf,[["__scopeId","data-v-3b12584d"]]),jf=Object.freeze(Object.defineProperty({__proto__:null,default:Tf,getDefaultConfig:ba},Symbol.toStringTag,{value:"Module"})),lo="/admin/system_static/product-diy-BSaxvYoh.png",Rf={class:"image-wrap"},Mf={key:0,class:"indicator-line"},Kf={key:1,class:"indicator-dot"},Pf={key:2,class:"indicator-number"},Gf={key:1,class:"spec-style-4"},zf={class:"spec-list"},Jf=["src"],Yf={key:0,class:"spec-list"},Xf=["src"],Wf={key:1,class:"spec-list-text"},$f=["src"],Zf={class:"spec-item"},qf=["src"],ev={key:0,class:"price-section"},tv={class:"price-row"},ov={key:2,class:"vip-price-wrap"},Av={key:1,class:"name-section"},nv={key:2,class:"data-section"},lv={key:3,class:"tags-section"},iv={key:1,class:"spec-bottom-section"},av={class:"spec-list"},sv=["src"],cv=["src"],Ba=t=>({cname:"商品信息",desc:"商品信息组件",name:"productInfo",titleCurrency:"通用样式",timestamp:t,setUp:{tabVal:0},indicatorConfig:{title:"指示器设置",tabVal:1,tabList:[{name:"线段样式"},{name:"点线样式"},{name:"数字样式"}],positionVal:1,positionList:[{name:"左对齐"},{name:"居中对齐"},{name:"右对齐"}],selectColor:{title:"选中样式",name:"selectColor",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},defaultColor:{title:"默认样式",name:"defaultColor",default:[{item:"#CCCCCC"}],color:[{item:"#CCCCCC"}]}},titleConfig:{title:"标题设置",tabVal:0,tabList:[{name:"跟随主题风格",val:0},{name:"自定义",val:1}],color:{title:"标题颜色",default:[{item:"#333333"}],color:[{item:"#333333"}]},fontSize:{title:"字体大小",val:16,min:12}},specStyle:{title:"规格样式",tabVal:0,tabList:[{name:"样式一"},{name:"样式二"},{name:"样式三"},{name:"样式四"}]},specSettings:{title:"规格设置",colorTone:{title:"色调",tabVal:0,tabList:[{name:"跟随主题风格",val:0},{name:"自定义",val:1}]},textColor:{title:"按钮颜色",name:"textColor",default:[{item:"#666"}],color:[{item:"#666"}]},selectedBorderColor:{title:"选中边框",name:"selectedBorderColor",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},selectedTextColor:{title:"选中文字",name:"selectedTextColor",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},selectedBgColor:{title:"选中背景",name:"selectedBgColor",default:[{item:"#FDEBEB"}],color:[{item:"#FDEBEB"}]},unselectedTextColor:{title:"未选中文字",name:"unselectedTextColor",default:[{item:"#333333"}],color:[{item:"#333333"}]}},sortList:{title:"信息设置",tips:"鼠标拖拽板块可调整信息展示顺序",list:[{name:"price",cname:"商品价格",type:"radio",show:!0,checkList:[0,1,2],checkBoxList:[{name:"到手价",value:0},{name:"售价",value:1},{name:"会员价",value:2}]},{name:"name",cname:"商品名称",type:"radio",show:!0},{name:"data",cname:"商品数据",type:"radio",show:!0,checkList:[1,2],checkBoxList:[{name:"划线价",value:0},{name:"库存",value:1},{name:"销量",value:2}]},{name:"tags",cname:"商品标签",type:"radio",show:!0}]},bottomBgColor:{title:"底部背景",default:[{item:"#fff"}],color:[{item:"#fff"}]},paddingConfig:{title:"内边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},marginConfig:{title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},zIndexConfig:{title:"组件上浮",val:0,min:0},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},componentBgConfig:{title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:8,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]}}),rv=Object.assign({name:"home_product_info",cname:"商品信息",desc:"商品信息组件",configName:"c_product_info",icon:"#iconzujian-shangpinxinxi",type:3,defaultName:"productInfo"},{__name:"home_product_info",props:{index:{type:null},num:{type:null},colorStyle:{type:null}},setup(t){const n=t,A=Ba(n.num),e=Be(),o=pe(()=>S.value.specStyle?S.value.specStyle.tabVal:0),i=pe(()=>S.value.specSettings||{}),m=pe(()=>i.value.colorTone&&i.value.colorTone.tabVal===1),a=pe(()=>m.value?i.value.textColor&&i.value.textColor.color[0].item?i.value.textColor.color[0].item:"#E93323":n.colorStyle.theme||"#E93323"),d=pe(()=>m.value&&i.value.selectedBorderColor&&i.value.selectedBorderColor.color[0].item?i.value.selectedBorderColor.color[0].item:"#E93323"),r=pe(()=>m.value&&i.value.selectedTextColor&&i.value.selectedTextColor.color[0].item?i.value.selectedTextColor.color[0].item:a.value),c=pe(()=>m.value?i.value.selectedBgColor&&i.value.selectedBgColor.color[0].item?i.value.selectedBgColor.color[0].item:ee(d.value,.1):o.value===3?"#777777":ee(d.value,.1)),f=pe(()=>m.value&&i.value.unselectedTextColor&&i.value.unselectedTextColor.color[0].item?i.value.unselectedTextColor.color[0].item:o.value===3?"#ffffff":"#333333"),g=pe(()=>{const T=S.value.titleConfig;return T?T.tabVal===0?n.colorStyle.theme||"#333333":T.color&&T.color.color[0].item?T.color.color[0].item:"#333333":"#333333"}),p=pe(()=>S.value.titleConfig&&S.value.titleConfig.fontSize?S.value.titleConfig.fontSize.val:16),b=pe(()=>S.value.sortList?S.value.sortList.list:[]),_=pe(()=>S.value.indicatorConfig||{}),B=pe(()=>_.value.selectColor?_.value.selectColor.color[0].item:"#E93323"),y=pe(()=>_.value.defaultColor?_.value.defaultColor.color[0].item:"#CCCCCC"),Q=pe(()=>{if(_.value.tabVal===0)return"center";const T=_.value.positionVal;return T===0?"left":T===2?"right":"center"}),I=pe(()=>{const T=S.value.componentBgConfig,H=T&&T.colorConfig,R=H&&H.color?H.color.map(ie=>ie.item||"#ffffff"):[];if(!R.length)return"linear-gradient(180deg, #ffffff 0%, #ffffff 100%)";if(R.length===1)return R[0];const G=["90deg","180deg","135deg","200deg"],z=T&&T.colorDirection?T.colorDirection.tabVal:1;return`linear-gradient(${G[z]||"180deg"}, ${R[0]} 0%, ${R[1]} 100%)`}),N=pe(()=>S.value.priceSettings||{}),w=pe(()=>S.value.dataSettings||{}),h=pe(()=>N.value.colorTone&&N.value.colorTone.tabVal===1),E=pe(()=>h.value?N.value.finalPriceColor&&N.value.finalPriceColor.color[0].item?N.value.finalPriceColor.color[0].item:"#E93323":n.colorStyle.theme||"#E93323"),F=pe(()=>h.value&&N.value.sellingPriceColor&&N.value.sellingPriceColor.color[0].item?N.value.sellingPriceColor.color[0].item:"#333333"),x=pe(()=>N.value.priceFontSize?N.value.priceFontSize.val:24),j=pe(()=>w.value.originalPriceColor&&w.value.originalPriceColor.color[0].item?w.value.originalPriceColor.color[0].item:"#999999"),D=pe(()=>w.value.stockColor&&w.value.stockColor.color[0].item?w.value.stockColor.color[0].item:"#999999"),V=pe(()=>w.value.salesColor&&w.value.salesColor.color[0].item?w.value.salesColor.color[0].item:"#999999"),S=v({}),k=v({}),K=v([{image:lo,name:"规格1"},{image:lo,name:"规格2"},{image:lo,name:"规格3"},{image:lo,name:"规格4"},{image:lo,name:"规格5"},{image:lo,name:"规格6"}]);M(k,(T,H)=>{J(T)},{deep:!0}),M(()=>n.num,(T,H)=>{let R=e.defaultArray[T];J(R)},{deep:!0}),M(()=>e.defaultArray,(T,H)=>{let R=e.defaultArray[n.num];J(R)},{deep:!0}),Ce(()=>{ve(()=>{k.value=e.defaultArray[n.num],J(k.value)})});function J(T){if(T&&T){for(let H in A)T[H]===void 0&&(T[H]=A[H]);S.value=T}}function ee(T,H){if(!T)return"";let R;return/^#([A-Fa-f0-9]{3}){1,2}$/.test(T)?(R=T.substring(1).split(""),R.length==3&&(R=[R[0],R[0],R[1],R[1],R[2],R[2]]),R="0x"+R.join(""),"rgba("+[R>>16&255,R>>8&255,R&255].join(",")+","+H+")"):T}return(T,H)=>{const R=X("common_wrapper");return s(),ce(R,{config:S.value},{default:P(()=>[l("div",{class:ue(["product-info-box","style-"+o.value])},[l("div",Rf,[H[3]||(H[3]=l("img",{src:lo},null,-1)),_.value?(s(),u("div",{key:0,class:ue(["indicators","pos-"+Q.value])},[_.value.tabVal===0?(s(),u("div",Mf,[l("div",{class:"line-item active",style:U({backgroundColor:B.value})},null,4),(s(),u(q,null,ae(4,G=>l("div",{class:"line-item",key:G,style:U({backgroundColor:y.value})},null,4)),64))])):O("",!0),_.value.tabVal===1?(s(),u("div",Kf,[l("div",{class:"dot-item active",style:U({backgroundColor:B.value})},null,4),l("div",{class:"dot-item",style:U({backgroundColor:y.value})},null,4),l("div",{class:"dot-item",style:U({backgroundColor:y.value})},null,4)])):O("",!0),_.value.tabVal===2?(s(),u("div",Pf,[...H[0]||(H[0]=[l("div",{class:"num-box"},[l("span",{class:"current"},"1"),se("/"),l("span",{class:"total"},"3")],-1)])])):O("",!0)],2)):O("",!0),o.value===3?(s(),u("div",Gf,[l("div",zf,[(s(!0),u(q,null,ae(K.value,(G,z)=>(s(),u("div",{class:"spec-item",key:z,style:U({borderColor:z===0?d.value:"transparent",background:z===0?c.value:"#777777"})},[l("img",{src:G.image},null,8,Jf),l("div",{class:"spec-info",style:U({color:z===0?r.value:f.value})},[...H[1]||(H[1]=[l("div",{class:"name"},"蓝色云朵蕾丝花边",-1)])],4)],4))),128))]),l("div",{class:"total-count",style:U({color:a.value})},[...H[2]||(H[2]=[se(" 6款",-1),l("br",null,null,-1),se("可选",-1),l("span",{class:"iconfont iconyou"},null,-1)])],4)])):O("",!0)]),l("div",{class:"info-box",style:U({background:I.value})},[o.value===0||o.value===1?(s(),u("div",{key:0,class:ue(["spec-top-section","style-"+o.value])},[o.value===0?(s(),u("div",Yf,[(s(!0),u(q,null,ae(K.value,(G,z)=>(s(),u("div",{class:"spec-item",key:z},[l("img",{src:G.image,style:U({borderColor:z===0?d.value:"#eee"})},null,12,Xf)]))),128)),l("div",{class:"total-count",style:U([{"margin-left":"auto"},{color:a.value}])},[...H[4]||(H[4]=[se(" 6款",-1),l("br",null,null,-1),se("可选",-1),l("span",{class:"iconfont iconyou"},null,-1)])],4)])):O("",!0),o.value===1?(s(),u("div",Wf,[l("div",{class:"spec-item active",style:U({background:c.value,borderColor:d.value})},[l("img",{src:K.value[0].image},null,8,$f),l("span",{class:"name",style:U({color:r.value})},"家庭时光-32P 彩色磁力积木",4)],4),l("div",Zf,[l("img",{src:K.value[1].image},null,8,qf),l("span",{class:"name",style:U({color:f.value})},"家庭时光-64P 彩色",4)]),l("div",{class:"total-count",style:U([{"margin-left":"auto"},{color:a.value}])},[...H[5]||(H[5]=[se(" 共6款",-1),l("span",{class:"iconfont iconyou"},null,-1)])],4)])):O("",!0)],2)):O("",!0),(s(!0),u(q,null,ae(b.value,(G,z)=>(s(),u("div",{class:"info-item",key:z},[G.name==="price"&&G.show?(s(),u("div",ev,[l("div",tv,[G.checkList.includes(0)?(s(),u("div",{key:0,class:"main-price-wrap",style:U({color:E.value})},[H[6]||(H[6]=l("span",{class:"label"},"到手价",-1)),l("span",{class:"price",style:U({fontSize:x.value+"px"})},"¥199.00",4)],4)):O("",!0),G.checkList.includes(1)?(s(),u("div",{key:1,class:"ot-price-wrap",style:U({color:F.value})},[...H[7]||(H[7]=[l("span",{class:"label"},"售价",-1),l("span",{class:"price"},"¥299.00",-1)])],4)):O("",!0),G.checkList.includes(2)?(s(),u("div",ov,[...H[8]||(H[8]=[l("span",{class:"badge"},"SVIP",-1),l("span",{class:"price"},"¥26.00",-1)])])):O("",!0)])])):O("",!0),G.name==="name"&&G.show?(s(),u("div",Av,[l("div",{class:"title",style:U({color:g.value,fontSize:p.value+"px"})}," 美的(Midea)电热水壶家用烧水壶小容量 0涂层 食品级304不锈钢 双层防烫 全钢无缝 ",4)])):O("",!0),G.name==="data"&&G.show?(s(),u("div",nv,[G.checkList.includes(0)?(s(),u("span",{key:0,style:U({color:j.value,textDecoration:"line-through"})},"划线价: ¥299",4)):O("",!0),G.checkList.includes(1)?(s(),u("span",{key:1,style:U({color:D.value})},"库存: 1000",4)):O("",!0),G.checkList.includes(2)?(s(),u("span",{key:2,style:U({color:V.value})},"销量: 1000+",4)):O("",!0)])):O("",!0),G.name==="tags"&&G.show?(s(),u("div",lv,[...H[9]||(H[9]=[l("span",{class:"tag"},"活动标签",-1),l("span",{class:"tag"},"商品标签",-1)])])):O("",!0)]))),128)),o.value===2?(s(),u("div",iv,[l("div",av,[l("div",{class:"spec-item selected",style:U({borderColor:d.value})},[l("img",{src:K.value[0].image},null,8,sv),l("div",{class:"name",style:U({color:r.value,background:c.value})}," 蓝色云朵 ",4)],4),(s(!0),u(q,null,ae(K.value.slice(1),(G,z)=>(s(),u("div",{class:"spec-item",key:z},[l("img",{src:G.image},null,8,cv),l("div",{class:"name",style:U({color:f.value})},"黄色小鸭",4)]))),128)),H[10]||(H[10]=l("div",{class:"total-count",style:{"margin-left":"auto"}},[se("6款"),l("br"),se("可选"),l("span",{class:"iconfont iconyou"})],-1))])])):O("",!0)],4)],2)]),_:1},8,["config"])}}}),uv=fe(rv,[["__scopeId","data-v-8c508072"]]),dv=Object.freeze(Object.defineProperty({__proto__:null,default:uv,getDefaultConfig:Ba},Symbol.toStringTag,{value:"Module"})),mv={class:"product-service"},gv={key:0,class:"item"},fv={class:"content"},vv={class:"tags"},pv={key:1,class:"item"},Cv={class:"content"},_v={key:2,class:"item"},bv={class:"content"},Bv={key:3,class:"item"},hv={class:"content"},ha=t=>({cname:"商品服务",name:"productService",timestamp:t,openService:"开启服务",isHide:!1,setUp:{tabVal:0},checkBoxConfig:{title:"展示信息",type:[0,1,2,3],list:[{id:0,name:"活动"},{id:1,name:"选择"},{id:2,name:"参数"},{id:3,name:"服务"}]},serviceStyleTitle:"服务样式",generalStyleTitle:"通用样式",titleColor:{title:"标题文字",default:[{item:"#999999"}],color:[{item:"#999999"}]},contentColor:{title:"内容文字",default:[{item:"#333333"}],color:[{item:"#333333"}]},toneConfig:{title:"色调",tabVal:0,tabList:[{name:"跟随主题风格"},{name:"自定义"}]},activityColor:{title:"活动内容",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},activityBgColor:{title:"活动背景",default:[{item:"#FDEBE9"}],color:[{item:"#FDEBE9"}]},zIndexConfig:{title:"组件上浮",val:0,min:0},componentBgConfig:{title:"组件背景",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},bottomBgColor:{title:"底部背景",default:[{item:"#F5F5F5"}],color:[{item:"#F5F5F5"}]},paddingConfig:{title:"内边距",val:10,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},marginConfig:{title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:8,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}}}),yv=Object.assign({name:"home_product_service",cname:"商品服务",configName:"c_product_service",icon:"#iconzujian-shangpinfuwu",type:3,defaultName:"productService"},{__name:"home_product_service",props:{index:{type:null,default:-1},num:{type:null}},setup(t){const n=t,A=ha(n.num),e=Be(),o=pe(()=>f.value?f.value.isHide:!0),i=pe(()=>f.value&&f.value.checkBoxConfig?f.value.checkBoxConfig.type:[]),m=pe(()=>f.value&&f.value.titleColor?f.value.titleColor.color[0].item:"#999999"),a=pe(()=>f.value&&f.value.contentColor?f.value.contentColor.color[0].item:"#333333"),d=pe(()=>f.value&&f.value.toneConfig&&f.value.toneConfig.tabVal===1),r=pe(()=>d.value?{color:f.value.activityColor?f.value.activityColor.color[0].item:"#E93323",background:f.value.activityBgColor?f.value.activityBgColor.color[0].item:"#FDEBE9"}:{color:"#E93323",background:"#FDEBE9"}),c=pe(()=>f.value&&f.value.activityColor?f.value.activityColor.color[0].item:"#E93323"),f=v(null),g=v({});M(g,(b,_)=>{p(b)},{deep:!0}),M(()=>n.num,(b,_)=>{const B=e.defaultArray[b];p(B)},{deep:!0}),M(()=>e.defaultArray,(b,_)=>{const B=e.defaultArray[n.num];p(B)},{deep:!0}),Ce(()=>{ve(()=>{g.value=e.defaultArray[n.num],p(g.value)})});function p(b){if(!b)return;let _=JSON.parse(JSON.stringify(b));for(let B in A)_[B]==null&&(_[B]=JSON.parse(JSON.stringify(A[B])));!b.componentBgConfig&&b.componentBgColor&&(_.componentBgConfig.colorConfig.color[0].item=b.componentBgColor.color[0].item,b.componentBgColor.color[1]&&(_.componentBgConfig.colorConfig.color[1].item=b.componentBgColor.color[1].item)),f.value=_}return(b,_)=>{const B=X("common_wrapper");return o.value?O("",!0):(s(),ce(B,{key:0,config:f.value},{default:P(()=>[l("div",mv,[i.value.includes(0)?(s(),u("div",gv,[l("div",{class:"label",style:U({color:m.value})},"活动",4),l("div",fv,[l("div",vv,[l("span",{class:"tag",style:U(r.value)},[_[0]||(_[0]=l("span",{class:"mb-iconfont icon-ic_user1"},null,-1)),_[1]||(_[1]=se("二人拼团",-1)),l("span",{class:"iconfont iconyou",style:U({color:c.value})},null,4)],4),l("span",{class:"tag",style:U(r.value)},[_[2]||(_[2]=l("span",{class:"mb-iconfont icon-miaosha1"},null,-1)),_[3]||(_[3]=se("限时秒杀",-1)),l("span",{class:"iconfont iconyou",style:U({color:c.value})},null,4)],4),l("span",{class:"tag",style:U(r.value)},[_[4]||(_[4]=l("span",{class:"mb-iconfont icon-ic_sale"},null,-1)),_[5]||(_[5]=se("参与砍价",-1)),l("span",{class:"iconfont iconyou",style:U({color:c.value})},null,4)],4)]),l("span",{class:"iconfont iconyou",style:U({color:a.value})},null,4)])])):O("",!0),i.value.includes(1)?(s(),u("div",pv,[l("div",{class:"label",style:U({color:m.value})},"选择",4),l("div",Cv,[l("span",{style:U({color:a.value})},"黑色,80ml",4),l("span",{class:"iconfont iconyou",style:U({color:a.value})},null,4)])])):O("",!0),i.value.includes(2)?(s(),u("div",_v,[l("div",{class:"label",style:U({color:m.value})},"参数",4),l("div",bv,[l("span",{style:U({color:a.value})},"充绒量85% · 聚酯纤维面料",4),l("span",{class:"iconfont iconyou",style:U({color:a.value})},null,4)])])):O("",!0),i.value.includes(3)?(s(),u("div",Bv,[l("div",{class:"label",style:U({color:m.value})},"服务",4),l("div",hv,[l("span",{style:U({color:a.value})},"正品保障 · 七天无理由退换货 · 退货运费险...",4),l("span",{class:"iconfont iconyou",style:U({color:a.value})},null,4)])])):O("",!0)])]),_:1},8,["config"]))}}}),wv=fe(yv,[["__scopeId","data-v-c97836f2"]]),Qv=Object.freeze(Object.defineProperty({__proto__:null,default:wv,getDefaultConfig:ha},Symbol.toStringTag,{value:"Module"})),Cn="/admin/system_static/yonghu-B_A9l3jS.png",Gt="/admin/system_static/videoBg-CgP3e7Uh.png",xv={class:"reviews-box"},Iv={class:"header"},Uv={class:"left"},Fv={key:0,class:"right"},Ev={class:"rate"},Sv={class:"user-info"},Lv={class:"avatar"},Nv=["src"],kv={class:"info"},Vv={class:"name"},Ov={class:"stars"},Dv={class:"content"},Hv={key:0,class:"images"},Tv=["src"],jv={key:0,class:"more"},ya=t=>({cname:"商品评价",name:"reviews",timestamp:t,isHide:!1,setUp:{tabVal:0},headTitle:"头部设置",checkBoxConfig:{title:"展示信息",type:[0,1],list:[{id:0,name:"评价数"},{id:1,name:"好评率"}]},listTitle:"评价列表",layoutConfig:{title:"选择风格",tabVal:0,tabList:[{name:"单列展示"},{name:"左右滑动"}]},numConfig:{title:"评价数量",val:2,min:1,max:10},reviewStyleTitle:"评价样式",generalStyleTitle:"通用样式",titleColor:{title:"标题文字",default:[{item:"#333333"}],color:[{item:"#333333"}]},countColor:{title:"评价数量",default:[{item:"#999999"}],color:[{item:"#999999"}]},toneConfig:{title:"色调",tabVal:0,tabList:[{name:"跟随主题风格"},{name:"自定义"}]},rateColor:{title:"好评百分比",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},starColor:{title:"星级",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},componentBgConfig:{title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},bottomBgColor:{title:"底部背景",default:[{item:"#F5F5F5"}],color:[{item:"#F5F5F5"}]},paddingConfig:{title:"内边距",val:10,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},marginConfig:{title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},zIndexConfig:{title:"组件上浮",val:0,min:0},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},mbConfig:{title:"页面间距",val:10,min:0},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:8,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]}}),Rv=Object.assign({name:"home_reviews",cname:"商品评价",configName:"c_reviews",icon:"#iconzujian-shangpinpingjia",type:3,defaultName:"reviews"},{__name:"home_reviews",props:{index:{type:null,default:-1},num:{type:null}},setup(t){const n=t,A=ya(n.num),e=Be(),o=v(null),i=v({}),m=v(!1),a=v([]),d=v(!1),r=v([]),c=v(""),f=v(""),g=v(!1),p=v(""),b=v(""),_=v([{avatar:Cn,name:"用户昵称",star:5,content:"小小的很轻便,喜欢的无以复加!柔柔滑滑特别细腻...",images:[Gt,Gt,Gt,Gt,Gt]},{avatar:Cn,name:"用户昵称",star:4,content:"非常不错,物超所值,下次还会再来购买的。",images:[Gt,Gt]},{avatar:Cn,name:"用户昵称",star:5,content:"非常不错,物超所值,下次还会再来购买的。",images:[]}]);M(i,(y,Q)=>{B(y)},{deep:!0}),M(()=>n.num,(y,Q)=>{const I=e.defaultArray[y];B(I)},{deep:!0}),M(()=>e.defaultArray,(y,Q)=>{const I=e.defaultArray[n.num];B(I)},{deep:!0});{const y=e.defaultArray[n.num];B(y)}function B(y){if(o.value=y||A,!o.value)return;m.value=o.value.isHide,a.value=o.value.checkBoxConfig?o.value.checkBoxConfig.type:[],d.value=o.value.layoutConfig?o.value.layoutConfig.tabVal===1:!1;const Q=o.value.numConfig?o.value.numConfig.val:2;r.value=_.value.slice(0,Q),c.value=o.value.titleColor?o.value.titleColor.color[0].item:"#333333",f.value=o.value.countColor?o.value.countColor.color[0].item:"#999999",g.value=o.value.toneConfig&&o.value.toneConfig.tabVal===1,g.value?(p.value=o.value.rateColor?o.value.rateColor.color[0].item:"#E93323",b.value=o.value.starColor?o.value.starColor.color[0].item:"#E93323"):(p.value="#E93323",b.value="#E93323")}return(y,Q)=>{const I=X("common_wrapper");return m.value?O("",!0):(s(),ce(I,{key:0,config:o.value},{default:P(()=>[l("div",xv,[l("div",Iv,[l("div",Uv,[l("span",{class:"title",style:U({color:c.value})},"评价",4),a.value.includes(0)?(s(),u("span",{key:0,class:"count",style:U({color:f.value})},"(2.3k)",4)):O("",!0)]),a.value.includes(1)?(s(),u("div",Fv,[l("span",Ev,[l("span",{style:U({color:p.value})},"99.0% ",4),Q[0]||(Q[0]=se("好评率",-1))]),l("span",{class:"iconfont iconyou",style:U({color:p.value})},null,4)])):O("",!0)]),l("div",{class:ue(["list",{"is-slide":d.value}])},[(s(!0),u(q,null,ae(r.value,(N,w)=>(s(),u("div",{class:"item",key:w},[l("div",Sv,[l("div",Lv,[l("img",{src:N.avatar,alt:""},null,8,Nv)]),l("div",kv,[l("div",Vv,$(N.name),1),l("div",Ov,[(s(),u(q,null,ae(5,h=>l("span",{class:"mb-iconfont icon-pingjia",key:h,style:U({color:h<=N.star?b.value:"#eee"})},null,4)),64))])])]),l("div",Dv,$(N.content),1),N.images&&N.images.length?(s(),u("div",Hv,[(s(!0),u(q,null,ae(N.images.slice(0,4),(h,E)=>(s(),u("div",{class:"img-box",key:E},[l("img",{src:h,alt:""},null,8,Tv),E===3&&N.images.length>4?(s(),u("div",jv,"+"+$(N.images.length-4),1)):O("",!0)]))),128))])):O("",!0)]))),128))],2)])]),_:1},8,["config"]))}}}),Mv=fe(Rv,[["__scopeId","data-v-69a149fb"]]),Kv=Object.freeze(Object.defineProperty({__proto__:null,default:Mv,getDefaultConfig:ya},Symbol.toStringTag,{value:"Module"})),Pv="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAAAXNSR0IArs4c6QAAB4tJREFUWEfFWGtsFNcVPnde3qfXNl7HXttgYozJgisbTFKBA0QOpHLA5UdwEUFREkCg8iONIviRRslWSmgLSYtTSp5KLCWVqLEEslM3iZQYEgIViQ0FvNjGOAvY62XX9WPfO89qZnZ2Z2dngaSROn/GO95757vf+c4531kEP/5C4lJBkDdA0ifpSj75YRunl999HXK5AK0FwGIPLsJLuCgeihVgZXmctMdkAhesxlnej5s44/lR7jQA73JJoO4J2L0AQYIAyO12EqEbtIGIkWaWSlg4DDfjnGBAGEVKNPA0w+EojvNchKDzwqyRiVgXUHGn080idHdAdwTicgG2xekkaHvUFI6QRWZTRWVpeeuq/OLlTQRVVEtSJjtCpAWAB4GPhhl6LsAmpoZnpy6d8d/69GyE9t2yMMw0xZiix91u1uUCPhfxOYEIAmCffOIw2HFTkYGqrpnv3N1mLazfTJCWUgBOpADEuwA8IIEHQXwmvkeQ7xw965ubuXJyfOR4Z5y+cS3ARac3bvTGEdIHowuksxNwR16tSeCYsoqa7c3l1U/tJ6mCKgmA6mXqv4UkgDRIGSiTmPV4PScOjl//5xcIJye9ieFoW5u0UcaVBURk4pvuWjOO8xX3L3vpGXv5hl8jRJill6qYkBlJMpFkJxOkijU+EZmaPHt07FLHhxyOja9uHY5omckAImpixQqHwQ6G8oV1r+wqLn/sOQxhlPyCJBANI9lMaFhT1glMIjB5tv37qx3vByA+0d/vjas1owaCBjud5JyRtZdVbW1dsGTPIZmJ9MkkBlIbq4HpgcxcJx5EEBKRmyMn9k1OfNVtixGBpW1uRknvFBAxJBdPVuUja22Dc9VfPiApW1UuPUgiTQJiA5Pge/M1sG14HKyr18nhy6Ej8X90Ys4zNHDkWSE0caF+syeohEgBgnp7F1FWHpUvXX5gX2HJmj2K+hVG0lmRPj3tuQb+9t8DMx0A+449YGlam8oaLZPq0E4H/v321cGPDoUwYaKlZZQWWZGAiNr4xYOLLJShsqHu5+8eIyhzaQpIKhvk1BTTVXxJ9Pw5mHqnHYCOASAAx6E/A2EvTgPRrFOLnWFCvsHvjmyl2ZkLn54fDYtakYD0uYCw1j1gd/xs59NlVVsPqBdp64MIJthzEmY/6gCMAMAwBMT8Sih59VVVWHQ0owHmvXX6Rd/QqY7Q5auBR1zASkB6exflFXH8/GWr3jtszq9pyVkfgIfZj/8Gwa7jgBMAOI4kNgxrVkPB7h0abWSLVR2ucHC8133hnd9M49jNlpbRhAgE9fQ4jEWYeXHjmmNdZF5RtVj8JCY0KTv1xmGI9p0GgkCA4QAIE5uIALYX9oJxZb0MRGddJsPyd+j43PWBb998YpqPjGza5I1JQPo6nWajgV62ckPPZxhG5stpyoECiA8Fwf/yAaAH3UDgmAQCS7IhqgbNLwdy6WIwr6wDQ11NDkDqlsABz8eD3339xmOxOHXlkTZ3ROqsw921liCBNTSu7+4DgcfSKSgvDh3vhtm3OqRQ4BgAEkFgstRF7lhB5E+QFYcAbC0Pw7wdm+XKm6P0g8Dx5079YV0xoi7Wtg6HM4CsXH+iT5CApJuXQnX8639B4lw/sJeHgPdPpYAISJGzDET8bH28CYp2tmaENg1I2VsEcigNRB2axkf//jmGU9Z0DVEBUp2M8/kh+LujwH4/LrEivly+A5h+1Qy2bevToc3BCM8lgv3f/DUdGrVYVzS920XlFVbfUXQCD3w4BFO/fEFiRQyFEibzk81g2dasz4QmfelE8PpAf0eGWNPp+9DBw6b8hS3aqqoFRg8Mwczz7VLWiF5VZMK67wkwrm9IFTylO+fKokjQ1+u+1JmRvumC5tzydGnVxgNasWo1M/enLoh3nZJEi6wGKDi8C8jqUpVRUipwttaUvSfHB170jQxkFrR0iS9rqGt85RhOGkpTNSTpO9QnC2z7I/BjXsAdRVB4ZCfgpTYNE0oN0q8rLBv1DV48sZVmQ5klXoy00vSW1O3dP8/esFsOR7ZY+WAYbq/9LVBLHFDw+nbAy2wZHVfuRfoiVw43MzX29tWRL7ObXnI+SdqABQ0PND7/AUlaZGuow0j8y8tANS4AZM1TVVK902c/Y+iIZ+jKP54VQv/RtQHSjCQao5CFLrmv/NFNlfdvfB3DcFN2F9YapaT/0Kk9Wm0JPBO54fl2X8Dv7rGGKb+uMVLsQMoq1m7fVVy2/DmEEKWuK7rWUIc1rTkSeIYO3L7WfmPszHt3s4ryvKg2z4u3PDOvpH4vhmOmbMuoOLE72cRkf+GZSMA/etQzdu5DjrsH86z4+4xxovrhZkfFmv0EadRYx+zurGeyGSbimRi/fNB788oPGydSk3TGgHVfTcXCdW1WW+VmgqRK9ceGTGGyTMwXmvOeHL850Bmn537cgKWAyRo5qYLKkrL6VfmFlU0kaaglcLIEwzHJ6fMsHWG5uJ9JhIeDsxNn/LeHzkbo8C2LmZmmAv/DyKkaw1JDuHcwbizE80zqIRyAJ+TvYqx6CJ/hElHHUkPsJxnCtVPh//tniTsO8D/VDzX/BXizh3A19iBeAAAAAElFTkSuQmCC",kl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAsCAYAAAB/nHhDAAAAAXNSR0IArs4c6QAABOhJREFUWEell2tsVEUUx/9z597tlr61L0pbKFj72G5XwcSEfgH0g0QMkUQSA4loiCRY/QBNS4ultcKWR0EJEBBi4BMxkihRIhERicHEmtQAbbcPnqU0lFJL3e1z771zzJbSbpfdu3vt/XLvzPzn/GbmnJkzlyHg0b7MeYf1xJ+GDnmqiQB6Wpj6mKygyQpFaGTVVyo72y76m2SBAFFXcA72/jdZ8aPAJsOyaEwDNaYflg9e+9gYUFv4iK28k4zkUXOAX7KA7pjtfFe7MySAfo5NFRcXPZTebwGidFMA/asiaGkjedattztDArRjC1azx5az0toZmrAguh8L8VP2PXmPa36geIYPyJm/jVJG6tmKe2GN+gvE7xmgWwlH5Z1tm40B2+0n6ZXeDWYdrJ8qADLda+VNPWcMAaKuoI8t705BxlDEMyC3BeLbF7xyvSsqWKepJaLaZbIYGRiXNrRKZhxMV5Mh/kw7Le9rXWcMOJ69ih7E/sjWuyIevU8ovlsEUqUP5KobJ40BDbnllDC+x5SDxzn0rwt1XnIng60Z6jMGVBedoMUPN5pxMLUlgZpSr/OaDkeoaU/5QHxmu81WdOWYcbC4mAX0RVfx6s768IAKh8bea+FmHKwfLwLPGl7ASu90GQLoyPzl1B9zyYyDqScW4twClbySE+JZ874qKWXk8sQS0cFFZTRH3ceWdUccQT4A9cT4neMBXcc5qD3B/QSwo+gYFfdtYrb+iAHhhNQfDf1sjjoBEHWFnVjSm8uy3eH6RdyuX8gCBi3HngAqi1W83SkzRYBAYGCzeqM3BuLXzEG+9FEeo6PZJfQw7gpW3YSP5kuAs32LC9kQw3yTZVf7cabvebGUKeIQlvZEPH0jIXUkQrQmdSh7Xfk+HaMa2xFKH9oMu7kcHBSicl/iAeYOrZG3dH0/ARA7bH/D1v8y0oZnvTbUngS6G/eDvNu1+ukAmKgs9qLkvoJobXZLNCJD/DZP01LG8qyVN25PA8odGgr7OawhALIA4rxh4aIxHUxjh3hd+yf+YqY78z5nY/L6qUr/G5YmJdJzY4nM9o8hgAaiQFeTB3lscgqrvTxjpM9cvPwt6Z8WVSJ+zMnyBwwB4o+5ANfXyc7204FCY8CWl2qR7a4x2uG+MwndMdf53tagOcEYUF58ApmejUgfDj4DnYGaUiBiva9aajv/MsxowRpFpf08ZXjeCHWNpK54SIPKGWm3a23YhBMUsM3eQvM8NiSOP9vsUXyXLdWbOrpwTsXN+/8PUFXUS1metKAhfCsBQqBecbqqjCLA2AcV9lHMd1uhBFyEPRagJ+auFPd8bmBYmouiMoeKnEEZ3O+vQ2dAVzxI1t6VnW3fhNuBYcLUQVg4ONPGgBXktlySG5pfC2d84rALJaLagsViSGlCpmdaokugB3OEsOhLLE7X1VkB1GpbiTTOryB1+pSlx1FgKj/B9zZ/GIlxwxloVYUbmOAnkTT5K+XlwGOrW7J685mz7cGsAXqF/SMwHKa4yT3wrwUk2FaloflApMaNfVBurxASdlO0CqgS2KjcyfdfzzNj3BCglzmqwUUdWTSwEQuI6WvkhpaJNGjmCRlFuu8klfUa3w6QdOmctP/aW2YMP9UaAByHIFEpiGmqEHnWL5qn0qAZUEiAWmZ/XRL8vADtVw5c22bGqL/2PxG3HV7hnXZUAAAAAElFTkSuQmCC",Gv="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJoAAAAgCAYAAADqrmEEAAAAAXNSR0IArs4c6QAAC6xJREFUeF69nE9uHccRxqtp7wIEdhAgy4iUN1nFOkHCEzheJFuLJ4h4AokniHSCyNtkEfkEoU8QehUgsBh64W1CLwPYauPX7Hrsqanq7nmPyAAPtjjzevrPV1VffdX9kpgr5/zI/m3w79uU0m3O+QMR4fMgV0rp5kEammwk5/yxiPyx93hK6WyyucVjzZwyt7+s8/ShiFyllN54bdb5/Hcwp5cppdMtfck5v6jjm1mjSxE5i9Yg5/xbEXkuIvx3dNHWRXKA9t+NgHmTUvq0DoSXP8QFeFmI/+uVc/6ziDwNXnqTUjp25guA/kZE6C8g4gJQfEbGd5FSAgDulXP+k4g8c26WOd86ORXwrFE0Rtvkon8bAYaj4PuvaXQBtGpFAG3LVTqTc/6biPxuyxc7z2LpT9r7Oee/T1pQ1OyHeN5e/zoLy9dcL3KggX2KRwu86efVA3lzelHHocDWYbEWw0iQcwZoAG4metHey7q2Mx6MOaYffGd3WaBhnf/YCJanKaXPHwAI7WtXFlutkVCyzzXlIQdjeJlSOrcvP9DATlNKlwFYCY14NNbEXngzwrxd+NLe7AQdaCT2NQDsFaD0DNoCDevBM225dLKikHsFFwkaxKI8K1ktanXbeLV9Lt4Pvxp53M86Vs4Cfllf/lo9x54GxqLweVL57cpbp5RSzjkHg8XbA8KDgEbb1YBZcw/QM3PdBZg2YIGGlSxcXn0Q66JBz9spl4pCbvF4Xo9zzixsieHmepZSwjp2V855HyPQ70O4v6rhYmbyRs8AkGI8OWcdt4KHP3uLRh/wiCV5MmOzRgqoedaNLhWE3LPv2fVrNAB7f2M45etTAIuA5pLPOjBvoQtvGXib0J13XPfqOwM3rySdyfeyKjjNryc82uz67PgevLYFTs45MtaV8VSgenQFY8d7etGl8NecMzTCcqzjGY7mgIw5I+mg7zNZqTZBP1/NvNN6NI9wl2wryMg0Eeh5mx45jbKylWV2uFDhX4NEBvLLZ4bMjsDW5XudhKIQ/8CTkO22FxwMAHpZvGb5BwOtztk+AGv7usguo8mzQPM6r17Lu9cjs6MFC+/jQZ0FibLOKa8qIp8MrJWFjXgKYUJB8o1KEjVbtB4gIvBwRGt0hF+et3IDHpq/uxlnzfI9/jbMrKsX3deD9da0UIPIu1mgeZ2HQxF6bMa305UG+tNWwK2kjYYLeW5dLbznVYchZU9pw+NJW8YLv8WAWoBrBInaVklktVaegRouuBVgcEW4Mka6l/a24mjVOj3yCciwROveybyKUt7JvLBYL7ngawzau7fSqwZhUcM3wqcXanahLv9THsn7ldd8LzfpV/ceZiBTuAJpJyucARteEs9lkyg1nDDjJBHx3t0D2kayf6fmN1LJxu+vwunOo3UIfaTZ4CohguhAXlhlsl3tqYITvuTJFZ600dP31MI9Vf9Sbi8u5D8vyG55nyXPTMir9FheDmSKlYJ/oK7HFJTFdOYAzkQi0Ms4GcdKUwwoxxZxVj1YJEfRb+V0M8ZUoiHhtAValC2h2bCIHn9RfhRZHxPpyRd0koW3XrIMZKO0oTzRcrgzuU54TbycDbmqdCvwruRnL87lg+f0x1PLV0T+QF2PcWKoLKz16khJ9LeXcXpAW5XIaiSY1cfw/HjKUQWG/mGglN1mru9KVUWf7HAUeESkkTFZgGlrNaHXQW9RIyOgHQyBMMQEKUgAGf+/DqVZLtNHcprflj4vuJGcZKiA52U9uUXrme1Y4DJebRJjs1oii7Ui/FVKimiAhtUpoM2gwEm6RrxzL62uBZqHZBYQBEdA0gncV7H35sKTNqLisvf9C7kuw/IL/O/kVN6XK3nnGE+WM3lcRGQrg7jZXDXO1lsyXx7QMMa2LvklxeYq9rbf1wgR1Y2Vj3q0Y+HRKudm3rZeIwlousTVvPisBZqHZBpVTcezVty+Fl23Dih6frWoE+5c27qRr9OZHLleiWdu5UiO5Xt5JkcuEK/kJDOmNty7upmToAAy5suTJGivzdr4N9mcNeDCT3POo4wTj2azQIC263dHOH6odZpuBy/dAs3jWbtsK5AwACGx2rNiJp6Be/eUo1AWWlzetpnOxNuvn8nb9JmkUJh9mR7LuRM279s5yYTiFgCR3GK9CiDDO3mcCPC284CHg3BbHhZKF7WD02FrINdMg+QBHizzV4DWyaB22Vaw2KTnEGjP3WoYiIrt3b1Y7QCnZYRv//BE/vfXmC8SNrlijyfy0xen8vPnLRWIpA3LGy2YdAiewQE6vJI1QuYTsPYyTu57IREFYJctbogCD4ClbhNl/hRokdSgFsbgbEKgpZ/IzStxjTYTWk5BH/jYENCTNnSL0l22eF1KPL5udyTH6Vhu8r/kY3lvsZOWsd2Hu5MMGFugRduDLG+kCO4BAE8H2NqQ6pajqtFHwrPWOKP7C1G6ZsXKC5nDKLLwWg3DozIdEUoz5agmyv2WelBJucs6O7soVDrwgDiUNmqpJNqhwavJ8ih2M0Dt+GIRZgr21XrhZ98E3OsmPS7iqHvlt0WTwsPA0ZikFqxRMdwmT4RDtzZZx9Z6/X02GvQM1w3vOthB5WZGeNemFA+9ncjuBlEFWpROF2IeEEvVyKLNiD1v2PO1i0UYkFrtH972TQdovA8A4VlY8NYa7wv77+RCPspwziEonIwRY/E0Q+aJRKrlbmFJrFOh0ETBE8d3YLETOyEs7/oywYULR+w4Jl5fKh52K5QCzUun70s3/jZtPRwRSRs7wGzkC4uss0Nq7a6NK3mbLiRt3rh5z6V+8ZdT+cnvLT/y5BYbzuFGXwQeDQDiIXfgHpSKwoyzJhCeYfdC8bT3GXFh7fcEeFceW4E2kjY8xRwhl7AY1TLbPVs9wVUXmthOeLAbHiOlWjmLLvpd7fA6RSeHRqT3XE4ynmeR2ARlHcuTdGeHJ21YzjfaZhRVWWiH8O5VUyKdzy1VNRPROoPRs5ZT9w4xreiGAs37EpOHmt0rhURC6mIyB0Vxwg3bS9yDIx137u3a6Iu1MdQu5KSsr+VYkbRhqQbh0YZcfZuVS9zTVE327wGJ20hJ3LNgDo/ebTnVNVFSW7xnsAlhFcrZl+5llAyMyQOAnsfSRY4U7C2nmEJ+USc/rKPWZKNd9LIPX67TpiNlAch4fXTyyY5bQeBlYtajbT6T2ZB6zyG4MlENb21ZzpoZ5zZbgbeXtBWO255rHXDnlTEBtEjagFtEaXFxjSNv046ssxU7DCUDLkC6Di+y9UIqFafydXoqR92tya/lSC7k0e7omefvImnDUg0LJm0L7obsMdTlRnG9s05uBlu39UTe0SvARwmhds0749krPS4SHoAW6TJK9u3ZQV5Mre7GybxavsWCq1Je9icFBWu+E01WZASjdeH+udyk1/KDfCKpGAx9uZUsX8l7commVj1mtMWpePWgUtF6WbwoHs2bdOgHnzYbLfvsJ89UtuOE59qw2TPS3rgW3qzOw+hcrpWdokiofV4cSgJoXWkjWtGNh4011EYEMvIcI3feA9zUae5BpjWzPUj3cHlcFlCxTablfj0+N2NA7TNR1YJoFHozPeZnIs5we5A9MzqQQxZrCtBcJE9sC97ibVQDipKH6OcGRu68tzDDEtfEAVpP2rARwAOT9ssrNQECxjVzSnwEvJVnmvDSWzeWah+8zQ69XTULng7QPCR3leY6mC3nLJXT9cC55eTTaAG4H2pLtf8jEEe7NgAPMohevT310A/G3G4S7FGImXG1z3hzNnIAtlQFrQADvWN2bsI2EG7p5w6cAM2VNkY/ImK8gR6ehffw4d/6X3Zo4LH0F4cinWvogbauQifsj0AW8jOvzY4gPSP27jusKAoANI9X857v2iN/dc/aCGThLwtV+tQanR3LFypbATTPha9OU9sWaif5cwHR7GwFR9S0neEPlMy+5wCQ3Z0jMD9S0ntvzQhXj3i/g7Fxe3XvtWXr9SHz0VkLbfbgd2hDPwK2QnLin09QSAAAAABJRU5ErkJggg==",zv="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJoAAAAgCAYAAADqrmEEAAAAAXNSR0IArs4c6QAADJBJREFUeF7VXL9vHMcVntmlEBgBQrKJo0qSnTo43lKlYLKU7UBRKwiQ9BeILJMmZJfO0l8QMgiCAClMAoZciq51ez71VnypEgcxdIYhBAm5O8G3nFnPzr73ZvbIIlqAAMnbnZ0fb773ve+9Oa2C6+bNmyNjzFr4f+5vrfXixYsXs9FotLaysjJKfS5232QyOYnd87Z8PhqNrl+5cmWtruvrSqlVpdSaMWZdaz0ry/KIGgfmM8/zr3Ev8flJWZbbQ8Y/Ho93tNaPlVLoQ+yaVVV1dzabzakbNzc3t4wxv1VKbcUaUkqdaK33dXhjURSvmcFxbR6VZXl3PB7vaa3x8su4FmVZrl9GQ6lt2IV9Lm2y6XR6I2xvNBqN8jz/QGt93T4Lw2h+11rjd2nT7pRl+ZTr4+bm5ifGmB3i82bOU8fm7oPB53mONXqY8iwM5Ozs7MlsNlvg/mUMzAFGx9DsZMPQki9jzP50Ot0riuJTpdSvkh+Ub8RO3/BvwSAv0vbZ2dnMTRjXTmSz9PpkJ58zhpTu3gWiwYvUdQ20aS+t9aExBv+j5hTotG6MueY/U1XVPodC/n32fVivFHQDqj2x/UhZg7m1iYPOeIgOfJkyQ949D8uyPCyK4nkilKY039uxFvo/SXmYuqeqqvWYoRVF8Xtht5MocpENlmXZBmgHZeD4rK5r9KdHR7TW25Trwv+HUI6B7jQ29aSBuYc6iFYUBXYPLD35coMTXO6JMeYLqkGtNXZkD8a11k8mk8nuJWwC10SSK5Y2C9UnNF4UBTbmEG66MMYstNZzy4MWxHub/hZFYah5s0aITddBmKGGhraHulOiPxjP7nQ67SBYeF/H0DjXgYGdnp7O8zzvuVUgBRqlPrMva9wDNWFFUcA1AJbDq8ddLD8Aai5zwdgPlVIihwTPEhpvDMSO9S6QyBma5WNwMfhBG5SLOSjL8hEzDyEvPsmybLeua8q7OCPsGbhDyGUmyIIMEDQ5EISLrOu65XDSe0NEI11HWZaaQbsm+pGMwBjzqK5rMoLkiCm1MwWjxPiw6DACIAs1UQeIjhliPXhdqqq6wXGhIZsHL7Z8qWNQWEBEpIx3aeZ8PB5/HW4MqV/SIAeSfL+pg1ReGBoaxbMaEszwlwZ5lnG50sCpCRMiMIWNYNGFdDV24T64LA7p3keNgesn59bG4/FDrTU2eHvh3rqut5go3kX5Fza0CxhYZ+iITieTyd4QRKOkjWYHFUUBTafjWiQyOxgmvAeohRRId7MRKGTwmoQUALc5hEtxQ2ijT7vBoIv5F+SI3nussWMO26uqquM8z2FkncgSdIT6v33Qbe7epkoJeNCG5WV4b0oUmbqUacEAJ22ABCuljo0xIT+al2XZ6EoXibyIUZAygkC6o+7bcsyGX3HXysrKY8G1NgKme9a5zSUCgc7rLSUJuZbzIGSQ4QVfPUOTkNYzsFQdDVTjKTjYysrKjpVaUvgb6U5b1ykgAl4CFTsk0i25FaK1o6qqOtGjm2mrlFNkl1S9uQjMRYMSh0vZ6RFpY1CfUiDAGDOv63qDCKKaeZUiTgQi1OecoQ2MLFsD8+WggW2o0J22hsbxLE6zsQT8i7Isdzhpg5MEsBBcAEE9YwfZcTveYjauROBGT/5y9q/9H+fZA6P0SFv3b5Ra1EYdq7o6uTqbz4dKGxFXnWJrCJCQFejISQie8jyfSREnMx89CWegcTQGZoOQkA744/lOKQVpJUnsdeJta2iStFHXNdwmmXODSxGkjcEamlJqkLThuZIwkJndyqpHv6m/f2zOORAH+/PaqP1fZutIG3HyR69PMLSqqjpGIqScWmnErViWZY3kE7prq5FhESk9s0FWytCAkFSKLMXi/Xtiwrubb/QhtW1QjdbQOESwxJRLSx1prZ8S/C21D737hkobLiAJ+NLsd/rN7i/MKQhvOCHzd8tXN74p3vtSKf0Dadd6/3b9E0B+z9hShVAhhUXmNDmhNpbjZCSRSzE0SjYJAphohoVafN91ktJGlmXQwbi0FNTg46HZBMkKKdFRkjaUUk6RdhmGk+Pq290reU6icG3Uo6vTVwffFO/3Iuxa6+2PzSqQpIN+nBAK4/aT8FpruEMqYY3NeMdHM2Q+CJ7lInwunedoAqonwuCsE0RdtuS0NHIopQBWvuvs6TIo8XDlKMxu5QKFpfs1UNrovee+/s/2PfNvCsmae+uquqGyfCvTqqNd2YaObpvVlyGqUX0iUMWJxj3JALzTd5FCJO+kCzHidBFkOHhfRI4I3EuvzxIPNtzRR7ReuOwTc8p320CBrDAAZwAaCm51BzqSNFnus1QZAZHOM/P6mmHKYLRSJz8tX23/s3j/uaE1pMWHag1pIp8fcXJLmBc+MsaMqDSW1dBal2z/BqJ20m+YT1SZcJx3SIopEkUvYS9LP9KAVWNokrTh6qWoyNLyNywKJfyxqRLbZTL3Bz0vrLJIrZG7lVUbv66/Z6tP4DYRZWbnBYXk9Qf9zvafzY98t0RKGyHCh8bkNQ6kw4/vUh8aY7TWGtmK9oIUhOJRZnM2yMCtVcgjY6R+abMZ/mCTyXCpG7Jqw3WeGZwTFslCSYeGAkFuJs4KxeAvMFb0Y88vBozUyIGfOV609kwt9lm+qPX+u5Ov9v6++fMtfV5+01xhpPiRXkcJTmtoQtVGp/4OaMpEregfxOJW/ZeCC8HluY3bS1lhHJJYS6W5PHvxhXepTAqPNAUSESMmAcQZGllF4UV0lCFCAd4VpA2JuLpxYqd30jXhIkgJ+0DamH9mXv8tI6JGuPGfTf/aq451nfjH+D3HT+e3zSoS2j5/4yLGDo/iDM3yM4yxRX3JBcYiTmaRxdJuKn3oxg7dzpX4xFDQzbcUnHEyS2No3INul1CfR4TF1vrxS6rrw73hIhRF8cCLLDvAHUgbM87Q8FDjNjM9z4xBe+HVuDWt1MHt84DTd3O9MicCZYFYSCqTJU8IBHzuFqn+ECNOJmPAloTH0Kyqqg1HVWLr5DIssZItKhPjEI2t2rCG0vs8Iix2DCYiT/iL3lO3pfLqoGrj6HO1ODI/yB2D2cSf9Dvbf+zys57h240Zygs4gDFjcqXIkXbEV8nNCVmW5jAKxd8khJTQzE8TJZTxt2uTcG9Tde0vQGNojEjniu96lZzgHOBXKUbALIzfB2T9D7MsO6HKkAdUbSzuV2827uWnLNEXLU/r/Q/Naq/il9qdIY+i3KN7l43MW84nKfjSAsKYjDEPCGNuOVY4vgiaQd9q6+oSUmqhTsdWFlO8lq3jspMHDkWV6DphkSOPPUmA26nucAtnBEOqNrCoz9TizhIFjgdWPwvPJJAl4CFCg0bYo2y98iCL/H4kTMolGL90ZBGbkJkLqXJXOsfReS5B4O2cmYh4qd4Y9RJVG4jUmpp+gTz2yCmn68RydLGEfYAu8/vVm+17+X8/7aSXBCjDWG6bVZxpYHOL4ePhuEPU8og2pSUOPpNpjRBH5Si0JkvlE3hUp0o4JvCGgCBxZ/Q39ARaqKIAJ7hT13XvuJfWehdhrpAXO8iyDLVMyDNes5oR6unJgy8cOY5wAa5qY34rq+7aZLpwftHMlNL7H+l16FZcMp1Ei9D4CdRytkZVaLAIJLl2zg1ycxepEez1IYFHd3hXpKIGYNQ5kYWzAKK0IQ2eq5kinjmxVR7cyWsyaortSqFvMOrdz6pvZ3me3TFKb2mcDlfq/PSRUsdXJ1815xikrAPl1qnUEzYeI7KCdoB+tNGoFXax+QZVtzKVIaQbjhkBZZyp0oY/55EEfGdNgWjkAdhYtWYCeWz7tIyrtUYw+PifNxFJp7kjm6Xnlggug3IfGG1P2oBRNbJJV9tDqTeQ9sJl5YKYLAmvPTSLfP1CM6WMcSafgwWi9QhjjDctYQQuWcwdr+v5dBsNL/01C7Egw0bDe4Lb7ME/1Se8J8uyVUHaQNajo8tdVrULlWGIoVn4jL0flEYyfC7fy66nUyba6JtxHVHCKpDH9oAszjnimNvZ2dkhvo8gwrl62ssFzyKw50lTjCycKDdhGENQRrTI85zM97rzsGHZEUPqRfWF+JCMiO3p87YkKXjuJSqivbEgwADQiOdZq6raxvqFfbBejf32AHdAukF1aGFhA9K33Lh74UJstQJ413dVVTVlMrGvHbDaW+c7I9CmMebldDqllPWhCxC9f3NzU0Qy6+6iR8jci2x7vTEhRRfOBxAky7KkL1mJDASFjuLp8NhEcP32nsOhnOOU7/OIvav3bUKxB972z2NGBtqglDrEF9e87WP9f+r//wAsNjcksktI9wAAAABJRU5ErkJggg==",Jv={class:"seckill-box"},Yv={class:"left acea-row row-middle"},Xv=["src"],Wv={class:"time"},$v={class:"text"},Zv={class:"top"},qv={class:"progressBar"},ep={class:"img-box"},wa=t=>({cname:"秒杀",name:"seckill",desc:"秒杀介绍",timestamp:t,isHide:!1,setUp:{tabVal:0},zIndexConfig:{title:"组件上浮",val:0,min:0},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},titleLeft:"头部设置",titleGoodsList:"商品列表",titleGoods:"商品设置",titleRight:"头部样式",titleGoodsStyle:"商品样式",titleCurrency:"通用样式",styleConfig:{title:"选择风格",tabVal:1,tabList:[{name:"背景色"},{name:"背景图片"}]},imgBgConfig:{info:"建议:710px * 96px",url:co.apiBaseURL.replace(/adminapi/,"")+"statics/images/seckillBg.png",type:"code",delType:1,name:"背景图片"},titleConfig:{title:"标题类型",tabVal:0,tabList:[{name:"图片"},{name:"文字"}]},imgConfig:{info:"建议:154px * 32px",url:Gv,type:"code",delType:1,name:"标题图片"},imgColorConfig:{info:"建议:154px * 32px",url:zv,type:"code",delType:1,name:"标题图片"},titleTxtConfig:{title:"标题文字",value:"限时秒杀",place:"请输入标题文字",max:6},rightBntConfig:{title:"右侧按钮",value:"更多",place:"请输入右侧按钮",max:6},goodStyleConfig:{title:"选择风格",tabVal:0,tabList:[{name:"单列展示"},{name:"两列纵向"},{name:"三列展示"},{name:"左右滑动"}]},numberConfig:{title:"商品数量",val:3,min:1},checkboxInfo:{title:"展示信息",name:"checkboxInfo",type:[0,1,2,3],list:[{id:0,name:"商品名称"},{id:1,name:"秒杀进度"},{id:2,name:"商品价格"},{id:3,name:"划线价"}]},seckillConfig:{title:"秒杀按钮",tabVal:0,tabList:[{name:"显示"},{name:"隐藏"}]},headerBgColor:{title:"背景颜色",name:"headerBgColor",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},titleText:{title:"标题文字",tabVal:0,tabList:[{name:"加粗",style:"bold"},{name:"正常",style:"normal"},{name:"倾斜",style:"italic"}]},titleColor:{title:"标题颜色",name:"titleColor",default:[{item:"#333333"}],color:[{item:"#333333"}]},titleNumber:{title:"标题字号",val:16,min:0},headerBntColor:{title:"按钮颜色",name:"headerBntColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},headerBntColor2:{title:"按钮颜色",name:"headerBntColor2",default:[{item:"#999"}],color:[{item:"#999"}]},bntNumber:{title:"按钮字号",val:12,min:0},tipsColor:{title:"距离结束",name:"tipsColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},tipsColor2:{title:"距离结束",name:"tipsColor2",default:[{item:"#666"}],color:[{item:"#666"}]},numberBgColor:{title:"数字背景",name:"numberBgColor",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},numberBgColor2:{title:"数字背景",name:"numberBgColor2",default:[{item:"#E93323"},{item:"#E93323"}],color:[{item:"#E93323"},{item:"#E93323"}]},numberColor:{title:"数字",name:"numberColor",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},numberColor2:{title:"数字",name:"numberColor2",default:[{item:"#fff"}],color:[{item:"#fff"}]},filletImg:{title:"图片圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},goodsName:{title:"商品名称",tabVal:1,tabList:[{name:"加粗",style:"bold"},{name:"正常",style:"normal"}]},goodsNameColor:{title:"商品名称",name:"goodsNameColor",default:[{item:"#333333"}],color:[{item:"#333333"}]},goodsPriceColor:{title:"划线价",name:"goodsPriceColor",default:[{item:"#999999"}],color:[{item:"#999999"}]},toneConfig:{title:"色调",tabVal:0,tabList:[{name:"跟随主题风格"},{name:"自定义"}]},seckillPriceColor:{title:"秒杀价格",name:"seckillPriceColor",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},seckillPriceColor2:{title:"秒杀价格",name:"seckillPriceColor2",default:[{item:"#fff"}],color:[{item:"#fff"}]},progressColor:{title:"进度条颜色",name:"progressColor",default:[{item:"#FF7931"},{item:"#E93323"}],color:[{item:"#FF7931"},{item:"#E93323"}]},progressTxtColor:{title:"秒杀进度",name:"progressTxtColor",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},goodsBntColor:{title:"按钮颜色",name:"goodsBntColor",default:[{item:"#FF7931"},{item:"#E93323"}],color:[{item:"#FF7931"},{item:"#E93323"}]},goodsBntTxtColor:{title:"按钮文字",name:"goodsBntTxtColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},moduleColor:{title:"组件背景",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},componentBgConfig:{title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#F5F5F5"},{item:"#F5F5F5"}],color:[{item:"#F5F5F5"},{item:"#F5F5F5"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},bottomBgColor:{title:"底部背景",default:[{item:"#f5f5f5"}],color:[{item:"#f5f5f5"}]},paddingConfig:{title:"内边距",isAll:!1,val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},marginConfig:{title:"外边距",isAll:!1,val:0,min:0,valList:[{val:0},{val:10},{val:0},{val:10}]},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:8,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]}}),tp=Object.assign({name:"home_seckill",cname:"秒杀",configName:"c_home_seckill",icon:"#iconzujian-miaosha",type:1,defaultName:"seckill",pluginComponent:!0},{__name:"home_seckill",props:{index:{type:null},num:{type:null},colorStyle:{type:null}},setup(t){const n=t,A=wa(n.num),e=Be(),o=v(null),i=v({}),m=v(""),a=v(""),d=v(""),r=v(""),c=v(""),f=v(""),g=v(""),p=v(""),b=v(""),_=v(""),B=v(""),y=v(""),Q=v(""),I=v(0),N=v(0),w=v(""),h=v(""),E=v(""),F=v(0),x=v(""),j=v(""),D=v(""),V=v(0),S=v([]),k=v(0),K=v(0),J=v(0),ee=v(""),T=v(""),H=v(""),R=v(""),G=v(""),z=v(0),ie=v(""),Y=v(""),Z=v(0),re=v(""),te=v(0),ge=v(""),W=v(""),Ae=v(1),me=v(""),ye=v(0),Te=v(""),Pe=v(""),Qe=v("");M(i,_e=>{De(_e)},{deep:!0}),M(()=>n.num,_e=>{let Ie=e.defaultArray[_e];De(Ie)},{deep:!0}),M(()=>e.defaultArray,()=>{let _e=e.defaultArray[n.num];De(_e)},{deep:!0}),Ce(()=>{ve(()=>{i.value=e.defaultArray[n.num],De(i.value)})});function De(_e){if(!_e)return;o.value=_e;let Ie=!_e.paddingConfig,Ge=!_e.marginConfig;for(let Ne in A)_e[Ne]==null&&(_e[Ne]=JSON.parse(JSON.stringify(A[Ne])));if(Ie&&(_e.topConfig&&(_e.paddingConfig.valList[0].val=_e.topConfig.val),_e.prConfig&&(_e.paddingConfig.valList[1].val=_e.prConfig.val,_e.paddingConfig.valList[3].val=_e.prConfig.val),_e.bottomConfig&&(_e.paddingConfig.valList[2].val=_e.bottomConfig.val)),Ge&&_e.mbConfig&&(_e.marginConfig.valList[0].val=_e.mbConfig.val),_e.mbConfig||_e.marginConfig){m.value=_e.imgConfig.url,a.value=_e.imgBgConfig.url,E.value=_e.imgColorConfig.url,d.value=_e.tipsColor.color[0].item,r.value=_e.tipsColor2.color[0].item;let Ne=_e.numberBgColor.color[1].item;c.value=_e.numberBgColor.color[0].item,f.value=`linear-gradient(90deg,${c.value} 0%,${Ne} 100%)`;let We=_e.numberBgColor2.color[1].item;g.value=_e.numberBgColor2.color[0].item,p.value=`linear-gradient(90deg,${g.value} 0%,${We} 100%)`,b.value=_e.numberColor.color[0].item,_.value=_e.numberColor2.color[0].item,B.value=_e.rightBntConfig.value,y.value=_e.headerBntColor.color[0].item,Q.value=_e.headerBntColor2.color[0].item,I.value=_e.bntNumber.val,N.value=_e.styleConfig.tabVal,w.value=_e.headerBgColor.color[0].item,h.value=_e.headerBgColor.color[1].item,F.value=_e.titleConfig.tabVal,x.value=_e.titleTxtConfig.value;let bt=_e.moduleColor.color[0].item,oo=_e.moduleColor.color[1].item;j.value=`linear-gradient(90deg,${bt} 0%,${oo} 100%)`;let Ao=_e.titleText.tabVal;V.value=Ao,D.value=_e.titleText.tabList[Ao].style,S.value=_e.checkboxInfo.type;let Ot=_e.filletImg.type,mo=_e.filletImg.val,Kt=_e.filletImg.valList;k.value=Ot?Kt[0].val+"px "+Kt[1].val+"px "+Kt[3].val+"px "+Kt[2].val+"px":mo+"px";let no=_e.fillet.type,Dt=_e.fillet.val,St=_e.fillet.valList;K.value=no?St[0].val+"px "+St[1].val+"px 0 0":Dt+"px "+Dt+"px 0 0",J.value=no?"0 0 "+St[3].val+"px "+St[2].val+"px":"0 0 "+Dt+"px "+Dt+"px";let Pt=_e.goodsName.tabVal;ee.value=_e.goodsName.tabList[Pt].style,T.value=_e.goodsNameColor.color[0].item,H.value=_e.goodsPriceColor.color[0].item,z.value=_e.toneConfig.tabVal,R.value=_e.seckillPriceColor.color[0].item,G.value=_e.seckillPriceColor2.color[0].item,ie.value=_e.goodsBntColor.color[0].item,Y.value=_e.goodsBntColor.color[1].item,Z.value=_e.goodStyleConfig.tabVal,re.value=_e.goodsBntTxtColor.color[0].item,te.value=_e.seckillConfig.tabVal,ge.value=_e.progressColor.color[0].item,W.value=_e.progressColor.color[1].item,Ae.value=_e.numberConfig.val,me.value=_e.titleColor.color[0].item,ye.value=_e.titleNumber.val,Te.value=_e.progressTxtColor.color[0].item,Pe.value=`linear-gradient(90deg,${n.colorStyle.theme} 0%,${n.colorStyle.gradient} 100%)`,Qe.value=`linear-gradient(270deg,${n.colorStyle.theme} 0%,${n.colorStyle.gradient} 100%)`}}return(_e,Ie)=>{const Ge=X("common_wrapper");return s(),u("div",null,[L(Ge,{config:o.value},{default:P(()=>[l("div",Jv,[l("div",{class:"hd",style:U((N.value?"backgroundImage:url("+a.value+")":`background:linear-gradient(90deg,${w.value} 0%,${h.value} 100%)`)+";borderRadius:"+K.value)},[l("div",Yv,[F.value?(s(),u("div",{key:0,class:"text",style:U((V.value==2?"fontStyle:":"fontWeight:")+D.value+";color:"+me.value+";fontSize:"+ye.value+"px;")},$(x.value),5)):(s(),u("img",{key:1,src:N.value?m.value:E.value,alt:""},null,8,Xv)),l("div",{class:"tips",style:U({color:N.value?d.value:r.value})}," 距离结束 ",4),l("div",Wv,[l("span",{style:U({background:N.value?f.value:p.value,color:N.value?b.value:_.value})},"17",4),l("em",{style:U({color:N.value?c.value:g.value})},":",4),l("span",{style:U({background:N.value?f.value:p.value,color:N.value?b.value:_.value})},"32",4),l("em",{style:U({color:N.value?c.value:g.value})},":",4),l("span",{style:U({background:N.value?f.value:p.value,color:N.value?b.value:_.value})},"45",4)])]),l("div",{class:"right",style:U({color:N.value?y.value:Q.value,fontSize:I.value+"px"})},[se($(B.value),1),l("span",{class:"iconfont iconjinru",style:U({fontSize:I.value+"px"})},null,4)],4)],4),l("div",{class:ue(["list-wrapper",Z.value==0?"on":Z.value==1||Z.value==2?"on2":Z.value==3?"on3":""]),style:U({background:j.value,borderRadius:J.value})},[Z.value==0?(s(!0),u(q,{key:0},ae(Ae.value,(Ne,We)=>(s(),u("div",{class:"itemOne acea-row",key:We},[l("div",{class:"empty-box",style:U({borderRadius:k.value})},[...Ie[0]||(Ie[0]=[l("img",{src:he},null,-1)])],4),l("div",$v,[l("div",Zv,[S.value.indexOf(0)!=-1?(s(),u("div",{key:0,class:"name line2",style:U({fontWeight:ee.value,color:T.value})}," 橙中爱马仕 黑标新骑士晚季,是你最想拥有的 ",4)):O("",!0),S.value.indexOf(1)!=-1?(s(),u("div",{key:1,class:"progressBg",style:U({background:z.value?`linear-gradient(45deg,${ge.value} 0%,${W.value} 100%)`:Qe.value})},[l("div",qv,[l("div",{class:"progress",style:U({background:z.value?`linear-gradient(45deg,${ge.value} 0%,${W.value} 100%)`:Qe.value})},null,4),Ie[1]||(Ie[1]=l("img",{src:Pv},null,-1))]),l("div",{class:"progressTxt",style:U({color:z.value?Te.value:t.colorStyle.theme})}," 已抢33% ",4)],4)):O("",!0)]),l("div",{class:ue(["bottom",S.value.indexOf(2)!=-1&&S.value.indexOf(3)!=-1?"":"acea-row row-bottom"])},[S.value.indexOf(2)!=-1?(s(),u("div",{key:0,class:"price",style:U({color:z.value?R.value:t.colorStyle.theme})},[...Ie[2]||(Ie[2]=[se(" 秒杀价",-1),l("span",{class:"label"},"¥",-1),l("span",{class:"num"},"3200.00",-1)])],4)):O("",!0),S.value.indexOf(3)!=-1?(s(),u("div",{key:1,class:"yprice",style:U({color:H.value})}," ¥1233.00 ",4)):O("",!0)],2),te.value?O("",!0):(s(),u("div",{key:0,class:"bnt",style:U({color:z.value?re.value:"#fff",background:z.value?`linear-gradient(90deg,${Y.value} 0%,${ie.value} 100%)`:Pe.value})}," 去抢购 ",4))])]))),128)):O("",!0),Z.value==1?(s(!0),u(q,{key:1},ae(Ae.value,(Ne,We)=>(s(),u("div",{class:"itemTwo",key:We},[l("div",{class:"empty-box",style:U({borderRadius:k.value})},[...Ie[3]||(Ie[3]=[l("img",{src:he},null,-1)])],4),l("div",{class:ue(S.value.indexOf(0)!=-1&&S.value.length==1&&!te.value||S.value.indexOf(0)!=-1&&S.value.indexOf(1)!=-1&&S.value.length==2&&!te.value?"item":(!S.value.length||S.value.indexOf(1)!=-1&&S.value.length==1)&&!te.value?"item2":"")},[S.value.indexOf(0)!=-1?(s(),u("div",{key:0,class:"title line1",style:U({fontWeight:ee.value,color:T.value})}," 橙中爱马仕 黑标新骑士... ",4)):O("",!0),S.value.indexOf(2)!=-1?(s(),u("div",{key:1,class:ue(["price",S.value.indexOf(3)==-1&&!te.value?"on":""]),style:U({color:z.value?R.value:t.colorStyle.theme})},[...Ie[4]||(Ie[4]=[se(" ¥",-1),l("span",{class:"num"},"3200.00",-1)])],6)):O("",!0),S.value.indexOf(3)!=-1?(s(),u("div",{key:2,class:ue(["yprice",S.value.indexOf(2)==-1&&!te.value?"on":""]),style:U({color:H.value})}," ¥3699.00 ",6)):O("",!0),te.value?O("",!0):(s(),u("div",{key:3,class:ue(["bnt",S.value.indexOf(2)==-1&&!te.value?"on":""]),style:U({color:z.value?re.value:"#fff",background:z.value?`linear-gradient(90deg,${Y.value} 0%,${ie.value} 100%)`:Pe.value})}," 去抢购 ",6))],2)]))),128)):O("",!0),Z.value==2?(s(!0),u(q,{key:2},ae(Ae.value,(Ne,We)=>(s(),u("div",{class:"list-item",key:We},[l("div",ep,[l("div",{class:"empty-box",style:U({borderRadius:k.value})},[...Ie[5]||(Ie[5]=[l("img",{src:he},null,-1)])],4)]),S.value.indexOf(0)!=-1?(s(),u("div",{key:0,class:"title line1",style:U({fontWeight:ee.value,color:T.value})}," 橙中爱马仕黑橙... ",4)):O("",!0),S.value.indexOf(2)!=-1?(s(),u("div",{key:1,class:"price",style:U({color:z.value?G.value:"#fff",background:z.value?`linear-gradient(90deg,${ie.value} 0%,${Y.value} 100%)`:Qe.value})},[...Ie[6]||(Ie[6]=[l("img",{src:kl},null,-1),l("span",null,"¥",-1),se("350.00 ",-1)])],4)):O("",!0),S.value.indexOf(3)!=-1?(s(),u("div",{key:2,class:"yprice",style:U({color:H.value})}," ¥3699.00 ",4)):O("",!0)]))),128)):O("",!0),Z.value==3?(s(!0),u(q,{key:3},ae(Ae.value,(Ne,We)=>(s(),u("div",{class:"itemThree",key:We},[l("div",{class:"empty-box",style:U({borderRadius:k.value})},[...Ie[7]||(Ie[7]=[l("img",{src:he},null,-1)])],4),l("div",{class:ue(S.value.indexOf(0)!=-1&&S.value.length==1&&!te.value||S.value.indexOf(0)!=-1&&S.value.indexOf(1)!=-1&&S.value.length==2&&!te.value?"item":(!S.value.length||S.value.indexOf(1)!=-1&&S.value.length==1)&&!te.value?"item2":"")},[S.value.indexOf(0)!=-1?(s(),u("div",{key:0,class:"title line1",style:U({fontWeight:ee.value,color:T.value})}," 橙中爱马仕 黑标新骑士... ",4)):O("",!0),S.value.indexOf(2)!=-1?(s(),u("div",{key:1,class:ue(["price",S.value.indexOf(3)==-1&&!te.value?"on":""]),style:U({color:z.value?R.value:t.colorStyle.theme})},[...Ie[8]||(Ie[8]=[se(" ¥",-1),l("span",{class:"num"},"3200.00",-1)])],6)):O("",!0),S.value.indexOf(3)!=-1?(s(),u("div",{key:2,class:ue(["yprice",S.value.indexOf(2)==-1&&!te.value?"on":""]),style:U({color:H.value})}," ¥3699.00 ",6)):O("",!0),te.value?O("",!0):(s(),u("div",{key:3,class:ue(["bnt",S.value.indexOf(3)==-1&&!te.value?"on2":""]),style:U({color:z.value?re.value:"#fff",background:z.value?`linear-gradient(90deg,${Y.value} 0%,${ie.value} 100%)`:Pe.value})},[...Ie[9]||(Ie[9]=[l("div",{class:"bntCon"},[se(" 抢 "),l("img",{src:kl})],-1)])],6))],2)]))),128)):O("",!0)],6)])]),_:1},8,["config"])])}}}),op=fe(tp,[["__scopeId","data-v-eb5ee478"]]),Ap=Object.freeze(Object.defineProperty({__proto__:null,default:op,getDefaultConfig:wa},Symbol.toStringTag,{value:"Module"})),np={class:"img-box"},lp=["src"],ip={key:1,class:"empty-box on"},Qa=t=>({cname:"悬浮按钮",name:"customerService",timestamp:t,isHide:!1,setUp:{tabVal:0},titleLeft:"按钮设置",titleRight:"位置设置",buttonConfig:{title:"按钮跳转",tabVal:0,tabList:[{name:"页面链接"},{name:"客服入口"}]},locationConfig:{title:"展示位置",tabVal:1,tabList:[{name:"左"},{name:"右"}]},logoConfig:{title:"建议:展示上传100*100px;",url:"",link:""},zIndexConfig:{title:"组件上浮",val:0,min:0},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},paddingConfig:{title:"内边距",val:0,min:0,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},marginConfig:{title:"外边距",val:0,min:0,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]}}),ap=Object.assign({name:"home_service",cname:"悬浮按钮",configName:"c_home_service",icon:"#iconzujian-xuanfuanniu",type:2,defaultName:"customerService"},{__name:"home_service",props:{index:{type:null,default:-1},num:{type:null}},setup(t){const n=t,A=Qa(n.num),e=Be(),o=v(""),i=v({}),m=v(1),a=v(null);M(i,(r,c)=>{d(r)},{deep:!0}),M(()=>n.num,(r,c)=>{const f=e.defaultArray[r];d(f)},{deep:!0}),M(()=>e.defaultArray,(r,c)=>{const f=e.defaultArray[n.num];d(f)},{deep:!0}),Ce(()=>{ve(()=>{i.value=e.defaultArray[n.num],d(i.value)})});function d(r){if(r){a.value=r,a.value.componentBgConfig!==void 0&&delete a.value.componentBgConfig;for(let c in A)a.value[c]===void 0&&(a.value[c]=A[c]);o.value=r.logoConfig.url,m.value=r.locationConfig.tabVal}}return(r,c)=>{const f=X("common_wrapper");return s(),ce(f,{config:a.value},{default:P(()=>[l("div",{class:ue(["service-box",m.value?"":"on"])},[l("div",np,[o.value?(s(),u("img",{key:0,src:o.value,alt:""},null,8,lp)):(s(),u("div",ip,[...c[0]||(c[0]=[l("img",{src:he},null,-1)])]))])],2)]),_:1},8,["config"])}}}),sp=fe(ap,[["__scopeId","data-v-c1415dff"]]),cp=Object.freeze(Object.defineProperty({__proto__:null,default:sp,getDefaultConfig:Qa},Symbol.toStringTag,{value:"Module"})),rp={key:0,class:"spec-preview-box"},up={key:1,class:"mock-calendar-month"},dp={key:2,class:"mock-calendar"},xa=t=>({cname:"售卖形态展示位",name:"specPreview",timestamp:t,contentTitle:"内容设置",titleStyle:"标题样式",setUp:{tabVal:0},isShow:{title:"显示标题",tabVal:0,tabList:[{name:"显示"},{name:"隐藏"}]},textPosition:{title:"对齐方式",val:"center"},textColor:{title:"文字颜色",default:[{item:"#333"}],color:[{item:"#333"}]},fontSize:{title:"字体大小",val:16,min:12,max:40},titleCurrency:"通用样式",moduleColor:{title:"背景颜色",name:"moduleColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},bottomBgColor:{title:"底部背景",name:"bottomBgColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},marginConfig:{title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},paddingConfig:{title:"内边距",val:10,min:0,max:100,isAll:!1,valList:[{val:10},{val:10},{val:10},{val:10}]},componentBgConfig:{title:"组件背景",tabVal:0,colorConfig:{title:"颜色设置",default:[{item:"transparent"}],color:[{item:"transparent"}]},imageConfig:{title:"图片设置",url:""}},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},borderRadius:"0",zIndexConfig:{title:"层级",val:0,min:0}}),mp=Object.assign({name:"home_spec_preview",cname:"售卖形态",configName:"c_spec_preview",icon:"#iconzujian-shangpinxinxi",type:3,defaultName:"specPreview"},{__name:"home_spec_preview",props:{index:{type:null},num:{type:null}},setup(t){const n=t;xa(n.num);const A=Be(),e=pe(()=>{var c,f;return((f=(c=d.value)==null?void 0:c.isShow)==null?void 0:f.tabVal)==0}),o=pe(()=>{var c,f;return((f=(c=d.value)==null?void 0:c.calendarStyle)==null?void 0:f.tabVal)??0}),i=pe(()=>{var c,f,g,p;return((p=(g=(f=(c=d.value)==null?void 0:c.textColor)==null?void 0:f.color)==null?void 0:g[0])==null?void 0:p.item)||"#333"}),m=pe(()=>{var c,f;return((f=(c=d.value)==null?void 0:c.fontSize)==null?void 0:f.val)||16}),a=pe(()=>{var c;return((c=d.value)==null?void 0:c.textPosition.val)||"left"}),d=v(null);M(()=>n.num,(c,f)=>{let g=A.defaultArray[c];r(g)},{deep:!0}),M(()=>A.defaultArray,(c,f)=>{let g=A.defaultArray[n.num];r(g)},{deep:!0}),Ce(()=>{ve(()=>{r(A.defaultArray[n.num])})});function r(c){c&&c&&(d.value=c)}return(c,f)=>{const g=X("common_wrapper");return s(),ce(g,{config:d.value},{default:P(()=>[d.value?(s(),u("div",rp,[e.value?(s(),u("div",{key:0,class:"title",style:U({color:i.value,fontSize:m.value+"px",textAlign:a.value})}," 售卖形态 ",4)):O("",!0),o.value==0?(s(),u("div",up,[...f[0]||(f[0]=[l("div",{class:"mock-calendar__week"},[l("span",null,"日"),l("span",null,"一"),l("span",null,"二"),l("span",null,"三"),l("span",null,"四"),l("span",null,"五"),l("span",null,"六")],-1),l("div",{class:"mock-calendar-month__grid"},[l("span",{class:"day muted"},"26"),l("span",{class:"day muted"},"27"),l("span",{class:"day muted"},"28"),l("span",{class:"day muted"},"29"),l("span",{class:"day muted"},"30"),l("span",{class:"day"},"1"),l("span",{class:"day"},"2"),l("span",{class:"day"},"3"),l("span",{class:"day"},"4"),l("span",{class:"day"},"5"),l("span",{class:"day"},"6"),l("span",{class:"day"},"7"),l("span",{class:"day"},"8"),l("span",{class:"day"},"9"),l("span",{class:"day"},"10"),l("span",{class:"day"},"11"),l("span",{class:"day"},"12"),l("span",{class:"day"},"13"),l("span",{class:"day"},"14"),l("span",{class:"day active"},"15"),l("span",{class:"day"},"16"),l("span",{class:"day"},"17"),l("span",{class:"day"},"18"),l("span",{class:"day"},"19"),l("span",{class:"day"},"20"),l("span",{class:"day"},"21"),l("span",{class:"day"},"22"),l("span",{class:"day"},"23"),l("span",{class:"day"},"24"),l("span",{class:"day"},"25"),l("span",{class:"day"},"26"),l("span",{class:"day"},"27"),l("span",{class:"day"},"28"),l("span",{class:"day"},"29"),l("span",{class:"day"},"30"),l("span",{class:"day muted"},"1"),l("span",{class:"day muted"},"2")],-1)])])):(s(),u("div",dp,[...f[1]||(f[1]=[l("div",{class:"mock-calendar__week"},[l("span",null,"日"),l("span",null,"一"),l("span",null,"二"),l("span",null,"三"),l("span",null,"四"),l("span",null,"五"),l("span",null,"六")],-1),l("div",{class:"mock-calendar__days"},[l("span",{class:"day muted"},"25"),l("span",{class:"day muted"},"26"),l("span",{class:"day"},"27"),l("span",{class:"day"},"28"),l("span",{class:"day active"},"29"),l("span",{class:"day"},"30"),l("span",{class:"day"},"31")],-1)])])),f[2]||(f[2]=l("div",{class:"mock-slots"},[l("div",{class:"mock-slot active"},[l("span",{class:"mock-slot__name"},"上午场"),l("span",{class:"mock-slot__time"},"09:00-12:00")]),l("div",{class:"mock-slot"},[l("span",{class:"mock-slot__name"},"下午场"),l("span",{class:"mock-slot__time"},"14:00-17:00")])],-1)),f[3]||(f[3]=l("div",{class:"mock-prices"},[l("div",{class:"mock-price"},[l("span",{class:"mock-price__name"},"成人票"),l("span",{class:"mock-price__val"},"¥99")]),l("div",{class:"mock-price"},[l("span",{class:"mock-price__name"},"儿童票"),l("span",{class:"mock-price__val"},"¥59")]),l("div",{class:"mock-price"},[l("span",{class:"mock-price__name"},"老人票"),l("span",{class:"mock-price__val"},"¥49")])],-1))])):O("",!0)]),_:1},8,["config"])}}}),gp=fe(mp,[["__scopeId","data-v-6eaa8a5a"]]),fp=Object.freeze(Object.defineProperty({__proto__:null,default:gp,getDefaultConfig:xa},Symbol.toStringTag,{value:"Module"})),vp={key:0,class:"store-card-box"},Ia=t=>({cname:"门店/场馆卡",name:"storeCard",timestamp:t,contentTitle:"内容设置",titleStyle:"标题样式",setUp:{tabVal:0},isShow:{title:"显示标题",tabVal:0,tabList:[{name:"显示"},{name:"隐藏"}]},textPosition:{title:"对齐方式",val:"center"},textColor:{title:"文字颜色",default:[{item:"#333"}],color:[{item:"#333"}]},fontSize:{title:"字体大小",val:16,min:12,max:40},titleCurrency:"通用样式",moduleColor:{title:"背景颜色",name:"moduleColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},bottomBgColor:{title:"底部背景",name:"bottomBgColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},marginConfig:{title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},paddingConfig:{title:"内边距",val:10,min:0,max:100,isAll:!1,valList:[{val:10},{val:10},{val:10},{val:10}]},componentBgConfig:{title:"组件背景",tabVal:0,colorConfig:{title:"颜色设置",default:[{item:"transparent"}],color:[{item:"transparent"}]},imageConfig:{title:"图片设置",url:""}},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},borderRadius:"0",zIndexConfig:{title:"层级",val:0,min:0}}),pp=Object.assign({name:"home_store_card",cname:"门店",configName:"c_store_card",icon:"#iconzujian-shangpinxinxi",type:3,defaultName:"storeCard"},{__name:"home_store_card",props:{index:{type:null},num:{type:null}},setup(t){const n=t;Ia(n.num);const A=Be(),e=pe(()=>{var r,c;return((c=(r=a.value)==null?void 0:r.isShow)==null?void 0:c.tabVal)==0}),o=pe(()=>{var r,c,f,g;return((g=(f=(c=(r=a.value)==null?void 0:r.textColor)==null?void 0:c.color)==null?void 0:f[0])==null?void 0:g.item)||"#333"}),i=pe(()=>{var r,c;return((c=(r=a.value)==null?void 0:r.fontSize)==null?void 0:c.val)||16}),m=pe(()=>{var r;return((r=a.value)==null?void 0:r.textPosition.val)||"left"}),a=v(null);M(()=>n.num,(r,c)=>{let f=A.defaultArray[r];d(f)},{deep:!0}),M(()=>A.defaultArray,(r,c)=>{let f=A.defaultArray[n.num];d(f)},{deep:!0}),Ce(()=>{ve(()=>{d(A.defaultArray[n.num])})});function d(r){r&&r&&(a.value=r)}return(r,c)=>{const f=X("common_wrapper");return s(),ce(f,{config:a.value},{default:P(()=>[a.value?(s(),u("div",vp,[e.value?(s(),u("div",{key:0,class:"title",style:U({color:o.value,fontSize:i.value+"px",textAlign:m.value})}," 门店/场馆卡 ",4)):O("",!0),c[0]||(c[0]=l("div",{class:"mock-store"},[l("div",{class:"mock-store__header"},[l("div",{class:"mock-store__icon"}),l("div",{class:"mock-store__info"},[l("div",{class:"mock-store__name"},"阳光水族馆(总店)"),l("div",{class:"mock-store__addr"},"上海市浦东新区陆家嘴环路1388号")])]),l("div",{class:"mock-store__meta"},[l("span",{class:"mock-tag"},"距您 2.3km"),l("span",{class:"mock-tag"},"营业中")])],-1))])):O("",!0)]),_:1},8,["config"])}}}),Cp=fe(pp,[["__scopeId","data-v-139e714f"]]),_p=Object.freeze(Object.defineProperty({__proto__:null,default:Cp,getDefaultConfig:Ia},Symbol.toStringTag,{value:"Module"})),bp={key:0,class:"time-card-box"},Ua=t=>({cname:"时间线",name:"timeCard",timestamp:t,contentTitle:"内容设置",titleStyle:"标题样式",setUp:{tabVal:0},isShow:{title:"显示标题",tabVal:0,tabList:[{name:"显示"},{name:"隐藏"}]},textPosition:{title:"对齐方式",val:"center"},textColor:{title:"文字颜色",default:[{item:"#333"}],color:[{item:"#333"}]},fontSize:{title:"字体大小",val:16,min:12,max:40},titleCurrency:"通用样式",moduleColor:{title:"背景颜色",name:"moduleColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},bottomBgColor:{title:"底部背景",name:"bottomBgColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},marginConfig:{title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},paddingConfig:{title:"内边距",val:10,min:0,max:100,isAll:!1,valList:[{val:10},{val:10},{val:10},{val:10}]},componentBgConfig:{title:"组件背景",tabVal:0,colorConfig:{title:"颜色设置",default:[{item:"transparent"}],color:[{item:"transparent"}]},imageConfig:{title:"图片设置",url:""}},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},borderRadius:"0",zIndexConfig:{title:"层级",val:0,min:0}}),Bp=Object.assign({name:"home_time_card",cname:"时间线",configName:"c_time_card",icon:"#iconzujian-wenzhangliebiao",type:3,defaultName:"timeCard"},{__name:"home_time_card",props:{index:{type:null},num:{type:null}},setup(t){const n=t;Ua(n.num);const A=Be(),e=pe(()=>{var r,c;return((c=(r=a.value)==null?void 0:r.isShow)==null?void 0:c.tabVal)==0}),o=pe(()=>{var r,c,f,g;return((g=(f=(c=(r=a.value)==null?void 0:r.textColor)==null?void 0:c.color)==null?void 0:f[0])==null?void 0:g.item)||"#333"}),i=pe(()=>{var r,c;return((c=(r=a.value)==null?void 0:r.fontSize)==null?void 0:c.val)||16}),m=pe(()=>{var r;return((r=a.value)==null?void 0:r.textPosition.val)||"left"}),a=v(null);M(()=>n.num,(r,c)=>{let f=A.defaultArray[r];d(f)},{deep:!0}),M(()=>A.defaultArray,(r,c)=>{let f=A.defaultArray[n.num];d(f)},{deep:!0}),Ce(()=>{ve(()=>{d(A.defaultArray[n.num])})});function d(r){r&&r&&(a.value=r)}return(r,c)=>{const f=X("common_wrapper");return s(),ce(f,{config:a.value},{default:P(()=>[a.value?(s(),u("div",bp,[e.value?(s(),u("div",{key:0,class:"title",style:U({color:o.value,fontSize:i.value+"px",textAlign:m.value})}," 时间线 ",4)):O("",!0),c[0]||(c[0]=l("div",{class:"mock-timeline"},[l("div",{class:"mock-tl-item"},[l("div",{class:"mock-tl-dot"}),l("div",{class:"mock-tl-content"},[l("div",{class:"mock-tl-time"},"09:00 - 12:00"),l("div",{class:"mock-tl-label"},"上午场")])]),l("div",{class:"mock-tl-item"},[l("div",{class:"mock-tl-dot muted"}),l("div",{class:"mock-tl-content"},[l("div",{class:"mock-tl-time"},"14:00 - 17:00"),l("div",{class:"mock-tl-label"},"下午场")])]),l("div",{class:"mock-tl-item"},[l("div",{class:"mock-tl-dot muted"}),l("div",{class:"mock-tl-content"},[l("div",{class:"mock-tl-time"},"19:00 - 21:00"),l("div",{class:"mock-tl-label"},"夜场")])])],-1))])):O("",!0)]),_:1},8,["config"])}}}),hp=fe(Bp,[["__scopeId","data-v-3233ba73"]]),yp=Object.freeze(Object.defineProperty({__proto__:null,default:hp,getDefaultConfig:Ua},Symbol.toStringTag,{value:"Module"})),wp={class:"mobile-page"},Fa=t=>({cname:"文本标题",name:"titles",timestamp:t,isHide:!1,setUp:{tabVal:0},titleLeft:"标题设置",titleRight:"文字设置",titleCurrency:"通用样式",zIndexConfig:{title:"组件上浮",val:0,min:0},titleConfig:{title:"标题名称",value:"标题",place:"请输入标题",max:10},titleConfigRight:{title:"右侧文字",value:"更多",place:"请输入右侧文字",max:5},buttonConfig:{title:"右侧按钮",tabVal:0,tabList:[{name:"显示"},{name:"隐藏"}]},linkConfig:{title:"链接",value:"",place:"请输入链接地址",max:100,type:"link"},themeColor:{title:"标题颜色",name:"themeColor",default:[{item:"#333333"}],color:[{item:"#333333"}]},buttonColor:{title:"按钮颜色",default:[{item:"#999999"}],color:[{item:"#999999"}]},moduleColor:{title:"组件背景",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},buttonText:{title:"按钮文字",val:12,min:6},textPosition:{title:"标题位置",tabVal:0,tabList:[{name:"左对齐",style:"left",icon:"icondoc_left"},{name:"居中对齐",style:"center",icon:"icondoc_center"},{name:"右对齐",style:"right",icon:"icondoc_right"}]},textStyle:{title:"标题样式",tabVal:0,tabList:[{name:"正常",style:"normal",icon:"icondoc_general"},{name:"倾斜",style:"italic",icon:"icondoc_skew"},{name:"加粗",style:"bold",icon:"icondoc_bold"}]},fontSize:{title:"标题文字",val:16,min:8},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},componentBgConfig:{title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#F5F5F5"},{item:"#F5F5F5"}],color:[{item:"#F5F5F5"},{item:"#F5F5F5"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},paddingConfig:{title:"内边距",val:0,min:0,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},marginConfig:{title:"外边距",val:0,min:0,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},bottomBgColor:{title:"底部背景",default:[{item:"#F5F5F5"}],color:[{item:"#F5F5F5"}]}}),Qp=Object.assign({name:"home_title",cname:"文本标题",icon:"#iconzujian-biaoti",configName:"c_home_title",type:2,defaultName:"titles"},{__name:"home_title",props:{index:{type:null},num:{type:null}},setup(t){const n=t,A=Fa(n.num),e=Be(),o=v(null),i=v(""),m=v(""),a=v(""),d=v(""),r=v(0),c=v(""),f=v(""),g=v(""),p=v({title:"外边距",val:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]}),b=v({}),_=v(""),B=v(0),y=v(""),Q=v(""),I=v(0),N=v(0),w=v(0),h=v([]);M(b,(F,x)=>{E(F)},{deep:!0}),M(()=>n.num,(F,x)=>{let j=e.defaultArray[F];E(j)},{deep:!0}),M(()=>e.defaultArray,(F,x)=>{let j=e.defaultArray[n.num];E(j)},{deep:!0}),Ce(()=>{ve(()=>{b.value=e.defaultArray[n.num],E(b.value)})});function E(F){if(F){o.value=F;for(let x in A)F[x]==null&&(F[x]=A[x]);F.id&&(i.value=F.titleConfig.value,m.value=F.linkConfig.value,a.value=F.textPosition.tabList[F.textPosition.tabVal].style,d.value=F.textStyle.tabList[F.textStyle.tabVal].style,g.value=F.themeColor.color[0].item,r.value=F.fontSize.val,c.value=F.moduleColor.color[0].item,f.value=F.moduleColor.color[1].item,_.value=F.bottomBgColor.color[0].item,B.value=F.buttonConfig.tabVal,y.value=F.titleConfigRight.value,Q.value=F.buttonColor.color[0].item,I.value=F.buttonText.val,N.value=F.fillet.type,w.value=F.fillet.val,h.value=F.fillet.valList,p.value=F.marginConfig||{val:0,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},F.marginConfig||F.mbConfig&&(p.value.valList[0].val=F.mbConfig.val))}}return(F,x)=>{const j=X("common_wrapper");return s(),ce(j,{config:o.value},{default:P(()=>[l("div",wp,[l("div",{class:"title",style:U({background:`linear-gradient(90deg,${c.value} 0%,${f.value} 100%)`,borderRadius:N.value?h.value[0].val+"px "+h.value[1].val+"px "+h.value[3].val+"px "+h.value[2].val+"px":w.value+"px"})},[l("div",{class:ue(["title-box",B.value?"on":""]),style:U({color:g.value,fontSize:r.value+"px",fontStyle:d.value!="bold"?d.value:"",fontWeight:d.value=="bold"?d.value:"",textAlign:a.value})},$(i.value),7),B.value?O("",!0):(s(),u("div",{key:0,style:U({color:Q.value,fontSize:I.value+"px"})},[se($(y.value),1),x[0]||(x[0]=l("span",{class:"iconfont iconjinru"},null,-1))],4))],4)])]),_:1},8,["config"])}}}),xp=fe(Qp,[["__scopeId","data-v-29b8aaae"]]),Ip=Object.freeze(Object.defineProperty({__proto__:null,default:xp,getDefaultConfig:Fa},Symbol.toStringTag,{value:"Module"})),Vl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEwAAAAgCAYAAAC4oZ4KAAAAAXNSR0IArs4c6QAABW1JREFUaEPtWk1MXFUU/u4w1IZaaSwtM02ApiYwGhALFiyNBTXaxDagTf9M1OiiihsXaLvoAiMLF9ay6EZjFyqaKDU2obYmbaMBDcgMlIafKNOkpoDhDYSaohYbZ5hrzh3v8Hi8O++9GcJfuJvJvHd/zvnOOd89597HYLPxUPtmsDWPA6hGNPoQGMsF+EaApdmcYol049MAuwVgCIz9CuA8+L8/Mc+ucTsCMqtOPNRVCPA6APsBZFr1X6bvJwGcA1gj8+wYSKSDEjA+0nE/3O4TYKgFsG6ZAuFU7Dvg+AiRyHssp+IPs8GmgPHRDh9c6c0Af9jpiiujP+9DmusQ27QjaNRnDmA8dPUxYPocAO/KUD5pLTQgbT/zlHbqZ5gFWMyz3D+sghWHSEM08iTbUjEon8QBE5yV7m4FUGTHJsO9FzBxswd/jl3H1G1NDElfey825pXA66uCt6DSzjTLoA/rQzj8hOS0GcDGAh+A4y0rDQioYNuZOEiq/hkbvCh8pg5e3woAjuEUyy57m3QVgPFQRxHg/tlqNxxsOyPActIKKo/CV3nUyZCl2PcOENnJPBX9McDGAp+A45VEkiYDlpzPCjQK6anbo8jYsAXkmQvVwnf/wmTour11OT5l3rJXGf+tMxvrXEFwdVKqDbYhcPZYSnpsr6lHbvE+0zl6Wt7FSO9FWAGbkgCGwQQU6UTGsrUuwyT4PfmMa10HwPjXiYS5crrGkrOslCHPefrNlkUHbOLmVWjBNmEg8jBqtgAToRg9yLjmbwJjL6kUpskDzbO9q3BPHbwFu8UQslB70xv/75LrsevlD8VuSW1iqAfXWhriU6u8bCE9TBqfDJiR6RUy2geMf854KNAF4FEVYFIZ/fusvBJsK39B7IDEPVdOPydeb6+uR+4jsbAjIFs/fjFuRXqWU7wPJTX1c5ayCxh5BBmQWlZe6Ry+I++ZmtQEEFlbS01VIpk8BZV4oPwI+i81OqWCbsa1wDgYNqkAU4WjtIoEbFv5ERTtoRo91to/qxXW07dMTz6qXvsiacD085p5hZQ1EV8S6Olr1wsZ7BpKJ/A4eVgEgPKI5rv3n5rlJXKwHrBA83FUvT4DhGpHJUGfPf59SoDd8H+FgUuNwrv0nEgkTt5DjZ7b2W2dA8anUwaMLBa++3dcQAoLyWlGZOYDMFqPKIB+iS9l6PW0NGCk94Iy7M0iKDnALEKSrEbWMzazkIhtALXKHVW1UzoV3N98DKFg2yyyluFYdvik7bLM6boAREhakH7McnYAM+Mt/bic4r0oqXknpZCkwdKLpQGM/1V8bHyeBGDdjI91NYFzZVpBtaM+NTBymPxvpxJQWT8JwSG5lcJyuPei43BMivQ5pRXjXQcQdZ646kMyEW9JQOc7cZUGIjkoAogO7JK9lMmxoTg7yPhYZzaQFgTnyvN6My+jnCq3eK9Y+9r5BstKoOzQSeXJhWPBdWEplTdLWW74vxR5FqU8ZmWZo3VlaUQLLnbxLQWnXVRWCWY8FKswZo6L9Jxplnvpc8ia+kBq3CmLbwFYqLsIiC7a8Y5ZNWEGmBEUmZOpci8ZtsakOomQnH28I0DT/KfA2Eyqrthq6ORi4HKjZQgSZxG/qE4o7O5kS6Kf8QBRAObwiJpqOm2wFbeGekTiSo1Aui87H1lbS1YGUDFr9SMcqZpzRC1AG+32wRVdvQSZcWv1JYjsw3/374SbfbN6cwTra7Y4aDFPO2v3BmlJ8My8CsH6EA0f1l+vyekTfyqwxn0CfPVTAb0tbHyM0lEE7qqDy/V8onP/eTXwQk8mktIUP0YxysxDvZvB/9kNsGoADy77z504H4bL9Qui09+CTf9o93On/wBm3jEXpQqBNgAAAABJRU5ErkJggg==",Up={class:"left acea-row row-middle"},Fp={class:"pictrue acea-row row-center-wrapper"},Ep=["src"],Sp={key:1,class:"empty-box"},Lp={class:"text"},Np={class:"acea-row row-middle"},kp={class:"right acea-row row-bottom"},Vp={key:0,class:"item"},Op={key:1,class:"item"},Dp={key:2,class:"item"},Hp={key:3,class:"item"},Tp={key:4,class:"item"},jp={class:"acea-row row-between-wrapper"},Rp={class:"left acea-row row-middle"},Mp={class:"pictrue acea-row row-center-wrapper"},Kp=["src"],Pp={key:1,class:"empty-box"},Gp={class:"text"},zp={class:"acea-row row-middle"},Jp={class:"list acea-row row-around"},Yp={key:0,class:"item"},Xp={key:1,class:"item"},Wp={key:2,class:"item"},$p={key:3,class:"item"},Zp={key:4,class:"item"},Ea=t=>({cname:"用户信息",name:"userInfor",timestamp:t,isHide:!1,setUp:{tabVal:0},zIndexConfig:{title:"组件上浮",val:0,min:0},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},titleLeft:"展示设置",titleImg:"默认头像",titleRight:"进度条",titleCurrency:"通用样式",styleConfig:{title:"选择风格",tabVal:1,tabList:[{name:"样式一"},{name:"样式二"}]},checkboxInfo:{title:"是否展示",name:"checkboxInfo",userType:1,type:[1,2],list:[{id:1,name:"积分"},{id:2,name:"余额"},{id:4,name:"收藏"},{id:0,name:"优惠券"},{id:5,name:"浏览"}]},logoConfig:{info:"建议:图片尺寸90px * 90px",url:"",type:"code",delType:1,name:"上传图片"},toneConfig:{title:"色调",tabVal:0,tabList:[{name:"跟随主题风格"},{name:"自定义"}]},progressColor:{title:"进度条",default:[{item:"#e93323"},{item:"#ff8933"}],color:[{item:"#e93323"},{item:"#ff8933"}]},progressBgColor:{title:"进度条背景",default:[{item:"#EEEEEE"}],color:[{item:"#EEEEEE"}]},moduleColor:{title:"组件背景",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},bottomBgColor:{title:"底部背景",default:[{item:"#fff"}],color:[{item:"#fff"}]},topConfig:{title:"上边距",val:0,min:0},bottomConfig:{title:"下边距",val:0,min:0},prConfig:{title:"左右边距",val:0,min:0},mbConfig:{title:"页面间距",val:0,min:0},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},paddingConfig:{title:"内边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},marginConfig:{title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]}}),qp=Object.assign({name:"home_userInfor",cname:"用户信息",configName:"c_userInfor",icon:"#iconzujian-yonghuxinxi",type:0,defaultName:"userInfor"},{__name:"home_userInfor",props:{index:{type:null},num:{type:null},colorStyle:{type:null}},setup(t){const n=t,A=Ea(n.num),e=Be(),o=v(null),i=v({}),m=v(0),a=v([]),d=v(""),r=v(""),c=v(""),f=v(""),g=v(""),p=v(""),b=v(0),_=v(0),B=v(""),y=v({title:"内边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]}),Q=v({title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]});M(i,(N,w)=>{I(N)},{deep:!0}),M(()=>n.num,(N,w)=>{let h=e.defaultArray[N];I(h)},{deep:!0}),M(()=>e.defaultArray,(N,w)=>{let h=e.defaultArray[n.num];I(h)},{deep:!0}),Ce(()=>{ve(()=>{i.value=e.defaultArray[n.num],I(i.value)})});function I(N){if(!N)return;o.value=N;for(let F in A)N[F]===void 0&&(N[F]=JSON.parse(JSON.stringify(A[F])));y.value=N.paddingConfig||{title:"内边距",isAll:!1,val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},Q.value=N.marginConfig||{title:"外边距",isAll:!1,val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},N.paddingConfig||(N.topConfig&&(y.value.valList[0].val=N.topConfig.val),N.bottomConfig&&(y.value.valList[2].val=N.bottomConfig.val),N.prConfig&&(y.value.valList[1].val=N.prConfig.val,y.value.valList[3].val=N.prConfig.val)),N.marginConfig||N.mbConfig&&(Q.value.valList[0].val=N.mbConfig.val),m.value=N.styleConfig.tabVal,a.value=N.checkboxInfo.type,d.value=N.logoConfig.url,_.value=N.toneConfig.tabVal,r.value=N.progressColor.color[0].item,c.value=N.progressColor.color[1].item,f.value=N.progressBgColor.color[0].item,g.value=N.moduleColor.color[0].item,p.value=N.moduleColor.color[1].item,B.value=`linear-gradient(90deg,${n.colorStyle.theme} 0%,${n.colorStyle.gradient} 100%)`;let w=N.fillet.type,h=N.fillet.val,E=N.fillet.valList;b.value=w?E[0].val+"px "+E[1].val+"px "+E[3].val+"px "+E[2].val+"px":h+"px"}return(N,w)=>{const h=X("common_wrapper");return s(),ce(h,{config:o.value},{default:P(()=>[m.value?(s(),u("div",{key:0,class:"userInfor acea-row row-between-wrapper",style:U({background:`linear-gradient(90deg,${g.value} 0%,${p.value} 100%)`,borderRadius:b.value})},[l("div",Up,[l("div",Fp,[d.value?(s(),u("img",{key:0,src:d.value},null,8,Ep)):(s(),u("div",Sp,[...w[0]||(w[0]=[l("img",{src:he},null,-1)])]))]),l("div",Lp,[w[2]||(w[2]=l("div",{class:"name acea-row row-middle"},[se("用户名称"),l("img",{src:Vl})],-1)),l("div",Np,[l("div",{class:"progress",style:U({background:_.value?f.value:"#eee"})},[l("div",{class:"bgReds",style:U({background:_.value?`linear-gradient(90deg,${r.value} 0%,${c.value} 100%)`:B.value})},null,4)],4),w[1]||(w[1]=l("div",{class:"percent"},"3000/1000000",-1))])])]),l("div",kp,[a.value.slice(0,3).indexOf(1)!=-1?(s(),u("div",Vp,[...w[3]||(w[3]=[l("div",{class:"num"},"20",-1),l("div",null,"积分",-1)])])):O("",!0),a.value.slice(0,3).indexOf(2)!=-1?(s(),u("div",Op,[...w[4]||(w[4]=[l("div",{class:"num"},"200",-1),l("div",null,"余额",-1)])])):O("",!0),a.value.slice(0,3).indexOf(0)!=-1?(s(),u("div",Dp,[...w[5]||(w[5]=[l("div",{class:"num"},"2",-1),l("div",null,"优惠券",-1)])])):O("",!0),a.value.slice(0,3).indexOf(4)!=-1?(s(),u("div",Hp,[...w[6]||(w[6]=[l("div",{class:"num"},"80",-1),l("div",null,"收藏",-1)])])):O("",!0),a.value.slice(0,3).indexOf(5)!=-1?(s(),u("div",Tp,[...w[7]||(w[7]=[l("div",{class:"num"},"80",-1),l("div",null,"浏览",-1)])])):O("",!0)])],4)):(s(),u("div",{key:1,class:"userInfor",style:U({background:`linear-gradient(90deg,${g.value} 0%,${p.value} 100%)`,borderRadius:b.value})},[l("div",jp,[l("div",Rp,[l("div",Mp,[d.value?(s(),u("img",{key:0,src:d.value},null,8,Kp)):(s(),u("div",Pp,[...w[8]||(w[8]=[l("img",{src:he},null,-1)])]))]),l("div",Gp,[w[10]||(w[10]=l("div",{class:"name acea-row row-middle"},[se("用户名称"),l("img",{src:Vl})],-1)),l("div",zp,[l("div",{class:"progress",style:U({background:_.value?f.value:"#eee"})},[l("div",{class:"bgReds",style:U({background:_.value?`linear-gradient(90deg,${r.value} 0%,${c.value} 100%)`:B.value})},null,4)],4),w[9]||(w[9]=l("div",{class:"percent"},"3000/1000000",-1))])])])]),l("div",Jp,[a.value.indexOf(1)!=-1?(s(),u("div",Yp,[...w[11]||(w[11]=[l("div",null,[se("积分"),l("span",{class:"num"},"20000")],-1)])])):O("",!0),a.value.indexOf(2)!=-1?(s(),u("div",Xp,[...w[12]||(w[12]=[l("div",null,[se("余额"),l("span",{class:"num"},"200")],-1)])])):O("",!0),a.value.indexOf(0)!=-1?(s(),u("div",Wp,[...w[13]||(w[13]=[l("div",null,[se("优惠券"),l("span",{class:"num"},"2")],-1)])])):O("",!0),a.value.indexOf(4)!=-1?(s(),u("div",$p,[...w[14]||(w[14]=[l("div",null,[se("收藏"),l("span",{class:"num"},"80")],-1)])])):O("",!0),a.value.indexOf(5)!=-1?(s(),u("div",Zp,[...w[15]||(w[15]=[l("div",null,[se("浏览"),l("span",{class:"num"},"80")],-1)])])):O("",!0)])],4))]),_:1},8,["config"])}}}),e0=fe(qp,[["__scopeId","data-v-08f36c92"]]),t0=Object.freeze(Object.defineProperty({__proto__:null,default:e0,getDefaultConfig:Ea},Symbol.toStringTag,{value:"Module"})),o0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAANFJREFUSEvVld0JwjAUhb8zgOhmLuACIg7gqyL45BSCewjqFuoI/ryqVwItlGJT0zYEA3kKnC/nJvdcEXkpsj5pAWbWB96SHk2dVjowsymwdgBg6bakVyjIB7gDvYLgARhJOodAfAD7InQDxpK2v0JCAbnuBphIci69qynAiZ6ykh19hDYAp+sefe77AG0B+eV3wFDSteymK4DTnUla/S0gWomewCLWI0f9ptEardOoKIfdPuvcS108FM/TxbW7hZkNsoFTG2pVrtKOzJBaJ3PwATZAbBk70gYtAAAAAElFTkSuQmCC",Sa=t=>({cname:"视频",name:"videos",timestamp:t,isHide:!1,setUp:{tabVal:0},zIndexConfig:{title:"组件上浮",val:0,min:0},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},titleLeft:"内容设置",titleRight:"通用样式",imgConfig:{url:"",type:"code",delType:1,name:"视频封面"},videoConfig:{url:"",type:"code",video:1,delType:1,name:"上传视频"},scaleConfig:{title:"视频比例",tabVal:0,tabList:[{name:"16:9"},{name:"4:3"},{name:"1:1"}]},componentBgConfig:{title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#F5F5F5"},{item:"#F5F5F5"}],color:[{item:"#F5F5F5"},{item:"#F5F5F5"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},bottomBgColor:{title:"底部背景",name:"bgColor",default:[{item:"#F5F5F5"}],color:[{item:"#F5F5F5"}]},topConfig:{title:"上边距",val:0,min:0},bottomConfig:{title:"下边距",val:0,min:0},prConfig:{title:"左右边距",val:0,min:0},mbConfig:{title:"页面上间距",val:0,min:0},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]}}),A0=Object.assign({name:"home_video",cname:"视频",configName:"c_video",icon:"#iconzujian-shipin",type:0,defaultName:"videos"},{__name:"home_video",props:{index:{type:null,default:-1},num:{type:null}},setup(t){const n=t,A=Sa(n.num),e=Be(),o=v(Gt),i=v({}),m=v(0),a=v(""),d=v(0),r=v(null);M(i,(f,g)=>{c(f)},{deep:!0}),M(()=>n.num,(f,g)=>{let p=e.defaultArray[f];c(p)},{deep:!0}),M(()=>e.defaultArray,(f,g)=>{let p=e.defaultArray[n.num];c(p)},{deep:!0}),Ce(()=>{ve(()=>{i.value=e.defaultArray[n.num],c(i.value)})});function c(f){if(!f)return;r.value=f;for(let _ in A)f[_]==null&&(f[_]=A[_]);d.value=f.scaleConfig.tabVal,a.value=f.imgConfig.url;let g=f.fillet.type,p=f.fillet.val,b=f.fillet.valList;m.value=g?b[0].val+"px "+b[1].val+"px "+b[3].val+"px "+b[2].val+"px":p+"px"}return(f,g)=>{const p=X("common_wrapper");return s(),ce(p,{config:r.value},{default:P(()=>[l("div",{class:ue(["pictrue acea-row row-center-wrapper",d.value==1?"on":d.value==2?"on2":""]),style:U("background-image:url("+(a.value?a.value:o.value)+");border-radius:"+m.value)},[...g[0]||(g[0]=[l("div",{class:"image acea-row row-center-wrapper"},[l("img",{src:o0})],-1)])],6)]),_:1},8,["config"])}}}),n0=fe(A0,[["__scopeId","data-v-0f147d3f"]]),l0=Object.freeze(Object.defineProperty({__proto__:null,default:n0,getDefaultConfig:Sa},Symbol.toStringTag,{value:"Module"})),i0={class:"menus"},La=t=>({cname:"选项卡",desc:"选项卡介绍",name:"tabNav",timestamp:t,isHide:!1,setUp:{tabVal:0},titleLeft:"展示设置",titleTab:"选项卡设置",titleRight:"选项卡样式",titleCurrency:"通用样式",styleConfig:{title:"选择风格",tabVal:0,tabList:[{name:"风格一"},{name:"风格二"},{name:"风格三"}]},stickyConfig:{title:"滑动置顶",tabVal:0,tabList:[{name:"启用"},{name:"不启用"}]},tabListConfig:{title:"鼠标拖拽版块可调整选项卡顺序",max:100,list:[{text:{title:"显示文字",val:"首页",max:6,pla:"请输入分类名称"},dataType:{title:"数据类型",tabVal:0,tabList:[{name:"微页面"},{name:"商品分类"}]},microPage:{name:"",id:0},classPage:{name:"",id:0}},{text:{title:"显示文字",val:"标题标题",max:6,pla:"请输入分类名称"},dataType:{title:"数据类型",tabVal:0,tabList:[{name:"微页面"},{name:"商品分类"}]},microPage:{name:"",id:0},classPage:{name:"",id:0}},{text:{title:"显示文字",val:"标题标题",max:6,pla:"请输入分类名称"},dataType:{title:"数据类型",tabVal:0,tabList:[{name:"微页面"},{name:"商品分类"}]},microPage:{name:"",id:0},classPage:{name:"",id:0}},{text:{title:"显示文字",val:"标题标题",max:6,pla:"请输入分类名称"},dataType:{title:"数据类型",tabVal:0,tabList:[{name:"微页面"},{name:"商品分类"}]},microPage:{name:"",id:0},classPage:{name:"",id:0}}]},toneConfig:{title:"色调",tabVal:0,tabList:[{name:"跟随主题风格"},{name:"自定义"}]},decorateColor:{title:"装饰元素",default:[{item:"#E93323"},{item:"#FF7931"}],color:[{item:"#E93323"},{item:"#FF7931"}]},decorateColor2:{title:"装饰元素",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},textColor:{title:"选中文字",default:[{item:"#333333"}],color:[{item:"#333333"}]},textColor2:{title:"选中文字",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},textColor3:{title:"选中文字",default:[{item:"#FFFFFF"}],color:[{item:"#FFFFFF"}]},moduleColor:{title:"组件背景",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},bottomBgColor:{title:"底部背景",default:[{item:"#fff"}],color:[{item:"#fff"}]},paddingConfig:{title:"内边距",isAll:!1,val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},marginConfig:{title:"外边距",isAll:!1,val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},zIndexConfig:{title:"组件上浮",val:0,min:0},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}}}),a0=Object.assign({name:"nav_bar",configName:"c_nav_bar",cname:"选项卡",icon:"#iconzujian-xuanxiangka1",type:0,defaultName:"tabNav"},{__name:"nav_bar",props:{index:{type:null},num:{type:null},colorStyle:{type:null}},setup(t){const n=t,A=La(n.num),e=Be(),o=v(null),i=v({}),m=v([]),a=v(0),d=v(""),r=v(""),c=v(""),f=v(""),g=v(""),p=v(""),b=v(""),_=v(""),B=v(0),y=v(""),Q=v(0),I=v("");M(i,(w,h)=>{N(w)},{deep:!0}),M(()=>n.num,(w,h)=>{let E=e.defaultArray[w];N(E)},{deep:!0}),M(()=>e.defaultArray,(w,h)=>{let E=e.defaultArray[n.num];N(E)},{deep:!0}),Ce(()=>{ve(()=>{i.value=e.defaultArray[n.num],N(i.value)})});function N(w){if(!w)return;o.value=w;for(let x in A)w[x]===void 0&&(w[x]=A[x]);if(!w.paddingConfig){let x={title:"内边距",val:0,min:0,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]};w.topConfig&&(x.valList[0].val=w.topConfig.val),w.prConfig&&(x.valList[1].val=w.prConfig.val,x.valList[3].val=w.prConfig.val),w.bottomConfig&&(x.valList[2].val=w.bottomConfig.val),o.value.paddingConfig=x}if(!w.marginConfig){let x={title:"外边距",val:0,min:0,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]};w.mbConfig&&(x.valList[0].val=w.mbConfig.val),o.value.marginConfig=x}m.value=w.tabListConfig.list,a.value=w.toneConfig.tabVal,d.value=w.decorateColor.color[0].item,r.value=w.decorateColor.color[1].item,c.value=w.decorateColor2.color[0].item,p.value=w.textColor.color[0].item,b.value=w.textColor2.color[0].item,_.value=w.textColor3.color[0].item,f.value=w.moduleColor.color[0].item,g.value=w.moduleColor.color[1].item,I.value=`linear-gradient(90deg,${n.colorStyle.theme} 0%,${n.colorStyle.gradient} 100%)`,y.value=w.bottomBgColor.color[0].item,Q.value=w.styleConfig.tabVal;let h=w.fillet.type,E=w.fillet.val,F=w.fillet.valList;B.value=h?F[0].val+"px "+F[1].val+"px "+F[3].val+"px "+F[2].val+"px":E+"px"}return(w,h)=>{const E=X("common_wrapper");return s(),ce(E,{config:o.value},{default:P(()=>[l("div",{class:"menusCon",style:U({background:`linear-gradient(90deg,${f.value} 0%,${g.value} 100%)`,borderRadius:B.value})},[l("div",i0,[Q.value==0?(s(),u("div",{key:0,class:"item on",style:U({color:a.value?p.value:"#333"})},[h[0]||(h[0]=se(" 首页",-1)),l("span",{style:U({background:a.value?`linear-gradient(90deg,${d.value} 0%,${r.value} 100%)`:I.value})},null,4)],4)):Q.value==1?(s(),u("div",{key:1,class:"item on3",style:U({color:a.value?b.value:t.colorStyle.theme})},[h[1]||(h[1]=se(" 首页",-1)),l("span",{style:U({borderColor:a.value?c.value:t.colorStyle.theme})},null,4)],4)):(s(),u("div",{key:2,class:"item on2",style:U({color:a.value?_.value:"#fff",background:a.value?`linear-gradient(90deg,${d.value} 0%,${r.value} 100%)`:I.value})}," 首页 ",4)),(s(!0),u(q,null,ae(m.value.slice(0,20),(F,x)=>(s(),u("div",{class:"item",key:x},$(F.text.val),1))),128))])],4)]),_:1},8,["config"])}}}),s0=fe(a0,[["__scopeId","data-v-49147994"]]),c0=Object.freeze(Object.defineProperty({__proto__:null,default:s0,getDefaultConfig:La},Symbol.toStringTag,{value:"Module"})),r0={class:"mobile-page"},u0={key:0,class:"advertItem07"},d0=["src"],m0={key:1,class:"advertItem02 acea-row"},g0=["src"],f0={key:2,class:"advertItem02 advertItem03 acea-row"},v0=["src"],p0={key:3,class:"advertItem07 advertItem08"},C0={class:"item acea-row"},_0=["src"],b0=["src"],B0=["src"],h0={key:4,class:"advertItem07 advertItem08"},y0=["src"],w0={class:"item acea-row"},Q0=["src"],x0=["src"],I0={key:5,class:"advertItem04 acea-row"},U0=["src"],F0={class:"item"},E0=["src"],S0=["src"],L0={key:6,class:"advertItem04 acea-row"},N0={class:"item"},k0=["src"],V0=["src"],O0=["src"],D0={key:7,class:"advertItem06 acea-row"},H0=["src"],T0={key:8,class:"advertItem07 advertItem08"},j0={class:"item acea-row"},R0=["src"],M0=["src"],K0={class:"items acea-row"},P0=["src"],G0=["src"],z0=["src"],J0={key:9,class:"advertItem04 acea-row"},Y0=["src"],X0={class:"item"},W0=["src"],$0={class:"pic acea-row"},Z0=["src"],q0=["src"],eC=["src"],tC=["src"],Na=t=>({cname:"图片魔方",name:"pictureCube",timestamp:t,isHide:!1,setUp:{tabVal:0},titleLeft:"展示设置",titleShow:"展示设置",titleContent:"内容设置",titleRight:"图片魔方",titleCurrency:"通用样式",styleConfig:{title:"选择风格",tabVal:0,count:2,type:"pictureCube"},picStyle:{tabVal:0,picList:[],docPicList:[]},menuConfig:{title:"",maxList:1,isCube:1,listStyle:-1,list:[{img:"",info:[{title:"链接",tips:"请输入链接",value:"",max:100}]}]},zIndexConfig:{title:"组件上浮",val:0,min:0},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},componentBgConfig:{title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#fff"}],color:[{item:"#fff"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},imgConfig:{title:"图片间距",val:0,min:0},filletImg:{title:"图片圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},bottomBgColor:{title:"底部背景",default:[{item:"#f5f5f5"}],color:[{item:"#f5f5f5"}]},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]}}),oC=Object.assign({name:"picture_cube",cname:"图片魔方",configName:"c_picture_cube",icon:"#iconzujian-tupianmofang",type:0,defaultName:"pictureCube"},{__name:"picture_cube",props:{index:{type:null},num:{type:null}},setup(t){const n=t,A=Na(n.num),e=Be(),o=v({}),i=v(0),m=v(0),a=v([]),d=v(null),r=v(""),c=v({title:"内边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]}),f=v(0),g=v([]);M(o,b=>{p(b)},{deep:!0}),M(()=>n.num,b=>{let _=e.defaultArray[b];p(_)},{deep:!0}),M(()=>e.defaultArray,()=>{let b=e.defaultArray[n.num];p(b)},{deep:!0}),Ce(()=>{ve(()=>{o.value=e.defaultArray[n.num],p(o.value)})});function p(b){if(!b)return;let _=JSON.parse(JSON.stringify(b));for(let w in A)_[w]==null&&(_[w]=JSON.parse(JSON.stringify(A[w])));d.value=_;let B=!_.paddingConfig,y=!_.marginConfig;B&&(_.paddingConfig={title:"边距设置",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},_.topConfig&&(_.paddingConfig.valList[0].val=_.topConfig.val),_.bottomConfig&&(_.paddingConfig.valList[2].val=_.bottomConfig.val),_.prConfig&&(_.paddingConfig.valList[1].val=_.prConfig.val,_.paddingConfig.valList[3].val=_.prConfig.val)),y&&(_.marginConfig={title:"间距设置",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},_.mbConfig&&(_.marginConfig.valList[0].val=_.mbConfig.val)),c.value=_.paddingConfig,i.value=_.styleConfig.tabVal,r.value=_.bottomBgColor.color[0].item;let Q=_.filletImg.type,I=_.filletImg.val,N=_.filletImg.valList;f.value=Q?N[0].val+"px "+N[1].val+"px "+N[3].val+"px "+N[2].val+"px":I+"px",m.value=_.imgConfig.val,_.styleConfig.tabVal!==11?_.picStyle.picList.length?a.value=_.picStyle.picList:a.value=[{image:"",link:""}]:(_.picStyle.docPicList.map((w,h)=>{_.picStyle.docPicList[h].img=_.picStyle.picList[h].image,_.picStyle.docPicList[h].link=_.picStyle.picList[h].link}),g.value=_.picStyle.docPicList)}return(b,_)=>{const B=X("common_wrapper");return s(),ce(B,{config:d.value},{default:P(()=>[l("div",r0,[l("div",{class:"advert",style:U(i.value===10?"height:100%":"height:"+(379-c.value.valList[1].val-c.value.valList[3].val)+"px")},[i.value===0?(s(),u("div",u0,[(s(!0),u(q,null,ae(a.value,(y,Q)=>(s(),u("div",{class:"item",key:Q,style:U({border:m.value+"px solid "+r.value})},[y.image?(s(),u("img",{key:0,class:"img",src:y.image,style:U({borderRadius:f.value})},null,12,d0)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[0]||(_[0]=[l("img",{src:he},null,-1)])],4))],4))),128))])):O("",!0),i.value===1?(s(),u("div",m0,[(s(!0),u(q,null,ae(a.value,(y,Q)=>(s(),u("div",{class:"item",key:Q,style:U({border:m.value+"px solid "+r.value})},[y.image?(s(),u("img",{key:0,class:"img",src:y.image,style:U({borderRadius:f.value})},null,12,g0)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[1]||(_[1]=[l("img",{src:he},null,-1)])],4))],4))),128))])):O("",!0),i.value===2?(s(),u("div",f0,[(s(!0),u(q,null,ae(a.value,(y,Q)=>(s(),u("div",{class:"item",key:Q,style:U({border:m.value+"px solid "+r.value})},[y.image?(s(),u("img",{key:0,class:"img",src:y.image,style:U({borderRadius:f.value})},null,12,v0)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[2]||(_[2]=[l("img",{src:he},null,-1)])],4))],4))),128))])):O("",!0),i.value===3?(s(),u("div",p0,[l("div",C0,[l("div",{class:"pic",style:U({border:m.value+"px solid "+r.value})},[a.value[0].image?(s(),u("img",{key:0,class:"img",src:a.value[0].image,style:U({borderRadius:f.value})},null,12,_0)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[3]||(_[3]=[l("img",{src:he},null,-1)])],4))],4),l("div",{class:"pic",style:U({border:m.value+"px solid "+r.value})},[a.value[1].image?(s(),u("img",{key:0,class:"img",src:a.value[1].image,style:U({borderRadius:f.value})},null,12,b0)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[4]||(_[4]=[l("img",{src:he},null,-1)])],4))],4)]),l("div",{class:"item",style:U({border:m.value+"px solid "+r.value})},[a.value[2].image?(s(),u("img",{key:0,class:"img",src:a.value[2].image,style:U({borderRadius:f.value})},null,12,B0)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[5]||(_[5]=[l("img",{src:he},null,-1)])],4))],4)])):O("",!0),i.value===4?(s(),u("div",h0,[l("div",{class:"item",style:U({border:m.value+"px solid "+r.value})},[a.value[0].image?(s(),u("img",{key:0,class:"img",src:a.value[0].image,style:U({borderRadius:f.value})},null,12,y0)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[6]||(_[6]=[l("img",{src:he},null,-1)])],4))],4),l("div",w0,[l("div",{class:"pic",style:U({border:m.value+"px solid "+r.value})},[a.value[1].image?(s(),u("img",{key:0,class:"img",src:a.value[1].image,style:U({borderRadius:f.value})},null,12,Q0)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[7]||(_[7]=[l("img",{src:he},null,-1)])],4))],4),l("div",{class:"pic",style:U({border:m.value+"px solid "+r.value})},[a.value[2].image?(s(),u("img",{key:0,class:"img",src:a.value[2].image,style:U({borderRadius:f.value})},null,12,x0)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[8]||(_[8]=[l("img",{src:he},null,-1)])],4))],4)])])):O("",!0),i.value===5?(s(),u("div",I0,[l("div",{class:"item",style:U({border:m.value+"px solid "+r.value})},[a.value[0].image?(s(),u("img",{key:0,class:"img",src:a.value[0].image,style:U({borderRadius:f.value})},null,12,U0)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[9]||(_[9]=[l("img",{src:he},null,-1)])],4))],4),l("div",F0,[l("div",{class:"pic",style:U({border:m.value+"px solid "+r.value})},[a.value[1].image?(s(),u("img",{key:0,class:"img",src:a.value[1].image,style:U({borderRadius:f.value})},null,12,E0)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[10]||(_[10]=[l("img",{src:he},null,-1)])],4))],4),l("div",{class:"pic",style:U({border:m.value+"px solid "+r.value})},[a.value[2].image?(s(),u("img",{key:0,class:"img",src:a.value[2].image,style:U({borderRadius:f.value})},null,12,S0)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[11]||(_[11]=[l("img",{src:he},null,-1)])],4))],4)])])):O("",!0),i.value===6?(s(),u("div",L0,[l("div",N0,[l("div",{class:"pic",style:U({border:m.value+"px solid "+r.value})},[a.value[0].image?(s(),u("img",{key:0,class:"img",src:a.value[0].image,style:U({borderRadius:f.value})},null,12,k0)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[12]||(_[12]=[l("img",{src:he},null,-1)])],4))],4),l("div",{class:"pic",style:U({border:m.value+"px solid "+r.value})},[a.value[1].image?(s(),u("img",{key:0,class:"img",src:a.value[1].image,style:U({borderRadius:f.value})},null,12,V0)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[13]||(_[13]=[l("img",{src:he},null,-1)])],4))],4)]),l("div",{class:"item",style:U({border:m.value+"px solid "+r.value})},[a.value[2].image?(s(),u("img",{key:0,class:"img",src:a.value[2].image,style:U({borderRadius:f.value})},null,12,O0)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[14]||(_[14]=[l("img",{src:he},null,-1)])],4))],4)])):O("",!0),i.value===7?(s(),u("div",D0,[(s(!0),u(q,null,ae(a.value,(y,Q)=>(s(),u("div",{class:"item",key:Q,style:U({border:m.value+"px solid "+r.value})},[y.image?(s(),u("img",{key:0,class:"img",src:y.image,style:U({borderRadius:f.value})},null,12,H0)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[15]||(_[15]=[l("img",{src:he},null,-1)])],4))],4))),128))])):O("",!0),i.value===8?(s(),u("div",T0,[l("div",j0,[l("div",{class:"pic",style:U({border:m.value+"px solid "+r.value})},[a.value[0].image?(s(),u("img",{key:0,class:"img",src:a.value[0].image,style:U({borderRadius:f.value})},null,12,R0)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[16]||(_[16]=[l("img",{src:he},null,-1)])],4))],4),l("div",{class:"pic",style:U({border:m.value+"px solid "+r.value})},[a.value[1].image?(s(),u("img",{key:0,class:"img",src:a.value[1].image,style:U({borderRadius:f.value})},null,12,M0)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[17]||(_[17]=[l("img",{src:he},null,-1)])],4))],4)]),l("div",K0,[l("div",{class:"pic",style:U({border:m.value+"px solid "+r.value})},[a.value[2].image?(s(),u("img",{key:0,class:"img",src:a.value[2].image,style:U({borderRadius:f.value})},null,12,P0)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[18]||(_[18]=[l("img",{src:he},null,-1)])],4))],4),l("div",{class:"pic",style:U({border:m.value+"px solid "+r.value})},[a.value[3].image?(s(),u("img",{key:0,class:"img",src:a.value[3].image,style:U({borderRadius:f.value})},null,12,G0)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[19]||(_[19]=[l("img",{src:he},null,-1)])],4))],4),l("div",{class:"pic",style:U({border:m.value+"px solid "+r.value})},[a.value[4].image?(s(),u("img",{key:0,class:"img",src:a.value[4].image,style:U({borderRadius:f.value})},null,12,z0)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[20]||(_[20]=[l("img",{src:he},null,-1)])],4))],4)])])):O("",!0),i.value===9?(s(),u("div",J0,[l("div",{class:"item",style:U({border:m.value+"px solid "+r.value})},[a.value[0].image?(s(),u("img",{key:0,class:"img",src:a.value[0].image,style:U({borderRadius:f.value})},null,12,Y0)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[21]||(_[21]=[l("img",{src:he},null,-1)])],4))],4),l("div",X0,[l("div",{class:"pic",style:U({border:m.value+"px solid "+r.value})},[a.value[1].image?(s(),u("img",{key:0,class:"img",src:a.value[1].image,style:U({borderRadius:f.value})},null,12,W0)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[22]||(_[22]=[l("img",{src:he},null,-1)])],4))],4),l("div",$0,[l("div",{class:"picItem",style:U({border:m.value+"px solid "+r.value})},[a.value[2].image?(s(),u("img",{key:0,class:"img",src:a.value[2].image,style:U({borderRadius:f.value})},null,12,Z0)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[23]||(_[23]=[l("img",{src:he},null,-1)])],4))],4),l("div",{class:"picItem",style:U({border:m.value+"px solid "+r.value})},[a.value[3].image?(s(),u("img",{key:0,class:"img",src:a.value[3].image,style:U({borderRadius:f.value})},null,12,q0)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[24]||(_[24]=[l("img",{src:he},null,-1)])],4))],4)])])])):O("",!0),i.value===10?(s(!0),u(q,{key:10},ae(a.value,(y,Q)=>(s(),u("div",{class:"advertItem01 acea-row",key:Q,style:U({border:m.value+"px solid "+r.value})},[y.image?(s(),u("img",{key:0,class:"img",src:y.image,style:U({borderRadius:f.value})},null,12,eC)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[25]||(_[25]=[l("img",{src:he},null,-1)])],4))],4))),128)):O("",!0),i.value===11?(s(!0),u(q,{key:11},ae(g.value,(y,Q)=>(s(),u("div",{class:"advertItem11 acea-row",key:Q,style:U({border:m.value+"px solid "+r.value,width:y.doc.w/375*100+"%",height:y.doc.h/375*100+"%",left:y.doc.startX/375*100+"%",top:y.doc.startY/375*100+"%"})},[y.img?(s(),u("img",{key:0,class:"img",src:y.img,style:U({borderRadius:f.value})},null,12,tC)):(s(),u("div",{key:1,class:"empty-box",style:U({borderRadius:f.value})},[..._[26]||(_[26]=[l("img",{src:he},null,-1)])],4))],4))),128)):O("",!0)],4)])]),_:1},8,["config"])}}}),AC=fe(oC,[["__scopeId","data-v-903f3434"]]),nC=Object.freeze(Object.defineProperty({__proto__:null,default:AC,getDefaultConfig:Na},Symbol.toStringTag,{value:"Module"})),Uo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB8AAAAfCAYAAAAfrhY5AAAAAXNSR0IArs4c6QAAB5tJREFUWEetV39sVeUZft7vO/cXt7eXVlporVrSOjaBYQrzF9kmi2JkbJIQcAMigcWETYfwjwv4T8mCRhJdAm7sj82om9sSdUtY2FwdiVNgStFZsWRYRWcFSltLb++5v8453/du3/nuvb2FuuHiSU7ubXrued7n/fG8z0f47Bd1A9QP0AhATQDPB7j7PzfsfdkXXc6TDNC+zs7o2p/efH1yVt2SaELeAObZRIgRc1FrNVzM+cfyI9neh7c/17f3PXh0GYH8L3AaePLOWc2L2tfPqI9tdhxaCGaAtSVZ+R5+WuJ+yT9RyhZ/MfDG4G+7tr46+t+y8angawD588P3rk7PSe6WkjptQiuA5QBMENVAzPfJgLSvB8bPZ3duueP3f3gOUNNleFrww48uTXXdsWhXvD72QwI7Ftg8Wn48BFEAB4A2n+auAQ+D1IBmvzDh7X3pj3277tpzKntxAJeAG+DFKxY9EU9G77GpNI9IgCLhzUoC+WFATwC+C+gCWAuIRBPgmEpfGkTR9Z7qOdC/9eIApoDfCjh/emvLnkQqur3at+QAFAd7EuyWgJIDzkVB+SzYHQHyF8AqC9RlQDMdiCtaQMnklBIYEoUJ77GNyw78qLYEVXDT0WOHN69pmJN81qbasDaMY9BjeXChERSbC0rMAFQRcM8BE4OAOwL2coDngz0Njk2AWuOQzS0AahuT/bEzuXWNq3peqExCFbxv//Lm+cs6jkpJHbZxTIUk1NmzwEQbxKxOUHoOIBxwaRyY+NiC50eBoABoU2OEAWi/BGorQbZeWZMBhg7UQN/fzi7t2vmPkUoXGRzKvb5pW7Ih/rhlbN5CUIOD4DMRiIY2UEMrKJ4GswIXLgDueXBhFPBckA5AYBCEVRqPoUtF0FUM2dxYfp+dBHes9EDdNw/tM+xD5t23tscf2re814lgQWWceCILdeIjkGyASKWBeD1YRgHtQ5ey4GIWomMZePAYkD0HIQgQAkQC0AQuaWjOQXamQAmn2ojaV2//+Ad//Ur3yVCIgKEDd980+wv1f68VDXXqPeCsgEg6QDQCNukmAgcBdOCDrlwMOW85uDAO9cpPIKQACQmqBKAIOh8ATXnI1vQUURo6nbmxZePxY+HwZo+sv7+uIba3KhK+gt/7Twgdh4gJMLFNp2ZopaGjKURu/h7gxMNBVKdfhT59xAYgJYQJwpTAYyjOIXJtEpCTAuRe8O5LrTq63ywJsaP3nqejCbHBplxDj1yAOvEJZEICjv2RlhFg9nVAug2Uagbihk3NZbo+NwrKjQJD74QBcEDQOQ9ibgBRF6my9/LqmUdWHNlEZrb/cnz9wWhMLK8wV8Oj4HeyEHUURszasK2DXLwWkLGq0lahyzNDpizDA+D3X4EQDqAI7CrgmhJkvam7JeeV1Isb7nxtZQje0/vdQ5Go+JrtcoY6NwY+lYVMElhosMmGYnDj1ZDX3R5ihkNRvqgysLkLUP09ENA29SygXQ20FSDrRc3yCV5evqL3dsv89bsPRmNUZq6hhsZDcJE0HawsuNZQCqCWL8LpWFIGt6gGnAMPfl8PZFCEdEzjSZAWUK4GtRYg0+ZZS84rBC9u+PabK23Nj6y2NS9vJTXqQp/MQMxgCIfD2daaoQz7ma2IfOmWCucp7EuvHYDjSIhy07HpeFeB2oqQqcmGKxbUM4+uemuT7fZD37q/Lh3dW4kMnoJ3/DykQ6CokUjL3ASA5nbIaxaEoGpsGCJZD4onwq4P3n0DIp8JwQkS7AGq5CPSWQLEpNS64959qe/077dz/rvbbprdUVeec6twwclxIONBxLncdJY9tcwFEikEHw2AvVK49WRTK5zWduizp0FuxgoNS3CewYkinDZvyqIZ+lfxxpbvvxvOObrbEX/o1yt7HQcLKvKqMz6C/gnT3KCIBpM1DkbCba+V97sBIrLiYupMwrL2zbZVkFcXIBJBFTwI9Nu7d/RPKlyo7X++bVtyZvTx2n0cfJgHD5UgEgCZ2le2lFHyMGwCQnArq0ZYYMQlIHCBgXQRzuxStcvNu92M/0Dd+oFJbTev6ev+cvP8b8w5KgV3VO2SZvinCkAmgEgwzGo3768YG6oBD/9hNN2YmyKAhIfIVYUpfs9Yq77ezNKuR4Ymt1o4t2afP790TWNz/FmE+3zSkQQfeuARVTEzgDRpLs+YCYAF2AD7APsMkS5BzjH9UONqNPtjI966xns/uHSfmwBCJ3Pwq3sSSbF9crWW5XVCQZ3RYJdBUlifEQ442QlVDJqhIJs8iORkjSskCvngsY3rPpjeyVQG9vCD81KLv974RDwhrIebYpMZHGjoMQC+kV0TAIf6L9IBSE51sJXyFXPBUz2H3K13PTk6xURO714fnJfquiW9K56ksnutWOXyoaTWJF4UXLVcppDGvbrB3pdezu26GLjqZKauJ/tX6Nt/tWj1zCvkbiHReckBYTrQmoOEDnhg/BNv55YtZz6bb68JhgZ2dM5qXhhbPyMpNjsOFn76acWmPPD0iXxe//L9N73fdO0b+v9OLLXZsGc1RNduu/b65ExaEo3gBpA5q7E9qwV6uFjQx/IZ1fvwzz7+3M5q01Xkczul/hsiN4xWI2eydgAAAABJRU5ErkJggg==",lC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALAAAAAgCAYAAACy0fIdAAAAAXNSR0IArs4c6QAAC+9JREFUeF7tnH/o79ccx1+voigrQraysrJYWVkR4paVG2uW3bJYiBticWO1mxXihlgskyuTyZWJZbKbLbdMrkyUycotk8mVK7eQlRVq9fJ+vJ33p9fn9Xmd9/u8P5/P997vvTn1/ef7Oef9Pud1nuf14/l6nbdKpZnZk0TkWSLy7ORPVPW62tid/H+Z169EhPkN7ZSq7vHvrfQ7qapXbmN+ZvY7EXmue9a/ReSZqvrY1PPN7Ksi8rbQb4+qPjA1Nqzxo6H/46r68TnP2Im+ZvYaEflAePYtqnpsBG/I4znu90dV9bap+amZAdCflI5PEZFnTA3qhA8QLjGzC0Xk1Q39q12653xtzngzY6EAwLfPqer743PM7PsigjB9e5mq/nzOO7O+ZvYhEflY+G2/qh4Ze3Y5WH8VEWQ9tF6ec+ZUZP+XMOZhVb1sBCQ/EpFXznmP63uHqr6zZWxlj0ZlY2Zxbk0yAcCg/g8tE4sCNzOEwYvXbqqqcwYnC2X4XlW9PwHwO0Tky+H/zRsxAcRMbver6t6JcW8Wka+HPp9QVQ5EcytajgPq272qes0OAXjycA7v/T+AKztgZs8Xkd+En/8mIhd1AHg8ATAWImopTPzFncZ+tBUt5b3RJDL89UGT8r9RDSwiLxUR1uEbpvV0+N8DqvqVETC+V0Q+H36/TVVv3CEAX6KqJ1tktlsBzIY/LCKPiMgv8U/OtAY2sx+IyKuCEFP3wWmD74rItWHMYVU90LIZ9NnGOlvf5fodUdX9fpyZ4d59uvzvhSLCn28PdWvlL7Z7VPVoxXq1TO0RVb0067ihbC5X1RNFxmu7EPhiaBLfnpCY3kOdtV8KGjacfP++VheicqoJnNAMUXst1mJmbDJBX2xXqurxlt3bxjpb3hP6ZABex93jsf3eFRn6QCmb1kuSuKHq4mwgGyzMIvBe2weunKpMUK0AHgtGfMDYDOASaP5aRJ4a5rsyp8p6Mi2MOUQDtLAGG/v6ZxnAc/zXLNC7QlUzzb6JdbpOVe8e5LJrADymUbOAcUoDF//ze4GyYt34vpe2+LLlGZF64xnQVgiyqsGLecsAjDs1Om4maCM7sE0N3ARgM3uBiKAofDuhqpfX1rKmBj5VLOciblkbwGZGcBKpJjhWgg3f0FjeiSdY+WNkIbYJ4AI8NALBmG8s/KqMeRgRdMZI0B0g4k6MuSEZgJtA0QpiM7MGF2KwYOxPlAmgGABBP9zAoTXN1cwICgkOfbtBVW8fkSvziPjx3d+VYOnDka/eBMAZqd4i90Mdp4gPuUSjbQPAZobwWTikfHQbmNuKAFom3FkADt1bk75s/k0dh3pX9pyKlmkCRcu86NMC4OFZZkbM8u3w7AsGd8jMYF48wCfnWnhlGB4vbwJ3GB5ijdmtKCA0uj9MPJO4ZYkFOm8AbGawDJ8VEcxZ1r7TRa4x6GwSbkkiwBe/vDIAl+JA9Pd2IYCxmp9yayATebEDeNTmWKtqFqwcIPhyrJRvTTHGiHbOWKMbswzb+QTgKHwvny9h4jLOtwnB/9N0sC7fEpGrK2NWMkC7EMAkQkiIDG2RQDEzNOg/wtpGGRczw138WRiDS3VZS4xRsVqZlcDSEbesaPRNAAxHGvlE5vS+YE5wF37sJjtQUFt1IRJTOrxyLbehIlxMGn7d25PfzwUAAzYfo9yuqjcUTZoFYgRh/xw55LABLwq/o+Ez3/c/DUEvfDXuSCxLqLoyawN4RP2TXvacYRONtqkPnACYwIQT+2Crlp3R7xXBP2PouQBgNKz3VQ+q6mcKgF8rIrA2vu0TEajEbbTjUwVRZoZ/Ht089hCNnmbzNgJwYSLeXVbXV2yZ2dkGMMAllYrvti3hZxt4Szmob3DrX+KyKy7ETZ2fvuAxt4CMuLErNFoBKFqNYqAlgKrqPeV3ipqIIYYGz019xEY1K+55owA2szeKyDcr8iBwIxn2hegGbgpgz0T0E0wAjIBxwHtBFWFl9NJYpgd6Z6lkMGrs7jD9qzupsAHk9R9ak2ecg6ferJWM3UdKcsOXSW5C1s+ZR+xbAzBWY6geHMb4lGwMxrBcB88EgM0MucG3+0q7TAYkRaDnFlWBZwLAw0SI4gHyiW2AKwHwhd7H2sY7JlC05JdBJ0Uf7wzMIZtiDcAZn/3EQaOZGQDyMQ1+LAphRzVwYXjwzbN4qrYF16jqvUUZrlcLUQb7VGtNA/tJYN6py/3zpoJpzMRllWBUdMVkC8IgQ1draAg0mG/7vFXJBu4yAFPMg/sytEWhTWFYYrBG0RKuzliygWDWywUZorWzdjqj5CpJkCkLtFAem2pgj/4WADOxNJExNeP4+xSAa88zs0glESQ8bYx0N7NMe00W9ewyAMe6DqoDuc1x2sxglGK8MFnAn9wQaSomH/amUmgVtw7/NyaldgTAlN7tS3zgOKGzBuCiacg2eV9rtJi7WBoCCPxc31oAjOBrphHNFW9mEHzemRw+giv/HLjW60c0HWnupWZm0FOxnhiNCY3G7RifjAA0XHNaqZX2D90EwIVDxif32bZsSRT6Q9V90O3bLAAXsmFp7f1tiCCU3vdKAHyHiDxZRN5UZgeA8a/GTNOkQp66gpM9wMxipE23lnRpBuBJDTW2iEqNcnq/bV0zGcAWKTT/M0D1QLpTVd8ytQnrArgoErJtsS4ju5rWK4pSWXi4C/Ze5/esRTZJn9MDgD1l1hd712i0cuIo+rgv1gdPCWobv5ei7kiSo8nIr4/m7M0s+o9MqfmmQaINs1rjsRsiawUqAcCwPLBGLXfbrldVso6jbV0A1x5acSmWLF25EsUl1P4qWCOA40XakwOA4RWHrMlQ/DzKA1Ma2XrFZEqAc343s6y2tylnX7kNvBaAi/b5RWLOq3Np2aRWWRQr9MlwOzsOx30YC2r7/mcDwIkymDzcZvanckN+GH6cS50xd96Xz7UkMsriiex9Xp5/Y7oILhataO7obsD1zrmbhg8Zbx+TXyfD01KYnlXezQZwqZbjQmW83jR6326bAC6yxx9kTZGNGeSOD40WTovRh07nEIBjncwxAIxjjSYZWk8rzQBwrIziOSsnv1IwMklhlY3Cr/tiUi3Fz03PKM9Z0d5zWZDiw8GAZCacSjb8u7RtG8BONpjWWgJpklE4FwBcoQiPAOCY+uuDmhkAjqr/QVV9cWIiACGuiqdSFkUoI5sOUABvjLwZcmuneT0nOmqBs0uNcwDcfcyEABaAZjXKP+w+TBI18tJ8dgjAWLV4vd6/93wBcHbN7TAAjhqUK+enWgBcTgWg9F/J4QssN2dISoo80tuuJasDJYS7UAtWjlIwMkURBTdm5b7XFICLi0URPDcVllLM7tk/hY2ZcmMSAOOfTh3A39e+2OO+PpQd7mF65yqAcQ19coUquz5r59ohAOxz54+p6gXFNLUU82Snv8qrmhkFQ2hT31Z8UDMjmzSWT/8GmcAx8JpZ5Fx5J6yB155klS4aU9vJJ6Rid0pMr23x5de81p6mlMsewanGT0lRX8C3ISioQWstAdjM+H/0mQngN/pSUFAU2deTpmqS1/lq0AEA7Ac+1H0/4IoZAI60FEEM/m9KZ5ViD/w131buXI3UBPNcrnhPfv+rESwt2ikeZD/3W7tSz5tbrUDjnOIBqdVEoHWzi6o9B12sIzW9V/vPVjXOYVIuE4f+TAF4PwD21MTdw0f7Gl0I7jv5qz/HVPWqicVFQCzeOYyrABi+kCBpJTtVcVdaTvTkRlUyklR4MZdZ31hrBM8kgAsLQvYratK7OvkQ0ywaVXaehWicw6RcdgmA9wJg72Nyt6qnv6YAXPm43KKwurZAM8OFGGqP6baS7nQAJrOE30OwNvfLjS0AXlickfn6AwdwqR8m3T6ant3gULUAmBgDDtg3rB90Ir5jtZ1nAN5T/bBeZ4Ko8H+6k8TRUAsM/faeICnM+xL/GyVpZjjm8SoP14UWgi9+2n0Us7cQ8RWwsMnPG9vMjiP9rar6y5Er3bv5ovkBLqCdpXGTtZNy9QHvxPT6n4lLFsmI4hrg38faA1iQrP5i6R1m1iKXv89hdxr3mOC+aj0b5xVfdfC/BNQUUHOlDu4AAAAASUVORK5CYII=",iC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALAAAAAgCAYAAACy0fIdAAAAAXNSR0IArs4c6QAADdNJREFUeF7tXA2IXUcVnjNvA0nIK80fNpDCBgya0ITdmbekooEUWtpSgymk2NKKCSo1mGADCRZqsUWLDVpaacWILUZS0WDFlLa00BZXjNiwd26WWGKkka640kDzMDQLL7K597jnOfcxd+7MvfN+Nt0WBwLZd+fn3DPfnDm/F5inDQ8PL16+fPknarXa2jRN1wJA+x8irqUhSqm7fGPn83eia+XKlacQcXG2DgBMK6W2mut6+k0ppW4aBH1SyncYY5805rrcarVWnzlzZqZqfinlzxlju6x+W5VSJ6rGms+FEI+YfwPAFaXU97qZYz76CiFuA4BvmXMj4qE4jl/zrSeEIH4MG88vxnH8VBV9sGXLlrWzs7N/pI4AsIwxtqpqECJOxXG8bmxs7Lo0TW+t6l/2XCn1i27G04sCAAHAbD9SSj1gz9NoNF5FxNssRn4mjuO3ulnT1VdK+W3G2HetuXfHcXykbG46WCtWrHhf8zrrSgdrXTc0ad6/Z405q5Ta4JtHSvl7xti2btYx+j6rlPpayFjXHiFiKW9s2jKMVa0HIyMjw7Va7d2qjtZGtQHcaDS2ISIxpeemlIJuBrs2IU3TW06dOvWGPY+U8quMsZ9ZvwdvRBldLr4h4htxHN9SNk4IcR8AHLX4+Vgcx3QggpuWcq9aA15WSm2fDwBXAdBc8/8A9uyAlPLTjLG/Wo8v1Ov1NePj41fsYS4phYgzaZpePzk5eTEULXrd3JVIYxFxpyVJ6edSCcwYu5ExRu/RaQDwGiKet347EUXRcz4ahRB7AeBpa8xTURTtnw8AJ0mybnJyciqEZwsVwLThZwHgXJqmivSTqy2BhRCvA8DNFhOd6kPWR0r5O8bYDkviPRPH8b6QzaA+g3jP0LWMfkeUUrvNcVJKUu9+oH8bYYzRP7NNzr0r/cs1ADgeRdGLfagQ55RS613v0A9vAGBTFEVv07w9qxAbN25ctnjx4p3WSR6yr15EfDSO45zR0A/x2XqhKoRH973MOV83MTGRk17mu4yMjIzUarVTjk29KYqi8RBgDeI9Q9ax+hQA3Iu6R3Nme+cwlApkcc63OOwGr4rTB29OmIZ3zwB2Mdaj3wUBmK4a32aRR4Mx1jYYuwHw5s2b1y5atOgvjLFrzbGuQ+Va2yWF57wAU61Wa1OI16CPTeoBt50hgwRwpXGZreqS0pzz0YmJiYJkpzG98gYA7oqi6AXfusFG3KABXCZRXQejSgJr/fMly2VFZF9IkmR9iC6r5yAp3HG96fc+wTm/q0yCl2zSWcaYV/L3gFzbO3DVAdxoNG5ARBIUZntbKbXJ9z49Ani6Xq+vM+2WniWwlJKMk5yrSW80GRudRicCAEwl/ggA/MP2QgwSwBp45OW4zmLgFc757RMTEwXPg4/RHo8EdT/LOb+pDMSuTerGKg8Bs5QSrX4FAGcuTwCgg2jzZBoR24Ys+esZY6QGtlsorUKIpwFgr0XHHqXUYd87kKGcJImNn053ALhfG67mFA/b/up+AOxyqlfynK5vzvn4fAB427ZtQx988MH9AEBO+ZzaoAkrMKCS4P8ZCuQh+LKjL23+gTiOj7nmWSgAzmhrNBo7EfE3Jq2tVqueqUNSSvIPdwAeAmDtsSEPj8nvi81mc83U1NTlEP7afbQAIoneOUyMsYvao5HzAn1sADw6Onoz5/xJxtgNLqYh4m/jOM4ZnaHM1dE5ktqf9Yw5kSTJvsnJyZy+t9AArG/Nx413oEjk9dnftjRHxNvLomA0TkpJ/nLym3daqI3h47/La4SI+10Rto8NgB1XqcnQn15zzTV7XT7fUBCT12XJkiW/Zozd4Tkg7SCN+WyhAbjRaBxFxPsyGs0AysjIyLW1Wu3fJv0AUOpxEULcCAB/tvhxPkmSDSE2hufWKtwScwdkutlsrndJ9H4AvAMRbX8i6VHftK4TUhf+kBFL6gP9f9AqRAmAe1IbXMwlFeXSpUuk133Ffu6yfhcagKWUBDbTRjmslNpD7+IyxMjfmiTJJd8hr9VqLyBiw3r+eJqmBd13aGjoP1VGr/ZXkzqSS0soU2V6BnCJ+H8XADrJFaF+4H6NOAeAryDiZQCIQqVsF/0+Z+lndCAXvASWUpKENXXVg0qpH9J7CyE+DwDktTHbnYwxCugMoo1XJURJKUk/t9W8y1qiO6N5fQGYdKq5UObX6e3I00AECiE+bAATcJ+jMOsAme/awEOIOAwAX9Q3ShCAGWMH0jTt+DH7RQbn3N7YgheC1tDS7X0boEqp4xrADwAA2RBZmwGA7f3mrBjzlQJ4dHT0bs75rzz8IMPtkXq9/mNbDewXwKYnok2gA8DkRtufMUpfV4VknjRNzZS43HtQIAMRcymDtsSeO0wtxtixJEmeImOqRz9jMJ6ya01H7L7DGNuklDLTJHt21gcT4e7oAzDdGrlgkBWSzRlj+uY6eDUALIQgvp1y5IfYbziJiHvMrMB5B3BGARkMnPP9FMMeBLhsAJM7x9SxBrFGGZBsvcxe33dQ+wRnyHAfgAsZdvV6fVEm0aSUFLAxbZrDAHBsvgGsPTykmxfsKd/LIuL2OI5f1jdLLtWzq0icFWp1SmCLCLred3HO/9UvYwIjcYVMMJ3RlQu2zNkwxIwLJeggCUESzGx3mreKa+x8HyIPvT4AUzLPAWNMJ9FGe1hyxhoi7iMjrSLYQMasyZcLiHjQQ9d5l0vOEwQpPaim8OhXApvoDwFwO0HEFcgIES1mnyoA++YTQhydy4zruJIYY5ebzebyMqe7KxpX5WJagBLYzq47xznfSreWlJKy7nLGGiJWJvDbFSKh0i/bG0+ilb11pP/auSydHI1BAvi4UupOWwe2qfkwAawz6N6zdK3SZG6in0pwAID03E4LATD5VoeGhpxX45xKRZIrV5nBGCPj83kHz8i4Muc5DwD3uA4p5QcrpSjfIteklOSeyuUT060DAHsQkapjzGDExTmDaXWV37wfAGsfMunkZrSt8Eqc81vSNCVX3UOMMar8yYW4QwCsAzj5XGqtf5hMaV9dDgA/yxhbwhi7Vy/+aK1WO1x2NYVI46oSHNccQgjb0g6K97sAHCKhyt7Dk6PsrG8L2aQqnjlcaOYQyoUwcyCej+P4SwFz5tIJQiWwVlleR8RcXoarNC0TFDqz8Jk5Y+8L3aoQjky58+1yHhOsiNhO9va50ejEcc6fTtP0FTs/uIpRg3jucZKfbzab66pi9lJKW39k3VQa2PR7co29FSKDALDO6CPAVda2kXSPooiijqWtHwnsETCFukX7pqOSKEo+ykrBQnhjF9K2E8y0BCa/YjtqYiQ/l/qBiZGhJSZVDOzmuafCopCr7JrTVQ3cK4C19Jmwr/Oy/IGQTQrlhb6Fvu9IETWnWK2UKjNq230/DAA7VKNKL4SU8p+MsXZVvG7jVNRpx87b6XMhgQwtvcmyN40p+pmurnMmkSS57bTNNE3J1xtcm9ZoNJ5ERLv6eLrVam0ISUwfFIB1ttyrjvKmmSRJvPV2gwSwBh7pgySNbW9MxvqzSZLcYycnOcDTkwrhO2wuo67K1gjhjR2lpSAXjI6ONjjnJEmy1nYrhQLYkRlF8xROvidhpNKFRZPp3IWf2NlSmuCgOfSGF+rjuvWCaB2OqooLVzgA7IuiiPQ7ZwvZpFAJnPXTh+kdM+xvzhGiz34UJLDLRUgFtATgXOgvM2q6ALAt+qM4jsfsjdAgJFXFdKV0klB8G6d9sARe2/KmIU8opUyfaOn+u8plugGwEOJeACCAFnKUAeDNKIrsgtMcPfMBYE95fWfdjwuAPWVuz4AtQYeGhq4/efLkdAiA9akgUJqlOoeUUg+6kORI8nBWu1JUZ9WqVbdqdcFnrLxYr9d3VrmITDp6AbBWsSgJnioVciFmY+4/tVqt26rUGMf6pJ9WHcC/+77Yk319yHO42+R9VAFMqZdpmnaCK5xzyg9vR+2yRvYGAdiMnc8operUIQTArtNfputIKSlhiKRpp7mMKCHEpYp4+i/r9fquMvBqfdn23dLfpvQkX+uaMrHt+IRUrjulmKZpuiNEl++xrN0ZkSMiGo3GQ4hof0rqLUoaBwBKqBm2ASyEoN9tnXmVye8Q0JfxbBA6cIgqRVFGArCpAkwqpUZDAexwS800m83VPncWJXsAAH1TzGyFmquSnGAqbXks5PtfIWAJ2aiKgM4T9Xr9wdBbIIQmx8b5QsqkUrkKVds+aLodly5dSjm9d5gJ+iE0hPBlgQB4NwHYdE28kH20L0QCSymp3qlT+kNWYRRFt1dINPqMlZmx1lkzG+cCMCURkZHkik551JXK74CFbJQLwJThlabpvm6/sRYCnhAAa3uCol924e2xOI7vNucYGxsbMUviQ2gI4ctCADBF94CMpIyYNE2nM/dXFYA9H5frJFb7XlBKSSpEO/dYt0K40wAwRZZI7yFjrasvN4ZsFH3FJrtxfPSafNCpiYeWLVt2PFTqmvMG0mST4vpCD9kY5AM228zs7OyG06dPT1cIkIEc7IUAYMbYVu+H9aSUlOG/0iD0RTNrS7vfvmG+CCLSF1xy/l/7RaWUpJjnSnlmZ2cfNhmv9bRXSKKHOOI9Epg2+VNljGaM/U0pZRZHFroLIUjyR3NlV8e7lbj2ZHToZ2dn7W9TlJJYq9XILukEI7ThTDkVudwDRHwzjuNC/oWD/yF8aXbj3QnZ47k0BDLuC7kdxq0bQpe91MH/An8hPWNXqqwIAAAAAElFTkSuQmCC",aC=["src"],sC={class:"list"},cC={class:"money acea-row row-middle"},rC={class:"money acea-row row-middle"},ka=t=>({cname:"积分商城",name:"pointsMall",timestamp:t,isHide:!1,setUp:{tabVal:0},titleLeft:"头部设置",titleGoodsList:"商品列表",titleGoods:"商品设置",titleRight:"头部样式",titleGoodsStyle:"商品样式",titleCurrency:"通用样式",styleConfig:{title:"选择风格",tabVal:1,tabList:[{name:"背景色"},{name:"背景图片"}]},titleConfig:{title:"标题类型",tabVal:0,tabList:[{name:"图片"},{name:"文字"}]},imgBgConfig:{info:"建议:710px * 96px",url:co.apiBaseURL.replace(/adminapi/,"")+"statics/images/pointsBg.png",type:"code",delType:1,name:"背景图片"},imgConfig:{info:"建议:154px * 32px",url:lC,type:"code",delType:1,name:"标题图片"},imgConfig2:{info:"建议:154px * 32px",url:iC,type:"code",delType:1,name:"标题图片"},titleTxtConfig:{title:"标题文字",value:"积分兑好礼",place:"请输入标题文字",max:10},rightBntConfig:{title:"右侧按钮",value:"更多",place:"请输入右侧按钮",max:6},numberConfig:{title:"商品数量",val:3,min:1},goodStyleConfig:{title:"选择风格",tabVal:0,tabList:[{name:"样式1"},{name:"样式2"},{name:"样式3"}]},headerBgColor:{title:"背景颜色",name:"headerBgColor",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},titleText:{title:"标题文字",tabVal:0,tabList:[{name:"加粗",style:"bold"},{name:"正常",style:"normal"},{name:"倾斜",style:"italic"}]},titleColor:{title:"标题颜色",name:"titleColor",default:[{item:"#333333"}],color:[{item:"#333333"}]},titleNumber:{title:"标题字号",val:16,min:0},headerBntColor:{title:"按钮颜色",name:"headerBntColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},headerBntColor2:{title:"按钮颜色",name:"headerBntColor2",default:[{item:"#999"}],color:[{item:"#999"}]},bntNumber:{title:"按钮字号",val:12,min:0},filletImg:{title:"商品圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:5,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},goodsNameColor:{title:"商品名称",name:"goodsNameColor",default:[{item:"#282828"}],color:[{item:"#282828"}]},goodsNameColor2:{title:"商品名称",name:"goodsNameColor2",default:[{item:"#fff"}],color:[{item:"#fff"}]},goodsUnitPriceColor2:{title:"价格单位",name:"goodsUnitPriceColor2",default:[{item:"#282828"}],color:[{item:"#282828"}]},goodsUnitPriceColor:{title:"价格单位",name:"goodsUnitPriceColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},toneConfig:{title:"色调",tabVal:0,tabList:[{name:"跟随主题风格"},{name:"自定义"}]},goodsPriceColor:{title:"商品价格",name:"goodsPriceColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},goodsPriceColor2:{title:"商品价格",name:"goodsPriceColor2",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},priceBgColor:{title:"价格背景",name:"priceBgColor",default:[{item:"#FF7931"},{item:"#E93323"}],color:[{item:"#FF7931"},{item:"#E93323"}]},moduleColor:{title:"组件背景",name:"moduleColor",default:[{item:"#FF7931"},{item:"#E93323"}],color:[{item:"#FF7931"},{item:"#E93323"}]},moduleColor2:{title:"组件背景",name:"moduleColor",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},bottomBgColor:{title:"底部背景",name:"bgColor",default:[{item:"#f5f5f5"}],color:[{item:"#f5f5f5"}]},componentBgConfig:{title:"组件背景",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#f5f5f5"},{item:"#f5f5f5"}],color:[{item:"#f5f5f5"},{item:"#f5f5f5"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},paddingConfig:{title:"内边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},marginConfig:{title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},topConfig:{title:"上边距",val:0,min:0},bottomConfig:{title:"下边距",val:0,min:0},prConfig:{title:"左右边距",val:10,min:0},mbConfig:{title:"页面上间距",val:0,min:0},zIndexConfig:{title:"组件上浮",val:0,min:0},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:8,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]}}),uC=Object.assign({name:"points_mall",cname:"积分商城",configName:"c_points_mall",icon:"#iconzujian-jifenshangcheng",type:1,defaultName:"pointsMall",pluginComponent:!0},{__name:"points_mall",props:{index:{type:null,default:-1},num:{type:null},colorStyle:{type:null}},setup(t){const n=t,A=ka(n.num),e=Be(),o=v(null),i=v({}),m=v(""),a=v({title:"内边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]}),d=v({title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]}),r=v(0),c=v(0),f=v(""),g=v(""),p=v(0),b=v(""),_=v(""),B=v(""),y=v(""),Q=v(0),I=v(""),N=v(""),w=v(0),h=v(""),E=v(""),F=v(0),x=v(0),j=v(0),D=v(0),V=v(0),S=v(""),k=v(""),K=v(""),J=v(""),ee=v(""),T=v(""),H=v(0),R=v(0),G=v(""),z=v(""),ie=v(""),Y=v(""),Z=v(""),re=v(0);M(i,(ge,W)=>{te(ge)},{deep:!0}),M(()=>n.num,(ge,W)=>{let Ae=e.defaultArray[ge];te(Ae)},{deep:!0}),M(()=>e.defaultArray,(ge,W)=>{let Ae=e.defaultArray[n.num];te(Ae)},{deep:!0}),Ce(()=>{ve(()=>{i.value=e.defaultArray[n.num],te(i.value)})});function te(ge){if(!ge)return;let W=JSON.parse(JSON.stringify(ge));for(let We in A)W[We]==null&&(W[We]=JSON.parse(JSON.stringify(A[We])));!ge.componentBgConfig&&ge.bottomBgColor&&(W.componentBgConfig.colorConfig.color[0].item=ge.bottomBgColor.color[0].item,W.componentBgConfig.colorConfig.color[1].item=ge.bottomBgColor.color[0].item),ge.paddingConfig||(W.topConfig&&(W.paddingConfig.valList[0].val=W.topConfig.val),W.bottomConfig&&(W.paddingConfig.valList[2].val=W.bottomConfig.val),W.prConfig&&(W.paddingConfig.valList[1].val=W.prConfig.val,W.paddingConfig.valList[3].val=W.prConfig.val)),ge.marginConfig||W.mbConfig&&(W.marginConfig.valList[0].val=W.mbConfig.val),a.value=W.paddingConfig,d.value=W.marginConfig,re.value=W.zIndexConfig.val,o.value=W,r.value=W.styleConfig.tabVal,c.value=W.imgBgConfig.url,f.value=W.headerBgColor.color[0].item,g.value=W.headerBgColor.color[1].item,p.value=W.titleConfig.tabVal,b.value=W.imgConfig.url,_.value=W.imgConfig2.url,B.value=W.headerBntColor.color[0].item,y.value=W.headerBntColor2.color[0].item,j.value=W.bntNumber.val;let Ae=W.titleText.tabVal;Q.value=Ae,I.value=W.titleText.tabList[Ae].style,N.value=W.titleColor.color[0].item,w.value=W.titleNumber.val,h.value=W.titleTxtConfig.value,E.value=W.rightBntConfig.value,F.value=W.numberConfig.val,x.value=W.goodStyleConfig.tabVal;let me=W.filletImg.type,ye=W.filletImg.val,Te=W.filletImg.valList;D.value=me?Te[0].val+"px "+Te[1].val+"px "+Te[3].val+"px "+Te[2].val+"px":ye+"px",V.value=W.toneConfig.tabVal,S.value=W.goodsPriceColor.color[0].item,k.value=W.goodsPriceColor2.color[0].item,K.value=W.priceBgColor.color[0].item,J.value=W.priceBgColor.color[1].item;let Pe=W.moduleColor.color[0].item,Qe=W.moduleColor.color[1].item;ee.value=`linear-gradient(90deg,${Qe} 0%,${Pe} 100%)`;let De=W.moduleColor2.color[0].item,_e=W.moduleColor2.color[1].item;T.value=`linear-gradient(90deg,${_e} 0%,${De} 100%)`,m.value=W.bottomBgColor.color[0].item;let Ie=W.fillet.type,Ge=W.fillet.val,Ne=W.fillet.valList;H.value=Ie?Ne[0].val+"px "+Ne[1].val+"px 0 0":Ge+"px "+Ge+"px 0 0",R.value=Ie?"0 0 "+Ne[3].val+"px "+Ne[2].val+"px":"0 0 "+Ge+"px "+Ge+"px",G.value=W.goodsNameColor.color[0].item,z.value=W.goodsNameColor2.color[0].item,ie.value=W.goodsUnitPriceColor.color[0].item,Y.value=W.goodsUnitPriceColor2.color[0].item,Z.value=`linear-gradient(90deg,${n.colorStyle.theme} 0%,${n.colorStyle.gradient} 100%)`}return(ge,W)=>{const Ae=X("common_wrapper");return s(),ce(Ae,{config:o.value},{default:P(()=>[l("div",{class:"pointsMall",style:U({borderRadius:H.value,overflow:"hidden"})},[l("div",{class:"title acea-row row-between-wrapper",style:U(r.value?"backgroundImage:url("+c.value+")":`background:linear-gradient(90deg,${f.value} 0%,${g.value} 100%)`)},[p.value?(s(),u("div",{key:0,style:U((Q.value==2?"fontStyle:":"fontWeight:")+I.value+";color:"+N.value+";fontSize:"+w.value+"px;")},$(h.value),5)):(s(),u("img",{key:1,src:r.value?b.value:_.value,alt:""},null,8,aC)),l("div",{class:"more",style:U({color:r.value?B.value:y.value,fontSize:j.value+"px"})},[se($(E.value),1),l("span",{class:"iconfont iconjinru",style:U({fontSize:j.value+"px"})},null,4)],4)],4),x.value==0?(s(),u("div",{key:0,class:"conter",style:U({background:r.value?ee.value:T.value,borderRadius:R.value})},[l("div",sC,[(s(!0),u(q,null,ae(F.value,(me,ye)=>(s(),u("div",{class:"item",key:ye},[l("div",{class:"pictrue acea-row row-center-wrapper",style:U({borderRadius:D.value})},[...W[0]||(W[0]=[l("img",{src:he},null,-1)])],4),l("div",{class:"bottom",style:U({color:V.value?S.value:"#fff",background:V.value?`linear-gradient(90deg,${J.value} 0%,${K.value} 100%)`:Z.value})}," 68880积分 ",4)]))),128))])],4)):x.value==1?(s(),u("div",{key:1,class:"list on",style:U({background:r.value?ee.value:T.value,borderRadius:R.value})},[(s(!0),u(q,null,ae(F.value,(me,ye)=>(s(),u("div",{class:"item",key:ye},[l("div",{class:"pictrue acea-row row-center-wrapper",style:U({borderRadius:D.value})},[...W[1]||(W[1]=[l("img",{src:he},null,-1)])],4),l("div",cC,[W[2]||(W[2]=l("img",{src:Uo},null,-1)),l("span",{class:"num",style:U({color:V.value?r.value?S.value:k.value:r.value?"#fff":t.colorStyle.theme})},"6888",4)]),l("div",{class:"name",style:U({color:r.value?z.value:G.value})}," 小米蓝牙耳机... ",4)]))),128))],4)):(s(),u("div",{key:2,class:"list on2",style:U({background:r.value?ee.value:T.value,borderRadius:R.value})},[(s(!0),u(q,null,ae(F.value,(me,ye)=>(s(),u("div",{class:"item",key:ye},[l("div",{class:"pictrue acea-row row-center-wrapper",style:U({borderRadius:D.value})},[...W[3]||(W[3]=[l("img",{src:he},null,-1)])],4),l("div",{class:"name",style:U({color:r.value?z.value:G.value})}," 小米蓝牙耳机你值得拥有 ",4),l("div",rC,[W[4]||(W[4]=l("img",{src:Uo},null,-1)),l("span",{class:"num on",style:U({color:V.value?r.value?S.value:k.value:r.value?"#fff":t.colorStyle.theme})},"6888",4)])]))),128))],4))],4)]),_:1},8,["config"])}}}),dC=fe(uC,[["__scopeId","data-v-f067fb94"]]),mC=Object.freeze(Object.defineProperty({__proto__:null,default:dC,getDefaultConfig:ka},Symbol.toStringTag,{value:"Module"})),gC=["src"],Va=t=>({cname:"搜索框",name:"headerSerch",timestamp:t,isHide:!1,setUp:{tabVal:0},titleLeft:"展示设置",titleSearch:"搜索内容",titleHotWords:"搜索热词",titleRight:"搜索框",titleCurrency:"通用样式",titleTxt:"文字设置",zIndexConfig:{title:"组件上浮",val:0,min:0},styleConfig:{title:"选择风格",tabVal:0,tabList:[{name:"搜索"},{name:"标题"}]},styleTypeConfig:{title:"样式类型",tabVal:1,tabList:[{name:"标题"},{name:"logo"}]},logoConfig:{info:"建议:144px * 44px",url:"",type:"code",delType:1,name:"logo图"},titleConfig:{title:"标题",value:"标题",place:"请输入标题",max:6},linkConfig:{title:"链接",value:"",place:"请选择链接",max:100,type:"link"},tipConfig:{title:"提示文字",value:"搜索商品",place:"填写内容",max:20},hotWords:{list:[{val:""}]},numConfig:{placeholder:"设置搜索热词显示时间",title:"显示时间",val:3,type:"words"},txtFixConfig:{title:"文字位置",tabVal:0,tabList:[{name:"左对齐"},{name:"居中对齐"},{name:"右对齐"}]},txtStyleConfig:{title:"文字样式",tabVal:0,tabList:[{name:"正常",style:"normal"},{name:"倾斜",style:"italic"},{name:"加粗",style:"bold"}]},txtColor:{title:"文字颜色",default:[{item:"#333333"}],color:[{item:"#333333"}]},txtSize:{title:"文字大小",val:15,min:0},searchBoxColor:{title:"搜索框",default:[{item:"#F5F5F5"}],color:[{item:"#F5F5F5"}]},tipColor:{title:"提示文字",default:[{item:"#CCCCCC"}],color:[{item:"#CCCCCC"}]},hotWordsColor:{title:"热词文字",default:[{item:"#888"}],color:[{item:"#888"}]},moduleColor:{title:"组件背景",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},bottomBgColor:{title:"底部背景",default:[{item:"#fff"}],color:[{item:"#fff"}]},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},paddingConfig:{title:"内边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},marginConfig:{title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},componentBgConfig:{title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#F5F5F5"},{item:"#F5F5F5"}],color:[{item:"#F5F5F5"},{item:"#F5F5F5"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}}}),fC=Object.assign({name:"search_box",cname:"搜索框",icon:"#iconzujian-sousuokuang",configName:"c_search_box",type:0,defaultName:"headerSerch"},{__name:"search_box",props:{index:{type:null},num:{type:null},colorStyle:{type:null}},setup(t){const n=t,A=Va(n.num),e=Be(),o=pe(()=>{let S=0;return c.value==0&&y.value!=1&&(S=15),{color:`${I.value}`,fontStyle:`${N.value!="bold"?N.value:""}`,fontWeight:`${N.value=="bold"?N.value:""}`,fontSize:`${w.value}px`,marginRight:`${S}px`}}),i=pe(()=>({justifyContent:c.value!=0&&Q.value===1?"center":c.value!=0&&Q.value===2?"flex-end":"flex-start"})),m=pe(()=>({textAlign:Q.value==0?"left":Q.value==2?"right":"center",background:g.value})),a=pe(()=>{if(D.value&&D.value.moduleColor)return{background:`linear-gradient(90deg, ${D.value.moduleColor.color[0].item} 0%, ${D.value.moduleColor.color[1].item} 100%)`}}),d=v({}),r=v(""),c=v(0),f=v(""),g=v(""),p=v(""),b=v(""),_=v(""),B=v(""),y=v(0),Q=v(0),I=v(""),N=v(""),w=v(0),h=v(null),E=v(null),F=v(null),x=v(null),j=v(null),D=v(null);M(d,(S,k)=>{V(S)},{deep:!0}),M(()=>n.num,(S,k)=>{let K=e.defaultArray[S];V(K)},{deep:!0}),M(()=>e.defaultArray,(S,k)=>{let K=e.defaultArray[n.num];V(K)},{deep:!0}),Ce(()=>{ve(()=>{d.value=e.defaultArray[n.num],V(d.value)})});function V(S){if(!S)return;let k=JSON.parse(JSON.stringify(S));for(let K in A)k[K]===void 0&&(k[K]=JSON.parse(JSON.stringify(A[K])));D.value=k,h.value=k.paddingConfig,E.value=k.marginConfig,F.value=k.borderConfig,x.value=k.shadowConfig,j.value=k.componentBgConfig,r.value=k.logoConfig.url,c.value=k.styleConfig.tabVal,y.value=k.styleTypeConfig.tabVal,Q.value=k.txtFixConfig.tabVal,N.value=k.txtStyleConfig.tabList[k.txtStyleConfig.tabVal].style,w.value=k.txtSize.val,I.value=k.txtColor.color[0].item,f.value=k.titleConfig.value,g.value=k.searchBoxColor.color[0].item,p.value=k.tipConfig.value,b.value=k.hotWords.list.length?k.hotWords.list[0].val:"",_.value=k.tipColor.color[0].item,B.value=k.hotWordsColor.color[0].item}return(S,k)=>{const K=X("common_wrapper");return s(),ce(K,{config:D.value},{default:P(()=>[l("div",{class:"search-box",style:U([a.value])},[l("div",{class:"search acea-row row-middle",style:U([i.value])},[r.value&&c.value==0&&y.value==1?(s(),u("img",{key:0,src:r.value,alt:""},null,8,gC)):O("",!0),f.value&&(c.value==1||c.value==0&&y.value==0)?(s(),u("div",{key:1,class:"title",style:U([o.value])},$(f.value),5)):O("",!0),c.value===0?(s(),u("div",{key:2,class:"box",style:U([m.value])},[l("span",{class:"iconfont iconsousuo1",style:U({color:_.value})},null,4),b.value?(s(),u("span",{key:0,class:"hotWords",style:U({color:B.value})},$(b.value),5)):(s(),u("span",{key:1,style:U({color:_.value})},$(p.value),5))],4)):O("",!0)],4)],4)]),_:1},8,["config"])}}}),vC=fe(fC,[["__scopeId","data-v-e4298639"]]),pC=Object.freeze(Object.defineProperty({__proto__:null,default:vC,getDefaultConfig:Va},Symbol.toStringTag,{value:"Module"})),CC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAACHlJREFUaEO1Wl2MVdUV/tY+4/BwZ9AKYgQ0RBtMWvrQEIiPpokJXKTJ3Mkk+IeALWgDTYBETdQn+9AaSyMYEx5qK4KQkIEoOGL8CUYFwtSkwqClrYYH2wfSBwIMjePcs83+Wfuss88+d+4ATpg59965nFnfWt+3/vYlXIcvff/QPLQn7wXUPSD9E4AWaMIcaN2wtycaJ63PAzgHTV8A+QlkPUfp8P7/XOufp6u9gV65cjbavasBrAJhCUD2nze4elttXrI/AB2uowDtQzaxiw4d+t/V2DJtAPq+X85FT8/TIFoHooY1muyPzgCM8d5uAcCB0RiH1q9icvL39N5b/50OkK4B6KGhXoy3nwTRUyDqcwZ7o+3V38pe6m7LIPzVGi+iovVlaP0HNLIXaP/+iW6AdAVANwcWatAwES1yRitnIxvOQEIUBBj2uuOOj0IEgIH4q9Z6jKAHaeTgP6cCMSUAvWxgFbJsJwgzg8FKAAiRYAoJKsm/HmuAn7PxuY9G8fwi8nwDHTm4rxOIjgB0c3AzgG1Q3uv2Kr75OXs+0KjmtiW6cES84RUAOetjC40M/6kORC0Aazxhm6ULG2o97wHEYGIQUgqBRoI6nI0kfRhEzsZrwD5GLYgkAEcbtTcYzxEwxlceCzFLDcR3DpSRnvcp1YCwxnvD+bG5Mph2/kCKThUARrCgbNRy3nicvR7TSEZDZiOZTuO4u5TpxczRkEYLIDIaBkSOi0B7SSzsEgCfKj+DUosKw5lC8ZWjEenCVd40Zcsp03OcjWYtMCBjtIiABZGPoZEtlim2DKDZehaknrc0Ye/zY0sfr4FSVCIAlXrAeV6k0ShtOvp4CrHRMY0sAPue52jkwO/YQwGArbC9N5wFqb4kAGl8ELAQeMhOXr2dNFARrqARc955vIgCP2/ry5j87m6u2OHPtJe3tqtMbbLCzbxh1mivgxCVKKXWaoHTkKhkrIESgBrhSuONuNv+fe0ceZ7vyN458NuQ6Hxjdg5KNaz3LYDomymUpBRXZ9FaBC1EPVCSPtLTzPvI+xaAAWJ/P45sYoFpAG0EdHNwC4j+aI3OJP8liEgXHJmQWuMWIyoEJhCx8TZ9JsVapQ6/zwBxNNtKI8PbPIDWSSi1pOL1UiRiYJJKHbQQWugEgEKYab4HQXsKBV1YEKM0cmAp2WFE599UjLfRqItApAuZoTgiTKG4gHHG+dFNwJpHgJn9wJdngdf2eBAs3gSFygCMPueTXj7wEFS229GHxZu5ilsBEWtDRCWu0mFOYM/zNQf6+oCNTwC3zinqxYsvAf84WwXBlJFUC6+1Hya9orUDpDaWIhCLOCXquE7Y59wn+W41zAWi6jb6gN+sB+YI4w2M7a8Ap89MASCiUjt/mXSz9QGU+kXS252AzOgF5s0DLlwArvzfZy1Z7PyUFuYADTQawIZfA3NuKVfqf/3bAfj2Wweg5PWK0RLkh6Sbg18hU3dOKwJ9DeCZp4BZN7ub7dkLfH66ACE7WO46Z80CHnkQuCUy/u+ngD//FZicnI7h/N6vSa8YvARlqq/gt/R86vGinwKbnii8aEDs3gucOVPUDwZh3mWMX7cG6O8re/7zU8BfdgHfTRZe7db7ri5cprzZyinLKACoM94K2ohbAXfcDjzzZNkYA+LQ28CJk+XsNXsWsGa1E678OnUaeG13YXwhzHIkOgPSVQBx5qkD1FwGrFjmAMmvkSPAp8cdCMP1pPFjwOt7vPHt6RgcRaqtr45CTLfFP3e5PAZx7Dgw+jfgsbVVz58eA3a/kfC8z//TpZButr6CUne6GuAp0ikK8e9+tgh49CFgxoxyJIwoe3rKr31yDDj8tjee24guDI8zkwXZNu3G11efRqXof3wXsOFXgEmtdV/G+LcO17QMovp2ikA1xX5IenlrB7KokNVVYNlml7pVAm6f70D091chfPIp8OZhMYEl+vy4WYvbhhQwmEJmWwklWolEK52sxInu9LZbgcfXAzfdWID42Bh/yD2Xw7ts1FKDS6qgVV972DVzef5NdQYQBlYAxD2QmJdvnAmsXQ3MnQsc/Qh49/1iI5ccZGqat5KxkV74d0rN53ngJBTVtNOp+YBbaTm5xbNxYh4wrbVcYJXa6YSR5r0xdYpRc5RGhpd6AANbQMoNNJXvxBwgG7m4lY5n43grnZqH5SBf4n4KVMhaW+nIQT/QuF3/OShqdA2gtKVg78udqV+vpHaiAQRvGqShdY9LVBu/dGViwcyjfqS0+lre2g5FmzoDEFNYvPCSng97IRPgKdYqcgsRj5h14s71DpJDvQUQ1ipUbuziIT411JfW7HI73QWAVGYKQBLp1pwhTCTWKm64N4ster601OKuMgwsiQ1d6pyANSzPBzpu5mI61WwntE4vtiyAoaFePd7+jMxqMaxRUitF3tCltnI15wNcB/hat50rLbamuVp0URhYCKhRKHLLXbkPkoNKaZ0igFjPJ3ajtdtpuz4vttBypWj2QEWGugjknZe7XD6L9Xq0D51qpciHfbIEhJta99QfMcX7USlot5nrbr0e/l5zYDNIbQsRqGwdou00e77TIV+3JzSBRnxmkG+hkYPJU5opjpgGNgMqfcRUd0Iz1flA0ABHRJyNxVXabaxrjU8FutJJWjoptdNqIk6XBkR83GrvkBByRQNiUxe3GC61Xvshn6DTQoCGQZydEqKVR638H0UZ8O1oWgOlTtV6fQzX65g1gJAH3aC+yiG35H7yhKbjSb0/8P6BDrolr0zFznt6nlbT/qhB6TMSxXzgttbjudavqh/yowaxOC6uXDm7v92zGqBVICp/2INXiiUKJXoiYBTI9126MrnLNGYVAXbxwpQn9V3cA+HjNorugYb9uA2ij9tA4zygz4HwBXJ93T5u8z0uk+c6RBNnQAAAAABJRU5ErkJggg==",_C="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAACH9JREFUaEPVWA1sU9cV/s7zs997/osTkpAfQkgIFEqWthQm1mptU8RWVcBoYe1oNWnrNO1HHQN1k8Y0Uei0wdqp0CIGZRmgqrQd0MK2IsZfA0zA+Bsl/BMylBgoqIEmEBPbse+Zrp+9QIhj+9mdtCc9Wda795zz3fOdc+45hC/o4QuNOnxisBRP+RNbvyA1oGwEc2fTu+i8WMdn/u7AjXYDPSHmSMSJSEglEDPBTTa1BwXlJ6ii7mWq+/GWbPT1t9cyAA6f/C6Cp1ZBBAAaDm4+DD6+FegOAJEIIISpT1EAhybfIA0evotGPLyQRj6/J1dArAO4degYAtvqgLih9ioA1eADm8BN28ASBDNABNhUkMMBaDqguwIoHf2RUj1hEY185pNsgVgCwLf2PYWw/0OETt+tXxsN7ikB73obfPofd4CA3Q6S3tAMkDuvk0tGvK3cN+lNKn7ivFUg1gB07T2CwPax4GgSvQqg14K78sAfN4BbjiAWbWQD1Lg3HNIbOuApaldKqv+AUU8spbL69kyBZAyAb+58BD2XdiN0JrUuUgH9AfBnAO9ZA25tAkiJUSoGxC694QB0J6ig1E9lY95EzVdWUHF9V2rh5orMAdzYuROBXY+Dw+nqAEgHnGPB/gDEnlXAlRZAsZmvpJU9Hh+aIahwyHka+qXf4sEH1xLVR1IpyQgAd34wHj0dBxHsh/upNMnvNjfgnABuboXYsxrouGqCSHgkFh+6jJEIiquPKzXjF9CY7/9lINGZAejYvAFdu6eDe9IxN/katQBwPQQ+dQpi9yog0GECUSW1HCBNAwwX4HSHaPDwAzR03Fwa/e19WdWB0NV36xzUcRTBM0p21t+2Wy0CwnWINswy023CG5JWhgG4vCCvDygZ0aY8uqgyKwB87f0GBA5+DxzKmf3Q7wWf74bYsjQekTLAZVw4QIYTcHsBry+KQRVzbZPeeM0yAL781lAoXecRbLaD46Gf7a8+CnxRhdgUtyvhAZmdZBw43YDHG1YKKl+gKSvWJju1tGKAP1u5AoETPwB3IycAjHvAfhvEX5fETz5On4Txkv9uT4AHDf2mOvWPA96fUgLgy78vhAi2IfRvIyfc0UeYxn+0rNd4SRubHSQLm+ECefPbI67CJx3T1xxKpTMNAK8vRLD5FxC3UslK/V2vAfsViM0r7zx5yfk4bcib30z5ZU/T5BUnUgtMUcj42nwvusIXEW7zpCNswDVatWn8ltV3B6w03uUCewsO20pqZ9DE36TdPwzoAfbP+zmC/lfBwey4rw8DtxHE1rVmukwErDx5XaZLN8iVv5tqH51GD8zpyOSwkgJg/xwDPaIV4U+LMhF411qtwjR++3rzk+wPZL53SOOdpvGegg008ycz07k69JWfHEDLiz9F5PMlEEHr9juGgNsYYsem3pOX14ZEnnd5AF/JW7Zn3/uhVSX9AmCer+LchXOIdsouxdrjKAW3AuLjzX0CVmab2MkLpaxmAU1b/Yo1BXGx/W3mM8+/ANH9p9idJ1GwEgvT+e8oBrcBonF7r/EJ3js0kMsdQmXdHNtTDcuzMV7u7d8DJ58+AhEca1U4R2sg1m/q3Z4IXEkfCaB85CXlkVk1VFWfBT8H8kDT1BdBkaXJO64U0NRqRHceBq5c7eMBBbBrIKcrTFX3b6Nx3/g1VUw5aPWgknpAfuDjT04GR98DR92mgkwuPzZAK491YuLQv4Dr8cwoM5DNDmgxECC3r5MqxvwZ9016zWpfPHAdOPa1WhBvhIjWmAAyfGRLKTPR5R6Io01Axw3AFm8pJZVkDZCvt7hdqahdhiGPLKGq+tzUgf/G7NHHfGDaAIiJJoh0ovj2c5GjFTkXkvXgFsSx48CtYPzaLNvJeBemG6CCslYuH7VIKXl4TbrxkfIuFCNP42Mq8sQisHjJkicSp6EYgDYM4tw18MnTQE+kty+OzY2kR5yCiquP0fBxKdvJAWOg3/R6ZMJ3wLQcEHqGZLpzuc0D2CWQdnDTcTMZqnJmFAcRiw9PCEU1u+jeSbOp7OtJRyBpeeB27Xzgy+Og4G8Al2QFQm5WfRAtOrjpZG8nJht7p+wH8kBe+Q55iR7/3evJdGUMIEapg+NLwNGNACZYppSiAbbhiO49C1zrMD0gxyuxnsAtPSDYcK1XCmt/RF+d+3lOAZhxMUyHkXcBQOaesA8CX/dAHGkGwlFzNiTpI6d1hlNeNbaQ4XmFpq/9ZyovW/KACeB+H7QePwjxOpFKVWK0WApx8ia49Vqf6ZwB0tx7o3Z9gf259fE7SGqZ1gHsGz0b4MWpVcRXKHpsVio+aQfCMOki+W62kadY1Reoz32wLm158YWWAHAjVDhGNoN5WGqFcrzugmhRwG3d8WxjDnZJd/qFZsxTZ364JrWc/ldYA7CnagaI4h3KQKoVcLcGcYaAoAKSHJe5XjPaoRuvKjNnLbbSxNyu0RqA3ZX7QTIDDfzwZQ3Cr4PURLV13oTmWqJUVS6khxZ3p9qfzveMAXBj+QQotH9A4WEFosUDdDtNnmtGEIarQckrnUeTlydNiekY3HdN5gB2lW4EY1oyZXzdAF/MB1RDpsUIa8Y7Nl/pyzR1ZZsVA1PtyQgANxbVgEnO1tW7BEcV8KVCcCAPcBiCDGMTOfJ+Sc+8czaVEdl8zwzAzsLFAM/uq5ADLvCVMoBcIMO9g3TjVzTj/QPZGJbu3rQBcKPPhyj5Ae4tXKyAr5eDu0pADuMwOfS59Oy6Hekqz8W69AFs9/wMjN4Rd8QN0XEPILxnWbHPs1KE/rcAtjo/Ne89CrinGugeeUlEMV/91oaGXBhiVUZaHuBG6Ajp8uIWFJHx+5Vo5VEozmU0ZWUOJr5WTTf3pQVALuR1cKMIEapH1qOQ7Ey+c3faAHKpNJey/u8B/AcXwt5PM400XQAAAABJRU5ErkJggg==",bC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABe5JREFUaEPNmntsFEUYwH9z7bViMdKS2hRKTTChKA9Li5R3S8VCg0WQhxgxQVEgkAgi8pcaov6FoGikAiKSiJFUSGMQNAUphXK1BcojhkCBShBIlFRSKEJ71x2d3bv2Xu1sC3i3yWZ3dmZ2vt98833zzc4KNId8e1kWwrEIRK5E9BcQG1BFiPZkuHspA1vwTwfnAVJKjxDUg6hAejaIj9bVdiaiX+tB7axYkYBsXY2Ui80cJZzDYZ2xTnDGglNdnVY6znvvjEM6nYhYxSnB0woej3lKtxvR6gG3SrvbnvvyaW0Fw7BOH5yQxQjnSrFmza1wIGEBpBLe3VwGjG6rpErGxEBMrCVsXJx1OuMgPr493fbcacpvCup2W8K7rXvrbPFeFZA3bYJ6IQK148IZXxAOIjzAG4vXY6ieV9lKCu+1bYgI65Evra7mve+5w8pXh08QdTVHk7p6h5X5zO/e11u+cgHtUyw+L14SrIUQALlkQRYGx3S2EZF8B9li/aYAmwgFWDh/E5LXIyKgrlHBl2LjVwv8i4UCvDbvLJIBundFJF9QJzZvzegUwHhlrltIYblKnwn4akQ8LT3i623ODgGkEvnlF42I9K7NRsU33wWMmoCECfDS7OgG+LZEA/DCDCPYe0ZTWmzfqQOYbmAETf821Xvfi6WmIj77QgOwZa3BngprOvfOO22TUiTTiYkwZzbimSINQOUOg5Nnoazyvneo7QZ6J8GsmdCjByJvsg0A4YAz9fDDvnZN2G7tHhdMS4OZz1uxlmHYAdhpoABU1HnxMpTshjvN91gqm68bmAFTi6zIV9mlNBC5Og3s2GCQ+ggWRAw03oSSH+GPq/ZajY+DgjwYmwPpaVbwdukKVFZD2QFobtG/R3XepGdgZI43vPYGfY2NiKJZmiFUmG8wdSJkDrIg1KmOchcccFmhb0dWnZwE774JfVLCC3n1T/jgE7j2t1++L9r1PkrvB9OmQkqKFal6e56681BaithVpgHIG2W5nyEDYdpk6NnTHE5SOBA3mmDPPjh6IlRA1fNr3+lYeF8NBfHWh6Ga6NULphQiMzMRpuDeRU1TE/z0M9Qet6KbA1UagHEj2mfihAehcAKMHG4tZHwgDdfhcDW4auCf25Zoz02EeTP0w0OV2LrTchDqeDQd8icghw5BKG37BG9pgaoq+KUcbrUvxsShGg3A6OzQUCK5N3JSHmQPs7yBz8jV6unCRcTpM/DsKOiXag/gyl9w8DTyyaGQmGQaZ9tQuX0HUV0De/fCjZsh7xOuYxqAnMyOY6GeCcgxOZZG0vq2g6jhleQJNI3OUJRNNjzgZ6AGnDtvCV5zBJo79nqi+oQGYPhge8FcSjJy8CB4PMMcBiLjIfsAyjeduA71vyPqzsGpk3CzyZb2xNHfNADDnuheMLduOTzWz5YQXLgMS9eGLLntBI2i9rQOwKYGgkWdPg5enWIPYMtuKD1kr2xQKXFcp4GsTmygsybjnfDxQujbu3PBrjTA8o3QrOaTrh+iVmcD2WG8kN12kh+G92ZDn8TwNa5eh/dL4Fqj3TeGeqFjOi80PMeeEXckQnwsFAyFsQMg3auNSw1QWQdlp6DZ023hzYnsaLXGBp4ac3cAdyWevrI4clgHkNs9L+T3Ac+ON/H/4NeV8qKmQgMwIj+6NVCzXzcTF0Q3QLUuGh1ZaHRrhunumOhiPfHrHo0GRhVFtwaqdukApke3EbtKdeH0rOjWgOt7DcCYOdENcHi7BmDs3OgGqNymW1LOi26AQ1s1AOPne92ob1oP+mrQ5vYiky8Obu4YQIlkjF/oDtkL1oco/1cJjzi4seMNDiWFzF1yFqJ0iwnqRMX6zreY5ISl0b3JV/6pZpMvf1kW0hGd26zCyBb7A389CNmlNIfR0yvXI7F+MYiWQ1IsylfrN7pNgIIVCbTGBf5qEFkQFzEtBaIs9H+JsBpoh+ixGiKuiWJibq8MJ7y5xNR1rMxflYVDLPrv+3Qu0J/g3210L+h6vlo01wMVGHKD2L+q099t/gW0GppPZLn4XwAAAABJRU5ErkJggg==",BC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAACGdJREFUeF7tm3twVdUVh791E8LTBALhaSDhGRMIRKjaqhieIYIFFGGwFaKUTodOp2AfMp3pmJnaaacjduy0yLQgIFSqUgEFTHgk12lhKK8ghPCQlEfE8BZCuASSe3c9N9w8IPeeve89yThj8w9kzu+stfa31157nX1OhG/4j3zDx0/EANTPftiFNq3a0yrhrOTm1rQEUPXLn9yPyHCiqCSmYofkrqgK12/YANT8HyUR5fobyNha5+oSir9QxWuyeHFluAGFuk8tmNcfl/wGmAZE3/F7jhrfXHljycZwfIYFQM3P6Uh1qyKEpHucKnUO1EISSv8uuW5HMkLNy+mOK/oVkB/UD7yR5xpqfBmyZFmxKYTwAMyd9TLI722cHUB5F8jS1W7ToAJ6lZPTkWjfy4jMB9qEtKNYKktXzjX1FR6A2c+tQ6kp+EuIIuS/yrfRD2L1+yd0g1M5OW3wVf0UXAtBddTzo9yyas0oXR8BXXgAZkwrBDK1nSlqUGoJ1d5fy/r1V4PdpzIzo+nWZc5X13OB7tr2a4VueXdtCwGYMrkQpTJ1EuCuBLmKj1epqHhD3I3rg5o8aQa4XgX6h2HXykK3rN/QQgCys80y4O6pVOoESi2U/Px/qqysCbhcvwOGGc54Y7lSbsnLayEAo8bUAgiUgIYLyioJur+jToHU7ySR2XNL4fYWAvDo45FlQERTHfRmt+z4VwsBGPFIIcqgCDbPgBtbFdyyd1cLARiSUfhV0dHfBVoCgBK3FO9zBoA6n5uOV81UIukirnsbkAs3enDLF7oxuXvQJW1juRrl0mYx4FYVCdX6PX5rVxVd25ffa1/dQPmKiJJV0jX3nl6kUR+gCjOjGZT6B3yuBdqB6grdcVDWWlcNmdcg8Za+3l7pRXl/K4lvvtJQ2hjA6WdWoFyz7W2FoSjsBWX3NegcAzYCneRdv486C4nXw3Bkd4taJElrf95wo/L/X5WO/B7Iarvbw75eMAjOxOvfPvoY9L6irzdRemvGy8AdW61b6jJAHUvZCww3sWOkLRgOZ6zuVrNRGL0Pep83cqEtVuRJytHsOgDqMB2gU3PkW31M2zPhTKJ2jIxxQ+8yfb2JUqiU1C+t9VibAaqEPnijra7M/unO7ukv2PWtY+F0H/0wx22DPqebL54O1W0lmapaALviY+kQc00/ujCUH4+Ak4EloAE6ew8kN9MSAI8MPte+cQ04nHYAGBrG0PRu+ag/lMbpaS3VU6XQL+iTs76dJpVqm6SVjGsM4Mjjc1Hy1wgtB799XWc40VY/padcggH6fZBZ3DWTJHXnpkYAamvB5A8Q11QzY5rq911w3OD85VkfDGy4Y2j6sZOJb7GkbPhxQNa4Edr5bFviY/905/DRzpTZ9X9UwBGDzm5mHKTEmPmwU4t3EQOX/0Kkfi9uckrU0fmPcu3kKqLbJ+O6c/rsNx7BA/uKcii/bRdi/fXszjAs0Dk2nC/NPiIQr/c23LxQTfehD8uA14vuDiBoTqo1UfmgxutHbKNc1Q5KWumbe94DqdX6+tBKj8z0+au+PoD3LAA4B+Dt9nDYAMCsG5DmIIDpXkMAa6OdBbCyA5TE2J6i1/VRsyohzWDJ2GXAtBpDAOtinF0CK++DYoOiNvs6DHYQwNRqQwAftnYWwPJYKDY4D3ihAgYb7Bp2GfDd24YANrXORzlYA5bHGQK45iyASbcMAXzcxtka8FYnOGSQAS9ehSGOdYIeya4yBLClnbNLYFk8HLKOEW3eJQauz7niLIDxNw0BbLUAOLgElnW+A0Bza59z2TkASnnEGIDTGbA8AQ610xw98OJFGOzR19sVQXMAVg0Q5xqhFd2g2ABAznnnACg8kmW6BPIdBrCyOxzuoD+js8sh7Ya+PqRSeSTLtAj6ATC+rmYFHAQ5xa7zH+z6272gxH8Mp/fz/OeQVllfMyPxb50ATTAFYG2D4mARXJ1oBuD7ZZDq2DltOACsTtDBGvBOHzgSqzf7luq50/BAhb7ebglkGzdCFgAHM2BNMhwxOBOceRIecOyc1iPGADY7DODdfnC0o/6MziiFFMcORT3ypGkG+AE4eCDy3kA41kkfwPTjMOhLfX0opbUNTjR+GLIehx1cAh+kwmdd9Af09GEYcFlfb9cIGQPY7PCzwIbBcCJBf0CTD0H/S/p6OwBPGjdCcc4+Dn80BEoNMuCpQ9DPQQATrhk+DG1JcLYGbEqH/xpkwMSD0PeiQxkgHhl/0RDAtl4bQU10KALIMwSQfRCSnQJAhYz9osk9OPixeEHSW8ALjgHYkg4nDTIg6yAkOQbguIw+NaipsQQH4B74EqIW6X7P4Dce6r3JtqFwuqt+bz/2U0i6oP09RUj/wjp54rOnzQAUpg4jSu55kxJ2RhTcAaBrYMwB6O1UBsg8GVn8phEAS6x2ZFgAIvuGN+C1cBiUddUdPmRaAC7o64MpFTfx0UdGFjVJM+TrWrVrxDMo19rIowA+yYDPDQCMLIJEBwDAH+Xbu18KNgbb99XqP4/lAVkRQ/i3IYDHiuD+iAGUXed2RuzDu4O2lPYAdmd2R2QnkBwRhJ0Pwtlu+ia+sx96RfCJjBIPeDPloU/2hHJqC8BfC/aM6Ysrejs08UdSukPa9SB8YQDgkf3QM0wAQiXimyEZWzfbhacFwA9h/7ieSOt3QJ6wM9rk9d3DodygBjy0H3qEBeAUeKdKxmbrmyfbH20AAUvq0ylzwPUroK+t9YaCvSPgnEEGfGsfdDun70LkCj7fn2njfU1SPtQ+SzMGEIio+sD0UdFRrnHgSwfpAcSE/M5wf0YPrsTrf2GeWnKZnuUVId4keVFcAnUUkQJ8MfkydJXxMXLYAPSn5uut/D+Ar/f8NH90/wPJEBJuKO5M9QAAAABJRU5ErkJggg==",hC="/admin/system_static/signInGift-uazT56cB.png",yC={key:0,class:"signInBg acea-row row-middle row-around"},wC={key:1,class:"signInBg on acea-row row-between-wrapper"},QC={class:"acea-row row-middle"},xC={class:"acea-row row-middle"},Oa=t=>({cname:"签到",name:"signIn",timestamp:t,isHide:!1,setUp:{tabVal:0},titleLeft:"展示设置",titleRight:"签到样式",titleCurrency:"通用样式",styleConfig:{title:"选择风格",tabVal:0,type:"signIn",tabList:[{name:"样式一"},{name:"样式二"}]},toneConfig:{title:"色调",tabVal:0,tabList:[{name:"跟随主题风格"},{name:"自定义"}]},bntBgColor:{title:"按钮背景",name:"bntBgColor",default:[{item:"#FF7931"},{item:"#E93323"}],color:[{item:"#FF7931"},{item:"#E93323"}]},bntTxtColor:{title:"按钮文字",name:"bntTxtColor",default:[{item:"#FFF"}],color:[{item:"#FFF"}]},labelBgColor:{title:"标签背景",name:"labelBgColor",default:[{item:"#FCEAE9"}],color:[{item:"#FCEAE9"}]},labelTxtColor:{title:"标签文字",name:"labelBgColor",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},bottomBgColor:{title:"底部背景",name:"bgColor",default:[{item:"#f5f5f5"}],color:[{item:"#f5f5f5"}]},paddingConfig:{title:"内边距",val:12,min:0,isAll:!1,max:100,valList:[{val:12},{val:12},{val:12},{val:12}]},marginConfig:{title:"外边距",val:0,min:0,isAll:!1,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},zIndexConfig:{title:"组件上浮",val:0,min:0},componentBgConfig:{title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}}}),IC=Object.assign({name:"sign_in",cname:"签到",configName:"c_sign_in",icon:"#iconzujian-qiandao",type:1,defaultName:"signIn",pluginComponent:!0},{__name:"sign_in",props:{index:{type:null,default:-1},num:{type:null},colorStyle:{type:null}},setup(t){const n=t,A=Oa(n.num),e=Be(),o=v({}),i=v(null),m=v(0),a=v(0),d=v(""),r=v(""),c=v(""),f=v(""),g=v(""),p=v(0),b=v(""),_=v(null),B=v(null),y=v(null),Q=v(null);M(o,(N,w)=>{I(N)},{deep:!0}),M(()=>n.num,(N,w)=>{let h=e.defaultArray[N];I(h)},{deep:!0}),M(()=>e.defaultArray,(N,w)=>{let h=e.defaultArray[n.num];I(h)},{deep:!0}),Ce(()=>{ve(()=>{o.value=e.defaultArray[n.num],I(o.value)})});function I(N){if(!N)return;let w=JSON.parse(JSON.stringify(N));for(let x in A)w[x]==null&&(w[x]=JSON.parse(JSON.stringify(A[x])));w.paddingConfig||(w.paddingConfig={title:"内边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},w.topConfig&&(w.paddingConfig.valList[0].val=w.topConfig.val),w.prConfig&&(w.paddingConfig.valList[1].val=w.prConfig.val,w.paddingConfig.valList[3].val=w.prConfig.val),w.bottomConfig&&(w.paddingConfig.valList[2].val=w.bottomConfig.val)),w.marginConfig||(w.marginConfig={title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},w.mbConfig&&(w.marginConfig.valList[0].val=w.mbConfig.val)),i.value=w,_.value=w.zIndexConfig.val,B.value=w.componentBgConfig,y.value=w.borderConfig,Q.value=w.shadowConfig,m.value=w.styleConfig.tabVal,a.value=w.toneConfig.tabVal,d.value=w.bntBgColor.color[0].item,r.value=w.bntBgColor.color[1].item,c.value=w.bntTxtColor.color[0].item,f.value=w.labelBgColor.color[0].item,g.value=w.labelTxtColor.color[0].item,b.value=`linear-gradient(90deg,${n.colorStyle.theme} 0%,${n.colorStyle.gradient} 100%)`;let h=w.fillet.type,E=w.fillet.val,F=w.fillet.valList;p.value=h?F[0].val+"px "+F[1].val+"px "+F[3].val+"px "+F[2].val+"px":E+"px"}return(N,w)=>{const h=X("common_wrapper");return s(),ce(h,{config:i.value},{default:P(()=>[l("div",{class:"signIn",style:U({background:"",borderRadius:p.value})},[m.value==0?(s(),u("div",yC,[w[0]||(w[0]=l("div",{class:"item"},[l("img",{src:CC}),l("div",null,"今天")],-1)),w[1]||(w[1]=l("div",{class:"item"},[l("img",{src:Uo}),l("div",null,"周二")],-1)),w[2]||(w[2]=l("div",{class:"item"},[l("img",{src:Uo}),l("div",null,"周三")],-1)),w[3]||(w[3]=l("div",{class:"item"},[l("img",{src:_C}),l("div",null,"周四")],-1)),w[4]||(w[4]=l("div",{class:"item"},[l("img",{src:bC}),l("div",null,"周五")],-1)),w[5]||(w[5]=l("div",{class:"item"},[l("img",{src:Uo}),l("div",null,"周六")],-1)),w[6]||(w[6]=l("div",{class:"item gift"},[l("img",{src:BC}),l("div",null,"周日")],-1)),l("div",{class:"bnt",style:U({color:a.value?c.value:"#fff",background:a.value?`linear-gradient(90deg,${r.value} 0%,${d.value} 100%)`:b.value})}," 签到 ",4)])):(s(),u("div",wC,[l("div",QC,[w[10]||(w[10]=l("div",{class:"pictrue"},[l("img",{src:hC})],-1)),l("div",null,[l("div",xC,[w[8]||(w[8]=l("span",{class:"name"},"签到立即获取",-1)),l("div",{class:"points acea-row row-center-wrapper",style:U({color:a.value?g.value:t.colorStyle.theme,background:a.value?f.value:t.colorStyle.theme})},[l("div",{class:"pointsBg acea-row row-center-wrapper",style:U({background:a.value?"":"rgba(255,255,255,0.9)"})},[...w[7]||(w[7]=[l("img",{src:Uo},null,-1),l("span",null,"+20",-1)])],4)],4)]),w[9]||(w[9]=l("div",{class:"tips"},"连续签到3天,额外活动15积分",-1))])]),l("div",{class:"bnt",style:U({color:a.value?c.value:"#fff",background:a.value?`linear-gradient(90deg,${r.value} 0%,${d.value} 100%)`:b.value})}," 立即签到 ",4)]))],4)]),_:1},8,["config"])}}}),UC=fe(IC,[["__scopeId","data-v-d438501d"]]),FC=Object.freeze(Object.defineProperty({__proto__:null,default:UC,getDefaultConfig:Oa},Symbol.toStringTag,{value:"Module"})),mA="/admin/system_static/ren-BLhQUCUN.png",EC={key:0,class:"live-wrapper-c"},SC={class:"img-box"},LC={key:0,class:"label bgblue"},NC={key:1,class:"label bggary"},kC={key:2,class:"label bgred"},VC={class:"info"},OC={key:0,class:"title"},DC={key:1,class:"people"},HC={key:1,class:"live-wrapper-b"},TC={class:"img-box"},jC={class:"info"},RC={key:0,class:"title line1"},MC={key:1,class:"people"},KC={key:2,class:"live-wrapper-a"},PC={class:"img-box"},GC={key:0,class:"label bgblue"},zC={key:1,class:"label bggary"},JC={key:2,class:"label bgred"},YC={class:"info"},XC={class:"left"},WC={key:0,class:"title line2"},$C={class:"goods-wrapper"},ZC={key:0},qC={key:1,class:"num"},e_={key:3,class:"live-wrapper-d"},t_={key:0,class:"live-item-d"},o_={key:0,class:"label bgred"},A_={key:0,class:"title line1"},n_={key:1,class:"people"},l_={class:"name line1"},i_={key:0,class:"label"},a_={key:1,class:"label bggary"},s_={key:2},c_={key:0,class:"people acea-row row-middle"},Da=t=>({cname:"小程序直播",name:"liveBroadcast",timestamp:t,isHide:!1,setUp:{tabVal:0},titleLeft:"展示设置",titleContent:"内容展示",titleRight:"直播样式",titleCurrency:"通用样式",styleConfig:{title:"选择风格",tabVal:0,tabList:[{name:"样式一"},{name:"样式二"},{name:"样式三"},{name:"样式四"}]},numberConfig:{title:"直播数量",val:3,min:1},checkboxInfo:{title:"展示信息",name:"checkboxInfo",type:[0,1],list:[{id:0,name:"直播标题"},{id:1,name:"用户名称"}]},liveConfig:{title:"直播间距",val:10,min:0},filletImg:{title:"图片圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:8,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},zIndexConfig:{title:"组件上浮",val:0,min:0},componentBgConfig:{title:"组件背景",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},bottomBgColor:{title:"底部背景",name:"bgColor",default:[{item:"#f5f5f5"}],color:[{item:"#f5f5f5"}]},paddingConfig:{title:"内边距",val:10,min:0,max:100,valList:[{val:10},{val:10},{val:10},{val:10}]},marginConfig:{title:"外边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:8,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}}}),r_=Object.assign({name:"wechat_live",cname:"小程序直播",configName:"c_wechat_live",type:1,defaultName:"liveBroadcast",pluginComponent:!0,icon:"#iconzujian-xiaochengxuzhibo"},{__name:"wechat_live",props:{index:{type:null,default:-1},num:{type:null}},setup(t){const n=t,A=Da(n.num),e=Be(),o=v([{title:"直播中",name:"playBg",type:2,color:"",icon:"iconzhibozhong",goods:[{img:"",price:"199"}]},{title:"预告",name:"notBg",type:1,color:"",icon:"iconweikaishi",goods:[{img:"",price:"199"},{img:"",price:"199"},{img:"",price:"199"}]},{title:"回放",name:"endBg",type:0,color:"",icon:"iconyijieshu",goods:[{img:"",price:"199"},{img:"",price:"199"}]}]),i=v(null),m=v({}),a=v(0),d=v([]),r=v(0),c=v(0),f=v(0),g=v(0);M(m,(b,_)=>{p(b)},{deep:!0}),M(()=>n.num,(b,_)=>{let B=e.defaultArray[b];p(B)},{deep:!0}),M(()=>e.defaultArray,(b,_)=>{let B=e.defaultArray[n.num];p(B)},{deep:!0}),Ce(()=>{ve(()=>{m.value=e.defaultArray[n.num],p(m.value)})});function p(b){if(!b)return;let _=JSON.parse(JSON.stringify(b));for(let I in A)_[I]==null&&(_[I]=JSON.parse(JSON.stringify(A[I])));!b.componentBgConfig&&b.moduleColor&&(_.componentBgConfig.colorConfig.color[0].item=b.moduleColor.color[0].item,_.componentBgConfig.colorConfig.color[1].item=b.moduleColor.color[1].item),b.paddingConfig||(_.topConfig&&(_.paddingConfig.valList[0].val=_.topConfig.val),_.bottomConfig&&(_.paddingConfig.valList[2].val=_.bottomConfig.val),_.prConfig&&(_.paddingConfig.valList[1].val=_.prConfig.val,_.paddingConfig.valList[3].val=_.prConfig.val)),b.marginConfig||_.mbConfig&&(_.marginConfig.valList[0].val=_.mbConfig.val),i.value=_,a.value=_.styleConfig.tabVal,d.value=_.checkboxInfo.type,r.value=_.liveConfig.val;let B=_.filletImg.type,y=_.filletImg.val,Q=_.filletImg.valList;c.value=B?Q[0].val+"px "+Q[1].val+"px "+Q[3].val+"px "+Q[2].val+"px":y+"px",f.value=B?Q[0].val+"px 0 10px 0":y+"px 0 10px 0",g.value=B?"0 0 "+Q[3].val+"px "+Q[2].val+"px":"0 0 "+y+"px "+y+"px"}return(b,_)=>{const B=X("common_wrapper");return s(),ce(B,{config:i.value},{default:P(()=>[l("div",{class:ue(["live-broadcast",a.value==2?"on":""])},[a.value==0?(s(),u("div",EC,[(s(!0),u(q,null,ae(o.value,(y,Q)=>(s(),u("div",{class:"live-item-a",style:U({marginBottom:r.value+"px"}),key:Q},[l("div",SC,[l("div",{class:"empty-box",style:U({borderRadius:c.value})},[..._[0]||(_[0]=[l("img",{src:he},null,-1)])],4),y.type==1?(s(),u("div",LC,[..._[1]||(_[1]=[l("span",{class:"txt"},"预告",-1),l("span",{class:"msg"},"08月08日 20:00",-1)])])):O("",!0),y.type==0?(s(),u("div",NC,"回放")):O("",!0),y.type==2?(s(),u("div",kC,[..._[2]||(_[2]=[l("span",{class:"iconfont iconzhibozhong"},null,-1),se("直播中",-1)])])):O("",!0)]),l("div",VC,[d.value.indexOf(0)!=-1?(s(),u("div",OC,"这里是直播标题这里是直播标题这里是直播标题...")):O("",!0),d.value.indexOf(1)!=-1?(s(),u("div",DC,[..._[3]||(_[3]=[l("img",{src:mA,alt:""},null,-1),l("span",null,"主播:王小丫",-1)])])):O("",!0)])],4))),128))])):a.value==2?(s(),u("div",HC,[(s(!0),u(q,null,ae(o.value,(y,Q)=>(s(),u("div",{class:"live-item-b",style:U({marginRight:r.value+"px"}),key:Q},[l("div",TC,[l("div",{class:"empty-box",style:U({borderRadius:c.value})},[..._[4]||(_[4]=[l("img",{src:he},null,-1)])],4),y.type==1?(s(),u("div",{key:0,class:"label bgblue",style:U({borderRadius:f.value})},[l("span",{class:"txt",style:U({borderRadius:f.value})},"预告",4),_[5]||(_[5]=l("span",{class:"msg"},"08月08日 20:00",-1))],4)):O("",!0),y.type==0?(s(),u("div",{key:1,class:"label bggary",style:U({borderRadius:f.value})}," 回放 ",4)):O("",!0),y.type==2?(s(),u("div",{key:2,class:"label bgred",style:U({borderRadius:f.value})},[..._[6]||(_[6]=[l("span",{class:"iconfont iconzhibozhong"},null,-1),se("直播中 ",-1)])],4)):O("",!0)]),l("div",jC,[d.value.indexOf(0)!=-1?(s(),u("div",RC,"直播标题直播标题直播标 题直播标题")):O("",!0),d.value.indexOf(1)!=-1?(s(),u("div",MC,[..._[7]||(_[7]=[l("img",{src:mA,alt:""},null,-1),l("span",null,"主播:王小丫",-1)])])):O("",!0)])],4))),128))])):a.value==1?(s(),u("div",KC,[(s(!0),u(q,null,ae(o.value,(y,Q)=>(s(),u("div",{class:"live-item-a",style:U({marginBottom:r.value+"px"}),key:Q},[l("div",PC,[l("div",{class:"empty-box",style:U({borderRadius:c.value})},[..._[8]||(_[8]=[l("img",{src:he},null,-1)])],4),y.type==1?(s(),u("div",GC,[..._[9]||(_[9]=[l("span",{class:"txt"},"预告",-1),l("span",{class:"msg"},"08月08日 20:00",-1)])])):O("",!0),y.type==0?(s(),u("div",zC,"回放")):O("",!0),y.type==2?(s(),u("div",JC,[..._[10]||(_[10]=[l("span",{class:"iconfont iconzhibozhong"},null,-1),se("直播中",-1)])])):O("",!0)]),l("div",YC,[l("div",XC,[d.value.indexOf(0)!=-1?(s(),u("div",WC,"直播标题直播标题直播标 题直播标题")):O("",!0)]),l("div",$C,[y.goods.length>0?(s(!0),u(q,{key:0},ae(y.goods,(I,N)=>(s(),u("div",{class:"goods-item",key:N},[_[11]||(_[11]=l("img",{src:he,alt:""},null,-1)),N<2?(s(),u("span",ZC,"¥"+$(I.price),1)):(s(),u("span",qC,"+5"))]))),128)):O("",!0)])])],4))),128))])):(s(),u("div",e_,[(s(!0),u(q,null,ae(o.value,(y,Q)=>(s(),u("div",{key:Q},[Q==0?(s(),u("div",t_,[l("div",{class:"img-box",style:U({borderRadius:c.value})},[_[14]||(_[14]=l("div",{class:"empty-box"},[l("img",{src:he})],-1)),y.type==2?(s(),u("div",o_,[..._[12]||(_[12]=[l("span",{class:"iconfont iconzhibozhong"},null,-1),se("直播中",-1)])])):O("",!0),d.value.indexOf(0)!=-1||d.value.indexOf(1)!=-1?(s(),u("div",{key:1,class:"info",style:U({borderRadius:g.value})},[d.value.indexOf(0)!=-1?(s(),u("div",A_," 这里是直播标题这里是直播标题这里是直播标题... ")):O("",!0),d.value.indexOf(1)!=-1?(s(),u("div",n_,[..._[13]||(_[13]=[l("img",{src:mA,alt:""},null,-1),l("span",null,"主播:王小丫",-1)])])):O("",!0)],4)):O("",!0)],4)])):(s(),u("div",{key:1,class:"live-item-d on",style:U({marginTop:r.value+"px"})},[l("div",l_,[y.type==1?(s(),u("div",i_,"预告")):O("",!0),y.type==0?(s(),u("div",a_,"回放")):O("",!0),d.value.indexOf(0)!=-1?(s(),u("div",s_,"这里是直播标题这里...")):O("",!0)]),d.value.indexOf(1)!=-1?(s(),u("div",c_,[..._[15]||(_[15]=[l("img",{src:mA,alt:""},null,-1),l("div",{class:"acea-row row-middle"},[l("span",null,"主播:王小丫"),l("div",{class:"line"}),l("span",null,"08月28日 18:00")],-1)])])):O("",!0)],4))]))),128))]))],2)]),_:1},8,["config"])}}}),u_=fe(r_,[["__scopeId","data-v-073165de"]]),d_=Object.freeze(Object.defineProperty({__proto__:null,default:u_,getDefaultConfig:Da},Symbol.toStringTag,{value:"Module"})),Ha=t=>({cname:"辅助空白",name:"blankPage",timestamp:t,isHide:!1,setUp:{tabVal:0},zIndexConfig:{title:"组件上浮",val:0,min:0},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},titleLeft:"高度设置",titleRight:"通用样式",bgColor:{title:"组件背景",name:"bgColor",default:[{item:"#f5f5f5"}],color:[{item:"#f5f5f5"}]},bottomBgColor:{title:"底部背景",name:"bgColor",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},heightConfig:{title:"组件高度",val:10,min:1},paddingConfig:{title:"内边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},marginConfig:{title:"外边距",isAll:!1,val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]}}),m_=Object.assign({name:"z_auxiliary_box",cname:"辅助空白",configName:"c_auxiliary_box",icon:"#iconzujian-fuzhukongbai",type:2,defaultName:"blankPage"},{__name:"z_auxiliary_box",props:{index:{type:null,default:-1},num:{type:null}},setup(t){const n=t,A=Ha(n.num),e=Be(),o=v(""),i=v(""),m=v({}),a=v(null),d=v(0),r=v(0),c=v([]);M(m,(g,p)=>{f(g)},{deep:!0}),M(()=>n.num,(g,p)=>{let b=e.defaultArray[g];f(b)},{deep:!0}),M(()=>e.defaultArray,(g,p)=>{let b=e.defaultArray[n.num];f(b)},{deep:!0}),Ce(()=>{ve(()=>{m.value=e.defaultArray[n.num],f(m.value)})});function f(g){if(g){a.value=g;for(let p in A)g[p]==null&&(g[p]=JSON.parse(JSON.stringify(A[p])));o.value=g.heightConfig.val,i.value=g.bgColor.color[0].item,d.value=g.fillet.type,r.value=g.fillet.val,c.value=g.fillet.valList}}return(g,p)=>{const b=X("common_wrapper");return s(),ce(b,{config:a.value},{default:P(()=>[l("div",{class:"box",style:U({height:o.value+"px",background:i.value,borderRadius:d.value?c.value[0].val+"px "+c.value[1].val+"px "+c.value[3].val+"px "+c.value[2].val+"px":r.value+"px"})},null,4)]),_:1},8,["config"])}}}),g_=fe(m_,[["__scopeId","data-v-dcc33c2c"]]),f_=Object.freeze(Object.defineProperty({__proto__:null,default:g_,getDefaultConfig:Ha},Symbol.toStringTag,{value:"Module"})),Ta=t=>({cname:"辅助线",name:"guide",timestamp:t,isHide:!1,setUp:{tabVal:0},titleLeft:"展示设置",titleRight:"线条样式",titleCurrent:"通用样式",zIndexConfig:{title:"组件上浮",val:0,min:0},lineColor:{title:"线条颜色",default:[{item:"#f5f5f5"}],color:[{item:"#f5f5f5"}]},lineBgColor:{title:"底部背景",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},lineStyle:{title:"选择样式",tabVal:1,tabList:[{name:"虚线",style:"dashed"},{name:"实线",style:"solid"},{name:"点状线",style:"dotted"}]},paddingConfig:{title:"内边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},heightConfig:{title:"线条高度",val:10,min:1},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},componentBgConfig:{title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#F5F5F5"},{item:"#F5F5F5"}],color:[{item:"#F5F5F5"},{item:"#F5F5F5"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}},marginConfig:{title:"外边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]}}),v_=Object.assign({name:"z_auxiliary_line",cname:"辅助线",configName:"c_auxiliary_line",icon:"#iconzujian-fuzhuxian",type:2,defaultName:"guide"},{__name:"z_auxiliary_line",props:{index:{type:null,default:-1},num:{type:null}},setup(t){const n=t,A=Ta(n.num),e=Be(),o=v(null),i=v(""),m=v({}),a=v(""),d=v("");M(m,(c,f)=>{r(c)},{deep:!0}),M(()=>n.num,(c,f)=>{let g=e.defaultArray[c];r(g)},{deep:!0}),M(()=>e.defaultArray,(c,f)=>{let g=e.defaultArray[n.num];r(g)},{deep:!0}),Ce(()=>{ve(()=>{m.value=e.defaultArray[n.num],r(m.value)})});function r(c){if(!c)return;o.value=c,o.value.bottomBgColor=c.lineBgColor;let f=c.lineStyle.tabVal;i.value=c.lineBgColor.color[0].item,d.value=c.lineColor.color[0].item,a.value=c.lineStyle.tabList[f].style;for(let g in A)o.value[g]===void 0&&(o.value[g]=A[g]);c.paddingConfig||(c.paddingConfig={isAll:!1,valList:[{val:c.topConfig?c.topConfig.val:0},{val:c.lrEdge?c.lrEdge.val:0},{val:c.bottomConfig?c.bottomConfig.val:0},{val:c.lrEdge?c.lrEdge.val:0}]}),c.marginConfig||(c.marginConfig={isAll:!1,valList:[{val:0},{val:0},{val:c.mbConfig?c.mbConfig.val:0},{val:0}]})}return(c,f)=>{const g=X("common_wrapper");return s(),ce(g,{config:o.value},{default:P(()=>[l("div",{class:"box",style:U({borderBottomColor:d.value,borderBottomStyle:a.value,borderBottomWidth:`${o.value&&o.value.heightConfig.val}px`})},null,4)]),_:1},8,["config"])}}}),p_=fe(v_,[["__scopeId","data-v-131bf89f"]]),C_=Object.freeze(Object.defineProperty({__proto__:null,default:p_,getDefaultConfig:Ta},Symbol.toStringTag,{value:"Module"})),__=["innerHTML"],ja=t=>({cname:"富文本",name:"richText",timestamp:t,isHide:!1,setUp:{tabVal:0},zIndexConfig:{title:"组件上浮",val:0,min:0},borderConfig:{title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}},shadowConfig:{title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}},titleLeft:"富文本内容",titleRight:"通用样式",bgColor:{title:"组件背景",name:"bgColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},bottomBgColor:{title:"底部背景",name:"bgColor",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},paddingConfig:{title:"内边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},marginConfig:{title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},richText:{val:""},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]}}),b_=Object.assign({name:"z_ueditor",cname:"富文本",configName:"c_ueditor_box",icon:"#iconzujian-fuwenben",type:2,defaultName:"richText"},{__name:"z_ueditor",props:{index:{type:null,default:-1},num:{type:null}},setup(t){const n=t,A=ja(n.num),e=Be(),o=v(null),i=v(""),m=v({}),a=v(""),d=v(""),r=v(0),c=v(0),f=v([]),g=v({valList:[{val:0},{val:0},{val:0},{val:0}]}),p=v({valList:[{val:0},{val:0},{val:0},{val:0}]});M(m,(_,B)=>{b(_)},{deep:!0}),M(()=>n.num,(_,B)=>{let y=e.defaultArray[_];b(y)},{deep:!0}),M(()=>e.defaultArray,(_,B)=>{let y=e.defaultArray[n.num];b(y)},{deep:!0}),Ce(()=>{ve(()=>{m.value=e.defaultArray[n.num],b(m.value)})});function b(_){if(_){o.value=_;for(let B in A)_[B]==null&&(_[B]=A[B]);i.value=_.bgColor.color[0].item,d.value=_.bottomBgColor.color[0].item,a.value=_.richText.val,r.value=_.fillet.type,c.value=_.fillet.val,f.value=_.fillet.valList,g.value=_.paddingConfig||{valList:[{val:_.topConfig?_.topConfig.val:0},{val:_.lrConfig?_.lrConfig.val:0},{val:_.bottomConfig?_.bottomConfig.val:0},{val:_.lrConfig?_.lrConfig.val:0}]},p.value=_.marginConfig||{valList:[{val:_.udConfig?_.udConfig.val:0},{val:0},{val:0},{val:0}]}}}return(_,B)=>{const y=X("common_wrapper");return s(),ce(y,{config:o.value},{default:P(()=>[l("div",{class:"box",style:U({background:i.value,borderRadius:r.value?f.value[0].val+"px "+f.value[1].val+"px "+f.value[3].val+"px "+f.value[2].val+"px":c.value+"px"}),innerHTML:a.value},null,12,__)]),_:1},8,["config"])}}}),B_=fe(b_,[["__scopeId","data-v-435db369"]]),h_=Object.freeze(Object.defineProperty({__proto__:null,default:B_,getDefaultConfig:ja},Symbol.toStringTag,{value:"Module"})),fl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFwAAABcCAYAAADj79JYAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAmnSURBVHic7Z1diBvXFcd/Z1ba2Q9JSezdUkMe6jyk2HjjQlKW1gXbTw204ECpaxIoxKX0wW+xiUnqOvTDLmk3fSs4Da6bQkKdUrChBj/FNtQpbhKIvWndGhoXGnDaXduNPlY7Gs2cPoy0q5W1kkYzo5Fn9weDdqTRPVf/PXPvmXvvnBEGjDnV7LjNFhs+Ly7bETYDmwQmEB5CyQDDtcMrCEWUuwrzwC2Um2pwNQ3/KKW5PilSiO/X3IvEXYG5Oc2OZplG+KoLXxF4DBgLqfgFhWsG/AmD8+X/8ZfJyXj/AbEIrqqZBYedrsOzCDtRJvpiWJhHuWQop8ZMLolIsS92V1ShjxQs3SKwX5V9CA/303YzAv924TRwMmfK3/toN3pKFX3CVZ4Hvg6M9sOmD8rAHw3hZ+PD8l7UxiIV/E5Bt6WHOSrCHtWljm4gEagonAV+mDXlrxHaCZ98XicwOSzC91CyUdiIDKGgyqtYvJzLyXz4xYdM3tI9KL8Q4ZGwy+4z/1Q4mDPlbJiFhia4qm4oWhxD+C4wFFa5MeMg/MpNc+QBkTthFBiK4HeKOpVO8wYwFUZ5A8gs8HTWlA+DFmQELaBg6d50irdJrtgAUygXFqr6zaAFBRK8uKgHgdeRPl24xIkw4Tj8Nu/95p7pSfALqqmCpcdUmAFGglTgPmNEhJm8pccuXNBULwX4bsMvqKYet/ipCId6MZgUBH7+7ju8uHu3VH1+zx8FS48BL/r9XhJROJ4z5ft+vuNL8KKtB9Vlxl+1ko0qh3Ij8kq3x3cteMHSvcDrrK02uxsWh4b49lhKft/NwV0JXrR0SpW310Q00gvKPMLubuL0jlGKqm5Q4Y11sdvgafPmp6obOh3aUfCizTE00Rc1YTGVsvlJp4PaNiklS/e48AeSMzYSNY7CN9oNeK0qeG2I9Ypw34/69RVVPqLC9GpDu6s2KYbJ4XWx/SPCI5gcXvXzVm8WLN2G8M59N3kwKAgFlC+1mjlazcOProsdAE+7l1p9dI+Hlyr6hMLlQZ+DHHQEKiLsaJ6YvsfDXeVwVGIv2PDfBbhVhP+U4O4iOG4UluJHYbi2UmEFKzy8tm7kfY1gKUOhAgULtMmoCHxmDIYCT4UMJGXg8awp1+tvrPiZAvujENtyIF8TG7zX+uYqzJfDtjgwjArsb3xjSXBVzaiyLwqrC7bn1attjuv9U5KIKvtUNVPfXxK8YLErquVnjrvSq1ttrq7+/fsa4eEFi5313SXBRXg2QqNL3lzbbbmfVNwGbQ3wlgzD8n8hbMZSy54MKz0bvI5zOMmjNcLOmsae4KNZpoGNUdkbSUHKWL0Nzw6DkWQXVyZqGnuCu/BklPYMgYlRz4ub2+6cCZk1cIlV1zgFIMKOqA0OGTAxBrYLtuPtp42Ee3YjNY1FVbPFCp8Q3m0e67RmITPMZ428zVYSKLblQMkeqHBzLG+zNTUEjw5OncKhWPGGEsATfePIYAwdDMGjBrA97oqEScXxBK9HQK4Ld624a7XEdkOVzXHXIkyKNktqS+216kLZ14K0aFBlswFsirsiYbFQ9SKgVlexJdub4Y2ZTQYwGXctwkAVFupNidz76rpQqsRcSZhMKTyUhFC4VK2NtTe6dtOr5XhePhTXDxYeNATGYzKPo177GhTbhcUOQ8D1LR9nB6pkUoAZh+2y7bW54IVsDwaoRbna4NkdcBWsKpg9LacPjBlLdGq7y2KDN15etnsra7HWUfqh7MR3QWQAfT/JynatQ2vYehFB8QRvLqvT5mpsYaJlKJT6arHWcbVqXxd9ilC2lyel/W4Vp/8rBhRKhsDdPhr0PJLVRah02TxUXe/YXsRujM37icBdA5jrl0Gr5sHtTnerSy8v99CUNG9K3yev51LArX5YquqyR7ajLoLZZsrNcrwLnTDCadvp67j8LUOVf/XDUsVH+1xp04G62n2z0w1hl9cOEW6mDIMPNOIQyXZrHaUPL6o43lxoM/UmwE9ZnbBdSLnevGvEXE05cCNKO0p3TUkzVdfzvsZT3VEvsoji7K840QvuwA1R1Wypwica0axPxfE8qBcMYDTt/a14l+9RRnLDBqSjW67hTbGJSEHhWhQW3NpYSa9hm7I81lJ1e4+5u92q6nXGUaBwTUQKBoAKl6MwsiR2Yzjmc7/etDhub9/3sw+9n40dUU9jA8BwOR92+Y7WBvybG1yf+/UwUbs8Puh+vZ8IGwNP4xRA2eTKSIXbhLT6qt4U9Ce0DZ+qhn6f5O1ygStQ8/BaftZLYZVej6GDXgnGtUHIXm5wsZ6CtWF9OKfCKLu+9DjKzq0fm6MNzVhQTRx+U/976axX1UyxwnUItkbccQdq8U0gDAlhPYvyccZkSz3PbcP6cCmqcjpg8UvziknYwvAbEX7XmFTYaPrwpHg3AgUxkBiC/haBssKvG99bIXjWlOsK54IYGRLvVIzbO4NuhgQfQXThXOMdbNDQhtf5tKRfNFJcBtLBzK1tRKgIXdwY+8C4vAuc6VvNEooqZ1ulx2550hQs3abwZ4FMq8/X6YCX3ODLrVIytQx6sqZ8aMCJ6GuWTFR5dbX8V6t2C/m8TojJFdZzpvii5wQ1uZzMKxwEEnqPcCQ4CM+1S/Te9joqZ8oZhNfCr1dCUV7rlOC9Y6SZz+tGMbkIbAurXgllNjPMLumQ2L3jSEEuJ7cFnkYJ/XkIiUGZt22e6SQ2dJnOOmPKLMIBYDFw5ZLHIsKBDRmZ7ebgrsfCsqa8pcoPeq9XMhHlSNaUt7o93tfgY25EZoDjvmuVXI5nfGRWhh4y5GeGeUlYT2mtysx7w60zt7XDt+AiUh0f5gXWtqcff9/khd3iLzs+dBEWtiO/qIdE+DFrJ6f4ohgcyaT9NSONBJ4uKFi6F+WXJD3dtZcj/ICfDrIVoczPFC2dUniTpF4cCbOiPJMxuwv92hHK8sWMKbPqJSk7QbLGXhyEE5k0u8IQG0Ly8Ebylj4FvCL3+SijwkdD8Nx4yA+/C32Bbs6UM1hMC8wgDNQDoLtCKAjMYDEdtthe8RFSsHQbcBR4igGfIxWhospZ4EdhPORuVTtRFdxIbWL6eYGvRZFqNQi1pQznDOHl+/4Rvc0ULN2iyndE+BYBV3gFRvlY4bQIJ5uXMkRJLMt2VDVTsNglXsbKnUSYM7GJ28AlVU5lTS4m/jHrrZib0+xolmnX4ElRdgCPEd7tLwvANVUuG3C+XOBKfRVrXMQueDOqms3bbB2CR12XL4jwObysRZO13C7jLGfAsBRK4t1NPQfcEuEmcNWBG7k0fxOJV+Bm/g/mpH29/MzJaAAAAABJRU5ErkJggg==",y_={key:0,class:"flex-box"},w_={class:"left"},Q_={class:"img-box"},x_={class:"empty-box on"},I_=["src"],U_={key:1,src:fl},F_={class:"name"},E_={class:"right"},Ra=t=>({cname:"关注公众号",name:"follow",timestamp:t,isHide:!1,setUp:{tabVal:0},titleLeft:"标题设置",positionTitle:"位置设置",pictrueTitle:"图片设置",codeTitle:"关注二维码",titleRight:"关注按钮",titleCurrency:"通用样式",positionConfig:{title:"展示位置",tabVal:0,tabList:[{name:"顶部"},{name:"底部"}]},titleConfig:{title:"标题名称",value:"标题",place:"请输入标题",max:10},imgConfig:{info:"建议:图片尺寸92px * 92px",url:"",type:"code",name:"上传图片"},codeConfig:{url:"",type:"code",name:"上传二维码"},themeColor:{title:"按钮颜色",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},bgColor:{title:"背景颜色",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},paddingConfig:{title:"内边距",isAll:!1,val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},marginConfig:{title:"外边距",isAll:!1,val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},fillet:{title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]}}),S_=Object.assign({name:"z_wechat_attention",cname:"关注公众号",configName:"c_wechat_attention",icon:"#iconzujian-gongzhonghao",type:2,defaultName:"follow"},{__name:"z_wechat_attention",props:{index:{type:null,default:-1},num:{type:null}},setup(t){const n=t,A=Ra(n.num),e=Be(),o=pe(()=>({...i.value})),i=v(null),m=v(""),a=v({}),d=v(""),r=v(""),c=v(""),f=v(0),g=v(0),p=v([]),b=v(0);M(a,(B,y)=>{_(B)},{deep:!0}),M(()=>n.num,(B,y)=>{let Q=e.defaultArray[B];_(Q)},{deep:!0}),M(()=>e.defaultArray,(B,y)=>{let Q=e.defaultArray[n.num];_(Q)},{deep:!0}),Ce(()=>{ve(()=>{a.value=e.defaultArray[n.num],_(a.value)})});function _(B){if(B){i.value=B,m.value=B.bgColor.color,d.value=B.themeColor.color[0].item,r.value=B.imgConfig.url,c.value=B.titleConfig.value,f.value=B.fillet.type,g.value=B.fillet.val,p.value=B.fillet.valList,b.value=f.value?p.value[0].val+"px "+p.value[1].val+"px "+p.value[3].val+"px "+p.value[2].val+"px":g.value+"px",i.value.paddingConfig||(i.value.paddingConfig={title:"内边距",isAll:!1,val:0,min:0,max:100,valList:[{val:0},{val:B.prConfig?B.prConfig.val:0},{val:0},{val:B.prConfig?B.prConfig.val:0}]}),i.value.marginConfig||(i.value.marginConfig={title:"外边距",isAll:!1,val:0,min:0,max:100,valList:[{val:B.mbConfig?B.mbConfig.val:0},{val:0},{val:0},{val:0}]});for(let y in A)i.value[y]===void 0&&(i.value[y]=A[y])}}return(B,y)=>{const Q=X("common_wrapper");return s(),ce(Q,{config:o.value},{default:P(()=>[i.value?(s(),u("div",y_,[l("div",w_,[l("div",Q_,[l("div",x_,[r.value?(s(),u("img",{key:0,src:r.value,alt:""},null,8,I_)):(s(),u("img",U_))])]),l("div",F_,$(c.value),1)]),l("div",E_,[l("div",{class:"btn",style:U({borderColor:d.value,color:d.value})},"关注",4),y[0]||(y[0]=l("div",{class:"iconfont iconguanbi5"},null,-1))])])):O("",!0)]),_:1},8,["config"])}}}),L_=fe(S_,[["__scopeId","data-v-98340631"]]),N_=Object.freeze(Object.defineProperty({__proto__:null,default:L_,getDefaultConfig:Ra},Symbol.toStringTag,{value:"Module"})),_o=Object.assign({"./banner.vue":Hc,"./common_wrapper.vue":sc,"./home_bargain.vue":Xc,"./home_bottom_menu.vue":nr,"./home_comb.vue":yr,"./home_coupon.vue":Vr,"./home_custom_component.vue":Gr,"./home_good_recommend.vue":Iu,"./home_goods_list.vue":Qd,"./home_hot.vue":Od,"./home_hotspot.vue":Rd,"./home_info_card.vue":Gd,"./home_member.vue":dg,"./home_menu.vue":yg,"./home_new_list.vue":Kg,"./home_news_roll.vue":qg,"./home_paid_vip.vue":lf,"./home_pink.vue":bf,"./home_product.vue":Of,"./home_product_desc.vue":jf,"./home_product_info.vue":dv,"./home_product_service.vue":Qv,"./home_reviews.vue":Kv,"./home_seckill.vue":Ap,"./home_service.vue":cp,"./home_spec_preview.vue":fp,"./home_store_card.vue":_p,"./home_time_card.vue":yp,"./home_title.vue":Ip,"./home_userInfor.vue":t0,"./home_video.vue":l0,"./nav_bar.vue":c0,"./picture_cube.vue":nC,"./points_mall.vue":mC,"./search_box.vue":pC,"./sign_in.vue":FC,"./wechat_live.vue":d_,"./z_auxiliary_box.vue":f_,"./z_auxiliary_line.vue":C_,"./z_ueditor.vue":h_,"./z_wechat_attention.vue":N_}),jA={};Object.keys(_o).forEach(t=>{const n=Ki(_o[t].default);_o[t].getDefaultConfig&&(n.getDefaultConfig=_o[t].getDefaultConfig),_o[t].defaultConfig&&(n.defaultConfig=_o[t].defaultConfig),jA[t.replace(/(\.\/|\.vue)/g,"")]=n});const k_={key:0,class:"txt_tab"},V_={class:"c_row-item"},O_={class:"c_label"},D_={class:"c_radio-group"},H_=Object.assign({name:"c_align"},{__name:"c_align",props:{configObj:{type:Object},configNme:{type:String}},emits:["getConfig"],setup(t,{emit:n}){const A=t,e=n,o=v({}),i=v({}),m=v({left:{val:"居左",icon:"iconzuoduiqi",key:"left"},center:{val:"居中",icon:"iconjuzhongduiqi",key:"center"},right:{val:"居右",icon:"iconyouduiqi",key:"right"}});M(()=>A.configObj,d=>{o.value=d,i.value=d[A.configNme]},{immediate:!0,deep:!0});function a(d){e("getConfig",{name:"radio",values:d})}return(d,r)=>{const c=X("el-radio-button"),f=X("el-radio-group");return i.value?(s(),u("div",k_,[l("div",V_,[l("div",O_,[se($(i.value.title)+" ",1),l("span",null,$(m.value[i.value.val].val),1)]),l("div",D_,[L(f,{modelValue:i.value.val,"onUpdate:modelValue":r[0]||(r[0]=g=>i.value.val=g),type:"button",onChange:r[1]||(r[1]=g=>a(g))},{default:P(()=>[(s(!0),u(q,null,ae(m.value,(g,p)=>(s(),ce(c,{label:g.key,value:g.key,key:p},{default:P(()=>[l("span",{class:ue(["iconfont",g.icon])},null,2)]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])])])])):O("",!0)}}}),T_=fe(H_,[["__scopeId","data-v-bed0bb94"]]),j_=Object.freeze(Object.defineProperty({__proto__:null,default:T_},Symbol.toStringTag,{value:"Module"})),R_={key:0,class:"article-box"},M_={class:"list-box"},K_={class:"item"},P_={class:"img-box"},G_=["src"],z_={key:1,class:"empty-img"},J_={class:"info"},Y_={class:"name line1"},X_=["onClick"],W_={class:"article-manager"},$_={class:"padding-add"},Z_={key:0,class:"tabBox_img"},q_=["src"],eb={class:"acea-row row-right page",style:{"margin-top":"20px"}},tb={class:"dialog-footer"},ob=Object.assign({name:"c_article"},{__name:"c_article",props:{configObj:{type:Object},configNme:{type:String}},setup(t){const n=t,A=v(!1),e=v({}),o=v(!1),i=v({pid:0,title:"",page:1,limit:10}),m=v(0),a=v([]),d=v([]),r={value:"id",label:"title",emitPath:!1,checkStrictly:!0},c=v([]);function f(h){if(h!==0){let E=new Date(h*1e3);return hc(E,"yyyy-MM-dd hh:mm")}}function g(h){return e.value[n.configNme].list.indexOf(h)}M(()=>n.configObj,(h,E)=>{e.value=h},{immediate:!0,deep:!0}),e.value=n.configObj,B(),M(A,h=>{h&&_()});function p(h){c.value=h}function b(){if(c.value.length===0)return Ve.warning("请至少选择一篇文章");let h=e.value[n.configNme].list,E=[];if(c.value.forEach(F=>{h.some(j=>j.id===F.id)||E.push(F)}),E.length===0)return Ve.warning("您选择的文章已存在");e.value[n.configNme].list=h.concat(E),Ve.success("添加成功"),A.value=!1}function _(){o.value=!0,$i(i.value).then(h=>{a.value=h.data.list,m.value=h.data.count,o.value=!1}).catch(h=>{o.value=!1,Ve.error(h.msg)})}function B(){Wi({status:1,type:1}).then(h=>{d.value=y(h.data),d.value.unshift({id:0,title:"全部"})}).catch(h=>{Ve.error(h.msg)})}function y(h){return h.map(E=>({id:E.id,title:E.title,children:E.children?y(E.children):null}))}function Q(h){i.value.pid=h||0,i.value.page=1,_()}function I(){i.value.page=1,_()}function N(h){i.value.page=h,_()}function w(h){e.value[n.configNme].list.splice(h,1)}return(h,E)=>{const F=X("el-button"),x=X("el-cascader"),j=X("el-form-item"),D=X("el-input"),V=X("el-form"),S=X("el-table-column"),k=X("el-table"),K=X("el-pagination"),J=X("el-dialog"),ee=jt("loading");return e.value[t.configNme]?(s(),u("div",R_,[E[14]||(E[14]=l("div",{class:"title-bar"},"文章列表",-1)),l("div",M_,[L(de(mt),{class:"dragArea list-group",list:e.value[t.configNme].list,group:"peoples",handle:".move-icon","item-key":g},{item:P(({element:T,index:H})=>[l("div",K_,[E[9]||(E[9]=l("div",{class:"move-icon"},[l("span",{class:"iconfont iconxingzhuangjiehe"})],-1)),l("div",P_,[T.image_input&&T.image_input.length?(s(),u("img",{key:0,src:T.image_input[0],alt:""},null,8,G_)):(s(),u("div",z_,[...E[8]||(E[8]=[l("i",{class:"el-icon-picture"},null,-1)])]))]),l("div",J_,[l("div",Y_,$(T.title),1)]),l("span",{class:"iconfont iconshanchu3",onClick:Re(R=>w(H),["stop"])},null,8,X_)])]),_:1},8,["list"]),l("div",{class:"add-btn",onClick:E[0]||(E[0]=T=>A.value=!0)},[L(F,{class:"btn"},{default:P(()=>[...E[10]||(E[10]=[l("span",{class:"iconfont iconaddto"},null,-1),se("添加",-1)])]),_:1})])]),L(J,{modelValue:A.value,"onUpdate:modelValue":E[7]||(E[7]=T=>A.value=T),title:"文章列表",class:"paymentFooter",width:"900px","destroy-on-close":!0,"close-on-click-modal":!1},{footer:P(()=>[l("span",tb,[L(F,{onClick:E[6]||(E[6]=T=>A.value=!1)},{default:P(()=>[...E[12]||(E[12]=[se("取 消",-1)])]),_:1}),L(F,{type:"primary",onClick:b},{default:P(()=>[...E[13]||(E[13]=[se("确 定",-1)])]),_:1})])]),default:P(()=>[l("div",W_,[l("div",$_,[L(V,{model:i.value,"label-width":"80px","label-position":"right",onSubmit:E[3]||(E[3]=Re(()=>{},["prevent"])),inline:""},{default:P(()=>[L(j,{label:"文章分类:","label-for":"pid"},{default:P(()=>[L(x,{modelValue:i.value.pid,"onUpdate:modelValue":E[1]||(E[1]=T=>i.value.pid=T),placeholder:"请选择",class:"treeSel",onChange:Q,options:d.value,props:r,style:{width:"250px"},clearable:""},null,8,["modelValue","options"])]),_:1}),L(j,{label:"文章搜索:","label-for":"title"},{default:P(()=>[L(D,{clearable:"",placeholder:"请输入",modelValue:i.value.title,"onUpdate:modelValue":E[2]||(E[2]=T=>i.value.title=T),class:"form_content_width"},null,8,["modelValue"])]),_:1}),L(j,null,{default:P(()=>[L(F,{type:"primary",onClick:I},{default:P(()=>[...E[11]||(E[11]=[se("查询",-1)])]),_:1})]),_:1})]),_:1},8,["model"])]),Ze((s(),ce(k,{data:a.value,ref:"table",class:"mt14","highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果",height:"400",onSelectionChange:p},{default:P(()=>[L(S,{type:"selection",width:"55"}),L(S,{label:"ID",width:"80",prop:"id"}),L(S,{label:"文章图片","min-width":"90"},{default:P(T=>[T.row.image_input&&T.row.image_input.length?(s(),u("div",Z_,[l("img",{src:T.row.image_input[0]},null,8,q_)])):O("",!0)]),_:1}),L(S,{label:"文章名称","min-width":"130",prop:"title"}),L(S,{label:"分类","min-width":"130",prop:"catename"}),L(S,{label:"时间","min-width":"130"},{default:P(T=>[l("span",null,$(f(T.row.add_time)),1)]),_:1})]),_:1},8,["data"])),[[ee,o.value]]),l("div",eb,[m.value?(s(),ce(K,{key:0,total:m.value,"current-page":i.value.page,"onUpdate:currentPage":E[4]||(E[4]=T=>i.value.page=T),"page-size":i.value.limit,"onUpdate:pageSize":E[5]||(E[5]=T=>i.value.limit=T),layout:"prev, pager, next",onCurrentChange:N},null,8,["total","current-page","page-size"])):O("",!0)])])]),_:1},8,["modelValue"])])):O("",!0)}}}),Ab=fe(ob,[["__scopeId","data-v-3d2c5dd1"]]),nb=Object.freeze(Object.defineProperty({__proto__:null,default:Ab},Symbol.toStringTag,{value:"Module"})),lb={key:0,class:"c_row-item"},ib={class:"c_label"},ab={class:"color-box"},sb=["onClick"],cb={key:0,class:"iconfont iconlianjie"},rb=Object.assign({name:"c_bg_color"},{__name:"c_bg_color",props:{configObj:{type:Object},configNme:{type:String}},setup(t){const n=t,A=v({}),e=v({}),o=v(0);M(()=>n.configObj,a=>{A.value=a,e.value=a[n.configNme]},{immediate:!0,deep:!0});function i(a,d){}function m(a,d,r){a.item=e.value.default[r].item}return(a,d)=>{const r=X("el-color-picker"),c=X("el-input");return s(),u("div",null,[e.value&&e.value.color&&e.value.color.length?(s(),u("div",lb,[l("div",ib,$(e.value.title),1),l("div",ab,[(s(!0),u(q,null,ae(e.value.color,(f,g)=>(s(),u("div",{class:"color-item",key:g},[L(r,{modelValue:f.item,"onUpdate:modelValue":p=>f.item=p,onChange:p=>void 0,"show-alpha":""},null,8,["modelValue","onUpdate:modelValue","onChange"]),L(c,{class:"input",modelValue:f.item,"onUpdate:modelValue":p=>f.item=p},null,8,["modelValue","onUpdate:modelValue"]),l("span",{class:"white-space-nowrap",onClick:p=>m(f,o.value,g)},"重置",8,sb)]))),128)),e.value.color.length>1?(s(),u("div",cb)):O("",!0)])])):O("",!0)])}}}),qe=fe(rb,[["__scopeId","data-v-0637802b"]]),ub=Object.freeze(Object.defineProperty({__proto__:null,default:qe},Symbol.toStringTag,{value:"Module"})),db={key:0,class:"title"},mb={class:"list"},gb={class:"item"},fb={class:"name"},vb={class:"picTxt"},pb={key:0,class:"pictrue acea-row row-center-wrapper"},Cb=["src"],_b=["src"],bb={key:1,class:"upload-box"},Bb={class:"tip"},hb={key:0,class:"item"},yb=Object.assign({name:"c_upload_img"},{__name:"c_upload_img",props:{configObj:{type:Object},configNme:{type:String}},setup(t){const n=t,{proxy:A}=Ac(),e=v(null),o=v({}),i=v({}),m=v(!1),a=v("单选"),d=v({xl:4,lg:8,md:8,sm:8,xs:8}),r=v({xl:6,lg:8,md:12,sm:12,xs:12});M(()=>n.configObj,_=>{o.value=_,i.value=_[n.configNme]},{immediate:!0,deep:!0});function c(_){i.value.link=_}function f(){e.value.modals=!0}function g(){i.value.url=""}function p(_){i.value.video==1?A.$videoModal(B=>{i.value.url=B}):m.value=!0}function b(_){ve(()=>{i.value.url=_.att_dir,m.value=!1})}return(_,B)=>{const y=X("el-input"),Q=X("el-dialog");return i.value?(s(),u("div",{key:0,class:ue(["upload_img",i.value.type=="code"?"on":""])},[i.value.title?(s(),u("div",db,$(i.value.title),1)):O("",!0),l("div",mb,[l("div",gb,[l("div",fb,$(i.value.type=="code"?i.value.name:"图片"),1),l("div",vb,[l("div",{class:"box",onClick:B[0]||(B[0]=I=>p())},[i.value.url?(s(),u("div",pb,[i.value.video?(s(),u("video",{key:0,src:i.value.url},null,8,Cb)):(s(),u("img",{key:1,src:i.value.url,alt:""},null,8,_b)),i.value.delType?(s(),u("div",{key:2,class:"iconfont icondel_1",onClick:Re(g,["stop"])})):O("",!0)])):(s(),u("div",bb,[...B[3]||(B[3]=[l("i",{class:"el-icon-plus"},null,-1)])]))]),l("div",Bb,$(i.value.info),1)])]),i.value.type!="code"&&o.value.name=="customerService"&&o.value.buttonConfig.tabVal==0?(s(),u("div",hb,[B[4]||(B[4]=l("div",{class:"name"},"链接",-1)),L(y,{modelValue:i.value.link,"onUpdate:modelValue":B[1]||(B[1]=I=>i.value.link=I),placeholder:"输入链接"},{suffix:P(()=>[l("i",{class:"el-icon-link",onClick:f})]),_:1},8,["modelValue"])])):O("",!0)]),l("div",null,[L(Q,{modelValue:m.value,"onUpdate:modelValue":B[2]||(B[2]=I=>m.value=I),width:"960px",title:i.value.name?i.value.name:"上传图片"},{default:P(()=>[m.value?(s(),ce(de(Nt),{key:0,isChoice:a.value,onGetPic:b,gridBtn:d.value,gridPic:r.value,isType:i.value.video?2:1},null,8,["isChoice","gridBtn","gridPic","isType"])):O("",!0)]),_:1},8,["modelValue","title"])]),i.value.type!="code"?(s(),ce(de(Ft),{key:1,ref_key:"linkaddres",ref:e,onLinkUrl:c},null,512)):O("",!0)],2)):O("",!0)}}}),on=fe(yb,[["__scopeId","data-v-d1d30243"]]),wb=Object.freeze(Object.defineProperty({__proto__:null,default:on},Symbol.toStringTag,{value:"Module"})),Qb={class:"c_row-item"},xb=Object.assign({name:"c_radio"},{__name:"c_radio",props:{configObj:{type:Object},configNme:{type:String}},emits:["getConfig"],setup(t,{emit:n}){const A=t,e=n,o=v({}),i=v({});M(()=>A.configObj,a=>{o.value=a,i.value=a[A.configNme]},{immediate:!0,deep:!0});function m(a){e("getConfig",a,"radio")}return(a,d)=>{const r=X("el-col"),c=X("el-radio"),f=X("el-radio-group");return i.value?(s(),u("div",{key:0,class:ue(["c_radio",i.value.type=="form"?"mb15":"on mb5"])},[l("div",Qb,[L(r,{class:ue(["c_label",i.value.type=="form"?"on":""]),span:4},{default:P(()=>[se($(i.value.title),1)]),_:1},8,["class"]),L(r,{class:"color-box",span:i.value.type=="form"?19:18},{default:P(()=>[L(f,{modelValue:i.value.tabVal,"onUpdate:modelValue":d[0]||(d[0]=g=>i.value.tabVal=g),onChange:d[1]||(d[1]=g=>m())},{default:P(()=>[(s(!0),u(q,null,ae(i.value.tabList,(g,p)=>(s(),ce(c,{label:p,value:p,key:p},{default:P(()=>[l("span",null,$(g.name),1)]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1},8,["span"])])],2)):O("",!0)}}}),yt=fe(xb,[["__scopeId","data-v-fed74697"]]),Ib=Object.freeze(Object.defineProperty({__proto__:null,default:yt},Symbol.toStringTag,{value:"Module"})),Ub={key:0,class:"c_bg_tool"},Fb={key:0,class:"title-tips"},Eb={key:1},Sb={key:1},Lb={key:2},Nb=Object.assign({name:"c_bg_tool"},{__name:"c_bg_tool",props:{configObj:{type:Object},configNme:{type:String}},emits:["getConfig"],setup(t,{emit:n}){const A=t,e=n,o=v(null);M(()=>A.configObj,m=>{o.value=m[A.configNme]},{deep:!0,immediate:!0});function i(m){e("getConfig",m)}return(m,a)=>{const d=X("el-radio"),r=X("el-radio-group");return o.value?(s(),u("div",Ub,[o.value.tabList?(s(),u("div",Fb,[l("span",null,$(o.value.title),1),se($(o.value.tabList[o.value.tabVal].name),1)])):O("",!0),l("div",{class:ue(["radio-box",{on:o.value.type==1}])},[L(r,{modelValue:o.value.tabVal,"onUpdate:modelValue":a[0]||(a[0]=c=>o.value.tabVal=c),type:"button",size:"large",onChange:a[1]||(a[1]=c=>i(c))},{default:P(()=>[(s(!0),u(q,null,ae(o.value.tabList,(c,f)=>(s(),ce(d,{label:f,value:f,key:f},{default:P(()=>[c.icon?(s(),u("span",{key:0,class:ue(["iconfont",c.icon])},null,2)):(s(),u("span",Eb,$(c.name),1))]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])],2),o.value.tabVal==0?(s(),u("div",Sb,[L(de(qe),{configObj:o.value,configNme:"colorConfig"},null,8,["configObj"]),L(de(yt),{configObj:o.value,configNme:"colorDirection"},null,8,["configObj"])])):O("",!0),o.value.tabVal==1?(s(),u("div",Lb,[L(de(on),{configObj:o.value,configNme:"imageConfig"},null,8,["configObj"])])):O("",!0)])):O("",!0)}}}),kb=fe(Nb,[["__scopeId","data-v-e0656fbc"]]),Vb=Object.freeze(Object.defineProperty({__proto__:null,default:kb},Symbol.toStringTag,{value:"Module"})),Ob={class:"slider-box"},Db={key:0,class:"c_row-item"},Hb=Object.assign({name:"c_brand"},{__name:"c_brand",props:{configObj:{type:Object},configNme:{type:String},number:{type:null}},emits:["getConfig"],setup(t,{emit:n}){const A=t,e=n,o=v({}),i=v({}),m=v({emitPath:!1,multiple:!0}),a=v([]);Ce(()=>{ve(()=>{o.value=A.configObj,i.value=A.configObj[A.configNme]})}),M(()=>A.configObj,r=>{o.value=r,i.value=r[A.configNme]},{deep:!0});function d(){e("getConfig",{name:"brands"})}return(r,c)=>{const f=X("el-col"),g=X("el-cascader");return s(),u("div",Ob,[i.value.title?(s(),u("div",Db,[L(f,{class:"label",span:4},{default:P(()=>[se($(i.value.title),1)]),_:1}),L(f,{span:18},{default:P(()=>[L(g,{onChange:d,placeholder:"请选择品牌",modelValue:i.value.brandVal,"onUpdate:modelValue":c[0]||(c[0]=p=>i.value.brandVal=p),options:a.value,props:m.value,filterable:"",clearable:""},null,8,["modelValue","options","props"])]),_:1})])):O("",!0)])}}}),Tb=fe(Hb,[["__scopeId","data-v-2c0cbd34"]]),jb=Object.freeze(Object.defineProperty({__proto__:null,default:Tb},Symbol.toStringTag,{value:"Module"})),Ol="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAA1lJREFUaEPdmk1IVFEUx/9nZt7oVAiJqKMGEpRg7sKoXdmmRVHgRiki3ERQQQbjEH1MH8TMQAYZRC1cRKQbadFGCKVdobQoTDAphNRRkQLT1Pd14s045pgzb97zjXl9q4E59//u795z7zn33Edw4Klo5XJNkQ8z6CAY1USoBKMYhO1xecYcCFPMGAFhkMDv3ZL37Wgzja339WRXoCw0U8T5vrNwcQMYtbZ0CP3QqZMW5p+Phwqm7WhYBiiKcJmHlSARmoClEbbz5tQ2c8xoV0kKT7fQuBW5rAGqQ+z9uU0NQOcWEHZYeUnWtoxZuCiy87cnOhgiOZt2WQGU31/Yq7ldXQTUZCO6XhsGBtyaXj92Lf+LmZYpQElYbXC5+CmYC8zEHP2faEbX6fxk0NOZSTcjgD8qXwGj1dGOWRUjNMcC3ofpmqUF2BSdT/Y6A8SaAHG3Ib3D6mDl0l5nV+Na7vQPgLFgdY+7f8N93oyeaMalarWrF3YKgLFV/vApHzZqtzHr8+r/jd2pcF7av3KLTQHwR5XrYL5rVTid/bE9CfnuYXZKEiC6EQtI9/4uj6VfRoSVWBlyKkjtKya8OeeJqx9pVzE07RAEY1YhqSoZsZdnoDQsPyLCJaeG6tAuQldjAqC+Q8W77w4BGLkho20i6L1saMcB4omZL3/EwdwGuQQAMEfzC5VGAhgH8IeVZhA/cGr0DZ0cAwBMV2NBqTUBEJX7bKfEaahzDkDojwW8ByhxGFFGnRz9DZkBAG5JqiB/ZPE0QC9EBAD4DJVG5DYCLooIwMBjKg3LPUSoExKA0Uv+iPwVwG4RAQB8I39Y/mUl+hoRtiDPHNewu3PUHTe82aPh81TmQKbqwKdJxqJqrr1swZg1ZkBPBjSzpserXHh2MtGpXDzdwzqaXmlWpHkLAFh0oaoiQqHPfJBqSgi36xKzdatXw8BkZhfSGPg4Yc+FxF7Ewm+jwgcy4VMJ4ZM54dPpLXGgEf5IacxCLg/1p16q6BvN4aHeAHC6rJLnAZ6cSETiC681a0lapkCfrqySWMzOFrbMEw4bFukKW4aU8KVFA0Lo4m5yQoUurychhL7g2FQQdq+YUtxJ1Eu+JITQ16xJCKEvuleGG2E/NVgdM4X92GOt4P8/P7f5AyW5Kg9j6c2PAAAAAElFTkSuQmCC",Dl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABXhJREFUaEPVWmtsFFUU/s48Sku1CAHstsVUjWAKkQTSIo2GR/yhxh8kVYPQNAoxYAIKaJYGldRHSLsqFCGRYvAHqZaIRE3wkYiCqQGhwUSDjUh4CH3IIyCFUtidnWPuTKftln3MvVsrO7+azj2P7573mSUMwVO0ngujkfBsBj0IRgkRisEYD0Kuw57RDcI5ZpwCoZXAP+tm1r62VdSernhSZVBQ0zWWs3OqoPF8MEqV+BBaYNMOut6zvaMm74IKD2kAY+u4wOBINREWAb03rCI5lqabGR9ZZNZeWE0dMux8Ayip4axLI60gbF4Nwm0yQnyfZVyFRnWjrxmh1hoK+6HzBaBw3fWJUV3bRcAUP0zTPcPAET1qV7Svyf4zFa+UAO6steZrGjeAOS8VsyF9T9Rl27TkbLWxIxnfpAACofBKMNYPqWKyzAirOoNZGxKRJQRwSyjvaZ0ERFwAjtuQ3SR7Wf/leZu1Z+K5000ARMDaht4y7D6fCj1Rl2ZFSwcHdgwAkSov5kQOD1e2SaXz4PciO43pMacPTLExAAKhyGtgfisZ4wmjCEW9+ciygd/OMm5YsqqkcZ7o9c6g+XZ/ePT+JSqsyZGjyYrUpLGE7541YGj9Cuw9aWPhzmgaGkmSMq5GyJzkVew+C+TXht8nwvJk7AK3A18sMCCs4D1nLjNmNAynCQBmbPq7OutFoYOjidOY5WSfkultJo93reHQhyKS15j28W7quV4sGkAHQKA2sgrE78mwnTAKOLjEdEju3xhB141+agEub4QMN/es4PH7OfZHyPRyZ7W53gUQCh9SaYk7gi6AGQ0RnLnsyp1zN+Hjp1zLqDxPNlnYf8YHCEJLZzCrjNxhJNKmIuyPl0znpud9YuFQmyu0+A7Ch/N0aQuMzyWMMIAVX0fx6RHblzq6aRZRoO7GQoAafVEMOnRwiRvQVbss7Dnu49aSCPlsvoHyu0gKAMCVlF8X3kTAMhUAIiOVFckKjS/pmyoDU/PleDGwmfJrw98TYa4KgO0VBh65l1DXHMXGA/7MnkiOZ82KJgsH/MSAGLUZP1CgLnwcwD0qAOof1/H0FA2bD9pY96N6MRuTAxxZ7iaE6R9Y6Lzi2x1PUKA2fEV1RAw+rGHFTN0JOhF8qs+CBzS8+6iOU/8wyrdKFEXGVWEBYfuUk1k85ZbN0LBmlo69JxkLd0oIHsBM14DmxQaKRyu5IqcFQLiPcKNfOhhPNKoBWDtbx9IyzSliZVtiC6IPi3JaLuQVLdV+aGmphrVzdEdPmfzfB6zXhZSDeFoBYXelge4wcF+9/35oXC4gbr5istvWbmmx8eZepRg6kVYaHdgPzdwaQTRJJh2VTSgeLVoNDRUlmlN1xRNqjqJeMQU7aTSdQpZrAsdWuulP9hFN26t7on0tiCy9OO8UsnRaCcHk9CtmzICTSJGLPcD5bsb+04xvj9lo/st3rk+CjSvTauYEZ5UKqnLb8WicZk68UG2nBa3Xw4gg3H1Uvp2IMtB5RQGS1047ABQGGk+k10UqqNBH8vyXFr46KulSAwcalZHSk/7cNA1vzNV9xUE8kGKjIaq4ryGmn0HsSCn+72eoT+eWh5L2pqFeMPezVkmkhJjCVpZraGlnNP6aPA4qp2ooLSQn95+8JOk2bu6Mv1Zxgzn1YiseiG3zdDw20a2qydphsZY5/IJbN0QqXfS5QvVNtNgSTFVXiyvKNQQf0tHexZi1zcK1BF3FSBPYt9hAUR7hnZ+i2LBfLmulXC0KEKrL3ZJxhLYujlmvxLOWWAIIAK3nJd3Hz3LXE5jR63UPREZ/4LilQKh+Yopxp0z9yOeByOjPrB6IjP7QPTAdZuxPDQbn9Iz9sUe84vR//tzmX0Kfmw/gTe/hAAAAAElFTkSuQmCC",Rb="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAAAwCAYAAACPDl2NAAAAAXNSR0IArs4c6QAAB2ZJREFUeF7tW2tsVEUU/s7d7bKKgZBou20satAgPv74iCLqD43P+IhRUeMPjFCJCST4oGB8v2K7FcUXBvCFiREJxvgMaugPDTYm6B9Ro2ii1MBuNWoJ6Hbv7hzz3evUbbt3X9wF7Hb+bPbemTNzvvnOmTPnzghCKEckNeGYodPFiZwtak4GZDqAhAJTBIiG0EVoIhTICbAbQArQHSrOVwr51CCy9ddOSe1rR1KrgOmP6bRsJH85oPNEdTaAQ2qVdZC0+1sFfTDOuphG3t1xl/xRy7iqBrSlR5sjJrdIgQ5AE7V0evC3kZQAa/NO9Nn0UhmoZrwVA3r0AxrPxN35IrgXQEs1nfxv6yrSCjwczzS9+NMDkqlEj4oAbU5mZjjGWSOC8yoROt7qKGSzkfzCgc74j+V0KwtoSzJzmaORtePXvMtBZN9rSjWyILU8+n6pFiUBbenOzneAlQAOq7TbcV1PsccIlqSXxV4M0jMQ0NZkdgEUzwCIj2uQqlcuA8HiXZ2xF4o1LQpoW9fQlSryGoDJ1ffXEC32iuqNO5dPenu0tmMAbevOzFQ4nwBobghoaldyQGDO3bks/l2hiBGAtvToZMe4HwKYU3s/DdVyi3GaLkovlb1W6xGAJrrcO0W0p6Eg2UdlVWVpannT42MAbXvkr3ZtavoS0MP3sY8Gay6/ieuesvOeQ/up+DBDW7uyT0BwW4OhEY66iid3LY/dPgxo80ptiQy53wKYFk4PDSZF5Pd8LHrCwBJJewxNdGcWCRzGnKGVKZOAqSUi2P5Bv6s75ji4+DgHK7YYbNpuQut/fwtSwaJUZ+w5H9Ck+9m/KbjQxjG7XfDmDcGp0DNWuyCoH98UxYnNgqtfz6GvX8v2v/LSCI5klrXGcn9vHl8PlO+nWvEK9KWWxc6Slh49Roz7fdiJYAsoB1+oAJ+3TxUQULrwzxdGMZgBLlzH/2ML3+0e+u8567N9reWCV3J1AlRcdXIzJZHMXStqNtQ6wKB2FtAVW/JYu9V45k9GkmFzT3I8QGe3O97/UoXt6Q6KFbqVQrCD5LAeLYHljNW5sFUdlqeic6WtK7tKBbeG3UshoBZImvV1JzseoNesz+HJSyIe2/oHx5rglEniTUIQoJTBydiwzeCNr8ywu7DPC9vZZ5xYmny9igCrJNGV3VyPPGc5QAkEFeXvkg/GKlkMmEIg6Hc7TvMnh4VyyGT2S6ALAb1jDq1CvH4q8dO1Aq6KXkl0DW0XkWNrFVKJyRdjKNv5vjPngUDTLVzlSwHK+hYYMnzj9T7Tac7FAA1btyB5qvqDJLrdPwU6NexOyzGU5vfLbvX8q11oCIg1/yBA7XPWIyPJTBYLcjlmh61noTyFDEprd5b25ttNiKUcoDZssvVGm34QMGQi2zB+tf6XfnHTdt8PLzjVwUPnjzT5ENUqJ8occEDtqn/zW3n4q7Z64JRjGsEkqH7E8B+zHzwv4vnW+zbn8cIX+32jYA6YyVuG0txZGB9+vrDJixEZARAsLialwia2a5/qh2O2bLw+irOmV75RKEe5at57Jp/oHtouqO+ixEERHILor7gj41CuvjR5y9bjn3I9lo0G1L6vRslidT/b4U9a2MVflJLuZlEN/fNwoQ+leRLEtqQ7DBoZ+dJVETDeJAtZuKcnu2iujEH/f4Cit26BPeNEAsZVnEDx/6ynXdDHXXwcQfQZGcSgvn7jAWrZW45NnLSP5kW9iaA/PhCJFlE8X7etpwWAitJPUsH7e4238NBP8perMcMf+kC756cPZKkG0MJY1PY7egdVbkLCeO9tPeuVHLEDtKsuQxuGNDRx+q+gjI/dn5PdZHYptrEufe2CUyMeM+kbCaQNqTgG+8zGq2EAV0yGirgq0Zl1S9/ZhYjKkYXXrM97pk6A7f9ie3i2s8kMMq9Ydoj+mWDTL9uc6+h9Ot8RbLoaC2y9UneUP5y+459Ed3aRwDvUEFopXJGLxYmFKy0BpKkTHG5Bme/0s1M6IjtEcGw9O1DK4aIWtEcnsIWMJVO56FWSpaoGDIVZnFoWf9abviOSexJRjX0T5icQu6emyY42bz95YUZkmWjilk0cE/1qMUYV+liyslJgLLAbtvkTEHL5Iz+padbwJxAKb026T0A11I90leYrQ1YuUFxQqnCf+x/9kY4C21Zou+ZyE5+Rq0Y34DOy50sfyywVx0lWLbOBGwQedCAmE0dxqmZG6aM4nulPHBarFNXyh8WspLae3JVqzMRxxmBoKz/OaGW0dmU7IPI0oBMHbkcCW/2BW9t+4kj4GIruMajxSPgwqBOXFv6FQlJG8h3pzvh7pZxsRUcwmpM6wzFu416rUfQax9wSyrUaOxtHv6zxzK/ufNEGuvgFpFXwcPyvkC9+FVKcVxOdfHYxIB2QcXqjTpEWkTV1vZo42m94l2cd9woA8wQ4c3xcnpU+qL4aM03v7LfLs8Uc8uGP7m2NRSKnGZFzBM5JUD0KIi3wD1AcVNe7AeQAGYRqGiI/K8w2R/XTbD6/9be7J++qNKoPqvcPkcQYDQG3bXQAAAAASUVORK5CYII=",Mb={class:"button-style acea-row row-middle"},Kb={key:0,class:"title-tips"},Pb=["onClick"],Gb=["src"],zb=Object.assign({name:"c_button_img"},{__name:"c_button_img",props:{configObj:{type:Object},configNme:{type:String}},setup(t){const n=t,A=v({}),e=v({}),o=v(0),i=v([]);M(()=>n.configObj,d=>{A.value=d,e.value=d[n.configNme],a(d)},{deep:!0}),Ce(()=>{ve(()=>{A.value=n.configObj,e.value=n.configObj[n.configNme],a(A.value)})});function m(d){o.value=d,e.value.tabVal=d}function a(d){let r=[{url:Ol,width:24,height:24},{url:Dl,width:24,height:24}];d.bntStyleConfig.typeFrom=="bnt"?i.value=r:(d.styleConfig.tabVal==0||d.styleConfig.tabVal==4?i.value=[{url:Rb,width:42,height:24},{url:Ol,width:24,height:24},{url:Dl,width:24,height:24}]:(o.value=o.value==2?1:o.value,i.value=r),d.bntStyleConfig.tabVal=o.value)}return(d,r)=>(s(),u("div",null,[l("div",Mb,[e.value?(s(),u("div",Kb,[l("span",null,$(e.value.title),1)])):O("",!0),(s(!0),u(q,null,ae(i.value,(c,f)=>(s(),u("div",{class:"style-box acea-row row-middle",key:f},[l("div",{class:ue(["pictrue acea-row row-center-wrapper",o.value==f?"on":""]),onClick:g=>m(f)},[l("img",{src:c.url,style:U({width:c.width+"px",height:c.height+"px"})},null,12,Gb)],10,Pb)]))),128))])]))}}),Jb=fe(zb,[["__scopeId","data-v-1870624b"]]),Yb=Object.freeze(Object.defineProperty({__proto__:null,default:Jb},Symbol.toStringTag,{value:"Module"})),Xb="/admin/system_static/tab02-DUBU8MrR.png",Wb="/admin/system_static/tab03-BLJhBiAb.png",$b="/admin/system_static/tab01-BrzfERUz.png",Zb="/admin/system_static/signIn01-BNvGEDG5.png",qb="/admin/system_static/signIn02-zXI9YPSj.png",eB="/admin/system_static/ranking01-WV3IdefV.png",tB="/admin/system_static/ranking02-hfsyzCRV.png",oB="/admin/system_static/coupon01-B0R5c0WC.png",AB="/admin/system_static/coupon02-C-qCx0SB.png",nB="/admin/system_static/coupon03-BRGlD6wi.png",lB="/admin/system_static/coupon04-fx34BEzk.png",iB="/admin/system_static/coupon05-BeVIxiBy.png",aB="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQQAAAECCAYAAAAYUakXAAAAAXNSR0IArs4c6QAACHVJREFUeF7t2jGKllkUBFAFRQNB3ICBezJxA67JBXTk4kwMFA0GOphkYLh/hVXH+N2BOvVRdI++fP/l6dPvPz//vvCHAIFpgTev3716+fbzt4+/vn/9MS0hPAECL95+/vbBIPgQCBB4FjAIPgQCBP4VMAg+BgIEDIJvgACB/wr4CcFXQYCAnxB8AwQI+AnBN0CAwP8I+JXB50GAgF8ZfAMECPiVwTdAgIBfGXwDBAhcBPw/hIuSNwRGBAzCSNFiErgIGISLkjcERgQMwkjRYhK4CBiEi5I3BEYEDMJI0WISuAgYhIuSNwRGBAzCSNFiErgIGISLkjcERgQMwkjRYhK4CBiEi5I3BEYEDMJI0WISuAgYhIuSNwRGBAzCSNFiErgIGISLkjcERgQMwkjRYhK4CBiEi5I3BEYEDMJI0WISuAgYhIuSNwRGBAzCSNFiErgIGISLkjcERgQMwkjRYhK4CBiEi5I3BEYEDMJI0WISuAgYhIuSNwRGBAzCSNFiErgIGISLkjcERgQMwkjRYhK4CBiEi5I3BEYEDMJI0WISuAgYhIuSNwRGBAzCSNFiErgIGISLkjcERgQMwkjRYhK4CBiEi5I3BEYEDMJI0WISuAgYhIuSNwRGBAzCSNFiErgIGISLkjcERgQMwkjRYhK4CBiEi5I3BEYEDMJI0WISuAgYhIuSNwRGBAzCSNFiErgIGISLkjcERgQMwkjRYhK4CBiEi5I3BEYEDMJI0WISuAgYhIuSNwRGBAzCSNFiErgIGISLkjcERgQMwkjRYhK4CBiEi5I3BEYEDMJI0WISuAgYhIuSNwRGBAzCSNFiErgIGISLkjcERgQMwkjRYhK4CBiEi5I3BEYEDMJI0WISuAgYhIuSNwRGBAzCSNFiErgIGISLkjcERgQMwkjRYhK4CBiEi5I3BEYEDMJI0WISuAgYhIuSNwRGBAzCSNFiErgIGISLkjcERgQMwkjRYhK4CBiEi5I3BEYEDMJI0WISuAgYhIuSNwRGBAzCSNFiErgIGISLkjcERgQMwkjRYhK4CBiEi5I3BEYEDMJI0WISuAgYhIuSNwRGBAzCSNFiErgIGISLkjcERgQMwkjRYhK4CBiEi5I3BEYEDMJI0WISuAgYhIuSNwRGBAzCSNFiErgIGISLkjcERgQMwkjRYhK4CBiEi5I3BEYEDMJI0WISuAgYhIuSNwRGBAzCSNFiErgIGISLkjcERgQMwkjRYhK4CBiEi5I3BEYEDMJI0WISuAgYhIuSNwRGBAzCSNFiErgIGISLkjcERgQMwkjRYhK4CBiEi5I3BEYEDMJI0WISuAgYhIuSNwRGBAzCSNFiErgIGISLkjcERgQMwkjRYhK4CBiEi5I3BEYEDMJI0WISuAgYhIuSNwRGBAzCSNFiErgIGISLkjcERgQMwkjRYhK4CBiEi5I3BEYEDMJI0WISuAg8D8L7L0+ffv/5+fdy4A0BAr0Cb16/e/WyN55kBAg8KmAQHhXznkCxgEEoLlc0Ao8KGIRHxbwnUCxgEIrLFY3AowIG4VEx7wkUC/hrx+JyRSPwiMDzXzu+/fzt46/vX388cugtAQJ9Av6lYl+nEhGIBQxCTOeQQJ+AQejrVCICsYBBiOkcEugTMAh9nUpEIBYwCDGdQwJ9Agahr1OJCMQCBiGmc0igT8Ag9HUqEYFYwCDEdA4J9AkYhL5OJSIQCxiEmM4hgT4Bg9DXqUQEYgGDENM5JNAnYBD6OpWIQCxgEGI6hwT6BAxCX6cSEYgFDEJM55BAn4BB6OtUIgKxgEGI6RwS6BMwCH2dSkQgFjAIMZ1DAn0CBqGvU4kIxAIGIaZzSKBPwCD0dSoRgVjAIMR0Dgn0CRiEvk4lIhALGISYziGBPgGD0NepRARiAYMQ0zkk0CdgEPo6lYhALGAQYjqHBPoEDEJfpxIRiAUMQkznkECfgEHo61QiArGAQYjpHBLoEzAIfZ1KRCAWMAgxnUMCfQIGoa9TiQjEAgYhpnNIoE/AIPR1KhGBWMAgxHQOCfQJGIS+TiUiEAsYhJjOIYE+AYPQ16lEBGIBgxDTOSTQJ2AQ+jqViEAsYBBiOocE+gQMQl+nEhGIBQxCTOeQQJ+AQejrVCICsYBBiOkcEugTMAh9nUpEIBYwCDGdQwJ9Agahr1OJCMQCBiGmc0igT8Ag9HUqEYFYwCDEdA4J9AkYhL5OJSIQCxiEmM4hgT4Bg9DXqUQEYgGDENM5JNAnYBD6OpWIQCxgEGI6hwT6BAxCX6cSEYgFDEJM55BAn4BB6OtUIgKxgEGI6RwS6BMwCH2dSkQgFjAIMZ1DAn0CBqGvU4kIxAIGIaZzSKBPwCD0dSoRgVjAIMR0Dgn0CRiEvk4lIhALGISYziGBPgGD0NepRARiAYMQ0zkk0CdgEPo6lYhALGAQYjqHBPoEDEJfpxIRiAUMQkznkECfgEHo61QiArGAQYjpHBLoEzAIfZ1KRCAWMAgxnUMCfQIGoa9TiQjEAgYhpnNIoE/AIPR1KhGBWMAgxHQOCfQJGIS+TiUiEAsYhJjOIYE+AYPQ16lEBGIBgxDTOSTQJ2AQ+jqViEAsYBBiOocE+gQMQl+nEhGIBQxCTOeQQJ+AQejrVCICsYBBiOkcEugTMAh9nUpEIBYwCDGdQwJ9Agahr1OJCMQCBiGmc0igT8Ag9HUqEYFYwCDEdA4J9AkYhL5OJSIQCxiEmM4hgT4Bg9DXqUQEYgGDENM5JNAnYBD6OpWIQCxgEGI6hwT6BAxCX6cSEYgFDEJM55BAn4BB6OtUIgKxgEGI6RwS6BMwCH2dSkQgFjAIMZ1DAn0CBqGvU4kIxAIGIaZzSKBPwCD0dSoRgVjgeRDef3n69PvPz7/xf8UhAQIVAm9ev3v1Dw8uAW7VvCVtAAAAAElFTkSuQmCC",sB="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQQAAAECCAYAAAAYUakXAAAAAXNSR0IArs4c6QAADChJREFUeF7t2jsKNVUWhmEFRQNBegIdOCcTHYBjcgCaOCeDnkAjGCgaNHZgVPXXprabdXtOXGddvnfxQkF9/OU3P3z1+x+//vmR35gEPvv0i09++fHbnz+0sLsYcw5/L/rXXXz8+dff//u3n77777z15278+dff/+u3n777z4cScBfz7uOvuyCEedw/IoSB0BdWJoSFkDo+Qggdqe7vRAj7GZasQAglsR0fmhCOR5yzASHk5BI9FSFEEwjqTwhBwSdvSwjJAZ0ajxBOJVu7LiHU5vd6ekJ4HV3rPxJCa7z3yxHCUPAPaxPC0LsghKHgCQH4qwQIwV3c3YUvFQfeBiEMhL6wsleGhZA6PkIIHanu70QI+xmWrEAIJbEdH5oQjkecswEh5OQSPRUhRBMI6k8IQcEnb0sIyQGdGo8QTiVbuy4h1Ob3enpCeB1d6z8SQmu898sRwlDwD2sTwtC7IISh4AkB+KsECMFd3N2FLxUH3gYhDIS+sLJXhoWQOj5CCB2p7u9ECPsZlqxACCWxHR+aEI5HnLMBIeTkEj0VIUQTCOpPCEHBJ29LCMkBnRqPEE4lW7suIdTm93p6QngdXes/EkJrvPfLEcJQ8A9rE8LQuyCEoeAJAfirBAjBXdzdhS8VB94GIQyEvrCyV4aFkDo+Qggdqe7vRAj7GZasQAglsR0fmhCOR5yzASHk5BI9FSFEEwjqTwhBwSdvSwjJAZ0ajxBOJVu7LiHU5vd6ekJ4HV3rPxJCa7z3yxHCUPAPaxPC0LsghKHgCQH4qwQIwV3c3YUvFQfeBiEMhL6wsleGhZA6PkIIHanu70QI+xmWrEAIJbEdH5oQjkecswEh5OQSPRUhRBMI6k8IQcEnb0sIyQGdGo8QTiVbuy4h1Ob3enpCeB1d6z8SQmu898sRwlDwD2sTwtC7IISh4AkB+KsECMFd3N2FLxUH3gYhDIS+sLJXhoWQOj5CCB2p7u9ECPsZlqxACCWxHR+aEI5HnLMBIeTkEj0VIUQTCOpPCEHBJ29LCMkBnRqPEE4lW7suIdTm93p6QngdXes/EkJrvPfLEcJQ8A9rE8LQuyCEoeAJAfirBAjBXdzdhS8VB94GIQyEvrCyV4aFkDo+Qggdqe7vRAj7GZasQAglsR0fmhCOR5yzASHk5BI9FSFEEwjqTwhBwSdvSwjJAZ0ajxBOJVu7LiHU5vd6ekJ4HV3rPxJCa7z3yxHCUPAPaxPC0LsghKHgCQH4qwQIwV3c3YUvFQfeBiEMhL6wsleGhZA6PkIIHanu70QI+xmWrEAIJbEdH5oQjkecswEh5OQSPRUhRBMI6k8IQcEnb0sIyQGdGo8QTiVbuy4h1Ob3enpCeB1d6z8SQmu898sRwlDwD2sTwtC7IISh4AkB+KsECMFd3N2FLxUH3gYhDIS+sLJXhoWQOj5CCB2p7u9ECPsZlqxACCWxHR+aEI5HnLMBIeTkEj0VIUQTCOpPCEHBJ29LCMkBnRqPEE4lW7suIdTm93p6QngdXes/EkJrvPfLEcJQ8A9rE8LQuyCEoeAJAfirBAjBXdzdhS8VB94GIQyEvrCyV4aFkDo+Qggdqe7vRAj7GZasQAglsR0fmhCOR5yzASHk5BI9FSFEEwjqTwhBwSdvSwjJAZ0ajxBOJVu7LiHU5vd6ekJ4HV3rPxJCa7z3yxHCUPAPaxPC0LsghKHgCQH4qwQIwV3c3YUvFQfeBiEMhL6wsleGhZA6PkIIHanu70QI+xmWrEAIJbEdH5oQjkecswEh5OQSPRUhRBMI6k8IQcEnb0sIyQGdGo8QTiVbuy4h1Ob3enpCeB1d6z8SQmu898sRwlDwD2sTwtC7IISh4AkB+KsECMFd3N2FLxUH3gYhDIS+sLJXhoWQOj5CCB2p7u9ECPsZlqxACCWxHR+aEI5HnLMBIeTkEj0VIUQTCOpPCEHBJ29LCMkBnRqPEE4lW7suIdTm93p6QngdXes/EkJrvPfLEcJQ8A9rE8LQuyCEoeAJAfirBAjBXdzdhS8VB94GIQyEvrCyV4aFkDo+Qggdqe7vRAj7GZasQAglsR0fmhCOR5yzASHk5BI9FSFEEwjqTwhBwSdvSwjJAZ0ajxBOJVu7LiHU5vd6ekJ4HV3rPxJCa7z3yxHCUPAPaxPC0LsghKHgCQH4qwQIwV3c3YUvFQfeBiEMhL6wsleGhZA6PkIIHanu70QI+xmWrEAIJbEdH5oQjkecswEh5OQSPRUhRBMI6k8IQcEnb0sIyQGdGo8QTiVbuy4h1Ob3enpCeB1d6z8SQmu898sRwlDwD2sTwtC7IISh4AkB+KsECMFd3N2FLxUH3gYhDIS+sLJXhoWQOj5CCB2p7u9ECPsZlqxACCWxHR+aEI5HnLMBIeTkEj0VIUQTCOpPCEHBJ29LCMkBnRqPEE4lW7suIdTm93p6QngdXes/EkJrvPfLEcJQ8A9rE8LQuyCEoeAJAfirBAjBXdzdhS8VB94GIQyEvrCyV4aFkDo+Qggdqe7vRAj7GZasQAglsR0fmhCOR5yzASHk5BI9FSFEEwjqTwhBwSdvSwjJAZ0ajxBOJVu7LiHU5vd6ekJ4HV3rPxJCa7z3yxHCUPAPaxPC0LsghKHgCQH4qwQIwV3c3YUvFQfeBiEMhL6wsleGhZA6PkIIHanu70QI+xmWrEAIJbEdH5oQjkecswEh5OQSPRUhRBMI6k8IQcEnb0sIyQGdGo8QTiVbuy4h1Ob3enpCeB1d6z8SQmu898sRwlDwD2sTwtC7IISh4AkB+KsECMFd3N2FLxUH3gYhDIS+sLJXhoWQOj5CCB2p7u9ECPsZlqxACCWxHR+aEI5HnLMBIeTkEj0VIUQTCOpPCEHBJ29LCMkBnRqPEE4lW7suIdTm93p6QngdXes/EkJrvPfLEcJQ8A9rE8LQuyCEoeAJAfirBAjBXdzdhS8VB94GIQyEvrCyV4aFkDo+Qggdqe7vRAj7GZasQAglsR0fmhCOR5yzASHk5BI9FSFEEwjqTwhBwSdvSwjJAZ0ajxBOJVu7LiHU5vd6ekJ4HV3rPxJCa7z3yxHCUPAPaxPC0LsghKHgCQH4qwQIwV3c3YUvFQfeBiEMhL6wsleGhZA6PkIIHanu70QI+xmWrEAIJbEdH5oQjkecswEh5OQSPRUhRBMI6k8IQcEnb0sIyQGdGo8QTiVbuy4h1Ob3enpCeB1d6z8SQmu898sRwlDwD2sTwtC7IISh4AkB+KsECMFd3N2FLxUH3gYhDIS+sLJXhoWQOj5CCB2p7u9ECPsZlqxACCWxHR+aEI5HnLMBIeTkEj0VIUQTCOpPCEHBJ29LCMkBnRqPEE4lW7suIdTm93p6QngdXes/EkJrvPfLEcJQ8A9rE8LQuyCEoeAJAfirBAjBXdzdhS8VB94GIQyEvrCyV4aFkDo+Qggdqe7vRAj7GZasQAglsR0fmhCOR5yzASHk5BI9FSFEEwjqTwhBwSdvSwjJAZ0ajxBOJVu7LiHU5vd6ekJ4HV3rPxJCa7z3yxHCUPAPaxPC0LsghKHgCQH4qwQIwV3c3YUvFQfeBiEMhL6wsleGhZA6PkIIHanu70QI+xmWrEAIJbEdH5oQjkecswEh5OQSPRUhRBMI6k8IQcEnb0sIyQGdGo8QTiVbuy4h1Ob3enpCeB1d6z8SQmu898sRwlDwD2sTwtC7IISh4AkB+KsECMFd3N2FLxUH3gYhDIS+sLJXhoWQOj5CCB2p7u9ECPsZlqxACCWxHR+aEI5HnLMBIeTkEj0VIUQTCOpPCEHBJ29LCMkBnRqPEE4lW7suIdTm93p6QngdXes/EkJrvPfLEcJQ8A9rE8LQuyCEoeAJAfirBAjBXdzdhS8VB94GIQyEvrCyV4aFkDo+Qggdqe7vRAj7GZasQAglsR0fmhCOR5yzASHk5BI9FSFEEwjqTwhBwSdvSwjJAZ0ajxBOJVu7LiHU5vd6ekJ4HV3rPxJCa7z3yxHCUPAPaxPC0LsghKHgCQH4qwQIwV3c3YUvFQfeBiEMhL6wsleGhZA6PkIIHanu70QI+xmWrEAIJbEdH5oQjkecswEh5OQSPRUhRBMI6k8IQcEnb/t/IXz5zQ9f/f7Hr38mn9V4/2ACn336xSe//Pjtzx8q6S7+wcCLlPrrLv4HV5UwJsvXNzwAAAAASUVORK5CYII=",cB="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQQAAAECCAYAAAAYUakXAAAAAXNSR0IArs4c6QAAC2JJREFUeF7t2kGONeIWhlESQkMiJqBhTjoMwJgMgI45aZiASDQIDamGxpXr/FUn77NvbrK062wsX15VT/3vf/rVd1/8/sevf77nr6cFPvrwkw9++f7rHx8d4Pw073t8n7d7yydfnN//+MtvP//th29+fssHfe1/Cnz85bef/fbDNz89cuH8/Kvh+7zdWz754mwQ3iL2L1/rwQ4QH5zg2/r+fd0gjJw92BGkwW0h33HdIIz4DcII0iC0kAbhxtcgtM58W18/Mox9Pdgx6D/O8W19DcLY14MdgxqEFvTBj2Z+yzCgNwgDRL9laBFfcV1UfAXSa77EILxG6fmv4fu83Vs+aRDeouX/YCOtt58xCG83e+YTBuEZtf/yGQ92BPngZ1t/ErQ1frluEEbGBmEEaRBayHdcNwgjfoMwgjQILaRBuPE1CK0z39b37+u+Qxg5e7AjSN8htJC+Q7jxNQitM9/W13cIY18Pdgz6j3N8W1+DMPb1YMegBqEFffCjmT+6PKA3CAPEByf4tr6+Qxj7erBjUN8htKC+Q2h9DQLfVuDmul87jpwNwgjywf+5/NHl1vjlukEYGRuEEaRBaCHfcd0gjPgNwgjSILSQBuHG1yC0znxbX79lGPt6sGNQv2VoQf2WofU1CHxbgZvrGsLI2SCMIDWEFlJDuPE1CK0z39ZXQxj7erBjUA2hBdUQWl+DwLcVuLmuIYycDcIIUkNoITWEG1+D0DrzbX01hLGvBzsG1RBaUA2h9TUIfFuBm+sawsjZIIwgNYQWUkO48TUIrTPf1ldDGPt6sGNQDaEF1RBaX4PAtxW4ua4hjJwNwghSQ2ghNYQbX4PQOvNtfTWEsa8HOwbVEFpQDaH1NQh8W4Gb6xrCyNkgjCA1hBZSQ7jxNQitM9/WV0MY+3qwY1ANoQXVEFpfg8C3Fbi5riGMnA3CCFJDaCE1hBtfg9A68219NYSxrwc7BtUQWlANofU1CHxbgZvrGsLI2SCMIDWEFlJDuPE1CK0z39ZXQxj7erBjUA2hBdUQWl+DwLcVuLmuIYycDcIIUkNoITWEG1+D0DrzbX01hLGvBzsG1RBaUA2h9TUIfFuBm+sawsjZIIwgNYQWUkO48TUIrTPf1ldDGPt6sGNQDaEF1RBaX4PAtxW4ua4hjJwNwghSQ2ghNYQbX4PQOvNtfTWEsa8HOwbVEFpQDaH1NQh8W4Gb6xrCyNkgjCA1hBZSQ7jxNQitM9/WV0MY+3qwY1ANoQXVEFpfg8C3Fbi5riGMnA3CCFJDaCE1hBtfg9A68219NYSxrwc7BtUQWlANofU1CHxbgZvrGsLI2SCMIDWEFlJDuPE1CK0z39ZXQxj7erBjUA2hBdUQWl+DwLcVuLmuIYycDcIIUkNoITWEG1+D0DrzbX01hLGvBzsG1RBaUA2h9TUIfFuBm+sawsjZIIwgNYQWUkO48TUIrTPf1ldDGPt6sGNQDaEF1RBaX4PAtxW4ua4hjJwNwghSQ2ghNYQbX4PQOvNtfTWEsa8HOwbVEFpQDaH1NQh8W4Gb6xrCyNkgjCA1hBZSQ7jxNQitM9/WV0MY+3qwY1ANoQXVEFpfg8C3Fbi5riGMnA3CCFJDaCE1hBtfg9A68219NYSxrwc7BtUQWlANofU1CHxbgZvrGsLI2SCMIDWEFlJDuPE1CK0z39ZXQxj7erBjUA2hBdUQWl+DwLcVuLmuIYycDcIIUkNoITWEG1+D0DrzbX01hLGvBzsG1RBaUA2h9TUIfFuBm+sawsjZIIwgNYQWUkO48TUIrTPf1ldDGPt6sGNQDaEF1RBaX4PAtxW4ua4hjJwNwghSQ2ghNYQbX4PQOvNtfTWEsa8HOwbVEFpQDaH1NQh8W4Gb6xrCyNkgjCA1hBZSQ7jxNQitM9/WV0MY+3qwY1ANoQXVEFpfg8C3Fbi5riGMnA3CCFJDaCE1hBtfg9A68219NYSxrwc7BtUQWlANofU1CHxbgZvrGsLI2SCMIDWEFlJDuPE1CK0z39ZXQxj7erBjUA2hBdUQWl+DwLcVuLmuIYycDcIIUkNoITWEG1+D0DrzbX01hLGvBzsG1RBaUA2h9TUIfFuBm+sawsjZIIwgNYQWUkO48TUIrTPf1ldDGPt6sGNQDaEF1RBaX4PAtxW4ua4hjJwNwghSQ2ghNYQbX4PQOvNtfTWEsa8HOwbVEFpQDaH1NQh8W4Gb6xrCyNkgjCA1hBZSQ7jxNQitM9/WV0MY+3qwY1ANoQXVEFpfg8C3Fbi5riGMnA3CCFJDaCE1hBtfg9A68219NYSxrwc7BtUQWlANofU1CHxbgZvrGsLI2SCMIDWEFlJDuPE1CK0z39ZXQxj7erBjUA2hBdUQWl+DwLcVuLmuIYycDcIIUkNoITWEG1+D0DrzbX01hLGvBzsG1RBaUA2h9TUIfFuBm+sawsjZIIwgNYQWUkO48TUIrTPf1ldDGPt6sGNQDaEF1RBaX4PAtxW4ua4hjJwNwghSQ2ghNYQbX4PQOvNtfTWEsa8HOwbVEFpQDaH1NQh8W4Gb6xrCyNkgjCA1hBZSQ7jxNQitM9/WV0MY+3qwY1ANoQXVEFpfg8C3Fbi5riGMnA3CCFJDaCE1hBtfg9A68219NYSxrwc7BtUQWlANofU1CHxbgZvrGsLI2SCMIDWEFlJDuPE1CK0z39ZXQxj7erBjUA2hBdUQWl+DwLcVuLmuIYycDcIIUkNoITWEG1+D0DrzbX01hLGvBzsG1RBaUA2h9TUIfFuBm+sawsjZIIwgNYQWUkO48TUIrTPf1ldDGPt6sGNQDaEF1RBaX4PAtxW4ua4hjJwNwghSQ2ghNYQbX4PQOvNtfTWEsa8HOwbVEFpQDaH1NQh8W4Gb6xrCyNkgjCA1hBZSQ7jxNQitM9/WV0MY+3qwY1ANoQXVEFpfg8C3Fbi5riGMnA3CCFJDaCE1hBtfg9A68219NYSxrwc7BtUQWlANofU1CHxbgZvrGsLI2SCMIDWEFlJDuPE1CK0z39ZXQxj7erBjUA2hBdUQWl+DwLcVuLmuIYycDcIIUkNoITWEG1+D0DrzbX01hLGvBzsG1RBaUA2h9TUIfFuBm+sawsjZIIwgNYQWUkO48TUIrTPf1ldDGPt6sGNQDaEF1RBaX4PAtxW4ua4hjJwNwghSQ2ghNYQbX4PQOvNtfTWEsa8HOwbVEFpQDaH1NQh8W4Gb6xrCyNkgjCA1hBZSQ7jxNQitM9/WV0MY+3qwY1ANoQXVEFpfg8C3Fbi5riGMnA3CCFJDaCE1hBtfg9A68219NYSxrwc7BtUQWlANofU1CHxbgZvrGsLI2SCMIDWEFlJDuPE1CK0z39ZXQxj7erBjUA2hBdUQWl+DwLcVuLmuIYycDcIIUkNoITWEG1+D0DrzbX01hLGvBzsG1RBaUA2h9TUIfFuBm+sawsjZIIwgNYQWUkO48TUIrTPf1ldDGPt6sGNQDaEF1RBaX4PAtxW4ua4hjJwNwghSQ2ghNYQbX4PQOvNtfTWEsa8HOwbVEFpQDaH1NQh8W4Gb6xrCyNkgjCA1hBZSQ7jxNQitM9/WV0MY+3qwY1ANoQXVEFpfg8C3Fbi5riGMnA3CCFJDaCE1hBtfg9A68219NYSxrwc7BtUQWlANofU1CHxbgZvrGsLI2SCMIDWEFlJDuPE1CK0z39ZXQxj7erBjUA2hBdUQWl+DwLcVuLmuIYycDcIIUkNoITWEG1+D0DrzbX01hLGvBzsG1RBaUA2h9TUIfFuBm+sawsjZIIwgNYQWUkO48TUIrTPf1ldDGPt6sGNQDaEF1RBaX4PAtxW4ua4hjJwNwghSQ2ghX9MQPv3quy9+/+PXP/+n/yT/53/zjz785INfvv/6x0f/Gpyf/4/M93m7t3zyxfkvWRZAnhKers0AAAAASUVORK5CYII=",rB="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQQAAAECCAYAAAAYUakXAAAAAXNSR0IArs4c6QAACrZJREFUeF7t2zGuFFkWhOFGAoGBhGYDbbAnHHoBvSYWQDvsqY3ZQKslDBAYIzDGqqJSmYp3b9z7PbsqT5w/jn6ppHzP3rz/+Pbrt8/ff/O3DYGXL14///evP/7+1cLuYptz+P+iP+7i2at3H37/8unPf/Zbf9+NX7378J8vn/78768IuIv97uPHXRDCfr3/Rggbln5gZUI4AGnFjxDCiq1e34kQrjOsfAIhVNYWD00IccRzDiCEOXsZnYoQRjcwaD4hDAI/+VhCmLygVDxCSJHtfi4hdPd3Oj0hnEa39BcJYel67y9HCJsW/2BtQtj0Lghh0+IJQfG3CBCCu7h3F95U3PA2CGHD0g+s7CfDAUgrfoQQVmz1+k6EcJ1h5RMIobK2eGhCiCOecwAhzNnL6FSEMLqBQfMJYRD4yccSwuQFpeIRQops93MJobu/0+kJ4TS6pb9ICEvXe385Qti0+AdrE8Kmd0EImxZPCIq/RYAQ3MW9u/Cm4oa3QQgbln5gZT8ZDkBa8SOEsGKr13cihOsMK59ACJW1xUMTQhzxnAMIYc5eRqcihNENDJpPCIPATz6WECYvKBWPEFJku59LCN39nU5PCKfRLf1FQli63vvLEcKmxT9YmxA2vQtC2LR4QlD8LQKE4C7u3YU3FTe8DULYsPQDK/vJcADSih8hhBVbvb4TIVxnWPkEQqisLR6aEOKI5xxACHP2MjoVIYxuYNB8QhgEfvKxhDB5Qal4hJAi2/1cQuju73R6QjiNbukvEsLS9d5fjhA2Lf7B2oSw6V0QwqbFE4LibxEgBHdx7y68qbjhbRDChqUfWNlPhgOQVvwIIazY6vWdCOE6w8onEEJlbfHQhBBHPOcAQpizl9GpCGF0A4PmE8Ig8JOPJYTJC0rFI4QU2e7nEkJ3f6fTE8JpdEt/kRCWrvf+coSwafEP1iaETe+CEDYtnhAUf4sAIbiLe3fhTcUNb4MQNiz9wMp+MhyAtOJHCGHFVq/vRAjXGVY+gRAqa4uHJoQ44jkHEMKcvYxORQijGxg0nxAGgZ98LCFMXlAqHiGkyHY/lxC6+zudnhBOo1v6i4SwdL33lyOETYt/sDYhbHoXhLBp8YSg+FsECMFd3LsLbypueBuEsGHpB1b2k+EApBU/Qggrtnp9J0K4zrDyCYRQWVs8NCHEEc85gBDm7GV0KkIY3cCg+YQwCPzkYwlh8oJS8QghRbb7uYTQ3d/p9IRwGt3SXySEpeu9vxwhbFr8g7UJYdO7IIRNiycExd8iQAju4t5deFNxw9sghA1LP7CynwwHIK34EUJYsdXrOxHCdYaVTyCEytrioQkhjnjOAYQwZy+jUxHC6AYGzSeEQeAnH0sIkxeUikcIKbLdzyWE7v5OpyeE0+iW/iIhLF3v/eUIYdPiH6xNCJveBSFsWjwhKP4WAUJwF/fuwpuKG94GIWxY+oGV/WQ4AGnFjxDCiq1e34kQrjOsfAIhVNYWD00IccRzDiCEOXsZnYoQRjcwaD4hDAI/+VhCmLygVDxCSJHtfi4hdPd3Oj0hnEa39BcJYel67y9HCJsW/2BtQtj0Lghh0+IJQfG3CBCCu7h3F95U3PA2CGHD0g+s7CfDAUgrfoQQVmz1+k6EcJ1h5RMIobK2eGhCiCOecwAhzNnL6FSEMLqBQfMJYRD4yccSwuQFpeIRQops93MJobu/0+kJ4TS6pb9ICEvXe385Qti0+AdrE8Kmd0EImxZPCIq/RYAQ3MW9u/Cm4oa3QQgbln5gZT8ZDkBa8SOEsGKr13cihOsMK59ACJW1xUMTQhzxnAMIYc5eRqcihNENDJpPCIPATz6WECYvKBWPEFJku59LCN39nU5PCKfRLf1FQli63vvLEcKmxT9YmxA2vQtC2LR4QlD8LQKE4C7u3YU3FTe8DULYsPQDK/vJcADSih8hhBVbvb4TIVxnWPkEQqisLR6aEOKI5xxACHP2MjoVIYxuYNB8QhgEfvKxhDB5Qal4hJAi2/1cQuju73R6QjiNbukvEsLS9d5fjhA2Lf7B2oSw6V0QwqbFE4LibxEgBHdx7y68qbjhbRDChqUfWNlPhgOQVvwIIazY6vWdCOE6w8onEEJlbfHQP4Xw5v3Ht1+/ff4en2bANARevnj9/N+//vj7V4HcxTR1PVmQH3fx7MmmGYQAAtMTIITpKxIQgacjQAhPx9okBKYnQAjTVyQgAk9HgBCejrVJCExPgBCmr0hABJ6OACE8HWuTEJieACFMX5GACDwdAS8mPR1rkxCYmsDPF5Nevfvw+5dPf/4zdVLhEEAgTsD/MsQRG4BADwFC6OlKUgTiBAghjtgABHoIEEJPV5IiECdACHHEBiDQQ4AQerqSFIE4AUKIIzYAgR4ChNDTlaQIxAkQQhyxAQj0ECCEnq4kRSBOgBDiiA1AoIcAIfR0JSkCcQKEEEdsAAI9BAihpytJEYgTIIQ4YgMQ6CFACD1dSYpAnAAhxBEbgEAPAULo6UpSBOIECCGO2AAEeggQQk9XkiIQJ0AIccQGINBDgBB6upIUgTgBQogjNgCBHgKE0NOVpAjECRBCHLEBCPQQIISeriRFIE6AEOKIDUCghwAh9HQlKQJxAoQQR2wAAj0ECKGnK0kRiBMghDhiAxDoIUAIPV1JikCcACHEERuAQA8BQujpSlIE4gQIIY7YAAR6CBBCT1eSIhAnQAhxxAYg0EOAEHq6khSBOAFCiCM2AIEeAoTQ05WkCMQJEEIcsQEI9BAghJ6uJEUgToAQ4ogNQKCHACH0dCUpAnEChBBHbAACPQQIoacrSRGIEyCEOGIDEOghQAg9XUmKQJwAIcQRG4BADwFC6OlKUgTiBAghjtgABHoIEEJPV5IiECdACHHEBiDQQ4AQerqSFIE4AUKIIzYAgR4ChNDTlaQIxAkQQhyxAQj0ECCEnq4kRSBOgBDiiA1AoIcAIfR0JSkCcQKEEEdsAAI9BAihpytJEYgTIIQ4YgMQ6CFACD1dSYpAnAAhxBEbgEAPAULo6UpSBOIECCGO2AAEeggQQk9XkiIQJ0AIccQGINBDgBB6upIUgTgBQogjNgCBHgKE0NOVpAjECRBCHLEBCPQQIISeriRFIE6AEOKIDUCghwAh9HQlKQJxAoQQR2wAAj0ECKGnK0kRiBMghDhiAxDoIUAIPV1JikCcACHEERuAQA8BQujpSlIE4gQIIY7YAAR6CBBCT1eSIhAnQAhxxAYg0EOAEHq6khSBOAFCiCM2AIEeAoTQ05WkCMQJEEIcsQEI9BAghJ6uJEUgToAQ4ogNQKCHACH0dCUpAnEChBBHbAACPQQIoacrSRGIEyCEOGIDEOghQAg9XUmKQJwAIcQRG4BADwFC6OlKUgTiBAghjtgABHoIEEJPV5IiECdACHHEBiDQQ4AQerqSFIE4AUKIIzYAgR4ChNDTlaQIxAkQQhyxAQj0ECCEnq4kRSBOgBDiiA1AoIcAIfR0JSkCcQKEEEdsAAI9BAihpytJEYgTIIQ4YgMQ6CFACD1dSYpAnAAhxBEbgEAPAULo6UpSBOIECCGO2AAEeggQQk9XkiIQJ0AIccQGINBDgBB6upIUgTgBQogjNgCBHgKE0NOVpAjECRBCHLEBCPQQ+CmEN+8/vv367fP3ntiSIoBAgsDLF6+f/w9RHOdzQ5XSpwAAAABJRU5ErkJggg==",uB="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQQAAAECCAYAAAAYUakXAAAAAXNSR0IArs4c6QAACpFJREFUeF7t2zGuFUcQhWEjgSBAQt6AA/ZEghfAmlgAJOzJgTdgWSIAQWDxJDvxHW69GbW6u87nuO50n/+Ufr1B4yev3n54/fXb5++/+A8BBKIJPH/28umTF2/e//bl07u/okkIjwACv7x48/5XQrAICCDwQIAQLAICCPxHgBAsAwIIEIIdQACB/xPwF4KtQAABfyHYAQQQ8BeCHUAAgZ8Q8MpgPRBAwCuDHUAAAa8MdgABBLwy2AEEEKgQ8G8IFUpmEAghQAghRYuJQIUAIVQomUEghAAhhBQtJgIVAoRQoWQGgRAChBBStJgIVAgQQoWSGQRCCBBCSNFiIlAhQAgVSmYQCCFACCFFi4lAhQAhVCiZQSCEACGEFC0mAhUChFChZAaBEAKEEFK0mAhUCBBChZIZBEIIEEJI0WIiUCFACBVKZhAIIUAIIUWLiUCFACFUKJlBIIQAIYQULSYCFQKEUKFkBoEQAoQQUrSYCFQIEEKFkhkEQggQQkjRYiJQIUAIFUpmEAghQAghRYuJQIUAIVQomUEghAAhhBQtJgIVAoRQoWQGgRAChBBStJgIVAgQQoWSGQRCCBBCSNFiIlAhQAgVSmYQCCFACCFFi4lAhQAhVCiZQSCEACGEFC0mAhUChFChZAaBEAKEEFK0mAhUCBBChZIZBEIIEEJI0WIiUCFACBVKZhAIIUAIIUWLiUCFACFUKJlBIIQAIYQULSYCFQKEUKFkBoEQAoQQUrSYCFQIEEKFkhkEQggQQkjRYiJQIUAIFUpmEAghQAghRYuJQIUAIVQomUEghAAhhBQtJgIVAoRQoWQGgRAChBBStJgIVAgQQoWSGQRCCBBCSNFiIlAhQAgVSmYQCCFACCFFi4lAhQAhVCiZQSCEACGEFC0mAhUChFChZAaBEAKEEFK0mAhUCBBChZIZBEIIEEJI0WIiUCFACBVKZhAIIUAIIUWLiUCFACFUKJlBIIQAIYQULSYCFQKEUKFkBoEQAoQQUrSYCFQIEEKFkhkEQggQQkjRYiJQIUAIFUpmEAghQAghRYuJQIUAIVQomUEghAAhhBQtJgIVAoRQoWQGgRAChBBStJgIVAgQQoWSGQRCCBBCSNFiIlAhQAgVSmYQCCFACCFFi4lAhQAhVCiZQSCEACGEFC0mAhUChFChZAaBEAKEEFK0mAhUCBBChZIZBEIIEEJI0WIiUCFACBVKZhAIIUAIIUWLiUCFACFUKJlBIIQAIYQULSYCFQKEUKFkBoEQAoQQUrSYCFQIEEKFkhkEQggQQkjRYiJQIUAIFUpmEAghQAghRYuJQIUAIVQomUEghAAhhBQtJgIVAoRQoWQGgRAChBBStJgIVAgQQoWSGQRCCBBCSNFiIlAhQAgVSmYQCCFACCFFi4lAhQAhVCiZQSCEACGEFC0mAhUChFChZAaBEAKEEFK0mAhUCBBChZIZBEIIEEJI0WIiUCHwIIRXbz+8/vrt8/fKD8wggEBfAs+fvXz6pG88yRBA4LEECOGxxMwj0JgAITQuVzQEHkuAEB5LzDwCjQkQQuNyRUPgsQQI4bHEzCPQmAAhNC5XNAQeS4AQHkvMPAKNCfgwqXG5R9F+fIDy98ff//hZdB+s5S3Gw4dJL968/+3Lp3d/5cXPTfzjE9Uvn979+TMC9iJvP/y/DHmdPyQmhNDi78QmhNC9IITQ4glB8bcIEIK9ONoL/4YQuBuEEFh6IbJXhgKkjiOE0LHV65kI4TrDLZ9ACFvWNvzShDAc8ZoHEMKavcy+FSHMbmDS+YQwCfzixxLC4gWNuh4hjCK793MJYe/+Tt+eEE6ja/1DQmhd73E4Qggt/k5sQgjdC0IILZ4QFH+LACHYi6O98KVi4G4QQmDphcheGQqQOo4QQsdWr2cihOsMt3wCIWxZ2/BLE8JwxGseQAhr9jL7VoQwu4FJ5xPCJPCLH0sIixc06nqEMIrs3s8lhL37O317QjiNrvUPCaF1vcfhCCG0+DuxCSF0LwghtHhCUPwtAoRgL472wpeKgbtBCIGlFyJ7ZShA6jhCCB1bvZ6JEK4z3PIJhLBlbcMvTQjDEa95ACGs2cvsWxHC7AYmnU8Ik8AvfiwhLF7QqOsRwiiyez+XEPbu7/TtCeE0utY/JITW9R6HI4TQ4u/EJoTQvSCE0OIJQfG3CBCCvTjaC18qBu4GIQSWXojslaEAqeMIIXRs9XomQrjOcMsnEMKWtQ2/NCEMR7zmAYSwZi+zb0UIsxuYdD4hTAK/+LGEsHhBo65HCKPI7v1cQti7v9O3J4TT6Fr/kBBa13scjhBCi78TmxBC94IQQosnBMXfIkAI9uJoL3ypGLgbhBBYeiGyV4YCpI4jhNCx1euZCOE6wy2fQAhb1jb80oQwHPGaBxDCmr3MvhUhzG5g0vmEMAn84scSwuIFjboeIYwiu/dzCWHv/k7fnhBOo2v9Q0JoXe9xOEIILf5ObEII3QtCCC2eEBR/iwAh2IujvfClYuBuEEJg6YXIXhkKkDqOEELHVq9nIoTrDLd8AiFsWdvwSxPCcMRrHkAIa/Yy+1aEMLuBSecTwiTwix9LCIsXNOp6hDCK7N7PJYS9+zt9e0I4ja71Dwmhdb3H4QghtPg7sQkhdC8IIbR4QlD8LQKEYC+O9sKXioG7QQiBpRcie2UoQOo4QggdW72eiRCuM9zyCYSwZW3DL00IwxGveQAhrNnL7FsRwuwGJp1PCJPAL34sISxe0KjrEcIosns/lxD27u/07QnhNLrWPySE1vUehyOE0OLvxCaE0L0ghNDiCUHxtwgQgr042gtfKgbuBiEEll6I7JWhAKnjCCF0bPV6JkK4znDLJxDClrUNvzQhDEe85gGEsGYvs29FCLMbmHQ+IUwCv/ixhLB4QaOuRwijyO79XELYu7/TtyeE0+ha/5AQWtd7HI4QQou/E5sQQveCEEKLJwTF3yJACPbiaC98qRi4G4QQWHohsleGAqSOI4TQsdXrmQjhOsMtn0AIW9Y2/NKEMBzxmgcQwpq9zL4VIcxuYNL5hDAJ/OLHEsLiBY26HiGMIrv3cwlh7/5O354QTqNr/UNCaF3vcThCCC3+TmxCCN0LQggtnhAUf4sAIdiLo73wpWLgbhBCYOmFyF4ZCpA6jhBCx1avZyKE6wy3fAIhbFnb8EsTwnDEax5ACGv2MvtWhDC7gUnnE8Ik8IsfSwiLFzTqeoQwiuzezyWEvfs7fXtCOI2u9Q8JoXW9x+EIIbT4O7EJIXQvCCG0eEJQ/C0ChGAvjvbCl4qBu0EIgaUXIntlKEDqOEIIHVu9nokQrjPc8gmEsGVtwy9NCMMRr3kAIazZy+xbEcLsBiadTwiTwC9+LCEsXtCo6xHCKLJ7P5cQ9u7v9O0J4TS61j8khNb1HocjhNDi78QmhNC9IITQ4glB8bcIEIK9ONoLXyoG7gYhBJZeiOyVoQCp4wghdGz1eiZCuM5wyycQwpa1Db80IQxHvOYBhLBmL7NvRQizG5h0PiFMAr/4sYSweEGjrkcIo8ju/VxC2Lu/07cnhNPoWv+QEFrXexyOEEKLvxP7QQiv3n54/fXb5+8Q5RB4/uzl078//v7HzxLbi5x9+Dfpj734BzlS13OD1JYSAAAAAElFTkSuQmCC",dB="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQQAAAECCAYAAAAYUakXAAAAAXNSR0IArs4c6QAADHBJREFUeF7tmj1OHksQRY1kBIEl9DbgwHsiwQtgTSwAJ+zJwduAZckBlgmeHDwnnmaK7qmpn3uIe7qq7ikdfYPm4ubu8dPPXz9e3vEnk8DV5Yf33798/vrawOyFzDr8GfT3Xlxc3z58fH66/6Y3vu7E17cP/zw/3f/7WgLshd5+/N4LhKDH/R1CEIRuGBkhGELqeAQhdKS6PhNCWM+w5A0IoSQ296YRgnvEOQsghJxcortCCNEEguojhKDgk5dFCMkBebWHELySrX0vQqjNb7p7hDAdXesHEUJrvOPhEIIo+J2xEYLoXiAEUfAIAfBbCSAE9mK0F3ypKLgbCEEQumFkXhkMIXU8ghA6Ul2fCSGsZ1jyBoRQEpt70wjBPeKcBRBCTi7RXSGEaAJB9RFCUPDJyyKE5IC82kMIXsnWvhch1OY33T1CmI6u9YMIoTXe8XAIQRT8ztgIQXQvEIIoeIQA+K0EEAJ7MdoLvlQU3A2EIAjdMDKvDIaQOh5BCB2prs+EENYzLHkDQiiJzb1phOAecc4CCCEnl+iuEEI0gaD6CCEo+ORlEUJyQF7tIQSvZGvfixBq85vuHiFMR9f6QYTQGu94OIQgCn5nbIQguhcIQRQ8QgD8VgIIgb0Y7QVfKgruBkIQhG4YmVcGQ0gdjyCEjlTXZ0II6xmWvAEhlMTm3jRCcI84ZwGEkJNLdFcIIZpAUH2EEBR88rIIITkgr/YQgleyte9FCLX5TXePEKaja/0gQmiNdzwcQhAFvzM2QhDdC4QgCh4hAH4rAYTAXoz2gi8VBXcDIQhCN4zMK4MhpI5HEEJHquszIYT1DEvegBBKYnNvGiG4R5yzAELIySW6K4QQTSCoPkIICj55WYSQHJBXewjBK9na9yKE2vymu0cI09G1fhAhtMY7Hg4hiILfGRshiO4FQhAFjxAAv5UAQmAvRnvBl4qCu4EQBKEbRuaVwRBSxyMIoSPV9ZkQwnqGJW9ACCWxuTeNENwjzlkAIeTkEt0VQogmEFQfIQQFn7wsQkgOyKs9hOCVbO17EUJtftPdI4Tp6Fo/iBBa4x0PhxBEwe+MjRBE9wIhiIJHCIDfSgAhsBejveBLRcHdQAiC0A0j88pgCKnjEYTQker6TAhhPcOSNyCEktjcm0YI7hHnLIAQcnKJ7gohRBMIqo8QgoJPXhYhJAfk1R5C8Eq29r0IoTa/6e4RwnR0rR9ECK3xjodDCKLgd8ZGCKJ7gRBEwSMEwG8lgBDYi9Fe8KWi4G4gBEHohpF5ZTCE1PEIQuhIdX0mhLCeYckbEEJJbO5NIwT3iHMWQAg5uUR3hRCiCQTVRwhBwScvixCSA/JqDyF4JVv7XoRQm9909whhOrrWDyKE1njHwyEEUfA7YyME0b1ACKLgEQLgtxJACOzFaC/4UlFwNxCCIHTDyLwyGELqeAQhdKS6PhNCWM+w5A0IoSQ296YRgnvEOQsghJxcortCCNEEguojhKDgk5dFCMkBebWHELySrX0vQqjNb7p7hDAdXesHEUJrvOPhEIIo+J2xEYLoXiAEUfAIAfBbCSAE9mK0F3ypKLgbCEEQumFkXhkMIXU8ghA6Ul2fCSGsZ1jyBoRQEpt70wjBPeKcBRBCTi7RXSGEaAJB9RFCUPDJyyKE5IC82kMIXsnWvhch1OY33T1CmI6u9YMIoTXe8XAIQRT8ztgIQXQvEIIoeIQA+K0EEAJ7MdoLvlQU3A2EIAjdMDKvDIaQOh5BCB2prs+EENYzLHkDQiiJzb1phOAecc4CCCEnl+iuEEI0gaD6CCEo+ORlEUJyQF7tIQSvZGvfixBq85vuHiFMR9f6QYTQGu94OIQgCn5nbIQguhcIQRQ8QgD8VgIIgb0Y7QVfKgruBkIQhG4YmVcGQ0gdjyCEjlTXZ0II6xmWvAEhlMTm3jRCcI84ZwGEkJNLdFcIIZpAUH2EEBR88rIIITkgr/YQgleyte9FCLX5TXePEKaja/0gQmiNdzwcQhAFvzM2QhDdC4QgCh4hAH4rAYTAXoz2gi8VBXcDIQhCN4zMK4MhpI5HEEJHquszIYT1DEvegBBKYnNvGiG4R5yzgEUIN3ePn37++vGScwK68kjg6vLDe/6H4JFs8jstQkg+Au05JYAQnILNfC1CyEwntjeEEJt/SHWEEBJ7iaIIoQSmY5tECMfm2ek2hNCJpnEWhGAMSvAYQhCEjhAEoRtHRgjGoDodQwidaB47C0I4Ns8StyGEEphCmkQIIbHHFrUIgQ+TYhlFVOfDpIjUE9S0COH69uHj89P9twTt0sJJCfDp8klBZyuDELIRydEPQsjB4fQuEMLpkZcoiBBKYDq+SYRwfKYdbkQIHShOzIAQJkITeAQhCEDeGhEhiILfGRshiO4FQhAFjxAAzy8EdsCaAL8QrEk1O8cvhGZADxoHIRwUZLVrEEI1Yuf0ixDOyTldFYSQDkmKhhBCCgznN4EQzs+8QkWEUIGSQ48IwSHUBlcihAYQZ0ZACDOp9X8GIfRnvDkhQhAFz3cIgOc7BHbAmgC/EKxJNTvHL4RmQA8aByEcFGS1axBCNWLn9IsQzsk5XRWEkA5JioYQQgoM5zeBEM7PvEJFhFCBkkOPCMEh1AZXIoQGEGdGQAgzqfV/BiH0Z8x3CKKMZ8ZGCDOpNXiGXwgNIDqMgBAcQq1wJUKoQOn8HhHC+ZmnqIgQUmBI1wRCSIfknIYQwjk5V6uCEKoRO6hfhHBQkM2uQQjNgFrHQQjWpLTOIQQt3n+mRQii4HfGRgiie4EQRMEjBMBvJYAQ2IvRXlxc3z58fH66/0ZEOgkgBB3Wb5mUV4a3pNXoLEJoBPPAURDCgWFWugohVKJ1Xq8I4bysU1VCCKlwpGkGIaRBcW4jCOHcvKtUQwhVSB3cJ0I4ONAm1yGEJiDfOgZCeGtiGucRggbnv6ZECKLgd8ZGCKJ7gRBEwSMEwG8lgBDYi9Fe8KWi4G4gBEHohpF5ZTCE1PEIQuhIdX0mhLCeYckbEEJJbO5NIwT3iHMWQAg5uUR3hRCiCQTVRwhBwScvixCSA/JqDyF4JVv7XoRQm9909whhOrrWDyKE1njHwyEEUfA7YyME0b1ACKLgEQLgtxJACOzFaC/4UlFwNxCCIHTDyLwyGELqeAQhdKS6PhNCWM+w5A0IoSQ296YRgnvEOQsghJxcortCCNEEguojhKDgk5dFCMkBebWHELySrX0vQqjNb7p7hDAdXesHEUJrvOPhEIIo+J2xEYLoXiAEUfAIAfBbCSAE9mK0F3ypKLgbCEEQumFkXhkMIXU8ghA6Ul2fCSGsZ1jyBoRQEpt70wjBPeKcBRBCTi7RXSGEaAJB9RFCUPDJyyKE5IC82kMIXsnWvhch1OY33T1CmI6u9YMIoTXe8XAIQRT8ztgIQXQvEIIoeIQA+K0EEAJ7MdoLvlQU3A2EIAjdMDKvDIaQOh5BCB2prs+EENYzLHkDQiiJzb1phOAecc4CCCEnl+iuEEI0gaD6CCEo+ORlEUJyQF7tIQSvZGvfixBq85vuHiFMR9f6QYTQGu94OIQgCn5nbIQguhcIQRQ8QgD8VgIIgb0Y7QVfKgruBkIQhG4YmVcGQ0gdjyCEjlTXZ0II6xmWvAEhlMTm3jRCcI84ZwGEkJNLdFcIIZpAUH2EEBR88rIIITkgr/YQgleyte9FCLX5TXePEKaja/0gQmiNdzwcQhAFvzM2QhDdC4QgCh4hAH4rAYTAXoz2gi8VBXcDIQhCN4zMK4MhpI5HEEJHquszIYT1DEvegBBKYnNvGiG4R5yzAELIySW6K4QQTSCoPkIICj55WYSQHJBXewjBK9na9yKE2vymu0cI09G1fhAhtMY7Hg4hiILfGRshiO4FQhAFjxAAv5UAQmAvRnvBl4qCu4EQBKEbRuaVwRBSxyMIoSPV9ZkQwnqGJW9ACCWxuTeNENwjzlkAIeTkEt0VQogmEFQfIQQFn7wsQkgOyKs9hOCVbO17EUJtftPdI4Tp6Fo/iBBa4x0PhxBEwe+MjRBE9wIhiIJHCIDfSgAhsBejveBLRcHdQAiC0A0j88pgCKnjEYTQker6TAhhPcOSNyCEktjcm0YI7hHnLIAQcnKJ7gohRBMIqo8QgoJPXhYhJAfk1R5C8Eq29r0IoTa/6e4RwnR0rR9ECK3xjodDCKLgd8ZGCKJ7gRBEwSMEwG8lgBDYi9FeXNzcPX76+evHCxHpJHB1+eH99y+fv742MXuhsw//T/p7L/4D6NUHvqFEfAoAAAAASUVORK5CYII=",mB="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQQAAAECCAYAAAAYUakXAAAAAXNSR0IArs4c6QAADE9JREFUeF7tmzGOEEkMRUECQYCE9gIE3IkEDsCZOAAk3IlgL7BCIgBBsAJpN+qirSos2/+/iavL9n/W07Sm5+Hz1+9ffvv+5ccDfmwSePL42aPPH958+t3A7IXNOvw/6M+9ePj01bsXXz++/cdvfN+Jn75699fXj2///l0C7IXffvzcC4Tgx/0BQjCEHhgZIQRCUjyCEBSpns+EEM4zHHkDQhiJLb1phJAecc8CCKEnl+quEEI1gaL6CKEo+OZlEUJzQFntIYSsZGffixBm89vuHiFsRyf9IEKQxrseDiGYgr8ZGyGY7gVCMAWPEAB/lQBCYC9We8GXioa7gRAMoQdG5pUhEJLiEYSgSPV8JoRwnuHIGxDCSGzpTSOE9Ih7FkAIPblUd4UQqgkU1UcIRcE3L4sQmgPKag8hZCU7+16EMJvfdvcIYTs66QcRgjTe9XAIwRT8zdgIwXQvEIIpeIQA+KsEEAJ7sdoLvlQ03A2EYAg9MDKvDIGQFI8gBEWq5zMhhPMMR96AEEZiS28aIaRH3LMAQujJpborhFBNoKg+QigKvnlZhNAcUFZ7CCEr2dn3IoTZ/La7Rwjb0Uk/iBCk8a6HQwim4G/GRgime4EQTMEjBMBfJYAQ2IvVXvClouFuIARD6IGReWUIhKR4BCEoUj2fCSGcZzjyBoQwElt60wghPeKeBRBCTy7VXSGEagJF9RFCUfDNyyKE5oCy2kMIWcnOvhchzOa33T1C2I5O+kGEII13PRxCMAV/MzZCMN0LhGAKHiEA/ioBhMBerPaCLxUNdwMhGEIPjMwrQyAkxSMIQZHq+UwI4TzDkTcghJHY0ptGCOkR9yyAEHpyqe4KIVQTKKqPEIqCb14WITQHlNUeQshKdva9CGE2v+3uEcJ2dNIPIgRpvOvhEIIp+JuxEYLpXiAEU/AIAfBXCSAE9mK1F3ypaLgbCMEQemBkXhkCISkeQQiKVM9nQgjnGY68ASGMxJbeNEJIj7hnAYTQk0t1VwihmkBRfYRQFHzzsgihOaCs9hBCVrKz70UIs/ltd48QtqOTfhAhSONdD4cQTMHfjI0QTPcCIZiCRwiAv0oAIbAXq73gS0XD3UAIhtADI/PKEAhJ8QhCUKR6PhNCOM9w5A0IYSS29KYRQnrEPQsghJ5cqrtCCNUEiuojhKLgm5dFCM0BZbWHELKSnX0vQpjNb7t7hLAdnfSDCEEa73o4hGAK/mZshGC6FwjBFDxCAPxVAgiBvVjtBV8qGu4GQjCEHhiZV4ZASIpHEIIi1fOZEMJ5hiNvQAgjsaU3jRDSI+5ZACH05FLdFUKoJlBUHyEUBd+8LEJoDiirPYSQlezsexHCbH7b3SOE7eikH0QI0njXwyEEU/A3YyME071ACKbgEQLgrxJACOzFai/4UtFwNxCCIfTAyLwyBEJSPIIQFKmez4QQzjMceQNCGIktvWmEkB5xzwIIoSeX6q4QQjWBovoIoSj45mURQnNAWe0hhKxkZ9+LEGbz2+4eIWxHJ/0gQpDGux4OIZiCvxkbIZjuBUIwBY8QAH+VAEJgL1Z7wZeKhruBEAyhB0bmlSEQkuIRhKBI9XwmhHCe4cgbEMJIbOlNI4T0iHsWQAg9uVR3hRCqCRTVRwhFwTcvixCaA8pqDyFkJTv7XoQwm9929whhOzrpBxGCNN71cAjBFPzN2AjBdC8Qgil4hAD4qwQQAnux2gu+VDTcDYRgCD0wMq8MgZAUjyAERarnMyGE8wxH3oAQRmJLbxohpEfcswBC6MmluiuEUE2gqD5CKAq+eVmE0BxQVnsIISvZ2fcihNn8trtHCNvRST+IEKTxrodDCKbgb8ZGCKZ7gRBMwSMEwF8lgBDYi9Ve8KWi4W4gBEPogZF5ZQiEpHgEIShSPZ8JIZxnOPIGhDASW3rTCCE94p4FEEJPLtVdIYRqAkX1EUJR8M3LIoTmgLLaQwhZyc6+FyHM5rfdPULYjk76QYQgjXc9HEIwBX8zNkIw3QuEYAoeIQD+KgGEwF6s9oIvFQ13AyEYQg+MzCtDICTFIwhBker5TAjhPMORNyCEkdjSm/4lhOev37/89v3Lj/RqFGiTwJPHzx59/vDm0+8aevrq3YuvH9/+06ZpGklP4JcQ0qtQYGQCCGEktqOmEcJRfNoPIwRtvsu/MviNzcSRBBBCJCWtM/yGoMXzj06DEP5onCMuQwgjMNU0iRBqcq+sihAq029eGyE0B5TQHkJICFXlSoSgQjI+B0KIZ2V3EiHYIX/Ah0l+zH9NzIdJpuBvxubTZdO94NNlU/AIAfBXCSAE9mK1F/z7s+FuIARD6IGReWUIhKR4BCEoUj2fCSGcZzjyBoQwElt60wghPeKeBRBCTy7VXSGEagJF9RFCUfDNyyKE5oCy2kMIWcnOvhchzOa33T1C2I5O+kGEII13PRxCMAV/MzZCMN0LhGAKHiEA/ioBhMBerPaCLxUNdwMhGEIPjMwrQyAkxSMIQZHq+UwI4TzDkTcghJHY0ptGCOkR9yyAEHpyqe4KIVQTKKqPEIqCb14WITQHlNUeQshKdva9CGE2v+3uEcJ2dNIPIgRpvOvhEIIp+JuxEYLpXiAEU/AIAfBXCSAE9mK1F3ypaLgbCMEQemBkXhkCISkeQQiKVM9nQgjnGY68ASGMxJbeNEJIj7hnAYTQk0t1VwihmkBRfYRQFHzzsgihOaCs9hBCVrKz70UIs/ltd48QtqOTfhAhSONdD4cQTMHfjI0QTPcCIZiCRwiAv0oAIbAXq73gS0XD3UAIhtADI/PKEAhJ8QhCUKR6PhNCOM9w5A0IYSS29KYRQnrEPQsghJ5cqrtCCNUEiuojhKLgm5dFCM0BZbWHELKSnX0vQpjNb7t7hLAdnfSDCEEa73o4hGAK/mZshGC6FwjBFDxCAPxVAgiBvVjtBV8qGu4GQjCEHhiZV4ZASIpHEIIi1fOZEMJ5hiNvQAgjsaU3jRDSI+5ZACH05FLdFUKoJlBUHyEUBd+8LEJoDiirPYSQlezsexHCbH7b3SOE7eikH0QI0njXwyEEU/A3YyME071ACKbgEQLgrxJACOzFai/4UtFwNxCCIfTAyLwyBEJSPIIQFKmez4QQzjMceQNCGIktvWmEkB5xzwIIoSeX6q4QQjWBovoIoSj45mURQnNAWe0hhKxkZ9+LEGbz2+4eIWxHJ/0gQpDGux4OIZiCvxkbIZjuBUIwBY8QAH+VAEJgL1Z7wZeKhruBEAyhB0bmlSEQkuIRhKBI9XwmhHCe4cgbEMJIbOlNI4T0iHsWQAg9uVR3hRCqCRTVRwhFwTcvixCaA8pqDyFkJTv7XoQwm9929whhOzrpBxGCNN71cAjBFPzN2AjBdC8Qgil4hAD4qwQQAnux2gu+VDTcDYRgCD0wMq8MgZAUjyAERarnMyGE8wxH3oAQRmJLbxohpEfcswBC6MmluiuEUE2gqD5CKAq+eVmE0BxQVnsIISvZ2fcihNn8trtHCNvRST+IEKTxrodDCKbgb8ZGCKZ7gRBMwSMEwF8lgBDYi9Ve8KWi4W4gBEPogZF5ZQiEpHgEIShSPZ8JIZxnOPIGhDASW3rTCCE94p4FEEJPLtVdIYRqAkX1EUJR8M3LIoTmgLLaQwhZyc6+FyHM5rfdPULYjk76QYQgjXc9HEIwBX8zNkIw3QuEYAoeIQD+KgGEwF6s9oIvFQ13AyEYQg+MzCtDICTFIwhBker5TAjhPMORNyCEkdjSm0YI6RH3LIAQenKp7gohVBMoqo8QioJvXhYhNAeU1R5CyEp29r0IYTa/7e4RwnZ00g8iBGm86+EQgin4m7ERguleIART8AgB8FcJIAT2YrUXfKlouBsIwRB6YGReGQIhKR5BCIpUz2dCCOcZjrwBIYzElt40QkiPuGcBhNCTS3VXCKGaQFF9hFAUfPOyCKE5oKz2EEJWsrPvRQiz+W13jxC2o5N+ECFI410PhxBMwd+MjRBM9wIhmIJHCIC/SgAhsBerveBLRcPdQAiG0AMj88oQCEnxCEJQpHo+E0I4z3DkDQhhJLb0phFCesQ9CyCEnlyqu0II1QSK6iOEouCbl0UIzQFltYcQspKdfS9CmM1vu3uEsB2d9IMIQRrvejiEYAr+ZmyEYLoXCMEUPEIA/FUCCIG9WO3Fw+ev37/89v3LDyLySeDJ42ePPn948+l3E7MXPvvw36Q/9+JfoezwF3uw6KUAAAAASUVORK5CYII=",gB="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQQAAAECCAYAAAAYUakXAAAAAXNSR0IArs4c6QAADElJREFUeF7tmzFqHUsQRS2wsAOB+Btw4D0psRegNXkBVqI9KfgbMAYHMnbwkcE/mtY03dSrW3WP4pmuqnuKwxtoXd1++vrx568fv9/wZ5PAu+ubt98fPj+9NjB7YbMO/w/6shdX7+++fHh+vP/mN77vxO/vvvzz/Hj/72sJsBd++/GyFwjBj/sbhGAIfWJkhDARUsdHEEJHqvszIYT9DEuegBBKYgtvGiGER6xZACFocsnuCiFkE0iqjxCSghcvixDEAUW1hxCikq19LkKozW+5e4SwHF3rFxFCa7zj4RCCKfiTsRGC6V4gBFPwCAHwRwkgBPZitBfcVDTcDYRgCH1iZD4ZJkLq+AhC6Eh1fyaEsJ9hyRMQQkls4U0jhPCINQsgBE0u2V0hhGwCSfURQlLw4mURgjigqPYQQlSytc9FCLX5LXePEJaja/0iQmiNdzwcQjAFfzI2QjDdC4RgCh4hAP4oAYTAXoz2gpuKhruBEAyhT4zMJ8NESB0fQQgdqe7PhBD2Myx5AkIoiS28aYQQHrFmAYSgySW7K4SQTSCpPkJICl68LEIQBxTVHkKISrb2uQihNr/l7hHCcnStX0QIrfGOh0MIpuBPxkYIpnuBEEzBIwTAHyWAENiL0V5wU9FwNxCCIfSJkflkmAip4yMIoSPV/ZkQwn6GJU9ACCWxhTeNEMIj1iyAEDS5ZHeFELIJJNVHCEnBi5dFCOKAotpDCFHJ1j4XIdTmt9w9QliOrvWLCKE13vFwCMEU/MnYCMF0LxCCKXiEAPijBBACezHaC24qGu4GQjCEPjEynwwTIXV8BCF0pLo/E0LYz7DkCQihJLbwphFCeMSaBRCCJpfsrhBCNoGk+gghKXjxsghBHFBUewghKtna5yKE2vyWu0cIy9G1fhEhtMY7Hg4hmII/GRshmO4FQjAFjxAAf5QAQmAvRnvBTUXD3UAIhtAnRuaTYSKkjo8ghI5U92dCCPsZljwBIZTEFt40QgiPWLMAQtDkkt0VQsgmkFQfISQFL14WIYgDimoPIUQlW/tchFCb33L3CGE5utYvIoTWeMfDIQRT8CdjIwTTvUAIpuARAuCPEkAI7MVoL7ipaLgbCMEQ+sTIfDJMhNTxEYTQker+TAhhP8OSJyCEktjCm0YI4RFrFkAImlyyu0II2QSS6iOEpODFyyIEcUBR7SGEqGRrn4sQavNb7h4hLEfX+kWE0BrveDiEYAr+ZGyEYLoXCMEUPEIA/FECCIG9GO0FNxUNdwMhGEKfGJlPhomQOj6CEDpS3Z8JIexnWPIEhFASW3jTCCE8Ys0CCEGTS3ZXCCGbQFJ9hJAUvHhZhCAOKKo9hBCVbO1zEUJtfsvdI4Tl6Fq/iBBa4x0PhxBMwZ+MjRBM9wIhmIJHCIA/SgAhsBejveCmouFuIARD6BMj88kwEVLHRxBCR6r7MyGE/QxLnoAQSmILbxohhEesWQAhaHLJ7gohZBNIqo8QkoIXL4sQxAFFtYcQopKtfS5CqM1vuXuEsBxd6xcRQmu84+EQgin4k7ERguleIART8AgB8EcJIAT2YrQX3FQ03A2EYAh9YmQ+GSZC6vgIQuhIdX8mhLCfYckTEEJJbOFNI4TwiDULIARNLtldIYRsAkn1EUJS8OJlEYI4oKj2EEJUsrXPRQi1+S13jxCWo2v9IkJojXc8HEIwBX8yNkIw3QuEYAoeIQD+KAGEwF6M9oKbioa7gRAMoU+MzCfDREgdH0EIHanuz4QQ9jMseQJCKIktvGmEEB6xZgGEoMkluyuEkE0gqT5CSApevCxCEAcU1R5CiEq29rkIoTa/5e4RwnJ0rV9ECK3xjodDCKbgT8ZGCKZ7gRBMwSMEwB8lgBDYi9FecFPRcDcQgiH0iZH5ZJgIqeMjCKEj1f2ZEMJ+hiVPQAglsYU3jRDCI9YsgBA0uWR3hRCyCSTVRwhJwYuXRQjigKLaQwhRydY+FyHU5rfcPUJYjq71iwihNd7xcAjBFPzJ2AjBdC8Qgil4hAD4owQQAnsx2gtuKhruBkIwhD4xMp8MEyF1fAQhdKS6PxNC2M+w5AkIoSS28Kb/COH209ePP3/9+B1ejQIyCby7vnn7/eHz02sNsRcyuC7WyMteXF2sGoVIgATkE0AI8ohokAQulwBCuFzWVCIB+QQQgjwiGiSByyWAEC6XNZVIQD4BhCCPiAZJ4HIJIITLZU0lEpBPACHII6JBErhcAlxMulzWMpW4mCSDQqqRPxeT3t99+fD8eP9NqjOaCU2Aq8uh8ZY9nP9lKItur3GEsJdf17cRQleyJ3MhBFPwE3vBJ4PhbiAEQ+gTI/MLYSKkjo8ghI5U92dCCPsZljwBIZTEFt40QgiPWLMAQtDkkt0VQsgmkFQfISQFL14WIYgDimoPIUQlW/tchFCb33L3CGE5utYvIoTWeMfDIQRT8NxDAPxRAgiBvRjtBReTDHcDIRhCnxiZT4aJkDo+ghA6Ut2fCSHsZ1jyBIRQElt40wghPGLNAghBk0t2Vwghm0BSfYSQFLx4WYQgDiiqPYQQlWztcxFCbX7L3SOE5ehav4gQWuMdD4cQTMGfjI0QTPcCIZiCRwiAP0oAIbAXo73gpqLhbiAEQ+gTI/PJMBFSx0cQQkeq+zMhhP0MS56AEEpiC28aIYRHrFkAIWhyye4KIWQTSKqPEJKCFy+LEMQBRbWHEKKSrX0uQqjNb7l7hLAcXesXEUJrvOPhEIIp+JOxEYLpXiAEU/AIAfBHCSAE9mK0F9xUNNwNhGAIfWJkPhkmQur4CELoSHV/JoSwn2HJExBCSWzhTSOE8Ig1CyAETS7ZXSGEbAJJ9RFCUvDiZRGCOKCo9hBCVLK1z0UItfktd48QlqNr/SJCaI13PBxCMAV/MjZCMN0LhGAKHiEA/igBhMBejPaCm4qGu4EQDKFPjMwnw0RIHR9BCB2p7s+EEPYzLHkCQiiJLbxphBAesWYBhKDJJbsrhJBNIKk+QkgKXrwsQhAHFNUeQohKtva5CKE2v+XuEcJydK1fRAit8Y6HQwim4E/GRgime4EQTMEjBMAfJYAQ2IvRXnBT0XA3EIIh9ImR+WSYCKnjIwihI9X9mRDCfoYlT0AIJbGFN40QwiPWLIAQNLlkd4UQsgkk1UcIScGLl0UI4oCi2kMIUcnWPhch1Oa33D1CWI6u9YsIoTXe8XAIwRT8ydgIwXQvEIIpeIQA+KMEEAJ7MdoLbioa7gZCMIQ+MTKfDBMhdXwEIXSkuj8TQtjPsOQJCKEktvCmEUJ4xJoFEIIml+yuEEI2gaT6CCEpePGyCEEcUFR7CCEq2drnIoTa/Ja7RwjL0bV+ESG0xjseDiGYgj8ZGyGY7gVCMAWPEAB/lABCYC9Ge8FNRcPdQAiG0CdG5pNhIqSOjyCEjlT3Z0II+xmWPAEhlMQW3jRCCI9YswBC0OSS3RVCyCaQVB8hJAUvXhYhiAOKag8hRCVb+1yEUJvfcvcIYTm61i8ihNZ4x8MhBFPwJ2MjBNO9QAim4BEC4I8SQAjsxWgvuKlouBsIwRD6xMh8MkyE1PERhNCR6v5MCGE/w5InIISS2MKbRgjhEWsWQAiaXLK7QgjZBJLqI4Sk4MXLIgRxQFHtIYSoZGufixBq81vuHiEsR9f6RYTQGu94OIRgCv5kbIRguhcIwRQ8QgD8UQIIgb0Y7QU3FQ13AyEYQp8YmU+GiZA6PoIQOlLdnwkh7GdY8gSEUBJbeNMIITxizQIIQZNLdlcIIZtAUn2EkBS8eFmEIA4oqj2EEJVs7XMRQm1+y90jhOXoWr+IEFrjHQ+HEEzBn4yNEEz3AiGYgkcIgD9KACGwF6O94Kai4W4gBEPoEyPzyTARUsdHEEJHqvszIYT9DEuegBBKYgtvGiGER6xZACFocsnuCiFkE0iqjxCSghcvixDEAUW1hxCikq19LkKozW+5e4SwHF3rFxFCa7zj4RCCKfiTsRGC6V4gBFPwCAHwRwkgBPZitBfcVDTcDYRgCH1iZD4ZJkLq+AhC6Eh1fyaEsJ9hyRMQQkls4U0jhPCINQsgBE0u2V0hhGwCSfURQlLw4mURgjigqPYQQlSytc9FCLX5LXePEJaja/0iQmiNdzwcQjAFfzI2QjDdC4RgCh4hAP4oAYTAXoz24ur209ePP3/9+E1EPgm8u755+/3h89NrE7MXPvvwd9KXvfgPMzvHr8XpOBoAAAAASUVORK5CYII=",fB="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQQAAAECCAYAAAAYUakXAAAAAXNSR0IArs4c6QAAC7RJREFUeF7t2z2uHNUWgFGQsCBAst4ECJgTCQyAMTEASJiTgzcBhEQAguDJBARPXb5Fl79b52c57q46Z+2tT7pS+9O33/749R9//vbXJ/5tI/D5my8/+/Wn79596ML2Ypt1+Oei7/fi0y+++eGr33/+/pf9rr/vjb/45of//P7z9//9kIC92G8/3u+FIOw3908EYcOhn7iyIJxAWvEjgrDiVK/fSRCuG075BEGYcmz5oQUhJx7zBYIw5lzuPpUg3D2Bm94vCDfBD/5aQRh8QNXxBKGSnfu5gjD3/J4+vSA8Tbf0FwVh6fEeX04QNh38C9cWhE33QhA2HbwgGPwjAUGwF0d74ZeKG+6GIGw49BNX9ifDCaQVPyIIK071+p0E4brhlE8QhCnHlh9aEHLiMV8gCGPO5e5TCcLdE7jp/YJwE/zgrxWEwQdUHU8QKtm5nysIc8/v6dMLwtN0S39REJYe7/HlBGHTwb9wbUHYdC8EYdPBC4LBPxIQBHtxtBd+qbjhbgjChkM/cWV/MpxAWvEjgrDiVK/fSRCuG075BEGYcmz5oQUhJx7zBYIw5lzuPpUg3D2Bm94vCDfBD/5aQRh8QNXxBKGSnfu5gjD3/J4+vSA8Tbf0FwVh6fEeX04QNh38C9cWhE33QhA2HbwgGPwjAUGwF0d74ZeKG+6GIGw49BNX9ifDCaQVPyIIK071+p0E4brhlE8QhCnHlh9aEHLiMV8gCGPO5e5TCcLdE7jp/YJwE/zgrxWEwQdUHU8QKtm5nysIc8/v6dMLwtN0S39REJYe7/HlBGHTwb9wbUHYdC8EYdPBC4LBPxIQBHtxtBd+qbjhbgjChkM/cWV/MpxAWvEjgrDiVK/fSRCuG075BEGYcmz5oQUhJx7zBYIw5lzuPpUg3D2Bm94vCDfBD/5aQRh8QNXxBKGSnfu5gjD3/J4+vSA8Tbf0FwVh6fEeX04QNh38C9cWhE33QhA2HbwgGPwjAUGwF0d74ZeKG+6GIGw49BNX9ifDCaQVPyIIK071+p0E4brhlE8QhCnHlh9aEHLiMV8gCGPO5e5TCcLdE7jp/YJwE/zgrxWEwQdUHU8QKtm5nysIc8/v6dMLwtN0S39REJYe7/HlBGHTwb9wbUHYdC8EYdPBC4LBPxIQBHtxtBd+qbjhbgjChkM/cWV/MpxAWvEjgrDiVK/fSRCuG075BEGYcmz5oQUhJx7zBYIw5lzuPpUg3D2Bm94vCDfBD/5aQRh8QNXxBKGSnfu5gjD3/J4+vSA8Tbf0FwVh6fEeX04QNh38C9cWhE33QhA2HbwgGPwjAUGwF0d74ZeKG+6GIGw49BNX9ifDCaQVPyIIK071+p0E4brhlE8QhCnHlh9aEHLiMV8gCGPO5e5TCcLdE7jp/YJwE/zgrxWEwQdUHU8QKtm5nysIc8/v6dMLwtN0S39REJYe7/HlBGHTwb9wbUHYdC8EYdPBC4LBPxIQBHtxtBd+qbjhbgjChkM/cWV/MpxAWvEjgrDiVK/fSRCuG075BEGYcmz5oQUhJx7zBYIw5lzuPpUg3D2Bm94vCDfBD/5aQRh8QNXxBKGSnfu5gjD3/J4+vSA8Tbf0FwVh6fEeX04QNh38C9cWhE33QhA2HbwgGPwjAUGwF0d74ZeKG+6GIGw49BNX9ifDCaQVPyIIK071+p0E4brhlE8QhCnHlh9aEHLiMV8gCGPO5e5TCcLdE7jp/YJwE/zgrxWEwQdUHU8QKtm5nysIc8/v6dMLwtN0S39REJYe7/HlBGHTwb9wbUHYdC8EYdPBC4LBPxIQBHtxtBd+qbjhbgjChkM/cWV/MpxAWvEjgrDiVK/fSRCuG075BEGYcmz5oQUhJx7zBYIw5lzuPpUg3D2Bm94vCDfBD/5aQRh8QNXxBKGSnfu5gjD3/J4+vSA8Tbf0FwVh6fEeX04QNh38C9cWhE33QhA2HbwgGPwjAUGwF0d74ZeKG+6GIGw49BNX9ifDCaQVPyIIK071+p0E4brhlE8QhCnHlh9aEHLiMV8gCGPO5e5TCcLdE7jp/YJwE/zgrxWEwQdUHU8QKtm5nysIc8/v6dMLwtN0S39REJYe7/HlBGHTwb9wbUHYdC8EYdPBC4LBPxIQBHtxtBd+qbjhbgjChkM/cWV/MpxAWvEjgrDiVK/fSRCuG075BEGYcmz5of8Owttvf/z6jz9/+yt/mxcMI/D5my8/+/Wn79596ED2YphxvdpB3u/Fp6/2Ni8iQGB4AUEYfkQOSOD1BATh9ay9icDwAoIw/IgckMDrCQjC61l7E4HhBQRh+BE5IIHXExCE17P2JgLDCwjC8CNyQAKvJ+CHSR/B2g99PgLig0dwbVyPnvr3D5O++OaHr37/+ftfXvfVa73NT4GbeXJtXI+e6v8yfCRvi/uRIP/vMVwbV0GIXS1uA8y1cRWE2NXiNsBcG1dBiF0tbgPMtXEVhNjV4jbAXBtXQYhdLW4DzLVxFYTY1eI2wFwbV0GIXS1uA8y1cRWE2NXiNsBcG1dBiF0tbgPMtXEVhNjV4jbAXBtXQYhdLW4DzLVxFYTY1eI2wFwbV0GIXS1uA8y1cRWE2NXiNsBcG1dBiF0tbgPMtXEVhNjV4jbAXBtXQYhdLW4DzLVxFYTY1eI2wFwbV0GIXS1uA8y1cRWE2NXiNsBcG1dBiF0tbgPMtXEVhNjV4jbAXBtXQYhdLW4DzLVxFYTY1eI2wFwbV0GIXS1uA8y1cRWE2NXiNsBcG1dBiF0tbgPMtXEVhNjV4jbAXBtXQYhdLW4DzLVxFYTY1eI2wFwbV0GIXS1uA8y1cRWE2NXiNsBcG1dBiF0tbgPMtXEVhNjV4jbAXBtXQYhdLW4DzLVxFYTY1eI2wFwbV0GIXS1uA8y1cRWE2NXiNsBcG1dBiF0tbgPMtXEVhNjV4jbAXBtXQYhdLW4DzLVxFYTY1eI2wFwbV0GIXS1uA8y1cRWE2NXiNsBcG1dBiF0tbgPMtXEVhNjV4jbAXBtXQYhdLW4DzLVxFYTY1eI2wFwbV0GIXS1uA8y1cRWE2NXiNsBcG1dBiF0tbgPMtXEVhNjV4jbAXBtXQYhdLW4DzLVxFYTY1eI2wFwbV0GIXS1uA8y1cRWE2NXiNsBcG1dBiF0tbgPMtXEVhNjV4jbAXBtXQYhdLW4DzLVxFYTY1eI2wFwbV0GIXS1uA8y1cRWE2NXiNsBcG1dBiF0tbgPMtXEVhNjV4jbAXBtXQYhdLW4DzLVxFYTY1eI2wFwbV0GIXS1uA8y1cRWE2NXiNsBcG1dBiF0tbgPMtXEVhNjV4jbAXBtXQYhdLW4DzLVxFYTY1eI2wFwbV0GIXS1uA8y1cRWE2NXiNsBcG1dBiF0tbgPMtXEVhNjV4jbAXBtXQYhdLW4DzLVxFYTY1eI2wFwbV0GIXS1uA8y1cRWE2NXiNsBcG1dBiF0tbgPMtXEVhNjV4jbAXBtXQYhdLW4DzLVxFYTY1eI2wFwbV0GIXS1uA8y1cRWE2NXiNsBcG1dBiF0tbgPMtXEVhNjV4jbAXBtXQYhdLW4DzLVxFYTY1eI2wFwbV0GIXS1uA8y1cRWE2NXiNsBcG1dBiF0tbgPMtXEVhNjV4jbAXBtXQYhdLW4DzLVxFYTY1eI2wFwbV0GIXS1uA8y1cRWE2NXiNsBcG1dBiF0tbgPMtXEVhNjV4jbAXBtXQYhdLW4DzLVxFYTY1eI2wFwbV0GIXS1uA8y1cRWE2NXiNsBcG1dBiF0tbgPMtXEVhNjV4jbAXBtXQYhdLW4DzLVxFYTY1eI2wFwbV0GIXS1uA8y1cRWE2NXiNsBcG1dBiF0tbgPMtXEVhNjV4jbAXBtXQYhdLW4DzLVxFYTY1eI2wFwbV0GIXS1uA8y1cRWE2NXiNsBcG1dBiF0tbgPMtXEVhNjV4jbAXBtXQYhdLW4DzLVxFYTY1eI2wFwb1w8G4e23P379x5+//fW6r17rbZ+/+fKzX3/67t2HbsX538+c6783u/KN997/Axcrp+t8VA/sAAAAAElFTkSuQmCC",vB="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQQAAAECCAYAAAAYUakXAAAAAXNSR0IArs4c6QAACzJJREFUeF7t2kGqVUcQBuAIig4EyQYycE9OdAGuyQXoxD05yAaC4EDRQRAhELjn3ZM6abr7ry/jW+d01d/14c27j168fv/y2/cvP37zX5sJPH3y/PHnD28+PdSwe9HmOvzT6M978ejZq3d/fP349q9+7fft+Nmrd79//fj2z4cm4F70ux8/7wUQ+uX+GxAahn6iZSCcGFLiR4CQmOr1noBwfYZbPgEIW8Y2/NBAGD7iNV8AhDVzmX0qIMxOYNL7gTBp8Iu/FgiLBzTqeEAYNdm9nwuEvfMrnx4I5dFFFwIhOt7j5oDQNPg7bQOh6b0AQtPggSD4WxMAgntxdC/8UrHh3QBCw9BPtOwrw4khJX4ECImpXu8JCNdnuOUTgLBlbMMPDYThI17zBUBYM5fZpwLC7AQmvR8Ikwa/+GuBsHhAo44HhFGT3fu5QNg7v/LpgVAeXXQhEKLjPW4OCE2Dv9M2EJreCyA0DR4Igr81ASC4F0f3wi8VG94NIDQM/UTLvjKcGFLiR4CQmOr1noBwfYZbPgEIW8Y2/NBAGD7iNV8AhDVzmX0qIMxOYNL7gTBp8Iu/FgiLBzTqeEAYNdm9nwuEvfMrnx4I5dFFFwIhOt7j5oDQNPg7bQOh6b0AQtPggSD4WxMAgntxdC/8UrHh3QBCw9BPtOwrw4khJX4ECImpXu8JCNdnuOUTgLBlbMMPDYThI17zBUBYM5fZpwLC7AQmvR8Ikwa/+GuBsHhAo44HhFGT3fu5QNg7v/LpgVAeXXQhEKLjPW4OCE2Dv9M2EJreCyA0DR4Igr81ASC4F0f3wi8VG94NIDQM/UTLvjKcGFLiR4CQmOr1noBwfYZbPgEIW8Y2/NBAGD7iNV8AhDVzmX0qIMxOYNL7gTBp8Iu/FgiLBzTqeEAYNdm9nwuEvfMrnx4I5dFFFwIhOt7j5oDQNPg7bQOh6b0AQtPggSD4WxMAgntxdC/8UrHh3QBCw9BPtOwrw4khJX4ECImpXu8JCNdnuOUTgLBlbMMPDYThI17zBUBYM5fZpwLC7AQmvR8Ikwa/+GuBsHhAo44HhFGT3fu5QNg7v/LpgVAeXXQhEKLjPW4OCE2Dv9M2EJreCyA0DR4Igr81ASC4F0f3wi8VG94NIDQM/UTLvjKcGFLiR4CQmOr1noBwfYZbPgEIW8Y2/NBAGD7iNV8AhDVzmX0qIMxOYNL7gTBp8Iu/FgiLBzTqeEAYNdm9nwuEvfMrnx4I5dFFFwIhOt7j5oDQNPg7bQOh6b0AQtPggSD4WxMAgntxdC/8UrHh3QBCw9BPtOwrw4khJX4ECImpXu8JCNdnuOUTgLBlbMMPDYThI17zBUBYM5fZpwLC7AQmvR8Ikwa/+GuBsHhAo44HhFGT3fu5QNg7v/LpgVAeXXQhEKLjPW4OCE2Dv9M2EJreCyA0DR4Igr81ASC4F0f3wi8VG94NIDQM/UTLvjKcGFLiR4CQmOr1noBwfYZbPgEIW8Y2/NBAGD7iNV8AhDVzmX0qIMxOYNL7gTBp8Iu/FgiLBzTqeEAYNdm9nwuEvfMrnx4I5dFFFwIhOt7j5oDQNPg7bQOh6b0AQtPggSD4WxMAgntxdC/8UrHh3QBCw9BPtOwrw4khJX4ECImpXu8JCNdnuOUTgLBlbMMPDYThI17zBUBYM5fZpwLC7AQmvR8Ikwa/+GuBsHhAo44HhFGT3fu5QNg7v/LpgVAeXXQhEKLjPW4OCE2Dv9M2EJreCyA0DR4Igr81ASC4F0f3wi8VG94NIDQM/UTLvjKcGFLiR4CQmOr1noBwfYZbPgEIW8Y2/NBAGD7iNV8AhDVzmX0qIMxOYNL7gTBp8Iu/FgiLBzTqeEAYNdm9nwuEvfMrnx4I5dFFFwIhOt7j5oDQNPg7bQOh6b0AQtPggSD4WxMAgntxdC/8UrHh3QBCw9BPtOwrw4khJX4ECImpXu8JCNdnuOUTgLBlbMMPDYThI17zBUBYM5fZpwLC7AQmvR8Ikwa/+GuBsHhAo44HhFGT3fu5QNg7v/LpgVAeXXQhEKLjPW4OCE2Dv9M2EJreCyA0DR4Igr81ASC4F0f3wi8VG94NIDQM/UTLvjKcGFLiR4CQmOr1noBwfYZbPgEIW8Y2/NBAGD7iNV9wBoQXr9+//Pb9y481O3CqERN4+uT5Y/8PYcRkF3/mGRAWb8HxBk0ACIMGu/JjgbByOnPPBoS585/ydiBMGfsWLwXCFjH9v4cEwv87z6SnASEpzZO9AOHkoBp+DAgNQwdCw9BPtgyEk4NK+tgZEDr92fHnn9s+f3jz6aGMO8zDnx2Ttvw/9HIGhGev3v3x9ePbv/7DY7f9qHn8is4Pk7a9wtcObgH+PT/zAMK1jdq82gIA4dYV9i+EzRe7enwgAAEI1e0JrAMCEIAQuNjVloAABCBUtyewDghAAELgYldbAgIQgFDdnsA6IAABCIGLXW0JCEAAQnV7AuuAAAQgBC52tSUgAAEI1e0JrAMCEIAQuNjVloAABCBUtyewDghAAELgYldbAgIQgFDdnsA6IAABCIGLXW0JCEAAQnV7AuuAAAQgBC52tSUgAAEI1e0JrAMCEIAQuNjVloAABCBUtyewDghAAELgYldbAgIQgFDdnsA6IAABCIGLXW0JCEAAQnV7AuuAAAQgBC52tSUgAAEI1e0JrAMCEIAQuNjVloAABCBUtyewDghAAELgYldbAgIQgFDdnsA6IAABCIGLXW0JCEAAQnV7AuuAAAQgBC52tSUgAAEI1e0JrAMCEIAQuNjVloAABCBUtyewDghAAELgYldbAgIQgFDdnsA6IAABCIGLXW0JCEAAQnV7AuuAAAQgBC52tSUgAAEI1e0JrAMCEIAQuNjVloAABCBUtyewDghAAELgYldbAgIQgFDdnsA6IAABCIGLXW0JCEAAQnV7AuuAAAQgBC52tSUgAAEI1e0JrAMCEIAQuNjVloAABCBUtyewDghAAELgYldbAgIQgFDdnsA6IAABCIGLXW0JCEAAQnV7AuuAAAQgBC52tSUgAAEI1e0JrAMCEIAQuNjVloAABCBUtyewDghAAELgYldbAgIQgFDdnsA6IAABCIGLXW0JCEAAQnV7AuuAAAQgBC52tSUgAAEI1e0JrAMCEIAQuNjVloAABCBUtyewDghAAELgYldbAgIQgFDdnsA6IAABCIGLXW0JCEAAQnV7AuuAAAQgBC52tSUgAAEI1e0JrAMCEIAQuNjVloAABCBUtyewDghAAELgYldbAgIQgFDdnsA6IAABCIGLXW0JCEAAQnV7AuuAAAQgBC52tSUgAAEI1e0JrAMCEIAQuNjVloAABCBUtyewDghAAELgYldbAgIQgFDdnsA6IAABCIGLXW0JCEAAQnV7AuuAAAQgBC52tSUgAAEI1e0JrAMCEIAQuNjVloAABCBUtyewDghAAELgYldbAgIQgFDdnsA6IAABCIGLXW0JCEAAQnV7AuuAAAQgBC52tSUgAAEI1e0JrAMCEIAQuNjVloAABCBUtyewDghAAELgYldbAgIQgFDdnsA6IAABCIGLXW0JCEAAQnV7AuuAAAQgBC52tSUgAAEI1e0JrAMCEIAQuNjVloAABCBUtyewDghAAELgYldbAgIQgFDdnsA6IAABCIGLXW0JCEAAQnV7AuuAAAQgBC52tSUgAAEI1e0JrAMCEIAQuNjVloAABCBUtyewDghAAELgYldbAgIQgFDdnsA6IAABCIGLXW0JCEAAQnV7AuuAAAQgBC52tSUgAOEQhBev37/89v3Lj+rlUrffBJ4+ef7484c3nx46ead7YR6/bsLPOfwNs58CItYH3w8AAAAASUVORK5CYII=",pB="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQQAAAECCAYAAAAYUakXAAAAAXNSR0IArs4c6QAACBJJREFUeF7t2LFJrGEURVGFEQ0EsQEDezKxAWuygIkszmQCRQPBwESQE7vXi+8L7rofm/k9v3k83r9/nD7P/CNAIC1weXF9OL96eL57e3l6TUtYngCBs6uH51tB8BAIEPgWEAQPgQCBHwFB8BgIEBAEb4AAgd8CfiF4FQQI+IXgDRAg4BeCN0CAwB8CPhk8DwIEfDJ4AwQI+GTwBggQ8MngDRAgsAj4G8KiZIZAREAQIoe2JoFFQBAWJTMEIgKCEDm0NQksAoKwKJkhEBEQhMihrUlgERCERckMgYiAIEQObU0Ci4AgLEpmCEQEBCFyaGsSWAQEYVEyQyAiIAiRQ1uTwCIgCIuSGQIRAUGIHNqaBBYBQViUzBCICAhC5NDWJLAICMKiZIZAREAQIoe2JoFFQBAWJTMEIgKCEDm0NQksAoKwKJkhEBEQhMihrUlgERCERckMgYiAIEQObU0Ci4AgLEpmCEQEBCFyaGsSWAQEYVEyQyAiIAiRQ1uTwCIgCIuSGQIRAUGIHNqaBBYBQViUzBCICAhC5NDWJLAICMKiZIZAREAQIoe2JoFFQBAWJTMEIgKCEDm0NQksAoKwKJkhEBEQhMihrUlgERCERckMgYiAIEQObU0Ci4AgLEpmCEQEBCFyaGsSWAQEYVEyQyAiIAiRQ1uTwCIgCIuSGQIRAUGIHNqaBBYBQViUzBCICAhC5NDWJLAICMKiZIZAREAQIoe2JoFFQBAWJTMEIgKCEDm0NQksAoKwKJkhEBEQhMihrUlgERCERckMgYiAIEQObU0Ci4AgLEpmCEQEBCFyaGsSWAQEYVEyQyAiIAiRQ1uTwCIgCIuSGQIRAUGIHNqaBBYBQViUzBCICAhC5NDWJLAICMKiZIZAREAQIoe2JoFFQBAWJTMEIgKCEDm0NQksAoKwKJkhEBEQhMihrUlgERCERckMgYiAIEQObU0Ci4AgLEpmCEQEBCFyaGsSWAQEYVEyQyAiIAiRQ1uTwCIgCIuSGQIRAUGIHNqaBBYBQViUzBCICAhC5NDWJLAICMKiZIZAREAQIoe2JoFFQBAWJTMEIgKCEDm0NQksAoKwKJkhEBEQhMihrUlgERCERckMgYiAIEQObU0Ci4AgLEpmCEQEBCFyaGsSWAQEYVEyQyAiIAiRQ1uTwCIgCIuSGQIRAUGIHNqaBBYBQViUzBCICAhC5NDWJLAICMKiZIZAREAQIoe2JoFFQBAWJTMEIgKCEDm0NQksAoKwKJkhEBEQhMihrUlgERCERckMgYiAIEQObU0Ci4AgLEpmCEQEBCFyaGsSWAQEYVEyQyAiIAiRQ1uTwCIgCIuSGQIRAUGIHNqaBBYBQViUzBCICAhC5NDWJLAICMKiZIZAREAQIoe2JoFFQBAWJTMEIgKCEDm0NQksAoKwKJkhEBEQhMihrUlgERCERckMgYiAIEQObU0Ci4AgLEpmCEQEBCFyaGsSWAQEYVEyQyAiIAiRQ1uTwCIgCIuSGQIRAUGIHNqaBBYBQViUzBCICAhC5NDWJLAICMKiZIZAREAQIoe2JoFFQBAWJTMEIgKCEDm0NQksAoKwKJkhEBEQhMihrUlgERCERckMgYiAIEQObU0Ci4AgLEpmCEQEBCFyaGsSWAQEYVEyQyAiIAiRQ1uTwCIgCIuSGQIRAUGIHNqaBBYBQViUzBCICAhC5NDWJLAICMKiZIZAREAQIoe2JoFFQBAWJTMEIgKCEDm0NQksAoKwKJkhEBEQhMihrUlgERCERckMgYiAIEQObU0Ci4AgLEpmCEQEBCFyaGsSWAQEYVEyQyAiIAiRQ1uTwCIgCIuSGQIRAUGIHNqaBBYBQViUzBCICAhC5NDWJLAICMKiZIZAREAQIoe2JoFFQBAWJTMEIgKCEDm0NQksAoKwKJkhEBEQhMihrUlgERCERckMgYiAIEQObU0Ci4AgLEpmCEQEBCFyaGsSWAQEYVEyQyAiIAiRQ1uTwCIgCIuSGQIRAUGIHNqaBBYBQViUzBCICAhC5NDWJLAICMKiZIZAREAQIoe2JoFFQBAWJTMEIgKCEDm0NQksAoKwKJkhEBEQhMihrUlgERCERckMgYiAIEQObU0Ci4AgLEpmCEQEBCFyaGsSWAQEYVEyQyAiIAiRQ1uTwCIgCIuSGQIRAUGIHNqaBBYBQViUzBCICAhC5NDWJLAICMKiZIZAREAQIoe2JoFFQBAWJTMEIgKCEDm0NQksAoKwKJkhEBEQhMihrUlgERCERckMgYiAIEQObU0Ci4AgLEpmCEQEBCFyaGsSWAQEYVEyQyAiIAiRQ1uTwCIgCIuSGQIRAUGIHNqaBBYBQViUzBCICAhC5NDWJLAICMKiZIZAREAQIoe2JoFFQBAWJTMEIgKCEDm0NQksAoKwKJkhEBEQhMihrUlgERCERckMgYiAIEQObU0Ci4AgLEpmCEQEBCFyaGsSWAQEYVEyQyAiIAiRQ1uTwCIgCIuSGQIRAUGIHNqaBBYBQViUzBCICAhC5NDWJLAICMKiZIZAREAQIoe2JoFFQBAWJTMEIgKCEDm0NQksAoKwKJkhEBEQhMihrUlgERCERckMgYiAIEQObU0Ci4AgLEpmCEQEBCFyaGsSWAQEYVEyQyAiIAiRQ1uTwCIgCIuSGQIRAUGIHNqaBBYBQViUzBCICAhC5NDWJLAICMKiZIZAREAQIoe2JoFFQBAWJTMEIgKCEDm0NQksAt9BuHk83r9/nD6X/2CGAIH/K3B5cX34AlYUH64bayLSAAAAAElFTkSuQmCC",CB={class:"button-style acea-row row-middle"},_B={key:0,class:"title-tips"},bB={class:"style-box acea-row row-middle"},BB={class:"name"},hB={class:"list acea-row row-middle"},yB=["onClick"],wB={class:"pictrue acea-row row-center-wrapper"},QB=["src"],xB={key:0,class:"iconfont icona-zu80222"},IB={class:"name"},UB={class:"dialog-footer"},FB=Object.assign({name:"c_button_style"},{__name:"c_button_style",props:{configObj:{type:Object},configNme:{type:String}},setup(t){const n=t,A=v({}),e=v({}),o=v(!1),i=v(0),m=[{url:Xb,width:220,height:24},{url:Wb,width:220,height:24},{url:$b,width:220,height:24}],a=[{url:Zb,width:220,height:64},{url:qb,width:220,height:59}],d=[{url:eB,width:200,height:172},{url:tB,width:200,height:167}],r=[{url:oB,width:220,height:69},{url:AB,width:220,height:87},{url:nB,width:220,height:62},{url:lB,width:220,height:69},{url:iB,width:220,height:49}],c=[{url:aB,width:130,height:129,count:2},{url:sB,width:130,height:129,count:2},{url:cB,width:130,height:129,count:3},{url:rB,width:130,height:129,count:3},{url:uB,width:130,height:129,count:3},{url:dB,width:130,height:129,count:3},{url:mB,width:130,height:129,count:3},{url:gB,width:130,height:129,count:4},{url:fB,width:130,height:129,count:5},{url:vB,width:130,height:129,count:4},{url:pB,width:130,height:129,count:1}],f=v([]);M(()=>n.configObj,B=>{A.value=B,e.value=B[n.configNme]},{deep:!0}),Ce(()=>{ve(()=>{switch(A.value=n.configObj,e.value=n.configObj[n.configNme],ve(B=>{i.value=e.value.tabVal}),e.value.type){case"navBar":f.value=m;break;case"signIn":f.value=a;break;case"ranking":f.value=d;break;case"coupon":f.value=r;break;case"pictureCube":f.value=c;break}})});function g(B){i.value=B}function p(){o.value=!0}function b(){o.value=!1}function _(){o.value=!1,e.value.tabVal=i.value,e.value.count=f.value[i.value].count,A.value.picStyle&&(A.value.picStyle.tabVal=0)}return(B,y)=>{const Q=X("el-button"),I=X("el-dialog"),N=jt("db-click");return s(),u("div",null,[l("div",CB,[e.value?(s(),u("div",_B,[l("span",null,$(e.value.title),1)])):O("",!0),l("div",bB,[l("div",{class:"bnt",onClick:p},"修改风格"),l("div",BB,"当前:样式"+$(e.value.tabVal+1),1)])]),L(I,{modelValue:o.value,"onUpdate:modelValue":y[0]||(y[0]=w=>o.value=w),title:"风格选择器",height:"500",width:e.value.type=="signIn"||e.value.type=="ranking"?"630px":"910px"},{footer:P(()=>[l("span",UB,[Ze((s(),ce(Q,{onClick:b},{default:P(()=>[...y[1]||(y[1]=[se("取 消",-1)])]),_:1})),[[N]]),Ze((s(),ce(Q,{type:"primary",onClick:_},{default:P(()=>[...y[2]||(y[2]=[se("确 定",-1)])]),_:1})),[[N]])])]),default:P(()=>[l("div",hB,[(s(!0),u(q,null,ae(f.value,(w,h)=>(s(),u("div",{class:ue(["item",i.value==h?"on":""]),key:h,onClick:E=>g(h)},[l("div",wB,[l("img",{src:w.url,style:U({width:w.width+"px",height:w.height+"px"})},null,12,QB),i.value==h?(s(),u("span",xB)):O("",!0)]),l("div",IB,"风格"+$(h+1),1)],10,yB))),128))])]),_:1},8,["modelValue","width"])])}}}),EB=fe(FB,[["__scopeId","data-v-e8bbec69"]]),SB=Object.freeze(Object.defineProperty({__proto__:null,default:EB},Symbol.toStringTag,{value:"Module"})),LB={class:"c-card-select"},NB={class:"card-wrapper"},kB={key:0,class:"card-title"},VB={key:1,class:"card-desc"},OB={key:2,class:"card-list"},DB=["onClick"],HB={class:"card-content"},TB={class:"card-name"},jB={key:0,class:"card-check"},RB=Object.assign({name:"c_card_select"},{__name:"c_card_select",props:{configObj:{type:Object},configNme:{type:String}},emits:["getConfig"],setup(t,{emit:n}){const A=t,e=n,o=v({}),i=v({});M(()=>A.configObj,a=>{o.value=a,i.value=a[A.configNme]},{deep:!0});function m(a){i.value.tabVal=a,e("getConfig",a)}return(a,d)=>(s(),u("div",LB,[l("div",NB,[o.value.cname?(s(),u("div",kB,$(o.value.cname),1)):O("",!0),o.value.desc?(s(),u("div",VB,$(o.value.desc),1)):O("",!0),i.value.tabList&&i.value.tabList.length?(s(),u("div",OB,[(s(!0),u(q,null,ae(i.value.tabList,(r,c)=>(s(),u("div",{class:ue(["card-item",{active:i.value.tabVal===c}]),key:c,onClick:f=>m(c)},[l("div",HB,[l("span",TB,$(r.name),1)]),i.value.tabVal===c?(s(),u("div",jB,[...d[0]||(d[0]=[l("i",{class:"el-icon-check"},null,-1)])])):O("",!0)],10,DB))),128))])):O("",!0)])]))}}),MB=fe(RB,[["__scopeId","data-v-44ebe0fe"]]),KB=Object.freeze(Object.defineProperty({__proto__:null,default:MB},Symbol.toStringTag,{value:"Module"})),PB={class:"slider-box"},GB={class:"c_row-item"},zB=Object.assign({name:"c_cascader"},{__name:"c_cascader",props:{configObj:{type:Object},configNme:{type:String},number:{type:null}},emits:["getConfig"],setup(t,{emit:n}){const A=t,e=n,o=v({}),i=v({}),m=v("");M(()=>A.configObj,d=>{o.value=d,i.value=d[A.configNme]},{deep:!0,immediate:!0}),M(()=>A.number,d=>{m.value=d});function a(d){let r=window.localStorage;i.value.activeValue=d||r.getItem(m.value),e("getConfig",{name:"cascader",values:d})}return(d,r)=>{const c=X("el-col"),f=X("el-cascader");return s(),u("div",PB,[l("div",GB,[i.value.title?(s(),ce(c,{key:0,class:"label",span:"4"},{default:P(()=>[se($(i.value.title),1)]),_:1})):O("",!0),L(c,{span:19,class:"slider-box"},{default:P(()=>[L(f,{data:i.value.list,placeholder:"请选择商品分类",props:{multiple:!0,checkStrictly:!0,emitPath:!1},modelValue:i.value.activeValue,"onUpdate:modelValue":r[0]||(r[0]=g=>i.value.activeValue=g),filterable:"",onChange:a},null,8,["data","modelValue"])]),_:1})])])}}}),JB=Object.freeze(Object.defineProperty({__proto__:null,default:zB},Symbol.toStringTag,{value:"Module"})),YB={class:"checkboxs acea-row row-top"},XB={key:0,class:"title-tips"},WB={class:"checkbox-box"},$B=Object.assign({name:"c_checkbox"},{__name:"c_checkbox",props:{configObj:{type:Object},configNme:{type:String}},setup(t){const n=t,A=v({}),e=v({}),o=v([]),i=v(0);M(()=>n.configObj,a=>{var d,r;A.value=a,e.value=a[n.configNme],i.value=((d=a.styleConfig)==null?void 0:d.tabVal)||1,o.value=((r=a.checkboxInfo)==null?void 0:r.type)||[]},{deep:!0}),M(()=>{var a,d;return(d=(a=n.configObj)==null?void 0:a.styleConfig)==null?void 0:d.tabVal},()=>{e.value.userType&&(e.value.type=[3,1,2])}),M(()=>{var a,d;return(d=(a=n.configObj)==null?void 0:a.storeStyleConfig)==null?void 0:d.tabVal},a=>{e.value.storeType&&(a==1?e.value.list=[{id:0,name:"配送方式"},{id:2,name:"门店距离"},{id:3,name:"门店地址"}]:e.value.list=[{id:0,name:"配送方式"},{id:1,name:"营业时间"},{id:2,name:"门店距离"},{id:3,name:"门店地址"}])}),Ce(()=>{ve(()=>{var a,d;A.value=n.configObj,e.value=n.configObj[n.configNme],i.value=(a=A.value.styleConfig)==null?void 0:a.tabVal,o.value=((d=A.value.checkboxInfo)==null?void 0:d.type)||[]})});function m(a){}return(a,d)=>{const r=X("el-checkbox"),c=X("el-checkbox-group");return s(),u("div",YB,[e.value?(s(),u("div",XB,[l("span",null,$(e.value.title),1)])):O("",!0),l("div",WB,[L(c,{modelValue:e.value.type,"onUpdate:modelValue":d[0]||(d[0]=f=>e.value.type=f),onChange:d[1]||(d[1]=f=>void 0)},{default:P(()=>[(s(!0),u(q,null,ae(e.value.list,(f,g)=>(s(),ce(r,{value:f.id,disabled:!!(o.value.length>=3&&i.value&&e.value.userType&&!o.value.includes(f.id)||e.value.type.length>=3&&e.value.name=="showContent"&&!e.value.type.includes(f.id)||e.value.type.length>=e.value.maxList&&!e.value.type.includes(f.id)),key:g},{default:P(()=>[l("span",null,$(f.name),1)]),_:2},1032,["value","disabled"]))),128))]),_:1},8,["modelValue"])])])}}}),ZB=fe($B,[["__scopeId","data-v-9022e8a0"]]),qB=Object.freeze(Object.defineProperty({__proto__:null,default:ZB},Symbol.toStringTag,{value:"Module"})),e1={class:"slider-box"},t1={key:0,class:"c_row-item"},o1=Object.assign({name:"c_classify"},{__name:"c_classify",props:{configObj:{type:Object},configNme:{type:String},number:{type:null}},emits:["getConfig"],setup(t,{emit:n}){const A=t,e=n,o=v({}),i=v({}),m=v({multiple:!0,checkStrictly:!0,emitPath:!1}),a=v([]),d=pe({get(){return i.value.activeValue!==void 0?i.value.activeValue:i.value.classVal},set(p){i.value.activeValue!==void 0?i.value.activeValue=p:i.value.classVal=p}});Ce(()=>{ve(()=>{o.value=A.configObj,i.value=A.configObj[A.configNme],A.configNme==="articleClass"?c():g()})}),M(()=>A.configObj,p=>{o.value=p,i.value=p[A.configNme]},{deep:!0});function r(){e("getConfig",{name:"classlfy"})}function c(){Wi({status:1,type:1}).then(p=>{a.value=f(p.data)}).catch(p=>{Ve.error(p.msg)})}function f(p){return p.map(b=>({value:b.id,label:b.title,children:b.children?f(b.children):null}))}function g(){ml(1).then(p=>{a.value=p.data}).catch(p=>{Ve.error(p.msg)})}return(p,b)=>{const _=X("el-col"),B=X("el-cascader");return s(),u("div",e1,[i.value.title?(s(),u("div",t1,[L(_,{class:"label",span:4},{default:P(()=>[se($(i.value.title),1)]),_:1}),L(_,{span:18},{default:P(()=>[L(B,{onChange:r,placeholder:"请选择分类",modelValue:d.value,"onUpdate:modelValue":b[0]||(b[0]=y=>d.value=y),options:a.value,props:m.value,filterable:"",clearable:""},null,8,["modelValue","options","props"])]),_:1})])):O("",!0)])}}}),A1=fe(o1,[["__scopeId","data-v-df11a3b7"]]),n1=Object.freeze(Object.defineProperty({__proto__:null,default:A1},Symbol.toStringTag,{value:"Module"})),l1={key:0,class:"c_radio mb15"},i1=Object.assign({name:"c_comb_data"},{__name:"c_comb_data",props:{configObj:{type:Object},configNme:{type:String}},emits:["getConfig"],setup(t,{emit:n}){const A=t,e=n,o=v({}),i=v({});M(()=>A.configObj,r=>{o.value=r,i.value=r[A.configNme]},{immediate:!0,deep:!0});function m(r){e("getConfig",{type:2,val:r})}function a(r){e("getConfig",{type:0,val:r})}function d(r){e("getConfig",{type:1,val:r})}return(r,c)=>{const f=X("el-col"),g=X("el-radio"),p=X("el-radio-group"),b=X("el-date-picker"),_=X("el-time-picker");return i.value?(s(),u("div",l1,[l("div",{class:ue(["c_row-item",{on:i.value.type=="ranges"}])},[L(f,{class:"c_label on",span:i.value.type=="ranges"?"":4},{default:P(()=>[se($(i.value.title),1)]),_:1},8,["span"]),L(f,{class:"color-box",span:i.value.type=="ranges"?24:19},{default:P(()=>[l("div",null,[L(p,{modelValue:i.value.tabVal,"onUpdate:modelValue":c[0]||(c[0]=B=>i.value.tabVal=B),onChange:c[1]||(c[1]=B=>a())},{default:P(()=>[(s(!0),u(q,null,ae(i.value.tabList,(B,y)=>(s(),ce(g,{label:y,value:y,key:y},{default:P(()=>[l("span",null,$(B.name),1)]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])]),l("div",null,[i.value.tabVal==0?(s(),ce(p,{key:0,modelValue:i.value.tabData,"onUpdate:modelValue":c[2]||(c[2]=B=>i.value.tabData=B),onChange:c[3]||(c[3]=B=>d())},{default:P(()=>[(s(!0),u(q,null,ae(i.value.dataList,(B,y)=>(s(),ce(g,{label:y,value:y,key:y+"data"},{default:P(()=>[l("span",null,$(B.name),1)]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])):O("",!0)]),i.value.tabData==1&&i.value.tabVal==0&&i.value.type=="data"?(s(),ce(b,{key:0,type:"date",modelValue:i.value.specifyDate,"onUpdate:modelValue":c[4]||(c[4]=B=>i.value.specifyDate=B),placeholder:"请选择",style:{"margin-top":"6px",width:"100%"}},null,8,["modelValue"])):i.value.tabData==1&&i.value.tabVal==0&&i.value.type=="time"?(s(),ce(_,{key:1,format:"HH:mm",modelValue:i.value.specifyDate,"onUpdate:modelValue":c[5]||(c[5]=B=>i.value.specifyDate=B),placeholder:"请选择",style:{"margin-top":"6px",width:"100%"}},null,8,["modelValue"])):i.value.tabData==1&&i.value.tabVal==0&&i.value.type=="daterange"?(s(),ce(b,{key:2,type:"daterange",placement:"bottom-end",modelValue:i.value.specifyDate,"onUpdate:modelValue":c[6]||(c[6]=B=>i.value.specifyDate=B),format:"YYYY/MM/DD",placeholder:"请选择",style:{"margin-top":"6px",width:"100%"},onChange:m},null,8,["modelValue"])):i.value.tabData==1&&i.value.tabVal==0&&i.value.type=="timerange"?(s(),ce(_,{key:3,format:"HH:mm","is-range":"",modelValue:i.value.specifyDate,"onUpdate:modelValue":c[7]||(c[7]=B=>i.value.specifyDate=B),placement:"bottom-end",placeholder:"请选择",style:{"margin-top":"6px",width:"100%"}},null,8,["modelValue"])):O("",!0)]),_:1},8,["span"])],2)])):O("",!0)}}}),a1=fe(i1,[["__scopeId","data-v-d500049a"]]),s1=Object.freeze(Object.defineProperty({__proto__:null,default:a1},Symbol.toStringTag,{value:"Module"})),c1={key:0,class:"title"},r1=Object.assign({name:"c_title"},{__name:"c_title",props:{configObj:{type:Object},configNme:{type:String},title:{type:String,default:""}},setup(t){const n=t,A=v({}),e=v({});return M(()=>n.configObj,o=>{A.value=o,e.value=o[n.configNme]},{deep:!0}),Ce(()=>{ve(()=>{A.value=n.configObj,e.value=n.title||n.configObj[n.configNme]})}),(o,i)=>(s(),u("div",null,[e.value?(s(),u("div",c1,$(e.value),1)):O("",!0)]))}}),vl=fe(r1,[["__scopeId","data-v-7e55a1a2"]]),u1=Object.freeze(Object.defineProperty({__proto__:null,default:vl},Symbol.toStringTag,{value:"Module"})),dt=Object.assign({name:"c_slider_deferred",inheritAttrs:!1},{__name:"c_slider_deferred",props:{modelValue:{type:Number,default:0}},emits:["update:modelValue","change"],setup(t,{emit:n}){const A=t,e=n,o=v(A.modelValue);M(()=>A.modelValue,m=>{o.value=m});function i(m){e("update:modelValue",m??o.value),e("change",m??o.value)}return(m,a)=>{const d=X("el-slider");return s(),ce(d,Pi({modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=r=>o.value=r)},m.$attrs,{onChange:i}),null,16,["modelValue"])}}}),d1=Object.freeze(Object.defineProperty({__proto__:null,default:dt},Symbol.toStringTag,{value:"Module"})),m1={key:0,class:"margin-style-config"},g1={class:"c_row"},f1={class:"c_label"},v1={class:"c_content"},p1={class:"main-setting"},C1={key:0,class:"sub-settings"},_1={class:"input-box"},b1=Object.assign({name:"c_margin_style"},{__name:"c_margin_style",props:{configObj:{type:Object},configNme:{type:String}},setup(t){const n=t,A=v(null);M(()=>n.configObj,i=>{i&&(A.value=i[n.configNme])},{deep:!0,immediate:!0}),M(()=>{var i;return(i=A.value)==null?void 0:i.val},i=>{A.value&&A.value.valList&&A.value.valList.forEach(m=>{m.val=i})}),M(()=>{var i;return(i=A.value)==null?void 0:i.isAll},()=>{A.value&&A.value.valList&&A.value.valList.forEach(i=>{i.val=A.value.val})});function e(){A.value&&(A.value.isAll=!A.value.isAll)}function o(i){const m=["iconshangbianju","iconyoubianju","iconxiabianju","iconzuobianju"],a=["iconneibianju-shang","iconneibianju-you","iconneibianju-xia","iconneibianju-zuo"];return n.configNme==="paddingConfig"?a[i]||"":m[i]||""}return(i,m)=>{const a=X("el-input-number");return A.value?(s(),u("div",m1,[l("div",g1,[l("div",f1,$(A.value.title),1),l("div",v1,[l("div",p1,[L(dt,{modelValue:A.value.val,"onUpdate:modelValue":m[0]||(m[0]=d=>A.value.val=d),"show-input":"",min:A.value.min,max:A.value.max},null,8,["modelValue","min","max"]),l("div",{class:ue(["expand-icon",A.value.isAll?"selected":""]),onClick:e},[...m[1]||(m[1]=[l("span",{class:"iconfont iconbianju"},null,-1)])],2)]),A.value.isAll?(s(),u("div",C1,[(s(!0),u(q,null,ae(A.value.valList,(d,r)=>(s(),u("div",{class:"sub-item",key:r},[l("div",_1,[l("span",{class:ue(["prefix-icon iconfont",o(r)])},null,2),L(a,{modelValue:d.val,"onUpdate:modelValue":c=>d.val=c,min:A.value.min,max:A.value.max,"controls-position":"right"},null,8,["modelValue","onUpdate:modelValue","min","max"])])]))),128))])):O("",!0)])])])):O("",!0)}}}),lA=fe(b1,[["__scopeId","data-v-e8cb7169"]]),B1=Object.freeze(Object.defineProperty({__proto__:null,default:lA},Symbol.toStringTag,{value:"Module"})),h1={key:0,class:"margin-style-config"},y1={class:"c_row"},w1={class:"c_label"},Q1={class:"c_content"},x1={class:"main-setting"},I1={key:0,class:"sub-settings"},U1={class:"input-box"},F1=Object.assign({name:"c_fillet"},{__name:"c_fillet",props:{configObj:{type:Object},configNme:{type:String}},setup(t){const n=t,A=v({});M(()=>n.configObj,i=>{i&&(A.value=i[n.configNme])},{immediate:!0,deep:!0}),M(()=>{var i;return(i=A.value)==null?void 0:i.val},i=>{A.value&&A.value.type==0&&A.value.valList&&A.value.valList.forEach(m=>{m.val=i})}),M(()=>{var i;return(i=A.value)==null?void 0:i.type},i=>{i==0&&A.value&&A.value.valList&&A.value.valList.forEach(m=>{m.val=A.value.val})});function e(){A.value&&(A.value.type=A.value.type?0:1)}function o(i){return["iconzuoshangjiao","iconyoushangjiao","iconzuoxiajiao","iconyouxiajiao"][i]||""}return(i,m)=>{const a=X("el-input-number");return A.value?(s(),u("div",h1,[l("div",y1,[l("div",w1,$(A.value.title),1),l("div",Q1,[l("div",x1,[L(dt,{modelValue:A.value.val,"onUpdate:modelValue":m[0]||(m[0]=d=>A.value.val=d),"show-input":"",min:A.value.min,max:A.value.max||100},null,8,["modelValue","min","max"]),l("div",{class:ue(["expand-icon",A.value.type?"selected":""]),onClick:e},[...m[1]||(m[1]=[l("span",{class:"iconfont iconcaozuo-bianjiao"},null,-1)])],2)]),A.value.type?(s(),u("div",I1,[(s(!0),u(q,null,ae(A.value.valList,(d,r)=>(s(),u("div",{class:"sub-item",key:r},[l("div",U1,[l("span",{class:ue(["prefix-icon iconfont",o(r)])},null,2),L(a,{modelValue:d.val,"onUpdate:modelValue":c=>d.val=c,min:A.value.min,max:A.value.max||100,"controls-position":"right"},null,8,["modelValue","onUpdate:modelValue","min","max"])])]))),128))])):O("",!0)])])])):O("",!0)}}}),pl=fe(F1,[["__scopeId","data-v-4ff31ca3"]]),E1=Object.freeze(Object.defineProperty({__proto__:null,default:pl},Symbol.toStringTag,{value:"Module"})),S1={key:0,class:"slider-box"},L1={class:"c_row-item"},N1=Object.assign({name:"c_slider"},{__name:"c_slider",props:{configObj:{type:Object},configNme:{type:String}},emits:["getConfig"],setup(t,{emit:n}){const A=t,e=n,o=pe(()=>{var m;return(m=A.configObj)==null?void 0:m[A.configNme]});function i(m){e("getConfig",m)}return(m,a)=>{const d=X("el-col");return o.value?(s(),u("div",S1,[l("div",L1,[o.value.title?(s(),ce(d,{key:0,class:"label",span:4},{default:P(()=>[se($(o.value.title),1)]),_:1})):O("",!0),L(d,{span:18},{default:P(()=>[L(dt,{modelValue:o.value.val,"onUpdate:modelValue":a[0]||(a[0]=r=>o.value.val=r),"show-input":"",min:o.value.min,max:o.value.max,onChange:i},null,8,["modelValue","min","max"])]),_:1})])])):O("",!0)}}}),_t=fe(N1,[["__scopeId","data-v-a7b8acf1"]]),k1=Object.freeze(Object.defineProperty({__proto__:null,default:_t},Symbol.toStringTag,{value:"Module"})),V1={key:0},O1={key:3},D1={key:0},H1={key:1},T1={key:9},j1={key:0},R1={key:10},M1={key:0},K1=Object.assign({name:"c_common_style"},{__name:"c_common_style",props:{configObj:{type:Object},configNme:{type:String}},setup(t){return(n,A)=>(s(),u("div",null,[t.configObj?(s(),u("div",V1,[t.configObj.titleCurrency?(s(),ce(de(vl),{key:0,configObj:t.configObj,configNme:"titleCurrency"},null,8,["configObj"])):O("",!0),t.configObj.moduleColor?(s(),ce(de(qe),{key:1,configObj:t.configObj,configNme:"moduleColor"},null,8,["configObj"])):O("",!0),t.configObj.bgColor?(s(),ce(de(qe),{key:2,configObj:t.configObj,configNme:"bgColor"},null,8,["configObj"])):O("",!0),t.configObj.componentBgConfig?(s(),u("div",O1,[L(de(yt),{configObj:t.configObj,configNme:"componentBgConfig"},null,8,["configObj"]),t.configObj.componentBgConfig.tabVal==0?(s(),u("div",D1,[L(de(qe),{configObj:t.configObj.componentBgConfig,configNme:"colorConfig"},null,8,["configObj"]),L(de(yt),{configObj:t.configObj.componentBgConfig,configNme:"colorDirection"},null,8,["configObj"])])):O("",!0),t.configObj.componentBgConfig.tabVal==1?(s(),u("div",H1,[L(de(on),{configObj:t.configObj.componentBgConfig,configNme:"imageConfig"},null,8,["configObj"])])):O("",!0)])):O("",!0),t.configObj.fillet?(s(),ce(de(pl),{key:4,configObj:t.configObj,configNme:"fillet"},null,8,["configObj"])):O("",!0),t.configObj.bottomBgColor?(s(),ce(de(qe),{key:5,configObj:t.configObj,configNme:"bottomBgColor"},null,8,["configObj"])):O("",!0),t.configObj.textColor?(s(),ce(de(qe),{key:6,configObj:t.configObj,configNme:"textColor"},null,8,["configObj"])):O("",!0),t.configObj.marginConfig?(s(),ce(de(lA),{key:7,configObj:t.configObj,configNme:"marginConfig"},null,8,["configObj"])):O("",!0),t.configObj.paddingConfig?(s(),ce(de(lA),{key:8,configObj:t.configObj,configNme:"paddingConfig"},null,8,["configObj"])):O("",!0),t.configObj.borderConfig?(s(),u("div",T1,[L(de(yt),{configObj:t.configObj,configNme:"borderConfig"},null,8,["configObj"]),t.configObj.borderConfig.tabVal==1?(s(),u("div",j1,[L(de(yt),{configObj:t.configObj.borderConfig,configNme:"styleConfig"},null,8,["configObj"]),L(de(_t),{configObj:t.configObj.borderConfig,configNme:"widthConfig"},null,8,["configObj"]),L(de(qe),{configObj:t.configObj.borderConfig,configNme:"colorConfig"},null,8,["configObj"])])):O("",!0)])):O("",!0),t.configObj.shadowConfig?(s(),u("div",R1,[L(de(yt),{configObj:t.configObj,configNme:"shadowConfig"},null,8,["configObj"]),t.configObj.shadowConfig.tabVal==1?(s(),u("div",M1,[L(de(qe),{configObj:t.configObj.shadowConfig,configNme:"colorConfig"},null,8,["configObj"]),L(de(_t),{configObj:t.configObj.shadowConfig,configNme:"xConfig"},null,8,["configObj"]),L(de(_t),{configObj:t.configObj.shadowConfig,configNme:"yConfig"},null,8,["configObj"]),L(de(_t),{configObj:t.configObj.shadowConfig,configNme:"blurConfig"},null,8,["configObj"]),L(de(_t),{configObj:t.configObj.shadowConfig,configNme:"spreadConfig"},null,8,["configObj"])])):O("",!0)])):O("",!0)])):O("",!0)]))}}),P1=Object.freeze(Object.defineProperty({__proto__:null,default:K1},Symbol.toStringTag,{value:"Module"})),G1={key:0,class:"goods-box"},z1={class:"acea-row"},J1={class:"wrapper"},Y1={class:"item"},X1={class:"coupon-item"},W1={class:"name line1"},$1=["onClick"],Z1=Object.assign({name:"c_coupon_select"},{__name:"c_coupon_select",props:{configObj:{type:Object}},setup(t){const n=t,A=v(null),e=v({}),o=v([]),i=c=>e.value.couponList.list.indexOf(c);M(()=>n.configObj,c=>{e.value=c,o.value=c.couponList.list.map(f=>f.id)},{immediate:!0,deep:!0});function m(){A.value.isTemplate=!0}function a(c){const f=new Map;return c.filter(g=>!f.has(g.id)&&f.set(g.id,1))}function d(c,f){A.value.isTemplate=!1;let g=e.value.couponList.list.concat(f);e.value.couponList.list=a(g),c.value=e.value.couponList.list.map(p=>p.id)}function r(c){e.value.couponList.list.splice(c,1),o.value=e.value.couponList.list.map(f=>f.id)}return(c,f)=>{const g=X("el-button");return e.value.couponList?(s(),u("div",G1,[l("div",z1,[f[2]||(f[2]=l("div",{class:"title"},"选择优惠券",-1)),l("div",J1,[L(de(mt),{class:"dragArea list-group",list:e.value.couponList.list,group:"coupons",handle:".move-icon","item-key":i},{item:P(({element:p,index:b})=>[l("div",Y1,[f[0]||(f[0]=l("div",{class:"move-icon"},[l("span",{class:"iconfont iconxingzhuangjiehe"})],-1)),l("div",X1,[l("div",W1,$(p.title),1)]),l("span",{class:"iconfont iconshanchu3",onClick:Re(_=>r(b),["stop"])},null,8,$1)])]),_:1},8,["list"]),l("div",{class:"add-item",onClick:m},[L(g,{class:"btn"},{default:P(()=>[...f[1]||(f[1]=[l("span",{class:"iconfont iconaddto"},null,-1),se("添加",-1)])]),_:1})])])]),L(de(yc),{ref_key:"couponListRef",ref:A,updateIds:o.value,onNameId:d,status:1,receiveType:"all"},null,8,["updateIds"])])):O("",!0)}}}),q1=fe(Z1,[["__scopeId","data-v-1bebab48"]]),eh=Object.freeze(Object.defineProperty({__proto__:null,default:q1},Symbol.toStringTag,{value:"Module"})),th={class:"custom-btn-box"},oh=Object.assign({name:"c_custom_btn"},{__name:"c_custom_btn",props:{configObj:{type:Object},configNme:{type:String}},emits:["getConfig"],setup(t,{emit:n}){const A=t,e=n,o=v({});Ce(()=>{ve(()=>{o.value=A.configObj[A.configNme]||{}})}),M(()=>A.configObj,m=>{o.value=m[A.configNme]||{}},{deep:!0});function i(){e("getConfig",{name:"custom_btn_click"})}return(m,a)=>{const d=X("el-button");return s(),u("div",th,[L(d,{type:"primary",class:"btn",onClick:i},{default:P(()=>[se($(o.value.title||"设计组件"),1)]),_:1})])}}}),Ah=fe(oh,[["__scopeId","data-v-394ca6f8"]]),nh=Object.freeze(Object.defineProperty({__proto__:null,default:Ah},Symbol.toStringTag,{value:"Module"})),lh={key:0,class:"mobile-config-component"},ih={class:"title-bar"},ah={class:"box-content"},sh=Object.assign({name:"c_data_settings"},{__name:"c_data_settings",props:{configObj:{type:Object},configNme:{type:String}},setup(t){const n=t,A=v(null);return M(()=>n.configObj,e=>{A.value=e[n.configNme]},{deep:!0,immediate:!0}),(e,o)=>A.value?(s(),u("div",lh,[l("div",ih,$(A.value.title),1),l("div",ah,[L(de(qe),{configObj:A.value,configNme:"originalPriceColor"},null,8,["configObj"]),L(de(qe),{configObj:A.value,configNme:"stockColor"},null,8,["configObj"]),L(de(qe),{configObj:A.value,configNme:"salesColor"},null,8,["configObj"])])])):O("",!0)}}),ch=fe(sh,[["__scopeId","data-v-01ced21c"]]),rh=Object.freeze(Object.defineProperty({__proto__:null,default:ch},Symbol.toStringTag,{value:"Module"})),uh={key:0},dh={key:0},mh={key:0},gh={key:1},fh={key:4},vh={key:0},ph={key:5},Ch={key:0},_h=Object.assign({name:"c_data_style"},{__name:"c_data_style",props:{configObj:{type:Object},configNme:{type:String}},setup(t){return(n,A)=>(s(),u("div",null,[t.configObj?(s(),u("div",uh,[L(de(vl),{configObj:t.configObj,title:"数据样式"},null,8,["configObj"]),t.configObj.componentBgDataConfig?(s(),u("div",dh,[L(de(yt),{configObj:t.configObj,configNme:"componentBgDataConfig"},null,8,["configObj"]),t.configObj.componentBgDataConfig.tabVal==0?(s(),u("div",mh,[L(de(qe),{configObj:t.configObj.componentBgDataConfig,configNme:"colorConfig"},null,8,["configObj"]),L(de(yt),{configObj:t.configObj.componentBgDataConfig,configNme:"colorDirection"},null,8,["configObj"])])):O("",!0),t.configObj.componentBgDataConfig.tabVal==1?(s(),u("div",gh,[L(de(on),{configObj:t.configObj.componentBgDataConfig,configNme:"imageConfig"},null,8,["configObj"])])):O("",!0)])):O("",!0),t.configObj.filletDataConfig?(s(),ce(de(pl),{key:1,configObj:t.configObj,configNme:"filletDataConfig"},null,8,["configObj"])):O("",!0),t.configObj.marginDataConfig?(s(),ce(de(lA),{key:2,configObj:t.configObj,configNme:"marginDataConfig"},null,8,["configObj"])):O("",!0),t.configObj.paddingDataConfig?(s(),ce(de(lA),{key:3,configObj:t.configObj,configNme:"paddingDataConfig"},null,8,["configObj"])):O("",!0),t.configObj.borderDataConfig?(s(),u("div",fh,[L(de(yt),{configObj:t.configObj,configNme:"borderDataConfig"},null,8,["configObj"]),t.configObj.borderDataConfig.tabVal==1?(s(),u("div",vh,[L(de(yt),{configObj:t.configObj.borderDataConfig,configNme:"styleConfig"},null,8,["configObj"]),L(de(_t),{configObj:t.configObj.borderDataConfig,configNme:"widthConfig"},null,8,["configObj"]),L(de(qe),{configObj:t.configObj.borderDataConfig,configNme:"colorConfig"},null,8,["configObj"])])):O("",!0)])):O("",!0),t.configObj.shadowDataConfig?(s(),u("div",ph,[L(de(yt),{configObj:t.configObj,configNme:"shadowDataConfig"},null,8,["configObj"]),t.configObj.shadowDataConfig.tabVal==1?(s(),u("div",Ch,[L(de(qe),{configObj:t.configObj.shadowDataConfig,configNme:"colorConfig"},null,8,["configObj"]),L(de(_t),{configObj:t.configObj.shadowDataConfig,configNme:"xConfig"},null,8,["configObj"]),L(de(_t),{configObj:t.configObj.shadowDataConfig,configNme:"yConfig"},null,8,["configObj"]),L(de(_t),{configObj:t.configObj.shadowDataConfig,configNme:"blurConfig"},null,8,["configObj"]),L(de(_t),{configObj:t.configObj.shadowDataConfig,configNme:"spreadConfig"},null,8,["configObj"])])):O("",!0)])):O("",!0)])):O("",!0)]))}}),bh=Object.freeze(Object.defineProperty({__proto__:null,default:_h},Symbol.toStringTag,{value:"Module"})),Bh={key:0,class:"mobile-config-component"},hh={class:"c_row-item"},yh=Object.assign({name:"c_datetime_picker"},{__name:"c_datetime_picker",props:{configObj:{type:Object},configNme:{type:String}},setup(t){const n=t,A=v(null);return M(()=>n.configObj,e=>{A.value=e[n.configNme]},{deep:!0,immediate:!0}),(e,o)=>{const i=X("el-col"),m=X("el-date-picker");return A.value?(s(),u("div",Bh,[l("div",hh,[L(i,{class:"label",span:4},{default:P(()=>[se($(A.value.title),1)]),_:1}),L(i,{span:18,class:"slider-box"},{default:P(()=>[L(m,{modelValue:A.value.val,"onUpdate:modelValue":o[0]||(o[0]=a=>A.value.val=a),type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期","value-format":"YYYY/MM/DD",style:{width:"100%"}},null,8,["modelValue"])]),_:1})])])):O("",!0)}}}),wh=fe(yh,[["__scopeId","data-v-f54ed070"]]),Qh=Object.freeze(Object.defineProperty({__proto__:null,default:wh},Symbol.toStringTag,{value:"Module"})),xh={key:0,class:"footer"},Ih={class:"box-item"},Uh={class:"right-wrapper"},Fh={key:0,class:"acea-row"},Eh={class:"img-wrapper"},Sh=["onClick"],Lh={key:0,class:"pictrue"},Nh=["src"],kh={key:1,class:"empty-img"},Vh={class:"name"},Oh={key:1,class:"c_row-item"},Dh={class:"c_row-item"},Hh=["onClick"],Th=["onClick"],jh=Object.assign({name:"c_foot"},{__name:"c_foot",props:{configObj:{type:Object,default:function(){return{}}},configNme:{type:String,default:""}},setup(t){const n=t,A=Be(),e=v([]),o=v(!1),i=v("单选"),m=v(0),a=v(0),d=v({xl:4,lg:8,md:8,sm:8,xs:8}),r=v({xl:6,lg:8,md:12,sm:12,xs:12}),c=v(0),f=fl,g=v(null);function p(N){return e.value.indexOf(N)}e.value=n.configObj[n.configNme],M(()=>n.configObj,(N,w)=>{e.value=N[n.configNme],c.value=N.navStyleConfig.tabVal},{deep:!0});function b(N){e.value[m.value].link=N}function _(N){m.value=N,g.value.modals=!0}function B(N,w){m.value=N,a.value=w,o.value=!0}function y(N){ve(()=>{e.value[m.value].imgList[a.value]=N.att_dir,o.value=!1,A.footUpdata(e.value)})}function Q(){let N={imgList:[f,f],name:"自定义",link:""};e.value.push(N)}function I(N){GA({title:"提示",message:"是否确定删除该菜单",showCancelButton:!0,cancelButtonText:"取消",confirmButtonText:"删除",iconClass:"el-icon-warning",confirmButtonClass:"btn-custom-cancel"}).then(()=>{e.value.splice(N,1)}).catch(()=>{})}return(N,w)=>{const h=X("el-col"),E=X("el-input"),F=X("el-button"),x=X("el-dialog");return e.value?(s(),u("div",xh,[w[9]||(w[9]=l("p",{class:"tips"},"图片建议宽度81*81px;鼠标拖拽左侧圆点可调整导航顺序",-1)),L(de(mt),{class:"dragArea list-group",list:e.value,group:"peoples",handle:".iconfont","item-key":p},{item:P(({element:j,index:D})=>[l("div",Ih,[w[7]||(w[7]=l("div",{class:"left-tool"},[l("span",{class:"iconfont iconxingzhuangjiehe"})],-1)),l("div",Uh,[c.value!=1?(s(),u("div",Fh,[w[3]||(w[3]=l("div",{class:"title"},"图标",-1)),l("div",Eh,[(s(!0),u(q,null,ae(j.imgList,(V,S)=>(s(),u("div",{class:"img-item",key:S,onClick:k=>B(D,S)},[V?(s(),u("div",Lh,[l("img",{src:V,alt:""},null,8,Nh),w[1]||(w[1]=l("p",{class:"txt"},"替换",-1))])):(s(),u("div",kh,[...w[2]||(w[2]=[l("span",{class:"iconfont iconjiahao"},null,-1)])])),l("div",Vh,$(S==0?"选中":"未选中"),1)],8,Sh))),128))])])):O("",!0),c.value!=2?(s(),u("div",Oh,[L(h,{class:"label",span:4},{default:P(()=>[...w[4]||(w[4]=[se(" 名称 ",-1)])]),_:1}),L(h,{class:"slider-box",span:20},{default:P(()=>[L(E,{modelValue:j.name,"onUpdate:modelValue":V=>j.name=V,placeholder:"选填不超过10个字"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])):O("",!0),l("div",Dh,[L(h,{class:"label",span:4},{default:P(()=>[...w[5]||(w[5]=[se(" 链接 ",-1)])]),_:1}),L(h,{class:"slider-box",span:20},{default:P(()=>[l("div",null,[L(E,{modelValue:j.link,"onUpdate:modelValue":V=>j.link=V,placeholder:"选填不超过10个字"},{suffix:P(()=>[l("i",{class:"el-icon-link",onClick:V=>_(D)},null,8,Hh)]),_:2},1032,["modelValue","onUpdate:modelValue"])])]),_:2},1024)])]),l("div",{class:"del-box",onClick:V=>I(D)},[...w[6]||(w[6]=[l("span",{class:"iconfont iconcha"},null,-1)])],8,Th)])]),_:1},8,["list"]),e.value.length<5?(s(),ce(F,{key:0,class:"add-btn",onClick:Q},{default:P(()=>[...w[8]||(w[8]=[se("+ 添加板块",-1)])]),_:1})):O("",!0),l("div",null,[L(x,{modelValue:o.value,"onUpdate:modelValue":w[0]||(w[0]=j=>o.value=j),width:"960px",title:"上传底部菜单","mask-closable":!1},{default:P(()=>[o.value?(s(),ce(de(Nt),{key:0,isChoice:i.value,onGetPic:y,gridBtn:d.value,gridPic:r.value},null,8,["isChoice","gridBtn","gridPic"])):O("",!0)]),_:1},8,["modelValue"])]),L(de(Ft),{ref_key:"linkaddres",ref:g,onLinkUrl:b},null,512)])):O("",!0)}}}),Rh=fe(jh,[["__scopeId","data-v-3fa42f26"]]),Mh=Object.freeze(Object.defineProperty({__proto__:null,default:Rh},Symbol.toStringTag,{value:"Module"})),Kh={key:0,class:"goods-box"},Ph={class:"acea-row"},Gh={class:"wrapper"},zh={key:0,class:"item"},Jh=["src"],Yh=["onClick"],Xh=Object.assign({name:"c_goods"},{__name:"c_goods",props:{configObj:{type:Object}},setup(t){const n=t,A=v(!1),e=v({}),o=d=>e.value.goodsList.list.indexOf(d);M(()=>n.configObj,d=>{e.value=d},{immediate:!0,deep:!0});function i(d){const r=new Map;return d.filter(c=>!r.has(c.id)&&r.set(c.id,1))}function m(d){A.value=!1;let r=e.value.goodsList.list.concat(d);e.value.goodsList.list=i(r)}function a(d){e.value.goodsList.list.splice(d,1)}return(d,r)=>{const c=X("el-dialog");return e.value.goodsList?(s(),u("div",Kh,[l("div",Ph,[r[3]||(r[3]=l("div",{class:"title"},"选择商品",-1)),l("div",Gh,[L(de(mt),{class:"dragArea list-group",list:e.value.goodsList.list,group:"peoples","item-key":o},{item:P(({element:f,index:g})=>[e.value.goodsList.list.length?(s(),u("div",zh,[l("img",{src:f.image,alt:""},null,8,Jh),l("span",{class:"iconfont icondel_1",onClick:Re(p=>a(g),["stop"])},null,8,Yh)])):O("",!0)]),footer:P(()=>[l("div",{class:"add-item item",onClick:r[0]||(r[0]=f=>A.value=!0)},[...r[2]||(r[2]=[l("span",{class:"iconfont iconaddto"},null,-1)])])]),_:1},8,["list"])])]),L(c,{modelValue:A.value,"onUpdate:modelValue":r[1]||(r[1]=f=>A.value=f),title:"商品列表",class:"paymentFooter",width:"900"},{default:P(()=>[A.value?(s(),ce(de(Zi),{key:0,ref:"goodslist",ischeckbox:!0,isdiy:!0,isType:"",onGetProductId:m},null,512)):O("",!0)]),_:1},8,["modelValue"])])):O("",!0)}}}),Wh=fe(Xh,[["__scopeId","data-v-ff66f964"]]),$h=Object.freeze(Object.defineProperty({__proto__:null,default:Wh},Symbol.toStringTag,{value:"Module"})),Zh={class:"label-wrapper"},qh={key:0,class:"nonefont"},ey={class:"title"},ty={class:"list"},oy=["onClick"],Ay=["src"],ny={class:"sanjiao"},ly={class:"footer"},iy=Object.assign({name:"storeLabelList"},{__name:"index",emits:["activeData","close"],setup(t,{expose:n,emit:A}){const e=A,o=v([]),i=v([]),m=v(!1);function a(g,p){for(const b in p)if(p[b].id===g)return!0;return!1}function d(g){i.value=g||[],cc().then(p=>{p.data.map(b=>{b.list&&b.list.length&&(m.value=!0,b.list.map(_=>{a(_.id,i.value)?_.disabled=!0:_.disabled=!1}))}),o.value=p.data}).catch(p=>{Ve.error(p.msg)})}function r(g,p){if(g.disabled){const b=i.value.indexOf(i.value.filter(_=>_.id===g.id)[0]);i.value.splice(b,1),g.disabled=!1}else i.value.push({label_name:g.name,id:g.id}),g.disabled=!0}function c(){e("activeData",JSON.parse(JSON.stringify(i.value)))}function f(){e("close")}return n({storeLabel:d}),(g,p)=>{const b=X("el-button"),_=jt("db-click");return s(),u("div",Zh,[o.value.length?(s(!0),u(q,{key:1},ae(o.value,(B,y)=>(s(),u("div",{class:"label-box",key:y},[l("div",ey,$(B.cate_name),1),l("div",ty,[(s(!0),u(q,null,ae(B.list,(Q,I)=>Ze((s(),u("div",{class:ue(["label",{on:Q.disabled}]),key:I,onClick:N=>r(Q)},[Q.image?(s(),u("img",{key:1,src:Q.image,class:"img-tag"},null,8,Ay)):(s(),u("div",{key:0,class:"label-item",style:U({backgroundColor:Q.bg_color,color:Q.font_color,border:Q.border_color?"1px solid "+Q.border_color:"none"})},$(Q.name),5)),Ze(l("div",ny,[...p[0]||(p[0]=[l("span",{class:"iconfont iconwancheng"},null,-1)])],512),[[ft,Q.disabled]])],10,oy)),[[_]])),128))])]))),128)):(s(),u("div",qh,"暂无标签")),l("div",ly,[L(b,{type:"primary",class:"btns",ghost:"",onClick:f},{default:P(()=>[...p[1]||(p[1]=[se("取消",-1)])]),_:1}),L(b,{type:"primary",class:"btns",onClick:c},{default:P(()=>[...p[2]||(p[2]=[se("确定",-1)])]),_:1})])])}}}),Ma=fe(iy,[["__scopeId","data-v-5b10a7a2"]]),ay={class:"slider-box"},sy={class:"c_row-item"},cy={style:{width:"90%"}},ry={key:0},uy={key:1,class:"span"},dy=Object.assign({name:"c_goods_label"},{__name:"c_goods_label",props:{configObj:{type:Object},configNme:{type:String},number:{type:null}},emits:["getConfig"],setup(t,{emit:n}){const A=t,e=n,o=v(null),i=v({}),m=v({}),a=v(""),d=v(!1);Ce(()=>{ve(()=>{i.value=A.configObj,m.value=A.configObj[A.configNme]})}),M(()=>A.configObj,b=>{i.value=b,m.value=b[A.configNme]},{deep:!0}),M(()=>A.number,b=>{a.value=b});function r(b){d.value=!0,ve(()=>{var B;const _=(B=m.value.list)!=null&&B.length?JSON.parse(JSON.stringify(m.value.list)):void 0;o.value.storeLabel(_)})}function c(b){if(m.value.list.length){let _=m.value.list.indexOf(m.value.list.filter(B=>B.id==b.id)[0]);m.value.list.splice(_,1),g(m.value.list)}}function f(b){d.value=!1,m.value.list=b,g(b)}function g(b){let _=[];b.forEach(B=>{_.push(B.id)}),m.value.activeValue=_,e("getConfig",{name:"goodsLabel"})}function p(){d.value=!1}return(b,_)=>{const B=X("el-col"),y=X("el-tag"),Q=X("el-dialog");return s(),u("div",ay,[l("div",sy,[m.value.title?(s(),ce(B,{key:0,class:"label",span:4},{default:P(()=>[se($(m.value.title),1)]),_:1})):O("",!0),L(B,{span:18},{default:P(()=>[l("div",{class:"labelInput acea-row row-between-wrapper",onClick:r},[l("div",cy,[m.value.list&&m.value.list.length?(s(),u("div",ry,[(s(!0),u(q,null,ae(m.value.list,(I,N)=>(s(),ce(y,{closable:"",key:N,onClose:w=>c(I)},{default:P(()=>[se($(I.label_name),1)]),_:2},1032,["onClose"]))),128))])):(s(),u("span",uy,"选择商品标签"))]),_[1]||(_[1]=l("div",{class:"iconfont iconxiayi"},null,-1))])]),_:1})]),L(Q,{modelValue:d.value,"onUpdate:modelValue":_[0]||(_[0]=I=>d.value=I),title:"选择商品标签",width:"540"},{default:P(()=>[d.value?(s(),ce(de(Ma),{key:0,ref_key:"storeLabel",ref:o,onActiveData:f,onClose:p},null,512)):O("",!0)]),_:1},8,["modelValue"])])}}}),my=fe(dy,[["__scopeId","data-v-51fad7be"]]),gy=Object.freeze(Object.defineProperty({__proto__:null,default:my},Symbol.toStringTag,{value:"Module"})),fy={key:0,class:"acea-row row-top",style:{"margin-bottom":"20px"}},vy=Object.assign({name:"c_goods_search"},{__name:"c_goods_search",props:{configObj:{type:Object},configNme:{type:String}},emits:["getConfig"],setup(t,{emit:n}){const A=t,e=n,o=v({}),i=v({});M(()=>A.configObj,d=>{o.value=d,i.value=d[A.configNme]},{deep:!0}),Ce(()=>{ve(()=>{o.value=A.configObj,i.value=A.configObj[A.configNme]})});function m(d){e("getConfig",d)}function a(d){let r=window.localStorage;i.value.activeValue=d||r.getItem(timeStamp.value),e("getConfig",{name:"cascader",values:d})}return(d,r)=>{const c=X("el-checkbox"),f=X("el-cascader"),g=X("el-checkbox-group");return i.value?(s(),u("div",fy,[L(g,{modelValue:i.value.type,"onUpdate:modelValue":r[1]||(r[1]=p=>i.value.type=p),onChange:m},{default:P(()=>[l("div",null,[L(c,{label:1,value:1},{default:P(()=>[...r[2]||(r[2]=[l("span",null,"商品分类",-1)])]),_:1}),L(f,{data:i.value.list,placeholder:"请选择商品分类",props:{multiple:!0,checkStrictly:!0,emitPath:!1},modelValue:i.value.activeValue,"onUpdate:modelValue":r[0]||(r[0]=p=>i.value.activeValue=p),filterable:"",onChange:a},null,8,["data","modelValue"])])]),_:1},8,["modelValue"])])):O("",!0)}}}),py=Object.freeze(Object.defineProperty({__proto__:null,default:vy},Symbol.toStringTag,{value:"Module"})),Cy={class:"grid-item-style-config"},_y={class:"config-title"},by={class:"config-item"},By={class:"slider-container"},hy={class:"config-item"},yy={class:"slider-container"},wy={class:"config-item"},Qy={class:"row slider-container"},xy={class:"config-item"},Iy={class:"slider-container"},Uy=Object.assign({name:"c_grid_item_style"},{__name:"c_grid_item_style",props:{configNme:{type:String},configObj:{type:Object,default:()=>{}}},emits:["getConfig"],setup(t,{emit:n}){const A=t,e=n,o=v({title:"宫格项样式",itemPadding:8,itemBgColor:"#ffffff",itemRadius:8,itemPaddingTop:0}),i=v({});M(()=>A.configObj,a=>{a[A.configNme]?Object.keys(o.value).forEach(d=>{a[A.configNme][d]===void 0&&(a[A.configNme][d]=o.value[d])}):a[A.configNme]=Object.assign({},o.value),i.value=a[A.configNme]},{deep:!0,immediate:!0});function m(){e("getConfig",i.value)}return(a,d)=>{const r=X("el-color-picker"),c=X("el-input");return s(),u("div",Cy,[l("div",_y,$(i.value.title),1),l("div",by,[d[6]||(d[6]=l("span",{class:"item-label"},"内容间距",-1)),l("div",By,[L(dt,{modelValue:i.value.itemPadding,"onUpdate:modelValue":d[0]||(d[0]=f=>i.value.itemPadding=f),"show-input":"",min:0},null,8,["modelValue"])])]),l("div",hy,[d[7]||(d[7]=l("span",{class:"item-label"},"上下内边距",-1)),l("div",yy,[L(dt,{modelValue:i.value.itemPaddingTop,"onUpdate:modelValue":d[1]||(d[1]=f=>i.value.itemPaddingTop=f),"show-input":"",min:0},null,8,["modelValue"])])]),l("div",wy,[d[8]||(d[8]=l("span",{class:"item-label"},"背景色",-1)),l("div",Qy,[L(r,{modelValue:i.value.itemBgColor,"onUpdate:modelValue":d[2]||(d[2]=f=>i.value.itemBgColor=f),onChange:m,"show-alpha":""},null,8,["modelValue"]),L(c,{modelValue:i.value.itemBgColor,"onUpdate:modelValue":d[3]||(d[3]=f=>i.value.itemBgColor=f),placeholder:"请输入颜色",onChange:m,style:{"margin-left":"10px",flex:"1"}},null,8,["modelValue"]),l("span",{class:"reset-btn",onClick:d[4]||(d[4]=f=>{i.value.itemBgColor="#fff",m()})},"重置")])]),l("div",xy,[d[9]||(d[9]=l("span",{class:"item-label"},"圆角",-1)),l("div",Iy,[L(dt,{modelValue:i.value.itemRadius,"onUpdate:modelValue":d[5]||(d[5]=f=>i.value.itemRadius=f),"show-input":"",min:0},null,8,["modelValue"])])])])}}}),Fy=fe(Uy,[["__scopeId","data-v-2344c5e2"]]),Ey=Object.freeze(Object.defineProperty({__proto__:null,default:Fy},Symbol.toStringTag,{value:"Module"})),Sy={class:"header-style-config"},Ly={class:"config-title"},Ny={class:"config-item"},ky={class:"slider-container"},Vy={class:"config-item"},Oy={class:"row slider-container"},Dy={class:"config-item"},Hy={class:"config-item"},Ty={class:"slider-container"},jy={class:"config-item"},Ry={class:"row slider-container"},My={class:"config-item"},Ky={class:"config-item"},Py={class:"slider-container"},Gy={class:"config-item"},zy={class:"slider-container"},Jy={class:"config-item"},Yy={class:"slider-container"},Xy=Object.assign({name:"c_header_style"},{__name:"c_header_style",props:{configNme:{type:String},configObj:{type:Object,default:()=>{}}},emits:["getConfig"],setup(t,{emit:n}){const A=t,e=n,o=v({title:"顶部样式",fontSize:14,leftColor:"#333333",rightColor:"#333333",topPadding:10,bottomPadding:10,leftRightPadding:12});M(()=>A.configObj,m=>{o.value=m[A.configNme]||{title:"顶部样式",fontSize:14,leftColor:"#333333",rightColor:"#333333",topPadding:10,bottomPadding:10,leftRightPadding:12}},{deep:!0,immediate:!0});function i(){e("getConfig",o.value)}return(m,a)=>{const d=X("el-color-picker"),r=X("el-input"),c=X("el-radio-button"),f=X("el-radio-group");return s(),u("div",Sy,[l("div",Ly,$(o.value.title),1),l("div",Ny,[a[13]||(a[13]=l("span",{class:"item-label"},"标题字号",-1)),l("div",ky,[L(dt,{modelValue:o.value.fontSize,"onUpdate:modelValue":a[0]||(a[0]=g=>o.value.fontSize=g),"show-input":"",min:12,max:24},null,8,["modelValue"])])]),l("div",Vy,[a[14]||(a[14]=l("span",{class:"item-label"},"标题文字色",-1)),l("div",Oy,[L(d,{modelValue:o.value.leftColor,"onUpdate:modelValue":a[1]||(a[1]=g=>o.value.leftColor=g),onChange:i,"show-alpha":""},null,8,["modelValue"]),L(r,{modelValue:o.value.leftColor,"onUpdate:modelValue":a[2]||(a[2]=g=>o.value.leftColor=g),placeholder:"请输入颜色",onChange:i,style:{"margin-left":"10px",flex:"1"}},null,8,["modelValue"]),l("span",{class:"reset-btn",onClick:a[3]||(a[3]=g=>{o.value.leftColor="#fff",i()})},"重置")])]),l("div",Dy,[a[16]||(a[16]=l("span",{class:"item-label"},"标题字重",-1)),L(f,{modelValue:o.value.leftWeight,"onUpdate:modelValue":a[4]||(a[4]=g=>o.value.leftWeight=g)},{default:P(()=>[L(c,{label:"300",value:"300"}),L(c,{label:"500",value:"500"}),L(c,{label:"normal",value:"normal"},{default:P(()=>[...a[15]||(a[15]=[se("正常",-1)])]),_:1})]),_:1},8,["modelValue"])]),l("div",Hy,[a[17]||(a[17]=l("span",{class:"item-label"},"按钮字号",-1)),l("div",Ty,[L(dt,{modelValue:o.value.rightFontSize,"onUpdate:modelValue":a[5]||(a[5]=g=>o.value.rightFontSize=g),"show-input":"",min:12,max:24},null,8,["modelValue"])])]),l("div",jy,[a[18]||(a[18]=l("span",{class:"item-label"},"按钮文字色",-1)),l("div",Ry,[L(d,{modelValue:o.value.rightColor,"onUpdate:modelValue":a[6]||(a[6]=g=>o.value.rightColor=g),onChange:i,"show-alpha":""},null,8,["modelValue"]),L(r,{modelValue:o.value.rightColor,"onUpdate:modelValue":a[7]||(a[7]=g=>o.value.rightColor=g),placeholder:"请输入颜色",onChange:i,style:{"margin-left":"10px",flex:"1"}},null,8,["modelValue"]),l("span",{class:"reset-btn",onClick:a[8]||(a[8]=g=>{o.value.rightColor="#fff",i()})},"重置")])]),l("div",My,[a[20]||(a[20]=l("span",{class:"item-label"},"按钮字重",-1)),L(f,{modelValue:o.value.rightWeight,"onUpdate:modelValue":a[9]||(a[9]=g=>o.value.rightWeight=g)},{default:P(()=>[L(c,{label:"300",value:"300"}),L(c,{label:"500",value:"500"}),L(c,{label:"normal",value:"normal"},{default:P(()=>[...a[19]||(a[19]=[se("正常",-1)])]),_:1})]),_:1},8,["modelValue"])]),l("div",Ky,[a[21]||(a[21]=l("span",{class:"item-label"},"上边距",-1)),l("div",Py,[L(dt,{modelValue:o.value.topPadding,"onUpdate:modelValue":a[10]||(a[10]=g=>o.value.topPadding=g),"show-input":"",min:0},null,8,["modelValue"])])]),l("div",Gy,[a[22]||(a[22]=l("span",{class:"item-label"},"下边距",-1)),l("div",zy,[L(dt,{modelValue:o.value.bottomPadding,"onUpdate:modelValue":a[11]||(a[11]=g=>o.value.bottomPadding=g),"show-input":"",min:0},null,8,["modelValue"])])]),l("div",Jy,[a[23]||(a[23]=l("span",{class:"item-label"},"左右边距",-1)),l("div",Yy,[L(dt,{modelValue:o.value.leftRightPadding,"onUpdate:modelValue":a[12]||(a[12]=g=>o.value.leftRightPadding=g),"show-input":"",min:0},null,8,["modelValue"])])])])}}}),Wy=fe(Xy,[["__scopeId","data-v-4e13bd1c"]]),$y=Object.freeze(Object.defineProperty({__proto__:null,default:Wy},Symbol.toStringTag,{value:"Module"})),Zy={class:"config-item"},qy={class:"item-header"},ew={class:"item-title"},tw=Object.assign({name:"c_header_switch"},{__name:"c_header_switch",props:{configNme:{type:String},configObj:{type:Object,default:()=>{}}},emits:["getConfig"],setup(t,{emit:n}){const A=t,e=n,o=v({title:"",enable:!1});M(()=>A.configObj,m=>{o.value=m[A.configNme]||{title:"",enable:!1}},{deep:!0,immediate:!0});function i(){e("getConfig",o.value)}return(m,a)=>{const d=X("el-switch");return s(),u("div",Zy,[l("div",qy,[l("span",ew,$(o.value.title),1),L(d,{class:"defineSwitch",modelValue:o.value.enable,"onUpdate:modelValue":a[0]||(a[0]=r=>o.value.enable=r),"active-text":"开启","inactive-text":"关闭",onChange:i},null,8,["modelValue"])])])}}}),ow=fe(tw,[["__scopeId","data-v-96b1487d"]]),Aw=Object.freeze(Object.defineProperty({__proto__:null,default:ow},Symbol.toStringTag,{value:"Module"})),nw=Object.assign({name:"c_hot_box"},{__name:"c_hot_box",setup(t){return(n,A)=>null}}),lw=Object.freeze(Object.defineProperty({__proto__:null,default:nw},Symbol.toStringTag,{value:"Module"})),iw={class:"hot_imgs"},aw={class:"list-box"},sw={class:"item"},cw={class:"move-icon"},rw=["onClick"],uw=["src"],dw={key:1,class:"upload-box"},mw={class:"info"},gw={class:"input-box"},fw={key:0,class:"add-btn"},vw=Object.assign({name:"c_hot_imgs"},{__name:"c_hot_imgs",props:{configObj:{type:Object}},setup(t){const n=t,A=v({}),e=v(!1),o=v("单选"),i=v({xl:4,lg:8,md:8,sm:8,xs:8}),m=v({xl:6,lg:8,md:12,sm:12,xs:12}),a=v(0);function d(g){return A.value.menu.indexOf(g)}A.value=n.configObj,M(()=>n.configObj,(g,p)=>{A.value=g},{immediate:!0,deep:!0});function r(){let g={img:"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1594458238721&di=d9978a807dcbf5d8a01400875bc51162&imgtype=0&src=http%3A%2F%2Fattachments.gfan.com%2Fforum%2F201604%2F23%2F002205xqdkj84gnw4oi85v.jpg",info:[{title:"标题",value:"",tips:"选填,不超过4个字",max:4},{title:"简介",value:"",tips:"选填,不超过20个字",max:20}],link:{title:"链接",optiops:[{type:0,value:"",label:"一级>二级分类"},{type:1,value:"",label:"自定义链接"}]}};A.value.menu.push(g)}function c(g,p){a.value=p,e.value=!0}function f(g){A.value.menu[a.value].img=g.att_dir,e.value=!1}return(g,p)=>{const b=X("Icon"),_=X("el-dialog"),B=X("el-input"),y=X("el-button");return s(),u("div",iw,[p[2]||(p[2]=l("div",{class:"title"},"最多可添加4个版块,图片建议尺寸140 * 140px;鼠标拖拽左侧圆点可 调整版块顺序",-1)),l("div",aw,[L(de(mt),{class:"dragArea list-group",list:A.value.menu,group:"people",handle:".move-icon","item-key":d},{item:P(({element:Q,index:I})=>[l("div",sw,[l("div",cw,[L(b,{type:"ios-keypad-outline",size:"22"})]),l("div",{class:"img-box",onClick:N=>c("单选",I)},[Q.img?(s(),u("img",{key:0,src:Q.img,alt:""},null,8,uw)):(s(),u("div",dw,[L(b,{type:"ios-camera-outline",size:"36"})])),l("div",null,[L(_,{modelValue:e.value,"onUpdate:modelValue":p[0]||(p[0]=N=>e.value=N),width:"960px",title:"上传图片"},{default:P(()=>[e.value?(s(),ce(de(Nt),{key:0,isChoice:o.value,onGetPic:f,gridBtn:i.value,gridPic:m.value},null,8,["isChoice","gridBtn","gridPic"])):O("",!0)]),_:1},8,["modelValue"])])],8,rw),l("div",mw,[(s(!0),u(q,null,ae(Q.info,(N,w)=>(s(),u("div",{class:"info-item",key:w},[l("span",null,$(N.title),1),l("div",gw,[L(B,{modelValue:N.value,"onUpdate:modelValue":h=>N.value=h,placeholder:N.tips,maxlength:N.max},null,8,["modelValue","onUpdate:modelValue","placeholder","maxlength"])])]))),128))])])]),_:1},8,["list"])]),A.value.menu.length<4?(s(),u("div",fw,[L(y,{style:{width:"100%",height:"40px"},onClick:r},{default:P(()=>[...p[1]||(p[1]=[se("添加板块",-1)])]),_:1})])):O("",!0)])}}}),pw=fe(vw,[["__scopeId","data-v-0413416e"]]),Cw=Object.freeze(Object.defineProperty({__proto__:null,default:pw},Symbol.toStringTag,{value:"Module"})),_w={key:0,class:"line-box"},bw={class:"input-box"},Bw={class:"input-item"},hw=["onClick"],yw=Object.assign({name:"c_hot_word"},{__name:"c_hot_word",props:{configObj:{type:Object},configNme:{type:String}},setup(t){const n=t,A=v({}),e=m=>A.value.list.indexOf(m);M(()=>n.configObj,m=>{A.value=m[n.configNme]},{immediate:!0,deep:!0});function o(){let m={val:""};A.value.list.push(m)}function i(m){A.value.list.splice(m,1)}return(m,a)=>{const d=X("el-input"),r=X("el-button");return A.value?(s(),u("div",_w,[l("div",bw,[L(de(mt),{class:"dragArea list-group",list:A.value.list,group:"peoples",handle:".icon","item-key":e},{item:P(({element:c,index:f})=>[l("div",Bw,[a[1]||(a[1]=l("div",{class:"icon"},[l("span",{class:"iconfont iconxingzhuangjiehe"})],-1)),L(d,{modelValue:c.val,"onUpdate:modelValue":g=>c.val=g,maxlength:"10",placeholder:"选填,不超过十个字"},null,8,["modelValue","onUpdate:modelValue"]),l("div",{class:"delete",onClick:Re(g=>i(f),["stop"])},[...a[0]||(a[0]=[l("span",{class:"iconfont icondel_2"},null,-1)])],8,hw)])]),_:1},8,["list"]),A.value.list.length<20?(s(),u("div",{key:0,class:"add-btn",onClick:o},[L(r,{class:"btn",type:"primary",ghost:""},{default:P(()=>[...a[2]||(a[2]=[l("span",{class:"iconfont iconjiahao"},null,-1),se("添加 ",-1)])]),_:1})])):O("",!0)])])):O("",!0)}}}),ww=fe(yw,[["__scopeId","data-v-b0449b2a"]]),Qw=Object.freeze(Object.defineProperty({__proto__:null,default:ww},Symbol.toStringTag,{value:"Module"})),xw="icon-",Iw=[{icon_id:"37575186",name:"ic_打折",font_class:"ic_sale",unicode:"e8c7",unicode_decimal:59591},{icon_id:"37575188",name:"ic_闹钟",font_class:"ic_clock",unicode:"e8cc",unicode_decimal:59596},{icon_id:"38632712",name:"箭头 (1)",font_class:"a-jiantou11",unicode:"e8c6",unicode_decimal:59590},{icon_id:"45920143",name:"客服聊天",font_class:"kefuliaotian",unicode:"e8c5",unicode_decimal:59589},{icon_id:"39714767",name:"ic_location5",font_class:"ic_location51",unicode:"e8c4",unicode_decimal:59588},{icon_id:"44150788",name:"ic_enlarge",font_class:"ic_enlarge",unicode:"e8c3",unicode_decimal:59587},{icon_id:"44145818",name:"ic_star",font_class:"ic_star",unicode:"e8c2",unicode_decimal:59586},{icon_id:"44145791",name:"ic_location4",font_class:"ic_location41",unicode:"e8c0",unicode_decimal:59584},{icon_id:"44145790",name:"ic_picture",font_class:"ic_picture",unicode:"e8c1",unicode_decimal:59585},{icon_id:"37577249",name:"ic_购物车 (1)",font_class:"ic_ShoppingCart1",unicode:"e8bf",unicode_decimal:59583},{icon_id:"43339704",name:"ic_increase",font_class:"ic_increase-2",unicode:"e8be",unicode_decimal:59582},{icon_id:"37683963",name:"ic_Image and text sorting",font_class:"a-ic_Imageandtextsorting",unicode:"e8bd",unicode_decimal:59581},{icon_id:"37683975",name:"ic_gift1",font_class:"ic_gift1",unicode:"e8b6",unicode_decimal:59574},{icon_id:"43069304",name:"ic_gift2",font_class:"ic_gift2",unicode:"e8bc",unicode_decimal:59580},{icon_id:"37575811",name:"ic-完成1",font_class:"ic-complete1",unicode:"e8b8",unicode_decimal:59576},{icon_id:"37575812",name:"ic_关闭 1",font_class:"ic_close1",unicode:"e8bb",unicode_decimal:59579},{icon_id:"37687015",name:"ic_QR code",font_class:"a-ic_QRcode",unicode:"e8b5",unicode_decimal:59573},{icon_id:"38552277",name:"ic_video1",font_class:"ic_video1",unicode:"e8b7",unicode_decimal:59575},{icon_id:"37724990",name:"ic_Like",font_class:"ic_Like",unicode:"e892",unicode_decimal:59538},{icon_id:"37847260",name:"ic_fire",font_class:"ic_fire",unicode:"e893",unicode_decimal:59539},{icon_id:"38319394",name:"操作-整体",font_class:"caozuo-zhengti",unicode:"e894",unicode_decimal:59540},{icon_id:"38319395",name:"播放",font_class:"bofang",unicode:"e895",unicode_decimal:59541},{icon_id:"38319396",name:"操作-边角",font_class:"caozuo-bianjiao",unicode:"e896",unicode_decimal:59542},{icon_id:"38319397",name:"复选框-选中",font_class:"fuxuankuang-xuanzhong",unicode:"e897",unicode_decimal:59543},{icon_id:"38319398",name:"复制",font_class:"fuzhi1",unicode:"e898",unicode_decimal:59544},{icon_id:"38319399",name:"加号",font_class:"jiahao11",unicode:"e899",unicode_decimal:59545},{icon_id:"38319401",name:"关闭",font_class:"guanbi6",unicode:"e89a",unicode_decimal:59546},{icon_id:"38319402",name:"上",font_class:"shang",unicode:"e89b",unicode_decimal:59547},{icon_id:"38319404",name:"完成",font_class:"wancheng1",unicode:"e89c",unicode_decimal:59548},{icon_id:"38319405",name:"删除",font_class:"shanchu31",unicode:"e89d",unicode_decimal:59549},{icon_id:"38319406",name:"形状结合",font_class:"xingzhuangjiehe1",unicode:"e89e",unicode_decimal:59550},{icon_id:"38319407",name:"下",font_class:"xia",unicode:"e89f",unicode_decimal:59551},{icon_id:"38319408",name:"显示",font_class:"xianshi1",unicode:"e8a0",unicode_decimal:59552},{icon_id:"38319409",name:"右上角",font_class:"youshangjiao",unicode:"e8a3",unicode_decimal:59555},{icon_id:"38319410",name:"购物车",font_class:"gouwuche11",unicode:"e8a5",unicode_decimal:59557},{icon_id:"38319411",name:"左上角",font_class:"zuoshangjiao",unicode:"e8a6",unicode_decimal:59558},{icon_id:"38319412",name:"左下角",font_class:"zuoxiajiao",unicode:"e8a7",unicode_decimal:59559},{icon_id:"38319413",name:"右",font_class:"you2",unicode:"e8a8",unicode_decimal:59560},{icon_id:"38319415",name:"隐藏",font_class:"yincang",unicode:"e8a9",unicode_decimal:59561},{icon_id:"38319416",name:"右下角",font_class:"youxiajiao",unicode:"e8aa",unicode_decimal:59562},{icon_id:"38319510",name:"复选框-未选中",font_class:"fuxuankuang-weixuanzhong",unicode:"e8ab",unicode_decimal:59563},{icon_id:"38535244",name:"待发货-积分",font_class:"daifahuo-jifen",unicode:"e8ac",unicode_decimal:59564},{icon_id:"38747713",name:"未选中",font_class:"weixuanzhong1",unicode:"e8ad",unicode_decimal:59565},{icon_id:"38747714",name:"选中 (1)",font_class:"a-xuanzhong1",unicode:"e8ae",unicode_decimal:59566},{icon_id:"38759239",name:"链接",font_class:"lianjie",unicode:"e8af",unicode_decimal:59567},{icon_id:"41458424",name:"装修模板-链接",font_class:"a-zu10416",unicode:"e8b1",unicode_decimal:59569},{icon_id:"42690756",name:"ic_edit1",font_class:"ic_edit1",unicode:"e8b2",unicode_decimal:59570},{icon_id:"37574568",name:"ic_右箭头",font_class:"ic_rightarrow",unicode:"e8b3",unicode_decimal:59571},{icon_id:"40718172",name:"ic_close",font_class:"ic_close2",unicode:"e8b4",unicode_decimal:59572},{icon_id:"42976408",name:"ic_share1",font_class:"ic_share1",unicode:"e891",unicode_decimal:59537},{icon_id:"42573787",name:"砍价火花",font_class:"kanjiahuohua",unicode:"e890",unicode_decimal:59536},{icon_id:"41896982",name:"ic_xuni",font_class:"ic_xuni",unicode:"e88f",unicode_decimal:59535},{icon_id:"39924392",name:"ic_tip",font_class:"icon_tip",unicode:"e88e",unicode_decimal:59534},{icon_id:"37575187",name:"ic_用户",font_class:"ic_user1",unicode:"e88b",unicode_decimal:59531},{icon_id:"37683980",name:"ic_invite",font_class:"ic_invite",unicode:"e88c",unicode_decimal:59532},{icon_id:"38456349",name:"ic_box",font_class:"ic_box",unicode:"e88d",unicode_decimal:59533},{icon_id:"40443942",name:"gongzuotai-unselect",font_class:"gongzuotai-unselect",unicode:"e881",unicode_decimal:59521},{icon_id:"40443943",name:"dingdan-unselect",font_class:"dingdan-unselect",unicode:"e882",unicode_decimal:59522},{icon_id:"40443944",name:"dingdan-select",font_class:"dingdan-select",unicode:"e883",unicode_decimal:59523},{icon_id:"40443946",name:"shangpin-unselect",font_class:"shangpin-unselect",unicode:"e884",unicode_decimal:59524},{icon_id:"40443947",name:"gongzuotai-select",font_class:"gongzuotai-select",unicode:"e885",unicode_decimal:59525},{icon_id:"40443948",name:"shangpin-select",font_class:"shangpin-select",unicode:"e886",unicode_decimal:59526},{icon_id:"40443951",name:"shouhou-select",font_class:"shouhou-select",unicode:"e889",unicode_decimal:59529},{icon_id:"40443952",name:"shouhou-unselect",font_class:"shouhou-unselect",unicode:"e88a",unicode_decimal:59530},{icon_id:"40443880",name:"ic_shangpin",font_class:"ic_shangpin",unicode:"e87d",unicode_decimal:59517},{icon_id:"40443881",name:"ic_shouhou",font_class:"ic_shouhou",unicode:"e87e",unicode_decimal:59518},{icon_id:"40443882",name:"ic_user",font_class:"ic_user",unicode:"e87f",unicode_decimal:59519},{icon_id:"40443883",name:"icon_dingdan",font_class:"icon_dingdan",unicode:"e880",unicode_decimal:59520},{icon_id:"37575556",name:"ic_加",font_class:"ic_increase",unicode:"e87d",unicode_decimal:59517},{icon_id:"37575557",name:"ic_减",font_class:"ic_Reduce",unicode:"e87e",unicode_decimal:59518},{icon_id:"40392212",name:"icon_filter",font_class:"a-icon_filter1x",unicode:"e87c",unicode_decimal:59516},{icon_id:"40391717",name:"icon_cloud",font_class:"a-icon_cloud1x",unicode:"e87b",unicode_decimal:59515},{icon_id:"39118701",name:"ic_batch",font_class:"ic_batch",unicode:"e87a",unicode_decimal:59514},{icon_id:"37578085",name:"ic_编辑2",font_class:"ic_edit",unicode:"e86f",unicode_decimal:59503},{icon_id:"37578420",name:"ic_搜索",font_class:"ic_search",unicode:"e870",unicode_decimal:59504},{icon_id:"37578525",name:"ic_退款",font_class:"ic_returnmoney",unicode:"e871",unicode_decimal:59505},{icon_id:"37578526",name:"ic_退货",font_class:"ic_returnofgoods",unicode:"e872",unicode_decimal:59506},{icon_id:"37724868",name:"ic_location4",font_class:"ic_location4",unicode:"e873",unicode_decimal:59507},{icon_id:"38678185",name:"ic_tanhao (1)",font_class:"a-ic_tanhao1",unicode:"e874",unicode_decimal:59508},{icon_id:"38691553",name:"ic_daifahuo",font_class:"ic_daifahuo",unicode:"e875",unicode_decimal:59509},{icon_id:"38691557",name:"ic_daifukuan",font_class:"ic_daifukuan",unicode:"e876",unicode_decimal:59510},{icon_id:"38814470",name:"会员等级",font_class:"huiyuandengji",unicode:"e877",unicode_decimal:59511},{icon_id:"39118702",name:"ic_notes",font_class:"ic_notes",unicode:"e878",unicode_decimal:59512},{icon_id:"39131355",name:"ic_Selected",font_class:"ic_Selected",unicode:"e879",unicode_decimal:59513},{icon_id:"37577193",name:"ic_未选中",font_class:"ic_unselect",unicode:"e86d",unicode_decimal:59501},{icon_id:"37577194",name:"ic_完成 选中",font_class:"a-ic_CompleteSelect",unicode:"e86e",unicode_decimal:59502},{icon_id:"39123734",name:"ic_Scan",font_class:"ic_Scan",unicode:"e86c",unicode_decimal:59500},{icon_id:"38921764",name:"活动-人数",font_class:"huodong-renshu",unicode:"e869",unicode_decimal:59497},{icon_id:"38921763",name:"活动-时间",font_class:"huodong-shijian",unicode:"e86a",unicode_decimal:59498},{icon_id:"38921762",name:"活动-简介",font_class:"huodong-jianjie",unicode:"e86b",unicode_decimal:59499},{icon_id:"38582256",name:"说明",font_class:"shuoming2",unicode:"e868",unicode_decimal:59496},{icon_id:"38577513",name:"仅退款",font_class:"jintuikuan",unicode:"e866",unicode_decimal:59494},{icon_id:"38577514",name:"退货退款",font_class:"tuihuotuikuan",unicode:"e867",unicode_decimal:59495},{icon_id:"38168518",name:"收藏",font_class:"shoucang4",unicode:"e865",unicode_decimal:59493},{icon_id:"38168538",name:"已收藏",font_class:"yishoucang2",unicode:"e864",unicode_decimal:59492},{icon_id:"38167918",name:"店铺",font_class:"dianpu2",unicode:"e862",unicode_decimal:59490},{icon_id:"38106296",name:"隐藏状态",font_class:"yincangzhuangtai",unicode:"e85b",unicode_decimal:59483},{icon_id:"38106295",name:"显示状态",font_class:"xianshizhuangtai",unicode:"e861",unicode_decimal:59489},{icon_id:"37957626",name:"分享",font_class:"fenxiang4",unicode:"e7f6",unicode_decimal:59382},{icon_id:"36482852",name:"已领完",font_class:"yilingwan1",unicode:"e85f",unicode_decimal:59487},{icon_id:"36482851",name:"已领取",font_class:"yilingqu1",unicode:"e860",unicode_decimal:59488},{icon_id:"36481410",name:"已失效",font_class:"yishixiao",unicode:"e85d",unicode_decimal:59485},{icon_id:"36481411",name:"已使用",font_class:"yishiyong",unicode:"e85e",unicode_decimal:59486},{icon_id:"36400554",name:"地图",font_class:"ditu1",unicode:"e85c",unicode_decimal:59484},{icon_id:"36037372",name:"下拉",font_class:"xiala3",unicode:"e83d",unicode_decimal:59453},{icon_id:"36037373",name:"向上",font_class:"xiangshang2",unicode:"e85a",unicode_decimal:59482},{icon_id:"35420811",name:"配送",font_class:"peisong1",unicode:"e859",unicode_decimal:59481},{icon_id:"35159545",name:"发布种草",font_class:"fabuzhongcao",unicode:"e857",unicode_decimal:59479},{icon_id:"35159546",name:"签到",font_class:"qiandao1",unicode:"e858",unicode_decimal:59480},{icon_id:"35128538",name:"禁止评论",font_class:"jinzhipinglun",unicode:"e855",unicode_decimal:59477},{icon_id:"35128539",name:"允许评论",font_class:"yunxupinglun",unicode:"e856",unicode_decimal:59478},{icon_id:"35090325",name:"积分商城",font_class:"jifenshangcheng",unicode:"e848",unicode_decimal:59464},{icon_id:"35025477",name:"发布",font_class:"fabu2",unicode:"e84d",unicode_decimal:59469},{icon_id:"35025478",name:"编辑",font_class:"bianji6",unicode:"e854",unicode_decimal:59476},{icon_id:"35012888",name:"直播-预告",font_class:"zhibo-yugao",unicode:"e846",unicode_decimal:59462},{icon_id:"35012889",name:"直播-回放",font_class:"zhibo-huifang",unicode:"e84b",unicode_decimal:59467},{icon_id:"35012890",name:"直播-直播中",font_class:"zhibo-zhibozhong",unicode:"e84c",unicode_decimal:59468},{icon_id:"34665151",name:"+关注",font_class:"a-guanzhu",unicode:"e849",unicode_decimal:59465},{icon_id:"34665152",name:"话题",font_class:"huati",unicode:"e84a",unicode_decimal:59466},{icon_id:"34660913",name:"刷新",font_class:"shuaxin",unicode:"e847",unicode_decimal:59463},{icon_id:"34604159",name:"评论",font_class:"pinglun3",unicode:"e83f",unicode_decimal:59455},{icon_id:"34604160",name:"内容分类",font_class:"neirongfenlei",unicode:"e841",unicode_decimal:59457},{icon_id:"34604161",name:"参与话题",font_class:"canyuhuati1",unicode:"e842",unicode_decimal:59458},{icon_id:"34604162",name:"添加宝贝",font_class:"tianjiabaobei",unicode:"e843",unicode_decimal:59459},{icon_id:"34604229",name:"展开",font_class:"zhankai",unicode:"e844",unicode_decimal:59460},{icon_id:"34604230",name:"收起",font_class:"shouqi",unicode:"e845",unicode_decimal:59461},{icon_id:"34398012",name:"自提",font_class:"ziti",unicode:"e83c",unicode_decimal:59452},{icon_id:"34398066",name:"拼单",font_class:"pindan",unicode:"e83e",unicode_decimal:59454},{icon_id:"34109736",name:"待付款",font_class:"daifukuan1",unicode:"e836",unicode_decimal:59446},{icon_id:"34109737",name:"待发货",font_class:"daifahuo1",unicode:"e837",unicode_decimal:59447},{icon_id:"34109738",name:"待评价",font_class:"daipingjia1",unicode:"e839",unicode_decimal:59449},{icon_id:"34109740",name:"待收货",font_class:"daishouhuo1",unicode:"e83a",unicode_decimal:59450},{icon_id:"34109741",name:"售后、退款",font_class:"a-shouhoutuikuan1",unicode:"e83b",unicode_decimal:59451},{icon_id:"33917855",name:"保证金",font_class:"baozhengjin",unicode:"e834",unicode_decimal:59444},{icon_id:"33880272",name:"通联支付",font_class:"tonglianzhifu1",unicode:"e835",unicode_decimal:59445},{icon_id:"33784877",name:"店铺",font_class:"dianpu1",unicode:"e833",unicode_decimal:59443},{icon_id:"33592680",name:"拍照",font_class:"paizhao",unicode:"e832",unicode_decimal:59442},{icon_id:"7594155",name:"24gf-play",font_class:"24gf-play",unicode:"ea82",unicode_decimal:60034},{icon_id:"33469256",name:"已取消",font_class:"yiquxiao",unicode:"e831",unicode_decimal:59441},{icon_id:"479147",name:"无头像",font_class:"wutouxiang",unicode:"e830",unicode_decimal:59440},{icon_id:"33156090",name:"分享",font_class:"fenxiang3",unicode:"e82d",unicode_decimal:59437},{icon_id:"33156091",name:"评论",font_class:"pinglun2",unicode:"e82e",unicode_decimal:59438},{icon_id:"33143342",name:"视频",font_class:"shipin1",unicode:"e827",unicode_decimal:59431},{icon_id:"33143353",name:"图文",font_class:"tuwen1",unicode:"e828",unicode_decimal:59432},{icon_id:"33085456",name:"商品页_分享",font_class:"shangpinye_fenxiang",unicode:"e8e4",unicode_decimal:59620},{icon_id:"30021129",name:"勾",font_class:"gou2",unicode:"e826",unicode_decimal:59430},{icon_id:"32858092",name:"待核销",font_class:"daihexiao",unicode:"e825",unicode_decimal:59429},{icon_id:"978356",name:"朋友圈",font_class:"pengyouquan1",unicode:"e824",unicode_decimal:59428},{icon_id:"32646554",name:"商品",font_class:"shangpin1",unicode:"e823",unicode_decimal:59427},{icon_id:"32625142",name:"提示",font_class:"tishi2",unicode:"e821",unicode_decimal:59425},{icon_id:"32625189",name:"包裹",font_class:"baoguo",unicode:"e822",unicode_decimal:59426},{icon_id:"32616449",name:"视频",font_class:"shipin",unicode:"e820",unicode_decimal:59424},{icon_id:"32616221",name:"封面",font_class:"fengmian",unicode:"e81f",unicode_decimal:59423},{icon_id:"32616169",name:"核销码",font_class:"hexiaoma",unicode:"e81c",unicode_decimal:59420},{icon_id:"32616170",name:"图文",font_class:"tuwen",unicode:"e81d",unicode_decimal:59421},{icon_id:"32616173",name:"添加视频",font_class:"tianjiashipin",unicode:"e81e",unicode_decimal:59422},{icon_id:"32615802",name:"撤回",font_class:"chehui",unicode:"e81a",unicode_decimal:59418},{icon_id:"32615803",name:"复制",font_class:"fuzhi",unicode:"e81b",unicode_decimal:59419},{icon_id:"32506034",name:"余额",font_class:"yue2",unicode:"e8b0",unicode_decimal:59568},{icon_id:"5387812",name:"购物_o",font_class:"gouwu_o",unicode:"eb60",unicode_decimal:60256},{icon_id:"32119631",name:"成长值",font_class:"chengchangzhi",unicode:"e815",unicode_decimal:59413},{icon_id:"32119458",name:"发布",font_class:"fabu1",unicode:"e814",unicode_decimal:59412},{icon_id:"32119460",name:"签到",font_class:"qiandao",unicode:"e816",unicode_decimal:59414},{icon_id:"32119461",name:"评价",font_class:"pingjia3",unicode:"e817",unicode_decimal:59415},{icon_id:"32119462",name:"邀请",font_class:"yaoqing1",unicode:"e819",unicode_decimal:59417},{icon_id:"31924939",name:"列表1",font_class:"liebiao1",unicode:"e7f9",unicode_decimal:59385},{icon_id:"31924941",name:"列表2",font_class:"liebiao2",unicode:"e7fa",unicode_decimal:59386},{icon_id:"31882112",name:"消费记录-容错",font_class:"xiaofeijilu-rongcuo",unicode:"e853",unicode_decimal:59475},{icon_id:"31878460",name:"购买商品",font_class:"goumaishangpin",unicode:"e84e",unicode_decimal:59470},{icon_id:"31878461",name:"每日签到",font_class:"meiriqiandao",unicode:"e84f",unicode_decimal:59471},{icon_id:"31878463",name:"邀请好友",font_class:"yaoqinghaoyou2",unicode:"e850",unicode_decimal:59472},{icon_id:"31878478",name:"消费记录",font_class:"xiaofeijilu1",unicode:"e851",unicode_decimal:59473},{icon_id:"31878480",name:"付费会员",font_class:"fufeihuiyuan1",unicode:"e852",unicode_decimal:59474},{icon_id:"31867444",name:"购买",font_class:"goumai",unicode:"e7f8",unicode_decimal:59384},{icon_id:"31757934",name:"等待支付",font_class:"dengdaizhifu",unicode:"e840",unicode_decimal:59456},{icon_id:"31209987",name:"星号",font_class:"xinghao",unicode:"e838",unicode_decimal:59448},{icon_id:"30929840",name:"手机",font_class:"shouji2",unicode:"e829",unicode_decimal:59433},{icon_id:"30929841",name:"定位",font_class:"dingwei4",unicode:"e82a",unicode_decimal:59434},{icon_id:"30929842",name:"搜索",font_class:"sousuo8",unicode:"e82b",unicode_decimal:59435},{icon_id:"30929862",name:"二维码",font_class:"erweima3",unicode:"e82c",unicode_decimal:59436},{icon_id:"30843719",name:"首单优惠",font_class:"shoudanyouhui",unicode:"e818",unicode_decimal:59416},{icon_id:"30734707",name:"购物车-门店",font_class:"gouwuche-mendian",unicode:"e812",unicode_decimal:59410},{icon_id:"30734708",name:"客服-门店",font_class:"kefu-mendian",unicode:"e813",unicode_decimal:59411},{icon_id:"30601240",name:"中文",font_class:"zhongwen",unicode:"e810",unicode_decimal:59408},{icon_id:"30601241",name:"英文",font_class:"yingwen",unicode:"e811",unicode_decimal:59409},{icon_id:"30549901",name:"视频点赞-未点",font_class:"shipindianzan-weidian1",unicode:"e80e",unicode_decimal:59406},{icon_id:"30549902",name:"视频点赞-已点",font_class:"shipindianzan-yidian",unicode:"e80f",unicode_decimal:59407},{icon_id:"30535299",name:"门店",font_class:"mendian1",unicode:"e807",unicode_decimal:59399},{icon_id:"30535300",name:"购物车",font_class:"gouwuche8",unicode:"e808",unicode_decimal:59400},{icon_id:"30535301",name:"添加购物车",font_class:"tianjiagouwuche",unicode:"e809",unicode_decimal:59401},{icon_id:"30535302",name:"视频点赞-未点",font_class:"shipindianzan-weidian",unicode:"e80a",unicode_decimal:59402},{icon_id:"30535303",name:"评价",font_class:"pingjia2",unicode:"e80b",unicode_decimal:59403},{icon_id:"30535304",name:"礼物",font_class:"liwu",unicode:"e80c",unicode_decimal:59404},{icon_id:"30535308",name:"视频点赞",font_class:"shipindianzan",unicode:"e80d",unicode_decimal:59405},{icon_id:"30507865",name:"定位2",font_class:"dingwei2",unicode:"e7fb",unicode_decimal:59387},{icon_id:"30507866",name:"电话",font_class:"dianhua",unicode:"e7fc",unicode_decimal:59388},{icon_id:"30507867",name:"营业时间",font_class:"yingyeshijian1",unicode:"e7fd",unicode_decimal:59389},{icon_id:"30507868",name:"编辑",font_class:"bianji4",unicode:"e7fe",unicode_decimal:59390},{icon_id:"30507869",name:"选中",font_class:"xuanzhong6",unicode:"e7ff",unicode_decimal:59391},{icon_id:"30507870",name:"筛选",font_class:"shaixuan1",unicode:"e800",unicode_decimal:59392},{icon_id:"30507871",name:"营业时间2",font_class:"yingyeshijian2",unicode:"e801",unicode_decimal:59393},{icon_id:"30507872",name:"定位",font_class:"dingwei3",unicode:"e802",unicode_decimal:59394},{icon_id:"30507873",name:"门店",font_class:"mendian",unicode:"e806",unicode_decimal:59398},{icon_id:"29822056",name:"放大",font_class:"fangda1",unicode:"e7f7",unicode_decimal:59383},{icon_id:"29716655",name:"美元",font_class:"meiyuan",unicode:"e7f5",unicode_decimal:59381},{icon_id:"29123219",name:"积分",font_class:"jifen",unicode:"e7f3",unicode_decimal:59379},{icon_id:"29123220",name:"优惠券",font_class:"youhuiquan2",unicode:"e7f4",unicode_decimal:59380},{icon_id:"29102183",name:"足迹-选中",font_class:"zuji-xuanzhong",unicode:"e7f2",unicode_decimal:59378},{icon_id:"29101985",name:"足迹",font_class:"zuji",unicode:"e7f1",unicode_decimal:59377},{icon_id:"29098457",name:"返回",font_class:"fanhui3",unicode:"e7f0",unicode_decimal:59376},{icon_id:"28548808",name:"分销订单",font_class:"fenxiaodingdan",unicode:"e7e9",unicode_decimal:59369},{icon_id:"28548809",name:"推广人排行",font_class:"tuiguangrenpaihang1",unicode:"e7ea",unicode_decimal:59370},{icon_id:"28548810",name:"活动规则",font_class:"huodongguize",unicode:"e7eb",unicode_decimal:59371},{icon_id:"28548811",name:"形状结合",font_class:"xingzhuangjiehe",unicode:"e7ec",unicode_decimal:59372},{icon_id:"28548812",name:"我的团队",font_class:"wodetuandui",unicode:"e7ed",unicode_decimal:59373},{icon_id:"28548813",name:"邀请好友",font_class:"yaoqinghaoyou1",unicode:"e7ee",unicode_decimal:59374},{icon_id:"28548814",name:"佣金排行",font_class:"yongjinpaihang1",unicode:"e7ef",unicode_decimal:59375},{icon_id:"28546382",name:"导航到店",font_class:"daohangdaodian",unicode:"e7e5",unicode_decimal:59365},{icon_id:"28546383",name:"营业时间",font_class:"yingyeshijian",unicode:"e7e6",unicode_decimal:59366},{icon_id:"28546384",name:"定位",font_class:"dingwei1",unicode:"e7e7",unicode_decimal:59367},{icon_id:"28546385",name:"致电咨询",font_class:"zhidianzixun",unicode:"e7e8",unicode_decimal:59368},{icon_id:"28495815",name:"pc-积分",font_class:"pc-jifen",unicode:"e7e3",unicode_decimal:59363},{icon_id:"28495816",name:"pc-优惠券",font_class:"pc-youhuiquan",unicode:"e7e4",unicode_decimal:59364},{icon_id:"28417038",name:"群聊",font_class:"qunliao",unicode:"e7e2",unicode_decimal:59362},{icon_id:"28379537",name:"订单-选中",font_class:"dingdan-xuanzhong",unicode:"e7db",unicode_decimal:59355},{icon_id:"28379538",name:"记录-选中",font_class:"jilu-xuanzhong",unicode:"e7dc",unicode_decimal:59356},{icon_id:"28379539",name:"客户-选中",font_class:"kehu-xuanzhong",unicode:"e7dd",unicode_decimal:59357},{icon_id:"28379545",name:"记录",font_class:"jilu",unicode:"e7de",unicode_decimal:59358},{icon_id:"28379546",name:"订单",font_class:"dingdan1",unicode:"e7df",unicode_decimal:59359},{icon_id:"28379547",name:"客户",font_class:"kehu",unicode:"e7e1",unicode_decimal:59361},{icon_id:"2718743",name:"性别-男",font_class:"xingbie-nan",unicode:"e7d9",unicode_decimal:59353},{icon_id:"2718744",name:"性别-女",font_class:"xingbie-nv",unicode:"e7da",unicode_decimal:59354},{icon_id:"28334446",name:"v ",font_class:"v",unicode:"e7d7",unicode_decimal:59351},{icon_id:"28334447",name:"皇冠",font_class:"huangguan4",unicode:"e7d8",unicode_decimal:59352},{icon_id:"28292990",name:"已领取",font_class:"yilingqu",unicode:"e7d6",unicode_decimal:59350},{icon_id:"28266175",name:"进入",font_class:"jinru3",unicode:"e7d5",unicode_decimal:59349},{icon_id:"28130604",name:"订单管理",font_class:"dingdanguanli",unicode:"e7d1",unicode_decimal:59345},{icon_id:"28130605",name:"客服记录",font_class:"kefujilu",unicode:"e7d2",unicode_decimal:59346},{icon_id:"28130607",name:"订单核销",font_class:"dingdanhexiao",unicode:"e7d3",unicode_decimal:59347},{icon_id:"28130678",name:"商家管理",font_class:"shangjiaguanli",unicode:"e7d4",unicode_decimal:59348},{icon_id:"28009509",name:"邀请好友",font_class:"yaoqinghaoyou",unicode:"e7d0",unicode_decimal:59344},{icon_id:"28009480",name:"佣金排行",font_class:"yongjinpaihang",unicode:"e7cb",unicode_decimal:59339},{icon_id:"28009481",name:"推广人排行",font_class:"tuiguangrenpaihang",unicode:"e7cf",unicode_decimal:59343},{icon_id:"28009335",name:"密码图标",font_class:"mimatubiao",unicode:"e7ca",unicode_decimal:59338},{icon_id:"28009301",name:"限时",font_class:"xianshi",unicode:"e7cc",unicode_decimal:59340},{icon_id:"28009302",name:"折扣价",font_class:"zhekoujia",unicode:"e7cd",unicode_decimal:59341},{icon_id:"28009303",name:"猪",font_class:"zhu",unicode:"e7ce",unicode_decimal:59342},{icon_id:"28004089",name:"未赞",font_class:"weizan",unicode:"e7c7",unicode_decimal:59335},{icon_id:"28004090",name:"赞",font_class:"zan",unicode:"e7c8",unicode_decimal:59336},{icon_id:"28004094",name:"评论",font_class:"pinglun1",unicode:"e7c9",unicode_decimal:59337},{icon_id:"27933388",name:"勾",font_class:"gou1",unicode:"e7c6",unicode_decimal:59334},{icon_id:"27284184",name:"版权",font_class:"banquan",unicode:"e7c2",unicode_decimal:59330},{icon_id:"27284185",name:"更新时间",font_class:"gengxinshijian",unicode:"e7c3",unicode_decimal:59331},{icon_id:"27284186",name:"下载量",font_class:"xiazailiang",unicode:"e7c4",unicode_decimal:59332},{icon_id:"27284187",name:"文件大小",font_class:"wenjiandaxiao",unicode:"e7c5",unicode_decimal:59333},{icon_id:"27284179",name:"地址",font_class:"dizhi1",unicode:"e7bd",unicode_decimal:59325},{icon_id:"27284180",name:"国家高新企业",font_class:"guojiagaoxinqiye",unicode:"e7be",unicode_decimal:59326},{icon_id:"27284181",name:"已收藏",font_class:"yishoucang1",unicode:"e7bf",unicode_decimal:59327},{icon_id:"27284182",name:"文档",font_class:"wendang",unicode:"e7c0",unicode_decimal:59328},{icon_id:"27284183",name:"收藏本站",font_class:"shoucangbenzhan1",unicode:"e7c1",unicode_decimal:59329},{icon_id:"26822488",name:"分类",font_class:"fenlei3",unicode:"e7bc",unicode_decimal:59324},{icon_id:"26778783",name:"审核未通过",font_class:"shenheweitongguo",unicode:"e7b9",unicode_decimal:59321},{icon_id:"26778784",name:"审核通过",font_class:"shenhetongguo",unicode:"e7ba",unicode_decimal:59322},{icon_id:"26778785",name:"待审核",font_class:"daishenhe",unicode:"e7bb",unicode_decimal:59323},{icon_id:"25889622",name:"首发新品",font_class:"shoufaxinpin",unicode:"e7b8",unicode_decimal:59320},{icon_id:"25889479",name:"促销单品",font_class:"cuxiaodanpin",unicode:"e7b7",unicode_decimal:59319},{icon_id:"25887283",name:"精品推荐",font_class:"jingpintuijian1",unicode:"e7b5",unicode_decimal:59317},{icon_id:"25887284",name:"排行榜",font_class:"paihangbang",unicode:"e7b6",unicode_decimal:59318},{icon_id:"25623232",name:"已点赞",font_class:"yidianzan",unicode:"e7b4",unicode_decimal:59316},{icon_id:"25620498",name:"点赞",font_class:"dianzan1",unicode:"e7b3",unicode_decimal:59315},{icon_id:"25537288",name:"好友代支付",font_class:"haoyoudaizhifu",unicode:"e7b2",unicode_decimal:59314},{icon_id:"25190279",name:"宝贝链接",font_class:"baobeilianjie",unicode:"e7b0",unicode_decimal:59312},{icon_id:"25190280",name:"参与话题",font_class:"canyuhuati",unicode:"e7b1",unicode_decimal:59313},{icon_id:"25154953",name:"点赞",font_class:"dianzan",unicode:"e7ac",unicode_decimal:59308},{icon_id:"25154954",name:"评论",font_class:"pinglun",unicode:"e7ad",unicode_decimal:59309},{icon_id:"25154955",name:"分享",font_class:"fenxiang2",unicode:"e7ae",unicode_decimal:59310},{icon_id:"25154956",name:"发布",font_class:"fabu",unicode:"e7af",unicode_decimal:59311},{icon_id:"24635224",name:"更多",font_class:"gengduo5",unicode:"e7ab",unicode_decimal:59307},{icon_id:"24633362",name:"返回",font_class:"fanhui2",unicode:"e7a9",unicode_decimal:59305},{icon_id:"24633363",name:"砍价列表",font_class:"kanjialiebiao",unicode:"e7aa",unicode_decimal:59306},{icon_id:"24556663",name:"虚拟商品",font_class:"xunishangpin",unicode:"e7a8",unicode_decimal:59304},{icon_id:"24401953",name:"订单列表",font_class:"dingdanliebiao",unicode:"e7a6",unicode_decimal:59302},{icon_id:"24401954",name:"数据统计",font_class:"shujutongji1",unicode:"e7a7",unicode_decimal:59303},{icon_id:"24391637",name:"搜索",font_class:"sousuo7",unicode:"e7a5",unicode_decimal:59301},{icon_id:"24390931",name:"直播中",font_class:"zhibozhong1",unicode:"e7a4",unicode_decimal:59300},{icon_id:"24390779",name:"优惠券实色背景",font_class:"youhuiquanshisebeijing",unicode:"e7a2",unicode_decimal:59298},{icon_id:"24390780",name:"优惠券透明背景",font_class:"youhuiquantoumingbeijing",unicode:"e7a3",unicode_decimal:59299},{icon_id:"24376438",name:"预售按钮",font_class:"yushouanniu",unicode:"e7a1",unicode_decimal:59297},{icon_id:"24323253",name:"更多",font_class:"gengduo4",unicode:"e7a0",unicode_decimal:59296},{icon_id:"24323151",name:"搜索",font_class:"sousuo6",unicode:"e79b",unicode_decimal:59291},{icon_id:"24323152",name:"个人中心",font_class:"gerenzhongxin1",unicode:"e79c",unicode_decimal:59292},{icon_id:"24323153",name:"收藏",font_class:"shoucang3",unicode:"e79d",unicode_decimal:59293},{icon_id:"24323154",name:"首页",font_class:"shouye8",unicode:"e79e",unicode_decimal:59294},{icon_id:"24323155",name:"购物车",font_class:"gouwuche7",unicode:"e79f",unicode_decimal:59295},{icon_id:"24038801",name:"复制口令",font_class:"fuzhikouling1",unicode:"e79a",unicode_decimal:59290},{icon_id:"23938915",name:"专题",font_class:"zhuanti",unicode:"e799",unicode_decimal:59289},{icon_id:"23780401",name:"代付款-3",font_class:"daifukuan-3",unicode:"e794",unicode_decimal:59284},{icon_id:"23780402",name:"售后-退款-3",font_class:"shouhou-tuikuan-3",unicode:"e795",unicode_decimal:59285},{icon_id:"23780403",name:"待评价-3",font_class:"daipingjia-3",unicode:"e796",unicode_decimal:59286},{icon_id:"23780404",name:"待发货-3",font_class:"daifahuo-3",unicode:"e797",unicode_decimal:59287},{icon_id:"23780405",name:"全部订单-3",font_class:"quanbudingdan-3",unicode:"e798",unicode_decimal:59288},{icon_id:"23778557",name:"待发货-2",font_class:"daifahuo-2",unicode:"e78e",unicode_decimal:59278},{icon_id:"23778558",name:"待收货-2",font_class:"daishouhuo-2",unicode:"e78f",unicode_decimal:59279},{icon_id:"23778559",name:"待评价-2",font_class:"daipingjia-2",unicode:"e791",unicode_decimal:59281},{icon_id:"23778560",name:"售后-退款-2",font_class:"shouhou-tuikuan-2",unicode:"e792",unicode_decimal:59282},{icon_id:"23778561",name:"代付款-2",font_class:"daifukuan-2",unicode:"e793",unicode_decimal:59283},{icon_id:"23453683",name:"多商户pc-说明弹窗",font_class:"duoshanghupc-shuomingdanchuang",unicode:"e78b",unicode_decimal:59275},{icon_id:"23453684",name:"多商户pc-到货通知",font_class:"duoshanghupc-daohuotongzhi",unicode:"e78c",unicode_decimal:59276},{icon_id:"23453685",name:"多商户pc-保障",font_class:"duoshanghupc-baozhang",unicode:"e78d",unicode_decimal:59277},{icon_id:"23433761",name:"店铺",font_class:"dianpu",unicode:"e78a",unicode_decimal:59274},{icon_id:"23226659",name:"等级图标",font_class:"dengjitubiao",unicode:"e789",unicode_decimal:59273},{icon_id:"23142904",name:"待发货-新个人中心",font_class:"daifahuo-xingerenzhongxin",unicode:"e782",unicode_decimal:59266},{icon_id:"23142905",name:"二维码-新个人中心",font_class:"erweima-xingerenzhongxin",unicode:"e783",unicode_decimal:59267},{icon_id:"23142906",name:"全部订单-新个人中心",font_class:"quanbudingdan-xingerenzhongxin",unicode:"e784",unicode_decimal:59268},{icon_id:"23142907",name:"消息-新个人中心",font_class:"xiaoxi-xingerenzhongxin",unicode:"e785",unicode_decimal:59269},{icon_id:"23142908",name:"待评价-新个人中心",font_class:"daipingjia-xingerenzhongxin",unicode:"e786",unicode_decimal:59270},{icon_id:"23142909",name:"售后:退款-新个人中心",font_class:"a-shouhoutuikuan-xingerenzhongxin",unicode:"e787",unicode_decimal:59271},{icon_id:"23142910",name:"待付款-新个人中心",font_class:"daifukuan-xingerenzhongxin",unicode:"e788",unicode_decimal:59272},{icon_id:"23025336",name:"发票",font_class:"fapiao2",unicode:"e781",unicode_decimal:59265},{icon_id:"23018738",name:"售后-退款-蓝",font_class:"shouhou-tuikuan-lan",unicode:"e77c",unicode_decimal:59260},{icon_id:"23018739",name:"待评价-蓝",font_class:"daipingjia-lan",unicode:"e780",unicode_decimal:59264},{icon_id:"23018716",name:"待收货-蓝",font_class:"daishouhuo-lan",unicode:"e77d",unicode_decimal:59261},{icon_id:"23018717",name:"代付款-蓝",font_class:"daifukuan-lan",unicode:"e77e",unicode_decimal:59262},{icon_id:"23018718",name:"待发货-蓝",font_class:"daifahuo-lan",unicode:"e77f",unicode_decimal:59263},{icon_id:"23018675",name:"待发货-橘",font_class:"daifahuo-ju",unicode:"e777",unicode_decimal:59255},{icon_id:"23018676",name:"待付款-橘",font_class:"daifukuan-ju",unicode:"e778",unicode_decimal:59256},{icon_id:"23018677",name:"待收货-橘",font_class:"daishouhuo-ju",unicode:"e779",unicode_decimal:59257},{icon_id:"23018678",name:"售后-退款-橘",font_class:"shouhou-tuikuan-ju",unicode:"e77a",unicode_decimal:59258},{icon_id:"23018679",name:"待评价-橘",font_class:"daipingjia-ju",unicode:"e77b",unicode_decimal:59259},{icon_id:"23018598",name:"待收货-粉",font_class:"daishouhuo-fen",unicode:"e772",unicode_decimal:59250},{icon_id:"23018599",name:"待评价-粉",font_class:"daipingjia-fen",unicode:"e773",unicode_decimal:59251},{icon_id:"23018600",name:"代付款-粉",font_class:"daifukuan-fen",unicode:"e774",unicode_decimal:59252},{icon_id:"23018601",name:"售后:退款-粉",font_class:"a-shouhoutuikuan-fen",unicode:"e775",unicode_decimal:59253},{icon_id:"23018602",name:"待发货-粉",font_class:"daifahuo-fen",unicode:"e776",unicode_decimal:59254},{icon_id:"23018522",name:"待发货-绿",font_class:"daifahuo-lv",unicode:"e768",unicode_decimal:59240},{icon_id:"23018523",name:"售后-退款-绿",font_class:"shouhou-tuikuan-lv",unicode:"e76a",unicode_decimal:59242},{icon_id:"23018524",name:"代付款-绿",font_class:"daifukuan-lv",unicode:"e76d",unicode_decimal:59245},{icon_id:"23018525",name:"待收货-绿",font_class:"daishouhuo-lv",unicode:"e770",unicode_decimal:59248},{icon_id:"23018526",name:"待评价-绿",font_class:"daipingjia-lv",unicode:"e771",unicode_decimal:59249},{icon_id:"22912184",name:"待收货",font_class:"daishouhuo",unicode:"e75d",unicode_decimal:59229},{icon_id:"22912185",name:"待评价",font_class:"daipingjia",unicode:"e75e",unicode_decimal:59230},{icon_id:"22912186",name:"待发货",font_class:"daifahuo",unicode:"e760",unicode_decimal:59232},{icon_id:"22912187",name:"待付款",font_class:"daifukuan",unicode:"e766",unicode_decimal:59238},{icon_id:"22912188",name:"售后:退款",font_class:"a-shouhoutuikuan",unicode:"e767",unicode_decimal:59239},{icon_id:"22897249",name:"购物车-样式1",font_class:"gouwuche-yangshi1",unicode:"e75b",unicode_decimal:59227},{icon_id:"22897250",name:"购物车-样式2",font_class:"gouwuche-yangshi2",unicode:"e75c",unicode_decimal:59228},{icon_id:"22753020",name:"日历图标",font_class:"rilitubiao",unicode:"e75a",unicode_decimal:59226},{icon_id:"22625321",name:"提示",font_class:"tishi1",unicode:"e759",unicode_decimal:59225},{icon_id:"22332103",name:"待退货",font_class:"daituihuo1",unicode:"e752",unicode_decimal:59218},{icon_id:"22332104",name:"申请中",font_class:"shenqingzhong",unicode:"e756",unicode_decimal:59222},{icon_id:"22028919",name:"返佣",font_class:"fanyong",unicode:"e74d",unicode_decimal:59213},{icon_id:"8991273",name:"资质证件",font_class:"zizhizhengjian",unicode:"e743",unicode_decimal:59203},{icon_id:"21903923",name:"分销等级",font_class:"fenxiaodengji",unicode:"e742",unicode_decimal:59202},{icon_id:"6463462",name:"已拒绝",font_class:"yijujue",unicode:"e741",unicode_decimal:59201},{icon_id:"10987569",name:"退款中",font_class:"tuikuanzhong1",unicode:"e803",unicode_decimal:59395},{icon_id:"10987570",name:"退款失败",font_class:"tuikuanshibai",unicode:"e804",unicode_decimal:59396},{icon_id:"10987571",name:"退款成功",font_class:"tuikuanchenggong",unicode:"e805",unicode_decimal:59397},{icon_id:"15693084",name:"退款中",font_class:"tuikuanzhong11",unicode:"e744",unicode_decimal:59204},{icon_id:"17966686",name:"已完成",font_class:"yiwancheng",unicode:"e745",unicode_decimal:59205},{icon_id:"18943158",name:"已退款",font_class:"yituikuan1",unicode:"e747",unicode_decimal:59207},{icon_id:"12157701",name:"退款",font_class:"tuikuan1",unicode:"e73a",unicode_decimal:59194},{icon_id:"15647652",name:"退货",font_class:"tuihuo",unicode:"e73c",unicode_decimal:59196},{icon_id:"18998149",name:"审核",font_class:"shenhe",unicode:"e73d",unicode_decimal:59197},{icon_id:"20174701",name:"上传图片",font_class:"shangchuantupian1",unicode:"e755",unicode_decimal:59221},{icon_id:"18303420",name:"首页",font_class:"shouye7",unicode:"e863",unicode_decimal:59491},{icon_id:"21201608",name:"省钱",font_class:"shengqian",unicode:"e738",unicode_decimal:59192},{icon_id:"21151646",name:"笑脸",font_class:"xiaolian1",unicode:"e737",unicode_decimal:59191},{icon_id:"21117815",name:"放大",font_class:"fangda",unicode:"e736",unicode_decimal:59190},{icon_id:"20747594",name:"点击抽奖",font_class:"dianjichoujiang",unicode:"e730",unicode_decimal:59184},{icon_id:"20350243",name:"7纪念版",font_class:"7jinianban",unicode:"e76f",unicode_decimal:59247},{icon_id:"20171836",name:"领取优惠券按钮",font_class:"lingquyouhuiquananniu",unicode:"e72e",unicode_decimal:59182},{icon_id:"20171837",name:"签到成功按钮",font_class:"qiandaochenggonganniu",unicode:"e72f",unicode_decimal:59183},{icon_id:"19661507",name:"s-限时秒杀",font_class:"s-xianshimiaosha",unicode:"e727",unicode_decimal:59175},{icon_id:"19661413",name:"s-拼团",font_class:"s-pintuan1",unicode:"e726",unicode_decimal:59174},{icon_id:"19661415",name:"s-砍价",font_class:"s-kanjia1",unicode:"e72d",unicode_decimal:59181},{icon_id:"19602319",name:"s-苹果",font_class:"s-pingguo",unicode:"e722",unicode_decimal:59170},{icon_id:"19443429",name:"s-微信登录",font_class:"s-weixindenglu1",unicode:"e729",unicode_decimal:59177},{icon_id:"19443430",name:"s-验证码登录",font_class:"s-yanzhengmadenglu1",unicode:"e72a",unicode_decimal:59178},{icon_id:"19443431",name:"s-密码登录",font_class:"s-mimadenglu1",unicode:"e72b",unicode_decimal:59179},{icon_id:"19440627",name:"s-验证码",font_class:"s-yanzhengma",unicode:"e728",unicode_decimal:59176},{icon_id:"19266197",name:"朋友圈",font_class:"pengyouquan",unicode:"e76e",unicode_decimal:59246},{icon_id:"19166528",name:"积分中心",font_class:"jifenzhongxin",unicode:"e71f",unicode_decimal:59167},{icon_id:"19166486",name:"s-充值记录",font_class:"s-chongzhijilu",unicode:"e71c",unicode_decimal:59164},{icon_id:"19166487",name:"s-消费记录",font_class:"s-xiaofeijilu",unicode:"e71e",unicode_decimal:59166},{icon_id:"19166489",name:"s-账单记录",font_class:"s-zhangdanjilu",unicode:"e720",unicode_decimal:59168},{icon_id:"19102715",name:"s-客服",font_class:"s-kefu",unicode:"e721",unicode_decimal:59169},{icon_id:"19061404",name:"s-编辑",font_class:"s-bianji",unicode:"e71d",unicode_decimal:59165},{icon_id:"18819977",name:"s-拼团",font_class:"s-pintuan",unicode:"e719",unicode_decimal:59161},{icon_id:"18819765",name:"s-砍价",font_class:"s-kanjia",unicode:"e71a",unicode_decimal:59162},{icon_id:"18819954",name:"s-秒杀",font_class:"s-miaosha",unicode:"e71b",unicode_decimal:59163},{icon_id:"18623908",name:"返回",font_class:"fanhui1",unicode:"e718",unicode_decimal:59160},{icon_id:"18565428",name:"客服",font_class:"kefu3",unicode:"e716",unicode_decimal:59158},{icon_id:"18565429",name:"首页",font_class:"shouye6",unicode:"e717",unicode_decimal:59159},{icon_id:"18497357",name:"查看地图",font_class:"chakanditu",unicode:"e715",unicode_decimal:59157},{icon_id:"18398022",name:"好物圈",font_class:"haowuquan1",unicode:"e713",unicode_decimal:59155},{icon_id:"9720361",name:"好物圈",font_class:"haowuquan",unicode:"e712",unicode_decimal:59154},{icon_id:"18241349",name:"更多展开",font_class:"gengduozhankai1",unicode:"e70e",unicode_decimal:59150},{icon_id:"18241350",name:"表情",font_class:"biaoqing2",unicode:"e70f",unicode_decimal:59151},{icon_id:"18241351",name:"话术",font_class:"huashu1",unicode:"e710",unicode_decimal:59152},{icon_id:"18241352",name:"图片",font_class:"tupian2",unicode:"e711",unicode_decimal:59153},{icon_id:"18208669",name:"回放",font_class:"huifang",unicode:"e76c",unicode_decimal:59244},{icon_id:"18208646",name:"直播中",font_class:"zhibozhong",unicode:"e76b",unicode_decimal:59243},{icon_id:"18132600",name:"huangguan",font_class:"huangguan3",unicode:"e769",unicode_decimal:59241},{icon_id:"18106245",name:"会员 (2)",font_class:"huiyuan2",unicode:"e70c",unicode_decimal:59148},{icon_id:"18048170",name:"发票",font_class:"fapiao1",unicode:"e70b",unicode_decimal:59147},{icon_id:"17992611",name:"叉",font_class:"cha3",unicode:"e709",unicode_decimal:59145},{icon_id:"17992612",name:"设置",font_class:"shezhi1",unicode:"e70a",unicode_decimal:59146},{icon_id:"17992599",name:"添加 (1)",font_class:"tianjia1",unicode:"e705",unicode_decimal:59141},{icon_id:"17992600",name:"编辑",font_class:"bianji3",unicode:"e706",unicode_decimal:59142},{icon_id:"17992601",name:"加号",font_class:"jiahao2",unicode:"e707",unicode_decimal:59143},{icon_id:"17992602",name:"删除",font_class:"shanchu3",unicode:"e708",unicode_decimal:59144},{icon_id:"17950802",name:"复制口令",font_class:"fuzhikouling",unicode:"e704",unicode_decimal:59140},{icon_id:"17928659",name:"客服接待",font_class:"kefujiedai",unicode:"e703",unicode_decimal:59139},{icon_id:"17898154",name:"秒杀 (1)",font_class:"miaosha1",unicode:"e702",unicode_decimal:59138},{icon_id:"17759886",name:"编辑",font_class:"bianji2",unicode:"e700",unicode_decimal:59136},{icon_id:"17759887",name:"清空缓存",font_class:"qingkonghuancun",unicode:"e701",unicode_decimal:59137},{icon_id:"17759858",name:"时间",font_class:"shijian1",unicode:"e66b",unicode_decimal:58987},{icon_id:"17759861",name:"问号 (1)",font_class:"wenhao1",unicode:"e6ee",unicode_decimal:59118},{icon_id:"17742749",name:"账号密码",font_class:"zhanghaomima",unicode:"e763",unicode_decimal:59235},{icon_id:"17742750",name:"二维码",font_class:"erweima2",unicode:"e765",unicode_decimal:59237},{icon_id:"3716229",name:"关机",font_class:"guanji",unicode:"e6ed",unicode_decimal:59117},{icon_id:"17742651",name:"图片",font_class:"tupian1",unicode:"e762",unicode_decimal:59234},{icon_id:"17742653",name:"表情",font_class:"biaoqing1",unicode:"e764",unicode_decimal:59236},{icon_id:"17742623",name:"关闭",font_class:"guanbi5",unicode:"e761",unicode_decimal:59233},{icon_id:"4144169",name:"声音 静音 线性",font_class:"shengyinjingyinxianxing",unicode:"e94f",unicode_decimal:59727},{icon_id:"8960847",name:"声音",font_class:"shengyinyinliang",unicode:"e66a",unicode_decimal:58986},{icon_id:"17603949",name:"评价",font_class:"pingjia1",unicode:"e6ec",unicode_decimal:59116},{icon_id:"17580487",name:"下拉展开",font_class:"xialazhankai",unicode:"e6dd",unicode_decimal:59101},{icon_id:"17580488",name:"叉",font_class:"cha2",unicode:"e6e6",unicode_decimal:59110},{icon_id:"17580404",name:"返回首页",font_class:"fanhuishouye",unicode:"e6df",unicode_decimal:59103},{icon_id:"17580405",name:"更多",font_class:"gengduo3",unicode:"e6e0",unicode_decimal:59104},{icon_id:"17580406",name:"分享",font_class:"fenxiang1",unicode:"e6e2",unicode_decimal:59106},{icon_id:"17580407",name:"搜索",font_class:"sousuo5",unicode:"e6e3",unicode_decimal:59107},{icon_id:"17580409",name:"会员",font_class:"huiyuan1",unicode:"e6e5",unicode_decimal:59109},{icon_id:"17580411",name:"勾",font_class:"gou",unicode:"e6e7",unicode_decimal:59111},{icon_id:"17580412",name:"购物车",font_class:"gouwuche6",unicode:"e6e8",unicode_decimal:59112},{icon_id:"17580413",name:"右",font_class:"you1",unicode:"e6e9",unicode_decimal:59113},{icon_id:"17580414",name:"左",font_class:"zuo1",unicode:"e6ea",unicode_decimal:59114},{icon_id:"17580415",name:"vip",font_class:"vip12",unicode:"e6eb",unicode_decimal:59115},{icon_id:"17580376",name:"优惠券",font_class:"youhuiquan1",unicode:"e6db",unicode_decimal:59099},{icon_id:"17580357",name:"客服 (2)",font_class:"kefu21",unicode:"e6da",unicode_decimal:59098},{icon_id:"17580359",name:"余额",font_class:"yue1",unicode:"e6dc",unicode_decimal:59100},{icon_id:"17580217",name:"会员中心",font_class:"huiyuanzhongxin",unicode:"e6d5",unicode_decimal:59093},{icon_id:"17580218",name:"砍价记录",font_class:"kanjiajilu",unicode:"e6d6",unicode_decimal:59094},{icon_id:"17580219",name:"地址信息",font_class:"dizhixinxi",unicode:"e6d7",unicode_decimal:59095},{icon_id:"17580220",name:"我的推广",font_class:"wodetuiguang",unicode:"e6d8",unicode_decimal:59096},{icon_id:"17580221",name:"我的收藏",font_class:"wodeshoucang",unicode:"e6d9",unicode_decimal:59097},{icon_id:"17499862",name:"回到顶部",font_class:"huidaodingbu1",unicode:"e6d4",unicode_decimal:59092},{icon_id:"17440785",name:"扫一扫",font_class:"saoyisao",unicode:"e6d3",unicode_decimal:59091},{icon_id:"17387549",name:"价格筛选(上)",font_class:"jiageshaixuanshang",unicode:"e6d0",unicode_decimal:59088},{icon_id:"17387550",name:"价格筛选(下)",font_class:"jiageshaixuanxia",unicode:"e6d1",unicode_decimal:59089},{icon_id:"17373682",name:"手机",font_class:"shouji1",unicode:"e6cf",unicode_decimal:59087},{icon_id:"17372315",name:"更多",font_class:"gengduo2",unicode:"e6cd",unicode_decimal:59085},{icon_id:"17372311",name:"叉",font_class:"cha1",unicode:"e6cb",unicode_decimal:59083},{icon_id:"17372250",name:"发送",font_class:"fasong",unicode:"e6be",unicode_decimal:59070},{icon_id:"17372251",name:"更多展开",font_class:"gengduozhankai",unicode:"e6c7",unicode_decimal:59079},{icon_id:"17372252",name:"表情",font_class:"biaoqing",unicode:"e6c8",unicode_decimal:59080},{icon_id:"17372253",name:"话术",font_class:"huashu",unicode:"e6c9",unicode_decimal:59081},{icon_id:"17372254",name:"图片",font_class:"tupian",unicode:"e6ca",unicode_decimal:59082},{icon_id:"17372239",name:"密码",font_class:"mima",unicode:"e6ba",unicode_decimal:59066},{icon_id:"17372240",name:"账号",font_class:"zhanghao",unicode:"e6bc",unicode_decimal:59068},{icon_id:"17372087",name:"返回",font_class:"fanhui",unicode:"e6b9",unicode_decimal:59065},{icon_id:"17372093",name:"进入",font_class:"jinru2",unicode:"e6bd",unicode_decimal:59069},{icon_id:"17372095",name:"商品信息",font_class:"shangpinxinxi",unicode:"e6bf",unicode_decimal:59071},{icon_id:"17372097",name:"退出",font_class:"tuichu",unicode:"e6c0",unicode_decimal:59072},{icon_id:"17372099",name:"交易订单",font_class:"jiaoyidingdan",unicode:"e6c1",unicode_decimal:59073},{icon_id:"17372100",name:"搜索",font_class:"sousuo4",unicode:"e6c4",unicode_decimal:59076},{icon_id:"17372101",name:"选中",font_class:"xuanzhong5",unicode:"e6c6",unicode_decimal:59078},{icon_id:"17340774",name:"VIP",font_class:"VIP2",unicode:"e6b8",unicode_decimal:59064},{icon_id:"17291941",name:"品种",font_class:"pinzhong",unicode:"e6a2",unicode_decimal:59042},{icon_id:"17291942",name:"行货",font_class:"hanghuo",unicode:"e6a3",unicode_decimal:59043},{icon_id:"17291943",name:"直发",font_class:"zhifa",unicode:"e6b6",unicode_decimal:59062},{icon_id:"17291944",name:"低价",font_class:"dijia",unicode:"e6b7",unicode_decimal:59063},{icon_id:"17263492",name:"个人中心-选中",font_class:"gerenzhongxin-xuanzhong",unicode:"e6ae",unicode_decimal:59054},{icon_id:"17263000",name:"选中",font_class:"xuanzhong4",unicode:"e6af",unicode_decimal:59055},{icon_id:"17263001",name:"暂无秒杀",font_class:"zanwumiaosha",unicode:"e6b0",unicode_decimal:59056},{icon_id:"17263002",name:"上传图片",font_class:"shangchuantupian",unicode:"e6b3",unicode_decimal:59059},{icon_id:"17263003",name:"服务",font_class:"fuwu",unicode:"e6b4",unicode_decimal:59060},{icon_id:"17263004",name:"退款提示",font_class:"tuikuantishi",unicode:"e6b5",unicode_decimal:59061},{icon_id:"17250368",name:"二维码-右下",font_class:"erweima-youxia",unicode:"e6ad",unicode_decimal:59053},{icon_id:"17247575",name:"二维码边角",font_class:"erweimabianjiao",unicode:"e6ac",unicode_decimal:59052},{icon_id:"17246424",name:"微信登录",font_class:"weixindenglu1",unicode:"e6aa",unicode_decimal:59050},{icon_id:"17246425",name:"账号登录",font_class:"zhanghaodenglu1",unicode:"e6ab",unicode_decimal:59051},{icon_id:"17222859",name:"上架时间",font_class:"shangjiashijian",unicode:"e6a9",unicode_decimal:59049},{icon_id:"17222848",name:"价格筛选",font_class:"jiageshaixuan",unicode:"e6a7",unicode_decimal:59047},{icon_id:"17222849",name:"更多分类",font_class:"gengduofenlei",unicode:"e6a8",unicode_decimal:59048},{icon_id:"17179785",name:"未选",font_class:"weixuan",unicode:"e6a6",unicode_decimal:59046},{icon_id:"17179708",name:"选中1",font_class:"xuanzhong11",unicode:"e6a5",unicode_decimal:59045},{icon_id:"17179618",name:"评价",font_class:"pingjia",unicode:"e6a4",unicode_decimal:59044},{icon_id:"17179152",name:"关 闭",font_class:"guanbi4",unicode:"e6a0",unicode_decimal:59040},{icon_id:"17179076",name:"品种齐全",font_class:"pinzhongqiquan",unicode:"e69d",unicode_decimal:59037},{icon_id:"17179077",name:"低价畅选",font_class:"dijiachangxuan",unicode:"e69e",unicode_decimal:59038},{icon_id:"17179078",name:"正品行货",font_class:"zhengpinhanghuo",unicode:"e69f",unicode_decimal:59039},{icon_id:"17179021",name:"地址-添加",font_class:"dizhi-tianjia",unicode:"e696",unicode_decimal:59030},{icon_id:"17179006",name:"删除",font_class:"shanchu2",unicode:"e69c",unicode_decimal:59036},{icon_id:"17178966",name:"余额",font_class:"yue",unicode:"e699",unicode_decimal:59033},{icon_id:"17178967",name:"微信支付",font_class:"weixinzhifu1",unicode:"e69a",unicode_decimal:59034},{icon_id:"17178959",name:"商品数量-减",font_class:"shangpinshuliang-jian",unicode:"e698",unicode_decimal:59032},{icon_id:"17178896",name:"商品数量-加",font_class:"shangpinshuliang-jia",unicode:"e697",unicode_decimal:59031},{icon_id:"17178852",name:"选中",font_class:"xuanzhong3",unicode:"e693",unicode_decimal:59027},{icon_id:"17178853",name:"地址下拉",font_class:"dizhixiala",unicode:"e694",unicode_decimal:59028},{icon_id:"17178834",name:"进入",font_class:"jinru1",unicode:"e695",unicode_decimal:59029},{icon_id:"17178684",name:"申请退款",font_class:"shenqingtuikuan",unicode:"e692",unicode_decimal:59026},{icon_id:"17178640",name:"配货",font_class:"peihuo",unicode:"e68d",unicode_decimal:59021},{icon_id:"17178641",name:"下单",font_class:"xiadan",unicode:"e68e",unicode_decimal:59022},{icon_id:"17178642",name:"完成",font_class:"wancheng",unicode:"e68f",unicode_decimal:59023},{icon_id:"17178643",name:"付款",font_class:"fukuan",unicode:"e690",unicode_decimal:59024},{icon_id:"17178644",name:"发货",font_class:"fahuo",unicode:"e691",unicode_decimal:59025},{icon_id:"17178584",name:"扫码",font_class:"saoma",unicode:"e68c",unicode_decimal:59020},{icon_id:"17178465",name:"提示",font_class:"tishi",unicode:"e68b",unicode_decimal:59019},{icon_id:"17178420",name:"下拉",font_class:"xiala2",unicode:"e682",unicode_decimal:59010},{icon_id:"17178421",name:"VIP",font_class:"VIP1",unicode:"e68a",unicode_decimal:59018},{icon_id:"17178383",name:"已收藏",font_class:"yishoucang",unicode:"e683",unicode_decimal:59011},{icon_id:"17178384",name:"收藏",font_class:"shoucang2",unicode:"e686",unicode_decimal:59014},{icon_id:"17178385",name:"客服",font_class:"kefu2",unicode:"e689",unicode_decimal:59017},{icon_id:"17178297",name:"发票",font_class:"fapiao",unicode:"e680",unicode_decimal:59008},{icon_id:"17178288",name:"发票管理",font_class:"fapiaoguanli",unicode:"e681",unicode_decimal:59009},{icon_id:"17156206",name:"进入",font_class:"jinru",unicode:"e67e",unicode_decimal:59006},{icon_id:"17156160",name:"搜索",font_class:"sousuo3",unicode:"e67b",unicode_decimal:59003},{icon_id:"17155978",name:"顶部-购物车",font_class:"dingbu-gouwuche",unicode:"e67a",unicode_decimal:59002},{icon_id:"17155967",name:"回到顶部",font_class:"huidaodingbu",unicode:"e678",unicode_decimal:59e3},{icon_id:"17155547",name:"侧导航-购物车",font_class:"cedaohang-gouwuche",unicode:"e676",unicode_decimal:58998},{icon_id:"17155537",name:"微信",font_class:"weixin4",unicode:"e675",unicode_decimal:58997},{icon_id:"17155527",name:"联系客服",font_class:"lianxikefu",unicode:"e672",unicode_decimal:58994},{icon_id:"17155425",name:"左-秒杀",font_class:"zuo-miaosha",unicode:"e670",unicode_decimal:58992},{icon_id:"17155426",name:"右-秒杀",font_class:"you-miaosha",unicode:"e671",unicode_decimal:58993},{icon_id:"17155414",name:"左",font_class:"zuo",unicode:"e66d",unicode_decimal:58989},{icon_id:"17155415",name:"右",font_class:"you",unicode:"e66f",unicode_decimal:58991},{icon_id:"17155379",name:"收藏本站",font_class:"shoucangbenzhan",unicode:"e66c",unicode_decimal:58988},{icon_id:"16881301",name:"联系商家",font_class:"lianxishangjia",unicode:"e668",unicode_decimal:58984},{icon_id:"16881237",name:"定位",font_class:"dingwei",unicode:"e667",unicode_decimal:58983},{icon_id:"16855793",name:"分类",font_class:"fenlei2",unicode:"e663",unicode_decimal:58979},{icon_id:"16855794",name:"我的",font_class:"wode",unicode:"e664",unicode_decimal:58980},{icon_id:"16855795",name:"首页",font_class:"shouye5",unicode:"e665",unicode_decimal:58981},{icon_id:"16855796",name:"购物车",font_class:"gouwuche5",unicode:"e666",unicode_decimal:58982},{icon_id:"16842413",name:"减号",font_class:"jianhao1",unicode:"e661",unicode_decimal:58977},{icon_id:"16842414",name:"加号",font_class:"jiahao1",unicode:"e662",unicode_decimal:58978},{icon_id:"16522587",name:"验证码",font_class:"yanzhengma1",unicode:"e65f",unicode_decimal:58975},{icon_id:"16522588",name:"手机",font_class:"shouji",unicode:"e660",unicode_decimal:58976},{icon_id:"15999750",name:"叉",font_class:"cha",unicode:"e658",unicode_decimal:58968},{icon_id:"15999751",name:"手机号",font_class:"shoujihao",unicode:"e659",unicode_decimal:58969},{icon_id:"15999752",name:"企业",font_class:"qiye",unicode:"e65b",unicode_decimal:58971},{icon_id:"15999753",name:"用户",font_class:"yonghu3",unicode:"e65c",unicode_decimal:58972},{icon_id:"15999754",name:"验证码",font_class:"yanzhengma",unicode:"e65d",unicode_decimal:58973},{icon_id:"6612140",name:"商品",font_class:"shangpin",unicode:"e653",unicode_decimal:58963},{icon_id:"8794230",name:"签到 (1)",font_class:"qiandao2",unicode:"e65a",unicode_decimal:58970},{icon_id:"9972588",name:"邀请",font_class:"yaoqing",unicode:"ea39",unicode_decimal:59961},{icon_id:"15318957",name:"退货中",font_class:"tuihuozhong",unicode:"e64f",unicode_decimal:58959},{icon_id:"15318958",name:"审核中",font_class:"shenhezhong1",unicode:"e650",unicode_decimal:58960},{icon_id:"15318959",name:"待退货",font_class:"daituihuo",unicode:"e652",unicode_decimal:58962},{icon_id:"15295351",name:"已核销",font_class:"yihexiao",unicode:"e75f",unicode_decimal:59231},{icon_id:"1312558",name:"已拒绝",font_class:"yijujue1",unicode:"e6a1",unicode_decimal:59041},{icon_id:"11304395",name:"更多",font_class:"gengduo1",unicode:"e674",unicode_decimal:58996},{icon_id:"1052580",name:"退款",font_class:"tuikuan",unicode:"e657",unicode_decimal:58967},{icon_id:"9157604",name:"消息",font_class:"xiaoxi",unicode:"e64b",unicode_decimal:58955},{icon_id:"503176",name:"二维码",font_class:"erweima1",unicode:"e647",unicode_decimal:58951},{icon_id:"3122166",name:"客服",font_class:"kefu1",unicode:"e648",unicode_decimal:58952},{icon_id:"5941547",name:"关注",font_class:"guanzhu",unicode:"e645",unicode_decimal:58949},{icon_id:"4360804",name:"相机",font_class:"xiangji",unicode:"e6bb",unicode_decimal:59067},{icon_id:"7677879",name:"注意",font_class:"zhuyi-copy",unicode:"e688",unicode_decimal:59016},{icon_id:"3656374",name:"评分",font_class:"pingfen",unicode:"e649",unicode_decimal:58953},{icon_id:"5387905",name:"应用APP_o",font_class:"yingyongAPP_o",unicode:"eb88",unicode_decimal:60296},{icon_id:"5388057",name:"驿站_o",font_class:"yizhan_o",unicode:"ebc6",unicode_decimal:60358},{icon_id:"6204467",name:"筛选",font_class:"shaixuan",unicode:"e651",unicode_decimal:58961},{icon_id:"11017383",name:"商家【订单】",font_class:"shangjiadingdan",unicode:"e64a",unicode_decimal:58954},{icon_id:"13540820",name:"首页",font_class:"shouye4",unicode:"e64d",unicode_decimal:58957},{icon_id:"2382828",name:"金币",font_class:"jinbi2",unicode:"e63f",unicode_decimal:58943},{icon_id:"1487445",name:"金币",font_class:"jinbi",unicode:"e63c",unicode_decimal:58940},{icon_id:"1713291",name:"坐标",font_class:"zuobiao",unicode:"e6de",unicode_decimal:59102},{icon_id:"13670774",name:"减号",font_class:"jianhao",unicode:"e753",unicode_decimal:59219},{icon_id:"13670775",name:"加号",font_class:"jiahao",unicode:"e754",unicode_decimal:59220},{icon_id:"4128532",name:"直播结束@2x",font_class:"zhibojieshux",unicode:"e63d",unicode_decimal:58941},{icon_id:"12314352",name:"直播",font_class:"zhibo",unicode:"e63e",unicode_decimal:58942},{icon_id:"12254242",name:"VIP",font_class:"VIP",unicode:"e751",unicode_decimal:59217},{icon_id:"539040",name:"推广",font_class:"tuiguang",unicode:"e63b",unicode_decimal:58939},{icon_id:"11680996",name:"geren02",font_class:"geren1",unicode:"e750",unicode_decimal:59216},{icon_id:"11680989",name:"gouwuche02",font_class:"gouwuche4",unicode:"e74f",unicode_decimal:59215},{icon_id:"11680960",name:"fenlei02",font_class:"fenlei1",unicode:"e74e",unicode_decimal:59214},{icon_id:"11680785",name:"shouye02",font_class:"shouye3",unicode:"e74c",unicode_decimal:59212},{icon_id:"11680780",name:"geren01",font_class:"geren",unicode:"e74b",unicode_decimal:59211},{icon_id:"11680778",name:"gouwuche01",font_class:"gouwuche3",unicode:"e74a",unicode_decimal:59210},{icon_id:"11680757",name:"fenlei01",font_class:"fenlei",unicode:"e749",unicode_decimal:59209},{icon_id:"11680752",name:"shouye01",font_class:"shouye2",unicode:"e748",unicode_decimal:59208},{icon_id:"11680690",name:"mzshopping01",font_class:"mzshopping",unicode:"e746",unicode_decimal:59206},{icon_id:"6854655",name:"功能",font_class:"gongneng",unicode:"e63a",unicode_decimal:58938},{icon_id:"11003792",name:"个人中心",font_class:"gerenzhongxin-copy",unicode:"ebc0",unicode_decimal:60352},{icon_id:"11003799",name:"首页",font_class:"shouye1-copy",unicode:"ebc1",unicode_decimal:60353},{icon_id:"4769807",name:"个人中心",font_class:"gerenzhongxin",unicode:"e636",unicode_decimal:58934},{icon_id:"4770063",name:"首页",font_class:"shouye1",unicode:"e637",unicode_decimal:58935},{icon_id:"4770130",name:"购物车",font_class:"gouwuche2",unicode:"e638",unicode_decimal:58936},{icon_id:"7383390",name:"分类",font_class:"fenleiyemian",unicode:"e639",unicode_decimal:58937},{icon_id:"11003806",name:"购物车",font_class:"gouwuche2-copy",unicode:"ebc2",unicode_decimal:60354},{icon_id:"11003812",name:"分类",font_class:"fenleiyemian-copy",unicode:"ebc3",unicode_decimal:60355},{icon_id:"10880067",name:"通话",font_class:"tonghua",unicode:"e740",unicode_decimal:59200},{icon_id:"5996196",name:"右键",font_class:"youjian",unicode:"e677",unicode_decimal:58999},{icon_id:"926111",name:"打电话-01",font_class:"dadianhua01",unicode:"e623",unicode_decimal:58915},{icon_id:"2553385",name:"排行",font_class:"paihang",unicode:"e73e",unicode_decimal:59198},{icon_id:"2559567",name:"位置",font_class:"weizhi",unicode:"e62d",unicode_decimal:58925},{icon_id:"3203334",name:"排行",font_class:"paihang1",unicode:"e633",unicode_decimal:58931},{icon_id:"4919800",name:"说明",font_class:"shuoming1",unicode:"e673",unicode_decimal:58995},{icon_id:"8181204",name:"dianhau",font_class:"dianhau",unicode:"e634",unicode_decimal:58932},{icon_id:"9136175",name:"时间",font_class:"shijian",unicode:"e635",unicode_decimal:58933},{icon_id:"5383811",name:"新闻通知",font_class:"huabanfuben",unicode:"e654",unicode_decimal:58964},{icon_id:"3453309",name:"减",font_class:"jian",unicode:"e621",unicode_decimal:58913},{icon_id:"3577985",name:"加",font_class:"jia",unicode:"e7e0",unicode_decimal:59360},{icon_id:"10283513",name:"修 改",font_class:"xiugai",unicode:"e61f",unicode_decimal:58911},{icon_id:"5387908",name:"按钮_箭头展开_o",font_class:"anniu_jiantouzhankai_o",unicode:"eb89",unicode_decimal:60297},{icon_id:"5387922",name:"箭头_下一页_o",font_class:"jiantou_xiayiye_o",unicode:"eb8f",unicode_decimal:60303},{icon_id:"5387926",name:"箭头_上下切换_o",font_class:"jiantou_shangxiaqiehuan_o",unicode:"eb90",unicode_decimal:60304},{icon_id:"5387950",name:"上下展开_o",font_class:"shangxiazhankai_o",unicode:"eb9a",unicode_decimal:60314},{icon_id:"5387993",name:"电话_o",font_class:"dianhua_o",unicode:"ebaf",unicode_decimal:60335},{icon_id:"5388009",name:"云上传_o",font_class:"yunshangchuan_o",unicode:"ebb3",unicode_decimal:60339},{icon_id:"5388011",name:"饼图_o",font_class:"bingtu_o",unicode:"ebb4",unicode_decimal:60340},{icon_id:"5388017",name:"包裹_环保盒_o",font_class:"baoguo_huanbaohe_o",unicode:"ebb6",unicode_decimal:60342},{icon_id:"5388018",name:"包裹_取消收货_o",font_class:"baoguo_quxiaoshouhuo_o",unicode:"ebb7",unicode_decimal:60343},{icon_id:"5388019",name:"包裹_收货_o",font_class:"baoguo_shouhuo_o",unicode:"ebb8",unicode_decimal:60344},{icon_id:"5388020",name:"包裹_领件_o",font_class:"baoguo_lingjian_o",unicode:"ebb9",unicode_decimal:60345},{icon_id:"5388021",name:"包裹_收纳_o",font_class:"baoguo_shouna_o",unicode:"ebbe",unicode_decimal:60350},{icon_id:"5116806",name:"线下支付",font_class:"xianxiazhifu",unicode:"e6e1",unicode_decimal:59105},{icon_id:"7766777",name:"icon_im_keyboard",font_class:"icon_im_keyboard",unicode:"eb97",unicode_decimal:60311},{icon_id:"10144788",name:"tupian-01",font_class:"tupian-",unicode:"e73f",unicode_decimal:59199},{icon_id:"7766749",name:"icon_im_face",font_class:"icon_im_face",unicode:"eb96",unicode_decimal:60310},{icon_id:"2203117",name:"余额支付",font_class:"yuezhifu",unicode:"e65e",unicode_decimal:58974},{icon_id:"2672470",name:"余额支付",font_class:"yuezhifu1",unicode:"e61a",unicode_decimal:58906},{icon_id:"6133627",name:"微信支付",font_class:"weixinzhifu",unicode:"e632",unicode_decimal:58930},{icon_id:"6783580",name:"支付宝",font_class:"zhifubao",unicode:"e61d",unicode_decimal:58909},{icon_id:"9896813",name:"海报",font_class:"haibao",unicode:"e73b",unicode_decimal:59195},{icon_id:"3185373",name:"微信",font_class:"weixin3",unicode:"e618",unicode_decimal:58904},{icon_id:"9895692",name:"crmeb2",font_class:"crmeb1",unicode:"e739",unicode_decimal:59193},{icon_id:"9561662",name:"crmeb",font_class:"crmeb",unicode:"e735",unicode_decimal:59189},{icon_id:"9364654",name:"选中",font_class:"xuanzhong2",unicode:"e731",unicode_decimal:59185},{icon_id:"9364655",name:"数据统计",font_class:"shujutongji",unicode:"e732",unicode_decimal:59186},{icon_id:"9364656",name:"详细数据",font_class:"xiangxishuju",unicode:"e733",unicode_decimal:59187},{icon_id:"9364657",name:"更多",font_class:"gengduo",unicode:"e734",unicode_decimal:59188},{icon_id:"6194276",name:"更多",font_class:"up",unicode:"e617",unicode_decimal:58903},{icon_id:"2681908",name:"用户",font_class:"yonghu2",unicode:"e60a",unicode_decimal:58890},{icon_id:"8902924",name:"备注",font_class:"zhinengkefu-",unicode:"e616",unicode_decimal:58902},{icon_id:"3751425",name:"向上",font_class:"xiangshang1",unicode:"e622",unicode_decimal:58914},{icon_id:"9364404",name:"向上",font_class:"xiangxia2",unicode:"ebbd",unicode_decimal:60349},{icon_id:"8906620",name:"code_1",font_class:"code_",unicode:"e723",unicode_decimal:59171},{icon_id:"8906621",name:"code_2",font_class:"code_1",unicode:"e724",unicode_decimal:59172},{icon_id:"8906622",name:"phone_1",font_class:"phone_",unicode:"e725",unicode_decimal:59173},{icon_id:"3844134",name:"下拉",font_class:"xiala",unicode:"e67f",unicode_decimal:59007},{icon_id:"4603167",name:"设置",font_class:"shezhi",unicode:"e619",unicode_decimal:58905},{icon_id:"7311029",name:"编辑",font_class:"bianji1",unicode:"e614",unicode_decimal:58900},{icon_id:"8037761",name:"收 藏",font_class:"shoucang1",unicode:"e714",unicode_decimal:59156},{icon_id:"5301920",name:"加载",font_class:"jiazai",unicode:"e62c",unicode_decimal:58924},{icon_id:"1850915",name:"订单",font_class:"2",unicode:"e684",unicode_decimal:59012},{icon_id:"2664568",name:"团队",font_class:"tuandui",unicode:"e685",unicode_decimal:59013},{icon_id:"2980623",name:"金币",font_class:"jinbi1",unicode:"e655",unicode_decimal:58965},{icon_id:"7540338",name:"关 闭",font_class:"guanbi3",unicode:"e6c5",unicode_decimal:59077},{icon_id:"2360857",name:"问题",font_class:"wenti",unicode:"e758",unicode_decimal:59224},{icon_id:"1727379",name:"33资源-线性",font_class:"ziyuan-xianxing",unicode:"e8a4",unicode_decimal:59556},{icon_id:"6825609",name:"用户",font_class:"yonghu1",unicode:"e644",unicode_decimal:58948},{icon_id:"4133807",name:"订单",font_class:"dingdan",unicode:"e61e",unicode_decimal:58910},{icon_id:"6970586",name:"锁子",font_class:"suozi",unicode:"e631",unicode_decimal:58929},{icon_id:"5860911",name:"权限管理锁子",font_class:"quanxianguanlisuozi",unicode:"e6d2",unicode_decimal:59090},{icon_id:"7563801",name:"菱形",font_class:"lingxing",unicode:"e6ff",unicode_decimal:59135},{icon_id:"1534823",name:"秒杀",font_class:"miaosha",unicode:"e6c3",unicode_decimal:59075},{icon_id:"2762285",name:"拼团",font_class:"hebingxingzhuang",unicode:"e656",unicode_decimal:58966},{icon_id:"6582604",name:"砍价",font_class:"kanjia1",unicode:"e613",unicode_decimal:58899},{icon_id:"2540845",name:"钱袋 (1) (3)",font_class:"qiandai",unicode:"e6b1",unicode_decimal:59057},{icon_id:"3232659",name:"统计 (1)",font_class:"tongji",unicode:"e687",unicode_decimal:59015},{icon_id:"3402041",name:"二维码",font_class:"erweima",unicode:"e607",unicode_decimal:58887},{icon_id:"872548",name:"支付宝",font_class:"icon34",unicode:"e62b",unicode_decimal:58923},{icon_id:"3968583",name:"银行卡",font_class:"yinhangqia",unicode:"e72c",unicode_decimal:59180},{icon_id:"7563430",name:"已退款",font_class:"yituikuan",unicode:"e6fd",unicode_decimal:59133},{icon_id:"7563431",name:"退款中",font_class:"tuikuanzhong",unicode:"e6fe",unicode_decimal:59134},{icon_id:"1780995",name:"搜索",font_class:"sousuo2",unicode:"e757",unicode_decimal:59223},{icon_id:"3355930",name:"菜单",font_class:"caidan",unicode:"e62a",unicode_decimal:58922},{icon_id:"1207404",name:"拍照",font_class:"icon25201",unicode:"e70d",unicode_decimal:59149},{icon_id:"7563348",name:"实体星",font_class:"shitixing",unicode:"e6fb",unicode_decimal:59131},{icon_id:"7563349",name:"空心星",font_class:"kongxinxing",unicode:"e6fc",unicode_decimal:59132},{icon_id:"7563099",name:"拼团成功",font_class:"pintuanchenggong",unicode:"e6f9",unicode_decimal:59129},{icon_id:"7563100",name:"拼团失败",font_class:"pintuanshibai",unicode:"e6fa",unicode_decimal:59130},{icon_id:"5452215",name:"喇叭",font_class:"laba",unicode:"e612",unicode_decimal:58898},{icon_id:"464461",name:"笑脸",font_class:"xiaolian",unicode:"e60f",unicode_decimal:58895},{icon_id:"7193264",name:"砍价",font_class:"kanjia",unicode:"e69b",unicode_decimal:59035},{icon_id:"3790017",name:"说明",font_class:"shuoming",unicode:"e630",unicode_decimal:58928},{icon_id:"7562923",name:"明细",font_class:"mingxi",unicode:"e6f7",unicode_decimal:59127},{icon_id:"7562924",name:"提升分值",font_class:"tishengfenzhi",unicode:"e6f8",unicode_decimal:59128},{icon_id:"3034678",name:"关闭",font_class:"guanbi2",unicode:"e61c",unicode_decimal:58908},{icon_id:"689324",name:"圆点小",font_class:"yuandianxiao",unicode:"e82f",unicode_decimal:59439},{icon_id:"1090230",name:"点选",font_class:"webicon318",unicode:"e6c2",unicode_decimal:59074},{icon_id:"5174616",name:"添加地址",font_class:"tianjiadizhi",unicode:"e640",unicode_decimal:58944},{icon_id:"7474826",name:"删 除",font_class:"shanchu",unicode:"e628",unicode_decimal:58920},{icon_id:"5236609",name:"微信",font_class:"weixin2",unicode:"e604",unicode_decimal:58884},{icon_id:"7561200",name:"¥",font_class:"icon-test",unicode:"e6f6",unicode_decimal:59126},{icon_id:"7560838",name:"关 闭",font_class:"guanbi1",unicode:"e6f5",unicode_decimal:59125},{icon_id:"3416446",name:"收 藏",font_class:"shoucang",unicode:"e606",unicode_decimal:58886},{icon_id:"6265459",name:"客服",font_class:"kefu",unicode:"e6b2",unicode_decimal:59058},{icon_id:"7560557",name:"边框001",font_class:"biankuang",unicode:"e6f4",unicode_decimal:59124},{icon_id:"7559551",name:"装饰线",font_class:"zhuangshixian",unicode:"e6f1",unicode_decimal:59121},{icon_id:"7559552",name:"技术支持",font_class:"jishuzhichi",unicode:"e6f3",unicode_decimal:59123},{icon_id:"7559350",name:"选中001",font_class:"xuanzhong1",unicode:"e6ef",unicode_decimal:59119},{icon_id:"7559357",name:"未选中001",font_class:"weixuanzhong",unicode:"e6f0",unicode_decimal:59120},{icon_id:"7560940",name:"向右",font_class:"xiangshang",unicode:"ebbb",unicode_decimal:60347},{icon_id:"7467481",name:"向右",font_class:"xiangxia",unicode:"e8ca",unicode_decimal:59594},{icon_id:"1518998",name:"促销管理",font_class:"cuxiaoguanli",unicode:"e60e",unicode_decimal:58894},{icon_id:"6636378",name:"删 除",font_class:"shanchu1",unicode:"e611",unicode_decimal:58897},{icon_id:"1727266",name:"05采购-线性",font_class:"caigou-xianxing",unicode:"e887",unicode_decimal:59527},{icon_id:"1727267",name:"05采购",font_class:"caigou",unicode:"e888",unicode_decimal:59528},{icon_id:"1727371",name:"30应用程序-线性",font_class:"yingyongchengxu-xianxing",unicode:"e8a1",unicode_decimal:59553},{icon_id:"1727372",name:"30应用程序",font_class:"yingyongchengxu",unicode:"e8a2",unicode_decimal:59554},{icon_id:"1727423",name:"204首页",font_class:"shouye",unicode:"e8b9",unicode_decimal:59577},{icon_id:"1727424",name:"204首页-线性",font_class:"shouye-xianxing",unicode:"e8ba",unicode_decimal:59578},{icon_id:"1727458",name:"224用户-线性",font_class:"yonghu-xianxing",unicode:"e8c8",unicode_decimal:59592},{icon_id:"1727459",name:"224用户",font_class:"yonghu",unicode:"e8c9",unicode_decimal:59593},{icon_id:"3054938",name:"搜索",font_class:"sousuo",unicode:"e67d",unicode_decimal:59005},{icon_id:"4018497",name:"搜索01",font_class:"sousuo1",unicode:"e64c",unicode_decimal:58956},{icon_id:"5387815",name:"客服_o",font_class:"kefu_o",unicode:"eb63",unicode_decimal:60259},{icon_id:"5387821",name:"礼物_o",font_class:"liwu_o",unicode:"eb65",unicode_decimal:60261},{icon_id:"5387958",name:"货币流_o",font_class:"huobiliu_o",unicode:"eb9f",unicode_decimal:60319},{icon_id:"5387967",name:"金币_o",font_class:"jinbi_o",unicode:"eba1",unicode_decimal:60321},{icon_id:"5387990",name:"个人头像_o",font_class:"gerentouxiang_o",unicode:"ebac",unicode_decimal:60332},{icon_id:"5387992",name:"群组_o",font_class:"qunzu_o",unicode:"ebad",unicode_decimal:60333},{icon_id:"5387995",name:"收藏_o",font_class:"shoucang_o",unicode:"ebae",unicode_decimal:60334},{icon_id:"5388026",name:"地点定位_o",font_class:"didiandingwei_o",unicode:"ebba",unicode_decimal:60346},{icon_id:"2551763",name:"向右",font_class:"xiangyou",unicode:"e679",unicode_decimal:59001},{icon_id:"160836",name:"精品推荐",font_class:"jingpintuijian",unicode:"e60d",unicode_decimal:58893},{icon_id:"2121745",name:"新品",font_class:"xinpin",unicode:"e610",unicode_decimal:58896},{icon_id:"2562049",name:"热门",font_class:"remen",unicode:"e67c",unicode_decimal:59004},{icon_id:"7583837",name:"向右",font_class:"xiangzuo",unicode:"ebbc",unicode_decimal:60348},{icon_id:"1727598",name:"411地图",font_class:"ditu",unicode:"e906",unicode_decimal:59654},{icon_id:"3584611",name:"关 闭",font_class:"guanbi",unicode:"e62f",unicode_decimal:58927},{icon_id:"2808105",name:"浏览",font_class:"liulan",unicode:"e629",unicode_decimal:58921},{icon_id:"6450775",name:"审核中",font_class:"shenhezhong",unicode:"e6ce",unicode_decimal:59086},{icon_id:"4432686",name:"充值",font_class:"chongzhi",unicode:"e602",unicode_decimal:58882},{icon_id:"1141383",name:"关闭",font_class:"iconfontguanbi",unicode:"e643",unicode_decimal:58947},{icon_id:"5441298",name:"折扣",font_class:"zhekou",unicode:"e790",unicode_decimal:59280},{icon_id:"4943660",name:"对号",font_class:"duihao2",unicode:"e601",unicode_decimal:58881},{icon_id:"4018775",name:"对号01",font_class:"duihao",unicode:"e64e",unicode_decimal:58958},{icon_id:"6155492",name:"经验值",font_class:"jingyanzhi",unicode:"e62e",unicode_decimal:58926},{icon_id:"1983323",name:"物流",font_class:"wuliu",unicode:"e6f2",unicode_decimal:59122},{icon_id:"10717369",name:"拼团",font_class:"pintuan-copy",unicode:"ebbf",unicode_decimal:60351},{icon_id:"2182776",name:"箭头",font_class:"arrow",unicode:"e627",unicode_decimal:58919},{icon_id:"7246995",name:"拼团",font_class:"pintuan",unicode:"e60c",unicode_decimal:58892},{icon_id:"7341104",name:"优惠券",font_class:"youhuiquan",unicode:"e6e4",unicode_decimal:59108},{icon_id:"2762614",name:"购物车",font_class:"gouwuche1",unicode:"e642",unicode_decimal:58946},{icon_id:"3845489",name:"排列2",font_class:"pailie",unicode:"e61b",unicode_decimal:58907},{icon_id:"4182111",name:"图片排列",font_class:"tupianpailie",unicode:"e620",unicode_decimal:58912},{icon_id:"720963",name:"搜索",font_class:"xiazai5",unicode:"e605",unicode_decimal:58885},{icon_id:"5110066",name:"微信",font_class:"weixin1",unicode:"e66e",unicode_decimal:58990},{icon_id:"5258701",name:"购物车",font_class:"gouwuche",unicode:"e669",unicode_decimal:58985},{icon_id:"7133397",name:"图标_设备列表轮播图右键头",font_class:"jiantou",unicode:"e641",unicode_decimal:58945},{icon_id:"1671897",name:"会员",font_class:"huiyuan",unicode:"e60b",unicode_decimal:58891},{icon_id:"2051400",name:"选中",font_class:"xuanzhong",unicode:"e615",unicode_decimal:58901},{icon_id:"5087448",name:"选中",font_class:"complete",unicode:"e646",unicode_decimal:58950},{icon_id:"6091393",name:"下 拉",font_class:"xiala1",unicode:"e609",unicode_decimal:58889},{icon_id:"1852350",name:"地址",font_class:"dizhi",unicode:"e608",unicode_decimal:58888},{icon_id:"3131690",name:"微信",font_class:"weixin",unicode:"e600",unicode_decimal:58880},{icon_id:"3931371",name:"分享",font_class:"fenxiang",unicode:"e603",unicode_decimal:58883},{icon_id:"2351436",name:"编辑",font_class:"bianji",unicode:"e6cc",unicode_decimal:59084},{icon_id:"1857286",name:"皇冠2",font_class:"huangguan",unicode:"e624",unicode_decimal:58916},{icon_id:"1857287",name:"皇冠3",font_class:"huangguan1",unicode:"e625",unicode_decimal:58917},{icon_id:"1857288",name:"皇冠",font_class:"huangguan2",unicode:"e626",unicode_decimal:58918}],Hl={css_prefix_text:xw,glyphs:Iw},Uw={class:"icon-selector"},Fw={class:"search-box"},Ew={class:"icon-list"},Sw=["onClick"],Lw={class:"icon-box"},Nw={class:"icon-name"},kw=Object.assign({name:"c_icon_select"},{__name:"c_icon_select",emits:["select"],setup(t,{expose:n,emit:A}){const e=A,o=v(!1),i=v(""),m=v([]),a=v("icon-");m.value=Hl.glyphs||[],a.value=Hl.css_prefix_text;const d=pe(()=>{if(!i.value)return m.value;const f=i.value.toLowerCase();return m.value.filter(g=>g.name.toLowerCase().includes(f)||g.font_class.toLowerCase().includes(f))});function r(){o.value=!0}function c(f){e("select",a.value+f.font_class),o.value=!1}return n({show:r}),(f,g)=>{const p=X("el-input"),b=X("el-dialog");return s(),ce(b,{modelValue:o.value,"onUpdate:modelValue":g[1]||(g[1]=_=>o.value=_),width:"800px",title:"选择图标","append-to-body":""},{default:P(()=>[l("div",Uw,[l("div",Fw,[L(p,{modelValue:i.value,"onUpdate:modelValue":g[0]||(g[0]=_=>i.value=_),placeholder:"搜索图标名称","prefix-icon":"el-icon-search",clearable:""},null,8,["modelValue"])]),l("div",Ew,[(s(!0),u(q,null,ae(d.value,(_,B)=>(s(),u("div",{class:"icon-item",key:B,onClick:y=>c(_)},[l("div",Lw,[l("span",{class:ue(["mb-iconfont",a.value+_.font_class])},null,2)]),l("div",Nw,$(_.name),1)],8,Sw))),128))])])]),_:1},8,["modelValue"])}}}),Vw=fe(kw,[["__scopeId","data-v-d43b841b"]]),Cl=Object.freeze(Object.defineProperty({__proto__:null,default:Vw},Symbol.toStringTag,{value:"Module"})),Ow={key:0,class:"icon-style-config"},Dw={key:0,class:"config-item"},Hw={class:"item-label"},Tw={class:"color-box"},jw={key:1,class:"config-item"},Rw={class:"item-label"},Mw={class:"slider-box"},Kw={key:2,class:"config-item"},Pw={class:"item-label"},Gw={class:"radio-box"},zw={key:3,class:"config-item"},Jw={class:"item-label"},Yw={class:"slider-box"},Xw={key:4,class:"config-item"},Ww={class:"item-label"},$w={class:"slider-box"},Zw={key:5,class:"config-item"},qw={class:"item-label"},eQ=Object.assign({name:"c_icon_style"},{__name:"c_icon_style",props:{configObj:{type:Object},configNme:{type:String}},setup(t){const n=t,A=v(null);return M(()=>n.configObj,e=>{A.value=e[n.configNme]},{deep:!0,immediate:!0}),Ce(()=>{ve(()=>{n.configObj&&(A.value=n.configObj[n.configNme])})}),(e,o)=>{const i=X("el-color-picker"),m=X("el-input"),a=X("el-radio-button"),d=X("el-radio-group"),r=X("el-radio");return A.value?(s(),u("div",Ow,[A.value.color?(s(),u("div",Dw,[l("span",Hw,$(A.value.color.title),1),l("div",Tw,[L(i,{modelValue:A.value.color.color[0].item,"onUpdate:modelValue":o[0]||(o[0]=c=>A.value.color.color[0].item=c)},null,8,["modelValue"]),L(m,{class:"input",modelValue:A.value.color.color[0].item,"onUpdate:modelValue":o[1]||(o[1]=c=>A.value.color.color[0].item=c)},null,8,["modelValue"]),l("span",{class:"reset",onClick:o[2]||(o[2]=c=>A.value.color.color[0].item=A.value.color.default[0].item)},"重置")])])):O("",!0),A.value.size?(s(),u("div",jw,[l("span",Rw,$(A.value.size.title),1),l("div",Mw,[L(dt,{modelValue:A.value.size.val,"onUpdate:modelValue":o[3]||(o[3]=c=>A.value.size.val=c),"show-input":"",min:A.value.size.min,max:A.value.size.max},null,8,["modelValue","min","max"])])])):O("",!0),A.value.position?(s(),u("div",Kw,[l("span",Pw,$(A.value.position.title),1),l("div",Gw,[L(d,{modelValue:A.value.position.tabVal,"onUpdate:modelValue":o[4]||(o[4]=c=>A.value.position.tabVal=c)},{default:P(()=>[(s(!0),u(q,null,ae(A.value.position.tabList,(c,f)=>(s(),ce(a,{key:f,label:f,value:f},{default:P(()=>[l("span",{class:ue(["iconfont",c.icon])},null,2)]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])])])):O("",!0),A.value.padding?(s(),u("div",zw,[l("span",Jw,$(A.value.padding.title),1),l("div",Yw,[L(dt,{modelValue:A.value.padding.val,"onUpdate:modelValue":o[5]||(o[5]=c=>A.value.padding.val=c),"show-input":"",min:A.value.padding.min,max:A.value.padding.max},null,8,["modelValue","min","max"])])])):O("",!0),A.value.rotate?(s(),u("div",Xw,[l("span",Ww,$(A.value.rotate.title),1),l("div",$w,[L(dt,{modelValue:A.value.rotate.val,"onUpdate:modelValue":o[6]||(o[6]=c=>A.value.rotate.val=c),"show-input":"",min:A.value.rotate.min,max:A.value.rotate.max},null,8,["modelValue","min","max"])])])):O("",!0),A.value.shadow?(s(),u("div",Zw,[l("span",qw,$(A.value.shadow.title),1),L(d,{modelValue:A.value.shadow.tabVal,"onUpdate:modelValue":o[7]||(o[7]=c=>A.value.shadow.tabVal=c)},{default:P(()=>[(s(!0),u(q,null,ae(A.value.shadow.tabList,(c,f)=>(s(),ce(r,{label:c.val,value:c.val,key:f},{default:P(()=>[se($(c.name),1)]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])])):O("",!0)])):O("",!0)}}}),tQ=fe(eQ,[["__scopeId","data-v-fdd489d6"]]),oQ=Object.freeze(Object.defineProperty({__proto__:null,default:tQ},Symbol.toStringTag,{value:"Module"})),AQ={key:0,class:"mobile-config-component"},nQ={class:"title-bar"},lQ={class:"box-content"},iQ={class:"box-item"},aQ={class:"input-box"},sQ={key:0,class:"box-item"},cQ={class:"input-box"},rQ=Object.assign({name:"c_indicator_settings"},{__name:"c_indicator_settings",props:{configObj:{type:Object},configNme:{type:String}},setup(t){const n=t,A=v({});return M(()=>n.configObj,e=>{A.value=e[n.configNme]},{deep:!0,immediate:!0}),(e,o)=>{const i=X("el-radio"),m=X("el-radio-group");return A.value?(s(),u("div",AQ,[l("div",nQ,$(A.value.title),1),l("div",lQ,[l("div",iQ,[o[2]||(o[2]=l("span",{class:"label"},"指示器样式",-1)),l("div",aQ,[L(m,{modelValue:A.value.tabVal,"onUpdate:modelValue":o[0]||(o[0]=a=>A.value.tabVal=a)},{default:P(()=>[(s(!0),u(q,null,ae(A.value.tabList,(a,d)=>(s(),ce(i,{label:d,value:d,key:d},{default:P(()=>[se($(a.name),1)]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])])]),A.value.tabVal!==0?(s(),u("div",sQ,[o[3]||(o[3]=l("span",{class:"label"},"指示器位置",-1)),l("div",cQ,[L(m,{modelValue:A.value.positionVal,"onUpdate:modelValue":o[1]||(o[1]=a=>A.value.positionVal=a)},{default:P(()=>[(s(!0),u(q,null,ae(A.value.positionList,(a,d)=>(s(),ce(i,{label:d,value:d,key:d},{default:P(()=>[se($(a.name),1)]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])])])):O("",!0),L(de(qe),{configObj:A.value,configNme:"selectColor"},null,8,["configObj"]),L(de(qe),{configObj:A.value,configNme:"defaultColor"},null,8,["configObj"])])])):O("",!0)}}}),uQ=fe(rQ,[["__scopeId","data-v-92845993"]]),dQ=Object.freeze(Object.defineProperty({__proto__:null,default:uQ},Symbol.toStringTag,{value:"Module"})),mQ=Object.assign({name:"c_input_item"},{__name:"c_input_item",props:{configObj:{type:Object},configNme:{type:String}},setup(t){const n=t,A=v(null),e=v({}),o=v({});M(()=>n.configObj,a=>{e.value=a,o.value=a[n.configNme]},{immediate:!0,deep:!0});function i(a){o.value.value=a}function m(a){a.title!="链接"&&a.title!="按钮链接"&&a.type!="link"||(A.value.modals=!0)}return(a,d)=>{const r=X("el-col"),c=X("el-input");return o.value?(s(),u("div",{key:0,class:ue(["box",o.value.type=="form"?"":"on3"])},[l("div",{class:ue(["c_row-item",{on:o.value.type=="form",on2:o.value.type=="ranges"}])},[L(r,{class:"label",span:o.value.type=="ranges"?"":4},{default:P(()=>[se($(o.value.title),1)]),_:1},8,["span"]),L(r,{span:o.value.type=="ranges"?24:o.value.type=="form"?19:18,class:"slider-box"},{default:P(()=>[L(c,{modelValue:o.value.value,"onUpdate:modelValue":d[1]||(d[1]=f=>o.value.value=f),placeholder:o.value.place,maxlength:o.value.max},{suffix:P(()=>[o.value.title=="链接"||o.value.title=="按钮链接"?(s(),u("i",{key:0,class:"el-icon-link",onClick:d[0]||(d[0]=f=>m(o.value))})):O("",!0)]),_:1},8,["modelValue","placeholder","maxlength"])]),_:1},8,["span"])],2),o.value.type!="form"&&(o.value.title=="链接"||o.value.type=="link")?(s(),ce(de(Ft),{key:0,ref_key:"linkaddres",ref:A,onLinkUrl:i},null,512)):O("",!0)],2)):O("",!0)}}}),gQ=fe(mQ,[["__scopeId","data-v-5a6251df"]]),fQ=Object.freeze(Object.defineProperty({__proto__:null,default:gQ},Symbol.toStringTag,{value:"Module"})),vQ={class:"c_row-item"},pQ={class:"acea-row row-middle"},CQ=Object.assign({name:"c_input_number"},{__name:"c_input_number",props:{configObj:{type:Object},configNme:{type:String}},emits:["getConfig"],setup(t,{emit:n}){const A=t,e=n,o=v({}),i=v({});M(()=>A.configObj,a=>{o.value=a,i.value=a[A.configNme]},{immediate:!0,deep:!0});function m(){e("getConfig",{name:"number",numVal:i.value.val})}return(a,d)=>{const r=X("el-col"),c=X("el-input-number");return i.value?(s(),u("div",{key:0,class:ue(["numbox",i.value.type=="form"?"on":i.value.type=="words"?"on2":""])},[l("div",vQ,[L(r,{class:"label",span:4},{default:P(()=>[l("span",null,$(i.value.title||"商品数量"),1)]),_:1}),L(r,{span:i.value.type=="form"?19:18,class:"slider-box"},{default:P(()=>[l("div",pQ,[L(c,{modelValue:i.value.val,"onUpdate:modelValue":d[0]||(d[0]=f=>i.value.val=f),placeholder:i.value.placeholder,step:1,max:i.value.max||100,min:i.value.min||1,onChange:m,style:{width:"100%"}},null,8,["modelValue","placeholder","max","min"])])]),_:1},8,["span"])])],2)):O("",!0)}}}),_Q=fe(CQ,[["__scopeId","data-v-31eadcfd"]]),bQ=Object.freeze(Object.defineProperty({__proto__:null,default:_Q},Symbol.toStringTag,{value:"Module"})),BQ={class:"c_row-item"},hQ=Object.assign({name:"c_is_show"},{__name:"c_is_show",props:{configObj:{type:Object},configNme:{type:String}},setup(t){const n=t,A=v({}),e=v({});return M(()=>n.configObj,o=>{A.value=o,e.value=o[n.configNme]},{immediate:!0,deep:!0}),(o,i)=>{const m=X("el-col"),a=X("el-switch");return s(),u("div",BQ,[L(m,{class:ue(["c_label",{on:e.value.type=="form",on2:e.value.type=="ranges"}]),span:e.value.type=="form"||e.value.type=="ranges"?4:""},{default:P(()=>[se($(e.value.title),1)]),_:1},8,["class","span"]),L(m,{span:e.value.type=="form"||e.value.type=="ranges"?19:""},{default:P(()=>[L(a,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:e.value.val,"onUpdate:modelValue":i[0]||(i[0]=d=>e.value.val=d),"active-text":"开启","inactive-text":"关闭"},null,8,["modelValue"])]),_:1},8,["span"])])}}}),yQ=fe(hQ,[["__scopeId","data-v-7448c161"]]),wQ=Object.freeze(Object.defineProperty({__proto__:null,default:yQ},Symbol.toStringTag,{value:"Module"})),QQ={class:"hot_imgs"},xQ={key:0,class:"title"},IQ={key:1,class:"type-switch",style:{"margin-bottom":"15px"}},UQ={class:"type-title"},FQ={key:2,class:"type-switch",style:{"margin-bottom":"15px"}},EQ={class:"list-box"},SQ={class:"item"},LQ=["onClick"],NQ=["onClick"],kQ=["src"],VQ={key:1,class:"upload-box"},OQ=["onClick"],DQ={key:0,class:"upload-box"},HQ={key:1,style:{width:"100%",height:"100%",display:"flex","align-items":"center","justify-content":"center",background:"#fff",border:"1px solid #eee","border-radius":"4px"}},TQ={class:"info"},jQ={class:"span"},RQ={class:"input-box"},MQ=["onClick"],KQ={key:0,class:"info-item"},PQ={key:0,class:"add-btn"},GQ=Object.assign({name:"c_menu_list"},{__name:"c_menu_list",props:{configObj:{type:Object},configNme:{type:String},index:{type:null},hideStatusSwitch:{type:Boolean,default:!1},emptyItemTemplate:{type:Object,default:null}},setup(t){const n=t,A=Gi(()=>qi(()=>Promise.resolve().then(()=>Cl),void 0)),e=v({}),o=v({}),i=v(!1),m=v("单选"),a=v({xl:4,lg:8,md:8,sm:8,xs:8}),d=v({xl:6,lg:8,md:12,sm:12,xs:12}),r=v(0),c=v(0),f=v({}),g=v(null),p=v(null);function b(F){return o.value.list.indexOf(F)}Ce(()=>{ve(()=>{e.value=n.configObj,o.value=n.configObj[n.configNme],o.value&&o.value.listStyle===void 0&&(o.value.listStyle=0)})}),M(()=>n.configObj,(F,x)=>{e.value=F,o.value=F[n.configNme],o.value&&o.value.listStyle===void 0&&(o.value.listStyle=0)},{deep:!0});function _(F){o.value.list[r.value].info[c.value].value=F,e.value.name=="pictureCube"&&(e.value.picStyle.picList[e.value.picStyle.tabVal].link=F)}function B(F,x,j){c.value=j.length-1,r.value=F,g.value.modals=!0}function y(){const x=o.value.list[o.value.list.length-1]||(f.value.info?f.value:n.emptyItemTemplate);if(!x)return;const j=JSON.parse(JSON.stringify(x));j.img="",j.type=0,j.icon="",Array.isArray(j.info)&&j.info.forEach(D=>{D.value=""}),o.value.list.push(j)}function Q(F,x){r.value=x,i.value=!0}function I(F){r.value=F,p.value.show()}function N(F){o.value.list[r.value].icon=F}function w(F){ve(()=>{o.value.list[r.value].img=F.att_dir;let x=e.value.menuConfig;x&&x.isCube&&e.value.picStyle.picList.splice(e.value.picStyle.tabVal,1,{image:F.att_dir,link:x.list[0].info[0].value}),i.value=!1})}function h(){let F=e.value.menuConfig;e.value.picStyle.picList[e.value.picStyle.tabVal].link=F.list[0].info[0].value}function E(F,x){o.value.list.length==1&&(f.value=JSON.parse(JSON.stringify(o.value.list[0]))),o.value.list.splice(x,1)}return(F,x)=>{const j=X("el-radio"),D=X("el-radio-group"),V=X("el-input"),S=X("el-switch"),k=X("el-dialog"),K=X("el-button");return s(),u("div",QQ,[o.value.title?(s(),u("div",xQ,$(o.value.title),1)):O("",!0),(e.value.name=="menus"||e.value.name=="member"||t.configNme=="menuConfig"||t.configNme=="shortcutConfig")&&t.configNme!="assetConfig"?(s(),u("div",IQ,[l("div",UQ,$(o.value.listStyleName||"图文内容"),1),o.value.listStyle!=-1?(s(),ce(D,{key:0,modelValue:o.value.listStyle,"onUpdate:modelValue":x[0]||(x[0]=J=>o.value.listStyle=J)},{default:P(()=>[L(j,{label:0,value:0},{default:P(()=>[...x[3]||(x[3]=[se("图片",-1)])]),_:1}),L(j,{label:1,value:1},{default:P(()=>[...x[4]||(x[4]=[se("图标",-1)])]),_:1})]),_:1},8,["modelValue"])):O("",!0)])):O("",!0),t.configNme=="assetConfig"?(s(),u("div",FQ,[L(D,{modelValue:o.value.listStyle,"onUpdate:modelValue":x[1]||(x[1]=J=>o.value.listStyle=J)},{default:P(()=>[o.value.assetMode==0?(s(),ce(j,{key:0,label:2,value:2},{default:P(()=>[...x[5]||(x[5]=[se("数字(上)",-1)])]),_:1})):O("",!0),o.value.assetMode==0?(s(),ce(j,{key:1,label:3,value:3},{default:P(()=>[...x[6]||(x[6]=[se("数字(左)",-1)])]),_:1})):O("",!0),L(j,{label:0,value:0},{default:P(()=>[...x[7]||(x[7]=[se("图片",-1)])]),_:1}),L(j,{label:1,value:1},{default:P(()=>[...x[8]||(x[8]=[se("图标",-1)])]),_:1})]),_:1},8,["modelValue"])])):O("",!0),l("div",EQ,[L(de(mt),{class:"dragArea list-group",list:o.value.list,group:"peoples",handle:".move-icon","item-key":b},{item:P(({element:J,index:ee})=>[l("div",SQ,[o.value.isCube?O("",!0):(s(),u("div",{key:0,class:"delect-btn",onClick:Re(T=>E(J,ee),["stop"])},[...x[9]||(x[9]=[l("span",{class:"iconfont icondel_1"},null,-1)])],8,LQ)),x[13]||(x[13]=l("div",{class:"move-icon"},[l("span",{class:"iconfont iconxingzhuangjiehe"})],-1)),o.value.listStyle==0||o.value.listStyle==-1?(s(),u("div",{key:1,class:"img-box",onClick:T=>Q("单选",ee)},[J.img?(s(),u("img",{key:0,src:J.img,alt:""},null,8,kQ)):(s(),u("div",VQ,[...x[10]||(x[10]=[l("i",{class:"el-icon-plus"},null,-1)])]))],8,NQ)):o.value.listStyle==1?(s(),u("div",{key:2,class:"img-box",onClick:T=>I(ee)},[J.icon?(s(),u("div",HQ,[l("span",{class:ue(["mb-iconfont",J.icon]),style:{"font-size":"30px",color:"#666"}},null,2)])):(s(),u("div",DQ,[...x[11]||(x[11]=[l("i",{class:"el-icon-plus"},null,-1)])]))],8,OQ)):O("",!0),l("div",TQ,[(s(!0),u(q,null,ae(J.info,(T,H)=>(s(),u("div",{class:"info-item",key:H},[l("span",jQ,$(T.title),1),l("div",RQ,[L(V,{modelValue:T.value,"onUpdate:modelValue":R=>T.value=R,placeholder:T.tips,maxlength:T.max},{suffix:P(()=>[T.title=="链接"?(s(),u("i",{key:0,class:"el-icon-link",onBlur:h,onClick:R=>B(ee,H,J.info)},null,40,MQ)):O("",!0)]),_:2},1032,["modelValue","onUpdate:modelValue","placeholder","maxlength"])])]))),128)),o.value.type&&!t.hideStatusSwitch?(s(),u("div",KQ,[x[12]||(x[12]=l("span",{class:"span"},"状态",-1)),L(S,{modelValue:J.show,"onUpdate:modelValue":T=>J.show=T},null,8,["modelValue","onUpdate:modelValue"])])):O("",!0)])])]),_:1},8,["list"]),l("div",null,[L(k,{modelValue:i.value,"onUpdate:modelValue":x[2]||(x[2]=J=>i.value=J),width:"960px",title:"上传图片"},{default:P(()=>[i.value?(s(),ce(de(Nt),{key:0,isChoice:m.value,onGetPic:w,gridBtn:a.value,gridPic:d.value},null,8,["isChoice","gridBtn","gridPic"])):O("",!0)]),_:1},8,["modelValue"])])]),o.value.list?(s(),u(q,{key:3},[o.value.list.length[x[14]||(x[14]=l("span",{class:"iconfont iconjiahao"},null,-1)),se($(o.value.bnt),1)]),_:1})])):O("",!0)],64)):O("",!0),L(de(Ft),{ref_key:"linkaddres",ref:g,onLinkUrl:_},null,512),L(de(A),{ref_key:"iconSelect",ref:p,onSelect:N},null,512)])}}}),zQ=fe(GQ,[["__scopeId","data-v-4eeda2f2"]]),JQ=Object.freeze(Object.defineProperty({__proto__:null,default:zQ},Symbol.toStringTag,{value:"Module"})),YQ={class:"prompt-text"},XQ={class:"prompt-item num"},WQ={class:"area-set"},$Q={class:"area-content"},ZQ={class:"dialog-footer"},qQ=Object.assign({name:"AreaBox"},{__name:"AreaBox",props:{areaInit:{type:Object,default:()=>{}},areaDataIndex:{type:Number,default:null},link:{type:String,default:""},title:{type:String,default:""},type:{type:Number,default:-1},parentWidth:{type:Number,default:0},parentHeight:{type:Number,default:0}},emits:["delAreaBox","addURL"],setup(t,{emit:n}){const A=n,e=t,o=v(""),i=v(""),m=v(!1);let a=0,d=0,r=0,c=0;const f=v(null),g=pe(()=>!!e.link);M(()=>e.title,N=>{o.value=N}),M(()=>e.link,N=>{i.value=N}),Ce(()=>{i.value=e.link});function p(){A("delAreaBox",e.areaDataIndex)}function b(){i.value?(A("addURL",e.areaDataIndex,i.value),m.value=!1):Ve.error("请输入链接")}function _(N){N.preventDefault(),a=N.clientX,d=N.clientY;const w=N.target||N;let h=w.getBoundingClientRect().width,E=w.getBoundingClientRect().height;if(!document.onmousemove){const F=e.areaInit.starX,x=e.areaInit.starY;document.onmousemove=j=>{let D=F+j.clientX-a,V=x+j.clientY-d;D=D<=0?0:D,V=V<=0?0:V;let S=D+h,k=V+E;S>=e.parentWidth&&(D=e.parentWidth-h),k>=e.parentHeight&&(V=e.parentHeight-E),e.areaInit.starX=D,e.areaInit.starY=V}}}function B(){document.onmousemove=null}function y(N){if(N.preventDefault(),r=N.clientX,c=N.clientY,!document.onmousemove){const w=e.areaInit.areaWidth,h=e.areaInit.areaHeight;document.onmousemove=E=>{e.areaInit.areaWidth=w+E.clientX-r,e.areaInit.areaHeight=h+E.clientY-c}}}function Q(){f.value.modals=!0}function I(N){i.value=N}return(N,w)=>{const h=X("el-input"),E=X("el-button"),F=X("el-dialog");return s(),u("div",{style:U({width:t.areaInit.areaWidth+"px",height:t.areaInit.areaHeight+"px",left:t.areaInit.starX+"px",top:t.areaInit.starY+"px"}),class:"areaBox",onDblclick:w[7]||(w[7]=x=>m.value=!0),onMousedown:w[8]||(w[8]=Re(x=>_(x),["left","stop"])),onMouseup:w[9]||(w[9]=Re(x=>B(),["left","stop"]))},[l("div",YQ,[l("div",XQ,"热区 "+$(t.areaInit.number),1),l("div",{class:"prompt-item",style:U({color:g.value?"#2d8cf0":"#f00"})},$(g.value?"(已设置)":"(未设置)"),5)]),l("div",{class:"del",onClick:w[0]||(w[0]=Re(x=>p(),["stop"]))},[...w[10]||(w[10]=[l("i",{class:"el-icon-close",size:"16"},null,-1)])]),l("div",{class:"shape",onMousedown:w[1]||(w[1]=Re(x=>y(x),["left","stop"])),onMouseup:w[2]||(w[2]=Re(x=>B(),["left","stop"]))},null,32),l("div",null,[L(F,{modelValue:m.value,"onUpdate:modelValue":w[6]||(w[6]=x=>m.value=x),title:"设置热区",width:"560px","append-to-body":""},{footer:P(()=>[l("span",ZQ,[L(E,{onClick:w[5]||(w[5]=Re(x=>m.value=!1,["stop"]))},{default:P(()=>[...w[12]||(w[12]=[se("取 消",-1)])]),_:1}),L(E,{type:"primary",onClick:Re(b,["stop"])},{default:P(()=>[...w[13]||(w[13]=[se("确 定",-1)])]),_:1})])]),default:P(()=>[l("div",WQ,[w[11]||(w[11]=l("div",{class:"area-label"},"热区跳转链接:",-1)),l("div",$Q,[L(h,{modelValue:i.value,"onUpdate:modelValue":w[4]||(w[4]=x=>i.value=x),style:{width:"100%"},placeholder:"选择跳转链接"},{suffix:P(()=>[l("i",{class:"el-icon-link",onClick:w[3]||(w[3]=x=>Q())})]),_:1},8,["modelValue"])])])]),_:1},8,["modelValue"]),L(de(Ft),{ref_key:"linkaddres",ref:f,onLinkUrl:I},null,512)])],36)}}}),ex=fe(qQ,[["__scopeId","data-v-a0d60793"]]),tx={class:"operationFloor"},ox={ref:"container",id:"img-box-container",class:"container"},Ax=["src"],nx={class:"form"},lx={class:"form-item"},ix={class:"num"},ax={class:"form-item label"},sx=["onClick"],cx=["onClick"],_n=750,rx=Object.assign({name:"OperationFloor"},{__name:"index",props:{imgs:{type:String,default:()=>""},isHotPot:{type:Boolean,default:()=>!1},imgAreaData:{type:Array,default:()=>[]},linkInputStyle:{type:Object,default:()=>({width:"300px"})}},emits:["delAreaData","saveAreaData"],setup(t,{emit:n}){const A=n,e=t,o=v(!1),i=v(0),m=v(0),a=v(0),d=v(0),r=v(!1),c=v([]),f=v(1),g=v(0),p=v(0),b=v(0),_=v(null);M(()=>e.imgAreaData,x=>{c.value=[...x]}),Ce(()=>{c.value=[...e.imgAreaData]});function B(){ve(()=>{const x=document.querySelector("#img-box-container");g.value=_n,p.value=x.clientHeight})}function y(x){if(x.preventDefault(),r.value=!0,i.value=x.layerX-5,m.value=x.layerY-5,!document.onmousemove){let j=_n-x.layerX;document.onmousemove=D=>{D.layerX-i.value10&&d.value>10){const x={number:f.value,starX:i.value,starY:m.value,areaWidth:a.value,areaHeight:d.value,nowImgWidth:_n,link:""};c.value.push(x)}r.value=!1,i.value=0,m.value=0,a.value=0,d.value=0}function I(x){if(c.value.splice(x,1),A("delAreaData",c.value),c.value){const j=c.value.filter(D=>D.number>x);if(!j)return;j.forEach(D=>D.number--),c.value[c.value.length-1]?f.value=c.value[c.value.length-1].number+1:f.value=1}}function N(x,j){let D={...c.value[x],link:j};c.value[x]=D}function w(){if(c.value&&!c.value.length||!h(c.value)){Ve.error("热区是否配置链接、是否至少添加一个热区?");return}A("saveAreaData",c.value),o.value=!1,Ve.success("编辑成功!")}function h(x){let j=!0;return x.some(D=>{D.link||(j=!1)}),j}function E(x){b.value=x,_.value.modals=!0}function F(x){c.value[b.value].link=x}return(x,j)=>{const D=X("el-alert"),V=X("el-input"),S=X("el-button"),k=X("el-dialog");return s(),u("div",null,[L(k,{title:"编辑热区",modelValue:o.value,"onUpdate:modelValue":j[2]||(j[2]=K=>o.value=K),onOpened:B,fullscreen:""},{footer:P(()=>[l("div",null,[L(S,{class:"mr20",type:"primary",onClick:w},{default:P(()=>[...j[5]||(j[5]=[se(" 完成 ",-1)])]),_:1})])]),default:P(()=>[l("div",tx,[l("div",{class:"imgBox",onMouseup:j[1]||(j[1]=Re(K=>Q(),["left","stop"]))},[l("div",ox,[l("img",{ref:"backgroundImg",src:t.imgs,ondragstart:"return false;",oncontextmenu:"return false;",onselect:"document.selection.empty();",alt:"img",onMousedown:j[0]||(j[0]=Re(K=>y(K),["left","stop"]))},null,40,Ax),Ze(l("div",{style:U({width:a.value+"px",height:d.value+"px",left:i.value+"px",top:m.value+"px"}),class:"area"},null,4),[[ft,r.value]]),(s(!0),u(q,null,ae(c.value,(K,J)=>(s(),ce(de(ex),{key:"area"+J,"area-data-index":J,link:K.link,title:K.title,type:parseInt(K.type),"area-init":c.value[J],"parent-width":g.value,"parent-height":p.value,onDelAreaBox:I,onAddURL:N},null,8,["area-data-index","link","title","type","area-init","parent-width","parent-height"]))),128))],512)],32),l("div",nx,[j[4]||(j[4]=l("h2",{class:"mb20"},"图片热区",-1)),L(D,{type:"warning",closable:!1,"show-icon":""},{default:P(()=>[...j[3]||(j[3]=[se("框选热区范围,双击设置热区信息",-1)])]),_:1}),(s(!0),u(q,null,ae(c.value,(K,J)=>(s(),u("div",{key:J,class:"form-row"},[l("div",lx,[l("span",ix,"热区"+$(K.number),1)]),l("div",ax,[l("div",null,[L(V,{icon:"ios-arrow-forward",modelValue:K.link,"onUpdate:modelValue":ee=>K.link=ee,style:U(t.linkInputStyle),placeholder:"选择跳转链接"},{suffix:P(()=>[l("i",{class:"el-icon-link",onClick:ee=>E(J)},null,8,sx)]),_:2},1032,["modelValue","onUpdate:modelValue","style"])])]),l("i",{class:"el-icon-delete",onClick:ee=>I(J)},null,8,cx)]))),128))])])]),_:1},8,["modelValue"]),L(de(Ft),{ref_key:"linkaddres",ref:_,onLinkUrl:F},null,512)])}}}),ux=fe(rx,[["__scopeId","data-v-3d38180b"]]),dx={class:"onePictrue"},mx={class:"pictrues"},gx=["src"],fx={key:1,class:"emptyBox"},vx={class:"uploadImg"},px={class:"picTxt"},Cx={key:0,class:"pictrue acea-row row-center-wrapper"},_x=["src"],bx={key:1,class:"upload-box"},Bx={class:"tip"},hx=Object.assign({name:"c_one_pictrue"},{__name:"c_one_pictrue",props:{configObj:{type:Object},configNme:{type:String}},setup(t){const n=t,A=v(null),e=v({}),o=v({}),i=v({xl:4,lg:8,md:8,sm:8,xs:8}),m=v({xl:6,lg:8,md:12,sm:12,xs:12}),a=v(!1),d=v("单选"),r=v([]);M(()=>n.configObj,_=>{e.value=_,o.value=_.picStyle,r.value=_.picStyle.list},{deep:!0}),Ce(()=>{ve(()=>{e.value=n.configObj,o.value=n.configObj[n.configNme],r.value=n.configObj.picStyle.list})});function c(){o.value.url=""}function f(_){a.value=!0}function g(_){ve(()=>{o.value.url=_.att_dir,a.value=!1})}function p(){o.value.url&&(A.value.dialogVisible=!0)}function b(_){o.value.list=_}return(_,B)=>{const y=X("el-dialog");return s(),u("div",dx,[B[4]||(B[4]=l("div",{class:"tip"},"建议:请先选择图片,图片宽度750px,高度不限",-1)),l("div",mx,[o.value.url?(s(),u("img",{key:0,src:o.value.url},null,8,gx)):(s(),u("div",fx,"750*高度不限"))]),l("div",vx,[B[3]||(B[3]=l("div",{class:"name"},"图片",-1)),l("div",px,[l("div",{class:"box",onClick:B[0]||(B[0]=Q=>f())},[o.value.url?(s(),u("div",Cx,[l("img",{src:o.value.url,alt:""},null,8,_x),l("div",{class:"iconfont icondel_1",onClick:Re(c,["stop"])})])):(s(),u("div",bx,[...B[2]||(B[2]=[l("i",{class:"el-icon-plus"},null,-1)])]))]),l("div",Bx,$(o.value.info),1)])]),l("div",{class:"bnt",onClick:p},"+ 编辑热区"),l("div",null,[L(y,{modelValue:a.value,"onUpdate:modelValue":B[1]||(B[1]=Q=>a.value=Q),width:"960px",title:"上传图片"},{default:P(()=>[a.value?(s(),ce(de(Nt),{key:0,isChoice:d.value,onGetPic:g,gridBtn:i.value,gridPic:m.value},null,8,["isChoice","gridBtn","gridPic"])):O("",!0)]),_:1},8,["modelValue"]),L(de(ux),{ref_key:"hotpot",ref:A,imgs:o.value.url,"img-area-data":r.value,onDelAreaData:b,onSaveAreaData:b},null,8,["imgs","img-area-data"])])])}}}),yx=fe(hx,[["__scopeId","data-v-b558e63e"]]),wx=Object.freeze(Object.defineProperty({__proto__:null,default:yx},Symbol.toStringTag,{value:"Module"})),Qx={key:0,class:"box"},xx=Object.assign({name:"c_page_ueditor"},{__name:"c_page_ueditor",props:{configObj:{type:Object},configNme:{type:String}},setup(t){const n=t,A=v({}),e=v(void 0),o=v("");M(()=>n.configObj,(m,a)=>{A.value=m,e.value=m[n.configNme],a&&m.timestamp!=a.timestamp&&(o.value=e.value.val)},{immediate:!0,deep:!0}),dl(()=>{o.value=""});function i(m){e.value.val=m}return(m,a)=>e.value?(s(),u("div",Qx,[L(wc,{content:o.value,onEditorContent:i,style:{width:"100%",height:"60%"}},null,8,["content"])])):O("",!0)}}),Ix=fe(xx,[["__scopeId","data-v-03c6e342"]]),Ux=Object.freeze(Object.defineProperty({__proto__:null,default:Ix},Symbol.toStringTag,{value:"Module"})),Fx={class:"mobile-page"},Ex={key:0},Sx={class:"advert"},Lx=["onClick"],Nx=["src"],kx={key:1,class:"empty-box"},Vx={key:0,class:"advertItem02 acea-row"},Ox=["onClick"],Dx=["src"],Hx={key:1,class:"empty-box"},Tx={key:1,class:"advertItem03 acea-row"},jx=["onClick"],Rx=["src"],Mx={key:1,class:"empty-box"},Kx={key:2,class:"advertItem08"},Px={class:"item acea-row"},Gx=["src"],zx={key:1,class:"empty-box"},Jx=["src"],Yx={key:1,class:"empty-box"},Xx=["src"],Wx={key:1,class:"empty-box"},$x={key:3,class:"advertItem08"},Zx=["src"],qx={key:1,class:"empty-box"},e2={class:"item acea-row"},t2=["src"],o2={key:1,class:"empty-box"},A2=["src"],n2={key:1,class:"empty-box"},l2={key:4,class:"advertItem04 acea-row"},i2=["src"],a2={key:1,class:"empty-box"},s2={class:"item"},c2=["src"],r2={key:1,class:"empty-box"},u2=["src"],d2={key:1,class:"empty-box"},m2={key:5,class:"advertItem04 acea-row"},g2={class:"item"},f2=["src"],v2={key:1,class:"empty-box"},p2=["src"],C2={key:1,class:"empty-box"},_2=["src"],b2={key:1,class:"empty-box"},B2={key:6,class:"advertItem06 acea-row"},h2=["onClick"],y2=["src"],w2={key:1,class:"empty-box"},Q2={key:7,class:"advertItem08"},x2={class:"item acea-row"},I2=["src"],U2={key:1,class:"empty-box"},F2=["src"],E2={key:1,class:"empty-box"},S2={class:"items acea-row"},L2=["src"],N2={key:1,class:"empty-box"},k2=["src"],V2={key:1,class:"empty-box"},O2=["src"],D2={key:1,class:"empty-box"},H2={key:8,class:"advertItem04 acea-row"},T2=["src"],j2={key:1,class:"empty-box"},R2={class:"item"},M2=["src"],K2={key:1,class:"empty-box"},P2={class:"pic acea-row"},G2=["src"],z2={key:1,class:"empty-box"},J2=["src"],Y2={key:1,class:"empty-box"},X2={key:0,class:"advertItem01 acea-row"},W2=["src"],$2={key:1,class:"empty-box"},Z2=["src"],q2={key:1,class:"empty-box"},eI=["onClick"],tI=["src"],oI={key:1,class:"prompt-text"},AI=["onClick"],nI=Object.assign({name:"c_pictrue"},{__name:"c_pictrue",props:{configObj:{type:Object},configNme:{type:String}},emits:["delAreaBox"],setup(t,{emit:n}){const A=t,e=v({}),o=v({}),i=v(0),m=v(!1),a=v(0),d={image:"",link:""};let r=!1,c=null,f=null,g=0,p=0,b=0,_=0,B=0;const y=v(0),Q=pe(()=>A.configObj&&A.configObj.picStyle?A.configObj.picStyle.docPicList:[]);Ce(()=>{ve(()=>{e.value=A.configObj,A.configObj.hasOwnProperty("timestamp")?m.value=!0:m.value=!1,o.value=A.configObj[A.configNme],i.value=A.configObj.styleConfig.tabVal,B=e.value.styleConfig.count,N(B),i.value==11&&(c=document.getElementsByClassName("lay-item")),I(0,o.value)})}),M(()=>A.configObj,V=>{e.value=V,o.value=V[A.configNme],i.value=V.styleConfig.tabVal,m.value=!0},{deep:!0}),M(()=>{var V,S;return(S=(V=A.configObj)==null?void 0:V.styleConfig)==null?void 0:S.tabVal},()=>{var S;if(!o.value.picList)return;B=(S=e.value.styleConfig)==null?void 0:S.count,N(B),o.value.picList.splice(B),a.value=0;let V=e.value.menuConfig.list[0];o.value.picList[0]&&(V.img=o.value.picList[0].image,V.info[0].value=o.value.picList[0].link),c=document.getElementsByClassName("lay-item")},{deep:!0,immediate:!0}),M(()=>{var V,S;return(S=(V=A.configObj)==null?void 0:V.picStyle)==null?void 0:S.docPicList},()=>{var V,S;((S=(V=A.configObj)==null?void 0:V.styleConfig)==null?void 0:S.tabVal)==11&&A.configObj.picStyle.docPicList.map((k,K)=>{A.configObj.picStyle.docPicList[K].img=A.configObj.picStyle.picList[K].image,A.configObj.picStyle.docPicList[K].link=A.configObj.picStyle.picList[K].link})},{deep:!0,immediate:!0});function I(V,S){if(y.value=V,a.value=V,o.value.tabVal=V,e.value.menuConfig.isCube)if(o.value.tabVal!==11){let k=e.value.menuConfig.list[0];S.picList[V]&&S.picList[V].image?(k.img=S.picList[V].image,k.info[0].value=S.picList[V].link):(k.img="",k.info[0].value="")}else{y.value=V;let k=e.value.docPicList;S.menuConfig.picStyle.picList[V].image?(k[V].img=S.menuConfig.picStyle.picList[V].image,k[V].info[0].value=S.menuConfig.picStyle.docPicList[V].value):(k[0].img="",k[0].info[0].value="")}}function N(V){for(let S=o.value.picList.length;Sf.offsetTop&&f.offsetLeft+f.offsetWidth>c[k].offsetLeft&&f.offsetTop+f.offsetHeight>c[k].offsetTop?c[k].className.indexOf("seled")==-1&&(V.push(c[k].offsetTop),S.push(c[k].offsetLeft)):c[k].className.indexOf("seled")!=-1&&(c[k].className="lay-item"),r=!1;return f&&document.getElementById("lay1").removeChild(f),{startX:x(S),startY:x(V),w:j(S)-x(S)+93.75,h:j(V)-x(V)+93.75}}function x(V){let S=V[0];for(let k=1;kS&&(S=V[k]);return S}function D(V){V.preventDefault(),r&&(r&&window.requestAnimationFrame(()=>{b=V.layerX-5,_=V.layerY-5,f.style.display=="none"&&(f.style.display=""),f.style.left=Math.min(b,g)+"px",f.style.top=Math.min(_,p)+"px",f.style.width=b-g+"px",f.style.height=_-p+"px"}),window.event.cancelBubble=!0,window.event.returnValue=!1)}return(V,S)=>(s(),u("div",Fx,[m.value?(s(),u("div",Ex,[l("div",Sx,[(s(!0),u(q,null,ae(o.value.picList,(k,K)=>(s(),u(q,{key:K},[i.value===0?(s(),u("div",{key:0,class:ue(["advertItem07",a.value===K?"on":""]),onClick:J=>I(K,o.value)},[k.image?(s(),u("img",{key:0,src:k.image},null,8,Nx)):(s(),u("div",kx,"750*375"))],10,Lx)):O("",!0)],64))),128)),i.value===1?(s(),u("div",Vx,[(s(!0),u(q,null,ae(o.value.picList,(k,K)=>(s(),u("div",{class:ue(["item",a.value===K?"on":""]),onClick:J=>I(K,o.value),key:K},[k.image?(s(),u("img",{key:0,src:k.image},null,8,Dx)):(s(),u("div",Hx,[...S[21]||(S[21]=[l("div",null,[l("div",null,"375*750")],-1)])]))],10,Ox))),128))])):O("",!0),i.value===2?(s(),u("div",Tx,[(s(!0),u(q,null,ae(o.value.picList,(k,K)=>(s(),u("div",{class:ue(["item",a.value===K?"on":""]),onClick:J=>I(K,o.value),key:K},[k.image?(s(),u("img",{key:0,src:k.image},null,8,Rx)):(s(),u("div",Mx,[...S[22]||(S[22]=[l("div",null,[l("div",null,"250*750")],-1)])]))],10,jx))),128))])):O("",!0),i.value===3?(s(),u("div",Kx,[l("div",Px,[l("div",{class:ue(["pic",a.value===0?"on":""]),onClick:S[0]||(S[0]=k=>I(0,o.value))},[o.value.picList[0].image?(s(),u("img",{key:0,src:o.value.picList[0].image},null,8,Gx)):(s(),u("div",zx,"375*375"))],2),l("div",{class:ue(["pic",a.value===1?"on":""]),onClick:S[1]||(S[1]=k=>I(1,o.value))},[o.value.picList[1].image?(s(),u("img",{key:0,src:o.value.picList[1].image},null,8,Jx)):(s(),u("div",Yx,"375*375"))],2)]),l("div",{class:ue(["item",a.value===2?"on":""]),onClick:S[2]||(S[2]=k=>I(2,o.value))},[o.value.picList[2].image?(s(),u("img",{key:0,src:o.value.picList[2].image},null,8,Xx)):(s(),u("div",Wx,"750*375"))],2)])):O("",!0),i.value===4?(s(),u("div",$x,[l("div",{class:ue(["item",a.value===0?"on":""]),onClick:S[3]||(S[3]=k=>I(0,o.value))},[o.value.picList[0].image?(s(),u("img",{key:0,src:o.value.picList[0].image},null,8,Zx)):(s(),u("div",qx,"750*375"))],2),l("div",e2,[l("div",{class:ue(["pic",a.value===1?"on":""]),onClick:S[4]||(S[4]=k=>I(1,o.value))},[o.value.picList[1].image?(s(),u("img",{key:0,src:o.value.picList[1].image},null,8,t2)):(s(),u("div",o2,"375*375"))],2),l("div",{class:ue(["pic",a.value===2?"on":""]),onClick:S[5]||(S[5]=k=>I(2,o.value))},[o.value.picList[2].image?(s(),u("img",{key:0,src:o.value.picList[2].image},null,8,A2)):(s(),u("div",n2,"375*375"))],2)])])):O("",!0),i.value===5?(s(),u("div",l2,[l("div",{class:ue(["item",a.value===0?"on":""]),onClick:S[6]||(S[6]=k=>I(0,o.value))},[o.value.picList[0].image?(s(),u("img",{key:0,src:o.value.picList[0].image},null,8,i2)):(s(),u("div",a2,"375*750"))],2),l("div",s2,[l("div",{class:ue(["pic",a.value===1?"on":""]),onClick:S[7]||(S[7]=k=>I(1,o.value))},[o.value.picList[1].image?(s(),u("img",{key:0,src:o.value.picList[1].image},null,8,c2)):(s(),u("div",r2,"375*375"))],2),l("div",{class:ue(["pic",a.value===2?"on":""]),onClick:S[8]||(S[8]=k=>I(2,o.value))},[o.value.picList[2].image?(s(),u("img",{key:0,src:o.value.picList[2].image},null,8,u2)):(s(),u("div",d2,"375*375"))],2)])])):O("",!0),i.value===6?(s(),u("div",m2,[l("div",g2,[l("div",{class:ue(["pic",a.value===0?"on":""]),onClick:S[9]||(S[9]=k=>I(0,o.value))},[o.value.picList[0].image?(s(),u("img",{key:0,src:o.value.picList[0].image},null,8,f2)):(s(),u("div",v2,"375*375"))],2),l("div",{class:ue(["pic",a.value===1?"on":""]),onClick:S[10]||(S[10]=k=>I(1,o.value))},[o.value.picList[1].image?(s(),u("img",{key:0,src:o.value.picList[1].image},null,8,p2)):(s(),u("div",C2,"375*375"))],2)]),l("div",{class:ue(["item",a.value===2?"on":""]),onClick:S[11]||(S[11]=k=>I(2,o.value))},[o.value.picList[2].image?(s(),u("img",{key:0,src:o.value.picList[2].image},null,8,_2)):(s(),u("div",b2,"375*750"))],2)])):O("",!0),i.value===7?(s(),u("div",B2,[(s(!0),u(q,null,ae(o.value.picList,(k,K)=>(s(),u("div",{class:ue(["item",a.value===K?"on":""]),onClick:J=>I(K,o.value),key:K},[k.image?(s(),u("img",{key:0,src:k.image},null,8,y2)):(s(),u("div",w2,"375*375"))],10,h2))),128))])):O("",!0),i.value===8?(s(),u("div",Q2,[l("div",x2,[l("div",{class:ue(["pic",a.value===0?"on":""]),onClick:S[12]||(S[12]=k=>I(0,o.value))},[o.value.picList[0].image?(s(),u("img",{key:0,src:o.value.picList[0].image},null,8,I2)):(s(),u("div",U2,"375*375"))],2),l("div",{class:ue(["pic",a.value===1?"on":""]),onClick:S[13]||(S[13]=k=>I(1,o.value))},[o.value.picList[1].image?(s(),u("img",{key:0,src:o.value.picList[1].image},null,8,F2)):(s(),u("div",E2,"375*375"))],2)]),l("div",S2,[l("div",{class:ue(["pic",a.value===2?"on":""]),onClick:S[14]||(S[14]=k=>I(2,o.value))},[o.value.picList[2].image?(s(),u("img",{key:0,src:o.value.picList[2].image},null,8,L2)):(s(),u("div",N2,"250*375"))],2),l("div",{class:ue(["pic",a.value===3?"on":""]),onClick:S[15]||(S[15]=k=>I(3,o.value))},[o.value.picList[3].image?(s(),u("img",{key:0,src:o.value.picList[3].image},null,8,k2)):(s(),u("div",V2,"250*375"))],2),l("div",{class:ue(["pic",a.value===4?"on":""]),onClick:S[16]||(S[16]=k=>I(4,o.value))},[o.value.picList[4].image?(s(),u("img",{key:0,src:o.value.picList[4].image},null,8,O2)):(s(),u("div",D2,"250*375"))],2)])])):O("",!0),i.value===9?(s(),u("div",H2,[l("div",{class:ue(["item",a.value===0?"on":""]),onClick:S[17]||(S[17]=k=>I(0,o.value))},[o.value.picList[0].image?(s(),u("img",{key:0,src:o.value.picList[0].image},null,8,T2)):(s(),u("div",j2,"375*750"))],2),l("div",R2,[l("div",{class:ue(["pic",a.value===1?"on":""]),onClick:S[18]||(S[18]=k=>I(1,o.value))},[o.value.picList[1].image?(s(),u("img",{key:0,src:o.value.picList[1].image},null,8,M2)):(s(),u("div",K2,"375*375"))],2),l("div",P2,[l("div",{class:ue(["picItem",a.value===2?"on":""]),onClick:S[19]||(S[19]=k=>I(2,o.value))},[o.value.picList[2].image?(s(),u("img",{key:0,src:o.value.picList[2].image},null,8,G2)):(s(),u("div",z2,"375*250"))],2),l("div",{class:ue(["picItem",a.value===3?"on":""]),onClick:S[20]||(S[20]=k=>I(3,o.value))},[o.value.picList[3].image?(s(),u("img",{key:0,src:o.value.picList[3].image},null,8,J2)):(s(),u("div",Y2,"375*250"))],2)])])])):O("",!0),(s(!0),u(q,null,ae(o.value.picList,(k,K)=>(s(),u(q,{key:K},[i.value===10?(s(),u("div",X2,[k.image?(s(),u("img",{key:0,src:k.image},null,8,W2)):(s(),u("div",$2,"尺寸不限"))])):O("",!0)],64))),128)),i.value===11?(s(),u("div",{key:9,class:"pic-box",onMousemove:Re(D,["stop"])},[l("div",{class:"advertItem11 acea-row",id:"lay1",onClick:E},[(s(!0),u(q,null,ae(o.value.picList,(k,K)=>(s(),u("div",{class:ue(["lay-item",a.value===K?"on":""]),key:K+"aaa"},[k.img?(s(),u("img",{key:0,src:k.img},null,8,Z2)):(s(),u("div",q2,"+"))],2))),128))]),(s(!0),u(q,null,ae(Q.value,(k,K)=>(s(),u("div",{key:K,style:U({width:k.doc.w+"px",height:k.doc.h+"px",left:k.doc.startX+"px",top:k.doc.startY+"px"}),class:ue(["areaBox",{active:y.value==K}]),onMouseover:h,onClick:J=>I(K,o.value)},[k.img?(s(),u("img",{key:0,src:k.img},null,8,tI)):(s(),u("div",oI,$(k.doc.w)+"x"+$(k.doc.h),1)),y.value==K?(s(),u("div",{key:2,class:"del",onClick:Re(J=>w(K),["stop"])},[...S[23]||(S[23]=[l("i",{class:"el-icon-close"},null,-1)])],8,AI)):O("",!0)],46,eI))),128))],32)):O("",!0)])])):O("",!0)]))}}),lI=fe(nI,[["__scopeId","data-v-14effe11"]]),iI=Object.freeze(Object.defineProperty({__proto__:null,default:lI},Symbol.toStringTag,{value:"Module"})),aI={key:0,class:"mobile-config-component"},sI={class:"title-bar"},cI={class:"box-content"},rI={class:"box-item"},uI={class:"label"},dI={class:"input-box"},mI={key:0},gI=Object.assign({name:"c_price_settings"},{__name:"c_price_settings",props:{configObj:{type:Object},configNme:{type:String}},setup(t){const n=t,A=v(null);return M(()=>n.configObj,e=>{A.value=e[n.configNme]},{deep:!0,immediate:!0}),(e,o)=>{const i=X("el-radio"),m=X("el-radio-group");return A.value?(s(),u("div",aI,[l("div",sI,$(A.value.title),1),l("div",cI,[l("div",rI,[l("span",uI,$(A.value.colorTone.title),1),l("div",dI,[L(m,{modelValue:A.value.colorTone.tabVal,"onUpdate:modelValue":o[0]||(o[0]=a=>A.value.colorTone.tabVal=a)},{default:P(()=>[(s(!0),u(q,null,ae(A.value.colorTone.tabList,(a,d)=>(s(),ce(i,{label:a.val,value:a.val,key:d},{default:P(()=>[se($(a.name),1)]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])])]),A.value.colorTone.tabVal===1?(s(),u("div",mI,[L(de(qe),{configObj:A.value,configNme:"finalPriceColor"},null,8,["configObj"]),L(de(qe),{configObj:A.value,configNme:"sellingPriceColor"},null,8,["configObj"])])):O("",!0),L(de(_t),{configObj:A.value,configNme:"priceFontSize"},null,8,["configObj"])])])):O("",!0)}}}),fI=fe(gI,[["__scopeId","data-v-411cd4b2"]]),vI=Object.freeze(Object.defineProperty({__proto__:null,default:fI},Symbol.toStringTag,{value:"Module"})),pI={key:0,class:"c_product"},CI={key:0,class:"title"},_I={class:"list-box"},bI=["onClick"],BI={class:"content"},hI={style:{width:"100%"}},yI=["onClick"],wI={key:0,class:"con-item"},QI={key:1,class:"con-item"},xI=["onClick"],II={key:1},UI=Object.assign({name:"c_product"},{__name:"c_product",props:{configObj:{type:Object},configNme:{type:String},index:{type:null}},emits:["getConfig"],setup(t,{emit:n}){const A=t,e=n,o=v(null),i=v({}),m=v({}),a=v({}),d=v(0),r=B=>m.value.list.indexOf(B);Ce(()=>{ve(()=>{i.value=A.configObj,m.value=A.configObj[A.configNme]})}),M(()=>A.configObj,B=>{i.value=B,m.value=B[A.configNme]},{deep:!0});function c(B){m.value.list[d.value].chiild[1].val=B}function f(B,y,Q){!y||Q.link||(d.value=B,o.value.modals=!0)}function g(){if(m.value.list.length==0){let B=window.localStorage;a.value=JSON.parse(B.getItem("itemObj")),a.value.link&&(a.value.link.activeVal=0),a.value.chiild[0].val="",a.value.chiild[1].val="",m.value.list.push(a.value)}else{let B=JSON.parse(JSON.stringify(m.value.list[m.value.list.length-1]));B.chiild.forEach(y=>{y.val=""}),m.value.list.push(B)}}function p(B){if(m.value.list.length==1){let y=m.value.list[0];a.value=y,window.localStorage.setItem("itemObj",JSON.stringify(y))}m.value.list.splice(B,1),m.value.tabCur=0,e("getConfig",{name:"delete",indexs:0})}function b(B){m.value.tabCur=B,e("getConfig",{name:"product",indexs:B})}function _(B){m.value.tabCur=B,e("getConfig",{name:"product",indexs:B})}return(B,y)=>{const Q=X("el-input"),I=X("el-switch"),N=X("el-option"),w=X("el-select"),h=X("el-button");return m.value?(s(),u("div",pI,[m.value.title?(s(),u("div",CI,$(m.value.title),1)):O("",!0),l("div",_I,[L(de(mt),{class:"dragArea list-group",list:m.value.list,group:"peoples",handle:".move-icon","item-key":r},{item:P(({element:E,index:F})=>[l("div",{class:"item",onClick:x=>_(F)},[y[2]||(y[2]=l("div",{class:"move-icon"},[l("span",{class:"iconfont iconxingzhuangjiehe"})],-1)),l("div",BI,[(s(!0),u(q,null,ae(E.chiild,(x,j)=>(s(),u("div",{class:"con-item",key:j},[l("span",null,$(x.title),1),l("div",hI,[L(Q,{modelValue:x.val,"onUpdate:modelValue":D=>x.val=D,placeholder:x.pla},{suffix:P(()=>[x.title=="链接"?(s(),u("i",{key:0,class:"el-icon-link",onClick:D=>f(F,j,E)},null,8,yI)):O("",!0)]),_:2},1032,["modelValue","onUpdate:modelValue","placeholder"])])]))),128)),m.value.type?(s(),u("div",wI,[y[0]||(y[0]=l("span",null,"状态",-1)),L(I,{modelValue:E.show,"onUpdate:modelValue":x=>E.show=x},null,8,["modelValue","onUpdate:modelValue"])])):O("",!0),E.link?(s(),u("div",QI,[l("span",null,$(E.link.title),1),L(w,{modelValue:E.link.activeVal,"onUpdate:modelValue":x=>E.link.activeVal=x,style:{},onChange:x=>b(F,x)},{default:P(()=>[(s(!0),u(q,null,ae(E.link.optiops,(x,j)=>(s(),ce(N,{value:x.value,key:j,label:x.label},null,8,["value","label"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])])):O("",!0)]),l("div",{class:"delete",onClick:Re(x=>p(F),["stop"])},[...y[1]||(y[1]=[l("i",{class:"el-icon-circle-close",style:{"font-size":"20px"}},null,-1)])],8,xI)],8,bI)]),_:1},8,["list"])]),m.value.list?(s(),u("div",II,[m.value.list.length[...y[3]||(y[3]=[l("span",{class:"iconfont iconjiahao"},null,-1),se("添加 ",-1)])]),_:1})])):O("",!0)])):O("",!0),L(de(Ft),{ref_key:"linkaddres",ref:o,onLinkUrl:c},null,512)])):O("",!0)}}}),FI=fe(UI,[["__scopeId","data-v-90b6d347"]]),EI=Object.freeze(Object.defineProperty({__proto__:null,default:FI},Symbol.toStringTag,{value:"Module"})),SI={class:"mobile-config-component"},LI={key:0,class:"title"},NI={key:1,class:"tips"},kI={class:"list-box"},VI={class:"item"},OI={class:"content"},DI={class:"info"},HI={class:"info-item"},TI={class:"span"},jI={key:0,class:"input-box"},RI={key:0,class:"info-item"},MI={class:""},KI=Object.assign({name:"c_product_info_list"},{__name:"c_product_info_list",props:{configObj:{type:Object},configNme:{type:String}},setup(t){const n=t,A=v({}),e=v({}),o=i=>e.value.list.indexOf(i);return Ce(()=>{ve(()=>{A.value=n.configObj,e.value=n.configObj[n.configNme]})}),M(()=>n.configObj,i=>{A.value=i,e.value=i[n.configNme]},{deep:!0}),(i,m)=>{const a=X("el-switch"),d=X("el-checkbox"),r=X("el-checkbox-group");return s(),u("div",SI,[e.value.title?(s(),u("div",LI,$(e.value.title),1)):O("",!0),e.value.tips?(s(),u("div",NI,$(e.value.tips),1)):O("",!0),l("div",kI,[L(de(mt),{class:"dragArea list-group",list:e.value.list,group:"productInfoSections",handle:".move-icon","item-key":o},{item:P(({element:c,index:f})=>[l("div",VI,[m[0]||(m[0]=l("div",{class:"move-icon"},[l("span",{class:"iconfont iconxingzhuangjiehe"})],-1)),l("div",OI,[l("div",DI,[l("div",HI,[l("span",TI,$(c.cname),1),c.type==="radio"?(s(),u("div",jI,[L(a,{modelValue:c.show,"onUpdate:modelValue":g=>c.show=g,"active-text":"","inactive-text":""},null,8,["modelValue","onUpdate:modelValue"])])):O("",!0)]),c.show&&c.checkBoxList?(s(),u("div",RI,[l("div",MI,[L(r,{modelValue:c.checkList,"onUpdate:modelValue":g=>c.checkList=g},{default:P(()=>[(s(!0),u(q,null,ae(c.checkBoxList,(g,p)=>(s(),ce(d,{key:p,label:g.value,value:g.value},{default:P(()=>[se($(g.name),1)]),_:2},1032,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])])])):O("",!0)])])])]),_:1},8,["list"])])])}}}),PI=fe(KI,[["__scopeId","data-v-662d7b83"]]),GI=Object.freeze(Object.defineProperty({__proto__:null,default:PI},Symbol.toStringTag,{value:"Module"})),zI={key:0,class:"c_product"},JI={class:"title"},YI={class:"list-box"},XI=["onClick"],WI={class:"acea-row"},$I={class:"content"},ZI={key:0,class:"con-item"},qI={style:{width:"100%"}},e3={key:0,class:"acea-row row-right"},t3={class:"conter"},o3={key:0,class:"c_row-item"},A3={class:"color-box"},n3={key:0,class:"pictrue acea-row row-center-wrapper"},l3=["src"],i3={key:1,class:"upload-box"},a3={class:"c_row-item"},s3={class:"flex-1"},c3={key:1,class:"goods-box acea-row"},r3={class:"list"},u3={key:0,class:"items"},d3=["src"],m3=["onClick"],g3=["onClick"],f3={key:2},v3={key:0,class:"c_row-item"},p3={key:1,class:"c_row-item"},C3={key:2,class:"c_row-item"},_3=["onClick"],b3={style:{width:"90%"}},B3={key:0},h3={key:1,class:"span"},y3={class:"c_row-item"},w3={class:"c_row-item"},Q3=["onClick"],x3={key:0},I3=Object.assign({name:"c_promotion"},{__name:"c_promotion",props:{configObj:{type:Object},configNme:{type:String},index:{type:null}},emits:["getConfig"],setup(t,{emit:n}){const A=t,e=n,o={multiple:!0,checkStrictly:!0,emitPath:!1},i=v({}),m=v({}),a=v({}),d=v(!1),r=v(!1),c=v(!1),f=v("单选"),g=v({xl:4,lg:8,md:8,sm:8,xs:8}),p=v({xl:6,lg:8,md:12,sm:12,xs:12}),b=v([{activeValue:1,title:"指定商品"},{activeValue:3,title:"指定分类"},{activeValue:4,title:"商品标签"}]),_=v([]),B=v([]),y=v(1),Q=v([]),I=v(null),N=v(null);function w(re){return m.value.list.indexOf(re)}Ce(()=>{ve(()=>{i.value=A.configObj,m.value=A.configObj[A.configNme],x()})}),M(()=>A.configObj,(re,te)=>{i.value=re,m.value=re[A.configNme],y.value=re.styleConfig.tabVal},{deep:!0});function h(re){c.value=!0}function E(){m.value.list[m.value.tabCur].image=""}function F(re){ve(()=>{m.value.list[m.value.tabCur].image=re.att_dir,c.value=!1})}function x(){ml(1).then(re=>{B.value=re.data}).catch(re=>{Ve.error(re.msg)})}function j(){r.value=!0}function D(re){const te=new Map;return re.filter(ge=>!te.has(ge.id)&&te.set(ge.id,1))}function V(re){r.value=!1;let te=m.value.list[m.value.tabCur].goodsList.list.concat(re);m.value.list[m.value.tabCur].goodsList.list=D(te)}function S(re){m.value.list[m.value.tabCur].goodsList.list.splice(re,1)}function k(re,te){d.value=!0,ve(()=>{I.value.storeLabel(JSON.parse(JSON.stringify(re)))})}function K(re){let te=m.value.list[m.value.tabCur].goodsLabel.list,ge=te.indexOf(te.filter(W=>W.id==re.id)[0]);te.splice(ge,1),ee(te)}function J(re){d.value=!1,m.value.list[m.value.tabCur].goodsLabel.list=re,ee(re)}function ee(re){let te=[];re.forEach(ge=>{te.push(ge.id)}),m.value.list[m.value.tabCur].goodsLabel.activeValue=te,e("getConfig",{name:"goodsLabel"})}function T(){d.value=!1}function H(){if(m.value.list.length==0){let re=window.localStorage;a.value=JSON.parse(re.getItem("itemObj")),a.value.link&&(a.value.link.activeVal=0),a.value.chiild[0].val="新品推荐",a.value.chiild[1].val="最新出炉",a.value.tabVal=0,a.value.selectConfig.activeValue=[],a.value.goodsLabel.activeValue=[],a.value.goodsLabel.list=[],a.value.goodsSort=0,a.value.numConfig.val=6,a.value.goodsList.list=[],a.value.productList.list=[],m.value.list.push(a.value)}else{let re=JSON.parse(JSON.stringify(m.value.list[m.value.list.length-1]));re.chiild[0].empty&&(re.chiild[0].val="",re.chiild[1].val=""),re.tabVal=1,re.selectConfig.activeValue=[],re.goodsLabel.activeValue=[],re.goodsLabel.list=[],re.goodsSort=0,re.numConfig.val=6,re.goodsList.list=[],re.productList.list=[],m.value.list.push(re)}}function R(re){if(m.value.list.length==1){let te=m.value.list[0];a.value=te,window.localStorage.setItem("itemObj",JSON.stringify(te))}m.value.list.splice(re,1),m.value.tabCur=0,e("getConfig",{name:"delete",indexs:0})}function G(re){m.value.tabCur=re}function z(re){e("getConfig",{name:"promotion",values:re})}function ie(){e("getConfig",{name:"brands"})}function Y(re){m.value.list[m.value.tabCur].selectConfig.activeValue=re,e("getConfig",{name:"cascader",values:re})}function Z(re){e("getConfig",{name:"selectType",values:re})}return(re,te)=>{const ge=X("el-input"),W=X("el-option"),Ae=X("el-select"),me=X("el-col"),ye=X("el-cascader"),Te=X("el-tag"),Pe=X("el-radio"),Qe=X("el-radio-group"),De=X("el-button"),_e=X("el-dialog");return m.value?(s(),u("div",zI,[l("div",JI,$(m.value.title),1),l("div",YI,[L(de(mt),{class:"dragArea list-group",list:m.value.list,group:"peoples",handle:".move-icon","item-key":w},{item:P(({element:Ie,index:Ge})=>[l("div",{class:"item",onClick:Ne=>G(Ge)},[l("div",WI,[te[5]||(te[5]=l("div",{class:"move-icon"},[l("span",{class:"iconfont iconxingzhuangjiehe"})],-1)),l("div",$I,[(s(!0),u(q,null,ae(Ie.chiild,(Ne,We)=>(s(),u(q,{key:We},[We<(y.value==0?2:1)?(s(),u("div",ZI,[l("span",null,$(Ne.title),1),l("div",qI,[L(ge,{modelValue:Ne.val,"onUpdate:modelValue":bt=>Ne.val=bt,placeholder:Ne.pla,maxlength:Ne.max},null,8,["modelValue","onUpdate:modelValue","placeholder","maxlength"])])])):O("",!0)],64))),128))])]),m.value.tabCur==Ge?(s(),u("div",e3,[l("div",t3,[y.value==4?(s(),u("div",o3,[te[7]||(te[7]=l("div",{class:"c_label"},"上传图片",-1)),l("div",A3,[l("div",{class:"box",onClick:te[0]||(te[0]=Ne=>h("单选"))},[Ie.image?(s(),u("div",n3,[l("img",{src:Ie.image,alt:""},null,8,l3),l("div",{class:"iconfont icondel_1",onClick:Re(E,["stop"])})])):(s(),u("div",i3,[...te[6]||(te[6]=[l("i",{class:"el-icon-plus"},null,-1)])]))])])])):O("",!0),l("div",a3,[te[8]||(te[8]=l("div",{class:"title"},"选择方式",-1)),l("div",s3,[L(Ae,{modelValue:Ie.tabVal,"onUpdate:modelValue":Ne=>Ie.tabVal=Ne,placeholder:"请选择",onChange:Z,style:{width:"100%"}},{default:P(()=>[(s(!0),u(q,null,ae(b.value,(Ne,We)=>(s(),ce(W,{value:Ne.activeValue,key:We,label:Ne.title},null,8,["value","label"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue"])])]),Ie.tabVal==1?(s(),u("div",c3,[te[10]||(te[10]=l("div",{class:"title"},"选择商品",-1)),l("div",r3,[L(de(mt),{class:"dragArea list-group",list:Ie.goodsList.list,group:"peoples","item-key":Ne=>Ie.goodsList.list.indexOf(Ne)},{item:P(({element:Ne,index:We})=>[Ie.goodsList.list.length?(s(),u("div",u3,[l("img",{src:Ne.image,alt:""},null,8,d3),l("span",{class:"iconfont icondel_1",onClick:Re(bt=>S(We),["stop"])},null,8,m3)])):O("",!0)]),footer:P(()=>[l("div",{class:"add-item items",onClick:Ne=>j(Ge)},[...te[9]||(te[9]=[l("span",{class:"iconfont iconaddto"},null,-1)])],8,g3)]),_:2},1032,["list","item-key"])])])):(s(),u("div",f3,[Ie.tabVal==2?(s(),u("div",v3,[L(me,{class:"label",span:4},{default:P(()=>[...te[11]||(te[11]=[se("品牌名称",-1)])]),_:1}),L(me,{span:19,class:"slider-box"},{default:P(()=>[L(ye,{onChange:ie,placeholder:"请选择品牌",modelValue:Ie.brandConfig.brandVal,"onUpdate:modelValue":Ne=>Ie.brandConfig.brandVal=Ne,options:_.value,props:o,filterable:"",clearable:""},null,8,["modelValue","onUpdate:modelValue","options"])]),_:2},1024)])):Ie.tabVal==3?(s(),u("div",p3,[L(me,{class:"label",span:4},{default:P(()=>[...te[12]||(te[12]=[se("商品分类",-1)])]),_:1}),L(me,{span:19,class:"slider-box"},{default:P(()=>[L(ye,{onChange:Y,placeholder:"请选择分类",modelValue:Ie.selectConfig.activeValue,"onUpdate:modelValue":Ne=>Ie.selectConfig.activeValue=Ne,options:B.value,props:o,filterable:"",clearable:""},null,8,["modelValue","onUpdate:modelValue","options"])]),_:2},1024)])):(s(),u("div",C3,[L(me,{class:"label",span:4},{default:P(()=>[...te[13]||(te[13]=[se("商品标签",-1)])]),_:1}),L(me,{span:19,class:"slider-box"},{default:P(()=>[l("div",{class:"labelInput acea-row row-between-wrapper",onClick:Ne=>k(Ie.goodsLabel.list,Ge)},[l("div",b3,[Ie.goodsLabel.list.length?(s(),u("div",B3,[(s(!0),u(q,null,ae(Ie.goodsLabel.list,(Ne,We)=>(s(),ce(Te,{key:We,onOnClose:bt=>K(Ne)},{default:P(()=>[se($(Ne.label_name),1)]),_:2},1032,["onOnClose"]))),128))])):(s(),u("span",h3,"选择商品标签"))]),te[14]||(te[14]=l("div",{class:"iconfont iconxiayi"},null,-1))],8,_3)]),_:2},1024)])),l("div",y3,[L(me,{class:"label",span:4},{default:P(()=>[...te[15]||(te[15]=[l("span",null,"商品数量",-1)])]),_:1}),L(me,{span:19,class:"slider-box on"},{default:P(()=>[L(dt,{modelValue:Ie.numConfig.val,"onUpdate:modelValue":Ne=>Ie.numConfig.val=Ne,"show-input":"",onChange:z,max:100,min:1,step:1},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),l("div",w3,[L(me,{class:"label",span:5},{default:P(()=>[...te[16]||(te[16]=[l("span",null,"商品排序",-1)])]),_:1}),L(me,{class:"color-box",span:19,style:{"margin-top":"15px"}},{default:P(()=>[L(Qe,{modelValue:Ie.goodsSort,"onUpdate:modelValue":Ne=>Ie.goodsSort=Ne,onChange:te[1]||(te[1]=Ne=>z())},{default:P(()=>[L(Pe,{label:0,value:0},{default:P(()=>[...te[17]||(te[17]=[l("span",null,"综合",-1)])]),_:1}),L(Pe,{label:1,value:1},{default:P(()=>[...te[18]||(te[18]=[l("span",null,"销量",-1)])]),_:1}),L(Pe,{label:2,value:2},{default:P(()=>[...te[19]||(te[19]=[l("span",null,"价格",-1)])]),_:1})]),_:1},8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]))])])):O("",!0),l("div",{class:"delete",onClick:Re(Ne=>R(Ge),["stop"])},[...te[20]||(te[20]=[l("i",{class:"el-icon-circle-close",style:{"font-size":"20px"}},null,-1)])],8,Q3)],8,XI)]),_:1},8,["list"])]),m.value.list?(s(),u("div",x3,[l("div",{class:"add-btn",onClick:H},[L(De,{style:{width:"100%",height:"40px"}},{default:P(()=>[...te[21]||(te[21]=[se("+ 添加",-1)])]),_:1})])])):O("",!0),L(_e,{modelValue:d.value,"onUpdate:modelValue":te[2]||(te[2]=Ie=>d.value=Ie),scrollable:"",title:"选择商品标签",closable:!0,width:"540","footer-hide":!0,"mask-closable":!1},{default:P(()=>[d.value?(s(),ce(de(Ma),{key:0,ref_key:"storeLabel",ref:I,onActiveData:J,onClose:T},null,512)):O("",!0)]),_:1},8,["modelValue"]),L(_e,{modelValue:r.value,"onUpdate:modelValue":te[3]||(te[3]=Ie=>r.value=Ie),title:"商品列表",class:"paymentFooter",width:"900"},{default:P(()=>[r.value?(s(),ce(de(Zi),{key:0,ref_key:"goodslist",ref:N,ischeckbox:!0,isdiy:!0,isType:"",selectIds:Q.value,onGetProductId:V},null,8,["selectIds"])):O("",!0)]),_:1},8,["modelValue"]),L(_e,{modelValue:c.value,"onUpdate:modelValue":te[4]||(te[4]=Ie=>c.value=Ie),width:"960px",title:m.value.header?m.value.header:"上传图片"},{default:P(()=>[c.value?(s(),ce(de(Nt),{key:0,isChoice:f.value,onGetPic:F,gridBtn:g.value,gridPic:p.value},null,8,["isChoice","gridBtn","gridPic"])):O("",!0)]),_:1},8,["modelValue","title"])])):O("",!0)}}}),U3=fe(I3,[["__scopeId","data-v-efa6abca"]]),F3=Object.freeze(Object.defineProperty({__proto__:null,default:U3},Symbol.toStringTag,{value:"Module"})),E3={class:"slider-box"},S3={class:"c_row-item"},L3=Object.assign({name:"c_select"},{__name:"c_select",props:{configObj:{type:Object},configNme:{type:String},number:{type:null}},emits:["getConfig"],setup(t,{emit:n}){const A=t,e=n,o=v({}),i=v({}),m=v("");Ce(()=>{ve(()=>{o.value=A.configObj,i.value=A.configObj[A.configNme]})}),M(()=>A.configObj,d=>{o.value=d,i.value=d[A.configNme]},{deep:!0}),M(()=>A.number,d=>{m.value=d});function a(d){i.value.activeValue=d,e("getConfig",{name:"select",values:d})}return(d,r)=>{const c=X("el-col"),f=X("el-option"),g=X("el-select");return s(),u("div",E3,[l("div",S3,[i.value.title?(s(),ce(c,{key:0,class:"label",span:4},{default:P(()=>[se($(i.value.title),1)]),_:1})):O("",!0),L(c,{span:18},{default:P(()=>[L(g,{modelValue:i.value.activeValue,"onUpdate:modelValue":r[0]||(r[0]=p=>i.value.activeValue=p),onChange:a,style:{width:"100%"}},{default:P(()=>[(s(!0),u(q,null,ae(i.value.list,(p,b)=>(s(),ce(f,{value:p.activeValue,key:b,label:p.title},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1})])])}}}),N3=fe(L3,[["__scopeId","data-v-f535b077"]]),k3=Object.freeze(Object.defineProperty({__proto__:null,default:N3},Symbol.toStringTag,{value:"Module"})),V3={key:0,class:"select-word"},O3={class:"c_row-item"},D3={class:"batchItem on"},H3={class:"batchBnt acea-row row-right"},T3=Object.assign({name:"c_select_item"},{__name:"c_select_item",props:{configObj:{type:Object},configNme:{type:String}},setup(t){const n=t,A=v({}),e=v(""),o=v(!1);M(()=>n.configObj,d=>{A.value=d[n.configNme]},{immediate:!0,deep:!0});function i(d){if(o.value=!1,d==2){let r=e.value.split(` +`),c=[];r.forEach(f=>{let g={};g.val=f,c.push(g)}),A.value.list=A.value.list.concat(c)}e.value=""}function m(){let d={val:""};A.value.list.push(d)}function a(d){A.value.list.splice(d,1)}return(d,r)=>{const c=X("el-col"),f=X("el-input"),g=X("el-button"),p=X("Poptip");return A.value?(s(),u("div",V3,[l("div",O3,[L(c,{class:"label",span:4},{default:P(()=>[se($(A.value.title),1)]),_:1}),L(c,{span:19,class:"slider-box"},{default:P(()=>[(s(!0),u(q,null,ae(A.value.list,(b,_)=>(s(),u("div",{class:"inputs",key:_},[L(f,{icon:_>1?"ios-trash-outline":"",modelValue:b.val,"onUpdate:modelValue":B=>b.val=B,maxlength:"10",placeholder:"选填,不超过十个字",onOnClick:B=>a(_)},null,8,["icon","modelValue","onUpdate:modelValue","onOnClick"])]))),128)),l("div",{class:ue(["button acea-row row-between-wrapper",A.value.list.length==0?"on":""])},[l("div",{class:"bnt acea-row row-center-wrapper",onClick:m},[...r[4]||(r[4]=[l("span",{class:"iconfont iconjia"},null,-1),se(" 添加单个选项 ",-1)])]),L(p,{placement:"bottom",trigger:"click",width:"256",transfer:"",padding:"8px",modelValue:o.value,"onUpdate:modelValue":r[3]||(r[3]=b=>o.value=b)},{content:P(()=>[l("div",D3,[r[7]||(r[7]=l("div",{class:"title"},"批量添加选项",-1)),r[8]||(r[8]=l("div",{class:"tips"},"可按回车键添加多个选项",-1)),L(f,{modelValue:e.value,"onUpdate:modelValue":r[0]||(r[0]=b=>e.value=b),type:"textarea",autosize:{minRows:3,maxRows:5}},null,8,["modelValue"]),l("div",H3,[L(g,{onClick:r[1]||(r[1]=Re(b=>i(1),["stop"]))},{default:P(()=>[...r[5]||(r[5]=[se("取消",-1)])]),_:1}),L(g,{type:"primary",class:"ml10",onClick:r[2]||(r[2]=Re(b=>i(2),["stop"]))},{default:P(()=>[...r[6]||(r[6]=[se("确定",-1)])]),_:1})])])]),default:P(()=>[r[9]||(r[9]=l("div",{class:"bnt acea-row row-center-wrapper"},[l("span",{class:"iconfont iconjia"}),se(" 批量添加选项 ")],-1))]),_:1},8,["modelValue"])],2)]),_:1})])])):O("",!0)}}}),j3=fe(T3,[["__scopeId","data-v-2ea09710"]]),R3=Object.freeze(Object.defineProperty({__proto__:null,default:j3},Symbol.toStringTag,{value:"Module"})),M3={class:"setUp"},K3=Object.assign({name:"c_set_up"},{__name:"c_set_up",props:{configObj:{type:Object},configNme:{type:String}},setup(t){const n=t,A=v({}),e=v({tabVal:0}),o=v(["内容设置","样式设置"]),i=v(0),m=v("0");M(()=>n.configObj,d=>{var r,c;A.value=d,e.value=d[n.configNme],i.value=(r=e.value)==null?void 0:r.tabVal,m.value=String((c=e.value)==null?void 0:c.tabVal)},{deep:!0}),Ce(()=>{ve(()=>{A.value=n.configObj,e.value=n.configObj[n.configNme],ve(d=>{var r,c;i.value=(r=e.value)==null?void 0:r.tabVal,m.value=String((c=e.value)==null?void 0:c.tabVal)})})});function a(d){var c;const r=parseInt(d.paneName??((c=d.props)==null?void 0:c.name)??d.name);e.value.tabVal=r,i.value=r}return(d,r)=>{const c=X("el-tab-pane"),f=X("el-tabs");return s(),u("div",null,[r[1]||(r[1]=l("div",{class:"setUpTop"},null,-1)),l("div",M3,[L(f,{modelValue:m.value,"onUpdate:modelValue":r[0]||(r[0]=g=>m.value=g),onTabClick:a},{default:P(()=>[(s(!0),u(q,null,ae(o.value,(g,p)=>(s(),ce(c,{key:p,label:g,name:String(p)},null,8,["label","name"]))),128))]),_:1},8,["modelValue"])])])}}}),P3=fe(K3,[["__scopeId","data-v-c61d15d6"]]),G3=Object.freeze(Object.defineProperty({__proto__:null,default:P3},Symbol.toStringTag,{value:"Module"})),z3={key:0,class:"mobile-config-component"},J3={class:"title-bar"},Y3={class:"box-content"},X3={class:"box-item"},W3={class:"label"},$3={class:"input-box"},Z3={key:0},q3={key:0},eU=Object.assign({name:"c_spec_settings"},{__name:"c_spec_settings",props:{configObj:{type:Object},configNme:{type:String}},setup(t){const n=t,A=v(null),e=pe(()=>{const o=n.configObj&&n.configObj.specStyle?n.configObj.specStyle.tabVal:0;return o===1||o===2||o===3});return M(()=>n.configObj,o=>{A.value=o[n.configNme]},{deep:!0,immediate:!0}),(o,i)=>{const m=X("el-radio"),a=X("el-radio-group");return A.value?(s(),u("div",z3,[l("div",J3,$(A.value.title),1),l("div",Y3,[l("div",X3,[l("span",W3,$(A.value.colorTone.title),1),l("div",$3,[L(a,{modelValue:A.value.colorTone.tabVal,"onUpdate:modelValue":i[0]||(i[0]=d=>A.value.colorTone.tabVal=d)},{default:P(()=>[(s(!0),u(q,null,ae(A.value.colorTone.tabList,(d,r)=>(s(),ce(m,{label:d.val,value:d.val,key:r},{default:P(()=>[se($(d.name),1)]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])])]),A.value.colorTone.tabVal===1?(s(),u("div",Z3,[L(de(qe),{configObj:A.value,configNme:"textColor"},null,8,["configObj"]),L(de(qe),{configObj:A.value,configNme:"selectedBorderColor"},null,8,["configObj"]),e.value?(s(),u("div",q3,[L(de(qe),{configObj:A.value,configNme:"selectedTextColor"},null,8,["configObj"]),L(de(qe),{configObj:A.value,configNme:"selectedBgColor"},null,8,["configObj"]),L(de(qe),{configObj:A.value,configNme:"unselectedTextColor"},null,8,["configObj"])])):O("",!0)])):O("",!0)])])):O("",!0)}}}),tU=fe(eU,[["__scopeId","data-v-9c5cc8cb"]]),oU=Object.freeze(Object.defineProperty({__proto__:null,default:tU},Symbol.toStringTag,{value:"Module"})),AU={key:0,class:"c_row-item"},nU=Object.assign({name:"c_status"},{__name:"c_status",props:{configObj:{type:Object},configNme:{type:String}},setup(t){const n=t,A=Be(),e=v({}),o=v({status:!1});M(()=>n.configObj,m=>{e.value=m,o.value=m[n.configNme]},{immediate:!0,deep:!0});function i(m){ve(()=>{o.value.status=m,A.footStatus(m)})}return(m,a)=>{const d=X("el-col"),r=X("el-switch");return s(),u("div",null,[o.value?(s(),u("div",AU,[L(d,{span:"8",class:"c_label"},{default:P(()=>[se($(o.value.title),1)]),_:1}),L(d,{span:"14",class:"color-box"},{default:P(()=>[L(r,{modelValue:o.value.status,"onUpdate:modelValue":a[0]||(a[0]=c=>o.value.status=c),onChange:i},null,8,["modelValue"])]),_:1})])):O("",!0)])}}}),lU=fe(nU,[["__scopeId","data-v-f0f53d18"]]),iU=Object.freeze(Object.defineProperty({__proto__:null,default:lU},Symbol.toStringTag,{value:"Module"})),aU={class:"hot_imgs"},sU={key:0,class:"title"},cU={class:"list-box"},rU={class:"item"},uU=["onClick"],dU={class:"info"},mU={class:"info-item"},gU={class:"span"},fU=["onClick"],vU=["src"],pU={key:1,class:"upload-box"},CU={class:"info"},_U={class:"span"},bU={class:"input-box"},BU=["onClick"],hU={key:0,class:"add-btn"},yU=Object.assign({name:"c_swipers_list"},{__name:"c_swipers_list",props:{configObj:{type:Object},configNme:{type:String},index:{type:null}},setup(t){const n=t,A=v({}),e=v({}),o=v(!1),i=v("单选"),m=v({xl:4,lg:8,md:8,sm:8,xs:8}),a=v({xl:6,lg:8,md:12,sm:12,xs:12}),d=v(0),r=v(0),c=v({}),f=v(null);function g(I){return e.value.list.indexOf(I)}Ce(()=>{ve(()=>{A.value=n.configObj,e.value=n.configObj[n.configNme]})}),M(()=>n.configObj,(I,N)=>{A.value=I,e.value=I[n.configNme]},{deep:!0});function p(I){e.value.list[d.value].info[r.value].value=I,A.value.name=="pictureCube"&&(A.value.picStyle.picList[A.value.picStyle.tabVal].link=I)}function b(I,N,w){r.value=w.length-1,N==w.length-1&&(d.value=I,f.value.modals=!0)}function _(){if(e.value.list.length==0)c.value.img="",c.value.info[0].value="",e.value.list.push(c.value);else{let I=JSON.parse(JSON.stringify(e.value.list[e.value.list.length-1]));I.img="",I.info[0].value="",e.value.list.push(I)}}function B(I,N){d.value=N,o.value=!0}function y(I){ve(()=>{e.value.list[d.value].img=I.att_dir;let N=A.value.menuConfig;N&&N.isCube&&A.value.picStyle.picList.splice(A.value.picStyle.tabVal,1,{image:I.att_dir,link:N.list[0].info[0].value}),o.value=!1})}function Q(I,N){e.value.list.length==1&&(c.value=e.value.list[0]),e.value.list.splice(N,1)}return(I,N)=>{const w=X("el-input"),h=X("el-dialog"),E=X("el-button");return s(),u("div",aU,[e.value.title?(s(),u("div",sU,$(e.value.title),1)):O("",!0),l("div",cU,[L(de(mt),{class:"dragArea list-group",list:e.value.list,group:"peoples",handle:".move-icon","item-key":g},{item:P(({element:F,index:x})=>[l("div",rU,[e.value.isCube?O("",!0):(s(),u("div",{key:0,class:"delect-btn",onClick:Re(j=>Q(F,x),["stop"])},[...N[1]||(N[1]=[l("span",{class:"iconfont icondel_1"},null,-1)])],8,uU)),N[3]||(N[3]=l("div",{class:"move-icon"},[l("span",{class:"iconfont icondrag"})],-1)),l("div",null,[l("div",dU,[l("div",mU,[l("span",gU,$(F.imgTitle),1),l("div",{class:"img-box",onClick:j=>B("单选",x)},[F.img?(s(),u("img",{key:0,src:F.img,alt:""},null,8,vU)):(s(),u("div",pU,[...N[2]||(N[2]=[l("i",{class:"el-icon-plus"},null,-1)])]))],8,fU)])]),l("div",CU,[(s(!0),u(q,null,ae(F.info,(j,D)=>(s(),u("div",{class:"info-item",key:D},[l("span",_U,$(j.title),1),l("div",bU,[L(w,{modelValue:j.value,"onUpdate:modelValue":V=>j.value=V,placeholder:j.tips},{suffix:P(()=>[l("i",{class:"el-icon-link",onClick:V=>b(x,D,F.info)},null,8,BU)]),_:2},1032,["modelValue","onUpdate:modelValue","placeholder"])])]))),128))])])])]),_:1},8,["list"]),l("div",null,[L(h,{modelValue:o.value,"onUpdate:modelValue":N[0]||(N[0]=F=>o.value=F),width:"960px",title:"上传图片"},{default:P(()=>[o.value?(s(),ce(de(Nt),{key:0,isChoice:i.value,onGetPic:y,gridBtn:m.value,gridPic:a.value},null,8,["isChoice","gridBtn","gridPic"])):O("",!0)]),_:1},8,["modelValue"])])]),e.value.list?(s(),u(q,{key:1},[e.value.list.length[...N[4]||(N[4]=[l("span",{class:"iconfont iconjiahao"},null,-1),se("添加 ",-1)])]),_:1})])):O("",!0)],64)):O("",!0),L(de(Ft),{ref_key:"linkaddres",ref:f,onLinkUrl:p},null,512)])}}}),wU=fe(yU,[["__scopeId","data-v-4150226c"]]),QU=Object.freeze(Object.defineProperty({__proto__:null,default:wU},Symbol.toStringTag,{value:"Module"})),xU={style:{"margin-bottom":"20px"}},IU={key:0,class:"title-tips"},UU={key:1},FU=Object.assign({name:"c_tab"},{__name:"c_tab",props:{configObj:{type:Object},configNme:{type:String}},emits:["getConfig"],setup(t,{emit:n}){const A=t,e=n,o=v({}),i=v({});M(()=>A.configObj,a=>{o.value=a,i.value=a[A.configNme]},{deep:!0}),Ce(()=>{ve(()=>{o.value=A.configObj,i.value=A.configObj[A.configNme]})});function m(a){o.value.picStyle&&(o.value.picStyle.tabVal=0),e("getConfig",a)}return(a,d)=>{const r=X("el-radio"),c=X("el-radio-group");return s(),u("div",xU,[i.value.tabList?(s(),u("div",IU,[l("span",null,$(i.value.title),1),se($(i.value.tabList[i.value.tabVal].name),1)])):O("",!0),l("div",{class:ue(["radio-box",{on:i.value.type==1}])},[L(c,{modelValue:i.value.tabVal,"onUpdate:modelValue":d[0]||(d[0]=f=>i.value.tabVal=f),type:"button",size:"large",onChange:d[1]||(d[1]=f=>m(f))},{default:P(()=>[(s(!0),u(q,null,ae(i.value.tabList,(f,g)=>(s(),ce(r,{label:g,value:g,key:g},{default:P(()=>[f.icon?(s(),u("span",{key:0,class:ue(["iconfont",f.icon])},null,2)):(s(),u("span",UU,$(f.name),1))]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])],2)])}}}),EU=fe(FU,[["__scopeId","data-v-2c294f45"]]),SU=Object.freeze(Object.defineProperty({__proto__:null,default:EU},Symbol.toStringTag,{value:"Module"})),LU={key:0,class:"c_product"},NU={class:"title"},kU={class:"list-box"},VU={class:"item"},OU={class:"con-item"},DU={class:"con-item"},HU={class:"con-item"},TU=["onClick"],jU=["onClick"],RU={key:0},MU=Object.assign({name:"c_tab_list"},{__name:"c_tab_list",props:{configObj:{type:Object},configNme:{type:String},index:{type:null}},setup(t){const n=t,A=v({}),e=v({}),o=v({}),i=v(0),m=v([]),a={multiple:!1,checkStrictly:!1,emitPath:!1},d=v(null);function r(B){return e.value.list.indexOf(B)}Ce(()=>{c(),ve(()=>{A.value=n.configObj,e.value=n.configObj[n.configNme]})}),M(()=>n.configObj,(B,y)=>{A.value=B,e.value=B[n.configNme]},{deep:!0});function c(){ml(0).then(B=>{m.value=B.data}).catch(B=>{Ve.error(B.msg)})}function f(B){e.value.list[i.value].classPage.id=B;let y=m.value.find(Q=>Q.id==B).label;e.value.list[i.value].classPage.name=y}function g(B){if(e.value.list[i.value].dataType.tabVal){let Q=B.split("?")[1].split("&");e.value.list[i.value].classPage.name=Q[1].split("=")[1],e.value.list[i.value].classPage.id=Q[0].split("=")[1]}else{let Q=B.split("?")[1].split("&");e.value.list[i.value].microPage.name=Q[1].split("=")[1],e.value.list[i.value].microPage.id=Q[0].split("=")[1]}}function p(B){i.value=B;let y={};e.value.list[i.value].dataType.tabVal?y={id:8,pid:2,type:"product_category"}:y={id:9,pid:1,type:"special"},d.value.handleCheckChange(y),d.value.modals=!0}function b(){if(e.value.list.length==0){let B=window.localStorage;o.value=JSON.parse(B.getItem("itemObj")),o.value.dataType.tabVal=0,o.value.microPage.name="",o.value.classPage.name="",e.value.list.push(o.value)}else{let B=JSON.parse(JSON.stringify(e.value.list[e.value.list.length-1]));B.dataType.tabVal=0,B.microPage.name="",B.classPage.name="",e.value.list.push(B)}}function _(B){if(e.value.list.length==1){let y=e.value.list[0];o.value=y,window.localStorage.setItem("itemObj",JSON.stringify(y))}e.value.list.splice(B,1)}return(B,y)=>{const Q=X("el-input"),I=X("el-radio"),N=X("el-radio-group"),w=X("el-cascader"),h=X("el-button");return e.value?(s(),u("div",LU,[l("div",NU,$(e.value.title),1),l("div",kU,[L(de(mt),{class:"dragArea list-group",list:e.value.list,group:"peoples",handle:".move-icon","item-key":r},{item:P(({element:E,index:F})=>[l("div",VU,[y[1]||(y[1]=l("div",{class:"move-icon"},[l("span",{class:"iconfont iconxingzhuangjiehe"})],-1)),l("div",null,[l("div",OU,[l("span",null,$(E.text.title),1),l("div",null,[L(Q,{modelValue:E.text.val,"onUpdate:modelValue":x=>E.text.val=x,placeholder:E.text.pla,maxlength:E.text.max,"show-word-limit":""},null,8,["modelValue","onUpdate:modelValue","placeholder","maxlength"])])]),l("div",DU,[l("span",null,$(E.dataType.title),1),l("div",null,[L(N,{modelValue:E.dataType.tabVal,"onUpdate:modelValue":x=>E.dataType.tabVal=x},{default:P(()=>[(s(!0),u(q,null,ae(E.dataType.tabList,(x,j)=>(s(),ce(I,{label:j,value:j,key:j},{default:P(()=>[l("span",null,$(x.name),1)]),_:2},1032,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])])]),l("div",HU,[l("span",null,$(E.dataType.tabList[E.dataType.tabVal].name),1),l("div",null,[E.dataType.tabVal==0?(s(),ce(Q,{key:0,modelValue:E.microPage.name,"onUpdate:modelValue":x=>E.microPage.name=x,placeholder:"选择页面"},{suffix:P(()=>[l("i",{class:"el-icon-link",onClick:x=>p(F)},null,8,TU)]),_:2},1032,["modelValue","onUpdate:modelValue"])):E.dataType.tabVal==1?(s(),ce(w,{key:1,onChange:f,onFocus:x=>{i.value=F},placeholder:"请选择分类",modelValue:E.classPage.id,"onUpdate:modelValue":x=>E.classPage.id=x,options:m.value,props:a,filterable:"",clearable:""},null,8,["onFocus","modelValue","onUpdate:modelValue","options"])):O("",!0)])])]),l("div",{class:"delete",onClick:Re(x=>_(F),["stop"])},[...y[0]||(y[0]=[l("i",{class:"el-icon-circle-close",style:{"font-size":"20px"}},null,-1)])],8,jU)])]),_:1},8,["list"])]),e.value.list?(s(),u("div",RU,[e.value.list.length[...y[2]||(y[2]=[l("span",{class:"iconfont iconjiahao"},null,-1),se("添加 ",-1)])]),_:1})])):O("",!0)])):O("",!0),L(de(Ft),{ref_key:"linkaddres",ref:d,linkType:1,fromType:"diyPage",isCateTree:!["homeComb","tabNav"].includes(A.value.name),onLinkUrl:g},null,8,["isCateTree"])])):O("",!0)}}}),KU=fe(MU,[["__scopeId","data-v-ba64dfc5"]]),PU=Object.freeze(Object.defineProperty({__proto__:null,default:KU},Symbol.toStringTag,{value:"Module"})),GU={class:"config-item"},zU={class:"item-header"},JU={class:"item-title"},YU={key:0,class:"item-content"},XU={key:0,class:"link-box"},WU=Object.assign({name:"c_text_config"},{__name:"c_text_config",props:{configNme:{type:String},configObj:{type:Object,default:()=>{}}},emits:["getConfig"],setup(t,{emit:n}){const A=t,e=n,o=v(null),i=v({title:"",enable:!1,text:""});M(()=>A.configObj,r=>{i.value=r[A.configNme]||{title:"",enable:!1,text:""}},{deep:!0,immediate:!0});function m(){e("getConfig",i.value)}function a(){o.value.modals=!0}function d(r){i.value.link=r,m()}return(r,c)=>{const f=X("el-switch"),g=X("el-input");return s(),u("div",GU,[l("div",zU,[l("span",JU,$(i.value.title),1),L(f,{class:"defineSwitch",modelValue:i.value.enable,"onUpdate:modelValue":c[0]||(c[0]=p=>i.value.enable=p),"active-text":"开启","inactive-text":"关闭",onChange:m},null,8,["modelValue"])]),i.value.enable?(s(),u("div",YU,[L(g,{modelValue:i.value.text,"onUpdate:modelValue":c[1]||(c[1]=p=>i.value.text=p),placeholder:"请输入文字",maxlength:"20","show-word-limit":"",onChange:m},null,8,["modelValue"]),i.value.link!==void 0?(s(),u("div",XU,[L(g,{modelValue:i.value.link,"onUpdate:modelValue":c[2]||(c[2]=p=>i.value.link=p),placeholder:"请选择链接"},{suffix:P(()=>[l("i",{class:"el-icon-link",onClick:a})]),_:1},8,["modelValue"])])):O("",!0)])):O("",!0),L(de(Ft),{ref_key:"linkaddres",ref:o,onLinkUrl:d},null,512)])}}}),$U=fe(WU,[["__scopeId","data-v-1996c035"]]),ZU=Object.freeze(Object.defineProperty({__proto__:null,default:$U},Symbol.toStringTag,{value:"Module"})),qU={key:0,class:"mobile-config-component"},e4={class:"title-bar"},t4={class:"box-content"},o4={class:"box-item"},A4={class:"input-box"},n4={key:0},l4=Object.assign({name:"c_title_settings"},{__name:"c_title_settings",props:{configObj:{type:Object},configNme:{type:String}},setup(t){const n=t,A=v(null);return M(()=>n.configObj,e=>{A.value=e[n.configNme]},{deep:!0,immediate:!0}),(e,o)=>{const i=X("el-radio"),m=X("el-radio-group");return A.value?(s(),u("div",qU,[l("div",e4,$(A.value.title),1),l("div",t4,[l("div",o4,[o[1]||(o[1]=l("span",{class:"label"},"颜色设置",-1)),l("div",A4,[L(m,{modelValue:A.value.tabVal,"onUpdate:modelValue":o[0]||(o[0]=a=>A.value.tabVal=a)},{default:P(()=>[(s(!0),u(q,null,ae(A.value.tabList,(a,d)=>(s(),ce(i,{label:a.val,value:a.val,key:d},{default:P(()=>[se($(a.name),1)]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])])]),A.value.tabVal===1?(s(),u("div",n4,[L(de(qe),{configObj:A.value,configNme:"color"},null,8,["configObj"])])):O("",!0),L(de(_t),{configObj:A.value,configNme:"fontSize"},null,8,["configObj"])])])):O("",!0)}}}),i4=fe(l4,[["__scopeId","data-v-8d2babf1"]]),a4=Object.freeze(Object.defineProperty({__proto__:null,default:i4},Symbol.toStringTag,{value:"Module"})),s4={key:0,class:"txt_tab"},c4={class:"c_row-item"},r4={class:"c_label"},u4={class:"color-box"},d4={key:1},m4=Object.assign({name:"c_txt_tab"},{__name:"c_txt_tab",props:{configObj:{type:Object},configNme:{type:String}},emits:["getConfig"],setup(t,{emit:n}){const A=t,e=n,o=v({}),i=v({});M(()=>A.configObj,a=>{o.value=a,i.value=a[A.configNme]},{immediate:!0,deep:!0});function m(a){i.value.name!=="itemSstyle"&&i.value.name!=="bgStyle"&&i.value.name!=="conStyle"&&e("getConfig",{name:"radio",values:a})}return(a,d)=>{const r=X("el-radio"),c=X("el-radio-group");return i.value?(s(),u("div",s4,[l("div",c4,[l("div",r4,[se($(i.value.title)+" ",1),l("span",null,$(i.value.list[i.value.type].val),1)]),l("div",u4,[L(c,{modelValue:i.value.type,"onUpdate:modelValue":d[0]||(d[0]=f=>i.value.type=f),type:"button",onChange:d[1]||(d[1]=f=>m(f))},{default:P(()=>[(s(!0),u(q,null,ae(i.value.list,(f,g)=>(s(),ce(r,{label:g,value:g,key:g},{default:P(()=>[f.icon?(s(),u("span",{key:0,class:ue(["iconfont",f.icon])},null,2)):(s(),u("span",d4,$(f.val),1))]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])])])])):O("",!0)}}}),g4=fe(m4,[["__scopeId","data-v-7f4d3011"]]),f4=Object.freeze(Object.defineProperty({__proto__:null,default:g4},Symbol.toStringTag,{value:"Module"})),v4={class:"upload_img"},p4={class:"title"},C4=["src"],_4={key:1,class:"upload-box"},b4=Object.assign({name:"c_upload_video"},{__name:"c_upload_video",props:{name:{type:String},configData:{type:null},configNum:{type:[Number,String],default:"default"}},setup(t){const n=t,A=v(!1),e=v("单选"),o=v({xl:4,lg:8,md:8,sm:8,xs:8}),i=v({xl:6,lg:8,md:12,sm:12,xs:12}),m=v(n.configData[n.configNum]);M(()=>n.configData,r=>{m.value=r[n.configNum]},{deep:!0});function a(r){A.value=!0}function d(r){ve(()=>{n.configData[n.configNum][n.name].url=r.att_dir,A.value=!1})}return(r,c)=>{const f=X("el-dialog"),g=jt("db-click");return s(),u("div",v4,[l("div",p4,$(m.value[t.name].title),1),Ze((s(),u("div",{class:"box",onClick:c[0]||(c[0]=p=>a())},[m.value[t.name].url?(s(),u("img",{key:0,src:m.value[t.name].url,alt:""},null,8,C4)):(s(),u("div",_4,[...c[2]||(c[2]=[l("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])]))])),[[g]]),l("div",null,[L(f,{modelValue:A.value,"onUpdate:modelValue":c[1]||(c[1]=p=>A.value=p),width:"950px",title:"上传商品图","mask-closable":!1,"z-index":888},{default:P(()=>[A.value?(s(),ce(de(Nt),{key:0,isChoice:e.value,onGetPic:d,gridBtn:o.value,gridPic:i.value},null,8,["isChoice","gridBtn","gridPic"])):O("",!0)]),_:1},8,["modelValue"])])])}}}),B4=fe(b4,[["__scopeId","data-v-5aa71298"]]),h4=Object.freeze(Object.defineProperty({__proto__:null,default:B4},Symbol.toStringTag,{value:"Module"})),Tl=Object.assign({"./c_align.vue":j_,"./c_article.vue":nb,"./c_bg_color.vue":ub,"./c_bg_tool.vue":Vb,"./c_brand.vue":jb,"./c_button_img.vue":Yb,"./c_button_style.vue":SB,"./c_card_select.vue":KB,"./c_cascader.vue":JB,"./c_checkbox.vue":qB,"./c_classify.vue":n1,"./c_comb_data.vue":s1,"./c_common_style.vue":P1,"./c_coupon_select.vue":eh,"./c_custom_btn.vue":nh,"./c_data_settings.vue":rh,"./c_data_style.vue":bh,"./c_datetime_picker.vue":Qh,"./c_fillet.vue":E1,"./c_foot.vue":Mh,"./c_goods.vue":$h,"./c_goods_label.vue":gy,"./c_goods_search.vue":py,"./c_grid_item_style.vue":Ey,"./c_header_style.vue":$y,"./c_header_switch.vue":Aw,"./c_hot_box.vue":lw,"./c_hot_imgs.vue":Cw,"./c_hot_word.vue":Qw,"./c_icon_select.vue":Cl,"./c_icon_style.vue":oQ,"./c_indicator_settings.vue":dQ,"./c_input_item.vue":fQ,"./c_input_number.vue":bQ,"./c_is_show.vue":wQ,"./c_margin_style.vue":B1,"./c_menu_list.vue":JQ,"./c_one_pictrue.vue":wx,"./c_page_ueditor.vue":Ux,"./c_pictrue.vue":iI,"./c_price_settings.vue":vI,"./c_product.vue":EI,"./c_product_info_list.vue":GI,"./c_promotion.vue":F3,"./c_radio.vue":Ib,"./c_select.vue":k3,"./c_select_item.vue":R3,"./c_set_up.vue":G3,"./c_slider.vue":k1,"./c_slider_deferred.vue":d1,"./c_spec_settings.vue":oU,"./c_status.vue":iU,"./c_swipers_list.vue":QU,"./c_tab.vue":SU,"./c_tab_list.vue":PU,"./c_text_config.vue":ZU,"./c_title.vue":u1,"./c_title_settings.vue":a4,"./c_txt_tab.vue":f4,"./c_upload_img.vue":wb,"./c_upload_video.vue":h4}),C={};Object.keys(Tl).forEach(t=>{C[t.replace(/(\.\/|\.vue)/g,"")]=Ki(Tl[t].default)});const y4={class:"btn-box",style:{display:"none"}},je=Object.assign({name:"rightBtn"},{__name:"index",props:["activeIndex","configObj"],setup(t){const n=t,A=Be();function e(o){let i={};i.activeIndex=n.activeIndex,i.data=n.configObj,A.UPDATEARR(i)}return(o,i)=>{const m=X("el-button"),a=jt("db-click");return s(),u("div",y4,[Ze((s(),ce(m,{type:"primary",onClick:i[0]||(i[0]=d=>e()),style:{"text-align":"center",width:"60%"}},{default:P(()=>[...i[1]||(i[1]=[se("确定",-1)])]),_:1})),[[a]])])}}}),w4={class:"mobile-config"},Q4=Object.assign({name:"c_auxiliary_box",componentsName:"auxiliary_box"},{__name:"c_auxiliary_box",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_set_up,configNme:"setUp"}]);M(()=>n.num,a=>{let d=JSON.parse(JSON.stringify(A.defaultArray[a]));e.value=i(d)}),M(e,(a,d)=>{A.UPDATEARR({num:n.num,val:a})},{deep:!0}),M(()=>{var a,d;return(d=(a=e.value)==null?void 0:a.setUp)==null?void 0:d.tabVal},(a,d)=>{var r=[o.value[0]];if(a==0){let c=[{components:C.c_title,configNme:"titleLeft"},{components:C.c_slider,configNme:"heightConfig"}];o.value=r.concat(c)}else{let c=[{components:C.c_title,configNme:"titleRight"},{components:C.c_common_style,configNme:"c_common_style"}];o.value=r.concat(c)}},{deep:!0}),Ce(()=>{ve(()=>{let a=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=i(a)})});function i(a){return a.paddingConfig||(a.paddingConfig={title:"内边距",val:0,min:0,max:100,isAll:!1,valList:[{val:a.topConfig?a.topConfig.val:0},{val:a.lrEdge?a.lrEdge.val:0},{val:a.bottomConfig?a.bottomConfig.val:0},{val:a.lrEdge?a.lrEdge.val:0}]}),a.marginConfig||(a.marginConfig={title:"外边距",isAll:!1,val:0,min:0,max:100,valList:[{val:0},{val:0},{val:a.mbConfig?a.mbConfig.val:0},{val:0}]}),a.c_common_style||(a.c_common_style={color:{title:"背景颜色",val:"",name:"bgColor"},color2:{title:"线条颜色",val:"",name:"lineColor"},lr:{title:"左右边距",val:0,min:0,max:100},type:0}),a}function m(a){}return(a,d)=>(s(),u("div",w4,[(s(!0),u(q,null,ae(o.value,(r,c)=>(s(),u("div",{key:c},[(s(),ce(Oe(r.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:r.configNme,key:c,onGetConfig:m,index:t.activeIndex,num:r.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),x4=Object.freeze(Object.defineProperty({__proto__:null,default:Q4},Symbol.toStringTag,{value:"Module"})),I4={class:"mobile-config"},U4=Object.assign({name:"c_auxiliary_line",componentsName:"home_auxiliary_line"},{__name:"c_auxiliary_line",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_set_up,configNme:"setUp"}]);M(()=>n.num,a=>{let d=JSON.parse(JSON.stringify(A.defaultArray[a]));e.value=i(d)}),M(e,(a,d)=>{A.UPDATEARR({num:n.num,val:a})},{deep:!0}),M(()=>{var a,d;return(d=(a=e.value)==null?void 0:a.setUp)==null?void 0:d.tabVal},(a,d)=>{var r=[o.value[0]];if(a==0){let c=[{components:C.c_title,configNme:"titleLeft"},{components:C.c_radio,configNme:"lineStyle"}];o.value=r.concat(c)}else{let c=[{components:C.c_title,configNme:"titleRight"},{components:C.c_bg_color,configNme:"lineColor"},{components:C.c_slider,configNme:"heightConfig"},{components:C.c_title,configNme:"titleCurrent"},{components:C.c_common_style,configNme:"c_common_style"}];o.value=r.concat(c)}},{deep:!0}),Ce(()=>{ve(()=>{let a=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=i(a)})});function i(a){return a.paddingConfig||(a.paddingConfig={isAll:!1,title:"内边距",val:0,min:0,max:100,valList:[{val:a.topConfig?a.topConfig.val:0},{val:a.lrEdge?a.lrEdge.val:0},{val:a.bottomConfig?a.bottomConfig.val:0},{val:a.lrEdge?a.lrEdge.val:0}]}),a.marginConfig||(a.marginConfig={isAll:!1,title:"外边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:a.mbConfig?a.mbConfig.val:0},{val:0}]}),a.c_common_style||(a.c_common_style={color:{title:"背景颜色",val:"",name:"bgColor"},color2:{title:"线条颜色",val:"",name:"lineColor"},lr:{title:"左右边距",val:0,min:0,max:100},type:0}),a}function m(a){}return(a,d)=>(s(),u("div",I4,[(s(!0),u(q,null,ae(o.value,(r,c)=>(s(),u("div",{key:c},[(s(),ce(Oe(r.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:r.configNme,key:c,onGetConfig:m,index:t.activeIndex,num:r.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),F4=Object.freeze(Object.defineProperty({__proto__:null,default:U4},Symbol.toStringTag,{value:"Module"})),E4={class:"mobile-config"},S4=Object.assign({name:"c_banner",componentsName:"home_banner"},{__name:"c_banner",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}]),i=[{components:C.c_title,configNme:"titleContent"},{components:C.c_swipers_list,configNme:"swiperConfig"}],m=[{components:C.c_title,configNme:"titleRight"},{components:C.c_radio,configNme:"docConfig"},{components:C.c_radio,configNme:"docPosition"},{components:C.c_radio,configNme:"toneConfig"}],a=[{components:C.c_bg_color,configNme:"dotColor"},{components:C.c_bg_color,configNme:"dotBgColor"}],d=[{components:C.c_title,configNme:"titleImg"},{components:C.c_fillet,configNme:"filletImg"}],r=[{components:C.c_slider,configNme:"imgConfig"}],c=[{components:C.c_common_style,configNme:"commonStyle"}],f=[];let g=0,p=0,b=0;M(()=>n.num,B=>{let y=JSON.parse(JSON.stringify(A.defaultArray[B]));e.value=_(y)}),M(e,(B,y)=>{A.UPDATEARR({num:n.num,val:B})},{deep:!0}),M(()=>{var B,y;return(y=(B=e.value)==null?void 0:B.setUp)==null?void 0:y.tabVal},(B,y)=>{g=B;var Q=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];B==0?o.value=Q.concat(i):b==2?p?o.value=[...Q,...m,...a,...d,...r,...c,...f]:o.value=[...Q,...m,...d,...r,...c,...f]:b==1?p?o.value=[...Q,...m,...a,...d,...c]:o.value=[...Q,...m,...d,...c]:p?o.value=[...Q,...m,...a,...d,...c,...f]:o.value=[...Q,...m,...d,...c,...f]},{deep:!0}),M(()=>{var B,y;return(y=(B=e.value)==null?void 0:B.styleConfig)==null?void 0:y.tabVal},(B,y)=>{b=B;var Q=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];g&&(B==2?p?o.value=[...Q,...m,...a,...d,...r,...c,...f]:o.value=[...Q,...m,...d,...r,...c,...f]:B==1?p?o.value=[...Q,...m,...a,...d,...c]:o.value=[...Q,...m,...d,...c]:p?o.value=[...Q,...m,...a,...d,...c,...f]:o.value=[...Q,...m,...d,...c,...f])},{deep:!0}),M(()=>{var B,y;return(y=(B=e.value)==null?void 0:B.toneConfig)==null?void 0:y.tabVal},(B,y)=>{p=B;var Q=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];g&&(b==2?B?o.value=[...Q,...m,...a,...d,...r,...c,...f]:o.value=[...Q,...m,...d,...r,...c,...f]:b==1?B?o.value=[...Q,...m,...a,...d,...c,...f]:o.value=[...Q,...m,...d,...c,...f]:B?o.value=[...Q,...m,...a,...d,...c,...f]:o.value=[...Q,...m,...d,...c,...f])},{deep:!0}),Ce(()=>{ve(()=>{let B=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=_(B)})});function _(B){return B&&(B.bgColor&&!B.bottomBgColor&&(B.bottomBgColor={title:"底部背景",default:[{item:B.bgColor.color[0].item}],color:[{item:B.bgColor.color[0].item}]}),B.paddingConfig||(B.paddingConfig={title:"内边距",isAll:!1,val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},B.topConfig&&(B.paddingConfig.valList[0].val=B.topConfig.val),B.prConfig&&(B.paddingConfig.valList[1].val=B.prConfig.val,B.paddingConfig.valList[3].val=B.prConfig.val),B.bottomConfig&&(B.paddingConfig.valList[2].val=B.bottomConfig.val)),B.marginConfig||(B.marginConfig={title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},B.mbConfig&&(B.marginConfig.valList[0].val=B.mbConfig.val)),B)}return(B,y)=>(s(),u("div",E4,[(s(!0),u(q,null,ae(o.value,(Q,I)=>(s(),u("div",{key:I},[(s(),ce(Oe(Q.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:Q.configNme,key:I,index:t.activeIndex,num:Q.num},null,8,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),L4=fe(S4,[["__scopeId","data-v-d9c247e2"]]),N4=Object.freeze(Object.defineProperty({__proto__:null,default:L4},Symbol.toStringTag,{value:"Module"})),k4={class:"mobile-config"},V4=Object.assign({name:"c_bottom_menu",cname:"底部菜单",componentsName:"home_bottom_menu"},{__name:"c_bottom_menu",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([]);let i=0;M(()=>n.num,c=>{let f=c?A.defaultArray[c]:A.bottomMenu,g=JSON.parse(JSON.stringify(f||{}));g=d(g),e.value=g,i=g.setUp?g.setUp.tabVal:0,r()}),M(e,(c,f)=>{n.num?A.UPDATEARR({num:n.num,val:c}):A.UPBOTTOMMENU(c)},{deep:!0}),M(()=>{var c,f;return(f=(c=e.value)==null?void 0:c.setUp)==null?void 0:f.tabVal},(c,f)=>{i=c,r()},{deep:!0}),M(()=>{var c,f;return(f=(c=e.value)==null?void 0:c.entryConfig)==null?void 0:f.tabVal},(c,f)=>{r()},{deep:!0}),M(()=>{var c,f;return(f=(c=e.value)==null?void 0:c.menuConfig)==null?void 0:f.listStyle},(c,f)=>{r()},{deep:!0}),M(()=>{var c,f;return(f=(c=e.value)==null?void 0:c.toneConfig)==null?void 0:f.tabVal},(c,f)=>{r()},{deep:!0}),Ce(()=>{ve(()=>{let c;n.num?c=JSON.parse(JSON.stringify(A.defaultArray[n.num])):c=JSON.parse(JSON.stringify(A.bottomMenu)),e.value=d(c),i=e.value.setUp?e.value.setUp.tabVal:0,r()})});function m(){return{cname:"底部菜单",name:"bottomMenu",isHide:!1,setUp:{tabVal:0},entryConfig:{title:"入口内容",tabVal:0,tabList:[{name:"默认"},{name:"自定义"}]},styleTitle:"样式设置",contentConfigTitle:"内容设置",showContent:{title:"显示内容",name:"showContent",type:[3,1,2],list:[{id:3,name:"首页",icon:"icon-shouye6"},{id:1,name:"收藏",icon:"icon-shoucang4"},{id:2,name:"购物车",icon:"icon-gouwuche"},{id:0,name:"客服",icon:"icon-kefu"},{id:4,name:"分享",icon:"icon-fenxiang4"}]},cartButton:{title:"购物车按钮",tabVal:0,tabList:[{name:"显示"},{name:"隐藏"}]},menuConfig:{title:"最多可添加1张图片,建议宽度90 * 90px",bnt:"添加",type:1,listStyle:0,maxList:100,list:[{img:"",type:0,show:!0,icon:"",info:[{title:"标题",value:"标题",tips:"选填,不超过4个字",max:4},{title:"链接",value:"",tips:"请输入链接",max:100}]}]},buttonStyleTitle:"按钮设置",toneConfig:{title:"按钮色调",tabVal:0,tabList:[{name:"跟随主题风格"},{name:"自定义"}]},cartColor:{title:"购物车按钮",default:[{item:"#FAAD14"},{item:"#FAAD14"}],color:[{item:"#FAAD14"},{item:"#FAAD14"}]},buyColor:{title:"购买按钮",default:[{item:"#E93323"},{item:"#E93323"}],color:[{item:"#E93323"},{item:"#E93323"}]},generalStyleTitle:"通用样式",moduleColor:{title:"组件背景",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},bottomBgColor:{title:"底部背景",default:[{item:"#F5F5F5"}],color:[{item:"#F5F5F5"}]},c_common_style:{color:[{item:"#fff"},{item:"#fff"}],color2:[{item:"#F5F5F5"}],lr:0,type:0},iconColor:{title:"图标颜色",default:[{item:"#333"}],color:[{item:"#333"}]},iconSize:{title:"图标大小",val:20,min:10,max:50},iconRotate:{title:"旋转角度",val:0,min:0,max:360},padding:{title:"内边距",val:0,min:0,max:50},fillet:{title:"背景圆角",type:0,val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]},menuPcFillet:{title:"圆角设置",type:0,val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]}}}function a(c,f){if(Array.isArray(c))return Array.isArray(f)?f:JSON.parse(JSON.stringify(c));if(!c||typeof c!="object")return f===void 0?c:f;const g=JSON.parse(JSON.stringify(c));return!f||typeof f!="object"||Object.keys(f).forEach(p=>{g[p]&&typeof g[p]=="object"&&!Array.isArray(g[p])&&f[p]&&typeof f[p]=="object"&&!Array.isArray(f[p])?g[p]=a(g[p],f[p]):g[p]=f[p]}),g}function d(c){return c=a(m(),c||{}),c.paddingConfig||(c.paddingConfig={isAll:!1,title:"内边距",val:0,min:0,max:100,valList:[{val:c.topConfig?c.topConfig.val:0},{val:c.prConfig?c.prConfig.val:0},{val:c.bottomConfig?c.bottomConfig.val:0},{val:c.prConfig?c.prConfig.val:0}]}),c.marginConfig||(c.marginConfig={isAll:!1,title:"外边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:c.mbConfig?c.mbConfig.val:0},{val:0}]}),!c.c_common_style&&c.moduleColor&&(c.c_common_style={color:c.moduleColor.color,color2:c.bottomBgColor.color,lr:c.fillet.type?c.fillet.val:0,type:c.fillet.type}),c}function r(){if(!e.value.setUp)return;let c=[{components:C.c_set_up,configNme:"setUp"}];if(i==0){let f=[{components:C.c_title,configNme:"contentConfigTitle"},{components:C.c_radio,configNme:"entryConfig"}];e.value.entryConfig&&e.value.entryConfig.tabVal==1?f.push({components:C.c_menu_list,configNme:"menuConfig"},{components:C.c_radio,configNme:"cartButton"}):f=f.concat([{components:C.c_checkbox,configNme:"showContent"},{components:C.c_radio,configNme:"cartButton"}]),o.value=c.concat(f)}else{let f=[];e.value.entryConfig&&e.value.entryConfig.tabVal==1&&(e.value.menuConfig&&e.value.menuConfig.listStyle==0?(f.push({components:C.c_title,configNme:"styleTitle"}),f.push({components:C.c_fillet,configNme:"menuPcFillet"})):(f.push({components:C.c_title,configNme:"styleTitle"}),f.push({components:C.c_bg_color,configNme:"iconColor"}),f.push({components:C.c_slider,configNme:"iconSize"}),f.push({components:C.c_slider,configNme:"iconRotate"}))),f=f.concat([{components:C.c_title,configNme:"buttonStyleTitle"},{components:C.c_radio,configNme:"toneConfig"}]),e.value.toneConfig.tabVal==1&&(f.push({components:C.c_bg_color,configNme:"cartColor"}),f.push({components:C.c_bg_color,configNme:"buyColor"})),f=f.concat([{components:C.c_title,configNme:"generalStyleTitle"},{components:C.c_common_style,configNme:"c_common_style"}]),o.value=c.concat(f)}}return(c,f)=>(s(),u("div",k4,[(s(!0),u(q,null,ae(o.value,(g,p)=>(s(),u("div",{key:p},[(s(),ce(Oe(g.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:g.configNme,key:p,index:t.activeIndex,number:t.num,num:g.num},null,8,["configObj","configNme","index","number","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),O4=Object.freeze(Object.defineProperty({__proto__:null,default:V4},Symbol.toStringTag,{value:"Module"})),D4="/admin/system_static/no-sel-cum-Jj2skdZA.png",H4={class:"component-list"},T4={class:"list-wrapper"},j4=["onDragstart"],R4={class:"icon-box"},M4={class:"iconfont","aria-hidden":"true"},K4=["xlink:href"],P4={class:"text"},G4=Object.assign({name:"ComponentList"},{__name:"ComponentList",props:{type:{type:String,default:"user"}},setup(t){const n=t,A=v(["1"]),e=[{label:"图片",icon:"icontupian-2",type:"Picture",propValue:{url:"",width:80,height:80,borderRadius:0,isRadiusAll:!0,borderRadiusTopLeft:0,borderRadiusTopRight:0,borderRadiusBottomRight:0,borderRadiusBottomLeft:0,showShadow:!1,linkType:"url",link:"",shadowX:0,shadowY:0,shadowBlur:5,shadowSpread:0,shadowColor:"#000000",showBorder:!1,borderWidth:1,borderColor:"#000000",borderStyle:"solid"}},{label:"文本",icon:"iconwenben-2",type:"Text",propValue:{text:"",fontSize:12,color:"#000000",width:200,height:20,fontWeight:"normal",fontStyle:"normal",textDecoration:"none",textAlign:"left",lineHeight:1.5,letterSpacing:0,backgroundColor:"",bgColor2:"",bgDirection:"vertical",ellipsis:0,showBorder:!1,borderWidth:1,borderColor:"#000000",borderStyle:"solid",borderRadius:0,isRadiusAll:!0,borderRadiusTopLeft:0,borderRadiusTopRight:0,borderRadiusBottomRight:0,borderRadiusBottomLeft:0,paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0,linkType:"url",link:"",showTextShadow:!1,shadowX:0,shadowY:0,shadowBlur:5,shadowSpread:0,shadowColor:"#000000"}},{label:"图标",icon:"icontubiao-2",type:"Icon",propValue:{class:"icon-wutouxiang",size:20,color:"#000000",width:30,height:30,rotate:0,iconAlign:"center",backgroundColor:"",bgColor2:"",bgDirection:"vertical",linkType:"url",link:"",showBorder:!1,borderWidth:1,borderColor:"#000000",borderStyle:"solid",borderRadius:0,isRadiusAll:!0,borderRadiusTopLeft:0,borderRadiusTopRight:0,borderRadiusBottomRight:0,borderRadiusBottomLeft:0,paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}},{label:"线条",icon:"iconxiantiao-2",type:"Line",propValue:{style:"solid",width:200,height:2,color:"#000000",direction:"horizontal"}},{label:"面板",icon:"iconmianban-2",type:"Panel",propValue:{width:100,height:100,backgroundColor:"#ffffff",bgColor2:"",bgDirection:"vertical",borderRadius:0,isRadiusAll:!0,borderRadiusTopLeft:0,borderRadiusTopRight:0,borderRadiusBottomRight:0,borderRadiusBottomLeft:0,showShadow:!1,linkType:"url",link:"",shadowX:0,shadowY:0,shadowBlur:5,shadowSpread:0,shadowColor:"#000000",showBorder:!1,borderWidth:1,borderColor:"#000000",borderStyle:"solid"}}];function o(i,m){const a={...m,propValue:{...m.propValue}};n.type==="goods"&&a.propValue.linkType!==void 0&&(a.propValue.linkType="detail"),i.dataTransfer.setData("component",JSON.stringify(a))}return(i,m)=>{const a=X("el-collapse-item"),d=X("el-collapse");return s(),u("div",H4,[L(d,{modelValue:A.value,"onUpdate:modelValue":m[0]||(m[0]=r=>A.value=r)},{default:P(()=>[L(a,{title:"组件",name:"1"},{default:P(()=>[l("div",T4,[(s(),u(q,null,ae(e,(r,c)=>l("div",{key:c,class:"list-item",draggable:"true",onDragstart:f=>o(f,r)},[l("div",R4,[(s(),u("svg",M4,[l("use",{"xlink:href":"#"+r.icon},null,8,K4)]))]),l("div",P4,$(r.label),1)],40,j4)),64))])]),_:1})]),_:1},8,["modelValue"])])}}}),z4=fe(G4,[["__scopeId","data-v-ddf75722"]]),J4=["onMousedown"],Y4={class:"shape-lock"},X4=Object.assign({name:"Shape"},{__name:"Shape",props:{active:{type:Boolean,default:!1},element:{type:Object,default:()=>({})},defaultStyle:{type:Object,default:()=>({})},index:{type:[Number,String],default:0}},emits:["select","resize","end"],setup(t,{emit:n}){const A=t,e=n,o=v(null),i=["lt","t","rt","r","rb","b","lb","l"],m={lt:"nw-resize",t:"n-resize",rt:"ne-resize",r:"e-resize",rb:"se-resize",b:"s-resize",lb:"sw-resize",l:"w-resize"};function a(g){let{width:p,height:b}=A.defaultStyle;p=Number(p),b=Number(b),A.element.component==="Line"&&(b+=10);const _=/t/.test(g),B=/b/.test(g),y=/l/.test(g),Q=/r/.test(g);let I=0,N=0;return g.length===2?(I=y?0:p,N=_?0:b):((_||B)&&(I=p/2,N=_?0:b),(y||Q)&&(I=y?0:p,N=b/2)),{marginLeft:"-4px",marginTop:"-4px",left:`${I}px`,top:`${N}px`,cursor:m[g]}}function d(){e("select",A.element,A.index)}function r(g){if(A.element.isLock)return;g.stopPropagation(),e("select",A.element,A.index);const p={...A.defaultStyle},b=g.clientY,_=g.clientX,B=Number(p.top),y=Number(p.left),Q=N=>{const w=N.clientX,h=N.clientY;p.top=h-b+B,p.left=w-_+y,e("resize",p)},I=()=>{document.removeEventListener("mousemove",Q),document.removeEventListener("mouseup",I),e("end")};document.addEventListener("mousemove",Q),document.addEventListener("mouseup",I)}function c(g){g.stopPropagation(),g.preventDefault();const p={...A.defaultStyle},b=g.clientY,_=g.clientX,B=p.rotate||0,y=o.value.getBoundingClientRect(),Q=y.left+y.width/2,I=y.top+y.height/2,N=Math.atan2(b-I,_-Q)*180/Math.PI,w=E=>{const F=E.clientX,x=E.clientY,j=Math.atan2(x-I,F-Q)*180/Math.PI;p.rotate=(B+j-N+360)%360,e("resize",p)},h=()=>{document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",h),e("end")};document.addEventListener("mousemove",w),document.addEventListener("mouseup",h)}function f(g,p){p.stopPropagation(),p.preventDefault();const b={...A.defaultStyle},_=p.clientX,B=p.clientY,y=parseFloat(b.width),Q=parseFloat(b.height),I=parseFloat(b.top),N=parseFloat(b.left),w=b.rotate||0,h=o.value.getBoundingClientRect();h.left+h.width/2,h.top+h.height/2;const E=j=>{const D=j.clientX,V=j.clientY,S=D-_,k=V-B,K=w*Math.PI/180,J=Math.cos(K),ee=Math.sin(K),T=S*J+k*ee,H=k*J-S*ee,R=/t/.test(g),G=/b/.test(g),z=/l/.test(g),ie=/r/.test(g);let Y=Q+(R?-H:G?H:0),Z=y+(z?-T:ie?T:0);if(A.element.isRatioLock){const De=y/Q;if(z&&ie||(z||ie?Y=Z/De:(R||G)&&(Z=Y*De)),(z||ie)&&(R||G)){const _e=Math.abs(Z-y),Ie=Math.abs(Y-Q);_e/y>Ie/Q?Y=Z/De:Z=Y*De}}F.width=Z>2?Z:2,F.height=Y>2?Y:2;const re=N+y/2,te=I+Q/2,ge=F.width-y,W=F.height-Q;let Ae=0,me=0;ie&&(Ae=ge/2),z&&(Ae=-ge/2),G&&(me=W/2),R&&(me=-W/2);const ye=Ae*J-me*ee,Te=Ae*ee+me*J,Pe=re+ye,Qe=te+Te;F.left=Pe-F.width/2,F.top=Qe-F.height/2,e("resize",F)},F={...b},x=()=>{document.removeEventListener("mousemove",E),document.removeEventListener("mouseup",x),e("end")};document.addEventListener("mousemove",E),document.addEventListener("mouseup",x)}return(g,p)=>(s(),u("div",{class:ue(["shape",{active:t.active}]),ref_key:"shapeRef",ref:o,onClick:Re(d,["stop"]),onMousedown:r},[(s(!0),u(q,null,ae(t.active?i:[],b=>Ze((s(),u("span",{key:b,class:"shape-point",style:U(a(b)),onMousedown:Re(_=>f(b,_),["stop"])},null,44,J4)),[[ft,t.active&&!t.element.isLock]])),128)),Ze(l("span",{class:"shape-rotate",onMousedown:Re(c,["stop"])},[...p[0]||(p[0]=[l("i",{class:"el-icon-refresh-right"},null,-1)])],544),[[ft,t.active&&!t.element.isLock]]),Ze(l("span",Y4,[...p[1]||(p[1]=[l("i",{class:"el-icon-lock"},null,-1)])],512),[[ft,t.element.isLock]]),nc(g.$slots,"default",{},void 0,!0)],34))}}),W4=fe(X4,[["__scopeId","data-v-9e4a2235"]]),$4="/admin/system_static/pic-decode-D8MM0CKv.png";function Ka(){return Number(Math.random().toString().substr(3,length)+Date.now()).toString(36)}function Yt(t){if(typeof t=="object"){const n=Array.isArray(t)?[]:{};for(const A in t)typeof t[A]=="object"?n[A]=Yt(t[A]):n[A]=t[A];return n}return t}const Z4={style:{width:"100%",height:"100%"}},q4=["src"],eF={key:3,style:{display:"flex","align-items":"center","justify-content":"center",width:"100%",height:"100%",padding:"5px 0","box-sizing":"border-box"}},tF=Object.assign({name:"Editor"},{__name:"Editor",props:{componentData:{type:Array,default:()=>[]},canvasStyle:{type:Object,default:()=>({})},curComponent:{type:Object,default:null},type:{type:String,default:"user"},fieldList:{type:Object,default:()=>({})}},emits:["update:componentData","multi-select","select","record","delete","copy","move"],setup(t,{emit:n}){const A=t,e=n,o=v(null),i=Mn({v:0,h:0,showV:!1,showH:!1}),m=v(!1),a=Mn({x:0,y:0}),d=v(0),r=v(0),c=v([]);M(c,V=>{e("multi-select",V)}),M(()=>A.curComponent,V=>{V?c.value.includes(V.id)||(c.value=[V.id]):c.value=[]},{immediate:!0});const f=pe(()=>{const S={user:"user",article:"article",coupon:"coupon",goods:"product"}[A.type]||"user",k=A.fieldList[S]||[];return Array.isArray(k)?k.map(K=>typeof K=="object"?{label:K.label||K.title||K.name,value:K.value||K.field||K.key||K.name}:{label:K,value:K}):typeof k=="object"?Object.keys(k).map(K=>({label:k[K],value:K})):[]});function g(V){const S={width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none",boxSizing:"border-box",borderWidth:(V.showBorder?V.borderWidth:0)+"px",borderColor:V.borderColor||"transparent",borderStyle:V.borderStyle||"solid"};return V.isRadiusAll?S.borderRadius=(V.borderRadius||0)+"px":S.borderRadius=`${V.borderRadiusTopLeft||0}px ${V.borderRadiusTopRight||0}px ${V.borderRadiusBottomRight||0}px ${V.borderRadiusBottomLeft||0}px`,V.showShadow&&(S.boxShadow=`${V.shadowX||0}px ${V.shadowY||0}px ${V.shadowBlur||0}px ${V.shadowSpread||0}px ${V.shadowColor||"rgba(0,0,0,0.5)"}`),S}function p(V){const S={display:"flex",justifyContent:V.iconAlign||"center",alignItems:"center",width:"100%",height:"100%",boxSizing:"border-box",borderWidth:(V.showBorder?V.borderWidth:0)+"px",borderColor:V.borderColor||"transparent",borderStyle:V.borderStyle||"solid",padding:`${V.paddingTop||0}px ${V.paddingRight||0}px ${V.paddingBottom||0}px ${V.paddingLeft||0}px`};if(V.bgColor2){const K={horizontal:"90deg",vertical:"180deg","left-diagonal":"135deg","right-diagonal":"45deg"}[V.bgDirection]||"180deg";S.backgroundImage=`linear-gradient(${K}, ${V.backgroundColor||"transparent"}, ${V.bgColor2})`}else S.backgroundColor=V.backgroundColor||"transparent";return V.isRadiusAll?S.borderRadius=(V.borderRadius||0)+"px":S.borderRadius=`${V.borderRadiusTopLeft||0}px ${V.borderRadiusTopRight||0}px ${V.borderRadiusBottomRight||0}px ${V.borderRadiusBottomLeft||0}px`,S}function b(V){const S={fontSize:V.fontSize+"px",color:V.color,lineHeight:V.lineHeight,letterSpacing:(V.letterSpacing||0)+"px",fontWeight:V.fontWeight||"normal",fontStyle:V.fontStyle||"normal",textDecoration:V.textDecoration||"none",textAlign:V.textAlign||"left",boxSizing:"border-box",wordBreak:"break-all"};return V.ellipsis>0&&(S.display="-webkit-box",S.WebkitBoxOrient="vertical",S.WebkitLineClamp=V.ellipsis,S.overflow="hidden"),S.whiteSpace="normal",V.showTextShadow&&(S.textShadow=`${V.shadowX||0}px ${V.shadowY||0}px ${V.shadowBlur||0}px ${V.shadowColor||"rgba(0,0,0,0.5)"}`),S}function _(V){const S={height:"100%",borderWidth:(V.showBorder?V.borderWidth:0)+"px",borderColor:V.borderColor||"transparent",borderStyle:V.borderStyle||"solid",padding:`${V.paddingTop||0}px ${V.paddingRight||0}px ${V.paddingBottom||0}px ${V.paddingLeft||0}px`};if(V.bgColor2){const K={horizontal:"90deg",vertical:"180deg","left-diagonal":"135deg","right-diagonal":"45deg"}[V.bgDirection]||"180deg";S.backgroundImage=`linear-gradient(${K}, ${V.backgroundColor||"transparent"}, ${V.bgColor2})`}else S.backgroundColor=V.backgroundColor||"transparent";return V.showBorder&&V.borderWidth&&(S.backgroundSize=`100% calc(100% + ${V.borderWidth*2||0}px`,S.backgroundPosition=`0px -${V.borderWidth||0}px`),V.isRadiusAll?S.borderRadius=(V.borderRadius||0)+"px":S.borderRadius=`${V.borderRadiusTopLeft||0}px ${V.borderRadiusTopRight||0}px ${V.borderRadiusBottomRight||0}px ${V.borderRadiusBottomLeft||0}px`,S}function B(V){const S={width:"100%",height:"100%",boxSizing:"border-box",borderWidth:(V.showBorder?V.borderWidth:0)+"px",borderColor:V.borderColor||"transparent",borderStyle:V.borderStyle||"solid",padding:`${V.paddingTop||0}px ${V.paddingRight||0}px ${V.paddingBottom||0}px ${V.paddingLeft||0}px`};if(V.bgColor2){const K={horizontal:"90deg",vertical:"180deg","left-diagonal":"135deg","right-diagonal":"45deg"}[V.bgDirection]||"180deg";S.backgroundImage=`linear-gradient(${K}, ${V.backgroundColor||"transparent"}, ${V.bgColor2})`}else S.backgroundColor=V.backgroundColor||"transparent";return V.isRadiusAll?S.borderRadius=(V.borderRadius||0)+"px":S.borderRadius=`${V.borderRadiusTopLeft||0}px ${V.borderRadiusTopRight||0}px ${V.borderRadiusBottomRight||0}px ${V.borderRadiusBottomLeft||0}px`,V.showBorder&&V.borderWidth&&(S.backgroundSize=`100% calc(100% + ${V.borderWidth*2||0}px`,S.backgroundPosition=`0px -${V.borderWidth||0}px`),V.showShadow&&(S.boxShadow=`${V.shadowX||0}px ${V.shadowY||0}px ${V.shadowBlur||0}px ${V.shadowSpread||0}px ${V.shadowColor||"#000000"}`),S}function y(V){if(V.propValue.fieldType){const S=f.value.find(J=>J.value===V.propValue.fieldType),k=S?S.label:"",K=V.propValue.text||"";return K?`${K}${k}`:k}return V.propValue.text||""}function Q(V){V.preventDefault(),V.stopPropagation();const S=V.dataTransfer.getData("component");if(!S)return;const k=JSON.parse(S),K=o.value.getBoundingClientRect();let J=V.clientX-K.left,ee=V.clientY-K.top;const T=parseInt(A.canvasStyle.width),H=parseInt(A.canvasStyle.height),R=k.propValue.width,G=k.propValue.height;J<0&&(J=0),ee<0&&(ee=0),J+R>T&&(J=T-R),ee+G>H&&(ee=H-G);const z={id:Ka(),component:k.type,label:k.label,style:{top:ee,left:J,width:k.propValue.width,height:k.propValue.height,zIndex:1},propValue:Yt(k.propValue)};e("update:componentData",[...A.componentData,z]),e("record"),e("select",z,A.componentData.length)}function I(V){V.preventDefault(),V.dataTransfer.dropEffect="copy"}function N(V){V.stopPropagation(),e("select",null,-1),c.value=[];const S=o.value.getBoundingClientRect(),k=V.clientX-S.left,K=V.clientY-S.top;a.x=k,a.y=K,m.value=!0,d.value=0,r.value=0;const J=T=>{const H=T.clientX-S.left,R=T.clientY-S.top;d.value=Math.abs(H-k),r.value=Math.abs(R-K),a.x=Math.min(H,k),a.y=Math.min(R,K)},ee=()=>{document.removeEventListener("mousemove",J),document.removeEventListener("mouseup",ee),m.value=!1;const T=[];if(A.componentData.forEach(H=>{if(H.isHidden)return;const{left:R,top:G,width:z,height:ie}=H.style;Ra.x&&Ga.y&&T.push(H.id)}),T.length>0){c.value=T;const H=T[T.length-1],R=A.componentData.find(z=>z.id===H),G=A.componentData.findIndex(z=>z.id===H);e("select",R,G)}};document.addEventListener("mousemove",J),document.addEventListener("mouseup",ee)}function w(V,S){V?c.value.includes(V.id)||(c.value=[V.id]):c.value=[],e("select",V,S)}function h(V){if(A.curComponent){const S=parseInt(A.canvasStyle.width),k=parseInt(A.canvasStyle.height),K=V.width!==A.curComponent.style.width||V.height!==A.curComponent.style.height;let J=0,ee=0;if(K||(J=V.left-A.curComponent.style.left,ee=V.top-A.curComponent.style.top),K)V.left<0&&(V.width+=V.left,V.left=0),V.top<0&&(V.height+=V.top,V.top=0),V.left+V.width>S&&(V.left!==A.curComponent.style.left?V.left=S-V.width:V.width=S-V.left),V.top+V.height>k&&(V.top!==A.curComponent.style.top?V.top=k-V.height:V.height=k-V.top),i.showV=!1,i.showH=!1;else{const T=V.rotate||0;if(T===0)V.left<0&&(V.left=0),V.top<0&&(V.top=0),V.left+V.width>S&&(V.left=S-V.width),V.top+V.height>k&&(V.top=k-V.height);else{const ge=T*Math.PI/180,W=V.width,Ae=V.height,me=W*Math.abs(Math.cos(ge))+Ae*Math.abs(Math.sin(ge)),ye=W*Math.abs(Math.sin(ge))+Ae*Math.abs(Math.cos(ge)),Te=(me-W)/2,Pe=S-(W+me)/2,Qe=(ye-Ae)/2,De=k-(Ae+ye)/2;V.leftPe&&(V.left=Pe),V.topDe&&(V.top=De)}J=V.left-A.curComponent.style.left,ee=V.top-A.curComponent.style.top;const H=5,R=V.left+V.width/2,G=V.top+V.height/2;let z=null,ie=H,Y=null,Z=H;const re=S/2,te=k/2;if(Math.abs(R-re){if(ge.id===A.curComponent.id||ge.isHidden||c.value.includes(ge.id))return;const W=ge.style.left+ge.style.width/2,Ae=ge.style.top+ge.style.height/2,me=Math.abs(R-W);me1&&c.value.forEach(T=>{if(T===A.curComponent.id)return;const H=A.componentData.find(R=>R.id===T);H&&(H.style.left+=J,H.style.top+=ee)}),A.curComponent.component==="Line"&&(A.curComponent.propValue.direction==="horizontal"?A.curComponent.propValue.height=V.height:A.curComponent.propValue.height=V.width)}}function E(){i.showV=!1,i.showH=!1,e("record","调整组件")}function F(V){e("delete",V)}function x(V){e("copy",V)}function j(V,S){e("move",{index:V,type:S})}function D(V){const S=V.style,k=V.component==="Line";return{top:(k?Number(S.top)-5:S.top)+"px",left:S.left+"px",width:S.width+"px",height:(k?Number(S.height)+10:S.height)+"px",zIndex:S.zIndex,transform:`rotate(${S.rotate||0}deg)`}}return(V,S)=>(s(),u("div",{ref_key:"editorRef",ref:o,class:"editor",id:"editor",style:U(t.canvasStyle),onDrop:Q,onDragover:I,onMousedown:N},[S[0]||(S[0]=l("div",{class:"grid-bg"},null,-1)),(s(!0),u(q,null,ae(t.componentData,(k,K)=>(s(),u(q,{key:k.id},[k.isHidden?O("",!0):(s(),ce(W4,{key:0,defaultStyle:k.style,style:U(D(k)),active:c.value.includes(k.id),element:k,index:K,onSelect:w,onResize:h,onEnd:E,onDelete:J=>F(K),onCopy:J=>x(k),onMove:J=>j(K,J)},{default:P(()=>[l("div",Z4,[k.component==="Picture"?(s(),u("img",{key:0,src:k.propValue.url||de($4),style:U(g(k.propValue))},null,12,q4)):O("",!0),k.component==="Text"?(s(),u("div",{key:1,style:U(_(k.propValue))},[l("div",{style:U(b(k.propValue))},$(y(k)||"请填写或选择信息"),5)],4)):k.component==="Icon"?(s(),u("div",{key:2,style:U(p(k.propValue))},[l("span",{class:ue(["mb-iconfont",k.propValue.class]),style:U({fontSize:k.propValue.size+"px",color:k.propValue.color})},null,6)],4)):k.component==="Line"?(s(),u("div",eF,[l("div",{style:U({width:k.propValue.direction==="vertical"?"0px":"100%",height:k.propValue.direction==="vertical"?"100%":"0px",borderTop:k.propValue.direction==="vertical"?"none":k.propValue.height+"px "+k.propValue.style+" "+k.propValue.color,borderLeft:k.propValue.direction==="vertical"?k.propValue.height+"px "+k.propValue.style+" "+k.propValue.color:"none"})},null,4)])):k.component==="Panel"?(s(),u("div",{key:4,style:U(B(k.propValue))},null,4)):O("",!0)])]),_:2},1032,["defaultStyle","style","active","element","index","onDelete","onCopy","onMove"]))],64))),128)),Ze(l("div",{class:"guideline-v",style:U({left:i.v+"px"})},null,4),[[ft,i.showV]]),Ze(l("div",{class:"guideline-h",style:U({top:i.h+"px"})},null,4),[[ft,i.showH]]),Ze(l("div",{class:"area-selector",style:U({left:a.x+"px",top:a.y+"px",width:d.value+"px",height:r.value+"px"})},null,4),[[ft,m.value]])],36))}}),oF=fe(tF,[["__scopeId","data-v-1ae2ae2a"]]),AF={class:"position-settings"},nF={class:"row"},lF={class:"row"},iF={class:"row"},aF=Object.assign({name:"ConfigPosition"},{__name:"ConfigPosition",props:{curComponent:{type:Object,required:!0},canvasWidth:{type:Number,required:!0},canvasHeight:{type:Number,required:!0}},emits:["change"],setup(t,{emit:n}){const A=n;function e(){A("change")}return(o,i)=>{const m=X("el-slider"),a=X("el-input-number"),d=X("el-form-item"),r=X("el-form");return s(),u("div",AF,[i[6]||(i[6]=l("div",{class:"section-title"},"位置设置",-1)),L(r,{"label-width":"70px","label-position":"left"},{default:P(()=>[L(d,{label:"X 坐标"},{default:P(()=>[l("div",nF,[L(m,{modelValue:t.curComponent.style.left,"onUpdate:modelValue":i[0]||(i[0]=c=>t.curComponent.style.left=c),max:t.canvasWidth-t.curComponent.style.width,min:0,onChange:e,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue","max"]),L(a,{modelValue:t.curComponent.style.left,"onUpdate:modelValue":i[1]||(i[1]=c=>t.curComponent.style.left=c),max:t.canvasWidth-t.curComponent.style.width,min:0,onChange:e,style:{width:"90px"}},null,8,["modelValue","max"])])]),_:1}),L(d,{label:"Y 坐标"},{default:P(()=>[l("div",lF,[L(m,{modelValue:t.curComponent.style.top,"onUpdate:modelValue":i[2]||(i[2]=c=>t.curComponent.style.top=c),max:t.canvasHeight-t.curComponent.style.height,min:0,onChange:e,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue","max"]),L(a,{modelValue:t.curComponent.style.top,"onUpdate:modelValue":i[3]||(i[3]=c=>t.curComponent.style.top=c),max:t.canvasHeight-t.curComponent.style.height,min:0,onChange:e,style:{width:"90px"}},null,8,["modelValue","max"])])]),_:1}),L(d,{label:"旋转角度"},{default:P(()=>[l("div",iF,[L(m,{modelValue:t.curComponent.style.rotate,"onUpdate:modelValue":i[4]||(i[4]=c=>t.curComponent.style.rotate=c),max:360,min:0,onChange:e,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue"]),L(a,{modelValue:t.curComponent.style.rotate,"onUpdate:modelValue":i[5]||(i[5]=c=>t.curComponent.style.rotate=c),max:360,min:0,onChange:e,style:{width:"90px"}},null,8,["modelValue"])])]),_:1})]),_:1})])}}}),jl=fe(aF,[["__scopeId","data-v-41d60e65"]]),sF={class:"size-container"},cF={class:"row"},rF={class:"lock-wrapper"},uF={class:"row"},dF=Object.assign({name:"ConfigSize"},{__name:"ConfigSize",props:{curComponent:{type:Object,required:!0},canvasWidth:{type:Number,required:!0},canvasHeight:{type:Number,required:!0},labelPrefix:{type:String,default:"容器"}},emits:["change"],setup(t,{emit:n}){const A=t,e=n,o=v(!1),i=v(1);M(()=>{var c;return(c=A.curComponent)==null?void 0:c.id},c=>{c&&A.curComponent&&A.curComponent.style&&(o.value=!!A.curComponent.isRatioLock,o.value&&(i.value=A.curComponent.style.width/A.curComponent.style.height))},{immediate:!0});function m(){e("change")}function a(){o.value=!o.value,A.curComponent.isRatioLock=o.value,o.value&&(i.value=A.curComponent.style.width/A.curComponent.style.height)}function d(c){o.value&&(A.curComponent.style.height=Math.round(c/i.value)),m()}function r(c){o.value&&(A.curComponent.style.width=Math.round(c*i.value)),m()}return(c,f)=>{const g=X("el-slider"),p=X("el-input-number"),b=X("el-form-item");return s(),u("div",null,[l("div",sF,[L(b,{label:t.labelPrefix+"宽度",class:"size-item"},{default:P(()=>[l("div",cF,[L(g,{modelValue:t.curComponent.style.width,"onUpdate:modelValue":f[0]||(f[0]=_=>t.curComponent.style.width=_),max:t.canvasWidth,min:10,onChange:d,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue","max"]),L(p,{modelValue:t.curComponent.style.width,"onUpdate:modelValue":f[1]||(f[1]=_=>t.curComponent.style.width=_),max:t.canvasWidth,min:10,onChange:d,style:{width:"70px"},controls:!1},null,8,["modelValue","max"])])]),_:1},8,["label"]),l("div",rF,[f[5]||(f[5]=l("div",{class:"lock-line"},null,-1)),l("div",{class:ue(["lock-btn",{active:o.value}]),onClick:a,title:"锁定宽高"},[...f[4]||(f[4]=[l("span",{class:"iconfont iconsuodingbili"},null,-1)])],2)]),L(b,{label:t.labelPrefix+"高度",class:"size-item"},{default:P(()=>[l("div",uF,[L(g,{modelValue:t.curComponent.style.height,"onUpdate:modelValue":f[2]||(f[2]=_=>t.curComponent.style.height=_),max:t.canvasHeight,min:10,onChange:r,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue","max"]),L(p,{modelValue:t.curComponent.style.height,"onUpdate:modelValue":f[3]||(f[3]=_=>t.curComponent.style.height=_),max:t.canvasHeight,min:10,onChange:r,style:{width:"70px"},controls:!1},null,8,["modelValue","max"])])]),_:1},8,["label"])])])}}}),gA=fe(dF,[["__scopeId","data-v-8bf463db"]]),mF={class:"row"},gF={class:"row"},fF=Object.assign({name:"ConfigBorder"},{__name:"ConfigBorder",props:{curComponent:{type:Object,required:!0}},emits:["change"],setup(t,{emit:n}){const A=n;function e(){A("change")}return(o,i)=>{const m=X("el-radio"),a=X("el-radio-group"),d=X("el-form-item"),r=X("el-slider"),c=X("el-input-number"),f=X("el-color-picker"),g=X("el-input");return s(),u("div",null,[L(d,{label:"边框显示"},{default:P(()=>[L(a,{modelValue:t.curComponent.propValue.showBorder,"onUpdate:modelValue":i[0]||(i[0]=p=>t.curComponent.propValue.showBorder=p),onChange:e},{default:P(()=>[L(m,{label:!1,value:!1},{default:P(()=>[...i[7]||(i[7]=[se("隐藏",-1)])]),_:1}),L(m,{label:!0,value:!0},{default:P(()=>[...i[8]||(i[8]=[se("显示",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),t.curComponent.propValue.showBorder?(s(),u(q,{key:0},[L(d,{label:"边框样式"},{default:P(()=>[L(a,{modelValue:t.curComponent.propValue.borderStyle,"onUpdate:modelValue":i[1]||(i[1]=p=>t.curComponent.propValue.borderStyle=p),onChange:e},{default:P(()=>[L(m,{label:"solid",value:"solid"},{default:P(()=>[...i[9]||(i[9]=[se("实线",-1)])]),_:1}),L(m,{label:"dashed",value:"dashed"},{default:P(()=>[...i[10]||(i[10]=[se("虚线",-1)])]),_:1}),L(m,{label:"dotted",value:"dotted"},{default:P(()=>[...i[11]||(i[11]=[se("点状",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),L(d,{label:"边框粗细"},{default:P(()=>[l("div",mF,[L(r,{modelValue:t.curComponent.propValue.borderWidth,"onUpdate:modelValue":i[2]||(i[2]=p=>t.curComponent.propValue.borderWidth=p),max:20,onChange:e,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue"]),L(c,{modelValue:t.curComponent.propValue.borderWidth,"onUpdate:modelValue":i[3]||(i[3]=p=>t.curComponent.propValue.borderWidth=p),max:20,onChange:e,style:{width:"90px"}},null,8,["modelValue"])])]),_:1}),L(d,{label:"边框颜色"},{default:P(()=>[l("div",gF,[L(f,{modelValue:t.curComponent.propValue.borderColor,"onUpdate:modelValue":i[4]||(i[4]=p=>t.curComponent.propValue.borderColor=p),onChange:e,"show-alpha":""},null,8,["modelValue"]),L(g,{modelValue:t.curComponent.propValue.borderColor,"onUpdate:modelValue":i[5]||(i[5]=p=>t.curComponent.propValue.borderColor=p),placeholder:"请输入颜色",onChange:e,style:{"margin-left":"10px",flex:"1"}},null,8,["modelValue"]),l("span",{class:"reset-color",onClick:i[6]||(i[6]=p=>{t.curComponent.propValue.borderColor="#000000",e()})},"重置")])]),_:1})],64)):O("",!0)])}}}),fA=fe(fF,[["__scopeId","data-v-9b7ca4c2"]]),vF={class:"c_row"},pF={class:"c_content"},CF={class:"main-setting"},_F={key:0,class:"sub-settings"},bF={class:"sub-item"},BF={class:"input-box"},hF={class:"sub-item"},yF={class:"input-box"},wF={class:"sub-item"},QF={class:"input-box"},xF={class:"sub-item"},IF={class:"input-box"},UF=Object.assign({name:"ConfigRadius"},{__name:"ConfigRadius",props:{curComponent:{type:Object,required:!0},labelPrefix:{type:String,default:""}},emits:["change"],setup(t,{emit:n}){const A=t,e=n;function o(){e("change")}function i(){const a=!A.curComponent.propValue.isRadiusAll;if(A.curComponent.propValue.isRadiusAll=a,a)m(A.curComponent.propValue.borderRadius);else{const d=A.curComponent.propValue.borderRadius||0;A.curComponent.propValue.borderRadiusTopLeft=d,A.curComponent.propValue.borderRadiusTopRight=d,A.curComponent.propValue.borderRadiusBottomRight=d,A.curComponent.propValue.borderRadiusBottomLeft=d}o()}function m(a){A.curComponent.propValue.borderRadius=a,A.curComponent.propValue.isRadiusAll&&(A.curComponent.propValue.borderRadiusTopLeft=a,A.curComponent.propValue.borderRadiusTopRight=a,A.curComponent.propValue.borderRadiusBottomRight=a,A.curComponent.propValue.borderRadiusBottomLeft=a),o()}return(a,d)=>{const r=X("el-slider"),c=X("el-input-number"),f=X("el-form-item");return s(),ce(f,{label:`${t.labelPrefix}圆角`,class:"margin-style-config"},{default:P(()=>[l("div",vF,[l("div",pF,[l("div",CF,[L(r,{modelValue:t.curComponent.propValue.borderRadius,"onUpdate:modelValue":d[0]||(d[0]=g=>t.curComponent.propValue.borderRadius=g),"show-input":"",min:0,max:100,onInput:m,"show-input-controls":!1,"input-size":"small"},null,8,["modelValue"]),l("div",{class:ue(["expand-icon",t.curComponent.propValue.isRadiusAll?"":"selected"]),onClick:i},[...d[5]||(d[5]=[l("span",{class:"iconfont iconcaozuo-bianjiao"},null,-1)])],2)]),t.curComponent.propValue.isRadiusAll?O("",!0):(s(),u("div",_F,[l("div",bF,[l("div",BF,[d[6]||(d[6]=l("span",{class:"prefix-icon iconfont iconzuoshangjiao"},null,-1)),L(c,{modelValue:t.curComponent.propValue.borderRadiusTopLeft,"onUpdate:modelValue":d[1]||(d[1]=g=>t.curComponent.propValue.borderRadiusTopLeft=g),min:0,max:100,"controls-position":"right",onChange:o},null,8,["modelValue"])])]),l("div",hF,[l("div",yF,[d[7]||(d[7]=l("span",{class:"prefix-icon iconfont iconyoushangjiao"},null,-1)),L(c,{modelValue:t.curComponent.propValue.borderRadiusTopRight,"onUpdate:modelValue":d[2]||(d[2]=g=>t.curComponent.propValue.borderRadiusTopRight=g),min:0,max:100,"controls-position":"right",onChange:o},null,8,["modelValue"])])]),l("div",wF,[l("div",QF,[d[8]||(d[8]=l("span",{class:"prefix-icon iconfont iconzuoxiajiao"},null,-1)),L(c,{modelValue:t.curComponent.propValue.borderRadiusBottomLeft,"onUpdate:modelValue":d[3]||(d[3]=g=>t.curComponent.propValue.borderRadiusBottomLeft=g),min:0,max:100,"controls-position":"right",onChange:o},null,8,["modelValue"])])]),l("div",xF,[l("div",IF,[d[9]||(d[9]=l("span",{class:"prefix-icon iconfont iconyouxiajiao"},null,-1)),L(c,{modelValue:t.curComponent.propValue.borderRadiusBottomRight,"onUpdate:modelValue":d[4]||(d[4]=g=>t.curComponent.propValue.borderRadiusBottomRight=g),min:0,max:100,"controls-position":"right",onChange:o},null,8,["modelValue"])])])]))])])]),_:1},8,["label"])}}}),vA=fe(UF,[["__scopeId","data-v-0f00402e"]]),FF={style:{"margin-bottom":"10px"}},EF={class:"row"},SF={class:"row",style:{"margin-top":"10px"}},LF=Object.assign({name:"ConfigBackground"},{__name:"ConfigBackground",props:{curComponent:{type:Object,required:!0}},emits:["change"],setup(t,{emit:n}){const A=n;function e(){A("change")}return(o,i)=>{const m=X("el-radio"),a=X("el-radio-group"),d=X("el-color-picker"),r=X("el-input"),c=X("el-form-item");return s(),ce(c,{label:"背景色"},{default:P(()=>[l("div",FF,[L(a,{modelValue:t.curComponent.propValue.bgDirection,"onUpdate:modelValue":i[0]||(i[0]=f=>t.curComponent.propValue.bgDirection=f),onChange:e},{default:P(()=>[L(m,{label:"horizontal",value:"horizontal"},{default:P(()=>[...i[7]||(i[7]=[se("横向",-1)])]),_:1}),L(m,{label:"vertical",value:"vertical"},{default:P(()=>[...i[8]||(i[8]=[se("纵向",-1)])]),_:1}),L(m,{label:"left-diagonal",value:"left-diagonal"},{default:P(()=>[...i[9]||(i[9]=[se("左斜",-1)])]),_:1}),L(m,{label:"right-diagonal",value:"right-diagonal"},{default:P(()=>[...i[10]||(i[10]=[se("右斜",-1)])]),_:1})]),_:1},8,["modelValue"])]),l("div",EF,[i[11]||(i[11]=l("div",{class:"iconfont iconlianjie"},null,-1)),L(d,{modelValue:t.curComponent.propValue.backgroundColor,"onUpdate:modelValue":i[1]||(i[1]=f=>t.curComponent.propValue.backgroundColor=f),onChange:e,"show-alpha":""},null,8,["modelValue"]),L(r,{modelValue:t.curComponent.propValue.backgroundColor,"onUpdate:modelValue":i[2]||(i[2]=f=>t.curComponent.propValue.backgroundColor=f),placeholder:"请输入颜色",onChange:e,style:{"margin-left":"10px",flex:"1"}},null,8,["modelValue"]),l("span",{class:"reset-btn",onClick:i[3]||(i[3]=f=>{t.curComponent.propValue.backgroundColor="",e()})},"重置")]),l("div",SF,[L(d,{modelValue:t.curComponent.propValue.bgColor2,"onUpdate:modelValue":i[4]||(i[4]=f=>t.curComponent.propValue.bgColor2=f),onChange:e,"show-alpha":""},null,8,["modelValue"]),L(r,{modelValue:t.curComponent.propValue.bgColor2,"onUpdate:modelValue":i[5]||(i[5]=f=>t.curComponent.propValue.bgColor2=f),placeholder:"请输入颜色",onChange:e,style:{"margin-left":"10px",flex:"1"}},null,8,["modelValue"]),l("span",{class:"reset-btn",onClick:i[6]||(i[6]=f=>{t.curComponent.propValue.bgColor2="",e()})},"重置")])]),_:1})}}}),bn=fe(LF,[["__scopeId","data-v-c30d5cbd"]]),NF={class:"c_content"},kF={class:"main-setting"},VF={key:0,class:"sub-settings"},OF={class:"sub-item"},DF={class:"input-box"},HF={class:"sub-item"},TF={class:"input-box"},jF={class:"sub-item"},RF={class:"input-box"},MF={class:"sub-item"},KF={class:"input-box"},PF=Object.assign({name:"ConfigPadding"},{__name:"ConfigPadding",props:{curComponent:{type:Object,required:!0}},emits:["change"],setup(t,{emit:n}){const A=t,e=n,o=v(0),i=v(!1);M(()=>{var d;return(d=A.curComponent)==null?void 0:d.id},()=>{A.curComponent&&A.curComponent.propValue&&(A.curComponent.propValue.paddingTop===void 0&&(A.curComponent.propValue.paddingTop=0),A.curComponent.propValue.paddingRight===void 0&&(A.curComponent.propValue.paddingRight=0),A.curComponent.propValue.paddingBottom===void 0&&(A.curComponent.propValue.paddingBottom=0),A.curComponent.propValue.paddingLeft===void 0&&(A.curComponent.propValue.paddingLeft=0),o.value=A.curComponent.propValue.paddingTop||0)},{immediate:!0});function m(){e("change")}function a(d){A.curComponent.propValue.paddingTop=d,A.curComponent.propValue.paddingRight=d,A.curComponent.propValue.paddingBottom=d,A.curComponent.propValue.paddingLeft=d,m()}return(d,r)=>{const c=X("el-slider"),f=X("el-input-number"),g=X("el-form-item");return s(),ce(g,{label:"内边距",class:"margin-style-config"},{default:P(()=>[l("div",NF,[l("div",kF,[L(c,{modelValue:o.value,"onUpdate:modelValue":r[0]||(r[0]=p=>o.value=p),max:100,"show-input":"",onInput:a},null,8,["modelValue"]),l("div",{class:"expand-icon",onClick:r[1]||(r[1]=p=>i.value=!i.value)},[l("span",{class:ue(["iconfont iconbianju",i.value?"selected":""])},null,2)])]),i.value?(s(),u("div",VF,[l("div",OF,[l("div",DF,[r[6]||(r[6]=l("span",{class:"prefix-icon iconfont iconneibianju-shang"},null,-1)),L(f,{modelValue:t.curComponent.propValue.paddingTop,"onUpdate:modelValue":r[2]||(r[2]=p=>t.curComponent.propValue.paddingTop=p),"controls-position":"right",onChange:m},null,8,["modelValue"])])]),l("div",HF,[l("div",TF,[r[7]||(r[7]=l("span",{class:"prefix-icon iconfont iconneibianju-you"},null,-1)),L(f,{modelValue:t.curComponent.propValue.paddingRight,"onUpdate:modelValue":r[3]||(r[3]=p=>t.curComponent.propValue.paddingRight=p),"controls-position":"right",onChange:m},null,8,["modelValue"])])]),l("div",jF,[l("div",RF,[r[8]||(r[8]=l("span",{class:"prefix-icon iconfont iconneibianju-xia"},null,-1)),L(f,{modelValue:t.curComponent.propValue.paddingBottom,"onUpdate:modelValue":r[4]||(r[4]=p=>t.curComponent.propValue.paddingBottom=p),"controls-position":"right",onChange:m},null,8,["modelValue"])])]),l("div",MF,[l("div",KF,[r[9]||(r[9]=l("span",{class:"prefix-icon iconfont iconneibianju-zuo"},null,-1)),L(f,{modelValue:t.curComponent.propValue.paddingLeft,"onUpdate:modelValue":r[5]||(r[5]=p=>t.curComponent.propValue.paddingLeft=p),"controls-position":"right",onChange:m},null,8,["modelValue"])])])])):O("",!0)])]),_:1})}}}),Rl=fe(PF,[["__scopeId","data-v-78af265d"]]),GF={class:"row"},zF={class:"row"},JF={class:"row"},YF={class:"row"},XF={class:"row"},WF=Object.assign({name:"ConfigShadow"},{__name:"ConfigShadow",props:{curComponent:{type:Object,required:!0}},emits:["change"],setup(t,{emit:n}){const A=n;function e(){A("change")}return(o,i)=>{const m=X("el-radio"),a=X("el-radio-group"),d=X("el-form-item"),r=X("el-color-picker"),c=X("el-input"),f=X("el-slider"),g=X("el-input-number");return s(),u("div",null,[L(d,{label:"阴影设置"},{default:P(()=>[L(a,{modelValue:t.curComponent.propValue.showShadow,"onUpdate:modelValue":i[0]||(i[0]=p=>t.curComponent.propValue.showShadow=p),onChange:e},{default:P(()=>[L(m,{label:!1,value:!1},{default:P(()=>[...i[12]||(i[12]=[se("隐藏",-1)])]),_:1}),L(m,{label:!0,value:!0},{default:P(()=>[...i[13]||(i[13]=[se("显示",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),t.curComponent.propValue.showShadow?(s(),u(q,{key:0},[L(d,{label:"阴影颜色"},{default:P(()=>[l("div",GF,[L(r,{modelValue:t.curComponent.propValue.shadowColor,"onUpdate:modelValue":i[1]||(i[1]=p=>t.curComponent.propValue.shadowColor=p),onChange:e,"show-alpha":""},null,8,["modelValue"]),L(c,{modelValue:t.curComponent.propValue.shadowColor,"onUpdate:modelValue":i[2]||(i[2]=p=>t.curComponent.propValue.shadowColor=p),placeholder:"请输入颜色",onChange:e,style:{"margin-left":"10px",flex:"1"}},null,8,["modelValue"]),l("span",{class:"reset-color",onClick:i[3]||(i[3]=p=>{t.curComponent.propValue.shadowColor="#000000",e()})},"重置")])]),_:1}),L(d,{label:"X轴偏移"},{default:P(()=>[l("div",zF,[L(f,{modelValue:t.curComponent.propValue.shadowX,"onUpdate:modelValue":i[4]||(i[4]=p=>t.curComponent.propValue.shadowX=p),max:50,min:-50,onChange:e,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue"]),L(g,{modelValue:t.curComponent.propValue.shadowX,"onUpdate:modelValue":i[5]||(i[5]=p=>t.curComponent.propValue.shadowX=p),max:50,min:-50,onChange:e,style:{width:"90px"}},null,8,["modelValue"])])]),_:1}),L(d,{label:"Y轴偏移"},{default:P(()=>[l("div",JF,[L(f,{modelValue:t.curComponent.propValue.shadowY,"onUpdate:modelValue":i[6]||(i[6]=p=>t.curComponent.propValue.shadowY=p),max:50,min:-50,onChange:e,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue"]),L(g,{modelValue:t.curComponent.propValue.shadowY,"onUpdate:modelValue":i[7]||(i[7]=p=>t.curComponent.propValue.shadowY=p),max:50,min:-50,onChange:e,style:{width:"90px"}},null,8,["modelValue"])])]),_:1}),L(d,{label:"模糊半径"},{default:P(()=>[l("div",YF,[L(f,{modelValue:t.curComponent.propValue.shadowBlur,"onUpdate:modelValue":i[8]||(i[8]=p=>t.curComponent.propValue.shadowBlur=p),max:50,min:0,onChange:e,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue"]),L(g,{modelValue:t.curComponent.propValue.shadowBlur,"onUpdate:modelValue":i[9]||(i[9]=p=>t.curComponent.propValue.shadowBlur=p),max:50,min:0,onChange:e,style:{width:"90px"}},null,8,["modelValue"])])]),_:1}),L(d,{label:"扩散半径"},{default:P(()=>[l("div",XF,[L(f,{modelValue:t.curComponent.propValue.shadowSpread,"onUpdate:modelValue":i[10]||(i[10]=p=>t.curComponent.propValue.shadowSpread=p),max:50,min:-50,onChange:e,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue"]),L(g,{modelValue:t.curComponent.propValue.shadowSpread,"onUpdate:modelValue":i[11]||(i[11]=p=>t.curComponent.propValue.shadowSpread=p),max:50,min:-50,onChange:e,style:{width:"90px"}},null,8,["modelValue"])])]),_:1})],64)):O("",!0)])}}}),Ml=fe(WF,[["__scopeId","data-v-736851fe"]]),$F={class:"row"},ZF={class:"row"},qF={class:"row"},e5={class:"row"},t5={class:"row"},o5={class:"row"},A5={class:"row"},n5=Object.assign({name:"ConfigText"},{__name:"ConfigText",props:{curComponent:{type:Object,required:!0}},emits:["change"],setup(t,{emit:n}){const A=t,e=n;M(()=>{var m;return(m=A.curComponent)==null?void 0:m.id},m=>{if(m&&A.curComponent&&A.curComponent.propValue){const a=A.curComponent.propValue;a.showTextShadow===void 0&&(a.showTextShadow=!1),a.shadowX===void 0&&(a.shadowX=0),a.shadowY===void 0&&(a.shadowY=0),a.shadowBlur===void 0&&(a.shadowBlur=0),a.shadowColor===void 0&&(a.shadowColor="rgba(0,0,0,0.5)")}},{immediate:!0});const o=pe({get(){const m=[];return A.curComponent.propValue.fontWeight==="bold"&&m.push("bold"),A.curComponent.propValue.fontStyle==="italic"&&m.push("italic"),m},set(m){A.curComponent.propValue.fontWeight=m.includes("bold")?"bold":"normal",A.curComponent.propValue.fontStyle=m.includes("italic")?"italic":"normal",i()}});function i(){e("change")}return(m,a)=>{const d=X("el-checkbox"),r=X("el-checkbox-group"),c=X("el-form-item"),f=X("el-radio"),g=X("el-radio-group"),p=X("el-radio-button"),b=X("el-color-picker"),_=X("el-input"),B=X("el-slider"),y=X("el-input-number");return s(),u("div",null,[a[35]||(a[35]=l("div",{class:"section-title"},"文本设置",-1)),L(c,{label:"文字形态"},{default:P(()=>[L(r,{modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=Q=>o.value=Q)},{default:P(()=>[L(d,{label:"bold"},{default:P(()=>[...a[21]||(a[21]=[se("加粗",-1)])]),_:1}),L(d,{label:"italic"},{default:P(()=>[...a[22]||(a[22]=[se("倾斜",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),L(c,{label:"文字修饰"},{default:P(()=>[L(g,{modelValue:t.curComponent.propValue.textDecoration,"onUpdate:modelValue":a[1]||(a[1]=Q=>t.curComponent.propValue.textDecoration=Q),onChange:i},{default:P(()=>[L(f,{label:"none",value:"none"},{default:P(()=>[...a[23]||(a[23]=[se("无",-1)])]),_:1}),L(f,{label:"underline",value:"underline"},{default:P(()=>[...a[24]||(a[24]=[se("下划线",-1)])]),_:1}),L(f,{label:"line-through",value:"line-through"},{default:P(()=>[...a[25]||(a[25]=[se("删除线",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),L(c,{label:"对齐方式"},{default:P(()=>[L(g,{modelValue:t.curComponent.propValue.textAlign,"onUpdate:modelValue":a[2]||(a[2]=Q=>t.curComponent.propValue.textAlign=Q),onChange:i},{default:P(()=>[L(p,{label:"start",value:"start"},{default:P(()=>[...a[26]||(a[26]=[l("span",{class:"iconfont iconzuoduiqi"},null,-1)])]),_:1}),L(p,{label:"center",value:"center"},{default:P(()=>[...a[27]||(a[27]=[l("span",{class:"iconfont iconjuzhongduiqi"},null,-1)])]),_:1}),L(p,{label:"end",value:"end"},{default:P(()=>[...a[28]||(a[28]=[l("span",{class:"iconfont iconyouduiqi"},null,-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),L(c,{label:"文字颜色"},{default:P(()=>[l("div",$F,[L(b,{class:"m-r-10",modelValue:t.curComponent.propValue.color,"onUpdate:modelValue":a[3]||(a[3]=Q=>t.curComponent.propValue.color=Q),onChange:i,"show-alpha":""},null,8,["modelValue"]),L(_,{modelValue:t.curComponent.propValue.color,"onUpdate:modelValue":a[4]||(a[4]=Q=>t.curComponent.propValue.color=Q)},null,8,["modelValue"]),l("span",{class:"reset-color",onClick:a[5]||(a[5]=Q=>{t.curComponent.propValue.color="#000000",i()})},"重置")])]),_:1}),L(c,{label:"字号"},{default:P(()=>[l("div",ZF,[L(B,{modelValue:t.curComponent.propValue.fontSize,"onUpdate:modelValue":a[6]||(a[6]=Q=>t.curComponent.propValue.fontSize=Q),max:40,min:8,onChange:i,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue"]),L(y,{modelValue:t.curComponent.propValue.fontSize,"onUpdate:modelValue":a[7]||(a[7]=Q=>t.curComponent.propValue.fontSize=Q),max:40,min:8,onChange:i,style:{width:"90px"}},null,8,["modelValue"])])]),_:1}),L(c,{label:"行间距"},{default:P(()=>[l("div",qF,[L(B,{modelValue:t.curComponent.propValue.lineHeight,"onUpdate:modelValue":a[8]||(a[8]=Q=>t.curComponent.propValue.lineHeight=Q),min:1,max:5,step:.1,onChange:i,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue"]),L(y,{modelValue:t.curComponent.propValue.lineHeight,"onUpdate:modelValue":a[9]||(a[9]=Q=>t.curComponent.propValue.lineHeight=Q),min:1,max:5,step:.1,onChange:i,style:{width:"90px"}},null,8,["modelValue"])])]),_:1}),L(c,{label:"行高省略"},{default:P(()=>[L(g,{modelValue:t.curComponent.propValue.ellipsis,"onUpdate:modelValue":a[10]||(a[10]=Q=>t.curComponent.propValue.ellipsis=Q),onChange:i},{default:P(()=>[L(f,{label:0,value:0},{default:P(()=>[...a[29]||(a[29]=[se("不限制",-1)])]),_:1}),L(f,{label:1,value:1},{default:P(()=>[...a[30]||(a[30]=[se("一行",-1)])]),_:1}),L(f,{label:2,value:2},{default:P(()=>[...a[31]||(a[31]=[se("两行",-1)])]),_:1}),L(f,{label:3,value:3},{default:P(()=>[...a[32]||(a[32]=[se("三行",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),L(c,{label:"文字阴影"},{default:P(()=>[L(g,{modelValue:t.curComponent.propValue.showTextShadow,"onUpdate:modelValue":a[11]||(a[11]=Q=>t.curComponent.propValue.showTextShadow=Q),onChange:i},{default:P(()=>[L(f,{label:!1,value:!1},{default:P(()=>[...a[33]||(a[33]=[se("隐藏",-1)])]),_:1}),L(f,{label:!0,value:!0},{default:P(()=>[...a[34]||(a[34]=[se("显示",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),t.curComponent.propValue.showTextShadow?(s(),u(q,{key:0},[L(c,{label:"X轴偏移"},{default:P(()=>[l("div",e5,[L(B,{modelValue:t.curComponent.propValue.shadowX,"onUpdate:modelValue":a[12]||(a[12]=Q=>t.curComponent.propValue.shadowX=Q),min:-50,max:50,step:1,onChange:i,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue"]),L(y,{modelValue:t.curComponent.propValue.shadowX,"onUpdate:modelValue":a[13]||(a[13]=Q=>t.curComponent.propValue.shadowX=Q),min:-50,max:50,step:1,onChange:i,style:{width:"90px"}},null,8,["modelValue"])])]),_:1}),L(c,{label:"Y轴偏移"},{default:P(()=>[l("div",t5,[L(B,{modelValue:t.curComponent.propValue.shadowY,"onUpdate:modelValue":a[14]||(a[14]=Q=>t.curComponent.propValue.shadowY=Q),min:-50,max:50,step:1,onChange:i,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue"]),L(y,{modelValue:t.curComponent.propValue.shadowY,"onUpdate:modelValue":a[15]||(a[15]=Q=>t.curComponent.propValue.shadowY=Q),min:-50,max:50,step:1,onChange:i,style:{width:"90px"}},null,8,["modelValue"])])]),_:1}),L(c,{label:"模糊半径"},{default:P(()=>[l("div",o5,[L(B,{modelValue:t.curComponent.propValue.shadowBlur,"onUpdate:modelValue":a[16]||(a[16]=Q=>t.curComponent.propValue.shadowBlur=Q),min:0,max:50,step:1,onChange:i,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue"]),L(y,{modelValue:t.curComponent.propValue.shadowBlur,"onUpdate:modelValue":a[17]||(a[17]=Q=>t.curComponent.propValue.shadowBlur=Q),min:0,max:50,step:1,onChange:i,style:{width:"90px"}},null,8,["modelValue"])])]),_:1}),L(c,{label:"阴影颜色"},{default:P(()=>[l("div",A5,[L(b,{class:"m-r-10",modelValue:t.curComponent.propValue.shadowColor,"onUpdate:modelValue":a[18]||(a[18]=Q=>t.curComponent.propValue.shadowColor=Q),onChange:i,"show-alpha":""},null,8,["modelValue"]),L(_,{modelValue:t.curComponent.propValue.shadowColor,"onUpdate:modelValue":a[19]||(a[19]=Q=>t.curComponent.propValue.shadowColor=Q),onChange:i},null,8,["modelValue"]),l("span",{class:"reset-color",onClick:a[20]||(a[20]=Q=>{t.curComponent.propValue.shadowColor="rgba(0,0,0,0.5)",i()})},"重置")])]),_:1})],64)):O("",!0)])}}}),l5=fe(n5,[["__scopeId","data-v-ccbb031a"]]),i5={class:"multi-select-panel"},a5={class:"alignment-bar"},s5={class:"row",style:{display:"flex","align-items":"center"}},c5={class:"row",style:{display:"flex","align-items":"center"}},r5=Object.assign({name:"ConfigMultiSelect"},{__name:"ConfigMultiSelect",props:{groupX:{type:Number,default:0},groupY:{type:Number,default:0},canvasWidth:{type:Number,default:375},canvasHeight:{type:Number,default:667}},emits:["align","update:groupX","update:groupY"],setup(t,{emit:n}){const A=t,e=n,o=v(A.groupX),i=v(A.groupY);M(()=>A.groupX,r=>{o.value=r}),M(()=>A.groupY,r=>{i.value=r});function m(r){e("align",r)}function a(r){e("update:groupX",r)}function d(r){e("update:groupY",r)}return(r,c)=>{const f=X("el-form-item"),g=X("el-slider"),p=X("el-input-number"),b=X("el-form");return s(),u("div",i5,[c[24]||(c[24]=l("div",{class:"section-title flex justify-between",style:{display:"flex","justify-content":"space-between","align-items":"center","margin-bottom":"20px"}},[l("span",{style:{"font-size":"14px","font-weight":"bold",color:"#333"}},"位置设置")],-1)),L(b,{"label-width":"70px","label-position":"left"},{default:P(()=>[L(f,{label:"对齐方式"},{default:P(()=>[l("div",a5,[l("div",{class:"bar-item",onClick:c[0]||(c[0]=_=>m("left")),title:"左对齐"},[...c[11]||(c[11]=[l("span",{class:"iconfont iconzuoduiqi1"},null,-1)])]),c[18]||(c[18]=l("div",{class:"bar-item-divider"},null,-1)),l("div",{class:"bar-item",onClick:c[1]||(c[1]=_=>m("center")),title:"水平居中"},[...c[12]||(c[12]=[l("span",{class:"iconfont iconchuizhijuzhong"},null,-1)])]),c[19]||(c[19]=l("div",{class:"bar-item-divider"},null,-1)),l("div",{class:"bar-item",onClick:c[2]||(c[2]=_=>m("right")),title:"右对齐"},[...c[13]||(c[13]=[l("span",{class:"iconfont iconyouduiqi1"},null,-1)])]),c[20]||(c[20]=l("div",{class:"bar-item-divider"},null,-1)),l("div",{class:"bar-item",onClick:c[3]||(c[3]=_=>m("top")),title:"顶部对齐"},[...c[14]||(c[14]=[l("span",{class:"iconfont icondingduiqi"},null,-1)])]),c[21]||(c[21]=l("div",{class:"bar-item-divider"},null,-1)),l("div",{class:"bar-item",onClick:c[4]||(c[4]=_=>m("middle")),title:"垂直居中"},[...c[15]||(c[15]=[l("span",{class:"iconfont iconshuipingjuzhong"},null,-1)])]),c[22]||(c[22]=l("div",{class:"bar-item-divider"},null,-1)),l("div",{class:"bar-item",onClick:c[5]||(c[5]=_=>m("bottom")),title:"底部对齐"},[...c[16]||(c[16]=[l("span",{class:"iconfont icondiduiqi"},null,-1)])]),c[23]||(c[23]=l("div",{class:"bar-item-divider"},null,-1)),l("div",{class:"bar-item",onClick:c[6]||(c[6]=_=>m("all-center")),title:"水平垂直居中"},[...c[17]||(c[17]=[l("span",{class:"iconfont iconjuzhongduiqi"},null,-1)])])])]),_:1}),L(f,{label:"X 轴"},{default:P(()=>[l("div",s5,[L(g,{modelValue:o.value,"onUpdate:modelValue":c[7]||(c[7]=_=>o.value=_),max:t.canvasWidth,min:0,onChange:a,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue","max"]),L(p,{modelValue:o.value,"onUpdate:modelValue":c[8]||(c[8]=_=>o.value=_),max:t.canvasWidth,min:0,"controls-position":"right",onChange:a,style:{width:"70px"}},null,8,["modelValue","max"])])]),_:1}),L(f,{label:"Y 轴"},{default:P(()=>[l("div",c5,[L(g,{modelValue:i.value,"onUpdate:modelValue":c[9]||(c[9]=_=>i.value=_),max:t.canvasHeight,min:0,onChange:d,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue","max"]),L(p,{modelValue:i.value,"onUpdate:modelValue":c[10]||(c[10]=_=>i.value=_),max:t.canvasHeight,min:0,"controls-position":"right",onChange:d,style:{width:"70px"}},null,8,["modelValue","max"])])]),_:1})]),_:1})])}}}),u5=fe(r5,[["__scopeId","data-v-6585f7d1"]]),d5={class:"line-settings"},m5={class:"row"},g5={class:"row"},f5={class:"row"},v5=Object.assign({name:"ConfigLine"},{__name:"ConfigLine",props:{curComponent:{type:Object,required:!0},canvasWidth:{type:Number,default:375}},emits:["change"],setup(t,{emit:n}){const A=t,e=n,o=pe({get(){return A.curComponent.propValue.direction==="horizontal"?A.curComponent.style.width:A.curComponent.style.height},set(d){A.curComponent.propValue.direction==="horizontal"?A.curComponent.style.width=d:A.curComponent.style.height=d,a()}}),i=pe({get(){return A.curComponent.propValue.height},set(d){A.curComponent.propValue.height=d,A.curComponent.propValue.direction==="horizontal"?A.curComponent.style.height=d:A.curComponent.style.width=d,a()}});function m(){const{width:d,height:r}=A.curComponent.style;A.curComponent.style.width=r,A.curComponent.style.height=d,a()}function a(){e("change")}return(d,r)=>{const c=X("el-radio"),f=X("el-radio-group"),g=X("el-form-item"),p=X("el-slider"),b=X("el-input-number"),_=X("el-color-picker"),B=X("el-input"),y=X("el-button"),Q=X("el-form");return s(),u("div",d5,[r[15]||(r[15]=l("div",{class:"section-title"},"线条设置",-1)),L(Q,{"label-width":"70px"},{default:P(()=>[L(g,{label:"线条方向"},{default:P(()=>[L(f,{modelValue:t.curComponent.propValue.direction,"onUpdate:modelValue":r[0]||(r[0]=I=>t.curComponent.propValue.direction=I),onChange:m},{default:P(()=>[L(c,{label:"horizontal",value:"horizontal"},{default:P(()=>[...r[9]||(r[9]=[se("横向",-1)])]),_:1}),L(c,{label:"vertical",value:"vertical"},{default:P(()=>[...r[10]||(r[10]=[se("竖向",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),L(g,{label:"线条样式"},{default:P(()=>[L(f,{modelValue:t.curComponent.propValue.style,"onUpdate:modelValue":r[1]||(r[1]=I=>t.curComponent.propValue.style=I),onChange:a},{default:P(()=>[L(c,{label:"solid",value:"solid"},{default:P(()=>[...r[11]||(r[11]=[se("实线",-1)])]),_:1}),L(c,{label:"dashed",value:"dashed"},{default:P(()=>[...r[12]||(r[12]=[se("虚线",-1)])]),_:1}),L(c,{label:"dotted",value:"dotted"},{default:P(()=>[...r[13]||(r[13]=[se("点线",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),L(g,{label:"线条长度"},{default:P(()=>[l("div",m5,[L(p,{modelValue:o.value,"onUpdate:modelValue":r[2]||(r[2]=I=>o.value=I),max:t.canvasWidth,min:10,onChange:a,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue","max"]),L(b,{modelValue:o.value,"onUpdate:modelValue":r[3]||(r[3]=I=>o.value=I),max:t.canvasWidth,min:10,onChange:a,style:{width:"90px"}},null,8,["modelValue","max"])])]),_:1}),L(g,{label:"线条粗细"},{default:P(()=>[l("div",g5,[L(p,{modelValue:i.value,"onUpdate:modelValue":r[4]||(r[4]=I=>i.value=I),max:100,min:1,onChange:a,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue"]),L(b,{modelValue:i.value,"onUpdate:modelValue":r[5]||(r[5]=I=>i.value=I),max:100,min:1,onChange:a,style:{width:"90px"}},null,8,["modelValue"])])]),_:1}),L(g,{label:"线条颜色"},{default:P(()=>[l("div",f5,[L(_,{modelValue:t.curComponent.propValue.color,"onUpdate:modelValue":r[6]||(r[6]=I=>t.curComponent.propValue.color=I),onChange:a},null,8,["modelValue"]),L(B,{modelValue:t.curComponent.propValue.color,"onUpdate:modelValue":r[7]||(r[7]=I=>t.curComponent.propValue.color=I),placeholder:"请输入颜色",onChange:a,style:{"margin-left":"10px",flex:"1"}},null,8,["modelValue"]),L(y,{type:"text",onClick:r[8]||(r[8]=I=>{t.curComponent.propValue.color="#000000",a()})},{default:P(()=>[...r[14]||(r[14]=[se("重置",-1)])]),_:1})])]),_:1})]),_:1})])}}}),p5=fe(v5,[["__scopeId","data-v-c61d23ff"]]),C5={class:"icon-style-settings"},_5={class:"row"},b5={class:"row"},B5=Object.assign({name:"ConfigIconStyle"},{__name:"ConfigIconStyle",props:{curComponent:{type:Object,required:!0}},emits:["change"],setup(t,{emit:n}){const A=n;function e(){A("change")}return(o,i)=>{const m=X("el-color-picker"),a=X("el-input"),d=X("el-form-item"),r=X("el-slider"),c=X("el-input-number"),f=X("el-radio-button"),g=X("el-radio-group");return s(),u("div",C5,[L(d,{label:"图标颜色"},{default:P(()=>[l("div",_5,[L(m,{modelValue:t.curComponent.propValue.color,"onUpdate:modelValue":i[0]||(i[0]=p=>t.curComponent.propValue.color=p),onChange:e,"show-alpha":""},null,8,["modelValue"]),L(a,{modelValue:t.curComponent.propValue.color,"onUpdate:modelValue":i[1]||(i[1]=p=>t.curComponent.propValue.color=p),placeholder:"请输入颜色",onChange:e,style:{"margin-left":"10px",flex:"1"}},null,8,["modelValue"]),l("span",{class:"reset-color",onClick:i[2]||(i[2]=p=>{t.curComponent.propValue.color="#000000",e()})},"重置")])]),_:1}),L(d,{label:"图标大小"},{default:P(()=>[l("div",b5,[L(r,{modelValue:t.curComponent.propValue.size,"onUpdate:modelValue":i[3]||(i[3]=p=>t.curComponent.propValue.size=p),max:100,min:12,onChange:e,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue"]),L(c,{modelValue:t.curComponent.propValue.size,"onUpdate:modelValue":i[4]||(i[4]=p=>t.curComponent.propValue.size=p),max:100,min:12,onChange:e,style:{width:"90px"}},null,8,["modelValue"])])]),_:1}),L(d,{label:"图标位置"},{default:P(()=>[L(g,{modelValue:t.curComponent.propValue.iconAlign,"onUpdate:modelValue":i[5]||(i[5]=p=>t.curComponent.propValue.iconAlign=p),onChange:e},{default:P(()=>[L(f,{label:"flex-start",value:"flex-start"},{default:P(()=>[...i[6]||(i[6]=[l("span",{class:"iconfont iconzuoduiqi"},null,-1)])]),_:1}),L(f,{label:"center",value:"center"},{default:P(()=>[...i[7]||(i[7]=[l("span",{class:"iconfont iconjuzhongduiqi"},null,-1)])]),_:1}),L(f,{label:"flex-end",value:"flex-end"},{default:P(()=>[...i[8]||(i[8]=[l("span",{class:"iconfont iconyouduiqi"},null,-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1})])}}}),h5=fe(B5,[["__scopeId","data-v-d19d5336"]]),y5={key:0},An=Object.assign({name:"ConfigLink"},{__name:"ConfigLink",props:{curComponent:{type:Object,required:!0},type:{type:String,default:"user"},currentFieldList:{type:Array,default:()=>[]},showLinkType:{type:Boolean,default:!1}},emits:["change","get-link"],setup(t,{emit:n}){const A=t,e=n;function o(){e("change")}function i(){e("get-link")}function m(a){const d=A.currentFieldList.find(r=>r.value===a);d&&(A.curComponent.propValue.typeLabel=d.label),o()}return(a,d)=>{const r=X("el-radio"),c=X("el-radio-group"),f=X("el-input"),g=X("el-form-item"),p=X("el-option"),b=X("el-select");return s(),u("div",null,[L(g,{label:"跳转链接"},{default:P(()=>[["article","goods"].includes(t.type)&&t.showLinkType?(s(),u("div",y5,[L(c,{modelValue:t.curComponent.propValue.linkType,"onUpdate:modelValue":d[0]||(d[0]=_=>t.curComponent.propValue.linkType=_),onChange:o,style:{"margin-bottom":"2px"}},{default:P(()=>[L(r,{label:"url",value:"url"},{default:P(()=>[...d[3]||(d[3]=[se("网址链接",-1)])]),_:1}),L(r,{label:"detail",value:"detail"},{default:P(()=>[se($(t.type==="article"?"文章详情":"商品详情"),1)]),_:1})]),_:1},8,["modelValue"])])):O("",!0),!t.curComponent.propValue.linkType||t.curComponent.propValue.linkType==="url"?(s(),ce(f,{key:1,modelValue:t.curComponent.propValue.link,"onUpdate:modelValue":d[1]||(d[1]=_=>t.curComponent.propValue.link=_),placeholder:"请输入链接",onChange:o},{suffix:P(()=>[l("i",{class:"el-icon-link",onClick:i})]),_:1},8,["modelValue"])):O("",!0)]),_:1}),t.curComponent.component!=="Panel"?(s(),ce(g,{key:0,label:"信息类型"},{default:P(()=>[L(b,{modelValue:t.curComponent.propValue.fieldType,"onUpdate:modelValue":d[2]||(d[2]=_=>t.curComponent.propValue.fieldType=_),clearable:"",placeholder:"请选择信息类型",onChange:m,style:{width:"100%"}},{default:P(()=>[(s(!0),u(q,null,ae(t.currentFieldList,(_,B)=>(s(),ce(p,{key:B,label:_.label,value:_.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):O("",!0)])}}}),w5=Object.assign({name:"ConfigTextContent"},{__name:"ConfigTextContent",props:{curComponent:{type:Object,required:!0},type:{type:String,default:"user"},currentFieldList:{type:Array,default:()=>[]}},emits:["get-link","change"],setup(t,{emit:n}){const A=n;function e(){A("get-link")}function o(){A("change")}return(i,m)=>{const a=X("el-input"),d=X("el-form-item");return s(),u("div",null,[L(d,{label:"文本标题"},{default:P(()=>[L(a,{modelValue:t.curComponent.propValue.text,"onUpdate:modelValue":m[0]||(m[0]=r=>t.curComponent.propValue.text=r),placeholder:"请填写文本",onChange:o},null,8,["modelValue"])]),_:1}),L(de(An),{curComponent:t.curComponent,type:t.type,currentFieldList:t.currentFieldList,showLinkType:!0,onChange:o,onGetLink:e},null,8,["curComponent","type","currentFieldList"])])}}}),Q5=["src"],x5={key:1,class:"upload-icon"},I5=Object.assign({name:"ConfigPictureContent"},{__name:"ConfigPictureContent",props:{curComponent:{type:Object,required:!0},type:{type:String,default:"user"},currentFieldList:{type:Array,default:()=>[]}},emits:["change","get-link"],setup(t,{emit:n}){const A=t,e=n,o=v(!1),i=v("单选"),m=v({xl:4,lg:8,md:8,sm:8,xs:8}),a=v({xl:6,lg:8,md:12,sm:12,xs:12});function d(){o.value=!0}function r(){A.curComponent.propValue.url="",g()}function c(p){A.curComponent.propValue.url=p.att_dir,o.value=!1,g()}function f(){e("get-link")}function g(){e("change")}return(p,b)=>{const _=X("el-form-item"),B=X("el-dialog");return s(),u("div",null,[L(_,{label:"图片"},{default:P(()=>[l("div",{class:"upload-box",onClick:d},[t.curComponent.propValue.url?(s(),u("img",{key:0,src:t.curComponent.propValue.url,class:"img"},null,8,Q5)):(s(),u("div",x5,[...b[1]||(b[1]=[l("i",{class:"el-icon-plus"},null,-1)])])),t.curComponent.propValue.url?(s(),u("div",{key:2,class:"delete-box",onClick:Re(r,["stop"])},[...b[2]||(b[2]=[l("span",{class:"iconfont icondel_1"},null,-1)])])):O("",!0)])]),_:1}),L(de(An),{curComponent:t.curComponent,type:t.type,currentFieldList:t.currentFieldList,showLinkType:!0,onChange:g,onGetLink:f},null,8,["curComponent","type","currentFieldList"]),L(B,{modelValue:o.value,"onUpdate:modelValue":b[0]||(b[0]=y=>o.value=y),width:"950px",title:"上传图片","append-to-body":""},{default:P(()=>[o.value?(s(),ce(de(Nt),{key:0,isChoice:i.value,onGetPic:c,gridBtn:m.value,gridPic:a.value},null,8,["isChoice","gridBtn","gridPic"])):O("",!0)]),_:1},8,["modelValue"])])}}}),U5=fe(I5,[["__scopeId","data-v-4f926432"]]),F5={key:0,style:{display:"flex","align-items":"center","justify-content":"center",width:"100%",height:"100%"}},E5={key:1,class:"upload-icon"},S5=Object.assign({name:"ConfigIconContent"},{__name:"ConfigIconContent",props:{curComponent:{type:Object,required:!0},type:{type:String,default:"user"},currentFieldList:{type:Array,default:()=>[]}},emits:["change","get-link"],setup(t,{emit:n}){const A=Gi(()=>qi(()=>Promise.resolve().then(()=>Cl),void 0)),e=t,o=n,i=v(null);function m(){i.value.show()}function a(c){e.curComponent.propValue.class=c,r()}function d(){o("get-link")}function r(){o("change")}return(c,f)=>{const g=X("el-form-item");return s(),u("div",null,[L(g,{label:"图标"},{default:P(()=>[l("div",{class:"upload-box",onClick:m},[t.curComponent.propValue.class?(s(),u("div",F5,[l("span",{class:ue(["mb-iconfont",t.curComponent.propValue.class]),style:{"font-size":"24px"}},null,2)])):(s(),u("div",E5,[...f[0]||(f[0]=[l("i",{class:"el-icon-plus"},null,-1)])]))])]),_:1}),L(de(An),{curComponent:t.curComponent,type:t.type,currentFieldList:t.currentFieldList,showLinkType:!0,onChange:r,onGetLink:d},null,8,["curComponent","type","currentFieldList"]),L(de(A),{ref_key:"iconSelect",ref:i,onSelect:a},null,512)])}}}),L5=fe(S5,[["__scopeId","data-v-8cc86f36"]]),N5=Object.assign({name:"ConfigIconContent"},{__name:"ConfigPanelContent",props:{curComponent:{type:Object,required:!0},type:{type:String,default:"user"},currentFieldList:{type:Array,default:()=>[]}},emits:["get-link","change"],setup(t,{emit:n}){const A=n;function e(){A("get-link")}function o(){A("change")}return(i,m)=>(s(),u("div",null,[L(de(An),{curComponent:t.curComponent,type:t.type,currentFieldList:t.currentFieldList,showLinkType:!0,onChange:o,onGetLink:e},null,8,["curComponent","type","currentFieldList"])]))}}),k5=fe(N5,[["__scopeId","data-v-58db893f"]]),V5={class:"attr-list"},O5={key:0,class:"custom-tabs"},D5={class:"tab-content"},H5={class:"tab-content"},T5={key:0,class:"section-title"},j5={key:1,class:"section-title"},R5={key:1,class:"line-settings"},M5=Object.assign({name:"AttrList"},{__name:"AttrList",props:{curComponent:{type:Object,default:()=>({})},activeComponentIds:{type:Array,default:()=>[]},componentData:{type:Array,default:()=>[]},canvasWidth:{type:Number,default:375},canvasHeight:{type:Number,default:380},type:{type:String,default:"user"},fieldList:{type:Object,default:()=>({})}},emits:["change","update-group"],setup(t,{emit:n}){const A=t,e=n,o=v("attr"),i=v(null);M(()=>{var _;return(_=A.curComponent)==null?void 0:_.id},_=>{if(_&&A.curComponent&&A.curComponent.style&&(A.curComponent.propValue.paddingTop===void 0&&(A.curComponent.propValue.paddingTop=0),A.curComponent.propValue.paddingRight===void 0&&(A.curComponent.propValue.paddingRight=0),A.curComponent.propValue.paddingBottom===void 0&&(A.curComponent.propValue.paddingBottom=0),A.curComponent.propValue.paddingLeft===void 0&&(A.curComponent.propValue.paddingLeft=0),A.curComponent.style.rotate===void 0&&(A.curComponent.style.rotate=0),A.curComponent.component==="Text"&&A.curComponent.propValue.linkType===void 0&&(A.curComponent.propValue.linkType="url"),A.curComponent.propValue.fieldType&&!A.curComponent.propValue.typeLabel)){const B=c.value.find(y=>y.value===A.curComponent.propValue.fieldType);B&&(A.curComponent.propValue.typeLabel=B.label)}},{immediate:!0});const m=pe(()=>A.componentData.filter(_=>A.activeComponentIds.includes(_.id))),a=pe(()=>{if(m.value.length===0)return{left:0,top:0,width:0,height:0};const _=m.value.map(E=>E.style.left),B=m.value.map(E=>E.style.top),y=m.value.map(E=>E.style.left+E.style.width),Q=m.value.map(E=>E.style.top+E.style.height),I=Math.min(..._),N=Math.min(...B),w=Math.max(...y),h=Math.max(...Q);return{left:I,top:N,width:w-I,height:h-N}}),d=pe({get(){return a.value.left},set(_){const B=_-a.value.left;m.value.forEach(y=>{y.style.left+=B}),e("update-group")}}),r=pe({get(){return a.value.top},set(_){const B=_-a.value.top;m.value.forEach(y=>{y.style.top+=B}),e("update-group")}}),c=pe(()=>{const B={user:"user",article:"article",coupon:"coupon",goods:"product"}[A.type]||"user",y=A.fieldList[B]||[];return Array.isArray(y)?y.map(Q=>typeof Q=="object"?{label:Q.label||Q.title||Q.name,value:Q.value||Q.field||Q.key||Q.name}:{label:Q,value:Q}):typeof y=="object"?Object.keys(y).map(Q=>({label:y[Q],value:Q})):[]});function f(_){if(m.value.length<2)return;const B=a.value;m.value.forEach(y=>{switch(_){case"left":y.style.left=B.left;break;case"center":y.style.left=B.left+(B.width-y.style.width)/2;break;case"right":y.style.left=B.left+B.width-y.style.width;break;case"top":y.style.top=B.top;break;case"middle":y.style.top=B.top+(B.height-y.style.height)/2;break;case"bottom":y.style.top=B.top+B.height-y.style.height;break;case"all-center":y.style.left=B.left+(B.width-y.style.width)/2,y.style.top=B.top+(B.height-y.style.height)/2;break}}),e("update-group")}function g(){e("change")}function p(){i.value.modals=!0}function b(_){A.curComponent.propValue.link=_,g()}return(_,B)=>{const y=X("el-form");return s(),u("div",V5,[t.activeComponentIds.length>1?(s(),ce(de(u5),{key:0,groupX:d.value,groupY:r.value,canvasWidth:t.canvasWidth,canvasHeight:t.canvasHeight,onAlign:f,"onUpdate:groupX":B[0]||(B[0]=Q=>d.value=Q),"onUpdate:groupY":B[1]||(B[1]=Q=>r.value=Q)},null,8,["groupX","groupY","canvasWidth","canvasHeight"])):t.curComponent?(s(),u(q,{key:1},[t.curComponent.component!=="Line"?(s(),u("div",O5,[l("div",{class:ue(["tab-item",{active:o.value==="attr"}]),onClick:B[2]||(B[2]=Q=>o.value="attr")},"内容设置",2),l("div",{class:ue(["tab-item",{active:o.value==="style"}]),onClick:B[3]||(B[3]=Q=>o.value="style")},"样式设置",2)])):O("",!0),Ze(l("div",D5,[L(y,{"label-width":"70px","label-position":"left"},{default:P(()=>[t.curComponent.component==="Text"?(s(),ce(de(w5),{key:0,curComponent:t.curComponent,type:t.type,currentFieldList:c.value,onChange:g,onGetLink:p},null,8,["curComponent","type","currentFieldList"])):O("",!0),t.curComponent.component==="Picture"?(s(),ce(de(U5),{key:1,curComponent:t.curComponent,type:t.type,currentFieldList:c.value,onChange:g,onGetLink:p},null,8,["curComponent","type","currentFieldList"])):O("",!0),t.curComponent.component==="Icon"?(s(),ce(de(L5),{key:2,curComponent:t.curComponent,type:t.type,currentFieldList:c.value,onChange:g,onGetLink:p},null,8,["curComponent","type","currentFieldList"])):O("",!0),t.curComponent.component==="Panel"?(s(),ce(de(k5),{key:3,curComponent:t.curComponent,type:t.type,currentFieldList:c.value,onChange:g,onGetLink:p},null,8,["curComponent","type","currentFieldList"])):O("",!0)]),_:1})],512),[[ft,o.value==="attr"&&t.curComponent.component!=="Line"]]),Ze(l("div",H5,[L(de(jl),{curComponent:t.curComponent,canvasWidth:t.canvasWidth,canvasHeight:t.canvasHeight,onChange:g},null,8,["curComponent","canvasWidth","canvasHeight"]),t.curComponent.component==="Picture"?(s(),u("div",T5,"图片设置")):O("",!0),t.curComponent.component==="Icon"?(s(),u("div",j5,"图标设置")):O("",!0),L(y,{"label-width":"70px","label-position":"left"},{default:P(()=>[t.curComponent.component==="Picture"?(s(),u(q,{key:0},[L(de(vA),{curComponent:t.curComponent,labelPrefix:"图片",onChange:g},null,8,["curComponent"]),L(de(gA),{curComponent:t.curComponent,canvasWidth:t.canvasWidth,canvasHeight:t.canvasHeight,labelPrefix:"图片",onChange:g},null,8,["curComponent","canvasWidth","canvasHeight"]),L(de(Ml),{curComponent:t.curComponent,onChange:g},null,8,["curComponent"]),L(de(fA),{curComponent:t.curComponent,onChange:g},null,8,["curComponent"])],64)):O("",!0),t.curComponent.component==="Text"?(s(),u(q,{key:1},[L(de(l5),{curComponent:t.curComponent,onChange:g},null,8,["curComponent"]),B[4]||(B[4]=l("div",{class:"section-title"},"容器设置",-1)),L(de(gA),{curComponent:t.curComponent,canvasWidth:t.canvasWidth,canvasHeight:t.canvasHeight,onChange:g},null,8,["curComponent","canvasWidth","canvasHeight"]),L(de(bn),{curComponent:t.curComponent,onChange:g},null,8,["curComponent"]),B[5]||(B[5]=l("div",{class:"section-title"},"圆角样式",-1)),L(de(vA),{curComponent:t.curComponent,onChange:g},null,8,["curComponent"]),L(de(Rl),{curComponent:t.curComponent,onChange:g},null,8,["curComponent"]),L(de(fA),{curComponent:t.curComponent,onChange:g},null,8,["curComponent"])],64)):O("",!0),t.curComponent.component==="Icon"?(s(),u(q,{key:2},[L(de(h5),{curComponent:t.curComponent,onChange:g},null,8,["curComponent"]),B[6]||(B[6]=l("div",{class:"section-title"},"容器设置",-1)),L(de(gA),{curComponent:t.curComponent,canvasWidth:t.canvasWidth,canvasHeight:t.canvasHeight,onChange:g},null,8,["curComponent","canvasWidth","canvasHeight"]),L(de(bn),{curComponent:t.curComponent,onChange:g},null,8,["curComponent"]),B[7]||(B[7]=l("div",{class:"section-title"},"圆角样式",-1)),L(de(vA),{curComponent:t.curComponent,onChange:g},null,8,["curComponent"]),L(de(Rl),{curComponent:t.curComponent,onChange:g},null,8,["curComponent"]),L(de(fA),{curComponent:t.curComponent,onChange:g},null,8,["curComponent"])],64)):O("",!0),t.curComponent.component==="Panel"?(s(),u(q,{key:3},[L(de(gA),{curComponent:t.curComponent,canvasWidth:t.canvasWidth,canvasHeight:t.canvasHeight,onChange:g},null,8,["curComponent","canvasWidth","canvasHeight"]),L(de(bn),{curComponent:t.curComponent,onChange:g},null,8,["curComponent"]),L(de(vA),{curComponent:t.curComponent,onChange:g},null,8,["curComponent"]),L(de(fA),{curComponent:t.curComponent,onChange:g},null,8,["curComponent"]),L(de(Ml),{curComponent:t.curComponent,onChange:g},null,8,["curComponent"])],64)):O("",!0)]),_:1})],512),[[ft,o.value==="style"&&t.curComponent.component!=="Line"]]),t.curComponent.component==="Line"?(s(),u("div",R5,[L(de(jl),{curComponent:t.curComponent,canvasWidth:t.canvasWidth,canvasHeight:t.canvasHeight,onChange:g},null,8,["curComponent","canvasWidth","canvasHeight"]),L(de(p5),{curComponent:t.curComponent,canvasWidth:t.canvasWidth,onChange:g},null,8,["curComponent","canvasWidth"])])):O("",!0)],64)):O("",!0),L(de(Ft),{ref_key:"linkaddres",ref:i,onLinkUrl:b},null,512)])}}}),K5=fe(M5,[["__scopeId","data-v-8e0786b7"]]),P5={key:1,class:"disabled"},G5=Object.assign({name:"ContextMenu"},{__name:"ContextMenu",props:{visible:{type:Boolean,default:!1},top:{type:Number,default:0},left:{type:Number,default:0},curComponent:{type:Object,default:null}},emits:["action","close"],setup(t,{emit:n}){const A=n;function e(o){A("action",o),A("close")}return(o,i)=>Ze((s(),u("div",{class:"contextmenu",style:U({top:t.top+"px",left:t.left+"px"}),onMousedown:i[8]||(i[8]=Re(()=>{},["stop"]))},[l("ul",null,[t.curComponent?(s(),u(q,{key:0},[t.curComponent.isLock?(s(),u("li",{key:1,onClick:i[7]||(i[7]=m=>e("unlock"))},"解锁")):(s(),u(q,{key:0},[l("li",{onClick:i[0]||(i[0]=m=>e("copy"))},"复制"),l("li",{onClick:i[1]||(i[1]=m=>e("delete"))},"删除"),l("li",{onClick:i[2]||(i[2]=m=>e("lock"))},"锁定"),i[9]||(i[9]=l("li",{class:"divider"},null,-1)),l("li",{onClick:i[3]||(i[3]=m=>e("top"))},"置顶"),l("li",{onClick:i[4]||(i[4]=m=>e("bottom"))},"置底"),l("li",{onClick:i[5]||(i[5]=m=>e("up"))},"上移一层"),l("li",{onClick:i[6]||(i[6]=m=>e("down"))},"下移一层")],64))],64)):(s(),u("li",P5,"暂无操作"))])],36)),[[ft,t.visible]])}}),z5=fe(G5,[["__scopeId","data-v-39d20098"]]),J5={class:"header"},Y5={class:"left"},X5={class:"right"},W5={class:"body"},$5={class:"left-panel"},Z5={class:"height-setting"},q5={class:"control"},eE={class:"layer-list"},tE={class:"title"},oE=["onClick"],AE={class:"name"},nE={class:"actions"},lE=["onClick"],iE=["onClick"],aE=["onClick"],sE=["onClick"],cE={class:"history-controls"},rE={class:"operation-bar"},uE={class:"history-list"},dE={class:"history-header"},mE={class:"history-content"},gE=["onClick"],fE={class:"type"},vE={class:"right-info"},pE={class:"time"},CE={key:0,class:"iconfont icon-check"},_E={key:1,class:"iconfont"},bE={class:"canvas-container"},BE={class:"right-panel"},hE={key:1,class:"empty-tip"},yE=Object.assign({name:"CustomDesign"},{__name:"index",props:{initialData:{type:Object,default:()=>({})},columnNum:{type:Number,default:1},type:{type:String,default:"user"}},emits:["save","close"],setup(t,{emit:n}){const A=t,e=n,o=v(null),i=v(null),m=v([]),a=v(375),d=v(null),r=v(-1),c=v([]),f=v(-1),g=v({}),p=v(!1),b=v([]),_=v(!1),B=v(0),y=v(0),Q=pe(()=>A.columnNum>1?375/A.columnNum:375),I=pe(()=>({left:`calc(50% + ${Q.value/2}px + 10px)`,top:"50%",transform:"translateY(-50%)"})),N=pe(()=>r.value===m.value.length-1),w=pe(()=>r.value===0),h=pe({get(){return m.value.slice().reverse()},set(W){m.value=W.slice().reverse(),k("调整层级")}});A.initialData&&(A.initialData.list&&(m.value=Yt(A.initialData.list)),A.initialData.canvasHeight&&(a.value=A.initialData.canvasHeight)),k(),F(),Ce(()=>{window.addEventListener("keydown",Y),window.addEventListener("click",re)}),dl(()=>{window.removeEventListener("keydown",Y),window.removeEventListener("click",re)});function E(W){(W.target.classList.contains("center-panel")||W.target.classList.contains("canvas-container"))&&(d.value=null,r.value=-1,b.value=[])}function F(){fc().then(W=>{g.value=W.data})}function x(W,Ae){d.value=W,r.value=Ae}function j(W){m.value.splice(W,1),d.value=null,r.value=-1,k("删除组件")}function D(W){W.isHidden=!W.isHidden}function V(W){GA.prompt("请输入组件名称","修改名称",{confirmButtonText:"确定",cancelButtonText:"取消",inputValue:W.label}).then(({value:Ae})=>{W.label=Ae}).catch(()=>{})}function S(W){const Ae=W.getHours().toString().padStart(2,"0"),me=W.getMinutes().toString().padStart(2,"0"),ye=W.getSeconds().toString().padStart(2,"0");return`${Ae}:${me}:${ye}`}function k(W="操作"){f.value++,c.value[f.value]={componentData:Yt(m.value),canvasHeight:a.value,type:W,time:S(new Date)},f.valueAe){const me=c.value.length-Ae;c.value.splice(0,me),f.value-=me}}function K(){if(f.value>0){f.value--;const W=Yt(c.value[f.value]);m.value=W.componentData,a.value=W.canvasHeight,d.value=null}}function J(){if(f.value0?(m.value.splice(W,1),m.value.splice(W-1,0,me),r.value=W-1,k("下移一层")):Ve.warning("已经到底了"):Ae==="top"?W0?(m.value.splice(W,1),m.value.unshift(me),r.value=0,k("置底")):Ve.warning("已经到底了"))}function H(W){f.value=W;const Ae=Yt(c.value[f.value]);m.value=Ae.componentData,a.value=Ae.canvasHeight,d.value=null,p.value=!1}function R(){k("修改属性")}function G(){k("调整对齐/位置")}function z(W=!1){const Ae={list:m.value,canvasHeight:a.value};e("save",Ae),W?e("close"):Ve.success("保存成功")}function ie(W){b.value=W}function Y(W){W.target.tagName==="INPUT"||W.target.tagName==="TEXTAREA"||(W.ctrlKey||W.metaKey?W.shiftKey&&(W.key==="z"||W.key==="Z")?(W.preventDefault(),J()):(W.key==="z"||W.key==="Z")&&(W.preventDefault(),K()):(W.key==="Delete"||W.key==="Backspace")&&(W.preventDefault(),Z()))}function Z(){b.value&&b.value.length>0?(m.value=m.value.filter(W=>!b.value.includes(W.id)),d.value=null,r.value=-1,b.value=[],k("删除组件")):d.value&&j(r.value)}function re(){_.value=!1}function te(W){W.preventDefault(),W.stopPropagation();const me=o.value.querySelector(".center-panel").getBoundingClientRect();y.value=W.clientX-me.left,B.value=W.clientY-me.top,_.value=!0}function ge(W){if(d.value)switch(W){case"copy":ee(d.value);break;case"delete":j(r.value);break;case"top":T({index:r.value,type:"top"});break;case"bottom":T({index:r.value,type:"bottom"});break;case"up":T({index:r.value,type:"up"});break;case"down":T({index:r.value,type:"down"});break;case"lock":d.value.isLock=!0,k("锁定组件");break;case"unlock":d.value.isLock=!1,k("解锁组件");break}}return(W,Ae)=>{const me=X("el-button"),ye=X("el-slider"),Te=X("el-input-number"),Pe=X("el-scrollbar");return s(),u("div",{class:"custom-design",ref_key:"customDesignRef",ref:o},[l("div",J5,[l("div",Y5,[l("span",{class:"close-btn",onClick:Ae[0]||(Ae[0]=Qe=>W.$emit("close"))},[...Ae[17]||(Ae[17]=[l("i",{class:"icon el-icon-arrow-left"},null,-1),se("返回",-1)])]),Ae[18]||(Ae[18]=l("span",{class:"title"},"设计组件",-1))]),Ae[21]||(Ae[21]=l("div",{class:"center"},null,-1)),l("div",X5,[L(me,{onClick:Ae[1]||(Ae[1]=Qe=>z(!1))},{default:P(()=>[...Ae[19]||(Ae[19]=[se("保存",-1)])]),_:1}),L(me,{type:"primary",onClick:Ae[2]||(Ae[2]=Qe=>z(!0))},{default:P(()=>[...Ae[20]||(Ae[20]=[se("保存关闭",-1)])]),_:1})])]),l("div",W5,[l("div",$5,[L(z4,{type:t.type},null,8,["type"]),l("div",Z5,[Ae[22]||(Ae[22]=l("div",{class:"label"},"内容高度",-1)),l("div",q5,[L(ye,{modelValue:a.value,"onUpdate:modelValue":Ae[3]||(Ae[3]=Qe=>a.value=Qe),min:10,max:1e3,"input-size":"small",style:{flex:"1","margin-right":"10px"}},null,8,["modelValue"]),L(Te,{modelValue:a.value,"onUpdate:modelValue":Ae[4]||(Ae[4]=Qe=>a.value=Qe),min:10,max:1e3,"controls-position":"right",style:{width:"100px"}},null,8,["modelValue"])])]),l("div",eE,[l("div",tE,"已选组件 ("+$(m.value.length)+")",1),L(Pe,{style:{height:"calc(100% - 40px)"}},{default:P(()=>[L(de(mt),{modelValue:h.value,"onUpdate:modelValue":Ae[5]||(Ae[5]=Qe=>h.value=Qe),handle:".handle",animation:"200","item-key":"id"},{item:P(({element:Qe})=>[l("div",{class:ue(["layer-item",{active:d.value&&d.value.id===Qe.id}]),onClick:De=>x(Qe,m.value.indexOf(Qe))},[Ae[23]||(Ae[23]=l("span",{class:"handle iconfont iconxingzhuangjiehe"},null,-1)),l("span",AE,$(Qe.label||Qe.component),1),l("div",nE,[l("span",{class:"iconfont iconic_edit2",onClick:Re(De=>V(Qe),["stop"])},null,8,lE),Qe.isHidden?(s(),u("span",{key:1,class:"iconfont iconic_eye",style:{color:"#ccc"},onClick:Re(De=>D(Qe),["stop"])},null,8,aE)):(s(),u("span",{key:0,class:"iconfont iconic_Eyes",onClick:Re(De=>D(Qe),["stop"])},null,8,iE)),l("span",{class:"iconfont iconshanchu3",onClick:Re(De=>j(m.value.indexOf(Qe)),["stop"])},null,8,sE)])],10,oE)]),_:1},8,["modelValue"])]),_:1})])]),l("div",{class:"center-panel",onContextmenu:te,onMousedown:E},[_.value?(s(),ce(z5,{key:0,visible:_.value,top:B.value,left:y.value,curComponent:d.value,onAction:ge,onClose:re},null,8,["visible","top","left","curComponent"])):O("",!0),l("div",cE,[l("div",rE,[l("div",{class:ue(["operation-item",{disabled:f.value<=0}]),onClick:Ae[6]||(Ae[6]=Qe=>f.value>0&&K())},[...Ae[24]||(Ae[24]=[l("span",{class:"iconfont iconshangyibu1"},null,-1)])],2),l("div",{class:ue(["operation-item",{disabled:f.value===c.value.length-1}]),onClick:Ae[7]||(Ae[7]=Qe=>f.valuep.value=!p.value)},"历史记录")])]),Ze(l("div",uE,[l("div",dE,[Ae[27]||(Ae[27]=l("span",null,"历史记录",-1)),l("i",{class:"el-icon-close close-icon",onClick:Ae[9]||(Ae[9]=Re(Qe=>p.value=!1,["stop"]))})]),l("div",mE,[(s(!0),u(q,null,ae(c.value,(Qe,De)=>(s(),u("div",{class:ue(["history-item",{active:De===f.value}]),key:De,onClick:_e=>H(De)},[l("span",fE,$(Qe.type||"操作"),1),l("div",vE,[l("span",pE,$(Qe.time),1),De===f.value?(s(),u("span",CE,[...Ae[28]||(Ae[28]=[l("i",{class:"el-icon-check"},null,-1)])])):(s(),u("span",_E))])],10,gE))),128))])],512),[[ft,p.value]]),d.value?(s(),u("div",{key:1,class:"component-actions",style:U(I.value)},[l("div",{class:"action-item",title:"删除",onClick:Ae[10]||(Ae[10]=Qe=>j(r.value))},[...Ae[29]||(Ae[29]=[l("span",{class:"iconfont iconshanchu3"},null,-1)])]),l("div",{class:"action-item",title:"复制",onClick:Ae[11]||(Ae[11]=Qe=>ee(d.value))},[...Ae[30]||(Ae[30]=[l("i",{class:"el-icon-document-copy"},null,-1)])]),l("div",{class:ue(["action-item",{disabled:N.value}]),title:"上移一层",onClick:Ae[12]||(Ae[12]=Qe=>T({index:r.value,type:"up"}))},[...Ae[31]||(Ae[31]=[l("i",{class:"el-icon-arrow-up"},null,-1)])],2),l("div",{class:ue(["action-item",{disabled:w.value}]),title:"下移一层",onClick:Ae[13]||(Ae[13]=Qe=>T({index:r.value,type:"down"}))},[...Ae[32]||(Ae[32]=[l("i",{class:"el-icon-arrow-down"},null,-1)])],2),l("div",{class:ue(["action-item",{disabled:N.value}]),title:"置顶",onClick:Ae[14]||(Ae[14]=Qe=>T({index:r.value,type:"top"}))},[...Ae[33]||(Ae[33]=[l("span",{class:"iconfont iconzhiding"},null,-1)])],2),l("div",{class:ue(["action-item",{disabled:w.value}]),title:"置底",onClick:Ae[15]||(Ae[15]=Qe=>T({index:r.value,type:"bottom"}))},[...Ae[34]||(Ae[34]=[l("span",{class:"iconfont iconzhidi"},null,-1)])],2)],4)):O("",!0),l("div",bE,[L(oF,{ref_key:"editor",ref:i,componentData:m.value,canvasStyle:{width:Q.value+"px",height:a.value+"px"},curComponent:d.value,type:t.type,fieldList:g.value,"onUpdate:componentData":Ae[16]||(Ae[16]=Qe=>m.value=Qe),onSelect:x,onRecord:k,onDelete:j,onCopy:ee,onMove:T,onMultiSelect:ie},null,8,["componentData","canvasStyle","curComponent","type","fieldList"])])],32),l("div",BE,[d.value||b.value.length>1?(s(),ce(K5,{key:0,curComponent:d.value,activeComponentIds:b.value,componentData:m.value,canvasWidth:Q.value,canvasHeight:a.value,type:t.type,fieldList:g.value,onChange:R,onUpdateGroup:G},null,8,["curComponent","activeComponentIds","componentData","canvasWidth","canvasHeight","type","fieldList"])):(s(),u("div",hE,[...Ae[35]||(Ae[35]=[l("img",{src:D4,alt:""},null,-1),l("p",null,"暂未选中任何组件~",-1)])]))])])],512)}}}),wE=fe(yE,[["__scopeId","data-v-b7e71965"]]),QE={class:"mobile-config"},xE=Object.assign({name:"c_custom_component",componentsName:"home_custom_component"},{__name:"c_custom_component",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([]);let i=0;const m=v("user"),a=v(!1),d=pe(()=>{let p=null;return m.value==="article"?p=e.value.articleColumnStyle:m.value==="goods"?p=e.value.goodsColumnStyle:m.value==="coupon"&&(p=e.value.couponColumnStyle),p?(p.tabVal||0)+1:1});M(()=>n.num,p=>{let b=JSON.parse(JSON.stringify(A.defaultArray[p]));e.value=r(b)}),M(e,(p,b)=>{A.UPDATEARR({num:n.num,val:p})},{deep:!0}),M(()=>{var p,b;return(b=(p=e.value)==null?void 0:p.setUp)==null?void 0:b.tabVal},(p,b)=>{i=p,c()},{deep:!0}),M(()=>{var p,b;return(b=(p=e.value)==null?void 0:p.selectType)==null?void 0:b.activeValue},(p,b)=>{m.value=p,c()},{deep:!0}),M(()=>{var p,b;return(b=(p=e.value)==null?void 0:p.couponUserType)==null?void 0:b.activeValue},(p,b)=>{c()},{deep:!0}),M(()=>{var p,b;return(b=(p=e.value)==null?void 0:p.goodsDataSource)==null?void 0:b.tabVal},(p,b)=>{c()},{deep:!0}),M(()=>{var p,b;return(b=(p=e.value)==null?void 0:p.couponDataSource)==null?void 0:b.tabVal},(p,b)=>{c()},{deep:!0}),M(()=>{var p,b;return(b=(p=e.value)==null?void 0:p.couponThreshold)==null?void 0:b.tabVal},(p,b)=>{c()},{deep:!0}),M(()=>{var p,b;return(b=(p=e.value)==null?void 0:p.articleDataSource)==null?void 0:b.tabVal},(p,b)=>{c()},{deep:!0}),Ce(()=>{ve(()=>{let p=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=r(p)})});function r(p){return p&&(p.setUp||(p.setUp={tabVal:0}),p.customBtnConfig||(p.customBtnConfig={title:"设计组件"}),p.fillet||(p.fillet={title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]}),p.filletDataConfig||(p.filletDataConfig={title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]}),p.componentBgConfig||(p.componentBgConfig={title:"背景样式",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",color:[{item:"#fff"}],default:[{item:"#fff"}]},imageConfig:{title:"背景图片",url:""},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]}}),p.componentBgDataConfig||(p.componentBgDataConfig={title:"背景样式",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",color:[{item:"#fff"}],default:[{item:"#fff"}]},imageConfig:{title:"背景图片",url:""},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]}}),p.marginConfig||(p.marginConfig={title:"边距设置",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]}),p.marginDataConfig||(p.marginDataConfig={title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]}),p.paddingConfig||(p.paddingConfig={title:"内边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]}),p.paddingDataConfig||(p.paddingDataConfig={title:"内边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]}),p.borderConfig||(p.borderConfig={title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}}),p.borderDataConfig||(p.borderDataConfig={title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}}),p.shadowConfig||(p.shadowConfig={title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}}),p.shadowDataConfig||(p.shadowDataConfig={title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}}),p.bottomBgColor||(p.bottomBgColor={title:"底部背景",color:[{item:"#f5f5f5"}],default:[{item:"#f5f5f5"}]}),p.selectType||(p.selectType={title:"选择信息",activeValue:"user",list:[{activeValue:"user",title:"用户"},{activeValue:"article",title:"文章"},{activeValue:"coupon",title:"优惠券"},{activeValue:"goods",title:"商品"}]}),p)}function c(){if(i===0){let p=[{components:C.c_set_up,configNme:"setUp"},{components:C.c_title,configNme:"messageTitle"},{components:C.c_select,configNme:"selectType"}];m.value==="article"?(p=p.concat([{components:C.c_radio,configNme:"articleDisplayMode"},{components:C.c_radio,configNme:"articleColumnStyle"},{components:C.c_title,configNme:"dataTitle"},{components:C.c_radio,configNme:"articleDataSource"}]),e.value.articleDataSource&&e.value.articleDataSource.tabVal===0?p.push({components:C.c_article,configNme:"articleList"}):e.value.articleDataSource&&e.value.articleDataSource.tabVal===1&&(p.push({components:C.c_classify,configNme:"articleClass"},{components:C.c_input_number,configNme:"articleNum"},{components:C.c_radio,configNme:"articleSort"},{components:C.c_radio,configNme:"articleSortRule"}),p.push({components:C.c_input_number,configNme:"articleNum"}))):m.value==="coupon"?(p=p.concat([{components:C.c_radio,configNme:"couponDisplayMode"},{components:C.c_radio,configNme:"couponColumnStyle"},{components:C.c_title,configNme:"dataTitle"},{components:C.c_radio,configNme:"couponDataSource"}]),e.value.couponDataSource&&e.value.couponDataSource.tabVal===0?p.push({components:C.c_coupon_select,configNme:"couponList"}):e.value.couponDataSource&&e.value.couponDataSource.tabVal===1&&(p.push({components:C.c_select,configNme:"couponType"},{components:C.c_select,configNme:"couponUserType"}),e.value.couponUserType.activeValue!=2&&p.push({components:C.c_select,configNme:"couponSendType"}),p.push({components:C.c_radio,configNme:"couponThreshold"}),e.value.couponThreshold&&e.value.couponThreshold.tabVal===1&&p.push({components:C.c_input_number,configNme:"couponThresholdValue"}),p.push({components:C.c_datetime_picker,configNme:"couponTime"},{components:C.c_radio,configNme:"couponSort"},{components:C.c_radio,configNme:"couponSortRule"}))):m.value==="goods"&&(p=p.concat([{components:C.c_radio,configNme:"goodsDisplayMode"},{components:C.c_radio,configNme:"goodsColumnStyle"},{components:C.c_title,configNme:"dataTitle"},{components:C.c_radio,configNme:"goodsDataSource"}]),e.value.goodsDataSource&&e.value.goodsDataSource.tabVal===0?p.push({components:C.c_goods,configNme:"goodsList"}):e.value.goodsDataSource&&e.value.goodsDataSource.tabVal===1&&(p.push({components:C.c_classify,configNme:"goodsClass"},{components:C.c_radio,configNme:"goodsSort"},{components:C.c_radio,configNme:"goodsSortRule"}),p.push({components:C.c_input_number,configNme:"goodsNum"}))),p.push({components:C.c_title,configNme:"designTitle"},{components:C.c_custom_btn,configNme:"customBtnConfig"}),o.value=p}else o.value=[{components:C.c_set_up,configNme:"setUp"},{components:C.c_data_style,configNme:"c_data_style"},{components:C.c_title,configNme:"commonTitle"},{components:C.c_common_style,configNme:"c_common_style"}]}function f(p){(p==null?void 0:p.name)=="custom_btn_click"&&(a.value=!0)}function g(p){e.value.customComponents=p}return(p,b)=>{const _=X("el-dialog");return s(),u("div",QE,[(s(!0),u(q,null,ae(o.value,(B,y)=>(s(),u("div",{key:y},[(s(),ce(Oe(B.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:B.configNme,key:y,onGetConfig:f,index:t.activeIndex,num:B.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(_,{"custom-class":"custom-design-dialog",modelValue:a.value,"onUpdate:modelValue":b[1]||(b[1]=B=>a.value=B),width:"100%",fullscreen:"","close-on-click-modal":!1,"show-close":!1},{default:P(()=>[a.value?(s(),ce(de(wE),{key:0,initialData:e.value.customComponents,columnNum:d.value,type:m.value,onSave:g,onClose:b[0]||(b[0]=B=>a.value=!1)},null,8,["initialData","columnNum","type"])):O("",!0)]),_:1},8,["modelValue"])])}}}),IE=fe(xE,[["__scopeId","data-v-e6890bb8"]]),UE=Object.freeze(Object.defineProperty({__proto__:null,default:IE},Symbol.toStringTag,{value:"Module"})),FE={class:"mobile-config"},EE=Object.assign({name:"c_good_recommend",cname:"优品推荐",componentsName:"home_good_recommend"},{__name:"c_good_recommend",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}]);let i=0;M(()=>n.num,r=>{let c=JSON.parse(JSON.stringify(A.defaultArray[r]));e.value=m(c),i=c.setUp.tabVal,a()}),M(e,(r,c)=>{A.UPDATEARR({num:n.num,val:r})},{deep:!0}),M(()=>{var r,c;return(c=(r=e.value)==null?void 0:r.setUp)==null?void 0:c.tabVal},(r,c)=>{i=r,a()},{deep:!0}),M(()=>{var r,c;return(c=(r=e.value)==null?void 0:r.headerType)==null?void 0:c.tabVal},(r,c)=>{a()},{deep:!0}),M(()=>{var r,c;return(c=(r=e.value)==null?void 0:r.typeConfig)==null?void 0:c.activeValue},(r,c)=>{a()},{deep:!0}),M(()=>{var r,c;return(c=(r=e.value)==null?void 0:r.cartConfig)==null?void 0:c.tabVal},(r,c)=>{a()},{deep:!0}),M(()=>{var r,c;return(c=(r=e.value)==null?void 0:r.toneConfig)==null?void 0:c.tabVal},(r,c)=>{a()},{deep:!0}),M(()=>{var r,c;return(c=(r=e.value)==null?void 0:r.toneCartConfig)==null?void 0:c.tabVal},(r,c)=>{a()},{deep:!0}),Ce(()=>{ve(()=>{let r=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=m(r),i=r.setUp.tabVal,a()})});function m(r){return r&&(r.paddingConfig||(r.paddingConfig={title:"内边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},r.topConfig&&(r.paddingConfig.valList[0].val=r.topConfig.val),r.prConfig&&(r.paddingConfig.valList[1].val=r.prConfig.val,r.paddingConfig.valList[3].val=r.prConfig.val),r.bottomConfig&&(r.paddingConfig.valList[2].val=r.bottomConfig.val)),r.marginConfig||(r.marginConfig={title:"外边距",isAll:!1,val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},r.mbConfig&&(r.marginConfig.valList[0].val=r.mbConfig.val)),r.c_common_style||(r.c_common_style={color:{title:"背景颜色",val:"",name:"bgColor"},color2:{title:"线条颜色",val:"",name:"lineColor"},lr:{title:"左右边距",val:0,min:0,max:100},type:0}),r)}function a(){if(!e.value.setUp)return;let r=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];if(i==0){let c=[{components:C.c_title,configNme:"headerTitle"},{components:C.c_radio,configNme:"headerType"}];e.value.headerType&&e.value.headerType.tabVal==0?c.push({components:C.c_input_item,configNme:"headerText"}):c.push({components:C.c_upload_img,configNme:"headerImg"}),c=c.concat([{components:C.c_title,configNme:"titleGoods"},{components:C.c_select,configNme:"typeConfig"}]);let f=e.value.typeConfig.activeValue;f==1?c.push({components:C.c_goods,configNme:"goodsList"}):f==3?(c.push({components:C.c_classify,configNme:"classList"}),c.push({components:C.c_slider,configNme:"numberConfig"}),c.push({components:C.c_radio,configNme:"goodsSort"})):f==4&&(c.push({components:C.c_goods_label,configNme:"goodsLabel"}),c.push({components:C.c_slider,configNme:"numberConfig"}),c.push({components:C.c_radio,configNme:"goodsSort"})),c=c.concat([{components:C.c_checkbox,configNme:"checkboxInfo"},{components:C.c_radio,configNme:"cartConfig"}]),e.value.cartConfig.tabVal==0&&(c.push({components:C.c_button_img,configNme:"bntStyleConfig"}),c.push({components:C.c_radio,configNme:"bntConfig"})),o.value=r.concat(c)}else{let c=[{components:C.c_title,configNme:"headerStyleTitle"},{components:C.c_radio,configNme:"headerAlign"}];e.value.headerType.tabVal==0&&(c.push({components:C.c_radio,configNme:"headerTextConfig"}),c.push({components:C.c_bg_color,configNme:"headerColor"}),c.push({components:C.c_slider,configNme:"headerFontSize"})),c=c.concat([{components:C.c_radio,configNme:"goodsName"},{components:C.c_radio,configNme:"toneConfig"}]),e.value.toneConfig.tabVal==1&&(c.push({components:C.c_bg_color,configNme:"goodsNameColor"}),c.push({components:C.c_bg_color,configNme:"goodsPriceColor"}),c.push({components:C.c_bg_color,configNme:"soldNumColor"}),c.push({components:C.c_bg_color,configNme:"scoreColor"})),e.value.cartConfig.tabVal==0&&(c.push({components:C.c_title,configNme:"cartStyleTitle"}),c.push({components:C.c_radio,configNme:"toneCartConfig"}),e.value.toneCartConfig.tabVal==1&&c.push({components:C.c_bg_color,configNme:"bntBgColor"})),c=c.concat([{components:C.c_title,configNme:"goodsStyleTitle"},{components:C.c_fillet,configNme:"filletImg"},{components:C.c_title,configNme:"generalStyleTitle"},{components:C.c_common_style,configNme:"c_common_style"}]),o.value=r.concat(c)}}function d(r,c){if(c!="radio"&&!r.name&&r==1&&e.value.typeConfig.activeValue!=1){e.value.goodsList.list=[];return}if(c!="radio"&&!r.name&&r==0&&!e.value.classList.classVal.length&&e.value.typeConfig.activeValue!=1){e.value.goodsList.list=[];return}let f=e.value.typeConfig.activeValue,g={page:1,limit:e.value.numberConfig.val,priceOrder:e.value.goodsSort.tabVal==2?"desc":"",salesOrder:e.value.goodsSort.tabVal==1?"desc":""};if(f==1){e.value.productList.list=[];return}else f==3?g.cate_id=e.value.classList.classVal:g.store_label_id=e.value.goodsLabel.activeValue;gl(g).then(p=>{e.value.productList.list=p.data})}return(r,c)=>(s(),u("div",FE,[(s(!0),u(q,null,ae(o.value,(f,g)=>(s(),u("div",{key:g},[(s(),ce(Oe(f.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:f.configNme,key:g,onGetConfig:d,index:t.activeIndex,number:t.num,num:f.num},null,40,["configObj","configNme","index","number","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),SE=Object.freeze(Object.defineProperty({__proto__:null,default:EE},Symbol.toStringTag,{value:"Module"})),LE={class:"mobile-config"},NE=Object.assign({name:"c_home_bargain",componentsName:"home_bargain"},{__name:"c_home_bargain",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}]),i=[{components:C.c_title,configNme:"titleLeft"},{components:C.c_radio,configNme:"styleConfig"},{components:C.c_bg_color,configNme:"headerBgColor"}],m=[{components:C.c_upload_img,configNme:"imgBgConfig"}],a=[{components:C.c_radio,configNme:"titleConfig"}],d=[{components:C.c_upload_img,configNme:"imgConfig"}],r=[{components:C.c_upload_img,configNme:"imgColorConfig"}],c=[{components:C.c_input_item,configNme:"titleTxtConfig"}],f=[{components:C.c_input_item,configNme:"tipTxtConfig"},{components:C.c_input_item,configNme:"rightBntConfig"},{components:C.c_title,configNme:"titleGoods"},{components:C.c_slider,configNme:"numberConfig"},{components:C.c_checkbox,configNme:"checkboxInfo"}],g=[{components:C.c_radio,configNme:"bargainConfig"}],p=[{components:C.c_title,configNme:"titleRight"}],b=[],_=[{components:C.c_radio,configNme:"titleText"},{components:C.c_bg_color,configNme:"titleColor"},{components:C.c_slider,configNme:"titleNumber"}],B=[{components:C.c_bg_color,configNme:"headerBntColor"}],y=[{components:C.c_bg_color,configNme:"headerBntColor2"}],Q=[{components:C.c_slider,configNme:"bntNumber"}],I=[{components:C.c_bg_color,configNme:"tipsColor"}],N=[{components:C.c_bg_color,configNme:"tipsColor2"}],w=[{components:C.c_bg_color,configNme:"dividerColor"},{components:C.c_title,configNme:"titleGoodsStyle"},{components:C.c_fillet,configNme:"filletImg"},{components:C.c_radio,configNme:"goodsName"},{components:C.c_bg_color,configNme:"goodsNameColor"}],h=[{components:C.c_bg_color,configNme:"goodsPriceColor"}],E=[{components:C.c_radio,configNme:"toneConfig"}],F=[{components:C.c_bg_color,configNme:"joinNumColor"}],x=[{components:C.c_bg_color,configNme:"joinNumColor2"}],j=[{components:C.c_bg_color,configNme:"joinBgColor"}],D=[{components:C.c_bg_color,configNme:"bargainPriceColor"}],V=[{components:C.c_bg_color,configNme:"goodsBntColor"},{components:C.c_bg_color,configNme:"goodsBntTxtColor"}],S=[{components:C.c_common_style,configNme:"commonStyle"}];let k=0,K=0,J=0,ee=0,T=0,H=0;M(()=>n.num,Y=>{e.value=A.defaultArray[Y]}),M(e,(Y,Z)=>{A.UPDATEARR({num:n.num,val:Y})},{deep:!0}),M(()=>{var Y,Z;return(Z=(Y=e.value)==null?void 0:Y.setUp)==null?void 0:Z.tabVal},(Y,Z)=>{k=Y;var re=[{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}];Y==0?G(re,K,J,ee):z(re,K,J,ee,H,T)},{deep:!0}),M(()=>{var Y,Z;return(Z=(Y=e.value)==null?void 0:Y.styleConfig)==null?void 0:Z.tabVal},(Y,Z)=>{K=Y;var re=[{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}];k==0?G(re,Y,J,ee):z(re,Y,J,ee,H,T)},{deep:!0}),M(()=>{var Y,Z;return(Z=(Y=e.value)==null?void 0:Y.titleConfig)==null?void 0:Z.tabVal},(Y,Z)=>{J=Y;var re=[{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}];k==0?G(re,K,Y,ee):z(re,K,Y,ee,H,T)},{deep:!0}),M(()=>{var Y,Z;return(Z=(Y=e.value)==null?void 0:Y.goodStyleConfig)==null?void 0:Z.tabVal},(Y,Z)=>{ee=Y;var re=[{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}];k==0?G(re,K,J,Y):z(re,K,J,Y,H,T)},{deep:!0}),M(()=>{var Y,Z;return(Z=(Y=e.value)==null?void 0:Y.bargainConfig)==null?void 0:Z.tabVal},(Y,Z)=>{H=Y;var re=[{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}];k&&z(re,K,J,ee,Y,T)},{deep:!0}),M(()=>{var Y,Z;return(Z=(Y=e.value)==null?void 0:Y.toneConfig)==null?void 0:Z.tabVal},(Y,Z)=>{T=Y;var re=[{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}];k&&z(re,K,J,ee,H,Y)},{deep:!0}),Ce(()=>{ve(()=>{let Y=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=R(Y)})});function R(Y){return Y&&(Y.headerBgColor||(Y.headerBgColor={title:"头部背景",name:"headerBgColor",default:[{item:"#F62C2C"},{item:"#F96E29"}],color:[{item:"#F62C2C"},{item:"#F96E29"}]}),Y.paddingConfig||(Y.paddingConfig={isAll:!1,title:"内边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},Y.topConfig&&(Y.paddingConfig.valList[0].val=Y.topConfig.val),Y.prConfig&&(Y.paddingConfig.valList[1].val=Y.prConfig.val,Y.paddingConfig.valList[3].val=Y.prConfig.val),Y.bottomConfig&&(Y.paddingConfig.valList[2].val=Y.bottomConfig.val)),Y.marginConfig||(Y.marginConfig={isAll:!1,title:"外边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},Y.mbConfig&&(Y.marginConfig.valList[0].val=Y.mbConfig.val)),Y.c_common_style||(Y.c_common_style={color:{title:"背景颜色",val:"",name:"bgColor"},color2:{title:"线条颜色",val:"",name:"lineColor"},lr:{title:"左右边距",val:0,min:0,max:100},type:0}),Y)}function G(Y,Z,re,te){if(Z==0)re==0?te==2||te==3?o.value=[...Y,...i,...a,...r,...f]:o.value=[...Y,...i,...a,...r,...f,...g]:te==2||te==3?o.value=[...Y,...i,...a,...c,...f]:o.value=[...Y,...i,...a,...c,...f,...g];else{const ge=i.filter(W=>W.configNme!=="headerBgColor");re==0?te==2||te==3?o.value=[...Y,...ge,...m,...a,...d,...f]:o.value=[...Y,...ge,...m,...a,...d,...f,...g]:te==2||te==3?o.value=[...Y,...ge,...m,...a,...c,...f]:o.value=[...Y,...ge,...m,...a,...c,...f,...g]}}function z(Y,Z,re,te,ge,W){let Ae=[...Y,...p,...b,...y,...Q,...N,...w,...h,...E,...S],me=[...Y,...p,...b,..._,...y,...Q,...N,...w,...h,...E,...S],ye=[...Y,...p,...B,...Q,...I,...w,...h,...E,...S],Te=[...Y,...p,..._,...B,...Q,...I,...w,...h,...E,...S];Z==0?re==0?te==0?ge==0?W==0?o.value=Ae:o.value=[...Y,...p,...b,...y,...Q,...N,...w,...h,...E,...x,...D,...V,...S]:W==0?o.value=Ae:o.value=[...Y,...p,...b,...y,...Q,...N,...w,...h,...E,...x,...D,...S]:te==1?ge==0?W==0?o.value=Ae:o.value=[...Y,...p,...b,...y,...Q,...N,...w,...h,...E,...D,...V,...S]:W==0?o.value=Ae:o.value=[...Y,...p,...b,...y,...Q,...N,...w,...h,...E,...D,...S]:te==2?W==0?o.value=Ae:o.value=[...Y,...p,...b,...y,...Q,...N,...w,...h,...E,...D,...S]:W==0?o.value=[...Y,...p,...b,...y,...Q,...N,...w,...E,...S]:o.value=[...Y,...p,...b,...y,...Q,...N,...w,...E,...F,...j,...D,...S]:te==0?ge==0?W==0?o.value=me:o.value=[...Y,...p,...b,..._,...y,...Q,...N,...w,...h,...E,...x,...D,...V,...S]:W==0?o.value=me:o.value=[...Y,...p,...b,..._,...y,...Q,...N,...w,...h,...E,...x,...D,...S]:te==1?ge==0?W==0?o.value=me:o.value=[...Y,...p,...b,..._,...y,...Q,...N,...w,...h,...E,...D,...V,...S]:W==0?o.value=me:o.value=[...Y,...p,...b,..._,...y,...Q,...N,...w,...h,...E,...D,...S]:te==2?W==0?o.value=me:o.value=[...Y,...p,...b,..._,...y,...Q,...N,...w,...h,...E,...D,...S]:W==0?o.value=[...Y,...p,...b,..._,...y,...Q,...N,...w,...E,...S]:o.value=[...Y,...p,...b,..._,...y,...Q,...N,...w,...E,...F,...j,...D,...S]:re==0?te==0?ge==0?W==0?o.value=ye:o.value=[...Y,...p,...B,...Q,...I,...w,...h,...E,...F,...D,...V,...S]:W==0?o.value=ye:o.value=[...Y,...p,...B,...Q,...I,...w,...h,...E,...F,...D,...S]:te==1?ge==0?W==0?o.value=ye:o.value=[...Y,...p,...B,...Q,...I,...w,...h,...E,...D,...V,...S]:W==0?o.value=ye:o.value=[...Y,...p,...B,...Q,...I,...w,...h,...E,...D,...S]:te==2?W==0?o.value=ye:o.value=[...Y,...p,...B,...Q,...I,...w,...h,...E,...D,...S]:W==0?o.value=ye:o.value=[...Y,...p,...B,...Q,...I,...w,...E,...F,...j,...D,...S]:te==0?ge==0?W==0?o.value=Te:o.value=[...Y,...p,..._,...B,...Q,...I,...w,...h,...E,...F,...D,...V,...S]:W==0?o.value=Te:o.value=[...Y,...p,..._,...B,...Q,...I,...w,...h,...E,...F,...D,...S]:te==1?ge==0?W==0?o.value=Te:o.value=[...Y,...p,..._,...B,...Q,...I,...w,...h,...E,...D,...V,...S]:W==0?o.value=Te:o.value=[...Y,...p,..._,...B,...Q,...I,...w,...h,...E,...D,...S]:te==2?W==0?o.value=Te:o.value=[...Y,...p,..._,...B,...Q,...I,...w,...h,...E,...D,...S]:W==0?o.value=Te:o.value=[...Y,...p,..._,...B,...Q,...I,...w,...E,...F,...j,...D,...S]}function ie(Y){}return(Y,Z)=>(s(),u("div",LE,[(s(!0),u(q,null,ae(o.value,(re,te)=>(s(),u("div",{key:te},[(s(),ce(Oe(re.components),{configObj:e.value,ref_for:!0,ref:"childData",onGetConfig:ie,key:te,configNme:re.configNme},null,40,["configObj","configNme"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),kE=Object.freeze(Object.defineProperty({__proto__:null,default:NE},Symbol.toStringTag,{value:"Module"})),VE={class:"mobile-config"},OE=Object.assign({name:"c_home_comb",componentsName:"home_comb"},{__name:"c_home_comb",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}]),i=[{components:C.c_title,configNme:"titleSearch"},{components:C.c_radio,configNme:"classConfig"},{components:C.c_radio,configNme:"searchConfig"},{components:C.c_radio,configNme:"searchBox"}],m=[{components:C.c_input_item,configNme:"titleConfig"}],a=[{components:C.c_upload_img,configNme:"logoConfig"},{components:C.c_upload_img,configNme:"logoUpConfig"}],d=[{components:C.c_input_item,configNme:"inputConfig"},{components:C.c_title,configNme:"titleHotWords"},{components:C.c_hot_word,configNme:"hotWords"},{components:C.c_input_number,configNme:"numConfig"}],r=[{components:C.c_title,configNme:"titleTab"},{components:C.c_tab_list,configNme:"tabListConfig"}],c=[{components:C.c_title,configNme:"titleImg"},{components:C.c_menu_list,configNme:"swiperConfig"}],f=[{components:C.c_title,configNme:"titleRight"},{components:C.c_slider,configNme:"contentConfig"},{components:C.c_bg_color,configNme:"classColor"}],g=[{components:C.c_title,configNme:"titlePointer"},{components:C.c_radio,configNme:"docConfig"},{components:C.c_radio,configNme:"docPosition"},{components:C.c_radio,configNme:"toneConfig"}],p=[{components:C.c_bg_color,configNme:"dotColor"},{components:C.c_bg_color,configNme:"dotBgColor"}],b=[{components:C.c_title,configNme:"titleImg"},{components:C.c_fillet,configNme:"filletImg"},{components:C.c_title,configNme:"titleGradient"},{components:C.c_bg_color,configNme:"gradientColor"}],_=[{components:C.c_common_style,configNme:"commonStyle"}];let B=0,y=0,Q=0,I=0;M(()=>n.num,h=>{const E=JSON.parse(JSON.stringify(A.defaultArray[h]));E.paddingConfig||(E.paddingConfig={isAll:!1,title:"内边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},E.topConfig&&(E.paddingConfig.valList[0].val=E.topConfig.val),E.prConfig&&(E.paddingConfig.valList[1].val=E.prConfig.val,E.paddingConfig.valList[3].val=E.prConfig.val),E.bottomConfig&&(E.paddingConfig.valList[2].val=E.bottomConfig.val)),E.marginConfig||(E.marginConfig={isAll:!1,title:"外边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},E.mbConfig&&(E.marginConfig.valList[0].val=E.mbConfig.val)),e.value=E}),M(e,(h,E)=>{A.UPDATEARR({num:n.num,val:h})},{deep:!0}),M(()=>{var h,E;return(E=(h=e.value)==null?void 0:h.setUp)==null?void 0:E.tabVal},(h,E)=>{B=h;var F=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];h==0?N(F):w(F)},{deep:!0}),M(()=>{var h,E;return(E=(h=e.value)==null?void 0:h.classConfig)==null?void 0:E.tabVal},(h,E)=>{y=h;var F=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];B==0?N(F):w(F)},{deep:!0}),M(()=>{var h,E;return(E=(h=e.value)==null?void 0:h.searchBox)==null?void 0:E.tabVal},(h,E)=>{Q=h;var F=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];B==0?N(F):w(F)}),M(()=>{var h,E;return(E=(h=e.value)==null?void 0:h.toneConfig)==null?void 0:E.tabVal},(h,E)=>{I=h;var F=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];B==0?N(F):w(F)}),M(()=>{var h,E;return(E=(h=e.value)==null?void 0:h.searchConfig)==null?void 0:E.tabVal},(h,E)=>{var F=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];B==0?N(F):w(F)}),Ce(()=>{ve(()=>{const h=JSON.parse(JSON.stringify(A.defaultArray[n.num]));h.paddingConfig||(h.paddingConfig={isAll:!1,title:"内边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},h.topConfig&&(h.paddingConfig.valList[0].val=h.topConfig.val),h.prConfig&&(h.paddingConfig.valList[1].val=h.prConfig.val,h.paddingConfig.valList[3].val=h.prConfig.val),h.bottomConfig&&(h.paddingConfig.valList[2].val=h.bottomConfig.val)),h.marginConfig||(h.marginConfig={isAll:!1,title:"外边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},h.mbConfig&&(h.marginConfig.valList[0].val=h.mbConfig.val)),e.value=h})});function N(h){let E=a;y==0?Q==0?o.value=[...h,...i,...m,...d,...r,...c]:o.value=[...h,...i,...E,...d,...r,...c]:Q==0?o.value=[...h,...i,...m,...d,...c]:o.value=[...h,...i,...E,...d,...c]}function w(h){y==0?I==0?o.value=[...h,...f,...g,...b,..._]:o.value=[...h,...f,...g,...p,...b,..._]:I==0?o.value=[...h,...g,...b,..._]:o.value=[...h,...g,...p,...b,..._]}return(h,E)=>(s(),u("div",VE,[(s(!0),u(q,null,ae(o.value,(F,x)=>(s(),u("div",{key:x},[(s(),ce(Oe(F.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:F.configNme,key:x,index:t.activeIndex,num:F.num},null,8,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),DE=fe(OE,[["__scopeId","data-v-bccd4083"]]),HE=Object.freeze(Object.defineProperty({__proto__:null,default:DE},Symbol.toStringTag,{value:"Module"})),TE={class:"mobile-config"},jE=Object.assign({name:"c_home_coupon",componentsName:"home_coupon"},{__name:"c_home_coupon",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}]),i=[{components:C.c_title,configNme:"titleRight"},{components:C.c_radio,configNme:"toneConfig"}],m=[{components:C.c_bg_color,configNme:"couponMoneyColor"}],a=[{components:C.c_bg_color,configNme:"couponReduceColor"}],d=[{components:C.c_bg_color,configNme:"couponTypeColor"}],r=[{components:C.c_bg_color,configNme:"bntBgColor"}],c=[{components:C.c_bg_color,configNme:"bntTxtColor"}],f=[{components:C.c_bg_color,configNme:"couponBgColor"}],g=[{components:C.c_common_style,configNme:"c_common_style"}];let p=0,b=0,_=0;M(()=>n.num,I=>{e.value=A.defaultArray[I],e.value=B(e.value)}),M(e,(I,N)=>{A.UPDATEARR({num:n.num,val:I})},{deep:!0}),M(()=>{var I,N;return(N=(I=e.value)==null?void 0:I.setUp)==null?void 0:N.tabVal},(I,N)=>{p=I;var w=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];if(I==0){let h=[{components:C.c_title,configNme:"titleData"},{components:C.c_slider,configNme:"numberConfig"}];o.value=w.concat(h)}else y(w,b,_)},{deep:!0}),M(()=>{var I,N;return(N=(I=e.value)==null?void 0:I.styleConfig)==null?void 0:N.tabVal},(I,N)=>{b=I;var w=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];p&&y(w,I,_)},{deep:!0}),M(()=>{var I,N;return(N=(I=e.value)==null?void 0:I.toneConfig)==null?void 0:N.tabVal},(I,N)=>{_=I;var w=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];p&&y(w,b,I)},{deep:!0}),Ce(()=>{ve(()=>{let I=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=B(I)})});function B(I){return I&&(I.paddingConfig||(I.paddingConfig={isAll:!1,title:"内边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},I.topConfig&&(I.paddingConfig.valList[0].val=I.topConfig.val),I.prConfig&&(I.paddingConfig.valList[1].val=I.prConfig.val,I.paddingConfig.valList[3].val=I.prConfig.val),I.bottomConfig&&(I.paddingConfig.valList[2].val=I.bottomConfig.val)),I.marginConfig||(I.marginConfig={isAll:!1,title:"外边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},I.mbConfig&&(I.marginConfig.valList[0].val=I.mbConfig.val)),I.c_common_style||(I.c_common_style={color:"rgba(255,255,255,1)",color2:"rgba(255,255,255,1)",lr:0,type:0}),I)}function y(I,N,w){N==0?w==0?o.value=[...I,...i,...g]:o.value=[...I,...i,...m,...r,...f,...g]:N==1?w==0?o.value=[...I,...i,...g]:o.value=[...I,...i,...m,...a,...d,...r,...c,...g]:N==2?w==0?o.value=[...I,...i,...g]:o.value=[...I,...i,...m,...a,...r,...c,...g]:N==3?w==0?o.value=[...I,...i,...g]:o.value=[...I,...i,...m,...a,...d,...f,...r,...c,...g]:w==0?o.value=[...I,...i,...g]:o.value=[...I,...i,...m,...r,...g]}function Q(I){}return(I,N)=>(s(),u("div",TE,[(s(!0),u(q,null,ae(o.value,(w,h)=>(s(),u("div",{key:h},[(s(),ce(Oe(w.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:w.configNme,key:h,onGetConfig:Q},null,40,["configObj","configNme"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),RE=fe(jE,[["__scopeId","data-v-e3eb6d6c"]]),ME=Object.freeze(Object.defineProperty({__proto__:null,default:RE},Symbol.toStringTag,{value:"Module"})),KE={class:"mobile-config"},PE=Object.assign({name:"c_home_goods_list",cname:"产品列表",componentsName:"home_goods_list"},{__name:"c_home_goods_list",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}]),i=[{components:C.c_title,configNme:"titleGoods"},{components:C.c_select,configNme:"typeConfig"}],m=[{components:C.c_goods,configNme:"goodsList"}],a=[{components:C.c_brand,configNme:"brandList"},{components:C.c_slider,configNme:"numberConfig"},{components:C.c_radio,configNme:"goodsSort"}],d=[{components:C.c_classify,configNme:"classList"},{components:C.c_slider,configNme:"numberConfig"},{components:C.c_radio,configNme:"goodsSort"}],r=[{components:C.c_goods_label,configNme:"goodsLabel"},{components:C.c_slider,configNme:"numberConfig"},{components:C.c_radio,configNme:"goodsSort"}],c=[{components:C.c_title,configNme:"titleContents"},{components:C.c_checkbox,configNme:"checkboxInfo"}],f=[{components:C.c_title,configNme:"titleCart"},{components:C.c_radio,configNme:"cartConfig"}],g=[{components:C.c_button_img,configNme:"bntStyleConfig"},{components:C.c_radio,configNme:"bntConfig"}],p=[{components:C.c_title,configNme:"titleRight"},{components:C.c_fillet,configNme:"filletImg"},{components:C.c_radio,configNme:"goodsName"},{components:C.c_radio,configNme:"toneConfig"}],b=[{components:C.c_bg_color,configNme:"goodsNameColor"},{components:C.c_bg_color,configNme:"goodsPriceColor"}],_=[{components:C.c_bg_color,configNme:"soldNumColor"}],B=[{components:C.c_bg_color,configNme:"scoreColor"}],y=[{components:C.c_title,configNme:"titleCart"},{components:C.c_radio,configNme:"toneCartConfig"}],Q=[{components:C.c_bg_color,configNme:"bntBgColor"}];let I=0,N=0,w=0,h=0,E=0,F=0;M(()=>n.num,k=>{let K=JSON.parse(JSON.stringify(A.defaultArray[k]));e.value=x(K),(!K.selectConfig.list||!K.selectConfig.list[0].value)&&j()}),M(e,(k,K)=>{A.UPDATEARR({num:n.num,val:k})},{deep:!0}),M(()=>{var k,K;return(K=(k=e.value)==null?void 0:k.setUp)==null?void 0:K.tabVal},(k,K)=>{I=k;var J=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];k==0?D(J,N,w,h):V(J,N,h,E,F)},{deep:!0}),M(()=>{var k,K;return(K=(k=e.value)==null?void 0:k.styleConfig)==null?void 0:K.tabVal},(k,K)=>{N=k;var J=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];I===0?D(J,k,w,h):V(J,k,h,E,F)},{deep:!0}),M(()=>{var k,K;return(K=(k=e.value)==null?void 0:k.typeConfig)==null?void 0:K.activeValue},(k,K)=>{w=k;var J=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];I===0&&D(J,N,k,h)},{deep:!0}),M(()=>{var k,K;return(K=(k=e.value)==null?void 0:k.cartConfig)==null?void 0:K.tabVal},(k,K)=>{h=k;var J=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];I===0?D(J,N,w,k):V(J,N,k,E,F)},{deep:!0}),M(()=>{var k,K;return(K=(k=e.value)==null?void 0:k.toneConfig)==null?void 0:K.tabVal},(k,K)=>{E=k;var J=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];I&&V(J,N,h,k,F)},{deep:!0}),M(()=>{var k,K;return(K=(k=e.value)==null?void 0:k.toneCartConfig)==null?void 0:K.tabVal},(k,K)=>{F=k;var J=[{components:C.c_title,configNme:"titleLeft"},{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];I&&V(J,N,h,E,k)},{deep:!0}),Ce(()=>{ve(()=>{let k=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=x(k)})});function x(k){return k&&(k.paddingConfig||(k.paddingConfig={title:"内边距",val:0,min:0,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},k.topConfig&&(k.paddingConfig.valList[0].val=k.topConfig.val),k.prConfig&&(k.paddingConfig.valList[1].val=k.prConfig.val,k.paddingConfig.valList[3].val=k.prConfig.val),k.bottomConfig&&(k.paddingConfig.valList[2].val=k.bottomConfig.val)),k.marginConfig||(k.marginConfig={title:"外边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},k.mbConfig&&(k.marginConfig.valList[0].val=k.mbConfig.val)),k)}function j(){vc().then(k=>{e.value.selectConfig.list=k.data})}function D(k,K,J,ee){K==3?J==1?o.value=[...k,...i,...m,...c]:J==2?o.value=[...k,...i,...a,...c]:J==3?o.value=[...k,...i,...d,...c]:o.value=[...k,...i,...r,...c]:J==1?ee==0?o.value=[...k,...i,...m,...c,...f,...g]:o.value=[...k,...i,...m,...c,...f]:J==2?ee==0?o.value=[...k,...i,...a,...c,...f,...g]:o.value=[...k,...i,...a,...c,...f]:J==3?ee==0?o.value=[...k,...i,...d,...c,...f,...g]:o.value=[...k,...i,...d,...c,...f]:ee==0?o.value=[...k,...i,...r,...c,...f,...g]:o.value=[...k,...i,...r,...c,...f]}function V(k,K,J,ee,T){let H=[],R=[];ee?K==1||K==4?(H=[...b,..._],R=[...R]):K==0?(H=[...b,..._,...B],R=[...R]):K==2||K==3?(H=[...b],R=[...R]):(H=[...b,..._],R=[...R]):K==0||K==1||K==4?R=[...R]:R=[...R];let G=[];K!=3&&(T?G=[...y,...Q]:G=[...y]),J==0?o.value=[...k,...p,...H,...G,...R]:o.value=[...k,...p,...H,...R]}function S(k,K){if(K!="radio"&&!k.name&&k==1&&e.value.typeConfig.activeValue!=1){e.value.goodsList.list=[];return}if(K!="radio"&&!k.name&&k==0&&!e.value.classList.classVal.length&&e.value.typeConfig.activeValue!=1){e.value.goodsList.list=[];return}let J=e.value.typeConfig.activeValue,ee={page:1,limit:e.value.numberConfig.val,priceOrder:e.value.goodsSort.tabVal==2?"desc":"",salesOrder:e.value.goodsSort.tabVal==1?"desc":""};if(J==1){e.value.productList.list=[];return}else J==3?ee.cate_id=e.value.classList.classVal:ee.store_label_id=e.value.goodsLabel.activeValue;gl(ee).then(T=>{e.value.productList.list=T.data})}return(k,K)=>(s(),u("div",KE,[(s(!0),u(q,null,ae(o.value,(J,ee)=>(s(),u("div",{key:ee},[(s(),ce(Oe(J.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:J.configNme,key:ee,onGetConfig:S,index:t.activeIndex,number:t.num,num:J.num},null,40,["configObj","configNme","index","number","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),GE=fe(PE,[["__scopeId","data-v-6f4785d7"]]),zE=Object.freeze(Object.defineProperty({__proto__:null,default:GE},Symbol.toStringTag,{value:"Module"})),JE={class:"mobile-config hot"},YE=Object.assign({name:"c_home_hot",cname:"超值爆款",componentsName:"home_hot"},{__name:"c_home_hot",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_set_up,configNme:"setUp"}]);M(()=>n.num,a=>{let d=JSON.parse(JSON.stringify(A.defaultArray[a]));e.value=i(d)}),M(e,(a,d)=>{A.UPDATEARR({num:n.num,val:a})},{deep:!0}),M(()=>{var a,d;return(d=(a=e.value)==null?void 0:a.setUp)==null?void 0:d.tabVal},(a,d)=>{var r=[o.value[0]];if(a==0){let c=[{components:C.c_input_item,configNme:"titleConfig"},{components:C.c_input_item,configNme:"desConfig"},{components:C.c_menu_list,configNme:"menuConfig"}];o.value=r.concat(c)}else{let c=[{components:C.c_bg_color,configNme:"themeColor"},{components:C.c_bg_color,configNme:"boxColor"},{components:C.c_common_style,configNme:"c_common_style"}];o.value=r.concat(c)}},{deep:!0}),Ce(()=>{ve(()=>{let a=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=i(a)})});function i(a){return a.paddingConfig||(a.paddingConfig={isAll:!1,title:"内边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]}),a.marginConfig||(a.marginConfig={isAll:!1,title:"外边距",val:0,min:0,max:100,valList:[{val:a.mbConfig?a.mbConfig.val:0},{val:0},{val:0},{val:0}]}),a.bottomBgColor||(a.bottomBgColor={title:"底部背景",default:[{item:"#F5F5F5"}],color:[{item:"#F5F5F5"}]}),a}function m(a){}return(a,d)=>(s(),u("div",JE,[(s(!0),u(q,null,ae(o.value,(r,c)=>(s(),u("div",{key:c},[(s(),ce(Oe(r.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:r.configNme,key:c,onGetConfig:m,index:t.activeIndex,num:r.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),XE=fe(YE,[["__scopeId","data-v-b6e4a07b"]]),WE=Object.freeze(Object.defineProperty({__proto__:null,default:XE},Symbol.toStringTag,{value:"Module"})),$E={class:"mobile-config pro"},ZE=Object.assign({name:"c_home_menu",cname:"导航组",componentsName:"home_menu"},{__name:"c_home_menu",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_card_select,configNme:"menuStyleConfig"},{components:C.c_set_up,configNme:"setUp"}]),i=[{components:C.c_radio,configNme:"rowsNum"}],m=[{components:C.c_title,configNme:"titleContent"},{components:C.c_menu_list,configNme:"menuConfig"}],a=[{components:C.c_title,configNme:"titleRight"},{components:C.c_fillet,configNme:"filletImg"}],d=[{components:C.c_icon_style,configNme:"iconStyleConfig"}],r=[{components:C.c_grid_item_style,configNme:"gridItemStyle"}],c=[{components:C.c_title,configNme:"titlePointer"},{components:C.c_radio,configNme:"toneConfig"}],f=[{components:C.c_bg_color,configNme:"pointerColor"},{components:C.c_bg_color,configNme:"pointerBgColor"}],g=[{components:C.c_common_style,configNme:"commonStyle"}];let p=0,b=0,_=0,B=0,y=!1;const Q=v(!1);M(()=>n.num,F=>{let x=JSON.parse(JSON.stringify(A.defaultArray[F]));e.value=N(x)}),M(e,(F,x)=>{A.UPDATEARR({num:n.num,val:F})},{deep:!0}),M(()=>{var F,x;return(x=(F=e.value)==null?void 0:F.headerConfig)==null?void 0:x.enable},(F,x)=>{y=F,E()},{deep:!0}),M(()=>{var F,x;return(x=(F=e.value)==null?void 0:F.setUp)==null?void 0:x.tabVal},(F,x)=>{b=F,E()},{deep:!0}),M(()=>{var F,x;return(x=(F=e.value)==null?void 0:F.menuStyleConfig)==null?void 0:x.tabVal},(F,x)=>{_=F,E()},{deep:!0}),M(()=>{var F,x;return(x=(F=e.value)==null?void 0:F.showConfig)==null?void 0:x.tabVal},(F,x)=>{p=F,E()},{deep:!0}),M(()=>{var F,x;return(x=(F=e.value)==null?void 0:F.toneConfig)==null?void 0:x.tabVal},(F,x)=>{B=F,E()},{deep:!0}),M(()=>{var F,x;return(x=(F=e.value)==null?void 0:F.menuConfig)==null?void 0:x.listStyle},(F,x)=>{E()},{deep:!0}),Ce(()=>{ve(()=>{let F=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=N(F)})});function I(F){F.name&&F.name=="custom_btn_click"&&(Q.value=!0)}function N(F){return F&&(F.paddingConfig||(F.paddingConfig={isAll:!1,title:"内边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},F.topConfig&&(F.paddingConfig.valList[0].val=F.topConfig.val),F.prConfig&&(F.paddingConfig.valList[1].val=F.prConfig.val,F.paddingConfig.valList[3].val=F.prConfig.val),F.bottomConfig&&(F.paddingConfig.valList[2].val=F.bottomConfig.val)),F.marginConfig||(F.marginConfig={isAll:!1,title:"外边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},F.mbConfig&&(F.marginConfig.valList[0].val=F.mbConfig.val)),F.customBtnConfig||(F.customBtnConfig={title:"设计组件"}),F.fillet||(F.fillet={title:"圆角设置",type:0,val:0,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]}),F.bgColor||(F.bgColor={title:"背景颜色",color:[{item:"#fff"}],default:[{item:"#fff"}]}),F.headerStyle||(F.headerStyle={title:"头部样式",fontSize:16,rightFontSize:12,leftColor:"#333",rightColor:"#999",leftWeight:"normal",rightWeight:"normal",topPadding:10,bottomPadding:10,leftRightPadding:12}),F.headerStyle&&!F.headerStyle.rightFontSize&&(F.headerStyle.rightFontSize=12),F)}function w(){let F=[{components:C.c_title,configNme:"titleLeft"},{components:C.c_radio,configNme:"navDisplayStyle"},{components:C.c_header_switch,configNme:"headerConfig"}];return _!==2&&F.splice(2,0,{components:C.c_radio,configNme:"showConfig"}),y&&F.push({components:C.c_text_config,configNme:"leftTopText"},{components:C.c_text_config,configNme:"rightTopText"}),_!==2&&(_===0&&F.splice(3,0,{components:C.c_radio,configNme:"number"}),_===1&&F.splice(3,0,{components:C.c_radio,configNme:"gridStyle"})),F}function h(){let F=[];return y&&F.push({components:C.c_header_style,configNme:"headerStyle"}),_===1&&(F=F.concat(r)),F}function E(){var F=[{components:C.c_card_select,configNme:"menuStyleConfig"},{components:C.c_set_up,configNme:"setUp"}];if(b==0){let x=w(),j=F.concat(x);if(p==0)o.value=j.concat(m);else{let D=_===2?j:j.concat(i);o.value=D.concat(m)}}else{let x=h(),j=e.value.menuConfig?e.value.menuConfig.listStyle:0,D=[];j===1&&(D=d),D=a;let V=F.concat(x).concat(D);p==0?o.value=V.concat(g):B==0?o.value=V.concat(c).concat(g):o.value=V.concat(c).concat(f).concat(g)}}return(F,x)=>{const j=X("el-dialog");return s(),u("div",$E,[(s(!0),u(q,null,ae(o.value,(D,V)=>(s(),u("div",{key:V},[(s(),ce(Oe(D.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:D.configNme,key:V,onGetConfig:I,index:t.activeIndex,num:D.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"]),L(j,{modelValue:Q.value,"onUpdate:modelValue":x[0]||(x[0]=D=>Q.value=D),title:"设计组件",width:"60%"},{default:P(()=>[...x[1]||(x[1]=[l("div",null,"这里是设计组件内容",-1)])]),_:1},8,["modelValue"])])}}}),qE=Object.freeze(Object.defineProperty({__proto__:null,default:ZE},Symbol.toStringTag,{value:"Module"})),eS={class:"mobile-config"},tS=Object.assign({name:"c_home_pink",cname:"拼团",componentsName:"home_pink"},{__name:"c_home_pink",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}]),i=[{components:C.c_title,configNme:"bgTitle"},{components:C.c_radio,configNme:"styleConfig"}],m=[{components:C.c_upload_img,configNme:"imgBgConfig"}],a=[{components:C.c_radio,configNme:"titleConfig"}],d=[{components:C.c_upload_img,configNme:"imgConfig"}],r=[{components:C.c_upload_img,configNme:"imgColorConfig"}],c=[{components:C.c_input_item,configNme:"titleTxtConfig"}],f=[{components:C.c_input_item,configNme:"rightBntConfig"},{components:C.c_title,configNme:"titleGoods"},{components:C.c_slider,configNme:"numberConfig"},{components:C.c_checkbox,configNme:"checkboxInfo"}],g=[{components:C.c_radio,configNme:"pinkConfig"}],p=[{components:C.c_title,configNme:"titleRight"}],b=[{components:C.c_bg_color,configNme:"headerBgColor"}],_=[{components:C.c_radio,configNme:"titleText"},{components:C.c_bg_color,configNme:"titleColor"},{components:C.c_slider,configNme:"titleNumber"}],B=[{components:C.c_bg_color,configNme:"headerBntColor"}],y=[{components:C.c_bg_color,configNme:"headerBntColor2"}],Q=[{components:C.c_slider,configNme:"bntNumber"}],I=[{components:C.c_bg_color,configNme:"tipsColor"}],N=[{components:C.c_bg_color,configNme:"tipsColor2"}],w=[{components:C.c_bg_color,configNme:"dividerColor"},{components:C.c_title,configNme:"titleGoodsStyle"},{components:C.c_fillet,configNme:"filletImg"},{components:C.c_radio,configNme:"goodsName"},{components:C.c_bg_color,configNme:"goodsNameColor"},{components:C.c_bg_color,configNme:"goodsPriceColor"},{components:C.c_radio,configNme:"toneConfig"}],h=[{components:C.c_bg_color,configNme:"pinkPriceColor"},{components:C.c_bg_color,configNme:"labelColor"}],E=[{components:C.c_bg_color,configNme:"goodsBntColor"},{components:C.c_bg_color,configNme:"goodsBntTxtColor"}],F=[{components:C.c_common_style,configNme:"commonStyle"}];let x=0,j=0,D=0,V=0,S=0,k=0;M(()=>n.num,H=>{let R=JSON.parse(JSON.stringify(A.defaultArray[H]));e.value=R}),M(e,(H,R)=>{A.UPDATEARR({num:n.num,val:H})},{deep:!0}),M(()=>{var H,R;return(R=(H=e.value)==null?void 0:H.setUp)==null?void 0:R.tabVal},(H,R)=>{x=H;var G=[{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}];H==0?J(G,j,D,V):ee(G,j,D,V,k,S)},{deep:!0}),M(()=>{var H,R;return(R=(H=e.value)==null?void 0:H.styleConfig)==null?void 0:R.tabVal},(H,R)=>{j=H;var G=[{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}];x==0?J(G,H,D,V):ee(G,H,D,V,k,S)},{deep:!0}),M(()=>{var H,R;return(R=(H=e.value)==null?void 0:H.titleConfig)==null?void 0:R.tabVal},(H,R)=>{D=H;var G=[{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}];x==0?J(G,j,H,V):ee(G,j,H,V,k,S)},{deep:!0}),M(()=>{var H,R;return(R=(H=e.value)==null?void 0:H.goodStyleConfig)==null?void 0:R.tabVal},(H,R)=>{V=H;var G=[{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}];x==0?J(G,j,D,H):ee(G,j,D,H,k,S)},{deep:!0}),M(()=>{var H,R;return(R=(H=e.value)==null?void 0:H.pinkConfig)==null?void 0:R.tabVal},(H,R)=>{k=H;var G=[{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}];x&&ee(G,j,D,V,H,S)},{deep:!0}),M(()=>{var H,R;return(R=(H=e.value)==null?void 0:H.toneConfig)==null?void 0:R.tabVal},(H,R)=>{S=H;var G=[{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}];x&&ee(G,j,D,V,k,H)},{deep:!0}),Ce(()=>{ve(()=>{let H=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=K(H)})});function K(H){return H.paddingConfig||(H.paddingConfig={isAll:!1,title:"内边距",val:0,min:0,max:100,valList:[{val:H.topConfig?H.topConfig.val:0},{val:H.prConfig?H.prConfig.val:0},{val:H.bottomConfig?H.bottomConfig.val:0},{val:H.prConfig?H.prConfig.val:0}]}),H.marginConfig||(H.marginConfig={isAll:!1,title:"外边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:H.mbConfig?H.mbConfig.val:0},{val:0}]}),H}function J(H,R,G,z){R==0?G==0?z==2||z==3?o.value=[...H,...i,...a,...r,...f]:o.value=[...H,...i,...a,...r,...f,...g]:z==2||z==3?o.value=[...H,...i,...a,...c,...f]:o.value=[...H,...i,...a,...c,...f,...g]:G==0?z==2||z==3?o.value=[...H,...i,...m,...a,...d,...f]:o.value=[...H,...i,...m,...a,...d,...f,...g]:z==2||z==3?o.value=[...H,...i,...m,...a,...c,...f]:o.value=[...H,...i,...m,...a,...c,...f,...g]}function ee(H,R,G,z,ie,Y){let Z=[...H,...p,...b,...y,...Q,...N,...w,...F],re=[...H,...p,...b,..._,...y,...Q,...N,...w,...F],te=[...H,...p,...B,...Q,...I,...w,...F],ge=[...H,...p,..._,...B,...Q,...I,...w,...F];R==0?G==0?z==0||z==1?ie==0?Y==0?o.value=Z:o.value=[...H,...p,...b,...y,...Q,...N,...w,...h,...E,...F]:Y==0?o.value=Z:o.value=[...H,...p,...b,...y,...Q,...N,...w,...h,...F]:Y==0?o.value=Z:o.value=[...H,...p,...b,...y,...Q,...N,...w,...h,...F]:z==0||z==1?ie==0?Y==0?o.value=re:o.value=[...H,...p,...b,..._,...y,...Q,...N,...w,...h,...E,...F]:Y==0?o.value=re:o.value=[...H,...p,...b,..._,...y,...Q,...N,...w,...h,...F]:Y==0?o.value=re:o.value=[...H,...p,...b,..._,...y,...Q,...N,...w,...h,...F]:G==0?z==0||z==1?ie==0?Y==0?o.value=te:o.value=[...H,...p,...B,...Q,...I,...w,...h,...E,...F]:Y==0?o.value=te:o.value=[...H,...p,...B,...Q,...I,...w,...h,...F]:Y==0?o.value=te:o.value=[...H,...p,...B,...Q,...I,...w,...h,...F]:z==0||z==1?ie==0?Y==0?o.value=ge:o.value=[...H,...p,..._,...B,...Q,...I,...w,...h,...E,...F]:Y==0?o.value=ge:o.value=[...H,...p,..._,...B,...Q,...I,...w,...h,...F]:Y==0?o.value=ge:o.value=[...H,...p,..._,...B,...Q,...I,...w,...h,...F]}function T(H){}return(H,R)=>(s(),u("div",eS,[(s(!0),u(q,null,ae(o.value,(G,z)=>(s(),u("div",{key:z},[(s(),ce(Oe(G.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:G.configNme,key:z,onGetConfig:T,index:t.activeIndex,num:G.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),oS=Object.freeze(Object.defineProperty({__proto__:null,default:tS},Symbol.toStringTag,{value:"Module"})),AS={class:"mobile-config"},nS=Object.assign({name:"c_home_product",cname:"商品选项卡",componentsName:"home_product"},{__name:"c_home_product",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}]),i=[{components:C.c_title,configNme:"titleLeft"},{components:C.c_radio,configNme:"slideConfig"},{components:C.c_title,configNme:"titleTab"},{components:C.c_promotion,configNme:"tabConfig"},{components:C.c_title,configNme:"titleCart"},{components:C.c_radio,configNme:"cartConfig"}],m=[{components:C.c_button_img,configNme:"bntStyleConfig"},{components:C.c_radio,configNme:"bntConfig"}],a=[{components:C.c_title,configNme:"titleRight"},{components:C.c_radio,configNme:"toneConfig"}],d=[{components:C.c_bg_color,configNme:"decorateColor"}],r=[{components:C.c_bg_color,configNme:"decorateColor2"}],c=[{components:C.c_bg_color,configNme:"textColor2"}],f=[{components:C.c_bg_color,configNme:"textColor"}],g=[{components:C.c_bg_color,configNme:"textColor3"}],p=[{components:C.c_title,configNme:"titleCart"},{components:C.c_radio,configNme:"toneCartConfig"}],b=[{components:C.c_bg_color,configNme:"goodsPriceColor"},{components:C.c_bg_color,configNme:"bntBgColor"}],_=[{components:C.c_common_style,configNme:"commonStyle"}];let B=0,y=0,Q=0,I=0,N=0;M(()=>n.num,x=>{let j=JSON.parse(JSON.stringify(A.defaultArray[x]));e.value=w(j)}),M(e,(x,j)=>{A.UPDATEARR({num:n.num,val:x})},{deep:!0}),M(()=>{var x,j;return(j=(x=e.value)==null?void 0:x.setUp)==null?void 0:j.tabVal},(x,j)=>{B=x;var D=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];x==0?h(D,I):E(D,y,Q,I,N)},{deep:!0}),M(()=>{var x,j;return(j=(x=e.value)==null?void 0:x.styleConfig)==null?void 0:j.tabVal},(x,j)=>{y=x;var D=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];B&&E(D,x,Q,I,N)}),M(()=>{var x,j;return(j=(x=e.value)==null?void 0:x.cartConfig)==null?void 0:j.tabVal},(x,j)=>{I=x;var D=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];B==0?h(D,x):E(D,y,Q,x,N)}),M(()=>{var x,j;return(j=(x=e.value)==null?void 0:x.toneConfig)==null?void 0:j.tabVal},(x,j)=>{Q=x;var D=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];B&&E(D,y,x,I,N)}),M(()=>{var x,j;return(j=(x=e.value)==null?void 0:x.toneCartConfig)==null?void 0:j.tabVal},(x,j)=>{N=x;var D=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];B&&E(D,y,Q,I,x)}),Ce(()=>{ve(()=>{let x=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=w(x)})});function w(x){return x&&(x.paddingConfig||(x.paddingConfig={title:"内边距",val:0,min:0,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},x.topConfig&&(x.paddingConfig.valList[0].val=x.topConfig.val),x.prConfig&&(x.paddingConfig.valList[1].val=x.prConfig.val,x.paddingConfig.valList[3].val=x.prConfig.val),x.bottomConfig&&(x.paddingConfig.valList[2].val=x.bottomConfig.val)),x.marginConfig||(x.marginConfig={title:"外边距",val:0,min:0,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},x.mbConfig&&(x.marginConfig.valList[0].val=x.mbConfig.val)),x)}function h(x,j){j==0?o.value=[...x,...i,...m]:o.value=[...x,...i]}function E(x,j,D,V,S){let k=[...x,...a,..._],K=[...x,...a,...p,..._];j==0?D==0?V==0?S==0?o.value=K:o.value=[...x,...a,...p,...b,..._]:o.value=k:V==0?S==0?o.value=[...x,...a,...d,...c,...p,..._]:o.value=[...x,...a,...d,...c,...p,...b,..._]:o.value=[...x,...a,...d,...c,...p,..._]:j==1?D==0?V==0?S==0?o.value=K:o.value=[...x,...a,...p,...b,..._]:o.value=k:V==0?S==0?o.value=[...x,...a,...d,...f,...p,..._]:o.value=[...x,...a,...d,...f,...p,...b,..._]:o.value=[...x,...a,...d,...f,...p,..._]:j==2?D==0?V==0?S==0?o.value=K:o.value=[...x,...a,...p,...b,..._]:o.value=k:V==0?S==0?o.value=[...x,...a,...r,...c,...p,..._]:o.value=[...x,...a,...r,...c,...p,...b,..._]:o.value=[...x,...a,...r,...c,...p,..._]:D==0?V==0?S==0?o.value=K:o.value=[...x,...a,...p,...b,..._]:o.value=k:V==0?S==0?o.value=[...x,...a,...d,...g,...p,..._]:o.value=[...x,...a,...d,...g,...p,...b,..._]:o.value=[...x,...a,...d,...g,...p,..._]}function F(x){let j=e.value.tabConfig.list[e.value.tabConfig.tabCur],D=j.selectConfig.activeValue;if(!x.name||x.name=="selectType"&&x.values==1)return;let V=j.tabVal,S={page:1,limit:j.numConfig.val,priceOrder:j.goodsSort==2?"desc":"",salesOrder:j.goodsSort==1?"desc":""};if(V==1){e.value.productList.list=[];return}else V==3?S.cate_id=D:S.store_label_id=j.goodsLabel.activeValue;gl(S).then(k=>{j.productList.list=k.data})}return(x,j)=>(s(),u("div",AS,[(s(!0),u(q,null,ae(o.value,(D,V)=>(s(),u("div",{key:V},[(s(),ce(Oe(D.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:D.configNme,key:V,onGetConfig:F,index:t.activeIndex,num:D.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),lS=fe(nS,[["__scopeId","data-v-bc2eca39"]]),iS=Object.freeze(Object.defineProperty({__proto__:null,default:lS},Symbol.toStringTag,{value:"Module"})),aS={class:"mobile-config"},sS=Object.assign({name:"c_home_seckill",cname:"秒杀",componentsName:"home_seckill"},{__name:"c_home_seckill",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}]),i=[{components:C.c_title,configNme:"titleLeft"},{components:C.c_radio,configNme:"styleConfig"}],m=[{components:C.c_upload_img,configNme:"imgBgConfig"}],a=[{components:C.c_radio,configNme:"titleConfig"}],d=[{components:C.c_upload_img,configNme:"imgConfig"}],r=[{components:C.c_upload_img,configNme:"imgColorConfig"}],c=[{components:C.c_input_item,configNme:"titleTxtConfig"}],f=[{components:C.c_input_item,configNme:"rightBntConfig"},{components:C.c_title,configNme:"titleGoods"},{components:C.c_slider,configNme:"numberConfig"},{components:C.c_checkbox,configNme:"checkboxInfo"}],g=[{components:C.c_radio,configNme:"seckillConfig"}],p=[{components:C.c_title,configNme:"titleRight"}],b=[{components:C.c_bg_color,configNme:"headerBgColor"}],_=[{components:C.c_radio,configNme:"titleText"},{components:C.c_bg_color,configNme:"titleColor"},{components:C.c_slider,configNme:"titleNumber"}],B=[{components:C.c_bg_color,configNme:"headerBntColor"}],y=[{components:C.c_bg_color,configNme:"headerBntColor2"}],Q=[{components:C.c_slider,configNme:"bntNumber"}],I=[{components:C.c_bg_color,configNme:"tipsColor"},{components:C.c_bg_color,configNme:"numberBgColor"},{components:C.c_bg_color,configNme:"numberColor"}],N=[{components:C.c_bg_color,configNme:"tipsColor2"},{components:C.c_bg_color,configNme:"numberBgColor2"},{components:C.c_bg_color,configNme:"numberColor2"}],w=[{components:C.c_title,configNme:"titleGoodsStyle"},{components:C.c_fillet,configNme:"filletImg"},{components:C.c_radio,configNme:"goodsName"},{components:C.c_bg_color,configNme:"goodsNameColor"},{components:C.c_bg_color,configNme:"goodsPriceColor"},{components:C.c_radio,configNme:"toneConfig"}],h=[{components:C.c_bg_color,configNme:"seckillPriceColor"}],E=[{components:C.c_bg_color,configNme:"seckillPriceColor2"}],F=[{components:C.c_bg_color,configNme:"progressColor"},{components:C.c_bg_color,configNme:"progressTxtColor"}],x=[{components:C.c_bg_color,configNme:"goodsBntColor"}],j=[{components:C.c_bg_color,configNme:"goodsBntTxtColor"}],D=[{components:C.c_common_style,configNme:"commonStyle"}];let V=0,S=0,k=0,K=0,J=0,ee=0;M(()=>n.num,z=>{let ie=JSON.parse(JSON.stringify(A.defaultArray[z]));e.value=T(ie)}),M(e,(z,ie)=>{A.UPDATEARR({num:n.num,val:z})},{deep:!0}),M(()=>{var z,ie;return(ie=(z=e.value)==null?void 0:z.setUp)==null?void 0:ie.tabVal},(z,ie)=>{V=z;var Y=[{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}];z==0?H(Y,S,k,K):R(Y,S,k,K,ee,J)},{deep:!0}),M(()=>{var z,ie;return(ie=(z=e.value)==null?void 0:z.styleConfig)==null?void 0:ie.tabVal},(z,ie)=>{S=z;var Y=[{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}];V==0?H(Y,z,k,K):R(Y,z,k,K,ee,J)},{deep:!0}),M(()=>{var z,ie;return(ie=(z=e.value)==null?void 0:z.titleConfig)==null?void 0:ie.tabVal},(z,ie)=>{k=z;var Y=[{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}];V==0?H(Y,S,z,K):R(Y,S,z,K,ee,J)},{deep:!0}),M(()=>{var z,ie;return(ie=(z=e.value)==null?void 0:z.goodStyleConfig)==null?void 0:ie.tabVal},(z,ie)=>{K=z;var Y=[{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}];V==0?H(Y,S,k,z):R(Y,S,k,z,ee,J)},{deep:!0}),M(()=>{var z,ie;return(ie=(z=e.value)==null?void 0:z.seckillConfig)==null?void 0:ie.tabVal},(z,ie)=>{ee=z;var Y=[{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}];V&&R(Y,S,k,K,z,J)},{deep:!0}),M(()=>{var z,ie;return(ie=(z=e.value)==null?void 0:z.toneConfig)==null?void 0:ie.tabVal},(z,ie)=>{J=z;var Y=[{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}];V&&R(Y,S,k,K,ee,z)},{deep:!0}),Ce(()=>{ve(()=>{let z=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=T(z)})});function T(z){return z.paddingConfig||(z.paddingConfig={isAll:!1,title:"内边距",val:0,min:0,max:100,valList:[{val:z.topConfig?z.topConfig.val:0},{val:z.prConfig?z.prConfig.val:0},{val:z.bottomConfig?z.bottomConfig.val:0},{val:z.prConfig?z.prConfig.val:0}]}),z.marginConfig||(z.marginConfig={isAll:!1,title:"外边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:z.mbConfig?z.mbConfig.val:0},{val:0}]}),z}function H(z,ie,Y,Z){ie==0?Y==0?Z==2?o.value=[...z,...i,...a,...r,...f]:o.value=[...z,...i,...a,...r,...f,...g]:Z==2?o.value=[...z,...i,...a,...c,...f]:o.value=[...z,...i,...a,...c,...f,...g]:Y==0?Z==2?o.value=[...z,...i,...m,...a,...d,...f]:o.value=[...z,...i,...m,...a,...d,...f,...g]:Z==2?o.value=[...z,...i,...m,...a,...c,...f]:o.value=[...z,...i,...m,...a,...c,...f,...g]}function R(z,ie,Y,Z,re,te){let ge=[...z,...p,...b,...y,...Q,...N,...w,...D],W=[...z,...p,...b,..._,...y,...Q,...N,...w,...D],Ae=[...z,...p,...B,...Q,...I,...w,...D],me=[...z,...p,..._,...B,...Q,...I,...w,...D];ie==0?Y==0?Z==0?re==0?te==0?o.value=ge:o.value=[...z,...p,...b,...y,...Q,...N,...w,...h,...F,...x,...j,...D]:te==0?o.value=ge:o.value=[...z,...p,...b,...y,...Q,...N,...w,...h,...F,...D]:Z==2?te==0?o.value=ge:o.value=[...z,...p,...b,...y,...Q,...N,...w,...E,...x,...D]:re==0?te==0?o.value=ge:o.value=[...z,...p,...b,...y,...Q,...N,...w,...h,...x,...j,...D]:te==0?o.value=ge:o.value=[...z,...p,...b,...y,...Q,...N,...w,...h,...D]:Z==0?re==0?te==0?o.value=W:o.value=[...z,...p,...b,..._,...y,...Q,...N,...w,...h,...F,...x,...j,...D]:te==0?o.value=W:o.value=[...z,...p,...b,..._,...y,...Q,...N,...w,...h,...F,...D]:Z==2?te==0?o.value=W:o.value=[...z,...p,...b,..._,...y,...Q,...N,...w,...E,...x,...D]:re==0?te==0?o.value=W:o.value=[...z,...p,...b,..._,...y,...Q,...N,...w,...h,...x,...j,...D]:te==0?o.value=W:o.value=[...z,...p,...b,..._,...y,...Q,...N,...w,...h,...D]:Y==0?Z==0?re==0?te==0?o.value=Ae:o.value=[...z,...p,...B,...Q,...I,...w,...h,...F,...x,...j,...D]:te==0?o.value=Ae:o.value=[...z,...p,...B,...Q,...I,...w,...h,...F,...D]:Z==2?te==0?o.value=Ae:o.value=[...z,...p,...B,...Q,...I,...w,...E,...x,...D]:re==0?te==0?o.value=Ae:o.value=[...z,...p,...B,...Q,...I,...w,...h,...x,...j,...D]:te==0?o.value=Ae:o.value=[...z,...p,...B,...Q,...I,...w,...h,...D]:Z==0?re==0?te==0?o.value=me:o.value=[...z,...p,..._,...B,...Q,...I,...w,...h,...F,...x,...j,...D]:te==0?o.value=me:o.value=[...z,...p,..._,...B,...Q,...I,...w,...h,...F,...D]:Z==2?te==0?o.value=me:o.value=[...z,...p,..._,...B,...Q,...I,...w,...E,...x,...D]:re==0?te==0?o.value=me:o.value=[...z,...p,..._,...B,...Q,...I,...w,...h,...x,...j,...D]:te==0?o.value=me:o.value=[...z,...p,..._,...B,...Q,...I,...w,...h,...D]}function G(z){}return(z,ie)=>(s(),u("div",aS,[(s(!0),u(q,null,ae(o.value,(Y,Z)=>(s(),u("div",{key:Z},[(s(),ce(Oe(Y.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:Y.configNme,key:Z,onGetConfig:G,index:t.activeIndex,num:Y.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),cS=Object.freeze(Object.defineProperty({__proto__:null,default:sS},Symbol.toStringTag,{value:"Module"})),rS={class:"mobile-config service"},uS=Object.assign({name:"c_home_service",cname:"悬浮按钮",componentsName:"home_service"},{__name:"c_home_service",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_set_up,configNme:"setUp"}]);M(()=>n.num,a=>{let d=JSON.parse(JSON.stringify(A.defaultArray[a]));e.value=i(d)}),M(e,(a,d)=>{A.UPDATEARR({num:n.num,val:a})},{deep:!0}),M(()=>{var a,d;return(d=(a=e.value)==null?void 0:a.setUp)==null?void 0:d.tabVal},(a,d)=>{var r=[o.value[0]];if(a==0){let c=[{components:C.c_title,configNme:"titleLeft"},{components:C.c_radio,configNme:"buttonConfig"},{components:C.c_upload_img,configNme:"logoConfig"}];o.value=r.concat(c)}else{let c=[{components:C.c_title,configNme:"titleRight"},{components:C.c_radio,configNme:"locationConfig"},{components:C.c_common_style,configNme:"c_common_style"}];o.value=r.concat(c)}},{deep:!0}),Ce(()=>{ve(()=>{let a=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=i(a)})});function i(a){return a.componentBgConfig!==void 0&&delete a.componentBgConfig,a.paddingConfig||(a.paddingConfig={title:"内边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]}),a.marginConfig||(a.marginConfig={title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:a.topConfig?a.topConfig.val:0},{val:0},{val:0},{val:0}]}),a.c_common_style||(a.c_common_style={color:"rgba(255,255,255,1)",color2:"rgba(255,255,255,1)",lr:0,type:0}),a}function m(a){}return(a,d)=>(s(),u("div",rS,[l("form",null,[(s(!0),u(q,null,ae(o.value,(r,c)=>(s(),u("div",{key:c},[(s(),ce(Oe(r.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:r.configNme,key:c,onGetConfig:m,index:t.activeIndex,num:r.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])])]))}}),dS=fe(uS,[["__scopeId","data-v-b1f699e8"]]),mS=Object.freeze(Object.defineProperty({__proto__:null,default:dS},Symbol.toStringTag,{value:"Module"})),gS={class:"mobile-config"},fS=Object.assign({name:"c_home_store_list",componentsName:"home_store_list"},{__name:"c_home_store_list",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_set_up,configNme:"setUp"}]),i=[{components:C.c_title,configNme:"titleLeft"},{components:C.c_radio,configNme:"styleConfig"}],m=[{components:C.c_upload_img,configNme:"imgBgConfig"}],a=[{components:C.c_radio,configNme:"titleConfig"}],d=[{components:C.c_upload_img,configNme:"imgConfig"}],r=[{components:C.c_upload_img,configNme:"imgColorConfig"}],c=[{components:C.c_input_item,configNme:"titleTxtConfig"}],f=[{components:C.c_input_item,configNme:"rightBntConfig"},{components:C.c_title,configNme:"titleStoreList"},{components:C.c_radio,configNme:"storeStyleConfig"},{components:C.c_title,configNme:"titleStore"},{components:C.c_slider,configNme:"numberConfig"},{components:C.c_checkbox,configNme:"checkboxInfo"}],g=[{components:C.c_title,configNme:"titleGoods"},{components:C.c_slider,configNme:"numberGoodsConfig"},{components:C.c_checkbox,configNme:"checkboxGoodsInfo"}],p=[{components:C.c_title,configNme:"titleRight"}],b=[{components:C.c_bg_color,configNme:"headerBgColor"}],_=[{components:C.c_radio,configNme:"titleText"},{components:C.c_bg_color,configNme:"titleColor"},{components:C.c_slider,configNme:"titleNumber"}],B=[{components:C.c_bg_color,configNme:"headerBntColor"}],y=[{components:C.c_bg_color,configNme:"headerBntColor2"}],Q=[{components:C.c_slider,configNme:"bntNumber"}],I=[{components:C.c_title,configNme:"titleStoreStyle"},{components:C.c_fillet,configNme:"filletStoreImg"},{components:C.c_slider,configNme:"storeNumber"},{components:C.c_radio,configNme:"storeName"},{components:C.c_bg_color,configNme:"storeNameColor"},{components:C.c_bg_color,configNme:"deliveryBg"},{components:C.c_bg_color,configNme:"deliveryText"},{components:C.c_bg_color,configNme:"storeBg"},{components:C.c_bg_color,configNme:"storeText"}],N=[{components:C.c_title,configNme:"titleGoodsStyle"},{components:C.c_radio,configNme:"goodsName"},{components:C.c_bg_color,configNme:"goodsNameColor"},{components:C.c_radio,configNme:"toneConfig"}],w=[{components:C.c_bg_color,configNme:"goodsPriceColor"}],h=[{components:C.c_common_style,configNme:"commonStyle"}];let E=0,F=0,x=0,j=0,D=0;M(()=>n.num,J=>{e.value=A.defaultArray[J],e.value=V(e.value)}),M(e,(J,ee)=>{A.UPDATEARR({num:n.num,val:J})},{deep:!0}),M(()=>{var J,ee;return(ee=(J=e.value)==null?void 0:J.setUp)==null?void 0:ee.tabVal},(J,ee)=>{E=J;var T=[o.value[0]];J==0?S(T,F,x,j):k(T,F,x,j,D)},{deep:!0}),M(()=>{var J,ee;return(ee=(J=e.value)==null?void 0:J.styleConfig)==null?void 0:ee.tabVal},(J,ee)=>{F=J;var T=[o.value[0]];E==0?S(T,J,x,j):k(T,J,x,j,D)},{deep:!0}),M(()=>{var J,ee;return(ee=(J=e.value)==null?void 0:J.titleConfig)==null?void 0:ee.tabVal},(J,ee)=>{x=J;var T=[o.value[0]];E==0?S(T,F,J,j):k(T,F,J,j,D)},{deep:!0}),M(()=>{var J,ee;return(ee=(J=e.value)==null?void 0:J.storeStyleConfig)==null?void 0:ee.tabVal},(J,ee)=>{j=J;var T=[o.value[0]];E==0?S(T,F,x,J):k(T,F,x,J,D)},{deep:!0}),M(()=>{var J,ee;return(ee=(J=e.value)==null?void 0:J.toneConfig)==null?void 0:ee.tabVal},(J,ee)=>{D=J;var T=[o.value[0]];E&&k(T,F,x,j,J)},{deep:!0}),Ce(()=>{ve(()=>{let J=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=J})});function V(J){return J&&(J.paddingConfig||(J.paddingConfig={isAll:!1,title:"内边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},J.topConfig&&(J.paddingConfig.valList[0].val=J.topConfig.val),J.prConfig&&(J.paddingConfig.valList[1].val=J.prConfig.val,J.paddingConfig.valList[3].val=J.prConfig.val),J.bottomConfig&&(J.paddingConfig.valList[2].val=J.bottomConfig.val)),J.marginConfig||(J.marginConfig={isAll:!1,title:"外边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},J.mbConfig&&(J.marginConfig.valList[0].val=J.mbConfig.val)),J.c_common_style||(J.c_common_style={color:"rgba(255,255,255,1)",color2:"rgba(255,255,255,1)",lr:0,type:0}),J)}function S(J,ee,T,H){ee==0?T==0?H==0?o.value=[...J,...i,...a,...r,...f,...g]:o.value=[...J,...i,...a,...r,...f]:H==0?o.value=[...J,...i,...a,...c,...f,...g]:o.value=[...J,...i,...a,...c,...f]:T==0?H==0?o.value=[...J,...i,...m,...a,...d,...f,...g]:o.value=[...J,...i,...m,...a,...d,...f]:H==0?o.value=[...J,...i,...m,...a,...c,...f,...g]:o.value=[...J,...i,...m,...a,...c,...f]}function k(J,ee,T,H,R){ee==0?T==0?H==0?R==0?o.value=[...J,...p,...b,...y,...Q,...I,...N,...h]:o.value=[...J,...p,...b,...y,...Q,...I,...N,...w,...h]:o.value=[...J,...p,...b,...y,...Q,...I,...h]:H==0?R==0?o.value=[...J,...p,...b,..._,...y,...Q,...I,...N,...h]:o.value=[...J,...p,...b,..._,...y,...Q,...I,...N,...w,...h]:o.value=[...J,...p,...b,..._,...y,...Q,...I,...h]:T==0?H==0?R==0?o.value=[...J,...p,...B,...Q,...I,...N,...h]:o.value=[...J,...p,...B,...Q,...I,...N,...w,...h]:o.value=[...J,...p,...B,...Q,...I,...h]:H==0?R==0?o.value=[...J,...p,..._,...B,...Q,...I,...N,...h]:o.value=[...J,...p,..._,...B,...Q,...I,...N,...w,...h]:o.value=[...J,...p,..._,...B,...Q,...I,...h]}function K(J){}return(J,ee)=>(s(),u("div",gS,[(s(!0),u(q,null,ae(o.value,(T,H)=>(s(),u("div",{key:H},[(s(),ce(Oe(T.components),{configObj:e.value,ref_for:!0,ref:"childData",onGetConfig:K,key:H,configNme:T.configNme},null,40,["configObj","configNme"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),vS=Object.freeze(Object.defineProperty({__proto__:null,default:fS},Symbol.toStringTag,{value:"Module"})),pS={class:"mobile-config"},CS=Object.assign({name:"c_home_title",componentsName:"home_title"},{__name:"c_home_title",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_set_up,configNme:"setUp"}]),i=[{components:C.c_title,configNme:"titleLeft"},{components:C.c_input_item,configNme:"titleConfig"},{components:C.c_radio,configNme:"buttonConfig"}],m=[{components:C.c_input_item,configNme:"titleConfigRight"},{components:C.c_input_item,configNme:"linkConfig"}],a=[{components:C.c_title,configNme:"titleRight"},{components:C.c_bg_color,configNme:"themeColor"},{components:C.c_slider,configNme:"fontSize"},{components:C.c_radio,configNme:"textStyle"},{components:C.c_bg_color,configNme:"buttonColor"},{components:C.c_slider,configNme:"buttonText"}],d=[{components:C.c_title,configNme:"titleRight"},{components:C.c_bg_color,configNme:"themeColor"},{components:C.c_slider,configNme:"fontSize"},{components:C.c_radio,configNme:"textPosition"},{components:C.c_radio,configNme:"textStyle"}],r=[{components:C.c_common_style,configNme:"commonStyle"}];let c=0,f=0;M(()=>n.num,b=>{let _=JSON.parse(JSON.stringify(A.defaultArray[b]));e.value=g(_)}),M(e,(b,_)=>{A.UPDATEARR({num:n.num,val:b})},{deep:!0}),M(()=>{var b,_;return(_=(b=e.value)==null?void 0:b.setUp)==null?void 0:_.tabVal},(b,_)=>{c=b;var B=[o.value[0]];if(b==0)if(f==0){let y=B.concat(i);o.value=y.concat(m)}else o.value=B.concat(i);else if(f==0){let y=B.concat(a);o.value=y.concat(r)}else{let y=B.concat(d);o.value=y.concat(r)}},{deep:!0}),M(()=>{var b,_;return(_=(b=e.value)==null?void 0:b.buttonConfig)==null?void 0:_.tabVal},(b,_)=>{f=b;var B=[o.value[0]];if(c)if(b==0){let y=B.concat(a);o.value=y.concat(r)}else{let y=B.concat(d);o.value=y.concat(r)}else if(b==0){let y=B.concat(i);o.value=y.concat(m)}else o.value=B.concat(i)},{deep:!0}),Ce(()=>{ve(()=>{let b=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=g(b)})});function g(b){return b&&(b.paddingConfig||(b.paddingConfig={title:"内边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},b.topConfig&&(b.paddingConfig.valList[0].val=b.topConfig.val),b.prConfig&&(b.paddingConfig.valList[1].val=b.prConfig.val,b.paddingConfig.valList[3].val=b.prConfig.val),b.bottomConfig&&(b.paddingConfig.valList[2].val=b.bottomConfig.val)),b.marginConfig||(b.marginConfig={title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},b.mbConfig&&(b.marginConfig.valList[0].val=b.mbConfig.val)),b)}function p(b){}return(b,_)=>(s(),u("div",pS,[(s(!0),u(q,null,ae(o.value,(B,y)=>(s(),u("div",{key:y},[(s(),ce(Oe(B.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:B.configNme,key:y,onGetConfig:p,index:t.activeIndex,num:B.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),_S=fe(CS,[["__scopeId","data-v-22717c86"]]),bS=Object.freeze(Object.defineProperty({__proto__:null,default:_S},Symbol.toStringTag,{value:"Module"})),BS={class:"mobile-config"},hS=Object.assign({name:"c_hotspot",componentsName:"home_hotspot"},{__name:"c_hotspot",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_set_up,configNme:"setUp"}]);M(()=>n.num,a=>{let d=JSON.parse(JSON.stringify(A.defaultArray[a]));e.value=i(d)}),M(e,(a,d)=>{A.UPDATEARR({num:n.num,val:a})},{deep:!0}),M(()=>{var a,d;return(d=(a=e.value)==null?void 0:a.setUp)==null?void 0:d.tabVal},(a,d)=>{var r=[o.value[0]];if(a==0){let c=[{components:C.c_title,configNme:"titleLeft"},{components:C.c_one_pictrue,configNme:"picStyle"}];o.value=r.concat(c)}else{let c=[{components:C.c_title,configNme:"titleRight"},{components:C.c_common_style,configNme:"c_common_style"}];o.value=r.concat(c)}},{deep:!0}),Ce(()=>{ve(()=>{let a=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=i(a)})});function i(a){return a.paddingConfig||(a.paddingConfig={isAll:!1,title:"内边距",val:0,min:0,max:100,valList:[{val:a.topConfig?a.topConfig.val:0},{val:a.prConfig?a.prConfig.val:0},{val:a.bottomConfig?a.bottomConfig.val:0},{val:a.prConfig?a.prConfig.val:0}]}),a.marginConfig||(a.marginConfig={isAll:!1,title:"外边距",val:0,min:0,max:100,valList:[{val:a.mbConfig?a.mbConfig.val:0},{val:0},{val:0},{val:0}]}),a.c_common_style||(a.c_common_style={color:"rgba(255,255,255,1)",color2:"rgba(255,255,255,1)",lr:0,type:0}),a}function m(a){}return(a,d)=>(s(),u("div",BS,[(s(!0),u(q,null,ae(o.value,(r,c)=>(s(),u("div",{key:c},[(s(),ce(Oe(r.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:r.configNme,key:c,onGetConfig:m,index:t.activeIndex,num:r.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),yS=Object.freeze(Object.defineProperty({__proto__:null,default:hS},Symbol.toStringTag,{value:"Module"})),wS={class:"mobile-config"},QS=Object.assign({name:"c_info_card",componentsName:"home_info_card"},{__name:"c_info_card",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_set_up,configNme:"setUp"}]),i=[{components:C.c_title,configNme:"contentTitle"},{components:C.c_radio,configNme:"isShow"}],m=[{components:C.c_title,configNme:"titleStyle"},{components:C.c_align,configNme:"textPosition"},{components:C.c_bg_color,configNme:"textColor"},{components:C.c_slider,configNme:"fontSize"},{components:C.c_common_style,configNme:"currencyStyle"}];M(()=>n.num,d=>{let r=JSON.parse(JSON.stringify(A.defaultArray[d]));e.value=r}),M(e,(d,r)=>{A.UPDATEARR({num:n.num,val:d})},{deep:!0}),M(()=>{var d,r;return(r=(d=e.value)==null?void 0:d.setUp)==null?void 0:r.tabVal},(d,r)=>{var c=[o.value[0]];d==0?o.value=c.concat(i):o.value=c.concat(m)},{deep:!0}),Ce(()=>{ve(()=>{let d=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=d})});function a(d){}return(d,r)=>(s(),u("div",wS,[(s(!0),u(q,null,ae(o.value,(c,f)=>(s(),u("div",{key:f},[(s(),ce(Oe(c.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:c.configNme,key:f,onGetConfig:a,index:t.activeIndex,num:c.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),xS=Object.freeze(Object.defineProperty({__proto__:null,default:QS},Symbol.toStringTag,{value:"Module"})),IS={class:"mobile-config"},US=Object.assign({name:"c_member",componentsName:"home_member"},{__name:"c_member",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=zi(),o=v({}),i=v([{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}]);let m=0;M(()=>n.num,g=>{let p=JSON.parse(JSON.stringify(A.defaultArray[g]));o.value=c(p)}),M(o,(g,p)=>{A.UPDATEARR({num:n.num,val:g})},{deep:!0}),M(()=>{var g,p;return(p=(g=o.value)==null?void 0:g.setUp)==null?void 0:p.tabVal},(g,p)=>{m=g,r()},{deep:!0}),M(()=>{var g,p;return(p=(g=o.value)==null?void 0:g.styleConfig)==null?void 0:p.tabVal},(g,p)=>{g==3||g==4?(o.value.nameColor.color[0].item=="#fff"&&(o.value.nameColor.color[0].item="#333"),o.value.numColor.color[0].item=="#fff"&&(o.value.numColor.color[0].item="#333"),o.value.compo.img-box-girdnentBgConfig.colorConfig.color[0].item=="#E93323"&&(o.value.componentBgConfig.colorConfig.color[0].item="#333"),o.value.componentBgConfig.colorConfig.color[1].item=="#E93323"&&(o.value.componentBgConfig.colorConfig.color[1].item="#333"),o.value.dataNumColor.color[0].item=="#fff"&&(o.value.dataNumColor.color[0].item="#333"),o.value.dataTitleColor.color[0].item=="#fff"&&(o.value.dataTitleColor.color[0].item="#333")):(o.value.dataNumColor.color[0].item=="#333"&&(o.value.dataNumColor.color[0].item="#fff"),o.value.dataTitleColor.color[0].item=="#333"&&(o.value.dataTitleColor.color[0].item="#fff"),o.value.nameColor.color[0].item=="#333"&&(o.value.nameColor.color[0].item="#fff"),o.value.numColor.color[0].item=="#333"&&(o.value.numColor.color[0].item="#fff"),o.value.componentBgConfig.colorConfig.color[0].item=="#333"&&(o.value.componentBgConfig.colorConfig.color[0].item="#E93323"),o.value.componentBgConfig.colorConfig.color[1].item=="#333"&&(o.value.componentBgConfig.colorConfig.color[1].item="#E93323")),r()},{deep:!0}),M(()=>{var g,p;return(p=(g=o.value)==null?void 0:g.memberStyleConfig)==null?void 0:p.tabVal},(g,p)=>{r()},{deep:!0}),M(()=>{var g,p;return(p=(g=o.value)==null?void 0:g.assetMode)==null?void 0:p.tabVal},(g,p)=>{r()},{deep:!0}),M(()=>{var g,p;return(p=(g=o.value)==null?void 0:g.menuConfig)==null?void 0:p.listStyle},(g,p)=>{r()},{deep:!0}),M(()=>{var g,p;return(p=(g=o.value)==null?void 0:g.shortcutConfig)==null?void 0:p.listStyle},(g,p)=>{r()},{deep:!0}),M(()=>{var g,p;return(p=(g=o.value)==null?void 0:g.ms2TitleType)==null?void 0:p.tabVal},(g,p)=>{r()},{deep:!0}),M(()=>{var g,p;return(p=(g=o.value)==null?void 0:g.ms3BgMode)==null?void 0:p.tabVal},(g,p)=>{r()},{deep:!0}),M(()=>{var g,p;return(p=(g=o.value)==null?void 0:g.ms4BgMode)==null?void 0:p.tabVal},(g,p)=>{r()},{deep:!0}),Ce(()=>{ve(()=>{let g=JSON.parse(JSON.stringify(A.defaultArray[n.num]));o.value=g,o.value=c(o.value)})});function a(g){const b=e.path.endsWith("/setting/edit_theme")&&e.query.type==="user"&&["menuConfig","memberConfig"].includes(g.configNme)?{hideStatusSwitch:!0}:{},_=d(g.configNme);return _&&(b.emptyItemTemplate=_),b}function d(g){const b={menuConfig:[{title:"标题",value:"",tips:"选填,不超过4个字",max:4},{title:"链接",value:"",tips:"请输入链接",max:100}],assetConfig:[{title:"标题",value:"",tips:"选填,不超过4个字",max:4},{title:"链接",value:"",tips:"请输入链接",max:100}],memberConfig:[{title:"标题",value:"",tips:"选填,不超过4个字",max:4},{title:"描述",value:"",tips:"选填,不超过6个字",max:6},{title:"链接",value:"",tips:"请输入链接",max:100}],rightEntryConfig:[{title:"标题",value:"",tips:"选填,不超过4个字",max:4},{title:"描述",value:"",tips:"选填,不超过6个字",max:6},{title:"链接",value:"",tips:"请输入链接",max:100}],ms2RightsList:[{title:"标题",value:"",tips:"选填,不超过4个字",max:6},{title:"链接",value:"",tips:"请输入链接",max:100}]}[g];return b?{img:"",type:0,show:!0,icon:"",info:b}:null}function r(){let g=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];if(m==0){let p=[{components:C.c_title,configNme:"titleLeft"},{components:C.c_radio,configNme:"userInfoConfig"},{components:C.c_radio,configNme:"memberStyleConfig"}];(o.value.styleConfig.tabVal==0||o.value.styleConfig.tabVal==2||o.value.styleConfig.tabVal==4)&&p.push({components:C.c_menu_list,configNme:"menuConfig"}),p.push({components:C.c_radio,configNme:"assetMode"}),o.value.assetMode.tabVal==0?(p.push({components:C.c_radio,configNme:"dataStyle"}),p.push({components:C.c_checkbox,configNme:"checkboxInfo"})):p.push({components:C.c_menu_list,configNme:"assetConfig"}),o.value.memberStyleConfig.tabVal==0&&p.push({components:C.c_menu_list,configNme:"memberConfig"}),o.value.memberStyleConfig.tabVal==1&&(p.push({components:C.c_title,configNme:"infoStyleText"}),p.push({components:C.c_radio,configNme:"ms2TitleType"}),o.value.ms2TitleType.tabVal==0?p.push({components:C.c_input_item,configNme:"ms2TitleText"}):p.push({components:C.c_upload_img,configNme:"ms2TitleImage"}),p.push({components:C.c_input_item,configNme:"ms2IntroText"}),p.push({components:C.c_menu_list,configNme:"ms2RightsList"}),p.push({components:C.c_upload_img,configNme:"ms2ExplainIcons"}),p.push({components:C.c_input_item,configNme:"ms2ExplainText"}),p.push({components:C.c_input_item,configNme:"ms2ButtonText"}),p.push({components:C.c_input_item,configNme:"ms2ButtonLink"})),o.value.memberStyleConfig.tabVal==2&&p.push({components:C.c_title,configNme:"infoStyleText"},{components:C.c_input_item,configNme:"ms3TitleText"},{components:C.c_input_item,configNme:"ms3ButtonText"}),o.value.styleConfig.tabVal==3&&p.push({components:C.c_menu_list,configNme:"rightEntryConfig"}),i.value=g.concat(p)}else{let p=[{components:C.c_title,configNme:"infoStyleText"},{components:C.c_bg_color,configNme:"nameColor"},{components:C.c_slider,configNme:"nameSize"},{components:C.c_bg_color,configNme:"numColor"},{components:C.c_slider,configNme:"numSize"},{components:C.c_title,configNme:"iconStyleText"},...o.value.assetMode.tabVal===0?[{components:C.c_bg_color,configNme:"dataTitleColor"},{components:C.c_bg_color,configNme:"dataNumColor"}]:[{components:C.c_bg_color,configNme:"assetIconColor"},{components:C.c_slider,configNme:"assetIconSize"},{components:C.c_bg_color,configNme:"assetTextColor"},{components:C.c_slider,configNme:"assetTextSize"}],{components:C.c_title,configNme:"memberStyleText"},{components:C.c_common_style,configNme:"c_common_style"}];const b=p.findIndex(_=>_.configNme==="memberStyleText");if(o.value.memberStyleConfig.tabVal!==2&&o.value.memberStyleConfig.tabVal!==3&&p.splice(b+1,0,{components:C.c_bg_color,configNme:"cardBgColor"}),o.value.memberStyleConfig.tabVal==0&&(p.splice(b+1,0,{components:C.c_bg_color,configNme:"ms1DescColor"}),p.splice(b+1,0,{components:C.c_bg_color,configNme:"ms1TitleColor"})),o.value.styleConfig.tabVal==3){let _=p.findIndex(B=>B.configNme==="assetConfigText");_!==-1&&(p.splice(_,0,{components:C.c_title,configNme:"moduleStyleText"}),p.splice(_+1,0,{components:C.c_bg_color,configNme:"moduleBgColor"}),p.splice(_+2,0,{components:C.c_bg_color,configNme:"moduleTextColor"}),p.splice(_+3,0,{components:C.c_fillet,configNme:"moduleRadius"})),p.push({components:C.c_fillet,configNme:"cardBgRadius"})}if(o.value.memberStyleConfig.tabVal==1){let _=[];o.value.ms2TitleType.tabVal==0&&_.push({components:C.c_bg_color,configNme:"ms2TitleColor"}),_.push({components:C.c_bg_color,configNme:"ms2IntroColor"},{components:C.c_bg_color,configNme:"ms2RightsColor"},{components:C.c_bg_color,configNme:"ms2ExplainColor"},{components:C.c_bg_color,configNme:"ms2ButtonBgColor"},{components:C.c_bg_color,configNme:"ms2ButtonColor"},{components:C.c_fillet,configNme:"cardBgRadius"});let B=p.findIndex(y=>y.configNme==="memberStyleText");B!==-1&&p.splice(B+1,0,..._)}if(o.value.memberStyleConfig.tabVal==2){let _=p.findIndex(B=>B.configNme==="memberStyleText");if(_!==-1){p.splice(_+1,0,{components:C.c_radio,configNme:"ms3BgMode"}),o.value.ms3BgMode&&o.value.ms3BgMode.tabVal===0?p.splice(_+2,0,{components:C.c_bg_color,configNme:"cardBgColor"}):p.splice(_+2,0,{components:C.c_upload_img,configNme:"ms3BackgroundImage"});let B=[{components:C.c_bg_color,configNme:"ms3TitleColor"},{components:C.c_bg_color,configNme:"ms3ButtonColor"},{components:C.c_margin_style,configNme:"ms3PaddingConfig"},{components:C.c_fillet,configNme:"cardBgRadius"}];p.splice(_+3,0,...B)}}if(o.value.memberStyleConfig.tabVal==3){let _=p.findIndex(B=>B.configNme==="memberStyleText");_!==-1&&(p.splice(_+1,0,{components:C.c_radio,configNme:"ms4BgMode"}),o.value.ms4BgMode&&o.value.ms4BgMode.tabVal===0?p.splice(_+2,0,{components:C.c_bg_color,configNme:"cardBgColor"}):p.splice(_+2,0,{components:C.c_upload_img,configNme:"ms4BackgroundImage"}))}if(o.value.styleConfig.tabVal==0||o.value.styleConfig.tabVal==2||o.value.styleConfig.tabVal==4){let _=o.value.menuConfig&&o.value.menuConfig.listStyle==1,B=o.value.shortcutConfig&&o.value.shortcutConfig.listStyle==1;(_||B)&&p.splice(6,0,{components:C.c_icon_style,configNme:"iconStyleConfig"})}i.value=g.concat(p)}}function c(g){return g&&(g.assetIconColor||(g.assetIconColor={title:"图标颜色",default:[{item:"#fff"}],color:[{item:"#fff"}]}),g.assetIconSize||(g.assetIconSize={title:"图标大小",val:24,min:10,max:32}),g.assetTextColor||(g.assetTextColor={title:"文字颜色",default:[{item:"#fff"}],color:[{item:"#fff"}]}),g.assetTextSize||(g.assetTextSize={title:"文字大小",val:12,min:10,max:32}),g.styleConfig&&g.styleConfig.tabList.length<5&&g.styleConfig.tabList.push({name:"样式五"}),g.nameColor||(g.nameColor={title:"昵称颜色",default:[{item:"#fff"}],color:[{item:"#fff"}]}),g.nameSize||(g.nameSize={title:"昵称文字",val:16,min:10,max:30}),g.numColor||(g.numColor={title:"ID/手机号",default:[{item:"#fff"}],color:[{item:"#fff"}]}),g.numSize||(g.numSize={title:"文字大小",val:10,min:10,max:30}),g.userInfoConfig||(g.userInfoConfig={title:"用户信息",tabVal:0,tabList:[{name:"手机号"},{name:"ID"}]}),g.memberStyleConfig||(g.memberStyleConfig={title:"会员样式",tabVal:0,tabList:[{name:"样式一"},{name:"样式二"},{name:"样式三"},{name:"样式四"}]}),g.iconStyleConfig||(g.iconStyleConfig={title:"图标样式",name:"iconStyleConfig",type:1,color:{title:"颜色",default:[{item:"#fff"}],color:[{item:"#fff"}]},size:{title:"大小",val:20,min:12,max:100},padding:{title:"内边距",val:0,min:0,max:100},rotate:{title:"旋转",val:0,min:0,max:360}}),g.dataTitleColor||(g.dataTitleColor={title:"标题颜色",default:[{item:"#fff"}],color:[{item:"#fff"}]}),g.dataNumColor||(g.dataNumColor={title:"数字颜色",default:[{item:"#fff"}],color:[{item:"#fff"}]}),g.zIndexConfig||(g.zIndexConfig={title:"组件上浮",val:0,min:0}),g.componentBgConfig||(g.componentBgConfig={title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}}),g.borderConfig||(g.borderConfig={title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}}),g.borderConfig&&g.borderConfig.styleConfig&&!g.borderConfig.styleConfig.tabList&&(g.borderConfig.styleConfig={title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]}),g.shadowConfig||(g.shadowConfig={title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}}),g.menuConfig||(g.menuConfig={title:"操作内容设置",listStyleName:"展示样式",bnt:"添加",type:1,listStyle:0,maxList:2,list:[{img:"",type:0,show:!0,icon:"",info:[{title:"标题",value:"标题",tips:"选填,不超过4个字",max:4},{title:"链接",value:"",tips:"请输入链接",max:100}]},{img:"",type:0,show:!0,icon:"",info:[{title:"标题",value:"标题",tips:"选填,不超过4个字",max:4},{title:"链接",value:"",tips:"请输入链接",max:100}]}]}),g.assetMode||(g.assetMode={title:"展示模式",tabVal:0,tabList:[{name:"数据展示"},{name:"图文展示"}]}),g.dataStyle||(g.dataStyle={title:"数据布局",tabVal:0,tabList:[{name:"数字-文字(纵)"},{name:"文字-数字(横)"},{name:"文字-数字(纵)"}]}),g.checkboxInfo||(g.checkboxInfo={title:"数据选择",name:"checkboxInfo",maxList:5,type:[1,2,3],list:[{id:1,name:"余额"},{id:2,name:"积分"},{id:3,name:"优惠券"},{id:4,name:"收藏"},{id:5,name:"浏览记录"}]}),g.ms3BgMode||(g.ms3BgMode={title:"背景设置",tabVal:0,tabList:[{name:"背景颜色",val:0},{name:"背景图片",val:1}]}),g.ms3BgColor||(g.ms3BgColor={title:"背景颜色",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]}),g.ms3BackgroundImage||(g.ms3BackgroundImage={title:"",url:""}),g.ms4BgMode||(g.ms4BgMode={title:"背景设置",tabVal:0,tabList:[{name:"背景颜色",val:0},{name:"背景图片",val:1}]}),g.ms4BgColor||(g.ms4BgColor={title:"背景颜色",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]}),g.ms4BackgroundImage||(g.ms4BackgroundImage={title:"",url:""}),g.assetConfig||(g.assetConfig={title:"快捷入口",listStyle:0,maxList:5,bnt:"添加",list:[{img:"",icon:"icon-yue",info:[{title:"标题",value:"余额",tips:"选填,不超过4个字",max:4},{title:"链接",value:"/pages/users/user_money/index",tips:"请输入链接",max:100}]},{img:"",icon:"icon-jifen",info:[{title:"标题",value:"积分",tips:"选填,不超过4个字",max:4},{title:"链接",value:"/pages/users/user_integral/index",tips:"请输入链接",max:100}]},{img:"",icon:"icon-youhuiquan",info:[{title:"标题",value:"优惠券",tips:"选填,不超过4个字",max:4},{title:"链接",value:"/pages/users/user_coupon/index",tips:"请输入链接",max:100}]},{img:"",icon:"icon-shoucang",info:[{title:"标题",value:"收藏",tips:"选填,不超过4个字",max:4},{title:"链接",value:"/pages/users/user_goods_collection/index",tips:"请输入链接",max:100}]},{img:"",icon:"icon-zuji",info:[{title:"标题",value:"浏览记录",tips:"选填,不超过4个字",max:4},{title:"链接",value:"/pages/users/user_visit/index",tips:"请输入链接",max:100}]}]}),g.paddingConfig||(g.paddingConfig={isAll:!1,title:"内边距",val:15,min:0,max:100,valList:[{val:15},{val:15},{val:15},{val:15}]}),g.marginConfig||(g.marginConfig={isAll:!1,title:"外边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]}),g.rightEntryConfig||(g.rightEntryConfig={title:"右侧入口",listStyleName:"展示样式",bnt:"添加",type:1,listStyle:-1,maxList:1,list:[{img:"",type:0,show:!0,icon:"",info:[{title:"标题",value:"积分商城",tips:"选填,不超过4个字",max:4},{title:"描述",value:"积分可换好物",tips:"选填,不超过6个字",max:6},{title:"链接",value:"",tips:"请输入链接",max:100}]}]}),g.leftMenuConfig||(g.leftMenuConfig={title:"左侧内容",listStyleName:"展示样式",bnt:"添加",type:1,listStyle:1,maxList:3,list:[{img:"",type:0,show:!0,icon:"icon-yue",info:[{title:"标题",value:"余额",tips:"选填,不超过4个字",max:4},{title:"链接",value:"",tips:"请输入链接",max:100}]},{img:"",type:0,show:!0,icon:"icon-jifen",info:[{title:"标题",value:"积分",tips:"选填,不超过4个字",max:4},{title:"链接",value:"",tips:"请输入链接",max:100}]},{img:"",type:0,show:!0,icon:"icon-youhuiquan",info:[{title:"标题",value:"优惠券",tips:"选填,不超过4个字",max:4},{title:"链接",value:"",tips:"请输入链接",max:100}]}]}),g.memberConfig||(g.memberConfig={listStyleName:"展示样式",bnt:"添加",type:1,listStyle:-1,maxList:2,list:[{img:"",type:0,show:!0,icon:"",info:[{title:"标题",value:"会员中心",tips:"选填,不超过4个字",max:4},{title:"描述",value:"查看新权益",tips:"选填,不超过6个字",max:6},{title:"链接",value:"",tips:"请输入链接",max:100}]},{img:"",type:0,show:!0,icon:"",info:[{title:"标题",value:"积分商城",tips:"选填,不超过4个字",max:4},{title:"描述",value:"限量兑神券",tips:"选填,不超过6个字",max:6},{title:"链接",value:"",tips:"请输入链接",max:100}]}]}),g.ms2TitleType||(g.ms2TitleType={title:"标题类型",tabVal:0,tabList:[{name:"文字"},{name:"图片"}]}),g.ms2TitleText||(g.ms2TitleText={title:"标题文字",value:"SVIP 会员",max:10}),g.ms2TitleColor||(g.ms2TitleColor={title:"标题颜色",default:[{item:"#8B572A"}],color:[{item:"#8B572A"}]}),g.ms2TitleImage||(g.ms2TitleImage={header:"",title:"",name:"标题图片",type:"code",url:"",info:"建议尺寸:162px * 36px"}),g.ms2IntroText||(g.ms2IntroText={title:"简介文字",value:"商城购物可享98折",max:20}),g.ms2IntroColor||(g.ms2IntroColor={title:"简介颜色",default:[{item:"#8B572A"}],color:[{item:"#8B572A"}]}),g.ms2RightsList||(g.ms2RightsList={title:"权益图标",listStyleName:"建议:40px*40px;鼠标拖拽版块可调整图片顺序",bnt:"添加",type:1,listStyle:-1,maxList:2,list:[{img:"",icon:"icon-zk",info:[{title:"标题",value:"购物折扣",tips:"选填,不超过4个字",max:6},{title:"链接",value:"",tips:"请输入链接",max:100}]},{img:"",icon:"icon-mz",info:[{title:"标题",value:"专属徽章",tips:"选填,不超过4个字",max:6},{title:"链接",value:"",tips:"请输入链接",max:100}]}]}),g.ms2ExplainIcons||(g.ms2ExplainIcons={header:"",title:"",name:"说明图片",type:"code",url:"",delType:1,info:"建议:94px * 32px"}),g.ms2ExplainText||(g.ms2ExplainText={title:"说明文字",value:"掌握更多快速升级技巧",max:20}),g.ms2ExplainColor||(g.ms2ExplainColor={title:"说明颜色",default:[{item:"#8B572A"}],color:[{item:"#8B572A"}]}),g.ms2ButtonText||(g.ms2ButtonText={title:"按钮文字",value:"去获取",max:6}),g.ms2ButtonLink||(g.ms2ButtonLink={title:"按钮链接",value:"/pages/users/user_vip/index",max:100,type:"link"}),g.ms2ButtonColor||(g.ms2ButtonColor={title:"文字颜色",default:[{item:"#5A350C"}],color:[{item:"#5A350C"}]}),g.ms2ButtonBgColor||(g.ms2ButtonBgColor={title:"背景颜色",default:[{item:"#F6D99D"}],color:[{item:"#F6D99D"}]}),g.ms2RightsColor||(g.ms2RightsColor={title:"权益文字",default:[{item:"#8B572A"}],color:[{item:"#8B572A"}]}),g.moduleStyleText||(g.moduleStyleText="模块样式"),g.moduleBgColor||(g.moduleBgColor={title:"模块背景",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]}),g.moduleTextColor||(g.moduleTextColor={title:"模块文字",default:[{item:"#333"}],color:[{item:"#333"}]}),g.moduleRadius||(g.moduleRadius={title:"模块圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:8,min:0,max:100,valList:[{val:8},{val:8},{val:8},{val:8}]}),g.cardBgColor||(g.cardBgColor={title:"会员背景色",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]}),g.ms1TitleColor||(g.ms1TitleColor={title:"标题颜色",default:[{item:"#333"}],color:[{item:"#333"}]}),g.ms1DescColor||(g.ms1DescColor={title:"描述颜色",default:[{item:"#ff7d00"}],color:[{item:"#ff7d00"}]}),g.cardBgRadius||(g.cardBgRadius={title:"会员背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:10,min:0,max:100,valList:[{val:10},{val:10},{val:10},{val:10}]}),g.ms3TitleText||(g.ms3TitleText={title:"说明文字",value:"开通会员,尊享更多权益",max:20}),g.ms3TitleColor||(g.ms3TitleColor={title:"说明颜色",default:[{item:"#333"}],color:[{item:"#333"}]}),g.ms3ButtonText||(g.ms3ButtonText={title:"按钮文字",value:"立即开通",max:10}),g.ms3ButtonColor||(g.ms3ButtonColor={title:"按钮颜色",default:[{item:"#e93323"}],color:[{item:"#e93323"}]}),g.ms3PaddingConfig||(g.ms3PaddingConfig={title:"内边距",val:10,min:0,max:100,valList:[{val:10},{val:10},{val:10},{val:10}]}),g.ms3BackgroundImage||(g.ms3BackgroundImage={header:"",title:"",name:"上传图片",type:"code",url:"",info:"建议:宽662px*92px"}),g.ms4BackgroundImage||(g.ms4BackgroundImage={header:"",title:"",name:"上传图片",type:"code",url:"",info:"建议:750px * 200px"}),g)}function f(g){}return(g,p)=>(s(),u("div",IS,[(s(!0),u(q,null,ae(i.value,(b,_)=>(s(),u("div",{key:_},[(s(),ce(Oe(b.components),Pi({configObj:o.value,ref_for:!0,ref:"childData",configNme:b.configNme,key:_,onGetConfig:f,index:t.activeIndex,num:b.num},{ref_for:!0},a(b)),null,16,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:o.value},null,8,["activeIndex","configObj"])]))}}),FS=Object.freeze(Object.defineProperty({__proto__:null,default:US},Symbol.toStringTag,{value:"Module"})),ES={class:"mobile-config"},SS=Object.assign({name:"c_nav_bar",cname:"导航",componentsName:"nav_bar"},{__name:"c_nav_bar",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}]),i=[{components:C.c_title,configNme:"titleLeft"},{components:C.c_radio,configNme:"stickyConfig"},{components:C.c_title,configNme:"titleTab"},{components:C.c_tab_list,configNme:"tabListConfig"}],m=[{components:C.c_title,configNme:"titleRight"},{components:C.c_radio,configNme:"toneConfig"}],a=[{components:C.c_bg_color,configNme:"decorateColor"}],d=[{components:C.c_bg_color,configNme:"decorateColor2"}],r=[{components:C.c_bg_color,configNme:"textColor"}],c=[{components:C.c_bg_color,configNme:"textColor2"}],f=[{components:C.c_bg_color,configNme:"textColor3"}],g=[{components:C.c_common_style,configNme:"commonStyle"}];let p=0,b=0,_=0;M(()=>n.num,y=>{let Q=JSON.parse(JSON.stringify(A.defaultArray[y]));e.value=Q}),M(e,(y,Q)=>{A.UPDATEARR({num:n.num,val:y})},{deep:!0}),M(()=>{var y,Q;return(Q=(y=e.value)==null?void 0:y.setUp)==null?void 0:Q.tabVal},(y,Q)=>{p=y;var I=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];y==0?o.value=I.concat(i):b==0?_==0?o.value=[...I,...m,...g]:o.value=[...I,...m,...a,...r,...g]:b==1?_==0?o.value=[...I,...m,...g]:o.value=[...I,...m,...d,...c,...g]:_==0?o.value=[...I,...m,...g]:o.value=[...I,...m,...a,...f,...g]},{deep:!0}),M(()=>{var y,Q;return(Q=(y=e.value)==null?void 0:y.styleConfig)==null?void 0:Q.tabVal},(y,Q)=>{b=y;var I=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];p&&(y==0?_==0?o.value=[...I,...m,...g]:o.value=[...I,...m,...a,...r,...g]:y==1?_==0?o.value=[...I,...m,...g]:o.value=[...I,...m,...d,...c,...g]:_==0?o.value=[...I,...m,...g]:o.value=[...I,...m,...a,...f,...g])},{deep:!0}),M(()=>{var y,Q;return(Q=(y=e.value)==null?void 0:y.toneConfig)==null?void 0:Q.tabVal},(y,Q)=>{_=y;var I=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];p&&(b==0?y==0?o.value=[...I,...m,...g]:o.value=[...I,...m,...a,...r,...g]:b==1?y==0?o.value=[...I,...m,...g]:o.value=[...I,...m,...d,...c,...g]:y==0?o.value=[...I,...m,...g]:o.value=[...I,...m,...a,...f,...g])},{deep:!0}),Ce(()=>{ve(()=>{let y=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=y})});function B(y){}return(y,Q)=>(s(),u("div",ES,[(s(!0),u(q,null,ae(o.value,(I,N)=>(s(),u("div",{key:N},[(s(),ce(Oe(I.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:I.configNme,key:N,onGetConfig:B,index:t.activeIndex,num:I.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),LS=Object.freeze(Object.defineProperty({__proto__:null,default:SS},Symbol.toStringTag,{value:"Module"})),NS={class:"mobile-config"},kS=Object.assign({name:"c_home_bargain",componentsName:"home_bargain"},{__name:"c_new_list",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}]),i=[{components:C.c_title,configNme:"titleRight"},{components:C.c_fillet,configNme:"filletImg"},{components:C.c_radio,configNme:"nameConfig"},{components:C.c_radio,configNme:"toneConfig"}],m=[{components:C.c_bg_color,configNme:"likeSuccessColor"}],a=[{components:C.c_bg_color,configNme:"nameColor"},{components:C.c_bg_color,configNme:"timeColor"},{components:C.c_bg_color,configNme:"browseColor"},{components:C.c_bg_color,configNme:"statisticColor"},{components:C.c_common_style,configNme:"c_common_style"}];let d=0,r=0;M(()=>n.num,p=>{let b=JSON.parse(JSON.stringify(A.defaultArray[p]));e.value=b,f()}),M(e,(p,b)=>{A.UPDATEARR({num:n.num,val:p})},{deep:!0}),M(()=>{var p,b;return(b=(p=e.value)==null?void 0:p.setUp)==null?void 0:b.tabVal},(p,b)=>{d=p;var _=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];if(p==0){let B=[{components:C.c_title,configNme:"titleArticle"},{components:C.c_select,configNme:"selectConfig"},{components:C.c_input_number,configNme:"numConfig"},{components:C.c_title,configNme:"titleList"},{components:C.c_checkbox,configNme:"checkboxList"}];o.value=_.concat(B)}else r?o.value=[..._,...i,...m,...a]:o.value=[..._,...i,...a]},{deep:!0}),M(()=>{var p,b;return(b=(p=e.value)==null?void 0:p.toneConfig)==null?void 0:b.tabVal},(p,b)=>{r=p;var _=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];d&&(p?o.value=[..._,...i,...m,...a]:o.value=[..._,...i,...a])}),Ce(()=>{ve(()=>{let p=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=c(p),f()})});function c(p){return p&&(p.paddingConfig||(p.paddingConfig={isAll:!1,title:"内边距",val:0,min:0,max:100,valList:[{val:p.topConfig?p.topConfig.val:0},{val:p.prConfig?p.prConfig.val:0},{val:p.bottomConfig?p.bottomConfig.val:0},{val:p.prConfig?p.prConfig.val:0}]}),p.marginConfig||(p.marginConfig={isAll:!1,title:"外边距",val:0,min:0,max:100,valList:[{val:p.mbConfig?p.mbConfig.val:0},{val:0},{val:0},{val:0}]}),p)}function f(){Yi().then(p=>{let b=[];p.data.map(_=>{b.push({title:_.title,activeValue:_.id.toString()})}),e.value.selectConfig.list=b}).catch(p=>{Ve.error(p.msg)})}function g(p){if(p.name=="radio")return;let b={pid:parseInt(e.value.selectConfig.activeValue),page:1,limit:parseInt(e.value.numConfig.val)};$i(b).then(_=>{e.value.selectList.list=_.data.list}).catch(_=>{Ve.error(_.msg)})}return(p,b)=>(s(),u("div",NS,[(s(!0),u(q,null,ae(o.value,(_,B)=>(s(),u("div",{key:B},[(s(),ce(Oe(_.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:_.configNme,key:B,onGetConfig:g,index:t.activeIndex,num:_.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),VS=fe(kS,[["__scopeId","data-v-c67082e5"]]),OS=Object.freeze(Object.defineProperty({__proto__:null,default:VS},Symbol.toStringTag,{value:"Module"})),DS={class:"mobile-config"},HS=Object.assign({name:"c_new_vip",componentsName:"home_new_vip"},{__name:"c_new_vip",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_set_up,configNme:"setUp"}]),i=[{components:C.c_title,configNme:"titleRight"},{components:C.c_radio,configNme:"toneConfig"}],m=[{components:C.c_bg_color,configNme:"tipsColor"},{components:C.c_bg_color,configNme:"integralBgColor"}],a=[{components:C.c_bg_color,configNme:"bntColor"},{components:C.c_bg_color,configNme:"integralTxtColor"}],d=[{components:C.c_title,configNme:"titleCoupon"},{components:C.c_radio,configNme:"toneCouponConfig"}],r=[{components:C.c_bg_color,configNme:"couponMoneyColor"},{components:C.c_bg_color,configNme:"bntTxtColor"},{components:C.c_bg_color,configNme:"couponTypeColor"},{components:C.c_slider,configNme:"spacingConfig"},{components:C.c_bg_color,configNme:"vipBgColor"},{components:C.c_bg_color,configNme:"couponBgColor"}],c=[{components:C.c_bg_color,configNme:"couponMoneyColor"},{components:C.c_bg_color,configNme:"couponBgColor2"},{components:C.c_bg_color,configNme:"bntBgColor"},{components:C.c_slider,configNme:"spacingConfig2"}],f=[{components:C.c_title,configNme:"titleGoods"},{components:C.c_radio,configNme:"toneGoodsConfig"}],g=[{components:C.c_bg_color,configNme:"priceColor"}],p=[],b=[],_=[{components:C.c_common_style,configNme:"c_common_style"}];let B=0,y=0,Q=0,I=0,N=0;M(()=>n.num,E=>{e.value=w(A.defaultArray[E])}),M(e,(E,F)=>{A.UPDATEARR({num:n.num,val:E})},{deep:!0}),M(()=>{var E,F;return(F=(E=e.value)==null?void 0:E.setUp)==null?void 0:F.tabVal},(E,F)=>{B=E;var x=[o.value[0]];if(E==0){let j=[{components:C.c_title,configNme:"titleLeft"},{components:C.c_radio,configNme:"styleConfig"},{components:C.c_title,configNme:"titleContent"},{components:C.c_checkbox,configNme:"checkboxInfo"}];o.value=x.concat(j)}else h(x,y,Q,I,N)},{deep:!0}),M(()=>{var E,F;return(F=(E=e.value)==null?void 0:E.styleConfig)==null?void 0:F.tabVal},(E,F)=>{y=E;var x=[o.value[0]];B&&h(x,E,Q,I,N)},{deep:!0}),M(()=>{var E,F;return(F=(E=e.value)==null?void 0:E.toneConfig)==null?void 0:F.tabVal},(E,F)=>{Q=E;var x=[o.value[0]];B&&h(x,y,E,I,N)},{deep:!0}),M(()=>{var E,F;return(F=(E=e.value)==null?void 0:E.toneCouponConfig)==null?void 0:F.tabVal},(E,F)=>{I=E;var x=[o.value[0]];B&&h(x,y,Q,E,N)},{deep:!0}),M(()=>{var E,F;return(F=(E=e.value)==null?void 0:E.toneGoodsConfig)==null?void 0:F.tabVal},(E,F)=>{N=E;var x=[o.value[0]];B&&h(x,y,Q,I,E)},{deep:!0}),Ce(()=>{ve(()=>{let E=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=w(E)})});function w(E){return E.paddingConfig||(E.paddingConfig={isAll:!1,title:"内边距",val:0,min:0,max:100,valList:[{val:E.topConfig?E.topConfig.val:0},{val:E.prConfig?E.prConfig.val:0},{val:E.bottomConfig?E.bottomConfig.val:0},{val:E.prConfig?E.prConfig.val:0}]}),E.marginConfig||(E.marginConfig={isAll:!1,title:"外边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:E.mbConfig?E.mbConfig.val:0},{val:0}]}),E.c_common_style||(E.c_common_style={color:"rgba(255,255,255,1)",color2:"rgba(255,255,255,1)",lr:0,type:0}),E}function h(E,F,x,j,D){F==0?x==0?j==0?D==0?o.value=[...E,...i,...d,...f,...p,..._]:o.value=[...E,...i,...d,...f,...g,...p,..._]:D==0?o.value=[...E,...i,...d,...r,...f,...p,..._]:o.value=[...E,...i,...d,...r,...f,...g,...p,..._]:j==0?D==0?o.value=[...E,...i,...m,...d,...f,...p,..._]:o.value=[...E,...i,...m,...d,...f,...g,...p,..._]:D==0?o.value=[...E,...i,...m,...d,...r,...f,...p,..._]:o.value=[...E,...i,...m,...d,...r,...f,...g,...p,..._]:x==0?j==0?o.value=[...E,...i,...d,...p,...b,..._]:o.value=[...E,...i,...d,...c,...p,...b,..._]:j==0?o.value=[...E,...i,...a,...d,...p,...b,..._]:o.value=[...E,...i,...a,...d,...c,...p,...b,..._]}return(E,F)=>(s(),u("div",DS,[(s(!0),u(q,null,ae(o.value,(x,j)=>(s(),u("div",{key:j},[(s(),ce(Oe(x.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:x.configNme,key:j,index:t.activeIndex,num:x.num},null,8,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),TS=Object.freeze(Object.defineProperty({__proto__:null,default:HS},Symbol.toStringTag,{value:"Module"})),jS={class:"mobile-config"},RS=Object.assign({name:"c_news_roll",cname:"新闻公告",componentsName:"home_news_roll"},{__name:"c_news_roll",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_card_select,configNme:"styleConfig"}]),i=[{components:C.c_set_up,configNme:"setUp"},{components:C.c_title,configNme:"titleStyle"},{components:C.c_radio,configNme:"titleConfig"}],m=[{components:C.c_upload_img,configNme:"imgConfig"}],a=[{components:C.c_input_item,configNme:"titleTxtConfig"}],d=[{components:C.c_radio,configNme:"rollConfig"}],r=[{components:C.c_title,configNme:"titleButton"},{components:C.c_radio,configNme:"buttonConfig"}],c=[{components:C.c_input_item,configNme:"linkConfig"}],f=[{components:C.c_title,configNme:"titleContent"},{components:C.c_product,configNme:"listConfig"}],g=[{components:C.c_set_up,configNme:"setUp"},{components:C.c_title,configNme:"titleRight"}],p=[{components:C.c_bg_color,configNme:"bntColor"}],b=[{components:C.c_radio,configNme:"toneConfig"}],_=[{components:C.c_bg_color,configNme:"titleBgColor"}],B=[{components:C.c_bg_color,configNme:"titleColor"}],y=[{components:C.c_common_style,configNme:"c_common_style"}];let Q=0,I=0,N=0,w=0,h=0;M(()=>n.num,x=>{let j=JSON.parse(JSON.stringify(A.defaultArray[x]));e.value=E(j)}),M(e,(x,j)=>{A.UPDATEARR({num:n.num,val:x})},{deep:!0}),M(()=>{var x,j;return(j=(x=e.value)==null?void 0:x.setUp)==null?void 0:j.tabVal},(x,j)=>{Q=x;var D=[o.value[0]];x==0?I==0?h==0?o.value=[...D,...i,...m,...d,...r,...f]:o.value=[...D,...i,...a,...d,...r,...f]:h==0?N==0?o.value=[...D,...i,...m,...r,...c,...f]:o.value=[...D,...i,...m,...r,...f]:N==0?o.value=[...D,...i,...a,...r,...c,...f]:o.value=[...D,...i,...a,...r,...f]:I==0?h==0?N==0?o.value=[...D,...g,...p,...y]:o.value=[...D,...g,...y]:N==0?w?o.value=[...D,...g,...p,...b,..._,...B,...y]:o.value=[...D,...g,...p,...b,...y]:w?o.value=[...D,...g,...b,..._,...B,...y]:o.value=[...D,...g,...b,...y]:h==0?N==0?o.value=[...D,...g,...p,...y]:o.value=[...D,...g,...y]:N==0?o.value=[...D,...g,...p,...B,...y]:o.value=[...D,...g,...B,...y]},{deep:!0}),M(()=>{var x,j;return(j=(x=e.value)==null?void 0:x.styleConfig)==null?void 0:j.tabVal},(x,j)=>{I=x;var D=[o.value[0]];Q==0?x==0?h==0?o.value=[...D,...i,...m,...d,...r,...f]:o.value=[...D,...i,...a,...d,...r,...f]:h==0?N==0?o.value=[...D,...i,...m,...r,...c,...f]:o.value=[...D,...i,...m,...r,...f]:N==0?o.value=[...D,...i,...a,...r,...c,...f]:o.value=[...D,...i,...a,...r,...f]:x==0?h==0?N==0?o.value=[...D,...g,...p,...y]:o.value=[...D,...g,...y]:N==0?w?o.value=[...D,...g,...p,...b,..._,...B,...y]:o.value=[...D,...g,...p,...b,...y]:w?o.value=[...D,...g,...b,..._,...B,...y]:o.value=[...D,...g,...b,...y]:h==0?N==0?o.value=[...D,...g,...p,...y]:o.value=[...D,...g,...y]:N==0?o.value=[...D,...g,...p,...B,...y]:o.value=[...D,...g,...B,...y]},{deep:!0}),M(()=>{var x,j;return(j=(x=e.value)==null?void 0:x.titleConfig)==null?void 0:j.tabVal},(x,j)=>{h=x;var D=[o.value[0]];Q==0?I==0?x==0?o.value=[...D,...i,...m,...d,...r,...f]:o.value=[...D,...i,...a,...d,...r,...f]:x==0?N==0?o.value=[...D,...i,...m,...r,...c,...f]:o.value=[...D,...i,...m,...r,...f]:N==0?o.value=[...D,...i,...a,...r,...c,...f]:o.value=[...D,...i,...a,...r,...f]:I==0?x==0?N==0?o.value=[...D,...g,...p,...y]:o.value=[...D,...g,...y]:N==0?w?o.value=[...D,...g,...p,...b,..._,...B,...y]:o.value=[...D,...g,...p,...b,...y]:w?o.value=[...D,...g,...b,..._,...B,...y]:o.value=[...D,...g,...b,...y]:x==0?N==0?o.value=[...D,...g,...p,...y]:o.value=[...D,...g,...y]:N==0?o.value=[...D,...g,...p,...B,...y]:o.value=[...D,...g,...B,...y]},{deep:!0}),M(()=>{var x,j;return(j=(x=e.value)==null?void 0:x.buttonConfig)==null?void 0:j.tabVal},(x,j)=>{N=x;var D=[o.value[0]];Q==0?I==0?h==0?o.value=[...D,...i,...m,...d,...r,...f]:o.value=[...D,...i,...a,...d,...r,...f]:h==0?x==0?o.value=[...D,...i,...m,...r,...c,...f]:o.value=[...D,...i,...m,...r,...f]:x==0?o.value=[...D,...i,...a,...r,...c,...f]:o.value=[...D,...i,...a,...r,...f]:I==0?h==0?x==0?o.value=[...D,...g,...p,...y]:o.value=[...D,...g,...y]:x==0?w?o.value=[...D,...g,...p,...b,..._,...B,...y]:o.value=[...D,...g,...p,...b,...y]:w?o.value=[...D,...g,...b,..._,...B,...y]:o.value=[...D,...g,...b,...y]:h==0?x==0?o.value=[...D,...g,...p,...y]:o.value=[...D,...g,...y]:N==0?o.value=[...D,...g,...p,...B,...y]:o.value=[...D,...g,...B,...y]},{deep:!0}),M(()=>{var x,j;return(j=(x=e.value)==null?void 0:x.toneConfig)==null?void 0:j.tabVal},(x,j)=>{w=x;var D=[o.value[0]];Q&&I==0&&(h==0?x==0?o.value=[...D,...g,...p,...y]:o.value=[...D,...g,...y]:x==0?x?o.value=[...D,...g,...p,...b,..._,...B,...y]:o.value=[...D,...g,...p,...b,...y]:x?o.value=[...D,...g,...b,..._,...B,...y]:o.value=[...D,...g,...b,...y])},{deep:!0}),Ce(()=>{ve(()=>{let x=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=E(x)})});function E(x){return x.paddingConfig||(x.paddingConfig={isAll:!1,title:"内边距",val:0,min:0,max:100,valList:[{val:x.topConfig?x.topConfig.val:0},{val:x.prConfig?x.prConfig.val:0},{val:x.bottomConfig?x.bottomConfig.val:0},{val:x.prConfig?x.prConfig.val:0}]}),x.marginConfig||(x.marginConfig={isAll:!1,title:"外边距",val:0,min:0,max:100,valList:[{val:x.mbConfig?x.mbConfig.val:0},{val:0},{val:0},{val:0}]}),x.c_common_style||(x.c_common_style={color:"rgba(255,255,255,1)",color2:"rgba(255,255,255,1)",lr:0,type:0}),x}function F(x){}return(x,j)=>(s(),u("div",jS,[l("form",null,[(s(!0),u(q,null,ae(o.value,(D,V)=>(s(),u("div",{key:V},[(s(),ce(Oe(D.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:D.configNme,key:V,onGetConfig:F,index:t.activeIndex,num:D.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])])]))}}),MS=fe(RS,[["__scopeId","data-v-abce2c24"]]),KS=Object.freeze(Object.defineProperty({__proto__:null,default:MS},Symbol.toStringTag,{value:"Module"})),PS={class:"mobile-config pro"},GS=Object.assign({name:"c_paid_vip",cname:"付费会员",componentsName:"home_paid_vip"},{__name:"c_paid_vip",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({});let o=0;const i=v([{components:C.c_set_up,configNme:"setUp"}]),m=[{components:C.c_title,configNme:"titleContent"},{components:C.c_upload_img,configNme:"imgConfig"},{components:C.c_input_item,configNme:"rightBntConfig"}];M(()=>n.num,r=>{let c=JSON.parse(JSON.stringify(A.defaultArray[r]));e.value=a(c)}),M(e,(r,c)=>{A.UPDATEARR({num:n.num,val:r})},{deep:!0}),M(()=>{var r,c;return(c=(r=e.value)==null?void 0:r.setUp)==null?void 0:c.tabVal},(r,c)=>{o=r,d()},{deep:!0}),M(()=>{var r,c;return(c=(r=e.value)==null?void 0:r.toneConfig)==null?void 0:c.tabVal},(r,c)=>{o===1&&d()},{deep:!0}),Ce(()=>{ve(()=>{let r=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=a(r)})});function a(r){return r&&(r.paddingConfig||(r.paddingConfig={title:"内边距",isAll:!1,val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},r.topConfig&&(r.paddingConfig.valList[0].val=r.topConfig.val),r.prConfig&&(r.paddingConfig.valList[1].val=r.prConfig.val,r.paddingConfig.valList[3].val=r.prConfig.val),r.bottomConfig&&(r.paddingConfig.valList[2].val=r.bottomConfig.val)),r.marginConfig||(r.marginConfig={title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},r.mbConfig&&(r.marginConfig.valList[0].val=r.mbConfig.val)),r.borderConfig||(r.borderConfig={title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}}),r.shadowConfig||(r.shadowConfig={title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}}),r.componentBgConfig||(r.componentBgConfig={title:"组件背景",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#fff"}],color:[{item:"#fff"}]},imageConfig:{url:"",type:"code",name:"背景图片"}}),r.fillet||(r.fillet={title:"背景圆角",type:0,list:[{val:"全部",icon:"iconcaozuo-zhengti"},{val:"单个",icon:"iconcaozuo-bianjiao"}],valName:"圆角值",val:8,min:0,valList:[{val:0},{val:0},{val:0},{val:0}]}),r.imgConfig||(r.imgConfig={info:"建议:36px * 36px",url:va,type:"code",delType:1,name:"会员图片"}),r.rightBntConfig||(r.rightBntConfig={title:"右侧按钮",value:"立即开通",place:"请输入按钮文字",max:6}),r.c_common_style||(r.c_common_style={color:{title:"背景颜色",val:"",name:"bgColor"},color2:{title:"线条颜色",val:"",name:"lineColor"},lr:{title:"左右边距",val:0,min:0,max:100},type:0}),r)}function d(){var r=[i.value[0]];if(o==0)i.value=r.concat(m);else{let c=[{components:C.c_title,configNme:"titleStyle"},{components:C.c_radio,configNme:"toneConfig"}];e.value.toneConfig&&e.value.toneConfig.tabVal==1&&(c=c.concat([{components:C.c_bg_color,configNme:"tipsColor"},{components:C.c_bg_color,configNme:"moneyColor"},{components:C.c_bg_color,configNme:"btnColor"},{components:C.c_slider,configNme:"btnConfig"}])),c=c.concat([{components:C.c_common_style,configNme:"c_common_style"}]),i.value=r.concat(c)}}return(r,c)=>(s(),u("div",PS,[(s(!0),u(q,null,ae(i.value,(f,g)=>(s(),u("div",{key:g},[(s(),ce(Oe(f.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:f.configNme,key:g,index:t.activeIndex,num:f.num},null,8,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),zS=Object.freeze(Object.defineProperty({__proto__:null,default:GS},Symbol.toStringTag,{value:"Module"})),JS={class:"mobile-config"},YS=Object.assign({name:"c_picture_cube",cname:"图片魔方",componentsName:"picture_cube"},{__name:"c_picture_cube",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_set_up,configNme:"setUp"}]);M(()=>n.num,m=>{let a=JSON.parse(JSON.stringify(A.defaultArray[m]));e.value=i(a)}),M(e,(m,a)=>{A.UPDATEARR({num:n.num,val:m})},{deep:!0}),M(()=>{var m,a;return(a=(m=e.value)==null?void 0:m.setUp)==null?void 0:a.tabVal},(m,a)=>{var d=[o.value[0]];if(m==0){let r=[{components:C.c_title,configNme:"titleLeft"},{components:C.c_button_style,configNme:"styleConfig"},{components:C.c_title,configNme:"titleShow"},{components:C.c_pictrue,configNme:"picStyle"},{components:C.c_title,configNme:"titleContent"},{components:C.c_menu_list,configNme:"menuConfig"}];o.value=d.concat(r)}else{let r=[{components:C.c_title,configNme:"titleRight"},{components:C.c_slider,configNme:"imgConfig"},{components:C.c_fillet,configNme:"filletImg"},{components:C.c_title,configNme:"titleCurrency"},{components:C.c_common_style,configNme:"c_common_style"}];o.value=d.concat(r)}},{deep:!0}),Ce(()=>{ve(()=>{let m=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=i(m)})});function i(m){if(m.paddingConfig||(m.paddingConfig={isAll:!1,title:"内边距",val:0,min:0,max:100,valList:[{val:m.topConfig?m.topConfig.val:0},{val:m.prConfig?m.prConfig.val:0},{val:m.bottomConfig?m.bottomConfig.val:0},{val:m.prConfig?m.prConfig.val:0}]}),m.marginConfig||(m.marginConfig={isAll:!1,title:"外边距",val:0,min:0,max:100,valList:[{val:m.mbConfig?m.mbConfig.val:0},{val:0},{val:0},{val:0}]}),m.c_common_style||(m.c_common_style={color:"rgba(255,255,255,1)",color2:"rgba(255,255,255,1)",lr:0,type:0}),m.componentBgConfig){let a=m.componentBgConfig;a.tabList&&a.tabList.length>=2&&a.tabList[0].name==="隐藏"&&a.tabList[1].name==="显示"&&(a.tabList=[{name:"颜色"},{name:"图片"}],a.tabVal=0,a.val!==void 0&&delete a.val),a.colorDirection||(a.colorDirection={title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]}),a.imageConfig||(a.imageConfig={header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"})}return m}return(m,a)=>(s(),u("div",JS,[(s(!0),u(q,null,ae(o.value,(d,r)=>(s(),u("div",{key:r},[(s(),ce(Oe(d.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:d.configNme,key:r,index:t.activeIndex,num:d.num},null,8,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),XS=fe(YS,[["__scopeId","data-v-ea3b8065"]]),WS=Object.freeze(Object.defineProperty({__proto__:null,default:XS},Symbol.toStringTag,{value:"Module"})),$S={class:"mobile-config"},ZS=Object.assign({name:"c_points_mall",cname:"积分商城",componentsName:"points_mall"},{__name:"c_points_mall",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}]),i=[{components:C.c_title,configNme:"titleLeft"},{components:C.c_radio,configNme:"styleConfig"}],m=[{components:C.c_upload_img,configNme:"imgBgConfig"}],a=[{components:C.c_radio,configNme:"titleConfig"}],d=[{components:C.c_upload_img,configNme:"imgConfig"}],r=[{components:C.c_upload_img,configNme:"imgConfig2"}],c=[{components:C.c_input_item,configNme:"titleTxtConfig"}],f=[{components:C.c_input_item,configNme:"rightBntConfig"},{components:C.c_title,configNme:"titleGoods"},{components:C.c_slider,configNme:"numberConfig"}],g=[{components:C.c_title,configNme:"titleRight"}],p=[{components:C.c_bg_color,configNme:"headerBgColor"}],b=[{components:C.c_radio,configNme:"titleText"},{components:C.c_bg_color,configNme:"titleColor"},{components:C.c_slider,configNme:"titleNumber"}],_=[{components:C.c_bg_color,configNme:"headerBntColor"}],B=[{components:C.c_bg_color,configNme:"headerBntColor2"}],y=[{components:C.c_slider,configNme:"bntNumber"},{components:C.c_title,configNme:"titleGoodsStyle"},{components:C.c_fillet,configNme:"filletImg"}],Q=[{components:C.c_bg_color,configNme:"goodsNameColor"}],I=[{components:C.c_bg_color,configNme:"goodsNameColor2"}],N=[{components:C.c_radio,configNme:"toneConfig"}],w=[{components:C.c_bg_color,configNme:"goodsPriceColor"}],h=[{components:C.c_bg_color,configNme:"goodsPriceColor2"},{components:C.c_bg_color,configNme:"goodsUnitPriceColor2"}],E=[{components:C.c_bg_color,configNme:"goodsUnitPriceColor"}],F=[{components:C.c_bg_color,configNme:"priceBgColor"}],x=[{components:C.c_bg_color,configNme:"moduleColor2"}],j=[{components:C.c_common_style,configNme:"commonStyle"}];let D=0,V=0,S=0,k=0,K=0;M(()=>n.num,R=>{let G=JSON.parse(JSON.stringify(A.defaultArray[R]));e.value=G}),M(e,(R,G)=>{A.UPDATEARR({num:n.num,val:R})},{deep:!0}),M(()=>{var R,G;return(G=(R=e.value)==null?void 0:R.setUp)==null?void 0:G.tabVal},(R,G)=>{D=R;var z=[{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}];R==0?ee(z,V,S,k):T(z,V,S,k,K)},{deep:!0}),M(()=>{var R,G;return(G=(R=e.value)==null?void 0:R.styleConfig)==null?void 0:G.tabVal},(R,G)=>{V=R;var z=[{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}];D==0?ee(z,R,S,k):T(z,R,S,k,K)},{deep:!0}),M(()=>{var R,G;return(G=(R=e.value)==null?void 0:R.titleConfig)==null?void 0:G.tabVal},(R,G)=>{S=R;var z=[{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}];D==0?ee(z,V,R,k):T(z,V,R,k,K)},{deep:!0}),M(()=>{var R,G;return(G=(R=e.value)==null?void 0:R.goodStyleConfig)==null?void 0:G.tabVal},(R,G)=>{k=R;var z=[{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}];D==0?ee(z,V,S,R):T(z,V,S,R,K)},{deep:!0}),M(()=>{var R,G;return(G=(R=e.value)==null?void 0:R.toneConfig)==null?void 0:G.tabVal},(R,G)=>{K=R;var z=[{components:C.c_card_select,configNme:"goodStyleConfig"},{components:C.c_set_up,configNme:"setUp"}];D&&T(z,V,S,k,R)},{deep:!0}),Ce(()=>{ve(()=>{let R=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=J(R)})});function J(R){return R&&(R.paddingConfig||(R.paddingConfig={title:"内边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},R.topConfig&&(R.paddingConfig.valList[0].val=R.topConfig.val),R.prConfig&&(R.paddingConfig.valList[1].val=R.prConfig.val,R.paddingConfig.valList[3].val=R.prConfig.val),R.bottomConfig&&(R.paddingConfig.valList[2].val=R.bottomConfig.val)),R.marginConfig||(R.marginConfig={title:"外边距",isAll:!1,val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},R.mbConfig&&(R.marginConfig.valList[0].val=R.mbConfig.val)),R.componentBgConfig||(R.componentBgConfig={title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#F5F5F5"},{item:"#F5F5F5"}],color:[{item:"#F5F5F5"},{item:"#F5F5F5"}]},imgBgConfig:{info:"建议:750px * 100 ~ 200px",url:"",type:"code",delType:1,name:"背景图片"}}),R.zIndexConfig||(R.zIndexConfig={title:"组件上浮",val:0,min:0}),R.borderConfig||(R.borderConfig={title:"组件边框",show:!1,color:{item:"#E5E5E5"},scale:{val:1,min:1}}),R.shadowConfig||(R.shadowConfig={title:"组件阴影",show:!1,color:{item:"#E5E5E5"},scale:{val:1,min:1}}),R.c_common_style||(R.c_common_style={color:"rgba(255,255,255,1)",color2:"rgba(255,255,255,1)",lr:0,type:0}),R)}function ee(R,G,z,ie){G==0?z==0?ie==0?o.value=[...R,...i,...a,...d,...f]:o.value=[...R,...i,...a,...r,...f]:o.value=[...R,...i,...a,...c,...f]:z==0?o.value=[...R,...i,...m,...a,...d,...f]:o.value=[...R,...i,...m,...a,...c,...f]}function T(R,G,z,ie,Y){let Z=[...R,...g,...p,...B,...y,...N,...x,...j],re=[...R,...g,...p,...b,...B,...y,...N,...x,...j],te=[...R,...g,..._,...y,...N,...j],ge=[...R,...g,...b,..._,...y,...N,...j];G==0?z==0?ie==0?Y==0?o.value=Z:o.value=[...R,...g,...p,...B,...y,...N,...w,...F,...x,...j]:Y==0?o.value=[...R,...g,...p,...B,...y,...Q,...N,...x,...j]:o.value=[...R,...g,...p,...B,...y,...Q,...N,...h,...x,...j]:ie==0?Y==0?o.value=re:o.value=[...R,...g,...p,...b,...B,...y,...N,...w,...F,...x,...j]:Y==0?o.value=[...R,...g,...p,...b,...B,...y,...Q,...N,...x,...j]:o.value=[...R,...g,...p,...b,...B,...y,...Q,...N,...h,...x,...j]:z==0?ie==0?Y==0?o.value=te:o.value=[...R,...g,..._,...y,...N,...w,...F,...j]:Y==0?o.value=[...R,...g,..._,...y,...I,...N,...j]:o.value=[...R,...g,..._,...y,...I,...N,...w,...E,...j]:ie==0?Y==0?o.value=ge:o.value=[...R,...g,...b,..._,...y,...N,...w,...F,...j]:Y==0?o.value=[...R,...g,...b,..._,...y,...I,...N,...j]:o.value=[...R,...g,...b,..._,...y,...I,...N,...w,...E,...j]}function H(R){}return(R,G)=>(s(),u("div",$S,[(s(!0),u(q,null,ae(o.value,(z,ie)=>(s(),u("div",{key:ie},[(s(),ce(Oe(z.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:z.configNme,key:ie,onGetConfig:H,index:t.activeIndex,num:z.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),qS=Object.freeze(Object.defineProperty({__proto__:null,default:ZS},Symbol.toStringTag,{value:"Module"})),e8={class:"mobile-config"},t8=Object.assign({name:"c_presale",componentsName:"home_presale"},{__name:"c_presale",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_set_up,configNme:"setUp"}]),i=[{components:C.c_title,configNme:"titleLeft"},{components:C.c_radio,configNme:"styleConfig"}],m=[{components:C.c_upload_img,configNme:"imgBgConfig"}],a=[{components:C.c_radio,configNme:"titleConfig"}],d=[{components:C.c_upload_img,configNme:"imgConfig"}],r=[{components:C.c_upload_img,configNme:"imgColorConfig"}],c=[{components:C.c_input_item,configNme:"titleTxtConfig"}],f=[{components:C.c_input_item,configNme:"tipTxtConfig"},{components:C.c_input_item,configNme:"rightBntConfig"},{components:C.c_title,configNme:"titleGoodsList"},{components:C.c_radio,configNme:"goodStyleConfig"},{components:C.c_title,configNme:"titleGoods"},{components:C.c_slider,configNme:"numberConfig"},{components:C.c_checkbox,configNme:"checkboxInfo"}],g=[{components:C.c_radio,configNme:"presaleConfig"}],p=[{components:C.c_title,configNme:"titleRight"}],b=[{components:C.c_bg_color,configNme:"headerBgColor"}],_=[{components:C.c_radio,configNme:"titleText"},{components:C.c_bg_color,configNme:"titleColor"},{components:C.c_slider,configNme:"titleNumber"}],B=[{components:C.c_bg_color,configNme:"headerBntColor"}],y=[{components:C.c_bg_color,configNme:"headerBntColor2"}],Q=[{components:C.c_slider,configNme:"bntNumber"}],I=[{components:C.c_bg_color,configNme:"tipsColor"}],N=[{components:C.c_bg_color,configNme:"tipsColor2"}],w=[{components:C.c_bg_color,configNme:"dividerColor"},{components:C.c_title,configNme:"titleGoodsStyle"},{components:C.c_fillet,configNme:"filletImg"},{components:C.c_radio,configNme:"goodsName"},{components:C.c_bg_color,configNme:"goodsNameColor"}],h=[{components:C.c_bg_color,configNme:"goodsPriceColor"}],E=[{components:C.c_radio,configNme:"toneConfig"}],F=[{components:C.c_bg_color,configNme:"presalePriceColor"}],x=[{components:C.c_bg_color,configNme:"goodsBntColor"},{components:C.c_bg_color,configNme:"goodsBntTxtColor"}],j=[{components:C.c_title,configNme:"titleCurrency"},{components:C.c_common_style,configNme:"c_common_style"}];let D=0,V=0,S=0,k=0,K=0,J=0;M(()=>n.num,G=>{let z=JSON.parse(JSON.stringify(A.defaultArray[G]));e.value=ee(z)}),M(e,(G,z)=>{A.UPDATEARR({num:n.num,val:G})},{deep:!0}),M(()=>{var G,z;return(z=(G=e.value)==null?void 0:G.setUp)==null?void 0:z.tabVal},(G,z)=>{D=G;var ie=[o.value[0]];G==0?T(ie,V,S,k):H(ie,V,S,k,J,K)},{deep:!0}),M(()=>{var G,z;return(z=(G=e.value)==null?void 0:G.styleConfig)==null?void 0:z.tabVal},(G,z)=>{V=G;var ie=[o.value[0]];D==0?T(ie,G,S,k):H(ie,G,S,k,J,K)},{deep:!0}),M(()=>{var G,z;return(z=(G=e.value)==null?void 0:G.titleConfig)==null?void 0:z.tabVal},(G,z)=>{S=G;var ie=[o.value[0]];D==0?T(ie,V,G,k):H(ie,V,G,k,J,K)},{deep:!0}),M(()=>{var G,z;return(z=(G=e.value)==null?void 0:G.goodStyleConfig)==null?void 0:z.tabVal},(G,z)=>{k=G;var ie=[o.value[0]];D==0?T(ie,V,S,G):H(ie,V,S,G,J,K)},{deep:!0}),M(()=>{var G,z;return(z=(G=e.value)==null?void 0:G.presaleConfig)==null?void 0:z.tabVal},(G,z)=>{J=G;var ie=[o.value[0]];D&&H(ie,V,S,k,G,K)},{deep:!0}),M(()=>{var G,z;return(z=(G=e.value)==null?void 0:G.toneConfig)==null?void 0:z.tabVal},(G,z)=>{K=G;var ie=[o.value[0]];D&&H(ie,V,S,k,J,G)},{deep:!0}),Ce(()=>{ve(()=>{let G=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=ee(G)})});function ee(G){return G.paddingConfig||(G.paddingConfig={isAll:!1,title:"内边距",val:0,min:0,max:100,valList:[{val:G.topConfig?G.topConfig.val:0},{val:G.prConfig?G.prConfig.val:0},{val:G.bottomConfig?G.bottomConfig.val:0},{val:G.prConfig?G.prConfig.val:0}]}),G.marginConfig||(G.marginConfig={isAll:!1,title:"外边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:G.mbConfig?G.mbConfig.val:0},{val:0}]}),!G.c_common_style&&G.moduleColor&&(G.c_common_style={color:G.moduleColor.color,color2:G.bottomBgColor.color,lr:G.fillet.type?G.fillet.val:0,type:G.fillet.type}),G}function T(G,z,ie,Y){z==0?ie==0?Y==1?o.value=[...G,...i,...a,...r,...f,...g]:o.value=[...G,...i,...a,...r,...f]:Y==1?o.value=[...G,...i,...a,...c,...f,...g]:o.value=[...G,...i,...a,...c,...f]:ie==0?Y==1?o.value=[...G,...i,...m,...a,...d,...f,...g]:o.value=[...G,...i,...m,...a,...d,...f]:Y==1?o.value=[...G,...i,...m,...a,...c,...f,...g]:o.value=[...G,...i,...m,...a,...c,...f]}function H(G,z,ie,Y,Z,re){let te=[...G,...p,...b,...y,...Q,...N,...w,...E,...j],ge=[...G,...p,...b,..._,...y,...Q,...N,...w,...E,...j],W=[...G,...p,...B,...Q,...I,...w,...E,...j],Ae=[...G,...p,..._,...B,...Q,...I,...w,...E,...j];z==0?ie==0?Y==0?Z==0?re==0?o.value=te:o.value=[...G,...p,...b,...y,...Q,...N,...w,...E,...F,...x,...j]:re==0?o.value=te:o.value=[...G,...p,...b,...y,...Q,...N,...w,...E,...F,...j]:Y==1?Z==0?re==0?o.value=[...G,...p,...b,...y,...Q,...N,...w,...h,...E,...j]:o.value=[...G,...p,...b,...y,...Q,...N,...w,...h,...E,...F,...x,...j]:re==0?o.value=[...G,...p,...b,...y,...Q,...N,...w,...h,...E,...j]:o.value=[...G,...p,...b,...y,...Q,...N,...w,...h,...E,...F,...j]:Y==2?re==0?o.value=te:o.value=[...G,...p,...b,...y,...Q,...N,...w,...E,...F,...j]:re==0?o.value=[...G,...p,...b,...y,...Q,...N,...w,...E,...j]:o.value=[...G,...p,...b,...y,...Q,...N,...w,...E,...F,...j]:Y==0?Z==0?re==0?o.value=ge:o.value=[...G,...p,...b,..._,...y,...Q,...N,...w,...E,...F,...x,...j]:re==0?o.value=ge:o.value=[...G,...p,...b,..._,...y,...Q,...N,...w,...E,...F,...j]:Y==1?Z==0?re==0?o.value=[...G,...p,...b,..._,...y,...Q,...N,...w,...h,...E,...j]:o.value=[...G,...p,...b,..._,...y,...Q,...N,...w,...h,...E,...F,...x,...j]:re==0?o.value=[...G,...p,...b,..._,...y,...Q,...N,...w,...h,...E,...j]:o.value=[...G,...p,...b,..._,...y,...Q,...N,...w,...h,...E,...F,...j]:Y==2?re==0?o.value=ge:o.value=[...G,...p,...b,..._,...y,...Q,...N,...w,...E,...F,...j]:re==0?o.value=[...G,...p,...b,..._,...y,...Q,...N,...w,...E,...j]:o.value=[...G,...p,...b,..._,...y,...Q,...N,...w,...E,...F,...j]:ie==0?Y==0?Z==0?re==0?o.value=W:o.value=[...G,...p,...B,...Q,...I,...w,...E,...F,...x,...j]:re==0?o.value=W:o.value=[...G,...p,...B,...Q,...I,...w,...E,...F,...j]:Y==1?Z==0?re==0?o.value=[...G,...p,...B,...Q,...I,...w,...h,...E,...j]:o.value=[...G,...p,...B,...Q,...I,...w,...h,...E,...F,...x,...j]:re==0?o.value=[...G,...p,...B,...Q,...I,...w,...h,...E,...j]:o.value=[...G,...p,...B,...Q,...I,...w,...h,...E,...F,...j]:Y==2?re==0?o.value=W:o.value=[...G,...p,...B,...Q,...I,...w,...E,...F,...j]:re==0?o.value=W:o.value=[...G,...p,...B,...Q,...I,...w,...E,...F,...j]:Y==0?Z==0?re==0?o.value=Ae:o.value=[...G,...p,..._,...B,...Q,...I,...w,...E,...F,...x,...j]:re==0?o.value=Ae:o.value=[...G,...p,..._,...B,...Q,...I,...w,...E,...F,...j]:Y==1?Z==0?re==0?o.value=[...G,...p,..._,...B,...Q,...I,...w,...h,...E,...j]:o.value=[...G,...p,..._,...B,...Q,...I,...w,...h,...E,...F,...x,...j]:re==0?o.value=[...G,...p,..._,...B,...Q,...I,...w,...h,...E,...j]:o.value=[...G,...p,..._,...B,...Q,...I,...w,...h,...E,...F,...j]:Y==2?re==0?o.value=Ae:o.value=[...G,...p,..._,...B,...Q,...I,...w,...E,...F,...j]:re==0?o.value=Ae:o.value=[...G,...p,..._,...B,...Q,...I,...w,...E,...F,...j]}function R(G){}return(G,z)=>(s(),u("div",e8,[(s(!0),u(q,null,ae(o.value,(ie,Y)=>(s(),u("div",{key:Y},[(s(),ce(Oe(ie.components),{configObj:e.value,ref_for:!0,ref:"childData",onGetConfig:R,key:Y,configNme:ie.configNme},null,40,["configObj","configNme"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),o8=Object.freeze(Object.defineProperty({__proto__:null,default:t8},Symbol.toStringTag,{value:"Module"})),A8={class:"mobile-config"},n8=Object.assign({name:"c_product_desc",componentsName:"home_product_desc"},{__name:"c_product_desc",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_set_up,configNme:"setUp"}]),i=[{components:C.c_title,configNme:"contentTitle"},{components:C.c_radio,configNme:"isShow"}],m=[{components:C.c_title,configNme:"titleStyle"},{components:C.c_align,configNme:"textPosition"},{components:C.c_bg_color,configNme:"textColor"},{components:C.c_slider,configNme:"fontSize"},{components:C.c_common_style,configNme:"currencyStyle"}];M(()=>n.num,d=>{let r=JSON.parse(JSON.stringify(A.defaultArray[d]));e.value=r}),M(e,(d,r)=>{A.UPDATEARR({num:n.num,val:d})},{deep:!0}),M(()=>{var d,r;return(r=(d=e.value)==null?void 0:d.setUp)==null?void 0:r.tabVal},(d,r)=>{var c=[o.value[0]];d==0?o.value=c.concat(i):o.value=c.concat(m)},{deep:!0}),Ce(()=>{ve(()=>{let d=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=d})});function a(d){}return(d,r)=>(s(),u("div",A8,[(s(!0),u(q,null,ae(o.value,(c,f)=>(s(),u("div",{key:f},[(s(),ce(Oe(c.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:c.configNme,key:f,onGetConfig:a,index:t.activeIndex,num:c.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),l8=Object.freeze(Object.defineProperty({__proto__:null,default:n8},Symbol.toStringTag,{value:"Module"})),i8={class:"mobile-config"},a8=Object.assign({name:"c_product_info",componentsName:"home_product_info"},{__name:"c_product_info",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o={cname:"商品信息",desc:"商品信息组件",name:"productInfo",timestamp:n.num,setUp:{tabVal:0},indicatorConfig:{title:"指示器设置",tabVal:1,tabList:[{name:"线段样式"},{name:"点线样式"},{name:"数字样式"}],positionVal:1,positionList:[{name:"左对齐"},{name:"居中对齐"},{name:"右对齐"}],selectColor:{title:"选中样式",name:"selectColor",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},defaultColor:{title:"默认样式",name:"defaultColor",default:[{item:"#CCCCCC"}],color:[{item:"#CCCCCC"}]}},titleConfig:{title:"标题设置",tabVal:0,tabList:[{name:"跟随主题风格",val:0},{name:"自定义",val:1}],color:{title:"标题颜色",default:[{item:"#333333"}],color:[{item:"#333333"}]},fontSize:{title:"字体大小",val:16,min:12}},specStyle:{title:"规格样式",tabVal:0,tabList:[{name:"样式一"},{name:"样式二"},{name:"样式三"},{name:"样式四"}]},specSettings:{title:"规格设置",colorTone:{title:"色调",tabVal:0,tabList:[{name:"跟随主题风格",val:0},{name:"自定义",val:1}]},textColor:{title:"按钮颜色",name:"textColor",default:[{item:"#666"}],color:[{item:"#666"}]},selectedBorderColor:{title:"选中边框",name:"selectedBorderColor",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},selectedTextColor:{title:"选中文字",name:"selectedTextColor",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},selectedBgColor:{title:"选中背景",name:"selectedBgColor",default:[{item:"#FDEBEB"}],color:[{item:"#FDEBEB"}]},unselectedTextColor:{title:"未选中文字",name:"unselectedTextColor",default:[{item:"#333333"}],color:[{item:"#333333"}]}},sortList:{title:"信息设置",tips:"鼠标拖拽板块可调整信息展示顺序",list:[{name:"price",cname:"商品价格",type:"radio",show:!0,checkList:[0,1,2],checkBoxList:[{name:"到手价",value:0},{name:"售价",value:1},{name:"会员价",value:2}]},{name:"name",cname:"商品名称",type:"radio",show:!0},{name:"data",cname:"商品数据",type:"radio",show:!0,checkList:[0,1,2],checkBoxList:[{name:"原价",value:0},{name:"库存",value:1},{name:"销量",value:2}]},{name:"tags",cname:"商品标签",type:"radio",show:!0}]},priceSettings:{title:"价格设置",colorTone:{title:"色调",tabVal:0,tabList:[{name:"跟随主题风格",val:0},{name:"自定义",val:1}]},finalPriceColor:{title:"到手价颜色",name:"finalPriceColor",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},sellingPriceColor:{title:"售价颜色",name:"sellingPriceColor",default:[{item:"#333333"}],color:[{item:"#333333"}]},priceFontSize:{title:"价格字号",val:24,min:12,max:50}},dataSettings:{title:"数据设置",originalPriceColor:{title:"原价颜色",name:"originalPriceColor",default:[{item:"#999999"}],color:[{item:"#999999"}]},stockColor:{title:"库存颜色",name:"stockColor",default:[{item:"#999999"}],color:[{item:"#999999"}]},salesColor:{title:"销量颜色",name:"salesColor",default:[{item:"#999999"}],color:[{item:"#999999"}]}}},i=v([{components:C.c_card_select,configNme:"specStyle"},{components:C.c_set_up,configNme:"setUp"}]);M(()=>n.num,c=>{let f=JSON.parse(JSON.stringify(A.defaultArray[c]));m(f)}),M(e,(c,f)=>{A.UPDATEARR({num:n.num,val:c})},{deep:!0}),M(()=>{var c,f;return(f=(c=e.value)==null?void 0:c.setUp)==null?void 0:f.tabVal},c=>{d(c)}),Ce(()=>{ve(()=>{let c=JSON.parse(JSON.stringify(A.defaultArray[n.num]));m(c),d(c.setUp.tabVal)})});function m(c){if(c){a(c);for(let f in o)c[f]===void 0&&(c[f]=o[f]);e.value=c}}function a(c){c.componentBgConfig||(c.componentBgConfig={title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}}),c.paddingConfig||(c.paddingConfig={title:"内边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]}),c.marginConfig||(c.marginConfig={title:"外边距",isAll:!1,val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]}),c.zIndexConfig||(c.zIndexConfig={title:"组件上浮",val:0,min:0}),c.borderConfig||(c.borderConfig={title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}}),c.shadowConfig||(c.shadowConfig={title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}}),c.specSettings&&(c.specSettings.selectedBorderColor||(c.specSettings.selectedBorderColor={title:"选中边框",name:"selectedBorderColor",default:[{item:"#E93323"}],color:[{item:"#E93323"}]}),c.specSettings.selectedTextColor||(c.specSettings.selectedTextColor={title:"选中文字",name:"selectedTextColor",default:[{item:"#E93323"}],color:[{item:"#E93323"}]}),c.specSettings.selectedBgColor||(c.specSettings.selectedBgColor={title:"选中背景",name:"selectedBgColor",default:[{item:"#FDEBEB"}],color:[{item:"#FDEBEB"}]}),c.specSettings.unselectedTextColor||(c.specSettings.unselectedTextColor={title:"未选中文字",name:"unselectedTextColor",default:[{item:"#333333"}],color:[{item:"#333333"}]}))}function d(c){i.value=[{components:C.c_card_select,configNme:"specStyle"},{components:C.c_set_up,configNme:"setUp"}],c==0?i.value.push({components:C.c_product_info_list,configNme:"sortList"}):(i.value.push({components:C.c_indicator_settings,configNme:"indicatorConfig"}),i.value.push({components:C.c_title_settings,configNme:"titleConfig"}),i.value.push({components:C.c_spec_settings,configNme:"specSettings"}),i.value.push({components:C.c_price_settings,configNme:"priceSettings"}),i.value.push({components:C.c_data_settings,configNme:"dataSettings"}),i.value.push({components:C.c_common_style,configNme:"c_common_style"}))}function r(c){}return(c,f)=>(s(),u("div",i8,[(s(!0),u(q,null,ae(i.value,(g,p)=>(s(),u("div",{key:p},[(s(),ce(Oe(g.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:g.configNme,key:p,onGetConfig:r,index:t.activeIndex,num:g.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),s8=Object.freeze(Object.defineProperty({__proto__:null,default:a8},Symbol.toStringTag,{value:"Module"})),c8={class:"mobile-config"},r8=Object.assign({name:"c_product_service",cname:"商品服务",componentsName:"home_product_service"},{__name:"c_product_service",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({});let o=0;const i=v([{components:C.c_set_up,configNme:"setUp"}]);M(()=>n.num,(r,c)=>{let f=A.defaultArray[r];m(f)},{deep:!0}),M(()=>{var r,c;return(c=(r=e.value)==null?void 0:r.setUp)==null?void 0:c.tabVal},(r,c)=>{o=r,d()},{deep:!0}),M(()=>{var r,c;return(c=(r=e.value)==null?void 0:r.toneConfig)==null?void 0:c.tabVal},(r,c)=>{d()},{deep:!0}),Ce(()=>{ve(()=>{let r=A.defaultArray[n.num];m(r)})});function m(r){r&&(r=a(r),e.value=r,o=r.setUp.tabVal,d())}function a(r){return r&&(r.paddingConfig||(r.paddingConfig={title:"内边距",val:10,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]}),r.marginConfig||(r.marginConfig={title:"外边距",isAll:!1,val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},r.mbConfig&&(r.marginConfig.valList[0].val=r.mbConfig.val)),r)}function d(){const r=[{components:C.c_set_up,configNme:"setUp"}];if(o==0)i.value=r.concat([{components:C.c_title,configNme:"openService"},{components:C.c_checkbox,configNme:"checkBoxConfig"}]);else{let c=[{components:C.c_title,configNme:"serviceStyleTitle"},{components:C.c_bg_color,configNme:"titleColor"},{components:C.c_bg_color,configNme:"contentColor"},{components:C.c_radio,configNme:"toneConfig"}];e.value.toneConfig&&e.value.toneConfig.tabVal==1&&(c=c.concat([{components:C.c_bg_color,configNme:"activityColor"},{components:C.c_bg_color,configNme:"activityBgColor"}])),c=c.concat([{components:C.c_title,configNme:"generalStyleTitle"},{components:C.c_bg_color,configNme:"componentBgColor"},{components:C.c_common_style,configNme:"c_common_style"}]),i.value=r.concat(c)}}return(r,c)=>(s(),u("div",c8,[(s(!0),u(q,null,ae(i.value,(f,g)=>(s(),u("div",{key:g},[(s(),ce(Oe(f.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:f.configNme,key:g,index:t.activeIndex,num:f.num},null,8,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),u8=fe(r8,[["__scopeId","data-v-abb9b661"]]),d8=Object.freeze(Object.defineProperty({__proto__:null,default:u8},Symbol.toStringTag,{value:"Module"})),m8={class:"mobile-config"},g8=Object.assign({name:"c_ranking",cname:"排行榜",componentsName:"home_ranking"},{__name:"c_ranking",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_set_up,configNme:"setUp"}]),i=[{components:C.c_title,configNme:"titleLeft"},{components:C.c_radio,configNme:"titleConfig"}],m=[{components:C.c_upload_img,configNme:"imgConfig"}],a=[{components:C.c_input_item,configNme:"titleTxtConfig"}],d=[{components:C.c_input_item,configNme:"rightBntConfig"},{components:C.c_title,configNme:"titleGoods"},{components:C.c_button_style,configNme:"styleConfig"}],r=[{components:C.c_title,configNme:"titleRight"}],c=[{components:C.c_radio,configNme:"titleText"},{components:C.c_bg_color,configNme:"titleColor"},{components:C.c_slider,configNme:"titleNumber"}],f=[{components:C.c_bg_color,configNme:"headerBntColor"},{components:C.c_slider,configNme:"bntNumber"}],g=[{components:C.c_title,configNme:"titleRanking"},{components:C.c_radio,configNme:"toneConfig"}],p=[{components:C.c_bg_color,configNme:"classColor"},{components:C.c_bg_color,configNme:"goodsPriceColor"}],b=[{components:C.c_title,configNme:"titleCurrency"},{components:C.c_common_style,configNme:"c_common_style"}];let _=0,B=0,y=0;M(()=>n.num,h=>{let E=JSON.parse(JSON.stringify(A.defaultArray[h]));e.value=Q(E)}),M(e,(h,E)=>{A.UPDATEARR({num:n.num,val:h})},{deep:!0}),M(()=>{var h,E;return(E=(h=e.value)==null?void 0:h.setUp)==null?void 0:E.tabVal},(h,E)=>{_=h;var F=[o.value[0]];h==0?I(F,B):N(F,B,y)},{deep:!0}),M(()=>{var h,E;return(E=(h=e.value)==null?void 0:h.titleConfig)==null?void 0:E.tabVal},(h,E)=>{B=h;var F=[o.value[0]];_==0?I(F,h):N(F,h,y)},{deep:!0}),M(()=>{var h,E;return(E=(h=e.value)==null?void 0:h.toneConfig)==null?void 0:E.tabVal},(h,E)=>{y=h;var F=[o.value[0]];_&&N(F,B,h)},{deep:!0}),Ce(()=>{ve(()=>{let h=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=Q(h)})});function Q(h){return h.paddingConfig||(h.paddingConfig={title:"内边距",val:0,min:0,max:100,valList:[{val:h.topConfig?h.topConfig.val:0},{val:h.prConfig?h.prConfig.val:0},{val:h.bottomConfig?h.bottomConfig.val:0},{val:h.prConfig?h.prConfig.val:0}]}),h.marginConfig||(h.marginConfig={title:"外边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:h.mbConfig?h.mbConfig.val:0},{val:0}]}),h.c_common_style||(h.c_common_style={color:"rgba(255,255,255,1)",color2:"rgba(255,255,255,1)",lr:0,type:0}),h}function I(h,E){E==0?o.value=[...h,...i,...m,...d]:o.value=[...h,...i,...a,...d]}function N(h,E,F){E==0?F==0?o.value=[...h,...r,...f,...g,...b]:o.value=[...h,...r,...f,...g,...p,...b]:F==0?o.value=[...h,...r,...c,...f,...g,...b]:o.value=[...h,...r,...c,...f,...g,...p,...b]}function w(h){}return(h,E)=>(s(),u("div",m8,[(s(!0),u(q,null,ae(o.value,(F,x)=>(s(),u("div",{key:x},[(s(),ce(Oe(F.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:F.configNme,key:x,onGetConfig:w,index:t.activeIndex,num:F.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),f8=Object.freeze(Object.defineProperty({__proto__:null,default:g8},Symbol.toStringTag,{value:"Module"})),v8={class:"mobile-config"},p8=Object.assign({name:"c_reviews",cname:"商品评价",componentsName:"home_reviews"},{__name:"c_reviews",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({});let o=0;const i=v([{components:C.c_card_select,configNme:"layoutConfig"},{components:C.c_set_up,configNme:"setUp"}]);M(()=>n.num,(r,c)=>{let f=A.defaultArray[r];m(f)},{deep:!0}),M(()=>{var r,c;return(c=(r=e.value)==null?void 0:r.setUp)==null?void 0:c.tabVal},(r,c)=>{o=r,a()},{deep:!0}),M(()=>{var r,c;return(c=(r=e.value)==null?void 0:r.toneConfig)==null?void 0:c.tabVal},(r,c)=>{a()},{deep:!0}),Ce(()=>{ve(()=>{let r=A.defaultArray[n.num];m(r)})});function m(r){r&&(r=d(r),e.value=r,o=r.setUp.tabVal,a())}function a(){const r=[{components:C.c_card_select,configNme:"layoutConfig"},{components:C.c_set_up,configNme:"setUp"}];if(o==0)i.value=r.concat([{components:C.c_title,configNme:"headTitle"},{components:C.c_checkbox,configNme:"checkBoxConfig"},{components:C.c_title,configNme:"listTitle"},{components:C.c_slider,configNme:"numConfig"}]);else{let c=[{components:C.c_title,configNme:"reviewStyleTitle"},{components:C.c_bg_color,configNme:"titleColor"},{components:C.c_bg_color,configNme:"countColor"},{components:C.c_radio,configNme:"toneConfig"}];e.value.toneConfig&&e.value.toneConfig.tabVal==1&&(c=c.concat([{components:C.c_bg_color,configNme:"rateColor"},{components:C.c_bg_color,configNme:"starColor"}])),c=c.concat([{components:C.c_title,configNme:"generalStyleTitle"},{components:C.c_common_style,configNme:"c_common_style"}]),i.value=r.concat(c)}}function d(r){return r&&(r.componentBgConfig||(r.componentBgConfig={title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}}),r.paddingConfig||(r.paddingConfig={title:"内边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:0},{val:0},{val:0}]},r.topConfig&&(r.paddingConfig.valList[0].val=r.topConfig.val),r.prConfig&&(r.paddingConfig.valList[1].val=r.prConfig.val,r.paddingConfig.valList[3].val=r.prConfig.val),r.bottomConfig&&(r.paddingConfig.valList[2].val=r.bottomConfig.val)),r.marginConfig||(r.marginConfig={title:"外边距",isAll:!1,val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},r.mbConfig&&(r.marginConfig.valList[0].val=r.mbConfig.val)),r.zIndexConfig||(r.zIndexConfig={title:"组件上浮",val:0,min:0}),r.borderConfig||(r.borderConfig={title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}}),r.shadowConfig||(r.shadowConfig={title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50},yConfig:{title:"Y轴偏移",val:0,min:-50},blurConfig:{title:"模糊半径",val:10,min:0},spreadConfig:{title:"扩展半径",val:0,min:-50}}),r)}return(r,c)=>(s(),u("div",v8,[(s(!0),u(q,null,ae(i.value,(f,g)=>(s(),u("div",{key:g},[(s(),ce(Oe(f.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:f.configNme,key:g,index:t.activeIndex,num:f.num},null,8,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),C8=fe(p8,[["__scopeId","data-v-ba8a9322"]]),_8=Object.freeze(Object.defineProperty({__proto__:null,default:C8},Symbol.toStringTag,{value:"Module"})),b8={class:"mobile-config"},B8=Object.assign({name:"c_search_box",cname:"搜索框",componentsName:"search_box"},{__name:"c_search_box",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_set_up,configNme:"setUp"}]),i=[{components:C.c_title,configNme:"titleLeft"},{components:C.c_radio,configNme:"styleConfig"}],m=[{components:C.c_radio,configNme:"styleTypeConfig"}],a=[{components:C.c_radio,configNme:"fixConfig"}],d=[{components:C.c_upload_img,configNme:"logoConfig"}],r=[{components:C.c_input_item,configNme:"titleConfig"},{components:C.c_input_item,configNme:"linkConfig"}],c=[{components:C.c_title,configNme:"titleSearch"},{components:C.c_input_item,configNme:"tipConfig"},{components:C.c_title,configNme:"titleHotWords"},{components:C.c_hot_word,configNme:"hotWords"},{components:C.c_input_number,configNme:"numConfig"}],f=[{components:C.c_title,configNme:"titleRight"},{components:C.c_bg_color,configNme:"tipColor"},{components:C.c_bg_color,configNme:"hotWordsColor"}],g=[{components:C.c_title,configNme:"titleTxt"},{components:C.c_radio,configNme:"txtFixConfig"}],p=[{components:C.c_radio,configNme:"txtStyleConfig"},{components:C.c_bg_color,configNme:"txtColor"},{components:C.c_slider,configNme:"txtSize"}],b=[{components:C.c_common_style,configNme:"c_common_style"}];let _=0,B=0,y=0;M(()=>n.num,w=>{let h=JSON.parse(JSON.stringify(A.defaultArray[w]));e.value=h}),M(e,(w,h)=>{A.UPDATEARR({num:n.num,val:w})},{deep:!0}),M(()=>{var w,h;return(h=(w=e.value)==null?void 0:w.setUp)==null?void 0:h.tabVal},(w,h)=>{_=w;var E=[o.value[0]];w==0?I(E):N(E)},{deep:!0}),M(()=>{var w,h;return(h=(w=e.value)==null?void 0:w.styleConfig)==null?void 0:h.tabVal},(w,h)=>{B=w;var E=[o.value[0]];_==0?I(E):N(E)},{deep:!0}),M(()=>{var w,h;return(h=(w=e.value)==null?void 0:w.styleTypeConfig)==null?void 0:h.tabVal},(w,h)=>{y=w;var E=[o.value[0]];_==0?I(E):N(E)},{deep:!0}),Ce(()=>{ve(()=>{let w=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=Q(w)})});function Q(w){return w.paddingConfig||(w.paddingConfig={title:"内边距",val:0,min:0,max:100,isAll:!1,valList:[{val:w.topConfig?w.topConfig.val:0},{val:w.prConfig?w.prConfig.val:0},{val:w.bottomConfig?w.bottomConfig.val:0},{val:w.prConfig?w.prConfig.val:0}]}),w.marginConfig||(w.marginConfig={title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:w.mbConfig?w.mbConfig.val:0},{val:0},{val:0},{val:0}]}),w.componentBgConfig||(w.componentBgConfig={title:"背景设置",tabVal:0,tabList:[{name:"颜色"},{name:"图片"}],colorConfig:{title:"背景颜色",default:[{item:"#fff"},{item:"#fff"}],color:[{item:"#fff"},{item:"#fff"}]},colorDirection:{title:"渐变方向",tabVal:0,tabList:[{name:"横向"},{name:"纵向"},{name:"左斜"},{name:"右斜"}]},imageConfig:{header:"背景图片",title:"",name:"上传图片",type:"code",url:"",info:"建议尺寸:750px * 400px"}}),w.borderConfig||(w.borderConfig={title:"边框设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,styleConfig:{title:"边框样式",tabVal:0,tabList:[{name:"实线",style:"solid"},{name:"虚线",style:"dashed"},{name:"点状",style:"dotted"}]},widthConfig:{title:"边框粗细",val:1,min:1,max:20},colorConfig:{title:"边框颜色",default:[{item:"#e5e5e5"}],color:[{item:"#e5e5e5"}]}}),w.shadowConfig||(w.shadowConfig={title:"阴影设置",tabVal:0,tabList:[{name:"隐藏"},{name:"显示"}],val:0,colorConfig:{title:"阴影颜色",default:[{item:"rgba(0,0,0,0.1)"}],color:[{item:"rgba(0,0,0,0.1)"}]},xConfig:{title:"X轴偏移",val:0,min:-50,max:50},yConfig:{title:"Y轴偏移",val:0,min:-50,max:50},blurConfig:{title:"模糊半径",val:10,min:0,max:50},spreadConfig:{title:"扩展半径",val:0,min:-50,max:50}}),w.c_common_style||(w.c_common_style={color:"rgba(255,255,255,1)",color2:"rgba(255,255,255,1)",lr:0,type:0}),w}function I(w){B==1?o.value=[...w,...i,...r,...a]:B==2||(y==0?o.value=[...w,...i,...m,...r,...c]:y==1?o.value=[...w,...i,...m,...d,...c]:o.value=[...w,...i,...m,...a,...c])}function N(w){B==0?y==2?o.value=[...w,...f,...g,...b]:o.value=[...w,...f,...g,...p,...b]:o.value=[...w,...g,...p,...b]}return(w,h)=>(s(),u("div",b8,[l("form",null,[(s(!0),u(q,null,ae(o.value,(E,F)=>(s(),u("div",{key:F},[(s(),ce(Oe(E.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:E.configNme,key:F,index:t.activeIndex,num:E.num},null,8,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])])]))}}),h8=fe(B8,[["__scopeId","data-v-c31949ea"]]),y8=Object.freeze(Object.defineProperty({__proto__:null,default:h8},Symbol.toStringTag,{value:"Module"})),w8={class:"mobile-config"},Q8=Object.assign({name:"c_short_video",componentsName:"home_short_video"},{__name:"c_short_video",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_set_up,configNme:"setUp"}]),i=[{components:C.c_title,configNme:"titleLeft"},{components:C.c_radio,configNme:"styleConfig"},{components:C.c_title,configNme:"titleHead"},{components:C.c_radio,configNme:"titleConfig"}],m=[{components:C.c_upload_img,configNme:"imgConfig"}],a=[{components:C.c_input_item,configNme:"titleTxtConfig"}],d=[{components:C.c_input_item,configNme:"rightBntConfig"},{components:C.c_title,configNme:"titleContent"},{components:C.c_slider,configNme:"numberConfig"}],r=[{components:C.c_title,configNme:"titleRight"}],c=[{components:C.c_radio,configNme:"titleText"},{components:C.c_bg_color,configNme:"titleColor"},{components:C.c_slider,configNme:"titleNumber"}],f=[{components:C.c_bg_color,configNme:"headerBntColor"},{components:C.c_slider,configNme:"bntNumber"},{components:C.c_title,configNme:"titleVideoStyle"}],g=[{components:C.c_slider,configNme:"videoSpace"}],p=[{components:C.c_slider,configNme:"videoSpace2"}],b=[{components:C.c_title,configNme:"titleCurrency"},{components:C.c_common_style,configNme:"c_common_style"}];let _=0,B=0,y=0;M(()=>n.num,h=>{e.value=A.defaultArray[h]}),M(e,(h,E)=>{A.UPDATEARR({num:n.num,val:h})},{deep:!0}),M(()=>{var h,E;return(E=(h=e.value)==null?void 0:h.setUp)==null?void 0:E.tabVal},(h,E)=>{_=h;var F=[o.value[0]];h==0?I(F,y):N(F,B,y)},{deep:!0}),M(()=>{var h,E;return(E=(h=e.value)==null?void 0:h.styleConfig)==null?void 0:E.tabVal},(h,E)=>{B=h;var F=[o.value[0]];_==0?I(F,y):N(F,h,y)}),M(()=>{var h,E;return(E=(h=e.value)==null?void 0:h.titleConfig)==null?void 0:E.tabVal},(h,E)=>{y=h;var F=[o.value[0]];_==0?I(F,h):N(F,B,h)}),Ce(()=>{ve(()=>{let h=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=Q(h)})});function Q(h){return h.paddingConfig||(h.paddingConfig={title:"内边距",val:0,min:0,max:100,valList:[{val:h.topConfig?h.topConfig.val:0},{val:h.prConfig?h.prConfig.val:0},{val:h.bottomConfig?h.bottomConfig.val:0},{val:h.prConfig?h.prConfig.val:0}]}),h.marginConfig||(h.marginConfig={title:"外边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:h.mbConfig?h.mbConfig.val:0},{val:0}]}),h.c_common_style||(h.c_common_style={color:"rgba(255,255,255,1)",color2:"rgba(255,255,255,1)",lr:0,type:0}),h}function I(h,E){E==0?o.value=[...h,...i,...m,...d]:o.value=[...h,...i,...a,...d]}function N(h,E,F){E==0?F==0?o.value=[...h,...r,...f,...g,...b]:o.value=[...h,...r,...c,...f,...g,...b]:F==0?o.value=[...h,...r,...f,...p,...b]:o.value=[...h,...r,...c,...f,...p,...b]}function w(h){h.name!="radio"}return(h,E)=>(s(),u("div",w8,[(s(!0),u(q,null,ae(o.value,(F,x)=>(s(),u("div",{key:x},[(s(),ce(Oe(F.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:F.configNme,key:x,onGetConfig:w,index:t.activeIndex,num:F.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),x8=Object.freeze(Object.defineProperty({__proto__:null,default:Q8},Symbol.toStringTag,{value:"Module"})),I8={class:"mobile-config"},U8=Object.assign({name:"c_sign_in",cname:"签到",componentsName:"sign_in"},{__name:"c_sign_in",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_card_select,configNme:"styleConfig"}]),i=[{components:C.c_title,configNme:"titleRight"},{components:C.c_radio,configNme:"toneConfig"}],m=[{components:C.c_bg_color,configNme:"bntBgColor"},{components:C.c_bg_color,configNme:"bntTxtColor"}],a=[{components:C.c_bg_color,configNme:"labelBgColor"},{components:C.c_bg_color,configNme:"labelTxtColor"}],d=[],r=[],c=[],f=[{components:C.c_common_style,configNme:"c_common_style"}];let g=0,p=0;M(()=>n.num,I=>{let N=JSON.parse(JSON.stringify(A.defaultArray[I]));e.value=B(N),_()}),M(e,(I,N)=>{A.UPDATEARR({num:n.num,val:I})},{deep:!0}),M(()=>{var I,N;return(N=(I=e.value)==null?void 0:I.styleConfig)==null?void 0:N.tabVal},(I,N)=>{p=I;var w=b();y(w,g,I)},{deep:!0}),M(()=>{var I,N;return(N=(I=e.value)==null?void 0:I.toneConfig)==null?void 0:N.tabVal},(I,N)=>{g=I;var w=b();y(w,I,p)},{deep:!0}),Ce(()=>{ve(()=>{let I=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=B(I),_()})});function b(){return[{components:C.c_card_select,configNme:"styleConfig"}]}function _(){!e.value.styleConfig||!e.value.toneConfig||(g=e.value.toneConfig.tabVal,p=e.value.styleConfig.tabVal,y(b(),g,p))}function B(I){return I.styleConfig.tabList||(I.styleConfig.tabList=[{name:"样式一"},{name:"样式二"}]),I.paddingConfig||(I.paddingConfig={title:"内边距",val:0,min:0,max:100,valList:[{val:I.topConfig?I.topConfig.val:0},{val:I.prConfig?I.prConfig.val:0},{val:I.bottomConfig?I.bottomConfig.val:0},{val:I.prConfig?I.prConfig.val:0}]}),I.marginConfig||(I.marginConfig={title:"外边距",val:0,min:0,max:100,valList:[{val:I.mbConfig?I.mbConfig.val:0},{val:0},{val:0},{val:0}]}),I.c_common_style||(I.c_common_style={color:"rgba(255,255,255,1)",color2:"rgba(255,255,255,1)",lr:0,type:0}),I}function y(I,N,w){w==0?N==0?o.value=[...I,...i,...d,...c,...f]:o.value=[...I,...i,...m,...d,...c,...f]:N==0?o.value=[...I,...i,...d,...r,...f]:o.value=[...I,...i,...m,...a,...d,...r,...f]}function Q(I){}return(I,N)=>(s(),u("div",I8,[(s(!0),u(q,null,ae(o.value,(w,h)=>(s(),u("div",{key:h},[(s(),ce(Oe(w.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:w.configNme,key:h,onGetConfig:Q,index:t.activeIndex,num:w.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),F8=Object.freeze(Object.defineProperty({__proto__:null,default:U8},Symbol.toStringTag,{value:"Module"})),E8={class:"mobile-config"},S8=Object.assign({name:"c_spec_preview",componentsName:"home_spec_preview"},{__name:"c_spec_preview",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_set_up,configNme:"setUp"}]),i=[{components:C.c_title,configNme:"contentTitle"},{components:C.c_radio,configNme:"isShow"},{components:C.c_radio,configNme:"calendarStyle"}],m=[{components:C.c_title,configNme:"titleStyle"},{components:C.c_align,configNme:"textPosition"},{components:C.c_bg_color,configNme:"textColor"},{components:C.c_slider,configNme:"fontSize"},{components:C.c_common_style,configNme:"currencyStyle"}];M(()=>n.num,r=>{let c=JSON.parse(JSON.stringify(A.defaultArray[r]));e.value=d(c)}),M(e,(r,c)=>{A.UPDATEARR({num:n.num,val:r})},{deep:!0}),M(()=>{var r,c;return(c=(r=e.value)==null?void 0:r.setUp)==null?void 0:c.tabVal},(r,c)=>{var f=[o.value[0]];r==0?o.value=f.concat(i):o.value=f.concat(m)},{deep:!0}),Ce(()=>{ve(()=>{let r=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=d(r)})});function a(r){}function d(r){return r&&(r.calendarStyle||(r.calendarStyle={title:"日历风格",tabVal:0,tabList:[{name:"全月历"},{name:"单行日历"}]}),r)}return(r,c)=>(s(),u("div",E8,[(s(!0),u(q,null,ae(o.value,(f,g)=>(s(),u("div",{key:g},[(s(),ce(Oe(f.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:f.configNme,key:g,onGetConfig:a,index:t.activeIndex,num:f.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),L8=Object.freeze(Object.defineProperty({__proto__:null,default:S8},Symbol.toStringTag,{value:"Module"})),N8={class:"mobile-config"},k8=Object.assign({name:"c_store_card",componentsName:"home_store_card"},{__name:"c_store_card",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_set_up,configNme:"setUp"}]),i=[{components:C.c_title,configNme:"contentTitle"},{components:C.c_radio,configNme:"isShow"}],m=[{components:C.c_title,configNme:"titleStyle"},{components:C.c_align,configNme:"textPosition"},{components:C.c_bg_color,configNme:"textColor"},{components:C.c_slider,configNme:"fontSize"},{components:C.c_common_style,configNme:"currencyStyle"}];M(()=>n.num,d=>{let r=JSON.parse(JSON.stringify(A.defaultArray[d]));e.value=r}),M(e,(d,r)=>{A.UPDATEARR({num:n.num,val:d})},{deep:!0}),M(()=>{var d,r;return(r=(d=e.value)==null?void 0:d.setUp)==null?void 0:r.tabVal},(d,r)=>{var c=[o.value[0]];d==0?o.value=c.concat(i):o.value=c.concat(m)},{deep:!0}),Ce(()=>{ve(()=>{let d=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=d})});function a(d){}return(d,r)=>(s(),u("div",N8,[(s(!0),u(q,null,ae(o.value,(c,f)=>(s(),u("div",{key:f},[(s(),ce(Oe(c.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:c.configNme,key:f,onGetConfig:a,index:t.activeIndex,num:c.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),V8=Object.freeze(Object.defineProperty({__proto__:null,default:k8},Symbol.toStringTag,{value:"Module"})),O8={class:"mobile-config"},D8=Object.assign({name:"c_time_card",componentsName:"home_time_card"},{__name:"c_time_card",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_set_up,configNme:"setUp"}]),i=[{components:C.c_title,configNme:"contentTitle"},{components:C.c_radio,configNme:"isShow"}],m=[{components:C.c_title,configNme:"titleStyle"},{components:C.c_align,configNme:"textPosition"},{components:C.c_bg_color,configNme:"textColor"},{components:C.c_slider,configNme:"fontSize"},{components:C.c_common_style,configNme:"currencyStyle"}];M(()=>n.num,d=>{let r=JSON.parse(JSON.stringify(A.defaultArray[d]));e.value=r}),M(e,(d,r)=>{A.UPDATEARR({num:n.num,val:d})},{deep:!0}),M(()=>{var d,r;return(r=(d=e.value)==null?void 0:d.setUp)==null?void 0:r.tabVal},(d,r)=>{var c=[o.value[0]];d==0?o.value=c.concat(i):o.value=c.concat(m)},{deep:!0}),Ce(()=>{ve(()=>{let d=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=d})});function a(d){}return(d,r)=>(s(),u("div",O8,[(s(!0),u(q,null,ae(o.value,(c,f)=>(s(),u("div",{key:f},[(s(),ce(Oe(c.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:c.configNme,key:f,onGetConfig:a,index:t.activeIndex,num:c.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),H8=Object.freeze(Object.defineProperty({__proto__:null,default:D8},Symbol.toStringTag,{value:"Module"})),T8={class:"mobile-config"},j8=Object.assign({name:"c_ueditor_box",componentsName:"z_ueditor"},{__name:"c_ueditor_box",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_set_up,configNme:"setUp"}]);M(()=>n.num,a=>{let d=JSON.parse(JSON.stringify(A.defaultArray[a]));e.value=i(d)}),M(e,(a,d)=>{A.UPDATEARR({num:n.num,val:a})},{deep:!0}),M(()=>{var a,d;return(d=(a=e.value)==null?void 0:a.setUp)==null?void 0:d.tabVal},(a,d)=>{var r=[o.value[0]];if(a==0){let c=[{components:C.c_title,configNme:"titleLeft"},{components:C.c_page_ueditor,configNme:"richText"}];o.value=r.concat(c)}else{let c=[{components:C.c_title,configNme:"titleRight"},{components:C.c_common_style,configNme:"c_common_style"}];o.value=r.concat(c)}},{deep:!0}),Ce(()=>{ve(()=>{let a=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=i(a)})});function i(a){return a.paddingConfig||(a.paddingConfig={title:"内边距",val:0,min:0,max:100,isAll:!1,valList:[{val:a.topConfig?a.topConfig.val:0},{val:a.lrConfig?a.lrConfig.val:0},{val:a.bottomConfig?a.bottomConfig.val:0},{val:a.lrConfig?a.lrConfig.val:0}]}),a.marginConfig||(a.marginConfig={title:"外边距",isAll:!1,val:0,min:0,max:100,valList:[{val:a.udConfig?a.udConfig.val:0},{val:0},{val:0},{val:0}]}),a.c_common_style||(a.c_common_style={color:"rgba(255,255,255,1)",color2:"rgba(255,255,255,1)",lr:0,type:0}),a}function m(a){}return(a,d)=>(s(),u("div",T8,[(s(!0),u(q,null,ae(o.value,(r,c)=>(s(),u("div",{key:c},[(s(),ce(Oe(r.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:r.configNme,key:c,onGetConfig:m,index:t.activeIndex,num:r.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),R8=Object.freeze(Object.defineProperty({__proto__:null,default:j8},Symbol.toStringTag,{value:"Module"})),M8={class:"mobile-config"},K8=Object.assign({name:"c_userInfor",componentsName:"home_userInfor"},{__name:"c_userInfor",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_set_up,configNme:"setUp"}]),i=[{components:C.c_title,configNme:"titleRight"},{components:C.c_radio,configNme:"toneConfig"}],m=[{components:C.c_bg_color,configNme:"progressColor"},{components:C.c_bg_color,configNme:"progressBgColor"}],a=[{components:C.c_title,configNme:"titleCurrency"},{components:C.c_common_style,configNme:"c_common_style"}];let d=0,r=0;M(()=>n.num,g=>{let p=JSON.parse(JSON.stringify(A.defaultArray[g]));e.value=c(p)}),M(e,(g,p)=>{A.UPDATEARR({num:n.num,val:g})},{deep:!0}),M(()=>{var g,p;return(p=(g=e.value)==null?void 0:g.setUp)==null?void 0:p.tabVal},(g,p)=>{d=g;var b=[o.value[0]];if(g==0){let _=[{components:C.c_title,configNme:"titleLeft"},{components:C.c_radio,configNme:"styleConfig"},{components:C.c_checkbox,configNme:"checkboxInfo"},{components:C.c_title,configNme:"titleImg"},{components:C.c_upload_img,configNme:"logoConfig"}];o.value=b.concat(_)}else r==0?o.value=[...b,...i,...a]:o.value=[...b,...i,...m,...a]},{deep:!0}),M(()=>{var g,p;return(p=(g=e.value)==null?void 0:g.toneConfig)==null?void 0:p.tabVal},(g,p)=>{r=g;var b=[o.value[0]];d&&(g==0?o.value=[...b,...i,...a]:o.value=[...b,...i,...m,...a])},{deep:!0}),Ce(()=>{ve(()=>{let g=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=g,e.value=c(e.value)})});function c(g){return g&&(g.paddingConfig||(g.paddingConfig={title:"内边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},g.topConfig&&(g.paddingConfig.valList[0].val=g.topConfig.val),g.prConfig&&(g.paddingConfig.valList[1].val=g.prConfig.val,g.paddingConfig.valList[3].val=g.prConfig.val),g.bottomConfig&&(g.paddingConfig.valList[2].val=g.bottomConfig.val)),g.marginConfig||(g.marginConfig={title:"外边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},g.mbConfig&&(g.marginConfig.valList[0].val=g.mbConfig.val)),g.c_common_style||(g.c_common_style={color:"rgba(255,255,255,1)",color2:"rgba(255,255,255,1)",lr:0,type:0}),g)}function f(g){}return(g,p)=>(s(),u("div",M8,[(s(!0),u(q,null,ae(o.value,(b,_)=>(s(),u("div",{key:_},[(s(),ce(Oe(b.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:b.configNme,key:_,onGetConfig:f,index:t.activeIndex,num:b.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),P8=Object.freeze(Object.defineProperty({__proto__:null,default:K8},Symbol.toStringTag,{value:"Module"})),G8={class:"mobile-config"},z8=Object.assign({name:"c_video",componentsName:"home_video"},{__name:"c_video",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_set_up,configNme:"setUp"}]);M(()=>n.num,a=>{let d=JSON.parse(JSON.stringify(A.defaultArray[a]));e.value=i(d)}),M(e,(a,d)=>{A.UPDATEARR({num:n.num,val:a})},{deep:!0}),M(()=>{var a,d;return(d=(a=e.value)==null?void 0:a.setUp)==null?void 0:d.tabVal},(a,d)=>{var r=[o.value[0]];if(a==0){let c=[{components:C.c_title,configNme:"titleLeft"},{components:C.c_upload_img,configNme:"videoConfig"},{components:C.c_upload_img,configNme:"imgConfig"},{components:C.c_radio,configNme:"scaleConfig"}];o.value=r.concat(c)}else{let c=[{components:C.c_title,configNme:"titleRight"},{components:C.c_common_style,configNme:"c_common_style"}];o.value=r.concat(c)}},{deep:!0}),Ce(()=>{ve(()=>{let a=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=i(a)})});function i(a){return a.paddingConfig||(a.paddingConfig={title:"内边距",val:0,min:0,max:100,valList:[{val:a.topConfig?a.topConfig.val:0},{val:a.prConfig?a.prConfig.val:0},{val:a.bottomConfig?a.bottomConfig.val:0},{val:a.prConfig?a.prConfig.val:0}]}),a.marginConfig||(a.marginConfig={title:"外边距",val:0,min:0,max:100,valList:[{val:a.mbConfig?a.mbConfig.val:0},{val:0},{val:0},{val:0}]}),a.c_common_style||(a.c_common_style={color:"rgba(255,255,255,1)",color2:"rgba(255,255,255,1)",lr:0,type:0}),a}function m(a){}return(a,d)=>(s(),u("div",G8,[(s(!0),u(q,null,ae(o.value,(r,c)=>(s(),u("div",{key:c},[(s(),ce(Oe(r.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:r.configNme,key:c,onGetConfig:m,index:t.activeIndex,num:r.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),J8=Object.freeze(Object.defineProperty({__proto__:null,default:z8},Symbol.toStringTag,{value:"Module"})),Y8={class:"mobile-config"},X8=Object.assign({name:"c_wechat_attention",componentsName:"z_wechat_attention"},{__name:"c_wechat_attention",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_set_up,configNme:"setUp"}]);M(()=>n.num,a=>{let d=JSON.parse(JSON.stringify(A.defaultArray[a]));e.value=i(d)}),M(e,(a,d)=>{A.UPDATEARR({num:n.num,val:a})},{deep:!0}),M(()=>{var a,d;return(d=(a=e.value)==null?void 0:a.setUp)==null?void 0:d.tabVal},(a,d)=>{var r=[o.value[0]];if(a==0){let c=[{components:C.c_title,configNme:"titleLeft"},{components:C.c_input_item,configNme:"titleConfig"},{components:C.c_title,configNme:"positionTitle"},{components:C.c_radio,configNme:"positionConfig"},{components:C.c_title,configNme:"pictrueTitle"},{components:C.c_upload_img,configNme:"imgConfig"},{components:C.c_title,configNme:"codeTitle"},{components:C.c_upload_img,configNme:"codeConfig"}];o.value=r.concat(c)}else{let c=[{components:C.c_title,configNme:"titleRight"},{components:C.c_bg_color,configNme:"themeColor"},{components:C.c_common_style,configNme:"c_common_style"}];o.value=r.concat(c)}},{deep:!0}),Ce(()=>{ve(()=>{let a=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=i(a)})});function i(a){return a.paddingConfig||(a.paddingConfig={title:"内边距",val:0,min:0,max:100,isAll:!1,valList:[{val:0},{val:a.prConfig?a.prConfig.val:0},{val:0},{val:a.prConfig?a.prConfig.val:0}]}),a.marginConfig||(a.marginConfig={title:"外边距",val:0,min:0,max:100,isAll:!1,valList:[{val:a.mbConfig?a.mbConfig.val:0},{val:0},{val:0},{val:0}]}),a.c_common_style||(a.c_common_style={color:"rgba(255,255,255,1)",color2:"rgba(255,255,255,1)",lr:0,type:0}),a.themeColor||(a.themeColor={title:"按钮颜色",default:[{item:"#E93323"}],color:[{item:"#E93323"}]}),a}function m(a){}return(a,d)=>(s(),u("div",Y8,[(s(!0),u(q,null,ae(o.value,(r,c)=>(s(),u("div",{key:c},[(s(),ce(Oe(r.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:r.configNme,key:c,onGetConfig:m,index:t.activeIndex,num:r.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),W8=Object.freeze(Object.defineProperty({__proto__:null,default:X8},Symbol.toStringTag,{value:"Module"})),$8={class:"mobile-config"},Z8=Object.assign({name:"c_wechat_live",cname:"小程序直播",componentsName:"wechat_live"},{__name:"c_wechat_live",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},setup(t){const n=t,A=Be(),e=v({}),o=v([{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}]);M(()=>n.num,a=>{let d=JSON.parse(JSON.stringify(A.defaultArray[a]));e.value=i(d)}),M(e,(a,d)=>{A.UPDATEARR({num:n.num,val:a})},{deep:!0}),M(()=>{var a,d;return(d=(a=e.value)==null?void 0:a.setUp)==null?void 0:d.tabVal},(a,d)=>{var r=[{components:C.c_card_select,configNme:"styleConfig"},{components:C.c_set_up,configNme:"setUp"}];if(a==0){let c=[{components:C.c_title,configNme:"titleContent"},{components:C.c_slider,configNme:"numberConfig"},{components:C.c_checkbox,configNme:"checkboxInfo"}];o.value=r.concat(c)}else{let c=[{components:C.c_title,configNme:"titleRight"},{components:C.c_slider,configNme:"liveConfig"},{components:C.c_fillet,configNme:"filletImg"},{components:C.c_common_style,configNme:"c_common_style"}];o.value=r.concat(c)}},{deep:!0}),Ce(()=>{ve(()=>{let a=JSON.parse(JSON.stringify(A.defaultArray[n.num]));e.value=i(a)})});function i(a){return a.paddingConfig||(a.paddingConfig={title:"内边距",val:0,min:0,max:100,valList:[{val:a.topConfig?a.topConfig.val:0},{val:a.prConfig?a.prConfig.val:0},{val:a.bottomConfig?a.bottomConfig.val:0},{val:a.prConfig?a.prConfig.val:0}]}),a.marginConfig||(a.marginConfig={title:"外边距",val:0,min:0,max:100,valList:[{val:a.mbConfig?a.mbConfig.val:0},{val:0},{val:0},{val:0}]}),a.c_common_style||(a.c_common_style={color:"rgba(255,255,255,1)",color2:"rgba(255,255,255,1)",lr:0,type:0}),a}function m(a){}return(a,d)=>(s(),u("div",$8,[(s(!0),u(q,null,ae(o.value,(r,c)=>(s(),u("div",{key:c},[(s(),ce(Oe(r.components),{configObj:e.value,ref_for:!0,ref:"childData",configNme:r.configNme,key:c,onGetConfig:m,index:t.activeIndex,num:r.num},null,40,["configObj","configNme","index","num"]))]))),128)),L(je,{activeIndex:t.activeIndex,configObj:e.value},null,8,["activeIndex","configObj"])]))}}),q8=Object.freeze(Object.defineProperty({__proto__:null,default:Z8},Symbol.toStringTag,{value:"Module"})),eL={class:"mobile-config"},tL=Object.assign({name:"pageFoot",cname:"底部导航"},{__name:"pageFoot",setup(t){const n=Be(),A=v({}),e=v([{components:C.c_set_up,configNme:"setUp"}]),o=[{components:C.c_title,configNme:"titleRight"},{components:C.c_radio,configNme:"toneConfig"}],i=[{components:C.c_bg_color,configNme:"activeTxtColor"},{components:C.c_bg_color,configNme:"txtColor"}],m=[{components:C.c_title,configNme:"titleCurrency"},{components:C.c_bg_color,configNme:"bgColor"}],a=[{components:C.c_title,configNme:"titleCurrency"},{components:C.c_bg_color,configNme:"bgColor2"}],d=[{components:C.c_slider,configNme:"topConfig"},{components:C.c_slider,configNme:"bottomConfig"}],r=[{components:C.c_slider,configNme:"prConfig"},{components:C.c_slider,configNme:"mbConfig"},{components:C.c_fillet,configNme:"fillet"}],c=v(0),f=v(0),g=v(0),p=v(0);Ce(()=>{A.value=b(n.pageFooter)}),M(A,B=>{n.footPageUpdata(B)},{deep:!0}),M(()=>{var B;return(B=A.value.setUp)==null?void 0:B.tabVal},B=>{if(B===void 0)return;c.value=B;const y=[e.value[0]];if(B==0){let Q=[{components:C.c_title,configNme:"titleLeft"},{components:C.c_radio,configNme:"navConfig"},{components:C.c_radio,configNme:"navStyleConfig"},{components:C.c_title,configNme:"titleNav"},{components:C.c_foot,configNme:"menuList"}];e.value=y.concat(Q)}else _(y,f.value,g.value,p.value)}),M(()=>{var B;return(B=A.value.navConfig)==null?void 0:B.tabVal},B=>{if(B===void 0)return;f.value=B;const y=[e.value[0]];c.value&&_(y,B,g.value,p.value)}),M(()=>{var B;return(B=A.value.navStyleConfig)==null?void 0:B.tabVal},B=>{if(B===void 0)return;g.value=B;const y=[e.value[0]];c.value&&_(y,f.value,B,p.value)}),M(()=>{var B;return(B=A.value.toneConfig)==null?void 0:B.tabVal},B=>{if(B===void 0)return;p.value=B;const y=[e.value[0]];c.value&&_(y,f.value,g.value,B)});function b(B){return B.c_common_style||(B.c_common_style={color:"rgba(255,255,255,1)",color2:"rgba(255,255,255,1)",lr:0,type:0}),B}function _(B,y,Q,I){y==0?Q==2?e.value=[...B,...m,...d]:I==0?e.value=[...B,...o,...m,...d]:e.value=[...B,...o,...i,...m,...d]:Q==2?e.value=[...B,...a,...d,...r]:I==0?e.value=[...B,...o,...a,...d,...r]:e.value=[...B,...o,...i,...a,...d,...r]}return(B,y)=>(s(),u("div",eL,[(s(!0),u(q,null,ae(e.value,(Q,I)=>(s(),u("div",{key:I},[(s(),ce(Oe(Q.components),{ref_for:!0,ref:"childData",configObj:A.value,configNme:Q.configNme},null,8,["configObj","configNme"]))]))),128))]))}}),oL=fe(tL,[["__scopeId","data-v-dc3f15a6"]]),AL=Object.freeze(Object.defineProperty({__proto__:null,default:oL},Symbol.toStringTag,{value:"Module"})),nL={class:"box"},lL={class:"c_row-item"},iL={class:"c_row-item"},aL={class:"c_row-item acea-row row-top"},sL={class:"acea-row row-between row-top color"},cL={class:"acea-row row-between row-top color"},rL={key:0},uL=["src"],dL={key:1,class:"upload-box"},mL={key:2,class:"replace"},gL=Object.assign({name:"pageTitle"},{__name:"pageTitle",setup(t){const n=Be(),A=v(""),e=v(""),o=v(!0),i=["icondantu","iconpingpu","iconlashen"],m=v(!1),a=v(!1),d=v(0),r=v("#f5f5f5"),c=v(!1),f=v("单选"),g={xl:4,lg:8,md:8,sm:8,xs:8},p={xl:6,lg:8,md:12,sm:12,xs:12},b=v("");A.value=n.pageTitle,e.value=n.pageName,o.value=!!n.pageShow,m.value=!!n.pageColor,a.value=!!n.pagePic,r.value=n.pageColorPicker,d.value=n.pageTabVal,b.value=n.pagePicUrl;function _(E){c.value=!0}function B(E){ve(()=>{b.value=E.att_dir,c.value=!1,n.UPPICURL(E.att_dir)})}function y(E){n.UPPICKER(E)}function Q(E){n.UPRADIO(E)}function I(E){n.UPTITLE(E)}function N(E){n.UPSHOW(E)}function w(E){n.UPCOLOR(E)}function h(E){n.UPPIC(E)}return(E,F)=>{const x=X("el-col"),j=X("el-input"),D=X("el-switch"),V=X("el-checkbox"),S=X("el-color-picker"),k=X("el-radio-button"),K=X("el-radio-group"),J=X("el-dialog"),ee=jt("db-click");return s(),u("div",nL,[l("div",lL,[L(x,{class:"label",span:4},{default:P(()=>[...F[8]||(F[8]=[se(" 页面标题 ",-1)])]),_:1}),L(x,{span:19,class:"slider-box"},{default:P(()=>[L(j,{modelValue:A.value,"onUpdate:modelValue":F[0]||(F[0]=T=>A.value=T),placeholder:"选填不超过30个字",maxlength:"30",onChange:I},null,8,["modelValue"])]),_:1})]),l("div",iL,[L(x,{class:"label",span:4},{default:P(()=>[...F[9]||(F[9]=[se(" 页面状态 ",-1)])]),_:1}),L(x,{span:19,class:"slider-box"},{default:P(()=>[L(D,{modelValue:o.value,"onUpdate:modelValue":F[1]||(F[1]=T=>o.value=T),onChange:N},null,8,["modelValue"])]),_:1})]),l("div",aL,[L(x,{class:"label",span:4},{default:P(()=>[...F[10]||(F[10]=[se(" 背景设置 ",-1)])]),_:1}),L(x,{span:19,class:"slider-box"},{default:P(()=>[l("div",sL,[L(V,{modelValue:m.value,"onUpdate:modelValue":F[2]||(F[2]=T=>m.value=T),onChange:w},{default:P(()=>[...F[11]||(F[11]=[se("背景色",-1)])]),_:1},8,["modelValue"]),L(S,{modelValue:r.value,"onUpdate:modelValue":F[3]||(F[3]=T=>r.value=T),onChange:y,"show-alpha":""},null,8,["modelValue"])]),l("div",cL,[L(V,{modelValue:a.value,"onUpdate:modelValue":F[4]||(F[4]=T=>a.value=T),onChange:h},{default:P(()=>[...F[12]||(F[12]=[se("背景图",-1)])]),_:1},8,["modelValue"]),L(K,{modelValue:d.value,"onUpdate:modelValue":F[5]||(F[5]=T=>d.value=T),onChange:Q},{default:P(()=>[(s(),u(q,null,ae(i,(T,H)=>L(k,{label:H,value:H,key:H},{default:P(()=>[l("span",{class:ue(["iconfont",T])},null,2)]),_:2},1032,["label","value"])),64))]),_:1},8,["modelValue"])]),a.value?(s(),u("div",rL,[F[14]||(F[14]=l("div",{class:"title"},"建议尺寸:690 * 240px",-1)),Ze((s(),u("div",{class:"boxs",onClick:F[6]||(F[6]=T=>_("单选"))},[b.value?(s(),u("img",{key:0,src:b.value,alt:""},null,8,uL)):(s(),u("div",dL,[...F[13]||(F[13]=[l("i",{class:"el-icon-camera"},null,-1)])])),b.value?(s(),u("div",mL,"更换图片")):O("",!0)])),[[ee]])])):O("",!0)]),_:1})]),l("div",null,[L(J,{modelValue:c.value,"onUpdate:modelValue":F[7]||(F[7]=T=>c.value=T),width:"960px",title:"上传背景图"},{default:P(()=>[c.value?(s(),ce(de(Nt),{key:0,isChoice:f.value,onGetPic:B,gridBtn:g,gridPic:p},null,8,["isChoice"])):O("",!0)]),_:1},8,["modelValue"])])])}}}),fL=fe(gL,[["__scopeId","data-v-bbcc57a6"]]),vL=Object.freeze(Object.defineProperty({__proto__:null,default:fL},Symbol.toStringTag,{value:"Module"})),Kl=Object.assign({"./c_auxiliary_box.vue":x4,"./c_auxiliary_line.vue":F4,"./c_banner.vue":N4,"./c_bottom_menu.vue":O4,"./c_custom_component.vue":UE,"./c_good_recommend.vue":SE,"./c_home_bargain.vue":kE,"./c_home_comb.vue":HE,"./c_home_coupon.vue":ME,"./c_home_goods_list.vue":zE,"./c_home_hot.vue":WE,"./c_home_menu.vue":qE,"./c_home_pink.vue":oS,"./c_home_product.vue":iS,"./c_home_seckill.vue":cS,"./c_home_service.vue":mS,"./c_home_store_list.vue":vS,"./c_home_title.vue":bS,"./c_hotspot.vue":yS,"./c_info_card.vue":xS,"./c_member.vue":FS,"./c_nav_bar.vue":LS,"./c_new_list.vue":OS,"./c_new_vip.vue":TS,"./c_news_roll.vue":KS,"./c_paid_vip.vue":zS,"./c_picture_cube.vue":WS,"./c_points_mall.vue":qS,"./c_presale.vue":o8,"./c_product_desc.vue":l8,"./c_product_info.vue":s8,"./c_product_service.vue":d8,"./c_ranking.vue":f8,"./c_reviews.vue":_8,"./c_search_box.vue":y8,"./c_short_video.vue":x8,"./c_sign_in.vue":F8,"./c_spec_preview.vue":L8,"./c_store_card.vue":V8,"./c_time_card.vue":H8,"./c_ueditor_box.vue":R8,"./c_userInfor.vue":P8,"./c_video.vue":J8,"./c_wechat_attention.vue":W8,"./c_wechat_live.vue":q8,"./pageFoot.vue":AL,"./pageTitle.vue":vL}),It={};Object.keys(Kl).forEach(t=>{It[t.replace(/(\.\/|\.vue)/g,"")]=Kl[t].default});const pL={key:0},CL=["src"],_L=["src"],bL={key:1},BL={class:"list"},hL={key:0},yL=["src"],wL=["src"],QL={key:1},xL=Object.assign({name:"index.vue"},{__name:"index",props:{configObj:{type:Object,default:function(){return{}}},configNme:{type:String,default:""}},setup(t){const n=Be(),{pageFooter:A}=Ji(n),e=v(""),o=v(""),i=v(""),m=v(""),a=v([]),d=v(2),r=v(0),c=v(0),f=v(0),g=v(0),p=v(0),b=v(0),_=v(0),B=v(0),y=fl,Q=v(3),I=v({});function N(){Xi("color_change").then(h=>{Q.value=h.data.status?h.data.status:3;let E=[{theme:"#42CA4D",priceColor:"#FF7600",minorColor:"rgba(108, 198, 94, 0.5)",minorColorT:"rgba(66, 202, 77, 0.1)",bntColor:"#FE960F",gradient:"#4DEA4D"},{theme:"#e93323",priceColor:"#e93323",minorColor:"rgba(233, 51, 35, 0.5)",minorColorT:"rgba(233, 51, 35, 0.1)",bntColor:"#FE960F",gradient:"#FF7931"},{theme:"#1DB0FC",priceColor:"#FD502F",minorColor:"rgba(58, 139, 236, 0.5)",minorColorT:"rgba(9, 139, 243, 0.1)",bntColor:"#22CAFD",gradient:"#5ACBFF"},{theme:"#FF448F",priceColor:"#FF448F",minorColor:"rgba(255, 68, 143, 0.5)",minorColorT:"rgba(255, 68, 143, 0.1)",bntColor:"#282828",gradient:"#FF67AD"},{theme:"#FE5C2D",priceColor:"#FE5C2D",minorColor:"rgba(254, 92, 45, 0.5)",minorColorT:"rgba(254, 92, 45, 0.1)",bntColor:"#FDB000",gradient:"#FF9451"},{theme:"#E0A558",priceColor:"#DA8C18",minorColor:"rgba(224, 165, 88, 0.5)",minorColorT:"rgba(224, 165, 88, 0.1)",bntColor:"#1A1A1A",gradient:"#FFCD8C"}];switch(h.data.status){case 1:I.value=E[2];break;case 2:I.value=E[0];break;case 3:I.value=E[1];break;case 4:I.value=E[3];break;case 5:I.value=E[4];break;case 6:I.value=E[5];break;default:I.value=E[1];break}}).catch(h=>{Ve.error(h.msg)})}N(),M(A,(h,E)=>{w(h)},{deep:!0}),Ce(()=>{let h=n.pageFooter;w(h)});function w(h){e.value=h.txtColor.color[0].item,o.value=h.activeTxtColor.color[0].item,i.value=h.bgColor.color[0].item,m.value=h.bgColor2.color[0].item,g.value=h.navStyleConfig.tabVal,r.value=h.toneConfig.tabVal,p.value=h.navConfig.tabVal,c.value=h.topConfig.val,f.value=h.bottomConfig.val,b.value=h.prConfig.val,_.value=h.mbConfig.val;let E=h.fillet.type,F=h.fillet.val,x=h.fillet.valList;B.value=E?x[0].val+"px "+x[1].val+"px "+x[3].val+"px "+x[2].val+"px":F+"px",n.footType(p.value),n.footBottom(_.value),a.value=[],a.value=h.menuList.length?h.menuList:5,h.status.title=="是否显示"?d.value=2:d.value=0}return(h,E)=>p.value==0?(s(),u("div",{key:0,class:"page-footer",style:U({background:i.value,paddingTop:c.value+"px",paddingBottom:f.value+"px"})},[(s(!0),u(q,null,ae(a.value,(F,x)=>(s(),u("div",{class:ue(["foot-item",g.value==1?"on":""]),key:x},[g.value!=1?(s(),u("div",pL,[x==d.value?(s(),u("img",{key:0,src:F.imgList?F.imgList[0]:de(y),alt:""},null,8,CL)):(s(),u("img",{key:1,src:F.imgList?F.imgList[1]:de(y),alt:""},null,8,_L))])):O("",!0),g.value!=2?(s(),u("div",bL,[x==d.value?(s(),u("p",{key:0,style:U({color:r.value?o.value:I.value.theme})},$(F.name||"自定义"),5)):(s(),u("p",{key:1,style:U({color:r.value?e.value:"#1A1A1A"})},$(F.name||"自定义"),5))])):O("",!0)],2))),128))],4)):(s(),u("div",{key:1,class:"page-footer page-footer2",style:U({background:m.value,paddingTop:c.value+"px",paddingBottom:f.value+"px",marginLeft:b.value+"px",marginRight:b.value+"px",borderRadius:B.value})},[l("div",BL,[(s(!0),u(q,null,ae(a.value,(F,x)=>(s(),u("div",{class:ue(["foot-item",g.value==1?"on":""]),key:x},[g.value!=1?(s(),u("div",hL,[x==d.value?(s(),u("img",{key:0,src:F.imgList?F.imgList[0]:de(y),alt:""},null,8,yL)):(s(),u("img",{key:1,src:F.imgList?F.imgList[1]:de(y),alt:""},null,8,wL))])):O("",!0),g.value!=2?(s(),u("div",QL,[x==d.value?(s(),u("p",{key:0,style:U({color:r.value?o.value:I.value.theme})},$(F.name||"自定义"),5)):(s(),u("p",{key:1,style:U({color:r.value?e.value:"#1A1A1A"})},$(F.name||"自定义"),5))])):O("",!0)],2))),128))])],4))}}),IL=fe(xL,[["__scopeId","data-v-3574b5da"]]);/*! + * html2canvas 1.4.1 + * Copyright (c) 2022 Niklas von Hertzen + * Released under MIT License + *//*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */var Kn=function(t,n){return Kn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,e){A.__proto__=e}||function(A,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(A[o]=e[o])},Kn(t,n)};function Et(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");Kn(t,n);function A(){this.constructor=t}t.prototype=n===null?Object.create(n):(A.prototype=n.prototype,new A)}var Pn=function(){return Pn=Object.assign||function(n){for(var A,e=1,o=arguments.length;e0&&i[i.length-1])&&(r[0]===6||r[0]===2)){A=0;continue}if(r[0]===3&&(!i||r[1]>i[0]&&r[1]=55296&&o<=56319&&A>10)+55296,m%1024+56320)),(o+1===A||e.length>16384)&&(i+=String.fromCharCode.apply(String,e),e.length=0)}return i},Pl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",FL=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var CA=0;CA"u"?[]:new Uint8Array(256);for(var _A=0;_A>4,c[o++]=(m&15)<<4|a>>2,c[o++]=(a&3)<<6|d&63;return r},SL=function(t){for(var n=t.length,A=[],e=0;e>ro,kL=1<>ro,OL=Pa+VL,DL=OL,HL=32,TL=DL+HL,jL=65536>>_l,RL=1<=0){if(n<55296||n>56319&&n<=65535)return A=this.index[n>>ro],A=(A<>ro)],A=(A<>_l),A=this.index[A],A+=n>>ro&ML,A=this.index[A],A=(A<"u"?[]:new Uint8Array(256);for(var bA=0;bAYl?(o.push(!0),a-=Yl):o.push(!1),["normal","auto","loose"].indexOf(n)!==-1&&[8208,8211,12316,12448].indexOf(i)!==-1)return e.push(m),A.push(Jn);if(a===XL||a===Gn){if(m===0)return e.push(m),A.push(ao);var d=A[m-1];return AN.indexOf(d)===-1?(e.push(e[m-1]),A.push(d)):(e.push(m),A.push(ao))}if(e.push(m),a===eN)return A.push(n==="strict"?Yn:iA);if(a===Ya||a===qL)return A.push(ao);if(a===tN)return i>=131072&&i<=196605||i>=196608&&i<=262141?A.push(iA):A.push(ao);A.push(a)}),[e,A,o]},Qn=function(t,n,A,e){var o=e[A];if(Array.isArray(t)?t.indexOf(o)!==-1:t===o)for(var i=A;i<=e.length;){i++;var m=e[i];if(m===n)return!0;if(m!==Wt)break}if(o===Wt)for(var i=A;i>0;){i--;var a=e[i];if(Array.isArray(t)?t.indexOf(a)!==-1:t===a)for(var d=A;d<=e.length;){d++;var m=e[d];if(m===n)return!0;if(m!==Wt)break}if(a!==Wt)break}return!1},ti=function(t,n){for(var A=t;A>=0;){var e=n[A];if(e===Wt)A--;else return e}return 0},iN=function(t,n,A,e,o){if(A[e]===0)return ze;var i=e-1;if(Array.isArray(o)&&o[i]===!0)return ze;var m=i-1,a=i+1,d=n[i],r=m>=0?n[m]:0,c=n[a];if(d===Ga&&c===za)return ze;if(el.indexOf(d)!==-1)return Xa;if(el.indexOf(c)!==-1||Wa.indexOf(c)!==-1)return ze;if(ti(i,n)===Ja)return wA;if(qn.get(t[i])===Gn||(d===hA||d===yA)&&qn.get(t[a])===Gn||d===Xl||c===Xl||d===Wl||[Wt,zn,Yo].indexOf(d)===-1&&c===Wl||[BA,Ko,ZL,bo,Bo].indexOf(c)!==-1||ti(i,n)===Po||Qn(yn,Po,i,n)||Qn([BA,Ko],Yn,i,n)||Qn($l,$l,i,n))return ze;if(d===Wt)return wA;if(d===yn||c===yn)return ze;if(c===Jn||d===Jn)return wA;if([zn,Yo,Yn].indexOf(c)!==-1||d===$L||r===$n&&nN.indexOf(d)!==-1||d===Bo&&c===$n||c===Zl||Ht.indexOf(c)!==-1&&d===Ct||Ht.indexOf(d)!==-1&&c===Ct||d===Wo&&[iA,hA,yA].indexOf(c)!==-1||[iA,hA,yA].indexOf(d)!==-1&&c===Xo||Ht.indexOf(d)!==-1&&ql.indexOf(c)!==-1||ql.indexOf(d)!==-1&&Ht.indexOf(c)!==-1||[Wo,Xo].indexOf(d)!==-1&&(c===Ct||[Po,Yo].indexOf(c)!==-1&&n[a+1]===Ct)||[Po,Yo].indexOf(d)!==-1&&c===Ct||d===Ct&&[Ct,Bo,bo].indexOf(c)!==-1)return ze;if([Ct,Bo,bo,BA,Ko].indexOf(c)!==-1)for(var f=i;f>=0;){var g=n[f];if(g===Ct)return ze;if([Bo,bo].indexOf(g)!==-1)f--;else break}if([Wo,Xo].indexOf(c)!==-1)for(var f=[BA,Ko].indexOf(d)!==-1?m:i;f>=0;){var g=n[f];if(g===Ct)return ze;if([Bo,bo].indexOf(g)!==-1)f--;else break}if(Zn===d&&[Zn,RA,Xn,Wn].indexOf(c)!==-1||[RA,Xn].indexOf(d)!==-1&&[RA,MA].indexOf(c)!==-1||[MA,Wn].indexOf(d)!==-1&&c===MA||ei.indexOf(d)!==-1&&[Zl,Xo].indexOf(c)!==-1||ei.indexOf(c)!==-1&&d===Wo||Ht.indexOf(d)!==-1&&Ht.indexOf(c)!==-1||d===bo&&Ht.indexOf(c)!==-1||Ht.concat(Ct).indexOf(d)!==-1&&c===Po&&oN.indexOf(t[a])===-1||Ht.concat(Ct).indexOf(c)!==-1&&d===Ko)return ze;if(d===wn&&c===wn){for(var p=A[i],b=1;p>0&&(p--,n[p]===wn);)b++;if(b%2!==0)return ze}return d===hA&&c===yA?ze:wA},aN=function(t,n){n||(n={lineBreak:"normal",wordBreak:"normal"});var A=lN(t,n.lineBreak),e=A[0],o=A[1],i=A[2];(n.wordBreak==="break-all"||n.wordBreak==="break-word")&&(o=o.map(function(a){return[Ct,ao,Ya].indexOf(a)!==-1?iA:a}));var m=n.wordBreak==="keep-all"?i.map(function(a,d){return a&&t[d]>=19968&&t[d]<=40959}):void 0;return[e,o,m]},sN=function(){function t(n,A,e,o){this.codePoints=n,this.required=A===Xa,this.start=e,this.end=o}return t.prototype.slice=function(){return At.apply(void 0,this.codePoints.slice(this.start,this.end))},t}(),cN=function(t,n){var A=ln(t),e=aN(A,n),o=e[0],i=e[1],m=e[2],a=A.length,d=0,r=0;return{next:function(){if(r>=a)return{done:!0,value:null};for(var c=ze;r=$a&&t<=57},KN=function(t){return t>=55296&&t<=57343},ho=function(t){return ut(t)||t>=es&&t<=os||t>=Za&&t<=HN},PN=function(t){return t>=Za&&t<=jN},GN=function(t){return t>=es&&t<=MN},zN=function(t){return PN(t)||GN(t)},JN=function(t){return t>=UN},FA=function(t){return t===zA||t===dN||t===mN},JA=function(t){return zN(t)||JN(t)||t===pN},ii=function(t){return JA(t)||ut(t)||t===pt},YN=function(t){return t>=LN&&t<=NN||t===kN||t>=VN&&t<=ON||t===DN},Xt=function(t,n){return t!==eA?!1:n!==zA},EA=function(t,n,A){return t===pt?JA(n)||Xt(n,A):JA(t)?!0:!!(t===eA&&Xt(t,n))},In=function(t,n,A){return t===so||t===pt?ut(n)?!0:n===aA&&ut(A):ut(t===aA?n:t)},XN=function(t){var n=0,A=1;(t[n]===so||t[n]===pt)&&(t[n]===pt&&(A=-1),n++);for(var e=[];ut(t[n]);)e.push(t[n++]);var o=e.length?parseInt(At.apply(void 0,e),10):0;t[n]===aA&&n++;for(var i=[];ut(t[n]);)i.push(t[n++]);var m=i.length,a=m?parseInt(At.apply(void 0,i),10):0;(t[n]===ts||t[n]===qa)&&n++;var d=1;(t[n]===so||t[n]===pt)&&(t[n]===pt&&(d=-1),n++);for(var r=[];ut(t[n]);)r.push(t[n++]);var c=r.length?parseInt(At.apply(void 0,r),10):0;return A*(o+a*Math.pow(10,-m))*Math.pow(10,d*c)},WN={type:2},$N={type:3},ZN={type:4},qN={type:13},ek={type:8},tk={type:21},ok={type:9},Ak={type:10},nk={type:11},lk={type:12},ik={type:14},SA={type:23},ak={type:1},sk={type:25},ck={type:24},rk={type:26},uk={type:27},dk={type:28},mk={type:29},gk={type:31},tl={type:32},As=function(){function t(){this._value=[]}return t.prototype.write=function(n){this._value=this._value.concat(ln(n))},t.prototype.read=function(){for(var n=[],A=this.consumeToken();A!==tl;)n.push(A),A=this.consumeToken();return n},t.prototype.consumeToken=function(){var n=this.consumeCodePoint();switch(n){case QA:return this.consumeStringToken(QA);case gN:var A=this.peekCodePoint(0),e=this.peekCodePoint(1),o=this.peekCodePoint(2);if(ii(A)||Xt(e,o)){var i=EA(A,e,o)?uN:rN,m=this.consumeName();return{type:5,value:m,flags:i}}break;case fN:if(this.peekCodePoint(0)===Go)return this.consumeCodePoint(),qN;break;case xA:return this.consumeStringToken(xA);case IA:return WN;case zo:return $N;case xn:if(this.peekCodePoint(0)===Go)return this.consumeCodePoint(),ik;break;case so:if(In(n,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(n),this.consumeNumericToken();break;case FN:return ZN;case pt:var a=n,d=this.peekCodePoint(0),r=this.peekCodePoint(1);if(In(a,d,r))return this.reconsumeCodePoint(n),this.consumeNumericToken();if(EA(a,d,r))return this.reconsumeCodePoint(n),this.consumeIdentLikeToken();if(d===pt&&r===bN)return this.consumeCodePoint(),this.consumeCodePoint(),ck;break;case aA:if(In(n,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(n),this.consumeNumericToken();break;case Ai:if(this.peekCodePoint(0)===xn)for(this.consumeCodePoint();;){var c=this.consumeCodePoint();if(c===xn&&(c=this.consumeCodePoint(),c===Ai))return this.consumeToken();if(c===Lt)return this.consumeToken()}break;case EN:return rk;case SN:return uk;case _N:if(this.peekCodePoint(0)===CN&&this.peekCodePoint(1)===pt&&this.peekCodePoint(2)===pt)return this.consumeCodePoint(),this.consumeCodePoint(),sk;break;case BN:var f=this.peekCodePoint(0),g=this.peekCodePoint(1),p=this.peekCodePoint(2);if(EA(f,g,p)){var m=this.consumeName();return{type:7,value:m}}break;case hN:return dk;case eA:if(Xt(n,this.peekCodePoint(0)))return this.reconsumeCodePoint(n),this.consumeIdentLikeToken();break;case yN:return mk;case wN:if(this.peekCodePoint(0)===Go)return this.consumeCodePoint(),ek;break;case QN:return nk;case xN:return lk;case TN:case RN:var b=this.peekCodePoint(0),_=this.peekCodePoint(1);return b===so&&(ho(_)||_===UA)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(n),this.consumeIdentLikeToken();case ni:if(this.peekCodePoint(0)===Go)return this.consumeCodePoint(),ok;if(this.peekCodePoint(0)===ni)return this.consumeCodePoint(),tk;break;case IN:if(this.peekCodePoint(0)===Go)return this.consumeCodePoint(),Ak;break;case Lt:return tl}return FA(n)?(this.consumeWhiteSpace(),gk):ut(n)?(this.reconsumeCodePoint(n),this.consumeNumericToken()):JA(n)?(this.reconsumeCodePoint(n),this.consumeIdentLikeToken()):{type:6,value:At(n)}},t.prototype.consumeCodePoint=function(){var n=this._value.shift();return typeof n>"u"?-1:n},t.prototype.reconsumeCodePoint=function(n){this._value.unshift(n)},t.prototype.peekCodePoint=function(n){return n>=this._value.length?-1:this._value[n]},t.prototype.consumeUnicodeRangeToken=function(){for(var n=[],A=this.consumeCodePoint();ho(A)&&n.length<6;)n.push(A),A=this.consumeCodePoint();for(var e=!1;A===UA&&n.length<6;)n.push(A),A=this.consumeCodePoint(),e=!0;if(e){var o=parseInt(At.apply(void 0,n.map(function(d){return d===UA?$a:d})),16),i=parseInt(At.apply(void 0,n.map(function(d){return d===UA?os:d})),16);return{type:30,start:o,end:i}}var m=parseInt(At.apply(void 0,n),16);if(this.peekCodePoint(0)===pt&&ho(this.peekCodePoint(1))){this.consumeCodePoint(),A=this.consumeCodePoint();for(var a=[];ho(A)&&a.length<6;)a.push(A),A=this.consumeCodePoint();var i=parseInt(At.apply(void 0,a),16);return{type:30,start:m,end:i}}else return{type:30,start:m,end:m}},t.prototype.consumeIdentLikeToken=function(){var n=this.consumeName();return n.toLowerCase()==="url"&&this.peekCodePoint(0)===IA?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===IA?(this.consumeCodePoint(),{type:19,value:n}):{type:20,value:n}},t.prototype.consumeUrlToken=function(){var n=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Lt)return{type:22,value:""};var A=this.peekCodePoint(0);if(A===xA||A===QA){var e=this.consumeStringToken(this.consumeCodePoint());return e.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Lt||this.peekCodePoint(0)===zo)?(this.consumeCodePoint(),{type:22,value:e.value}):(this.consumeBadUrlRemnants(),SA)}for(;;){var o=this.consumeCodePoint();if(o===Lt||o===zo)return{type:22,value:At.apply(void 0,n)};if(FA(o))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Lt||this.peekCodePoint(0)===zo?(this.consumeCodePoint(),{type:22,value:At.apply(void 0,n)}):(this.consumeBadUrlRemnants(),SA);if(o===QA||o===xA||o===IA||YN(o))return this.consumeBadUrlRemnants(),SA;if(o===eA)if(Xt(o,this.peekCodePoint(0)))n.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),SA;else n.push(o)}},t.prototype.consumeWhiteSpace=function(){for(;FA(this.peekCodePoint(0));)this.consumeCodePoint()},t.prototype.consumeBadUrlRemnants=function(){for(;;){var n=this.consumeCodePoint();if(n===zo||n===Lt)return;Xt(n,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},t.prototype.consumeStringSlice=function(n){for(var A=5e4,e="";n>0;){var o=Math.min(A,n);e+=At.apply(void 0,this._value.splice(0,o)),n-=o}return this._value.shift(),e},t.prototype.consumeStringToken=function(n){var A="",e=0;do{var o=this._value[e];if(o===Lt||o===void 0||o===n)return A+=this.consumeStringSlice(e),{type:0,value:A};if(o===zA)return this._value.splice(0,e),ak;if(o===eA){var i=this._value[e+1];i!==Lt&&i!==void 0&&(i===zA?(A+=this.consumeStringSlice(e),e=-1,this._value.shift()):Xt(o,i)&&(A+=this.consumeStringSlice(e),A+=At(this.consumeEscapedCodePoint()),e=-1))}e++}while(!0)},t.prototype.consumeNumber=function(){var n=[],A=cA,e=this.peekCodePoint(0);for((e===so||e===pt)&&n.push(this.consumeCodePoint());ut(this.peekCodePoint(0));)n.push(this.consumeCodePoint());e=this.peekCodePoint(0);var o=this.peekCodePoint(1);if(e===aA&&ut(o))for(n.push(this.consumeCodePoint(),this.consumeCodePoint()),A=oi;ut(this.peekCodePoint(0));)n.push(this.consumeCodePoint());e=this.peekCodePoint(0),o=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((e===ts||e===qa)&&((o===so||o===pt)&&ut(i)||ut(o)))for(n.push(this.consumeCodePoint(),this.consumeCodePoint()),A=oi;ut(this.peekCodePoint(0));)n.push(this.consumeCodePoint());return[XN(n),A]},t.prototype.consumeNumericToken=function(){var n=this.consumeNumber(),A=n[0],e=n[1],o=this.peekCodePoint(0),i=this.peekCodePoint(1),m=this.peekCodePoint(2);if(EA(o,i,m)){var a=this.consumeName();return{type:15,number:A,flags:e,unit:a}}return o===vN?(this.consumeCodePoint(),{type:16,number:A,flags:e}):{type:17,number:A,flags:e}},t.prototype.consumeEscapedCodePoint=function(){var n=this.consumeCodePoint();if(ho(n)){for(var A=At(n);ho(this.peekCodePoint(0))&&A.length<6;)A+=At(this.consumeCodePoint());FA(this.peekCodePoint(0))&&this.consumeCodePoint();var e=parseInt(A,16);return e===0||KN(e)||e>1114111?li:e}return n===Lt?li:n},t.prototype.consumeName=function(){for(var n="";;){var A=this.consumeCodePoint();if(ii(A))n+=At(A);else if(Xt(A,this.peekCodePoint(0)))n+=At(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(A),n}},t}(),ns=function(){function t(n){this._tokens=n}return t.create=function(n){var A=new As;return A.write(n),new t(A.read())},t.parseValue=function(n){return t.create(n).parseComponentValue()},t.parseValues=function(n){return t.create(n).parseComponentValues()},t.prototype.parseComponentValue=function(){for(var n=this.consumeToken();n.type===31;)n=this.consumeToken();if(n.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(n);var A=this.consumeComponentValue();do n=this.consumeToken();while(n.type===31);if(n.type===32)return A;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},t.prototype.parseComponentValues=function(){for(var n=[];;){var A=this.consumeComponentValue();if(A.type===32)return n;n.push(A),n.push()}},t.prototype.consumeComponentValue=function(){var n=this.consumeToken();switch(n.type){case 11:case 28:case 2:return this.consumeSimpleBlock(n.type);case 19:return this.consumeFunction(n)}return n},t.prototype.consumeSimpleBlock=function(n){for(var A={type:n,values:[]},e=this.consumeToken();;){if(e.type===32||vk(e,n))return A;this.reconsumeToken(e),A.values.push(this.consumeComponentValue()),e=this.consumeToken()}},t.prototype.consumeFunction=function(n){for(var A={name:n.value,values:[],type:18};;){var e=this.consumeToken();if(e.type===32||e.type===3)return A;this.reconsumeToken(e),A.values.push(this.consumeComponentValue())}},t.prototype.consumeToken=function(){var n=this._tokens.shift();return typeof n>"u"?tl:n},t.prototype.reconsumeToken=function(n){this._tokens.unshift(n)},t}(),rA=function(t){return t.type===15},ko=function(t){return t.type===17},Xe=function(t){return t.type===20},fk=function(t){return t.type===0},ol=function(t,n){return Xe(t)&&t.value===n},ls=function(t){return t.type!==31},So=function(t){return t.type!==31&&t.type!==4},kt=function(t){var n=[],A=[];return t.forEach(function(e){if(e.type===4){if(A.length===0)throw new Error("Error parsing function args, zero tokens for arg");n.push(A),A=[];return}e.type!==31&&A.push(e)}),A.length&&n.push(A),n},vk=function(t,n){return n===11&&t.type===12||n===28&&t.type===29?!0:n===2&&t.type===3},to=function(t){return t.type===17||t.type===15},nt=function(t){return t.type===16||to(t)},is=function(t){return t.length>1?[t[0],t[1]]:[t[0]]},ct={type:17,number:0,flags:cA},bl={type:16,number:50,flags:cA},$t={type:16,number:100,flags:cA},$o=function(t,n,A){var e=t[0],o=t[1];return[$e(e,n),$e(typeof o<"u"?o:e,A)]},$e=function(t,n){if(t.type===16)return t.number/100*n;if(rA(t))switch(t.unit){case"rem":case"em":return 16*t.number;case"px":default:return t.number}return t.number},as="deg",ss="grad",cs="rad",rs="turn",an={name:"angle",parse:function(t,n){if(n.type===15)switch(n.unit){case as:return Math.PI*n.number/180;case ss:return Math.PI/200*n.number;case cs:return n.number;case rs:return Math.PI*2*n.number}throw new Error("Unsupported angle type")}},us=function(t){return t.type===15&&(t.unit===as||t.unit===ss||t.unit===cs||t.unit===rs)},ds=function(t){var n=t.filter(Xe).map(function(A){return A.value}).join(" ");switch(n){case"to bottom right":case"to right bottom":case"left top":case"top left":return[ct,ct];case"to top":case"bottom":return wt(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[ct,$t];case"to right":case"left":return wt(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[$t,$t];case"to bottom":case"top":return wt(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[$t,ct];case"to left":case"right":return wt(270)}return 0},wt=function(t){return Math.PI*t/180},qt={name:"color",parse:function(t,n){if(n.type===18){var A=pk[n.name];if(typeof A>"u")throw new Error('Attempting to parse an unsupported color function "'+n.name+'"');return A(t,n.values)}if(n.type===5){if(n.value.length===3){var e=n.value.substring(0,1),o=n.value.substring(1,2),i=n.value.substring(2,3);return Zt(parseInt(e+e,16),parseInt(o+o,16),parseInt(i+i,16),1)}if(n.value.length===4){var e=n.value.substring(0,1),o=n.value.substring(1,2),i=n.value.substring(2,3),m=n.value.substring(3,4);return Zt(parseInt(e+e,16),parseInt(o+o,16),parseInt(i+i,16),parseInt(m+m,16)/255)}if(n.value.length===6){var e=n.value.substring(0,2),o=n.value.substring(2,4),i=n.value.substring(4,6);return Zt(parseInt(e,16),parseInt(o,16),parseInt(i,16),1)}if(n.value.length===8){var e=n.value.substring(0,2),o=n.value.substring(2,4),i=n.value.substring(4,6),m=n.value.substring(6,8);return Zt(parseInt(e,16),parseInt(o,16),parseInt(i,16),parseInt(m,16)/255)}}if(n.type===20){var a=Rt[n.value.toUpperCase()];if(typeof a<"u")return a}return Rt.TRANSPARENT}},eo=function(t){return(255&t)===0},at=function(t){var n=255&t,A=255&t>>8,e=255&t>>16,o=255&t>>24;return n<255?"rgba("+o+","+e+","+A+","+n/255+")":"rgb("+o+","+e+","+A+")"},Zt=function(t,n,A,e){return(t<<24|n<<16|A<<8|Math.round(e*255)<<0)>>>0},ai=function(t,n){if(t.type===17)return t.number;if(t.type===16){var A=n===3?1:255;return n===3?t.number/100*A:Math.round(t.number/100*A)}return 0},si=function(t,n){var A=n.filter(So);if(A.length===3){var e=A.map(ai),o=e[0],i=e[1],m=e[2];return Zt(o,i,m,1)}if(A.length===4){var a=A.map(ai),o=a[0],i=a[1],m=a[2],d=a[3];return Zt(o,i,m,d)}return 0};function Un(t,n,A){return A<0&&(A+=1),A>=1&&(A-=1),A<1/6?(n-t)*A*6+t:A<1/2?n:A<2/3?(n-t)*6*(2/3-A)+t:t}var ci=function(t,n){var A=n.filter(So),e=A[0],o=A[1],i=A[2],m=A[3],a=(e.type===17?wt(e.number):an.parse(t,e))/(Math.PI*2),d=nt(o)?o.number/100:0,r=nt(i)?i.number/100:0,c=typeof m<"u"&&nt(m)?$e(m,1):1;if(d===0)return Zt(r*255,r*255,r*255,1);var f=r<=.5?r*(d+1):r+d-r*d,g=r*2-f,p=Un(g,f,a+1/3),b=Un(g,f,a),_=Un(g,f,a-1/3);return Zt(p*255,b*255,_*255,c)},pk={hsl:ci,hsla:ci,rgb:si,rgba:si},tA=function(t,n){return qt.parse(t,ns.create(n).parseComponentValue())},Rt={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},Ck={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(t,n){return n.map(function(A){if(Xe(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},_k={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},sn=function(t,n){var A=qt.parse(t,n[0]),e=n[1];return e&&nt(e)?{color:A,stop:e}:{color:A,stop:null}},ri=function(t,n){var A=t[0],e=t[t.length-1];A.stop===null&&(A.stop=ct),e.stop===null&&(e.stop=$t);for(var o=[],i=0,m=0;mi?o.push(d):o.push(i),i=d}else o.push(null)}for(var r=null,m=0;mm.optimumDistance)?{optimumCorner:a,optimumDistance:c}:m},{optimumDistance:o?1/0:-1/0,optimumCorner:null}).optimumCorner},hk=function(t,n,A,e,o){var i=0,m=0;switch(t.size){case 0:t.shape===0?i=m=Math.min(Math.abs(n),Math.abs(n-e),Math.abs(A),Math.abs(A-o)):t.shape===1&&(i=Math.min(Math.abs(n),Math.abs(n-e)),m=Math.min(Math.abs(A),Math.abs(A-o)));break;case 2:if(t.shape===0)i=m=Math.min(Ut(n,A),Ut(n,A-o),Ut(n-e,A),Ut(n-e,A-o));else if(t.shape===1){var a=Math.min(Math.abs(A),Math.abs(A-o))/Math.min(Math.abs(n),Math.abs(n-e)),d=ui(e,o,n,A,!0),r=d[0],c=d[1];i=Ut(r-n,(c-A)/a),m=a*i}break;case 1:t.shape===0?i=m=Math.max(Math.abs(n),Math.abs(n-e),Math.abs(A),Math.abs(A-o)):t.shape===1&&(i=Math.max(Math.abs(n),Math.abs(n-e)),m=Math.max(Math.abs(A),Math.abs(A-o)));break;case 3:if(t.shape===0)i=m=Math.max(Ut(n,A),Ut(n,A-o),Ut(n-e,A),Ut(n-e,A-o));else if(t.shape===1){var a=Math.max(Math.abs(A),Math.abs(A-o))/Math.max(Math.abs(n),Math.abs(n-e)),f=ui(e,o,n,A,!1),r=f[0],c=f[1];i=Ut(r-n,(c-A)/a),m=a*i}break}return Array.isArray(t.size)&&(i=$e(t.size[0],e),m=t.size.length===2?$e(t.size[1],o):i),[i,m]},yk=function(t,n){var A=wt(180),e=[];return kt(n).forEach(function(o,i){if(i===0){var m=o[0];if(m.type===20&&m.value==="to"){A=ds(o);return}else if(us(m)){A=an.parse(t,m);return}}var a=sn(t,o);e.push(a)}),{angle:A,stops:e,type:1}},LA=function(t,n){var A=wt(180),e=[];return kt(n).forEach(function(o,i){if(i===0){var m=o[0];if(m.type===20&&["top","left","right","bottom"].indexOf(m.value)!==-1){A=ds(o);return}else if(us(m)){A=(an.parse(t,m)+wt(270))%wt(360);return}}var a=sn(t,o);e.push(a)}),{angle:A,stops:e,type:1}},wk=function(t,n){var A=wt(180),e=[],o=1,i=0,m=3,a=[];return kt(n).forEach(function(d,r){var c=d[0];if(r===0){if(Xe(c)&&c.value==="linear"){o=1;return}else if(Xe(c)&&c.value==="radial"){o=2;return}}if(c.type===18){if(c.name==="from"){var f=qt.parse(t,c.values[0]);e.push({stop:ct,color:f})}else if(c.name==="to"){var f=qt.parse(t,c.values[0]);e.push({stop:$t,color:f})}else if(c.name==="color-stop"){var g=c.values.filter(So);if(g.length===2){var f=qt.parse(t,g[1]),p=g[0];ko(p)&&e.push({stop:{type:16,number:p.number*100,flags:p.flags},color:f})}}}}),o===1?{angle:(A+wt(180))%wt(360),stops:e,type:o}:{size:m,shape:i,stops:e,position:a,type:o}},ms="closest-side",gs="farthest-side",fs="closest-corner",vs="farthest-corner",ps="circle",Cs="ellipse",_s="cover",bs="contain",Qk=function(t,n){var A=0,e=3,o=[],i=[];return kt(n).forEach(function(m,a){var d=!0;if(a===0){var r=!1;d=m.reduce(function(f,g){if(r)if(Xe(g))switch(g.value){case"center":return i.push(bl),f;case"top":case"left":return i.push(ct),f;case"right":case"bottom":return i.push($t),f}else(nt(g)||to(g))&&i.push(g);else if(Xe(g))switch(g.value){case ps:return A=0,!1;case Cs:return A=1,!1;case"at":return r=!0,!1;case ms:return e=0,!1;case _s:case gs:return e=1,!1;case bs:case fs:return e=2,!1;case vs:return e=3,!1}else if(to(g)||nt(g))return Array.isArray(e)||(e=[]),e.push(g),!1;return f},d)}if(d){var c=sn(t,m);o.push(c)}}),{size:e,shape:A,stops:o,position:i,type:2}},NA=function(t,n){var A=0,e=3,o=[],i=[];return kt(n).forEach(function(m,a){var d=!0;if(a===0?d=m.reduce(function(c,f){if(Xe(f))switch(f.value){case"center":return i.push(bl),!1;case"top":case"left":return i.push(ct),!1;case"right":case"bottom":return i.push($t),!1}else if(nt(f)||to(f))return i.push(f),!1;return c},d):a===1&&(d=m.reduce(function(c,f){if(Xe(f))switch(f.value){case ps:return A=0,!1;case Cs:return A=1,!1;case bs:case ms:return e=0,!1;case gs:return e=1,!1;case fs:return e=2,!1;case _s:case vs:return e=3,!1}else if(to(f)||nt(f))return Array.isArray(e)||(e=[]),e.push(f),!1;return c},d)),d){var r=sn(t,m);o.push(r)}}),{size:e,shape:A,stops:o,position:i,type:2}},xk=function(t){return t.type===1},Ik=function(t){return t.type===2},Bl={name:"image",parse:function(t,n){if(n.type===22){var A={url:n.value,type:0};return t.cache.addImage(n.value),A}if(n.type===18){var e=Bs[n.name];if(typeof e>"u")throw new Error('Attempting to parse an unsupported image function "'+n.name+'"');return e(t,n.values)}throw new Error("Unsupported image type "+n.type)}};function Uk(t){return!(t.type===20&&t.value==="none")&&(t.type!==18||!!Bs[t.name])}var Bs={"linear-gradient":yk,"-moz-linear-gradient":LA,"-ms-linear-gradient":LA,"-o-linear-gradient":LA,"-webkit-linear-gradient":LA,"radial-gradient":Qk,"-moz-radial-gradient":NA,"-ms-radial-gradient":NA,"-o-radial-gradient":NA,"-webkit-radial-gradient":NA,"-webkit-gradient":wk},Fk={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(t,n){if(n.length===0)return[];var A=n[0];return A.type===20&&A.value==="none"?[]:n.filter(function(e){return So(e)&&Uk(e)}).map(function(e){return Bl.parse(t,e)})}},Ek={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(t,n){return n.map(function(A){if(Xe(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Sk={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(t,n){return kt(n).map(function(A){return A.filter(nt)}).map(is)}},Lk={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(t,n){return kt(n).map(function(A){return A.filter(Xe).map(function(e){return e.value}).join(" ")}).map(Nk)}},Nk=function(t){switch(t){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},Eo;(function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"})(Eo||(Eo={}));var kk={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(t,n){return kt(n).map(function(A){return A.filter(Vk)})}},Vk=function(t){return Xe(t)||nt(t)},cn=function(t){return{name:"border-"+t+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Ok=cn("top"),Dk=cn("right"),Hk=cn("bottom"),Tk=cn("left"),rn=function(t){return{name:"border-radius-"+t,initialValue:"0 0",prefix:!1,type:1,parse:function(n,A){return is(A.filter(nt))}}},jk=rn("top-left"),Rk=rn("top-right"),Mk=rn("bottom-right"),Kk=rn("bottom-left"),un=function(t){return{name:"border-"+t+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(n,A){switch(A){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Pk=un("top"),Gk=un("right"),zk=un("bottom"),Jk=un("left"),dn=function(t){return{name:"border-"+t+"-width",initialValue:"0",type:0,prefix:!1,parse:function(n,A){return rA(A)?A.number:0}}},Yk=dn("top"),Xk=dn("right"),Wk=dn("bottom"),$k=dn("left"),Zk={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},qk={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(t,n){switch(n){case"rtl":return 1;case"ltr":default:return 0}}},e9={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(t,n){return n.filter(Xe).reduce(function(A,e){return A|t9(e.value)},0)}},t9=function(t){switch(t){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},o9={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(t,n){switch(n){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},A9={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(t,n){return n.type===20&&n.value==="normal"?0:n.type===17||n.type===15?n.number:0}},YA;(function(t){t.NORMAL="normal",t.STRICT="strict"})(YA||(YA={}));var n9={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,n){switch(n){case"strict":return YA.STRICT;case"normal":default:return YA.NORMAL}}},l9={name:"line-height",initialValue:"normal",prefix:!1,type:4},di=function(t,n){return Xe(t)&&t.value==="normal"?1.2*n:t.type===17?n*t.number:nt(t)?$e(t,n):n},i9={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(t,n){return n.type===20&&n.value==="none"?null:Bl.parse(t,n)}},a9={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(t,n){switch(n){case"inside":return 0;case"outside":default:return 1}}},Al={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(t,n){switch(n){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},mn=function(t){return{name:"margin-"+t,initialValue:"0",prefix:!1,type:4}},s9=mn("top"),c9=mn("right"),r9=mn("bottom"),u9=mn("left"),d9={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(t,n){return n.filter(Xe).map(function(A){switch(A.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},m9={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(t,n){switch(n){case"break-word":return"break-word";case"normal":default:return"normal"}}},gn=function(t){return{name:"padding-"+t,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},g9=gn("top"),f9=gn("right"),v9=gn("bottom"),p9=gn("left"),C9={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(t,n){switch(n){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},_9={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(t,n){switch(n){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},b9={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(t,n){return n.length===1&&ol(n[0],"none")?[]:kt(n).map(function(A){for(var e={color:Rt.TRANSPARENT,offsetX:ct,offsetY:ct,blur:ct},o=0,i=0;i"u")throw new Error('Attempting to parse an unsupported transform function "'+n.name+'"');return A(n.values)}return null}},y9=function(t){var n=t.filter(function(A){return A.type===17}).map(function(A){return A.number});return n.length===6?n:null},w9=function(t){var n=t.filter(function(d){return d.type===17}).map(function(d){return d.number}),A=n[0],e=n[1];n[2],n[3];var o=n[4],i=n[5];n[6],n[7],n[8],n[9],n[10],n[11];var m=n[12],a=n[13];return n[14],n[15],n.length===16?[A,e,o,i,m,a]:null},Q9={matrix:y9,matrix3d:w9},mi={type:16,number:50,flags:cA},x9=[mi,mi],I9={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(t,n){var A=n.filter(nt);return A.length!==2?x9:[A[0],A[1]]}},U9={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(t,n){switch(n){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},oA;(function(t){t.NORMAL="normal",t.BREAK_ALL="break-all",t.KEEP_ALL="keep-all"})(oA||(oA={}));var F9={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,n){switch(n){case"break-all":return oA.BREAK_ALL;case"keep-all":return oA.KEEP_ALL;case"normal":default:return oA.NORMAL}}},E9={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(t,n){if(n.type===20)return{auto:!0,order:0};if(ko(n))return{auto:!1,order:n.number};throw new Error("Invalid z-index number parsed")}},hs={name:"time",parse:function(t,n){if(n.type===15)switch(n.unit.toLowerCase()){case"s":return 1e3*n.number;case"ms":return n.number}throw new Error("Unsupported time type")}},S9={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(t,n){return ko(n)?n.number:1}},L9={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},N9={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(t,n){return n.filter(Xe).map(function(A){switch(A.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(A){return A!==0})}},k9={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(t,n){var A=[],e=[];return n.forEach(function(o){switch(o.type){case 20:case 0:A.push(o.value);break;case 17:A.push(o.number.toString());break;case 4:e.push(A.join(" ")),A.length=0;break}}),A.length&&e.push(A.join(" ")),e.map(function(o){return o.indexOf(" ")===-1?o:"'"+o+"'"})}},V9={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},O9={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(t,n){if(ko(n))return n.number;if(Xe(n))switch(n.value){case"bold":return 700;case"normal":default:return 400}return 400}},D9={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(t,n){return n.filter(Xe).map(function(A){return A.value})}},H9={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(t,n){switch(n){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},lt=function(t,n){return(t&n)!==0},T9={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(t,n){if(n.length===0)return[];var A=n[0];return A.type===20&&A.value==="none"?[]:n}},j9={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(t,n){if(n.length===0)return null;var A=n[0];if(A.type===20&&A.value==="none")return null;for(var e=[],o=n.filter(ls),i=0;i1?1:0],this.overflowWrap=xe(n,m9,A.overflowWrap),this.paddingTop=xe(n,g9,A.paddingTop),this.paddingRight=xe(n,f9,A.paddingRight),this.paddingBottom=xe(n,v9,A.paddingBottom),this.paddingLeft=xe(n,p9,A.paddingLeft),this.paintOrder=xe(n,G9,A.paintOrder),this.position=xe(n,_9,A.position),this.textAlign=xe(n,C9,A.textAlign),this.textDecorationColor=xe(n,L9,(e=A.textDecorationColor)!==null&&e!==void 0?e:A.color),this.textDecorationLine=xe(n,N9,(o=A.textDecorationLine)!==null&&o!==void 0?o:A.textDecoration),this.textShadow=xe(n,b9,A.textShadow),this.textTransform=xe(n,B9,A.textTransform),this.transform=xe(n,h9,A.transform),this.transformOrigin=xe(n,I9,A.transformOrigin),this.visibility=xe(n,U9,A.visibility),this.webkitTextStrokeColor=xe(n,z9,A.webkitTextStrokeColor),this.webkitTextStrokeWidth=xe(n,J9,A.webkitTextStrokeWidth),this.wordBreak=xe(n,F9,A.wordBreak),this.zIndex=xe(n,E9,A.zIndex)}return t.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},t.prototype.isTransparent=function(){return eo(this.backgroundColor)},t.prototype.isTransformed=function(){return this.transform!==null},t.prototype.isPositioned=function(){return this.position!==0},t.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},t.prototype.isFloating=function(){return this.float!==0},t.prototype.isInlineLevel=function(){return lt(this.display,4)||lt(this.display,33554432)||lt(this.display,268435456)||lt(this.display,536870912)||lt(this.display,67108864)||lt(this.display,134217728)},t}(),X9=function(){function t(n,A){this.content=xe(n,T9,A.content),this.quotes=xe(n,K9,A.quotes)}return t}(),fi=function(){function t(n,A){this.counterIncrement=xe(n,j9,A.counterIncrement),this.counterReset=xe(n,R9,A.counterReset)}return t}(),xe=function(t,n,A){var e=new As,o=A!==null&&typeof A<"u"?A.toString():n.initialValue;e.write(o);var i=new ns(e.read());switch(n.type){case 2:var m=i.parseComponentValue();return n.parse(t,Xe(m)?m.value:n.initialValue);case 0:return n.parse(t,i.parseComponentValue());case 1:return n.parse(t,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(n.format){case"angle":return an.parse(t,i.parseComponentValue());case"color":return qt.parse(t,i.parseComponentValue());case"image":return Bl.parse(t,i.parseComponentValue());case"length":var a=i.parseComponentValue();return to(a)?a:ct;case"length-percentage":var d=i.parseComponentValue();return nt(d)?d:ct;case"time":return hs.parse(t,i.parseComponentValue())}break}},W9="data-html2canvas-debug",$9=function(t){var n=t.getAttribute(W9);switch(n){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},nl=function(t,n){var A=$9(t);return A===1||n===A},Vt=function(){function t(n,A){this.context=n,this.textNodes=[],this.elements=[],this.flags=0,nl(A,3),this.styles=new Y9(n,window.getComputedStyle(A,null)),al(A)&&(this.styles.animationDuration.some(function(e){return e>0})&&(A.style.animationDuration="0s"),this.styles.transform!==null&&(A.style.transform="none")),this.bounds=nn(this.context,A),nl(A,4)&&(this.flags|=16)}return t}(),Z9="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",vi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Zo=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var kA=0;kA>4,c[o++]=(m&15)<<4|a>>2,c[o++]=(a&3)<<6|d&63;return r},eV=function(t){for(var n=t.length,A=[],e=0;e>uo,AV=1<>uo,lV=ys+nV,iV=lV,aV=32,sV=iV+aV,cV=65536>>hl,rV=1<=0){if(n<55296||n>56319&&n<=65535)return A=this.index[n>>uo],A=(A<>uo)],A=(A<>hl),A=this.index[A],A+=n>>uo&uV,A=this.index[A],A=(A<"u"?[]:new Uint8Array(256);for(var VA=0;VA=55296&&o<=56319&&A>10)+55296,m%1024+56320)),(o+1===A||e.length>16384)&&(i+=String.fromCharCode.apply(String,e),e.length=0)}return i},bV=mV(Z9),Bt="×",On="÷",BV=function(t){return bV.get(t)},hV=function(t,n,A){var e=A-2,o=n[e],i=n[A-1],m=n[A];if(i===Sn&&m===Ln)return Bt;if(i===Sn||i===Ln||i===_i||m===Sn||m===Ln||m===_i)return On;if(i===Bi&&[Bi,Nn,hi,yi].indexOf(m)!==-1||(i===hi||i===Nn)&&(m===Nn||m===kn)||(i===yi||i===kn)&&m===kn||m===wi||m===bi||m===pV||i===vV)return Bt;if(i===wi&&m===Qi){for(;o===bi;)o=n[--e];if(o===Qi)return Bt}if(i===Vn&&m===Vn){for(var a=0;o===Vn;)a++,o=n[--e];if(a%2===0)return Bt}return On},yV=function(t){var n=CV(t),A=n.length,e=0,o=0,i=n.map(BV);return{next:function(){if(e>=A)return{done:!0,value:null};for(var m=Bt;em.x||c.y>m.y;return m=c,r===0?!0:f});return t.body.removeChild(n),a},IV=function(){return typeof new Image().crossOrigin<"u"},UV=function(){return typeof new XMLHttpRequest().responseType=="string"},FV=function(t){var n=new Image,A=t.createElement("canvas"),e=A.getContext("2d");if(!e)return!1;n.src="data:image/svg+xml,";try{e.drawImage(n,0,0),A.toDataURL()}catch{return!1}return!0},xi=function(t){return t[0]===0&&t[1]===255&&t[2]===0&&t[3]===255},EV=function(t){var n=t.createElement("canvas"),A=100;n.width=A,n.height=A;var e=n.getContext("2d");if(!e)return Promise.reject(!1);e.fillStyle="rgb(0, 255, 0)",e.fillRect(0,0,A,A);var o=new Image,i=n.toDataURL();o.src=i;var m=ll(A,A,0,0,o);return e.fillStyle="red",e.fillRect(0,0,A,A),Ii(m).then(function(a){e.drawImage(a,0,0);var d=e.getImageData(0,0,A,A).data;e.fillStyle="red",e.fillRect(0,0,A,A);var r=t.createElement("div");return r.style.backgroundImage="url("+i+")",r.style.height=A+"px",xi(d)?Ii(ll(A,A,0,0,r)):Promise.reject(!1)}).then(function(a){return e.drawImage(a,0,0),xi(e.getImageData(0,0,A,A).data)}).catch(function(){return!1})},ll=function(t,n,A,e,o){var i="http://www.w3.org/2000/svg",m=document.createElementNS(i,"svg"),a=document.createElementNS(i,"foreignObject");return m.setAttributeNS(null,"width",t.toString()),m.setAttributeNS(null,"height",n.toString()),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",A.toString()),a.setAttributeNS(null,"y",e.toString()),a.setAttributeNS(null,"externalResourcesRequired","true"),m.appendChild(a),a.appendChild(o),m},Ii=function(t){return new Promise(function(n,A){var e=new Image;e.onload=function(){return n(e)},e.onerror=A,e.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(t))})},st={get SUPPORT_RANGE_BOUNDS(){var t=QV(document);return Object.defineProperty(st,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_WORD_BREAKING(){var t=st.SUPPORT_RANGE_BOUNDS&&xV(document);return Object.defineProperty(st,"SUPPORT_WORD_BREAKING",{value:t}),t},get SUPPORT_SVG_DRAWING(){var t=FV(document);return Object.defineProperty(st,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){var t=typeof Array.from=="function"&&typeof window.fetch=="function"?EV(document):Promise.resolve(!1);return Object.defineProperty(st,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){var t=IV();return Object.defineProperty(st,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){var t=UV();return Object.defineProperty(st,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){var t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(st,"SUPPORT_CORS_XHR",{value:t}),t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var t=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(st,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:t}),t}},AA=function(){function t(n,A){this.text=n,this.bounds=A}return t}(),SV=function(t,n,A,e){var o=kV(n,A),i=[],m=0;return o.forEach(function(a){if(A.textDecorationLine.length||a.trim().length>0)if(st.SUPPORT_RANGE_BOUNDS){var d=Ui(e,m,a.length).getClientRects();if(d.length>1){var r=yl(a),c=0;r.forEach(function(g){i.push(new AA(g,Mt.fromDOMRectList(t,Ui(e,c+m,g.length).getClientRects()))),c+=g.length})}else i.push(new AA(a,Mt.fromDOMRectList(t,d)))}else{var f=e.splitText(a.length);i.push(new AA(a,LV(t,e))),e=f}else st.SUPPORT_RANGE_BOUNDS||(e=e.splitText(a.length));m+=a.length}),i},LV=function(t,n){var A=n.ownerDocument;if(A){var e=A.createElement("html2canvaswrapper");e.appendChild(n.cloneNode(!0));var o=n.parentNode;if(o){o.replaceChild(e,n);var i=nn(t,e);return e.firstChild&&o.replaceChild(e.firstChild,e),i}}return Mt.EMPTY},Ui=function(t,n,A){var e=t.ownerDocument;if(!e)throw new Error("Node has no owner document");var o=e.createRange();return o.setStart(t,n),o.setEnd(t,n+A),o},yl=function(t){if(st.SUPPORT_NATIVE_TEXT_SEGMENTATION){var n=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(n.segment(t)).map(function(A){return A.segment})}return wV(t)},NV=function(t,n){if(st.SUPPORT_NATIVE_TEXT_SEGMENTATION){var A=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(A.segment(t)).map(function(e){return e.segment})}return OV(t,n)},kV=function(t,n){return n.letterSpacing!==0?yl(t):NV(t,n)},VV=[32,160,4961,65792,65793,4153,4241],OV=function(t,n){for(var A=cN(t,{lineBreak:n.lineBreak,wordBreak:n.overflowWrap==="break-word"?"break-word":n.wordBreak}),e=[],o,i=function(){if(o.value){var m=o.value.slice(),a=ln(m),d="";a.forEach(function(r){VV.indexOf(r)===-1?d+=At(r):(d.length&&e.push(d),e.push(At(r)),d="")}),d.length&&e.push(d)}};!(o=A.next()).done;)i();return e},DV=function(){function t(n,A,e){this.text=HV(A.data,e.textTransform),this.textBounds=SV(n,this.text,e,A)}return t}(),HV=function(t,n){switch(n){case 1:return t.toLowerCase();case 3:return t.replace(TV,jV);case 2:return t.toUpperCase();default:return t}},TV=/(^|\s|:|-|\(|\))([a-z])/g,jV=function(t,n,A){return t.length>0?n+A.toUpperCase():t},ws=function(t){Et(n,t);function n(A,e){var o=t.call(this,A,e)||this;return o.src=e.currentSrc||e.src,o.intrinsicWidth=e.naturalWidth,o.intrinsicHeight=e.naturalHeight,o.context.cache.addImage(o.src),o}return n}(Vt),Qs=function(t){Et(n,t);function n(A,e){var o=t.call(this,A,e)||this;return o.canvas=e,o.intrinsicWidth=e.width,o.intrinsicHeight=e.height,o}return n}(Vt),xs=function(t){Et(n,t);function n(A,e){var o=t.call(this,A,e)||this,i=new XMLSerializer,m=nn(A,e);return e.setAttribute("width",m.width+"px"),e.setAttribute("height",m.height+"px"),o.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(e)),o.intrinsicWidth=e.width.baseVal.value,o.intrinsicHeight=e.height.baseVal.value,o.context.cache.addImage(o.svg),o}return n}(Vt),Is=function(t){Et(n,t);function n(A,e){var o=t.call(this,A,e)||this;return o.value=e.value,o}return n}(Vt),il=function(t){Et(n,t);function n(A,e){var o=t.call(this,A,e)||this;return o.start=e.start,o.reversed=typeof e.reversed=="boolean"&&e.reversed===!0,o}return n}(Vt),RV=[{type:15,flags:0,unit:"px",number:3}],MV=[{type:16,flags:0,number:50}],KV=function(t){return t.width>t.height?new Mt(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width0)A.textNodes.push(new DV(t,o,A.styles));else if(Fo(o))if(Ds(o)&&o.assignedNodes)o.assignedNodes().forEach(function(a){return KA(t,a,A,e)});else{var m=Ss(t,o);m.styles.isVisible()&&(JV(o,m,e)?m.flags|=4:YV(m.styles)&&(m.flags|=2),zV.indexOf(o.tagName)!==-1&&(m.flags|=8),A.elements.push(m),o.slot,o.shadowRoot?KA(t,o.shadowRoot,m,e):!$A(o)&&!ks(o)&&!ZA(o)&&KA(t,o,m,e))}},Ss=function(t,n){return sl(n)?new ws(t,n):Vs(n)?new Qs(t,n):ks(n)?new xs(t,n):XV(n)?new Is(t,n):WV(n)?new il(t,n):$V(n)?new wl(t,n):ZA(n)?new Us(t,n):$A(n)?new Fs(t,n):Os(n)?new Es(t,n):new Vt(t,n)},Ls=function(t,n){var A=Ss(t,n);return A.flags|=4,KA(t,n,A,A),A},JV=function(t,n,A){return n.styles.isPositionedWithZIndex()||n.styles.opacity<1||n.styles.isTransformed()||Ql(t)&&A.styles.isTransparent()},YV=function(t){return t.isPositioned()||t.isFloating()},Ns=function(t){return t.nodeType===Node.TEXT_NODE},Fo=function(t){return t.nodeType===Node.ELEMENT_NODE},al=function(t){return Fo(t)&&typeof t.style<"u"&&!PA(t)},PA=function(t){return typeof t.className=="object"},XV=function(t){return t.tagName==="LI"},WV=function(t){return t.tagName==="OL"},$V=function(t){return t.tagName==="INPUT"},ZV=function(t){return t.tagName==="HTML"},ks=function(t){return t.tagName==="svg"},Ql=function(t){return t.tagName==="BODY"},Vs=function(t){return t.tagName==="CANVAS"},Ei=function(t){return t.tagName==="VIDEO"},sl=function(t){return t.tagName==="IMG"},Os=function(t){return t.tagName==="IFRAME"},Si=function(t){return t.tagName==="STYLE"},qV=function(t){return t.tagName==="SCRIPT"},$A=function(t){return t.tagName==="TEXTAREA"},ZA=function(t){return t.tagName==="SELECT"},Ds=function(t){return t.tagName==="SLOT"},Li=function(t){return t.tagName.indexOf("-")>0},eO=function(){function t(){this.counters={}}return t.prototype.getCounterValue=function(n){var A=this.counters[n];return A&&A.length?A[A.length-1]:1},t.prototype.getCounterValues=function(n){var A=this.counters[n];return A||[]},t.prototype.pop=function(n){var A=this;n.forEach(function(e){return A.counters[e].pop()})},t.prototype.parse=function(n){var A=this,e=n.counterIncrement,o=n.counterReset,i=!0;e!==null&&e.forEach(function(a){var d=A.counters[a.counter];d&&a.increment!==0&&(i=!1,d.length||d.push(1),d[Math.max(0,d.length-1)]+=a.increment)});var m=[];return i&&o.forEach(function(a){var d=A.counters[a.counter];m.push(a.counter),d||(d=A.counters[a.counter]=[]),d.push(a.reset)}),m},t}(),Ni={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},ki={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},tO={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},oO={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},yo=function(t,n,A,e,o,i){return tA?sA(t,o,i.length>0):e.integers.reduce(function(m,a,d){for(;t>=a;)t-=a,m+=e.values[d];return m},"")+i},Hs=function(t,n,A,e){var o="";do A||t--,o=e(t)+o,t/=n;while(t*n>=n);return o},ot=function(t,n,A,e,o){var i=A-n+1;return(t<0?"-":"")+(Hs(Math.abs(t),i,e,function(m){return At(Math.floor(m%i)+n)})+o)},io=function(t,n,A){A===void 0&&(A=". ");var e=n.length;return Hs(Math.abs(t),e,!1,function(o){return n[Math.floor(o%e)]})+A},xo=1,zt=2,Jt=4,qo=8,Tt=function(t,n,A,e,o,i){if(t<-9999||t>9999)return sA(t,4,o.length>0);var m=Math.abs(t),a=o;if(m===0)return n[0]+a;for(var d=0;m>0&&d<=4;d++){var r=m%10;r===0&<(i,xo)&&a!==""?a=n[r]+a:r>1||r===1&&d===0||r===1&&d===1&<(i,zt)||r===1&&d===1&<(i,Jt)&&t>100||r===1&&d>1&<(i,qo)?a=n[r]+(d>0?A[d-1]:"")+a:r===1&&d>0&&(a=A[d-1]+a),m=Math.floor(m/10)}return(t<0?e:"")+a},Vi="十百千萬",Oi="拾佰仟萬",Di="マイナス",Dn="마이너스",sA=function(t,n,A){var e=A?". ":"",o=A?"、":"",i=A?", ":"",m=A?" ":"";switch(n){case 0:return"•"+m;case 1:return"◦"+m;case 2:return"◾"+m;case 5:var a=ot(t,48,57,!0,e);return a.length<4?"0"+a:a;case 4:return io(t,"〇一二三四五六七八九",o);case 6:return yo(t,1,3999,Ni,3,e).toLowerCase();case 7:return yo(t,1,3999,Ni,3,e);case 8:return ot(t,945,969,!1,e);case 9:return ot(t,97,122,!1,e);case 10:return ot(t,65,90,!1,e);case 11:return ot(t,1632,1641,!0,e);case 12:case 49:return yo(t,1,9999,ki,3,e);case 35:return yo(t,1,9999,ki,3,e).toLowerCase();case 13:return ot(t,2534,2543,!0,e);case 14:case 30:return ot(t,6112,6121,!0,e);case 15:return io(t,"子丑寅卯辰巳午未申酉戌亥",o);case 16:return io(t,"甲乙丙丁戊己庚辛壬癸",o);case 17:case 48:return Tt(t,"零一二三四五六七八九",Vi,"負",o,zt|Jt|qo);case 47:return Tt(t,"零壹貳參肆伍陸柒捌玖",Oi,"負",o,xo|zt|Jt|qo);case 42:return Tt(t,"零一二三四五六七八九",Vi,"负",o,zt|Jt|qo);case 41:return Tt(t,"零壹贰叁肆伍陆柒捌玖",Oi,"负",o,xo|zt|Jt|qo);case 26:return Tt(t,"〇一二三四五六七八九","十百千万",Di,o,0);case 25:return Tt(t,"零壱弐参四伍六七八九","拾百千万",Di,o,xo|zt|Jt);case 31:return Tt(t,"영일이삼사오육칠팔구","십백천만",Dn,i,xo|zt|Jt);case 33:return Tt(t,"零一二三四五六七八九","十百千萬",Dn,i,0);case 32:return Tt(t,"零壹貳參四五六七八九","拾百千",Dn,i,xo|zt|Jt);case 18:return ot(t,2406,2415,!0,e);case 20:return yo(t,1,19999,oO,3,e);case 21:return ot(t,2790,2799,!0,e);case 22:return ot(t,2662,2671,!0,e);case 22:return yo(t,1,10999,tO,3,e);case 23:return io(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return io(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return ot(t,3302,3311,!0,e);case 28:return io(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",o);case 29:return io(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",o);case 34:return ot(t,3792,3801,!0,e);case 37:return ot(t,6160,6169,!0,e);case 38:return ot(t,4160,4169,!0,e);case 39:return ot(t,2918,2927,!0,e);case 40:return ot(t,1776,1785,!0,e);case 43:return ot(t,3046,3055,!0,e);case 44:return ot(t,3174,3183,!0,e);case 45:return ot(t,3664,3673,!0,e);case 46:return ot(t,3872,3881,!0,e);case 3:default:return ot(t,48,57,!0,e)}},Ts="data-html2canvas-ignore",Hi=function(){function t(n,A,e){if(this.context=n,this.options=e,this.scrolledElements=[],this.referenceElement=A,this.counters=new eO,this.quoteDepth=0,!A.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(A.ownerDocument.documentElement,!1)}return t.prototype.toIFrame=function(n,A){var e=this,o=AO(n,A);if(!o.contentWindow)return Promise.reject("Unable to find iframe window");var i=n.defaultView.pageXOffset,m=n.defaultView.pageYOffset,a=o.contentWindow,d=a.document,r=iO(o).then(function(){return gt(e,void 0,void 0,function(){var c,f;return rt(this,function(g){switch(g.label){case 0:return this.scrolledElements.forEach(rO),a&&(a.scrollTo(A.left,A.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(a.scrollY!==A.top||a.scrollX!==A.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(a.scrollX-A.left,a.scrollY-A.top,0,0))),c=this.options.onclone,f=this.clonedReferenceElement,typeof f>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:d.fonts&&d.fonts.ready?[4,d.fonts.ready]:[3,2];case 1:g.sent(),g.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,lO(d)]:[3,4];case 3:g.sent(),g.label=4;case 4:return typeof c=="function"?[2,Promise.resolve().then(function(){return c(d,f)}).then(function(){return o})]:[2,o]}})})});return d.open(),d.write(sO(document.doctype)+""),cO(this.referenceElement.ownerDocument,i,m),d.replaceChild(d.adoptNode(this.documentElement),d.documentElement),d.close(),r},t.prototype.createElementClone=function(n){if(nl(n,2),Vs(n))return this.createCanvasClone(n);if(Ei(n))return this.createVideoClone(n);if(Si(n))return this.createStyleClone(n);var A=n.cloneNode(!1);return sl(A)&&(sl(n)&&n.currentSrc&&n.currentSrc!==n.src&&(A.src=n.currentSrc,A.srcset=""),A.loading==="lazy"&&(A.loading="eager")),Li(A)?this.createCustomElementClone(A):A},t.prototype.createCustomElementClone=function(n){var A=document.createElement("html2canvascustomelement");return Hn(n.style,A),A},t.prototype.createStyleClone=function(n){try{var A=n.sheet;if(A&&A.cssRules){var e=[].slice.call(A.cssRules,0).reduce(function(i,m){return m&&typeof m.cssText=="string"?i+m.cssText:i},""),o=n.cloneNode(!1);return o.textContent=e,o}}catch(i){if(this.context.logger.error("Unable to access cssRules property",i),i.name!=="SecurityError")throw i}return n.cloneNode(!1)},t.prototype.createCanvasClone=function(n){var A;if(this.options.inlineImages&&n.ownerDocument){var e=n.ownerDocument.createElement("img");try{return e.src=n.toDataURL(),e}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",n)}}var o=n.cloneNode(!1);try{o.width=n.width,o.height=n.height;var i=n.getContext("2d"),m=o.getContext("2d");if(m)if(!this.options.allowTaint&&i)m.putImageData(i.getImageData(0,0,n.width,n.height),0,0);else{var a=(A=n.getContext("webgl2"))!==null&&A!==void 0?A:n.getContext("webgl");if(a){var d=a.getContextAttributes();(d==null?void 0:d.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",n)}m.drawImage(n,0,0)}return o}catch{this.context.logger.info("Unable to clone canvas as it is tainted",n)}return o},t.prototype.createVideoClone=function(n){var A=n.ownerDocument.createElement("canvas");A.width=n.offsetWidth,A.height=n.offsetHeight;var e=A.getContext("2d");try{return e&&(e.drawImage(n,0,0,A.width,A.height),this.options.allowTaint||e.getImageData(0,0,A.width,A.height)),A}catch{this.context.logger.info("Unable to clone video as it is tainted",n)}var o=n.ownerDocument.createElement("canvas");return o.width=n.offsetWidth,o.height=n.offsetHeight,o},t.prototype.appendChildNode=function(n,A,e){(!Fo(A)||!qV(A)&&!A.hasAttribute(Ts)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(A)))&&(!this.options.copyStyles||!Fo(A)||!Si(A))&&n.appendChild(this.cloneNode(A,e))},t.prototype.cloneChildNodes=function(n,A,e){for(var o=this,i=n.shadowRoot?n.shadowRoot.firstChild:n.firstChild;i;i=i.nextSibling)if(Fo(i)&&Ds(i)&&typeof i.assignedNodes=="function"){var m=i.assignedNodes();m.length&&m.forEach(function(a){return o.appendChildNode(A,a,e)})}else this.appendChildNode(A,i,e)},t.prototype.cloneNode=function(n,A){if(Ns(n))return document.createTextNode(n.data);if(!n.ownerDocument)return n.cloneNode(!1);var e=n.ownerDocument.defaultView;if(e&&Fo(n)&&(al(n)||PA(n))){var o=this.createElementClone(n);o.style.transitionProperty="none";var i=e.getComputedStyle(n),m=e.getComputedStyle(n,":before"),a=e.getComputedStyle(n,":after");this.referenceElement===n&&al(o)&&(this.clonedReferenceElement=o),Ql(o)&&mO(o);var d=this.counters.parse(new fi(this.context,i)),r=this.resolvePseudoContent(n,o,m,nA.BEFORE);Li(n)&&(A=!0),Ei(n)||this.cloneChildNodes(n,o,A),r&&o.insertBefore(r,o.firstChild);var c=this.resolvePseudoContent(n,o,a,nA.AFTER);return c&&o.appendChild(c),this.counters.pop(d),(i&&(this.options.copyStyles||PA(n))&&!Os(n)||A)&&Hn(i,o),(n.scrollTop!==0||n.scrollLeft!==0)&&this.scrolledElements.push([o,n.scrollLeft,n.scrollTop]),($A(n)||ZA(n))&&($A(o)||ZA(o))&&(o.value=n.value),o}return n.cloneNode(!1)},t.prototype.resolvePseudoContent=function(n,A,e,o){var i=this;if(e){var m=e.content,a=A.ownerDocument;if(!(!a||!m||m==="none"||m==="-moz-alt-content"||e.display==="none")){this.counters.parse(new fi(this.context,e));var d=new X9(this.context,e),r=a.createElement("html2canvaspseudoelement");Hn(e,r),d.content.forEach(function(f){if(f.type===0)r.appendChild(a.createTextNode(f.value));else if(f.type===22){var g=a.createElement("img");g.src=f.value,g.style.opacity="1",r.appendChild(g)}else if(f.type===18){if(f.name==="attr"){var p=f.values.filter(Xe);p.length&&r.appendChild(a.createTextNode(n.getAttribute(p[0].value)||""))}else if(f.name==="counter"){var b=f.values.filter(So),_=b[0],B=b[1];if(_&&Xe(_)){var y=i.counters.getCounterValue(_.value),Q=B&&Xe(B)?Al.parse(i.context,B.value):3;r.appendChild(a.createTextNode(sA(y,Q,!1)))}}else if(f.name==="counters"){var I=f.values.filter(So),_=I[0],N=I[1],B=I[2];if(_&&Xe(_)){var w=i.counters.getCounterValues(_.value),h=B&&Xe(B)?Al.parse(i.context,B.value):3,E=N&&N.type===0?N.value:"",F=w.map(function(D){return sA(D,h,!1)}).join(E);r.appendChild(a.createTextNode(F))}}}else if(f.type===20)switch(f.value){case"open-quote":r.appendChild(a.createTextNode(gi(d.quotes,i.quoteDepth++,!0)));break;case"close-quote":r.appendChild(a.createTextNode(gi(d.quotes,--i.quoteDepth,!1)));break;default:r.appendChild(a.createTextNode(f.value))}}),r.className=cl+" "+rl;var c=o===nA.BEFORE?" "+cl:" "+rl;return PA(A)?A.className.baseValue+=c:A.className+=c,r}}},t.destroy=function(n){return n.parentNode?(n.parentNode.removeChild(n),!0):!1},t}(),nA;(function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"})(nA||(nA={}));var AO=function(t,n){var A=t.createElement("iframe");return A.className="html2canvas-container",A.style.visibility="hidden",A.style.position="fixed",A.style.left="-10000px",A.style.top="0px",A.style.border="0",A.width=n.width.toString(),A.height=n.height.toString(),A.scrolling="no",A.setAttribute(Ts,"true"),t.body.appendChild(A),A},nO=function(t){return new Promise(function(n){if(t.complete){n();return}if(!t.src){n();return}t.onload=n,t.onerror=n})},lO=function(t){return Promise.all([].slice.call(t.images,0).map(nO))},iO=function(t){return new Promise(function(n,A){var e=t.contentWindow;if(!e)return A("No window assigned for iframe");var o=e.document;e.onload=t.onload=function(){e.onload=t.onload=null;var i=setInterval(function(){o.body.childNodes.length>0&&o.readyState==="complete"&&(clearInterval(i),n(t))},50)}})},aO=["all","d","content"],Hn=function(t,n){for(var A=t.length-1;A>=0;A--){var e=t.item(A);aO.indexOf(e)===-1&&n.style.setProperty(e,t.getPropertyValue(e))}return n},sO=function(t){var n="";return t&&(n+=""),n},cO=function(t,n,A){t&&t.defaultView&&(n!==t.defaultView.pageXOffset||A!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(n,A)},rO=function(t){var n=t[0],A=t[1],e=t[2];n.scrollLeft=A,n.scrollTop=e},uO=":before",dO=":after",cl="___html2canvas___pseudoelement_before",rl="___html2canvas___pseudoelement_after",Ti=`{ + content: "" !important; + display: none !important; +}`,mO=function(t){gO(t,"."+cl+uO+Ti+` + .`+rl+dO+Ti)},gO=function(t,n){var A=t.ownerDocument;if(A){var e=A.createElement("style");e.textContent=n,t.appendChild(e)}},js=function(){function t(){}return t.getOrigin=function(n){var A=t._link;return A?(A.href=n,A.href=A.href,A.protocol+A.hostname+A.port):"about:blank"},t.isSameOrigin=function(n){return t.getOrigin(n)===t._origin},t.setContext=function(n){t._link=n.document.createElement("a"),t._origin=t.getOrigin(n.location.href)},t._origin="about:blank",t}(),fO=function(){function t(n,A){this.context=n,this._options=A,this._cache={}}return t.prototype.addImage=function(n){var A=Promise.resolve();return this.has(n)||(jn(n)||_O(n))&&(this._cache[n]=this.loadImage(n)).catch(function(){}),A},t.prototype.match=function(n){return this._cache[n]},t.prototype.loadImage=function(n){return gt(this,void 0,void 0,function(){var A,e,o,i,m=this;return rt(this,function(a){switch(a.label){case 0:return A=js.isSameOrigin(n),e=!Tn(n)&&this._options.useCORS===!0&&st.SUPPORT_CORS_IMAGES&&!A,o=!Tn(n)&&!A&&!jn(n)&&typeof this._options.proxy=="string"&&st.SUPPORT_CORS_XHR&&!e,!A&&this._options.allowTaint===!1&&!Tn(n)&&!jn(n)&&!o&&!e?[2]:(i=n,o?[4,this.proxy(i)]:[3,2]);case 1:i=a.sent(),a.label=2;case 2:return this.context.logger.debug("Added image "+n.substring(0,256)),[4,new Promise(function(d,r){var c=new Image;c.onload=function(){return d(c)},c.onerror=r,(bO(i)||e)&&(c.crossOrigin="anonymous"),c.src=i,c.complete===!0&&setTimeout(function(){return d(c)},500),m._options.imageTimeout>0&&setTimeout(function(){return r("Timed out ("+m._options.imageTimeout+"ms) loading image")},m._options.imageTimeout)})];case 3:return[2,a.sent()]}})})},t.prototype.has=function(n){return typeof this._cache[n]<"u"},t.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},t.prototype.proxy=function(n){var A=this,e=this._options.proxy;if(!e)throw new Error("No proxy defined");var o=n.substring(0,256);return new Promise(function(i,m){var a=st.SUPPORT_RESPONSE_TYPE?"blob":"text",d=new XMLHttpRequest;d.onload=function(){if(d.status===200)if(a==="text")i(d.response);else{var f=new FileReader;f.addEventListener("load",function(){return i(f.result)},!1),f.addEventListener("error",function(g){return m(g)},!1),f.readAsDataURL(d.response)}else m("Failed to proxy resource "+o+" with status code "+d.status)},d.onerror=m;var r=e.indexOf("?")>-1?"&":"?";if(d.open("GET",""+e+r+"url="+encodeURIComponent(n)+"&responseType="+a),a!=="text"&&d instanceof XMLHttpRequest&&(d.responseType=a),A._options.imageTimeout){var c=A._options.imageTimeout;d.timeout=c,d.ontimeout=function(){return m("Timed out ("+c+"ms) proxying "+o)}}d.send()})},t}(),vO=/^data:image\/svg\+xml/i,pO=/^data:image\/.*;base64,/i,CO=/^data:image\/.*/i,_O=function(t){return st.SUPPORT_SVG_DRAWING||!BO(t)},Tn=function(t){return CO.test(t)},bO=function(t){return pO.test(t)},jn=function(t){return t.substr(0,4)==="blob"},BO=function(t){return t.substr(-3).toLowerCase()==="svg"||vO.test(t)},we=function(){function t(n,A){this.type=0,this.x=n,this.y=A}return t.prototype.add=function(n,A){return new t(this.x+n,this.y+A)},t}(),wo=function(t,n,A){return new we(t.x+(n.x-t.x)*A,t.y+(n.y-t.y)*A)},OA=function(){function t(n,A,e,o){this.type=1,this.start=n,this.startControl=A,this.endControl=e,this.end=o}return t.prototype.subdivide=function(n,A){var e=wo(this.start,this.startControl,n),o=wo(this.startControl,this.endControl,n),i=wo(this.endControl,this.end,n),m=wo(e,o,n),a=wo(o,i,n),d=wo(m,a,n);return A?new t(this.start,e,m,d):new t(d,a,i,this.end)},t.prototype.add=function(n,A){return new t(this.start.add(n,A),this.startControl.add(n,A),this.endControl.add(n,A),this.end.add(n,A))},t.prototype.reverse=function(){return new t(this.end,this.endControl,this.startControl,this.start)},t}(),ht=function(t){return t.type===1},hO=function(){function t(n){var A=n.styles,e=n.bounds,o=$o(A.borderTopLeftRadius,e.width,e.height),i=o[0],m=o[1],a=$o(A.borderTopRightRadius,e.width,e.height),d=a[0],r=a[1],c=$o(A.borderBottomRightRadius,e.width,e.height),f=c[0],g=c[1],p=$o(A.borderBottomLeftRadius,e.width,e.height),b=p[0],_=p[1],B=[];B.push((i+d)/e.width),B.push((b+f)/e.width),B.push((m+_)/e.height),B.push((r+g)/e.height);var y=Math.max.apply(Math,B);y>1&&(i/=y,m/=y,d/=y,r/=y,f/=y,g/=y,b/=y,_/=y);var Q=e.width-d,I=e.height-g,N=e.width-f,w=e.height-_,h=A.borderTopWidth,E=A.borderRightWidth,F=A.borderBottomWidth,x=A.borderLeftWidth,j=$e(A.paddingTop,n.bounds.width),D=$e(A.paddingRight,n.bounds.width),V=$e(A.paddingBottom,n.bounds.width),S=$e(A.paddingLeft,n.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||m>0?tt(e.left+x/3,e.top+h/3,i-x/3,m-h/3,Je.TOP_LEFT):new we(e.left+x/3,e.top+h/3),this.topRightBorderDoubleOuterBox=i>0||m>0?tt(e.left+Q,e.top+h/3,d-E/3,r-h/3,Je.TOP_RIGHT):new we(e.left+e.width-E/3,e.top+h/3),this.bottomRightBorderDoubleOuterBox=f>0||g>0?tt(e.left+N,e.top+I,f-E/3,g-F/3,Je.BOTTOM_RIGHT):new we(e.left+e.width-E/3,e.top+e.height-F/3),this.bottomLeftBorderDoubleOuterBox=b>0||_>0?tt(e.left+x/3,e.top+w,b-x/3,_-F/3,Je.BOTTOM_LEFT):new we(e.left+x/3,e.top+e.height-F/3),this.topLeftBorderDoubleInnerBox=i>0||m>0?tt(e.left+x*2/3,e.top+h*2/3,i-x*2/3,m-h*2/3,Je.TOP_LEFT):new we(e.left+x*2/3,e.top+h*2/3),this.topRightBorderDoubleInnerBox=i>0||m>0?tt(e.left+Q,e.top+h*2/3,d-E*2/3,r-h*2/3,Je.TOP_RIGHT):new we(e.left+e.width-E*2/3,e.top+h*2/3),this.bottomRightBorderDoubleInnerBox=f>0||g>0?tt(e.left+N,e.top+I,f-E*2/3,g-F*2/3,Je.BOTTOM_RIGHT):new we(e.left+e.width-E*2/3,e.top+e.height-F*2/3),this.bottomLeftBorderDoubleInnerBox=b>0||_>0?tt(e.left+x*2/3,e.top+w,b-x*2/3,_-F*2/3,Je.BOTTOM_LEFT):new we(e.left+x*2/3,e.top+e.height-F*2/3),this.topLeftBorderStroke=i>0||m>0?tt(e.left+x/2,e.top+h/2,i-x/2,m-h/2,Je.TOP_LEFT):new we(e.left+x/2,e.top+h/2),this.topRightBorderStroke=i>0||m>0?tt(e.left+Q,e.top+h/2,d-E/2,r-h/2,Je.TOP_RIGHT):new we(e.left+e.width-E/2,e.top+h/2),this.bottomRightBorderStroke=f>0||g>0?tt(e.left+N,e.top+I,f-E/2,g-F/2,Je.BOTTOM_RIGHT):new we(e.left+e.width-E/2,e.top+e.height-F/2),this.bottomLeftBorderStroke=b>0||_>0?tt(e.left+x/2,e.top+w,b-x/2,_-F/2,Je.BOTTOM_LEFT):new we(e.left+x/2,e.top+e.height-F/2),this.topLeftBorderBox=i>0||m>0?tt(e.left,e.top,i,m,Je.TOP_LEFT):new we(e.left,e.top),this.topRightBorderBox=d>0||r>0?tt(e.left+Q,e.top,d,r,Je.TOP_RIGHT):new we(e.left+e.width,e.top),this.bottomRightBorderBox=f>0||g>0?tt(e.left+N,e.top+I,f,g,Je.BOTTOM_RIGHT):new we(e.left+e.width,e.top+e.height),this.bottomLeftBorderBox=b>0||_>0?tt(e.left,e.top+w,b,_,Je.BOTTOM_LEFT):new we(e.left,e.top+e.height),this.topLeftPaddingBox=i>0||m>0?tt(e.left+x,e.top+h,Math.max(0,i-x),Math.max(0,m-h),Je.TOP_LEFT):new we(e.left+x,e.top+h),this.topRightPaddingBox=d>0||r>0?tt(e.left+Math.min(Q,e.width-E),e.top+h,Q>e.width+E?0:Math.max(0,d-E),Math.max(0,r-h),Je.TOP_RIGHT):new we(e.left+e.width-E,e.top+h),this.bottomRightPaddingBox=f>0||g>0?tt(e.left+Math.min(N,e.width-x),e.top+Math.min(I,e.height-F),Math.max(0,f-E),Math.max(0,g-F),Je.BOTTOM_RIGHT):new we(e.left+e.width-E,e.top+e.height-F),this.bottomLeftPaddingBox=b>0||_>0?tt(e.left+x,e.top+Math.min(w,e.height-F),Math.max(0,b-x),Math.max(0,_-F),Je.BOTTOM_LEFT):new we(e.left+x,e.top+e.height-F),this.topLeftContentBox=i>0||m>0?tt(e.left+x+S,e.top+h+j,Math.max(0,i-(x+S)),Math.max(0,m-(h+j)),Je.TOP_LEFT):new we(e.left+x+S,e.top+h+j),this.topRightContentBox=d>0||r>0?tt(e.left+Math.min(Q,e.width+x+S),e.top+h+j,Q>e.width+x+S?0:d-x+S,r-(h+j),Je.TOP_RIGHT):new we(e.left+e.width-(E+D),e.top+h+j),this.bottomRightContentBox=f>0||g>0?tt(e.left+Math.min(N,e.width-(x+S)),e.top+Math.min(I,e.height+h+j),Math.max(0,f-(E+D)),g-(F+V),Je.BOTTOM_RIGHT):new we(e.left+e.width-(E+D),e.top+e.height-(F+V)),this.bottomLeftContentBox=b>0||_>0?tt(e.left+x+S,e.top+w,Math.max(0,b-(x+S)),_-(F+V),Je.BOTTOM_LEFT):new we(e.left+x+S,e.top+e.height-(F+V))}return t}(),Je;(function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Je||(Je={}));var tt=function(t,n,A,e,o){var i=4*((Math.sqrt(2)-1)/3),m=A*i,a=e*i,d=t+A,r=n+e;switch(o){case Je.TOP_LEFT:return new OA(new we(t,r),new we(t,r-a),new we(d-m,n),new we(d,n));case Je.TOP_RIGHT:return new OA(new we(t,n),new we(t+m,n),new we(d,r-a),new we(d,r));case Je.BOTTOM_RIGHT:return new OA(new we(d,n),new we(d,n+a),new we(t+m,r),new we(t,r));case Je.BOTTOM_LEFT:default:return new OA(new we(d,r),new we(d-m,r),new we(t,n+a),new we(t,n))}},qA=function(t){return[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox]},yO=function(t){return[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox]},en=function(t){return[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox]},wO=function(){function t(n,A,e){this.offsetX=n,this.offsetY=A,this.matrix=e,this.type=0,this.target=6}return t}(),DA=function(){function t(n,A){this.path=n,this.target=A,this.type=1}return t}(),QO=function(){function t(n){this.opacity=n,this.type=2,this.target=6}return t}(),xO=function(t){return t.type===0},Rs=function(t){return t.type===1},IO=function(t){return t.type===2},ji=function(t,n){return t.length===n.length?t.some(function(A,e){return A===n[e]}):!1},UO=function(t,n,A,e,o){return t.map(function(i,m){switch(m){case 0:return i.add(n,A);case 1:return i.add(n+e,A);case 2:return i.add(n+e,A+o);case 3:return i.add(n,A+o)}return i})},Ms=function(){function t(n){this.element=n,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return t}(),Ks=function(){function t(n,A){if(this.container=n,this.parent=A,this.effects=[],this.curves=new hO(this.container),this.container.styles.opacity<1&&this.effects.push(new QO(this.container.styles.opacity)),this.container.styles.transform!==null){var e=this.container.bounds.left+this.container.styles.transformOrigin[0].number,o=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new wO(e,o,i))}if(this.container.styles.overflowX!==0){var m=qA(this.curves),a=en(this.curves);ji(m,a)?this.effects.push(new DA(m,6)):(this.effects.push(new DA(m,2)),this.effects.push(new DA(a,4)))}}return t.prototype.getEffects=function(n){for(var A=[2,3].indexOf(this.container.styles.position)===-1,e=this.parent,o=this.effects.slice(0);e;){var i=e.effects.filter(function(d){return!Rs(d)});if(A||e.container.styles.position!==0||!e.parent){if(o.unshift.apply(o,i),A=[2,3].indexOf(e.container.styles.position)===-1,e.container.styles.overflowX!==0){var m=qA(e.curves),a=en(e.curves);ji(m,a)||o.unshift(new DA(a,6))}}else o.unshift.apply(o,i);e=e.parent}return o.filter(function(d){return lt(d.target,n)})},t}(),ul=function(t,n,A,e){t.container.elements.forEach(function(o){var i=lt(o.flags,4),m=lt(o.flags,2),a=new Ks(o,t);lt(o.styles.display,2048)&&e.push(a);var d=lt(o.flags,8)?[]:e;if(i||m){var r=i||o.styles.isPositioned()?A:n,c=new Ms(a);if(o.styles.isPositioned()||o.styles.opacity<1||o.styles.isTransformed()){var f=o.styles.zIndex.order;if(f<0){var g=0;r.negativeZIndex.some(function(b,_){return f>b.element.container.styles.zIndex.order?(g=_,!1):g>0}),r.negativeZIndex.splice(g,0,c)}else if(f>0){var p=0;r.positiveZIndex.some(function(b,_){return f>=b.element.container.styles.zIndex.order?(p=_+1,!1):p>0}),r.positiveZIndex.splice(p,0,c)}else r.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else o.styles.isFloating()?r.nonPositionedFloats.push(c):r.nonPositionedInlineLevel.push(c);ul(a,c,i?c:A,d)}else o.styles.isInlineLevel()?n.inlineLevel.push(a):n.nonInlineLevel.push(a),ul(a,n,A,d);lt(o.flags,8)&&Ps(o,d)})},Ps=function(t,n){for(var A=t instanceof il?t.start:1,e=t instanceof il?t.reversed:!1,o=0;o"u"?t[0]:A},OO=function(t,n,A,e,o){var i=n[0],m=n[1],a=A[0],d=A[1];switch(t){case 2:return[new we(Math.round(e.left),Math.round(e.top+m)),new we(Math.round(e.left+e.width),Math.round(e.top+m)),new we(Math.round(e.left+e.width),Math.round(d+e.top+m)),new we(Math.round(e.left),Math.round(d+e.top+m))];case 3:return[new we(Math.round(e.left+i),Math.round(e.top)),new we(Math.round(e.left+i+a),Math.round(e.top)),new we(Math.round(e.left+i+a),Math.round(e.height+e.top)),new we(Math.round(e.left+i),Math.round(e.height+e.top))];case 1:return[new we(Math.round(e.left+i),Math.round(e.top+m)),new we(Math.round(e.left+i+a),Math.round(e.top+m)),new we(Math.round(e.left+i+a),Math.round(e.top+m+d)),new we(Math.round(e.left+i),Math.round(e.top+m+d))];default:return[new we(Math.round(o.left),Math.round(o.top)),new we(Math.round(o.left+o.width),Math.round(o.top)),new we(Math.round(o.left+o.width),Math.round(o.height+o.top)),new we(Math.round(o.left),Math.round(o.height+o.top))]}},DO="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Mi="Hidden Text",HO=function(){function t(n){this._data={},this._document=n}return t.prototype.parseMetrics=function(n,A){var e=this._document.createElement("div"),o=this._document.createElement("img"),i=this._document.createElement("span"),m=this._document.body;e.style.visibility="hidden",e.style.fontFamily=n,e.style.fontSize=A,e.style.margin="0",e.style.padding="0",e.style.whiteSpace="nowrap",m.appendChild(e),o.src=DO,o.width=1,o.height=1,o.style.margin="0",o.style.padding="0",o.style.verticalAlign="baseline",i.style.fontFamily=n,i.style.fontSize=A,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(Mi)),e.appendChild(i),e.appendChild(o);var a=o.offsetTop-i.offsetTop+2;e.removeChild(i),e.appendChild(this._document.createTextNode(Mi)),e.style.lineHeight="normal",o.style.verticalAlign="super";var d=o.offsetTop-e.offsetTop+2;return m.removeChild(e),{baseline:a,middle:d}},t.prototype.getMetrics=function(n,A){var e=n+" "+A;return typeof this._data[e]>"u"&&(this._data[e]=this.parseMetrics(n,A)),this._data[e]},t}(),zs=function(){function t(n,A){this.context=n,this.options=A}return t}(),TO=1e4,jO=function(t){Et(n,t);function n(A,e){var o=t.call(this,A,e)||this;return o._activeEffects=[],o.canvas=e.canvas?e.canvas:document.createElement("canvas"),o.ctx=o.canvas.getContext("2d"),e.canvas||(o.canvas.width=Math.floor(e.width*e.scale),o.canvas.height=Math.floor(e.height*e.scale),o.canvas.style.width=e.width+"px",o.canvas.style.height=e.height+"px"),o.fontMetrics=new HO(document),o.ctx.scale(o.options.scale,o.options.scale),o.ctx.translate(-e.x,-e.y),o.ctx.textBaseline="bottom",o._activeEffects=[],o.context.logger.debug("Canvas renderer initialized ("+e.width+"x"+e.height+") with scale "+e.scale),o}return n.prototype.applyEffects=function(A){for(var e=this;this._activeEffects.length;)this.popEffect();A.forEach(function(o){return e.applyEffect(o)})},n.prototype.applyEffect=function(A){this.ctx.save(),IO(A)&&(this.ctx.globalAlpha=A.opacity),xO(A)&&(this.ctx.translate(A.offsetX,A.offsetY),this.ctx.transform(A.matrix[0],A.matrix[1],A.matrix[2],A.matrix[3],A.matrix[4],A.matrix[5]),this.ctx.translate(-A.offsetX,-A.offsetY)),Rs(A)&&(this.path(A.path),this.ctx.clip()),this._activeEffects.push(A)},n.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},n.prototype.renderStack=function(A){return gt(this,void 0,void 0,function(){var e;return rt(this,function(o){switch(o.label){case 0:return e=A.element.container.styles,e.isVisible()?[4,this.renderStackContent(A)]:[3,2];case 1:o.sent(),o.label=2;case 2:return[2]}})})},n.prototype.renderNode=function(A){return gt(this,void 0,void 0,function(){return rt(this,function(e){switch(e.label){case 0:return lt(A.container.flags,16),A.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(A)]:[3,3];case 1:return e.sent(),[4,this.renderNodeContent(A)];case 2:e.sent(),e.label=3;case 3:return[2]}})})},n.prototype.renderTextWithLetterSpacing=function(A,e,o){var i=this;if(e===0)this.ctx.fillText(A.text,A.bounds.left,A.bounds.top+o);else{var m=yl(A.text);m.reduce(function(a,d){return i.ctx.fillText(d,a,A.bounds.top+o),a+i.ctx.measureText(d).width},A.bounds.left)}},n.prototype.createFontStyle=function(A){var e=A.fontVariant.filter(function(m){return m==="normal"||m==="small-caps"}).join(""),o=GO(A.fontFamily).join(", "),i=rA(A.fontSize)?""+A.fontSize.number+A.fontSize.unit:A.fontSize.number+"px";return[[A.fontStyle,e,A.fontWeight,i,o].join(" "),o,i]},n.prototype.renderTextNode=function(A,e){return gt(this,void 0,void 0,function(){var o,i,m,a,d,r,c,f,g=this;return rt(this,function(p){return o=this.createFontStyle(e),i=o[0],m=o[1],a=o[2],this.ctx.font=i,this.ctx.direction=e.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",d=this.fontMetrics.getMetrics(m,a),r=d.baseline,c=d.middle,f=e.paintOrder,A.textBounds.forEach(function(b){f.forEach(function(_){switch(_){case 0:g.ctx.fillStyle=at(e.color),g.renderTextWithLetterSpacing(b,e.letterSpacing,r);var B=e.textShadow;B.length&&b.text.trim().length&&(B.slice(0).reverse().forEach(function(y){g.ctx.shadowColor=at(y.color),g.ctx.shadowOffsetX=y.offsetX.number*g.options.scale,g.ctx.shadowOffsetY=y.offsetY.number*g.options.scale,g.ctx.shadowBlur=y.blur.number,g.renderTextWithLetterSpacing(b,e.letterSpacing,r)}),g.ctx.shadowColor="",g.ctx.shadowOffsetX=0,g.ctx.shadowOffsetY=0,g.ctx.shadowBlur=0),e.textDecorationLine.length&&(g.ctx.fillStyle=at(e.textDecorationColor||e.color),e.textDecorationLine.forEach(function(y){switch(y){case 1:g.ctx.fillRect(b.bounds.left,Math.round(b.bounds.top+r),b.bounds.width,1);break;case 2:g.ctx.fillRect(b.bounds.left,Math.round(b.bounds.top),b.bounds.width,1);break;case 3:g.ctx.fillRect(b.bounds.left,Math.ceil(b.bounds.top+c),b.bounds.width,1);break}}));break;case 1:e.webkitTextStrokeWidth&&b.text.trim().length&&(g.ctx.strokeStyle=at(e.webkitTextStrokeColor),g.ctx.lineWidth=e.webkitTextStrokeWidth,g.ctx.lineJoin=window.chrome?"miter":"round",g.ctx.strokeText(b.text,b.bounds.left,b.bounds.top+r)),g.ctx.strokeStyle="",g.ctx.lineWidth=0,g.ctx.lineJoin="miter";break}})}),[2]})})},n.prototype.renderReplacedElement=function(A,e,o){if(o&&A.intrinsicWidth>0&&A.intrinsicHeight>0){var i=tn(A),m=en(e);this.path(m),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(o,0,0,A.intrinsicWidth,A.intrinsicHeight,i.left,i.top,i.width,i.height),this.ctx.restore()}},n.prototype.renderNodeContent=function(A){return gt(this,void 0,void 0,function(){var e,o,i,m,a,d,Q,Q,r,c,f,g,N,p,b,w,_,B,y,Q,I,N,w;return rt(this,function(h){switch(h.label){case 0:this.applyEffects(A.getEffects(4)),e=A.container,o=A.curves,i=e.styles,m=0,a=e.textNodes,h.label=1;case 1:return m0&&k>0&&(F=i.ctx.createPattern(w,"repeat"),i.renderRepeat(j,F,J,ee))):Ik(c)&&(x=Rn(A,e,[null,null,null]),j=x[0],D=x[1],V=x[2],S=x[3],k=x[4],K=c.position.length===0?[bl]:c.position,J=$e(K[0],S),ee=$e(K[K.length-1],k),T=hk(c,J,ee,S,k),H=T[0],R=T[1],H>0&&R>0&&(G=i.ctx.createRadialGradient(D+J,V+ee,0,D+J,V+ee,H),ri(c.stops,H*2).forEach(function(te){return G.addColorStop(te.stop,at(te.color))}),i.path(j),i.ctx.fillStyle=G,H!==R?(z=A.bounds.left+.5*A.bounds.width,ie=A.bounds.top+.5*A.bounds.height,Y=R/H,Z=1/Y,i.ctx.save(),i.ctx.translate(z,ie),i.ctx.transform(1,0,0,Y,0,0),i.ctx.translate(-z,-ie),i.ctx.fillRect(D,Z*(V-ie)+ie,S,k*Z),i.ctx.restore()):i.ctx.fill())),re.label=6;case 6:return e--,[2]}})},i=this,m=0,a=A.styles.backgroundImage.slice(0).reverse(),r.label=1;case 1:return m0?c.style!==2?[3,5]:[4,this.renderDashedDottedBorder(c.color,c.width,a,A.curves,2)]:[3,11]):[3,13];case 4:return g.sent(),[3,11];case 5:return c.style!==3?[3,7]:[4,this.renderDashedDottedBorder(c.color,c.width,a,A.curves,3)];case 6:return g.sent(),[3,11];case 7:return c.style!==4?[3,9]:[4,this.renderDoubleBorder(c.color,c.width,a,A.curves)];case 8:return g.sent(),[3,11];case 9:return[4,this.renderSolidBorder(c.color,a,A.curves)];case 10:g.sent(),g.label=11;case 11:a++,g.label=12;case 12:return d++,[3,3];case 13:return[2]}})})},n.prototype.renderDashedDottedBorder=function(A,e,o,i,m){return gt(this,void 0,void 0,function(){var a,d,r,c,f,g,p,b,_,B,y,Q,I,N,w,h,w,h;return rt(this,function(E){return this.ctx.save(),a=LO(i,o),d=Ri(i,o),m===2&&(this.path(d),this.ctx.clip()),ht(d[0])?(r=d[0].start.x,c=d[0].start.y):(r=d[0].x,c=d[0].y),ht(d[1])?(f=d[1].end.x,g=d[1].end.y):(f=d[1].x,g=d[1].y),o===0||o===2?p=Math.abs(r-f):p=Math.abs(c-g),this.ctx.beginPath(),m===3?this.formatPath(a):this.formatPath(d.slice(0,2)),b=e<3?e*3:e*2,_=e<3?e*2:e,m===3&&(b=e,_=e),B=!0,p<=b*2?B=!1:p<=b*2+_?(y=p/(2*b+_),b*=y,_*=y):(Q=Math.floor((p+_)/(b+_)),I=(p-Q*b)/(Q-1),N=(p-(Q+1)*b)/Q,_=N<=0||Math.abs(_-I)i.pageTitle||"首页"),_=pe(()=>i.pageFooter.navConfig.tabVal||0),B=pe(()=>i.pageFooter.mbConfig.val),y=pe({get(){return i.pageName},set(oe){i.UPNAME(oe)}}),Q=pe(()=>e.query.page_type=="micro"),I=co.apiBaseURL.replace(/adminapi/,""),N=v(""),w=v(!1),h=v(""),E=v(""),F=v([]),x=v([]),j=v({}),D=new Set(Object.values(jA).filter(oe=>oe&&oe.pluginComponent&&oe.defaultName).map(oe=>oe.defaultName));function V(oe){const ne=oe&&oe.defaultName;return!ne||!D.has(ne)?!1:!j.value[ne]}const S=v([]),k=v([]),K=v(""),J=Mn({}),ee=v(-100),T=v(""),H=v(""),R=v(""),G=v([]),z=v(!1),ie=v(!1),Y=v(!1),Z=v(!1),re=v(!1),te=v(!1),ge=v(!1),W=v(0),Ae=v(!1),me=v(""),ye=v(""),Te=v(null),Pe={...jA,...It};function Qe(oe){return Pe[oe]||oe}function De(oe){const ne=p.value[oe.num]||{};return`${oe.configName}-${oe.num}-${Object.keys(ne).length}`}function _e(oe){if(!oe||oe.num===void 0||oe.configName==="c_custom_component")return!0;const ne=p.value[oe.num];return!!(ne&&ne.setUp)}const Ie=v(3),Ge=v({});Zs(),i.SETEMPTY(),Xs(),T.value=e.query.id,H.value=e.query.name,R.value=e.query.type,x.value=jo(jA),pc().then(oe=>{var ne;j.value=((ne=oe.data)==null?void 0:ne.available_components)||{},vn()}).catch(()=>{j.value={},vn()}),Ro();let Ne={imgList:[ic,ac],name:"购物车",link:"/pages/order_addcart/order_addcart"};ve(()=>{i.FOOTER({title:"是否自定义",name:Ne}),vn(),T.value!=0||e.query.tid?Il():R.value=="home"?xt():(i.SETEMPTY(),i.RESET_BOTTOM_MENU()),h.value=`${document.documentElement.clientHeight}`-65.81;let oe=`${document.documentElement.clientHeight}`-180;E.value=oe>650?650:oe,window.onresize=function(){h.value=`${document.documentElement.clientHeight}`-65.81;let ne=`${document.documentElement.clientHeight}`-180;E.value=ne>650?650:ne}}),M(S,(oe,ne)=>{A&&A(!0)},{deep:!0}),M(()=>S.value.length,(oe,ne)=>{A&&A(!0)}),M(p,(oe,ne)=>{A&&A(!0)},{deep:!0});async function We(oe){const ne=oe.querySelectorAll("img"),be=Array.from(ne).map(ke=>new Promise(Me=>{const Ue=ke.getAttribute("src");if(!Ue||Ue.startsWith("data:")){Me();return}const Le=Ue.includes("?")?"&":"?",He=`${Ue}${Le}_t=${Date.now()}`;fetch(He,{mode:"cors",cache:"no-store"}).then(et=>et.blob()).then(et=>{const Ee=new FileReader;Ee.onloadend=()=>{ke.setAttribute("src",Ee.result),Me()},Ee.onerror=()=>Me(),Ee.readAsDataURL(et)}).catch(()=>Me())}));await Promise.all(be)}function bt(oe){const ne=/(rgba?\([^)]+\)|#[0-9a-fA-F]{3,8})/g,be=[],ke=Ue=>Ue.replace(/\s/g,"").toLowerCase(),Me=Ue=>{const Le=ke(Ue||"");return!Le||Le==="transparent"||Le==="rgba(0,0,0,0)"||Le==="#0000"||Le==="#00000000"};return Array.from(oe.querySelectorAll("[data-custom-text-bg]")).forEach(Ue=>{const Le=window.getComputedStyle(Ue),He=Le.backgroundImage,et={};if(He&&He!=="none"){const Co=He.indexOf("gradient")>-1?He.match(ne):null;if(Co&&Co.length&&Co.every(oc=>ke(oc)===ke(Co[0]))){if(Me(Co[0]))return;et.backgroundColor=Co[0]}else et.backgroundImage=He,et.backgroundSize=Le.backgroundSize,et.backgroundPosition=Le.backgroundPosition,et.backgroundRepeat=Le.backgroundRepeat}else if(!Me(Le.backgroundColor))et.backgroundColor=Le.backgroundColor;else return;const Ee=document.createElement("div");Ee.setAttribute("data-custom-text-bg-layer",""),Object.assign(Ee.style,{position:"absolute",top:"0",right:"0",bottom:"0",left:"0",zIndex:"0",pointerEvents:"none",borderRadius:Le.borderRadius,...et});const Ke=Ue.firstElementChild,it=Ue.style.position,Fl=Ue.style.backgroundImage,qs=Ue.style.backgroundColor,ec=Ke&&Ke.style.position,tc=Ke&&Ke.style.zIndex;Le.position==="static"&&(Ue.style.position="relative"),Ue.style.backgroundImage="none",Ue.style.backgroundColor="transparent",Ue.insertBefore(Ee,Ue.firstChild),Ke&&(Ke.style.position="relative",Ke.style.zIndex="1"),be.push(()=>{Ee.remove(),Ue.style.position=it,Ue.style.backgroundImage=Fl,Ue.style.backgroundColor=qs,Ke&&(Ke.style.position=ec,Ke.style.zIndex=tc)})}),()=>be.forEach(Ue=>Ue())}function oo(oe){const ne=/(rgba?\([^)]+\)|#[0-9a-fA-F]{3,8})/g,be=[];return[oe].concat(Array.from(oe.querySelectorAll("*"))).forEach(Me=>{let Ue;try{Ue=window.getComputedStyle(Me).backgroundImage}catch{return}if(!Ue||Ue==="none"||Ue.indexOf("gradient")===-1)return;const Le=Ue.match(ne);if(!Le||!Le.every(et=>et.toLowerCase()===Le[0].toLowerCase())||Le[0].replace(/\s/g,"").toLowerCase()==="rgba(0,0,0,0)")return;const He=Me.style.backgroundImage;Me.style.backgroundImage="none",be.push(()=>{Me.style.backgroundImage=He})}),()=>be.forEach(Me=>Me())}function Ao(){const oe=ee.value;Ve.info("正在生成封面图片,请稍候..."),setTimeout(async()=>{let ne=()=>{};try{ee.value=-999,k.value=[],await ve();const be=document.getElementById("imgContainer");if(!be){Ve.error("未找到页面容器元素"),ee.value=oe,Ot(oe);return}await We(be);const ke=bt(be),Me=oo(be);ne=()=>{Me(),ke(),ne=()=>{}};const Ue=await WO(be,{useCORS:!0,allowTaint:!0,logging:!1,scale:2,backgroundColor:a.value?c.value:"#ffffff",scrollY:-window.scrollY,scrollX:-window.scrollX,windowWidth:be.scrollWidth,windowHeight:be.scrollHeight});ne(),Ue.toBlob(async Le=>{if(!Le){Ve.error("图片生成失败"),ee.value=oe,Ot(oe);return}const He=new FormData,et=`cover_${Date.now()}.png`,Ee=new File([Le],et,{type:"image/png"});He.append("file",Ee),He.append("type",1);try{const Ke=await uc(He);if(Ke.status===200){if(Ve.success("封面保存成功!"),ye.value=Ke.data.src,!S.value.length)return Ve.warning("请先配置DIY数据");if(!T.value)return Ve.warning("请先保存DIY数据");_c(T.value,{image:ye.value,type:R.value})}else Ve.error(Ke.msg||"封面保存失败")}catch(Ke){Ve.error(Ke.msg||"上传失败,请重试")}finally{ee.value=oe,Ot(oe)}},"image/png",.95)}catch(be){ne(),console.error("截图失败:",be),Ve.error("生成封面失败,请重试"),ee.value=oe,Ot(oe)}},300)}function Ot(oe){if(oe===-100)xt();else if(oe===-101)To();else if(oe===-102)go();else if(oe>=0&&oe{no(T.value,W.value)}),Kt(T.value)}function Kt(oe){Bc(oe).then(ne=>{N.value=ne.data.image}).catch(ne=>{Ve.error(ne)})}function no(oe,ne){Te.value.innerHTML="";let be=`${I}pages/index/index?theme_id=${e.query.id}`;new Sl(Te.value,{text:be,width:160,height:160,colorDark:"#000000",colorLight:"#ffffff",correctLevel:Sl.CorrectLevel.H})}function Dt(oe){return!(oe.relatedContext.element.name=="search_box"||oe.relatedContext.element.name=="nav_bar"||oe.relatedContext.element.name=="home_comb")}function St(oe){if(oe.name=="search_box"){if(Z.value)return Ve.error("该组件只能添加一次"),!1;if(te.value)return Ve.error("轮播搜索不能和搜索组件与选项卡组件同时存在"),!1}if(oe.name=="nav_bar"){if(re.value)return Ve.error("该组件只能添加一次"),!1;if(te.value)return Ve.error("轮播搜索不能和搜索组件与选项卡组件同时存在"),!1}if(oe.name=="home_comb"){if(te.value)return Ve.error("该组件只能添加一次"),!1;if(Z.value||re.value)return Ve.error("轮播搜索不能和搜索组件与选项卡组件同时存在"),!1}return oe.name=="home_service"&&ge.value?(Ve.error("该组件只能添加一次"),!1):!0}function Pt(oe,ne){oe=="search_box"&&(Z.value=ne),oe=="nav_bar"&&(re.value=ne),oe=="home_comb"&&(te.value=ne),oe=="home_service"&&(ge.value=ne)}function uA(oe){return JSON.parse(JSON.stringify(oe||{}))}function Vo(oe){return oe?JSON.parse(JSON.stringify(oe)):null}function Oo(oe,ne){return Object.keys(oe||{}).forEach(be=>{oe[be]&&oe[be].name==ne&&delete oe[be]}),oe}function Do(oe){let ne=Vo(i.bottomMenu);if(!ne||ne.name!="bottomMenu")return oe;let be=ne.timestamp||new Date().getTime()*1e3;return ne.timestamp=be,ne.id=ne.id||"id"+be,oe[be]=ne,oe}function Ho(oe){let ne=Vo(i.pageFooter);if(!ne||ne.name!="pageFoot")return oe;Oo(oe,"pageFoot");let be=ne.timestamp||new Date().getTime()*1e3;return ne.timestamp=be,ne.id=ne.id||"id"+be,oe[be]=ne,oe}function xt(){ee.value=-100;let oe={};for(var ne in It)ne=="pageTitle"&&(oe=It[ne],oe.configName=It[ne].name,oe.cname="页面设置");k.value=[],k.value[0]=JSON.parse(JSON.stringify(oe))}function To(){ee.value=-101;let oe={};for(var ne in It)ne=="pageFoot"&&(oe=It[ne],oe.configName=It[ne].name,oe.cname="底部菜单");k.value=[],k.value[0]=JSON.parse(JSON.stringify(oe))}function go(){ee.value=-102;let oe={};for(var ne in It)ne=="c_bottom_menu"&&(oe=It[ne],oe.configName=It[ne].name,oe.cname="底部菜单");k.value=[],k.value.push(JSON.parse(JSON.stringify(oe)))}function jo(oe){return Object.keys(oe).map(ke=>oe[ke])}function Ro(){let oe={};x.value.forEach(be=>{be.defaultName&&(oe[be.defaultName]||(oe[be.defaultName]=[]),oe[be.defaultName].push(be.name))});let ne=Object.keys(oe).reduce((be,ke)=>(oe[ke].length>1&&(be[ke]=oe[ke]),be),{});Object.keys(ne).length&&console.error("[DIY] mobilePage 组件 defaultName 重复,保存数据无法唯一匹配组件:",ne)}function fo(oe){if(oe.moved){if(oe.moved.element.name=="search_box")return Ve.warning("该组件禁止拖拽");oe.moved.oldNum=S.value[oe.moved.oldIndex].num,oe.moved.newNum=S.value[oe.moved.newIndex].num,oe.moved.status=oe.moved.oldIndex>oe.moved.newIndex,S.value.forEach((ke,Me)=>{ke.num=new Date().getTime()*1e3+Me}),oe.moved.list=S.value,k.value=[];let ne=oe.moved.element,be=JSON.parse(JSON.stringify(ne));k.value.push(be),ee.value=oe.moved.newIndex,i.SETCONFIGNAME(ne.name),i.defaultArraySort(oe.moved)}if(oe.added){let ne=oe.added.element;if(!St(ne)){S.value.splice(oe.added.newIndex,1);return}let be=new Date().getTime()*1e3;ne.num=be,K.value=ne.name;let ke=JSON.parse(JSON.stringify(ne));ke.id="id"+ke.num,S.value[oe.added.newIndex]=ke,k.value=[],k.value.push(ke),Pt(ne.name,!0),S.value.forEach((Me,Ue)=>{Me.num=new Date().getTime()*1e3+Ue}),oe.added.list=S.value,ee.value=oe.added.newIndex,i.SETCONFIGNAME(ne.name),i.defaultArraySort(oe.added)}}function vo(oe){return{...oe}}function Se(oe,ne,be){return oe[ne]=oe.splice(be,1,oe[ne])[0],oe}function le(oe,ne,be){if(be){if(ne==0)return}else if(ne==S.value.length-1)return;if(oe.name=="search_box"||oe.name=="nav_bar"||oe.name=="home_comb")return Ve.warning("该组件禁止移动");if(be){if(S.value[ne-1].name=="search_box"||S.value[ne-1].name=="nav_bar"||S.value[ne-1].name=="home_comb")return Ve.warning("搜索框或选项卡或轮播搜索必须为顶部");Se(S.value,ne-1,ne)}else Se(S.value,ne,ne+1);let ke={};k.value=[],ke.oldIndex=ne,be?ke.newIndex=ne-1:ke.newIndex=ne+1,S.value.forEach((Ue,Le)=>{Ue.num=new Date().getTime()*1e3+Le});let Me=JSON.parse(JSON.stringify(oe));k.value.push(Me),ke.element=oe,ke.list=S.value,be?ee.value=ne-1:ee.value=ne+1,i.SETCONFIGNAME(oe.name),i.defaultArraySort(ke)}function vt(oe,ne,be){if(!St(oe))return!1;Pt(oe.name,!0);let ke={},Me=new Date().getTime()*1e3;oe.num=`${Me}`,oe.id=`id${Me}`,K.value=oe.name;let Ue=JSON.parse(JSON.stringify(oe));return oe.name=="home_comb"?(k.value=[],S.value.unshift(Ue),ee.value=0,k.value.push(Ue)):oe.name=="search_box"?(k.value=[],S.value.unshift(Ue),ee.value=0,k.value.push(Ue)):oe.name=="nav_bar"?(k.value=[],S.value[0]&&S.value[0].name==="search_box"?(S.value.splice(1,0,Ue),ee.value=1):(S.value.splice(0,0,Ue),ee.value=0),k.value.push(Ue)):ne?(k.value=[],ee.value==0&&S.value[1]&&S.value[1].name=="nav_bar"?ee.value=2:ee.value=ee.value>=0?ee.value+1:S.value.length,S.value.splice(ee.value,0,Ue),k.value.push(Ue)):(S.value.splice(be+1,0,Ue),ee.value=be),S.value.forEach((Le,He)=>{Le.num=new Date().getTime()*1e3+He}),ke.element=oe,ke.list=S.value,i.SETCONFIGNAME(oe.name),i.defaultArraySort(ke),!0}function Fe(oe,ne,be){{let ke=i.defaultArray,Me=JSON.parse(JSON.stringify(ke[oe.num])),Ue=oe;if(x.value.forEach(Ke=>{oe.name==Ke.name&&(Ue=Ke)}),!vt(Ue,ne,be))return;let Le=be+1,He=S.value[Le],et=i.defaultArray,Ee={...Me,num:He.num,id:He.id,timestamp:et[He.num].timestamp};i.UPDATEARR({num:He.num,val:Ee})}}function Ye(oe,ne){vt(oe,ne)}function dA(oe,ne){if(V(oe))return;k.value=[];let be=JSON.parse(JSON.stringify(oe));k.value.push(be),ee.value=ne,i.SETCONFIGNAME(oe.name)}function fn(oe){let ne=i.defaultArray,be=k.value[0].num;ne[be].isHide=!ne[be].isHide,i.UPDATEARR({num:be,val:ne[be]})}function po(oe,ne){GA.confirm("确定要删除此组件吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Pt(oe.name,!1),S.value.splice(ne,1),k.value.splice(0,1),S.value.length!=ne?k.value.push(S.value[ne]):S.value.length?(ee.value=ne-1,k.value.push(S.value[ne-1])):xt(),i.DELETEARRAY(oe)}).catch(()=>{})}function Mo(oe){let ne=J;ne.data=oe,ne.name=K.value}function vn(){let oe=[],ne={title:"基础组件",list:[],isOpen:!0},be={title:"营销组件",list:[],isOpen:!0},ke={title:"商品组件",list:[],isOpen:!0},Me={title:"用户组件",list:[],isOpen:!0},Ue={title:"工具组件",list:[],isOpen:!0};x.value.map((Le,He)=>{V(Le)||(Le.type==0&&ne.list.push(Le),Le.type==1&&be.list.push(Le),Le.type==2&&Ue.list.push(Le),Le.type==3&&R.value!=="home"&&R.value!=="user"&&(Le.name==="home_product_info"||Le.cname==="商品信息"?ke.list.unshift(Le):ke.list.push(Le)),Le.type==4&&R.value!=="home"&&R.value!=="detail"&&Me.list.push(Le))}),oe.push(ne,be),R.value!=="home"&&R.value!=="user"&&oe.push(ke),R.value!=="home"&&R.value!=="detail"&&oe.push(Me),oe.push(Ue),F.value=oe}function Js(oe,ne,be,ke){let Me={};["home","detail","user"].includes(R.value)?Me={type:R.value,value:oe,title:b.value,name:y.value||"模板",is_show:m.value?1:0,is_bg_color:a.value?1:0,is_bg_pic:d.value?1:0,color_picker:c.value,bg_tab_val:f.value,bg_pic:g.value,cover_pic:ye.value}:["category","theme"].includes(R.value)&&(Me=oe);let Ue={type:R.value,value:Me};e.query.page_type==="micro"&&(Ue.page_type="micro"),be&&(Ue.title=be),e.query.tid&&(Ue.tid=e.query.tid),bc(be?0:T.value,Ue).then(Le=>{if(T.value!=Le.data.id&&!be){let He={...e.query,id:Le.data.id};delete He.tid,o.replace({query:He}),T.value=Le.data.id}Ve.success(Le.msg),Ae.value=!1,ne==2?(Y.value=!1,setTimeout(()=>{let He=Q.value?co.routePre+"/setting/theme/micro_page":co.routePre+"/setting/my_theme";window.location.replace(He)},2e3)):ie.value=!1,A&&A(!1)}).catch(Le=>{Y.value=!1,ie.value=!1,Ve.error(Le.msg)})}function Ys(){if(!me.value)return Ve.warning("请先输入模板名称");xl(1,me.value)}function xl(oe,ne,be){if(S.value.length==0)return Ve.error("暂未添加任何组件,保存失败!");oe==1?ie.value=!0:Y.value=!0;let ke=uA(i.defaultArray);R.value=="home"?ke=Ho(ke):R.value=="detail"&&(ke=Do(Oo(ke,"bottomMenu"))),ve(()=>{Js(ke,oe,ne)})}function Il(){let oe=T.value;oe==0&&e.query.tid&&(oe=e.query.tid),Cc(oe,R.value).then(ne=>{let be=ne.data;i.titleUpdata(be.title),i.nameUpdata(be.name),i.showUpdata(be.is_show),i.colorUpdata(be.is_bg_color||0),i.picUpdata(be.is_bg_pic||0),i.pickerUpdata(be.color_picker||"#f5f5f5"),i.radioUpdata(be.bg_tab_val||0),i.picurlUpdata(be.bg_pic||""),W.value=be.status;let ke=jo(be.value);function Me(He,et){return He.timestamp-et.timestamp}ke.sort(Me);let Ue=!1,Le=!1;ke.map((He,et)=>{if(He.name=="headerSerch"&&(Z.value=!0),He.name=="tabNav"&&(re.value=!0),He.name=="homeComb"&&(te.value=!0),He.name=="customerService"&&(ge.value=!0),He.name=="goodList",He.name=="bottomMenu"){Ue=!0,i.UPBOTTOMMENU(He);return}if(R.value=="home"&&He.name=="pageFoot"){Le=!0,z.value=!0,i.footPageUpdata(He);return}He.id="id"+He.timestamp;let Ee=x.value.find(it=>He.name==it.defaultName);if(!Ee)return;let Ke=JSON.parse(JSON.stringify(Ee));Ke.num=He.timestamp,Ke.id="id"+He.timestamp,S.value.push(Ke),i.ADDARRAY({num:He.timestamp,val:He})}),R.value=="home"&&Le?xt():R.value=="detail"&&!Ue&&i.RESET_BOTTOM_MENU()})}function Xs(oe){Yi().then(ne=>{G.value=ne.data})}function Ws(){T.value==0?Ve.error("新增页面,无法重置"):GA.confirm("此操作将清空模板内容, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(oe=>{S.value=[],k.value=[],ee.value=-99,Il()})}function $s(oe){return{user:"用户",article:"文章",coupon:"优惠券",goods:"商品"}[oe]||""}function Zs(){Xi("color_change").then(oe=>{Ie.value=oe.data.status?oe.data.status:3;let ne=[{theme:"#42CA4D",priceColor:"#FF7600",minorColor:"rgba(108, 198, 94, 0.5)",minorColorT:"rgba(66, 202, 77, 0.1)",bntColor:"#FE960F",gradient:"#4DEA4D"},{theme:"#e93323",priceColor:"#e93323",minorColor:"rgba(233, 51, 35, 0.5)",minorColorT:"rgba(233, 51, 35, 0.1)",bntColor:"#FE960F",gradient:"#FF7931"},{theme:"#1DB0FC",priceColor:"#FD502F",minorColor:"rgba(58, 139, 236, 0.5)",minorColorT:"rgba(9, 139, 243, 0.1)",bntColor:"#22CAFD",gradient:"#5ACBFF"},{theme:"#FF448F",priceColor:"#FF448F",minorColor:"rgba(255, 68, 143, 0.5)",minorColorT:"rgba(255, 68, 143, 0.1)",bntColor:"#282828",gradient:"#FF67AD"},{theme:"#FE5C2D",priceColor:"#FE5C2D",minorColor:"rgba(254, 92, 45, 0.5)",minorColorT:"rgba(254, 92, 45, 0.1)",bntColor:"#FDB000",gradient:"#FF9451"},{theme:"#E0A558",priceColor:"#DA8C18",minorColor:"rgba(224, 165, 88, 0.5)",minorColorT:"rgba(224, 165, 88, 0.1)",bntColor:"#1A1A1A",gradient:"#FFCD8C"}];switch(oe.data.status){case 1:Ge.value=ne[2];break;case 2:Ge.value=ne[0];break;case 3:Ge.value=ne[1];break;case 4:Ge.value=ne[3];break;case 5:Ge.value=ne[4];break;case 6:Ge.value=ne[5];break;default:Ge.value=ne[1];break}}).catch(oe=>{Ve.error(oe.msg)})}n({pageId:T,nameModal:Ae,preview:mo,saveConfig:xl});function Ul(){i.titleUpdata(""),i.nameUpdata(""),i.showUpdata(1),i.colorUpdata(0),i.picUpdata(0),i.pickerUpdata("#f5f5f5"),i.radioUpdata(0),i.picurlUpdata(""),i.SETEMPTY()}return dl(()=>{Ul()}),lc(()=>{Ul()}),(oe,ne)=>{const be=X("el-button"),ke=X("el-card"),Me=X("el-dialog"),Ue=X("el-input"),Le=jt("lazy"),He=jt("viewer"),et=jt("db-click");return s(),u("div",qO,[L(ke,{bordered:!1,shadow:"never"},{default:P(()=>[l("div",{class:"diy-wrapper",style:U("height:"+h.value+"px;")},[l("div",eD,[l("div",{class:"wrapper",style:U("height:"+h.value+"px;")},[(s(!0),u(q,null,ae(F.value,(Ee,Ke)=>(s(),u("div",{class:"list",key:Ke},[l("div",{class:"tips",onClick:it=>Ee.isOpen=!Ee.isOpen},[se($(Ee.title)+" ",1),Ee.isOpen?(s(),u("div",AD)):(s(),u("div",oD))],8,tD),L(de(mt),{class:"dragArea list-group",list:Ee.list,group:{name:"people",pull:"clone",put:!1},clone:vo,dragClass:"dragClass",filter:".search , .navbar , .homeComb , .service","item-key":de(Nl)},{item:P(({element:it})=>[Ze(l("div",{class:ue(["list-group-item",{search:it.cname=="搜索框",navbar:it.cname=="选项卡",homeComb:it.cname=="轮播搜索",service:it.cname=="悬浮按钮"}]),onClick:Fl=>Ye(it,1)},[l("div",null,[ne[5]||(ne[5]=l("div",{class:"position",style:{display:"none"}},"释放鼠标将组建添加到此处",-1)),(s(),u("svg",lD,[l("use",{"xlink:href":it.icon},null,8,iD)])),l("p",aD,$(it.cname),1)])],10,nD),[[ft,Ee.isOpen]])]),_:2},1032,["list","item-key"])]))),128))],4)]),l("div",sD,[l("div",cD,[l("div",rD,[l("div",uD,[ne[8]||(ne[8]=l("div",{class:"picture"},[l("img",{src:Qc})],-1)),R.value=="home"?(s(),u("div",{key:0,class:ue(["page-title",{on:ee.value==-100}]),onClick:xt},[se($(b.value)+" ",1),ne[6]||(ne[6]=l("div",{class:"delete-box"},null,-1)),ne[7]||(ne[7]=l("div",{class:"handle"},null,-1))],2)):O("",!0)]),l("div",{class:"scrollCon",style:U("height:"+E.value+"px;")},[l("div",dD,[l("div",{class:ue(["scroll-box",de(r)&&de(f)==2?"fullsize noRepeat":de(r)&&de(f)==1?"repeat ysize":"noRepeat ysize"]),style:U("background-color:"+(de(a)?de(c):"")+";background-image: url("+(de(r)?de(g):"")+");min-height:"+E.value+"px;"),id:"imgContainer"},[L(de(mt),{class:"dragArea list-group",list:S.value,group:"people",onChange:fo,filter:".top",move:Dt,animation:"300","item-key":de(Nl)},{item:P(({element:Ee,index:Ke})=>[l("div",{class:ue(["mConfig-item",{on:ee.value==Ke,top:Ee.name=="search_box"||Ee.name=="nav_bar",hide:de(p)[Ee.num]&&de(p)[Ee.num].isHide}]),onClick:Re(it=>dA(Ee,Ke),["stop"]),style:U(de(a)?"background-color:"+de(c)+";":"background-color: rgba(255,255,255, 0);")},[V(Ee)?(s(),u("div",gD,[l("span",null,"「"+$(Ee.cname)+"」当前不可用,数据已保留",1)])):(s(),ce(Oe(Qe(Ee.name)),{key:1,configData:J,index:Ke,num:Ee.num,colorStyle:Ge.value},null,8,["configData","index","num","colorStyle"])),l("div",fD,[l("div",vD,[l("div",{class:ue(["iconfont",de(p)[Ee.num]&&de(p)[Ee.num].isHide?"iconyincang":"iconxianshi"]),onClick:Re(it=>fn(Ee),["stop"])},null,10,pD),l("div",{class:"iconfont iconshanchu3",onClick:Re(it=>po(Ee,Ke),["stop"])},null,8,CD),l("div",{class:"iconfont icona-fuzhi1",onClick:Re(it=>Fe(Ee,0,Ke),["stop"])},null,8,_D),l("div",{class:ue(["iconfont iconshang",Ke===0?"on":""]),onClick:Re(it=>le(Ee,Ke,1),["stop"])},null,10,bD),l("div",{class:ue(["iconfont iconxia",Ke===S.value.length-1?"on":""]),onClick:Re(it=>le(Ee,Ke,0),["stop"])},null,10,BD)])]),ne[9]||(ne[9]=l("div",{class:"handle"},null,-1)),l("div",{class:ue(["delete-name",{on:ee.value==Ke}])},[Ee.name=="home_custom_component"&&de(p)[Ee.num]&&de(p)[Ee.num].selectType?(s(),u("span",hD,$($s(de(p)[Ee.num].selectType.activeValue)),1)):O("",!0),se(" "+$(Ee.cname),1)],2)],14,mD)]),_:1},8,["list","item-key"])],6)])],4),R.value=="home"&&!Q.value?(s(),u("div",yD,[l("div",{class:ue(["page-foot",{on:ee.value==-101}]),onClick:To,style:U(_.value==1?"bottom:"+(50+B.value)+"px":"")},[L(de(IL)),ne[10]||(ne[10]=l("div",{class:"delete-box"},null,-1)),ne[11]||(ne[11]=l("div",{class:"handle"},null,-1))],6)])):O("",!0),R.value=="detail"?(s(),u("div",wD,[l("div",{class:ue(["page-foot",{on:ee.value==-102}]),onClick:go},[L(Aa,{colorStyle:Ge.value},null,8,["colorStyle"]),ne[12]||(ne[12]=l("div",{class:"delete-box"},null,-1)),ne[13]||(ne[13]=l("div",{class:"handle"},null,-1))],2)])):O("",!0),T.value!==0?(s(),u("div",QD,[L(be,{class:"data",onClick:xt},{default:P(()=>[...ne[14]||(ne[14]=[se("页面设置",-1)])]),_:1}),L(be,{class:"data",onClick:ne[0]||(ne[0]=Ee=>Ae.value=!0)},{default:P(()=>[...ne[15]||(ne[15]=[se("另存模版",-1)])]),_:1}),L(be,{class:"data",onClick:Ws},{default:P(()=>[...ne[16]||(ne[16]=[se("重置",-1)])]),_:1}),Q.value?O("",!0):(s(),ce(be,{key:0,class:"data",onClick:Ao},{default:P(()=>[...ne[17]||(ne[17]=[se("保存为封面",-1)])]),_:1}))])):O("",!0)])])]),l("div",xD,[(s(!0),u(q,null,ae(k.value,(Ee,Ke)=>(s(),u("div",{class:"mConfig-item",style:{"background-color":"#fff"},key:Ke},[_e(Ee)?(s(),ce(Oe(Qe(Ee.configName)),{key:De(Ee),onConfig:Mo,activeIndex:ee.value,num:Ee.num,index:Ke},null,40,["activeIndex","num","index"])):O("",!0)]))),128))])],4)]),_:1}),L(Me,{modelValue:w.value,"onUpdate:modelValue":ne[1]||(ne[1]=Ee=>w.value=Ee),width:"540px",title:"预览"},{default:P(()=>[l("div",null,[Ze((s(),u("div",ID,[l("div",UD,[l("div",{class:"QRpic",ref_key:"qrCodeUrl",ref:Te},null,512),ne[18]||(ne[18]=l("span",{class:"mt10"},"公众号二维码",-1))]),l("div",FD,[l("div",ED,[Ze(l("img",null,null,512),[[Le,N.value]])]),ne[19]||(ne[19]=l("span",{class:"mt10"},"小程序二维码",-1))])])),[[He]])])]),_:1},8,["modelValue"]),L(Me,{modelValue:Ae.value,"onUpdate:modelValue":ne[4]||(ne[4]=Ee=>Ae.value=Ee),width:"470px",title:"设置模版名称","show-close":!0},{footer:P(()=>[l("span",SD,[Ze((s(),ce(be,{onClick:ne[3]||(ne[3]=Ee=>Ae.value=!1)},{default:P(()=>[...ne[20]||(ne[20]=[se("取 消",-1)])]),_:1})),[[et]]),Ze((s(),ce(be,{type:"primary",onClick:Ys},{default:P(()=>[...ne[21]||(ne[21]=[se("确 定",-1)])]),_:1})),[[et]])])]),default:P(()=>[L(Ue,{modelValue:me.value,"onUpdate:modelValue":ne[2]||(ne[2]=Ee=>me.value=Ee),placeholder:"请输入模版名称"},null,8,["modelValue"])]),_:1},8,["modelValue"])])}}}),ZD=fe(LD,[["__scopeId","data-v-bb231fdd"]]);export{ZD as default}; diff --git a/backend/public/admin/system_static/echarts-C6m23LPs.js b/backend/public/admin/system_static/echarts-C6m23LPs.js new file mode 100644 index 000000000..3dc617b1a --- /dev/null +++ b/backend/public/admin/system_static/echarts-C6m23LPs.js @@ -0,0 +1,56 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */var $u=function(r,t){return $u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])},$u(r,t)};function N(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");$u(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var D1=function(){function r(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return r}(),A1=function(){function r(){this.browser=new D1,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return r}(),Q=new A1;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(Q.wxa=!0,Q.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?Q.worker=!0:!Q.hasGlobalWindow||"Deno"in window?(Q.node=!0,Q.svgSupported=!0):L1(navigator.userAgent,Q);function L1(r,t){var e=t.browser,n=r.match(/Firefox\/([\d.]+)/),i=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/.+?rv:(([\d.]+))/),a=r.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(r);n&&(e.firefox=!0,e.version=n[1]),i&&(e.ie=!0,e.version=i[1]),a&&(e.edge=!0,e.version=a[1],e.newEdge=+a[1].split(".")[0]>18),o&&(e.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!e.ie&&!e.edge,t.pointerEventsSupported="onpointerdown"in window&&(e.edge||e.ie&&+e.version>=11),t.domSupported=typeof document<"u";var s=document.documentElement.style;t.transform3dSupported=(e.ie&&"transition"in s||e.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||e.ie&&+e.version>=9}var hh=12,I1="sans-serif",gn=hh+"px "+I1,P1=20,R1=100,E1="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function k1(r){var t={};if(typeof JSON>"u")return t;for(var e=0;e=0)s=o*e.length;else for(var l=0;l>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[l]+":0",i[u]+":0",n[1-l]+":auto",i[1-u]+":auto",""].join("!important;"),r.appendChild(o),e.push(o)}return e}function iS(r,t,e){for(var n=e?"invTrans":"trans",i=t[n],a=t.srcCoords,o=[],s=[],l=!0,u=0;u<4;u++){var f=r[u].getBoundingClientRect(),h=2*u,c=f.left,v=f.top;o.push(c,v),l=l&&a&&c===a[h]&&v===a[h+1],s.push(r[u].offsetLeft,r[u].offsetTop)}return l&&i?i:(t.srcCoords=o,t[n]=e?Rv(s,o):Rv(o,s))}function sy(r){return r.nodeName.toUpperCase()==="CANVAS"}var aS=/([&<>"'])/g,oS={"&":"&","<":"<",">":">",'"':""","'":"'"};function Kt(r){return r==null?"":(r+"").replace(aS,function(t,e){return oS[e]})}var sS=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,_l=[],lS=Q.browser.firefox&&+Q.browser.version.split(".")[0]<39;function ef(r,t,e,n){return e=e||{},n?kv(r,t,e):lS&&t.layerX!=null&&t.layerX!==t.offsetX?(e.zrX=t.layerX,e.zrY=t.layerY):t.offsetX!=null?(e.zrX=t.offsetX,e.zrY=t.offsetY):kv(r,t,e),e}function kv(r,t,e){if(Q.domSupported&&r.getBoundingClientRect){var n=t.clientX,i=t.clientY;if(sy(r)){var a=r.getBoundingClientRect();e.zrX=n-a.left,e.zrY=i-a.top;return}else if(tf(_l,r,n,i)){e.zrX=_l[0],e.zrY=_l[1];return}}e.zrX=e.zrY=0}function gh(r){return r||window.event}function fe(r,t,e){if(t=gh(t),t.zrX!=null)return t;var n=t.type,i=n&&n.indexOf("touch")>=0;if(i){var o=n!=="touchend"?t.targetTouches[0]:t.changedTouches[0];o&&ef(r,o,t,e)}else{ef(r,t,t,e);var a=uS(t);t.zrDelta=a?a/120:-(t.detail||0)/3}var s=t.button;return t.which==null&&s!==void 0&&sS.test(t.type)&&(t.which=s&1?1:s&2?3:s&4?2:0),t}function uS(r){var t=r.wheelDelta;if(t)return t;var e=r.deltaX,n=r.deltaY;if(e==null||n==null)return t;var i=Math.abs(n!==0?n:e),a=n>0?-1:n<0?1:e>0?-1:1;return 3*i*a}function rf(r,t,e,n){r.addEventListener(t,e,n)}function fS(r,t,e,n){r.removeEventListener(t,e,n)}var si=function(r){r.preventDefault(),r.stopPropagation(),r.cancelBubble=!0};function Ov(r){return r.which===2||r.which===3}var hS=function(){function r(){this._track=[]}return r.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},r.prototype.clear=function(){return this._track.length=0,this},r.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var a={points:[],touches:[],target:e,event:t},o=0,s=i.length;o1&&n&&n.length>1){var a=Bv(n)/Bv(i);!isFinite(a)&&(a=1),t.pinchScale=a;var o=vS(n);return t.pinchX=o[0],t.pinchY=o[1],{type:"pinch",target:r[0].target,event:t}}}}};function Jn(){return[1,0,0,1,0,0]}function yh(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function cS(r,t){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r[4]=t[4],r[5]=t[5],r}function jn(r,t,e){var n=t[0]*e[0]+t[2]*e[1],i=t[1]*e[0]+t[3]*e[1],a=t[0]*e[2]+t[2]*e[3],o=t[1]*e[2]+t[3]*e[3],s=t[0]*e[4]+t[2]*e[5]+t[4],l=t[1]*e[4]+t[3]*e[5]+t[5];return r[0]=n,r[1]=i,r[2]=a,r[3]=o,r[4]=s,r[5]=l,r}function nf(r,t,e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r[4]=t[4]+e[0],r[5]=t[5]+e[1],r}function mh(r,t,e,n){n===void 0&&(n=[0,0]);var i=t[0],a=t[2],o=t[4],s=t[1],l=t[3],u=t[5],f=Math.sin(e),h=Math.cos(e);return r[0]=i*h+s*f,r[1]=-i*f+s*h,r[2]=a*h+l*f,r[3]=-a*f+h*l,r[4]=h*(o-n[0])+f*(u-n[1])+n[0],r[5]=h*(u-n[1])-f*(o-n[0])+n[1],r}function dS(r,t,e){var n=e[0],i=e[1];return r[0]=t[0]*n,r[1]=t[1]*i,r[2]=t[2]*n,r[3]=t[3]*i,r[4]=t[4]*n,r[5]=t[5]*i,r}function Ns(r,t){var e=t[0],n=t[2],i=t[4],a=t[1],o=t[3],s=t[5],l=e*o-a*n;return l?(l=1/l,r[0]=o*l,r[1]=-a*l,r[2]=-n*l,r[3]=e*l,r[4]=(n*s-o*i)*l,r[5]=(a*i-e*s)*l,r):null}var Y=function(){function r(t,e){this.x=t||0,this.y=e||0}return r.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},r.prototype.clone=function(){return new r(this.x,this.y)},r.prototype.set=function(t,e){return this.x=t,this.y=e,this},r.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},r.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},r.prototype.scale=function(t){this.x*=t,this.y*=t},r.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},r.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},r.prototype.dot=function(t){return this.x*t.x+this.y*t.y},r.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},r.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},r.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},r.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},r.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},r.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},r.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},r.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},r.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},r.set=function(t,e,n){t.x=e,t.y=n},r.copy=function(t,e){t.x=e.x,t.y=e.y},r.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},r.lenSquare=function(t){return t.x*t.x+t.y*t.y},r.dot=function(t,e){return t.x*e.x+t.y*e.y},r.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},r.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},r.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},r.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},r.lerp=function(t,e,n,i){var a=1-i;t.x=a*e.x+i*n.x,t.y=a*e.y+i*n.y},r}(),qa=Math.min,Ka=Math.max,Fr=new Y,zr=new Y,Gr=new Y,Vr=new Y,Ci=new Y,Mi=new Y,lt=function(){function r(t,e,n,i){n<0&&(t=t+n,n=-n),i<0&&(e=e+i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return r.prototype.union=function(t){var e=qa(t.x,this.x),n=qa(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Ka(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=Ka(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},r.prototype.applyTransform=function(t){r.applyTransform(this,this,t)},r.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,a=Jn();return nf(a,a,[-e.x,-e.y]),dS(a,a,[n,i]),nf(a,a,[t.x,t.y]),a},r.prototype.intersect=function(t,e){if(!t)return!1;t instanceof r||(t=r.create(t));var n=this,i=n.x,a=n.x+n.width,o=n.y,s=n.y+n.height,l=t.x,u=t.x+t.width,f=t.y,h=t.y+t.height,c=!(ad&&(d=_,pd&&(d=S,y=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},r.prototype.clone=function(){return new r(this.x,this.y,this.width,this.height)},r.prototype.copy=function(t){r.copy(this,t)},r.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},r.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},r.prototype.isZero=function(){return this.width===0||this.height===0},r.create=function(t){return new r(t.x,t.y,t.width,t.height)},r.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},r.applyTransform=function(t,e,n){if(!n){t!==e&&r.copy(t,e);return}if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var i=n[0],a=n[3],o=n[4],s=n[5];t.x=e.x*i+o,t.y=e.y*a+s,t.width=e.width*i,t.height=e.height*a,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}Fr.x=Gr.x=e.x,Fr.y=Vr.y=e.y,zr.x=Vr.x=e.x+e.width,zr.y=Gr.y=e.y+e.height,Fr.transform(n),Vr.transform(n),zr.transform(n),Gr.transform(n),t.x=qa(Fr.x,zr.x,Gr.x,Vr.x),t.y=qa(Fr.y,zr.y,Gr.y,Vr.y);var l=Ka(Fr.x,zr.x,Gr.x,Vr.x),u=Ka(Fr.y,zr.y,Gr.y,Vr.y);t.width=l-t.x,t.height=u-t.y},r}(),ly="silent";function pS(r,t,e){return{type:r,event:e,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:e.zrX,offsetY:e.zrY,gestureEvent:e.gestureEvent,pinchX:e.pinchX,pinchY:e.pinchY,pinchScale:e.pinchScale,wheelDelta:e.zrDelta,zrByTouch:e.zrByTouch,which:e.which,stop:gS}}function gS(){si(this.event)}var yS=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.handler=null,e}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(me),Di=function(){function r(t,e){this.x=t,this.y=e}return r}(),mS=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],xl=new lt(0,0,0,0),uy=function(r){N(t,r);function t(e,n,i,a,o){var s=r.call(this)||this;return s._hovered=new Di(0,0),s.storage=e,s.painter=n,s.painterRoot=a,s._pointerSize=o,i=i||new yS,s.proxy=null,s.setHandlerProxy(i),s._draggingMgr=new tS(s),s}return t.prototype.setHandlerProxy=function(e){this.proxy&&this.proxy.dispose(),e&&(M(mS,function(n){e.on&&e.on(n,this[n],this)},this),e.handler=this),this.proxy=e},t.prototype.mousemove=function(e){var n=e.zrX,i=e.zrY,a=fy(this,n,i),o=this._hovered,s=o.target;s&&!s.__zr&&(o=this.findHover(o.x,o.y),s=o.target);var l=this._hovered=a?new Di(n,i):this.findHover(n,i),u=l.target,f=this.proxy;f.setCursor&&f.setCursor(u?u.cursor:"default"),s&&u!==s&&this.dispatchToElement(o,"mouseout",e),this.dispatchToElement(l,"mousemove",e),u&&u!==s&&this.dispatchToElement(l,"mouseover",e)},t.prototype.mouseout=function(e){var n=e.zrEventControl;n!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",e),n!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:e})},t.prototype.resize=function(){this._hovered=new Di(0,0)},t.prototype.dispatch=function(e,n){var i=this[e];i&&i.call(this,n)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(e){var n=this.proxy;n.setCursor&&n.setCursor(e)},t.prototype.dispatchToElement=function(e,n,i){e=e||{};var a=e.target;if(!(a&&a.silent)){for(var o="on"+n,s=pS(n,e,i);a&&(a[o]&&(s.cancelBubble=!!a[o].call(a,s)),a.trigger(n,s),a=a.__hostTarget?a.__hostTarget:a.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(n,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(l){typeof l[o]=="function"&&l[o].call(l,s),l.trigger&&l.trigger(n,s)}))}},t.prototype.findHover=function(e,n,i){var a=this.storage.getDisplayList(),o=new Di(e,n);if(Nv(a,o,e,n,i),this._pointerSize&&!o.target){for(var s=[],l=this._pointerSize,u=l/2,f=new lt(e-u,n-u,l,l),h=a.length-1;h>=0;h--){var c=a[h];c!==i&&!c.ignore&&!c.ignoreCoarsePointer&&(!c.parent||!c.parent.ignoreCoarsePointer)&&(xl.copy(c.getBoundingRect()),c.transform&&xl.applyTransform(c.transform),xl.intersect(f)&&s.push(c))}if(s.length)for(var v=4,d=Math.PI/12,p=Math.PI*2,g=0;g4)return;this._downPoint=null}this.dispatchToElement(a,r,t)}});function _S(r,t,e){if(r[r.rectHover?"rectContain":"contain"](t,e)){for(var n=r,i=void 0,a=!1;n;){if(n.ignoreClip&&(a=!0),!a){var o=n.getClipPath();if(o&&!o.contain(t,e))return!1}n.silent&&(i=!0);var s=n.__hostTarget;n=s||n.parent}return i?ly:!0}return!1}function Nv(r,t,e,n,i){for(var a=r.length-1;a>=0;a--){var o=r[a],s=void 0;if(o!==i&&!o.ignore&&(s=_S(o,e,n))&&(!t.topTarget&&(t.topTarget=o),s!==ly)){t.target=o;break}}}function fy(r,t,e){var n=r.painter;return t<0||t>n.getWidth()||e<0||e>n.getHeight()}var hy=32,Ai=7;function SS(r){for(var t=0;r>=hy;)t|=r&1,r>>=1;return r+t}function Fv(r,t,e,n){var i=t+1;if(i===e)return 1;if(n(r[i++],r[t])<0){for(;i=0;)i++;return i-t}function xS(r,t,e){for(e--;t>>1,i(a,r[l])<0?s=l:o=l+1;var u=n-o;switch(u){case 3:r[o+3]=r[o+2];case 2:r[o+2]=r[o+1];case 1:r[o+1]=r[o];break;default:for(;u>0;)r[o+u]=r[o+u-1],u--}r[o]=a}}function wl(r,t,e,n,i,a){var o=0,s=0,l=1;if(a(r,t[e+i])>0){for(s=n-i;l0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=i,l+=i}else{for(s=i+1;ls&&(l=s);var u=o;o=i-l,l=i-u}for(o++;o>>1);a(r,t[e+f])>0?o=f+1:l=f}return l}function bl(r,t,e,n,i,a){var o=0,s=0,l=1;if(a(r,t[e+i])<0){for(s=i+1;ls&&(l=s);var u=o;o=i-l,l=i-u}else{for(s=n-i;l=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=i,l+=i}for(o++;o>>1);a(r,t[e+f])<0?l=f:o=f+1}return l}function wS(r,t){var e=Ai,n,i,a=0,o=[];n=[],i=[];function s(v,d){n[a]=v,i[a]=d,a+=1}function l(){for(;a>1;){var v=a-2;if(v>=1&&i[v-1]<=i[v]+i[v+1]||v>=2&&i[v-2]<=i[v]+i[v-1])i[v-1]i[v+1])break;f(v)}}function u(){for(;a>1;){var v=a-2;v>0&&i[v-1]=Ai||b>=Ai);if(C)break;w<0&&(w=0),w+=2}if(e=w,e<1&&(e=1),d===1){for(y=0;y=0;y--)r[x+y]=r[w+y];r[S]=o[_];return}for(var b=e;;){var C=0,T=0,D=!1;do if(t(o[_],r[m])<0){if(r[S--]=r[m--],C++,T=0,--d===0){D=!0;break}}else if(r[S--]=o[_--],T++,C=0,--g===1){D=!0;break}while((C|T)=0;y--)r[x+y]=r[w+y];if(d===0){D=!0;break}}if(r[S--]=o[_--],--g===1){D=!0;break}if(T=g-wl(r[m],o,0,g,g-1,t),T!==0){for(S-=T,_-=T,g-=T,x=S+1,w=_+1,y=0;y=Ai||T>=Ai);if(D)break;b<0&&(b=0),b+=2}if(e=b,e<1&&(e=1),g===1){for(S-=d,m-=d,x=S+1,w=m+1,y=d-1;y>=0;y--)r[x+y]=r[w+y];r[S]=o[_]}else{if(g===0)throw new Error;for(w=S-(g-1),y=0;ys&&(l=s),zv(r,e,e+l,e+a,t),a=l}o.pushRun(e,a),o.mergeRuns(),i-=a,e+=a}while(i!==0);o.forceMergeRuns()}}var ie=1,qi=2,Wn=4,Gv=!1;function Tl(){Gv||(Gv=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Vv(r,t){return r.zlevel===t.zlevel?r.z===t.z?r.z2-t.z2:r.z-t.z:r.zlevel-t.zlevel}var bS=function(){function r(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Vv}return r.prototype.traverse=function(t,e){for(var n=0;n0&&(f.__clipPaths=[]),isNaN(f.z)&&(Tl(),f.z=0),isNaN(f.z2)&&(Tl(),f.z2=0),isNaN(f.zlevel)&&(Tl(),f.zlevel=0),this._displayList[this._displayListLen++]=f}var h=t.getDecalElement&&t.getDecalElement();h&&this._updateAndAddDisplayable(h,e,n);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,e,n);var v=t.getTextContent();v&&this._updateAndAddDisplayable(v,e,n)}},r.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},r.prototype.delRoot=function(t){if(t instanceof Array){for(var e=0,n=t.length;e=0&&this._roots.splice(i,1)},r.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},r.prototype.getRoots=function(){return this._roots},r.prototype.dispose=function(){this._displayList=null,this._roots=null},r}(),ts;ts=Q.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(r){return setTimeout(r,16)};var oa={linear:function(r){return r},quadraticIn:function(r){return r*r},quadraticOut:function(r){return r*(2-r)},quadraticInOut:function(r){return(r*=2)<1?.5*r*r:-.5*(--r*(r-2)-1)},cubicIn:function(r){return r*r*r},cubicOut:function(r){return--r*r*r+1},cubicInOut:function(r){return(r*=2)<1?.5*r*r*r:.5*((r-=2)*r*r+2)},quarticIn:function(r){return r*r*r*r},quarticOut:function(r){return 1- --r*r*r*r},quarticInOut:function(r){return(r*=2)<1?.5*r*r*r*r:-.5*((r-=2)*r*r*r-2)},quinticIn:function(r){return r*r*r*r*r},quinticOut:function(r){return--r*r*r*r*r+1},quinticInOut:function(r){return(r*=2)<1?.5*r*r*r*r*r:.5*((r-=2)*r*r*r*r+2)},sinusoidalIn:function(r){return 1-Math.cos(r*Math.PI/2)},sinusoidalOut:function(r){return Math.sin(r*Math.PI/2)},sinusoidalInOut:function(r){return .5*(1-Math.cos(Math.PI*r))},exponentialIn:function(r){return r===0?0:Math.pow(1024,r-1)},exponentialOut:function(r){return r===1?1:1-Math.pow(2,-10*r)},exponentialInOut:function(r){return r===0?0:r===1?1:(r*=2)<1?.5*Math.pow(1024,r-1):.5*(-Math.pow(2,-10*(r-1))+2)},circularIn:function(r){return 1-Math.sqrt(1-r*r)},circularOut:function(r){return Math.sqrt(1- --r*r)},circularInOut:function(r){return(r*=2)<1?-.5*(Math.sqrt(1-r*r)-1):.5*(Math.sqrt(1-(r-=2)*r)+1)},elasticIn:function(r){var t,e=.1,n=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=n/4):t=n*Math.asin(1/e)/(2*Math.PI),-(e*Math.pow(2,10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/n)))},elasticOut:function(r){var t,e=.1,n=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=n/4):t=n*Math.asin(1/e)/(2*Math.PI),e*Math.pow(2,-10*r)*Math.sin((r-t)*(2*Math.PI)/n)+1)},elasticInOut:function(r){var t,e=.1,n=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=n/4):t=n*Math.asin(1/e)/(2*Math.PI),(r*=2)<1?-.5*(e*Math.pow(2,10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/n)):e*Math.pow(2,-10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/n)*.5+1)},backIn:function(r){var t=1.70158;return r*r*((t+1)*r-t)},backOut:function(r){var t=1.70158;return--r*r*((t+1)*r+t)+1},backInOut:function(r){var t=2.5949095;return(r*=2)<1?.5*(r*r*((t+1)*r-t)):.5*((r-=2)*r*((t+1)*r+t)+2)},bounceIn:function(r){return 1-oa.bounceOut(1-r)},bounceOut:function(r){return r<1/2.75?7.5625*r*r:r<2/2.75?7.5625*(r-=1.5/2.75)*r+.75:r<2.5/2.75?7.5625*(r-=2.25/2.75)*r+.9375:7.5625*(r-=2.625/2.75)*r+.984375},bounceInOut:function(r){return r<.5?oa.bounceIn(r*2)*.5:oa.bounceOut(r*2-1)*.5+.5}},Qa=Math.pow,Ar=Math.sqrt,es=1e-8,vy=1e-4,Hv=Ar(3),Ja=1/3,Ne=gi(),ce=gi(),ti=gi();function Cr(r){return r>-es&&res||r<-es}function Lt(r,t,e,n,i){var a=1-i;return a*a*(a*r+3*i*t)+i*i*(i*n+3*a*e)}function Wv(r,t,e,n,i){var a=1-i;return 3*(((t-r)*a+2*(e-t)*i)*a+(n-e)*i*i)}function rs(r,t,e,n,i,a){var o=n+3*(t-e)-r,s=3*(e-t*2+r),l=3*(t-r),u=r-i,f=s*s-3*o*l,h=s*l-9*o*u,c=l*l-3*s*u,v=0;if(Cr(f)&&Cr(h))if(Cr(s))a[0]=0;else{var d=-l/s;d>=0&&d<=1&&(a[v++]=d)}else{var p=h*h-4*f*c;if(Cr(p)){var g=h/f,d=-s/o+g,y=-g/2;d>=0&&d<=1&&(a[v++]=d),y>=0&&y<=1&&(a[v++]=y)}else if(p>0){var m=Ar(p),_=f*s+1.5*o*(-h+m),S=f*s+1.5*o*(-h-m);_<0?_=-Qa(-_,Ja):_=Qa(_,Ja),S<0?S=-Qa(-S,Ja):S=Qa(S,Ja);var d=(-s-(_+S))/(3*o);d>=0&&d<=1&&(a[v++]=d)}else{var w=(2*f*s-3*o*h)/(2*Ar(f*f*f)),x=Math.acos(w)/3,b=Ar(f),C=Math.cos(x),d=(-s-2*b*C)/(3*o),y=(-s+b*(C+Hv*Math.sin(x)))/(3*o),T=(-s+b*(C-Hv*Math.sin(x)))/(3*o);d>=0&&d<=1&&(a[v++]=d),y>=0&&y<=1&&(a[v++]=y),T>=0&&T<=1&&(a[v++]=T)}}return v}function dy(r,t,e,n,i){var a=6*e-12*t+6*r,o=9*t+3*n-3*r-9*e,s=3*t-3*r,l=0;if(Cr(o)){if(cy(a)){var u=-s/a;u>=0&&u<=1&&(i[l++]=u)}}else{var f=a*a-4*o*s;if(Cr(f))i[0]=-a/(2*o);else if(f>0){var h=Ar(f),u=(-a+h)/(2*o),c=(-a-h)/(2*o);u>=0&&u<=1&&(i[l++]=u),c>=0&&c<=1&&(i[l++]=c)}}return l}function Er(r,t,e,n,i,a){var o=(t-r)*i+r,s=(e-t)*i+t,l=(n-e)*i+e,u=(s-o)*i+o,f=(l-s)*i+s,h=(f-u)*i+u;a[0]=r,a[1]=o,a[2]=u,a[3]=h,a[4]=h,a[5]=f,a[6]=l,a[7]=n}function py(r,t,e,n,i,a,o,s,l,u,f){var h,c=.005,v=1/0,d,p,g,y;Ne[0]=l,Ne[1]=u;for(var m=0;m<1;m+=.05)ce[0]=Lt(r,e,i,o,m),ce[1]=Lt(t,n,a,s,m),g=Qn(Ne,ce),g=0&&g=0&&u<=1&&(i[l++]=u)}}else{var f=o*o-4*a*s;if(Cr(f)){var u=-o/(2*a);u>=0&&u<=1&&(i[l++]=u)}else if(f>0){var h=Ar(f),u=(-o+h)/(2*a),c=(-o-h)/(2*a);u>=0&&u<=1&&(i[l++]=u),c>=0&&c<=1&&(i[l++]=c)}}return l}function gy(r,t,e){var n=r+e-2*t;return n===0?.5:(r-t)/n}function ns(r,t,e,n,i){var a=(t-r)*n+r,o=(e-t)*n+t,s=(o-a)*n+a;i[0]=r,i[1]=a,i[2]=s,i[3]=s,i[4]=o,i[5]=e}function yy(r,t,e,n,i,a,o,s,l){var u,f=.005,h=1/0;Ne[0]=o,Ne[1]=s;for(var c=0;c<1;c+=.05){ce[0]=zt(r,e,i,c),ce[1]=zt(t,n,a,c);var v=Qn(Ne,ce);v=0&&v=1?1:rs(0,n,a,1,l,s)&&Lt(0,i,o,1,s[0])}}}var AS=function(){function r(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||Zt,this.ondestroy=t.ondestroy||Zt,this.onrestart=t.onrestart||Zt,t.easing&&this.setEasing(t.easing)}return r.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=e;return}var n=this._life,i=t-this._startTime-this._pausedTime,a=i/n;a<0&&(a=0),a=Math.min(a,1);var o=this.easingFunc,s=o?o(a):a;if(this.onframe(s),a===1)if(this.loop){var l=i%n;this._startTime=t-l,this._pausedTime=0,this.onrestart()}else return!0;return!1},r.prototype.pause=function(){this._paused=!0},r.prototype.resume=function(){this._paused=!1},r.prototype.setEasing=function(t){this.easing=t,this.easingFunc=K(t)?t:oa[t]||my(t)},r}(),_y=function(){function r(t){this.value=t}return r}(),LS=function(){function r(){this._len=0}return r.prototype.insert=function(t){var e=new _y(t);return this.insertEntry(e),e},r.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},r.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},r.prototype.len=function(){return this._len},r.prototype.clear=function(){this.head=this.tail=null,this._len=0},r}(),Fa=function(){function r(t){this._list=new LS,this._maxSize=10,this._map={},this._maxSize=t}return r.prototype.put=function(t,e){var n=this._list,i=this._map,a=null;if(i[t]==null){var o=n.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=n.head;n.remove(l),delete i[l.key],a=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new _y(e),s.key=t,n.insertEntry(s),i[t]=s}return a},r.prototype.get=function(t){var e=this._map[t],n=this._list;if(e!=null)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},r.prototype.clear=function(){this._list.clear(),this._map={}},r.prototype.len=function(){return this._list.len()},r}(),Yv={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Lr(r){return r=Math.round(r),r<0?0:r>255?255:r}function af(r){return r<0?0:r>1?1:r}function Cl(r){var t=r;return t.length&&t.charAt(t.length-1)==="%"?Lr(parseFloat(t)/100*255):Lr(parseInt(t,10))}function sa(r){var t=r;return t.length&&t.charAt(t.length-1)==="%"?af(parseFloat(t)/100):af(parseFloat(t))}function Ml(r,t,e){return e<0?e+=1:e>1&&(e-=1),e*6<1?r+(t-r)*e*6:e*2<1?t:e*3<2?r+(t-r)*(2/3-e)*6:r}function ja(r,t,e){return r+(t-r)*e}function ue(r,t,e,n,i){return r[0]=t,r[1]=e,r[2]=n,r[3]=i,r}function of(r,t){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r}var Sy=new Fa(20),to=null;function Mn(r,t){to&&of(to,t),to=Sy.put(r,to||t.slice())}function ar(r,t){if(r){t=t||[];var e=Sy.get(r);if(e)return of(t,e);r=r+"";var n=r.replace(/ /g,"").toLowerCase();if(n in Yv)return of(t,Yv[n]),Mn(r,t),t;var i=n.length;if(n.charAt(0)==="#"){if(i===4||i===5){var a=parseInt(n.slice(1,4),16);if(!(a>=0&&a<=4095)){ue(t,0,0,0,1);return}return ue(t,(a&3840)>>4|(a&3840)>>8,a&240|(a&240)>>4,a&15|(a&15)<<4,i===5?parseInt(n.slice(4),16)/15:1),Mn(r,t),t}else if(i===7||i===9){var a=parseInt(n.slice(1,7),16);if(!(a>=0&&a<=16777215)){ue(t,0,0,0,1);return}return ue(t,(a&16711680)>>16,(a&65280)>>8,a&255,i===9?parseInt(n.slice(7),16)/255:1),Mn(r,t),t}return}var o=n.indexOf("("),s=n.indexOf(")");if(o!==-1&&s+1===i){var l=n.substr(0,o),u=n.substr(o+1,s-(o+1)).split(","),f=1;switch(l){case"rgba":if(u.length!==4)return u.length===3?ue(t,+u[0],+u[1],+u[2],1):ue(t,0,0,0,1);f=sa(u.pop());case"rgb":if(u.length>=3)return ue(t,Cl(u[0]),Cl(u[1]),Cl(u[2]),u.length===3?f:sa(u[3])),Mn(r,t),t;ue(t,0,0,0,1);return;case"hsla":if(u.length!==4){ue(t,0,0,0,1);return}return u[3]=sa(u[3]),Zv(u,t),Mn(r,t),t;case"hsl":if(u.length!==3){ue(t,0,0,0,1);return}return Zv(u,t),Mn(r,t),t;default:return}}ue(t,0,0,0,1)}}function Zv(r,t){var e=(parseFloat(r[0])%360+360)%360/360,n=sa(r[1]),i=sa(r[2]),a=i<=.5?i*(n+1):i+n-i*n,o=i*2-a;return t=t||[],ue(t,Lr(Ml(o,a,e+1/3)*255),Lr(Ml(o,a,e)*255),Lr(Ml(o,a,e-1/3)*255),1),r.length===4&&(t[3]=r[3]),t}function Xv(r,t){var e=ar(r);if(e){for(var n=0;n<3;n++)e[n]=e[n]*(1-t)|0,e[n]>255?e[n]=255:e[n]<0&&(e[n]=0);return Fs(e,e.length===4?"rgba":"rgb")}}function IS(r,t,e){if(!(!(t&&t.length)||!(r>=0&&r<=1))){var n=r*(t.length-1),i=Math.floor(n),a=Math.ceil(n),o=ar(t[i]),s=ar(t[a]),l=n-i,u=Fs([Lr(ja(o[0],s[0],l)),Lr(ja(o[1],s[1],l)),Lr(ja(o[2],s[2],l)),af(ja(o[3],s[3],l))],"rgba");return e?{color:u,leftIndex:i,rightIndex:a,value:n}:u}}function Fs(r,t){if(!(!r||!r.length)){var e=r[0]+","+r[1]+","+r[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(e+=","+r[3]),t+"("+e+")"}}function is(r,t){var e=ar(r);return e?(.299*e[0]+.587*e[1]+.114*e[2])*e[3]/255+(1-e[3])*t:0}var $v=new Fa(100);function qv(r){if(W(r)){var t=$v.get(r);return t||(t=Xv(r,-.1),$v.put(r,t)),t}else if(Os(r)){var e=B({},r);return e.colorStops=V(r.colorStops,function(n){return{offset:n.offset,color:Xv(n.color,-.1)}}),e}return r}function PS(r){return r.type==="linear"}function RS(r){return r.type==="radial"}(function(){return Q.hasGlobalWindow&&K(window.btoa)?function(r){return window.btoa(unescape(encodeURIComponent(r)))}:typeof Buffer<"u"?function(r){return Buffer.from(r).toString("base64")}:function(r){return null}})();var sf=Array.prototype.slice;function tr(r,t,e){return(t-r)*e+r}function Dl(r,t,e,n){for(var i=t.length,a=0;an?t:r,a=Math.min(e,n),o=i[a-1]||{color:[0,0,0,0],offset:0},s=a;so;if(s)n.length=o;else for(var l=a;l=1},r.prototype.getAdditiveTrack=function(){return this._additiveTrack},r.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,a=i.length,o=!1,s=Qv,l=e;if(ee(e)){var u=BS(e);s=u,(u===1&&!pt(e[0])||u===2&&!pt(e[0][0]))&&(o=!0)}else if(pt(e)&&!jo(e))s=ro;else if(W(e))if(!isNaN(+e))s=ro;else{var f=ar(e);f&&(l=f,s=Ki)}else if(Os(e)){var h=B({},l);h.colorStops=V(e.colorStops,function(v){return{offset:v.offset,color:ar(v.color)}}),PS(e)?s=lf:RS(e)&&(s=uf),l=h}a===0?this.valType=s:(s!==this.valType||s===Qv)&&(o=!0),this.discrete=this.discrete||o;var c={time:t,value:l,rawValue:e,percent:0};return n&&(c.easing=n,c.easingFunc=K(n)?n:oa[n]||my(n)),i.push(c),c},r.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort(function(p,g){return p.time-g.time});for(var i=this.valType,a=n.length,o=n[a-1],s=this.discrete,l=no(i),u=Jv(i),f=0;f=0&&!(o[f].percent<=e);f--);f=c(f,s-2)}else{for(f=h;fe);f++);f=c(f-1,s-2)}d=o[f+1],v=o[f]}if(v&&d){this._lastFr=f,this._lastFrP=e;var g=d.percent-v.percent,y=g===0?1:c((e-v.percent)/g,1);d.easingFunc&&(y=d.easingFunc(y));var m=n?this._additiveValue:u?Li:t[l];if((no(a)||u)&&!m&&(m=this._additiveValue=[]),this.discrete)t[l]=y<1?v.rawValue:d.rawValue;else if(no(a))a===Vo?Dl(m,v[i],d[i],y):ES(m,v[i],d[i],y);else if(Jv(a)){var _=v[i],S=d[i],w=a===lf;t[l]={type:w?"linear":"radial",x:tr(_.x,S.x,y),y:tr(_.y,S.y,y),colorStops:V(_.colorStops,function(b,C){var T=S.colorStops[C];return{offset:tr(b.offset,T.offset,y),color:Go(Dl([],b.color,T.color,y))}}),global:S.global},w?(t[l].x2=tr(_.x2,S.x2,y),t[l].y2=tr(_.y2,S.y2,y)):t[l].r=tr(_.r,S.r,y)}else if(u)Dl(m,v[i],d[i],y),n||(t[l]=Go(m));else{var x=tr(v[i],d[i],y);n?this._additiveValue=x:t[l]=x}n&&this._addToTarget(t)}}},r.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;e===ro?t[n]=t[n]+i:e===Ki?(ar(t[n],Li),eo(Li,Li,i,1),t[n]=Go(Li)):e===Vo?eo(t[n],t[n],i,1):e===xy&&Kv(t[n],t[n],i,1)},r}(),_h=function(){function r(t,e,n,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i){dh("Can' use additive animation on looped animation.");return}this._additiveAnimators=i,this._allowDiscrete=n}return r.prototype.getMaxTime=function(){return this._maxTime},r.prototype.getDelay=function(){return this._delay},r.prototype.getLoop=function(){return this._loop},r.prototype.getTarget=function(){return this._target},r.prototype.changeTarget=function(t){this._target=t},r.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,mt(e),n)},r.prototype.whenWithKeys=function(t,e,n,i){for(var a=this._tracks,o=0;o0&&l.addKeyframe(0,zo(u),i),this._trackKeys.push(s)}l.addKeyframe(t,zo(e[s]),i)}return this._maxTime=Math.max(this._maxTime,t),this},r.prototype.pause=function(){this._clip.pause(),this._paused=!0},r.prototype.resume=function(){this._clip.resume(),this._paused=!1},r.prototype.isPaused=function(){return!!this._paused},r.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},r.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,a=0;a1){var s=o.pop();a.addKeyframe(s.time,t[i]),a.prepare(this._maxTime,a.getAdditiveTrack())}}}},r}();function $n(){return new Date().getTime()}var FS=function(r){N(t,r);function t(e){var n=r.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return t.prototype.addClip=function(e){e.animation&&this.removeClip(e),this._head?(this._tail.next=e,e.prev=this._tail,e.next=null,this._tail=e):this._head=this._tail=e,e.animation=this},t.prototype.addAnimator=function(e){e.animation=this;var n=e.getClip();n&&this.addClip(n)},t.prototype.removeClip=function(e){if(e.animation){var n=e.prev,i=e.next;n?n.next=i:this._head=i,i?i.prev=n:this._tail=n,e.next=e.prev=e.animation=null}},t.prototype.removeAnimator=function(e){var n=e.getClip();n&&this.removeClip(n),e.animation=null},t.prototype.update=function(e){for(var n=$n()-this._pausedTime,i=n-this._time,a=this._head;a;){var o=a.next,s=a.step(n,i);s&&(a.ondestroy(),this.removeClip(a)),a=o}this._time=n,e||(this.trigger("frame",i),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var e=this;this._running=!0;function n(){e._running&&(ts(n),!e._paused&&e.update())}ts(n)},t.prototype.start=function(){this._running||(this._time=$n(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=$n(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=$n()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var e=this._head;e;){var n=e.next;e.prev=e.next=e.animation=null,e=n}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(e,n){n=n||{},this.start();var i=new _h(e,n.loop);return this.addAnimator(i),i},t}(me),zS=300,Al=Q.domSupported,Ll=function(){var r=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],e={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},n=V(r,function(i){var a=i.replace("mouse","pointer");return e.hasOwnProperty(a)?a:i});return{mouse:r,touch:t,pointer:n}}(),jv={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},tc=!1;function ff(r){var t=r.pointerType;return t==="pen"||t==="touch"}function GS(r){r.touching=!0,r.touchTimer!=null&&(clearTimeout(r.touchTimer),r.touchTimer=null),r.touchTimer=setTimeout(function(){r.touching=!1,r.touchTimer=null},700)}function Il(r){r&&(r.zrByTouch=!0)}function VS(r,t){return fe(r.dom,new HS(r,t),!0)}function wy(r,t){for(var e=t,n=!1;e&&e.nodeType!==9&&!(n=e.domBelongToZr||e!==t&&e===r.painterRoot);)e=e.parentNode;return n}var HS=function(){function r(t,e){this.stopPropagation=Zt,this.stopImmediatePropagation=Zt,this.preventDefault=Zt,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}return r}(),be={mousedown:function(r){r=fe(this.dom,r),this.__mayPointerCapture=[r.zrX,r.zrY],this.trigger("mousedown",r)},mousemove:function(r){r=fe(this.dom,r);var t=this.__mayPointerCapture;t&&(r.zrX!==t[0]||r.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",r)},mouseup:function(r){r=fe(this.dom,r),this.__togglePointerCapture(!1),this.trigger("mouseup",r)},mouseout:function(r){r=fe(this.dom,r);var t=r.toElement||r.relatedTarget;wy(this,t)||(this.__pointerCapturing&&(r.zrEventControl="no_globalout"),this.trigger("mouseout",r))},wheel:function(r){tc=!0,r=fe(this.dom,r),this.trigger("mousewheel",r)},mousewheel:function(r){tc||(r=fe(this.dom,r),this.trigger("mousewheel",r))},touchstart:function(r){r=fe(this.dom,r),Il(r),this.__lastTouchMoment=new Date,this.handler.processGesture(r,"start"),be.mousemove.call(this,r),be.mousedown.call(this,r)},touchmove:function(r){r=fe(this.dom,r),Il(r),this.handler.processGesture(r,"change"),be.mousemove.call(this,r)},touchend:function(r){r=fe(this.dom,r),Il(r),this.handler.processGesture(r,"end"),be.mouseup.call(this,r),+new Date-+this.__lastTouchMomentnc||r<-nc}var Wr=[],Dn=[],Rl=Jn(),El=Math.abs,za=function(){function r(){}return r.prototype.getLocalTransform=function(t){return r.getLocalTransform(this,t)},r.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},r.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},r.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},r.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},r.prototype.needLocalTransform=function(){return Hr(this.rotation)||Hr(this.x)||Hr(this.y)||Hr(this.scaleX-1)||Hr(this.scaleY-1)||Hr(this.skewX)||Hr(this.skewY)},r.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;if(!(e||t)){n&&(rc(n),this.invTransform=null);return}n=n||Jn(),e?this.getLocalTransform(n):rc(n),t&&(e?jn(n,t,n):cS(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)},r.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(e!=null&&e!==1){this.getGlobalScale(Wr);var n=Wr[0]<0?-1:1,i=Wr[1]<0?-1:1,a=((Wr[0]-n)*e+n)/Wr[0]||0,o=((Wr[1]-i)*e+i)/Wr[1]||0;t[0]*=a,t[1]*=a,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||Jn(),Ns(this.invTransform,t)},r.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},r.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),a=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(a),e=Math.sqrt(e),this.skewX=a,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},r.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||Jn(),jn(Dn,t.invTransform,e),e=Dn);var n=this.originX,i=this.originY;(n||i)&&(Rl[4]=n,Rl[5]=i,jn(Dn,e,Rl),Dn[4]-=n,Dn[5]-=i,e=Dn),this.setLocalTransform(e)}},r.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},r.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&pe(n,n,i),n},r.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&pe(n,n,i),n},r.prototype.getLineScale=function(){var t=this.transform;return t&&El(t[0]-1)>1e-10&&El(t[3]-1)>1e-10?Math.sqrt(El(t[0]*t[3]-t[2]*t[1])):1},r.prototype.copyTransform=function(t){XS(this,t)},r.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,a=t.scaleX,o=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,f=t.x,h=t.y,c=t.skewX?Math.tan(t.skewX):0,v=t.skewY?Math.tan(-t.skewY):0;if(n||i||s||l){var d=n+s,p=i+l;e[4]=-d*a-c*p*o,e[5]=-p*o-v*d*a}else e[4]=e[5]=0;return e[0]=a,e[3]=o,e[1]=v*a,e[2]=c*o,u&&mh(e,e,u),e[4]+=n+f,e[5]+=i+h,e},r.initDefaultProps=function(){var t=r.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0}(),r}(),Sa=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function XS(r,t){for(var e=0;e=0?parseFloat(r)/100*t:parseFloat(r):r}function os(r,t,e){var n=t.position||"inside",i=t.distance!=null?t.distance:5,a=e.height,o=e.width,s=a/2,l=e.x,u=e.y,f="left",h="top";if(n instanceof Array)l+=kr(n[0],e.width),u+=kr(n[1],e.height),f=null,h=null;else switch(n){case"left":l-=i,u+=s,f="right",h="middle";break;case"right":l+=i+o,u+=s,h="middle";break;case"top":l+=o/2,u-=i,f="center",h="bottom";break;case"bottom":l+=o/2,u+=a+i,f="center";break;case"inside":l+=o/2,u+=s,f="center",h="middle";break;case"insideLeft":l+=i,u+=s,h="middle";break;case"insideRight":l+=o-i,u+=s,f="right",h="middle";break;case"insideTop":l+=o/2,u+=i,f="center";break;case"insideBottom":l+=o/2,u+=a-i,f="center",h="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=o-i,u+=i,f="right";break;case"insideBottomLeft":l+=i,u+=a-i,h="bottom";break;case"insideBottomRight":l+=o-i,u+=a-i,f="right",h="bottom";break}return r=r||{},r.x=l,r.y=u,r.align=f,r.verticalAlign=h,r}var kl="__zr_normal__",Ol=Sa.concat(["ignore"]),$S=Rr(Sa,function(r,t){return r[t]=!0,r},{ignore:!1}),An={},qS=new lt(0,0,0,0),Gs=function(){function r(t){this.id=ry(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return r.prototype._init=function(t){this.attr(t)},r.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},r.prototype.beforeUpdate=function(){},r.prototype.afterUpdate=function(){},r.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},r.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,a=e.innerTransformable,o=void 0,s=void 0,l=!1;a.parent=i?this:null;var u=!1;if(a.copyTransform(e),n.position!=null){var f=qS;n.layoutRect?f.copy(n.layoutRect):f.copy(this.getBoundingRect()),i||f.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(An,n,f):os(An,n,f),a.x=An.x,a.y=An.y,o=An.align,s=An.verticalAlign;var h=n.origin;if(h&&n.rotation!=null){var c=void 0,v=void 0;h==="center"?(c=f.width*.5,v=f.height*.5):(c=kr(h[0],f.width),v=kr(h[1],f.height)),u=!0,a.originX=-a.x+c+(i?0:f.x),a.originY=-a.y+v+(i?0:f.y)}}n.rotation!=null&&(a.rotation=n.rotation);var d=n.offset;d&&(a.x+=d[0],a.y+=d[1],u||(a.originX=-d[0],a.originY=-d[1]));var p=n.inside==null?typeof n.position=="string"&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),y=void 0,m=void 0,_=void 0;p&&this.canBeInsideText()?(y=n.insideFill,m=n.insideStroke,(y==null||y==="auto")&&(y=this.getInsideTextFill()),(m==null||m==="auto")&&(m=this.getInsideTextStroke(y),_=!0)):(y=n.outsideFill,m=n.outsideStroke,(y==null||y==="auto")&&(y=this.getOutsideFill()),(m==null||m==="auto")&&(m=this.getOutsideStroke(y),_=!0)),y=y||"#000",(y!==g.fill||m!==g.stroke||_!==g.autoStroke||o!==g.align||s!==g.verticalAlign)&&(l=!0,g.fill=y,g.stroke=m,g.autoStroke=_,g.align=o,g.verticalAlign=s,e.setDefaultTextStyle(g)),e.__dirty|=ie,l&&e.dirtyStyle(!0)}},r.prototype.canBeInsideText=function(){return!0},r.prototype.getInsideTextFill=function(){return"#fff"},r.prototype.getInsideTextStroke=function(t){return"#000"},r.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?df:cf},r.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n=typeof e=="string"&&ar(e);n||(n=[255,255,255,1]);for(var i=n[3],a=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(a?0:255)*(1-i);return n[3]=1,Fs(n,"rgba")},r.prototype.traverse=function(t,e){},r.prototype.attrKV=function(t,e){t==="textConfig"?this.setTextConfig(e):t==="textContent"?this.setTextContent(e):t==="clipPath"?this.setClipPath(e):t==="extra"?(this.extra=this.extra||{},B(this.extra,e)):this[t]=e},r.prototype.hide=function(){this.ignore=!0,this.markRedraw()},r.prototype.show=function(){this.ignore=!1,this.markRedraw()},r.prototype.attr=function(t,e){if(typeof t=="string")this.attrKV(t,e);else if(Z(t))for(var n=t,i=mt(n),a=0;a0},r.prototype.getState=function(t){return this.states[t]},r.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},r.prototype.clearStates=function(t){this.useState(kl,!1,t)},r.prototype.useState=function(t,e,n,i){var a=t===kl,o=this.hasState();if(!(!o&&a)){var s=this.currentStates,l=this.stateTransition;if(!(it(s,t)>=0&&(e||s.length===1))){var u;if(this.stateProxy&&!a&&(u=this.stateProxy(t)),u||(u=this.states&&this.states[t]),!u&&!a){dh("State "+t+" not exists.");return}a||this.saveCurrentToNormalState(u);var f=!!(u&&u.hoverLayer||i);f&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,u,this._normalState,e,!n&&!this.__inHover&&l&&l.duration>0,l);var h=this._textContent,c=this._textGuide;return h&&h.useState(t,e,n,f),c&&c.useState(t,e,n,f),a?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~ie),u}}},r.prototype.useStates=function(t,e,n){if(!t.length)this.clearStates();else{var i=[],a=this.currentStates,o=t.length,s=o===a.length;if(s){for(var l=0;l0,d);var p=this._textContent,g=this._textGuide;p&&p.useStates(t,e,c),g&&g.useStates(t,e,c),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~ie)}},r.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},r.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},r.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),a=it(i,t),o=it(i,e)>=0;a>=0?o?i.splice(a,1):i[a]=e:n&&!o&&i.push(e),this.useStates(i)},r.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},r.prototype._mergeStates=function(t){for(var e={},n,i=0;i=0&&a.splice(o,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},r.prototype.updateDuringAnimation=function(t){this.markRedraw()},r.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,a=[],o=0;o0&&e.during&&a[0].during(function(d,p){e.during(p)});for(var c=0;c0||i.force&&!o.length){var C=void 0,T=void 0,D=void 0;if(s){T={},c&&(C={});for(var S=0;S<_;S++){var y=p[S];T[y]=e[y],c?C[y]=n[y]:e[y]=n[y]}}else if(c){D={};for(var S=0;S<_;S++){var y=p[S];D[y]=zo(e[y]),QS(e,n,y)}}var w=new _h(e,!1,!1,h?St(d,function(L){return L.targetName===t}):null);w.targetName=t,i.scope&&(w.scope=i.scope),c&&C&&w.whenWithKeys(0,C,p),D&&w.whenWithKeys(0,D,p),w.whenWithKeys(u??500,s?T:n,p).delay(f||0),r.addAnimator(w,t),o.push(w)}}var bt=function(r){N(t,r);function t(e){var n=r.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(e){return this._children[e]},t.prototype.childOfName=function(e){for(var n=this._children,i=0;i=0&&(i.splice(a,0,e),this._doAdd(e))}return this},t.prototype.replace=function(e,n){var i=it(this._children,e);return i>=0&&this.replaceAt(n,i),this},t.prototype.replaceAt=function(e,n){var i=this._children,a=i[n];if(e&&e!==this&&e.parent!==this&&e!==a){i[n]=e,a.parent=null;var o=this.__zr;o&&a.removeSelfFromZr(o),this._doAdd(e)}return this},t.prototype._doAdd=function(e){e.parent&&e.parent.remove(e),e.parent=this;var n=this.__zr;n&&n!==e.__zr&&e.addSelfToZr(n),n&&n.refresh()},t.prototype.remove=function(e){var n=this.__zr,i=this._children,a=it(i,e);return a<0?this:(i.splice(a,1),e.parent=null,n&&e.removeSelfFromZr(n),n&&n.refresh(),this)},t.prototype.removeAll=function(){for(var e=this._children,n=this.__zr,i=0;i0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},r.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},r.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},r.prototype.refreshHover=function(){this._needsRefreshHover=!0},r.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},r.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},r.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},r.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},r.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},r.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},r.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},r.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},r.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},r.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},r.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e0){if(r<=i)return o;if(r>=a)return s}else{if(r>=i)return o;if(r<=a)return s}else{if(r===i)return o;if(r===a)return s}return(r-i)/l*u+o}function dt(r,t){switch(r){case"center":case"middle":r="50%";break;case"left":case"top":r="0%";break;case"right":case"bottom":r="100%";break}return W(r)?ix(r).match(/%$/)?parseFloat(r)/100*t:parseFloat(r):r==null?NaN:+r}function Mt(r,t,e){return t==null&&(t=10),t=Math.min(Math.max(0,t),My),r=(+r).toFixed(t),e?r:+r}function Ji(r){return r.sort(function(t,e){return t-e}),r}function er(r){if(r=+r,isNaN(r))return 0;if(r>1e-14){for(var t=1,e=0;e<15;e++,t*=10)if(Math.round(r*t)/t===r)return e}return ax(r)}function ax(r){var t=r.toString().toLowerCase(),e=t.indexOf("e"),n=e>0?+t.slice(e+1):0,i=e>0?e:t.length,a=t.indexOf("."),o=a<0?0:i-1-a;return Math.max(0,o-n)}function Dy(r,t){var e=Math.log,n=Math.LN10,i=Math.floor(e(r[1]-r[0])/n),a=Math.round(e(Math.abs(t[1]-t[0]))/n),o=Math.min(Math.max(-i+a,0),20);return isFinite(o)?o:20}function ox(r,t){var e=Rr(r,function(v,d){return v+(isNaN(d)?0:d)},0);if(e===0)return[];for(var n=Math.pow(10,t),i=V(r,function(v){return(isNaN(v)?0:v)/e*n*100}),a=n*100,o=V(i,function(v){return Math.floor(v)}),s=Rr(o,function(v,d){return v+d},0),l=V(i,function(v,d){return v-o[d]});su&&(u=l[h],f=h);++o[f],l[f]=0,++s}return V(o,function(v){return v/n})}function sx(r,t){var e=Math.max(er(r),er(t)),n=r+t;return e>My?n:Mt(n,e)}function Ay(r){var t=Math.PI*2;return(r%t+t)%t}function ss(r){return r>-sc&&r=10&&t++,t}function Ly(r,t){var e=xh(r),n=Math.pow(10,e),i=r/n,a;return i<1.5?a=1:i<2.5?a=2:i<4?a=3:i<7?a=5:a=10,r=a*n,e>=-20?+r.toFixed(e<0?-e:0):r}function ls(r){var t=parseFloat(r);return t==r&&(t!==0||!W(r)||r.indexOf("x")<=0)?t:NaN}function fx(r){return!isNaN(ls(r))}function Iy(){return Math.round(Math.random()*9)}function Py(r,t){return t===0?r:Py(t,r%t)}function lc(r,t){return r==null?t:t==null?r:r*t/Py(r,t)}function Qt(r){throw new Error(r)}function uc(r,t,e){return(t-r)*e+r}var Ry="series\0",Ey="\0_ec_\0";function Dt(r){return r instanceof Array?r:r==null?[]:[r]}function pf(r,t,e){if(r){r[t]=r[t]||{},r.emphasis=r.emphasis||{},r.emphasis[t]=r.emphasis[t]||{};for(var n=0,i=e.length;n=0||a&&it(a,l)<0)){var u=n.getShallow(l,t);u!=null&&(o[r[s][0]]=u)}}return o}}var Ox=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],Bx=wa(Ox),Nx=function(){function r(){}return r.prototype.getAreaStyle=function(t,e){return Bx(this,t,e)},r}(),gf=new Fa(50);function Fx(r){if(typeof r=="string"){var t=gf.get(r);return t&&t.image}else return r}function zy(r,t,e,n,i){if(r)if(typeof r=="string"){if(t&&t.__zrImageSrc===r||!e)return t;var a=gf.get(r),o={hostEl:e,cb:n,cbPayload:i};return a?(t=a.image,!Hs(t)&&a.pending.push(o)):(t=pi.loadImage(r,hc,hc),t.__zrImageSrc=r,gf.put(r,t.__cachedImgObj={image:t,pending:[o]})),t}else return r;else return t}function hc(){var r=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t=o;l++)s-=o;var u=ae(e,t);return u>s&&(e="",u=0),s=r-u,i.ellipsis=e,i.ellipsisWidth=u,i.contentWidth=s,i.containerWidth=r,i}function Vy(r,t,e){var n=e.containerWidth,i=e.font,a=e.contentWidth;if(!n){r.textLine="",r.isTruncated=!1;return}var o=ae(t,i);if(o<=n){r.textLine=t,r.isTruncated=!1;return}for(var s=0;;s++){if(o<=a||s>=e.maxIterations){t+=e.ellipsis;break}var l=s===0?Gx(t,a,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*a/o):0;t=t.substr(0,l),o=ae(t,i)}t===""&&(t=e.placeholder),r.textLine=t,r.isTruncated=!0}function Gx(r,t,e,n){for(var i=0,a=0,o=r.length;ad&&u){var p=Math.floor(d/s);f=f||c.length>p,c=c.slice(0,p)}if(r&&a&&h!=null)for(var g=Gy(h,i,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),y={},m=0;ms&&zl(e,r.substring(s,u),t,o),zl(e,l[2],t,o,l[1]),s=Fl.lastIndex}si){var I=e.lines.length;x>0?(_.tokens=_.tokens.slice(0,x),y(_,w,S),e.lines=e.lines.slice(0,m+1)):e.lines=e.lines.slice(0,m),e.isTruncated=e.isTruncated||e.lines.length0&&d+n.accumWidth>n.width&&(f=t.split(` +`),u=!0),n.accumWidth=d}else{var p=Hy(t,l,n.width,n.breakAll,n.accumWidth);n.accumWidth=p.accumWidth+v,h=p.linesWidths,f=p.lines}}else f=t.split(` +`);for(var g=0;g=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var Zx=Rr(",&?/;] ".split(""),function(r,t){return r[t]=!0,r},{});function Xx(r){return Yx(r)?!!Zx[r]:!0}function Hy(r,t,e,n,i){for(var a=[],o=[],s="",l="",u=0,f=0,h=0;he:i+f+v>e){f?(s||l)&&(d?(s||(s=l,l="",u=0,f=u),a.push(s),o.push(f-u),l+=c,u+=v,s="",f=u):(l&&(s+=l,l="",u=0),a.push(s),o.push(f),s=c,f=v)):d?(a.push(l),o.push(u),l=c,u=v):(a.push(c),o.push(v));continue}f+=v,d?(l+=c,u+=v):(l&&(s+=l,l="",u=0),s+=c)}return!a.length&&!s&&(s=r,l="",u=0),l&&(s+=l),s&&(a.push(s),o.push(f)),a.length===1&&(f+=i),{accumWidth:f,lines:a,linesWidths:o}}var yf="__zr_style_"+Math.round(Math.random()*10),cn={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Ws={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};cn[yf]=!0;var cc=["z","z2","invisible"],$x=["invisible"],yi=function(r){N(t,r);function t(e){return r.call(this,e)||this}return t.prototype._init=function(e){for(var n=mt(e),i=0;i1e-4){s[0]=r-e,s[1]=t-n,l[0]=r+e,l[1]=t+n;return}if(io[0]=Wl(i)*e+r,io[1]=Hl(i)*n+t,ao[0]=Wl(a)*e+r,ao[1]=Hl(a)*n+t,u(s,io,ao),f(l,io,ao),i=i%Yr,i<0&&(i=i+Yr),a=a%Yr,a<0&&(a=a+Yr),i>a&&!o?a+=Yr:ii&&(oo[0]=Wl(v)*e+r,oo[1]=Hl(v)*n+t,u(s,oo,s),f(l,oo,l))}var vt={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Zr=[],Xr=[],Re=[],cr=[],Ee=[],ke=[],Ul=Math.min,Yl=Math.max,$r=Math.cos,qr=Math.sin,Qe=Math.abs,mf=Math.PI,wr=mf*2,Zl=typeof Float32Array<"u",Ii=[];function Xl(r){var t=Math.round(r/mf*1e8)/1e8;return t%2*mf}function Uy(r,t){var e=Xl(r[0]);e<0&&(e+=wr);var n=e-r[0],i=r[1];i+=n,!t&&i-e>=wr?i=e+wr:t&&e-i>=wr?i=e-wr:!t&&e>i?i=e+(wr-Xl(e-i)):t&&e0&&(this._ux=Qe(n/as/t)||0,this._uy=Qe(n/as/e)||0)},r.prototype.setDPR=function(t){this.dpr=t},r.prototype.setContext=function(t){this._ctx=t},r.prototype.getContext=function(){return this._ctx},r.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},r.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},r.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(vt.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},r.prototype.lineTo=function(t,e){var n=Qe(t-this._xi),i=Qe(e-this._yi),a=n>this._ux||i>this._uy;if(this.addData(vt.L,t,e),this._ctx&&a&&this._ctx.lineTo(t,e),a)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},r.prototype.bezierCurveTo=function(t,e,n,i,a,o){return this._drawPendingPt(),this.addData(vt.C,t,e,n,i,a,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,a,o),this._xi=a,this._yi=o,this},r.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(vt.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},r.prototype.arc=function(t,e,n,i,a,o){this._drawPendingPt(),Ii[0]=i,Ii[1]=a,Uy(Ii,o),i=Ii[0],a=Ii[1];var s=a-i;return this.addData(vt.A,t,e,n,n,i,s,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,a,o),this._xi=$r(a)*n+t,this._yi=qr(a)*n+e,this},r.prototype.arcTo=function(t,e,n,i,a){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,a),this},r.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(vt.R,t,e,n,i),this},r.prototype.closePath=function(){this._drawPendingPt(),this.addData(vt.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},r.prototype.fill=function(t){t&&t.fill(),this.toStatic()},r.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},r.prototype.len=function(){return this._len},r.prototype.setData=function(t){var e=t.length;!(this.data&&this.data.length===e)&&Zl&&(this.data=new Float32Array(e));for(var n=0;nf.length&&(this._expandData(),f=this.data);for(var h=0;h0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},r.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e11&&(this.data=new Float32Array(t)))}},r.prototype.getBoundingRect=function(){Re[0]=Re[1]=Ee[0]=Ee[1]=Number.MAX_VALUE,cr[0]=cr[1]=ke[0]=ke[1]=-Number.MAX_VALUE;var t=this.data,e=0,n=0,i=0,a=0,o;for(o=0;on||Qe(_)>i||c===e-1)&&(p=Math.sqrt(m*m+_*_),a=g,o=y);break}case vt.C:{var S=t[c++],w=t[c++],g=t[c++],y=t[c++],x=t[c++],b=t[c++];p=TS(a,o,S,w,g,y,x,b,10),a=x,o=b;break}case vt.Q:{var S=t[c++],w=t[c++],g=t[c++],y=t[c++];p=MS(a,o,S,w,g,y,10),a=g,o=y;break}case vt.A:var C=t[c++],T=t[c++],D=t[c++],A=t[c++],L=t[c++],I=t[c++],P=I+L;c+=1,d&&(s=$r(L)*D+C,l=qr(L)*A+T),p=Yl(D,A)*Ul(wr,Math.abs(I)),a=$r(P)*D+C,o=qr(P)*A+T;break;case vt.R:{s=a=t[c++],l=o=t[c++];var R=t[c++],E=t[c++];p=R*2+E*2;break}case vt.Z:{var m=s-a,_=l-o;p=Math.sqrt(m*m+_*_),a=s,o=l;break}}p>=0&&(u[h++]=p,f+=p)}return this._pathLen=f,f},r.prototype.rebuildPath=function(t,e){var n=this.data,i=this._ux,a=this._uy,o=this._len,s,l,u,f,h,c,v=e<1,d,p,g=0,y=0,m,_=0,S,w;if(!(v&&(this._pathSegLen||this._calculateLength(),d=this._pathSegLen,p=this._pathLen,m=e*p,!m)))t:for(var x=0;x0&&(t.lineTo(S,w),_=0),b){case vt.M:s=u=n[x++],l=f=n[x++],t.moveTo(u,f);break;case vt.L:{h=n[x++],c=n[x++];var T=Qe(h-u),D=Qe(c-f);if(T>i||D>a){if(v){var A=d[y++];if(g+A>m){var L=(m-g)/A;t.lineTo(u*(1-L)+h*L,f*(1-L)+c*L);break t}g+=A}t.lineTo(h,c),u=h,f=c,_=0}else{var I=T*T+D*D;I>_&&(S=h,w=c,_=I)}break}case vt.C:{var P=n[x++],R=n[x++],E=n[x++],F=n[x++],k=n[x++],O=n[x++];if(v){var A=d[y++];if(g+A>m){var L=(m-g)/A;Er(u,P,E,k,L,Zr),Er(f,R,F,O,L,Xr),t.bezierCurveTo(Zr[1],Xr[1],Zr[2],Xr[2],Zr[3],Xr[3]);break t}g+=A}t.bezierCurveTo(P,R,E,F,k,O),u=k,f=O;break}case vt.Q:{var P=n[x++],R=n[x++],E=n[x++],F=n[x++];if(v){var A=d[y++];if(g+A>m){var L=(m-g)/A;ns(u,P,E,L,Zr),ns(f,R,F,L,Xr),t.quadraticCurveTo(Zr[1],Xr[1],Zr[2],Xr[2]);break t}g+=A}t.quadraticCurveTo(P,R,E,F),u=E,f=F;break}case vt.A:var z=n[x++],H=n[x++],U=n[x++],et=n[x++],ut=n[x++],ht=n[x++],kt=n[x++],Xt=!n[x++],Ot=U>et?U:et,Ct=Qe(U-et)>.001,_t=ut+ht,q=!1;if(v){var A=d[y++];g+A>m&&(_t=ut+ht*(m-g)/A,q=!0),g+=A}if(Ct&&t.ellipse?t.ellipse(z,H,U,et,kt,ut,_t,Xt):t.arc(z,H,Ot,ut,_t,Xt),q)break t;C&&(s=$r(ut)*U+z,l=qr(ut)*et+H),u=$r(_t)*U+z,f=qr(_t)*et+H;break;case vt.R:s=u=n[x],l=f=n[x+1],h=n[x++],c=n[x++];var nt=n[x++],Pe=n[x++];if(v){var A=d[y++];if(g+A>m){var It=m-g;t.moveTo(h,c),t.lineTo(h+Ul(It,nt),c),It-=nt,It>0&&t.lineTo(h+nt,c+Ul(It,Pe)),It-=Pe,It>0&&t.lineTo(h+Yl(nt-It,0),c+Pe),It-=nt,It>0&&t.lineTo(h,c+Yl(Pe-It,0));break t}g+=A}t.rect(h,c,nt,Pe);break;case vt.Z:if(v){var A=d[y++];if(g+A>m){var L=(m-g)/A;t.lineTo(u*(1-L)+s*L,f*(1-L)+l*L);break t}g+=A}t.closePath(),u=s,f=l}}},r.prototype.clone=function(){var t=new r,e=this.data;return t.data=e.slice?e.slice():Array.prototype.slice.call(e),t._len=this._len,t},r.CMD=vt,r.initDefaultProps=function(){var t=r.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),r}();function Ln(r,t,e,n,i,a,o){if(i===0)return!1;var s=i,l=0,u=r;if(o>t+s&&o>n+s||or+s&&a>e+s||at+h&&f>n+h&&f>a+h&&f>s+h||fr+h&&u>e+h&&u>i+h&&u>o+h||ut+u&&l>n+u&&l>a+u||lr+u&&s>e+u&&s>i+u||se||f+ui&&(i+=Pi);var c=Math.atan2(l,s);return c<0&&(c+=Pi),c>=n&&c<=i||c+Pi>=n&&c+Pi<=i}function Kr(r,t,e,n,i,a){if(a>t&&a>n||ai?s:0}var dr=lr.CMD,Qr=Math.PI*2,rw=1e-4;function nw(r,t){return Math.abs(r-t)t&&u>n&&u>a&&u>s||u1&&iw(),v=Lt(t,n,a,s,ve[0]),c>1&&(d=Lt(t,n,a,s,ve[1]))),c===2?gt&&s>n&&s>a||s=0&&u<=1){for(var f=0,h=zt(t,n,a,u),c=0;ce||s<-e)return 0;var l=Math.sqrt(e*e-s*s);Wt[0]=-l,Wt[1]=l;var u=Math.abs(n-i);if(u<1e-4)return 0;if(u>=Qr-1e-4){n=0,i=Qr;var f=a?1:-1;return o>=Wt[0]+r&&o<=Wt[1]+r?f:0}if(n>i){var h=n;n=i,i=h}n<0&&(n+=Qr,i+=Qr);for(var c=0,v=0;v<2;v++){var d=Wt[v];if(d+r>o){var p=Math.atan2(s,d),f=a?1:-1;p<0&&(p=Qr+p),(p>=n&&p<=i||p+Qr>=n&&p+Qr<=i)&&(p>Math.PI/2&&p1&&(e||(s+=Kr(l,u,f,h,n,i))),g&&(l=a[d],u=a[d+1],f=l,h=u),p){case dr.M:f=a[d++],h=a[d++],l=f,u=h;break;case dr.L:if(e){if(Ln(l,u,a[d],a[d+1],t,n,i))return!0}else s+=Kr(l,u,a[d],a[d+1],n,i)||0;l=a[d++],u=a[d++];break;case dr.C:if(e){if(jx(l,u,a[d++],a[d++],a[d++],a[d++],a[d],a[d+1],t,n,i))return!0}else s+=aw(l,u,a[d++],a[d++],a[d++],a[d++],a[d],a[d+1],n,i)||0;l=a[d++],u=a[d++];break;case dr.Q:if(e){if(tw(l,u,a[d++],a[d++],a[d],a[d+1],t,n,i))return!0}else s+=ow(l,u,a[d++],a[d++],a[d],a[d+1],n,i)||0;l=a[d++],u=a[d++];break;case dr.A:var y=a[d++],m=a[d++],_=a[d++],S=a[d++],w=a[d++],x=a[d++];d+=1;var b=!!(1-a[d++]);c=Math.cos(w)*_+y,v=Math.sin(w)*S+m,g?(f=c,h=v):s+=Kr(l,u,c,v,n,i);var C=(n-y)*S/_+y;if(e){if(ew(y,m,S,w,w+x,b,t,C,i))return!0}else s+=sw(y,m,S,w,w+x,b,C,i);l=Math.cos(w+x)*_+y,u=Math.sin(w+x)*S+m;break;case dr.R:f=l=a[d++],h=u=a[d++];var T=a[d++],D=a[d++];if(c=f+T,v=h+D,e){if(Ln(f,h,c,h,t,n,i)||Ln(c,h,c,v,t,n,i)||Ln(c,v,f,v,t,n,i)||Ln(f,v,f,h,t,n,i))return!0}else s+=Kr(c,h,c,v,n,i),s+=Kr(f,v,f,h,n,i);break;case dr.Z:if(e){if(Ln(l,u,f,h,t,n,i))return!0}else s+=Kr(l,u,f,h,n,i);l=f,u=h;break}}return!e&&!nw(u,h)&&(s+=Kr(l,u,f,h,n,i)||0),s!==0}function lw(r,t,e){return Yy(r,0,!1,t,e)}function uw(r,t,e,n){return Yy(r,t,!0,e,n)}var Zy=j({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},cn),fw={style:j({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Ws.style)},$l=Sa.concat(["invisible","culling","z","z2","zlevel","parent"]),at=function(r){N(t,r);function t(e){return r.call(this,e)||this}return t.prototype.update=function(){var e=this;r.prototype.update.call(this);var n=this.style;if(n.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(l){e.buildPath(l,e.shape)}),i.silent=!0;var a=i.style;for(var o in n)a[o]!==n[o]&&(a[o]=n[o]);a.fill=n.fill?n.decal:null,a.decal=null,a.shadowColor=null,n.strokeFirst&&(a.stroke=null);for(var s=0;s<$l.length;++s)i[$l[s]]=this[$l[s]];i.__dirty|=ie}else this._decalEl&&(this._decalEl=null)},t.prototype.getDecalElement=function(){return this._decalEl},t.prototype._init=function(e){var n=mt(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var a=0;a.5?cf:n>.2?ZS:df}else if(e)return df}return cf},t.prototype.getInsideTextStroke=function(e){var n=this.style.fill;if(W(n)){var i=this.__zr,a=!!(i&&i.isDarkMode()),o=is(e,0)0))},t.prototype.hasFill=function(){var e=this.style,n=e.fill;return n!=null&&n!=="none"},t.prototype.getBoundingRect=function(){var e=this._rect,n=this.style,i=!e;if(i){var a=!1;this.path||(a=!0,this.createPathProxy());var o=this.path;(a||this.__dirty&Wn)&&(o.beginPath(),this.buildPath(o,this.shape,!1),this.pathUpdated()),e=o.getBoundingRect()}if(this._rect=e,this.hasStroke()&&this.path&&this.path.len()>0){var s=this._rectStroke||(this._rectStroke=e.clone());if(this.__dirty||i){s.copy(e);var l=n.strokeNoScale?this.getLineScale():1,u=n.lineWidth;if(!this.hasFill()){var f=this.strokeContainThreshold;u=Math.max(u,f??4)}l>1e-10&&(s.width+=u/l,s.height+=u/l,s.x-=u/l/2,s.y-=u/l/2)}return s}return e},t.prototype.contain=function(e,n){var i=this.transformCoordToLocal(e,n),a=this.getBoundingRect(),o=this.style;if(e=i[0],n=i[1],a.contain(e,n)){var s=this.path;if(this.hasStroke()){var l=o.lineWidth,u=o.strokeNoScale?this.getLineScale():1;if(u>1e-10&&(this.hasFill()||(l=Math.max(l,this.strokeContainThreshold)),uw(s,l/u,e,n)))return!0}if(this.hasFill())return lw(s,e,n)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=Wn,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(e){return this.animate("shape",e)},t.prototype.updateDuringAnimation=function(e){e==="style"?this.dirtyStyle():e==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(e,n){e==="shape"?this.setShape(n):r.prototype.attrKV.call(this,e,n)},t.prototype.setShape=function(e,n){var i=this.shape;return i||(i=this.shape={}),typeof e=="string"?i[e]=n:B(i,e),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&Wn)},t.prototype.createStyle=function(e){return Bs(Zy,e)},t.prototype._innerSaveToNormal=function(e){r.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=B({},this.shape))},t.prototype._applyStateObj=function(e,n,i,a,o,s){r.prototype._applyStateObj.call(this,e,n,i,a,o,s);var l=!(n&&a),u;if(n&&n.shape?o?a?u=n.shape:(u=B({},i.shape),B(u,n.shape)):(u=B({},a?this.shape:i.shape),B(u,n.shape)):l&&(u=i.shape),u)if(o){this.shape=B({},this.shape);for(var f={},h=mt(u),c=0;c0},t.prototype.hasFill=function(){var e=this.style,n=e.fill;return n!=null&&n!=="none"},t.prototype.createStyle=function(e){return Bs(hw,e)},t.prototype.setBoundingRect=function(e){this._rect=e},t.prototype.getBoundingRect=function(){var e=this.style;if(!this._rect){var n=e.text;n!=null?n+="":n="";var i=zs(n,e.font,e.textAlign,e.textBaseline);if(i.x+=e.x||0,i.y+=e.y||0,this.hasStroke()){var a=e.lineWidth;i.x-=a/2,i.y-=a/2,i.width+=a,i.height+=a}this._rect=i}return this._rect},t.initDefaultProps=function(){var e=t.prototype;e.dirtyRectTolerance=10}(),t}(yi);us.prototype.type="tspan";var vw=j({x:0,y:0},cn),cw={style:j({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Ws.style)};function dw(r){return!!(r&&typeof r!="string"&&r.width&&r.height)}var Nr=function(r){N(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.createStyle=function(e){return Bs(vw,e)},t.prototype._getSize=function(e){var n=this.style,i=n[e];if(i!=null)return i;var a=dw(n.image)?n.image:this.__image;if(!a)return 0;var o=e==="width"?"height":"width",s=n[o];return s==null?a[e]:a[e]/a[o]*s},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return cw},t.prototype.getBoundingRect=function(){var e=this.style;return this._rect||(this._rect=new lt(e.x||0,e.y||0,this.getWidth(),this.getHeight())),this._rect},t}(yi);Nr.prototype.type="image";function pw(r,t){var e=t.x,n=t.y,i=t.width,a=t.height,o=t.r,s,l,u,f;i<0&&(e=e+i,i=-i),a<0&&(n=n+a,a=-a),typeof o=="number"?s=l=u=f=o:o instanceof Array?o.length===1?s=l=u=f=o[0]:o.length===2?(s=u=o[0],l=f=o[1]):o.length===3?(s=o[0],l=f=o[1],u=o[2]):(s=o[0],l=o[1],u=o[2],f=o[3]):s=l=u=f=0;var h;s+l>i&&(h=s+l,s*=i/h,l*=i/h),u+f>i&&(h=u+f,u*=i/h,f*=i/h),l+u>a&&(h=l+u,l*=a/h,u*=a/h),s+f>a&&(h=s+f,s*=a/h,f*=a/h),r.moveTo(e+s,n),r.lineTo(e+i-l,n),l!==0&&r.arc(e+i-l,n+l,l,-Math.PI/2,0),r.lineTo(e+i,n+a-u),u!==0&&r.arc(e+i-u,n+a-u,u,0,Math.PI/2),r.lineTo(e+f,n+a),f!==0&&r.arc(e+f,n+a-f,f,Math.PI/2,Math.PI),r.lineTo(e,n+s),s!==0&&r.arc(e+s,n+s,s,Math.PI,Math.PI*1.5)}var qn=Math.round;function Xy(r,t,e){if(t){var n=t.x1,i=t.x2,a=t.y1,o=t.y2;r.x1=n,r.x2=i,r.y1=a,r.y2=o;var s=e&&e.lineWidth;return s&&(qn(n*2)===qn(i*2)&&(r.x1=r.x2=fn(n,s,!0)),qn(a*2)===qn(o*2)&&(r.y1=r.y2=fn(a,s,!0))),r}}function $y(r,t,e){if(t){var n=t.x,i=t.y,a=t.width,o=t.height;r.x=n,r.y=i,r.width=a,r.height=o;var s=e&&e.lineWidth;return s&&(r.x=fn(n,s,!0),r.y=fn(i,s,!0),r.width=Math.max(fn(n+a,s,!1)-r.x,a===0?0:1),r.height=Math.max(fn(i+o,s,!1)-r.y,o===0?0:1)),r}}function fn(r,t,e){if(!t)return r;var n=qn(r*2);return(n+qn(t))%2===0?n/2:(n+(e?1:-1))/2}var gw=function(){function r(){this.x=0,this.y=0,this.width=0,this.height=0}return r}(),yw={},gt=function(r){N(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new gw},t.prototype.buildPath=function(e,n){var i,a,o,s;if(this.subPixelOptimize){var l=$y(yw,n,this.style);i=l.x,a=l.y,o=l.width,s=l.height,l.r=n.r,n=l}else i=n.x,a=n.y,o=n.width,s=n.height;n.r?pw(e,n):e.rect(i,a,o,s)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(at);gt.prototype.type="rect";var mc={fill:"#000"},_c=2,mw={style:j({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Ws.style)},At=function(r){N(t,r);function t(e){var n=r.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=mc,n.attr(e),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){r.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e0,L=e.width!=null&&(e.overflow==="truncate"||e.overflow==="break"||e.overflow==="breakAll"),I=o.calculatedLineHeight,P=0;P=0&&(P=x[I],P.align==="right");)this._placeToken(P,e,C,y,L,"right",_),T-=P.width,L-=P.width,I--;for(A+=(a-(A-g)-(m-L)-T)/2;D<=I;)P=x[D],this._placeToken(P,e,C,y,A+P.width/2,"center",_),A+=P.width,D++;y+=C}},t.prototype._placeToken=function(e,n,i,a,o,s,l){var u=n.rich[e.styleName]||{};u.text=e.text;var f=e.verticalAlign,h=a+i/2;f==="top"?h=a+e.height/2:f==="bottom"&&(h=a+i-e.height/2);var c=!e.isLineHolder&&ql(u);c&&this._renderBackground(u,n,s==="right"?o-e.width:s==="center"?o-e.width/2:o,h-e.height/2,e.width,e.height);var v=!!u.backgroundColor,d=e.textPadding;d&&(o=Cc(o,s,d),h-=e.height/2-d[0]-e.innerHeight/2);var p=this._getOrCreateChild(us),g=p.createStyle();p.useStyle(g);var y=this._defaultStyle,m=!1,_=0,S=Tc("fill"in u?u.fill:"fill"in n?n.fill:(m=!0,y.fill)),w=bc("stroke"in u?u.stroke:"stroke"in n?n.stroke:!v&&!l&&(!y.autoStroke||m)?(_=_c,y.stroke):null),x=u.textShadowBlur>0||n.textShadowBlur>0;g.text=e.text,g.x=o,g.y=h,x&&(g.shadowBlur=u.textShadowBlur||n.textShadowBlur||0,g.shadowColor=u.textShadowColor||n.textShadowColor||"transparent",g.shadowOffsetX=u.textShadowOffsetX||n.textShadowOffsetX||0,g.shadowOffsetY=u.textShadowOffsetY||n.textShadowOffsetY||0),g.textAlign=s,g.textBaseline="middle",g.font=e.font||gn,g.opacity=ia(u.opacity,n.opacity,1),xc(g,u),w&&(g.lineWidth=ia(u.lineWidth,n.lineWidth,_),g.lineDash=tt(u.lineDash,n.lineDash),g.lineDashOffset=n.lineDashOffset||0,g.stroke=w),S&&(g.fill=S);var b=e.contentWidth,C=e.contentHeight;p.setBoundingRect(new lt(Qi(g.x,b,g.textAlign),Un(g.y,C,g.textBaseline),b,C))},t.prototype._renderBackground=function(e,n,i,a,o,s){var l=e.backgroundColor,u=e.borderWidth,f=e.borderColor,h=l&&l.image,c=l&&!h,v=e.borderRadius,d=this,p,g;if(c||e.lineHeight||u&&f){p=this._getOrCreateChild(gt),p.useStyle(p.createStyle()),p.style.fill=null;var y=p.shape;y.x=i,y.y=a,y.width=o,y.height=s,y.r=v,p.dirtyShape()}if(c){var m=p.style;m.fill=l||null,m.fillOpacity=tt(e.fillOpacity,1)}else if(h){g=this._getOrCreateChild(Nr),g.onload=function(){d.dirtyStyle()};var _=g.style;_.image=l.image,_.x=i,_.y=a,_.width=o,_.height=s}if(u&&f){var m=p.style;m.lineWidth=u,m.stroke=f,m.strokeOpacity=tt(e.strokeOpacity,1),m.lineDash=e.borderDash,m.lineDashOffset=e.borderDashOffset||0,p.strokeContainThreshold=0,p.hasFill()&&p.hasStroke()&&(m.strokeFirst=!0,m.lineWidth*=2)}var S=(p||g).style;S.shadowBlur=e.shadowBlur||0,S.shadowColor=e.shadowColor||"transparent",S.shadowOffsetX=e.shadowOffsetX||0,S.shadowOffsetY=e.shadowOffsetY||0,S.opacity=ia(e.opacity,n.opacity,1)},t.makeFont=function(e){var n="";return ww(e)&&(n=[e.fontStyle,e.fontWeight,xw(e.fontSize),e.fontFamily||"sans-serif"].join(" ")),n&&ze(n)||e.textFont||e.font},t}(yi),_w={left:!0,right:1,center:1},Sw={top:1,bottom:1,middle:1},Sc=["fontStyle","fontWeight","fontSize","fontFamily"];function xw(r){return typeof r=="string"&&(r.indexOf("px")!==-1||r.indexOf("rem")!==-1||r.indexOf("em")!==-1)?r:isNaN(+r)?hh+"px":r+"px"}function xc(r,t){for(var e=0;e=0,a=!1;if(r instanceof at){var o=qy(r),s=i&&o.selectFill||o.normalFill,l=i&&o.selectStroke||o.normalStroke;if(In(s)||In(l)){n=n||{};var u=n.style||{};u.fill==="inherit"?(a=!0,n=B({},n),u=B({},u),u.fill=s):!In(u.fill)&&In(s)?(a=!0,n=B({},n),u=B({},u),u.fill=qv(s)):!In(u.stroke)&&In(l)&&(a||(n=B({},n),u=B({},u)),u.stroke=qv(l)),n.style=u}}if(n&&n.z2==null){a||(n=B({},n));var f=r.z2EmphasisLift;n.z2=r.z2+(f??Cw)}return n}function Pw(r,t,e){if(e&&e.z2==null){e=B({},e);var n=r.z2SelectLift;e.z2=r.z2+(n??Mw)}return e}function Rw(r,t,e){var n=it(r.currentStates,t)>=0,i=r.style.opacity,a=n?null:Lw(r,["opacity"],t,{opacity:1});e=e||{};var o=e.style||{};return o.opacity==null&&(e=B({},e),o=B({opacity:n?i:a.opacity*.1},o),e.style=o),e}function Kl(r,t){var e=this.states[r];if(this.style){if(r==="emphasis")return Iw(this,r,t,e);if(r==="blur")return Rw(this,r,e);if(r==="select")return Pw(this,r,e)}return e}function Ew(r){r.stateProxy=Kl;var t=r.getTextContent(),e=r.getTextGuideLine();t&&(t.stateProxy=Kl),e&&(e.stateProxy=Kl)}function Pc(r,t){!rm(r,t)&&!r.__highByOuter&&hr(r,Ky)}function Rc(r,t){!rm(r,t)&&!r.__highByOuter&&hr(r,Qy)}function li(r,t){r.__highByOuter|=1<<(t||0),hr(r,Ky)}function ui(r,t){!(r.__highByOuter&=~(1<<(t||0)))&&hr(r,Qy)}function kw(r){hr(r,Dh)}function jy(r){hr(r,Jy)}function tm(r){hr(r,Dw)}function em(r){hr(r,Aw)}function rm(r,t){return r.__highDownSilentOnTouch&&t.zrByTouch}function nm(r){var t=r.getModel(),e=[],n=[];t.eachComponent(function(i,a){var o=Ch(a),s=i==="series",l=s?r.getViewOfSeriesModel(a):r.getViewOfComponentModel(a);!s&&n.push(l),o.isBlured&&(l.group.traverse(function(u){Jy(u)}),s&&e.push(a)),o.isBlured=!1}),M(n,function(i){i&&i.toggleBlurSeries&&i.toggleBlurSeries(e,!1,t)})}function _f(r,t,e,n){var i=n.getModel();e=e||"coordinateSystem";function a(u,f){for(var h=0;h0){var s={dataIndex:o,seriesIndex:e.seriesIndex};a!=null&&(s.dataType=a),t.push(s)}})}),t}function hs(r,t,e){im(r,!0),hr(r,Ew),Vw(r,t,e)}function Gw(r){im(r,!1)}function ba(r,t,e,n){n?Gw(r):hs(r,t,e)}function Vw(r,t,e){var n=ot(r);t!=null?(n.focus=t,n.blurScope=e):n.focus&&(n.focus=null)}var kc=["emphasis","blur","select"],Hw={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function vs(r,t,e,n){e=e||"itemStyle";for(var i=0;i1&&(o*=Ql(d),s*=Ql(d));var p=(i===a?-1:1)*Ql((o*o*(s*s)-o*o*(v*v)-s*s*(c*c))/(o*o*(v*v)+s*s*(c*c)))||0,g=p*o*v/s,y=p*-s*c/o,m=(r+e)/2+lo(h)*g-so(h)*y,_=(t+n)/2+so(h)*g+lo(h)*y,S=Fc([1,0],[(c-g)/o,(v-y)/s]),w=[(c-g)/o,(v-y)/s],x=[(-1*c-g)/o,(-1*v-y)/s],b=Fc(w,x);if(bf(w,x)<=-1&&(b=Ri),bf(w,x)>=1&&(b=0),b<0){var C=Math.round(b/Ri*1e6)/1e6;b=Ri*2+C%2*Ri}f.addData(u,m,_,o,s,S,b,h,a)}var Xw=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,$w=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function qw(r){var t=new lr;if(!r)return t;var e=0,n=0,i=e,a=n,o,s=lr.CMD,l=r.match(Xw);if(!l)return t;for(var u=0;uP*P+R*R&&(C=D,T=A),{cx:C,cy:T,x0:-f,y0:-h,x1:C*(i/w-1),y1:T*(i/w-1)}}function nb(r){var t;if(G(r)){var e=r.length;if(!e)return r;e===1?t=[r[0],r[0],0,0]:e===2?t=[r[0],r[0],r[1],r[1]]:e===3?t=r.concat(r[2]):t=r}else t=[r,r,r,r];return t}function ib(r,t){var e,n=ji(t.r,0),i=ji(t.r0||0,0),a=n>0,o=i>0;if(!(!a&&!o)){if(a||(n=i,i=0),i>n){var s=n;n=i,i=s}var l=t.startAngle,u=t.endAngle;if(!(isNaN(l)||isNaN(u))){var f=t.cx,h=t.cy,c=!!t.clockwise,v=Gc(u-l),d=v>Jl&&v%Jl;if(d>we&&(v=d),!(n>we))r.moveTo(f,h);else if(v>Jl-we)r.moveTo(f+n*Rn(l),h+n*Jr(l)),r.arc(f,h,n,l,u,!c),i>we&&(r.moveTo(f+i*Rn(u),h+i*Jr(u)),r.arc(f,h,i,u,l,c));else{var p=void 0,g=void 0,y=void 0,m=void 0,_=void 0,S=void 0,w=void 0,x=void 0,b=void 0,C=void 0,T=void 0,D=void 0,A=void 0,L=void 0,I=void 0,P=void 0,R=n*Rn(l),E=n*Jr(l),F=i*Rn(u),k=i*Jr(u),O=v>we;if(O){var z=t.cornerRadius;z&&(e=nb(z),p=e[0],g=e[1],y=e[2],m=e[3]);var H=Gc(n-i)/2;if(_=Oe(H,y),S=Oe(H,m),w=Oe(H,p),x=Oe(H,g),T=b=ji(_,S),D=C=ji(w,x),(b>we||C>we)&&(A=n*Rn(u),L=n*Jr(u),I=i*Rn(l),P=i*Jr(l),vwe){var Ct=Oe(y,T),_t=Oe(m,T),q=uo(I,P,R,E,n,Ct,c),nt=uo(A,L,F,k,n,_t,c);r.moveTo(f+q.cx+q.x0,h+q.cy+q.y0),T0&&r.arc(f+q.cx,h+q.cy,Ct,Bt(q.y0,q.x0),Bt(q.y1,q.x1),!c),r.arc(f,h,n,Bt(q.cy+q.y1,q.cx+q.x1),Bt(nt.cy+nt.y1,nt.cx+nt.x1),!c),_t>0&&r.arc(f+nt.cx,h+nt.cy,_t,Bt(nt.y1,nt.x1),Bt(nt.y0,nt.x0),!c))}else r.moveTo(f+R,h+E),r.arc(f,h,n,l,u,!c);if(!(i>we)||!O)r.lineTo(f+F,h+k);else if(D>we){var Ct=Oe(p,D),_t=Oe(g,D),q=uo(F,k,A,L,i,-_t,c),nt=uo(R,E,I,P,i,-Ct,c);r.lineTo(f+q.cx+q.x0,h+q.cy+q.y0),D0&&r.arc(f+q.cx,h+q.cy,_t,Bt(q.y0,q.x0),Bt(q.y1,q.x1),!c),r.arc(f,h,i,Bt(q.cy+q.y1,q.cx+q.x1),Bt(nt.cy+nt.y1,nt.cx+nt.x1),c),Ct>0&&r.arc(f+nt.cx,h+nt.cy,Ct,Bt(nt.y1,nt.x1),Bt(nt.y0,nt.x0),!c))}else r.lineTo(f+F,h+k),r.arc(f,h,i,u,l,c)}r.closePath()}}}var ab=function(){function r(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return r}(),Ue=function(r){N(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new ab},t.prototype.buildPath=function(e,n){ib(e,n)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(at);Ue.prototype.type="sector";var ob=function(){function r(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return r}(),Ph=function(r){N(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new ob},t.prototype.buildPath=function(e,n){var i=n.cx,a=n.cy,o=Math.PI*2;e.moveTo(i+n.r,a),e.arc(i,a,n.r,0,o,!1),e.moveTo(i+n.r0,a),e.arc(i,a,n.r0,0,o,!0)},t}(at);Ph.prototype.type="ring";function sb(r,t,e,n){var i=[],a=[],o=[],s=[],l,u,f,h;if(n){f=[1/0,1/0],h=[-1/0,-1/0];for(var c=0,v=r.length;c=2){if(n){var a=sb(i,n,e,t.smoothConstraint);r.moveTo(i[0][0],i[0][1]);for(var o=i.length,s=0;s<(e?o:o-1);s++){var l=a[s*2],u=a[s*2+1],f=i[(s+1)%o];r.bezierCurveTo(l[0],l[1],u[0],u[1],f[0],f[1])}}else{r.moveTo(i[0][0],i[0][1]);for(var s=1,h=i.length;stn[1]){if(s=!1,a)return s;var f=Math.abs(tn[0]-jr[1]),h=Math.abs(jr[0]-tn[1]);Math.min(f,h)>i.len()&&(f0){var h=f.duration,c=f.delay,v=f.easing,d={duration:h,delay:c||0,easing:v,done:a,force:!!a||!!o,setToFinal:!u,scope:r,during:o};s?t.animateFrom(e,d):t.animateTo(e,d)}else t.stopAnimation(),!s&&t.attr(e),o&&o(1),a&&a()}function Pt(r,t,e,n,i,a){Eh("update",r,t,e,n,i,a)}function Vt(r,t,e,n,i,a){Eh("enter",r,t,e,n,i,a)}function ei(r){if(!r.__zr)return!0;for(var t=0;tMath.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function Wc(r){return!r.isGroup}function Mb(r){return r.shape!=null}function ym(r,t,e){if(!r||!t)return;function n(o){var s={};return o.traverse(function(l){Wc(l)&&l.anid&&(s[l.anid]=l)}),s}function i(o){var s={x:o.x,y:o.y,rotation:o.rotation};return Mb(o)&&(s.shape=B({},o.shape)),s}var a=n(r);t.traverse(function(o){if(Wc(o)&&o.anid){var s=a[o.anid];if(s){var l=i(o);o.attr(i(s)),Pt(o,l,e,ot(o).dataIndex)}}})}function mm(r,t){return V(r,function(e){var n=e[0];n=gs(n,t.x),n=ys(n,t.x+t.width);var i=e[1];return i=gs(i,t.y),i=ys(i,t.y+t.height),[n,i]})}function Db(r,t){var e=gs(r.x,t.x),n=ys(r.x+r.width,t.x+t.width),i=gs(r.y,t.y),a=ys(r.y+r.height,t.y+t.height);if(n>=e&&a>=i)return{x:e,y:i,width:n-e,height:a-i}}function Qs(r,t,e){var n=B({rectHover:!0},t),i=n.style={strokeNoScale:!0};if(e=e||{x:-1,y:-1,width:2,height:2},r)return r.indexOf("image://")===0?(i.image=r.slice(8),j(i,e),new Nr(n)):Oh(r.replace("path://",""),n,e,"center")}function Ab(r,t,e,n,i){for(var a=0,o=i[i.length-1];a1)return!1;var g=jl(v,d,f,h)/c;return!(g<0||g>1)}function jl(r,t,e,n){return r*n-e*t}function Lb(r){return r<=1e-6&&r>=-1e-6}function Ha(r){var t=r.itemTooltipOption,e=r.componentModel,n=r.itemName,i=W(t)?{formatter:t}:t,a=e.mainType,o=e.componentIndex,s={componentType:a,name:n,$vars:["name"]};s[a+"Index"]=o;var l=r.formatterParamsExtra;l&&M(mt(l),function(f){yn(s,f)||(s[f]=l[f],s.$vars.push(f))});var u=ot(r.el);u.componentMainType=a,u.componentIndex=o,u.tooltipConfig={name:n,option:j({content:n,encodeHTMLContent:!0,formatterParams:s},i)}}function Uc(r,t){var e;r.isGroup&&(e=t(r)),e||r.traverse(t)}function Js(r,t){if(r)if(G(r))for(var e=0;e=0&&s.push(l)}),s}}function tl(r,t){return rt(rt({},r,!0),t,!0)}const Ub={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},Yb={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var ms="ZH",Nh="EN",ri=Nh,Zo={},Fh={},Tm=Q.domSupported?function(){var r=(document.documentElement.lang||navigator.language||navigator.browserLanguage||ri).toUpperCase();return r.indexOf(ms)>-1?ms:ri}():ri;function Cm(r,t){r=r.toUpperCase(),Fh[r]=new xt(t),Zo[r]=t}function Zb(r){if(W(r)){var t=Zo[r.toUpperCase()]||{};return r===ms||r===Nh?J(t):rt(J(t),J(Zo[ri]),!1)}else return rt(J(r),J(Zo[ri]),!1)}function Xb(r){return Fh[r]}function $b(){return Fh[ri]}Cm(Nh,Ub);Cm(ms,Yb);var zh=1e3,Gh=zh*60,ca=Gh*60,de=ca*24,Kc=de*365,ta={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},vo="{yyyy}-{MM}-{dd}",Qc={year:"{yyyy}",month:"{yyyy}-{MM}",day:vo,hour:vo+" "+ta.hour,minute:vo+" "+ta.minute,second:vo+" "+ta.second,millisecond:ta.none},ru=["year","month","day","hour","minute","second","millisecond"],Mm=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function pr(r,t){return r+="","0000".substr(0,t-r.length)+r}function ni(r){switch(r){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return r}}function qb(r){return r===ni(r)}function Kb(r){switch(r){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function el(r,t,e,n){var i=sr(r),a=i[Vh(e)](),o=i[ii(e)]()+1,s=Math.floor((o-1)/3)+1,l=i[rl(e)](),u=i["get"+(e?"UTC":"")+"Day"](),f=i[Ma(e)](),h=(f-1)%12+1,c=i[nl(e)](),v=i[il(e)](),d=i[al(e)](),p=f>=12?"pm":"am",g=p.toUpperCase(),y=n instanceof xt?n:Xb(n||Tm)||$b(),m=y.getModel("time"),_=m.get("month"),S=m.get("monthAbbr"),w=m.get("dayOfWeek"),x=m.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,p+"").replace(/{A}/g,g+"").replace(/{yyyy}/g,a+"").replace(/{yy}/g,pr(a%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,_[o-1]).replace(/{MMM}/g,S[o-1]).replace(/{MM}/g,pr(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,pr(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,w[u]).replace(/{ee}/g,x[u]).replace(/{e}/g,u+"").replace(/{HH}/g,pr(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,pr(h+"",2)).replace(/{h}/g,h+"").replace(/{mm}/g,pr(c,2)).replace(/{m}/g,c+"").replace(/{ss}/g,pr(v,2)).replace(/{s}/g,v+"").replace(/{SSS}/g,pr(d,3)).replace(/{S}/g,d+"")}function Qb(r,t,e,n,i){var a=null;if(W(e))a=e;else if(K(e))a=e(r.value,t,{level:r.level});else{var o=B({},ta);if(r.level>0)for(var s=0;s=0;--s)if(l[u]){a=l[u];break}a=a||o.none}if(G(a)){var h=r.level==null?0:r.level>=0?r.level:a.length+r.level;h=Math.min(h,a.length-1),a=a[h]}}return el(new Date(r.value),a,i,n)}function Dm(r,t){var e=sr(r),n=e[ii(t)]()+1,i=e[rl(t)](),a=e[Ma(t)](),o=e[nl(t)](),s=e[il(t)](),l=e[al(t)](),u=l===0,f=u&&s===0,h=f&&o===0,c=h&&a===0,v=c&&i===1,d=v&&n===1;return d?"year":v?"month":c?"day":h?"hour":f?"minute":u?"second":"millisecond"}function Jc(r,t,e){var n=pt(r)?sr(r):r;switch(t=t||Dm(r,e),t){case"year":return n[Vh(e)]();case"half-year":return n[ii(e)]()>=6?1:0;case"quarter":return Math.floor((n[ii(e)]()+1)/4);case"month":return n[ii(e)]();case"day":return n[rl(e)]();case"half-day":return n[Ma(e)]()/24;case"hour":return n[Ma(e)]();case"minute":return n[nl(e)]();case"second":return n[il(e)]();case"millisecond":return n[al(e)]()}}function Vh(r){return r?"getUTCFullYear":"getFullYear"}function ii(r){return r?"getUTCMonth":"getMonth"}function rl(r){return r?"getUTCDate":"getDate"}function Ma(r){return r?"getUTCHours":"getHours"}function nl(r){return r?"getUTCMinutes":"getMinutes"}function il(r){return r?"getUTCSeconds":"getSeconds"}function al(r){return r?"getUTCMilliseconds":"getMilliseconds"}function Jb(r){return r?"setUTCFullYear":"setFullYear"}function Am(r){return r?"setUTCMonth":"setMonth"}function Lm(r){return r?"setUTCDate":"setDate"}function Im(r){return r?"setUTCHours":"setHours"}function Pm(r){return r?"setUTCMinutes":"setMinutes"}function Rm(r){return r?"setUTCSeconds":"setSeconds"}function Em(r){return r?"setUTCMilliseconds":"setMilliseconds"}function km(r){if(!fx(r))return W(r)?r:"-";var t=(r+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function Om(r,t){return r=(r||"").toLowerCase().replace(/-(.)/g,function(e,n){return n.toUpperCase()}),t&&r&&(r=r.charAt(0).toUpperCase()+r.slice(1)),r}var ol=ny;function Mf(r,t,e){var n="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function i(f){return f&&ze(f)?f:"-"}function a(f){return!!(f!=null&&!isNaN(f)&&isFinite(f))}var o=t==="time",s=r instanceof Date;if(o||s){var l=o?sr(r):r;if(isNaN(+l)){if(s)return"-"}else return el(l,n,e)}if(t==="ordinal")return qu(r)?i(r):pt(r)&&a(r)?r+"":"-";var u=ls(r);return a(u)?km(u):qu(r)?i(r):typeof r=="boolean"?r+"":"-"}var jc=["a","b","c","d","e","f","g"],nu=function(r,t){return"{"+r+(t??"")+"}"};function Bm(r,t,e){G(t)||(t=[t]);var n=t.length;if(!n)return"";for(var i=t[0].$vars||[],a=0;a':'';var o=e.markerId||"markerX";return{renderMode:a,content:"{"+o+"|} ",style:i==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}}function _n(r,t){return t=t||"transparent",W(r)?r:Z(r)&&r.colorStops&&(r.colorStops[0]||{}).color||t}function td(r,t){if(t==="_blank"||t==="blank"){var e=window.open();e.opener=null,e.location.href=r}else window.open(r,t)}var Xo=M,tT=["left","right","top","bottom","width","height"],co=[["width","left","right"],["height","top","bottom"]];function Hh(r,t,e,n,i){var a=0,o=0;n==null&&(n=1/0),i==null&&(i=1/0);var s=0;t.eachChild(function(l,u){var f=l.getBoundingRect(),h=t.childAt(u+1),c=h&&h.getBoundingRect(),v,d;if(r==="horizontal"){var p=f.width+(c?-c.x+f.x:0);v=a+p,v>n||l.newline?(a=0,v=p,o+=s+e,s=f.height):s=Math.max(s,f.height)}else{var g=f.height+(c?-c.y+f.y:0);d=o+g,d>i||l.newline?(a+=s+e,o=0,d=g,s=f.width):s=Math.max(s,f.width)}l.newline||(l.x=a,l.y=o,l.markRedraw(),r==="horizontal"?a=v+e:o=d+e)})}var ai=Hh;st(Hh,"vertical");st(Hh,"horizontal");function fr(r,t,e){e=ol(e||0);var n=t.width,i=t.height,a=dt(r.left,n),o=dt(r.top,i),s=dt(r.right,n),l=dt(r.bottom,i),u=dt(r.width,n),f=dt(r.height,i),h=e[2]+e[0],c=e[1]+e[3],v=r.aspect;switch(isNaN(u)&&(u=n-s-c-a),isNaN(f)&&(f=i-l-h-o),v!=null&&(isNaN(u)&&isNaN(f)&&(v>n/i?u=n*.8:f=i*.8),isNaN(u)&&(u=v*f),isNaN(f)&&(f=u/v)),isNaN(a)&&(a=n-s-u-c),isNaN(o)&&(o=i-l-f-h),r.left||r.right){case"center":a=n/2-u/2-e[3];break;case"right":a=n-u-c;break}switch(r.top||r.bottom){case"middle":case"center":o=i/2-f/2-e[0];break;case"bottom":o=i-f-h;break}a=a||0,o=o||0,isNaN(u)&&(u=n-c-a-(s||0)),isNaN(f)&&(f=i-h-o-(l||0));var d=new lt(a+e[3],o+e[0],u,f);return d.margin=e,d}function eT(r,t,e,n,i,a){a=a||r,a.x=r.x,a.y=r.y;var o;if(o=r.getBoundingRect(),r.needLocalTransform()){var s=r.getLocalTransform();o=o.clone(),o.applyTransform(s)}var l=fr(j({width:o.width,height:o.height},t),e,n),u=l.x-o.x,f=l.y-o.y;return a.x+=u,a.y+=f,a===r&&r.markRedraw(),!0}function Da(r){var t=r.layoutMode||r.constructor.layoutMode;return Z(t)?t:t?{type:t}:null}function fi(r,t,e){var n=e&&e.ignoreSize;!G(n)&&(n=[n,n]);var i=o(co[0],0),a=o(co[1],1);u(co[0],r,i),u(co[1],r,a);function o(f,h){var c={},v=0,d={},p=0,g=2;if(Xo(f,function(_){d[_]=r[_]}),Xo(f,function(_){s(t,_)&&(c[_]=d[_]=t[_]),l(c,_)&&v++,l(d,_)&&p++}),n[h])return l(t,f[1])?d[f[2]]=null:l(t,f[2])&&(d[f[1]]=null),d;if(p===g||!v)return d;if(v>=g)return c;for(var y=0;y=0;l--)s=rt(s,i[l],!0);n.defaultOption=s}return n.defaultOption},t.prototype.getReferringComponents=function(e,n){var i=e+"Index",a=e+"Id";return Va(this.ecModel,e,{index:this.get(i,!0),id:this.get(a,!0)},n)},t.prototype.getBoxLayoutParams=function(){var e=this;return{left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(e){this.option.zlevel=e},t.protoInitialize=function(){var e=t.prototype;e.type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0}(),t}(xt);Fy(ft,xt);Vs(ft);Hb(ft);Wb(ft,iT);function iT(r){var t=[];return M(ft.getClassesByMainType(r),function(e){t=t.concat(e.dependencies||e.prototype.dependencies||[])}),t=V(t,function(e){return Ge(e).main}),r!=="dataset"&&it(t,"dataset")<=0&&t.unshift("dataset"),t}var Nm="";typeof navigator<"u"&&(Nm=navigator.platform||"");var En="rgba(0, 0, 0, 0.2)";const aT={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:En,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:En,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:En,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:En,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:En,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:En,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Nm.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var Fm=X(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),_e="original",ne="arrayRows",Ie="objectRows",Xe="keyedColumns",Ir="typedArray",zm="unknown",or="column",Si="row",Rt={Must:1,Might:2,Not:3},Gm=yt();function oT(r){Gm(r).datasetMap=X()}function sT(r,t,e){var n={},i=Wh(t);if(!i||!r)return n;var a=[],o=[],s=t.ecModel,l=Gm(s).datasetMap,u=i.uid+"_"+e.seriesLayoutBy,f,h;r=r.slice(),M(r,function(p,g){var y=Z(p)?p:r[g]={name:p};y.type==="ordinal"&&f==null&&(f=g,h=d(y)),n[y.name]=[]});var c=l.get(u)||l.set(u,{categoryWayDim:h,valueWayDim:0});M(r,function(p,g){var y=p.name,m=d(p);if(f==null){var _=c.valueWayDim;v(n[y],_,m),v(o,_,m),c.valueWayDim+=m}else if(f===g)v(n[y],0,m),v(a,0,m);else{var _=c.categoryWayDim;v(n[y],_,m),v(o,_,m),c.categoryWayDim+=m}});function v(p,g,y){for(var m=0;mt)return r[n];return r[e-1]}function cT(r,t,e,n,i,a,o){a=a||r;var s=t(a),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var f=o==null||!n?e:vT(n,o);if(f=f||e,!(!f||!f.length)){var h=f[l];return i&&(u[i]=h),s.paletteIdx=(l+1)%f.length,h}}function dT(r,t){t(r).paletteIdx=0,t(r).paletteNameMap={}}var po,Ei,rd,nd="\0_ec_inner",pT=1,Yh=function(r){N(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.init=function(e,n,i,a,o,s){a=a||{},this.option=null,this._theme=new xt(a),this._locale=new xt(o),this._optionManager=s},t.prototype.setOption=function(e,n,i){var a=od(n);this._optionManager.setOption(e,i,a),this._resetOption(null,a)},t.prototype.resetOption=function(e,n){return this._resetOption(e,od(n))},t.prototype._resetOption=function(e,n){var i=!1,a=this._optionManager;if(!e||e==="recreate"){var o=a.mountOption(e==="recreate");!this.option||e==="recreate"?rd(this,o):(this.restoreData(),this._mergeOption(o,n)),i=!0}if((e==="timeline"||e==="media")&&this.restoreData(),!e||e==="recreate"||e==="timeline"){var s=a.getTimelineOption(this);s&&(i=!0,this._mergeOption(s,n))}if(!e||e==="recreate"||e==="media"){var l=a.getMediaOption(this);l.length&&M(l,function(u){i=!0,this._mergeOption(u,n)},this)}return i},t.prototype.mergeOption=function(e){this._mergeOption(e,null)},t.prototype._mergeOption=function(e,n){var i=this.option,a=this._componentsMap,o=this._componentsCount,s=[],l=X(),u=n&&n.replaceMergeMainTypeMap;oT(this),M(e,function(h,c){h!=null&&(ft.hasClass(c)?c&&(s.push(c),l.set(c,!0)):i[c]=i[c]==null?J(h):rt(i[c],h,!0))}),u&&u.each(function(h,c){ft.hasClass(c)&&!l.get(c)&&(s.push(c),l.set(c,!0))}),ft.topologicalTravel(s,ft.getAllClassMainTypes(),f,this);function f(h){var c=hT(this,h,Dt(e[h])),v=a.get(h),d=v?u&&u.get(h)?"replaceMerge":"normalMerge":"replaceAll",p=vx(v,c,d);Sx(p,h,ft),i[h]=null,a.set(h,null),o.set(h,0);var g=[],y=[],m=0,_;M(p,function(S,w){var x=S.existing,b=S.newOption;if(!b)x&&(x.mergeOption({},this),x.optionUpdated({},!1));else{var C=h==="series",T=ft.getClass(h,S.keyInfo.subType,!C);if(!T)return;if(h==="tooltip"){if(_)return;_=!0}if(x&&x.constructor===T)x.name=S.keyInfo.name,x.mergeOption(b,this),x.optionUpdated(b,!1);else{var D=B({componentIndex:w},S.keyInfo);x=new T(b,this,this,D),B(x,D),S.brandNew&&(x.__requireNewView=!0),x.init(b,this,this),x.optionUpdated(null,!0)}}x?(g.push(x.option),y.push(x),m++):(g.push(void 0),y.push(void 0))},this),i[h]=g,a.set(h,y),o.set(h,m),h==="series"&&po(this)}this._seriesIndices||po(this)},t.prototype.getOption=function(){var e=J(this.option);return M(e,function(n,i){if(ft.hasClass(i)){for(var a=Dt(n),o=a.length,s=!1,l=o-1;l>=0;l--)a[l]&&!xa(a[l])?s=!0:(a[l]=null,!s&&o--);a.length=o,e[i]=a}}),delete e[nd],e},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(e){this._payload=e},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(e,n){var i=this._componentsMap.get(e);if(i){var a=i[n||0];if(a)return a;if(n==null){for(var o=0;o=t:e==="max"?r<=t:r===t}function TT(r,t){return r.join(",")===t.join(",")}var Se=M,Aa=Z,sd=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function au(r){var t=r&&r.itemStyle;if(t)for(var e=0,n=sd.length;e=0;g--){var y=r[g];if(s||(d=y.data.rawIndexOf(y.stackedByDimension,v)),d>=0){var m=y.data.getByRawIndex(y.stackResultDimension,d);if(l==="all"||l==="positive"&&m>0||l==="negative"&&m<0||l==="samesign"&&c>=0&&m>0||l==="samesign"&&c<=0&&m<0){c=sx(c,m),p=m;break}}}return n[0]=c,n[1]=p,n})})}var sl=function(){function r(t){this.data=t.data||(t.sourceFormat===Xe?{}:[]),this.sourceFormat=t.sourceFormat||zm,this.seriesLayoutBy=t.seriesLayoutBy||or,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;np&&(p=_)}v[0]=d,v[1]=p}},i=function(){return this._data?this._data.length/this._dimSize:0};dd=(t={},t[ne+"_"+or]={pure:!0,appendData:a},t[ne+"_"+Si]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[Ie]={pure:!0,appendData:a},t[Xe]={pure:!0,appendData:function(o){var s=this._data;M(o,function(l,u){for(var f=s[u]||(s[u]=[]),h=0;h<(l||[]).length;h++)f.push(l[h])})}},t[_e]={appendData:a},t[Ir]={persistent:!1,pure:!0,appendData:function(o){this._data=o},clean:function(){this._offset+=this.count(),this._data=null}},t);function a(o){for(var s=0;s=0&&(p=o.interpolatedValue[g])}return p!=null?p+"":""})}},r.prototype.getRawValue=function(t,e){return hi(this.getData(e),t)},r.prototype.formatTooltip=function(t,e,n){},r}();function md(r){var t,e;return Z(r)?r.type&&(e=r):t=r,{text:t,frag:e}}function da(r){return new HT(r)}var HT=function(){function r(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return r.prototype.perform=function(t){var e=this._upstream,n=t&&t.skip;if(this._dirty&&e){var i=this.context;i.data=i.outputData=e.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var a;this._plan&&!n&&(a=this._plan(this.context));var o=f(this._modBy),s=this._modDataCount||0,l=f(t&&t.modBy),u=t&&t.modDataCount||0;(o!==l||s!==u)&&(a="reset");function f(m){return!(m>=1)&&(m=1),m}var h;(this._dirty||a==="reset")&&(this._dirty=!1,h=this._doReset(n)),this._modBy=l,this._modDataCount=u;var c=t&&t.step;if(e?this._dueEnd=e._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var v=this._dueIndex,d=Math.min(c!=null?this._dueIndex+c:1/0,this._dueEnd);if(!n&&(h||v1&&n>0?s:o}};return a;function o(){return t=r?null:li?-this._resultLT:0},r}(),UT=function(){function r(){}return r.prototype.getRawData=function(){throw new Error("not supported")},r.prototype.getRawDataItem=function(t){throw new Error("not supported")},r.prototype.cloneRawData=function(){},r.prototype.getDimensionInfo=function(t){},r.prototype.cloneAllDimensionInfo=function(){},r.prototype.count=function(){},r.prototype.retrieveValue=function(t,e){},r.prototype.retrieveValueFromItem=function(t,e){},r.prototype.convertValue=function(t,e){return $o(t,e)},r}();function YT(r,t){var e=new UT,n=r.data,i=e.sourceFormat=r.sourceFormat,a=r.startIndex,o="";r.seriesLayoutBy!==or&&Qt(o);var s=[],l={},u=r.dimensionsDefine;if(u)M(u,function(p,g){var y=p.name,m={index:g,name:y,displayName:p.displayName};if(s.push(m),y!=null){var _="";yn(l,y)&&Qt(_),l[y]=m}});else for(var f=0;f65535?jT:tC}function On(){return[1/0,-1/0]}function eC(r){var t=r.constructor;return t===Array?r.slice():new t(r)}function xd(r,t,e,n,i){var a=e0[e||"float"];if(i){var o=r[t],s=o&&o.length;if(s!==n){for(var l=new a(n),u=0;ug[1]&&(g[1]=p)}return this._rawCount=this._count=l,{start:s,end:l}},r.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,a=this._chunks,o=this._dimensions,s=o.length,l=this._rawExtent,u=V(o,function(m){return m.property}),f=0;fy[1]&&(y[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},r.prototype.count=function(){return this._count},r.prototype.get=function(t,e){if(!(e>=0&&e=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(n!=null&&nt)a=o-1;else return o}return-1},r.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks,a=i[t],o=[];if(!a)return o;n==null&&(n=1/0);for(var s=1/0,l=-1,u=0,f=0,h=this.count();f=0&&l<0)&&(s=d,l=v,u=0),v===l&&(o[u++]=f))}return o.length=u,o},r.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var a=0;a=h&&m<=c||isNaN(m))&&(l[u++]=p),p++}d=!0}else if(a===2){for(var g=v[i[0]],_=v[i[1]],S=t[i[1]][0],w=t[i[1]][1],y=0;y=h&&m<=c||isNaN(m))&&(x>=S&&x<=w||isNaN(x))&&(l[u++]=p),p++}d=!0}}if(!d)if(a===1)for(var y=0;y=h&&m<=c||isNaN(m))&&(l[u++]=b)}else for(var y=0;yt[D][1])&&(C=!1)}C&&(l[u++]=e.getRawIndex(y))}return uy[1]&&(y[1]=g)}}}},r.prototype.lttbDownSample=function(t,e){var n=this.clone([t],!0),i=n._chunks,a=i[t],o=this.count(),s=0,l=Math.floor(1/e),u=this.getRawIndex(0),f,h,c,v=new(kn(this._rawCount))(Math.min((Math.ceil(o/l)+2)*2,o));v[s++]=u;for(var d=1;df&&(f=h,c=S)}A>0&&As&&(p=s-f);for(var g=0;gd&&(d=m,v=f+g)}var _=this.getRawIndex(h),S=this.getRawIndex(v);hf-d&&(l=f-d,s.length=l);for(var p=0;ph[1]&&(h[1]=y),c[v++]=m}return a._count=v,a._indices=c,a._updateGetRawIdx(),a},r.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,a=0,o=this.count();al&&(l=h)}return o=[s,l],this._extent[t]=o,o},r.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,a=0;a=0?this._indices[t]:-1},r.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},r.internalField=function(){function t(e,n,i,a){return $o(e[a],this._dimensions[a])}lu={arrayRows:t,objectRows:function(e,n,i,a){return $o(e[n],this._dimensions[a])},keyedColumns:t,original:function(e,n,i,a){var o=e&&(e.value==null?e:e.value);return $o(o instanceof Array?o[a]:o,this._dimensions[a])},typedArray:function(e,n,i,a){return e[a]}}}(),r}(),rC=function(){function r(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return r.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},r.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},r.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},r.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},r.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,e=this._getUpstreamSourceManagers(),n=!!e.length,i,a;if(go(t)){var o=t,s=void 0,l=void 0,u=void 0;if(n){var f=e[0];f.prepareSource(),u=f.getSource(),s=u.data,l=u.sourceFormat,a=[f._getVersionSign()]}else s=o.get("data",!0),l=re(s)?Ir:_e,a=[];var h=this._getSourceMetaRawOption()||{},c=u&&u.metaRawOption||{},v=tt(h.seriesLayoutBy,c.seriesLayoutBy)||null,d=tt(h.sourceHeader,c.sourceHeader),p=tt(h.dimensions,c.dimensions),g=v!==c.seriesLayoutBy||!!d!=!!c.sourceHeader||p;i=g?[Af(s,{seriesLayoutBy:v,sourceHeader:d,dimensions:p},l)]:[]}else{var y=t;if(n){var m=this._applyTransform(e);i=m.sourceList,a=m.upstreamSignList}else{var _=y.get("source",!0);i=[Af(_,this._getSourceMetaRawOption(),null)],a=[]}}this._setLocalSource(i,a)},r.prototype._applyTransform=function(t){var e=this._sourceHost,n=e.get("transform",!0),i=e.get("fromTransformResult",!0);if(i!=null){var a="";t.length!==1&&wd(a)}var o,s=[],l=[];return M(t,function(u){u.prepareSource();var f=u.getSource(i||0),h="";i!=null&&!f&&wd(h),s.push(f),l.push(u._getVersionSign())}),n?o=QT(n,s,{datasetIndex:e.componentIndex}):i!=null&&(o=[kT(s[0])]),{sourceList:o,upstreamSignList:l}},r.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e1||e>0&&!r.noHeader;return M(r.blocks,function(i){var a=a0(i);a>=t&&(t=a+ +(n&&(!a||If(i)&&!i.noHeader)))}),t}return 0}function oC(r,t,e,n){var i=t.noHeader,a=lC(a0(t)),o=[],s=t.blocks||[];We(!s||G(s)),s=s||[];var l=r.orderMode;if(t.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(yn(u,l)){var f=new WT(u[l],null);s.sort(function(p,g){return f.evaluate(p.sortParam,g.sortParam)})}else l==="seriesDesc"&&s.reverse()}M(s,function(p,g){var y=t.valueFormatter,m=i0(p)(y?B(B({},r),{valueFormatter:y}):r,p,g>0?a.html:0,n);m!=null&&o.push(m)});var h=r.renderMode==="richText"?o.join(a.richText):Pf(n,o.join(""),i?e:a.html);if(i)return h;var c=Mf(t.header,"ordinal",r.useUTC),v=n0(n,r.renderMode).nameStyle,d=r0(n);return r.renderMode==="richText"?o0(r,c,v)+a.richText+h:Pf(n,'
'+Kt(c)+"
"+h,e)}function sC(r,t,e,n){var i=r.renderMode,a=t.noName,o=t.noValue,s=!t.markerType,l=t.name,u=r.useUTC,f=t.valueFormatter||r.valueFormatter||function(S){return S=G(S)?S:[S],V(S,function(w,x){return Mf(w,G(v)?v[x]:v,u)})};if(!(a&&o)){var h=s?"":r.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",i),c=a?"":Mf(l,"ordinal",u),v=t.valueType,d=o?[]:f(t.value,t.dataIndex),p=!s||!a,g=!s&&a,y=n0(n,i),m=y.nameStyle,_=y.valueStyle;return i==="richText"?(s?"":h)+(a?"":o0(r,c,m))+(o?"":hC(r,d,p,g,_)):Pf(n,(s?"":h)+(a?"":uC(c,!s,m))+(o?"":fC(d,p,g,_)),e)}}function bd(r,t,e,n,i,a){if(r){var o=i0(r),s={useUTC:i,renderMode:e,orderMode:n,markupStyleCreator:t,valueFormatter:r.valueFormatter};return o(s,r,0,a)}}function lC(r){return{html:iC[r],richText:aC[r]}}function Pf(r,t,e){var n='
',i="margin: "+e+"px 0 0",a=r0(r);return'
'+t+n+"
"}function uC(r,t,e){var n=t?"margin-left:2px":"";return''+Kt(r)+""}function fC(r,t,e,n){var i=e?"10px":"20px",a=t?"float:right;margin-left:"+i:"";return r=G(r)?r:[r],''+V(r,function(o){return Kt(o)}).join("  ")+""}function o0(r,t,e){return r.markupStyleCreator.wrapRichTextStyle(t,e)}function hC(r,t,e,n,i){var a=[i],o=n?10:20;return e&&a.push({padding:[0,0,0,o],align:"right"}),r.markupStyleCreator.wrapRichTextStyle(G(t)?t.join(" "):t,a)}function vC(r,t){var e=r.getData().getItemVisual(t,"style"),n=e[r.visualDrawType];return _n(n)}function s0(r,t){var e=r.get("padding");return e??(t==="richText"?[8,10]:10)}var uu=function(){function r(){this.richTextStyles={},this._nextStyleNameId=Iy()}return r.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},r.prototype.makeTooltipMarker=function(t,e,n){var i=n==="richText"?this._generateStyleName():null,a=jb({color:e,type:t,renderMode:n,markerId:i});return W(a)?a:(this.richTextStyles[i]=a.style,a.content)},r.prototype.wrapRichTextStyle=function(t,e){var n={};G(e)?M(e,function(a){return B(n,a)}):B(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},r}();function cC(r){var t=r.series,e=r.dataIndex,n=r.multipleSeries,i=t.getData(),a=i.mapDimensionsAll("defaultedTooltip"),o=a.length,s=t.getRawValue(e),l=G(s),u=vC(t,e),f,h,c,v;if(o>1||l&&!o){var d=dC(s,t,e,a,u);f=d.inlineValues,h=d.inlineValueTypes,c=d.blocks,v=d.inlineValues[0]}else if(o){var p=i.getDimensionInfo(a[0]);v=f=hi(i,e,a[0]),h=p.type}else v=f=l?s[0]:s;var g=wh(t),y=g&&t.name||"",m=i.getName(e),_=n?y:m;return La("section",{header:y,noHeader:n||!g,sortParam:v,blocks:[La("nameValue",{markerType:"item",markerColor:u,name:_,noName:!ze(_),value:f,valueType:h,dataIndex:e})].concat(c||[])})}function dC(r,t,e,n,i){var a=t.getData(),o=Rr(r,function(h,c,v){var d=a.getDimensionInfo(v);return h=h||d&&d.tooltip!==!1&&d.displayName!=null},!1),s=[],l=[],u=[];n.length?M(n,function(h){f(hi(a,e,h),h)}):M(r,f);function f(h,c){var v=a.getDimensionInfo(c);!v||v.otherDims.tooltip===!1||(o?u.push(La("nameValue",{markerType:"subItem",markerColor:i,name:v.displayName,value:h,valueType:v.type})):(s.push(h),l.push(v.type)))}return{inlineValues:s,inlineValueTypes:l,blocks:u}}var gr=yt();function yo(r,t){return r.getName(t)||r.getId(t)}var qo="__universalTransitionEnabled",Ae=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return t.prototype.init=function(e,n,i){this.seriesIndex=this.componentIndex,this.dataTask=da({count:gC,reset:yC}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,i);var a=gr(this).sourceManager=new rC(this);a.prepareSource();var o=this.getInitialData(e,i);Cd(o,this),this.dataTask.context.data=o,gr(this).dataBeforeProcessed=o,Td(this),this._initSelectedMapFromData(o)},t.prototype.mergeDefaultAndTheme=function(e,n){var i=Da(this),a=i?Za(e):{},o=this.subType;ft.hasClass(o)&&(o+="Series"),rt(e,n.getTheme().get(this.subType)),rt(e,this.getDefaultOption()),pf(e,"label",["show"]),this.fillDataTextStyle(e.data),i&&fi(e,a,i)},t.prototype.mergeOption=function(e,n){e=rt(this.option,e,!0),this.fillDataTextStyle(e.data);var i=Da(this);i&&fi(this.option,e,i);var a=gr(this).sourceManager;a.dirty(),a.prepareSource();var o=this.getInitialData(e,n);Cd(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,gr(this).dataBeforeProcessed=o,Td(this),this._initSelectedMapFromData(o)},t.prototype.fillDataTextStyle=function(e){if(e&&!re(e))for(var n=["show"],i=0;ithis.getShallow("animationThreshold")&&(n=!1),!!n},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(e,n,i){var a=this.ecModel,o=Uh.prototype.getColorFromPalette.call(this,e,n,i);return o||(o=a.getColorFromPalette(e,n,i)),o},t.prototype.coordDimToDataDim=function(e){return this.getRawData().mapDimensionsAll(e)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(e,n){this._innerSelect(this.getData(n),e)},t.prototype.unselect=function(e,n){var i=this.option.selectedMap;if(i){var a=this.option.selectedMode,o=this.getData(n);if(a==="series"||i==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var s=0;s=0&&i.push(o)}return i},t.prototype.isSelected=function(e,n){var i=this.option.selectedMap;if(!i)return!1;var a=this.getData(n);return(i==="all"||i[yo(a,e)])&&!a.getItemModel(e).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[qo])return!0;var e=this.option.universalTransition;return e?e===!0?!0:e&&e.enabled:!1},t.prototype._innerSelect=function(e,n){var i,a,o=this.option,s=o.selectedMode,l=n.length;if(!(!s||!l)){if(s==="series")o.selectedMap="all";else if(s==="multiple"){Z(o.selectedMap)||(o.selectedMap={});for(var u=o.selectedMap,f=0;f0&&this._innerSelect(e,n)}},t.registerClass=function(e){return ft.registerClass(e)},t.protoInitialize=function(){var e=t.prototype;e.type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"}(),t}(ft);Ze(Ae,VT);Ze(Ae,Uh);Fy(Ae,ft);function Td(r){var t=r.name;wh(r)||(r.name=pC(r)||t)}function pC(r){var t=r.getRawData(),e=t.mapDimensionsAll("seriesName"),n=[];return M(e,function(i){var a=t.getDimensionInfo(i);a.displayName&&n.push(a.displayName)}),n.join(" ")}function gC(r){return r.model.getRawData().count()}function yC(r){var t=r.model;return t.setData(t.getRawData().cloneShallow()),mC}function mC(r,t){t.outputData&&r.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function Cd(r,t){M(Z1(r.CHANGABLE_METHODS,r.DOWNSAMPLE_METHODS),function(e){r.wrapMethod(e,st(_C,t))})}function _C(r,t){var e=Rf(r);return e&&e.setOutputEnd((t||this).count()),t}function Rf(r){var t=(r.ecModel||{}).scheduler,e=t&&t.getPipeline(r.uid);if(e){var n=e.currentTask;if(n){var i=n.agentStubMap;i&&(n=i.get(r.uid))}return n}}var oe=function(){function r(){this.group=new bt,this.uid=Ya("viewComponent")}return r.prototype.init=function(t,e){},r.prototype.render=function(t,e,n,i){},r.prototype.dispose=function(t,e){},r.prototype.updateView=function(t,e,n,i){},r.prototype.updateLayout=function(t,e,n,i){},r.prototype.updateVisual=function(t,e,n,i){},r.prototype.toggleBlurSeries=function(t,e,n){},r.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},r}();Th(oe);Vs(oe);function Kh(){var r=yt();return function(t){var e=r(t),n=t.pipelineContext,i=!!e.large,a=!!e.progressiveRender,o=e.large=!!(n&&n.large),s=e.progressiveRender=!!(n&&n.progressiveRender);return(i!==o||a!==s)&&"reset"}}var l0=yt(),SC=Kh(),ge=function(){function r(){this.group=new bt,this.uid=Ya("viewChart"),this.renderTask=da({plan:xC,reset:wC}),this.renderTask.context={view:this}}return r.prototype.init=function(t,e){},r.prototype.render=function(t,e,n,i){},r.prototype.highlight=function(t,e,n,i){var a=t.getData(i&&i.dataType);a&&Dd(a,i,"emphasis")},r.prototype.downplay=function(t,e,n,i){var a=t.getData(i&&i.dataType);a&&Dd(a,i,"normal")},r.prototype.remove=function(t,e){this.group.removeAll()},r.prototype.dispose=function(t,e){},r.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},r.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},r.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},r.prototype.eachRendered=function(t){Js(this.group,t)},r.markUpdateMethod=function(t,e){l0(t).updateMethod=e},r.protoInitialize=function(){var t=r.prototype;t.type="chart"}(),r}();function Md(r,t,e){r&&xf(r)&&(t==="emphasis"?li:ui)(r,e)}function Dd(r,t,e){var n=mn(r,t),i=t&&t.highlightKey!=null?Ww(t.highlightKey):null;n!=null?M(Dt(n),function(a){Md(r.getItemGraphicEl(a),e,i)}):r.eachItemGraphicEl(function(a){Md(a,e,i)})}Th(ge);Vs(ge);function xC(r){return SC(r.model)}function wC(r){var t=r.model,e=r.ecModel,n=r.api,i=r.payload,a=t.pipelineContext.progressiveRender,o=r.view,s=i&&l0(i).updateMethod,l=a?"incrementalPrepareRender":s&&o[s]?s:"render";return l!=="render"&&o[l](t,e,n,i),bC[l]}var bC={incrementalPrepareRender:{progress:function(r,t){t.view.incrementalRender(r,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(r,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},_s="\0__throttleOriginMethod",Ad="\0__throttleRate",Ld="\0__throttleType";function Qh(r,t,e){var n,i=0,a=0,o=null,s,l,u,f;t=t||0;function h(){a=new Date().getTime(),o=null,r.apply(l,u||[])}var c=function(){for(var v=[],d=0;d=0?h():o=setTimeout(h,-s),i=n};return c.clear=function(){o&&(clearTimeout(o),o=null)},c.debounceNextCall=function(v){f=v},c}function ul(r,t,e,n){var i=r[t];if(i){var a=i[_s]||i,o=i[Ld],s=i[Ad];if(s!==e||o!==n){if(e==null||!n)return r[t]=a;i=r[t]=Qh(a,e,n==="debounce"),i[_s]=a,i[Ld]=n,i[Ad]=e}return i}}function Ss(r,t){var e=r[t];e&&e[_s]&&(e.clear&&e.clear(),r[t]=e[_s])}var Id=yt(),Pd={itemStyle:wa(bm,!0),lineStyle:wa(wm,!0)},TC={lineStyle:"stroke",itemStyle:"fill"};function u0(r,t){var e=r.visualStyleMapper||Pd[t];return e||(console.warn("Unknown style type '"+t+"'."),Pd.itemStyle)}function f0(r,t){var e=r.visualDrawType||TC[t];return e||(console.warn("Unknown style type '"+t+"'."),"fill")}var CC={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,t){var e=r.getData(),n=r.visualStyleAccessPath||"itemStyle",i=r.getModel(n),a=u0(r,n),o=a(i),s=i.getShallow("decal");s&&(e.setVisual("decal",s),s.dirty=!0);var l=f0(r,n),u=o[l],f=K(u)?u:null,h=o.fill==="auto"||o.stroke==="auto";if(!o[l]||f||h){var c=r.getColorFromPalette(r.name,null,t.getSeriesCount());o[l]||(o[l]=c,e.setVisual("colorFromPalette",!0)),o.fill=o.fill==="auto"||K(o.fill)?c:o.fill,o.stroke=o.stroke==="auto"||K(o.stroke)?c:o.stroke}if(e.setVisual("style",o),e.setVisual("drawType",l),!t.isSeriesFiltered(r)&&f)return e.setVisual("colorFromPalette",!1),{dataEach:function(v,d){var p=r.getDataParams(d),g=B({},o);g[l]=f(p),v.setItemVisual(d,"style",g)}}}},Oi=new xt,MC={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,t){if(!(r.ignoreStyleOnData||t.isSeriesFiltered(r))){var e=r.getData(),n=r.visualStyleAccessPath||"itemStyle",i=u0(r,n),a=e.getVisual("drawType");return{dataEach:e.hasItemOption?function(o,s){var l=o.getRawDataItem(s);if(l&&l[n]){Oi.option=l[n];var u=i(Oi),f=o.ensureUniqueItemVisual(s,"style");B(f,u),Oi.option.decal&&(o.setItemVisual(s,"decal",Oi.option.decal),Oi.option.decal.dirty=!0),a in u&&o.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},DC={performRawSeries:!0,overallReset:function(r){var t=X();r.eachSeries(function(e){var n=e.getColorBy();if(!e.isColorBySeries()){var i=e.type+"-"+n,a=t.get(i);a||(a={},t.set(i,a)),Id(e).scope=a}}),r.eachSeries(function(e){if(!(e.isColorBySeries()||r.isSeriesFiltered(e))){var n=e.getRawData(),i={},a=e.getData(),o=Id(e).scope,s=e.visualStyleAccessPath||"itemStyle",l=f0(e,s);a.each(function(u){var f=a.getRawIndex(u);i[f]=u}),n.each(function(u){var f=i[u],h=a.getItemVisual(f,"colorFromPalette");if(h){var c=a.ensureUniqueItemVisual(f,"style"),v=n.getName(u)||u+"",d=n.count();c[l]=e.getColorFromPalette(v,o,d)}})}})}},mo=Math.PI;function AC(r,t){t=t||{},j(t,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var e=new bt,n=new gt({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});e.add(n);var i=new At({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),a=new gt({style:{fill:"none"},textContent:i,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});e.add(a);var o;return t.showSpinner&&(o=new $s({shape:{startAngle:-mo/2,endAngle:-mo/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),o.animateShape(!0).when(1e3,{endAngle:mo*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:mo*3/2}).delay(300).start("circularInOut"),e.add(o)),e.resize=function(){var s=i.getBoundingRect().width,l=t.showSpinner?t.spinnerRadius:0,u=(r.getWidth()-l*2-(t.showSpinner&&s?10:0)-s)/2-(t.showSpinner&&s?0:5+s/2)+(t.showSpinner?0:s/2)+(s?0:l),f=r.getHeight()/2;t.showSpinner&&o.setShape({cx:u,cy:f}),a.setShape({x:u-l,y:f-l,width:l*2,height:l*2}),n.setShape({x:0,y:0,width:r.getWidth(),height:r.getHeight()})},e.resize(),e}var h0=function(){function r(t,e,n,i){this._stageTaskMap=X(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return r.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(n){var i=n.overallTask;i&&i.dirty()})},r.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,a=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex,o=a?n.step:null,s=i&&i.modDataCount,l=s!=null?Math.ceil(s/o):null;return{step:o,modBy:l,modDataCount:s}}},r.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},r.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData(),a=i.count(),o=n.progressiveEnabled&&e.incrementalPrepareRender&&a>=n.threshold,s=t.get("large")&&a>=t.get("largeThreshold"),l=t.get("progressiveChunkMode")==="mod"?a:null;t.pipelineContext=n.context={progressiveRender:o,modDataCount:l,large:s}},r.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=X();t.eachSeries(function(i){var a=i.getProgressive(),o=i.uid;n.set(o,{id:o,head:null,tail:null,threshold:i.getProgressiveThreshold(),progressiveEnabled:a&&!(i.preventIncremental&&i.preventIncremental()),blockIndex:-1,step:Math.round(a||700),count:0}),e._pipe(i,i.dataTask)})},r.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;M(this._allHandlers,function(i){var a=t.get(i.uid)||t.set(i.uid,{}),o="";We(!(i.reset&&i.overallReset),o),i.reset&&this._createSeriesStageTask(i,a,e,n),i.overallReset&&this._createOverallStageTask(i,a,e,n)},this)},r.prototype.prepareView=function(t,e,n,i){var a=t.renderTask,o=a.context;o.model=e,o.ecModel=n,o.api=i,a.__block=!t.incrementalPrepareRender,this._pipe(e,a)},r.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},r.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},r.prototype._performStageTasks=function(t,e,n,i){i=i||{};var a=!1,o=this;M(t,function(l,u){if(!(i.visualType&&i.visualType!==l.visualType)){var f=o._stageTaskMap.get(l.uid),h=f.seriesTaskMap,c=f.overallTask;if(c){var v,d=c.agentStubMap;d.each(function(g){s(i,g)&&(g.dirty(),v=!0)}),v&&c.dirty(),o.updatePayload(c,n);var p=o.getPerformArgs(c,i.block);d.each(function(g){g.perform(p)}),c.perform(p)&&(a=!0)}else h&&h.each(function(g,y){s(i,g)&&g.dirty();var m=o.getPerformArgs(g,i.block);m.skip=!l.performRawSeries&&e.isSeriesFiltered(g.context.model),o.updatePayload(g,n),g.perform(m)&&(a=!0)})}});function s(l,u){return l.setDirty&&(!l.dirtyMap||l.dirtyMap.get(u.__pipeline.id))}this.unfinished=a||this.unfinished},r.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(n){e=n.dataTask.perform()||e}),this.unfinished=e||this.unfinished},r.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})},r.prototype.updatePayload=function(t,e){e!=="remain"&&(t.context.payload=e)},r.prototype._createSeriesStageTask=function(t,e,n,i){var a=this,o=e.seriesTaskMap,s=e.seriesTaskMap=X(),l=t.seriesType,u=t.getTargetSeries;t.createOnAllSeries?n.eachRawSeries(f):l?n.eachRawSeriesByType(l,f):u&&u(n,i).each(f);function f(h){var c=h.uid,v=s.set(c,o&&o.get(c)||da({plan:EC,reset:kC,count:BC}));v.context={model:h,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:a},a._pipe(h,v)}},r.prototype._createOverallStageTask=function(t,e,n,i){var a=this,o=e.overallTask=e.overallTask||da({reset:LC});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:a};var s=o.agentStubMap,l=o.agentStubMap=X(),u=t.seriesType,f=t.getTargetSeries,h=!0,c=!1,v="";We(!t.createOnAllSeries,v),u?n.eachRawSeriesByType(u,d):f?f(n,i).each(d):(h=!1,M(n.getSeries(),d));function d(p){var g=p.uid,y=l.set(g,s&&s.get(g)||(c=!0,da({reset:IC,onDirty:RC})));y.context={model:p,overallProgress:h},y.agent=o,y.__block=h,a._pipe(p,y)}c&&o.dirty()},r.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},r.wrapStageHandler=function(t,e){return K(t)&&(t={overallReset:t,seriesType:NC(t)}),t.uid=Ya("stageHandler"),e&&(t.visualType=e),t},r}();function LC(r){r.overallReset(r.ecModel,r.api,r.payload)}function IC(r){return r.overallProgress&&PC}function PC(){this.agent.dirty(),this.getDownstream().dirty()}function RC(){this.agent&&this.agent.dirty()}function EC(r){return r.plan?r.plan(r.model,r.ecModel,r.api,r.payload):null}function kC(r){r.useClearVisual&&r.data.clearAllVisual();var t=r.resetDefines=Dt(r.reset(r.model,r.ecModel,r.api,r.payload));return t.length>1?V(t,function(e,n){return v0(n)}):OC}var OC=v0(0);function v0(r){return function(t,e){var n=e.data,i=e.resetDefines[r];if(i&&i.dataEach)for(var a=t.start;a0&&v===u.length-c.length){var d=u.slice(0,v);d!=="data"&&(e.mainType=d,e[c.toLowerCase()]=l,f=!0)}}s.hasOwnProperty(u)&&(n[u]=l,f=!0),f||(i[u]=l)})}return{cptQuery:e,dataQuery:n,otherQuery:i}},r.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,a=n.packedEvent,o=n.model,s=n.view;if(!o||!s)return!0;var l=e.cptQuery,u=e.dataQuery;return f(l,o,"mainType")&&f(l,o,"subType")&&f(l,o,"index","componentIndex")&&f(l,o,"name")&&f(l,o,"id")&&f(u,a,"name")&&f(u,a,"dataIndex")&&f(u,a,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,i,a));function f(h,c,v,d){return h[v]==null||c[d||v]===h[v]}},r.prototype.afterTrigger=function(){this.eventInfo=null},r}(),Ef=["symbol","symbolSize","symbolRotate","symbolOffset"],Od=Ef.concat(["symbolKeepAspect"]),GC={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,t){var e=r.getData();if(r.legendIcon&&e.setVisual("legendIcon",r.legendIcon),!r.hasSymbolVisual)return;for(var n={},i={},a=!1,o=0;o=0&&hn(l)?l:.5;var u=r.createRadialGradient(o,s,0,o,s,l);return u}function kf(r,t,e){for(var n=t.type==="radial"?aM(r,t,e):iM(r,t,e),i=t.colorStops,a=0;a0)?null:r==="dashed"?[4*t,2*t]:r==="dotted"?[t]:pt(r)?[r]:G(r)?r:null}function y0(r){var t=r.style,e=t.lineDash&&t.lineWidth>0&&sM(t.lineDash,t.lineWidth),n=t.lineDashOffset;if(e){var i=t.strokeNoScale&&r.getLineScale?r.getLineScale():1;i&&i!==1&&(e=V(e,function(a){return a/i}),n/=i)}return[e,n]}var lM=new lr(!0);function bs(r){var t=r.stroke;return!(t==null||t==="none"||!(r.lineWidth>0))}function Bd(r){return typeof r=="string"&&r!=="none"}function Ts(r){var t=r.fill;return t!=null&&t!=="none"}function Nd(r,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var e=r.globalAlpha;r.globalAlpha=t.fillOpacity*t.opacity,r.fill(),r.globalAlpha=e}else r.fill()}function Fd(r,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var e=r.globalAlpha;r.globalAlpha=t.strokeOpacity*t.opacity,r.stroke(),r.globalAlpha=e}else r.stroke()}function Of(r,t,e){var n=zy(t.image,t.__image,e);if(Hs(n)){var i=r.createPattern(n,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&i&&i.setTransform){var a=new DOMMatrix;a.translateSelf(t.x||0,t.y||0),a.rotateSelf(0,0,(t.rotation||0)*X1),a.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(a)}return i}}function uM(r,t,e,n){var i,a=bs(e),o=Ts(e),s=e.strokePercent,l=s<1,u=!t.path;(!t.silent||l)&&u&&t.createPathProxy();var f=t.path||lM,h=t.__dirty;if(!n){var c=e.fill,v=e.stroke,d=o&&!!c.colorStops,p=a&&!!v.colorStops,g=o&&!!c.image,y=a&&!!v.image,m=void 0,_=void 0,S=void 0,w=void 0,x=void 0;(d||p)&&(x=t.getBoundingRect()),d&&(m=h?kf(r,c,x):t.__canvasFillGradient,t.__canvasFillGradient=m),p&&(_=h?kf(r,v,x):t.__canvasStrokeGradient,t.__canvasStrokeGradient=_),g&&(S=h||!t.__canvasFillPattern?Of(r,c,t):t.__canvasFillPattern,t.__canvasFillPattern=S),y&&(w=h||!t.__canvasStrokePattern?Of(r,v,t):t.__canvasStrokePattern,t.__canvasStrokePattern=S),d?r.fillStyle=m:g&&(S?r.fillStyle=S:o=!1),p?r.strokeStyle=_:y&&(w?r.strokeStyle=w:a=!1)}var b=t.getGlobalScale();f.setScale(b[0],b[1],t.segmentIgnoreThreshold);var C,T;r.setLineDash&&e.lineDash&&(i=y0(t),C=i[0],T=i[1]);var D=!0;(u||h&Wn)&&(f.setDPR(r.dpr),l?f.setContext(null):(f.setContext(r),D=!1),f.reset(),t.buildPath(f,t.shape,n),f.toStatic(),t.pathUpdated()),D&&f.rebuildPath(r,l?s:1),C&&(r.setLineDash(C),r.lineDashOffset=T),n||(e.strokeFirst?(a&&Fd(r,e),o&&Nd(r,e)):(o&&Nd(r,e),a&&Fd(r,e))),C&&r.setLineDash([])}function fM(r,t,e){var n=t.__image=zy(e.image,t.__image,t,t.onload);if(!(!n||!Hs(n))){var i=e.x||0,a=e.y||0,o=t.getWidth(),s=t.getHeight(),l=n.width/n.height;if(o==null&&s!=null?o=s*l:s==null&&o!=null?s=o/l:o==null&&s==null&&(o=n.width,s=n.height),e.sWidth&&e.sHeight){var u=e.sx||0,f=e.sy||0;r.drawImage(n,u,f,e.sWidth,e.sHeight,i,a,o,s)}else if(e.sx&&e.sy){var u=e.sx,f=e.sy,h=o-u,c=s-f;r.drawImage(n,u,f,h,c,i,a,o,s)}else r.drawImage(n,i,a,o,s)}}function hM(r,t,e){var n,i=e.text;if(i!=null&&(i+=""),i){r.font=e.font||gn,r.textAlign=e.textAlign,r.textBaseline=e.textBaseline;var a=void 0,o=void 0;r.setLineDash&&e.lineDash&&(n=y0(t),a=n[0],o=n[1]),a&&(r.setLineDash(a),r.lineDashOffset=o),e.strokeFirst?(bs(e)&&r.strokeText(i,e.x,e.y),Ts(e)&&r.fillText(i,e.x,e.y)):(Ts(e)&&r.fillText(i,e.x,e.y),bs(e)&&r.strokeText(i,e.x,e.y)),a&&r.setLineDash([])}}var zd=["shadowBlur","shadowOffsetX","shadowOffsetY"],Gd=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function m0(r,t,e,n,i){var a=!1;if(!n&&(e=e||{},t===e))return!1;if(n||t.opacity!==e.opacity){te(r,i),a=!0;var o=Math.max(Math.min(t.opacity,1),0);r.globalAlpha=isNaN(o)?cn.opacity:o}(n||t.blend!==e.blend)&&(a||(te(r,i),a=!0),r.globalCompositeOperation=t.blend||cn.blend);for(var s=0;s0&&e.unfinished);e.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(e,n,i){if(!this[Nt]){if(this._disposed){this.id;return}var a,o,s;if(Z(n)&&(i=n.lazyUpdate,a=n.silent,o=n.replaceMerge,s=n.transition,n=n.notMerge),this[Nt]=!0,!this._model||n){var l=new ST(this._api),u=this._theme,f=this._model=new Yh;f.scheduler=this._scheduler,f.ssr=this._ssr,f.init(null,null,null,u,this._locale,l)}this._model.setOption(e,{replaceMerge:o},Ff);var h={seriesTransition:s,optionChanged:!0};if(i)this[qt]={silent:a,updateParams:h},this[Nt]=!1,this.getZr().wakeUp();else{try{Nn(this),yr.update.call(this,null,h)}catch(c){throw this[qt]=null,this[Nt]=!1,c}this._ssr||this._zr.flush(),this[qt]=null,this[Nt]=!1,Bi.call(this,a),Ni.call(this,a)}}},t.prototype.setTheme=function(){},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||Q.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(e){return this.renderToCanvas(e)},t.prototype.renderToCanvas=function(e){e=e||{};var n=this._zr.painter;return n.getRenderedCanvas({backgroundColor:e.backgroundColor||this._model.get("backgroundColor"),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(e){e=e||{};var n=this._zr.painter;return n.renderToString({useViewBox:e.useViewBox})},t.prototype.getSvgDataURL=function(){if(Q.svgSupported){var e=this._zr,n=e.storage.getDisplayList();return M(n,function(i){i.stopAnimation(null,!0)}),e.painter.toDataURL()}},t.prototype.getDataURL=function(e){if(this._disposed){this.id;return}e=e||{};var n=e.excludeComponents,i=this._model,a=[],o=this;M(n,function(l){i.eachComponent({mainType:l},function(u){var f=o._componentsMap[u.__viewId];f.group.ignore||(a.push(f),f.group.ignore=!0)})});var s=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return M(a,function(l){l.group.ignore=!1}),s},t.prototype.getConnectedDataURL=function(e){if(this._disposed){this.id;return}var n=e.type==="svg",i=this.group,a=Math.min,o=Math.max,s=1/0;if(ep[i]){var l=s,u=s,f=-s,h=-s,c=[],v=e&&e.pixelRatio||this.getDevicePixelRatio();M(ga,function(_,S){if(_.group===i){var w=n?_.getZr().painter.getSvgDom().innerHTML:_.renderToCanvas(J(e)),x=_.getDom().getBoundingClientRect();l=a(x.left,l),u=a(x.top,u),f=o(x.right,f),h=o(x.bottom,h),c.push({dom:w,left:x.left,top:x.top})}}),l*=v,u*=v,f*=v,h*=v;var d=f-l,p=h-u,g=pi.createCanvas(),y=oc(g,{renderer:n?"svg":"canvas"});if(y.resize({width:d,height:p}),n){var m="";return M(c,function(_){var S=_.left-l,w=_.top-u;m+=''+_.dom+""}),y.painter.getSvgRoot().innerHTML=m,e.connectedBackgroundColor&&y.painter.setBackgroundColor(e.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}else return e.connectedBackgroundColor&&y.add(new gt({shape:{x:0,y:0,width:d,height:p},style:{fill:e.connectedBackgroundColor}})),M(c,function(_){var S=new Nr({style:{x:_.left*v-l,y:_.top*v-u,image:_.dom}});y.add(S)}),y.refreshImmediately(),g.toDataURL("image/"+(e&&e.type||"png"))}else return this.getDataURL(e)},t.prototype.convertToPixel=function(e,n){return du(this,"convertToPixel",e,n)},t.prototype.convertFromPixel=function(e,n){return du(this,"convertFromPixel",e,n)},t.prototype.containPixel=function(e,n){if(this._disposed){this.id;return}var i=this._model,a,o=ua(i,e);return M(o,function(s,l){l.indexOf("Models")>=0&&M(s,function(u){var f=u.coordinateSystem;if(f&&f.containPoint)a=a||!!f.containPoint(n);else if(l==="seriesModels"){var h=this._chartsMap[u.__viewId];h&&h.containPoint&&(a=a||h.containPoint(n,u))}},this)},this),!!a},t.prototype.getVisual=function(e,n){var i=this._model,a=ua(i,e,{defaultMainType:"series"}),o=a.seriesModel,s=o.getData(),l=a.hasOwnProperty("dataIndexInside")?a.dataIndexInside:a.hasOwnProperty("dataIndex")?s.indexOfRawIndex(a.dataIndex):null;return l!=null?HC(s,l,n):WC(s,n)},t.prototype.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},t.prototype.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]},t.prototype._initEvents=function(){var e=this;M(BM,function(n){var i=function(a){var o=e.getModel(),s=a.target,l,u=n==="globalout";if(u?l={}:s&&ra(s,function(d){var p=ot(d);if(p&&p.dataIndex!=null){var g=p.dataModel||o.getSeriesByIndex(p.seriesIndex);return l=g&&g.getDataParams(p.dataIndex,p.dataType,s)||{},!0}else if(p.eventData)return l=B({},p.eventData),!0},!0),l){var f=l.componentType,h=l.componentIndex;(f==="markLine"||f==="markPoint"||f==="markArea")&&(f="series",h=l.seriesIndex);var c=f&&h!=null&&o.getComponent(f,h),v=c&&e[c.mainType==="series"?"_chartsMap":"_componentsMap"][c.__viewId];l.event=a,l.type=n,e._$eventProcessor.eventInfo={targetEl:s,packedEvent:l,model:c,view:v},e.trigger(n,l)}};i.zrEventfulCallAtLast=!0,e._zr.on(n,i,e)}),M(pa,function(n,i){e._messageCenter.on(i,function(a){this.trigger(i,a)},e)}),M(["selectchanged"],function(n){e._messageCenter.on(n,function(i){this.trigger(n,i)},e)}),YC(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var e=this.getDom();e&&Oy(this.getDom(),tv,"");var n=this,i=n._api,a=n._model;M(n._componentsViews,function(o){o.dispose(a,i)}),M(n._chartsViews,function(o){o.dispose(a,i)}),n._zr.dispose(),n._dom=n._model=n._chartsMap=n._componentsMap=n._chartsViews=n._componentsViews=n._scheduler=n._api=n._zr=n._throttledZrFlush=n._theme=n._coordSysMgr=n._messageCenter=null,delete ga[n.id]},t.prototype.resize=function(e){if(!this[Nt]){if(this._disposed){this.id;return}this._zr.resize(e);var n=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!n){var i=n.resetOption("media"),a=e&&e.silent;this[qt]&&(a==null&&(a=this[qt].silent),i=!0,this[qt]=null),this[Nt]=!0;try{i&&Nn(this),yr.update.call(this,{type:"resize",animation:B({duration:0},e&&e.animation)})}catch(o){throw this[Nt]=!1,o}this[Nt]=!1,Bi.call(this,a),Ni.call(this,a)}}},t.prototype.showLoading=function(e,n){if(this._disposed){this.id;return}if(Z(e)&&(n=e,e=""),e=e||"default",this.hideLoading(),!!zf[e]){var i=zf[e](this._api,n),a=this._zr;this._loadingFX=i,a.add(i)}},t.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(e){var n=B({},e);return n.type=pa[e.type],n},t.prototype.dispatchAction=function(e,n){if(this._disposed){this.id;return}if(Z(n)||(n={silent:!!n}),!!Cs[e.type]&&this._model){if(this[Nt]){this._pendingActions.push(e);return}var i=n.silent;gu.call(this,e,i);var a=n.flush;a?this._zr.flush():a!==!1&&Q.browser.weChat&&this._throttledZrFlush(),Bi.call(this,i),Ni.call(this,i)}},t.prototype.updateLabelLayout=function(){Te.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(e){if(this._disposed){this.id;return}var n=e.seriesIndex,i=this.getModel(),a=i.getSeriesByIndex(n);a.appendData(e),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=function(){Nn=function(h){var c=h._scheduler;c.restorePipelines(h._model),c.prepareStageTasks(),cu(h,!0),cu(h,!1),c.plan()},cu=function(h,c){for(var v=h._model,d=h._scheduler,p=c?h._componentsViews:h._chartsViews,g=c?h._componentsMap:h._chartsMap,y=h._zr,m=h._api,_=0;_c.get("hoverLayerThreshold")&&!Q.node&&!Q.worker&&c.eachSeries(function(g){if(!g.preventUsingHoverLayer){var y=h._chartsMap[g.__viewId];y.__alive&&y.eachRendered(function(m){m.states.emphasis&&(m.states.emphasis.hoverLayer=!0)})}})}function o(h,c){var v=h.get("blendMode")||null;c.eachRendered(function(d){d.isGroup||(d.style.blend=v)})}function s(h,c){if(!h.preventAutoZ){var v=h.get("z")||0,d=h.get("zlevel")||0;c.eachRendered(function(p){return l(p,v,d,-1/0),!0})}}function l(h,c,v,d){var p=h.getTextContent(),g=h.getTextGuideLine(),y=h.isGroup;if(y)for(var m=h.childrenRef(),_=0;_0?{duration:p,delay:v.get("delay"),easing:v.get("easing")}:null;c.eachRendered(function(y){if(y.states&&y.states.emphasis){if(ei(y))return;if(y instanceof at&&Uw(y),y.__dirty){var m=y.prevStates;m&&y.useStates(m)}if(d){y.stateTransition=g;var _=y.getTextContent(),S=y.getTextGuideLine();_&&(_.stateTransition=g),S&&(S.stateTransition=g)}y.__dirty&&i(y)}})}jd=function(h){return new(function(c){N(v,c);function v(){return c!==null&&c.apply(this,arguments)||this}return v.prototype.getCoordinateSystems=function(){return h._coordSysMgr.getCoordinateSystems()},v.prototype.getComponentByElement=function(d){for(;d;){var p=d.__ecComponentInfo;if(p!=null)return h._model.getComponent(p.mainType,p.index);d=d.parent}},v.prototype.enterEmphasis=function(d,p){li(d,p),se(h)},v.prototype.leaveEmphasis=function(d,p){ui(d,p),se(h)},v.prototype.enterBlur=function(d){kw(d),se(h)},v.prototype.leaveBlur=function(d){jy(d),se(h)},v.prototype.enterSelect=function(d){tm(d),se(h)},v.prototype.leaveSelect=function(d){em(d),se(h)},v.prototype.getModel=function(){return h.getModel()},v.prototype.getViewOfComponentModel=function(d){return h.getViewOfComponentModel(d)},v.prototype.getViewOfSeriesModel=function(d){return h.getViewOfSeriesModel(d)},v}(Wm))(h)},E0=function(h){function c(v,d){for(var p=0;p=0)){rp.push(e);var a=h0.wrapStageHandler(e,i);a.__prio=t,a.__raw=e,r.push(a)}}function z0(r,t){zf[r]=t}function WM(r,t,e){var n=xM("registerMap");n&&n(r,t,e)}var UM=KT;bn(Jh,CC);bn(fl,MC);bn(fl,DC);bn(Jh,GC);bn(fl,VC);bn(D0,_M);N0(Ym);F0(TM,RT);z0("default",AC);$e({type:dn,event:dn,update:dn},Zt);$e({type:Uo,event:Uo,update:Uo},Zt);$e({type:fa,event:fa,update:fa},Zt);$e({type:Yo,event:Yo,update:Yo},Zt);$e({type:ha,event:ha,update:ha},Zt);B0("light",FC);B0("dark",p0);function Fi(r){return r==null?0:r.length||1}function np(r){return r}var Ra=function(){function r(t,e,n,i,a,o){this._old=t,this._new=e,this._oldKeyGetter=n||np,this._newKeyGetter=i||np,this.context=a,this._diffModeMultiple=o==="multiple"}return r.prototype.add=function(t){return this._add=t,this},r.prototype.update=function(t){return this._update=t,this},r.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},r.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},r.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},r.prototype.remove=function(t){return this._remove=t,this},r.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},r.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),a=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,a,"_newKeyGetter");for(var o=0;o1){var f=l.shift();l.length===1&&(n[s]=l[0]),this._update&&this._update(f,o)}else u===1?(n[s]=null,this._update&&this._update(l,o)):this._remove&&this._remove(o)}this._performRestAdd(a,n)},r.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},a=[],o=[];this._initIndexMap(t,n,a,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var s=0;s1&&c===1)this._updateManyToOne&&this._updateManyToOne(f,u),i[l]=null;else if(h===1&&c>1)this._updateOneToMany&&this._updateOneToMany(f,u),i[l]=null;else if(h===1&&c===1)this._update&&this._update(f,u),i[l]=null;else if(h>1&&c>1)this._updateManyToMany&&this._updateManyToMany(f,u),i[l]=null;else if(h>1)for(var v=0;v1)for(var s=0;s30}var zi=Z,mr=V,QM=typeof Int32Array>"u"?Array:Int32Array,JM="e\0\0",ip=-1,jM=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],tD=["_approximateExtent"],ap,To,Gi,Vi,_u,Hi,Su,Y0=function(){function r(t,e){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var n,i=!1;V0(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var a={},o=[],s={},l=!1,u={},f=0;f=e)){var n=this._store,i=n.getProvider();this._updateOrdinalMeta();var a=this._nameList,o=this._idList,s=i.getSource().sourceFormat,l=s===_e;if(l&&!i.pure)for(var u=[],f=t;f0},r.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var a=i[e];return a==null&&(a=this.getVisual(e),G(a)?a=a.slice():zi(a)&&(a=B({},a)),i[e]=a),a},r.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,zi(e)?B(i,e):i[e]=n},r.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},r.prototype.setLayout=function(t,e){zi(t)?B(this._layout,t):this._layout[t]=e},r.prototype.getLayout=function(t){return this._layout[t]},r.prototype.getItemLayout=function(t){return this._itemLayouts[t]},r.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?B(this._itemLayouts[t]||{},e):e},r.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},r.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;Tw(n,this.dataType,t,e),this._graphicEls[t]=e},r.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},r.prototype.eachItemGraphicEl=function(t,e){M(this._graphicEls,function(n,i){n&&t&&t.call(e,n,i)})},r.prototype.cloneShallow=function(t){return t||(t=new r(this._schema?this._schema:mr(this.dimensions,this._getDimInfo,this),this.hostModel)),_u(t,this),t._store=this._store,t},r.prototype.wrapMethod=function(t,e){var n=this[t];K(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var i=n.apply(this,arguments);return e.apply(this,[i].concat(ph(arguments)))})},r.internalField=function(){ap=function(t){var e=t._invertedIndicesMap;M(e,function(n,i){var a=t._dimInfos[i],o=a.ordinalMeta,s=t._store;if(o){n=e[i]=new QM(o.categories.length);for(var l=0;l1&&(l+="__ec__"+f),i[e]=l}}}(),r}();function Z0(r,t){Xh(r)||(r=Zm(r)),t=t||{};var e=t.coordDimensions||[],n=t.dimensionsDefine||r.dimensionsDefine||[],i=X(),a=[],o=rD(r,e,n,t.dimensionsCount),s=t.canOmitUnusedDimensions&&U0(o),l=n===r.dimensionsDefine,u=l?W0(r):H0(n),f=t.encodeDefine;!f&&t.encodeDefaulter&&(f=t.encodeDefaulter(r,o));for(var h=X(f),c=new t0(o),v=0;v0&&(n.name=i+(a-1)),a++,t.set(i,a)}}function rD(r,t,e,n){var i=Math.max(r.dimensionsDetectedCount||1,t.length,e.length,n||0);return M(t,function(a){var o;Z(a)&&(o=a.dimsDef)&&(i=Math.max(i,o.length))}),i}function nD(r,t,e){if(e||t.hasKey(r)){for(var n=0;t.hasKey(r+n);)n++;r+=n}return t.set(r,!0),r}var iD=function(){function r(t){this.coordSysDims=[],this.axisMap=X(),this.categoryAxisMap=X(),this.coordSysName=t}return r}();function aD(r){var t=r.get("coordinateSystem"),e=new iD(t),n=oD[t];if(n)return n(r,e,e.axisMap,e.categoryAxisMap),e}var oD={cartesian2d:function(r,t,e,n){var i=r.getReferringComponents("xAxis",Yt).models[0],a=r.getReferringComponents("yAxis",Yt).models[0];t.coordSysDims=["x","y"],e.set("x",i),e.set("y",a),Fn(i)&&(n.set("x",i),t.firstCategoryDimIndex=0),Fn(a)&&(n.set("y",a),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},singleAxis:function(r,t,e,n){var i=r.getReferringComponents("singleAxis",Yt).models[0];t.coordSysDims=["single"],e.set("single",i),Fn(i)&&(n.set("single",i),t.firstCategoryDimIndex=0)},polar:function(r,t,e,n){var i=r.getReferringComponents("polar",Yt).models[0],a=i.findAxisModel("radiusAxis"),o=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],e.set("radius",a),e.set("angle",o),Fn(a)&&(n.set("radius",a),t.firstCategoryDimIndex=0),Fn(o)&&(n.set("angle",o),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},geo:function(r,t,e,n){t.coordSysDims=["lng","lat"]},parallel:function(r,t,e,n){var i=r.ecModel,a=i.getComponent("parallel",r.get("parallelIndex")),o=t.coordSysDims=a.dimensions.slice();M(a.parallelAxisIndex,function(s,l){var u=i.getComponent("parallelAxis",s),f=o[l];e.set(f,u),Fn(u)&&(n.set(f,u),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=l))})}};function Fn(r){return r.get("type")==="category"}function sD(r,t,e){e=e||{};var n=e.byIndex,i=e.stackedCoordDimension,a,o,s;lD(t)?a=t:(o=t.schema,a=o.dimensions,s=t.store);var l=!!(r&&r.get("stack")),u,f,h,c;if(M(a,function(m,_){W(m)&&(a[_]=m={name:m}),l&&!m.isExtraCoord&&(!n&&!u&&m.ordinalMeta&&(u=m),!f&&m.type!=="ordinal"&&m.type!=="time"&&(!i||i===m.coordDim)&&(f=m))}),f&&!n&&!u&&(n=!0),f){h="__\0ecstackresult_"+r.id,c="__\0ecstackedover_"+r.id,u&&(u.createInvertedIndices=!0);var v=f.coordDim,d=f.type,p=0;M(a,function(m){m.coordDim===v&&p++});var g={name:h,coordDim:v,coordDimIndex:p,type:d,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},y={name:c,coordDim:c,coordDimIndex:p+1,type:d,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};o?(s&&(g.storeDimIndex=s.ensureCalculationDimension(c,d),y.storeDimIndex=s.ensureCalculationDimension(h,d)),o.appendCalculationDimension(g),o.appendCalculationDimension(y)):(a.push(g),a.push(y))}return{stackedDimension:f&&f.name,stackedByDimension:u&&u.name,isStackedByIndex:n,stackedOverDimension:c,stackResultDimension:h}}function lD(r){return!V0(r.schema)}function vi(r,t){return!!t&&t===r.getCalculationInfo("stackedDimension")}function uD(r,t){return vi(r,t)?r.getCalculationInfo("stackResultDimension"):t}function fD(r,t){var e=r.get("coordinateSystem"),n=Zh.get(e),i;return t&&t.coordSysDims&&(i=V(t.coordSysDims,function(a){var o={name:a},s=t.axisMap.get(a);if(s){var l=s.get("type");o.type=XM(l)}return o})),i||(i=n&&(n.getDimensionsInfo?n.getDimensionsInfo():n.dimensions.slice())||["x","y"]),i}function hD(r,t,e){var n,i;return e&&M(r,function(a,o){var s=a.coordDim,l=e.categoryAxisMap.get(s);l&&(n==null&&(n=o),a.ordinalMeta=l.getOrdinalMeta(),t&&(a.createInvertedIndices=!0)),a.otherDims.itemName!=null&&(i=!0)}),!i&&n!=null&&(r[n].otherDims.itemName=0),n}function nv(r,t,e){e=e||{};var n=t.getSourceManager(),i,a=!1;i=n.getSource(),a=i.sourceFormat===_e;var o=aD(t),s=fD(t,o),l=e.useEncodeDefaulter,u=K(l)?l:l?st(sT,s,t):null,f={coordDimensions:s,generateCoord:e.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!a},h=Z0(i,f),c=hD(h.dimensions,e.createInvertedIndices,o),v=a?null:n.getSharedDataStore(h),d=sD(t,{schema:h,store:v}),p=new Y0(h,t);p.setCalculationInfo(d);var g=c!=null&&vD(i)?function(y,m,_,S){return S===c?_:this.defaultDimValueGetter(y,m,_,S)}:null;return p.hasItemOption=!1,p.initData(a?i:v,null,g),p}function vD(r){if(r.sourceFormat===_e){var t=cD(r.data||[]);return!G(Ga(t))}}function cD(r){for(var t=0;te[1]&&(e[1]=t[1])},r.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},r.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},r.prototype.isBlank=function(){return this._isBlank},r.prototype.setBlank=function(t){this._isBlank=t},r}();Vs(qe);var dD=0,Gf=function(){function r(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++dD}return r.createByAxisModel=function(t){var e=t.option,n=e.data,i=n&&V(n,pD);return new r({categories:i,needCollect:!i,deduplication:e.dedplication!==!1})},r.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},r.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!W(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return e=i.get(t),e==null&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},r.prototype._getOrCreateMap=function(){return this._map||(this._map=X(this.categories))},r}();function pD(r){return Z(r)&&r.value!=null?r.value:r+""}function Vf(r){return r.type==="interval"||r.type==="log"}function gD(r,t,e,n){var i={},a=r[1]-r[0],o=i.interval=Ly(a/t);e!=null&&on&&(o=i.interval=n);var s=i.intervalPrecision=X0(o),l=i.niceTickExtent=[Mt(Math.ceil(r[0]/o)*o,s),Mt(Math.floor(r[1]/o)*o,s)];return yD(l,r),i}function xu(r){var t=Math.pow(10,xh(r)),e=r/t;return e?e===2?e=3:e===3?e=5:e*=2:e=1,Mt(e*t)}function X0(r){return er(r)+2}function op(r,t,e){r[t]=Math.max(Math.min(r[t],e[1]),e[0])}function yD(r,t){!isFinite(r[0])&&(r[0]=t[0]),!isFinite(r[1])&&(r[1]=t[1]),op(r,0,t),op(r,1,t),r[0]>r[1]&&(r[0]=r[1])}function hl(r,t){return r>=t[0]&&r<=t[1]}function vl(r,t){return t[1]===t[0]?.5:(r-t[0])/(t[1]-t[0])}function cl(r,t){return r*(t[1]-t[0])+t[0]}var iv=function(r){N(t,r);function t(e){var n=r.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new Gf({})),G(i)&&(i=new Gf({categories:V(i,function(a){return Z(a)?a.value:a})})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return t.prototype.parse=function(e){return e==null?NaN:W(e)?this._ordinalMeta.getOrdinal(e):Math.round(e)},t.prototype.contain=function(e){return e=this.parse(e),hl(e,this._extent)&&this._ordinalMeta.categories[e]!=null},t.prototype.normalize=function(e){return e=this._getTickNumber(this.parse(e)),vl(e,this._extent)},t.prototype.scale=function(e){return e=Math.round(cl(e,this._extent)),this.getRawOrdinalNumber(e)},t.prototype.getTicks=function(){for(var e=[],n=this._extent,i=n[0];i<=n[1];)e.push({value:i}),i++;return e},t.prototype.getMinorTicks=function(e){},t.prototype.setSortInfo=function(e){if(e==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var n=e.ordinalNumbers,i=this._ordinalNumbersByTick=[],a=this._ticksByOrdinalNumber=[],o=0,s=this._ordinalMeta.categories.length,l=Math.min(s,n.length);o=0&&e=0&&e=e},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(qe);qe.registerClass(iv);var an=Mt,xi=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return hl(e,this._extent)},t.prototype.normalize=function(e){return vl(e,this._extent)},t.prototype.scale=function(e){return cl(e,this._extent)},t.prototype.setExtent=function(e,n){var i=this._extent;isNaN(e)||(i[0]=parseFloat(e)),isNaN(n)||(i[1]=parseFloat(n))},t.prototype.unionExtent=function(e){var n=this._extent;e[0]n[1]&&(n[1]=e[1]),this.setExtent(n[0],n[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=X0(e)},t.prototype.getTicks=function(e){var n=this._interval,i=this._extent,a=this._niceExtent,o=this._intervalPrecision,s=[];if(!n)return s;var l=1e4;i[0]l)return[];var f=s.length?s[s.length-1].value:a[1];return i[1]>f&&(e?s.push({value:an(f+n,o)}):s.push({value:i[1]})),s},t.prototype.getMinorTicks=function(e){for(var n=this.getTicks(!0),i=[],a=this.getExtent(),o=1;oa[0]&&v0&&(a=a===null?s:Math.min(a,s))}e[n]=a}}return e}function Q0(r){var t=SD(r),e=[];return M(r,function(n){var i=n.coordinateSystem,a=i.getBaseAxis(),o=a.getExtent(),s;if(a.type==="category")s=a.getBandWidth();else if(a.type==="value"||a.type==="time"){var l=a.dim+"_"+a.index,u=t[l],f=Math.abs(o[1]-o[0]),h=a.scale.getExtent(),c=Math.abs(h[1]-h[0]);s=u?f/c*u:f}else{var v=n.getData();s=Math.abs(o[1]-o[0])/v.count()}var d=dt(n.get("barWidth"),s),p=dt(n.get("barMaxWidth"),s),g=dt(n.get("barMinWidth")||(j0(n)?.5:1),s),y=n.get("barGap"),m=n.get("barCategoryGap");e.push({bandWidth:s,barWidth:d,barMaxWidth:p,barMinWidth:g,barGap:y,barCategoryGap:m,axisKey:av(a),stackId:q0(n)})}),xD(e)}function xD(r){var t={};M(r,function(n,i){var a=n.axisKey,o=n.bandWidth,s=t[a]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},l=s.stacks;t[a]=s;var u=n.stackId;l[u]||s.autoWidthCount++,l[u]=l[u]||{width:0,maxWidth:0};var f=n.barWidth;f&&!l[u].width&&(l[u].width=f,f=Math.min(s.remainedWidth,f),s.remainedWidth-=f);var h=n.barMaxWidth;h&&(l[u].maxWidth=h);var c=n.barMinWidth;c&&(l[u].minWidth=c);var v=n.barGap;v!=null&&(s.gap=v);var d=n.barCategoryGap;d!=null&&(s.categoryGap=d)});var e={};return M(t,function(n,i){e[i]={};var a=n.stacks,o=n.bandWidth,s=n.categoryGap;if(s==null){var l=mt(a).length;s=Math.max(35-l*4,15)+"%"}var u=dt(s,o),f=dt(n.gap,1),h=n.remainedWidth,c=n.autoWidthCount,v=(h-u)/(c+(c-1)*f);v=Math.max(v,0),M(a,function(y){var m=y.maxWidth,_=y.minWidth;if(y.width){var S=y.width;m&&(S=Math.min(S,m)),_&&(S=Math.max(S,_)),y.width=S,h-=S+f*S,c--}else{var S=v;m&&mS&&(S=_),S!==v&&(y.width=S,h-=S+f*S,c--)}}),v=(h-u)/(c+(c-1)*f),v=Math.max(v,0);var d=0,p;M(a,function(y,m){y.width||(y.width=v),p=y,d+=y.width*(1+f)}),p&&(d-=p.width*f);var g=-d/2;M(a,function(y,m){e[i][m]=e[i][m]||{bandWidth:o,offset:g,width:y.width},g+=y.width*(1+f)})}),e}function wD(r,t,e){if(r&&t){var n=r[av(t)];return n}}function bD(r,t){var e=K0(r,t),n=Q0(e);M(e,function(i){var a=i.getData(),o=i.coordinateSystem,s=o.getBaseAxis(),l=q0(i),u=n[av(s)][l],f=u.offset,h=u.width;a.setLayout({bandWidth:u.bandWidth,offset:f,size:h})})}function TD(r){return{seriesType:r,plan:Kh(),reset:function(t){if(J0(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),a=n.getOtherAxis(i),o=e.getDimensionIndex(e.mapDimension(a.dim)),s=e.getDimensionIndex(e.mapDimension(i.dim)),l=t.get("showBackground",!0),u=e.mapDimension(a.dim),f=e.getCalculationInfo("stackResultDimension"),h=vi(e,u)&&!!e.getCalculationInfo("stackedOnSeries"),c=a.isHorizontal(),v=CD(i,a),d=j0(t),p=t.get("barMinHeight")||0,g=f&&e.getDimensionIndex(f),y=e.getLayout("size"),m=e.getLayout("offset");return{progress:function(_,S){for(var w=_.count,x=d&&nr(w*3),b=d&&l&&nr(w*3),C=d&&nr(w),T=n.master.getRect(),D=c?T.width:T.height,A,L=S.getStore(),I=0;(A=_.next())!=null;){var P=L.get(h?g:o,A),R=L.get(s,A),E=v,F=void 0;h&&(F=+P-L.get(o,A));var k=void 0,O=void 0,z=void 0,H=void 0;if(c){var U=n.dataToPoint([P,R]);if(h){var et=n.dataToPoint([F,R]);E=et[0]}k=E,O=U[1]+m,z=U[0]-E,H=y,Math.abs(z)0?e:1:e))}var MD=function(r,t,e,n){for(;e>>1;r[i][1]i&&(this._approxInterval=i);var s=Co.length,l=Math.min(MD(Co,this._approxInterval,0,s),s-1);this._interval=Co[l][1],this._minLevelUnit=Co[Math.max(l-1,0)][0]},t.prototype.parse=function(e){return pt(e)?e:+sr(e)},t.prototype.contain=function(e){return hl(this.parse(e),this._extent)},t.prototype.normalize=function(e){return vl(this.parse(e),this._extent)},t.prototype.scale=function(e){return cl(e,this._extent)},t.type="time",t}(xi),Co=[["second",zh],["minute",Gh],["hour",ca],["quarter-day",ca*6],["half-day",ca*12],["day",de*1.2],["half-week",de*3.5],["week",de*7],["month",de*31],["quarter",de*95],["half-year",Kc/2],["year",Kc]];function DD(r,t,e,n){var i=sr(t),a=sr(e),o=function(d){return Jc(i,d,n)===Jc(a,d,n)},s=function(){return o("year")},l=function(){return s()&&o("month")},u=function(){return l()&&o("day")},f=function(){return u()&&o("hour")},h=function(){return f()&&o("minute")},c=function(){return h()&&o("second")},v=function(){return c()&&o("millisecond")};switch(r){case"year":return s();case"month":return l();case"day":return u();case"hour":return f();case"minute":return h();case"second":return c();case"millisecond":return v()}}function AD(r,t){return r/=de,r>16?16:r>7.5?7:r>3.5?4:r>1.5?2:1}function LD(r){var t=30*de;return r/=t,r>6?6:r>3?3:r>2?2:1}function ID(r){return r/=ca,r>12?12:r>6?6:r>3.5?4:r>2?2:1}function sp(r,t){return r/=t?Gh:zh,r>30?30:r>20?20:r>15?15:r>10?10:r>5?5:r>2?2:1}function PD(r){return Ly(r)}function RD(r,t,e){var n=new Date(r);switch(ni(t)){case"year":case"month":n[Am(e)](0);case"day":n[Lm(e)](1);case"hour":n[Im(e)](0);case"minute":n[Pm(e)](0);case"second":n[Rm(e)](0),n[Em(e)](0)}return n.getTime()}function ED(r,t,e,n){var i=1e4,a=Mm,o=0;function s(D,A,L,I,P,R,E){for(var F=new Date(A),k=A,O=F[I]();k1&&R===0&&L.unshift({value:L[0].value-k})}}for(var R=0;R=n[0]&&m<=n[1]&&h++)}var _=(n[1]-n[0])/t;if(h>_*1.5&&c>_/1.5||(u.push(g),h>_||r===a[v]))break}f=[]}}}for(var S=St(V(u,function(D){return St(D,function(A){return A.value>=n[0]&&A.value<=n[1]&&!A.notAdd})}),function(D){return D.length>0}),w=[],x=S.length-1,v=0;v0;)a*=10;var s=[Mt(BD(n[0]/a)*a),Mt(OD(n[1]/a)*a)];this._interval=a,this._niceExtent=s}},t.prototype.calcNiceExtent=function(e){ya.calcNiceExtent.call(this,e),this._fixMin=e.fixMin,this._fixMax=e.fixMax},t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return e=xe(e)/xe(this.base),hl(e,this._extent)},t.prototype.normalize=function(e){return e=xe(e)/xe(this.base),vl(e,this._extent)},t.prototype.scale=function(e){return e=cl(e,this._extent),Mo(this.base,e)},t.type="log",t}(qe),e_=ov.prototype;e_.getMinorTicks=ya.getMinorTicks;e_.getLabel=ya.getLabel;function Do(r,t){return kD(r,er(t))}qe.registerClass(ov);var ND=function(){function r(t,e,n){this._prepareParams(t,e,n)}return r.prototype._prepareParams=function(t,e,n){n[1]0&&l>0&&!u&&(s=0),s<0&&l<0&&!f&&(l=0));var c=this._determinedMin,v=this._determinedMax;return c!=null&&(s=c,u=!0),v!=null&&(l=v,f=!0),{min:s,max:l,minFixed:u,maxFixed:f,isBlank:h}},r.prototype.modifyDataMinMax=function(t,e){this[zD[t]]=e},r.prototype.setDeterminedMinMax=function(t,e){var n=FD[t];this[n]=e},r.prototype.freeze=function(){this.frozen=!0},r}(),FD={min:"_determinedMin",max:"_determinedMax"},zD={min:"_dataMin",max:"_dataMax"};function r_(r,t,e){var n=r.rawExtentInfo;return n||(n=new ND(r,t,e),r.rawExtentInfo=n,n)}function Ao(r,t){return t==null?null:jo(t)?NaN:r.parse(t)}function n_(r,t){var e=r.type,n=r_(r,t,r.getExtent()).calculate();r.setBlank(n.isBlank);var i=n.min,a=n.max,o=t.ecModel;if(o&&e==="time"){var s=K0("bar",o),l=!1;if(M(s,function(h){l=l||h.getBaseAxis()===t.axis}),l){var u=Q0(s),f=GD(i,a,t,u);i=f.min,a=f.max}}return{extent:[i,a],fixMin:n.minFixed,fixMax:n.maxFixed}}function GD(r,t,e,n){var i=e.axis.getExtent(),a=Math.abs(i[1]-i[0]),o=wD(n,e.axis);if(o===void 0)return{min:r,max:t};var s=1/0;M(o,function(v){s=Math.min(v.offset,s)});var l=-1/0;M(o,function(v){l=Math.max(v.offset+v.width,l)}),s=Math.abs(s),l=Math.abs(l);var u=s+l,f=t-r,h=1-(s+l)/a,c=f/h-f;return t+=c*(l/u),r-=c*(s/u),{min:r,max:t}}function up(r,t){var e=t,n=n_(r,e),i=n.extent,a=e.get("splitNumber");r instanceof ov&&(r.base=e.get("logBase"));var o=r.type,s=e.get("interval"),l=o==="interval"||o==="time";r.setExtent(i[0],i[1]),r.calcNiceExtent({splitNumber:a,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:l?e.get("minInterval"):null,maxInterval:l?e.get("maxInterval"):null}),s!=null&&r.setInterval&&r.setInterval(s)}function VD(r,t){if(t=t||r.get("type"),t)switch(t){case"category":return new iv({ordinalMeta:r.getOrdinalMeta?r.getOrdinalMeta():r.getCategories(),extent:[1/0,-1/0]});case"time":return new t_({locale:r.ecModel.getLocaleModel(),useUTC:r.ecModel.get("useUTC")});default:return new(qe.getClass(t)||xi)}}function HD(r){var t=r.scale.getExtent(),e=t[0],n=t[1];return!(e>0&&n>0||e<0&&n<0)}function wi(r){var t=r.getLabelModel().get("formatter"),e=r.type==="category"?r.scale.getExtent()[0]:null;return r.scale.type==="time"?function(n){return function(i,a){return r.scale.getFormattedLabel(i,a,n)}}(t):W(t)?function(n){return function(i){var a=r.scale.getLabel(i),o=n.replace("{value}",a??"");return o}}(t):K(t)?function(n){return function(i,a){return e!=null&&(a=i.value-e),n(sv(r,i),a,i.level!=null?{level:i.level}:null)}}(t):function(n){return r.scale.getLabel(n)}}function sv(r,t){return r.type==="category"?r.scale.getLabel(t):t.value}function WD(r){var t=r.model,e=r.scale;if(!(!t.get(["axisLabel","show"])||e.isBlank())){var n,i,a=e.getExtent();e instanceof iv?i=e.count():(n=e.getTicks(),i=n.length);var o=r.getLabelModel(),s=wi(r),l,u=1;i>40&&(u=Math.ceil(i/40));for(var f=0;fr[1]&&(r[1]=i[1])})}var ZD=function(){function r(){}return r.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},r.prototype.getCoordSysModel=function(){},r}(),fp=[],XD={registerPreprocessor:N0,registerProcessor:F0,registerPostInit:zM,registerPostUpdate:GM,registerUpdateLifecycle:ev,registerAction:$e,registerCoordinateSystem:VM,registerLayout:HM,registerVisual:bn,registerTransform:UM,registerLoading:z0,registerMap:WM,registerImpl:SM,PRIORITY:EM,ComponentModel:ft,ComponentView:oe,SeriesModel:Ae,ChartView:ge,registerComponentModel:function(r){ft.registerClass(r)},registerComponentView:function(r){oe.registerClass(r)},registerSeriesModel:function(r){Ae.registerClass(r)},registerChartView:function(r){ge.registerClass(r)},registerSubTypeDefaulter:function(r,t){ft.registerSubTypeDefaulter(r,t)},registerPainter:function(r,t){nx(r,t)}};function Ye(r){if(G(r)){M(r,function(t){Ye(t)});return}it(fp,r)>=0||(fp.push(r),K(r)&&(r={install:r}),r.install(XD))}var Ea=yt();function o_(r,t){var e=V(t,function(n){return r.scale.parse(n)});return r.type==="time"&&e.length>0&&(e.sort(),e.unshift(e[0]),e.push(e[e.length-1])),e}function $D(r){var t=r.getLabelModel().get("customValues");if(t){var e=wi(r),n=r.scale.getExtent(),i=o_(r,t),a=St(i,function(o){return o>=n[0]&&o<=n[1]});return{labels:V(a,function(o){var s={value:o};return{formattedLabel:e(s),rawLabel:r.scale.getLabel(s),tickValue:o}})}}return r.type==="category"?KD(r):JD(r)}function qD(r,t){var e=r.getTickModel().get("customValues");if(e){var n=r.scale.getExtent(),i=o_(r,e);return{ticks:St(i,function(a){return a>=n[0]&&a<=n[1]})}}return r.type==="category"?QD(r,t):{ticks:V(r.scale.getTicks(),function(a){return a.value})}}function KD(r){var t=r.getLabelModel(),e=s_(r,t);return!t.get("show")||r.scale.isBlank()?{labels:[],labelCategoryInterval:e.labelCategoryInterval}:e}function s_(r,t){var e=l_(r,"labels"),n=lv(t),i=u_(e,n);if(i)return i;var a,o;return K(n)?a=v_(r,n):(o=n==="auto"?jD(r):n,a=h_(r,o)),f_(e,n,{labels:a,labelCategoryInterval:o})}function QD(r,t){var e=l_(r,"ticks"),n=lv(t),i=u_(e,n);if(i)return i;var a,o;if((!t.get("show")||r.scale.isBlank())&&(a=[]),K(n))a=v_(r,n,!0);else if(n==="auto"){var s=s_(r,r.getLabelModel());o=s.labelCategoryInterval,a=V(s.labels,function(l){return l.tickValue})}else o=n,a=h_(r,o,!0);return f_(e,n,{ticks:a,tickCategoryInterval:o})}function JD(r){var t=r.scale.getTicks(),e=wi(r);return{labels:V(t,function(n,i){return{level:n.level,formattedLabel:e(n,i),rawLabel:r.scale.getLabel(n),tickValue:n.value}})}}function l_(r,t){return Ea(r)[t]||(Ea(r)[t]=[])}function u_(r,t){for(var e=0;e40&&(s=Math.max(1,Math.floor(o/40)));for(var l=a[0],u=r.dataToCoord(l+1)-r.dataToCoord(l),f=Math.abs(u*Math.cos(n)),h=Math.abs(u*Math.sin(n)),c=0,v=0;l<=a[1];l+=s){var d=0,p=0,g=zs(e({value:l}),t.font,"center","top");d=g.width*1.3,p=g.height*1.3,c=Math.max(c,d,7),v=Math.max(v,p,7)}var y=c/f,m=v/h;isNaN(y)&&(y=1/0),isNaN(m)&&(m=1/0);var _=Math.max(0,Math.floor(Math.min(y,m))),S=Ea(r.model),w=r.getExtent(),x=S.lastAutoInterval,b=S.lastTickCount;return x!=null&&b!=null&&Math.abs(x-_)<=1&&Math.abs(b-o)<=1&&x>_&&S.axisExtent0===w[0]&&S.axisExtent1===w[1]?_=x:(S.lastTickCount=o,S.lastAutoInterval=_,S.axisExtent0=w[0],S.axisExtent1=w[1]),_}function eA(r){var t=r.getLabelModel();return{axisRotate:r.getRotate?r.getRotate():r.isHorizontal&&!r.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function h_(r,t,e){var n=wi(r),i=r.scale,a=i.getExtent(),o=r.getLabelModel(),s=[],l=Math.max((t||0)+1,1),u=a[0],f=i.count();u!==0&&l>1&&f/l>2&&(u=Math.round(Math.ceil(u/l)*l));var h=i_(r),c=o.get("showMinLabel")||h,v=o.get("showMaxLabel")||h;c&&u!==a[0]&&p(a[0]);for(var d=u;d<=a[1];d+=l)p(d);v&&d-l!==a[1]&&p(a[1]);function p(g){var y={value:g};s.push(e?g:{formattedLabel:n(y),rawLabel:i.getLabel(y),tickValue:g})}return s}function v_(r,t,e){var n=r.scale,i=wi(r),a=[];return M(n.getTicks(),function(o){var s=n.getLabel(o),l=o.value;t(o.value,s)&&a.push(e?l:{formattedLabel:i(o),rawLabel:s,tickValue:l})}),a}var hp=[0,1],rA=function(){function r(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return r.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},r.prototype.containData=function(t){return this.scale.contain(t)},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.getPixelPrecision=function(t){return Dy(t||this.scale.getExtent(),this._extent)},r.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},r.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&i.type==="ordinal"&&(n=n.slice(),vp(n,i.count())),Et(t,hp,n,e)},r.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&i.type==="ordinal"&&(n=n.slice(),vp(n,i.count()));var a=Et(t,n,hp,e);return this.scale.scale(a)},r.prototype.pointToData=function(t,e){},r.prototype.getTicksCoords=function(t){t=t||{};var e=t.tickModel||this.getTickModel(),n=qD(this,e),i=n.ticks,a=V(i,function(s){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(s):s),tickValue:s}},this),o=e.get("alignWithLabel");return nA(this,a,o,t.clamp),a},r.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var n=this.scale.getMinorTicks(e),i=V(n,function(a){return V(a,function(o){return{coord:this.dataToCoord(o),tickValue:o}},this)},this);return i},r.prototype.getViewLabels=function(){return $D(this).labels},r.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},r.prototype.getTickModel=function(){return this.model.getModel("axisTick")},r.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);n===0&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},r.prototype.calculateCategoryInterval=function(){return tA(this)},r}();function vp(r,t){var e=r[1]-r[0],n=t,i=e/n/2;r[0]+=i,r[1]-=i}function nA(r,t,e,n){var i=t.length;if(!r.onBand||e||!i)return;var a=r.getExtent(),o,s;if(i===1)t[0].coord=a[0],o=t[1]={coord:a[1],tickValue:t[0].tickValue};else{var l=t[i-1].tickValue-t[0].tickValue,u=(t[i-1].coord-t[0].coord)/l;M(t,function(v){v.coord-=u/2});var f=r.scale.getExtent();s=1+f[1]-t[i-1].tickValue,o={coord:t[i-1].coord+u*s,tickValue:f[1]+1},t.push(o)}var h=a[0]>a[1];c(t[0].coord,a[0])&&(n?t[0].coord=a[0]:t.shift()),n&&c(a[0],t[0].coord)&&t.unshift({coord:a[0]}),c(a[1],o.coord)&&(n?o.coord=a[1]:t.pop()),n&&c(o.coord,a[1])&&t.push({coord:a[1]});function c(v,d){return v=Mt(v),d=Mt(d),h?v>d:vi&&(i+=Wi);var v=Math.atan2(s,o);if(v<0&&(v+=Wi),v>=n&&v<=i||v+Wi>=n&&v+Wi<=i)return l[0]=f,l[1]=h,u-e;var d=e*Math.cos(n)+r,p=e*Math.sin(n)+t,g=e*Math.cos(i)+r,y=e*Math.sin(i)+t,m=(d-o)*(d-o)+(p-s)*(p-s),_=(g-o)*(g-o)+(y-s)*(y-s);return m<_?(l[0]=d,l[1]=p,Math.sqrt(m)):(l[0]=g,l[1]=y,Math.sqrt(_))}function Ds(r,t,e,n,i,a,o,s){var l=i-r,u=a-t,f=e-r,h=n-t,c=Math.sqrt(f*f+h*h);f/=c,h/=c;var v=l*f+u*h,d=v/c;s&&(d=Math.min(Math.max(d,0),1)),d*=c;var p=o[0]=r+d*f,g=o[1]=t+d*h;return Math.sqrt((p-i)*(p-i)+(g-a)*(g-a))}function c_(r,t,e,n,i,a,o){e<0&&(r=r+e,e=-e),n<0&&(t=t+n,n=-n);var s=r+e,l=t+n,u=o[0]=Math.min(Math.max(i,r),s),f=o[1]=Math.min(Math.max(a,t),l);return Math.sqrt((u-i)*(u-i)+(f-a)*(f-a))}var Ce=[];function sA(r,t,e){var n=c_(t.x,t.y,t.width,t.height,r.x,r.y,Ce);return e.set(Ce[0],Ce[1]),n}function lA(r,t,e){for(var n=0,i=0,a=0,o=0,s,l,u=1/0,f=t.data,h=r.x,c=r.y,v=0;v0){t=t/180*Math.PI,De.fromArray(r[0]),ct.fromArray(r[1]),wt.fromArray(r[2]),Y.sub(Ve,De,ct),Y.sub(Fe,wt,ct);var e=Ve.len(),n=Fe.len();if(!(e<.001||n<.001)){Ve.scale(1/e),Fe.scale(1/n);var i=Ve.dot(Fe),a=Math.cos(t);if(a1&&Y.copy(Ut,wt),Ut.toArray(r[1])}}}}function uA(r,t,e){if(e<=180&&e>0){e=e/180*Math.PI,De.fromArray(r[0]),ct.fromArray(r[1]),wt.fromArray(r[2]),Y.sub(Ve,ct,De),Y.sub(Fe,wt,ct);var n=Ve.len(),i=Fe.len();if(!(n<.001||i<.001)){Ve.scale(1/n),Fe.scale(1/i);var a=Ve.dot(t),o=Math.cos(e);if(a=l)Y.copy(Ut,wt);else{Ut.scaleAndAdd(Fe,s/Math.tan(Math.PI/2-f));var h=wt.x!==ct.x?(Ut.x-ct.x)/(wt.x-ct.x):(Ut.y-ct.y)/(wt.y-ct.y);if(isNaN(h))return;h<0?Y.copy(Ut,ct):h>1&&Y.copy(Ut,wt)}Ut.toArray(r[1])}}}}function wu(r,t,e,n){var i=e==="normal",a=i?r:r.ensureState(e);a.ignore=t;var o=n.get("smooth");o&&o===!0&&(o=.3),a.shape=a.shape||{},o>0&&(a.shape.smooth=o);var s=n.getModel("lineStyle").getLineStyle();i?r.useStyle(s):a.style=s}function fA(r,t){var e=t.smooth,n=t.points;if(n)if(r.moveTo(n[0][0],n[0][1]),e>0&&n.length>=3){var i=Ju(n[0],n[1]),a=Ju(n[1],n[2]);if(!i||!a){r.lineTo(n[1][0],n[1][1]),r.lineTo(n[2][0],n[2][1]);return}var o=Math.min(i,a)*e,s=No([],n[1],n[0],o/i),l=No([],n[1],n[2],o/a),u=No([],s,l,.5);r.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),r.bezierCurveTo(l[0],l[1],l[0],l[1],n[2][0],n[2][1])}else for(var f=1;f0){_(T*C,0,o);var D=T+x;D<0&&S(-D*C,1)}else S(-x*C,1)}}function _(x,b,C){x!==0&&(u=!0);for(var T=b;T0)for(var D=0;D0;D--){var P=C[D-1]*I;_(-P,D,o)}}}function w(x){var b=x<0?-1:1;x=Math.abs(x);for(var C=Math.ceil(x/(o-1)),T=0;T0?_(C,0,T+1):_(-C,o-T-1,o),x-=C,x<=0)return}return u}function hA(r,t,e,n){return m_(r,"x","width",t,e)}function __(r,t,e,n){return m_(r,"y","height",t,e)}function S_(r){var t=[];r.sort(function(p,g){return g.priority-p.priority});var e=new lt(0,0,0,0);function n(p){if(!p.ignore){var g=p.ensureState("emphasis");g.ignore==null&&(g.ignore=!1)}p.ignore=!0}for(var i=0;i=0&&n.attr(a.oldLayoutSelect),it(c,"emphasis")>=0&&n.attr(a.oldLayoutEmphasis)),Pt(n,u,e,l)}else if(n.attr(u),!_i(n).valueAnimation){var h=tt(n.style.opacity,1);n.style.opacity=0,Vt(n,{style:{opacity:h}},e,l)}if(a.oldLayout=u,n.states.select){var v=a.oldLayoutSelect={};Lo(v,u,Io),Lo(v,n.states.select,Io)}if(n.states.emphasis){var d=a.oldLayoutEmphasis={};Lo(d,u,Io),Lo(d,n.states.emphasis,Io)}kb(n,l,f,e,e)}if(i&&!i.ignore&&!i.invisible){var a=dA(i),o=a.oldLayout,p={points:i.shape.points};o?(i.attr({shape:o}),Pt(i,{shape:p},e)):(i.setShape(p),i.style.strokePercent=0,Vt(i,{style:{strokePercent:1}},e)),a.oldLayout=p}},r}(),Tu=yt();function $P(r){r.registerUpdateLifecycle("series:beforeupdate",function(t,e,n){var i=Tu(e).labelManager;i||(i=Tu(e).labelManager=new pA),i.clearLabels()}),r.registerUpdateLifecycle("series:layoutlabels",function(t,e,n){var i=Tu(e).labelManager;n.updatedSeries.forEach(function(a){i.addLabelsOfSeries(e.getViewOfSeriesModel(a))}),i.updateLayoutConfig(e),i.layout(e),i.processLabelsOverall()})}var gA=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return t.prototype.getInitialData=function(e){return nv(null,this,{useEncodeDefaulter:!0})},t.prototype.getLegendIcon=function(e){var n=new bt,i=Br("line",0,e.itemHeight/2,e.itemWidth,0,e.lineStyle.stroke,!1);n.add(i),i.setStyle(e.lineStyle);var a=this.getData().getVisual("symbol"),o=this.getData().getVisual("symbolRotate"),s=a==="none"?"circle":a,l=e.itemHeight*.8,u=Br(s,(e.itemWidth-l)/2,(e.itemHeight-l)/2,l,l,e.itemStyle.fill);n.add(u),u.setStyle(e.itemStyle);var f=e.iconRotate==="inherit"?o:e.iconRotate||0;return u.rotation=f*Math.PI/180,u.setOrigin([e.itemWidth/2,e.itemHeight/2]),s.indexOf("empty")>-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.style.lineWidth=2),n},t.type="series.line",t.dependencies=["grid","polar"],t.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},t}(Ae);function uv(r,t){var e=r.mapDimensionsAll("defaultedLabel"),n=e.length;if(n===1){var i=hi(r,t,e[0]);return i!=null?i+"":null}else if(n){for(var a=[],o=0;o=0&&n.push(t[a])}return n.join(" ")}var fv=function(r){N(t,r);function t(e,n,i,a){var o=r.call(this)||this;return o.updateData(e,n,i,a),o}return t.prototype._createSymbol=function(e,n,i,a,o){this.removeAll();var s=Br(e,-1,-1,2,2,null,o);s.attr({z2:100,culling:!0,scaleX:a[0]/2,scaleY:a[1]/2}),s.drift=yA,this._symbolType=e,this.add(s)},t.prototype.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(null,e)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){li(this.childAt(0))},t.prototype.downplay=function(){ui(this.childAt(0))},t.prototype.setZ=function(e,n){var i=this.childAt(0);i.zlevel=e,i.z=n},t.prototype.setDraggable=function(e,n){var i=this.childAt(0);i.draggable=e,i.cursor=!n&&e?"move":i.cursor},t.prototype.updateData=function(e,n,i,a){this.silent=!1;var o=e.getItemVisual(n,"symbol")||"circle",s=e.hostModel,l=t.getSymbolSize(e,n),u=o!==this._symbolType,f=a&&a.disableAnimation;if(u){var h=e.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,e,n,l,h)}else{var c=this.childAt(0);c.silent=!1;var v={scaleX:l[0]/2,scaleY:l[1]/2};f?c.attr(v):Pt(c,v,s,n),kh(c)}if(this._updateCommon(e,n,l,i,a),u){var c=this.childAt(0);if(!f){var v={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:c.style.opacity}};c.scaleX=c.scaleY=0,c.style.opacity=0,Vt(c,v,s,n)}}f&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(e,n,i,a,o){var s=this.childAt(0),l=e.hostModel,u,f,h,c,v,d,p,g,y;if(a&&(u=a.emphasisItemStyle,f=a.blurItemStyle,h=a.selectItemStyle,c=a.focus,v=a.blurScope,p=a.labelStatesModels,g=a.hoverScale,y=a.cursorStyle,d=a.emphasisDisabled),!a||e.hasItemOption){var m=a&&a.itemModel?a.itemModel:e.getItemModel(n),_=m.getModel("emphasis");u=_.getModel("itemStyle").getItemStyle(),h=m.getModel(["select","itemStyle"]).getItemStyle(),f=m.getModel(["blur","itemStyle"]).getItemStyle(),c=_.get("focus"),v=_.get("blurScope"),d=_.get("disabled"),p=Ua(m),g=_.getShallow("scale"),y=m.getShallow("cursor")}var S=e.getItemVisual(n,"symbolRotate");s.attr("rotation",(S||0)*Math.PI/180||0);var w=g0(e.getItemVisual(n,"symbolOffset"),i);w&&(s.x=w[0],s.y=w[1]),y&&s.attr("cursor",y);var x=e.getItemVisual(n,"style"),b=x.fill;if(s instanceof Nr){var C=s.style;s.useStyle(B({image:C.image,x:C.x,y:C.y,width:C.width,height:C.height},x))}else s.__isEmptyBrush?s.useStyle(B({},x)):s.useStyle(x),s.style.decal=null,s.setColor(b,o&&o.symbolInnerColor),s.style.strokeNoScale=!0;var T=e.getItemVisual(n,"liftZ"),D=this._z2;T!=null?D==null&&(this._z2=s.z2,s.z2+=T):D!=null&&(s.z2=D,this._z2=null);var A=o&&o.useNameLabel;Wa(s,p,{labelFetcher:l,labelDataIndex:n,defaultText:L,inheritColor:b,defaultOpacity:x.opacity});function L(R){return A?e.getName(R):uv(e,R)}this._sizeX=i[0]/2,this._sizeY=i[1]/2;var I=s.ensureState("emphasis");I.style=u,s.ensureState("select").style=h,s.ensureState("blur").style=f;var P=g==null||g===!0?Math.max(1.1,3/this._sizeY):isFinite(g)&&g>0?+g:1;I.scaleX=this._sizeX*P,I.scaleY=this._sizeY*P,this.setSymbolScale(1),ba(this,c,v,d)},t.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},t.prototype.fadeOut=function(e,n,i){var a=this.childAt(0),o=ot(this).dataIndex,s=i&&i.animation;if(this.silent=a.silent=!0,i&&i.fadeLabel){var l=a.getTextContent();l&&ds(l,{style:{opacity:0}},n,{dataIndex:o,removeOpt:s,cb:function(){a.removeTextContent()}})}else a.removeTextContent();ds(a,{style:{opacity:0},scaleX:0,scaleY:0},n,{dataIndex:o,cb:e,removeOpt:s})},t.getSymbolSize=function(e,n){return nM(e.getItemVisual(n,"symbolSize"))},t}(bt);function yA(r,t){this.parent.drift(r,t)}function Cu(r,t,e,n){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(n.isIgnore&&n.isIgnore(e))&&!(n.clipShape&&!n.clipShape.contain(t[0],t[1]))&&r.getItemVisual(e,"symbol")!=="none"}function pp(r){return r!=null&&!Z(r)&&(r={isIgnore:r}),r||{}}function gp(r){var t=r.hostModel,e=t.getModel("emphasis");return{emphasisItemStyle:e.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:e.get("focus"),blurScope:e.get("blurScope"),emphasisDisabled:e.get("disabled"),hoverScale:e.get("scale"),labelStatesModels:Ua(t),cursorStyle:t.get("cursor")}}var mA=function(){function r(t){this.group=new bt,this._SymbolCtor=t||fv}return r.prototype.updateData=function(t,e){this._progressiveEls=null,e=pp(e);var n=this.group,i=t.hostModel,a=this._data,o=this._SymbolCtor,s=e.disableAnimation,l=gp(t),u={disableAnimation:s},f=e.getSymbolPoint||function(h){return t.getItemLayout(h)};a||n.removeAll(),t.diff(a).add(function(h){var c=f(h);if(Cu(t,c,h,e)){var v=new o(t,h,l,u);v.setPosition(c),t.setItemGraphicEl(h,v),n.add(v)}}).update(function(h,c){var v=a.getItemGraphicEl(c),d=f(h);if(!Cu(t,d,h,e)){n.remove(v);return}var p=t.getItemVisual(h,"symbol")||"circle",g=v&&v.getSymbolType&&v.getSymbolType();if(!v||g&&g!==p)n.remove(v),v=new o(t,h,l,u),v.setPosition(d);else{v.updateData(t,h,l,u);var y={x:d[0],y:d[1]};s?v.attr(y):Pt(v,y,i)}n.add(v),t.setItemGraphicEl(h,v)}).remove(function(h){var c=a.getItemGraphicEl(h);c&&c.fadeOut(function(){n.remove(c)},i)}).execute(),this._getSymbolPoint=f,this._data=t},r.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl(function(n,i){var a=t._getSymbolPoint(i);n.setPosition(a),n.markRedraw()})},r.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=gp(t),this._data=null,this.group.removeAll()},r.prototype.incrementalUpdate=function(t,e,n){this._progressiveEls=[],n=pp(n);function i(l){l.isGroup||(l.incremental=!0,l.ensureState("emphasis").hoverLayer=!0)}for(var a=t.start;a0?e=n[0]:n[1]<0&&(e=n[1]),e}function b_(r,t,e,n){var i=NaN;r.stacked&&(i=e.get(e.getCalculationInfo("stackedOverDimension"),n)),isNaN(i)&&(i=r.valueStart);var a=r.baseDataOffset,o=[];return o[a]=e.get(r.baseDim,n),o[1-a]=i,t.dataToPoint(o)}function SA(r,t){var e=[];return t.diff(r).add(function(n){e.push({cmd:"+",idx:n})}).update(function(n,i){e.push({cmd:"=",idx:i,idx1:n})}).remove(function(n){e.push({cmd:"-",idx:n})}).execute(),e}function xA(r,t,e,n,i,a,o,s){for(var l=SA(r,t),u=[],f=[],h=[],c=[],v=[],d=[],p=[],g=w_(i,t,o),y=r.getLayout("points")||[],m=t.getLayout("points")||[],_=0;_=i||p<0)break;if(pn(y,m)){if(l){p+=a;continue}break}if(p===e)r[a>0?"moveTo":"lineTo"](y,m),h=y,c=m;else{var _=y-u,S=m-f;if(_*_+S*S<.5){p+=a;continue}if(o>0){for(var w=p+a,x=t[w*2],b=t[w*2+1];x===y&&b===m&&g=n||pn(x,b))v=y,d=m;else{D=x-u,A=b-f;var P=y-u,R=x-y,E=m-f,F=b-m,k=void 0,O=void 0;if(s==="x"){k=Math.abs(P),O=Math.abs(R);var z=D>0?1:-1;v=y-z*k*o,d=m,L=y+z*O*o,I=m}else if(s==="y"){k=Math.abs(E),O=Math.abs(F);var H=A>0?1:-1;v=y,d=m-H*k*o,L=y,I=m+H*O*o}else k=Math.sqrt(P*P+E*E),O=Math.sqrt(R*R+F*F),T=O/(O+k),v=y-D*o*(1-T),d=m-A*o*(1-T),L=y+D*o*T,I=m+A*o*T,L=_r(L,Sr(x,y)),I=_r(I,Sr(b,m)),L=Sr(L,_r(x,y)),I=Sr(I,_r(b,m)),D=L-y,A=I-m,v=y-D*k/O,d=m-A*k/O,v=_r(v,Sr(u,y)),d=_r(d,Sr(f,m)),v=Sr(v,_r(u,y)),d=Sr(d,_r(f,m)),D=y-v,A=m-d,L=y+D*O/k,I=m+A*O/k}r.bezierCurveTo(h,c,v,d,y,m),h=L,c=I}else r.lineTo(y,m)}u=y,f=m,p+=a}return g}var T_=function(){function r(){this.smooth=0,this.smoothConstraint=!0}return r}(),wA=function(r){N(t,r);function t(e){var n=r.call(this,e)||this;return n.type="ec-polyline",n}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new T_},t.prototype.buildPath=function(e,n){var i=n.points,a=0,o=i.length/2;if(n.connectNulls){for(;o>0&&pn(i[o*2-2],i[o*2-1]);o--);for(;a=0){var S=u?(d-l)*_+l:(v-s)*_+s;return u?[e,S]:[S,e]}s=v,l=d;break;case o.C:v=a[h++],d=a[h++],p=a[h++],g=a[h++],y=a[h++],m=a[h++];var w=u?rs(s,v,p,y,e,f):rs(l,d,g,m,e,f);if(w>0)for(var x=0;x=0){var S=u?Lt(l,d,g,m,b):Lt(s,v,p,y,b);return u?[e,S]:[S,e]}}s=y,l=m;break}}},t}(at),bA=function(r){N(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t}(T_),TA=function(r){N(t,r);function t(e){var n=r.call(this,e)||this;return n.type="ec-polygon",n}return t.prototype.getDefaultShape=function(){return new bA},t.prototype.buildPath=function(e,n){var i=n.points,a=n.stackedOnPoints,o=0,s=i.length/2,l=n.smoothMonotone;if(n.connectNulls){for(;s>0&&pn(i[s*2-2],i[s*2-1]);s--);for(;ot){a?e.push(o(a,l,t)):i&&e.push(o(i,l,0),o(i,l,t));break}else i&&(e.push(o(i,l,0)),i=null),e.push(l),a=l}return e}function AA(r,t,e){var n=r.getVisual("visualMeta");if(!(!n||!n.length||!r.count())&&t.type==="cartesian2d"){for(var i,a,o=n.length-1;o>=0;o--){var s=r.getDimensionInfo(n[o].dimension);if(i=s&&s.coordDim,i==="x"||i==="y"){a=n[o];break}}if(a){var l=t.getAxis(i),u=V(a.stops,function(_){return{coord:l.toGlobalCoord(l.dataToCoord(_.value)),color:_.color}}),f=u.length,h=a.outerColors.slice();f&&u[0].coord>u[f-1].coord&&(u.reverse(),h.reverse());var c=DA(u,i==="x"?e.getWidth():e.getHeight()),v=c.length;if(!v&&f)return u[0].coord<0?h[1]?h[1]:u[f-1].color:h[0]?h[0]:u[0].color;var d=10,p=c[0].coord-d,g=c[v-1].coord+d,y=g-p;if(y<.001)return"transparent";M(c,function(_){_.offset=(_.coord-p)/y}),c.push({offset:v?c[v-1].offset:.5,color:h[1]||"transparent"}),c.unshift({offset:v?c[0].offset:.5,color:h[0]||"transparent"});var m=new vm(0,0,0,0,c,!0);return m[i]=p,m[i+"2"]=g,m}}}function LA(r,t,e){var n=r.get("showAllSymbol"),i=n==="auto";if(!(n&&!i)){var a=e.getAxesByScale("ordinal")[0];if(a&&!(i&&IA(a,t))){var o=t.mapDimension(a.dim),s={};return M(a.getViewLabels(),function(l){var u=a.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(t.get(o,l))}}}}function IA(r,t){var e=r.getExtent(),n=Math.abs(e[1]-e[0])/r.scale.count();isNaN(n)&&(n=0);for(var i=t.count(),a=Math.max(1,Math.round(i/5)),o=0;on)return!1;return!0}function PA(r,t){return isNaN(r)||isNaN(t)}function RA(r){for(var t=r.length/2;t>0&&PA(r[t*2-2],r[t*2-1]);t--);return t-1}function xp(r,t){return[r[t*2],r[t*2+1]]}function EA(r,t,e){for(var n=r.length/2,i=e==="x"?0:1,a,o,s=0,l=-1,u=0;u=t||a>=t&&o<=t){l=u;break}s=u,a=o}return{range:[s,l],t:(t-a)/(o-a)}}function D_(r){if(r.get(["endLabel","show"]))return!0;for(var t=0;t0&&e.get(["emphasis","lineStyle","width"])==="bolder"){var O=d.getState("emphasis").style;O.lineWidth=+d.style.lineWidth+1}ot(d).seriesIndex=e.seriesIndex,ba(d,E,F,k);var z=Sp(e.get("smooth")),H=e.get("smoothMonotone");if(d.setShape({smooth:z,smoothMonotone:H,connectNulls:b}),p){var U=s.getCalculationInfo("stackedOnSeries"),et=0;p.useStyle(j(u.getAreaStyle(),{fill:L,opacity:.7,lineJoin:"bevel",decal:s.getVisual("style").decal})),U&&(et=Sp(U.get("smooth"))),p.setShape({smooth:z,stackedOnSmooth:et,smoothMonotone:H,connectNulls:b}),vs(p,e,"areaStyle"),ot(p).seriesIndex=e.seriesIndex,ba(p,E,F,k)}var ut=this._changePolyState;s.eachItemGraphicEl(function(ht){ht&&(ht.onHoverStateChange=ut)}),this._polyline.onHoverStateChange=ut,this._data=s,this._coordSys=a,this._stackedOnPoints=w,this._points=f,this._step=D,this._valueOrigin=_,e.get("triggerLineEvent")&&(this.packEventData(e,d),p&&this.packEventData(e,p))},t.prototype.packEventData=function(e,n){ot(n).eventData={componentType:"series",componentSubType:"line",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"line"}},t.prototype.highlight=function(e,n,i,a){var o=e.getData(),s=mn(o,a);if(this._changePolyState("emphasis"),!(s instanceof Array)&&s!=null&&s>=0){var l=o.getLayout("points"),u=o.getItemGraphicEl(s);if(!u){var f=l[s*2],h=l[s*2+1];if(isNaN(f)||isNaN(h)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(f,h))return;var c=e.get("zlevel")||0,v=e.get("z")||0;u=new fv(o,s),u.x=f,u.y=h,u.setZ(c,v);var d=u.getSymbolPath().getTextContent();d&&(d.zlevel=c,d.z=v,d.z2=this._polyline.z2+1),u.__temp=!0,o.setItemGraphicEl(s,u),u.stopSymbolAnimation(!0),this.group.add(u)}u.highlight()}else ge.prototype.highlight.call(this,e,n,i,a)},t.prototype.downplay=function(e,n,i,a){var o=e.getData(),s=mn(o,a);if(this._changePolyState("normal"),s!=null&&s>=0){var l=o.getItemGraphicEl(s);l&&(l.__temp?(o.setItemGraphicEl(s,null),this.group.remove(l)):l.downplay())}else ge.prototype.downplay.call(this,e,n,i,a)},t.prototype._changePolyState=function(e){var n=this._polygon;Ic(this._polyline,e),n&&Ic(n,e)},t.prototype._newPolyline=function(e){var n=this._polyline;return n&&this._lineGroup.remove(n),n=new wA({shape:{points:e},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(n),this._polyline=n,n},t.prototype._newPolygon=function(e,n){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new TA({shape:{points:e,stackedOnPoints:n},segmentIgnoreThreshold:2}),this._lineGroup.add(i),this._polygon=i,i},t.prototype._initSymbolLabelAnimation=function(e,n,i){var a,o,s=n.getBaseAxis(),l=s.inverse;n.type==="cartesian2d"?(a=s.isHorizontal(),o=!1):n.type==="polar"&&(a=s.dim==="angle",o=!0);var u=e.hostModel,f=u.get("animationDuration");K(f)&&(f=f(null));var h=u.get("animationDelay")||0,c=K(h)?h(null):h;e.eachItemGraphicEl(function(v,d){var p=v;if(p){var g=[v.x,v.y],y=void 0,m=void 0,_=void 0;if(i)if(o){var S=i,w=n.pointToCoord(g);a?(y=S.startAngle,m=S.endAngle,_=-w[1]/180*Math.PI):(y=S.r0,m=S.r,_=w[0])}else{var x=i;a?(y=x.x,m=x.x+x.width,_=v.x):(y=x.y+x.height,m=x.y,_=v.y)}var b=m===y?0:(_-y)/(m-y);l&&(b=1-b);var C=K(h)?h(d):f*b+c,T=p.getSymbolPath(),D=T.getTextContent();p.attr({scaleX:0,scaleY:0}),p.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:C}),D&&D.animateFrom({style:{opacity:0}},{duration:300,delay:C}),T.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(e,n,i){var a=e.getModel("endLabel");if(D_(e)){var o=e.getData(),s=this._polyline,l=o.getLayout("points");if(!l){s.removeTextContent(),this._endLabel=null;return}var u=this._endLabel;u||(u=this._endLabel=new At({z2:200}),u.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var f=RA(l);f>=0&&(Wa(s,Ua(e,"endLabel"),{inheritColor:i,labelFetcher:e,labelDataIndex:f,defaultText:function(h,c,v){return v!=null?x_(o,v):uv(o,h)},enableTextSetter:!0},kA(a,n)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(e,n,i,a,o,s,l){var u=this._endLabel,f=this._polyline;if(u){e<1&&a.originalX==null&&(a.originalX=u.x,a.originalY=u.y);var h=i.getLayout("points"),c=i.hostModel,v=c.get("connectNulls"),d=s.get("precision"),p=s.get("distance")||0,g=l.getBaseAxis(),y=g.isHorizontal(),m=g.inverse,_=n.shape,S=m?y?_.x:_.y+_.height:y?_.x+_.width:_.y,w=(y?p:0)*(m?-1:1),x=(y?0:-p)*(m?-1:1),b=y?"x":"y",C=EA(h,S,b),T=C.range,D=T[1]-T[0],A=void 0;if(D>=1){if(D>1&&!v){var L=xp(h,T[0]);u.attr({x:L[0]+w,y:L[1]+x}),o&&(A=c.getRawValue(T[0]))}else{var L=f.getPointOn(S,b);L&&u.attr({x:L[0]+w,y:L[1]+x});var I=c.getRawValue(T[0]),P=c.getRawValue(T[1]);o&&(A=By(i,d,I,P,C.t))}a.lastFrameIndex=T[0]}else{var R=e===1||a.lastFrameIndex>0?T[0]:0,L=xp(h,R);o&&(A=c.getRawValue(R)),u.attr({x:L[0]+w,y:L[1]+x})}if(o){var E=_i(u);typeof E.setLabelText=="function"&&E.setLabelText(A)}}},t.prototype._doUpdateAnimation=function(e,n,i,a,o,s,l){var u=this._polyline,f=this._polygon,h=e.hostModel,c=xA(this._data,e,this._stackedOnPoints,n,this._coordSys,i,this._valueOrigin),v=c.current,d=c.stackedOnCurrent,p=c.next,g=c.stackedOnNext;if(o&&(d=xr(c.stackedOnCurrent,c.current,i,o,l),v=xr(c.current,null,i,o,l),g=xr(c.stackedOnNext,c.next,i,o,l),p=xr(c.next,null,i,o,l)),_p(v,p)>3e3||f&&_p(d,g)>3e3){u.stopAnimation(),u.setShape({points:p}),f&&(f.stopAnimation(),f.setShape({points:p,stackedOnPoints:g}));return}u.shape.__points=c.current,u.shape.points=v;var y={shape:{points:p}};c.current!==v&&(y.shape.__points=c.next),u.stopAnimation(),Pt(u,y,h),f&&(f.setShape({points:v,stackedOnPoints:d}),f.stopAnimation(),Pt(f,{shape:{stackedOnPoints:g}},h),u.shape.points!==f.shape.points&&(f.shape.points=u.shape.points));for(var m=[],_=c.status,S=0;S<_.length;S++){var w=_[S].cmd;if(w==="="){var x=e.getItemGraphicEl(_[S].idx1);x&&m.push({el:x,ptIdx:S})}}u.animators&&u.animators.length&&u.animators[0].during(function(){f&&f.dirtyShape();for(var b=u.shape.__points,C=0;Ct&&(t=r[e]);return isFinite(t)?t:NaN},min:function(r){for(var t=1/0,e=0;e10&&o.type==="cartesian2d"&&a){var l=o.getBaseAxis(),u=o.getOtherAxis(l),f=l.getExtent(),h=n.getDevicePixelRatio(),c=Math.abs(f[1]-f[0])*(h||1),v=Math.round(s/c);if(isFinite(v)&&v>1){a==="lttb"?t.setData(i.lttbDownSample(i.mapDimension(u.dim),1/v)):a==="minmax"&&t.setData(i.minmaxDownSample(i.mapDimension(u.dim),1/v));var d=void 0;W(a)?d=NA[a]:K(a)&&(d=a),d&&t.setData(i.downSample(i.mapDimension(u.dim),1/v,d,FA))}}}}}function qP(r){r.registerChartView(OA),r.registerSeriesModel(gA),r.registerLayout(BA("line")),r.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,A_("line"))}var Wf=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(e,n){return nv(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(e,n,i){var a=this.coordinateSystem;if(a&&a.clampData){var o=a.clampData(e),s=a.dataToPoint(o);if(i)M(a.getAxes(),function(c,v){if(c.type==="category"&&n!=null){var d=c.getTicksCoords(),p=c.getTickModel().get("alignWithLabel"),g=o[v],y=n[v]==="x1"||n[v]==="y1";if(y&&!p&&(g+=1),d.length<2)return;if(d.length===2){s[v]=c.toGlobalCoord(c.getExtent()[y?1:0]);return}for(var m=void 0,_=void 0,S=1,w=0;wg){_=(x+m)/2;break}w===1&&(S=b-d[0].tickValue)}_==null&&(m?m&&(_=d[d.length-1].coord):_=d[0].coord),s[v]=c.toGlobalCoord(_)}});else{var l=this.getData(),u=l.getLayout("offset"),f=l.getLayout("size"),h=a.getBaseAxis().isHorizontal()?0:1;s[h]+=u+f/2}return s}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t}(Ae);Ae.registerClass(Wf);var zA=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(){return nv(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},t.prototype.getProgressiveThreshold=function(){var e=this.get("progressiveThreshold"),n=this.get("largeThreshold");return n>e&&(e=n),e},t.prototype.brushSelector=function(e,n,i){return i.rect(n.getItemLayout(e))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=tl(Wf.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),t}(Wf),GA=function(){function r(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return r}(),wp=function(r){N(t,r);function t(e){var n=r.call(this,e)||this;return n.type="sausage",n}return t.prototype.getDefaultShape=function(){return new GA},t.prototype.buildPath=function(e,n){var i=n.cx,a=n.cy,o=Math.max(n.r0||0,0),s=Math.max(n.r,0),l=(s-o)*.5,u=o+l,f=n.startAngle,h=n.endAngle,c=n.clockwise,v=Math.PI*2,d=c?h-fMath.PI/2&&fs)return!0;s=h}return!1},t.prototype._isOrderDifferentInView=function(e,n){for(var i=n.scale,a=i.getExtent(),o=Math.max(0,a[0]),s=Math.min(a[1],i.getOrdinalMeta().categories.length-1);o<=s;++o)if(e.ordinalNumbers[o]!==i.getRawOrdinalNumber(o))return!0},t.prototype._updateSortWithinSameData=function(e,n,i,a){if(this._isOrderChangedWithinSameData(e,n,i)){var o=this._dataSort(e,i,n);this._isOrderDifferentInView(o,i)&&(this._removeOnRenderedListener(a),a.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",axisId:i.index,sortInfo:o}))}},t.prototype._dispatchInitSort=function(e,n,i){var a=n.baseAxis,o=this._dataSort(e,a,function(s){return e.get(e.mapDimension(n.otherAxis.dim),s)});i.dispatchAction({type:"changeAxisOrder",componentType:a.dim+"Axis",isInitSort:!0,axisId:a.index,sortInfo:o})},t.prototype.remove=function(e,n){this._clear(this._model),this._removeOnRenderedListener(n)},t.prototype.dispose=function(e,n){this._removeOnRenderedListener(n)},t.prototype._removeOnRenderedListener=function(e){this._onRendered&&(e.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(e){var n=this.group,i=this._data;e&&e.isAnimationEnabled()&&i&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],i.eachItemGraphicEl(function(a){ps(a,e,ot(a).dataIndex)})):n.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t}(ge),bp={cartesian2d:function(r,t){var e=t.width<0?-1:1,n=t.height<0?-1:1;e<0&&(t.x+=t.width,t.width=-t.width),n<0&&(t.y+=t.height,t.height=-t.height);var i=r.x+r.width,a=r.y+r.height,o=Du(t.x,r.x),s=Au(t.x+t.width,i),l=Du(t.y,r.y),u=Au(t.y+t.height,a),f=si?s:o,t.y=h&&l>a?u:l,t.width=f?0:s-o,t.height=h?0:u-l,e<0&&(t.x+=t.width,t.width=-t.width),n<0&&(t.y+=t.height,t.height=-t.height),f||h},polar:function(r,t){var e=t.r0<=t.r?1:-1;if(e<0){var n=t.r;t.r=t.r0,t.r0=n}var i=Au(t.r,r.r),a=Du(t.r0,r.r0);t.r=i,t.r0=a;var o=i-a<0;if(e<0){var n=t.r;t.r=t.r0,t.r0=n}return o}},Tp={cartesian2d:function(r,t,e,n,i,a,o,s,l){var u=new gt({shape:B({},n),z2:1});if(u.__dataIndex=e,u.name="item",a){var f=u.shape,h=i?"height":"width";f[h]=0}return u},polar:function(r,t,e,n,i,a,o,s,l){var u=!i&&l?wp:Ue,f=new u({shape:n,z2:1});f.name="item";var h=L_(i);if(f.calculateTextPosition=VA(h,{isRoundCap:u===wp}),a){var c=f.shape,v=i?"r":"endAngle",d={};c[v]=i?n.r0:n.startAngle,d[v]=n[v],(s?Pt:Vt)(f,{shape:d},a)}return f}};function YA(r,t){var e=r.get("realtimeSort",!0),n=t.getBaseAxis();if(e&&n.type==="category"&&t.type==="cartesian2d")return{baseAxis:n,otherAxis:t.getOtherAxis(n)}}function Cp(r,t,e,n,i,a,o,s){var l,u;a?(u={x:n.x,width:n.width},l={y:n.y,height:n.height}):(u={y:n.y,height:n.height},l={x:n.x,width:n.width}),s||(o?Pt:Vt)(e,{shape:l},t,i,null);var f=t?r.baseAxis.model:null;(o?Pt:Vt)(e,{shape:u},f,i)}function Mp(r,t){for(var e=0;e0?1:-1,o=n.height>0?1:-1;return{x:n.x+a*i/2,y:n.y+o*i/2,width:n.width-a*i,height:n.height-o*i}},polar:function(r,t,e){var n=r.getItemLayout(t);return{cx:n.cx,cy:n.cy,r0:n.r0,r:n.r,startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}}};function $A(r){return r.startAngle!=null&&r.endAngle!=null&&r.startAngle===r.endAngle}function L_(r){return function(t){var e=t?"Arc":"Angle";return function(n){switch(n){case"start":case"insideStart":case"end":case"insideEnd":return n+e;default:return n}}}(r)}function Ap(r,t,e,n,i,a,o,s){var l=t.getItemVisual(e,"style");if(s){if(!a.get("roundCap")){var f=r.shape,h=na(n.getModel("itemStyle"),f,!0);B(f,h),r.setShape(f)}}else{var u=n.get(["itemStyle","borderRadius"])||0;r.setShape("r",u)}r.useStyle(l);var c=n.getShallow("cursor");c&&r.attr("cursor",c);var v=s?o?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":o?i.height>=0?"bottom":"top":i.width>=0?"right":"left",d=Ua(n);Wa(r,d,{labelFetcher:a,labelDataIndex:e,defaultText:uv(a.getData(),e),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:v});var p=r.getTextContent();if(s&&p){var g=n.get(["label","position"]);r.textConfig.inside=g==="middle"?!0:null,HA(r,g==="outside"?v:g,L_(o),n.get(["label","rotate"]))}Eb(p,d,a.getRawValue(e),function(m){return x_(t,m)});var y=n.getModel(["emphasis"]);ba(r,y.get("focus"),y.get("blurScope"),y.get("disabled")),vs(r,n),$A(i)&&(r.style.fill="none",r.style.stroke="none",M(r.states,function(m){m.style&&(m.style.fill=m.style.stroke="none")}))}function qA(r,t){var e=r.get(["itemStyle","borderColor"]);if(!e||e==="none")return 0;var n=r.get(["itemStyle","borderWidth"])||0,i=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),a=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(n,i,a)}var KA=function(){function r(){}return r}(),Lp=function(r){N(t,r);function t(e){var n=r.call(this,e)||this;return n.type="largeBar",n}return t.prototype.getDefaultShape=function(){return new KA},t.prototype.buildPath=function(e,n){for(var i=n.points,a=this.baseDimIdx,o=1-this.baseDimIdx,s=[],l=[],u=this.barWidth,f=0;f=0?e:null},30,!1);function QA(r,t,e){for(var n=r.baseDimIdx,i=1-n,a=r.shape.points,o=r.largeDataIndices,s=[],l=[],u=r.barWidth,f=0,h=a.length/3;f=s[0]&&t<=s[0]+l[0]&&e>=s[1]&&e<=s[1]+l[1])return o[f]}return-1}function I_(r,t,e){if(hv(e,"cartesian2d")){var n=t,i=e.getArea();return{x:r?n.x:i.x,y:r?i.y:n.y,width:r?n.width:i.width,height:r?i.height:n.height}}else{var i=e.getArea(),a=t;return{cx:i.cx,cy:i.cy,r0:r?i.r0:a.r0,r:r?i.r:a.r,startAngle:r?a.startAngle:0,endAngle:r?a.endAngle:Math.PI*2}}}function JA(r,t,e){var n=r.type==="polar"?Ue:gt;return new n({shape:I_(t,e,r),silent:!0,z2:0})}function KP(r){r.registerChartView(UA),r.registerSeriesModel(zA),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,st(bD,"bar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,TD("bar")),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,A_("bar")),r.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},function(i){t.sortInfo&&i.axis.setCategorySortInfo(t.sortInfo)})})}var Rp=Math.PI*2,ko=Math.PI/180;function P_(r,t){return fr(r.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function R_(r,t){var e=P_(r,t),n=r.get("center"),i=r.get("radius");G(i)||(i=[0,i]);var a=dt(e.width,t.getWidth()),o=dt(e.height,t.getHeight()),s=Math.min(a,o),l=dt(i[0],s/2),u=dt(i[1],s/2),f,h,c=r.coordinateSystem;if(c){var v=c.dataToPoint(n);f=v[0]||0,h=v[1]||0}else G(n)||(n=[n,n]),f=dt(n[0],a)+e.x,h=dt(n[1],o)+e.y;return{cx:f,cy:h,r0:l,r:u}}function jA(r,t,e){t.eachSeriesByType(r,function(n){var i=n.getData(),a=i.mapDimension("value"),o=P_(n,e),s=R_(n,e),l=s.cx,u=s.cy,f=s.r,h=s.r0,c=-n.get("startAngle")*ko,v=n.get("endAngle"),d=n.get("padAngle")*ko;v=v==="auto"?c-Rp:-v*ko;var p=n.get("minAngle")*ko,g=p+d,y=0;i.each(a,function(F){!isNaN(F)&&y++});var m=i.getSum(a),_=Math.PI/(m||y)*2,S=n.get("clockwise"),w=n.get("roseType"),x=n.get("stillShowZeroSum"),b=i.getDataExtent(a);b[0]=0;var C=S?1:-1,T=[c,v],D=C*d/2;Uy(T,!S),c=T[0],v=T[1];var A=E_(n);A.startAngle=c,A.endAngle=v,A.clockwise=S;var L=Math.abs(v-c),I=L,P=0,R=c;if(i.setLayout({viewRect:o,r:f}),i.each(a,function(F,k){var O;if(isNaN(F)){i.setItemLayout(k,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:S,cx:l,cy:u,r0:h,r:w?NaN:f});return}w!=="area"?O=m===0&&x?_:F*_:O=L/y,OO?(H=R+C*O/2,U=H):(H=R+D,U=z-D),i.setItemLayout(k,{angle:O,startAngle:H,endAngle:U,clockwise:S,cx:l,cy:u,r0:h,r:w?Et(F,b,[h,f]):f}),R=z}),Ie?y:g,w=Math.abs(_.label.y-e);if(w>=S.maxY){var x=_.label.x-t-_.len2*i,b=n+_.len,C=Math.abs(x)r.unconstrainedWidth?null:v:null;n.setStyle("width",d)}var p=n.getBoundingRect();a.width=p.width;var g=(n.style.margin||0)+2.1;a.height=p.height+g,a.y-=(a.height-h)/2}}}function Lu(r){return r.position==="center"}function n2(r){var t=r.getData(),e=[],n,i,a=!1,o=(r.get("minShowLabelAngle")||0)*e2,s=t.getLayout("viewRect"),l=t.getLayout("r"),u=s.width,f=s.x,h=s.y,c=s.height;function v(x){x.ignore=!0}function d(x){if(!x.ignore)return!0;for(var b in x.states)if(x.states[b].ignore===!1)return!0;return!1}t.each(function(x){var b=t.getItemGraphicEl(x),C=b.shape,T=b.getTextContent(),D=b.getTextGuideLine(),A=t.getItemModel(x),L=A.getModel("label"),I=L.get("position")||A.get(["emphasis","label","position"]),P=L.get("distanceToLabelLine"),R=L.get("alignTo"),E=dt(L.get("edgeDistance"),u),F=L.get("bleedMargin"),k=A.getModel("labelLine"),O=k.get("length");O=dt(O,u);var z=k.get("length2");if(z=dt(z,u),Math.abs(C.endAngle-C.startAngle)0?"right":"left":U>0?"left":"right"}var vr=Math.PI,Ke=0,bi=L.get("rotate");if(pt(bi))Ke=bi*(vr/180);else if(I==="center")Ke=0;else if(bi==="radial"||bi===!0){var C1=U<0?-H+vr:-H;Ke=C1}else if(bi==="tangential"&&I!=="outside"&&I!=="outer"){var Tn=Math.atan2(U,et);Tn<0&&(Tn=vr*2+Tn);var M1=et>0;M1&&(Tn=vr+Tn),Ke=Tn-vr}if(a=!!Ke,T.x=ut,T.y=ht,T.rotation=Ke,T.setStyle({verticalAlign:"middle"}),Ot){T.setStyle({align:Xt});var gl=T.states.select;gl&&(gl.x+=T.x,gl.y+=T.y)}else{var Ti=T.getBoundingRect().clone();Ti.applyTransform(T.getComputedTransform());var Av=(T.style.margin||0)+2.1;Ti.y-=Av/2,Ti.height+=Av,e.push({label:T,labelLine:D,position:I,len:O,len2:z,minTurnAngle:k.get("minTurnAngle"),maxSurfaceAngle:k.get("maxSurfaceAngle"),surfaceNormal:new Y(U,et),linePoints:kt,textAlign:Xt,labelDistance:P,labelAlignTo:R,edgeDistance:E,bleedMargin:F,rect:Ti,unconstrainedWidth:Ti.width,labelStyleWidth:T.style.width})}b.setTextConfig({inside:Ot})}}),!a&&r.get("avoidLabelOverlap")&&r2(e,n,i,l,u,c,f,h);for(var p=0;p0){for(var f=o.getItemLayout(0),h=1;isNaN(f&&f.startAngle)&&h=a.r0}},t.type="pie",t}(ge);function o2(r,t,e){t=G(t)&&{coordDimensions:t}||B({encodeDefine:r.getEncode()},t);var n=r.getSource(),i=Z0(n,t).dimensions,a=new Y0(i,r);return a.initData(n,e),a}var s2=function(){function r(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return r.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},r.prototype.containName=function(t){var e=this._getRawData();return e.indexOfName(t)>=0},r.prototype.indexOfName=function(t){var e=this._getDataWithEncodedVisual();return e.indexOfName(t)},r.prototype.getItemVisual=function(t,e){var n=this._getDataWithEncodedVisual();return n.getItemVisual(t,e)},r}(),l2=yt(),u2=function(r){N(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.init=function(e){r.prototype.init.apply(this,arguments),this.legendVisualProvider=new s2($(this.getData,this),$(this.getRawData,this)),this._defaultLabelLine(e)},t.prototype.mergeOption=function(){r.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return o2(this,{coordDimensions:["value"],encodeDefaulter:st(lT,this)})},t.prototype.getDataParams=function(e){var n=this.getData(),i=l2(n),a=i.seats;if(!a){var o=[];n.each(n.mapDimension("value"),function(l){o.push(l)}),a=i.seats=ox(o,n.hostModel.get("percentPrecision"))}var s=r.prototype.getDataParams.call(this,e);return s.percent=a[e]||0,s.$vars.push("percent"),s},t.prototype._defaultLabelLine=function(e){pf(e,"labelLine",["show"]);var n=e.labelLine,i=e.emphasis.labelLine;n.show=n.show&&e.label.show,i.show=i.show&&e.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},t}(Ae);function f2(r){return{seriesType:r,reset:function(t,e){var n=t.getData();n.filterSelf(function(i){var a=n.mapDimension("value"),o=n.get(a,i);return!(pt(o)&&!isNaN(o)&&o<0)})}}}function QP(r){r.registerChartView(a2),r.registerSeriesModel(u2),UC("pie",r.registerAction),r.registerLayout(st(jA,"pie")),r.registerProcessor(t2("pie")),r.registerProcessor(f2("pie"))}var h2=function(r){N(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},t}(ft),Uf=function(r){N(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Yt).models[0]},t.type="cartesian2dAxis",t}(ft);Ze(Uf,ZD);var O_={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},v2=rt({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},O_),vv=rt({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},O_),c2=rt({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},vv),d2=j({logBase:10},vv);const p2={category:v2,value:vv,time:c2,log:d2};var g2={value:1,category:1,time:1,log:1};function kp(r,t,e,n){M(g2,function(i,a){var o=rt(rt({},p2[a],!0),n,!0),s=function(l){N(u,l);function u(){var f=l!==null&&l.apply(this,arguments)||this;return f.type=t+"Axis."+a,f}return u.prototype.mergeDefaultAndTheme=function(f,h){var c=Da(this),v=c?Za(f):{},d=h.getTheme();rt(f,d.get(a+"Axis")),rt(f,this.getDefaultOption()),f.type=Op(f),c&&fi(f,v,c)},u.prototype.optionUpdated=function(){var f=this.option;f.type==="category"&&(this.__ordinalMeta=Gf.createByAxisModel(this))},u.prototype.getCategories=function(f){var h=this.option;if(h.type==="category")return f?h.data:this.__ordinalMeta.categories},u.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},u.type=t+"Axis."+a,u.defaultOption=o,u}(e);r.registerComponentModel(s)}),r.registerSubTypeDefaulter(t+"Axis",Op)}function Op(r){return r.type||(r.data?"category":"value")}var y2=function(){function r(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return r.prototype.getAxis=function(t){return this._axes[t]},r.prototype.getAxes=function(){return V(this._dimList,function(t){return this._axes[t]},this)},r.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),St(this.getAxes(),function(e){return e.scale.type===t})},r.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},r}(),Yf=["x","y"];function Bp(r){return r.type==="interval"||r.type==="time"}var m2=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=Yf,e}return t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var e=this.getAxis("x").scale,n=this.getAxis("y").scale;if(!(!Bp(e)||!Bp(n))){var i=e.getExtent(),a=n.getExtent(),o=this.dataToPoint([i[0],a[0]]),s=this.dataToPoint([i[1],a[1]]),l=i[1]-i[0],u=a[1]-a[0];if(!(!l||!u)){var f=(s[0]-o[0])/l,h=(s[1]-o[1])/u,c=o[0]-i[0]*f,v=o[1]-a[0]*h,d=this._transform=[f,0,0,h,c,v];this._invTransform=Ns([],d)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(e){var n=this.getAxis("x"),i=this.getAxis("y");return n.contain(n.toLocalCoord(e[0]))&&i.contain(i.toLocalCoord(e[1]))},t.prototype.containData=function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},t.prototype.containZone=function(e,n){var i=this.dataToPoint(e),a=this.dataToPoint(n),o=this.getArea(),s=new lt(i[0],i[1],a[0]-i[0],a[1]-i[1]);return o.intersect(s)},t.prototype.dataToPoint=function(e,n,i){i=i||[];var a=e[0],o=e[1];if(this._transform&&a!=null&&isFinite(a)&&o!=null&&isFinite(o))return pe(i,e,this._transform);var s=this.getAxis("x"),l=this.getAxis("y");return i[0]=s.toGlobalCoord(s.dataToCoord(a,n)),i[1]=l.toGlobalCoord(l.dataToCoord(o,n)),i},t.prototype.clampData=function(e,n){var i=this.getAxis("x").scale,a=this.getAxis("y").scale,o=i.getExtent(),s=a.getExtent(),l=i.parse(e[0]),u=a.parse(e[1]);return n=n||[],n[0]=Math.min(Math.max(Math.min(o[0],o[1]),l),Math.max(o[0],o[1])),n[1]=Math.min(Math.max(Math.min(s[0],s[1]),u),Math.max(s[0],s[1])),n},t.prototype.pointToData=function(e,n){var i=[];if(this._invTransform)return pe(i,e,this._invTransform);var a=this.getAxis("x"),o=this.getAxis("y");return i[0]=a.coordToData(a.toLocalCoord(e[0]),n),i[1]=o.coordToData(o.toLocalCoord(e[1]),n),i},t.prototype.getOtherAxis=function(e){return this.getAxis(e.dim==="x"?"y":"x")},t.prototype.getArea=function(e){e=e||0;var n=this.getAxis("x").getGlobalExtent(),i=this.getAxis("y").getGlobalExtent(),a=Math.min(n[0],n[1])-e,o=Math.min(i[0],i[1])-e,s=Math.max(n[0],n[1])-a+e,l=Math.max(i[0],i[1])-o+e;return new lt(a,o,s,l)},t}(y2),_2=function(r){N(t,r);function t(e,n,i,a,o){var s=r.call(this,e,n,i)||this;return s.index=0,s.type=a||"value",s.position=o||"bottom",s}return t.prototype.isHorizontal=function(){var e=this.position;return e==="top"||e==="bottom"},t.prototype.getGlobalExtent=function(e){var n=this.getExtent();return n[0]=this.toGlobalCoord(n[0]),n[1]=this.toGlobalCoord(n[1]),e&&n[0]>n[1]&&n.reverse(),n},t.prototype.pointToData=function(e,n){return this.coordToData(this.toLocalCoord(e[this.dim==="x"?0:1]),n)},t.prototype.setCategorySortInfo=function(e){if(this.type!=="category")return!1;this.model.option.categorySortInfo=e,this.scale.setSortInfo(e)},t}(rA);function Zf(r,t,e){e=e||{};var n=r.coordinateSystem,i=t.axis,a={},o=i.getAxesOnZeroOf()[0],s=i.position,l=o?"onZero":s,u=i.dim,f=n.getRect(),h=[f.x,f.x+f.width,f.y,f.y+f.height],c={left:0,right:1,top:0,bottom:1,onZero:2},v=t.get("offset")||0,d=u==="x"?[h[2]-v,h[3]+v]:[h[0]-v,h[1]+v];if(o){var p=o.toGlobalCoord(o.dataToCoord(0));d[c.onZero]=Math.max(Math.min(p,d[1]),d[0])}a.position=[u==="y"?d[c[l]]:h[0],u==="x"?d[c[l]]:h[3]],a.rotation=Math.PI/2*(u==="x"?0:1);var g={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=g[s],a.labelOffset=o?d[c[s]]-d[c.onZero]:0,t.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),_a(e.labelInside,t.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var y=t.get(["axisLabel","rotate"]);return a.labelRotate=l==="top"?-y:y,a.z2=1,a}function Np(r){return r.get("coordinateSystem")==="cartesian2d"}function Fp(r){var t={xAxisModel:null,yAxisModel:null};return M(t,function(e,n){var i=n.replace(/Model$/,""),a=r.getReferringComponents(i,Yt).models[0];t[n]=a}),t}var Iu=Math.log;function S2(r,t,e){var n=xi.prototype,i=n.getTicks.call(e),a=n.getTicks.call(e,!0),o=i.length-1,s=n.getInterval.call(e),l=n_(r,t),u=l.extent,f=l.fixMin,h=l.fixMax;if(r.type==="log"){var c=Iu(r.base);u=[Iu(u[0])/c,Iu(u[1])/c]}r.setExtent(u[0],u[1]),r.calcNiceExtent({splitNumber:o,fixMin:f,fixMax:h});var v=n.getExtent.call(r);f&&(u[0]=v[0]),h&&(u[1]=v[1]);var d=n.getInterval.call(r),p=u[0],g=u[1];if(f&&h)d=(g-p)/o;else if(f)for(g=u[0]+d*o;gu[0]&&isFinite(p)&&isFinite(u[0]);)d=xu(d),p=u[1]-d*o;else{var y=r.getTicks().length-1;y>o&&(d=xu(d));var m=d*o;g=Math.ceil(u[1]/d)*d,p=Mt(g-m),p<0&&u[0]>=0?(p=0,g=Mt(m)):g>0&&u[1]<=0&&(g=0,p=-Mt(m))}var _=(i[0].value-a[0].value)/s,S=(i[o].value-a[o].value)/s;n.setExtent.call(r,p+d*_,g+d*S),n.setInterval.call(r,d),(_||S)&&n.setNiceExtent.call(r,p+d,g-d)}var x2=function(){function r(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=Yf,this._initCartesian(t,e,n),this.model=t}return r.prototype.getRect=function(){return this._rect},r.prototype.update=function(t,e){var n=this._axesMap;this._updateScale(t,this.model);function i(o){var s,l=mt(o),u=l.length;if(u){for(var f=[],h=u-1;h>=0;h--){var c=+l[h],v=o[c],d=v.model,p=v.scale;Vf(p)&&d.get("alignTicks")&&d.get("interval")==null?f.push(v):(up(p,d),Vf(p)&&(s=v))}f.length&&(s||(s=f.pop(),up(s.scale,s.model)),M(f,function(g){S2(g.scale,g.model,s.scale)}))}}i(n.x),i(n.y);var a={};M(n.x,function(o){zp(n,"y",o,a)}),M(n.y,function(o){zp(n,"x",o,a)}),this.resize(this.model,e)},r.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),a=!n&&t.get("containLabel"),o=fr(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var s=this._axesList;l(),a&&(M(s,function(u){if(!u.model.get(["axisLabel","inside"])){var f=WD(u);if(f){var h=u.isHorizontal()?"height":"width",c=u.model.get(["axisLabel","margin"]);o[h]-=f[h]+c,u.position==="top"?o.y+=f.height+c:u.position==="left"&&(o.x+=f.width+c)}}}),l()),M(this._coordsList,function(u){u.calcAffineTransform()});function l(){M(s,function(u){var f=u.isHorizontal(),h=f?[0,o.width]:[0,o.height],c=u.inverse?1:0;u.setExtent(h[c],h[1-c]),w2(u,f?o.x:o.y)})}},r.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(n!=null)return n[e||0]},r.prototype.getAxes=function(){return this._axesList.slice()},r.prototype.getCartesian=function(t,e){if(t!=null&&e!=null){var n="x"+t+"y"+e;return this._coordsMap[n]}Z(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,a=this._coordsList;i0?"top":"bottom",a="center"):ss(i-Mr)?(o=n>0?"bottom":"top",a="center"):(o="middle",i>0&&i0?"right":"left":a=n>0?"left":"right"),{rotation:i,textAlign:a,textVerticalAlign:o}},r.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},r.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},r}(),Vp={axisLine:function(r,t,e,n){var i=t.get(["axisLine","show"]);if(i==="auto"&&r.handleAutoShown&&(i=r.handleAutoShown("axisLine")),!!i){var a=t.axis.getExtent(),o=n.transform,s=[a[0],0],l=[a[1],0],u=s[0]>l[0];o&&(pe(s,s,o),pe(l,l,o));var f=B({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),h=new Or({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:f,strokeContainThreshold:r.strokeContainThreshold||5,silent:!0,z2:1});Ta(h.shape,h.style.lineWidth),h.anid="line",e.add(h);var c=t.get(["axisLine","symbol"]);if(c!=null){var v=t.get(["axisLine","symbolSize"]);W(c)&&(c=[c,c]),(W(v)||pt(v))&&(v=[v,v]);var d=g0(t.get(["axisLine","symbolOffset"])||0,v),p=v[0],g=v[1];M([{rotate:r.rotation+Math.PI/2,offset:d[0],r:0},{rotate:r.rotation-Math.PI/2,offset:d[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],function(y,m){if(c[m]!=="none"&&c[m]!=null){var _=Br(c[m],-p/2,-g/2,p,g,f.stroke,!0),S=y.r+y.offset,w=u?l:s;_.attr({rotation:y.rotate,x:w[0]+S*Math.cos(r.rotation),y:w[1]-S*Math.sin(r.rotation),silent:!0,z2:11}),e.add(_)}})}}},axisTickLabel:function(r,t,e,n){var i=C2(e,n,t,r),a=D2(e,n,t,r);if(T2(t,a,i),M2(e,n,t,r.tickDirection),t.get(["axisLabel","hideOverlap"])){var o=y_(V(a,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}}));S_(o)}},axisName:function(r,t,e,n){var i=_a(r.axisName,t.get("name"));if(i){var a=t.get("nameLocation"),o=r.nameDirection,s=t.getModel("nameTextStyle"),l=t.get("nameGap")||0,u=t.axis.getExtent(),f=u[0]>u[1]?-1:1,h=[a==="start"?u[0]-f*l:a==="end"?u[1]+f*l:(u[0]+u[1])/2,Wp(a)?r.labelOffset+o*l:0],c,v=t.get("nameRotate");v!=null&&(v=v*Mr/180);var d;Wp(a)?c=Pr.innerTextLayout(r.rotation,v??r.rotation,o):(c=b2(r.rotation,a,v||0,u),d=r.axisNameAvailableWidth,d!=null&&(d=Math.abs(d/Math.sin(c.rotation)),!isFinite(d)&&(d=null)));var p=s.getFont(),g=t.get("nameTruncate",!0)||{},y=g.ellipsis,m=_a(r.nameTruncateMaxWidth,g.maxWidth,d),_=new At({x:h[0],y:h[1],rotation:c.rotation,silent:Pr.isLabelSilent(t),style:ur(s,{text:i,font:p,overflow:"truncate",width:m,ellipsis:y,fill:s.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:s.get("align")||c.textAlign,verticalAlign:s.get("verticalAlign")||c.textVerticalAlign}),z2:1});if(Ha({el:_,componentModel:t,itemName:i}),_.__fullText=i,_.anid="name",t.get("triggerEvent")){var S=Pr.makeAxisEventDataBase(t);S.targetType="axisName",S.name=i,ot(_).eventData=S}n.add(_),_.updateTransform(),e.add(_),_.decomposeTransform()}}};function b2(r,t,e,n){var i=Ay(e-r),a,o,s=n[0]>n[1],l=t==="start"&&!s||t!=="start"&&s;return ss(i-Mr/2)?(o=l?"bottom":"top",a="center"):ss(i-Mr*1.5)?(o=l?"top":"bottom",a="center"):(o="middle",iMr/2?a=l?"left":"right":a=l?"right":"left"),{rotation:i,textAlign:a,textVerticalAlign:o}}function T2(r,t,e){if(!i_(r.axis)){var n=r.get(["axisLabel","showMinLabel"]),i=r.get(["axisLabel","showMaxLabel"]);t=t||[],e=e||[];var a=t[0],o=t[1],s=t[t.length-1],l=t[t.length-2],u=e[0],f=e[1],h=e[e.length-1],c=e[e.length-2];n===!1?(le(a),le(u)):Hp(a,o)&&(n?(le(o),le(f)):(le(a),le(u))),i===!1?(le(s),le(h)):Hp(l,s)&&(i?(le(l),le(c)):(le(s),le(h)))}}function le(r){r&&(r.ignore=!0)}function Hp(r,t){var e=r&&r.getBoundingRect().clone(),n=t&&t.getBoundingRect().clone();if(!(!e||!n)){var i=yh([]);return mh(i,i,-r.rotation),e.applyTransform(jn([],i,r.getLocalTransform())),n.applyTransform(jn([],i,t.getLocalTransform())),e.intersect(n)}}function Wp(r){return r==="middle"||r==="center"}function B_(r,t,e,n,i){for(var a=[],o=[],s=[],l=0;l=0||r===t}function E2(r){var t=cv(r);if(t){var e=t.axisPointerModel,n=t.axis.scale,i=e.option,a=e.get("status"),o=e.get("value");o!=null&&(o=n.parse(o));var s=Xf(e);a==null&&(i.status=s?"show":"hide");var l=n.getExtent().slice();l[0]>l[1]&&l.reverse(),(o==null||o>l[1])&&(o=l[1]),o3?1.4:o>1?1.2:1.1,f=a>0?u:1/u;Eu(this,"zoom","zoomOnMouseWheel",e,{scale:f,originX:s,originY:l,isAvailableBehavior:null})}if(i){var h=Math.abs(a),c=(a>0?1:-1)*(h>3?.4:h>1?.15:.05);Eu(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:c,originX:s,originY:l,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(e){if(!Xp(this._zr,"globalPan")){var n=e.pinchScale>1?1.1:1/1.1;Eu(this,"zoom",null,e,{scale:n,originX:e.pinchX,originY:e.pinchY,isAvailableBehavior:null})}},t}(me);function Eu(r,t,e,n,i){r.pointerChecker&&r.pointerChecker(n,i.originX,i.originY)&&(si(n.event),G_(r,t,e,n,i))}function G_(r,t,e,n,i){i.isAvailableBehavior=$(Qo,null,e,n),r.trigger(t,i)}function Qo(r,t,e){var n=e[r];return!r||n&&(!W(n)||t.event[n+"Key"])}var Z2={axisPointer:1,tooltip:1,brush:1};function X2(r,t,e){var n=t.getComponentByElement(r.topTarget),i=n&&n.coordinateSystem;return n&&n!==e&&!Z2.hasOwnProperty(n.mainType)&&i&&i.model!==e}function Xa(r,t,e,n,i,a){r=r||0;var o=e[1]-e[0];if(i!=null&&(i=zn(i,[0,o])),a!=null&&(a=Math.max(a,i??0)),n==="all"){var s=Math.abs(t[1]-t[0]);s=zn(s,[0,o]),i=a=zn(s,[i,a]),n=0}t[0]=zn(t[0],e),t[1]=zn(t[1],e);var l=ku(t,n);t[n]+=r;var u=i||0,f=e.slice();l.sign<0?f[0]+=u:f[1]-=u,t[n]=zn(t[n],f);var h;return h=ku(t,n),i!=null&&(h.sign!==l.sign||h.spana&&(t[1-n]=t[n]+h.sign*a),t}function ku(r,t){var e=r[t]-r[1-t];return{span:Math.abs(e),sign:e>0?-1:e<0?1:t?-1:1}}function zn(r,t){return Math.min(t[1]!=null?t[1]:1/0,Math.max(t[0]!=null?t[0]:-1/0,r))}var Sn=!0,Oa=Math.min,ci=Math.max,$2=Math.pow,q2=1e4,K2=6,Q2=6,$p="globalPan",J2={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},j2={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},qp={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},tL=0,eL=function(r){N(t,r);function t(e){var n=r.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=e,n.group=new bt,n._uid="brushController_"+tL++,M(lL,function(i,a){this._handlers[a]=$(i,this)},n),n}return t.prototype.enableBrush=function(e){return this._brushType&&this._doDisableBrush(),e.brushType&&this._doEnableBrush(e),this},t.prototype._doEnableBrush=function(e){var n=this._zr;this._enableGlobalPan||W2(n,$p,this._uid),M(this._handlers,function(i,a){n.on(a,i)}),this._brushType=e.brushType,this._brushOption=rt(J(qp),e,!0)},t.prototype._doDisableBrush=function(){var e=this._zr;U2(e,$p,this._uid),M(this._handlers,function(n,i){e.off(i,n)}),this._brushType=this._brushOption=null},t.prototype.setPanels=function(e){if(e&&e.length){var n=this._panels={};M(e,function(i){n[i.panelId]=J(i)})}else this._panels=null;return this},t.prototype.mount=function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var n=this.group;return this._zr.add(n),n.attr({x:e.x||0,y:e.y||0,rotation:e.rotation||0,scaleX:e.scaleX||1,scaleY:e.scaleY||1}),this._transform=n.getLocalTransform(),this},t.prototype.updateCovers=function(e){e=V(e,function(c){return rt(J(qp),c,!0)});var n="\0-brush-index-",i=this._covers,a=this._covers=[],o=this,s=this._creatingCover;return new Ra(i,e,u,l).add(f).update(f).remove(h).execute(),this;function l(c,v){return(c.id!=null?c.id:n+v)+"-"+c.brushType}function u(c,v){return l(c.__brushOption,v)}function f(c,v){var d=e[c];if(v!=null&&i[v]===s)a[c]=i[v];else{var p=a[c]=v!=null?(i[v].__brushOption=d,i[v]):H_(o,V_(o,d));pv(o,p)}}function h(c){i[c]!==s&&o.group.remove(i[c])}},t.prototype.unmount=function(){return this.enableBrush(!1),qf(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t}(me);function V_(r,t){var e=dl[t.brushType].createCover(r,t);return e.__brushOption=t,U_(e,t),r.group.add(e),e}function H_(r,t){var e=gv(t);return e.endCreating&&(e.endCreating(r,t),U_(t,t.__brushOption)),t}function W_(r,t){var e=t.__brushOption;gv(t).updateCoverShape(r,t,e.range,e)}function U_(r,t){var e=t.z;e==null&&(e=q2),r.traverse(function(n){n.z=e,n.z2=e})}function pv(r,t){gv(t).updateCommon(r,t),W_(r,t)}function gv(r){return dl[r.__brushOption.brushType]}function yv(r,t,e){var n=r._panels;if(!n)return Sn;var i,a=r._transform;return M(n,function(o){o.isTargetByCursor(t,e,a)&&(i=o)}),i}function Y_(r,t){var e=r._panels;if(!e)return Sn;var n=t.__brushOption.panelId;return n!=null?e[n]:Sn}function qf(r){var t=r._covers,e=t.length;return M(t,function(n){r.group.remove(n)},r),t.length=0,!!e}function xn(r,t){var e=V(r._covers,function(n){var i=n.__brushOption,a=J(i.range);return{brushType:i.brushType,panelId:i.panelId,range:a}});r.trigger("brush",{areas:e,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function rL(r){var t=r._track;if(!t.length)return!1;var e=t[t.length-1],n=t[0],i=e[0]-n[0],a=e[1]-n[1],o=$2(i*i+a*a,.5);return o>K2}function Z_(r){var t=r.length-1;return t<0&&(t=0),[r[0],r[t]]}function X_(r,t,e,n){var i=new bt;return i.add(new gt({name:"main",style:mv(e),silent:!0,draggable:!0,cursor:"move",drift:st(Kp,r,t,i,["n","s","w","e"]),ondragend:st(xn,t,{isEnd:!0})})),M(n,function(a){i.add(new gt({name:a.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:st(Kp,r,t,i,a),ondragend:st(xn,t,{isEnd:!0})}))}),i}function $_(r,t,e,n){var i=n.brushStyle.lineWidth||0,a=ci(i,Q2),o=e[0][0],s=e[1][0],l=o-i/2,u=s-i/2,f=e[0][1],h=e[1][1],c=f-a+i/2,v=h-a+i/2,d=f-o,p=h-s,g=d+i,y=p+i;je(r,t,"main",o,s,d,p),n.transformable&&(je(r,t,"w",l,u,a,y),je(r,t,"e",c,u,a,y),je(r,t,"n",l,u,g,a),je(r,t,"s",l,v,g,a),je(r,t,"nw",l,u,a,a),je(r,t,"ne",c,u,a,a),je(r,t,"sw",l,v,a,a),je(r,t,"se",c,v,a,a))}function Kf(r,t){var e=t.__brushOption,n=e.transformable,i=t.childAt(0);i.useStyle(mv(e)),i.attr({silent:!n,cursor:n?"move":"default"}),M([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(a){var o=t.childOfName(a.join("")),s=a.length===1?Qf(r,a[0]):iL(r,a);o&&o.attr({silent:!n,invisible:!n,cursor:n?j2[s]+"-resize":null})})}function je(r,t,e,n,i,a,o){var s=t.childOfName(e);s&&s.setShape(oL(_v(r,t,[[n,i],[n+a,i+o]])))}function mv(r){return j({strokeNoScale:!0},r.brushStyle)}function q_(r,t,e,n){var i=[Oa(r,e),Oa(t,n)],a=[ci(r,e),ci(t,n)];return[[i[0],a[0]],[i[1],a[1]]]}function nL(r){return Ks(r.group)}function Qf(r,t){var e={w:"left",e:"right",n:"top",s:"bottom"},n={left:"w",right:"e",top:"n",bottom:"s"},i=Bh(e[t],nL(r));return n[i]}function iL(r,t){var e=[Qf(r,t[0]),Qf(r,t[1])];return(e[0]==="e"||e[0]==="w")&&e.reverse(),e.join("")}function Kp(r,t,e,n,i,a){var o=e.__brushOption,s=r.toRectRange(o.range),l=K_(t,i,a);M(n,function(u){var f=J2[u];s[f[0]][f[1]]+=l[f[0]]}),o.range=r.fromRectRange(q_(s[0][0],s[1][0],s[0][1],s[1][1])),pv(t,e),xn(t,{isEnd:!1})}function aL(r,t,e,n){var i=t.__brushOption.range,a=K_(r,e,n);M(i,function(o){o[0]+=a[0],o[1]+=a[1]}),pv(r,t),xn(r,{isEnd:!1})}function K_(r,t,e){var n=r.group,i=n.transformCoordToLocal(t,e),a=n.transformCoordToLocal(0,0);return[i[0]-a[0],i[1]-a[1]]}function _v(r,t,e){var n=Y_(r,t);return n&&n!==Sn?n.clipPath(e,r._transform):J(e)}function oL(r){var t=Oa(r[0][0],r[1][0]),e=Oa(r[0][1],r[1][1]),n=ci(r[0][0],r[1][0]),i=ci(r[0][1],r[1][1]);return{x:t,y:e,width:n-t,height:i-e}}function sL(r,t,e){if(!(!r._brushType||uL(r,t.offsetX,t.offsetY))){var n=r._zr,i=r._covers,a=yv(r,t,e);if(!r._dragging)for(var o=0;on.getWidth()||e<0||e>n.getHeight()}var dl={lineX:jp(0),lineY:jp(1),rect:{createCover:function(r,t){function e(n){return n}return X_({toRectRange:e,fromRectRange:e},r,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(r){var t=Z_(r);return q_(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(r,t,e,n){$_(r,t,e,n)},updateCommon:Kf,contain:jf},polygon:{createCover:function(r,t){var e=new bt;return e.add(new wn({name:"main",style:mv(t),silent:!0})),e},getCreatingRange:function(r){return r},endCreating:function(r,t){t.remove(t.childAt(0)),t.add(new mi({name:"main",draggable:!0,drift:st(aL,r,t),ondragend:st(xn,r,{isEnd:!0})}))},updateCoverShape:function(r,t,e,n){t.childAt(0).setShape({points:_v(r,t,e)})},updateCommon:Kf,contain:jf}};function jp(r){return{createCover:function(t,e){return X_({toRectRange:function(n){var i=[n,[0,100]];return r&&i.reverse(),i},fromRectRange:function(n){return n[r]}},t,e,[[["w"],["e"]],[["n"],["s"]]][r])},getCreatingRange:function(t){var e=Z_(t),n=Oa(e[0][r],e[1][r]),i=ci(e[0][r],e[1][r]);return[n,i]},updateCoverShape:function(t,e,n,i){var a,o=Y_(t,e);if(o!==Sn&&o.getLinearBrushOtherExtent)a=o.getLinearBrushOtherExtent(r);else{var s=t._zr;a=[0,[s.getWidth(),s.getHeight()][1-r]]}var l=[n,a];r&&l.reverse(),$_(t,e,l,i)},updateCommon:Kf,contain:jf}}function fL(r){return r=Sv(r),function(t){return mm(t,r)}}function hL(r,t){return r=Sv(r),function(e){var n=t??e,i=n?r.width:r.height,a=n?r.x:r.y;return[a,a+(i||0)]}}function vL(r,t,e){var n=Sv(r);return function(i,a){return n.contain(a[0],a[1])&&!X2(i,t,e)}}function Sv(r){return lt.create(r)}var un=yt(),tg=J,Ou=$,cL=function(){function r(){this._dragging=!1,this.animationThreshold=15}return r.prototype.render=function(t,e,n,i){var a=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,!(!i&&this._lastValue===a&&this._lastStatus===o)){this._lastValue=a,this._lastStatus=o;var s=this._group,l=this._handle;if(!o||o==="hide"){s&&s.hide(),l&&l.hide();return}s&&s.show(),l&&l.show();var u={};this.makeElOption(u,a,t,e,n);var f=u.graphicKey;f!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=f;var h=this._moveAnimation=this.determineAnimation(t,e);if(!s)s=this._group=new bt,this.createPointerEl(s,u,t,e),this.createLabelEl(s,u,t,e),n.getZr().add(s);else{var c=st(eg,e,h);this.updatePointerEl(s,u,c),this.updateLabelEl(s,u,c,e)}ng(s,e,!0),this._renderHandle(a)}},r.prototype.remove=function(t){this.clear(t)},r.prototype.dispose=function(t){this.clear(t)},r.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,a=i.type==="category",o=e.get("snap");if(!o&&!a)return!1;if(n==="auto"||n==null){var s=this.animationThreshold;if(a&&i.getBandWidth()>s)return!0;if(o){var l=cv(t).seriesDataCount,u=i.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return n===!0},r.prototype.makeElOption=function(t,e,n,i,a){},r.prototype.createPointerEl=function(t,e,n,i){var a=e.pointer;if(a){var o=un(t).pointerEl=new Ib[a.type](tg(e.pointer));t.add(o)}},r.prototype.createLabelEl=function(t,e,n,i){if(e.label){var a=un(t).labelEl=new At(tg(e.label));t.add(a),rg(a,i)}},r.prototype.updatePointerEl=function(t,e,n){var i=un(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},r.prototype.updateLabelEl=function(t,e,n,i){var a=un(t).labelEl;a&&(a.setStyle(e.label.style),n(a,{x:e.label.x,y:e.label.y}),rg(a,i))},r.prototype._renderHandle=function(t){if(!(this._dragging||!this.updateHandleTransform)){var e=this._axisPointerModel,n=this._api.getZr(),i=this._handle,a=e.getModel("handle"),o=e.get("status");if(!a.get("show")||!o||o==="hide"){i&&n.remove(i),this._handle=null;return}var s;this._handle||(s=!0,i=this._handle=Qs(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(u){si(u.event)},onmousedown:Ou(this._onHandleDragMove,this,0,0),drift:Ou(this._onHandleDragMove,this),ondragend:Ou(this._onHandleDragEnd,this)}),n.add(i)),ng(i,e,!1),i.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=a.get("size");G(l)||(l=[l,l]),i.scaleX=l[0]/2,i.scaleY=l[1]/2,ul(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,s)}},r.prototype._moveHandleToValue=function(t,e){eg(this._axisPointerModel,!e&&this._moveAnimation,this._handle,Bu(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},r.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(Bu(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(Bu(i)),un(n).lastProp=null,this._doDispatchAxisPointer()}},r.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var e=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},r.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},r.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),Ss(this,"_doDispatchAxisPointer")},r.prototype.doClear=function(){},r.prototype.buildLabel=function(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}},r}();function eg(r,t,e,n){J_(un(e).lastProp,n)||(un(e).lastProp=n,t?Pt(e,n,r):(e.stopAnimation(),e.attr(n)))}function J_(r,t){if(Z(r)&&Z(t)){var e=!0;return M(t,function(n,i){e=e&&J_(r[i],n)}),!!e}else return r===t}function rg(r,t){r[t.get(["label","show"])?"show":"hide"]()}function Bu(r){return{x:r.x||0,y:r.y||0,rotation:r.rotation||0}}function ng(r,t,e){var n=t.get("z"),i=t.get("zlevel");r&&r.traverse(function(a){a.type!=="group"&&(n!=null&&(a.z=n),i!=null&&(a.zlevel=i),a.silent=e)})}function dL(r){var t=r.get("type"),e=r.getModel(t+"Style"),n;return t==="line"?(n=e.getLineStyle(),n.fill=null):t==="shadow"&&(n=e.getAreaStyle(),n.stroke=null),n}function pL(r,t,e,n,i){var a=e.get("value"),o=j_(a,t.axis,t.ecModel,e.get("seriesDataIndices"),{precision:e.get(["label","precision"]),formatter:e.get(["label","formatter"])}),s=e.getModel("label"),l=ol(s.get("padding")||0),u=s.getFont(),f=zs(o,u),h=i.position,c=f.width+l[1]+l[3],v=f.height+l[0]+l[2],d=i.align;d==="right"&&(h[0]-=c),d==="center"&&(h[0]-=c/2);var p=i.verticalAlign;p==="bottom"&&(h[1]-=v),p==="middle"&&(h[1]-=v/2),gL(h,c,v,n);var g=s.get("backgroundColor");(!g||g==="auto")&&(g=t.get(["axisLine","lineStyle","color"])),r.label={x:h[0],y:h[1],style:ur(s,{text:o,font:u,fill:s.getTextColor(),padding:l,backgroundColor:g}),z2:10}}function gL(r,t,e,n){var i=n.getWidth(),a=n.getHeight();r[0]=Math.min(r[0]+t,i)-t,r[1]=Math.min(r[1]+e,a)-e,r[0]=Math.max(r[0],0),r[1]=Math.max(r[1],0)}function j_(r,t,e,n,i){r=t.scale.parse(r);var a=t.scale.getLabel({value:r},{precision:i.precision}),o=i.formatter;if(o){var s={value:sv(t,{value:r}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};M(n,function(l){var u=e.getSeriesByIndex(l.seriesIndex),f=l.dataIndexInside,h=u&&u.getDataParams(f);h&&s.seriesData.push(h)}),W(o)?a=o.replace("{value}",a):K(o)&&(a=o(s))}return a}function t1(r,t,e){var n=Jn();return mh(n,n,e.rotation),nf(n,n,e.position),Ca([r.dataToCoord(t),(e.labelOffset||0)+(e.labelDirection||1)*(e.labelMargin||0)],n)}function yL(r,t,e,n,i,a){var o=Pr.innerTextLayout(e.rotation,0,e.labelDirection);e.labelMargin=i.get(["label","margin"]),pL(t,n,i,a,{position:t1(n.axis,r,e),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function mL(r,t,e){return e=e||0,{x1:r[e],y1:r[1-e],x2:t[e],y2:t[1-e]}}function _L(r,t,e){return e=e||0,{x:r[e],y:r[1-e],width:t[e],height:t[1-e]}}var SL=function(r){N(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.makeElOption=function(e,n,i,a,o){var s=i.axis,l=s.grid,u=a.get("type"),f=ig(l,s).getOtherAxis(s).getGlobalExtent(),h=s.toGlobalCoord(s.dataToCoord(n,!0));if(u&&u!=="none"){var c=dL(a),v=xL[u](s,h,f);v.style=c,e.graphicKey=v.type,e.pointer=v}var d=Zf(l.model,i);yL(n,e,d,i,a,o)},t.prototype.getHandleTransform=function(e,n,i){var a=Zf(n.axis.grid.model,n,{labelInside:!1});a.labelMargin=i.get(["handle","margin"]);var o=t1(n.axis,e,a);return{x:o[0],y:o[1],rotation:a.rotation+(a.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,n,i,a){var o=i.axis,s=o.grid,l=o.getGlobalExtent(!0),u=ig(s,o).getOtherAxis(o).getGlobalExtent(),f=o.dim==="x"?0:1,h=[e.x,e.y];h[f]+=n[f],h[f]=Math.min(l[1],h[f]),h[f]=Math.max(l[0],h[f]);var c=(u[1]+u[0])/2,v=[c,c];v[f]=h[f];var d=[{verticalAlign:"middle"},{align:"center"}];return{x:h[0],y:h[1],rotation:e.rotation,cursorPoint:v,tooltipOption:d[f]}},t}(cL);function ig(r,t){var e={};return e[t.dim+"AxisIndex"]=t.index,r.getCartesian(e)}var xL={line:function(r,t,e){var n=mL([t,e[0]],[t,e[1]],ag(r));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(r,t,e){var n=Math.max(1,r.getBandWidth()),i=e[1]-e[0];return{type:"Rect",shape:_L([t-n/2,e[0]],[n,i],ag(r))}}};function ag(r){return r.dim==="x"?0:1}var wL=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},t}(ft),ir=yt(),bL=M;function e1(r,t,e){if(!Q.node){var n=t.getZr();ir(n).records||(ir(n).records={}),TL(n,t);var i=ir(n).records[r]||(ir(n).records[r]={});i.handler=e}}function TL(r,t){if(ir(r).initialized)return;ir(r).initialized=!0,e("click",st(og,"click")),e("mousemove",st(og,"mousemove")),e("globalout",ML);function e(n,i){r.on(n,function(a){var o=DL(t);bL(ir(r).records,function(s){s&&i(s,a,o.dispatchAction)}),CL(o.pendings,t)})}}function CL(r,t){var e=r.showTip.length,n=r.hideTip.length,i;e?i=r.showTip[e-1]:n&&(i=r.hideTip[n-1]),i&&(i.dispatchAction=null,t.dispatchAction(i))}function ML(r,t,e){r.handler("leave",null,e)}function og(r,t,e,n){t.handler(r,e,n)}function DL(r){var t={showTip:[],hideTip:[]},e=function(n){var i=t[n.type];i?i.push(n):(n.dispatchAction=e,r.dispatchAction(n))};return{dispatchAction:e,pendings:t}}function th(r,t){if(!Q.node){var e=t.getZr(),n=(ir(e).records||{})[r];n&&(ir(e).records[r]=null)}}var AL=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i){var a=n.getComponent("tooltip"),o=e.get("triggerOn")||a&&a.get("triggerOn")||"mousemove|click";e1("axisPointer",i,function(s,l,u){o!=="none"&&(s==="leave"||o.indexOf(s)>=0)&&u({type:"updateAxisPointer",currTrigger:s,x:l&&l.offsetX,y:l&&l.offsetY})})},t.prototype.remove=function(e,n){th("axisPointer",n)},t.prototype.dispose=function(e,n){th("axisPointer",n)},t.type="axisPointer",t}(oe);function r1(r,t){var e=[],n=r.seriesIndex,i;if(n==null||!(i=t.getSeriesByIndex(n)))return{point:[]};var a=i.getData(),o=mn(a,r);if(o==null||o<0||G(o))return{point:[]};var s=a.getItemGraphicEl(o),l=i.coordinateSystem;if(i.getTooltipPosition)e=i.getTooltipPosition(o)||[];else if(l&&l.dataToPoint)if(r.isStacked){var u=l.getBaseAxis(),f=l.getOtherAxis(u),h=f.dim,c=u.dim,v=h==="x"||h==="radius"?1:0,d=a.mapDimension(c),p=[];p[v]=a.get(d,o),p[1-v]=a.get(a.getCalculationInfo("stackResultDimension"),o),e=l.dataToPoint(p)||[]}else e=l.dataToPoint(a.getValues(V(l.dimensions,function(y){return a.mapDimension(y)}),o))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),e=[g.x+g.width/2,g.y+g.height/2]}return{point:e,el:s}}var sg=yt();function LL(r,t,e){var n=r.currTrigger,i=[r.x,r.y],a=r,o=r.dispatchAction||$(e.dispatchAction,e),s=t.getComponent("axisPointer").coordSysAxesInfo;if(s){Jo(i)&&(i=r1({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},t).point);var l=Jo(i),u=a.axesInfo,f=s.axesInfo,h=n==="leave"||Jo(i),c={},v={},d={list:[],map:{}},p={showPointer:st(PL,v),showTooltip:st(RL,d)};M(s.coordSysMap,function(y,m){var _=l||y.containPoint(i);M(s.coordSysAxesInfo[m],function(S,w){var x=S.axis,b=BL(u,S);if(!h&&_&&(!u||b)){var C=b&&b.value;C==null&&!l&&(C=x.pointToData(i)),C!=null&&lg(S,C,p,!1,c)}})});var g={};return M(f,function(y,m){var _=y.linkGroup;_&&!v[m]&&M(_.axesInfo,function(S,w){var x=v[w];if(S!==y&&x){var b=x.value;_.mapper&&(b=y.axis.scale.parse(_.mapper(b,ug(S),ug(y)))),g[y.key]=b}})}),M(g,function(y,m){lg(f[m],y,p,!0,c)}),EL(v,f,c),kL(d,i,r,o),OL(f,o,e),c}}function lg(r,t,e,n,i){var a=r.axis;if(!(a.scale.isBlank()||!a.containData(t))){if(!r.involveSeries){e.showPointer(r,t);return}var o=IL(t,r),s=o.payloadBatch,l=o.snapToValue;s[0]&&i.seriesIndex==null&&B(i,s[0]),!n&&r.snap&&a.containData(l)&&l!=null&&(t=l),e.showPointer(r,t,s),e.showTooltip(r,o,l)}}function IL(r,t){var e=t.axis,n=e.dim,i=r,a=[],o=Number.MAX_VALUE,s=-1;return M(t.seriesModels,function(l,u){var f=l.getData().mapDimensionsAll(n),h,c;if(l.getAxisTooltipData){var v=l.getAxisTooltipData(f,r,e);c=v.dataIndices,h=v.nestestValue}else{if(c=l.getData().indicesOfNearest(f[0],r,e.type==="category"?.5:null),!c.length)return;h=l.getData().get(f[0],c[0])}if(!(h==null||!isFinite(h))){var d=r-h,p=Math.abs(d);p<=o&&((p=0&&s<0)&&(o=p,s=d,i=h,a.length=0),M(c,function(g){a.push({seriesIndex:l.seriesIndex,dataIndexInside:g,dataIndex:l.getData().getRawIndex(g)})}))}}),{payloadBatch:a,snapToValue:i}}function PL(r,t,e,n){r[t.key]={value:e,payloadBatch:n}}function RL(r,t,e,n){var i=e.payloadBatch,a=t.axis,o=a.model,s=t.axisPointerModel;if(!(!t.triggerTooltip||!i.length)){var l=t.coordSys.model,u=ka(l),f=r.map[u];f||(f=r.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},r.list.push(f)),f.dataByAxis.push({axisDim:a.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:n,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function EL(r,t,e){var n=e.axesInfo=[];M(t,function(i,a){var o=i.axisPointerModel.option,s=r[a];s?(!i.useHandle&&(o.status="show"),o.value=s.value,o.seriesDataIndices=(s.payloadBatch||[]).slice()):!i.useHandle&&(o.status="hide"),o.status==="show"&&n.push({axisDim:i.axis.dim,axisIndex:i.axis.model.componentIndex,value:o.value})})}function kL(r,t,e,n){if(Jo(t)||!r.list.length){n({type:"hideTip"});return}var i=((r.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:e.tooltipOption,position:e.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:r.list})}function OL(r,t,e){var n=e.getZr(),i="axisPointerLastHighlights",a=sg(n)[i]||{},o=sg(n)[i]={};M(r,function(u,f){var h=u.axisPointerModel.option;h.status==="show"&&u.triggerEmphasis&&M(h.seriesDataIndices,function(c){var v=c.seriesIndex+" | "+c.dataIndex;o[v]=c})});var s=[],l=[];M(a,function(u,f){!o[f]&&l.push(u)}),M(o,function(u,f){!a[f]&&s.push(u)}),l.length&&e.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&e.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function BL(r,t){for(var e=0;e<(r||[]).length;e++){var n=r[e];if(t.axis.dim===n.axisDim&&t.axis.model.componentIndex===n.axisIndex)return n}}function ug(r){var t=r.axis.model,e={},n=e.axisDim=r.axis.dim;return e.axisIndex=e[n+"AxisIndex"]=t.componentIndex,e.axisName=e[n+"AxisName"]=t.name,e.axisId=e[n+"AxisId"]=t.id,e}function Jo(r){return!r||r[0]==null||isNaN(r[0])||r[1]==null||isNaN(r[1])}function n1(r){N_.registerAxisPointerClass("CartesianAxisPointer",SL),r.registerComponentModel(wL),r.registerComponentView(AL),r.registerPreprocessor(function(t){if(t){(!t.axisPointer||t.axisPointer.length===0)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!G(e)&&(t.axisPointer.link=[e])}}),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=A2(t,e)}),r.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},LL)}function JP(r){Ye(H2),Ye(n1)}var fg=["x","y","radius","angle","single"],NL=["cartesian2d","polar","singleAxis"];function FL(r){var t=r.get("coordinateSystem");return it(NL,t)>=0}function Dr(r){return r+"Axis"}function zL(r,t){var e=X(),n=[],i=X();r.eachComponent({mainType:"dataZoom",query:t},function(f){i.get(f.uid)||s(f)});var a;do a=!1,r.eachComponent("dataZoom",o);while(a);function o(f){!i.get(f.uid)&&l(f)&&(s(f),a=!0)}function s(f){i.set(f.uid,!0),n.push(f),u(f)}function l(f){var h=!1;return f.eachTargetAxis(function(c,v){var d=e.get(c);d&&d[v]&&(h=!0)}),h}function u(f){f.eachTargetAxis(function(h,c){(e.get(h)||e.set(h,[]))[c]=!0})}return n}function i1(r){var t=r.ecModel,e={infoList:[],infoMap:X()};return r.eachTargetAxis(function(n,i){var a=t.getComponent(Dr(n),i);if(a){var o=a.getCoordSysModel();if(o){var s=o.uid,l=e.infoMap.get(s);l||(l={model:o,axisModels:[]},e.infoList.push(l),e.infoMap.set(s,l)),l.axisModels.push(a)}}}),e}var Nu=function(){function r(){this.indexList=[],this.indexMap=[]}return r.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},r}(),Ba=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._autoThrottle=!0,e._noTarget=!0,e._rangePropMode=["percent","percent"],e}return t.prototype.init=function(e,n,i){var a=hg(e);this.settledOption=a,this.mergeDefaultAndTheme(e,i),this._doInit(a)},t.prototype.mergeOption=function(e){var n=hg(e);rt(this.option,e,!0),rt(this.settledOption,n,!0),this._doInit(n)},t.prototype._doInit=function(e){var n=this.option;this._setDefaultThrottle(e),this._updateRangeUse(e);var i=this.settledOption;M([["start","startValue"],["end","endValue"]],function(a,o){this._rangePropMode[o]==="value"&&(n[a[0]]=i[a[0]]=null)},this),this._resetTarget()},t.prototype._resetTarget=function(){var e=this.get("orient",!0),n=this._targetAxisInfoMap=X(),i=this._fillSpecifiedTargetAxis(n);i?this._orient=e||this._makeAutoOrientByTargetAxis():(this._orient=e||"horizontal",this._fillAutoTargetAxisByOrient(n,this._orient)),this._noTarget=!0,n.each(function(a){a.indexList.length&&(this._noTarget=!1)},this)},t.prototype._fillSpecifiedTargetAxis=function(e){var n=!1;return M(fg,function(i){var a=this.getReferringComponents(Dr(i),Tx);if(a.specified){n=!0;var o=new Nu;M(a.models,function(s){o.add(s.componentIndex)}),e.set(i,o)}},this),n},t.prototype._fillAutoTargetAxisByOrient=function(e,n){var i=this.ecModel,a=!0;if(a){var o=n==="vertical"?"y":"x",s=i.findComponents({mainType:o+"Axis"});l(s,o)}if(a){var s=i.findComponents({mainType:"singleAxis",filter:function(f){return f.get("orient",!0)===n}});l(s,"single")}function l(u,f){var h=u[0];if(h){var c=new Nu;if(c.add(h.componentIndex),e.set(f,c),a=!1,f==="x"||f==="y"){var v=h.getReferringComponents("grid",Yt).models[0];v&&M(u,function(d){h.componentIndex!==d.componentIndex&&v===d.getReferringComponents("grid",Yt).models[0]&&c.add(d.componentIndex)})}}}a&&M(fg,function(u){if(a){var f=i.findComponents({mainType:Dr(u),filter:function(c){return c.get("type",!0)==="category"}});if(f[0]){var h=new Nu;h.add(f[0].componentIndex),e.set(u,h),a=!1}}},this)},t.prototype._makeAutoOrientByTargetAxis=function(){var e;return this.eachTargetAxis(function(n){!e&&(e=n)},this),e==="y"?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var n=this.ecModel.option;this.option.throttle=n.animation&&n.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(e){var n=this._rangePropMode,i=this.get("rangeMode");M([["start","startValue"],["end","endValue"]],function(a,o){var s=e[a[0]]!=null,l=e[a[1]]!=null;s&&!l?n[o]="percent":!s&&l?n[o]="value":i?n[o]=i[o]:s&&(n[o]="percent")})},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var e;return this.eachTargetAxis(function(n,i){e==null&&(e=this.ecModel.getComponent(Dr(n),i))},this),e},t.prototype.eachTargetAxis=function(e,n){this._targetAxisInfoMap.each(function(i,a){M(i.indexList,function(o){e.call(n,a,o)})})},t.prototype.getAxisProxy=function(e,n){var i=this.getAxisModel(e,n);if(i)return i.__dzAxisProxy},t.prototype.getAxisModel=function(e,n){var i=this._targetAxisInfoMap.get(e);if(i&&i.indexMap[n])return this.ecModel.getComponent(Dr(e),n)},t.prototype.setRawRange=function(e){var n=this.option,i=this.settledOption;M([["start","startValue"],["end","endValue"]],function(a){(e[a[0]]!=null||e[a[1]]!=null)&&(n[a[0]]=i[a[0]]=e[a[0]],n[a[1]]=i[a[1]]=e[a[1]])},this),this._updateRangeUse(e)},t.prototype.setCalculatedRange=function(e){var n=this.option;M(["start","startValue","end","endValue"],function(i){n[i]=e[i]})},t.prototype.getPercentRange=function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},t.prototype.getValueRange=function(e,n){if(e==null&&n==null){var i=this.findRepresentativeAxisProxy();if(i)return i.getDataValueWindow()}else return this.getAxisProxy(e,n).getDataValueWindow()},t.prototype.findRepresentativeAxisProxy=function(e){if(e)return e.__dzAxisProxy;for(var n,i=this._targetAxisInfoMap.keys(),a=0;ao[1];if(_&&!S&&!w)return!0;_&&(g=!0),S&&(d=!0),w&&(p=!0)}return g&&d&&p})}else Yn(f,function(v){if(a==="empty")l.setData(u=u.map(v,function(p){return s(p)?p:NaN}));else{var d={};d[v]=o,u.selectRange(d)}});Yn(f,function(v){u.setApproximateExtent(o,v)})}});function s(l){return l>=o[0]&&l<=o[1]}},r.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;Yn(["min","max"],function(i){var a=e.get(i+"Span"),o=e.get(i+"ValueSpan");o!=null&&(o=this.getAxisModel().axis.scale.parse(o)),o!=null?a=Et(n[0]+o,n,[0,100],!0):a!=null&&(o=Et(a,[0,100],n,!0)-n[0]),t[i+"Span"]=a,t[i+"ValueSpan"]=o},this)},r.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=Dy(n,[0,500]);i=Math.min(i,20);var a=t.axis.scale.rawExtentInfo;e[0]!==0&&a.setDeterminedMinMax("min",+n[0].toFixed(i)),e[1]!==100&&a.setDeterminedMinMax("max",+n[1].toFixed(i)),a.freeze()}},r}();function WL(r,t,e){var n=[1/0,-1/0];Yn(e,function(o){YD(n,o.getData(),t)});var i=r.getAxisModel(),a=r_(i.axis.scale,i,n).calculate();return[a.min,a.max]}var UL={getTargetSeries:function(r){function t(i){r.eachComponent("dataZoom",function(a){a.eachTargetAxis(function(o,s){var l=r.getComponent(Dr(o),s);i(o,s,l,a)})})}t(function(i,a,o,s){o.__dzAxisProxy=null});var e=[];t(function(i,a,o,s){o.__dzAxisProxy||(o.__dzAxisProxy=new HL(i,a,s,r),e.push(o.__dzAxisProxy))});var n=X();return M(e,function(i){M(i.getTargetSeriesModels(),function(a){n.set(a.uid,a)})}),n},overallReset:function(r,t){r.eachComponent("dataZoom",function(e){e.eachTargetAxis(function(n,i){e.getAxisProxy(n,i).reset(e)}),e.eachTargetAxis(function(n,i){e.getAxisProxy(n,i).filterData(e,t)})}),r.eachComponent("dataZoom",function(e){var n=e.findRepresentativeAxisProxy();if(n){var i=n.getDataPercentWindow(),a=n.getDataValueWindow();e.setCalculatedRange({start:i[0],end:i[1],startValue:a[0],endValue:a[1]})}})}};function YL(r){r.registerAction("dataZoom",function(t,e){var n=zL(e,t);M(n,function(i){i.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}var cg=!1;function wv(r){cg||(cg=!0,r.registerProcessor(r.PRIORITY.PROCESSOR.FILTER,UL),YL(r),r.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function ZL(r){r.registerComponentModel(GL),r.registerComponentView(VL),wv(r)}var Me=function(){function r(){}return r}(),a1={};function Ui(r,t){a1[r]=t}function o1(r){return a1[r]}var XL=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.optionUpdated=function(){r.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;M(this.option.feature,function(n,i){var a=o1(i);a&&(a.getDefaultOption&&(a.defaultOption=a.getDefaultOption(e)),rt(n,a.defaultOption))})},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},t}(ft);function $L(r,t,e){var n=t.getBoxLayoutParams(),i=t.get("padding"),a={width:e.getWidth(),height:e.getHeight()},o=fr(n,a,i);ai(t.get("orient"),r,t.get("itemGap"),o.width,o.height),eT(r,n,a,i)}function s1(r,t){var e=ol(t.get("padding")),n=t.getItemStyle(["color","opacity"]);return n.fill=t.get("backgroundColor"),r=new gt({shape:{x:r.x-e[3],y:r.y-e[0],width:r.width+e[1]+e[3],height:r.height+e[0]+e[2],r:t.get("borderRadius")},style:n,silent:!0,z2:-1}),r}var qL=function(r){N(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.render=function(e,n,i,a){var o=this.group;if(o.removeAll(),!e.get("show"))return;var s=+e.get("itemSize"),l=e.get("orient")==="vertical",u=e.get("feature")||{},f=this._features||(this._features={}),h=[];M(u,function(d,p){h.push(p)}),new Ra(this._featureNames||[],h).add(c).update(c).remove(st(c,null)).execute(),this._featureNames=h;function c(d,p){var g=h[d],y=h[p],m=u[g],_=new xt(m,e,e.ecModel),S;if(a&&a.newTitle!=null&&a.featureName===g&&(m.title=a.newTitle),g&&!y){if(KL(g))S={onclick:_.option.onclick,featureName:g};else{var w=o1(g);if(!w)return;S=new w}f[g]=S}else if(S=f[y],!S)return;S.uid=Ya("toolbox-feature"),S.model=_,S.ecModel=n,S.api=i;var x=S instanceof Me;if(!g&&y){x&&S.dispose&&S.dispose(n,i);return}if(!_.get("show")||x&&S.unusable){x&&S.remove&&S.remove(n,i);return}v(_,S,g),_.setIconStatus=function(b,C){var T=this.option,D=this.iconPaths;T.iconStatus=T.iconStatus||{},T.iconStatus[b]=C,D[b]&&(C==="emphasis"?li:ui)(D[b])},S instanceof Me&&S.render&&S.render(_,n,i,a)}function v(d,p,g){var y=d.getModel("iconStyle"),m=d.getModel(["emphasis","iconStyle"]),_=p instanceof Me&&p.getIcons?p.getIcons():d.get("icon"),S=d.get("title")||{},w,x;W(_)?(w={},w[g]=_):w=_,W(S)?(x={},x[g]=S):x=S;var b=d.iconPaths={};M(w,function(C,T){var D=Qs(C,{},{x:-s/2,y:-s/2,width:s,height:s});D.setStyle(y.getItemStyle());var A=D.ensureState("emphasis");A.style=m.getItemStyle();var L=new At({style:{text:x[T],align:m.get("textAlign"),borderRadius:m.get("textBorderRadius"),padding:m.get("textPadding"),fill:null,font:xm({fontStyle:m.get("textFontStyle"),fontFamily:m.get("textFontFamily"),fontSize:m.get("textFontSize"),fontWeight:m.get("textFontWeight")},n)},ignore:!0});D.setTextContent(L),Ha({el:D,componentModel:e,itemName:T,formatterParamsExtra:{title:x[T]}}),D.__title=x[T],D.on("mouseover",function(){var I=m.getItemStyle(),P=l?e.get("right")==null&&e.get("left")!=="right"?"right":"left":e.get("bottom")==null&&e.get("top")!=="bottom"?"bottom":"top";L.setStyle({fill:m.get("textFill")||I.fill||I.stroke||"#000",backgroundColor:m.get("textBackgroundColor")}),D.setTextConfig({position:m.get("textPosition")||P}),L.ignore=!e.get("showTitle"),i.enterEmphasis(this)}).on("mouseout",function(){d.get(["iconStatus",T])!=="emphasis"&&i.leaveEmphasis(this),L.hide()}),(d.get(["iconStatus",T])==="emphasis"?li:ui)(D),o.add(D),D.on("click",$(p.onclick,p,n,i,T)),b[T]=D})}$L(o,e,i),o.add(s1(o.getBoundingRect(),e)),l||o.eachChild(function(d){var p=d.__title,g=d.ensureState("emphasis"),y=g.textConfig||(g.textConfig={}),m=d.getTextContent(),_=m&&m.ensureState("emphasis");if(_&&!K(_)&&p){var S=_.style||(_.style={}),w=zs(p,At.makeFont(S)),x=d.x+o.x,b=d.y+o.y+s,C=!1;b+w.height>i.getHeight()&&(y.position="top",C=!0);var T=C?-5-w.height:s+10;x+w.width/2>i.getWidth()?(y.position=["100%",T],S.align="right"):x-w.width/2<0&&(y.position=[0,T],S.align="left")}})},t.prototype.updateView=function(e,n,i,a){M(this._features,function(o){o instanceof Me&&o.updateView&&o.updateView(o.model,n,i,a)})},t.prototype.remove=function(e,n){M(this._features,function(i){i instanceof Me&&i.remove&&i.remove(e,n)}),this.group.removeAll()},t.prototype.dispose=function(e,n){M(this._features,function(i){i instanceof Me&&i.dispose&&i.dispose(e,n)})},t.type="toolbox",t}(oe);function KL(r){return r.indexOf("my")===0}var QL=function(r){N(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.onclick=function(e,n){var i=this.model,a=i.get("name")||e.get("title.0.text")||"echarts",o=n.getZr().painter.getType()==="svg",s=o?"svg":i.get("type",!0)||"png",l=n.getConnectedDataURL({type:s,backgroundColor:i.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:i.get("connectedBackgroundColor"),excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")}),u=Q.browser;if(typeof MouseEvent=="function"&&(u.newEdge||!u.ie&&!u.edge)){var f=document.createElement("a");f.download=a+"."+s,f.target="_blank",f.href=l;var h=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});f.dispatchEvent(h)}else if(window.navigator.msSaveOrOpenBlob||o){var c=l.split(","),v=c[0].indexOf("base64")>-1,d=o?decodeURIComponent(c[1]):c[1];v&&(d=window.atob(d));var p=a+"."+s;if(window.navigator.msSaveOrOpenBlob){for(var g=d.length,y=new Uint8Array(g);g--;)y[g]=d.charCodeAt(g);var m=new Blob([y]);window.navigator.msSaveOrOpenBlob(m,p)}else{var _=document.createElement("iframe");document.body.appendChild(_);var S=_.contentWindow,w=S.document;w.open("image/svg+xml","replace"),w.write(d),w.close(),S.focus(),w.execCommand("SaveAs",!0,p),document.body.removeChild(_)}}else{var x=i.get("lang"),b='',C=window.open();C.document.write(b),C.document.title=a}},t.getDefaultOption=function(e){var n={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:e.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:e.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return n},t}(Me),dg="__ec_magicType_stack__",JL=[["line","bar"],["stack"]],jL=function(r){N(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.getIcons=function(){var e=this.model,n=e.get("icon"),i={};return M(e.get("type"),function(a){n[a]&&(i[a]=n[a])}),i},t.getDefaultOption=function(e){var n={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:e.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return n},t.prototype.onclick=function(e,n,i){var a=this.model,o=a.get(["seriesIndex",i]);if(pg[i]){var s={series:[]},l=function(h){var c=h.subType,v=h.id,d=pg[i](c,v,h,a);d&&(j(d,h.option),s.series.push(d));var p=h.coordinateSystem;if(p&&p.type==="cartesian2d"&&(i==="line"||i==="bar")){var g=p.getAxesByScale("ordinal")[0];if(g){var y=g.dim,m=y+"Axis",_=h.getReferringComponents(m,Yt).models[0],S=_.componentIndex;s[m]=s[m]||[];for(var w=0;w<=S;w++)s[m][S]=s[m][S]||{};s[m][S].boundaryGap=i==="bar"}}};M(JL,function(h){it(h,i)>=0&&M(h,function(c){a.setIconStatus(c,"normal")})}),a.setIconStatus(i,"emphasis"),e.eachComponent({mainType:"series",query:o==null?null:{seriesIndex:o}},l);var u,f=i;i==="stack"&&(u=rt({stack:a.option.title.tiled,tiled:a.option.title.stack},a.option.title),a.get(["iconStatus",i])!=="emphasis"&&(f="tiled")),n.dispatchAction({type:"changeMagicType",currentType:f,newOption:s,newTitle:u,featureName:"magicType"})}},t}(Me),pg={line:function(r,t,e,n){if(r==="bar")return rt({id:t,type:"line",data:e.get("data"),stack:e.get("stack"),markPoint:e.get("markPoint"),markLine:e.get("markLine")},n.get(["option","line"])||{},!0)},bar:function(r,t,e,n){if(r==="line")return rt({id:t,type:"bar",data:e.get("data"),stack:e.get("stack"),markPoint:e.get("markPoint"),markLine:e.get("markLine")},n.get(["option","bar"])||{},!0)},stack:function(r,t,e,n){var i=e.get("stack")===dg;if(r==="line"||r==="bar")return n.setIconStatus("stack",i?"normal":"emphasis"),rt({id:t,stack:i?"":dg},n.get(["option","stack"])||{},!0)}};$e({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(r,t){t.mergeOption(r.newOption)});var pl=new Array(60).join("-"),di=" ";function tI(r){var t={},e=[],n=[];return r.eachRawSeries(function(i){var a=i.coordinateSystem;if(a&&(a.type==="cartesian2d"||a.type==="polar")){var o=a.getBaseAxis();if(o.type==="category"){var s=o.dim+"_"+o.index;t[s]||(t[s]={categoryAxis:o,valueAxis:a.getOtherAxis(o),series:[]},n.push({axisDim:o.dim,axisIndex:o.index})),t[s].series.push(i)}else e.push(i)}else e.push(i)}),{seriesGroupByCategoryAxis:t,other:e,meta:n}}function eI(r){var t=[];return M(r,function(e,n){var i=e.categoryAxis,a=e.valueAxis,o=a.dim,s=[" "].concat(V(e.series,function(v){return v.name})),l=[i.model.getCategories()];M(e.series,function(v){var d=v.getRawData();l.push(v.getRawData().mapArray(d.mapDimension(o),function(p){return p}))});for(var u=[s.join(di)],f=0;f=0)return!0}var eh=new RegExp("["+di+"]+","g");function aI(r){for(var t=r.split(/\n+/g),e=Ls(t.shift()).split(eh),n=[],i=V(e,function(l){return{name:l,data:[]}}),a=0;a=0;a--){var o=e[a];if(o[i])break}if(a<0){var s=r.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(s){var l=s.getPercentRange();e[0][i]={dataZoomId:i,start:l[0],end:l[1]}}}}),e.push(t)}function hI(r){var t=bv(r),e=t[t.length-1];t.length>1&&t.pop();var n={};return l1(e,function(i,a){for(var o=t.length-1;o>=0;o--)if(i=t[o][a],i){n[a]=i;break}}),n}function vI(r){u1(r).snapshots=null}function cI(r){return bv(r).length}function bv(r){var t=u1(r);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var dI=function(r){N(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.onclick=function(e,n){vI(e),n.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(e){var n={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:e.getLocaleModel().get(["toolbox","restore","title"])};return n},t}(Me);$e({type:"restore",event:"restore",update:"prepareAndUpdate"},function(r,t){t.resetOption("recreate")});var pI=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],f1=function(){function r(t,e,n){var i=this;this._targetInfoList=[];var a=gg(e,t);M(gI,function(o,s){(!n||!n.include||it(n.include,s)>=0)&&o(a,i._targetInfoList)})}return r.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,function(n,i,a){if((n.coordRanges||(n.coordRanges=[])).push(i),!n.coordRange){n.coordRange=i;var o=Fu[n.brushType](0,a,i);n.__rangeOffset={offset:Sg[n.brushType](o.values,n.range,[1,1]),xyMinMax:o.xyMinMax}}}),t},r.prototype.matchOutputRanges=function(t,e,n){M(t,function(i){var a=this.findTargetInfo(i,e);a&&a!==!0&&M(a.coordSyses,function(o){var s=Fu[i.brushType](1,o,i.range,!0);n(i,s.values,o,e)})},this)},r.prototype.setInputRanges=function(t,e){M(t,function(n){var i=this.findTargetInfo(n,e);if(n.range=n.range||[],i&&i!==!0){n.panelId=i.panelId;var a=Fu[n.brushType](0,i.coordSys,n.coordRange),o=n.__rangeOffset;n.range=o?Sg[n.brushType](a.values,o.offset,yI(a.xyMinMax,o.xyMinMax)):a.values}},this)},r.prototype.makePanelOpts=function(t,e){return V(this._targetInfoList,function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:fL(i),isTargetByCursor:vL(i,t,n.coordSysModel),getLinearBrushOtherExtent:hL(i)}})},r.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return i===!0||i&&it(i.coordSyses,e.coordinateSystem)>=0},r.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=gg(e,t),a=0;ar[1]&&r.reverse(),r}function gg(r,t){return ua(r,t,{includeMainTypes:pI})}var gI={grid:function(r,t){var e=r.xAxisModels,n=r.yAxisModels,i=r.gridModels,a=X(),o={},s={};!e&&!n&&!i||(M(e,function(l){var u=l.axis.grid.model;a.set(u.id,u),o[u.id]=!0}),M(n,function(l){var u=l.axis.grid.model;a.set(u.id,u),s[u.id]=!0}),M(i,function(l){a.set(l.id,l),o[l.id]=!0,s[l.id]=!0}),a.each(function(l){var u=l.coordinateSystem,f=[];M(u.getCartesians(),function(h,c){(it(e,h.getAxis("x").model)>=0||it(n,h.getAxis("y").model)>=0)&&f.push(h)}),t.push({panelId:"grid--"+l.id,gridModel:l,coordSysModel:l,coordSys:f[0],coordSyses:f,getPanelRect:mg.grid,xAxisDeclared:o[l.id],yAxisDeclared:s[l.id]})}))},geo:function(r,t){M(r.geoModels,function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:mg.geo})})}},yg=[function(r,t){var e=r.xAxisModel,n=r.yAxisModel,i=r.gridModel;return!i&&e&&(i=e.axis.grid.model),!i&&n&&(i=n.axis.grid.model),i&&i===t.gridModel},function(r,t){var e=r.geoModel;return e&&e===t.geoModel}],mg={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var r=this.coordSys,t=r.getBoundingRect().clone();return t.applyTransform(Ks(r)),t}},Fu={lineX:st(_g,0),lineY:st(_g,1),rect:function(r,t,e,n){var i=r?t.pointToData([e[0][0],e[1][0]],n):t.dataToPoint([e[0][0],e[1][0]],n),a=r?t.pointToData([e[0][1],e[1][1]],n):t.dataToPoint([e[0][1],e[1][1]],n),o=[rh([i[0],a[0]]),rh([i[1],a[1]])];return{values:o,xyMinMax:o}},polygon:function(r,t,e,n){var i=[[1/0,-1/0],[1/0,-1/0]],a=V(e,function(o){var s=r?t.pointToData(o,n):t.dataToPoint(o,n);return i[0][0]=Math.min(i[0][0],s[0]),i[1][0]=Math.min(i[1][0],s[1]),i[0][1]=Math.max(i[0][1],s[0]),i[1][1]=Math.max(i[1][1],s[1]),s});return{values:a,xyMinMax:i}}};function _g(r,t,e,n){var i=e.getAxis(["x","y"][r]),a=rh(V([0,1],function(s){return t?i.coordToData(i.toLocalCoord(n[s]),!0):i.toGlobalCoord(i.dataToCoord(n[s]))})),o=[];return o[r]=a,o[1-r]=[NaN,NaN],{values:a,xyMinMax:o}}var Sg={lineX:st(xg,0),lineY:st(xg,1),rect:function(r,t,e){return[[r[0][0]-e[0]*t[0][0],r[0][1]-e[0]*t[0][1]],[r[1][0]-e[1]*t[1][0],r[1][1]-e[1]*t[1][1]]]},polygon:function(r,t,e){return V(r,function(n,i){return[n[0]-e[0]*t[i][0],n[1]-e[1]*t[i][1]]})}};function xg(r,t,e,n){return[t[0]-n[r]*e[0],t[1]-n[r]*e[1]]}function yI(r,t){var e=wg(r),n=wg(t),i=[e[0]/n[0],e[1]/n[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}function wg(r){return r?[r[0][1]-r[0][0],r[1][1]-r[1][0]]:[NaN,NaN]}var nh=M,mI=_x("toolbox-dataZoom_"),_I=function(r){N(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.render=function(e,n,i,a){this._brushController||(this._brushController=new eL(i.getZr()),this._brushController.on("brush",$(this._onBrush,this)).mount()),wI(e,n,this,a,i),xI(e,n)},t.prototype.onclick=function(e,n,i){SI[i].call(this)},t.prototype.remove=function(e,n){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(e,n){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(e){var n=e.areas;if(!e.isEnd||!n.length)return;var i={},a=this.ecModel;this._brushController.updateCovers([]);var o=new f1(Tv(this.model),a,{include:["grid"]});o.matchOutputRanges(n,a,function(u,f,h){if(h.type==="cartesian2d"){var c=u.brushType;c==="rect"?(s("x",h,f[0]),s("y",h,f[1])):s({lineX:"x",lineY:"y"}[c],h,f)}}),fI(a,i),this._dispatchZoomAction(i);function s(u,f,h){var c=f.getAxis(u),v=c.model,d=l(u,v,a),p=d.findRepresentativeAxisProxy(v).getMinMaxSpan();(p.minValueSpan!=null||p.maxValueSpan!=null)&&(h=Xa(0,h.slice(),c.scale.getExtent(),0,p.minValueSpan,p.maxValueSpan)),d&&(i[d.id]={dataZoomId:d.id,startValue:h[0],endValue:h[1]})}function l(u,f,h){var c;return h.eachComponent({mainType:"dataZoom",subType:"select"},function(v){var d=v.getAxisModel(u,f.componentIndex);d&&(c=v)}),c}},t.prototype._dispatchZoomAction=function(e){var n=[];nh(e,function(i,a){n.push(J(i))}),n.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:n})},t.getDefaultOption=function(e){var n={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:e.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return n},t}(Me),SI={zoom:function(){var r=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:r})},back:function(){this._dispatchZoomAction(hI(this.ecModel))}};function Tv(r){var t={xAxisIndex:r.get("xAxisIndex",!0),yAxisIndex:r.get("yAxisIndex",!0),xAxisId:r.get("xAxisId",!0),yAxisId:r.get("yAxisId",!0)};return t.xAxisIndex==null&&t.xAxisId==null&&(t.xAxisIndex="all"),t.yAxisIndex==null&&t.yAxisId==null&&(t.yAxisIndex="all"),t}function xI(r,t){r.setIconStatus("back",cI(t)>1?"emphasis":"normal")}function wI(r,t,e,n,i){var a=e._isZoomActive;n&&n.type==="takeGlobalCursor"&&(a=n.key==="dataZoomSelect"?n.dataZoomSelectActive:!1),e._isZoomActive=a,r.setIconStatus("zoom",a?"emphasis":"normal");var o=new f1(Tv(r),t,{include:["grid"]}),s=o.makePanelOpts(i,function(l){return l.xAxisDeclared&&!l.yAxisDeclared?"lineX":!l.xAxisDeclared&&l.yAxisDeclared?"lineY":"rect"});e._brushController.setPanels(s).enableBrush(a&&s.length?{brushType:"auto",brushStyle:r.getModel("brushStyle").getItemStyle()}:!1)}fT("dataZoom",function(r){var t=r.getComponent("toolbox",0),e=["feature","dataZoom"];if(!t||t.get(e)==null)return;var n=t.getModel(e),i=[],a=Tv(n),o=ua(r,a);nh(o.xAxisModels,function(l){return s(l,"xAxis","xAxisIndex")}),nh(o.yAxisModels,function(l){return s(l,"yAxis","yAxisIndex")});function s(l,u,f){var h=l.componentIndex,c={type:"select",$fromToolbox:!0,filterMode:n.get("filterMode",!0)||"filter",id:mI+u+h};c[f]=h,i.push(c)}return i});function jP(r){r.registerComponentModel(XL),r.registerComponentView(qL),Ui("saveAsImage",QL),Ui("magicType",jL),Ui("dataView",lI),Ui("dataZoom",_I),Ui("restore",dI),Ye(ZL)}var bI=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="tooltip",t.dependencies=["axisPointer"],t.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},t}(ft);function h1(r){var t=r.get("confine");return t!=null?!!t:r.get("renderMode")==="richText"}function v1(r){if(Q.domSupported){for(var t=document.documentElement.style,e=0,n=r.length;e-1?(s+="top:50%",l+="translateY(-50%) rotate("+(u=a==="left"?-225:-45)+"deg)"):(s+="left:50%",l+="translateX(-50%) rotate("+(u=a==="top"?225:45)+"deg)");var f=u*Math.PI/180,h=o+i,c=h*Math.abs(Math.cos(f))+h*Math.abs(Math.sin(f)),v=Math.round(((c-Math.SQRT2*i)/2+Math.SQRT2*i-(c-h)/2)*100)/100;s+=";"+a+":-"+v+"px";var d=t+" solid "+i+"px;",p=["position:absolute;width:"+o+"px;height:"+o+"px;z-index:-1;",s+";"+l+";","border-bottom:"+d,"border-right:"+d,"background-color:"+n+";"];return'
'}function II(r,t){var e="cubic-bezier(0.23,1,0.32,1)",n=" "+r/2+"s "+e,i="opacity"+n+",visibility"+n;return t||(n=" "+r+"s "+e,i+=Q.transformSupported?","+Cv+n:",left"+n+",top"+n),MI+":"+i}function bg(r,t,e){var n=r.toFixed(0)+"px",i=t.toFixed(0)+"px";if(!Q.transformSupported)return e?"top:"+i+";left:"+n+";":[["top",i],["left",n]];var a=Q.transform3dSupported,o="translate"+(a?"3d":"")+"("+n+","+i+(a?",0":"")+")";return e?"top:0;left:0;"+Cv+":"+o+";":[["top",0],["left",0],[c1,o]]}function PI(r){var t=[],e=r.get("fontSize"),n=r.getTextColor();n&&t.push("color:"+n),t.push("font:"+r.getFont());var i=tt(r.get("lineHeight"),Math.round(e*3/2));e&&t.push("line-height:"+i+"px");var a=r.get("textShadowColor"),o=r.get("textShadowBlur")||0,s=r.get("textShadowOffsetX")||0,l=r.get("textShadowOffsetY")||0;return a&&o&&t.push("text-shadow:"+s+"px "+l+"px "+o+"px "+a),M(["decoration","align"],function(u){var f=r.get(u);f&&t.push("text-"+u+":"+f)}),t.join(";")}function RI(r,t,e){var n=[],i=r.get("transitionDuration"),a=r.get("backgroundColor"),o=r.get("shadowBlur"),s=r.get("shadowColor"),l=r.get("shadowOffsetX"),u=r.get("shadowOffsetY"),f=r.getModel("textStyle"),h=s0(r,"html"),c=l+"px "+u+"px "+o+"px "+s;return n.push("box-shadow:"+c),t&&i&&n.push(II(i,e)),a&&n.push("background-color:"+a),M(["width","color","radius"],function(v){var d="border-"+v,p=Om(d),g=r.get(p);g!=null&&n.push(d+":"+g+(v==="color"?"":"px"))}),n.push(PI(f)),h!=null&&n.push("padding:"+ol(h).join("px ")+"px"),n.join(";")+";"}function Tg(r,t,e,n,i){var a=t&&t.painter;if(e){var o=a&&a.getViewportRoot();o&&rS(r,o,e,n,i)}else{r[0]=n,r[1]=i;var s=a&&a.getViewportRootOffset();s&&(r[0]+=s.offsetLeft,r[1]+=s.offsetTop)}r[2]=r[0]/t.getWidth(),r[3]=r[1]/t.getHeight()}var EI=function(){function r(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,Q.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=t.getZr(),a=e.appendTo,o=a&&(W(a)?document.querySelector(a):oi(a)?a:K(a)&&a(t.getDom()));Tg(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(n),this._api=t,this._container=o;var s=this;n.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},n.onmousemove=function(l){if(l=l||window.event,!s._enterable){var u=i.handler,f=i.painter.getViewportRoot();fe(f,l,!0),u.dispatch("mousemove",l)}},n.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return r.prototype.update=function(t){if(!this._container){var e=this._api.getDom(),n=CI(e,"position"),i=e.style;i.position!=="absolute"&&n!=="absolute"&&(i.position="relative")}var a=t.get("alwaysShowContent");a&&this._moveIfResized(),this._alwaysShowContent=a,this.el.className=t.get("className")||""},r.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,a=this._styleCoord;n.innerHTML?i.cssText=DI+RI(t,!this._firstShow,this._longHide)+bg(a[0],a[1],!0)+("border-color:"+_n(e)+";")+(t.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},r.prototype.setContent=function(t,e,n,i,a){var o=this.el;if(t==null){o.innerHTML="";return}var s="";if(W(a)&&n.get("trigger")==="item"&&!h1(n)&&(s=LI(n,i,a)),W(t))o.innerHTML=t+s;else if(t){o.innerHTML="",G(t)||(t=[t]);for(var l=0;l=0?this._tryShow(a,o):i==="leave"&&this._hide(o))},this))},t.prototype._keepShow=function(){var e=this._tooltipModel,n=this._ecModel,i=this._api,a=e.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&a!=="none"&&a!=="click"){var o=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!i.isDisposed()&&o.manuallyShowTip(e,n,i,{x:o._lastX,y:o._lastY,dataByCoordSys:o._lastDataByCoordSys})})}},t.prototype.manuallyShowTip=function(e,n,i,a){if(!(a.from===this.uid||Q.node||!i.getDom())){var o=Dg(a,i);this._ticket="";var s=a.dataByCoordSys,l=GI(a,n,i);if(l){var u=l.el.getBoundingRect().clone();u.applyTransform(l.el.transform),this._tryShow({offsetX:u.x+u.width/2,offsetY:u.y+u.height/2,target:l.el,position:a.position,positionDefault:"bottom"},o)}else if(a.tooltip&&a.x!=null&&a.y!=null){var f=OI;f.x=a.x,f.y=a.y,f.update(),ot(f).tooltipConfig={name:null,option:a.tooltip},this._tryShow({offsetX:a.x,offsetY:a.y,target:f},o)}else if(s)this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,dataByCoordSys:s,tooltipOption:a.tooltipOption},o);else if(a.seriesIndex!=null){if(this._manuallyAxisShowTip(e,n,i,a))return;var h=r1(a,n),c=h.point[0],v=h.point[1];c!=null&&v!=null&&this._tryShow({offsetX:c,offsetY:v,target:h.el,position:a.position,positionDefault:"bottom"},o)}else a.x!=null&&a.y!=null&&(i.dispatchAction({type:"updateAxisPointer",x:a.x,y:a.y}),this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,target:i.getZr().findHover(a.x,a.y).target},o))}},t.prototype.manuallyHideTip=function(e,n,i,a){var o=this._tooltipContent;this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,a.from!==this.uid&&this._hide(Dg(a,i))},t.prototype._manuallyAxisShowTip=function(e,n,i,a){var o=a.seriesIndex,s=a.dataIndex,l=n.getComponent("axisPointer").coordSysAxesInfo;if(!(o==null||s==null||l==null)){var u=n.getSeriesByIndex(o);if(u){var f=u.getData(),h=Yi([f.getItemModel(s),u,(u.coordinateSystem||{}).model],this._tooltipModel);if(h.get("trigger")==="axis")return i.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:s,position:a.position}),!0}}},t.prototype._tryShow=function(e,n){var i=e.target,a=this._tooltipModel;if(a){this._lastX=e.offsetX,this._lastY=e.offsetY;var o=e.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,e);else if(i){var s=ot(i);if(s.ssrType==="legend")return;this._lastDataByCoordSys=null;var l,u;ra(i,function(f){if(ot(f).dataIndex!=null)return l=f,!0;if(ot(f).tooltipConfig!=null)return u=f,!0},!0),l?this._showSeriesItemTooltip(e,l,n):u?this._showComponentItemTooltip(e,u,n):this._hide(n)}else this._lastDataByCoordSys=null,this._hide(n)}},t.prototype._showOrMove=function(e,n){var i=e.get("showDelay");n=$(n,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(n,i):n()},t.prototype._showAxisTooltip=function(e,n){var i=this._ecModel,a=this._tooltipModel,o=[n.offsetX,n.offsetY],s=Yi([n.tooltipOption],a),l=this._renderMode,u=[],f=La("section",{blocks:[],noHeader:!0}),h=[],c=new uu;M(e,function(m){M(m.dataByAxis,function(_){var S=i.getComponent(_.axisDim+"Axis",_.axisIndex),w=_.value;if(!(!S||w==null)){var x=j_(w,S.axis,i,_.seriesDataIndices,_.valueLabelOpt),b=La("section",{header:x,noHeader:!ze(x),sortBlocks:!0,blocks:[]});f.blocks.push(b),M(_.seriesDataIndices,function(C){var T=i.getSeriesByIndex(C.seriesIndex),D=C.dataIndexInside,A=T.getDataParams(D);if(!(A.dataIndex<0)){A.axisDim=_.axisDim,A.axisIndex=_.axisIndex,A.axisType=_.axisType,A.axisId=_.axisId,A.axisValue=sv(S.axis,{value:w}),A.axisValueLabel=x,A.marker=c.makeTooltipMarker("item",_n(A.color),l);var L=md(T.formatTooltip(D,!0,null)),I=L.frag;if(I){var P=Yi([T],a).get("valueFormatter");b.blocks.push(P?B({valueFormatter:P},I):I)}L.text&&h.push(L.text),u.push(A)}})}})}),f.blocks.reverse(),h.reverse();var v=n.position,d=s.get("order"),p=bd(f,c,l,d,i.get("useUTC"),s.get("textStyle"));p&&h.unshift(p);var g=l==="richText"?` + +`:"
",y=h.join(g);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(e,u)?this._updatePosition(s,v,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,y,u,Math.random()+"",o[0],o[1],v,null,c)})},t.prototype._showSeriesItemTooltip=function(e,n,i){var a=this._ecModel,o=ot(n),s=o.seriesIndex,l=a.getSeriesByIndex(s),u=o.dataModel||l,f=o.dataIndex,h=o.dataType,c=u.getData(h),v=this._renderMode,d=e.positionDefault,p=Yi([c.getItemModel(f),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),g=p.get("trigger");if(!(g!=null&&g!=="item")){var y=u.getDataParams(f,h),m=new uu;y.marker=m.makeTooltipMarker("item",_n(y.color),v);var _=md(u.formatTooltip(f,!1,h)),S=p.get("order"),w=p.get("valueFormatter"),x=_.frag,b=x?bd(w?B({valueFormatter:w},x):x,m,v,S,a.get("useUTC"),p.get("textStyle")):_.text,C="item_"+u.name+"_"+f;this._showOrMove(p,function(){this._showTooltipContent(p,b,y,C,e.offsetX,e.offsetY,e.position,e.target,m)}),i({type:"showTip",dataIndexInside:f,dataIndex:c.getRawIndex(f),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(e,n,i){var a=this._renderMode==="html",o=ot(n),s=o.tooltipConfig,l=s.option||{},u=l.encodeHTMLContent;if(W(l)){var f=l;l={content:f,formatter:f},u=!0}u&&a&&l.content&&(l=J(l),l.content=Kt(l.content));var h=[l],c=this._ecModel.getComponent(o.componentMainType,o.componentIndex);c&&h.push(c),h.push({formatter:l.content});var v=e.positionDefault,d=Yi(h,this._tooltipModel,v?{position:v}:null),p=d.get("content"),g=Math.random()+"",y=new uu;this._showOrMove(d,function(){var m=J(d.get("formatterParams")||{});this._showTooltipContent(d,p,m,g,e.offsetX,e.offsetY,e.position,n,y)}),i({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(e,n,i,a,o,s,l,u,f){if(this._ticket="",!(!e.get("showContent")||!e.get("show"))){var h=this._tooltipContent;h.setEnterable(e.get("enterable"));var c=e.get("formatter");l=l||e.get("position");var v=n,d=this._getNearestPoint([o,s],i,e.get("trigger"),e.get("borderColor")),p=d.color;if(c)if(W(c)){var g=e.ecModel.get("useUTC"),y=G(i)?i[0]:i,m=y&&y.axisType&&y.axisType.indexOf("time")>=0;v=c,m&&(v=el(y.axisValue,v,g)),v=Bm(v,i,!0)}else if(K(c)){var _=$(function(S,w){S===this._ticket&&(h.setContent(w,f,e,p,l),this._updatePosition(e,l,o,s,h,i,u))},this);this._ticket=a,v=c(i,a,_)}else v=c;h.setContent(v,f,e,p,l),h.show(e,p),this._updatePosition(e,l,o,s,h,i,u)}},t.prototype._getNearestPoint=function(e,n,i,a){if(i==="axis"||G(n))return{color:a||(this._renderMode==="html"?"#fff":"none")};if(!G(n))return{color:a||n.color||n.borderColor}},t.prototype._updatePosition=function(e,n,i,a,o,s,l){var u=this._api.getWidth(),f=this._api.getHeight();n=n||e.get("position");var h=o.getSize(),c=e.get("align"),v=e.get("verticalAlign"),d=l&&l.getBoundingRect().clone();if(l&&d.applyTransform(l.transform),K(n)&&(n=n([i,a],s,o.el,d,{viewSize:[u,f],contentSize:h.slice()})),G(n))i=dt(n[0],u),a=dt(n[1],f);else if(Z(n)){var p=n;p.width=h[0],p.height=h[1];var g=fr(p,{width:u,height:f});i=g.x,a=g.y,c=null,v=null}else if(W(n)&&l){var y=zI(n,d,h,e.get("borderWidth"));i=y[0],a=y[1]}else{var y=NI(i,a,o,u,f,c?null:20,v?null:20);i=y[0],a=y[1]}if(c&&(i-=Ag(c)?h[0]/2:c==="right"?h[0]:0),v&&(a-=Ag(v)?h[1]/2:v==="bottom"?h[1]:0),h1(e)){var y=FI(i,a,o,u,f);i=y[0],a=y[1]}o.moveTo(i,a)},t.prototype._updateContentNotChangedOnAxis=function(e,n){var i=this._lastDataByCoordSys,a=this._cbParamsList,o=!!i&&i.length===e.length;return o&&M(i,function(s,l){var u=s.dataByAxis||[],f=e[l]||{},h=f.dataByAxis||[];o=o&&u.length===h.length,o&&M(u,function(c,v){var d=h[v]||{},p=c.seriesDataIndices||[],g=d.seriesDataIndices||[];o=o&&c.value===d.value&&c.axisType===d.axisType&&c.axisId===d.axisId&&p.length===g.length,o&&M(p,function(y,m){var _=g[m];o=o&&y.seriesIndex===_.seriesIndex&&y.dataIndex===_.dataIndex}),a&&M(c.seriesDataIndices,function(y){var m=y.seriesIndex,_=n[m],S=a[m];_&&S&&S.data!==_.data&&(o=!1)})})}),this._lastDataByCoordSys=e,this._cbParamsList=n,!!o},t.prototype._hide=function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},t.prototype.dispose=function(e,n){Q.node||!n.getDom()||(Ss(this,"_updatePosition"),this._tooltipContent.dispose(),th("itemTooltip",n))},t.type="tooltip",t}(oe);function Yi(r,t,e){var n=t.ecModel,i;e?(i=new xt(e,n,n),i=new xt(t.option,i,n)):i=t;for(var a=r.length-1;a>=0;a--){var o=r[a];o&&(o instanceof xt&&(o=o.get("tooltip",!0)),W(o)&&(o={formatter:o}),o&&(i=new xt(o,i,n)))}return i}function Dg(r,t){return r.dispatchAction||$(t.dispatchAction,t)}function NI(r,t,e,n,i,a,o){var s=e.getSize(),l=s[0],u=s[1];return a!=null&&(r+l+a+2>n?r-=l+a:r+=a),o!=null&&(t+u+o>i?t-=u+o:t+=o),[r,t]}function FI(r,t,e,n,i){var a=e.getSize(),o=a[0],s=a[1];return r=Math.min(r+o,n)-o,t=Math.min(t+s,i)-s,r=Math.max(r,0),t=Math.max(t,0),[r,t]}function zI(r,t,e,n){var i=e[0],a=e[1],o=Math.ceil(Math.SQRT2*n)+8,s=0,l=0,u=t.width,f=t.height;switch(r){case"inside":s=t.x+u/2-i/2,l=t.y+f/2-a/2;break;case"top":s=t.x+u/2-i/2,l=t.y-a-o;break;case"bottom":s=t.x+u/2-i/2,l=t.y+f+o;break;case"left":s=t.x-i-o,l=t.y+f/2-a/2;break;case"right":s=t.x+u+o,l=t.y+f/2-a/2}return[s,l]}function Ag(r){return r==="center"||r==="middle"}function GI(r,t,e){var n=bh(r).queryOptionMap,i=n.keys()[0];if(!(!i||i==="series")){var a=Va(t,i,n.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}),o=a.models[0];if(o){var s=e.getViewOfComponentModel(o),l;if(s.group.traverse(function(u){var f=ot(u).tooltipConfig;if(f&&f.name===r.name)return l=u,!0}),l)return{componentMainType:i,componentIndex:o.componentIndex,el:l}}}}function tR(r){Ye(n1),r.registerComponentModel(bI),r.registerComponentView(BI),r.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},Zt),r.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},Zt)}var VI=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.layoutMode={type:"box",ignoreSize:!0},e}return t.type="title",t.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},t}(ft),HI=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i){if(this.group.removeAll(),!!e.get("show")){var a=this.group,o=e.getModel("textStyle"),s=e.getModel("subtextStyle"),l=e.get("textAlign"),u=tt(e.get("textBaseline"),e.get("textVerticalAlign")),f=new At({style:ur(o,{text:e.get("text"),fill:o.getTextColor()},{disableBox:!0}),z2:10}),h=f.getBoundingRect(),c=e.get("subtext"),v=new At({style:ur(s,{text:c,fill:s.getTextColor(),y:h.height+e.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),d=e.get("link"),p=e.get("sublink"),g=e.get("triggerEvent",!0);f.silent=!d&&!g,v.silent=!p&&!g,d&&f.on("click",function(){td(d,"_"+e.get("target"))}),p&&v.on("click",function(){td(p,"_"+e.get("subtarget"))}),ot(f).eventData=ot(v).eventData=g?{componentType:"title",componentIndex:e.componentIndex}:null,a.add(f),c&&a.add(v);var y=a.getBoundingRect(),m=e.getBoxLayoutParams();m.width=y.width,m.height=y.height;var _=fr(m,{width:i.getWidth(),height:i.getHeight()},e.get("padding"));l||(l=e.get("left")||e.get("right"),l==="middle"&&(l="center"),l==="right"?_.x+=_.width:l==="center"&&(_.x+=_.width/2)),u||(u=e.get("top")||e.get("bottom"),u==="center"&&(u="middle"),u==="bottom"?_.y+=_.height:u==="middle"&&(_.y+=_.height/2),u=u||"top"),a.x=_.x,a.y=_.y,a.markRedraw();var S={align:l,verticalAlign:u};f.setStyle(S),v.setStyle(S),y=a.getBoundingRect();var w=_.margin,x=e.getItemStyle(["color","opacity"]);x.fill=e.get("backgroundColor");var b=new gt({shape:{x:y.x-w[3],y:y.y-w[0],width:y.width+w[1]+w[3],height:y.height+w[0]+w[2],r:e.get("borderRadius")},style:x,subPixelOptimize:!0,silent:!0});a.add(b)}},t.type="title",t}(oe);function eR(r){r.registerComponentModel(VI),r.registerComponentView(HI)}var WI=function(r,t){if(t==="all")return{type:"all",title:r.getLocaleModel().get(["legend","selector","all"])};if(t==="inverse")return{type:"inverse",title:r.getLocaleModel().get(["legend","selector","inverse"])}},ih=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.layoutMode={type:"box",ignoreSize:!0},e}return t.prototype.init=function(e,n,i){this.mergeDefaultAndTheme(e,i),e.selected=e.selected||{},this._updateSelector(e)},t.prototype.mergeOption=function(e,n){r.prototype.mergeOption.call(this,e,n),this._updateSelector(e)},t.prototype._updateSelector=function(e){var n=e.selector,i=this.ecModel;n===!0&&(n=e.selector=["all","inverse"]),G(n)&&M(n,function(a,o){W(a)&&(a={type:a}),n[o]=rt(a,WI(i,a.type))})},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&this.get("selectedMode")==="single"){for(var n=!1,i=0;i=0},t.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},t}(ft),Gn=st,ah=M,Oo=bt,p1=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.newlineDisabled=!1,e}return t.prototype.init=function(){this.group.add(this._contentGroup=new Oo),this.group.add(this._selectorGroup=new Oo),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(e,n,i){var a=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!e.get("show",!0)){var o=e.get("align"),s=e.get("orient");(!o||o==="auto")&&(o=e.get("left")==="right"&&s==="vertical"?"right":"left");var l=e.get("selector",!0),u=e.get("selectorPosition",!0);l&&(!u||u==="auto")&&(u=s==="horizontal"?"end":"start"),this.renderInner(o,e,n,i,l,s,u);var f=e.getBoxLayoutParams(),h={width:i.getWidth(),height:i.getHeight()},c=e.get("padding"),v=fr(f,h,c),d=this.layoutInner(e,o,v,a,l,u),p=fr(j({width:d.width,height:d.height},f),h,c);this.group.x=p.x-d.x,this.group.y=p.y-d.y,this.group.markRedraw(),this.group.add(this._backgroundEl=s1(d,e))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(e,n,i,a,o,s,l){var u=this.getContentGroup(),f=X(),h=n.get("selectedMode"),c=[];i.eachRawSeries(function(v){!v.get("legendHoverLink")&&c.push(v.id)}),ah(n.getData(),function(v,d){var p=v.get("name");if(!this.newlineDisabled&&(p===""||p===` +`)){var g=new Oo;g.newline=!0,u.add(g);return}var y=i.getSeriesByName(p)[0];if(!f.get(p))if(y){var m=y.getData(),_=m.getVisual("legendLineStyle")||{},S=m.getVisual("legendIcon"),w=m.getVisual("style"),x=this._createItem(y,p,d,v,n,e,_,w,S,h,a);x.on("click",Gn(Lg,p,null,a,c)).on("mouseover",Gn(oh,y.name,null,a,c)).on("mouseout",Gn(sh,y.name,null,a,c)),i.ssr&&x.eachChild(function(b){var C=ot(b);C.seriesIndex=y.seriesIndex,C.dataIndex=d,C.ssrType="legend"}),f.set(p,!0)}else i.eachRawSeries(function(b){if(!f.get(p)&&b.legendVisualProvider){var C=b.legendVisualProvider;if(!C.containName(p))return;var T=C.indexOfName(p),D=C.getItemVisual(T,"style"),A=C.getItemVisual(T,"legendIcon"),L=ar(D.fill);L&&L[3]===0&&(L[3]=.2,D=B(B({},D),{fill:Fs(L,"rgba")}));var I=this._createItem(b,p,d,v,n,e,{},D,A,h,a);I.on("click",Gn(Lg,null,p,a,c)).on("mouseover",Gn(oh,null,p,a,c)).on("mouseout",Gn(sh,null,p,a,c)),i.ssr&&I.eachChild(function(P){var R=ot(P);R.seriesIndex=b.seriesIndex,R.dataIndex=d,R.ssrType="legend"}),f.set(p,!0)}},this)},this),o&&this._createSelector(o,n,a,s,l)},t.prototype._createSelector=function(e,n,i,a,o){var s=this.getSelectorGroup();ah(e,function(u){var f=u.type,h=new At({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:f==="all"?"legendAllSelect":"legendInverseSelect",legendId:n.id})}});s.add(h);var c=n.getModel("selectorLabel"),v=n.getModel(["emphasis","selectorLabel"]);Wa(h,{normal:c,emphasis:v},{defaultText:u.title}),hs(h)})},t.prototype._createItem=function(e,n,i,a,o,s,l,u,f,h,c){var v=e.visualDrawType,d=o.get("itemWidth"),p=o.get("itemHeight"),g=o.isSelected(n),y=a.get("symbolRotate"),m=a.get("symbolKeepAspect"),_=a.get("icon");f=_||f||"roundRect";var S=UI(f,a,l,u,v,g,c),w=new Oo,x=a.getModel("textStyle");if(K(e.getLegendIcon)&&(!_||_==="inherit"))w.add(e.getLegendIcon({itemWidth:d,itemHeight:p,icon:f,iconRotate:y,itemStyle:S.itemStyle,lineStyle:S.lineStyle,symbolKeepAspect:m}));else{var b=_==="inherit"&&e.getData().getVisual("symbol")?y==="inherit"?e.getData().getVisual("symbolRotate"):y:0;w.add(YI({itemWidth:d,itemHeight:p,icon:f,iconRotate:b,itemStyle:S.itemStyle,symbolKeepAspect:m}))}var C=s==="left"?d+5:-5,T=s,D=o.get("formatter"),A=n;W(D)&&D?A=D.replace("{name}",n??""):K(D)&&(A=D(n));var L=g?x.getTextColor():a.get("inactiveColor");w.add(new At({style:ur(x,{text:A,x:C,y:p/2,fill:L,align:T,verticalAlign:"middle"},{inheritColor:L})}));var I=new gt({shape:w.getBoundingRect(),style:{fill:"transparent"}}),P=a.getModel("tooltip");return P.get("show")&&Ha({el:I,componentModel:o,itemName:n,itemTooltipOption:P.option}),w.add(I),w.eachChild(function(R){R.silent=!0}),I.silent=!h,this.getContentGroup().add(w),hs(w),w.__legendDataIndex=i,w},t.prototype.layoutInner=function(e,n,i,a,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();ai(e.get("orient"),l,e.get("itemGap"),i.width,i.height);var f=l.getBoundingRect(),h=[-f.x,-f.y];if(u.markRedraw(),l.markRedraw(),o){ai("horizontal",u,e.get("selectorItemGap",!0));var c=u.getBoundingRect(),v=[-c.x,-c.y],d=e.get("selectorButtonGap",!0),p=e.getOrient().index,g=p===0?"width":"height",y=p===0?"height":"width",m=p===0?"y":"x";s==="end"?v[p]+=f[g]+d:h[p]+=c[g]+d,v[1-p]+=f[y]/2-c[y]/2,u.x=v[0],u.y=v[1],l.x=h[0],l.y=h[1];var _={x:0,y:0};return _[g]=f[g]+d+c[g],_[y]=Math.max(f[y],c[y]),_[m]=Math.min(0,c[m]+v[1-p]),_}else return l.x=h[0],l.y=h[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(oe);function UI(r,t,e,n,i,a,o){function s(g,y){g.lineWidth==="auto"&&(g.lineWidth=y.lineWidth>0?2:0),ah(g,function(m,_){g[_]==="inherit"&&(g[_]=y[_])})}var l=t.getModel("itemStyle"),u=l.getItemStyle(),f=r.lastIndexOf("empty",0)===0?"fill":"stroke",h=l.getShallow("decal");u.decal=!h||h==="inherit"?n.decal:Bf(h,o),u.fill==="inherit"&&(u.fill=n[i]),u.stroke==="inherit"&&(u.stroke=n[f]),u.opacity==="inherit"&&(u.opacity=(i==="fill"?n:e).opacity),s(u,n);var c=t.getModel("lineStyle"),v=c.getLineStyle();if(s(v,e),u.fill==="auto"&&(u.fill=n.fill),u.stroke==="auto"&&(u.stroke=n.fill),v.stroke==="auto"&&(v.stroke=n.fill),!a){var d=t.get("inactiveBorderWidth"),p=u[f];u.lineWidth=d==="auto"?n.lineWidth>0&&p?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),v.stroke=c.get("inactiveColor"),v.lineWidth=c.get("inactiveWidth")}return{itemStyle:u,lineStyle:v}}function YI(r){var t=r.icon||"roundRect",e=Br(t,0,0,r.itemWidth,r.itemHeight,r.itemStyle.fill,r.symbolKeepAspect);return e.setStyle(r.itemStyle),e.rotation=(r.iconRotate||0)*Math.PI/180,e.setOrigin([r.itemWidth/2,r.itemHeight/2]),t.indexOf("empty")>-1&&(e.style.stroke=e.style.fill,e.style.fill="#fff",e.style.lineWidth=2),e}function Lg(r,t,e,n){sh(r,t,e,n),e.dispatchAction({type:"legendToggleSelect",name:r??t}),oh(r,t,e,n)}function g1(r){for(var t=r.getZr().storage.getDisplayList(),e,n=0,i=t.length;ni[o],g=[-v.x,-v.y];n||(g[a]=f[u]);var y=[0,0],m=[-d.x,-d.y],_=tt(e.get("pageButtonGap",!0),e.get("itemGap",!0));if(p){var S=e.get("pageButtonPosition",!0);S==="end"?m[a]+=i[o]-d[o]:y[a]+=d[o]+_}m[1-a]+=v[s]/2-d[s]/2,f.setPosition(g),h.setPosition(y),c.setPosition(m);var w={x:0,y:0};if(w[o]=p?i[o]:v[o],w[s]=Math.max(v[s],d[s]),w[l]=Math.min(0,d[l]+m[1-a]),h.__rectSize=i[o],p){var x={x:0,y:0};x[o]=Math.max(i[o]-d[o]-_,0),x[s]=w[s],h.setClipPath(new gt({shape:x})),h.__rectSize=x[o]}else c.eachChild(function(C){C.attr({invisible:!0,silent:!0})});var b=this._getPageInfo(e);return b.pageIndex!=null&&Pt(f,{x:b.contentPosition[0],y:b.contentPosition[1]},p?e:null),this._updatePageInfoView(e,b),w},t.prototype._pageGo=function(e,n,i){var a=this._getPageInfo(n)[e];a!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:a,legendId:n.id})},t.prototype._updatePageInfoView=function(e,n){var i=this._controllerGroup;M(["pagePrev","pageNext"],function(f){var h=f+"DataIndex",c=n[h]!=null,v=i.childOfName(f);v&&(v.setStyle("fill",c?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),v.cursor=c?"pointer":"default")});var a=i.childOfName("pageText"),o=e.get("pageFormatter"),s=n.pageIndex,l=s!=null?s+1:0,u=n.pageCount;a&&o&&a.setStyle("text",W(o)?o.replace("{current}",l==null?"":l+"").replace("{total}",u==null?"":u+""):o({current:l,total:u}))},t.prototype._getPageInfo=function(e){var n=e.get("scrollDataIndex",!0),i=this.getContentGroup(),a=this._containerGroup.__rectSize,o=e.getOrient().index,s=zu[o],l=Gu[o],u=this._findTargetItemIndex(n),f=i.children(),h=f[u],c=f.length,v=c?1:0,d={contentPosition:[i.x,i.y],pageCount:v,pageIndex:v-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return d;var p=S(h);d.contentPosition[o]=-p.s;for(var g=u+1,y=p,m=p,_=null;g<=c;++g)_=S(f[g]),(!_&&m.e>y.s+a||_&&!w(_,y.s))&&(m.i>y.i?y=m:y=_,y&&(d.pageNextDataIndex==null&&(d.pageNextDataIndex=y.i),++d.pageCount)),m=_;for(var g=u-1,y=p,m=p,_=null;g>=-1;--g)_=S(f[g]),(!_||!w(m,_.s))&&y.i=b&&x.s<=b+a}},t.prototype._findTargetItemIndex=function(e){if(!this._showController)return 0;var n,i=this.getContentGroup(),a;return i.eachChild(function(o,s){var l=o.__legendDataIndex;a==null&&l!=null&&(a=s),l===e&&(n=s)}),n??a},t.type="legend.scroll",t}(p1);function KI(r){r.registerAction("legendScroll","legendscroll",function(t,e){var n=t.scrollDataIndex;n!=null&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(i){i.setScrollDataIndex(n)})})}function QI(r){Ye(y1),r.registerComponentModel($I),r.registerComponentView(qI),KI(r)}function rR(r){Ye(y1),Ye(QI)}var JI=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="dataZoom.inside",t.defaultOption=tl(Ba.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t}(Ba),Mv=yt();function jI(r,t,e){Mv(r).coordSysRecordMap.each(function(n){var i=n.dataZoomInfoMap.get(t.uid);i&&(i.getRange=e)})}function tP(r,t){for(var e=Mv(r).coordSysRecordMap,n=e.keys(),i=0;in[e+t]&&(t=s),i=i&&o.get("preventDefaultMouseMove",!0)}),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}function aP(r){r.registerProcessor(r.PRIORITY.PROCESSOR.FILTER,function(t,e){var n=Mv(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=X());i.each(function(a){a.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(a){var o=i1(a);M(o.infoList,function(s){var l=s.model.uid,u=i.get(l)||i.set(l,eP(e,s.model)),f=u.dataZoomInfoMap||(u.dataZoomInfoMap=X());f.set(a.uid,{dzReferCoordSysInfo:s,model:a,getRange:null})})}),i.each(function(a){var o=a.controller,s,l=a.dataZoomInfoMap;if(l){var u=l.keys()[0];u!=null&&(s=l.get(u))}if(!s){m1(i,a);return}var f=iP(l);o.enable(f.controlType,f.opt),o.setPointerChecker(a.containsPoint),ul(a,"dispatchAction",s.model.get("throttle",!0),"fixRate")})})}var oP=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return t.prototype.render=function(e,n,i){if(r.prototype.render.apply(this,arguments),e.noTarget()){this._clear();return}this.range=e.getPercentRange(),jI(i,e,{pan:$(Vu.pan,this),zoom:$(Vu.zoom,this),scrollMove:$(Vu.scrollMove,this)})},t.prototype.dispose=function(){this._clear(),r.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){tP(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t}(xv),Vu={zoom:function(r,t,e,n){var i=this.range,a=i.slice(),o=r.axisModels[0];if(o){var s=Hu[t](null,[n.originX,n.originY],o,e,r),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(a[1]-a[0])+a[0],u=Math.max(1/n.scale,0);a[0]=(a[0]-l)*u+l,a[1]=(a[1]-l)*u+l;var f=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(Xa(0,a,[0,100],0,f.minSpan,f.maxSpan),this.range=a,i[0]!==a[0]||i[1]!==a[1])return a}},pan:Eg(function(r,t,e,n,i,a){var o=Hu[n]([a.oldX,a.oldY],[a.newX,a.newY],t,i,e);return o.signal*(r[1]-r[0])*o.pixel/o.pixelLength}),scrollMove:Eg(function(r,t,e,n,i,a){var o=Hu[n]([0,0],[a.scrollDelta,a.scrollDelta],t,i,e);return o.signal*(r[1]-r[0])*a.scrollDelta})};function Eg(r){return function(t,e,n,i){var a=this.range,o=a.slice(),s=t.axisModels[0];if(s){var l=r(o,s,t,e,n,i);if(Xa(l,o,[0,100],"all"),this.range=o,a[0]!==o[0]||a[1]!==o[1])return o}}}var Hu={grid:function(r,t,e,n,i){var a=e.axis,o={},s=i.model.coordinateSystem.getRect();return r=r||[0,0],a.dim==="x"?(o.pixel=t[0]-r[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=a.inverse?1:-1):(o.pixel=t[1]-r[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=a.inverse?-1:1),o},polar:function(r,t,e,n,i){var a=e.axis,o={},s=i.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return r=r?s.pointToCoord(r):[0,0],t=s.pointToCoord(t),e.mainType==="radiusAxis"?(o.pixel=t[0]-r[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=a.inverse?1:-1):(o.pixel=t[1]-r[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=a.inverse?-1:1),o},singleAxis:function(r,t,e,n,i){var a=e.axis,o=i.model.coordinateSystem.getRect(),s={};return r=r||[0,0],a.orient==="horizontal"?(s.pixel=t[0]-r[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=a.inverse?1:-1):(s.pixel=t[1]-r[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=a.inverse?-1:1),s}};function sP(r){wv(r),r.registerComponentModel(JI),r.registerComponentView(oP),aP(r)}var lP=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=tl(Ba.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),t}(Ba),Xi=gt,kg=7,uP=1,Wu=30,fP=7,$i="horizontal",Og="vertical",hP=5,vP=["line","bar","candlestick","scatter"],cP={easing:"cubicOut",duration:100,delay:0},dP=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._displayables={},e}return t.prototype.init=function(e,n){this.api=n,this._onBrush=$(this._onBrush,this),this._onBrushEnd=$(this._onBrushEnd,this)},t.prototype.render=function(e,n,i,a){if(r.prototype.render.apply(this,arguments),ul(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),e.get("show")===!1){this.group.removeAll();return}if(e.noTarget()){this._clear(),this.group.removeAll();return}(!a||a.type!=="dataZoom"||a.from!==this.uid)&&this._buildView(),this._updateView()},t.prototype.dispose=function(){this._clear(),r.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){Ss(this,"_dispatchZoomAction");var e=this.api.getZr();e.off("mousemove",this._onBrush),e.off("mouseup",this._onBrushEnd)},t.prototype._buildView=function(){var e=this.group;e.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var n=this._displayables.sliderGroup=new bt;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(n),this._positionGroup()},t.prototype._resetLocation=function(){var e=this.dataZoomModel,n=this.api,i=e.get("brushSelect"),a=i?fP:0,o=this._findCoordRect(),s={width:n.getWidth(),height:n.getHeight()},l=this._orient===$i?{right:s.width-o.x-o.width,top:s.height-Wu-kg-a,width:o.width,height:Wu}:{right:kg,top:o.y,width:Wu,height:o.height},u=Za(e.option);M(["right","top","width","height"],function(h){u[h]==="ph"&&(u[h]=l[h])});var f=fr(u,s);this._location={x:f.x,y:f.y},this._size=[f.width,f.height],this._orient===Og&&this._size.reverse()},t.prototype._positionGroup=function(){var e=this.group,n=this._location,i=this._orient,a=this.dataZoomModel.getFirstTargetAxisModel(),o=a&&a.get("inverse"),s=this._displayables.sliderGroup,l=(this._dataShadowInfo||{}).otherAxisInverse;s.attr(i===$i&&!o?{scaleY:l?1:-1,scaleX:1}:i===$i&&o?{scaleY:l?1:-1,scaleX:-1}:i===Og&&!o?{scaleY:l?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:l?-1:1,scaleX:-1,rotation:Math.PI/2});var u=e.getBoundingRect([s]);e.x=n.x-u.x,e.y=n.y-u.y,e.markRedraw()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var e=this.dataZoomModel,n=this._size,i=this._displayables.sliderGroup,a=e.get("brushSelect");i.add(new Xi({silent:!0,shape:{x:0,y:0,width:n[0],height:n[1]},style:{fill:e.get("backgroundColor")},z2:-40}));var o=new Xi({shape:{x:0,y:0,width:n[0],height:n[1]},style:{fill:"transparent"},z2:0,onclick:$(this._onClickPanel,this)}),s=this.api.getZr();a?(o.on("mousedown",this._onBrushStart,this),o.cursor="crosshair",s.on("mousemove",this._onBrush),s.on("mouseup",this._onBrushEnd)):(s.off("mousemove",this._onBrush),s.off("mouseup",this._onBrushEnd)),i.add(o)},t.prototype._renderDataShadow=function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!e)return;var n=this._size,i=this._shadowSize||[],a=e.series,o=a.getRawData(),s=a.getShadowDim&&a.getShadowDim(),l=s&&o.getDimensionInfo(s)?a.getShadowDim():e.otherDim;if(l==null)return;var u=this._shadowPolygonPts,f=this._shadowPolylinePts;if(o!==this._shadowData||l!==this._shadowDim||n[0]!==i[0]||n[1]!==i[1]){var h=o.getDataExtent(l),c=(h[1]-h[0])*.3;h=[h[0]-c,h[1]+c];var v=[0,n[1]],d=[0,n[0]],p=[[n[0],0],[0,0]],g=[],y=d[1]/(o.count()-1),m=0,_=Math.round(o.count()/n[0]),S;o.each([l],function(T,D){if(_>0&&D%_){m+=y;return}var A=T==null||isNaN(T)||T==="",L=A?0:Et(T,h,v,!0);A&&!S&&D?(p.push([p[p.length-1][0],0]),g.push([g[g.length-1][0],0])):!A&&S&&(p.push([m,0]),g.push([m,0])),p.push([m,L]),g.push([m,L]),m+=y,S=A}),u=this._shadowPolygonPts=p,f=this._shadowPolylinePts=g}this._shadowData=o,this._shadowDim=l,this._shadowSize=[n[0],n[1]];var w=this.dataZoomModel;function x(T){var D=w.getModel(T?"selectedDataBackground":"dataBackground"),A=new bt,L=new mi({shape:{points:u},segmentIgnoreThreshold:1,style:D.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),I=new wn({shape:{points:f},segmentIgnoreThreshold:1,style:D.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return A.add(L),A.add(I),A}for(var b=0;b<3;b++){var C=x(b===1);this._displayables.sliderGroup.add(C),this._displayables.dataShadowSegs.push(C)}},t.prototype._prepareDataShadowInfo=function(){var e=this.dataZoomModel,n=e.get("showDataShadow");if(n!==!1){var i,a=this.ecModel;return e.eachTargetAxis(function(o,s){var l=e.getAxisProxy(o,s).getTargetSeriesModels();M(l,function(u){if(!i&&!(n!==!0&&it(vP,u.get("type"))<0)){var f=a.getComponent(Dr(o),s).axis,h=pP(o),c,v=u.coordinateSystem;h!=null&&v.getOtherAxis&&(c=v.getOtherAxis(f).inverse),h=u.getData().mapDimension(h),i={thisAxis:f,series:u,thisDim:o,otherDim:h,otherAxisInverse:c}}},this)},this),i}},t.prototype._renderHandle=function(){var e=this.group,n=this._displayables,i=n.handles=[null,null],a=n.handleLabels=[null,null],o=this._displayables.sliderGroup,s=this._size,l=this.dataZoomModel,u=this.api,f=l.get("borderRadius")||0,h=l.get("brushSelect"),c=n.filler=new Xi({silent:h,style:{fill:l.get("fillerColor")},textConfig:{position:"inside"}});o.add(c),o.add(new Xi({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:s[0],height:s[1],r:f},style:{stroke:l.get("dataBackgroundColor")||l.get("borderColor"),lineWidth:uP,fill:"rgba(0,0,0,0)"}})),M([0,1],function(_){var S=l.get("handleIcon");!ws[S]&&S.indexOf("path://")<0&&S.indexOf("image://")<0&&(S="path://"+S);var w=Br(S,-1,0,2,2,null,!0);w.attr({cursor:Bg(this._orient),draggable:!0,drift:$(this._onDragMove,this,_),ondragend:$(this._onDragEnd,this),onmouseover:$(this._showDataInfo,this,!0),onmouseout:$(this._showDataInfo,this,!1),z2:5});var x=w.getBoundingRect(),b=l.get("handleSize");this._handleHeight=dt(b,this._size[1]),this._handleWidth=x.width/x.height*this._handleHeight,w.setStyle(l.getModel("handleStyle").getItemStyle()),w.style.strokeNoScale=!0,w.rectHover=!0,w.ensureState("emphasis").style=l.getModel(["emphasis","handleStyle"]).getItemStyle(),hs(w);var C=l.get("handleColor");C!=null&&(w.style.fill=C),o.add(i[_]=w);var T=l.getModel("textStyle"),D=l.get("handleLabel")||{},A=D.show||!1;e.add(a[_]=new At({silent:!0,invisible:!A,style:ur(T,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:T.getTextColor(),font:T.getFont()}),z2:10}))},this);var v=c;if(h){var d=dt(l.get("moveHandleSize"),s[1]),p=n.moveHandle=new gt({style:l.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:s[1]-.5,height:d}}),g=d*.8,y=n.moveHandleIcon=Br(l.get("moveHandleIcon"),-g/2,-g/2,g,g,"#fff",!0);y.silent=!0,y.y=s[1]+d/2-.5,p.ensureState("emphasis").style=l.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var m=Math.min(s[1]/2,Math.max(d,10));v=n.moveZone=new gt({invisible:!0,shape:{y:s[1]-m,height:d+m}}),v.on("mouseover",function(){u.enterEmphasis(p)}).on("mouseout",function(){u.leaveEmphasis(p)}),o.add(p),o.add(y),o.add(v)}v.attr({draggable:!0,cursor:Bg(this._orient),drift:$(this._onDragMove,this,"all"),ondragstart:$(this._showDataInfo,this,!0),ondragend:$(this._onDragEnd,this),onmouseover:$(this._showDataInfo,this,!0),onmouseout:$(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var e=this._range=this.dataZoomModel.getPercentRange(),n=this._getViewExtent();this._handleEnds=[Et(e[0],[0,100],n,!0),Et(e[1],[0,100],n,!0)]},t.prototype._updateInterval=function(e,n){var i=this.dataZoomModel,a=this._handleEnds,o=this._getViewExtent(),s=i.findRepresentativeAxisProxy().getMinMaxSpan(),l=[0,100];Xa(n,a,o,i.get("zoomLock")?"all":e,s.minSpan!=null?Et(s.minSpan,l,o,!0):null,s.maxSpan!=null?Et(s.maxSpan,l,o,!0):null);var u=this._range,f=this._range=Ji([Et(a[0],o,l,!0),Et(a[1],o,l,!0)]);return!u||u[0]!==f[0]||u[1]!==f[1]},t.prototype._updateView=function(e){var n=this._displayables,i=this._handleEnds,a=Ji(i.slice()),o=this._size;M([0,1],function(v){var d=n.handles[v],p=this._handleHeight;d.attr({scaleX:p/2,scaleY:p/2,x:i[v]+(v?-1:1),y:o[1]/2-p/2})},this),n.filler.setShape({x:a[0],y:0,width:a[1]-a[0],height:o[1]});var s={x:a[0],width:a[1]-a[0]};n.moveHandle&&(n.moveHandle.setShape(s),n.moveZone.setShape(s),n.moveZone.getBoundingRect(),n.moveHandleIcon&&n.moveHandleIcon.attr("x",s.x+s.width/2));for(var l=n.dataShadowSegs,u=[0,a[0],a[1],o[0]],f=0;fn[0]||i[1]<0||i[1]>n[1])){var a=this._handleEnds,o=(a[0]+a[1])/2,s=this._updateInterval("all",i[0]-o);this._updateView(),s&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(e){var n=e.offsetX,i=e.offsetY;this._brushStart=new Y(n,i),this._brushing=!0,this._brushStartTime=+new Date},t.prototype._onBrushEnd=function(e){if(this._brushing){var n=this._displayables.brushRect;if(this._brushing=!1,!!n){n.attr("ignore",!0);var i=n.shape,a=+new Date;if(!(a-this._brushStartTime<200&&Math.abs(i.width)<5)){var o=this._getViewExtent(),s=[0,100];this._range=Ji([Et(i.x,o,s,!0),Et(i.x+i.width,o,s,!0)]),this._handleEnds=[i.x,i.x+i.width],this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(e){this._brushing&&(si(e.event),this._updateBrushRect(e.offsetX,e.offsetY))},t.prototype._updateBrushRect=function(e,n){var i=this._displayables,a=this.dataZoomModel,o=i.brushRect;o||(o=i.brushRect=new Xi({silent:!0,style:a.getModel("brushStyle").getItemStyle()}),i.sliderGroup.add(o)),o.attr("ignore",!1);var s=this._brushStart,l=this._displayables.sliderGroup,u=l.transformCoordToLocal(e,n),f=l.transformCoordToLocal(s.x,s.y),h=this._size;u[0]=Math.max(Math.min(h[0],u[0]),0),o.setShape({x:f[0],y:0,width:u[0]-f[0],height:h[1]})},t.prototype._dispatchZoomAction=function(e){var n=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:e?cP:null,start:n[0],end:n[1]})},t.prototype._findCoordRect=function(){var e,n=i1(this.dataZoomModel).infoList;if(!e&&n.length){var i=n[0].model.coordinateSystem;e=i.getRect&&i.getRect()}if(!e){var a=this.api.getWidth(),o=this.api.getHeight();e={x:a*.2,y:o*.2,width:a*.6,height:o*.6}}return e},t.type="dataZoom.slider",t}(xv);function pP(r){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[r]}function Bg(r){return r==="vertical"?"ns-resize":"ew-resize"}function gP(r){r.registerComponentModel(lP),r.registerComponentView(dP),wv(r)}function nR(r){Ye(sP),Ye(gP)}var Be=lr.CMD;function Kn(r,t){return Math.abs(r-t)<1e-5}function lh(r){var t=r.data,e=r.len(),n=[],i,a=0,o=0,s=0,l=0;function u(I,P){i&&i.length>2&&n.push(i),i=[I,P]}function f(I,P,R,E){Kn(I,R)&&Kn(P,E)||i.push(I,P,R,E,R,E)}function h(I,P,R,E,F,k){var O=Math.abs(P-I),z=Math.tan(O/4)*4/3,H=PC:A2&&n.push(i),n}function uh(r,t,e,n,i,a,o,s,l,u){if(Kn(r,e)&&Kn(t,n)&&Kn(i,o)&&Kn(a,s)){l.push(o,s);return}var f=2/u,h=f*f,c=o-r,v=s-t,d=Math.sqrt(c*c+v*v);c/=d,v/=d;var p=e-r,g=n-t,y=i-o,m=a-s,_=p*p+g*g,S=y*y+m*m;if(_=0&&C=0){l.push(o,s);return}var T=[],D=[];Er(r,e,i,o,.5,T),Er(t,n,a,s,.5,D),uh(T[0],D[0],T[1],D[1],T[2],D[2],T[3],D[3],l,u),uh(T[4],D[4],T[5],D[5],T[6],D[6],T[7],D[7],l,u)}function yP(r,t){var e=lh(r),n=[];t=t||1;for(var i=0;i0)for(var u=0;uMath.abs(u),h=_1([l,u],f?0:1,t),c=(f?s:u)/h.length,v=0;vi,o=_1([n,i],a?0:1,t),s=a?"width":"height",l=a?"height":"width",u=a?"x":"y",f=a?"y":"x",h=r[s]/o.length,c=0;c1?null:new Y(p*l+r,p*u+t)}function SP(r,t,e){var n=new Y;Y.sub(n,e,t),n.normalize();var i=new Y;Y.sub(i,r,t);var a=i.dot(n);return a}function Vn(r,t){var e=r[r.length-1];e&&e[0]===t[0]&&e[1]===t[1]||r.push(t)}function xP(r,t,e){for(var n=r.length,i=[],a=0;ao?(u.x=f.x=s+a/2,u.y=l,f.y=l+o):(u.y=f.y=l+o/2,u.x=s,f.x=s+a),xP(t,u,f)}function Is(r,t,e,n){if(e===1)n.push(t);else{var i=Math.floor(e/2),a=r(t);Is(r,a[0],i,n),Is(r,a[1],e-i,n)}return n}function wP(r,t){for(var e=[],n=0;n0;u/=2){var f=0,h=0;(r&u)>0&&(f=1),(t&u)>0&&(h=1),s+=u*u*(3*f^h),h===0&&(f===1&&(r=u-1-r,t=u-1-t),l=r,r=t,t=l)}return s}function Es(r){var t=1/0,e=1/0,n=-1/0,i=-1/0,a=V(r,function(s){var l=s.getBoundingRect(),u=s.getComputedTransform(),f=l.x+l.width/2+(u?u[4]:0),h=l.y+l.height/2+(u?u[5]:0);return t=Math.min(f,t),e=Math.min(h,e),n=Math.max(f,n),i=Math.max(h,i),[f,h]}),o=V(a,function(s,l){return{cp:s,z:PP(s[0],s[1],t,e,n,i),path:r[l]}});return o.sort(function(s,l){return s.z-l.z}).map(function(s){return s.path})}function w1(r){return CP(r.path,r.count)}function fh(){return{fromIndividuals:[],toIndividuals:[],count:0}}function RP(r,t,e){var n=[];function i(w){for(var x=0;x=0;i--)if(!e[i].many.length){var l=e[s].many;if(l.length<=1)if(s)s=0;else return e;var a=l.length,u=Math.ceil(a/2);e[i].many=l.slice(u,a),e[s].many=l.slice(0,u),s++}return e}var kP={clone:function(r){for(var t=[],e=1-Math.pow(1-r.path.style.opacity,1/r.count),n=0;n0))return;var s=n.getModel("universalTransition").get("delay"),l=Object.assign({setToFinal:!0},o),u,f;Wg(r)&&(u=r,f=t),Wg(t)&&(u=t,f=r);function h(y,m,_,S,w){var x=y.many,b=y.one;if(x.length===1&&!w){var C=m?x[0]:b,T=m?b:x[0];if(Ps(C))h({many:[C],one:T},!0,_,S,!0);else{var D=s?j({delay:s(_,S)},l):l;Dv(C,T,D),a(C,T,C,T,D)}}else for(var A=j({dividePath:kP[e],individualDelay:s&&function(F,k,O,z){return s(F+_,S)}},l),L=m?RP(x,b,A):EP(b,x,A),I=L.fromIndividuals,P=L.toIndividuals,R=I.length,E=0;Et.length,v=u?Ug(f,u):Ug(c?t:r,[c?r:t]),d=0,p=0;pb1))for(var a=n.getIndices(),o=0;o0&&x.group.traverse(function(C){C instanceof at&&!C.animators.length&&C.animateFrom({style:{opacity:0}},b)})})}function qg(r){var t=r.getModel("universalTransition").get("seriesKey");return t||r.id}function Kg(r){return G(r)?r.sort().join(","):r}function Tr(r){if(r.hostModel)return r.hostModel.getModel("universalTransition").get("divideShape")}function VP(r,t){var e=X(),n=X(),i=X();return M(r.oldSeries,function(a,o){var s=r.oldDataGroupIds[o],l=r.oldData[o],u=qg(a),f=Kg(u);n.set(f,{dataGroupId:s,data:l}),G(u)&&M(u,function(h){i.set(h,{key:f,dataGroupId:s,data:l})})}),M(t.updatedSeries,function(a){if(a.isUniversalTransitionEnabled()&&a.isAnimationEnabled()){var o=a.get("dataGroupId"),s=a.getData(),l=qg(a),u=Kg(l),f=n.get(u);if(f)e.set(u,{oldSeries:[{dataGroupId:f.dataGroupId,divide:Tr(f.data),data:f.data}],newSeries:[{dataGroupId:o,divide:Tr(s),data:s}]});else if(G(l)){var h=[];M(l,function(d){var p=n.get(d);p.data&&h.push({dataGroupId:p.dataGroupId,divide:Tr(p.data),data:p.data})}),h.length&&e.set(u,{oldSeries:h,newSeries:[{dataGroupId:o,data:s,divide:Tr(s)}]})}else{var c=i.get(l);if(c){var v=e.get(c.key);v||(v={oldSeries:[{dataGroupId:c.dataGroupId,data:c.data,divide:Tr(c.data)}],newSeries:[]},e.set(c.key,v)),v.newSeries.push({dataGroupId:o,data:s,divide:Tr(s)})}}}}),e}function Qg(r,t){for(var e=0;e=0&&i.push({dataGroupId:t.oldDataGroupIds[s],data:t.oldData[s],divide:Tr(t.oldData[s]),groupIdDim:o.dimension})}),M(Dt(r.to),function(o){var s=Qg(e.updatedSeries,o);if(s>=0){var l=e.updatedSeries[s].getData();a.push({dataGroupId:t.oldDataGroupIds[s],data:l,divide:Tr(l),groupIdDim:o.dimension})}}),i.length>0&&a.length>0&&T1(i,a,n)}function iR(r){r.registerUpdateLifecycle("series:beforeupdate",function(t,e,n){M(Dt(n.seriesTransition),function(i){M(Dt(i.to),function(a){for(var o=n.updatedSeries,s=0;s=s)}}for(var h=this.__startIndex;h15)break}}P.prevElClipPaths&&y.restore()};if(m)if(m.length===0)C=g.__endIndex;else for(var D=v.dpr,A=0;A0&&t>i[0]){for(l=0;lt);l++);s=n[i[l]]}if(i.splice(l+1,0,t),n[t]=e,!e.virtual)if(s){var u=s.dom;u.nextSibling?o.insertBefore(e.dom,u.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}},r.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i0?Bo:0),this._needsManuallyCompositing),f.__builtin__||dh("ZLevel "+u+" has been used by unkown layer "+f.id),f!==a&&(f.__used=!0,f.__startIndex!==l&&(f.__dirty=!0),f.__startIndex=l,f.incremental?f.__drawIndex=-1:f.__drawIndex=l,e(l),a=f),i.__dirty&ie&&!i.__inHover&&(f.__dirty=!0,f.incremental&&f.__drawIndex<0&&(f.__drawIndex=l))}e(l),this.eachBuiltinLayer(function(h,c){!h.__used&&h.getElementCount()>0&&(h.__dirty=!0,h.__startIndex=h.__endIndex=h.__drawIndex=0),h.__dirty&&h.__drawIndex<0&&(h.__drawIndex=h.__startIndex)})},r.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},r.prototype._clearLayer=function(t){t.clear()},r.prototype.setBackgroundColor=function(t){this._backgroundColor=t,M(this._layers,function(e){e.setUnpainted()})},r.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?rt(n[t],e,!0):n[t]=e;for(var i=0;i]*>/gi,function(e,r){return e=e.replace(/style="[^"]+"/gi,"").replace(/style='[^']+'/gi,""),e=e.replace(/width="[^"]+"/gi,"").replace(/width='[^']+'/gi,""),e=e.replace(/height="[^"]+"/gi,"").replace(/height='[^']+'/gi,""),e});return i=i.replace(/style="[^"]+"/gi,function(e,r){return e=e.replace(/width:[^;]+;/gi,"max-width:100%;").replace(/width:[^;]+;/gi,"max-width:100%;"),e}),i=i.replace(/\img{width:100%;height:100%;display:block}.el-avatar--circle{border-radius:50%}.el-avatar--square{border-radius:var(--el-avatar-border-radius)}.el-avatar--icon{font-size:var(--el-avatar-icon-size)}.el-avatar--small{--el-avatar-size:24px}.el-avatar--large{--el-avatar-size:56px}.el-avatar-group{--el-avatar-group-item-gap:-8px;--el-avatar-group-collapse-item-gap:4px;display:inline-flex}.el-avatar-group .el-avatar{border:1px solid var(--el-border-color-extra-light)}.el-avatar-group .el-avatar:not(:first-child){margin-left:var(--el-avatar-group-item-gap)}.el-avatar-group__collapse-avatars{--el-avatar-group-item-gap:-8px;--el-avatar-group-collapse-item-gap:4px}.el-avatar-group__collapse-avatars .el-avatar:not(:first-child){margin-left:var(--el-avatar-group-collapse-item-gap)}.el-backtop{--el-backtop-bg-color:var(--el-bg-color-overlay);--el-backtop-text-color:var(--el-color-primary);--el-backtop-hover-bg-color:var(--el-border-color-extra-light);background-color:var(--el-backtop-bg-color);width:40px;height:40px;color:var(--el-backtop-text-color);box-shadow:var(--el-box-shadow-lighter);cursor:pointer;z-index:5;border-radius:50%;justify-content:center;align-items:center;font-size:20px;display:flex;position:fixed}.el-backtop:hover{background-color:var(--el-backtop-hover-bg-color)}.el-backtop__icon{font-size:20px}.el-badge{--el-badge-bg-color:var(--el-color-danger);--el-badge-radius:10px;--el-badge-font-size:12px;--el-badge-padding:6px;--el-badge-size:18px;vertical-align:middle;width:fit-content;display:inline-block;position:relative}.el-badge__content{background-color:var(--el-badge-bg-color);border-radius:var(--el-badge-radius);color:var(--el-color-white);font-size:var(--el-badge-font-size);height:var(--el-badge-size);padding:0 var(--el-badge-padding);white-space:nowrap;border:1px solid var(--el-bg-color);justify-content:center;align-items:center;display:inline-flex}.el-badge__content.is-fixed{top:0;right:calc(1px + var(--el-badge-size) / 2);z-index:var(--el-index-normal);position:absolute;transform:translateY(-50%)translate(100%)}.el-badge__content.is-fixed.is-dot{right:5px}.el-badge__content.is-dot{border-radius:50%;width:8px;height:8px;padding:0;right:0}.el-badge__content.is-hide-zero{display:none}.el-badge__content--primary{background-color:var(--el-color-primary)}.el-badge__content--success{background-color:var(--el-color-success)}.el-badge__content--warning{background-color:var(--el-color-warning)}.el-badge__content--info{background-color:var(--el-color-info)}.el-badge__content--danger{background-color:var(--el-color-danger)}.el-breadcrumb__separator{color:var(--el-text-color-placeholder);margin:0 9px;font-weight:700}.el-breadcrumb__separator.el-icon{margin:0 6px;font-weight:400}.el-breadcrumb__separator.el-icon svg{vertical-align:middle}.el-breadcrumb__item{float:left;align-items:center;display:inline-flex}.el-breadcrumb__inner{color:var(--el-text-color-regular)}.el-breadcrumb__inner.is-link,.el-breadcrumb__inner a{transition:var(--el-transition-color);color:var(--el-text-color-primary);font-weight:700;text-decoration:none}.el-breadcrumb__inner.is-link:hover,.el-breadcrumb__inner a:hover{color:var(--el-color-primary);cursor:pointer}.el-breadcrumb__item:last-child .el-breadcrumb__inner,.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner a,.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover{color:var(--el-text-color-regular);cursor:text;font-weight:400}.el-breadcrumb__item:last-child .el-breadcrumb__separator{display:none}.el-breadcrumb{font-size:14px;line-height:1}.el-breadcrumb:before,.el-breadcrumb:after{content:"";display:table}.el-breadcrumb:after{clear:both}.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button:first-child:last-child{border-top-right-radius:var(--el-border-radius-base);border-bottom-right-radius:var(--el-border-radius-base);border-top-left-radius:var(--el-border-radius-base);border-bottom-left-radius:var(--el-border-radius-base)}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:var(--el-border-radius-round)}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button:hover,.el-button-group>.el-button:focus,.el-button-group>.el-button:active,.el-button-group>.el-button.is-active{z-index:1}.el-button-group--horizontal{vertical-align:middle;display:inline-block}.el-button-group--horizontal:before,.el-button-group--horizontal:after{content:"";display:table}.el-button-group--horizontal:after{clear:both}.el-button-group--horizontal>.el-button{float:left;position:relative}.el-button-group--horizontal>.el-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.el-button-group--horizontal>.el-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.el-button-group--horizontal>.el-button:not(:last-child){margin-right:-1px}.el-button-group--horizontal .el-button--primary:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--primary:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--primary:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--success:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--success:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--success:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--warning:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--warning:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--warning:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--danger:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--danger:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--danger:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--info:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--info:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--info:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal>.el-dropdown>.el-button{border-left-color:var(--el-button-divide-border-color);border-top-left-radius:0;border-bottom-left-radius:0}.el-button-group--vertical{flex-direction:column;align-items:stretch;display:inline-flex}.el-button-group--vertical>.el-button{margin-top:-1px}.el-button-group--vertical>.el-button:first-child{border-bottom-right-radius:0;border-bottom-left-radius:0}.el-button-group--vertical>.el-button:last-child{border-top-left-radius:0;border-top-right-radius:0}.el-button-group--vertical>.el-dropdown{margin-top:-1px}.el-button-group--vertical>.el-dropdown>.el-button{border-left-color:var(--el-button-divide-border-color);border-top-left-radius:0;border-top-right-radius:0}.el-button-group--vertical .el-button--primary:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--primary:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--primary:not(:first-child):not(:last-child){border-top-color:var(--el-button-divide-border-color);border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:not(:first-child):not(:last-child){border-top-color:var(--el-button-divide-border-color);border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:not(:first-child):not(:last-child){border-top-color:var(--el-button-divide-border-color);border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:not(:first-child):not(:last-child){border-top-color:var(--el-button-divide-border-color);border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:not(:first-child):not(:last-child){border-top-color:var(--el-button-divide-border-color);border-bottom-color:var(--el-button-divide-border-color)}.el-button{--el-button-font-weight:var(--el-font-weight-primary);--el-button-border-color:var(--el-border-color);--el-button-bg-color:var(--el-fill-color-blank);--el-button-text-color:var(--el-text-color-regular);--el-button-disabled-text-color:var(--el-disabled-text-color);--el-button-disabled-bg-color:var(--el-fill-color-blank);--el-button-disabled-border-color:var(--el-border-color-light);--el-button-divide-border-color:#ffffff80;--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-color-primary-light-9);--el-button-hover-border-color:var(--el-color-primary-light-7);--el-button-active-text-color:var(--el-button-hover-text-color);--el-button-active-border-color:var(--el-color-primary);--el-button-active-bg-color:var(--el-button-hover-bg-color);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-hover-link-text-color:var(--el-text-color-secondary);--el-button-active-color:var(--el-text-color-primary);white-space:nowrap;cursor:pointer;height:32px;color:var(--el-button-text-color);text-align:center;box-sizing:border-box;line-height:1;font-weight:var(--el-button-font-weight);-webkit-user-select:none;user-select:none;vertical-align:middle;-webkit-appearance:none;background-color:var(--el-button-bg-color);border:var(--el-border);border-color:var(--el-button-border-color);outline:none;justify-content:center;align-items:center;transition:all .1s;display:inline-flex}.el-button:hover{color:var(--el-button-hover-text-color);border-color:var(--el-button-hover-border-color);background-color:var(--el-button-hover-bg-color);outline:none}.el-button:active{color:var(--el-button-active-text-color);border-color:var(--el-button-active-border-color);background-color:var(--el-button-active-bg-color);outline:none}.el-button:focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset,outline}.el-button>span{align-items:center;display:inline-flex}.el-button+.el-button{margin-left:12px}.el-button{font-size:var(--el-font-size-base);border-radius:var(--el-border-radius-base);padding:8px 15px}.el-button.is-round{padding:8px 15px}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon]+span{margin-left:6px}.el-button [class*=el-icon] svg{vertical-align:bottom}.el-button.is-plain{--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-fill-color-blank);--el-button-hover-border-color:var(--el-color-primary)}.el-button.is-active{color:var(--el-button-active-text-color);border-color:var(--el-button-active-border-color);background-color:var(--el-button-active-bg-color);outline:none}.el-button.is-disabled,.el-button.is-disabled:hover{color:var(--el-button-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color);border-color:var(--el-button-disabled-border-color)}.el-button.is-loading{pointer-events:none;position:relative}.el-button.is-loading:before{z-index:1;pointer-events:none;content:"";border-radius:inherit;background-color:var(--el-mask-color-extra-light);position:absolute;top:-1px;bottom:-1px;left:-1px;right:-1px}.el-button.is-round{border-radius:var(--el-border-radius-round)}.el-button.is-dashed{--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-fill-color-blank);--el-button-hover-border-color:var(--el-color-primary);border-style:dashed}.el-button.is-circle{border-radius:50%;width:32px;padding:8px}.el-button.is-text{color:var(--el-button-text-color);background-color:#0000;border:0 solid #0000}.el-button.is-text.is-disabled{color:var(--el-button-disabled-text-color);background-color:#0000!important}.el-button.is-text:not(.is-disabled):hover{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled):focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset,outline}.el-button.is-text:not(.is-disabled):active{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled).is-has-bg:hover{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg:active{background-color:var(--el-fill-color-dark)}.el-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.el-button.is-link{color:var(--el-button-text-color);background:0 0;border-color:#0000;height:auto;padding:2px}.el-button.is-link:hover{color:var(--el-button-hover-link-text-color)}.el-button.is-link.is-disabled{color:var(--el-button-disabled-text-color);background-color:#0000!important;border-color:#0000!important}.el-button.is-link:not(.is-disabled):hover{background-color:#0000;border-color:#0000}.el-button.is-link:not(.is-disabled):active{color:var(--el-button-active-color);background-color:#0000;border-color:#0000}.el-button--text{color:var(--el-color-primary);background:0 0;border-color:#0000;padding-left:0;padding-right:0}.el-button--text.is-disabled{color:var(--el-button-disabled-text-color);background-color:#0000!important;border-color:#0000!important}.el-button--text:not(.is-disabled):hover{color:var(--el-color-primary-light-3);background-color:#0000;border-color:#0000}.el-button--text:not(.is-disabled):active{color:var(--el-color-primary-dark-2);background-color:#0000;border-color:#0000}.el-button__link--expand{letter-spacing:.3em;margin-right:-.3em}.el-button--primary{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-primary);--el-button-border-color:var(--el-color-primary);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-active-color:var(--el-color-primary-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-primary-light-5);--el-button-hover-bg-color:var(--el-color-primary-light-3);--el-button-hover-border-color:var(--el-color-primary-light-3);--el-button-active-bg-color:var(--el-color-primary-dark-2);--el-button-active-border-color:var(--el-color-primary-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-primary-light-5);--el-button-disabled-border-color:var(--el-color-primary-light-5)}.el-button--primary.is-plain,.el-button--primary.is-text,.el-button--primary.is-link{--el-button-text-color:var(--el-color-primary);--el-button-bg-color:var(--el-color-primary-light-9);--el-button-border-color:var(--el-color-primary-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-primary);--el-button-hover-border-color:var(--el-color-primary);--el-button-active-text-color:var(--el-color-white)}.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:hover,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-text.is-disabled,.el-button--primary.is-text.is-disabled:hover,.el-button--primary.is-text.is-disabled:focus,.el-button--primary.is-text.is-disabled:active,.el-button--primary.is-link.is-disabled,.el-button--primary.is-link.is-disabled:hover,.el-button--primary.is-link.is-disabled:focus,.el-button--primary.is-link.is-disabled:active{color:var(--el-color-primary-light-5);background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8)}.el-button--primary.is-dashed{--el-button-text-color:var(--el-color-primary);--el-button-bg-color:var(--el-color-primary-light-9);--el-button-border-color:var(--el-color-primary-light-5);--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-color-primary-light-9);--el-button-hover-border-color:var(--el-color-primary-light-3);--el-button-active-text-color:var(--el-color-primary-dark-2);--el-button-active-bg-color:var(--el-color-primary-light-9);--el-button-active-border-color:var(--el-color-primary-dark-2)}.el-button--primary.is-dashed.is-disabled,.el-button--primary.is-dashed.is-disabled:hover,.el-button--primary.is-dashed.is-disabled:focus,.el-button--primary.is-dashed.is-disabled:active{color:var(--el-color-primary-light-5);background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8)}.el-button--success{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-success);--el-button-border-color:var(--el-color-success);--el-button-outline-color:var(--el-color-success-light-5);--el-button-active-color:var(--el-color-success-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-success-light-5);--el-button-hover-bg-color:var(--el-color-success-light-3);--el-button-hover-border-color:var(--el-color-success-light-3);--el-button-active-bg-color:var(--el-color-success-dark-2);--el-button-active-border-color:var(--el-color-success-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-success-light-5);--el-button-disabled-border-color:var(--el-color-success-light-5)}.el-button--success.is-plain,.el-button--success.is-text,.el-button--success.is-link{--el-button-text-color:var(--el-color-success);--el-button-bg-color:var(--el-color-success-light-9);--el-button-border-color:var(--el-color-success-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-success);--el-button-hover-border-color:var(--el-color-success);--el-button-active-text-color:var(--el-color-white)}.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:hover,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-text.is-disabled,.el-button--success.is-text.is-disabled:hover,.el-button--success.is-text.is-disabled:focus,.el-button--success.is-text.is-disabled:active,.el-button--success.is-link.is-disabled,.el-button--success.is-link.is-disabled:hover,.el-button--success.is-link.is-disabled:focus,.el-button--success.is-link.is-disabled:active{color:var(--el-color-success-light-5);background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8)}.el-button--success.is-dashed{--el-button-text-color:var(--el-color-success);--el-button-bg-color:var(--el-color-success-light-9);--el-button-border-color:var(--el-color-success-light-5);--el-button-hover-text-color:var(--el-color-success);--el-button-hover-bg-color:var(--el-color-success-light-9);--el-button-hover-border-color:var(--el-color-success-light-3);--el-button-active-text-color:var(--el-color-success-dark-2);--el-button-active-bg-color:var(--el-color-success-light-9);--el-button-active-border-color:var(--el-color-success-dark-2)}.el-button--success.is-dashed.is-disabled,.el-button--success.is-dashed.is-disabled:hover,.el-button--success.is-dashed.is-disabled:focus,.el-button--success.is-dashed.is-disabled:active{color:var(--el-color-success-light-5);background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8)}.el-button--warning{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-warning);--el-button-border-color:var(--el-color-warning);--el-button-outline-color:var(--el-color-warning-light-5);--el-button-active-color:var(--el-color-warning-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-warning-light-5);--el-button-hover-bg-color:var(--el-color-warning-light-3);--el-button-hover-border-color:var(--el-color-warning-light-3);--el-button-active-bg-color:var(--el-color-warning-dark-2);--el-button-active-border-color:var(--el-color-warning-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-warning-light-5);--el-button-disabled-border-color:var(--el-color-warning-light-5)}.el-button--warning.is-plain,.el-button--warning.is-text,.el-button--warning.is-link{--el-button-text-color:var(--el-color-warning);--el-button-bg-color:var(--el-color-warning-light-9);--el-button-border-color:var(--el-color-warning-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-warning);--el-button-hover-border-color:var(--el-color-warning);--el-button-active-text-color:var(--el-color-white)}.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:hover,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-text.is-disabled,.el-button--warning.is-text.is-disabled:hover,.el-button--warning.is-text.is-disabled:focus,.el-button--warning.is-text.is-disabled:active,.el-button--warning.is-link.is-disabled,.el-button--warning.is-link.is-disabled:hover,.el-button--warning.is-link.is-disabled:focus,.el-button--warning.is-link.is-disabled:active{color:var(--el-color-warning-light-5);background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8)}.el-button--warning.is-dashed{--el-button-text-color:var(--el-color-warning);--el-button-bg-color:var(--el-color-warning-light-9);--el-button-border-color:var(--el-color-warning-light-5);--el-button-hover-text-color:var(--el-color-warning);--el-button-hover-bg-color:var(--el-color-warning-light-9);--el-button-hover-border-color:var(--el-color-warning-light-3);--el-button-active-text-color:var(--el-color-warning-dark-2);--el-button-active-bg-color:var(--el-color-warning-light-9);--el-button-active-border-color:var(--el-color-warning-dark-2)}.el-button--warning.is-dashed.is-disabled,.el-button--warning.is-dashed.is-disabled:hover,.el-button--warning.is-dashed.is-disabled:focus,.el-button--warning.is-dashed.is-disabled:active{color:var(--el-color-warning-light-5);background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8)}.el-button--danger{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-danger);--el-button-border-color:var(--el-color-danger);--el-button-outline-color:var(--el-color-danger-light-5);--el-button-active-color:var(--el-color-danger-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-danger-light-5);--el-button-hover-bg-color:var(--el-color-danger-light-3);--el-button-hover-border-color:var(--el-color-danger-light-3);--el-button-active-bg-color:var(--el-color-danger-dark-2);--el-button-active-border-color:var(--el-color-danger-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-danger-light-5);--el-button-disabled-border-color:var(--el-color-danger-light-5)}.el-button--danger.is-plain,.el-button--danger.is-text,.el-button--danger.is-link{--el-button-text-color:var(--el-color-danger);--el-button-bg-color:var(--el-color-danger-light-9);--el-button-border-color:var(--el-color-danger-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-danger);--el-button-hover-border-color:var(--el-color-danger);--el-button-active-text-color:var(--el-color-white)}.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:hover,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-text.is-disabled,.el-button--danger.is-text.is-disabled:hover,.el-button--danger.is-text.is-disabled:focus,.el-button--danger.is-text.is-disabled:active,.el-button--danger.is-link.is-disabled,.el-button--danger.is-link.is-disabled:hover,.el-button--danger.is-link.is-disabled:focus,.el-button--danger.is-link.is-disabled:active{color:var(--el-color-danger-light-5);background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8)}.el-button--danger.is-dashed{--el-button-text-color:var(--el-color-danger);--el-button-bg-color:var(--el-color-danger-light-9);--el-button-border-color:var(--el-color-danger-light-5);--el-button-hover-text-color:var(--el-color-danger);--el-button-hover-bg-color:var(--el-color-danger-light-9);--el-button-hover-border-color:var(--el-color-danger-light-3);--el-button-active-text-color:var(--el-color-danger-dark-2);--el-button-active-bg-color:var(--el-color-danger-light-9);--el-button-active-border-color:var(--el-color-danger-dark-2)}.el-button--danger.is-dashed.is-disabled,.el-button--danger.is-dashed.is-disabled:hover,.el-button--danger.is-dashed.is-disabled:focus,.el-button--danger.is-dashed.is-disabled:active{color:var(--el-color-danger-light-5);background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8)}.el-button--info{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-info);--el-button-border-color:var(--el-color-info);--el-button-outline-color:var(--el-color-info-light-5);--el-button-active-color:var(--el-color-info-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-info-light-5);--el-button-hover-bg-color:var(--el-color-info-light-3);--el-button-hover-border-color:var(--el-color-info-light-3);--el-button-active-bg-color:var(--el-color-info-dark-2);--el-button-active-border-color:var(--el-color-info-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-info-light-5);--el-button-disabled-border-color:var(--el-color-info-light-5)}.el-button--info.is-plain,.el-button--info.is-text,.el-button--info.is-link{--el-button-text-color:var(--el-color-info);--el-button-bg-color:var(--el-color-info-light-9);--el-button-border-color:var(--el-color-info-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-info);--el-button-hover-border-color:var(--el-color-info);--el-button-active-text-color:var(--el-color-white)}.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:hover,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-text.is-disabled,.el-button--info.is-text.is-disabled:hover,.el-button--info.is-text.is-disabled:focus,.el-button--info.is-text.is-disabled:active,.el-button--info.is-link.is-disabled,.el-button--info.is-link.is-disabled:hover,.el-button--info.is-link.is-disabled:focus,.el-button--info.is-link.is-disabled:active{color:var(--el-color-info-light-5);background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8)}.el-button--info.is-dashed{--el-button-text-color:var(--el-color-info);--el-button-bg-color:var(--el-color-info-light-9);--el-button-border-color:var(--el-color-info-light-5);--el-button-hover-text-color:var(--el-color-info);--el-button-hover-bg-color:var(--el-color-info-light-9);--el-button-hover-border-color:var(--el-color-info-light-3);--el-button-active-text-color:var(--el-color-info-dark-2);--el-button-active-bg-color:var(--el-color-info-light-9);--el-button-active-border-color:var(--el-color-info-dark-2)}.el-button--info.is-dashed.is-disabled,.el-button--info.is-dashed.is-disabled:hover,.el-button--info.is-dashed.is-disabled:focus,.el-button--info.is-dashed.is-disabled:active{color:var(--el-color-info-light-5);background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8)}.el-button--large{--el-button-size:40px;height:var(--el-button-size)}.el-button--large [class*=el-icon]+span{margin-left:8px}.el-button--large{font-size:var(--el-font-size-base);border-radius:var(--el-border-radius-base);padding:12px 19px}.el-button--large.is-round{padding:12px 19px}.el-button--large.is-circle{width:var(--el-button-size);padding:12px}.el-button--small{--el-button-size:24px;height:var(--el-button-size)}.el-button--small [class*=el-icon]+span{margin-left:4px}.el-button--small{border-radius:calc(var(--el-border-radius-base) - 1px);padding:5px 11px;font-size:12px}.el-button--small.is-round{padding:5px 11px}.el-button--small.is-circle{width:var(--el-button-size);padding:5px}.el-calendar{--el-calendar-border:var(--el-table-border,1px solid var(--el-border-color-lighter));--el-calendar-header-border-bottom:var(--el-calendar-border);--el-calendar-selected-bg-color:var(--el-color-primary-light-9);--el-calendar-cell-width:85px;background-color:var(--el-fill-color-blank)}.el-calendar__header{border-bottom:var(--el-calendar-header-border-bottom);justify-content:space-between;padding:12px 20px;display:flex}.el-calendar__title{color:var(--el-text-color);align-self:center}.el-calendar__body{padding:12px 20px 35px}.el-calendar__select-controller .el-select{margin-right:8px}.el-calendar__select-controller .el-calendar-select__year{width:120px}.el-calendar__select-controller .el-calendar-select__month{width:60px}.el-calendar-table{table-layout:fixed;width:100%}.el-calendar-table thead th{color:var(--el-text-color-regular);padding:12px 0;font-weight:400}.el-calendar-table:not(.is-range) td.prev,.el-calendar-table:not(.is-range) td.next{color:var(--el-text-color-placeholder)}.el-calendar-table td{border-bottom:var(--el-calendar-border);border-right:var(--el-calendar-border);vertical-align:top;transition:background-color var(--el-transition-duration-fast) ease}.el-calendar-table td.is-selected{background-color:var(--el-calendar-selected-bg-color)}.el-calendar-table td.is-today{color:var(--el-color-primary)}.el-calendar-table tr:first-child td{border-top:var(--el-calendar-border)}.el-calendar-table tr td:first-child{border-left:var(--el-calendar-border)}.el-calendar-table tr.el-calendar-table__row--hide-border td{border-top:none}.el-calendar-table .el-calendar-day{box-sizing:border-box;height:var(--el-calendar-cell-width);padding:8px}.el-calendar-table .el-calendar-day:hover{cursor:pointer;background-color:var(--el-calendar-selected-bg-color)}.el-card{--el-card-border-color:var(--el-border-color-light);--el-card-border-radius:4px;--el-card-padding:20px;--el-card-bg-color:var(--el-fill-color-blank);border-radius:var(--el-card-border-radius);border:1px solid var(--el-card-border-color);background-color:var(--el-card-bg-color);color:var(--el-text-color-primary);transition:var(--el-transition-duration);flex-direction:column;display:flex;overflow:hidden}.el-card.is-always-shadow,.el-card.is-hover-shadow:hover,.el-card.is-hover-shadow:focus{box-shadow:var(--el-box-shadow-light)}.el-card__header{padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding);border-bottom:1px solid var(--el-card-border-color);box-sizing:border-box}.el-card__body{padding:var(--el-card-padding);flex-grow:1;overflow:auto}.el-card__footer{padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding);border-top:1px solid var(--el-card-border-color);box-sizing:border-box}.el-carousel__item{width:100%;height:100%;z-index:calc(var(--el-index-normal) - 1);display:inline-block;position:absolute;top:0;left:0;overflow:hidden}.el-carousel__item.is-active{z-index:calc(var(--el-index-normal) - 1)}.el-carousel__item.is-animating{transition:transform .4s ease-in-out}.el-carousel__item--card{width:50%;transition:transform .4s ease-in-out}.el-carousel__item--card.is-in-stage{cursor:pointer;z-index:var(--el-index-normal)}.el-carousel__item--card.is-in-stage:hover .el-carousel__mask,.el-carousel__item--card.is-in-stage.is-hover .el-carousel__mask{opacity:.12}.el-carousel__item--card.is-active{z-index:calc(var(--el-index-normal) + 1)}.el-carousel__item--card-vertical{width:100%;height:50%}.el-carousel__mask{background-color:var(--el-color-white);opacity:.24;width:100%;height:100%;transition:var(--el-transition-duration-fast);position:absolute;top:0;left:0}.el-carousel{--el-carousel-arrow-font-size:12px;--el-carousel-arrow-size:36px;--el-carousel-arrow-background:#1f2d3d1c;--el-carousel-arrow-hover-background:#1f2d3d3b;--el-carousel-indicator-width:30px;--el-carousel-indicator-height:2px;--el-carousel-indicator-padding-horizontal:4px;--el-carousel-indicator-padding-vertical:12px;--el-carousel-indicator-out-color:var(--el-border-color-hover);position:relative}.el-carousel--horizontal,.el-carousel--vertical{overflow:hidden}.el-carousel.is-vertical-outside{flex-direction:row;align-items:center;display:flex}.el-carousel.is-vertical-outside .el-carousel__container{flex:1}.el-carousel__container{height:300px;position:relative}.el-carousel__arrow{height:var(--el-carousel-arrow-size);width:var(--el-carousel-arrow-size);cursor:pointer;transition:var(--el-transition-duration);background-color:var(--el-carousel-arrow-background);color:#fff;z-index:10;text-align:center;font-size:var(--el-carousel-arrow-font-size);border:none;border-radius:50%;outline:none;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex;position:absolute;top:50%;transform:translateY(-50%)}.el-carousel__arrow--left{left:16px}.el-carousel__arrow--right{right:16px}.el-carousel__arrow:hover{background-color:var(--el-carousel-arrow-hover-background)}.el-carousel__arrow i{cursor:pointer}.el-carousel__indicators{z-index:calc(var(--el-index-normal) + 1);margin:0;padding:0;list-style:none;position:absolute}.el-carousel__indicators--horizontal{bottom:0;left:50%;transform:translate(-50%)}.el-carousel__indicators--vertical{top:50%;right:0;transform:translateY(-50%)}.el-carousel__indicators--outside{text-align:center;position:static;transform:none}.el-carousel__indicators--outside .el-carousel__indicator:hover button{opacity:.64}.el-carousel__indicators--outside button{background-color:var(--el-carousel-indicator-out-color);opacity:.24}.el-carousel__indicators--right{right:0}.el-carousel__indicators--labels .el-carousel__button{color:#000;padding:2px 18px;font-size:12px}.el-carousel__indicators--labels .el-carousel__indicator{padding:6px 4px}.el-carousel__indicator{cursor:pointer;background-color:#0000}.el-carousel__indicator:hover button{opacity:.72}.el-carousel__indicator--horizontal{padding:var(--el-carousel-indicator-padding-vertical) var(--el-carousel-indicator-padding-horizontal);display:inline-block}.el-carousel__indicator--vertical{padding:var(--el-carousel-indicator-padding-horizontal) var(--el-carousel-indicator-padding-vertical)}.el-carousel__indicator--vertical .el-carousel__button{width:var(--el-carousel-indicator-height);height:calc(var(--el-carousel-indicator-width) / 2)}.el-carousel__indicator.is-active button{opacity:1}.el-carousel__button{opacity:.48;width:var(--el-carousel-indicator-width);height:var(--el-carousel-indicator-height);cursor:pointer;transition:var(--el-transition-duration);background-color:#fff;border:none;outline:none;margin:0;padding:0;display:block}.el-carousel__indicators--labels .el-carousel__button{width:auto;height:auto}.carousel-arrow-left-enter-from,.carousel-arrow-left-leave-active{opacity:0;transform:translateY(-50%)translate(-10px)}.carousel-arrow-right-enter-from,.carousel-arrow-right-leave-active{opacity:0;transform:translateY(-50%)translate(10px)}.el-transitioning{filter:url(#elCarouselHorizontal)}.el-transitioning-vertical{filter:url(#elCarouselVertical)}.el-cascader-panel{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);border-radius:var(--el-cascader-menu-radius);width:fit-content;font-size:var(--el-cascader-menu-font-size);display:flex}.el-cascader-panel.is-bordered{border:var(--el-cascader-menu-border);border-radius:var(--el-cascader-menu-radius)}.el-cascader-menu{box-sizing:border-box;min-width:180px;color:var(--el-cascader-menu-text-color);border-right:var(--el-cascader-menu-border)}.el-cascader-menu:last-child{border-right:none}.el-cascader-menu:last-child .el-cascader-node{padding-right:20px}.el-cascader-menu__wrap.el-scrollbar__wrap{height:204px}.el-cascader-menu__list{box-sizing:border-box;min-height:100%;margin:0;padding:6px 0;list-style:none;position:relative}.el-cascader-menu__list.el-vl__window{margin:6px 0;padding:0}.el-cascader-menu__list.el-vl__window ul{margin:0;padding:0}.el-cascader-menu__hover-zone{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0}.el-cascader-menu__empty-text{color:var(--el-cascader-color-empty);align-items:center;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.el-cascader-menu__empty-text .is-loading{margin-right:2px}.el-cascader-node{box-sizing:border-box;outline:none;align-items:center;height:34px;padding:0 30px 0 20px;line-height:34px;display:flex;position:relative}.el-cascader-node.is-selectable.in-active-path{color:var(--el-cascader-menu-text-color)}.el-cascader-node.in-active-path,.el-cascader-node.is-selectable.in-checked-path,.el-cascader-node.is-active{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader-node:not(.is-disabled){cursor:pointer}.el-cascader-node:not(.is-disabled):hover,.el-cascader-node:not(.is-disabled):focus{background:var(--el-cascader-node-background-hover)}.el-cascader-node.is-disabled{color:var(--el-cascader-node-color-disabled);cursor:not-allowed}.el-cascader-node__prefix{position:absolute;left:10px}.el-cascader-node__postfix{position:absolute;right:10px}.el-cascader-node__label{text-align:left;white-space:nowrap;text-overflow:ellipsis;flex:1;padding:0 8px;overflow:hidden}.el-cascader-node>.el-checkbox,.el-cascader-node>.el-radio{margin-right:0}.el-cascader-node>.el-radio .el-radio__label{padding-left:0}.el-cascader{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);vertical-align:middle;font-size:var(--el-font-size-base);outline:none;line-height:32px;display:inline-block;position:relative}.el-cascader:not(.is-disabled):hover .el-input__wrapper{cursor:pointer;box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-cascader .el-input{cursor:pointer;display:flex}.el-cascader .el-input .el-input__inner{text-overflow:ellipsis}.el-cascader .el-input .el-input__inner:read-only{cursor:pointer}.el-cascader .el-input .el-input__inner:disabled{cursor:not-allowed}.el-cascader .el-input .el-input__suffix-inner .el-icon svg{vertical-align:middle}.el-cascader .el-input .icon-arrow-down{transition:transform var(--el-transition-duration);font-size:14px}.el-cascader .el-input .icon-arrow-down.is-reverse{transform:rotate(180deg)}.el-cascader .el-input .icon-circle-close:hover{color:var(--el-input-clear-hover-color,var(--el-text-color-secondary))}.el-cascader .el-input.is-focus .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-cascader--large{font-size:14px;line-height:40px}.el-cascader--large .el-cascader__tags{gap:6px;padding:8px}.el-cascader--large .el-cascader__search-input{height:24px;margin-left:7px}.el-cascader--small{font-size:12px;line-height:24px}.el-cascader--small .el-cascader__tags{gap:4px;padding:2px}.el-cascader--small .el-cascader__search-input{height:20px;margin-left:5px}.el-cascader.is-disabled .el-cascader__label{z-index:calc(var(--el-index-normal) + 1);color:var(--el-disabled-text-color)}.el-cascader__dropdown{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);font-size:var(--el-cascader-menu-font-size);border-radius:var(--el-cascader-menu-radius)}.el-cascader__dropdown.el-popper{background:var(--el-cascader-menu-fill);border:var(--el-cascader-menu-border);box-shadow:var(--el-cascader-menu-shadow)}.el-cascader__dropdown.el-popper .el-popper__arrow:before{border:var(--el-cascader-menu-border)}.el-cascader__dropdown.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:#0000;border-left-color:#0000}.el-cascader__dropdown.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:#0000;border-right-color:#0000}.el-cascader__dropdown.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:#0000;border-left-color:#0000}.el-cascader__dropdown.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-top-color:#0000;border-right-color:#0000}.el-cascader__dropdown.el-popper{box-shadow:var(--el-cascader-menu-shadow)}.el-cascader__header{border-bottom:1px solid var(--el-border-color-light);padding:10px}.el-cascader__footer{border-top:1px solid var(--el-border-color-light);padding:10px}.el-cascader__tags{text-align:left;box-sizing:border-box;flex-wrap:wrap;gap:6px;padding:4px;line-height:normal;display:flex;position:absolute;top:50%;left:0;right:30px;transform:translateY(-50%)}.el-cascader__tags .el-tag{text-overflow:ellipsis;background:var(--el-cascader-tag-background);align-items:center;max-width:100%;display:inline-flex}.el-cascader__tags .el-tag.el-tag--dark,.el-cascader__tags .el-tag.el-tag--plain{background-color:var(--el-tag-bg-color)}.el-cascader__tags .el-tag:not(.is-hit){border-color:#0000}.el-cascader__tags .el-tag:not(.is-hit).el-tag--dark,.el-cascader__tags .el-tag:not(.is-hit).el-tag--plain{border-color:var(--el-tag-border-color)}.el-cascader__tags .el-tag>span{text-overflow:ellipsis;flex:1;line-height:normal;overflow:hidden}.el-cascader__tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);color:var(--el-color-white);flex:none}.el-cascader__tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__tags .el-tag+input{margin-left:0}.el-cascader__tags.is-validate{right:55px}.el-cascader__collapse-tags{white-space:normal;z-index:var(--el-index-normal)}.el-cascader__collapse-tags .el-tag{text-overflow:ellipsis;background:var(--el-fill-color);align-items:center;max-width:100%;display:inline-flex}.el-cascader__collapse-tags .el-tag.el-tag--dark,.el-cascader__collapse-tags .el-tag.el-tag--plain{background-color:var(--el-tag-bg-color)}.el-cascader__collapse-tags .el-tag:not(.is-hit){border-color:#0000}.el-cascader__collapse-tags .el-tag:not(.is-hit).el-tag--dark,.el-cascader__collapse-tags .el-tag:not(.is-hit).el-tag--plain{border-color:var(--el-tag-border-color)}.el-cascader__collapse-tags .el-tag>span{text-overflow:ellipsis;flex:1;line-height:normal;overflow:hidden}.el-cascader__collapse-tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);color:var(--el-color-white);flex:none}.el-cascader__collapse-tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__collapse-tags .el-tag+input{margin-left:0}.el-cascader__collapse-tags .el-tag{margin:2px 0}.el-cascader__suggestion-panel{border-radius:var(--el-cascader-menu-radius)}.el-cascader__suggestion-wrap{max-height:204px}.el-cascader__suggestion-list{font-size:var(--el-font-size-base);color:var(--el-cascader-menu-text-color);text-align:center;margin:0;padding:6px 0;list-style:none}.el-cascader__suggestion-list.el-vl__window{margin:6px 0;padding:0}.el-cascader__suggestion-list.el-vl__window ul{margin:0;padding:0}.el-cascader__suggestion-item{text-align:left;cursor:pointer;box-sizing:border-box;outline:none;justify-content:space-between;align-items:center;height:34px;padding:0 15px;display:flex}.el-cascader__suggestion-item:hover,.el-cascader__suggestion-item:focus{background:var(--el-cascader-node-background-hover)}.el-cascader__suggestion-item.is-checked{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader__suggestion-item>:not(.el-icon){white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.el-cascader__suggestion-item>span{margin-right:10px}.el-cascader__suggestion-item .el-icon{flex-shrink:0}.el-cascader__empty-text{color:var(--el-cascader-color-empty);margin:10px 0}.el-cascader__search-input{min-width:60px;height:24px;color:var(--el-cascader-menu-text-color);box-sizing:border-box;background:0 0;border:none;outline:none;flex:1;margin-left:7px;padding:0}.el-cascader__search-input::placeholder{color:#0000}.el-check-tag{background-color:var(--el-color-info-light-9);border-radius:var(--el-border-radius-base);color:var(--el-color-info);cursor:pointer;font-size:var(--el-font-size-base);line-height:var(--el-font-size-base);transition:var(--el-transition-all);padding:7px 15px;font-weight:700;display:inline-block}.el-check-tag:hover{background-color:var(--el-color-info-light-7)}.el-check-tag.el-check-tag--primary.is-checked{background-color:var(--el-color-primary-light-8);color:var(--el-color-primary)}.el-check-tag.el-check-tag--primary.is-checked:hover{background-color:var(--el-color-primary-light-7)}.el-check-tag.el-check-tag--primary.is-checked.is-disabled{background-color:var(--el-color-primary-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--primary.is-checked.is-disabled:hover{background-color:var(--el-color-primary-light-8)}.el-check-tag.el-check-tag--primary.is-disabled{background-color:var(--el-color-info-light-9);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--primary.is-disabled:hover{background-color:var(--el-color-info-light-9)}.el-check-tag.el-check-tag--success.is-checked{background-color:var(--el-color-success-light-8);color:var(--el-color-success)}.el-check-tag.el-check-tag--success.is-checked:hover{background-color:var(--el-color-success-light-7)}.el-check-tag.el-check-tag--success.is-checked.is-disabled{background-color:var(--el-color-success-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--success.is-checked.is-disabled:hover{background-color:var(--el-color-success-light-8)}.el-check-tag.el-check-tag--success.is-disabled{background-color:var(--el-color-success-light-9);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--success.is-disabled:hover{background-color:var(--el-color-success-light-9)}.el-check-tag.el-check-tag--warning.is-checked{background-color:var(--el-color-warning-light-8);color:var(--el-color-warning)}.el-check-tag.el-check-tag--warning.is-checked:hover{background-color:var(--el-color-warning-light-7)}.el-check-tag.el-check-tag--warning.is-checked.is-disabled{background-color:var(--el-color-warning-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--warning.is-checked.is-disabled:hover{background-color:var(--el-color-warning-light-8)}.el-check-tag.el-check-tag--warning.is-disabled{background-color:var(--el-color-warning-light-9);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--warning.is-disabled:hover{background-color:var(--el-color-warning-light-9)}.el-check-tag.el-check-tag--danger.is-checked{background-color:var(--el-color-danger-light-8);color:var(--el-color-danger)}.el-check-tag.el-check-tag--danger.is-checked:hover{background-color:var(--el-color-danger-light-7)}.el-check-tag.el-check-tag--danger.is-checked.is-disabled{background-color:var(--el-color-danger-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--danger.is-checked.is-disabled:hover{background-color:var(--el-color-danger-light-8)}.el-check-tag.el-check-tag--danger.is-disabled{background-color:var(--el-color-danger-light-9);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--danger.is-disabled:hover{background-color:var(--el-color-danger-light-9)}.el-check-tag.el-check-tag--error.is-checked{background-color:var(--el-color-error-light-8);color:var(--el-color-error)}.el-check-tag.el-check-tag--error.is-checked:hover{background-color:var(--el-color-error-light-7)}.el-check-tag.el-check-tag--error.is-checked.is-disabled{background-color:var(--el-color-error-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--error.is-checked.is-disabled:hover{background-color:var(--el-color-error-light-8)}.el-check-tag.el-check-tag--error.is-disabled{background-color:var(--el-color-error-light-9);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--error.is-disabled:hover{background-color:var(--el-color-error-light-9)}.el-check-tag.el-check-tag--info.is-checked{background-color:var(--el-color-info-light-8);color:var(--el-color-info)}.el-check-tag.el-check-tag--info.is-checked:hover{background-color:var(--el-color-info-light-7)}.el-check-tag.el-check-tag--info.is-checked.is-disabled{background-color:var(--el-color-info-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--info.is-checked.is-disabled:hover{background-color:var(--el-color-info-light-8)}.el-check-tag.el-check-tag--info.is-disabled{background-color:var(--el-color-info-light-9);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--info.is-disabled:hover{background-color:var(--el-color-info-light-9)}.el-checkbox-button{--el-checkbox-button-checked-bg-color:var(--el-color-primary);--el-checkbox-button-checked-text-color:var(--el-color-white);--el-checkbox-button-checked-border-color:var(--el-color-primary);--el-checkbox-button-disabled-checked-fill:var(--el-border-color-extra-light);display:inline-block;position:relative}.el-checkbox-button__inner{line-height:1;font-weight:var(--el-checkbox-font-weight);white-space:nowrap;vertical-align:middle;cursor:pointer;background:var(--el-button-bg-color,var(--el-fill-color-blank));outline:var(--el-border);color:var(--el-button-text-color,var(--el-text-color-regular));-webkit-appearance:none;text-align:center;box-sizing:border-box;transition:var(--el-transition-all);-webkit-user-select:none;user-select:none;font-size:var(--el-font-size-base);border-radius:0;margin:0;padding:8px 15px;display:inline-block;position:relative}.el-checkbox-button__inner.is-round{padding:8px 15px}.el-checkbox-button__inner:hover{color:var(--el-color-primary)}.el-checkbox-button__inner [class*=el-icon-]{line-height:.9}.el-checkbox-button__inner [class*=el-icon-]+span{margin-left:5px}.el-checkbox-button__original{opacity:0;z-index:-1;outline:none;margin:0;position:absolute}.el-checkbox-button.is-checked .el-checkbox-button__inner{color:var(--el-checkbox-button-checked-text-color);background-color:var(--el-checkbox-button-checked-bg-color);border-color:var(--el-checkbox-button-checked-border-color);box-shadow:-1px 0 0 0 var(--el-color-primary-light-7)}.el-checkbox-button.is-checked:first-child .el-checkbox-button__inner{border-left-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button.is-disabled .el-checkbox-button__inner{color:var(--el-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none}.el-checkbox-button.is-disabled:first-child .el-checkbox-button__inner{border-left-color:var(--el-button-disabled-border-color,var(--el-border-color-light))}.el-checkbox-button.is-disabled.is-checked .el-checkbox-button__inner{background-color:var(--el-checkbox-button-disabled-checked-fill)}.el-checkbox-button:first-child .el-checkbox-button__inner{border-top-left-radius:var(--el-border-radius-base);border-bottom-left-radius:var(--el-border-radius-base);box-shadow:none!important}.el-checkbox-button.is-focus .el-checkbox-button__inner{border-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button:last-child .el-checkbox-button__inner{border-top-right-radius:var(--el-border-radius-base);border-bottom-right-radius:var(--el-border-radius-base)}.el-checkbox-button--large .el-checkbox-button__inner{font-size:var(--el-font-size-base);border-radius:0;padding:12px 19px}.el-checkbox-button--large .el-checkbox-button__inner.is-round{padding:12px 19px}.el-checkbox-button--small .el-checkbox-button__inner{border-radius:0;padding:5px 11px;font-size:12px}.el-checkbox-button--small .el-checkbox-button__inner.is-round{padding:5px 11px}.el-checkbox-group{font-size:0;line-height:0}.el-checkbox{--el-checkbox-font-size:14px;--el-checkbox-font-weight:var(--el-font-weight-primary);--el-checkbox-text-color:var(--el-text-color-regular);--el-checkbox-input-height:14px;--el-checkbox-input-width:14px;--el-checkbox-border-radius:var(--el-border-radius-small);--el-checkbox-bg-color:var(--el-fill-color-blank);--el-checkbox-input-border:var(--el-border);--el-checkbox-disabled-border-color:var(--el-border-color);--el-checkbox-disabled-input-fill:var(--el-fill-color-light);--el-checkbox-disabled-icon-color:var(--el-text-color-placeholder);--el-checkbox-disabled-checked-input-fill:var(--el-border-color-extra-light);--el-checkbox-disabled-checked-input-border-color:var(--el-border-color);--el-checkbox-disabled-checked-icon-color:var(--el-text-color-placeholder);--el-checkbox-checked-text-color:var(--el-color-primary);--el-checkbox-checked-input-border-color:var(--el-color-primary);--el-checkbox-checked-bg-color:var(--el-color-primary);--el-checkbox-checked-icon-color:var(--el-color-white);--el-checkbox-input-border-color-hover:var(--el-color-primary);color:var(--el-checkbox-text-color);font-weight:var(--el-checkbox-font-weight);font-size:var(--el-font-size-base);cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none;height:var(--el-checkbox-height,32px);align-items:center;margin-right:30px;display:inline-flex;position:relative}.el-checkbox.is-disabled{cursor:not-allowed}.el-checkbox.is-bordered{border-radius:var(--el-border-radius-base);border:var(--el-border);box-sizing:border-box;padding:0 15px 0 9px}.el-checkbox.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-checkbox.is-bordered.is-disabled{border-color:var(--el-border-color-lighter)}.el-checkbox.is-bordered.el-checkbox--large{border-radius:var(--el-border-radius-base);padding:0 19px 0 11px}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__label{font-size:var(--el-font-size-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__inner{width:14px;height:14px}.el-checkbox.is-bordered.el-checkbox--small{border-radius:calc(var(--el-border-radius-base) - 1px);padding:0 11px 0 7px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner{width:12px;height:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner:after{width:2px;height:6px}.el-checkbox input:focus-visible+.el-checkbox__inner{outline:2px solid var(--el-checkbox-input-border-color-hover);outline-offset:1px;border-radius:var(--el-checkbox-border-radius)}.el-checkbox__input{white-space:nowrap;cursor:pointer;outline:none;display:inline-flex;position:relative}.el-checkbox__input.is-disabled .el-checkbox__inner{background-color:var(--el-checkbox-disabled-input-fill);border-color:var(--el-checkbox-disabled-border-color);cursor:not-allowed}.el-checkbox__input.is-disabled .el-checkbox__inner:after{cursor:not-allowed;border-color:var(--el-checkbox-disabled-icon-color);will-change:transform}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-disabled-checked-icon-color);border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled+span.el-checkbox__label{color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox__input.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-checked-icon-color);transform:translate(-45%,-60%)rotate(45deg)scaleY(1)}.el-checkbox__input.is-checked+.el-checkbox__label{color:var(--el-checkbox-checked-text-color)}.el-checkbox__input.is-focus:not(.is-checked) .el-checkbox__original:not(:focus-visible){border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:before{content:"";background-color:var(--el-checkbox-checked-icon-color);height:2px;display:block;position:absolute;top:5px;left:0;right:0;transform:scale(.5)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__inner{border:var(--el-checkbox-input-border);border-radius:var(--el-checkbox-border-radius);box-sizing:border-box;width:var(--el-checkbox-input-width);height:var(--el-checkbox-input-height);background-color:var(--el-checkbox-bg-color);z-index:var(--el-index-normal);transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46),outline .25s cubic-bezier(.71,-.46,.29,1.46);display:inline-block;position:relative}.el-checkbox__inner:hover{border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__inner:after{box-sizing:content-box;content:"";transform-origin:50%;border:1px solid #0000;border-top:0;border-left:0;width:3px;height:7px;transition:transform .15s ease-in 50ms;position:absolute;top:50%;left:50%;transform:translate(-45%,-60%)rotate(45deg)scaleY(0)}.el-checkbox__original{opacity:0;z-index:-1;outline:none;width:0;height:0;margin:0;position:absolute}.el-checkbox__label{line-height:1;font-size:var(--el-checkbox-font-size);padding-left:8px;display:inline-block}.el-checkbox.el-checkbox--large{height:40px}.el-checkbox.el-checkbox--large .el-checkbox__label{font-size:14px}.el-checkbox.el-checkbox--large .el-checkbox__inner{width:14px;height:14px}.el-checkbox.el-checkbox--small{height:24px}.el-checkbox.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.el-checkbox--small .el-checkbox__inner{width:12px;height:12px}.el-checkbox.el-checkbox--small .el-checkbox__input.is-indeterminate .el-checkbox__inner:before{top:4px}.el-checkbox.el-checkbox--small .el-checkbox__inner:after{width:2px;height:6px}.el-checkbox:last-of-type{margin-right:0}[class*=el-col-]{box-sizing:border-box}[class*=el-col-].is-guttered{min-height:1px;display:block}.el-col-0{flex:0 0;max-width:0%;display:none}.el-col-0.is-guttered{display:none}.el-col-offset-0{margin-left:0%}.el-col-pull-0{position:relative;right:0%}.el-col-push-0{position:relative;left:0%}.el-col-1{flex:0 0 4.16667%;max-width:4.16667%;display:block}.el-col-1.is-guttered{display:block}.el-col-offset-1{margin-left:4.16667%}.el-col-pull-1{position:relative;right:4.16667%}.el-col-push-1{position:relative;left:4.16667%}.el-col-2{flex:0 0 8.33333%;max-width:8.33333%;display:block}.el-col-2.is-guttered{display:block}.el-col-offset-2{margin-left:8.33333%}.el-col-pull-2{position:relative;right:8.33333%}.el-col-push-2{position:relative;left:8.33333%}.el-col-3{flex:0 0 12.5%;max-width:12.5%;display:block}.el-col-3.is-guttered{display:block}.el-col-offset-3{margin-left:12.5%}.el-col-pull-3{position:relative;right:12.5%}.el-col-push-3{position:relative;left:12.5%}.el-col-4{flex:0 0 16.6667%;max-width:16.6667%;display:block}.el-col-4.is-guttered{display:block}.el-col-offset-4{margin-left:16.6667%}.el-col-pull-4{position:relative;right:16.6667%}.el-col-push-4{position:relative;left:16.6667%}.el-col-5{flex:0 0 20.8333%;max-width:20.8333%;display:block}.el-col-5.is-guttered{display:block}.el-col-offset-5{margin-left:20.8333%}.el-col-pull-5{position:relative;right:20.8333%}.el-col-push-5{position:relative;left:20.8333%}.el-col-6{flex:0 0 25%;max-width:25%;display:block}.el-col-6.is-guttered{display:block}.el-col-offset-6{margin-left:25%}.el-col-pull-6{position:relative;right:25%}.el-col-push-6{position:relative;left:25%}.el-col-7{flex:0 0 29.1667%;max-width:29.1667%;display:block}.el-col-7.is-guttered{display:block}.el-col-offset-7{margin-left:29.1667%}.el-col-pull-7{position:relative;right:29.1667%}.el-col-push-7{position:relative;left:29.1667%}.el-col-8{flex:0 0 33.3333%;max-width:33.3333%;display:block}.el-col-8.is-guttered{display:block}.el-col-offset-8{margin-left:33.3333%}.el-col-pull-8{position:relative;right:33.3333%}.el-col-push-8{position:relative;left:33.3333%}.el-col-9{flex:0 0 37.5%;max-width:37.5%;display:block}.el-col-9.is-guttered{display:block}.el-col-offset-9{margin-left:37.5%}.el-col-pull-9{position:relative;right:37.5%}.el-col-push-9{position:relative;left:37.5%}.el-col-10{flex:0 0 41.6667%;max-width:41.6667%;display:block}.el-col-10.is-guttered{display:block}.el-col-offset-10{margin-left:41.6667%}.el-col-pull-10{position:relative;right:41.6667%}.el-col-push-10{position:relative;left:41.6667%}.el-col-11{flex:0 0 45.8333%;max-width:45.8333%;display:block}.el-col-11.is-guttered{display:block}.el-col-offset-11{margin-left:45.8333%}.el-col-pull-11{position:relative;right:45.8333%}.el-col-push-11{position:relative;left:45.8333%}.el-col-12{flex:0 0 50%;max-width:50%;display:block}.el-col-12.is-guttered{display:block}.el-col-offset-12{margin-left:50%}.el-col-pull-12{position:relative;right:50%}.el-col-push-12{position:relative;left:50%}.el-col-13{flex:0 0 54.1667%;max-width:54.1667%;display:block}.el-col-13.is-guttered{display:block}.el-col-offset-13{margin-left:54.1667%}.el-col-pull-13{position:relative;right:54.1667%}.el-col-push-13{position:relative;left:54.1667%}.el-col-14{flex:0 0 58.3333%;max-width:58.3333%;display:block}.el-col-14.is-guttered{display:block}.el-col-offset-14{margin-left:58.3333%}.el-col-pull-14{position:relative;right:58.3333%}.el-col-push-14{position:relative;left:58.3333%}.el-col-15{flex:0 0 62.5%;max-width:62.5%;display:block}.el-col-15.is-guttered{display:block}.el-col-offset-15{margin-left:62.5%}.el-col-pull-15{position:relative;right:62.5%}.el-col-push-15{position:relative;left:62.5%}.el-col-16{flex:0 0 66.6667%;max-width:66.6667%;display:block}.el-col-16.is-guttered{display:block}.el-col-offset-16{margin-left:66.6667%}.el-col-pull-16{position:relative;right:66.6667%}.el-col-push-16{position:relative;left:66.6667%}.el-col-17{flex:0 0 70.8333%;max-width:70.8333%;display:block}.el-col-17.is-guttered{display:block}.el-col-offset-17{margin-left:70.8333%}.el-col-pull-17{position:relative;right:70.8333%}.el-col-push-17{position:relative;left:70.8333%}.el-col-18{flex:0 0 75%;max-width:75%;display:block}.el-col-18.is-guttered{display:block}.el-col-offset-18{margin-left:75%}.el-col-pull-18{position:relative;right:75%}.el-col-push-18{position:relative;left:75%}.el-col-19{flex:0 0 79.1667%;max-width:79.1667%;display:block}.el-col-19.is-guttered{display:block}.el-col-offset-19{margin-left:79.1667%}.el-col-pull-19{position:relative;right:79.1667%}.el-col-push-19{position:relative;left:79.1667%}.el-col-20{flex:0 0 83.3333%;max-width:83.3333%;display:block}.el-col-20.is-guttered{display:block}.el-col-offset-20{margin-left:83.3333%}.el-col-pull-20{position:relative;right:83.3333%}.el-col-push-20{position:relative;left:83.3333%}.el-col-21{flex:0 0 87.5%;max-width:87.5%;display:block}.el-col-21.is-guttered{display:block}.el-col-offset-21{margin-left:87.5%}.el-col-pull-21{position:relative;right:87.5%}.el-col-push-21{position:relative;left:87.5%}.el-col-22{flex:0 0 91.6667%;max-width:91.6667%;display:block}.el-col-22.is-guttered{display:block}.el-col-offset-22{margin-left:91.6667%}.el-col-pull-22{position:relative;right:91.6667%}.el-col-push-22{position:relative;left:91.6667%}.el-col-23{flex:0 0 95.8333%;max-width:95.8333%;display:block}.el-col-23.is-guttered{display:block}.el-col-offset-23{margin-left:95.8333%}.el-col-pull-23{position:relative;right:95.8333%}.el-col-push-23{position:relative;left:95.8333%}.el-col-24{flex:0 0 100%;max-width:100%;display:block}.el-col-24.is-guttered{display:block}.el-col-offset-24{margin-left:100%}.el-col-pull-24{position:relative;right:100%}.el-col-push-24{position:relative;left:100%}@media only screen and (max-width:767px){.el-col-xs-0{flex:0 0;max-width:0%;display:none}.el-col-xs-0.is-guttered{display:none}.el-col-xs-offset-0{margin-left:0%}.el-col-xs-pull-0{position:relative;right:0%}.el-col-xs-push-0{position:relative;left:0%}.el-col-xs-1{flex:0 0 4.16667%;max-width:4.16667%;display:block}.el-col-xs-1.is-guttered{display:block}.el-col-xs-offset-1{margin-left:4.16667%}.el-col-xs-pull-1{position:relative;right:4.16667%}.el-col-xs-push-1{position:relative;left:4.16667%}.el-col-xs-2{flex:0 0 8.33333%;max-width:8.33333%;display:block}.el-col-xs-2.is-guttered{display:block}.el-col-xs-offset-2{margin-left:8.33333%}.el-col-xs-pull-2{position:relative;right:8.33333%}.el-col-xs-push-2{position:relative;left:8.33333%}.el-col-xs-3{flex:0 0 12.5%;max-width:12.5%;display:block}.el-col-xs-3.is-guttered{display:block}.el-col-xs-offset-3{margin-left:12.5%}.el-col-xs-pull-3{position:relative;right:12.5%}.el-col-xs-push-3{position:relative;left:12.5%}.el-col-xs-4{flex:0 0 16.6667%;max-width:16.6667%;display:block}.el-col-xs-4.is-guttered{display:block}.el-col-xs-offset-4{margin-left:16.6667%}.el-col-xs-pull-4{position:relative;right:16.6667%}.el-col-xs-push-4{position:relative;left:16.6667%}.el-col-xs-5{flex:0 0 20.8333%;max-width:20.8333%;display:block}.el-col-xs-5.is-guttered{display:block}.el-col-xs-offset-5{margin-left:20.8333%}.el-col-xs-pull-5{position:relative;right:20.8333%}.el-col-xs-push-5{position:relative;left:20.8333%}.el-col-xs-6{flex:0 0 25%;max-width:25%;display:block}.el-col-xs-6.is-guttered{display:block}.el-col-xs-offset-6{margin-left:25%}.el-col-xs-pull-6{position:relative;right:25%}.el-col-xs-push-6{position:relative;left:25%}.el-col-xs-7{flex:0 0 29.1667%;max-width:29.1667%;display:block}.el-col-xs-7.is-guttered{display:block}.el-col-xs-offset-7{margin-left:29.1667%}.el-col-xs-pull-7{position:relative;right:29.1667%}.el-col-xs-push-7{position:relative;left:29.1667%}.el-col-xs-8{flex:0 0 33.3333%;max-width:33.3333%;display:block}.el-col-xs-8.is-guttered{display:block}.el-col-xs-offset-8{margin-left:33.3333%}.el-col-xs-pull-8{position:relative;right:33.3333%}.el-col-xs-push-8{position:relative;left:33.3333%}.el-col-xs-9{flex:0 0 37.5%;max-width:37.5%;display:block}.el-col-xs-9.is-guttered{display:block}.el-col-xs-offset-9{margin-left:37.5%}.el-col-xs-pull-9{position:relative;right:37.5%}.el-col-xs-push-9{position:relative;left:37.5%}.el-col-xs-10{flex:0 0 41.6667%;max-width:41.6667%;display:block}.el-col-xs-10.is-guttered{display:block}.el-col-xs-offset-10{margin-left:41.6667%}.el-col-xs-pull-10{position:relative;right:41.6667%}.el-col-xs-push-10{position:relative;left:41.6667%}.el-col-xs-11{flex:0 0 45.8333%;max-width:45.8333%;display:block}.el-col-xs-11.is-guttered{display:block}.el-col-xs-offset-11{margin-left:45.8333%}.el-col-xs-pull-11{position:relative;right:45.8333%}.el-col-xs-push-11{position:relative;left:45.8333%}.el-col-xs-12{flex:0 0 50%;max-width:50%;display:block}.el-col-xs-12.is-guttered{display:block}.el-col-xs-offset-12{margin-left:50%}.el-col-xs-pull-12{position:relative;right:50%}.el-col-xs-push-12{position:relative;left:50%}.el-col-xs-13{flex:0 0 54.1667%;max-width:54.1667%;display:block}.el-col-xs-13.is-guttered{display:block}.el-col-xs-offset-13{margin-left:54.1667%}.el-col-xs-pull-13{position:relative;right:54.1667%}.el-col-xs-push-13{position:relative;left:54.1667%}.el-col-xs-14{flex:0 0 58.3333%;max-width:58.3333%;display:block}.el-col-xs-14.is-guttered{display:block}.el-col-xs-offset-14{margin-left:58.3333%}.el-col-xs-pull-14{position:relative;right:58.3333%}.el-col-xs-push-14{position:relative;left:58.3333%}.el-col-xs-15{flex:0 0 62.5%;max-width:62.5%;display:block}.el-col-xs-15.is-guttered{display:block}.el-col-xs-offset-15{margin-left:62.5%}.el-col-xs-pull-15{position:relative;right:62.5%}.el-col-xs-push-15{position:relative;left:62.5%}.el-col-xs-16{flex:0 0 66.6667%;max-width:66.6667%;display:block}.el-col-xs-16.is-guttered{display:block}.el-col-xs-offset-16{margin-left:66.6667%}.el-col-xs-pull-16{position:relative;right:66.6667%}.el-col-xs-push-16{position:relative;left:66.6667%}.el-col-xs-17{flex:0 0 70.8333%;max-width:70.8333%;display:block}.el-col-xs-17.is-guttered{display:block}.el-col-xs-offset-17{margin-left:70.8333%}.el-col-xs-pull-17{position:relative;right:70.8333%}.el-col-xs-push-17{position:relative;left:70.8333%}.el-col-xs-18{flex:0 0 75%;max-width:75%;display:block}.el-col-xs-18.is-guttered{display:block}.el-col-xs-offset-18{margin-left:75%}.el-col-xs-pull-18{position:relative;right:75%}.el-col-xs-push-18{position:relative;left:75%}.el-col-xs-19{flex:0 0 79.1667%;max-width:79.1667%;display:block}.el-col-xs-19.is-guttered{display:block}.el-col-xs-offset-19{margin-left:79.1667%}.el-col-xs-pull-19{position:relative;right:79.1667%}.el-col-xs-push-19{position:relative;left:79.1667%}.el-col-xs-20{flex:0 0 83.3333%;max-width:83.3333%;display:block}.el-col-xs-20.is-guttered{display:block}.el-col-xs-offset-20{margin-left:83.3333%}.el-col-xs-pull-20{position:relative;right:83.3333%}.el-col-xs-push-20{position:relative;left:83.3333%}.el-col-xs-21{flex:0 0 87.5%;max-width:87.5%;display:block}.el-col-xs-21.is-guttered{display:block}.el-col-xs-offset-21{margin-left:87.5%}.el-col-xs-pull-21{position:relative;right:87.5%}.el-col-xs-push-21{position:relative;left:87.5%}.el-col-xs-22{flex:0 0 91.6667%;max-width:91.6667%;display:block}.el-col-xs-22.is-guttered{display:block}.el-col-xs-offset-22{margin-left:91.6667%}.el-col-xs-pull-22{position:relative;right:91.6667%}.el-col-xs-push-22{position:relative;left:91.6667%}.el-col-xs-23{flex:0 0 95.8333%;max-width:95.8333%;display:block}.el-col-xs-23.is-guttered{display:block}.el-col-xs-offset-23{margin-left:95.8333%}.el-col-xs-pull-23{position:relative;right:95.8333%}.el-col-xs-push-23{position:relative;left:95.8333%}.el-col-xs-24{flex:0 0 100%;max-width:100%;display:block}.el-col-xs-24.is-guttered{display:block}.el-col-xs-offset-24{margin-left:100%}.el-col-xs-pull-24{position:relative;right:100%}.el-col-xs-push-24{position:relative;left:100%}}@media only screen and (min-width:768px){.el-col-sm-0{flex:0 0;max-width:0%;display:none}.el-col-sm-0.is-guttered{display:none}.el-col-sm-offset-0{margin-left:0%}.el-col-sm-pull-0{position:relative;right:0%}.el-col-sm-push-0{position:relative;left:0%}.el-col-sm-1{flex:0 0 4.16667%;max-width:4.16667%;display:block}.el-col-sm-1.is-guttered{display:block}.el-col-sm-offset-1{margin-left:4.16667%}.el-col-sm-pull-1{position:relative;right:4.16667%}.el-col-sm-push-1{position:relative;left:4.16667%}.el-col-sm-2{flex:0 0 8.33333%;max-width:8.33333%;display:block}.el-col-sm-2.is-guttered{display:block}.el-col-sm-offset-2{margin-left:8.33333%}.el-col-sm-pull-2{position:relative;right:8.33333%}.el-col-sm-push-2{position:relative;left:8.33333%}.el-col-sm-3{flex:0 0 12.5%;max-width:12.5%;display:block}.el-col-sm-3.is-guttered{display:block}.el-col-sm-offset-3{margin-left:12.5%}.el-col-sm-pull-3{position:relative;right:12.5%}.el-col-sm-push-3{position:relative;left:12.5%}.el-col-sm-4{flex:0 0 16.6667%;max-width:16.6667%;display:block}.el-col-sm-4.is-guttered{display:block}.el-col-sm-offset-4{margin-left:16.6667%}.el-col-sm-pull-4{position:relative;right:16.6667%}.el-col-sm-push-4{position:relative;left:16.6667%}.el-col-sm-5{flex:0 0 20.8333%;max-width:20.8333%;display:block}.el-col-sm-5.is-guttered{display:block}.el-col-sm-offset-5{margin-left:20.8333%}.el-col-sm-pull-5{position:relative;right:20.8333%}.el-col-sm-push-5{position:relative;left:20.8333%}.el-col-sm-6{flex:0 0 25%;max-width:25%;display:block}.el-col-sm-6.is-guttered{display:block}.el-col-sm-offset-6{margin-left:25%}.el-col-sm-pull-6{position:relative;right:25%}.el-col-sm-push-6{position:relative;left:25%}.el-col-sm-7{flex:0 0 29.1667%;max-width:29.1667%;display:block}.el-col-sm-7.is-guttered{display:block}.el-col-sm-offset-7{margin-left:29.1667%}.el-col-sm-pull-7{position:relative;right:29.1667%}.el-col-sm-push-7{position:relative;left:29.1667%}.el-col-sm-8{flex:0 0 33.3333%;max-width:33.3333%;display:block}.el-col-sm-8.is-guttered{display:block}.el-col-sm-offset-8{margin-left:33.3333%}.el-col-sm-pull-8{position:relative;right:33.3333%}.el-col-sm-push-8{position:relative;left:33.3333%}.el-col-sm-9{flex:0 0 37.5%;max-width:37.5%;display:block}.el-col-sm-9.is-guttered{display:block}.el-col-sm-offset-9{margin-left:37.5%}.el-col-sm-pull-9{position:relative;right:37.5%}.el-col-sm-push-9{position:relative;left:37.5%}.el-col-sm-10{flex:0 0 41.6667%;max-width:41.6667%;display:block}.el-col-sm-10.is-guttered{display:block}.el-col-sm-offset-10{margin-left:41.6667%}.el-col-sm-pull-10{position:relative;right:41.6667%}.el-col-sm-push-10{position:relative;left:41.6667%}.el-col-sm-11{flex:0 0 45.8333%;max-width:45.8333%;display:block}.el-col-sm-11.is-guttered{display:block}.el-col-sm-offset-11{margin-left:45.8333%}.el-col-sm-pull-11{position:relative;right:45.8333%}.el-col-sm-push-11{position:relative;left:45.8333%}.el-col-sm-12{flex:0 0 50%;max-width:50%;display:block}.el-col-sm-12.is-guttered{display:block}.el-col-sm-offset-12{margin-left:50%}.el-col-sm-pull-12{position:relative;right:50%}.el-col-sm-push-12{position:relative;left:50%}.el-col-sm-13{flex:0 0 54.1667%;max-width:54.1667%;display:block}.el-col-sm-13.is-guttered{display:block}.el-col-sm-offset-13{margin-left:54.1667%}.el-col-sm-pull-13{position:relative;right:54.1667%}.el-col-sm-push-13{position:relative;left:54.1667%}.el-col-sm-14{flex:0 0 58.3333%;max-width:58.3333%;display:block}.el-col-sm-14.is-guttered{display:block}.el-col-sm-offset-14{margin-left:58.3333%}.el-col-sm-pull-14{position:relative;right:58.3333%}.el-col-sm-push-14{position:relative;left:58.3333%}.el-col-sm-15{flex:0 0 62.5%;max-width:62.5%;display:block}.el-col-sm-15.is-guttered{display:block}.el-col-sm-offset-15{margin-left:62.5%}.el-col-sm-pull-15{position:relative;right:62.5%}.el-col-sm-push-15{position:relative;left:62.5%}.el-col-sm-16{flex:0 0 66.6667%;max-width:66.6667%;display:block}.el-col-sm-16.is-guttered{display:block}.el-col-sm-offset-16{margin-left:66.6667%}.el-col-sm-pull-16{position:relative;right:66.6667%}.el-col-sm-push-16{position:relative;left:66.6667%}.el-col-sm-17{flex:0 0 70.8333%;max-width:70.8333%;display:block}.el-col-sm-17.is-guttered{display:block}.el-col-sm-offset-17{margin-left:70.8333%}.el-col-sm-pull-17{position:relative;right:70.8333%}.el-col-sm-push-17{position:relative;left:70.8333%}.el-col-sm-18{flex:0 0 75%;max-width:75%;display:block}.el-col-sm-18.is-guttered{display:block}.el-col-sm-offset-18{margin-left:75%}.el-col-sm-pull-18{position:relative;right:75%}.el-col-sm-push-18{position:relative;left:75%}.el-col-sm-19{flex:0 0 79.1667%;max-width:79.1667%;display:block}.el-col-sm-19.is-guttered{display:block}.el-col-sm-offset-19{margin-left:79.1667%}.el-col-sm-pull-19{position:relative;right:79.1667%}.el-col-sm-push-19{position:relative;left:79.1667%}.el-col-sm-20{flex:0 0 83.3333%;max-width:83.3333%;display:block}.el-col-sm-20.is-guttered{display:block}.el-col-sm-offset-20{margin-left:83.3333%}.el-col-sm-pull-20{position:relative;right:83.3333%}.el-col-sm-push-20{position:relative;left:83.3333%}.el-col-sm-21{flex:0 0 87.5%;max-width:87.5%;display:block}.el-col-sm-21.is-guttered{display:block}.el-col-sm-offset-21{margin-left:87.5%}.el-col-sm-pull-21{position:relative;right:87.5%}.el-col-sm-push-21{position:relative;left:87.5%}.el-col-sm-22{flex:0 0 91.6667%;max-width:91.6667%;display:block}.el-col-sm-22.is-guttered{display:block}.el-col-sm-offset-22{margin-left:91.6667%}.el-col-sm-pull-22{position:relative;right:91.6667%}.el-col-sm-push-22{position:relative;left:91.6667%}.el-col-sm-23{flex:0 0 95.8333%;max-width:95.8333%;display:block}.el-col-sm-23.is-guttered{display:block}.el-col-sm-offset-23{margin-left:95.8333%}.el-col-sm-pull-23{position:relative;right:95.8333%}.el-col-sm-push-23{position:relative;left:95.8333%}.el-col-sm-24{flex:0 0 100%;max-width:100%;display:block}.el-col-sm-24.is-guttered{display:block}.el-col-sm-offset-24{margin-left:100%}.el-col-sm-pull-24{position:relative;right:100%}.el-col-sm-push-24{position:relative;left:100%}}@media only screen and (min-width:992px){.el-col-md-0{flex:0 0;max-width:0%;display:none}.el-col-md-0.is-guttered{display:none}.el-col-md-offset-0{margin-left:0%}.el-col-md-pull-0{position:relative;right:0%}.el-col-md-push-0{position:relative;left:0%}.el-col-md-1{flex:0 0 4.16667%;max-width:4.16667%;display:block}.el-col-md-1.is-guttered{display:block}.el-col-md-offset-1{margin-left:4.16667%}.el-col-md-pull-1{position:relative;right:4.16667%}.el-col-md-push-1{position:relative;left:4.16667%}.el-col-md-2{flex:0 0 8.33333%;max-width:8.33333%;display:block}.el-col-md-2.is-guttered{display:block}.el-col-md-offset-2{margin-left:8.33333%}.el-col-md-pull-2{position:relative;right:8.33333%}.el-col-md-push-2{position:relative;left:8.33333%}.el-col-md-3{flex:0 0 12.5%;max-width:12.5%;display:block}.el-col-md-3.is-guttered{display:block}.el-col-md-offset-3{margin-left:12.5%}.el-col-md-pull-3{position:relative;right:12.5%}.el-col-md-push-3{position:relative;left:12.5%}.el-col-md-4{flex:0 0 16.6667%;max-width:16.6667%;display:block}.el-col-md-4.is-guttered{display:block}.el-col-md-offset-4{margin-left:16.6667%}.el-col-md-pull-4{position:relative;right:16.6667%}.el-col-md-push-4{position:relative;left:16.6667%}.el-col-md-5{flex:0 0 20.8333%;max-width:20.8333%;display:block}.el-col-md-5.is-guttered{display:block}.el-col-md-offset-5{margin-left:20.8333%}.el-col-md-pull-5{position:relative;right:20.8333%}.el-col-md-push-5{position:relative;left:20.8333%}.el-col-md-6{flex:0 0 25%;max-width:25%;display:block}.el-col-md-6.is-guttered{display:block}.el-col-md-offset-6{margin-left:25%}.el-col-md-pull-6{position:relative;right:25%}.el-col-md-push-6{position:relative;left:25%}.el-col-md-7{flex:0 0 29.1667%;max-width:29.1667%;display:block}.el-col-md-7.is-guttered{display:block}.el-col-md-offset-7{margin-left:29.1667%}.el-col-md-pull-7{position:relative;right:29.1667%}.el-col-md-push-7{position:relative;left:29.1667%}.el-col-md-8{flex:0 0 33.3333%;max-width:33.3333%;display:block}.el-col-md-8.is-guttered{display:block}.el-col-md-offset-8{margin-left:33.3333%}.el-col-md-pull-8{position:relative;right:33.3333%}.el-col-md-push-8{position:relative;left:33.3333%}.el-col-md-9{flex:0 0 37.5%;max-width:37.5%;display:block}.el-col-md-9.is-guttered{display:block}.el-col-md-offset-9{margin-left:37.5%}.el-col-md-pull-9{position:relative;right:37.5%}.el-col-md-push-9{position:relative;left:37.5%}.el-col-md-10{flex:0 0 41.6667%;max-width:41.6667%;display:block}.el-col-md-10.is-guttered{display:block}.el-col-md-offset-10{margin-left:41.6667%}.el-col-md-pull-10{position:relative;right:41.6667%}.el-col-md-push-10{position:relative;left:41.6667%}.el-col-md-11{flex:0 0 45.8333%;max-width:45.8333%;display:block}.el-col-md-11.is-guttered{display:block}.el-col-md-offset-11{margin-left:45.8333%}.el-col-md-pull-11{position:relative;right:45.8333%}.el-col-md-push-11{position:relative;left:45.8333%}.el-col-md-12{flex:0 0 50%;max-width:50%;display:block}.el-col-md-12.is-guttered{display:block}.el-col-md-offset-12{margin-left:50%}.el-col-md-pull-12{position:relative;right:50%}.el-col-md-push-12{position:relative;left:50%}.el-col-md-13{flex:0 0 54.1667%;max-width:54.1667%;display:block}.el-col-md-13.is-guttered{display:block}.el-col-md-offset-13{margin-left:54.1667%}.el-col-md-pull-13{position:relative;right:54.1667%}.el-col-md-push-13{position:relative;left:54.1667%}.el-col-md-14{flex:0 0 58.3333%;max-width:58.3333%;display:block}.el-col-md-14.is-guttered{display:block}.el-col-md-offset-14{margin-left:58.3333%}.el-col-md-pull-14{position:relative;right:58.3333%}.el-col-md-push-14{position:relative;left:58.3333%}.el-col-md-15{flex:0 0 62.5%;max-width:62.5%;display:block}.el-col-md-15.is-guttered{display:block}.el-col-md-offset-15{margin-left:62.5%}.el-col-md-pull-15{position:relative;right:62.5%}.el-col-md-push-15{position:relative;left:62.5%}.el-col-md-16{flex:0 0 66.6667%;max-width:66.6667%;display:block}.el-col-md-16.is-guttered{display:block}.el-col-md-offset-16{margin-left:66.6667%}.el-col-md-pull-16{position:relative;right:66.6667%}.el-col-md-push-16{position:relative;left:66.6667%}.el-col-md-17{flex:0 0 70.8333%;max-width:70.8333%;display:block}.el-col-md-17.is-guttered{display:block}.el-col-md-offset-17{margin-left:70.8333%}.el-col-md-pull-17{position:relative;right:70.8333%}.el-col-md-push-17{position:relative;left:70.8333%}.el-col-md-18{flex:0 0 75%;max-width:75%;display:block}.el-col-md-18.is-guttered{display:block}.el-col-md-offset-18{margin-left:75%}.el-col-md-pull-18{position:relative;right:75%}.el-col-md-push-18{position:relative;left:75%}.el-col-md-19{flex:0 0 79.1667%;max-width:79.1667%;display:block}.el-col-md-19.is-guttered{display:block}.el-col-md-offset-19{margin-left:79.1667%}.el-col-md-pull-19{position:relative;right:79.1667%}.el-col-md-push-19{position:relative;left:79.1667%}.el-col-md-20{flex:0 0 83.3333%;max-width:83.3333%;display:block}.el-col-md-20.is-guttered{display:block}.el-col-md-offset-20{margin-left:83.3333%}.el-col-md-pull-20{position:relative;right:83.3333%}.el-col-md-push-20{position:relative;left:83.3333%}.el-col-md-21{flex:0 0 87.5%;max-width:87.5%;display:block}.el-col-md-21.is-guttered{display:block}.el-col-md-offset-21{margin-left:87.5%}.el-col-md-pull-21{position:relative;right:87.5%}.el-col-md-push-21{position:relative;left:87.5%}.el-col-md-22{flex:0 0 91.6667%;max-width:91.6667%;display:block}.el-col-md-22.is-guttered{display:block}.el-col-md-offset-22{margin-left:91.6667%}.el-col-md-pull-22{position:relative;right:91.6667%}.el-col-md-push-22{position:relative;left:91.6667%}.el-col-md-23{flex:0 0 95.8333%;max-width:95.8333%;display:block}.el-col-md-23.is-guttered{display:block}.el-col-md-offset-23{margin-left:95.8333%}.el-col-md-pull-23{position:relative;right:95.8333%}.el-col-md-push-23{position:relative;left:95.8333%}.el-col-md-24{flex:0 0 100%;max-width:100%;display:block}.el-col-md-24.is-guttered{display:block}.el-col-md-offset-24{margin-left:100%}.el-col-md-pull-24{position:relative;right:100%}.el-col-md-push-24{position:relative;left:100%}}@media only screen and (min-width:1200px){.el-col-lg-0{flex:0 0;max-width:0%;display:none}.el-col-lg-0.is-guttered{display:none}.el-col-lg-offset-0{margin-left:0%}.el-col-lg-pull-0{position:relative;right:0%}.el-col-lg-push-0{position:relative;left:0%}.el-col-lg-1{flex:0 0 4.16667%;max-width:4.16667%;display:block}.el-col-lg-1.is-guttered{display:block}.el-col-lg-offset-1{margin-left:4.16667%}.el-col-lg-pull-1{position:relative;right:4.16667%}.el-col-lg-push-1{position:relative;left:4.16667%}.el-col-lg-2{flex:0 0 8.33333%;max-width:8.33333%;display:block}.el-col-lg-2.is-guttered{display:block}.el-col-lg-offset-2{margin-left:8.33333%}.el-col-lg-pull-2{position:relative;right:8.33333%}.el-col-lg-push-2{position:relative;left:8.33333%}.el-col-lg-3{flex:0 0 12.5%;max-width:12.5%;display:block}.el-col-lg-3.is-guttered{display:block}.el-col-lg-offset-3{margin-left:12.5%}.el-col-lg-pull-3{position:relative;right:12.5%}.el-col-lg-push-3{position:relative;left:12.5%}.el-col-lg-4{flex:0 0 16.6667%;max-width:16.6667%;display:block}.el-col-lg-4.is-guttered{display:block}.el-col-lg-offset-4{margin-left:16.6667%}.el-col-lg-pull-4{position:relative;right:16.6667%}.el-col-lg-push-4{position:relative;left:16.6667%}.el-col-lg-5{flex:0 0 20.8333%;max-width:20.8333%;display:block}.el-col-lg-5.is-guttered{display:block}.el-col-lg-offset-5{margin-left:20.8333%}.el-col-lg-pull-5{position:relative;right:20.8333%}.el-col-lg-push-5{position:relative;left:20.8333%}.el-col-lg-6{flex:0 0 25%;max-width:25%;display:block}.el-col-lg-6.is-guttered{display:block}.el-col-lg-offset-6{margin-left:25%}.el-col-lg-pull-6{position:relative;right:25%}.el-col-lg-push-6{position:relative;left:25%}.el-col-lg-7{flex:0 0 29.1667%;max-width:29.1667%;display:block}.el-col-lg-7.is-guttered{display:block}.el-col-lg-offset-7{margin-left:29.1667%}.el-col-lg-pull-7{position:relative;right:29.1667%}.el-col-lg-push-7{position:relative;left:29.1667%}.el-col-lg-8{flex:0 0 33.3333%;max-width:33.3333%;display:block}.el-col-lg-8.is-guttered{display:block}.el-col-lg-offset-8{margin-left:33.3333%}.el-col-lg-pull-8{position:relative;right:33.3333%}.el-col-lg-push-8{position:relative;left:33.3333%}.el-col-lg-9{flex:0 0 37.5%;max-width:37.5%;display:block}.el-col-lg-9.is-guttered{display:block}.el-col-lg-offset-9{margin-left:37.5%}.el-col-lg-pull-9{position:relative;right:37.5%}.el-col-lg-push-9{position:relative;left:37.5%}.el-col-lg-10{flex:0 0 41.6667%;max-width:41.6667%;display:block}.el-col-lg-10.is-guttered{display:block}.el-col-lg-offset-10{margin-left:41.6667%}.el-col-lg-pull-10{position:relative;right:41.6667%}.el-col-lg-push-10{position:relative;left:41.6667%}.el-col-lg-11{flex:0 0 45.8333%;max-width:45.8333%;display:block}.el-col-lg-11.is-guttered{display:block}.el-col-lg-offset-11{margin-left:45.8333%}.el-col-lg-pull-11{position:relative;right:45.8333%}.el-col-lg-push-11{position:relative;left:45.8333%}.el-col-lg-12{flex:0 0 50%;max-width:50%;display:block}.el-col-lg-12.is-guttered{display:block}.el-col-lg-offset-12{margin-left:50%}.el-col-lg-pull-12{position:relative;right:50%}.el-col-lg-push-12{position:relative;left:50%}.el-col-lg-13{flex:0 0 54.1667%;max-width:54.1667%;display:block}.el-col-lg-13.is-guttered{display:block}.el-col-lg-offset-13{margin-left:54.1667%}.el-col-lg-pull-13{position:relative;right:54.1667%}.el-col-lg-push-13{position:relative;left:54.1667%}.el-col-lg-14{flex:0 0 58.3333%;max-width:58.3333%;display:block}.el-col-lg-14.is-guttered{display:block}.el-col-lg-offset-14{margin-left:58.3333%}.el-col-lg-pull-14{position:relative;right:58.3333%}.el-col-lg-push-14{position:relative;left:58.3333%}.el-col-lg-15{flex:0 0 62.5%;max-width:62.5%;display:block}.el-col-lg-15.is-guttered{display:block}.el-col-lg-offset-15{margin-left:62.5%}.el-col-lg-pull-15{position:relative;right:62.5%}.el-col-lg-push-15{position:relative;left:62.5%}.el-col-lg-16{flex:0 0 66.6667%;max-width:66.6667%;display:block}.el-col-lg-16.is-guttered{display:block}.el-col-lg-offset-16{margin-left:66.6667%}.el-col-lg-pull-16{position:relative;right:66.6667%}.el-col-lg-push-16{position:relative;left:66.6667%}.el-col-lg-17{flex:0 0 70.8333%;max-width:70.8333%;display:block}.el-col-lg-17.is-guttered{display:block}.el-col-lg-offset-17{margin-left:70.8333%}.el-col-lg-pull-17{position:relative;right:70.8333%}.el-col-lg-push-17{position:relative;left:70.8333%}.el-col-lg-18{flex:0 0 75%;max-width:75%;display:block}.el-col-lg-18.is-guttered{display:block}.el-col-lg-offset-18{margin-left:75%}.el-col-lg-pull-18{position:relative;right:75%}.el-col-lg-push-18{position:relative;left:75%}.el-col-lg-19{flex:0 0 79.1667%;max-width:79.1667%;display:block}.el-col-lg-19.is-guttered{display:block}.el-col-lg-offset-19{margin-left:79.1667%}.el-col-lg-pull-19{position:relative;right:79.1667%}.el-col-lg-push-19{position:relative;left:79.1667%}.el-col-lg-20{flex:0 0 83.3333%;max-width:83.3333%;display:block}.el-col-lg-20.is-guttered{display:block}.el-col-lg-offset-20{margin-left:83.3333%}.el-col-lg-pull-20{position:relative;right:83.3333%}.el-col-lg-push-20{position:relative;left:83.3333%}.el-col-lg-21{flex:0 0 87.5%;max-width:87.5%;display:block}.el-col-lg-21.is-guttered{display:block}.el-col-lg-offset-21{margin-left:87.5%}.el-col-lg-pull-21{position:relative;right:87.5%}.el-col-lg-push-21{position:relative;left:87.5%}.el-col-lg-22{flex:0 0 91.6667%;max-width:91.6667%;display:block}.el-col-lg-22.is-guttered{display:block}.el-col-lg-offset-22{margin-left:91.6667%}.el-col-lg-pull-22{position:relative;right:91.6667%}.el-col-lg-push-22{position:relative;left:91.6667%}.el-col-lg-23{flex:0 0 95.8333%;max-width:95.8333%;display:block}.el-col-lg-23.is-guttered{display:block}.el-col-lg-offset-23{margin-left:95.8333%}.el-col-lg-pull-23{position:relative;right:95.8333%}.el-col-lg-push-23{position:relative;left:95.8333%}.el-col-lg-24{flex:0 0 100%;max-width:100%;display:block}.el-col-lg-24.is-guttered{display:block}.el-col-lg-offset-24{margin-left:100%}.el-col-lg-pull-24{position:relative;right:100%}.el-col-lg-push-24{position:relative;left:100%}}@media only screen and (min-width:1920px){.el-col-xl-0{flex:0 0;max-width:0%;display:none}.el-col-xl-0.is-guttered{display:none}.el-col-xl-offset-0{margin-left:0%}.el-col-xl-pull-0{position:relative;right:0%}.el-col-xl-push-0{position:relative;left:0%}.el-col-xl-1{flex:0 0 4.16667%;max-width:4.16667%;display:block}.el-col-xl-1.is-guttered{display:block}.el-col-xl-offset-1{margin-left:4.16667%}.el-col-xl-pull-1{position:relative;right:4.16667%}.el-col-xl-push-1{position:relative;left:4.16667%}.el-col-xl-2{flex:0 0 8.33333%;max-width:8.33333%;display:block}.el-col-xl-2.is-guttered{display:block}.el-col-xl-offset-2{margin-left:8.33333%}.el-col-xl-pull-2{position:relative;right:8.33333%}.el-col-xl-push-2{position:relative;left:8.33333%}.el-col-xl-3{flex:0 0 12.5%;max-width:12.5%;display:block}.el-col-xl-3.is-guttered{display:block}.el-col-xl-offset-3{margin-left:12.5%}.el-col-xl-pull-3{position:relative;right:12.5%}.el-col-xl-push-3{position:relative;left:12.5%}.el-col-xl-4{flex:0 0 16.6667%;max-width:16.6667%;display:block}.el-col-xl-4.is-guttered{display:block}.el-col-xl-offset-4{margin-left:16.6667%}.el-col-xl-pull-4{position:relative;right:16.6667%}.el-col-xl-push-4{position:relative;left:16.6667%}.el-col-xl-5{flex:0 0 20.8333%;max-width:20.8333%;display:block}.el-col-xl-5.is-guttered{display:block}.el-col-xl-offset-5{margin-left:20.8333%}.el-col-xl-pull-5{position:relative;right:20.8333%}.el-col-xl-push-5{position:relative;left:20.8333%}.el-col-xl-6{flex:0 0 25%;max-width:25%;display:block}.el-col-xl-6.is-guttered{display:block}.el-col-xl-offset-6{margin-left:25%}.el-col-xl-pull-6{position:relative;right:25%}.el-col-xl-push-6{position:relative;left:25%}.el-col-xl-7{flex:0 0 29.1667%;max-width:29.1667%;display:block}.el-col-xl-7.is-guttered{display:block}.el-col-xl-offset-7{margin-left:29.1667%}.el-col-xl-pull-7{position:relative;right:29.1667%}.el-col-xl-push-7{position:relative;left:29.1667%}.el-col-xl-8{flex:0 0 33.3333%;max-width:33.3333%;display:block}.el-col-xl-8.is-guttered{display:block}.el-col-xl-offset-8{margin-left:33.3333%}.el-col-xl-pull-8{position:relative;right:33.3333%}.el-col-xl-push-8{position:relative;left:33.3333%}.el-col-xl-9{flex:0 0 37.5%;max-width:37.5%;display:block}.el-col-xl-9.is-guttered{display:block}.el-col-xl-offset-9{margin-left:37.5%}.el-col-xl-pull-9{position:relative;right:37.5%}.el-col-xl-push-9{position:relative;left:37.5%}.el-col-xl-10{flex:0 0 41.6667%;max-width:41.6667%;display:block}.el-col-xl-10.is-guttered{display:block}.el-col-xl-offset-10{margin-left:41.6667%}.el-col-xl-pull-10{position:relative;right:41.6667%}.el-col-xl-push-10{position:relative;left:41.6667%}.el-col-xl-11{flex:0 0 45.8333%;max-width:45.8333%;display:block}.el-col-xl-11.is-guttered{display:block}.el-col-xl-offset-11{margin-left:45.8333%}.el-col-xl-pull-11{position:relative;right:45.8333%}.el-col-xl-push-11{position:relative;left:45.8333%}.el-col-xl-12{flex:0 0 50%;max-width:50%;display:block}.el-col-xl-12.is-guttered{display:block}.el-col-xl-offset-12{margin-left:50%}.el-col-xl-pull-12{position:relative;right:50%}.el-col-xl-push-12{position:relative;left:50%}.el-col-xl-13{flex:0 0 54.1667%;max-width:54.1667%;display:block}.el-col-xl-13.is-guttered{display:block}.el-col-xl-offset-13{margin-left:54.1667%}.el-col-xl-pull-13{position:relative;right:54.1667%}.el-col-xl-push-13{position:relative;left:54.1667%}.el-col-xl-14{flex:0 0 58.3333%;max-width:58.3333%;display:block}.el-col-xl-14.is-guttered{display:block}.el-col-xl-offset-14{margin-left:58.3333%}.el-col-xl-pull-14{position:relative;right:58.3333%}.el-col-xl-push-14{position:relative;left:58.3333%}.el-col-xl-15{flex:0 0 62.5%;max-width:62.5%;display:block}.el-col-xl-15.is-guttered{display:block}.el-col-xl-offset-15{margin-left:62.5%}.el-col-xl-pull-15{position:relative;right:62.5%}.el-col-xl-push-15{position:relative;left:62.5%}.el-col-xl-16{flex:0 0 66.6667%;max-width:66.6667%;display:block}.el-col-xl-16.is-guttered{display:block}.el-col-xl-offset-16{margin-left:66.6667%}.el-col-xl-pull-16{position:relative;right:66.6667%}.el-col-xl-push-16{position:relative;left:66.6667%}.el-col-xl-17{flex:0 0 70.8333%;max-width:70.8333%;display:block}.el-col-xl-17.is-guttered{display:block}.el-col-xl-offset-17{margin-left:70.8333%}.el-col-xl-pull-17{position:relative;right:70.8333%}.el-col-xl-push-17{position:relative;left:70.8333%}.el-col-xl-18{flex:0 0 75%;max-width:75%;display:block}.el-col-xl-18.is-guttered{display:block}.el-col-xl-offset-18{margin-left:75%}.el-col-xl-pull-18{position:relative;right:75%}.el-col-xl-push-18{position:relative;left:75%}.el-col-xl-19{flex:0 0 79.1667%;max-width:79.1667%;display:block}.el-col-xl-19.is-guttered{display:block}.el-col-xl-offset-19{margin-left:79.1667%}.el-col-xl-pull-19{position:relative;right:79.1667%}.el-col-xl-push-19{position:relative;left:79.1667%}.el-col-xl-20{flex:0 0 83.3333%;max-width:83.3333%;display:block}.el-col-xl-20.is-guttered{display:block}.el-col-xl-offset-20{margin-left:83.3333%}.el-col-xl-pull-20{position:relative;right:83.3333%}.el-col-xl-push-20{position:relative;left:83.3333%}.el-col-xl-21{flex:0 0 87.5%;max-width:87.5%;display:block}.el-col-xl-21.is-guttered{display:block}.el-col-xl-offset-21{margin-left:87.5%}.el-col-xl-pull-21{position:relative;right:87.5%}.el-col-xl-push-21{position:relative;left:87.5%}.el-col-xl-22{flex:0 0 91.6667%;max-width:91.6667%;display:block}.el-col-xl-22.is-guttered{display:block}.el-col-xl-offset-22{margin-left:91.6667%}.el-col-xl-pull-22{position:relative;right:91.6667%}.el-col-xl-push-22{position:relative;left:91.6667%}.el-col-xl-23{flex:0 0 95.8333%;max-width:95.8333%;display:block}.el-col-xl-23.is-guttered{display:block}.el-col-xl-offset-23{margin-left:95.8333%}.el-col-xl-pull-23{position:relative;right:95.8333%}.el-col-xl-push-23{position:relative;left:95.8333%}.el-col-xl-24{flex:0 0 100%;max-width:100%;display:block}.el-col-xl-24.is-guttered{display:block}.el-col-xl-offset-24{margin-left:100%}.el-col-xl-pull-24{position:relative;right:100%}.el-col-xl-push-24{position:relative;left:100%}}.el-collapse-item.is-disabled .el-collapse-item__header{color:var(--el-text-color-disabled);cursor:not-allowed}.el-collapse-item__header{width:100%;min-height:var(--el-collapse-header-height);line-height:var(--el-collapse-header-height);background-color:var(--el-collapse-header-bg-color);color:var(--el-collapse-header-text-color);cursor:pointer;border:none;border-bottom:1px solid var(--el-collapse-border-color);font-size:var(--el-collapse-header-font-size);transition:border-bottom-color var(--el-transition-duration);box-sizing:border-box;outline:none;align-items:center;padding:0;font-weight:500;display:flex}.el-collapse-item__arrow{transition:transform var(--el-transition-duration);font-weight:300}.el-collapse-item__arrow.is-active{transform:rotate(90deg)}.el-collapse-item__title{text-align:left;flex:auto}.el-collapse-item__header.focusing:focus:not(:hover){color:var(--el-color-primary)}.el-collapse-item__header.is-active{border-bottom-color:#0000}.el-collapse-item__wrap{will-change:height;background-color:var(--el-collapse-content-bg-color);box-sizing:border-box;border-bottom:1px solid var(--el-collapse-border-color);overflow:hidden}.el-collapse-item__content{font-size:var(--el-collapse-content-font-size);color:var(--el-collapse-content-text-color);padding-bottom:25px;line-height:1.76923}.el-collapse-item:last-child{margin-bottom:-1px}.el-collapse{--el-collapse-border-color:var(--el-border-color-lighter);--el-collapse-header-height:48px;--el-collapse-header-bg-color:var(--el-fill-color-blank);--el-collapse-header-text-color:var(--el-text-color-primary);--el-collapse-header-font-size:13px;--el-collapse-content-bg-color:var(--el-fill-color-blank);--el-collapse-content-font-size:13px;--el-collapse-content-text-color:var(--el-text-color-primary);border-top:1px solid var(--el-collapse-border-color);border-bottom:1px solid var(--el-collapse-border-color)}.el-collapse-icon-position-left .el-collapse-item__header{gap:8px}.el-collapse-icon-position-left .el-collapse-item__title{order:1}.el-collapse-icon-position-right .el-collapse-item__header{padding-right:8px}.el-color-picker-panel{--el-colorpicker-bg-color:var(--el-bg-color-overlay);--el-fill-color-blank:var(--el-colorpicker-bg-color);box-sizing:content-box;background:var(--el-colorpicker-bg-color);width:300px;padding:12px}.el-color-picker-panel.is-border{border:solid 1px var(--el-border-color-lighter);border-radius:4px}.el-color-picker-panel__wrapper{margin-bottom:6px}.el-color-picker-panel__footer{text-align:right;justify-content:space-between;margin-top:12px;display:flex}.el-color-picker-panel__footer .el-input{color:#000;width:160px;font-size:12px;line-height:26px}.el-color-picker-panel.is-disabled .el-color-svpanel,.el-color-picker-panel.is-disabled .el-color-hue-slider{cursor:not-allowed;opacity:.3}.el-color-picker-panel.is-disabled .el-color-hue-slider__thumb{cursor:not-allowed}.el-color-picker-panel.is-disabled .el-color-alpha-slider,.el-color-picker-panel.is-disabled .el-color-predefine .el-color-predefine__color-selector{cursor:not-allowed;opacity:.3}.el-color-predefine{width:280px;margin-top:8px;font-size:12px;display:flex}.el-color-predefine__colors{flex-wrap:wrap;flex:1;gap:8px;display:flex}.el-color-predefine__color-selector{border-radius:var(--el-border-radius-base);cursor:pointer;border:none;outline:none;width:20px;height:20px;padding:0;overflow:hidden}.el-color-predefine__color-selector.selected{box-shadow:0 0 3px 2px var(--el-color-primary)}.el-color-predefine__color-selector:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-color-predefine__color-selector>div{height:100%;display:flex}.el-color-predefine__color-selector.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-hue-slider{box-sizing:border-box;float:right;background-color:red;width:280px;height:12px;padding:0 2px;position:relative}.el-color-hue-slider__bar{background:linear-gradient(90deg,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red);height:100%;position:relative}.el-color-hue-slider__thumb{cursor:pointer;box-sizing:border-box;border:1px solid var(--el-border-color-lighter);z-index:1;background:#fff;border-radius:1px;width:4px;height:100%;position:absolute;top:0;left:0;box-shadow:0 0 2px #0009}.el-color-hue-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-hue-slider.is-vertical{width:12px;height:180px;padding:2px 0}.el-color-hue-slider.is-vertical .el-color-hue-slider__bar{background:linear-gradient(red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}.el-color-hue-slider.is-vertical .el-color-hue-slider__thumb{width:100%;height:4px;top:0;left:0}.el-color-svpanel{background-image:linear-gradient(#0000,#000),linear-gradient(90deg,#fff,#fff0);width:280px;height:180px;position:relative}.el-color-svpanel__cursor{cursor:pointer;border-radius:50%;width:4px;height:4px;position:absolute;transform:translate(-2px,-2px);box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006}.el-color-svpanel__cursor:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-color-alpha-slider{box-sizing:border-box;background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-position:0 0,6px 0,6px -6px,0 6px;background-size:12px 12px;width:280px;height:12px;position:relative}.el-color-alpha-slider.is-disabled .el-color-alpha-slider__thumb{cursor:not-allowed}.el-color-alpha-slider__bar{background:linear-gradient(to right,#fff0 0%,var(--el-bg-color) 100%);height:100%;position:relative}.el-color-alpha-slider__thumb{cursor:pointer;box-sizing:border-box;border:1px solid var(--el-border-color-lighter);z-index:1;background:#fff;border-radius:1px;width:4px;height:100%;position:absolute;top:0;left:0;box-shadow:0 0 2px #0009}.el-color-alpha-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-alpha-slider.is-vertical{width:20px;height:180px}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__bar{background:linear-gradient(#fff0,#fff)}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__thumb{width:100%;height:4px;top:0;left:0}.el-color-picker-panel{--el-color-picker-alpha-bg-a:#ccc;--el-color-picker-alpha-bg-b:transparent}.dark .el-color-picker-panel{--el-color-picker-alpha-bg-a:#333}.el-color-picker{outline:none;width:32px;height:32px;line-height:normal;display:inline-block;position:relative}.el-color-picker:hover:not(:-webkit-any(.is-disabled,.is-focused)) .el-color-picker__trigger{border-color:var(--el-border-color-hover)}.el-color-picker:hover:not(:is(.is-disabled,.is-focused)) .el-color-picker__trigger{border-color:var(--el-border-color-hover)}.el-color-picker:focus-visible:not(.is-disabled) .el-color-picker__trigger{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-picker.is-focused .el-color-picker__trigger{border-color:var(--el-color-primary)}.el-color-picker.is-disabled .el-color-picker__trigger{cursor:not-allowed;background-color:var(--el-fill-color-light)}.el-color-picker.is-disabled .el-color-picker__color{opacity:.3}.el-color-picker--large{width:40px;height:40px}.el-color-picker--small{width:24px;height:24px}.el-color-picker--small .el-color-picker__icon,.el-color-picker--small .el-color-picker__empty{transform:scale(.8)}.el-color-picker__trigger{box-sizing:border-box;border:1px solid var(--el-border-color);cursor:pointer;border-radius:4px;justify-content:center;align-items:center;width:100%;height:100%;padding:4px;font-size:0;display:inline-flex;position:relative}.el-color-picker__color{box-sizing:border-box;border:1px solid var(--el-text-color-secondary);border-radius:var(--el-border-radius-small);text-align:center;width:100%;height:100%;display:block;position:relative}.el-color-picker__color.is-alpha{background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-position:0 0,6px 0,6px -6px,0 6px;background-size:12px 12px}.el-color-picker__color-inner{justify-content:center;align-items:center;width:100%;height:100%;display:inline-flex}.el-color-picker .el-color-picker__empty{color:var(--el-text-color-secondary);font-size:12px}.el-color-picker .el-color-picker__icon{color:#fff;justify-content:center;align-items:center;font-size:12px;display:inline-flex}.el-color-picker__panel{border-radius:var(--el-border-radius-base);box-shadow:var(--el-box-shadow-light);background-color:#fff}.el-color-picker__panel.el-popper{border:1px solid var(--el-border-color-lighter)}.el-color-picker,.el-color-picker__panel{--el-color-picker-alpha-bg-a:#ccc;--el-color-picker-alpha-bg-b:transparent}.dark .el-color-picker,.dark .el-color-picker__panel{--el-color-picker-alpha-bg-a:#333}.el-container{box-sizing:border-box;flex-direction:row;flex:auto;min-width:0;display:flex}.el-container.is-vertical{flex-direction:column}.el-date-table{-webkit-user-select:none;user-select:none;font-size:12px}.el-date-table.is-week-mode .el-date-table__row:hover .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table.is-week-mode .el-date-table__row:hover td.available:hover{color:var(--el-datepicker-text-color)}.el-date-table.is-week-mode .el-date-table__row:hover td:first-child .el-date-table-cell{border-top-left-radius:15px;border-bottom-left-radius:15px;margin-left:5px}.el-date-table.is-week-mode .el-date-table__row:hover td:last-child .el-date-table-cell{border-top-right-radius:15px;border-bottom-right-radius:15px;margin-right:5px}.el-date-table.is-week-mode .el-date-table__row.current .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td{box-sizing:border-box;text-align:center;cursor:pointer;width:32px;height:30px;padding:4px 0;position:relative}.el-date-table td .el-date-table-cell{box-sizing:border-box;height:30px;padding:3px 0}.el-date-table td .el-date-table-cell .el-date-table-cell__text{border-radius:50%;width:24px;height:24px;margin:0 auto;line-height:24px;display:block;position:absolute;left:50%;transform:translate(-50%)}.el-date-table td.next-month,.el-date-table td.prev-month{color:var(--el-datepicker-off-text-color)}.el-date-table td.today{position:relative}.el-date-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-date-table td.today.start-date .el-date-table-cell__text,.el-date-table td.today.end-date .el-date-table-cell__text{color:#fff}.el-date-table td.available:hover{color:var(--el-datepicker-hover-text-color)}.el-date-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.current:not(.disabled) .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-date-table td.current:not(.disabled):focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-date-table td.start-date .el-date-table-cell,.el-date-table td.end-date .el-date-table-cell{color:#fff}.el-date-table td.start-date .el-date-table-cell__text,.el-date-table td.end-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color)}.el-date-table td.start-date .el-date-table-cell{border-top-left-radius:15px;border-bottom-left-radius:15px;margin-left:5px}.el-date-table td.end-date .el-date-table-cell{border-top-right-radius:15px;border-bottom-right-radius:15px;margin-right:5px}.el-date-table td.disabled .el-date-table-cell{background-color:var(--el-fill-color-light);opacity:1;cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-date-table td.selected .el-date-table-cell{border-radius:15px;margin-left:5px;margin-right:5px}.el-date-table td.selected .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff;border-radius:15px}.el-date-table td.week{color:var(--el-datepicker-off-text-color);cursor:default;font-size:80%}.el-date-table td:focus{outline:none}.el-date-table th{color:var(--el-datepicker-header-text-color);border-bottom:solid 1px var(--el-border-color-lighter);padding:5px;font-weight:400}.el-date-table th.el-date-table__week-header{width:24px;padding:0}.el-month-table{border-collapse:collapse;margin:-1px;font-size:12px}.el-month-table td{text-align:center;cursor:pointer;width:68px;padding:8px 0;position:relative}.el-month-table td .el-date-table-cell{box-sizing:border-box;height:48px;padding:6px 0}.el-month-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-month-table td.today.start-date .el-date-table-cell__text,.el-month-table td.today.end-date .el-date-table-cell__text{color:#fff}.el-month-table td.disabled .el-date-table-cell__text{background-color:var(--el-fill-color-light);cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-month-table td.disabled .el-date-table-cell__text:hover{color:var(--el-text-color-placeholder)}.el-month-table td .el-date-table-cell__text{width:54px;height:36px;color:var(--el-datepicker-text-color);border-radius:18px;margin:0 auto;line-height:36px;display:block;position:absolute;left:50%;transform:translate(-50%)}.el-month-table td .el-date-table-cell__text:hover{color:var(--el-datepicker-hover-text-color)}.el-month-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-month-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-month-table td.start-date .el-date-table-cell,.el-month-table td.end-date .el-date-table-cell{color:#fff}.el-month-table td.start-date .el-date-table-cell__text,.el-month-table td.end-date .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-month-table td.start-date .el-date-table-cell{border-top-left-radius:24px;border-bottom-left-radius:24px;margin-left:3px}.el-month-table td.end-date .el-date-table-cell{border-top-right-radius:24px;border-bottom-right-radius:24px;margin-right:3px}.el-month-table td.current:not(.disabled) .el-date-table-cell{border-radius:24px;margin-left:3px;margin-right:3px}.el-month-table td.current:not(.disabled) .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-month-table td:focus-visible{outline:none}.el-month-table td:focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-quarter-table{border-collapse:collapse;margin:-1px;font-size:12px}.el-quarter-table td{text-align:center;cursor:pointer;width:68px;padding:8px 0;position:relative}.el-quarter-table td .el-date-table-cell{box-sizing:border-box;height:48px;padding:6px 0}.el-quarter-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-quarter-table td.today.start-date .el-date-table-cell__text,.el-quarter-table td.today.end-date .el-date-table-cell__text{color:#fff}.el-quarter-table td.disabled .el-date-table-cell__text{background-color:var(--el-fill-color-light);cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-quarter-table td.disabled .el-date-table-cell__text:hover{color:var(--el-text-color-placeholder)}.el-quarter-table td .el-date-table-cell__text{width:48px;height:36px;color:var(--el-datepicker-text-color);border-radius:18px;margin:0 auto;line-height:36px;display:block;position:absolute;left:50%;transform:translate(-50%)}.el-quarter-table td .el-date-table-cell__text:hover{color:var(--el-datepicker-hover-text-color)}.el-quarter-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-quarter-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-quarter-table td.start-date .el-date-table-cell,.el-quarter-table td.end-date .el-date-table-cell{color:#fff}.el-quarter-table td.start-date .el-date-table-cell__text,.el-quarter-table td.end-date .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-quarter-table td.start-date .el-date-table-cell{border-top-left-radius:24px;border-bottom-left-radius:24px;margin-left:6px}.el-quarter-table td.end-date .el-date-table-cell{border-top-right-radius:24px;border-bottom-right-radius:24px;margin-right:6px}.el-quarter-table td.current:not(.disabled) .el-date-table-cell{border-radius:24px;margin-left:6px;margin-right:6px}.el-quarter-table td.current:not(.disabled) .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-quarter-table td:focus-visible{outline:none}.el-quarter-table td:focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-year-table{border-collapse:collapse;margin:-1px;font-size:12px}.el-year-table .el-icon{color:var(--el-datepicker-icon-color)}.el-year-table td{text-align:center;cursor:pointer;width:68px;padding:8px 0;position:relative}.el-year-table td .el-date-table-cell{box-sizing:border-box;height:48px;padding:6px 0}.el-year-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-year-table td.today.start-date .el-date-table-cell__text,.el-year-table td.today.end-date .el-date-table-cell__text{color:#fff}.el-year-table td.disabled .el-date-table-cell__text{background-color:var(--el-fill-color-light);cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-year-table td.disabled .el-date-table-cell__text:hover{color:var(--el-text-color-placeholder)}.el-year-table td .el-date-table-cell__text{width:60px;height:36px;color:var(--el-datepicker-text-color);border-radius:18px;margin:0 auto;line-height:36px;display:block;position:absolute;left:50%;transform:translate(-50%)}.el-year-table td .el-date-table-cell__text:hover{color:var(--el-datepicker-hover-text-color)}.el-year-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-year-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-year-table td.start-date .el-date-table-cell,.el-year-table td.end-date .el-date-table-cell{color:#fff}.el-year-table td.start-date .el-date-table-cell__text,.el-year-table td.end-date .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-year-table td.start-date .el-date-table-cell{border-top-left-radius:24px;border-bottom-left-radius:24px}.el-year-table td.end-date .el-date-table-cell{border-top-right-radius:24px;border-bottom-right-radius:24px}.el-year-table td.current:not(.disabled) .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-year-table td:focus-visible{outline:none}.el-year-table td:focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33.3%}.el-time-spinner__wrapper{vertical-align:top;width:50%;max-height:192px;display:inline-block;position:relative;overflow:auto}.el-time-spinner__wrapper.el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default){padding-bottom:15px}.el-time-spinner__wrapper.is-arrow{box-sizing:border-box;text-align:center;overflow:hidden}.el-time-spinner__wrapper.is-arrow .el-time-spinner__list{transform:translateY(-32px)}.el-time-spinner__wrapper.is-arrow .el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:default}.el-time-spinner__arrow{color:var(--el-text-color-secondary);width:100%;z-index:var(--el-index-normal);text-align:center;cursor:pointer;height:30px;font-size:12px;line-height:30px;position:absolute;left:0}.el-time-spinner__arrow:hover{color:var(--el-color-primary)}.el-time-spinner__arrow.arrow-up{top:10px}.el-time-spinner__arrow.arrow-down{bottom:10px}.el-time-spinner__input.el-input{width:70%}.el-time-spinner__input.el-input .el-input__inner{text-align:center;padding:0}.el-time-spinner__list{text-align:center;margin:0;padding:0;list-style:none}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";width:100%;height:80px;display:block}.el-time-spinner__item{height:32px;color:var(--el-text-color-regular);font-size:12px;line-height:32px}.el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:pointer}.el-time-spinner__item.is-active:not(.is-disabled){color:var(--el-text-color-primary);font-weight:700}.el-time-spinner__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-picker__popper{--el-datepicker-border-color:var(--el-disabled-border-color)}.el-picker__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-datepicker-border-color);box-shadow:var(--el-box-shadow-light)}.el-picker__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-datepicker-border-color)}.el-picker__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:#0000;border-left-color:#0000}.el-picker__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:#0000;border-right-color:#0000}.el-picker__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:#0000;border-left-color:#0000}.el-picker__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-top-color:#0000;border-right-color:#0000}.el-date-editor{--el-date-editor-width:220px;--el-date-editor-monthrange-width:300px;--el-date-editor-quarterrange-width:300px;--el-date-editor-daterange-width:350px;--el-date-editor-datetimerange-width:400px;--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;text-align:left;vertical-align:middle;position:relative}.el-date-editor.el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset}.el-date-editor.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-date-editor.is-focus .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-date-editor.el-input,.el-date-editor.el-input__wrapper{width:var(--el-date-editor-width);height:var(--el-input-height,var(--el-component-size))}.el-date-editor--monthrange{--el-date-editor-width:var(--el-date-editor-monthrange-width)}.el-date-editor--quarterrange{--el-date-editor-width:var(--el-date-editor-quarterrange-width)}.el-date-editor--daterange,.el-date-editor--timerange{--el-date-editor-width:var(--el-date-editor-daterange-width)}.el-date-editor--datetimerange{--el-date-editor-width:var(--el-date-editor-datetimerange-width)}.el-date-editor--dates .el-input__wrapper{text-overflow:ellipsis;white-space:nowrap}.el-date-editor .close-icon,.el-date-editor .clear-icon{cursor:pointer}.el-date-editor .clear-icon:hover{color:var(--el-input-clear-hover-color)}.el-date-editor .el-range__icon{height:inherit;color:var(--el-text-color-placeholder);float:left;font-size:14px}.el-date-editor .el-range__icon svg{vertical-align:middle}.el-date-editor .el-range-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:center;width:39%;height:30px;line-height:30px;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);background-color:#0000;border:none;outline:none;margin:0;padding:0;display:inline-block}.el-date-editor .el-range-input::placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-separator{overflow-wrap:break-word;height:100%;color:var(--el-text-color-primary);flex:1;justify-content:center;align-items:center;margin:0;padding:0 5px;font-size:14px;display:inline-flex}.el-date-editor .el-range__close-icon{color:var(--el-text-color-placeholder);height:inherit;width:unset;cursor:pointer;font-size:14px}.el-date-editor .el-range__close-icon:hover{color:var(--el-input-clear-hover-color)}.el-date-editor .el-range__close-icon svg{vertical-align:middle}.el-date-editor .el-range__close-icon--hidden{opacity:0;visibility:hidden}.el-range-editor.el-input__wrapper{vertical-align:middle;align-items:center;padding:0 10px;display:inline-flex}.el-range-editor.is-active,.el-range-editor.is-active:hover{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-range-editor--large{line-height:var(--el-component-size-large)}.el-range-editor--large.el-input__wrapper{height:var(--el-component-size-large)}.el-range-editor--large .el-range-separator{font-size:14px;line-height:40px}.el-range-editor--large .el-range-input{height:38px;font-size:14px;line-height:38px}.el-range-editor--small{line-height:var(--el-component-size-small)}.el-range-editor--small.el-input__wrapper{height:var(--el-component-size-small)}.el-range-editor--small .el-range-separator{font-size:12px;line-height:24px}.el-range-editor--small .el-range-input{height:22px;font-size:12px;line-height:22px}.el-range-editor.is-disabled{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled:hover,.el-range-editor.is-disabled:focus{border-color:var(--el-disabled-border-color)}.el-range-editor.is-disabled input{background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled input::placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled .el-range-separator{color:var(--el-disabled-text-color)}.el-picker-panel{color:var(--el-text-color-regular);background:var(--el-datepicker-bg-color);border-radius:var(--el-popper-border-radius,var(--el-border-radius-base));line-height:30px}.el-picker-panel .el-time-panel{border:solid 1px var(--el-datepicker-border-color);background-color:var(--el-datepicker-bg-color);box-shadow:var(--el-box-shadow-light);margin:5px 0}.el-picker-panel__body:after,.el-picker-panel__body-wrapper:after{content:"";clear:both;display:table}.el-picker-panel__content{margin:15px;position:relative}.el-picker-panel__footer{border-top:1px solid var(--el-datepicker-inner-border-color);text-align:right;background-color:var(--el-datepicker-bg-color);padding:4px 12px;font-size:0;position:relative}.el-picker-panel__shortcut{width:100%;color:var(--el-datepicker-text-color);text-align:left;cursor:pointer;background-color:#0000;border:0;outline:none;padding-left:12px;font-size:14px;line-height:28px;display:block}.el-picker-panel__shortcut:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__shortcut.active{color:var(--el-datepicker-active-color);background-color:#e6f1fe}.el-picker-panel__btn{border:1px solid var(--el-fill-color-darker);color:var(--el-text-color-primary);cursor:pointer;background-color:#0000;border-radius:2px;outline:none;padding:0 20px;font-size:12px;line-height:24px}.el-picker-panel__btn[disabled]{color:var(--el-text-color-disabled);cursor:not-allowed}.el-picker-panel__icon-btn{color:var(--el-datepicker-icon-color);cursor:pointer;background:0 0;border:0;outline:none;margin-top:8px;padding:1px 6px;font-size:12px;line-height:1}.el-picker-panel__icon-btn:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn:focus-visible{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn.is-disabled{color:var(--el-text-color-disabled)}.el-picker-panel__icon-btn.is-disabled:hover{cursor:not-allowed}.el-picker-panel__icon-btn.is-disabled .el-icon{cursor:inherit}.el-picker-panel__icon-btn .el-icon{cursor:pointer;font-size:inherit}.el-picker-panel__link-btn{vertical-align:middle}.el-picker-panel.is-disabled .el-picker-panel__prev-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__prev-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__prev-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__next-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__next-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__next-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__icon-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__icon-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__icon-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__shortcut{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__shortcut:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__shortcut .el-icon{cursor:inherit}.el-picker-panel [slot=sidebar],.el-picker-panel__sidebar{border-right:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;width:110px;padding-top:6px;position:absolute;top:0;bottom:0;overflow:auto}.el-picker-panel [slot=sidebar]+.el-picker-panel__body,.el-picker-panel__sidebar+.el-picker-panel__body{margin-left:110px}.el-date-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary);--el-datepicker-bg-color:var(--el-bg-color-overlay);--el-fill-color-blank:var(--el-datepicker-bg-color);width:322px}.el-date-picker.has-sidebar.has-time{width:434px}.el-date-picker.has-sidebar{width:438px}.el-date-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-picker .el-picker-panel__content{width:292px}.el-date-picker table{table-layout:fixed;width:100%}.el-date-picker__editor-wrap{padding:0 5px;display:table-cell;position:relative}.el-date-picker__time-header{border-bottom:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;width:100%;padding:8px 5px 5px;font-size:12px;display:table;position:relative}.el-date-picker__header{text-align:center;padding:12px 12px 0}.el-date-picker__header--bordered{border-bottom:solid 1px var(--el-border-color-lighter);margin-bottom:0;padding-bottom:12px}.el-date-picker__header--bordered+.el-picker-panel__content{margin-top:0}.el-date-picker__header-label{text-align:center;cursor:pointer;color:var(--el-text-color-regular);padding:0 5px;font-size:16px;font-weight:500;line-height:22px}.el-date-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-picker__header-label:focus-visible{color:var(--el-datepicker-hover-text-color);outline:none}.el-date-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-picker__prev-btn{float:left}.el-date-picker__next-btn{float:right}.el-date-picker__time-wrap{text-align:center;padding:10px}.el-date-picker__time-label{float:left;cursor:pointer;margin-left:10px;line-height:30px}.el-date-picker .el-time-panel{position:absolute}.el-date-picker.is-disabled .el-date-picker__header-label{color:var(--el-text-color-disabled)}.el-date-picker.is-disabled .el-date-picker__header-label:hover{cursor:not-allowed}.el-date-picker.is-disabled .el-date-picker__header-label .el-icon{cursor:inherit}.el-date-range-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary);--el-datepicker-bg-color:var(--el-bg-color-overlay);width:646px}.el-date-range-picker.has-sidebar{width:756px}.el-date-range-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-range-picker table{table-layout:fixed;width:100%}.el-date-range-picker .el-picker-panel__body{min-width:513px}.el-date-range-picker .el-picker-panel__content{margin:0}.el-date-range-picker.single-panel{width:322px}.el-date-range-picker.single-panel .el-picker-panel__body{min-width:322px}.el-date-range-picker.single-panel.has-sidebar.has-time{width:434px}.el-date-range-picker.single-panel.has-sidebar{width:438px}.el-date-range-picker.single-panel .el-picker-panel__content{width:292px;margin:15px;padding:0;display:block;position:relative}.el-date-range-picker__header{text-align:center;height:28px;position:relative}.el-date-range-picker__header [class*=arrow-left]{float:left}.el-date-range-picker__header [class*=arrow-right]{float:right}.el-date-range-picker__header div{margin-right:50px;font-size:16px;font-weight:500}.el-date-range-picker__header-label{text-align:center;cursor:pointer;color:var(--el-text-color-regular);padding:0 5px;font-size:16px;font-weight:500;line-height:22px}.el-date-range-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-range-picker__header-label:focus-visible{color:var(--el-datepicker-hover-text-color);outline:none}.el-date-range-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-range-picker__content{box-sizing:border-box;width:50%;margin:0;padding:16px;display:table-cell}.el-date-range-picker__content.is-left{border-right:1px solid var(--el-datepicker-inner-border-color)}.el-date-range-picker__content .el-date-range-picker__header div{margin-left:50px;margin-right:50px}.el-date-range-picker__editors-wrap{box-sizing:border-box;display:table-cell}.el-date-range-picker__editors-wrap.is-right{text-align:right}.el-date-range-picker__time-header{border-bottom:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;width:100%;padding:8px 5px 5px;font-size:12px;display:table;position:relative}.el-date-range-picker__time-header>.el-icon-arrow-right{vertical-align:middle;color:var(--el-datepicker-icon-color);font-size:20px;display:table-cell}.el-date-range-picker__time-picker-wrap{padding:0 5px;display:table-cell;position:relative}.el-date-range-picker__time-picker-wrap .el-picker-panel{z-index:1;background:#fff;position:absolute;top:13px;right:0}.el-date-range-picker__time-picker-wrap .el-time-panel{position:absolute}.el-date-range-picker.is-disabled .el-date-range-picker__header-label{color:var(--el-text-color-disabled)}.el-date-range-picker.is-disabled .el-date-range-picker__header-label:hover{cursor:not-allowed}.el-date-range-picker.is-disabled .el-date-range-picker__header-label .el-icon{cursor:inherit}.el-time-range-picker{width:354px;overflow:visible}.el-time-range-picker__content{text-align:center;z-index:1;padding:10px;position:relative}.el-time-range-picker__cell{box-sizing:border-box;width:50%;margin:0;padding:4px 7px 7px;display:inline-block}.el-time-range-picker__header{text-align:center;margin-bottom:5px;font-size:14px}.el-time-range-picker__body{border:1px solid var(--el-datepicker-border-color);border-radius:2px}.el-time-panel{width:180px;z-index:var(--el-index-top);-webkit-user-select:none;user-select:none;box-sizing:content-box;border-radius:2px;position:relative;left:0}.el-time-panel__content{font-size:0;position:relative;overflow:hidden}.el-time-panel__content:after,.el-time-panel__content:before{content:"";z-index:-1;box-sizing:border-box;text-align:left;height:32px;margin-top:-16px;padding-top:6px;position:absolute;top:50%;left:0;right:0}.el-time-panel__content:after{margin-left:12%;margin-right:12%;left:50%}.el-time-panel__content:before{border-top:1px solid var(--el-border-color-light);border-bottom:1px solid var(--el-border-color-light);margin-left:12%;margin-right:12%;padding-left:50%}.el-time-panel__content.has-seconds:after{left:66.6667%}.el-time-panel__content.has-seconds:before{padding-left:33.3333%}.el-time-panel__footer{border-top:1px solid var(--el-timepicker-inner-border-color,var(--el-border-color-light));text-align:right;box-sizing:border-box;height:36px;padding:4px;line-height:25px}.el-time-panel__btn{cursor:pointer;color:var(--el-text-color-primary);background-color:#0000;border:none;outline:none;margin:0 5px;padding:0 5px;font-size:12px;line-height:28px}.el-time-panel__btn.confirm{color:var(--el-timepicker-active-color,var(--el-color-primary));font-weight:800}.el-picker-panel.is-border{border:solid 1px var(--el-border-color-lighter)}.el-picker-panel.is-border .el-picker-panel__body-wrapper{position:relative}.el-picker-panel.is-border.el-picker-panel [slot=sidebar],.el-picker-panel.is-border.el-picker-panel__sidebar{border-right:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;width:110px;height:100%;padding-top:6px;position:absolute;top:0;overflow:auto}.el-descriptions{--el-descriptions-table-border:1px solid var(--el-border-color-lighter);--el-descriptions-item-bordered-label-background:var(--el-fill-color-light);box-sizing:border-box;font-size:var(--el-font-size-base);color:var(--el-text-color-primary)}.el-descriptions__header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.el-descriptions__title{color:var(--el-text-color-primary);font-size:16px;font-weight:700}.el-descriptions__body{background-color:var(--el-fill-color-blank)}.el-descriptions__body .el-descriptions__table{border-collapse:collapse;width:100%}.el-descriptions__body .el-descriptions__table .el-descriptions__cell{box-sizing:border-box;text-align:left;font-size:14px;line-height:23px}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-left{text-align:left}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-center{text-align:center}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-right{text-align:right}.el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{border:var(--el-descriptions-table-border);padding:8px 11px}.el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:12px}.el-descriptions--large{font-size:14px}.el-descriptions--large .el-descriptions__header{margin-bottom:20px}.el-descriptions--large .el-descriptions__header .el-descriptions__title{font-size:16px}.el-descriptions--large .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:14px}.el-descriptions--large .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:12px 15px}.el-descriptions--large .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:16px}.el-descriptions--small{font-size:12px}.el-descriptions--small .el-descriptions__header{margin-bottom:12px}.el-descriptions--small .el-descriptions__header .el-descriptions__title{font-size:14px}.el-descriptions--small .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:12px}.el-descriptions--small .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:4px 7px}.el-descriptions--small .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:8px}.el-descriptions__label.el-descriptions__cell.is-bordered-label{color:var(--el-text-color-regular);background:var(--el-descriptions-item-bordered-label-background);font-weight:700}.el-descriptions__label:not(.is-bordered-label){color:var(--el-text-color-primary);margin-right:16px}.el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:6px}.el-descriptions__content.el-descriptions__cell.is-bordered-content{color:var(--el-text-color-primary)}.el-descriptions__content:not(.is-bordered-label){color:var(--el-text-color-regular)}.el-descriptions--large .el-descriptions__label:not(.is-bordered-label){margin-right:16px}.el-descriptions--large .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:8px}.el-descriptions--small .el-descriptions__label:not(.is-bordered-label){margin-right:12px}.el-descriptions--small .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:4px}:root{--el-popup-modal-bg-color:var(--el-color-black);--el-popup-modal-opacity:.5}.v-modal-enter{animation:v-modal-in var(--el-transition-duration-fast) ease}.v-modal-leave{animation:v-modal-out var(--el-transition-duration-fast) ease forwards}@keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{width:100%;height:100%;opacity:var(--el-popup-modal-opacity);background:var(--el-popup-modal-bg-color);position:fixed;top:0;left:0}.el-popup-parent--hidden{overflow:hidden}.el-dialog{--el-dialog-width:50%;--el-dialog-margin-top:15vh;--el-dialog-bg-color:var(--el-bg-color);--el-dialog-box-shadow:var(--el-box-shadow);--el-dialog-title-font-size:var(--el-font-size-large);--el-dialog-content-font-size:14px;--el-dialog-font-line-height:var(--el-font-line-height-primary);--el-dialog-padding-primary:16px;--el-dialog-border-radius:var(--el-border-radius-base);margin:var(--el-dialog-margin-top,15vh) auto 50px;background:var(--el-dialog-bg-color);border-radius:var(--el-dialog-border-radius);box-shadow:var(--el-dialog-box-shadow);box-sizing:border-box;padding:var(--el-dialog-padding-primary);width:var(--el-dialog-width,50%);overflow-wrap:break-word;position:relative}.el-dialog:focus{outline:none!important}.el-dialog.is-align-center{margin:auto}.el-dialog.is-fullscreen{--el-dialog-width:100%;--el-dialog-margin-top:0;border-radius:0;height:100%;margin-bottom:0;overflow:auto}.el-dialog__wrapper{margin:0;position:fixed;top:0;bottom:0;left:0;right:0;overflow:auto}.el-dialog.is-draggable .el-dialog__header{cursor:move;-webkit-user-select:none;user-select:none}.el-dialog__header{padding-bottom:var(--el-dialog-padding-primary)}.el-dialog__header.show-close{padding-right:calc(var(--el-dialog-padding-primary) + var(--el-message-close-size,16px))}.el-dialog__headerbtn{cursor:pointer;width:48px;height:48px;font-size:var(--el-message-close-size,16px);background:0 0;border:none;outline:none;padding:0;position:absolute;top:0;right:0}.el-dialog__headerbtn .el-dialog__close{color:var(--el-color-info);font-size:inherit}.el-dialog__headerbtn:focus .el-dialog__close,.el-dialog__headerbtn:hover .el-dialog__close{color:var(--el-color-primary)}.el-dialog__title{line-height:var(--el-dialog-font-line-height);font-size:var(--el-dialog-title-font-size);color:var(--el-text-color-primary)}.el-dialog__body{color:var(--el-text-color-regular);font-size:var(--el-dialog-content-font-size)}.el-dialog__footer{padding-top:var(--el-dialog-padding-primary);text-align:right;box-sizing:border-box}.el-dialog--center{text-align:center}.el-dialog--center .el-dialog__body{text-align:initial}.el-dialog--center .el-dialog__footer{text-align:inherit}.el-modal-dialog.is-penetrable{pointer-events:none}.el-modal-dialog.is-penetrable .el-dialog{pointer-events:auto}.el-overlay-dialog{position:fixed;top:0;bottom:0;left:0;right:0;overflow:auto}.el-overlay-dialog.is-closing .el-dialog{pointer-events:none}.dialog-fade-enter-active{animation:modal-fade-in var(--el-transition-duration)}.dialog-fade-enter-active .el-overlay-dialog{animation:dialog-fade-in var(--el-transition-duration)}.dialog-fade-leave-active{animation:modal-fade-out var(--el-transition-duration)}.dialog-fade-leave-active .el-overlay-dialog{animation:dialog-fade-out var(--el-transition-duration)}@keyframes dialog-fade-in{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translate(0)}}@keyframes dialog-fade-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-20px)}}@keyframes modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-fade-out{0%{opacity:1}to{opacity:0}}.el-divider{position:relative}.el-divider--horizontal{border-top:1px var(--el-border-color) var(--el-border-style);width:100%;height:1px;margin:24px 0;display:block}.el-divider--vertical{vertical-align:middle;border-left:1px var(--el-border-color) var(--el-border-style);width:1px;height:1em;margin:0 8px;display:inline-block;position:relative}.el-divider__text{background-color:var(--el-bg-color);color:var(--el-text-color-primary);padding:0 20px;font-size:14px;font-weight:500;position:absolute}.el-divider__text.is-left{left:20px;transform:translateY(-50%)}.el-divider__text.is-center{left:50%;transform:translate(-50%)translateY(-50%)}.el-divider__text.is-right{right:20px;transform:translateY(-50%)}.el-overlay.is-drawer{overflow:hidden}.el-drawer{--el-drawer-bg-color:var(--el-dialog-bg-color,var(--el-bg-color));--el-drawer-padding-primary:var(--el-dialog-padding-primary,20px);--el-drawer-dragger-size:8px;box-sizing:border-box;background-color:var(--el-drawer-bg-color);box-shadow:var(--el-box-shadow-dark);transition:all var(--el-transition-duration);flex-direction:column;display:flex;position:absolute}.el-drawer .rtl,.el-drawer .ltr,.el-drawer .ttb,.el-drawer .btt{transform:translate(0)}.el-drawer__sr-focus:focus{outline:none!important}.el-drawer__header{color:var(--el-text-color-primary);padding:var(--el-drawer-padding-primary);align-items:center;margin-bottom:32px;padding-bottom:0;display:flex;overflow:hidden}.el-drawer__header>:first-child{flex:1}.el-drawer__title{line-height:inherit;flex:1;margin:0;font-size:16px}.el-drawer__footer{padding:var(--el-drawer-padding-primary);text-align:right;padding-top:10px;overflow:hidden}.el-drawer__close-btn{cursor:pointer;font-size:var(--el-font-size-extra-large);color:inherit;background-color:#0000;border:none;outline:none;display:inline-flex}.el-drawer__close-btn:focus i,.el-drawer__close-btn:hover i{color:var(--el-color-primary)}.el-drawer__body{padding:var(--el-drawer-padding-primary);flex:1;overflow:auto}.el-drawer__body>*{box-sizing:border-box}.el-drawer.is-dragging{transition:none}.el-drawer__dragger{-webkit-user-select:none;user-select:none;background-color:#0000;transition:all .2s;position:absolute}.el-drawer__dragger:before{content:"";background-color:#0000;transition:all .2s;position:absolute}.el-drawer__dragger:hover:before{background-color:var(--el-color-primary)}.el-drawer.ltr,.el-drawer.rtl{height:100%;top:0;bottom:0}.el-drawer.ltr>.el-drawer__dragger,.el-drawer.rtl>.el-drawer__dragger{height:100%;width:var(--el-drawer-dragger-size);cursor:ew-resize;top:0;bottom:0}.el-drawer.ltr>.el-drawer__dragger:before,.el-drawer.rtl>.el-drawer__dragger:before{width:3px;top:0;bottom:0}.el-drawer.ttb,.el-drawer.btt{width:100%;left:0;right:0}.el-drawer.ttb>.el-drawer__dragger,.el-drawer.btt>.el-drawer__dragger{width:100%;height:var(--el-drawer-dragger-size);cursor:ns-resize;left:0;right:0}.el-drawer.ttb>.el-drawer__dragger:before,.el-drawer.btt>.el-drawer__dragger:before{height:3px;left:0;right:0}.el-drawer.ltr{left:0}.el-drawer.ltr>.el-drawer__dragger{right:0}.el-drawer.ltr>.el-drawer__dragger:before{right:-2px}.el-drawer.rtl{right:0}.el-drawer.rtl>.el-drawer__dragger{left:0}.el-drawer.rtl>.el-drawer__dragger:before{left:-2px}.el-drawer.ttb{top:0}.el-drawer.ttb>.el-drawer__dragger{bottom:0}.el-drawer.ttb>.el-drawer__dragger:before{bottom:-2px}.el-drawer.btt{bottom:0}.el-drawer.btt>.el-drawer__dragger{top:0}.el-drawer.btt>.el-drawer__dragger:before{top:-2px}.el-modal-drawer.is-penetrable{pointer-events:none}.el-modal-drawer.is-penetrable .el-drawer{pointer-events:auto}.el-drawer-fade-enter-active,.el-drawer-fade-leave-active{transition:all var(--el-transition-duration)}.el-drawer-fade-enter-from,.el-drawer-fade-enter-active,.el-drawer-fade-enter-to,.el-drawer-fade-leave-from,.el-drawer-fade-leave-active,.el-drawer-fade-leave-to{overflow:hidden!important}.el-drawer-fade-enter-from,.el-drawer-fade-leave-to{background-color:#0000!important}.el-drawer-fade-enter-from .rtl,.el-drawer-fade-leave-to .rtl{transform:translate(100%)}.el-drawer-fade-enter-from .ltr,.el-drawer-fade-leave-to .ltr{transform:translate(-100%)}.el-drawer-fade-enter-from .ttb,.el-drawer-fade-leave-to .ttb{transform:translateY(-100%)}.el-drawer-fade-enter-from .btt,.el-drawer-fade-leave-to .btt{transform:translateY(100%)}.el-dropdown{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10;color:var(--el-text-color-regular);font-size:var(--el-font-size-base);vertical-align:top;line-height:1;display:inline-flex;position:relative}.el-dropdown.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-dropdown__popper{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10}.el-dropdown__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-dropdown-menu-box-shadow)}.el-dropdown__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-dropdown__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:#0000;border-left-color:#0000}.el-dropdown__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:#0000;border-right-color:#0000}.el-dropdown__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:#0000;border-left-color:#0000}.el-dropdown__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-top-color:#0000;border-right-color:#0000}.el-dropdown__popper .el-dropdown-menu{border:none}.el-dropdown__popper .el-dropdown__popper-selfdefine{outline:none}.el-dropdown__popper .el-scrollbar__bar{z-index:calc(var(--el-dropdown-menu-index) + 1)}.el-dropdown__popper .el-dropdown__list{box-sizing:border-box;margin:0;padding:0;list-style:none}.el-dropdown .el-dropdown__caret-button{border-left:none;justify-content:center;align-items:center;width:32px;padding-left:0;padding-right:0;display:inline-flex}.el-dropdown .el-dropdown__caret-button>span{display:inline-flex}.el-dropdown .el-dropdown__caret-button:before{content:"";background:var(--el-overlay-color-lighter);width:1px;display:block;position:absolute;top:-1px;bottom:-1px;left:0}.el-dropdown .el-dropdown__caret-button.el-button:before{background:var(--el-border-color);opacity:.5}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{font-size:inherit;padding-left:0}.el-dropdown .el-dropdown-selfdefine{outline:none}.el-dropdown--large .el-dropdown__caret-button{width:40px}.el-dropdown--small .el-dropdown__caret-button{width:24px}.el-dropdown-menu{z-index:var(--el-dropdown-menu-index);background-color:var(--el-bg-color-overlay);border-radius:var(--el-border-radius-base);box-shadow:none;border:none;margin:0;padding:5px 0;list-style:none;position:relative;top:0;left:0}.el-dropdown-menu__item{white-space:nowrap;line-height:22px;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);cursor:pointer;outline:none;align-items:center;margin:0;padding:5px 16px;list-style:none;display:flex}.el-dropdown-menu__item:not(.is-disabled):hover,.el-dropdown-menu__item:not(.is-disabled):focus{background-color:var(--el-dropdown-menuItem-hover-fill);color:var(--el-dropdown-menuItem-hover-color)}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{border-top:1px solid var(--el-border-color-lighter);margin:6px 0}.el-dropdown-menu__item.is-disabled{cursor:not-allowed;color:var(--el-text-color-disabled)}.el-dropdown-menu--large{padding:7px 0}.el-dropdown-menu--large .el-dropdown-menu__item{padding:7px 20px;font-size:14px;line-height:22px}.el-dropdown-menu--large .el-dropdown-menu__item--divided{margin:8px 0}.el-dropdown-menu--small{padding:3px 0}.el-dropdown-menu--small .el-dropdown-menu__item{padding:2px 12px;font-size:12px;line-height:20px}.el-dropdown-menu--small .el-dropdown-menu__item--divided{margin:4px 0}.el-empty{--el-empty-padding:40px 0;--el-empty-image-width:160px;--el-empty-description-margin-top:20px;--el-empty-bottom-margin-top:20px;--el-empty-fill-color-0:var(--el-color-white);--el-empty-fill-color-1:#fcfcfd;--el-empty-fill-color-2:#f8f9fb;--el-empty-fill-color-3:#f7f8fc;--el-empty-fill-color-4:#eeeff3;--el-empty-fill-color-5:#edeef2;--el-empty-fill-color-6:#e9ebef;--el-empty-fill-color-7:#e5e7e9;--el-empty-fill-color-8:#e0e3e9;--el-empty-fill-color-9:#d5d7de;text-align:center;box-sizing:border-box;padding:var(--el-empty-padding);flex-direction:column;justify-content:center;align-items:center;display:flex}.el-empty__image{width:var(--el-empty-image-width)}.el-empty__image img{-webkit-user-select:none;user-select:none;vertical-align:top;object-fit:contain;width:100%;height:100%}.el-empty__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;vertical-align:top;width:100%;height:100%}.el-empty__description{margin-top:var(--el-empty-description-margin-top)}.el-empty__description p{font-size:var(--el-font-size-base);color:var(--el-text-color-secondary);margin:0}.el-empty__bottom{margin-top:var(--el-empty-bottom-margin-top)}.el-footer{--el-footer-padding:0 20px;--el-footer-height:60px;padding:var(--el-footer-padding);box-sizing:border-box;height:var(--el-footer-height);flex-shrink:0}.el-form-item{--el-form-item-margin-bottom:18px;--font-size:14px;margin-bottom:var(--el-form-item-margin-bottom);display:flex}.el-form-item .el-form-item{margin-bottom:0}.el-form-item .el-input__validateIcon{display:none}.el-form-item--large{--font-size:14px;--el-form-label-font-size:var(--font-size);--el-form-item-margin-bottom:22px}.el-form-item--large .el-form-item__label{height:40px;line-height:40px}.el-form-item--large .el-form-item__content{line-height:40px}.el-form-item--large .el-form-item__error{padding-top:4px}.el-form-item--default{--font-size:14px;--el-form-label-font-size:var(--font-size);--el-form-item-margin-bottom:18px}.el-form-item--default .el-form-item__label{height:32px;line-height:32px}.el-form-item--default .el-form-item__content{line-height:32px}.el-form-item--default .el-form-item__error{padding-top:2px}.el-form-item--small{--font-size:12px;--el-form-label-font-size:var(--font-size);--el-form-item-margin-bottom:18px}.el-form-item--small .el-form-item__label{height:24px;line-height:24px}.el-form-item--small .el-form-item__content{line-height:24px}.el-form-item--small .el-form-item__error{padding-top:2px}.el-form-item--label-left .el-form-item__label{text-align:left;justify-content:flex-start}.el-form-item--label-right .el-form-item__label{text-align:right;justify-content:flex-end}.el-form-item--label-top{display:block}.el-form-item--label-top .el-form-item__label{text-align:left;width:fit-content;height:auto;margin-bottom:8px;padding-right:0;line-height:22px;display:block}.el-form-item__label-wrap{display:flex}.el-form-item__label{font-size:var(--el-form-label-font-size);color:var(--el-text-color-regular);box-sizing:border-box;flex:none;align-items:flex-start;height:32px;padding:0 12px 0 0;line-height:32px;display:inline-flex}.el-form-item__content{line-height:32px;font-size:var(--font-size);flex-wrap:wrap;flex:1;align-items:center;min-width:0;display:flex;position:relative}.el-form-item__content .el-input-group{vertical-align:top}.el-form-item__error{color:var(--el-color-danger);padding-top:2px;font-size:12px;line-height:1;position:absolute;top:100%;left:0}.el-form-item__error--inline{margin-left:10px;display:inline-block;position:relative;top:auto;left:auto}.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label:before,.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label-wrap>.el-form-item__label:before{content:"*";color:var(--el-color-danger);margin-right:4px}.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label:after,.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label-wrap>.el-form-item__label:after{content:"*";color:var(--el-color-danger);margin-left:4px}.el-form-item.is-error .el-form-item__content .el-input__wrapper,.el-form-item.is-error .el-form-item__content .el-input__wrapper:hover,.el-form-item.is-error .el-form-item__content .el-input__wrapper:focus,.el-form-item.is-error .el-form-item__content .el-input__wrapper.is-focus,.el-form-item.is-error .el-form-item__content .el-textarea__inner,.el-form-item.is-error .el-form-item__content .el-textarea__inner:hover,.el-form-item.is-error .el-form-item__content .el-textarea__inner:focus,.el-form-item.is-error .el-form-item__content .el-textarea__inner.is-focus,.el-form-item.is-error .el-form-item__content .el-select__wrapper,.el-form-item.is-error .el-form-item__content .el-select__wrapper:hover,.el-form-item.is-error .el-form-item__content .el-select__wrapper:focus,.el-form-item.is-error .el-form-item__content .el-select__wrapper.is-focus,.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper,.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper:hover,.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper:focus,.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper.is-focus,.el-form-item.is-error .el-form-item__content :not(.el-input-otp--underlined) .el-input-otp__input-field,.el-form-item.is-error .el-form-item__content :not(.el-input-otp--underlined) .el-input-otp__input-field:hover,.el-form-item.is-error .el-form-item__content :not(.el-input-otp--underlined) .el-input-otp__input-field:focus,.el-form-item.is-error .el-form-item__content :not(.el-input-otp--underlined) .el-input-otp__input-field.is-focus,.el-form-item.is-error .el-form-item__content .el-input-otp--underlined .el-input-otp__input-field:after,.el-form-item.is-error .el-form-item__content .el-input-otp--underlined .el-input-otp__input-field:hover:after,.el-form-item.is-error .el-form-item__content .el-input-otp--underlined .el-input-otp__input-field:focus:after,.el-form-item.is-error .el-form-item__content .el-input-otp--underlined .el-input-otp__input-field.is-focus:after{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-form-item__content .el-input-group__append .el-input__wrapper,.el-form-item.is-error .el-form-item__content .el-input-group__prepend .el-input__wrapper{box-shadow:inset 0 0 0 1px #0000}.el-form-item.is-error .el-form-item__content .el-input-group__append .el-input__validateIcon,.el-form-item.is-error .el-form-item__content .el-input-group__prepend .el-input__validateIcon{display:none}.el-form-item.is-error .el-form-item__content .el-input__validateIcon{color:var(--el-color-danger)}.el-form-item--feedback .el-input__validateIcon{display:inline-flex}.el-form{--el-form-label-font-size:var(--el-font-size-base);--el-form-inline-content-width:220px}.el-form--inline .el-form-item{vertical-align:middle;margin-right:32px;display:inline-flex}.el-form--inline .el-form-item:last-child{margin-right:0}.el-form--inline.el-form--label-top{flex-wrap:wrap;display:flex}.el-form--inline.el-form--label-top .el-form-item{display:block}.el-header{--el-header-padding:0 20px;--el-header-height:60px;padding:var(--el-header-padding);box-sizing:border-box;height:var(--el-header-height);flex-shrink:0}.el-image-viewer__wrapper{position:fixed;top:0;bottom:0;left:0;right:0}.el-image-viewer__wrapper:focus{outline:none!important}.el-image-viewer__btn{z-index:1;opacity:.8;cursor:pointer;box-sizing:border-box;-webkit-user-select:none;user-select:none;border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute}.el-image-viewer__btn .el-icon{cursor:pointer}.el-image-viewer__close{width:40px;height:40px;font-size:40px;top:40px;right:40px}.el-image-viewer__canvas{-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:static}.el-image-viewer__actions{background-color:var(--el-text-color-regular);border-color:#fff;border-radius:22px;height:44px;padding:0 23px;bottom:30px;left:50%;transform:translate(-50%)}.el-image-viewer__actions__inner{cursor:default;color:#fff;justify-content:space-around;align-items:center;gap:22px;width:100%;height:100%;padding:0 6px;font-size:23px;display:flex}.el-image-viewer__actions__divider{margin:0 -6px}.el-image-viewer__progress{cursor:default;color:#fff;bottom:90px;left:50%;transform:translate(-50%)}.el-image-viewer__prev{color:#fff;background-color:var(--el-text-color-regular);border-color:#fff;width:44px;height:44px;font-size:24px;top:50%;left:40px;transform:translateY(-50%)}.el-image-viewer__next{text-indent:2px;color:#fff;background-color:var(--el-text-color-regular);border-color:#fff;width:44px;height:44px;font-size:24px;top:50%;right:40px;transform:translateY(-50%)}.el-image-viewer__close{color:#fff;background-color:var(--el-text-color-regular);border-color:#fff;width:44px;height:44px;font-size:24px}.el-image-viewer__mask{opacity:.5;background:#000;width:100%;height:100%;position:absolute;top:0;left:0}.el-image-viewer-parent--hidden{overflow:hidden}.viewer-fade-enter-active{animation:viewer-fade-in var(--el-transition-duration)}.viewer-fade-leave-active{animation:viewer-fade-out var(--el-transition-duration)}@keyframes viewer-fade-in{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translate(0)}}@keyframes viewer-fade-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-20px)}}.el-image__error,.el-image__placeholder,.el-image__wrapper,.el-image__inner{width:100%;height:100%}.el-image{display:inline-block;position:relative;overflow:hidden}.el-image__inner{vertical-align:top;opacity:1}.el-image__inner.is-loading{opacity:0}.el-image__wrapper{position:absolute;top:0;left:0}.el-image__placeholder{background:var(--el-fill-color-light)}.el-image__error{background:var(--el-fill-color-light);color:var(--el-text-color-placeholder);vertical-align:middle;justify-content:center;align-items:center;font-size:14px;display:flex}.el-image__preview{cursor:pointer}.el-textarea{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;vertical-align:bottom;width:100%;font-size:var(--el-font-size-base);display:inline-block;position:relative}.el-textarea__inner{cursor:auto;resize:vertical;box-sizing:border-box;width:100%;line-height:1.5;font-size:inherit;color:var(--el-input-text-color,var(--el-text-color-regular));background-color:var(--el-input-bg-color,var(--el-fill-color-blank));-webkit-appearance:none;box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));transition:var(--el-transition-box-shadow);background-image:none;border:none;padding:5px 11px;font-family:inherit;display:block;position:relative;overflow-y:auto}.el-textarea__inner.is-clearable{padding:5px 26px 5px 11px}.el-textarea__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-textarea__inner:focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset;outline:none}.el-textarea__clear{color:var(--el-input-icon-color);cursor:pointer;font-size:14px;position:absolute;top:15px;right:11px;transform:translateY(-50%)}.el-textarea__clear:hover{color:var(--el-input-clear-hover-color)}.el-textarea .el-input__count{color:var(--el-color-info);background:var(--el-fill-color-blank);font-size:12px;line-height:14px;position:absolute;bottom:5px;right:10px}.el-textarea .el-input__count.is-outside{top:100%;right:0;bottom:unset;background:0 0;padding-top:2px;line-height:1;position:absolute}.el-textarea.is-disabled .el-textarea__inner{box-shadow:0 0 0 1px var(--el-disabled-border-color) inset;background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-exceed .el-textarea__inner{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-textarea.is-exceed .el-input__count{color:var(--el-color-danger)}.el-input{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;--el-input-height:var(--el-component-size);font-size:var(--el-font-size-base);width:var(--el-input-width);line-height:var(--el-input-height);box-sizing:border-box;vertical-align:middle;display:inline-flex;position:relative}.el-input::-webkit-scrollbar{z-index:11;width:6px}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{background:var(--el-text-color-disabled);border-radius:5px;width:6px}.el-input::-webkit-scrollbar-corner{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track-piece{background:var(--el-fill-color-blank);width:6px}.el-input .el-input__clear,.el-input .el-input__password{color:var(--el-input-icon-color);cursor:pointer;font-size:14px}.el-input .el-input__clear:hover,.el-input .el-input__password:hover{color:var(--el-input-clear-hover-color)}.el-input .el-input__count{height:100%;color:var(--el-color-info);align-items:center;font-size:12px;display:inline-flex}.el-input .el-input__count .el-input__count-inner{background:var(--el-fill-color-blank);line-height:initial;padding-left:8px;display:inline-block}.el-input .el-input__count.is-outside{height:unset;padding-top:2px;position:absolute;top:100%;right:0}.el-input .el-input__count.is-outside .el-input__count-inner{background:0 0;padding-left:0;line-height:1}.el-input__wrapper{background-color:var(--el-input-bg-color,var(--el-fill-color-blank));border-radius:var(--el-input-border-radius,var(--el-border-radius-base));cursor:text;transition:var(--el-transition-box-shadow);box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;background-image:none;flex-grow:1;justify-content:center;align-items:center;padding:1px 11px;display:inline-flex;transform:translateZ(0)}.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input{--el-input-inner-height:calc(var(--el-input-height,32px) - 2px)}.el-input__inner{-webkit-appearance:none;width:100%;color:var(--el-input-text-color,var(--el-text-color-regular));font-size:inherit;height:var(--el-input-inner-height);line-height:var(--el-input-inner-height);box-sizing:border-box;background:0 0;border:none;outline:none;flex-grow:1;padding:0}.el-input__inner:focus{outline:none}.el-input__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner[type=password]::-ms-reveal{display:none}.el-input__inner[type=number]{line-height:1}.el-input__prefix{white-space:nowrap;height:100%;line-height:var(--el-input-inner-height);text-align:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));transition:all var(--el-transition-duration);pointer-events:none;flex-wrap:nowrap;flex-shrink:0;display:inline-flex}.el-input__prefix-inner{pointer-events:all;justify-content:center;align-items:center;display:inline-flex}.el-input__prefix-inner>:last-child{margin-right:8px}.el-input__prefix-inner>:first-child,.el-input__prefix-inner>:first-child.el-input__icon{margin-left:0}.el-input__suffix{white-space:nowrap;height:100%;line-height:var(--el-input-inner-height);text-align:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));transition:all var(--el-transition-duration);pointer-events:none;flex-wrap:nowrap;flex-shrink:0;display:inline-flex}.el-input__suffix-inner{pointer-events:all;justify-content:center;align-items:center;display:inline-flex}.el-input__suffix-inner>:first-child{margin-left:8px}.el-input .el-input__icon{height:inherit;line-height:inherit;transition:all var(--el-transition-duration);justify-content:center;align-items:center;margin-left:8px;display:flex}.el-input .el-input__clear{transition:color var(--el-transition-duration)}.el-input__validateIcon{pointer-events:none}.el-input.is-active .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-color, ) inset}.el-input.is-disabled{cursor:not-allowed}.el-input.is-disabled .el-input__wrapper{background-color:var(--el-disabled-bg-color);cursor:not-allowed;box-shadow:0 0 0 1px var(--el-disabled-border-color) inset}.el-input.is-disabled .el-input__inner{color:var(--el-disabled-text-color);-webkit-text-fill-color:var(--el-disabled-text-color);cursor:not-allowed}.el-input.is-disabled .el-input__inner::placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-input.is-disabled .el-input__prefix-inner,.el-input.is-disabled .el-input__suffix-inner{pointer-events:none}.el-input.is-exceed .el-input__wrapper{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-input.is-exceed .el-input__suffix .el-input__count{color:var(--el-color-danger)}.el-input--large{--el-input-height:var(--el-component-size-large);font-size:14px}.el-input--large .el-input__wrapper{padding:1px 15px}.el-input--large{--el-input-inner-height:calc(var(--el-input-height,40px) - 2px)}.el-input--small{--el-input-height:var(--el-component-size-small);font-size:12px}.el-input--small .el-input__wrapper{padding:1px 7px}.el-input--small{--el-input-inner-height:calc(var(--el-input-height,24px) - 2px)}.el-input-group{align-items:stretch;width:100%;display:inline-flex}.el-input-group__append,.el-input-group__prepend{background-color:var(--el-fill-color-light);color:var(--el-color-info);border-radius:var(--el-input-border-radius);white-space:nowrap;justify-content:center;align-items:center;min-height:100%;padding:0 20px;display:inline-flex;position:relative}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:none}.el-input-group__append .el-select,.el-input-group__append .el-button,.el-input-group__prepend .el-select,.el-input-group__prepend .el-button{flex:1;margin:0 -20px;display:inline-block}.el-input-group__append button.el-button,.el-input-group__append button.el-button:hover,.el-input-group__append div.el-select .el-select__wrapper,.el-input-group__append div.el-select:hover .el-select__wrapper,.el-input-group__prepend button.el-button,.el-input-group__prepend button.el-button:hover,.el-input-group__prepend div.el-select .el-select__wrapper,.el-input-group__prepend div.el-select:hover .el-select__wrapper{color:inherit;background-color:#0000;border-color:#0000}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-input-group__prepend{box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset;border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group__append{box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset;border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.el-input-group--prepend>.el-input__wrapper{border-top-left-radius:0;border-bottom-left-radius:0}.el-input-group--prepend .el-input-group__prepend .el-select .el-select__wrapper{box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset;border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group--append>.el-input__wrapper{border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group--append .el-input-group__append .el-select .el-select__wrapper{box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset;border-top-left-radius:0;border-bottom-left-radius:0}.el-input-hidden{display:none!important}.el-input-number{vertical-align:middle;width:150px;line-height:30px;display:inline-flex;position:relative}.el-input-number .el-input__wrapper{padding-left:42px;padding-right:42px}.el-input-number .el-input__inner{-webkit-appearance:none;-moz-appearance:textfield;text-align:center;line-height:1}.el-input-number .el-input__inner::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.el-input-number .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-input-number.is-left .el-input__inner{text-align:left}.el-input-number.is-right .el-input__inner{text-align:right}.el-input-number.is-center .el-input__inner{text-align:center}.el-input-number__increase,.el-input-number__decrease{z-index:1;background:var(--el-fill-color-light);width:32px;height:auto;color:var(--el-text-color-regular);cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;font-size:13px;display:flex;position:absolute;top:1px;bottom:1px}.el-input-number__increase:hover,.el-input-number__decrease:hover{color:var(--el-color-primary)}.el-input-number__increase:hover~.el-input:not(.is-disabled) .el-input__wrapper,.el-input-number__decrease:hover~.el-input:not(.is-disabled) .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-input-number__increase.is-disabled,.el-input-number__decrease.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-input-number__increase{border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0;border-left:var(--el-border);right:1px}.el-input-number__decrease{border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);border-right:var(--el-border);left:1px}.el-input-number.is-disabled .el-input-number__increase,.el-input-number.is-disabled .el-input-number__decrease{border-color:var(--el-disabled-border-color);color:var(--el-disabled-border-color)}.el-input-number.is-disabled .el-input-number__increase:hover,.el-input-number.is-disabled .el-input-number__decrease:hover{color:var(--el-disabled-border-color);cursor:not-allowed}.el-input-number--large{width:180px;line-height:38px}.el-input-number--large .el-input-number__increase,.el-input-number--large .el-input-number__decrease{width:40px;font-size:14px}.el-input-number--large.is-controls-right .el-input--large .el-input__wrapper{padding-right:47px}.el-input-number--large .el-input--large .el-input__wrapper{padding-left:47px;padding-right:47px}.el-input-number--small{width:120px;line-height:22px}.el-input-number--small .el-input-number__increase,.el-input-number--small .el-input-number__decrease{width:24px;font-size:12px}.el-input-number--small.is-controls-right .el-input--small .el-input__wrapper{padding-right:31px}.el-input-number--small .el-input--small .el-input__wrapper{padding-left:31px;padding-right:31px}.el-input-number--small .el-input-number__increase [class*=el-icon],.el-input-number--small .el-input-number__decrease [class*=el-icon]{transform:scale(.9)}.el-input-number.is-without-controls .el-input__wrapper{padding-left:15px;padding-right:15px}.el-input-number.is-controls-right .el-input__wrapper{padding-left:15px;padding-right:42px}.el-input-number.is-controls-right .el-input-number__increase,.el-input-number.is-controls-right .el-input-number__decrease{--el-input-number-controls-height:15px;height:var(--el-input-number-controls-height);line-height:var(--el-input-number-controls-height)}.el-input-number.is-controls-right .el-input-number__increase [class*=el-icon],.el-input-number.is-controls-right .el-input-number__decrease [class*=el-icon]{transform:scale(.8)}.el-input-number.is-controls-right .el-input-number__increase{border-radius:0 var(--el-border-radius-base) 0 0;border-bottom:var(--el-border);bottom:auto;left:auto}.el-input-number.is-controls-right .el-input-number__decrease{border-right:none;border-left:var(--el-border);border-radius:0 0 var(--el-border-radius-base) 0;top:auto;left:auto;right:1px}.el-input-number.is-controls-right[class*=large] [class*=increase],.el-input-number.is-controls-right[class*=large] [class*=decrease]{--el-input-number-controls-height:19px}.el-input-number.is-controls-right[class*=small] [class*=increase],.el-input-number.is-controls-right[class*=small] [class*=decrease]{--el-input-number-controls-height:11px}.el-input-tag{--el-input-tag-border-color-hover:var(--el-border-color-hover);--el-input-tag-placeholder-color:var(--el-text-color-placeholder);--el-input-tag-disabled-color:var(--el-disabled-text-color);--el-input-tag-disabled-border:var(--el-disabled-border-color);--el-input-tag-font-size:var(--el-font-size-base);--el-input-tag-close-hover-color:var(--el-text-color-secondary);--el-input-tag-text-color:var(--el-text-color-regular);--el-input-tag-input-focus-border-color:var(--el-color-primary);--el-input-tag-width:100%;--el-input-tag-mini-height:var(--el-component-size);--el-input-tag-gap:6px;--el-input-tag-padding:4px;--el-input-tag-inner-padding:8px;--el-input-tag-line-height:24px;box-sizing:border-box;cursor:pointer;font-size:var(--el-input-tag-font-size);padding:var(--el-input-tag-padding);width:var(--el-input-tag-width);min-height:var(--el-input-tag-mini-height);line-height:var(--el-input-tag-line-height);border-radius:var(--el-border-radius-base);background-color:var(--el-fill-color-blank);transition:var(--el-transition-duration);box-shadow:0 0 0 1px var(--el-border-color) inset;align-items:center;display:flex;transform:translate(0)}.el-input-tag.is-focused{box-shadow:0 0 0 1px var(--el-color-primary) inset}.el-input-tag.is-hovering:not(.is-focused){box-shadow:0 0 0 1px var(--el-border-color-hover) inset}.el-input-tag.is-disabled{cursor:not-allowed;background-color:var(--el-fill-color-light);box-shadow:0 0 0 1px var(--el-input-tag-disabled-border) inset}.el-input-tag.is-disabled:hover{box-shadow:0 0 0 1px var(--el-input-tag-disabled-border) inset}.el-input-tag.is-disabled.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input-tag.is-disabled .el-input-tag__inner .el-input-tag__input,.el-input-tag.is-disabled .el-input-tag__inner .el-tag{cursor:not-allowed}.el-input-tag__prefix{padding:0 var(--el-input-tag-inner-padding);color:var(--el-input-icon-color,var(--el-text-color-placeholder));flex-shrink:0;align-items:center;display:flex}.el-input-tag__suffix{padding:0 var(--el-input-tag-inner-padding);color:var(--el-input-icon-color,var(--el-text-color-placeholder));flex-shrink:0;align-items:center;gap:8px;display:flex}.el-input-tag__collapse-tag{line-height:1}.el-input-tag__input-tag-list{flex-wrap:wrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.el-input-tag__input-tag-list.is-near{margin-left:-8px}.el-input-tag__input-tag-list .el-tag{cursor:pointer;border-color:#0000}.el-input-tag__input-tag-list .el-tag.el-tag--plain{border-color:var(--el-tag-border-color)}.el-input-tag__input-tag-list .el-tag .el-tag__content{min-width:0}.el-input-tag__inner{align-items:center;gap:var(--el-input-tag-gap);flex-wrap:wrap;flex:1;min-width:0;max-width:100%;display:flex;position:relative}.el-input-tag__inner.is-left-space{margin-left:var(--el-input-tag-inner-padding)}.el-input-tag__inner.is-right-space{margin-right:var(--el-input-tag-inner-padding)}.el-input-tag__inner.is-draggable .el-tag{cursor:move;-webkit-user-select:none;user-select:none}.el-input-tag__drop-indicator{width:1px;height:var(--el-input-tag-line-height);background-color:var(--el-color-primary);position:absolute;top:0}.el-input-tag__inner .el-tag{cursor:pointer;border-color:#0000;max-width:100%}.el-input-tag__inner .el-tag.el-tag--plain{border-color:var(--el-tag-border-color)}.el-input-tag__inner .el-tag .el-tag__content{text-overflow:ellipsis;white-space:nowrap;min-width:0;line-height:normal;overflow:hidden}.el-input-tag__input-wrapper{flex:1}.el-input-tag__input{color:var(--el-input-tag-text-color);font-size:inherit;font-family:inherit;line-height:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0000;border:none;outline:none;width:100%;padding:0}.el-input-tag__input::placeholder{color:var(--el-input-tag-placeholder-color)}.el-input-tag__input-calculator{visibility:hidden;white-space:pre;max-width:100%;position:absolute;top:0;left:0;overflow:hidden}.el-input-tag--large{--el-input-tag-gap:6px;--el-input-tag-padding:8px;--el-input-tag-padding-left:8px;--el-input-tag-font-size:14px}.el-input-tag--small{--el-input-tag-gap:4px;--el-input-tag-padding:2px;--el-input-tag-padding-left:6px;--el-input-tag-font-size:12px;--el-input-tag-line-height:20px;--el-input-tag-mini-height:var(--el-component-size-small)}.el-input-otp{--el-input-otp-text-color:var(--el-text-color-regular);--el-input-otp-field-width:calc(var(--el-input-otp-size) - 4px);--el-input-otp-gap:8px;--el-input-otp-font-size:14px;--el-input-otp-size:32px}.el-input-otp--large{--el-input-otp-gap:12px;--el-input-otp-font-size:14px;--el-input-otp-size:40px}.el-input-otp--small{--el-input-otp-gap:6px;--el-input-otp-font-size:12px;--el-input-otp-size:24px}.el-input-otp{align-items:center;column-gap:var(--el-input-otp-gap);font-size:var(--el-input-otp-font-size);height:var(--el-input-otp-size);flex-wrap:nowrap;display:inline-flex}.el-input-otp.is-disabled,.el-input-otp.is-disabled .el-input-otp__input{cursor:not-allowed}.el-input-otp__input-field{width:var(--el-input-otp-field-width,calc(var(--el-input-otp-size) - 4px));border-radius:var(--el-border-radius-base);height:100%;line-height:1;position:relative}.el-input-otp__input{text-align:center;width:100%;height:100%;line-height:1;font-size:inherit;color:var(--el-input-otp-text-color,var(--el-text-color-regular));background-color:#0000;border:none;outline:none;padding:0}.el-input-otp.is-disabled .el-input-otp__input{color:var(--el-text-color-disabled)}.el-input-otp--outlined .el-input-otp__input-field{box-shadow:0 0 0 1px var(--el-border-color) inset}@media (hover:hover){.el-input-otp--outlined .el-input-otp__input-field:hover{box-shadow:0 0 0 1px var(--el-color-primary-light-5) inset}}.el-input-otp--outlined .el-input-otp__input-field:focus-within{box-shadow:0 0 0 1px var(--el-color-primary) inset}.el-input-otp--outlined.is-disabled .el-input-otp__input-field{background-color:var(--el-fill-color-light)}@media (hover:hover){.el-input-otp--outlined.is-disabled .el-input-otp__input-field:hover{box-shadow:0 0 0 1px var(--el-border-color) inset}}.el-input-otp--filled .el-input-otp__input-field{background-color:var(--el-fill-color)}@media (hover:hover){.el-input-otp--filled .el-input-otp__input-field:hover{background-color:var(--el-fill-color-dark)}}.el-input-otp--filled .el-input-otp__input-field:focus-within{background-color:var(--el-fill-color-blank);box-shadow:0 0 0 1px var(--el-color-primary) inset}.el-input-otp--filled.is-disabled .el-input-otp__input-field{background-color:var(--el-fill-color-light)}@media (hover:hover){.el-input-otp--filled.is-disabled .el-input-otp__input-field:hover{background-color:var(--el-fill-color-light)}}.el-input-otp--underlined .el-input-otp__input-field:after{content:"";background-color:var(--el-border-color);width:100%;height:1px;display:block;position:absolute;bottom:0;left:0}@media (hover:hover){.el-input-otp--underlined .el-input-otp__input-field:hover:after{background-color:var(--el-color-primary-light-5)}}.el-input-otp--underlined .el-input-otp__input-field:focus-within:after{background-color:var(--el-color-primary)}@media (hover:hover){.el-input-otp--underlined.is-disabled .el-input-otp__input-field:hover:after{background-color:var(--el-border-color)}}.el-link{--el-link-font-size:var(--el-font-size-base);--el-link-font-weight:var(--el-font-weight-primary);--el-link-text-color:var(--el-text-color-regular);--el-link-hover-text-color:var(--el-color-primary);--el-link-disabled-text-color:var(--el-text-color-placeholder);vertical-align:middle;cursor:pointer;font-size:var(--el-link-font-size);font-weight:var(--el-link-font-weight);color:var(--el-link-text-color);outline:none;flex-direction:row;justify-content:center;align-items:center;padding:0;text-decoration:none;display:inline-flex;position:relative}.el-link.is-hover-underline:hover:after{content:"";border-bottom:1px solid var(--el-link-hover-text-color);height:0;position:absolute;bottom:0;left:0;right:0}.el-link.is-underline:after{content:"";border-bottom:1px solid var(--el-link-text-color);height:0;position:absolute;bottom:0;left:0;right:0}.el-link:hover{color:var(--el-link-hover-text-color)}.el-link:hover:after{border-color:var(--el-link-hover-text-color)}.el-link [class*=el-icon-]+span{margin-left:5px}.el-link__inner{justify-content:center;align-items:center;display:inline-flex}.el-link.el-link--primary{--el-link-text-color:var(--el-color-primary);--el-link-hover-text-color:var(--el-color-primary-light-3);--el-link-disabled-text-color:var(--el-color-primary-light-5)}.el-link.el-link--success{--el-link-text-color:var(--el-color-success);--el-link-hover-text-color:var(--el-color-success-light-3);--el-link-disabled-text-color:var(--el-color-success-light-5)}.el-link.el-link--warning{--el-link-text-color:var(--el-color-warning);--el-link-hover-text-color:var(--el-color-warning-light-3);--el-link-disabled-text-color:var(--el-color-warning-light-5)}.el-link.el-link--danger{--el-link-text-color:var(--el-color-danger);--el-link-hover-text-color:var(--el-color-danger-light-3);--el-link-disabled-text-color:var(--el-color-danger-light-5)}.el-link.el-link--error{--el-link-text-color:var(--el-color-error);--el-link-hover-text-color:var(--el-color-error-light-3);--el-link-disabled-text-color:var(--el-color-error-light-5)}.el-link.el-link--info{--el-link-text-color:var(--el-color-info);--el-link-hover-text-color:var(--el-color-info-light-3);--el-link-disabled-text-color:var(--el-color-info-light-5)}.el-link.is-disabled{color:var(--el-link-disabled-text-color);cursor:not-allowed}.el-link.is-disabled:after{border-color:var(--el-link-disabled-text-color)}:root{--el-loading-spinner-size:42px;--el-loading-fullscreen-spinner-size:50px}.el-loading-parent--relative{position:relative!important}.el-loading-parent--hidden{overflow:hidden!important}.el-loading-mask{z-index:2000;background-color:var(--el-mask-color);transition:opacity var(--el-transition-duration);margin:0;position:absolute;top:0;bottom:0;left:0;right:0}.el-loading-mask.is-fullscreen{position:fixed}.el-loading-mask.is-fullscreen .el-loading-spinner{margin-top:calc((0px - var(--el-loading-fullscreen-spinner-size)) / 2)}.el-loading-mask.is-fullscreen .el-loading-spinner .circular{height:var(--el-loading-fullscreen-spinner-size);width:var(--el-loading-fullscreen-spinner-size)}.el-loading-spinner{margin-top:calc((0px - var(--el-loading-spinner-size)) / 2);text-align:center;width:100%;position:absolute;top:50%}.el-loading-spinner .el-loading-text{color:var(--el-color-primary);margin:3px 0;font-size:14px}.el-loading-spinner .circular{height:var(--el-loading-spinner-size);width:var(--el-loading-spinner-size);animation:2s linear infinite loading-rotate;display:inline}.el-loading-spinner .path{stroke-dasharray:90 150;stroke-dashoffset:0;stroke-width:2px;stroke:var(--el-color-primary);stroke-linecap:round;will-change:transform;animation:1.5s ease-in-out infinite loading-dash}.el-loading-spinner i{color:var(--el-color-primary)}.el-loading-fade-enter-from,.el-loading-fade-leave-to{opacity:0}@keyframes loading-rotate{to{transform:rotate(360deg)}}@keyframes loading-dash{0%{stroke-dasharray:1 200;stroke-dashoffset:0}50%{stroke-dasharray:90 150;stroke-dashoffset:-40px}to{stroke-dasharray:90 150;stroke-dashoffset:-120px}}.el-main{--el-main-padding:20px;box-sizing:border-box;padding:var(--el-main-padding);flex:auto;display:block;overflow:auto}:root{--el-menu-active-color:var(--el-color-primary);--el-menu-text-color:var(--el-text-color-primary);--el-menu-hover-text-color:var(--el-color-primary);--el-menu-bg-color:var(--el-fill-color-blank);--el-menu-hover-bg-color:var(--el-color-primary-light-9);--el-menu-item-height:56px;--el-menu-sub-item-height:calc(var(--el-menu-item-height) - 6px);--el-menu-horizontal-height:60px;--el-menu-horizontal-sub-item-height:36px;--el-menu-item-font-size:var(--el-font-size-base);--el-menu-item-hover-fill:var(--el-color-primary-light-9);--el-menu-border-color:var(--el-border-color);--el-menu-base-level-padding:20px;--el-menu-level-padding:20px;--el-menu-icon-width:24px}.el-menu{border-right:solid 1px var(--el-menu-border-color);background-color:var(--el-menu-bg-color);box-sizing:border-box;margin:0;padding-left:0;list-style:none;position:relative}.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-sub-menu__title,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item-group__title{white-space:nowrap;padding-left:calc(var(--el-menu-base-level-padding) + var(--el-menu-level) * var(--el-menu-level-padding))}.el-menu:not(.el-menu--collapse) .el-sub-menu__title{padding-right:calc(var(--el-menu-base-level-padding) + var(--el-menu-icon-width))}.el-menu--horizontal{height:var(--el-menu-horizontal-height);border-right:none;flex-wrap:nowrap;display:flex}.el-menu--horizontal.el-menu--popup-container{height:unset}.el-menu--horizontal.el-menu{border-bottom:solid 1px var(--el-menu-border-color)}.el-menu--horizontal>.el-menu-item{height:100%;color:var(--el-menu-text-color);border-bottom:2px solid #0000;justify-content:center;align-items:center;margin:0;display:inline-flex}.el-menu--horizontal>.el-menu-item a,.el-menu--horizontal>.el-menu-item a:hover{color:inherit}.el-menu--horizontal>.el-sub-menu:focus,.el-menu--horizontal>.el-sub-menu:hover{outline:none}.el-menu--horizontal>.el-sub-menu:hover .el-sub-menu__title{color:var(--el-menu-hover-text-color)}.el-menu--horizontal>.el-sub-menu.is-active .el-sub-menu__title{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title{height:100%;color:var(--el-menu-text-color);border-bottom:2px solid #0000}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title:hover{background-color:var(--el-menu-bg-color)}.el-menu--horizontal .el-menu .el-menu-item,.el-menu--horizontal .el-menu .el-sub-menu__title{background-color:var(--el-menu-bg-color);height:var(--el-menu-horizontal-sub-item-height);line-height:var(--el-menu-horizontal-sub-item-height);color:var(--el-menu-text-color);align-items:center;padding:0 10px;display:flex}.el-menu--horizontal .el-menu .el-sub-menu__title{padding-right:40px}.el-menu--horizontal .el-menu .el-menu-item.is-active,.el-menu--horizontal .el-menu .el-menu-item.is-active:hover,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title:hover{color:var(--el-menu-active-color)}.el-menu--horizontal .el-menu-item:not(.is-disabled):hover,.el-menu--horizontal .el-menu-item:not(.is-disabled):focus{color:var(--el-menu-active-color,var(--el-menu-hover-text-color));background-color:var(--el-menu-hover-bg-color);outline:none}.el-menu--horizontal>.el-menu-item.is-active{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)!important}.el-menu--collapse{width:calc(var(--el-menu-icon-width) + var(--el-menu-base-level-padding) * 2)}.el-menu--collapse>.el-menu-item [class^=el-icon],.el-menu--collapse>.el-sub-menu>.el-sub-menu__title [class^=el-icon],.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title [class^=el-icon]{vertical-align:middle;width:var(--el-menu-icon-width);text-align:center;margin:0}.el-menu--collapse>.el-menu-item .el-sub-menu__icon-arrow,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow,.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow{display:none}.el-menu--collapse>.el-menu-item>span,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title>span,.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title>span{visibility:hidden;width:0;height:0;display:inline-block;overflow:hidden}.el-menu--collapse>.el-menu-item.is-active i{color:inherit}.el-menu--collapse .el-menu .el-sub-menu{min-width:200px}.el-menu--collapse .el-sub-menu.is-active .el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--popup{z-index:100;border-radius:var(--el-border-radius-small);min-width:200px;box-shadow:var(--el-box-shadow-light);border:none;padding:5px 0}.el-menu .el-icon{flex-shrink:0}.el-menu-item{height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);font-size:var(--el-menu-item-font-size);color:var(--el-menu-text-color);padding:0 var(--el-menu-base-level-padding);cursor:pointer;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);box-sizing:border-box;white-space:nowrap;align-items:center;list-style:none;display:flex;position:relative}.el-menu-item *{vertical-align:bottom}.el-menu-item i{color:inherit}.el-menu-item:hover,.el-menu-item:focus{outline:none}.el-menu-item:hover{background-color:var(--el-menu-hover-bg-color)}.el-menu-item.is-disabled{opacity:.25;cursor:not-allowed;background:0 0!important}.el-menu-item [class^=el-icon]{width:var(--el-menu-icon-width);text-align:center;vertical-align:middle;margin-right:5px;font-size:18px}.el-menu-item.is-active{color:var(--el-menu-active-color)}.el-menu-item.is-active i{color:inherit}.el-menu-item .el-menu-tooltip__trigger{box-sizing:border-box;width:100%;height:100%;padding:0 var(--el-menu-base-level-padding);align-items:center;display:inline-flex;position:absolute;top:0;left:0}.el-sub-menu{margin:0;padding-left:0;list-style:none}.el-sub-menu__title{height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);font-size:var(--el-menu-item-font-size);color:var(--el-menu-text-color);padding:0 var(--el-menu-base-level-padding);cursor:pointer;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);box-sizing:border-box;white-space:nowrap;align-items:center;list-style:none;display:flex;position:relative}.el-sub-menu__title *{vertical-align:bottom}.el-sub-menu__title i{color:inherit}.el-sub-menu__title:hover,.el-sub-menu__title:focus{outline:none}.el-sub-menu__title.is-disabled{opacity:.25;cursor:not-allowed;background:0 0!important}.el-sub-menu__title:hover{background-color:var(--el-menu-hover-bg-color)}.el-sub-menu .el-menu{border:none}.el-sub-menu .el-menu-item{height:var(--el-menu-sub-item-height);line-height:var(--el-menu-sub-item-height)}.el-sub-menu.el-sub-menu__hide-arrow .el-sub-menu__title{padding-right:var(--el-menu-base-level-padding)}.el-sub-menu__hide-arrow .el-sub-menu__icon-arrow{display:none!important}.el-sub-menu.is-active .el-sub-menu__title{border-bottom-color:var(--el-menu-active-color)}.el-sub-menu.is-disabled .el-sub-menu__title,.el-sub-menu.is-disabled .el-menu-item{opacity:.25;cursor:not-allowed;background:0 0!important}.el-sub-menu .el-icon{vertical-align:middle;width:var(--el-menu-icon-width);text-align:center;margin-right:5px;font-size:18px}.el-sub-menu .el-icon.el-sub-menu__icon-more{margin-right:0!important}.el-sub-menu .el-sub-menu__icon-arrow{top:50%;right:var(--el-menu-base-level-padding);transition:transform var(--el-transition-duration);width:inherit;margin-top:-6px;margin-right:0;font-size:12px;position:absolute}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{padding:7px 0 7px var(--el-menu-base-level-padding);color:var(--el-text-color-secondary);font-size:12px;line-height:normal}.horizontal-collapse-transition .el-sub-menu__title .el-sub-menu__icon-arrow{transition:var(--el-transition-duration-fast);opacity:0}.el-popper,.el-menu--popup-container,.el-menu{outline:none}.el-message-box{--el-messagebox-title-color:var(--el-text-color-primary);--el-messagebox-width:420px;--el-messagebox-border-radius:4px;--el-messagebox-box-shadow:var(--el-box-shadow);--el-messagebox-font-size:var(--el-font-size-large);--el-messagebox-content-font-size:var(--el-font-size-base);--el-messagebox-content-color:var(--el-text-color-regular);--el-messagebox-error-font-size:12px;--el-messagebox-padding-primary:12px;--el-messagebox-font-line-height:var(--el-font-line-height-primary);max-width:var(--el-messagebox-width);width:100%;padding:var(--el-messagebox-padding-primary);vertical-align:middle;background-color:var(--el-bg-color);border-radius:var(--el-messagebox-border-radius);font-size:var(--el-messagebox-font-size);box-shadow:var(--el-messagebox-box-shadow);text-align:left;backface-visibility:hidden;box-sizing:border-box;overflow-wrap:break-word;display:inline-block;position:relative;overflow:hidden}.el-message-box:focus{outline:none!important}.is-message-box .el-overlay-message-box{text-align:center;padding:16px;position:fixed;top:0;bottom:0;left:0;right:0;overflow:auto}.is-message-box .el-overlay-message-box:after{content:"";vertical-align:middle;width:0;height:100%;display:inline-block}.el-message-box.is-draggable .el-message-box__header{cursor:move;-webkit-user-select:none;user-select:none}.el-message-box__header{padding-bottom:var(--el-messagebox-padding-primary)}.el-message-box__header.show-close{padding-right:calc(var(--el-messagebox-padding-primary) + var(--el-message-close-size,16px))}.el-message-box__title{font-size:var(--el-messagebox-font-size);line-height:var(--el-messagebox-font-line-height);color:var(--el-messagebox-title-color)}.el-message-box__headerbtn{width:40px;height:40px;font-size:var(--el-message-close-size,16px);cursor:pointer;background:0 0;border:none;outline:none;padding:0;position:absolute;top:0;right:0}.el-message-box__headerbtn .el-message-box__close{color:var(--el-color-info);font-size:inherit}.el-message-box__headerbtn:focus .el-message-box__close,.el-message-box__headerbtn:hover .el-message-box__close{color:var(--el-color-primary)}.el-message-box__content{color:var(--el-messagebox-content-color);font-size:var(--el-messagebox-content-font-size)}.el-message-box__container{align-items:center;gap:12px;display:flex}.el-message-box__input{padding-top:12px}.el-message-box__input div.invalid>input,.el-message-box__input div.invalid>input:focus{border-color:var(--el-color-error)}.el-message-box__status{font-size:24px}.el-message-box__status.el-message-box-icon--primary{--el-messagebox-color:var(--el-color-primary);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--success{--el-messagebox-color:var(--el-color-success);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--info{--el-messagebox-color:var(--el-color-info);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--warning{--el-messagebox-color:var(--el-color-warning);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--error{--el-messagebox-color:var(--el-color-error);color:var(--el-messagebox-color)}.el-message-box__message{min-width:0;margin:0}.el-message-box__message p{line-height:var(--el-messagebox-font-line-height);margin:0}.el-message-box__errormsg{color:var(--el-color-error);font-size:var(--el-messagebox-error-font-size);line-height:var(--el-messagebox-font-line-height)}.el-message-box__btns{padding-top:var(--el-messagebox-padding-primary);flex-wrap:wrap;justify-content:flex-end;align-items:center;display:flex}.el-message-box--center .el-message-box__title{justify-content:center;align-items:center;gap:6px;display:flex}.el-message-box--center .el-message-box__status{font-size:inherit}.el-message-box--center .el-message-box__btns,.el-message-box--center .el-message-box__container{justify-content:center}.el-message-box-parent--hidden{overflow:hidden}.fade-in-linear-enter-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration)}.fade-in-linear-leave-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration) reverse}@keyframes msgbox-fade-in{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translate(0)}}.el-message{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-border-color-lighter);--el-message-padding:11px 15px;--el-message-close-size:16px;--el-message-close-icon-color:var(--el-text-color-placeholder);--el-message-close-hover-color:var(--el-text-color-secondary);box-sizing:border-box;border-radius:var(--el-border-radius-base);border-width:var(--el-border-width);border-style:var(--el-border-style);border-color:var(--el-message-border-color);background-color:var(--el-message-bg-color);width:max-content;max-width:calc(100% - 32px);transition:opacity var(--el-transition-duration),transform .4s,top .4s,bottom .4s;padding:var(--el-message-padding);align-items:center;gap:8px;display:flex;position:fixed}.el-message.is-left{left:16px}.el-message.is-right{right:16px}.el-message.is-center{left:50%;transform:translate(-50%)}.el-message.is-plain{background-color:var(--el-bg-color-overlay);border-color:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-message p{margin:0}.el-message--primary{--el-message-bg-color:var(--el-color-primary-light-9);--el-message-border-color:var(--el-color-primary-light-8);--el-message-text-color:var(--el-color-primary)}.el-message--primary .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--primary{color:var(--el-message-text-color)}.el-message--success{--el-message-bg-color:var(--el-color-success-light-9);--el-message-border-color:var(--el-color-success-light-8);--el-message-text-color:var(--el-color-success)}.el-message--success .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--success{color:var(--el-message-text-color)}.el-message--info{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-color-info-light-8);--el-message-text-color:var(--el-color-info)}.el-message--info .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--info{color:var(--el-message-text-color)}.el-message--warning{--el-message-bg-color:var(--el-color-warning-light-9);--el-message-border-color:var(--el-color-warning-light-8);--el-message-text-color:var(--el-color-warning)}.el-message--warning .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--warning{color:var(--el-message-text-color)}.el-message--error{--el-message-bg-color:var(--el-color-error-light-9);--el-message-border-color:var(--el-color-error-light-8);--el-message-text-color:var(--el-color-error)}.el-message--error .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--error{color:var(--el-message-text-color)}.el-message .el-message__badge{position:absolute;top:-8px;right:-8px}.el-message__content{padding:0;font-size:14px;line-height:1}.el-message__content:focus{outline-width:0}.el-message .el-message__closeBtn{cursor:pointer;color:var(--el-message-close-icon-color);font-size:var(--el-message-close-size)}.el-message .el-message__closeBtn:focus{outline-width:0}.el-message .el-message__closeBtn:hover{color:var(--el-message-close-hover-color)}.el-message-fade-enter-from,.el-message-fade-leave-to{opacity:0}.el-message-fade-enter-from.is-left,.el-message-fade-enter-from.is-right,.el-message-fade-leave-to.is-left,.el-message-fade-leave-to.is-right{transform:translateY(-100%)}.el-message-fade-enter-from.is-left.is-bottom,.el-message-fade-enter-from.is-right.is-bottom,.el-message-fade-leave-to.is-left.is-bottom,.el-message-fade-leave-to.is-right.is-bottom{transform:translateY(100%)}.el-message-fade-enter-from.is-center,.el-message-fade-leave-to.is-center{transform:translate(-50%,-100%)}.el-message-fade-enter-from.is-center.is-bottom,.el-message-fade-leave-to.is-center.is-bottom{transform:translate(-50%,100%)}.el-notification{--el-notification-width:330px;--el-notification-padding:14px 26px 14px 13px;--el-notification-radius:8px;--el-notification-shadow:var(--el-box-shadow-light);--el-notification-border-color:var(--el-border-color-lighter);--el-notification-icon-size:24px;--el-notification-close-font-size:var(--el-message-close-size,16px);--el-notification-group-margin-left:13px;--el-notification-group-margin-right:8px;--el-notification-content-font-size:var(--el-font-size-base);--el-notification-content-color:var(--el-text-color-regular);--el-notification-title-font-size:16px;--el-notification-title-color:var(--el-text-color-primary);--el-notification-close-color:var(--el-text-color-secondary);--el-notification-close-hover-color:var(--el-text-color-regular);width:var(--el-notification-width);padding:var(--el-notification-padding);border-radius:var(--el-notification-radius);box-sizing:border-box;border:1px solid var(--el-notification-border-color);background-color:var(--el-bg-color-overlay);box-shadow:var(--el-notification-shadow);transition:opacity var(--el-transition-duration),transform var(--el-transition-duration),left var(--el-transition-duration),right var(--el-transition-duration),top .4s,bottom var(--el-transition-duration);overflow-wrap:break-word;z-index:9999;display:flex;position:fixed;overflow:hidden}.el-notification.right{right:16px}.el-notification.left{left:16px}.el-notification__group{min-width:0;margin-left:var(--el-notification-group-margin-left);margin-right:var(--el-notification-group-margin-right);flex:1}.el-notification__title{font-weight:700;font-size:var(--el-notification-title-font-size);line-height:var(--el-notification-icon-size);color:var(--el-notification-title-color);margin:0}.el-notification__content{font-size:var(--el-notification-content-font-size);color:var(--el-notification-content-color);margin:6px 0 0;line-height:24px}.el-notification__content p{margin:0}.el-notification .el-notification__icon{height:var(--el-notification-icon-size);width:var(--el-notification-icon-size);font-size:var(--el-notification-icon-size);flex-shrink:0}.el-notification .el-notification__closeBtn{cursor:pointer;color:var(--el-notification-close-color);font-size:var(--el-notification-close-font-size);position:absolute;top:18px;right:15px}.el-notification .el-notification__closeBtn:hover{color:var(--el-notification-close-hover-color)}.el-notification .el-notification--primary{--el-notification-icon-color:var(--el-color-primary);color:var(--el-notification-icon-color)}.el-notification .el-notification--success{--el-notification-icon-color:var(--el-color-success);color:var(--el-notification-icon-color)}.el-notification .el-notification--info{--el-notification-icon-color:var(--el-color-info);color:var(--el-notification-icon-color)}.el-notification .el-notification--warning{--el-notification-icon-color:var(--el-color-warning);color:var(--el-notification-icon-color)}.el-notification .el-notification--error{--el-notification-icon-color:var(--el-color-error);color:var(--el-notification-icon-color)}.el-notification__progress{position:absolute;bottom:0;left:0;right:0}.el-notification__progress .el-progress-bar__inner{transition:width .1s linear}.el-notification-fade-enter-from.right{right:0;transform:translate(100%)}.el-notification-fade-enter-from.left{left:0;transform:translate(-100%)}.el-notification-fade-leave-to{opacity:0}.el-overlay{z-index:2000;background-color:var(--el-overlay-color-lighter);height:100%;position:fixed;top:0;bottom:0;left:0;right:0;overflow:auto}.el-overlay .el-overlay-root{height:0}.el-page-header.is-contentful .el-page-header__main{border-top:1px solid var(--el-border-color-light);margin-top:16px}.el-page-header__header{justify-content:space-between;align-items:center;line-height:24px;display:flex}.el-page-header__left{align-items:center;margin-right:40px;display:flex;position:relative}.el-page-header__back{cursor:pointer;align-items:center;display:flex}.el-page-header__left .el-divider--vertical{margin:0 16px}.el-page-header__icon{align-items:center;margin-right:10px;font-size:16px;display:flex}.el-page-header__icon .el-icon{font-size:inherit}.el-page-header__title{font-size:14px;font-weight:500}.el-page-header__content{color:var(--el-text-color-primary);font-size:18px}.el-page-header__breadcrumb{margin-bottom:16px}.el-pagination{--el-pagination-font-size:14px;--el-pagination-bg-color:var(--el-fill-color-blank);--el-pagination-text-color:var(--el-text-color-primary);--el-pagination-border-radius:2px;--el-pagination-button-color:var(--el-text-color-primary);--el-pagination-button-width:32px;--el-pagination-button-height:32px;--el-pagination-button-disabled-color:var(--el-text-color-placeholder);--el-pagination-button-disabled-bg-color:var(--el-fill-color-blank);--el-pagination-button-bg-color:var(--el-fill-color);--el-pagination-hover-color:var(--el-color-primary);--el-pagination-font-size-small:12px;--el-pagination-button-width-small:24px;--el-pagination-button-height-small:24px;--el-pagination-button-width-large:40px;--el-pagination-button-height-large:40px;--el-pagination-item-gap:16px;white-space:nowrap;color:var(--el-pagination-text-color);font-size:var(--el-pagination-font-size);align-items:center;font-weight:400;display:flex}.el-pagination .el-input__inner{text-align:center;-moz-appearance:textfield}.el-pagination .el-select{width:128px}.el-pagination .btn-prev,.el-pagination .btn-next{font-size:var(--el-pagination-font-size);min-width:var(--el-pagination-button-width);height:var(--el-pagination-button-height);line-height:var(--el-pagination-button-height);color:var(--el-pagination-button-color);background:var(--el-pagination-bg-color);border-radius:var(--el-pagination-border-radius);cursor:pointer;text-align:center;box-sizing:border-box;border:none;justify-content:center;align-items:center;padding:0 4px;display:flex}.el-pagination .btn-prev *,.el-pagination .btn-next *{pointer-events:none}.el-pagination .btn-prev:focus,.el-pagination .btn-next:focus{outline:none}.el-pagination .btn-prev:hover,.el-pagination .btn-next:hover{color:var(--el-pagination-hover-color)}.el-pagination .btn-prev.is-active,.el-pagination .btn-next.is-active{color:var(--el-pagination-hover-color);cursor:default;font-weight:700}.el-pagination .btn-prev.is-active.is-disabled,.el-pagination .btn-next.is-active.is-disabled{color:var(--el-text-color-secondary);font-weight:700}.el-pagination .btn-prev:disabled,.el-pagination .btn-prev.is-disabled,.el-pagination .btn-next:disabled,.el-pagination .btn-next.is-disabled{color:var(--el-pagination-button-disabled-color);background-color:var(--el-pagination-button-disabled-bg-color);cursor:not-allowed}.el-pagination .btn-prev:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-pagination .btn-next:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-pagination .btn-prev .el-icon,.el-pagination .btn-next .el-icon{width:inherit;font-size:12px;font-weight:700;display:block}.el-pagination>.is-first{margin-left:0!important}.el-pagination>.is-last{margin-right:0!important}.el-pagination .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination__sizes,.el-pagination__total{margin-left:var(--el-pagination-item-gap);color:var(--el-text-color-regular);font-weight:400}.el-pagination__total[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__jump{margin-left:var(--el-pagination-item-gap);color:var(--el-text-color-regular);align-items:center;font-weight:400;display:flex}.el-pagination__jump[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__goto{margin-right:8px}.el-pagination__editor{text-align:center;box-sizing:border-box}.el-pagination__editor.el-input{width:56px}.el-pagination__editor .el-input__inner::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.el-pagination__editor .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-pagination__classifier{margin-left:8px}.el-pagination__rightwrapper{flex:1;justify-content:flex-end;align-items:center;display:flex}.el-pagination.is-background .btn-prev,.el-pagination.is-background .btn-next,.el-pagination.is-background .el-pager li{background-color:var(--el-pagination-button-bg-color);margin:0 4px}.el-pagination.is-background .btn-prev.is-active,.el-pagination.is-background .btn-next.is-active,.el-pagination.is-background .el-pager li.is-active{background-color:var(--el-color-primary);color:var(--el-color-white)}.el-pagination.is-background .btn-prev:disabled,.el-pagination.is-background .btn-prev.is-disabled,.el-pagination.is-background .btn-next:disabled,.el-pagination.is-background .btn-next.is-disabled,.el-pagination.is-background .el-pager li:disabled,.el-pagination.is-background .el-pager li.is-disabled{color:var(--el-text-color-placeholder);background-color:var(--el-disabled-bg-color)}.el-pagination.is-background .btn-prev:disabled.is-active,.el-pagination.is-background .btn-prev.is-disabled.is-active,.el-pagination.is-background .btn-next:disabled.is-active,.el-pagination.is-background .btn-next.is-disabled.is-active,.el-pagination.is-background .el-pager li:disabled.is-active,.el-pagination.is-background .el-pager li.is-disabled.is-active{color:var(--el-text-color-secondary);background-color:var(--el-fill-color-dark)}.el-pagination.is-background .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination--small .btn-prev,.el-pagination--small .btn-next,.el-pagination--small .el-pager li{height:var(--el-pagination-button-height-small);line-height:var(--el-pagination-button-height-small);font-size:var(--el-pagination-font-size-small);min-width:var(--el-pagination-button-width-small)}.el-pagination--small span:not([class*=suffix]),.el-pagination--small button{font-size:var(--el-pagination-font-size-small)}.el-pagination--small .el-select{width:100px}.el-pagination--large .btn-prev,.el-pagination--large .btn-next,.el-pagination--large .el-pager li{height:var(--el-pagination-button-height-large);line-height:var(--el-pagination-button-height-large);min-width:var(--el-pagination-button-width-large)}.el-pagination--large .el-select .el-input{width:160px}.el-pager{-webkit-user-select:none;user-select:none;align-items:center;margin:0;padding:0;font-size:0;list-style:none;display:flex}.el-pager li{font-size:var(--el-pagination-font-size);min-width:var(--el-pagination-button-width);height:var(--el-pagination-button-height);line-height:var(--el-pagination-button-height);color:var(--el-pagination-button-color);background:var(--el-pagination-bg-color);border-radius:var(--el-pagination-border-radius);cursor:pointer;text-align:center;box-sizing:border-box;border:none;justify-content:center;align-items:center;padding:0 4px;display:flex}.el-pager li *{pointer-events:none}.el-pager li:focus{outline:none}.el-pager li:hover{color:var(--el-pagination-hover-color)}.el-pager li.is-active{color:var(--el-pagination-hover-color);cursor:default;font-weight:700}.el-pager li.is-active.is-disabled{color:var(--el-text-color-secondary);font-weight:700}.el-pager li:disabled,.el-pager li.is-disabled{color:var(--el-pagination-button-disabled-color);background-color:var(--el-pagination-button-disabled-bg-color);cursor:not-allowed}.el-pager li:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-popconfirm{outline:none}.el-popconfirm__main{align-items:center;display:flex}.el-popconfirm__icon{margin-right:5px}.el-popconfirm__action{text-align:right;margin-top:8px}.el-popover{--el-popover-bg-color:var(--el-bg-color-overlay);--el-popover-font-size:var(--el-font-size-base);--el-popover-border-color:var(--el-border-color-lighter);--el-popover-padding:12px;--el-popover-padding-large:18px 20px;--el-popover-title-font-size:16px;--el-popover-title-text-color:var(--el-text-color-primary);--el-popover-border-radius:4px}.el-popover.el-popper{background:var(--el-popover-bg-color);border-radius:var(--el-popover-border-radius);border:1px solid var(--el-popover-border-color);min-width:150px;padding:var(--el-popover-padding);z-index:var(--el-index-popper);color:var(--el-text-color-regular);line-height:1.4;font-size:var(--el-popover-font-size);box-shadow:var(--el-box-shadow-light);overflow-wrap:break-word;box-sizing:border-box}.el-popover.el-popper--plain{padding:var(--el-popover-padding-large)}.el-popover__title{color:var(--el-popover-title-text-color);font-size:var(--el-popover-title-font-size);margin-bottom:12px;line-height:1}.el-popover__reference:focus:not(.focusing),.el-popover__reference:focus:hover{outline-width:0}.el-popover.el-popper.is-dark{--el-popover-bg-color:var(--el-text-color-primary);--el-popover-border-color:var(--el-text-color-primary);--el-popover-title-text-color:var(--el-bg-color);color:var(--el-bg-color)}.el-popover.el-popper:focus:active,.el-popover.el-popper:focus{outline-width:0}.el-progress{align-items:center;line-height:1;display:flex;position:relative}.el-progress__text{color:var(--el-text-color-regular);min-width:50px;margin-left:5px;font-size:14px;line-height:1}.el-progress__text i{vertical-align:middle;display:block}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{text-align:center;width:100%;margin:0;position:absolute;top:50%;left:0;transform:translateY(-50%)}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{vertical-align:middle;display:inline-block}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{margin-right:0;padding-right:0;display:block}.el-progress--text-inside .el-progress-bar{margin-right:0;padding-right:0}.el-progress.is-success .el-progress-bar__inner{background-color:var(--el-color-success)}.el-progress.is-success .el-progress__text{color:var(--el-color-success)}.el-progress.is-warning .el-progress-bar__inner{background-color:var(--el-color-warning)}.el-progress.is-warning .el-progress__text{color:var(--el-color-warning)}.el-progress.is-exception .el-progress-bar__inner{background-color:var(--el-color-danger)}.el-progress.is-exception .el-progress__text{color:var(--el-color-danger)}.el-progress-bar{box-sizing:border-box;flex-grow:1}.el-progress-bar__outer{background-color:var(--el-border-color-lighter);vertical-align:middle;border-radius:100px;height:6px;position:relative;overflow:hidden}.el-progress-bar__inner{background-color:var(--el-color-primary);text-align:right;white-space:nowrap;border-radius:100px;height:100%;line-height:1;transition:width .6s;position:absolute;top:0;left:0}.el-progress-bar__inner:after{content:"";vertical-align:middle;height:100%;display:inline-block}.el-progress-bar__inner--indeterminate{animation:3s infinite indeterminate;transform:translateZ(0)}.el-progress-bar__inner--striped{background-image:linear-gradient(45deg,#0000001a 25%,#0000 25%,#0000 50%,#0000001a 50%,#0000001a 75%,#0000 75%,#0000);background-size:1.25em 1.25em}.el-progress-bar__inner--striped.el-progress-bar__inner--striped-flow{animation:3s linear infinite striped-flow}.el-progress-bar__innerText{vertical-align:middle;color:#fff;margin:0 5px;font-size:12px;display:inline-block}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@keyframes indeterminate{0%{left:-100%}to{left:100%}}@keyframes striped-flow{0%{background-position:-100%}to{background-position:100%}}.el-radio-button{--el-radio-button-checked-bg-color:var(--el-color-primary);--el-radio-button-checked-text-color:var(--el-color-white);--el-radio-button-checked-border-color:var(--el-color-primary);--el-radio-button-disabled-checked-fill:var(--el-border-color-extra-light);outline:none;display:inline-block;position:relative}.el-radio-button__inner{white-space:nowrap;vertical-align:middle;background:var(--el-button-bg-color,var(--el-fill-color-blank));outline:var(--el-border);line-height:1;font-weight:var(--el-button-font-weight,var(--el-font-weight-primary));color:var(--el-button-text-color,var(--el-text-color-regular));-webkit-appearance:none;text-align:center;box-sizing:border-box;cursor:pointer;transition:var(--el-transition-all);-webkit-user-select:none;user-select:none;font-size:var(--el-font-size-base);border-radius:0;margin:0;padding:8px 15px;display:inline-block;position:relative}.el-radio-button__inner.is-round{padding:8px 15px}.el-radio-button__inner:hover{color:var(--el-color-primary)}.el-radio-button__inner [class*=el-icon-]{line-height:.9}.el-radio-button__inner [class*=el-icon-]+span{margin-left:5px}.el-radio-button:first-child .el-radio-button__inner{border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);box-shadow:none!important}.el-radio-button.is-active .el-radio-button__original-radio:not(:disabled)+.el-radio-button__inner{color:var(--el-radio-button-checked-text-color,var(--el-color-white));background-color:var(--el-radio-button-checked-bg-color,var(--el-color-primary));border-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));box-shadow:-1px 0 0 0 var(--el-radio-button-checked-border-color,var(--el-color-primary))}.el-radio-button__original-radio{opacity:0;z-index:-1;outline:none;position:absolute}.el-radio-button__original-radio:focus-visible+.el-radio-button__inner{border-left:var(--el-border);border-left-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));outline:2px solid var(--el-radio-button-checked-border-color);outline-offset:1px;z-index:2;border-radius:var(--el-border-radius-base);box-shadow:none}.el-radio-button__original-radio:disabled+.el-radio-button__inner{color:var(--el-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none}.el-radio-button__original-radio:disabled:checked+.el-radio-button__inner{background-color:var(--el-radio-button-disabled-checked-fill)}.el-radio-button:last-child .el-radio-button__inner{border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0}.el-radio-button:first-child:last-child .el-radio-button__inner{border-radius:var(--el-border-radius-base)}.el-radio-button--large .el-radio-button__inner{font-size:var(--el-font-size-base);border-radius:0;padding:12px 19px}.el-radio-button--large .el-radio-button__inner.is-round{padding:12px 19px}.el-radio-button--small .el-radio-button__inner{border-radius:0;padding:5px 11px;font-size:12px}.el-radio-button--small .el-radio-button__inner.is-round{padding:5px 11px}.el-radio-group{flex-wrap:wrap;align-items:center;font-size:0;display:inline-flex}.el-radio{--el-radio-font-size:var(--el-font-size-base);--el-radio-text-color:var(--el-text-color-regular);--el-radio-font-weight:var(--el-font-weight-primary);--el-radio-input-height:14px;--el-radio-input-width:14px;--el-radio-input-border-radius:var(--el-border-radius-circle);--el-radio-input-bg-color:var(--el-fill-color-blank);--el-radio-input-border:var(--el-border);--el-radio-input-border-color:var(--el-border-color);--el-radio-input-border-color-hover:var(--el-color-primary);color:var(--el-radio-text-color);font-weight:var(--el-radio-font-weight);cursor:pointer;white-space:nowrap;font-size:var(--el-font-size-base);-webkit-user-select:none;user-select:none;outline:none;align-items:center;height:32px;margin-right:30px;display:inline-flex;position:relative}.el-radio.el-radio--large{height:40px}.el-radio.el-radio--small{height:24px}.el-radio.is-bordered{border-radius:var(--el-border-radius-base);border:var(--el-border);box-sizing:border-box;padding:0 15px 0 9px}.el-radio.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-radio.is-bordered.is-disabled{cursor:not-allowed;border-color:var(--el-border-color-lighter)}.el-radio.is-bordered.el-radio--large{border-radius:var(--el-border-radius-base);padding:0 19px 0 11px}.el-radio.is-bordered.el-radio--large .el-radio__label{font-size:var(--el-font-size-base)}.el-radio.is-bordered.el-radio--large .el-radio__inner{width:14px;height:14px}.el-radio.is-bordered.el-radio--small{border-radius:var(--el-border-radius-base);padding:0 11px 0 7px}.el-radio.is-bordered.el-radio--small .el-radio__label{font-size:12px}.el-radio.is-bordered.el-radio--small .el-radio__inner{width:12px;height:12px}.el-radio:last-child{margin-right:0}.el-radio__input{white-space:nowrap;cursor:pointer;vertical-align:middle;outline:none;display:inline-flex;position:relative}.el-radio__input.is-disabled .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);cursor:not-allowed}.el-radio__input.is-disabled .el-radio__inner:after{cursor:not-allowed;background-color:var(--el-disabled-bg-color)}.el-radio__input.is-disabled .el-radio__inner+.el-radio__label{cursor:not-allowed}.el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color)}.el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:var(--el-text-color-placeholder)}.el-radio__input.is-disabled+span.el-radio__label{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-radio__input.is-checked .el-radio__inner{border-color:var(--el-color-primary);background:var(--el-color-primary)}.el-radio__input.is-checked .el-radio__inner:after{background-color:var(--el-color-white);transform:translate(-50%,-50%)scale(1)}.el-radio__input.is-checked+.el-radio__label{color:var(--el-color-primary)}.el-radio__input.is-focus .el-radio__inner{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner{border:var(--el-radio-input-border);border-radius:var(--el-radio-input-border-radius);width:var(--el-radio-input-width);height:var(--el-radio-input-height);background-color:var(--el-radio-input-bg-color);cursor:pointer;box-sizing:border-box;transition:all .3s;display:inline-block;position:relative}.el-radio__inner:hover{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner:after{border-radius:var(--el-radio-input-border-radius);content:"";width:4px;height:4px;transition:transform .15s ease-in;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(0)}.el-radio__original{opacity:0;z-index:-1;outline:none;margin:0;position:absolute;top:0;bottom:0;left:0;right:0}.el-radio__original:focus-visible+.el-radio__inner{outline:2px solid var(--el-radio-input-border-color-hover);outline-offset:1px;border-radius:var(--el-radio-input-border-radius)}.el-radio:focus:not(:focus-visible):not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner{box-shadow:0 0 2px 2px var(--el-radio-input-border-color-hover)}.el-radio__label{font-size:var(--el-radio-font-size);padding-left:8px}.el-radio.el-radio--large .el-radio__label{font-size:14px}.el-radio.el-radio--large .el-radio__inner{width:14px;height:14px}.el-radio.el-radio--small .el-radio__label{font-size:12px}.el-radio.el-radio--small .el-radio__inner{width:12px;height:12px}.el-rate{--el-rate-height:20px;--el-rate-font-size:var(--el-font-size-base);--el-rate-icon-size:18px;--el-rate-icon-margin:6px;--el-rate-void-color:var(--el-border-color-darker);--el-rate-fill-color:#f7ba2a;--el-rate-disabled-void-color:var(--el-fill-color);--el-rate-text-color:var(--el-text-color-primary);--el-rate-outline-color:var(--el-color-primary-light-5);align-items:center;height:32px;display:inline-flex}.el-rate:focus,.el-rate:active{outline:none}.el-rate:focus-visible .el-rate__item .el-rate__icon.is-focus-visible{outline:2px solid var(--el-rate-outline-color);transition:outline-offset,outline}.el-rate__item{cursor:pointer;vertical-align:middle;color:var(--el-rate-void-color);font-size:0;line-height:normal;display:inline-block;position:relative}.el-rate .el-rate__icon{font-size:var(--el-rate-icon-size);margin-right:var(--el-rate-icon-margin);transition:var(--el-transition-duration);display:inline-block;position:relative}.el-rate .el-rate__icon.hover{transform:scale(1.15)}.el-rate .el-rate__icon .path2{position:absolute;top:0;left:0}.el-rate .el-rate__icon.is-active{color:var(--el-rate-fill-color)}.el-rate__decimal{color:var(--el-rate-fill-color);display:inline-block;position:absolute;top:0;left:0;overflow:hidden}.el-rate__decimal--box{position:absolute;top:0;left:0}.el-rate__text{font-size:var(--el-rate-font-size);vertical-align:middle;color:var(--el-rate-text-color)}.el-rate--large{height:40px}.el-rate--small{height:24px}.el-rate--small .el-rate__icon{font-size:14px}.el-rate.is-disabled .el-rate__item{cursor:not-allowed;color:var(--el-rate-disabled-void-color)}.el-result{--el-result-padding:40px 30px;--el-result-icon-font-size:64px;--el-result-title-font-size:20px;--el-result-title-margin-top:20px;--el-result-subtitle-margin-top:10px;--el-result-extra-margin-top:30px;text-align:center;box-sizing:border-box;padding:var(--el-result-padding);flex-direction:column;justify-content:center;align-items:center;display:flex}.el-result__icon svg{width:var(--el-result-icon-font-size);height:var(--el-result-icon-font-size)}.el-result__title{margin-top:var(--el-result-title-margin-top)}.el-result__title p{font-size:var(--el-result-title-font-size);color:var(--el-text-color-primary);margin:0;line-height:1.3}.el-result__subtitle{margin-top:var(--el-result-subtitle-margin-top)}.el-result__subtitle p{font-size:var(--el-font-size-base);color:var(--el-text-color-regular);margin:0;line-height:1.3}.el-result__extra{margin-top:var(--el-result-extra-margin-top)}.el-result .icon-primary{--el-result-color:var(--el-color-primary);color:var(--el-result-color)}.el-result .icon-success{--el-result-color:var(--el-color-success);color:var(--el-result-color)}.el-result .icon-warning{--el-result-color:var(--el-color-warning);color:var(--el-result-color)}.el-result .icon-danger{--el-result-color:var(--el-color-danger);color:var(--el-result-color)}.el-result .icon-error{--el-result-color:var(--el-color-error);color:var(--el-result-color)}.el-result .icon-info{--el-result-color:var(--el-color-info);color:var(--el-result-color)}.el-row{box-sizing:border-box;flex-wrap:wrap;display:flex;position:relative}.el-row.is-justify-center{justify-content:center}.el-row.is-justify-end{justify-content:flex-end}.el-row.is-justify-space-between{justify-content:space-between}.el-row.is-justify-space-around{justify-content:space-around}.el-row.is-justify-space-evenly{justify-content:space-evenly}.el-row.is-align-top{align-items:flex-start}.el-row.is-align-middle{align-items:center}.el-row.is-align-bottom{align-items:flex-end}.el-scrollbar{--el-scrollbar-opacity:.3;--el-scrollbar-bg-color:var(--el-text-color-secondary);--el-scrollbar-hover-opacity:.5;--el-scrollbar-hover-bg-color:var(--el-text-color-secondary);height:100%;position:relative;overflow:hidden}.el-scrollbar__wrap{height:100%;overflow:auto}.el-scrollbar__wrap--hidden-default{scrollbar-width:none}.el-scrollbar__wrap--hidden-default::-webkit-scrollbar{display:none}.el-scrollbar__thumb{cursor:pointer;border-radius:inherit;background-color:var(--el-scrollbar-bg-color,var(--el-text-color-secondary));width:0;height:0;transition:var(--el-transition-duration) background-color;opacity:var(--el-scrollbar-opacity,.3);display:block;position:relative}.el-scrollbar__thumb:hover{background-color:var(--el-scrollbar-hover-bg-color,var(--el-text-color-secondary));opacity:var(--el-scrollbar-hover-opacity,.5)}.el-scrollbar__bar{z-index:1;border-radius:4px;position:absolute;bottom:2px;right:2px}.el-scrollbar__bar.is-vertical{width:6px;top:2px}.el-scrollbar__bar.is-vertical>div{width:100%}.el-scrollbar__bar.is-horizontal{height:6px;left:2px}.el-scrollbar__bar.is-horizontal>div{height:100%}.el-scrollbar-fade-enter-active{transition:opacity .34s ease-out}.el-scrollbar-fade-leave-active{transition:opacity .12s ease-out}.el-scrollbar-fade-enter-from,.el-scrollbar-fade-leave-active{opacity:0}.el-select-dropdown{z-index:calc(var(--el-index-top) + 1);border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{padding:0}.el-select-dropdown__loading,.el-select-dropdown__empty{text-align:center;color:var(--el-text-color-secondary);font-size:var(--el-select-font-size);margin:0;padding:10px 0}.el-select-dropdown__wrap{max-height:274px}.el-select-dropdown__list{box-sizing:border-box;margin:0;padding:6px 0;list-style:none}.el-select-dropdown__list.el-vl__window{margin:6px 0;padding:0}.el-select-dropdown__header{border-bottom:1px solid var(--el-border-color-light);padding:10px}.el-select-dropdown__footer{border-top:1px solid var(--el-border-color-light);padding:10px}.el-select-dropdown__item{font-size:var(--el-font-size-base);white-space:nowrap;text-overflow:ellipsis;color:var(--el-text-color-regular);box-sizing:border-box;cursor:pointer;height:34px;padding:0 32px 0 20px;line-height:34px;position:relative;overflow:hidden}.el-select-dropdown__item.is-hovering{background-color:var(--el-fill-color-light)}.el-select-dropdown__item.is-selected{color:var(--el-color-primary);font-weight:700}.el-select-dropdown__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed;background-color:unset}.el-select-dropdown.is-multiple .el-select-dropdown__item.is-selected:after{content:"";background-position:50%;background-repeat:no-repeat;background-color:var(--el-color-primary);mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") 0 0/100% 100% no-repeat;border-top:none;border-right:none;width:12px;height:12px;position:absolute;top:50%;right:20px;transform:translateY(-50%);-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.el-select-dropdown.is-multiple .el-select-dropdown__item.is-disabled:after{background-color:var(--el-text-color-placeholder)}.el-select-group{margin:0;padding:0}.el-select-group__wrap{margin:0;padding:0;list-style:none;position:relative}.el-select-group__title{box-sizing:border-box;color:var(--el-color-info);text-overflow:ellipsis;white-space:nowrap;padding:0 20px;font-size:12px;line-height:34px;overflow:hidden}.el-select-group .el-select-dropdown__item{padding-left:20px}.el-select{--el-select-border-color-hover:var(--el-border-color-hover);--el-select-disabled-color:var(--el-disabled-text-color);--el-select-disabled-border:var(--el-disabled-border-color);--el-select-font-size:var(--el-font-size-base);--el-select-close-hover-color:var(--el-text-color-secondary);--el-select-input-color:var(--el-text-color-placeholder);--el-select-multiple-input-color:var(--el-text-color-regular);--el-select-input-focus-border-color:var(--el-color-primary);--el-select-input-font-size:14px;--el-select-width:100%;vertical-align:middle;width:var(--el-select-width);display:inline-block;position:relative}.el-select__wrapper{box-sizing:border-box;cursor:pointer;text-align:left;border-radius:var(--el-border-radius-base);background-color:var(--el-fill-color-blank);min-height:32px;transition:var(--el-transition-box-shadow);box-shadow:0 0 0 1px var(--el-border-color) inset;align-items:center;gap:6px;padding:4px 12px;font-size:14px;line-height:24px;display:flex;position:relative;transform:translateZ(0)}.el-select__wrapper.is-filterable{cursor:text}.el-select__wrapper.is-focused{box-shadow:0 0 0 1px var(--el-color-primary) inset}.el-select__wrapper.is-hovering:not(.is-focused){box-shadow:0 0 0 1px var(--el-border-color-hover) inset}.el-select__wrapper.is-disabled{cursor:not-allowed;background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);box-shadow:0 0 0 1px var(--el-select-disabled-border) inset}.el-select__wrapper.is-disabled:hover{box-shadow:0 0 0 1px var(--el-select-disabled-border) inset}.el-select__wrapper.is-disabled.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-select__wrapper.is-disabled .el-select__selected-item{color:var(--el-select-disabled-color)}.el-select__wrapper.is-disabled .el-select__caret,.el-select__wrapper.is-disabled .el-tag,.el-select__wrapper.is-disabled input{cursor:not-allowed}.el-select__wrapper.is-disabled .el-select__prefix,.el-select__wrapper.is-disabled .el-select__suffix{pointer-events:none}.el-select__prefix,.el-select__suffix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));flex-shrink:0;align-items:center;gap:6px;display:flex}.el-select__caret{color:var(--el-select-input-color);font-size:var(--el-select-input-font-size);transition:var(--el-transition-duration);cursor:pointer;transform:rotate(0)}.el-select__caret.is-reverse{transform:rotate(180deg)}.el-select__clear{cursor:pointer}.el-select__clear:hover{color:var(--el-select-close-hover-color)}.el-select__selection{flex-wrap:wrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.el-select__selection.is-near{margin-left:-8px}.el-select__selection .el-tag{cursor:pointer;border-color:#0000}.el-select__selection .el-tag.el-tag--plain{border-color:var(--el-tag-border-color)}.el-select__selection .el-tag .el-tag__content{min-width:0}.el-select__selected-item{-webkit-user-select:none;user-select:none;flex-wrap:wrap;display:flex}.el-select__tags-text{text-overflow:ellipsis;white-space:nowrap;line-height:normal;display:block;overflow:hidden}.el-select__placeholder{z-index:-1;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--el-input-text-color,var(--el-text-color-regular));display:block;position:absolute;top:50%;overflow:hidden;transform:translateY(-50%)}.el-select__placeholder.is-transparent{-webkit-user-select:none;user-select:none;color:var(--el-text-color-placeholder)}.el-select__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-select__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-select__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:#0000;border-left-color:#0000}.el-select__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:#0000;border-right-color:#0000}.el-select__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:#0000;border-left-color:#0000}.el-select__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-top-color:#0000;border-right-color:#0000}.el-select__input-wrapper{flex:1}.el-select__input-wrapper.is-hidden{opacity:0;z-index:-1;position:absolute}.el-select__input{color:var(--el-select-multiple-input-color);font-size:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0000;border:none;outline:none;width:100%;height:24px;padding:0;font-family:inherit}.el-select__input-calculator{visibility:hidden;white-space:pre;max-width:100%;position:absolute;top:0;left:0;overflow:hidden}.el-select--large .el-select__wrapper{gap:6px;min-height:40px;padding:8px 16px;font-size:14px;line-height:24px}.el-select--large .el-select__selection{gap:6px}.el-select--large .el-select__selection.is-near{margin-left:-8px}.el-select--large .el-select__prefix,.el-select--large .el-select__suffix{gap:6px}.el-select--large .el-select__input{height:24px}.el-select--small .el-select__wrapper{gap:4px;min-height:24px;padding:2px 8px;font-size:12px;line-height:20px}.el-select--small .el-select__selection{gap:4px}.el-select--small .el-select__selection.is-near{margin-left:-6px}.el-select--small .el-select__prefix,.el-select--small .el-select__suffix{gap:4px}.el-select--small .el-select__input{height:20px}.el-skeleton{--el-skeleton-circle-size:var(--el-avatar-size)}.el-skeleton__item{background:var(--el-skeleton-color);border-radius:var(--el-border-radius-base);width:100%;height:16px;display:inline-block}.el-skeleton__circle{width:var(--el-skeleton-circle-size);height:var(--el-skeleton-circle-size);line-height:var(--el-skeleton-circle-size);border-radius:50%}.el-skeleton__button{border-radius:4px;width:64px;height:40px}.el-skeleton__p{width:100%}.el-skeleton__p.is-last{width:61%}.el-skeleton__p.is-first{width:33%}.el-skeleton__text{width:100%;height:var(--el-font-size-small)}.el-skeleton__caption{height:var(--el-font-size-extra-small)}.el-skeleton__h1{height:var(--el-font-size-extra-large)}.el-skeleton__h3{height:var(--el-font-size-large)}.el-skeleton__h5{height:var(--el-font-size-medium)}.el-skeleton__image{width:unset;border-radius:0;justify-content:center;align-items:center;display:flex}.el-skeleton__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;width:22%;height:22%}.el-skeleton{--el-skeleton-color:var(--el-fill-color);--el-skeleton-to-color:var(--el-fill-color-darker)}@keyframes el-skeleton-loading{0%{background-position:100%}to{background-position:0}}.el-skeleton{width:100%}.el-skeleton__first-line,.el-skeleton__paragraph{background:var(--el-skeleton-color);height:16px;margin-top:16px}.el-skeleton.is-animated .el-skeleton__item{background:linear-gradient(90deg,var(--el-skeleton-color) 25%,var(--el-skeleton-to-color) 37%,var(--el-skeleton-color) 63%);background-size:400% 100%;animation:1.4s infinite el-skeleton-loading}.el-slider{--el-slider-main-bg-color:var(--el-color-primary);--el-slider-runway-bg-color:var(--el-border-color-light);--el-slider-stop-bg-color:var(--el-color-white);--el-slider-disabled-color:var(--el-text-color-placeholder);--el-slider-border-radius:3px;--el-slider-height:6px;--el-slider-button-size:20px;--el-slider-button-wrapper-size:36px;--el-slider-button-wrapper-offset:-15px;align-items:center;width:100%;height:32px;display:flex}.el-slider__runway{height:var(--el-slider-height);background-color:var(--el-slider-runway-bg-color);border-radius:var(--el-slider-border-radius);cursor:pointer;flex:1;position:relative}.el-slider__runway.show-input{width:auto;margin-right:30px}.el-slider__runway.is-disabled{cursor:default}.el-slider__runway.is-disabled .el-slider__bar{background-color:var(--el-slider-disabled-color)}.el-slider__runway.is-disabled .el-slider__button{border-color:var(--el-slider-disabled-color)}.el-slider__runway.is-disabled .el-slider__button-wrapper:hover,.el-slider__runway.is-disabled .el-slider__button-wrapper.hover,.el-slider__runway.is-disabled .el-slider__button-wrapper.dragging{cursor:not-allowed}.el-slider__runway.is-disabled .el-slider__button:hover,.el-slider__runway.is-disabled .el-slider__button.hover,.el-slider__runway.is-disabled .el-slider__button.dragging{cursor:not-allowed;transform:scale(1)}.el-slider__input{flex-shrink:0;width:130px}.el-slider__bar{height:var(--el-slider-height);background-color:var(--el-slider-main-bg-color);border-top-left-radius:var(--el-slider-border-radius);border-bottom-left-radius:var(--el-slider-border-radius);position:absolute}.el-slider__button-wrapper{height:var(--el-slider-button-wrapper-size);width:var(--el-slider-button-wrapper-size);z-index:1;top:var(--el-slider-button-wrapper-offset);text-align:center;-webkit-user-select:none;user-select:none;background-color:#0000;outline:none;line-height:normal;position:absolute;transform:translate(-50%)}.el-slider__button-wrapper:after{content:"";vertical-align:middle;height:100%;display:inline-block}.el-slider__button-wrapper:hover,.el-slider__button-wrapper.hover{cursor:grab}.el-slider__button-wrapper.dragging{cursor:grabbing}.el-slider__button{width:var(--el-slider-button-size);height:var(--el-slider-button-size);vertical-align:middle;border:solid 2px var(--el-slider-main-bg-color);background-color:var(--el-color-white);box-sizing:border-box;transition:var(--el-transition-duration-fast);-webkit-user-select:none;user-select:none;border-radius:50%;display:inline-block}.el-slider__button:hover,.el-slider__button.hover,.el-slider__button.dragging{transform:scale(1.2)}.el-slider__button:hover,.el-slider__button.hover{cursor:grab}.el-slider__button.dragging{cursor:grabbing}.el-slider__stop{height:var(--el-slider-height);width:var(--el-slider-height);border-radius:var(--el-border-radius-circle);background-color:var(--el-slider-stop-bg-color);position:absolute;transform:translate(-50%)}.el-slider__marks{width:18px;height:100%;top:0;left:12px}.el-slider__marks-text{color:var(--el-color-info);white-space:pre;margin-top:15px;font-size:14px;position:absolute;transform:translate(-50%)}.el-slider.is-vertical{flex:0;width:auto;height:100%;display:inline-flex;position:relative}.el-slider.is-vertical .el-slider__runway{width:var(--el-slider-height);height:100%;margin:0 16px}.el-slider.is-vertical .el-slider__bar{width:var(--el-slider-height);border-radius:0 0 3px 3px;height:auto}.el-slider.is-vertical .el-slider__button-wrapper{top:auto;left:var(--el-slider-button-wrapper-offset);transform:translateY(50%)}.el-slider.is-vertical .el-slider__stop{transform:translateY(50%)}.el-slider.is-vertical .el-slider__marks-text{margin-top:0;left:15px;transform:translateY(50%)}.el-slider--large{height:40px}.el-slider--small{height:24px}.el-space{vertical-align:top;display:inline-flex}.el-space__item{flex-wrap:wrap;display:flex}.el-space__item>*{flex:1}.el-space--vertical{flex-direction:column}.el-time-spinner{white-space:nowrap;width:100%}.el-spinner{vertical-align:middle;display:inline-block}.el-spinner-inner{width:50px;height:50px;animation:2s linear infinite rotate}.el-spinner-inner .path{stroke:var(--el-border-color-lighter);stroke-linecap:round;animation:1.5s ease-in-out infinite dash}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1 150;stroke-dashoffset:0}50%{stroke-dasharray:90 150;stroke-dashoffset:-35px}to{stroke-dasharray:90 150;stroke-dashoffset:-124px}}.el-step{flex-shrink:1;position:relative}.el-step:last-of-type .el-step__line{display:none}.el-step:last-of-type.is-flex{flex-grow:0;flex-shrink:0;flex-basis:auto!important}.el-step:last-of-type .el-step__main,.el-step:last-of-type .el-step__description{padding-right:0}.el-step__head{width:100%;position:relative}.el-step__head.is-process{color:var(--el-text-color-primary);border-color:var(--el-text-color-primary)}.el-step__head.is-wait{color:var(--el-text-color-placeholder);border-color:var(--el-text-color-placeholder)}.el-step__head.is-success{color:var(--el-color-success);border-color:var(--el-color-success)}.el-step__head.is-error{color:var(--el-color-danger);border-color:var(--el-color-danger)}.el-step__head.is-finish{color:var(--el-color-primary);border-color:var(--el-color-primary)}.el-step__icon{z-index:1;box-sizing:border-box;background:var(--el-bg-color);justify-content:center;align-items:center;width:24px;height:24px;font-size:14px;transition:all .15s ease-out;display:inline-flex;position:relative}.el-step__icon.is-text{border:2px solid;border-radius:50%}.el-step__icon.is-icon{width:40px}.el-step__icon-inner{-webkit-user-select:none;user-select:none;text-align:center;color:inherit;font-weight:700;line-height:1;display:inline-block}.el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:25px;font-weight:400}.el-step__icon-inner.is-status{transform:translateY(1px)}.el-step__line{background-color:var(--el-text-color-placeholder);border-color:currentColor;position:absolute}.el-step__line-inner{box-sizing:border-box;border:1px solid;width:0;height:0;transition:all .15s ease-out;display:block}.el-step__main{white-space:normal;text-align:left}.el-step__title{font-size:16px;line-height:38px}.el-step__title.is-process{color:var(--el-text-color-primary);font-weight:700}.el-step__title.is-wait{color:var(--el-text-color-placeholder)}.el-step__title.is-success{color:var(--el-color-success)}.el-step__title.is-error{color:var(--el-color-danger)}.el-step__title.is-finish{color:var(--el-color-primary)}.el-step__description{margin-top:-5px;padding-right:10%;font-size:12px;font-weight:400;line-height:20px}.el-step__description.is-process{color:var(--el-text-color-primary)}.el-step__description.is-wait{color:var(--el-text-color-placeholder)}.el-step__description.is-success{color:var(--el-color-success)}.el-step__description.is-error{color:var(--el-color-danger)}.el-step__description.is-finish{color:var(--el-color-primary)}.el-step.is-horizontal{display:inline-block}.el-step.is-horizontal .el-step__line{height:2px;top:11px;left:0;right:0}.el-step.is-vertical{display:flex}.el-step.is-vertical .el-step__head{flex-grow:0;width:24px}.el-step.is-vertical .el-step__main{flex-grow:1;padding-left:10px}.el-step.is-vertical .el-step__title{padding-bottom:8px;line-height:24px}.el-step.is-vertical .el-step__line{width:2px;top:0;bottom:0;left:11px}.el-step.is-vertical .el-step__icon.is-icon{width:24px}.el-step.is-vertical .el-step__description{padding-right:0}.el-step.is-center .el-step__head,.el-step.is-center .el-step__main{text-align:center}.el-step.is-center .el-step__description{padding-left:20%;padding-right:20%}.el-step.is-center .el-step__line{left:50%;right:-50%}.el-step.is-simple{align-items:center;display:flex}.el-step.is-simple .el-step__head{width:auto;padding-right:10px;font-size:0}.el-step.is-simple .el-step__icon{background:0 0;width:16px;height:16px;font-size:12px}.el-step.is-simple .el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:18px}.el-step.is-simple .el-step__icon-inner.is-status{transform:scale(.8)translateY(1px)}.el-step.is-simple .el-step__main{flex-grow:1;align-items:stretch;display:flex;position:relative}.el-step.is-simple .el-step__title{font-size:16px;line-height:20px}.el-step.is-simple:not(:last-of-type) .el-step__title{overflow-wrap:break-word;max-width:50%}.el-step.is-simple .el-step__arrow{flex-grow:1;justify-content:center;align-items:center;display:flex}.el-step.is-simple .el-step__arrow:before,.el-step.is-simple .el-step__arrow:after{content:"";background:var(--el-text-color-placeholder);width:1px;height:15px;display:inline-block;position:absolute}.el-step.is-simple .el-step__arrow:before{transform-origin:0 0;transform:rotate(-45deg)translateY(-4px)}.el-step.is-simple .el-step__arrow:after{transform-origin:100% 100%;transform:rotate(45deg)translateY(4px)}.el-step.is-simple:last-of-type .el-step__arrow{display:none}.el-steps{line-height:normal;display:flex}.el-steps--simple{background:var(--el-fill-color-light);border-radius:4px;padding:13px 8%}.el-steps--horizontal{white-space:nowrap}.el-steps--vertical{flex-flow:column;height:100%}.el-switch{--el-switch-on-color:var(--el-color-primary);--el-switch-off-color:var(--el-border-color);vertical-align:middle;align-items:center;height:32px;font-size:14px;line-height:20px;display:inline-flex;position:relative}.el-switch.is-disabled .el-switch__core,.el-switch.is-disabled .el-switch__label{cursor:not-allowed}.el-switch__label{transition:var(--el-transition-duration-fast);cursor:pointer;vertical-align:middle;height:20px;color:var(--el-text-color-primary);font-size:14px;font-weight:500;display:inline-block}.el-switch__label.is-active{color:var(--el-color-primary)}.el-switch__label--left{margin-right:10px}.el-switch__label--right{margin-left:10px}.el-switch__label *{font-size:14px;line-height:1;display:inline-block}.el-switch__label .el-icon{height:inherit}.el-switch__label .el-icon svg{vertical-align:middle}.el-switch__input{opacity:0;width:0;height:0;margin:0;position:absolute}.el-switch__input:focus-visible~.el-switch__core{outline:2px solid var(--el-switch-on-color);outline-offset:1px}.el-switch__core{border:1px solid var(--el-switch-border-color,var(--el-switch-off-color));box-sizing:border-box;background:var(--el-switch-off-color);cursor:pointer;min-width:40px;height:20px;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration);border-radius:10px;outline:none;align-items:center;display:inline-flex;position:relative}.el-switch__core .el-switch__inner{width:100%;transition:all var(--el-transition-duration);justify-content:center;align-items:center;height:16px;padding:0 4px 0 18px;display:flex;overflow:hidden}.el-switch__core .el-switch__inner-wrapper{color:var(--el-color-white);-webkit-user-select:none;user-select:none;text-overflow:ellipsis;white-space:nowrap;align-items:center;font-size:12px;display:flex;overflow:hidden}.el-switch__core .el-switch__action{border-radius:var(--el-border-radius-circle);transition:all var(--el-transition-duration);background-color:var(--el-color-white);width:16px;height:16px;color:var(--el-switch-off-color);justify-content:center;align-items:center;display:flex;position:absolute;left:1px}.el-switch.is-checked .el-switch__core{border-color:var(--el-switch-border-color,var(--el-switch-on-color));background-color:var(--el-switch-on-color)}.el-switch.is-checked .el-switch__core .el-switch__action{color:var(--el-switch-on-color);left:calc(100% - 17px)}.el-switch.is-checked .el-switch__core .el-switch__inner{padding:0 18px 0 4px}.el-switch.is-disabled{opacity:.6}.el-switch--wide .el-switch__label.el-switch__label--left span{left:10px}.el-switch--wide .el-switch__label.el-switch__label--right span{right:10px}.el-switch .label-fade-enter-from,.el-switch .label-fade-leave-active{opacity:0}.el-switch--large{height:40px;font-size:14px;line-height:24px}.el-switch--large .el-switch__label{height:24px;font-size:14px}.el-switch--large .el-switch__label *{font-size:14px}.el-switch--large .el-switch__core{border-radius:12px;min-width:50px;height:24px}.el-switch--large .el-switch__core .el-switch__inner{height:20px;padding:0 6px 0 22px}.el-switch--large .el-switch__core .el-switch__action{width:20px;height:20px}.el-switch--large.is-checked .el-switch__core .el-switch__action{left:calc(100% - 21px)}.el-switch--large.is-checked .el-switch__core .el-switch__inner{padding:0 22px 0 6px}.el-switch--small{height:24px;font-size:12px;line-height:16px}.el-switch--small .el-switch__label{height:16px;font-size:12px}.el-switch--small .el-switch__label *{font-size:12px}.el-switch--small .el-switch__core{border-radius:8px;min-width:30px;height:16px}.el-switch--small .el-switch__core .el-switch__inner{height:12px;padding:0 2px 0 14px}.el-switch--small .el-switch__core .el-switch__action{width:12px;height:12px}.el-switch--small.is-checked .el-switch__core .el-switch__action{left:calc(100% - 13px)}.el-switch--small.is-checked .el-switch__core .el-switch__inner{padding:0 14px 0 2px}.el-table-column--selection .cell{padding-left:14px;padding-right:14px}.el-table-filter{border:solid 1px var(--el-border-color-lighter);box-shadow:var(--el-box-shadow-light);box-sizing:border-box;background-color:#fff;border-radius:2px}.el-table-filter__list{outline:none;min-width:100px;margin:0;padding:5px 0;list-style:none}.el-table-filter__list-item{cursor:pointer;line-height:36px;font-size:var(--el-font-size-base);outline:none;padding:0 10px}.el-table-filter__list-item:hover,.el-table-filter__list-item:focus{background-color:var(--el-color-primary-light-9);color:var(--el-color-primary)}.el-table-filter__list-item.is-active{background-color:var(--el-color-primary);color:#fff}.el-table-filter__multiple{outline:none}.el-table-filter__content{min-width:100px}.el-table-filter__bottom{border-top:1px solid var(--el-border-color-lighter);padding:8px}.el-table-filter__bottom button{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--el-border-radius-base);transition:transform var(--el-transition-duration-fast) ease-in-out;background-color:#0000;border:none;outline:none;margin:0;padding:0}.el-table-filter__bottom button:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table-filter__bottom button{color:var(--el-text-color-regular);font-size:var(--el-font-size-small);padding:0 3px}.el-table-filter__bottom button:hover{color:var(--el-color-primary)}.el-table-filter__bottom button.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-table-filter__wrap{max-height:280px}.el-table-filter__checkbox-group{padding:10px}.el-table-filter__checkbox-group label.el-checkbox{height:unset;align-items:center;margin-bottom:12px;margin-left:5px;margin-right:5px;display:flex}.el-table-filter__checkbox-group .el-checkbox:last-child{margin-bottom:0}.el-table{--el-table-border-color:var(--el-border-color-lighter);--el-table-border:1px solid var(--el-table-border-color);--el-table-text-color:var(--el-text-color-regular);--el-table-header-text-color:var(--el-text-color-secondary);--el-table-row-hover-bg-color:var(--el-fill-color-light);--el-table-current-row-bg-color:var(--el-color-primary-light-9);--el-table-header-bg-color:var(--el-fill-color-blank);--el-table-fixed-box-shadow:var(--el-box-shadow-light);--el-table-bg-color:var(--el-fill-color-blank);--el-table-tr-bg-color:var(--el-fill-color-blank);--el-table-expanded-cell-bg-color:var(--el-fill-color-blank);--el-table-fixed-left-column:inset 10px 0 10px -10px #00000026;--el-table-fixed-right-column:inset -10px 0 10px -10px #00000026;--el-table-index:var(--el-index-normal);box-sizing:border-box;background-color:var(--el-table-bg-color);width:100%;max-width:100%;height:fit-content;font-size:var(--el-font-size-base);color:var(--el-table-text-color);position:relative;overflow:hidden}.el-table__inner-wrapper{flex-direction:column;height:100%;display:flex;position:relative}.el-table__inner-wrapper:before{height:1px;bottom:0;left:0}.el-table tbody:focus-visible{outline:none}.el-table.has-footer.el-table--scrollable-y tr:last-child td.el-table__cell,.el-table.has-footer.el-table--fluid-height tr:last-child td.el-table__cell{border-bottom-color:#0000}.el-table__empty-block{text-align:center;justify-content:center;align-items:center;width:100%;min-height:60px;display:flex;position:sticky;left:0}.el-table__empty-text{width:50%;color:var(--el-text-color-secondary);line-height:60px}.el-table__expand-column .cell{text-align:center;-webkit-user-select:none;user-select:none;padding:0}.el-table__expand-icon{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--el-border-radius-base);transition:transform var(--el-transition-duration-fast) ease-in-out;background-color:#0000;border:none;outline:none;margin:0;padding:0}.el-table__expand-icon:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:-2px}.el-table__expand-icon{color:var(--el-text-color-regular);width:min(23px,100%);height:23px;font-size:12px;line-height:12px}.el-table__expand-icon.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-table__expand-icon--expanded{transform:rotate(90deg)}.el-table__expand-icon>.el-icon{font-size:12px}.el-table__expanded-cell{background-color:var(--el-table-expanded-cell-bg-color)}.el-table__expanded-cell[class*=cell]{padding:20px 50px}.el-table__expanded-cell:hover{background-color:#0000!important}.el-table__placeholder{width:20px;display:inline-block}.el-table__append-wrapper{overflow:hidden}.el-table--fit{border-bottom:0;border-right:0}.el-table--fit .el-table__cell.gutter{border-right-width:1px}.el-table--fit .el-table__inner-wrapper:before{width:100%}.el-table thead{color:var(--el-table-header-text-color)}.el-table thead th{font-weight:600}.el-table thead.is-group th.el-table__cell{background:var(--el-fill-color-light)}.el-table .el-table__cell{box-sizing:border-box;text-overflow:ellipsis;vertical-align:middle;text-align:left;min-width:0;z-index:var(--el-table-index);padding:8px 0;position:relative}.el-table .el-table__cell.is-center{text-align:center}.el-table .el-table__cell.is-right{text-align:right}.el-table .el-table__cell.gutter{border-bottom-width:0;border-right-width:0;width:15px;padding:0}.el-table .el-table__cell.is-hidden>*{visibility:hidden}.el-table .cell{box-sizing:border-box;text-overflow:ellipsis;white-space:normal;overflow-wrap:break-word;padding:0 12px;line-height:23px;overflow:hidden}.el-table .cell.el-tooltip{white-space:nowrap;min-width:50px}.el-table--large{font-size:var(--el-font-size-base)}.el-table--large .el-table__cell{padding:12px 0}.el-table--large .cell{padding:0 16px}.el-table--default{font-size:var(--el-font-size-base)}.el-table--default .el-table__cell{padding:8px 0}.el-table--default .cell{padding:0 12px}.el-table--small{font-size:var(--el-font-size-extra-small)}.el-table--small .el-table__cell{padding:4px 0}.el-table--small .cell{padding:0 8px}.el-table tr{background-color:var(--el-table-tr-bg-color)}.el-table tr input[type=checkbox]{margin:0}.el-table th.el-table__cell.is-leaf,.el-table td.el-table__cell{border-bottom:var(--el-table-border)}.el-table th.el-table__cell.is-sortable{cursor:pointer}.el-table th.el-table__cell{background-color:var(--el-table-header-bg-color)}.el-table th.el-table__cell>.cell.highlight{color:var(--el-color-primary)}.el-table th.el-table__cell.required>div:before{content:"";vertical-align:middle;background:#ff4d51;border-radius:50%;width:8px;height:8px;margin-right:5px;display:inline-block}.el-table td.el-table__cell div{box-sizing:border-box}.el-table td.el-table__cell.gutter{width:0}.el-table--border:after,.el-table--border:before,.el-table--border .el-table__inner-wrapper:after,.el-table__inner-wrapper:before{content:"";background-color:var(--el-table-border-color);z-index:calc(var(--el-table-index) + 2);position:absolute}.el-table--border .el-table__inner-wrapper:after{width:100%;height:1px;z-index:calc(var(--el-table-index) + 2);top:0;left:0}.el-table--border:before{width:1px;height:100%;top:-1px;left:0}.el-table--border:after{width:1px;height:100%;top:-1px;right:0}.el-table--border .el-table__inner-wrapper{border-bottom:none;border-right:none}.el-table--border .el-table__footer-wrapper{flex-shrink:0;position:relative}.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table--border th.el-table__cell.gutter:last-of-type{border-bottom:var(--el-table-border);border-bottom-width:1px}.el-table--border th.el-table__cell{border-bottom:var(--el-table-border)}.el-table--hidden{visibility:hidden}.el-table__header-wrapper,.el-table__body-wrapper,.el-table__footer-wrapper{width:100%}.el-table__header-wrapper tr td.el-table-fixed-column--left,.el-table__header-wrapper tr td.el-table-fixed-column--right,.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right,.el-table__body-wrapper tr td.el-table-fixed-column--left,.el-table__body-wrapper tr td.el-table-fixed-column--right,.el-table__body-wrapper tr th.el-table-fixed-column--left,.el-table__body-wrapper tr th.el-table-fixed-column--right,.el-table__footer-wrapper tr td.el-table-fixed-column--left,.el-table__footer-wrapper tr td.el-table-fixed-column--right,.el-table__footer-wrapper tr th.el-table-fixed-column--left,.el-table__footer-wrapper tr th.el-table-fixed-column--right{background:inherit;z-index:calc(var(--el-table-index) + 1);position:sticky!important}.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before{content:"";width:10px;box-shadow:none;touch-action:none;pointer-events:none;position:absolute;top:0;bottom:0;overflow:hidden}.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before{left:-10px}.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before{right:-10px}.el-table__header-wrapper tr td.el-table__fixed-right-patch,.el-table__header-wrapper tr th.el-table__fixed-right-patch,.el-table__body-wrapper tr td.el-table__fixed-right-patch,.el-table__body-wrapper tr th.el-table__fixed-right-patch,.el-table__footer-wrapper tr td.el-table__fixed-right-patch,.el-table__footer-wrapper tr th.el-table__fixed-right-patch{z-index:calc(var(--el-table-index) + 1);background:#fff;right:0;position:sticky!important}.el-table__header-wrapper{flex-shrink:0}.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__header,.el-table__body,.el-table__footer{table-layout:fixed;border-collapse:separate}.el-table__header-wrapper{overflow:hidden}.el-table__header-wrapper tbody td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__footer-wrapper{flex-shrink:0;overflow:hidden}.el-table__footer-wrapper tfoot td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__header-wrapper .el-table-column--selection>.cell,.el-table__body-wrapper .el-table-column--selection>.cell{align-items:center;height:23px;display:inline-flex}.el-table__header-wrapper .el-table-column--selection .el-checkbox,.el-table__body-wrapper .el-table-column--selection .el-checkbox{height:unset}.el-table.is-scrolling-left .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-left.el-table--border .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:var(--el-table-border)}.el-table.is-scrolling-left th.el-table-fixed-column--left{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-right th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-middle .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-none .el-table-fixed-column--left.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--left.is-last-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-last-column:before{box-shadow:none}.el-table.is-scrolling-none th.el-table-fixed-column--left,.el-table.is-scrolling-none th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body-wrapper{flex:1;position:relative;overflow:hidden}.el-table__body-wrapper .el-scrollbar__bar{z-index:calc(var(--el-table-index) + 2)}.el-table .caret-wrapper{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--el-border-radius-base);transition:transform var(--el-transition-duration-fast) ease-in-out;background-color:#0000;border:none;outline:none;margin:0;padding:0}.el-table .caret-wrapper:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table .caret-wrapper{vertical-align:middle;width:24px;height:14px;overflow:initial;flex-direction:column;align-items:center;display:inline-flex;position:relative}.el-table .sort-caret{border:5px solid #0000;width:0;height:0;position:absolute;left:7px}.el-table .sort-caret.ascending{border-bottom-color:var(--el-text-color-placeholder);top:-5px}.el-table .sort-caret.descending{border-top-color:var(--el-text-color-placeholder);bottom:-3px}.el-table .ascending .sort-caret.ascending{border-bottom-color:var(--el-color-primary)}.el-table .descending .sort-caret.descending{border-top-color:var(--el-color-primary)}.el-table .hidden-columns{visibility:hidden;z-index:-1;position:absolute}.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell{background:var(--el-fill-color-lighter)}.el-table--striped .el-table__body tr.el-table__row--striped.current-row td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table__body tr.hover-row>td.el-table__cell,.el-table__body tr.hover-row.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell,.el-table__body tr>td.hover-cell{background-color:var(--el-table-row-hover-bg-color)}.el-table__body tr.current-row>td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table.el-table--scrollable-y .el-table__body-header{z-index:calc(var(--el-table-index) + 2);position:sticky;top:0}.el-table.el-table--scrollable-y .el-table__body-footer{z-index:calc(var(--el-table-index) + 2);position:sticky;bottom:0}.el-table__column-resize-proxy{border-left:var(--el-table-border);width:0;z-index:calc(var(--el-table-index) + 9);position:absolute;top:0;bottom:0;left:200px}.el-table__column-filter-trigger{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--el-border-radius-base);transition:transform var(--el-transition-duration-fast) ease-in-out;background-color:#0000;border:none;outline:none;margin:0;padding:0}.el-table__column-filter-trigger:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table__column-filter-trigger{display:inline-block}.el-table__column-filter-trigger i{color:var(--el-color-info);vertical-align:middle;font-size:14px}.el-table__border-left-patch{width:1px;height:100%;z-index:calc(var(--el-table-index) + 2);background-color:var(--el-table-border-color);position:absolute;top:0;left:0}.el-table__border-bottom-patch{height:1px;z-index:calc(var(--el-table-index) + 2);background-color:var(--el-table-border-color);position:absolute;left:0}.el-table__border-right-patch{width:1px;height:100%;z-index:calc(var(--el-table-index) + 2);background-color:var(--el-table-border-color);position:absolute;top:0}.el-table--enable-row-transition .el-table__body td.el-table__cell{transition:background-color .25s 1ms}.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell{background-color:var(--el-table-row-hover-bg-color)}.el-table [class*=el-table__row--level] .el-table__expand-icon{text-align:center;width:20px;display:inline-block}.el-table .el-table.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table:not(.el-table--border) .el-table__cell{border-right:none}.el-table:not(.el-table--border)>.el-table__inner-wrapper:after{content:none}.el-table-v2{--el-table-border-color:var(--el-border-color-lighter);--el-table-border:1px solid var(--el-table-border-color);--el-table-text-color:var(--el-text-color-regular);--el-table-header-text-color:var(--el-text-color-secondary);--el-table-row-hover-bg-color:var(--el-fill-color-light);--el-table-current-row-bg-color:var(--el-color-primary-light-9);--el-table-header-bg-color:var(--el-fill-color-blank);--el-table-fixed-box-shadow:var(--el-box-shadow-light);--el-table-bg-color:var(--el-fill-color-blank);--el-table-tr-bg-color:var(--el-fill-color-blank);--el-table-expanded-cell-bg-color:var(--el-fill-color-blank);--el-table-fixed-left-column:inset 10px 0 10px -10px #00000026;--el-table-fixed-right-column:inset -10px 0 10px -10px #00000026;--el-table-index:var(--el-index-normal);font-size:var(--el-font-size-base)}.el-table-v2 *{box-sizing:border-box}.el-table-v2__root{position:relative}.el-table-v2__root:hover .el-table-v2__main .el-virtual-scrollbar{opacity:1}.el-table-v2__main{background-color:var(--el-bg-color);flex-direction:column-reverse;display:flex;position:absolute;top:0;left:0;overflow:hidden}.el-table-v2__main .el-vl__horizontal,.el-table-v2__main .el-vl__vertical{z-index:2}.el-table-v2__left{background-color:var(--el-bg-color);flex-direction:column-reverse;display:flex;position:absolute;top:0;left:0;overflow:hidden;box-shadow:2px 0 4px #0000000f}.el-table-v2__left .el-virtual-scrollbar{opacity:0}.el-table-v2__left .el-vl__vertical,.el-table-v2__left .el-vl__horizontal{z-index:-1}.el-table-v2__right{background-color:var(--el-bg-color);flex-direction:column-reverse;display:flex;position:absolute;top:0;right:0;overflow:hidden;box-shadow:-2px 0 4px #0000000f}.el-table-v2__right .el-virtual-scrollbar{opacity:0}.el-table-v2__right .el-vl__vertical,.el-table-v2__right .el-vl__horizontal{z-index:-1}.el-table-v2__header-row,.el-table-v2__row{padding-inline-end:var(--el-table-scrollbar-size)}.el-table-v2__header-wrapper{overflow:hidden}.el-table-v2__header{position:relative;overflow:hidden}.el-table-v2__header .el-checkbox{z-index:0}.el-table-v2__footer{position:absolute;bottom:0;left:0;right:0;overflow:hidden}.el-table-v2__empty{position:absolute;left:0}.el-table-v2__overlay{z-index:9999;position:absolute;top:0;bottom:0;left:0;right:0}.el-table-v2__header-row{border-bottom:var(--el-table-border);display:flex}.el-table-v2__header-cell{-webkit-user-select:none;user-select:none;background-color:var(--el-table-header-bg-color);height:100%;color:var(--el-table-header-text-color);align-items:center;padding:0 8px;font-weight:700;display:flex;overflow:hidden}.el-table-v2__header-cell.is-align-center{text-align:center;justify-content:center}.el-table-v2__header-cell.is-align-right{text-align:right;justify-content:flex-end}.el-table-v2__header-cell.is-sortable{cursor:pointer}.el-table-v2__header-cell:hover .el-icon{display:block}.el-table-v2__sort-icon{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--el-border-radius-base);transition:transform var(--el-transition-duration-fast) ease-in-out;background-color:#0000;border:none;outline:none;margin:0;padding:0}.el-table-v2__sort-icon:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table-v2__sort-icon{transition:opacity,display var(--el-transition-duration);opacity:.6;display:none}.el-table-v2__sort-icon.is-sorting{opacity:1;display:flex}.el-table-v2__row{border-bottom:var(--el-table-border);transition:background-color var(--el-transition-duration);align-items:center;display:flex}.el-table-v2__row.is-hovered,.el-table-v2__row:hover{background-color:var(--el-table-row-hover-bg-color)}.el-table-v2__row-cell{align-items:center;height:100%;padding:0 8px;display:flex;overflow:hidden}.el-table-v2__row-cell.is-align-center{text-align:center;justify-content:center}.el-table-v2__row-cell.is-align-right{text-align:right;justify-content:flex-end}.el-table-v2__expand-icon{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--el-border-radius-base);transition:transform var(--el-transition-duration-fast) ease-in-out;background-color:#0000;border:none;outline:none;margin:0;padding:0}.el-table-v2__expand-icon:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table-v2__expand-icon{-webkit-user-select:none;user-select:none;margin:0 4px}.el-table-v2__expand-icon svg{transition:transform var(--el-transition-duration)}.el-table-v2__expand-icon.is-expanded svg{transform:rotate(90deg)}.el-table-v2:not(.is-dynamic) .el-table-v2__cell-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.el-table-v2.is-dynamic .el-table-v2__row{align-items:stretch;overflow:hidden}.el-table-v2.is-dynamic .el-table-v2__row .el-table-v2__row-cell{overflow-wrap:break-word}.el-tabs{--el-tabs-header-height:40px;display:flex}.el-tabs__header{justify-content:space-between;align-items:center;margin:0 0 15px;padding:0;display:flex;position:relative}.el-tabs__header-vertical{flex-direction:column}.el-tabs__active-bar{background-color:var(--el-color-primary);z-index:1;height:2px;transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);list-style:none;position:absolute;bottom:0;left:0}.el-tabs__active-bar.is-bottom{bottom:auto}.el-tabs__active-bar.is-hidden{visibility:hidden}.el-tabs__active-bar.is-hidden~.is-active:after{content:"";z-index:1;background-color:var(--el-color-primary);height:2px;position:absolute;bottom:0;left:20px;right:20px}.el-tabs__active-bar.is-hidden.is-bottom~.is-active:after{top:0;bottom:auto}.el-tabs__active-bar.is-hidden.is-left~.is-active:after,.el-tabs__active-bar.is-hidden.is-right~.is-active:after{width:2px;height:auto;top:0;bottom:0}.el-tabs__active-bar.is-hidden.is-left~.is-active:after{left:auto;right:0}.el-tabs__active-bar.is-hidden.is-right~.is-active:after{left:0;right:auto}.el-tabs__active-bar.is-hidden.is-top~.is-active:nth-child(2):after,.el-tabs__active-bar.is-hidden.is-bottom~.is-active:nth-child(2):after{left:0}.el-tabs__active-bar.is-hidden.is-top~.is-active:last-child:after,.el-tabs__active-bar.is-hidden.is-bottom~.is-active:last-child:after{right:0}.el-tabs__new-tab{border:1px solid var(--el-border-color);text-align:center;width:20px;height:20px;color:var(--el-text-color-primary);cursor:pointer;border-radius:3px;flex-shrink:0;justify-content:center;align-items:center;margin:10px 0 10px 10px;font-size:12px;line-height:20px;transition:all .15s;display:flex}.el-tabs__new-tab .is-icon-plus{height:inherit;width:inherit;transform:scale(.8)}.el-tabs__new-tab .is-icon-plus svg{vertical-align:middle}.el-tabs__new-tab:hover{color:var(--el-color-primary)}.el-tabs__new-tab-vertical{margin-left:0}.el-tabs__nav-wrap{flex:auto;margin-bottom:-1px;position:relative;overflow:hidden}.el-tabs__nav-wrap:after{content:"";background-color:var(--el-border-color-light);width:100%;height:2px;z-index:var(--el-index-normal);position:absolute;bottom:0;left:0}.el-tabs__nav-wrap.is-bottom:after{top:0;bottom:auto}.el-tabs__nav-wrap.is-scrollable{box-sizing:border-box;padding:0 20px}.el-tabs__nav-scroll{overflow:hidden}.el-tabs__nav-next,.el-tabs__nav-prev{cursor:pointer;color:var(--el-text-color-secondary);text-align:center;width:20px;font-size:12px;line-height:44px;position:absolute}.el-tabs__nav-next.is-disabled,.el-tabs__nav-prev.is-disabled{color:var(--el-text-color-disabled);cursor:not-allowed}.el-tabs__nav-next{right:0}.el-tabs__nav-prev{left:0}.el-tabs__nav{white-space:nowrap;transition:transform var(--el-transition-duration);float:left;z-index:calc(var(--el-index-normal) + 1);display:flex;position:relative}.el-tabs__nav.is-stretch{min-width:100%;display:flex}.el-tabs__nav.is-stretch>*{text-align:center;flex:1}.el-tabs__item{height:var(--el-tabs-header-height);box-sizing:border-box;font-size:var(--el-font-size-base);color:var(--el-text-color-primary);justify-content:center;align-items:center;padding:0 20px;font-weight:500;list-style:none;display:flex;position:relative}.el-tabs__item:focus,.el-tabs__item:focus:active{outline:none}.el-tabs__item:focus-visible{box-shadow:0 0 2px 2px var(--el-color-primary) inset;border-radius:3px}.el-tabs__item .is-icon-close{text-align:center;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);border-radius:50%;margin-left:5px}.el-tabs__item .is-icon-close:before{display:inline-block;transform:scale(.9)}.el-tabs__item .is-icon-close:hover{background-color:var(--el-text-color-placeholder);color:#fff}.el-tabs__item.is-active{color:var(--el-color-primary)}.el-tabs__item:hover{color:var(--el-color-primary);cursor:pointer}.el-tabs__item.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-tabs__content{flex-grow:1;position:relative;overflow:hidden}.el-tabs--top>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:0}.el-tabs--top>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom>.el-tabs__header .el-tabs__item:last-child{padding-right:0}.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:20px}.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:last-child{padding-right:20px}.el-tabs--card>.el-tabs__header{border-bottom:1px solid var(--el-border-color-light);height:var(--el-tabs-header-height);box-sizing:border-box}.el-tabs--card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--card>.el-tabs__header .el-tabs__nav{border:1px solid var(--el-border-color-light);box-sizing:border-box;border-bottom:none;border-radius:4px 4px 0 0}.el-tabs--card>.el-tabs__header .el-tabs__active-bar{display:none}.el-tabs--card>.el-tabs__header .el-tabs__item .is-icon-close{transform-origin:100%;width:0;height:14px;font-size:12px;position:relative;right:-2px;overflow:hidden}.el-tabs--card>.el-tabs__header .el-tabs__item{border-bottom:1px solid #0000;border-left:1px solid var(--el-border-color-light);transition:color var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),padding var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);margin-top:-1px}.el-tabs--card>.el-tabs__header .el-tabs__item:first-child{border-left:none}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover{padding-left:13px;padding-right:13px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover .is-icon-close{width:14px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border-bottom-color:var(--el-bg-color)}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable{padding-left:20px;padding-right:20px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable .is-icon-close{width:14px}.el-tabs--border-card{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color)}.el-tabs--border-card>.el-tabs__content{padding:15px}.el-tabs--border-card>.el-tabs__header{background-color:var(--el-fill-color-light);border-bottom:1px solid var(--el-border-color-light);margin:0}.el-tabs--border-card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--border-card>.el-tabs__header .el-tabs__item{transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);color:var(--el-text-color-secondary);border:1px solid #0000;margin-top:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item:first-child,.el-tabs--border-card>.el-tabs__header .el-tabs__item+.el-tabs__item{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{color:var(--el-color-primary);background-color:var(--el-bg-color-overlay);border-right-color:var(--el-border-color);border-left-color:var(--el-border-color)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover{color:var(--el-color-primary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-disabled{color:var(--el-disabled-text-color)}.el-tabs--border-card>.el-tabs__header .is-scrollable .el-tabs__item:first-child{margin-left:0}.el-tabs--bottom{flex-direction:column}.el-tabs--bottom .el-tabs__header.is-bottom{margin-top:10px;margin-bottom:0}.el-tabs--bottom.el-tabs--border-card .el-tabs__header.is-bottom{border-bottom:0;border-top:1px solid var(--el-border-color)}.el-tabs--bottom.el-tabs--border-card .el-tabs__nav-wrap.is-bottom{margin-top:-1px;margin-bottom:0}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom:not(.is-active){border:1px solid #0000}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom{margin:0 -1px -1px}.el-tabs--card>.el-tabs__header.is-left,.el-tabs--card>.el-tabs__header.is-right,.el-tabs--border-card>.el-tabs__header.is-left,.el-tabs--border-card>.el-tabs__header.is-right{border-bottom:none}.el-tabs--left,.el-tabs--right{overflow:hidden}.el-tabs--left .el-tabs__header.is-left,.el-tabs--left .el-tabs__header.is-right,.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--left .el-tabs__nav-scroll,.el-tabs--right .el-tabs__header.is-left,.el-tabs--right .el-tabs__header.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-scroll{height:100%}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__active-bar.is-right,.el-tabs--right .el-tabs__active-bar.is-left,.el-tabs--right .el-tabs__active-bar.is-right{width:2px;height:auto;top:0;bottom:auto}.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{margin-bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{text-align:center;cursor:pointer;width:100%;height:30px;line-height:30px}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i{transform:rotate(90deg)}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev.is-disabled,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next.is-disabled,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev.is-disabled,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next.is-disabled,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev.is-disabled,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next.is-disabled,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev.is-disabled,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next.is-disabled{cursor:not-allowed}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{top:0;left:auto}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{bottom:0;right:auto}.el-tabs--left .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--left .el-tabs__nav-wrap.is-right.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-right.is-scrollable{padding:30px 0}.el-tabs--left .el-tabs__nav-wrap.is-left:after,.el-tabs--left .el-tabs__nav-wrap.is-right:after,.el-tabs--right .el-tabs__nav-wrap.is-left:after,.el-tabs--right .el-tabs__nav-wrap.is-right:after{width:2px;height:100%;top:0;bottom:auto}.el-tabs--left .el-tabs__nav.is-left,.el-tabs--left .el-tabs__nav.is-right,.el-tabs--right .el-tabs__nav.is-left,.el-tabs--right .el-tabs__nav.is-right{flex-direction:column}.el-tabs--left .el-tabs__item.is-left,.el-tabs--right .el-tabs__item.is-left{justify-content:flex-end}.el-tabs--left .el-tabs__item.is-right,.el-tabs--right .el-tabs__item.is-right{justify-content:flex-start}.el-tabs--left{flex-direction:row}.el-tabs--left .el-tabs__header.is-left{margin-bottom:0;margin-right:10px}.el-tabs--left .el-tabs__nav-wrap.is-left{margin-right:-1px}.el-tabs--left .el-tabs__nav-wrap.is-left:after,.el-tabs--left .el-tabs__active-bar.is-left{left:auto;right:0}.el-tabs--left .el-tabs__item.is-left{text-align:right}.el-tabs--left.el-tabs--card .el-tabs__active-bar.is-left{display:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left{border-left:none;border-right:1px solid var(--el-border-color-light);border-bottom:none;border-top:1px solid var(--el-border-color-light);text-align:left}.el-tabs--left.el-tabs--card .el-tabs__item.is-left:first-child{border-right:1px solid var(--el-border-color-light);border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left:none;border-right-color:#fff}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:first-child{border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:last-child{border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-right:none;border-radius:4px 0 0 4px}.el-tabs--left.el-tabs--card .el-tabs__new-tab{float:none}.el-tabs--left.el-tabs--border-card .el-tabs__header.is-left{border-right:1px solid var(--el-border-color)}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left{border:1px solid #0000;margin:-1px 0 -1px -1px}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left.is-active{border-color:#d1dbe5 #0000}.el-tabs--left>.el-tabs__content+.el-tabs__header{order:-1}.el-tabs--right .el-tabs__header.is-right{margin-bottom:0;margin-left:10px}.el-tabs--right .el-tabs__nav-wrap.is-right{margin-left:-1px}.el-tabs--right .el-tabs__nav-wrap.is-right:after{left:0;right:auto}.el-tabs--right .el-tabs__active-bar.is-right{left:0}.el-tabs--right.el-tabs--card .el-tabs__active-bar.is-right{display:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right{border-bottom:none;border-top:1px solid var(--el-border-color-light)}.el-tabs--right.el-tabs--card .el-tabs__item.is-right:first-child{border-left:1px solid var(--el-border-color-light);border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left-color:#fff;border-right:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:first-child{border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:last-child{border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-left:none;border-radius:0 4px 4px 0}.el-tabs--right.el-tabs--border-card .el-tabs__header.is-right{border-left:1px solid var(--el-border-color)}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right{border:1px solid #0000;margin:-1px -1px -1px 0}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right.is-active{border-color:#d1dbe5 #0000}.el-tabs--top{flex-direction:column}.el-tabs--top>.el-tabs__content+.el-tabs__header{order:-1}.slideInRight-transition,.slideInLeft-transition{display:inline-block}.slideInRight-enter{animation:slideInRight-enter var(--el-transition-duration)}.slideInRight-leave{animation:slideInRight-leave var(--el-transition-duration);position:absolute;left:0;right:0}.slideInLeft-enter{animation:slideInLeft-enter var(--el-transition-duration)}.slideInLeft-leave{animation:slideInLeft-leave var(--el-transition-duration);position:absolute;left:0;right:0}@keyframes slideInRight-enter{0%{opacity:0;transform-origin:0 0;transform:translate(100%)}to{opacity:1;transform-origin:0 0;transform:translate(0)}}@keyframes slideInRight-leave{0%{transform-origin:0 0;opacity:1;transform:translate(0)}to{transform-origin:0 0;opacity:0;transform:translate(100%)}}@keyframes slideInLeft-enter{0%{opacity:0;transform-origin:0 0;transform:translate(-100%)}to{opacity:1;transform-origin:0 0;transform:translate(0)}}@keyframes slideInLeft-leave{0%{transform-origin:0 0;opacity:1;transform:translate(0)}to{transform-origin:0 0;opacity:0;transform:translate(-100%)}}.el-tag{--el-tag-font-size:12px;--el-tag-border-radius:4px;--el-tag-border-radius-rounded:9999px;background-color:var(--el-tag-bg-color);border-color:var(--el-tag-border-color);color:var(--el-tag-text-color);vertical-align:middle;height:24px;font-size:var(--el-tag-font-size);border-radius:var(--el-tag-border-radius);box-sizing:border-box;white-space:nowrap;--el-icon-size:14px;--el-tag-bg-color:var(--el-color-primary-light-9);--el-tag-border-color:var(--el-color-primary-light-8);--el-tag-hover-color:var(--el-color-primary);border-style:solid;border-width:1px;justify-content:center;align-items:center;padding:0 9px;line-height:1;display:inline-flex}.el-tag.el-tag--primary{--el-tag-bg-color:var(--el-color-primary-light-9);--el-tag-border-color:var(--el-color-primary-light-8);--el-tag-hover-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-bg-color:var(--el-color-success-light-9);--el-tag-border-color:var(--el-color-success-light-8);--el-tag-hover-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-bg-color:var(--el-color-warning-light-9);--el-tag-border-color:var(--el-color-warning-light-8);--el-tag-hover-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-bg-color:var(--el-color-danger-light-9);--el-tag-border-color:var(--el-color-danger-light-8);--el-tag-hover-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-bg-color:var(--el-color-error-light-9);--el-tag-border-color:var(--el-color-error-light-8);--el-tag-hover-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-bg-color:var(--el-color-info-light-9);--el-tag-border-color:var(--el-color-info-light-8);--el-tag-hover-color:var(--el-color-info)}.el-tag.is-hit{border-color:var(--el-color-primary)}.el-tag.is-round{border-radius:var(--el-tag-border-radius-rounded)}.el-tag .el-tag__close{color:var(--el-tag-text-color);flex-shrink:0}.el-tag .el-tag__close:hover{color:var(--el-color-white);background-color:var(--el-tag-hover-color)}.el-tag.el-tag--primary{--el-tag-text-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-text-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-text-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-text-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-text-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-text-color:var(--el-color-info)}.el-tag .el-icon{cursor:pointer;font-size:calc(var(--el-icon-size) - 2px);height:var(--el-icon-size);width:var(--el-icon-size);border-radius:50%}.el-tag .el-tag__close{background-color:#0000;border:none;border-radius:50%;outline:none;margin-left:6px;padding:0;overflow:hidden}.el-tag .el-tag__close:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-tag .el-tag__close .el-icon{display:flex}.el-tag--dark{--el-tag-text-color:var(--el-color-white);--el-tag-bg-color:var(--el-color-primary);--el-tag-border-color:var(--el-color-primary);--el-tag-hover-color:var(--el-color-primary-light-3)}.el-tag--dark.el-tag--primary{--el-tag-bg-color:var(--el-color-primary);--el-tag-border-color:var(--el-color-primary);--el-tag-hover-color:var(--el-color-primary-light-3)}.el-tag--dark.el-tag--success{--el-tag-bg-color:var(--el-color-success);--el-tag-border-color:var(--el-color-success);--el-tag-hover-color:var(--el-color-success-light-3)}.el-tag--dark.el-tag--warning{--el-tag-bg-color:var(--el-color-warning);--el-tag-border-color:var(--el-color-warning);--el-tag-hover-color:var(--el-color-warning-light-3)}.el-tag--dark.el-tag--danger{--el-tag-bg-color:var(--el-color-danger);--el-tag-border-color:var(--el-color-danger);--el-tag-hover-color:var(--el-color-danger-light-3)}.el-tag--dark.el-tag--error{--el-tag-bg-color:var(--el-color-error);--el-tag-border-color:var(--el-color-error);--el-tag-hover-color:var(--el-color-error-light-3)}.el-tag--dark.el-tag--info{--el-tag-bg-color:var(--el-color-info);--el-tag-border-color:var(--el-color-info);--el-tag-hover-color:var(--el-color-info-light-3)}.el-tag--dark.el-tag--primary,.el-tag--dark.el-tag--success,.el-tag--dark.el-tag--warning,.el-tag--dark.el-tag--danger,.el-tag--dark.el-tag--error,.el-tag--dark.el-tag--info{--el-tag-text-color:var(--el-color-white)}.el-tag--plain,.el-tag--plain.el-tag--primary{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-primary-light-5);--el-tag-hover-color:var(--el-color-primary)}.el-tag--plain.el-tag--success{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-success-light-5);--el-tag-hover-color:var(--el-color-success)}.el-tag--plain.el-tag--warning{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-warning-light-5);--el-tag-hover-color:var(--el-color-warning)}.el-tag--plain.el-tag--danger{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-danger-light-5);--el-tag-hover-color:var(--el-color-danger)}.el-tag--plain.el-tag--error{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-error-light-5);--el-tag-hover-color:var(--el-color-error)}.el-tag--plain.el-tag--info{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-info-light-5);--el-tag-hover-color:var(--el-color-info)}.el-tag.is-closable{padding-right:5px}.el-tag--large{--el-icon-size:16px;height:32px;padding:0 11px}.el-tag--large .el-tag__close{margin-left:8px}.el-tag--large.is-closable{padding-right:7px}.el-tag--small{--el-icon-size:12px;height:20px;padding:0 7px}.el-tag--small .el-tag__close{margin-left:4px}.el-tag--small.is-closable{padding-right:3px}.el-tag--small .el-icon-close{transform:scale(.8)}.el-tag.el-tag--primary.is-hit{border-color:var(--el-color-primary)}.el-tag.el-tag--success.is-hit{border-color:var(--el-color-success)}.el-tag.el-tag--warning.is-hit{border-color:var(--el-color-warning)}.el-tag.el-tag--danger.is-hit{border-color:var(--el-color-danger)}.el-tag.el-tag--error.is-hit{border-color:var(--el-color-error)}.el-tag.el-tag--info.is-hit{border-color:var(--el-color-info)}.el-text{--el-text-font-size:var(--el-font-size-base);--el-text-color:var(--el-text-color-regular);font-size:var(--el-text-font-size);color:var(--el-text-color);overflow-wrap:break-word;align-self:center;margin:0;padding:0}.el-text.is-truncated{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:inline-block;overflow:hidden}.el-text.is-line-clamp{-webkit-box-orient:vertical;display:-webkit-inline-box;overflow:hidden}.el-text--large{--el-text-font-size:var(--el-font-size-medium)}.el-text--default{--el-text-font-size:var(--el-font-size-base)}.el-text--small{--el-text-font-size:var(--el-font-size-extra-small)}.el-text.el-text--primary{--el-text-color:var(--el-color-primary)}.el-text.el-text--success{--el-text-color:var(--el-color-success)}.el-text.el-text--warning{--el-text-color:var(--el-color-warning)}.el-text.el-text--danger{--el-text-color:var(--el-color-danger)}.el-text.el-text--error{--el-text-color:var(--el-color-error)}.el-text.el-text--info{--el-text-color:var(--el-color-info)}.el-text>.el-icon{vertical-align:-2px}.time-select{min-width:0;margin:5px 0}.time-select .el-picker-panel__content{max-height:200px;margin:0}.time-select-item{padding:8px 10px;font-size:14px;line-height:20px}.time-select-item.disabled{color:var(--el-datepicker-border-color);cursor:not-allowed}.time-select-item:hover{background-color:var(--el-fill-color-light);cursor:pointer;font-weight:700}.time-select .time-select-item.selected:not(.disabled){color:var(--el-color-primary);font-weight:700}.el-timeline-item{padding-bottom:20px;position:relative}.el-timeline-item__wrapper{box-sizing:content-box;position:relative;top:-3px}.el-timeline-item__tail{border-left:2px solid var(--el-timeline-node-color);height:100%;position:absolute}.el-timeline-item .el-timeline-item__icon{color:var(--el-color-white);font-size:var(--el-font-size-small)}.el-timeline-item__node{background-color:var(--el-timeline-node-color);border-color:var(--el-timeline-node-color);box-sizing:border-box;border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute}.el-timeline-item__node--normal{width:var(--el-timeline-node-size-normal);height:var(--el-timeline-node-size-normal)}.el-timeline-item__node--large{width:var(--el-timeline-node-size-large);height:var(--el-timeline-node-size-large)}.el-timeline-item__node.is-hollow{background:var(--el-color-white);border-style:solid;border-width:2px}.el-timeline-item__node--primary{background-color:var(--el-color-primary);border-color:var(--el-color-primary)}.el-timeline-item__node--success{background-color:var(--el-color-success);border-color:var(--el-color-success)}.el-timeline-item__node--warning{background-color:var(--el-color-warning);border-color:var(--el-color-warning)}.el-timeline-item__node--danger{background-color:var(--el-color-danger);border-color:var(--el-color-danger)}.el-timeline-item__node--info{background-color:var(--el-color-info);border-color:var(--el-color-info)}.el-timeline-item__dot{justify-content:center;align-items:center;display:flex;position:absolute}.el-timeline-item__content{color:var(--el-text-color-primary)}.el-timeline-item__timestamp{color:var(--el-text-color-secondary);line-height:1;font-size:var(--el-font-size-small)}.el-timeline-item__timestamp.is-top{margin-bottom:8px;padding-top:4px}.el-timeline-item__timestamp.is-bottom{margin-top:8px}.el-timeline-item.is-start .el-timeline-item__wrapper{padding-left:28px}.el-timeline-item.is-start .el-timeline-item__tail{left:4px}.el-timeline-item.is-start .el-timeline-item__node--normal{left:-1px}.el-timeline-item.is-start .el-timeline-item__node--large{left:-2px}.el-timeline-item.is-end .el-timeline-item__wrapper{text-align:right;padding-right:28px}.el-timeline-item.is-end .el-timeline-item__tail{right:4px}.el-timeline-item.is-end .el-timeline-item__node--normal{right:-1px}.el-timeline-item.is-end .el-timeline-item__node--large{right:-2px}.el-timeline-item.is-alternate .el-timeline-item__tail,.el-timeline-item.is-alternate .el-timeline-item__node,.el-timeline-item.is-alternate-reverse .el-timeline-item__tail,.el-timeline-item.is-alternate-reverse .el-timeline-item__node{left:50%;transform:translate(-50%)}.el-timeline{--el-timeline-node-size-normal:12px;--el-timeline-node-size-large:14px;--el-timeline-node-color:var(--el-border-color-light);font-size:var(--el-font-size-base);margin:0;list-style:none}.el-timeline .el-timeline-item:last-child .el-timeline-item__tail{display:none}.el-timeline .el-timeline-item__center{align-items:center;display:flex}.el-timeline .el-timeline-item__center .el-timeline-item__wrapper{width:100%}.el-timeline .el-timeline-item__center .el-timeline-item__tail{top:0}.el-timeline .el-timeline-item__center:first-child .el-timeline-item__tail{height:calc(50% + 10px);top:calc(50% - 10px)}.el-timeline .el-timeline-item__center:last-child .el-timeline-item__tail{height:calc(50% - 10px);display:block}.el-timeline.is-start{padding-left:40px;padding-right:0}.el-timeline.is-end{padding-left:0;padding-right:40px}.el-timeline.is-alternate{padding-left:20px;padding-right:20px}.el-timeline.is-alternate .el-timeline-item:nth-child(odd) .el-timeline-item__wrapper{width:calc(50% - 28px);left:calc(50% - var(--el-timeline-node-size-large) / 2);padding-left:28px}.el-timeline.is-alternate .el-timeline-item:nth-child(2n) .el-timeline-item__wrapper{width:calc(50% - 28px + var(--el-timeline-node-size-large) / 2);text-align:right;padding-right:28px}.el-timeline.is-alternate-reverse{padding-left:20px;padding-right:20px}.el-timeline.is-alternate-reverse .el-timeline-item:nth-child(odd) .el-timeline-item__wrapper{width:calc(50% - 28px + var(--el-timeline-node-size-large) / 2);text-align:right;padding-right:28px}.el-timeline.is-alternate-reverse .el-timeline-item:nth-child(2n) .el-timeline-item__wrapper{width:calc(50% - 28px);left:calc(50% - var(--el-timeline-node-size-large) / 2);padding-left:28px}.el-transfer{--el-transfer-border-color:var(--el-border-color-lighter);--el-transfer-border-radius:var(--el-border-radius-base);--el-transfer-panel-width:200px;--el-transfer-panel-header-height:40px;--el-transfer-panel-header-bg-color:var(--el-fill-color-light);--el-transfer-panel-footer-height:40px;--el-transfer-panel-body-height:278px;--el-transfer-item-height:30px;--el-transfer-filter-height:32px;font-size:var(--el-font-size-base)}.el-transfer__buttons{vertical-align:middle;padding:0 30px;display:inline-block}.el-transfer__button{vertical-align:top}.el-transfer__button:nth-child(2){margin:0 0 0 10px}.el-transfer__button i,.el-transfer__button span{font-size:14px}.el-transfer__button .el-icon+span{margin-left:0}.el-transfer-panel{background:var(--el-bg-color-overlay);text-align:left;vertical-align:middle;width:var(--el-transfer-panel-width);box-sizing:border-box;max-height:100%;display:inline-block;position:relative;overflow:hidden}.el-transfer-panel__body{height:var(--el-transfer-panel-body-height);border-left:1px solid var(--el-transfer-border-color);border-right:1px solid var(--el-transfer-border-color);border-bottom:1px solid var(--el-transfer-border-color);border-bottom-left-radius:var(--el-transfer-border-radius);border-bottom-right-radius:var(--el-transfer-border-radius);overflow:hidden}.el-transfer-panel__body.is-with-footer{border-bottom:none;border-bottom-right-radius:0;border-bottom-left-radius:0}.el-transfer-panel__list{height:var(--el-transfer-panel-body-height);box-sizing:border-box;margin:0;padding:6px 0;list-style:none;overflow:auto}.el-transfer-panel__list.is-filterable{height:calc(100% - var(--el-transfer-filter-height) - 30px);padding-top:0}.el-transfer-panel__item{height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);padding-left:15px;display:block!important}.el-transfer-panel__item+.el-transfer-panel__item{margin-left:0}.el-transfer-panel__item.el-checkbox{color:var(--el-text-color-regular);margin-right:30px}.el-transfer-panel__item:hover{color:var(--el-color-primary)}.el-transfer-panel__item.el-checkbox .el-checkbox__label{text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box;width:100%;line-height:var(--el-transfer-item-height);padding-left:22px;display:block;overflow:hidden}.el-transfer-panel__item .el-checkbox__input{position:absolute;top:8px}.el-transfer-panel__filter{text-align:center;box-sizing:border-box;padding:15px}.el-transfer-panel__filter .el-input__inner{height:var(--el-transfer-filter-height);box-sizing:border-box;width:100%;font-size:12px;display:inline-block}.el-transfer-panel__filter .el-icon-circle-close{cursor:pointer}.el-transfer-panel .el-transfer-panel__header{height:var(--el-transfer-panel-header-height);background:var(--el-transfer-panel-header-bg-color);border:1px solid var(--el-transfer-border-color);border-top-left-radius:var(--el-transfer-border-radius);border-top-right-radius:var(--el-transfer-border-radius);box-sizing:border-box;color:var(--el-color-black);align-items:center;margin:0;padding-left:15px;display:flex}.el-transfer-panel .el-transfer-panel__header .el-checkbox{align-items:center;width:100%;display:flex;position:relative}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label{min-width:0;color:var(--el-text-color-primary);flex:1;align-items:center;font-size:16px;font-weight:400;display:flex}.el-transfer-panel .el-transfer-panel__header-title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.el-transfer-panel .el-transfer-panel__header-count{color:var(--el-text-color-secondary);flex-shrink:0;margin-left:8px;margin-right:15px;font-size:12px}.el-transfer-panel .el-transfer-panel__footer{height:var(--el-transfer-panel-footer-height);background:var(--el-bg-color-overlay);border:1px solid var(--el-transfer-border-color);border-bottom-left-radius:var(--el-transfer-border-radius);border-bottom-right-radius:var(--el-transfer-border-radius);margin:0;padding:0}.el-transfer-panel .el-transfer-panel__footer:after{content:"";vertical-align:middle;height:100%;display:inline-block}.el-transfer-panel .el-transfer-panel__footer .el-checkbox{color:var(--el-text-color-regular);padding-left:20px}.el-transfer-panel .el-transfer-panel__empty{height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);color:var(--el-text-color-secondary);text-align:center;margin:0;padding:6px 15px 0}.el-transfer-panel .el-checkbox__label{padding-left:8px}.el-tree{--el-tree-node-content-height:26px;--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder);cursor:default;background:var(--el-fill-color-blank);color:var(--el-tree-text-color);font-size:var(--el-font-size-base);position:relative}.el-tree__empty-block{text-align:center;width:100%;height:100%;min-height:60px;position:relative}.el-tree__empty-text{color:var(--el-text-color-secondary);font-size:var(--el-font-size-base);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.el-tree__drop-indicator{background-color:var(--el-color-primary);height:1px;position:absolute;left:0;right:0}.el-tree-node{white-space:nowrap;outline:none}.el-tree-node:focus>.el-tree-node__content{background-color:var(--el-tree-node-hover-bg-color)}.el-tree-node.is-drop-inner>.el-tree-node__content .el-tree-node__label{background-color:var(--el-color-primary);color:#fff}.el-tree-node__content{--el-checkbox-height:var(--el-tree-node-content-height);height:var(--el-tree-node-content-height);cursor:pointer;align-items:center;display:flex}.el-tree-node__content>.el-tree-node__expand-icon{box-sizing:content-box;padding:6px}.el-tree-node__content>label.el-checkbox{margin-right:8px}.el-tree-node__content:hover{background-color:var(--el-tree-node-hover-bg-color)}.el-tree.is-dragging .el-tree-node__content{cursor:move}.el-tree.is-dragging .el-tree-node__content *{pointer-events:none}.el-tree.is-dragging.is-drop-not-allow .el-tree-node__content{cursor:not-allowed}.el-tree-node__expand-icon{cursor:pointer;color:var(--el-tree-expand-icon-color);transition:transform var(--el-transition-duration) ease-in-out;font-size:12px;transform:rotate(0)}.el-tree-node__expand-icon.expanded{transform:rotate(90deg)}.el-tree-node__expand-icon.is-leaf{color:#0000;cursor:default;visibility:hidden}.el-tree-node__expand-icon.is-hidden{visibility:hidden}.el-tree-node__loading-icon{font-size:var(--el-font-size-base);color:var(--el-tree-expand-icon-color);margin-right:8px}.el-tree-node>.el-tree-node__children{background-color:#0000;overflow:hidden}.el-tree-node.is-expanded>.el-tree-node__children{display:block}.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:var(--el-color-primary-light-9)}.el-tree-select{--el-tree-node-content-height:26px;--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder)}.el-tree-select__popper .el-tree-node__expand-icon{margin-left:8px}.el-tree-select__popper .el-tree-node.is-checked>.el-tree-node__content .el-select-dropdown__item.selected:after{content:none}.el-tree-select__popper .el-select-dropdown__list>.el-select-dropdown__item{padding-left:32px}.el-tree-select__popper .el-select-dropdown__item{flex:1;height:20px;padding-left:0;line-height:20px;background:0 0!important}.el-upload{--el-upload-dragger-padding-horizontal:10px;--el-upload-dragger-padding-vertical:40px;--el-upload-list-picture-card-size:var(--el-upload-picture-card-size);--el-upload-picture-card-size:148px;cursor:pointer;outline:none;justify-content:center;align-items:center;display:inline-flex}.el-upload.is-disabled{cursor:not-allowed}.el-upload.is-disabled:focus{border-color:var(--el-border-color-darker);color:inherit}.el-upload.is-disabled:focus .el-upload-dragger{border-color:var(--el-border-color-darker)}.el-upload.is-disabled .el-upload-dragger{cursor:not-allowed;background-color:var(--el-disabled-bg-color)}.el-upload.is-disabled .el-upload-dragger .el-upload__text{color:var(--el-text-color-placeholder)}.el-upload.is-disabled .el-upload-dragger .el-upload__text em{color:var(--el-disabled-text-color)}.el-upload.is-disabled .el-upload-dragger:hover{border-color:var(--el-border-color-darker)}.el-upload__input{display:none}.el-upload__tip{color:var(--el-text-color-regular);margin-top:7px;font-size:12px}.el-upload iframe{z-index:-1;opacity:0;filter:alpha(opacity=0);position:absolute;top:0;left:0}.el-upload--picture-card{background-color:var(--el-fill-color-lighter);border:1px dashed var(--el-border-color-darker);box-sizing:border-box;width:var(--el-upload-picture-card-size);height:var(--el-upload-picture-card-size);cursor:pointer;vertical-align:top;border-radius:6px;justify-content:center;align-items:center;display:inline-flex}.el-upload--picture-card>i{color:var(--el-text-color-secondary);font-size:28px}.el-upload--picture-card:hover{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload.is-drag{display:block}.el-upload:focus{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload:focus .el-upload-dragger{border-color:var(--el-color-primary)}.el-upload-dragger{padding:var(--el-upload-dragger-padding-vertical) var(--el-upload-dragger-padding-horizontal);background-color:var(--el-fill-color-blank);border:1px dashed var(--el-border-color);box-sizing:border-box;text-align:center;cursor:pointer;border-radius:6px;position:relative;overflow:hidden}.el-upload-dragger .el-icon--upload{color:var(--el-text-color-placeholder);margin-bottom:16px;font-size:67px;line-height:50px}.el-upload-dragger+.el-upload__tip{text-align:center}.el-upload-dragger~.el-upload__files{border-top:var(--el-border);margin-top:7px;padding-top:5px}.el-upload-dragger .el-upload__text{color:var(--el-text-color-regular);text-align:center;font-size:14px}.el-upload-dragger .el-upload__text em{color:var(--el-color-primary);font-style:normal}.el-upload-dragger:hover{border-color:var(--el-color-primary)}.el-upload-dragger.is-dragover{padding:calc(var(--el-upload-dragger-padding-vertical) - 1px) calc(var(--el-upload-dragger-padding-horizontal) - 1px);background-color:var(--el-color-primary-light-9);border:2px dashed var(--el-color-primary)}.el-upload-list{--el-upload-dragger-padding-horizontal:10px;--el-upload-dragger-padding-vertical:40px;--el-upload-list-picture-card-size:var(--el-upload-picture-card-size);--el-upload-picture-card-size:148px;margin:10px 0 0;padding:0;list-style:none;position:relative}.el-upload-list__item{color:var(--el-text-color-regular);box-sizing:border-box;border-radius:4px;width:100%;margin-bottom:5px;font-size:14px;transition:all .5s cubic-bezier(.55,0,.1,1);position:relative}.el-upload-list__item .el-progress{width:100%;position:absolute;top:20px}.el-upload-list__item .el-progress__text{position:absolute;top:-13px;right:0}.el-upload-list__item .el-progress-bar{margin-right:0;padding-right:0}.el-upload-list__item .el-icon--upload-success{color:var(--el-color-success)}.el-upload-list__item .el-icon--close{cursor:pointer;opacity:.75;color:var(--el-text-color-regular);transition:opacity var(--el-transition-duration);display:none;position:absolute;top:50%;right:5px;transform:translateY(-50%)}.el-upload-list__item .el-icon--close:hover{opacity:1;color:var(--el-color-primary)}.el-upload-list__item .el-icon--close-tip{cursor:pointer;opacity:1;color:var(--el-color-primary);font-size:12px;font-style:normal;display:none;position:absolute;top:1px;right:5px}.el-upload-list__item:hover,.el-upload-list__item:focus-within{background-color:var(--el-fill-color-light)}.el-upload-list__item:hover .el-icon--close,.el-upload-list__item:focus-within .el-icon--close{display:inline-flex}.el-upload-list__item:hover .el-icon--close-tip,.el-upload-list__item:focus-within .el-icon--close-tip{right:24px}.el-upload-list__item:hover .el-progress__text,.el-upload-list__item:focus-within .el-progress__text{display:none}.el-upload-list__item .el-upload-list__item-info{flex-direction:column;justify-content:center;width:calc(100% - 30px);margin-left:4px;display:inline-flex}.el-upload-list__item.is-success .el-upload-list__item-status-label{display:inline-flex}.el-upload-list__item.is-success .el-upload-list__item-name:hover,.el-upload-list__item.is-success .el-upload-list__item-name:focus{color:var(--el-color-primary);cursor:pointer}.el-upload-list__item.is-success:focus:not(:hover) .el-icon--close-tip{display:inline-block}.el-upload-list__item.is-success:not(.focusing):focus,.el-upload-list__item.is-success:active{outline-width:0}.el-upload-list__item.is-success:not(.focusing):focus .el-icon--close-tip,.el-upload-list__item.is-success:active .el-icon--close-tip{display:none}.el-upload-list__item.is-success:hover .el-upload-list__item-status-label,.el-upload-list__item.is-success:focus .el-upload-list__item-status-label,.el-upload-list__item.is-success:focus-within .el-upload-list__item-status-label{opacity:0;display:none}.el-upload-list__item-name{color:var(--el-text-color-regular);text-align:center;transition:color var(--el-transition-duration);font-size:var(--el-font-size-base);align-items:center;padding:0 4px;display:inline-flex}.el-upload-list__item-name .el-icon{color:var(--el-text-color-secondary);margin-right:6px}.el-upload-list__item-file-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.el-upload-list__item-status-label{line-height:inherit;height:100%;transition:opacity var(--el-transition-duration);justify-content:center;align-items:center;display:none;position:absolute;top:0;right:5px}.el-upload-list__item-delete{color:var(--el-text-color-regular);font-size:12px;display:none;position:absolute;top:0;right:10px}.el-upload-list__item-delete:hover{color:var(--el-color-primary)}.el-upload-list--picture-card{flex-wrap:wrap;margin:0;display:inline-flex}.el-upload-list--picture-card .el-upload-list__item{background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);box-sizing:border-box;width:var(--el-upload-list-picture-card-size);height:var(--el-upload-list-picture-card-size);border-radius:6px;margin:0 8px 8px 0;padding:0;display:inline-flex;overflow:hidden}.el-upload-list--picture-card .el-upload-list__item .el-icon--check,.el-upload-list--picture-card .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture-card .el-upload-list__item .el-icon--close{display:none}.el-upload-list--picture-card .el-upload-list__item:hover .el-upload-list__item-status-label{opacity:0;display:block}.el-upload-list--picture-card .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture-card .el-upload-list__item .el-upload-list__item-name{display:none}.el-upload-list--picture-card .el-upload-list__item-thumbnail{object-fit:contain;width:100%;height:100%}.el-upload-list--picture-card .el-upload-list__item-status-label{background:var(--el-color-success);text-align:center;width:40px;height:24px;top:-6px;right:-15px;transform:rotate(45deg)}.el-upload-list--picture-card .el-upload-list__item-status-label i{margin-top:11px;font-size:12px;transform:rotate(-45deg)}.el-upload-list--picture-card .el-upload-list__item-actions{cursor:default;color:#fff;opacity:0;background-color:var(--el-overlay-color-lighter);width:100%;height:100%;transition:opacity var(--el-transition-duration);justify-content:center;align-items:center;font-size:20px;display:inline-flex;position:absolute;top:0;left:0}.el-upload-list--picture-card .el-upload-list__item-actions span{cursor:pointer;display:none}.el-upload-list--picture-card .el-upload-list__item-actions span+span{margin-left:16px}.el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete{font-size:inherit;color:inherit;position:static}.el-upload-list--picture-card .el-upload-list__item-actions:hover{opacity:1}.el-upload-list--picture-card .el-upload-list__item-actions:hover span{display:inline-flex}.el-upload-list--picture-card .el-progress{width:126px;top:50%;bottom:auto;left:50%;transform:translate(-50%,-50%)}.el-upload-list--picture-card .el-progress .el-progress__text{top:50%}.el-upload-list--picture .el-upload-list__item{z-index:0;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);box-sizing:border-box;border-radius:6px;align-items:center;margin-top:10px;padding:10px;display:flex;overflow:hidden}.el-upload-list--picture .el-upload-list__item .el-icon--check,.el-upload-list--picture .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture .el-upload-list__item:hover .el-upload-list__item-status-label{opacity:0;display:inline-flex}.el-upload-list--picture .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name i{display:none}.el-upload-list--picture .el-upload-list__item .el-icon--close{top:5px;transform:translateY(0)}.el-upload-list--picture .el-upload-list__item-thumbnail{object-fit:contain;z-index:1;background-color:var(--el-color-white);justify-content:center;align-items:center;width:70px;height:70px;display:inline-flex;position:relative}.el-upload-list--picture .el-upload-list__item-status-label{background:var(--el-color-success);text-align:center;width:46px;height:26px;position:absolute;top:-7px;right:-17px;transform:rotate(45deg)}.el-upload-list--picture .el-upload-list__item-status-label i{margin-top:12px;font-size:12px;transform:rotate(-45deg)}.el-upload-list--picture .el-progress{position:relative;top:-7px}.el-upload-cover{z-index:10;cursor:default;width:100%;height:100%;position:absolute;top:0;left:0;overflow:hidden}.el-upload-cover:after{content:"";vertical-align:middle;height:100%;display:inline-block}.el-upload-cover img{width:100%;height:100%;display:block}.el-upload-cover__label{background:var(--el-color-success);text-align:center;width:40px;height:24px;top:-6px;right:-15px;transform:rotate(45deg)}.el-upload-cover__label i{color:#fff;margin-top:11px;font-size:12px;transform:rotate(-45deg)}.el-upload-cover__progress{vertical-align:middle;width:243px;display:inline-block;position:static}.el-upload-cover__progress+.el-upload__inner{opacity:0}.el-upload-cover__content{width:100%;height:100%;position:absolute;top:0;left:0}.el-upload-cover__interact{background-color:var(--el-overlay-color-light);text-align:center;width:100%;height:100%;position:absolute;bottom:0;left:0}.el-upload-cover__interact .btn{color:#fff;cursor:pointer;vertical-align:middle;transition:var(--el-transition-md-fade);margin-top:60px;font-size:14px;display:inline-block}.el-upload-cover__interact .btn i{margin-top:0}.el-upload-cover__interact .btn span{opacity:0;transition:opacity .15s linear}.el-upload-cover__interact .btn:not(:first-child){margin-left:35px}.el-upload-cover__interact .btn:hover{transform:translateY(-13px)}.el-upload-cover__interact .btn:hover span{opacity:1}.el-upload-cover__interact .btn i{color:#fff;font-size:24px;line-height:inherit;margin:0 auto 5px;display:block}.el-upload-cover__title{text-overflow:ellipsis;white-space:nowrap;text-align:left;width:100%;height:36px;color:var(--el-text-color-primary);background-color:#fff;margin:0;padding:0 10px;font-size:14px;font-weight:400;line-height:36px;position:absolute;bottom:0;left:0;overflow:hidden}.el-upload-cover+.el-upload__inner{opacity:0;z-index:1;position:relative}.el-vl__wrapper{position:relative}.el-vl__wrapper:hover .el-virtual-scrollbar,.el-vl__wrapper.always-on .el-virtual-scrollbar{opacity:1}.el-vl__window{scrollbar-width:none}.el-vl__window::-webkit-scrollbar{display:none}.el-virtual-scrollbar{opacity:0;transition:opacity .34s ease-out}.el-virtual-scrollbar.always-on{opacity:1}.el-vg__wrapper{position:relative}.el-popper{--el-popper-border-radius:var(--el-popover-border-radius,4px);--el-popper-bg-color-light:var(--el-bg-color-overlay);--el-popper-bg-color-dark:var(--el-text-color-primary);border-radius:var(--el-popper-border-radius);z-index:2000;overflow-wrap:break-word;word-break:normal;visibility:visible;min-width:10px;padding:5px 11px;font-size:12px;line-height:20px;position:absolute}.el-popper.is-dark{--el-fill-color-blank:var(--el-popper-bg-color-dark);color:var(--el-bg-color);background:var(--el-popper-bg-color-dark);border:1px solid var(--el-text-color-primary)}.el-popper.is-dark>.el-popper__arrow:before{border:1px solid var(--el-text-color-primary);background:var(--el-popper-bg-color-dark);right:0}.el-popper.is-light{--el-fill-color-blank:var(--el-popper-bg-color-light);background:var(--el-popper-bg-color-light);border:1px solid var(--el-border-color-light)}.el-popper.is-light>.el-popper__arrow:before{border:1px solid var(--el-border-color-light);background:var(--el-popper-bg-color-light);right:0}.el-popper.is-pure{padding:0}.el-popper__arrow{z-index:-1;width:10px;height:10px;position:absolute}.el-popper__arrow:before{z-index:-1;content:" ";background:var(--el-text-color-primary);box-sizing:border-box;width:10px;height:10px;position:absolute;transform:rotate(45deg)}.el-popper[data-popper-placement^=top]>.el-popper__arrow{bottom:-5px}.el-popper[data-popper-placement^=top]>.el-popper__arrow:before{border-bottom-right-radius:2px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow{top:-5px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow:before{border-top-left-radius:2px}.el-popper[data-popper-placement^=left]>.el-popper__arrow{right:-5px}.el-popper[data-popper-placement^=left]>.el-popper__arrow:before{border-top-right-radius:2px}.el-popper[data-popper-placement^=right]>.el-popper__arrow{left:-5px}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-bottom-left-radius:2px}.el-popper[data-popper-placement^=top]>.el-popper__arrow:before{border-top-color:#0000!important;border-left-color:#0000!important}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow:before{border-bottom-color:#0000!important;border-right-color:#0000!important}.el-popper[data-popper-placement^=left]>.el-popper__arrow:before{border-bottom-color:#0000!important;border-left-color:#0000!important}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-top-color:#0000!important;border-right-color:#0000!important}.el-statistic{--el-statistic-title-font-weight:400;--el-statistic-title-font-size:var(--el-font-size-extra-small);--el-statistic-title-color:var(--el-text-color-regular);--el-statistic-content-font-weight:400;--el-statistic-content-font-size:var(--el-font-size-extra-large);--el-statistic-content-color:var(--el-text-color-primary)}.el-statistic__head{font-weight:var(--el-statistic-title-font-weight);font-size:var(--el-statistic-title-font-size);color:var(--el-statistic-title-color);margin-bottom:4px;line-height:20px}.el-statistic__content{font-weight:var(--el-statistic-content-font-weight);font-size:var(--el-statistic-content-font-size);color:var(--el-statistic-content-color)}.el-statistic__value{display:inline-block}.el-statistic__prefix{margin-right:4px;display:inline-block}.el-statistic__suffix{margin-left:4px;display:inline-block}.el-tour{--el-tour-width:520px;--el-tour-padding-primary:12px;--el-tour-font-line-height:var(--el-font-line-height-primary);--el-tour-title-font-size:16px;--el-tour-title-text-color:var(--el-text-color-primary);--el-tour-title-font-weight:400;--el-tour-close-color:var(--el-color-info);--el-tour-font-size:14px;--el-tour-color:var(--el-text-color-primary);--el-tour-bg-color:var(--el-bg-color);--el-tour-border-radius:4px}.el-tour__hollow{transition:all var(--el-transition-duration) ease}.el-tour__content{border-radius:var(--el-tour-border-radius);width:var(--el-tour-width);padding:var(--el-tour-padding-primary);background:var(--el-tour-bg-color);box-shadow:var(--el-box-shadow-light);box-sizing:border-box;overflow-wrap:break-word;outline:none}.el-tour__arrow{background:var(--el-tour-bg-color);pointer-events:none;box-sizing:border-box;width:10px;height:10px;position:absolute;transform:rotate(45deg)}.el-tour__content[data-side^=top] .el-tour__arrow{border-top-color:#0000;border-left-color:#0000}.el-tour__content[data-side^=bottom] .el-tour__arrow{border-bottom-color:#0000;border-right-color:#0000}.el-tour__content[data-side^=left] .el-tour__arrow{border-bottom-color:#0000;border-left-color:#0000}.el-tour__content[data-side^=right] .el-tour__arrow{border-top-color:#0000;border-right-color:#0000}.el-tour__content[data-side^=top] .el-tour__arrow{bottom:-5px}.el-tour__content[data-side^=bottom] .el-tour__arrow{top:-5px}.el-tour__content[data-side^=left] .el-tour__arrow{right:-5px}.el-tour__content[data-side^=right] .el-tour__arrow{left:-5px}.el-tour__closebtn{cursor:pointer;width:40px;height:40px;font-size:var(--el-message-close-size,16px);background:0 0;border:none;outline:none;padding:0;position:absolute;top:0;right:0}.el-tour__closebtn .el-tour__close{color:var(--el-tour-close-color);font-size:inherit}.el-tour__closebtn:focus .el-tour__close,.el-tour__closebtn:hover .el-tour__close{color:var(--el-color-primary)}.el-tour__header{padding-bottom:var(--el-tour-padding-primary)}.el-tour__header.show-close{padding-right:calc(var(--el-tour-padding-primary) + var(--el-message-close-size,16px))}.el-tour__title{line-height:var(--el-tour-font-line-height);font-size:var(--el-tour-title-font-size);color:var(--el-tour-title-text-color);font-weight:var(--el-tour-title-font-weight)}.el-tour__body{color:var(--el-tour-text-color);font-size:var(--el-tour-font-size)}.el-tour__body img,.el-tour__body video{max-width:100%}.el-tour__footer{padding-top:var(--el-tour-padding-primary);box-sizing:border-box;justify-content:space-between;display:flex}.el-tour__content .el-tour-indicators{flex:1;display:inline-block}.el-tour__content .el-tour-indicator{background:var(--el-color-info-light-9);border-radius:50%;width:6px;height:6px;margin-right:6px;display:inline-block}.el-tour__content .el-tour-indicator.is-active{background:var(--el-color-primary)}.el-tour.el-tour--primary{--el-tour-title-text-color:#fff;--el-tour-text-color:#fff;--el-tour-bg-color:var(--el-color-primary);--el-tour-close-color:#fff}.el-tour.el-tour--primary .el-tour__closebtn:focus .el-tour__close,.el-tour.el-tour--primary .el-tour__closebtn:hover .el-tour__close{color:var(--el-tour-title-text-color)}.el-tour.el-tour--primary .el-button--default{color:var(--el-color-primary);border-color:var(--el-color-primary);background:#fff}.el-tour.el-tour--primary .el-button--primary{border-color:#fff}.el-tour.el-tour--primary .el-tour-indicator{background:#ffffff26}.el-tour.el-tour--primary .el-tour-indicator.is-active{background:#fff}.el-tour-parent--hidden{overflow:hidden}.el-anchor{--el-anchor-bg-color:var(--el-bg-color);--el-anchor-padding-indent:14px;--el-anchor-line-height:22px;--el-anchor-font-size:12px;--el-anchor-color:var(--el-text-color-secondary);--el-anchor-active-color:var(--el-color-primary);--el-anchor-hover-color:var(--el-text-color-regular);--el-anchor-marker-bg-color:var(--el-color-primary);background-color:var(--el-anchor-bg-color);position:relative}.el-anchor__marker{background-color:var(--el-anchor-marker-bg-color);opacity:0;z-index:0;border-radius:4px;position:absolute}.el-anchor.el-anchor--vertical .el-anchor__marker{width:4px;height:14px;transition:top .25s ease-in-out,opacity .25s;top:8px;left:0}.el-anchor.el-anchor--vertical .el-anchor__list{padding-left:var(--el-anchor-padding-indent)}.el-anchor.el-anchor--vertical.el-anchor--underline:before{content:"";background-color:#0505050f;width:2px;height:100%;position:absolute;left:0}.el-anchor.el-anchor--vertical.el-anchor--underline .el-anchor__marker{border-radius:unset;width:2px}.el-anchor.el-anchor--horizontal .el-anchor__marker{width:20px;height:2px;transition:left .25s ease-in-out,opacity .25s,width .25s;bottom:0}.el-anchor.el-anchor--horizontal .el-anchor__list{padding-bottom:4px;display:flex}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item{padding-left:16px}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item:first-child{padding-left:0}.el-anchor.el-anchor--horizontal.el-anchor--underline:before{content:"";background-color:#0505050f;width:100%;height:2px;position:absolute;bottom:0}.el-anchor.el-anchor--horizontal.el-anchor--underline .el-anchor__marker{border-radius:unset;height:2px}.el-anchor__item{flex-direction:column;display:flex}.el-anchor__link{font-size:var(--el-anchor-font-size);line-height:var(--el-anchor-line-height);color:var(--el-anchor-color);transition:color var(--el-transition-duration);white-space:nowrap;text-overflow:ellipsis;cursor:pointer;outline:none;max-width:100%;padding:4px 0;text-decoration:none;overflow:hidden}.el-anchor__link:hover,.el-anchor__link:focus{color:var(--el-hover-color)}.el-anchor__link:focus-visible{border-radius:var(--el-border-radius-base);outline:2px solid var(--el-color-primary)}.el-anchor__link.is-active{color:var(--el-anchor-active-color)}.el-anchor .el-anchor__list .el-anchor__item a{display:inline-block}.el-segmented--vertical{flex-direction:column}.el-segmented--vertical .el-segmented__item{padding:11px}.el-segmented{--el-segmented-color:var(--el-text-color-regular);--el-segmented-bg-color:var(--el-fill-color-light);--el-segmented-padding:2px;--el-segmented-item-selected-color:var(--el-color-white);--el-segmented-item-selected-bg-color:var(--el-color-primary);--el-segmented-item-selected-disabled-bg-color:var(--el-color-primary-light-5);--el-segmented-item-hover-color:var(--el-text-color-primary);--el-segmented-item-hover-bg-color:var(--el-fill-color-dark);--el-segmented-item-active-bg-color:var(--el-fill-color-darker);--el-segmented-item-disabled-color:var(--el-text-color-placeholder);background:var(--el-segmented-bg-color);min-height:32px;padding:var(--el-segmented-padding);border-radius:var(--el-border-radius-base);color:var(--el-segmented-color);box-sizing:border-box;align-items:stretch;font-size:14px;display:inline-flex}.el-segmented__group{align-items:stretch;width:100%;display:flex;position:relative}.el-segmented__item-selected{background:var(--el-segmented-item-selected-bg-color);border-radius:calc(var(--el-border-radius-base) - 2px);pointer-events:none;width:10px;height:100%;transition:all .3s;position:absolute;top:0;left:0}.el-segmented__item-selected.is-disabled{background:var(--el-segmented-item-selected-disabled-bg-color)}.el-segmented__item-selected.is-focus-visible:before{content:"";border-radius:inherit;outline:2px solid var(--el-segmented-item-selected-bg-color);outline-offset:1px;position:absolute;top:0;bottom:0;left:0;right:0}.el-segmented__item{cursor:pointer;border-radius:calc(var(--el-border-radius-base) - 2px);flex:1;align-items:center;padding:0 11px;display:flex}.el-segmented__item:not(.is-disabled):not(.is-selected):hover{color:var(--el-segmented-item-hover-color);background:var(--el-segmented-item-hover-bg-color)}.el-segmented__item:not(.is-disabled):not(.is-selected):active{background:var(--el-segmented-item-active-bg-color)}.el-segmented__item.is-selected,.el-segmented__item.is-selected.is-disabled{color:var(--el-segmented-item-selected-color)}.el-segmented__item.is-disabled{cursor:not-allowed;color:var(--el-segmented-item-disabled-color)}.el-segmented__item-input{opacity:0;pointer-events:none;width:0;height:0;margin:0;position:absolute}.el-segmented__item-label{text-align:center;text-overflow:ellipsis;white-space:nowrap;z-index:1;flex:1;line-height:normal;transition:color .3s;overflow:hidden}.el-segmented.is-block{display:flex}.el-segmented.is-block .el-segmented__item{min-width:0}.el-segmented--large{border-radius:var(--el-border-radius-base);min-height:40px;font-size:16px}.el-segmented--large .el-segmented__item-selected{border-radius:calc(var(--el-border-radius-base) - 2px)}.el-segmented--large .el-segmented--vertical .el-segmented__item{padding:11px}.el-segmented--large .el-segmented__item{border-radius:calc(var(--el-border-radius-base) - 2px);padding:0 11px}.el-segmented--small{border-radius:calc(var(--el-border-radius-base) - 1px);min-height:24px;font-size:14px}.el-segmented--small .el-segmented__item-selected{border-radius:calc(calc(var(--el-border-radius-base) - 1px) - 2px)}.el-segmented--small .el-segmented--vertical .el-segmented__item{padding:7px}.el-segmented--small .el-segmented__item{border-radius:calc(calc(var(--el-border-radius-base) - 1px) - 2px);padding:0 7px}.el-mention{width:100%;position:relative}.el-mention__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-mention__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-mention__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:#0000;border-left-color:#0000}.el-mention__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:#0000;border-right-color:#0000}.el-mention__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:#0000;border-left-color:#0000}.el-mention__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-top-color:#0000;border-right-color:#0000}.el-mention-dropdown{--el-mention-font-size:var(--el-font-size-base);--el-mention-bg-color:var(--el-bg-color-overlay);--el-mention-shadow:var(--el-box-shadow-light);--el-mention-border:1px solid var(--el-border-color-light);--el-mention-option-color:var(--el-text-color-regular);--el-mention-option-height:34px;--el-mention-option-min-width:100px;--el-mention-option-hover-background:var(--el-fill-color-light);--el-mention-option-selected-color:var(--el-color-primary);--el-mention-option-disabled-color:var(--el-text-color-placeholder);--el-mention-option-loading-color:var(--el-text-color-secondary);--el-mention-option-loading-padding:10px 0;--el-mention-max-height:174px;--el-mention-padding:6px 0;--el-mention-header-padding:10px;--el-mention-footer-padding:10px}.el-mention-dropdown__item{font-size:var(--el-mention-font-size);white-space:nowrap;text-overflow:ellipsis;color:var(--el-mention-option-color);height:var(--el-mention-option-height);line-height:var(--el-mention-option-height);box-sizing:border-box;min-width:var(--el-mention-option-min-width);cursor:pointer;padding:0 20px;position:relative;overflow:hidden}.el-mention-dropdown__item.is-hovering{background-color:var(--el-mention-option-hover-background)}.el-mention-dropdown__item.is-selected{color:var(--el-mention-option-selected-color);font-weight:700}.el-mention-dropdown__item.is-disabled{color:var(--el-mention-option-disabled-color);cursor:not-allowed;background-color:unset}.el-mention-dropdown{z-index:calc(var(--el-index-top) + 1);border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-mention-dropdown__loading{text-align:center;color:var(--el-mention-option-loading-color);min-width:var(--el-mention-option-min-width);margin:0;padding:10px 0;font-size:12px}.el-mention-dropdown__wrap{max-height:var(--el-mention-max-height)}.el-mention-dropdown__list{padding:var(--el-mention-padding);box-sizing:border-box;margin:0;list-style:none}.el-mention-dropdown__header{padding:var(--el-mention-header-padding);border-bottom:var(--el-mention-border)}.el-mention-dropdown__footer{padding:var(--el-mention-footer-padding);border-top:var(--el-mention-border)}.el-splitter{width:100%;height:100%;margin:0;padding:0;display:flex;position:relative}.el-splitter__mask{z-index:999;position:absolute;top:0;bottom:0;left:0;right:0}.el-splitter__mask-horizontal{cursor:ew-resize}.el-splitter__mask-vertical{cursor:ns-resize}.el-splitter__horizontal{flex-direction:row}.el-splitter__vertical{flex-direction:column}.el-splitter-bar{-webkit-user-select:none;user-select:none;flex:none;position:relative}.el-splitter-bar__dragger{z-index:1;background:0 0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.el-splitter-bar__dragger:before,.el-splitter-bar__dragger:after{content:"";background-color:var(--el-border-color-light);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.el-splitter-bar__dragger:not(.is-lazy):after{display:none}.el-splitter-bar__dragger:after{opacity:.4}.el-splitter-bar__dragger:hover:not(.is-disabled):before{background-color:var(--el-color-primary-light-5)}.el-splitter-bar__dragger-horizontal:before,.el-splitter-bar__dragger-horizontal:after{width:2px;height:100%}.el-splitter-bar__dragger-vertical:before,.el-splitter-bar__dragger-vertical:after{width:100%;height:2px}.el-splitter-bar__dragger-active:before,.el-splitter-bar__dragger-active:after{background-color:var(--el-color-primary-light-3)}.el-splitter-bar__dragger-active.el-splitter-bar__dragger-horizontal:after{transform:translate(calc(-50% + var(--el-splitter-bar-offset)),-50%)}.el-splitter-bar__dragger-active.el-splitter-bar__dragger-vertical:after{transform:translate(-50%,calc(-50% + var(--el-splitter-bar-offset)))}.el-splitter-bar:hover .el-splitter-bar__collapse-icon{opacity:1}.el-splitter-bar__collapse-icon{background:var(--el-border-color-light);cursor:pointer;opacity:0;z-index:9;border-radius:2px;justify-content:center;align-items:center;display:flex;position:absolute}.el-splitter-bar__collapse-icon:hover{opacity:1;background-color:var(--el-color-primary-light-5)}.el-splitter-bar__horizontal-collapse-icon-start{width:16px;height:24px;top:50%;left:-12px;transform:translate(-50%,-50%)}.el-splitter-bar__horizontal-collapse-icon-end{width:16px;height:24px;top:50%;left:12px;transform:translate(-50%,-50%)}.el-splitter-bar__vertical-collapse-icon-start{width:24px;height:16px;top:-12px;right:50%;transform:translate(50%,-50%)}.el-splitter-bar__vertical-collapse-icon-end{width:24px;height:16px;top:12px;right:50%;transform:translate(50%,-50%)}.el-splitter-panel{scrollbar-width:thin;box-sizing:border-box;flex-grow:0;overflow:auto} diff --git a/backend/public/admin/system_static/element-plus-C_ZDq0cz.js b/backend/public/admin/system_static/element-plus-C_ZDq0cz.js new file mode 100644 index 000000000..5bf0c8374 --- /dev/null +++ b/backend/public/admin/system_static/element-plus-C_ZDq0cz.js @@ -0,0 +1,100 @@ +/** +* @vue/shared v3.5.42 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function ol(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const nn={},Jr=[],ut=()=>{},Ur=()=>!1,Sr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Yf=e=>e.startsWith("onUpdate:"),Qt=Object.assign,P2=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},MS=Object.prototype.hasOwnProperty,zt=(e,t)=>MS.call(e,t),ve=Array.isArray,ys=e=>Ri(e)==="[object Map]",ro=e=>Ri(e)==="[object Set]",Ss=e=>Ri(e)==="[object Date]",OS=e=>Ri(e)==="[object RegExp]",Ke=e=>typeof e=="function",Ne=e=>typeof e=="string",_a=e=>typeof e=="symbol",rt=e=>e!==null&&typeof e=="object",Ho=e=>(rt(e)||Ke(e))&&Ke(e.then)&&Ke(e.catch),$6=Object.prototype.toString,Ri=e=>$6.call(e),$S=e=>Ri(e).slice(8,-1),or=e=>Ri(e)==="[object Object]",Gf=e=>Ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Po=ol(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),NS=ol("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Xf=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},AS=/-\w/g,cn=Xf(e=>e.replace(AS,t=>t.slice(1).toUpperCase())),IS=/\B([A-Z])/g,Ma=Xf(e=>e.replace(IS,"-$1").toLowerCase()),qo=Xf(e=>e.charAt(0).toUpperCase()+e.slice(1)),no=Xf(e=>e?`on${qo(e)}`:""),ta=(e,t)=>!Object.is(e,t),Zr=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:a,value:n})},Jf=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Gd=e=>{const t=Ne(e)?Number(e):NaN;return isNaN(t)?e:t};let Nm;const Zf=()=>Nm||(Nm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function PS(e,t){return e+JSON.stringify(t,(n,a)=>typeof a=="function"?a.toString():a)}const RS="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",VS=ol(RS);function Ye(e){if(ve(e)){const t={};for(let n=0;n{if(n){const a=n.split(BS);a.length>1&&(t[a[0].trim()]=a[1].trim())}}),t}function P(e){let t="";if(Ne(e))t=e;else if(ve(e))for(let n=0;nml(n,t))}const P6=e=>!!(e&&e.__v_isRef===!0),Se=e=>Ne(e)?e:e==null?"":ve(e)||rt(e)&&(e.toString===$6||!Ke(e.toString))?P6(e)?Se(e.value):JSON.stringify(e,R6,2):String(e),R6=(e,t)=>P6(t)?R6(e,t.value):ys(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[a,l],o)=>(n[lp(a,o)+" =>"]=l,n),{})}:ro(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>lp(n))}:_a(t)?lp(t):rt(t)&&!ve(t)&&!or(t)?String(t):t,lp=(e,t="")=>{var n;return _a(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function JS(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}/** +* @vue/reactivity v3.5.42 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Jn;class e0{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&Jn&&(Jn.active?(this.parent=Jn,this.index=(Jn.scopes||(Jn.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const a=this.scopes.slice();for(t=0,n=a.length;t0&&--this._on===0){if(Jn===this)Jn=this.prevScope;else{let t=Jn;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,a;for(n=0,a=this.effects.length;n0)return;if(Cu){let t=Cu;for(Cu=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;wu;){let t=wu;for(wu=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(a){e||(e=a)}t=n}}if(e)throw e}function B6(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function z6(e){let t,n=e.depsTail,a=n;for(;a;){const l=a.prevDep;a.version===-1?(a===n&&(n=l),B2(a),ZS(a)):t=a,a.dep.activeLink=a.prevActiveLink,a.prevActiveLink=void 0,a=l}e.deps=t,e.depsTail=n}function eh(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(D6(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function D6(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Au)||(e.globalVersion=Au,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!eh(e))))return;e.flags|=2;const t=e.dep,n=En,a=Tl;En=e,Tl=!0;try{B6(e);const l=e.fn(e._value);(t.version===0||ta(l,e._value))&&(e.flags|=128,e._value=l,t.version++)}catch(l){throw t.version++,l}finally{En=n,Tl=a,z6(e),e.flags&=-3}}function B2(e,t=!1){const{dep:n,prevSub:a,nextSub:l}=e;if(a&&(a.nextSub=l,e.prevSub=void 0),l&&(l.prevSub=a,e.nextSub=void 0),n.subs===e&&(n.subs=a,!a&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)B2(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ZS(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function H6(e,t){e.effect instanceof ci&&(e=e.effect.fn);const n=new ci(e);t&&Qt(n,t);try{n.run()}catch(l){throw n.stop(),l}const a=n.run.bind(n);return a.effect=n,a}function F6(e){e.effect.stop()}let Tl=!0;const K6=[];function Fo(){K6.push(Tl),Tl=!1}function Ko(){const e=K6.pop();Tl=e===void 0?!0:e}function Im(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=En;En=void 0;try{t()}finally{En=n}}}let Au=0;class QS{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class n0{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!En||!Tl||En===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==En)n=this.activeLink=new QS(En,this),En.deps?(n.prevDep=En.depsTail,En.depsTail.nextDep=n,En.depsTail=n):En.deps=En.depsTail=n,W6(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const a=n.nextDep;a.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=a),n.prevDep=En.depsTail,n.nextDep=void 0,En.depsTail.nextDep=n,En.depsTail=n,En.deps===n&&(En.deps=a)}return n}trigger(t){this.version++,Au++,this.notify(t)}notify(t){V2();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{L2()}}}function W6(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let a=t.deps;a;a=a.nextDep)W6(a)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Xd=new WeakMap,Xs=Symbol(""),th=Symbol(""),Iu=Symbol("");function ya(e,t,n){if(Tl&&En){let a=Xd.get(e);a||Xd.set(e,a=new Map);let l=a.get(n);l||(a.set(n,l=new n0),l.map=a,l.key=n),l.track()}}function $o(e,t,n,a,l,o){const s=Xd.get(e);if(!s){Au++;return}const r=u=>{u&&u.trigger()};if(V2(),t==="clear")s.forEach(r);else{const u=ve(e),c=u&&Gf(n);if(u&&n==="length"){const d=Number(a);s.forEach((f,h)=>{(h==="length"||h===Iu||!_a(h)&&h>=d)&&r(f)})}else switch((n!==void 0||s.has(void 0))&&r(s.get(n)),c&&r(s.get(Iu)),t){case"add":u?c&&r(s.get("length")):(r(s.get(Xs)),ys(e)&&r(s.get(th)));break;case"delete":u||(r(s.get(Xs)),ys(e)&&r(s.get(th)));break;case"set":ys(e)&&r(s.get(Xs));break}}L2()}function ex(e,t){const n=Xd.get(e);return n&&n.get(t)}function Pr(e){const t=Zt(e);return t===e?t:(ya(t,"iterate",Iu),Na(e)?t:t.map(Rl))}function a0(e){return ya(e=Zt(e),"iterate",Iu),e}function Ql(e,t){return Pl(e)?di(ao(e)?Rl(t):t):Rl(t)}const tx={__proto__:null,[Symbol.iterator](){return sp(this,Symbol.iterator,e=>Ql(this,e))},concat(...e){return Pr(this).concat(...e.map(t=>ve(t)?Pr(t):t))},entries(){return sp(this,"entries",e=>(e[1]=Ql(this,e[1]),e))},every(e,t){return So(this,"every",e,t,void 0,arguments)},filter(e,t){return So(this,"filter",e,t,n=>n.map(a=>Ql(this,a)),arguments)},find(e,t){return So(this,"find",e,t,n=>Ql(this,n),arguments)},findIndex(e,t){return So(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return So(this,"findLast",e,t,n=>Ql(this,n),arguments)},findLastIndex(e,t){return So(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return So(this,"forEach",e,t,void 0,arguments)},includes(...e){return rp(this,"includes",e)},indexOf(...e){return rp(this,"indexOf",e)},join(e){return Pr(this).join(e)},lastIndexOf(...e){return rp(this,"lastIndexOf",e)},map(e,t){return So(this,"map",e,t,void 0,arguments)},pop(){return Qi(this,"pop")},push(...e){return Qi(this,"push",e)},reduce(e,...t){return Pm(this,"reduce",e,t)},reduceRight(e,...t){return Pm(this,"reduceRight",e,t)},shift(){return Qi(this,"shift")},some(e,t){return So(this,"some",e,t,void 0,arguments)},splice(...e){return Qi(this,"splice",e)},toReversed(){return Pr(this).toReversed()},toSorted(e){return Pr(this).toSorted(e)},toSpliced(...e){return Pr(this).toSpliced(...e)},unshift(...e){return Qi(this,"unshift",e)},values(){return sp(this,"values",e=>Ql(this,e))}};function sp(e,t,n){const a=a0(e),l=a[t]();return a!==e&&!Na(e)&&(l._next=l.next,l.next=()=>{const o=l._next();return o.done||(o.value=n(o.value)),o}),l}const nx=Array.prototype;function So(e,t,n,a,l,o){const s=a0(e),r=s!==e&&!Na(e),u=s[t];if(u!==nx[t]){const f=u.apply(e,o);return r?Rl(f):f}let c=n;s!==e&&(r?c=function(f,h){return n.call(this,Ql(e,f),h,e)}:n.length>2&&(c=function(f,h){return n.call(this,f,h,e)}));const d=u.call(s,c,a);return r&&l?l(d):d}function Pm(e,t,n,a){const l=a0(e),o=l!==e&&!Na(e);let s=n,r=!1;l!==e&&(o?(r=a.length===0,s=function(c,d,f){return r&&(r=!1,c=Ql(e,c)),n.call(this,c,Ql(e,d),f,e)}):n.length>3&&(s=function(c,d,f){return n.call(this,c,d,f,e)}));const u=l[t](s,...a);return r?Ql(e,u):u}function rp(e,t,n){const a=Zt(e);ya(a,"iterate",Iu);const l=a[t](...n);return(l===-1||l===!1)&&Li(n[0])?(n[0]=Zt(n[0]),a[t](...n)):l}function Qi(e,t,n=[]){Fo(),V2();const a=Zt(e)[t].apply(e,n);return L2(),Ko(),a}const ax=ol("__proto__,__v_isRef,__isVue"),j6=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(_a));function lx(e){_a(e)||(e=String(e));const t=Zt(this);return ya(t,"has",e),t.hasOwnProperty(e)}class q6{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,a){if(n==="__v_skip")return t.__v_skip;const l=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!l;if(n==="__v_isReadonly")return l;if(n==="__v_isShallow")return o;if(n==="__v_raw")return a===(l?o?Z6:J6:o?X6:G6).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(a)?t:void 0;const s=ve(t);if(!l){let u;if(s&&(u=tx[n]))return u;if(n==="hasOwnProperty")return lx}const r=Reflect.get(t,n,en(t)?t:a);if((_a(n)?j6.has(n):ax(n))||(l||ya(t,"get",n),o))return r;if(en(r)){const u=s&&Gf(n)?r:r.value;return l&&rt(u)?xs(u):u}return rt(r)?l?xs(r):Dt(r):r}}class U6 extends q6{constructor(t=!1){super(!1,t)}set(t,n,a,l){let o=t[n];const s=ve(t)&&Gf(n);if(!this._isShallow){const c=Pl(o);if(!Na(a)&&!Pl(a)&&(o=Zt(o),a=Zt(a)),!s&&en(o)&&!en(a))return c||(o.value=a),!0}const r=s?Number(n)e,Yc=e=>Reflect.getPrototypeOf(e);function ux(e,t,n){return function(...a){const l=this.__v_raw,o=Zt(l),s=ys(o),r=e==="entries"||e===Symbol.iterator&&s,u=e==="keys"&&s,c=l[e](...a),d=n?nh:t?di:Rl;return!t&&ya(o,"iterate",u?th:Xs),Qt(Object.create(c),{next(){const{value:f,done:h}=c.next();return h?{value:f,done:h}:{value:r?[d(f[0]),d(f[1])]:d(f),done:h}}})}}function Gc(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function cx(e,t){const n={get(l){const o=this.__v_raw,s=Zt(o),r=Zt(l);e||(ta(l,r)&&ya(s,"get",l),ya(s,"get",r));const{has:u}=Yc(s),c=t?nh:e?di:Rl;if(u.call(s,l))return c(o.get(l));if(u.call(s,r))return c(o.get(r));o!==s&&o.get(l)},get size(){const l=this.__v_raw;return!e&&ya(Zt(l),"iterate",Xs),l.size},has(l){const o=this.__v_raw,s=Zt(o),r=Zt(l);return e||(ta(l,r)&&ya(s,"has",l),ya(s,"has",r)),l===r?o.has(l):o.has(l)||o.has(r)},forEach(l,o){const s=this,r=s.__v_raw,u=Zt(r),c=t?nh:e?di:Rl;return!e&&ya(u,"iterate",Xs),r.forEach((d,f)=>l.call(o,c(d),c(f),s))}};return Qt(n,e?{add:Gc("add"),set:Gc("set"),delete:Gc("delete"),clear:Gc("clear")}:{add(l){const o=Zt(this),s=Yc(o),r=Zt(l),u=!t&&!Na(l)&&!Pl(l)?r:l;return s.has.call(o,u)||ta(l,u)&&s.has.call(o,l)||ta(r,u)&&s.has.call(o,r)||(o.add(u),$o(o,"add",u,u)),this},set(l,o){!t&&!Na(o)&&!Pl(o)&&(o=Zt(o));const s=Zt(this),{has:r,get:u}=Yc(s);let c=r.call(s,l);c||(l=Zt(l),c=r.call(s,l));const d=u.call(s,l);return s.set(l,o),c?ta(o,d)&&$o(s,"set",l,o):$o(s,"add",l,o),this},delete(l){const o=Zt(this),{has:s,get:r}=Yc(o);let u=s.call(o,l);u||(l=Zt(l),u=s.call(o,l)),r&&r.call(o,l);const c=o.delete(l);return u&&$o(o,"delete",l,void 0),c},clear(){const l=Zt(this),o=l.size!==0,s=l.clear();return o&&$o(l,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(l=>{n[l]=ux(l,e,t)}),n}function l0(e,t){const n=cx(e,t);return(a,l,o)=>l==="__v_isReactive"?!e:l==="__v_isReadonly"?e:l==="__v_raw"?a:Reflect.get(zt(n,l)&&l in a?n:a,l,o)}const dx={get:l0(!1,!1)},fx={get:l0(!1,!0)},px={get:l0(!0,!1)},hx={get:l0(!0,!0)},G6=new WeakMap,X6=new WeakMap,J6=new WeakMap,Z6=new WeakMap;function vx(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Dt(e){return Pl(e)?e:o0(e,!1,ox,dx,G6)}function hc(e){return o0(e,!1,rx,fx,X6)}function xs(e){return o0(e,!0,sx,px,J6)}function Vi(e){return o0(e,!0,ix,hx,Z6)}function o0(e,t,n,a,l){if(!rt(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const o=l.get(e);if(o)return o;const s=vx($S(e));if(s===0)return e;const r=new Proxy(e,s===2?a:n);return l.set(e,r),r}function ao(e){return Pl(e)?ao(e.__v_raw):!!(e&&e.__v_isReactive)}function Pl(e){return!!(e&&e.__v_isReadonly)}function Na(e){return!!(e&&e.__v_isShallow)}function Li(e){return e?!!e.__v_raw:!1}function Zt(e){const t=e&&e.__v_raw;return t?Zt(t):e}function pl(e){return!zt(e,"__v_skip")&&Object.isExtensible(e)&&N6(e,"__v_skip",!0),e}const Rl=e=>rt(e)?Dt(e):e,di=e=>rt(e)?xs(e):e;function en(e){return e?e.__v_isRef===!0:!1}function B(e){return Q6(e,!1)}function kt(e){return Q6(e,!0)}function Q6(e,t){return en(e)?e:new mx(e,t)}class mx{constructor(t,n){this.dep=new n0,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Zt(t),this._value=n?t:Rl(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,a=this.__v_isShallow||Na(t)||Pl(t);t=a?t:Zt(t),ta(t,n)&&(this._rawValue=t,this._value=a?t:Rl(t),this.dep.trigger())}}function Qr(e){e.dep&&e.dep.trigger()}function i(e){return en(e)?e.value:e}function Sn(e){return Ke(e)?e():i(e)}const gx={get:(e,t,n)=>t==="__v_raw"?e:i(Reflect.get(e,t,n)),set:(e,t,n,a)=>{const l=e[t];return en(l)&&!en(n)?(l.value=n,!0):Reflect.set(e,t,n,a)}};function s0(e){return ao(e)?e:new Proxy(e,gx)}class yx{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new n0,{get:a,set:l}=t(n.track.bind(n),n.trigger.bind(n));this._get=a,this._set=l}get value(){return this._value=this._get()}set value(t){this._set(t)}}function z2(e){return new yx(e)}function Bn(e){const t=ve(e)?new Array(e.length):{};for(const n in e)t[n]=ey(e,n);return t}class bx{constructor(t,n,a){this._object=t,this._defaultValue=a,this.__v_isRef=!0,this._value=void 0,this._key=_a(n)?n:String(n),this._raw=Zt(t);let l=!0,o=t;if(!ve(t)||_a(this._key)||!Gf(this._key))do l=!Li(o)||Na(o);while(l&&(o=o.__v_raw));this._shallow=l}get value(){let t=this._object[this._key];return this._shallow&&(t=i(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&en(this._raw[this._key])){const n=this._object[this._key];if(en(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return ex(this._raw,this._key)}}class wx{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function At(e,t,n){return en(e)?e:Ke(e)?new wx(e):rt(e)&&arguments.length>1?ey(e,t,n):B(e)}function ey(e,t,n){return new bx(e,t,n)}class Cx{constructor(t,n,a){this.fn=t,this.setter=n,this._value=void 0,this.dep=new n0(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Au-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=a}notify(){if(this.flags|=16,!(this.flags&8)&&En!==this)return L6(this,!0),!0}get value(){const t=this.dep.track();return D6(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function _x(e,t,n=!1){let a,l;return Ke(e)?a=e:(a=e.get,l=e.set),new Cx(a,l,n)}const ty={GET:"get",HAS:"has",ITERATE:"iterate"},ny={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},Xc={},Jd=new WeakMap;let ds;function ay(){return ds}function D2(e,t=!1,n=ds){if(n){let a=Jd.get(n);a||Jd.set(n,a=[]),a.push(e)}}function Sx(e,t,n=nn){const{immediate:a,deep:l,once:o,scheduler:s,augmentJob:r,call:u}=n,c=w=>l?w:Na(w)||l===!1||l===0?No(w,1):No(w);let d,f,h,m,v=!1,p=!1;if(en(e)?(f=()=>e.value,v=Na(e)):ao(e)?(f=()=>c(e),v=!0):ve(e)?(p=!0,v=e.some(w=>ao(w)||Na(w)),f=()=>e.map(w=>{if(en(w))return w.value;if(ao(w))return c(w);if(Ke(w))return u?u(w,2):w()})):Ke(e)?t?f=u?()=>u(e,2):e:f=()=>{if(h){Fo();try{h()}finally{Ko()}}const w=ds;ds=d;try{return u?u(e,3,[m]):e(m)}finally{ds=w}}:f=ut,t&&l){const w=f,_=l===!0?1/0:l;f=()=>No(w(),_)}const g=pc(),y=()=>{d.stop(),g&&g.active&&P2(g.effects,d)};if(o&&t){const w=t;t=(..._)=>{const k=w(..._);return y(),k}}let b=p?new Array(e.length).fill(Xc):Xc;const C=w=>{if(!(!(d.flags&1)||!d.dirty&&!w))if(t){const _=d.run();if(w||l||v||(p?_.some((k,M)=>ta(k,b[M])):ta(_,b))){h&&h();const k=ds;ds=d;try{const M=[_,b===Xc?void 0:p&&b[0]===Xc?[]:b,m];b=_,u?u(t,3,M):t(...M)}finally{ds=k}}}else d.run()};return r&&r(C),d=new ci(f),d.scheduler=s?()=>s(C,!1):C,m=w=>D2(w,!1,d),h=d.onStop=()=>{const w=Jd.get(d);if(w){if(u)u(w,4);else for(const _ of w)_();Jd.delete(d)}},t?a?C(!0):b=d.run():s?s(C.bind(null,!0),!0):d.run(),y.pause=d.pause.bind(d),y.resume=d.resume.bind(d),y.stop=y,y}function No(e,t=1/0,n){if(t<=0||!rt(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,en(e))No(e.value,t,n);else if(ve(e))for(let a=0;a{No(a,t,n)});else if(or(e)){for(const a in e)No(e[a],t,n);for(const a of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,a)&&No(e[a],t,n)}return e}/** +* @vue/runtime-core v3.5.42 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const ly=[];function xx(e){ly.push(e)}function kx(){ly.pop()}function oy(e,t){}const sy={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},Ex={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function xr(e,t,n,a){try{return a?e(...a):e()}catch(l){$s(l,t,n)}}function Wa(e,t,n,a){if(Ke(e)){const l=xr(e,t,n,a);return l&&Ho(l)&&l.catch(o=>{$s(o,t,n)}),l}if(ve(e)){const l=[];for(let o=0;o>>1,l=Ta[a],o=Pu(l);o=Pu(n)?Ta.push(e):Ta.splice(Mx(t),0,e),e.flags|=1,iy()}}function iy(){Zd||(Zd=ry.then(uy))}function fi(e){if(!ve(e))fs&&e.id===-1?fs.splice(Kr+1,0,e):e.flags&1||(ei.push(e),e.flags|=1);else for(let t=0;tPu(n)-Pu(a));if(ei.length=0,fs){for(let n=0;ne.id==null?e.flags&2?-1:1/0:e.id;function uy(e){try{for(Jl=0;JlWr.emit(l,...o)),Jc=[]):typeof window<"u"&&window.HTMLElement&&!((a=(n=window.navigator)==null?void 0:n.userAgent)!=null&&a.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{cy(o,t)}),setTimeout(()=>{Wr||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Jc=[])},3e3)):Jc=[]}let ia=null,r0=null;function Ru(e){const t=ia;return ia=e,r0=e&&e.type.__scopeId||null,t}function dy(e){r0=e}function fy(){r0=null}const py=e=>ne;function ne(e,t=ia,n){if(!t||e._n)return e;const a=(...l)=>{a._d&&pi(-1);const o=Ru(t),s=Lo.length;let r;try{r=e(...l)}finally{for(let u=Lo.length;u>s;u--)m0();Ru(o),a._d&&pi(1)}return r};return a._n=!0,a._c=!0,a._d=!0,a}function ht(e,t){if(ia===null)return e;const n=bc(ia),a=e.dirs||(e.dirs=[]);for(let l=0;l1)return n&&Ke(t)?t.call(a&&a.proxy):t}}function i0(){return!!(st()||Js)}const F2=Symbol.for("v-scx"),K2=()=>De(F2);function la(e,t){return vc(e,null,t)}function hy(e,t){return vc(e,null,{flush:"post"})}function W2(e,t){return vc(e,null,{flush:"sync"})}function ce(e,t,n){return vc(e,t,n)}function vc(e,t,n=nn){const{immediate:a,deep:l,flush:o,once:s}=n,r=Qt({},n),u=t&&a||!t&&o!=="post";let c;if(ir){if(o==="sync"){const m=K2();c=m.__watcherHandles||(m.__watcherHandles=[])}else if(!u){const m=()=>{};return m.stop=ut,m.resume=ut,m.pause=ut,m}}const d=ra;r.call=(m,v,p)=>Wa(m,d,v,p);let f=!1;o==="post"?r.scheduler=m=>{Fn(m,d&&d.suspense)}:o!=="sync"&&(f=!0,r.scheduler=(m,v)=>{v?m():H2(m)}),r.augmentJob=m=>{t&&(m.flags|=4),f&&(m.flags|=2,d&&(m.id=d.uid,m.i=d))};const h=Sx(e,t,r);return ir&&(c?c.push(h):u&&h()),h}function Ox(e,t,n){const a=this.proxy,l=Ne(e)?e.includes(".")?vy(a,e):()=>a[e]:e.bind(a,a);let o;Ke(t)?o=t:(o=t.handler,n=t);const s=Di(this),r=vc(l,o.bind(a),n);return s(),r}function vy(e,t){const n=t.split(".");return()=>{let a=e;for(let l=0;le.__isTeleport,Hs=e=>e&&(e.disabled||e.disabled===""),$x=e=>e&&(e.defer||e.defer===""),Vm=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Lm=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ah=(e,t)=>{const n=e&&e.to;return Ne(n)?t?t(n):null:n},Nx={name:"Teleport",__isTeleport:!0,process(e,t,n,a,l,o,s,r,u,c){const{mc:d,pc:f,pbc:h,o:{insert:m,querySelector:v,createText:p,createComment:g,parentNode:y}}=c,b=Hs(t.props);let{dynamicChildren:C}=t;const w=(M,E,T)=>{M.shapeFlag&16&&d(M.children,E,T,l,o,s,r,u)},_=(M=t)=>{const E=Hs(M.props),T=M.target=ah(M.props,v),O=lh(T,M,p,m);T&&(s!=="svg"&&Vm(T)?s="svg":s!=="mathml"&&Lm(T)&&(s="mathml"),l&&l.isCE&&(l.ce._teleportTargets||(l.ce._teleportTargets=new Set)).add(T),E||(w(M,T,O),cu(M,!1)))},k=M=>{const E=()=>{if(os.get(M)===E){if(os.delete(M),Hs(M.props)){const T=y(M.el)||n;w(M,T,M.anchor),cu(M,!0)}_(M)}};os.set(M,E),Fn(E,o)};if(e==null){const M=t.el=p(""),E=t.anchor=p("");if(m(M,n,a),m(E,n,a),$x(t.props)||o&&o.pendingBranch){k(t);return}b&&(w(t,n,E),cu(t,!0)),_()}else{t.el=e.el;const M=t.anchor=e.anchor,E=os.get(e);if(E){E.flags|=8,os.delete(e),k(t);return}t.targetStart=e.targetStart;const T=t.target=e.target,O=t.targetAnchor=e.targetAnchor,I=Hs(e.props),N=I?n:T,R=I?M:O;if(s==="svg"||Vm(T)?s="svg":(s==="mathml"||Lm(T))&&(s="mathml"),C?(h(e.dynamicChildren,C,N,l,o,s,r),rv(e,t,!0)):u||f(e,t,N,R,l,o,s,r,!1),b)I?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Zc(t,n,M,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const K=ah(t.props,v);K&&(t.target=K,Zc(t,K,null,c,0))}else I&&Zc(t,T,O,c,1);cu(t,b)}},remove(e,t,n,{um:a,o:{remove:l}},o){const{shapeFlag:s,children:r,anchor:u,targetStart:c,targetAnchor:d,target:f,props:h}=e,m=Hs(h),v=o||!m,p=os.get(e);if(p&&(p.flags|=8,os.delete(e)),f&&(l(c),l(d)),o&&l(u),!p&&(m||f)&&s&16)for(let g=0;g{e.isMounted=!0}),Ht(()=>{e.isUnmounting=!0}),e}const rl=[Function,Array],d0={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:rl,onEnter:rl,onAfterEnter:rl,onEnterCancelled:rl,onBeforeLeave:rl,onLeave:rl,onAfterLeave:rl,onLeaveCancelled:rl,onBeforeAppear:rl,onAppear:rl,onAfterAppear:rl,onAppearCancelled:rl},gy=e=>{const t=e.subTree;return t.component?gy(t.component):t},Ix={name:"BaseTransition",props:d0,setup(e,{slots:t}){const n=st(),a=c0();return()=>{const l=t.default&&mc(t.default(),!0),o=l&&l.length?yy(l):n.subTree?oe():void 0;if(!o)return;const s=Zt(e),{mode:r}=s;if(a.isLeaving)return ip(o);const u=ef(o);if(!u)return ip(o);let c=sr(u,s,a,n,f=>c=f);u.type!==pn&&io(u,c);let d=n.subTree&&ef(n.subTree);if(d&&d.type!==pn&&!kl(d,u)&&gy(n).type!==pn){let f=sr(d,s,a,n);if(io(d,f),r==="out-in"&&u.type!==pn)return a.isLeaving=!0,f.afterLeave=()=>{a.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,d=void 0},ip(o);r==="in-out"&&u.type!==pn?f.delayLeave=(h,m,v)=>{const p=by(a,d);p[String(d.key)]=d,h[il]=()=>{m(),h[il]=void 0,delete c.delayedLeave,d=void 0},c.delayedLeave=()=>{v(),delete c.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return o}}};function yy(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==pn){t=n;break}}return t}const j2=Ix;function by(e,t){const{leavingVNodes:n}=e;let a=n.get(t.type);return a||(a=Object.create(null),n.set(t.type,a)),a}function sr(e,t,n,a,l){const{appear:o,mode:s,persisted:r=!1,onBeforeEnter:u,onEnter:c,onAfterEnter:d,onEnterCancelled:f,onBeforeLeave:h,onLeave:m,onAfterLeave:v,onLeaveCancelled:p,onBeforeAppear:g,onAppear:y,onAfterAppear:b,onAppearCancelled:C}=t,w=String(e.key),_=by(n,e),k=(T,O)=>{T&&Wa(T,a,9,O)},M=(T,O)=>{const I=O[1];k(T,O),ve(T)?T.every(N=>N.length<=1)&&I():T.length<=1&&I()},E={mode:s,persisted:r,beforeEnter(T){let O=u;if(!n.isMounted)if(o)O=g||u;else return;T[il]&&T[il](!0);const I=_[w];I&&kl(e,I)&&I.el[il]&&I.el[il](),k(O,[T])},enter(T){if(_[w]===e)return;let O=c,I=d,N=f;if(!n.isMounted)if(o)O=y||c,I=b||d,N=C||f;else return;let R=!1;T[eu]=H=>{R||(R=!0,H?k(N,[T]):k(I,[T]),E.delayedLeave&&E.delayedLeave(),T[eu]=void 0)};const K=T[eu].bind(null,!1);O?M(O,[T,K]):K()},leave(T,O){const I=String(e.key);if(T[eu]&&T[eu](!0),n.isUnmounting)return O();k(h,[T]);let N=!1;T[il]=K=>{N||(N=!0,O(),K?k(p,[T]):k(v,[T]),T[il]=void 0,_[I]===e&&delete _[I])};const R=T[il].bind(null,!1);_[I]=e,m?M(m,[T,R]):R()},clone(T){const O=sr(T,t,n,a,l);return l&&l(O),O}};return E}function ip(e){if(gc(e))return e=ja(e),e.children=null,e}function ef(e){if(!gc(e))return u0(e.type)&&e.children?yy(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Ke(n.default))return n.default()}}function io(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const n=e.component.subTree;io(u0(n.type)&&ef(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function mc(e,t=!1,n){let a=[],l=0;for(let o=0;o1)for(let o=0;on.value,set:o=>n.value=o})}return n}function Bm(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const tf=new WeakMap;function ti(e,t,n,a,l=!1){if(ve(e)){e.forEach((p,g)=>ti(p,t&&(ve(t)?t[g]:t),n,a,l));return}if(Ro(a)&&!l){a.shapeFlag&512&&a.type.__asyncResolved&&a.component.subTree.component&&ti(e,t,n,a.component.subTree);return}const o=a.shapeFlag&4?bc(a.component):a.el,s=l?null:o,{i:r,r:u}=e,c=t&&t.r,d=r.refs===nn?r.refs={}:r.refs,f=r.setupState,h=Zt(f),m=f===nn?Ur:p=>Bm(d,p)?!1:zt(h,p),v=(p,g)=>!(g&&Bm(d,g));if(c!=null&&c!==u){if(zm(t),Ne(c))d[c]=null,m(c)&&(f[c]=null);else if(en(c)){const p=t;v(c,p.k)&&(c.value=null),p.k&&(d[p.k]=null)}}if(Ke(u))xr(u,r,12,[s,d]);else{const p=Ne(u),g=en(u);if(p||g){const y=()=>{if(e.f){const b=p?m(u)?f[u]:d[u]:v()||!e.k?u.value:d[e.k];if(l)ve(b)&&P2(b,o);else if(ve(b))b.includes(o)||b.push(o);else if(p)d[u]=[o],m(u)&&(f[u]=d[u]);else{const C=[o];v(u,e.k)&&(u.value=C),e.k&&(d[e.k]=C)}}else p?(d[u]=s,m(u)&&(f[u]=s)):g&&(v(u,e.k)&&(u.value=s),e.k&&(d[e.k]=s))};if(s){const b=()=>{y(),tf.delete(e)};b.id=-1,tf.set(e,b),Fn(b,n)}else zm(e),y()}}}function zm(e){const t=tf.get(e);t&&(t.flags|=8,tf.delete(e))}let Dm=!1;const Rr=()=>{Dm||(console.error("Hydration completed but contains mismatches."),Dm=!0)},Px=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Rx=e=>e.namespaceURI.includes("MathML"),Qc=e=>{if(e.nodeType===1){if(Px(e))return"svg";if(Rx(e))return"mathml"}},Yr=e=>e.nodeType===8;function Vx(e){const{mt:t,p:n,o:{patchProp:a,createText:l,nextSibling:o,parentNode:s,remove:r,insert:u,createComment:c}}=e,d=(C,w)=>{if(!w.hasChildNodes()){n(null,C,w),Qd(),w._vnode=C;return}f(w.firstChild,C,null,null,null),Qd(),w._vnode=C},f=(C,w,_,k,M,E=!1)=>{E=E||!!w.dynamicChildren;const T=Yr(C)&&C.data==="[",O=()=>p(C,w,_,k,M,T),{type:I,ref:N,shapeFlag:R,patchFlag:K}=w;let H=C.nodeType;w.el=C,K===-2&&(E=!1,w.dynamicChildren=null);let z=null;switch(I){case Ml:H!==3?w.children===""?(u(w.el=l(""),s(C),C),z=C):z=O():(C.data!==w.children&&(Rr(),C.data=w.children),z=o(C));break;case pn:b(C)?(z=o(C),y(w.el=C.content.firstChild,C,_)):H!==8||T?z=O():z=o(C);break;case Vo:if(T&&(C=o(C),H=C.nodeType),H===1||H===3){z=C;const V=!w.children.length;for(let L=0;L{E=E||!!w.dynamicChildren;const{type:T,dynamicProps:O,props:I,patchFlag:N,shapeFlag:R,dirs:K,transition:H}=w,z=T==="input"||T==="option",V=!!O;if(z||V||N!==-1){K&&Zl(w,null,_,"created");let L=!1;if(b(C)){L=ab(null,H)&&_&&_.vnode.props&&_.vnode.props.appear;const D=C.content.firstChild;if(L){const j=D.getAttribute("class");j&&(D.$cls=j),H.beforeEnter(D)}y(D,C,_),w.el=C=D}if(R&16&&!(I&&(I.innerHTML||I.textContent))){let D=m(C.firstChild,w,C,_,k,M,E);for(D&&!Td(C,1)&&Rr();D;){const j=D;D=D.nextSibling,r(j)}}else if(R&8){let D=w.children;D[0]===` +`&&(C.tagName==="PRE"||C.tagName==="TEXTAREA")&&(D=D.slice(1));const{textContent:j}=C;j!==D&&j!==D.replace(/\r\n|\r/g,` +`)&&(Td(C,0)||Rr(),C.textContent=w.children)}if(I){if(z||V||!E||N&48){const D=C.tagName.includes("-"),j=C.namespaceURI.includes("svg")?"svg":C.namespaceURI.includes("MathML")?"mathml":void 0;for(const q in I)if(z&&(q.endsWith("value")||q==="indeterminate")||Sr(q)&&!Po(q)||q[0]==="."||D&&!Po(q)||O&&O.includes(q)){if(Bx(C,q,I[q]))continue;a(C,q,null,I[q],j,_)}}else if(I.onClick)a(C,"onClick",null,I.onClick,void 0,_);else if(N&4&&ao(I.style))for(const D in I.style)I.style[D]}let F;(F=I&&I.onVnodeBeforeMount)&&La(F,_,w),K&&Zl(w,null,_,"beforeMount"),((F=I&&I.onVnodeMounted)||K||L)&&ib(()=>{F&&La(F,_,w),L&&H.enter(C),K&&Zl(w,null,_,"mounted")},k)}return C.nextSibling},m=(C,w,_,k,M,E,T)=>{T=T||!!w.dynamicChildren;const O=w.children,I=O.length;let N=!1;for(let R=0;R{const{slotScopeIds:T}=w;T&&(M=M?M.concat(T):T);const O=s(C),I=m(o(C),w,O,_,k,M,E);return I&&Yr(I)&&I.data==="]"?o(w.anchor=I):(Rr(),u(w.anchor=c("]"),O,I),I)},p=(C,w,_,k,M,E)=>{if(Dx(C,w)||Rr(),w.el=null,E){const I=g(C);for(;;){const N=o(C);if(N&&N!==I)r(N);else break}}const T=o(C),O=s(C);return r(C),n(null,w,O,T,_,k,Qc(O),M),_&&(_.vnode.el=w.el,v0(_,w.el)),T},g=(C,w="[",_="]")=>{let k=0;for(;C;)if(C=o(C),C&&Yr(C)&&(C.data===w&&k++,C.data===_)){if(k===0)return o(C);k--}return C},y=(C,w,_)=>{const k=w.parentNode;k&&k.replaceChild(C,w);let M=_;for(;M;)M.vnode.el===w&&(M.vnode.el=M.subTree.el=C),M=M.parent},b=C=>C.nodeType===1&&C.tagName==="TEMPLATE";return[d,f]}const Lx=new Set(["src","srcset","href","poster"]);function Bx(e,t,n){return Lx.has(t)?e.getAttribute(t)===(n==null?null:`${n}`):!1}const nf="data-allow-mismatch",zx={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Td(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(nf);)e=e.parentElement;return U2(e&&e.getAttribute(nf),t)}function U2(e,t){if(e==null)return!1;if(e==="")return!0;{const n=e.split(",");return t===0&&n.includes("children")?!0:n.includes(zx[t])}}function Dx(e,t){return Td(e.parentElement,1)||Hx(e)||Fx(t)}function Hx(e){return e.nodeType===1&&U2(e.getAttribute(nf),1)}function Fx({props:e}){const t=e&&e[nf];return typeof t=="string"&&U2(t,1)}const Kx=Zf().requestIdleCallback||(e=>setTimeout(e,1)),Wx=Zf().cancelIdleCallback||(e=>clearTimeout(e)),_y=(e=1e4)=>t=>{const n=Kx(t,{timeout:e});return()=>Wx(n)};function jx(e){const{top:t,left:n,bottom:a,right:l}=e.getBoundingClientRect(),{innerHeight:o,innerWidth:s}=window;return(t>0&&t0&&a0&&n0&&l(t,n)=>{const a=new IntersectionObserver(l=>{for(const o of l)if(o.isIntersecting){a.disconnect(),t();break}},e);return n(l=>{if(l instanceof Element){if(jx(l))return t(),a.disconnect(),!1;a.observe(l)}}),()=>a.disconnect()},xy=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},ky=(e=[])=>(t,n)=>{Ne(e)&&(e=[e]);let a=!1;const l=s=>{a||(a=!0,o(),t(),s.target.dispatchEvent(new s.constructor(s.type,s)))},o=()=>{n(s=>{for(const r of e)s.removeEventListener(r,l)})};return n(s=>{for(const r of e)s.addEventListener(r,l,{once:!0})}),o};function qx(e,t){if(Yr(e)&&e.data==="["){let n=1,a=e.nextSibling;for(;a;){if(a.nodeType===1){if(t(a)===!1)break}else if(Yr(a))if(a.data==="]"){if(--n===0)break}else a.data==="["&&n++;a=a.nextSibling}}else t(e)}const Ro=e=>!!e.type.__asyncLoader;function Ey(e){Ke(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:a,delay:l=200,hydrate:o,timeout:s,suspensible:r=!0,onError:u}=e;let c=null,d,f=0;const h=()=>(f++,c=null,m()),m=()=>{let v;return c||(v=c=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),u)return new Promise((g,y)=>{u(p,()=>g(h()),()=>y(p),f+1)});throw p}).then(p=>v!==c&&c?c:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),d=p,p)))};return W({name:"AsyncComponentWrapper",__asyncLoader:m,__asyncHydrate(v,p,g){const y=v.isConnected;let b=!1;(p.bu||(p.bu=[])).push(()=>b=!0);const C=()=>{b||!v.parentNode||y&&!v.isConnected||g()},w=o?()=>{const _=o(C,k=>qx(v,k));_&&(p.bum||(p.bum=[])).push(_)}:C;d?w():m().then(()=>!p.isUnmounted&&w())},get __asyncResolved(){return d},setup(){const v=ra;if(q2(v),d)return()=>ed(d,v);const p=_=>{c=null,$s(_,v,13,!a)};if(r&&v.suspense||ir)return m().then(_=>()=>ed(_,v)).catch(_=>(p(_),()=>a?G(a,{error:_}):null));const g=B(!1),y=B(),b=B(!!l);let C,w;return yo(()=>{C!=null&&clearTimeout(C),w!=null&&clearTimeout(w)}),l&&(w=setTimeout(()=>{v.isUnmounted||(b.value=!1)},l)),s!=null&&(C=setTimeout(()=>{if(!v.isUnmounted&&!g.value&&!y.value){const _=new Error(`Async component timed out after ${s}ms.`);p(_),y.value=_}},s)),m().then(()=>{v.isUnmounted||(g.value=!0,v.parent&&gc(v.parent.vnode)&&v.parent.update())}).catch(_=>{if(v.isUnmounted){c=null;return}p(_),y.value=_}),()=>{if(g.value&&d)return ed(d,v);if(y.value&&a)return G(a,{error:y.value});if(n&&!b.value)return ed(n,v)}}})}function ed(e,t){const{ref:n,props:a,children:l,ce:o}=t.vnode,s=G(e,a,l);return s.ref=n,s.ce=o,delete t.vnode.ce,s}const gc=e=>e.type.__isKeepAlive,Ux={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=st(),a=n.ctx;if(!a.renderer)return()=>{const b=t.default&&t.default();return b&&b.length===1?b[0]:b};const l=new Map,o=new Set;let s=null;const r=n.suspense,{renderer:{p:u,m:c,um:d,o:{createElement:f}}}=a,h=f("div");a.activate=(b,C,w,_,k)=>{const M=b.component;c(b,C,w,0,r),u(M.vnode,b,C,w,M,r,_,b.slotScopeIds,k),Fn(()=>{M.isDeactivated=!1,M.a&&Zr(M.a);const E=b.props&&b.props.onVnodeMounted;E&&La(E,M.parent,b)},r)},a.deactivate=b=>{const C=b.component;lf(C.m),lf(C.a),c(b,h,null,1,r),Fn(()=>{C.da&&Zr(C.da);const w=b.props&&b.props.onVnodeUnmounted;w&&La(w,C.parent,b),C.isDeactivated=!0},r)};function m(b){up(b),d(b,n,r,!0)}function v(b){l.forEach((C,w)=>{const _=ph(Ro(C)?C.type.__asyncResolved||{}:C.type);_&&!b(_)&&p(w)})}function p(b){const C=l.get(b);C&&(!s||!kl(C,s))?m(C):s&&up(s),l.delete(b),o.delete(b)}ce(()=>[e.include,e.exclude],([b,C])=>{b&&v(w=>du(b,w)),C&&v(w=>!du(C,w))},{flush:"post",deep:!0});let g=null;const y=()=>{g!=null&&(of(n.subTree.type)?Fn(()=>{const b=td(n.subTree);b.component&&l.set(g,b)},n.subTree.suspense):l.set(g,td(n.subTree)))};return mt(y),qa(y),Ht(()=>{l.forEach(b=>{const{subTree:C,suspense:w}=n,_=td(C);if(b.type===_.type&&b.key===_.key){up(_);const k=_.component.da;k&&Fn(k,w);return}m(b)})}),()=>{if(g=null,!t.default)return s=null;const b=t.default(),C=b[0];if(b.length>1)return s=null,b;if(!Yt(C)||!(C.shapeFlag&4)&&!(C.shapeFlag&128))return s=null,C;let w=td(C);if(w.type===pn)return s=null,w;const _=w.type,k=ph(Ro(w)?w.type.__asyncResolved||{}:_),{include:M,exclude:E,max:T}=e;if(M&&(!k||!du(M,k))||E&&k&&du(E,k))return w.shapeFlag&=-257,s=w,C;const O=w.key==null?_:w.key,I=l.get(O);return w.el&&(w=ja(w),C.shapeFlag&128&&(C.ssContent=w)),g=O,I?(w.el=I.el,w.component=I.component,w.transition&&io(w,w.transition),w.shapeFlag|=512,o.delete(O),o.add(O)):(o.add(O),T&&o.size>parseInt(T,10)&&p(o.values().next().value)),w.shapeFlag|=256,s=w,of(C.type)?C:w}}},Ty=Ux;function du(e,t){return ve(e)?e.some(n=>du(n,t)):Ne(e)?e.split(",").includes(t):OS(e)?(e.lastIndex=0,e.test(t)):!1}function kr(e,t){My(e,"a",t)}function yc(e,t){My(e,"da",t)}function My(e,t,n=ra){const a=e.__wdc||(e.__wdc=()=>{let l=n;for(;l;){if(l.isDeactivated)return;l=l.parent}return e()});if(f0(t,a,n),n){let l=n.parent;for(;l&&l.parent;)gc(l.parent.vnode)&&Yx(a,t,n,l),l=l.parent}}function Yx(e,t,n,a){const l=f0(t,e,a,!0);yo(()=>{P2(a[t],l)},n)}function up(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function td(e){return e.shapeFlag&128?e.ssContent:e}function f0(e,t,n=ra,a=!1){if(n){const l=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...s)=>{Fo();const r=Di(n),u=Wa(t,n,e,s);return r(),Ko(),u});return a?l.unshift(o):l.push(o),o}}const Uo=e=>(t,n=ra)=>{(!ir||e==="sp")&&f0(e,(...a)=>t(...a),n)},Bi=Uo("bm"),mt=Uo("m"),zi=Uo("bu"),qa=Uo("u"),Ht=Uo("bum"),yo=Uo("um"),Y2=Uo("sp"),G2=Uo("rtg"),X2=Uo("rtc");function J2(e,t=ra){f0("ec",e,t)}const Z2="components",Gx="directives";function Kt(e,t){return Q2(Z2,e,!0,t)||e}const Oy=Symbol.for("v-ndc");function ft(e){return Ne(e)?Q2(Z2,e,!1)||e:e||Oy}function p0(e){return Q2(Gx,e)}function Q2(e,t,n=!0,a=!1){const l=ia||ra;if(l){const o=l.type;if(e===Z2){const r=ph(o,!1);if(r&&(r===t||r===cn(t)||r===qo(cn(t))))return o}const s=Hm(l[e]||o[e],t)||Hm(l.appContext[e],t);return!s&&a?o:s}}function Hm(e,t){return e&&(e[t]||e[cn(t)]||e[qo(cn(t))])}function wt(e,t,n,a){let l;const o=n&&n[a],s=ve(e);if(s||Ne(e)){const r=s&&ao(e);let u=!1,c=!1;r&&(u=!Na(e),c=Pl(e),e=a0(e)),l=new Array(e.length);for(let d=0,f=e.length;dt(r,u,void 0,o&&o[u]));else{const r=Object.keys(e);l=new Array(r.length);for(let u=0,c=r.length;u{const o=a.fn(...l);return o&&(o.key=a.key),o}:a.fn)}return e}function le(e,t,n,a,l,o){if(n==null&&(n={}),ia.ce||ia.parent&&Ro(ia.parent)&&ia.parent.ce){const c=o!=null&&n.key==null?Qt({},n,{key:o}):n,d=Object.keys(c).length>0;return t!=="default"&&(c.name=t),S(),ie(He,null,[G("slot",c,a&&a())],d?-2:64)}let s=e[t];s&&s._c&&(s._d=!1);const r=Lo.length;S();let u;try{const c=s&&ev(s(n)),d=n.key||o||c&&c.key;u=ie(He,{key:(d&&!_a(d)?d:`_${t}`)+(!c&&a?"_fb":"")},c||(a?a():[]),c&&e._===1?64:-2)}catch(c){for(let d=Lo.length;d>r;d--)m0();throw c}finally{s&&s._c&&(s._d=!0)}return!l&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),u}function ev(e){return e.some(t=>Yt(t)?!(t.type===pn||t.type===He&&!ev(t.children)):!0)?e:null}function tv(e,t){const n={};for(const a in e)n[t&&/[A-Z]/.test(a)?`on:${a}`:no(a)]=e[a];return n}const oh=e=>e?hb(e)?bc(e):oh(e.parent):null,_u=Qt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>oh(e.parent),$root:e=>oh(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>nv(e),$forceUpdate:e=>e.f||(e.f=()=>{H2(e.update)}),$nextTick:e=>e.n||(e.n=Pe.bind(e.proxy)),$watch:e=>Ox.bind(e)}),cp=(e,t)=>e!==nn&&!e.__isScriptSetup&&zt(e,t),sh={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:a,data:l,props:o,accessCache:s,type:r,appContext:u}=e;if(t[0]!=="$"){const h=s[t];if(h!==void 0)switch(h){case 1:return a[t];case 2:return l[t];case 4:return n[t];case 3:return o[t]}else{if(cp(a,t))return s[t]=1,a[t];if(l!==nn&&zt(l,t))return s[t]=2,l[t];if(zt(o,t))return s[t]=3,o[t];if(n!==nn&&zt(n,t))return s[t]=4,n[t];rh&&(s[t]=0)}}const c=_u[t];let d,f;if(c)return t==="$attrs"&&ya(e.attrs,"get",""),c(e);if((d=r.__cssModules)&&(d=d[t]))return d;if(n!==nn&&zt(n,t))return s[t]=4,n[t];if(f=u.config.globalProperties,zt(f,t))return f[t]},set({_:e},t,n){const{data:a,setupState:l,ctx:o}=e;return cp(l,t)?(l[t]=n,!0):a!==nn&&zt(a,t)?(a[t]=n,!0):zt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:a,appContext:l,props:o,type:s}},r){let u;return!!(n[r]||e!==nn&&r[0]!=="$"&&zt(e,r)||cp(t,r)||zt(o,r)||zt(a,r)||zt(_u,r)||zt(l.config.globalProperties,r)||(u=s.__cssModules)&&u[r])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:zt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Xx=Qt({},sh,{get(e,t){if(t!==Symbol.unscopables)return sh.get(e,t,e)},has(e,t){return t[0]!=="_"&&!VS(t)}});function $y(){return null}function Ny(){return null}function Ay(e){}function Iy(e){}function Py(){return null}function Ry(){}function Vy(e,t){return null}function wn(){return Ly().slots}function Hl(){return Ly().attrs}function Ly(e){const t=st();return t.setupContext||(t.setupContext=yb(t))}function Vu(e){return ve(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function By(e,t){const n=Vu(e);for(const a in t){if(a.startsWith("__skip"))continue;let l=n[a];l?ve(l)||Ke(l)?l=n[a]={type:l,default:t[a]}:l.default=t[a]:l===null&&(l=n[a]={default:t[a]}),l&&t[`__skip_${a}`]&&(l.skipFactory=!0)}return n}function zy(e,t){return!e||!t?e||t:ve(e)&&ve(t)?e.concat(t):Qt({},Vu(e),Vu(t))}function Dy(e,t){const n={};for(const a in e)t.includes(a)||Object.defineProperty(n,a,{enumerable:!0,get:()=>e[a]});return n}function Hy(e){const t=st(),n=ir;let a=e();Bu(),n&&bs(!1);const l=()=>{Di(t),n&&bs(!0)},o=()=>{st()!==t&&t.scope.off(),Bu(),n&&bs(!1)};return Ho(a)&&(a=a.catch(s=>{throw l(),Promise.resolve().then(()=>Promise.resolve().then(o)),s})),[a,()=>{l(),Promise.resolve().then(o)}]}let rh=!0;function Jx(e){const t=nv(e),n=e.proxy,a=e.ctx;rh=!1,t.beforeCreate&&Fm(t.beforeCreate,e,"bc");const{data:l,computed:o,methods:s,watch:r,provide:u,inject:c,created:d,beforeMount:f,mounted:h,beforeUpdate:m,updated:v,activated:p,deactivated:g,beforeDestroy:y,beforeUnmount:b,destroyed:C,unmounted:w,render:_,renderTracked:k,renderTriggered:M,errorCaptured:E,serverPrefetch:T,expose:O,inheritAttrs:I,components:N,directives:R,filters:K}=t;if(c&&Zx(c,a,null),s)for(const V in s){const L=s[V];Ke(L)&&(a[V]=L.bind(n))}if(l){const V=l.call(n,n);rt(V)&&(e.data=Dt(V))}if(rh=!0,o)for(const V in o){const L=o[V],F=Ke(L)?L.bind(n,n):Ke(L.get)?L.get.bind(n,n):ut,D=!Ke(L)&&Ke(L.set)?L.set.bind(n):ut,j=x({get:F,set:D});Object.defineProperty(a,V,{enumerable:!0,configurable:!0,get:()=>j.value,set:q=>j.value=q})}if(r)for(const V in r)Fy(r[V],a,n,V);if(u){const V=Ke(u)?u.call(n):u;Reflect.ownKeys(V).forEach(L=>{Et(L,V[L])})}d&&Fm(d,e,"c");function z(V,L){ve(L)?L.forEach(F=>V(F.bind(n))):L&&V(L.bind(n))}if(z(Bi,f),z(mt,h),z(zi,m),z(qa,v),z(kr,p),z(yc,g),z(J2,E),z(X2,k),z(G2,M),z(Ht,b),z(yo,w),z(Y2,T),ve(O))if(O.length){const V=e.exposed||(e.exposed={});O.forEach(L=>{Object.defineProperty(V,L,{get:()=>n[L],set:F=>n[L]=F,enumerable:!0})})}else e.exposed||(e.exposed={});_&&e.render===ut&&(e.render=_),I!=null&&(e.inheritAttrs=I),N&&(e.components=N),R&&(e.directives=R),T&&q2(e)}function Zx(e,t,n=ut){ve(e)&&(e=ih(e));for(const a in e){const l=e[a];let o;rt(l)?"default"in l?o=De(l.from||a,l.default,!0):o=De(l.from||a):o=De(l),en(o)?Object.defineProperty(t,a,{enumerable:!0,configurable:!0,get:()=>o.value,set:s=>o.value=s}):t[a]=o}}function Fm(e,t,n){Wa(ve(e)?e.map(a=>a.bind(t.proxy)):e.bind(t.proxy),t,n)}function Fy(e,t,n,a){let l=a.includes(".")?vy(n,a):()=>n[a];if(Ne(e)){const o=t[e];Ke(o)&&ce(l,o)}else if(Ke(e))ce(l,e.bind(n));else if(rt(e))if(ve(e))e.forEach(o=>Fy(o,t,n,a));else{const o=Ke(e.handler)?e.handler.bind(n):t[e.handler];Ke(o)&&ce(l,o,e)}}function nv(e){const t=e.type,{mixins:n,extends:a}=t,{mixins:l,optionsCache:o,config:{optionMergeStrategies:s}}=e.appContext,r=o.get(t);let u;return r?u=r:!l.length&&!n&&!a?u=t:(u={},l.length&&l.forEach(c=>af(u,c,s,!0)),af(u,t,s)),rt(t)&&o.set(t,u),u}function af(e,t,n,a=!1){const{mixins:l,extends:o}=t;o&&af(e,o,n,!0),l&&l.forEach(s=>af(e,s,n,!0));for(const s in t)if(!(a&&s==="expose")){const r=Qx[s]||n&&n[s];e[s]=r?r(e[s],t[s]):t[s]}return e}const Qx={data:Km,props:Wm,emits:Wm,methods:fu,computed:fu,beforeCreate:Ea,created:Ea,beforeMount:Ea,mounted:Ea,beforeUpdate:Ea,updated:Ea,beforeDestroy:Ea,beforeUnmount:Ea,destroyed:Ea,unmounted:Ea,activated:Ea,deactivated:Ea,errorCaptured:Ea,serverPrefetch:Ea,components:fu,directives:fu,watch:tk,provide:Km,inject:ek};function Km(e,t){return t?e?function(){return Qt(Ke(e)?e.call(this,this):e,Ke(t)?t.call(this,this):t)}:t:e}function ek(e,t){return fu(ih(e),ih(t))}function ih(e){if(ve(e)){const t={};for(let n=0;n{let d,f=nn,h;return W2(()=>{const m=e[l];ta(d,m)&&(d=m,c())}),{get(){return u(),n.get?n.get(d):d},set(m){const v=n.set?n.set(m):m;if(!ta(v,d)&&!(f!==nn&&ta(m,f)))return;const p=a.vnode.props,g=!!(p&&(t in p||l in p||o in p)&&(`onUpdate:${t}`in p||`onUpdate:${l}`in p||`onUpdate:${o}`in p));g||(d=m,c()),a.emit(`update:${t}`,v),ta(m,f)&&(ta(m,v)&&!ta(v,h)||g&&f!==nn&&!ta(v,d))&&c(),f=m,h=v}}});return r[Symbol.iterator]=()=>{let u=0;return{next(){return u<2?{value:u++?s||nn:r,done:!1}:{done:!0}}}},r}const jy=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${cn(t)}Modifiers`]||e[`${Ma(t)}Modifiers`];function lk(e,t,...n){if(e.isUnmounted)return;const a=e.vnode.props||nn;let l=n;const o=t.startsWith("update:"),s=o&&jy(a,t.slice(7));s&&(s.trim&&(l=n.map(d=>Ne(d)?d.trim():d)),s.number&&(l=l.map(Jf)));let r,u=a[r=no(t)]||a[r=no(cn(t))];!u&&o&&(u=a[r=no(Ma(t))]),u&&Wa(u,e,6,l);const c=a[r+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[r])return;e.emitted[r]=!0,Wa(c,e,6,l)}}const ok=new WeakMap;function qy(e,t,n=!1){const a=n?ok:t.emitsCache,l=a.get(e);if(l!==void 0)return l;const o=e.emits;let s={},r=!1;if(!Ke(e)){const u=c=>{const d=qy(c,t,!0);d&&(r=!0,Qt(s,d))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!o&&!r?(rt(e)&&a.set(e,null),null):(ve(o)?o.forEach(u=>s[u]=null):Qt(s,o),rt(e)&&a.set(e,s),s)}function h0(e,t){return!e||!Sr(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),zt(e,t[0].toLowerCase()+t.slice(1))||zt(e,Ma(t))||zt(e,t))}function Md(e){const{type:t,vnode:n,proxy:a,withProxy:l,propsOptions:[o],slots:s,attrs:r,emit:u,render:c,renderCache:d,props:f,data:h,setupState:m,ctx:v,inheritAttrs:p}=e,g=Ru(e);let y,b;try{if(n.shapeFlag&4){const w=l||a,_=w;y=Ba(c.call(_,w,d,f,m,h,v)),b=r}else{const w=t;y=Ba(w.length>1?w(f,{attrs:r,slots:s,emit:u}):w(f,null)),b=t.props?r:rk(r)}}catch(w){Lo.length=0,$s(w,e,1),y=G(pn)}let C=y;if(b&&p!==!1){const w=Object.keys(b),{shapeFlag:_}=C;w.length&&_&7&&(o&&w.some(Yf)&&(b=ik(b,o)),C=ja(C,b,!1,!0))}if(n.dirs&&(C=ja(C,null,!1,!0),C.dirs=C.dirs?C.dirs.concat(n.dirs):n.dirs),n.transition){const w=u0(C.type)&&ef(C)||C;io(w,n.transition)}return y=C,Ru(g),y}function sk(e,t=!0){let n;for(let a=0;a{let t;for(const n in e)(n==="class"||n==="style"||Sr(n))&&((t||(t={}))[n]=e[n]);return t},ik=(e,t)=>{const n={};for(const a in e)(!Yf(a)||!(a.slice(9)in t))&&(n[a]=e[a]);return n};function uk(e,t,n){const{props:a,children:l,component:o}=e,{props:s,children:r,patchFlag:u}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return a?jm(a,s,c):!!s;if(u&8){const d=t.dynamicProps;for(let f=0;fObject.create(Yy),Xy=e=>Object.getPrototypeOf(e)===Yy;function ck(e,t,n,a=!1){const l={},o=Gy();e.propsDefaults=Object.create(null),Jy(e,t,l,o);for(const s in e.propsOptions[0])s in l||(l[s]=void 0);n?e.props=a?l:hc(l):e.type.props?e.props=l:e.props=o,e.attrs=o}function dk(e,t,n,a){const{props:l,attrs:o,vnode:{patchFlag:s}}=e,r=Zt(l),[u]=e.propsOptions;let c=!1;if((a||s>0)&&!(s&16)){if(s&8){const d=e.vnode.dynamicProps;for(let f=0;f{u=!0;const[h,m]=Zy(f,t,!0);Qt(s,h),m&&r.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!u)return rt(e)&&a.set(e,Jr),Jr;if(ve(o))for(let d=0;de==="_"||e==="_ctx"||e==="$stable",lv=e=>ve(e)?e.map(Ba):[Ba(e)],pk=(e,t,n)=>{if(t._n)return t;const a=ne((...l)=>lv(t(...l)),n);return a._c=!1,a},Qy=(e,t,n)=>{const a=e._ctx;for(const l in e){if(av(l))continue;const o=e[l];if(Ke(o))t[l]=pk(l,o,a);else if(o!=null){const s=lv(o);t[l]=()=>s}}},eb=(e,t)=>{const n=lv(t);e.slots.default=()=>n},tb=(e,t,n)=>{for(const a in t)(n||!av(a))&&(e[a]=t[a])},hk=(e,t,n)=>{const a=e.slots=Gy();if(e.vnode.shapeFlag&32){const l=t._;l?(tb(a,t,n),n&&N6(a,"_",l,!0)):Qy(t,a)}else t&&eb(e,t)},vk=(e,t,n)=>{const{vnode:a,slots:l}=e;let o=!0,s=nn;if(a.shapeFlag&32){const r=t._;r?n&&r===1?o=!1:tb(l,t,n):(o=!t.$stable,Qy(t,l)),s=t}else t&&(eb(e,t),s={default:1});if(o)for(const r in l)!av(r)&&s[r]==null&&delete l[r]},Fn=ib;function ov(e){return nb(e)}function sv(e){return nb(e,Vx)}function nb(e,t){const n=Zf();n.__VUE__=!0;const{insert:a,remove:l,patchProp:o,createElement:s,createText:r,createComment:u,setText:c,setElementText:d,parentNode:f,nextSibling:h,setScopeId:m=ut,insertStaticContent:v}=e,p=(U,J,se,fe=null,me=null,we=null,Ve=void 0,Ae=null,xe=!!J.dynamicChildren)=>{if(U===J)return;U&&!kl(U,J)&&(fe=ue(U),q(U,me,we,!0),U=null),J.patchFlag===-2&&(xe=!1,J.dynamicChildren=null);const{type:he,ref:Ee,shapeFlag:$e}=J;switch(he){case Ml:g(U,J,se,fe);break;case pn:y(U,J,se,fe);break;case Vo:U==null&&b(J,se,fe,Ve);break;case He:N(U,J,se,fe,me,we,Ve,Ae,xe);break;default:$e&1?_(U,J,se,fe,me,we,Ve,Ae,xe):$e&6?R(U,J,se,fe,me,we,Ve,Ae,xe):($e&64||$e&128)&&he.process(U,J,se,fe,me,we,Ve,Ae,xe,X)}Ee!=null&&me?ti(Ee,U&&U.ref,we,J||U,!J):Ee==null&&U&&U.ref!=null&&ti(U.ref,null,we,U,!0)},g=(U,J,se,fe)=>{if(U==null)a(J.el=r(J.children),se,fe);else{const me=J.el=U.el;J.children!==U.children&&c(me,J.children)}},y=(U,J,se,fe)=>{U==null?a(J.el=u(J.children||""),se,fe):J.el=U.el},b=(U,J,se,fe)=>{[U.el,U.anchor]=v(U.children,J,se,fe,U.el,U.anchor)},C=({el:U,anchor:J},se,fe)=>{let me;for(;U&&U!==J;)me=h(U),a(U,se,fe),U=me;a(J,se,fe)},w=({el:U,anchor:J})=>{let se;for(;U&&U!==J;)se=h(U),l(U),U=se;l(J)},_=(U,J,se,fe,me,we,Ve,Ae,xe)=>{if(J.type==="svg"?Ve="svg":J.type==="math"&&(Ve="mathml"),U==null)k(J,se,fe,me,we,Ve,Ae,xe);else{const he=U.el&&U.el._isVueCE?U.el:null;try{he&&he._beginPatch(),T(U,J,me,we,Ve,Ae,xe)}finally{he&&he._endPatch()}}},k=(U,J,se,fe,me,we,Ve,Ae)=>{let xe,he;const{props:Ee,shapeFlag:$e,transition:Re,dirs:Ge}=U;if(xe=U.el=s(U.type,we,Ee&&Ee.is,Ee),$e&8?d(xe,U.children):$e&16&&E(U.children,xe,null,fe,me,dp(U,we),Ve,Ae),Ge&&Zl(U,null,fe,"created"),M(xe,U,U.scopeId,Ve,fe),Ee){for(const Xe in Ee)Xe!=="value"&&!Po(Xe)&&o(xe,Xe,null,Ee[Xe],we,fe);"value"in Ee&&o(xe,"value",null,Ee.value,we),(he=Ee.onVnodeBeforeMount)&&La(he,fe,U)}Ge&&Zl(U,null,fe,"beforeMount");const Ze=ab(me,Re);Ze&&Re.beforeEnter(xe),a(xe,J,se),((he=Ee&&Ee.onVnodeMounted)||Ze||Ge)&&Fn(()=>{try{he&&La(he,fe,U),Ze&&Re.enter(xe),Ge&&Zl(U,null,fe,"mounted")}finally{}},me)},M=(U,J,se,fe,me)=>{if(se&&m(U,se),fe)for(let we=0;we{for(let he=xe;he{const Ae=J.el=U.el;let{patchFlag:xe,dynamicChildren:he,dirs:Ee}=J;xe|=U.patchFlag&16;const $e=U.props||nn,Re=J.props||nn;let Ge;if(se&&Rs(se,!1),(Ge=Re.onVnodeBeforeUpdate)&&La(Ge,se,J,U),Ee&&Zl(J,U,se,"beforeUpdate"),se&&Rs(se,!0),he&&(!U.dynamicChildren||U.dynamicChildren.length!==he.length)&&(xe=0,Ve=!1,he=null),($e.innerHTML&&Re.innerHTML==null||$e.textContent&&Re.textContent==null)&&d(Ae,""),he?O(U.dynamicChildren,he,Ae,se,fe,dp(J,me),we):Ve||L(U,J,Ae,null,se,fe,dp(J,me),we,!1),xe>0){if(xe&16)I(Ae,$e,Re,se,me);else if(xe&2&&$e.class!==Re.class&&o(Ae,"class",null,Re.class,me),xe&4&&o(Ae,"style",$e.style,Re.style,me),xe&8){const Ze=J.dynamicProps;for(let Xe=0;Xe{Ge&&La(Ge,se,J,U),Ee&&Zl(J,U,se,"updated")},fe)},O=(U,J,se,fe,me,we,Ve)=>{for(let Ae=0;Ae{if(J!==se){if(J!==nn)for(const we in J)!Po(we)&&!(we in se)&&o(U,we,J[we],null,me,fe);for(const we in se){if(Po(we))continue;const Ve=se[we],Ae=J[we];Ve!==Ae&&we!=="value"&&o(U,we,Ae,Ve,me,fe)}"value"in se&&o(U,"value",J.value,se.value,me)}},N=(U,J,se,fe,me,we,Ve,Ae,xe)=>{const he=J.el=U?U.el:r(""),Ee=J.anchor=U?U.anchor:r("");let{patchFlag:$e,dynamicChildren:Re,slotScopeIds:Ge}=J;Ge&&(Ae=Ae?Ae.concat(Ge):Ge),U==null?(a(he,se,fe),a(Ee,se,fe),E(J.children||[],se,Ee,me,we,Ve,Ae,xe)):$e>0&&$e&64&&Re&&U.dynamicChildren&&U.dynamicChildren.length===Re.length?(O(U.dynamicChildren,Re,se,me,we,Ve,Ae),(J.key!=null||me&&J===me.subTree)&&rv(U,J,!0)):L(U,J,se,Ee,me,we,Ve,Ae,xe)},R=(U,J,se,fe,me,we,Ve,Ae,xe)=>{J.slotScopeIds=Ae,U==null?J.shapeFlag&512?me.ctx.activate(J,se,fe,Ve,xe):K(J,se,fe,me,we,Ve,xe):H(U,J,xe)},K=(U,J,se,fe,me,we,Ve)=>{const Ae=U.component=pb(U,fe,me);if(gc(U)&&(Ae.ctx.renderer=X),vb(Ae,!1,Ve),Ae.asyncDep){if(me&&me.registerDep(Ae,z,Ve),!U.el){const xe=Ae.subTree=G(pn);y(null,xe,J,se),U.placeholder=xe.el}}else z(Ae,U,J,se,me,we,Ve)},H=(U,J,se)=>{const fe=J.component=U.component;if(uk(U,J,se))if(fe.asyncDep&&!fe.asyncResolved){V(fe,J,se);return}else fe.next=J,fe.update();else J.el=U.el,fe.vnode=J},z=(U,J,se,fe,me,we,Ve)=>{const Ae=()=>{if(U.isMounted){let{next:$e,bu:Re,u:Ge,parent:Ze,vnode:Xe}=U;{const Rt=lb(U);if(Rt){$e&&($e.el=Xe.el,V(U,$e,Ve)),Rt.asyncDep.then(()=>{Fn(()=>{U.isUnmounted||he()},me)});return}}let gt=$e,Tt;Rs(U,!1),$e?($e.el=Xe.el,V(U,$e,Ve)):$e=Xe,Re&&Zr(Re),(Tt=$e.props&&$e.props.onVnodeBeforeUpdate)&&La(Tt,Ze,$e,Xe),Rs(U,!0);const Pt=Md(U),$t=U.subTree;U.subTree=Pt,p($t,Pt,f($t.el),ue($t),U,me,we),$e.el=Pt.el,gt===null&&v0(U,Pt.el),Ge&&Fn(Ge,me),(Tt=$e.props&&$e.props.onVnodeUpdated)&&Fn(()=>La(Tt,Ze,$e,Xe),me)}else{let $e;const{el:Re,props:Ge}=J,{bm:Ze,m:Xe,parent:gt,root:Tt,type:Pt}=U,$t=Ro(J);if(Rs(U,!1),Ze&&Zr(Ze),!$t&&($e=Ge&&Ge.onVnodeBeforeMount)&&La($e,gt,J),Rs(U,!0),Re&&re){const Rt=()=>{U.subTree=Md(U),re(Re,U.subTree,U,me,null)};$t&&Pt.__asyncHydrate?Pt.__asyncHydrate(Re,U,Rt):Rt()}else{Tt.ce&&Tt.ce._hasShadowRoot()&&Tt.ce._injectChildStyle(Pt,U.parent?U.parent.type:void 0);const Rt=U.subTree=Md(U);p(null,Rt,se,fe,U,me,we),J.el=Rt.el}if(Xe&&Fn(Xe,me),!$t&&($e=Ge&&Ge.onVnodeMounted)){const Rt=J;Fn(()=>La($e,gt,Rt),me)}(J.shapeFlag&256||gt&&Ro(gt.vnode)&>.vnode.shapeFlag&256)&&U.a&&Fn(U.a,me),U.isMounted=!0,J=se=fe=null}};U.scope.on();const xe=U.effect=new ci(Ae);U.scope.off();const he=U.update=xe.run.bind(xe),Ee=U.job=xe.runIfDirty.bind(xe);Ee.i=U,Ee.id=U.uid,xe.scheduler=()=>H2(Ee),Rs(U,!0),he()},V=(U,J,se)=>{J.component=U;const fe=U.vnode.props;U.vnode=J,U.next=null,dk(U,J.props,fe,se),vk(U,J.children,se),Fo(),Rm(U),Ko()},L=(U,J,se,fe,me,we,Ve,Ae,xe=!1)=>{const he=U&&U.children,Ee=U?U.shapeFlag:0,$e=J.children,{patchFlag:Re,shapeFlag:Ge}=J;if(Re>0){if(Re&128){D(he,$e,se,fe,me,we,Ve,Ae,xe);return}else if(Re&256){F(he,$e,se,fe,me,we,Ve,Ae,xe);return}}Ge&8?(Ee&16&&ae(he,me,we),$e!==he&&d(se,$e)):Ee&16?Ge&16?D(he,$e,se,fe,me,we,Ve,Ae,xe):ae(he,me,we,!0):(Ee&8&&d(se,""),Ge&16&&E($e,se,fe,me,we,Ve,Ae,xe))},F=(U,J,se,fe,me,we,Ve,Ae,xe)=>{U=U||Jr,J=J||Jr;const he=U.length,Ee=J.length,$e=Math.min(he,Ee);let Re;for(Re=0;Re<$e;Re++){const Ge=J[Re]=xe?Mo(J[Re]):Ba(J[Re]);p(U[Re],Ge,se,null,me,we,Ve,Ae,xe)}he>Ee?ae(U,me,we,!0,!1,$e):E(J,se,fe,me,we,Ve,Ae,xe,$e)},D=(U,J,se,fe,me,we,Ve,Ae,xe)=>{let he=0;const Ee=J.length;let $e=U.length-1,Re=Ee-1;for(;he<=$e&&he<=Re;){const Ge=U[he],Ze=J[he]=xe?Mo(J[he]):Ba(J[he]);if(kl(Ge,Ze))p(Ge,Ze,se,null,me,we,Ve,Ae,xe);else break;he++}for(;he<=$e&&he<=Re;){const Ge=U[$e],Ze=J[Re]=xe?Mo(J[Re]):Ba(J[Re]);if(kl(Ge,Ze))p(Ge,Ze,se,null,me,we,Ve,Ae,xe);else break;$e--,Re--}if(he>$e){if(he<=Re){const Ge=Re+1,Ze=GeRe)for(;he<=$e;)q(U[he],me,we,!0),he++;else{const Ge=he,Ze=he,Xe=new Map;for(he=Ze;he<=Re;he++){const be=J[he]=xe?Mo(J[he]):Ba(J[he]);be.key!=null&&Xe.set(be.key,he)}let gt,Tt=0;const Pt=Re-Ze+1;let $t=!1,Rt=0;const tn=new Array(Pt);for(he=0;he=Pt){q(be,me,we,!0);continue}let We;if(be.key!=null)We=Xe.get(be.key);else for(gt=Ze;gt<=Re;gt++)if(tn[gt-Ze]===0&&kl(be,J[gt])){We=gt;break}We===void 0?q(be,me,we,!0):(tn[We-Ze]=he+1,We>=Rt?Rt=We:$t=!0,p(be,J[We],se,null,me,we,Ve,Ae,xe),Tt++)}const Me=$t?mk(tn):Jr;for(gt=Me.length-1,he=Pt-1;he>=0;he--){const be=Ze+he,We=J[be],de=J[be+1],je=be+1{const{el:we,type:Ve,transition:Ae,children:xe,shapeFlag:he}=U;if(he&6){j(U.component.subTree,J,se,fe);return}if(he&128){U.suspense.move(J,se,fe);return}if(he&64){Ve.move(U,J,se,X);return}if(Ve===He){a(we,J,se);for(let $e=0;$eAe.enter(we),me));else{const{leave:$e,delayLeave:Re,afterLeave:Ge}=Ae,Ze=()=>{U.ctx.isUnmounted?l(we):a(we,J,se)},Xe=()=>{const gt=we._isLeaving||!!we[il];we._isLeaving&&we[il](!0),Ae.persisted&&!gt?Ze():$e(we,()=>{Ze(),Ge&&Ge()})};Re?Re(we,Ze,Xe):Xe()}else a(we,J,se)},q=(U,J,se,fe=!1,me=!1)=>{const{type:we,props:Ve,ref:Ae,children:xe,dynamicChildren:he,shapeFlag:Ee,patchFlag:$e,dirs:Re,cacheIndex:Ge,memo:Ze}=U;if($e===-2&&(me=!1),Ae!=null&&(Fo(),ti(Ae,null,se,U,!0),Ko()),Ge!=null&&(J.renderCache[Ge]=void 0),Ee&256){J.ctx.deactivate(U);return}const Xe=Ee&1&&Re,gt=!Ro(U);let Tt;if(gt&&(Tt=Ve&&Ve.onVnodeBeforeUnmount)&&La(Tt,J,U),Ee&6)te(U.component,se,fe);else{if(Ee&128){U.suspense.unmount(se,fe);return}Xe&&Zl(U,null,J,"beforeUnmount"),Ee&64?U.type.remove(U,J,se,X,fe):he&&!he.hasOnce&&(we!==He||$e>0&&$e&64)?ae(he,J,se,!1,!0):(we===He&&$e&384||!me&&Ee&16)&&ae(xe,J,se),fe&&Q(U)}const Pt=Ze!=null&&Ge==null;(gt&&(Tt=Ve&&Ve.onVnodeUnmounted)||Xe||Pt)&&Fn(()=>{Tt&&La(Tt,J,U),Xe&&Zl(U,null,J,"unmounted"),Pt&&(U.el=null)},se)},Q=U=>{const{type:J,el:se,anchor:fe,transition:me}=U;if(J===He){ee(se,fe);return}if(J===Vo){w(U);return}const we=()=>{l(se),me&&!me.persisted&&me.afterLeave&&me.afterLeave()};if(U.shapeFlag&1&&me&&!me.persisted){const{leave:Ve,delayLeave:Ae}=me,xe=()=>Ve(se,we);Ae?Ae(U.el,we,xe):xe()}else we()},ee=(U,J)=>{let se;for(;U!==J;)se=h(U),l(U),U=se;l(J)},te=(U,J,se)=>{const{bum:fe,scope:me,job:we,subTree:Ve,um:Ae,m:xe,a:he}=U;lf(xe),lf(he),fe&&Zr(fe),me.stop(),we&&(we.flags|=8,q(Ve,U,J,se)),Ae&&Fn(Ae,J),Fn(()=>{U.isUnmounted=!0},J)},ae=(U,J,se,fe=!1,me=!1,we=0)=>{for(let Ve=we;Ve{if(U.shapeFlag&6)return ue(U.component.subTree);if(U.shapeFlag&128)return U.suspense.next();const J=h(U.anchor||U.el),se=J&&J[my];return se?h(se):J};let pe=!1;const ge=(U,J,se)=>{let fe;U==null?J._vnode&&(q(J._vnode,null,null,!0),fe=J._vnode.component):p(J._vnode||null,U,J,null,null,null,se),J._vnode=U,pe||(pe=!0,Rm(fe),Qd(),pe=!1)},X={p,um:q,m:j,r:Q,mt:K,mc:E,pc:L,pbc:O,n:ue,o:e};let Z,re;return t&&([Z,re]=t(X)),{render:ge,hydrate:Z,createApp:ak(ge,Z)}}function dp({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Rs({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ab(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function rv(e,t,n=!1){const a=e.children,l=t.children;if(ve(a)&&ve(l))for(let o=0;o>1,e[n[r]]0&&(t[a]=n[o-1]),n[o]=a)}}for(o=n.length,s=n[o-1];o-- >0;)n[o]=s,s=t[s];return n}function lb(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:lb(t)}function lf(e){if(e)for(let t=0;te.__isSuspense;let ch=0;const gk={name:"Suspense",__isSuspense:!0,process(e,t,n,a,l,o,s,r,u,c){if(e==null)yk(t,n,a,l,o,s,r,u,c);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}bk(e,t,n,a,l,s,r,u,c)}},hydrate:wk,normalize:Ck},sb=gk;function Lu(e,t){const n=e.props&&e.props[t];Ke(n)&&n()}function yk(e,t,n,a,l,o,s,r,u){const{p:c,o:{createElement:d}}=u,f=d("div"),h=e.suspense=rb(e,l,a,t,f,n,o,s,r,u);c(null,h.pendingBranch=e.ssContent,f,null,a,h,o,s),h.deps>0?(Lu(e,"onPending"),Lu(e,"onFallback"),c(null,e.ssFallback,t,n,a,null,o,s),ni(h,e.ssFallback)):h.resolve(!1,!0)}function bk(e,t,n,a,l,o,s,r,{p:u,um:c,o:{createElement:d}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const h=t.ssContent,m=t.ssFallback,{activeBranch:v,pendingBranch:p,isInFallback:g,isHydrating:y}=f;if(p)f.pendingBranch=h,kl(p,h)?(u(p,h,f.hiddenContainer,null,l,f,o,s,r),f.deps<=0?f.resolve():g&&!y&&!f.isFallbackMountPending&&(u(v,m,n,a,l,null,o,s,r),ni(f,m))):(f.pendingId=ch++,y?(f.isHydrating=!1,f.activeBranch=p):c(p,l,f),f.deps=0,f.effects.length=0,f.hiddenContainer=d("div"),g?(u(null,h,f.hiddenContainer,null,l,f,o,s,r),f.deps<=0?f.resolve():f.isFallbackMountPending||(u(v,m,n,a,l,null,o,s,r),ni(f,m))):v&&kl(v,h)?(u(v,h,n,a,l,f,o,s,r),f.resolve(!0)):(u(null,h,f.hiddenContainer,null,l,f,o,s,r),f.deps<=0&&f.resolve()));else if(v&&kl(v,h))u(v,h,n,a,l,f,o,s,r),ni(f,h);else if(Lu(t,"onPending"),f.pendingBranch=h,h.shapeFlag&512?f.pendingId=h.component.suspenseId:f.pendingId=ch++,u(null,h,f.hiddenContainer,null,l,f,o,s,r),f.deps<=0)f.resolve();else{const{timeout:b,pendingId:C}=f;b>0?setTimeout(()=>{f.pendingId===C&&f.fallback(m)},b):b===0&&f.fallback(m)}}function rb(e,t,n,a,l,o,s,r,u,c,d=!1){const{p:f,m:h,um:m,n:v,o:{parentNode:p,remove:g}}=c;let y;const b=_k(e);b&&t&&t.pendingBranch&&(y=t.pendingId,t.deps++);const C=e.props?Gd(e.props.timeout):void 0,w=o,_={vnode:e,parent:t,parentComponent:n,namespace:s,container:a,hiddenContainer:l,deps:0,pendingId:ch++,timeout:typeof C=="number"?C:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(k=!1,M=!1){const{vnode:E,activeBranch:T,pendingBranch:O,pendingId:I,effects:N,parentComponent:R,container:K,isInFallback:H}=_;let z=!1;if(_.isHydrating)_.isHydrating=!1;else if(!k){z=T&&O.transition&&O.transition.mode==="out-in";let F=!1;z&&(T.transition.afterLeave=()=>{I===_.pendingId&&(h(O,K,o===w&&!F?v(T):o,0),fi(N),H&&E.ssFallback&&(E.ssFallback.el=null))}),T&&!_.isFallbackMountPending&&(p(T.el)===K&&(o=v(T),F=!0),m(T,R,_,!0),!z&&H&&E.ssFallback&&Fn(()=>E.ssFallback.el=null,_)),z||h(O,K,o,0)}_.isFallbackMountPending=!1,ni(_,O),_.pendingBranch=null,_.isInFallback=!1;let V=_.parent,L=!1;for(;V;){if(V.pendingBranch){for(let F=0;F{if(_.isFallbackMountPending=!1,!_.isInFallback)return;const H=_.vnode.ssFallback;f(null,H,O,N,T,null,I,r,u),ni(_,H)},K=k.transition&&k.transition.mode==="out-in";K&&(_.isFallbackMountPending=!0,E.transition.afterLeave=R),_.isInFallback=!0,m(E,T,null,!0),K||R()},move(k,M,E){_.activeBranch&&h(_.activeBranch,k,M,E),_.container=k},next(){return _.activeBranch&&v(_.activeBranch)},registerDep(k,M,E){const T=!!_.pendingBranch;T&&_.deps++;const O=k.vnode.el;k.asyncDep.catch(I=>{$s(I,k,0)}).then(I=>{if(k.isUnmounted||_.isUnmounted||_.pendingId!==k.suspenseId)return;Bu(),k.asyncResolved=!0;const{vnode:N}=k;dh(k,I,!1),O&&(N.el=O);const R=!O&&k.subTree.el;M(k,N,p(O||k.subTree.el),O?null:v(k.subTree),_,s,E),R&&(N.placeholder=null,g(R)),v0(k,N.el),T&&--_.deps===0&&_.resolve()})},unmount(k,M){_.isUnmounted=!0,_.activeBranch&&m(_.activeBranch,n,k,M),_.pendingBranch&&m(_.pendingBranch,n,k,M)}};return _}function wk(e,t,n,a,l,o,s,r,u){const c=t.suspense=rb(t,a,n,e.parentNode,document.createElement("div"),null,l,o,s,r,!0),d=u(e,c.pendingBranch=t.ssContent,n,c,o,s);return c.deps===0&&c.resolve(!1,!0),d}function Ck(e){const{shapeFlag:t,children:n}=e,a=t&32;e.ssContent=Um(a?n.default:n),e.ssFallback=a?Um(n.fallback):G(pn)}function Um(e){let t;if(Ke(e)){const n=rr&&e._c;n&&(e._d=!1,S()),e=e(),n&&(e._d=!0,t=ba,m0())}return ve(e)&&(e=sk(e)),e=Ba(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function ib(e,t){t&&t.pendingBranch?ve(e)?t.effects.push(...e):t.effects.push(e):fi(e)}function ni(e,t){e.activeBranch=t;const{vnode:n,parentComponent:a}=e;let l=t.el;for(;!l&&t.component;)t=t.component.subTree,l=t.el;n.el=l,a&&a.subTree===n&&(a.vnode.el=l,v0(a,l))}function _k(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const He=Symbol.for("v-fgt"),Ml=Symbol.for("v-txt"),pn=Symbol.for("v-cmt"),Vo=Symbol.for("v-stc"),Lo=[];let ba=null;function S(e=!1){Lo.push(ba=e?null:[])}function m0(){Lo.pop(),ba=Lo[Lo.length-1]||null}let rr=1;function pi(e,t=!1){rr+=e,e<0&&ba&&t&&(ba.hasOnce=!0)}function ub(e){return e.dynamicChildren=rr>0?ba||Jr:null,m0(),rr>0&&ba&&ba.push(e),e}function A(e,t,n,a,l,o){return ub($(e,t,n,a,l,o,!0))}function ie(e,t,n,a,l){return ub(G(e,t,n,a,l,!0))}function Yt(e){return e?e.__v_isVNode===!0:!1}function kl(e,t){return e.type===t.type&&e.key===t.key}function cb(e){}const db=({key:e})=>e??null,Od=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ne(e)||en(e)||Ke(e)?{i:ia,r:e,k:t,f:!!n}:e:null);function $(e,t=null,n=null,a=0,l=null,o=e===He?0:1,s=!1,r=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&db(t),ref:t&&Od(t),scopeId:r0,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:a,dynamicProps:l,dynamicChildren:null,appContext:null,ctx:ia};return r?(sf(u,n),o&128&&e.normalize(u)):n&&(u.shapeFlag|=Ne(n)?8:16),rr>0&&!s&&ba&&(u.patchFlag>0||o&6)&&u.patchFlag!==32&&ba.push(u),u}const G=Sk;function Sk(e,t=null,n=null,a=0,l=null,o=!1){if((!e||e===Oy)&&(e=pn),Yt(e)){const r=ja(e,t,!0);return n&&sf(r,n),rr>0&&!o&&ba&&(r.shapeFlag&6?ba[ba.indexOf(e)]=r:ba.push(r)),r.patchFlag=-2,r}if(Mk(e)&&(e=e.__vccOpts),t){t=Ol(t);let{class:r,style:u}=t;r&&!Ne(r)&&(t.class=P(r)),rt(u)&&(Li(u)&&!ve(u)&&(u=Qt({},u)),t.style=Ye(u))}const s=Ne(e)?1:of(e)?128:u0(e)?64:rt(e)?4:Ke(e)?2:0;return $(e,t,n,a,l,s,o,!0)}function Ol(e){return e?Li(e)||Xy(e)?Qt({},e):e:null}function ja(e,t,n=!1,a=!1){const{props:l,ref:o,patchFlag:s,children:r,transition:u}=e,c=t?vt(l||{},t):l,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&db(c),ref:t&&t.ref?n&&o?ve(o)?o.concat(Od(t)):[o,Od(t)]:Od(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==He?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ja(e.ssContent),ssFallback:e.ssFallback&&ja(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&a&&io(d,u.clone(d)),d}function bt(e=" ",t=0){return G(Ml,null,e,t)}function fb(e,t){const n=G(Vo,null,e);return n.staticCount=t,n}function oe(e="",t=!1){return t?(S(),ie(pn,null,e)):G(pn,null,e)}function Ba(e){return e==null||typeof e=="boolean"?G(pn):ve(e)?G(He,null,e.slice()):Yt(e)?Mo(e):G(Ml,null,String(e))}function Mo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ja(e)}function sf(e,t){let n=0;const{shapeFlag:a}=e;if(t==null)t=null;else if(ve(t))n=16;else if(typeof t=="object")if(a&65){const l=t.default;l&&(l._c&&(l._d=!1),sf(e,l()),l._c&&(l._d=!0));return}else{n=32;const l=t._;!l&&!Xy(t)?t._ctx=ia:l===3&&ia&&(ia.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(Ke(t)){if(a&65){sf(e,{default:t});return}t={default:t,_ctx:ia},n=32}else t=String(t),a&64?(n=16,t=[bt(t)]):n=8;e.children=t,e.shapeFlag|=n}function vt(...e){const t={};for(let n=0;nra||ia;let rf,bs;{const e=Zf(),t=(n,a)=>{let l;return(l=e[n])||(l=e[n]=[]),l.push(a),o=>{l.length>1?l.forEach(s=>s(o)):l[0](o)}};rf=t("__VUE_INSTANCE_SETTERS__",n=>ra=n),bs=t("__VUE_SSR_SETTERS__",n=>ir=n)}const Di=e=>{const t=ra;return rf(e),e.scope.on(),()=>{e.scope.off(),rf(t)}},Bu=()=>{ra&&ra.scope.off(),rf(null)};function hb(e){return e.vnode.shapeFlag&4}let ir=!1;function vb(e,t=!1,n=!1){t&&bs(t);const{props:a,children:l}=e.vnode,o=hb(e);ck(e,a,o,t),hk(e,l,n||t);const s=o?Ek(e,t):void 0;return t&&bs(!1),s}function Ek(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,sh);const{setup:a}=n;if(a){Fo();const l=e.setupContext=a.length>1?yb(e):null,o=Di(e),s=xr(a,e,0,[e.props,l]),r=Ho(s);if(Ko(),o(),(r||e.sp)&&!Ro(e)&&q2(e),r){if(s.then(Bu,Bu),t)return s.then(u=>{bs(!0);try{dh(e,u,t)}finally{bs(!1)}}).catch(u=>{$s(u,e,0)});e.asyncDep=s}else dh(e,s,t)}else gb(e,t)}function dh(e,t,n){Ke(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:rt(t)&&(e.setupState=s0(t)),gb(e,n)}let uf,fh;function iv(e){uf=e,fh=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Xx))}}const mb=()=>!uf;function gb(e,t,n){const a=e.type;if(!e.render){if(!t&&uf&&!a.render){const l=a.template||nv(e).template;if(l){const{isCustomElement:o,compilerOptions:s}=e.appContext.config,{delimiters:r,compilerOptions:u}=a,c=Qt(Qt({isCustomElement:o,delimiters:r},s),u);a.render=uf(l,c)}}e.render=a.render||ut,fh&&fh(e)}{const l=Di(e);Fo();try{Jx(e)}finally{Ko(),l()}}}const Tk={get(e,t){return ya(e,"get",""),e[t]}};function yb(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Tk),slots:e.slots,emit:e.emit,expose:t}}function bc(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(s0(pl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in _u)return _u[n](e)},has(t,n){return n in t||n in _u}})):e.proxy}function ph(e,t=!0){return Ke(e)?e.displayName||e.name:e.name||t&&e.__name}function Mk(e){return Ke(e)&&"__vccOpts"in e}const x=(e,t)=>_x(e,t,ir);function Je(e,t,n){try{pi(-1);const a=arguments.length;return a===2?rt(t)&&!ve(t)?Yt(t)?G(e,null,[t]):G(e,t):G(e,null,t):(a>3?n=Array.prototype.slice.call(arguments,2):a===3&&Yt(n)&&(n=[n]),G(e,t,n))}finally{pi(1)}}function bb(){}function wb(e,t,n,a){const l=n[a];if(l&&uv(l,e))return l;const o=t();return o.memo=e.slice(),o.cacheIndex=a,n[a]=o}function uv(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let a=0;a0&&ba&&ba.push(e),!0}const cv="3.5.42",dv=ut,Cb=Ex,_b=Wr,Sb=cy,Ok={createComponentInstance:pb,setupComponent:vb,renderComponentRoot:Md,setCurrentRenderingInstance:Ru,isVNode:Yt,normalizeVNode:Ba,getComponentPublicInstance:bc,ensureValidVNode:ev,pushWarningContext:xx,popWarningContext:kx},xb=Ok,kb=null,Eb=null,Tb=null;/** +* @vue/runtime-dom v3.5.42 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let hh;const Ym=typeof window<"u"&&window.trustedTypes;if(Ym)try{hh=Ym.createPolicy("vue",{createHTML:e=>e})}catch{}const Mb=hh?e=>hh.createHTML(e):e=>e,$k="http://www.w3.org/2000/svg",Nk="http://www.w3.org/1998/Math/MathML",To=typeof document<"u"?document:null,Gm=To&&To.createElement("template"),fv={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,a)=>{const l=t==="svg"?To.createElementNS($k,e):t==="mathml"?To.createElementNS(Nk,e):n?To.createElement(e,{is:n}):To.createElement(e);return e==="select"&&a&&a.multiple!=null&&l.setAttribute("multiple",a.multiple),l},createText:e=>To.createTextNode(e),createComment:e=>To.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>To.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,a,l,o){const s=n?n.previousSibling:t.lastChild;if(l&&(l===o||l.nextSibling))for(;t.insertBefore(l.cloneNode(!0),n),!(l===o||!(l=l.nextSibling)););else{Gm.innerHTML=Mb(a==="svg"?`${e}`:a==="mathml"?`${e}`:e);const r=Gm.content;if(a==="svg"||a==="mathml"){const u=r.firstChild;for(;u.firstChild;)r.appendChild(u.firstChild);r.removeChild(u)}t.insertBefore(r,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},as="transition",tu="animation",hi=Symbol("_vtc"),Ob={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},$b=Qt({},d0,Ob),Ak=e=>(e.displayName="Transition",e.props=$b,e),Yn=Ak((e,{slots:t})=>Je(j2,Nb(e),t)),Vs=(e,t=[])=>{ve(e)?e.forEach(n=>n(...t)):e&&e(...t)},Xm=e=>e?ve(e)?e.some(t=>t.length>1):e.length>1:!1;function Nb(e){const t={};for(const N in e)N in Ob||(t[N]=e[N]);if(e.css===!1)return t;const{name:n="v",type:a,duration:l,enterFromClass:o=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:r=`${n}-enter-to`,appearFromClass:u=o,appearActiveClass:c=s,appearToClass:d=r,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,v=Ik(l),p=v&&v[0],g=v&&v[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:C,onLeave:w,onLeaveCancelled:_,onBeforeAppear:k=y,onAppear:M=b,onAppearCancelled:E=C}=t,T=(N,R,K,H)=>{N._enterCancelled=H,ss(N,R?d:r),ss(N,R?c:s),K&&K()},O=(N,R)=>{N._isLeaving=!1,ss(N,f),ss(N,m),ss(N,h),R&&R()},I=N=>(R,K)=>{const H=N?M:b,z=()=>T(R,N,K);Vs(H,[R,z]),Jm(()=>{ss(R,N?u:o),Xl(R,N?d:r),Xm(H)||Zm(R,a,p,z)})};return Qt(t,{onBeforeEnter(N){Vs(y,[N]),Xl(N,o),Xl(N,s)},onBeforeAppear(N){Vs(k,[N]),Xl(N,u),Xl(N,c)},onEnter:I(!1),onAppear:I(!0),onLeave(N,R){N._isLeaving=!0;const K=()=>O(N,R);Xl(N,f),N._enterCancelled?(Xl(N,h),vh(N)):(vh(N),Xl(N,h)),Jm(()=>{N._isLeaving&&(ss(N,f),Xl(N,m),Xm(w)||Zm(N,a,g,K))}),Vs(w,[N,K])},onEnterCancelled(N){T(N,!1,void 0,!0),Vs(C,[N])},onAppearCancelled(N){T(N,!0,void 0,!0),Vs(E,[N])},onLeaveCancelled(N){O(N),Vs(_,[N])}})}function Ik(e){if(e==null)return null;if(rt(e))return[fp(e.enter),fp(e.leave)];{const t=fp(e);return[t,t]}}function fp(e){return Gd(e)}function Xl(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[hi]||(e[hi]=new Set)).add(t)}function ss(e,t){t.split(/\s+/).forEach(a=>a&&e.classList.remove(a));const n=e[hi];n&&(n.delete(t),n.size||(e[hi]=void 0))}function Jm(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Pk=0;function Zm(e,t,n,a){const l=e._endId=++Pk,o=()=>{l===e._endId&&a()};if(n!=null)return setTimeout(o,n);const{type:s,timeout:r,propCount:u}=Ab(e,t);if(!s)return a();const c=s+"end";let d=0;const f=()=>{e.removeEventListener(c,h),o()},h=m=>{m.target===e&&++d>=u&&f()};setTimeout(()=>{d(n[v]||"").split(", "),l=a(`${as}Delay`),o=a(`${as}Duration`),s=Qm(l,o),r=a(`${tu}Delay`),u=a(`${tu}Duration`),c=Qm(r,u);let d=null,f=0,h=0;t===as?s>0&&(d=as,f=s,h=o.length):t===tu?c>0&&(d=tu,f=c,h=u.length):(f=Math.max(s,c),d=f>0?s>c?as:tu:null,h=d?d===as?o.length:u.length:0);const m=d===as&&/\b(?:transform|all)(?:,|$)/.test(a(`${as}Property`).toString());return{type:d,timeout:f,propCount:h,hasTransform:m}}function Qm(e,t){for(;e.lengtheg(n)+eg(e[a])))}function eg(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function vh(e){return(e?e.ownerDocument:document).body.offsetHeight}function Rk(e,t,n){const a=e[hi];a&&(t=(t?[t,...a]:[...a]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const cf=Symbol("_vod"),pv=Symbol("_vsh"),It={name:"show",beforeMount(e,{value:t},{transition:n}){e[cf]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):nu(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:a}){!t!=!n&&(a?t?(a.beforeEnter(e),nu(e,!0),a.enter(e)):a.leave(e,()=>{nu(e,!1)}):nu(e,t))},beforeUnmount(e,{value:t}){nu(e,t)}};function nu(e,t){e.style.display=t?e[cf]:"none",e[pv]=!t}function Vk(){It.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Ib=Symbol("");function Pb(e){const t=st();if(!t)return;const n=t.ut=(l=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>df(o,l))},a=()=>{const l=e(t.proxy);t.ce?df(t.ce,l):mh(t.subTree,l),n(l)};zi(()=>{fi(a)}),mt(()=>{ce(a,ut,{flush:"post"});const l=new MutationObserver(a);l.observe(t.subTree.el.parentNode,{childList:!0}),yo(()=>l.disconnect())})}function mh(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{mh(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)df(e.el,t);else if(e.type===He)e.children.forEach(n=>mh(n,t));else if(e.type===Vo){let{el:n,anchor:a}=e;for(;n&&(df(n,t),n!==a);)n=n.nextSibling}}function df(e,t){if(e.nodeType===1){const n=e.style;let a="";for(const l in t){const o=JS(t[l]);n.setProperty(`--${l}`,o),a+=`--${l}: ${o};`}n[Ib]=a}}const Lk=/(?:^|;)\s*display\s*:/;function Bk(e,t,n){const a=e.style,l=Ne(n);let o=!1;if(n&&!l){if(t)if(Ne(t))for(const s of t.split(";")){const r=s.slice(0,s.indexOf(":")).trim();n[r]==null&&pu(a,r,"")}else for(const s in t)n[s]==null&&pu(a,s,"");for(const s in n){s==="display"&&(o=!0);const r=n[s];r!=null?Dk(e,s,!Ne(t)&&t?t[s]:void 0,r)||pu(a,s,r):pu(a,s,"")}}else if(l){if(t!==n){const s=a[Ib];s&&(n+=";"+s),a.cssText=n,o=Lk.test(n)}}else t&&e.removeAttribute("style");cf in e&&(e[cf]=o?a.display:"",e[pv]&&(a.display="none"))}const nd=/\s*!important$/;function pu(e,t,n){if(ve(n))n.forEach(a=>pu(e,t,a));else if(n==null&&(n=""),t.startsWith("--"))nd.test(n)?e.setProperty(t,n.replace(nd,""),"important"):e.setProperty(t,n);else{const a=zk(e,t);nd.test(n)?e.setProperty(Ma(a),n.replace(nd,""),"important"):e[a]=n}}const tg=["Webkit","Moz","ms"],pp={};function zk(e,t){const n=pp[t];if(n)return n;let a=cn(t);if(a!=="filter"&&a in e)return pp[t]=a;a=qo(a);for(let l=0;lhp||(qk.then(()=>hp=0),hp=Date.now());function Yk(e,t){const n=a=>{if(!a._vts)a._vts=Date.now();else if(a._vts<=n.attached)return;const l=n.value;if(ve(l)){const o=a.stopImmediatePropagation;a.stopImmediatePropagation=()=>{o.call(a),a._stopped=!0};const s=l.slice(),r=[a];for(let u=0;ue.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,hv=(e,t,n,a,l,o)=>{const s=l==="svg";t==="class"?Rk(e,a,s):t==="style"?Bk(e,n,a):Sr(t)?Yf(t)||Fk(e,t,n,a,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Gk(e,t,a,s))?(lg(e,t,a),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ag(e,t,a,s,o,t!=="value")):e._isVueCE&&(Xk(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ne(a)))?lg(e,cn(t),a,o,t):(t==="true-value"?e._trueValue=a:t==="false-value"&&(e._falseValue=a),ag(e,t,a,s))};function Gk(e,t,n,a){if(a)return!!(t==="innerHTML"||t==="textContent"||t in e&&sg(t)&&Ke(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const l=e.tagName;if(l==="IMG"||l==="VIDEO"||l==="CANVAS"||l==="SOURCE")return!1}return sg(t)&&Ne(n)?!1:t in e}function Xk(e,t){const n=e._def.props;if(!n)return!1;const a=cn(t);return Array.isArray(n)?n.some(l=>cn(l)===a):Object.keys(n).some(l=>cn(l)===a)}const rg={};function vv(e,t,n){let a=W(e,t);or(a)&&(a=Qt({},a,t));class l extends wc{constructor(s){super(a,s,n)}}return l.def=a,l}const Rb=(e,t)=>vv(e,t,bv),Jk=typeof HTMLElement<"u"?HTMLElement:class{};class wc extends Jk{constructor(t,n={},a=zu){super(),this._def=t,this._props=n,this._createApp=a,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&a!==zu?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(Qt({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.assignedSlot||t.parentNode||t.host);)if(t instanceof wc){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{if(this._pendingResolve=void 0,this.isConnected)return this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,Pe(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const n of t)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let a=0;a{this._resolved=!0,this._pendingResolve=void 0;const{props:o,styles:s}=a;let r;if(o&&!ve(o))for(const u in o){const c=o[u];(c===Number||c&&c.type===Number)&&(u in this._props&&(this._props[u]=Gd(this._props[u])),(r||(r=Object.create(null)))[cn(u)]=!0)}this._numberProps=r,this._resolveProps(a),this.shadowRoot&&this._applyStyles(s),this._mount(a)},n=this._def.__asyncLoader;if(n)return this._pendingResolve=n().then(a=>{a.configureApp=this._def.configureApp,t(this._def=a,!0)}),this._pendingResolve;t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const a in n)zt(this,a)||Object.defineProperty(this,a,{get:()=>i(n[a])})}_resolveProps(t){const{props:n}=t,a=ve(n)?n:Object.keys(n||{});for(const l of Object.keys(this))l[0]!=="_"&&a.includes(l)&&this._setProp(l,this[l]);for(const l of a.map(cn))Object.defineProperty(this,l,{get(){return this._getProp(l)},set(o){this._setProp(l,o,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let a=n?this.getAttribute(t):rg;const l=cn(t);n&&this._numberProps&&this._numberProps[l]&&(a=Gd(a)),this._setProp(l,a,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,a=!0,l=!1){if(n!==this._props[t]&&(this._dirty=!0,n===rg?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),l&&this._instance&&this._update(),a)){const o=this._ob;o&&(this._processMutations(o.takeRecords()),o.disconnect()),n===!0?this.setAttribute(Ma(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Ma(t),n+""):n||this.removeAttribute(Ma(t)),o&&o.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Vl(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=G(this._def,Qt(t,this._props));return this._instance||(n.ce=a=>{this._instance=a,a.ce=this,a.isCE=!0;const l=(o,s)=>{this.dispatchEvent(new CustomEvent(o,or(s[0])?Qt({detail:s},s[0]):{detail:s}))};a.emit=(o,...s)=>{l(o,s),Ma(o)!==o&&l(Ma(o),s)},this._setParent()}),n}_applyStyles(t,n,a){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const l=this._nonce,o=this.shadowRoot,s=a?this._getStyleAnchor(a)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(o);let r=null;for(let u=t.length-1;u>=0;u--){const c=document.createElement("style");l&&c.setAttribute("nonce",l),c.textContent=t[u],o.insertBefore(c,r||s),r=c,u===0&&(a||this._styleAnchors.set(this._def,c),n&&this._styleAnchors.set(n,c))}}_getStyleAnchor(t){if(!t)return null;const n=this._styleAnchors.get(t);return n&&n.parentNode===this.shadowRoot?n:(n&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let n=0;n(delete e.props.mode,e),Qk=Zk({name:"TransitionGroup",props:Qt({},$b,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=st(),a=c0();let l,o;return qa(()=>{if(!l.length)return;const s=e.moveClass||`${e.name||"v"}-move`;if(!a7(l[0].el,n.vnode.el,s)){l=[];return}l.forEach(e7),l.forEach(t7);const r=l.filter(n7);vh(n.vnode.el),r.forEach(u=>{const c=u.el,d=c.style;Xl(c,s),d.transform=d.webkitTransform=d.transitionDuration="";const f=c[ff]=h=>{h&&h.target!==c||(!h||h.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",f),c[ff]=null,ss(c,s))};c.addEventListener("transitionend",f)}),l=[]}),()=>{const s=Zt(e),r=Nb(s);let u=s.tag||He;if(l=[],o)for(let c=0;c{r.split(/\s+/).forEach(u=>u&&a.classList.remove(u))}),n.split(/\s+/).forEach(r=>r&&a.classList.add(r)),a.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(a);const{hasTransform:s}=Ab(a);return o.removeChild(a),s}const ks=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ve(t)?n=>Zr(t,n):t};function l7(e){e.target.composing=!0}function ug(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Za=Symbol("_assign"),ad=Symbol("_initialValue");function vp(e,t,n){return t&&(e=e.trim()),n&&(e=Jf(e)),e}const ur={created(e,{modifiers:{lazy:t,trim:n,number:a}},l){e.parentNode&&(e.type==="text"?e[ad]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[ad]=e.defaultValue.replace(/\r\n?/g,` +`))),e[Za]=ks(l);const o=a||l.props&&l.props.type==="number";Ao(e,t?"change":"input",s=>{s.target.composing||e[Za](vp(e.value,n,o))}),(n||o)&&Ao(e,"change",()=>{e.value=vp(e.value,n,o)}),t||(Ao(e,"compositionstart",l7),Ao(e,"compositionend",ug),Ao(e,"change",ug))},mounted(e,{value:t,modifiers:{trim:n,number:a}}){const l=t??"",o=e[ad];delete e[ad],o!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==o?e[Za](vp(e.value,n,a)):e.value=l},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:a,trim:l,number:o}},s){if(e[Za]=ks(s),e.composing)return;const r=(o||e.type==="number")&&!/^0\d/.test(e.value)?Jf(e.value):e.value,u=t??"";if(r===u)return;const c=e.getRootNode();(c instanceof Document||c instanceof ShadowRoot)&&c.activeElement===e&&e.type!=="range"&&(a&&t===n||l&&e.value.trim()===u)||(e.value=u)}},Hi={deep:!0,created(e,t,n){e[Za]=ks(n),Ao(e,"change",()=>{const a=e._modelValue,l=vi(e),o=e.checked,s=e[Za];if(ve(a)){const r=Qf(a,l),u=r!==-1;if(o&&!u)s(a.concat(l));else if(!o&&u){const c=[...a];c.splice(r,1),s(c)}}else if(ro(a)){const r=new Set(a);o?r.add(l):r.delete(l),s(r)}else s(Hb(e,o))})},mounted:cg,beforeUpdate(e,t,n){e[Za]=ks(n),cg(e,t,n)}};function cg(e,{value:t,oldValue:n},a){e._modelValue=t;let l;if(ve(t))l=Qf(t,a.props.value)>-1;else if(ro(t))l=t.has(a.props.value);else{if(t===n)return;l=ml(t,Hb(e,!0))}e.checked!==l&&(e.checked=l)}const Fi={created(e,{value:t},n){e.checked=ml(t,n.props.value),e[Za]=ks(n),Ao(e,"change",()=>{e[Za](vi(e))})},beforeUpdate(e,{value:t,oldValue:n},a){e[Za]=ks(a),t!==n&&(e.checked=ml(t,a.props.value))}},gv={deep:!0,created(e,{value:t,modifiers:{number:n}},a){e._modelValue=t,Ao(e,"change",()=>{const l=Array.prototype.filter.call(e.options,u=>u.selected).map(u=>n?Jf(vi(u)):vi(u)),o=e.multiple,s=o?ro(e._modelValue)?new Set(l):l:l[0],r=e._pendingValue=[o,o?ve(s)?l.slice():l:s];try{e[Za](s)}finally{Pe(()=>{e._pendingValue===r&&(e._pendingValue=void 0)})}}),e[Za]=ks(a)},mounted(e,{value:t}){dg(e,t)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[Za]=ks(n)},updated(e,{value:t}){const n=e._pendingValue;e._pendingValue=void 0,(!n||n[0]!==e.multiple||!o7(t,n[1],n[0]))&&dg(e,t)}};function o7(e,t,n){if(!n||ve(e))return ml(e,t);if(ro(e)){if(e.size!==t.length)return!1;for(const a of t)if(!e.has(a))return!1;return!0}return!1}function dg(e,t){const n=e.multiple,a=ve(t);if(!(n&&!a&&!ro(t))){for(let l=0,o=e.options.length;lString(c)===String(r)):s.selected=Qf(t,r)>-1}else s.selected=t.has(r);else if(ml(vi(s),t)){e.selectedIndex!==l&&(e.selectedIndex=l);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function vi(e){return"_value"in e?e._value:e.value}function Hb(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const yv={created(e,t,n){ld(e,t,n,null,"created")},mounted(e,t,n){ld(e,t,n,null,"mounted")},beforeUpdate(e,t,n,a){ld(e,t,n,a,"beforeUpdate")},updated(e,t,n,a){ld(e,t,n,a,"updated")}};function Fb(e,t){switch(e){case"SELECT":return gv;case"TEXTAREA":return ur;default:switch(t){case"checkbox":return Hi;case"radio":return Fi;default:return ur}}}function ld(e,t,n,a,l){const s=Fb(e.tagName,n.props&&n.props.type)[l];s&&s(e,t,n,a)}function s7(){ur.getSSRProps=({value:e})=>({value:e}),Fi.getSSRProps=({value:e},t)=>{if(t.props&&ml(t.props.value,e))return{checked:!0}},Hi.getSSRProps=({value:e},t)=>{if(ve(e)){if(t.props&&Qf(e,t.props.value)>-1)return{checked:!0}}else if(ro(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},yv.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Fb(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const r7=["ctrl","shift","alt","meta"],i7={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>r7.some(n=>e[`${n}Key`]&&!t.includes(n))},Qe=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),a=t.join(".");return n[a]||(n[a]=(l,...o)=>{for(let s=0;s{const n=e._withKeys||(e._withKeys={}),a=t.join(".");return n[a]||(n[a]=l=>{if(!("key"in l))return;const o=Ma(l.key);if(t.some(s=>s===o||u7[s]===o))return e(l)})},Kb=Qt({patchProp:hv},fv);let Su,fg=!1;function Wb(){return Su||(Su=ov(Kb))}function jb(){return Su=fg?Su:sv(Kb),fg=!0,Su}const Vl=(...e)=>{Wb().render(...e)},qb=(...e)=>{jb().hydrate(...e)},zu=(...e)=>{const t=Wb().createApp(...e),{mount:n}=t;return t.mount=a=>{const l=Yb(a);if(!l)return;const o=t._component;!Ke(o)&&!o.render&&!o.template&&(o.template=l.innerHTML),l.nodeType===1&&(l.textContent="");const s=n(l,!1,Ub(l));return l instanceof Element&&(l.removeAttribute("v-cloak"),l.setAttribute("data-v-app","")),s},t},bv=(...e)=>{const t=jb().createApp(...e),{mount:n}=t;return t.mount=a=>{const l=Yb(a);if(l)return n(l,!0,Ub(l))},t};function Ub(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Yb(e){return Ne(e)?document.querySelector(e):e}let pg=!1;const Gb=()=>{pg||(pg=!0,s7(),Vk())},c7=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:j2,BaseTransitionPropsValidators:d0,Comment:pn,DeprecationTypes:Tb,EffectScope:e0,ErrorCodes:sy,ErrorTypeStrings:Cb,Fragment:He,KeepAlive:Ty,ReactiveEffect:ci,Static:Vo,Suspense:sb,Teleport:Ns,Text:Ml,TrackOpTypes:ty,Transition:Yn,TransitionGroup:g0,TriggerOpTypes:ny,VueElement:wc,assertNumber:oy,callWithAsyncErrorHandling:Wa,callWithErrorHandling:xr,camelize:cn,capitalize:qo,cloneVNode:ja,compatUtils:Eb,computed:x,createApp:zu,createBlock:ie,createCommentVNode:oe,createElementBlock:A,createElementVNode:$,createHydrationRenderer:sv,createPropsRestProxy:Dy,createRenderer:ov,createSSRApp:bv,createSlots:da,createStaticVNode:fb,createTextVNode:bt,createVNode:G,customRef:z2,defineAsyncComponent:Ey,defineComponent:W,defineCustomElement:vv,defineEmits:Ny,defineExpose:Ay,defineModel:Ry,defineOptions:Iy,defineProps:$y,defineSSRCustomElement:Rb,defineSlots:Py,devtools:_b,effect:H6,effectScope:R2,getCurrentInstance:st,getCurrentScope:pc,getCurrentWatcher:ay,getTransitionRawChildren:mc,guardReactiveProps:Ol,h:Je,handleError:$s,hasInjectionContext:i0,hydrate:qb,hydrateOnIdle:_y,hydrateOnInteraction:ky,hydrateOnMediaQuery:xy,hydrateOnVisible:Sy,initCustomFormatter:bb,initDirectivesForSSR:Gb,inject:De,isMemoSame:uv,isProxy:Li,isReactive:ao,isReadonly:Pl,isRef:en,isRuntimeOnly:mb,isShallow:Na,isVNode:Yt,markRaw:pl,mergeDefaults:By,mergeModels:zy,mergeProps:vt,nextTick:Pe,nodeOps:fv,normalizeClass:P,normalizeProps:El,normalizeStyle:Ye,onActivated:kr,onBeforeMount:Bi,onBeforeUnmount:Ht,onBeforeUpdate:zi,onDeactivated:yc,onErrorCaptured:J2,onMounted:mt,onRenderTracked:X2,onRenderTriggered:G2,onScopeDispose:t0,onServerPrefetch:Y2,onUnmounted:yo,onUpdated:qa,onWatcherCleanup:D2,openBlock:S,patchProp:hv,popScopeId:fy,provide:Et,proxyRefs:s0,pushScopeId:dy,queuePostFlushCb:fi,reactive:Dt,readonly:xs,ref:B,registerRuntimeCompiler:iv,render:Vl,renderList:wt,renderSlot:le,resolveComponent:Kt,resolveDirective:p0,resolveDynamicComponent:ft,resolveFilter:kb,resolveTransitionHooks:sr,setBlockTracking:pi,setDevtoolsHook:Sb,setTransitionHooks:io,shallowReactive:hc,shallowReadonly:Vi,shallowRef:kt,ssrContextKey:F2,ssrUtils:xb,stop:F6,toDisplayString:Se,toHandlerKey:no,toHandlers:tv,toRaw:Zt,toRef:At,toRefs:Bn,toValue:Sn,transformVNodeArgs:cb,triggerRef:Qr,unref:i,useAttrs:Hl,useCssModule:Lb,useCssVars:Pb,useHost:mv,useId:wy,useModel:Wy,useSSRContext:K2,useShadowRoot:Vb,useSlots:wn,useTemplateRef:Cy,useTransitionState:c0,vModelCheckbox:Hi,vModelDynamic:yv,vModelRadio:Fi,vModelSelect:gv,vModelText:ur,vShow:It,version:cv,warn:dv,watch:ce,watchEffect:la,watchPostEffect:hy,watchSyncEffect:W2,withAsyncContext:Hy,withCtx:ne,withDefaults:Vy,withDirectives:ht,withKeys:un,withMemo:wb,withModifiers:Qe,withScopeId:py},Symbol.toStringTag,{value:"Module"}));/** +* @vue/compiler-core v3.5.42 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const Du=Symbol(""),xu=Symbol(""),wv=Symbol(""),pf=Symbol(""),Xb=Symbol(""),cr=Symbol(""),Jb=Symbol(""),Zb=Symbol(""),Cv=Symbol(""),_v=Symbol(""),Cc=Symbol(""),Sv=Symbol(""),Qb=Symbol(""),xv=Symbol(""),kv=Symbol(""),Ev=Symbol(""),Tv=Symbol(""),Mv=Symbol(""),Ov=Symbol(""),e8=Symbol(""),t8=Symbol(""),y0=Symbol(""),hf=Symbol(""),$v=Symbol(""),Nv=Symbol(""),Hu=Symbol(""),_c=Symbol(""),Av=Symbol(""),gh=Symbol(""),d7=Symbol(""),yh=Symbol(""),vf=Symbol(""),f7=Symbol(""),p7=Symbol(""),Iv=Symbol(""),h7=Symbol(""),v7=Symbol(""),Pv=Symbol(""),n8=Symbol(""),mi={[Du]:"Fragment",[xu]:"Teleport",[wv]:"Suspense",[pf]:"KeepAlive",[Xb]:"BaseTransition",[cr]:"openBlock",[Jb]:"createBlock",[Zb]:"createElementBlock",[Cv]:"createVNode",[_v]:"createElementVNode",[Cc]:"createCommentVNode",[Sv]:"createTextVNode",[Qb]:"createStaticVNode",[xv]:"resolveComponent",[kv]:"resolveDynamicComponent",[Ev]:"resolveDirective",[Tv]:"resolveFilter",[Mv]:"withDirectives",[Ov]:"renderList",[e8]:"renderSlot",[t8]:"createSlots",[y0]:"toDisplayString",[hf]:"mergeProps",[$v]:"normalizeClass",[Nv]:"normalizeStyle",[Hu]:"normalizeProps",[_c]:"guardReactiveProps",[Av]:"toHandlers",[gh]:"camelize",[d7]:"capitalize",[yh]:"toHandlerKey",[vf]:"setBlockTracking",[f7]:"pushScopeId",[p7]:"popScopeId",[Iv]:"withCtx",[h7]:"unref",[v7]:"isRef",[Pv]:"withMemo",[n8]:"isMemoSame"};function m7(e){Object.getOwnPropertySymbols(e).forEach(t=>{mi[t]=e[t]})}const sl={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function g7(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:sl}}function Fu(e,t,n,a,l,o,s,r=!1,u=!1,c=!1,d=sl){return e&&(r?(e.helper(cr),e.helper(bi(e.inSSR,c))):e.helper(yi(e.inSSR,c)),s&&e.helper(Mv)),{type:13,tag:t,props:n,children:a,patchFlag:l,dynamicProps:o,directives:s,isBlock:r,disableTracking:u,isComponent:c,loc:d}}function Zs(e,t=sl){return{type:17,loc:t,elements:e}}function cl(e,t=sl){return{type:15,loc:t,properties:e}}function qn(e,t){return{type:16,loc:sl,key:Ne(e)?Gt(e,!0):e,value:t}}function Gt(e,t=!1,n=sl,a=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:a}}function $l(e,t=sl){return{type:8,loc:t,children:e}}function Zn(e,t=[],n=sl){return{type:14,loc:n,callee:e,arguments:t}}function gi(e,t=void 0,n=!1,a=!1,l=sl){return{type:18,params:e,returns:t,newline:n,isSlot:a,loc:l}}function bh(e,t,n,a=!0){return{type:19,test:e,consequent:t,alternate:n,newline:a,loc:sl}}function y7(e,t,n=!1,a=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:a,needArraySpread:!1,loc:sl}}function b7(e){return{type:21,body:e,loc:sl}}function yi(e,t){return e||t?Cv:_v}function bi(e,t){return e||t?Jb:Zb}function Rv(e,{helper:t,removeHelper:n,inSSR:a}){e.isBlock||(e.isBlock=!0,n(yi(a,e.isComponent)),t(cr),t(bi(a,e.isComponent)))}const hg=new Uint8Array([123,123]),vg=new Uint8Array([125,125]);function mg(e){return e>=97&&e<=122||e>=65&&e<=90}function Ja(e){return e===32||e===10||e===9||e===12||e===13}function ls(e){return e===47||e===62||Ja(e)}function mf(e){const t=new Uint8Array(e.length);for(let n=0;n100){let s=-1,r=l;for(;s+1>>1;this.newlines[u]=0;s--)if(t>this.newlines[s]){o=s;break}return o>=0&&(n=o+2,a=t-this.newlines[o]),{column:a,line:n,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?ls(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||Ja(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart=t||(this.state===28?this.currentSequence===pa.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){}}function gg(e,{compatConfig:t}){const n=t&&t[e];return e==="MODE"?n||3:n}function Qs(e,t){const n=gg("MODE",t),a=gg(e,t);return n===3?a===!0:a!==!1}function Ku(e,t,n,...a){return Qs(e,t)}function Vv(e){throw e}function a8(e){}function Nn(e,t,n,a){const l=`https://vuejs.org/error-reference/#compiler-${e}`,o=new SyntaxError(String(l));return o.code=e,o.loc=t,o}const Oa=e=>e.type===4&&e.isStatic;function l8(e){switch(e){case"Teleport":case"teleport":return xu;case"Suspense":case"suspense":return wv;case"KeepAlive":case"keep-alive":return pf;case"BaseTransition":case"base-transition":return Xb}}const C7=/^$|^\d|[^\$\w\xA0-\uFFFF]/,Lv=e=>!C7.test(e),o8=/[A-Za-z_$\xA0-\uFFFF]/,_7=/[\.\?\w$\xA0-\uFFFF]/,S7=/\s+[.[]\s*|\s*[.[]\s+/g,s8=e=>e.type===4?e.content:e.loc.source,x7=e=>{const t=s8(e).trim().replace(S7,r=>r.trim());let n=0,a=[],l=0,o=0,s=null;for(let r=0;r|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,E7=e=>k7.test(s8(e)),T7=E7;function ul(e,t,n=!1){for(let a=0;at.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function mp(e){return e.type===5||e.type===2}function yg(e){return e.type===7&&e.name==="pre"}function O7(e){return e.type===7&&e.name==="slot"}function gf(e){return e.type===1&&e.tagType===3}function yf(e){return e.type===1&&e.tagType===2}const $7=new Set([Hu,_c]);function Bv(e,t=[]){if(e&&!Ne(e)&&e.type===14){const n=e.callee;if(!Ne(n)&&$7.has(n))return Bv(e.arguments[0],t.concat(e))}return[e,t]}function bf(e,t,n){if(e.type!==13&&N7(e,t))return;let a,l=e.type===13?e.props:e.arguments[2],o=[],s;if(l&&!Ne(l)&&l.type===14){const r=Bv(l);l=r[0],o=r[1],s=o[o.length-1]}if(l==null||Ne(l))a=cl([t]);else if(l.type===14){const r=l.arguments[0];!Ne(r)&&r.type===15?wh(t,r)||r.properties.unshift(t):l.callee===Av?a=Zn(n.helper(hf),[cl([t]),l]):l.arguments.unshift(cl([t])),!a&&(a=l)}else l.type===15?(wh(t,l)||l.properties.unshift(t),a=l):(a=Zn(n.helper(hf),[cl([t]),l]),s&&s.callee===_c&&(s=o[o.length-2]));e.type===13?s?s.arguments[0]=a:e.props=a:s?s.arguments[0]=a:e.arguments[2]=a}function N7(e,t){var n,a,l;if(t.key.type!==4||t.key.content!=="key")return!1;const o=e.arguments[2];if(o&&!Ne(o)){const[s]=Bv(o);if(s&&!Ne(s)&&s.type===15&&wh(t,s))return!0}return(n=e.arguments)[2]||(n[2]="{}"),(a=e.arguments)[3]||(a[3]="undefined"),(l=e.arguments)[4]||(l[4]="undefined"),e.arguments[5]=t.value,!0}function wh(e,t){let n=!1;if(e.key.type===4){const a=e.key.content;n=t.properties.some(l=>l.key.type===4&&l.key.content===a)}return n}function Wu(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,a)=>n==="-"?"_":e.charCodeAt(a).toString())}`}function A7(e){return e.type===14&&e.callee===Pv?e.arguments[1].returns:e}const I7=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function i8(e){for(let t=0;t0,isVoidTag:Ur,isPreTag:Ur,isIgnoreNewlineTag:Ur,isCustomElement:Ur,onError:Vv,onWarn:a8,comments:!1,prefixIdentifiers:!1};let fn=c8,ju=null,Bo="",ga=null,an=null,Va="",Eo=-1,zs=-1,Dv=0,ps=!1,Ch=null;const Mn=[],Ln=new w7(Mn,{onerr:xo,ontext(e,t){od(sa(e,t),e,t)},ontextentity(e,t,n){od(e,t,n)},oninterpolation(e,t){if(ps)return od(sa(e,t),e,t);let n=e+Ln.delimiterOpen.length,a=t-Ln.delimiterClose.length;for(;Ja(Bo.charCodeAt(n));)n++;for(;Ja(Bo.charCodeAt(a-1));)a--;let l=sa(n,a);l.includes("&")&&(l=fn.decodeEntities(l,!1)),_h({type:5,content:Nd(l,!1,Dn(n,a)),loc:Dn(e,t)})},onopentagname(e,t){const n=sa(e,t);ga={type:1,tag:n,ns:fn.getNamespace(n,Mn[0],fn.ns),tagType:0,props:[],children:[],loc:Dn(e-1,t),codegenNode:void 0}},onopentagend(e){wg(e)},onclosetag(e,t){const n=sa(e,t);if(!fn.isVoidTag(n)){let a=!1;for(let l=0;l0&&xo(24,Mn[0].loc.start.offset);for(let s=0;s<=l;s++){const r=Mn.shift();$d(r,t,s(a.type===7?a.rawName:a.name)===n)&&xo(2,t)},onattribend(e,t){if(ga&&an){if(js(an.loc,t),e!==0)if(Va.includes("&")&&(Va=fn.decodeEntities(Va,!0)),an.type===6)an.name==="class"&&(Va=p8(Va).trim()),e===1&&!Va&&xo(13,t),an.value={type:2,content:Va,loc:e===1?Dn(Eo,zs):Dn(Eo-1,zs+1)},Ln.inSFCRoot&&ga.tag==="template"&&an.name==="lang"&&Va&&Va!=="html"&&Ln.enterRCDATA(mf("l.content==="sync"))>-1&&Ku("COMPILER_V_BIND_SYNC",fn,an.loc,an.arg.loc.source)&&(an.name="model",an.modifiers.splice(a,1))}(an.type!==7||an.name!=="pre")&&ga.props.push(an)}Va="",Eo=zs=-1},oncomment(e,t){fn.comments&&_h({type:3,content:sa(e,t),loc:Dn(e-4,t+3)})},onend(){const e=Bo.length;for(let t=0;t{const v=t.start.offset+h,p=v+f.length;return Nd(f,!1,Dn(v,p),0,m?1:0)},r={source:s(o.trim(),n.indexOf(o,l.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let u=l.trim().replace(P7,"").trim();const c=l.indexOf(u),d=u.match(bg);if(d){u=u.replace(bg,"").trim();const f=d[1].trim();let h;if(f&&(h=n.indexOf(f,c+u.length),r.key=s(f,h,!0)),d[2]){const m=d[2].trim();m&&(r.index=s(m,n.indexOf(m,r.key?h+f.length:c+u.length),!0))}}return u&&(r.value=s(u,c,!0)),r}function sa(e,t){return Bo.slice(e,t)}function wg(e){Ln.inSFCRoot&&(ga.innerLoc=Dn(e+1,e+1)),_h(ga);const{tag:t,ns:n}=ga;n===0&&fn.isPreTag(t)&&Dv++,fn.isVoidTag(t)?$d(ga,e):(Mn.unshift(ga),(n===1||n===2)&&(Ln.inXML=!0)),ga=null}function od(e,t,n){{const o=Mn[0]&&Mn[0].tag;o!=="script"&&o!=="style"&&e.includes("&")&&(e=fn.decodeEntities(e,!1))}const a=Mn[0]||ju,l=a.children[a.children.length-1];l&&l.type===2?(l.content+=e,js(l.loc,n)):a.children.push({type:2,content:e,loc:Dn(t,n)})}function $d(e,t,n=!1){n?js(e.loc,d8(t,60)):js(e.loc,V7(t,62)+1),Ln.inSFCRoot&&(e.children.length?e.innerLoc.end=Qt({},e.children[e.children.length-1].loc.end):e.innerLoc.end=Qt({},e.innerLoc.start),e.innerLoc.source=sa(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:a,ns:l,children:o}=e;if(ps||(a==="slot"?e.tagType=2:Cg(e)?e.tagType=3:B7(e)&&(e.tagType=1)),Ln.inRCDATA||(e.children=f8(o)),l===0&&fn.isIgnoreNewlineTag(a)){const s=o[0];s&&s.type===2&&(s.content=s.content.replace(/^\r?\n/,""))}l===0&&fn.isPreTag(a)&&Dv--,Ch===e&&(ps=Ln.inVPre=!1,Ch=null),Ln.inXML&&(Mn[0]?Mn[0].ns:fn.ns)===0&&(Ln.inXML=!1);{const s=e.props;if(!Ln.inSFCRoot&&Qs("COMPILER_NATIVE_TEMPLATE",fn)&&e.tag==="template"&&!Cg(e)){const u=Mn[0]||ju,c=u.children.indexOf(e);u.children.splice(c,1,...e.children)}const r=s.find(u=>u.type===6&&u.name==="inline-template");r&&Ku("COMPILER_INLINE_TEMPLATE",fn,r.loc)&&e.children.length&&(r.value={type:2,content:sa(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:r.loc})}}function V7(e,t){let n=e;for(;Bo.charCodeAt(n)!==t&&n=0;)n--;return n}const L7=new Set(["if","else","else-if","for","slot"]);function Cg({tag:e,props:t}){if(e==="template"){for(let n=0;n64&&e<91}const D7=/\r\n/g;function f8(e){const t=fn.whitespace!=="preserve";let n=!1;for(let a=0;an.type!==3);return t.length===1&&t[0].type===1&&!yf(t[0])?t[0]:null}function Ad(e,t,n,a=!1,l=!1){const{children:o}=e,s=[];for(let d=0;d0){if(h>=2){f.codegenNode.patchFlag=-1,s.push(f);continue}}else{const m=f.codegenNode;if(m.type===13){const v=m.patchFlag;if((v===void 0||v===512||v===1)&&m8(f,n)>=2){const p=g8(f);p&&(m.props=n.hoist(p))}m.dynamicProps&&(m.dynamicProps=n.hoist(m.dynamicProps))}}}else if(f.type===12&&(a?0:Qa(f,n))>=2){f.codegenNode.type===14&&f.codegenNode.arguments.length>0&&f.codegenNode.arguments.push("-1"),s.push(f);continue}if(f.type===1){const h=f.tagType===1;h&&n.scopes.vSlot++,Ad(f,e,n,!1,l),h&&n.scopes.vSlot--}else if(f.type===11)Ad(f,e,n,f.children.length===1,!0);else if(f.type===9)for(let h=0;hm.key===f||m.key.content===f);return h&&h.value}}s.length&&n.transformHoist&&n.transformHoist(o,n,e)}function Qa(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const a=n.get(e);if(a!==void 0)return a;const l=e.codegenNode;if(l.type!==13||l.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(l.patchFlag===void 0){let s=3;const r=m8(e,t);if(r===0)return n.set(e,0),0;r1)for(let u=0;uI&&(E.childIndex--,E.onNodeRemoved()),E.parent.children.splice(I,1)},onNodeRemoved:ut,addIdentifiers(T){},removeIdentifiers(T){},hoist(T){Ne(T)&&(T=Gt(T)),E.hoists.push(T);const O=Gt(`_hoisted_${E.hoists.length}`,!1,T.loc,2);return O.hoisted=T,O},cache(T,O=!1,I=!1){const N=y7(E.cached.length,T,O,I);return E.cached.push(N),N}};return E.filters=new Set,E}function G7(e,t){const n=Y7(e,t);w0(e,n),t.hoistStatic&&q7(e,n),t.ssr||X7(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function X7(e,t){const{helper:n}=t,{children:a}=e;if(a.length===1){const l=h8(e);if(l&&l.codegenNode){const o=l.codegenNode;o.type===13&&Rv(o,t),e.codegenNode=o}else e.codegenNode=a[0]}else if(a.length>1){let l=64;e.codegenNode=Fu(t,n(Du),void 0,e.children,l,void 0,void 0,!0,void 0,!1)}}function J7(e,t){let n=0;const a=()=>{n--};for(;na===e:a=>e.test(a);return(a,l)=>{if(a.type===1){const{props:o}=a;if(a.tagType===3&&o.some(O7))return;const s=[];for(let r=0;r`${mi[e]}: _${mi[e]}`;function Z7(e,{mode:t="function",prefixIdentifiers:n=t==="module",sourceMap:a=!1,filename:l="template.vue.html",scopeId:o=null,optimizeImports:s=!1,runtimeGlobalName:r="Vue",runtimeModuleName:u="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:d=!1,isTS:f=!1,inSSR:h=!1}){const m={mode:t,prefixIdentifiers:n,sourceMap:a,filename:l,scopeId:o,optimizeImports:s,runtimeGlobalName:r,runtimeModuleName:u,ssrRuntimeModuleName:c,ssr:d,isTS:f,inSSR:h,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(p){return`_${mi[p]}`},push(p,g=-2,y){m.code+=p},indent(){v(++m.indentLevel)},deindent(p=!1){p?--m.indentLevel:v(--m.indentLevel)},newline(){v(m.indentLevel)}};function v(p){m.push(` +`+" ".repeat(p),0)}return m}function Q7(e,t={}){const n=Z7(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:a,push:l,prefixIdentifiers:o,indent:s,deindent:r,newline:u,scopeId:c,ssr:d}=n,f=Array.from(e.helpers),h=f.length>0,m=!o&&a!=="module";eE(e,n);const p=d?"ssrRender":"render",y=(d?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(l(`function ${p}(${y}) {`),s(),m&&(l("with (_ctx) {"),s(),h&&(l(`const { ${f.map(b8).join(", ")} } = _Vue +`,-1),u())),e.components.length&&(gp(e.components,"component",n),(e.directives.length||e.temps>0)&&u()),e.directives.length&&(gp(e.directives,"directive",n),e.temps>0&&u()),e.filters&&e.filters.length&&(u(),gp(e.filters,"filter",n),u()),e.temps>0){l("let ");for(let b=0;b0?", ":""}_temp${b}`)}return(e.components.length||e.directives.length||e.temps)&&(l(` +`,0),u()),d||l("return "),e.codegenNode?wa(e.codegenNode,n):l("null"),m&&(r(),l("}")),r(),l("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function eE(e,t){const{ssr:n,prefixIdentifiers:a,push:l,newline:o,runtimeModuleName:s,runtimeGlobalName:r,ssrRuntimeModuleName:u}=t,c=r,d=Array.from(e.helpers);if(d.length>0&&(l(`const _Vue = ${c} +`,-1),e.hoists.length)){const f=[Cv,_v,Cc,Sv,Qb].filter(h=>d.includes(h)).map(b8).join(", ");l(`const { ${f} } = _Vue +`,-1)}tE(e.hoists,t),o(),l("return ")}function gp(e,t,{helper:n,push:a,newline:l,isTS:o}){const s=n(t==="filter"?Tv:t==="component"?xv:Ev);for(let r=0;r3||!1;t.push("["),n&&t.indent(),Sc(e,t,n),n&&t.deindent(),t.push("]")}function Sc(e,t,n=!1,a=!0){const{push:l,newline:o}=t;for(let s=0;sn||"null")}function iE(e,t){const{push:n,helper:a,pure:l}=t,o=Ne(e.callee)?e.callee:a(e.callee);l&&n(C0),n(o+"(",-2,e),Sc(e.arguments,t),n(")")}function uE(e,t){const{push:n,indent:a,deindent:l,newline:o}=t,{properties:s}=e;if(!s.length){n("{}",-2,e);return}const r=s.length>1||!1;n(r?"{":"{ "),r&&a();for(let u=0;u "),(u||r)&&(n("{"),a()),s?(u&&n("return "),ve(s)?Hv(s,t):wa(s,t)):r&&wa(r,t),(u||r)&&(l(),n("}")),c&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function fE(e,t){const{test:n,consequent:a,alternate:l,newline:o}=e,{push:s,indent:r,deindent:u,newline:c}=t;if(n.type===4){const f=!Lv(n.content);f&&s("("),w8(n,t),f&&s(")")}else s("("),wa(n,t),s(")");o&&r(),t.indentLevel++,o||s(" "),s("? "),wa(a,t),t.indentLevel--,o&&c(),o||s(" "),s(": ");const d=l.type===19;d||t.indentLevel++,wa(l,t),d||t.indentLevel--,o&&u(!0)}function pE(e,t){const{push:n,helper:a,indent:l,deindent:o,newline:s}=t,{needPauseTracking:r,needArraySpread:u}=e;u&&n("[...("),n(`_cache[${e.index}] || (`),r&&(l(),n(`${a(vf)}(-1`),e.inVOnce&&n(", true"),n("),"),s(),n("(")),n(`_cache[${e.index}] = `),wa(e.value,t),r&&(n(`).cacheIndex = ${e.index},`),s(),n(`${a(vf)}(1),`),s(),n(`_cache[${e.index}]`),o()),n(")"),u&&n(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const hE=y8(/^(?:if|else|else-if)$/,(e,t,n)=>vE(e,t,n,(a,l,o)=>{const s=n.parent.children;let r=s.indexOf(a),u=0;for(;r-->=0;){const c=s[r];c&&c.type===9&&(u+=c.branches.length)}return()=>{if(o)a.codegenNode=Sg(l,u,n);else{const c=mE(a.codegenNode);c.alternate=Sg(l,u+a.branches.length-1,n)}}}));function vE(e,t,n,a){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const l=t.exp?t.exp.loc:e.loc;n.onError(Nn(28,t.loc)),t.exp=Gt("true",!1,l)}if(t.name==="if"){const l=_g(e,t),o={type:9,loc:F7(e.loc),branches:[l]};if(n.replaceNode(o),a)return a(o,l,!0)}else{const l=n.parent.children;let o=l.indexOf(e);for(;o-->=-1;){const s=l[o];if(s&&u8(s)){n.removeNode(s);continue}if(s&&s.type===9){(t.name==="else-if"||t.name==="else")&&s.branches[s.branches.length-1].condition===void 0&&n.onError(Nn(30,e.loc)),n.removeNode();const r=_g(e,t);s.branches.push(r);const u=a&&a(s,r,!1);w0(r,n),u&&u(),n.currentNode=null}else n.onError(Nn(30,e.loc));break}}}function _g(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!ul(e,"for")?e.children:[e],userKey:b0(e,"key"),isTemplateIf:n}}function Sg(e,t,n){return e.condition?bh(e.condition,xg(e,t,n),Zn(n.helper(Cc),['""',"true"])):xg(e,t,n)}function xg(e,t,n){const{helper:a}=n,l=qn("key",Gt(`${t}`,!1,sl,2)),{children:o}=e,s=o[0];if(o.length!==1||s.type!==1)if(o.length===1&&s.type===11){const u=s.codegenNode;return bf(u,l,n),u}else return Fu(n,a(Du),cl([l]),o,64,void 0,void 0,!0,!1,!1,e.loc);else{const u=s.codegenNode,c=A7(u);return c.type===13&&Rv(c,n),bf(c,l,n),u}}function mE(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const gE=y8("for",(e,t,n)=>{const{helper:a,removeHelper:l}=n;return yE(e,t,n,o=>{const s=Zn(a(Ov),[o.source]),r=gf(e),u=ul(e,"memo"),c=b0(e,"key",!1,!0);c&&c.type;let d=c&&(c.type===6?c.value?Gt(c.value.content,!0):void 0:c.exp);const f=d?qn("key",d):null,h=o.source.type===4&&o.source.constType>0,m=h?64:c?128:256;return o.codegenNode=Fu(n,a(Du),void 0,s,m,void 0,void 0,!0,!h,!1,e.loc),()=>{var v;let p;const{children:g}=o,y=g.length!==1||g[0].type!==1,b=yf(e)?e:r&&e.children.length===1&&yf(e.children[0])?e.children[0]:null;if(b)p=b.codegenNode,r&&f&&bf(p,f,n);else if(y)p=Fu(n,a(Du),f?cl([f]):void 0,e.children,64,void 0,void 0,!0,void 0,!1);else{p=g[0].codegenNode,r&&f&&bf(p,f,n);const C=!h||p.isBlockRequired===!0;p.isBlock!==C&&(p.isBlock?(l(cr),l(bi(n.inSSR,p.isComponent))):l(yi(n.inSSR,p.isComponent))),p.isBlock=C,p.isBlock?(a(cr),a(bi(n.inSSR,p.isComponent))):(a(yi(n.inSSR,p.isComponent)),p.needsPatch&&(p.patchFlag=((v=p.patchFlag)!=null?v:0)|512))}if(u){const C=gi(Sh(o.parseResult,[Gt("_cached")]));C.body=b7([$l(["const _memo = (",u.exp,")"]),$l(["if (_cached && _cached.el",...d?[" && _cached.key === ",d]:[],` && ${n.helperString(n8)}(_cached, _memo)) return _cached`]),$l(["const _item = ",p]),Gt("_item.memo = _memo"),Gt("return _item")]),s.arguments.push(C,Gt("_cache"),Gt(String(n.cached.length))),n.cached.push(null)}else s.arguments.push(gi(Sh(o.parseResult),p,!0))}})});function yE(e,t,n,a){if(!t.exp){n.onError(Nn(31,t.loc));return}const l=t.forParseResult;if(!l){n.onError(Nn(32,t.loc));return}_8(l);const{addIdentifiers:o,removeIdentifiers:s,scopes:r}=n,{source:u,value:c,key:d,index:f}=l,h={type:11,loc:t.loc,source:u,valueAlias:c,keyAlias:d,objectIndexAlias:f,parseResult:l,children:gf(e)?e.children:[e]};n.replaceNode(h),r.vFor++;const m=a&&a(h);return()=>{r.vFor--,m&&m()}}function _8(e,t){e.finalized||(e.finalized=!0)}function Sh({value:e,key:t,index:n},a=[]){return bE([e,t,n,...a])}function bE(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,a)=>n||Gt("_".repeat(a+1),!1))}const kg=Gt("undefined",!1),wE=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=ul(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},CE=(e,t,n,a)=>gi(e,n,!1,!0,n.length?n[0].loc:a);function _E(e,t,n=CE){t.helper(Iv);const{children:a,loc:l}=e,o=[],s=[];let r=t.scopes.vSlot>0||t.scopes.vFor>0;const u=ul(e,"slot",!0);if(u){const{arg:g,exp:y}=u;g&&!Oa(g)&&(r=!0),o.push(qn(g||Gt("default",!0),n(y,void 0,a,l)))}let c=!1,d=!1;const f=[],h=new Set;let m=0;for(let g=0;g{const C=n(y,void 0,b,l);return t.compatConfig&&(C.isNonScopedSlot=!0),qn("default",C)};c?f.length&&!f.every(zv)&&(d?t.onError(Nn(39,f[0].loc)):o.push(g(void 0,f))):o.push(g(void 0,a))}const v=r?2:Id(e.children)?3:1;let p=cl(o.concat(qn("_",Gt(v+"",!1))),l);return s.length&&(p=Zn(t.helper(t8),[p,Zs(s)])),{slots:p,hasDynamicSlots:r}}function sd(e,t,n){const a=[qn("name",e),qn("fn",t)];return n!=null&&a.push(qn("key",Gt(String(n),!0))),cl(a)}function Id(e){for(let t=0;tfunction(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:a,props:l}=e,o=e.tagType===1;let s=o?xE(e,t):`"${a}"`;const r=rt(s)&&s.callee===kv;let u,c,d=0,f,h,m,v=!1,p=!1,g=r||s===xu||s===wv||!o&&(a==="svg"||a==="foreignObject"||a==="math");if(l.length>0){const b=x8(e,t,void 0,o,r);u=b.props,d=b.patchFlag,h=b.dynamicPropNames,v=b.needsPatch,p=b.isBlockRequired;const C=b.directives;m=C&&C.length?Zs(C.map(w=>EE(w,t))):void 0,b.shouldUseBlock&&(g=!0)}if(e.children.length>0)if(s===pf&&(g=!0,d|=1024),o&&s!==xu&&s!==pf){const{slots:C,hasDynamicSlots:w}=_E(e,t);c=C,w&&(d|=1024)}else if(e.children.length===1&&s!==xu){const C=e.children[0],w=C.type,_=w===5||w===8;_&&Qa(C,t)===0&&(d|=1),_||w===2?c=C:c=e.children}else c=e.children;h&&h.length&&(f=TE(h));const y=e.codegenNode=Fu(t,s,u,c,d===0?void 0:d,f,m,!!g,!1,o,e.loc);v=v&&(d===0||d===32),v&&(y.needsPatch=!0),p&&(y.isBlockRequired=!0)};function xE(e,t,n=!1){let{tag:a}=e;const l=xh(a),o=b0(e,"is",!1,!0);if(o)if(l||Qs("COMPILER_IS_ON_ELEMENT",t)){let r;if(o.type===6?r=o.value&&Gt(o.value.content,!0):(r=o.exp,r||(r=Gt("is",!1,o.arg.loc))),r)return Zn(t.helper(kv),[r])}else o.type===6&&o.value.content.startsWith("vue:")&&(a=o.value.content.slice(4));const s=l8(a)||t.isBuiltInComponent(a);return s?(n||t.helper(s),s):(t.helper(xv),t.components.add(a),Wu(a,"component"))}function x8(e,t,n=e.props,a,l,o=!1){const{tag:s,loc:r,children:u}=e;let c=[];const d=[],f=[],h=u.length>0;let m=!1,v=!1,p=0,g=!1,y=!1,b=!1,C=!1,w=!1,_=!1;const k=[],M=N=>{c.length&&(d.push(cl(Eg(c),r)),c=[]),N&&d.push(N)},E=()=>{t.scopes.vFor>0&&c.push(qn(Gt("ref_for",!0),Gt("true")))},T=({key:N,value:R})=>{if(Oa(N)){const K=N.content,H=Sr(K);if(H&&(!a||l)&&K.toLowerCase()!=="onclick"&&K!=="onUpdate:modelValue"&&!Po(K)&&(C=!0),H&&Po(K)&&(_=!0),K==="ref"&&(g=!0),H&&R.type===14&&(R=R.arguments[0]),R.type===20||(R.type===4||R.type===8)&&Qa(R,t)>0)return;K==="class"?y=!0:K==="style"?b=!0:K!=="ref"&&K!=="key"&&!k.includes(K)&&k.push(K),a&&(K==="class"||K==="style")&&!k.includes(K)&&k.push(K)}else w=!0};for(let N=0;Nq.content==="prop")&&(p|=32);const j=t.directiveTransforms[K];if(j){const{props:q,needRuntime:Q}=j(R,e,t);!o&&q.forEach(T),D&&H&&!Oa(H)?M(cl(q,r)):c.push(...q),Q&&(f.push(R),_a(Q)&&S8.set(R,Q))}else NS(K)||(f.push(R),h&&(m=!0,v=!0))}}let O;d.length?(M(),d.length>1?O=Zn(t.helper(hf),d,r):O=d[0]):c.length&&(O=cl(Eg(c),r)),w?p|=16:(y&&!a&&(p|=2),b&&!a&&(p|=4),k.length&&(p|=8),C&&(p|=32));const I=(p===0||p===32)&&(g||_||f.length>0);if(!m&&I&&(p|=512),!t.inSSR&&O)switch(O.type){case 15:let N=-1,R=-1,K=!1;for(let V=0;Vqn(s,o)),l))}return Zs(n,e.loc)}function TE(e){let t="[";for(let n=0,a=e.length;n{if(yf(e)){const{children:n,loc:a}=e,{slotName:l,slotProps:o}=OE(e,t),s=[t.prefixIdentifiers?"_ctx.$slots":"$slots",l,"{}","undefined","true"];let r=2;o&&(s[2]=o,r=3),n.length&&(s[3]=gi([],n,!1,!1,a),r=4),t.scopeId&&!t.slotted&&(r=5),s.splice(r),e.codegenNode=Zn(t.helper(e8),s,a)}};function OE(e,t){let n='"default"',a;const l=[];for(let o=0;o0){const{props:o,directives:s}=x8(e,t,l,!1,!1);a=o,s.length&&t.onError(Nn(36,s[0].loc))}return{slotName:n,slotProps:a}}const k8=(e,t,n,a)=>{const{loc:l,modifiers:o,arg:s}=e;!e.exp&&!o.length&&n.onError(Nn(35,l));let r;if(s.type===4)if(s.isStatic){let f=s.content;f.startsWith("vue:")&&(f=`vnode-${f.slice(4)}`);const h=t.tagType!==0||f.startsWith("vnode")||!/[A-Z]/.test(f)?no(cn(f)):`on:${f}`;r=Gt(h,!0,s.loc)}else r=$l([`${n.helperString(yh)}(`,s,")"]);else r=s,r.children.unshift(`${n.helperString(yh)}(`),r.children.push(")");let u=e.exp;u&&!u.content.trim()&&(u=void 0);let c=n.cacheHandlers&&!u&&!n.inVOnce;if(u){const f=r8(u),h=!(f||T7(u)),m=u.content.includes(";");(h||c&&f)&&(u=$l([`${h?"$event":"(...args)"} => ${m?"{":"("}`,u,m?"}":")"]))}let d={props:[qn(r,u||Gt("() => {}",!1,l))]};return a&&(d=a(d)),c&&(d.props[0].value=n.cache(d.props[0].value)),d.props.forEach(f=>f.key.isHandlerKey=!0),d},$E=(e,t,n)=>{const{modifiers:a,loc:l}=e,o=e.arg;let{exp:s}=e;return s&&s.type===4&&!s.content.trim()&&(s=void 0),o.type!==4?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=o.content?`${o.content} || ""`:'""'),a.some(r=>r.content==="camel")&&(o.type===4?o.isStatic?o.content=cn(o.content):o.content=`${n.helperString(gh)}(${o.content})`:(o.children.unshift(`${n.helperString(gh)}(`),o.children.push(")"))),n.inSSR||(a.some(r=>r.content==="prop")&&Tg(o,"."),a.some(r=>r.content==="attr")&&Tg(o,"^")),{props:[qn(o,s)]}},Tg=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},NE=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let a,l=!1;for(let o=0;oo.type===7&&!t.directiveTransforms[o.name])&&e.tag!=="template")))for(let o=0;o{if(e.type===1&&ul(e,"once",!0))return Mg.has(e)||t.inVOnce||t.inSSR?void 0:(Mg.add(e),t.inVOnce=!0,t.helper(vf),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0,!0))})},E8=(e,t,n)=>{const{exp:a,arg:l}=e;if(!a)return n.onError(Nn(41,e.loc)),au();const o=a.loc.source.trim(),s=a.type===4?a.content:o,r=n.bindingMetadata[o];if(r==="props"||r==="props-aliased")return n.onError(Nn(44,a.loc)),au();if(r==="literal-const"||r==="setup-const")return n.onError(Nn(45,a.loc)),au();if(!s.trim()||!r8(a))return n.onError(Nn(42,a.loc)),au();const u=l||Gt("modelValue",!0),c=l?Oa(l)?`onUpdate:${cn(l.content)}`:$l(['"onUpdate:" + ',l]):"onUpdate:modelValue";let d;const f=n.isTS?"($event: any)":"$event";d=$l([`${f} => ((`,a,") = $event)"]);const h=[qn(u,e.exp),qn(c,d)];if(e.modifiers.length&&t.tagType===1){const m=e.modifiers.map(p=>p.content).map(p=>(Lv(p)?p:JSON.stringify(p))+": true").join(", "),v=l?Oa(l)?`${l.content}Modifiers`:$l([l,' + "Modifiers"']):"modelModifiers";h.push(qn(v,Gt(`{ ${m} }`,!1,e.loc,2)))}return au(h)};function au(e=[]){return{props:e}}const IE=/[\w).+\-_$\]]/,PE=(e,t)=>{Qs("COMPILER_FILTERS",t)&&(e.type===5?wf(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&wf(n.exp,t)}))};function wf(e,t){if(e.type===4)Og(e,t);else for(let n=0;n=0&&(b=n.charAt(y),b===" ");y--);(!b||!IE.test(b))&&(s=!0)}}v===void 0?v=n.slice(0,m).trim():d!==0&&g();function g(){p.push(n.slice(d,m).trim()),d=m+1}if(p.length){for(m=0;m{if(e.type===1){const n=ul(e,"memo");return!n||$g.has(e)||t.inSSR?void 0:($g.add(e),()=>{const a=e.codegenNode||t.currentNode.codegenNode;a&&a.type===13&&(e.tagType!==1&&Rv(a,t),e.codegenNode=Zn(t.helper(Pv),[n.exp,gi(void 0,a),"_cache",String(t.cached.length)]),t.cached.push(null))})}},LE=(e,t)=>{if(e.type===1){for(const n of e.props)if(n.type===7&&n.name==="bind"&&(!n.exp||n.exp.type===4&&!n.exp.content.trim())&&n.arg){const a=n.arg;if(a.type!==4||!a.isStatic)t.onError(Nn(53,a.loc)),n.exp=Gt("",!0,a.loc);else{const l=cn(a.content);(o8.test(l[0])||l[0]==="-")&&(n.exp=Gt(l,!1,a.loc))}}}};function BE(e){return[[LE,AE,hE,VE,gE,PE,ME,SE,wE,NE],{on:k8,bind:$E,model:E8}]}function zE(e,t={}){const n=t.onError||Vv,a=t.mode==="module";t.prefixIdentifiers===!0?n(Nn(48)):a&&n(Nn(49));const l=!1;t.cacheHandlers&&n(Nn(50)),t.scopeId&&!a&&n(Nn(51));const o=Qt({},t,{prefixIdentifiers:l}),s=Ne(e)?j7(e,o):e,[r,u]=BE();return G7(s,Qt({},o,{nodeTransforms:[...r,...t.nodeTransforms||[]],directiveTransforms:Qt({},u,t.directiveTransforms||{})})),Q7(s,o)}const DE=()=>({props:[]});/** +* @vue/compiler-dom v3.5.42 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const T8=Symbol(""),M8=Symbol(""),O8=Symbol(""),$8=Symbol(""),kh=Symbol(""),N8=Symbol(""),A8=Symbol(""),I8=Symbol(""),P8=Symbol(""),R8=Symbol("");m7({[T8]:"vModelRadio",[M8]:"vModelCheckbox",[O8]:"vModelText",[$8]:"vModelSelect",[kh]:"vModelDynamic",[N8]:"withModifiers",[A8]:"withKeys",[I8]:"vShow",[P8]:"Transition",[R8]:"TransitionGroup"});let Vr;function HE(e,t=!1){return Vr||(Vr=document.createElement("div")),t?(Vr.innerHTML=`
`,Vr.children[0].getAttribute("foo")):(Vr.innerHTML=e,Vr.textContent)}const FE={parseMode:"html",isVoidTag:US,isNativeTag:e=>WS(e)||jS(e)||qS(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:HE,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return P8;if(e==="TransitionGroup"||e==="transition-group")return R8},getNamespace(e,t,n){let a=t?t.ns:n;if(t&&a===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(l=>l.type===6&&l.name==="encoding"&&l.value!=null&&(l.value.content==="text/html"||l.value.content==="application/xhtml+xml"))&&(a=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(a=0);else t&&a===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(a=0);if(a===0){if(e==="svg")return 1;if(e==="math")return 2}return a}},KE=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:Gt("style",!0,t.loc),exp:WE(t.value.content,t.loc),modifiers:[],loc:t.loc})})},WE=(e,t)=>{const n=A6(e);return Gt(JSON.stringify(n),!1,t,3)};function ws(e,t){return Nn(e,t)}const jE=(e,t,n)=>{const{exp:a,loc:l}=e;return a||n.onError(ws(54,l)),t.children.length&&(n.onError(ws(55,l)),t.children.length=0),{props:[qn(Gt("innerHTML",!0,l),a||Gt("",!0))]}},qE=(e,t,n)=>{const{exp:a,loc:l}=e;return a||n.onError(ws(56,l)),t.children.length&&(n.onError(ws(57,l)),t.children.length=0),{props:[qn(Gt("textContent",!0),a?Qa(a,n)>0?a:Zn(n.helperString(y0),[a],l):Gt("",!0))]}},UE=(e,t,n)=>{const a=E8(e,t,n);if(!a.props.length||t.tagType===1)return a;e.arg&&n.onError(ws(59,e.arg.loc));const{tag:l}=t,o=n.isCustomElement(l);if(l==="input"||l==="textarea"||l==="select"||o){let s=O8,r=!1;if(l==="input"||o){const u=b0(t,"type");if(u){if(u.type===7)s=kh;else if(u.value)switch(u.value.content){case"radio":s=T8;break;case"checkbox":s=M8;break;case"file":r=!0,n.onError(ws(60,e.loc));break}}else M7(t)&&(s=kh)}else l==="select"&&(s=$8);r||(a.needRuntime=n.helper(s))}else n.onError(ws(58,e.loc));return a.props=a.props.filter(s=>!(s.key.type===4&&s.key.content==="modelValue")),a},YE=ol("passive,once,capture"),GE=ol("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),XE=ol("left,right"),V8=ol("onkeyup,onkeydown,onkeypress"),JE=(e,t,n,a)=>{const l=[],o=[],s=[];for(let r=0;rOa(e)&&e.content.toLowerCase()==="onclick"?Gt(t,!0):e.type!==4?$l(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,ZE=(e,t,n)=>k8(e,t,n,a=>{const{modifiers:l}=e;if(!l.length)return a;let{key:o,value:s}=a.props[0];const{keyModifiers:r,nonKeyModifiers:u,eventOptionModifiers:c}=JE(o,l,n,e.loc);if(u.includes("right")&&(o=Ng(o,"onContextmenu")),u.includes("middle")&&(o=Ng(o,"onMouseup")),u.length&&(s=Zn(n.helper(N8),[s,JSON.stringify(u)])),r.length&&(!Oa(o)||V8(o.content.toLowerCase()))&&(s=Zn(n.helper(A8),[s,JSON.stringify(r)])),c.length){const d=c.map(qo).join("");o=Oa(o)?Gt(`${o.content}${d}`,!0):$l(["(",o,`) + "${d}"`])}return{props:[qn(o,s)]}}),QE=(e,t,n)=>{const{exp:a,loc:l}=e;return a||n.onError(ws(62,l)),{props:[],needRuntime:n.helper(I8)}},eT=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},tT=[KE],nT={cloak:DE,html:jE,text:qE,model:UE,on:ZE,show:QE};function aT(e,t={}){return zE(e,Qt({},FE,t,{nodeTransforms:[eT,...tT,...t.nodeTransforms||[]],directiveTransforms:Qt({},nT,t.directiveTransforms||{}),transformHoist:null}))}/** +* vue v3.5.42 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const Ag=Object.create(null);function L8(e,t){if(!Ne(e))if(e.nodeType)e=e.innerHTML;else return ut;const n=PS(e,t),a=Ag[n];if(a)return a;if(e[0]==="#"){const r=document.querySelector(e);e=r?r.innerHTML:""}const l=Qt({hoistStatic:!0,onError:void 0,onWarn:ut},t);!l.isCustomElement&&typeof customElements<"u"&&(l.isCustomElement=r=>!!customElements.get(r));const{code:o}=aT(e,l),s=new Function("Vue",o)(c7);return s._rc=!0,Ag[n]=s}iv(L8);const z0e=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:j2,BaseTransitionPropsValidators:d0,Comment:pn,DeprecationTypes:Tb,EffectScope:e0,ErrorCodes:sy,ErrorTypeStrings:Cb,Fragment:He,KeepAlive:Ty,ReactiveEffect:ci,Static:Vo,Suspense:sb,Teleport:Ns,Text:Ml,TrackOpTypes:ty,Transition:Yn,TransitionGroup:g0,TriggerOpTypes:ny,VueElement:wc,assertNumber:oy,callWithAsyncErrorHandling:Wa,callWithErrorHandling:xr,camelize:cn,capitalize:qo,cloneVNode:ja,compatUtils:Eb,compile:L8,computed:x,createApp:zu,createBlock:ie,createCommentVNode:oe,createElementBlock:A,createElementVNode:$,createHydrationRenderer:sv,createPropsRestProxy:Dy,createRenderer:ov,createSSRApp:bv,createSlots:da,createStaticVNode:fb,createTextVNode:bt,createVNode:G,customRef:z2,defineAsyncComponent:Ey,defineComponent:W,defineCustomElement:vv,defineEmits:Ny,defineExpose:Ay,defineModel:Ry,defineOptions:Iy,defineProps:$y,defineSSRCustomElement:Rb,defineSlots:Py,devtools:_b,effect:H6,effectScope:R2,getCurrentInstance:st,getCurrentScope:pc,getCurrentWatcher:ay,getTransitionRawChildren:mc,guardReactiveProps:Ol,h:Je,handleError:$s,hasInjectionContext:i0,hydrate:qb,hydrateOnIdle:_y,hydrateOnInteraction:ky,hydrateOnMediaQuery:xy,hydrateOnVisible:Sy,initCustomFormatter:bb,initDirectivesForSSR:Gb,inject:De,isMemoSame:uv,isProxy:Li,isReactive:ao,isReadonly:Pl,isRef:en,isRuntimeOnly:mb,isShallow:Na,isVNode:Yt,markRaw:pl,mergeDefaults:By,mergeModels:zy,mergeProps:vt,nextTick:Pe,nodeOps:fv,normalizeClass:P,normalizeProps:El,normalizeStyle:Ye,onActivated:kr,onBeforeMount:Bi,onBeforeUnmount:Ht,onBeforeUpdate:zi,onDeactivated:yc,onErrorCaptured:J2,onMounted:mt,onRenderTracked:X2,onRenderTriggered:G2,onScopeDispose:t0,onServerPrefetch:Y2,onUnmounted:yo,onUpdated:qa,onWatcherCleanup:D2,openBlock:S,patchProp:hv,popScopeId:fy,provide:Et,proxyRefs:s0,pushScopeId:dy,queuePostFlushCb:fi,reactive:Dt,readonly:xs,ref:B,registerRuntimeCompiler:iv,render:Vl,renderList:wt,renderSlot:le,resolveComponent:Kt,resolveDirective:p0,resolveDynamicComponent:ft,resolveFilter:kb,resolveTransitionHooks:sr,setBlockTracking:pi,setDevtoolsHook:Sb,setTransitionHooks:io,shallowReactive:hc,shallowReadonly:Vi,shallowRef:kt,ssrContextKey:F2,ssrUtils:xb,stop:F6,toDisplayString:Se,toHandlerKey:no,toHandlers:tv,toRaw:Zt,toRef:At,toRefs:Bn,toValue:Sn,transformVNodeArgs:cb,triggerRef:Qr,unref:i,useAttrs:Hl,useCssModule:Lb,useCssVars:Pb,useHost:mv,useId:wy,useModel:Wy,useSSRContext:K2,useShadowRoot:Vb,useSlots:wn,useTemplateRef:Cy,useTransitionState:c0,vModelCheckbox:Hi,vModelDynamic:yv,vModelRadio:Fi,vModelSelect:gv,vModelText:ur,vShow:It,version:cv,warn:dv,watch:ce,watchEffect:la,watchPostEffect:hy,watchSyncEffect:W2,withAsyncContext:Hy,withCtx:ne,withDefaults:Vy,withDirectives:ht,withKeys:un,withMemo:wb,withModifiers:Qe,withScopeId:py},Symbol.toStringTag,{value:"Module"}));var D0e={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空",defaultLabel:"颜色选择器",description:"当前颜色 {color},按 Enter 键选择新颜色",alphaLabel:"选择透明度的值",alphaDescription:"透明度 {alpha}, 当前颜色 {color}",hueLabel:"选择色相值",hueDescription:"色相 {hue}, 当前颜色 {color}",svLabel:"选择饱和度与明度的值",svDescription:"饱和度 {saturation}, 明度 {brightness}, 当前颜色 {color}",predefineDescription:"选择 {value} 作为颜色"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",dateTablePrompt:"使用方向键与 Enter 键可选择日期",monthTablePrompt:"使用方向键与 Enter 键可选择月份",quarterTablePrompt:"使用方向键与 Enter 键可选择季度",yearTablePrompt:"使用方向键与 Enter 键可选择年份",selectedDate:"已选日期",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},weeksFull:{sun:"星期日",mon:"星期一",tue:"星期二",wed:"星期三",thu:"星期四",fri:"星期五",sat:"星期六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},input:{characters:"{count} / {max} 个字符"},inputNumber:{decrease:"减少数值",increase:"增加数值"},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},mention:{loading:"加载中"},dropdown:{toggleDropdown:"切换下拉选项"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},dialog:{close:"关闭此对话框"},drawer:{close:"关闭此对话框"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!",close:"关闭此对话框"},upload:{deleteTip:"按 Delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},slider:{defaultLabel:"滑块介于 {min} 至 {max}",defaultRangeStartLabel:"选择起始值",defaultRangeEndLabel:"选择结束值"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计",selectAllLabel:"选择所有行",selectRowLabel:"选择当前行",expandRowLabel:"展开当前行",collapseRowLabel:"收起当前行",sortLabel:"按 {column} 排序",filterLabel:"按 {column} 过滤"},tag:{close:"关闭此标签"},tour:{next:"下一步",previous:"上一步",finish:"结束导览",close:"关闭此对话框"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"},inputOTP:{groupLabel:"一次性密码输入框",defaultLabel:"请输入第 {index} 位 OTP 字符"}}},lT={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value",alphaDescription:"alpha {alpha}, current color is {color}",hueLabel:"pick hue value",hueDescription:"hue {hue}, current color is {color}",svLabel:"pick saturation and brightness value",svDescription:"saturation {saturation}, brightness {brightness}, current color is {color}",predefineDescription:"select {value} as the color"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",quarterTablePrompt:"Use the arrow keys and enter to select the quarter",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},input:{characters:"{count} / {max} characters"},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum",selectAllLabel:"Select all rows",selectRowLabel:"Select this row",expandRowLabel:"Expand this row",collapseRowLabel:"Collapse this row",sortLabel:"Sort by {column}",filterLabel:"Filter by {column}"},tag:{close:"Close this tag"},tour:{next:"Next",previous:"Previous",finish:"Finish",close:"Close this dialog"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"},inputOTP:{groupLabel:"OTP Input",defaultLabel:"Please enter OTP character {index}"}}},H0e={name:"zh-tw",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"確認",clear:"清空",defaultLabel:"色彩選擇器",description:"目前色彩為 {color}。按一下 Enter 以選擇新色彩。",alphaLabel:"選擇透明度的值",alphaDescription:"alpha {alpha}, current color is {color}",hueLabel:"pick hue value",hueDescription:"hue {hue}, current color is {color}",svLabel:"pick saturation and brightness value",svDescription:"saturation {saturation}, brightness {brightness}, current color is {color}",predefineDescription:"select {value} as the color"},datepicker:{now:"現在",today:"今天",cancel:"取消",clear:"清空",confirm:"確認",dateTablePrompt:"使用方向鍵與 Enter 鍵以選擇日期",monthTablePrompt:"使用方向鍵與 Enter 鍵以選擇月份",quarterTablePrompt:"使用方向鍵與 Enter 鍵以選擇季度",yearTablePrompt:"使用方向鍵與 Enter 鍵以選擇年份",selectedDate:"已選日期",selectDate:"選擇日期",selectTime:"選擇時間",startDate:"開始日期",startTime:"開始時間",endDate:"結束日期",endTime:"結束時間",prevYear:"前一年",nextYear:"後一年",prevMonth:"上個月",nextMonth:"下個月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},weeksFull:{sun:"星期日",mon:"星期一",tue:"星期二",wed:"星期三",thu:"星期四",fri:"星期五",sat:"星期六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},input:{characters:"{count} / {max} 個字元"},inputNumber:{decrease:"減少數值",increase:"增加數值"},select:{loading:"載入中",noMatch:"無相符資料",noData:"無資料",placeholder:"請選擇"},mention:{loading:"載入中"},dropdown:{toggleDropdown:"切換下拉選單"},cascader:{noMatch:"無相符資料",loading:"載入中",placeholder:"請選擇",noData:"無資料"},pagination:{goto:"前往",pagesize:"項/頁",total:"共 {total} 項",pageClassifier:"頁",page:"頁",prev:"上一頁",next:"下一頁",currentPage:"第 {pager} 頁",prevPages:"向前 {pager} 頁",nextPages:"向後 {pager} 頁",deprecationWarning:"偵測到已過時的使用方式,請參閱 el-pagination 說明文件以了解更多資訊"},dialog:{close:"關閉此對話框"},drawer:{close:"關閉此對話框"},messagebox:{title:"提示",confirm:"確定",cancel:"取消",error:"輸入的資料不符合規定!",close:"關閉此對話框"},upload:{deleteTip:"按 Delete 鍵以刪除",delete:"刪除",preview:"查看圖片",continue:"繼續上傳"},slider:{defaultLabel:"滑桿介於 {min} 至 {max}",defaultRangeStartLabel:"選擇起始值",defaultRangeEndLabel:"選擇結束值"},table:{emptyText:"暫無資料",confirmFilter:"篩選",resetFilter:"重置",clearFilter:"全部",sumText:"合計",selectAllLabel:"Select all rows",selectRowLabel:"Select this row",expandRowLabel:"Expand this row",collapseRowLabel:"Collapse this row",sortLabel:"Sort by {column}",filterLabel:"Filter by {column}"},tag:{close:"關閉此標籤"},tour:{next:"下一步",previous:"上一步",finish:"結束導覽",close:"關閉此對話框"},tree:{emptyText:"暫無資料"},transfer:{noMatch:"無相符資料",noData:"無資料",titles:["列表 1","列表 2"],filterPlaceholder:"請輸入搜尋內容",noCheckedFormat:"共 {total} 項",hasCheckedFormat:"已選 {checked}/{total} 項"},image:{error:"載入失敗"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"確認",cancelButtonText:"取消"},carousel:{leftArrow:"上一張投影片",rightArrow:"下一張投影片",indicator:"投影片切換至索引 {index}"},inputOTP:{groupLabel:"一次性密碼輸入框",defaultLabel:"請輸入第 {index} 位 OTP 字元"}}},bo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function wo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function F0e(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function a(){return this instanceof a?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(a){var l=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(n,a,l.get?l:{enumerable:!0,get:function(){return e[a]}})}),n}const Ce={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},Ig=["left","center","right"],oT=["year","years","month","months","date","dates","week","quarter","quarters","datetime","datetimerange","daterange","monthrange","yearrange","quarterrange"],yp=["sun","mon","tue","wed","thu","fri","sat"],it="update:modelValue",Ct="change",In="input",Pg=Symbol("INSTALLED_KEY"),Fl=["","default","small","large"];function B8(e,t){var n;const a=kt();return la(()=>{a.value=e()},{...t,flush:(n=t==null?void 0:t.flush)!==null&&n!==void 0?n:"sync"}),xs(a)}function Es(e,t){return pc()?(t0(e,t),!0):!1}const bp=new WeakMap,sT=(...e)=>{var t;const n=e[0],a=(t=st())===null||t===void 0?void 0:t.proxy,l=a??pc();if(l==null&&!i0())throw new Error("injectLocal must be called in setup");return l&&bp.has(l)&&n in bp.get(l)?bp.get(l)[n]:De(...e)},Bt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const rT=e=>typeof e<"u",z8=e=>e!=null,iT=Object.prototype.toString,uT=e=>iT.call(e)==="[object Object]",_0=(e,t,n)=>Math.min(n,Math.max(t,e)),na=()=>{},wi=cT();function cT(){var e,t,n;return Bt&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function D8(e,t){function n(...a){return new Promise((l,o)=>{Promise.resolve(e(()=>t.apply(this,a),{fn:t,thisArg:this,args:a})).then(l).catch(o)})}return"cancel"in e&&Object.assign(n,{cancel:e.cancel,flush:e.flush,isPending:e.isPending}),n}function dT(e,t={}){let n,a,l=na,o=na;const s=kt(!1),r=d=>{clearTimeout(d),l(),l=na};let u;return Object.assign(d=>{const f=Sn(e),h=Sn(t.maxWait);return n&&r(n),f<=0||h!==void 0&&h<=0?(a&&(r(a),a=void 0),s.value=!1,Promise.resolve(d())):(s.value=!0,new Promise((m,v)=>{l=t.rejectOnCancel?v:m,o=m,u=d,h&&!a&&(a=setTimeout(()=>{n&&r(n),a=void 0,s.value=!1,m(u())},h)),n=setTimeout(()=>{a&&r(a),a=void 0,s.value=!1,m(d())},f)}))},{cancel:()=>{n&&(r(n),n=void 0),a&&(r(a),a=void 0),s.value=!1,o=na},flush:()=>{if(s.value){n&&(clearTimeout(n),n=void 0),a&&(clearTimeout(a),a=void 0),s.value=!1;const d=o;l=na,o=na,d(u())}},isPending:Vi(s)})}function fT(...e){let t=0,n,a=!0,l=na,o,s,r,u,c;!en(e[0])&&typeof e[0]=="object"?{delay:s,trailing:r=!0,leading:u=!0,rejectOnCancel:c=!1}=e[0]:[s,r=!0,u=!0,c=!1]=e;const d=()=>{n&&(clearTimeout(n),n=void 0,l(),l=na)};return h=>{const m=Sn(s),v=Date.now()-t,p=()=>o=h();return d(),m<=0?(t=Date.now(),p()):(v>m?(t=Date.now(),(u||!a)&&p()):r&&(o=new Promise((g,y)=>{l=c?y:g,n=setTimeout(()=>{t=Date.now(),a=!0,g(p()),d()},Math.max(0,m-v))})),!u&&!n&&(n=setTimeout(()=>a=!0,m)),a=!1,o)}}function Rg(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function li(e){return Array.isArray(e)?e:[e]}function pT(e){return st()}function hT(e){return Dt(en(e)?new Proxy({},{get(t,n,a){return i(Reflect.get(e.value,n,a))},set(t,n,a){return en(e.value[n])&&!en(a)?e.value[n].value=a:e.value[n]=a,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}}):e)}function vT(e){return hT(x(e))}function xc(e,t=200,n={}){return D8(dT(t,n),e)}function mT(e,t=200,n={}){const a=B(Sn(e)),l=xc(()=>{a.value=e.value},t,n);return ce(e,()=>l()),Vi(a)}function H8(e,t=200,n=!1,a=!0,l=!1){return D8(fT(t,n,a,l),e)}function Fv(e,t=!0,n){pT()?mt(e,n):t?e():Pe(e)}function gT(e,t=1e3,n={}){const{immediate:a=!0,immediateCallback:l=!1}=n;let o=null;const s=kt(!1);function r(){o&&(clearInterval(o),o=null)}function u(){s.value=!1,r()}function c(){const d=Sn(t);d<=0||(s.value=!0,l&&e(),r(),s.value&&(o=setInterval(e,d)))}return a&&Bt&&c(),(en(t)||typeof t=="function")&&Es(ce(t,()=>{s.value&&Bt&&c()})),Es(u),{isActive:Vi(s),pause:u,resume:c}}function Ci(e,t,n={}){const{immediate:a=!0,immediateCallback:l=!1}=n,o=kt(!1);let s;function r(){s&&(clearTimeout(s),s=void 0)}function u(){o.value=!1,r()}function c(...d){l&&e(),r(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=void 0,e(...d)},Sn(t))}return a&&(o.value=!0,Bt&&c()),Es(u),{isPending:Vi(o),start:c,stop:u}}function yT(e,t,n){return ce(e,t,{...n,immediate:!0})}const Cl=Bt?window:void 0,bT=Bt?window.document:void 0;function Vn(e){var t;const n=Sn(e);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function Wt(...e){const t=(a,l,o,s)=>(a.addEventListener(l,o,s),()=>a.removeEventListener(l,o,s)),n=x(()=>{const a=li(Sn(e[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0});return yT(()=>{var a,l;return[(a=(l=n.value)===null||l===void 0?void 0:l.map(o=>Vn(o)))!==null&&a!==void 0?a:[Cl].filter(o=>o!=null),li(Sn(n.value?e[1]:e[0])),li(i(n.value?e[2]:e[1])),Sn(n.value?e[3]:e[2])]},([a,l,o,s],r,u)=>{if(!(a!=null&&a.length)||!(l!=null&&l.length)||!(o!=null&&o.length))return;const c=uT(s)?{...s}:s,d=a.flatMap(f=>l.flatMap(h=>o.map(m=>t(f,h,m,c))));u(()=>{d.forEach(f=>f())})},{flush:"post"})}let Vg=!1;function Kv(e,t,n={}){const{window:a=Cl,ignore:l=[],capture:o=!0,detectIframe:s=!1,controls:r=!1}=n;if(!a)return r?{stop:na,cancel:na,trigger:na}:na;if(wi&&!Vg){Vg=!0;const g={passive:!0};Array.from(a.document.body.children).forEach(y=>y.addEventListener("click",na,g)),a.document.documentElement.addEventListener("click",na,g)}let u=!0;const c=g=>Sn(l).some(y=>{if(typeof y=="string")return Array.from(a.document.querySelectorAll(y)).some(b=>b===g.target||g.composedPath().includes(b));{const b=Vn(y);return b&&(g.target===b||g.composedPath().includes(b))}});function d(g){const y=Sn(g);return y&&y.$.subTree.shapeFlag===16}function f(g,y){const b=Sn(g),C=b.$.subTree&&b.$.subTree.children;return C==null||!Array.isArray(C)?!1:C.some(w=>w.el===y.target||y.composedPath().includes(w.el))}const h=g=>{const y=Vn(e);if(g.target!=null&&!(!(y instanceof Element)&&d(e)&&f(e,g))&&!(!y||y===g.target||g.composedPath().includes(y))){if("detail"in g&&g.detail===0&&(u=!c(g)),!u){u=!0;return}t(g)}};let m=!1;const v=[Wt(a,"click",g=>{m||(m=!0,setTimeout(()=>{m=!1},0),h(g))},{passive:!0,capture:o}),Wt(a,"pointerdown",g=>{const y=Vn(e);u=!c(g)&&!!(y&&!g.composedPath().includes(y))},{passive:!0}),s&&Wt(a,"blur",g=>{setTimeout(()=>{const y=Vn(e);let b=a.document.activeElement;for(;b!=null&&b.shadowRoot;)b=b.shadowRoot.activeElement;(b==null?void 0:b.tagName)==="IFRAME"&&!(y!=null&&y.contains(a.document.activeElement))&&t(g)},0)},{passive:!0})].filter(Boolean),p=()=>v.forEach(g=>g());return r?{stop:p,cancel:()=>{u=!1},trigger:g=>{u=!0,h(g),u=!1}}:p}function wT(){const e=kt(!1),t=st();return t&&mt(()=>{e.value=!0},t),e}function S0(e){const t=wT();return x(()=>(t.value,!!e()))}function kc(e,t,n={}){const{window:a=Cl,...l}=n;let o;const s=S0(()=>a&&"MutationObserver"in a),r=()=>{o&&(o.disconnect(),o=void 0)},u=ce(x(()=>{const f=li(Sn(e)).map(Vn).filter(z8);return new Set(f)}),f=>{r(),s.value&&f.size&&(o=new MutationObserver(t),f.forEach(h=>o.observe(h,l)))},{immediate:!0,flush:"post"}),c=()=>o==null?void 0:o.takeRecords(),d=()=>{u(),r()};return Es(d),{isSupported:s,stop:d,takeRecords:c}}function CT(e,t,n={}){const{window:a=Cl,document:l=a==null?void 0:a.document,flush:o="sync"}=n;if(!a||!l)return na;let s;const r=d=>{s==null||s(),s=d},u=la(()=>{const d=Vn(e);if(d){const{stop:f}=kc(l,h=>{h.map(m=>[...m.removedNodes]).flat().some(m=>m===d||m.contains(d))&&t(h)},{window:a,childList:!0,subtree:!0});r(f)}},{flush:o}),c=()=>{u(),r()};return Es(c),c}function _T(e={}){var t;const{window:n=Cl,deep:a=!0,triggerOnRemoval:l=!1}=e,o=(t=e.document)!==null&&t!==void 0?t:n==null?void 0:n.document,s=()=>{let c=o==null?void 0:o.activeElement;if(a)for(var d;c!=null&&c.shadowRoot;)c=c==null||(d=c.shadowRoot)===null||d===void 0?void 0:d.activeElement;return c},r=kt(),u=()=>{r.value=s()};if(n){const c={capture:!0,passive:!0};Wt(n,"blur",d=>{d.relatedTarget===null&&u()},c),Wt(n,"focus",u,c)}return l&&CT(r,u,{document:o}),u(),r}const ST=Symbol("vueuse-ssr-width");function xT(){const e=i0()?sT(ST,null):null;return typeof e=="number"?e:void 0}function kT(e,t={}){const{window:n=Cl,ssrWidth:a=xT()}=t,l=S0(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),o=kt(typeof a=="number"),s=kt(),r=kt(!1),u=c=>{r.value=c.matches};return la(()=>{if(o.value){o.value=!l.value;const c=Sn(e).split(",");r.value=c.some(d=>{const f=d.includes("not all"),h=d.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),m=d.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let v=!!(h||m);return h&&v&&(v=a>=Rg(h[1])),m&&v&&(v=a<=Rg(m[1])),f?!v:v});return}l.value&&(s.value=n.matchMedia(Sn(e)),r.value=s.value.matches)}),Wt(s,"change",u,{passive:!0}),x(()=>r.value)}function ET(e){return JSON.parse(JSON.stringify(e))}function TT(e,t,n={}){const{window:a=Cl,initialValue:l,observe:o=!1}=n,s=kt(l),r=x(()=>{var c;return Vn(t)||(a==null||(c=a.document)===null||c===void 0?void 0:c.documentElement)});function u(){const c=Sn(e),d=Sn(r);if(d&&a&&c){var f;const h=(f=a.getComputedStyle(d).getPropertyValue(c))===null||f===void 0?void 0:f.trim();s.value=h||s.value||l}}return o&&kc(r,u,{attributeFilter:["style","class"],window:a}),ce([r,()=>Sn(e)],(c,d)=>{d[0]&&d[1]&&d[0].style.removeProperty(d[1]),u()},{immediate:!0}),ce([s,r],([c,d])=>{const f=Sn(e);d!=null&&d.style&&f&&(c==null?d.style.removeProperty(f):d.style.setProperty(f,c))},{immediate:!0}),s}function MT(e={}){const{document:t=bT}=e;if(!t)return kt("visible");const n=kt(t.visibilityState);return Wt(t,"visibilitychange",()=>{n.value=t.visibilityState},{passive:!0}),n}function rn(e,t,n={}){const{window:a=Cl,...l}=n;let o;const s=S0(()=>a&&"ResizeObserver"in a),r=()=>{o&&(o.disconnect(),o=void 0)},u=ce(x(()=>{const d=Sn(e);return Array.isArray(d)?d.map(f=>Vn(f)):[Vn(d)]}),d=>{if(r(),s.value&&a){o=new ResizeObserver(t);for(const f of d)f&&o.observe(f,l)}},{immediate:!0,flush:"post"}),c=()=>{r(),u()};return Es(c),{isSupported:s,stop:c}}function Lg(e,t={}){const{reset:n=!0,windowResize:a=!0,windowScroll:l=!0,immediate:o=!0,updateTiming:s="sync"}=t,r=kt(0),u=kt(0),c=kt(0),d=kt(0),f=kt(0),h=kt(0),m=kt(0),v=kt(0);function p(){const y=Vn(e);if(!y){n&&(r.value=0,u.value=0,c.value=0,d.value=0,f.value=0,h.value=0,m.value=0,v.value=0);return}const b=y.getBoundingClientRect();r.value=b.height,u.value=b.bottom,c.value=b.left,d.value=b.right,f.value=b.top,h.value=b.width,m.value=b.x,v.value=b.y}function g(){s==="sync"?p():s==="next-frame"&&requestAnimationFrame(()=>p())}return rn(e,g),ce(()=>Vn(e),y=>!y&&g()),kc(e,g,{attributeFilter:["style","class"]}),l&&Wt("scroll",g,{capture:!0,passive:!0}),a&&Wt("resize",g,{passive:!0}),Fv(()=>{o&&g()}),{height:r,bottom:u,left:c,right:d,top:f,width:h,x:m,y:v,update:g}}function Cf(e,t={width:0,height:0},n={}){const{window:a=Cl,box:l="content-box"}=n,o=x(()=>{var f;return(f=Vn(e))===null||f===void 0||(f=f.namespaceURI)===null||f===void 0?void 0:f.includes("svg")}),s=kt(t.width),r=kt(t.height),{stop:u}=rn(e,([f])=>{const h=l==="border-box"?f.borderBoxSize:l==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(a&&o.value){const m=Vn(e);if(m){const v=m.getBoundingClientRect();s.value=v.width,r.value=v.height}}else if(h){const m=li(h);s.value=m.reduce((v,{inlineSize:p})=>v+p,0),r.value=m.reduce((v,{blockSize:p})=>v+p,0)}else s.value=f.contentRect.width,r.value=f.contentRect.height},n);Fv(()=>{const f=Vn(e);if(f&&"offsetWidth"in f)if(l==="content-box"&&a){const h=a.getComputedStyle(f),m=Number.parseFloat(h.paddingLeft)+Number.parseFloat(h.paddingRight),v=Number.parseFloat(h.paddingTop)+Number.parseFloat(h.paddingBottom),p=Number.parseFloat(h.borderLeftWidth)+Number.parseFloat(h.borderRightWidth),g=Number.parseFloat(h.borderTopWidth)+Number.parseFloat(h.borderBottomWidth);s.value=f.offsetWidth-m-p,r.value=f.offsetHeight-v-g}else s.value=f.offsetWidth,r.value=f.offsetHeight;else f&&(s.value=t.width,r.value=t.height)});const c=ce(()=>Vn(e),f=>{s.value=f?t.width:0,r.value=f?t.height:0});function d(){u(),c()}return{width:s,height:r,stop:d}}function OT(e,t,n={}){const{root:a,rootMargin:l,threshold:o=0,window:s=Cl,immediate:r=!0}=n,u=S0(()=>s&&"IntersectionObserver"in s),c=x(()=>li(Sn(e)).map(Vn).filter(z8));let d=na;const f=kt(r),h=u.value?ce(()=>[c.value,Vn(a),Sn(l),f.value],([v,p,g])=>{if(d(),!f.value||!v.length)return;const y=new IntersectionObserver(t,{root:Vn(p),rootMargin:g,threshold:o});v.forEach(b=>b&&y.observe(b)),d=()=>{y.disconnect(),d=na}},{immediate:r,flush:"post"}):na,m=()=>{d(),h(),f.value=!1};return Es(m),{isSupported:u,isActive:f,pause(){d(),f.value=!1},resume(){f.value=!0},stop:m}}function $T(e,t,n,a={}){var l,o;const{clone:s=!1,passive:r=!1,eventName:u,deep:c=!1,defaultValue:d,shouldEmit:f}=a,h=st(),m=(h==null?void 0:h.emit)||(h==null||(l=h.$emit)===null||l===void 0?void 0:l.bind(h))||(h==null||(o=h.proxy)===null||o===void 0||(o=o.$emit)===null||o===void 0?void 0:o.bind(h==null?void 0:h.proxy));let v=u;v=v||`update:${t.toString()}`;const p=b=>s?typeof s=="function"?s(b):ET(b):b,g=()=>rT(e[t])?p(e[t]):d,y=b=>{f?f(b)&&m(v,b):m(v,b)};if(r){const b=B(g());let C=!1;return ce(()=>e[t],w=>{C||(C=!0,b.value=p(w),Pe(()=>C=!1))}),ce(b,w=>{!C&&(w!==e[t]||c)&&y(w)},{deep:c}),b}else return x({get(){return g()},set(b){y(b)}})}function NT(e={}){const{window:t=Cl}=e;if(!t)return kt(!1);const n=kt(t.document.hasFocus()),a={passive:!0};return Wt(t,"blur",()=>{n.value=!1},a),Wt(t,"focus",()=>{n.value=!0},a),n}function Wv(e={}){const{window:t=Cl,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:a=Number.POSITIVE_INFINITY,listenOrientation:l=!0,includeScrollbar:o=!0,type:s="inner"}=e,r=kt(n),u=kt(a),c=()=>{if(t)if(s==="outer")r.value=t.outerWidth,u.value=t.outerHeight;else if(s==="visual"&&t.visualViewport){const{width:f,height:h,scale:m}=t.visualViewport;r.value=Math.round(f*m),u.value=Math.round(h*m)}else o?(r.value=t.innerWidth,u.value=t.innerHeight):(r.value=t.document.documentElement.clientWidth,u.value=t.document.documentElement.clientHeight)};c(),Fv(c);const d={passive:!0};return Wt("resize",c,d),t&&s==="visual"&&t.visualViewport&&Wt(t.visualViewport,"resize",c,d),l&&ce(kT("(orientation: portrait)"),()=>c()),{width:r,height:u}}const x0=()=>Bt&&/firefox/i.test(window.navigator.userAgent),F8=()=>Bt&&/android/i.test(window.navigator.userAgent);var K8=typeof global=="object"&&global&&global.Object===Object&&global,AT=typeof self=="object"&&self&&self.Object===Object&&self,Kl=K8||AT||Function("return this")(),gl=Kl.Symbol,W8=Object.prototype,IT=W8.hasOwnProperty,PT=W8.toString,lu=gl?gl.toStringTag:void 0;function RT(e){var t=IT.call(e,lu),n=e[lu];try{e[lu]=void 0;var a=!0}catch{}var l=PT.call(e);return a&&(t?e[lu]=n:delete e[lu]),l}var VT=Object.prototype,LT=VT.toString;function BT(e){return LT.call(e)}var zT="[object Null]",DT="[object Undefined]",Bg=gl?gl.toStringTag:void 0;function Er(e){return e==null?e===void 0?DT:zT:Bg&&Bg in Object(e)?RT(e):BT(e)}function uo(e){return e!=null&&typeof e=="object"}var HT="[object Symbol]";function k0(e){return typeof e=="symbol"||uo(e)&&Er(e)==HT}function jv(e,t){for(var n=-1,a=e==null?0:e.length,l=Array(a);++n0){if(++t>=vM)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function bM(e){return function(){return e}}var _f=function(){try{var e=Mr(Object,"defineProperty");return e({},"",{}),e}catch{}}(),wM=_f?function(e,t){return _f(e,"toString",{configurable:!0,enumerable:!1,value:bM(t),writable:!0})}:qv,U8=yM(wM);function CM(e,t){for(var n=-1,a=e==null?0:e.length;++n-1}var EM=9007199254740991,TM=/^(?:0|[1-9]\d*)$/;function E0(e,t){var n=typeof e;return t=t??EM,!!t&&(n=="number"||n!="symbol"&&TM.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=$M}function Wi(e){return e!=null&&Gv(e.length)&&!Uv(e)}function NM(e,t,n){if(!Ia(n))return!1;var a=typeof t;return(a=="number"?Wi(n)&&E0(t,n.length):a=="string"&&t in n)?Ec(n[t],e):!1}function AM(e){return X8(function(t,n){var a=-1,l=n.length,o=l>1?n[l-1]:void 0,s=l>2?n[2]:void 0;for(o=e.length>3&&typeof o=="function"?(l--,o):void 0,s&&NM(n[0],n[1],s)&&(o=l<3?void 0:o,l=1),t=Object(t);++a-1}function FO(e,t){var n=this.__data__,a=M0(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this}function Yo(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t0&&n(r)?t>1?Oc(r,t-1,n,a,l):e1(l,r):a||(l[l.length]=r)}return l}function Sf(e){var t=e==null?0:e.length;return t?Oc(e,1):[]}function nw(e){return U8(G8(e,void 0,Sf),e+"")}var t1=tw(Object.getPrototypeOf,Object),a$="[object Object]",l$=Function.prototype,o$=Object.prototype,aw=l$.toString,s$=o$.hasOwnProperty,r$=aw.call(Object);function n1(e){if(!uo(e)||Er(e)!=a$)return!1;var t=t1(e);if(t===null)return!0;var n=s$.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&aw.call(n)==r$}function i$(e,t,n){var a=-1,l=e.length;t<0&&(t=-t>l?0:l+t),n=n>l?l:n,n<0&&(n+=l),l=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(l);++a=t?e:t)),e}function za(e,t,n){return n===void 0&&(n=t,t=void 0),n!==void 0&&(n=ku(n),n=n===n?n:0),t!==void 0&&(t=ku(t),t=t===t?t:0),u$(ku(e),t,n)}function c$(){this.__data__=new Yo,this.size=0}function d$(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function f$(e){return this.__data__.get(e)}function p$(e){return this.__data__.has(e)}var h$=200;function v$(e,t){var n=this.__data__;if(n instanceof Yo){var a=n.__data__;if(!Gu||a.lengthr))return!1;var c=o.get(e),d=o.get(t);if(c&&d)return c==t&&d==e;var f=-1,h=!0,m=n&KN?new Xu:void 0;for(o.set(e,t),o.set(t,e);++f=t||M<0||f&&E>=o}function y(){var k=Sp();if(g(k))return b(k);r=setTimeout(y,p(k))}function b(k){return r=void 0,h&&a?m(k):(a=l=void 0,s)}function C(){r!==void 0&&clearTimeout(r),c=0,a=u=l=r=void 0}function w(){return r===void 0?s:b(Sp())}function _(){var k=Sp(),M=g(k);if(a=arguments,l=this,u=k,M){if(r===void 0)return v(u);if(f)return clearTimeout(r),r=setTimeout(y,t),m(u)}return r===void 0&&(r=setTimeout(y,t)),s}return _.cancel=C,_.flush=w,_}function $h(e,t,n){(n!==void 0&&!Ec(e[t],n)||n===void 0&&!(t in e))&&T0(e,t,n)}function _w(e){return uo(e)&&Wi(e)}function Nh(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function AA(e){return Ki(e,Mc(e))}function IA(e,t,n,a,l,o,s){var r=Nh(e,n),u=Nh(t,n),c=s.get(u);if(c){$h(e,n,c);return}var d=o?o(r,u,n+"",e,t,s):void 0,f=d===void 0;if(f){var h=Aa(u),m=!h&&Uu(u),v=!h&&!m&&Zv(u);d=u,h||m||v?Aa(r)?d=r:_w(r)?d=q8(r):m?(f=!1,d=ow(u,!0)):v?(f=!1,d=cw(u,!0)):d=[]:n1(u)||qu(u)?(d=r,qu(r)?d=AA(r):(!Ia(r)||Uv(r))&&(d=dw(u))):f=!1}f&&(s.set(u,d),l(d,u,a,o,s),s.delete(u)),$h(e,n,d)}function Sw(e,t,n,a,l){e!==t&&Cw(t,function(o,s){if(l||(l=new Nl),Ia(o))IA(e,t,s,n,Sw,a,l);else{var r=a?a(Nh(e,s),o,s+"",e,t,l):void 0;r===void 0&&(r=o),$h(e,s,r)}},Mc)}function PA(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function xw(e,t,n){var a=e==null?0:e.length;if(!a)return-1;var l=a-1;return Y8(e,ww(t),l,!0)}function RA(e,t){var n=-1,a=Wi(e)?Array(e.length):[];return MA(e,function(l,o,s){a[++n]=t(l,o,s)}),a}function VA(e,t){var n=Aa(e)?jv:RA;return n(e,ww(t))}function kw(e,t){return Oc(VA(e,t),1)}var LA=1/0;function BA(e){var t=e==null?0:e.length;return t?Oc(e,LA):[]}function Si(e){for(var t=-1,n=e==null?0:e.length,a={};++t1),o}),Ki(e,uw(e),n),a&&(n=Tu(n,WA|jA|qA,KA));for(var l=t.length;l--;)FA(n,t[l]);return n});function Mw(e,t,n,a){if(!Ia(e))return e;t=ji(t,e);for(var l=-1,o=t.length,s=o-1,r=e;r!=null&&++l=QA){var c=ZA(e);if(c)return o1(c);s=!1,l=vw,u=new Xu}else u=r;e:for(;++ae===void 0,qt=e=>typeof e=="boolean",qe=e=>typeof e=="number",$a=e=>!e&&e!==0||ve(e)&&e.length===0||rt(e)&&!Object.keys(e).length,Da=e=>typeof Element>"u"?!1:e instanceof Element,el=e=>_n(e),tI=e=>Ne(e)?!Number.isNaN(Number(e)):!1,$c=e=>e===window,rs=new Map;if(Bt){let e;document.addEventListener("mousedown",t=>e=t),document.addEventListener("mouseup",t=>{if(e){for(const n of rs.values())for(const{documentHandler:a}of n)a(t,e);e=void 0}})}function p4(e,t){let n=[];return ve(t.arg)?n=t.arg:Da(t.arg)&&n.push(t.arg),function(a,l){const o=t.instance.popperRef,s=a.target,r=l==null?void 0:l.target,u=!t||!t.instance,c=!s||!r,d=e.contains(s)||e.contains(r),f=e===s,h=n.length&&n.some(v=>v==null?void 0:v.contains(s))||n.length&&n.includes(r),m=o&&(o.contains(s)||o.contains(r));u||c||d||f||h||m||t.value(a,l)}}const Ts={beforeMount(e,t){rs.has(e)||rs.set(e,[]),rs.get(e).push({documentHandler:p4(e,t),bindingFn:t.value})},updated(e,t){rs.has(e)||rs.set(e,[]);const n=rs.get(e),a=n.findIndex(o=>o.bindingFn===t.oldValue),l={documentHandler:p4(e,t),bindingFn:t.value};a>=0?n.splice(a,1,l):n.push(l)},unmounted(e){rs.delete(e)}},id="_RepeatClick",kf={beforeMount(e,t){const n=t.value,{interval:a=100,delay:l=600}=Ke(n)?{}:n;let o,s;const r=()=>Ke(n)?n():n.handler(),u=()=>{s&&(clearTimeout(s),s=void 0),o&&(clearInterval(o),o=void 0)},c=d=>{d.button===0&&(u(),r(),document.addEventListener("mouseup",u,{once:!0,capture:!0}),s=setTimeout(()=>{o=setInterval(()=>{r()},a)},l))};e[id]={start:c,clear:u},e.addEventListener("mousedown",c)},unmounted(e){if(!e[id])return;const{start:t,clear:n}=e[id];t&&e.removeEventListener("mousedown",t),n&&(n(),document.removeEventListener("mouseup",n,!0)),e[id]=null}},nI='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',Ow=e=>typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot,h4=e=>typeof Element>"u"?!1:e instanceof Element,aI=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,v4=e=>Array.from(e.querySelectorAll(nI)).filter(t=>pr(t)&&aI(t)),pr=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.tabIndex<0||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true")return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},Pd=function(e,t,...n){let a;t.includes("mouse")||t.includes("click")?a="MouseEvents":t.includes("key")?a="KeyboardEvent":a="HTMLEvents";const l=document.createEvent(a);return l.initEvent(t,...n),e.dispatchEvent(l),e},$w=e=>!e.getAttribute("aria-owns"),Nw=(e,t,n)=>{const{parentNode:a}=e;if(!a)return null;const l=a.querySelectorAll(n);return l[Array.prototype.indexOf.call(l,e)+t]||null},Nc=(e,t)=>{if(!e||!e.focus)return;let n=!1;h4(e)&&!pr(e)&&!e.getAttribute("tabindex")&&(e.setAttribute("tabindex","-1"),n=!0),e.focus(t),h4(e)&&n&&e.removeAttribute("tabindex")},si=e=>{e&&(Nc(e),!$w(e)&&e.click())},Kn=(e,t,{checkForDefaultPrevented:n=!0}={})=>l=>{const o=e==null?void 0:e(l);if(n===!1||!o)return t==null?void 0:t(l)},m4=e=>t=>t.pointerType==="mouse"?e(t):void 0,Xt=e=>{if(e.code&&e.code!=="Unidentified")return e.code;const t=Aw(e);if(t){if(Object.values(Ce).includes(t))return t;switch(t){case" ":return Ce.space;default:return""}}return""},Aw=e=>{let t=e.key&&e.key!=="Unidentified"?e.key:"";if(!t&&e.type==="keyup"&&F8()){const n=e.target;t=n.value.charAt(n.selectionStart-1)}return t},Ah="_trap-focus-children",qs=[],g4=e=>{if(qs.length===0)return;const t=Xt(e),n=qs[qs.length-1][Ah];if(n.length>0&&t===Ce.tab){if(n.length===1){e.preventDefault(),document.activeElement!==n[0]&&n[0].focus();return}const a=e.shiftKey,l=e.target===n[0],o=e.target===n[n.length-1];l&&a&&(e.preventDefault(),n[n.length-1].focus()),o&&!a&&(e.preventDefault(),n[0].focus())}},lI={beforeMount(e){e[Ah]=v4(e),qs.push(e),qs.length<=1&&document.addEventListener("keydown",g4)},updated(e){Pe(()=>{e[Ah]=v4(e)})},unmounted(){qs.shift(),qs.length===0&&document.removeEventListener("keydown",g4)}};var y4=!1,Fs,Ih,Ph,Rd,Vd,Iw,Ld,Rh,Vh,Lh,Pw,Bh,zh,Rw,Vw;function Ra(){if(!y4){y4=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(Bh=/\b(iPhone|iP[ao]d)/.exec(e),zh=/\b(iP[ao]d)/.exec(e),Lh=/Android/i.exec(e),Rw=/FBAN\/\w+;/i.exec(e),Vw=/Mobile/i.exec(e),Pw=!!/Win64/.exec(e),t){Fs=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,Fs&&document&&document.documentMode&&(Fs=document.documentMode);var a=/(?:Trident\/(\d+.\d+))/.exec(e);Iw=a?parseFloat(a[1])+4:Fs,Ih=t[2]?parseFloat(t[2]):NaN,Ph=t[3]?parseFloat(t[3]):NaN,Rd=t[4]?parseFloat(t[4]):NaN,Rd?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),Vd=t&&t[1]?parseFloat(t[1]):NaN):Vd=NaN}else Fs=Ih=Ph=Vd=Rd=NaN;if(n){if(n[1]){var l=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);Ld=l?parseFloat(l[1].replace("_",".")):!0}else Ld=!1;Rh=!!n[2],Vh=!!n[3]}else Ld=Rh=Vh=!1}}var Dh={ie:function(){return Ra()||Fs},ieCompatibilityMode:function(){return Ra()||Iw>Fs},ie64:function(){return Dh.ie()&&Pw},firefox:function(){return Ra()||Ih},opera:function(){return Ra()||Ph},webkit:function(){return Ra()||Rd},safari:function(){return Dh.webkit()},chrome:function(){return Ra()||Vd},windows:function(){return Ra()||Rh},osx:function(){return Ra()||Ld},linux:function(){return Ra()||Vh},iphone:function(){return Ra()||Bh},mobile:function(){return Ra()||Bh||zh||Lh||Vw},nativeApp:function(){return Ra()||Rw},android:function(){return Ra()||Lh},ipad:function(){return Ra()||zh}},oI=Dh,sI=!!(typeof window<"u"&&window.document&&window.document.createElement),rI={canUseDOM:sI},Lw=rI,Bw;Lw.canUseDOM&&(Bw=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function iI(e,t){if(!Lw.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,a=n in document;if(!a){var l=document.createElement("div");l.setAttribute(n,"return;"),a=typeof l[n]=="function"}return!a&&Bw&&e==="wheel"&&(a=document.implementation.hasFeature("Events.wheel","3.0")),a}var uI=iI,b4=10,w4=40,C4=800;function zw(e){var t=0,n=0,a=0,l=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),a=t*b4,l=n*b4,"deltaY"in e&&(l=e.deltaY),"deltaX"in e&&(a=e.deltaX),(a||l)&&e.deltaMode&&(e.deltaMode==1?(a*=w4,l*=w4):(a*=C4,l*=C4)),a&&!t&&(t=a<1?-1:1),l&&!n&&(n=l<1?-1:1),{spinX:t,spinY:n,pixelX:a,pixelY:l}}zw.getEventType=function(){return oI.firefox()?"DOMMouseScroll":uI("wheel")?"wheel":"mousewheel"};var cI=zw;/** +* Checks if an event is supported in the current execution environment. +* +* NOTE: This will not work correctly for non-generic events such as `change`, +* `reset`, `load`, `error`, and `select`. +* +* Borrows from Modernizr. +* +* @param {string} eventNameSuffix Event name, e.g. "click". +* @param {?boolean} capture Check if the capture phase is supported. +* @return {boolean} True if the event is supported. +* @internal +* @license Modernizr 3.0.0pre (Custom Build) | MIT +*/const Hh="_Mousewheel",_4=function(e,t){if(e&&e.addEventListener){Dw(e);const n=function(a){const l=cI(a);t&&Reflect.apply(t,this,[a,l])};e[Hh]={wheelHandler:n},e.addEventListener("wheel",n,{passive:!0})}},Dw=e=>{var t;(t=e._Mousewheel)!=null&&t.wheelHandler&&(e.removeEventListener("wheel",e[Hh].wheelHandler),e[Hh]=null)},S4={beforeMount(e,t){_4(e,t.value)},unmounted(e){Dw(e)},updated(e,t){t.value!==t.oldValue&&_4(e,t.value)}},Ju=e=>Object.keys(e),Hw=e=>Object.entries(e),Cs=(e,t,n)=>({get value(){return Tn(e,t,n)},set value(a){GA(e,t,a)}}),dI="__epPropKey",Y=e=>e,fI=e=>rt(e)&&!!e.__epPropKey,Wl=(e,t)=>{if(!rt(e)||fI(e))return e;const{values:n,required:a,default:l,type:o,validator:s}=e,r={type:o,required:!!a,validator:n||s?u=>{let c=!1,d=[];if(n&&(d=Array.from(n),zt(e,"default")&&d.push(l),c||(c=d.includes(u))),s&&(c||(c=s(u))),!c&&d.length>0){const f=[...new Set(d)].map(h=>JSON.stringify(h)).join(", ");dv(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${f}], got value ${JSON.stringify(u)}.`)}return c}:void 0,[dI]:!0};return zt(e,"default")&&(r.default=l),r},ke=e=>Si(Object.entries(e).map(([t,n])=>[t,Wl(n,t)])),pI=ke({zIndex:{type:Y([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"},teleported:Boolean,appendTo:{type:Y([String,Object]),default:"body"}}),hI={scroll:({scrollTop:e,fixed:t})=>qe(e)&&qt(t),[Ct]:e=>qt(e)};var Fw=class extends Error{constructor(e){super(e),this.name="ElementPlusError"}};function vn(e,t){throw new Fw(`[${e}] ${t}`)}function jt(e,t){{const n=Ne(e)?new Fw(`[${e}] ${t}`):e;console.warn(n)}}const vI=["class","style"],mI=/^on[A-Z]/,P0=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,a=x(()=>((n==null?void 0:n.value)||[]).concat(vI)),l=st();return l?x(()=>{var o;return Si(Object.entries((o=l.proxy)==null?void 0:o.$attrs).filter(([s])=>!a.value.includes(s)&&!(t&&mI.test(s))))}):(jt("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),x(()=>({})))};function s1(){const e=kt(),t=B(0),n=x(()=>({minWidth:`${Math.max(t.value,11)}px`}));return rn(e,()=>{var l;t.value=((l=e.value)==null?void 0:l.getBoundingClientRect().width)??0}),{calculatorRef:e,calculatorWidth:t,inputStyle:n}}const lo=({from:e,replacement:t,scope:n,version:a,ref:l,type:o="API"},s)=>{ce(()=>i(s),r=>{r&&jt(n,`[${o}] ${e} is about to be deprecated in version ${a}, please use ${t} instead. +For more detail, please visit: ${l} +`)},{immediate:!0})},r1=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),kp=e=>qo(e),gI="utils/dom/style",Kw=(e="")=>e.split(" ").filter(t=>!!t.trim()),hl=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},dl=(e,t)=>{!e||!t.trim()||e.classList.add(...Kw(t))},Ca=(e,t)=>{!e||!t.trim()||e.classList.remove(...Kw(t))},Io=(e,t)=>{var a;if(!Bt||!e||!t||Ow(e))return"";let n=cn(t);n==="float"&&(n="cssFloat");try{const l=e.style[n];if(l)return l;const o=(a=document.defaultView)==null?void 0:a.getComputedStyle(e,"");return o?o[n]:""}catch{return e.style[n]}},Ww=(e,t,n)=>{if(!(!e||!t))if(rt(t))Hw(t).forEach(([a,l])=>Ww(e,a,l));else{const a=cn(t);e.style[a]=n}};function bn(e,t="px"){if(!e&&e!==0)return"";if(qe(e)||tI(e))return`${e}${t}`;if(Ne(e))return e;jt(gI,"binding value must be a string or number")}const jw=(e,t,n,a)=>{const l={offsetX:0,offsetY:0},o=B(!1),s=(h,m)=>{if(e.value){const{offsetX:v,offsetY:p}=l,g=e.value.getBoundingClientRect(),y=Math.max(g.left,0),b=Math.max(g.top,0),C=g.width,w=g.height,_=document.documentElement.clientWidth,k=document.documentElement.clientHeight,M=-y+v,E=-b+p,T=_-y-C+v,O=k-b-(w{const m=h.clientX,v=h.clientY,{offsetX:p,offsetY:g}=l,y=C=>{o.value||(o.value=!0),s(p+C.clientX-m,g+C.clientY-v)},b=()=>{o.value=!1,document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",b)};document.addEventListener("mousemove",y),document.addEventListener("mouseup",b)},u=()=>{t.value&&e.value&&(t.value.addEventListener("mousedown",r),window.addEventListener("resize",f))},c=()=>{t.value&&e.value&&(t.value.removeEventListener("mousedown",r),window.removeEventListener("resize",f))},d=()=>{l.offsetX=0,l.offsetY=0,e.value&&(e.value.style.transform="")},f=()=>{const{offsetX:h,offsetY:m}=l;s(h,m)};return mt(()=>{la(()=>{n.value?u():c()})}),Ht(()=>{c()}),{isDragging:o,resetPosition:d,updatePosition:f}},yI=e=>(t,n)=>bI(t,n,i(e)),bI=(e,t,n)=>Tn(n,e,e).replace(/\{(\w+)\}/g,(a,l)=>`${(t==null?void 0:t[l])??`{${l}}`}`),wI=e=>({lang:x(()=>i(e).name),locale:en(e)?e:B(e),t:yI(e)}),qw=Symbol("localeContextKey"),St=e=>{const t=e||De(qw,B());return wI(x(()=>t.value||lT))},CI="is-",Ls=(e,t,n,a,l)=>{let o=`${e}-${t}`;return n&&(o+=`-${n}`),a&&(o+=`__${a}`),l&&(o+=`--${l}`),o},Uw=Symbol("namespaceContextKey"),i1=e=>{const t=e||(st()?De(Uw,B("el")):B("el"));return x(()=>i(t)||"el")},ye=(e,t)=>{const n=i1(t);return{namespace:n,b:(p="")=>Ls(n.value,e,p,"",""),e:p=>p?Ls(n.value,e,"",p,""):"",m:p=>p?Ls(n.value,e,"","",p):"",be:(p,g)=>p&&g?Ls(n.value,e,p,g,""):"",em:(p,g)=>p&&g?Ls(n.value,e,"",p,g):"",bm:(p,g)=>p&&g?Ls(n.value,e,p,"",g):"",bem:(p,g,y)=>p&&g&&y?Ls(n.value,e,p,g,y):"",is:(p,...g)=>{const y=g.length>=1?g[0]:!0;return p&&y?`${CI}${p}`:""},cssVar:p=>{const g={};for(const y in p)p[y]&&(g[`--${n.value}-${y}`]=p[y]);return g},cssVarName:p=>`--${n.value}-${p}`,cssVarBlock:p=>{const g={};for(const y in p)p[y]&&(g[`--${n.value}-${e}-${y}`]=p[y]);return g},cssVarBlockName:p=>`--${n.value}-${e}-${p}`}};function _I(e,t,n,a){const l=n-t;return e/=a/2,e<1?l/2*e*e*e+t:l/2*((e-=2)*e*e+2)+t}const Sa=e=>Bt?window.requestAnimationFrame(e):setTimeout(e,16),Ll=e=>Bt?window.cancelAnimationFrame(e):clearTimeout(e),SI=(e,t)=>{if(!Bt)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],a=Io(e,n);return["scroll","auto","overlay"].some(l=>a.includes(l))},u1=(e,t)=>{if(!Bt)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(SI(n,t))return n;Ow(n)?n=n.host:n=n.parentNode}return n};let ud;const Yw=e=>{var o;if(!Bt)return 0;if(ud!==void 0)return ud;const t=document.createElement("div");t.className=`${e}-scrollbar__wrap`,t.style.visibility="hidden",t.style.width="100px",t.style.position="absolute",t.style.top="-9999px",document.body.appendChild(t);const n=t.offsetWidth;t.style.overflow="scroll";const a=document.createElement("div");a.style.width="100%",t.appendChild(a);const l=a.offsetWidth;return(o=t.parentNode)==null||o.removeChild(t),ud=n-l,ud};function c1(e,t){if(!Bt)return;if(!t){e.scrollTop=0;return}const n=[];let a=t.offsetParent;for(;a!==null&&e!==a&&e.contains(a);)n.push(a),a=a.offsetParent;const l=t.offsetTop+n.reduce((u,c)=>u+c.offsetTop,0),o=l+t.offsetHeight,s=e.scrollTop,r=s+e.clientHeight;lr&&(e.scrollTop=o-e.clientHeight)}function xI(e,t,n,a,l){const o=Date.now();let s;const r=()=>{const u=Date.now()-o,c=_I(u>a?a:u,t,n,a);$c(e)?e.scrollTo(window.pageXOffset,c):e.scrollTop=c,u{s&&Ll(s)}}const x4=(e,t)=>$c(t)?e.ownerDocument.documentElement:t,k4=e=>$c(e)?window.scrollY:e.scrollTop,R0=(e,t={})=>{en(e)||vn("[useLockscreen]","You need to pass a ref param to this function");const n=t.ns||ye("popup"),a=x(()=>n.bm("parent","hidden"));let l=0,o=!1,s="0",r=!1;const u=()=>{r||(r=!0,setTimeout(()=>{typeof document>"u"||o&&document&&(document.body.style.width=s,Ca(document.body,a.value))},200))};ce(e,c=>{if(!c){u();return}r=!1,o=!hl(document.body,a.value),o&&(s=document.body.style.width,dl(document.body,a.value)),l=Yw(n.namespace.value);const d=document.documentElement.clientHeight0&&(d||f==="scroll")&&o&&(document.body.style.width=`calc(100% - ${l}px)`)}),t0(()=>u())},kI=Wl({type:Y(Boolean),default:null}),EI=Wl({type:Y(Function)}),TI=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,a=[t],l={[e]:kI,[n]:EI};return{useModelToggle:({indicator:s,toggleReason:r,shouldHideWhenRouteChanges:u,shouldProceed:c,onShow:d,onHide:f})=>{const h=st(),{emit:m}=h,v=h.props,p=x(()=>Ke(v[n])),g=x(()=>v[e]===null),y=M=>{s.value!==!0&&(s.value=!0,r&&(r.value=M),Ke(d)&&d(M))},b=M=>{s.value!==!1&&(s.value=!1,r&&(r.value=M),Ke(f)&&f(M))},C=M=>{if(v.disabled===!0||Ke(c)&&!c())return;const E=p.value&&Bt;E&&m(t,!0),(g.value||!E)&&y(M)},w=M=>{if(v.disabled===!0||!Bt)return;const E=p.value&&Bt;E&&m(t,!1),(g.value||!E)&&b(M)},_=M=>{qt(M)&&(v.disabled&&M?p.value&&m(t,!1):s.value!==M&&(M?y():b()))},k=()=>{s.value?w():C()};return ce(()=>v[e],_),u&&h.appContext.config.globalProperties.$route!==void 0&&ce(()=>({...h.proxy.$route}),()=>{u.value&&s.value&&w()}),mt(()=>{_(v[e])}),{hide:w,show:C,toggle:k,hasUpdateHandler:p}},useModelToggleProps:l,useModelToggleEmits:a}},Gw=e=>{const t=st();return x(()=>{var n,a;return(a=(n=t==null?void 0:t.proxy)==null?void 0:n.$props)==null?void 0:a[e]})};var Ha="top",yl="bottom",bl="right",Fa="left",d1="auto",Ac=[Ha,yl,bl,Fa],xi="start",Zu="end",MI="clippingParents",Xw="viewport",ou="popper",OI="reference",E4=Ac.reduce(function(e,t){return e.concat([t+"-"+xi,t+"-"+Zu])},[]),Co=[].concat(Ac,[d1]).reduce(function(e,t){return e.concat([t,t+"-"+xi,t+"-"+Zu])},[]),$I="beforeRead",NI="read",AI="afterRead",II="beforeMain",PI="main",RI="afterMain",VI="beforeWrite",LI="write",BI="afterWrite",zI=[$I,NI,AI,II,PI,RI,VI,LI,BI];function po(e){return e?(e.nodeName||"").toLowerCase():null}function al(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function hr(e){var t=al(e).Element;return e instanceof t||e instanceof Element}function vl(e){var t=al(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function f1(e){if(typeof ShadowRoot>"u")return!1;var t=al(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function DI(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var a=t.styles[n]||{},l=t.attributes[n]||{},o=t.elements[n];!vl(o)||!po(o)||(Object.assign(o.style,a),Object.keys(l).forEach(function(s){var r=l[s];r===!1?o.removeAttribute(s):o.setAttribute(s,r===!0?"":r)}))})}function HI(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(a){var l=t.elements[a],o=t.attributes[a]||{},s=Object.keys(t.styles.hasOwnProperty(a)?t.styles[a]:n[a]),r=s.reduce(function(u,c){return u[c]="",u},{});!vl(l)||!po(l)||(Object.assign(l.style,r),Object.keys(o).forEach(function(u){l.removeAttribute(u)}))})}}var Jw={name:"applyStyles",enabled:!0,phase:"write",fn:DI,effect:HI,requires:["computeStyles"]};function oo(e){return e.split("-")[0]}var er=Math.max,Ef=Math.min,ki=Math.round;function Fh(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Zw(){return!/^((?!chrome|android).)*safari/i.test(Fh())}function Ei(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var a=e.getBoundingClientRect(),l=1,o=1;t&&vl(e)&&(l=e.offsetWidth>0&&ki(a.width)/e.offsetWidth||1,o=e.offsetHeight>0&&ki(a.height)/e.offsetHeight||1);var s=hr(e)?al(e):window,r=s.visualViewport,u=!Zw()&&n,c=(a.left+(u&&r?r.offsetLeft:0))/l,d=(a.top+(u&&r?r.offsetTop:0))/o,f=a.width/l,h=a.height/o;return{width:f,height:h,top:d,right:c+f,bottom:d+h,left:c,x:c,y:d}}function p1(e){var t=Ei(e),n=e.offsetWidth,a=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-a)<=1&&(a=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:a}}function Qw(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&f1(n)){var a=t;do{if(a&&e.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function Wo(e){return al(e).getComputedStyle(e)}function FI(e){return["table","td","th"].indexOf(po(e))>=0}function As(e){return((hr(e)?e.ownerDocument:e.document)||window.document).documentElement}function V0(e){return po(e)==="html"?e:e.assignedSlot||e.parentNode||(f1(e)?e.host:null)||As(e)}function T4(e){return!vl(e)||Wo(e).position==="fixed"?null:e.offsetParent}function KI(e){var t=/firefox/i.test(Fh()),n=/Trident/i.test(Fh());if(n&&vl(e)){var a=Wo(e);if(a.position==="fixed")return null}var l=V0(e);for(f1(l)&&(l=l.host);vl(l)&&["html","body"].indexOf(po(l))<0;){var o=Wo(l);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return l;l=l.parentNode}return null}function Ic(e){for(var t=al(e),n=T4(e);n&&FI(n)&&Wo(n).position==="static";)n=T4(n);return n&&(po(n)==="html"||po(n)==="body"&&Wo(n).position==="static")?t:n||KI(e)||t}function h1(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Mu(e,t,n){return er(e,Ef(t,n))}function WI(e,t,n){var a=Mu(e,t,n);return a>n?n:a}function e5(){return{top:0,right:0,bottom:0,left:0}}function t5(e){return Object.assign({},e5(),e)}function n5(e,t){return t.reduce(function(n,a){return n[a]=e,n},{})}var jI=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,t5(typeof e!="number"?e:n5(e,Ac))};function qI(e){var t,n=e.state,a=e.name,l=e.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,r=oo(n.placement),u=h1(r),c=[Fa,bl].indexOf(r)>=0,d=c?"height":"width";if(!(!o||!s)){var f=jI(l.padding,n),h=p1(o),m=u==="y"?Ha:Fa,v=u==="y"?yl:bl,p=n.rects.reference[d]+n.rects.reference[u]-s[u]-n.rects.popper[d],g=s[u]-n.rects.reference[u],y=Ic(o),b=y?u==="y"?y.clientHeight||0:y.clientWidth||0:0,C=p/2-g/2,w=f[m],_=b-h[d]-f[v],k=b/2-h[d]/2+C,M=Mu(w,k,_),E=u;n.modifiersData[a]=(t={},t[E]=M,t.centerOffset=M-k,t)}}function UI(e){var t=e.state,n=e.options,a=n.element,l=a===void 0?"[data-popper-arrow]":a;l!=null&&(typeof l=="string"&&(l=t.elements.popper.querySelector(l),!l)||Qw(t.elements.popper,l)&&(t.elements.arrow=l))}var YI={name:"arrow",enabled:!0,phase:"main",fn:qI,effect:UI,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ti(e){return e.split("-")[1]}var GI={top:"auto",right:"auto",bottom:"auto",left:"auto"};function XI(e,t){var n=e.x,a=e.y,l=t.devicePixelRatio||1;return{x:ki(n*l)/l||0,y:ki(a*l)/l||0}}function M4(e){var t,n=e.popper,a=e.popperRect,l=e.placement,o=e.variation,s=e.offsets,r=e.position,u=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,f=e.isFixed,h=s.x,m=h===void 0?0:h,v=s.y,p=v===void 0?0:v,g=typeof d=="function"?d({x:m,y:p}):{x:m,y:p};m=g.x,p=g.y;var y=s.hasOwnProperty("x"),b=s.hasOwnProperty("y"),C=Fa,w=Ha,_=window;if(c){var k=Ic(n),M="clientHeight",E="clientWidth";if(k===al(n)&&(k=As(n),Wo(k).position!=="static"&&r==="absolute"&&(M="scrollHeight",E="scrollWidth")),k=k,l===Ha||(l===Fa||l===bl)&&o===Zu){w=yl;var T=f&&k===_&&_.visualViewport?_.visualViewport.height:k[M];p-=T-a.height,p*=u?1:-1}if(l===Fa||(l===Ha||l===yl)&&o===Zu){C=bl;var O=f&&k===_&&_.visualViewport?_.visualViewport.width:k[E];m-=O-a.width,m*=u?1:-1}}var I=Object.assign({position:r},c&&GI),N=d===!0?XI({x:m,y:p},al(n)):{x:m,y:p};if(m=N.x,p=N.y,u){var R;return Object.assign({},I,(R={},R[w]=b?"0":"",R[C]=y?"0":"",R.transform=(_.devicePixelRatio||1)<=1?"translate("+m+"px, "+p+"px)":"translate3d("+m+"px, "+p+"px, 0)",R))}return Object.assign({},I,(t={},t[w]=b?p+"px":"",t[C]=y?m+"px":"",t.transform="",t))}function JI(e){var t=e.state,n=e.options,a=n.gpuAcceleration,l=a===void 0?!0:a,o=n.adaptive,s=o===void 0?!0:o,r=n.roundOffsets,u=r===void 0?!0:r,c={placement:oo(t.placement),variation:Ti(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:l,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,M4(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,M4(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var a5={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:JI,data:{}},cd={passive:!0};function ZI(e){var t=e.state,n=e.instance,a=e.options,l=a.scroll,o=l===void 0?!0:l,s=a.resize,r=s===void 0?!0:s,u=al(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(d){d.addEventListener("scroll",n.update,cd)}),r&&u.addEventListener("resize",n.update,cd),function(){o&&c.forEach(function(d){d.removeEventListener("scroll",n.update,cd)}),r&&u.removeEventListener("resize",n.update,cd)}}var l5={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ZI,data:{}},QI={left:"right",right:"left",bottom:"top",top:"bottom"};function Bd(e){return e.replace(/left|right|bottom|top/g,function(t){return QI[t]})}var eP={start:"end",end:"start"};function O4(e){return e.replace(/start|end/g,function(t){return eP[t]})}function v1(e){var t=al(e),n=t.pageXOffset,a=t.pageYOffset;return{scrollLeft:n,scrollTop:a}}function m1(e){return Ei(As(e)).left+v1(e).scrollLeft}function tP(e,t){var n=al(e),a=As(e),l=n.visualViewport,o=a.clientWidth,s=a.clientHeight,r=0,u=0;if(l){o=l.width,s=l.height;var c=Zw();(c||!c&&t==="fixed")&&(r=l.offsetLeft,u=l.offsetTop)}return{width:o,height:s,x:r+m1(e),y:u}}function nP(e){var t,n=As(e),a=v1(e),l=(t=e.ownerDocument)==null?void 0:t.body,o=er(n.scrollWidth,n.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),s=er(n.scrollHeight,n.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),r=-a.scrollLeft+m1(e),u=-a.scrollTop;return Wo(l||n).direction==="rtl"&&(r+=er(n.clientWidth,l?l.clientWidth:0)-o),{width:o,height:s,x:r,y:u}}function g1(e){var t=Wo(e),n=t.overflow,a=t.overflowX,l=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+l+a)}function o5(e){return["html","body","#document"].indexOf(po(e))>=0?e.ownerDocument.body:vl(e)&&g1(e)?e:o5(V0(e))}function Ou(e,t){var n;t===void 0&&(t=[]);var a=o5(e),l=a===((n=e.ownerDocument)==null?void 0:n.body),o=al(a),s=l?[o].concat(o.visualViewport||[],g1(a)?a:[]):a,r=t.concat(s);return l?r:r.concat(Ou(V0(s)))}function Kh(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function aP(e,t){var n=Ei(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function $4(e,t,n){return t===Xw?Kh(tP(e,n)):hr(t)?aP(t,n):Kh(nP(As(e)))}function lP(e){var t=Ou(V0(e)),n=["absolute","fixed"].indexOf(Wo(e).position)>=0,a=n&&vl(e)?Ic(e):e;return hr(a)?t.filter(function(l){return hr(l)&&Qw(l,a)&&po(l)!=="body"}):[]}function oP(e,t,n,a){var l=t==="clippingParents"?lP(e):[].concat(t),o=[].concat(l,[n]),s=o[0],r=o.reduce(function(u,c){var d=$4(e,c,a);return u.top=er(d.top,u.top),u.right=Ef(d.right,u.right),u.bottom=Ef(d.bottom,u.bottom),u.left=er(d.left,u.left),u},$4(e,s,a));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}function s5(e){var t=e.reference,n=e.element,a=e.placement,l=a?oo(a):null,o=a?Ti(a):null,s=t.x+t.width/2-n.width/2,r=t.y+t.height/2-n.height/2,u;switch(l){case Ha:u={x:s,y:t.y-n.height};break;case yl:u={x:s,y:t.y+t.height};break;case bl:u={x:t.x+t.width,y:r};break;case Fa:u={x:t.x-n.width,y:r};break;default:u={x:t.x,y:t.y}}var c=l?h1(l):null;if(c!=null){var d=c==="y"?"height":"width";switch(o){case xi:u[c]=u[c]-(t[d]/2-n[d]/2);break;case Zu:u[c]=u[c]+(t[d]/2-n[d]/2);break}}return u}function Qu(e,t){t===void 0&&(t={});var n=t,a=n.placement,l=a===void 0?e.placement:a,o=n.strategy,s=o===void 0?e.strategy:o,r=n.boundary,u=r===void 0?MI:r,c=n.rootBoundary,d=c===void 0?Xw:c,f=n.elementContext,h=f===void 0?ou:f,m=n.altBoundary,v=m===void 0?!1:m,p=n.padding,g=p===void 0?0:p,y=t5(typeof g!="number"?g:n5(g,Ac)),b=h===ou?OI:ou,C=e.rects.popper,w=e.elements[v?b:h],_=oP(hr(w)?w:w.contextElement||As(e.elements.popper),u,d,s),k=Ei(e.elements.reference),M=s5({reference:k,element:C,placement:l}),E=Kh(Object.assign({},C,M)),T=h===ou?E:k,O={top:_.top-T.top+y.top,bottom:T.bottom-_.bottom+y.bottom,left:_.left-T.left+y.left,right:T.right-_.right+y.right},I=e.modifiersData.offset;if(h===ou&&I){var N=I[l];Object.keys(O).forEach(function(R){var K=[bl,yl].indexOf(R)>=0?1:-1,H=[Ha,yl].indexOf(R)>=0?"y":"x";O[R]+=N[H]*K})}return O}function sP(e,t){t===void 0&&(t={});var n=t,a=n.placement,l=n.boundary,o=n.rootBoundary,s=n.padding,r=n.flipVariations,u=n.allowedAutoPlacements,c=u===void 0?Co:u,d=Ti(a),f=d?r?E4:E4.filter(function(v){return Ti(v)===d}):Ac,h=f.filter(function(v){return c.indexOf(v)>=0});h.length===0&&(h=f);var m=h.reduce(function(v,p){return v[p]=Qu(e,{placement:p,boundary:l,rootBoundary:o,padding:s})[oo(p)],v},{});return Object.keys(m).sort(function(v,p){return m[v]-m[p]})}function rP(e){if(oo(e)===d1)return[];var t=Bd(e);return[O4(e),t,O4(t)]}function iP(e){var t=e.state,n=e.options,a=e.name;if(!t.modifiersData[a]._skip){for(var l=n.mainAxis,o=l===void 0?!0:l,s=n.altAxis,r=s===void 0?!0:s,u=n.fallbackPlacements,c=n.padding,d=n.boundary,f=n.rootBoundary,h=n.altBoundary,m=n.flipVariations,v=m===void 0?!0:m,p=n.allowedAutoPlacements,g=t.options.placement,y=oo(g),b=y===g,C=u||(b||!v?[Bd(g)]:rP(g)),w=[g].concat(C).reduce(function(ee,te){return ee.concat(oo(te)===d1?sP(t,{placement:te,boundary:d,rootBoundary:f,padding:c,flipVariations:v,allowedAutoPlacements:p}):te)},[]),_=t.rects.reference,k=t.rects.popper,M=new Map,E=!0,T=w[0],O=0;O=0,H=K?"width":"height",z=Qu(t,{placement:I,boundary:d,rootBoundary:f,altBoundary:h,padding:c}),V=K?R?bl:Fa:R?yl:Ha;_[H]>k[H]&&(V=Bd(V));var L=Bd(V),F=[];if(o&&F.push(z[N]<=0),r&&F.push(z[V]<=0,z[L]<=0),F.every(function(ee){return ee})){T=I,E=!1;break}M.set(I,F)}if(E)for(var D=v?3:1,j=function(ee){var te=w.find(function(ae){var ue=M.get(ae);if(ue)return ue.slice(0,ee).every(function(pe){return pe})});if(te)return T=te,"break"},q=D;q>0;q--){var Q=j(q);if(Q==="break")break}t.placement!==T&&(t.modifiersData[a]._skip=!0,t.placement=T,t.reset=!0)}}var uP={name:"flip",enabled:!0,phase:"main",fn:iP,requiresIfExists:["offset"],data:{_skip:!1}};function N4(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function A4(e){return[Ha,bl,yl,Fa].some(function(t){return e[t]>=0})}function cP(e){var t=e.state,n=e.name,a=t.rects.reference,l=t.rects.popper,o=t.modifiersData.preventOverflow,s=Qu(t,{elementContext:"reference"}),r=Qu(t,{altBoundary:!0}),u=N4(s,a),c=N4(r,l,o),d=A4(u),f=A4(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":f})}var dP={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:cP};function fP(e,t,n){var a=oo(e),l=[Fa,Ha].indexOf(a)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=o[0],r=o[1];return s=s||0,r=(r||0)*l,[Fa,bl].indexOf(a)>=0?{x:r,y:s}:{x:s,y:r}}function pP(e){var t=e.state,n=e.options,a=e.name,l=n.offset,o=l===void 0?[0,0]:l,s=Co.reduce(function(d,f){return d[f]=fP(f,t.rects,o),d},{}),r=s[t.placement],u=r.x,c=r.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[a]=s}var hP={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:pP};function vP(e){var t=e.state,n=e.name;t.modifiersData[n]=s5({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var r5={name:"popperOffsets",enabled:!0,phase:"read",fn:vP,data:{}};function mP(e){return e==="x"?"y":"x"}function gP(e){var t=e.state,n=e.options,a=e.name,l=n.mainAxis,o=l===void 0?!0:l,s=n.altAxis,r=s===void 0?!1:s,u=n.boundary,c=n.rootBoundary,d=n.altBoundary,f=n.padding,h=n.tether,m=h===void 0?!0:h,v=n.tetherOffset,p=v===void 0?0:v,g=Qu(t,{boundary:u,rootBoundary:c,padding:f,altBoundary:d}),y=oo(t.placement),b=Ti(t.placement),C=!b,w=h1(y),_=mP(w),k=t.modifiersData.popperOffsets,M=t.rects.reference,E=t.rects.popper,T=typeof p=="function"?p(Object.assign({},t.rects,{placement:t.placement})):p,O=typeof T=="number"?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(k){if(o){var R,K=w==="y"?Ha:Fa,H=w==="y"?yl:bl,z=w==="y"?"height":"width",V=k[w],L=V+g[K],F=V-g[H],D=m?-E[z]/2:0,j=b===xi?M[z]:E[z],q=b===xi?-E[z]:-M[z],Q=t.elements.arrow,ee=m&&Q?p1(Q):{width:0,height:0},te=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:e5(),ae=te[K],ue=te[H],pe=Mu(0,M[z],ee[z]),ge=C?M[z]/2-D-pe-ae-O.mainAxis:j-pe-ae-O.mainAxis,X=C?-M[z]/2+D+pe+ue+O.mainAxis:q+pe+ue+O.mainAxis,Z=t.elements.arrow&&Ic(t.elements.arrow),re=Z?w==="y"?Z.clientTop||0:Z.clientLeft||0:0,U=(R=I==null?void 0:I[w])!=null?R:0,J=V+ge-U-re,se=V+X-U,fe=Mu(m?Ef(L,J):L,V,m?er(F,se):F);k[w]=fe,N[w]=fe-V}if(r){var me,we=w==="x"?Ha:Fa,Ve=w==="x"?yl:bl,Ae=k[_],xe=_==="y"?"height":"width",he=Ae+g[we],Ee=Ae-g[Ve],$e=[Ha,Fa].indexOf(y)!==-1,Re=(me=I==null?void 0:I[_])!=null?me:0,Ge=$e?he:Ae-M[xe]-E[xe]-Re+O.altAxis,Ze=$e?Ae+M[xe]+E[xe]-Re-O.altAxis:Ee,Xe=m&&$e?WI(Ge,Ae,Ze):Mu(m?Ge:he,Ae,m?Ze:Ee);k[_]=Xe,N[_]=Xe-Ae}t.modifiersData[a]=N}}var yP={name:"preventOverflow",enabled:!0,phase:"main",fn:gP,requiresIfExists:["offset"]};function bP(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function wP(e){return e===al(e)||!vl(e)?v1(e):bP(e)}function CP(e){var t=e.getBoundingClientRect(),n=ki(t.width)/e.offsetWidth||1,a=ki(t.height)/e.offsetHeight||1;return n!==1||a!==1}function _P(e,t,n){n===void 0&&(n=!1);var a=vl(t),l=vl(t)&&CP(t),o=As(t),s=Ei(e,l,n),r={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!n)&&((po(t)!=="body"||g1(o))&&(r=wP(t)),vl(t)?(u=Ei(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):o&&(u.x=m1(o))),{x:s.left+r.scrollLeft-u.x,y:s.top+r.scrollTop-u.y,width:s.width,height:s.height}}function SP(e){var t=new Map,n=new Set,a=[];e.forEach(function(o){t.set(o.name,o)});function l(o){n.add(o.name);var s=[].concat(o.requires||[],o.requiresIfExists||[]);s.forEach(function(r){if(!n.has(r)){var u=t.get(r);u&&l(u)}}),a.push(o)}return e.forEach(function(o){n.has(o.name)||l(o)}),a}function xP(e){var t=SP(e);return zI.reduce(function(n,a){return n.concat(t.filter(function(l){return l.phase===a}))},[])}function kP(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function EP(e){var t=e.reduce(function(n,a){var l=n[a.name];return n[a.name]=l?Object.assign({},l,a,{options:Object.assign({},l.options,a.options),data:Object.assign({},l.data,a.data)}):a,n},{});return Object.keys(t).map(function(n){return t[n]})}var I4={placement:"bottom",modifiers:[],strategy:"absolute"};function P4(){for(var e=arguments.length,t=new Array(e),n=0;n{const a={name:"updateState",enabled:!0,phase:"write",fn:({state:u})=>{const c=NP(u);Object.assign(s.value,c)},requires:["computeStyles"]},l=x(()=>{const{onFirstUpdate:u,placement:c,strategy:d,modifiers:f}=i(n);return{onFirstUpdate:u,placement:c||"bottom",strategy:d||"absolute",modifiers:[...f||[],a,{name:"applyStyles",enabled:!1}]}}),o=kt(),s=B({styles:{popper:{position:i(l).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),r=()=>{o.value&&(o.value.destroy(),o.value=void 0)};return ce(l,u=>{const c=i(o);c&&c.setOptions(u)},{deep:!0}),ce([e,t],([u,c])=>{r(),!(!u||!c)&&(o.value=OP(u,c,i(l)))}),Ht(()=>{r()}),{state:x(()=>{var u;return{...((u=i(o))==null?void 0:u.state)||{}}}),styles:x(()=>i(s).styles),attributes:x(()=>i(s).attributes),update:()=>{var u;return(u=i(o))==null?void 0:u.update()},forceUpdate:()=>{var u;return(u=i(o))==null?void 0:u.forceUpdate()},instanceRef:x(()=>i(o))}};function NP(e){const t=Object.keys(e.elements);return{styles:Si(t.map(n=>[n,e.styles[n]||{}])),attributes:Si(t.map(n=>[n,e.attributes[n]]))}}const b1=e=>{if(!e)return{onClick:ut,onMousedown:ut,onMouseup:ut};let t=!1,n=!1;return{onClick:s=>{t&&n&&e(s),t=n=!1},onMousedown:s=>{t=s.target===s.currentTarget},onMouseup:s=>{n=s.target===s.currentTarget}}},AP=(e,t=0)=>{if(t===0)return e;const n=B(rt(t)&&!!t.initVal);let a=null;const l=s=>{if(Mt(s)){n.value=e.value;return}a&&clearTimeout(a),a=setTimeout(()=>{n.value=e.value},s)},o=s=>{s==="leading"?qe(t)?l(t):l(t.leading):rt(t)?l(t.trailing):n.value=!1};return mt(()=>o("leading")),ce(()=>e.value,s=>{o(s?"leading":"trailing")}),n};function R4(){let e;const t=(a,l)=>{n(),e=globalThis.setTimeout(a,l)},n=()=>{e!==void 0&&(globalThis.clearTimeout(e),e=void 0)};return Es(()=>n()),{registerTimeout:t,cancelTimeout:n}}const Wh={prefix:Math.floor(Math.random()*1e4),current:0},IP=Symbol("elIdInjection"),w1=()=>st()?De(IP,Wh):Wh,oa=e=>{const t=w1();!Bt&&t===Wh&&jt("IdInjection",`Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed +usage: app.provide(ID_INJECTION_KEY, { + prefix: number, + current: number, +})`);const n=i1();return B8(()=>i(e)||`${n.value}-id-${t.prefix}-${t.current++}`)};let jr=[];const V4=e=>{Xt(e)===Ce.esc&&jr.forEach(t=>t(e))},PP=e=>{mt(()=>{jr.length===0&&document.addEventListener("keydown",V4),Bt&&jr.push(e)}),Ht(()=>{jr=jr.filter(t=>t!==e),jr.length===0&&Bt&&document.removeEventListener("keydown",V4)})},i5=()=>{const e=i1(),t=w1(),n=x(()=>`${e.value}-popper-container-${t.prefix}`);return{id:n,selector:x(()=>`#${n.value}`)}},RP=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},VP=()=>{const{id:e,selector:t}=i5();return Bi(()=>{Bt&&(document.body.querySelector(t.value)||RP(e.value))}),{id:e,selector:t}},LP=ke({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),BP={showAfter:0,hideAfter:200,autoClose:0},zP=({showAfter:e,hideAfter:t,autoClose:n,open:a,close:l})=>{const{registerTimeout:o}=R4(),{registerTimeout:s,cancelTimeout:r}=R4();return{onOpen:(d,f=i(e))=>{o(()=>{a(d);const h=i(n);qe(h)&&h>0&&s(()=>{l(d)},h)},f)},onClose:(d,f=i(t))=>{r(),o(()=>{l(d)},f)}}},u5=Symbol("elForwardRef"),DP=e=>{Et(u5,{setForwardRef:n=>{e.value=n}})},HP=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),L4={current:0},B4=B(0),c5=2e3,z4=Symbol("elZIndexContextKey"),d5=Symbol("zIndexContextKey"),Pc=e=>{const t=st()?De(z4,L4):L4,n=e||(st()?De(d5,void 0):void 0),a=x(()=>{const s=i(n);return qe(s)?s:c5}),l=x(()=>a.value+B4.value),o=()=>(t.current++,B4.value=t.current,l.value);return!Bt&&!De(z4)&&jt("ZIndexInjection",`Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed +usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`),{initialZIndex:a,currentZIndex:l,nextZIndex:o}},Mi=Math.min,tr=Math.max,Tf=Math.round,dd=Math.floor,zo=e=>({x:e,y:e}),FP={left:"right",right:"left",bottom:"top",top:"bottom"};function f5(e,t,n){return tr(e,Mi(t,n))}function Rc(e,t){return typeof e=="function"?e(t):e}function Oi(e){return e.split("-")[0]}function Vc(e){return e.split("-")[1]}function p5(e){return e==="x"?"y":"x"}function C1(e){return e==="y"?"height":"width"}function vs(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function _1(e){return p5(vs(e))}function KP(e,t,n){n===void 0&&(n=!1);const a=Vc(e),l=_1(e),o=C1(l);let s=l==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=Mf(s)),[s,Mf(s)]}function WP(e){const t=Mf(e);return[jh(e),t,jh(t)]}function jh(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const D4=["left","right"],H4=["right","left"],jP=["top","bottom"],qP=["bottom","top"];function UP(e,t,n){switch(e){case"top":case"bottom":return n?t?H4:D4:t?D4:H4;case"left":case"right":return t?jP:qP;default:return[]}}function YP(e,t,n,a){const l=Vc(e);let o=UP(Oi(e),n==="start",a);return l&&(o=o.map(s=>s+"-"+l),t&&(o=o.concat(o.map(jh)))),o}function Mf(e){const t=Oi(e);return FP[t]+e.slice(t.length)}function GP(e){var t,n,a,l;return{top:(t=e.top)!=null?t:0,right:(n=e.right)!=null?n:0,bottom:(a=e.bottom)!=null?a:0,left:(l=e.left)!=null?l:0}}function h5(e){return typeof e!="number"?GP(e):{top:e,right:e,bottom:e,left:e}}function Of(e){const{x:t,y:n,width:a,height:l}=e;return{width:a,height:l,top:n,left:t,right:t+a,bottom:n+l,x:t,y:n}}function F4(e,t,n){let{reference:a,floating:l}=e;const o=vs(t),s=_1(t),r=C1(s),u=Oi(t),c=o==="y",d=a.x+a.width/2-l.width/2,f=a.y+a.height/2-l.height/2,h=a[r]/2-l[r]/2;let m;switch(u){case"top":m={x:d,y:a.y-l.height};break;case"bottom":m={x:d,y:a.y+a.height};break;case"right":m={x:a.x+a.width,y:f};break;case"left":m={x:a.x-l.width,y:f};break;default:m={x:a.x,y:a.y}}const v=Vc(t);return v&&(m[s]+=h*(v==="end"?1:-1)*(n&&c?-1:1)),m}async function v5(e,t){var n;t===void 0&&(t={});const{x:a,y:l,platform:o,rects:s,elements:r,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:m=0}=Rc(t,e),v=h5(m),g=r[h?f==="floating"?"reference":"floating":f],y=Of(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(g)))==null||n?g:g.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(r.floating)),boundary:c,rootBoundary:d,strategy:u})),b=f==="floating"?{x:a,y:l,width:s.floating.width,height:s.floating.height}:s.reference,C=await(o.getOffsetParent==null?void 0:o.getOffsetParent(r.floating)),w=await(o.isElement==null?void 0:o.isElement(C))&&await(o.getScale==null?void 0:o.getScale(C))||{x:1,y:1},_=Of(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:r,rect:b,offsetParent:C,strategy:u}):b);return{top:(y.top-_.top+v.top)/w.y,bottom:(_.bottom-y.bottom+v.bottom)/w.y,left:(y.left-_.left+v.left)/w.x,right:(_.right-y.right+v.right)/w.x}}const XP=50,JP=async(e,t,n)=>{const{placement:a="bottom",strategy:l="absolute",middleware:o=[],platform:s}=n,r=s.detectOverflow?s:{...s,detectOverflow:v5},u=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:l}),{x:d,y:f}=F4(c,a,u),h=a,m=0;const v={};for(let p=0;p({name:"arrow",options:e,async fn(t){const{x:n,y:a,placement:l,rects:o,platform:s,elements:r,middlewareData:u}=t,{element:c,padding:d=0}=Rc(e,t)||{};if(c==null)return{};const f=h5(d),h={x:n,y:a},m=_1(l),v=C1(m),p=await s.getDimensions(c),g=m==="y",y=g?"top":"left",b=g?"bottom":"right",C=g?"clientHeight":"clientWidth",w=o.reference[v]+o.reference[m]-h[m]-o.floating[v],_=h[m]-o.reference[m],k=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let M=k?k[C]:0;(!M||!await(s.isElement==null?void 0:s.isElement(k)))&&(M=r.floating[C]||o.floating[v]);const E=w/2-_/2,T=M/2-p[v]/2-1,O=Mi(f[y],T),I=Mi(f[b],T),N=M-p[v]-I,R=M/2-p[v]/2+E,K=f5(O,R,N),H=!u.arrow&&Vc(l)!=null&&R!==K&&o.reference[v]/2-(RK<=0)){var I,N;const K=(((I=o.flip)==null?void 0:I.index)||0)+1,H=M[K];if(H&&(!(f==="alignment"?b!==vs(H):!1)||O.every(L=>vs(L.placement)===b?L.overflows[0]>0:!0)))return{data:{index:K,overflows:O},reset:{placement:H}};let z=(N=O.filter(V=>V.overflows[0]<=0).sort((V,L)=>V.overflows[1]-L.overflows[1])[0])==null?void 0:N.placement;if(!z)switch(m){case"bestFit":{var R;const V=(R=O.filter(L=>{if(k){const F=vs(L.placement);return F===b||F==="y"}return!0}).map(L=>[L.placement,L.overflows.filter(F=>F>0).reduce((F,D)=>F+D,0)]).sort((L,F)=>L[1]-F[1])[0])==null?void 0:R[0];V&&(z=V);break}case"initialPlacement":z=r;break}if(l!==z)return{reset:{placement:z}}}return{}}}},eR=new Set(["left","top"]);async function tR(e,t){const{placement:n,platform:a,elements:l}=e,o=await(a.isRTL==null?void 0:a.isRTL(l.floating)),s=Oi(n),r=Vc(n),u=vs(n)==="y",c=eR.has(s)?-1:1,d=o&&u?-1:1,f=Rc(t,e);let{mainAxis:h,crossAxis:m,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return r&&typeof v=="number"&&(m=r==="end"?v*-1:v),u?{x:m*d,y:h*c}:{x:h*c,y:m*d}}const nR=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,a;const{x:l,y:o,placement:s,middlewareData:r}=t,u=await tR(t,e);return s===((n=r.offset)==null?void 0:n.placement)&&(a=r.arrow)!=null&&a.alignmentOffset?{}:{x:l+u.x,y:o+u.y,data:{...u,placement:s}}}}},aR=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:a,placement:l,platform:o}=t,{mainAxis:s=!0,crossAxis:r=!1,limiter:u={fn:b=>{let{x:C,y:w}=b;return{x:C,y:w}}},...c}=Rc(e,t),d={x:n,y:a},f=await o.detectOverflow(t,c),h=vs(l),m=p5(h);let v=d[m],p=d[h];const g=(b,C)=>f5(C+f[b==="y"?"top":"left"],C,C-f[b==="y"?"bottom":"right"]);s&&(v=g(m,v)),r&&(p=g(h,p));const y=u.fn({...t,[m]:v,[h]:p});return{...y,data:{x:y.x-n,y:y.y-a,enabled:{[m]:s,[h]:r}}}}}};function L0(){return typeof window<"u"}function qi(e){return m5(e)?(e.nodeName||"").toLowerCase():"#document"}function Ka(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Xo(e){var t;return(t=(m5(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function m5(e){return L0()?e instanceof Node||e instanceof Ka(e).Node:!1}function ho(e){return L0()?e instanceof Element||e instanceof Ka(e).Element:!1}function Is(e){return L0()?e instanceof HTMLElement||e instanceof Ka(e).HTMLElement:!1}function K4(e){return!L0()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ka(e).ShadowRoot}function B0(e){const{overflow:t,overflowX:n,overflowY:a,display:l}=vo(e);return/auto|scroll|overlay|hidden|clip/.test(t+a+n)&&l!=="inline"&&l!=="contents"}function lR(e){return/^(table|td|th)$/.test(qi(e))}function z0(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const oR=/transform|translate|scale|rotate|perspective|filter/,sR=/paint|layout|strict|content/,Bs=e=>!!e&&e!=="none";let Ep;function S1(e){const t=ho(e)?vo(e):e;return Bs(t.transform)||Bs(t.translate)||Bs(t.scale)||Bs(t.rotate)||Bs(t.perspective)||!x1()&&(Bs(t.backdropFilter)||Bs(t.filter))||oR.test(t.willChange||"")||sR.test(t.contain||"")}function rR(e){let t=vr(e);for(;Is(t)&&!ec(t);){if(S1(t))return t;if(z0(t))return null;t=vr(t)}return null}function x1(){return Ep==null&&(Ep=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Ep}function ec(e){return/^(html|body|#document)$/.test(qi(e))}function vo(e){return Ka(e).getComputedStyle(e)}function D0(e){return ho(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function vr(e){if(qi(e)==="html")return e;const t=e.assignedSlot||e.parentNode||K4(e)&&e.host||Xo(e);return K4(t)?t.host:t}function g5(e){const t=vr(e);return ec(t)?(e.ownerDocument||e).body:Is(t)&&B0(t)?t:g5(t)}function tc(e,t,n){var a;t===void 0&&(t=[]),n===void 0&&(n=!0);const l=g5(e),o=l===((a=e.ownerDocument)==null?void 0:a.body),s=Ka(l);if(o){const r=qh(s);return t.concat(s,s.visualViewport||[],B0(l)?l:[],r&&n?tc(r):[])}else return t.concat(l,tc(l,[],n))}function qh(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function y5(e){const t=vo(e);let n=parseFloat(t.width)||0,a=parseFloat(t.height)||0;const l=Is(e),o=l?e.offsetWidth:n,s=l?e.offsetHeight:a,r=Tf(n)!==o||Tf(a)!==s;return r&&(n=o,a=s),{width:n,height:a,$:r}}function k1(e){return ho(e)?e:e.contextElement}function ri(e){const t=k1(e);if(!Is(t))return zo(1);const n=t.getBoundingClientRect(),{width:a,height:l,$:o}=y5(t);let s=(o?Tf(n.width):n.width)/a,r=(o?Tf(n.height):n.height)/l;return(!s||!Number.isFinite(s))&&(s=1),(!r||!Number.isFinite(r))&&(r=1),{x:s,y:r}}const iR=zo(0);function b5(e){const t=Ka(e);return!x1()||!t.visualViewport?iR:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function uR(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===Ka(e)}function mr(e,t,n,a){t===void 0&&(t=!1),n===void 0&&(n=!1);const l=e.getBoundingClientRect(),o=k1(e);let s=zo(1);t&&(a?ho(a)&&(s=ri(a)):s=ri(e));const r=uR(o,n,a)?b5(o):zo(0);let u=(l.left+r.x)/s.x,c=(l.top+r.y)/s.y,d=l.width/s.x,f=l.height/s.y;if(o&&a){const h=Ka(o),m=ho(a)?Ka(a):a;let v=h,p=qh(v);for(;p&&m!==v;){const g=ri(p),y=p.getBoundingClientRect(),b=vo(p),C=y.left+(p.clientLeft+parseFloat(b.paddingLeft))*g.x,w=y.top+(p.clientTop+parseFloat(b.paddingTop))*g.y;u*=g.x,c*=g.y,d*=g.x,f*=g.y,u+=C,c+=w,v=Ka(p),p=qh(v)}}return Of({width:d,height:f,x:u,y:c})}function H0(e,t){const n=D0(e).scrollLeft;return t?t.left+n:mr(Xo(e)).left+n}function w5(e,t){const n=e.getBoundingClientRect(),a=n.left+t.scrollLeft-H0(e,n),l=n.top+t.scrollTop;return{x:a,y:l}}function cR(e){let{elements:t,rect:n,offsetParent:a,strategy:l}=e;const o=l==="fixed",s=Xo(a),r=t?z0(t.floating):!1;if(a===s||r&&o)return n;let u={scrollLeft:0,scrollTop:0},c=zo(1);const d=zo(0),f=Is(a);if((f||!o)&&((qi(a)!=="body"||B0(s))&&(u=D0(a)),f)){const m=mr(a);c=ri(a),d.x=m.x+a.clientLeft,d.y=m.y+a.clientTop}const h=s&&!f&&!o?w5(s,u):zo(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+d.x+h.x,y:n.y*c.y-u.scrollTop*c.y+d.y+h.y}}function dR(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function fR(e){const t=D0(e),n=e.ownerDocument.body,a=tr(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),l=tr(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let o=-t.scrollLeft+H0(e);const s=-t.scrollTop;return vo(n).direction==="rtl"&&(o+=tr(e.clientWidth,n.clientWidth)-a),{width:a,height:l,x:o,y:s}}const pR=25;function hR(e,t,n){n===void 0&&(n="viewport");const a=n==="layoutViewport",l=Ka(e),o=Xo(e),s=l.visualViewport;let r=o.clientWidth,u=o.clientHeight,c=0,d=0;if(s){const h=!x1()||t==="fixed";a?h||(c=-s.offsetLeft,d=-s.offsetTop):(r=s.width,u=s.height,h&&(c=s.offsetLeft,d=s.offsetTop))}if(H0(o)<=0){const h=o.ownerDocument,m=h.body,v=getComputedStyle(m),p=h.compatMode==="CSS1Compat"&&parseFloat(v.marginLeft)+parseFloat(v.marginRight)||0,g=Math.abs(o.clientWidth-m.clientWidth-p),y=getComputedStyle(o).scrollbarGutter==="stable both-edges"?g/2:g;y<=pR&&(r-=y)}return{width:r,height:u,x:c,y:d}}function vR(e,t){const n=mr(e,!0,t==="fixed"),a=n.top+e.clientTop,l=n.left+e.clientLeft,o=ri(e),s=e.clientWidth*o.x,r=e.clientHeight*o.y,u=l*o.x,c=a*o.y;return{width:s,height:r,x:u,y:c}}function W4(e,t,n){let a;if(t==="viewport"||t==="layoutViewport")a=hR(e,n,t);else if(t==="document")a=fR(Xo(e));else if(ho(t))a=vR(t,n);else{const l=b5(e);a={x:t.x-l.x,y:t.y-l.y,width:t.width,height:t.height}}return Of(a)}function mR(e,t){const n=t.get(e);if(n)return n;let a=tc(e,[],!1).filter(r=>ho(r)&&qi(r)!=="body"),l=null;const o=vo(e).position==="fixed";let s=o?vr(e):e;for(;ho(s)&&!ec(s);){const r=vo(s),u=S1(s),c=l?l.position:o?"fixed":"";!u&&(c==="fixed"||c==="absolute"&&r.position==="static")?a=a.filter(f=>f!==s):l=r,s=vr(s)}return t.set(e,a),a}function gR(e){let{element:t,boundary:n,rootBoundary:a,strategy:l}=e;const s=[...n==="clippingAncestors"?z0(t)?[]:mR(t,this._c):[].concat(n),a],r=W4(t,s[0],l);let u=r.top,c=r.right,d=r.bottom,f=r.left;for(let h=1;h{r(!1,1e-7)},1e3)}M=!1}try{a=new IntersectionObserver(E,{...k,root:o.ownerDocument})}catch{a=new IntersectionObserver(E,k)}a.observe(e)}const u=Ka(e),c=()=>r(n);return u.addEventListener("resize",c),r(!0),()=>{u.removeEventListener("resize",c),s()}}function xR(e,t,n,a){a===void 0&&(a={});const{ancestorScroll:l=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:r=typeof IntersectionObserver=="function",animationFrame:u=!1}=a,c=k1(e),d=l||o?[...c?tc(c):[],...t?tc(t):[]]:[];d.forEach(y=>{l&&y.addEventListener("scroll",n),o&&y.addEventListener("resize",n)});const f=c&&r?SR(c,n,o):null;let h=-1,m=null;s&&(m=new ResizeObserver(y=>{let[b]=y;b&&b.target===c&&m&&t&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var C;(C=m)==null||C.observe(t)})),n()}),c&&!u&&m.observe(c),t&&m.observe(t));let v,p=u?mr(e):null;u&&g();function g(){const y=mr(e);p&&!_5(p,y)&&n(),p=y,v=requestAnimationFrame(g)}return n(),()=>{var y;d.forEach(b=>{l&&b.removeEventListener("scroll",n),o&&b.removeEventListener("resize",n)}),f==null||f(),(y=m)==null||y.disconnect(),m=null,u&&cancelAnimationFrame(v)}}const kR=v5,ER=nR,TR=aR,MR=QP,OR=ZP,$R=(e,t,n)=>{const a=new Map,l=n??{},o={..._R,...l.platform,_c:a};return JP(e,t,{...l,platform:o})};function NR(e){let t;function n(){if(e.value==null)return;const{selectionStart:l,selectionEnd:o,value:s}=e.value;l==null||o==null||(t={selectionStart:l,selectionEnd:o,value:s,beforeTxt:s.slice(0,Math.max(0,l)),afterTxt:s.slice(Math.max(0,o))})}function a(){if(e.value==null||t==null)return;const{value:l}=e.value,{beforeTxt:o,afterTxt:s,selectionStart:r}=t;if(o==null||s==null||r==null)return;let u=l.length;if(l.endsWith(s))u=l.length-s.length;else if(l.startsWith(o))u=o.length;else{const c=o[r-1],d=l.indexOf(c,r-1);d!==-1&&(u=d+1)}e.value.setSelectionRange(u,u)}return[n,a]}const AR="utils/vue/vnode";function Uh(e){return Yt(e)&&e.type===He}function S5(e){return Yt(e)&&e.type===pn}function IR(e){return Yt(e)&&!Uh(e)&&!S5(e)}const PR=e=>{if(!Yt(e))return jt(AR,"[getNormalizedProps] must be a VNode"),{};const t=e.props||{},n=(Yt(e.type)?e.type.props:void 0)||{},a={};return Object.keys(n).forEach(l=>{zt(n[l],"default")&&(a[l]=n[l].default)}),Object.keys(t).forEach(l=>{a[cn(l)]=t[l]}),a},tl=e=>{const t=ve(e)?e:[e],n=[];return t.forEach(a=>{var l;ve(a)?n.push(...tl(a)):Yt(a)&&((l=a.component)!=null&&l.subTree)?n.push(a,...tl(a.component.subTree)):Yt(a)&&ve(a.children)?n.push(...tl(a.children)):Yt(a)&&a.shapeFlag===2?n.push(...tl(a.type())):n.push(a)}),n},RR=(e,t,n)=>tl(e.subTree).filter(a=>{var l;return Yt(a)&&((l=a.type)==null?void 0:l.name)===t&&!!a.component}).map(a=>a.component.uid).map(a=>n[a]).filter(a=>!!a),F0=(e,t)=>{const n=kt({}),a=kt([]),l=new WeakMap,o=c=>{n.value[c.uid]=c,Qr(n),mt(()=>{const d=c.getVnode().el,f=d.parentNode;if(!l.has(f)){l.set(f,[]);const h=f.insertBefore.bind(f);f.insertBefore=(m,v)=>(l.get(f).some(p=>m===p||v===p)&&Qr(n),h(m,v))}l.get(f).push(d)})},s=c=>{delete n.value[c.uid],Qr(n);const d=c.getVnode().el,f=d.parentNode,h=l.get(f),m=h.indexOf(d);h.splice(m,1)},r=()=>{a.value=RR(e,t,n.value)},u=c=>c.render();return{children:a,addChild:o,removeChild:s,ChildrenSorter:W({setup(c,{slots:d}){return()=>(r(),d.default?Je(u,{render:d.default}):null)}})}},zn=Wl({type:String,values:Fl,required:!1}),x5=Symbol("size"),k5=()=>{const e=De(x5,{});return x(()=>i(e.size)||"")};function Jo(e,{disabled:t,beforeFocus:n,afterFocus:a,beforeBlur:l,afterBlur:o}={}){const{emit:s}=st(),r=kt(),u=B(!1),c=h=>{const m=Ke(n)?n(h):!1;i(t)||u.value||m||(u.value=!0,s("focus",h),a==null||a())},d=h=>{var v;const m=Ke(l)?l(h):!1;i(t)||h.relatedTarget&&((v=r.value)!=null&&v.contains(h.relatedTarget))||m||(u.value=!1,s("blur",h),o==null||o())},f=h=>{var m,v;i(t)||pr(h.target)||(m=r.value)!=null&&m.contains(document.activeElement)&&r.value!==document.activeElement||(v=e.value)==null||v.focus()};return ce([r,()=>i(t)],([h,m])=>{h&&(m?h.removeAttribute("tabindex"):h.setAttribute("tabindex","-1"))}),Wt(r,"focus",c,!0),Wt(r,"blur",d,!0),Wt(r,"click",f,!0),{isFocused:u,wrapperRef:r,handleFocus:c,handleBlur:d}}function Lc({afterComposition:e,emit:t}){const n=B(!1),a=r=>{t==null||t("compositionstart",r),n.value=!0},l=r=>{t==null||t("compositionupdate",r),n.value=!0},o=r=>{t==null||t("compositionend",r),n.value&&(n.value=!1,Pe(()=>e(r)))};return{isComposing:n,handleComposition:r=>{r.type==="compositionend"?o(r):l(r)},handleCompositionStart:a,handleCompositionUpdate:l,handleCompositionEnd:o}}const E5=Symbol("emptyValuesContextKey"),VR="use-empty-values",LR=["",void 0,null],$r=ke({emptyValues:Array,valueOnClear:{type:Y([String,Number,Boolean,Function]),default:void 0,validator:e=>(e=Ke(e)?e():e,ve(e)?e.every(t=>!t):!e)}}),Bc=(e,t)=>{const n=st()?De(E5,B({})):B({}),a=x(()=>e.emptyValues||n.value.emptyValues||LR),l=x(()=>Ke(e.valueOnClear)?e.valueOnClear():e.valueOnClear!==void 0?e.valueOnClear:Ke(n.value.valueOnClear)?n.value.valueOnClear():n.value.valueOnClear!==void 0?n.value.valueOnClear:t!==void 0?t:void 0),o=s=>{let r=!0;return ve(s)?r=a.value.some(u=>gn(s,u)):r=a.value.includes(s),r};return o(l.value)||jt(VR,"value-on-clear should be a value of empty-values"),{emptyValues:a,valueOnClear:l,isEmptyValue:o}},BR=ke({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),xa=e=>fo(BR,e),T5=e=>{const t=e.props,n=ve(t)?Si(t.map(a=>[a,{}])):t;e.setPropsDefaults=a=>{if(n){for(const[l,o]of Object.entries(a)){const s=n[l];if(zt(n,l)){if(n1(s)){n[l]={...s,default:o};continue}n[l]={type:s,default:o}}}e.props=n}}},ct=(e,t)=>{if(e.install=n=>{for(const a of[e,...Object.values(t??{})])n.component(a.name,a)},t)for(const[n,a]of Object.entries(t))e[n]=a;return T5(e),e},M5=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),zR=(e,t)=>(e.install=n=>{n.directive(t,e)},e),mn=e=>(e.install=ut,T5(e),e),q4="ElAffix";var DR=W({name:q4,__name:"affix",props:pI,emits:hI,setup(e,{expose:t,emit:n}){const a=e,l=n,o=ye("affix"),s=kt(),r=kt(),u=kt(),{height:c}=Wv(),{height:d,width:f,top:h,bottom:m,left:v,update:p}=Lg(r,{windowScroll:!1}),g=Lg(s),y=B(!1),b=B(0),C=B(0),w=x(()=>!a.teleported||!y.value),_=x(()=>({display:"flow-root",height:y.value?`${d.value}px`:"",width:y.value?`${f.value}px`:""})),k=x(()=>{if(!y.value)return{};const O=bn(a.offset);return{height:`${d.value}px`,width:`${f.value}px`,top:a.position==="top"?O:"",bottom:a.position==="bottom"?O:"",left:a.teleported?`${v.value}px`:"",transform:C.value?`translateY(${C.value}px)`:"",zIndex:a.zIndex}}),M=()=>{if(!u.value)return;b.value=u.value instanceof Window?document.documentElement.scrollTop:u.value.scrollTop||0;const{position:O,target:I,offset:N}=a,R=N+d.value;if(O==="top")if(I){const K=g.bottom.value-R;y.value=N>h.value&&g.bottom.value>0,C.value=K<0?K:0}else y.value=N>h.value;else if(I){const K=c.value-g.top.value-R;y.value=c.value-Ng.top.value,C.value=K<0?-K:0}else y.value=c.value-N{if(!y.value){p();return}y.value=!1,await Pe(),p(),y.value=!0},T=async()=>{p(),await Pe(),l("scroll",{scrollTop:b.value,fixed:y.value})};return ce(y,O=>l(Ct,O)),mt(()=>{a.target?(s.value=document.querySelector(a.target)??void 0,s.value||vn(q4,`Target does not exist: ${a.target}`)):s.value=document.documentElement,u.value=u1(r.value,!0),p()}),kr(()=>{Pe(E)}),yc(()=>{y.value=!1}),Wt(u,"scroll",T),la(M),t({update:M,updateRoot:E}),(O,I)=>(S(),A("div",{ref_key:"root",ref:r,class:P(i(o).b()),style:Ye(_.value)},[(S(),ie(Ns,{disabled:w.value,to:e.appendTo},[$("div",{class:P({[i(o).m("fixed")]:y.value}),style:Ye(k.value)},[le(O.$slots,"default")],6)],8,["disabled","to"]))],6))}}),HR=DR;const FR=ct(HR);/*! Element Plus Icons Vue v2.3.2 */var KR=W({name:"AddLocation",__name:"add-location",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),$("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),$("path",{fill:"currentColor",d:"M544 384h96a32 32 0 1 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0z"})]))}}),WR=KR,jR=W({name:"Aim",__name:"aim",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),$("path",{fill:"currentColor",d:"M512 96a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V128a32 32 0 0 1 32-32m0 576a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V704a32 32 0 0 1 32-32M96 512a32 32 0 0 1 32-32h192a32 32 0 0 1 0 64H128a32 32 0 0 1-32-32m576 0a32 32 0 0 1 32-32h192a32 32 0 1 1 0 64H704a32 32 0 0 1-32-32"})]))}}),qR=jR,UR=W({name:"AlarmClock",__name:"alarm-clock",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 832a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),$("path",{fill:"currentColor",d:"m292.288 824.576 55.424 32-48 83.136a32 32 0 1 1-55.424-32zm439.424 0-55.424 32 48 83.136a32 32 0 1 0 55.424-32zM512 512h160a32 32 0 1 1 0 64H480a32 32 0 0 1-32-32V320a32 32 0 0 1 64 0zM90.496 312.256A160 160 0 0 1 312.32 90.496l-46.848 46.848a96 96 0 0 0-128 128L90.56 312.256zm835.264 0A160 160 0 0 0 704 90.496l46.848 46.848a96 96 0 0 1 128 128z"})]))}}),YR=UR,GR=W({name:"Apple",__name:"apple",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M599.872 203.776a189.4 189.4 0 0 1 64.384-4.672l2.624.128c31.168 1.024 51.2 4.096 79.488 16.32 37.632 16.128 74.496 45.056 111.488 89.344 96.384 115.264 82.752 372.8-34.752 521.728-7.68 9.728-32 41.6-30.72 39.936a427 427 0 0 1-30.08 35.776c-31.232 32.576-65.28 49.216-110.08 50.048-31.36.64-53.568-5.312-84.288-18.752l-6.528-2.88c-20.992-9.216-30.592-11.904-47.296-11.904-18.112 0-28.608 2.88-51.136 12.672l-6.464 2.816c-28.416 12.224-48.32 18.048-76.16 19.2-74.112 2.752-116.928-38.08-180.672-132.16-96.64-142.08-132.608-349.312-55.04-486.4 46.272-81.92 129.92-133.632 220.672-135.04 32.832-.576 60.288 6.848 99.648 22.72 27.136 10.88 34.752 13.76 37.376 14.272 16.256-20.16 27.776-36.992 34.56-50.24 13.568-26.304 27.2-59.968 40.704-100.8a32 32 0 1 1 60.8 20.224c-12.608 37.888-25.408 70.4-38.528 97.664m-51.52 78.08c-14.528 17.792-31.808 37.376-51.904 58.816a32 32 0 1 1-46.72-43.776l12.288-13.248c-28.032-11.2-61.248-26.688-95.68-26.112-70.4 1.088-135.296 41.6-171.648 105.792C121.6 492.608 176 684.16 247.296 788.992c34.816 51.328 76.352 108.992 130.944 106.944 52.48-2.112 72.32-34.688 135.872-34.688s81.28 34.688 136.96 33.536c56.448-1.088 75.776-39.04 126.848-103.872 107.904-136.768 107.904-362.752 35.776-449.088-72.192-86.272-124.672-84.096-151.68-85.12-41.472-4.288-81.6 12.544-113.664 25.152"})]))}}),XR=GR,JR=W({name:"ArrowDownBold",__name:"arrow-down-bold",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M104.704 338.752a64 64 0 0 1 90.496 0l316.8 316.8 316.8-316.8a64 64 0 0 1 90.496 90.496L557.248 791.296a64 64 0 0 1-90.496 0L104.704 429.248a64 64 0 0 1 0-90.496"})]))}}),ZR=JR,QR=W({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"})]))}}),jl=QR,eV=W({name:"ArrowLeftBold",__name:"arrow-left-bold",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M685.248 104.704a64 64 0 0 1 0 90.496L368.448 512l316.8 316.8a64 64 0 0 1-90.496 90.496L232.704 557.248a64 64 0 0 1 0-90.496l362.048-362.048a64 64 0 0 1 90.496 0"})]))}}),tV=eV,nV=W({name:"ArrowLeft",__name:"arrow-left",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.59 30.59 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.59 30.59 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0"})]))}}),mo=nV,aV=W({name:"ArrowRightBold",__name:"arrow-right-bold",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M338.752 104.704a64 64 0 0 0 0 90.496l316.8 316.8-316.8 316.8a64 64 0 0 0 90.496 90.496l362.048-362.048a64 64 0 0 0 0-90.496L429.248 104.704a64 64 0 0 0-90.496 0"})]))}}),lV=aV,oV=W({name:"ArrowRight",__name:"arrow-right",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M340.864 149.312a30.59 30.59 0 0 0 0 42.752L652.736 512 340.864 831.872a30.59 30.59 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),ua=oV,sV=W({name:"ArrowUpBold",__name:"arrow-up-bold",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M104.704 685.248a64 64 0 0 0 90.496 0l316.8-316.8 316.8 316.8a64 64 0 0 0 90.496-90.496L557.248 232.704a64 64 0 0 0-90.496 0L104.704 594.752a64 64 0 0 0 0 90.496"})]))}}),rV=sV,iV=W({name:"ArrowUp",__name:"arrow-up",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),zc=iV,uV=W({name:"Avatar",__name:"avatar",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M628.736 528.896A416 416 0 0 1 928 928H96a415.87 415.87 0 0 1 299.264-399.104L512 704zM720 304a208 208 0 1 1-416 0 208 208 0 0 1 416 0"})]))}}),cV=uV,dV=W({name:"Back",__name:"back",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),$("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}}),O5=dV,fV=W({name:"Baseball",__name:"baseball",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M195.2 828.8a448 448 0 1 1 633.6-633.6 448 448 0 0 1-633.6 633.6m45.248-45.248a384 384 0 1 0 543.104-543.104 384 384 0 0 0-543.104 543.104"}),$("path",{fill:"currentColor",d:"M497.472 96.896c22.784 4.672 44.416 9.472 64.896 14.528a256.128 256.128 0 0 0 350.208 350.208c5.056 20.48 9.856 42.112 14.528 64.896A320.128 320.128 0 0 1 497.472 96.896M108.48 491.904a320.128 320.128 0 0 1 423.616 423.68c-23.04-3.648-44.992-7.424-65.728-11.52a256.128 256.128 0 0 0-346.496-346.432 1737 1737 0 0 1-11.392-65.728"})]))}}),pV=fV,hV=W({name:"Basketball",__name:"basketball",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M778.752 788.224a382.46 382.46 0 0 0 116.032-245.632 256.51 256.51 0 0 0-241.728-13.952 762.9 762.9 0 0 1 125.696 259.584m-55.04 44.224a699.65 699.65 0 0 0-125.056-269.632 256.13 256.13 0 0 0-56.064 331.968 382.7 382.7 0 0 0 181.12-62.336m-254.08 61.248A320.13 320.13 0 0 1 557.76 513.6a716 716 0 0 0-48.192-48.128 320.13 320.13 0 0 1-379.264 88.384 382.4 382.4 0 0 0 110.144 229.696 382.4 382.4 0 0 0 229.184 110.08zM129.28 481.088a256.13 256.13 0 0 0 331.072-56.448 699.65 699.65 0 0 0-268.8-124.352 382.66 382.66 0 0 0-62.272 180.8m106.56-235.84a762.9 762.9 0 0 1 258.688 125.056 256.51 256.51 0 0 0-13.44-241.088A382.46 382.46 0 0 0 235.84 245.248m318.08-114.944c40.576 89.536 37.76 193.92-8.448 281.344a780 780 0 0 1 66.176 66.112 320.83 320.83 0 0 1 282.112-8.128 382.4 382.4 0 0 0-110.144-229.12 382.4 382.4 0 0 0-229.632-110.208zM828.8 828.8a448 448 0 1 1-633.6-633.6 448 448 0 0 1 633.6 633.6"})]))}}),vV=hV,mV=W({name:"BellFilled",__name:"bell-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M640 832a128 128 0 0 1-256 0zm192-64H134.4a38.4 38.4 0 0 1 0-76.8H192V448c0-154.88 110.08-284.16 256.32-313.6a64 64 0 1 1 127.36 0A320.13 320.13 0 0 1 832 448v243.2h57.6a38.4 38.4 0 0 1 0 76.8z"})]))}}),gV=mV,yV=W({name:"Bell",__name:"bell",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 64a64 64 0 0 1 64 64v64H448v-64a64 64 0 0 1 64-64"}),$("path",{fill:"currentColor",d:"M256 768h512V448a256 256 0 1 0-512 0zm256-640a320 320 0 0 1 320 320v384H192V448a320 320 0 0 1 320-320"}),$("path",{fill:"currentColor",d:"M96 768h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32m352 128h128a64 64 0 0 1-128 0"})]))}}),bV=yV,wV=W({name:"Bicycle",__name:"bicycle",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M256 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),$("path",{fill:"currentColor",d:"M288 672h320q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),$("path",{fill:"currentColor",d:"M768 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),$("path",{fill:"currentColor",d:"M480 192a32 32 0 0 1 0-64h160a32 32 0 0 1 31.04 24.256l96 384a32 32 0 0 1-62.08 15.488L615.04 192zM96 384a32 32 0 0 1 0-64h128a32 32 0 0 1 30.336 21.888l64 192a32 32 0 1 1-60.672 20.224L200.96 384z"}),$("path",{fill:"currentColor",d:"m373.376 599.808-42.752-47.616 320-288 42.752 47.616z"})]))}}),CV=wV,_V=W({name:"BottomLeft",__name:"bottom-left",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M256 768h416a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V352a32 32 0 0 1 64 0z"}),$("path",{fill:"currentColor",d:"M246.656 822.656a32 32 0 0 1-45.312-45.312l544-544a32 32 0 0 1 45.312 45.312z"})]))}}),SV=_V,xV=W({name:"BottomRight",__name:"bottom-right",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M352 768a32 32 0 1 0 0 64h448a32 32 0 0 0 32-32V352a32 32 0 0 0-64 0v416z"}),$("path",{fill:"currentColor",d:"M777.344 822.656a32 32 0 0 0 45.312-45.312l-544-544a32 32 0 0 0-45.312 45.312z"})]))}}),kV=xV,EV=W({name:"Bottom",__name:"bottom",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M544 805.888V168a32 32 0 1 0-64 0v637.888L246.656 557.952a30.72 30.72 0 0 0-45.312 0 35.52 35.52 0 0 0 0 48.064l288 306.048a30.72 30.72 0 0 0 45.312 0l288-306.048a35.52 35.52 0 0 0 0-48 30.72 30.72 0 0 0-45.312 0L544 805.824z"})]))}}),TV=EV,MV=W({name:"Bowl",__name:"bowl",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M714.432 704a351.74 351.74 0 0 0 148.16-256H161.408a351.74 351.74 0 0 0 148.16 256zM288 766.592A415.68 415.68 0 0 1 96 416a32 32 0 0 1 32-32h768a32 32 0 0 1 32 32 415.68 415.68 0 0 1-192 350.592V832a64 64 0 0 1-64 64H352a64 64 0 0 1-64-64zM493.248 320h-90.496l254.4-254.4a32 32 0 1 1 45.248 45.248zm187.328 0h-128l269.696-155.712a32 32 0 0 1 32 55.424zM352 768v64h320v-64z"})]))}}),OV=MV,$V=W({name:"Box",__name:"box",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M317.056 128 128 344.064V896h768V344.064L706.944 128zm-14.528-64h418.944a32 32 0 0 1 24.064 10.88l206.528 236.096A32 32 0 0 1 960 332.032V928a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V332.032a32 32 0 0 1 7.936-21.12L278.4 75.008A32 32 0 0 1 302.528 64"}),$("path",{fill:"currentColor",d:"M64 320h896v64H64z"}),$("path",{fill:"currentColor",d:"M448 327.872V640h128V327.872L526.08 128h-28.16zM448 64h128l64 256v352a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V320z"})]))}}),NV=$V,AV=W({name:"Briefcase",__name:"briefcase",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M320 320V128h384v192h192v192H128V320zM128 576h768v320H128zm256-256h256.064V192H384z"})]))}}),IV=AV,PV=W({name:"BrushFilled",__name:"brush-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M608 704v160a96 96 0 0 1-192 0V704h-96a128 128 0 0 1-128-128h640a128 128 0 0 1-128 128zM192 512V128.064h640V512z"})]))}}),RV=PV,VV=W({name:"Brush",__name:"brush",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M896 448H128v192a64 64 0 0 0 64 64h192v192h256V704h192a64 64 0 0 0 64-64zm-770.752-64c0-47.552 5.248-90.24 15.552-128 14.72-54.016 42.496-107.392 83.2-160h417.28l-15.36 70.336L736 96h211.2c-24.832 42.88-41.92 96.256-51.2 160a664 664 0 0 0-6.144 128H960v256a128 128 0 0 1-128 128H704v160a32 32 0 0 1-32 32H352a32 32 0 0 1-32-32V768H192A128 128 0 0 1 64 640V384zm64 0h636.544c-2.048-45.824.256-91.584 6.848-137.216 4.48-30.848 10.688-59.776 18.688-86.784h-96.64l-221.12 141.248L561.92 160H256.512c-25.856 37.888-43.776 75.456-53.952 112.832-8.768 32.064-13.248 69.12-13.312 111.168"})]))}}),LV=VV,BV=W({name:"Burger",__name:"burger",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M160 512a32 32 0 0 0-32 32v64a32 32 0 0 0 30.08 32H864a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32zm736-58.56A96 96 0 0 1 960 544v64a96 96 0 0 1-51.968 85.312L855.36 833.6a96 96 0 0 1-89.856 62.272H258.496A96 96 0 0 1 168.64 833.6l-52.608-140.224A96 96 0 0 1 64 608v-64a96 96 0 0 1 64-90.56V448a384 384 0 1 1 768 5.44M832 448a320 320 0 0 0-640 0zM512 704H188.352l40.192 107.136a32 32 0 0 0 29.952 20.736h507.008a32 32 0 0 0 29.952-20.736L835.648 704z"})]))}}),zV=BV,DV=W({name:"Calendar",__name:"calendar",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),$5=DV,HV=W({name:"CameraFilled",__name:"camera-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M160 224a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h704a64 64 0 0 0 64-64V288a64 64 0 0 0-64-64H748.416l-46.464-92.672A64 64 0 0 0 644.736 96H379.328a64 64 0 0 0-57.216 35.392L275.776 224zm352 435.2a115.2 115.2 0 1 0 0-230.4 115.2 115.2 0 0 0 0 230.4m0 140.8a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}}),FV=HV,KV=W({name:"Camera",__name:"camera",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M896 256H128v576h768zm-199.424-64-32.064-64h-304.96l-32 64zM96 192h160l46.336-92.608A64 64 0 0 1 359.552 64h304.96a64 64 0 0 1 57.216 35.328L768.192 192H928a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32m416 512a160 160 0 1 0 0-320 160 160 0 0 0 0 320m0 64a224 224 0 1 1 0-448 224 224 0 0 1 0 448"})]))}}),WV=KV,jV=W({name:"CaretBottom",__name:"caret-bottom",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m192 384 320 384 320-384z"})]))}}),qV=jV,UV=W({name:"CaretLeft",__name:"caret-left",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M672 192 288 511.936 672 832z"})]))}}),YV=UV,GV=W({name:"CaretRight",__name:"caret-right",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),E1=GV,XV=W({name:"CaretTop",__name:"caret-top",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),N5=XV,JV=W({name:"Cellphone",__name:"cellphone",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M256 128a64 64 0 0 0-64 64v640a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h512a128 128 0 0 1 128 128v640a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V192A128 128 0 0 1 256 64m128 128h256a32 32 0 1 1 0 64H384a32 32 0 0 1 0-64m128 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}}),ZV=JV,QV=W({name:"ChatDotRound",__name:"chat-dot-round",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.06 461.06 0 0 1-206.912-48.384l-175.616 58.56z"}),$("path",{fill:"currentColor",d:"M512 563.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4"})]))}}),eL=QV,tL=W({name:"ChatDotSquare",__name:"chat-dot-square",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),$("path",{fill:"currentColor",d:"M512 499.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4"})]))}}),nL=tL,aL=W({name:"ChatLineRound",__name:"chat-line-round",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.06 461.06 0 0 1-206.912-48.384l-175.616 58.56z"}),$("path",{fill:"currentColor",d:"M352 576h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m32-192h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}}),lL=aL,oL=W({name:"ChatLineSquare",__name:"chat-line-square",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M160 826.88 273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),$("path",{fill:"currentColor",d:"M352 512h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m0-192h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}}),sL=oL,rL=W({name:"ChatRound",__name:"chat-round",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m174.72 855.68 130.048-43.392 23.424 11.392C382.4 849.984 444.352 864 512 864c223.744 0 384-159.872 384-352 0-192.832-159.104-352-384-352S128 319.168 128 512a341.12 341.12 0 0 0 69.248 204.288l21.632 28.8-44.16 110.528zm-45.248 82.56A32 32 0 0 1 89.6 896l56.512-141.248A405.12 405.12 0 0 1 64 512C64 299.904 235.648 96 512 96s448 203.904 448 416-173.44 416-448 416c-79.68 0-150.848-17.152-211.712-46.72l-170.88 56.96z"})]))}}),iL=rL,uL=W({name:"ChatSquare",__name:"chat-square",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"})]))}}),cL=uL,dL=W({name:"Check",__name:"check",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),gr=dL,fL=W({name:"Checked",__name:"checked",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160.064v64H704zM311.616 537.28l-45.312 45.248L447.36 763.52l316.8-316.8-45.312-45.184L447.36 673.024zM384 192V96h256v96z"})]))}}),pL=fL,hL=W({name:"Cherry",__name:"cherry",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M261.056 449.6c13.824-69.696 34.88-128.96 63.36-177.728 23.744-40.832 61.12-88.64 112.256-143.872H320a32 32 0 0 1 0-64h384a32 32 0 1 1 0 64H554.752c14.912 39.168 41.344 86.592 79.552 141.76 47.36 68.48 84.8 106.752 106.304 114.304a224 224 0 1 1-84.992 14.784c-22.656-22.912-47.04-53.76-73.92-92.608-38.848-56.128-67.008-105.792-84.352-149.312-55.296 58.24-94.528 107.52-117.76 147.2-23.168 39.744-41.088 88.768-53.568 147.072a224.064 224.064 0 1 1-64.96-1.6M288 832a160 160 0 1 0 0-320 160 160 0 0 0 0 320m448-64a160 160 0 1 0 0-320 160 160 0 0 0 0 320"})]))}}),vL=hL,mL=W({name:"Chicken",__name:"chicken",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M349.952 716.992 478.72 588.16a106.7 106.7 0 0 1-26.176-19.072 106.7 106.7 0 0 1-19.072-26.176L304.704 671.744c.768 3.072 1.472 6.144 2.048 9.216l2.048 31.936 31.872 1.984c3.136.64 6.208 1.28 9.28 2.112m57.344 33.152a128 128 0 1 1-216.32 114.432l-1.92-32-32-1.92a128 128 0 1 1 114.432-216.32L416.64 469.248c-2.432-101.44 58.112-239.104 149.056-330.048 107.328-107.328 231.296-85.504 316.8 0 85.44 85.44 107.328 209.408 0 316.8-91.008 90.88-228.672 151.424-330.112 149.056L407.296 750.08zm90.496-226.304c49.536 49.536 233.344-7.04 339.392-113.088 78.208-78.208 63.232-163.072 0-226.304-63.168-63.232-148.032-78.208-226.24 0C504.896 290.496 448.32 474.368 497.792 523.84M244.864 708.928a64 64 0 1 0-59.84 59.84l56.32-3.52zm8.064 127.68a64 64 0 1 0 59.84-59.84l-56.32 3.52z"})]))}}),gL=mL,yL=W({name:"ChromeFilled",__name:"chrome-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M938.67 512.01c0-44.59-6.82-87.6-19.54-128H682.67a212.37 212.37 0 0 1 42.67 128c.06 38.71-10.45 76.7-30.42 109.87l-182.91 316.8c235.65-.01 426.66-191.02 426.66-426.67"}),$("path",{fill:"currentColor",d:"M576.79 401.63a127.9 127.9 0 0 0-63.56-17.6c-22.36-.22-44.39 5.43-63.89 16.38s-35.79 26.82-47.25 46.02a128 128 0 0 0-2.16 127.44l1.24 2.13a127.9 127.9 0 0 0 46.36 46.61 127.9 127.9 0 0 0 63.38 17.44c22.29.2 44.24-5.43 63.68-16.33a127.94 127.94 0 0 0 47.16-45.79v-.01l1.11-1.92a127.98 127.98 0 0 0 .29-127.46 127.96 127.96 0 0 0-46.36-46.91"}),$("path",{fill:"currentColor",d:"M394.45 333.96A213.34 213.34 0 0 1 512 298.67h369.58A426.5 426.5 0 0 0 512 85.34a425.6 425.6 0 0 0-171.74 35.98 425.6 425.6 0 0 0-142.62 102.22l118.14 204.63a213.4 213.4 0 0 1 78.67-94.21m117.56 604.72H512zm-97.25-236.73a213.3 213.3 0 0 1-89.54-86.81L142.48 298.6c-36.35 62.81-57.13 135.68-57.13 213.42 0 203.81 142.93 374.22 333.95 416.55h.04l118.19-204.71a213.3 213.3 0 0 1-122.77-21.91"})]))}}),bL=yL,wL=W({name:"CircleCheckFilled",__name:"circle-check-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),A5=wL,CL=W({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),$("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752z"})]))}}),K0=CL,_L=W({name:"CircleCloseFilled",__name:"circle-close-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),W0=_L,SL=W({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),$("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),ql=SL,xL=W({name:"CirclePlusFilled",__name:"circle-plus-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-38.4 409.6H326.4a38.4 38.4 0 1 0 0 76.8h147.2v147.2a38.4 38.4 0 0 0 76.8 0V550.4h147.2a38.4 38.4 0 0 0 0-76.8H550.4V326.4a38.4 38.4 0 1 0-76.8 0z"})]))}}),kL=xL,EL=W({name:"CirclePlus",__name:"circle-plus",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),$("path",{fill:"currentColor",d:"M480 672V352a32 32 0 1 1 64 0v320a32 32 0 0 1-64 0"}),$("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),TL=EL,ML=W({name:"Clock",__name:"clock",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),$("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),$("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),T1=ML,OL=W({name:"CloseBold",__name:"close-bold",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M195.2 195.2a64 64 0 0 1 90.496 0L512 421.504 738.304 195.2a64 64 0 0 1 90.496 90.496L602.496 512 828.8 738.304a64 64 0 0 1-90.496 90.496L512 602.496 285.696 828.8a64 64 0 0 1-90.496-90.496L421.504 512 195.2 285.696a64 64 0 0 1 0-90.496"})]))}}),$L=OL,NL=W({name:"Close",__name:"close",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),ll=NL,AL=W({name:"Cloudy",__name:"cloudy",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M598.4 831.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 831.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 381.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"})]))}}),IL=AL,PL=W({name:"CoffeeCup",__name:"coffee-cup",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M768 192a192 192 0 1 1-8 383.808A256.13 256.13 0 0 1 512 768H320A256 256 0 0 1 64 512V160a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v256a128 128 0 1 0 0-256M96 832h640a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-640v320a192 192 0 0 0 192 192h192a192 192 0 0 0 192-192V192z"})]))}}),RL=PL,VL=W({name:"Coffee",__name:"coffee",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M822.592 192h14.272a32 32 0 0 1 31.616 26.752l21.312 128A32 32 0 0 1 858.24 384h-49.344l-39.04 546.304A32 32 0 0 1 737.92 960H285.824a32 32 0 0 1-32-29.696L214.912 384H165.76a32 32 0 0 1-31.552-37.248l21.312-128A32 32 0 0 1 187.136 192h14.016l-6.72-93.696A32 32 0 0 1 226.368 64h571.008a32 32 0 0 1 31.936 34.304zm-64.128 0 4.544-64H260.736l4.544 64zm-548.16 128H820.48l-10.688-64H214.208l-10.688 64zm68.736 64 36.544 512H708.16l36.544-512z"})]))}}),LL=VL,BL=W({name:"Coin",__name:"coin",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m161.92 580.736 29.888 58.88C171.328 659.776 160 681.728 160 704c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 615.808 928 657.664 928 704c0 129.728-188.544 224-416 224S96 833.728 96 704c0-46.592 24.32-88.576 65.92-123.264"}),$("path",{fill:"currentColor",d:"m161.92 388.736 29.888 58.88C171.328 467.84 160 489.792 160 512c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 423.808 928 465.664 928 512c0 129.728-188.544 224-416 224S96 641.728 96 512c0-46.592 24.32-88.576 65.92-123.264"}),$("path",{fill:"currentColor",d:"M512 544c-227.456 0-416-94.272-416-224S284.544 96 512 96s416 94.272 416 224-188.544 224-416 224m0-64c196.672 0 352-77.696 352-160S708.672 160 512 160s-352 77.696-352 160 155.328 160 352 160"})]))}}),zL=BL,DL=W({name:"ColdDrink",__name:"cold-drink",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M768 64a192 192 0 1 1-69.952 370.88L480 725.376V896h96a32 32 0 1 1 0 64H320a32 32 0 1 1 0-64h96V725.376L76.8 273.536a64 64 0 0 1-12.8-38.4v-10.688a32 32 0 0 1 32-32h71.808l-65.536-83.84a32 32 0 0 1 50.432-39.424l96.256 123.264h337.728A192.06 192.06 0 0 1 768 64M656.896 192.448H800a32 32 0 0 1 32 32v10.624a64 64 0 0 1-12.8 38.4l-80.448 107.2a128 128 0 1 0-81.92-188.16v-.064zm-357.888 64 129.472 165.76a32 32 0 0 1-50.432 39.36l-160.256-205.12H144l304 404.928 304-404.928z"})]))}}),HL=DL,FL=W({name:"CollectionTag",__name:"collection-tag",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M256 128v698.88l196.032-156.864a96 96 0 0 1 119.936 0L768 826.816V128zm-32-64h576a32 32 0 0 1 32 32v797.44a32 32 0 0 1-51.968 24.96L531.968 720a32 32 0 0 0-39.936 0L243.968 918.4A32 32 0 0 1 192 893.44V96a32 32 0 0 1 32-32"})]))}}),KL=FL,WL=W({name:"Collection",__name:"collection",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M192 736h640V128H256a64 64 0 0 0-64 64zm64-672h608a32 32 0 0 1 32 32v672a32 32 0 0 1-32 32H160l-32 57.536V192A128 128 0 0 1 256 64"}),$("path",{fill:"currentColor",d:"M240 800a48 48 0 1 0 0 96h592v-96zm0-64h656v160a64 64 0 0 1-64 64H240a112 112 0 0 1 0-224m144-608v250.88l96-76.8 96 76.8V128zm-64-64h320v381.44a32 32 0 0 1-51.968 24.96L480 384l-108.032 86.4A32 32 0 0 1 320 445.44z"})]))}}),jL=WL,qL=W({name:"Comment",__name:"comment",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M736 504a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112M128 128v640h192v160l224-160h352V128z"})]))}}),UL=qL,YL=W({name:"Compass",__name:"compass",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),$("path",{fill:"currentColor",d:"M725.888 315.008C676.48 428.672 624 513.28 568.576 568.64c-55.424 55.424-139.968 107.904-253.568 157.312a12.8 12.8 0 0 1-16.896-16.832c49.536-113.728 102.016-198.272 157.312-253.632 55.36-55.296 139.904-107.776 253.632-157.312a12.8 12.8 0 0 1 16.832 16.832"})]))}}),GL=YL,XL=W({name:"Connection",__name:"connection",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M640 384v64H448a128 128 0 0 0-128 128v128a128 128 0 0 0 128 128h320a128 128 0 0 0 128-128V576a128 128 0 0 0-64-110.848V394.88c74.56 26.368 128 97.472 128 181.056v128a192 192 0 0 1-192 192H448a192 192 0 0 1-192-192V576a192 192 0 0 1 192-192z"}),$("path",{fill:"currentColor",d:"M384 640v-64h192a128 128 0 0 0 128-128V320a128 128 0 0 0-128-128H256a128 128 0 0 0-128 128v128a128 128 0 0 0 64 110.848v70.272A192.06 192.06 0 0 1 64 448V320a192 192 0 0 1 192-192h320a192 192 0 0 1 192 192v128a192 192 0 0 1-192 192z"})]))}}),JL=XL,ZL=W({name:"Coordinate",__name:"coordinate",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M480 512h64v320h-64z"}),$("path",{fill:"currentColor",d:"M192 896h640a64 64 0 0 0-64-64H256a64 64 0 0 0-64 64m64-128h512a128 128 0 0 1 128 128v64H128v-64a128 128 0 0 1 128-128m256-256a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}}),QL=ZL,eB=W({name:"CopyDocument",__name:"copy-document",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M768 832a128 128 0 0 1-128 128H192A128 128 0 0 1 64 832V384a128 128 0 0 1 128-128v64a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64z"}),$("path",{fill:"currentColor",d:"M384 128a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h448a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H384a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64"})]))}}),tB=eB,nB=W({name:"Cpu",__name:"cpu",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M320 256a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128H320a128 128 0 0 1-128-128V320a128 128 0 0 1 128-128"}),$("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m-320 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 896a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m160 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m-320 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32M64 512a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0-160a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0 320a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m896-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0 320a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32"})]))}}),aB=nB,lB=W({name:"CreditCard",__name:"credit-card",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M896 324.096c0-42.368-2.496-55.296-9.536-68.48a52.35 52.35 0 0 0-22.144-22.08c-13.12-7.04-26.048-9.536-68.416-9.536H228.096c-42.368 0-55.296 2.496-68.48 9.536a52.35 52.35 0 0 0-22.08 22.144c-7.04 13.12-9.536 26.048-9.536 68.416v375.808c0 42.368 2.496 55.296 9.536 68.48a52.35 52.35 0 0 0 22.144 22.08c13.12 7.04 26.048 9.536 68.416 9.536h567.808c42.368 0 55.296-2.496 68.48-9.536a52.35 52.35 0 0 0 22.08-22.144c7.04-13.12 9.536-26.048 9.536-68.416zm64 0v375.808c0 57.088-5.952 77.76-17.088 98.56-11.136 20.928-27.52 37.312-48.384 48.448S852.928 864 795.968 864H228.032c-57.088 0-77.76-5.952-98.56-17.088a116.3 116.3 0 0 1-48.448-48.384c-11.136-20.864-17.088-41.6-17.088-98.56V324.032c0-57.088 5.952-77.76 17.088-98.56 11.136-20.928 27.52-37.312 48.384-48.448s41.6-17.088 98.56-17.088H795.84c57.088 0 77.76 5.952 98.56 17.088 20.928 11.136 37.312 27.52 48.448 48.384s17.088 41.6 17.088 98.56z"}),$("path",{fill:"currentColor",d:"M64 320h896v64H64zm0 128h896v64H64zm128 192h256v64H192z"})]))}}),oB=lB,sB=W({name:"Crop",__name:"crop",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M256 768h672a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V96a32 32 0 0 1 64 0z"}),$("path",{fill:"currentColor",d:"M832 224v704a32 32 0 1 1-64 0V256H96a32 32 0 0 1 0-64h704a32 32 0 0 1 32 32"})]))}}),rB=sB,iB=W({name:"DArrowLeft",__name:"d-arrow-left",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.59 30.59 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672zm256 0a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.59 30.59 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672z"})]))}}),Bl=iB,uB=W({name:"DArrowRight",__name:"d-arrow-right",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.59 30.59 0 0 1 0-42.752L764.736 512 452.864 192a30.59 30.59 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.59 30.59 0 0 1 0-42.752L508.736 512 196.864 192a30.59 30.59 0 0 1 0-42.688"})]))}}),zl=uB,cB=W({name:"DCaret",__name:"d-caret",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m512 128 288 320H224zM224 576h576L512 896z"})]))}}),dB=cB,fB=W({name:"DataAnalysis",__name:"data-analysis",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m665.216 768 110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32l110.848-192H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32zM832 192H192v512h640zM352 448a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0v-64a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v128a32 32 0 0 1-64 0V416a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V352a32 32 0 0 1 32-32"})]))}}),pB=fB,hB=W({name:"DataBoard",__name:"data-board",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M32 128h960v64H32z"}),$("path",{fill:"currentColor",d:"M192 192v512h640V192zm-64-64h768v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),$("path",{fill:"currentColor",d:"M322.176 960H248.32l144.64-250.56 55.424 32zm453.888 0h-73.856L576 741.44l55.424-32z"})]))}}),vB=hB,mB=W({name:"DataLine",__name:"data-line",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M359.168 768H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32H665.216l110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32zM832 192H192v512h640zM342.656 534.656a32 32 0 1 1-45.312-45.312L444.992 341.76l125.44 94.08L679.04 300.032a32 32 0 1 1 49.92 39.936L581.632 524.224 451.008 426.24 342.656 534.592z"})]))}}),gB=mB,yB=W({name:"DeleteFilled",__name:"delete-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M352 192V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64H96a32 32 0 0 1 0-64zm64 0h192v-64H416zM192 960a32 32 0 0 1-32-32V256h704v672a32 32 0 0 1-32 32zm224-192a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32m192 0a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32"})]))}}),bB=yB,wB=W({name:"DeleteLocation",__name:"delete-location",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),$("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),$("path",{fill:"currentColor",d:"M384 384h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}}),CB=wB,_B=W({name:"Delete",__name:"delete",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),I5=_B,SB=W({name:"Dessert",__name:"dessert",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M128 416v-48a144 144 0 0 1 168.64-141.888 224.128 224.128 0 0 1 430.72 0A144 144 0 0 1 896 368v48a384 384 0 0 1-352 382.72V896h-64v-97.28A384 384 0 0 1 128 416m287.104-32.064h193.792a143.81 143.81 0 0 1 58.88-132.736 160.064 160.064 0 0 0-311.552 0 143.81 143.81 0 0 1 58.88 132.8zm-72.896 0a72 72 0 1 0-140.48 0zm339.584 0h140.416a72 72 0 1 0-140.48 0zM512 736a320 320 0 0 0 318.4-288.064H193.6A320 320 0 0 0 512 736M384 896.064h256a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64"})]))}}),xB=SB,kB=W({name:"Discount",__name:"discount",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M224 704h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0L224 318.336zm0 64v128h576V768zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0"}),$("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),EB=kB,TB=W({name:"DishDot",__name:"dish-dot",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m384.064 274.56.064-50.688A128 128 0 0 1 512.128 96c70.528 0 127.68 57.152 127.68 127.68v50.752A448.19 448.19 0 0 1 955.392 768H68.544A448.19 448.19 0 0 1 384 274.56zM96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-128h768a384 384 0 1 0-768 0m447.808-448v-32.32a63.68 63.68 0 0 0-63.68-63.68 64 64 0 0 0-64 63.936V256z"})]))}}),MB=TB,OB=W({name:"Dish",__name:"dish",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M480 257.152V192h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64h-96v65.152A448 448 0 0 1 955.52 768H68.48A448 448 0 0 1 480 257.152M128 704h768a384 384 0 1 0-768 0M96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64"})]))}}),$B=OB,NB=W({name:"DocumentAdd",__name:"document-add",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m320 512V448h64v128h128v64H544v128h-64V640H352v-64z"})]))}}),AB=NB,IB=W({name:"DocumentChecked",__name:"document-checked",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m318.4 582.144 180.992-180.992L704.64 510.4 478.4 736.64 320 578.304l45.248-45.312z"})]))}}),PB=IB,RB=W({name:"DocumentCopy",__name:"document-copy",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z"})]))}}),VB=RB,LB=W({name:"DocumentDelete",__name:"document-delete",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m308.992 546.304-90.496-90.624 45.248-45.248 90.56 90.496 90.496-90.432 45.248 45.248-90.496 90.56 90.496 90.496-45.248 45.248-90.496-90.496-90.56 90.496-45.248-45.248z"})]))}}),BB=LB,zB=W({name:"DocumentRemove",__name:"document-remove",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m192 512h320v64H352z"})]))}}),DB=zB,HB=W({name:"Document",__name:"document",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),P5=HB,FB=W({name:"Download",__name:"download",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"})]))}}),KB=FB,WB=W({name:"Drizzling",__name:"drizzling",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672M959.552 480a256 256 0 0 1-256 256h-400A239.81 239.81 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M288 800h64v64h-64zm192 0h64v64h-64zm-96 96h64v64h-64zm192 0h64v64h-64zm96-96h64v64h-64z"})]))}}),jB=WB,qB=W({name:"EditPen",__name:"edit-pen",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m199.04 672.64 193.984 112 224-387.968-193.92-112-224 388.032zm-23.872 60.16 32.896 148.288 144.896-45.696zM455.04 229.248l193.92 112 56.704-98.112-193.984-112zM104.32 708.8l384-665.024 304.768 175.936L409.152 884.8h.064l-248.448 78.336zm384 254.272v-64h448v64z"})]))}}),UB=qB,YB=W({name:"Edit",__name:"edit",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640z"}),$("path",{fill:"currentColor",d:"m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"})]))}}),GB=YB,XB=W({name:"ElemeFilled",__name:"eleme-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M176 64h672c61.824 0 112 50.176 112 112v672a112 112 0 0 1-112 112H176A112 112 0 0 1 64 848V176c0-61.824 50.176-112 112-112m150.528 173.568c-152.896 99.968-196.544 304.064-97.408 456.96a330.69 330.69 0 0 0 456.96 96.64c9.216-5.888 17.6-11.776 25.152-18.56a18.24 18.24 0 0 0 4.224-24.32L700.352 724.8a47.55 47.55 0 0 0-65.536-14.272A234.56 234.56 0 0 1 310.592 641.6C240 533.248 271.104 387.968 379.456 316.48a234.3 234.3 0 0 1 276.352 15.168c1.664.832 2.56 2.56 3.392 4.224 5.888 8.384 3.328 19.328-5.12 25.216L456.832 489.6a47.55 47.55 0 0 0-14.336 65.472l16 24.384c5.888 8.384 16.768 10.88 25.216 5.056l308.224-199.936a19.584 19.584 0 0 0 6.72-23.488v-.896c-4.992-9.216-10.048-17.6-15.104-26.88-99.968-151.168-304.064-194.88-456.96-95.744zM786.88 504.704l-62.208 40.32c-8.32 5.888-10.88 16.768-4.992 25.216L760 632.32c5.888 8.448 16.768 11.008 25.152 5.12l31.104-20.16a55.36 55.36 0 0 0 16-76.48l-20.224-31.04a19.52 19.52 0 0 0-25.152-5.12z"})]))}}),JB=XB,ZB=W({name:"Eleme",__name:"eleme",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M300.032 188.8c174.72-113.28 408-63.36 522.24 109.44 5.76 10.56 11.52 20.16 17.28 30.72v.96a22.4 22.4 0 0 1-7.68 26.88l-352.32 228.48c-9.6 6.72-22.08 3.84-28.8-5.76l-18.24-27.84a54.336 54.336 0 0 1 16.32-74.88l225.6-146.88c9.6-6.72 12.48-19.2 5.76-28.8-.96-1.92-1.92-3.84-3.84-4.8a267.84 267.84 0 0 0-315.84-17.28c-123.84 81.6-159.36 247.68-78.72 371.52a268.096 268.096 0 0 0 370.56 78.72 54.336 54.336 0 0 1 74.88 16.32l17.28 26.88c5.76 9.6 3.84 21.12-4.8 27.84-8.64 7.68-18.24 14.4-28.8 21.12a377.92 377.92 0 0 1-522.24-110.4c-113.28-174.72-63.36-408 111.36-522.24m526.08 305.28a22.336 22.336 0 0 1 28.8 5.76l23.04 35.52a63.23 63.23 0 0 1-18.24 87.36l-35.52 23.04c-9.6 6.72-22.08 3.84-28.8-5.76l-46.08-71.04c-6.72-9.6-3.84-22.08 5.76-28.8z"})]))}}),QB=ZB,ez=W({name:"ElementPlus",__name:"element-plus",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M839.7 734.7c0 33.3-17.9 41-17.9 41S519.7 949.8 499.2 960c-10.2 5.1-20.5 5.1-30.7 0 0 0-314.9-184.3-325.1-192-5.1-5.1-10.2-12.8-12.8-20.5V368.6c0-17.9 20.5-28.2 20.5-28.2L466 158.6q19.2-7.65 38.4 0s279 161.3 309.8 179.2c17.9 7.7 28.2 25.6 25.6 46.1-.1-5-.1 317.5-.1 350.8M714.2 371.2c-64-35.8-217.6-125.4-217.6-125.4-7.7-5.1-20.5-5.1-30.7 0L217.6 389.1s-17.9 10.2-17.9 23v297c0 5.1 5.1 12.8 7.7 17.9 7.7 5.1 256 148.5 256 148.5 7.7 5.1 17.9 5.1 25.6 0 15.4-7.7 250.9-145.9 250.9-145.9s12.8-5.1 12.8-30.7v-74.2l-276.5 169v-64c0-17.9 7.7-30.7 20.5-46.1L745 535c5.1-7.7 10.2-20.5 10.2-30.7v-66.6l-279 169v-69.1c0-15.4 5.1-30.7 17.9-38.4zM919 135.7c0-5.1-5.1-7.7-7.7-7.7h-58.9V66.6c0-5.1-5.1-5.1-10.2-5.1l-30.7 5.1c-5.1 0-5.1 2.6-5.1 5.1V128h-56.3c-5.1 0-5.1 5.1-7.7 5.1v38.4h69.1v64c0 5.1 5.1 5.1 10.2 5.1l30.7-5.1c5.1 0 5.1-2.6 5.1-5.1v-56.3h64z"})]))}}),tz=ez,nz=W({name:"Expand",__name:"expand",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M128 192h768v128H128zm0 256h512v128H128zm0 256h768v128H128zm576-352 192 160-192 128z"})]))}}),az=nz,lz=W({name:"Failed",__name:"failed",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m557.248 608 135.744-135.744-45.248-45.248-135.68 135.744-135.808-135.68-45.248 45.184L466.752 608l-135.68 135.68 45.184 45.312L512 653.248l135.744 135.744 45.248-45.248L557.312 608zM704 192h160v736H160V192h160v64h384zm-320 0V96h256v96z"})]))}}),oz=lz,sz=W({name:"Female",__name:"female",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 640a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),$("path",{fill:"currentColor",d:"M512 640q32 0 32 32v256q0 32-32 32t-32-32V672q0-32 32-32"}),$("path",{fill:"currentColor",d:"M352 800h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}}),rz=sz,iz=W({name:"Files",__name:"files",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M128 384v448h768V384zm-32-64h832a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32m64-128h704v64H160zm96-128h512v64H256z"})]))}}),uz=iz,cz=W({name:"Film",__name:"film",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),$("path",{fill:"currentColor",d:"M320 288V128h64v352h256V128h64v160h160v64H704v128h160v64H704v128h160v64H704v160h-64V544H384v352h-64V736H128v-64h192V544H128v-64h192V352H128v-64z"})]))}}),dz=cz,fz=W({name:"Filter",__name:"filter",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M384 523.392V928a32 32 0 0 0 46.336 28.608l192-96A32 32 0 0 0 640 832V523.392l280.768-343.104a32 32 0 1 0-49.536-40.576l-288 352A32 32 0 0 0 576 512v300.224l-128 64V512a32 32 0 0 0-7.232-20.288L195.52 192H704a32 32 0 1 0 0-64H128a32 32 0 0 0-24.768 52.288z"})]))}}),pz=fz,hz=W({name:"Finished",__name:"finished",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M280.768 753.728 691.456 167.04a32 32 0 1 1 52.416 36.672L314.24 817.472a32 32 0 0 1-45.44 7.296l-230.4-172.8a32 32 0 0 1 38.4-51.2zM736 448a32 32 0 1 1 0-64h192a32 32 0 1 1 0 64zM608 640a32 32 0 0 1 0-64h319.936a32 32 0 1 1 0 64zM480 832a32 32 0 1 1 0-64h447.936a32 32 0 1 1 0 64z"})]))}}),vz=hz,mz=W({name:"FirstAidKit",__name:"first-aid-kit",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M192 256a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),$("path",{fill:"currentColor",d:"M544 512h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0zM352 128v64h320v-64zm-32-64h384a32 32 0 0 1 32 32v128a32 32 0 0 1-32 32H320a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"})]))}}),gz=mz,yz=W({name:"Flag",__name:"flag",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M288 128h608L736 384l160 256H288v320h-96V64h96z"})]))}}),bz=yz,wz=W({name:"Fold",__name:"fold",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M896 192H128v128h768zm0 256H384v128h512zm0 256H128v128h768zM320 384 128 512l192 128z"})]))}}),Cz=wz,_z=W({name:"FolderAdd",__name:"folder-add",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m384 416V416h64v128h128v64H544v128h-64V608H352v-64z"})]))}}),Sz=_z,xz=W({name:"FolderChecked",__name:"folder-checked",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m414.08 502.144 180.992-180.992L736.32 494.4 510.08 720.64l-158.4-158.336 45.248-45.312z"})]))}}),kz=xz,Ez=W({name:"FolderDelete",__name:"folder-delete",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m370.752 448-90.496-90.496 45.248-45.248L512 530.752l90.496-90.496 45.248 45.248L557.248 576l90.496 90.496-45.248 45.248L512 621.248l-90.496 90.496-45.248-45.248z"})]))}}),Tz=Ez,Mz=W({name:"FolderOpened",__name:"folder-opened",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M878.08 448H241.92l-96 384h636.16zM832 384v-64H485.76L357.504 192H128v448l57.92-231.744A32 32 0 0 1 216.96 384zm-24.96 512H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h287.872l128.384 128H864a32 32 0 0 1 32 32v96h23.04a32 32 0 0 1 31.04 39.744l-112 448A32 32 0 0 1 807.04 896"})]))}}),Oz=Mz,$z=W({name:"FolderRemove",__name:"folder-remove",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m256 416h320v64H352z"})]))}}),Nz=$z,Az=W({name:"Folder",__name:"folder",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32"})]))}}),Iz=Az,Pz=W({name:"Food",__name:"food",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M128 352.576V352a288 288 0 0 1 491.072-204.224 192 192 0 0 1 274.24 204.48 64 64 0 0 1 57.216 74.24C921.6 600.512 850.048 710.656 736 756.992V800a96 96 0 0 1-96 96H384a96 96 0 0 1-96-96v-43.008c-114.048-46.336-185.6-156.48-214.528-330.496A64 64 0 0 1 128 352.64zm64-.576h64a160 160 0 0 1 320 0h64a224 224 0 0 0-448 0m128 0h192a96 96 0 0 0-192 0m439.424 0h68.544A128.256 128.256 0 0 0 704 192c-15.36 0-29.952 2.688-43.52 7.616 11.328 18.176 20.672 37.76 27.84 58.304A64.128 64.128 0 0 1 759.424 352M672 768H352v32a32 32 0 0 0 32 32h256a32 32 0 0 0 32-32zm-342.528-64h365.056c101.504-32.64 165.76-124.928 192.896-288H136.576c27.136 163.072 91.392 255.36 192.896 288"})]))}}),Rz=Pz,Vz=W({name:"Football",__name:"football",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-64a384 384 0 1 0 0-768 384 384 0 0 0 0 768"}),$("path",{fill:"currentColor",d:"M186.816 268.288c16-16.384 31.616-31.744 46.976-46.08 17.472 30.656 39.808 58.112 65.984 81.28l-32.512 56.448a386 386 0 0 1-80.448-91.648m653.696-5.312a385.9 385.9 0 0 1-83.776 96.96l-32.512-56.384a322.9 322.9 0 0 0 68.48-85.76c15.552 14.08 31.488 29.12 47.808 45.184M465.984 445.248l11.136-63.104a323.6 323.6 0 0 0 69.76 0l11.136 63.104a388 388 0 0 1-92.032 0m-62.72-12.8A381.8 381.8 0 0 1 320 396.544l32-55.424a320 320 0 0 0 62.464 27.712l-11.2 63.488zm300.8-35.84a381.8 381.8 0 0 1-83.328 35.84l-11.2-63.552A320 320 0 0 0 672 341.184l32 55.424zm-520.768 364.8a385.9 385.9 0 0 1 83.968-97.28l32.512 56.32c-26.88 23.936-49.856 52.352-67.52 84.032-16-13.44-32.32-27.712-48.96-43.072m657.536.128a1443 1443 0 0 1-49.024 43.072 321.4 321.4 0 0 0-67.584-84.16l32.512-56.32c33.216 27.456 61.696 60.352 84.096 97.408M465.92 578.752a388 388 0 0 1 92.032 0l-11.136 63.104a323.6 323.6 0 0 0-69.76 0zm-62.72 12.8 11.2 63.552a320 320 0 0 0-62.464 27.712L320 627.392a381.8 381.8 0 0 1 83.264-35.84zm300.8 35.84-32 55.424a318.3 318.3 0 0 0-62.528-27.712l11.2-63.488c29.44 8.64 57.28 20.736 83.264 35.776z"})]))}}),Lz=Vz,Bz=W({name:"ForkSpoon",__name:"fork-spoon",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M256 410.304V96a32 32 0 0 1 64 0v314.304a96 96 0 0 0 64-90.56V96a32 32 0 0 1 64 0v223.744a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.544a160 160 0 0 1-128-156.8V96a32 32 0 0 1 64 0v223.744a96 96 0 0 0 64 90.56M672 572.48C581.184 552.128 512 446.848 512 320c0-141.44 85.952-256 192-256s192 114.56 192 256c0 126.848-69.184 232.128-160 252.48V928a32 32 0 1 1-64 0zM704 512c66.048 0 128-82.56 128-192s-61.952-192-128-192-128 82.56-128 192 61.952 192 128 192"})]))}}),zz=Bz,Dz=W({name:"Fries",__name:"fries",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M608 224v-64a32 32 0 0 0-64 0v336h26.88A64 64 0 0 0 608 484.096zm101.12 160A64 64 0 0 0 672 395.904V384h64V224a32 32 0 1 0-64 0v160zm74.88 0a92.928 92.928 0 0 1 91.328 110.08l-60.672 323.584A96 96 0 0 1 720.32 896H303.68a96 96 0 0 1-94.336-78.336L148.672 494.08A92.928 92.928 0 0 1 240 384h-16V224a96 96 0 0 1 188.608-25.28A95.74 95.74 0 0 1 480 197.44V160a96 96 0 0 1 188.608-25.28A96 96 0 0 1 800 224v160zM670.784 512a128 128 0 0 1-99.904 48H453.12a128 128 0 0 1-99.84-48H352v-1.536a128 128 0 0 1-9.984-14.976L314.88 448H240a28.928 28.928 0 0 0-28.48 34.304L241.088 640h541.824l29.568-157.696A28.928 28.928 0 0 0 784 448h-74.88l-27.136 47.488A132 132 0 0 1 672 510.464V512zM480 288a32 32 0 0 0-64 0v196.096A64 64 0 0 0 453.12 496H480zm-128 96V224a32 32 0 0 0-64 0v160zh-37.12A64 64 0 0 1 352 395.904zm-98.88 320 19.072 101.888A32 32 0 0 0 303.68 832h416.64a32 32 0 0 0 31.488-26.112L770.88 704z"})]))}}),Hz=Dz,Fz=W({name:"FullScreen",__name:"full-screen",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),R5=Fz,Kz=W({name:"GobletFull",__name:"goblet-full",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M256 320h512c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320m503.936 64H264.064a256.128 256.128 0 0 0 495.872 0M544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4"})]))}}),Wz=Kz,jz=W({name:"GobletSquareFull",__name:"goblet-square-full",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M256 270.912c10.048 6.72 22.464 14.912 28.992 18.624a220.16 220.16 0 0 0 114.752 30.72c30.592 0 49.408-9.472 91.072-41.152l.64-.448c52.928-40.32 82.368-55.04 132.288-54.656 55.552.448 99.584 20.8 142.72 57.408l1.536 1.28V128H256zm.96 76.288C266.368 482.176 346.88 575.872 512 576c157.44.064 237.952-85.056 253.248-209.984a952 952 0 0 1-40.192-35.712c-32.704-27.776-63.36-41.92-101.888-42.24-31.552-.256-50.624 9.28-93.12 41.6l-.576.448c-52.096 39.616-81.024 54.208-129.792 54.208-54.784 0-100.48-13.376-142.784-37.056zM480 638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96z"})]))}}),qz=jz,Uz=W({name:"GobletSquare",__name:"goblet-square",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M544 638.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912M256 319.68c0 149.568 80 256.192 256 256.256C688.128 576 768 469.568 768 320V128H256z"})]))}}),Yz=Uz,Gz=W({name:"Goblet",__name:"goblet",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4M256 320a256 256 0 1 0 512 0c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320"})]))}}),Xz=Gz,Jz=W({name:"GoldMedal",__name:"gold-medal",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m772.13 452.84 53.86-351.81c1.32-10.01-1.17-18.68-7.49-26.02S804.35 64 795.01 64H228.99v-.01h-.06c-9.33 0-17.15 3.67-23.49 11.01s-8.83 16.01-7.49 26.02l53.87 351.89C213.54 505.73 193.59 568.09 192 640c2 90.67 33.17 166.17 93.5 226.5S421.33 957.99 512 960c90.67-2 166.17-33.17 226.5-93.5 60.33-60.34 91.49-135.83 93.5-226.5-1.59-71.94-21.56-134.32-59.87-187.16M640.01 128h117.02l-39.01 254.02c-20.75-10.64-40.74-19.73-59.94-27.28-5.92-3-11.95-5.8-18.08-8.41V128zM576 128v198.76c-13.18-2.58-26.74-4.43-40.67-5.55-8.07-.8-15.85-1.2-23.33-1.2-10.54 0-21.09.66-31.64 1.96a360 360 0 0 0-32.36 4.79V128zm-192 0h.04v218.3c-6.22 2.66-12.34 5.5-18.36 8.56-19.13 7.54-39.02 16.6-59.66 27.16L267.01 128zm308.99 692.99c-48 48-108.33 73-180.99 75.01-72.66-2.01-132.99-27.01-180.99-75.01S258.01 712.66 256 640c2.01-72.66 27.01-132.99 75.01-180.99 19.67-19.67 41.41-35.47 65.22-47.41 38.33-15.04 71.15-23.92 98.44-26.65 5.07-.41 10.2-.7 15.39-.88.63-.01 1.28-.03 1.91-.03.66 0 1.35.03 2.02.04 5.11.17 10.15.46 15.13.86 27.4 2.71 60.37 11.65 98.91 26.79 23.71 11.93 45.36 27.69 64.96 47.29 48 48 73 108.33 75.01 180.99-2.01 72.65-27.01 132.98-75.01 180.98"}),$("path",{fill:"currentColor",d:"M544 480H416v64h64v192h-64v64h192v-64h-64z"})]))}}),Zz=Jz,Qz=W({name:"GoodsFilled",__name:"goods-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M192 352h640l64 544H128zm128 224h64V448h-64zm320 0h64V448h-64zM384 288h-64a192 192 0 1 1 384 0h-64a128 128 0 1 0-256 0"})]))}}),eD=Qz,tD=W({name:"Goods",__name:"goods",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M320 288v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4h131.072a32 32 0 0 1 31.808 28.8l57.6 576a32 32 0 0 1-31.808 35.2H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320zm64 0h256v-22.336C640 189.248 582.272 128 512 128s-128 61.248-128 137.664v22.4zm-64 64H217.92l-51.2 512h690.56l-51.264-512H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0z"})]))}}),nD=tD,aD=W({name:"Grape",__name:"grape",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M544 195.2a160 160 0 0 1 96 60.8 160 160 0 1 1 146.24 254.976 160 160 0 0 1-128 224 160 160 0 1 1-292.48 0 160 160 0 0 1-128-224A160 160 0 1 1 384 256a160 160 0 0 1 96-60.8V128h-64a32 32 0 0 1 0-64h192a32 32 0 0 1 0 64h-64zM512 448a96 96 0 1 0 0-192 96 96 0 0 0 0 192m-256 0a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}}),lD=aD,oD=W({name:"Grid",__name:"grid",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M640 384v256H384V384zm64 0h192v256H704zm-64 512H384V704h256zm64 0V704h192v192zm-64-768v192H384V128zm64 0h192v192H704zM320 384v256H128V384zm0 512H128V704h192zm0-768v192H128V128z"})]))}}),sD=oD,rD=W({name:"Guide",__name:"guide",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M640 608h-64V416h64zm0 160v160a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V768h64v128h128V768zM384 608V416h64v192zm256-352h-64V128H448v128h-64V96a32 32 0 0 1 32-32h192a32 32 0 0 1 32 32z"}),$("path",{fill:"currentColor",d:"m220.8 256-71.232 80 71.168 80H768V256zm-14.4-64H800a32 32 0 0 1 32 32v224a32 32 0 0 1-32 32H206.4a32 32 0 0 1-23.936-10.752l-99.584-112a32 32 0 0 1 0-42.496l99.584-112A32 32 0 0 1 206.4 192m678.784 496-71.104 80H266.816V608h547.2zm-56.768-144H234.88a32 32 0 0 0-32 32v224a32 32 0 0 0 32 32h593.6a32 32 0 0 0 23.936-10.752l99.584-112a32 32 0 0 0 0-42.496l-99.584-112A32 32 0 0 0 828.48 544z"})]))}}),iD=rD,uD=W({name:"Handbag",__name:"handbag",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M887.01 264.99c-6-5.99-13.67-8.99-23.01-8.99H704c-1.34-54.68-20.01-100.01-56-136s-81.32-54.66-136-56c-54.68 1.34-100.01 20.01-136 56s-54.66 81.32-56 136H160c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.67-8.99 23.01v640c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V288c0-9.35-2.99-17.02-8.99-23.01M421.5 165.5c24.32-24.34 54.49-36.84 90.5-37.5 35.99.68 66.16 13.18 90.5 37.5s36.84 54.49 37.5 90.5H384c.68-35.99 13.18-66.16 37.5-90.5M832 896H192V320h128v128h64V320h256v128h64V320h128z"})]))}}),cD=uD,dD=W({name:"Headset",__name:"headset",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M896 529.152V512a384 384 0 1 0-768 0v17.152A128 128 0 0 1 320 640v128a128 128 0 1 1-256 0V512a448 448 0 1 1 896 0v256a128 128 0 1 1-256 0V640a128 128 0 0 1 192-110.848M896 640a64 64 0 0 0-128 0v128a64 64 0 0 0 128 0zm-768 0v128a64 64 0 0 0 128 0V640a64 64 0 1 0-128 0"})]))}}),fD=dD,pD=W({name:"HelpFilled",__name:"help-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M926.784 480H701.312A192.51 192.51 0 0 0 544 322.688V97.216A416.064 416.064 0 0 1 926.784 480m0 64A416.064 416.064 0 0 1 544 926.784V701.312A192.51 192.51 0 0 0 701.312 544zM97.28 544h225.472A192.51 192.51 0 0 0 480 701.312v225.472A416.064 416.064 0 0 1 97.216 544zm0-64A416.064 416.064 0 0 1 480 97.216v225.472A192.51 192.51 0 0 0 322.688 480H97.216z"})]))}}),hD=pD,vD=W({name:"Help",__name:"help",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m759.936 805.248-90.944-91.008A254.9 254.9 0 0 1 512 768a254.9 254.9 0 0 1-156.992-53.76l-90.944 91.008A382.46 382.46 0 0 0 512 896c94.528 0 181.12-34.176 247.936-90.752m45.312-45.312A382.46 382.46 0 0 0 896 512c0-94.528-34.176-181.12-90.752-247.936l-91.008 90.944C747.904 398.4 768 452.864 768 512s-20.096 113.6-53.76 156.992zm-45.312-541.184A382.46 382.46 0 0 0 512 128c-94.528 0-181.12 34.176-247.936 90.752l90.944 91.008A254.9 254.9 0 0 1 512 256c59.136 0 113.6 20.096 156.992 53.76zm-541.184 45.312A382.46 382.46 0 0 0 128 512c0 94.528 34.176 181.12 90.752 247.936l91.008-90.944A254.9 254.9 0 0 1 256 512c0-59.136 20.096-113.6 53.76-156.992zm417.28 394.496a194.6 194.6 0 0 0 22.528-22.528C686.912 602.56 704 559.232 704 512a191.23 191.23 0 0 0-67.968-146.56A191.3 191.3 0 0 0 512 320a191.23 191.23 0 0 0-146.56 67.968C337.088 421.44 320 464.768 320 512a191.23 191.23 0 0 0 67.968 146.56C421.44 686.912 464.768 704 512 704c47.296 0 90.56-17.088 124.032-45.44M512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),mD=vD,gD=W({name:"Hide",__name:"hide",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4s-12.8-9.6-22.4-9.6-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176S0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4m-646.4 528Q115.2 579.2 76.8 512q43.2-72 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4m140.8-96Q352 555.2 352 512c0-44.8 16-83.2 48-112s67.2-48 112-48c28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6q-43.2 72-153.6 172.8c-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176S1024 528 1024 512s-48.001-73.6-134.401-176"}),$("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112s-67.2 48-112 48"})]))}}),V5=gD,yD=W({name:"Histogram",__name:"histogram",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M416 896V128h192v768zm-288 0V448h192v448zm576 0V320h192v576z"})]))}}),bD=yD,wD=W({name:"HomeFilled",__name:"home-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 128 128 447.936V896h255.936V640H640v256h255.936V447.936z"})]))}}),CD=wD,_D=W({name:"HotWater",__name:"hot-water",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M273.067 477.867h477.866V409.6H273.067zm0 68.266v51.2A187.733 187.733 0 0 0 460.8 785.067h102.4a187.733 187.733 0 0 0 187.733-187.734v-51.2zm-34.134-204.8h546.134a34.133 34.133 0 0 1 34.133 34.134v221.866a256 256 0 0 1-256 256H460.8a256 256 0 0 1-256-256V375.467a34.133 34.133 0 0 1 34.133-34.134M512 34.133a34.133 34.133 0 0 1 34.133 34.134v170.666a34.133 34.133 0 0 1-68.266 0V68.267A34.133 34.133 0 0 1 512 34.133M375.467 102.4a34.133 34.133 0 0 1 34.133 34.133v102.4a34.133 34.133 0 0 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.134-34.133m273.066 0a34.133 34.133 0 0 1 34.134 34.133v102.4a34.133 34.133 0 1 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.133-34.133M170.667 921.668h682.666a34.133 34.133 0 1 1 0 68.267H170.667a34.133 34.133 0 1 1 0-68.267"})]))}}),SD=_D,xD=W({name:"House",__name:"house",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M192 413.952V896h640V413.952L512 147.328zM139.52 374.4l352-293.312a32 32 0 0 1 40.96 0l352 293.312A32 32 0 0 1 896 398.976V928a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V398.976a32 32 0 0 1 11.52-24.576"})]))}}),kD=xD,ED=W({name:"IceCreamRound",__name:"ice-cream-round",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m308.352 489.344 226.304 226.304a32 32 0 0 0 45.248 0L783.552 512A192 192 0 1 0 512 240.448L308.352 444.16a32 32 0 0 0 0 45.248zm135.744 226.304L308.352 851.392a96 96 0 0 1-135.744-135.744l135.744-135.744-45.248-45.248a96 96 0 0 1 0-135.808L466.752 195.2A256 256 0 0 1 828.8 557.248L625.152 760.96a96 96 0 0 1-135.808 0l-45.248-45.248zM398.848 670.4 353.6 625.152 217.856 760.896a32 32 0 0 0 45.248 45.248zm248.96-384.64a32 32 0 0 1 0 45.248L466.624 512a32 32 0 1 1-45.184-45.248l180.992-181.056a32 32 0 0 1 45.248 0zm90.496 90.496a32 32 0 0 1 0 45.248L557.248 602.496A32 32 0 1 1 512 557.248l180.992-180.992a32 32 0 0 1 45.312 0"})]))}}),TD=ED,MD=W({name:"IceCreamSquare",__name:"ice-cream-square",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M416 640h256a32 32 0 0 0 32-32V160a32 32 0 0 0-32-32H352a32 32 0 0 0-32 32v448a32 32 0 0 0 32 32zm192 64v160a96 96 0 0 1-192 0V704h-64a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96h320a96 96 0 0 1 96 96v448a96 96 0 0 1-96 96zm-64 0h-64v160a32 32 0 1 0 64 0z"})]))}}),OD=MD,$D=W({name:"IceCream",__name:"ice-cream",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M128.64 448a208 208 0 0 1 193.536-191.552 224 224 0 0 1 445.248 15.488A208.13 208.13 0 0 1 894.784 448H896L548.8 983.68a32 32 0 0 1-53.248.704L128 448zm64.256 0h286.208a144 144 0 0 0-286.208 0m351.36 0h286.272a144 144 0 0 0-286.272 0m-294.848 64 271.808 396.608L778.24 512zM511.68 352.64a207.87 207.87 0 0 1 189.184-96.192 160 160 0 0 0-314.752 5.632c52.608 12.992 97.28 46.08 125.568 90.56"})]))}}),ND=$D,AD=W({name:"IceDrink",__name:"ice-drink",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 448v128h239.68l16.064-128zm-64 0H256.256l16.064 128H448zm64-255.36V384h247.744A256.13 256.13 0 0 0 512 192.64m-64 8.064A256.45 256.45 0 0 0 264.256 384H448zm64-72.064A320.13 320.13 0 0 1 825.472 384H896a32 32 0 1 1 0 64h-64v1.92l-56.96 454.016A64 64 0 0 1 711.552 960H312.448a64 64 0 0 1-63.488-56.064L192 449.92V448h-64a32 32 0 0 1 0-64h70.528A320.38 320.38 0 0 1 448 135.04V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H544a32 32 0 0 0-32 32zM743.68 640H280.32l32.128 256h399.104z"})]))}}),ID=AD,PD=W({name:"IceTea",__name:"ice-tea",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M197.696 259.648a320.128 320.128 0 0 1 628.608 0A96 96 0 0 1 896 352v64a96 96 0 0 1-71.616 92.864l-49.408 395.072A64 64 0 0 1 711.488 960H312.512a64 64 0 0 1-63.488-56.064l-49.408-395.072A96 96 0 0 1 128 416v-64a96 96 0 0 1 69.696-92.352M264.064 256h495.872a256.128 256.128 0 0 0-495.872 0m495.424 256H264.512l48 384h398.976zM224 448h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32H224a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32m160 192h64v64h-64zm192 64h64v64h-64zm-128 64h64v64h-64zm64-192h64v64h-64z"})]))}}),RD=PD,VD=W({name:"InfoFilled",__name:"info-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),$i=VD,LD=W({name:"Iphone",__name:"iphone",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M224 768v96.064a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V768zm0-64h576V160a64 64 0 0 0-64-64H288a64 64 0 0 0-64 64zm32 288a96 96 0 0 1-96-96V128a96 96 0 0 1 96-96h512a96 96 0 0 1 96 96v768a96 96 0 0 1-96 96zm304-144a48 48 0 1 1-96 0 48 48 0 0 1 96 0"})]))}}),BD=LD,zD=W({name:"Key",__name:"key",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M448 456.064V96a32 32 0 0 1 32-32.064L672 64a32 32 0 0 1 0 64H512v128h160a32 32 0 0 1 0 64H512v128a256 256 0 1 1-64 8.064M512 896a192 192 0 1 0 0-384 192 192 0 0 0 0 384"})]))}}),DD=zD,HD=W({name:"KnifeFork",__name:"knife-fork",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M256 410.56V96a32 32 0 0 1 64 0v314.56A96 96 0 0 0 384 320V96a32 32 0 0 1 64 0v224a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.8A160 160 0 0 1 128 320V96a32 32 0 0 1 64 0v224a96 96 0 0 0 64 90.56m384-250.24V544h126.72c-3.328-78.72-12.928-147.968-28.608-207.744-14.336-54.528-46.848-113.344-98.112-175.872zM640 608v320a32 32 0 1 1-64 0V64h64c85.312 89.472 138.688 174.848 160 256s32 177.152 32 288z"})]))}}),FD=HD,KD=W({name:"Lightning",__name:"lightning",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M288 671.36v64.128A239.81 239.81 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 736 734.016v-64.768a192 192 0 0 0 3.328-377.92l-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 91.968 70.464 167.36 160.256 175.232z"}),$("path",{fill:"currentColor",d:"M416 736a32 32 0 0 1-27.776-47.872l128-224a32 32 0 1 1 55.552 31.744L471.168 672H608a32 32 0 0 1 27.776 47.872l-128 224a32 32 0 1 1-55.68-31.744L552.96 736z"})]))}}),WD=KD,jD=W({name:"Link",__name:"link",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M715.648 625.152 670.4 579.904l90.496-90.56c75.008-74.944 85.12-186.368 22.656-248.896-62.528-62.464-173.952-52.352-248.96 22.656L444.16 353.6l-45.248-45.248 90.496-90.496c100.032-99.968 251.968-110.08 339.456-22.656 87.488 87.488 77.312 239.424-22.656 339.456l-90.496 90.496zm-90.496 90.496-90.496 90.496C434.624 906.112 282.688 916.224 195.2 828.8c-87.488-87.488-77.312-239.424 22.656-339.456l90.496-90.496 45.248 45.248-90.496 90.56c-75.008 74.944-85.12 186.368-22.656 248.896 62.528 62.464 173.952 52.352 248.96-22.656l90.496-90.496zm0-362.048 45.248 45.248L398.848 670.4 353.6 625.152z"})]))}}),qD=jD,UD=W({name:"List",__name:"list",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160v64h384zM288 512h448v-64H288zm0 256h448v-64H288zm96-576V96h256v96z"})]))}}),YD=UD,GD=W({name:"Loading",__name:"loading",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248M828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0"})]))}}),wl=GD,XD=W({name:"LocationFilled",__name:"location-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 928c23.936 0 117.504-68.352 192.064-153.152C803.456 661.888 864 535.808 864 416c0-189.632-155.84-320-352-320S160 226.368 160 416c0 120.32 60.544 246.4 159.936 359.232C394.432 859.84 488 928 512 928m0-435.2a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 140.8a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6"})]))}}),JD=XD,ZD=W({name:"LocationInformation",__name:"location-information",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),$("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),$("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),QD=ZD,eH=W({name:"Location",__name:"location",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),$("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),tH=eH,nH=W({name:"Lock",__name:"lock",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),$("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m192-160v-64a192 192 0 1 0-384 0v64zM512 64a256 256 0 0 1 256 256v128H256V320A256 256 0 0 1 512 64"})]))}}),aH=nH,lH=W({name:"Lollipop",__name:"lollipop",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M513.28 448a64 64 0 1 1 76.544 49.728A96 96 0 0 0 768 448h64a160 160 0 0 1-320 0zm-126.976-29.696a256 256 0 1 0 43.52-180.48A256 256 0 0 1 832 448h-64a192 192 0 0 0-381.696-29.696m105.664 249.472L285.696 874.048a96 96 0 0 1-135.68-135.744l206.208-206.272a320 320 0 1 1 135.744 135.744m-54.464-36.032a322 322 0 0 1-45.248-45.248L195.2 783.552a32 32 0 1 0 45.248 45.248l197.056-197.12z"})]))}}),oH=lH,sH=W({name:"MagicStick",__name:"magic-stick",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 64h64v192h-64zm0 576h64v192h-64zM160 480v-64h192v64zm576 0v-64h192v64zM249.856 199.04l45.248-45.184L430.848 289.6 385.6 334.848 249.856 199.104zM657.152 606.4l45.248-45.248 135.744 135.744-45.248 45.248zM114.048 923.2 68.8 877.952l316.8-316.8 45.248 45.248zM702.4 334.848 657.152 289.6l135.744-135.744 45.248 45.248z"})]))}}),rH=sH,iH=W({name:"Magnet",__name:"magnet",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M832 320V192H704v320a192 192 0 1 1-384 0V192H192v128h128v64H192v128a320 320 0 0 0 640 0V384H704v-64zM640 512V128h256v384a384 384 0 1 1-768 0V128h256v384a128 128 0 1 0 256 0"})]))}}),uH=iH,cH=W({name:"Male",__name:"male",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M399.5 849.5a225 225 0 1 0 0-450 225 225 0 0 0 0 450m0 56.25a281.25 281.25 0 1 1 0-562.5 281.25 281.25 0 0 1 0 562.5m253.125-787.5h225q28.125 0 28.125 28.125T877.625 174.5h-225q-28.125 0-28.125-28.125t28.125-28.125"}),$("path",{fill:"currentColor",d:"M877.625 118.25q28.125 0 28.125 28.125v225q0 28.125-28.125 28.125T849.5 371.375v-225q0-28.125 28.125-28.125"}),$("path",{fill:"currentColor",d:"M604.813 458.9 565.1 419.131l292.613-292.668 39.825 39.824z"})]))}}),dH=cH,fH=W({name:"Management",__name:"management",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M576 128v288l96-96 96 96V128h128v768H320V128zm-448 0h128v768H128z"})]))}}),pH=fH,hH=W({name:"MapLocation",__name:"map-location",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),$("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256m345.6 192L960 960H672v-64H352v64H64l102.4-256zm-68.928 0H235.328l-76.8 192h706.944z"})]))}}),vH=hH,mH=W({name:"Medal",__name:"medal",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 896a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),$("path",{fill:"currentColor",d:"M576 128H448v200a286.7 286.7 0 0 1 64-8c19.52 0 40.832 2.688 64 8zm64 0v219.648c24.448 9.088 50.56 20.416 78.4 33.92L757.44 128zm-256 0H266.624l39.04 253.568c27.84-13.504 53.888-24.832 78.336-33.92zM229.312 64h565.376a32 32 0 0 1 31.616 36.864L768 480c-113.792-64-199.104-96-256-96s-142.208 32-256 96l-58.304-379.136A32 32 0 0 1 229.312 64"})]))}}),gH=mH,yH=W({name:"Memo",__name:"memo",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M480 320h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"}),$("path",{fill:"currentColor",d:"M887.01 72.99C881.01 67 873.34 64 864 64H160c-9.35 0-17.02 3-23.01 8.99C131 78.99 128 86.66 128 96v832c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V96c0-9.35-3-17.02-8.99-23.01M192 896V128h96v768zm640 0H352V128h480z"}),$("path",{fill:"currentColor",d:"M480 512h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32m0 192h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"})]))}}),bH=yH,wH=W({name:"Menu",__name:"menu",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M160 448a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zM160 896a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32z"})]))}}),CH=wH,_H=W({name:"MessageBox",__name:"message-box",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M288 384h448v64H288zm96-128h256v64H384zM131.456 512H384v128h256V512h252.544L721.856 192H302.144zM896 576H704v128H320V576H128v256h768zM275.776 128h472.448a32 32 0 0 1 28.608 17.664l179.84 359.552A32 32 0 0 1 960 519.552V864a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V519.552a32 32 0 0 1 3.392-14.336l179.776-359.552A32 32 0 0 1 275.776 128"})]))}}),SH=_H,xH=W({name:"Message",__name:"message",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M128 224v512a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V224zm0-64h768a64 64 0 0 1 64 64v512a128 128 0 0 1-128 128H192A128 128 0 0 1 64 736V224a64 64 0 0 1 64-64"}),$("path",{fill:"currentColor",d:"M904 224 656.512 506.88a192 192 0 0 1-289.024 0L120 224zm-698.944 0 210.56 240.704a128 128 0 0 0 192.704 0L818.944 224z"})]))}}),kH=xH,EH=W({name:"Mic",__name:"mic",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M480 704h160a64 64 0 0 0 64-64v-32h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-32a64 64 0 0 0-64-64H384a64 64 0 0 0-64 64v32h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v32a64 64 0 0 0 64 64zm64 64v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768h-96a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64h256a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128z"})]))}}),TH=EH,MH=W({name:"Microphone",__name:"microphone",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 128a128 128 0 0 0-128 128v256a128 128 0 1 0 256 0V256a128 128 0 0 0-128-128m0-64a192 192 0 0 1 192 192v256a192 192 0 1 1-384 0V256A192 192 0 0 1 512 64m-32 832v-64a288 288 0 0 1-288-288v-32a32 32 0 0 1 64 0v32a224 224 0 0 0 224 224h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64z"})]))}}),OH=MH,$H=W({name:"MilkTea",__name:"milk-tea",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M416 128V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H512a32 32 0 0 0-32 32v32h320a96 96 0 0 1 11.712 191.296l-39.68 581.056A64 64 0 0 1 708.224 960H315.776a64 64 0 0 1-63.872-59.648l-39.616-581.056A96 96 0 0 1 224 128zM276.48 320l39.296 576h392.448l4.8-70.784a224.064 224.064 0 0 1 30.016-439.808L747.52 320zM224 256h576a32 32 0 1 0 0-64H224a32 32 0 0 0 0 64m493.44 503.872 21.12-309.12a160 160 0 0 0-21.12 309.12"})]))}}),NH=$H,AH=W({name:"Minus",__name:"minus",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),L5=AH,IH=W({name:"Money",__name:"money",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M256 640v192h640V384H768v-64h150.976c14.272 0 19.456 1.472 24.64 4.288a29.06 29.06 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64v493.952c0 14.272-1.472 19.456-4.288 24.64a29.06 29.06 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H233.024c-14.272 0-19.456-1.472-24.64-4.288a29.06 29.06 0 0 1-12.16-12.096c-2.688-5.184-4.224-10.368-4.224-24.576V640z"}),$("path",{fill:"currentColor",d:"M768 192H128v448h640zm64-22.976v493.952c0 14.272-1.472 19.456-4.288 24.64a29.06 29.06 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.06 29.06 0 0 1-12.16-12.096C65.536 682.432 64 677.248 64 663.04V169.024c0-14.272 1.472-19.456 4.288-24.64a29.06 29.06 0 0 1 12.096-12.16C85.568 129.536 90.752 128 104.96 128h685.952c14.272 0 19.456 1.472 24.64 4.288a29.06 29.06 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64z"}),$("path",{fill:"currentColor",d:"M448 576a160 160 0 1 1 0-320 160 160 0 0 1 0 320m0-64a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}}),PH=IH,RH=W({name:"Monitor",__name:"monitor",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M544 768v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768H192A128 128 0 0 1 64 640V256a128 128 0 0 1 128-128h640a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128zM192 192a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64z"})]))}}),VH=RH,LH=W({name:"MoonNight",__name:"moon-night",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M384 512a448 448 0 0 1 215.872-383.296A384 384 0 0 0 213.76 640h188.8A448.3 448.3 0 0 1 384 512M171.136 704a448 448 0 0 1 636.992-575.296A384 384 0 0 0 499.328 704h-328.32z"}),$("path",{fill:"currentColor",d:"M32 640h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m128 128h384a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m160 127.68 224 .256a32 32 0 0 1 32 32V928a32 32 0 0 1-32 32l-224-.384a32 32 0 0 1-32-32v-.064a32 32 0 0 1 32-32z"})]))}}),BH=LH,zH=W({name:"Moon",__name:"moon",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M240.448 240.448a384 384 0 1 0 559.424 525.696 448 448 0 0 1-542.016-542.08 391 391 0 0 0-17.408 16.384m181.056 362.048a384 384 0 0 0 525.632 16.384A448 448 0 1 1 405.056 76.8a384 384 0 0 0 16.448 525.696"})]))}}),DH=zH,HH=W({name:"MoreFilled",__name:"more-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),Yh=HH,FH=W({name:"More",__name:"more",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),B5=FH,KH=W({name:"MostlyCloudy",__name:"mostly-cloudy",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M737.216 357.952 704 349.824l-11.776-32a192.064 192.064 0 0 0-367.424 23.04l-8.96 39.04-39.04 8.96A192.064 192.064 0 0 0 320 768h368a207.81 207.81 0 0 0 207.808-208 208.32 208.32 0 0 0-158.592-202.048m15.168-62.208A272.32 272.32 0 0 1 959.744 560a271.81 271.81 0 0 1-271.552 272H320a256 256 0 0 1-57.536-505.536 256.128 256.128 0 0 1 489.92-30.72"})]))}}),WH=KH,jH=W({name:"Mouse",__name:"mouse",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M438.144 256c-68.352 0-92.736 4.672-117.76 18.112q-30.144 16.128-46.272 46.272C260.672 345.408 256 369.792 256 438.144v275.712c0 68.352 4.672 92.736 18.112 117.76q16.128 30.144 46.272 46.272C345.408 891.328 369.792 896 438.144 896h147.712c68.352 0 92.736-4.672 117.76-18.112q30.144-16.128 46.272-46.272C763.328 806.592 768 782.208 768 713.856V438.144c0-68.352-4.672-92.736-18.112-117.76a110.46 110.46 0 0 0-46.272-46.272C678.592 260.672 654.208 256 585.856 256zm0-64h147.712c85.568 0 116.608 8.96 147.904 25.6 31.36 16.768 55.872 41.344 72.576 72.64C823.104 321.536 832 352.576 832 438.08v275.84c0 85.504-8.96 116.544-25.6 147.84a174.46 174.46 0 0 1-72.64 72.576C702.464 951.104 671.424 960 585.92 960H438.08c-85.504 0-116.544-8.96-147.84-25.6a174.46 174.46 0 0 1-72.64-72.704c-16.768-31.296-25.664-62.336-25.664-147.84v-275.84c0-85.504 8.96-116.544 25.6-147.84a174.46 174.46 0 0 1 72.768-72.576c31.232-16.704 62.272-25.6 147.776-25.6z"}),$("path",{fill:"currentColor",d:"M512 320q32 0 32 32v128q0 32-32 32t-32-32V352q0-32 32-32m32-96a32 32 0 0 1-64 0v-64a32 32 0 0 0-32-32h-96a32 32 0 0 1 0-64h96a96 96 0 0 1 96 96z"})]))}}),qH=jH,UH=W({name:"Mug",__name:"mug",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M736 800V160H160v640a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64m64-544h63.552a96 96 0 0 1 96 96v224a96 96 0 0 1-96 96H800v128a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V128a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v288h63.552a32 32 0 0 0 32-32V352a32 32 0 0 0-32-32z"})]))}}),YH=UH,GH=W({name:"MuteNotification",__name:"mute-notification",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m241.216 832 63.616-64H768V448c0-42.368-10.24-82.304-28.48-117.504l46.912-47.232C815.36 331.392 832 387.84 832 448v320h96a32 32 0 1 1 0 64zm-90.24 0H96a32 32 0 1 1 0-64h96V448a320.13 320.13 0 0 1 256-313.6V128a64 64 0 1 1 128 0v6.4a319.55 319.55 0 0 1 171.648 97.088l-45.184 45.44A256 256 0 0 0 256 448v278.336L151.04 832zM448 896h128a64 64 0 0 1-128 0"}),$("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056z"})]))}}),XH=GH,JH=W({name:"Mute",__name:"mute",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m412.16 592.128-45.44 45.44A191.23 191.23 0 0 1 320 512V256a192 192 0 1 1 384 0v44.352l-64 64V256a128 128 0 1 0-256 0v256c0 30.336 10.56 58.24 28.16 80.128m51.968 38.592A128 128 0 0 0 640 512v-57.152l64-64V512a192 192 0 0 1-287.68 166.528zM314.88 779.968l46.144-46.08A223 223 0 0 0 480 768h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64h64v-64c-61.44 0-118.4-19.2-165.12-52.032M266.752 737.6A286.98 286.98 0 0 1 192 544v-32a32 32 0 0 1 64 0v32c0 56.832 21.184 108.8 56.064 148.288z"}),$("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056z"})]))}}),ZH=JH,QH=W({name:"NoSmoking",__name:"no-smoking",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M440.256 576H256v128h56.256l-64 64H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32h280.256zm143.488 128H704V583.744L775.744 512H928a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H519.744zM768 576v128h128V576zm-29.696-207.552 45.248 45.248-497.856 497.856-45.248-45.248zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}}),eF=QH,tF=W({name:"Notebook",__name:"notebook",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),$("path",{fill:"currentColor",d:"M672 128h64v768h-64zM96 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32"})]))}}),nF=tF,aF=W({name:"Notification",__name:"notification",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 128v64H256a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V512h64v256a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V256a128 128 0 0 1 128-128z"}),$("path",{fill:"currentColor",d:"M768 384a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"})]))}}),lF=aF,oF=W({name:"Odometer",__name:"odometer",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),$("path",{fill:"currentColor",d:"M192 512a320 320 0 1 1 640 0 32 32 0 1 1-64 0 256 256 0 1 0-512 0 32 32 0 0 1-64 0"}),$("path",{fill:"currentColor",d:"M570.432 627.84A96 96 0 1 1 509.568 608l60.992-187.776A32 32 0 1 1 631.424 440l-60.992 187.776zM502.08 734.464a32 32 0 1 0 19.84-60.928 32 32 0 0 0-19.84 60.928"})]))}}),sF=oF,rF=W({name:"OfficeBuilding",__name:"office-building",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M192 128v704h384V128zm-32-64h448a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),$("path",{fill:"currentColor",d:"M256 256h256v64H256zm0 192h256v64H256zm0 192h256v64H256zm384-128h128v64H640zm0 128h128v64H640zM64 832h896v64H64z"}),$("path",{fill:"currentColor",d:"M640 384v448h192V384zm-32-64h256a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H608a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32"})]))}}),iF=rF,uF=W({name:"Open",__name:"open",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36"}),$("path",{fill:"currentColor",d:"M694.044 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}}),cF=uF,dF=W({name:"Operation",__name:"operation",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z"})]))}}),fF=dF,pF=W({name:"Opportunity",__name:"opportunity",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M384 960v-64h192.064v64zm448-544a350.66 350.66 0 0 1-128.32 271.424C665.344 719.04 640 763.776 640 813.504V832H320v-14.336c0-48-19.392-95.36-57.216-124.992a351.55 351.55 0 0 1-128.448-344.256c25.344-136.448 133.888-248.128 269.76-276.48A352.384 352.384 0 0 1 832 416m-544 32c0-132.288 75.904-224 192-224v-64c-154.432 0-256 122.752-256 288z"})]))}}),hF=pF,vF=W({name:"Orange",__name:"orange",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M544 894.72a382.34 382.34 0 0 0 215.936-89.472L577.024 622.272c-10.24 6.016-21.248 10.688-33.024 13.696v258.688zm261.248-134.784A382.34 382.34 0 0 0 894.656 544H635.968c-3.008 11.776-7.68 22.848-13.696 33.024zM894.656 480a382.34 382.34 0 0 0-89.408-215.936L622.272 446.976c6.016 10.24 10.688 21.248 13.696 33.024zm-134.72-261.248A382.34 382.34 0 0 0 544 129.344v258.688c11.776 3.008 22.848 7.68 33.024 13.696zM480 129.344a382.34 382.34 0 0 0-215.936 89.408l182.912 182.976c10.24-6.016 21.248-10.688 33.024-13.696zm-261.248 134.72A382.34 382.34 0 0 0 129.344 480h258.688c3.008-11.776 7.68-22.848 13.696-33.024zM129.344 544a382.34 382.34 0 0 0 89.408 215.936l182.976-182.912A127.2 127.2 0 0 1 388.032 544zm134.72 261.248A382.34 382.34 0 0 0 480 894.656V635.968a127.2 127.2 0 0 1-33.024-13.696zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-384a64 64 0 1 0 0-128 64 64 0 0 0 0 128"})]))}}),mF=vF,gF=W({name:"Paperclip",__name:"paperclip",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M602.496 240.448A192 192 0 1 1 874.048 512l-316.8 316.8A256 256 0 0 1 195.2 466.752L602.496 59.456l45.248 45.248L240.448 512A192 192 0 0 0 512 783.552l316.8-316.8a128 128 0 1 0-181.056-181.056L353.6 579.904a32 32 0 1 0 45.248 45.248l294.144-294.144 45.312 45.248L444.096 670.4a96 96 0 1 1-135.744-135.744z"})]))}}),yF=gF,bF=W({name:"PartlyCloudy",__name:"partly-cloudy",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M598.4 895.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 895.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 445.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"}),$("path",{fill:"currentColor",d:"M139.84 501.888a256 256 0 1 1 417.856-277.12c-17.728 2.176-38.208 8.448-61.504 18.816A192 192 0 1 0 189.12 460.48a6004 6004 0 0 0-49.28 41.408"})]))}}),wF=bF,CF=W({name:"Pear",__name:"pear",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M542.336 258.816a443 443 0 0 0-9.024 25.088 32 32 0 1 1-60.8-20.032l1.088-3.328a162.69 162.69 0 0 0-122.048 131.392l-17.088 102.72-20.736 15.36C256.192 552.704 224 610.88 224 672c0 120.576 126.4 224 288 224s288-103.424 288-224c0-61.12-32.192-119.296-89.728-161.92l-20.736-15.424-17.088-102.72a162.69 162.69 0 0 0-130.112-133.12m-40.128-66.56c7.936-15.552 16.576-30.08 25.92-43.776 23.296-33.92 49.408-59.776 78.528-77.12a32 32 0 1 1 32.704 55.04c-20.544 12.224-40.064 31.552-58.432 58.304a317 317 0 0 0-9.792 15.104 226.69 226.69 0 0 1 164.48 181.568l12.8 77.248C819.456 511.36 864 587.392 864 672c0 159.04-157.568 288-352 288S160 831.04 160 672c0-84.608 44.608-160.64 115.584-213.376l12.8-77.248a226.624 226.624 0 0 1 213.76-189.184z"})]))}}),_F=CF,SF=W({name:"PhoneFilled",__name:"phone-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M199.232 125.568 90.624 379.008a32 32 0 0 0 6.784 35.2l512.384 512.384a32 32 0 0 0 35.2 6.784l253.44-108.608a32 32 0 0 0 10.048-52.032L769.6 633.92a32 32 0 0 0-36.928-5.952l-130.176 65.088-271.488-271.552 65.024-130.176a32 32 0 0 0-5.952-36.928L251.2 115.52a32 32 0 0 0-51.968 10.048"})]))}}),xF=SF,kF=W({name:"Phone",__name:"phone",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M79.36 432.256 591.744 944.64a32 32 0 0 0 35.2 6.784l253.44-108.544a32 32 0 0 0 9.984-52.032l-153.856-153.92a32 32 0 0 0-36.928-6.016l-69.888 34.944L358.08 394.24l35.008-69.888a32 32 0 0 0-5.952-36.928L233.152 133.568a32 32 0 0 0-52.032 10.048L72.512 397.056a32 32 0 0 0 6.784 35.2zm60.48-29.952 81.536-190.08L325.568 316.48l-24.64 49.216-20.608 41.216 32.576 32.64 271.552 271.552 32.64 32.64 41.216-20.672 49.28-24.576 104.192 104.128-190.08 81.472zM512 320v-64a256 256 0 0 1 256 256h-64a192 192 0 0 0-192-192m0-192V64a448 448 0 0 1 448 448h-64a384 384 0 0 0-384-384"})]))}}),EF=kF,TF=W({name:"PictureFilled",__name:"picture-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),z5=TF,MF=W({name:"PictureRounded",__name:"picture-rounded",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 128a384 384 0 1 0 0 768 384 384 0 0 0 0-768m0-64a448 448 0 1 1 0 896 448 448 0 0 1 0-896"}),$("path",{fill:"currentColor",d:"M640 288q64 0 64 64t-64 64-64-64 64-64M214.656 790.656l-45.312-45.312 185.664-185.6a96 96 0 0 1 123.712-10.24l138.24 98.688a32 32 0 0 0 39.872-2.176L906.688 422.4l42.624 47.744L699.52 693.696a96 96 0 0 1-119.808 6.592l-138.24-98.752a32 32 0 0 0-41.152 3.456l-185.664 185.6z"})]))}}),OF=MF,$F=W({name:"Picture",__name:"picture",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),$("path",{fill:"currentColor",d:"M384 288q64 0 64 64t-64 64-64-64 64-64M185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472 122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888 49.92 39.936-215.808 269.824-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072-.64-.512a32 32 0 0 0-44.8 5.952z"})]))}}),NF=$F,AF=W({name:"PieChart",__name:"pie-chart",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M448 68.48v64.832A384.128 384.128 0 0 0 512 896a384.13 384.13 0 0 0 378.688-320h64.768A448.128 448.128 0 0 1 64 512 448.13 448.13 0 0 1 448 68.48"}),$("path",{fill:"currentColor",d:"M576 97.28V448h350.72A384.064 384.064 0 0 0 576 97.28M512 64V33.152A448 448 0 0 1 990.848 512H512z"})]))}}),IF=AF,PF=W({name:"Place",__name:"place",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"}),$("path",{fill:"currentColor",d:"M512 512a32 32 0 0 1 32 32v256a32 32 0 1 1-64 0V544a32 32 0 0 1 32-32"}),$("path",{fill:"currentColor",d:"M384 649.088v64.96C269.76 732.352 192 771.904 192 800c0 37.696 139.904 96 320 96s320-58.304 320-96c0-28.16-77.76-67.648-192-85.952v-64.96C789.12 671.04 896 730.368 896 800c0 88.32-171.904 160-384 160s-384-71.68-384-160c0-69.696 106.88-128.96 256-150.912"})]))}}),RF=PF,VF=W({name:"Platform",__name:"platform",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M448 832v-64h128v64h192v64H256v-64zM128 704V128h768v576z"})]))}}),LF=VF,BF=W({name:"Plus",__name:"plus",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),M1=BF,zF=W({name:"Pointer",__name:"pointer",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M511.552 128c-35.584 0-64.384 28.8-64.384 64.448v516.48L274.048 570.88a94.27 94.27 0 0 0-112.896-3.456 44.416 44.416 0 0 0-8.96 62.208L332.8 870.4A64 64 0 0 0 384 896h512V575.232a64 64 0 0 0-45.632-61.312l-205.952-61.76A96 96 0 0 1 576 360.192V192.448C576 156.8 547.2 128 511.552 128M359.04 556.8l24.128 19.2V192.448a128.448 128.448 0 1 1 256.832 0v167.744a32 32 0 0 0 22.784 30.656l206.016 61.76A128 128 0 0 1 960 575.232V896a64 64 0 0 1-64 64H384a128 128 0 0 1-102.4-51.2L101.056 668.032A108.416 108.416 0 0 1 128 512.512a158.27 158.27 0 0 1 185.984 8.32z"})]))}}),DF=zF,HF=W({name:"Position",__name:"position",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m249.6 417.088 319.744 43.072 39.168 310.272L845.12 178.88zm-129.024 47.168a32 32 0 0 1-7.68-61.44l777.792-311.04a32 32 0 0 1 41.6 41.6l-310.336 775.68a32 32 0 0 1-61.44-7.808L512 516.992z"})]))}}),FF=HF,KF=W({name:"Postcard",__name:"postcard",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M160 224a32 32 0 0 0-32 32v512a32 32 0 0 0 32 32h704a32 32 0 0 0 32-32V256a32 32 0 0 0-32-32zm0-64h704a96 96 0 0 1 96 96v512a96 96 0 0 1-96 96H160a96 96 0 0 1-96-96V256a96 96 0 0 1 96-96"}),$("path",{fill:"currentColor",d:"M704 320a64 64 0 1 1 0 128 64 64 0 0 1 0-128M288 448h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32m0 128h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),WF=KF,jF=W({name:"Pouring",__name:"pouring",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672M959.552 480a256 256 0 0 1-256 256h-400A239.81 239.81 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M224 800a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32"})]))}}),qF=jF,UF=W({name:"Present",__name:"present",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M480 896V640H192v-64h288V320H192v576zm64 0h288V320H544v256h288v64H544zM128 256h768v672a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),$("path",{fill:"currentColor",d:"M96 256h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32"}),$("path",{fill:"currentColor",d:"M416 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),$("path",{fill:"currentColor",d:"M608 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),YF=UF,GF=W({name:"PriceTag",__name:"price-tag",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M224 318.336V896h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0"}),$("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),XF=GF,JF=W({name:"Printer",__name:"printer",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M256 768H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.06 29.06 0 0 1-12.16-12.096C65.536 746.432 64 741.248 64 727.04V379.072c0-42.816 4.48-58.304 12.8-73.984 8.384-15.616 20.672-27.904 36.288-36.288 15.68-8.32 31.168-12.8 73.984-12.8H256V64h512v192h68.928c42.816 0 58.304 4.48 73.984 12.8 15.616 8.384 27.904 20.672 36.288 36.288 8.32 15.68 12.8 31.168 12.8 73.984v347.904c0 14.272-1.472 19.456-4.288 24.64a29.06 29.06 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H768v192H256zm64-192v320h384V576zm-64 128V512h512v192h128V379.072c0-29.376-1.408-36.48-5.248-43.776a23.3 23.3 0 0 0-10.048-10.048c-7.232-3.84-14.4-5.248-43.776-5.248H187.072c-29.376 0-36.48 1.408-43.776 5.248a23.3 23.3 0 0 0-10.048 10.048c-3.84 7.232-5.248 14.4-5.248 43.776V704zm64-448h384V128H320zm-64 128h64v64h-64zm128 0h64v64h-64z"})]))}}),ZF=JF,QF=W({name:"Promotion",__name:"promotion",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m64 448 832-320-128 704-446.08-243.328L832 192 242.816 545.472zm256 512V657.024L512 768z"})]))}}),eK=QF,tK=W({name:"QuartzWatch",__name:"quartz-watch",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M422.02 602.01v-.03c-6.68-5.99-14.35-8.83-23.01-8.51q-13.005.48-22.5 10.02c-6.33 6.36-9.5 13.7-9.5 22.02s3 15.82 8.99 22.5c8.68 8.68 19.02 11.35 31.01 8s19.49-10.85 22.5-22.5.51-22.15-7.49-31.49zM384 512c0-9.35-3-17.02-8.99-23.01-6-5.99-13.66-8.99-23.01-8.99s-17.02 3-23.01 8.99c-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99s17.02-3 23.01-8.99c5.99-6 8.99-13.67 8.99-23.01m6.53-82.49c11.65 3.01 22.15.51 31.49-7.49h.04c5.99-6.68 8.83-14.34 8.51-23.01s-3.66-16.16-10.02-22.5c-6.36-6.33-13.7-9.5-22.02-9.5s-15.82 3-22.5 8.99c-8.68 8.69-11.35 19.02-8 31.01q5.025 17.985 22.5 22.5m242.94 0q17.505-4.545 22.02-22.02c3.01-11.65.51-22.15-7.49-31.49h.01c-6.68-5.99-14.18-8.99-22.5-8.99s-15.66 3.16-22.02 9.5q-9.54 9.51-10.02 22.5c-.32 8.66 2.52 16.33 8.51 23.01 9.32 8.02 19.82 10.52 31.49 7.49M512 640c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01s-3-17.02-8.99-23.01c-6-5.99-13.66-8.99-23.01-8.99m183.01-151.01c-6-5.99-13.66-8.99-23.01-8.99s-17.02 3-23.01 8.99c-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99s17.02-3 23.01-8.99c5.99-6 8.99-13.67 8.99-23.01 0-9.35-3-17.02-8.99-23.01"}),$("path",{fill:"currentColor",d:"M832 512c-2-90.67-33.17-166.17-93.5-226.5-20.43-20.42-42.6-37.49-66.5-51.23V64H352v170.26c-23.9 13.74-46.07 30.81-66.5 51.24-60.33 60.33-91.49 135.83-93.5 226.5 2 90.67 33.17 166.17 93.5 226.5 20.43 20.43 42.6 37.5 66.5 51.24V960h320V789.74c23.9-13.74 46.07-30.81 66.5-51.24 60.33-60.34 91.49-135.83 93.5-226.5M416 128h192v78.69c-29.85-9.03-61.85-13.93-96-14.69-34.15.75-66.15 5.65-96 14.68zm192 768H416v-78.68c29.85 9.03 61.85 13.93 96 14.68 34.15-.75 66.15-5.65 96-14.68zm-96-128c-72.66-2.01-132.99-27.01-180.99-75.01S258.01 584.66 256 512c2.01-72.66 27.01-132.99 75.01-180.99S439.34 258.01 512 256c72.66 2.01 132.99 27.01 180.99 75.01S765.99 439.34 768 512c-2.01 72.66-27.01 132.99-75.01 180.99S584.66 765.99 512 768"}),$("path",{fill:"currentColor",d:"M512 320c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01s-3-17.02-8.99-23.01c-6-5.99-13.66-8.99-23.01-8.99m112.99 273.5c-8.66-.32-16.33 2.52-23.01 8.51-7.98 9.32-10.48 19.82-7.49 31.49s10.49 19.17 22.5 22.5 22.35.66 31.01-8v.04c5.99-6.68 8.99-14.18 8.99-22.5s-3.16-15.66-9.5-22.02-13.84-9.7-22.5-10.02"})]))}}),nK=tK,aK=W({name:"QuestionFilled",__name:"question-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592q0-64.416-42.24-101.376c-28.16-25.344-65.472-37.312-111.232-37.312m-12.672 406.208a54.27 54.27 0 0 0-38.72 14.784 49.4 49.4 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.85 54.85 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.97 51.97 0 0 0-15.488-38.016 55.94 55.94 0 0 0-39.424-14.784"})]))}}),D5=aK,lK=W({name:"Rank",__name:"rank",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m186.496 544 41.408 41.344a32 32 0 1 1-45.248 45.312l-96-96a32 32 0 0 1 0-45.312l96-96a32 32 0 1 1 45.248 45.312L186.496 480h290.816V186.432l-41.472 41.472a32 32 0 1 1-45.248-45.184l96-96.128a32 32 0 0 1 45.312 0l96 96.064a32 32 0 0 1-45.248 45.184l-41.344-41.28V480H832l-41.344-41.344a32 32 0 0 1 45.248-45.312l96 96a32 32 0 0 1 0 45.312l-96 96a32 32 0 0 1-45.248-45.312L832 544H541.312v293.44l41.344-41.28a32 32 0 1 1 45.248 45.248l-96 96a32 32 0 0 1-45.312 0l-96-96a32 32 0 1 1 45.312-45.248l41.408 41.408V544z"})]))}}),oK=lK,sK=W({name:"ReadingLamp",__name:"reading-lamp",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M352 896h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m-44.672-768-99.52 448h608.384l-99.52-448zm-25.6-64h460.608a32 32 0 0 1 31.232 25.088l113.792 512A32 32 0 0 1 856.128 640H167.872a32 32 0 0 1-31.232-38.912l113.792-512A32 32 0 0 1 281.664 64z"}),$("path",{fill:"currentColor",d:"M672 576q32 0 32 32v128q0 32-32 32t-32-32V608q0-32 32-32m-192-.064h64V960h-64z"})]))}}),rK=sK,iK=W({name:"Reading",__name:"reading",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m512 863.36 384-54.848v-638.72L525.568 222.72a96 96 0 0 1-27.136 0L128 169.792v638.72zM137.024 106.432l370.432 52.928a32 32 0 0 0 9.088 0l370.432-52.928A64 64 0 0 1 960 169.792v638.72a64 64 0 0 1-54.976 63.36l-388.48 55.488a32 32 0 0 1-9.088 0l-388.48-55.488A64 64 0 0 1 64 808.512v-638.72a64 64 0 0 1 73.024-63.36"}),$("path",{fill:"currentColor",d:"M480 192h64v704h-64z"})]))}}),uK=iK,cK=W({name:"RefreshLeft",__name:"refresh-left",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}}),H5=cK,dK=W({name:"RefreshRight",__name:"refresh-right",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88"})]))}}),F5=dK,fK=W({name:"Refresh",__name:"refresh",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}}),pK=fK,hK=W({name:"Refrigerator",__name:"refrigerator",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M256 448h512V160a32 32 0 0 0-32-32H288a32 32 0 0 0-32 32zm0 64v352a32 32 0 0 0 32 32h448a32 32 0 0 0 32-32V512zm32-448h448a96 96 0 0 1 96 96v704a96 96 0 0 1-96 96H288a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96m32 224h64v96h-64zm0 288h64v96h-64z"})]))}}),vK=hK,mK=W({name:"RemoveFilled",__name:"remove-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896M288 512a38.4 38.4 0 0 0 38.4 38.4h371.2a38.4 38.4 0 0 0 0-76.8H326.4A38.4 38.4 0 0 0 288 512"})]))}}),gK=mK,yK=W({name:"Remove",__name:"remove",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),$("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),bK=yK,wK=W({name:"Right",__name:"right",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M754.752 480H160a32 32 0 1 0 0 64h594.752L521.344 777.344a32 32 0 0 0 45.312 45.312l288-288a32 32 0 0 0 0-45.312l-288-288a32 32 0 1 0-45.312 45.312z"})]))}}),CK=wK,_K=W({name:"ScaleToOriginal",__name:"scale-to-original",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118m-361.412 0a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118M512 361.412a30.12 30.12 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.12 30.12 0 0 0 512 361.412M512 512a30.12 30.12 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.12 30.12 0 0 0 512 512"})]))}}),K5=_K,SK=W({name:"School",__name:"school",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M224 128v704h576V128zm-32-64h640a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),$("path",{fill:"currentColor",d:"M64 832h896v64H64zm256-640h128v96H320z"}),$("path",{fill:"currentColor",d:"M384 832h256v-64a128 128 0 1 0-256 0zm128-256a192 192 0 0 1 192 192v128H320V768a192 192 0 0 1 192-192M320 384h128v96H320zm256-192h128v96H576zm0 192h128v96H576z"})]))}}),xK=SK,kK=W({name:"Scissor",__name:"scissor",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m512.064 578.368-106.88 152.768a160 160 0 1 1-23.36-78.208L472.96 522.56 196.864 128.256a32 32 0 1 1 52.48-36.736l393.024 561.344a160 160 0 1 1-23.36 78.208l-106.88-152.704zm54.4-189.248 208.384-297.6a32 32 0 0 1 52.48 36.736l-221.76 316.672-39.04-55.808zm-376.32 425.856a96 96 0 1 0 110.144-157.248 96 96 0 0 0-110.08 157.248zm643.84 0a96 96 0 1 0-110.08-157.248 96 96 0 0 0 110.08 157.248"})]))}}),EK=kK,TK=W({name:"Search",__name:"search",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),W5=TK,MK=W({name:"Select",__name:"select",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M77.248 415.04a64 64 0 0 1 90.496 0l226.304 226.304L846.528 188.8a64 64 0 1 1 90.56 90.496l-543.04 543.04-316.8-316.8a64 64 0 0 1 0-90.496"})]))}}),OK=MK,$K=W({name:"Sell",__name:"sell",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128s-128 61.248-128 137.664v22.4h256zm201.408 483.84L768 698.496V928a32 32 0 1 1-64 0V698.496l-73.344 73.344a32 32 0 1 1-45.248-45.248l128-128a32 32 0 0 1 45.248 0l128 128a32 32 0 1 1-45.248 45.248"})]))}}),NK=$K,AK=W({name:"SemiSelect",__name:"semi-select",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M128 448h768q64 0 64 64t-64 64H128q-64 0-64-64t64-64"})]))}}),IK=AK,PK=W({name:"Service",__name:"service",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M864 409.6a192 192 0 0 1-37.888 349.44A256.064 256.064 0 0 1 576 960h-96a32 32 0 1 1 0-64h96a192.06 192.06 0 0 0 181.12-128H736a32 32 0 0 1-32-32V416a32 32 0 0 1 32-32h32c10.368 0 20.544.832 30.528 2.432a288 288 0 0 0-573.056 0A193 193 0 0 1 256 384h32a32 32 0 0 1 32 32v320a32 32 0 0 1-32 32h-32a192 192 0 0 1-96-358.4 352 352 0 0 1 704 0M256 448a128 128 0 1 0 0 256zm640 128a128 128 0 0 0-128-128v256a128 128 0 0 0 128-128"})]))}}),RK=PK,VK=W({name:"SetUp",__name:"set-up",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M224 160a64 64 0 0 0-64 64v576a64 64 0 0 0 64 64h576a64 64 0 0 0 64-64V224a64 64 0 0 0-64-64zm0-64h576a128 128 0 0 1 128 128v576a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V224A128 128 0 0 1 224 96"}),$("path",{fill:"currentColor",d:"M384 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),$("path",{fill:"currentColor",d:"M480 320h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32m160 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),$("path",{fill:"currentColor",d:"M288 640h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),LK=VK,BK=W({name:"Setting",__name:"setting",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M600.704 64a32 32 0 0 1 30.464 22.208l35.2 109.376c14.784 7.232 28.928 15.36 42.432 24.512l112.384-24.192a32 32 0 0 1 34.432 15.36L944.32 364.8a32 32 0 0 1-4.032 37.504l-77.12 85.12a357 357 0 0 1 0 49.024l77.12 85.248a32 32 0 0 1 4.032 37.504l-88.704 153.6a32 32 0 0 1-34.432 15.296L708.8 803.904c-13.44 9.088-27.648 17.28-42.368 24.512l-35.264 109.376A32 32 0 0 1 600.704 960H423.296a32 32 0 0 1-30.464-22.208L357.696 828.48a352 352 0 0 1-42.56-24.64l-112.32 24.256a32 32 0 0 1-34.432-15.36L79.68 659.2a32 32 0 0 1 4.032-37.504l77.12-85.248a357 357 0 0 1 0-48.896l-77.12-85.248A32 32 0 0 1 79.68 364.8l88.704-153.6a32 32 0 0 1 34.432-15.296l112.32 24.256c13.568-9.152 27.776-17.408 42.56-24.64l35.2-109.312A32 32 0 0 1 423.232 64H600.64zm-23.424 64H446.72l-36.352 113.088-24.512 11.968a294 294 0 0 0-34.816 20.096l-22.656 15.36-116.224-25.088-65.28 113.152 79.68 88.192-1.92 27.136a293 293 0 0 0 0 40.192l1.92 27.136-79.808 88.192 65.344 113.152 116.224-25.024 22.656 15.296a294 294 0 0 0 34.816 20.096l24.512 11.968L446.72 896h130.688l36.48-113.152 24.448-11.904a288 288 0 0 0 34.752-20.096l22.592-15.296 116.288 25.024 65.28-113.152-79.744-88.192 1.92-27.136a293 293 0 0 0 0-40.256l-1.92-27.136 79.808-88.128-65.344-113.152-116.288 24.96-22.592-15.232a288 288 0 0 0-34.752-20.096l-24.448-11.904L577.344 128zM512 320a192 192 0 1 1 0 384 192 192 0 0 1 0-384m0 64a128 128 0 1 0 0 256 128 128 0 0 0 0-256"})]))}}),zK=BK,DK=W({name:"Share",__name:"share",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m679.872 348.8-301.76 188.608a127.8 127.8 0 0 1 5.12 52.16l279.936 104.96a128 128 0 1 1-22.464 59.904l-279.872-104.96a128 128 0 1 1-16.64-166.272l301.696-188.608a128 128 0 1 1 33.92 54.272z"})]))}}),HK=DK,FK=W({name:"Ship",__name:"ship",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 386.88V448h405.568a32 32 0 0 1 30.72 40.768l-76.48 267.968A192 192 0 0 1 687.168 896H336.832a192 192 0 0 1-184.64-139.264L75.648 488.768A32 32 0 0 1 106.368 448H448V117.888a32 32 0 0 1 47.36-28.096l13.888 7.616L512 96v2.88l231.68 126.4a32 32 0 0 1-2.048 57.216zm0-70.272 144.768-65.792L512 171.84zM512 512H148.864l18.24 64H856.96l18.24-64zM185.408 640l28.352 99.2A128 128 0 0 0 336.832 832h350.336a128 128 0 0 0 123.072-92.8l28.352-99.2z"})]))}}),KK=FK,WK=W({name:"Shop",__name:"shop",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M704 704h64v192H256V704h64v64h384zm188.544-152.192C894.528 559.616 896 567.616 896 576a96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0c0-8.384 1.408-16.384 3.392-24.192L192 128h640z"})]))}}),jK=WK,qK=W({name:"ShoppingBag",__name:"shopping-bag",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M704 320v96a32 32 0 0 1-32 32h-32V320H384v128h-32a32 32 0 0 1-32-32v-96H192v576h640V320zm-384-64a192 192 0 1 1 384 0h160a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32zm64 0h256a128 128 0 1 0-256 0"}),$("path",{fill:"currentColor",d:"M192 704h640v64H192z"})]))}}),UK=qK,YK=W({name:"ShoppingCartFull",__name:"shopping-cart-full",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44z"}),$("path",{fill:"currentColor",d:"M699.648 256 608 145.984 516.352 256zm-140.8-151.04a64 64 0 0 1 98.304 0L836.352 320H379.648z"})]))}}),GK=YK,XK=W({name:"ShoppingCart",__name:"shopping-cart",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44z"})]))}}),JK=XK,ZK=W({name:"ShoppingTrolley",__name:"shopping-trolley",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M368 833c-13.3 0-24.5 4.5-33.5 13.5S321 866.7 321 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S415 893.3 415 880s-4.5-24.5-13.5-33.5S381.3 833 368 833m439-193c7.4 0 13.8-2.2 19.5-6.5S836 623.3 838 616l112-448c2-10-.2-19.2-6.5-27.5S929 128 919 128H96c-9.3 0-17 3-23 9s-9 13.7-9 23 3 17 9 23 13.7 9 23 9h96v576h672c9.3 0 17-3 23-9s9-13.7 9-23-3-17-9-23-13.7-9-23-9H256v-64zM256 192h622l-96 384H256zm432 641c-13.3 0-24.5 4.5-33.5 13.5S641 866.7 641 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S735 893.3 735 880s-4.5-24.5-13.5-33.5S701.3 833 688 833"})]))}}),QK=ZK,eW=W({name:"Smoking",__name:"smoking",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M256 576v128h640V576zm-32-64h704a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32"}),$("path",{fill:"currentColor",d:"M704 576h64v128h-64zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}}),tW=eW,nW=W({name:"Soccer",__name:"soccer",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M418.496 871.04 152.256 604.8c-16.512 94.016-2.368 178.624 42.944 224 44.928 44.928 129.344 58.752 223.296 42.24m72.32-18.176a573.06 573.06 0 0 0 224.832-137.216 573.1 573.1 0 0 0 137.216-224.832L533.888 171.84a578.56 578.56 0 0 0-227.52 138.496A567.7 567.7 0 0 0 170.432 532.48zM871.04 418.496c16.512-93.952 2.688-178.368-42.24-223.296-44.544-44.544-128.704-58.048-222.592-41.536zM149.952 874.048c-112.96-112.96-88.832-408.96 111.168-608.96C461.056 65.152 760.96 36.928 874.048 149.952c113.024 113.024 86.784 411.008-113.152 610.944s-497.92 226.112-610.944 113.152m452.544-497.792 22.656-22.656a32 32 0 0 1 45.248 45.248l-22.656 22.656 45.248 45.248A32 32 0 1 1 647.744 512l-45.248-45.248L557.248 512l45.248 45.248a32 32 0 1 1-45.248 45.248L512 557.248l-45.248 45.248L512 647.744a32 32 0 1 1-45.248 45.248l-45.248-45.248-22.656 22.656a32 32 0 1 1-45.248-45.248l22.656-22.656-45.248-45.248A32 32 0 1 1 376.256 512l45.248 45.248L466.752 512l-45.248-45.248a32 32 0 1 1 45.248-45.248L512 466.752l45.248-45.248L512 376.256a32 32 0 0 1 45.248-45.248z"})]))}}),aW=nW,lW=W({name:"SoldOut",__name:"sold-out",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128s-128 61.248-128 137.664v22.4h256zm201.408 476.16a32 32 0 1 1 45.248 45.184l-128 128a32 32 0 0 1-45.248 0l-128-128a32 32 0 1 1 45.248-45.248L704 837.504V608a32 32 0 1 1 64 0v229.504l73.408-73.408z"})]))}}),oW=lW,sW=W({name:"SortDown",__name:"sort-down",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),j5=sW,rW=W({name:"SortUp",__name:"sort-up",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),q5=rW,iW=W({name:"Sort",__name:"sort",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M384 96a32 32 0 0 1 64 0v786.752a32 32 0 0 1-54.592 22.656L95.936 608a32 32 0 0 1 0-45.312h.128a32 32 0 0 1 45.184 0L384 805.632zm192 45.248a32 32 0 0 1 54.592-22.592L928.064 416a32 32 0 0 1 0 45.312h-.128a32 32 0 0 1-45.184 0L640 218.496V928a32 32 0 1 1-64 0z"})]))}}),uW=iW,cW=W({name:"Stamp",__name:"stamp",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M624 475.968V640h144a128 128 0 0 1 128 128H128a128 128 0 0 1 128-128h144V475.968a192 192 0 1 1 224 0M128 896v-64h768v64z"})]))}}),dW=cW,fW=W({name:"StarFilled",__name:"star-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M313.6 924.48a70.4 70.4 0 0 1-74.152-5.365 70.4 70.4 0 0 1-27.992-68.875l37.888-220.928L88.96 472.96a70.4 70.4 0 0 1 3.788-104.225A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 100.246-28.595 70.4 70.4 0 0 1 25.962 28.595l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),hu=fW,pW=W({name:"Star",__name:"star",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),U5=pW,hW=W({name:"Stopwatch",__name:"stopwatch",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),$("path",{fill:"currentColor",d:"M672 234.88c-39.168 174.464-80 298.624-122.688 372.48-64 110.848-202.624 30.848-138.624-80C453.376 453.44 540.48 355.968 672 234.816z"})]))}}),vW=hW,mW=W({name:"SuccessFilled",__name:"success-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),O1=mW,gW=W({name:"Sugar",__name:"sugar",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m801.728 349.184 4.48 4.48a128 128 0 0 1 0 180.992L534.656 806.144a128 128 0 0 1-181.056 0l-4.48-4.48-19.392 109.696a64 64 0 0 1-108.288 34.176L78.464 802.56a64 64 0 0 1 34.176-108.288l109.76-19.328-4.544-4.544a128 128 0 0 1 0-181.056l271.488-271.488a128 128 0 0 1 181.056 0l4.48 4.48 19.392-109.504a64 64 0 0 1 108.352-34.048l142.592 143.04a64 64 0 0 1-34.24 108.16zm-548.8 198.72h447.168v2.24l60.8-60.8a63.8 63.8 0 0 0 18.752-44.416h-426.88l-89.664 89.728a64 64 0 0 0-10.24 13.248zm0 64q4.128 7.104 10.176 13.248l135.744 135.744a64 64 0 0 0 90.496 0L638.4 611.904zm490.048-230.976L625.152 263.104a64 64 0 0 0-90.496 0L416.768 380.928zM123.712 757.312l142.976 142.976 24.32-137.6a25.6 25.6 0 0 0-29.696-29.632zm633.6-633.344-24.32 137.472a25.6 25.6 0 0 0 29.632 29.632l137.28-24.064-142.656-143.04z"})]))}}),yW=gW,bW=W({name:"SuitcaseLine",__name:"suitcase-line",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M922.5 229.5c-24.32-24.34-54.49-36.84-90.5-37.5H704v-64c-.68-17.98-7.02-32.98-19.01-44.99S658.01 64.66 640 64H384c-17.98.68-32.98 7.02-44.99 19.01S320.66 110 320 128v64H192c-35.99.68-66.16 13.18-90.5 37.5S64.66 283.99 64 320v448c.68 35.99 13.18 66.16 37.5 90.5s54.49 36.84 90.5 37.5h640c35.99-.68 66.16-13.18 90.5-37.5s36.84-54.49 37.5-90.5V320c-.68-35.99-13.18-66.16-37.5-90.5M384 128h256v64H384zM256 832h-64c-17.98-.68-32.98-7.02-44.99-19.01S128.66 786.01 128 768V448h128zm448 0H320V448h384zm192-64c-.68 17.98-7.02 32.98-19.01 44.99S850.01 831.34 832 832h-64V448h128zm0-384H128v-64c.69-17.98 7.02-32.98 19.01-44.99S173.99 256.66 192 256h640c17.98.69 32.98 7.02 44.99 19.01S895.34 301.99 896 320z"})]))}}),wW=bW,CW=W({name:"Suitcase",__name:"suitcase",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M128 384h768v-64a64 64 0 0 0-64-64H192a64 64 0 0 0-64 64zm0 64v320a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V448zm64-256h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),$("path",{fill:"currentColor",d:"M384 128v64h256v-64zm0-64h256a64 64 0 0 1 64 64v64a64 64 0 0 1-64 64H384a64 64 0 0 1-64-64v-64a64 64 0 0 1 64-64"})]))}}),_W=CW,SW=W({name:"Sunny",__name:"sunny",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 704a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m0-704a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 768a32 32 0 0 1 32 32v64a32 32 0 1 1-64 0v-64a32 32 0 0 1 32-32M195.2 195.2a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 1 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m543.104 543.104a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 0 1-45.248 45.248l-45.248-45.248a32 32 0 0 1 0-45.248M64 512a32 32 0 0 1 32-32h64a32 32 0 0 1 0 64H96a32 32 0 0 1-32-32m768 0a32 32 0 0 1 32-32h64a32 32 0 1 1 0 64h-64a32 32 0 0 1-32-32M195.2 828.8a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248L240.448 828.8a32 32 0 0 1-45.248 0m543.104-543.104a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248l-45.248 45.248a32 32 0 0 1-45.248 0"})]))}}),xW=SW,kW=W({name:"Sunrise",__name:"sunrise",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M32 768h960a32 32 0 1 1 0 64H32a32 32 0 1 1 0-64m129.408-96a352 352 0 0 1 701.184 0h-64.32a288 288 0 0 0-572.544 0zM512 128a32 32 0 0 1 32 32v96a32 32 0 0 1-64 0v-96a32 32 0 0 1 32-32m407.296 168.704a32 32 0 0 1 0 45.248l-67.84 67.84a32 32 0 1 1-45.248-45.248l67.84-67.84a32 32 0 0 1 45.248 0m-814.592 0a32 32 0 0 1 45.248 0l67.84 67.84a32 32 0 1 1-45.248 45.248l-67.84-67.84a32 32 0 0 1 0-45.248"})]))}}),EW=kW,TW=W({name:"Sunset",__name:"sunset",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M82.56 640a448 448 0 1 1 858.88 0h-67.2a384 384 0 1 0-724.288 0zM32 704h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m256 128h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),MW=TW,OW=W({name:"SwitchButton",__name:"switch-button",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M352 159.872V230.4a352 352 0 1 0 320 0v-70.528A416.128 416.128 0 0 1 512 960a416 416 0 0 1-160-800.128"}),$("path",{fill:"currentColor",d:"M512 64q32 0 32 32v320q0 32-32 32t-32-32V96q0-32 32-32"})]))}}),$W=OW,NW=W({name:"SwitchFilled",__name:"switch-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M247.47 358.4v.04c.07 19.17 7.72 37.53 21.27 51.09s31.92 21.2 51.09 21.27c39.86 0 72.41-32.6 72.41-72.4s-32.6-72.36-72.41-72.36-72.36 32.55-72.36 72.36"}),$("path",{fill:"currentColor",d:"M492.38 128H324.7c-52.16 0-102.19 20.73-139.08 57.61a196.66 196.66 0 0 0-57.61 139.08V698.7c-.01 25.84 5.08 51.42 14.96 75.29s24.36 45.56 42.63 63.83 39.95 32.76 63.82 42.65a196.7 196.7 0 0 0 75.28 14.98h167.68c3.03 0 5.46-2.43 5.46-5.42V133.42c.6-2.99-1.83-5.42-5.46-5.42m-56.11 705.88H324.7c-17.76.13-35.36-3.33-51.75-10.18s-31.22-16.94-43.61-29.67c-25.3-25.35-39.81-59.1-39.81-95.32V324.69c-.13-17.75 3.33-35.35 10.17-51.74a131.7 131.7 0 0 1 29.64-43.62c25.39-25.3 59.14-39.81 95.36-39.81h111.57zm402.12-647.67a196.66 196.66 0 0 0-139.08-57.61H580.48c-3.03 0-4.82 2.43-4.82 4.82v757.16c-.6 2.99 1.79 5.42 5.42 5.42h118.23a196.7 196.7 0 0 0 139.08-57.61A196.66 196.66 0 0 0 896 699.31V325.29a196.7 196.7 0 0 0-57.61-139.08m-111.3 441.92c-42.83 0-77.82-34.99-77.82-77.82s34.98-77.82 77.82-77.82c42.83 0 77.82 34.99 77.82 77.82s-34.99 77.82-77.82 77.82"})]))}}),AW=NW,IW=W({name:"Switch",__name:"switch",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M118.656 438.656a32 32 0 0 1 0-45.248L416 96l4.48-3.776A32 32 0 0 1 461.248 96l3.712 4.48a32.064 32.064 0 0 1-3.712 40.832L218.56 384H928a32 32 0 1 1 0 64H141.248a32 32 0 0 1-22.592-9.344M64 608a32 32 0 0 1 32-32h786.752a32 32 0 0 1 22.656 54.592L608 928l-4.48 3.776a32.064 32.064 0 0 1-40.832-49.024L805.632 640H96a32 32 0 0 1-32-32"})]))}}),PW=IW,RW=W({name:"TakeawayBox",__name:"takeaway-box",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M832 384H192v448h640zM96 320h832V128H96zm800 64v480a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V384H64a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h896a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zM416 512h192a32 32 0 0 1 0 64H416a32 32 0 0 1 0-64"})]))}}),VW=RW,LW=W({name:"Ticket",__name:"ticket",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M640 832H64V640a128 128 0 1 0 0-256V192h576v160h64V192h256v192a128 128 0 1 0 0 256v192H704V672h-64zm0-416v192h64V416z"})]))}}),BW=LW,zW=W({name:"Tickets",__name:"tickets",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h192v64H320zm0 384h384v64H320z"})]))}}),DW=zW,HW=W({name:"Timer",__name:"timer",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 896a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),$("path",{fill:"currentColor",d:"M512 320a32 32 0 0 1 32 32l-.512 224a32 32 0 1 1-64 0L480 352a32 32 0 0 1 32-32"}),$("path",{fill:"currentColor",d:"M448 576a64 64 0 1 0 128 0 64 64 0 1 0-128 0m96-448v128h-64V128h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64z"})]))}}),FW=HW,KW=W({name:"ToiletPaper",__name:"toilet-paper",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M595.2 128H320a192 192 0 0 0-192 192v576h384V352c0-90.496 32.448-171.2 83.2-224M736 64c123.712 0 224 128.96 224 288S859.712 640 736 640H576v320H64V320A256 256 0 0 1 320 64zM576 352v224h160c84.352 0 160-97.28 160-224s-75.648-224-160-224-160 97.28-160 224"}),$("path",{fill:"currentColor",d:"M736 448c-35.328 0-64-43.008-64-96s28.672-96 64-96 64 43.008 64 96-28.672 96-64 96"})]))}}),WW=KW,jW=W({name:"Tools",__name:"tools",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M764.416 254.72a351.7 351.7 0 0 1 86.336 149.184H960v192.064H850.752a351.7 351.7 0 0 1-86.336 149.312l54.72 94.72-166.272 96-54.592-94.72a352.64 352.64 0 0 1-172.48 0L371.136 936l-166.272-96 54.72-94.72a351.7 351.7 0 0 1-86.336-149.312H64v-192h109.248a351.7 351.7 0 0 1 86.336-149.312L204.8 160l166.208-96h.192l54.656 94.592a352.64 352.64 0 0 1 172.48 0L652.8 64h.128L819.2 160l-54.72 94.72zM704 499.968a192 192 0 1 0-384 0 192 192 0 0 0 384 0"})]))}}),qW=jW,UW=W({name:"TopLeft",__name:"top-left",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M256 256h416a32 32 0 1 0 0-64H224a32 32 0 0 0-32 32v448a32 32 0 0 0 64 0z"}),$("path",{fill:"currentColor",d:"M246.656 201.344a32 32 0 0 0-45.312 45.312l544 544a32 32 0 0 0 45.312-45.312z"})]))}}),YW=UW,GW=W({name:"TopRight",__name:"top-right",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M768 256H353.6a32 32 0 1 1 0-64H800a32 32 0 0 1 32 32v448a32 32 0 0 1-64 0z"}),$("path",{fill:"currentColor",d:"M777.344 201.344a32 32 0 0 1 45.312 45.312l-544 544a32 32 0 0 1-45.312-45.312z"})]))}}),XW=GW,JW=W({name:"Top",__name:"top",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M572.235 205.282v600.365a30.118 30.118 0 1 1-60.235 0V205.282L292.382 438.633a28.913 28.913 0 0 1-42.646 0 33.43 33.43 0 0 1 0-45.236l271.058-288.045a28.913 28.913 0 0 1 42.647 0L834.5 393.397a33.43 33.43 0 0 1 0 45.176 28.913 28.913 0 0 1-42.647 0l-219.618-233.23z"})]))}}),ZW=JW,QW=W({name:"TrendCharts",__name:"trend-charts",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M128 896V128h768v768zm291.712-327.296 128 102.4 180.16-201.792-47.744-42.624-139.84 156.608-128-102.4-180.16 201.792 47.744 42.624zM816 352a48 48 0 1 0-96 0 48 48 0 0 0 96 0"})]))}}),ej=QW,tj=W({name:"TrophyBase",__name:"trophy-base",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M918.4 201.6c-6.4-6.4-12.8-9.6-22.4-9.6H768V96c0-9.6-3.2-16-9.6-22.4S745.6 64 736 64H288c-9.6 0-16 3.2-22.4 9.6S256 86.4 256 96v96H128c-9.6 0-16 3.2-22.4 9.6S96 217.6 96 224c3.2 108.8 25.6 185.6 64 224 34.4 34.4 77.56 55.65 127.65 61.99 10.91 20.44 24.78 39.25 41.95 56.41 40.86 40.86 91 65.47 150.4 71.9V768h-96c-9.6 0-16 3.2-22.4 9.6S352 790.4 352 800s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6h256c9.6 0 16-3.2 22.4-9.6s9.6-12.8 9.6-22.4-3.2-16-9.6-22.4-12.8-9.6-22.4-9.6h-96V637.26c59.4-7.71 109.54-30.01 150.4-70.86 17.2-17.2 31.51-36.06 42.81-56.55 48.93-6.51 90.02-27.7 126.79-61.85 38.4-38.4 60.8-112 64-224 0-6.4-3.2-16-9.6-22.4M256 438.4c-19.2-6.4-35.2-19.2-51.2-35.2-22.4-22.4-35.2-70.4-41.6-147.2H256zm390.4 80C608 553.6 566.4 576 512 576s-99.2-19.2-134.4-57.6S320 438.4 320 384V128h384v256q0 81.6-57.6 134.4m172.8-115.2c-16 16-32 25.6-51.2 35.2V256h92.8c-6.4 76.8-19.2 124.8-41.6 147.2M768 896H256c-9.6 0-16 3.2-22.4 9.6S224 918.4 224 928s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6h512c9.6 0 16-3.2 22.4-9.6s9.6-12.8 9.6-22.4-3.2-16-9.6-22.4-12.8-9.6-22.4-9.6"})]))}}),nj=tj,aj=W({name:"Trophy",__name:"trophy",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M480 896V702.08A256.26 256.26 0 0 1 264.064 512h-32.64a96 96 0 0 1-91.968-68.416L93.632 290.88a76.8 76.8 0 0 1 73.6-98.88H256V96a32 32 0 0 1 32-32h448a32 32 0 0 1 32 32v96h88.768a76.8 76.8 0 0 1 73.6 98.88L884.48 443.52A96 96 0 0 1 792.576 512h-32.64A256.26 256.26 0 0 1 544 702.08V896h128a32 32 0 1 1 0 64H352a32 32 0 1 1 0-64zm224-448V128H320v320a192 192 0 1 0 384 0m64 0h24.576a32 32 0 0 0 30.656-22.784l45.824-152.768A12.8 12.8 0 0 0 856.768 256H768zm-512 0V256h-88.768a12.8 12.8 0 0 0-12.288 16.448l45.824 152.768A32 32 0 0 0 231.424 448z"})]))}}),lj=aj,oj=W({name:"TurnOff",__name:"turn-off",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36"}),$("path",{fill:"currentColor",d:"M329.956 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}}),sj=oj,rj=W({name:"Umbrella",__name:"umbrella",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M320 768a32 32 0 1 1 64 0 64 64 0 0 0 128 0V512H64a448 448 0 1 1 896 0H576v256a128 128 0 1 1-256 0m570.688-320a384.128 384.128 0 0 0-757.376 0z"})]))}}),ij=rj,uj=W({name:"Unlock",__name:"unlock",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),$("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m178.304-295.296A192.064 192.064 0 0 0 320 320v64h352l96 38.4V448H256V320a256 256 0 0 1 493.76-95.104z"})]))}}),cj=uj,dj=W({name:"UploadFilled",__name:"upload-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M544 864V672h128L512 480 352 672h128v192H320v-1.6c-5.376.32-10.496 1.6-16 1.6A240 240 0 0 1 64 624c0-123.136 93.12-223.488 212.608-237.248A239.81 239.81 0 0 1 512 192a239.87 239.87 0 0 1 235.456 194.752c119.488 13.76 212.48 114.112 212.48 237.248a240 240 0 0 1-240 240c-5.376 0-10.56-1.28-16-1.6v1.6z"})]))}}),fj=dj,pj=W({name:"Upload",__name:"upload",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z"})]))}}),hj=pj,vj=W({name:"UserFilled",__name:"user-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M288 320a224 224 0 1 0 448 0 224 224 0 1 0-448 0m544 608H160a32 32 0 0 1-32-32v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 0 1-32 32z"})]))}}),mj=vj,gj=W({name:"User",__name:"user",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m320 320v-96a96 96 0 0 0-96-96H288a96 96 0 0 0-96 96v96a32 32 0 1 1-64 0v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 1 1-64 0"})]))}}),yj=gj,bj=W({name:"Van",__name:"van",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M128.896 736H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v96h164.544a32 32 0 0 1 31.616 27.136l54.144 352A32 32 0 0 1 922.688 736h-91.52a144 144 0 1 1-286.272 0H415.104a144 144 0 1 1-286.272 0zm23.36-64a143.872 143.872 0 0 1 239.488 0H568.32c17.088-25.6 42.24-45.376 71.744-55.808V256H128v416zm655.488 0h77.632l-19.648-128H704v64.896A144 144 0 0 1 807.744 672m48.128-192-14.72-96H704v96zM688 832a80 80 0 1 0 0-160 80 80 0 0 0 0 160m-416 0a80 80 0 1 0 0-160 80 80 0 0 0 0 160"})]))}}),wj=bj,Cj=W({name:"VideoCameraFilled",__name:"video-camera-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m768 576 192-64v320l-192-64v96a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V480a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zM192 768v64h384v-64zm192-480a160 160 0 0 1 320 0 160 160 0 0 1-320 0m64 0a96 96 0 1 0 192.064-.064A96 96 0 0 0 448 288m-320 32a128 128 0 1 1 256.064.064A128 128 0 0 1 128 320m64 0a64 64 0 1 0 128 0 64 64 0 0 0-128 0"})]))}}),_j=Cj,Sj=W({name:"VideoCamera",__name:"video-camera",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M704 768V256H128v512zm64-416 192-96v512l-192-96v128a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 71.552v176.896l128 64V359.552zM192 320h192v64H192z"})]))}}),xj=Sj,kj=W({name:"VideoPause",__name:"video-pause",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-96-544q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32m192 0q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32"})]))}}),Ej=kj,Tj=W({name:"VideoPlay",__name:"video-play",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-48-247.616L668.608 512 464 375.616zm10.624-342.656 249.472 166.336a48 48 0 0 1 0 79.872L474.624 718.272A48 48 0 0 1 400 678.336V345.6a48 48 0 0 1 74.624-39.936z"})]))}}),Mj=Tj,Oj=W({name:"View",__name:"view",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288m0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.19 160.19 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),Y5=Oj,$j=W({name:"WalletFilled",__name:"wallet-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M688 512a112 112 0 1 0 0 224h208v160H128V352h768v160zm32 160h-32a48 48 0 0 1 0-96h32a48 48 0 0 1 0 96m-80-544 128 160H384z"})]))}}),Nj=$j,Aj=W({name:"Wallet",__name:"wallet",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M640 288h-64V128H128v704h384v32a32 32 0 0 0 32 32H96a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h512a32 32 0 0 1 32 32z"}),$("path",{fill:"currentColor",d:"M128 320v512h768V320zm-32-64h832a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32"}),$("path",{fill:"currentColor",d:"M704 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}}),Ij=Aj,Pj=W({name:"WarnTriangleFilled",__name:"warn-triangle-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M928.99 755.83 574.6 203.25c-12.89-20.16-36.76-32.58-62.6-32.58s-49.71 12.43-62.6 32.58L95.01 755.83c-12.91 20.12-12.9 44.91.01 65.03 12.92 20.12 36.78 32.51 62.59 32.49h708.78c25.82.01 49.68-12.37 62.59-32.49s12.92-44.91.01-65.03M554.67 768h-85.33v-85.33h85.33zm0-426.67v298.66h-85.33V341.32z"})]))}}),Rj=Pj,Vj=W({name:"WarningFilled",__name:"warning-filled",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.43 58.43 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.43 58.43 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),Dc=Vj,Lj=W({name:"Warning",__name:"warning",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"})]))}}),Bj=Lj,zj=W({name:"Watch",__name:"watch",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M512 768a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),$("path",{fill:"currentColor",d:"M480 352a32 32 0 0 1 32 32v160a32 32 0 0 1-64 0V384a32 32 0 0 1 32-32"}),$("path",{fill:"currentColor",d:"M480 512h128q32 0 32 32t-32 32H480q-32 0-32-32t32-32m128-256V128H416v128h-64V64h320v192zM416 768v128h192V768h64v192H352V768z"})]))}}),Dj=zj,Hj=W({name:"Watermelon",__name:"watermelon",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m683.072 600.32-43.648 162.816-61.824-16.512 53.248-198.528L576 493.248l-158.4 158.4-45.248-45.248 158.4-158.4-55.616-55.616-198.528 53.248-16.512-61.824 162.816-43.648L282.752 200A384 384 0 0 0 824 741.248zm231.552 141.056a448 448 0 1 1-632-632z"})]))}}),Fj=Hj,Kj=W({name:"WindPower",__name:"wind-power",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"M160 64q32 0 32 32v832q0 32-32 32t-32-32V96q0-32 32-32m416 354.624 128-11.584V168.96l-128-11.52v261.12zm-64 5.824V151.552L320 134.08V160h-64V64l616.704 56.064A96 96 0 0 1 960 215.68v144.64a96 96 0 0 1-87.296 95.616L256 512V224h64v217.92zm256-23.232 98.88-8.96A32 32 0 0 0 896 360.32V215.68a32 32 0 0 0-29.12-31.872l-98.88-8.96z"})]))}}),Wj=Kj,jj=W({name:"ZoomIn",__name:"zoom-in",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),$1=jj,qj=W({name:"ZoomOut",__name:"zoom-out",setup(e){return(t,n)=>(S(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[$("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),G5=qj;const K0e=Object.freeze(Object.defineProperty({__proto__:null,AddLocation:WR,Aim:qR,AlarmClock:YR,Apple:XR,ArrowDown:jl,ArrowDownBold:ZR,ArrowLeft:mo,ArrowLeftBold:tV,ArrowRight:ua,ArrowRightBold:lV,ArrowUp:zc,ArrowUpBold:rV,Avatar:cV,Back:O5,Baseball:pV,Basketball:vV,Bell:bV,BellFilled:gV,Bicycle:CV,Bottom:TV,BottomLeft:SV,BottomRight:kV,Bowl:OV,Box:NV,Briefcase:IV,Brush:LV,BrushFilled:RV,Burger:zV,Calendar:$5,Camera:WV,CameraFilled:FV,CaretBottom:qV,CaretLeft:YV,CaretRight:E1,CaretTop:N5,Cellphone:ZV,ChatDotRound:eL,ChatDotSquare:nL,ChatLineRound:lL,ChatLineSquare:sL,ChatRound:iL,ChatSquare:cL,Check:gr,Checked:pL,Cherry:vL,Chicken:gL,ChromeFilled:bL,CircleCheck:K0,CircleCheckFilled:A5,CircleClose:ql,CircleCloseFilled:W0,CirclePlus:TL,CirclePlusFilled:kL,Clock:T1,Close:ll,CloseBold:$L,Cloudy:IL,Coffee:LL,CoffeeCup:RL,Coin:zL,ColdDrink:HL,Collection:jL,CollectionTag:KL,Comment:UL,Compass:GL,Connection:JL,Coordinate:QL,CopyDocument:tB,Cpu:aB,CreditCard:oB,Crop:rB,DArrowLeft:Bl,DArrowRight:zl,DCaret:dB,DataAnalysis:pB,DataBoard:vB,DataLine:gB,Delete:I5,DeleteFilled:bB,DeleteLocation:CB,Dessert:xB,Discount:EB,Dish:$B,DishDot:MB,Document:P5,DocumentAdd:AB,DocumentChecked:PB,DocumentCopy:VB,DocumentDelete:BB,DocumentRemove:DB,Download:KB,Drizzling:jB,Edit:GB,EditPen:UB,Eleme:QB,ElemeFilled:JB,ElementPlus:tz,Expand:az,Failed:oz,Female:rz,Files:uz,Film:dz,Filter:pz,Finished:vz,FirstAidKit:gz,Flag:bz,Fold:Cz,Folder:Iz,FolderAdd:Sz,FolderChecked:kz,FolderDelete:Tz,FolderOpened:Oz,FolderRemove:Nz,Food:Rz,Football:Lz,ForkSpoon:zz,Fries:Hz,FullScreen:R5,Goblet:Xz,GobletFull:Wz,GobletSquare:Yz,GobletSquareFull:qz,GoldMedal:Zz,Goods:nD,GoodsFilled:eD,Grape:lD,Grid:sD,Guide:iD,Handbag:cD,Headset:fD,Help:mD,HelpFilled:hD,Hide:V5,Histogram:bD,HomeFilled:CD,HotWater:SD,House:kD,IceCream:ND,IceCreamRound:TD,IceCreamSquare:OD,IceDrink:ID,IceTea:RD,InfoFilled:$i,Iphone:BD,Key:DD,KnifeFork:FD,Lightning:WD,Link:qD,List:YD,Loading:wl,Location:tH,LocationFilled:JD,LocationInformation:QD,Lock:aH,Lollipop:oH,MagicStick:rH,Magnet:uH,Male:dH,Management:pH,MapLocation:vH,Medal:gH,Memo:bH,Menu:CH,Message:kH,MessageBox:SH,Mic:TH,Microphone:OH,MilkTea:NH,Minus:L5,Money:PH,Monitor:VH,Moon:DH,MoonNight:BH,More:B5,MoreFilled:Yh,MostlyCloudy:WH,Mouse:qH,Mug:YH,Mute:ZH,MuteNotification:XH,NoSmoking:eF,Notebook:nF,Notification:lF,Odometer:sF,OfficeBuilding:iF,Open:cF,Operation:fF,Opportunity:hF,Orange:mF,Paperclip:yF,PartlyCloudy:wF,Pear:_F,Phone:EF,PhoneFilled:xF,Picture:NF,PictureFilled:z5,PictureRounded:OF,PieChart:IF,Place:RF,Platform:LF,Plus:M1,Pointer:DF,Position:FF,Postcard:WF,Pouring:qF,Present:YF,PriceTag:XF,Printer:ZF,Promotion:eK,QuartzWatch:nK,QuestionFilled:D5,Rank:oK,Reading:uK,ReadingLamp:rK,Refresh:pK,RefreshLeft:H5,RefreshRight:F5,Refrigerator:vK,Remove:bK,RemoveFilled:gK,Right:CK,ScaleToOriginal:K5,School:xK,Scissor:EK,Search:W5,Select:OK,Sell:NK,SemiSelect:IK,Service:RK,SetUp:LK,Setting:zK,Share:HK,Ship:KK,Shop:jK,ShoppingBag:UK,ShoppingCart:JK,ShoppingCartFull:GK,ShoppingTrolley:QK,Smoking:tW,Soccer:aW,SoldOut:oW,Sort:uW,SortDown:j5,SortUp:q5,Stamp:dW,Star:U5,StarFilled:hu,Stopwatch:vW,SuccessFilled:O1,Sugar:yW,Suitcase:_W,SuitcaseLine:wW,Sunny:xW,Sunrise:EW,Sunset:MW,Switch:PW,SwitchButton:$W,SwitchFilled:AW,TakeawayBox:VW,Ticket:BW,Tickets:DW,Timer:FW,ToiletPaper:WW,Tools:qW,Top:ZW,TopLeft:YW,TopRight:XW,TrendCharts:ej,Trophy:lj,TrophyBase:nj,TurnOff:sj,Umbrella:ij,Unlock:cj,Upload:hj,UploadFilled:fj,User:yj,UserFilled:mj,Van:wj,VideoCamera:xj,VideoCameraFilled:_j,VideoPause:Ej,VideoPlay:Mj,View:Y5,Wallet:Ij,WalletFilled:Nj,WarnTriangleFilled:Rj,Warning:Bj,WarningFilled:Dc,Watch:Dj,Watermelon:Fj,WindPower:Wj,ZoomIn:$1,ZoomOut:G5},Symbol.toStringTag,{value:"Module"})),Ut=Y([String,Object,Function]),X5={Close:ll},N1={Close:ll,SuccessFilled:O1,InfoFilled:$i,WarningFilled:Dc,CircleCloseFilled:W0},Ms={primary:$i,success:O1,warning:Dc,error:W0,info:$i},j0={validating:wl,success:K0,error:ql},Uj=["light","dark"],Yj=ke({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:Ju(Ms),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:Uj,default:"light"}}),Gj={close:e=>e instanceof MouseEvent},Xj=ke({size:{type:Y([Number,String])},color:{type:String}});var Jj=W({name:"ElIcon",inheritAttrs:!1,__name:"icon",props:Xj,setup(e){const t=e,n=ye("icon"),a=x(()=>{const{size:l,color:o}=t,s=bn(l);return!s&&!o?{}:{fontSize:s,"--color":o}});return(l,o)=>(S(),A("i",vt({class:i(n).b(),style:a.value},l.$attrs),[le(l.$slots,"default")],16))}}),Zj=Jj;const Be=ct(Zj);var Qj=W({name:"ElAlert",__name:"alert",props:Yj,emits:Gj,setup(e,{emit:t}){const{Close:n}=N1,a=e,l=t,o=wn(),s=ye("alert"),r=B(!0),u=x(()=>Ms[a.type]),c=x(()=>{var h;if(a.description)return!0;const f=(h=o.default)==null?void 0:h.call(o);return f?tl(f).some(m=>!S5(m)):!1}),d=f=>{r.value=!1,l("close",f)};return(f,h)=>(S(),ie(Yn,{name:i(s).b("fade"),persisted:""},{default:ne(()=>[ht($("div",{class:P([i(s).b(),i(s).m(e.type),i(s).is("center",e.center),i(s).is(e.effect)]),role:"alert"},[e.showIcon&&(f.$slots.icon||u.value)?(S(),ie(i(Be),{key:0,class:P([i(s).e("icon"),i(s).is("big",c.value)])},{default:ne(()=>[le(f.$slots,"icon",{},()=>[(S(),ie(ft(u.value)))])]),_:3},8,["class"])):oe("v-if",!0),$("div",{class:P(i(s).e("content"))},[e.title||f.$slots.title?(S(),A("span",{key:0,class:P([i(s).e("title"),{"with-description":c.value}])},[le(f.$slots,"title",{},()=>[bt(Se(e.title),1)])],2)):oe("v-if",!0),c.value?(S(),A("p",{key:1,class:P(i(s).e("description"))},[le(f.$slots,"default",{},()=>[bt(Se(e.description),1)])],2)):oe("v-if",!0),e.closable?(S(),A(He,{key:2},[e.closeText?(S(),A("div",{key:0,class:P([i(s).e("close-btn"),i(s).is("customed")]),onClick:d},Se(e.closeText),3)):(S(),ie(i(Be),{key:1,class:P(i(s).e("close-btn")),onClick:d},{default:ne(()=>[G(i(n))]),_:1},8,["class"]))],64)):oe("v-if",!0)],2)],2),[[It,r.value]])]),_:3},8,["name"]))}}),eq=Qj;const tq=ct(eq),J5=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],Z5=ke({role:{type:String,values:J5,default:"tooltip"}}),A1=Symbol("popper"),Q5=Symbol("popperContent");var nq=W({name:"ElPopperArrow",inheritAttrs:!1,__name:"arrow",setup(e,{expose:t}){const n=ye("popper"),{arrowRef:a,arrowStyle:l}=De(Q5,void 0);return Ht(()=>{a.value=void 0}),t({arrowRef:a}),(o,s)=>(S(),A("span",{ref_key:"arrowRef",ref:a,class:P(i(n).e("arrow")),style:Ye(i(l)),"data-popper-arrow":""},null,6))}}),aq=nq;const e9=ke({virtualRef:{type:Y(Object)},virtualTriggering:Boolean,onMouseenter:{type:Y(Function)},onMouseleave:{type:Y(Function)},onClick:{type:Y(Function)},onKeydown:{type:Y(Function)},onFocus:{type:Y(Function)},onBlur:{type:Y(Function)},onContextmenu:{type:Y(Function)},id:String,open:Boolean}),Mp="ElOnlyChild",t9=W({name:Mp,setup(e,{slots:t,attrs:n}){var l;const a=HP(((l=De(u5))==null?void 0:l.setForwardRef)??ut);return()=>{var u;const o=(u=t.default)==null?void 0:u.call(t,n);if(!o)return null;const[s,r]=n9(o);return s?(r>1&&jt(Mp,"requires exact only one valid child."),ht(ja(s,n),[[a]])):(jt(Mp,"no valid child node found"),null)}}});function n9(e){if(!e)return[null,0];const t=e,n=t.filter(a=>a.type!==pn).length;for(const a of t){if(rt(a))switch(a.type){case pn:continue;case Ml:case"svg":return[U4(a),n];case He:return n9(a.children);default:return[a,n]}return[U4(a),n]}return[null,0]}function U4(e){return G("span",{class:ye("only-child").e("content")},[e])}var lq=W({name:"ElPopperTrigger",inheritAttrs:!1,__name:"trigger",props:e9,setup(e,{expose:t}){const n=e,{role:a,triggerRef:l}=De(A1,void 0);DP(l);const o=x(()=>r.value?n.id:void 0),s=x(()=>{if(a&&a.value==="tooltip")return n.open&&n.id?n.id:void 0}),r=x(()=>{if(a&&a.value!=="tooltip")return a.value}),u=x(()=>r.value?`${n.open}`:void 0);let c;const d=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return mt(()=>{ce(()=>n.virtualRef,f=>{f&&(l.value=Vn(f))},{immediate:!0}),ce(l,(f,h)=>{c==null||c(),c=void 0,Da(h)&&d.forEach(m=>{const v=n[m];v&&h.removeEventListener(m.slice(2).toLowerCase(),v,["onFocus","onBlur"].includes(m))}),Da(f)&&(d.forEach(m=>{const v=n[m];v&&f.addEventListener(m.slice(2).toLowerCase(),v,["onFocus","onBlur"].includes(m))}),pr(f)&&(c=ce([o,s,r,u],m=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((v,p)=>{_n(m[p])?f.removeAttribute(v):f.setAttribute(v,m[p])})},{immediate:!0}))),Da(h)&&pr(h)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(m=>h.removeAttribute(m))},{immediate:!0})}),Ht(()=>{if(c==null||c(),c=void 0,l.value&&Da(l.value)){const f=l.value;d.forEach(h=>{const m=n[h];m&&f.removeEventListener(h.slice(2).toLowerCase(),m,["onFocus","onBlur"].includes(h))}),l.value=void 0}}),t({triggerRef:l}),(f,h)=>e.virtualTriggering?oe("v-if",!0):(S(),ie(i(t9),vt({key:0},f.$attrs,{"aria-controls":o.value,"aria-describedby":s.value,"aria-expanded":u.value,"aria-haspopup":r.value}),{default:ne(()=>[le(f.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}}),oq=lq;const a9=ke({arrowOffset:{type:Number,default:5}}),sq={arrowOffset:5},rq=ke({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:Y(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Co,default:"bottom"},popperOptions:{type:Y(Object),default:()=>({})},strategy:{type:String,values:["fixed","absolute"],default:"absolute"}}),l9=ke({...rq,...a9,id:String,style:{type:Y([String,Array,Object,Boolean]),default:void 0},className:{type:Y([String,Array,Object,Boolean])},effect:{type:Y(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:Boolean,trapping:Boolean,popperClass:{type:Y([String,Array,Object,Boolean]),default:void 0},popperStyle:{type:Y([String,Array,Object,Boolean]),default:void 0},referenceEl:{type:Y(Object)},triggerTargetEl:{type:Y(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...xa(["ariaLabel"]),loop:Boolean}),iq={boundariesPadding:0,gpuAcceleration:!0,offset:12,placement:"bottom",popperOptions:()=>({}),strategy:"absolute"},uq={...iq,...sq,effect:"dark",enterable:!0,stopPopperMouseEvent:!0,visible:!1,pure:!1,focusOnShow:!1,trapping:!1,virtualTriggering:!1,loop:!1,style:void 0,popperStyle:void 0,popperClass:void 0},cq={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},dq=ke({size:{type:String,values:Fl},disabled:Boolean}),fq=ke({...dq,model:Object,rules:{type:Y(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:Y([Object,Boolean]),default:!0}}),pq={validate:(e,t,n)=>(ve(e)||Ne(e))&&qt(t)&&Ne(n)},Nr=Symbol("formContextKey"),go=Symbol("formItemContextKey"),Pn=(e,t={})=>{const n=B(void 0),a=t.prop?n:Gw("size"),l=t.global?n:k5(),o=t.form?{size:void 0}:De(Nr,void 0),s=t.formItem?{size:void 0}:De(go,void 0);return x(()=>a.value||i(e)||(s==null?void 0:s.size)||(o==null?void 0:o.size)||l.value||"")},hn=e=>{const t=Gw("disabled"),n=De(Nr,void 0);return x(()=>t.value??i(e)??(n==null?void 0:n.disabled)??!1)},Xn=()=>({form:De(Nr,void 0),formItem:De(go,void 0)}),Ua=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:a})=>{n||(n=B(!1)),a||(a=B(!1));const l=st(),o=()=>{let c=l==null?void 0:l.parent;for(;c;){if(c.type.name==="ElFormItem")return!1;if(c.type.name==="ElLabelWrap")return!0;c=c.parent}return!1},s=B();let r;const u=x(()=>{var c;return!!(!(e.label||e.ariaLabel)&&t&&t.inputIds&&((c=t.inputIds)==null?void 0:c.length)<=1)});return mt(()=>{r=ce([At(e,"id"),n],([c,d])=>{const f=c??(d?void 0:oa().value);f!==s.value&&(t!=null&&t.removeInputId&&!o()&&(s.value&&t.removeInputId(s.value),!(a!=null&&a.value)&&!d&&f&&t.addInputId(f)),s.value=f)},{immediate:!0})}),yo(()=>{r&&r(),t!=null&&t.removeInputId&&s.value&&t.removeInputId(s.value)}),{isLabeledByFormItem:u,inputId:s}},hq=["","error","validating","success"],vq=ke({label:String,labelWidth:{type:[String,Number]},labelPosition:{type:String,values:["left","right","top",""],default:""},prop:{type:Y([String,Array])},required:{type:Boolean,default:void 0},rules:{type:Y([Object,Array])},error:String,validateStatus:{type:String,values:hq},for:String,inlineMessage:{type:Boolean,default:void 0},showMessage:{type:Boolean,default:!0},size:{type:String,values:Fl}}),Y4=e=>[...new Set(e)],su=e=>ve(e)?e[0]:e,jn=e=>!e&&e!==0?[]:ve(e)?e:[e],mq="ElForm";function gq(){const e=B([]),t=x(()=>{if(!e.value.length)return"0";const o=Math.max(...e.value);return o?`${o}px`:""});function n(o){const s=e.value.indexOf(o);return s===-1&&t.value==="0"&&jt(mq,`unexpected width ${o}`),s}function a(o,s){if(o&&s){const r=n(s);e.value.splice(r,1,o)}else o&&e.value.push(o)}function l(o){const s=n(o);s>-1&&e.value.splice(s,1)}return{autoLabelWidth:t,registerLabelWidth:a,deregisterLabelWidth:l}}const fd=(e,t)=>{const n=Wn(t).map(a=>ve(a)?a.join("."):a);return n.length>0?e.filter(a=>a.propString&&n.includes(a.propString)):e},Lr="ElForm";var yq=W({name:Lr,__name:"form",props:fq,emits:pq,setup(e,{expose:t,emit:n}){const a=e,l=n,o=B(),s=Dt([]),r=new Map,u=Pn(),c=ye("form"),d=x(()=>{const{labelPosition:M,inline:E}=a;return[c.b(),c.m(u.value||"default"),{[c.m(`label-${M}`)]:M,[c.m("inline")]:E}]}),f=M=>fd(s,[M])[0],h=M=>{s.includes(M)||s.push(M),M.propString&&(r.has(M.propString)?M.setInitialValue(r.get(M.propString)):r.set(M.propString,eo(M.fieldValue)))},m=(M,E)=>{if(E){r.delete(E);return}const T=s.indexOf(M);T>-1&&(s.splice(T,1),M.propString&&r.set(M.propString,eo(M.getInitialValue())))},v=M=>{if(!a.model){jt(Lr,"model is required for setInitialValues to work.");return}if(!M){jt(Lr,"initModel is required for setInitialValues to work.");return}for(const E of r.keys())r.set(E,eo(Cs(M,E).value));s.forEach(E=>{E.prop&&E.setInitialValue(Cs(M,E.prop).value)})},p=(M=[])=>{if(!a.model){jt(Lr,"model is required for resetFields to work.");return}fd(s,M).forEach(O=>O.resetField());const E=new Set(s.map(O=>O.propString).filter(Boolean)),T=M.length>0?Wn(M).map(O=>ve(O)?O.join("."):O):[...r.keys()];for(const O of T)!E.has(O)&&r.has(O)&&(Cs(a.model,O).value=eo(r.get(O)))},g=(M=[])=>{fd(s,M).forEach(E=>E.clearValidate())},y=x(()=>{const M=!!a.model;return M||jt(Lr,"model is required for validate to work."),M}),b=M=>{if(s.length===0)return[];const E=fd(s,M);return E.length?E:(jt(Lr,"please pass correct props!"),[])},C=async M=>_(void 0,M),w=async(M=[])=>{if(!y.value)return!1;const E=b(M);if(E.length===0)return!0;let T={};for(const O of E)try{await O.validate(""),O.validateState==="error"&&!O.error&&O.resetField()}catch(I){T={...T,...I}}return Object.keys(T).length===0?!0:Promise.reject(T)},_=async(M=[],E)=>{var I;let T=!1;const O=!Ke(E);try{return T=await w(M),T===!0&&await(E==null?void 0:E(T)),T}catch(N){if(N instanceof Error)throw N;const R=N;return a.scrollToError&&o.value&&((I=o.value.querySelector(`.${c.b()}-item.is-error`))==null||I.scrollIntoView(a.scrollIntoViewOptions)),!T&&await(E==null?void 0:E(!1,R)),O&&Promise.reject(R)}},k=M=>{var T;const E=f(M);E&&((T=E.$el)==null||T.scrollIntoView(a.scrollIntoViewOptions))};return ce(()=>a.rules,()=>{a.validateOnRuleChange&&C().catch(ut)},{deep:!0,flush:"post"}),Et(Nr,Dt({...Bn(a),emit:l,resetFields:p,clearValidate:g,validateField:_,getField:f,addField:h,removeField:m,setInitialValues:v,...gq()})),t({validate:C,validateField:_,resetFields:p,clearValidate:g,scrollToField:k,getField:f,fields:s,setInitialValues:v}),(M,E)=>(S(),A("form",{ref_key:"formRef",ref:o,class:P(d.value)},[le(M.$slots,"default")],2))}}),bq=yq;const G4="ElLabelWrap";var wq=W({name:G4,props:{isAutoWidth:Boolean,updateAll:Boolean},setup(e,{slots:t}){const n=De(Nr,void 0),a=De(go);a||vn(G4,"usage: ");const l=ye("form"),o=B(),s=B(0),r=()=>{var d;if((d=o.value)!=null&&d.firstElementChild){const f=window.getComputedStyle(o.value.firstElementChild).width;return Math.ceil(Number.parseFloat(f))}else return 0},u=(d="update")=>{Pe(()=>{t.default&&e.isAutoWidth&&(d==="update"?s.value=r():d==="remove"&&(n==null||n.deregisterLabelWidth(s.value)))})},c=()=>u("update");return mt(()=>{c()}),Ht(()=>{u("remove")}),qa(()=>c()),ce(s,(d,f)=>{e.updateAll&&(n==null||n.registerLabelWidth(d,f))}),rn(x(()=>{var d;return((d=o.value)==null?void 0:d.firstElementChild)??null}),c),()=>{var f,h;if(!t)return null;const{isAutoWidth:d}=e;if(d){const m=n==null?void 0:n.autoLabelWidth,v=a==null?void 0:a.hasLabel,p={};if(v&&m&&m!=="auto"){const g=Math.max(0,Number.parseInt(m,10)-s.value),y=(a.labelPosition||n.labelPosition)==="left"?"marginRight":"marginLeft";g&&(p[y]=`${g}px`)}return G("div",{ref:o,class:[l.be("item","label-wrap")],style:p},[(f=t.default)==null?void 0:f.call(t)])}else return G(He,{ref:o},[(h=t.default)==null?void 0:h.call(t)])}}});function Us(){return Us=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function zd(e,t,n){return _q()?zd=Reflect.construct.bind():zd=function(l,o,s){var r=[null];r.push.apply(r,o);var u=Function.bind.apply(l,r),c=new u;return s&&nc(c,s.prototype),c},zd.apply(null,arguments)}function Sq(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Xh(e){var t=typeof Map=="function"?new Map:void 0;return Xh=function(a){if(a===null||!Sq(a))return a;if(typeof a!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(a))return t.get(a);t.set(a,l)}function l(){return zd(a,arguments,Gh(this).constructor)}return l.prototype=Object.create(a.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),nc(l,a)},Xh(e)}var xq=/%[sdj%]/g,kq=function(){};function Jh(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var a=n.field;t[a]=t[a]||[],t[a].push(n)}),t}function nl(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a=o)return r;switch(r){case"%s":return String(n[l++]);case"%d":return Number(n[l++]);case"%j":try{return JSON.stringify(n[l++])}catch{return"[Circular]"}break;default:return r}});return s}return e}function Eq(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Qn(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Eq(t)&&typeof e=="string"&&!e)}function Tq(e,t,n){var a=[],l=0,o=e.length;function s(r){a.push.apply(a,r||[]),l++,l===o&&n(a)}e.forEach(function(r){t(r,s)})}function X4(e,t,n){var a=0,l=e.length;function o(s){if(s&&s.length){n(s);return}var r=a;a=a+1,r()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},vu={integer:function(t){return vu.number(t)&&parseInt(t,10)===t},float:function(t){return vu.number(t)&&!vu.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!vu.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(e3.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(Iq())},hex:function(t){return typeof t=="string"&&!!t.match(e3.hex)}},Pq=function(t,n,a,l,o){if(t.required&&n===void 0){o9(t,n,a,l,o);return}var s=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;s.indexOf(r)>-1?vu[r](n)||l.push(nl(o.messages.types[r],t.fullField,t.type)):r&&typeof n!==t.type&&l.push(nl(o.messages.types[r],t.fullField,t.type))},Rq=function(t,n,a,l,o){var s=typeof t.len=="number",r=typeof t.min=="number",u=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=n,f=null,h=typeof n=="number",m=typeof n=="string",v=Array.isArray(n);if(h?f="number":m?f="string":v&&(f="array"),!f)return!1;v&&(d=n.length),m&&(d=n.replace(c,"_").length),s?d!==t.len&&l.push(nl(o.messages[f].len,t.fullField,t.len)):r&&!u&&dt.max?l.push(nl(o.messages[f].max,t.fullField,t.max)):r&&u&&(dt.max)&&l.push(nl(o.messages[f].range,t.fullField,t.min,t.max))},Br="enum",Vq=function(t,n,a,l,o){t[Br]=Array.isArray(t[Br])?t[Br]:[],t[Br].indexOf(n)===-1&&l.push(nl(o.messages[Br],t.fullField,t[Br].join(", ")))},Lq=function(t,n,a,l,o){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||l.push(nl(o.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var s=new RegExp(t.pattern);s.test(n)||l.push(nl(o.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},ln={required:o9,whitespace:Aq,type:Pq,range:Rq,enum:Vq,pattern:Lq},Bq=function(t,n,a,l,o){var s=[],r=t.required||!t.required&&l.hasOwnProperty(t.field);if(r){if(Qn(n,"string")&&!t.required)return a();ln.required(t,n,l,s,o,"string"),Qn(n,"string")||(ln.type(t,n,l,s,o),ln.range(t,n,l,s,o),ln.pattern(t,n,l,s,o),t.whitespace===!0&&ln.whitespace(t,n,l,s,o))}a(s)},zq=function(t,n,a,l,o){var s=[],r=t.required||!t.required&&l.hasOwnProperty(t.field);if(r){if(Qn(n)&&!t.required)return a();ln.required(t,n,l,s,o),n!==void 0&&ln.type(t,n,l,s,o)}a(s)},Dq=function(t,n,a,l,o){var s=[],r=t.required||!t.required&&l.hasOwnProperty(t.field);if(r){if(n===""&&(n=void 0),Qn(n)&&!t.required)return a();ln.required(t,n,l,s,o),n!==void 0&&(ln.type(t,n,l,s,o),ln.range(t,n,l,s,o))}a(s)},Hq=function(t,n,a,l,o){var s=[],r=t.required||!t.required&&l.hasOwnProperty(t.field);if(r){if(Qn(n)&&!t.required)return a();ln.required(t,n,l,s,o),n!==void 0&&ln.type(t,n,l,s,o)}a(s)},Fq=function(t,n,a,l,o){var s=[],r=t.required||!t.required&&l.hasOwnProperty(t.field);if(r){if(Qn(n)&&!t.required)return a();ln.required(t,n,l,s,o),Qn(n)||ln.type(t,n,l,s,o)}a(s)},Kq=function(t,n,a,l,o){var s=[],r=t.required||!t.required&&l.hasOwnProperty(t.field);if(r){if(Qn(n)&&!t.required)return a();ln.required(t,n,l,s,o),n!==void 0&&(ln.type(t,n,l,s,o),ln.range(t,n,l,s,o))}a(s)},Wq=function(t,n,a,l,o){var s=[],r=t.required||!t.required&&l.hasOwnProperty(t.field);if(r){if(Qn(n)&&!t.required)return a();ln.required(t,n,l,s,o),n!==void 0&&(ln.type(t,n,l,s,o),ln.range(t,n,l,s,o))}a(s)},jq=function(t,n,a,l,o){var s=[],r=t.required||!t.required&&l.hasOwnProperty(t.field);if(r){if(n==null&&!t.required)return a();ln.required(t,n,l,s,o,"array"),n!=null&&(ln.type(t,n,l,s,o),ln.range(t,n,l,s,o))}a(s)},qq=function(t,n,a,l,o){var s=[],r=t.required||!t.required&&l.hasOwnProperty(t.field);if(r){if(Qn(n)&&!t.required)return a();ln.required(t,n,l,s,o),n!==void 0&&ln.type(t,n,l,s,o)}a(s)},Uq="enum",Yq=function(t,n,a,l,o){var s=[],r=t.required||!t.required&&l.hasOwnProperty(t.field);if(r){if(Qn(n)&&!t.required)return a();ln.required(t,n,l,s,o),n!==void 0&&ln[Uq](t,n,l,s,o)}a(s)},Gq=function(t,n,a,l,o){var s=[],r=t.required||!t.required&&l.hasOwnProperty(t.field);if(r){if(Qn(n,"string")&&!t.required)return a();ln.required(t,n,l,s,o),Qn(n,"string")||ln.pattern(t,n,l,s,o)}a(s)},Xq=function(t,n,a,l,o){var s=[],r=t.required||!t.required&&l.hasOwnProperty(t.field);if(r){if(Qn(n,"date")&&!t.required)return a();if(ln.required(t,n,l,s,o),!Qn(n,"date")){var u;n instanceof Date?u=n:u=new Date(n),ln.type(t,u,l,s,o),u&&ln.range(t,u.getTime(),l,s,o)}}a(s)},Jq=function(t,n,a,l,o){var s=[],r=Array.isArray(n)?"array":typeof n;ln.required(t,n,l,s,o,r),a(s)},Op=function(t,n,a,l,o){var s=t.type,r=[],u=t.required||!t.required&&l.hasOwnProperty(t.field);if(u){if(Qn(n,s)&&!t.required)return a();ln.required(t,n,l,r,o,s),Qn(n,s)||ln.type(t,n,l,r,o)}a(r)},Zq=function(t,n,a,l,o){var s=[],r=t.required||!t.required&&l.hasOwnProperty(t.field);if(r){if(Qn(n)&&!t.required)return a();ln.required(t,n,l,s,o)}a(s)},$u={string:Bq,method:zq,number:Dq,boolean:Hq,regexp:Fq,integer:Kq,float:Wq,array:jq,object:qq,enum:Yq,pattern:Gq,date:Xq,url:Op,hex:Op,email:Op,required:Jq,any:Zq};function Zh(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var Qh=Zh(),Hc=function(){function e(n){this.rules=null,this._messages=Qh,this.define(n)}var t=e.prototype;return t.define=function(a){var l=this;if(!a)throw new Error("Cannot configure a schema with no rules");if(typeof a!="object"||Array.isArray(a))throw new Error("Rules must be an object");this.rules={},Object.keys(a).forEach(function(o){var s=a[o];l.rules[o]=Array.isArray(s)?s:[s]})},t.messages=function(a){return a&&(this._messages=Q4(Zh(),a)),this._messages},t.validate=function(a,l,o){var s=this;l===void 0&&(l={}),o===void 0&&(o=function(){});var r=a,u=l,c=o;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(null,r),Promise.resolve(r);function d(p){var g=[],y={};function b(w){if(Array.isArray(w)){var _;g=(_=g).concat.apply(_,w)}else g.push(w)}for(var C=0;Cn.labelPosition||(l==null?void 0:l.labelPosition)),y=x(()=>g.value==="top"?{}:{width:bn(n.labelWidth??(l==null?void 0:l.labelWidth))}),b=x(()=>{if(g.value==="top"||l!=null&&l.inline)return{};if(!n.label&&!n.labelWidth&&O)return{};const X=bn(n.labelWidth??(l==null?void 0:l.labelWidth));return!n.label&&!a.label?{marginLeft:X}:{}}),C=x(()=>[r.b(),r.m(s.value),r.is("error",d.value==="error"),r.is("validating",d.value==="validating"),r.is("success",d.value==="success"),r.is("required",H.value||n.required),r.is("no-asterisk",l==null?void 0:l.hideRequiredAsterisk),(l==null?void 0:l.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[r.m("feedback")]:l==null?void 0:l.statusIcon,[r.m(`label-${g.value}`)]:g.value}]),w=x(()=>qt(n.inlineMessage)?n.inlineMessage:(l==null?void 0:l.inlineMessage)||!1),_=x(()=>[r.e("error"),{[r.em("error","inline")]:w.value}]),k=x(()=>n.prop?ve(n.prop)?n.prop.join("."):n.prop:""),M=x(()=>!!(n.label||a.label)),E=x(()=>n.for??(c.value.length===1?c.value[0]:void 0)),T=x(()=>!E.value&&M.value),O=!!o,I=x(()=>{const X=l==null?void 0:l.model;if(!(!X||!n.prop))return Cs(X,n.prop).value}),N=x(()=>{const{required:X}=n,Z=[];n.rules&&Z.push(...Wn(n.rules));const re=l==null?void 0:l.rules;if(re&&n.prop){const U=Cs(re,n.prop).value;U&&Z.push(...Wn(U))}if(X!==void 0){const U=Z.map((J,se)=>[J,se]).filter(([J])=>"required"in J);if(U.length>0)for(const[J,se]of U)J.required!==X&&(Z[se]={...J,required:X});else Z.push({required:X})}return Z}),R=x(()=>N.value.length>0),K=X=>N.value.filter(Z=>!Z.trigger||!X?!0:ve(Z.trigger)?Z.trigger.includes(X):Z.trigger===X).map(({trigger:Z,...re})=>re),H=x(()=>N.value.some(X=>X.required)),z=x(()=>f.value==="error"&&n.showMessage&&((l==null?void 0:l.showMessage)??!0)),V=x(()=>`${n.label||""}${(l==null?void 0:l.labelSuffix)||""}`),L=X=>{d.value=X},F=X=>{var U;const{errors:Z,fields:re}=X;(!Z||!re)&&console.error(X),L("error"),h.value=Z?((U=Z==null?void 0:Z[0])==null?void 0:U.message)??`${n.prop} is required`:"",l==null||l.emit("validate",n.prop,!1,h.value)},D=()=>{L("success"),l==null||l.emit("validate",n.prop,!0,"")},j=async X=>{const Z=k.value;return new Hc({[Z]:X}).validate({[Z]:I.value},{firstFields:!0}).then(()=>(D(),!0)).catch(re=>(F(re),Promise.reject(re)))},q=async(X,Z)=>{if(p||!n.prop)return!1;const re=Ke(Z);if(!R.value)return Z==null||Z(!1),!1;const U=K(X);return U.length===0?(Z==null||Z(!0),!0):(L("validating"),j(U).then(()=>(Z==null||Z(!0),!0)).catch(J=>{const{fields:se}=J;return Z==null||Z(!1,se),re?!1:Promise.reject(se)}))},Q=()=>{L(""),h.value="",p=!1},ee=async()=>{const X=l==null?void 0:l.model;if(!X||!n.prop)return;const Z=Cs(X,n.prop);p=!0,Z.value=eo(v),await Pe(),Q(),p=!1},te=X=>{c.value.includes(X)||c.value.push(X)},ae=X=>{c.value=c.value.filter(Z=>Z!==X)},ue=X=>{v=eo(X)},pe=()=>v;ce(()=>n.error,X=>{h.value=X||"",L(X?"error":"")},{immediate:!0}),ce(()=>n.validateStatus,X=>L(X||""));const ge=Dt({...Bn(n),$el:m,size:s,validateMessage:h,validateState:d,labelId:u,inputIds:c,isGroup:T,hasLabel:M,fieldValue:I,addInputId:te,removeInputId:ae,resetField:ee,clearValidate:Q,validate:q,propString:k,setInitialValue:ue,getInitialValue:pe});return Et(go,ge),ce(k,(X,Z)=>{!l||!Z||(l.removeField(ge,Z),X&&(ue(I.value),l.addField(ge)))}),mt(()=>{n.prop&&(ue(I.value),l==null||l.addField(ge))}),Ht(()=>{l==null||l.removeField(ge)}),t({size:s,validateMessage:h,validateState:d,validate:q,clearValidate:Q,resetField:ee,setInitialValue:ue}),(X,Z)=>{var re;return S(),A("div",{ref_key:"formItemRef",ref:m,class:P(C.value),role:T.value?"group":void 0,"aria-labelledby":T.value?i(u):void 0},[G(i(wq),{"is-auto-width":y.value.width==="auto","update-all":((re=i(l))==null?void 0:re.labelWidth)==="auto"},{default:ne(()=>[e.label||X.$slots.label?(S(),ie(ft(E.value?"label":"div"),{key:0,id:i(u),for:E.value,class:P(i(r).e("label")),style:Ye(y.value)},{default:ne(()=>[le(X.$slots,"label",{label:V.value},()=>[bt(Se(V.value),1)])]),_:3},8,["id","for","class","style"])):oe("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),$("div",{class:P(i(r).e("content")),style:Ye(b.value)},[le(X.$slots,"default"),G(g0,{name:`${i(r).namespace.value}-zoom-in-top`},{default:ne(()=>[z.value?le(X.$slots,"error",{key:0,error:h.value},()=>[$("div",{class:P(_.value),role:"alert"},Se(h.value),3)]):oe("v-if",!0)]),_:3},8,["name"])],6)],10,Qq)}}}),s9=eU;const tU=ct(bq,{FormItem:s9}),nU=mn(s9),$p="focus-trap.focus-after-trapped",Np="focus-trap.focus-after-released",aU="focus-trap.focusout-prevented",t3={cancelable:!0,bubbles:!1},lU={cancelable:!0,bubbles:!1},n3="focusAfterTrapped",a3="focusAfterReleased",r9=Symbol("elFocusTrap"),I1=B(),q0=B(0),P1=B(0);let hd=0;const i9=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{const l=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||l?NodeFilter.FILTER_SKIP:a.tabIndex>=0||a===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},l3=(e,t)=>{for(const n of e)if(!oU(n,t))return n},oU=(e,t)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},sU=e=>{const t=i9(e);return[l3(t,e),l3(t.reverse(),e)]},rU=e=>e instanceof HTMLInputElement&&"select"in e,is=(e,t)=>{if(e){const n=document.activeElement;Nc(e,{preventScroll:!0}),P1.value=window.performance.now(),e!==n&&rU(e)&&t&&e.select()}};function o3(e,t){const n=[...e],a=e.indexOf(t);return a!==-1&&n.splice(a,1),n}const iU=()=>{let e=[];return{push:a=>{const l=e[0];l&&a!==l&&l.pause(),e=o3(e,a),e.unshift(a)},remove:a=>{var l,o;e=o3(e,a),(o=(l=e[0])==null?void 0:l.resume)==null||o.call(l)}}},uU=(e,t=!1)=>{const n=document.activeElement;for(const a of e)if(is(a,t),document.activeElement!==n)return},s3=iU(),cU=()=>q0.value>P1.value,vd=()=>{I1.value="pointer",q0.value=window.performance.now()},r3=()=>{I1.value="keyboard",q0.value=window.performance.now()},dU=()=>(mt(()=>{hd===0&&(document.addEventListener("mousedown",vd),document.addEventListener("touchstart",vd),document.addEventListener("keydown",r3)),hd++}),Ht(()=>{hd--,hd<=0&&(document.removeEventListener("mousedown",vd),document.removeEventListener("touchstart",vd),document.removeEventListener("keydown",r3))}),{focusReason:I1,lastUserFocusTimestamp:q0,lastAutomatedFocusTimestamp:P1}),md=e=>new CustomEvent(aU,{...lU,detail:e});var fU=W({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[n3,a3,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=B();let a,l;const{focusReason:o}=dU();PP(v=>{e.trapped&&!s.paused&&t("release-requested",v)});const s={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},r=v=>{if(!e.loop&&!e.trapped||s.paused)return;const{altKey:p,ctrlKey:g,metaKey:y,currentTarget:b,shiftKey:C}=v,{loop:w}=e,_=Xt(v)===Ce.tab&&!p&&!g&&!y,k=document.activeElement;if(_&&k){const M=b,[E,T]=sU(M);if(E&&T){if(!C&&k===T){const O=md({focusReason:o.value});t("focusout-prevented",O),O.defaultPrevented||(v.preventDefault(),w&&is(E,!0))}else if(C&&[E,M].includes(k)){const O=md({focusReason:o.value});t("focusout-prevented",O),O.defaultPrevented||(v.preventDefault(),w&&is(T,!0))}}else if(k===M){const O=md({focusReason:o.value});t("focusout-prevented",O),O.defaultPrevented||v.preventDefault()}}};Et(r9,{focusTrapRef:n,onKeydown:r}),ce(()=>e.focusTrapEl,v=>{v&&(n.value=v)},{immediate:!0}),ce([n],([v],[p])=>{v&&(v.addEventListener("keydown",r),v.addEventListener("focusin",d),v.addEventListener("focusout",f)),p&&(p.removeEventListener("keydown",r),p.removeEventListener("focusin",d),p.removeEventListener("focusout",f))});const u=v=>{t(n3,v)},c=v=>t(a3,v),d=v=>{const p=i(n);if(!p)return;const g=v.target,y=v.relatedTarget,b=g&&p.contains(g);e.trapped||y&&p.contains(y)||(a=y),b&&t("focusin",v),!s.paused&&e.trapped&&(b?l=g:is(l,!0))},f=v=>{const p=i(n);if(!(s.paused||!p))if(e.trapped){const g=v.relatedTarget;!_n(g)&&!p.contains(g)&&setTimeout(()=>{if(!s.paused&&e.trapped){const y=md({focusReason:o.value});t("focusout-prevented",y),y.defaultPrevented||is(l,!0)}},0)}else{const g=v.target;g&&p.contains(g)||t("focusout",v)}};async function h(){await Pe();const v=i(n);if(v){s3.push(s);const p=v.contains(document.activeElement)?a:document.activeElement;if(a=p,!v.contains(p)){const g=new Event($p,t3);v.addEventListener($p,u),v.dispatchEvent(g),g.defaultPrevented||Pe(()=>{let y=e.focusStartEl;Ne(y)||(is(y),document.activeElement!==y&&(y="first")),y==="first"&&uU(i9(v),!0),(document.activeElement===p||y==="container")&&is(v)})}}}function m(){const v=i(n);if(v){v.removeEventListener($p,u);const p=new CustomEvent(Np,{...t3,detail:{focusReason:o.value}});v.addEventListener(Np,c),v.dispatchEvent(p),!p.defaultPrevented&&(o.value=="keyboard"||!cU()||v.contains(document.activeElement))&&is(a??document.body),v.removeEventListener(Np,c),s3.remove(s),a=null,l=null}}return mt(()=>{e.trapped&&h(),ce(()=>e.trapped,v=>{v?h():m()})}),Ht(()=>{e.trapped&&m(),n.value&&(n.value.removeEventListener("keydown",r),n.value.removeEventListener("focusin",d),n.value.removeEventListener("focusout",f),n.value=void 0),a=null,l=null}),{onKeydown:r}}}),Hn=(e,t)=>{const n=e.__vccOpts||e;for(const[a,l]of t)n[a]=l;return n};function pU(e,t,n,a,l,o){return le(e.$slots,"default",{handleKeydown:e.onKeydown})}var hU=Hn(fU,[["render",pU]]),Ui=hU;const vU=(e,t=[])=>{const{placement:n,strategy:a,popperOptions:l}=e,o={placement:n,strategy:a,...l,modifiers:[...gU(e),...t]};return yU(o,l==null?void 0:l.modifiers),o},mU=e=>{if(Bt)return Vn(e)};function gU(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:a}=e;return[{name:"offset",options:{offset:[0,t??12]}},{name:"preventOverflow",options:{padding:{top:0,bottom:0,left:0,right:0}}},{name:"flip",options:{padding:5,fallbackPlacements:a}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function yU(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const bU=0,wU=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:a,role:l}=De(A1,void 0),o=B(),s=x(()=>e.arrowOffset),r=x(()=>({name:"eventListeners",enabled:!!e.visible})),u=x(()=>{const b=i(o),C=i(s)??bU;return{name:"arrow",enabled:!Ew(b),options:{element:b,padding:C}}}),c=x(()=>({onFirstUpdate:()=>{v()},...vU(e,[i(u),i(r)])})),d=x(()=>mU(e.referenceEl)||i(a)),{attributes:f,state:h,styles:m,update:v,forceUpdate:p,instanceRef:g}=$P(d,n,c);ce(g,b=>t.value=b,{flush:"sync"}),mt(()=>{ce(()=>{var b,C;return(C=(b=i(d))==null?void 0:b.getBoundingClientRect)==null?void 0:C.call(b)},()=>{v()})});let y;return ce(()=>e.visible,b=>{y==null||y(),y=void 0,b&&(y=rn(n,v).stop)}),Ht(()=>{t.value=void 0,y==null||y(),y=void 0}),{attributes:f,arrowRef:o,contentRef:n,instanceRef:g,state:h,styles:m,role:l,forceUpdate:p,update:v}},CU=(e,{attributes:t,styles:n,role:a})=>{const{nextZIndex:l}=Pc(),o=ye("popper"),s=x(()=>i(t).popper),r=B(qe(e.zIndex)?e.zIndex:l()),u=x(()=>[o.b(),o.is("pure",e.pure),o.is(e.effect),e.popperClass]),c=x(()=>[{zIndex:i(r)},i(n).popper,e.popperStyle||{}]),d=x(()=>a.value==="dialog"?"false":void 0),f=x(()=>i(n).arrow||{});return{ariaModal:d,arrowStyle:f,contentAttrs:s,contentClass:u,contentStyle:c,contentZIndex:r,updateZIndex:()=>{r.value=qe(e.zIndex)?e.zIndex:l()}}},_U=(e,t)=>{const n=B(!1),a=B(),l=()=>{t("focus")},o=c=>{var d;((d=c.detail)==null?void 0:d.focusReason)!=="pointer"&&(a.value="first",t("blur"))},s=c=>{e.visible&&!n.value&&(c.target&&(a.value=c.target),n.value=!0)},r=c=>{e.trapping||(c.detail.focusReason==="pointer"&&c.preventDefault(),n.value=!1)},u=()=>{n.value=!1,t("close")};return Ht(()=>{a.value=void 0}),{focusStartRef:a,trapped:n,onFocusAfterReleased:o,onFocusAfterTrapped:l,onFocusInTrap:s,onFocusoutPrevented:r,onReleaseRequested:u}};var SU=W({name:"ElPopperContent",__name:"content",props:l9,emits:cq,setup(e,{expose:t,emit:n}){const a=n,l=e,{focusStartRef:o,trapped:s,onFocusAfterReleased:r,onFocusAfterTrapped:u,onFocusInTrap:c,onFocusoutPrevented:d,onReleaseRequested:f}=_U(l,a),{attributes:h,arrowRef:m,contentRef:v,styles:p,instanceRef:g,role:y,update:b}=wU(l),{ariaModal:C,arrowStyle:w,contentAttrs:_,contentClass:k,contentStyle:M,updateZIndex:E}=CU(l,{styles:p,attributes:h,role:y}),T=De(go,void 0);Et(Q5,{arrowStyle:w,arrowRef:m}),T&&Et(go,{...T,addInputId:ut,removeInputId:ut});let O;const I=(R=!0)=>{b(),R&&E()},N=()=>{I(!1),l.visible&&l.focusOnShow?s.value=!0:l.visible===!1&&(s.value=!1)};return mt(()=>{ce(()=>l.triggerTargetEl,(R,K)=>{O==null||O(),O=void 0;const H=i(R||v.value),z=i(K||v.value);Da(H)&&(O=ce([y,()=>l.ariaLabel,C,()=>l.id],V=>{["role","aria-label","aria-modal","id"].forEach((L,F)=>{_n(V[F])?H.removeAttribute(L):H.setAttribute(L,V[F])})},{immediate:!0})),z!==H&&Da(z)&&["role","aria-label","aria-modal","id"].forEach(V=>{z.removeAttribute(V)})},{immediate:!0}),ce(()=>l.visible,N,{immediate:!0})}),Ht(()=>{O==null||O(),O=void 0,v.value=void 0}),t({popperContentRef:v,popperInstanceRef:g,updatePopper:I,contentStyle:M}),(R,K)=>(S(),A("div",vt({ref_key:"contentRef",ref:v},i(_),{style:i(M),class:i(k),tabindex:"-1",onMouseenter:K[0]||(K[0]=H=>R.$emit("mouseenter",H)),onMouseleave:K[1]||(K[1]=H=>R.$emit("mouseleave",H))}),[G(i(Ui),{loop:e.loop,trapped:i(s),"trap-on-focus-in":!0,"focus-trap-el":i(v),"focus-start-el":i(o),onFocusAfterTrapped:i(u),onFocusAfterReleased:i(r),onFocusin:i(c),onFocusoutPrevented:i(d),onReleaseRequested:i(f)},{default:ne(()=>[le(R.$slots,"default")]),_:3},8,["loop","trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}}),xU=SU,kU=W({name:"ElPopper",inheritAttrs:!1,__name:"popper",props:Z5,setup(e,{expose:t}){const n=e,a={triggerRef:B(),popperInstanceRef:B(),contentRef:B(),referenceRef:B(),role:x(()=>n.role)};return t(a),Et(A1,a),(l,o)=>le(l.$slots,"default")}}),EU=kU;const u9=ct(EU),TU={...BP,...uq,content:"",visible:null,teleported:!0},on=ke({...LP,...l9,appendTo:{type:Y([String,Object])},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:Y(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...xa(["ariaLabel"])}),nr=ke({...e9,disabled:Boolean,trigger:{type:Y([String,Array]),default:"hover"},triggerKeys:{type:Y(Array),default:()=>[Ce.enter,Ce.numpadEnter,Ce.space]},focusOnTarget:Boolean}),{useModelToggleProps:MU,useModelToggleEmits:OU,useModelToggle:$U}=TI("visible"),mu=ke({...Z5,...MU,...on,...nr,...a9,showArrow:{type:Boolean,default:!0}}),NU=[...OU,"before-show","before-hide","show","hide","open","close"],R1=Symbol("elTooltip"),e2=(e,t)=>ve(e)?e.includes(t):e===t,zr=(e,t,n)=>a=>{e2(i(e),t)&&n(a)};var AU=W({name:"ElTooltipTrigger",__name:"trigger",props:nr,setup(e,{expose:t}){const n=e,a=ye("tooltip"),{controlled:l,id:o,open:s,onOpen:r,onClose:u,onToggle:c}=De(R1,void 0),d=B(null),f=()=>{if(i(l)||n.disabled)return!0},h=At(n,"trigger"),m=Kn(f,zr(h,"hover",w=>{r(w),n.focusOnTarget&&w.target&&Pe(()=>{Nc(w.target,{preventScroll:!0})})})),v=Kn(f,zr(h,"hover",u)),p=Kn(f,zr(h,"click",w=>{w.button===0&&c(w)})),g=Kn(f,zr(h,"focus",r)),y=Kn(f,zr(h,"focus",u)),b=Kn(f,zr(h,"contextmenu",w=>{w.preventDefault(),c(w)})),C=Kn(f,w=>{const _=Xt(w);n.triggerKeys.includes(_)&&(w.preventDefault(),c(w))});return t({triggerRef:d}),(w,_)=>(S(),ie(i(oq),{id:i(o),"virtual-ref":e.virtualRef,open:i(s),"virtual-triggering":e.virtualTriggering,class:P(i(a).e("trigger")),onBlur:i(y),onClick:i(p),onContextmenu:i(b),onFocus:i(g),onMouseenter:i(m),onMouseleave:i(v),onKeydown:i(C)},{default:ne(()=>[le(w.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}}),IU=AU,PU=W({name:"ElTooltipContent",inheritAttrs:!1,__name:"content",props:on,setup(e,{expose:t}){const n=e,{selector:a}=i5(),l=ye("tooltip"),o=B(),s=B8(()=>{var L;return(L=o.value)==null?void 0:L.popperContentRef});let r;const{controlled:u,id:c,open:d,trigger:f,onClose:h,onOpen:m,onShow:v,onHide:p,onBeforeShow:g,onBeforeHide:y}=De(R1,void 0),b=x(()=>n.transition||`${l.namespace.value}-fade-in-linear`),C=x(()=>n.persistent);Ht(()=>{r==null||r()});const w=x(()=>i(C)?!0:i(d)),_=x(()=>n.disabled?!1:i(d)),k=x(()=>n.appendTo||a.value),M=x(()=>n.style??{}),E=B(!0),T=()=>{p(),V()&&Nc(document.body,{preventScroll:!0}),E.value=!0},O=()=>{if(i(u))return!0},I=Kn(O,()=>{n.enterable&&e2(i(f),"hover")&&m()}),N=Kn(O,()=>{e2(i(f),"hover")&&h()}),R=()=>{var L,F;(F=(L=o.value)==null?void 0:L.updatePopper)==null||F.call(L),g==null||g()},K=()=>{y==null||y()},H=()=>{v()},z=()=>{n.virtualTriggering||h()},V=L=>{var j;const F=(j=o.value)==null?void 0:j.popperContentRef,D=(L==null?void 0:L.relatedTarget)||document.activeElement;return F==null?void 0:F.contains(D)};return ce(()=>i(d),L=>{L?(E.value=!1,r=Kv(s,()=>{i(u)||jn(i(f)).every(F=>F!=="hover"&&F!=="focus")&&h()},{detectIframe:!0})):r==null||r()},{flush:"post"}),t({contentRef:o,isFocusInsideContent:V}),(L,F)=>(S(),ie(Ns,{disabled:!e.teleported,to:k.value},[w.value||!E.value?(S(),ie(Yn,{key:0,name:b.value,appear:!C.value,onAfterLeave:T,onBeforeEnter:R,onAfterEnter:H,onBeforeLeave:K,persisted:""},{default:ne(()=>[ht(G(i(xU),vt({id:i(c),ref_key:"contentRef",ref:o},L.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":E.value,"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,M.value],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:_.value,"z-index":e.zIndex,loop:e.loop,onMouseenter:i(I),onMouseleave:i(N),onBlur:z,onClose:i(h)}),{default:ne(()=>[le(L.$slots,"default")]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","arrow-offset","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","loop","onMouseenter","onMouseleave","onClose"]),[[It,_.value]])]),_:3},8,["name","appear"])):oe("v-if",!0)],8,["disabled","to"]))}}),RU=PU;const VU=["innerHTML"],LU={key:1};var BU=W({name:"ElTooltip",__name:"tooltip",props:mu,emits:NU,setup(e,{expose:t,emit:n}){const a=e,l=n;VP();const o=ye("tooltip"),s=oa(),r=B(),u=B(),c=()=>{var _;const w=i(r);w&&((_=w.popperInstanceRef)==null||_.update())},d=B(!1),f=B(),{show:h,hide:m,hasUpdateHandler:v}=$U({indicator:d,toggleReason:f}),{onOpen:p,onClose:g}=zP({showAfter:At(a,"showAfter"),hideAfter:At(a,"hideAfter"),autoClose:At(a,"autoClose"),open:h,close:m}),y=x(()=>qt(a.visible)&&!v.value),b=x(()=>[o.b(),a.popperClass]);Et(R1,{controlled:y,id:s,open:xs(d),trigger:At(a,"trigger"),onOpen:p,onClose:g,onToggle:w=>{i(d)?g(w):p(w)},onShow:()=>{l("show",f.value)},onHide:()=>{l("hide",f.value)},onBeforeShow:()=>{l("before-show",f.value)},onBeforeHide:()=>{l("before-hide",f.value)},updatePopper:c}),ce(()=>a.disabled,w=>{w&&d.value&&(d.value=!1),!w&&qt(a.visible)&&(d.value=a.visible)});const C=w=>{var _;return(_=u.value)==null?void 0:_.isFocusInsideContent(w)};return yc(()=>d.value&&m()),Ht(()=>{f.value=void 0}),t({popperRef:r,contentRef:u,isFocusInsideContent:C,updatePopper:c,onOpen:p,onClose:g,hide:m}),(w,_)=>(S(),ie(i(u9),{ref_key:"popperRef",ref:r,role:e.role},{default:ne(()=>[G(IU,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering,"focus-on-target":e.focusOnTarget},{default:ne(()=>[w.$slots.default?le(w.$slots,"default",{key:0}):oe("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering","focus-on-target"]),G(RU,{ref_key:"contentRef",ref:u,"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":b.value,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo,loop:e.loop},{default:ne(()=>[le(w.$slots,"content",{},()=>[e.rawContent?(S(),A("span",{key:0,innerHTML:e.content},null,8,VU)):(S(),A("span",LU,Se(e.content),1))]),e.showArrow?(S(),ie(i(aq),{key:0})):oe("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","arrow-offset","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to","loop"])]),_:3},8,["role"]))}}),zU=BU;const Gn=ct(zU),yn=e=>e,V1=ke({id:{type:String,default:void 0},size:zn,disabled:{type:Boolean,default:void 0},modelValue:{type:Y([String,Number,Object]),default:""},modelModifiers:{type:Y(Object),default:()=>({})},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:Y(String),default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:Y([Boolean,Object]),default:!1},autocomplete:{type:Y(String),default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,clearIcon:{type:Ut,default:ql},showPassword:Boolean,showWordLimit:Boolean,wordLimitPosition:{type:String,values:["inside","outside"],default:"inside"},suffixIcon:{type:Ut},prefixIcon:{type:Ut},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:Y([Object,Array,String,Boolean]),default:()=>yn({})},countGraphemes:{type:Y(Function)},autofocus:Boolean,rows:{type:Number,default:2},...xa(["ariaLabel"]),inputmode:{type:Y(String),default:void 0},name:String}),DU={[it]:e=>Ne(e),input:e=>Ne(e),change:(e,t)=>Ne(e)&&(t instanceof Event||t===void 0),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:e=>e===void 0||e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent};pl(ql);let ha;const HU={height:"0",visibility:"hidden",overflow:x0()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},FU=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],i3=e=>{const t=Number.parseFloat(e);return Number.isNaN(t)?e:t};function KU(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),a=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),l=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:FU.map(o=>[o,t.getPropertyValue(o)]),paddingSize:a,borderSize:l,boxSizing:n}}function u3(e,t=1,n){var d;if(!ha){ha=document.createElement("textarea");let f=document.body;!x0()&&e.parentNode&&(f=e.parentNode),f.appendChild(ha)}const{paddingSize:a,borderSize:l,boxSizing:o,contextStyle:s}=KU(e);s.forEach(([f,h])=>ha==null?void 0:ha.style.setProperty(f,h)),Object.entries(HU).forEach(([f,h])=>ha==null?void 0:ha.style.setProperty(f,h,"important")),ha.value=e.value||e.placeholder||"";let r=ha.scrollHeight;const u={};o==="border-box"?r=r+l:o==="content-box"&&(r=r-a),ha.value="";const c=ha.scrollHeight-a;if(qe(t)){let f=c*t;o==="border-box"&&(f=f+a+l),r=Math.max(f,r),u.minHeight=`${f}px`}if(qe(n)){let f=c*n;o==="border-box"&&(f=f+a+l),r=Math.min(f,r)}return u.height=`${r}px`,(d=ha.parentNode)==null||d.removeChild(ha),ha=void 0,u}const WU=["id","name","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus","role","inputmode"],jU=["aria-label"],qU=["id","name","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","role","inputmode"],UU=["aria-label"],c3="ElInput";var YU=W({name:c3,inheritAttrs:!1,__name:"input",props:V1,emits:DU,setup(e,{expose:t,emit:n}){const a=e,l=n,o=Hl(),s=wn(),r=x(()=>[a.type==="textarea"?y.b():g.b(),g.m(v.value),g.is("disabled",p.value),g.is("exceed",Z.value),{[g.b("group")]:s.prepend||s.append,[g.m("prefix")]:s.prefix||a.prefixIcon,[g.m("suffix")]:s.suffix||a.suffixIcon||a.clearable||a.showPassword,[g.bm("suffix","password-clear")]:ae.value&&ue.value,[g.b("hidden")]:a.type==="hidden"},o.class]),u=x(()=>[g.e("wrapper"),g.is("focus",H.value)]),c=P0(),d=x(()=>{var be;return(be=a.maxlength)==null?void 0:be.toString()}),{form:f,formItem:h}=Xn(),{inputId:m}=Ua(a,{formItemContext:h}),v=Pn(),p=hn(),g=ye("input"),y=ye("textarea"),{t:b}=St(),C=kt(),w=kt(),_=B(!1),k=B(!1),M=B(),E=B(),T=kt(a.inputStyle),O=B("");let I;const N=B(),R=x(()=>C.value||w.value),{wrapperRef:K,isFocused:H,handleFocus:z,handleBlur:V}=Jo(R,{disabled:p,afterFocus(){var be;a.showPassword&&(I=(be=R.value)==null?void 0:be.value)},beforeBlur(be){var We;if(a.showPassword){const de=R.value;if(be.relatedTarget&&((We=de==null?void 0:de.parentElement)!=null&&We.contains(be.relatedTarget)))return;const je=de==null?void 0:de.value;!_n(je)&&!_n(I)&&je!==I&&(de==null||de.dispatchEvent(new Event("change",{bubbles:!0}))),I=void 0}},afterBlur(){var be;a.validateEvent&&((be=h==null?void 0:h.validate)==null||be.call(h,"blur").catch(ut))}}),L=x(()=>(f==null?void 0:f.statusIcon)??!1),F=x(()=>(h==null?void 0:h.validateState)||""),D=x(()=>F.value&&j0[F.value]),j=x(()=>k.value?Y5:V5),q=x(()=>[o.style]),Q=x(()=>[a.inputStyle,T.value,{resize:a.resize},N.value?{height:N.value}:void 0]),ee=x(()=>_n(a.modelValue)?"":String(a.modelValue)),te=x(()=>a.clearable&&!p.value&&!a.readonly),ae=x(()=>te.value&&!!ee.value&&(H.value||_.value)),ue=x(()=>a.showPassword&&!p.value&&!!ee.value),pe=x(()=>a.showWordLimit&&!!d.value&&(a.type==="text"||a.type==="textarea")&&!p.value&&!a.readonly&&!a.showPassword),ge=x(()=>a.countGraphemes&&a.showWordLimit?a.countGraphemes(ee.value):ee.value.length),X=x(()=>b("el.input.characters",{count:ge.value,max:d.value??""})),Z=x(()=>!!pe.value&&ge.value>Number(d.value)),re=x(()=>!!s.suffix||!!a.suffixIcon||a.clearable||a.showPassword||pe.value||!!F.value&&L.value),U=x(()=>!!Object.keys(a.modelModifiers).length),[J,se]=NR(C);let fe;rn(w,be=>{if(Ve(),!pe.value&&!te.value||a.resize!=="both"&&a.resize!=="horizontal")return;const{width:We}=be[0].target.getBoundingClientRect(),de=()=>{fe=void 0,M.value={right:`calc(100% - ${We-10}px)`},E.value={right:`calc(100% - ${We-11}px)`}};fe&&Ll(fe),fe=Sa(de)});const me=()=>{const{type:be,autosize:We}=a;if(!(!Bt||be!=="textarea"||!w.value))if(We){const de=rt(We)?We.minRows:void 0,je=rt(We)?We.maxRows:void 0,Ie=u3(w.value,de,je);T.value={overflowY:"hidden",...Ie},Pe(()=>{w.value.offsetHeight,T.value=Ie})}else T.value={minHeight:u3(w.value).minHeight}},Ve=(be=>{let We=!1;return()=>{var de;if(We||!a.autosize){a.resize!=="none"&&setTimeout(()=>{var je;N.value=(je=w.value)==null?void 0:je.style.height});return}((de=w.value)==null?void 0:de.offsetParent)!==null&&(setTimeout(be),We=!0)}})(me),Ae=()=>{const be=R.value,We=a.formatter?a.formatter(ee.value):ee.value;!be||be.value===We||a.type==="file"||(be.value=We)},xe=be=>{const{trim:We,number:de}=a.modelModifiers;return We&&(be=be.trim()),de&&(be=`${i3(be)}`),a.formatter&&a.parser&&(be=a.parser(be)),be},he=async be=>{if($e.value)return;const{lazy:We}=a.modelModifiers;let{value:de}=be.target,je=!1;if(We){l(In,de);return}if(de=xe(de),a.countGraphemes&&d.value!=null){const Ie=Number(d.value),tt=a.countGraphemes(de),ot=a.countGraphemes(O.value);if(tt>Ie&&tt>ot)if(ot>Ie)de=O.value,je=!0;else{const pt=O.value,yt=de;let _t=0;for(;_t_t&&Vt>_t&&pt[lt-1]===yt[Vt-1];)lt--,Vt--;const Le=yt.slice(0,_t),Ue=pt.slice(_t,lt),nt=yt.slice(_t,Vt),_e=yt.slice(Vt),Fe=ot-a.countGraphemes(Ue),ze=Math.max(0,Ie-Fe);let Nt="";if(ze>0)if(typeof Intl<"u"&&"Segmenter"in Intl){const Ft=new Intl.Segmenter(void 0,{granularity:"grapheme"});for(const{segment:Jt}of Ft.segment(nt)){const sn=Nt+Jt;if(a.countGraphemes(sn)>ze)break;Nt=sn}}else for(const Ft of Array.from(nt)){const Jt=Nt+Ft;if(a.countGraphemes(Jt)>ze)break;Nt=Jt}de=Le+Nt+_e,je=!0}}if(String(de)===ee.value){if(a.formatter||je){const Ie=be.target,tt=Ie.value,ot=Ie.selectionStart,pt=Ie.selectionEnd;if(Ae(),je&&R.value&&ot!=null&&pt!=null){const yt=R.value.value,_t=tt.slice(Math.max(0,pt));let lt=Math.min(ot,yt.length);_t&&yt.endsWith(_t)&&(lt=yt.length-_t.length),R.value.setSelectionRange(lt,lt)}}return}O.value=de,J(),l(it,de),l(In,de),await Pe(),(a.formatter&&a.parser||!U.value)&&Ae(),se()},Ee=async be=>{let{value:We}=be.target;a.showPassword&&(I=We),We=xe(We),a.modelModifiers.lazy&&l(it,We),l(Ct,We,be),await Pe(),Ae()},{isComposing:$e,handleCompositionStart:Re,handleCompositionUpdate:Ge,handleCompositionEnd:Ze}=Lc({emit:l,afterComposition:he}),Xe=()=>{k.value=!k.value},gt=()=>{var be;return(be=R.value)==null?void 0:be.focus()},Tt=()=>{var be;return(be=R.value)==null?void 0:be.blur()},Pt=be=>{_.value=!1,l("mouseleave",be)},$t=be=>{_.value=!0,l("mouseenter",be)},Rt=be=>{l("keydown",be)},tn=()=>{var be;(be=R.value)==null||be.select()},Me=be=>{l(it,""),I="",l(Ct,""),l("clear",be),l(In,"")};return ce(()=>a.modelValue,()=>{var be;Pe(()=>{me(),a.autosize&&(N.value=void 0)}),a.validateEvent&&((be=h==null?void 0:h.validate)==null||be.call(h,"change").catch(ut))}),ce(()=>ee.value,be=>{O.value=be},{immediate:!0}),ce(ee,be=>{if(!R.value)return;const{trim:We,number:de}=a.modelModifiers,je=R.value.value,Ie=(de||a.type==="number")&&!/^0\d/.test(je)?`${i3(je)}`:je;Ie!==be&&(document.activeElement===R.value&&R.value.type!=="range"&&We&&Ie.trim()===be||Ae())}),ce(()=>a.type,async()=>{await Pe(),Ae(),me()}),mt(()=>{!a.formatter&&a.parser&&jt(c3,"If you set the parser, you also need to set the formatter."),Ae(),Pe(me)}),Ht(()=>{fe&&Ll(fe)}),t({input:C,textarea:w,ref:R,textareaStyle:Q,autosize:At(a,"autosize"),isComposing:$e,passwordVisible:k,focus:gt,blur:Tt,select:tn,clear:Me,resizeTextarea:me}),(be,We)=>(S(),A("div",{class:P([r.value,{[i(g).bm("group","append")]:be.$slots.append,[i(g).bm("group","prepend")]:be.$slots.prepend}]),style:Ye(q.value),onMouseenter:$t,onMouseleave:Pt},[oe(" input "),e.type!=="textarea"?(S(),A(He,{key:0},[oe(" prepend slot "),be.$slots.prepend?(S(),A("div",{key:0,class:P(i(g).be("group","prepend"))},[le(be.$slots,"prepend")],2)):oe("v-if",!0),$("div",{ref_key:"wrapperRef",ref:K,class:P(u.value)},[oe(" prefix slot "),be.$slots.prefix||e.prefixIcon?(S(),A("span",{key:0,class:P(i(g).e("prefix"))},[$("span",{class:P(i(g).e("prefix-inner"))},[le(be.$slots,"prefix"),e.prefixIcon?(S(),ie(i(Be),{key:0,class:P(i(g).e("icon"))},{default:ne(()=>[(S(),ie(ft(e.prefixIcon)))]),_:1},8,["class"])):oe("v-if",!0)],2)],2)):oe("v-if",!0),$("input",vt({id:i(m),ref_key:"input",ref:C,class:i(g).e("inner")},i(c),{name:e.name,minlength:e.countGraphemes?void 0:e.minlength,maxlength:e.countGraphemes?void 0:d.value,type:e.showPassword?k.value?"text":"password":e.type,disabled:i(p),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.ariaLabel,placeholder:e.placeholder,style:e.inputStyle,form:e.form,autofocus:e.autofocus,role:e.containerRole,inputmode:e.inputmode,onCompositionstart:We[0]||(We[0]=(...de)=>i(Re)&&i(Re)(...de)),onCompositionupdate:We[1]||(We[1]=(...de)=>i(Ge)&&i(Ge)(...de)),onCompositionend:We[2]||(We[2]=(...de)=>i(Ze)&&i(Ze)(...de)),onInput:he,onChange:Ee,onKeydown:Rt}),null,16,WU),oe(" suffix slot "),re.value?(S(),A("span",{key:1,class:P(i(g).e("suffix"))},[$("span",{class:P(i(g).e("suffix-inner"))},[te.value?(S(),ie(i(Be),{key:0,class:P([i(g).e("icon"),i(g).e("clear")]),style:Ye({visibility:ae.value?"visible":"hidden"}),onMousedown:Qe(i(ut),["prevent"]),onClick:Me},{default:ne(()=>[(S(),ie(ft(e.clearIcon)))]),_:1},8,["class","style","onMousedown"])):oe("v-if",!0),!ae.value||!ue.value||!pe.value?(S(),A(He,{key:1},[le(be.$slots,"suffix"),e.suffixIcon?(S(),ie(i(Be),{key:0,class:P(i(g).e("icon"))},{default:ne(()=>[(S(),ie(ft(e.suffixIcon)))]),_:1},8,["class"])):oe("v-if",!0)],64)):oe("v-if",!0),ue.value?(S(),ie(i(Be),{key:2,class:P([i(g).e("icon"),i(g).e("password")]),onClick:Xe,onMousedown:Qe(i(ut),["prevent"]),onMouseup:Qe(i(ut),["prevent"])},{default:ne(()=>[le(be.$slots,"password-icon",{visible:k.value},()=>[(S(),ie(ft(j.value)))])]),_:3},8,["class","onMousedown","onMouseup"])):oe("v-if",!0),pe.value?(S(),A("span",{key:3,class:P([i(g).e("count"),i(g).is("outside",e.wordLimitPosition==="outside")]),"aria-label":X.value,role:"status"},[$("span",{class:P(i(g).e("count-inner"))},Se(ge.value)+" / "+Se(d.value),3)],10,jU)):oe("v-if",!0),F.value&&D.value&&L.value?(S(),ie(i(Be),{key:4,class:P([i(g).e("icon"),i(g).e("validateIcon"),i(g).is("loading",F.value==="validating")])},{default:ne(()=>[(S(),ie(ft(D.value)))]),_:1},8,["class"])):oe("v-if",!0)],2)],2)):oe("v-if",!0)],2),oe(" append slot "),be.$slots.append?(S(),A("div",{key:1,class:P(i(g).be("group","append"))},[le(be.$slots,"append")],2)):oe("v-if",!0)],64)):(S(),A(He,{key:1},[oe(" textarea "),$("textarea",vt({id:i(m),ref_key:"textarea",ref:w,class:[i(y).e("inner"),i(g).is("focus",i(H)),i(y).is("clearable",e.clearable)]},i(c),{name:e.name,minlength:e.countGraphemes?void 0:e.minlength,maxlength:e.countGraphemes?void 0:d.value,tabindex:e.tabindex,disabled:i(p),readonly:e.readonly,autocomplete:e.autocomplete,style:Q.value,"aria-label":e.ariaLabel,placeholder:e.placeholder,form:e.form,autofocus:e.autofocus,rows:e.rows,role:e.containerRole,inputmode:e.inputmode,onCompositionstart:We[3]||(We[3]=(...de)=>i(Re)&&i(Re)(...de)),onCompositionupdate:We[4]||(We[4]=(...de)=>i(Ge)&&i(Ge)(...de)),onCompositionend:We[5]||(We[5]=(...de)=>i(Ze)&&i(Ze)(...de)),onInput:he,onFocus:We[6]||(We[6]=(...de)=>i(z)&&i(z)(...de)),onBlur:We[7]||(We[7]=(...de)=>i(V)&&i(V)(...de)),onChange:Ee,onKeydown:Rt}),null,16,qU),ae.value?(S(),ie(i(Be),{key:0,class:P([i(y).e("icon"),i(y).e("clear")]),style:Ye(E.value),onMousedown:Qe(i(ut),["prevent"]),onClick:Me},{default:ne(()=>[(S(),ie(ft(e.clearIcon)))]),_:1},8,["class","style","onMousedown"])):oe("v-if",!0),pe.value?(S(),A("span",{key:1,style:Ye(M.value),class:P([i(g).e("count"),i(g).is("outside",e.wordLimitPosition==="outside")]),"aria-label":X.value,role:"status"},Se(ge.value)+" / "+Se(d.value),15,UU)):oe("v-if",!0)],64))],38))}}),GU=YU;const aa=ct(GU),XU=ke({...V1,valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:Y(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:Y([Function,Array]),default:ut},popperClass:on.popperClass,popperStyle:on.popperStyle,popperOptions:on.popperOptions,showArrow:{type:Boolean,default:!0},triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:Boolean,hideLoading:Boolean,teleported:on.teleported,appendTo:on.appendTo,highlightFirstItem:Boolean,fitInputWidth:Boolean,loopNavigation:{type:Boolean,default:!0}}),JU={[it]:e=>Ne(e)||qe(e),[In]:e=>Ne(e)||qe(e),[Ct]:e=>Ne(e)||qe(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,select:e=>rt(e)},ZU=ke({distance:{type:Number,default:0},height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:Boolean,wrapStyle:{type:Y([String,Object,Array,Boolean]),default:""},wrapClass:{type:Y([String,Array,Object,Boolean]),default:""},viewClass:{type:Y([String,Array,Object,Boolean]),default:""},viewStyle:{type:Y([String,Object,Array,Boolean]),default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String,...xa(["ariaLabel","ariaOrientation"])}),ac={"end-reached":e=>["left","right","top","bottom"].includes(e),scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(qe)},c9={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},QU=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),eY=ke({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),L1=Symbol("scrollbarContextKey");function so(e,t,n=.03){return e-t>n}const tY=ke({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),nY="Thumb";var aY=W({__name:"thumb",props:eY,setup(e){const t=e,n=De(L1),a=ye("scrollbar");n||vn(nY,"can not inject scrollbar context");const l=B(),o=B(),s=B({}),r=B(!1);let u=!1,c=!1,d=0,f=0,h=Bt?document.onselectstart:null;const m=x(()=>c9[t.vertical?"vertical":"horizontal"]),v=x(()=>QU({size:t.size,move:t.move,bar:m.value})),p=x(()=>l.value[m.value.offset]**2/n.wrapElement[m.value.scrollSize]/t.ratio/o.value[m.value.offset]),g=E=>{var O;if(E.stopPropagation(),E.ctrlKey||[1,2].includes(E.button))return;(O=window.getSelection())==null||O.removeAllRanges(),b(E);const T=E.currentTarget;T&&(s.value[m.value.axis]=T[m.value.offset]-(E[m.value.client]-T.getBoundingClientRect()[m.value.direction]))},y=E=>{if(!o.value||!l.value||!n.wrapElement)return;const T=(Math.abs(E.target.getBoundingClientRect()[m.value.direction]-E[m.value.client])-o.value[m.value.offset]/2)*100*p.value/l.value[m.value.offset];n.wrapElement[m.value.scroll]=T*n.wrapElement[m.value.scrollSize]/100},b=E=>{E.stopImmediatePropagation(),u=!0,d=n.wrapElement.scrollHeight,f=n.wrapElement.scrollWidth,document.addEventListener("mousemove",C),document.addEventListener("mouseup",w),h=document.onselectstart,document.onselectstart=()=>!1},C=E=>{if(!l.value||!o.value||u===!1)return;const T=s.value[m.value.axis];if(!T)return;const O=((l.value.getBoundingClientRect()[m.value.direction]-E[m.value.client])*-1-(o.value[m.value.offset]-T))*100*p.value/l.value[m.value.offset];m.value.scroll==="scrollLeft"?n.wrapElement[m.value.scroll]=O*f/100:n.wrapElement[m.value.scroll]=O*d/100},w=()=>{u=!1,s.value[m.value.axis]=0,document.removeEventListener("mousemove",C),document.removeEventListener("mouseup",w),M(),c&&(r.value=!1)},_=()=>{c=!1,r.value=!!t.size},k=()=>{c=!0,r.value=u};Ht(()=>{M(),document.removeEventListener("mouseup",w)});const M=()=>{document.onselectstart!==h&&(document.onselectstart=h)};return Wt(At(n,"scrollbarElement"),"mousemove",_),Wt(At(n,"scrollbarElement"),"mouseleave",k),(E,T)=>(S(),ie(Yn,{name:i(a).b("fade"),persisted:""},{default:ne(()=>[ht($("div",{ref_key:"instance",ref:l,class:P([i(a).e("bar"),i(a).is(m.value.key)]),onMousedown:y,onClick:T[0]||(T[0]=Qe(()=>{},["stop"]))},[$("div",{ref_key:"thumb",ref:o,class:P(i(a).e("thumb")),style:Ye(v.value),onMousedown:g},null,38)],34),[[It,e.always||r.value]])]),_:1},8,["name"]))}}),d3=aY,lY=W({__name:"bar",props:tY,setup(e,{expose:t}){const n=e,a=De(L1),l=B(0),o=B(0),s=B(""),r=B(""),u=B(1),c=B(1);return t({handleScroll:h=>{if(h){const m=h.offsetHeight-4,v=h.offsetWidth-4;o.value=h.scrollTop*100/m*u.value,l.value=h.scrollLeft*100/v*c.value}},update:()=>{const h=a==null?void 0:a.wrapElement;if(!h)return;const m=h.offsetHeight-4,v=h.offsetWidth-4,p=m**2/h.scrollHeight,g=v**2/h.scrollWidth,y=Math.max(p,n.minSize),b=Math.max(g,n.minSize);u.value=p/(m-p)/(y/(m-y)),c.value=g/(v-g)/(b/(v-b)),r.value=y+4(S(),A(He,null,[G(d3,{move:l.value,ratio:c.value,size:s.value,always:e.always},null,8,["move","ratio","size","always"]),G(d3,{move:o.value,ratio:u.value,size:r.value,vertical:"",always:e.always},null,8,["move","ratio","size","always"])],64))}}),oY=lY;const sY=["tabindex"],Ap="ElScrollbar";var rY=W({name:Ap,__name:"scrollbar",props:ZU,emits:ac,setup(e,{expose:t,emit:n}){const a=e,l=n,o=ye("scrollbar");let s,r,u,c=0,d=0,f=0,h="";const m={bottom:!1,top:!1,right:!1,left:!1},v=B(),p=B(),g=B(),y=B(),b=x(()=>{const K={},H=bn(a.height),z=bn(a.maxHeight);return H&&(K.height=H),z&&(K.maxHeight=z),[a.wrapStyle,K]}),C=x(()=>[a.wrapClass,o.e("wrap"),{[o.em("wrap","hidden-default")]:!a.native}]),w=x(()=>[o.e("view"),a.viewClass]),_=K=>m[K]??!1,k={top:"bottom",bottom:"top",left:"right",right:"left"},M=K=>{const H=k[h];if(!H)return;const z=K[h],V=K[H];z&&!m[h]&&(m[h]=!0),!V&&m[H]&&(m[H]=!1)},E=()=>{var K;if(p.value){(K=y.value)==null||K.handleScroll(p.value);const H=d,z=f;d=p.value.scrollTop,f=p.value.scrollLeft;const V={bottom:!so(p.value.scrollHeight-a.distance,p.value.clientHeight+d),top:d<=a.distance&&H!==0,right:!so(p.value.scrollWidth-a.distance,p.value.clientWidth+f)&&z!==f,left:f<=a.distance&&z!==0};if(l("scroll",{scrollTop:d,scrollLeft:f}),H!==d&&(h=d>H?"bottom":"top"),z!==f&&(h=f>z?"right":"left"),a.distance>0){if(_(h))return;M(V)}V[h]&&l("end-reached",h)}};function T(K,H){rt(K)?p.value.scrollTo(K):qe(K)&&qe(H)&&p.value.scrollTo(K,H)}const O=K=>{if(!qe(K)){jt(Ap,"value must be a number");return}p.value.scrollTop=K},I=K=>{if(!qe(K)){jt(Ap,"value must be a number");return}p.value.scrollLeft=K},N=()=>{var K,H;(K=y.value)==null||K.update(),m[h]=!1,p.value&&((H=y.value)==null||H.handleScroll(p.value))},R=()=>{c||(c=requestAnimationFrame(()=>{var K,H;c=0,p.value&&((K=y.value)==null||K.update(),(H=y.value)==null||H.handleScroll(p.value))}))};return ce(()=>a.noresize,K=>{K?(s==null||s(),r==null||r(),u==null||u()):({stop:s}=rn(g,N),{stop:r}=rn(p,N),u=Wt("resize",N))},{immediate:!0}),ce(()=>[a.maxHeight,a.height],()=>{a.native||Pe(()=>{N()})}),Et(L1,Dt({scrollbarElement:v,wrapElement:p})),kr(()=>{p.value&&(p.value.scrollTop=d,p.value.scrollLeft=f)}),mt(()=>{a.native||Pe(()=>{N()})}),qa(()=>N()),t({wrapRef:p,update:N,scrollTo:T,setScrollTop:O,setScrollLeft:I,handleScroll:E}),(K,H)=>(S(),A("div",{ref_key:"scrollbarRef",ref:v,class:P(i(o).b())},[$("div",{ref_key:"wrapRef",ref:p,class:P(C.value),style:Ye(b.value),tabindex:e.tabindex,onScroll:E,onTransitionend:R,onAnimationend:R},[(S(),ie(ft(e.tag),{id:e.id,ref_key:"resizeRef",ref:g,class:P(w.value),style:Ye(e.viewStyle),role:e.role,"aria-label":e.ariaLabel,"aria-orientation":e.ariaOrientation},{default:ne(()=>[le(K.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,sY),e.native?oe("v-if",!0):(S(),ie(oY,{key:0,ref_key:"barRef",ref:y,always:e.always,"min-size":e.minSize},null,8,["always","min-size"]))],2))}}),iY=rY;const Dl=ct(iY),uY=["aria-expanded","aria-owns"],cY={key:0},dY=["id","aria-selected","onClick"],f3="ElAutocomplete";var fY=W({name:f3,inheritAttrs:!1,__name:"autocomplete",props:XU,emits:JU,setup(e,{expose:t,emit:n}){const a=e,l=n,o=x(()=>{const X=aa.props??[];return fo(a,ve(X)?X:Object.keys(X))}),s=Hl(),r=hn(),u=ye("autocomplete"),c=B(),d=B(),f=B(),h=B();let m=!1,v=!1;const p=B([]),g=B(-1),y=B(""),b=B(!1),C=B(!1),w=B(!1),_=oa(),k=x(()=>s.style),M=x(()=>(p.value.length>0||w.value)&&b.value),E=x(()=>!a.hideLoading&&w.value),T=x(()=>c.value?Array.from(c.value.$el.querySelectorAll("input")):[]),O=()=>{M.value&&(y.value=`${c.value.$el.offsetWidth}px`)},I=()=>{g.value=-1},N=async X=>{if(C.value)return;const Z=re=>{w.value=!1,!C.value&&(ve(re)?(p.value=re,g.value=a.highlightFirstItem?0:-1):vn(f3,"autocomplete suggestions must be an array"))};if(w.value=!0,ve(a.fetchSuggestions))Z(a.fetchSuggestions);else{const re=await a.fetchSuggestions(X,Z);ve(re)&&Z(re)}},R=xc(N,x(()=>a.debounce)),K=X=>{const Z=!!X;if(l(In,X),l(it,X),C.value=!1,b.value||(b.value=Z),!a.triggerOnFocus&&!X){C.value=!0,p.value=[];return}R(X)},H=X=>{var Z;r.value||(((Z=X.target)==null?void 0:Z.tagName)!=="INPUT"||T.value.includes(document.activeElement))&&(b.value=!0)},z=X=>{l(Ct,X)},V=X=>{if(v)v=!1;else{b.value=!0,l("focus",X);const Z=a.modelValue??"";a.triggerOnFocus&&!m&&(p.value=[],g.value=-1,R(String(Z)))}},L=X=>{setTimeout(()=>{var Z;if((Z=f.value)!=null&&Z.isFocusInsideContent()){v=!0;return}b.value&&q(),l("blur",X)})},F=()=>{b.value=!1,l(it,""),l("clear")},D=async()=>{var X;(X=c.value)!=null&&X.isComposing||(M.value&&g.value>=0&&g.value{M.value&&(X.preventDefault(),X.stopPropagation(),q())},q=()=>{b.value=!1},Q=()=>{var X;(X=c.value)==null||X.focus()},ee=()=>{var X;(X=c.value)==null||X.blur()},te=async X=>{l(In,X[a.valueKey]),l(it,X[a.valueKey]),l("select",X),p.value=[],g.value=-1},ae=X=>{var me,we;if(!M.value||w.value)return;if(X<0){if(!a.loopNavigation){g.value=-1;return}X=p.value.length-1}X>=p.value.length&&(X=a.loopNavigation?0:p.value.length-1);const[Z,re]=ue(),U=re[X],J=Z.scrollTop,{offsetTop:se,scrollHeight:fe}=U;se+fe>J+Z.clientHeight&&(Z.scrollTop=se+fe-Z.clientHeight),se{const X=d.value.querySelector(`.${u.be("suggestion","wrap")}`);return[X,X.querySelectorAll(`.${u.be("suggestion","list")} li`)]},pe=Kv(h,X=>{var re;if((re=f.value)!=null&&re.isFocusInsideContent())return;const Z=v;v=!1,M.value&&(Z?L(new FocusEvent("blur",X)):q())}),ge=X=>{switch(Xt(X)){case Ce.up:X.preventDefault(),ae(g.value-1);break;case Ce.down:X.preventDefault(),ae(g.value+1);break;case Ce.enter:case Ce.numpadEnter:X.preventDefault(),D();break;case Ce.tab:q();break;case Ce.esc:j(X);break;case Ce.home:X.preventDefault(),ae(0);break;case Ce.end:X.preventDefault(),ae(p.value.length-1);break;case Ce.pageUp:X.preventDefault(),ae(Math.max(0,g.value-10));break;case Ce.pageDown:X.preventDefault(),ae(Math.min(p.value.length-1,g.value+10));break}};return Ht(()=>{pe==null||pe()}),mt(()=>{var Z;const X=(Z=c.value)==null?void 0:Z.ref;X&&([{key:"role",value:"textbox"},{key:"aria-autocomplete",value:"list"},{key:"aria-controls",value:_.value},{key:"aria-activedescendant",value:`${_.value}-item-${g.value}`}].forEach(({key:re,value:U})=>X.setAttribute(re,U)),m=X.hasAttribute("readonly"))}),t({highlightedIndex:g,activated:b,loading:w,inputRef:c,popperRef:f,suggestions:p,handleSelect:te,handleKeyEnter:D,focus:Q,blur:ee,close:q,highlight:ae,getData:N}),(X,Z)=>(S(),ie(i(Gn),{ref_key:"popperRef",ref:f,visible:M.value,placement:e.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[i(u).e("popper"),e.popperClass],"popper-style":e.popperStyle,"popper-options":e.popperOptions,"show-arrow":e.showArrow,teleported:e.teleported,"append-to":e.appendTo,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${i(u).namespace.value}-zoom-in-top`,persistent:"",role:"listbox",onBeforeShow:O,onHide:I},{content:ne(()=>[$("div",{ref_key:"regionRef",ref:d,class:P([i(u).b("suggestion"),i(u).is("loading",E.value)]),style:Ye({[e.fitInputWidth?"width":"minWidth"]:y.value,outline:"none"}),role:"region"},[X.$slots.header?(S(),A("div",{key:0,class:P(i(u).be("suggestion","header")),onClick:Z[0]||(Z[0]=Qe(()=>{},["stop"]))},[le(X.$slots,"header")],2)):oe("v-if",!0),G(i(Dl),{id:i(_),tag:"ul","wrap-class":i(u).be("suggestion","wrap"),"view-class":i(u).be("suggestion","list"),role:"listbox"},{default:ne(()=>[E.value?(S(),A("li",cY,[le(X.$slots,"loading",{},()=>[G(i(Be),{class:P(i(u).is("loading"))},{default:ne(()=>[G(i(wl))]),_:1},8,["class"])])])):(S(!0),A(He,{key:1},wt(p.value,(re,U)=>(S(),A("li",{id:`${i(_)}-item-${U}`,key:U,class:P({highlighted:g.value===U}),role:"option","aria-selected":g.value===U,onClick:J=>te(re)},[le(X.$slots,"default",{item:re},()=>[bt(Se(re[e.valueKey]),1)])],10,dY))),128))]),_:3},8,["id","wrap-class","view-class"]),X.$slots.footer?(S(),A("div",{key:1,class:P(i(u).be("suggestion","footer")),onClick:Z[1]||(Z[1]=Qe(()=>{},["stop"]))},[le(X.$slots,"footer")],2)):oe("v-if",!0)],6)]),default:ne(()=>[$("div",{ref_key:"listboxRef",ref:h,class:P([i(u).b(),X.$attrs.class]),style:Ye(k.value),role:"combobox","aria-haspopup":"listbox","aria-expanded":M.value,"aria-owns":i(_)},[G(i(aa),vt({ref_key:"inputRef",ref:c},vt(o.value,X.$attrs),{"model-value":e.modelValue,disabled:i(r),onInput:K,onChange:z,onFocus:V,onBlur:L,onClear:F,onKeydown:ge,onMousedown:H}),da({_:2},[X.$slots.prepend?{name:"prepend",fn:ne(()=>[le(X.$slots,"prepend")]),key:"0"}:void 0,X.$slots.append?{name:"append",fn:ne(()=>[le(X.$slots,"append")]),key:"1"}:void 0,X.$slots.prefix?{name:"prefix",fn:ne(()=>[le(X.$slots,"prefix")]),key:"2"}:void 0,X.$slots.suffix?{name:"suffix",fn:ne(()=>[le(X.$slots,"suffix")]),key:"3"}:void 0]),1040,["model-value","disabled"])],14,uY)]),_:3},8,["visible","placement","popper-class","popper-style","popper-options","show-arrow","teleported","append-to","transition"]))}}),pY=fY;const hY=ct(pY),vY=ke({size:{type:[Number,String],values:Fl,validator:e=>qe(e)},shape:{type:String,values:["circle","square"]},icon:{type:Ut},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:Y(String),default:"cover"}}),mY={error:e=>e instanceof Event},d9=Symbol("avatarGroupContextKey"),gY={size:{type:Y([Number,String]),values:Fl,validator:e=>qe(e)},shape:{type:Y(String),values:["circle","square"]},collapseAvatars:Boolean,collapseAvatarsTooltip:Boolean,maxCollapseAvatars:{type:Number,default:1},effect:{type:Y(String),default:"light"},placement:{type:Y(String),values:Co,default:"top"},popperClass:on.popperClass,popperStyle:on.popperStyle,collapseClass:{type:Y([String,Array,Object,Boolean]),default:void 0},collapseStyle:{type:Y([String,Array,Object,Boolean]),default:void 0}},yY=["src","alt","srcset"];var bY=W({name:"ElAvatar",__name:"avatar",props:vY,emits:mY,setup(e,{emit:t}){const n=e,a=t,l=De(d9,void 0),o=ye("avatar"),s=B(!1),r=x(()=>n.size??(l==null?void 0:l.size)),u=x(()=>n.shape??(l==null?void 0:l.shape)??"circle"),c=x(()=>{const{icon:m}=n,v=[o.b()];return Ne(r.value)&&v.push(o.m(r.value)),m&&v.push(o.m("icon")),u.value&&v.push(o.m(u.value)),v}),d=x(()=>qe(r.value)?o.cssVarBlock({size:bn(r.value)}):void 0),f=x(()=>({objectFit:n.fit}));ce(()=>[n.src,n.srcSet],()=>s.value=!1);function h(m){s.value=!0,a("error",m)}return(m,v)=>(S(),A("span",{class:P(c.value),style:Ye(d.value)},[(e.src||e.srcSet)&&!s.value?(S(),A("img",{key:0,src:e.src,alt:e.alt,srcset:e.srcSet,style:Ye(f.value),onError:h},null,44,yY)):e.icon?(S(),ie(i(Be),{key:1},{default:ne(()=>[(S(),ie(ft(e.icon)))]),_:1})):le(m.$slots,"default",{key:2})],6))}}),f9=bY,p9=W({name:"ElAvatarGroup",props:gY,setup(e,{slots:t}){const n=ye("avatar-group");return Et(d9,Dt({size:At(e,"size"),shape:At(e,"shape")})),()=>{var o;const a=tl(((o=t.default)==null?void 0:o.call(t))??[]);let l=a;if(e.collapseAvatars&&a.length>e.maxCollapseAvatars){l=a.slice(0,e.maxCollapseAvatars);const s=a.slice(e.maxCollapseAvatars);l.push(G(Gn,{popperClass:e.popperClass,popperStyle:e.popperStyle,placement:e.placement,effect:e.effect,disabled:!e.collapseAvatarsTooltip},{default:()=>G(f9,{size:e.size,shape:e.shape,class:e.collapseClass,style:e.collapseStyle},{default:()=>[bt("+ "),s.length]}),content:()=>G("div",{class:n.e("collapse-avatars")},[s.map((r,u)=>Yt(r)?ja(r,{key:r.key??u}):r)])}))}return G("div",{class:n.b()},[l])}}});const wY=ct(f9,{AvatarGroup:p9}),CY=mn(p9),_Y={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},SY={click:e=>e instanceof MouseEvent},xY=(e,t,n)=>{const a=kt(),l=kt(),o=B(!1),s=()=>{a.value&&(o.value=a.value.scrollTop>=e.visibilityHeight)},r=u=>{var c;(c=a.value)==null||c.scrollTo({top:0,behavior:"smooth"}),t("click",u)};return Wt(l,"scroll",H8(s,300,!0)),mt(()=>{l.value=document,a.value=document.documentElement,e.target&&(a.value=document.querySelector(e.target)??void 0,a.value||vn(n,`target does not exist: ${e.target}`),l.value=a.value),s()}),{visible:o,handleClick:r}},p3="ElBacktop";var kY=W({name:p3,__name:"backtop",props:_Y,emits:SY,setup(e,{emit:t}){const n=e,a=t,l=ye("backtop"),{handleClick:o,visible:s}=xY(n,a,p3),r=x(()=>({right:`${n.right}px`,bottom:`${n.bottom}px`}));return(u,c)=>(S(),ie(Yn,{name:`${i(l).namespace.value}-fade-in`},{default:ne(()=>[i(s)?(S(),A("div",{key:0,style:Ye(r.value),class:P(i(l).b()),onClick:c[0]||(c[0]=Qe((...d)=>i(o)&&i(o)(...d),["stop"]))},[le(u.$slots,"default",{},()=>[G(i(Be),{class:P(i(l).e("icon"))},{default:ne(()=>[G(i(N5))]),_:1},8,["class"])])],6)):oe("v-if",!0)]),_:3},8,["name"]))}}),EY=kY;const TY=ct(EY),MY=ke({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,badgeStyle:{type:Y([String,Object,Array,Boolean]),default:void 0},offset:{type:Y(Array),default:()=>[0,0]},badgeClass:{type:Y([String,Array,Object,Boolean]),default:void 0}});var OY=W({name:"ElBadge",__name:"badge",props:MY,setup(e,{expose:t}){const n=e,a=ye("badge"),l=x(()=>n.isDot?"":qe(n.value)&&qe(n.max)?n.max[{backgroundColor:n.color,marginRight:bn(-n.offset[0]),marginTop:bn(n.offset[1])},n.badgeStyle??{}]);return t({content:l}),(s,r)=>(S(),A("div",{class:P(i(a).b())},[le(s.$slots,"default"),G(Yn,{name:`${i(a).namespace.value}-zoom-in-center`},{default:ne(()=>[!e.hidden&&(l.value||e.isDot||s.$slots.content)?(S(),A("sup",{key:0,class:P([i(a).e("content"),i(a).em("content",e.type),i(a).is("fixed",!!s.$slots.default),i(a).is("dot",e.isDot),i(a).is("hide-zero",!e.showZero&&e.value===0),e.badgeClass]),style:Ye(o.value)},[le(s.$slots,"content",{value:l.value},()=>[bt(Se(l.value),1)])],6)):oe("v-if",!0)]),_:3},8,["name"])],2))}}),$Y=OY;const h9=ct($Y),NY=ke({separator:{type:String,default:"/"},separatorIcon:{type:Ut}}),v9=Symbol("breadcrumbKey"),AY=ke({to:{type:Y([String,Object]),default:""},replace:Boolean}),IY=["aria-label"];var PY=W({name:"ElBreadcrumb",__name:"breadcrumb",props:NY,setup(e){const{t}=St(),n=e,a=ye("breadcrumb"),l=B();return Et(v9,n),mt(()=>{const o=l.value.querySelectorAll(`.${a.e("item")}`);o.length&&o[o.length-1].setAttribute("aria-current","page")}),(o,s)=>(S(),A("div",{ref_key:"breadcrumb",ref:l,class:P(i(a).b()),"aria-label":i(t)("el.breadcrumb.label"),role:"navigation"},[le(o.$slots,"default")],10,IY))}}),RY=PY,VY=W({name:"ElBreadcrumbItem",__name:"breadcrumb-item",props:AY,setup(e){const t=e,n=st(),a=De(v9,void 0),l=ye("breadcrumb"),o=n.appContext.config.globalProperties.$router,s=()=>{!t.to||!o||(t.replace?o.replace(t.to):o.push(t.to))};return(r,u)=>{var c,d;return S(),A("span",{class:P(i(l).e("item"))},[$("span",{class:P([i(l).e("inner"),i(l).is("link",!!e.to)]),role:"link",onClick:s},[le(r.$slots,"default")],2),(c=i(a))!=null&&c.separatorIcon?(S(),ie(i(Be),{key:0,class:P(i(l).e("separator"))},{default:ne(()=>[(S(),ie(ft(i(a).separatorIcon)))]),_:1},8,["class"])):(S(),A("span",{key:1,class:P(i(l).e("separator")),role:"presentation"},Se((d=i(a))==null?void 0:d.separator),3))],2)}}}),m9=VY;const LY=ct(RY,{BreadcrumbItem:m9}),BY=mn(m9),t2=["default","primary","success","warning","info","danger","text",""],zY=["button","submit","reset"],n2=ke({size:zn,disabled:{type:Boolean,default:void 0},type:{type:String,values:t2,default:""},icon:{type:Ut},nativeType:{type:String,values:zY,default:"button"},loading:Boolean,loadingIcon:{type:Ut,default:()=>wl},plain:{type:Boolean,default:void 0},text:{type:Boolean,default:void 0},link:Boolean,bg:Boolean,autofocus:Boolean,round:{type:Boolean,default:void 0},circle:Boolean,dashed:{type:Boolean,default:void 0},color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:Y([String,Object]),default:"button"}}),DY={click:e=>e instanceof MouseEvent},g9=Symbol(),$f=B();function Zo(e,t=void 0){const n=st()?De(g9,$f):$f;return e?x(()=>{var a;return((a=n.value)==null?void 0:a[e])??t}):n}function U0(e,t){const n=Zo(),a=ye(e,x(()=>{var r;return((r=n.value)==null?void 0:r.namespace)||"el"})),l=St(x(()=>{var r;return(r=n.value)==null?void 0:r.locale})),o=Pc(x(()=>{var u;const r=(u=n.value)==null?void 0:u.zIndex;return _n(r)||Number.isNaN(r)?c5:r})),s=x(()=>{var r;return i(t)||((r=n.value)==null?void 0:r.size)||""});return B1(x(()=>i(n)||{})),{ns:a,locale:l,zIndex:o,size:s}}const B1=(e,t,n=!1)=>{const a=!!st(),l=a?Zo():void 0,o=(t==null?void 0:t.provide)??(a?Et:void 0);if(!o){jt("provideGlobalConfig","provideGlobalConfig() can only be used inside setup().");return}const s=x(()=>{const r=i(e);return l!=null&&l.value?HY(l.value,r):r});return o(g9,s),o(qw,x(()=>s.value.locale)),o(Uw,x(()=>s.value.namespace)),o(d5,x(()=>s.value.zIndex)),o(x5,{size:x(()=>s.value.size||"")}),o(E5,x(()=>({emptyValues:s.value.emptyValues,valueOnClear:s.value.valueOnClear}))),(n||!$f.value)&&($f.value=s.value),s},HY=(e,t)=>{const n=[...new Set([...Ju(e),...Ju(t)])],a={};for(const l of n)a[l]=t[l]!==void 0?t[l]:e[l];return a},FY=ke({a11y:{type:Boolean,default:!0},locale:{type:Y(Object)},size:zn,button:{type:Y(Object)},card:{type:Y(Object)},dialog:{type:Y(Object)},link:{type:Y(Object)},experimentalFeatures:{type:Y(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:Y(Object)},zIndex:Number,namespace:{type:String,default:"el"},table:{type:Y(Object)},...$r}),ma={placement:"top"},KY=W({name:"ElConfigProvider",props:FY,setup(e,{slots:t}){const n=B1(e);return ce(()=>e.message,a=>{var l;Object.assign(ma,((l=n==null?void 0:n.value)==null?void 0:l.message)??{},a??{})},{immediate:!0,deep:!0}),()=>le(t,"default",{config:n==null?void 0:n.value})}}),WY=ct(KY),y9=Symbol("buttonGroupContextKey"),jY=(e,t)=>{lo({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},x(()=>e.type==="text"));const n=De(y9,void 0),a=Zo("button"),{form:l}=Xn(),o=Pn(x(()=>n==null?void 0:n.size)),s=hn(),r=B(),u=wn(),c=x(()=>{var b;return e.type||(n==null?void 0:n.type)||((b=a.value)==null?void 0:b.type)||""}),d=x(()=>{var b;return e.autoInsertSpace??((b=a.value)==null?void 0:b.autoInsertSpace)??!1}),f=x(()=>{var b;return e.plain??((b=a.value)==null?void 0:b.plain)??!1}),h=x(()=>{var b;return e.round??((b=a.value)==null?void 0:b.round)??!1}),m=x(()=>{var b;return e.text??((b=a.value)==null?void 0:b.text)??!1}),v=x(()=>{var b;return e.dashed??((b=a.value)==null?void 0:b.dashed)??!1}),p=x(()=>e.tag==="button"?{ariaDisabled:s.value||e.loading,disabled:s.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),g=x(()=>{var C;const b=(C=u.default)==null?void 0:C.call(u);if(d.value&&(b==null?void 0:b.length)===1){const w=b[0];if((w==null?void 0:w.type)===Ml){const _=w.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(_.trim())}}return!1});return{_disabled:s,_size:o,_type:c,_ref:r,_props:p,_plain:f,_round:h,_text:m,_dashed:v,shouldAddSpace:g,handleClick:b=>{if(s.value||e.loading){b.stopPropagation();return}e.nativeType==="reset"&&(l==null||l.resetFields()),t("click",b)}}};function ca(e,t){qY(e)&&(e="100%");const n=UY(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/t:e=e%t/t,e)}function gd(e){return Math.min(1,Math.max(0,e))}function qY(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function UY(e){return typeof e=="string"&&e.indexOf("%")!==-1}function b9(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function yd(e){return Number(e)<=1?`${Number(e)*100}%`:e}function Ys(e){return e.length===1?"0"+e:String(e)}function YY(e,t,n){return{r:ca(e,255)*255,g:ca(t,255)*255,b:ca(n,255)*255}}function h3(e,t,n){e=ca(e,255),t=ca(t,255),n=ca(n,255);const a=Math.max(e,t,n),l=Math.min(e,t,n);let o=0,s=0;const r=(a+l)/2;if(a===l)s=0,o=0;else{const u=a-l;switch(s=r>.5?u/(2-a-l):u/(a+l),a){case e:o=(t-n)/u+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function GY(e,t,n){let a,l,o;if(e=ca(e,360),t=ca(t,100),n=ca(n,100),t===0)l=n,o=n,a=n;else{const s=n<.5?n*(1+t):n+t-n*t,r=2*n-s;a=Ip(r,s,e+1/3),l=Ip(r,s,e),o=Ip(r,s,e-1/3)}return{r:a*255,g:l*255,b:o*255}}function v3(e,t,n){e=ca(e,255),t=ca(t,255),n=ca(n,255);const a=Math.max(e,t,n),l=Math.min(e,t,n);let o=0;const s=a,r=a-l,u=a===0?0:r/a;if(a===l)o=0;else{switch(a){case e:o=(t-n)/r+(t>16,g:(e&65280)>>8,b:e&255}}const a2={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function tG(e){let t={r:0,g:0,b:0},n=1,a=null,l=null,o=null,s=!1,r=!1;return typeof e=="string"&&(e=lG(e)),typeof e=="object"&&(Ya(e.r)&&Ya(e.g)&&Ya(e.b)?(t=YY(e.r,e.g,e.b),s=!0,r=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Ya(e.h)&&Ya(e.s)&&Ya(e.v)?(a=yd(e.s),l=yd(e.v),t=XY(e.h,a,l),s=!0,r="hsv"):Ya(e.h)&&Ya(e.s)&&Ya(e.l)?(a=yd(e.s),o=yd(e.l),t=GY(e.h,a,o),s=!0,r="hsl"):Ya(e.c)&&Ya(e.m)&&Ya(e.y)&&Ya(e.k)&&(t=ZY(e.c,e.m,e.y,e.k),s=!0,r="cmyk"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=b9(n),{ok:s,format:e.format||r,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}const nG="[-\\+]?\\d+%?",aG="[-\\+]?\\d*\\.\\d+%?",ms="(?:"+aG+")|(?:"+nG+")",Pp="[\\s|\\(]+("+ms+")[,|\\s]+("+ms+")[,|\\s]+("+ms+")\\s*\\)?",bd="[\\s|\\(]+("+ms+")[,|\\s]+("+ms+")[,|\\s]+("+ms+")[,|\\s]+("+ms+")\\s*\\)?",Xa={hex:/^[0-9a-fA-F]+$/,CSS_UNIT:new RegExp(ms),rgb:new RegExp("rgb"+Pp),rgba:new RegExp("rgba"+bd),hsl:new RegExp("hsl"+Pp),hsla:new RegExp("hsla"+bd),hsv:new RegExp("hsv"+Pp),hsva:new RegExp("hsva"+bd),cmyk:new RegExp("cmyk"+bd),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function lG(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;let t=!1;if(a2[e])e=a2[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let n;if(typeof e=="string"&&e.length<=9&&(e.startsWith("#")||Xa.hex.test(e))){if(n=Xa.hex8.exec(e),n)return{r:Ga(n[1]),g:Ga(n[2]),b:Ga(n[3]),a:y3(n[4]),format:t?"name":"hex8"};if(n=Xa.hex6.exec(e),n)return{r:Ga(n[1]),g:Ga(n[2]),b:Ga(n[3]),format:t?"name":"hex"};if(n=Xa.hex4.exec(e),n)return{r:Ga(n[1]+n[1]),g:Ga(n[2]+n[2]),b:Ga(n[3]+n[3]),a:y3(n[4]+n[4]),format:t?"name":"hex8"};if(n=Xa.hex3.exec(e),n)return{r:Ga(n[1]+n[1]),g:Ga(n[2]+n[2]),b:Ga(n[3]+n[3]),format:t?"name":"hex"}}return n=Xa.rgb.exec(e),n?{r:n[1],g:n[2],b:n[3]}:(n=Xa.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Xa.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Xa.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Xa.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Xa.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Xa.cmyk.exec(e),n?{c:n[1],m:n[2],y:n[3],k:n[4]}:!1))))))}function Ya(e){return typeof e=="number"?!Number.isNaN(e):Xa.CSS_UNIT.test(e)}class kn{constructor(t="",n={}){if(t instanceof kn)return t;typeof t=="number"&&(t=eG(t)),this.originalInput=t;const a=tG(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=n.format??a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}isDark(){return this.getBrightness()<128}isLight(){return!this.isDark()}getBrightness(){const t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3}getLuminance(){const t=this.toRgb();let n,a,l;const o=t.r/255,s=t.g/255,r=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),s<=.03928?a=s/12.92:a=Math.pow((s+.055)/1.055,2.4),r<=.03928?l=r/12.92:l=Math.pow((r+.055)/1.055,2.4),.2126*n+.7152*a+.0722*l}getAlpha(){return this.a}setAlpha(t){return this.a=b9(t),this.roundA=Math.round(100*this.a)/100,this}isMonochrome(){const{s:t}=this.toHsl();return t===0}toHsv(){const t=v3(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}}toHsvString(){const t=v3(this.r,this.g,this.b),n=Math.round(t.h*360),a=Math.round(t.s*100),l=Math.round(t.v*100);return this.a===1?`hsv(${n}, ${a}%, ${l}%)`:`hsva(${n}, ${a}%, ${l}%, ${this.roundA})`}toHsl(){const t=h3(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}}toHslString(){const t=h3(this.r,this.g,this.b),n=Math.round(t.h*360),a=Math.round(t.s*100),l=Math.round(t.l*100);return this.a===1?`hsl(${n}, ${a}%, ${l}%)`:`hsla(${n}, ${a}%, ${l}%, ${this.roundA})`}toHex(t=!1){return m3(this.r,this.g,this.b,t)}toHexString(t=!1){return"#"+this.toHex(t)}toHex8(t=!1){return JY(this.r,this.g,this.b,this.a,t)}toHex8String(t=!1){return"#"+this.toHex8(t)}toHexShortString(t=!1){return this.a===1?this.toHexString(t):this.toHex8String(t)}toRgb(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}}toRgbString(){const t=Math.round(this.r),n=Math.round(this.g),a=Math.round(this.b);return this.a===1?`rgb(${t}, ${n}, ${a})`:`rgba(${t}, ${n}, ${a}, ${this.roundA})`}toPercentageRgb(){const t=n=>`${Math.round(ca(n,255)*100)}%`;return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}}toPercentageRgbString(){const t=n=>Math.round(ca(n,255)*100);return this.a===1?`rgb(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%)`:`rgba(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%, ${this.roundA})`}toCmyk(){return{...g3(this.r,this.g,this.b)}}toCmykString(){const{c:t,m:n,y:a,k:l}=g3(this.r,this.g,this.b);return`cmyk(${t}, ${n}, ${a}, ${l})`}toName(){if(this.a===0)return"transparent";if(this.a<1)return!1;const t="#"+m3(this.r,this.g,this.b,!1);for(const[n,a]of Object.entries(a2))if(t===a)return n;return!1}toString(t){const n=!!t;t=t??this.format;let a=!1;const l=this.a<1&&this.a>=0;return!n&&l&&(t.startsWith("hex")||t==="name")?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(a=this.toRgbString()),t==="prgb"&&(a=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(a=this.toHexString()),t==="hex3"&&(a=this.toHexString(!0)),t==="hex4"&&(a=this.toHex8String(!0)),t==="hex8"&&(a=this.toHex8String()),t==="name"&&(a=this.toName()),t==="hsl"&&(a=this.toHslString()),t==="hsv"&&(a=this.toHsvString()),t==="cmyk"&&(a=this.toCmykString()),a||this.toHexString())}toNumber(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)}clone(){return new kn(this.toString())}lighten(t=10){const n=this.toHsl();return n.l+=t/100,n.l=gd(n.l),new kn(n)}brighten(t=10){const n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new kn(n)}darken(t=10){const n=this.toHsl();return n.l-=t/100,n.l=gd(n.l),new kn(n)}tint(t=10){return this.mix("white",t)}shade(t=10){return this.mix("black",t)}desaturate(t=10){const n=this.toHsl();return n.s-=t/100,n.s=gd(n.s),new kn(n)}saturate(t=10){const n=this.toHsl();return n.s+=t/100,n.s=gd(n.s),new kn(n)}greyscale(){return this.desaturate(100)}spin(t){const n=this.toHsl(),a=(n.h+t)%360;return n.h=a<0?360+a:a,new kn(n)}mix(t,n=50){const a=this.toRgb(),l=new kn(t).toRgb(),o=n/100,s={r:(l.r-a.r)*o+a.r,g:(l.g-a.g)*o+a.g,b:(l.b-a.b)*o+a.b,a:(l.a-a.a)*o+a.a};return new kn(s)}analogous(t=6,n=30){const a=this.toHsl(),l=360/n,o=[this];for(a.h=(a.h-(l*t>>1)+720)%360;--t;)a.h=(a.h+l)%360,o.push(new kn(a));return o}complement(){const t=this.toHsl();return t.h=(t.h+180)%360,new kn(t)}monochromatic(t=6){const n=this.toHsv(),{h:a}=n,{s:l}=n;let{v:o}=n;const s=[],r=1/t;for(;t--;)s.push(new kn({h:a,s:l,v:o})),o=(o+r)%1;return s}splitcomplement(){const t=this.toHsl(),{h:n}=t;return[this,new kn({h:(n+72)%360,s:t.s,l:t.l}),new kn({h:(n+216)%360,s:t.s,l:t.l})]}onBackground(t){const n=this.toRgb(),a=new kn(t).toRgb(),l=n.a+a.a*(1-n.a);return new kn({r:(n.r*n.a+a.r*a.a*(1-n.a))/l,g:(n.g*n.a+a.g*a.a*(1-n.a))/l,b:(n.b*n.a+a.b*a.a*(1-n.a))/l,a:l})}triad(){return this.polyad(3)}tetrad(){return this.polyad(4)}polyad(t){const n=this.toHsl(),{h:a}=n,l=[this],o=360/t;for(let s=1;s{let a={},l=e.color;if(l){const o=l.match(/var\((.*?)\)/);o&&(l=window.getComputedStyle(window.document.documentElement).getPropertyValue(o[1]));const s=new kn(l),r=e.dark?s.tint(20).toString():Gl(s,20);if(e.plain)a=n.cssVarBlock({"bg-color":e.dark?Gl(s,90):s.tint(90).toString(),"text-color":l,"border-color":e.dark?Gl(s,50):s.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":l,"hover-border-color":l,"active-bg-color":r,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":r}),t.value&&(a[n.cssVarBlockName("disabled-bg-color")]=e.dark?Gl(s,90):s.tint(90).toString(),a[n.cssVarBlockName("disabled-text-color")]=e.dark?Gl(s,50):s.tint(50).toString(),a[n.cssVarBlockName("disabled-border-color")]=e.dark?Gl(s,80):s.tint(80).toString());else if(e.link||e.text){const u=e.dark?Gl(s,30):s.tint(30).toString();if(a=n.cssVarBlock({"text-color":l,"hover-text-color":u,"active-text-color":r}),e.link&&(a[n.cssVarBlockName("hover-link-text-color")]=u,a[n.cssVarBlockName("active-color")]=r),t.value){const c=e.dark?Gl(s,50):s.tint(50).toString();a[n.cssVarBlockName("disabled-bg-color")]="transparent",a[n.cssVarBlockName("disabled-text-color")]=c,a[n.cssVarBlockName("disabled-border-color")]="transparent"}}else{const u=e.dark?Gl(s,30):s.tint(30).toString(),c=s.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(a=n.cssVarBlock({"bg-color":l,"text-color":c,"border-color":l,"hover-bg-color":u,"hover-text-color":c,"hover-border-color":u,"active-bg-color":r,"active-border-color":r}),t.value){const d=e.dark?Gl(s,50):s.tint(50).toString();a[n.cssVarBlockName("disabled-bg-color")]=d,a[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,a[n.cssVarBlockName("disabled-border-color")]=d}}}return a})}var sG=W({name:"ElButton",__name:"button",props:n2,emits:DY,setup(e,{expose:t,emit:n}){const a=e,l=n,o=oG(a),s=ye("button"),{_ref:r,_size:u,_type:c,_disabled:d,_props:f,_plain:h,_round:m,_text:v,_dashed:p,shouldAddSpace:g,handleClick:y}=jY(a,l),b=x(()=>[s.b(),s.m(c.value),s.m(u.value),s.is("disabled",d.value),s.is("loading",a.loading),s.is("plain",h.value),s.is("round",m.value),s.is("circle",a.circle),s.is("text",v.value),s.is("dashed",p.value),s.is("link",a.link),s.is("has-bg",a.bg)]);return t({ref:r,size:u,type:c,disabled:d,shouldAddSpace:g}),(C,w)=>(S(),ie(ft(e.tag),vt({ref_key:"_ref",ref:r},i(f),{class:b.value,style:i(o),onClick:i(y)}),{default:ne(()=>[e.loading?(S(),A(He,{key:0},[C.$slots.loading?le(C.$slots,"loading",{key:0}):(S(),ie(i(Be),{key:1,class:P(i(s).is("loading"))},{default:ne(()=>[(S(),ie(ft(e.loadingIcon)))]),_:1},8,["class"]))],64)):e.icon||C.$slots.icon?(S(),ie(i(Be),{key:1},{default:ne(()=>[e.icon?(S(),ie(ft(e.icon),{key:0})):le(C.$slots,"icon",{key:1})]),_:3})):oe("v-if",!0),C.$slots.default?(S(),A("span",{key:2,class:P({[i(s).em("text","expand")]:i(g)})},[le(C.$slots,"default")],2)):oe("v-if",!0)]),_:3},16,["class","style","onClick"]))}}),rG=sG;const iG={size:n2.size,type:n2.type,direction:{type:Y(String),values:["horizontal","vertical"],default:"horizontal"}};var uG=W({name:"ElButtonGroup",__name:"button-group",props:iG,setup(e){const t=e;Et(y9,Dt({size:At(t,"size"),type:At(t,"type")}));const n=ye("button");return(a,l)=>(S(),A("div",{class:P([i(n).b("group"),i(n).bm("group",t.direction)])},[le(a.$slots,"default")],2))}}),w9=uG;const Un=ct(rG,{ButtonGroup:w9}),C9=mn(w9),cG=e=>ve(e)&&e.length===2&&e.every(t=>Ss(t)),dG=ke({modelValue:{type:Date},range:{type:Y(Array),validator:cG},controllerType:{type:String,values:["button","select"],default:"button"},formatter:{type:Y(Function)}}),fG={[it]:e=>Ss(e),[In]:e=>Ss(e)},b3=["hours","minutes","seconds"],Ul="EP_PICKER_BASE",z1="ElPopperOptions",_9=Symbol("commonPickerContextKey"),w3="HH:mm:ss",qr="YYYY-MM-DD",pG={date:qr,dates:qr,week:"gggg[w]ww",year:"YYYY",years:"YYYY",month:"YYYY-MM",months:"YYYY-MM",quarter:"YYYY-[Q]Q",quarters:"YYYY-[Q]Q",datetime:`${qr} ${w3}`,monthrange:"YYYY-MM",yearrange:"YYYY",quarterrange:"YYYY-[Q]Q",daterange:qr,datetimerange:`${qr} ${w3}`};var S9={exports:{}};(function(e,t){(function(n,a){e.exports=a()})(bo,function(){var n=1e3,a=6e4,l=36e5,o="millisecond",s="second",r="minute",u="hour",c="day",d="week",f="month",h="quarter",m="year",v="date",p="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(K){var H=["th","st","nd","rd"],z=K%100;return"["+K+(H[(z-20)%10]||H[z]||H[0])+"]"}},C=function(K,H,z){var V=String(K);return!V||V.length>=H?K:""+Array(H+1-V.length).join(z)+K},w={s:C,z:function(K){var H=-K.utcOffset(),z=Math.abs(H),V=Math.floor(z/60),L=z%60;return(H<=0?"+":"-")+C(V,2,"0")+":"+C(L,2,"0")},m:function K(H,z){if(H.date()1)return K(D[0])}else{var j=H.name;k[j]=H,L=j}return!V&&L&&(_=L),L||!V&&_},O=function(K,H){if(E(K))return K.clone();var z=typeof H=="object"?H:{};return z.date=K,z.args=arguments,new N(z)},I=w;I.l=T,I.i=E,I.w=function(K,H){return O(K,{locale:H.$L,utc:H.$u,x:H.$x,$offset:H.$offset})};var N=function(){function K(z){this.$L=T(z.locale,null,!0),this.parse(z),this.$x=this.$x||z.x||{},this[M]=!0}var H=K.prototype;return H.parse=function(z){this.$d=function(V){var L=V.date,F=V.utc;if(L===null)return new Date(NaN);if(I.u(L))return new Date;if(L instanceof Date)return new Date(L);if(typeof L=="string"&&!/Z$/i.test(L)){var D=L.match(g);if(D){var j=D[2]-1||0,q=(D[7]||"0").substring(0,3);return F?new Date(Date.UTC(D[1],j,D[3]||1,D[4]||0,D[5]||0,D[6]||0,q)):new Date(D[1],j,D[3]||1,D[4]||0,D[5]||0,D[6]||0,q)}}return new Date(L)}(z),this.init()},H.init=function(){var z=this.$d;this.$y=z.getFullYear(),this.$M=z.getMonth(),this.$D=z.getDate(),this.$W=z.getDay(),this.$H=z.getHours(),this.$m=z.getMinutes(),this.$s=z.getSeconds(),this.$ms=z.getMilliseconds()},H.$utils=function(){return I},H.isValid=function(){return this.$d.toString()!==p},H.isSame=function(z,V){var L=O(z);return this.startOf(V)<=L&&L<=this.endOf(V)},H.isAfter=function(z,V){return O(z)[e>0?e-1:void 0,e,eArray.from(Array.from({length:e}).keys()),x9=e=>e.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),k9=e=>e.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),C3=function(e,t){const n=Ss(e),a=Ss(t);return n&&a?e.getTime()===t.getTime():!n&&!a?e===t:!1},E9=function(e,t){const n=ve(e),a=ve(t);return n&&a?e.length!==t.length?!1:e.every((l,o)=>C3(l,t[o])):!n&&!a?C3(e,t):!1},_3=function(e,t,n){const a=$a(t)||t==="x"?et(e).locale(n):et(e,t).locale(n);return a.isValid()?a:void 0},S3=function(e,t,n){return $a(t)?e:t==="x"?+e:et(e).locale(n).format(t)},Vp=(e,t)=>{const n=[],a=t==null?void 0:t();for(let l=0;lve(e)?e.map(t=>t.toDate()):e.toDate(),D1=ke({disabledHours:{type:Y(Function)},disabledMinutes:{type:Y(Function)},disabledSeconds:{type:Y(Function)}}),T9=ke({visible:Boolean,actualVisible:{type:Boolean,default:void 0},format:{type:String,default:""}}),H1=ke({automaticDropdown:{type:Boolean,default:!0},id:{type:Y([Array,String])},name:{type:Y([Array,String])},popperClass:on.popperClass,popperStyle:on.popperStyle,format:String,valueFormat:String,dateFormat:String,timeFormat:String,type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:Y([String,Object]),default:ql},editable:{type:Boolean,default:!0},saveOnBlur:{type:Boolean,default:!0},prefixIcon:{type:Y([String,Object]),default:""},size:zn,readonly:Boolean,disabled:{type:Boolean,default:void 0},placeholder:{type:String,default:""},popperOptions:{type:Y(Object),default:()=>({})},modelValue:{type:Y([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:Y([Date,Array])},defaultTime:{type:Y([Date,Array])},isRange:Boolean,...D1,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,tabindex:{type:Y([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean,singlePanel:Boolean,placement:{type:Y(String),values:Co,default:"bottom"},fallbackPlacements:{type:Y(Array),default:["bottom","top","right","left"]},...$r,...xa(["ariaLabel"]),showNow:{type:Boolean,default:!0},showConfirm:{type:Boolean,default:!0},showFooter:{type:Boolean,default:!0},showWeekNumber:Boolean}),vG=ke({id:{type:Y(Array)},name:{type:Y(Array)},modelValue:{type:Y([Array,String])},startPlaceholder:String,endPlaceholder:String,disabled:Boolean}),M9=(e,t)=>{const{lang:n}=St(),a=B(!1),l=B(!1),o=B(null),s=x(()=>{const{modelValue:v}=e;return!v||ve(v)&&!v.filter(Boolean).length}),r=v=>{if(!E9(e.modelValue,v)){let p;ve(v)?p=v.map(g=>S3(g,e.valueFormat,n.value)):v&&(p=S3(v,e.valueFormat,n.value)),t(it,v&&p,n.value)}},u=x(()=>{let v;if(s.value?c.value.getDefaultValue&&(v=c.value.getDefaultValue()):ve(e.modelValue)?v=e.modelValue.map(p=>_3(p,e.valueFormat,n.value)):v=_3(e.modelValue??"",e.valueFormat,n.value),c.value.getRangeAvailableTime){const p=c.value.getRangeAvailableTime(v);gn(p,v)||(v=p,s.value||r(Dd(v)))}return ve(v)&&v.some(p=>!p)&&(v=[]),v}),c=B({});return{parsedValue:u,pickerActualVisible:l,pickerOptions:c,pickerVisible:a,userInput:o,valueIsEmpty:s,emitInput:r,onCalendarChange:v=>{t("calendar-change",v)},onPanelChange:(v,p,g)=>{t("panel-change",v,p,g)},onPick:(v="",p=!1)=>{a.value=p;let g;ve(v)?g=v.map(y=>y.toDate()):g=v&&v.toDate(),o.value=null,r(g)},onSetPickerOption:v=>{c.value[v[0]]=v[1],c.value.panelReady=!0}}},mG=["id","name","placeholder","value","disabled"],gG=["id","name","placeholder","value","disabled"];var yG=W({name:"PickerRangeTrigger",inheritAttrs:!1,__name:"picker-range-trigger",props:vG,emits:["mouseenter","mouseleave","click","touchstart","focus","blur","startInput","endInput","startChange","endChange"],setup(e,{expose:t,emit:n}){const a=e,l=n,{formItem:o}=Xn(),{inputId:s}=Ua(Dt({id:x(()=>{var E;return(E=a.id)==null?void 0:E[0]})}),{formItemContext:o}),r=P0(),u=ye("date"),c=ye("range"),d=B(),f=B(),{wrapperRef:h,isFocused:m}=Jo(d,{disabled:x(()=>a.disabled)}),v=E=>{l("click",E)},p=E=>{l("mouseenter",E)},g=E=>{l("mouseleave",E)},y=E=>{l("touchstart",E)},b=E=>{l("startInput",E)},C=E=>{l("endInput",E)},w=E=>{l("startChange",E)},_=E=>{l("endChange",E)};return t({focus:()=>{var E;(E=d.value)==null||E.focus()},blur:()=>{var E,T;(E=d.value)==null||E.blur(),(T=f.value)==null||T.blur()}}),(E,T)=>(S(),A("div",{ref_key:"wrapperRef",ref:h,class:P([i(u).is("active",i(m)),E.$attrs.class]),style:Ye(E.$attrs.style),onClick:v,onMouseenter:p,onMouseleave:g,onTouchstartPassive:y},[le(E.$slots,"prefix"),$("input",vt(i(r),{id:i(s),ref_key:"inputRef",ref:d,name:E.name&&E.name[0],placeholder:E.startPlaceholder,value:E.modelValue&&E.modelValue[0],class:i(c).b("input"),disabled:E.disabled,onInput:b,onChange:w}),null,16,mG),le(E.$slots,"range-separator"),$("input",vt(i(r),{id:E.id&&E.id[1],ref_key:"endInputRef",ref:f,name:E.name&&E.name[1],placeholder:E.endPlaceholder,value:E.modelValue&&E.modelValue[1],class:i(c).b("input"),disabled:E.disabled,onInput:C,onChange:_}),null,16,gG),le(E.$slots,"suffix")],38))}}),bG=yG,wG=W({name:"Picker",__name:"picker",props:H1,emits:[it,Ct,"focus","blur","clear","calendar-change","panel-change","visible-change","keydown"],setup(e,{expose:t,emit:n}){const a=e,l=n,o=Hl(),s=ye("date"),r=ye("input"),u=ye("range"),{formItem:c}=Xn(),d=De(z1,{}),f=Bc(a,null),h=B(),m=B(),v=B(null);let p=!1;const g=hn(),y=M9(a,l),{parsedValue:b,pickerActualVisible:C,userInput:w,pickerVisible:_,pickerOptions:k,valueIsEmpty:M,emitInput:E,onPick:T,onSetPickerOption:O,onCalendarChange:I,onPanelChange:N}=y,{isFocused:R,handleFocus:K,handleBlur:H}=Jo(m,{disabled:g,beforeFocus(){return a.readonly},afterFocus(){a.automaticDropdown&&(_.value=!0)},beforeBlur(de){var je;return!p&&((je=h.value)==null?void 0:je.isFocusInsideContent(de))},afterBlur(){var de,je;X.value&&!a.saveOnBlur?M.value||(je=(de=k.value).handleCancel)==null||je.call(de):Ge(),_.value=!1,p=!1,a.validateEvent&&(c==null||c.validate("blur").catch(ut))}}),z=B(!1),V=x(()=>[s.b("editor"),s.bm("editor",a.type),r.e("wrapper"),s.is("disabled",g.value),s.is("active",_.value),u.b("editor"),Ee?u.bm("editor",Ee.value):"",o.class]),L=x(()=>[r.e("icon"),u.e("close-icon"),fe.value?"":u.em("close-icon","hidden")]);ce(_,de=>{de?Pe(()=>{de&&(v.value=a.modelValue)}):(w.value=null,Pe(()=>{F(a.modelValue)}))});const F=(de,je)=>{(je||!E9(de,v.value))&&(l(Ct,de),je&&(v.value=de),a.validateEvent&&(c==null||c.validate("change").catch(ut)))},D=de=>{l("keydown",de)},j=x(()=>m.value?Array.from(m.value.$el.querySelectorAll("input")):[]),q=(de,je,Ie)=>{const tt=j.value;tt.length&&(!Ie||Ie==="min"?(tt[0].setSelectionRange(de,je),tt[0].focus()):Ie==="max"&&(tt[1].setSelectionRange(de,je),tt[1].focus()))},Q=()=>{C.value=!0},ee=()=>{l("visible-change",!0)},te=()=>{C.value=!1,_.value=!1,l("visible-change",!1)},ae=()=>{_.value=!0},ue=()=>{_.value=!1},pe=x(()=>{const de=Xe(b.value);return ve(w.value)?[w.value[0]??(de&&de[0])??"",w.value[1]??(de&&de[1])??""]:w.value!==null?w.value:X.value&&M.value&&!a.saveOnBlur||!X.value&&M.value||!_.value&&M.value?"":de?Z.value||re.value||U.value||J.value?de.join(", "):de:""}),ge=x(()=>a.type.includes("time")),X=x(()=>a.type.startsWith("time")),Z=x(()=>a.type==="dates"),re=x(()=>a.type==="months"),U=x(()=>a.type==="years"),J=x(()=>a.type==="quarters"),se=x(()=>a.prefixIcon||(ge.value?T1:$5)),fe=x(()=>a.clearable&&!g.value&&!a.readonly&&!M.value&&(z.value||R.value)),me=de=>{a.readonly||g.value||(fe.value&&(de==null||de.stopPropagation(),k.value.handleClear?k.value.handleClear():E(f.valueOnClear.value),F(f.valueOnClear.value,!0),te()),l("clear"))},we=async de=>{var je;a.readonly||g.value||(((je=de.target)==null?void 0:je.tagName)!=="INPUT"||R.value||!a.automaticDropdown)&&(_.value=!0)},Ve=()=>{a.readonly||g.value||!M.value&&a.clearable&&(z.value=!0)},Ae=()=>{z.value=!1},xe=de=>{var je;a.readonly||g.value||(((je=de.touches[0].target)==null?void 0:je.tagName)!=="INPUT"||R.value||!a.automaticDropdown)&&(_.value=!0)},he=x(()=>a.type.includes("range")),Ee=Pn(),$e=x(()=>{var de,je;return(je=(de=i(h))==null?void 0:de.popperRef)==null?void 0:je.contentRef}),Re=Kv(m,de=>{const je=i($e),Ie=Vn(m);je&&(de.target===je||de.composedPath().includes(je))||de.target===Ie||Ie&&de.composedPath().includes(Ie)||(_.value=!1)});Ht(()=>{Re==null||Re()});const Ge=()=>{if(X.value&&!a.saveOnBlur)return;const de=ve(w.value)&&w.value.every(je=>je==="");if(w.value&&!de){const je=Ze(pe.value);je&&(gt(je)&&E(Dd(je)),w.value=null)}(w.value===""||de)&&(E(f.valueOnClear.value),F(f.valueOnClear.value,!0),w.value=null)},Ze=de=>de?k.value.parseUserInput(de):null,Xe=de=>de?ve(de)?de.map(je=>je.format(a.format)):de.format(a.format):null,gt=de=>k.value.isValidValue(de),Tt=async de=>{if(a.readonly||g.value)return;const je=Xt(de);if(D(de),je===Ce.esc){_.value===!0&&(_.value=!1,de.preventDefault(),de.stopPropagation());return}if(je===Ce.down&&(k.value.handleFocusPicker&&(de.preventDefault(),de.stopPropagation()),_.value===!1&&(_.value=!0,await Pe()),k.value.handleFocusPicker)){k.value.handleFocusPicker();return}if(je===Ce.tab){p=!0;return}if(je===Ce.enter||je===Ce.numpadEnter){_.value?w.value===null||w.value===""||gt(Ze(pe.value))?(Ge(),_.value=!1):gt(Ze(pe.value))||jt("Picker",`Invalid user input: ${pe.value}. Please check the format of the input.`):_.value=!0,de.preventDefault(),de.stopPropagation();return}if(w.value){de.stopPropagation();return}k.value.handleKeydownInput&&k.value.handleKeydownInput(de)},Pt=de=>{w.value=de,_.value||(_.value=!0)},$t=de=>{const je=de.target;w.value?w.value=[je.value,w.value[1]]:w.value=[je.value,null]},Rt=de=>{const je=de.target;w.value?w.value=[w.value[0],je.value]:w.value=[null,je.value]},tn=()=>{var tt;const de=w.value,je=Ze(de&&de[0]),Ie=i(b);if(je&&je.isValid()){w.value=[Xe(je),((tt=pe.value)==null?void 0:tt[1])||null];const ot=[je,Ie&&(Ie[1]||null)];gt(ot)&&(E(Dd(ot)),w.value=null)}},Me=()=>{var tt;const de=i(w),je=Ze(de&&de[1]),Ie=i(b);if(je&&je.isValid()){w.value=[((tt=i(pe))==null?void 0:tt[0])||null,Xe(je)];const ot=[Ie&&Ie[0],je];gt(ot)&&(E(Dd(ot)),w.value=null)}},be=()=>{var de;(de=m.value)==null||de.focus()},We=()=>{var de;(de=m.value)==null||de.blur()};return Et(Ul,{props:a,emptyValues:f}),Et(_9,y),t({focus:be,blur:We,handleOpen:ae,handleClose:ue,onPick:T}),(de,je)=>(S(),ie(i(Gn),vt({ref_key:"refPopper",ref:h,visible:i(_),effect:"light",pure:"",trigger:"click"},de.$attrs,{role:"dialog",teleported:"",transition:`${i(s).namespace.value}-zoom-in-top`,"popper-class":[`${i(s).namespace.value}-picker__popper`,de.popperClass],"popper-style":de.popperStyle,"popper-options":i(d),"fallback-placements":de.fallbackPlacements,"gpu-acceleration":!1,placement:de.placement,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:Q,onShow:ee,onHide:te}),{default:ne(()=>[he.value?(S(),ie(bG,{key:1,id:de.id,ref_key:"inputRef",ref:m,"model-value":pe.value,name:de.name,disabled:i(g),readonly:!de.editable||de.readonly,"start-placeholder":de.startPlaceholder,"end-placeholder":de.endPlaceholder,class:P(V.value),style:Ye(de.$attrs.style),"aria-label":de.ariaLabel,tabindex:de.tabindex,autocomplete:"off",role:"combobox",onClick:we,onFocus:i(K),onBlur:i(H),onStartInput:$t,onStartChange:tn,onEndInput:Rt,onEndChange:Me,onMousedown:we,onMouseenter:Ve,onMouseleave:Ae,onTouchstartPassive:xe,onKeydown:Tt},{prefix:ne(()=>[se.value?(S(),ie(i(Be),{key:0,class:P([i(r).e("icon"),i(u).e("icon")])},{default:ne(()=>[(S(),ie(ft(se.value)))]),_:1},8,["class"])):oe("v-if",!0)]),"range-separator":ne(()=>[le(de.$slots,"range-separator",{},()=>[$("span",{class:P(i(u).b("separator"))},Se(de.rangeSeparator),3)])]),suffix:ne(()=>[de.clearIcon?(S(),ie(i(Be),{key:0,class:P(L.value),onMousedown:Qe(i(ut),["prevent"]),onClick:me},{default:ne(()=>[(S(),ie(ft(de.clearIcon)))]),_:1},8,["class","onMousedown"])):oe("v-if",!0)]),_:3},8,["id","model-value","name","disabled","readonly","start-placeholder","end-placeholder","class","style","aria-label","tabindex","onFocus","onBlur"])):(S(),ie(i(aa),{key:0,id:de.id,ref_key:"inputRef",ref:m,"container-role":"combobox","model-value":pe.value,name:de.name,size:i(Ee),disabled:i(g),placeholder:de.placeholder,class:P([i(s).b("editor"),i(s).bm("editor",de.type),i(s).is("focus",i(_)),de.$attrs.class]),style:Ye(de.$attrs.style),readonly:!de.editable||de.readonly||Z.value||re.value||U.value||J.value||de.type==="week","aria-label":de.ariaLabel,tabindex:de.tabindex,"validate-event":!1,onInput:Pt,onFocus:i(K),onBlur:i(H),onKeydown:Tt,onChange:Ge,onMousedown:we,onMouseenter:Ve,onMouseleave:Ae,onTouchstartPassive:xe,onClick:je[0]||(je[0]=Qe(()=>{},["stop"]))},{prefix:ne(()=>[se.value?(S(),ie(i(Be),{key:0,class:P(i(r).e("icon")),onMousedown:Qe(we,["prevent"]),onTouchstartPassive:xe},{default:ne(()=>[(S(),ie(ft(se.value)))]),_:1},8,["class"])):oe("v-if",!0)]),suffix:ne(()=>[fe.value&&de.clearIcon?(S(),ie(i(Be),{key:0,class:P(`${i(r).e("icon")} clear-icon`),onMousedown:Qe(i(ut),["prevent"]),onClick:me},{default:ne(()=>[(S(),ie(ft(de.clearIcon)))]),_:1},8,["class","onMousedown"])):oe("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","aria-label","tabindex","onFocus","onBlur"]))]),content:ne(()=>[le(de.$slots,"default",{visible:i(_),actualVisible:i(C),parsedValue:i(b),format:de.format,dateFormat:de.dateFormat,timeFormat:de.timeFormat,unlinkPanels:de.unlinkPanels,type:de.type,defaultValue:de.defaultValue,showNow:de.showNow,showConfirm:de.showConfirm,showFooter:de.showFooter,showWeekNumber:de.showWeekNumber,singlePanel:de.singlePanel,onPick:je[1]||(je[1]=(...Ie)=>i(T)&&i(T)(...Ie)),onSelectRange:q,onSetPickerOption:je[2]||(je[2]=(...Ie)=>i(O)&&i(O)(...Ie)),onCalendarChange:je[3]||(je[3]=(...Ie)=>i(I)&&i(I)(...Ie)),onClear:me,onPanelChange:je[4]||(je[4]=(...Ie)=>i(N)&&i(N)(...Ie)),onMousedown:je[5]||(je[5]=Qe(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-style","popper-options","fallback-placements","placement"]))}}),O9=wG;const CG=ke({...T9,datetimeRole:String,parsedValue:{type:Y(Object)}}),$9=({getAvailableHours:e,getAvailableMinutes:t,getAvailableSeconds:n})=>{const a=(s,r,u,c)=>{const d={hour:e,minute:t,second:n};let f=s;return["hour","minute","second"].forEach(h=>{if(d[h]){let m;const v=d[h];switch(h){case"minute":m=v(f.hour(),r,c);break;case"second":m=v(f.hour(),f.minute(),r,c);break;default:m=v(r,c);break}if(m!=null&&m.length&&!m.includes(f[h]())){const p=u?0:m.length-1;f=f[h](m[p])}}}),f},l={};return{timePickerOptions:l,getAvailableTime:a,onSetOption:([s,r])=>{l[s]=r}}},Lp=e=>{const t=(a,l)=>a||l,n=a=>a!==!0;return e.map(t).filter(n)},N9=(e,t,n)=>({getHoursList:(s,r)=>Vp(24,e&&(()=>e==null?void 0:e(s,r))),getMinutesList:(s,r,u)=>Vp(60,t&&(()=>t==null?void 0:t(s,r,u))),getSecondsList:(s,r,u,c)=>Vp(60,n&&(()=>n==null?void 0:n(s,r,u,c)))}),A9=(e,t,n)=>{const{getHoursList:a,getMinutesList:l,getSecondsList:o}=N9(e,t,n);return{getAvailableHours:(c,d)=>Lp(a(c,d)),getAvailableMinutes:(c,d,f)=>Lp(l(c,d,f)),getAvailableSeconds:(c,d,f,h)=>Lp(o(c,d,f,h))}},I9=(e,t)=>{const n=B(e.parsedValue);return ce(()=>e.visible,a=>{const l=Sn(t.modelValue),o=Sn(t.valueOnClear);if(a&&l===o){n.value=o;return}a||(n.value=e.parsedValue)}),n},_G=ke({role:{type:String,required:!0},spinnerDate:{type:Y(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:Y(String),default:""},...D1}),SG=["onClick"],xG=["onMouseenter"];var kG=W({__name:"basic-time-spinner",props:_G,emits:[Ct,"select-range","set-option"],setup(e,{emit:t}){const n=e,{isRange:a,format:l,saveOnBlur:o}=De(Ul).props,s=t,r=ye("time"),{getHoursList:u,getMinutesList:c,getSecondsList:d}=N9(n.disabledHours,n.disabledMinutes,n.disabledSeconds);let f=!1;const h={hours:!1,minutes:!1,seconds:!1},m=B(),v={hours:B(),minutes:B(),seconds:B()},p=x(()=>n.showSeconds?b3:b3.slice(0,2)),g=x(()=>{const{spinnerDate:j}=n;return{hours:j.hour(),minutes:j.minute(),seconds:j.second()}}),y=x(()=>{const{hours:j,minutes:q}=i(g),{role:Q,spinnerDate:ee}=n,te=a?void 0:ee;return{hours:u(Q,te),minutes:c(j,Q,te),seconds:d(j,q,Q,te)}}),b=x(()=>{const{hours:j,minutes:q,seconds:Q}=i(g);return{hours:Rp(j,23),minutes:Rp(q,59),seconds:Rp(Q,59)}}),C=co(j=>{f=!1,k(j)},200),w=j=>{if(!n.amPmMode)return"";const q=n.amPmMode==="A";let Q=j<12?" am":" pm";return q&&(Q=Q.toUpperCase()),Q},_=j=>{let q=[0,0];const Q=l||"HH:mm:ss",ee=Q.indexOf("HH"),te=Q.indexOf("mm"),ae=Q.indexOf("ss");switch(j){case"hours":ee!==-1&&(q=[ee,ee+2]);break;case"minutes":te!==-1&&(q=[te,te+2]);break;case"seconds":ae!==-1&&(q=[ae,ae+2]);break}const[ue,pe]=q;s("select-range",ue,pe),m.value=j},k=j=>{T(j,i(g)[j])},M=()=>{k("hours"),k("minutes"),k("seconds")},E=j=>j.querySelector(`.${r.namespace.value}-scrollbar__wrap`),T=(j,q)=>{if(n.arrowControl)return;const Q=i(v[j]);Q&&Q.$el&&(o||(h[j]=!0,Sa(()=>{h[j]=!1})),E(Q.$el).scrollTop=Math.max(0,q*O(j)))},O=j=>{var Q;const q=(Q=i(v[j]))==null?void 0:Q.$el.querySelector("li");return q&&Number.parseFloat(Io(q,"height"))||0},I=()=>{R(1)},N=()=>{R(-1)},R=j=>{m.value||_("hours");const q=m.value,Q=i(g)[q],ee=K(q,Q,j,m.value==="hours"?24:60);H(q,ee),T(q,ee),Pe(()=>_(q))},K=(j,q,Q,ee)=>{let te=(q+Q+ee)%ee;const ae=i(y)[j];for(;ae[te]&&te!==q;)te=(te+Q+ee)%ee;return te},H=(j,q)=>{if(i(y)[j][q])return;const{hours:Q,minutes:ee,seconds:te}=i(g);let ae;switch(j){case"hours":ae=n.spinnerDate.hour(q).minute(ee).second(te);break;case"minutes":ae=n.spinnerDate.hour(Q).minute(q).second(te);break;case"seconds":ae=n.spinnerDate.hour(Q).minute(ee).second(q);break}s(Ct,ae)},z=(j,{value:q,disabled:Q})=>{Q||(H(j,q),_(j),T(j,q))},V=j=>{if(!o&&h[j])return;const q=i(v[j]);q&&(f=!0,C(j),H(j,Math.min(Math.round((E(q.$el).scrollTop-(L(j)*.5-10)/O(j)+3)/O(j)),j==="hours"?23:59)))},L=j=>i(v[j]).$el.offsetHeight,F=()=>{const j=q=>{const Q=i(v[q]);Q&&Q.$el&&(E(Q.$el).onscroll=()=>{V(q)})};j("hours"),j("minutes"),j("seconds")};mt(()=>{Pe(()=>{!n.arrowControl&&F(),M(),n.role==="start"&&_("hours")})});const D=(j,q)=>{v[q].value=j??void 0};return s("set-option",[`${n.role}_scrollDown`,R]),s("set-option",[`${n.role}_emitSelectRange`,_]),ce(()=>n.spinnerDate,()=>{f||M()}),(j,q)=>(S(),A("div",{class:P([i(r).b("spinner"),{"has-seconds":j.showSeconds}])},[j.arrowControl?oe("v-if",!0):(S(!0),A(He,{key:0},wt(p.value,Q=>(S(),ie(i(Dl),{key:Q,ref_for:!0,ref:ee=>D(ee,Q),class:P(i(r).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":i(r).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:ee=>_(Q),onMousemove:ee=>k(Q)},{default:ne(()=>[(S(!0),A(He,null,wt(y.value[Q],(ee,te)=>(S(),A("li",{key:te,class:P([i(r).be("spinner","item"),i(r).is("active",te===g.value[Q]),i(r).is("disabled",ee)]),onClick:ae=>z(Q,{value:te,disabled:ee})},[Q==="hours"?(S(),A(He,{key:0},[bt(Se(("0"+(j.amPmMode?te%12||12:te)).slice(-2))+Se(w(te)),1)],64)):(S(),A(He,{key:1},[bt(Se(("0"+te).slice(-2)),1)],64))],10,SG))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),j.arrowControl?(S(!0),A(He,{key:1},wt(p.value,Q=>(S(),A("div",{key:Q,class:P([i(r).be("spinner","wrapper"),i(r).is("arrow")]),onMouseenter:ee=>_(Q)},[ht((S(),ie(i(Be),{class:P(["arrow-up",i(r).be("spinner","arrow")])},{default:ne(()=>[G(i(zc))]),_:1},8,["class"])),[[i(kf),N]]),ht((S(),ie(i(Be),{class:P(["arrow-down",i(r).be("spinner","arrow")])},{default:ne(()=>[G(i(jl))]),_:1},8,["class"])),[[i(kf),I]]),$("ul",{class:P(i(r).be("spinner","list"))},[(S(!0),A(He,null,wt(b.value[Q],(ee,te)=>(S(),A("li",{key:te,class:P([i(r).be("spinner","item"),i(r).is("active",ee===g.value[Q]),i(r).is("disabled",y.value[Q][ee])])},[i(qe)(ee)?(S(),A(He,{key:0},[Q==="hours"?(S(),A(He,{key:0},[bt(Se(("0"+(j.amPmMode?ee%12||12:ee)).slice(-2))+Se(w(ee)),1)],64)):(S(),A(He,{key:1},[bt(Se(("0"+ee).slice(-2)),1)],64))],64)):oe("v-if",!0)],2))),128))],2)],42,xG))),128)):oe("v-if",!0)],2))}}),l2=kG,EG=W({__name:"panel-time-pick",props:CG,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,a=t,l=De(Ul),{arrowControl:o,disabledHours:s,disabledMinutes:r,disabledSeconds:u,defaultValue:c}=l.props,{getAvailableHours:d,getAvailableMinutes:f,getAvailableSeconds:h}=A9(s,r,u),m=ye("time"),{t:v,lang:p}=St(),g=B([0,2]),y=I9(n,{modelValue:x(()=>l.props.modelValue),valueOnClear:x(()=>l!=null&&l.emptyValues?l.emptyValues.valueOnClear.value:null)}),b=x(()=>Mt(n.actualVisible)?`${m.namespace.value}-zoom-in-top`:""),C=x(()=>n.format.includes("ss")),w=x(()=>n.format.includes("A")?"A":n.format.includes("a")?"a":""),_=L=>{const F=et(L).locale(p.value),D=H(F);return F.isSame(D)},k=()=>{const L=y.value;a("pick",L,!1),Pe(()=>{y.value=L})},M=(L=!1,F=!1)=>{F||a("pick",n.parsedValue,L)},E=L=>{n.visible&&a("pick",H(L).millisecond(0),!0)},T=(L,F)=>{a("select-range",L,F),g.value=[L,F]},O=L=>{const F=n.format,D=F.indexOf("HH"),j=F.indexOf("mm"),q=F.indexOf("ss"),Q=[],ee=[];D!==-1&&(Q.push(D),ee.push("hours")),j!==-1&&(Q.push(j),ee.push("minutes")),q!==-1&&C.value&&(Q.push(q),ee.push("seconds"));const te=(Q.indexOf(g.value[0])+L+Q.length)%Q.length;N.start_emitSelectRange(ee[te])},I=L=>{const F=Xt(L),{left:D,right:j,up:q,down:Q}=Ce;if([D,j].includes(F)){O(F===D?-1:1),L.preventDefault();return}if([q,Q].includes(F)){const ee=F===q?-1:1;N.start_scrollDown(ee),L.preventDefault();return}},{timePickerOptions:N,onSetOption:R,getAvailableTime:K}=$9({getAvailableHours:d,getAvailableMinutes:f,getAvailableSeconds:h}),H=L=>K(L,n.datetimeRole||"",!0),z=L=>L?et(L,n.format).locale(p.value):null,V=()=>et(c).locale(p.value);return a("set-picker-option",["isValidValue",_]),a("set-picker-option",["parseUserInput",z]),a("set-picker-option",["handleKeydownInput",I]),a("set-picker-option",["getRangeAvailableTime",H]),a("set-picker-option",["getDefaultValue",V]),a("set-picker-option",["handleCancel",k]),(L,F)=>(S(),ie(Yn,{name:b.value},{default:ne(()=>[L.actualVisible||L.visible?(S(),A("div",{key:0,class:P(i(m).b("panel"))},[$("div",{class:P([i(m).be("panel","content"),{"has-seconds":C.value}])},[G(l2,{ref:"spinner",role:L.datetimeRole||"start","arrow-control":i(o),"show-seconds":C.value,"am-pm-mode":w.value,"spinner-date":L.parsedValue,"disabled-hours":i(s),"disabled-minutes":i(r),"disabled-seconds":i(u),onChange:E,onSetOption:i(R),onSelectRange:T},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),$("div",{class:P(i(m).be("panel","footer"))},[$("button",{type:"button",class:P([i(m).be("panel","btn"),"cancel"]),onClick:k},Se(i(v)("el.datepicker.cancel")),3),$("button",{type:"button",class:P([i(m).be("panel","btn"),"confirm"]),onClick:F[0]||(F[0]=D=>M())},Se(i(v)("el.datepicker.confirm")),3)],2)],2)):oe("v-if",!0)]),_:1},8,["name"]))}}),Nf=EG;const TG=ke({...T9,parsedValue:{type:Y(Array)}}),MG=["disabled"];var OG=W({__name:"panel-time-range",props:TG,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,a=t,l=(Z,re)=>{const U=[];for(let J=Z;J<=re;J++)U.push(J);return U},{t:o,lang:s}=St(),r=ye("time"),u=ye("picker"),c=De(Ul),{arrowControl:d,disabledHours:f,disabledMinutes:h,disabledSeconds:m,defaultValue:v}=c.props,p=x(()=>[r.be("range-picker","body"),r.be("panel","content"),r.is("arrow",d),_.value?"has-seconds":""]),g=x(()=>[r.be("range-picker","body"),r.be("panel","content"),r.is("arrow",d),_.value?"has-seconds":""]),y=x(()=>n.parsedValue[0]),b=x(()=>n.parsedValue[1]),C=I9(n,{modelValue:x(()=>c.props.modelValue),valueOnClear:x(()=>c!=null&&c.emptyValues?c.emptyValues.valueOnClear.value:null)}),w=()=>{const Z=C.value;a("pick",Z,!1),Pe(()=>{C.value=Z})},_=x(()=>n.format.includes("ss")),k=x(()=>n.format.includes("A")?"A":n.format.includes("a")?"a":""),M=(Z=!1)=>{a("pick",[y.value,b.value],Z)},E=Z=>{I(Z.millisecond(0),b.value)},T=Z=>{I(y.value,Z.millisecond(0))},O=Z=>{const re=Z.map(J=>et(J).locale(s.value)),U=q(re);return re[0].isSame(U[0])&&re[1].isSame(U[1])},I=(Z,re)=>{n.visible&&a("pick",[Z,re],!0)},N=x(()=>y.value>b.value),R=B([0,2]),K=(Z,re)=>{a("select-range",Z,re,"min"),R.value=[Z,re]},H=x(()=>_.value?11:8),z=(Z,re)=>{a("select-range",Z,re,"max");const U=i(H);R.value=[Z+U,re+U]},V=Z=>{const re=_.value?[0,3,6,11,14,17]:[0,3,8,11],U=["hours","minutes"].concat(_.value?["seconds"]:[]),J=(re.indexOf(R.value[0])+Z+re.length)%re.length,se=re.length/2;J{const re=Xt(Z),{left:U,right:J,up:se,down:fe}=Ce;if([U,J].includes(re)){V(re===U?-1:1),Z.preventDefault();return}if([se,fe].includes(re)){const me=re===se?-1:1;ae[`${R.value[0]{const U=f?f(Z):[],J=Z==="start",se=(re||(J?b.value:y.value)).hour();return xp(U,J?l(se+1,23):l(0,se-1))},D=(Z,re,U)=>{const J=h?h(Z,re):[],se=re==="start",fe=U||(se?b.value:y.value);if(Z!==fe.hour())return J;const me=fe.minute();return xp(J,se?l(me+1,59):l(0,me-1))},j=(Z,re,U,J)=>{const se=m?m(Z,re,U):[],fe=U==="start",me=J||(fe?b.value:y.value),we=me.hour(),Ve=me.minute();if(Z!==we||re!==Ve)return se;const Ae=me.second();return xp(se,fe?l(Ae+1,59):l(0,Ae-1))},q=([Z,re])=>[ue(Z,"start",!0,re),ue(re,"end",!1,Z)],{getAvailableHours:Q,getAvailableMinutes:ee,getAvailableSeconds:te}=A9(F,D,j),{timePickerOptions:ae,getAvailableTime:ue,onSetOption:pe}=$9({getAvailableHours:Q,getAvailableMinutes:ee,getAvailableSeconds:te}),ge=Z=>Z?ve(Z)?Z.map(re=>et(re,n.format).locale(s.value)):et(Z,n.format).locale(s.value):null,X=()=>{if(ve(v))return v.map(re=>et(re).locale(s.value));const Z=et(v).locale(s.value);return[Z,Z.add(60,"m")]};return a("set-picker-option",["parseUserInput",ge]),a("set-picker-option",["isValidValue",O]),a("set-picker-option",["handleKeydownInput",L]),a("set-picker-option",["getDefaultValue",X]),a("set-picker-option",["getRangeAvailableTime",q]),a("set-picker-option",["handleCancel",w]),(Z,re)=>Z.actualVisible?(S(),A("div",{key:0,class:P([i(r).b("range-picker"),i(u).b("panel")])},[$("div",{class:P(i(r).be("range-picker","content"))},[$("div",{class:P(i(r).be("range-picker","cell"))},[$("div",{class:P(i(r).be("range-picker","header"))},Se(i(o)("el.datepicker.startTime")),3),$("div",{class:P(p.value)},[G(l2,{ref:"minSpinner",role:"start","show-seconds":_.value,"am-pm-mode":k.value,"arrow-control":i(d),"spinner-date":y.value,"disabled-hours":F,"disabled-minutes":D,"disabled-seconds":j,onChange:E,onSetOption:i(pe),onSelectRange:K},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),$("div",{class:P(i(r).be("range-picker","cell"))},[$("div",{class:P(i(r).be("range-picker","header"))},Se(i(o)("el.datepicker.endTime")),3),$("div",{class:P(g.value)},[G(l2,{ref:"maxSpinner",role:"end","show-seconds":_.value,"am-pm-mode":k.value,"arrow-control":i(d),"spinner-date":b.value,"disabled-hours":F,"disabled-minutes":D,"disabled-seconds":j,onChange:T,onSetOption:i(pe),onSelectRange:z},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),$("div",{class:P(i(r).be("panel","footer"))},[$("button",{type:"button",class:P([i(r).be("panel","btn"),"cancel"]),onClick:re[0]||(re[0]=U=>w())},Se(i(o)("el.datepicker.cancel")),3),$("button",{type:"button",class:P([i(r).be("panel","btn"),"confirm"]),disabled:N.value,onClick:re[1]||(re[1]=U=>M())},Se(i(o)("el.datepicker.confirm")),11,MG)],2)],2)):oe("v-if",!0)}}),$G=OG,P9={exports:{}};(function(e,t){(function(n,a){e.exports=a()})(bo,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},a=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,l=/\d/,o=/\d\d/,s=/\d\d?/,r=/\d*[^-_:/,()\s\d]+/,u={},c=function(g){return(g=+g)+(g>68?1900:2e3)},d=function(g){return function(y){this[g]=+y}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=function(y){if(!y||y==="Z")return 0;var b=y.match(/([+-]|\d\d)/g),C=60*b[1]+(+b[2]||0);return C===0?0:b[0]==="+"?-C:C}(g)}],h=function(g){var y=u[g];return y&&(y.indexOf?y:y.s.concat(y.f))},m=function(g,y){var b,C=u.meridiem;if(C){for(var w=1;w<=24;w+=1)if(g.indexOf(C(w,0,y))>-1){b=w>12;break}}else b=g===(y?"pm":"PM");return b},v={A:[r,function(g){this.afternoon=m(g,!1)}],a:[r,function(g){this.afternoon=m(g,!0)}],Q:[l,function(g){this.month=3*(g-1)+1}],S:[l,function(g){this.milliseconds=100*+g}],SS:[o,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[s,d("seconds")],ss:[s,d("seconds")],m:[s,d("minutes")],mm:[s,d("minutes")],H:[s,d("hours")],h:[s,d("hours")],HH:[s,d("hours")],hh:[s,d("hours")],D:[s,d("day")],DD:[o,d("day")],Do:[r,function(g){var y=u.ordinal,b=g.match(/\d+/);if(this.day=b[0],y)for(var C=1;C<=31;C+=1)y(C).replace(/\[|\]/g,"")===g&&(this.day=C)}],w:[s,d("week")],ww:[o,d("week")],M:[s,d("month")],MM:[o,d("month")],MMM:[r,function(g){var y=h("months"),b=(h("monthsShort")||y.map(function(C){return C.slice(0,3)})).indexOf(g)+1;if(b<1)throw new Error;this.month=b%12||b}],MMMM:[r,function(g){var y=h("months").indexOf(g)+1;if(y<1)throw new Error;this.month=y%12||y}],Y:[/[+-]?\d+/,d("year")],YY:[o,function(g){this.year=c(g)}],YYYY:[/\d{4}/,d("year")],Z:f,ZZ:f};function p(g){var y,b;y=g,b=u&&u.formats;for(var C=(g=y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(O,I,N){var R=N&&N.toUpperCase();return I||b[N]||n[N]||b[R].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(K,H,z){return H||z.slice(1)})})).match(a),w=C.length,_=0;_-1)return new Date((L==="X"?1e3:1)*V);var j=p(L)(V),q=j.year,Q=j.month,ee=j.day,te=j.hours,ae=j.minutes,ue=j.seconds,pe=j.milliseconds,ge=j.zone,X=j.week,Z=new Date,re=ee||(q||Q?1:Z.getDate()),U=q||Z.getFullYear(),J=0;q&&!Q||(J=Q>0?Q-1:Z.getMonth());var se,fe=te||0,me=ae||0,we=ue||0,Ve=pe||0;return ge?new Date(Date.UTC(U,J,re,fe,me,we,Ve+60*ge.offset*1e3)):F?new Date(Date.UTC(U,J,re,fe,me,we,Ve)):(se=new Date(U,J,re,fe,me,we,Ve),X&&(se=D(se).week(X).toDate()),se)}catch{return new Date("")}}(k,T,M,b),this.init(),R&&R!==!0&&(this.$L=this.locale(R).$L),N&&k!=this.format(T)&&(this.$d=new Date("")),u={}}else if(T instanceof Array)for(var K=T.length,H=1;H<=K;H+=1){E[1]=T[H-1];var z=b.apply(this,E);if(z.isValid()){this.$d=z.$d,this.$L=z.$L,this.init();break}H===K&&(this.$d=new Date(""))}else w.call(this,_)}}})})(P9);var NG=P9.exports;const F1=wo(NG);et.extend(F1);var AG=W({name:"ElTimePicker",install:null,props:{...H1,isRange:Boolean},emits:[it],setup(e,t){const n=B(),[a,l]=e.isRange?["timerange",$G]:["time",Nf],o=s=>t.emit(it,s);return Et(z1,e.popperOptions),t.expose({focus:()=>{var s;(s=n.value)==null||s.focus()},blur:()=>{var s;(s=n.value)==null||s.blur()},handleOpen:()=>{var s;(s=n.value)==null||s.handleOpen()},handleClose:()=>{var s;(s=n.value)==null||s.handleClose()}}),()=>G(O9,vt(e,{ref:n,type:a,format:e.format??"HH:mm:ss","onUpdate:modelValue":o}),{default:s=>G(l,s,null)})}});const IG=ct(AG),jo=ke({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:Fl},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),PG={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},RG=["aria-label"],VG=["aria-label"];var LG=W({name:"ElTag",__name:"tag",props:jo,emits:PG,setup(e,{emit:t}){const n=e,a=t,l=Pn(),{t:o}=St(),s=ye("tag"),r=x(()=>{const{type:f,hit:h,effect:m,closable:v,round:p}=n;return[s.b(),s.is("closable",v),s.m(f||"primary"),s.m(l.value),s.m(m),s.is("hit",h),s.is("round",p)]}),u=f=>{a("close",f)},c=f=>{a("click",f)},d=f=>{var h,m,v;(v=(m=(h=f==null?void 0:f.component)==null?void 0:h.subTree)==null?void 0:m.component)!=null&&v.bum&&(f.component.subTree.component.bum=null)};return(f,h)=>e.disableTransitions?(S(),A("span",{key:0,class:P(r.value),style:Ye({backgroundColor:e.color}),onClick:c},[$("span",{class:P(i(s).e("content"))},[le(f.$slots,"default")],2),e.closable?(S(),A("button",{key:0,"aria-label":i(o)("el.tag.close"),class:P(i(s).e("close")),type:"button",onClick:Qe(u,["stop"])},[G(i(Be),null,{default:ne(()=>[G(i(ll))]),_:1})],10,RG)):oe("v-if",!0)],6)):(S(),ie(Yn,{key:1,name:`${i(s).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:d},{default:ne(()=>[$("span",{class:P(r.value),style:Ye({backgroundColor:e.color}),onClick:c},[$("span",{class:P(i(s).e("content"))},[le(f.$slots,"default")],2),e.closable?(S(),A("button",{key:0,"aria-label":i(o)("el.tag.close"),class:P(i(s).e("close")),type:"button",onClick:Qe(u,["stop"])},[G(i(Be),null,{default:ne(()=>[G(i(ll))]),_:1})],10,VG)):oe("v-if",!0)],6)]),_:3},8,["name"]))}}),BG=LG;const Do=ct(BG),R9=Symbol("ElSelectGroup"),Fc=Symbol("ElSelect"),Af={label:"label",value:"value",disabled:"disabled",options:"options"};function Kc(e){const t=B({...Af,...e.props});let n={...e.props};return ce(()=>e.props,r=>{gn(r,n)||(t.value={...Af,...r},n={...r})},{deep:!0}),{aliasProps:t,getLabel:r=>Tn(r,t.value.label),getValue:r=>Tn(r,t.value.value),getDisabled:r=>Tn(r,t.value.disabled),getOptions:r=>Tn(r,t.value.options)}}const V9=ke({name:String,id:String,modelValue:{type:Y([Array,String,Number,Boolean,Object]),default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:zn,effect:{type:Y(String),default:"light"},disabled:{type:Boolean,default:void 0},clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:Y([String,Array,Object,Boolean]),default:""},popperStyle:{type:Y([String,Array,Object,Boolean]),default:void 0},popperOptions:{type:Y(Object),default:()=>({})},remote:Boolean,debounce:{type:Number,default:300},loadingText:String,noMatchText:String,noDataText:String,remoteMethod:{type:Y(Function)},filterMethod:{type:Y(Function)},multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,tagTooltip:{type:Y(Object),default:()=>({})},maxCollapseTags:{type:Number,default:1},teleported:on.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:Ut,default:ql},fitInputWidth:Boolean,suffixIcon:{type:Ut,default:jl},tagType:{...jo.type,default:"info"},tagEffect:{...jo.effect,default:"light"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:Y(String),values:Co,default:"bottom-start"},fallbackPlacements:{type:Y(Array),default:["bottom-start","top-start","right","left"]},tabindex:{type:[String,Number],default:0},appendTo:on.appendTo,options:{type:Y(Array)},props:{type:Y(Object),default:()=>Af},...$r,...xa(["ariaLabel"])}),zG={[it]:e=>!0,[Ct]:e=>!0,"popup-scroll":ac.scroll,"end-reached":ac["end-reached"],"remove-tag":e=>!0,"visible-change":e=>!0,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0},o2="ElOption",DG=ke({value:{type:[String,Number,Boolean,Object],required:!0},label:{type:[String,Number]},created:Boolean,disabled:Boolean});function HG(e,t){const n=De(Fc);n||vn(o2,"usage: ");const a=De(R9,{disabled:!1}),l=x(()=>d(Wn(n.props.modelValue),e.value)),o=x(()=>{if(n.props.multiple){const m=Wn(n.props.modelValue??[]);return!l.value&&m.length>=n.props.multipleLimit&&n.props.multipleLimit>0}else return!1}),s=x(()=>e.label??(rt(e.value)?"":e.value)),r=x(()=>e.value||e.label||""),u=x(()=>e.disabled||t.groupDisabled||o.value),c=st(),d=(m=[],v)=>{if(rt(e.value)){const p=n.props.valueKey;return m&&m.some(g=>Zt(Tn(g,p))===Tn(v,p))}else return m&&m.includes(v)},f=()=>{u.value||(n.states.hoveringIndex=n.optionsArray.indexOf(c.proxy))},h=m=>{t.visible=new RegExp(r1(m),"i").test(String(s.value))||e.created};return ce(()=>s.value,()=>{!e.created&&!n.props.remote&&n.setSelected()}),ce(()=>e.value,(m,v)=>{const{remote:p,valueKey:g}=n.props;if((p?m!==v:!gn(m,v))&&(n.onOptionDestroy(v,c.proxy),n.onOptionCreate(c.proxy)),!e.created&&!p){if(g&&rt(m)&&rt(v)&&m[g]===v[g])return;n.setSelected()}}),ce(()=>a.disabled,()=>{t.groupDisabled=a.disabled},{immediate:!0}),{select:n,currentLabel:s,currentValue:r,itemSelected:l,isDisabled:u,hoverItem:f,updateOption:h}}var FG=W({name:o2,componentName:o2,props:DG,setup(e){const t=ye("select"),n=oa(),a=x(()=>[t.be("dropdown","item"),t.is("disabled",i(u)),t.is("selected",i(r)),t.is("hovering",i(m))]),l=Dt({index:-1,groupDisabled:!1,visible:!0,hover:!1}),o=wi?null:"mousemove",{currentLabel:s,itemSelected:r,isDisabled:u,select:c,hoverItem:d,updateOption:f}=HG(e,l),{visible:h,hover:m}=Bn(l),v=st().proxy;c.onOptionCreate(v),Ht(()=>{const y=v.value;Pe(()=>{const{selected:b}=c.states,C=b.some(w=>w.value===v.value);c.states.cachedOptions.get(y)===v&&!C&&c.states.cachedOptions.delete(y)}),c.onOptionDestroy(y,v)});function p(){u.value||c.handleOptionSelect(v)}return{ns:t,id:n,containerKls:a,currentLabel:s,itemSelected:r,isDisabled:u,select:c,visible:h,hover:m,states:l,mouseMoveEventName:o,hoverItem:d,handleMousedown:y=>{let b=y.target;const C=y.currentTarget;for(;b&&b!==C;){if(pr(b))return;b=b.parentElement}y.preventDefault()},updateOption:f,selectOptionClick:p}}});const KG=["id","aria-disabled","aria-selected"];function WG(e,t,n,a,l,o){return ht((S(),A("li",vt({id:e.id,class:e.containerKls,role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected},{[no(e.mouseMoveEventName)]:t[0]||(t[0]=(...s)=>e.hoverItem&&e.hoverItem(...s))},{onMousedown:t[1]||(t[1]=(...s)=>e.handleMousedown&&e.handleMousedown(...s)),onClick:t[2]||(t[2]=Qe((...s)=>e.selectOptionClick&&e.selectOptionClick(...s),["stop"]))}),[le(e.$slots,"default",{},()=>[$("span",null,Se(e.currentLabel),1)])],16,KG)),[[It,e.visible]])}var K1=Hn(FG,[["render",WG]]),jG=W({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const t=ye("select"),n=B(),a=st(),l=B([]);Et(R9,Dt({...Bn(e)}));const o=x(()=>l.value.some(c=>c.visible===!0)),s=c=>{var d;return c.type.name==="ElOption"&&!!((d=c.component)!=null&&d.proxy)},r=c=>{const d=Wn(c),f=[];return d.forEach(h=>{var m;Yt(h)&&(s(h)?f.push(h.component.proxy):ve(h.children)&&h.children.length?f.push(...r(h.children)):(m=h.component)!=null&&m.subTree&&f.push(...r(h.component.subTree)))}),f},u=()=>{l.value=r(a.subTree)};return mt(()=>{u()}),kc(n,u,{attributes:!0,subtree:!0,childList:!0}),{groupRef:n,visible:o,ns:t}}});function qG(e,t,n,a,l,o){return ht((S(),A("ul",{ref:"groupRef",class:P(e.ns.be("group","wrap"))},[$("li",{class:P(e.ns.be("group","title"))},Se(e.label),3),$("li",null,[$("ul",{class:P(e.ns.b("group"))},[le(e.$slots,"default")],2)])],2)),[[It,e.visible]])}var W1=Hn(jG,[["render",qG]]),UG=W({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=De(Fc),t=ye("select"),n=x(()=>e.props.popperClass),a=x(()=>e.props.multiple),l=x(()=>e.props.fitInputWidth),o=B("");function s(){var u;const r=(u=e.selectRef)==null?void 0:u.offsetWidth;r?o.value=`${r-2}px`:o.value=""}return mt(()=>{s(),rn(e.selectRef,s)}),{ns:t,minWidth:o,popperClass:n,isMultiple:a,isFitInputWidth:l}}});function YG(e,t,n,a,l,o){return S(),A("div",{class:P([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:Ye({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[e.$slots.header?(S(),A("div",{key:0,class:P(e.ns.be("dropdown","header"))},[le(e.$slots,"header")],2)):oe("v-if",!0),le(e.$slots,"default"),e.$slots.footer?(S(),A("div",{key:1,class:P(e.ns.be("dropdown","footer"))},[le(e.$slots,"footer")],2)):oe("v-if",!0)],6)}var GG=Hn(UG,[["render",YG]]);const XG=(e,t)=>{const{t:n}=St(),a=wn(),l=oa(),o=ye("select"),s=ye("input"),r=Dt({inputValue:"",options:new Map,cachedOptions:new Map,optionValues:[],selected:[],selectionWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),u=B(),c=B(),d=B(),f=B(),h=B(),m=B(),v=B(),p=B(),g=B(),y=B(),b=B(),C=B(!1),w=B(),_=B(!1),{form:k,formItem:M}=Xn(),{inputId:E}=Ua(e,{formItemContext:M}),{valueOnClear:T,isEmptyValue:O}=Bc(e),{isComposing:I,handleCompositionStart:N,handleCompositionUpdate:R,handleCompositionEnd:K}=Lc({afterComposition:Te=>Tt(Te)}),H=hn(),{wrapperRef:z,isFocused:V,handleBlur:L}=Jo(h,{disabled:H,afterFocus(){e.automaticDropdown&&!C.value&&(C.value=!0,r.menuVisibleOnFocus=!0)},beforeBlur(Te){var at,Lt;return((at=d.value)==null?void 0:at.isFocusInsideContent(Te))||((Lt=f.value)==null?void 0:Lt.isFocusInsideContent(Te))},afterBlur(){var Te;C.value=!1,r.menuVisibleOnFocus=!1,e.validateEvent&&((Te=M==null?void 0:M.validate)==null||Te.call(M,"blur").catch(ut))}}),F=x(()=>ve(e.modelValue)?e.modelValue.length>0:!O(e.modelValue)),D=x(()=>(k==null?void 0:k.statusIcon)??!1),j=x(()=>e.clearable&&!H.value&&F.value&&(V.value||r.inputHovering)),q=x(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),Q=x(()=>o.is("reverse",!!(q.value&&C.value))),ee=x(()=>(M==null?void 0:M.validateState)||""),te=x(()=>ee.value&&j0[ee.value]),ae=x(()=>e.remote?e.debounce:0),ue=x(()=>e.remote&&!r.inputValue&&r.options.size===0),pe=x(()=>e.loading?e.loadingText||n("el.select.loading"):e.filterable&&r.inputValue&&r.options.size>0&&ge.value===0?e.noMatchText||n("el.select.noMatch"):r.options.size===0?e.noDataText||n("el.select.noData"):null),ge=x(()=>X.value.filter(Te=>Te.visible).length),X=x(()=>{const Te=Array.from(r.options.values()),at=[];return r.optionValues.forEach(Lt=>{const dn=Te.findIndex(An=>An.value===Lt);dn>-1&&at.push(Te[dn])}),at.length>=Te.length?at:Te}),Z=x(()=>Array.from(r.cachedOptions.values())),re=x(()=>{const Te=X.value.filter(at=>!at.created).some(at=>at.currentLabel===r.inputValue);return e.filterable&&e.allowCreate&&r.inputValue!==""&&!Te}),U=()=>{e.filterable&&Ke(e.filterMethod)||e.filterable&&e.remote&&Ke(e.remoteMethod)||X.value.forEach(Te=>{var at;(at=Te.updateOption)==null||at.call(Te,r.inputValue)})},J=Pn(),se=x(()=>["small"].includes(J.value)?"small":"default"),fe=x({get(){return C.value&&(e.loading||!ue.value||e.remote&&!!a.empty)&&(!_.value||!$a(r.previousQuery)||r.options.size>0)},set(Te){C.value=Te}}),me=x(()=>{if(e.multiple&&!Mt(e.modelValue))return Wn(e.modelValue).length===0&&!r.inputValue;const Te=ve(e.modelValue)?e.modelValue[0]:e.modelValue;return e.filterable||Mt(Te)?!r.inputValue:!0}),we=x(()=>{const Te=e.placeholder??n("el.select.placeholder");return e.multiple||!F.value?Te:r.selectedLabel}),Ve=wi?null:"mouseenter";ce(()=>e.modelValue,(Te,at)=>{e.multiple&&e.filterable&&!e.reserveKeyword&&(r.inputValue="",Ae("")),he(),!gn(Te,at)&&e.validateEvent&&(M==null||M.validate("change").catch(ut))},{flush:"post",deep:!0}),ce(()=>C.value,Te=>{Te?Ae(r.inputValue):(r.inputValue="",r.previousQuery=null,r.isBeforeHide=!0,r.menuVisibleOnFocus=!1)}),ce(()=>r.options.entries(),()=>{Bt&&(he(),e.defaultFirstOption&&(e.filterable||e.remote)&&ge.value&&xe())},{flush:"post"}),ce([()=>r.hoveringIndex,X],([Te])=>{qe(Te)&&Te>-1?w.value=X.value[Te]||{}:w.value={},X.value.forEach(at=>{at.hover=w.value===at})}),la(()=>{r.isBeforeHide||U()});const Ae=Te=>{r.previousQuery===Te||I.value||(r.previousQuery=Te,e.filterable&&Ke(e.filterMethod)?e.filterMethod(Te):e.filterable&&e.remote&&Ke(e.remoteMethod)&&e.remoteMethod(Te),e.defaultFirstOption&&(e.filterable||e.remote)&&ge.value?Pe(xe):Pe($e))},xe=()=>{const Te=X.value.filter(dn=>dn.visible&&!dn.disabled&&!dn.states.groupDisabled),at=Te.find(dn=>dn.created),Lt=Te[0];r.hoveringIndex=de(X.value.map(dn=>dn.value),at||Lt)},he=()=>{if(e.multiple)r.selectedLabel="";else{const at=Ee(ve(e.modelValue)?e.modelValue[0]:e.modelValue);r.selectedLabel=at.currentLabel,r.selected=[at];return}const Te=[];Mt(e.modelValue)||Wn(e.modelValue).forEach(at=>{Te.push(Ee(at))}),r.selected=Te},Ee=Te=>{let at;const Lt=or(Te);for(let An=r.cachedOptions.size-1;An>=0;An--){const Rn=Z.value[An];if(Lt?Tn(Rn.value,e.valueKey)===Tn(Te,e.valueKey):Rn.value===Te){at={index:X.value.filter(_l=>!_l.created).indexOf(Rn),value:Te,currentLabel:Rn.currentLabel,get isDisabled(){return Rn.isDisabled}};break}}if(at)return at;const dn=r.selected.find(An=>Lt?Tn(An.value,e.valueKey)===Tn(Te,e.valueKey):An.value===Te);return{index:-1,value:Te,currentLabel:Lt?Te.label:dn?dn.currentLabel:Te??""}},$e=()=>{const Te=r.selected.length;if(Te>0){const at=r.selected[Te-1];r.hoveringIndex=X.value.findIndex(Lt=>_e(at)===_e(Lt))}else r.hoveringIndex=-1},Re=()=>{r.selectionWidth=Number.parseFloat(window.getComputedStyle(c.value).width)},Ge=()=>{r.collapseItemWidth=y.value.getBoundingClientRect().width},Ze=()=>{var Te,at;(at=(Te=d.value)==null?void 0:Te.updatePopper)==null||at.call(Te)},Xe=()=>{var Te,at;(at=(Te=f.value)==null?void 0:Te.updatePopper)==null||at.call(Te)},gt=()=>{r.inputValue.length>0&&!C.value&&(C.value=!0),Ae(r.inputValue)},Tt=Te=>{if(r.inputValue=Te.target.value,e.remote)_.value=!0,Pt();else return gt()},Pt=xc(()=>{gt(),_.value=!1},ae),$t=Te=>{gn(e.modelValue,Te)||t(Ct,Te)},Rt=Te=>xw(Te,at=>{const Lt=r.cachedOptions.get(at);return!(Lt!=null&&Lt.disabled)&&!(Lt!=null&&Lt.states.groupDisabled)}),tn=Te=>{const at=Xt(Te);if(e.multiple&&at!==Ce.delete&&Te.target.value.length<=0){const Lt=Wn(e.modelValue).slice(),dn=Rt(Lt);if(dn<0)return;const An=Lt[dn];Lt.splice(dn,1),t(it,Lt),$t(Lt),t("remove-tag",An)}},Me=(Te,at)=>{const Lt=r.selected.indexOf(at);if(Lt>-1&&!H.value){const dn=Wn(e.modelValue).slice();dn.splice(Lt,1),t(it,dn),$t(dn),t("remove-tag",at.value)}Te.stopPropagation(),yt()},be=Te=>{Te.stopPropagation();const at=e.multiple?[]:T.value;if(e.multiple)for(const Lt of r.selected)Lt.isDisabled&&at.push(Lt.value);t(it,at),$t(at),r.hoveringIndex=-1,C.value=!1,t("clear"),yt()},We=Te=>{if(e.multiple){const at=Wn(e.modelValue??[]).slice(),Lt=de(at,Te);Lt>-1?at.splice(Lt,1):(e.multipleLimit<=0||at.length{je(Te)})},de=(Te,at)=>Mt(at)?-1:rt(at.value)?Te.findIndex(Lt=>gn(Tn(Lt,e.valueKey),_e(at))):Te.indexOf(at.value),je=Te=>{var dn,An,Rn,_l,Xi;const at=ve(Te)?Te[Te.length-1]:Te;let Lt=null;if(!_n(at==null?void 0:at.value)){const Ps=X.value.filter(Ir=>Ir.value===at.value);Ps.length>0&&(Lt=Ps[0].$el)}if(d.value&&Lt){const Ps=(_l=(Rn=(An=(dn=d.value)==null?void 0:dn.popperRef)==null?void 0:An.contentRef)==null?void 0:Rn.querySelector)==null?void 0:_l.call(Rn,`.${o.be("dropdown","wrap")}`);Ps&&c1(Ps,Lt)}(Xi=b.value)==null||Xi.handleScroll()},Ie=Te=>{r.options.set(Te.value,Te),r.cachedOptions.set(Te.value,Te)},tt=(Te,at)=>{r.options.get(Te)===at&&r.options.delete(Te)},ot=x(()=>{var Te,at;return(at=(Te=d.value)==null?void 0:Te.popperRef)==null?void 0:at.contentRef}),pt=()=>{r.isBeforeHide=!1,Pe(()=>{var Te;(Te=b.value)==null||Te.update(),je(r.selected)})},yt=()=>{var Te;(Te=h.value)==null||Te.focus()},_t=()=>{var Te;if(C.value){C.value=!1,Pe(()=>{var at;return(at=h.value)==null?void 0:at.blur()});return}(Te=h.value)==null||Te.blur()},lt=Te=>{be(Te)},Vt=Te=>{if(C.value=!1,V.value){const at=new FocusEvent("blur",Te);Pe(()=>L(at))}},Le=()=>{r.inputValue.length>0?r.inputValue="":C.value=!1},Ue=Te=>{var at;H.value||e.filterable&&C.value&&Te&&!((at=v.value)!=null&&at.contains(Te.target))||(wi&&(r.inputHovering=!0),r.menuVisibleOnFocus?r.menuVisibleOnFocus=!1:C.value=!C.value)},nt=()=>{if(!C.value)Ue();else{const Te=X.value[r.hoveringIndex];Te&&!Te.isDisabled&&We(Te)}},_e=Te=>rt(Te.value)?Tn(Te.value,e.valueKey):Te.value,Fe=x(()=>X.value.filter(Te=>Te.visible).every(Te=>Te.isDisabled)),ze=x(()=>e.multiple?e.collapseTags?r.selected.slice(0,e.maxCollapseTags):r.selected:[]),Nt=x(()=>e.multiple?e.collapseTags?r.selected.slice(e.maxCollapseTags):[]:[]),Ft=Te=>{if(!C.value){C.value=!0;return}if(!(r.options.size===0||ge.value===0||I.value)&&!Fe.value){Te==="next"?(r.hoveringIndex++,r.hoveringIndex===r.options.size&&(r.hoveringIndex=0)):Te==="prev"&&(r.hoveringIndex--,r.hoveringIndex<0&&(r.hoveringIndex=r.options.size-1));const at=X.value[r.hoveringIndex];(at.isDisabled||!at.visible)&&Ft(Te),Pe(()=>je(w.value))}},Jt=(Te,at,Lt,dn)=>{for(let An=at;An>=0&&An{const Lt=r.options.size;if(Lt===0)return;const dn=za(Te,0,Lt-1),An=X.value,Rn=at==="up"?-1:1,_l=Jt(An,dn,Rn,Lt)??Jt(An,dn-Rn,-Rn,Lt);_l!=null&&(r.hoveringIndex=_l,Pe(()=>je(w.value)))},fa=Te=>{const at=Xt(Te);let Lt=!0;switch(at){case Ce.up:Ft("prev");break;case Ce.down:Ft("next");break;case Ce.enter:case Ce.numpadEnter:I.value||nt();break;case Ce.esc:Le();break;case Ce.backspace:Lt=!1,tn(Te);return;case Ce.home:if(!C.value)return;sn(0,"down");break;case Ce.end:if(!C.value)return;sn(r.options.size-1,"up");break;case Ce.pageUp:if(!C.value)return;sn(r.hoveringIndex-10,"up");break;case Ce.pageDown:if(!C.value)return;sn(r.hoveringIndex+10,"down");break;default:Lt=!1;break}Lt&&(Te.preventDefault(),Te.stopPropagation())},Qo=()=>{if(!c.value)return 0;const Te=window.getComputedStyle(c.value);return Number.parseFloat(Te.gap||"6px")},es=x(()=>{const Te=Qo(),at=e.filterable?Te+11:0;return{maxWidth:`${y.value&&e.maxCollapseTags===1?r.selectionWidth-r.collapseItemWidth-Te-at:r.selectionWidth-at}px`}}),ts=x(()=>({maxWidth:`${r.selectionWidth}px`})),Ar=Te=>{t("popup-scroll",Te)},_o=Te=>{t("end-reached",Te)};rn(c,Re),rn(z,Ze),rn(g,Xe),rn(y,Ge);let ns;return ce(()=>fe.value,Te=>{Te?ns=rn(p,Ze).stop:(ns==null||ns(),ns=void 0),t("visible-change",Te)}),mt(()=>{he()}),{inputId:E,contentId:l,nsSelect:o,nsInput:s,states:r,isFocused:V,expanded:C,optionsArray:X,hoverOption:w,selectSize:J,filteredOptionsCount:ge,updateTooltip:Ze,updateTagTooltip:Xe,debouncedOnInputChange:Pt,onInput:Tt,deletePrevTag:tn,deleteTag:Me,deleteSelected:be,handleOptionSelect:We,scrollToOption:je,hasModelValue:F,shouldShowPlaceholder:me,currentPlaceholder:we,mouseEnterEventName:Ve,needStatusIcon:D,showClearBtn:j,iconComponent:q,iconReverse:Q,validateState:ee,validateIcon:te,showNewOption:re,updateOptions:U,collapseTagSize:se,setSelected:he,selectDisabled:H,emptyText:pe,handleCompositionStart:N,handleCompositionUpdate:R,handleCompositionEnd:K,handleKeydown:fa,onOptionCreate:Ie,onOptionDestroy:tt,handleMenuEnter:pt,focus:yt,blur:_t,handleClearClick:lt,handleClickOutside:Vt,handleEsc:Le,toggleMenu:Ue,selectOption:nt,getValueKey:_e,navigateOptions:Ft,dropdownMenuVisible:fe,showTagList:ze,collapseTagList:Nt,popupScroll:Ar,getOption:Ee,endReached:_o,tagStyle:es,collapseTagStyle:ts,popperRef:ot,inputRef:h,tooltipRef:d,tagTooltipRef:f,prefixRef:m,suffixRef:v,selectRef:u,wrapperRef:z,selectionRef:c,scrollbarRef:b,menuRef:p,tagMenuRef:g,collapseItemRef:y}};var JG=W({name:"ElOptions",setup(e,{slots:t}){const n=De(Fc);let a=[];return()=>{var r,u;const l=(r=t.default)==null?void 0:r.call(t),o=[];function s(c){ve(c)&&c.forEach(d=>{var h,m,v,p;const f=(h=(d==null?void 0:d.type)||{})==null?void 0:h.name;f==="ElOptionGroup"?s(!Ne(d.children)&&!ve(d.children)&&Ke((m=d.children)==null?void 0:m.default)?(v=d.children)==null?void 0:v.default():d.children):f==="ElOption"?o.push((p=d.props)==null?void 0:p.value):ve(d.children)&&s(d.children)})}return l.length&&s((u=l[0])==null?void 0:u.children),gn(o,a)||(a=o,n&&(n.states.optionValues=o)),l}}});const x3="ElSelect",lc=new WeakMap,ZG=e=>(...t)=>{var l,o;const n=t[0];if(!n||n.includes('Slot "default" invoked outside of the render function')&&((l=t[2])!=null&&l.includes("ElTreeSelect")))return;const a=(o=lc.get(e))==null?void 0:o.originalWarnHandler;if(a){a(...t);return}console.warn(...t)},QG=e=>{let t=lc.get(e);return t||(t={originalWarnHandler:e.config.warnHandler,handler:ZG(e),count:0},lc.set(e,t)),t};var eX=W({name:x3,componentName:x3,components:{ElSelectMenu:GG,ElOption:K1,ElOptions:JG,ElOptionGroup:W1,ElTag:Do,ElScrollbar:Dl,ElTooltip:Gn,ElIcon:Be},directives:{ClickOutside:Ts},props:V9,emits:zG,setup(e,{emit:t,slots:n}){const a=st(),l=QG(a.appContext);l.count+=1,a.appContext.config.warnHandler=l.handler;const o=x(()=>{const{modelValue:b,multiple:C}=e,w=C?[]:void 0;return ve(b)?C?b:w:C?w:b}),s=Dt({...Bn(e),modelValue:o}),r=XG(s,t),{calculatorRef:u,inputStyle:c}=s1(),{getLabel:d,getValue:f,getOptions:h,getDisabled:m}=Kc(e),v=b=>({label:d(b),value:f(b),disabled:m(b)}),p=b=>b.reduce((C,w)=>(C.push(w),w.children&&w.children.length>0&&C.push(...p(w.children)),C),[]),g=b=>{tl(b||[]).forEach(C=>{var w;if(rt(C)&&(C.type.name==="ElOption"||C.type.name==="ElTree")){const _=C.type.name;if(_==="ElTree")p(((w=C.props)==null?void 0:w.data)||[]).forEach(k=>{k.currentLabel=k.label??(rt(k.value)?"":k.value),r.onOptionCreate(k)});else if(_==="ElOption"){const k={...C.props};k.currentLabel=k.label??(rt(k.value)?"":k.value),r.onOptionCreate(k)}}})};ce(()=>{var b;return[e.persistent||r.expanded.value||!n.default||(b=n.default)==null?void 0:b.call(n),o.value]},()=>{var b;e.persistent||r.expanded.value||n.default&&(r.states.options.clear(),g((b=n.default)==null?void 0:b.call(n)))},{immediate:!0}),Et(Fc,Dt({props:s,states:r.states,selectRef:r.selectRef,optionsArray:r.optionsArray,setSelected:r.setSelected,handleOptionSelect:r.handleOptionSelect,onOptionCreate:r.onOptionCreate,onOptionDestroy:r.onOptionDestroy}));const y=x(()=>e.multiple?r.states.selected.map(b=>b.currentLabel):r.states.selectedLabel);return Ht(()=>{const b=lc.get(a.appContext);b&&(b.count-=1,b.count<=0&&(a.appContext.config.warnHandler=b.originalWarnHandler,lc.delete(a.appContext)))}),{...r,modelValue:o,selectedLabel:y,calculatorRef:u,inputStyle:c,getLabel:d,getValue:f,getOptions:h,getDisabled:m,getOptionProps:v}}});const tX=["id","value","name","disabled","autocomplete","tabindex","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label"],nX=["textContent"],aX={key:1};function lX(e,t,n,a,l,o){const s=Kt("el-tag"),r=Kt("el-tooltip"),u=Kt("el-icon"),c=Kt("el-option"),d=Kt("el-option-group"),f=Kt("el-options"),h=Kt("el-scrollbar"),m=Kt("el-select-menu"),v=p0("click-outside");return ht((S(),A("div",vt({ref:"selectRef",class:[e.nsSelect.b(),e.nsSelect.m(e.selectSize)]},{[no(e.mouseEnterEventName)]:t[11]||(t[11]=p=>e.states.inputHovering=!0)},{onMouseleave:t[12]||(t[12]=p=>e.states.inputHovering=!1)}),[G(r,{ref:"tooltipRef",visible:e.dropdownMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-style":e.popperStyle,"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,pure:"",trigger:"click",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:t[10]||(t[10]=p=>e.states.isBeforeHide=!1)},{default:ne(()=>{var p;return[$("div",{ref:"wrapperRef",class:P([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:t[7]||(t[7]=Qe((...g)=>e.toggleMenu&&e.toggleMenu(...g),["prevent"]))},[e.$slots.prefix?(S(),A("div",{key:0,ref:"prefixRef",class:P(e.nsSelect.e("prefix"))},[le(e.$slots,"prefix")],2)):oe("v-if",!0),$("div",{ref:"selectionRef",class:P([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.states.selected.length)])},[e.multiple?le(e.$slots,"tag",{key:0,data:e.states.selected,deleteTag:e.deleteTag,selectDisabled:e.selectDisabled},()=>{var g,y,b,C,w,_,k,M,E,T,O,I,N;return[(S(!0),A(He,null,wt(e.showTagList,R=>(S(),A("div",{key:e.getValueKey(R),class:P(e.nsSelect.e("selected-item"))},[G(s,{closable:!e.selectDisabled&&!R.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:Ye(e.tagStyle),onClose:K=>e.deleteTag(K,R)},{default:ne(()=>[$("span",{class:P(e.nsSelect.e("tags-text"))},[le(e.$slots,"label",{index:R.index,label:R.currentLabel,value:R.value},()=>[bt(Se(R.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.states.selected.length>e.maxCollapseTags?(S(),ie(r,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":((g=e.tagTooltip)==null?void 0:g.fallbackPlacements)??["bottom","top","right","left"],effect:((y=e.tagTooltip)==null?void 0:y.effect)??e.effect,placement:((b=e.tagTooltip)==null?void 0:b.placement)??"bottom","popper-class":((C=e.tagTooltip)==null?void 0:C.popperClass)??e.popperClass,"popper-style":((w=e.tagTooltip)==null?void 0:w.popperStyle)??e.popperStyle,teleported:((_=e.tagTooltip)==null?void 0:_.teleported)??e.teleported,"append-to":((k=e.tagTooltip)==null?void 0:k.appendTo)??e.appendTo,"popper-options":((M=e.tagTooltip)==null?void 0:M.popperOptions)??e.popperOptions,transition:(E=e.tagTooltip)==null?void 0:E.transition,"show-after":(T=e.tagTooltip)==null?void 0:T.showAfter,"hide-after":(O=e.tagTooltip)==null?void 0:O.hideAfter,"auto-close":(I=e.tagTooltip)==null?void 0:I.autoClose,offset:(N=e.tagTooltip)==null?void 0:N.offset},{default:ne(()=>[$("div",{ref:"collapseItemRef",class:P(e.nsSelect.e("selected-item"))},[G(s,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:Ye(e.collapseTagStyle)},{default:ne(()=>[$("span",{class:P(e.nsSelect.e("tags-text"))}," + "+Se(e.states.selected.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:ne(()=>[$("div",{ref:"tagMenuRef",class:P(e.nsSelect.e("selection"))},[(S(!0),A(He,null,wt(e.collapseTagList,R=>(S(),A("div",{key:e.getValueKey(R),class:P(e.nsSelect.e("selected-item"))},[G(s,{class:"in-tooltip",closable:!e.selectDisabled&&!R.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:K=>e.deleteTag(K,R)},{default:ne(()=>[$("span",{class:P(e.nsSelect.e("tags-text"))},[le(e.$slots,"label",{index:R.index,label:R.currentLabel,value:R.value},()=>[bt(Se(R.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","fallback-placements","effect","placement","popper-class","popper-style","teleported","append-to","popper-options","transition","show-after","hide-after","auto-close","offset"])):oe("v-if",!0)]}):oe("v-if",!0),$("div",{class:P([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable||e.selectDisabled||e.multiple&&!e.states.inputValue&&!e.isFocused)])},[$("input",{id:e.inputId,ref:"inputRef",value:e.states.inputValue,type:"text",name:e.name,class:P([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:Ye(e.inputStyle),tabindex:e.tabindex,role:"combobox",readonly:!e.filterable,spellcheck:"false","aria-activedescendant":((p=e.hoverOption)==null?void 0:p.id)||"","aria-controls":e.contentId,"aria-expanded":e.dropdownMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onKeydown:t[0]||(t[0]=(...g)=>e.handleKeydown&&e.handleKeydown(...g)),onCompositionstart:t[1]||(t[1]=(...g)=>e.handleCompositionStart&&e.handleCompositionStart(...g)),onCompositionupdate:t[2]||(t[2]=(...g)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...g)),onCompositionend:t[3]||(t[3]=(...g)=>e.handleCompositionEnd&&e.handleCompositionEnd(...g)),onInput:t[4]||(t[4]=(...g)=>e.onInput&&e.onInput(...g)),onChange:t[5]||(t[5]=Qe(()=>{},["stop"])),onClick:t[6]||(t[6]=Qe((...g)=>e.toggleMenu&&e.toggleMenu(...g),["stop"]))},null,46,tX),e.filterable?(S(),A("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:P(e.nsSelect.e("input-calculator")),textContent:Se(e.states.inputValue)},null,10,nX)):oe("v-if",!0)],2),e.shouldShowPlaceholder?(S(),A("div",{key:1,class:P([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?le(e.$slots,"label",{key:0,index:e.getOption(e.modelValue).index,label:e.currentPlaceholder,value:e.modelValue},()=>[$("span",null,Se(e.currentPlaceholder),1)]):(S(),A("span",aX,Se(e.currentPlaceholder),1))],2)):oe("v-if",!0)],2),$("div",{ref:"suffixRef",class:P(e.nsSelect.e("suffix"))},[e.iconComponent&&!e.showClearBtn?(S(),ie(u,{key:0,class:P([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:ne(()=>[(S(),ie(ft(e.iconComponent)))]),_:1},8,["class"])):oe("v-if",!0),e.showClearBtn&&e.clearIcon?(S(),ie(u,{key:1,class:P([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.nsSelect.e("clear")]),onClick:e.handleClearClick},{default:ne(()=>[(S(),ie(ft(e.clearIcon)))]),_:1},8,["class","onClick"])):oe("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(S(),ie(u,{key:2,class:P([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading",e.validateState==="validating")])},{default:ne(()=>[(S(),ie(ft(e.validateIcon)))]),_:1},8,["class"])):oe("v-if",!0)],2)],2)]}),content:ne(()=>[G(m,{ref:"menuRef"},{default:ne(()=>[e.$slots.header?(S(),A("div",{key:0,class:P(e.nsSelect.be("dropdown","header")),onClick:t[8]||(t[8]=Qe(()=>{},["stop"]))},[le(e.$slots,"header")],2)):oe("v-if",!0),ht(G(h,{id:e.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:P([e.nsSelect.is("empty",e.filteredOptionsCount===0)]),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical",onScroll:e.popupScroll,onEndReached:e.endReached},{default:ne(()=>[e.showNewOption?(S(),ie(c,{key:0,value:e.states.inputValue,created:!0},null,8,["value"])):oe("v-if",!0),G(f,null,{default:ne(()=>[le(e.$slots,"default",{},()=>[(S(!0),A(He,null,wt(e.options,(p,g)=>{var y;return S(),A(He,{key:g},[(y=e.getOptions(p))!=null&&y.length?(S(),ie(d,{key:0,label:e.getLabel(p),disabled:e.getDisabled(p)},{default:ne(()=>[(S(!0),A(He,null,wt(e.getOptions(p),b=>(S(),ie(c,vt({key:e.getValue(b)},{ref_for:!0},e.getOptionProps(b)),null,16))),128))]),_:2},1032,["label","disabled"])):(S(),ie(c,vt({key:1,ref_for:!0},e.getOptionProps(p)),null,16))],64)}),128))])]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label","onScroll","onEndReached"]),[[It,e.states.options.size>0&&!e.loading]]),e.$slots.loading&&e.loading?(S(),A("div",{key:1,class:P(e.nsSelect.be("dropdown","loading"))},[le(e.$slots,"loading")],2)):e.loading||e.filteredOptionsCount===0?(S(),A("div",{key:2,class:P(e.nsSelect.be("dropdown","empty"))},[le(e.$slots,"empty",{},()=>[$("span",null,Se(e.emptyText),1)])],2)):oe("v-if",!0),e.$slots.footer?(S(),A("div",{key:3,class:P(e.nsSelect.be("dropdown","footer")),onClick:t[9]||(t[9]=Qe(()=>{},["stop"]))},[le(e.$slots,"footer")],2)):oe("v-if",!0)]),_:3},512)]),_:3},8,["visible","placement","teleported","popper-class","popper-style","popper-options","fallback-placements","effect","transition","persistent","append-to","show-arrow","offset","onBeforeShow"])],16)),[[v,e.handleClickOutside,e.popperRef]])}var oX=Hn(eX,[["render",lX]]);const Os=ct(oX,{Option:K1,OptionGroup:W1}),If=mn(K1),sX=mn(W1),rX=(e,t)=>{const n=e.subtract(1,"month").endOf("month").date();return _s(t).map((a,l)=>n-(t-l-1))},iX=e=>_s(e.daysInMonth()).map((t,n)=>n+1),uX=e=>_s(e.length/7).map(t=>{const n=t*7;return e.slice(n,n+7)}),cX=ke({selectedDay:{type:Y(Object)},range:{type:Y(Array)},date:{type:Y(Object),required:!0},hideHeader:{type:Boolean}}),dX={pick:e=>rt(e)};var L9={exports:{}};(function(e,t){(function(n,a){e.exports=a()})(bo,function(){return function(n,a,l){var o=a.prototype,s=function(f){return f&&(f.indexOf?f:f.s)},r=function(f,h,m,v,p){var g=f.name?f:f.$locale(),y=s(g[h]),b=s(g[m]),C=y||b.map(function(_){return _.slice(0,v)});if(!p)return C;var w=g.weekStart;return C.map(function(_,k){return C[(k+(w||0))%7]})},u=function(){return l.Ls[l.locale()]},c=function(f,h){return f.formats[h]||function(m){return m.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(v,p,g){return p||g.slice(1)})}(f.formats[h.toUpperCase()])},d=function(){var f=this;return{months:function(h){return h?h.format("MMMM"):r(f,"months")},monthsShort:function(h){return h?h.format("MMM"):r(f,"monthsShort","months",3)},firstDayOfWeek:function(){return f.$locale().weekStart||0},weekdays:function(h){return h?h.format("dddd"):r(f,"weekdays")},weekdaysMin:function(h){return h?h.format("dd"):r(f,"weekdaysMin","weekdays",2)},weekdaysShort:function(h){return h?h.format("ddd"):r(f,"weekdaysShort","weekdays",3)},longDateFormat:function(h){return c(f.$locale(),h)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};o.localeData=function(){return d.bind(this)()},l.localeData=function(){var f=u();return{firstDayOfWeek:function(){return f.weekStart||0},weekdays:function(){return l.weekdays()},weekdaysShort:function(){return l.weekdaysShort()},weekdaysMin:function(){return l.weekdaysMin()},months:function(){return l.months()},monthsShort:function(){return l.monthsShort()},longDateFormat:function(h){return c(f,h)},meridiem:f.meridiem,ordinal:f.ordinal}},l.months=function(){return r(u(),"months")},l.monthsShort=function(){return r(u(),"monthsShort","months",3)},l.weekdays=function(f){return r(u(),"weekdays",null,null,f)},l.weekdaysShort=function(f){return r(u(),"weekdaysShort","weekdays",3,f)},l.weekdaysMin=function(f){return r(u(),"weekdaysMin","weekdays",2,f)}}})})(L9);var fX=L9.exports;const B9=wo(fX),pX=(e,t)=>{et.extend(B9);const n=et.localeData().firstDayOfWeek(),{t:a,lang:l}=St(),o=et().locale(l.value),s=x(()=>!!e.range&&!!e.range.length),r=x(()=>{let h=[];if(s.value){const[m,v]=e.range,p=_s(v.date()-m.date()+1).map(b=>({text:m.date()+b,type:"current"}));let g=p.length%7;g=g===0?0:7-g;const y=_s(g).map((b,C)=>({text:C+1,type:"next"}));h=p.concat(y)}else{const m=e.date.startOf("month").day(),v=rX(e.date,(m-n+7)%7).map(y=>({text:y,type:"prev"})),p=iX(e.date).map(y=>({text:y,type:"current"}));h=[...v,...p];const g=_s(7-(h.length%7||7)).map((y,b)=>({text:b+1,type:"next"}));h=h.concat(g)}return uX(h)}),u=x(()=>{const h=n;return h===0?yp.map(m=>a(`el.datepicker.weeks.${m}`)):yp.slice(h).concat(yp.slice(0,h)).map(m=>a(`el.datepicker.weeks.${m}`))}),c=(h,m)=>{switch(m){case"prev":return e.date.startOf("month").subtract(1,"month").date(h);case"next":return e.date.startOf("month").add(1,"month").date(h);case"current":return e.date.date(h)}};return{now:o,isInRange:s,rows:r,weekDays:u,getFormattedDate:c,handlePickDay:({text:h,type:m})=>{t("pick",c(h,m))},getSlotData:({text:h,type:m})=>{const v=c(h,m);return{isSelected:v.isSame(e.selectedDay),type:`${m}-month`,day:v.format(qr),date:v.toDate()}}}},hX={key:0},vX=["onClick"];var mX=W({name:"DateTable",__name:"date-table",props:cX,emits:dX,setup(e,{expose:t,emit:n}){const a=e,{isInRange:l,now:o,rows:s,weekDays:r,getFormattedDate:u,handlePickDay:c,getSlotData:d}=pX(a,n),f=ye("calendar-table"),h=ye("calendar-day"),m=({text:v,type:p})=>{const g=[p];if(p==="current"){const y=u(v,p);y.isSame(a.selectedDay,"day")&&g.push(h.is("selected")),y.isSame(o,"day")&&g.push(h.is("today"))}return g};return t({getFormattedDate:u}),(v,p)=>(S(),A("table",{class:P([i(f).b(),i(f).is("range",i(l))]),cellspacing:"0",cellpadding:"0"},[e.hideHeader?oe("v-if",!0):(S(),A("thead",hX,[$("tr",null,[(S(!0),A(He,null,wt(i(r),g=>(S(),A("th",{key:g,scope:"col"},Se(g),1))),128))])])),$("tbody",null,[(S(!0),A(He,null,wt(i(s),(g,y)=>(S(),A("tr",{key:y,class:P({[i(f).e("row")]:!0,[i(f).em("row","hide-border")]:y===0&&e.hideHeader})},[(S(!0),A(He,null,wt(g,(b,C)=>(S(),A("td",{key:C,class:P(m(b)),onClick:w=>i(c)(b)},[$("div",{class:P(i(h).b())},[le(v.$slots,"date-cell",{data:i(d)(b)},()=>[$("span",null,Se(b.text),1)])],2)],10,vX))),128))],2))),128))])],2))}}),k3=mX;const gX=(e,t)=>{const n=e.endOf("month"),a=t.startOf("month"),l=n.isSame(a,"week")?a.add(1,"week"):a;return[[e,n],[l.startOf("week"),t]]},yX=(e,t)=>{const n=e.endOf("month"),a=e.add(1,"month").startOf("month"),l=n.isSame(a,"week")?a.add(1,"week"):a,o=l.endOf("month"),s=t.startOf("month"),r=o.isSame(s,"week")?s.add(1,"week"):s;return[[e,n],[l.startOf("week"),o],[r.startOf("week"),t]]},bX=(e,t,n)=>{const{lang:a}=St(),l=B(),o=et().locale(a.value),s=x({get(){return e.modelValue?u.value:l.value},set(y){if(!y)return;l.value=y;const b=y.toDate();t(In,b),t(it,b)}}),r=x(()=>{if(!e.range||!ve(e.range)||e.range.length!==2||e.range.some(C=>!Ss(C)))return[];const[y,b]=e.range.map(C=>et(C).locale(a.value));return y.isAfter(b)?(jt(n,"end time should be greater than start time"),[]):y.isSame(b,"month")||y.add(1,"month").isSame(b,"month")?m(y,b):(jt(n,"start time and end time interval must not exceed two months"),[])}),u=x(()=>e.modelValue?et(e.modelValue).locale(a.value):s.value||(r.value.length?r.value[0][0]:o)),c=x(()=>u.value.subtract(1,"month").date(1)),d=x(()=>u.value.add(1,"month").date(1)),f=x(()=>u.value.subtract(1,"year").date(1)),h=x(()=>u.value.add(1,"year").date(1)),m=(y,b)=>{const C=y.startOf("week"),w=b.endOf("week"),_=C.get("month"),k=w.get("month");return _===k?[[C,w]]:(_+1)%12===k?gX(C,w):_+2===k||(_+1)%11===k?yX(C,w):(jt(n,"start time and end time interval must not exceed two months"),[])},v=y=>{s.value=y},p=y=>{const b={"prev-month":c.value,"next-month":d.value,"prev-year":f.value,"next-year":h.value,today:o}[y];b.isSame(u.value,"day")||v(b)};return{calculateValidatedDateRange:m,date:u,realSelectedDay:s,pickDay:v,selectDate:p,validatedRange:r,handleDateChange:y=>{y==="today"?p("today"):v(y)}}},wX=ke({date:{type:Y(Object),required:!0},formatter:{type:Y(Function)}}),CX={"date-change":e=>rt(e)||Ne(e)};var _X=W({name:"SelectController",__name:"select-controller",props:wX,emits:CX,setup(e,{emit:t}){const n=e,a=t,l=ye("calendar-select"),{t:o,lang:s}=St(),r=Array.from({length:12},(v,p)=>{const g=p+1;return{value:g,label:Ke(n.formatter)?n.formatter(g,"month"):g}}),u=x(()=>n.date.year()),c=x(()=>n.date.month()+1),d=x(()=>{const v=[];for(let p=-10;p<10;p++){const g=u.value+p;if(g>0){const y=Ke(n.formatter)?n.formatter(g,"year"):g;v.push({value:g,label:y})}}return v}),f=v=>{a("date-change",et(new Date(v,c.value-1,1)).locale(s.value))},h=v=>{a("date-change",et(new Date(u.value,v-1,1)).locale(s.value))},m=()=>{a("date-change","today")};return(v,p)=>(S(),A(He,null,[G(i(Os),{"model-value":u.value,size:"small",class:P(i(l).e("year")),"validate-event":!1,options:d.value,onChange:f},null,8,["model-value","class","options"]),G(i(Os),{"model-value":c.value,size:"small",class:P(i(l).e("month")),"validate-event":!1,options:i(r),onChange:h},null,8,["model-value","class","options"]),G(i(Un),{size:"small",onClick:m},{default:ne(()=>[bt(Se(i(o)("el.datepicker.today")),1)]),_:1})],64))}}),SX=_X;const E3="ElCalendar";var xX=W({name:E3,__name:"calendar",props:dG,emits:fG,setup(e,{expose:t,emit:n}){const a=ye("calendar"),{calculateValidatedDateRange:l,date:o,pickDay:s,realSelectedDay:r,selectDate:u,validatedRange:c,handleDateChange:d}=bX(e,n,E3),{t:f}=St(),h=x(()=>{const m=`el.datepicker.month${o.value.format("M")}`;return`${o.value.year()} ${f("el.datepicker.year")} ${f(m)}`});return t({selectedDay:r,pickDay:s,selectDate:u,calculateValidatedDateRange:l}),(m,v)=>(S(),A("div",{class:P(i(a).b())},[$("div",{class:P(i(a).e("header"))},[le(m.$slots,"header",{date:h.value},()=>[$("div",{class:P(i(a).e("title"))},Se(h.value),3),i(c).length===0&&e.controllerType==="button"?(S(),A("div",{key:0,class:P(i(a).e("button-group"))},[G(i(C9),null,{default:ne(()=>[G(i(Un),{size:"small",onClick:v[0]||(v[0]=p=>i(u)("prev-month"))},{default:ne(()=>[bt(Se(i(f)("el.datepicker.prevMonth")),1)]),_:1}),G(i(Un),{size:"small",onClick:v[1]||(v[1]=p=>i(u)("today"))},{default:ne(()=>[bt(Se(i(f)("el.datepicker.today")),1)]),_:1}),G(i(Un),{size:"small",onClick:v[2]||(v[2]=p=>i(u)("next-month"))},{default:ne(()=>[bt(Se(i(f)("el.datepicker.nextMonth")),1)]),_:1})]),_:1})],2)):i(c).length===0&&e.controllerType==="select"?(S(),A("div",{key:1,class:P(i(a).e("select-controller"))},[G(SX,{date:i(o),formatter:e.formatter,onDateChange:i(d)},null,8,["date","formatter","onDateChange"])],2)):oe("v-if",!0)])],2),i(c).length===0?(S(),A("div",{key:0,class:P(i(a).e("body"))},[G(k3,{date:i(o),"selected-day":i(r),onPick:i(s)},da({_:2},[m.$slots["date-cell"]?{name:"date-cell",fn:ne(p=>[le(m.$slots,"date-cell",El(Ol(p)))]),key:"0"}:void 0]),1032,["date","selected-day","onPick"])],2)):(S(),A("div",{key:1,class:P(i(a).e("body"))},[(S(!0),A(He,null,wt(i(c),(p,g)=>(S(),ie(k3,{key:g,date:p[0],"selected-day":i(r),range:p,"hide-header":g!==0,onPick:i(s)},da({_:2},[m.$slots["date-cell"]?{name:"date-cell",fn:ne(y=>[le(m.$slots,"date-cell",vt({ref_for:!0},y))]),key:"0"}:void 0]),1032,["date","selected-day","range","hide-header","onPick"]))),128))],2))],2))}}),kX=xX;const EX=ct(kX),TX=ke({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:Y([String,Object,Array,Boolean]),default:""},headerClass:{type:Y([String,Array,Object,Boolean]),default:void 0},bodyClass:{type:Y([String,Array,Object,Boolean]),default:void 0},footerClass:{type:Y([String,Array,Object,Boolean]),default:void 0},shadow:{type:String,values:["always","hover","never"],default:void 0}});var MX=W({name:"ElCard",__name:"card",props:TX,setup(e){const t=Zo("card"),n=ye("card");return(a,l)=>{var o;return S(),A("div",{class:P([i(n).b(),i(n).is(`${e.shadow||((o=i(t))==null?void 0:o.shadow)||"always"}-shadow`)])},[a.$slots.header||e.header?(S(),A("div",{key:0,class:P([i(n).e("header"),e.headerClass])},[le(a.$slots,"header",{},()=>[bt(Se(e.header),1)])],2)):oe("v-if",!0),$("div",{class:P([i(n).e("body"),e.bodyClass]),style:Ye(e.bodyStyle)},[le(a.$slots,"default")],6),a.$slots.footer||e.footer?(S(),A("div",{key:1,class:P([i(n).e("footer"),e.footerClass])},[le(a.$slots,"footer",{},()=>[bt(Se(e.footer),1)])],2)):oe("v-if",!0)],2)}}}),OX=MX;const $X=ct(OX),NX=ke({initialIndex:{type:Number,default:0},height:{type:String,default:""},trigger:{type:String,values:["hover","click"],default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:{type:String,values:["","none","outside"],default:""},arrow:{type:String,values:["always","hover","never"],default:"hover"},type:{type:String,values:["","card"],default:""},cardScale:{type:Number,default:.83},loop:{type:Boolean,default:!0},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:Boolean}),AX={change:(e,t)=>[e,t].every(qe)},z9=Symbol("carouselContextKey"),Pf="ElCarouselItem",IX=ke({name:{type:String,default:""},label:{type:[String,Number],default:""}}),T3=300,PX=(e,t,n)=>{const{children:a,addChild:l,removeChild:o,ChildrenSorter:s}=F0(st(),Pf),r=wn(),u=B(-1),c=B(null),d=B(!1),f=B(),h=B(0),m=B(!0),v=x(()=>e.arrow!=="never"&&!i(y)),p=x(()=>a.value.some(te=>te.props.label.toString().length>0)),g=x(()=>e.type==="card"),y=x(()=>e.direction==="vertical"),b=x(()=>e.height!=="auto"?{height:e.height}:{height:`${h.value}px`,overflow:"hidden"}),C=hs(te=>{T(te)},T3,{trailing:!0}),w=hs(te=>{V(te)},T3),_=te=>m.value?u.value<=1?te<=1:te>1:!0;function k(){c.value&&(clearInterval(c.value),c.value=null)}function M(){e.interval<=0||!e.autoplay||c.value||(c.value=setInterval(()=>E(),e.interval))}const E=()=>{u.valuege.props.name===te);pe.length>0&&(te=a.value.indexOf(pe[0]))}if(te=Number(te),Number.isNaN(te)||te!==Math.floor(te)){jt(n,"index must be integer.");return}const ae=a.value.length,ue=u.value;te<0?u.value=e.loop?ae-1:0:te>=ae?u.value=e.loop?0:ae-1:u.value=te,ue===u.value&&O(ue),D()}function O(te){a.value.forEach((ae,ue)=>{ae.translateItem(ue,u.value,te)})}function I(te,ae){var fe,me,we,Ve;const ue=i(a),pe=ue.length;if(pe===0||!te.states.inStage)return!1;const ge=ae+1,X=ae-1,Z=pe-1,re=ue[Z].states.active,U=ue[0].states.active,J=(me=(fe=ue[ge])==null?void 0:fe.states)==null?void 0:me.active,se=(Ve=(we=ue[X])==null?void 0:we.states)==null?void 0:Ve.active;return ae===Z&&U||J?"left":ae===0&&re||se?"right":!1}function N(){d.value=!0,e.pauseOnHover&&k()}function R(){d.value=!1,M()}function K(te){i(y)||a.value.forEach((ae,ue)=>{te===I(ae,ue)&&(ae.states.hover=!0)})}function H(){i(y)||a.value.forEach(te=>{te.states.hover=!1})}function z(te){u.value=te}function V(te){e.trigger==="hover"&&te!==u.value&&(u.value=te)}function L(){T(u.value-1)}function F(){T(u.value+1)}function D(){k(),(!e.pauseOnHover||!d.value)&&M()}function j(te){e.height==="auto"&&(h.value=te)}function q(){var ue;const te=(ue=r.default)==null?void 0:ue.call(r);if(!te)return null;const ae=tl(te).filter(pe=>Yt(pe)&&pe.type.name==="ElCarouselItem");return(ae==null?void 0:ae.length)===2&&e.loop&&!g.value?(m.value=!0,ae):(m.value=!1,null)}ce(()=>u.value,(te,ae)=>{O(ae),m.value&&(te=te%2,ae=ae%2),ae>-1&&t(Ct,te,ae)});const Q=x({get:()=>m.value?u.value%2:u.value,set:te=>u.value=te});ce(()=>e.autoplay,te=>{te?M():k()}),ce(()=>e.loop,()=>{T(u.value)}),ce(()=>e.interval,()=>{D()});const ee=kt();return mt(()=>{ce(()=>a.value,()=>{a.value.length>0&&T(e.initialIndex)},{immediate:!0}),ee.value=rn(f.value,()=>{O()}),M()}),Ht(()=>{k(),f.value&&ee.value&&ee.value.stop()}),Et(z9,{root:f,isCardType:g,isVertical:y,items:a,loop:e.loop,cardScale:e.cardScale,addItem:l,removeItem:o,setActiveItem:T,setContainerHeight:j}),{root:f,activeIndex:u,exposeActiveIndex:Q,arrowDisplay:v,hasLabel:p,hover:d,isCardType:g,items:a,isVertical:y,containerStyle:b,isItemsTwoLength:m,handleButtonEnter:K,handleButtonLeave:H,handleIndicatorClick:z,handleMouseEnter:N,handleMouseLeave:R,setActiveItem:T,prev:L,next:F,PlaceholderItem:q,isTwoLengthShow:_,ItemsSorter:s,throttledArrowClick:C,throttledIndicatorHover:w}},RX=["aria-label"],VX=["aria-label"],LX=["onMouseenter","onClick"],BX=["aria-label"],zX={key:0},DX={key:2,xmlns:"http://www.w3.org/2000/svg",version:"1.1",style:{display:"none"}},M3="ElCarousel";var HX=W({name:M3,__name:"carousel",props:NX,emits:AX,setup(e,{expose:t,emit:n}){const a=e,{root:l,activeIndex:o,exposeActiveIndex:s,arrowDisplay:r,hasLabel:u,hover:c,isCardType:d,items:f,isVertical:h,containerStyle:m,handleButtonEnter:v,handleButtonLeave:p,handleIndicatorClick:g,handleMouseEnter:y,handleMouseLeave:b,setActiveItem:C,prev:w,next:_,PlaceholderItem:k,isTwoLengthShow:M,ItemsSorter:E,throttledArrowClick:T,throttledIndicatorHover:O}=PX(a,n,M3),I=ye("carousel"),{t:N}=St(),R=x(()=>{const V=[I.b(),I.m(a.direction)];return i(d)&&V.push(I.m("card")),V.push(I.is("vertical-outside",i(h)&&a.indicatorPosition==="outside")),V}),K=x(()=>{const V=[I.e("indicators"),I.em("indicators",a.direction)];return i(u)&&V.push(I.em("indicators","labels")),a.indicatorPosition==="outside"&&V.push(I.em("indicators","outside")),i(h)&&V.push(I.em("indicators","right")),V});function H(V){if(!a.motionBlur)return;const L=i(h)?`${I.namespace.value}-transitioning-vertical`:`${I.namespace.value}-transitioning`;V.currentTarget.classList.add(L)}function z(V){if(!a.motionBlur)return;const L=i(h)?`${I.namespace.value}-transitioning-vertical`:`${I.namespace.value}-transitioning`;V.currentTarget.classList.remove(L)}return t({activeIndex:s,setActiveItem:C,prev:w,next:_}),(V,L)=>(S(),A("div",{ref_key:"root",ref:l,class:P(R.value),onMouseenter:L[6]||(L[6]=Qe((...F)=>i(y)&&i(y)(...F),["stop"])),onMouseleave:L[7]||(L[7]=Qe((...F)=>i(b)&&i(b)(...F),["stop"]))},[i(r)?(S(),ie(Yn,{key:0,name:"carousel-arrow-left",persisted:""},{default:ne(()=>[ht($("button",{type:"button",class:P([i(I).e("arrow"),i(I).em("arrow","left")]),"aria-label":i(N)("el.carousel.leftArrow"),onMouseenter:L[0]||(L[0]=F=>i(v)("left")),onMouseleave:L[1]||(L[1]=(...F)=>i(p)&&i(p)(...F)),onClick:L[2]||(L[2]=Qe(F=>i(T)(i(o)-1),["stop"]))},[G(i(Be),null,{default:ne(()=>[G(i(mo))]),_:1})],42,RX),[[It,(e.arrow==="always"||i(c))&&(e.loop||i(o)>0)]])]),_:1})):oe("v-if",!0),i(r)?(S(),ie(Yn,{key:1,name:"carousel-arrow-right",persisted:""},{default:ne(()=>[ht($("button",{type:"button",class:P([i(I).e("arrow"),i(I).em("arrow","right")]),"aria-label":i(N)("el.carousel.rightArrow"),onMouseenter:L[3]||(L[3]=F=>i(v)("right")),onMouseleave:L[4]||(L[4]=(...F)=>i(p)&&i(p)(...F)),onClick:L[5]||(L[5]=Qe(F=>i(T)(i(o)+1),["stop"]))},[G(i(Be),null,{default:ne(()=>[G(i(ua))]),_:1})],42,VX),[[It,(e.arrow==="always"||i(c))&&(e.loop||i(o)[e.indicatorPosition!=="none"?(S(),A("ul",{key:0,class:P(K.value)},[(S(!0),A(He,null,wt(i(f),(F,D)=>ht((S(),A("li",{key:D,class:P([i(I).e("indicator"),i(I).em("indicator",e.direction),i(I).is("active",D===i(o))]),onMouseenter:j=>i(O)(D),onClick:Qe(j=>i(g)(D),["stop"])},[$("button",{class:P(i(I).e("button")),"aria-label":i(N)("el.carousel.indicator",{index:D+1})},[i(u)?(S(),A("span",zX,Se(F.props.label),1)):oe("v-if",!0)],10,BX)],42,LX)),[[It,i(M)(D)]])),128))],2)):oe("v-if",!0)]),_:1}),e.motionBlur?(S(),A("svg",DX,[...L[8]||(L[8]=[$("defs",null,[$("filter",{id:"elCarouselHorizontal"},[$("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"12,0"})]),$("filter",{id:"elCarouselVertical"},[$("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"0,10"})])],-1)])])):oe("v-if",!0)],34))}}),FX=HX;const KX=e=>{const t=De(z9),n=st();t||jt(Pf,"usage: "),n||jt(Pf,"compositional hook can only be invoked inside setups");const a=B(),l=B(!1),o=B(0),s=B(1),r=B(!1),u=B(!1),c=B(!1),d=B(!1),{isCardType:f,isVertical:h,cardScale:m}=t;function v(w,_,k){const M=k-1,E=_-1,T=_+1,O=k/2;return _===0&&w===M?-1:_===M&&w===0?k:w=O?k+1:w>T&&w-_>=O?-2:w}function p(w,_){var M,E;const k=i(h)?((M=t.root.value)==null?void 0:M.offsetHeight)||0:((E=t.root.value)==null?void 0:E.offsetWidth)||0;return c.value?k*((2-m)*(w-_)+1)/4:w<_?-(1+m)*k/4:(3+m)*k/4}function g(w,_,k){const M=t.root.value;return M?((k?M.offsetHeight:M.offsetWidth)||0)*(w-_):0}const y=(w,_,k)=>{const M=i(f),E=t.items.value.length??NaN,T=w===_;!M&&!Mt(k)&&(d.value=T||w===k),!T&&E>2&&t.loop&&(w=v(w,_,E));const O=i(h);r.value=T,M?(c.value=Math.round(Math.abs(w-_))<=1,o.value=p(w,_),s.value=i(r)?1:m):o.value=g(w,_,O),u.value=!0,T&&a.value&&t.setContainerHeight(a.value.offsetHeight)};function b(){if(t&&i(f)){const w=t.items.value.findIndex(({uid:_})=>_===n.uid);t.setActiveItem(w)}}const C={props:e,states:Dt({hover:l,translate:o,scale:s,active:r,ready:u,inStage:c,animating:d}),uid:n.uid,getVnode:()=>n.vnode,translateItem:y};return t.addItem(C),Ht(()=>{t.removeItem(C)}),{carouselItemRef:a,active:r,animating:d,hover:l,inStage:c,isVertical:h,translate:o,isCardType:f,scale:s,ready:u,handleItemClick:b}};var WX=W({name:Pf,__name:"carousel-item",props:IX,setup(e){const t=e,n=ye("carousel"),{carouselItemRef:a,active:l,animating:o,hover:s,inStage:r,isVertical:u,translate:c,isCardType:d,scale:f,ready:h,handleItemClick:m}=KX(t),v=x(()=>[n.e("item"),n.is("active",l.value),n.is("in-stage",r.value),n.is("hover",s.value),n.is("animating",o.value),{[n.em("item","card")]:d.value,[n.em("item","card-vertical")]:d.value&&u.value}]),p=x(()=>({transform:[`${`translate${i(u)?"Y":"X"}`}(${i(c)}px)`,`scale(${i(f)})`].join(" ")}));return(g,y)=>ht((S(),A("div",{ref_key:"carouselItemRef",ref:a,class:P(v.value),style:Ye(p.value),onClick:y[0]||(y[0]=(...b)=>i(m)&&i(m)(...b))},[i(d)?ht((S(),A("div",{key:0,class:P(i(n).e("mask"))},null,2)),[[It,!i(l)]]):oe("v-if",!0),le(g.$slots,"default")],6)),[[It,i(h)]])}}),D9=WX;const jX=ct(FX,{CarouselItem:D9}),qX=mn(D9),H9=ke({modelValue:{type:Y([Number,String,Array,Object])},options:{type:Y(Array),default:()=>[]},props:{type:Y(Object),default:()=>({})},virtualScroll:Boolean,itemSize:{type:Number,default:34},height:{type:Number,default:204}}),UX={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:ut,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500,checkOnClickNode:!1,checkOnClickLeaf:!0,showPrefix:!0},YX=ke({...H9,border:{type:Boolean,default:!0},renderLabel:{type:Function}}),O3=e=>!0,GX={[it]:O3,[Ct]:O3,close:()=>!0,"expand-change":e=>e},XX=e=>x(()=>({...UX,...e.props})),Rf="itemRendered",Vf="scroll",Bp="end-reached",Lf="forward",JX="backward",fl="auto",oc="start",to="center",ZX="horizontal",F9="vertical",sc="negative",j1="positive-ascending",q1="positive-descending",QX={[ZX]:"left",[F9]:"top"},s2=Wl({type:Y([Number,Function]),required:!0}),r2=Wl({type:Number}),i2=Wl({type:Number,default:2}),eJ=Wl({type:String,values:["ltr","rtl"],default:"ltr"}),u2=Wl({type:Number,default:0}),Bf=Wl({type:Number,required:!0}),K9=Wl({type:String,values:["horizontal","vertical"],default:F9}),W9=ke({className:{type:Y([String,Array,Object,Boolean]),default:""},containerElement:{type:Y([String,Object]),default:"div"},data:{type:Y(Array),default:()=>yn([])},direction:eJ,height:{type:[String,Number],required:!0},innerElement:{type:[String,Object],default:"div"},innerProps:{type:Y(Object),default:()=>({})},style:{type:Y([Object,String,Array,Boolean]),default:void 0},useIsScrolling:Boolean,width:{type:[Number,String],required:!1},innerWidth:{type:[Number,String],required:!1},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:Boolean}),j9=ke({cache:i2,estimatedItemSize:r2,layout:K9,initScrollOffset:u2,total:Bf,itemSize:s2,...W9}),c2={type:Number,default:6},q9={type:Number,default:0},U9={type:Number,default:2},ar=ke({columnCache:i2,columnWidth:s2,estimatedColumnWidth:r2,estimatedRowHeight:r2,initScrollLeft:u2,initScrollTop:u2,itemKey:{type:Y(Function),default:({columnIndex:e,rowIndex:t})=>`${t}:${e}`},rowCache:i2,rowHeight:s2,totalColumn:Bf,totalRow:Bf,hScrollbarSize:c2,vScrollbarSize:c2,scrollbarStartGap:q9,scrollbarEndGap:U9,role:String,...W9}),Y9=ke({alwaysOn:Boolean,class:{type:Y([String,Array,Object,Boolean]),default:""},layout:K9,total:Bf,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize:c2,startGap:q9,endGap:U9,visible:Boolean}),gu=(e,t)=>ee==="ltr"||e==="rtl"||e==="horizontal",$3=e=>e==="rtl";let Dr=null;function zf(e=!1){if(Dr===null||e){const t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";const a=document.createElement("div"),l=a.style;return l.width="100px",l.height="100px",t.appendChild(a),document.body.appendChild(t),t.scrollLeft>0?Dr=q1:(t.scrollLeft=1,t.scrollLeft===0?Dr=sc:Dr=j1),document.body.removeChild(t),Dr}return Dr}function tJ({move:e,size:t,bar:n},a){const l={},o=`translate${n.axis}(${e}px)`;return l[n.size]=t,l.transform=o,a==="horizontal"?l.height="100%":l.width="100%",l}var N3=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function nJ(e,t){return!!(e===t||N3(e)&&N3(t))}function aJ(e,t){if(e.length!==t.length)return!1;for(var n=0;n{const e=st().proxy.$props;return x(()=>{const t=(n,a,l)=>({});return e.perfMode?$0(t):lJ(t)})},X9=({atEndEdge:e,atStartEdge:t,layout:n},a)=>{let l,o=0;const s=u=>u<0&&t.value||u>0&&e.value;return{hasReachedEdge:s,onWheel:u=>{Ll(l);let{deltaX:c,deltaY:d}=u;u.shiftKey&&d!==0&&(c=d,d=0);const f=n.value==="horizontal"?c:d;s(f)||(o+=f,!x0()&&f!==0&&u.preventDefault(),l=Sa(()=>{a(o),o=0}))}}},d2=W({name:"ElVirtualScrollBar",props:Y9,emits:["scroll","start-move","stop-move"],setup(e,{emit:t}){const n=x(()=>e.startGap+e.endGap),a=ye("virtual-scrollbar"),l=ye("scrollbar"),o=B(),s=B();let r=null,u=null;const c=Dt({isDragging:!1,traveled:0}),d=x(()=>c9[e.layout]),f=x(()=>e.clientSize-i(n)),h=x(()=>({position:"absolute",width:`${e.layout==="horizontal"?f.value:e.scrollbarSize}px`,height:`${e.layout==="horizontal"?e.scrollbarSize:f.value}px`,[QX[e.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),m=x(()=>{const k=e.ratio;if(k>=100)return Number.POSITIVE_INFINITY;if(k>=50)return k*f.value/100;const M=f.value/3;return Math.floor(Math.min(Math.max(k*f.value/100,20),M))}),v=x(()=>{if(!Number.isFinite(m.value))return{display:"none"};const k=`${m.value}px`;return tJ({bar:d.value,size:k,move:c.traveled},e.layout)}),p=x(()=>Math.ceil(e.clientSize-m.value-i(n))),g=()=>{window.addEventListener("mousemove",w),window.addEventListener("mouseup",C);const k=i(s);k&&(u=document.onselectstart,document.onselectstart=()=>!1,k.addEventListener("touchmove",w,{passive:!0}),k.addEventListener("touchend",C))},y=()=>{window.removeEventListener("mousemove",w),window.removeEventListener("mouseup",C),document.onselectstart=u,u=null;const k=i(s);k&&(k.removeEventListener("touchmove",w),k.removeEventListener("touchend",C))},b=k=>{k.stopImmediatePropagation(),!(k.ctrlKey||[1,2].includes(k.button))&&(c.isDragging=!0,c[d.value.axis]=k.currentTarget[d.value.offset]-(k[d.value.client]-k.currentTarget.getBoundingClientRect()[d.value.direction]),t("start-move"),g())},C=()=>{c.isDragging=!1,c[d.value.axis]=0,t("stop-move"),y()},w=k=>{const{isDragging:M}=c;if(!M||!s.value||!o.value)return;const E=c[d.value.axis];if(!E)return;Ll(r);const T=(o.value.getBoundingClientRect()[d.value.direction]-k[d.value.client])*-1-(s.value[d.value.offset]-E);r=Sa(()=>{c.traveled=Math.max(0,Math.min(T,p.value)),t("scroll",T,p.value)})},_=k=>{const M=Math.abs(k.target.getBoundingClientRect()[d.value.direction]-k[d.value.client])-s.value[d.value.offset]/2;c.traveled=Math.max(0,Math.min(M,p.value)),t("scroll",M,p.value)};return ce(()=>e.scrollFrom,k=>{c.isDragging||(c.traveled=Math.ceil(k*p.value))}),Ht(()=>{y()}),()=>Je("div",{role:"presentation",ref:o,class:[a.b(),e.class,(e.alwaysOn||c.isDragging)&&"always-on"],style:h.value,onMousedown:Qe(_,["stop","prevent"]),onTouchstartPrevent:b},Je("div",{ref:s,class:l.e("thumb"),style:v.value,onMousedown:b},[]))}}),J9=({name:e,getOffset:t,getItemSize:n,getItemOffset:a,getEstimatedTotalSize:l,getStartIndexForOffset:o,getStopIndexForStartIndex:s,initCache:r,clearCache:u,validateProps:c})=>W({name:e??"ElVirtualList",props:j9,emits:[Rf,Vf,Bp],setup(d,{emit:f,expose:h}){c(d);const m=st(),v=ye("vl"),p=B(r(d,m)),g=G9(),y=B(),b=B(),C=B(),w=B({isScrolling:!1,scrollDir:Lf,scrollOffset:qe(d.initScrollOffset)?d.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1}),_=x(()=>{const{total:re,cache:U}=d,{isScrolling:J,scrollDir:se,scrollOffset:fe}=i(w);if(re===0)return[0,0,0,0];const me=o(d,fe,i(p)),we=s(d,me,fe,i(p)),Ve=!J||se==="backward"?Math.max(1,U):1,Ae=!J||se==="forward"?Math.max(1,U):1;return[Math.max(0,me-Ve),Math.max(0,Math.min(re-1,we+Ae)),me,we]}),k=x(()=>l(d,i(p))),M=x(()=>rc(d.layout)),E=x(()=>[{position:"relative",[`overflow-${M.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:d.direction,height:qe(d.height)?`${d.height}px`:d.height,width:qe(d.width)?`${d.width}px`:d.width},d.style]),T=x(()=>{const re=i(k),U=i(M),J=d.innerWidth;return{height:U?"100%":`${re}px`,pointerEvents:i(w).isScrolling?"none":void 0,width:U?`${re}px`:J!==void 0?qe(J)?`${J}px`:J:"100%",margin:0,boxSizing:"border-box"}}),O=x(()=>M.value?d.width:d.height),I=x(()=>Math.max(0,k.value-O.value)),N=re=>_0(re,0,I.value),R=1,K=re=>({start:!so(re,0,R),end:!so(I.value,re,R)}),H=x(()=>N(w.value.scrollOffset)),z=x(()=>K(H.value));let V=z.value;const{onWheel:L}=X9({atStartEdge:x(()=>z.value.start),atEndEdge:x(()=>z.value.end),layout:x(()=>d.layout)},re=>{var U,J;(J=(U=C.value).onMouseUp)==null||J.call(U),ae(Math.min(w.value.scrollOffset+re,I.value))});Wt(y,"wheel",L,{passive:!1});const F=()=>{const{total:re}=d;if(re>0){const[fe,me,we,Ve]=i(_);f(Rf,fe,me,we,Ve)}const{scrollDir:U,scrollOffset:J,updateRequested:se}=i(w);f(Vf,U,J,se)},D=(re,U)=>{const J=K(U),se=d.direction==="rtl"?"left":"right",fe=d.direction==="rtl"?"right":"left";re==="forward"&&J.end&&!V.end&&f(Bp,M.value?se:"bottom"),re==="backward"&&J.start&&!V.start&&f(Bp,M.value?fe:"top"),V=J},j=(re,{isScrolling:U,updateRequested:J})=>{const se=i(w),fe=Math.max(re,0);if(fe===se.scrollOffset)return;const me=gu(se.scrollOffset,fe);w.value={...se,isScrolling:U,scrollDir:me,scrollOffset:fe,updateRequested:J},D(me,N(fe)),Pe(ge)},q=re=>{const{clientHeight:U,scrollHeight:J,scrollTop:se}=re.currentTarget;i(w).scrollOffset!==se&&j(Math.min(se,J-U),{isScrolling:!0,updateRequested:!1})},Q=re=>{const{clientWidth:U,scrollLeft:J,scrollWidth:se}=re.currentTarget;if(i(w).scrollOffset===J)return;const{direction:fe}=d;let me=J;if(fe==="rtl")switch(zf()){case sc:me=-J;break;case q1:me=se-U-J;break}j(Math.min(me,se-U),{isScrolling:!0,updateRequested:!1})},ee=re=>{i(M)?Q(re):q(re),F()},te=(re,U)=>{const J=I.value/U*re;ae(Math.min(I.value,J))},ae=re=>{j(re,{isScrolling:i(w).isScrolling,updateRequested:!0})},ue=(re,U=fl)=>{const{scrollOffset:J}=i(w);re=Math.max(0,Math.min(re,d.total-1)),ae(t(d,re,U,J,i(p)))},pe=re=>{const{direction:U,itemSize:J,layout:se}=d,fe=g.value(u&&J,u&&se,u&&U);let me;if(zt(fe,String(re)))me=fe[re];else{const we=a(d,re,i(p)),Ve=n(d,re,i(p)),Ae=i(M),xe=U==="rtl",he=Ae?we:0;fe[re]=me={position:"absolute",left:xe?void 0:`${he}px`,right:xe?`${he}px`:void 0,top:Ae?0:`${we}px`,height:Ae?"100%":`${Ve}px`,width:Ae?`${Ve}px`:"100%"}}return me},ge=()=>{w.value.isScrolling=!1,Pe(()=>{g.value(-1,null,null)})},X=()=>{const re=y.value;re&&(re.scrollTop=0)};mt(()=>{if(!Bt)return;const{initScrollOffset:re}=d,U=i(y);qe(re)&&U&&(i(M)?U.scrollLeft=re:U.scrollTop=re),F()}),qa(()=>{const{direction:re,layout:U}=d,{scrollOffset:J,updateRequested:se}=i(w),fe=i(y);if(se&&fe)if(U==="horizontal")if(re==="rtl")switch(zf()){case sc:fe.scrollLeft=-J;break;case j1:fe.scrollLeft=J;break;default:{const{clientWidth:me,scrollWidth:we}=fe;fe.scrollLeft=we-me-J;break}}else fe.scrollLeft=J;else fe.scrollTop=J}),kr(()=>{i(y).scrollTop=i(w).scrollOffset}),ce(I,()=>{V=z.value});const Z={ns:v,clientSize:O,estimatedTotalSize:k,windowStyle:E,windowRef:y,innerRef:b,innerStyle:T,itemsToRender:_,scrollbarRef:C,states:w,getItemStyle:pe,onScroll:ee,onScrollbarScroll:te,onWheel:L,scrollTo:ae,scrollToItem:ue,resetScrollTop:X};return h({windowRef:y,innerRef:b,getItemStyleCache:g,scrollTo:ae,scrollToItem:ue,resetScrollTop:X,states:w}),Z},render(d){var j;const{$slots:f,className:h,clientSize:m,containerElement:v,data:p,getItemStyle:g,innerElement:y,itemsToRender:b,innerStyle:C,layout:w,scrollbarAlwaysOn:_,total:k,onScroll:M,onScrollbarScroll:E,states:T,useIsScrolling:O,windowStyle:I,ns:N}=d,[R,K]=b,H=ft(v),z=ft(y),V=[];if(k>0)for(let q=R;q<=K;q++)V.push(Je(He,{key:q},(j=f.default)==null?void 0:j.call(f,{data:p,index:q,isScrolling:O?T.isScrolling:void 0,style:g(q)})));const L=[Je(z,vt(d.innerProps,{style:C,ref:"innerRef"}),Ne(z)?V:{default:()=>V})],F=Je(d2,{ref:"scrollbarRef",clientSize:m,layout:w,onScroll:E,ratio:m*100/this.estimatedTotalSize,scrollFrom:T.scrollOffset/(this.estimatedTotalSize-m),total:k,alwaysOn:_}),D=Je(H,{class:[N.e("window"),h],style:I,onScroll:M,ref:"windowRef",key:0},Ne(H)?[L]:{default:()=>[L]});return Je("div",{key:0,class:[N.e("wrapper"),_?"always-on":""]},[D,F])}}),Wc=J9({name:"ElFixedSizeList",getItemOffset:({itemSize:e},t)=>t*e,getItemSize:({itemSize:e})=>e,getEstimatedTotalSize:({total:e,itemSize:t})=>t*e,getOffset:({height:e,total:t,itemSize:n,layout:a,width:l},o,s,r)=>{const u=rc(a)?l:e;Ne(u)&&vn("[ElVirtualList]",` + You should set + width/height + to number when your layout is + horizontal/vertical + `);const c=Math.max(0,t*n-u),d=Math.min(c,o*n),f=Math.max(0,(o+1)*n-u);switch(s==="smart"&&(r>=f-u&&r<=d+u?s=fl:s=to),s){case oc:return d;case"end":return f;case to:{const h=Math.round(f+(d-f)/2);return hc+Math.floor(u/2)?c:h}case fl:default:return r>=f&&r<=d?r:rMath.max(0,Math.min(e-1,Math.floor(n/t))),getStopIndexForStartIndex:({height:e,total:t,itemSize:n,layout:a,width:l},o,s)=>{const r=o*n,u=rc(a)?l:e,c=Math.ceil((u+s-r)/n);return Math.max(0,Math.min(t-1,o+c-1))},initCache(){},clearCache:!0,validateProps(){}}),oJ="ElDynamicSizeList",Gr=(e,t,n)=>{const{itemSize:a}=e,{items:l,lastVisitedIndex:o}=n;if(t>o){let s=0;if(o>=0){const r=l[o];s=r.offset+r.size}for(let r=o+1;r<=t;r++){const u=a(r);l[r]={offset:s,size:u},s+=u}n.lastVisitedIndex=t}return l[t]},sJ=(e,t,n)=>{const{items:a,lastVisitedIndex:l}=t;return(l>0?a[l].offset:0)>=n?Z9(e,t,0,l,n):rJ(e,t,Math.max(0,l),n)},Z9=(e,t,n,a,l)=>{for(;n<=a;){const o=n+Math.floor((a-n)/2),s=Gr(e,o,t).offset;if(s===l)return o;sl&&(a=o-1)}return Math.max(0,n-1)},rJ=(e,t,n,a)=>{const{total:l}=e;let o=1;for(;n{let l=0;if(a>=e&&(a=e-1),a>=0){const s=t[a];l=s.offset+s.size}const o=(e-a-1)*n;return l+o},iJ=J9({name:"ElDynamicSizeList",getItemOffset:(e,t,n)=>Gr(e,t,n).offset,getItemSize:(e,t,{items:n})=>n[t].size,getEstimatedTotalSize:A3,getOffset:(e,t,n,a,l)=>{const{height:o,layout:s,width:r}=e,u=rc(s)?r:o,c=Gr(e,t,l),d=A3(e,l),f=Math.max(0,Math.min(d-u,c.offset)),h=Math.max(0,c.offset-u+c.size);switch(n==="smart"&&(a>=h-u&&a<=f+u?n=fl:n=to),n){case oc:return f;case"end":return h;case to:return Math.round(h+(f-h)/2);case fl:default:return a>=h&&a<=f?a:asJ(e,n,t),getStopIndexForStartIndex:(e,t,n,a)=>{const{height:l,total:o,layout:s,width:r}=e,u=rc(s)?r:l,c=Gr(e,t,a),d=n+u;let f=c.offset+c.size,h=t;for(;h{var o,s;n.lastVisitedIndex=Math.min(n.lastVisitedIndex,a-1),(o=t.exposed)==null||o.getItemStyleCache(-1),l&&((s=t.proxy)==null||s.$forceUpdate())},n},clearCache:!1,validateProps:({itemSize:e})=>{typeof e!="function"&&vn(oJ,` + itemSize is required as function, but the given value was ${typeof e} + `)}}),uJ=({atXEndEdge:e,atXStartEdge:t,atYEndEdge:n,atYStartEdge:a},l)=>{let o=null,s=0,r=0;const u=(d,f)=>{const h=d<0&&t.value||d>0&&e.value,m=f<0&&a.value||f>0&&n.value;return h||m};return{hasReachedEdge:u,onWheel:d=>{Ll(o);let f=d.deltaX,h=d.deltaY;if(Math.abs(f)>Math.abs(h)?h=0:f=0,d.shiftKey&&h!==0&&(f=h,h=0),u(f,h)){d.deltaX!==0&&f===0&&d.preventDefault();return}s+=f,r+=h,d.preventDefault(),o=Sa(()=>{l(s,r),s=0,r=0})}}},cJ=(e,t,n,a,l,o,s)=>{const r=B(0),u=B(0);let c,d=0,f=0;const h=v=>{Ll(c),r.value=v.touches[0].clientX,u.value=v.touches[0].clientY,d=0,f=0},m=v=>{v.preventDefault(),Ll(c),d+=r.value-v.touches[0].clientX,f+=u.value-v.touches[0].clientY,r.value=v.touches[0].clientX,u.value=v.touches[0].clientY,c=Sa(()=>{const p=a.value-i(o),g=l.value-i(s);n({scrollLeft:Math.min(t.value.scrollLeft+d,p),scrollTop:Math.min(t.value.scrollTop+f,g)}),d=0,f=0})};return Wt(e,"touchstart",h,{passive:!0}),Wt(e,"touchmove",m,{passive:!1}),{touchStartX:r,touchStartY:u,handleTouchStart:h,handleTouchMove:m}},Q9=({name:e,clearCache:t,getColumnPosition:n,getColumnStartIndexForOffset:a,getColumnStopIndexForStartIndex:l,getEstimatedTotalHeight:o,getEstimatedTotalWidth:s,getColumnOffset:r,getRowOffset:u,getRowPosition:c,getRowStartIndexForOffset:d,getRowStopIndexForStartIndex:f,initCache:h,injectToInstance:m,validateProps:v})=>W({name:e??"ElVirtualList",props:ar,emits:[Rf,Vf],setup(p,{emit:g,expose:y,slots:b}){const C=ye("vl");v(p);const w=st(),_=B(h(p,w));m==null||m(w,_);const k=B(),M=B(),E=B(),T=B(),O=B({isScrolling:!1,scrollLeft:qe(p.initScrollLeft)?p.initScrollLeft:0,scrollTop:qe(p.initScrollTop)?p.initScrollTop:0,updateRequested:!1,xAxisScrollDir:Lf,yAxisScrollDir:Lf}),I=G9(),N=x(()=>Number.parseInt(`${p.height}`,10)),R=x(()=>Number.parseInt(`${p.width}`,10)),K=x(()=>{const{totalColumn:xe,totalRow:he,columnCache:Ee}=p,{isScrolling:$e,xAxisScrollDir:Re,scrollLeft:Ge}=i(O);if(xe===0||he===0)return[0,0,0,0];const Ze=a(p,Ge,i(_)),Xe=l(p,Ze,Ge,i(_)),gt=!$e||Re==="backward"?Math.max(1,Ee):1,Tt=!$e||Re==="forward"?Math.max(1,Ee):1;return[Math.max(0,Ze-gt),Math.max(0,Math.min(xe-1,Xe+Tt)),Ze,Xe]}),H=x(()=>{const{totalColumn:xe,totalRow:he,rowCache:Ee}=p,{isScrolling:$e,yAxisScrollDir:Re,scrollTop:Ge}=i(O);if(xe===0||he===0)return[0,0,0,0];const Ze=d(p,Ge,i(_)),Xe=f(p,Ze,Ge,i(_)),gt=!$e||Re==="backward"?Math.max(1,Ee):1,Tt=!$e||Re==="forward"?Math.max(1,Ee):1;return[Math.max(0,Ze-gt),Math.max(0,Math.min(he-1,Xe+Tt)),Ze,Xe]}),z=x(()=>o(p,i(_))),V=x(()=>s(p,i(_))),L=x(()=>[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:p.direction,height:qe(p.height)?`${p.height}px`:p.height,width:qe(p.width)?`${p.width}px`:p.width},p.style??{}]),F=x(()=>{const xe=`${i(V)}px`;return{height:`${i(z)}px`,pointerEvents:i(O).isScrolling?"none":void 0,width:xe,margin:0,boxSizing:"border-box"}}),D=()=>{const{totalColumn:xe,totalRow:he}=p;if(xe>0&&he>0){const[Xe,gt,Tt,Pt]=i(K),[$t,Rt,tn,Me]=i(H);g(Rf,{columnCacheStart:Xe,columnCacheEnd:gt,rowCacheStart:$t,rowCacheEnd:Rt,columnVisibleStart:Tt,columnVisibleEnd:Pt,rowVisibleStart:tn,rowVisibleEnd:Me})}const{scrollLeft:Ee,scrollTop:$e,updateRequested:Re,xAxisScrollDir:Ge,yAxisScrollDir:Ze}=i(O);g(Vf,{xAxisScrollDir:Ge,scrollLeft:Ee,yAxisScrollDir:Ze,scrollTop:$e,updateRequested:Re})},j=xe=>{const{clientHeight:he,clientWidth:Ee,scrollHeight:$e,scrollLeft:Re,scrollTop:Ge,scrollWidth:Ze}=xe.currentTarget,Xe=i(O);if(Xe.scrollTop===Ge&&Xe.scrollLeft===Re)return;let gt=Re;if($3(p.direction))switch(zf()){case sc:gt=-Re;break;case q1:gt=Ze-Ee-Re;break}O.value={...Xe,isScrolling:!0,scrollLeft:gt,scrollTop:Math.max(0,Math.min(Ge,$e-he)),updateRequested:!0,xAxisScrollDir:gu(Xe.scrollLeft,gt),yAxisScrollDir:gu(Xe.scrollTop,Ge)},Pe(()=>re()),U(),D()},q=(xe,he)=>{const Ee=i(N),$e=(z.value-Ee)/he*xe;te({scrollTop:Math.min(z.value-Ee,$e)})},Q=(xe,he)=>{const Ee=i(R),$e=(V.value-Ee)/he*xe;te({scrollLeft:Math.min(V.value-Ee,$e)})},{onWheel:ee}=uJ({atXStartEdge:x(()=>O.value.scrollLeft<=0),atXEndEdge:x(()=>O.value.scrollLeft>=V.value-i(R)),atYStartEdge:x(()=>O.value.scrollTop<=0),atYEndEdge:x(()=>O.value.scrollTop>=z.value-i(N))},(xe,he)=>{var Re,Ge,Ze,Xe;(Ge=(Re=M.value)==null?void 0:Re.onMouseUp)==null||Ge.call(Re),(Xe=(Ze=E.value)==null?void 0:Ze.onMouseUp)==null||Xe.call(Ze);const Ee=i(R),$e=i(N);te({scrollLeft:Math.min(O.value.scrollLeft+xe,V.value-Ee),scrollTop:Math.min(O.value.scrollTop+he,z.value-$e)})});Wt(k,"wheel",ee,{passive:!1});const te=({scrollLeft:xe=O.value.scrollLeft,scrollTop:he=O.value.scrollTop})=>{xe=Math.max(xe,0),he=Math.max(he,0);const Ee=i(O);he===Ee.scrollTop&&xe===Ee.scrollLeft||(O.value={...Ee,xAxisScrollDir:gu(Ee.scrollLeft,xe),yAxisScrollDir:gu(Ee.scrollTop,he),scrollLeft:xe,scrollTop:he,updateRequested:!0},Pe(()=>re()),U(),D())},{touchStartX:ae,touchStartY:ue,handleTouchStart:pe,handleTouchMove:ge}=cJ(k,O,te,V,z,R,N),X=(xe=0,he=0,Ee=fl)=>{const $e=i(O);he=Math.max(0,Math.min(he,p.totalColumn-1)),xe=Math.max(0,Math.min(xe,p.totalRow-1));const Re=Yw(C.namespace.value),Ge=i(_),Ze=o(p,Ge),Xe=s(p,Ge);te({scrollLeft:r(p,he,Ee,$e.scrollLeft,Ge,Xe>p.width?Re:0),scrollTop:u(p,xe,Ee,$e.scrollTop,Ge,Ze>p.height?Re:0)})},Z=(xe,he)=>{const{columnWidth:Ee,direction:$e,rowHeight:Re}=p,Ge=I.value(t&&Ee,t&&Re,t&&$e),Ze=`${xe},${he}`;if(zt(Ge,Ze))return Ge[Ze];{const[,Xe]=n(p,he,i(_)),gt=i(_),Tt=$3($e),[Pt,$t]=c(p,xe,gt),[Rt]=n(p,he,gt);return Ge[Ze]={position:"absolute",left:Tt?void 0:`${Xe}px`,right:Tt?`${Xe}px`:void 0,top:`${$t}px`,height:`${Pt}px`,width:`${Rt}px`},Ge[Ze]}},re=()=>{O.value.isScrolling=!1,Pe(()=>{I.value(-1,null,null)})};mt(()=>{if(!Bt)return;const{initScrollLeft:xe,initScrollTop:he}=p,Ee=i(k);Ee&&(qe(xe)&&(Ee.scrollLeft=xe),qe(he)&&(Ee.scrollTop=he)),D()});const U=()=>{const{direction:xe}=p,{scrollLeft:he,scrollTop:Ee,updateRequested:$e}=i(O),Re=i(k);if($e&&Re){if(xe==="rtl")switch(zf()){case sc:Re.scrollLeft=-he;break;case j1:Re.scrollLeft=he;break;default:{const{clientWidth:Ge,scrollWidth:Ze}=Re;Re.scrollLeft=Ze-Ge-he;break}}else Re.scrollLeft=Math.max(0,he);Re.scrollTop=Math.max(0,Ee)}},{resetAfterColumnIndex:J,resetAfterRowIndex:se,resetAfter:fe}=w.proxy;y({windowRef:k,innerRef:T,getItemStyleCache:I,touchStartX:ae,touchStartY:ue,handleTouchStart:pe,handleTouchMove:ge,scrollTo:te,scrollToItem:X,states:O,resetAfterColumnIndex:J,resetAfterRowIndex:se,resetAfter:fe});const me=()=>{const{scrollbarAlwaysOn:xe,scrollbarStartGap:he,scrollbarEndGap:Ee,totalColumn:$e,totalRow:Re}=p,Ge=i(R),Ze=i(N),Xe=i(V),gt=i(z),{scrollLeft:Tt,scrollTop:Pt}=i(O);return{horizontalScrollbar:Je(d2,{ref:M,alwaysOn:xe,startGap:he,endGap:Ee,class:C.e("horizontal"),clientSize:Ge,layout:"horizontal",onScroll:Q,ratio:Ge*100/Xe,scrollFrom:Tt/(Xe-Ge),total:Re,visible:!0}),verticalScrollbar:Je(d2,{ref:E,alwaysOn:xe,startGap:he,endGap:Ee,class:C.e("vertical"),clientSize:Ze,layout:"vertical",onScroll:q,ratio:Ze*100/gt,scrollFrom:Pt/(gt-Ze),total:$e,visible:!0})}},we=()=>{var Pt;const[xe,he]=i(K),[Ee,$e]=i(H),{data:Re,totalColumn:Ge,totalRow:Ze,useIsScrolling:Xe,itemKey:gt}=p,Tt=[];if(Ze>0&&Ge>0)for(let $t=Ee;$t<=$e;$t++)for(let Rt=xe;Rt<=he;Rt++){const tn=gt({columnIndex:Rt,data:Re,rowIndex:$t});Tt.push(Je(He,{key:tn},(Pt=b.default)==null?void 0:Pt.call(b,{columnIndex:Rt,data:Re,isScrolling:Xe?i(O).isScrolling:void 0,style:Z($t,Rt),rowIndex:$t})))}return Tt},Ve=()=>{const xe=ft(p.innerElement),he=we();return[Je(xe,vt(p.innerProps,{style:i(F),ref:T}),Ne(xe)?he:{default:()=>he})]};return()=>{const xe=ft(p.containerElement),{horizontalScrollbar:he,verticalScrollbar:Ee}=me(),$e=Ve();return Je("div",{key:0,class:C.e("wrapper"),role:p.role},[Je(xe,{class:p.className,style:i(L),onScroll:j,ref:k},Ne(xe)?$e:{default:()=>$e}),he,Ee])}}}),I3="ElFixedSizeGrid",dJ=Q9({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:e},t)=>[e,t*e],getRowPosition:({rowHeight:e},t)=>[e,t*e],getEstimatedTotalHeight:({totalRow:e,rowHeight:t})=>t*e,getEstimatedTotalWidth:({totalColumn:e,columnWidth:t})=>t*e,getColumnOffset:({totalColumn:e,columnWidth:t,width:n},a,l,o,s,r)=>{n=Number(n);const u=Math.max(0,e*t-n),c=Math.min(u,a*t),d=Math.max(0,a*t-n+r+t);switch(l==="smart"&&(o>=d-n&&o<=c+n?l=fl:l=to),l){case oc:return c;case"end":return d;case to:{const f=Math.round(d+(c-d)/2);return fu+Math.floor(n/2)?u:f}case fl:default:return o>=d&&o<=c?o:d>c||o{t=Number(t);const u=Math.max(0,n*e-t),c=Math.min(u,a*e),d=Math.max(0,a*e-t+r+e);switch(l==="smart"&&(o>=d-t&&o<=c+t?l=fl:l=to),l){case oc:return c;case"end":return d;case to:{const f=Math.round(d+(c-d)/2);return fu+Math.floor(t/2)?u:f}case fl:default:return o>=d&&o<=c?o:d>c||oMath.max(0,Math.min(t-1,Math.floor(n/e))),getColumnStopIndexForStartIndex:({columnWidth:e,totalColumn:t,width:n},a,l)=>{const o=a*e,s=Math.ceil((n+l-o)/e);return Math.max(0,Math.min(t-1,a+s-1))},getRowStartIndexForOffset:({rowHeight:e,totalRow:t},n)=>Math.max(0,Math.min(t-1,Math.floor(n/e))),getRowStopIndexForStartIndex:({rowHeight:e,totalRow:t,height:n},a,l)=>{const o=a*e,s=Math.ceil((n+l-o)/e);return Math.max(0,Math.min(t-1,a+s-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:e,rowHeight:t})=>{qe(e)||vn(I3,` + "columnWidth" must be passed as number, + instead ${typeof e} was given. + `),qe(t)||vn(I3,` + "columnWidth" must be passed as number, + instead ${typeof t} was given. + `)}}),{max:Df,min:eC,floor:tC}=Math,P3="ElDynamicSizeGrid",fJ={column:"columnWidth",row:"rowHeight"},f2={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},Oo=(e,t,n,a)=>{const[l,o,s]=[n[a],e[fJ[a]],n[f2[a]]];if(t>s){let r=0;if(s>=0){const u=l[s];r=u.offset+u.size}for(let u=s+1;u<=t;u++){const c=o(u);l[u]={offset:r,size:c},r+=c}n[f2[a]]=t}return l[t]},nC=(e,t,n,a,l,o)=>{for(;n<=a;){const s=n+tC((a-n)/2),r=Oo(e,s,t,o).offset;if(r===l)return s;r{const o=l==="column"?e.totalColumn:e.totalRow;let s=1;for(;n{const[l,o]=[t[a],t[f2[a]]];return(o>0?l[o].offset:0)>=n?nC(e,t,0,o,n,a):pJ(e,t,Df(0,o),n,a)},aC=({totalRow:e},{estimatedRowHeight:t,lastVisitedRowIndex:n,row:a})=>{let l=0;if(n>=e&&(n=e-1),n>=0){const s=a[n];l=s.offset+s.size}const o=(e-n-1)*t;return l+o},lC=({totalColumn:e},{column:t,estimatedColumnWidth:n,lastVisitedColumnIndex:a})=>{let l=0;if(a>e&&(a=e-1),a>=0){const s=t[a];l=s.offset+s.size}const o=(e-a-1)*n;return l+o},hJ={column:lC,row:aC},V3=(e,t,n,a,l,o,s)=>{const[r,u]=[o==="row"?e.height:e.width,hJ[o]],c=Oo(e,t,l,o),d=Df(0,eC(u(e,l)-r,c.offset)),f=Df(0,c.offset-r+s+c.size);switch(n==="smart"&&(a>=f-r&&a<=d+r?n=fl:n=to),n){case oc:return d;case"end":return f;case to:return Math.round(f+(d-f)/2);case fl:default:return a>=f&&a<=d?a:f>d||a{const a=Oo(e,t,n,"column");return[a.size,a.offset]},getRowPosition:(e,t,n)=>{const a=Oo(e,t,n,"row");return[a.size,a.offset]},getColumnOffset:(e,t,n,a,l,o)=>V3(e,t,n,a,l,"column",o),getRowOffset:(e,t,n,a,l,o)=>V3(e,t,n,a,l,"row",o),getColumnStartIndexForOffset:(e,t,n)=>R3(e,n,t,"column"),getColumnStopIndexForStartIndex:(e,t,n,a)=>{const l=Oo(e,t,a,"column"),o=n+e.width;let s=l.offset+l.size,r=t;for(;rR3(e,n,t,"row"),getRowStopIndexForStartIndex:(e,t,n,a)=>{const{totalRow:l,height:o}=e,s=Oo(e,t,a,"row"),r=n+o;let u=s.size+s.offset,c=t;for(;c{const n=({columnIndex:o,rowIndex:s},r)=>{var u,c;r=Mt(r)?!0:r,qe(o)&&(t.value.lastVisitedColumnIndex=Math.min(t.value.lastVisitedColumnIndex,o-1)),qe(s)&&(t.value.lastVisitedRowIndex=Math.min(t.value.lastVisitedRowIndex,s-1)),(u=e.exposed)==null||u.getItemStyleCache.value(-1,null,null),r&&((c=e.proxy)==null||c.$forceUpdate())},a=(o,s)=>{n({columnIndex:o},s)},l=(o,s)=>{n({rowIndex:o},s)};Object.assign(e.proxy,{resetAfterColumnIndex:a,resetAfterRowIndex:l,resetAfter:n})},initCache:({estimatedColumnWidth:e=50,estimatedRowHeight:t=50})=>({column:{},estimatedColumnWidth:e,estimatedRowHeight:t,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:e,rowHeight:t})=>{Ke(e)||vn(P3,` + "columnWidth" must be passed as function, + instead ${typeof e} was given. + `),Ke(t)||vn(P3,` + "rowHeight" must be passed as function, + instead ${typeof t} was given. + `)}}),oC={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:{type:Boolean,default:void 0},checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:zn,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},ariaLabel:String,...xa(["ariaControls"])},sC={[it]:e=>Ne(e)||qe(e)||qt(e),change:e=>Ne(e)||qe(e)||qt(e)},Yi=Symbol("checkboxGroupContextKey"),mJ=ke({modelValue:{type:Y(Array),default:()=>[]},disabled:{type:Boolean,default:void 0},min:Number,max:Number,size:zn,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},options:{type:Y(Array)},props:{type:Y(Object),default:()=>rC},type:{type:String,values:["checkbox","button"],default:"checkbox"},...xa(["ariaLabel"])}),gJ={[it]:e=>ve(e),change:e=>ve(e)},rC={label:"label",value:"value",disabled:"disabled"},yJ=({model:e,isChecked:t})=>{const n=De(Yi,void 0),a=De(Nr,void 0),l=x(()=>{var r,u;const o=(r=n==null?void 0:n.max)==null?void 0:r.value,s=(u=n==null?void 0:n.min)==null?void 0:u.value;return!Mt(o)&&e.value.length>=o&&!t.value||!Mt(s)&&e.value.length<=s&&t.value});return{isDisabled:hn(x(()=>{var o;return n===void 0?(a==null?void 0:a.disabled)??l.value:((o=n.disabled)==null?void 0:o.value)||l.value})),isLimitDisabled:l}},bJ=(e,{model:t,isLimitExceeded:n,hasOwnLabel:a,isDisabled:l,isLabeledByFormItem:o})=>{const s=De(Yi,void 0),{formItem:r}=Xn(),{emit:u}=st();function c(v){return[!0,e.trueValue,e.trueLabel].includes(v)?e.trueValue??e.trueLabel??!0:e.falseValue??e.falseLabel??!1}function d(v,p){u(Ct,c(v),p)}function f(v){if(n.value)return;const p=v.target;u(Ct,c(p.checked),v)}async function h(v){n.value||!a.value&&!l.value&&o.value&&(v.composedPath().some(p=>p.tagName==="LABEL")||(t.value=c([!1,e.falseValue,e.falseLabel].includes(t.value)),await Pe(),d(t.value,v)))}const m=x(()=>(s==null?void 0:s.validateEvent)||e.validateEvent);return ce(()=>e.modelValue,()=>{m.value&&(r==null||r.validate("change").catch(ut))}),{handleChange:f,onClickRoot:h}},wJ=e=>{const t=B(!1),{emit:n,vnode:a}=st(),l=De(Yi,void 0),o=x(()=>Mt(l)===!1),s=B(!1),r=x(()=>{const c=a.props??{};return"modelValue"in c||"model-value"in c}),u=x({get(){var c;return o.value?(c=l==null?void 0:l.modelValue)==null?void 0:c.value:r.value?e.modelValue:t.value},set(c){var d,f;o.value&&ve(c)?(s.value=((d=l==null?void 0:l.max)==null?void 0:d.value)!==void 0&&c.length>(l==null?void 0:l.max.value)&&c.length>u.value.length,s.value===!1&&((f=l==null?void 0:l.changeEvent)==null||f.call(l,c))):(n(it,c),t.value=c)}});return{model:u,isGroup:o,isLimitExceeded:s}},CJ=(e,t,{model:n})=>{const a=De(Yi,void 0),l=B(!1),o=x(()=>el(e.value)?e.label:e.value),s=x(()=>{const r=n.value;return qt(r)?r:ve(r)?rt(o.value)?r.map(Zt).some(u=>gn(u,o.value)):r.map(Zt).includes(o.value):r!=null?r===e.trueValue||r===e.trueLabel:!!r});return{checkboxButtonSize:Pn(x(()=>{var r;return(r=a==null?void 0:a.size)==null?void 0:r.value}),{prop:!0}),isChecked:s,isFocused:l,checkboxSize:Pn(x(()=>{var r;return(r=a==null?void 0:a.size)==null?void 0:r.value})),hasOwnLabel:x(()=>!!t.default||!el(o.value)),actualValue:o}},iC=(e,t)=>{const{formItem:n}=Xn(),{model:a,isGroup:l,isLimitExceeded:o}=wJ(e),{isFocused:s,isChecked:r,checkboxButtonSize:u,checkboxSize:c,hasOwnLabel:d,actualValue:f}=CJ(e,t,{model:a}),{isDisabled:h}=yJ({model:a,isChecked:r}),{inputId:m,isLabeledByFormItem:v}=Ua(e,{formItemContext:n,disableIdGeneration:d,disableIdManagement:l}),{handleChange:p,onClickRoot:g}=bJ(e,{model:a,isLimitExceeded:o,hasOwnLabel:d,isDisabled:h,isLabeledByFormItem:v});return(()=>{function b(){ve(a.value)&&!a.value.includes(f.value)?a.value.push(f.value):a.value=e.trueValue??e.trueLabel??!0}e.checked&&b()})(),lo({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},x(()=>l.value&&el(e.value))),lo({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},x(()=>!!e.trueLabel)),lo({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},x(()=>!!e.falseLabel)),{inputId:m,isLabeledByFormItem:v,isChecked:r,isDisabled:h,isFocused:s,checkboxButtonSize:u,checkboxSize:c,hasOwnLabel:d,model:a,actualValue:f,handleChange:p,onClickRoot:g}},_J=["id","indeterminate","name","tabindex","disabled"];var SJ=W({name:"ElCheckbox",__name:"checkbox",props:oC,emits:sC,setup(e){const t=e,{inputId:n,isLabeledByFormItem:a,isChecked:l,isDisabled:o,isFocused:s,checkboxSize:r,hasOwnLabel:u,model:c,actualValue:d,handleChange:f,onClickRoot:h}=iC(t,wn()),m=x(()=>t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":t.trueValue??t.trueLabel??!0,"false-value":t.falseValue??t.falseLabel??!1}:{value:d.value}),v=ye("checkbox"),p=x(()=>[v.b(),v.m(r.value),v.is("disabled",o.value),v.is("bordered",t.border),v.is("checked",l.value)]),g=x(()=>[v.e("input"),v.is("disabled",o.value),v.is("checked",l.value),v.is("indeterminate",t.indeterminate),v.is("focus",s.value)]);return(y,b)=>(S(),ie(ft(!i(u)&&i(a)?"span":"label"),{for:!i(u)&&i(a)?null:i(n),class:P(p.value),"aria-controls":e.indeterminate?e.ariaControls:null,"aria-checked":e.indeterminate?"mixed":void 0,"aria-label":e.ariaLabel,onClick:i(h)},{default:ne(()=>[$("span",{class:P(g.value)},[ht($("input",vt({id:i(n),"onUpdate:modelValue":b[0]||(b[0]=C=>en(c)?c.value=C:null),class:i(v).e("original"),type:"checkbox",indeterminate:e.indeterminate,name:e.name,tabindex:e.tabindex,disabled:i(o)},m.value,{onChange:b[1]||(b[1]=(...C)=>i(f)&&i(f)(...C)),onFocus:b[2]||(b[2]=C=>s.value=!0),onBlur:b[3]||(b[3]=C=>s.value=!1),onClick:b[4]||(b[4]=Qe(()=>{},["stop"]))}),null,16,_J),[[Hi,i(c)]]),$("span",{class:P(i(v).e("inner"))},null,2)],2),i(u)?(S(),A("span",{key:0,class:P(i(v).e("label"))},[le(y.$slots,"default"),y.$slots.default?oe("v-if",!0):(S(),A(He,{key:0},[bt(Se(e.label),1)],64))],2)):oe("v-if",!0)]),_:3},8,["for","class","aria-controls","aria-checked","aria-label","onClick"]))}}),uC=SJ;const xJ=["name","tabindex","disabled"];var kJ=W({name:"ElCheckboxButton",__name:"checkbox-button",props:oC,emits:sC,setup(e){const t=e,{isFocused:n,isChecked:a,isDisabled:l,checkboxButtonSize:o,model:s,actualValue:r,handleChange:u}=iC(t,wn()),c=x(()=>t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":t.trueValue??t.trueLabel??!0,"false-value":t.falseValue??t.falseLabel??!1}:{value:r.value}),d=De(Yi,void 0),f=ye("checkbox"),h=x(()=>{var p,g;const v=((p=d==null?void 0:d.fill)==null?void 0:p.value)??"";return{backgroundColor:v,borderColor:v,color:((g=d==null?void 0:d.textColor)==null?void 0:g.value)??"",boxShadow:v?`-1px 0 0 0 ${v}`:void 0}}),m=x(()=>[f.b("button"),f.bm("button",o.value),f.is("disabled",l.value),f.is("checked",a.value),f.is("focus",n.value)]);return(v,p)=>(S(),A("label",{class:P(m.value)},[ht($("input",vt({"onUpdate:modelValue":p[0]||(p[0]=g=>en(s)?s.value=g:null),class:i(f).be("button","original"),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:i(l)},c.value,{onChange:p[1]||(p[1]=(...g)=>i(u)&&i(u)(...g)),onFocus:p[2]||(p[2]=g=>n.value=!0),onBlur:p[3]||(p[3]=g=>n.value=!1),onClick:p[4]||(p[4]=Qe(()=>{},["stop"]))}),null,16,xJ),[[Hi,i(s)]]),v.$slots.default||e.label?(S(),A("span",{key:0,class:P(i(f).be("button","inner")),style:Ye(i(a)?h.value:void 0)},[le(v.$slots,"default",{},()=>[bt(Se(e.label),1)])],6)):oe("v-if",!0)],2))}}),U1=kJ,EJ=W({name:"ElCheckboxGroup",__name:"checkbox-group",props:mJ,emits:gJ,setup(e,{emit:t}){const n=e,a=t,l=ye("checkbox"),o=hn(),{formItem:s}=Xn(),{inputId:r,isLabeledByFormItem:u}=Ua(n,{formItemContext:s}),c=async v=>{a(it,v),await Pe(),a(Ct,v)},d=x({get(){return n.modelValue},set(v){c(v)}}),f=x(()=>({...rC,...n.props})),h=v=>{const{label:p,value:g,disabled:y}=f.value,b={label:v[p],value:v[g],disabled:v[y]};return{...Or(v,[p,g,y]),...b}},m=x(()=>n.type==="button"?U1:uC);return Et(Yi,{...fo(Bn(n),["size","min","max","validateEvent","fill","textColor"]),disabled:o,modelValue:d,changeEvent:c}),ce(()=>n.modelValue,(v,p)=>{n.validateEvent&&!gn(v,p)&&(s==null||s.validate("change").catch(ut))}),(v,p)=>{var g;return S(),ie(ft(e.tag),{id:i(r),class:P(i(l).b("group")),role:"group","aria-label":i(u)?void 0:e.ariaLabel||"checkbox-group","aria-labelledby":i(u)?(g=i(s))==null?void 0:g.labelId:void 0},{default:ne(()=>[le(v.$slots,"default",{},()=>[(S(!0),A(He,null,wt(e.options,(y,b)=>(S(),ie(ft(m.value),vt({key:b},{ref_for:!0},h(y)),null,16))),128))])]),_:3},8,["id","class","aria-label","aria-labelledby"])}}}),cC=EJ;const Al=ct(uC,{CheckboxButton:U1,CheckboxGroup:cC}),TJ=mn(U1),Y1=mn(cC),dC=ke({modelValue:{type:[String,Number,Boolean],default:void 0},size:zn,disabled:{type:Boolean,default:void 0},label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),MJ=ke({...dC,border:Boolean}),fC={[it]:e=>Ne(e)||qe(e)||qt(e),[Ct]:e=>Ne(e)||qe(e)||qt(e)},pC=Symbol("radioGroupKey"),OJ=ke({...dC}),hC={label:"label",value:"value",disabled:"disabled"},$J=ke({id:{type:String,default:void 0},size:zn,disabled:{type:Boolean,default:void 0},modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},options:{type:Y(Array)},props:{type:Y(Object),default:()=>hC},type:{type:String,values:["radio","button"],default:"radio"},...xa(["ariaLabel"])}),NJ=fC,vC=(e,t)=>{const n=B(),a=De(pC,void 0),l=x(()=>!!a),o=x(()=>el(e.value)?e.label:e.value),s=x({get(){return l.value?a.modelValue:e.modelValue},set(f){l.value?a.changeEvent(f):t&&t("update:modelValue",f),n.value.checked=e.modelValue===o.value}}),r=Pn(x(()=>a==null?void 0:a.size)),u=hn(x(()=>a==null?void 0:a.disabled)),c=B(!1),d=x(()=>u.value||l.value&&s.value!==o.value?-1:0);return lo({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},x(()=>l.value&&el(e.value))),{radioRef:n,isGroup:l,radioGroup:a,focus:c,size:r,disabled:u,tabIndex:d,modelValue:s,actualValue:o}},AJ=["value","name","disabled","checked"];var IJ=W({name:"ElRadio",__name:"radio",props:MJ,emits:fC,setup(e,{emit:t}){const n=e,a=t,l=ye("radio"),{radioRef:o,radioGroup:s,focus:r,size:u,disabled:c,modelValue:d,actualValue:f}=vC(n,a);function h(){Pe(()=>a(Ct,d.value))}return(m,v)=>{var p;return S(),A("label",{class:P([i(l).b(),i(l).is("disabled",i(c)),i(l).is("focus",i(r)),i(l).is("bordered",e.border),i(l).is("checked",i(d)===i(f)),i(l).m(i(u))])},[$("span",{class:P([i(l).e("input"),i(l).is("disabled",i(c)),i(l).is("checked",i(d)===i(f))])},[ht($("input",{ref_key:"radioRef",ref:o,"onUpdate:modelValue":v[0]||(v[0]=g=>en(d)?d.value=g:null),class:P(i(l).e("original")),value:i(f),name:e.name||((p=i(s))==null?void 0:p.name),disabled:i(c),checked:i(d)===i(f),type:"radio",onFocus:v[1]||(v[1]=g=>r.value=!0),onBlur:v[2]||(v[2]=g=>r.value=!1),onChange:h,onClick:v[3]||(v[3]=Qe(()=>{},["stop"]))},null,42,AJ),[[Fi,i(d)]]),$("span",{class:P(i(l).e("inner"))},null,2)],2),$("span",{class:P(i(l).e("label")),onKeydown:v[4]||(v[4]=Qe(()=>{},["stop"]))},[le(m.$slots,"default",{},()=>[bt(Se(e.label),1)])],34)],2)}}}),mC=IJ;const PJ=["value","name","disabled"];var RJ=W({name:"ElRadioButton",__name:"radio-button",props:OJ,setup(e){const t=e,n=ye("radio"),{radioRef:a,focus:l,size:o,disabled:s,modelValue:r,radioGroup:u,actualValue:c}=vC(t),d=x(()=>({backgroundColor:(u==null?void 0:u.fill)||"",borderColor:(u==null?void 0:u.fill)||"",boxShadow:u!=null&&u.fill?`-1px 0 0 0 ${u.fill}`:"",color:(u==null?void 0:u.textColor)||""}));return(f,h)=>{var m;return S(),A("label",{class:P([i(n).b("button"),i(n).is("active",i(r)===i(c)),i(n).is("disabled",i(s)),i(n).is("focus",i(l)),i(n).bm("button",i(o))])},[ht($("input",{ref_key:"radioRef",ref:a,"onUpdate:modelValue":h[0]||(h[0]=v=>en(r)?r.value=v:null),class:P(i(n).be("button","original-radio")),value:i(c),type:"radio",name:e.name||((m=i(u))==null?void 0:m.name),disabled:i(s),onFocus:h[1]||(h[1]=v=>l.value=!0),onBlur:h[2]||(h[2]=v=>l.value=!1),onClick:h[3]||(h[3]=Qe(()=>{},["stop"]))},null,42,PJ),[[Fi,i(r)]]),$("span",{class:P(i(n).be("button","inner")),style:Ye(i(r)===i(c)?d.value:{}),onKeydown:h[4]||(h[4]=Qe(()=>{},["stop"]))},[le(f.$slots,"default",{},()=>[bt(Se(e.label),1)])],38)],2)}}}),G1=RJ;const VJ=["id","aria-label","aria-labelledby"];var LJ=W({name:"ElRadioGroup",__name:"radio-group",props:$J,emits:NJ,setup(e,{emit:t}){const n=e,a=t,l=ye("radio"),o=oa(),s=B(),{formItem:r}=Xn(),{inputId:u,isLabeledByFormItem:c}=Ua(n,{formItemContext:r}),d=p=>{a(it,p),Pe(()=>a(Ct,p))};mt(()=>{const p=s.value.querySelectorAll("[type=radio]"),g=p[0];!Array.from(p).some(y=>y.checked)&&g&&(g.tabIndex=0)});const f=x(()=>n.name||o.value),h=x(()=>({...hC,...n.props})),m=p=>{const{label:g,value:y,disabled:b}=h.value,C={label:p[g],value:p[y],disabled:p[b]};return{...Or(p,[g,y,b]),...C}},v=x(()=>n.type==="button"?G1:mC);return Et(pC,Dt({...Bn(n),changeEvent:d,name:f})),ce(()=>n.modelValue,(p,g)=>{n.validateEvent&&!gn(p,g)&&(r==null||r.validate("change").catch(ut))}),(p,g)=>(S(),A("div",{id:i(u),ref_key:"radioGroupRef",ref:s,class:P(i(l).b("group")),role:"radiogroup","aria-label":i(c)?void 0:e.ariaLabel||"radio-group","aria-labelledby":i(c)?i(r).labelId:void 0},[le(p.$slots,"default",{},()=>[(S(!0),A(He,null,wt(e.options,(y,b)=>(S(),ie(ft(v.value),vt({key:b},{ref_for:!0},m(y)),null,16))),128))])],10,VJ))}}),gC=LJ;const yC=ct(mC,{RadioButton:G1,RadioGroup:gC}),BJ=mn(gC),zJ=mn(G1),Y0=Symbol();function DJ(e){return!!(ve(e)?e.every(({type:t})=>t===pn):(e==null?void 0:e.type)===pn)}var HJ=W({name:"NodeContent",props:{node:{type:Object,required:!0}},setup(e){const t=ye("cascader-node"),{renderLabelFn:n}=De(Y0),{node:a}=e,{data:l,label:o}=a,s=()=>{const r=n==null?void 0:n({node:a,data:l});return DJ(r)?o:r??o};return()=>G("span",{class:t.e("label")},[s()])}});const FJ=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"];var KJ=W({name:"ElCascaderNode",__name:"node",props:{node:{type:Object,required:!0},menuId:{type:String,required:!1}},emits:["expand"],setup(e,{emit:t}){const n=e,a=t,l=De(Y0),o=ye("cascader-node"),s=x(()=>l.isHoverMenu),r=x(()=>l.config.multiple),u=x(()=>l.config.checkStrictly),c=x(()=>l.config.showPrefix),d=x(()=>{var T;return(T=l.checkedNodes[0])==null?void 0:T.uid}),f=x(()=>n.node.isDisabled),h=x(()=>n.node.isLeaf),m=x(()=>u.value&&!h.value||!f.value),v=x(()=>g(l.expandingNode)),p=x(()=>u.value&&l.checkedNodes.some(g)),g=T=>{var N;const{level:O,uid:I}=n.node;return((N=T==null?void 0:T.pathNodes[O-1])==null?void 0:N.uid)===I},y=()=>{v.value||l.expandNode(n.node)},b=T=>{const{node:O}=n;T!==O.checked&&l.handleCheckChange(O,T)},C=()=>{l.lazyLoad(n.node,()=>{h.value||y()})},w=T=>{s.value&&(_(),!h.value&&a("expand",T))},_=()=>{const{node:T}=n;!m.value||T.loading||(T.loaded?y():C())},k=()=>{h.value&&!f.value&&!u.value&&!r.value?E(!0):(l.config.checkOnClickNode&&(r.value||u.value)||h.value&&l.config.checkOnClickLeaf)&&!f.value?M(!n.node.checked):s.value||_()},M=T=>{u.value?(b(T),n.node.loaded&&y()):E(T)},E=T=>{n.node.loaded?(b(T),!u.value&&y()):C()};return(T,O)=>(S(),A("li",{id:`${e.menuId}-${e.node.uid}`,role:"menuitem","aria-haspopup":!h.value,"aria-owns":h.value?void 0:e.menuId,"aria-expanded":v.value,tabindex:m.value?-1:void 0,class:P([i(o).b(),i(o).is("selectable",u.value),i(o).is("active",e.node.checked),i(o).is("disabled",!m.value),v.value&&"in-active-path",p.value&&"in-checked-path"]),onMouseenter:w,onFocus:w,onClick:k},[oe(" prefix "),r.value&&c.value?(S(),ie(i(Al),{key:0,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:f.value,onClick:O[0]||(O[0]=Qe(()=>{},["stop"])),"onUpdate:modelValue":M},null,8,["model-value","indeterminate","disabled"])):u.value&&c.value?(S(),ie(i(yC),{key:1,"model-value":d.value,label:e.node.uid,disabled:f.value,"onUpdate:modelValue":M,onClick:O[1]||(O[1]=Qe(()=>{},["stop"]))},{default:ne(()=>[oe(` + Add an empty element to avoid render label, + do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485 + `),O[2]||(O[2]=$("span",null,null,-1))]),_:1},8,["model-value","label","disabled"])):h.value&&e.node.checked?(S(),ie(i(Be),{key:2,class:P(i(o).e("prefix"))},{default:ne(()=>[G(i(gr))]),_:1},8,["class"])):oe("v-if",!0),oe(" content "),G(i(HJ),{node:e.node},null,8,["node"]),oe(" postfix "),h.value?oe("v-if",!0):(S(),A(He,{key:3},[e.node.loading?(S(),ie(i(Be),{key:0,class:P([i(o).is("loading"),i(o).e("postfix")])},{default:ne(()=>[G(i(wl))]),_:1},8,["class"])):(S(),ie(i(Be),{key:1,class:P(["arrow-right",i(o).e("postfix")])},{default:ne(()=>[G(i(ua))]),_:1},8,["class"]))],64))],42,FJ))}}),L3=KJ,WJ=W({name:"ElCascaderMenu",__name:"menu",props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0},virtualScroll:{type:Boolean,required:!1,default:!1},itemSize:{type:Number,required:!1,default:34},height:{type:Number,required:!1,default:204}},setup(e,{expose:t}){const n=e,a=st(),l=ye("cascader-menu"),{t:o}=St(),s=oa();let r,u;const c=De(Y0),d=B(),f=B(),h=x(()=>!n.nodes.length),m=x(()=>!c.initialLoaded),v=x(()=>`${s.value}-${n.index}`),p=()=>{var E,T,O,I;let M;if(c.expandingNode){const{level:N,pathNodes:R}=c.expandingNode;n.index0&&(M=(O=(T=c.checkedNodes[0])==null?void 0:T.pathNodes[n.index])==null?void 0:O.uid)}else c.checkedNodes.length>0&&n.indexN.uid===M):-1},g=M=>M?n.nodes.findIndex(E=>`${v.value}-${E.uid}`===M):-1,y=M=>{var T;const E=za(M,0,n.nodes.length-1);(T=f.value)==null||T.scrollToItem(E)},b=M=>{if(!n.nodes.length)return;const E=za(M,0,n.nodes.length-1);y(E),Pe(()=>{var O;const T=(O=a.vnode.el)==null?void 0:O.querySelector(`#${v.value}-${n.nodes[E].uid}`);T&&si(T)})},C=M=>{r=M.target},w=M=>{var E,T,O;if(!(!c.isHoverMenu||!r||!d.value))if(r.contains(M.target)){_();const I=a.vnode.el,{left:N}=I.getBoundingClientRect(),{offsetWidth:R,offsetHeight:K}=I,H=M.clientX-N,z=r.offsetTop,V=z+r.offsetHeight,L=n.virtualScroll?((T=(E=f.value)==null?void 0:E.states)==null?void 0:T.scrollOffset)||0:((O=I.querySelector(`.${l.e("wrap")}`))==null?void 0:O.scrollTop)||0;d.value.innerHTML=` + + + `}else u||(u=window.setTimeout(k,c.config.hoverThreshold))},_=()=>{u&&(clearTimeout(u),u=void 0)},k=()=>{d.value&&(d.value.innerHTML="",_())};return t({getActiveNodeIndex:p,getNodeIndexById:g,scrollToItem:y,focusNodeAt:b,virtualListRef:f,get $el(){return a.vnode.el}}),(M,E)=>{var T;return e.virtualScroll?(S(),A("div",{key:v.value,class:P(i(l).b()),onMousemove:w,onMouseleave:k},[G(i(Wc),{ref_key:"virtualListRef",ref:f,height:e.height,"item-size":e.itemSize,data:e.nodes,total:e.nodes.length,"class-name":i(l).e("list"),"inner-element":"ul","inner-props":{role:"menu",class:i(l).is("empty",h.value)}},{default:ne(({data:O,index:I,style:N})=>[(S(),ie(L3,{key:O[I].uid,node:O[I],"menu-id":v.value,style:Ye(N),onExpand:C},null,8,["node","menu-id","style"]))]),_:1},8,["height","item-size","data","total","class-name","inner-props"]),m.value?(S(),A("div",{key:0,class:P(i(l).e("empty-text"))},[G(i(Be),{size:14,class:P(i(l).is("loading"))},{default:ne(()=>[G(i(wl))]),_:1},8,["class"]),bt(" "+Se(i(o)("el.cascader.loading")),1)],2)):h.value?(S(),A("div",{key:1,class:P(i(l).e("empty-text"))},[le(M.$slots,"empty",{},()=>[bt(Se(i(o)("el.cascader.noData")),1)])],2)):(T=i(c))!=null&&T.isHoverMenu?(S(),A(He,{key:2},[oe(" eslint-disable vue/html-self-closing "),(S(),A("svg",{ref_key:"hoverZone",ref:d,class:P(i(l).e("hover-zone"))},null,2))],2112)):oe("v-if",!0),oe(" eslint-enable vue/html-self-closing ")],34)):(S(),ie(i(Dl),{key:v.value,tag:"ul",role:"menu",class:P(i(l).b()),"wrap-class":i(l).e("wrap"),"view-class":[i(l).e("list"),i(l).is("empty",h.value)],onMousemove:w,onMouseleave:k},{default:ne(()=>{var O;return[(S(!0),A(He,null,wt(e.nodes,I=>(S(),ie(L3,{key:I.uid,node:I,"menu-id":v.value,onExpand:C},null,8,["node","menu-id"]))),128)),m.value?(S(),A("div",{key:0,class:P(i(l).e("empty-text"))},[G(i(Be),{size:14,class:P(i(l).is("loading"))},{default:ne(()=>[G(i(wl))]),_:1},8,["class"]),bt(" "+Se(i(o)("el.cascader.loading")),1)],2)):h.value?(S(),A("div",{key:1,class:P(i(l).e("empty-text"))},[le(M.$slots,"empty",{},()=>[bt(Se(i(o)("el.cascader.noData")),1)])],2)):(O=i(c))!=null&&O.isHoverMenu?(S(),A(He,{key:2},[oe(" eslint-disable vue/html-self-closing "),(S(),A("svg",{ref_key:"hoverZone",ref:d,class:P(i(l).e("hover-zone"))},null,2))],2112)):oe("v-if",!0),oe(" eslint-enable vue/html-self-closing ")]}),_:3},8,["class","wrap-class","view-class"]))}}}),jJ=WJ;let qJ=0;const UJ=e=>{const t=[e];let{parent:n}=e;for(;n;)t.unshift(n),n=n.parent;return t};var p2=class h2{constructor(t,n,a,l=!1){this.data=t,this.config=n,this.parent=a,this.root=l,this.uid=qJ++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:o,label:s,children:r}=n,u=t[r],c=UJ(this);this.level=l?0:a?a.level+1:1,this.value=t[o],this.label=t[s],this.pathNodes=c,this.pathValues=c.map(d=>d.value),this.pathLabels=c.map(d=>d.label),this.childrenData=u,this.children=(u||[]).map(d=>new h2(d,n,this)),this.loaded=!n.lazy||this.isLeaf||!$a(u),this.text=""}get isDisabled(){const{data:t,parent:n,config:a}=this,{disabled:l,checkStrictly:o}=a;return(Ke(l)?l(t,this):!!t[l])||!o&&!!(n!=null&&n.isDisabled)}get isLeaf(){const{data:t,config:n,childrenData:a,loaded:l}=this,{lazy:o,leaf:s}=n,r=Ke(s)?s(t,this):t[s];return Mt(r)?o&&!l?!1:!(ve(a)&&a.length):!!r}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:n,children:a}=this,l=new h2(t,this.config,this);return ve(n)?n.push(t):this.childrenData=[t],a.push(l),l}calcText(t,n){const a=t?this.pathLabels.join(n):this.label;return this.text=a,a}broadcast(t){this.children.forEach(n=>{var a;n&&(n.broadcast(t),(a=n.onParentCheck)==null||a.call(n,t))})}emit(){var n;const{parent:t}=this;t&&((n=t.onChildCheck)==null||n.call(t),t.emit())}onParentCheck(t){this.isDisabled||this.setCheckState(t)}onChildCheck(){const{children:t}=this,n=t.filter(l=>!l.isDisabled),a=n.length?n.every(l=>l.checked):!1;this.setCheckState(a)}setCheckState(t){const n=this.children.length,a=this.children.reduce((l,o)=>l+(o.checked?1:o.indeterminate?.5:0),0);this.checked=this.loaded&&this.children.filter(l=>!l.isDisabled).every(l=>l.loaded&&l.checked)&&t,this.indeterminate=this.loaded&&a!==n&&a>0}doCheck(t){if(this.checked===t)return;const{checkStrictly:n,multiple:a}=this.config;n||!a?this.checked=t:(this.broadcast(t),this.setCheckState(t),this.emit())}};const v2=(e,t)=>e.reduce((n,a)=>(a.isLeaf?n.push(a):(!t&&n.push(a),n=n.concat(v2(a.children,t))),n),[]);var B3=class{constructor(e,t){this.config=t;const n=(e||[]).map(a=>new p2(a,this.config));this.nodes=n,this.allNodes=v2(n,!1),this.leafNodes=v2(n,!0)}getNodes(){return this.nodes}getFlattedNodes(e){return e?this.leafNodes:this.allNodes}appendNode(e,t){const n=t?t.appendChild(e):new p2(e,this.config);t||this.nodes.push(n),this.appendAllNodesAndLeafNodes(n)}appendNodes(e,t){e.length>0?e.forEach(n=>this.appendNode(n,t)):t&&t.isLeaf&&this.leafNodes.push(t)}appendAllNodesAndLeafNodes(e){this.allNodes.push(e),e.isLeaf&&this.leafNodes.push(e),e.children&&e.children.forEach(t=>{this.appendAllNodesAndLeafNodes(t)})}getNodeByValue(e,t=!1){return el(e)?null:this.getFlattedNodes(t).find(n=>gn(n.value,e)||gn(n.pathValues,e))||null}getSameNode(e){return e&&this.getFlattedNodes(!1).find(({value:t,level:n})=>gn(e.value,t)&&e.level===n)||null}};const zp=e=>{if(!e)return 0;const t=e.id.split("-");return Number(t[t.length-2])},YJ=e=>{if(!e)return;const t=e.querySelector("input");t?t.click():$w(e)&&e.click()},GJ=(e,t)=>{const n=t.slice(0),a=n.map(o=>o.uid),l=e.reduce((o,s)=>{const r=a.indexOf(s.uid);return r>-1&&(o.push(s),n.splice(r,1),a.splice(r,1)),o},[]);return l.push(...n),l};var XJ=W({name:"ElCascaderPanel",__name:"index",props:YX,emits:GX,setup(e,{expose:t,emit:n}){const a=e,l=n;let o=!1;const s=ye("cascader"),r=XX(a),u=wn();let c;const d=B(!0),f=B(!1),h=B([]),m=B(),v=B([]),p=B(),g=B([]),y=x(()=>r.value.expandTrigger==="hover"),b=x(()=>a.renderLabel||u.default),C=x(()=>a.virtualScroll),w=x(()=>a.itemSize),_=x(()=>a.height),k=()=>{const{options:D}=a,j=r.value;o=!1,c=new B3(D,j),v.value=[c.getNodes()],j.lazy&&$a(a.options)?(d.value=!1,M(void 0,q=>{q&&(c=new B3(q,j),v.value=[c.getNodes()]),d.value=!0,H(!1,!0)})):H(!1,!0)},M=(D,j)=>{const q=r.value;D=D||new p2({},q,void 0,!0),D.loading=!0;const Q=te=>{const ae=D,ue=ae.root?null:ae;ae.loading=!1,ae.loaded=!0,ae.childrenData=ae.childrenData||[],te&&(c==null||c.appendNodes(te,ue)),te&&(j==null||j(te)),D.level===0&&(f.value=!0)},ee=()=>{D.loading=!1,D.loaded=!1,D.level===0&&(d.value=!0)};q.lazyLoad(D,Q,ee)},E=(D,j)=>{var te;const{level:q}=D,Q=v.value.slice(0,q);let ee;D.isLeaf?ee=D.pathNodes[q-2]:(ee=D,Q.push(D.children)),((te=p.value)==null?void 0:te.uid)!==(ee==null?void 0:ee.uid)&&(p.value=D,v.value=Q,!j&&l("expand-change",(D==null?void 0:D.pathValues)||[]))},T=(D,j,q=!0)=>{const{checkStrictly:Q,multiple:ee}=r.value,te=g.value[0];o=!0,!ee&&(te==null||te.doCheck(!1)),D.doCheck(j),K(),q&&!ee&&!Q&&l("close"),!q&&!ee&&O(D)},O=D=>{D&&(D=D.parent,O(D),D&&E(D))},I=D=>c==null?void 0:c.getFlattedNodes(D),N=D=>{var j;return(j=I(D))==null?void 0:j.filter(({checked:q})=>q!==!1)},R=()=>{g.value.forEach(D=>D.doCheck(!1)),K(),v.value=v.value.slice(0,1),p.value=void 0,l("expand-change",[])},K=()=>{const{checkStrictly:D,multiple:j}=r.value,q=g.value,Q=GJ(q,N(!D)),ee=Q.map(te=>te.valueByOption);g.value=Q,m.value=j?ee:ee[0]??null},H=(D=!1,j=!1)=>{const{modelValue:q}=a,{lazy:Q,multiple:ee,checkStrictly:te}=r.value,ae=!te;if(!(!d.value||o||!j&&gn(q,m.value)))if(Q&&!D){const ue=Y4(BA(jn(q))).map(pe=>c==null?void 0:c.getNodeByValue(pe)).filter(pe=>!!pe&&!pe.loaded&&!pe.loading);ue.length?ue.forEach(pe=>{M(pe,()=>H(!1,j))}):H(!0,j)}else z(Y4((ee?jn(q):[q]).map(ue=>c==null?void 0:c.getNodeByValue(ue,ae))),j),m.value=eo(q??void 0)},z=(D,j=!0)=>{const{checkStrictly:q}=r.value,Q=g.value,ee=D.filter(ue=>!!ue&&(q||ue.isLeaf)),te=c==null?void 0:c.getSameNode(p.value),ae=j&&te||ee[0];ae?ae.pathNodes.forEach(ue=>E(ue,!0)):p.value=void 0,Q.forEach(ue=>ue.doCheck(!1)),Dt(ee).forEach(ue=>ue.doCheck(!0)),g.value=ee,Pe(V)},V=()=>{Bt&&h.value.forEach(D=>{var q,Q;const j=D==null?void 0:D.$el;if(j)if(C.value){const ee=(q=D==null?void 0:D.getActiveNodeIndex)==null?void 0:q.call(D);ee!==void 0&&ee>=0&&((Q=D==null?void 0:D.scrollToItem)==null||Q.call(D,ee))}else{const ee=j.querySelector(`.${s.namespace.value}-scrollbar__wrap`);let te=j.querySelector(`.${s.b("node")}.in-active-path`);if(!te){const ae=j.querySelectorAll(`.${s.b("node")}.${s.is("active")}`);te=ae[ae.length-1]}c1(ee,te)}})},L=D=>{var Q,ee;const j=D.target,q=Xt(D);switch(q){case Ce.up:case Ce.down:{D.preventDefault();const te=q===Ce.up?-1:1;if(C.value){const ae=zp(j),ue=h.value[ae];if(ue){const pe=ue.getNodeIndexById(j.id);if(pe>=0){const ge=v.value[ae]??[],X=ge.length;let Z=pe+te;for(;Z>=0&&Z{gn(D,j)||k()},{immediate:!0}),ce(()=>a.options,k,{deep:!0}),ce(()=>a.modelValue,()=>{o=!1,H()},{deep:!0}),ce(()=>m.value,D=>{gn(D,a.modelValue)||(l(it,D),l(Ct,D))});const F=()=>{f.value||!d.value||k()};return zi(()=>h.value=[]),mt(()=>!$a(a.modelValue)&&H()),t({menuList:h,menus:v,checkedNodes:g,handleKeyDown:L,handleCheckChange:T,getFlattedNodes:I,getCheckedNodes:N,clearCheckedNodes:R,calculateCheckedValue:K,scrollToExpandingNode:V,loadLazyRootNodes:F}),(D,j)=>(S(),A("div",{class:P([i(s).b("panel"),i(s).is("bordered",e.border)]),onKeydown:L},[(S(!0),A(He,null,wt(v.value,(q,Q)=>(S(),ie(jJ,{key:Q,ref_for:!0,ref:ee=>h.value[Q]=ee,index:Q,nodes:[...q],"virtual-scroll":C.value,"item-size":w.value,height:_.value},{empty:ne(()=>[le(D.$slots,"empty")]),_:3},8,["index","nodes","virtual-scroll","item-size","height"]))),128))],34))}}),JJ=XJ;const bC=ct(JJ),ZJ=ke({...H9,size:zn,placeholder:String,disabled:{type:Boolean,default:void 0},clearable:Boolean,clearIcon:{type:Ut,default:ql},filterable:Boolean,filterMethod:{type:Y(Function),default:(e,t)=>e.text.includes(t)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:Boolean,maxCollapseTagsTooltipHeight:{type:[String,Number]},debounce:{type:Number,default:300},beforeFilter:{type:Y(Function),default:()=>!0},placement:{type:Y(String),values:Co,default:"bottom-start"},fallbackPlacements:{type:Y(Array),default:["bottom-start","bottom","top-start","top","right","left"]},popperClass:on.popperClass,popperStyle:on.popperStyle,teleported:on.teleported,effect:{type:Y(String),default:"light"},tagType:{...jo.type,default:"info"},tagEffect:{...jo.effect,default:"light"},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},showCheckedStrategy:{type:String,values:["parent","child"],default:"child"},checkOnClickNode:Boolean,showPrefix:{type:Boolean,default:!0},fitInputWidth:{type:[Boolean,Number],default:!1},...$r}),z3=e=>!0,QJ={[it]:z3,[Ct]:z3,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,visibleChange:e=>qt(e),expandChange:e=>!!e,removeTag:e=>!!e},eZ=["placeholder"],tZ=["onClick"],nZ=["id","data-suggestion-index","onClick"],aZ=34;var lZ=W({name:"ElCascader",__name:"cascader",props:ZJ,emits:QJ,setup(e,{expose:t,emit:n}){const a={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:_e})=>{const{modifiersData:Fe,placement:ze}=_e;["right","left","bottom","top"].includes(ze)||Fe.arrow&&(Fe.arrow.x=35)},requires:["arrow"]}]},l=e,o=n,s=Hl(),r=wn();let u=0,c=0;const d=ye("cascader"),f=ye("input"),h={small:7,default:11,large:15},{t:m}=St(),{formItem:v}=Xn(),p=hn(),{valueOnClear:g}=Bc(l),{isComposing:y,handleComposition:b}=Lc({afterComposition(_e){var ze;const Fe=(ze=_e.target)==null?void 0:ze.value;Vt(Fe)}}),C=B(),w=B(),_=B(),k=B(),M=B(),E=B(),T=B(),O=B(!1),I=B(!1),N=B(!1),R=B(""),K=B(""),H=B([]),z=B([]),V=B("100%"),L=x(()=>!!r["suggestion-item"]),F=x(()=>za(z.value.length*l.itemSize,l.itemSize,l.height)),D=x(()=>l.props.multiple?l.collapseTags?H.value.slice(0,l.maxCollapseTags):H.value:[]),j=x(()=>l.props.multiple?l.collapseTags?H.value.slice(l.maxCollapseTags):[]:[]),q=x(()=>s.style),Q=x(()=>l.placeholder??m("el.cascader.placeholder")),ee=x(()=>K.value||H.value.length>0||y.value?"":Q.value),te=Pn(),ae=x(()=>te.value==="small"?"small":"default"),ue=x(()=>!!l.props.multiple),pe=x(()=>!l.filterable||ue.value),ge=x(()=>ue.value?K.value:R.value),X=x(()=>{var _e;return((_e=M.value)==null?void 0:_e.checkedNodes)||[]}),{wrapperRef:Z,isFocused:re,handleBlur:U}=Jo(_,{disabled:p,beforeBlur(_e){var Fe,ze;return((Fe=C.value)==null?void 0:Fe.isFocusInsideContent(_e))||((ze=w.value)==null?void 0:ze.isFocusInsideContent(_e))},afterBlur(){var _e;l.validateEvent&&((_e=v==null?void 0:v.validate)==null||_e.call(v,"blur").catch(ut))}}),J=x(()=>!l.clearable||p.value||N.value||!I.value&&!re.value?!1:!!X.value.length),se=x(()=>{const{showAllLevels:_e,separator:Fe}=l,ze=X.value;return ze.length?ue.value?"":ze[0].calcText(_e,Fe):""}),fe=x(()=>(v==null?void 0:v.validateState)||""),me=x({get(){return eo(l.modelValue)},set(_e){const Fe=_e??g.value;o(it,Fe),o(Ct,Fe),l.validateEvent&&(v==null||v.validate("change").catch(ut))}}),we=x(()=>[d.b(),d.m(te.value),d.is("disabled",p.value),s.class]),Ve=x(()=>[f.e("icon"),"icon-arrow-down",d.is("reverse",O.value)]),Ae=x(()=>d.is("focus",re.value)),xe=x(()=>{var _e,Fe;return(Fe=(_e=C.value)==null?void 0:_e.popperRef)==null?void 0:Fe.contentRef}),he=_e=>{re.value&&U(new FocusEvent("blur",_e)),Ee(!1)},Ee=_e=>{var Fe,ze;p.value||(_e=_e??!O.value,_e!==O.value&&(O.value=_e,(ze=(Fe=_.value)==null?void 0:Fe.input)==null||ze.setAttribute("aria-expanded",`${_e}`),_e?($e(),M.value&&Pe(M.value.scrollToExpandingNode)):l.filterable&&tt(),o("visibleChange",_e)))},$e=()=>{Pe(()=>{var _e;(_e=C.value)==null||_e.updatePopper()})},Re=()=>{N.value=!1},Ge=_e=>{const{showAllLevels:Fe,separator:ze}=l;return{node:_e,key:_e.uid,text:_e.calcText(Fe,ze),hitState:!1,closable:!p.value&&!_e.isDisabled}},Ze=_e=>{var ze;const Fe=_e.node;Fe.doCheck(!1),(ze=M.value)==null||ze.calculateCheckedValue(),o("removeTag",Fe.valueByOption)},Xe=()=>{switch(l.showCheckedStrategy){case"child":return X.value;case"parent":{const _e=We(!1),Fe=_e.map(ze=>ze.value);return _e.filter(ze=>!ze.parent||!Fe.includes(ze.parent.value))}default:return[]}},gt=()=>{if(!ue.value)return;const _e=Xe(),Fe=[];_e.forEach(ze=>Fe.push(Ge(ze))),H.value=Fe},Tt=()=>{var Ft,Jt;const{filterMethod:_e,showAllLevels:Fe,separator:ze}=l,Nt=(Jt=(Ft=M.value)==null?void 0:Ft.getFlattedNodes(!l.props.checkStrictly))==null?void 0:Jt.filter(sn=>sn.isDisabled?!1:(sn.calcText(Fe,ze),_e(sn,ge.value)));ue.value&&H.value.forEach(sn=>{sn.hitState=!1}),N.value=!0,z.value=Nt,Pe(()=>{var sn;l.virtualScroll&&z.value.length>0&&((sn=T.value)==null||sn.scrollToItem(0)),Me()}),$e()},Pt=_e=>{const Fe=E.value;return _e?(Fe==null?void 0:Fe.querySelector(_e))??void 0:Fe},$t=()=>{var Fe;let _e;N.value&&E.value?_e=Pt(`.${d.e("suggestion-item")}`):_e=(Fe=M.value)==null?void 0:Fe.$el.querySelector(`.${d.b("node")}[tabindex="-1"]`),_e&&(_e.focus(),!N.value&&_e.getAttribute("aria-haspopup")==="true"&&_e.click())},Rt=_e=>{const Fe=Pt();if(!Fe)return;const ze=qe(l.fitInputWidth)?`${l.fitInputWidth}px`:`${_e}px`,Nt=Jt=>{l.fitInputWidth!==!1?(Jt.style.width=ze,Jt.style.minWidth=""):(Jt.style.width="",Jt.style.minWidth=ze)};if(Nt(Fe),l.virtualScroll){V.value=l.fitInputWidth!==!1?ze:L.value?`${_e}px`:`${Math.max(_e,be())}px`;return}const Ft=Pt(`.${d.e("suggestion-list")}`);Ft&&Nt(Ft)},tn=()=>{var ze;if(!r.prefix)return 0;const _e=(ze=_.value)==null?void 0:ze.$el.querySelector(`.${f.e("prefix")}`);if(!_e)return 0;const Fe=_e.getBoundingClientRect().width;return Fe<=0?0:Fe+h[te.value||"default"]},Me=()=>{var Nt,Ft;const _e=(Nt=_.value)==null?void 0:Nt.input,Fe=(Ft=_.value)==null?void 0:Ft.$el;if(!Bt||!_e||!Fe)return;E.value&&Rt(Fe.getBoundingClientRect().width);const ze=k.value;if(ze){const Jt=H.value.length>0?`${Math.max(ze.offsetHeight,u)-2}px`:`${u}px`;_e.style.height=Jt,ze.style.left=`${tn()}px`,$e()}},be=()=>{if(L.value||!z.value.length)return 0;const _e=document.createElement("canvas").getContext("2d");if(!_e)return 0;const Fe=Pt(`.${d.e("suggestion-item")}`);if(!Fe||!Bt)return 0;const ze=getComputedStyle(Fe),Nt=Number.parseFloat(ze.paddingLeft)+Number.parseFloat(ze.paddingRight);_e.font=`bold ${ze.fontSize} ${ze.fontFamily}`;let Ft=0,Jt=!1;for(const sn of z.value){const fa=sn.text||"",Qo=_e.measureText(fa);Ft=Math.max(Ft,Qo.width),sn.checked&&!Jt&&(Jt=!0)}return Ft+Nt+(Jt?aZ:0)},We=_e=>{var Fe;return(Fe=M.value)==null?void 0:Fe.getCheckedNodes(_e)},de=_e=>{$e(),o("expandChange",_e)},je=_e=>{if(!y.value)switch(Xt(_e)){case Ce.enter:case Ce.numpadEnter:Ee();break;case Ce.down:Ee(!0),Pe($t),_e.preventDefault();break;case Ce.esc:O.value===!0&&(_e.preventDefault(),_e.stopPropagation(),Ee(!1));break;case Ce.tab:Ee(!1);break}},Ie=()=>{var _e;(_e=M.value)==null||_e.clearCheckedNodes(),!O.value&&l.filterable&&tt(),Ee(!1),o("clear")},tt=()=>{const{value:_e}=se;R.value=_e,K.value=_e},ot=_e=>{var ze,Nt;const{checked:Fe}=_e;ue.value?(ze=M.value)==null||ze.handleCheckChange(_e,!Fe,!1):(!Fe&&((Nt=M.value)==null||Nt.handleCheckChange(_e,!0,!1)),Ee(!1))},pt=_e=>{var Nt;const Fe=(Nt=_e.closest("[data-suggestion-index]"))==null?void 0:Nt.dataset.suggestionIndex;if(!Fe)return-1;const ze=Number.parseInt(Fe,10);return Number.isNaN(ze)||ze<0||ze>=z.value.length?-1:ze},yt=_e=>{const Fe=_e.target,ze=Xt(_e);switch(ze){case Ce.up:case Ce.down:{_e.preventDefault();const Nt=ze===Ce.up?-1:1;if(l.virtualScroll&&T.value){const Ft=pt(Fe);if(Ft>=0){const Jt=z.value.length,sn=(Ft+Nt+Jt)%Jt;T.value.scrollToItem(sn),Pe(()=>{const fa=Pt(`#suggestion-${z.value[sn].uid}`);fa&&si(fa)});return}}si(Nw(Fe,Nt,`.${d.e("suggestion-item")}[tabindex="-1"]`));break}case Ce.enter:case Ce.numpadEnter:Fe.click();break}},_t=()=>{const _e=H.value[H.value.length-1];c=K.value?0:c+1,!(!_e||!c||l.collapseTags&&H.value.length>1)&&(_e.hitState?Ze(_e):_e.hitState=!0)},lt=xc(()=>{const{value:_e}=ge;if(!_e)return;const Fe=l.beforeFilter(_e);Ho(Fe)?Fe.then(Tt).catch(()=>{}):Fe!==!1?Tt():Re()},x(()=>l.debounce)),Vt=(_e,Fe)=>{if(!O.value&&Ee(!0),!(Fe!=null&&Fe.isComposing))if(_e)lt();else{const ze=l.beforeFilter("");Ho(ze)&&ze.catch(()=>{}),Re()}},Le=_e=>Number.parseFloat(TT(f.cssVarName("input-height"),_e).value)-2,Ue=()=>{var _e;(_e=_.value)==null||_e.focus()},nt=()=>{var _e;(_e=_.value)==null||_e.blur()};return ce(N,$e),ce([X,p,()=>l.collapseTags,()=>l.maxCollapseTags],gt),ce(H,()=>{Pe(()=>Me())}),ce(te,async()=>{await Pe();const _e=_.value.input;u=Le(_e)||u,Me()}),ce(se,tt,{immediate:!0}),ce(()=>O.value,_e=>{var Fe;_e&&l.props.lazy&&l.props.lazyLoad&&((Fe=M.value)==null||Fe.loadLazyRootNodes())}),mt(()=>{const _e=_.value.input,Fe=_.value.$el,ze=Le(_e);u=_e.offsetHeight||ze,rn(Fe,Me)}),t({getCheckedNodes:We,cascaderPanelRef:M,togglePopperVisible:Ee,contentRef:xe,presentText:se,focus:Ue,blur:nt}),(_e,Fe)=>(S(),ie(i(Gn),{ref_key:"tooltipRef",ref:C,visible:O.value,teleported:e.teleported,"popper-class":[i(d).e("dropdown"),e.popperClass],"popper-style":e.popperStyle,"popper-options":a,"fallback-placements":e.fallbackPlacements,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:e.placement,transition:`${i(d).namespace.value}-zoom-in-top`,effect:e.effect,pure:"",persistent:e.persistent,onHide:Re},{default:ne(()=>[ht((S(),A("div",{ref_key:"wrapperRef",ref:Z,class:P(we.value),style:Ye(q.value),onClick:Fe[8]||(Fe[8]=()=>Ee(pe.value?void 0:!0)),onKeydown:je,onMouseenter:Fe[9]||(Fe[9]=ze=>I.value=!0),onMouseleave:Fe[10]||(Fe[10]=ze=>I.value=!1)},[G(i(aa),{ref_key:"inputRef",ref:_,modelValue:R.value,"onUpdate:modelValue":Fe[1]||(Fe[1]=ze=>R.value=ze),placeholder:ee.value,readonly:pe.value,disabled:i(p),"validate-event":!1,size:i(te),class:P(Ae.value),tabindex:ue.value&&e.filterable&&!i(p)?-1:void 0,onCompositionstart:i(b),onCompositionupdate:i(b),onCompositionend:i(b),onInput:Vt},da({suffix:ne(()=>[J.value?(S(),ie(i(Be),{key:"clear",class:P([i(f).e("icon"),"icon-circle-close"]),onClick:Qe(Ie,["stop"])},{default:ne(()=>[(S(),ie(ft(e.clearIcon)))]),_:1},8,["class"])):(S(),ie(i(Be),{key:"arrow-down",class:P(Ve.value),onClick:Fe[0]||(Fe[0]=Qe(ze=>Ee(),["stop"]))},{default:ne(()=>[G(i(jl))]),_:1},8,["class"]))]),_:2},[_e.$slots.prefix?{name:"prefix",fn:ne(()=>[le(_e.$slots,"prefix")]),key:"0"}:void 0]),1032,["modelValue","placeholder","readonly","disabled","size","class","tabindex","onCompositionstart","onCompositionupdate","onCompositionend"]),ue.value?(S(),A("div",{key:0,ref_key:"tagWrapper",ref:k,class:P([i(d).e("tags"),i(d).is("validate",!!fe.value)])},[le(_e.$slots,"tag",{data:H.value,deleteTag:Ze},()=>[(S(!0),A(He,null,wt(D.value,ze=>(S(),ie(i(Do),{key:ze.key,type:e.tagType,size:ae.value,effect:e.tagEffect,hit:ze.hitState,closable:ze.closable,"disable-transitions":"",onClose:Nt=>Ze(ze)},{default:ne(()=>[$("span",null,Se(ze.text),1)]),_:2},1032,["type","size","effect","hit","closable","onClose"]))),128))]),e.collapseTags&&H.value.length>e.maxCollapseTags?(S(),ie(i(Gn),{key:0,ref_key:"tagTooltipRef",ref:w,disabled:O.value||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom","popper-class":e.popperClass,"popper-style":e.popperStyle,effect:e.effect,persistent:e.persistent},{default:ne(()=>[G(i(Do),{closable:!1,size:ae.value,type:e.tagType,effect:e.tagEffect,"disable-transitions":""},{default:ne(()=>[$("span",{class:P(i(d).e("tags-text"))}," + "+Se(H.value.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect"])]),content:ne(()=>[G(i(Dl),{"max-height":e.maxCollapseTagsTooltipHeight},{default:ne(()=>[$("div",{class:P(i(d).e("collapse-tags"))},[(S(!0),A(He,null,wt(j.value,(ze,Nt)=>(S(),A("div",{key:Nt,class:P(i(d).e("collapse-tag"))},[(S(),ie(i(Do),{key:ze.key,class:"in-tooltip",type:e.tagType,size:ae.value,effect:e.tagEffect,hit:ze.hitState,closable:ze.closable,"disable-transitions":"",onClose:Ft=>Ze(ze)},{default:ne(()=>[$("span",null,Se(ze.text),1)]),_:2},1032,["type","size","effect","hit","closable","onClose"]))],2))),128))],2)]),_:1},8,["max-height"])]),_:1},8,["disabled","popper-class","popper-style","effect","persistent"])):oe("v-if",!0),e.filterable&&!i(p)?ht((S(),A("input",{key:1,"onUpdate:modelValue":Fe[2]||(Fe[2]=ze=>K.value=ze),type:"text",class:P(i(d).e("search-input")),placeholder:se.value?"":Q.value,onInput:Fe[3]||(Fe[3]=ze=>Vt(K.value,ze)),onClick:Fe[4]||(Fe[4]=Qe(ze=>Ee(!0),["stop"])),onKeydown:un(_t,["delete"]),onCompositionstart:Fe[5]||(Fe[5]=(...ze)=>i(b)&&i(b)(...ze)),onCompositionupdate:Fe[6]||(Fe[6]=(...ze)=>i(b)&&i(b)(...ze)),onCompositionend:Fe[7]||(Fe[7]=(...ze)=>i(b)&&i(b)(...ze))},null,42,eZ)),[[ur,K.value]]):oe("v-if",!0)],2)):oe("v-if",!0)],38)),[[i(Ts),he,xe.value]])]),content:ne(()=>[_e.$slots.header?(S(),A("div",{key:0,class:P(i(d).e("header")),onClick:Fe[11]||(Fe[11]=Qe(()=>{},["stop"]))},[le(_e.$slots,"header")],2)):oe("v-if",!0),ht(G(i(bC),{ref_key:"cascaderPanelRef",ref:M,modelValue:me.value,"onUpdate:modelValue":Fe[12]||(Fe[12]=ze=>me.value=ze),options:e.options,props:l.props,border:!1,"render-label":_e.$slots.default,"virtual-scroll":e.virtualScroll,"item-size":e.itemSize,height:e.height,onExpandChange:de,onClose:Fe[13]||(Fe[13]=ze=>_e.$nextTick(()=>Ee(!1)))},{empty:ne(()=>[le(_e.$slots,"empty")]),_:3},8,["modelValue","options","props","render-label","virtual-scroll","item-size","height"]),[[It,!N.value]]),e.filterable?(S(),A(He,{key:1},[e.virtualScroll?ht((S(),A("div",{key:1,ref_key:"suggestionPanel",ref:E,class:P(i(d).e("suggestion-panel")),onKeydown:yt},[ht(G(i(Wc),{ref_key:"suggestionVirtualListRef",ref:T,height:F.value,"item-size":e.itemSize,data:z.value,total:z.value.length,"class-name":i(d).e("suggestion-list"),"inner-element":"ul","inner-width":V.value},{default:ne(({data:ze,index:Nt,style:Ft})=>[(S(),A("li",{id:`suggestion-${ze[Nt].uid}`,key:ze[Nt].uid,"data-suggestion-index":Nt,class:P([i(d).e("suggestion-item"),i(d).is("checked",ze[Nt].checked)]),tabindex:-1,style:Ye(Ft),onClick:Jt=>ot(ze[Nt])},[le(_e.$slots,"suggestion-item",{item:ze[Nt]},()=>[$("span",null,Se(ze[Nt].text),1),ze[Nt].checked?(S(),ie(i(Be),{key:0},{default:ne(()=>[G(i(gr))]),_:1})):oe("v-if",!0)])],14,nZ))]),_:3},8,["height","item-size","data","total","class-name","inner-width"]),[[It,z.value.length]]),z.value.length?oe("v-if",!0):le(_e.$slots,"empty",{key:0},()=>[$("ul",{class:P(i(d).e("suggestion-list"))},[$("li",{class:P(i(d).e("empty-text"))},Se(i(m)("el.cascader.noMatch")),3)],2)])],34)),[[It,N.value]]):ht((S(),ie(i(Dl),{key:0,ref:ze=>E.value=ze==null?void 0:ze.$el,tag:"ul",class:P(i(d).e("suggestion-panel")),"wrap-class":i(d).e("suggestion-wrap"),"view-class":i(d).e("suggestion-list"),onKeydown:yt},{default:ne(()=>[z.value.length?(S(!0),A(He,{key:0},wt(z.value,ze=>(S(),A("li",{key:ze.uid,class:P([i(d).e("suggestion-item"),i(d).is("checked",ze.checked)]),tabindex:-1,onClick:Nt=>ot(ze)},[le(_e.$slots,"suggestion-item",{item:ze},()=>[$("span",null,Se(ze.text),1),ze.checked?(S(),ie(i(Be),{key:0},{default:ne(()=>[G(i(gr))]),_:1})):oe("v-if",!0)])],10,tZ))),128)):le(_e.$slots,"empty",{key:1},()=>[$("li",{class:P(i(d).e("empty-text"))},Se(i(m)("el.cascader.noMatch")),3)])]),_:3},8,["class","wrap-class","view-class"])),[[It,N.value]])],64)):oe("v-if",!0),_e.$slots.footer?(S(),A("div",{key:2,class:P(i(d).e("footer")),onClick:Fe[14]||(Fe[14]=Qe(()=>{},["stop"]))},[le(_e.$slots,"footer")],2)):oe("v-if",!0)]),_:3},8,["visible","teleported","popper-class","popper-style","fallback-placements","placement","transition","effect","persistent"]))}}),oZ=lZ;const sZ=ct(oZ),rZ=ke({checked:Boolean,disabled:Boolean,type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"}}),iZ={"update:checked":e=>qt(e),[Ct]:e=>qt(e)};var uZ=W({name:"ElCheckTag",__name:"check-tag",props:rZ,emits:iZ,setup(e,{emit:t}){const n=e,a=t,l=ye("check-tag"),o=x(()=>[l.b(),l.is("checked",n.checked),l.is("disabled",n.disabled),l.m(n.type||"primary")]),s=()=>{if(n.disabled)return;const r=!n.checked;a(Ct,r),a("update:checked",r)};return(r,u)=>(S(),A("span",{class:P(o.value),onClick:s},[le(r.$slots,"default")],2))}}),cZ=uZ;const dZ=ct(cZ),fZ=ke({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:Y([Number,Object]),default:()=>yn({})},sm:{type:Y([Number,Object]),default:()=>yn({})},md:{type:Y([Number,Object]),default:()=>yn({})},lg:{type:Y([Number,Object]),default:()=>yn({})},xl:{type:Y([Number,Object]),default:()=>yn({})}}),pZ=["start","center","end","space-around","space-between","space-evenly"],hZ=["top","middle","bottom"],vZ=ke({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:pZ,default:"start"},align:{type:String,values:hZ}}),wC=Symbol("rowContextKey");var mZ=W({name:"ElRow",__name:"row",props:vZ,setup(e){const t=e,n=ye("row");Et(wC,{gutter:x(()=>t.gutter)});const a=x(()=>{const o={};return t.gutter&&(o.marginRight=o.marginLeft=`-${t.gutter/2}px`),o}),l=x(()=>[n.b(),n.is(`justify-${t.justify}`,t.justify!=="start"),n.is(`align-${t.align}`,!!t.align)]);return(o,s)=>(S(),ie(ft(e.tag),{class:P(l.value),style:Ye(a.value)},{default:ne(()=>[le(o.$slots,"default")]),_:3},8,["class","style"]))}}),gZ=mZ;const yZ=ct(gZ);var bZ=W({name:"ElCol",__name:"col",props:fZ,setup(e){const t=e,{gutter:n}=De(wC,{gutter:x(()=>0)}),a=ye("col"),l=x(()=>{const s={};return n.value&&(s.paddingLeft=s.paddingRight=`${n.value/2}px`),s}),o=x(()=>{const s=[];return["span","offset","pull","push"].forEach(r=>{const u=t[r];qe(u)&&(r==="span"?s.push(a.b(`${t[r]}`)):u>0&&s.push(a.b(`${r}-${t[r]}`)))}),["xs","sm","md","lg","xl"].forEach(r=>{qe(t[r])?s.push(a.b(`${r}-${t[r]}`)):rt(t[r])&&Object.entries(t[r]).forEach(([u,c])=>{s.push(u!=="span"?a.b(`${r}-${u}-${c}`):a.b(`${r}-${c}`))})}),n.value&&s.push(a.is("guttered")),[a.b(),s]});return(s,r)=>(S(),ie(ft(e.tag),{class:P(o.value),style:Ye(l.value)},{default:ne(()=>[le(s.$slots,"default")]),_:3},8,["class","style"]))}}),wZ=bZ;const CZ=ct(wZ),D3=e=>qe(e)||Ne(e)||ve(e),_Z=ke({accordion:Boolean,modelValue:{type:Y([Array,String,Number]),default:()=>yn([])},expandIconPosition:{type:Y([String]),default:"right"},beforeCollapse:{type:Y(Function)}}),SZ={[it]:D3,[Ct]:D3},CC=Symbol("collapseContextKey"),xZ=ke({title:{type:String,default:""},name:{type:Y([String,Number]),default:void 0},icon:{type:Ut,default:ua},disabled:Boolean});var kZ=W({name:"ElCollapseTransition",__name:"collapse-transition",setup(e){const t=ye("collapse-transition"),n=l=>{l.style.maxHeight="",l.style.overflow=l.dataset.oldOverflow,l.style.paddingTop=l.dataset.oldPaddingTop,l.style.paddingBottom=l.dataset.oldPaddingBottom},a={beforeEnter(l){l.dataset||(l.dataset={}),l.dataset.oldPaddingTop=l.style.paddingTop,l.dataset.oldPaddingBottom=l.style.paddingBottom,l.style.height&&(l.dataset.elExistsHeight=l.style.height),l.style.maxHeight=0,l.style.paddingTop=0,l.style.paddingBottom=0},enter(l){requestAnimationFrame(()=>{l.dataset.oldOverflow=l.style.overflow,l.dataset.elExistsHeight?l.style.maxHeight=l.dataset.elExistsHeight:l.scrollHeight!==0?l.style.maxHeight=`${l.scrollHeight}px`:l.style.maxHeight=0,l.style.paddingTop=l.dataset.oldPaddingTop,l.style.paddingBottom=l.dataset.oldPaddingBottom,l.style.overflow="hidden"})},afterEnter(l){l.style.maxHeight="",l.style.overflow=l.dataset.oldOverflow},enterCancelled(l){n(l)},beforeLeave(l){l.dataset||(l.dataset={}),l.dataset.oldPaddingTop=l.style.paddingTop,l.dataset.oldPaddingBottom=l.style.paddingBottom,l.dataset.oldOverflow=l.style.overflow,l.style.maxHeight=`${l.scrollHeight}px`,l.style.overflow="hidden"},leave(l){l.scrollHeight!==0&&(l.style.maxHeight=0,l.style.paddingTop=0,l.style.paddingBottom=0)},afterLeave(l){n(l)},leaveCancelled(l){n(l)}};return(l,o)=>(S(),ie(Yn,vt({name:i(t).b()},tv(a)),{default:ne(()=>[le(l.$slots,"default")]),_:3},16,["name"]))}}),EZ=kZ;const G0=ct(EZ),H3="ElCollapse",TZ=(e,t)=>{const n=B(Wn(e.modelValue)),a=s=>{n.value=s;const r=e.accordion?n.value[0]:n.value;t(it,r),t(Ct,r)},l=s=>{if(e.accordion)a([n.value[0]===s?"":s]);else{const r=[...n.value],u=r.indexOf(s);u>-1?r.splice(u,1):r.push(s),a(r)}},o=async s=>{const{beforeCollapse:r}=e;if(!r){l(s);return}const u=r(s);[Ho(u),qt(u)].includes(!0)||vn(H3,"beforeCollapse must return type `Promise` or `boolean`"),Ho(u)?u.then(c=>{c!==!1&&l(s)}).catch(c=>{jt(H3,`some error occurred: ${c}`)}):u&&l(s)};return ce(()=>e.modelValue,()=>n.value=Wn(e.modelValue),{deep:!0}),Et(CC,{activeNames:n,handleItemClick:o}),{activeNames:n,setActiveNames:a}},MZ=e=>{const t=ye("collapse");return{rootKls:x(()=>[t.b(),t.b(`icon-position-${e.expandIconPosition}`)])}};var OZ=W({name:"ElCollapse",__name:"collapse",props:_Z,emits:SZ,setup(e,{expose:t,emit:n}){const a=e,{activeNames:l,setActiveNames:o}=TZ(a,n),{rootKls:s}=MZ(a);return t({activeNames:l,setActiveNames:o}),(r,u)=>(S(),A("div",{class:P(i(s))},[le(r.$slots,"default")],2))}}),$Z=OZ;const NZ=e=>{const t=De(CC),{namespace:n}=ye("collapse"),a=B(!1),l=B(!1),o=w1(),s=x(()=>o.current++),r=x(()=>e.name??`${n.value}-id-${o.prefix}-${i(s)}`),u=x(()=>t==null?void 0:t.activeNames.value.includes(i(r)));return{focusing:a,id:s,isActive:u,handleFocus:()=>{setTimeout(()=>{l.value?l.value=!1:a.value=!0},50)},handleHeaderClick:h=>{var m;e.disabled||(m=h.target)!=null&&m.closest("input, textarea, select")||(t==null||t.handleItemClick(i(r)),a.value=!1,l.value=!0)},handleEnterClick:h=>{var m;(m=h.target)!=null&&m.closest("input, textarea, select")||(h.preventDefault(),t==null||t.handleItemClick(i(r)))}}},AZ=(e,{focusing:t,isActive:n,id:a})=>{const l=ye("collapse"),o=x(()=>[l.b("item"),l.is("active",i(n)),l.is("disabled",e.disabled)]),s=x(()=>[l.be("item","header"),l.is("active",i(n)),{focusing:i(t)&&!e.disabled}]),r=x(()=>[l.be("item","arrow"),l.is("active",i(n))]);return{itemTitleKls:x(()=>[l.be("item","title")]),arrowKls:r,headKls:s,rootKls:o,itemWrapperKls:x(()=>l.be("item","wrap")),itemContentKls:x(()=>l.be("item","content")),scopedContentId:x(()=>l.b(`content-${i(a)}`)),scopedHeadId:x(()=>l.b(`head-${i(a)}`))}},IZ=["id","aria-expanded","aria-controls","aria-describedby","tabindex","aria-disabled"],PZ=["id","aria-hidden","aria-labelledby"];var RZ=W({name:"ElCollapseItem",__name:"collapse-item",props:xZ,setup(e,{expose:t}){const n=e,{focusing:a,id:l,isActive:o,handleFocus:s,handleHeaderClick:r,handleEnterClick:u}=NZ(n),{arrowKls:c,headKls:d,rootKls:f,itemTitleKls:h,itemWrapperKls:m,itemContentKls:v,scopedContentId:p,scopedHeadId:g}=AZ(n,{focusing:a,isActive:o,id:l});return t({isActive:o}),(y,b)=>(S(),A("div",{class:P(i(f))},[$("div",{id:i(g),class:P(i(d)),"aria-expanded":i(o),"aria-controls":i(p),"aria-describedby":i(p),tabindex:e.disabled?void 0:0,"aria-disabled":e.disabled,role:"button",onClick:b[0]||(b[0]=(...C)=>i(r)&&i(r)(...C)),onKeydown:b[1]||(b[1]=un(Qe((...C)=>i(u)&&i(u)(...C),["stop"]),["space","enter"])),onFocus:b[2]||(b[2]=(...C)=>i(s)&&i(s)(...C)),onBlur:b[3]||(b[3]=C=>a.value=!1)},[$("span",{class:P(i(h))},[le(y.$slots,"title",{isActive:i(o)},()=>[bt(Se(e.title),1)])],2),le(y.$slots,"icon",{isActive:i(o)},()=>[G(i(Be),{class:P(i(c))},{default:ne(()=>[(S(),ie(ft(e.icon)))]),_:1},8,["class"])])],42,IZ),G(i(G0),null,{default:ne(()=>[ht($("div",{id:i(p),role:"region",class:P(i(m)),"aria-hidden":!i(o),"aria-labelledby":i(g)},[$("div",{class:P(i(v))},[le(y.$slots,"default")],2)],10,PZ),[[It,i(o)]])]),_:3})],2))}}),_C=RZ;const VZ=ct($Z,{CollapseItem:_C}),LZ=mn(_C),SC=ke({modelValue:{type:Y(String),default:void 0},border:{type:Boolean,default:!0},showAlpha:Boolean,colorFormat:{type:Y(String)},disabled:Boolean,predefine:{type:Y(Array)},validateEvent:{type:Boolean,default:!0},hueSliderClass:{type:Y([String,Array,Object,Boolean]),default:void 0},hueSliderStyle:{type:Y([String,Array,Object,Boolean]),default:void 0}}),BZ={[it]:e=>Ne(e)||_n(e)},xC=Symbol("colorCommonPickerKey"),kC=Symbol("colorPickerPanelContextKey"),EC=ke({color:{type:Y(Object),required:!0},vertical:Boolean,disabled:Boolean}),zZ=EC,F3=e=>{let t=0,n=e;for(;n;)t+=n.offsetTop,n=n.offsetParent;return t},m2=(e,t)=>Math.abs(F3(e)-F3(t)),Hf=e=>{let t,n;return e.type==="touchend"?(n=e.changedTouches[0].clientY,t=e.changedTouches[0].clientX):e.type.startsWith("touch")?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}};let Dp=!1;function g2(e,t){if(!Bt)return;const n=function(o){var s;(s=t.drag)==null||s.call(t,o)},a=function(o){var s;document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",a),document.removeEventListener("touchmove",n),document.removeEventListener("touchend",a),document.onselectstart=null,document.ondragstart=null,Dp=!1,(s=t.end)==null||s.call(t,o)},l=function(o){var s;Dp||(document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",n),document.addEventListener("mouseup",a),document.addEventListener("touchmove",n),document.addEventListener("touchend",a),Dp=!0,(s=t.start)==null||s.call(t,o))};e.addEventListener("mousedown",l),e.addEventListener("touchstart",l,{passive:!1})}const TC=(e,{key:t,minValue:n,maxValue:a})=>{const l=st(),o=kt(),s=kt(),r=x(()=>e.color.get(t));function u(h){var m;e.disabled||(h.target!==o.value&&c(h),(m=o.value)==null||m.focus())}function c(h){if(!s.value||!o.value||e.disabled)return;const m=l.vnode.el.getBoundingClientRect(),{clientX:v,clientY:p}=Hf(h);let g;if(e.vertical){let y=p-m.top;y=Math.max(o.value.offsetHeight/2,y),y=Math.min(y,m.height-o.value.offsetHeight/2),g=Math.round((y-o.value.offsetHeight/2)/(m.height-o.value.offsetHeight)*a)}else{let y=v-m.left;y=Math.max(o.value.offsetWidth/2,y),y=Math.min(y,m.width-o.value.offsetWidth/2),g=Math.round((y-o.value.offsetWidth/2)/(m.width-o.value.offsetWidth)*a)}e.color.set(t,g)}function d(h){if(e.disabled)return;const{shiftKey:m}=h,v=Xt(h),p=m?10:1,g=t==="hue"?-1:1;let y=!0;switch(v){case Ce.left:case Ce.down:f(-p*g);break;case Ce.right:case Ce.up:f(p*g);break;case Ce.home:e.color.set(t,t==="hue"?a:n);break;case Ce.end:e.color.set(t,t==="hue"?n:a);break;case Ce.pageDown:f(-4*g);break;case Ce.pageUp:f(4*g);break;default:y=!1;break}y&&h.preventDefault()}function f(h){let m=r.value+h;m=ma?a:m,e.color.set(t,m)}return{thumb:o,bar:s,currentValue:r,handleDrag:c,handleClick:u,handleKeydown:d}},MC=(e,{namespace:t,maxValue:n,bar:a,thumb:l,currentValue:o,handleDrag:s,getBackground:r})=>{const u=st(),c=ye(t),d=B(0),f=B(0),h=B();function m(){if(!l.value||e.vertical)return 0;const C=u.vnode.el,w=o.value;return C?Math.round(w*(C.offsetWidth-l.value.offsetWidth/2)/n):0}function v(){if(!l.value)return 0;const C=u.vnode.el;if(!e.vertical)return 0;const w=o.value;return C?Math.round(w*(C.offsetHeight-l.value.offsetHeight/2)/n):0}function p(){d.value=m(),f.value=v(),h.value=r==null?void 0:r()}mt(()=>{if(!a.value||!l.value)return;const C={drag:w=>{s(w)},end:w=>{s(w)}};g2(a.value,C),g2(l.value,C),p()}),ce(o,()=>p()),ce(()=>e.color.value,()=>p());const g=x(()=>[c.b(),c.is("vertical",e.vertical),c.is("disabled",e.disabled)]),y=x(()=>c.e("bar")),b=x(()=>c.e("thumb"));return{rootKls:g,barKls:y,barStyle:x(()=>({background:h.value})),thumbKls:b,thumbStyle:x(()=>({left:bn(d.value),top:bn(f.value)})),thumbLeft:d,thumbTop:f,update:p}},DZ=["aria-label","aria-valuenow","aria-valuetext","aria-orientation","tabindex","aria-disabled"],K3=0,Hp=100;var HZ=W({name:"ElColorAlphaSlider",__name:"alpha-slider",props:EC,setup(e,{expose:t}){const n=e,{currentValue:a,bar:l,thumb:o,handleDrag:s,handleClick:r,handleKeydown:u}=TC(n,{key:"alpha",minValue:K3,maxValue:Hp}),{rootKls:c,barKls:d,barStyle:f,thumbKls:h,thumbStyle:m,update:v}=MC(n,{namespace:"color-alpha-slider",maxValue:Hp,currentValue:a,bar:l,thumb:o,handleDrag:s,getBackground:b}),{t:p}=St(),g=x(()=>p("el.colorpicker.alphaLabel")),y=x(()=>p("el.colorpicker.alphaDescription",{alpha:a.value,color:n.color.value}));function b(){if(n.color&&n.color.value){const{r:C,g:w,b:_}=n.color.toRgb();return`linear-gradient(to right, rgba(${C}, ${w}, ${_}, 0) 0%, rgba(${C}, ${w}, ${_}, 1) 100%)`}return""}return t({update:v,bar:l,thumb:o}),(C,w)=>(S(),A("div",{class:P(i(c))},[$("div",{ref_key:"bar",ref:l,class:P(i(d)),style:Ye(i(f)),onClick:w[0]||(w[0]=(..._)=>i(r)&&i(r)(..._))},null,6),$("div",{ref_key:"thumb",ref:o,class:P(i(h)),style:Ye(i(m)),"aria-label":g.value,"aria-valuenow":i(a),"aria-valuetext":y.value,"aria-orientation":e.vertical?"vertical":"horizontal","aria-valuemin":K3,"aria-valuemax":Hp,role:"slider",tabindex:e.disabled?void 0:0,"aria-disabled":e.disabled,onKeydown:w[1]||(w[1]=(..._)=>i(u)&&i(u)(..._))},null,46,DZ)],2))}}),FZ=HZ;const KZ=["aria-label","aria-valuenow","aria-valuetext","aria-orientation","tabindex","aria-disabled"],W3=0,Fp=360;var WZ=W({name:"ElColorHueSlider",__name:"hue-slider",props:zZ,setup(e,{expose:t}){const n=e,{currentValue:a,bar:l,thumb:o,handleDrag:s,handleClick:r,handleKeydown:u}=TC(n,{key:"hue",minValue:W3,maxValue:Fp}),{rootKls:c,barKls:d,thumbKls:f,thumbStyle:h,thumbTop:m,update:v}=MC(n,{namespace:"color-hue-slider",maxValue:Fp,currentValue:a,bar:l,thumb:o,handleDrag:s}),{t:p}=St(),g=x(()=>p("el.colorpicker.hueLabel")),y=x(()=>p("el.colorpicker.hueDescription",{hue:a.value,color:n.color.value}));return t({bar:l,thumb:o,thumbTop:m,update:v}),(b,C)=>(S(),A("div",{class:P(i(c))},[$("div",{ref_key:"bar",ref:l,class:P(i(d)),onClick:C[0]||(C[0]=(...w)=>i(r)&&i(r)(...w))},null,2),$("div",{ref_key:"thumb",ref:o,class:P(i(f)),style:Ye(i(h)),"aria-label":g.value,"aria-valuenow":i(a),"aria-valuetext":y.value,"aria-orientation":e.vertical?"vertical":"horizontal","aria-valuemin":W3,"aria-valuemax":Fp,role:"slider",tabindex:e.disabled?void 0:0,"aria-disabled":e.disabled,onKeydown:C[1]||(C[1]=(...w)=>i(u)&&i(u)(...w))},null,46,KZ)],2))}}),jZ=WZ;const qZ=ke({colors:{type:Y(Array),required:!0},color:{type:Y(Object),required:!0},enableAlpha:{type:Boolean,required:!0},disabled:Boolean});var Ff=class{constructor(e={}){this._hue=0,this._saturation=100,this._value=100,this._alpha=100,this._tiny=new kn,this._isValid=!1,this.enableAlpha=!1,this.format="",this.value="";for(const t in e)zt(e,t)&&(this[t]=e[t]);e.value?this.fromString(e.value):this.doOnChange()}set(e,t){if(arguments.length===1&&typeof e=="object"){for(const n in e)zt(e,n)&&this.set(n,e[n]);return}this[`_${e}`]=t,this._isValid=!0,this.doOnChange()}get(e){return["hue","saturation","value","alpha"].includes(e)?Math.round(this[`_${e}`]):this[`_${e}`]}toRgb(){return this._isValid?this._tiny.toRgb():{r:255,g:255,b:255,a:0}}fromString(e){const t=new kn(e);if(this._isValid=t.isValid,t.isValid){const{h:n,s:a,v:l,a:o}=t.toHsv();this._hue=n,this._saturation=a*100,this._value=l*100,this._alpha=o*100}else this._hue=0,this._saturation=100,this._value=100,this._alpha=100;this.doOnChange()}clear(){this._isValid=!1,this.value="",this._hue=0,this._saturation=100,this._value=100,this._alpha=100}compare(e){const t=new kn({h:e._hue,s:e._saturation/100,v:e._value/100,a:e._alpha/100});return this._tiny.equals(t)}doOnChange(){const{_hue:e,_saturation:t,_value:n,_alpha:a,format:l,enableAlpha:o}=this;let s=l||(o?"rgb":"hex");l==="hex"&&o&&(s="hex8"),this._tiny=new kn({h:e,s:t/100,v:n/100,a:a/100}),this.value=this._isValid?this._tiny.toString(s):""}};const UZ=e=>{const{currentColor:t}=De(kC),n=B(l(e.colors,e.color));ce(()=>t.value,o=>{const s=new Ff({value:o,enableAlpha:e.enableAlpha});n.value.forEach(r=>{r.selected=s.compare(r)})}),la(()=>{n.value=l(e.colors,e.color)});function a(o){e.color.fromString(e.colors[o])}function l(o,s){return o.map(r=>{const u=new Ff({value:r,enableAlpha:e.enableAlpha});return u.selected=u.compare(s),u})}return{rgbaColors:n,handleSelect:a}},YZ=e=>{const t=ye("color-predefine"),n=x(()=>[t.b(),t.is("disabled",e.disabled)]),a=x(()=>t.e("colors"));function l(o){return[t.e("color-selector"),t.is("alpha",o.get("alpha")<100),{selected:o.selected}]}return{rootKls:n,colorsKls:a,colorSelectorKls:l}},GZ=["disabled","aria-label","onClick"];var XZ=W({name:"ElColorPredefine",__name:"predefine",props:qZ,setup(e){const t=e,{rgbaColors:n,handleSelect:a}=UZ(t),{rootKls:l,colorsKls:o,colorSelectorKls:s}=YZ(t),{t:r}=St(),u=c=>r("el.colorpicker.predefineDescription",{value:c});return(c,d)=>(S(),A("div",{class:P(i(l))},[$("div",{class:P(i(o))},[(S(!0),A(He,null,wt(i(n),(f,h)=>(S(),A("button",{key:e.colors[h],type:"button",disabled:e.disabled,"aria-label":u(f.value),class:P(i(s)(f)),onClick:m=>i(a)(h)},[$("div",{style:Ye({backgroundColor:f.value})},null,4)],10,GZ))),128))],2)],2))}}),JZ=XZ;const ZZ=ke({color:{type:Y(Object),required:!0},disabled:Boolean}),QZ=e=>{const t=st(),n=B(),a=B(0),l=B(0),o=B("hsl(0, 100%, 50%)"),s=x(()=>e.color.get("saturation")),r=x(()=>e.color.get("value")),u=x(()=>e.color.get("hue"));function c(v){var p;e.disabled||(v.target!==n.value&&d(v),(p=n.value)==null||p.focus({preventScroll:!0}))}function d(v){if(e.disabled)return;const p=t.vnode.el.getBoundingClientRect(),{clientX:g,clientY:y}=Hf(v);let b=g-p.left,C=y-p.top;b=Math.max(0,b),b=Math.min(b,p.width),C=Math.max(0,C),C=Math.min(C,p.height),l.value=b,a.value=C,e.color.set({saturation:b/p.width*100,value:100-C/p.height*100})}function f(v){if(e.disabled)return;const{shiftKey:p}=v,g=Xt(v),y=p?10:1;let b=!0;switch(g){case Ce.left:h(-y);break;case Ce.right:h(y);break;case Ce.up:m(y);break;case Ce.down:m(-y);break;default:b=!1;break}b&&v.preventDefault()}function h(v){let p=s.value+v;p=p<0?0:p>100?100:p,e.color.set("saturation",p)}function m(v){let p=r.value+v;p=p<0?0:p>100?100:p,e.color.set("value",p)}return{cursorRef:n,cursorTop:a,cursorLeft:l,background:o,saturation:s,brightness:r,hue:u,handleClick:c,handleDrag:d,handleKeydown:f}},eQ=(e,{cursorTop:t,cursorLeft:n,background:a,handleDrag:l})=>{const o=st(),s=ye("color-svpanel");function r(){const u=e.color.get("saturation"),c=e.color.get("value"),{clientWidth:d,clientHeight:f}=o.vnode.el;n.value=u*d/100,t.value=(100-c)*f/100,a.value=`hsl(${e.color.get("hue")}, 100%, 50%)`}return mt(()=>{g2(o.vnode.el,{drag:u=>{l(u)},end:u=>{l(u)}}),r()}),ce([()=>e.color.get("hue"),()=>e.color.get("value"),()=>e.color.value],()=>r()),{rootKls:x(()=>s.b()),cursorKls:x(()=>s.e("cursor")),rootStyle:x(()=>({backgroundColor:a.value})),cursorStyle:x(()=>({top:bn(t.value),left:bn(n.value)})),update:r}},tQ=["tabindex","aria-disabled","aria-label","aria-valuenow","aria-valuetext"];var nQ=W({name:"ElSvPanel",__name:"sv-panel",props:ZZ,setup(e,{expose:t}){const n=e,{cursorRef:a,cursorTop:l,cursorLeft:o,background:s,saturation:r,brightness:u,handleClick:c,handleDrag:d,handleKeydown:f}=QZ(n),{rootKls:h,cursorKls:m,rootStyle:v,cursorStyle:p,update:g}=eQ(n,{cursorTop:l,cursorLeft:o,background:s,handleDrag:d}),{t:y}=St(),b=x(()=>y("el.colorpicker.svLabel")),C=x(()=>y("el.colorpicker.svDescription",{saturation:r.value,brightness:u.value,color:n.color.value}));return t({update:g}),(w,_)=>(S(),A("div",{class:P(i(h)),style:Ye(i(v)),onClick:_[1]||(_[1]=(...k)=>i(c)&&i(c)(...k))},[$("div",{ref_key:"cursorRef",ref:a,class:P(i(m)),style:Ye(i(p)),tabindex:e.disabled?void 0:0,"aria-disabled":e.disabled,role:"slider","aria-valuemin":"0,0","aria-valuemax":"100,100","aria-label":b.value,"aria-valuenow":`${i(r)},${i(u)}`,"aria-valuetext":C.value,onKeydown:_[0]||(_[0]=(...k)=>i(f)&&i(f)(...k))},null,46,tQ)],6))}}),aQ=nQ;const OC=(e,t)=>{const n=Dt(new Ff({enableAlpha:e.showAlpha,format:e.colorFormat||"",value:e.modelValue}));return ce(()=>[e.colorFormat,e.showAlpha],()=>{n.enableAlpha=e.showAlpha,n.format=e.colorFormat||n.format,n.doOnChange(),t(it,n.value)}),{color:n}};var lQ=W({name:"ElColorPickerPanel",__name:"color-picker-panel",props:SC,emits:BZ,setup(e,{expose:t,emit:n}){const a=e,l=n,o=ye("color-picker-panel"),{formItem:s}=Xn(),r=hn(),u=B(),c=B(),d=B(),f=B(),h=B(""),{color:m}=De(xC,()=>OC(a,l),!0);function v(){m.fromString(h.value),m.value!==h.value&&(h.value=m.value)}function p(){var y;a.validateEvent&&((y=s==null?void 0:s.validate)==null||y.call(s,"blur").catch(ut))}function g(){var y,b,C;(y=u.value)==null||y.update(),(b=c.value)==null||b.update(),(C=d.value)==null||C.update()}return mt(()=>{a.modelValue&&(h.value=m.value),Pe(g)}),ce(()=>a.modelValue,y=>{y!==m.value&&(y?m.fromString(y):m.clear())}),ce(()=>m.value,y=>{l(it,y),h.value=y,a.validateEvent&&(s==null||s.validate("change").catch(ut))}),Et(kC,{currentColor:x(()=>m.value)}),t({color:m,inputRef:f,update:g}),(y,b)=>(S(),A("div",{class:P([i(o).b(),i(o).is("disabled",i(r)),i(o).is("border",e.border)]),onFocusout:p},[$("div",{class:P(i(o).e("wrapper"))},[G(jZ,{ref_key:"hueRef",ref:u,color:i(m),vertical:"",disabled:i(r),class:P(["hue-slider",e.hueSliderClass]),style:Ye(e.hueSliderStyle)},null,8,["color","disabled","class","style"]),G(aQ,{ref_key:"svRef",ref:c,color:i(m),disabled:i(r)},null,8,["color","disabled"])],2),e.showAlpha?(S(),ie(FZ,{key:0,ref_key:"alphaRef",ref:d,color:i(m),disabled:i(r)},null,8,["color","disabled"])):oe("v-if",!0),e.predefine?(S(),ie(JZ,{key:1,ref:"predefine","enable-alpha":e.showAlpha,color:i(m),colors:e.predefine,disabled:i(r)},null,8,["enable-alpha","color","colors","disabled"])):oe("v-if",!0),$("div",{class:P(i(o).e("footer"))},[G(i(aa),{ref_key:"inputRef",ref:f,modelValue:h.value,"onUpdate:modelValue":b[0]||(b[0]=C=>h.value=C),"validate-event":!1,size:"small",disabled:i(r),onChange:v},null,8,["modelValue","disabled"]),le(y.$slots,"footer")],2)],34))}}),oQ=lQ;const $C=ct(oQ),sQ=ke({persistent:{type:Boolean,default:!0},modelValue:{type:Y(String),default:void 0},id:String,showAlpha:Boolean,colorFormat:{type:Y(String)},disabled:{type:Boolean,default:void 0},clearable:{type:Boolean,default:!0},size:zn,popperClass:on.popperClass,popperStyle:on.popperStyle,tabindex:{type:[String,Number],default:0},teleported:on.teleported,appendTo:on.appendTo,predefine:{type:Y(Array)},validateEvent:{type:Boolean,default:!0},...$r,...xa(["ariaLabel"])}),rQ={[it]:e=>Ne(e)||_n(e),[Ct]:e=>Ne(e)||_n(e),activeChange:e=>Ne(e)||_n(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0},iQ=["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex"];var uQ=W({name:"ElColorPicker",__name:"color-picker",props:sQ,emits:rQ,setup(e,{expose:t,emit:n}){const a=e,l=n,{t:o}=St(),s=ye("color"),{formItem:r}=Xn(),u=Pn(),c=hn(),{valueOnClear:d,isEmptyValue:f}=Bc(a,null),h=OC(a,l),{inputId:m,isLabeledByFormItem:v}=Ua(a,{formItemContext:r}),p=B(),g=B(),y=B(),b=B(!1),C=B(!1);let w=!0;const{isFocused:_,handleFocus:k,handleBlur:M}=Jo(g,{disabled:c,beforeBlur(X){var Z;return(Z=p.value)==null?void 0:Z.isFocusInsideContent(X)},afterBlur(){var X;z(!1),D(),a.validateEvent&&((X=r==null?void 0:r.validate)==null||X.call(r,"blur").catch(ut))}}),E=vT(()=>{var X;return((X=y.value)==null?void 0:X.color)??h.color}),T=x(()=>fo(a,Object.keys(SC))),O=x(()=>!a.modelValue&&!C.value?"transparent":H(E,a.showAlpha)),I=x(()=>!a.modelValue&&!C.value?"":E.value),N=x(()=>v.value?void 0:a.ariaLabel||o("el.colorpicker.defaultLabel")),R=x(()=>v.value?r==null?void 0:r.labelId:void 0),K=x(()=>[s.b("picker"),s.is("disabled",c.value),s.bm("picker",u.value),s.is("focused",_.value)]);function H(X,Z){const{r:re,g:U,b:J,a:se}=X.toRgb();return Z?`rgba(${re}, ${U}, ${J}, ${se})`:`rgb(${re}, ${U}, ${J})`}function z(X){b.value=X}const V=co(z,100,{leading:!0});function L(){c.value||z(!0)}function F(){V(!1),D()}function D(){Pe(()=>{a.modelValue?E.fromString(a.modelValue):(E.value="",Pe(()=>{C.value=!1}))})}function j(){c.value||(b.value&&D(),V(!b.value))}function q(){const X=f(E.value)?d.value:E.value;l(it,X),l(Ct,X),a.validateEvent&&(r==null||r.validate("change").catch(ut)),V(!1),Pe(()=>{const Z=new Ff({enableAlpha:a.showAlpha,format:a.colorFormat||"",value:a.modelValue});E.compare(Z)||D()})}function Q(){V(!1),l(it,d.value),l(Ct,d.value),a.modelValue!==d.value&&a.validateEvent&&(r==null||r.validate("change").catch(ut)),D(),l("clear")}function ee(){var X,Z;(Z=(X=y==null?void 0:y.value)==null?void 0:X.inputRef)==null||Z.focus()}function te(){b.value&&(F(),_.value&&pe())}function ae(X){X.preventDefault(),X.stopPropagation(),z(!1),D()}function ue(X){switch(Xt(X)){case Ce.enter:case Ce.numpadEnter:case Ce.space:X.preventDefault(),X.stopPropagation(),L();break;case Ce.esc:ae(X);break}}function pe(){g.value.focus()}function ge(){g.value.blur()}return ce(()=>I.value,X=>{w&&l("activeChange",X),w=!0}),ce(()=>E.value,()=>{!a.modelValue&&!C.value&&(C.value=!0)}),ce(()=>a.modelValue,X=>{X?X&&X!==E.value&&(w=!1,E.fromString(X)):C.value=!1}),ce(()=>b.value,()=>{y.value&&Pe(y.value.update)}),Et(xC,h),t({color:E,show:L,hide:F,focus:pe,blur:ge}),(X,Z)=>(S(),ie(i(Gn),{ref_key:"popper",ref:p,visible:b.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[i(s).be("picker","panel"),e.popperClass],"popper-style":e.popperStyle,"stop-popper-mouse-event":!1,pure:"",loop:"",role:"dialog",effect:"light",trigger:"click",teleported:e.teleported,transition:`${i(s).namespace.value}-zoom-in-top`,persistent:e.persistent,"append-to":e.appendTo,onShow:ee,onHide:Z[2]||(Z[2]=re=>z(!1))},{content:ne(()=>[ht((S(),ie(i($C),vt({ref_key:"pickerPanelRef",ref:y},T.value,{border:!1,"validate-event":!1,onKeydown:un(ae,["esc"])}),{footer:ne(()=>[$("div",null,[e.clearable?(S(),ie(i(Un),{key:0,class:P(i(s).be("footer","link-btn")),text:"",size:"small",onClick:Q},{default:ne(()=>[bt(Se(i(o)("el.colorpicker.clear")),1)]),_:1},8,["class"])):oe("v-if",!0),G(i(Un),{plain:"",size:"small",class:P(i(s).be("footer","btn")),onClick:q},{default:ne(()=>[bt(Se(i(o)("el.colorpicker.confirm")),1)]),_:1},8,["class"])])]),_:1},16)),[[i(Ts),te,g.value]])]),default:ne(()=>[$("div",vt({id:i(m),ref_key:"triggerRef",ref:g},X.$attrs,{class:K.value,role:"button","aria-label":N.value,"aria-labelledby":R.value,"aria-description":i(o)("el.colorpicker.description",{color:e.modelValue||""}),"aria-disabled":i(c),tabindex:i(c)?void 0:e.tabindex,onKeydown:ue,onFocus:Z[0]||(Z[0]=(...re)=>i(k)&&i(k)(...re)),onBlur:Z[1]||(Z[1]=(...re)=>i(M)&&i(M)(...re))}),[$("div",{class:P(i(s).be("picker","trigger")),onClick:j},[$("span",{class:P([i(s).be("picker","color"),i(s).is("alpha",e.showAlpha)])},[$("span",{class:P(i(s).be("picker","color-inner")),style:Ye({backgroundColor:O.value})},[ht(G(i(Be),{class:P([i(s).be("picker","icon"),i(s).is("icon-arrow-down")])},{default:ne(()=>[G(i(jl))]),_:1},8,["class"]),[[It,e.modelValue||C.value]]),ht(G(i(Be),{class:P([i(s).be("picker","empty"),i(s).is("icon-close")])},{default:ne(()=>[G(i(ll))]),_:1},8,["class"]),[[It,!e.modelValue&&!C.value]])],6)],2)],2)],16,iQ)]),_:1},8,["visible","popper-class","popper-style","teleported","transition","persistent","append-to"]))}}),cQ=uQ;const dQ=ct(cQ);var fQ=W({name:"ElContainer",__name:"container",props:{direction:{type:String,required:!1}},setup(e){const t=e,n=wn(),a=ye("container"),l=x(()=>t.direction==="vertical"?!0:t.direction==="horizontal"?!1:n&&n.default?n.default().some(o=>{const s=o.type.name;return s==="ElHeader"||s==="ElFooter"}):!1);return(o,s)=>(S(),A("section",{class:P([i(a).b(),i(a).is("vertical",l.value)])},[le(o.$slots,"default")],2))}}),pQ=fQ,hQ=W({name:"ElAside",__name:"aside",props:{width:{type:[String,null],required:!1,default:null}},setup(e){const t=e,n=ye("aside"),a=x(()=>t.width?n.cssVarBlock({width:t.width}):{});return(l,o)=>(S(),A("aside",{class:P(i(n).b()),style:Ye(a.value)},[le(l.$slots,"default")],6))}}),NC=hQ,vQ=W({name:"ElFooter",__name:"footer",props:{height:{type:[String,null],required:!1,default:null}},setup(e){const t=e,n=ye("footer"),a=x(()=>t.height?n.cssVarBlock({height:t.height}):{});return(l,o)=>(S(),A("footer",{class:P(i(n).b()),style:Ye(a.value)},[le(l.$slots,"default")],6))}}),AC=vQ,mQ=W({name:"ElHeader",__name:"header",props:{height:{type:[String,null],required:!1,default:null}},setup(e){const t=e,n=ye("header"),a=x(()=>t.height?n.cssVarBlock({height:t.height}):{});return(l,o)=>(S(),A("header",{class:P(i(n).b()),style:Ye(a.value)},[le(l.$slots,"default")],6))}}),IC=mQ,gQ=W({name:"ElMain",__name:"main",setup(e){const t=ye("main");return(n,a)=>(S(),A("main",{class:P(i(t).b())},[le(n.$slots,"default")],2))}}),PC=gQ;const yQ=ct(pQ,{Aside:NC,Footer:AC,Header:IC,Main:PC}),bQ=mn(NC),wQ=mn(AC),CQ=mn(IC),_Q=mn(PC),SQ=ke({valueFormat:String,dateFormat:String,timeFormat:String,disabled:{type:Boolean,default:void 0},modelValue:{type:Y([Date,Array,String,Number]),default:""},defaultValue:{type:Y([Date,Array])},defaultTime:{type:Y([Date,Array])},isRange:Boolean,...D1,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,unlinkPanels:Boolean,showNow:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:Boolean,showWeekNumber:Boolean,type:{type:Y(String),default:"date"},clearable:{type:Boolean,default:!0},border:{type:Boolean,default:!0},editable:{type:Boolean,default:!0}}),X1=Symbol("rootPickerContextKey"),xQ=["date","dates","year","years","month","months","week","quarter","quarters","range"],X0=ke({cellClassName:{type:Y(Function)},disabledDate:{type:Y(Function)},date:{type:Y(Object),required:!0},minDate:{type:Y(Object)},maxDate:{type:Y(Object)},parsedValue:{type:Y([Object,Array])},rangeState:{type:Y(Object),default:()=>({endDate:null,selecting:!1})},disabled:Boolean}),RC=ke({type:{type:Y(String),required:!0,values:oT},dateFormat:String,timeFormat:String,showNow:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:{type:Boolean,default:!0},showWeekNumber:Boolean,border:Boolean,disabled:Boolean,editable:{type:Boolean,default:!0}}),J0=ke({unlinkPanels:Boolean,visible:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:{type:Boolean,default:!0},border:Boolean,disabled:Boolean,parsedValue:{type:Y(Array)},singlePanel:Boolean}),Z0=e=>({type:String,values:xQ,default:e}),kQ=ke({...RC,parsedValue:{type:Y([Object,Array])},visible:{type:Boolean,default:!0},format:{type:String,default:""}}),Ni=e=>{if(!ve(e))return!1;const[t,n]=e;return et.isDayjs(t)&&et.isDayjs(n)&&et(t).isValid()&&et(n).isValid()&&t.isSameOrBefore(n)},jc=(e,{lang:t,step:n=1,unit:a,unlinkPanels:l})=>{let o;if(ve(e)){let[s,r]=e.map(u=>et(u).locale(t));return l||(r=s.add(n,a)),[s,r]}else e?o=et(e):o=et();return o=o.locale(t),[o,o.add(n,a)]},EQ=(e,t,{columnIndexOffset:n,startDate:a,nextEndDate:l,now:o,unit:s,relativeDateGetter:r,setCellMetadata:u,setRowMetadata:c})=>{for(let d=0;d{const l=et().locale(a).startOf("month").month(n).year(t).hour(e.hour()).minute(e.minute()).second(e.second());return _s(l.daysInMonth()).map(o=>l.add(o,"day").toDate())},VC=(e,t,n,a)=>{const l=n*3;return[0,1,2].reduce((o,s)=>o.concat(Ai(e,t,l+s,a)),[])},ic=(e,t,n)=>n?VC(e,e.year(),e.quarter()-1,t).every(n):!1,TQ=(e,t,n)=>(n?!n(e.toDate()):!0)&&!ic(e,t,n),yr=(e,t,n,a,l)=>{const o=et().year(t).month(n).startOf("month").hour(e.hour()).minute(e.minute()).second(e.second()),s=Ai(e,t,n,a).find(r=>!(l!=null&&l(r)));return s?et(s).locale(a):o.locale(a)},y2=(e,t,n,a,l)=>{const o=n*3;for(let s=0;s<3;s++){const r=o+s;if(!Ai(e,t,r,a).every(u=>l==null?void 0:l(u)))return yr(e,t,r,a,l)}return et().year(t).month(o).startOf("month").hour(e.hour()).minute(e.minute()).second(e.second()).locale(a)},J1=(e,t,n)=>!et.isDayjs(e)||!e.isValid()?e:y2(e.startOf("day"),e.year(),e.quarter()-1,t,n),Kf=(e,t,n)=>{const a=e.year();if(!(n!=null&&n(e.toDate())))return e.locale(t);const l=e.month();if(!Ai(e,a,l,t).every(n))return yr(e,a,l,t,n);for(let o=0;o<12;o++)if(!Ai(e,a,o,t).every(n))return yr(e,a,o,t,n);return e},br=(e,t,n)=>{if(ve(e))return e.map(a=>br(a,t,n));if(Ne(e)){let a=et(e,t);if(a.isValid()||(a=et(e)),!a.isValid())return a;const l=a.format(t);return et(l,t,!0).isValid()?et(l,t).locale(n):et("")}return et(e,t).locale(n)},MQ=ke({...X0,showWeekNumber:Boolean,selectionMode:Z0("date")}),OQ=["changerange","pick","select"],Wf=(e="")=>["normal","today"].includes(e),$Q=(e,t)=>{const{lang:n}=St(),a=B(),l=B(),o=B(),s=B(),r=B([[],[],[],[],[],[]]);let u=!1;const c=e.date.$locale().weekStart||7,d=e.date.locale("en").localeData().weekdaysShort().map(F=>F.toLowerCase()),f=x(()=>c>3?7-c:-c),h=x(()=>{const F=e.date.startOf("month");return F.subtract(F.day()||7,"day")}),m=x(()=>d.concat(d).slice(c,c+7)),v=x(()=>Sf(i(w)).some(F=>F.isCurrent)),p=x(()=>{const F=e.date.startOf("month");return{startOfMonthDay:F.day()||7,dateCountOfMonth:F.daysInMonth(),dateCountOfLastMonth:F.subtract(1,"month").daysInMonth()}}),g=x(()=>e.selectionMode==="dates"?jn(e.parsedValue):[]),y=(F,{count:D,rowIndex:j,columnIndex:q})=>{const{startOfMonthDay:Q,dateCountOfMonth:ee,dateCountOfLastMonth:te}=i(p),ae=i(f);if(j>=0&&j<=1){const ue=Q+ae<0?7+Q+ae:Q+ae;if(q+j*7>=ue)return F.text=D,!0;F.text=te-(ue-q%7)+1+j*7,F.type="prev-month"}else return D<=ee?F.text=D:(F.text=D-ee,F.type="next-month"),!0;return!1},b=(F,{columnIndex:D,rowIndex:j},q)=>{const{disabledDate:Q,cellClassName:ee}=e,te=i(g),ae=y(F,{count:q,rowIndex:j,columnIndex:D}),ue=F.dayjs.toDate();return F.selected=te.find(pe=>pe.isSame(F.dayjs,"day")),F.isSelected=!!F.selected,F.isCurrent=k(F),F.disabled=Q==null?void 0:Q(ue),F.customClass=ee==null?void 0:ee(ue),ae},C=F=>{if(e.selectionMode==="week"){const[D,j]=e.showWeekNumber?[1,7]:[0,6],q=L(F[D+1]);F[D].inRange=q,F[D].start=q,F[j].inRange=q,F[j].end=q}},w=x(()=>{const{minDate:F,maxDate:D,rangeState:j,showWeekNumber:q}=e,Q=i(f),ee=i(r),te="day";let ae=1;if(EQ({row:6,column:7},ee,{startDate:F,columnIndexOffset:q?1:0,nextEndDate:j.endDate||D||j.selecting&&F||null,now:et().locale(i(n)).startOf(te),unit:te,relativeDateGetter:ue=>i(h).add(ue-Q,te),setCellMetadata:(...ue)=>{b(...ue,ae)&&(ae+=1)},setRowMetadata:C}),q)for(let ue=0;ue<6;ue++)ee[ue][1].dayjs&&(ee[ue][0]={type:"week",text:ee[ue][1].dayjs.week()});return ee});ce(()=>e.date,async()=>{var F;(F=i(a))!=null&&F.contains(document.activeElement)&&(await Pe(),await _())});const _=async()=>{var F;return(F=i(l))==null?void 0:F.focus()},k=F=>e.selectionMode==="date"&&Wf(F.type)&&M(F,e.parsedValue),M=(F,D)=>D?et(D).locale(i(n)).isSame(e.date.date(Number(F.text)),"day"):!1,E=(F,D)=>{const j=i(p).startOfMonthDay,q=i(f),Q=j+q<0?7+j+q:j+q,ee=F*7+(D-(e.showWeekNumber?1:0));return e.date.startOf("month").subtract(Q,"day").add(ee,"day")},T=F=>{var Q;if(!e.rangeState.selecting)return;let D=F.target;if(D.tagName==="SPAN"&&(D=(Q=D.parentNode)==null?void 0:Q.parentNode),D.tagName==="DIV"&&(D=D.parentNode),D.tagName!=="TD")return;const j=D.parentNode.rowIndex-1,q=D.cellIndex;i(w)[j][q].disabled||(j!==i(o)||q!==i(s))&&(o.value=j,s.value=q,t("changerange",{selecting:!0,endDate:E(j,q)}))},O=F=>!i(v)&&(F==null?void 0:F.text)===1&&Wf(F.type)||F.isCurrent,I=F=>{u||i(v)||e.selectionMode!=="date"||V(F,!0)},N=F=>{F.target.closest("td")&&(u=!0)},R=F=>{F.target.closest("td")&&(u=!1)},K=F=>{!e.rangeState.selecting||!e.minDate?(t("pick",{minDate:F,maxDate:null}),t("select",!0)):(F>=e.minDate?t("pick",{minDate:e.minDate,maxDate:F}):t("pick",{minDate:F,maxDate:e.minDate}),t("select",!1))},H=F=>{const D=F.week(),j=`${F.year()}w${D}`;t("pick",{year:F.year(),week:D,value:j,date:F.startOf("week")})},z=(F,D)=>{t("pick",D?jn(e.parsedValue).filter(j=>(j==null?void 0:j.valueOf())!==F.valueOf()):jn(e.parsedValue).concat([F]))},V=(F,D=!1)=>{if(e.disabled)return;const j=F.target.closest("td");if(!j)return;const q=j.parentNode.rowIndex-1,Q=j.cellIndex,ee=i(w)[q][Q];if(ee.disabled||ee.type==="week")return;const te=E(q,Q);switch(e.selectionMode){case"range":K(te);break;case"date":t("pick",te,D);break;case"week":H(te);break;case"dates":z(te,!!ee.selected);break}},L=F=>{if(e.selectionMode!=="week")return!1;let D=e.date.startOf("day");if(F.type==="prev-month"&&(D=D.subtract(1,"month")),F.type==="next-month"&&(D=D.add(1,"month")),D=D.date(Number.parseInt(F.text,10)),e.parsedValue&&!ve(e.parsedValue)){const j=(e.parsedValue.day()-c+7)%7-1;return e.parsedValue.subtract(j,"day").isSame(D,"day")}return!1};return{WEEKS:m,rows:w,tbodyRef:a,currentCellRef:l,focus:_,isCurrent:k,isWeekActive:L,isSelectedCell:O,handlePickDate:V,handleMouseUp:R,handleMouseDown:N,handleMouseMove:T,handleFocus:I}},NQ=(e,{isCurrent:t,isWeekActive:n})=>{const a=ye("date-table"),{t:l}=St(),o=x(()=>[a.b(),a.is("week-mode",e.selectionMode==="week"&&!e.disabled)]),s=x(()=>l("el.datepicker.dateTablePrompt")),r=c=>{const d=[];return Wf(c.type)&&!c.disabled?(d.push("available"),c.type==="today"&&d.push("today")):d.push(c.type),t(c)&&d.push("current"),c.inRange&&(Wf(c.type)||e.selectionMode==="week")&&(d.push("in-range"),c.start&&d.push("start-date"),c.end&&d.push("end-date")),(c.disabled||e.disabled)&&d.push("disabled"),c.selected&&d.push("selected"),c.customClass&&d.push(c.customClass),d.join(" ")},u=c=>[a.e("row"),{current:n(c)}];return{tableKls:o,tableLabel:s,weekHeaderClass:a.e("week-header"),getCellClasses:r,getRowKls:u,t:l}},AQ=ke({cell:{type:Y(Object)}});var Q0=W({name:"ElDatePickerCell",props:AQ,setup(e){const t=ye("date-table-cell"),{slots:n}=De(X1);return()=>{const{cell:a}=e;return le(n,"default",{...a},()=>[G("div",{class:t.b()},[G("span",{class:t.e("text")},[(a==null?void 0:a.renderText)??(a==null?void 0:a.text)])])])}}});const IQ=["aria-label"],PQ=["aria-label"],RQ=["aria-current","aria-selected","tabindex","aria-disabled"];var VQ=W({__name:"basic-date-table",props:MQ,emits:OQ,setup(e,{expose:t,emit:n}){const a=e,{WEEKS:l,rows:o,tbodyRef:s,currentCellRef:r,focus:u,isCurrent:c,isWeekActive:d,isSelectedCell:f,handlePickDate:h,handleMouseUp:m,handleMouseDown:v,handleMouseMove:p,handleFocus:g}=$Q(a,n),{tableLabel:y,tableKls:b,getCellClasses:C,getRowKls:w,weekHeaderClass:_,t:k}=NQ(a,{isCurrent:c,isWeekActive:d});let M=!1;return Ht(()=>{M=!0}),t({focus:u}),(E,T)=>(S(),A("table",{"aria-label":i(y),class:P(i(b)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:T[1]||(T[1]=(...O)=>i(h)&&i(h)(...O)),onMousemove:T[2]||(T[2]=(...O)=>i(p)&&i(p)(...O)),onMousedown:T[3]||(T[3]=(...O)=>i(v)&&i(v)(...O)),onMouseup:T[4]||(T[4]=(...O)=>i(m)&&i(m)(...O))},[$("tbody",{ref_key:"tbodyRef",ref:s},[$("tr",null,[E.showWeekNumber?(S(),A("th",{key:0,scope:"col",class:P(i(_))},null,2)):oe("v-if",!0),(S(!0),A(He,null,wt(i(l),(O,I)=>(S(),A("th",{key:I,"aria-label":i(k)("el.datepicker.weeksFull."+O),scope:"col"},Se(i(k)("el.datepicker.weeks."+O)),9,PQ))),128))]),(S(!0),A(He,null,wt(i(o),(O,I)=>(S(),A("tr",{key:I,class:P(i(w)(E.showWeekNumber?O[2]:O[1]))},[(S(!0),A(He,null,wt(O,(N,R)=>(S(),A("td",{key:`${I}.${R}`,ref_for:!0,ref:K=>!i(M)&&i(f)(N)&&(r.value=K),class:P(i(C)(N)),"aria-current":N.isCurrent?"date":void 0,"aria-selected":N.isCurrent,tabindex:E.disabled?void 0:i(f)(N)?0:-1,"aria-disabled":E.disabled,onFocus:T[0]||(T[0]=(...K)=>i(g)&&i(g)(...K))},[G(i(Q0),{cell:N},null,8,["cell"])],42,RQ))),128))],2))),128))],512)],42,IQ))}}),b2=VQ;const LQ=ke({...X0,selectionMode:Z0("month")}),BQ=["aria-label"],zQ=["aria-selected","aria-label","tabindex","onKeydown"];var DQ=W({__name:"basic-month-table",props:LQ,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const a=e,l=n,o=ye("month-table"),{t:s,lang:r}=St(),u=B(),c=B(),d=B(a.date.locale("en").localeData().monthsShort().map(w=>w.toLowerCase())),f=B([[],[],[]]),h=B(),m=B(),v=x(()=>{var k,M,E;const w=f.value,_=et().locale(r.value).startOf("month");for(let T=0;T<3;T++){const O=w[T];for(let I=0;I<4;I++){const N=O[I]||(O[I]={row:T,column:I,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1,isSelected:!1,customClass:void 0,date:void 0,dayjs:void 0,isCurrent:void 0,selected:void 0,renderText:void 0,timestamp:void 0});N.type="normal";const R=T*4+I,K=a.date.startOf("year").month(R),H=a.rangeState.endDate||a.maxDate||a.rangeState.selecting&&a.minDate||null;N.inRange=!!(a.minDate&&K.isSameOrAfter(a.minDate,"month")&&H&&K.isSameOrBefore(H,"month"))||!!(a.minDate&&K.isSameOrBefore(a.minDate,"month")&&H&&K.isSameOrAfter(H,"month")),(k=a.minDate)!=null&&k.isSameOrAfter(H)?(N.start=!!(H&&K.isSame(H,"month")),N.end=a.minDate&&K.isSame(a.minDate,"month")):(N.start=!!(a.minDate&&K.isSame(a.minDate,"month")),N.end=!!(H&&K.isSame(H,"month"))),_.isSame(K)&&(N.type="today");const z=K.toDate();N.text=R,N.disabled=((M=a.disabledDate)==null?void 0:M.call(a,z))||!1,N.date=z,N.customClass=(E=a.cellClassName)==null?void 0:E.call(a,z),N.dayjs=K,N.timestamp=K.valueOf(),N.isSelected=y(N)}}return w}),p=()=>{var w;(w=c.value)==null||w.focus()},g=w=>{const _={},k=a.date.year(),M=new Date,E=w.text;return _.disabled=a.disabled||(a.disabledDate?Ai(a.date,k,E,r.value).every(a.disabledDate):!1),_.current=jn(a.parsedValue).some(T=>et.isDayjs(T)&&T.year()===k&&T.month()===E),_.today=M.getFullYear()===k&&M.getMonth()===E,w.customClass&&(_[w.customClass]=!0),w.inRange&&(_["in-range"]=!0,w.start&&(_["start-date"]=!0),w.end&&(_["end-date"]=!0)),_},y=w=>{const _=a.date.year(),k=w.text;return jn(a.date).some(M=>M.year()===_&&M.month()===k)},b=w=>{var E;if(!a.rangeState.selecting)return;let _=w.target;if(_.tagName==="SPAN"&&(_=(E=_.parentNode)==null?void 0:E.parentNode),_.tagName==="DIV"&&(_=_.parentNode),_.tagName!=="TD")return;const k=_.parentNode.rowIndex,M=_.cellIndex;v.value[k][M].disabled||(k!==h.value||M!==m.value)&&(h.value=k,m.value=M,l("changerange",{selecting:!0,endDate:a.date.startOf("year").month(k*4+M)}))},C=w=>{var T;if(a.disabled)return;const _=(T=w.target)==null?void 0:T.closest("td");if((_==null?void 0:_.tagName)!=="TD"||hl(_,"disabled"))return;const k=_.cellIndex,M=_.parentNode.rowIndex*4+k,E=a.date.startOf("year").month(M);if(a.selectionMode==="months"){if(w.type==="keydown"){l("pick",jn(a.parsedValue),!1);return}const O=yr(a.date,a.date.year(),M,r.value,a.disabledDate);l("pick",hl(_,"current")?jn(a.parsedValue).filter(I=>(I==null?void 0:I.year())!==O.year()||(I==null?void 0:I.month())!==O.month()):jn(a.parsedValue).concat([et(O)]))}else a.selectionMode==="range"?a.rangeState.selecting?(a.minDate&&E>=a.minDate?l("pick",{minDate:a.minDate,maxDate:E}):l("pick",{minDate:E,maxDate:a.minDate}),l("select",!1)):(l("pick",{minDate:E,maxDate:null}),l("select",!0)):l("pick",M)};return ce(()=>a.date,async()=>{var w,_;(w=u.value)!=null&&w.contains(document.activeElement)&&(await Pe(),(_=c.value)==null||_.focus())}),t({focus:p}),(w,_)=>(S(),A("table",{role:"grid","aria-label":i(s)("el.datepicker.monthTablePrompt"),class:P(i(o).b()),onClick:C,onMousemove:b},[$("tbody",{ref_key:"tbodyRef",ref:u},[(S(!0),A(He,null,wt(v.value,(k,M)=>(S(),A("tr",{key:M},[(S(!0),A(He,null,wt(k,(E,T)=>(S(),A("td",{key:T,ref_for:!0,ref:O=>E.isSelected&&(c.value=O),class:P(g(E)),"aria-selected":!!E.isSelected,"aria-label":i(s)(`el.datepicker.month${+E.text+1}`),tabindex:E.isSelected?0:-1,onKeydown:[un(Qe(C,["prevent","stop"]),["space"]),un(Qe(C,["prevent","stop"]),["enter"])]},[G(i(Q0),{cell:{...E,renderText:i(s)("el.datepicker.months."+d.value[E.text])}},null,8,["cell"])],42,zQ))),128))]))),128))],512)],42,BQ))}}),uc=DQ;const HQ=ke({...X0,selectionMode:Z0("quarter")}),FQ=["aria-label"],KQ=["aria-selected","aria-label","tabindex","onKeydown"],ko="quarter",WQ=4;var jQ=W({__name:"basic-quarter-table",props:HQ,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const a=e,l=n,o=ye("quarter-table"),{t:s,lang:r}=St(),u=B(),c=B(),d=B([]);let f;const h=E=>J1(a.date.startOf("year").add(E,"quarter"),r.value,a.disabledDate),m=E=>{const T=a.date.year(),O=E.text;return jn(a.date).some(I=>I.year()===T&&I.quarter()-1===O)},v=E=>({row:0,column:E,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1,isSelected:!1,customClass:void 0,date:void 0,dayjs:void 0,isCurrent:void 0,selected:void 0,renderText:void 0,timestamp:void 0}),p=()=>a.rangeState.endDate||a.maxDate||a.rangeState.selecting&&a.minDate||null,g=E=>a.disabled||(a.disabledDate?VC(a.date,a.date.year(),E,r.value).every(a.disabledDate):!1),y=(E,T,O,I)=>{var K,H;E.type="normal";const N=a.date.startOf("year").add(T,"quarter");E.inRange=!!(a.minDate&&N.isSameOrAfter(a.minDate,ko)&&I&&N.isSameOrBefore(I,ko))||!!(a.minDate&&N.isSameOrBefore(a.minDate,ko)&&I&&N.isSameOrAfter(I,ko)),(K=a.minDate)!=null&&K.isSameOrAfter(I,ko)?(E.start=!!(I&&N.isSame(I,ko)),E.end=!!(a.minDate&&N.isSame(a.minDate,ko))):(E.start=!!(a.minDate&&N.isSame(a.minDate,ko)),E.end=!!(I&&N.isSame(I,ko))),O.isSame(N)&&(E.type="today");const R=N.toDate();E.text=T,E.disabled=g(T),E.date=R,E.customClass=(H=a.cellClassName)==null?void 0:H.call(a,R),E.dayjs=N,E.timestamp=N.valueOf(),E.isSelected=m(E)},b=x(()=>{const E=d.value,T=et().locale(r.value).startOf("quarter"),O=p();for(let I=0;I{var E;(E=c.value)==null||E.focus()},w=E=>{const T={},O=a.date.year(),I=et().locale(r.value),N=E.text;return T.disabled=g(N),T.current=jn(a.parsedValue).some(R=>et.isDayjs(R)&&R.year()===O&&R.quarter()-1===N),T.today=I.year()===O&&I.quarter()-1===N,E.customClass&&(T[E.customClass]=!0),E.inRange&&(T["in-range"]=!0,E.start&&(T["start-date"]=!0),E.end&&(T["end-date"]=!0)),T},_=E=>{var I;if(!a.rangeState.selecting)return;const T=(I=E.target)==null?void 0:I.closest("td");if((T==null?void 0:T.tagName)!=="TD")return;const O=T.cellIndex;b.value[O].disabled||O!==f&&(f=O,l("changerange",{selecting:!0,endDate:a.date.startOf("year").add(O,"quarter")}))},k=()=>{f=void 0},M=E=>{var I;if(a.disabled)return;const T=(I=E.target)==null?void 0:I.closest("td");if((T==null?void 0:T.tagName)!=="TD"||hl(T,"disabled"))return;const O=T.cellIndex;if(a.selectionMode==="range"){const N=h(O);if(!a.rangeState.selecting){l("pick",{minDate:N,maxDate:null}),l("select",!0);return}a.minDate&&N>=a.minDate?l("pick",{minDate:a.minDate,maxDate:N}):l("pick",{minDate:N,maxDate:a.minDate}),l("select",!1);return}if(a.selectionMode==="quarters"){const N=h(O);l("pick",hl(T,"current")?jn(a.parsedValue).filter(R=>(R==null?void 0:R.year())!==N.year()||R.quarter()-1!==O):jn(a.parsedValue).concat([N]));return}l("pick",O)};return ce(()=>a.date,async()=>{var E,T;(E=u.value)!=null&&E.contains(document.activeElement)&&(await Pe(),(T=c.value)==null||T.focus())}),t({focus:C}),(E,T)=>(S(),A("table",{role:"grid","aria-label":i(s)("el.datepicker.quarterTablePrompt"),class:P(i(o).b()),onClick:M,onMousemove:_,onMouseleave:k},[$("tbody",{ref_key:"tbodyRef",ref:u},[$("tr",null,[(S(!0),A(He,null,wt(b.value,(O,I)=>(S(),A("td",{key:I,ref_for:!0,ref:N=>O.isSelected&&(c.value=N),class:P(["available",w(O)]),"aria-selected":!!O.isSelected,"aria-label":`Q${O.text+1}`,tabindex:O.isSelected?0:-1,onKeydown:[un(Qe(M,["prevent","stop"]),["space"]),un(Qe(M,["prevent","stop"]),["enter"])]},[G(i(Q0),{cell:{...O,renderText:`Q${O.text+1}`}},null,8,["cell"])],42,KQ))),128))])],512)],42,FQ))}}),w2=jQ;const qQ=ke({...X0,selectionMode:Z0("year")}),UQ=["aria-label"],YQ=["aria-selected","aria-label","tabindex","onKeydown"];var GQ=W({__name:"basic-year-table",props:qQ,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const a=(_,k)=>{const M=et(String(_)).locale(k).startOf("year");return _s(M.endOf("year").dayOfYear()).map(E=>M.add(E,"day").toDate())},l=e,o=n,s=ye("year-table"),{t:r,lang:u}=St(),c=B(),d=B(),f=x(()=>Math.floor(l.date.year()/10)*10),h=B([[],[],[]]),m=B(),v=B(),p=x(()=>{var M,E,T;const _=h.value,k=et().locale(u.value).startOf("year");for(let O=0;O<3;O++){const I=_[O];for(let N=0;N<4&&!(O*4+N>=10);N++){let R=I[N];R||(R={row:O,column:N,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1,isSelected:!1,customClass:void 0,date:void 0,dayjs:void 0,isCurrent:void 0,selected:void 0,renderText:void 0,timestamp:void 0}),R.type="normal";const K=O*4+N+f.value,H=et().year(K),z=l.rangeState.endDate||l.maxDate||l.rangeState.selecting&&l.minDate||null;R.inRange=!!(l.minDate&&H.isSameOrAfter(l.minDate,"year")&&z&&H.isSameOrBefore(z,"year"))||!!(l.minDate&&H.isSameOrBefore(l.minDate,"year")&&z&&H.isSameOrAfter(z,"year")),(M=l.minDate)!=null&&M.isSameOrAfter(z)?(R.start=!!(z&&H.isSame(z,"year")),R.end=!!(l.minDate&&H.isSame(l.minDate,"year"))):(R.start=!!(l.minDate&&H.isSame(l.minDate,"year")),R.end=!!(z&&H.isSame(z,"year"))),k.isSame(H)&&(R.type="today"),R.text=K;const V=H.toDate();R.disabled=((E=l.disabledDate)==null?void 0:E.call(l,V))||!1,R.date=V,R.customClass=(T=l.cellClassName)==null?void 0:T.call(l,V),R.dayjs=H,R.timestamp=H.valueOf(),R.isSelected=b(R),I[N]=R}}return _}),g=()=>{var _;(_=d.value)==null||_.focus()},y=_=>{const k={},M=et().locale(u.value),E=_.text;return k.disabled=l.disabled||(l.disabledDate?a(E,u.value).every(l.disabledDate):!1),k.today=M.year()===E,k.current=jn(l.parsedValue).some(T=>T.year()===E),_.customClass&&(k[_.customClass]=!0),_.inRange&&(k["in-range"]=!0,_.start&&(k["start-date"]=!0),_.end&&(k["end-date"]=!0)),k},b=_=>{const k=_.text;return jn(l.date).some(M=>M.year()===k)},C=_=>{var O;if(l.disabled)return;const k=(O=_.target)==null?void 0:O.closest("td");if(!k||!k.textContent||hl(k,"disabled"))return;const M=k.cellIndex,E=k.parentNode.rowIndex*4+M+f.value,T=et().year(E);if(l.selectionMode==="range")l.rangeState.selecting?(l.minDate&&T>=l.minDate?o("pick",{minDate:l.minDate,maxDate:T}):o("pick",{minDate:T,maxDate:l.minDate}),o("select",!1)):(o("pick",{minDate:T,maxDate:null}),o("select",!0));else if(l.selectionMode==="years"){if(_.type==="keydown"){o("pick",jn(l.parsedValue),!1);return}const I=Kf(T.startOf("year"),u.value,l.disabledDate);o("pick",hl(k,"current")?jn(l.parsedValue).filter(N=>(N==null?void 0:N.year())!==E):jn(l.parsedValue).concat([I]))}else o("pick",E)},w=_=>{var T;if(!l.rangeState.selecting)return;const k=(T=_.target)==null?void 0:T.closest("td");if(!k)return;const M=k.parentNode.rowIndex,E=k.cellIndex;p.value[M][E].disabled||(M!==m.value||E!==v.value)&&(m.value=M,v.value=E,o("changerange",{selecting:!0,endDate:et().year(f.value).add(M*4+E,"year")}))};return ce(()=>l.date,async()=>{var _,k;(_=c.value)!=null&&_.contains(document.activeElement)&&(await Pe(),(k=d.value)==null||k.focus())}),t({focus:g}),(_,k)=>(S(),A("table",{role:"grid","aria-label":i(r)("el.datepicker.yearTablePrompt"),class:P(i(s).b()),onClick:C,onMousemove:w},[$("tbody",{ref_key:"tbodyRef",ref:c},[(S(!0),A(He,null,wt(p.value,(M,E)=>(S(),A("tr",{key:E},[(S(!0),A(He,null,wt(M,(T,O)=>(S(),A("td",{key:`${E}_${O}`,ref_for:!0,ref:I=>T.isSelected&&(d.value=I),class:P(["available",y(T)]),"aria-selected":T.isSelected,"aria-label":String(T.text),tabindex:T.isSelected?0:-1,onKeydown:[un(Qe(C,["prevent","stop"]),["space"]),un(Qe(C,["prevent","stop"]),["enter"])]},[G(i(Q0),{cell:T},null,8,["cell"])],42,YQ))),128))]))),128))],512)],42,UQ))}}),cc=GQ;const XQ=["disabled","onClick"],JQ=["aria-label","disabled"],ZQ=["aria-label","disabled"],QQ=["tabindex","aria-disabled"],eee=["tabindex","aria-disabled"],tee=["aria-label","disabled"],nee=["aria-label","disabled"];var aee=W({__name:"panel-date-pick",props:kQ,emits:["pick","set-picker-option","panel-change"],setup(e,{emit:t}){const n=(Me,be,We)=>!0,a=e,l=t,o=ye("picker-panel"),s=ye("date-picker"),r=Hl(),u=wn(),{t:c,lang:d}=St(),f=De(Ul),{shortcuts:h,cellClassName:m,defaultTime:v}=f.props,p=At(f.props,"disabledDate"),g=At(f.props,"defaultValue"),y=B(),b=B(et().locale(d.value)),C=B(!1);let w=!1;const _=x(()=>et(v).locale(d.value)),k=x(()=>b.value.month()),M=x(()=>b.value.year()),E=B([]),T=B(null),O=B(null),I=Me=>E.value.length>0?n(Me,E.value,a.format||"HH:mm:ss"):!0,N=Me=>v&&!we.value&&!C.value&&!w?_.value.year(Me.year()).month(Me.month()).date(Me.date()):ge.value?Me.millisecond(0):Me.startOf("day"),R=(Me,...be)=>{Me?ve(Me)?l("pick",Me.map(N),...be):l("pick",N(Me),...be):l("pick",Me,...be),T.value=null,O.value=null,C.value=!1,w=!1},K=async(Me,be)=>{if(D.value==="date"&&et.isDayjs(Me)){const We=su(a.parsedValue);let de=We?We.year(Me.year()).month(Me.month()).date(Me.date()):Me;I(de),b.value=de,R(de,ge.value||be)}else D.value==="week"?R(Me.date):D.value==="dates"&&R(Me,!0)},H=Me=>{const be=Me?"add":"subtract";b.value=b.value[be](1,"month"),tn("month")},z=Me=>{const be=b.value,We=Me?"add":"subtract";b.value=V.value==="year"?be[We](10,"year"):be[We](1,"year"),tn("year")},V=B("date"),L=x(()=>{const Me=c("el.datepicker.year");if(V.value==="year"){const be=Math.floor(M.value/10)*10;return Me?`${be} ${Me} - ${be+9} ${Me}`:`${be} - ${be+9}`}return`${M.value} ${Me}`}),F=Me=>{const be=Ke(Me.value)?Me.value():Me.value;if(be){w=!0,R(et(be).locale(d.value));return}Me.onClick&&Me.onClick({attrs:r,slots:u,emit:l})},D=x(()=>{const{type:Me}=a;return["week","month","months","year","years","dates","quarter","quarters"].includes(Me)?Me:"date"}),j=x(()=>D.value==="dates"||D.value==="months"||D.value==="years"||D.value==="quarters"),q=x(()=>D.value==="date"?V.value:D.value),Q=x(()=>!!h.length),ee=async(Me,be)=>{D.value==="month"?(b.value=yr(b.value,b.value.year(),Me,d.value,p.value),R(b.value,!1)):D.value==="months"?R(Me,be??!0):(b.value=yr(b.value,b.value.year(),Me,d.value,p.value),V.value="date",["month","year","date","week"].includes(D.value)&&(R(b.value,!0),await Pe(),Tt())),tn("month")},te=async(Me,be)=>{D.value==="quarter"?(b.value=y2(b.value,b.value.year(),Me,d.value,p.value),R(b.value,!1)):D.value==="quarters"&&R(Me,be??!0)},ae=async(Me,be)=>{D.value==="year"?(b.value=Kf(b.value.startOf("year").year(Me),d.value,p.value),R(b.value,!1)):D.value==="years"?R(Me,be??!0):(b.value=Kf(b.value.year(Me),d.value,p.value),V.value=["quarter","quarters"].includes(D.value)?"quarter":"month",["month","year","date","week","quarter"].includes(D.value)&&(R(b.value,!0),await Pe(),Tt())),tn("year")},ue=hn(),pe=async Me=>{ue.value||(V.value=Me,await Pe(),Tt())},ge=x(()=>a.type==="datetime"||a.type==="datetimerange"),X=x(()=>{const Me=ge.value||D.value==="dates",be=D.value==="years",We=D.value==="months",de=D.value==="quarters",je=V.value==="date",Ie=V.value==="year",tt=V.value==="month",ot=V.value==="quarter";return Me&&je||be&&Ie||We&&tt||de&&ot}),Z=x(()=>!j.value&&a.showNow||a.showConfirm),re=x(()=>p.value?a.parsedValue?ve(a.parsedValue)?a.parsedValue.length?D.value==="quarters"?a.parsedValue.some(Me=>ic(Me,d.value,p.value)):p.value(a.parsedValue[0].toDate()):!0:p.value(a.parsedValue.toDate()):!0:!1),U=()=>{if(j.value)R(a.parsedValue);else{let Me=su(a.parsedValue);if(!Me){const be=et(v).locale(d.value),We=gt();Me=be.year(We.year()).month(We.month()).date(We.date())}b.value=Me,R(Me)}},J=x(()=>p.value?p.value(et().locale(d.value).toDate()):!1),se=()=>{const Me=et().locale(d.value).toDate();C.value=!0,(!p.value||!p.value(Me))&&I(Me)&&(b.value=et().locale(d.value),R(b.value))},fe=x(()=>a.timeFormat||k9(a.format)||"HH:mm:ss"),me=x(()=>a.dateFormat||x9(a.format)||"YYYY-MM-DD"),we=x(()=>{if(O.value)return O.value;if(!(!a.parsedValue&&!g.value))return(su(a.parsedValue)||b.value).format(fe.value)}),Ve=x(()=>{if(T.value)return T.value;if(!(!a.parsedValue&&!g.value))return(su(a.parsedValue)||b.value).format(me.value)}),Ae=B(!1),xe=()=>{Ae.value=!0},he=()=>{Ae.value=!1},Ee=Me=>({hour:Me.hour(),minute:Me.minute(),second:Me.second(),year:Me.year(),month:Me.month(),date:Me.date()}),$e=(Me,be,We)=>{const{hour:de,minute:je,second:Ie}=Ee(Me),tt=su(a.parsedValue);b.value=tt?tt.hour(de).minute(je).second(Ie):Me,R(b.value,!0),We||(Ae.value=be)},Re=Me=>{const be=et(Me,fe.value).locale(d.value);if(be.isValid()&&I(be)){const{year:We,month:de,date:je}=Ee(b.value);b.value=be.year(We).month(de).date(je),O.value=null,Ae.value=!1,R(b.value,!0)}},Ge=Me=>{const be=br(Me,me.value,d.value);if(be.isValid()){if(p.value&&p.value(be.toDate()))return;const{hour:We,minute:de,second:je}=Ee(b.value);b.value=be.hour(We).minute(de).second(je),T.value=null,R(b.value,!0)}},Ze=Me=>!et.isDayjs(Me)||!Me.isValid()?!1:D.value==="quarter"?TQ(Me,d.value,p.value):p.value?!p.value(Me.toDate()):!0,Xe=Me=>{const be=br(Me,a.format,d.value);if(!["quarter","quarters"].includes(D.value))return be;const We=de=>J1(de,d.value,p.value);return ve(be)?be.map(We):!et.isDayjs(be)||!be.isValid()?be:We(be)},gt=()=>{const Me=et(g.value).locale(d.value);if(!g.value){const be=_.value;return et().hour(be.hour()).minute(be.minute()).second(be.second()).locale(d.value)}return Me},Tt=()=>{var Me;["week","month","year","date","quarter"].includes(D.value)&&((Me=y.value)==null||Me.focus())},Pt=()=>{Tt(),D.value==="week"&&Rt(Ce.down)},$t=Me=>{const be=Xt(Me);[Ce.up,Ce.down,Ce.left,Ce.right,Ce.home,Ce.end,Ce.pageUp,Ce.pageDown].includes(be)&&(Rt(be),Me.stopPropagation(),Me.preventDefault()),[Ce.enter,Ce.space,Ce.numpadEnter].includes(be)&&T.value===null&&O.value===null&&(Me.preventDefault(),R(b.value,!1))},Rt=Me=>{const{up:be,down:We,left:de,right:je,home:Ie,end:tt,pageUp:ot,pageDown:pt}=Ce,yt={year:{[be]:-4,[We]:4,[de]:-1,[je]:1,offset:(lt,Vt)=>lt.setFullYear(lt.getFullYear()+Vt)},month:{[be]:-4,[We]:4,[de]:-1,[je]:1,offset:(lt,Vt)=>lt.setMonth(lt.getMonth()+Vt)},quarter:{[be]:-4,[We]:4,[de]:-1,[je]:1,offset:(lt,Vt)=>lt.setMonth(lt.getMonth()+Vt*3)},week:{[be]:-1,[We]:1,[de]:-1,[je]:1,offset:(lt,Vt)=>lt.setDate(lt.getDate()+Vt*7)},date:{[be]:-7,[We]:7,[de]:-1,[je]:1,[Ie]:lt=>-lt.getDay(),[tt]:lt=>-lt.getDay()+6,[ot]:lt=>-new Date(lt.getFullYear(),lt.getMonth(),0).getDate(),[pt]:lt=>new Date(lt.getFullYear(),lt.getMonth()+1,0).getDate(),offset:(lt,Vt)=>lt.setDate(lt.getDate()+Vt)}},_t=b.value.toDate();for(;Math.abs(b.value.diff(_t,"year",!0))<1;){const lt=yt[q.value];if(!lt)return;lt.offset(_t,Ke(lt[Me])?lt[Me](_t):lt[Me]??0);let Vt;if(q.value==="quarter"){const Le=et(_t).locale(d.value);if(ic(Le,d.value,p.value))break;Vt=y2(Le,Le.year(),Le.quarter()-1,d.value,p.value)}else{if(p.value&&p.value(_t))break;Vt=et(_t).locale(d.value)}b.value=Vt,j.value||l("pick",Vt,!0);break}},tn=Me=>{l("panel-change",b.value.toDate(),Me,V.value)};return ce(()=>D.value,Me=>{if(["month","year","quarter"].includes(Me)){V.value=Me;return}else if(Me==="years"){V.value="year";return}else if(Me==="months"){V.value="month";return}else if(Me==="quarters"){V.value="quarter";return}V.value="date"},{immediate:!0}),ce(()=>g.value,Me=>{Me&&(b.value=gt())},{immediate:!0}),ce(()=>a.parsedValue,Me=>{if(Me){if(j.value||ve(Me))return;b.value=Me}else b.value=gt()},{immediate:!0}),l("set-picker-option",["isValidValue",Ze]),l("set-picker-option",["parseUserInput",Xe]),l("set-picker-option",["handleFocusPicker",Pt]),(Me,be)=>(S(),A("div",{class:P([i(o).b(),i(s).b(),i(o).is("border",Me.border),i(o).is("disabled",i(ue)),{"has-sidebar":Me.$slots.sidebar||Q.value,"has-time":ge.value}])},[$("div",{class:P(i(o).e("body-wrapper"))},[le(Me.$slots,"sidebar",{class:P(i(o).e("sidebar"))}),Q.value?(S(),A("div",{key:0,class:P(i(o).e("sidebar"))},[(S(!0),A(He,null,wt(i(h),(We,de)=>(S(),A("button",{key:de,type:"button",disabled:i(ue),class:P(i(o).e("shortcut")),onClick:je=>F(We)},Se(We.text),11,XQ))),128))],2)):oe("v-if",!0),$("div",{class:P(i(o).e("body"))},[ge.value?(S(),A("div",{key:0,class:P(i(s).e("time-header"))},[$("span",{class:P(i(s).e("editor-wrap"))},[G(i(aa),{placeholder:i(c)("el.datepicker.selectDate"),"model-value":Ve.value,size:"small","validate-event":!1,disabled:i(ue),readonly:!Me.editable,onInput:be[0]||(be[0]=We=>T.value=We),onChange:Ge},null,8,["placeholder","model-value","disabled","readonly"])],2),ht((S(),A("span",{class:P(i(s).e("editor-wrap"))},[G(i(aa),{placeholder:i(c)("el.datepicker.selectTime"),"model-value":we.value,size:"small","validate-event":!1,disabled:i(ue),readonly:!Me.editable,onFocus:xe,onInput:be[1]||(be[1]=We=>O.value=We),onChange:Re},null,8,["placeholder","model-value","disabled","readonly"]),G(i(Nf),{visible:Ae.value,format:fe.value,"parsed-value":b.value,onPick:$e},null,8,["visible","format","parsed-value"])],2)),[[i(Ts),he]])],2)):oe("v-if",!0),ht($("div",{class:P([i(s).e("header"),(V.value==="year"||V.value==="month"||V.value==="quarter")&&i(s).em("header","bordered")])},[$("span",{class:P(i(s).e("prev-btn"))},[$("button",{type:"button","aria-label":i(c)("el.datepicker.prevYear"),class:P(["d-arrow-left",i(o).e("icon-btn")]),disabled:i(ue),onClick:be[2]||(be[2]=We=>z(!1))},[le(Me.$slots,"prev-year",{},()=>[G(i(Be),null,{default:ne(()=>[G(i(Bl))]),_:1})])],10,JQ),ht($("button",{type:"button","aria-label":i(c)("el.datepicker.prevMonth"),class:P([i(o).e("icon-btn"),"arrow-left"]),disabled:i(ue),onClick:be[3]||(be[3]=We=>H(!1))},[le(Me.$slots,"prev-month",{},()=>[G(i(Be),null,{default:ne(()=>[G(i(mo))]),_:1})])],10,ZQ),[[It,V.value==="date"]])],2),$("span",{role:"button",class:P(i(s).e("header-label")),"aria-live":"polite",tabindex:Me.disabled?void 0:0,"aria-disabled":Me.disabled,onKeydown:be[4]||(be[4]=un(We=>pe("year"),["enter"])),onClick:be[5]||(be[5]=We=>pe("year"))},Se(L.value),43,QQ),ht($("span",{role:"button","aria-live":"polite",tabindex:Me.disabled?void 0:0,"aria-disabled":Me.disabled,class:P([i(s).e("header-label"),{active:V.value==="month"}]),onKeydown:be[6]||(be[6]=un(We=>pe("month"),["enter"])),onClick:be[7]||(be[7]=We=>pe("month"))},Se(i(c)(`el.datepicker.month${k.value+1}`)),43,eee),[[It,V.value==="date"]]),$("span",{class:P(i(s).e("next-btn"))},[ht($("button",{type:"button","aria-label":i(c)("el.datepicker.nextMonth"),class:P([i(o).e("icon-btn"),"arrow-right"]),disabled:i(ue),onClick:be[8]||(be[8]=We=>H(!0))},[le(Me.$slots,"next-month",{},()=>[G(i(Be),null,{default:ne(()=>[G(i(ua))]),_:1})])],10,tee),[[It,V.value==="date"]]),$("button",{type:"button","aria-label":i(c)("el.datepicker.nextYear"),class:P([i(o).e("icon-btn"),"d-arrow-right"]),disabled:i(ue),onClick:be[9]||(be[9]=We=>z(!0))},[le(Me.$slots,"next-year",{},()=>[G(i(Be),null,{default:ne(()=>[G(i(zl))]),_:1})])],10,nee)],2)],2),[[It,V.value!=="time"]]),$("div",{class:P(i(o).e("content")),onKeydown:$t},[V.value==="date"?(S(),ie(b2,{key:0,ref_key:"currentViewRef",ref:y,"selection-mode":D.value,date:b.value,"parsed-value":Me.parsedValue,"disabled-date":p.value,disabled:i(ue),"cell-class-name":i(m),"show-week-number":Me.showWeekNumber,onPick:K},null,8,["selection-mode","date","parsed-value","disabled-date","disabled","cell-class-name","show-week-number"])):oe("v-if",!0),V.value==="year"?(S(),ie(cc,{key:1,ref_key:"currentViewRef",ref:y,"selection-mode":D.value,date:b.value,"disabled-date":p.value,disabled:i(ue),"parsed-value":Me.parsedValue,"cell-class-name":i(m),onPick:ae},null,8,["selection-mode","date","disabled-date","disabled","parsed-value","cell-class-name"])):oe("v-if",!0),V.value==="month"?(S(),ie(uc,{key:2,ref_key:"currentViewRef",ref:y,"selection-mode":D.value,date:b.value,"parsed-value":Me.parsedValue,"disabled-date":p.value,disabled:i(ue),"cell-class-name":i(m),onPick:ee},null,8,["selection-mode","date","parsed-value","disabled-date","disabled","cell-class-name"])):oe("v-if",!0),V.value==="quarter"?(S(),ie(w2,{key:3,ref_key:"currentViewRef",ref:y,"selection-mode":D.value,date:b.value,"parsed-value":Me.parsedValue,"disabled-date":p.value,disabled:i(ue),"cell-class-name":i(m),onPick:te},null,8,["selection-mode","date","parsed-value","disabled-date","disabled","cell-class-name"])):oe("v-if",!0)],34)],2)],2),Me.showFooter&&X.value&&Z.value?(S(),A("div",{key:0,class:P(i(o).e("footer"))},[ht(G(i(Un),{text:"",size:"small",class:P(i(o).e("link-btn")),disabled:J.value,onClick:se},{default:ne(()=>[bt(Se(i(c)("el.datepicker.now")),1)]),_:1},8,["class","disabled"]),[[It,!j.value&&Me.showNow]]),Me.showConfirm?(S(),ie(i(Un),{key:0,plain:"",size:"small",class:P(i(o).e("link-btn")),disabled:re.value,onClick:U},{default:ne(()=>[bt(Se(i(c)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])):oe("v-if",!0)],2)):oe("v-if",!0)],2))}}),lee=aee;const oee=ke({...RC,...J0}),see=e=>{const{emit:t}=st(),n=Hl(),a=wn();return o=>{const s=Ke(o.value)?o.value():o.value;if(s){t("pick",[et(s[0]).locale(e.value),et(s[1]).locale(e.value)]);return}o.onClick&&o.onClick({attrs:n,slots:a,emit:t})}},ep=(e,{defaultValue:t,defaultTime:n,leftDate:a,rightDate:l,step:o,unit:s,sortDates:r})=>{const{emit:u}=st(),{pickerNs:c}=De(X1),d=ye("date-range-picker"),{t:f,lang:h}=St(),m=see(h),v=B(),p=B(),g=B({endDate:null,selecting:!1}),y=k=>{g.value=k},b=(k=!1)=>{const M=i(v),E=i(p);Ni([M,E])&&u("pick",[M,E],k)},C=k=>{g.value.selecting=k,k||(g.value.endDate=null)},w=k=>{if(ve(k)&&k.length===2){const[M,E]=k;v.value=M,a.value=M,p.value=E,r(i(v),i(p))}else _()},_=()=>{let[k,M]=jc(i(t),{lang:i(h),step:o,unit:s,unlinkPanels:e.unlinkPanels});const E=O=>O.diff(O.startOf("d"),"ms"),T=i(n);if(T){let O=0,I=0;if(ve(T)){const[N,R]=T.map(et);O=E(N),I=E(R)}else{const N=E(et(T));O=N,I=N}k=k.startOf("d").add(O,"ms"),M=M.startOf("d").add(I,"ms")}v.value=void 0,p.value=void 0,a.value=k,l.value=M};return ce(t,k=>{k&&_()},{immediate:!0}),ce(()=>e.parsedValue,k=>{(!(k!=null&&k.length)||!gn(k,[v.value,p.value]))&&w(k)},{immediate:!0}),ce(()=>e.visible,()=>{e.visible&&w(e.parsedValue)},{immediate:!0}),{minDate:v,maxDate:p,rangeState:g,lang:h,ppNs:c,drpNs:d,handleChangeRange:y,handleRangeConfirm:b,handleShortcutClick:m,onSelect:C,parseValue:w,t:f}},ree=(e,t,n,a)=>{const l=B("date"),o=B(),s=B("date"),r=B(),u=At(De(Ul).props,"disabledDate"),{t:c,lang:d}=St(),f=x(()=>n.value.year()),h=x(()=>n.value.month()),m=x(()=>a.value.year()),v=x(()=>a.value.month());function p(_,k){const M=c("el.datepicker.year");if(_.value==="year"){const E=Math.floor(k.value/10)*10;return M?`${E} ${M} - ${E+9} ${M}`:`${E} - ${E+9}`}return`${k.value} ${M}`}function g(_){_==null||_.focus()}async function y(_,k){if(e.disabled)return;const M=_==="left"?l:s,E=_==="left"?o:r;M.value=k,await Pe(),g(E.value)}async function b(_,k,M){if(e.disabled)return;const E=k==="left",T=E?n:a,O=E?a:n,I=E?l:s,N=E?o:r;_==="year"&&(T.value=Kf(T.value.year(M),d.value,u.value)),_==="month"&&(T.value=yr(T.value,T.value.year(),M,d.value,u.value)),e.unlinkPanels||(O.value=k==="left"?T.value.add(1,"month"):T.value.subtract(1,"month")),I.value=_==="year"?"month":"date",await Pe(),g(N.value),C(_)}function C(_){t("panel-change",[n.value.toDate(),a.value.toDate()],_)}function w(_,k,M){const E=M?"add":"subtract";return _==="year"?k[E](10,"year"):k[E](1,"year")}return{leftCurrentView:l,rightCurrentView:s,leftCurrentViewRef:o,rightCurrentViewRef:r,leftYear:f,rightYear:m,leftMonth:h,rightMonth:v,leftYearLabel:x(()=>p(l,f)),rightYearLabel:x(()=>p(s,m)),showLeftPicker:_=>y("left",_),showRightPicker:_=>y("right",_),handleLeftYearPick:_=>b("year","left",_),handleRightYearPick:_=>b("year","right",_),handleLeftMonthPick:_=>b("month","left",_),handleRightMonthPick:_=>b("month","right",_),handlePanelChange:C,adjustDateByView:w}},iee=["disabled","onClick"],uee=["aria-label","disabled"],cee=["aria-label","disabled"],dee=["disabled","aria-label"],fee=["disabled","aria-label"],pee=["tabindex","aria-disabled"],hee=["tabindex","aria-disabled"],vee=["disabled","aria-label"],mee=["disabled","aria-label"],gee=["aria-label","disabled"],yee=["disabled","aria-label"],bee=["tabindex","aria-disabled"],wee=["tabindex","aria-disabled"],wd="month";var Cee=W({__name:"panel-date-range",props:oee,emits:["pick","set-picker-option","calendar-change","panel-change","clear"],setup(e,{emit:t}){const n=e,a=t,l=De(Ul),{cellClassName:o,defaultTime:s,clearable:r}=l.props,u=At(l.props,"disabledDate"),c=At(l.props,"format"),d=At(l.props,"shortcuts"),f=At(l.props,"defaultValue"),{lang:h}=St(),m=B(et().locale(h.value)),v=B(et().locale(h.value).add(1,wd)),{minDate:p,maxDate:g,rangeState:y,ppNs:b,drpNs:C,handleChangeRange:w,handleRangeConfirm:_,handleShortcutClick:k,onSelect:M,parseValue:E,t:T}=ep(n,{defaultValue:f,defaultTime:s,leftDate:m,rightDate:v,unit:wd,sortDates:Vt});ce(()=>n.visible,Le=>{!Le&&y.value.selecting&&(E(n.parsedValue),M(!1))});const O=B({min:null,max:null}),I=B({min:null,max:null}),{leftCurrentView:N,rightCurrentView:R,leftCurrentViewRef:K,rightCurrentViewRef:H,leftYear:z,rightYear:V,leftMonth:L,rightMonth:F,leftYearLabel:D,rightYearLabel:j,showLeftPicker:q,showRightPicker:Q,handleLeftYearPick:ee,handleRightYearPick:te,handleLeftMonthPick:ae,handleRightMonthPick:ue,handlePanelChange:pe,adjustDateByView:ge}=ree(n,a,m,v),X=x(()=>!!d.value.length),Z=x(()=>O.value.min!==null?O.value.min:p.value?p.value.format(fe.value):""),re=x(()=>O.value.max!==null?O.value.max:g.value||p.value?(g.value||p.value).format(fe.value):""),U=x(()=>I.value.min!==null?I.value.min:p.value?p.value.format(se.value):""),J=x(()=>I.value.max!==null?I.value.max:g.value||p.value?(g.value||p.value).format(se.value):""),se=x(()=>n.timeFormat||k9(c.value||"")||"HH:mm:ss"),fe=x(()=>n.dateFormat||x9(c.value||"")||"YYYY-MM-DD"),me=Le=>Ni(Le)&&(u.value?!u.value(Le[0].toDate())&&!u.value(Le[1].toDate()):!0),we=()=>{m.value=ge(N.value,m.value,!1),n.unlinkPanels||(v.value=m.value.add(1,"month")),pe("year")},Ve=()=>{m.value=m.value.subtract(1,"month"),n.unlinkPanels||(v.value=m.value.add(1,"month")),pe("month")},Ae=()=>{n.unlinkPanels?v.value=ge(R.value,v.value,!0):(m.value=ge(R.value,m.value,!0),v.value=m.value.add(1,"month")),pe("year")},xe=()=>{n.unlinkPanels?v.value=v.value.add(1,"month"):(m.value=m.value.add(1,"month"),v.value=m.value.add(1,"month")),pe("month")},he=()=>{m.value=ge(N.value,m.value,!0),pe("year")},Ee=()=>{m.value=m.value.add(1,"month"),pe("month")},$e=()=>{v.value=ge(R.value,v.value,!1),pe("year")},Re=()=>{v.value=v.value.subtract(1,"month"),pe("month")},Ge=x(()=>{const Le=(L.value+1)%12,Ue=L.value+1>=12?1:0;return n.singlePanel||n.unlinkPanels&&new Date(z.value+Ue,Le)n.singlePanel||n.unlinkPanels&&V.value*12+F.value-(z.value*12+L.value+1)>=12),Xe=hn(),gt=x(()=>!(p.value&&g.value&&!y.value.selecting&&Ni([p.value,g.value])&&!Xe.value)),Tt=x(()=>n.type==="datetime"||n.type==="datetimerange"),Pt=(Le,Ue)=>{if(Le)return s?et(s[Ue]||s).locale(h.value).year(Le.year()).month(Le.month()).date(Le.date()):Le},$t=(Le,Ue=!0)=>{const nt=Le.minDate,_e=Le.maxDate,Fe=Pt(nt,0),ze=Pt(_e,1);g.value===ze&&p.value===Fe||(a("calendar-change",[nt.toDate(),_e&&_e.toDate()]),g.value=ze,p.value=Fe,!Tt.value&&Ue&&(Ue=!Fe||!ze),_(Ue))},Rt=B(!1),tn=B(!1),Me=()=>{Rt.value=!1},be=()=>{tn.value=!1},We=(Le,Ue)=>{if(!u.value||!u.value(Le.toDate()))return Le;const nt=Le.isBefore(Ue);let _e=Le;for(;nt?_e.isBefore(Ue):_e.isAfter(Ue);)if(_e=nt?_e.add(1,"day"):_e.subtract(1,"day"),!u.value(_e.toDate()))return _e;return Le},de=(Le,Ue)=>{O.value[Ue]=Le;const nt=et(Le,fe.value).locale(h.value);if(nt.isValid()){if(u.value&&u.value(nt.toDate()))return;if(Ue==="min"){if(m.value=nt,p.value=(p.value||m.value).year(nt.year()).month(nt.month()).date(nt.date()),!n.unlinkPanels&&!g.value){const _e=We(p.value.add(1,"month"),p.value);v.value=_e,g.value=_e}}else if(v.value=nt,g.value=(g.value||v.value).year(nt.year()).month(nt.month()).date(nt.date()),!n.unlinkPanels&&!p.value){const _e=We(g.value.subtract(1,"month"),g.value);m.value=_e,p.value=_e}Vt(p.value,g.value),_(!0)}},je=(Le,Ue)=>{if(O.value[Ue]=null,Ue==="min"){if(!n.unlinkPanels&&g.value&&p.value&&g.value.isBefore(p.value)){const nt=We(p.value.add(1,"month"),p.value);v.value=nt,g.value=nt}}else if(!n.unlinkPanels&&p.value&&g.value&&p.value.isAfter(g.value)){const nt=We(g.value.subtract(1,"month"),g.value);m.value=nt,p.value=nt}Vt(p.value,g.value),_(!0)},Ie=(Le,Ue)=>{I.value[Ue]=Le;const nt=et(Le,se.value).locale(h.value);nt.isValid()&&(Ue==="min"?(Rt.value=!0,p.value=(p.value||m.value).hour(nt.hour()).minute(nt.minute()).second(nt.second()),m.value=p.value):(tn.value=!0,g.value=(g.value||v.value).hour(nt.hour()).minute(nt.minute()).second(nt.second()),v.value=g.value))},tt=(Le,Ue)=>{I.value[Ue]=null,Ue==="min"?(m.value=p.value,Rt.value=!1,(!g.value||g.value.isBefore(p.value))&&(g.value=p.value)):(v.value=g.value,tn.value=!1,g.value&&g.value.isBefore(p.value)&&(p.value=g.value)),_(!0)},ot=(Le,Ue,nt)=>{I.value.min||(Le&&(p.value=(p.value||m.value).hour(Le.hour()).minute(Le.minute()).second(Le.second())),nt||(Rt.value=Ue),(!g.value||g.value.isBefore(p.value))&&(g.value=p.value,v.value=Le,Pe(()=>{E(n.parsedValue)})),_(!0))},pt=(Le,Ue,nt)=>{I.value.max||(Le&&(g.value=(g.value||v.value).hour(Le.hour()).minute(Le.minute()).second(Le.second())),nt||(tn.value=Ue),g.value&&g.value.isBefore(p.value)&&(p.value=g.value),_(!0))},yt=()=>{_t(),a("clear")},_t=()=>{let Le=null;l!=null&&l.emptyValues&&(Le=l.emptyValues.valueOnClear.value),m.value=jc(i(f),{lang:i(h),unit:"month",unlinkPanels:n.unlinkPanels})[0],v.value=m.value.add(1,"month"),g.value=void 0,p.value=void 0,_(!0),a("pick",Le)},lt=Le=>br(Le,c.value||"",h.value);function Vt(Le,Ue){if(n.unlinkPanels&&Ue){const nt=(Le==null?void 0:Le.year())||0,_e=(Le==null?void 0:Le.month())||0,Fe=Ue.year(),ze=Ue.month();v.value=nt===Fe&&_e===ze?Ue.add(1,wd):Ue}else v.value=m.value.add(1,wd),Ue&&(v.value=v.value.hour(Ue.hour()).minute(Ue.minute()).second(Ue.second()))}return a("set-picker-option",["isValidValue",me]),a("set-picker-option",["parseUserInput",lt]),a("set-picker-option",["handleClear",_t]),(Le,Ue)=>(S(),A("div",{class:P([i(b).b(),i(C).b(),i(b).is("border",Le.border),i(b).is("disabled",i(Xe)),{"has-sidebar":Le.$slots.sidebar||X.value,"has-time":Tt.value,"single-panel":Le.singlePanel}])},[$("div",{class:P(i(b).e("body-wrapper"))},[le(Le.$slots,"sidebar",{class:P(i(b).e("sidebar"))}),X.value?(S(),A("div",{key:0,class:P(i(b).e("sidebar"))},[(S(!0),A(He,null,wt(d.value,(nt,_e)=>(S(),A("button",{key:_e,type:"button",disabled:i(Xe),class:P(i(b).e("shortcut")),onClick:Fe=>i(k)(nt)},Se(nt.text),11,iee))),128))],2)):oe("v-if",!0),$("div",{class:P(i(b).e("body"))},[Tt.value?(S(),A("div",{key:0,class:P(i(C).e("time-header"))},[$("span",{class:P(i(C).e("editors-wrap"))},[$("span",{class:P(i(C).e("time-picker-wrap"))},[G(i(aa),{size:"small",disabled:i(y).selecting||i(Xe),placeholder:i(T)("el.datepicker.startDate"),class:P(i(C).e("editor")),"model-value":Z.value,"validate-event":!1,readonly:!Le.editable,onInput:Ue[0]||(Ue[0]=nt=>de(nt,"min")),onChange:Ue[1]||(Ue[1]=nt=>je(nt,"min"))},null,8,["disabled","placeholder","class","model-value","readonly"])],2),ht((S(),A("span",{class:P(i(C).e("time-picker-wrap"))},[G(i(aa),{size:"small",class:P(i(C).e("editor")),disabled:i(y).selecting||i(Xe),placeholder:i(T)("el.datepicker.startTime"),"model-value":U.value,"validate-event":!1,readonly:!Le.editable,onFocus:Ue[2]||(Ue[2]=nt=>Rt.value=!0),onInput:Ue[3]||(Ue[3]=nt=>Ie(nt,"min")),onChange:Ue[4]||(Ue[4]=nt=>tt(nt,"min"))},null,8,["class","disabled","placeholder","model-value","readonly"]),G(i(Nf),{visible:Rt.value,format:se.value,"datetime-role":"start","parsed-value":i(p)||m.value,onPick:ot},null,8,["visible","format","parsed-value"])],2)),[[i(Ts),Me]])],2),$("span",null,[G(i(Be),null,{default:ne(()=>[G(i(ua))]),_:1})]),$("span",{class:P([i(C).e("editors-wrap"),"is-right"])},[$("span",{class:P(i(C).e("time-picker-wrap"))},[G(i(aa),{size:"small",class:P(i(C).e("editor")),disabled:i(y).selecting||i(Xe),placeholder:i(T)("el.datepicker.endDate"),"model-value":re.value,readonly:!i(p)||!Le.editable,"validate-event":!1,onInput:Ue[5]||(Ue[5]=nt=>de(nt,"max")),onChange:Ue[6]||(Ue[6]=nt=>je(nt,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"])],2),ht((S(),A("span",{class:P(i(C).e("time-picker-wrap"))},[G(i(aa),{size:"small",class:P(i(C).e("editor")),disabled:i(y).selecting||i(Xe),placeholder:i(T)("el.datepicker.endTime"),"model-value":J.value,readonly:!i(p)||!Le.editable,"validate-event":!1,onFocus:Ue[7]||(Ue[7]=nt=>i(p)&&(tn.value=!0)),onInput:Ue[8]||(Ue[8]=nt=>Ie(nt,"max")),onChange:Ue[9]||(Ue[9]=nt=>tt(nt,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"]),G(i(Nf),{"datetime-role":"end",visible:tn.value,format:se.value,"parsed-value":i(g)||v.value,onPick:pt},null,8,["visible","format","parsed-value"])],2)),[[i(Ts),be]])],2)],2)):oe("v-if",!0),$("div",{class:P([i(b).e("content"),i(C).e("content"),i(C).is("left",!Le.singlePanel)])},[$("div",{class:P(i(C).e("header"))},[$("button",{type:"button",class:P([i(b).e("icon-btn"),"d-arrow-left"]),"aria-label":i(T)("el.datepicker.prevYear"),disabled:i(Xe),onClick:we},[le(Le.$slots,"prev-year",{},()=>[G(i(Be),null,{default:ne(()=>[G(i(Bl))]),_:1})])],10,uee),ht($("button",{type:"button",class:P([i(b).e("icon-btn"),"arrow-left"]),"aria-label":i(T)("el.datepicker.prevMonth"),disabled:i(Xe),onClick:Ve},[le(Le.$slots,"prev-month",{},()=>[G(i(Be),null,{default:ne(()=>[G(i(mo))]),_:1})])],10,cee),[[It,i(N)==="date"]]),Le.unlinkPanels||Le.singlePanel?(S(),A("button",{key:0,type:"button",disabled:!Ze.value||i(Xe),class:P([[i(b).e("icon-btn"),i(b).is("disabled",!Ze.value||i(Xe))],"d-arrow-right"]),"aria-label":i(T)("el.datepicker.nextYear"),onClick:he},[le(Le.$slots,"next-year",{},()=>[G(i(Be),null,{default:ne(()=>[G(i(zl))]),_:1})])],10,dee)):oe("v-if",!0),Le.unlinkPanels&&i(N)==="date"||Le.singlePanel?(S(),A("button",{key:1,type:"button",disabled:!Ge.value||i(Xe),class:P([[i(b).e("icon-btn"),i(b).is("disabled",!Ge.value||i(Xe))],"arrow-right"]),"aria-label":i(T)("el.datepicker.nextMonth"),onClick:Ee},[le(Le.$slots,"next-month",{},()=>[G(i(Be),null,{default:ne(()=>[G(i(ua))]),_:1})])],10,fee)):oe("v-if",!0),$("div",null,[$("span",{role:"button",class:P(i(C).e("header-label")),"aria-live":"polite",tabindex:Le.disabled?void 0:0,"aria-disabled":Le.disabled,onKeydown:Ue[10]||(Ue[10]=un(nt=>i(q)("year"),["enter"])),onClick:Ue[11]||(Ue[11]=nt=>i(q)("year"))},Se(i(D)),43,pee),ht($("span",{role:"button","aria-live":"polite",tabindex:Le.disabled?void 0:0,"aria-disabled":Le.disabled,class:P([i(C).e("header-label"),{active:i(N)==="month"}]),onKeydown:Ue[12]||(Ue[12]=un(nt=>i(q)("month"),["enter"])),onClick:Ue[13]||(Ue[13]=nt=>i(q)("month"))},Se(i(T)(`el.datepicker.month${m.value.month()+1}`)),43,hee),[[It,i(N)==="date"]])])],2),i(N)==="date"?(S(),ie(b2,{key:0,ref_key:"leftCurrentViewRef",ref:K,"selection-mode":"range",date:m.value,"min-date":i(p),"max-date":i(g),"range-state":i(y),"disabled-date":u.value,"cell-class-name":i(o),"show-week-number":Le.showWeekNumber,disabled:i(Xe),onChangerange:i(w),onPick:$t,onSelect:i(M)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","show-week-number","disabled","onChangerange","onSelect"])):oe("v-if",!0),i(N)==="year"?(S(),ie(cc,{key:1,ref_key:"leftCurrentViewRef",ref:K,"selection-mode":"year",date:m.value,"disabled-date":u.value,"parsed-value":Le.parsedValue,disabled:i(Xe),onPick:i(ee)},null,8,["date","disabled-date","parsed-value","disabled","onPick"])):oe("v-if",!0),i(N)==="month"?(S(),ie(uc,{key:2,ref_key:"leftCurrentViewRef",ref:K,"selection-mode":"month",date:m.value,"parsed-value":Le.parsedValue,"disabled-date":u.value,disabled:i(Xe),onPick:i(ae)},null,8,["date","parsed-value","disabled-date","disabled","onPick"])):oe("v-if",!0)],2),Le.singlePanel?oe("v-if",!0):(S(),A("div",{key:1,class:P([[i(b).e("content"),i(C).e("content")],"is-right"])},[$("div",{class:P(i(C).e("header"))},[Le.unlinkPanels?(S(),A("button",{key:0,type:"button",disabled:!Ze.value||i(Xe),class:P([[i(b).e("icon-btn"),i(b).is("disabled",!Ze.value||i(Xe))],"d-arrow-left"]),"aria-label":i(T)("el.datepicker.prevYear"),onClick:$e},[le(Le.$slots,"prev-year",{},()=>[G(i(Be),null,{default:ne(()=>[G(i(Bl))]),_:1})])],10,vee)):oe("v-if",!0),Le.unlinkPanels&&i(R)==="date"?(S(),A("button",{key:1,type:"button",disabled:!Ge.value||i(Xe),class:P([[i(b).e("icon-btn"),i(b).is("disabled",!Ge.value||i(Xe))],"arrow-left"]),"aria-label":i(T)("el.datepicker.prevMonth"),onClick:Re},[le(Le.$slots,"prev-month",{},()=>[G(i(Be),null,{default:ne(()=>[G(i(mo))]),_:1})])],10,mee)):oe("v-if",!0),$("button",{type:"button","aria-label":i(T)("el.datepicker.nextYear"),class:P([i(b).e("icon-btn"),"d-arrow-right"]),disabled:i(Xe),onClick:Ae},[le(Le.$slots,"next-year",{},()=>[G(i(Be),null,{default:ne(()=>[G(i(zl))]),_:1})])],10,gee),ht($("button",{type:"button",class:P([i(b).e("icon-btn"),"arrow-right"]),disabled:i(Xe),"aria-label":i(T)("el.datepicker.nextMonth"),onClick:xe},[le(Le.$slots,"next-month",{},()=>[G(i(Be),null,{default:ne(()=>[G(i(ua))]),_:1})])],10,yee),[[It,i(R)==="date"]]),$("div",null,[$("span",{role:"button",class:P(i(C).e("header-label")),"aria-live":"polite",tabindex:Le.disabled?void 0:0,"aria-disabled":Le.disabled,onKeydown:Ue[14]||(Ue[14]=un(nt=>i(Q)("year"),["enter"])),onClick:Ue[15]||(Ue[15]=nt=>i(Q)("year"))},Se(i(j)),43,bee),ht($("span",{role:"button","aria-live":"polite",tabindex:Le.disabled?void 0:0,"aria-disabled":Le.disabled,class:P([i(C).e("header-label"),{active:i(R)==="month"}]),onKeydown:Ue[16]||(Ue[16]=un(nt=>i(Q)("month"),["enter"])),onClick:Ue[17]||(Ue[17]=nt=>i(Q)("month"))},Se(i(T)(`el.datepicker.month${v.value.month()+1}`)),43,wee),[[It,i(R)==="date"]])])],2),i(R)==="date"?(S(),ie(b2,{key:0,ref_key:"rightCurrentViewRef",ref:H,"selection-mode":"range",date:v.value,"min-date":i(p),"max-date":i(g),"range-state":i(y),"disabled-date":u.value,"cell-class-name":i(o),"show-week-number":Le.showWeekNumber,disabled:i(Xe),onChangerange:i(w),onPick:$t,onSelect:i(M)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","show-week-number","disabled","onChangerange","onSelect"])):oe("v-if",!0),i(R)==="year"?(S(),ie(cc,{key:1,ref_key:"rightCurrentViewRef",ref:H,"selection-mode":"year",date:v.value,"disabled-date":u.value,"parsed-value":Le.parsedValue,disabled:i(Xe),onPick:i(te)},null,8,["date","disabled-date","parsed-value","disabled","onPick"])):oe("v-if",!0),i(R)==="month"?(S(),ie(uc,{key:2,ref_key:"rightCurrentViewRef",ref:H,"selection-mode":"month",date:v.value,"parsed-value":Le.parsedValue,"disabled-date":u.value,disabled:i(Xe),onPick:i(ue)},null,8,["date","parsed-value","disabled-date","disabled","onPick"])):oe("v-if",!0)],2))],2)],2),Le.showFooter&&Tt.value&&(Le.showConfirm||i(r))?(S(),A("div",{key:0,class:P(i(b).e("footer"))},[i(r)?(S(),ie(i(Un),{key:0,text:"",size:"small",class:P(i(b).e("link-btn")),onClick:yt},{default:ne(()=>[bt(Se(i(T)("el.datepicker.clear")),1)]),_:1},8,["class"])):oe("v-if",!0),Le.showConfirm?(S(),ie(i(Un),{key:1,plain:"",size:"small",class:P(i(b).e("link-btn")),disabled:gt.value,onClick:Ue[18]||(Ue[18]=nt=>i(_)(!1))},{default:ne(()=>[bt(Se(i(T)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])):oe("v-if",!0)],2)):oe("v-if",!0)],2))}}),_ee=Cee;const See=ke({...J0}),xee=["pick","set-picker-option","calendar-change"],LC=({unlinkPanels:e,leftDate:t,rightDate:n})=>{const{t:a}=St();return{leftPrevYear:()=>{t.value=t.value.subtract(1,"year"),e.value||(n.value=n.value.subtract(1,"year"))},rightNextYear:()=>{e.value||(t.value=t.value.add(1,"year")),n.value=n.value.add(1,"year")},leftNextYear:()=>{t.value=t.value.add(1,"year")},rightPrevYear:()=>{n.value=n.value.subtract(1,"year")},leftLabel:x(()=>`${t.value.year()} ${a("el.datepicker.year")}`),rightLabel:x(()=>`${n.value.year()} ${a("el.datepicker.year")}`),leftYear:x(()=>t.value.year()),rightYear:x(()=>n.value.year()===t.value.year()?t.value.year()+1:n.value.year())}},kee=["disabled","onClick"],Eee=["disabled"],Tee=["disabled"],Mee=["disabled"],Oee=["disabled"],Cd="year";var $ee=W({name:"DatePickerMonthRange",__name:"panel-month-range",props:See,emits:xee,setup(e,{emit:t}){const n=e,a=t,{lang:l}=St(),o=De(Ul),{shortcuts:s,cellClassName:r}=o.props,u=At(o.props,"disabledDate"),c=At(o.props,"format"),d=At(o.props,"defaultValue"),f=B(et().locale(l.value)),h=B(et().locale(l.value).add(1,Cd)),{minDate:m,maxDate:v,rangeState:p,ppNs:g,drpNs:y,handleChangeRange:b,handleRangeConfirm:C,handleShortcutClick:w,onSelect:_,parseValue:k}=ep(n,{defaultValue:d,leftDate:f,rightDate:h,unit:Cd,sortDates:D}),M=x(()=>!!s.length),{leftPrevYear:E,rightNextYear:T,leftNextYear:O,rightPrevYear:I,leftLabel:N,rightLabel:R,leftYear:K,rightYear:H}=LC({unlinkPanels:At(n,"unlinkPanels"),leftDate:f,rightDate:h}),z=x(()=>n.singlePanel||n.unlinkPanels&&H.value>K.value+1),V=(q,Q=!0)=>{const ee=q.minDate,te=q.maxDate;v.value===te&&m.value===ee||(a("calendar-change",[ee.toDate(),te&&te.toDate()]),v.value=te,m.value=ee,Q&&C())},L=()=>{let q=null;o!=null&&o.emptyValues&&(q=o.emptyValues.valueOnClear.value),f.value=jc(i(d),{lang:i(l),unit:"year",unlinkPanels:n.unlinkPanels})[0],h.value=f.value.add(1,"year"),a("pick",q)},F=q=>br(q,c.value,l.value);function D(q,Q){n.unlinkPanels&&Q?h.value=((q==null?void 0:q.year())||0)===Q.year()?Q.add(1,Cd):Q:h.value=f.value.add(1,Cd)}const j=hn();return ce(()=>n.visible,q=>{!q&&p.value.selecting&&(k(n.parsedValue),_(!1))}),a("set-picker-option",["isValidValue",Ni]),a("set-picker-option",["parseUserInput",F]),a("set-picker-option",["handleClear",L]),(q,Q)=>(S(),A("div",{class:P([i(g).b(),i(y).b(),i(g).is("border",q.border),i(g).is("disabled",i(j)),{"has-sidebar":!!q.$slots.sidebar||M.value,"single-panel":q.singlePanel}])},[$("div",{class:P(i(g).e("body-wrapper"))},[le(q.$slots,"sidebar",{class:P(i(g).e("sidebar"))}),M.value?(S(),A("div",{key:0,class:P(i(g).e("sidebar"))},[(S(!0),A(He,null,wt(i(s),(ee,te)=>(S(),A("button",{key:te,type:"button",class:P(i(g).e("shortcut")),disabled:i(j),onClick:ae=>i(w)(ee)},Se(ee.text),11,kee))),128))],2)):oe("v-if",!0),$("div",{class:P(i(g).e("body"))},[$("div",{class:P([i(g).e("content"),i(y).e("content"),i(y).is("left",!q.singlePanel)])},[$("div",{class:P(i(y).e("header"))},[$("button",{type:"button",class:P([i(g).e("icon-btn"),"d-arrow-left"]),disabled:i(j),onClick:Q[0]||(Q[0]=(...ee)=>i(E)&&i(E)(...ee))},[le(q.$slots,"prev-year",{},()=>[G(i(Be),null,{default:ne(()=>[G(i(Bl))]),_:1})])],10,Eee),q.unlinkPanels||q.singlePanel?(S(),A("button",{key:0,type:"button",disabled:!z.value||i(j),class:P([[i(g).e("icon-btn"),i(g).is("disabled",!z.value||i(j))],"d-arrow-right"]),onClick:Q[1]||(Q[1]=(...ee)=>i(O)&&i(O)(...ee))},[le(q.$slots,"next-year",{},()=>[G(i(Be),null,{default:ne(()=>[G(i(zl))]),_:1})])],10,Tee)):oe("v-if",!0),$("div",null,Se(i(N)),1)],2),G(uc,{"selection-mode":"range",date:f.value,"min-date":i(m),"max-date":i(v),"range-state":i(p),"disabled-date":u.value,disabled:i(j),"cell-class-name":i(r),onChangerange:i(b),onPick:V,onSelect:i(_)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2),q.singlePanel?oe("v-if",!0):(S(),A("div",{key:0,class:P([[i(g).e("content"),i(y).e("content")],"is-right"])},[$("div",{class:P(i(y).e("header"))},[q.unlinkPanels?(S(),A("button",{key:0,type:"button",disabled:!z.value||i(j),class:P([[i(g).e("icon-btn"),i(g).is("disabled",!z.value||i(j))],"d-arrow-left"]),onClick:Q[2]||(Q[2]=(...ee)=>i(I)&&i(I)(...ee))},[le(q.$slots,"prev-year",{},()=>[G(i(Be),null,{default:ne(()=>[G(i(Bl))]),_:1})])],10,Mee)):oe("v-if",!0),$("button",{type:"button",class:P([i(g).e("icon-btn"),"d-arrow-right"]),disabled:i(j),onClick:Q[3]||(Q[3]=(...ee)=>i(T)&&i(T)(...ee))},[le(q.$slots,"next-year",{},()=>[G(i(Be),null,{default:ne(()=>[G(i(zl))]),_:1})])],10,Oee),$("div",null,Se(i(R)),1)],2),G(uc,{"selection-mode":"range",date:h.value,"min-date":i(m),"max-date":i(v),"range-state":i(p),"disabled-date":u.value,disabled:i(j),"cell-class-name":i(r),onChangerange:i(b),onPick:V,onSelect:i(_)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2))],2)],2)],2))}}),Nee=$ee;const Aee=ke({...J0}),Iee=["pick","set-picker-option","calendar-change"],Pee=({unlinkPanels:e,leftDate:t,rightDate:n})=>({leftPrevYear:()=>{t.value=t.value.subtract(10,"year"),e.value||(n.value=n.value.subtract(10,"year"))},rightNextYear:()=>{e.value||(t.value=t.value.add(10,"year")),n.value=n.value.add(10,"year")},leftNextYear:()=>{t.value=t.value.add(10,"year")},rightPrevYear:()=>{n.value=n.value.subtract(10,"year")},leftLabel:x(()=>{const r=Math.floor(t.value.year()/10)*10;return`${r}-${r+9}`}),rightLabel:x(()=>{const r=Math.floor(n.value.year()/10)*10;return`${r}-${r+9}`}),leftYear:x(()=>Math.floor(t.value.year()/10)*10+9),rightYear:x(()=>Math.floor(n.value.year()/10)*10)}),Ree=["disabled","onClick"],Vee=["disabled"],Lee=["disabled"],Bee=["disabled"],zee=["disabled"],Hr=10,ru="year";var Dee=W({name:"DatePickerYearRange",__name:"panel-year-range",props:Aee,emits:Iee,setup(e,{emit:t}){const n=e,a=t,{lang:l}=St(),o=B(et().locale(l.value)),s=B(et().locale(l.value).add(Hr,ru)),r=De(Ul),{shortcuts:u,cellClassName:c}=r.props,d=At(r.props,"disabledDate"),f=At(r.props,"format"),h=At(r.props,"defaultValue"),{minDate:m,maxDate:v,rangeState:p,ppNs:g,drpNs:y,handleChangeRange:b,handleRangeConfirm:C,handleShortcutClick:w,onSelect:_,parseValue:k}=ep(n,{defaultValue:h,leftDate:o,rightDate:s,step:Hr,unit:ru,sortDates:te}),{leftPrevYear:M,rightNextYear:E,leftNextYear:T,rightPrevYear:O,leftLabel:I,rightLabel:N,leftYear:R,rightYear:K}=Pee({unlinkPanels:At(n,"unlinkPanels"),leftDate:o,rightDate:s}),H=hn(),z=x(()=>!!u.length),V=x(()=>[g.b(),y.b(),g.is("border",n.border),g.is("disabled",H.value),{"has-sidebar":!!wn().sidebar||z.value,"single-panel":n.singlePanel}]),L=x(()=>({content:[g.e("content"),y.e("content"),y.is("left",!n.singlePanel)],arrowLeftBtn:[g.e("icon-btn"),"d-arrow-left"],arrowRightBtn:[g.e("icon-btn"),g.is("disabled",!D.value||H.value),"d-arrow-right"]})),F=x(()=>({content:[g.e("content"),y.e("content"),"is-right"],arrowLeftBtn:[g.e("icon-btn"),g.is("disabled",!D.value||H.value),"d-arrow-left"],arrowRightBtn:[g.e("icon-btn"),"d-arrow-right"]})),D=x(()=>n.singlePanel||n.unlinkPanels&&K.value>R.value+1),j=(ae,ue=!0)=>{const pe=ae.minDate,ge=ae.maxDate;v.value===ge&&m.value===pe||(a("calendar-change",[pe.toDate(),ge&&ge.toDate()]),v.value=ge,m.value=pe,ue&&C())},q=ae=>br(ae,f.value,l.value),Q=ae=>Ni(ae)&&(d.value?!d.value(ae[0].toDate())&&!d.value(ae[1].toDate()):!0),ee=()=>{let ae=null;r!=null&&r.emptyValues&&(ae=r.emptyValues.valueOnClear.value);const ue=jc(i(h),{lang:i(l),step:Hr,unit:ru,unlinkPanels:n.unlinkPanels});o.value=ue[0],s.value=ue[1],a("pick",ae)};function te(ae,ue){if(n.unlinkPanels&&ue){const pe=(ae==null?void 0:ae.year())||0,ge=ue.year();s.value=pe+Hr>ge?ue.add(Hr,ru):ue}else s.value=o.value.add(Hr,ru)}return ce(()=>n.visible,ae=>{!ae&&p.value.selecting&&(k(n.parsedValue),_(!1))}),a("set-picker-option",["isValidValue",Q]),a("set-picker-option",["parseUserInput",q]),a("set-picker-option",["handleClear",ee]),(ae,ue)=>(S(),A("div",{class:P(V.value)},[$("div",{class:P(i(g).e("body-wrapper"))},[le(ae.$slots,"sidebar",{class:P(i(g).e("sidebar"))}),z.value?(S(),A("div",{key:0,class:P(i(g).e("sidebar"))},[(S(!0),A(He,null,wt(i(u),(pe,ge)=>(S(),A("button",{key:ge,type:"button",class:P(i(g).e("shortcut")),disabled:i(H),onClick:X=>i(w)(pe)},Se(pe.text),11,Ree))),128))],2)):oe("v-if",!0),$("div",{class:P(i(g).e("body"))},[$("div",{class:P(L.value.content)},[$("div",{class:P(i(y).e("header"))},[$("button",{type:"button",class:P(L.value.arrowLeftBtn),disabled:i(H),onClick:ue[0]||(ue[0]=(...pe)=>i(M)&&i(M)(...pe))},[le(ae.$slots,"prev-year",{},()=>[G(i(Be),null,{default:ne(()=>[G(i(Bl))]),_:1})])],10,Vee),ae.unlinkPanels||ae.singlePanel?(S(),A("button",{key:0,type:"button",disabled:!D.value||i(H),class:P(L.value.arrowRightBtn),onClick:ue[1]||(ue[1]=(...pe)=>i(T)&&i(T)(...pe))},[le(ae.$slots,"next-year",{},()=>[G(i(Be),null,{default:ne(()=>[G(i(zl))]),_:1})])],10,Lee)):oe("v-if",!0),$("div",null,Se(i(I)),1)],2),G(cc,{"selection-mode":"range",date:o.value,"min-date":i(m),"max-date":i(v),"range-state":i(p),"disabled-date":d.value,disabled:i(H),"cell-class-name":i(c),onChangerange:i(b),onPick:j,onSelect:i(_)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2),ae.singlePanel?oe("v-if",!0):(S(),A("div",{key:0,class:P(F.value.content)},[$("div",{class:P(i(y).e("header"))},[ae.unlinkPanels?(S(),A("button",{key:0,type:"button",disabled:!D.value||i(H),class:P(F.value.arrowLeftBtn),onClick:ue[2]||(ue[2]=(...pe)=>i(O)&&i(O)(...pe))},[le(ae.$slots,"prev-year",{},()=>[G(i(Be),null,{default:ne(()=>[G(i(Bl))]),_:1})])],10,Bee)):oe("v-if",!0),$("button",{type:"button",class:P(F.value.arrowRightBtn),disabled:i(H),onClick:ue[3]||(ue[3]=(...pe)=>i(E)&&i(E)(...pe))},[le(ae.$slots,"next-year",{},()=>[G(i(Be),null,{default:ne(()=>[G(i(zl))]),_:1})])],10,zee),$("div",null,Se(i(N)),1)],2),G(cc,{"selection-mode":"range",date:s.value,"min-date":i(m),"max-date":i(v),"range-state":i(p),"disabled-date":d.value,disabled:i(H),"cell-class-name":i(c),onChangerange:i(b),onPick:j,onSelect:i(_)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2))],2)],2)],2))}}),Hee=Dee;const Fee=ke({...J0}),Kee=["pick","set-picker-option","calendar-change"],Wee=["disabled","onClick"],jee=["disabled"],qee=["disabled"],Uee=["disabled"],Yee=["disabled"],_d="year";var Gee=W({name:"DatePickerQuarterRange",__name:"panel-quarter-range",props:Fee,emits:Kee,setup(e,{emit:t}){const n=e,a=t,{lang:l}=St(),o=De(Ul),{shortcuts:s,cellClassName:r}=o.props,u=At(o.props,"disabledDate"),c=At(o.props,"format"),d=At(o.props,"defaultValue"),f=B(et().locale(l.value)),h=B(et().locale(l.value).add(1,_d)),{minDate:m,maxDate:v,rangeState:p,ppNs:g,drpNs:y,handleChangeRange:b,handleRangeConfirm:C,handleShortcutClick:w,onSelect:_,parseValue:k}=ep(n,{defaultValue:d,leftDate:f,rightDate:h,unit:_d,sortDates:q}),M=x(()=>!!s.length),{leftPrevYear:E,rightNextYear:T,leftNextYear:O,rightPrevYear:I,leftLabel:N,rightLabel:R,leftYear:K,rightYear:H}=LC({unlinkPanels:At(n,"unlinkPanels"),leftDate:f,rightDate:h}),z=x(()=>n.singlePanel||n.unlinkPanels&&H.value>K.value+1),V=(ee,te=!0)=>{const ae=ee.minDate,ue=ee.maxDate;v.value===ue&&m.value===ae||(a("calendar-change",[ae.toDate(),ue&&ue.toDate()]),v.value=ue,m.value=ae,te&&C())},L=()=>{let ee=null;o!=null&&o.emptyValues&&(ee=o.emptyValues.valueOnClear.value),f.value=jc(i(d),{lang:i(l),unit:"year",unlinkPanels:n.unlinkPanels})[0],h.value=f.value.add(1,"year"),a("pick",ee)},F=ee=>J1(ee,l.value,u.value),D=ee=>{const te=br(ee,c.value,l.value);return ve(te)?te.map(ae=>F(ae)):F(te)},j=ee=>Ni(ee)&&(u.value?!u.value(ee[0].toDate())&&!u.value(ee[1].toDate()):!0)&&!ic(ee[0],l.value,u.value)&&!ic(ee[1],l.value,u.value);function q(ee,te){n.unlinkPanels&&te?h.value=((ee==null?void 0:ee.year())||0)===te.year()?te.add(1,_d):te:h.value=f.value.add(1,_d)}const Q=hn();return ce(()=>n.visible,ee=>{!ee&&p.value.selecting&&(k(n.parsedValue),_(!1))}),a("set-picker-option",["isValidValue",j]),a("set-picker-option",["parseUserInput",D]),a("set-picker-option",["handleClear",L]),(ee,te)=>(S(),A("div",{class:P([i(g).b(),i(y).b(),i(g).is("border",ee.border),i(g).is("disabled",i(Q)),{"has-sidebar":!!ee.$slots.sidebar||M.value,"single-panel":ee.singlePanel}])},[$("div",{class:P(i(g).e("body-wrapper"))},[le(ee.$slots,"sidebar",{class:P(i(g).e("sidebar"))}),M.value?(S(),A("div",{key:0,class:P(i(g).e("sidebar"))},[(S(!0),A(He,null,wt(i(s),(ae,ue)=>(S(),A("button",{key:ue,type:"button",class:P(i(g).e("shortcut")),disabled:i(Q),onClick:pe=>i(w)(ae)},Se(ae.text),11,Wee))),128))],2)):oe("v-if",!0),$("div",{class:P(i(g).e("body"))},[$("div",{class:P([i(g).e("content"),i(y).e("content"),i(y).is("left",!ee.singlePanel)])},[$("div",{class:P(i(y).e("header"))},[$("button",{type:"button",class:P([i(g).e("icon-btn"),"d-arrow-left"]),disabled:i(Q),onClick:te[0]||(te[0]=(...ae)=>i(E)&&i(E)(...ae))},[le(ee.$slots,"prev-year",{},()=>[G(i(Be),null,{default:ne(()=>[G(i(Bl))]),_:1})])],10,jee),ee.unlinkPanels||ee.singlePanel?(S(),A("button",{key:0,type:"button",disabled:!z.value||i(Q),class:P([[i(g).e("icon-btn"),i(g).is("disabled",!z.value||i(Q))],"d-arrow-right"]),onClick:te[1]||(te[1]=(...ae)=>i(O)&&i(O)(...ae))},[le(ee.$slots,"next-year",{},()=>[G(i(Be),null,{default:ne(()=>[G(i(zl))]),_:1})])],10,qee)):oe("v-if",!0),$("div",null,Se(i(N)),1)],2),G(w2,{"selection-mode":"range",date:f.value,"min-date":i(m),"max-date":i(v),"range-state":i(p),"disabled-date":u.value,disabled:i(Q),"cell-class-name":i(r),onChangerange:i(b),onPick:V,onSelect:i(_)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2),ee.singlePanel?oe("v-if",!0):(S(),A("div",{key:0,class:P([[i(g).e("content"),i(y).e("content")],"is-right"])},[$("div",{class:P(i(y).e("header"))},[ee.unlinkPanels?(S(),A("button",{key:0,type:"button",disabled:!z.value||i(Q),class:P([[i(g).e("icon-btn"),i(g).is("disabled",!z.value||i(Q))],"d-arrow-left"]),onClick:te[2]||(te[2]=(...ae)=>i(I)&&i(I)(...ae))},[le(ee.$slots,"prev-year",{},()=>[G(i(Be),null,{default:ne(()=>[G(i(Bl))]),_:1})])],10,Uee)):oe("v-if",!0),$("button",{type:"button",class:P([i(g).e("icon-btn"),"d-arrow-right"]),disabled:i(Q),onClick:te[3]||(te[3]=(...ae)=>i(T)&&i(T)(...ae))},[le(ee.$slots,"next-year",{},()=>[G(i(Be),null,{default:ne(()=>[G(i(zl))]),_:1})])],10,Yee),$("div",null,Se(i(R)),1)],2),G(w2,{"selection-mode":"range",date:h.value,"min-date":i(m),"max-date":i(v),"range-state":i(p),"disabled-date":u.value,disabled:i(Q),"cell-class-name":i(r),onChangerange:i(b),onPick:V,onSelect:i(_)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2))],2)],2)],2))}}),Xee=Gee;const Jee=function(e){switch(e){case"daterange":case"datetimerange":return _ee;case"monthrange":return Nee;case"yearrange":return Hee;case"quarterrange":return Xee;default:return lee}};var BC={exports:{}};(function(e,t){(function(n,a){e.exports=a()})(bo,function(){return function(n,a){var l=a.prototype,o=l.format;l.format=function(s){var r=this,u=this.$locale();if(!this.isValid())return o.bind(this)(s);var c=this.$utils(),d=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(f){switch(f){case"Q":return Math.ceil((r.$M+1)/3);case"Do":return u.ordinal(r.$D);case"gggg":return r.weekYear();case"GGGG":return r.isoWeekYear();case"wo":return u.ordinal(r.week(),"W");case"w":case"ww":return c.s(r.week(),f==="w"?1:2,"0");case"W":case"WW":return c.s(r.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return c.s(String(r.$H===0?24:r.$H),f==="k"?1:2,"0");case"X":return Math.floor(r.$d.getTime()/1e3);case"x":return r.$d.getTime();case"z":return"["+r.offsetName()+"]";case"zzz":return"["+r.offsetName("long")+"]";default:return f}});return o.bind(this)(d)}}})})(BC);var Zee=BC.exports;const Qee=wo(Zee);var zC={exports:{}};(function(e,t){(function(n,a){e.exports=a()})(bo,function(){var n="week",a="year";return function(l,o,s){var r=o.prototype;r.week=function(u){if(u===void 0&&(u=null),u!==null)return this.add(7*(u-this.week()),"day");var c=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var d=s(this).startOf(a).add(1,a).date(c),f=s(this).endOf(n);if(d.isBefore(f))return 1}var h=s(this).startOf(a).date(c).startOf(n).subtract(1,"millisecond"),m=this.diff(h,n,!0);return m<0?s(this).startOf("week").week():Math.ceil(m)},r.weeks=function(u){return u===void 0&&(u=null),this.week(u)}}})})(zC);var ete=zC.exports;const tte=wo(ete);var DC={exports:{}};(function(e,t){(function(n,a){e.exports=a()})(bo,function(){return function(n,a){a.prototype.weekYear=function(){var l=this.month(),o=this.week(),s=this.year();return o===1&&l===11?s+1:l===0&&o>=52?s-1:s}}})})(DC);var nte=DC.exports;const ate=wo(nte);var HC={exports:{}};(function(e,t){(function(n,a){e.exports=a()})(bo,function(){return function(n,a,l){a.prototype.dayOfYear=function(o){var s=Math.round((l(this).startOf("day")-l(this).startOf("year"))/864e5)+1;return o==null?s:this.add(o-s,"day")}}})})(HC);var lte=HC.exports;const ote=wo(lte);var FC={exports:{}};(function(e,t){(function(n,a){e.exports=a()})(bo,function(){var n="month",a="quarter";return function(l,o){var s=o.prototype;s.quarter=function(c){return this.$utils().u(c)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(c-1))};var r=s.add;s.add=function(c,d){return c=Number(c),this.$utils().p(d)===a?this.add(3*c,n):r.bind(this)(c,d)};var u=s.startOf;s.startOf=function(c,d){var f=this.$utils(),h=!!f.u(d)||d;if(f.p(c)===a){var m=this.quarter()-1;return h?this.month(3*m).startOf(n).startOf("day"):this.month(3*m+2).endOf(n).endOf("day")}return u.bind(this)(c,d)}}})})(FC);var ste=FC.exports;const rte=wo(ste);var KC={exports:{}};(function(e,t){(function(n,a){e.exports=a()})(bo,function(){return function(n,a){a.prototype.isSameOrAfter=function(l,o){return this.isSame(l,o)||this.isAfter(l,o)}}})})(KC);var ite=KC.exports;const ute=wo(ite);var WC={exports:{}};(function(e,t){(function(n,a){e.exports=a()})(bo,function(){return function(n,a){a.prototype.isSameOrBefore=function(l,o){return this.isSame(l,o)||this.isBefore(l,o)}}})})(WC);var cte=WC.exports;const dte=wo(cte);function fte(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Yt(e)}et.extend(B9);et.extend(Qee);et.extend(F1);et.extend(tte);et.extend(ate);et.extend(ote);et.extend(rte);et.extend(ute);et.extend(dte);var pte=W({name:"ElDatePickerPanel",install:null,inheritAttrs:!1,props:SQ,emits:[it,"calendar-change","panel-change","visible-change","clear"],setup(e,{slots:t,emit:n,attrs:a}){const l=ye("picker-panel");Mt(De("EP_PICKER_BASE",void 0))&&Et(Ul,{props:Dt({...Bn(e)})}),Et(X1,{slots:t,pickerNs:l});const{parsedValue:o,onCalendarChange:s,onPanelChange:r,onSetPickerOption:u,onPick:c}=De(_9,()=>M9(e,n),!0);return()=>G(Jee(e.type),vt(Or(a,"onPick"),e,{parsedValue:o.value,"onSet-picker-option":u,"onCalendar-change":s,"onPanel-change":r,onClear:()=>n("clear"),onPick:c}),fte(t)?t:{default:()=>[t]})}});const jC=ct(pte),hte=ke({...H1,type:{type:Y(String),default:"date"}});function vte(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Yt(e)}var mte=W({name:"ElDatePicker",install:null,props:hte,emits:[it],setup(e,{expose:t,emit:n,slots:a}){Et(z1,Dt(At(e,"popperOptions")));const l=B();t({focus:()=>{var s;(s=l.value)==null||s.focus()},blur:()=>{var s;(s=l.value)==null||s.blur()},handleOpen:()=>{var s;(s=l.value)==null||s.handleOpen()},handleClose:()=>{var s;(s=l.value)==null||s.handleClose()}});const o=s=>{n(it,s)};return()=>G(O9,vt(e,{format:e.format??(pG[e.type]||"YYYY-MM-DD"),type:e.type,ref:l,"onUpdate:modelValue":o}),{default:s=>G(jC,vt({disabled:e.disabled,editable:e.editable,border:!1},s),vte(a)?a:{default:()=>[a]}),"range-separator":a["range-separator"]})}});const gte=ct(mte),yte=ke({border:Boolean,column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:zn,title:{type:String,default:""},extra:{type:String,default:""},labelWidth:{type:[String,Number]}}),qC="ElDescriptionsItem",bte=ke({label:{type:String,default:""},span:{type:Number,default:1},rowspan:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},labelWidth:{type:[String,Number]},align:{type:String,values:Ig,default:"left"},labelAlign:{type:String,values:Ig},className:{type:String,default:""},labelClassName:{type:String,default:""}}),UC=W({name:qC,props:bte}),Z1=Symbol("elDescriptions"),wte=ke({row:{type:Y(Array),default:()=>[]}});var iu=W({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){return{descriptions:De(Z1,{})}},render(){var p;const e=PR(this.cell),t=(((p=this.cell)==null?void 0:p.dirs)||[]).map(g=>{const{dir:y,arg:b,modifiers:C,value:w}=g;return[y,w,b,C]}),{border:n,direction:a}=this.descriptions,l=a==="vertical",o=()=>{var g,y,b;return((b=(y=(g=this.cell)==null?void 0:g.children)==null?void 0:y.label)==null?void 0:b.call(y))||e.label},s=()=>{var g,y,b;return(b=(y=(g=this.cell)==null?void 0:g.children)==null?void 0:y.default)==null?void 0:b.call(y)},r=e.span,u=e.rowspan,c=e.align?`is-${e.align}`:"",d=e.labelAlign?`is-${e.labelAlign}`:c,f=e.className,h=e.labelClassName,m={width:bn(this.type==="label"?e.labelWidth??this.descriptions.labelWidth??e.width:e.width),minWidth:bn(e.minWidth)},v=ye("descriptions");switch(this.type){case"label":return ht(Je(this.tag,{style:m,class:[v.e("cell"),v.e("label"),v.is("bordered-label",n),v.is("vertical-label",l),d,h],colSpan:l?r:1,rowspan:l?1:u},o()),t);case"content":return ht(Je(this.tag,{style:m,class:[v.e("cell"),v.e("content"),v.is("bordered-content",n),v.is("vertical-content",l),c,f],colSpan:l?r:r*2-1,rowspan:l?u*2-1:u},s()),t);default:{const g=o(),y={},b=bn(e.labelWidth??this.descriptions.labelWidth);return b&&(y.width=b,y.display="inline-block"),ht(Je("td",{style:m,class:[v.e("cell"),c],colSpan:r,rowspan:u},[_n(g)?void 0:Je("span",{style:y,class:[v.e("label"),h]},g),Je("span",{class:[v.e("content"),f]},s())]),t)}}}});const Cte={key:1};var _te=W({name:"ElDescriptionsRow",__name:"descriptions-row",props:wte,setup(e){const t=De(Z1,{});return(n,a)=>i(t).direction==="vertical"?(S(),A(He,{key:0},[$("tr",null,[(S(!0),A(He,null,wt(e.row,(l,o)=>(S(),ie(i(iu),{key:`tr1-${o}`,cell:l,tag:"th",type:"label"},null,8,["cell"]))),128))]),$("tr",null,[(S(!0),A(He,null,wt(e.row,(l,o)=>(S(),ie(i(iu),{key:`tr2-${o}`,cell:l,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(S(),A("tr",Cte,[(S(!0),A(He,null,wt(e.row,(l,o)=>(S(),A(He,{key:`tr3-${o}`},[i(t).border?(S(),A(He,{key:0},[G(i(iu),{cell:l,tag:"td",type:"label"},null,8,["cell"]),G(i(iu),{cell:l,tag:"td",type:"content"},null,8,["cell"])],64)):(S(),ie(i(iu),{key:1,cell:l,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}}),Ste=_te,xte=W({name:"ElDescriptions",__name:"description",props:yte,setup(e){const t=e,n=ye("descriptions"),a=Pn(),l=wn();Et(Z1,t);const o=x(()=>[n.b(),n.m(a.value)]),s=(u,c,d,f=!1)=>(u.props||(u.props={}),c>d&&(u.props.span=d),f&&(u.props.span=c),u),r=()=>{if(!l.default)return[];const u=tl(l.default()).filter(v=>{var p;return((p=v==null?void 0:v.type)==null?void 0:p.name)===qC}),c=[];let d=[],f=t.column,h=0;const m=[];return u.forEach((v,p)=>{var C,w,_;const g=((C=v.props)==null?void 0:C.span)||1,y=((w=v.props)==null?void 0:w.rowspan)||1,b=c.length;if(m[b]||(m[b]=0),y>1)for(let k=1;k0&&(f-=m[b],m[b]=0),pf?f:g),p===u.length-1){const k=t.column-h%t.column;d.push(s(v,k,f,!0)),c.push(d);return}g(S(),A("div",{class:P(o.value)},[e.title||e.extra||u.$slots.title||u.$slots.extra?(S(),A("div",{key:0,class:P(i(n).e("header"))},[$("div",{class:P(i(n).e("title"))},[le(u.$slots,"title",{},()=>[bt(Se(e.title),1)])],2),$("div",{class:P(i(n).e("extra"))},[le(u.$slots,"extra",{},()=>[bt(Se(e.extra),1)])],2)],2)):oe("v-if",!0),$("div",{class:P(i(n).e("body"))},[$("table",{class:P([i(n).e("table"),i(n).is("bordered",e.border)])},[$("tbody",null,[(S(!0),A(He,null,wt(r(),(d,f)=>(S(),ie(Ste,{key:f,row:d},null,8,["row"]))),128))])],2)],2)],2))}}),kte=xte;const Ete=ct(kte,{DescriptionsItem:UC}),Tte=mn(UC),YC=ke({center:Boolean,alignCenter:{type:Boolean,default:void 0},closeIcon:{type:Ut},draggable:{type:Boolean,default:void 0},overflow:{type:Boolean,default:void 0},fullscreen:Boolean,headerClass:{type:Y([String,Array,Object,Boolean]),default:void 0},bodyClass:{type:Y([String,Array,Object,Boolean]),default:void 0},footerClass:{type:Y([String,Array,Object,Boolean]),default:void 0},showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),Mte={close:()=>!0},GC=ke({...YC,appendToBody:Boolean,appendTo:{type:Y([String,Object]),default:"body"},beforeClose:{type:Y(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},modalPenetrable:Boolean,openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:{type:Y([String,Array,Object,Boolean]),default:void 0},width:{type:[String,Number]},zIndex:{type:Number},trapFocus:Boolean,headerAriaLevel:{type:String,default:"2"},transition:{type:Y([String,Object]),default:void 0}}),XC={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[it]:e=>qt(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},Ote=ke({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:Y([String,Array,Object,Boolean]),default:void 0},zIndex:{type:Y([String,Number])}}),$te={click:e=>e instanceof MouseEvent},Nte="overlay";var Ate=W({name:"ElOverlay",props:Ote,emits:$te,setup(e,{slots:t,emit:n}){const a=ye(Nte),l=u=>{n("click",u)},{onClick:o,onMousedown:s,onMouseup:r}=b1(e.customMaskEvent?void 0:l);return()=>e.mask?G("div",{class:[a.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:o,onMousedown:s,onMouseup:r},[le(t,"default")],14,["onClick","onMouseup","onMousedown"]):Je("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[le(t,"default")])}});const Q1=Ate,JC=Symbol("dialogInjectionKey"),j3="dialog-fade",Ite="ElDialog",ZC=(e,t)=>{const n=st().emit,{nextZIndex:a}=Pc();let l="";const o=oa(),s=oa(),r=B(!1),u=B(!1),c=B(!1),d=B(e.zIndex??a()),f=B(!1);let h,m;const v=Zo(),p=x(()=>{var q;return((q=v.value)==null?void 0:q.namespace)??"el"}),g=x(()=>{var q;return(q=v.value)==null?void 0:q.dialog}),y=x(()=>{const q={},Q=`--${p.value}-dialog`;if(!e.fullscreen){e.top&&(q[`${Q}-margin-top`]=e.top);const ee=bn(e.width);ee&&(q[`${Q}-width`]=ee)}return q}),b=x(()=>{var q;return(e.draggable??((q=g.value)==null?void 0:q.draggable)??!1)&&!e.fullscreen}),C=x(()=>{var q;return e.alignCenter??((q=g.value)==null?void 0:q.alignCenter)??!1}),w=x(()=>{var q;return e.overflow??((q=g.value)==null?void 0:q.overflow)??!1}),_=x(()=>e.modalPenetrable&&!e.modal&&!e.fullscreen),k=x(()=>C.value?{display:"flex"}:{}),M=x(()=>{var ee;const q=e.transition??((ee=g.value)==null?void 0:ee.transition)??"dialog-fade",Q={name:q,onAfterEnter:E,onBeforeLeave:O,onAfterLeave:T};if(rt(q)){const te={...q},ae=(ue,pe)=>ge=>{ve(ue)?ue.forEach(X=>{Ke(X)&&X(ge)}):Ke(ue)&&ue(ge),pe()};return te.onAfterEnter=ae(te.onAfterEnter,E),te.onBeforeLeave=ae(te.onBeforeLeave,O),te.onAfterLeave=ae(te.onAfterLeave,T),te.name||(te.name=j3,jt(Ite,`transition.name is missing when using object syntax, fallback to '${j3}'`)),te}return Q});function E(){n("opened")}function T(){n("closed"),n(it,!1),e.destroyOnClose&&(c.value=!1),f.value=!1}function O(){f.value=!0,n("close")}function I(){m==null||m(),h==null||h(),e.openDelay&&e.openDelay>0?{stop:h}=Ci(()=>H(),e.openDelay):H()}function N(){h==null||h(),m==null||m(),e.closeDelay&&e.closeDelay>0?{stop:m}=Ci(()=>z(),e.closeDelay):z()}function R(){function q(Q){Q||(u.value=!0,r.value=!1)}e.beforeClose?e.beforeClose(q):N()}function K(){e.closeOnClickModal&&R()}function H(){Bt&&(r.value=!0)}function z(){r.value=!1}function V(){n("openAutoFocus")}function L(){n("closeAutoFocus")}function F(q){var Q;((Q=q.detail)==null?void 0:Q.focusReason)==="pointer"&&q.preventDefault()}e.lockScroll&&R0(r);function D(){e.closeOnPressEscape&&R()}function j(){!r.value||!_.value||e.zIndex!==void 0||(d.value=a())}return ce(()=>e.zIndex,()=>{d.value=e.zIndex??a()}),ce(()=>e.modelValue,q=>{q?(u.value=!1,f.value=!1,I(),c.value=!0,d.value=e.zIndex??a(),Pe(()=>{n("open"),t.value&&(t.value.parentElement.scrollTop=0,t.value.parentElement.scrollLeft=0,t.value.scrollTop=0)})):r.value&&N()}),ce(()=>e.fullscreen,q=>{t.value&&(q?(l=t.value.style.transform,t.value.style.transform=""):t.value.style.transform=l)}),mt(()=>{e.modelValue&&(r.value=!0,c.value=!0,I())}),{afterEnter:E,afterLeave:T,beforeLeave:O,handleClose:R,onModalClick:K,close:N,doClose:z,onOpenAutoFocus:V,onCloseAutoFocus:L,onCloseRequested:D,onFocusoutPrevented:F,bringToFront:j,titleId:o,bodyId:s,closed:u,style:y,overlayDialogStyle:k,rendered:c,visible:r,zIndex:d,transitionConfig:M,_draggable:b,_alignCenter:C,_overflow:w,closing:f,penetrable:_}},em=(...e)=>t=>{e.forEach(n=>{n.value=t})},Pte=["aria-level"],Rte=["aria-label"],Vte=["id"];var Lte=W({name:"ElDialogContent",__name:"dialog-content",props:YC,emits:Mte,setup(e,{expose:t}){const{t:n}=St(),{Close:a}=X5,l=e,{dialogRef:o,headerRef:s,bodyId:r,ns:u,style:c}=De(JC),{focusTrapRef:d}=De(r9),f=em(d,o),h=x(()=>!!l.draggable),{resetPosition:m,updatePosition:v,isDragging:p}=jw(o,s,h,x(()=>!!l.overflow)),g=x(()=>[u.b(),u.is("fullscreen",l.fullscreen),u.is("draggable",h.value),u.is("dragging",p.value),u.is("align-center",!!l.alignCenter),{[u.m("center")]:l.center}]);return t({resetPosition:m,updatePosition:v}),(y,b)=>(S(),A("div",{ref:i(f),class:P(g.value),style:Ye(i(c)),tabindex:"-1"},[$("header",{ref_key:"headerRef",ref:s,class:P([i(u).e("header"),e.headerClass,{"show-close":e.showClose}])},[le(y.$slots,"header",{},()=>[$("span",{role:"heading","aria-level":e.ariaLevel,class:P(i(u).e("title"))},Se(e.title),11,Pte)]),e.showClose?(S(),A("button",{key:0,"aria-label":i(n)("el.dialog.close"),class:P(i(u).e("headerbtn")),type:"button",onClick:b[0]||(b[0]=C=>y.$emit("close"))},[G(i(Be),{class:P(i(u).e("close"))},{default:ne(()=>[(S(),ie(ft(e.closeIcon||i(a))))]),_:1},8,["class"])],10,Rte)):oe("v-if",!0)],2),$("div",{id:i(r),class:P([i(u).e("body"),e.bodyClass])},[le(y.$slots,"default")],10,Vte),y.$slots.footer?(S(),A("footer",{key:0,class:P([i(u).e("footer"),e.footerClass])},[le(y.$slots,"footer")],2)):oe("v-if",!0)],6))}}),Bte=Lte;const zte=["aria-label","aria-labelledby","aria-describedby"];var Dte=W({name:"ElDialog",inheritAttrs:!1,__name:"dialog",props:GC,emits:XC,setup(e,{expose:t}){const n=e,a=wn();lo({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},x(()=>!!a.title));const l=ye("dialog"),o=B(),s=B(),r=B(),{visible:u,titleId:c,bodyId:d,style:f,overlayDialogStyle:h,rendered:m,transitionConfig:v,zIndex:p,_draggable:g,_alignCenter:y,_overflow:b,penetrable:C,handleClose:w,onModalClick:_,onOpenAutoFocus:k,onCloseAutoFocus:M,onCloseRequested:E,onFocusoutPrevented:T,bringToFront:O,closing:I}=ZC(n,o);Et(JC,{dialogRef:o,headerRef:s,bodyId:d,ns:l,rendered:m,style:f});const N=b1(_);return t({visible:u,dialogContentRef:r,resetPosition:()=>{var K;(K=r.value)==null||K.resetPosition()},handleClose:w}),(K,H)=>(S(),ie(Ns,{to:e.appendTo,disabled:e.appendTo!=="body"?!1:!e.appendToBody},[G(Yn,vt(i(v),{persisted:""}),{default:ne(()=>[ht(G(i(Q1),{"custom-mask-event":"",mask:e.modal,"overlay-class":[e.modalClass??"",`${i(l).namespace.value}-modal-dialog`,i(l).is("penetrable",i(C))],"z-index":i(p)},{default:ne(()=>[$("div",{role:"dialog","aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:i(c),"aria-describedby":i(d),class:P([`${i(l).namespace.value}-overlay-dialog`,i(l).is("closing",i(I))]),style:Ye(i(h)),onClick:H[0]||(H[0]=(...z)=>i(N).onClick&&i(N).onClick(...z)),onMousedown:H[1]||(H[1]=(...z)=>i(N).onMousedown&&i(N).onMousedown(...z)),onMouseup:H[2]||(H[2]=(...z)=>i(N).onMouseup&&i(N).onMouseup(...z))},[G(i(Ui),{loop:"",trapped:i(u),"focus-start-el":"container",onFocusAfterTrapped:i(k),onFocusAfterReleased:i(M),onFocusoutPrevented:i(T),onReleaseRequested:i(E)},{default:ne(()=>[i(m)?(S(),ie(Bte,vt({key:0,ref_key:"dialogContentRef",ref:r},K.$attrs,{center:e.center,"align-center":i(y),"close-icon":e.closeIcon,draggable:i(g),overflow:i(b),fullscreen:e.fullscreen,"header-class":e.headerClass,"body-class":e.bodyClass,"footer-class":e.footerClass,"show-close":e.showClose,title:e.title,"aria-level":e.headerAriaLevel,onClose:i(w),onMousedown:i(O)}),da({header:ne(()=>[K.$slots.title?le(K.$slots,"title",{key:1}):le(K.$slots,"header",{key:0,close:i(w),titleId:i(c),titleClass:i(l).e("title")})]),default:ne(()=>[le(K.$slots,"default")]),_:2},[K.$slots.footer?{name:"footer",fn:ne(()=>[le(K.$slots,"footer")]),key:"0"}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","header-class","body-class","footer-class","show-close","title","aria-level","onClose","onMousedown"])):oe("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,zte)]),_:3},8,["mask","overlay-class","z-index"]),[[It,i(u)]])]),_:3},16)],8,["to","disabled"]))}}),Hte=Dte;const Fte=ct(Hte),Kte=ke({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:Y(String),default:"solid"}});var Wte=W({name:"ElDivider",__name:"divider",props:Kte,setup(e){const t=e,n=ye("divider"),a=x(()=>n.cssVar({"border-style":t.borderStyle}));return(l,o)=>(S(),A("div",{class:P([i(n).b(),i(n).m(e.direction)]),style:Ye(a.value),role:"separator"},[l.$slots.default&&e.direction!=="vertical"?(S(),A("div",{key:0,class:P([i(n).e("text"),i(n).is(e.contentPosition)])},[le(l.$slots,"default")],2)):oe("v-if",!0)],6))}}),jte=Wte;const QC=ct(jte),qte=ke({...GC,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},resizable:Boolean,size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),Ute={...XC,"resize-start":(e,t)=>e instanceof MouseEvent&&typeof t=="number",resize:(e,t)=>e instanceof MouseEvent&&typeof t=="number","resize-end":(e,t)=>e instanceof MouseEvent&&typeof t=="number"};function Yte(e,t,n){const{width:a,height:l}=Wv(),o=x(()=>["ltr","rtl"].includes(e.direction)),s=x(()=>["ltr","ttb"].includes(e.direction)?1:-1),r=x(()=>o.value?a.value:l.value),u=x(()=>_0(c.value+s.value*d.value,4,r.value)),c=B(0),d=B(0),f=B(!1),h=B(!1);let m=[],v=[];const p=()=>{var _;const w=(_=t.value)==null?void 0:_.closest('[aria-modal="true"]');return w?o.value?w.offsetWidth:w.offsetHeight:100};ce(()=>[e.size,e.resizable],()=>{h.value=!1,c.value=0,d.value=0,b()});const g=w=>{e.resizable&&(h.value||(c.value=p(),h.value=!0),m=[w.pageX,w.pageY],f.value=!0,n("resize-start",w,c.value),v.push(Wt(window,"mouseup",b),Wt(window,"mousemove",y)))},y=w=>{const{pageX:_,pageY:k}=w,M=_-m[0],E=k-m[1];d.value=o.value?M:E,n("resize",w,u.value)},b=w=>{f.value&&(m=[],c.value=u.value,d.value=0,f.value=!1,v.forEach(_=>_==null?void 0:_()),v=[],w&&n("resize-end",w,c.value))},C=Wt(t,"mousedown",g);return Ht(()=>{C(),b()}),{size:x(()=>h.value?`${u.value}px`:bn(e.size)),isResizing:f,isHorizontal:o}}const Gte=["aria-label","aria-labelledby","aria-describedby"],Xte=["id","aria-level"],Jte=["aria-label"],Zte=["id"];var Qte=W({name:"ElDrawer",inheritAttrs:!1,__name:"drawer",props:qte,emits:Ute,setup(e,{expose:t,emit:n}){const a=e,l=n,o=wn();lo({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},x(()=>!!o.title));const s=B(),r=B(),u=B(),c=ye("drawer"),{t:d}=St(),{afterEnter:f,afterLeave:h,beforeLeave:m,visible:v,rendered:p,titleId:g,bodyId:y,zIndex:b,onModalClick:C,onOpenAutoFocus:w,onCloseAutoFocus:_,onFocusoutPrevented:k,onCloseRequested:M,handleClose:E}=ZC(a,s),{isHorizontal:T,size:O,isResizing:I}=Yte(a,u,l),N=x(()=>a.modalPenetrable&&!a.modal);return t({handleClose:E}),(R,K)=>(S(),ie(Ns,{to:e.appendTo,disabled:e.appendTo!=="body"?!1:!e.appendToBody},[G(Yn,{name:i(c).b("fade"),onAfterEnter:i(f),onAfterLeave:i(h),onBeforeLeave:i(m),persisted:""},{default:ne(()=>[ht(G(i(Q1),{mask:e.modal,"overlay-class":[i(c).is("drawer"),e.modalClass??"",`${i(c).namespace.value}-modal-drawer`,i(c).is("penetrable",N.value)],"z-index":i(b),onClick:i(C)},{default:ne(()=>[G(i(Ui),{loop:"",trapped:i(v),"focus-trap-el":s.value,"focus-start-el":r.value,onFocusAfterTrapped:i(w),onFocusAfterReleased:i(_),onFocusoutPrevented:i(k),onReleaseRequested:i(M)},{default:ne(()=>[$("div",vt({ref_key:"drawerRef",ref:s,"aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:i(g),"aria-describedby":i(y)},R.$attrs,{class:[i(c).b(),e.direction,i(v)&&"open",i(c).is("dragging",i(I))],style:{[i(T)?"width":"height"]:i(O)},role:"dialog",onClick:K[1]||(K[1]=Qe(()=>{},["stop"]))}),[$("span",{ref_key:"focusStartRef",ref:r,class:P(i(c).e("sr-focus")),tabindex:"-1"},null,2),e.withHeader?(S(),A("header",{key:0,class:P([i(c).e("header"),e.headerClass])},[R.$slots.title?le(R.$slots,"title",{key:1},()=>[oe(" DEPRECATED SLOT ")]):le(R.$slots,"header",{key:0,close:i(E),titleId:i(g),titleClass:i(c).e("title")},()=>[$("span",{id:i(g),role:"heading","aria-level":e.headerAriaLevel,class:P(i(c).e("title"))},Se(e.title),11,Xte)]),e.showClose?(S(),A("button",{key:2,"aria-label":i(d)("el.drawer.close"),class:P(i(c).e("close-btn")),type:"button",onClick:K[0]||(K[0]=(...H)=>i(E)&&i(E)(...H))},[G(i(Be),{class:P(i(c).e("close"))},{default:ne(()=>[G(i(ll))]),_:1},8,["class"])],10,Jte)):oe("v-if",!0)],2)):oe("v-if",!0),i(p)?(S(),A("div",{key:1,id:i(y),class:P([i(c).e("body"),e.bodyClass])},[le(R.$slots,"default")],10,Zte)):oe("v-if",!0),R.$slots.footer?(S(),A("div",{key:2,class:P([i(c).e("footer"),e.footerClass])},[le(R.$slots,"footer")],2)):oe("v-if",!0),e.resizable?(S(),A("div",{key:3,ref_key:"draggerRef",ref:u,style:Ye({zIndex:i(b)}),class:P(i(c).e("dragger"))},null,6)):oe("v-if",!0)],16,Gte)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[It,i(v)]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["to","disabled"]))}}),ene=Qte;const tne=ct(ene),C2=ke({trigger:{...nr.trigger,type:Y([String,Array])},triggerKeys:{type:Y(Array),default:()=>[Ce.enter,Ce.numpadEnter,Ce.space,Ce.down]},virtualTriggering:nr.virtualTriggering,virtualRef:nr.virtualRef,effect:{...on.effect,default:"light"},type:{type:Y(String)},placement:{type:Y(String),default:"bottom"},popperOptions:{type:Y(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showArrow:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:Y([Number,String]),default:0},maxHeight:{type:Y([Number,String]),default:""},popperClass:on.popperClass,popperStyle:on.popperStyle,disabled:Boolean,role:{type:String,values:J5,default:"menu"},buttonProps:{type:Y(Object)},teleported:on.teleported,appendTo:on.appendTo,persistent:{type:Boolean,default:!0}}),e_=ke({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:Ut}}),nne=ke({onKeydown:{type:Y(Function)}}),tp=Symbol("elDropdown"),t_="elDropdown";var ane=W({inheritAttrs:!1});function lne(e,t,n,a,l,o){return le(e.$slots,"default")}var one=Hn(ane,[["render",lne]]),sne=W({name:"ElCollectionItem",inheritAttrs:!1});function rne(e,t,n,a,l,o){return le(e.$slots,"default")}var ine=Hn(sne,[["render",rne]]);const n_="data-el-collection-item",une=e=>{const t=`El${e}Collection`,n=`${t}Item`,a=Symbol(t),l=Symbol(n);return{COLLECTION_INJECTION_KEY:a,COLLECTION_ITEM_INJECTION_KEY:l,ElCollection:Object.assign({},one,{name:t,setup(){const o=B(),s=new Map;Et(a,{itemMap:s,getItems:()=>{const u=i(o);if(!u)return[];const c=Array.from(u.querySelectorAll(`[${n_}]`));return[...s.values()].sort((d,f)=>c.indexOf(d.ref)-c.indexOf(f.ref))},collectionRef:o})}}),ElCollectionItem:Object.assign({},ine,{name:n,setup(o,{attrs:s}){const r=B(),u=De(a,void 0);Et(l,{collectionItemRef:r}),mt(()=>{const c=i(r);c&&u.itemMap.set(c,{ref:c,...s})}),Ht(()=>{const c=i(r);u.itemMap.delete(c)})}})}},cne=ke({style:{type:Y([String,Array,Object,Boolean]),default:void 0},currentTabId:{type:Y(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:Y(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:dne,ElCollectionItem:fne,COLLECTION_INJECTION_KEY:a_,COLLECTION_ITEM_INJECTION_KEY:pne}=une("RovingFocusGroup"),tm=Symbol("elRovingFocusGroup"),l_=Symbol("elRovingFocusGroupItem"),hne={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},vne=(e,t)=>e,mne=(e,t,n)=>{const a=vne(Xt(e));return hne[a]},gne=(e,t)=>e.map((n,a)=>e[(a+t)%e.length]),q3=e=>{const{activeElement:t}=document;for(const n of e)if(n===t||(n.focus(),t!==document.activeElement))return},U3="currentTabIdChange",Y3="rovingFocusGroup.entryFocus",yne={bubbles:!1,cancelable:!0};var bne=W({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:cne,emits:[U3,"entryFocus"],setup(e,{emit:t}){const n=B((e.currentTabId||e.defaultCurrentTabId)??null),a=B(!1),l=B(!1),o=B(),{getItems:s}=De(a_,void 0),r=x(()=>[{outline:"none"},e.style]),u=p=>{t(U3,p)},c=()=>{a.value=!0},d=Kn(p=>{var g;(g=e.onMousedown)==null||g.call(e,p)},()=>{l.value=!0}),f=Kn(p=>{var g;(g=e.onFocus)==null||g.call(e,p)},p=>{const g=!i(l),{target:y,currentTarget:b}=p;if(y===b&&g&&!i(a)){const C=new Event(Y3,yne);if(b==null||b.dispatchEvent(C),!C.defaultPrevented){const w=s().filter(_=>_.focusable);q3([w.find(_=>_.active),w.find(_=>_.id===i(n)),...w].filter(Boolean).map(_=>_.ref))}}l.value=!1}),h=Kn(p=>{var g;(g=e.onBlur)==null||g.call(e,p)},()=>{a.value=!1}),m=(...p)=>{t("entryFocus",...p)},v=p=>{const g=mne(p);if(g){p.preventDefault();let y=s().filter(b=>b.focusable).map(b=>b.ref);switch(g){case"last":y.reverse();break;case"prev":case"next":{g==="prev"&&y.reverse();const b=y.indexOf(p.currentTarget);y=e.loop?gne(y,b+1):y.slice(b+1);break}}Pe(()=>{q3(y)})}};Et(tm,{currentTabbedId:xs(n),loop:At(e,"loop"),tabIndex:x(()=>i(a)?-1:0),rovingFocusGroupRef:o,rovingFocusGroupRootStyle:r,orientation:At(e,"orientation"),dir:At(e,"dir"),onItemFocus:u,onItemShiftTab:c,onBlur:h,onFocus:f,onMousedown:d,onKeydown:v}),ce(()=>e.currentTabId,p=>{n.value=p??null}),Wt(o,Y3,m)}});function wne(e,t,n,a,l,o){return le(e.$slots,"default")}var Cne=Hn(bne,[["render",wne]]),_ne=W({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:dne,ElRovingFocusGroupImpl:Cne}});function Sne(e,t,n,a,l,o){const s=Kt("el-roving-focus-group-impl"),r=Kt("el-focus-group-collection");return S(),ie(r,null,{default:ne(()=>[G(s,El(Ol(e.$attrs)),{default:ne(()=>[le(e.$slots,"default")]),_:3},16)]),_:3})}var xne=Hn(_ne,[["render",Sne]]),kne=W({components:{ElRovingFocusCollectionItem:fne},props:{focusable:{type:Boolean,default:!0},active:Boolean},emits:["mousedown","focus","keydown"],setup(e,{emit:t}){const{currentTabbedId:n,onItemFocus:a,onItemShiftTab:l,onKeydown:o}=De(tm,void 0),s=oa(),r=B(),u=Kn(h=>{t("mousedown",h)},h=>{e.focusable?a(i(s)):h.preventDefault()}),c=Kn(h=>{t("focus",h)},()=>{a(i(s))}),d=Kn(h=>{t("keydown",h)},h=>{const{shiftKey:m,target:v,currentTarget:p}=h;if(Xt(h)===Ce.tab&&m){l();return}v===p&&o(h)}),f=x(()=>n.value===i(s));return Et(l_,{rovingFocusGroupItemRef:r,tabIndex:x(()=>i(f)?0:-1),handleMousedown:u,handleFocus:c,handleKeydown:d}),{id:s,handleKeydown:d,handleFocus:c,handleMousedown:u}}});function Ene(e,t,n,a,l,o){const s=Kt("el-roving-focus-collection-item");return S(),ie(s,{id:e.id,focusable:e.focusable,active:e.active},{default:ne(()=>[le(e.$slots,"default")]),_:3},8,["id","focusable","active"])}var Tne=Hn(kne,[["render",Ene]]),Mne=xne;const{ButtonGroup:One}=Un;var $ne=W({name:"ElDropdown",components:{ElButton:Un,ElButtonGroup:One,ElScrollbar:Dl,ElTooltip:Gn,ElRovingFocusGroup:Mne,ElOnlyChild:t9,ElIcon:Be,ArrowDown:jl},props:C2,emits:["visible-change","click","command"],setup(e,{emit:t}){const n=st(),a=ye("dropdown"),{t:l}=St(),o=B(),s=B(),r=B(),u=B(),c=B(null),d=B(null),f=B(!1),h=x(()=>({maxHeight:bn(e.maxHeight)})),m=x(()=>[a.m(w.value)]),v=x(()=>Wn(e.trigger)),p=oa().value,g=x(()=>e.id||p);function y(){var R;(R=r.value)==null||R.onClose(void 0,0)}function b(){var R;(R=r.value)==null||R.onClose()}function C(){var R;(R=r.value)==null||R.onOpen()}const w=Pn();function _(...R){t("command",...R)}function k(){}function M(){const R=i(u);v.value.includes("hover")&&(R==null||R.focus({preventScroll:!0})),d.value=null}function E(R){d.value=R}function T(){t("visible-change",!0)}function O(R){var K;f.value=(R==null?void 0:R.type)==="keydown",(K=u.value)==null||K.focus()}function I(){t("visible-change",!1)}return Et(tp,{contentRef:u,role:x(()=>e.role),triggerId:g,isUsingKeyboard:f,onItemEnter:k,onItemLeave:M,handleClose:b}),Et(t_,{instance:n,dropdownSize:w,handleClick:y,commandHandler:_,trigger:At(e,"trigger"),hideOnClick:At(e,"hideOnClick")}),{t:l,ns:a,scrollbar:c,wrapStyle:h,dropdownTriggerKls:m,dropdownSize:w,triggerId:g,currentTabId:d,handleCurrentTabIdChange:E,handlerMainButtonClick:R=>{t("click",R)},handleClose:b,handleOpen:C,handleBeforeShowTooltip:T,handleShowTooltip:O,handleBeforeHideTooltip:I,popperRef:r,contentRef:u,triggeringElementRef:o,referenceElementRef:s}}});function Nne(e,t,n,a,l,o){const s=Kt("el-roving-focus-group"),r=Kt("el-scrollbar"),u=Kt("el-only-child"),c=Kt("el-tooltip"),d=Kt("el-button"),f=Kt("arrow-down"),h=Kt("el-icon"),m=Kt("el-button-group");return S(),A("div",{class:P([e.ns.b(),e.ns.is("disabled",e.disabled)])},[G(c,{ref:"popperRef",role:e.role,effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"popper-style":e.popperStyle,trigger:e.trigger,"trigger-keys":e.triggerKeys,"trigger-target-el":e.contentRef,"show-arrow":e.showArrow,"show-after":e.trigger==="hover"?e.showTimeout:0,"hide-after":e.trigger==="hover"?e.hideTimeout:0,"virtual-ref":e.virtualRef??e.triggeringElementRef,"virtual-triggering":e.virtualTriggering||e.splitButton,disabled:e.disabled,transition:`${e.ns.namespace.value}-zoom-in-top`,teleported:e.teleported,"append-to":e.appendTo,pure:"","focus-on-target":"",persistent:e.persistent,onBeforeShow:e.handleBeforeShowTooltip,onShow:e.handleShowTooltip,onBeforeHide:e.handleBeforeHideTooltip},da({content:ne(()=>[G(r,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:ne(()=>[G(s,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange},{default:ne(()=>[le(e.$slots,"dropdown")]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange"])]),_:3},8,["wrap-style","view-class"])]),_:2},[e.splitButton?void 0:{name:"default",fn:ne(()=>[G(u,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:ne(()=>[le(e.$slots,"default")]),_:3},8,["id","tabindex"])]),key:"0"}]),1032,["role","effect","popper-options","placement","popper-class","popper-style","trigger","trigger-keys","trigger-target-el","show-arrow","show-after","hide-after","virtual-ref","virtual-triggering","disabled","transition","teleported","append-to","persistent","onBeforeShow","onShow","onBeforeHide"]),e.splitButton?(S(),ie(m,{key:0},{default:ne(()=>[G(d,vt({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:ne(()=>[le(e.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),G(d,vt({id:e.triggerId,ref:"triggeringElementRef"},e.buttonProps,{role:"button",size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled,tabindex:e.tabindex,"aria-label":e.t("el.dropdown.toggleDropdown")}),{default:ne(()=>[G(h,{class:P(e.ns.e("icon"))},{default:ne(()=>[G(f)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):oe("v-if",!0)],2)}var Ane=Hn($ne,[["render",Nne]]),Ine=W({name:"DropdownItemImpl",components:{ElIcon:Be},props:e_,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:t}){const n=ye("dropdown"),{role:a}=De(tp,void 0),{collectionItemRef:l}=De(pne,void 0),{rovingFocusGroupItemRef:o,tabIndex:s,handleFocus:r,handleKeydown:u,handleMousedown:c}=De(l_,void 0),d=em(l,o),f=x(()=>a.value==="menu"?"menuitem":a.value==="navigation"?"link":"button"),h=Kn(m=>{const v=Xt(m);if([Ce.enter,Ce.numpadEnter,Ce.space].includes(v))return m.preventDefault(),m.stopImmediatePropagation(),t("clickimpl",m),!0},u);return{ns:n,itemRef:d,dataset:{[n_]:""},role:f,tabIndex:s,handleFocus:r,handleKeydown:h,handleMousedown:c}}});const Pne=["aria-disabled","tabindex","role"];function Rne(e,t,n,a,l,o){const s=Kt("el-icon");return S(),A(He,null,[e.divided?(S(),A("li",{key:0,role:"separator",class:P(e.ns.bem("menu","item","divided"))},null,2)):oe("v-if",!0),$("li",vt({ref:e.itemRef},{...e.dataset,...e.$attrs},{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:e.role,onClick:t[0]||(t[0]=r=>e.$emit("clickimpl",r)),onFocus:t[1]||(t[1]=(...r)=>e.handleFocus&&e.handleFocus(...r)),onKeydown:t[2]||(t[2]=Qe((...r)=>e.handleKeydown&&e.handleKeydown(...r),["self"])),onMousedown:t[3]||(t[3]=(...r)=>e.handleMousedown&&e.handleMousedown(...r)),onPointermove:t[4]||(t[4]=r=>e.$emit("pointermove",r)),onPointerleave:t[5]||(t[5]=r=>e.$emit("pointerleave",r))}),[e.icon||e.$slots.icon?(S(),ie(s,{key:0},{default:ne(()=>[le(e.$slots,"icon",{},()=>[(S(),ie(ft(e.icon)))])]),_:3})):oe("v-if",!0),le(e.$slots,"default")],16,Pne)],64)}var Vne=Hn(Ine,[["render",Rne]]);const o_=()=>{const e=De(t_,{});return{elDropdown:e,_elDropdownSize:x(()=>e==null?void 0:e.dropdownSize)}};var Lne=W({name:"ElDropdownItem",components:{ElRovingFocusItem:Tne,ElDropdownItemImpl:Vne},inheritAttrs:!1,props:e_,emits:["pointermove","pointerleave","click"],setup(e,{emit:t,attrs:n}){const{elDropdown:a}=o_(),l=st(),{onItemEnter:o,onItemLeave:s}=De(tp,void 0),r=Kn(c=>(t("pointermove",c),c.defaultPrevented),m4(c=>{if(e.disabled){s(c);return}const d=c.currentTarget;d===document.activeElement||d.contains(document.activeElement)||(o(c),c.defaultPrevented||d==null||d.focus({preventScroll:!0}))})),u=Kn(c=>(t("pointerleave",c),c.defaultPrevented),m4(s));return{handleClick:Kn(c=>{if(!e.disabled)return t("click",c),c.type!=="keydown"&&c.defaultPrevented},c=>{var d,f,h;if(e.disabled){c.stopImmediatePropagation();return}(d=a==null?void 0:a.hideOnClick)!=null&&d.value&&((f=a.handleClick)==null||f.call(a)),(h=a.commandHandler)==null||h.call(a,e.command,l,c)}),handlePointerMove:r,handlePointerLeave:u,propsAndAttrs:x(()=>({...e,...n}))}}});function Bne(e,t,n,a,l,o){const s=Kt("el-dropdown-item-impl"),r=Kt("el-roving-focus-item");return S(),ie(r,{focusable:!e.disabled},{default:ne(()=>[G(s,vt(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),da({default:ne(()=>[le(e.$slots,"default")]),_:2},[e.$slots.icon?{name:"icon",fn:ne(()=>[le(e.$slots,"icon")]),key:"0"}:void 0]),1040,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])}var s_=Hn(Lne,[["render",Bne]]),zne=W({name:"ElDropdownMenu",props:nne,setup(e){const t=ye("dropdown"),{_elDropdownSize:n}=o_(),a=n.value,{contentRef:l,role:o,triggerId:s,isUsingKeyboard:r,handleClose:u}=De(tp,void 0),{rovingFocusGroupRef:c,rovingFocusGroupRootStyle:d,onBlur:f,onFocus:h,onKeydown:m,onMousedown:v}=De(tm,void 0),{collectionRef:p}=De(a_,void 0),g=x(()=>[t.b("menu"),t.bm("menu",a==null?void 0:a.value)]),y=em(l,c,p),b=Kn(w=>{var _;(_=e.onKeydown)==null||_.call(e,w)},w=>{const{currentTarget:_,target:k}=w,M=Xt(w);if(_.contains(k),Ce.tab===M)return u();m(w)});function C(w){r.value&&h(w)}return{size:a,rovingFocusGroupRootStyle:d,dropdownKls:g,role:o,triggerId:s,dropdownListWrapperRef:y,handleKeydown:b,onBlur:f,handleFocus:C,onMousedown:v}}});const Dne=["role","aria-labelledby"];function Hne(e,t,n,a,l,o){return S(),A("ul",{ref:e.dropdownListWrapperRef,class:P(e.dropdownKls),style:Ye(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onFocusin:t[0]||(t[0]=(...s)=>e.handleFocus&&e.handleFocus(...s)),onFocusout:t[1]||(t[1]=(...s)=>e.onBlur&&e.onBlur(...s)),onKeydown:t[2]||(t[2]=Qe((...s)=>e.handleKeydown&&e.handleKeydown(...s),["self"])),onMousedown:t[3]||(t[3]=Qe((...s)=>e.onMousedown&&e.onMousedown(...s),["self"]))},[le(e.$slots,"default")],46,Dne)}var r_=Hn(zne,[["render",Hne]]);const Fne=ct(Ane,{DropdownItem:s_,DropdownMenu:r_}),Kne=mn(s_),Wne=mn(r_),jne=ke({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),qne={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Une=["id"],Yne=["stop-color"],Gne=["stop-color"],Xne=["id"],Jne=["stop-color"],Zne=["stop-color"],Qne=["id"],eae={stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},tae={transform:"translate(-1268.000000, -535.000000)"},nae={transform:"translate(1268.000000, 535.000000)"},aae=["fill"],lae=["fill"],oae={transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},sae=["fill"],rae=["fill"],iae=["fill"],uae=["fill"],cae=["fill"],dae={transform:"translate(53.000000, 45.000000)"},fae=["fill","xlink:href"],pae=["fill","mask"],hae=["fill"];var vae=W({name:"ImgEmpty",__name:"img-empty",setup(e){const t=ye("empty"),n=oa();return(a,l)=>(S(),A("svg",qne,[$("defs",null,[$("linearGradient",{id:`linearGradient-1-${i(n)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[$("stop",{"stop-color":`var(${i(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,Yne),$("stop",{"stop-color":`var(${i(t).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,Gne)],8,Une),$("linearGradient",{id:`linearGradient-2-${i(n)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[$("stop",{"stop-color":`var(${i(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,Jne),$("stop",{"stop-color":`var(${i(t).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,Zne)],8,Xne),$("rect",{id:`path-3-${i(n)}`,x:"0",y:"0",width:"17",height:"36"},null,8,Qne)]),$("g",eae,[$("g",tae,[$("g",nae,[$("path",{d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${i(t).cssVarBlockName("fill-color-3")})`},null,8,aae),$("polygon",{fill:`var(${i(t).cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,lae),$("g",oae,[$("polygon",{fill:`var(${i(t).cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,sae),$("polygon",{fill:`var(${i(t).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,rae),$("rect",{fill:`url(#linearGradient-1-${i(n)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,iae),$("polygon",{fill:`var(${i(t).cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,uae)]),$("rect",{fill:`url(#linearGradient-2-${i(n)})`,x:"13",y:"45",width:"40",height:"36"},null,8,cae),$("g",dae,[$("use",{fill:`var(${i(t).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${i(n)}`},null,8,fae),$("polygon",{fill:`var(${i(t).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${i(n)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,pae)]),$("polygon",{fill:`var(${i(t).cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,hae)])])])]))}}),mae=vae;const gae=["src"],yae={key:1};var bae=W({name:"ElEmpty",__name:"empty",props:jne,setup(e){const t=e,{t:n}=St(),a=ye("empty"),l=x(()=>t.description||n("el.table.emptyText")),o=x(()=>({width:bn(t.imageSize)}));return(s,r)=>(S(),A("div",{class:P(i(a).b())},[$("div",{class:P(i(a).e("image")),style:Ye(o.value)},[e.image?(S(),A("img",{key:0,src:e.image,ondragstart:"return false"},null,8,gae)):le(s.$slots,"image",{key:1},()=>[G(mae)])],6),$("div",{class:P(i(a).e("description"))},[s.$slots.description?le(s.$slots,"description",{key:0}):(S(),A("p",yae,Se(l.value),1))],2),s.$slots.default?(S(),A("div",{key:0,class:P(i(a).e("bottom"))},[le(s.$slots,"default")],2)):oe("v-if",!0)],2))}}),wae=bae;const i_=ct(wae),Cae=ke({hideOnClickModal:Boolean,src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:Boolean,scrollContainer:{type:Y([String,Object])},previewSrcList:{type:Y(Array),default:()=>yn([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},scale:{type:Number,default:1},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:Boolean,crossorigin:{type:Y(String)}}),_ae={load:e=>e instanceof Event,error:e=>e instanceof Event,switch:e=>qe(e),close:()=>!0,show:()=>!0},Sae=ke({urlList:{type:Y(Array),default:()=>yn([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},scale:{type:Number,default:1},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:Boolean,crossorigin:{type:Y(String)}}),xae={close:()=>!0,error:e=>e instanceof Event,switch:e=>qe(e),rotate:e=>qe(e)},kae=["src","crossorigin"];var Eae=W({name:"ElImageViewer",__name:"image-viewer",props:Sae,emits:xae,setup(e,{expose:t,emit:n}){const a={CONTAIN:{name:"contain",icon:pl(R5)},ORIGINAL:{name:"original",icon:pl(K5)}},l=e,o=n;let s;const{t:r}=St(),u=ye("image-viewer"),{nextZIndex:c}=Pc(),d=B(),f=B(),h=R2(),m=x(()=>{const{scale:ge,minScale:X,maxScale:Z}=l;return _0(ge,X,Z)}),v=B(!0),p=B(!1),g=B(!1),y=B(l.initialIndex),b=kt(a.CONTAIN),C=B({scale:m.value,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),w=B(l.zIndex??c());R0(g,{ns:u});const _=x(()=>{const{urlList:ge}=l;return ge.length<=1}),k=x(()=>y.value===0),M=x(()=>y.value===l.urlList.length-1),E=x(()=>l.urlList[y.value]),T=x(()=>[u.e("btn"),u.e("prev"),u.is("disabled",!l.infinite&&k.value)]),O=x(()=>[u.e("btn"),u.e("next"),u.is("disabled",!l.infinite&&M.value)]),I=x(()=>{const{scale:ge,deg:X,offsetX:Z,offsetY:re,enableTransition:U}=C.value;let J=Z/ge,se=re/ge;const fe=X*Math.PI/180,me=Math.cos(fe),we=Math.sin(fe);J=J*me+se*we,se=se*me-Z/ge*we;const Ve={transform:`scale(${ge}) rotate(${X}deg) translate(${J}px, ${se}px)`,transition:U?"transform .3s":""};return b.value.name===a.CONTAIN.name&&(Ve.maxWidth=Ve.maxHeight="100%"),Ve}),N=x(()=>`${y.value+1} / ${l.urlList.length}`);function R(){H(),s==null||s(),g.value=!1,o("close")}function K(){const ge=hs(Z=>{switch(Xt(Z)){case Ce.esc:l.closeOnPressEscape&&R();break;case Ce.space:j();break;case Ce.left:Q();break;case Ce.up:te("zoomIn");break;case Ce.right:ee();break;case Ce.down:te("zoomOut");break}}),X=hs(Z=>{te((Z.deltaY||Z.deltaX)<0?"zoomIn":"zoomOut",{zoomRate:l.zoomRate,enableTransition:!1})});h.run(()=>{Wt(document,"keydown",ge),Wt(d,"wheel",X)})}function H(){h.stop()}function z(){v.value=!1}function V(ge){p.value=!0,v.value=!1,o("error",ge),ge.target.alt=r("el.image.error")}function L(ge){if(v.value||ge.button!==0||!d.value)return;C.value.enableTransition=!1;const{offsetX:X,offsetY:Z}=C.value,re=ge.pageX,U=ge.pageY,J=hs(me=>{C.value={...C.value,offsetX:X+me.pageX-re,offsetY:Z+me.pageY-U}}),se=Wt(document,"mousemove",J),fe=Wt(document,"mouseup",()=>{se(),fe()});ge.preventDefault()}function F(ge){if(v.value||!d.value||ge.touches.length!==1)return;C.value.enableTransition=!1;const{offsetX:X,offsetY:Z}=C.value,{pageX:re,pageY:U}=ge.touches[0],J=hs(me=>{const we=me.touches[0];C.value={...C.value,offsetX:X+we.pageX-re,offsetY:Z+we.pageY-U}}),se=Wt(document,"touchmove",J),fe=Wt(document,"touchend",()=>{se(),fe()});ge.preventDefault()}function D(){C.value={scale:m.value,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function j(){if(v.value||p.value)return;const ge=Ju(a),X=Object.values(a),Z=b.value.name;b.value=a[ge[(X.findIndex(re=>re.name===Z)+1)%ge.length]],D()}function q(ge){p.value=!1;const X=l.urlList.length;y.value=(ge+X)%X}function Q(){k.value&&!l.infinite||q(y.value-1)}function ee(){M.value&&!l.infinite||q(y.value+1)}function te(ge,X={}){if(v.value||p.value)return;const{minScale:Z,maxScale:re}=l,{zoomRate:U,rotateDeg:J,enableTransition:se}={zoomRate:l.zoomRate,rotateDeg:90,enableTransition:!0,...X};switch(ge){case"zoomOut":C.value.scale>Z&&(C.value.scale=Number.parseFloat((C.value.scale/U).toFixed(3)));break;case"zoomIn":C.value.scale0)return ge.preventDefault(),!1}}return ce(()=>m.value,ge=>{C.value.scale=ge}),ce(E,()=>{Pe(()=>{var ge;(ge=f.value)!=null&&ge.complete||(v.value=!0)})}),ce(y,ge=>{D(),o("switch",ge)}),mt(()=>{g.value=!0,K(),s=Wt("wheel",pe,{passive:!1})}),t({setActiveItem:q}),(ge,X)=>(S(),ie(Ns,{to:"body",disabled:!e.teleported},[G(Yn,{name:"viewer-fade",appear:""},{default:ne(()=>[$("div",{ref_key:"wrapper",ref:d,tabindex:-1,class:P(i(u).e("wrapper")),style:Ye({zIndex:w.value})},[G(i(Ui),{loop:"",trapped:"","focus-trap-el":d.value,"focus-start-el":"container",onFocusoutPrevented:ae,onReleaseRequested:ue},{default:ne(()=>[$("div",{class:P(i(u).e("mask")),onClick:X[0]||(X[0]=Qe(Z=>e.hideOnClickModal&&R(),["self"]))},null,2),oe(" CLOSE "),$("span",{class:P([i(u).e("btn"),i(u).e("close")]),onClick:R},[G(i(Be),null,{default:ne(()=>[G(i(ll))]),_:1})],2),oe(" ARROW "),_.value?oe("v-if",!0):(S(),A(He,{key:0},[$("span",{class:P(T.value),onClick:Q},[G(i(Be),null,{default:ne(()=>[G(i(mo))]),_:1})],2),$("span",{class:P(O.value),onClick:ee},[G(i(Be),null,{default:ne(()=>[G(i(ua))]),_:1})],2)],64)),ge.$slots.progress||e.showProgress?(S(),A("div",{key:1,class:P([i(u).e("btn"),i(u).e("progress")])},[le(ge.$slots,"progress",{activeIndex:y.value,total:e.urlList.length},()=>[bt(Se(N.value),1)])],2)):oe("v-if",!0),oe(" ACTIONS "),$("div",{class:P([i(u).e("btn"),i(u).e("actions")])},[$("div",{class:P(i(u).e("actions__inner"))},[le(ge.$slots,"toolbar",{actions:te,prev:Q,next:ee,reset:j,activeIndex:y.value,setActiveItem:q},()=>[G(i(Be),{onClick:X[1]||(X[1]=Z=>te("zoomOut"))},{default:ne(()=>[G(i(G5))]),_:1}),G(i(Be),{onClick:X[2]||(X[2]=Z=>te("zoomIn"))},{default:ne(()=>[G(i($1))]),_:1}),$("i",{class:P(i(u).e("actions__divider"))},null,2),G(i(Be),{onClick:j},{default:ne(()=>[(S(),ie(ft(b.value.icon)))]),_:1}),$("i",{class:P(i(u).e("actions__divider"))},null,2),G(i(Be),{onClick:X[3]||(X[3]=Z=>te("anticlockwise"))},{default:ne(()=>[G(i(H5))]),_:1}),G(i(Be),{onClick:X[4]||(X[4]=Z=>te("clockwise"))},{default:ne(()=>[G(i(F5))]),_:1})])],2)],2),oe(" CANVAS "),$("div",{class:P(i(u).e("canvas"))},[p.value&&ge.$slots["viewer-error"]?le(ge.$slots,"viewer-error",{key:0,activeIndex:y.value,src:E.value}):(S(),A("img",{ref_key:"imgRef",ref:f,key:E.value,src:E.value,style:Ye(I.value),class:P(i(u).e("img")),crossorigin:e.crossorigin,onLoad:z,onError:V,onMousedown:L,onTouchstart:F},null,46,kae))],2),le(ge.$slots,"default")]),_:3},8,["focus-trap-el"])],6)]),_:3})],8,["disabled"]))}}),Tae=Eae;const u_=ct(Tae),Mae=["src","loading","crossorigin"],Oae={key:0};var $ae=W({name:"ElImage",inheritAttrs:!1,__name:"image",props:Cae,emits:_ae,setup(e,{expose:t,emit:n}){const a=e,l=n,{t:o}=St(),s=ye("image"),r=Hl(),u=x(()=>Si(Object.entries(r).filter(([V])=>/^(data-|on[A-Z])/i.test(V)||["id","style"].includes(V)))),c=P0({excludeListeners:!0,excludeKeys:x(()=>Object.keys(u.value))}),d=B(),f=B(!1),h=B(!0),m=B(!1),v=B(),p=B(),g=Bt&&"loading"in HTMLImageElement.prototype;let y;const b=x(()=>[s.e("inner"),w.value&&s.e("preview"),h.value&&s.is("loading")]),C=x(()=>{const{fit:V}=a;return Bt&&V?{objectFit:V}:{}}),w=x(()=>{const{previewSrcList:V}=a;return ve(V)&&V.length>0}),_=x(()=>{const{previewSrcList:V,initialIndex:L}=a;let F=L;return L>V.length-1&&(F=0),F}),k=x(()=>a.loading==="eager"?!1:!g&&a.loading==="lazy"||a.lazy),M=()=>{Bt&&(h.value=!0,f.value=!1,d.value=a.src)};function E(V){h.value=!1,f.value=!1,l("load",V)}function T(V){h.value=!1,f.value=!0,l("error",V)}function O(V){V&&(M(),R())}const I=H8(O,200,!0);async function N(){if(!Bt)return;await Pe();const{scrollContainer:V}=a;if(Da(V))p.value=V;else if(Ne(V)&&V!=="")p.value=document.querySelector(V)??void 0;else if(v.value){const F=u1(v.value);p.value=$c(F)?void 0:F}const{stop:L}=OT(v,([F])=>{I(F.isIntersecting)},{root:p});y=L}function R(){!Bt||!I||(y==null||y(),p.value=void 0,y=void 0)}function K(){w.value&&(m.value=!0,l("show"))}function H(){m.value=!1,l("close")}function z(V){l("switch",V)}return ce(()=>a.src,()=>{k.value?(h.value=!0,f.value=!1,R(),N()):M()}),mt(()=>{k.value?N():M()}),t({showPreview:K}),(V,L)=>(S(),A("div",vt({ref_key:"container",ref:v},u.value,{class:[i(s).b(),V.$attrs.class]}),[f.value?le(V.$slots,"error",{key:0},()=>[$("div",{class:P(i(s).e("error"))},Se(i(o)("el.image.error")),3)]):(S(),A(He,{key:1},[d.value!==void 0?(S(),A("img",vt({key:0},i(c),{src:d.value,loading:e.loading,style:C.value,class:b.value,crossorigin:e.crossorigin,onClick:K,onLoad:E,onError:T}),null,16,Mae)):oe("v-if",!0),h.value?(S(),A("div",{key:1,class:P(i(s).e("wrapper"))},[le(V.$slots,"placeholder",{},()=>[$("div",{class:P(i(s).e("placeholder"))},null,2)])],2)):oe("v-if",!0)],64)),w.value?(S(),A(He,{key:2},[m.value?(S(),ie(i(u_),{key:0,"z-index":e.zIndex,"initial-index":_.value,infinite:e.infinite,"zoom-rate":e.zoomRate,"min-scale":e.minScale,"max-scale":e.maxScale,"show-progress":e.showProgress,"url-list":e.previewSrcList,scale:e.scale,crossorigin:e.crossorigin,"hide-on-click-modal":e.hideOnClickModal,teleported:e.previewTeleported,"close-on-press-escape":e.closeOnPressEscape,onClose:H,onSwitch:z},da({toolbar:ne(F=>[le(V.$slots,"toolbar",El(Ol(F)))]),default:ne(()=>[V.$slots.viewer?(S(),A("div",Oae,[le(V.$slots,"viewer")])):oe("v-if",!0)]),_:2},[V.$slots.progress?{name:"progress",fn:ne(F=>[le(V.$slots,"progress",El(Ol(F)))]),key:"0"}:void 0,V.$slots["viewer-error"]?{name:"viewer-error",fn:ne(F=>[le(V.$slots,"viewer-error",El(Ol(F)))]),key:"1"}:void 0]),1032,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","show-progress","url-list","scale","crossorigin","hide-on-click-modal","teleported","close-on-press-escape"])):oe("v-if",!0)],64)):oe("v-if",!0)],16))}}),Nae=$ae;const Aae=ct(Nae),Iae=ke({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.MAX_SAFE_INTEGER},min:{type:Number,default:Number.MIN_SAFE_INTEGER},modelValue:{type:[Number,null]},readonly:Boolean,disabled:{type:Boolean,default:void 0},size:zn,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:Y([String,Number,null]),validator:e=>e===null||qe(e)||["min","max"].includes(e),default:null},name:String,placeholder:String,precision:{type:Number,validator:e=>e>=0&&e===Number.parseInt(`${e}`,10)},validateEvent:{type:Boolean,default:!0},...xa(["ariaLabel"]),inputmode:{type:Y(String),default:void 0},align:{type:Y(String),default:"center"},disabledScientific:Boolean,formatter:{type:Function},parser:{type:Function},tabindex:{type:[String,Number],default:0}}),Pae={[Ct]:(e,t)=>t!==e,blur:e=>e instanceof FocusEvent,focus:e=>e instanceof FocusEvent,[In]:e=>qe(e)||_n(e),[it]:e=>qe(e)||_n(e)},Rae=["aria-label"],Vae=["aria-label"];var Lae=W({name:"ElInputNumber",__name:"input-number",props:Iae,emits:Pae,setup(e,{expose:t,emit:n}){const a=e,l=n,{t:o}=St(),s=ye("input-number"),r=B(),u=Dt({currentValue:a.modelValue,userInput:null}),{formItem:c}=Xn(),d=x(()=>qe(a.modelValue)&&a.modelValue<=a.min),f=x(()=>qe(a.modelValue)&&a.modelValue>=a.max),h=x(()=>{const V=b(a.step);return Mt(a.precision)?Math.max(b(a.modelValue),V):(V>a.precision&&jt("InputNumber","precision should not be less than the decimal places of step"),a.precision)}),m=x(()=>a.controls&&a.controlsPosition==="right"),v=Pn(),p=hn(),g=x(()=>{if(u.userInput!==null)return u.userInput;let V=u.currentValue;if(_n(V))return"";if(qe(V)){if(Number.isNaN(V))return"";Mt(a.precision)||(V=V.toFixed(a.precision))}return V}),y=(V,L)=>{if(Mt(L)&&(L=h.value),L===0)return Math.round(V);let F=String(V);const D=F.indexOf(".");if(D===-1||!F.replace(".","").split("")[D+L])return V;const j=F.length;return F.charAt(j-1)==="5"&&(F=`${F.slice(0,Math.max(0,j-1))}6`),Number.parseFloat(Number(F).toFixed(L))},b=V=>{if(_n(V))return 0;const L=V.toString(),F=L.indexOf(".");let D=0;return F!==-1&&(D=L.length-F-1),D},C=(V,L=1)=>qe(V)?V>=Number.MAX_SAFE_INTEGER&&L===1?(jt("InputNumber","The value has reached the maximum safe integer limit."),V):V<=Number.MIN_SAFE_INTEGER&&L===-1?(jt("InputNumber","The value has reached the minimum safe integer limit."),V):y(V+a.step*L):u.currentValue,w=V=>{const L=Xt(V),F=Aw(V);if(a.disabledScientific&&["e","E"].includes(F)){V.preventDefault();return}switch(L){case Ce.up:V.preventDefault(),_();break;case Ce.down:V.preventDefault(),k();break}},_=()=>{a.readonly||p.value||f.value||(E(C(Number(g.value)||0)),l(In,u.currentValue),H())},k=()=>{a.readonly||p.value||d.value||(E(C(Number(g.value)||0,-1)),l(In,u.currentValue),H())},M=(V,L)=>{const{max:F,min:D,step:j,precision:q,stepStrictly:Q,valueOnClear:ee}=a;FF||teF?F:D,L&&l("update:modelValue",te)),te},E=(V,L=!0)=>{var j;const F=u.currentValue,D=M(V);if(!L){l(it,D);return}u.userInput=null,!(F===D&&V)&&(l(it,D),F!==D&&l(Ct,D,F),a.validateEvent&&((j=c==null?void 0:c.validate)==null||j.call(c,"change").catch(ut)),u.currentValue=D)},T=V=>{u.userInput=V;let L=V===""?null:Number.parseFloat(V);Number.isNaN(L)&&(L=null),l(In,L),E(L,!1)},O=V=>{const L=V!==""?Number.parseFloat(V):"";(qe(L)&&!Number.isNaN(L)||a.formatter&&Number.isNaN(L)||L==="")&&E(L),H(),u.userInput=null},I=()=>{var V,L;(L=(V=r.value)==null?void 0:V.focus)==null||L.call(V)},N=()=>{var V,L;(L=(V=r.value)==null?void 0:V.blur)==null||L.call(V)},R=V=>{l("focus",V)},K=V=>{var L,F,D;u.userInput=null,u.currentValue===null&&((L=r.value)!=null&&L.input)&&(r.value.input.value=((F=a.formatter)==null?void 0:F.call(a,""))??""),l("blur",V),a.validateEvent&&((D=c==null?void 0:c.validate)==null||D.call(c,"blur").catch(ut))},H=()=>{u.currentValue!==a.modelValue&&(u.currentValue=a.modelValue)},z=V=>{document.activeElement===V.target&&V.preventDefault()};return ce(()=>a.modelValue,(V,L)=>{const F=M(V,!0);u.userInput===null&&F!==L&&(u.currentValue=F)},{immediate:!0}),ce(()=>a.precision,()=>{u.currentValue=M(a.modelValue)}),mt(()=>{var j;const{min:V,max:L,modelValue:F}=a,D=(j=r.value)==null?void 0:j.input;if(D.setAttribute("role","spinbutton"),Number.isFinite(L)?D.setAttribute("aria-valuemax",String(L)):D.removeAttribute("aria-valuemax"),Number.isFinite(V)?D.setAttribute("aria-valuemin",String(V)):D.removeAttribute("aria-valuemin"),D.setAttribute("aria-valuenow",u.currentValue||u.currentValue===0?String(u.currentValue):""),D.setAttribute("aria-disabled",String(p.value)),!qe(F)&&F!=null){let q=Number(F);Number.isNaN(q)&&(q=null),l(it,q)}D.addEventListener("wheel",z,{passive:!1})}),qa(()=>{var V,L;(L=(V=r.value)==null?void 0:V.input)==null||L.setAttribute("aria-valuenow",`${u.currentValue??""}`)}),t({focus:I,blur:N}),(V,L)=>(S(),A("div",{class:P([i(s).b(),i(s).m(i(v)),i(s).is("disabled",i(p)),i(s).is("without-controls",!e.controls),i(s).is("controls-right",m.value),i(s).is(e.align,!!e.align)]),onDragstart:L[0]||(L[0]=Qe(()=>{},["prevent"]))},[e.controls?ht((S(),A("span",{key:0,role:"button","aria-label":i(o)("el.inputNumber.decrease"),class:P([i(s).e("decrease"),i(s).is("disabled",d.value)]),onKeydown:un(k,["enter"])},[le(V.$slots,"decrease-icon",{},()=>[G(i(Be),null,{default:ne(()=>[m.value?(S(),ie(i(jl),{key:0})):(S(),ie(i(L5),{key:1}))]),_:1})])],42,Rae)),[[i(kf),k]]):oe("v-if",!0),e.controls?ht((S(),A("span",{key:1,role:"button","aria-label":i(o)("el.inputNumber.increase"),class:P([i(s).e("increase"),i(s).is("disabled",f.value)]),onKeydown:un(_,["enter"])},[le(V.$slots,"increase-icon",{},()=>[G(i(Be),null,{default:ne(()=>[m.value?(S(),ie(i(zc),{key:0})):(S(),ie(i(M1),{key:1}))]),_:1})])],42,Vae)),[[i(kf),_]]):oe("v-if",!0),G(i(aa),{id:e.id,ref_key:"input",ref:r,type:e.formatter?"text":"number",step:e.step,"model-value":g.value,placeholder:e.placeholder,readonly:e.readonly,disabled:i(p),size:i(v),max:e.max,min:e.min,name:e.name,"aria-label":e.ariaLabel,"validate-event":!1,inputmode:e.inputmode,formatter:e.formatter,parser:e.parser,tabindex:e.tabindex,onKeydown:w,onBlur:K,onFocus:R,onInput:T,onChange:O},da({_:2},[V.$slots.prefix?{name:"prefix",fn:ne(()=>[le(V.$slots,"prefix")]),key:"0"}:void 0,V.$slots.suffix?{name:"suffix",fn:ne(()=>[le(V.$slots,"suffix")]),key:"1"}:void 0]),1032,["id","type","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","inputmode","formatter","parser","tabindex"])],34))}}),Bae=Lae;const c_=ct(Bae),zae=ke({modelValue:{type:Y(Array)},max:Number,tagType:{...jo.type,default:"info"},tagEffect:jo.effect,effect:{type:Y(String),default:"light"},trigger:{type:Y(String),default:Ce.enter},draggable:Boolean,delimiter:{type:[String,RegExp],default:""},size:zn,clearable:Boolean,clearIcon:{type:Ut,default:ql},disabled:{type:Boolean,default:void 0},validateEvent:{type:Boolean,default:!0},readonly:Boolean,autofocus:Boolean,id:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},placeholder:String,autocomplete:{type:Y(String),default:"off"},saveOnBlur:{type:Boolean,default:!0},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},ariaLabel:String}),Dae={[it]:e=>ve(e)||Mt(e),[Ct]:e=>ve(e)||Mt(e),[In]:e=>Ne(e),"add-tag":e=>Ne(e)||ve(e),"remove-tag":(e,t)=>Ne(e)&&qe(t),"drag-tag":(e,t,n)=>qe(e)&&qe(t)&&Ne(n),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0};function Hae({wrapperRef:e,handleDragged:t,afterDragged:n}){const a=ye("input-tag"),l=kt(),o=B(!1);let s,r,u,c;function d(v){return`.${a.e("inner")} .${a.namespace.value}-tag:nth-child(${v+1})`}function f(v,p){s=p,r=e.value.querySelector(d(p)),r&&(r.style.opacity="0.5"),v.dataTransfer.effectAllowed="move"}function h(v,p){if(u=p,v.preventDefault(),v.dataTransfer.dropEffect="move",Mt(s)||s===p){o.value=!1;return}const g=e.value.querySelector(d(p)).getBoundingClientRect(),y=s+1!==p,b=s-1!==p,C=v.clientX-g.left,w=y?b?.5:1:-1,_=b?y?.5:0:1;C<=g.width*w?c="before":C>g.width*_?c="after":c=void 0;const k=e.value.querySelector(`.${a.e("inner")}`),M=k.getBoundingClientRect(),E=Number.parseFloat(Io(k,"gap"))/2,T=g.top-M.top;let O=-9999;if(c==="before")O=Math.max(g.left-M.left-E,Math.floor(-E/2));else if(c==="after"){const I=g.right-M.left;O=I+(M.width===I?Math.floor(E/2):E)}Ww(l.value,{top:`${T}px`,left:`${O}px`}),o.value=!!c}function m(v){v.preventDefault(),r&&(r.style.opacity=""),c&&!Mt(s)&&!Mt(u)&&s!==u&&t(s,u,c),o.value=!1,s=void 0,r=null,u=void 0,c=void 0,n==null||n()}return{dropIndicatorRef:l,showDropIndicator:o,handleDragStart:f,handleDragOver:h,handleDragEnd:m}}function Fae(){const e=B(!1);return{hovering:e,handleMouseEnter:()=>{e.value=!0},handleMouseLeave:()=>{e.value=!1}}}function Kae({props:e,emit:t,formItem:n}){const a=hn(),l=Pn(),o=kt(),s=B(),r=B(),u=x(()=>["small"].includes(l.value)?"small":"default"),c=x(()=>{var z;return(z=e.modelValue)!=null&&z.length?void 0:e.placeholder}),d=x(()=>!(e.readonly||a.value)),f=x(()=>{var z;return Mt(e.max)?!1:(((z=e.modelValue)==null?void 0:z.length)??0)>=e.max}),h=x(()=>{var z;return e.collapseTags?(z=e.modelValue)==null?void 0:z.slice(0,e.maxCollapseTags):e.modelValue}),m=x(()=>{var z;return e.collapseTags?(z=e.modelValue)==null?void 0:z.slice(e.maxCollapseTags):[]}),v=z=>{const V=[...e.modelValue??[],...Wn(z)];t(it,V),t(Ct,V),t("add-tag",z),s.value=void 0},p=z=>{var F;const V=z.split(e.delimiter),L=V.length>1?V.map(D=>D.trim()).filter(Boolean):[];if(e.max){const D=e.max-(((F=e.modelValue)==null?void 0:F.length)??0);L.splice(D)}return L.length===1?L[0]:L},g=z=>{var Q;const V=(Q=z.clipboardData)==null?void 0:Q.getData("text");if(e.readonly||f.value||!e.delimiter||!V)return;const{selectionStart:L=0,selectionEnd:F=0,value:D}=z.target,j=D.slice(0,L)+V+D.slice(F),q=p(j);q.length&&(v(q),t(In,j),z.preventDefault())},y=z=>{if(f.value){s.value=void 0;return}if(!N.value){if(e.delimiter&&s.value){const V=p(s.value);V.length&&v(V)}t(In,z.target.value)}},b=z=>{var V;if(!N.value)switch(Xt(z)){case e.trigger:z.preventDefault(),z.stopPropagation(),w();break;case Ce.numpadEnter:e.trigger===Ce.enter&&(z.preventDefault(),z.stopPropagation(),w());break;case Ce.backspace:!s.value&&((V=e.modelValue)!=null&&V.length)&&(z.preventDefault(),z.stopPropagation(),_(e.modelValue.length-1));break}},C=z=>{if(!(N.value||!F8()))switch(Xt(z)){case Ce.space:e.trigger===Ce.space&&(z.preventDefault(),z.stopPropagation(),w());break}},w=()=>{var V;const z=(V=s.value)==null?void 0:V.trim();!z||f.value||v(z)},_=z=>{const V=(e.modelValue??[]).slice(),[L]=V.splice(z,1);t(it,V),t(Ct,V),t("remove-tag",L,z)},k=()=>{s.value=void 0,t(it,void 0),t(Ct,void 0),t("clear")},M=(z,V,L)=>{const F=(e.modelValue??[]).slice(),[D]=F.splice(z,1),j=V>z&&L==="before"?-1:V{var z;(z=o.value)==null||z.focus()},T=()=>{var z;(z=o.value)==null||z.blur()},{wrapperRef:O,isFocused:I}=Jo(o,{disabled:a,beforeBlur(z){var V;return(V=r.value)==null?void 0:V.isFocusInsideContent(z)},afterBlur(){var z;e.saveOnBlur?w():s.value=void 0,e.validateEvent&&((z=n==null?void 0:n.validate)==null||z.call(n,"blur").catch(ut))}}),{isComposing:N,handleCompositionStart:R,handleCompositionUpdate:K,handleCompositionEnd:H}=Lc({afterComposition:y});return ce(()=>e.modelValue,()=>{var z;e.validateEvent&&((z=n==null?void 0:n.validate)==null||z.call(n,Ct).catch(ut))}),{inputRef:o,wrapperRef:O,tagTooltipRef:r,isFocused:I,isComposing:N,inputValue:s,size:l,tagSize:u,placeholder:c,closable:d,disabled:a,inputLimit:f,showTagList:h,collapseTagList:m,handleDragged:M,handlePaste:g,handleInput:y,handleKeydown:b,handleKeyup:C,handleAddTag:w,handleRemoveTag:_,handleClear:k,handleCompositionStart:R,handleCompositionUpdate:K,handleCompositionEnd:H,focus:E,blur:T}}function Wae({props:e,isFocused:t,hovering:n,disabled:a,inputValue:l,size:o,validateState:s,validateIcon:r,needStatusIcon:u}){const c=Hl(),d=wn(),f=ye("input-tag"),h=ye("input"),m=B(),v=B(),p=x(()=>[f.b(),f.is("focused",t.value),f.is("hovering",n.value),f.is("disabled",a.value),f.m(o.value),f.e("wrapper"),c.class]),g=x(()=>[c.style]),y=x(()=>{var T,O;return[f.e("inner"),f.is("draggable",e.draggable),f.is("left-space",!((T=e.modelValue)!=null&&T.length)&&!d.prefix),f.is("right-space",!((O=e.modelValue)!=null&&O.length)&&!C.value)]}),b=x(()=>{var T;return e.clearable&&!a.value&&!e.readonly&&(((T=e.modelValue)==null?void 0:T.length)||l.value)&&(t.value||n.value)}),C=x(()=>d.suffix||b.value||s.value&&r.value&&u.value),w=Dt({innerWidth:0,collapseItemWidth:0}),_=()=>{if(!v.value)return 0;const T=window.getComputedStyle(v.value);return Number.parseFloat(T.gap||"6px")},k=()=>{w.innerWidth=Number.parseFloat(window.getComputedStyle(v.value).width)},M=()=>{w.collapseItemWidth=m.value.getBoundingClientRect().width},E=x(()=>{if(!e.collapseTags)return{};const T=_(),O=T+11,I=m.value&&e.maxCollapseTags===1?w.innerWidth-w.collapseItemWidth-T-O:w.innerWidth-O;return{maxWidth:`${Math.max(I,0)}px`}});return rn(v,k),rn(m,M),{ns:f,nsInput:h,containerKls:p,containerStyle:g,innerKls:y,showClear:b,showSuffix:C,tagStyle:E,collapseItemRef:m,innerRef:v}}const jae=["id","minlength","maxlength","disabled","readonly","autocomplete","tabindex","placeholder","autofocus","ariaLabel"],qae=["textContent"];var Uae=W({name:"ElInputTag",inheritAttrs:!1,__name:"input-tag",props:zae,emits:Dae,setup(e,{expose:t,emit:n}){const a=e,l=n,o=P0(),s=wn(),{form:r,formItem:u}=Xn(),{inputId:c}=Ua(a,{formItemContext:u}),d=x(()=>(r==null?void 0:r.statusIcon)??!1),f=x(()=>(u==null?void 0:u.validateState)||""),h=x(()=>f.value&&j0[f.value]),{inputRef:m,wrapperRef:v,tagTooltipRef:p,isFocused:g,inputValue:y,size:b,tagSize:C,placeholder:w,closable:_,disabled:k,showTagList:M,collapseTagList:E,handleDragged:T,handlePaste:O,handleInput:I,handleKeydown:N,handleKeyup:R,handleRemoveTag:K,handleClear:H,handleCompositionStart:z,handleCompositionUpdate:V,handleCompositionEnd:L,focus:F,blur:D}=Kae({props:a,emit:l,formItem:u}),{hovering:j,handleMouseEnter:q,handleMouseLeave:Q}=Fae(),{calculatorRef:ee,inputStyle:te}=s1(),{dropIndicatorRef:ae,showDropIndicator:ue,handleDragStart:pe,handleDragOver:ge,handleDragEnd:X}=Hae({wrapperRef:v,handleDragged:T,afterDragged:F}),{ns:Z,nsInput:re,containerKls:U,containerStyle:J,innerKls:se,showClear:fe,showSuffix:me,tagStyle:we,collapseItemRef:Ve,innerRef:Ae}=Wae({props:a,hovering:j,isFocused:g,inputValue:y,disabled:k,size:b,validateState:f,validateIcon:h,needStatusIcon:d});return t({focus:F,blur:D}),(xe,he)=>(S(),A("div",{ref_key:"wrapperRef",ref:v,class:P(i(U)),style:Ye(i(J)),onMouseenter:he[9]||(he[9]=(...Ee)=>i(q)&&i(q)(...Ee)),onMouseleave:he[10]||(he[10]=(...Ee)=>i(Q)&&i(Q)(...Ee))},[i(s).prefix?(S(),A("div",{key:0,class:P(i(Z).e("prefix"))},[le(xe.$slots,"prefix")],2)):oe("v-if",!0),$("div",{ref_key:"innerRef",ref:Ae,class:P(i(se))},[(S(!0),A(He,null,wt(i(M),(Ee,$e)=>(S(),ie(i(Do),{key:$e,size:i(C),closable:i(_),type:e.tagType,effect:e.tagEffect,draggable:i(_)&&e.draggable,style:Ye(i(we)),"disable-transitions":"",onClose:Re=>i(K)($e),onDragstart:Re=>i(pe)(Re,$e),onDragover:Re=>i(ge)(Re,$e),onDragend:i(X),onDrop:he[0]||(he[0]=Qe(()=>{},["stop"]))},{default:ne(()=>[le(xe.$slots,"tag",{value:Ee,index:$e},()=>[bt(Se(Ee),1)])]),_:2},1032,["size","closable","type","effect","draggable","style","onClose","onDragstart","onDragover","onDragend"]))),128)),e.collapseTags&&e.modelValue&&e.modelValue.length>e.maxCollapseTags?(S(),ie(i(Gn),{key:0,ref_key:"tagTooltipRef",ref:p,disabled:!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom"},{default:ne(()=>[$("div",{ref_key:"collapseItemRef",ref:Ve,class:P(i(Z).e("collapse-tag"))},[G(i(Do),{closable:!1,size:i(C),type:e.tagType,effect:e.tagEffect,"disable-transitions":""},{default:ne(()=>[bt(" + "+Se(e.modelValue.length-e.maxCollapseTags),1)]),_:1},8,["size","type","effect"])],2)]),content:ne(()=>[$("div",{class:P(i(Z).e("input-tag-list"))},[(S(!0),A(He,null,wt(i(E),(Ee,$e)=>(S(),ie(i(Do),{key:$e,size:i(C),closable:i(_),type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:Re=>i(K)($e+e.maxCollapseTags)},{default:ne(()=>[le(xe.$slots,"tag",{value:Ee,index:$e+e.maxCollapseTags},()=>[bt(Se(Ee),1)])]),_:2},1032,["size","closable","type","effect","onClose"]))),128))],2)]),_:3},8,["disabled","effect"])):oe("v-if",!0),$("div",{class:P(i(Z).e("input-wrapper"))},[ht($("input",vt({id:i(c),ref_key:"inputRef",ref:m,"onUpdate:modelValue":he[1]||(he[1]=Ee=>en(y)?y.value=Ee:null)},i(o),{type:"text",minlength:e.minlength,maxlength:e.maxlength,disabled:i(k),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,placeholder:i(w),autofocus:e.autofocus,ariaLabel:e.ariaLabel,class:i(Z).e("input"),style:i(te),onCompositionstart:he[2]||(he[2]=(...Ee)=>i(z)&&i(z)(...Ee)),onCompositionupdate:he[3]||(he[3]=(...Ee)=>i(V)&&i(V)(...Ee)),onCompositionend:he[4]||(he[4]=(...Ee)=>i(L)&&i(L)(...Ee)),onPaste:he[5]||(he[5]=(...Ee)=>i(O)&&i(O)(...Ee)),onInput:he[6]||(he[6]=(...Ee)=>i(I)&&i(I)(...Ee)),onKeydown:he[7]||(he[7]=(...Ee)=>i(N)&&i(N)(...Ee)),onKeyup:he[8]||(he[8]=(...Ee)=>i(R)&&i(R)(...Ee))}),null,16,jae),[[ur,i(y)]]),$("span",{ref_key:"calculatorRef",ref:ee,"aria-hidden":"true",class:P(i(Z).e("input-calculator")),textContent:Se(i(y))},null,10,qae)],2),ht($("div",{ref_key:"dropIndicatorRef",ref:ae,class:P(i(Z).e("drop-indicator"))},null,2),[[It,i(ue)]])],2),i(me)?(S(),A("div",{key:1,class:P(i(Z).e("suffix"))},[le(xe.$slots,"suffix"),i(fe)?(S(),ie(i(Be),{key:0,class:P([i(Z).e("icon"),i(Z).e("clear")]),onMousedown:Qe(i(ut),["prevent"]),onClick:i(H)},{default:ne(()=>[(S(),ie(ft(e.clearIcon)))]),_:1},8,["class","onMousedown","onClick"])):oe("v-if",!0),f.value&&h.value&&d.value?(S(),ie(i(Be),{key:1,class:P([i(re).e("icon"),i(re).e("validateIcon"),i(re).is("loading",f.value==="validating")])},{default:ne(()=>[(S(),ie(ft(h.value)))]),_:1},8,["class"])):oe("v-if",!0)],2)):oe("v-if",!0)],38))}}),Yae=Uae;const Gae=ct(Yae),Xae={[it]:e=>Ne(e),[Ct]:e=>Ne(e),finish:e=>Ne(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},Jae=["id","aria-label","aria-labelledby"],Zae=["value","type","disabled","readonly","inputmode","aria-label","onClick","onKeydown","onInput"];var Qae=W({name:"ElInputOtp",__name:"input-otp",props:{modelValue:{type:[String,Number],required:!1},length:{type:Number,required:!1,default:6},validator:{type:Function,required:!1,default:()=>!0},inputmode:{type:null,required:!1},type:{type:String,required:!1,default:"outlined"},size:{type:null,required:!1},mask:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1,default:void 0},readonly:{type:Boolean,required:!1},id:{type:String,required:!1},validateEvent:{type:Boolean,required:!1,default:!0},separator:{type:[String,Object,Function],required:!1},ariaLabel:{type:String,required:!1}},emits:Xae,setup(e,{expose:t,emit:n}){const a=e,l=n,o=x(()=>{const I=String(a.modelValue??"");return Array.from({length:a.length},(N,R)=>I.charAt(R))}),s=x(()=>{const{separator:I}=a,N=Ke(I)?I:()=>I;return Array.from({length:a.length-1},(R,K)=>N(K))}),r=B(o.value),u=B(!1),c=B([]),d=ye("input-otp"),{t:f}=St(),{formItem:h}=Xn(),{inputId:m,isLabeledByFormItem:v}=Ua(a,{formItemContext:h}),p=Pn(),g=hn();let y=a.modelValue;const b=I=>{const N=r.value.findIndex((R,K)=>!R&&K<=I);return N===-1?I:N},C=I=>{var N;(N=c.value)!=null&&N.includes(I.relatedTarget)||(u.value=!0,l("focus",I))},w=I=>{var N,R;(N=c.value)!=null&&N.includes(I.relatedTarget)||(u.value=!1,l("blur",I),a.validateEvent&&((R=h==null?void 0:h.validate)==null||R.call(h,"blur").catch(ut)))},_=(I=!0)=>{const N=r.value.join("").slice(0,a.length);N!==a.modelValue&&(l(it,N),I&&N.length===a.length&&l("finish",N))},k=(I,N)=>{const R=Xt(I);let K=!0;switch(R){case Ce.backspace:if(a.readonly)break;r.value[N]="",T(N-1),_();break;case Ce.delete:if(a.readonly)break;r.value[N]="",T(N),_();break;case Ce.up:case Ce.left:T(N-1);break;case Ce.down:case Ce.right:T(N+1);break;default:K=!1}K&&I.preventDefault()},M=(I,N)=>{const R=I.target,K=b(N);let H=K+1,z=R.value;if(z.length>1){const V=E(z,K);R.value=r.value[N]??"",V.forEach((L,F)=>r.value[K+F]=L),T(K+V.length),_();return}a.validator(z,K)||(R.value=r.value[N]??"",z=R.value,H=K),r.value[K]=z,K!==N&&(R.value=r.value[N]??""),T(H),_()},E=(I,N=0)=>{const R=`${I??""}`.split(""),K=[];for(const H of R){if(K.length+N>=a.length)break;a.validator(H,K.length+N)&&K.push(H)}return K},T=(I=0)=>{var K;const N=_0(I,0,a.length-1),R=(K=c.value)==null?void 0:K[N];document.activeElement!==R&&(R==null||R.focus()),Sa(()=>{!a.readonly&&document.activeElement===R&&(R==null||R.select())})},O=()=>{var I,N;(N=(I=c.value)==null?void 0:I.find(R=>document.activeElement===R))==null||N.blur()};return ce(()=>a.modelValue,()=>{var I;r.value=o.value,a.validateEvent&&((I=h==null?void 0:h.validate)==null||I.call(h,"change").catch(ut))}),ce(()=>a.length,()=>{r.value=o.value,_(!1)}),ce(u,I=>{if(I){y=a.modelValue;return}y!==a.modelValue&&l(Ct,a.modelValue)}),t({inputRefs:c,focus:T,blur:O}),(I,N)=>{var R;return S(),A("div",{id:i(m),class:P([i(d).b(),i(d).m(i(p)),i(d).m(e.type),i(d).is("disabled",i(g))]),role:"group","aria-label":i(v)?void 0:e.ariaLabel||i(f)("el.inputOTP.groupLabel"),"aria-labelledby":i(v)?(R=i(h))==null?void 0:R.labelId:void 0},[(S(!0),A(He,null,wt(e.length,(K,H)=>(S(),A(He,{key:H},[$("label",{class:P(i(d).e("input-field"))},[$("input",{ref_for:!0,ref_key:"inputRefs",ref:c,value:r.value[H],class:P(i(d).e("input")),type:e.mask?"password":"text",disabled:i(g),readonly:e.readonly,inputmode:e.inputmode,autocomplete:"one-time-code","aria-label":i(f)("el.inputOTP.defaultLabel",{index:H+1}),onFocus:C,onBlur:w,onClick:z=>T(H),onKeydown:z=>k(z,H),onInput:z=>M(z,H)},null,42,Zae)],2),(I.$slots.separator||s.value[H])&&H[(S(),ie(ft(()=>s.value[H])))]):oe("v-if",!0)],64))),128))],10,Jae)}}}),ele=Qae;const tle=ct(ele),nle=ke({type:{type:String,values:["primary","success","warning","info","danger","default"],default:void 0},underline:{type:[Boolean,String],values:[!0,!1,"always","never","hover"],default:void 0},disabled:Boolean,href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:Ut}}),ale={click:e=>e instanceof MouseEvent},lle=["href","target"];var ole=W({name:"ElLink",__name:"link",props:nle,emits:ale,setup(e,{emit:t}){const n=e,a=t,l=Zo("link");lo({scope:"el-link",from:"The underline option (boolean)",replacement:"'always' | 'hover' | 'never'",version:"3.0.0",ref:"https://element-plus.org/en-US/component/link.html#underline"},x(()=>qt(n.underline)));const o=ye("link"),s=x(()=>{var c;return[o.b(),o.m(n.type??((c=l.value)==null?void 0:c.type)??"default"),o.is("disabled",n.disabled),o.is("underline",r.value==="always"),o.is("hover-underline",r.value==="hover"&&!n.disabled)]}),r=x(()=>{var c;return qt(n.underline)?n.underline?"hover":"never":n.underline??((c=l.value)==null?void 0:c.underline)??"hover"});function u(c){n.disabled||a("click",c)}return(c,d)=>(S(),A("a",{class:P(s.value),href:e.disabled||!e.href?void 0:e.href,target:e.disabled||!e.href?void 0:e.target,onClick:u},[e.icon?(S(),ie(i(Be),{key:0},{default:ne(()=>[(S(),ie(ft(e.icon)))]),_:1})):oe("v-if",!0),c.$slots.default?(S(),A("span",{key:1,class:P(i(o).e("inner"))},[le(c.$slots,"default")],2)):oe("v-if",!0),c.$slots.icon?le(c.$slots,"icon",{key:2}):oe("v-if",!0)],10,lle))}}),sle=ole;const rle=ct(sle),nm="rootMenu",jf="subMenu:";function d_(e,t){const n=x(()=>{let a=e.parent;const l=[t.value];for(;a.type.name!=="ElMenu";)a.props.index&&l.unshift(a.props.index),a=a.parent;return l});return{parentMenu:x(()=>{let a=e.parent;for(;a&&!["ElMenu","ElSubMenu"].includes(a.type.name);)a=a.parent;return a}),indexPath:n}}function ile(e){return x(()=>{const t=e.backgroundColor;return t?new kn(t).shade(20).toString():""})}const f_=(e,t)=>{const n=ye("menu");return x(()=>n.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":ile(e).value||"","active-color":e.activeTextColor||"",level:`${t}`}))},ule=ke({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:{type:Y([String,Array,Object,Boolean]),default:void 0},popperStyle:{type:Y([String,Array,Object,Boolean]),default:void 0},disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:Ut},expandOpenIcon:{type:Ut},collapseCloseIcon:{type:Ut},collapseOpenIcon:{type:Ut}}),Kp="ElSubMenu";var am=W({name:Kp,props:ule,setup(e,{slots:t,expose:n}){const a=st(),{indexPath:l,parentMenu:o}=d_(a,x(()=>e.index)),s=ye("menu"),r=ye("sub-menu"),u=De(nm);u||vn(Kp,"can not inject root menu");const c=De(`${jf}${o.value.uid}`);c||vn(Kp,"can not inject sub menu");const d=B({}),f=B({});let h;const m=B(!1),v=B(),p=B(),g=x(()=>c.level===0),y=x(()=>E.value==="horizontal"&&g.value?"bottom-start":"right-start"),b=x(()=>E.value==="horizontal"&&g.value||E.value==="vertical"&&!u.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?k.value?e.expandOpenIcon:e.expandCloseIcon:jl:e.collapseCloseIcon&&e.collapseOpenIcon?k.value?e.collapseOpenIcon:e.collapseCloseIcon:ua),C=x(()=>{const q=e.teleported;return Mt(q)?g.value:q}),w=x(()=>u.props.collapse?`${s.namespace.value}-zoom-in-left`:`${s.namespace.value}-zoom-in-top`),_=x(()=>E.value==="horizontal"&&g.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),k=x(()=>u.openedMenus.includes(e.index)),M=x(()=>[...Object.values(d.value),...Object.values(f.value)].some(({active:q})=>q)),E=x(()=>u.props.mode),T=x(()=>u.props.persistent),O=Dt({index:e.index,indexPath:l,active:M}),I=f_(u.props,c.level+1),N=x(()=>e.popperOffset??u.props.popperOffset),R=x(()=>e.popperClass??u.props.popperClass),K=x(()=>e.popperStyle??u.props.popperStyle),H=x(()=>e.showTimeout??u.props.showTimeout),z=x(()=>e.hideTimeout??u.props.hideTimeout),V=()=>{var q,Q,ee;return(ee=(Q=(q=p.value)==null?void 0:q.popperRef)==null?void 0:Q.popperInstanceRef)==null?void 0:ee.destroy()},L=q=>{q||V()},F=()=>{u.props.menuTrigger==="hover"&&u.props.mode==="horizontal"||u.props.collapse&&u.props.mode==="vertical"||e.disabled||u.handleSubMenuClick({index:e.index,indexPath:l.value,active:M.value})},D=(q,Q=H.value)=>{var ee;if(q.type!=="focus"){if(u.props.menuTrigger==="click"&&u.props.mode==="horizontal"||!u.props.collapse&&u.props.mode==="vertical"||e.disabled){c.mouseInChild.value=!0;return}c.mouseInChild.value=!0,h==null||h(),{stop:h}=Ci(()=>{u.openMenu(e.index,l.value)},Q),C.value&&((ee=o.value.vnode.el)==null||ee.dispatchEvent(new MouseEvent("mouseenter"))),q.type==="mouseenter"&&q.target&&Pe(()=>{Nc(q.target,{preventScroll:!0})})}},j=(q=!1)=>{var Q;if(u.props.menuTrigger==="click"&&u.props.mode==="horizontal"||!u.props.collapse&&u.props.mode==="vertical"){c.mouseInChild.value=!1;return}h==null||h(),c.mouseInChild.value=!1,{stop:h}=Ci(()=>!m.value&&u.closeMenu(e.index,l.value),z.value),C.value&&q&&((Q=c.handleMouseleave)==null||Q.call(c,!0))};ce(()=>u.props.collapse,q=>L(!!q));{const q=ee=>{f.value[ee.index]=ee},Q=ee=>{delete f.value[ee.index]};Et(`${jf}${a.uid}`,{addSubMenu:q,removeSubMenu:Q,handleMouseleave:j,mouseInChild:m,level:c.level+1})}return n({opened:k}),mt(()=>{u.addSubMenu(O),c.addSubMenu(O)}),Ht(()=>{c.removeSubMenu(O),u.removeSubMenu(O)}),()=>{var ee;const q=[(ee=t.title)==null?void 0:ee.call(t),Je(Be,{class:r.e("icon-arrow"),style:{transform:k.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&u.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>Ne(b.value)?Je(a.appContext.components[b.value]):Je(b.value)})],Q=u.isMenuPopup?Je(Gn,{ref:p,visible:k.value,effect:"light",pure:!0,offset:N.value,showArrow:!1,persistent:T.value,popperClass:R.value,popperStyle:K.value,placement:y.value,teleported:C.value,fallbackPlacements:_.value,transition:w.value,gpuAcceleration:!1},{content:()=>{var te;return Je("div",{class:[s.m(E.value),s.m("popup-container"),R.value],onMouseenter:ae=>D(ae,100),onMouseleave:()=>j(!0),onFocus:ae=>D(ae,100)},[Je("ul",{class:[s.b(),s.m("popup"),s.m(`popup-${y.value}`)],style:I.value},[(te=t.default)==null?void 0:te.call(t)])])},default:()=>Je("div",{class:r.e("title"),onClick:F},q)}):Je(He,{},[Je("div",{class:r.e("title"),ref:v,onClick:F},q),Je(G0,{},{default:()=>{var te;return ht(Je("ul",{role:"menu",class:[s.b(),s.m("inline")],style:I.value},[(te=t.default)==null?void 0:te.call(t)]),[[It,k.value]])}})]);return Je("li",{class:[r.b(),r.is("active",M.value),r.is("opened",k.value),r.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:k.value,onMouseenter:D,onMouseleave:()=>j(),onFocus:D},[Q])}}}),cle=class{constructor(e,t){this.parent=e,this.domNode=t,this.subIndex=0,this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(e){e===this.subMenuItems.length?e=0:e<0&&(e=this.subMenuItems.length-1),this.subMenuItems[e].focus(),this.subIndex=e}addListeners(){const e=this.parent.domNode;this.subMenuItems.forEach(t=>{t.addEventListener("keydown",n=>{const a=Xt(n);let l=!1;switch(a){case Ce.down:this.gotoSubIndex(this.subIndex+1),l=!0;break;case Ce.up:this.gotoSubIndex(this.subIndex-1),l=!0;break;case Ce.tab:Pd(e,"mouseleave");break;case Ce.enter:case Ce.numpadEnter:case Ce.space:l=!0,n.currentTarget.click();break}return l&&(n.preventDefault(),n.stopPropagation()),!1})})}},dle=class{constructor(e,t){this.domNode=e,this.submenu=null,this.init(t)}init(e){this.domNode.setAttribute("tabindex","0");const t=this.domNode.querySelector(`.${e}-menu`);t&&(this.submenu=new cle(this,t)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",e=>{var a,l;const t=Xt(e);let n=!1;switch(t){case Ce.down:Pd(e.currentTarget,"mouseenter"),(a=this.submenu)==null||a.gotoSubIndex(0),n=!0;break;case Ce.up:Pd(e.currentTarget,"mouseenter"),(l=this.submenu)==null||l.gotoSubIndex(this.submenu.subMenuItems.length-1),n=!0;break;case Ce.tab:Pd(e.currentTarget,"mouseleave");break;case Ce.enter:case Ce.numpadEnter:case Ce.space:n=!0,e.currentTarget.click();break}n&&e.preventDefault()})}},fle=class{constructor(e,t){this.domNode=e,this.init(t)}init(e){const t=this.domNode.childNodes;Array.from(t).forEach(n=>{n.nodeType===1&&new dle(n,e)})}},ple=W({name:"ElMenuCollapseTransition",__name:"menu-collapse-transition",setup(e){const t=ye("menu"),n={onBeforeEnter:a=>a.style.opacity="0.2",onEnter(a,l){dl(a,`${t.namespace.value}-opacity-transition`),a.style.opacity="1",l()},onAfterEnter(a){Ca(a,`${t.namespace.value}-opacity-transition`),a.style.opacity=""},onBeforeLeave(a){a.dataset||(a.dataset={}),hl(a,t.m("collapse"))?(Ca(a,t.m("collapse")),a.dataset.oldOverflow=a.style.overflow,a.dataset.scrollWidth=a.clientWidth.toString(),dl(a,t.m("collapse"))):(dl(a,t.m("collapse")),a.dataset.oldOverflow=a.style.overflow,a.dataset.scrollWidth=a.clientWidth.toString(),Ca(a,t.m("collapse"))),a.style.width=`${a.scrollWidth}px`,a.style.overflow="hidden"},onLeave(a){dl(a,"horizontal-collapse-transition"),a.style.width=`${a.dataset.scrollWidth}px`}};return(a,l)=>(S(),ie(Yn,vt({mode:"out-in"},n),{default:ne(()=>[le(a.$slots,"default")]),_:3},16))}}),hle=ple;const vle=ke({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:Y(Array),default:()=>yn([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:Ut,default:()=>B5},popperEffect:{type:Y(String),default:"dark"},popperClass:{type:Y([String,Array,Object,Boolean]),default:void 0},popperStyle:{type:Y([String,Array,Object,Boolean]),default:void 0},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},persistent:{type:Boolean,default:!0}}),Wp=e=>ve(e)&&e.every(t=>Ne(t)),mle={close:(e,t)=>Ne(e)&&Wp(t),open:(e,t)=>Ne(e)&&Wp(t),select:(e,t,n,a)=>Ne(e)&&Wp(t)&&rt(n)&&(Mt(a)||a instanceof Promise)},G3=64;var gle=W({name:"ElMenu",props:vle,emits:mle,setup(e,{emit:t,slots:n,expose:a}){const l=st(),o=l.appContext.config.globalProperties.$router,s=B(),r=B(),u=ye("menu"),c=ye("sub-menu");let d=G3;const f=B(-1),h=B(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),m=B(e.defaultActive),v=B({}),p=B({}),g=x(()=>e.mode==="horizontal"||e.mode==="vertical"&&e.collapse),y=()=>{const V=m.value&&v.value[m.value];!V||e.mode==="horizontal"||e.collapse||V.indexPath.forEach(L=>{const F=p.value[L];F&&b(L,F.indexPath)})},b=(V,L)=>{h.value.includes(V)||(e.uniqueOpened&&(h.value=h.value.filter(F=>L.includes(F))),h.value.push(V),t("open",V,L))},C=V=>{const L=h.value.indexOf(V);L!==-1&&h.value.splice(L,1)},w=(V,L)=>{C(V),t("close",V,L)},_=({index:V,indexPath:L})=>{h.value.includes(V)?w(V,L):b(V,L)},k=V=>{(e.mode==="horizontal"||e.collapse)&&(h.value=[]);const{index:L,indexPath:F}=V;if(!(_n(L)||_n(F)))if(e.router&&o){const D=V.route||L,j=o.push(D).then(q=>(q||(m.value=L),q));t("select",L,F,{index:L,indexPath:F,route:D},j)}else m.value=L,t("select",L,F,{index:L,indexPath:F})},M=V=>{var F;const L=v.value;m.value=((F=L[V]||m.value&&L[m.value]||L[e.defaultActive])==null?void 0:F.index)??V},E=V=>{const L=getComputedStyle(V),F=Number.parseInt(L.marginLeft,10),D=Number.parseInt(L.marginRight,10);return V.offsetWidth+F+D||0},T=()=>{if(!s.value)return-1;const V=Array.from(s.value.childNodes).filter(ee=>ee.nodeName!=="#comment"&&(ee.nodeName!=="#text"||ee.nodeValue)),L=getComputedStyle(s.value),F=Number.parseInt(L.paddingLeft,10),D=Number.parseInt(L.paddingRight,10),j=s.value.clientWidth-F-D;let q=0,Q=0;return V.forEach((ee,te)=>{q+=E(ee),q<=j-d&&(Q=te+1)}),Q===V.length?-1:Q},O=V=>p.value[V].indexPath,I=(V,L=33.34)=>{let F;return()=>{F&&clearTimeout(F),F=setTimeout(()=>{V()},L)}};let N=!0;const R=()=>{const V=Vn(r);if(V&&(d=E(V)||G3),f.value===T())return;const L=()=>{f.value=-1,Pe(()=>{f.value=T()})};N?L():I(L)(),N=!1};ce(()=>e.defaultActive,V=>{v.value[V]||(m.value=""),M(V)}),ce(()=>e.collapse,V=>{V&&(h.value=[])}),ce(v.value,y);let K;la(()=>{e.mode==="horizontal"&&e.ellipsis?K=rn(s,R).stop:K==null||K()});const H=B(!1);{const V=j=>{p.value[j.index]=j},L=j=>{delete p.value[j.index]};Et(nm,Dt({props:e,openedMenus:h,items:v,subMenus:p,activeIndex:m,isMenuPopup:g,addMenuItem:j=>{v.value[j.index]=j},removeMenuItem:j=>{delete v.value[j.index]},addSubMenu:V,removeSubMenu:L,openMenu:b,closeMenu:w,handleMenuItemClick:k,handleSubMenuClick:_})),Et(`${jf}${l.uid}`,{addSubMenu:V,removeSubMenu:L,mouseInChild:H,level:0})}mt(()=>{e.mode==="horizontal"&&new fle(l.vnode.el,u.namespace.value)}),a({open:L=>{const{indexPath:F}=p.value[L];F.forEach(D=>b(D,F))},close:C,updateActiveIndex:M,handleResize:R});const z=f_(e,0);return()=>{var j;let V=((j=n.default)==null?void 0:j.call(n))??[];const L=[];if(e.mode==="horizontal"&&s.value){const q=tl(V).filter(te=>(te==null?void 0:te.shapeFlag)!==8),Q=f.value===-1?q:q.slice(0,f.value),ee=f.value===-1?[]:q.slice(f.value);ee!=null&&ee.length&&e.ellipsis&&(V=Q,L.push(Je(am,{ref:r,index:"sub-menu-more",class:c.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>Je(Be,{class:c.e("icon-more")},{default:()=>Je(e.ellipsisIcon)}),default:()=>ee})))}const F=e.closeOnClickOutside?[[Ts,()=>{h.value.length&&(H.value||(h.value.forEach(q=>t("close",q,O(q))),h.value=[]))}]]:[],D=ht(Je("ul",{key:String(e.collapse),role:"menubar",ref:s,style:z.value,class:{[u.b()]:!0,[u.m(e.mode)]:!0,[u.m("collapse")]:e.collapse}},[...V,...L]),F);return e.collapseTransition&&e.mode==="vertical"?Je(hle,()=>D):D}}});const yle=ke({index:{type:String,required:!0},route:{type:Y([String,Object])},disabled:Boolean}),ble={click:e=>Ne(e.index)&&ve(e.indexPath)},wle={title:String},jp="ElMenuItem";var Cle=W({name:jp,__name:"menu-item",props:yle,emits:ble,setup(e,{expose:t,emit:n}){const a=e,l=n,o=st(),s=De(nm),r=ye("menu"),u=ye("menu-item");s||vn(jp,"can not inject root menu");const{parentMenu:c,indexPath:d}=d_(o,At(a,"index")),f=De(`${jf}${c.value.uid}`);f||vn(jp,"can not inject sub menu");const h=x(()=>a.index===s.activeIndex),m=Dt({index:a.index,indexPath:d,active:h}),v=()=>{a.disabled||(s.handleMenuItemClick({index:a.index,indexPath:d.value,route:a.route}),l("click",m))};return mt(()=>{f.addSubMenu(m),s.addMenuItem(m)}),Ht(()=>{f.removeSubMenu(m),s.removeMenuItem(m)}),t({parentMenu:c,rootMenu:s,active:h,nsMenu:r,nsMenuItem:u,handleClick:v}),(p,g)=>(S(),A("li",{class:P([i(u).b(),i(u).is("active",h.value),i(u).is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:v},[i(c).type.name==="ElMenu"&&i(s).props.collapse&&p.$slots.title?(S(),ie(i(Gn),{key:0,effect:i(s).props.popperEffect,placement:"right","fallback-placements":["left"],"popper-class":i(s).props.popperClass,"popper-style":i(s).props.popperStyle,persistent:i(s).props.persistent,"focus-on-target":""},{content:ne(()=>[le(p.$slots,"title")]),default:ne(()=>[$("div",{class:P(i(r).be("tooltip","trigger"))},[le(p.$slots,"default")],2)]),_:3},8,["effect","popper-class","popper-style","persistent"])):(S(),A(He,{key:1},[le(p.$slots,"default"),le(p.$slots,"title")],64))],2))}}),p_=Cle,_le=W({name:"ElMenuItemGroup",__name:"menu-item-group",props:wle,setup(e){const t=ye("menu-item-group");return(n,a)=>(S(),A("li",{class:P(i(t).b())},[$("div",{class:P(i(t).e("title"))},[n.$slots.title?le(n.$slots,"title",{key:1}):(S(),A(He,{key:0},[bt(Se(e.title),1)],64))],2),$("ul",null,[le(n.$slots,"default")])],2))}}),h_=_le;const Sle=ct(gle,{MenuItem:p_,MenuItemGroup:h_,SubMenu:am}),xle=mn(p_),kle=mn(h_),Ele=mn(am),Tle=ke({icon:{type:Ut,default:()=>O5},title:String,content:{type:String,default:""}}),Mle={back:()=>!0},Ole=["aria-label"];var $le=W({name:"ElPageHeader",__name:"page-header",props:Tle,emits:Mle,setup(e,{emit:t}){const n=t,{t:a}=St(),l=ye("page-header");function o(){n("back")}return(s,r)=>(S(),A("div",{class:P([i(l).b(),i(l).is("contentful",!!s.$slots.default),{[i(l).m("has-breadcrumb")]:!!s.$slots.breadcrumb,[i(l).m("has-extra")]:!!s.$slots.extra}])},[s.$slots.breadcrumb?(S(),A("div",{key:0,class:P(i(l).e("breadcrumb"))},[le(s.$slots,"breadcrumb")],2)):oe("v-if",!0),$("div",{class:P(i(l).e("header"))},[$("div",{class:P(i(l).e("left"))},[$("div",{class:P(i(l).e("back")),role:"button",tabindex:"0",onClick:o},[e.icon||s.$slots.icon?(S(),A("div",{key:0,"aria-label":e.title||i(a)("el.pageHeader.title"),class:P(i(l).e("icon"))},[le(s.$slots,"icon",{},()=>[e.icon?(S(),ie(i(Be),{key:0},{default:ne(()=>[(S(),ie(ft(e.icon)))]),_:1})):oe("v-if",!0)])],10,Ole)):oe("v-if",!0),$("div",{class:P(i(l).e("title"))},[le(s.$slots,"title",{},()=>[bt(Se(e.title||i(a)("el.pageHeader.title")),1)])],2)],2),G(i(QC),{direction:"vertical"}),$("div",{class:P(i(l).e("content"))},[le(s.$slots,"content",{},()=>[bt(Se(e.content),1)])],2)],2),s.$slots.extra?(S(),A("div",{key:0,class:P(i(l).e("extra"))},[le(s.$slots,"extra")],2)):oe("v-if",!0)],2),s.$slots.default?(S(),A("div",{key:1,class:P(i(l).e("main"))},[le(s.$slots,"default")],2)):oe("v-if",!0)],2))}}),Nle=$le;const Ale=ct(Nle),v_=Symbol("elPaginationKey"),Ile=ke({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:Ut}}),Ple={click:e=>e instanceof MouseEvent},Rle=["disabled","aria-label","aria-disabled"],Vle={key:0};var Lle=W({name:"ElPaginationPrev",__name:"prev",props:Ile,emits:Ple,setup(e){const t=e,{t:n}=St(),a=x(()=>t.disabled||t.currentPage<=1);return(l,o)=>(S(),A("button",{type:"button",class:"btn-prev",disabled:a.value,"aria-label":l.prevText||i(n)("el.pagination.prev"),"aria-disabled":a.value,onClick:o[0]||(o[0]=s=>l.$emit("click",s))},[l.prevText?(S(),A("span",Vle,Se(l.prevText),1)):(S(),ie(i(Be),{key:1},{default:ne(()=>[(S(),ie(ft(l.prevIcon)))]),_:1}))],8,Rle))}}),Ble=Lle;const zle=ke({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:Ut}}),Dle=["disabled","aria-label","aria-disabled"],Hle={key:0};var Fle=W({name:"ElPaginationNext",__name:"next",props:zle,emits:["click"],setup(e){const t=e,{t:n}=St(),a=x(()=>t.disabled||t.currentPage===t.pageCount||t.pageCount===0);return(l,o)=>(S(),A("button",{type:"button",class:"btn-next",disabled:a.value,"aria-label":l.nextText||i(n)("el.pagination.next"),"aria-disabled":a.value,onClick:o[0]||(o[0]=s=>l.$emit("click",s))},[l.nextText?(S(),A("span",Hle,Se(l.nextText),1)):(S(),ie(i(Be),{key:1},{default:ne(()=>[(S(),ie(ft(l.nextIcon)))]),_:1}))],8,Dle))}}),Kle=Fle;const lm=()=>De(v_,{}),Wle=ke({pageSize:{type:Number,required:!0},pageSizes:{type:Y(Array),default:()=>yn([10,20,30,40,50,100])},popperClass:{type:Y([String,Array,Object,Boolean]),default:void 0},popperStyle:{type:Y([String,Array,Object,Boolean]),default:void 0},disabled:Boolean,teleported:Boolean,size:{type:String,values:Fl},appendSizeTo:String});var jle=W({name:"ElPaginationSizes",__name:"sizes",props:Wle,emits:["page-size-change"],setup(e,{emit:t}){const n=e,a=t,{t:l}=St(),o=ye("pagination"),s=lm(),r=B(n.pageSize);ce(()=>n.pageSizes,(d,f)=>{gn(d,f)||ve(d)&&a("page-size-change",d.includes(n.pageSize)?n.pageSize:n.pageSizes[0])}),ce(()=>n.pageSize,d=>{r.value=d});const u=x(()=>n.pageSizes);function c(d){var f;d!==r.value&&(r.value=d,(f=s.handleSizeChange)==null||f.call(s,Number(d)))}return(d,f)=>(S(),A("span",{class:P(i(o).e("sizes"))},[G(i(Os),{"model-value":r.value,disabled:d.disabled,"popper-class":d.popperClass,"popper-style":d.popperStyle,size:d.size,teleported:d.teleported,"validate-event":!1,"append-to":d.appendSizeTo,onChange:c},{default:ne(()=>[(S(!0),A(He,null,wt(u.value,h=>(S(),ie(i(If),{key:h,value:h,label:h+i(l)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","popper-style","size","teleported","append-to"])],2))}}),qle=jle;const Ule=ke({size:{type:String,values:Fl}}),Yle=["disabled"];var Gle=W({name:"ElPaginationJumper",__name:"jumper",props:Ule,setup(e){const{t}=St(),n=ye("pagination"),{pageCount:a,disabled:l,currentPage:o,changeEvent:s}=lm(),r=B(),u=x(()=>r.value??(o==null?void 0:o.value));function c(f){r.value=f?+f:""}function d(f){f=Math.trunc(+f),s==null||s(f),r.value=void 0}return(f,h)=>(S(),A("span",{class:P(i(n).e("jump")),disabled:i(l)},[$("span",{class:P([i(n).e("goto")])},Se(i(t)("el.pagination.goto")),3),G(i(aa),{size:f.size,class:P([i(n).e("editor"),i(n).is("in-pagination")]),min:1,max:i(a),disabled:i(l),"model-value":u.value,"validate-event":!1,"aria-label":i(t)("el.pagination.page"),type:"number","onUpdate:modelValue":c,onChange:d},null,8,["size","class","max","disabled","model-value","aria-label"]),$("span",{class:P([i(n).e("classifier")])},Se(i(t)("el.pagination.pageClassifier")),3)],10,Yle))}}),Xle=Gle;const Jle=ke({total:{type:Number,default:1e3}}),Zle=["disabled"];var Qle=W({name:"ElPaginationTotal",__name:"total",props:Jle,setup(e){const{t}=St(),n=ye("pagination"),{disabled:a}=lm();return(l,o)=>(S(),A("span",{class:P(i(n).e("total")),disabled:i(a)},Se(i(t)("el.pagination.total",{total:l.total})),11,Zle))}}),eoe=Qle;const toe=ke({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),noe=["aria-current","aria-label","tabindex"],aoe=["tabindex","aria-label"],loe=["aria-current","aria-label","tabindex"],ooe=["tabindex","aria-label"],soe=["aria-current","aria-label","tabindex"];var roe=W({name:"ElPaginationPager",__name:"pager",props:toe,emits:[Ct],setup(e,{emit:t}){const n=e,a=t,l=ye("pager"),o=ye("icon"),{t:s}=St(),r=B(!1),u=B(!1),c=B(!1),d=B(!1),f=B(!1),h=B(!1),m=x(()=>{const _=n.pagerCount,k=(_-1)/2,M=Number(n.currentPage),E=Number(n.pageCount);let T=!1,O=!1;E>_&&(M>_-k&&(T=!0),M["more","btn-quickprev",o.b(),l.is("disabled",n.disabled)]),p=x(()=>["more","btn-quicknext",o.b(),l.is("disabled",n.disabled)]),g=x(()=>n.disabled?-1:0);ce(()=>[n.pageCount,n.pagerCount,n.currentPage],([_,k,M])=>{const E=(k-1)/2;let T=!1,O=!1;_>k&&(T=M>k-E,O=M<_-E),c.value&&(c.value=T),d.value&&(d.value=O),r.value=T,u.value=O},{immediate:!0});function y(_=!1){n.disabled||(_?c.value=!0:d.value=!0)}function b(_=!1){_?f.value=!0:h.value=!0}function C(_){const k=_.target;if(k.tagName.toLowerCase()==="li"&&Array.from(k.classList).includes("number")){const M=Number(k.textContent);M!==n.currentPage&&a(Ct,M)}else k.tagName.toLowerCase()==="li"&&Array.from(k.classList).includes("more")&&w(_)}function w(_){const k=_.target;if(k.tagName.toLowerCase()==="ul"||n.disabled)return;let M=Number(k.textContent);const E=n.pageCount,T=n.currentPage,O=n.pagerCount-2;k.className.includes("more")&&(k.className.includes("quickprev")?M=T-O:k.className.includes("quicknext")&&(M=T+O)),Number.isNaN(+M)||(M<1&&(M=1),M>E&&(M=E)),M!==T&&a(Ct,M)}return(_,k)=>(S(),A("ul",{class:P(i(l).b()),onClick:w,onKeyup:un(C,["enter"])},[_.pageCount>0?(S(),A("li",{key:0,class:P([[i(l).is("active",_.currentPage===1),i(l).is("disabled",_.disabled)],"number"]),"aria-current":_.currentPage===1,"aria-label":i(s)("el.pagination.currentPage",{pager:1}),tabindex:g.value}," 1 ",10,noe)):oe("v-if",!0),r.value?(S(),A("li",{key:1,class:P(v.value),tabindex:g.value,"aria-label":i(s)("el.pagination.prevPages",{pager:_.pagerCount-2}),onMouseenter:k[0]||(k[0]=M=>y(!0)),onMouseleave:k[1]||(k[1]=M=>c.value=!1),onFocus:k[2]||(k[2]=M=>b(!0)),onBlur:k[3]||(k[3]=M=>f.value=!1)},[(c.value||f.value)&&!_.disabled?(S(),ie(i(Bl),{key:0})):(S(),ie(i(Yh),{key:1}))],42,aoe)):oe("v-if",!0),(S(!0),A(He,null,wt(m.value,M=>(S(),A("li",{key:M,class:P([[i(l).is("active",_.currentPage===M),i(l).is("disabled",_.disabled)],"number"]),"aria-current":_.currentPage===M,"aria-label":i(s)("el.pagination.currentPage",{pager:M}),tabindex:g.value},Se(M),11,loe))),128)),u.value?(S(),A("li",{key:2,class:P(p.value),tabindex:g.value,"aria-label":i(s)("el.pagination.nextPages",{pager:_.pagerCount-2}),onMouseenter:k[4]||(k[4]=M=>y()),onMouseleave:k[5]||(k[5]=M=>d.value=!1),onFocus:k[6]||(k[6]=M=>b()),onBlur:k[7]||(k[7]=M=>h.value=!1)},[(d.value||h.value)&&!_.disabled?(S(),ie(i(zl),{key:0})):(S(),ie(i(Yh),{key:1}))],42,ooe)):oe("v-if",!0),_.pageCount>1?(S(),A("li",{key:3,class:P([[i(l).is("active",_.currentPage===_.pageCount),i(l).is("disabled",_.disabled)],"number"]),"aria-current":_.currentPage===_.pageCount,"aria-label":i(s)("el.pagination.currentPage",{pager:_.pageCount}),tabindex:g.value},Se(_.pageCount),11,soe)):oe("v-if",!0)],34))}}),ioe=roe;const ka=e=>typeof e!="number",uoe=ke({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>qe(e)&&Math.trunc(e)===e&&e>4&&e<22&&e%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:Y(Array),default:()=>yn([10,20,30,40,50,100])},popperClass:{type:Y([String,Array,Object,Boolean]),default:""},popperStyle:{type:Y([String,Array,Object,Boolean]),default:void 0},prevText:{type:String,default:""},prevIcon:{type:Ut,default:()=>mo},nextText:{type:String,default:""},nextIcon:{type:Ut,default:()=>ua},teleported:{type:Boolean,default:!0},small:Boolean,size:zn,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean,appendSizeTo:String}),coe={"update:current-page":e=>qe(e),"update:page-size":e=>qe(e),"size-change":e=>qe(e),change:(e,t)=>qe(e)&&qe(t),"current-change":e=>qe(e),"prev-click":e=>qe(e),"next-click":e=>qe(e)},X3="ElPagination";var doe=W({name:X3,props:uoe,emits:coe,setup(e,{emit:t,slots:n}){const{t:a}=St(),l=ye("pagination"),o=st().vnode.props||{},s=k5(),r=x(()=>e.small?"small":e.size??s.value);lo({from:"small",replacement:"size",version:"3.0.0",scope:"el-pagination",ref:"https://element-plus.org/zh-CN/component/pagination.html"},x(()=>!!e.small));const u="onUpdate:currentPage"in o||"onUpdate:current-page"in o||"onCurrentChange"in o,c="onUpdate:pageSize"in o||"onUpdate:page-size"in o||"onSizeChange"in o,d=x(()=>{if(ka(e.total)&&ka(e.pageCount)||!ka(e.currentPage)&&!u)return!1;if(e.layout.includes("sizes")){if(ka(e.pageCount)){if(!ka(e.total)&&!ka(e.pageSize)&&!c)return!1}else if(!c)return!1}return!0}),f=B(ka(e.defaultPageSize)?10:e.defaultPageSize),h=B(ka(e.defaultCurrentPage)?1:e.defaultCurrentPage),m=x({get(){return ka(e.pageSize)?f.value:e.pageSize},set(_){ka(e.pageSize)&&(f.value=_),c&&(t("update:page-size",_),t("size-change",_))}}),v=x(()=>{let _=0;return ka(e.pageCount)?ka(e.total)||(_=Math.max(1,Math.ceil(e.total/m.value))):_=e.pageCount,_}),p=x({get(){return ka(e.currentPage)?h.value:e.currentPage},set(_){let k=_;_<1?k=1:_>v.value&&(k=v.value),ka(e.currentPage)&&(h.value=k),u&&(t("update:current-page",k),t("current-change",k))}});ce(v,_=>{p.value>_&&(p.value=_)}),ce([p,m],_=>{t(Ct,..._)},{flush:"post"});function g(_){p.value=_}function y(_){m.value=_;const k=v.value;p.value>k&&(p.value=k)}function b(){e.disabled||(p.value-=1,t("prev-click",p.value))}function C(){e.disabled||(p.value+=1,t("next-click",p.value))}function w(_,k){_&&(_.props||(_.props={}),_.props.class=[_.props.class,k].join(" "))}return Et(v_,{pageCount:v,disabled:x(()=>e.disabled),currentPage:p,changeEvent:g,handleSizeChange:y}),()=>{var I;if(!d.value)return jt(X3,a("el.pagination.deprecationWarning")),null;if(!e.layout||e.hideOnSinglePage&&v.value<=1)return null;const _=[],k=[],M=Je("div",{class:l.e("rightwrapper")},k),E={prev:Je(Ble,{disabled:e.disabled,currentPage:p.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:b}),jumper:Je(Xle,{size:r.value}),pager:Je(ioe,{currentPage:p.value,pageCount:v.value,pagerCount:e.pagerCount,onChange:g,disabled:e.disabled}),next:Je(Kle,{disabled:e.disabled,currentPage:p.value,pageCount:v.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:C}),sizes:Je(qle,{pageSize:m.value,pageSizes:e.pageSizes,popperClass:e.popperClass,popperStyle:e.popperStyle,disabled:e.disabled,teleported:e.teleported,size:r.value,appendSizeTo:e.appendSizeTo}),slot:((I=n==null?void 0:n.default)==null?void 0:I.call(n))??null,total:Je(eoe,{total:ka(e.total)?0:e.total})},T=e.layout.split(",").map(N=>N.trim());let O=!1;return T.forEach(N=>{if(N==="->"){O=!0;return}O?k.push(E[N]):_.push(E[N])}),w(_[0],l.is("first")),w(_[_.length-1],l.is("last")),O&&k.length>0&&(w(k[0],l.is("first")),w(k[k.length-1],l.is("last")),_.push(M)),Je("div",{class:[l.b(),l.is("background",e.background),l.m(r.value)]},_)}}});const foe=ct(doe),poe=ke({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:t2,default:"primary"},cancelButtonType:{type:String,values:t2,default:"text"},icon:{type:Ut,default:()=>D5},iconColor:{type:String,default:"#f90"},hideIcon:Boolean,hideAfter:{type:Number,default:200},effect:{...on.effect,default:"light"},teleported:on.teleported,persistent:on.persistent,width:{type:[String,Number],default:150},virtualTriggering:nr.virtualTriggering,virtualRef:nr.virtualRef}),hoe={confirm:e=>e instanceof MouseEvent,cancel:e=>e instanceof MouseEvent};var voe=W({name:"ElPopconfirm",__name:"popconfirm",props:poe,emits:hoe,setup(e,{expose:t,emit:n}){const a=e,l=n,{t:o}=St(),s=ye("popconfirm"),r=B(),u=B(),c=x(()=>{var y;return(y=i(r))==null?void 0:y.popperRef}),d=()=>{var y,b;(b=(y=u.value)==null?void 0:y.focus)==null||b.call(y)},f=()=>{var y,b;(b=(y=r.value)==null?void 0:y.onClose)==null||b.call(y)},h=x(()=>({width:bn(a.width)})),m=y=>{l("confirm",y),f()},v=y=>{l("cancel",y),f()},p=x(()=>a.confirmButtonText||o("el.popconfirm.confirmButtonText")),g=x(()=>a.cancelButtonText||o("el.popconfirm.cancelButtonText"));return t({popperRef:c,hide:f}),(y,b)=>(S(),ie(i(Gn),vt({ref_key:"tooltipRef",ref:r,trigger:"click",effect:e.effect},y.$attrs,{"virtual-triggering":e.virtualTriggering,"virtual-ref":e.virtualRef,"popper-class":`${i(s).namespace.value}-popover`,"popper-style":h.value,teleported:e.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":e.hideAfter,persistent:e.persistent,loop:"",onShow:d}),{content:ne(()=>[$("div",{ref_key:"rootRef",ref:u,tabindex:"-1",class:P(i(s).b())},[$("div",{class:P(i(s).e("main"))},[!e.hideIcon&&e.icon?(S(),ie(i(Be),{key:0,class:P(i(s).e("icon")),style:Ye({color:e.iconColor})},{default:ne(()=>[(S(),ie(ft(e.icon)))]),_:1},8,["class","style"])):oe("v-if",!0),bt(" "+Se(e.title),1)],2),$("div",{class:P(i(s).e("action"))},[le(y.$slots,"actions",{confirm:m,cancel:v},()=>[G(i(Un),{size:"small",type:e.cancelButtonType==="text"?"":e.cancelButtonType,text:e.cancelButtonType==="text",onClick:v},{default:ne(()=>[bt(Se(g.value),1)]),_:1},8,["type","text"]),G(i(Un),{size:"small",type:e.confirmButtonType==="text"?"":e.confirmButtonType,text:e.confirmButtonType==="text",onClick:m},{default:ne(()=>[bt(Se(p.value),1)]),_:1},8,["type","text"])])],2)],2)]),default:ne(()=>[y.$slots.reference?le(y.$slots,"reference",{key:0}):oe("v-if",!0)]),_:3},16,["effect","virtual-triggering","virtual-ref","popper-class","popper-style","teleported","hide-after","persistent"]))}}),moe=voe;const goe=ct(moe),yoe=ke({...Or(mu,["ariaLabel","gpuAcceleration","rawContent"]),placement:C2.placement,tabindex:C2.tabindex,effect:{...mu.effect,default:"light"},title:String,width:{type:[String,Number],default:150},offset:{...mu.offset,default:void 0},persistent:{...mu.persistent,default:!0}}),boe={"update:visible":e=>qt(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0};({...Or(TU,["gpuAcceleration"])});var woe=W({name:"ElPopover",__name:"popover",props:yoe,emits:boe,setup(e,{expose:t,emit:n}){const a=e,l=n,o=x(()=>{const y=Gn.props;return fo(a,ve(y)?y:Object.keys(y))}),s=ye("popover"),r=B(),u=x(()=>{var y;return(y=i(r))==null?void 0:y.popperRef}),c=x(()=>[{width:bn(a.width)},a.popperStyle]),d=x(()=>[s.b(),a.popperClass,{[s.m("plain")]:!!a.content}]),f=x(()=>a.transition===`${s.namespace.value}-fade-in-linear`),h=()=>{var y;(y=r.value)==null||y.hide()},m=()=>{l("before-enter")},v=()=>{l("before-leave")},p=()=>{l("after-enter")},g=()=>{l("update:visible",!1),l("after-leave")};return t({popperRef:u,hide:h}),(y,b)=>(S(),ie(i(Gn),vt({ref_key:"tooltipRef",ref:r},o.value,{"aria-label":e.title,"popper-class":d.value,"popper-style":c.value,"gpu-acceleration":f.value,onBeforeShow:m,onBeforeHide:v,onShow:p,onHide:g}),{content:ne(()=>[e.title?(S(),A("div",{key:0,class:P(i(s).e("title")),role:"title"},Se(e.title),3)):oe("v-if",!0),le(y.$slots,"default",{hide:h},()=>[bt(Se(e.content),1)])]),default:ne(()=>[y.$slots.reference?le(y.$slots,"reference",{key:0}):oe("v-if",!0)]),_:3},16,["aria-label","popper-class","popper-style","gpu-acceleration"]))}}),Coe=woe;const J3=(e,t)=>{var a;const n=(a=t.arg||t.value)==null?void 0:a.popperRef;n&&(n.triggerRef=e)};var _oe={mounted(e,t){J3(e,t)},updated(e,t){J3(e,t)}};const Soe="popover",m_=zR(_oe,Soe),xoe=ct(Coe,{directive:m_}),koe=ke({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:e=>e>=0&&e<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:Y(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:Y([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:Y(Function),default:e=>`${e}%`}}),Eoe=["aria-valuenow"],Toe={viewBox:"0 0 100 100"},Moe=["d","stroke","stroke-linecap","stroke-width"],Ooe=["d","stroke","opacity","stroke-linecap","stroke-width"],$oe={key:0};var Noe=W({name:"ElProgress",__name:"progress",props:koe,setup(e){const t={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},n=e,a=ye("progress"),l=x(()=>{const C={width:`${n.percentage}%`,animationDuration:`${n.duration}s`},w=b(n.percentage);return w.includes("gradient")?C.background=w:C.backgroundColor=w,C}),o=x(()=>(n.strokeWidth/n.width*100).toFixed(1)),s=x(()=>["circle","dashboard"].includes(n.type)?Number.parseInt(`${50-Number.parseFloat(o.value)/2}`,10):0),r=x(()=>{const C=s.value,w=n.type==="dashboard";return` + M 50 50 + m 0 ${w?"":"-"}${C} + a ${C} ${C} 0 1 1 0 ${w?"-":""}${C*2} + a ${C} ${C} 0 1 1 0 ${w?"":"-"}${C*2} + `}),u=x(()=>2*Math.PI*s.value),c=x(()=>n.type==="dashboard"?.75:1),d=x(()=>`${-1*u.value*(1-c.value)/2}px`),f=x(()=>({strokeDasharray:`${u.value*c.value}px, ${u.value}px`,strokeDashoffset:d.value})),h=x(()=>({strokeDasharray:`${u.value*c.value*(n.percentage/100)}px, ${u.value}px`,strokeDashoffset:d.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),m=x(()=>{let C;return n.color?C=b(n.percentage):C=t[n.status]||t.default,C}),v=x(()=>n.status==="warning"?Dc:n.type==="line"?n.status==="success"?K0:ql:n.status==="success"?gr:ll),p=x(()=>n.type==="line"?12+n.strokeWidth*.4:n.width*.111111+2),g=x(()=>n.format(n.percentage));function y(C){const w=100/C.length;return C.map((_,k)=>Ne(_)?{color:_,percentage:(k+1)*w}:_).sort((_,k)=>_.percentage-k.percentage)}const b=C=>{var _;const{color:w}=n;if(Ke(w))return w(C);if(Ne(w))return w;{const k=y(w);for(const M of k)if(M.percentage>C)return M.color;return(_=k[k.length-1])==null?void 0:_.color}};return(C,w)=>(S(),A("div",{class:P([i(a).b(),i(a).m(e.type),i(a).is(e.status),{[i(a).m("without-text")]:!e.showText,[i(a).m("text-inside")]:e.textInside}]),role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[e.type==="line"?(S(),A("div",{key:0,class:P(i(a).b("bar"))},[$("div",{class:P(i(a).be("bar","outer")),style:Ye({height:`${e.strokeWidth}px`})},[$("div",{class:P([i(a).be("bar","inner"),{[i(a).bem("bar","inner","indeterminate")]:e.indeterminate},{[i(a).bem("bar","inner","striped")]:e.striped},{[i(a).bem("bar","inner","striped-flow")]:e.stripedFlow}]),style:Ye(l.value)},[(e.showText||C.$slots.default)&&e.textInside?(S(),A("div",{key:0,class:P(i(a).be("bar","innerText"))},[le(C.$slots,"default",{percentage:e.percentage},()=>[$("span",null,Se(g.value),1)])],2)):oe("v-if",!0)],6)],6)],2)):(S(),A("div",{key:1,class:P(i(a).b("circle")),style:Ye({height:`${e.width}px`,width:`${e.width}px`})},[(S(),A("svg",Toe,[$("path",{class:P(i(a).be("circle","track")),d:r.value,stroke:`var(${i(a).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":e.strokeLinecap,"stroke-width":o.value,fill:"none",style:Ye(f.value)},null,14,Moe),$("path",{class:P(i(a).be("circle","path")),d:r.value,stroke:m.value,fill:"none",opacity:e.percentage?1:0,"stroke-linecap":e.strokeLinecap,"stroke-width":o.value,style:Ye(h.value)},null,14,Ooe)]))],6)),(e.showText||C.$slots.default)&&!e.textInside?(S(),A("div",{key:2,class:P(i(a).e("text")),style:Ye({fontSize:`${p.value}px`})},[le(C.$slots,"default",{percentage:e.percentage},()=>[e.status?(S(),ie(i(Be),{key:1},{default:ne(()=>[(S(),ie(ft(v.value)))]),_:1})):(S(),A("span",$oe,Se(g.value),1))])],6)):oe("v-if",!0)],10,Eoe))}}),Aoe=Noe;const om=ct(Aoe),Ioe=ke({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:Y([Array,Object]),default:()=>yn(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:Y([Array,Object]),default:()=>[hu,hu,hu]},voidIcon:{type:Ut,default:()=>U5},disabledVoidIcon:{type:Ut,default:()=>hu},disabled:{type:Boolean,default:void 0},allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:Y(Array),default:()=>yn(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:zn,clearable:Boolean,...xa(["ariaLabel"])}),Poe={[Ct]:e=>qe(e),[it]:e=>qe(e)},Roe=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax","tabindex","aria-disabled"],Voe=["onMousemove","onClick"];var Loe=W({name:"ElRate",__name:"rate",props:Ioe,emits:Poe,setup(e,{expose:t,emit:n}){function a(L,F){const D=q=>rt(q),j=F[Object.keys(F).map(q=>+q).filter(q=>{const Q=F[q];return D(Q)&&Q.excluded?Lq-Q)[0]];return D(j)&&j.value||j}const l=e,o=n,s=De(go,void 0),r=Pn(),u=ye("rate"),{inputId:c,isLabeledByFormItem:d}=Ua(l,{formItemContext:s}),f=B(za(l.modelValue,0,l.max)),h=B(-1),m=B(!0),v=B([]),p=x(()=>v.value.map(L=>L.$el.clientWidth)),g=x(()=>[u.b(),u.m(r.value)]),y=hn(),b=x(()=>u.cssVarBlock({"void-color":l.voidColor,"disabled-void-color":l.disabledVoidColor,"fill-color":k.value})),C=x(()=>{let L="";return l.showScore?L=l.scoreTemplate.replace(/\{\s*value\s*\}/,y.value?`${l.modelValue}`:`${f.value}`):l.showText&&(L=l.texts[Math.ceil(f.value)-1]),L}),w=x(()=>l.modelValue*100-Math.floor(l.modelValue)*100),_=x(()=>ve(l.colors)?{[l.lowThreshold]:l.colors[0],[l.highThreshold]:{value:l.colors[1],excluded:!0},[l.max]:l.colors[2]}:l.colors),k=x(()=>{const L=a(f.value,_.value);return rt(L)?"":L}),M=x(()=>{let L="";return y.value?L=`${w.value}%`:l.allowHalf&&(L="50%"),{color:k.value,width:L}}),E=x(()=>{let L=ve(l.icons)?[...l.icons]:{...l.icons};return L=pl(L),ve(L)?{[l.lowThreshold]:L[0],[l.highThreshold]:{value:L[1],excluded:!0},[l.max]:L[2]}:L}),T=x(()=>a(l.modelValue,E.value)),O=x(()=>y.value?Ne(l.disabledVoidIcon)?l.disabledVoidIcon:pl(l.disabledVoidIcon):Ne(l.voidIcon)?l.voidIcon:pl(l.voidIcon)),I=x(()=>a(f.value,E.value));function N(L){const F=y.value&&w.value>0&&L-1l.modelValue,D=l.allowHalf&&m.value&&L-.5<=f.value&&L>f.value;return F||D}function R(L){l.clearable&&L===l.modelValue&&(L=0),o(it,L),l.modelValue!==L&&o(Ct,L)}function K(L){y.value||(l.allowHalf&&m.value?R(f.value):R(L))}function H(L){if(y.value)return;const F=Xt(L),D=l.allowHalf?.5:1;let j=f.value;switch(F){case Ce.up:case Ce.right:j+=D;break;case Ce.left:case Ce.down:j-=D;break}if(j=za(j,0,l.max),j!==f.value)return L.stopPropagation(),L.preventDefault(),o(it,j),o(Ct,j),j}function z(L,F){y.value||(l.allowHalf&&F?(m.value=F.offsetX*2<=p.value[L-1],f.value=m.value?L-.5:L):f.value=L,h.value=L)}function V(){y.value||(l.allowHalf&&(m.value=l.modelValue!==Math.floor(l.modelValue)),f.value=za(l.modelValue,0,l.max),h.value=-1)}return ce(()=>l.modelValue,L=>{f.value=za(L,0,l.max),m.value=l.modelValue!==Math.floor(l.modelValue)}),l.modelValue||o(it,0),t({setCurrentValue:z,resetCurrentValue:V}),(L,F)=>{var D;return S(),A("div",{id:i(c),class:P([g.value,i(u).is("disabled",i(y))]),role:"slider","aria-label":i(d)?void 0:e.ariaLabel||"rating","aria-labelledby":i(d)?(D=i(s))==null?void 0:D.labelId:void 0,"aria-valuenow":f.value,"aria-valuetext":C.value||void 0,"aria-valuemin":"0","aria-valuemax":e.max,style:Ye(b.value),tabindex:i(y)?void 0:0,"aria-disabled":i(y),onKeydown:H},[(S(!0),A(He,null,wt(e.max,(j,q)=>(S(),A("span",{key:q,class:P(i(u).e("item")),onMousemove:Q=>z(j,Q),onMouseleave:V,onClick:Q=>K(j)},[G(i(Be),{ref_for:!0,ref_key:"iconRefs",ref:v,class:P([i(u).e("icon"),{hover:h.value===j},i(u).is("active",j<=f.value),i(u).is("focus-visible",j===Math.ceil(f.value||1))])},{default:ne(()=>[ht((S(),ie(ft(I.value),null,null,512)),[[It,!N(j)&&j<=f.value]]),ht((S(),ie(ft(O.value),null,null,512)),[[It,!N(j)&&j>f.value]]),ht((S(),ie(ft(O.value),{class:P([i(u).em("decimal","box")])},null,8,["class"])),[[It,N(j)]]),ht(G(i(Be),{style:Ye(M.value),class:P([i(u).e("icon"),i(u).e("decimal")])},{default:ne(()=>[(S(),ie(ft(T.value)))]),_:1},8,["style","class"]),[[It,N(j)]])]),_:2},1032,["class"])],42,Voe))),128)),e.showText||e.showScore?(S(),A("span",{key:0,class:P(i(u).e("text")),style:Ye({color:e.textColor})},Se(C.value),7)):oe("v-if",!0)],46,Roe)}}}),Boe=Loe;const zoe=ct(Boe),Ks={primary:"icon-primary",success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},Z3={[Ks.primary]:$i,[Ks.success]:A5,[Ks.warning]:Dc,[Ks.error]:W0,[Ks.info]:$i},Doe=ke({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{type:String,values:["primary","success","warning","info","error"],default:"info"}});var Hoe=W({name:"ElResult",__name:"result",props:Doe,setup(e){const t=e,n=ye("result"),a=x(()=>{const l=t.icon,o=l&&Ks[l]?Ks[l]:"icon-info";return{class:o,component:Z3[o]||Z3["icon-info"]}});return(l,o)=>(S(),A("div",{class:P(i(n).b())},[$("div",{class:P(i(n).e("icon"))},[le(l.$slots,"icon",{},()=>[a.value.component?(S(),ie(ft(a.value.component),{key:0,class:P(a.value.class)},null,8,["class"])):oe("v-if",!0)])],2),e.title||l.$slots.title?(S(),A("div",{key:0,class:P(i(n).e("title"))},[le(l.$slots,"title",{},()=>[$("p",null,Se(e.title),1)])],2)):oe("v-if",!0),e.subTitle||l.$slots["sub-title"]?(S(),A("div",{key:1,class:P(i(n).e("subtitle"))},[le(l.$slots,"sub-title",{},()=>[$("p",null,Se(e.subTitle),1)])],2)):oe("v-if",!0),l.$slots.extra?(S(),A("div",{key:2,class:P(i(n).e("extra"))},[le(l.$slots,"extra")],2)):oe("v-if",!0)],2))}}),Foe=Hoe;const Koe=ct(Foe),sm=Symbol("ElSelectV2Injection"),Woe=ke({allowCreate:Boolean,autocomplete:{type:Y(String),default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:Ut,default:ql},effect:{type:Y(String),default:"light"},collapseTags:Boolean,collapseTagsTooltip:Boolean,tagTooltip:{type:Y(Object),default:()=>({})},maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:{type:Boolean,default:void 0},estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:{type:Y(Function)},height:{type:Number,default:274},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,modelValue:{type:Y([Array,String,Number,Boolean,Object]),default:void 0},multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:{type:Y(Function)},reserveKeyword:{type:Boolean,default:!0},options:{type:Y(Array),required:!0},placeholder:{type:String},teleported:on.teleported,persistent:{type:Boolean,default:!0},popperClass:on.popperClass,popperStyle:on.popperStyle,popperOptions:{type:Y(Object),default:()=>({})},remote:Boolean,debounce:{type:Number,default:300},size:zn,props:{type:Y(Object),default:()=>Af},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:Boolean,validateEvent:{type:Boolean,default:!0},offset:{type:Number,default:12},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},placement:{type:Y(String),values:Co,default:"bottom-start"},fallbackPlacements:{type:Y(Array),default:["bottom-start","top-start","right","left"]},tagType:{...jo.type,default:"info"},tagEffect:{...jo.effect,default:"light"},tabindex:{type:[String,Number],default:0},appendTo:on.appendTo,fitInputWidth:{type:[Boolean,Number],default:!0,validator(e){return qt(e)||qe(e)}},suffixIcon:{type:Ut,default:jl},...$r,...xa(["ariaLabel"])}),joe=ke({data:Array,disabled:Boolean,hovering:Boolean,item:{type:Y(Object),required:!0},index:Number,style:Object,selected:Boolean,created:Boolean}),qoe={[it]:e=>!0,[Ct]:e=>!0,"end-reached":ac["end-reached"],"remove-tag":e=>!0,"visible-change":e=>!0,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0},Uoe={hover:e=>qe(e),select:(e,t)=>!0};var Yoe=W({props:{item:{type:Object,required:!0},style:{type:Object},height:Number},setup(){return{ns:ye("select")}}});function Goe(e,t,n,a,l,o){return S(),A("div",{class:P(e.ns.be("group","title")),style:Ye({...e.style,lineHeight:`${e.height}px`})},Se(e.item.label),7)}var Xoe=Hn(Yoe,[["render",Goe]]);function Joe(e,{emit:t}){return{hoverItem:()=>{e.disabled||t("hover",e.index)},selectOptionClick:()=>{e.disabled||t("select",e.item,e.index)}}}var Zoe=W({props:joe,emits:Uoe,setup(e,{emit:t}){const n=De(sm),a=ye("select"),l=wi?null:"mousemove",{hoverItem:o,selectOptionClick:s}=Joe(e,{emit:t}),{getLabel:r}=Kc(n.props),u=n.contentId;return{ns:a,contentId:u,mouseMoveEventName:l,hoverItem:o,handleMousedown:d=>{let f=d.target;const h=d.currentTarget;for(;f&&f!==h;){if(pr(f))return;f=f.parentElement}d.preventDefault()},selectOptionClick:s,getLabel:r}}});const Qoe=["id","aria-selected","aria-disabled"];function ese(e,t,n,a,l,o){return S(),A("li",vt({id:`${e.contentId}-${e.index}`,role:"option","aria-selected":e.selected,"aria-disabled":e.disabled||void 0,style:e.style,class:[e.ns.be("dropdown","item"),e.ns.is("selected",e.selected),e.ns.is("disabled",e.disabled),e.ns.is("created",e.created),e.ns.is("hovering",e.hovering)]},{[no(e.mouseMoveEventName)]:t[0]||(t[0]=(...s)=>e.hoverItem&&e.hoverItem(...s))},{onMousedown:t[1]||(t[1]=(...s)=>e.handleMousedown&&e.handleMousedown(...s)),onClick:t[2]||(t[2]=Qe((...s)=>e.selectOptionClick&&e.selectOptionClick(...s),["stop"]))}),[le(e.$slots,"default",{item:e.item,index:e.index,disabled:e.disabled},()=>[$("span",null,Se(e.getLabel(e.item)),1)])],16,Qoe)}var tse=Hn(Zoe,[["render",ese]]),nse=W({name:"ElSelectDropdown",props:{loading:Boolean,data:{type:Array,required:!0},hoveringIndex:Number,width:Number,id:String,ariaLabel:String},emits:{"end-reached":ac["end-reached"]},setup(e,{slots:t,expose:n,emit:a}){const l=De(sm),o=ye("select"),{getLabel:s,getValue:r,getDisabled:u}=Kc(l.props),c=B([]),d=B(),f=x(()=>e.data.length);ce(()=>f.value,()=>{var N,R;(R=(N=l.tooltipRef.value)==null?void 0:N.updatePopper)==null||R.call(N)});const h=x(()=>Mt(l.props.estimatedOptionHeight)),m=x(()=>h.value?{itemSize:l.props.itemHeight}:{estimatedSize:l.props.estimatedOptionHeight,itemSize:N=>c.value[N]}),v=(N=[],R)=>{const{props:{valueKey:K}}=l;return rt(R)?N&&N.some(H=>Zt(Tn(H,K))===Tn(R,K)):N.includes(R)},p=(N,R)=>{if(rt(R)){const{valueKey:K}=l.props;return Tn(N,K)===Tn(R,K)}else return N===R},g=(N,R)=>l.props.multiple?v(N,r(R)):p(N,r(R)),y=(N,R)=>{const{disabled:K,multiple:H,multipleLimit:z}=l.props;return K||!R&&(H?z>0&&N.length>=z:!1)},b=N=>e.hoveringIndex===N;n({listRef:d,isSized:h,isItemDisabled:y,isItemHovering:b,isItemSelected:g,scrollToItem:N=>{const R=d.value;R&&R.scrollToItem(N)},resetScrollTop:()=>{const N=d.value;N&&N.resetScrollTop()}});const _=N=>{const{index:R,data:K,style:H}=N,z=i(h),{itemSize:V,estimatedSize:L}=i(m),{modelValue:F}=l.props,{onSelect:D,onHover:j}=l,q=K[R];if(q.type==="Group")return G(Xoe,{item:q,style:H,height:z?V:L},null);const Q=g(F,q),ee=y(F,Q),te=b(R);return G(tse,vt(N,{selected:Q,disabled:u(q)||ee,created:!!q.created,hovering:te,item:q,onSelect:D,onHover:j}),{default:ae=>{var ue;return((ue=t.default)==null?void 0:ue.call(t,ae))||G("span",null,[s(q)])}})},{onKeyboardNavigate:k,onKeyboardSelect:M}=l,E=()=>{k("forward")},T=()=>{k("backward")},O=N=>{const R=Xt(N),{tab:K,esc:H,down:z,up:V,enter:L,numpadEnter:F}=Ce;switch([H,z,V,L,F].includes(R)&&(N.preventDefault(),N.stopPropagation()),R){case K:case H:break;case z:E();break;case V:T();break;case L:case F:M();break}},I=N=>{a("end-reached",N)};return()=>{var F,D,j,q;const{data:N,width:R}=e,{height:K,multiple:H,scrollbarAlwaysOn:z}=l.props,V=wi?!0:z,L=i(h)?Wc:iJ;return G("div",{class:[o.b("dropdown"),o.is("multiple",H)],style:{width:`${R}px`}},[(F=t.header)==null?void 0:F.call(t),((D=t.loading)==null?void 0:D.call(t))||((j=t.empty)==null?void 0:j.call(t))||G(L,vt({ref:d},i(m),{className:o.be("dropdown","list"),scrollbarAlwaysOn:V,data:N,height:K,width:R,total:N.length,innerElement:"ul",innerProps:{id:e.id,role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},onEndReached:I,onKeydown:O}),{default:Q=>G(_,Q,null)}),(q=t.footer)==null?void 0:q.call(t)])}}});function ase(e,t){const{aliasProps:n,getLabel:a,getValue:l}=Kc(e),o=B(0),s=B(),r=x(()=>e.allowCreate&&e.filterable);ce(()=>e.options,m=>{const v=new Set(m.map(p=>a(p)));t.createdOptions=t.createdOptions.filter(p=>!v.has(a(p)))});function u(m){const v=p=>a(p)===m;return e.options&&e.options.some(v)||t.createdOptions.some(v)}function c(m){r.value&&(e.multiple&&m.created?o.value++:s.value=m)}function d(m){if(r.value)if(m&&m.length>0){if(u(m)){t.createdOptions=t.createdOptions.filter(p=>a(p)!==t.previousQuery);return}const v={[n.value.value]:m,[n.value.label]:m,created:!0,[n.value.disabled]:!1};t.createdOptions.length>=o.value?t.createdOptions[o.value]=v:t.createdOptions.push(v)}else if(e.multiple)t.createdOptions.length=o.value;else{const v=s.value;t.createdOptions.length=0,v&&v.created&&t.createdOptions.push(v)}}function f(m){if(!r.value||!m||!m.created||m.created&&e.reserveKeyword&&t.inputValue===a(m))return;const v=t.createdOptions.findIndex(p=>l(p)===l(m));~v&&(t.createdOptions.splice(v,1),o.value--)}function h(){r.value&&(t.createdOptions.length=0,o.value=0)}return{createNewOption:d,removeNewOption:f,selectNewOption:c,clearAllNewOption:h}}const lse=(e,t)=>{const{t:n}=St(),a=wn(),l=ye("select"),o=ye("input"),{form:s,formItem:r}=Xn(),{inputId:u}=Ua(e,{formItemContext:r}),{aliasProps:c,getLabel:d,getValue:f,getDisabled:h,getOptions:m}=Kc(e),{valueOnClear:v,isEmptyValue:p}=Bc(e),g=Dt({inputValue:"",cachedOptions:[],createdOptions:[],hoveringIndex:-1,inputHovering:!1,selectionWidth:0,collapseItemWidth:0,previousQuery:null,previousValue:void 0,selectedLabel:"",menuVisibleOnFocus:!1,isBeforeHide:!1}),y=B(-1),b=B(!1),C=B(),w=B(),_=B(),k=B(),M=B(),E=B(),T=B(),O=B(),I=B(),N=B(),{isComposing:R,handleCompositionStart:K,handleCompositionEnd:H,handleCompositionUpdate:z}=Lc({afterComposition:Oe=>dn(Oe)}),V=hn(),{wrapperRef:L,isFocused:F,handleBlur:D}=Jo(M,{disabled:V,afterFocus(){e.automaticDropdown&&!ee.value&&(ee.value=!0,g.menuVisibleOnFocus=!0)},beforeBlur(Oe){var dt,xt;return((dt=_.value)==null?void 0:dt.isFocusInsideContent(Oe))||((xt=k.value)==null?void 0:xt.isFocusInsideContent(Oe))},afterBlur(){var Oe;ee.value=!1,g.menuVisibleOnFocus=!1,e.validateEvent&&((Oe=r==null?void 0:r.validate)==null||Oe.call(r,"blur").catch(ut))}}),j=x(()=>we("")),q=x(()=>e.loading?!1:e.options.length>0||g.createdOptions.length>0),Q=B([]),ee=B(!1),te=x(()=>(s==null?void 0:s.statusIcon)??!1),ae=x(()=>{const Oe=Q.value.length*e.itemHeight;return Oe>e.height?e.height:Oe}),ue=x(()=>e.multiple?ve(e.modelValue)&&e.modelValue.length>0:!p(e.modelValue)),pe=x(()=>e.clearable&&!V.value&&ue.value&&(F.value||g.inputHovering)),ge=x(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),X=x(()=>ge.value&&l.is("reverse",ee.value)),Z=x(()=>(r==null?void 0:r.validateState)||""),re=x(()=>{if(Z.value)return j0[Z.value]}),U=x(()=>e.remote?e.debounce:0),J=x(()=>e.remote&&!g.inputValue&&!q.value),se=x(()=>e.loading?e.loadingText||n("el.select.loading"):e.filterable&&g.inputValue&&q.value&&Q.value.length===0?e.noMatchText||n("el.select.noMatch"):q.value?null:e.noDataText||n("el.select.noData")),fe=x(()=>e.filterable&&Ke(e.filterMethod)),me=x(()=>e.filterable&&e.remote&&Ke(e.remoteMethod)),we=Oe=>{const dt=new RegExp(r1(Oe),"i"),xt=Ot=>fe.value||me.value?!0:Oe?dt.test(d(Ot)||""):!0;return e.loading?[]:[...g.createdOptions,...e.options].reduce((Ot,ea)=>{const Pa=m(ea);if(ve(Pa)){const Zi=Pa.filter(xt);Zi.length>0&&Ot.push({label:d(ea),type:"Group"},...Zi)}else(e.remote||xt(ea))&&Ot.push(ea);return Ot},[])},Ve=()=>{Q.value=we(g.inputValue)},Ae=x(()=>{const Oe=new Map;return j.value.forEach((dt,xt)=>{Oe.set(Ue(f(dt)),{option:dt,index:xt})}),Oe}),xe=x(()=>{const Oe=new Map;return Q.value.forEach((dt,xt)=>{Oe.set(Ue(f(dt)),{option:dt,index:xt})}),Oe}),he=x(()=>Q.value.every(Oe=>h(Oe))),Ee=Pn(),$e=x(()=>Ee.value==="small"?"small":"default"),Re=()=>{var dt;if(qe(e.fitInputWidth)){y.value=e.fitInputWidth;return}const Oe=((dt=C.value)==null?void 0:dt.offsetWidth)||200;!e.fitInputWidth&&q.value?Pe(()=>{y.value=Math.max(Oe,Ge())}):y.value=Oe},Ge=()=>{var Pa,Zi;const Oe=document.createElement("canvas").getContext("2d"),dt=l.be("dropdown","item"),xt=(((Zi=(Pa=O.value)==null?void 0:Pa.listRef)==null?void 0:Zi.innerRef)||document).querySelector(`.${dt}`);if(xt===null||Oe===null)return 0;const Ot=getComputedStyle(xt),ea=Number.parseFloat(Ot.paddingLeft)+Number.parseFloat(Ot.paddingRight);return Oe.font=`bold ${Ot.font.replace(new RegExp(`\\b${Ot.fontWeight}\\b`),"")}`,Q.value.reduce((kS,ES)=>{const TS=Oe.measureText(d(ES));return Math.max(TS.width,kS)},0)+ea},Ze=()=>{if(!w.value)return 0;const Oe=window.getComputedStyle(w.value);return Number.parseFloat(Oe.gap||"6px")},Xe=x(()=>{const Oe=Ze(),dt=e.filterable?Oe+11:0;return{maxWidth:`${N.value&&e.maxCollapseTags===1?g.selectionWidth-g.collapseItemWidth-Oe-dt:g.selectionWidth-dt}px`}}),gt=x(()=>({maxWidth:`${g.selectionWidth}px`})),Tt=x(()=>ve(e.modelValue)?e.modelValue.length===0&&!g.inputValue:e.filterable?!g.inputValue:!0),Pt=x(()=>{const Oe=e.placeholder??n("el.select.placeholder");return e.multiple||!ue.value?Oe:g.selectedLabel}),$t=x(()=>{var Oe,dt;return(dt=(Oe=_.value)==null?void 0:Oe.popperRef)==null?void 0:dt.contentRef}),Rt=x(()=>{if(e.multiple){const Oe=e.modelValue.length;if(Oe>0&&xe.value.has(e.modelValue[Oe-1])){const{index:dt}=xe.value.get(e.modelValue[Oe-1]);return dt}}else if(!p(e.modelValue)&&xe.value.has(e.modelValue)){const{index:Oe}=xe.value.get(e.modelValue);return Oe}return-1}),tn=x({get(){return ee.value&&(e.loading||!J.value||e.remote&&!!a.empty)&&(!b.value||!$a(g.previousQuery)||q.value)},set(Oe){ee.value=Oe}}),Me=x(()=>e.multiple?e.collapseTags?g.cachedOptions.slice(0,e.maxCollapseTags):g.cachedOptions:[]),be=x(()=>e.multiple?e.collapseTags?g.cachedOptions.slice(e.maxCollapseTags):[]:[]),{createNewOption:We,removeNewOption:de,selectNewOption:je,clearAllNewOption:Ie}=ase(e,g),tt=Oe=>{var dt;V.value||e.filterable&&ee.value&&Oe&&!((dt=T.value)!=null&&dt.contains(Oe.target))||(g.menuVisibleOnFocus?g.menuVisibleOnFocus=!1:ee.value=!ee.value)},ot=()=>{g.inputValue.length>0&&!ee.value&&(ee.value=!0),We(g.inputValue),Pe(()=>{yt(g.inputValue)})},pt=xc(()=>{ot(),b.value=!1},U),yt=Oe=>{g.previousQuery===Oe||R.value||(g.previousQuery=Oe,e.filterable&&Ke(e.filterMethod)?e.filterMethod(Oe):e.filterable&&e.remote&&Ke(e.remoteMethod)&&e.remoteMethod(Oe),e.defaultFirstOption&&(e.filterable||e.remote)&&Q.value.length?Pe(_t):Pe(Lt))},_t=()=>{const Oe=Q.value.filter(Ot=>!Ot.disabled&&Ot.type!=="Group"),dt=Oe.find(Ot=>Ot.created),xt=Oe[0];g.hoveringIndex=Le(Q.value,dt||xt)},lt=Oe=>{gn(e.modelValue,Oe)||t(Ct,Oe)},Vt=Oe=>{t(it,Oe),lt(Oe),g.previousValue=e.multiple?String(Oe):Oe,Pe(()=>{if(e.multiple&&ve(e.modelValue)){const dt=g.cachedOptions.slice(),xt=e.modelValue.map(Ot=>Xi(Ot,dt));gn(g.cachedOptions,xt)||(g.cachedOptions=xt)}else Ir(!0)})},Le=(Oe=[],dt)=>{if(!rt(dt))return Oe.indexOf(dt);const xt=e.valueKey;let Ot=-1;return Oe.some((ea,Pa)=>Tn(ea,xt)===Tn(dt,xt)?(Ot=Pa,!0):!1),Ot},Ue=Oe=>rt(Oe)?Tn(Oe,e.valueKey):Oe,nt=()=>{Re()},_e=Oe=>{t("end-reached",Oe)},Fe=()=>{g.selectionWidth=Number.parseFloat(window.getComputedStyle(w.value).width)},ze=()=>{g.collapseItemWidth=N.value.getBoundingClientRect().width},Nt=()=>{var Oe,dt;(dt=(Oe=_.value)==null?void 0:Oe.updatePopper)==null||dt.call(Oe)},Ft=()=>{var Oe,dt;(dt=(Oe=k.value)==null?void 0:Oe.updatePopper)==null||dt.call(Oe)},Jt=Oe=>{const dt=f(Oe);if(e.multiple){let xt=e.modelValue.slice();const Ot=Le(xt,dt);Ot>-1?(xt=[...xt.slice(0,Ot),...xt.slice(Ot+1)],g.cachedOptions.splice(Ot,1),de(Oe)):(e.multipleLimit<=0||xt.length{let xt=e.modelValue.slice();const Ot=Le(xt,f(dt));Ot>-1&&!V.value&&(xt=[...e.modelValue.slice(0,Ot),...e.modelValue.slice(Ot+1)],g.cachedOptions.splice(Ot,1),Vt(xt),t("remove-tag",f(dt)),de(dt)),Oe.stopPropagation(),fa()},fa=()=>{var Oe;(Oe=M.value)==null||Oe.focus()},Qo=()=>{var Oe;if(ee.value){ee.value=!1,Pe(()=>{var dt;return(dt=M.value)==null?void 0:dt.blur()});return}(Oe=M.value)==null||Oe.blur()},es=()=>{g.inputValue.length>0?g.inputValue="":ee.value=!1},ts=Oe=>xw(Oe,dt=>!g.cachedOptions.some(xt=>f(xt)===dt&&h(xt))),Ar=Oe=>{const dt=Xt(Oe);if(e.multiple&&dt!==Ce.delete&&g.inputValue.length===0){Oe.preventDefault();const xt=e.modelValue.slice(),Ot=ts(xt);if(Ot<0)return;const ea=xt[Ot];xt.splice(Ot,1);const Pa=g.cachedOptions[Ot];g.cachedOptions.splice(Ot,1),de(Pa),Vt(xt),t("remove-tag",ea)}},_o=()=>{let Oe;ve(e.modelValue)?Oe=[]:Oe=v.value,g.selectedLabel="",ee.value=!1,Vt(Oe),t("clear"),Ie(),fa()},ns=(Oe,dt=void 0)=>{const xt=Q.value;if(!["forward","backward"].includes(Oe)||V.value||xt.length<=0||he.value||R.value)return;if(!ee.value)return tt();Mt(dt)&&(dt=g.hoveringIndex);let Ot=-1;Oe==="forward"?(Ot=dt+1,Ot>=xt.length&&(Ot=0)):Oe==="backward"&&(Ot=dt-1,(Ot<0||Ot>=xt.length)&&(Ot=xt.length-1));const ea=xt[Ot];if(h(ea)||ea.type==="Group")return ns(Oe,Ot);g.hoveringIndex=Ot,_l(Ot)},Te=()=>{if(ee.value)~g.hoveringIndex&&Q.value[g.hoveringIndex]&&Jt(Q.value[g.hoveringIndex]);else return tt()},at=Oe=>{g.hoveringIndex=Oe??-1},Lt=()=>{if(!e.multiple)g.hoveringIndex=Q.value.findIndex(Oe=>Ue(f(Oe))===Ue(e.modelValue));else{const Oe=e.modelValue.length;if(Oe>0){const dt=e.modelValue[Oe-1];g.hoveringIndex=Q.value.findIndex(xt=>Ue(dt)===Ue(f(xt)))}else g.hoveringIndex=-1}},dn=Oe=>{if(g.inputValue=Oe.target.value,e.remote)b.value=!0,pt();else return ot()},An=Oe=>{ee.value=!1,F.value&&D(new FocusEvent("blur",Oe))},Rn=()=>(g.isBeforeHide=!1,Pe(()=>{~Rt.value&&_l(Rt.value)})),_l=Oe=>{O.value.scrollToItem(Oe)},Xi=(Oe,dt)=>{const xt=Ue(Oe);if(Ae.value.has(xt)){const{option:Ot}=Ae.value.get(xt);return Ot}if(dt&&dt.length){const Ot=dt.find(ea=>Ue(f(ea))===xt);if(Ot)return Ot}return{[c.value.value]:Oe,[c.value.label]:Oe}},Ps=Oe=>{var dt;return((dt=Ae.value.get(f(Oe)))==null?void 0:dt.index)??-1},Ir=(Oe=!1)=>{if(e.multiple)if(e.modelValue.length>0){const dt=g.cachedOptions.slice();g.cachedOptions.length=0,g.previousValue=e.modelValue.toString();for(const xt of e.modelValue){const Ot=Xi(xt,dt);g.cachedOptions.push(Ot)}}else g.cachedOptions=[],g.previousValue=void 0;else if(ue.value){g.previousValue=e.modelValue;const dt=Q.value,xt=dt.findIndex(Ot=>Ue(f(Ot))===Ue(e.modelValue));~xt?g.selectedLabel=d(dt[xt]):(!g.selectedLabel||Oe)&&(g.selectedLabel=Ue(e.modelValue))}else g.selectedLabel="",g.previousValue=void 0;Ie(),Re()};ce(()=>e.fitInputWidth,()=>{Re()}),ce(ee,Oe=>{Oe?(e.persistent||Re(),yt("")):(g.inputValue="",g.previousQuery=null,g.isBeforeHide=!0,g.menuVisibleOnFocus=!1,We(""))}),ce(()=>e.modelValue,(Oe,dt)=>{var xt;(!Oe||ve(Oe)&&Oe.length===0||e.multiple&&!gn(Oe.toString(),g.previousValue)||!e.multiple&&Ue(Oe)!==Ue(g.previousValue))&&Ir(!0),!gn(Oe,dt)&&e.validateEvent&&((xt=r==null?void 0:r.validate)==null||xt.call(r,"change").catch(ut))},{deep:!0}),ce(()=>e.options,()=>{const Oe=M.value;(!Oe||Oe&&document.activeElement!==Oe)&&Ir()},{deep:!0,flush:"post"}),ce(()=>Q.value,()=>(Re(),O.value&&Pe(O.value.resetScrollTop))),la(()=>{g.isBeforeHide||Ve()}),la(()=>{const{valueKey:Oe,options:dt}=e,xt=new Map;for(const Ot of dt){const ea=f(Ot);let Pa=ea;if(rt(Pa)&&(Pa=Tn(ea,Oe)),xt.get(Pa)){jt("ElSelectV2","The option values you provided seem to be duplicated, which may cause some problems, please check.");break}else xt.set(Pa,!0)}}),mt(()=>{Ir()}),rn(C,nt),rn(w,Fe),rn(L,Nt),rn(I,Ft),rn(N,ze);let Ji;return ce(()=>tn.value,Oe=>{Oe?Ji=rn(O,Nt).stop:(Ji==null||Ji(),Ji=void 0),t("visible-change",Oe)}),{inputId:u,collapseTagSize:$e,currentPlaceholder:Pt,expanded:ee,emptyText:se,popupHeight:ae,debounce:U,allOptions:j,allOptionsValueMap:Ae,filteredOptions:Q,iconComponent:ge,iconReverse:X,tagStyle:Xe,collapseTagStyle:gt,popperSize:y,dropdownMenuVisible:tn,hasModelValue:ue,shouldShowPlaceholder:Tt,selectDisabled:V,selectSize:Ee,needStatusIcon:te,showClearBtn:pe,states:g,isFocused:F,nsSelect:l,nsInput:o,inputRef:M,menuRef:O,tagMenuRef:I,tooltipRef:_,tagTooltipRef:k,selectRef:C,wrapperRef:L,selectionRef:w,prefixRef:E,suffixRef:T,collapseItemRef:N,popperRef:$t,validateState:Z,validateIcon:re,showTagList:Me,collapseTagList:be,debouncedOnInputChange:pt,deleteTag:sn,getLabel:d,getValue:f,getDisabled:h,getValueKey:Ue,getIndex:Ps,handleClear:_o,handleClickOutside:An,handleDel:Ar,handleEsc:es,focus:fa,blur:Qo,handleMenuEnter:Rn,handleResize:nt,resetSelectionWidth:Fe,updateTooltip:Nt,updateTagTooltip:Ft,updateOptions:Ve,toggleMenu:tt,scrollTo:_l,onInput:dn,onKeyboardNavigate:ns,onKeyboardSelect:Te,onEndReached:_e,onSelect:Jt,onHover:at,handleCompositionStart:K,handleCompositionEnd:H,handleCompositionUpdate:z}};var ose=W({name:"ElSelectV2",components:{ElSelectMenu:nse,ElTag:Do,ElTooltip:Gn,ElIcon:Be},directives:{ClickOutside:Ts},props:Woe,emits:qoe,setup(e,{emit:t}){const n=x(()=>{const{modelValue:u,multiple:c}=e,d=c?[]:void 0;return ve(u)?c?u:d:c?d:u}),a=lse(Dt({...Bn(e),modelValue:n}),t),{calculatorRef:l,inputStyle:o}=s1(),s=oa();Et(sm,{props:Dt({...Bn(e),height:a.popupHeight,modelValue:n}),expanded:a.expanded,tooltipRef:a.tooltipRef,contentId:s,onSelect:a.onSelect,onHover:a.onHover,onKeyboardNavigate:a.onKeyboardNavigate,onKeyboardSelect:a.onKeyboardSelect});const r=x(()=>e.multiple?a.states.cachedOptions.map(u=>a.getLabel(u)):a.states.selectedLabel);return{...a,modelValue:n,selectedLabel:r,calculatorRef:l,inputStyle:o,contentId:s,BORDER_HORIZONTAL_WIDTH:2}}});const sse=["id","value","autocomplete","tabindex","aria-expanded","aria-label","disabled","aria-controls","aria-activedescendant","readonly","name"],rse=["textContent"],ise={key:1};function use(e,t,n,a,l,o){const s=Kt("el-tag"),r=Kt("el-tooltip"),u=Kt("el-icon"),c=Kt("el-select-menu"),d=p0("click-outside");return ht((S(),A("div",{ref:"selectRef",class:P([e.nsSelect.b(),e.nsSelect.m(e.selectSize)]),onMouseenter:t[15]||(t[15]=f=>e.states.inputHovering=!0),onMouseleave:t[16]||(t[16]=f=>e.states.inputHovering=!1)},[G(r,{ref:"tooltipRef",visible:e.dropdownMenuVisible,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-style":e.popperStyle,"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,placement:e.placement,pure:"",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,trigger:"click",persistent:e.persistent,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:t[14]||(t[14]=f=>e.states.isBeforeHide=!1)},{default:ne(()=>{var f;return[$("div",{ref:"wrapperRef",class:P([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:t[11]||(t[11]=Qe((...h)=>e.toggleMenu&&e.toggleMenu(...h),["prevent"]))},[e.$slots.prefix?(S(),A("div",{key:0,ref:"prefixRef",class:P(e.nsSelect.e("prefix"))},[le(e.$slots,"prefix")],2)):oe("v-if",!0),$("div",{ref:"selectionRef",class:P([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.modelValue.length)])},[e.multiple?le(e.$slots,"tag",{key:0,data:e.states.cachedOptions,deleteTag:e.deleteTag,selectDisabled:e.selectDisabled},()=>{var h,m,v,p,g,y,b,C,w,_,k,M,E;return[(S(!0),A(He,null,wt(e.showTagList,T=>(S(),A("div",{key:e.getValueKey(e.getValue(T)),class:P(e.nsSelect.e("selected-item"))},[G(s,{closable:!e.selectDisabled&&!e.getDisabled(T),size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:Ye(e.tagStyle),onClose:O=>e.deleteTag(O,T)},{default:ne(()=>[$("span",{class:P(e.nsSelect.e("tags-text"))},[le(e.$slots,"label",{index:e.getIndex(T),label:e.getLabel(T),value:e.getValue(T)},()=>[bt(Se(e.getLabel(T)),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.states.cachedOptions.length>e.maxCollapseTags?(S(),ie(r,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":((h=e.tagTooltip)==null?void 0:h.fallbackPlacements)??["bottom","top","right","left"],effect:((m=e.tagTooltip)==null?void 0:m.effect)??e.effect,placement:((v=e.tagTooltip)==null?void 0:v.placement)??"bottom","popper-class":((p=e.tagTooltip)==null?void 0:p.popperClass)??e.popperClass,"popper-style":((g=e.tagTooltip)==null?void 0:g.popperStyle)??e.popperStyle,teleported:((y=e.tagTooltip)==null?void 0:y.teleported)??e.teleported,"append-to":((b=e.tagTooltip)==null?void 0:b.appendTo)??e.appendTo,"popper-options":((C=e.tagTooltip)==null?void 0:C.popperOptions)??e.popperOptions,transition:(w=e.tagTooltip)==null?void 0:w.transition,"show-after":(_=e.tagTooltip)==null?void 0:_.showAfter,"hide-after":(k=e.tagTooltip)==null?void 0:k.hideAfter,"auto-close":(M=e.tagTooltip)==null?void 0:M.autoClose,offset:(E=e.tagTooltip)==null?void 0:E.offset},{default:ne(()=>[$("div",{ref:"collapseItemRef",class:P(e.nsSelect.e("selected-item"))},[G(s,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,style:Ye(e.collapseTagStyle),"disable-transitions":""},{default:ne(()=>[$("span",{class:P(e.nsSelect.e("tags-text"))}," + "+Se(e.states.cachedOptions.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:ne(()=>[$("div",{ref:"tagMenuRef",class:P(e.nsSelect.e("selection"))},[(S(!0),A(He,null,wt(e.collapseTagList,T=>(S(),A("div",{key:e.getValueKey(e.getValue(T)),class:P(e.nsSelect.e("selected-item"))},[G(s,{class:"in-tooltip",closable:!e.selectDisabled&&!e.getDisabled(T),size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:O=>e.deleteTag(O,T)},{default:ne(()=>[$("span",{class:P(e.nsSelect.e("tags-text"))},[le(e.$slots,"label",{index:e.getIndex(T),label:e.getLabel(T),value:e.getValue(T)},()=>[bt(Se(e.getLabel(T)),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","fallback-placements","effect","placement","popper-class","popper-style","teleported","append-to","popper-options","transition","show-after","hide-after","auto-close","offset"])):oe("v-if",!0)]}):oe("v-if",!0),$("div",{class:P([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable||e.selectDisabled||e.multiple&&!e.states.inputValue&&!e.isFocused)])},[$("input",{id:e.inputId,ref:"inputRef",value:e.states.inputValue,style:Ye(e.inputStyle),autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-autocomplete":"none","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":e.expanded,"aria-label":e.ariaLabel,class:P([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,role:"combobox","aria-controls":e.contentId,"aria-activedescendant":e.states.hoveringIndex>=0?`${e.contentId}-${e.states.hoveringIndex}`:"",readonly:!e.filterable,spellcheck:"false",type:"text",name:e.name,onInput:t[0]||(t[0]=(...h)=>e.onInput&&e.onInput(...h)),onChange:t[1]||(t[1]=Qe(()=>{},["stop"])),onCompositionstart:t[2]||(t[2]=(...h)=>e.handleCompositionStart&&e.handleCompositionStart(...h)),onCompositionupdate:t[3]||(t[3]=(...h)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...h)),onCompositionend:t[4]||(t[4]=(...h)=>e.handleCompositionEnd&&e.handleCompositionEnd(...h)),onKeydown:[t[5]||(t[5]=un(Qe(h=>e.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),t[6]||(t[6]=un(Qe(h=>e.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),t[7]||(t[7]=un(Qe((...h)=>e.onKeyboardSelect&&e.onKeyboardSelect(...h),["stop","prevent"]),["enter"])),t[8]||(t[8]=un(Qe((...h)=>e.handleEsc&&e.handleEsc(...h),["stop","prevent"]),["esc"])),t[9]||(t[9]=un(Qe((...h)=>e.handleDel&&e.handleDel(...h),["stop"]),["delete"]))],onClick:t[10]||(t[10]=Qe((...h)=>e.toggleMenu&&e.toggleMenu(...h),["stop"]))},null,46,sse),e.filterable?(S(),A("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:P(e.nsSelect.e("input-calculator")),textContent:Se(e.states.inputValue)},null,10,rse)):oe("v-if",!0)],2),e.shouldShowPlaceholder?(S(),A("div",{key:1,class:P([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?le(e.$slots,"label",{key:0,index:((f=e.allOptionsValueMap.get(e.modelValue))==null?void 0:f.index)??-1,label:e.currentPlaceholder,value:e.modelValue},()=>[$("span",null,Se(e.currentPlaceholder),1)]):(S(),A("span",ise,Se(e.currentPlaceholder),1))],2)):oe("v-if",!0)],2),$("div",{ref:"suffixRef",class:P(e.nsSelect.e("suffix"))},[e.iconComponent?ht((S(),ie(u,{key:0,class:P([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.iconReverse])},{default:ne(()=>[(S(),ie(ft(e.iconComponent)))]),_:1},8,["class"])),[[It,!e.showClearBtn]]):oe("v-if",!0),e.showClearBtn&&e.clearIcon?(S(),ie(u,{key:1,class:P([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.nsSelect.e("clear")]),onClick:Qe(e.handleClear,["prevent","stop"])},{default:ne(()=>[(S(),ie(ft(e.clearIcon)))]),_:1},8,["class","onClick"])):oe("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(S(),ie(u,{key:2,class:P([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading",e.validateState==="validating")])},{default:ne(()=>[(S(),ie(ft(e.validateIcon)))]),_:1},8,["class"])):oe("v-if",!0)],2)],2)]}),content:ne(()=>[G(c,{id:e.contentId,ref:"menuRef",data:e.filteredOptions,width:e.popperSize-e.BORDER_HORIZONTAL_WIDTH,"hovering-index":e.states.hoveringIndex,"scrollbar-always-on":e.scrollbarAlwaysOn,"aria-label":e.ariaLabel,onEndReached:e.onEndReached},da({default:ne(f=>[le(e.$slots,"default",El(Ol(f)))]),_:2},[e.$slots.header?{name:"header",fn:ne(()=>[$("div",{class:P(e.nsSelect.be("dropdown","header")),onClick:t[12]||(t[12]=Qe(()=>{},["stop"]))},[le(e.$slots,"header")],2)]),key:"0"}:void 0,e.$slots.loading&&e.loading?{name:"loading",fn:ne(()=>[$("div",{class:P(e.nsSelect.be("dropdown","loading"))},[le(e.$slots,"loading")],2)]),key:"1"}:e.loading||e.filteredOptions.length===0?{name:"empty",fn:ne(()=>[$("div",{class:P(e.nsSelect.be("dropdown","empty"))},[le(e.$slots,"empty",{},()=>[$("span",null,Se(e.emptyText),1)])],2)]),key:"2"}:void 0,e.$slots.footer?{name:"footer",fn:ne(()=>[$("div",{class:P(e.nsSelect.be("dropdown","footer")),onClick:t[13]||(t[13]=Qe(()=>{},["stop"]))},[le(e.$slots,"footer")],2)]),key:"3"}:void 0]),1032,["id","data","width","hovering-index","scrollbar-always-on","aria-label","onEndReached"])]),_:3},8,["visible","teleported","popper-class","popper-style","popper-options","fallback-placements","effect","placement","transition","persistent","append-to","show-arrow","offset","onBeforeShow"])],34)),[[d,e.handleClickOutside,e.popperRef]])}var cse=Hn(ose,[["render",use]]);const dse=ct(cse),fse=ke({animated:Boolean,count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:Y([Number,Object])}}),pse=ke({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}});var hse=W({name:"ElSkeletonItem",__name:"skeleton-item",props:pse,setup(e){const t=ye("skeleton");return(n,a)=>(S(),A("div",{class:P([i(t).e("item"),i(t).e(e.variant)])},[e.variant==="image"?(S(),ie(i(z5),{key:0})):oe("v-if",!0)],2))}}),qf=hse,vse=W({name:"ElSkeleton",__name:"skeleton",props:fse,setup(e,{expose:t}){const n=e,a=ye("skeleton"),l=AP(At(n,"loading"),n.throttle);return t({uiLoading:l}),(o,s)=>i(l)?(S(),A("div",vt({key:0,class:[i(a).b(),i(a).is("animated",e.animated)]},o.$attrs),[(S(!0),A(He,null,wt(e.count,r=>(S(),A(He,{key:r},[i(l)?le(o.$slots,"template",{key:r},()=>[G(qf,{class:P(i(a).is("first")),variant:"p"},null,8,["class"]),(S(!0),A(He,null,wt(e.rows,u=>(S(),ie(qf,{key:u,class:P([i(a).e("paragraph"),i(a).is("last",u===e.rows&&e.rows>1)]),variant:"p"},null,8,["class"]))),128))]):oe("v-if",!0)],64))),128))],16)):le(o.$slots,"default",El(vt({key:1},o.$attrs)))}}),mse=vse;const gse=ct(mse,{SkeletonItem:qf}),yse=mn(qf),g_=Symbol("sliderContextKey"),bse=ke({modelValue:{type:Y([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Y([Number,String]),default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:zn,inputSize:zn,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:Y(Function),default:void 0},disabled:{type:Boolean,default:void 0},range:Boolean,vertical:Boolean,height:String,rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:Y(Function),default:void 0},tooltipClass:{type:Y([String,Array,Object,Boolean]),default:void 0},placement:{type:String,values:Co,default:"top"},marks:{type:Y(Object)},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},...xa(["ariaLabel"])}),qp=e=>qe(e)||ve(e)&&e.every(qe),wse={[it]:qp,[In]:qp,[Ct]:qp},Cse=(e,t,n)=>{const a=B();return mt(async()=>{e.range?(ve(e.modelValue)?(t.firstValue=Math.max(e.min,e.modelValue[0]),t.secondValue=Math.min(e.max,e.modelValue[1])):(t.firstValue=e.min,t.secondValue=e.max),t.oldValue=[t.firstValue,t.secondValue]):(!qe(e.modelValue)||Number.isNaN(e.modelValue)?t.firstValue=e.min:t.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),t.oldValue=t.firstValue),Wt(window,"resize",n),await Pe(),n()}),{sliderWrapper:a}},_se=e=>{const t=x(()=>e.marks?Object.keys(e.marks).map(Number.parseFloat).sort((n,a)=>n-a).filter(n=>n<=e.max&&n>=e.min).map(n=>({point:n,position:(n-e.min)*100/(e.max-e.min),mark:e.marks[n]})):[]);return la(()=>{if(e.step==="mark"&&!e.marks&&jt("ElSlider","marks prop must be provided when step is mark"),e.marks){const n=Object.keys(e.marks),a=t.value.map(o=>o.point),l=n.filter(o=>{const s=Number.parseFloat(o);return Number.isNaN(s)||!a.includes(s)});l.length>0&&jt("ElSlider",`Some marks keys are invalid (not a number or out of [min, max]): [${l.map(o=>`'${o}'`).join(", ")}] and will be ignored.`)}}),t},Sse=(e,t,n)=>{const{formItem:a}=Xn(),l=kt(),o=B(),s=B(),r={firstButton:o,secondButton:s},u=hn(),c=x(()=>Math.min(t.firstValue,t.secondValue)),d=x(()=>Math.max(t.firstValue,t.secondValue)),f=x(()=>e.range?`${100*(d.value-c.value)/(e.max-e.min)}%`:`${100*(t.firstValue-e.min)/(e.max-e.min)}%`),h=x(()=>e.range?`${100*(c.value-e.min)/(e.max-e.min)}%`:"0%"),m=x(()=>e.vertical?{height:e.height}:{}),v=x(()=>e.vertical?{height:f.value,bottom:h.value}:{width:f.value,left:h.value}),p=()=>{l.value&&(t.sliderSize=l.value.getBoundingClientRect()[e.vertical?"height":"width"])},g=I=>{const N=e.min+I*(e.max-e.min)/100;if(!e.range)return o;let R;return Math.abs(c.value-N)t.secondValue?"firstButton":"secondButton",r[R]},y=I=>{const N=g(I);return N.value.setPosition(I),N},b=I=>{t.firstValue=I??e.min,w(e.range?[c.value,d.value]:I??e.min)},C=I=>{t.secondValue=I,e.range&&w([c.value,d.value])},w=I=>{n(it,I),n(In,I)},_=async()=>{await Pe(),n(Ct,e.range?[c.value,d.value]:e.modelValue)},k=I=>{var R,K,H,z;if(u.value||t.dragging)return;p();let N=0;if(e.vertical){const V=((K=(R=I.touches)==null?void 0:R.item(0))==null?void 0:K.clientY)??I.clientY;N=(l.value.getBoundingClientRect().bottom-V)/t.sliderSize*100}else N=((((z=(H=I.touches)==null?void 0:H.item(0))==null?void 0:z.clientX)??I.clientX)-l.value.getBoundingClientRect().left)/t.sliderSize*100;if(!(N<0||N>100))return y(N)};return{elFormItem:a,slider:l,firstButton:o,secondButton:s,sliderDisabled:u,minValue:c,maxValue:d,runwayStyle:m,barStyle:v,resetSize:p,setPosition:y,emitChange:_,onSliderWrapperPrevent:I=>{var N,R;((N=r.firstButton.value)!=null&&N.dragging||(R=r.secondButton.value)!=null&&R.dragging)&&I.preventDefault()},onSliderClick:I=>{k(I)&&_()},onSliderDown:async I=>{const N=k(I);N&&(await Pe(),N.value.onButtonDown(I))},onSliderMarkerDown:I=>{u.value||t.dragging||y(I)&&_()},setFirstValue:b,setSecondValue:C}},xse=(e,t,n,a)=>({stops:x(()=>{if(!e.showStops||e.min>e.max)return[];if(e.step==="mark"||e.step===0)return e.step===0&&jt("ElSlider","step should not be 0."),[];const s=Math.ceil((e.max-e.min)/e.step),r=100*e.step/(e.max-e.min),u=Array.from({length:s-1}).map((c,d)=>(d+1)*r);return e.range?u.filter(c=>c<100*(n.value-e.min)/(e.max-e.min)||c>100*(a.value-e.min)/(e.max-e.min)):u.filter(c=>c>100*(t.firstValue-e.min)/(e.max-e.min))}),getStopStyle:s=>e.vertical?{bottom:`${s}%`}:{left:`${s}%`}}),kse=(e,t,n,a,l,o)=>{const s=c=>{l(it,c),l(In,c)},r=()=>e.range?![n.value,a.value].every((c,d)=>c===t.oldValue[d]):e.modelValue!==t.oldValue,u=()=>{var d,f;e.min>e.max&&vn("Slider","min should not be greater than max.");const c=e.modelValue;e.range&&ve(c)?c[1]e.max?s([e.max,e.max]):c[0]e.max?s([c[0],e.max]):(t.firstValue=c[0],t.secondValue=c[1],r()&&(e.validateEvent&&((d=o==null?void 0:o.validate)==null||d.call(o,"change").catch(ut)),t.oldValue=c.slice())):!e.range&&qe(c)&&!Number.isNaN(c)&&(ce.max?s(e.max):(t.firstValue=c,r()&&(e.validateEvent&&((f=o==null?void 0:o.validate)==null||f.call(o,"change").catch(ut)),t.oldValue=c)))};u(),ce(()=>t.dragging,c=>{c||u()}),ce(()=>e.modelValue,(c,d)=>{t.dragging||ve(c)&&ve(d)&&c.every((f,h)=>f===d[h])&&t.firstValue===c[0]&&t.secondValue===c[1]||u()},{deep:!0}),ce(()=>[e.min,e.max],()=>{u()})},Ese=(e,t,n)=>{const a=B(),l=B(!1),o=x(()=>t.value instanceof Function);return{tooltip:a,tooltipVisible:l,formatValue:x(()=>o.value&&t.value(e.modelValue)||e.modelValue),displayTooltip:co(()=>{n.value&&(l.value=!0)},50),hideTooltip:co(()=>{n.value&&(l.value=!1)},50)}},Tse=(e,t,n)=>{const{disabled:a,min:l,max:o,step:s,showTooltip:r,persistent:u,precision:c,sliderSize:d,formatTooltip:f,emitChange:h,resetSize:m,updateDragging:v,markList:p}=De(g_),{tooltip:g,tooltipVisible:y,formatValue:b,displayTooltip:C,hideTooltip:w}=Ese(e,f,r),_=B(),k=x(()=>`${(e.modelValue-l.value)/(o.value-l.value)*100}%`),M=x(()=>e.vertical?{bottom:k.value}:{left:k.value}),E=x(()=>s.value==="mark"&&p.value.length>0),T=()=>{t.hovering=!0,C()},O=()=>{t.hovering=!1,t.dragging||w()},I=ae=>{a.value||(ae.preventDefault(),q(ae),window.addEventListener("mousemove",Q),window.addEventListener("touchmove",Q),window.addEventListener("mouseup",ee),window.addEventListener("touchend",ee),window.addEventListener("contextmenu",ee),_.value.focus())},N=ae=>{a.value||(t.newPosition=Number.parseFloat(k.value)+ae/(o.value-l.value)*100,te(t.newPosition),h())},R=ae=>{if(a.value||!p.value.length)return;const ue=e.modelValue,pe=Number.EPSILON,ge=Math.abs(ae);let X;if(ae>0){const Z=p.value.findIndex(re=>re.point>ue+pe);if(Z!==-1){const re=Math.min(Z+ge-1,p.value.length-1);X=p.value[re].point}}else{let Z=-1;for(let re=p.value.length-1;re>=0;re--)if(p.value[re].point{E.value?R(-1):qe(s.value)&&N(-s.value)},H=()=>{E.value?R(1):qe(s.value)&&N(s.value)},z=()=>{E.value?R(-4):qe(s.value)&&N(-s.value*4)},V=()=>{E.value?R(4):qe(s.value)&&N(s.value*4)},L=()=>{a.value||(te(0),h())},F=()=>{a.value||(te(100),h())},D=ae=>{const ue=Xt(ae);let pe=!0;switch(ue){case Ce.left:case Ce.down:K();break;case Ce.right:case Ce.up:H();break;case Ce.home:L();break;case Ce.end:F();break;case Ce.pageDown:z();break;case Ce.pageUp:V();break;default:pe=!1;break}pe&&ae.preventDefault()},j=ae=>{let ue,pe;return ae.type.startsWith("touch")?(pe=ae.touches[0].clientY,ue=ae.touches[0].clientX):(pe=ae.clientY,ue=ae.clientX),{clientX:ue,clientY:pe}},q=ae=>{t.dragging=!0,t.isClick=!0;const{clientX:ue,clientY:pe}=j(ae);e.vertical?t.startY=pe:t.startX=ue,t.startPosition=Number.parseFloat(k.value),t.newPosition=t.startPosition},Q=ae=>{if(t.dragging){t.isClick=!1,C(),m();let ue;const{clientX:pe,clientY:ge}=j(ae);e.vertical?(t.currentY=ge,ue=(t.startY-t.currentY)/d.value*100):(t.currentX=pe,ue=(t.currentX-t.startX)/d.value*100),t.newPosition=t.startPosition+ue,te(t.newPosition)}},ee=()=>{t.dragging&&(setTimeout(()=>{t.dragging=!1,t.hovering||w(),t.isClick||te(t.newPosition),h()},0),window.removeEventListener("mousemove",Q),window.removeEventListener("touchmove",Q),window.removeEventListener("mouseup",ee),window.removeEventListener("touchend",ee),window.removeEventListener("contextmenu",ee))},te=async ae=>{if(ae===null||Number.isNaN(+ae))return;ae=za(ae,0,100);let ue;if(s.value==="mark")p.value.length===0?ue=ae<=50?l.value:o.value:ue=p.value.reduce((pe,ge)=>Math.abs(ge.position-ae)t.dragging,ae=>{v(ae)}),Wt(_,"touchstart",I,{passive:!1}),{disabled:a,button:_,tooltip:g,tooltipVisible:y,showTooltip:r,persistent:u,wrapperStyle:M,formatValue:b,handleMouseEnter:T,handleMouseLeave:O,onButtonDown:I,onKeyDown:D,setPosition:te}},Mse=ke({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:{type:Y([String,Array,Object,Boolean]),default:void 0},placement:{type:String,values:Co,default:"top"}}),Ose={[it]:e=>qe(e)},$se=["tabindex"];var Nse=W({name:"ElSliderButton",__name:"button",props:Mse,emits:Ose,setup(e,{expose:t,emit:n}){const a=e,l=n,o=ye("slider"),s=Dt({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:a.modelValue}),r=x(()=>f.value?h.value:!1),{disabled:u,button:c,tooltip:d,showTooltip:f,persistent:h,tooltipVisible:m,wrapperStyle:v,formatValue:p,handleMouseEnter:g,handleMouseLeave:y,onButtonDown:b,onKeyDown:C,setPosition:w}=Tse(a,s,l),{hovering:_,dragging:k}=Bn(s);return t({onButtonDown:b,onKeyDown:C,setPosition:w,hovering:_,dragging:k}),(M,E)=>(S(),A("div",{ref_key:"button",ref:c,class:P([i(o).e("button-wrapper"),{hover:i(_),dragging:i(k)}]),style:Ye(i(v)),tabindex:i(u)?void 0:0,onMouseenter:E[0]||(E[0]=(...T)=>i(g)&&i(g)(...T)),onMouseleave:E[1]||(E[1]=(...T)=>i(y)&&i(y)(...T)),onMousedown:E[2]||(E[2]=(...T)=>i(b)&&i(b)(...T)),onFocus:E[3]||(E[3]=(...T)=>i(g)&&i(g)(...T)),onBlur:E[4]||(E[4]=(...T)=>i(y)&&i(y)(...T)),onKeydown:E[5]||(E[5]=(...T)=>i(C)&&i(C)(...T))},[G(i(Gn),{ref_key:"tooltip",ref:d,visible:i(m),placement:M.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":M.tooltipClass,disabled:!i(f),persistent:r.value},{content:ne(()=>[$("span",null,Se(i(p)),1)]),default:ne(()=>[$("div",{class:P([i(o).e("button"),{hover:i(_),dragging:i(k)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled","persistent"])],46,$se))}}),Q3=Nse;const Ase=ke({mark:{type:Y([String,Object]),default:void 0}});var Ise=W({name:"ElSliderMarker",props:Ase,setup(e){const t=ye("slider"),n=x(()=>Ne(e.mark)?e.mark:e.mark.label),a=x(()=>Ne(e.mark)?void 0:e.mark.style);return()=>Je("div",{class:t.e("marks-text"),style:a.value},n.value)}});const Pse=["id","role","aria-label","aria-labelledby"],Rse={key:1};var Vse=W({name:"ElSlider",__name:"slider",props:bse,emits:wse,setup(e,{expose:t,emit:n}){const a=e,l=n,o=ye("slider"),{t:s}=St(),r=Dt({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:u,slider:c,firstButton:d,secondButton:f,sliderDisabled:h,minValue:m,maxValue:v,runwayStyle:p,barStyle:g,resetSize:y,emitChange:b,onSliderWrapperPrevent:C,onSliderClick:w,onSliderDown:_,onSliderMarkerDown:k,setFirstValue:M,setSecondValue:E}=Sse(a,r,l),{stops:T,getStopStyle:O}=xse(a,r,m,v),{inputId:I,isLabeledByFormItem:N}=Ua(a,{formItemContext:u}),R=Pn(),K=x(()=>a.inputSize||R.value),H=x(()=>a.showInput&&!a.range&&a.step!=="mark"),z=x(()=>a.ariaLabel||s("el.slider.defaultLabel",{min:a.min,max:a.max})),V=x(()=>a.range?a.rangeStartLabel||s("el.slider.defaultRangeStartLabel"):z.value),L=x(()=>a.formatValueText?a.formatValueText(ae.value):`${ae.value}`),F=x(()=>a.rangeEndLabel||s("el.slider.defaultRangeEndLabel")),D=x(()=>a.formatValueText?a.formatValueText(ue.value):`${ue.value}`),j=x(()=>[o.b(),o.m(R.value),o.is("vertical",a.vertical),{[o.m("with-input")]:H.value}]),q=_se(a);kse(a,r,m,v,l,u);const Q=x(()=>qe(a.step)?a.step:1),ee=x(()=>{const X=qe(a.step)?a.step:1,Z=[a.min,a.max,X].map(re=>{const U=`${re}`.split(".")[1];return U?U.length:0});return Math.max.apply(null,Z)}),{sliderWrapper:te}=Cse(a,r,y),{firstValue:ae,secondValue:ue,sliderSize:pe}=Bn(r),ge=X=>{r.dragging=X};return Wt(te,"touchstart",C,{passive:!1}),Wt(te,"touchmove",C,{passive:!1}),Et(g_,{...Bn(a),sliderSize:pe,disabled:h,precision:ee,markList:q,emitChange:b,resetSize:y,updateDragging:ge}),t({onSliderClick:w}),(X,Z)=>{var re,U;return S(),A("div",{id:X.range?i(I):void 0,ref_key:"sliderWrapper",ref:te,class:P(j.value),role:X.range?"group":void 0,"aria-label":X.range&&!i(N)?z.value:void 0,"aria-labelledby":X.range&&i(N)?(re=i(u))==null?void 0:re.labelId:void 0},[$("div",{ref_key:"slider",ref:c,class:P([i(o).e("runway"),{"show-input":H.value},i(o).is("disabled",i(h))]),style:Ye(i(p)),onMousedown:Z[0]||(Z[0]=(...J)=>i(_)&&i(_)(...J)),onTouchstartPassive:Z[1]||(Z[1]=(...J)=>i(_)&&i(_)(...J))},[$("div",{class:P(i(o).e("bar")),style:Ye(i(g))},null,6),G(Q3,{id:X.range?void 0:i(I),ref_key:"firstButton",ref:d,"model-value":i(ae),vertical:X.vertical,"tooltip-class":X.tooltipClass,placement:X.placement,role:"slider","aria-label":X.range||!i(N)?V.value:void 0,"aria-labelledby":!X.range&&i(N)?(U=i(u))==null?void 0:U.labelId:void 0,"aria-valuemin":X.min,"aria-valuemax":X.range?i(ue):X.max,"aria-valuenow":i(ae),"aria-valuetext":L.value,"aria-orientation":X.vertical?"vertical":"horizontal","aria-disabled":i(h),"onUpdate:modelValue":i(M)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),X.range?(S(),ie(Q3,{key:0,ref_key:"secondButton",ref:f,"model-value":i(ue),vertical:X.vertical,"tooltip-class":X.tooltipClass,placement:X.placement,role:"slider","aria-label":F.value,"aria-valuemin":i(ae),"aria-valuemax":X.max,"aria-valuenow":i(ue),"aria-valuetext":D.value,"aria-orientation":X.vertical?"vertical":"horizontal","aria-disabled":i(h),"onUpdate:modelValue":i(E)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):oe("v-if",!0),X.showStops?(S(),A("div",Rse,[(S(!0),A(He,null,wt(i(T),(J,se)=>(S(),A("div",{key:se,class:P(i(o).e("stop")),style:Ye(i(O)(J))},null,6))),128))])):oe("v-if",!0),i(q).length>0?(S(),A(He,{key:2},[$("div",null,[(S(!0),A(He,null,wt(i(q),(J,se)=>(S(),A("div",{key:se,style:Ye(i(O)(J.position)),class:P([i(o).e("stop"),i(o).e("marks-stop")])},null,6))),128))]),$("div",{class:P(i(o).e("marks"))},[(S(!0),A(He,null,wt(i(q),(J,se)=>(S(),ie(i(Ise),{key:se,mark:J.mark,style:Ye(i(O)(J.position)),onMousedown:Qe(fe=>i(k)(J.position),["stop"])},null,8,["mark","style","onMousedown"]))),128))],2)],64)):oe("v-if",!0)],38),H.value?(S(),ie(i(c_),{key:0,ref:"input","model-value":i(ae),class:P(i(o).e("input")),step:Q.value,disabled:i(h),controls:X.showInputControls,min:X.min,max:X.max,precision:ee.value,size:K.value,"onUpdate:modelValue":i(M),onChange:i(b)},null,8,["model-value","class","step","disabled","controls","min","max","precision","size","onUpdate:modelValue","onChange"])):oe("v-if",!0)],10,Pse)}}}),Lse=Vse;const Bse=ct(Lse),zse=ke({prefixCls:{type:String}}),e6=W({name:"ElSpaceItem",props:zse,setup(e,{slots:t}){const n=ye("space"),a=x(()=>`${e.prefixCls||n.b()}__item`);return()=>Je("div",{class:a.value},le(t,"default"))}}),t6={small:8,default:12,large:16};function Dse(e){const t=ye("space"),n=x(()=>[t.b(),t.m(e.direction),e.class]),a=B(0),l=B(0),o=x(()=>[e.wrap||e.fill?{flexWrap:"wrap"}:{},{alignItems:e.alignment},{rowGap:`${l.value}px`,columnGap:`${a.value}px`},e.style]),s=x(()=>e.fill?{flexGrow:1,minWidth:`${e.fillRatio}%`}:{});return la(()=>{const{size:r="small",wrap:u,direction:c,fill:d}=e;if(ve(r)){const[f=0,h=0]=r;a.value=f,l.value=h}else{let f;qe(r)?f=r:f=t6[r||"small"]||t6.small,(u||d)&&c==="horizontal"?a.value=l.value=f:c==="horizontal"?(a.value=f,l.value=0):(l.value=f,a.value=0)}}),{classes:n,containerStyle:o,itemStyle:s}}const Hse=ke({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:Y([String,Object,Array,Boolean]),default:""},style:{type:Y([String,Array,Object,Boolean]),default:""},alignment:{type:Y(String),default:"center"},prefixCls:{type:String},spacer:{type:Y([Object,String,Number,Array]),default:null,validator:e=>Yt(e)||qe(e)||Ne(e)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:Fl,validator:e=>qe(e)||ve(e)&&e.length===2&&e.every(qe)}}),Fse=W({name:"ElSpace",props:Hse,setup(e,{slots:t}){const{classes:n,containerStyle:a,itemStyle:l}=Dse(e);function o(s,r="",u=[]){const{prefixCls:c}=e;return s.forEach((d,f)=>{Uh(d)?ve(d.children)&&d.children.forEach((h,m)=>{Uh(h)&&ve(h.children)?o(h.children,`${r+m}-`,u):Yt(h)&&(h==null?void 0:h.type)===pn?u.push(h):u.push(G(e6,{style:l.value,prefixCls:c,key:`nested-${r+m}`},{default:()=>[h]},12,["style","prefixCls"]))}):IR(d)&&u.push(G(e6,{style:l.value,prefixCls:c,key:`LoopKey${r+f}`},{default:()=>[d]},12,["style","prefixCls"]))}),u}return()=>{const{spacer:s,direction:r}=e,u=le(t,"default",{key:0},()=>[]);if((u.children??[]).length===0)return null;if(ve(u.children)){let c=o(u.children);if(s){const d=c.length-1;c=c.reduce((f,h,m)=>{const v=[...f,h];return m!==d&&v.push(G("span",{style:[l.value,r==="vertical"?"width: 100%":null],key:m},[Yt(s)?ja(s):bt(s,1)],4)),v},[])}return G("div",{class:n.value,style:a.value},c,6)}return u.children}}}),Kse=ct(Fse),Wse=ke({decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:","},precision:{type:Number,default:0},formatter:Function,value:{type:Y([Number,Object]),default:0},prefix:String,suffix:String,title:String,valueStyle:{type:Y([String,Object,Array,Boolean]),default:void 0}});var jse=W({name:"ElStatistic",__name:"statistic",props:Wse,setup(e,{expose:t}){const n=e,a=ye("statistic"),l=x(()=>{const{value:o,formatter:s,precision:r,decimalSeparator:u,groupSeparator:c}=n;if(Ke(s))return s(o);if(!qe(o)||Number.isNaN(o))return o;let[d,f=""]=String(o).split(".");return f=f.padEnd(r,"0").slice(0,r>0?r:0),d=d.replace(/\B(?=(\d{3})+(?!\d))/g,c),[d,f].join(f?u:"")});return t({displayValue:l}),(o,s)=>(S(),A("div",{class:P(i(a).b())},[o.$slots.title||e.title?(S(),A("div",{key:0,class:P(i(a).e("head"))},[le(o.$slots,"title",{},()=>[bt(Se(e.title),1)])],2)):oe("v-if",!0),$("div",{class:P(i(a).e("content"))},[o.$slots.prefix||e.prefix?(S(),A("div",{key:0,class:P(i(a).e("prefix"))},[le(o.$slots,"prefix",{},()=>[$("span",null,Se(e.prefix),1)])],2)):oe("v-if",!0),$("span",{class:P(i(a).e("number")),style:Ye(e.valueStyle)},Se(l.value),7),o.$slots.suffix||e.suffix?(S(),A("div",{key:1,class:P(i(a).e("suffix"))},[le(o.$slots,"suffix",{},()=>[$("span",null,Se(e.suffix),1)])],2)):oe("v-if",!0)],2)],2))}}),qse=jse;const y_=ct(qse),Use=ke({format:{type:String,default:"HH:mm:ss"},prefix:String,suffix:String,title:String,value:{type:Y([Number,Object]),default:0},valueStyle:{type:Y([String,Object,Array,Boolean]),default:void 0}}),Yse={finish:()=>!0,[Ct]:e=>qe(e)},Gse=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]],n6=e=>qe(e)?new Date(e).getTime():e.valueOf(),a6=(e,t)=>{let n=e;return Gse.reduce((a,[l,o])=>{const s=new RegExp(`${l}+(?![^\\[\\]]*\\])`,"g");if(s.test(a)){const r=Math.floor(n/o);return n-=r*o,a.replace(s,u=>String(r).padStart(u.length,"0"))}return a},t).replace(/\[([^\]]*)]/g,"$1")};var Xse=W({name:"ElCountdown",__name:"countdown",props:Use,emits:Yse,setup(e,{expose:t,emit:n}){const a=e,l=n;let o;const s=B(0),r=x(()=>a6(s.value,a.format)),u=f=>a6(f,a.format),c=()=>{o&&(Ll(o),o=void 0)},d=()=>{const f=n6(a.value),h=()=>{let m=f-Date.now();l(Ct,m),m<=0?(m=0,c(),l("finish")):o=Sa(h),s.value=m};o=Sa(h)};return mt(()=>{s.value=n6(a.value)-Date.now(),ce(()=>[a.value,a.format],()=>{c(),d()},{immediate:!0})}),Ht(()=>{c()}),t({displayValue:r}),(f,h)=>(S(),ie(i(y_),{value:s.value,title:e.title,prefix:e.prefix,suffix:e.suffix,"value-style":e.valueStyle,formatter:u},da({_:2},[wt(f.$slots,(m,v)=>({name:v,fn:ne(()=>[le(f.$slots,v)])}))]),1032,["value","title","prefix","suffix","value-style"]))}}),Jse=Xse;const Zse=ct(Jse),Qse=ke({space:{type:[Number,String],default:""},active:{type:Number,default:0},direction:{type:String,default:"horizontal",values:["horizontal","vertical"]},alignCenter:{type:Boolean},simple:{type:Boolean},finishStatus:{type:String,values:["wait","process","finish","error","success"],default:"finish"},processStatus:{type:String,values:["wait","process","finish","error","success"],default:"process"}}),ere={[Ct]:(e,t)=>[e,t].every(qe)},b_="ElSteps",tre=ke({title:{type:String,default:""},icon:{type:Ut},description:{type:String,default:""},status:{type:String,values:["","wait","process","finish","error","success"],default:""}});var nre=W({name:"ElSteps",__name:"steps",props:Qse,emits:ere,setup(e,{emit:t}){const n=e,a=t,l=ye("steps"),{children:o,addChild:s,removeChild:r,ChildrenSorter:u}=F0(st(),"ElStep");return ce(o,()=>{o.value.forEach((c,d)=>{c.setIndex(d)})}),Et(b_,{props:n,steps:o,addStep:s,removeStep:r}),ce(()=>n.active,(c,d)=>{a(Ct,c,d)}),(c,d)=>(S(),A("div",{class:P([i(l).b(),i(l).m(e.simple?"simple":e.direction)])},[le(c.$slots,"default"),G(i(u))],2))}}),are=nre,lre=W({name:"ElStep",__name:"item",props:tre,setup(e){const t=e,n=ye("step"),a=B(-1),l=B({}),o=B(""),s=De(b_),r=st();let u=0,c=0;mt(()=>{ce([()=>s.props.active,()=>s.props.processStatus,()=>s.props.finishStatus],([E],[T])=>{c=T||0,u=E-c,k(E)},{immediate:!0})});const d=x(()=>t.status||o.value),f=x(()=>{const E=s.steps.value[a.value-1];return E?E.internalStatus.value:"wait"}),h=x(()=>s.props.alignCenter),m=x(()=>s.props.direction==="vertical"),v=x(()=>s.props.simple),p=x(()=>s.steps.value.length),g=x(()=>{var E;return((E=s.steps.value[p.value-1])==null?void 0:E.uid)===r.uid}),y=x(()=>v.value?"":s.props.space),b=x(()=>[n.b(),n.is(v.value?"simple":s.props.direction),n.is("flex",g.value&&!y.value&&!h.value),n.is("center",h.value&&!m.value&&!v.value)]),C=x(()=>{const E={flexBasis:qe(y.value)?`${y.value}px`:y.value?y.value:`${100/(p.value-(h.value?0:1))}%`};return m.value||g.value&&(E.maxWidth=`${100/p.value}%`),E}),w=E=>{a.value=E},_=E=>{const T=E==="wait",O={transitionDelay:`${Math.abs(u)===1?0:u>0?(a.value+1-c)*150:-(a.value+1-s.props.active)*150}ms`},I=E===s.props.processStatus||T?0:100;O.borderWidth=I&&!v.value?"1px":0,O[s.props.direction==="vertical"?"height":"width"]=`${I}%`,l.value=O},k=E=>{E>a.value?o.value=s.props.finishStatus:E===a.value&&f.value!=="error"?o.value=s.props.processStatus:o.value="wait";const T=s.steps.value[a.value-1];T&&T.calcProgress(o.value)},M={uid:r.uid,getVnode:()=>r.vnode,currentStatus:d,internalStatus:o,setIndex:w,calcProgress:_};return s.addStep(M),Ht(()=>{s.removeStep(M)}),(E,T)=>(S(),A("div",{style:Ye(C.value),class:P(b.value)},[oe(" icon & line "),$("div",{class:P([i(n).e("head"),i(n).is(d.value)])},[v.value?oe("v-if",!0):(S(),A("div",{key:0,class:P(i(n).e("line"))},[$("i",{class:P(i(n).e("line-inner")),style:Ye(l.value)},null,6)],2)),$("div",{class:P([i(n).e("icon"),i(n).is(e.icon||E.$slots.icon?"icon":"text")])},[le(E.$slots,"icon",{},()=>[e.icon?(S(),ie(i(Be),{key:0,class:P(i(n).e("icon-inner"))},{default:ne(()=>[(S(),ie(ft(e.icon)))]),_:1},8,["class"])):d.value==="success"?(S(),ie(i(Be),{key:1,class:P([i(n).e("icon-inner"),i(n).is("status")])},{default:ne(()=>[G(i(gr))]),_:1},8,["class"])):d.value==="error"?(S(),ie(i(Be),{key:2,class:P([i(n).e("icon-inner"),i(n).is("status")])},{default:ne(()=>[G(i(ll))]),_:1},8,["class"])):v.value?oe("v-if",!0):(S(),A("div",{key:3,class:P(i(n).e("icon-inner"))},Se(a.value+1),3))])],2)],2),oe(" title & description "),$("div",{class:P(i(n).e("main"))},[$("div",{class:P([i(n).e("title"),i(n).is(d.value)])},[le(E.$slots,"title",{},()=>[bt(Se(e.title),1)])],2),v.value?(S(),A("div",{key:0,class:P(i(n).e("arrow"))},null,2)):(S(),A("div",{key:1,class:P([i(n).e("description"),i(n).is(d.value)])},[le(E.$slots,"description",{},()=>[bt(Se(e.description),1)])],2))],2)],6))}}),w_=lre;const ore=ct(are,{Step:w_}),sre=mn(w_),C_=e=>["",...Fl].includes(e),rre=ke({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:void 0},loading:Boolean,size:{type:String,validator:C_},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:Ut},activeActionIcon:{type:Ut},activeIcon:{type:Ut},inactiveIcon:{type:Ut},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:Y(Function)},id:String,tabindex:{type:[String,Number]},...xa(["ariaLabel"])}),ire={[it]:e=>qt(e)||Ne(e)||qe(e),[Ct]:e=>qt(e)||Ne(e)||qe(e),[In]:e=>qt(e)||Ne(e)||qe(e)},ure=["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex"],cre=["aria-hidden"],dre={key:1},fre={key:1},pre=["aria-hidden"],Sd="ElSwitch";var hre=W({name:Sd,__name:"switch",props:rre,emits:ire,setup(e,{expose:t,emit:n}){const a=e,l=n,{formItem:o}=Xn(),s=Pn(),r=ye("switch"),{inputId:u}=Ua(a,{formItemContext:o}),c=hn(x(()=>{if(a.loading)return!0})),d=B(a.modelValue!==!1),f=kt(),h=x(()=>[r.b(),r.m(s.value),r.is("disabled",c.value),r.is("checked",y.value)]),m=x(()=>[r.e("label"),r.em("label","left"),r.is("active",!y.value)]),v=x(()=>[r.e("label"),r.em("label","right"),r.is("active",y.value)]),p=x(()=>({width:bn(a.width)}));ce(()=>a.modelValue,()=>{d.value=!0});const g=x(()=>d.value?a.modelValue:!1),y=x(()=>g.value===a.activeValue);[a.activeValue,a.inactiveValue].includes(g.value)||(jt(Sd,"model-value must be active-value or inactive-value"),l(it,a.inactiveValue),l(Ct,a.inactiveValue),l(In,a.inactiveValue)),ce(y,_=>{var k;f.value.checked=_,a.validateEvent&&((k=o==null?void 0:o.validate)==null||k.call(o,"change").catch(ut))});const b=()=>{const _=y.value?a.inactiveValue:a.activeValue;l(it,_),l(Ct,_),l(In,_),Pe(()=>{f.value.checked=y.value})},C=()=>{if(c.value)return;const{beforeChange:_}=a;if(!_){b();return}const k=_();[Ho(k),qt(k)].includes(!0)||vn(Sd,"beforeChange must return type `Promise` or `boolean`"),Ho(k)?k.then(M=>{M&&b()}).catch(M=>{jt(Sd,`some error occurred: ${M}`)}):k&&b()},w=()=>{var _,k;(k=(_=f.value)==null?void 0:_.focus)==null||k.call(_)};return mt(()=>{f.value.checked=y.value}),t({focus:w,checked:y}),(_,k)=>(S(),A("div",{class:P(h.value),onClick:Qe(C,["prevent"])},[$("input",{id:i(u),ref_key:"input",ref:f,class:P(i(r).e("input")),type:"checkbox",role:"switch","aria-checked":y.value,"aria-disabled":i(c),"aria-label":e.ariaLabel,name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:i(c),tabindex:e.tabindex,onChange:b,onKeydown:un(C,["enter"])},null,42,ure),!e.inlinePrompt&&(e.inactiveIcon||e.inactiveText||_.$slots.inactive)?(S(),A("span",{key:0,class:P(m.value)},[le(_.$slots,"inactive",{},()=>[e.inactiveIcon?(S(),ie(i(Be),{key:0},{default:ne(()=>[(S(),ie(ft(e.inactiveIcon)))]),_:1})):oe("v-if",!0),!e.inactiveIcon&&e.inactiveText?(S(),A("span",{key:1,"aria-hidden":y.value},Se(e.inactiveText),9,cre)):oe("v-if",!0)])],2)):oe("v-if",!0),$("span",{class:P(i(r).e("core")),style:Ye(p.value)},[e.inlinePrompt?(S(),A("div",{key:0,class:P(i(r).e("inner"))},[y.value?(S(),A("div",{key:1,class:P(i(r).e("inner-wrapper"))},[le(_.$slots,"active",{},()=>[e.activeIcon?(S(),ie(i(Be),{key:0},{default:ne(()=>[(S(),ie(ft(e.activeIcon)))]),_:1})):oe("v-if",!0),!e.activeIcon&&e.activeText?(S(),A("span",fre,Se(e.activeText),1)):oe("v-if",!0)])],2)):(S(),A("div",{key:0,class:P(i(r).e("inner-wrapper"))},[le(_.$slots,"inactive",{},()=>[e.inactiveIcon?(S(),ie(i(Be),{key:0},{default:ne(()=>[(S(),ie(ft(e.inactiveIcon)))]),_:1})):oe("v-if",!0),!e.inactiveIcon&&e.inactiveText?(S(),A("span",dre,Se(e.inactiveText),1)):oe("v-if",!0)])],2))],2)):oe("v-if",!0),$("div",{class:P(i(r).e("action"))},[e.loading?(S(),ie(i(Be),{key:0,class:P(i(r).is("loading"))},{default:ne(()=>[G(i(wl))]),_:1},8,["class"])):y.value?le(_.$slots,"active-action",{key:1},()=>[e.activeActionIcon?(S(),ie(i(Be),{key:0},{default:ne(()=>[(S(),ie(ft(e.activeActionIcon)))]),_:1})):oe("v-if",!0)]):y.value?oe("v-if",!0):le(_.$slots,"inactive-action",{key:2},()=>[e.inactiveActionIcon?(S(),ie(i(Be),{key:0},{default:ne(()=>[(S(),ie(ft(e.inactiveActionIcon)))]),_:1})):oe("v-if",!0)])],2)],6),!e.inlinePrompt&&(e.activeIcon||e.activeText||_.$slots.active)?(S(),A("span",{key:1,class:P(v.value)},[le(_.$slots,"active",{},()=>[e.activeIcon?(S(),ie(i(Be),{key:0},{default:ne(()=>[(S(),ie(ft(e.activeIcon)))]),_:1})):oe("v-if",!0),!e.activeIcon&&e.activeText?(S(),A("span",{key:1,"aria-hidden":!y.value},Se(e.activeText),9,pre)):oe("v-if",!0)])],2)):oe("v-if",!0)],2))}}),vre=hre;const mre=ct(vre),gre={data:{type:Array,default:()=>[]},size:zn,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,rowExpandable:{type:Function},defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children",checkStrictly:!1})},lazy:Boolean,load:Function,style:{type:[String,Object,Array,Boolean],default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:Boolean,flexible:Boolean,showOverflowTooltip:{type:[Boolean,Object],default:void 0},tooltipFormatter:Function,appendFilterPanelTo:String,scrollbarTabindex:{type:[Number,String],default:void 0},allowDragLastColumn:{type:Boolean,default:!0},preserveExpandedContent:Boolean,nativeScrollbar:Boolean};let yre=1,bre=1;const wre=e=>`${e}-table_${yre++}`,Cre=e=>`${e}_column_${bre++}`,Up=function(e){var t;return(t=e.target)==null?void 0:t.closest("td")},_re=function(e,t,n,a,l){if(!t&&!a&&(!l||ve(l)&&!l.length))return e;Ne(n)?n=n==="descending"?-1:1:n=n&&n<0?-1:1;const o=a?null:function(r,u){return l?kw(Wn(l),c=>Ne(c)?Tn(r,c):c(r,u,e)):(t!=="$key"&&rt(r)&&"$value"in r&&(r=r.$value),[rt(r)?t?Tn(r,t):null:r])},s=function(r,u){var c,d,f,h,m;if(a)return a(r.value,u.value);for(let v=0,p=((c=r.key)==null?void 0:c.length)??0;v((m=u.key)==null?void 0:m[v]))return 1}return 0};return e.map((r,u)=>({value:r,index:u,key:o?o(r,u):null})).sort((r,u)=>{let c=s(r,u);return c||(c=r.index-u.index),c*+n}).map(r=>r.value)},__=function(e,t){let n=null;return e.columns.forEach(a=>{a.id===t&&(n=a)}),n},Sre=function(e,t){let n=null;for(let a=0;a{if(!e)throw new Error("Row is required when get row identity");if(Ne(t)){if(!t.includes("."))return`${e[t]}`;const n=t.split(".");let a=e;for(const l of n)a=a[l];return`${a}`}else if(Ke(t))return t.call(null,e);return""},ii=function(e,t,n=!1,a="children"){const l=e||[],o={};return l.forEach((s,r)=>{if(o[$n(s,t)]={row:s,index:r},n){const u=s[a];ve(u)&&Object.assign(o,ii(u,t,!0,a))}}),o};function xre(e,t){const n={};let a;for(a in e)n[a]=e[a];for(a in t)if(zt(t,a)){const l=t[a];Mt(l)||(n[a]=l)}return n}function rm(e){return e===""||Mt(e)||(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function S_(e){return e===""||Mt(e)||(e=rm(e),Number.isNaN(e)&&(e=80)),e}function kre(e){return qe(e)?e:Ne(e)?/^\d+(?:px)?$/.test(e)?Number.parseInt(e,10):e:null}function Ere(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...a)=>t(n(...a)))}function Xr(e,t,n,a,l,o,s){let r=o??0,u=!1;const d=(()=>{if(!s)return e.indexOf(t);const p=$n(t,s);return e.findIndex(g=>$n(g,s)===p)})(),f=d!==-1,h=l==null?void 0:l.call(null,t,r),m=p=>{p==="add"?e.push(t):e.splice(d,1),u=!0},v=p=>{let g=0;const y=(a==null?void 0:a.children)&&p[a.children];return y&&ve(y)&&(g+=y.length,y.forEach(b=>{g+=v(b)})),g};return(!l||h)&&(qt(n)?n&&!f?m("add"):!n&&f&&m("remove"):m(f?"remove":"add")),!(a!=null&&a.checkStrictly)&&(a!=null&&a.children)&&ve(t[a.children])&&t[a.children].forEach(p=>{const g=Xr(e,p,n??!f,a,l,r+1,s);r+=v(p)+1,g&&(u=g)}),u}function Tre(e,t,n="children",a="hasChildren",l=!1){const o=r=>!(ve(r)&&r.length);function s(r,u,c){t(r,u,c),u.forEach(d=>{if(d[a]&&l){t(d,null,c+1);return}const f=d[n];o(f)||s(d,f,c+1)})}e.forEach(r=>{if(r[a]&&l){t(r,null,0);return}const u=r[n];o(u)||s(r,u,0)})}const Mre=(e,t,n,a)=>{const l=Ke(a==null?void 0:a.tooltipFormatter)?a.tooltipFormatter({row:n,column:a,cellValue:Cs(n,a.property).value}):void 0;return Yt(l)?{slotContent:l,content:null,strategy:"fixed",...e}:{slotContent:null,content:l??t,strategy:"fixed",...e}};let Cn=null;function Ore(e,t,n,a,l,o){var m;const s=Mre(e,t,n,a),r={...s,slotContent:void 0};if((Cn==null?void 0:Cn.trigger)===l){const v=(m=Cn.vm)==null?void 0:m.component;Tw(v==null?void 0:v.props,r),v&&s.slotContent&&(v.slots.content=()=>[s.slotContent]);return}Cn==null||Cn();const u=o==null?void 0:o.refs.tableWrapper,c=u==null?void 0:u.dataset.prefix,d=G(Gn,{virtualTriggering:!0,virtualRef:l,appendTo:u,placement:"top",transition:"none",offset:0,hideAfter:0,...r},s.slotContent?{content:()=>s.slotContent}:void 0);d.appContext={...o.appContext,...o};const f=document.createElement("div");Vl(d,f),d.component.exposed.onOpen();const h=u==null?void 0:u.querySelector(`.${c}-scrollbar__wrap`);Cn=()=>{var p,g;(g=(p=d.component)==null?void 0:p.exposed)!=null&&g.onClose&&d.component.exposed.onClose(),Vl(null,f);const v=Cn;h==null||h.removeEventListener("scroll",v),v.trigger=void 0,v.vm=void 0,Cn=null},Cn.trigger=l??void 0,Cn.vm=d,h==null||h.addEventListener("scroll",Cn)}function x_(e){return e.children?kw(e.children,x_):[e]}function o6(e,t){return e+t.colSpan}const k_=(e,t,n,a)=>{let l=0,o=e;const s=n.states.columns.value;if(a){const u=x_(a[e]);l=s.slice(0,s.indexOf(u[0])).reduce(o6,0),o=l+u.reduce(o6,0)-1}else l=e;let r;switch(t){case"left":o=s.length-n.states.rightFixedLeafColumnsLength.value&&(r="right");break;default:o=s.length-n.states.rightFixedLeafColumnsLength.value&&(r="right")}return r?{direction:r,start:l,after:o}:{}},im=(e,t,n,a,l,o=0)=>{const s=[],{direction:r,start:u,after:c}=k_(t,n,a,l);if(r){const d=r==="left";s.push(`${e}-fixed-column--${r}`),d&&c+o===a.states.fixedLeafColumnsLength.value-1?s.push("is-last-column"):!d&&u-o===a.states.columns.value.length-a.states.rightFixedLeafColumnsLength.value&&s.push("is-first-column")}return s};function s6(e,t){return e+(I0(t.realWidth)||Number.isNaN(t.realWidth)?Number(t.width):t.realWidth)}const um=(e,t,n,a)=>{const{direction:l,start:o=0,after:s=0}=k_(e,t,n,a);if(!l)return;const r={},u=l==="left",c=n.states.columns.value;return u?r.left=c.slice(0,o).reduce(s6,0):r.right=c.slice(s+1).reverse().reduce(s6,0),r},Ii=(e,t)=>{e&&(Number.isNaN(e[t])||(e[t]=`${e[t]}px`))};function E_(e){return e.some(t=>Yt(t)?!(t.type===pn||t.type===He&&!E_(t.children)):!0)?e:null}function $re(e){const t=st(),n=B(!1),a=B([]),l=(c,d)=>{const f=t.store.states.rowExpandable.value;return(f==null?void 0:f(c,d))??!0};return{updateExpandRows:()=>{const c=e.data.value||[],d=e.rowKey.value;if(n.value)a.value=t.store.states.rowExpandable.value?c.filter(l):c.slice();else if(d){const f=ii(a.value,d);a.value=c.filter((h,m)=>!!f[$n(h,d)]&&l(h,m))}else a.value=[]},toggleRowExpansion:(c,d)=>{const f=(e.data.value||[]).indexOf(c);f>-1&&!l(c,f)||Xr(a.value,c,d,void 0,void 0,void 0,e.rowKey.value)&&t.emit("expand-change",c,a.value.slice())},setExpandRowKeys:c=>{t.store.assertRowKey();const d=e.data.value||[],f=e.rowKey.value,h=ii(d,f);a.value=c.reduce((m,v)=>{const p=h[v];return p&&l(p.row,p.index)&&m.push(p.row),m},[])},isRowExpanded:c=>{const d=e.rowKey.value;return d?!!ii(a.value,d)[$n(c,d)]:a.value.includes(c)},states:{expandRows:a,defaultExpandAll:n}}}function Nre(e){const t=st(),n=B(null),a=B(null),l=c=>{t.store.assertRowKey(),n.value=c,s(c)},o=()=>{n.value=null},s=c=>{const{data:d,rowKey:f}=e,h=a.value;let m=null;f.value&&(m=(i(d)||[]).find(v=>$n(v,f.value)===c)??null),a.value=m??null,t.emit("current-change",a.value,h)};return{setCurrentRowKey:l,restoreCurrentRowKey:o,setCurrentRowByKey:s,updateCurrentRow:c=>{const d=a.value;if(c&&c!==d){a.value=c,t.emit("current-change",a.value,d);return}!c&&d&&(a.value=null,t.emit("current-change",null,d))},updateCurrentRowData:()=>{const c=e.rowKey.value,d=e.data.value||[],f=a.value;f&&!d.includes(f)?c?s($n(f,c)):(a.value=null,t.emit("current-change",null,f)):n.value&&(s(n.value),o())},states:{_currentRowKey:n,currentRow:a}}}function Are(e){const t=B([]),n=B({}),a=B(16),l=B(!1),o=B({}),s=B("hasChildren"),r=B("children"),u=B(!1),c=st(),d=x(()=>e.rowKey.value?h(e.data.value||[]):{}),f=x(()=>{const w=e.rowKey.value,_=Object.keys(o.value),k={};return _.length&&_.forEach(M=>{if(o.value[M].length){const E={children:[]};o.value[M].forEach(T=>{const O=$n(T,w);E.children.push(O),T[s.value]&&!k[O]&&(k[O]={children:[]})}),k[M]=E}}),k}),h=w=>{const _=e.rowKey.value,k={};return Tre(w,(M,E,T)=>{const O=$n(M,_);ve(E)?k[O]={children:E.map(I=>$n(I,_)),level:T}:l.value&&(k[O]={children:[],lazy:!0,level:T})},r.value,s.value,l.value),k},m=(w=!1,_)=>{var O,I;_||(_=(O=c.store)==null?void 0:O.states.defaultExpandAll.value);const k=d.value,M=f.value,E=Object.keys(k),T={};if(E.length){const N=i(n),R=[],K=(z,V)=>{if(w)return t.value?_||t.value.includes(V):!!(_||z!=null&&z.expanded);{const L=_||t.value&&t.value.includes(V);return!!(z!=null&&z.expanded||L)}};E.forEach(z=>{const V=N[z],L={...k[z]};if(L.expanded=K(V,z),L.lazy){const{loaded:F=!1,loading:D=!1}=V||{};L.loaded=!!F,L.loading=!!D,R.push(z)}T[z]=L});const H=Object.keys(M);l.value&&H.length&&R.length&&H.forEach(z=>{var F;const V=N[z],L=M[z].children;if(R.includes(z)){if(((F=T[z].children)==null?void 0:F.length)!==0)throw new Error("[ElTable]children must be an empty array.");T[z].children=L}else{const{loaded:D=!1,loading:j=!1}=V||{};T[z]={lazy:!0,loaded:!!D,loading:!!j,expanded:K(V,z),children:L,level:void 0}}})}n.value=T,(I=c.store)==null||I.updateTableScrollY()};ce(()=>t.value,()=>{m(!0)},{deep:!0}),ce(()=>d.value,()=>{m()}),ce(()=>f.value,()=>{m()});const v=w=>{t.value=w,m()},p=w=>l.value&&w&&"loaded"in w&&!w.loaded,g=(w,_)=>{c.store.assertRowKey();const k=e.rowKey.value,M=$n(w,k),E=M&&n.value[M];if(M&&E&&"expanded"in E){const T=E.expanded;_=Mt(_)?!E.expanded:_,n.value[M].expanded=_,T!==_&&c.emit("expand-change",w,_),_&&p(E)&&b(w,M,E),c.store.updateTableScrollY()}},y=w=>{c.store.assertRowKey();const _=e.rowKey.value,k=$n(w,_),M=n.value[k];p(M)?b(w,k,M):g(w,void 0)},b=(w,_,k)=>{const{load:M}=c.props;M&&!n.value[_].loaded&&(n.value[_].loading=!0,M(w,k,E=>{if(!ve(E))throw new TypeError("[ElTable] data must be an array");n.value[_].loading=!1,n.value[_].loaded=!0,n.value[_].expanded=!0,E.length&&(o.value={...o.value,[_]:E}),c.emit("expand-change",w,!0)}))};return{loadData:b,loadOrToggle:y,toggleTreeExpansion:g,updateTreeExpandKeys:v,updateTreeData:m,updateKeyChildren:(w,_)=>{const{lazy:k,rowKey:M}=c.props;if(k){if(!M)throw new Error("[Table] rowKey is required in updateKeyChild");o.value[w]&&(o.value={...o.value,[w]:_})}},normalize:h,states:{expandRowKeys:t,treeData:n,indent:a,lazy:l,lazyTreeNodeMap:o,lazyColumnIdentifier:s,childrenColumnName:r,checkStrictly:u}}}const Ire=(e,t)=>{const n=t.sortingColumn;return!n||Ne(n.sortable)?e:_re(e,t.sortProp,t.sortOrder,n.sortMethod,n.sortBy)},Hd=e=>{const t=[];return e.forEach(n=>{n.children&&n.children.length>0?t.push.apply(t,Hd(n.children)):t.push(n)}),t};function Pre(){var je;const e=st(),{size:t}=Bn((je=e.proxy)==null?void 0:je.$props),n=B(null),a=B([]),l=B([]),o=B(!1),s=B([]),r=B([]),u=B([]),c=B([]),d=B([]),f=B([]),h=B([]),m=B([]),v=[],p=B(0),g=B(0),y=B(0),b=B(!1),C=B([]),w=B({}),_=B(!1),k=B(!1),M=B(null),E=B(null),T=B({}),O=B(null),I=B(null),N=B(null),R=B(null),K=B(null);let H=[];const z=x(()=>n.value?ii(C.value,n.value):void 0),V=Ie=>{var _t;const{childrenColumnName:tt,lazyTreeNodeMap:ot}=e.store.states,pt=Ie[tt.value]??[];if(!n.value)return pt;const yt=$n(Ie,n.value);return[...((_t=ot.value)==null?void 0:_t[yt])??[],...pt]};ce(a,()=>{var Ie;e.state&&(j(!1),e.props.tableLayout==="auto"&&((Ie=e.refs.tableHeaderRef)==null||Ie.updateFixedColumnStyle()))},{deep:!0});const L=()=>{if(!n.value)throw new Error("[ElTable] prop row-key is required")},F=Ie=>{var tt;(tt=Ie.children)==null||tt.forEach(ot=>{ot.fixed=Ie.fixed,F(ot)})},D=()=>{s.value.forEach(lt=>{F(lt)}),c.value=s.value.filter(lt=>[!0,"left"].includes(lt.fixed));const Ie=s.value.find(lt=>lt.type==="selection");let tt;Ie&&Ie.fixed!=="right"&&!c.value.includes(Ie)&&s.value.indexOf(Ie)===0&&c.value.length&&(c.value.unshift(Ie),tt=!0),d.value=s.value.filter(lt=>lt.fixed==="right");const ot=s.value.filter(lt=>(tt?lt.type!=="selection":!0)&&!lt.fixed);r.value=Array.from(c.value).concat(ot).concat(d.value);const pt=Hd(ot),yt=Hd(c.value),_t=Hd(d.value);p.value=pt.length,g.value=yt.length,y.value=_t.length,u.value=Array.from(yt).concat(pt).concat(_t),o.value=c.value.length>0||d.value.length>0},j=(Ie,tt=!1)=>{Ie&&D(),tt?e.state.doLayout():e.state.debouncedUpdateLayout()},q=Ie=>z.value?!!z.value[$n(Ie,n.value)]:C.value.includes(Ie),Q=x(()=>{const Ie=new Map;if(!n.value||!M.value)return Ie;let tt=0;const ot=pt=>{ve(pt)&&pt.forEach(yt=>{const _t=$n(yt,n.value);Ie.set(_t,tt),tt+=1;const lt=V(yt);lt.length&&ot(lt)})};return ot(a.value||[]),Ie}),ee=(Ie={})=>{const{emitChange:tt=!0}=Ie;if($t.checkStrictly.value||!n.value){w.value={},H=[];return}const ot=n.value,pt=Ie.rowIndexMap??Q.value,yt=M.value,_t=new WeakMap,lt=Nt=>{const Ft=_t.get(Nt);if(Ft)return Ft;const Jt=$n(Nt,ot);return _t.set(Nt,Jt),Jt},Vt={},Le=[],Ue=new Set(C.value.map(Nt=>lt(Nt))),nt=[];let _e=!1;const Fe=(Nt,Ft,Jt)=>{const sn=Ue.has(Ft);Jt&&!sn?(nt.push(Nt),Ue.add(Ft),_e=!0):!Jt&&sn&&(Ue.delete(Ft),_e=!0)},ze=Nt=>{let Ft=0,Jt=0;return ve(Nt)?(Nt.forEach(sn=>{const fa=lt(sn),Qo=V(sn);let es=0,ts=0;if(Qo.length){const _o=ze(Qo);es=_o.selectedCount,ts=_o.selectableCount}const Ar=yt?yt.call(null,sn,pt.get(fa)??0):!0;if(Ar&&ts>0){const _o=es===ts;!_o&&es!==0&&(Vt[fa]=!0,Le.push(sn)),Fe(sn,fa,_o)}Ar&&(Jt+=1,Ue.has(fa)&&(Ft+=1)),Ft+=es,Jt+=ts}),{selectedCount:Ft,selectableCount:Jt}):{selectedCount:Ft,selectableCount:Jt}};if(ze(a.value||[]),_e){const Nt=C.value.filter(Ft=>Ue.has(lt(Ft)));nt.forEach(Ft=>{Ue.has(lt(Ft))&&Nt.push(Ft)}),C.value=Nt}w.value=Vt,H=Le,_e&&tt&&e.emit("selection-change",C.value?C.value.slice():[])},te=()=>{b.value=!1;const Ie=C.value;C.value=[],w.value={},H=[],Ie.length&&e.emit("selection-change",[])},ae=()=>{var tt,ot;let Ie;if(n.value){Ie=[];const pt=(ot=(tt=e==null?void 0:e.store)==null?void 0:tt.states)==null?void 0:ot.childrenColumnName.value,yt=ii(a.value,n.value,!0,pt),{lazyTreeNodeMap:_t}=e.store.states;_t.value&&Object.entries(_t.value).forEach(([lt,Vt])=>{yt[lt]&&Vt.forEach(Le=>{const Ue=$n(Le,n.value);yt[Ue]||(yt[Ue]={row:Le,index:-1})})});for(const lt in z.value)zt(z.value,lt)&&!yt[lt]&&Ie.push(z.value[lt].row)}else Ie=C.value.filter(pt=>!a.value.includes(pt));if(Ie.length){const pt=C.value.filter(yt=>!Ie.includes(yt));C.value=pt,ee({emitChange:!1}),e.emit("selection-change",[...pt])}},ue=()=>(C.value||[]).slice(),pe=()=>H.slice(),ge=(Ie,tt,ot)=>{var Ue;if(!n.value||$t.checkStrictly.value||!$t.lazy.value)return;const{lazyTreeNodeMap:pt,childrenColumnName:yt}=e.store.states,_t=$n(Ie,n.value),lt=((Ue=pt.value)==null?void 0:Ue[_t])??[],Vt=Ie[yt.value]??[],Le={children:yt.value,checkStrictly:!1};for(const nt of lt){const _e=ot.get($n(nt,n.value))??0;Xr(C.value,nt,tt,Le,M.value,_e,n.value),ge(nt,tt,ot)}for(const nt of Vt)ge(nt,tt,ot)},X=(Ie,tt,ot=!0,pt=!1)=>{var _t,lt,Vt,Le;const yt={children:(lt=(_t=e==null?void 0:e.store)==null?void 0:_t.states)==null?void 0:lt.childrenColumnName.value,checkStrictly:(Le=(Vt=e==null?void 0:e.store)==null?void 0:Vt.states)==null?void 0:Le.checkStrictly.value};if(Xr(C.value,Ie,tt,yt,pt?void 0:M.value,a.value.indexOf(Ie),n.value)){$t.lazy.value&&!$t.checkStrictly.value?(ge(Ie,tt??q(Ie),Q.value),ee({emitChange:!1,rowIndexMap:Q.value})):ee({emitChange:!1});const Ue=(C.value||[]).slice();ot&&e.emit("select",Ue,Ie),e.emit("selection-change",Ue)}},Z=()=>{var Vt,Le;const Ie=k.value?!b.value:!(b.value||C.value.length);b.value=Ie;let tt=!1,ot=0;const pt=(Le=(Vt=e==null?void 0:e.store)==null?void 0:Vt.states)==null?void 0:Le.rowKey.value,{childrenColumnName:yt}=e.store.states,_t={children:yt.value,checkStrictly:!1};a.value.forEach((Ue,nt)=>{const _e=nt+ot;Xr(C.value,Ue,Ie,_t,M.value,_e,pt)&&(tt=!0),ot+=J($n(Ue,pt))});const lt=Q.value;if($t.lazy.value&&!$t.checkStrictly.value&&pt)for(const Ue of Object.values($t.lazyTreeNodeMap.value))for(const nt of Ue){const _e=lt.get($n(nt,pt))??0;Xr(C.value,nt,Ie,_t,M.value,_e,pt)&&(tt=!0),ge(nt,Ie,lt)}ee({emitChange:!1,rowIndexMap:lt}),tt&&e.emit("selection-change",C.value?[...C.value]:[]),e.emit("select-all",(C.value||[]).slice())},re=()=>{var yt;if(((yt=a.value)==null?void 0:yt.length)===0){b.value=!1;return}let Ie=0,tt=0;const ot=_t=>{for(const lt of _t){const Vt=M.value&&M.value.call(null,lt,Ie);if(q(lt))tt++;else if(!M.value||Vt)return!1;Ie++;const Le=V(lt);if(Le.length&&!ot(Le))return!1}return!0},pt=ot(a.value||[]);b.value=tt===0?!1:pt},U=Ie=>{if(!n.value)return!1;const tt=$n(Ie,n.value);return!!w.value[tt]},J=Ie=>{var yt;if(!e||!e.store)return 0;const{treeData:tt}=e.store.states;let ot=0;const pt=(yt=tt.value[Ie])==null?void 0:yt.children;return pt&&(ot+=pt.length,pt.forEach(_t=>{ot+=J(_t)})),ot},se=(Ie,tt)=>{const ot={};return Wn(Ie).forEach(pt=>{T.value[pt.id]=tt,ot[pt.columnKey||pt.id]=tt}),ot},fe=(Ie,tt,ot)=>{I.value&&I.value!==Ie&&(I.value.order=null),I.value=Ie,N.value=tt,R.value=ot},me=()=>{let Ie=i(l);Object.keys(T.value).forEach(tt=>{const ot=T.value[tt];if(!ot||ot.length===0)return;const pt=__({columns:u.value},tt);pt&&pt.filterMethod&&(Ie=Ie.filter(yt=>ot.some(_t=>pt.filterMethod.call(null,_t,yt,pt))))}),O.value=Ie},we=()=>{a.value=Ire(O.value??[],{sortingColumn:I.value,sortProp:N.value,sortOrder:R.value})},Ve=(Ie=void 0)=>{Ie!=null&&Ie.filter||me(),we()},Ae=Ie=>{const{tableHeaderRef:tt}=e.refs;if(!tt)return;const ot=Object.assign({},tt.filterPanels),pt=Object.keys(ot);if(pt.length)if(Ne(Ie)&&(Ie=[Ie]),ve(Ie)){const yt=Ie.map(_t=>Sre({columns:u.value},_t));pt.forEach(_t=>{const lt=yt.find(Vt=>Vt.id===_t);lt&&(lt.filteredValue=[])}),e.store.commit("filterChange",{column:yt,values:[],silent:!0,multi:!0})}else pt.forEach(yt=>{const _t=u.value.find(lt=>lt.id===yt);_t&&(_t.filteredValue=[])}),T.value={},e.store.commit("filterChange",{column:{},values:[],silent:!0})},xe=()=>{I.value&&(fe(null,null,null),e.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:he,toggleRowExpansion:Ee,updateExpandRows:$e,states:Re,isRowExpanded:Ge}=$re({data:a,rowKey:n}),{updateTreeExpandKeys:Ze,toggleTreeExpansion:Xe,updateTreeData:gt,updateKeyChildren:Tt,loadOrToggle:Pt,states:$t}=Are({data:a,rowKey:n}),{updateCurrentRowData:Rt,updateCurrentRow:tn,setCurrentRowKey:Me,states:be}=Nre({data:a,rowKey:n}),We=Ie=>{he(Ie),Ze(Ie)},de=(Ie,tt)=>{u.value.some(({type:ot})=>ot==="expand")?Ee(Ie,tt):Xe(Ie,tt)};return ce(()=>$t.checkStrictly.value,Ie=>{Ie?(w.value={},H=[]):ee({emitChange:!1}),re()}),ce(()=>$t.lazyTreeNodeMap.value,()=>{var pt;if(!$t.lazy.value||$t.checkStrictly.value||!n.value)return;const Ie=Q.value,tt=C.value.length;for(const yt of Object.keys($t.lazyTreeNodeMap.value))(pt=z.value)!=null&&pt[yt]&&ge(z.value[yt].row,!0,Ie);const ot=C.value.length!==tt;ee({emitChange:!ot,rowIndexMap:Ie}),re(),ot&&e.emit("selection-change",[...C.value])}),{assertRowKey:L,updateColumns:D,scheduleLayout:j,isSelected:q,clearSelection:te,cleanSelection:ae,getSelectionRows:ue,getHalfSelectionRows:pe,toggleRowSelection:X,_toggleAllSelection:Z,toggleAllSelection:null,updateAllSelected:re,updateSelectionByChildren:ee,getRowIndeterminate:U,updateFilters:se,updateCurrentRow:tn,updateSort:fe,execFilter:me,execSort:we,execQuery:Ve,clearFilter:Ae,clearSort:xe,toggleRowExpansion:Ee,setExpandRowKeysAdapter:We,setCurrentRowKey:Me,toggleRowExpansionAdapter:de,isRowExpanded:Ge,updateExpandRows:$e,updateCurrentRowData:Rt,loadOrToggle:Pt,updateTreeData:gt,updateKeyChildren:Tt,states:{tableSize:t,rowKey:n,data:a,_data:l,isComplex:o,_columns:s,originColumns:r,columns:u,fixedColumns:c,rightFixedColumns:d,leafColumns:f,fixedLeafColumns:h,rightFixedLeafColumns:m,updateOrderFns:v,leafColumnsLength:p,fixedLeafColumnsLength:g,rightFixedLeafColumnsLength:y,isAllSelected:b,selection:C,selectionIndeterminate:w,reserveSelection:_,selectOnIndeterminate:k,selectable:M,rowExpandable:E,filters:T,filteredData:O,sortingColumn:I,sortProp:N,sortOrder:R,hoverRow:K,...Re,...$t,...be}}}function _2(e,t){return e.map(n=>{var a;return n.id===t.id?t:((a=n.children)!=null&&a.length&&(n.children=_2(n.children,t)),n)})}function S2(e){e.forEach(t=>{var n,a;t.no=(n=t.getColumnIndex)==null?void 0:n.call(t),(a=t.children)!=null&&a.length&&S2(t.children)}),e.sort((t,n)=>t.no-n.no)}function Rre(){const e=st(),t=Pre(),n=ye("table"),{t:a}=St();return{ns:n,t:a,...t,mutations:{setData(r,u){const c=i(r._data)!==u;r.data.value=u,r._data.value=u,e.store.execQuery(),e.store.updateCurrentRowData(),e.store.updateExpandRows(),e.store.updateTreeData(e.store.states.defaultExpandAll.value),i(r.reserveSelection)?e.store.assertRowKey():c?e.store.clearSelection():e.store.cleanSelection(),e.store.updateSelectionByChildren({emitChange:!1}),e.store.updateAllSelected(),e.$ready&&e.store.scheduleLayout()},insertColumn(r,u,c,d){var m;const f=i(r._columns);let h=[];c?(c&&!c.children&&(c.children=[]),(m=c.children)==null||m.push(u),h=_2(f,c)):(f.push(u),h=f),S2(h),r._columns.value=h,r.updateOrderFns.push(d),u.type==="selection"&&(r.selectable.value=u.selectable,r.reserveSelection.value=u.reserveSelection),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},updateColumnOrder(r,u){var c;((c=u.getColumnIndex)==null?void 0:c.call(u))!==u.no&&(S2(r._columns.value),e.$ready&&e.store.updateColumns())},removeColumn(r,u,c,d){var m;const f=i(r._columns)||[];if(c)(m=c.children)==null||m.splice(c.children.findIndex(v=>v.id===u.id),1),Pe(()=>{var v;((v=c.children)==null?void 0:v.length)===0&&delete c.children}),r._columns.value=_2(f,c);else{const v=f.indexOf(u);v>-1&&(f.splice(v,1),r._columns.value=f)}const h=r.updateOrderFns.indexOf(d);h>-1&&r.updateOrderFns.splice(h,1),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},sort(r,u){const{prop:c,order:d,init:f}=u;if(c){const h=i(r.columns).find(m=>m.property===c);h&&(h.order=d,e.store.updateSort(h,c,d),e.store.commit("changeSortCondition",{init:f}))}},changeSortCondition(r,u){const{sortingColumn:c,sortProp:d,sortOrder:f}=r,h=i(c),m=i(d),v=i(f);I0(v)&&(r.sortingColumn.value=null,r.sortProp.value=null),e.store.execQuery({filter:!0}),(!u||!(u.silent||u.init))&&e.emit("sort-change",{column:h,prop:m,order:v}),e.store.updateTableScrollY()},filterChange(r,u){const{column:c,values:d,silent:f}=u,h=e.store.updateFilters(c,d);e.store.execQuery(),f||e.emit("filter-change",h),e.store.updateTableScrollY()},toggleAllSelection(){var r,u;(u=(r=e.store).toggleAllSelection)==null||u.call(r)},rowSelectedChanged(r,u){e.store.toggleRowSelection(u),e.store.updateAllSelected()},setHoverRow(r,u){r.hoverRow.value=u},setCurrentRow(r,u){e.store.updateCurrentRow(u)}},commit:function(r,...u){const c=e.store.mutations;if(c[r])c[r].apply(e,[e.store.states,...u]);else throw new Error(`Action not found: ${r}`)},updateTableScrollY:function(){Pe(()=>e.layout.updateScrollY.apply(e.layout))}}}const cm={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",rowExpandable:"rowExpandable",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy","treeProps.hasChildren":{key:"lazyColumnIdentifier",default:"hasChildren"},"treeProps.children":{key:"childrenColumnName",default:"children"},"treeProps.checkStrictly":{key:"checkStrictly",default:!1}};function Vre(e,t){if(!e)throw new Error("Table is required.");const n=Rre();return n.toggleAllSelection=co(n._toggleAllSelection,10),Object.keys(cm).forEach(a=>{T_(M_(t,a),a,n)}),Lre(n,t),n}function Lre(e,t){Object.keys(cm).forEach(n=>{ce(()=>M_(t,n),a=>{T_(a,n,e)})})}function T_(e,t,n){let a=e,l=cm[t];rt(l)&&(a=a||l.default,l=l.key),n.states[l].value=a}function M_(e,t){if(t.includes(".")){const n=t.split(".");let a=e;return n.forEach(l=>{a=a[l]}),a}else return e[t]}var Bre=class{constructor(e){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.heightMap={},this.height=B(null),this.scrollX=B(!1),this.scrollY=B(!1),this.bodyWidth=B(null),this.fixedWidth=B(null),this.rightFixedWidth=B(null),this.gutterWidth=0;for(const t in e)zt(e,t)&&(en(this[t])?this[t].value=e[t]:this[t]=e[t]);if(!this.table)throw new Error("Table is required for Table Layout");if(!this.store)throw new Error("Store is required for Table Layout")}updateScrollY(){const e=this.height.value;if(I0(e))return!1;const t=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(t!=null&&t.wrapRef)){let n=!0;const a=this.scrollY.value;return n=t.wrapRef.scrollHeight>t.wrapRef.clientHeight,this.scrollY.value=n,a!==n}return!1}setHeight(e,t="height"){if(!Bt)return;const n=this.table.vnode.el;if(e=kre(e),this.height.value=Number(e),this.heightMap[t]=e,!n&&(e||e===0)){Pe(()=>{this.heightMap[t]===e&&this.setHeight(e,t)});return}n&&qe(e)?(n.style[t]=`${e}px`,this.updateElsHeight()):n&&Ne(e)&&(n.style[t]=e,this.updateElsHeight())}setMaxHeight(e){this.setHeight(e,"max-height")}getFlattenColumns(){const e=[];return this.table.store.states.columns.value.forEach(t=>{t.isColumnGroup?e.push.apply(e,t.columns):e.push(t)}),e}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(e){if(!e)return!0;let t=e;for(;t.tagName!=="DIV";){if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}updateColumnsWidth(){var r;if(!Bt)return;const e=this.fit,t=(r=this.table.vnode.el)==null?void 0:r.clientWidth;let n=0;const a=this.getFlattenColumns(),l=a.filter(u=>!qe(u.width));if(a.forEach(u=>{qe(u.width)&&u.realWidth&&(u.realWidth=null)}),l.length>0&&e){if(a.forEach(u=>{n+=Number(u.width||u.minWidth||80)}),n<=t){this.scrollX.value=!1;const u=t-n;if(l.length===1)l[0].realWidth=Number(l[0].minWidth||80)+u;else{const c=u/l.reduce((f,h)=>f+Number(h.minWidth||80),0);let d=0;l.forEach((f,h)=>{if(h===0)return;const m=Math.floor(Number(f.minWidth||80)*c);d+=m,f.realWidth=Number(f.minWidth||80)+m}),l[0].realWidth=Number(l[0].minWidth||80)+u-d}}else this.scrollX.value=!0,l.forEach(u=>{u.realWidth=Number(u.minWidth)});this.bodyWidth.value=Math.max(n,t),this.table.state.resizeState.value.width=this.bodyWidth.value}else a.forEach(u=>{!u.width&&!u.minWidth?u.realWidth=80:u.realWidth=Number(u.width||u.minWidth),n+=u.realWidth}),this.scrollX.value=n>t,this.bodyWidth.value=n;const o=this.store.states.fixedColumns.value;if(o.length>0){let u=0;o.forEach(c=>{u+=Number(c.realWidth||c.width)}),this.fixedWidth.value=u}const s=this.store.states.rightFixedColumns.value;if(s.length>0){let u=0;s.forEach(c=>{u+=Number(c.realWidth||c.width)}),this.rightFixedWidth.value=u}this.notifyObservers("columns")}addObserver(e){this.observers.push(e)}removeObserver(e){const t=this.observers.indexOf(e);t!==-1&&this.observers.splice(t,1)}notifyObservers(e){this.observers.forEach(t=>{var n,a;switch(e){case"columns":(n=t.state)==null||n.onColumnsChange(this);break;case"scrollable":(a=t.state)==null||a.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${e}.`)}})}};const Yl=Symbol("ElTable"),O_=e=>{const t=[];return e.forEach(n=>{n.children?(t.push(n),t.push.apply(t,O_(n.children))):t.push(n)}),t},$_=e=>{let t=1;const n=(l,o)=>{if(o&&(l.level=o.level+1,t{n(r,l),s+=r.colSpan}),l.colSpan=s}else l.colSpan=1};e.forEach(l=>{l.level=1,n(l,void 0)});const a=[];for(let l=0;l{l.children?(l.rowSpan=1,l.children.forEach(o=>o.isSubColumn=!0)):l.rowSpan=t-l.level+1,a[l.level-1].push(l)}),a};function zre(e){const t=De(Yl),n=x(()=>$_(e.store.states.originColumns.value));return{isGroup:x(()=>{const o=n.value.length>1;return o&&t&&(t.state.isGroup.value=!0),o}),toggleAllSelection:o=>{o.stopPropagation(),t==null||t.store.commit("toggleAllSelection")},columnRows:n}}var Dre=W({name:"ElTableFilterPanel",components:{ElCheckbox:Al,ElCheckboxGroup:Y1,ElScrollbar:Dl,ElTooltip:Gn,ElIcon:Be,ArrowDown:jl,ArrowUp:zc},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function},appendTo:on.appendTo},setup(e){const t=st(),{t:n}=St(),a=ye("table-filter"),l=t==null?void 0:t.parent;e.column&&!l.filterPanels.value[e.column.id]&&(l.filterPanels.value[e.column.id]=t);const o=B(null),s=B(null),r=B(0),u=x(()=>e.column&&e.column.filters),c=x(()=>e.column&&e.column.filterClassName?`${a.b()} ${e.column.filterClassName}`:a.b()),d=x({get:()=>{var M;return(((M=e.column)==null?void 0:M.filteredValue)||[])[0]},set:M=>{var E;if(e.column){const T=[...e.column.filteredValue??[]];el(M)?T.splice(0,1):T.splice(0,1,M),(E=e.upDataColumn)==null||E.call(e,"filteredValue",T)}}}),f=x({get(){return e.column?e.column.filteredValue||[]:[]},set(M){var E;e.column&&((E=e.upDataColumn)==null||E.call(e,"filteredValue",M))}}),h=x(()=>e.column?e.column.filterMultiple:!0),m=M=>M.value===d.value,v=()=>{var M;(M=o.value)==null||M.onClose()},p=()=>{b(f.value),v()},g=()=>{f.value=[],b(f.value),v()},y=(M,E)=>{d.value=M,r.value=E,el(M)?b([]):b(f.value),v()},b=M=>{var E,T;(E=e.store)==null||E.commit("filterChange",{column:e.column,values:M}),(T=e.store)==null||T.updateAllSelected()},C=()=>{var M,E;(M=s.value)==null||M.focus(),!h.value&&_(),e.column&&((E=e.upDataColumn)==null||E.call(e,"filterOpened",!0))},w=()=>{var M;e.column&&((M=e.upDataColumn)==null||M.call(e,"filterOpened",!1))},_=()=>{if(el(d)){r.value=0;return}const M=(u.value||[]).findIndex(E=>E.value===d.value);r.value=M>=0?M+1:0};return{multiple:h,filterClassName:c,filteredValue:f,filterValue:d,filters:u,handleConfirm:p,handleReset:g,handleSelect:y,isPropAbsent:el,isActive:m,t:n,ns:a,tooltipRef:o,rootRef:s,checkedIndex:r,handleShowTooltip:C,handleHideTooltip:w,handleKeydown:M=>{var N,R;const E=Xt(M),T=(u.value?u.value.length:0)+1;let O=r.value,I=!0;switch(E){case Ce.down:case Ce.right:O=(O+1)%T;break;case Ce.up:case Ce.left:O=(O-1+T)%T;break;case Ce.tab:v(),I=!1;break;case Ce.enter:case Ce.space:if(O===0)y(null,0);else{const K=(u.value||[])[O-1];K.value&&y(K.value,O)}break;default:I=!1;break}I&&M.preventDefault(),r.value=O,(R=(N=s.value)==null?void 0:N.querySelector(`.${a.e("list-item")}:nth-child(${O+1})`))==null||R.focus()}}}});const Hre=["disabled"],Fre=["tabindex","aria-checked"],Kre=["tabindex","aria-checked","onClick"],Wre=["aria-label"];function jre(e,t,n,a,l,o){const s=Kt("el-checkbox"),r=Kt("el-checkbox-group"),u=Kt("el-scrollbar"),c=Kt("arrow-up"),d=Kt("arrow-down"),f=Kt("el-icon"),h=Kt("el-tooltip");return S(),ie(h,{ref:"tooltipRef",offset:0,placement:e.placement,"show-arrow":!1,trigger:"click",role:"dialog",teleported:"",effect:"light",pure:"",loop:"","popper-class":e.filterClassName,persistent:"","append-to":e.appendTo,onShow:e.handleShowTooltip,onHide:e.handleHideTooltip},{content:ne(()=>[e.multiple?(S(),A("div",{key:0,ref:"rootRef",tabindex:"-1",class:P(e.ns.e("multiple"))},[$("div",{class:P(e.ns.e("content"))},[G(u,{"wrap-class":e.ns.e("wrap")},{default:ne(()=>[G(r,{modelValue:e.filteredValue,"onUpdate:modelValue":t[0]||(t[0]=m=>e.filteredValue=m),class:P(e.ns.e("checkbox-group"))},{default:ne(()=>[(S(!0),A(He,null,wt(e.filters,m=>(S(),ie(s,{key:m.value,value:m.value},{default:ne(()=>[bt(Se(m.text),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),$("div",{class:P(e.ns.e("bottom"))},[$("button",{class:P(e.ns.is("disabled",e.filteredValue.length===0)),disabled:e.filteredValue.length===0,type:"button",onClick:t[1]||(t[1]=(...m)=>e.handleConfirm&&e.handleConfirm(...m))},Se(e.t("el.table.confirmFilter")),11,Hre),$("button",{type:"button",onClick:t[2]||(t[2]=(...m)=>e.handleReset&&e.handleReset(...m))},Se(e.t("el.table.resetFilter")),1)],2)],2)):(S(),A("ul",{key:1,ref:"rootRef",tabindex:"-1",role:"radiogroup",class:P(e.ns.e("list")),onKeydown:t[4]||(t[4]=(...m)=>e.handleKeydown&&e.handleKeydown(...m))},[$("li",{role:"radio",class:P([e.ns.e("list-item"),e.ns.is("active",e.isPropAbsent(e.filterValue))]),tabindex:e.checkedIndex===0?0:-1,"aria-checked":e.isPropAbsent(e.filterValue),onClick:t[3]||(t[3]=m=>e.handleSelect(null,0))},Se(e.t("el.table.clearFilter")),11,Fre),(S(!0),A(He,null,wt(e.filters,(m,v)=>(S(),A("li",{key:m.value,role:"radio",class:P([e.ns.e("list-item"),e.ns.is("active",e.isActive(m))]),tabindex:e.checkedIndex===v+1?0:-1,"aria-checked":e.isActive(m),onClick:p=>e.handleSelect(m.value,v+1)},Se(m.text),11,Kre))),128))],34))]),default:ne(()=>{var m;return[$("button",{type:"button",class:P(`${e.ns.namespace.value}-table__column-filter-trigger`),"aria-label":e.t("el.table.filterLabel",{column:((m=e.column)==null?void 0:m.label)||""})},[G(f,null,{default:ne(()=>[le(e.$slots,"filter-icon",{},()=>{var v;return[(v=e.column)!=null&&v.filterOpened?(S(),ie(c,{key:0})):(S(),ie(d,{key:1}))]})]),_:3})],10,Wre)]}),_:3},8,["placement","popper-class","append-to","onShow","onHide"])}var qre=Hn(Dre,[["render",jre]]);function dm(e){const t=st();Bi(()=>{n.value.addObserver(t)}),mt(()=>{a(n.value),l(n.value)}),qa(()=>{a(n.value),l(n.value)}),yo(()=>{n.value.removeObserver(t)});const n=x(()=>{const o=e.layout;if(!o)throw new Error("Can not find table layout.");return o}),a=o=>{var c;const s=((c=e.vnode.el)==null?void 0:c.querySelectorAll("colgroup > col"))||[];if(!s.length)return;const r=o.getFlattenColumns(),u={};r.forEach(d=>{u[d.id]=d});for(let d=0,f=s.length;d{var u,c;const s=((u=e.vnode.el)==null?void 0:u.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let d=0,f=s.length;d{p.stopPropagation()},o=(p,g)=>{!g.filters&&g.sortable?v(p,g,!1):g.filterable&&!g.sortable&&l(p),a==null||a.emit("header-click",g,p)},s=(p,g)=>{a==null||a.emit("header-contextmenu",g,p)},r=B(null),u=B(!1),c=B(),d=(p,g)=>{var y,b,C;if(Bt&&!(g.children&&g.children.length>0)&&r.value&&e.border&&r.value.id===g.id){u.value=!0;const w=a;t("set-drag-visible",!0);const _=(y=w==null?void 0:w.vnode.el)==null?void 0:y.getBoundingClientRect().left,k=(C=(b=n==null?void 0:n.vnode)==null?void 0:b.el)==null?void 0:C.querySelector(`th.${g.id}`),M=k.getBoundingClientRect(),E=M.left-_+30;dl(k,"noclick"),c.value={startMouseLeft:p.clientX,startLeft:M.right-_,startColumnLeft:M.left-_,tableLeft:_};const T=w==null?void 0:w.refs.resizeProxy;T.style.left=`${c.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const O=N=>{const R=N.clientX-c.value.startMouseLeft,K=c.value.startLeft+R;T.style.left=`${Math.max(E,K)}px`},I=()=>{if(u.value){const{startColumnLeft:N,startLeft:R}=c.value;g.width=g.realWidth=Number.parseInt(T.style.left,10)-N,w==null||w.emit("header-dragend",g.width,R-N,g,p),requestAnimationFrame(()=>{e.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",u.value=!1,r.value=null,c.value=void 0,t("set-drag-visible",!1)}document.removeEventListener("mousemove",O),document.removeEventListener("mouseup",I),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{Ca(k,"noclick")},0)};document.addEventListener("mousemove",O),document.addEventListener("mouseup",I)}},f=(p,g)=>{var T;if(!e.border||g.children&&g.children.length>0)return;const y=p.target,b=Da(y)?y.closest("th"):null;if(!b)return;const C=hl(b,"is-sortable");if(C){const O=u.value?"col-resize":"";b.style.cursor=O;const I=b.querySelector(".caret-wrapper");I&&(I.style.cursor=O)}if(!g.resizable||u.value){r.value=null;return}const w=b.getBoundingClientRect(),_=((T=b.parentNode)==null?void 0:T.lastElementChild)===b,k=e.allowDragLastColumn||!_,M=w.width>12&&w.right-p.clientX<8&&k,E=M?"col-resize":"";document.body.style.cursor=E,r.value=M?g:null,C&&(b.style.cursor=E)},h=()=>{!Bt||u.value||(document.body.style.cursor="")},m=({order:p,sortOrders:g})=>{if(p==="")return g[0];const y=g.indexOf(p||null);return g[y>g.length-2?0:y+1]},v=(p,g,y)=>{var T;p.stopPropagation();const b=g.order===y?null:y||m(g),C=(T=p.target)==null?void 0:T.closest("th");if(C&&hl(C,"noclick")){Ca(C,"noclick");return}if(!g.sortable)return;const w=p.currentTarget;if(["ascending","descending"].some(O=>hl(w,O)&&!g.sortOrders.includes(O)))return;const _=e.store.states;let k=_.sortProp.value,M;const E=_.sortingColumn.value;(E!==g||E===g&&I0(E.order))&&(E&&(E.order=null),_.sortingColumn.value=g,k=g.property??null),b?M=g.order=b:M=g.order=null,_.sortProp.value=k,_.sortOrder.value=M,a==null||a.store.commit("changeSortCondition")};return{handleHeaderClick:o,handleHeaderContextMenu:s,handleMouseDown:d,handleMouseMove:f,handleMouseOut:h,handleSortClick:v,handleFilterClick:l}}function Yre(e){const t=De(Yl),n=ye("table");return{getHeaderRowStyle:r=>{const u=t==null?void 0:t.props.headerRowStyle;return Ke(u)?u.call(null,{rowIndex:r}):u},getHeaderRowClass:r=>{const u=[],c=t==null?void 0:t.props.headerRowClassName;return Ne(c)?u.push(c):Ke(c)&&u.push(c.call(null,{rowIndex:r})),u.join(" ")},getHeaderCellStyle:(r,u,c,d)=>{let f=(t==null?void 0:t.props.headerCellStyle)??{};Ke(f)&&(f=f.call(null,{rowIndex:r,columnIndex:u,row:c,column:d}));const h=um(u,d.fixed,e.store,c);return Ii(h,"left"),Ii(h,"right"),Object.assign({},f,h)},getHeaderCellClass:(r,u,c,d)=>{const f=im(n.b(),u,d.fixed,e.store,c),h=[d.id,d.order,d.headerAlign,d.className,d.labelClassName,...f];d.children||h.push("is-leaf"),d.sortable&&h.push("is-sortable");const m=t==null?void 0:t.props.headerCellClassName;return Ne(m)?h.push(m):Ke(m)&&h.push(m.call(null,{rowIndex:r,columnIndex:u,row:c,column:d})),h.push(n.e("cell")),h.filter(v=>!!v).join(" ")}}}var r6=W({name:"ElTableHeader",components:{ElCheckbox:Al},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})},appendFilterPanelTo:{type:String},allowDragLastColumn:{type:Boolean}},setup(e,{emit:t}){const n=st(),a=De(Yl),l=ye("table"),o=B({}),{onColumnsChange:s,onScrollableChange:r}=dm(a),u=(a==null?void 0:a.props.tableLayout)==="auto",c=Dt(new Map),d=B();let f;const h=()=>{f&&(clearTimeout(f),f=void 0),f=setTimeout(()=>{f=void 0;const N=d.value;N&&c.size>0&&(c.forEach((R,K)=>{const H=N.querySelector(`.${K.replace(/\s/g,".")}`);H&&(R.width=H.getBoundingClientRect().width||R.width)}),c.clear())})};ce(c,h),Ht(()=>{f&&(clearTimeout(f),f=void 0)}),mt(async()=>{await Pe(),await Pe();const{prop:N,order:R}=e.defaultSort;a==null||a.store.commit("sort",{prop:N,order:R,init:!0}),h()});const{handleHeaderClick:m,handleHeaderContextMenu:v,handleMouseDown:p,handleMouseMove:g,handleMouseOut:y,handleSortClick:b,handleFilterClick:C}=Ure(e,t),{getHeaderRowStyle:w,getHeaderRowClass:_,getHeaderCellStyle:k,getHeaderCellClass:M}=Yre(e),{isGroup:E,toggleAllSelection:T,columnRows:O}=zre(e),{t:I}=St();return n.state={onColumnsChange:s,onScrollableChange:r},n.filterPanels=o,{ns:l,t:I,filterPanels:o,onColumnsChange:s,onScrollableChange:r,columnRows:O,getHeaderRowClass:_,getHeaderRowStyle:w,getHeaderCellClass:M,getHeaderCellStyle:k,handleHeaderClick:m,handleHeaderContextMenu:v,handleMouseDown:p,handleMouseMove:g,handleMouseOut:y,handleSortClick:b,handleFilterClick:C,isGroup:E,toggleAllSelection:T,saveIndexSelection:c,isTableLayoutAuto:u,theadRef:d,updateFixedColumnStyle:h}},render(){const{ns:e,t,isGroup:n,columnRows:a,getHeaderCellStyle:l,getHeaderCellClass:o,getHeaderRowClass:s,getHeaderRowStyle:r,handleHeaderClick:u,handleHeaderContextMenu:c,handleMouseDown:d,handleMouseMove:f,handleSortClick:h,handleMouseOut:m,store:v,$parent:p,saveIndexSelection:g,isTableLayoutAuto:y}=this;let b=1;return Je("thead",{ref:"theadRef",class:e.is("group",n)},a.map((C,w)=>Je("tr",{class:s(w),key:w,style:r(w)},C.map((_,k)=>{_.rowSpan>b&&(b=_.rowSpan);const M=o(w,k,C,_);return y&&_.fixed&&g.set(M,_),Je("th",{class:M,colspan:_.colSpan,key:`${_.id}-thead`,rowspan:_.rowSpan,scope:_.colSpan>1?"colgroup":"col",ariaSort:_.sortable?_.order:void 0,style:l(w,k,C,_),onClick:E=>{var T;(T=E.currentTarget)!=null&&T.classList.contains("noclick")||u(E,_)},onContextmenu:E=>c(E,_),onMousedown:E=>d(E,_),onMousemove:E=>f(E,_),onMouseout:m},[Je("div",{class:["cell",_.filteredValue&&_.filteredValue.length>0?"highlight":""]},[_.renderHeader?_.renderHeader({column:_,$index:k,store:v,_self:p}):_.label,_.sortable&&Je("button",{type:"button",class:"caret-wrapper","aria-label":t("el.table.sortLabel",{column:_.label||""}),onClick:E=>h(E,_)},[Je("i",{onClick:E=>h(E,_,"ascending"),class:"sort-caret ascending"}),Je("i",{onClick:E=>h(E,_,"descending"),class:"sort-caret descending"})]),_.filterable&&Je(qre,{store:v,placement:_.filterPlacement||"bottom-start",appendTo:p==null?void 0:p.appendFilterPanelTo,column:_,upDataColumn:(E,T)=>{_[E]=T}},{"filter-icon":()=>_.renderFilterIcon?_.renderFilterIcon({filterOpened:_.filterOpened}):null})])])}))))}});function Gre(e){const t=De(Yl),n=B(""),a=B(Je("div")),l=(v,p,g)=>{var _,k;const y=t,b=Up(v);let C=null;const w=(_=y==null?void 0:y.vnode.el)==null?void 0:_.dataset.prefix;b&&(C=l6({columns:((k=e.store)==null?void 0:k.states.columns.value)??[]},b,w),C&&(y==null||y.emit(`cell-${g}`,p,C,b,v))),y==null||y.emit(`row-${g}`,p,C,v)},o=(v,p)=>{l(v,p,"dblclick")},s=(v,p)=>{var g;(g=e.store)==null||g.commit("setCurrentRow",p),l(v,p,"click")},r=(v,p)=>{l(v,p,"contextmenu")},u=co(v=>{var p;(p=e.store)==null||p.commit("setHoverRow",v)},30),c=co(()=>{var v;(v=e.store)==null||v.commit("setHoverRow",null)},30),d=v=>{const p=window.getComputedStyle(v,null);return{left:Number.parseInt(p.paddingLeft,10)||0,right:Number.parseInt(p.paddingRight,10)||0,top:Number.parseInt(p.paddingTop,10)||0,bottom:Number.parseInt(p.paddingBottom,10)||0}},f=(v,p,g)=>{var b;let y=(b=p==null?void 0:p.target)==null?void 0:b.parentNode;for(;v>1&&(y=y==null?void 0:y.nextSibling,!(!y||y.nodeName!=="TR"));)g(y,"hover-row hover-fixed-row"),v--};return{handleDoubleClick:o,handleClick:s,handleContextMenu:r,handleMouseEnter:u,handleMouseLeave:c,handleCellMouseEnter:(v,p,g)=>{var V,L,F;if(!t)return;const y=t,b=Up(v),C=(V=y==null?void 0:y.vnode.el)==null?void 0:V.dataset.prefix;let w=null;if(b){if(w=l6({columns:((L=e.store)==null?void 0:L.states.columns.value)??[]},b,C),!w)return;b.rowSpan>1&&f(b.rowSpan,v,dl);const D=y.hoverState={cell:b,column:w,row:p};y==null||y.emit("cell-mouse-enter",D.row,D.column,D.cell,v)}if(!g){(Cn==null?void 0:Cn.trigger)===b&&(Cn==null||Cn());return}const _=v.target.querySelector(".cell");if(!(hl(_,`${C}-tooltip`)&&_.childNodes.length&&((F=_.textContent)!=null&&F.trim())))return;const k=document.createRange();k.setStart(_,0),k.setEnd(_,_.childNodes.length);const{width:M,height:E}=k.getBoundingClientRect(),{width:T,height:O}=_.getBoundingClientRect(),{top:I,left:N,right:R,bottom:K}=d(_),H=N+R,z=I+K;so(M+H,T)||so(E+z,O)||so(_.scrollWidth,T)?Ore(g,((b==null?void 0:b.innerText)||(b==null?void 0:b.textContent))??"",p,w,b,y):(Cn==null?void 0:Cn.trigger)===b&&(Cn==null||Cn())},handleCellMouseLeave:v=>{const p=Up(v);if(!p)return;p.rowSpan>1&&f(p.rowSpan,v,Ca);const g=t==null?void 0:t.hoverState;t==null||t.emit("cell-mouse-leave",g==null?void 0:g.row,g==null?void 0:g.column,g==null?void 0:g.cell,v)},tooltipContent:n,tooltipTrigger:a}}function Xre(e){const t=De(Yl),n=ye("table");return{getRowStyle:(c,d)=>{const f=t==null?void 0:t.props.rowStyle;return Ke(f)?f.call(null,{row:c,rowIndex:d}):f||null},getRowClass:(c,d,f)=>{var v;const h=[n.e("row")];t!=null&&t.props.highlightCurrentRow&&c===((v=e.store)==null?void 0:v.states.currentRow.value)&&h.push("current-row"),e.stripe&&f%2===1&&h.push(n.em("row","striped"));const m=t==null?void 0:t.props.rowClassName;return Ne(m)?h.push(m):Ke(m)&&h.push(m.call(null,{row:c,rowIndex:d})),h},getCellStyle:(c,d,f,h)=>{const m=t==null?void 0:t.props.cellStyle;let v=m??{};Ke(m)&&(v=m.call(null,{rowIndex:c,columnIndex:d,row:f,column:h}));const p=um(d,e==null?void 0:e.fixed,e.store);return Ii(p,"left"),Ii(p,"right"),Object.assign({},v,p)},getCellClass:(c,d,f,h,m)=>{const v=im(n.b(),d,e==null?void 0:e.fixed,e.store,void 0,m),p=[h.id,h.align,h.className,...v],g=t==null?void 0:t.props.cellClassName;return Ne(g)?p.push(g):Ke(g)&&p.push(g.call(null,{rowIndex:c,columnIndex:d,row:f,column:h})),p.push(n.e("cell")),p.filter(y=>!!y).join(" ")},getSpan:(c,d,f,h)=>{let m=1,v=1;const p=t==null?void 0:t.props.spanMethod;if(Ke(p)){const g=p({row:c,column:d,rowIndex:f,columnIndex:h});ve(g)?(m=g[0],v=g[1]):rt(g)&&(m=g.rowspan,v=g.colspan)}return{rowspan:m,colspan:v}},getColspanRealWidth:(c,d,f)=>{if(d<1)return c[f].realWidth;const h=c.map(({realWidth:m,width:v})=>m||v).slice(f,f+d);return Number(h.reduce((m,v)=>Number(m)+Number(v),-1))}}}const Jre=["colspan","rowspan"];var Zre=W({name:"TableTdWrapper",__name:"td-wrapper",props:{colspan:{type:Number,default:1},rowspan:{type:Number,default:1}},setup(e){return(t,n)=>(S(),A("td",{colspan:e.colspan,rowspan:e.rowspan},[le(t.$slots,"default")],8,Jre))}}),Qre=Zre;function eie(e){const t=De(Yl),n=ye("table"),{handleDoubleClick:a,handleClick:l,handleContextMenu:o,handleMouseEnter:s,handleMouseLeave:r,handleCellMouseEnter:u,handleCellMouseLeave:c,tooltipContent:d,tooltipTrigger:f}=Gre(e),{getRowStyle:h,getRowClass:m,getCellStyle:v,getCellClass:p,getSpan:g,getColspanRealWidth:y}=Xre(e);let b=-1;const C=x(()=>{var E;return(E=e.store)==null?void 0:E.states.columns.value.findIndex(({type:T})=>T==="default")}),w=(E,T)=>{var I;const O=(I=t==null?void 0:t.props)==null?void 0:I.rowKey;return O?$n(E,O):T},_=(E,T,O,I=!1)=>{const{tooltipEffect:N,tooltipOptions:R,store:K}=e,{indent:H,columns:z}=K.states,V=[];let L=!0;return O&&(V.push(n.em("row",`level-${O.level}`)),L=!!O.display),T===0&&(b=-1),e.stripe&&L&&b++,V.push(...m(E,T,b)),Je("tr",{style:[L?null:{display:"none"},h(E,T)],class:V,key:w(E,T),onDblclick:F=>a(F,E),onClick:F=>l(F,E),onContextmenu:F=>o(F,E),onMouseenter:()=>s(T),onMouseleave:r},z.value.map((F,D)=>{const{rowspan:j,colspan:q}=g(E,F,T,D);if(!j||!q)return null;const Q=Object.assign({},F);Q.realWidth=y(z.value,q,D);const ee={store:K,_self:e.context||t,column:Q,row:E,$index:T,cellIndex:D,expanded:I};D===C.value&&O&&(ee.treeNode={indent:O.level&&O.level*H.value,level:O.level},qt(O.expanded)&&(ee.treeNode.expanded=O.expanded,"loading"in O&&(ee.treeNode.loading=O.loading),"noLazyChildren"in O&&(ee.treeNode.noLazyChildren=O.noLazyChildren)));const te=`${w(E,T)},${D}`,ae=Q.columnKey||Q.rawColumnKey||"",ue=F.showOverflowTooltip&&Tw({effect:N},R,F.showOverflowTooltip);return Je(Qre,{style:v(T,D,E,F),class:p(T,D,E,F,q-1),key:`${ae}${te}`,rowspan:j,colspan:q,onMouseenter:pe=>u(pe,E,ue),onMouseleave:c},{default:()=>k(D,F,ee)})}))},k=(E,T,O)=>T.renderCell(O);return{wrappedRowRender:(E,T)=>{const O=e.store,{isRowExpanded:I,assertRowKey:N}=O,{treeData:R,lazyTreeNodeMap:K,childrenColumnName:H,rowKey:z}=O.states,V=O.states.columns.value;if(V.some(({type:L})=>L==="expand")){const L=I(E),F=_(E,T,void 0,L),D=t==null?void 0:t.renderExpanded;if(!D)return console.error("[Element Error]renderExpanded is required."),F;const j=[[F]];return(t.props.preserveExpandedContent||L)&&j[0].push(Je("tr",{key:`expanded-row__${F.key}`,style:{display:L?"":"none"}},[Je("td",{colspan:V.length,class:`${n.e("cell")} ${n.e("expanded-cell")}`},[D({row:E,$index:T,store:O,expanded:L})])])),j}else if(Object.keys(R.value).length){N();const L=$n(E,z.value);let F=R.value[L],D=null;F&&(D={expanded:F.expanded,level:F.level,display:!0,noLazyChildren:void 0,loading:void 0},qt(F.lazy)&&(D&&qt(F.loaded)&&F.loaded&&(D.noLazyChildren=!(F.children&&F.children.length)),D.loading=F.loading));const j=[_(E,T,D??void 0)];if(F){let q=0;const Q=(ee,te)=>{ee&&ee.length&&te&&ee.forEach(ae=>{const ue={display:te.display&&te.expanded,level:te.level+1,expanded:!1,noLazyChildren:!1,loading:!1},pe=$n(ae,z.value);if(el(pe))throw new Error("For nested data item, row-key is required.");F={...R.value[pe]},F&&(ue.expanded=F.expanded,F.level=F.level||ue.level,F.display=!!(F.expanded&&ue.display),qt(F.lazy)&&(qt(F.loaded)&&F.loaded&&(ue.noLazyChildren=!(F.children&&F.children.length)),ue.loading=F.loading)),q++,j.push(_(ae,T+q,ue)),F&&Q(K.value[pe]||ae[H.value],F)})};F.display=!0,Q(K.value[L]||E[H.value],F)}return j}else return _(E,T,void 0)},tooltipContent:d,tooltipTrigger:f}}const tie={store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,tooltipOptions:{type:Object},context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean};var nie=W({name:"ElTableBody",props:tie,setup(e){var d;const t=st(),n=De(Yl),a=ye("table"),{wrappedRowRender:l,tooltipContent:o,tooltipTrigger:s}=eie(e),{onColumnsChange:r,onScrollableChange:u}=dm(n),c=[];return ce((d=e.store)==null?void 0:d.states.hoverRow,(f,h)=>{var y,b;const m=t==null?void 0:t.vnode.el,v=Array.from((m==null?void 0:m.children)||[]).filter(C=>C==null?void 0:C.classList.contains(`${a.e("row")}`));let p=f;const g=(y=v[p])==null?void 0:y.childNodes;if(g!=null&&g.length){let C=0;Array.from(g).reduce((w,_,k)=>{var M,E;return((M=g[k])==null?void 0:M.colSpan)>1&&(C=(E=g[k])==null?void 0:E.colSpan),_.nodeName!=="TD"&&C===0&&w.push(k),C>0&&C--,w},[]).forEach(w=>{var _;for(p=f;p>0;){const k=(_=v[p-1])==null?void 0:_.childNodes;if(k[w]&&k[w].nodeName==="TD"&&k[w].rowSpan>1){dl(k[w],"hover-cell"),c.push(k[w]);break}p--}})}else c.forEach(C=>Ca(C,"hover-cell")),c.length=0;!((b=e.store)!=null&&b.states.isComplex.value)||!Bt||Sa(()=>{const C=v[h],w=v[f];C&&!C.classList.contains("hover-fixed-row")&&Ca(C,"hover-row"),w&&dl(w,"hover-row")})}),yo(()=>{Cn==null||Cn()}),{ns:a,onColumnsChange:r,onScrollableChange:u,wrappedRowRender:l,tooltipContent:o,tooltipTrigger:s}},render(){const{wrappedRowRender:e,store:t}=this;return Je("tbody",{tabIndex:-1},[((t==null?void 0:t.states.data.value)||[]).reduce((n,a)=>n.concat(e(a,n.length)),[])])}});function aie(){var t;const e=(t=De(Yl))==null?void 0:t.store;return{leftFixedLeafCount:x(()=>(e==null?void 0:e.states.fixedLeafColumnsLength.value)??0),rightFixedLeafCount:x(()=>(e==null?void 0:e.states.rightFixedColumns.value.length)??0),columnsCount:x(()=>(e==null?void 0:e.states.columns.value.length)??0),leftFixedCount:x(()=>(e==null?void 0:e.states.fixedColumns.value.length)??0),rightFixedCount:x(()=>(e==null?void 0:e.states.rightFixedColumns.value.length)??0),columns:x(()=>(e==null?void 0:e.states.columns.value)??[])}}function lie(e){const{columns:t}=aie(),n=ye("table");return{getCellClasses:(o,s)=>{const r=o[s],u=[n.e("cell"),r.id,r.align,r.labelClassName,...im(n.b(),s,r.fixed,e.store)];return r.className&&u.push(r.className),r.children||u.push(n.is("leaf")),u},getCellStyles:(o,s)=>{const r=um(s,o.fixed,e.store);return Ii(r,"left"),Ii(r,"right"),r},columns:t}}var i6=W({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(e){const t=De(Yl),n=ye("table"),{getCellClasses:a,getCellStyles:l,columns:o}=lie(e),{onScrollableChange:s,onColumnsChange:r}=dm(t);return{ns:n,onScrollableChange:s,onColumnsChange:r,getCellClasses:a,getCellStyles:l,columns:o}},render(){const{columns:e,getCellStyles:t,getCellClasses:n,summaryMethod:a,sumText:l}=this,o=this.store.states.data.value;let s=[];return a?s=a({columns:e,data:o}):e.forEach((r,u)=>{if(u===0){s[u]=l;return}const c=o.map(m=>Number(m[r.property])),d=[];let f=!0;c.forEach(m=>{if(!Number.isNaN(+m)){f=!1;const v=`${m}`.split(".")[1];d.push(v?v.length:0)}});const h=Math.max.apply(null,d);f?s[u]="":s[u]=c.reduce((m,v)=>{const p=Number(v);return Number.isNaN(+p)?m:Number.parseFloat((m+v).toFixed(Math.min(h,20)))},0)}),Je(Je("tfoot",[Je("tr",{},[...e.map((r,u)=>Je("td",{key:u,colspan:r.colSpan,rowspan:r.rowSpan,class:n(e,u),style:t(r,u)},[Je("div",{class:["cell",r.labelClassName]},[s[u]])]))])]))}});function oie(e){return{setCurrentRow:h=>{e.commit("setCurrentRow",h)},getSelectionRows:()=>e.getSelectionRows(),getHalfSelectionRows:()=>e.getHalfSelectionRows(),toggleRowSelection:(h,m,v=!0)=>{e.toggleRowSelection(h,m,!1,v),e.updateAllSelected()},clearSelection:()=>{e.clearSelection()},clearFilter:h=>{e.clearFilter(h)},toggleAllSelection:()=>{e.commit("toggleAllSelection")},toggleRowExpansion:(h,m)=>{e.toggleRowExpansionAdapter(h,m)},clearSort:()=>{e.clearSort()},sort:(h,m)=>{e.commit("sort",{prop:h,order:m})},updateKeyChildren:(h,m)=>{e.updateKeyChildren(h,m)}}}function sie(e,t,n,a){const l=B(!1),o=B(null),s=B(!1),r=H=>{s.value=H},u=B({width:null,height:null,headerHeight:null}),c=B(!1),d={display:"inline-block",verticalAlign:"middle"},f=B(),h=B(0),m=B(0),v=B(0),p=B(0),g=B(0);ce(()=>e.height,H=>{t.setHeight(H??null)},{immediate:!0}),ce(()=>e.maxHeight,H=>{t.setMaxHeight(H??null)},{immediate:!0}),ce(()=>[e.currentRowKey,n.states.rowKey],([H,z])=>{!i(z)||!i(H)||n.setCurrentRowKey(`${H}`)},{immediate:!0}),ce(()=>e.data,H=>{a.store.commit("setData",H)},{immediate:!0,deep:!0}),la(()=>{e.expandRowKeys&&n.setExpandRowKeysAdapter(e.expandRowKeys)});const y=()=>{a.store.commit("setHoverRow",null),a.hoverState&&(a.hoverState=null)},b=(H,z)=>{const{pixelX:V,pixelY:L}=z;Math.abs(V)>=Math.abs(L)&&(a.refs.bodyWrapper.scrollLeft+=z.pixelX/5)},C=x(()=>e.height||e.maxHeight||n.states.fixedColumns.value.length>0||n.states.rightFixedColumns.value.length>0),w=x(()=>({width:t.bodyWidth.value?`${t.bodyWidth.value}px`:""})),_=()=>{C.value&&t.updateElsHeight(),t.updateColumnsWidth(),!(typeof window>"u")&&requestAnimationFrame(T)};mt(async()=>{await Pe(),n.updateColumns(),O(),requestAnimationFrame(_);const H=a.vnode.el,z=a.refs.headerWrapper;e.flexible&&H&&H.parentElement&&(H.parentElement.style.minWidth="0"),u.value={width:f.value=H.offsetWidth,height:H.offsetHeight,headerHeight:e.showHeader&&z?z.offsetHeight:null},n.states.columns.value.forEach(V=>{V.filteredValue&&V.filteredValue.length&&a.store.commit("filterChange",{column:V,values:V.filteredValue,silent:!0})}),a.$ready=!0});const k=(H,z)=>{if(!H)return;const V=Array.from(H.classList).filter(L=>!L.startsWith("is-scrolling-"));V.push(t.scrollX.value?z:"is-scrolling-none"),H.className=V.join(" ")},M=H=>{const{tableWrapper:z}=a.refs;k(z,H)},E=H=>{const{tableWrapper:z}=a.refs;return!!(z&&z.classList.contains(H))},T=function(){if(!a.refs.scrollBarRef)return;if(!t.scrollX.value){const j="is-scrolling-none";E(j)||M(j);return}const H=a.refs.scrollBarRef.wrapRef;if(!H)return;const{scrollLeft:z,offsetWidth:V,scrollWidth:L}=H,{headerWrapper:F,footerWrapper:D}=a.refs;F&&(F.scrollLeft=z),D&&(D.scrollLeft=z),z>=L-V-1?M("is-scrolling-right"):M(z===0?"is-scrolling-left":"is-scrolling-middle")},O=()=>{a.refs.scrollBarRef&&(a.refs.scrollBarRef.wrapRef&&Wt(a.refs.scrollBarRef.wrapRef,"scroll",T,{passive:!0}),e.fit?rn(a.vnode.el,I):Wt(window,"resize",I),rn(a.refs.tableInnerWrapper,()=>{var H,z;I(),(z=(H=a.refs)==null?void 0:H.scrollBarRef)==null||z.update()}))},I=()=>{var Q,ee,te,ae;const H=a.vnode.el;if(!a.$ready||!H)return;let z=!1;const{width:V,height:L,headerHeight:F}=u.value,D=f.value=H.offsetWidth;V!==D&&(z=!0);const j=H.offsetHeight;(e.height||C.value)&&L!==j&&(z=!0);const q=e.tableLayout==="fixed"?a.refs.headerWrapper:(Q=a.refs.tableHeaderRef)==null?void 0:Q.$el;e.showHeader&&(q==null?void 0:q.offsetHeight)!==F&&(z=!0),h.value=((ee=a.refs.tableWrapper)==null?void 0:ee.scrollHeight)||0,v.value=(q==null?void 0:q.scrollHeight)||0,p.value=((te=a.refs.footerWrapper)==null?void 0:te.offsetHeight)||0,g.value=((ae=a.refs.appendWrapper)==null?void 0:ae.offsetHeight)||0,m.value=h.value-v.value-p.value-g.value,z&&(u.value={width:D,height:j,headerHeight:e.showHeader&&(q==null?void 0:q.offsetHeight)||0},_())},N=Pn(),R=x(()=>{const{bodyWidth:H,scrollY:z,gutterWidth:V}=t;return H.value?`${H.value-(z.value?V:0)}px`:""}),K=x(()=>e.maxHeight?"fixed":e.tableLayout);return{isHidden:l,renderExpanded:o,setDragVisible:r,isGroup:c,handleMouseLeave:y,handleHeaderFooterMousewheel:b,tableSize:N,emptyBlockStyle:x(()=>{if(e.data&&e.data.length)return;let H="100%";e.height&&m.value&&(H=`${m.value}px`);const z=f.value;return{width:z?`${z}px`:"",height:H}}),resizeProxyVisible:s,bodyWidth:R,resizeState:u,doLayout:_,tableBodyStyles:w,tableLayout:K,scrollbarViewStyle:d,scrollbarStyle:x(()=>e.height?{height:"100%"}:e.maxHeight?Number.isNaN(Number(e.maxHeight))?{maxHeight:`calc(${e.maxHeight} - ${v.value+p.value}px)`}:{maxHeight:`${+e.maxHeight-v.value-p.value}px`}:{})}}function rie(e){let t;const n=()=>{const a=e.vnode.el.querySelector(".hidden-columns"),l={childList:!0,subtree:!0},o=e.store.states.updateOrderFns;t=new MutationObserver(()=>{o.forEach(s=>s())}),t.observe(a,l)};mt(()=>{n()}),yo(()=>{t==null||t.disconnect()})}function Fd(e){const t=e.tableLayout==="auto";let n=e.columns||[];t&&n.every(({width:l})=>Mt(l))&&(n=[]);const a=l=>{const o={key:`${e.tableLayout}_${l.id}`,style:{},name:void 0};return t?o.style={width:`${l.width}px`}:o.name=l.id,o};return Je("colgroup",{},n.map(l=>Je("col",a(l))))}Fd.props=["columns","tableLayout"];const iie=()=>{const e=B(),t=(o,s)=>{const r=e.value;r&&r.scrollTo(o,s)},n=(o,s)=>{const r=e.value;r&&qe(s)&&["Top","Left"].includes(o)&&r[`setScroll${o}`](s)};return{scrollBarRef:e,scrollTo:t,setScrollTop:o=>n("Top",o),setScrollLeft:o=>n("Left",o)}},uie=["data-prefix"],cie={ref:"hiddenColumns",class:"hidden-columns"};var die=W({name:"ElTable",__name:"table",props:gre,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-dblclick","cell-contextmenu","cell-click","row-dblclick","row-click","row-contextmenu","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change","scroll"],setup(e,{expose:t}){const n=e,{t:a}=St(),l=ye("table"),o=Zo("table"),s=st();Et(Yl,s);const r=Vre(s,n);s.store=r;const u=new Bre({store:s.store,table:s,fit:n.fit,showHeader:n.showHeader});s.layout=u;const c=x(()=>(r.states.data.value||[]).length===0),{setCurrentRow:d,getSelectionRows:f,getHalfSelectionRows:h,toggleRowSelection:m,clearSelection:v,clearFilter:p,toggleAllSelection:g,toggleRowExpansion:y,clearSort:b,sort:C,updateKeyChildren:w}=oie(r),{isHidden:_,renderExpanded:k,setDragVisible:M,isGroup:E,handleMouseLeave:T,handleHeaderFooterMousewheel:O,tableSize:I,emptyBlockStyle:N,resizeProxyVisible:R,bodyWidth:K,resizeState:H,doLayout:z,tableBodyStyles:V,tableLayout:L,scrollbarViewStyle:F,scrollbarStyle:D}=sie(n,u,r,s),{scrollBarRef:j,scrollTo:q,setScrollLeft:Q,setScrollTop:ee}=iie(),te=co(z,50),ae=wre(l.namespace.value),ue=s;s.tableId=ae,s.state={isGroup:E,resizeState:H,doLayout:z,debouncedUpdateLayout:te};const pe=x(()=>n.sumText??a("el.table.sumText")),ge=x(()=>n.emptyText??a("el.table.emptyText")),X=x(()=>{var U;return n.tooltipEffect??((U=o.value)==null?void 0:U.tooltipEffect)}),Z=x(()=>{var U;return n.tooltipOptions??((U=o.value)==null?void 0:U.tooltipOptions)}),re=x(()=>$_(r.states.originColumns.value)[0]);return rie(s),Ht(()=>{te.cancel()}),t({ns:l,layout:u,store:r,columns:re,handleHeaderFooterMousewheel:O,handleMouseLeave:T,tableId:ae,tableSize:I,isHidden:_,isEmpty:c,renderExpanded:k,resizeProxyVisible:R,resizeState:H,isGroup:E,bodyWidth:K,tableBodyStyles:V,emptyBlockStyle:N,debouncedUpdateLayout:te,setCurrentRow:d,getSelectionRows:f,getHalfSelectionRows:h,toggleRowSelection:m,clearSelection:v,clearFilter:p,toggleAllSelection:g,toggleRowExpansion:y,clearSort:b,doLayout:z,sort:C,updateKeyChildren:w,t:a,setDragVisible:M,context:ue,computedSumText:pe,computedEmptyText:ge,computedTooltipEffect:X,computedTooltipOptions:Z,tableLayout:L,scrollbarViewStyle:F,scrollbarStyle:D,scrollBarRef:j,scrollTo:q,setScrollLeft:Q,setScrollTop:ee,allowDragLastColumn:n.allowDragLastColumn}),(U,J)=>(S(),A("div",{ref:"tableWrapper",class:P([{[i(l).m("fit")]:e.fit,[i(l).m("striped")]:e.stripe,[i(l).m("border")]:e.border||i(E),[i(l).m("hidden")]:i(_),[i(l).m("group")]:i(E),[i(l).m("fluid-height")]:e.maxHeight,[i(l).m("scrollable-x")]:i(u).scrollX.value,[i(l).m("scrollable-y")]:i(u).scrollY.value,[i(l).m("enable-row-hover")]:!i(r).states.isComplex.value,[i(l).m("enable-row-transition")]:(i(r).states.data.value||[]).length!==0&&(i(r).states.data.value||[]).length<100,"has-footer":e.showSummary},i(l).m(i(I)),e.className,i(l).b(),i(l).m(`layout-${i(L)}`)]),style:Ye(e.style),"data-prefix":i(l).namespace.value,onMouseleave:J[1]||(J[1]=(...se)=>i(T)&&i(T)(...se))},[$("div",{ref:"tableInnerWrapper",class:P(i(l).e("inner-wrapper"))},[$("div",cie,[le(U.$slots,"default")],512),e.showHeader&&i(L)==="fixed"?ht((S(),A("div",{key:0,ref:"headerWrapper",class:P(i(l).e("header-wrapper"))},[$("table",{ref:"tableHeader",class:P(i(l).e("header")),style:Ye(i(V)),border:"0",cellpadding:"0",cellspacing:"0"},[G(i(Fd),{columns:i(r).states.columns.value,"table-layout":i(L)},null,8,["columns","table-layout"]),G(i(r6),{ref:"tableHeaderRef",border:e.border,"default-sort":e.defaultSort,store:i(r),"append-filter-panel-to":e.appendFilterPanelTo,"allow-drag-last-column":e.allowDragLastColumn,onSetDragVisible:i(M)},null,8,["border","default-sort","store","append-filter-panel-to","allow-drag-last-column","onSetDragVisible"])],6)],2)),[[i(S4),i(O)]]):oe("v-if",!0),$("div",{ref:"bodyWrapper",class:P(i(l).e("body-wrapper"))},[G(i(Dl),{ref_key:"scrollBarRef",ref:j,"view-style":i(F),"wrap-style":i(D),always:e.scrollbarAlwaysOn,tabindex:e.scrollbarTabindex,native:e.nativeScrollbar,onScroll:J[0]||(J[0]=se=>U.$emit("scroll",se))},{default:ne(()=>[$("table",{ref:"tableBody",class:P(i(l).e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:Ye({width:i(K),tableLayout:i(L)})},[G(i(Fd),{columns:i(r).states.columns.value,"table-layout":i(L)},null,8,["columns","table-layout"]),e.showHeader&&i(L)==="auto"?(S(),ie(i(r6),{key:0,ref:"tableHeaderRef",class:P(i(l).e("body-header")),border:e.border,"default-sort":e.defaultSort,store:i(r),"append-filter-panel-to":e.appendFilterPanelTo,onSetDragVisible:i(M)},null,8,["class","border","default-sort","store","append-filter-panel-to","onSetDragVisible"])):oe("v-if",!0),G(i(nie),{context:i(ue),highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"tooltip-effect":X.value,"tooltip-options":Z.value,"row-style":e.rowStyle,store:i(r),stripe:e.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"]),e.showSummary&&i(L)==="auto"?(S(),ie(i(i6),{key:1,class:P(i(l).e("body-footer")),border:e.border,"default-sort":e.defaultSort,store:i(r),"sum-text":pe.value,"summary-method":e.summaryMethod},null,8,["class","border","default-sort","store","sum-text","summary-method"])):oe("v-if",!0)],6),c.value?(S(),A("div",{key:0,ref:"emptyBlock",style:Ye(i(N)),class:P(i(l).e("empty-block"))},[$("span",{class:P(i(l).e("empty-text"))},[le(U.$slots,"empty",{},()=>[bt(Se(ge.value),1)])],2)],6)):oe("v-if",!0),U.$slots.append?(S(),A("div",{key:1,ref:"appendWrapper",class:P(i(l).e("append-wrapper"))},[le(U.$slots,"append")],2)):oe("v-if",!0)]),_:3},8,["view-style","wrap-style","always","tabindex","native"])],2),e.showSummary&&i(L)==="fixed"?ht((S(),A("div",{key:1,ref:"footerWrapper",class:P(i(l).e("footer-wrapper"))},[$("table",{class:P(i(l).e("footer")),cellspacing:"0",cellpadding:"0",border:"0",style:Ye(i(V))},[G(i(Fd),{columns:i(r).states.columns.value,"table-layout":i(L)},null,8,["columns","table-layout"]),G(i(i6),{border:e.border,"default-sort":e.defaultSort,store:i(r),"sum-text":pe.value,"summary-method":e.summaryMethod},null,8,["border","default-sort","store","sum-text","summary-method"])],6)],2)),[[It,!c.value],[i(S4),i(O)]]):oe("v-if",!0),e.border||i(E)?(S(),A("div",{key:2,class:P(i(l).e("border-left-patch"))},null,2)):oe("v-if",!0)],2),ht($("div",{ref:"resizeProxy",class:P(i(l).e("column-resize-proxy"))},null,2),[[It,i(R)]])],46,uie))}}),fie=die;const pie={type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showOverflowTooltip:{type:[Boolean,Object],default:void 0},tooltipFormatter:Function,fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},filterClassName:String,index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:e=>e.every(t=>["ascending","descending",null].includes(t))}},hie={selection:"table-column--selection",expand:"table__expand-column"},vie={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},mie=e=>hie[e]||"",gie={selection:{renderHeader({store:e}){function t(){return e.states.data.value&&e.states.data.value.length===0}return Je(Al,{disabled:t(),size:e.states.tableSize.value,indeterminate:e.states.selection.value.length>0&&!e.states.isAllSelected.value,"onUpdate:modelValue":e.toggleAllSelection??void 0,modelValue:e.states.isAllSelected.value,ariaLabel:e.t("el.table.selectAllLabel")})},renderCell({row:e,column:t,store:n,$index:a}){return Je(Al,{disabled:t.selectable?!t.selectable.call(null,e,a):!1,size:n.states.tableSize.value,onChange:()=>{n.commit("rowSelectedChanged",e)},onClick:l=>l.stopPropagation(),modelValue:n.isSelected(e),indeterminate:n.getRowIndeterminate(e),ariaLabel:n.t("el.table.selectRowLabel")})},sortable:!1,resizable:!1},index:{renderHeader({column:e}){return e.label||"#"},renderCell({column:e,$index:t}){let n=t+1;const a=e.index;return qe(a)?n=t+a:Ke(a)&&(n=a(t)),Je("div",{},[n])},sortable:!1},expand:{renderHeader({column:e}){return e.label||""},renderCell({column:e,row:t,store:n,expanded:a,$index:l}){var c,d;const{ns:o}=n,s=[o.e("expand-icon")];!e.renderExpand&&a&&s.push(o.em("expand-icon","expanded"));const r=function(f){f.stopPropagation(),n.toggleRowExpansion(t)},u=((d=(c=n.states.rowExpandable).value)==null?void 0:d.call(c,t,l))??!0;return u||s.push(o.is("disabled")),Je("button",{type:"button",disabled:!u,"aria-label":n.t(a?"el.table.collapseRowLabel":"el.table.expandRowLabel"),"aria-expanded":a,class:s,onClick:r},{default:()=>e.renderExpand?[e.renderExpand({expanded:a,expandable:u})]:[Je(Be,null,{default:()=>[Je(ua)]})]})},sortable:!1,resizable:!1}};function yie({row:e,column:t,$index:n}){var o;const a=t.property,l=a&&Cs(e,a).value;return t&&t.formatter?t.formatter(e,t,l,n):((o=l==null?void 0:l.toString)==null?void 0:o.call(l))||""}function bie({row:e,treeNode:t,store:n},a=!1){const{ns:l}=n;if(!t)return a?[Je("span",{class:l.e("placeholder")})]:null;const o=[],s=function(r){r.stopPropagation(),!t.loading&&n.loadOrToggle(e)};if(t.indent&&o.push(Je("span",{class:l.e("indent"),style:{"padding-left":`${t.indent}px`}})),qt(t.expanded)&&!t.noLazyChildren){const r=[l.e("expand-icon"),t.expanded?l.em("expand-icon","expanded"):""];let u=ua;t.loading&&(u=wl),o.push(Je("button",{type:"button","aria-label":n.t(t.expanded?"el.table.collapseRowLabel":"el.table.expandRowLabel"),"aria-expanded":t.expanded,class:r,onClick:s},{default:()=>[Je(Be,{class:l.is("loading",t.loading)},{default:()=>[Je(u)]})]}))}else o.push(Je("span",{class:l.e("placeholder")}));return o}function u6(e,t){return e.reduce((n,a)=>(n[a]=a,n),t)}function wie(e,t){const n=st();return{registerComplexWatchers:()=>{const o=["fixed"],s={realWidth:"width",realMinWidth:"minWidth"},r=u6(o,s);Object.keys(r).forEach(u=>{const c=s[u];zt(t,c)&&ce(()=>t[c],d=>{let f=d;c==="width"&&u==="realWidth"&&(f=rm(d)),c==="minWidth"&&u==="realMinWidth"&&(f=S_(d)),n.columnConfig.value[c]=f,n.columnConfig.value[u]=f;const h=c==="fixed";e.value.store.scheduleLayout(h)})})},registerNormalWatchers:()=>{const o=["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","filterClassName","showOverflowTooltip","tooltipFormatter","resizable"],s=["showOverflowTooltip"],r={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},u=u6(o,r);Object.keys(u).forEach(d=>{const f=r[d];zt(t,f)&&ce(()=>t[f],h=>{n.columnConfig.value[d]=h,(d==="filters"||d==="filterMethod")&&(n.columnConfig.value.filterable=!!(n.columnConfig.value.filters||n.columnConfig.value.filterMethod))})}),s.forEach(d=>{zt(e.value.props,d)&&ce(()=>e.value.props[d],f=>{n.columnConfig.value.type!=="selection"&&Mt(t[d])&&(n.columnConfig.value[d]=f)})});const c=Zo("table");c.value&&zt(c.value,"showOverflowTooltip")&&ce(()=>{var d;return(d=c.value)==null?void 0:d.showOverflowTooltip},d=>{n.columnConfig.value.type!=="selection"&&(!Mt(t.showOverflowTooltip)||!Mt(e.value.props.showOverflowTooltip)||(n.columnConfig.value.showOverflowTooltip=d))})}}}function Cie(e,t,n){const a=st(),l=B(""),o=B(!1),s=B(),r=B(),u=ye("table");la(()=>{s.value=e.align?`is-${e.align}`:null,s.value}),la(()=>{r.value=e.headerAlign?`is-${e.headerAlign}`:s.value,r.value});const c=x(()=>{let w=a.vnode.vParent||a.parent;for(;w&&!w.tableId&&!w.columnId;)w=w.vnode.vParent||w.parent;return w}),d=x(()=>{const{store:w}=a.parent;if(!w)return!1;const{treeData:_}=w.states,k=_.value;return k&&Object.keys(k).length>0}),f=B(rm(e.width)),h=B(S_(e.minWidth)),m=w=>(f.value&&(w.width=f.value),h.value&&(w.minWidth=h.value),!f.value&&h.value&&(w.width=void 0),w.minWidth||(w.minWidth=80),w.realWidth=Number(Mt(w.width)?w.minWidth:w.width),w),v=w=>{const _=w.type,k=gie[_]||{};Object.keys(k).forEach(E=>{const T=k[E];E!=="className"&&!Mt(T)&&(w[E]=T)});const M=mie(_);if(M){const E=`${i(u.namespace)}-${M}`;w.className=w.className?`${w.className} ${E}`:E}return w},p=w=>{ve(w)?w.forEach(k=>_(k)):_(w);function _(k){var M;((M=k==null?void 0:k.type)==null?void 0:M.name)==="ElTableColumn"&&(k.vParent=a)}};return{columnId:l,realAlign:s,isSubColumn:o,realHeaderAlign:r,columnOrTableParent:c,setColumnWidth:m,setColumnForcedProps:v,setColumnRenders:w=>{e.renderHeader?jt("TableColumn","Comparing to render-header, scoped-slot header is easier to use. We recommend users to use scoped-slot header."):w.type!=="selection"&&(w.renderHeader=k=>{if(a.columnConfig.value.label,t.header){const M=t.header(k);if(E_(M))return Je(He,M)}return bt(w.label)}),t["filter-icon"]&&(w.renderFilterIcon=k=>le(t,"filter-icon",k)),t.expand&&(w.renderExpand=k=>le(t,"expand",k));let _=w.renderCell;return w.type==="expand"?(w.renderCell=k=>Je("div",{class:"cell"},[_(k)]),n.value.renderExpanded=k=>t.default?t.default(k):t.default):(_=_||yie,w.renderCell=k=>{let M=null;if(t.default){const N=t.default(k);M=N.some(R=>R.type!==pn)?N:_(k)}else M=_(k);const{columns:E}=n.value.store.states,T=E.value.findIndex(N=>N.type==="default"),O=bie(k,d.value&&k.cellIndex===T),I={class:"cell",style:{}};return w.showOverflowTooltip&&(I.class=`${I.class} ${i(u.namespace)}-tooltip`,I.style={width:`${(k.column.realWidth||Number(k.column.width))-1}px`}),p(M),Je("div",I,[O,M])}),w},getPropsData:(...w)=>w.reduce((_,k)=>(ve(k)&&k.forEach(M=>{_[M]=e[M]}),_),{}),getColumnElIndex:(w,_)=>Array.prototype.indexOf.call(w,_),updateColumnOrder:()=>{n.value.store.commit("updateColumnOrder",a.columnConfig.value)}}}var _ie=W({name:"ElTableColumn",__name:"index",props:pie,setup(e){const t=e,n=wn(),a=st(),l=Zo("table"),o=B({}),s=x(()=>{let k=a.parent;for(;k&&!k.tableId;)k=k.parent;return k}),{registerNormalWatchers:r,registerComplexWatchers:u}=wie(s,t),{columnId:c,isSubColumn:d,realHeaderAlign:f,columnOrTableParent:h,setColumnWidth:m,setColumnForcedProps:v,setColumnRenders:p,getPropsData:g,getColumnElIndex:y,realAlign:b,updateColumnOrder:C}=Cie(t,n,s),w=h.value;c.value=Cre("tableId"in w?w.tableId:w.columnId),Bi(()=>{var N,R;d.value=s.value!==w;const k=t.type||"default",M=t.sortable===""?!0:t.sortable,E=k==="selection"?!1:Mt(t.showOverflowTooltip)?w.props.showOverflowTooltip??((N=l.value)==null?void 0:N.showOverflowTooltip):t.showOverflowTooltip,T=Mt(t.tooltipFormatter)?w.props.tooltipFormatter??((R=l.value)==null?void 0:R.tooltipFormatter):t.tooltipFormatter,O={...vie[k],id:c.value,type:k,property:t.prop||t.property,align:b,headerAlign:f,showOverflowTooltip:E,tooltipFormatter:T,filterable:t.filters||t.filterMethod,filteredValue:[],filterPlacement:"",filterClassName:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:M,index:t.index,rawColumnKey:a.vnode.key};let I=g(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement","filterClassName"]);I=xre(O,I),I=Ere(p,m,v)(I),o.value=I,r(),u()}),mt(()=>{var T,O;const k=h.value,M=d.value?(T=k.vnode.el)==null?void 0:T.children:(O=k.refs.hiddenColumns)==null?void 0:O.children,E=()=>y(M||[],a.vnode.el);o.value.getColumnIndex=E,E()>-1&&s.value.store.commit("insertColumn",o.value,d.value?"columnConfig"in k&&k.columnConfig.value:null,C)}),Ht(()=>{const k=o.value.getColumnIndex;(k?k():-1)>-1&&s.value.store.commit("removeColumn",o.value,d.value?"columnConfig"in w&&w.columnConfig.value:null,C)}),a.columnId=c.value,a.columnConfig=o;const _=()=>{var k,M;try{const E=(k=n.default)==null?void 0:k.call(n,{row:{},column:{},$index:-1}),T=[];if(ve(E))for(const O of E)((M=O.type)==null?void 0:M.name)==="ElTableColumn"||O.shapeFlag&2?T.push(O):O.type===He&&ve(O.children)&&O.children.forEach(I=>{(I==null?void 0:I.patchFlag)!==1024&&!Ne(I==null?void 0:I.children)&&T.push(I)});return Je("div",T)}catch{return Je("div",[])}};return(k,M)=>(S(),ie(_))}}),Sie=_ie,xie=Sie,N_=xie;const kie=ct(fie,{TableColumn:N_}),Eie=mn(N_),x2={asc:"desc",desc:"asc"},dc=Symbol("placeholder"),A_=String,qc={type:Y(Array),required:!0},fm={type:Y(Array)},I_={...fm,required:!0},Tie=String,c6={type:Y(Array),default:()=>yn([])},Ws={type:Number,required:!0},P_={type:Y([String,Number,Symbol]),default:"id"},d6={type:Y(Object)},Gs=ke({class:String,columns:qc,columnsStyles:{type:Y(Object),required:!0},depth:Number,expandColumnKey:Tie,estimatedRowHeight:{...ar.estimatedRowHeight,default:void 0},isScrolling:Boolean,onRowExpand:{type:Y(Function)},onRowHover:{type:Y(Function)},onRowHeightChange:{type:Y(Function)},rowData:{type:Y(Object),required:!0},rowEventHandlers:{type:Y(Object)},rowIndex:{type:Number,required:!0},rowKey:P_,style:{type:Y(Object)}}),Yp={type:Number,required:!0},pm=ke({class:String,columns:qc,fixedHeaderData:{type:Y(Array)},headerData:{type:Y(Array),required:!0},headerHeight:{type:Y([Number,Array]),default:50},rowWidth:Yp,rowHeight:{type:Number,default:50},height:Yp,width:Yp}),Kd=ke({columns:qc,data:I_,fixedData:fm,estimatedRowHeight:Gs.estimatedRowHeight,width:Ws,height:Ws,headerWidth:Ws,headerHeight:pm.headerHeight,bodyWidth:Ws,rowHeight:Ws,cache:j9.cache,useIsScrolling:Boolean,scrollbarAlwaysOn:ar.scrollbarAlwaysOn,scrollbarStartGap:ar.scrollbarStartGap,scrollbarEndGap:ar.scrollbarEndGap,class:A_,style:d6,containerStyle:d6,getRowHeight:{type:Y(Function),required:!0},rowKey:Gs.rowKey,onRowsRendered:{type:Y(Function)},onScroll:{type:Y(Function)}}),Mie=ke({cache:Kd.cache,estimatedRowHeight:Gs.estimatedRowHeight,rowKey:P_,headerClass:{type:Y([String,Function])},headerProps:{type:Y([Object,Function])},headerCellProps:{type:Y([Object,Function])},headerHeight:pm.headerHeight,footerHeight:{type:Number,default:0},rowClass:{type:Y([String,Function])},rowProps:{type:Y([Object,Function])},rowHeight:{type:Number,default:50},cellProps:{type:Y([Object,Function])},columns:qc,data:I_,dataGetter:{type:Y(Function)},fixedData:fm,expandColumnKey:Gs.expandColumnKey,expandedRowKeys:c6,defaultExpandedRowKeys:c6,class:A_,fixed:Boolean,style:{type:Y(Object)},width:Ws,height:Ws,maxHeight:Number,useIsScrolling:Boolean,indentSize:{type:Number,default:12},iconSize:{type:Number,default:12},hScrollbarSize:ar.hScrollbarSize,vScrollbarSize:ar.vScrollbarSize,scrollbarAlwaysOn:Y9.alwaysOn,sortBy:{type:Y(Object),default:()=>({})},sortState:{type:Y(Object),default:void 0},onColumnSort:{type:Y(Function)},onExpandedRowsChange:{type:Y(Function)},onEndReached:{type:Y(Function)},onRowExpand:Gs.onRowExpand,onScroll:Kd.onScroll,onRowsRendered:Kd.onRowsRendered,rowEventHandlers:Gs.rowEventHandlers}),Oie=(e,t,n)=>{const a={flexGrow:0,flexShrink:0,...n?{}:{flexGrow:e.flexGrow??0,flexShrink:e.flexShrink??1}},l={...e.style??{},...a,flexBasis:"auto",width:e.width};return t||(e.maxWidth&&(l.maxWidth=e.maxWidth),e.minWidth&&(l.minWidth=e.minWidth)),l};function $ie(e,t,n){const a=x(()=>i(t).map((g,y)=>({...g,key:g.key??g.dataKey??y}))),l=x(()=>i(a).filter(g=>!g.hidden)),o=x(()=>i(l).filter(g=>g.fixed==="left"||g.fixed===!0)),s=x(()=>i(l).filter(g=>g.fixed==="right")),r=x(()=>i(l).filter(g=>!g.fixed)),u=x(()=>{const g=[];return i(o).forEach(y=>{g.push({...y,placeholderSign:dc})}),i(r).forEach(y=>{g.push(y)}),i(s).forEach(y=>{g.push({...y,placeholderSign:dc})}),g}),c=x(()=>i(o).length||i(s).length),d=x(()=>i(a).reduce((g,y)=>(g[y.key]=Oie(y,i(n),e.fixed),g),{})),f=x(()=>i(l).reduce((g,y)=>g+y.width,0)),h=g=>i(a).find(y=>y.key===g),m=g=>i(d)[g],v=(g,y)=>{g.width=y};function p(g){var _;const{key:y}=g.currentTarget.dataset;if(!y)return;const{sortState:b,sortBy:C}=e;let w="asc";rt(b)?w=x2[b[y]]:w=x2[C.order],(_=e.onColumnSort)==null||_.call(e,{column:h(y),key:y,order:w})}return{columns:a,columnsStyles:d,columnsTotalWidth:f,fixedColumnsOnLeft:o,fixedColumnsOnRight:s,hasFixedColumns:c,mainColumns:u,normalColumns:r,visibleColumns:l,getColumn:h,getColumnStyle:m,updateColumnWidth:v,onColumnSorted:p}}const Nie=(e,{mainTableRef:t,leftTableRef:n,rightTableRef:a,onMaybeEndReached:l})=>{const o=B({scrollLeft:0,scrollTop:0});function s(m){var p,g,y;const{scrollTop:v}=m;(p=t.value)==null||p.scrollTo(m),(g=n.value)==null||g.scrollToTop(v),(y=a.value)==null||y.scrollToTop(v)}function r(m){o.value=m,s(m)}function u(m){o.value.scrollTop=m,s(i(o))}function c(m){var v,p;o.value.scrollLeft=m,(p=(v=t.value)==null?void 0:v.scrollTo)==null||p.call(v,i(o))}function d(m){var v;r(m),(v=e.onScroll)==null||v.call(e,m)}function f({scrollTop:m}){const{scrollTop:v}=i(o);m!==v&&u(m)}function h(m,v="auto"){var p;(p=t.value)==null||p.scrollToRow(m,v)}return ce(()=>i(o).scrollTop,(m,v)=>{m>v&&l()}),{scrollPos:o,scrollTo:r,scrollToLeft:c,scrollToTop:u,scrollToRow:h,onScroll:d,onVerticalScroll:f}},Aie=(e,{mainTableRef:t,leftTableRef:n,rightTableRef:a,tableInstance:l,ns:o,isScrolling:s})=>{const r=st(),{emit:u}=r,c=kt(!1),d=B(e.defaultExpandedRowKeys||[]),f=B(-1),h=kt(null),m=B({}),v=B({}),p=kt({}),g=kt({}),y=kt({}),b=x(()=>qe(e.estimatedRowHeight));function C(O){var I;(I=e.onRowsRendered)==null||I.call(e,O),O.rowCacheEnd>i(f)&&(f.value=O.rowCacheEnd)}function w({hovered:O,rowKey:I}){s.value||l.vnode.el.querySelectorAll(`[rowkey="${String(I)}"]`).forEach(N=>{O?N.classList.add(o.is("hovered")):N.classList.remove(o.is("hovered"))})}function _({expanded:O,rowData:I,rowIndex:N,rowKey:R}){var z,V;const K=[...i(d)],H=K.indexOf(R);O?H===-1&&K.push(R):H>-1&&K.splice(H,1),d.value=K,u("update:expandedRowKeys",K),(z=e.onRowExpand)==null||z.call(e,{expanded:O,rowData:I,rowIndex:N,rowKey:R}),(V=e.onExpandedRowsChange)==null||V.call(e,K),l.vnode.el.querySelector(`.${o.is("hovered")}[rowkey="${String(R)}"]`)&&Pe(()=>w({hovered:!0,rowKey:R}))}const k=co(()=>{var O,I,N,R;c.value=!0,m.value={...i(m),...i(v)},M(i(h),!1),v.value={},h.value=null,(O=t.value)==null||O.forceUpdate(),(I=n.value)==null||I.forceUpdate(),(N=a.value)==null||N.forceUpdate(),(R=r.proxy)==null||R.$forceUpdate(),c.value=!1},0);function M(O,I=!1){i(b)&&[t,n,a].forEach(N=>{const R=i(N);R&&R.resetAfterRowIndex(O,I)})}function E(O,I,N){const R=i(h);(R===null||R>N)&&(h.value=N),v.value[O]=I}function T({rowKey:O,height:I,rowIndex:N},R){R?R==="right"?y.value[O]=I:p.value[O]=I:g.value[O]=I;const K=Math.max(...[p,y,g].map(H=>H.value[O]||0));i(m)[O]!==K&&(E(O,K,N),k())}return{expandedRowKeys:d,lastRenderedRowIndex:f,isDynamic:b,isResetting:c,rowHeights:m,resetAfterIndex:M,onRowExpanded:_,onRowHovered:w,onRowsRendered:C,onRowHeightChange:T}},Iie=(e,{expandedRowKeys:t,lastRenderedRowIndex:n,resetAfterIndex:a})=>{const l=B({}),o=x(()=>{const r={},{data:u,rowKey:c}=e,d=i(t);if(!d||!d.length)return u;const f=[],h=new Set;d.forEach(v=>h.add(v));let m=u.slice();for(m.forEach(v=>r[v[c]]=0);m.length>0;){const v=m.shift();f.push(v),h.has(v[c])&&ve(v.children)&&v.children.length>0&&(m=[...v.children,...m],v.children.forEach(p=>r[p[c]]=r[v[c]]+1))}return l.value=r,f}),s=x(()=>{const{data:r,expandColumnKey:u}=e;return u?i(o):r});return ce(s,(r,u)=>{r!==u&&(n.value=-1,a(0,!0))}),{data:s,depthMap:l}},Pie=(e,t)=>e+t,Wd=e=>ve(e)?e.reduce(Pie,0):e,wr=(e,t,n={})=>Ke(e)?e(t):e??n,gs=e=>(["width","maxWidth","minWidth","height"].forEach(t=>{e[t]=bn(e[t])}),e),R_=e=>Yt(e)?t=>Je(e,t):e,Rie=(e,{columnsTotalWidth:t,rowsHeight:n,fixedColumnsOnLeft:a,fixedColumnsOnRight:l})=>{const o=x(()=>{const{fixed:p,width:g,vScrollbarSize:y}=e,b=g-y;return p?Math.max(Math.round(i(t)),b):b}),s=x(()=>{const{height:p=0,maxHeight:g=0,footerHeight:y,hScrollbarSize:b}=e;if(g>0){const C=i(h),w=i(n),_=i(f)+C+w+b;return Math.min(_,g-y)}return p-y}),r=x(()=>{const{maxHeight:p}=e,g=i(s);if(qe(p)&&p>0)return g;const y=i(n)+i(f)+i(h);return Math.min(g,y)}),u=p=>p.width,c=x(()=>Wd(i(a).map(u))),d=x(()=>Wd(i(l).map(u))),f=x(()=>Wd(e.headerHeight)),h=x(()=>{var p;return(((p=e.fixedData)==null?void 0:p.length)||0)*e.rowHeight}),m=x(()=>i(s)-i(f)-i(h)),v=x(()=>{const{style:p={},height:g,width:y}=e;return gs({...p,height:g,width:y})});return{bodyWidth:o,fixedTableHeight:r,mainTableHeight:s,leftTableWidth:c,rightTableWidth:d,windowHeight:m,footerHeight:x(()=>gs({height:e.footerHeight})),emptyStyle:x(()=>({top:bn(i(f)),bottom:bn(e.footerHeight),width:bn(e.width)})),rootStyle:v,headerHeight:f}};function Vie(e){const t=B(),n=B(),a=B(),{columns:l,columnsStyles:o,columnsTotalWidth:s,fixedColumnsOnLeft:r,fixedColumnsOnRight:u,hasFixedColumns:c,mainColumns:d,onColumnSorted:f}=$ie(e,At(e,"columns"),At(e,"fixed")),{scrollTo:h,scrollToLeft:m,scrollToTop:v,scrollToRow:p,onScroll:g,onVerticalScroll:y,scrollPos:b}=Nie(e,{mainTableRef:t,leftTableRef:n,rightTableRef:a,onMaybeEndReached:U}),C=ye("table-v2"),w=st(),_=kt(!1),{expandedRowKeys:k,lastRenderedRowIndex:M,isDynamic:E,isResetting:T,rowHeights:O,resetAfterIndex:I,onRowExpanded:N,onRowHeightChange:R,onRowHovered:K,onRowsRendered:H}=Aie(e,{mainTableRef:t,leftTableRef:n,rightTableRef:a,tableInstance:w,ns:C,isScrolling:_}),{data:z,depthMap:V}=Iie(e,{expandedRowKeys:k,lastRenderedRowIndex:M,resetAfterIndex:I}),L=x(()=>{const{estimatedRowHeight:J,rowHeight:se}=e,fe=i(z);return qe(J)?Object.values(i(O)).reduce((me,we)=>me+we,0):fe.length*se}),{bodyWidth:F,fixedTableHeight:D,mainTableHeight:j,leftTableWidth:q,rightTableWidth:Q,windowHeight:ee,footerHeight:te,emptyStyle:ae,rootStyle:ue,headerHeight:pe}=Rie(e,{columnsTotalWidth:s,fixedColumnsOnLeft:r,fixedColumnsOnRight:u,rowsHeight:L}),ge=B(),X=x(()=>{const J=i(z).length===0;return ve(e.fixedData)?e.fixedData.length===0&&J:J});function Z(J){const{estimatedRowHeight:se,rowHeight:fe,rowKey:me}=e;return se?i(O)[i(z)[J][me]]||se:fe}const re=B(!1);function U(){const{onEndReached:J}=e;if(!J)return;const{scrollTop:se}=i(b),fe=i(L),me=fe-(se+i(ee))+e.hScrollbarSize;!re.value&&i(M)>=0&&fe<=se+i(j)-i(pe)?(re.value=!0,J(me)):re.value=!1}return ce(()=>i(L),()=>re.value=!1),ce(()=>e.expandedRowKeys,J=>k.value=J,{deep:!0}),{columns:l,containerRef:ge,mainTableRef:t,leftTableRef:n,rightTableRef:a,isDynamic:E,isResetting:T,isScrolling:_,hasFixedColumns:c,columnsStyles:o,columnsTotalWidth:s,data:z,expandedRowKeys:k,depthMap:V,fixedColumnsOnLeft:r,fixedColumnsOnRight:u,mainColumns:d,bodyWidth:F,emptyStyle:ae,rootStyle:ue,footerHeight:te,mainTableHeight:j,fixedTableHeight:D,leftTableWidth:q,rightTableWidth:Q,showEmpty:X,getRowHeight:Z,onColumnSorted:f,onRowHovered:K,onRowExpanded:N,onRowsRendered:H,onRowHeightChange:R,scrollTo:h,scrollToLeft:m,scrollToTop:v,scrollToRow:p,onScroll:g,onVerticalScroll:y}}const hm=Symbol("tableV2"),V_="tableV2GridScrollLeft",Lie=W({name:"ElTableV2Header",props:pm,setup(e,{slots:t,expose:n}){const a=ye("table-v2"),l=De(V_),o=B(),s=x(()=>gs({width:e.width,height:e.height})),r=x(()=>gs({width:e.rowWidth,height:e.height})),u=x(()=>Wn(i(e.headerHeight))),c=h=>{const m=i(o);Pe(()=>{m!=null&&m.scroll&&m.scroll({left:h})})},d=()=>{const h=a.e("fixed-header-row"),{columns:m,fixedHeaderData:v,rowHeight:p}=e;return v==null?void 0:v.map((g,y)=>{var C;const b=gs({height:p,width:"100%"});return(C=t.fixed)==null?void 0:C.call(t,{class:h,columns:m,rowData:g,rowIndex:-(y+1),style:b})})},f=()=>{const h=a.e("dynamic-header-row"),{columns:m}=e;return i(u).map((v,p)=>{var y;const g=gs({width:"100%",height:v});return(y=t.dynamic)==null?void 0:y.call(t,{class:h,columns:m,headerIndex:p,style:g})})};return qa(()=>{l!=null&&l.value&&c(l.value)}),n({scrollToLeft:c}),()=>{if(!(e.height<=0))return G("div",{ref:o,class:e.class,style:i(s),role:"rowgroup"},[G("div",{style:i(r),class:a.e("header")},[f(),d()])])}}}),Bie="ElTableV2Grid",zie=e=>{const t=B(),n=B(),a=B(0),l=x(()=>{const{data:g,rowHeight:y,estimatedRowHeight:b}=e;if(!b)return g.length*y}),o=x(()=>{const{fixedData:g,rowHeight:y}=e;return((g==null?void 0:g.length)||0)*y}),s=x(()=>Wd(e.headerHeight)),r=x(()=>{const{height:g}=e;return Math.max(0,g-i(s)-i(o))}),u=x(()=>i(s)+i(o)>0),c=({data:g,rowIndex:y})=>g[y][e.rowKey];function d({rowCacheStart:g,rowCacheEnd:y,rowVisibleStart:b,rowVisibleEnd:C}){var w;(w=e.onRowsRendered)==null||w.call(e,{rowCacheStart:g,rowCacheEnd:y,rowVisibleStart:b,rowVisibleEnd:C})}function f(g,y){var b;(b=n.value)==null||b.resetAfterRowIndex(g,y)}function h(g,y){const b=i(t),C=i(n);rt(g)?(b==null||b.scrollToLeft(g.scrollLeft),a.value=g.scrollLeft,C==null||C.scrollTo(g)):(b==null||b.scrollToLeft(g),a.value=g,C==null||C.scrollTo({scrollLeft:g,scrollTop:y}))}function m(g){var y;(y=i(n))==null||y.scrollTo({scrollTop:g})}function v(g,y){const b=i(n);if(!b)return;const C=a.value;b.scrollToItem(g,0,y),C&&h({scrollLeft:C})}function p(){var g,y;(g=i(n))==null||g.$forceUpdate(),(y=i(t))==null||y.$forceUpdate()}return ce(()=>e.bodyWidth,()=>{var g;qe(e.estimatedRowHeight)&&((g=n.value)==null||g.resetAfter({columnIndex:0},!1))}),{bodyRef:n,forceUpdate:p,fixedRowHeight:o,gridHeight:r,hasHeader:u,headerHeight:s,headerRef:t,totalHeight:l,itemKey:c,onItemRendered:d,resetAfterRowIndex:f,scrollTo:h,scrollToTop:m,scrollToRow:v,scrollLeft:a}},vm=W({name:Bie,props:Kd,setup(e,{slots:t,expose:n}){const{ns:a}=De(hm),{bodyRef:l,fixedRowHeight:o,gridHeight:s,hasHeader:r,headerRef:u,headerHeight:c,totalHeight:d,forceUpdate:f,itemKey:h,onItemRendered:m,resetAfterRowIndex:v,scrollTo:p,scrollToTop:g,scrollToRow:y,scrollLeft:b}=zie(e);Et(V_,b),kr(async()=>{var _;await Pe();const w=(_=l.value)==null?void 0:_.states.scrollTop;w&&g(Math.round(w)+1)}),n({forceUpdate:f,totalHeight:d,scrollTo:p,scrollToTop:g,scrollToRow:y,resetAfterRowIndex:v});const C=()=>e.bodyWidth;return()=>{const{cache:w,columns:_,data:k,fixedData:M,useIsScrolling:E,scrollbarAlwaysOn:T,scrollbarEndGap:O,scrollbarStartGap:I,style:N,rowHeight:R,bodyWidth:K,estimatedRowHeight:H,headerWidth:z,height:V,width:L,getRowHeight:F,onScroll:D}=e,j=qe(H),q=j?vJ:dJ,Q=i(c);return G("div",{role:"table",class:[a.e("table"),e.class],style:N},[G(q,{ref:l,data:k,useIsScrolling:E,itemKey:h,columnCache:0,columnWidth:j?C:K,totalColumn:1,totalRow:k.length,rowCache:w,rowHeight:j?F:R,width:L,height:i(s),class:a.e("body"),role:"rowgroup",scrollbarStartGap:I,scrollbarEndGap:O,scrollbarAlwaysOn:T,onScroll:D,onItemRendered:m,perfMode:!1},{default:ee=>{var ae;const te=k[ee.rowIndex];return(ae=t.row)==null?void 0:ae.call(t,{...ee,columns:_,rowData:te})}}),i(r)&&G(Lie,{ref:u,class:a.e("header-wrapper"),columns:_,headerData:k,headerHeight:e.headerHeight,fixedHeaderData:M,rowWidth:z,rowHeight:R,width:L,height:Math.min(Q+i(o),V)},{dynamic:t.header,fixed:t.row})])}}});function Die(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Yt(e)}const Hie=(e,{slots:t})=>{const{mainTableRef:n,...a}=e;return G(vm,vt({ref:n},a),Die(t)?t:{default:()=>[t]})};function Fie(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Yt(e)}const Kie=(e,{slots:t})=>{if(!e.columns.length)return;const{leftTableRef:n,...a}=e;return G(vm,vt({ref:n},a),Fie(t)?t:{default:()=>[t]})};function Wie(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Yt(e)}const jie=(e,{slots:t})=>{if(!e.columns.length)return;const{rightTableRef:n,...a}=e;return G(vm,vt({ref:n},a),Wie(t)?t:{default:()=>[t]})},qie=e=>{const{isScrolling:t}=De(hm),n=B(!1),a=B(),l=x(()=>qe(e.estimatedRowHeight)&&e.rowIndex>=0),o=(u=!1)=>{const c=i(a);if(!c)return;const{columns:d,onRowHeightChange:f,rowKey:h,rowIndex:m,style:v}=e,{height:p}=c.getBoundingClientRect();n.value=!0,Pe(()=>{if(u||p!==Number.parseInt(v.height)){const g=d[0],y=(g==null?void 0:g.placeholderSign)===dc;f==null||f({rowKey:h,height:p,rowIndex:m},g&&!y&&g.fixed)}})},s=x(()=>{const{rowData:u,rowIndex:c,rowKey:d,onRowHover:f}=e,h=e.rowEventHandlers||{},m={};return Object.entries(h).forEach(([v,p])=>{Ke(p)&&(m[v]=g=>{p({event:g,rowData:u,rowIndex:c,rowKey:d})})}),f&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach(({name:v,hovered:p})=>{const g=m[v];m[v]=y=>{f({event:y,hovered:p,rowData:u,rowIndex:c,rowKey:d}),g==null||g(y)}}),m}),r=u=>{const{onRowExpand:c,rowData:d,rowIndex:f,rowKey:h}=e;c==null||c({expanded:u,rowData:d,rowIndex:f,rowKey:h})};return mt(()=>{i(l)&&o(!0)}),{isScrolling:t,measurable:l,measured:n,rowRef:a,eventHandlers:s,onExpand:r}},Uie=W({name:"ElTableV2TableRow",props:Gs,setup(e,{expose:t,slots:n,attrs:a}){const{eventHandlers:l,isScrolling:o,measurable:s,measured:r,rowRef:u,onExpand:c}=qie(e);return t({onExpand:c}),()=>{const{columns:d,columnsStyles:f,expandColumnKey:h,depth:m,rowData:v,rowIndex:p,style:g}=e;let y=d.map((b,C)=>{const w=ve(v.children)&&v.children.length>0&&b.key===h;return n.cell({column:b,columns:d,columnIndex:C,depth:m,style:f[b.key],rowData:v,rowIndex:p,isScrolling:i(o),expandIconProps:w?{rowData:v,rowIndex:p,onExpand:c}:void 0})});if(n.row&&(y=n.row({cells:y.map(b=>ve(b)&&b.length===1?b[0]:b),style:g,columns:d,depth:m,rowData:v,rowIndex:p,isScrolling:i(o)})),i(s)){const{height:b,...C}=g||{},w=i(r);return G("div",vt({ref:u,class:e.class,style:w?g:C,role:"row"},a,i(l)),[y])}return G("div",vt(a,{ref:u,class:e.class,style:g,role:"row"},i(l)),[y])}}});function Yie(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Yt(e)}const Gie=(e,{slots:t})=>{const{columns:n,columnsStyles:a,depthMap:l,expandColumnKey:o,expandedRowKeys:s,estimatedRowHeight:r,hasFixedColumns:u,rowData:c,rowIndex:d,style:f,isScrolling:h,rowProps:m,rowClass:v,rowKey:p,rowEventHandlers:g,ns:y,onRowHovered:b,onRowExpanded:C}=e,w=wr(v,{columns:n,rowData:c,rowIndex:d},""),_=wr(m,{columns:n,rowData:c,rowIndex:d}),k=c[p],M=l[k]||0,E=!!o,T=d<0,O=[y.e("row"),w,y.is("expanded",E&&s.includes(k)),y.is("fixed",!M&&T),y.is("customized",!!t.row),{[y.e(`row-depth-${M}`)]:E&&d>=0}],I=u?b:void 0,N={..._,columns:n,columnsStyles:a,class:O,depth:M,expandColumnKey:o,estimatedRowHeight:T?void 0:r,isScrolling:h,rowIndex:d,rowData:c,rowKey:k,rowEventHandlers:g,style:f};return G(Uie,vt(N,{onRowExpand:C,onMouseenter:H=>{I==null||I({hovered:!0,rowKey:k,event:H,rowData:c,rowIndex:d})},onMouseleave:H=>{I==null||I({hovered:!1,rowKey:k,event:H,rowData:c,rowIndex:d})},rowkey:k}),Yie(t)?t:{default:()=>[t]})},mm=(e,{slots:t})=>{var s;const{cellData:n,style:a}=e,l=((s=n==null?void 0:n.toString)==null?void 0:s.call(n))||"",o=le(t,"default",e,()=>[l]);return G("div",{class:e.class,title:l,style:a},[o])};mm.displayName="ElTableV2Cell";mm.inheritAttrs=!1;const L_=e=>{const{expanded:t,expandable:n,onExpand:a,style:l,size:o,ariaLabel:s}=e;return G("button",vt({onClick:n?()=>a(!t):void 0,ariaLabel:s,ariaExpanded:t,class:e.class},{type:"button"}),[G(Be,{size:o,style:l},{default:()=>[G(ua,null,null)]})])};L_.inheritAttrs=!1;const k2=({columns:e,column:t,columnIndex:n,depth:a,expandIconProps:l,isScrolling:o,rowData:s,rowIndex:r,style:u,expandedRowKeys:c,ns:d,t:f,cellProps:h,expandColumnKey:m,indentSize:v,iconSize:p,rowKey:g},{slots:y})=>{const b=gs(u);if(t.placeholderSign===dc)return G("div",{class:d.em("row-cell","placeholder"),style:b},null);const{cellRenderer:C,dataKey:w,dataGetter:_}=t,k=Ke(_)?_({columns:e,column:t,columnIndex:n,rowData:s,rowIndex:r}):Tn(s,w??""),M=wr(h,{cellData:k,columns:e,column:t,columnIndex:n,rowIndex:r,rowData:s}),E={class:d.e("cell-text"),columns:e,column:t,columnIndex:n,cellData:k,isScrolling:o,rowData:s,rowIndex:r},T=R_(C),O=T?T(E):le(y,"default",E,()=>[G(mm,E,null)]),I=[d.e("row-cell"),t.class,t.align==="center"&&d.is("align-center"),t.align==="right"&&d.is("align-right")],N=r>=0&&m&&t.key===m,R=r>=0&&c.includes(s[g]);let K;const H=`margin-inline-start: ${a*v}px;`;return N&&(rt(l)?K=G(L_,vt(l,{class:[d.e("expand-icon"),d.is("expanded",R)],size:p,expanded:R,ariaLabel:f(R?"el.table.collapseRowLabel":"el.table.expandRowLabel"),style:H,expandable:!0}),null):K=G("div",{style:[H,`width: ${p}px; height: ${p}px;`].join(" ")},null)),G("div",vt({class:I,style:b},M,{role:"cell"}),[K,O])};k2.inheritAttrs=!1;const Xie=ke({class:String,columns:qc,columnsStyles:{type:Y(Object),required:!0},headerIndex:Number,style:{type:Y(Object)}}),Jie=W({name:"ElTableV2HeaderRow",props:Xie,setup(e,{slots:t}){return()=>{const{columns:n,columnsStyles:a,headerIndex:l,style:o}=e;let s=n.map((r,u)=>t.cell({columns:n,column:r,columnIndex:u,headerIndex:l,style:a[r.key]}));return t.header&&(s=t.header({cells:s.map(r=>ve(r)&&r.length===1?r[0]:r),columns:n,headerIndex:l})),G("div",{class:e.class,style:o,role:"row"},[s])}}});function Zie(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Yt(e)}const Qie=({columns:e,columnsStyles:t,headerIndex:n,style:a,headerClass:l,headerProps:o,ns:s},{slots:r})=>{const u={columns:e,headerIndex:n},c=[s.e("header-row"),wr(l,u,""),s.is("customized",!!r.header)];return G(Jie,{...wr(o,u),columnsStyles:t,class:c,columns:e,headerIndex:n,style:a},Zie(r)?r:{default:()=>[r]})},gm=(e,{slots:t})=>le(t,"default",e,()=>{var n,a;return[G("div",{class:e.class,title:(n=e.column)==null?void 0:n.title},[(a=e.column)==null?void 0:a.title])]});gm.displayName="ElTableV2HeaderCell";gm.inheritAttrs=!1;const eue=e=>{const{sortOrder:t}=e;return G("button",{type:"button","aria-label":e.ariaLabel,class:e.class},[G(Be,{size:14},{default:()=>[G(t==="asc"?q5:j5,null,null)]})])},f6=(e,{slots:t})=>{const{column:n,ns:a,t:l,style:o,onColumnSorted:s}=e,r=gs(o);if(n.placeholderSign===dc)return G("div",{class:a.em("header-row-cell","placeholder"),style:r},null);const{headerCellRenderer:u,headerClass:c,sortable:d}=n,f={...e,class:a.e("header-cell-text")},h=R_(u),m=h?h(f):le(t,"default",f,()=>[G(gm,f,null)]),{sortBy:v,sortState:p,headerCellProps:g}=e;let y,b,C;if(p){const _=p[n.key];y=!!x2[_],b=y?_:"asc"}else y=n.key===v.key,b=y?v.order:"asc";b==="asc"?C="ascending":b==="desc"?C="descending":C=void 0;const w=[a.e("header-cell"),wr(c,e,""),n.align==="center"&&a.is("align-center"),n.align==="right"&&a.is("align-right"),d&&a.is("sortable")];return G("div",vt({...wr(g,e),onClick:n.sortable?s:void 0,ariaSort:d?C:void 0,class:w,style:r,"data-key":n.key},{role:"columnheader"}),[m,d&&G(eue,{class:[a.e("sort-icon"),y&&a.is("sorting")],sortOrder:b,ariaLabel:l("el.table.sortLabel",{column:n.title||""})},null)])},B_=(e,{slots:t})=>{var n;return G("div",{class:e.class,style:e.style},[(n=t.default)==null?void 0:n.call(t)])};B_.displayName="ElTableV2Footer";const z_=(e,{slots:t})=>{const n=le(t,"default",{},()=>[G(i_,null,null)]);return G("div",{class:e.class,style:e.style},[n])};z_.displayName="ElTableV2Empty";const D_=(e,{slots:t})=>{var n;return G("div",{class:e.class,style:e.style},[(n=t.default)==null?void 0:n.call(t)])};D_.displayName="ElTableV2Overlay";function uu(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Yt(e)}const tue=W({name:"ElTableV2",props:Mie,slots:Object,setup(e,{slots:t,expose:n}){const a=ye("table-v2"),{t:l}=St(),{columnsStyles:o,fixedColumnsOnLeft:s,fixedColumnsOnRight:r,mainColumns:u,mainTableHeight:c,fixedTableHeight:d,leftTableWidth:f,rightTableWidth:h,data:m,depthMap:v,expandedRowKeys:p,hasFixedColumns:g,mainTableRef:y,leftTableRef:b,rightTableRef:C,isDynamic:w,isResetting:_,isScrolling:k,bodyWidth:M,emptyStyle:E,rootStyle:T,footerHeight:O,showEmpty:I,scrollTo:N,scrollToLeft:R,scrollToTop:K,scrollToRow:H,getRowHeight:z,onColumnSorted:V,onRowHeightChange:L,onRowHovered:F,onRowExpanded:D,onRowsRendered:j,onScroll:q,onVerticalScroll:Q}=Vie(e);return n({scrollTo:N,scrollToLeft:R,scrollToTop:K,scrollToRow:H}),Et(hm,{ns:a,isResetting:_,isScrolling:k}),()=>{const{cache:ee,cellProps:te,estimatedRowHeight:ae,expandColumnKey:ue,fixedData:pe,headerHeight:ge,headerClass:X,headerProps:Z,headerCellProps:re,sortBy:U,sortState:J,rowHeight:se,rowClass:fe,rowEventHandlers:me,rowKey:we,rowProps:Ve,scrollbarAlwaysOn:Ae,indentSize:xe,iconSize:he,useIsScrolling:Ee,vScrollbarSize:$e,width:Re}=e,Ge=i(m),Ze={cache:ee,class:a.e("main"),columns:i(u),data:Ge,fixedData:pe,estimatedRowHeight:ae,bodyWidth:i(M),headerHeight:ge,headerWidth:i(M),height:i(c),mainTableRef:y,rowKey:we,rowHeight:se,scrollbarAlwaysOn:Ae,scrollbarStartGap:2,scrollbarEndGap:$e,useIsScrolling:Ee,width:Re,getRowHeight:z,onRowsRendered:j,onScroll:q},Xe=i(f),gt=i(d),Tt={cache:ee,class:a.e("left"),columns:i(s),data:Ge,fixedData:pe,estimatedRowHeight:ae,leftTableRef:b,rowHeight:se,bodyWidth:Xe,headerWidth:Xe,headerHeight:ge,height:gt,rowKey:we,scrollbarAlwaysOn:Ae,scrollbarStartGap:2,scrollbarEndGap:$e,useIsScrolling:Ee,width:Xe,getRowHeight:z,onScroll:Q},Pt=i(h),$t={cache:ee,class:a.e("right"),columns:i(r),data:Ge,fixedData:pe,estimatedRowHeight:ae,rightTableRef:C,rowHeight:se,bodyWidth:Pt,headerWidth:Pt,headerHeight:ge,height:gt,rowKey:we,scrollbarAlwaysOn:Ae,scrollbarStartGap:2,scrollbarEndGap:$e,width:Pt,style:`${a.cssVarName("table-scrollbar-size")}: ${$e}px`,useIsScrolling:Ee,getRowHeight:z,onScroll:Q},Rt=i(o),tn={ns:a,depthMap:i(v),columnsStyles:Rt,expandColumnKey:ue,expandedRowKeys:i(p),estimatedRowHeight:ae,hasFixedColumns:i(g),rowProps:Ve,rowClass:fe,rowKey:we,rowEventHandlers:me,onRowHovered:F,onRowExpanded:D,onRowHeightChange:L},Me={cellProps:te,expandColumnKey:ue,indentSize:xe,iconSize:he,rowKey:we,expandedRowKeys:i(p),ns:a,t:l},be={ns:a,headerClass:X,headerProps:Z,columnsStyles:Rt},We={ns:a,t:l,sortBy:U,sortState:J,headerCellProps:re,onColumnSorted:V},de={row:tt=>G(Gie,vt(tt,tn),{row:t.row,cell:ot=>{let pt;return t.cell?G(k2,vt(ot,Me,{style:Rt[ot.column.key]}),uu(pt=t.cell(ot))?pt:{default:()=>[pt]}):G(k2,vt(ot,Me,{style:Rt[ot.column.key]}),null)}}),header:tt=>G(Qie,vt(tt,be),{header:t.header,cell:ot=>{let pt;return t["header-cell"]?G(f6,vt(ot,We,{style:Rt[ot.column.key]}),uu(pt=t["header-cell"](ot))?pt:{default:()=>[pt]}):G(f6,vt(ot,We,{style:Rt[ot.column.key]}),null)}})},je=[e.class,a.b(),a.e("root"),a.is("dynamic",i(w))],Ie={class:a.e("footer"),style:i(O)};return G("div",{class:je,style:i(T)},[G(Hie,Ze,uu(de)?de:{default:()=>[de]}),G(Kie,Tt,uu(de)?de:{default:()=>[de]}),G(jie,$t,uu(de)?de:{default:()=>[de]}),t.footer&&G(B_,Ie,{default:t.footer}),i(I)&&G(z_,{class:a.e("empty"),style:i(E)},{default:t.empty}),t.overlay&&G(D_,{class:a.e("overlay")},{default:t.overlay})])}}}),nue=ke({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:Y(Function)}}),aue=e=>{const t=B(),n=B(0),a=B(0);let l;return mt(()=>{l=rn(t,([o])=>{const{width:s,height:r}=o.contentRect,{paddingLeft:u,paddingRight:c,paddingTop:d,paddingBottom:f}=getComputedStyle(o.target),h=Number.parseInt(u)||0,m=Number.parseInt(c)||0,v=Number.parseInt(d)||0,p=Number.parseInt(f)||0;n.value=s-h-m,a.value=r-v-p}).stop}),Ht(()=>{l==null||l()}),ce([n,a],([o,s])=>{var r;(r=e.onResize)==null||r.call(e,{width:o,height:s})}),{sizer:t,width:n,height:a}},lue=W({name:"ElAutoResizer",props:nue,setup(e,{slots:t}){const n=ye("auto-resizer"),{height:a,width:l,sizer:o}=aue(e),s={width:"100%",height:"100%"};return()=>{var r;return G("div",{ref:o,class:n.b(),style:s},[(r=t.default)==null?void 0:r.call(t,{height:a.value,width:l.value})])}}}),oue=ct(tue),sue=ct(lue),np=Symbol("tabsRootContextKey"),rue=ke({tabs:{type:Y(Array),default:()=>yn([])},tabRefs:{type:Y(Object),default:()=>yn({})}}),p6="ElTabBar";var iue=W({name:p6,__name:"tab-bar",props:rue,setup(e,{expose:t}){const n=e,a=De(np);a||vn(p6,"");const l=ye("tabs"),o=B(),s=B(),r=B(!1),u=x(()=>r.value?s.value:{...s.value,transition:"none"}),c=x(()=>{var p;return Mt(a.props.defaultValue)||!!((p=s.value)!=null&&p.transform)}),d=()=>{let p=0,g=0;const y=["top","bottom"].includes(a.props.tabPosition)?"width":"height",b=y==="width"?"x":"y",C=b==="x"?"left":"top";return n.tabs.every(w=>{if(Mt(w.paneName))return!1;const _=n.tabRefs[w.paneName];if(!_)return!1;if(!w.active)return!0;p=_[`offset${kp(C)}`],g=_[`client${kp(y)}`];const k=window.getComputedStyle(_);return y==="width"&&(g-=Number.parseFloat(k.paddingLeft)+Number.parseFloat(k.paddingRight),p+=Number.parseFloat(k.paddingLeft)),!1}),{[y]:`${g}px`,transform:`translate${kp(b)}(${p}px)`}},f=()=>{s.value=d(),r.value||Sa(()=>Sa(()=>{r.value=!0}))},h=[],m=()=>{h.forEach(p=>p.stop()),h.length=0,Object.values(n.tabRefs).forEach(p=>{h.push(rn(p,f))})};ce(()=>n.tabs,async()=>{await Pe(),f(),m()},{immediate:!0});const v=rn(o,()=>f());return Ht(()=>{h.forEach(p=>p.stop()),h.length=0,v.stop()}),t({ref:o,update:f}),(p,g)=>(S(),A("div",{ref_key:"barRef",ref:o,class:P([i(l).e("active-bar"),i(l).is(i(a).props.tabPosition),i(l).is("hidden",!c.value)]),style:Ye(u.value)},null,6))}}),uue=iue;const cue=5,due=({scrollable:e,navOffset:t,navSize:n,navContainerSize:a,isHorizontal:l})=>{const o=B(!1),s=x(()=>Math.max(n.value-a.value,0));let r,u;const c=h=>{if(!e.value||h.touches.length!==1)return;const{clientX:m,clientY:v}=Hf(h);r={startX:m,startY:v,startOffset:t.value},u=void 0},d=h=>{if(!r||!e.value)return;if(h.touches.length!==1){f();return}const{clientX:m,clientY:v}=Hf(h),p=r.startX-m,g=r.startY-v,y=l.value?p:g,b=l.value?g:p,C=Math.abs(y),w=Math.abs(b);if(Ew(u)){if(Math.max(C,w)<=cue)return;u=C>w}if(!u)return;const _=za(r.startOffset+y,0,s.value);s.value<=0||_===t.value||!h.cancelable||(h.preventDefault(),o.value=!0,t.value=_)},f=()=>{r=void 0,u=void 0,o.value=!1};return{isTouchScrolling:o,handleTouchStart:c,handleTouchMove:d,handleTouchEnd:f}},fue=ke({panes:{type:Y(Array),default:()=>yn([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean,tabindex:{type:[String,Number],default:void 0}}),pue={tabClick:(e,t,n)=>n instanceof Event,tabRemove:(e,t)=>t instanceof Event},h6="ElTabNav",hue=W({name:h6,props:fue,emits:pue,setup(e,{expose:t,emit:n}){const a=De(np);a||vn(h6,"");const l=ye("tabs"),o=MT(),s=NT(),r=B(),u=B(),c=B(),d=B({}),f=B(),h=B(!1),m=B(0),v=B(!1),p=B(!0),g=B(!1),y=kt(),b=x(()=>["top","bottom"].includes(a.props.tabPosition)),C=x(()=>b.value?"width":"height"),w=x(()=>{const ae=C.value==="width"?"X":"Y";return{transition:g.value||R.value?"none":void 0,transform:`translate${ae}(-${m.value}px)`}}),{width:_,height:k}=Cf(r),{width:M,height:E}=Cf(u,{width:0,height:0},{box:"border-box"}),T=x(()=>b.value?_.value:k.value),O=x(()=>b.value?M.value:E.value),{onWheel:I}=X9({atStartEdge:x(()=>m.value<=0),atEndEdge:x(()=>O.value-m.value<=T.value),layout:x(()=>b.value?"horizontal":"vertical")},ae=>{m.value=za(m.value+ae,0,O.value-T.value)}),N=ae=>{g.value=!0,I(ae),Sa(()=>{g.value=!1})},{isTouchScrolling:R,handleTouchStart:K,handleTouchMove:H,handleTouchEnd:z}=due({scrollable:h,navOffset:m,navSize:O,navContainerSize:T,isHorizontal:b}),V=()=>{if(!r.value)return;const ae=r.value.getBoundingClientRect()[C.value],ue=m.value;ue&&(m.value=ue>ae?ue-ae:0)},L=()=>{if(!r.value||!u.value)return;const ae=u.value.getBoundingClientRect()[C.value],ue=r.value.getBoundingClientRect()[C.value],pe=m.value;so(ae-pe,ue)&&(m.value=ae-pe>ue*2?pe+ue:ae-ue)},F=async()=>{const ae=u.value;if(!h.value||!c.value||!r.value||!ae)return;await Pe();const ue=d.value[e.currentName];if(!ue)return;const pe=r.value,ge=ue.getBoundingClientRect(),X=pe.getBoundingClientRect(),Z=X.left+1,re=X.right-1,U=ae.getBoundingClientRect(),J=b.value?U.width-X.width:U.height-X.height,se=m.value;let fe=se;b.value?(ge.leftre&&(fe=se+ge.right-re)):(ge.topX.bottom&&(fe=se+(ge.bottom-X.bottom))),fe=Math.max(fe,0),m.value=Math.min(fe,J)},D=()=>{var ge;if(!u.value||!r.value)return;e.stretch&&((ge=f.value)==null||ge.update());const ae=u.value.getBoundingClientRect()[C.value],ue=r.value.getBoundingClientRect()[C.value],pe=m.value;ue0&&(m.value=0))},j=ae=>{const ue=Xt(ae);let pe=0;switch(ue){case Ce.left:case Ce.up:pe=-1;break;case Ce.right:case Ce.down:pe=1;break;default:return}const ge=Array.from(ae.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));let X=ge.indexOf(ae.target)+pe;X<0?X=ge.length-1:X>=ge.length&&(X=0),ge[X].focus({preventScroll:!0}),ge[X].click(),q()},q=()=>{p.value&&(v.value=!0)},Q=()=>v.value=!1,ee=(ae,ue)=>{d.value[ue]=ae},te=async()=>{var ae;await Pe(),(ae=d.value[e.currentName])==null||ae.focus({preventScroll:!0})};return ce(o,ae=>{ae==="hidden"?p.value=!1:ae==="visible"&&setTimeout(()=>p.value=!0,50)}),ce(s,ae=>{ae?setTimeout(()=>p.value=!0,50):p.value=!1}),rn(c,()=>{Sa(D)}),mt(()=>setTimeout(()=>F(),0)),qa(()=>D()),t({scrollToActiveTab:F,removeFocus:Q,focusActiveTab:te,tabListRef:u,tabBarRef:f,scheduleRender:()=>Qr(y)}),()=>{const ae=h.value?[G("span",{class:[l.e("nav-prev"),l.is("disabled",!h.value.prev)],onClick:V},[G(Be,null,{default:()=>[G(mo,null,null)]})]),G("span",{class:[l.e("nav-next"),l.is("disabled",!h.value.next)],onClick:L},[G(Be,null,{default:()=>[G(ua,null,null)]})])]:null,ue=e.panes.map((pe,ge)=>{var me,we;const X=pe.uid,Z=pe.props.disabled,re=pe.props.name??pe.index??`${ge}`,U=!Z&&(pe.isClosable||pe.props.closable!==!1&&e.editable);pe.index=`${ge}`;const J=U?G(Be,{class:"is-icon-close",onClick:Ve=>n("tabRemove",pe,Ve)},{default:()=>[G(ll,null,null)]}):null,se=((we=(me=pe.slots).label)==null?void 0:we.call(me))||pe.props.label,fe=!Z&&pe.active?e.tabindex??a.props.tabindex:-1;return G("div",{ref:Ve=>ee(Ve,re),class:[l.e("item"),l.is(a.props.tabPosition),l.is("active",pe.active),l.is("disabled",Z),l.is("closable",U),l.is("focus",v.value)],id:`tab-${re}`,key:`tab-${X}`,"aria-controls":`pane-${re}`,role:"tab","aria-selected":pe.active,tabindex:fe,onFocus:()=>q(),onBlur:()=>Q(),onClick:Ve=>{Q(),n("tabClick",pe,re,Ve)},onKeydown:Ve=>{const Ae=Xt(Ve);U&&(Ae===Ce.delete||Ae===Ce.backspace)&&n("tabRemove",pe,Ve)}},[se,J])});return y.value,G("div",{ref:c,class:[l.e("nav-wrap"),l.is("scrollable",!!h.value),l.is(a.props.tabPosition)]},[ae,G("div",{class:l.e("nav-scroll"),ref:r},[e.panes.length>0?G("div",{class:[l.e("nav"),l.is(a.props.tabPosition),l.is("stretch",e.stretch&&["top","bottom"].includes(a.props.tabPosition))],ref:u,style:w.value,role:"tablist",onKeydown:j,onWheel:N,onTouchstart:K,onTouchmove:H,onTouchend:z,onTouchcancel:z},[e.type?null:G(uue,{ref:f,tabs:[...e.panes],tabRefs:d.value},null),ue]):null])])}}}),vue=ke({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},defaultValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:Y(Function),default:()=>!0},stretch:Boolean,tabindex:{type:[String,Number],default:0}}),Gp=e=>Ne(e)||qe(e),mue={[it]:e=>Gp(e),tabClick:(e,t)=>t instanceof Event,tabChange:e=>Gp(e),edit:(e,t)=>["remove","add"].includes(t),tabRemove:e=>Gp(e),tabAdd:()=>!0},gue=W({name:"ElTabs",props:vue,emits:mue,setup(e,{emit:t,slots:n,expose:a}){const l=ye("tabs"),o=x(()=>["left","right"].includes(e.tabPosition)),{children:s,addChild:r,removeChild:u,ChildrenSorter:c}=F0(st(),"ElTabPane"),d=B(),f=B((Mt(e.modelValue)?e.defaultValue:e.modelValue)??"0"),h=async(b,C=!1)=>{var w,_,k,M;if(!(f.value===b||Mt(b)))try{let E;if(e.beforeLeave){const T=e.beforeLeave(b,f.value);E=T instanceof Promise?await T:T}else E=!0;if(E!==!1){const T=(w=s.value.find(O=>O.paneName===f.value))==null?void 0:w.isFocusInsidePane();f.value=b,C&&(t(it,b),t("tabChange",b)),(k=(_=d.value)==null?void 0:_.removeFocus)==null||k.call(_),T&&((M=d.value)==null||M.focusActiveTab())}}catch{}},m=(b,C,w)=>{b.props.disabled||(t("tabClick",b,w),h(C,!0))},v=(b,C)=>{b.props.disabled||Mt(b.props.name)||(C.stopPropagation(),t("edit",b.props.name,"remove"),t("tabRemove",b.props.name))},p=()=>{t("edit",void 0,"add"),t("tabAdd")},g=b=>{const C=Xt(b);[Ce.enter,Ce.numpadEnter].includes(C)&&p()},y=b=>{const C=b.el.firstChild,w=["bottom","right"].includes(e.tabPosition)?b.children[0].el:b.children[1].el;C!==w&&C.before(w)};return ce(()=>e.modelValue,b=>h(b)),ce(f,async()=>{var b;await Pe(),(b=d.value)==null||b.scrollToActiveTab()}),Et(np,{props:e,currentName:f,registerPane:r,unregisterPane:u,nav$:d}),a({currentName:f,get tabNavRef(){return Or(d.value,["scheduleRender"])}}),()=>{const b=n["add-icon"],C=e.editable||e.addable?G("div",{class:[l.e("new-tab"),o.value&&l.e("new-tab-vertical")],tabindex:e.tabindex,onClick:p,onKeydown:g},[b?le(n,"add-icon"):G(Be,{class:l.is("icon-plus")},{default:()=>[G(M1,null,null)]})]):null,w=()=>G(hue,{ref:d,currentName:f.value,editable:e.editable,type:e.type,panes:s.value,stretch:e.stretch,onTabClick:m,onTabRemove:v},null),_=G("div",{class:[l.e("header"),o.value&&l.e("header-vertical"),l.is(e.tabPosition)]},[G(c,null,{default:w,$stable:!0}),C]),k=G("div",{class:l.e("content")},[le(n,"default")]);return G("div",{class:[l.b(),l.m(e.tabPosition),{[l.m("card")]:e.type==="card",[l.m("border-card")]:e.type==="border-card"}],onVnodeMounted:y,onVnodeUpdated:y},[k,_])}}}),yue=ke({label:{type:String,default:""},name:{type:[String,Number]},closable:{type:Boolean,default:void 0},disabled:Boolean,lazy:Boolean}),bue=["id","aria-hidden","aria-labelledby"],v6="ElTabPane";var wue=W({name:v6,__name:"tab-pane",props:yue,setup(e){const t=e,n=st(),a=wn(),l=De(np);l||vn(v6,"usage: ");const o=ye("tab-pane"),s=B(),r=B(),u=x(()=>t.closable??l.props.closable),c=x(()=>l.currentName.value===(t.name??r.value)),d=B(c.value),f=x(()=>t.name??r.value),h=x(()=>!t.lazy||d.value||c.value),m=()=>{var p;return(p=s.value)==null?void 0:p.contains(document.activeElement)};ce(c,p=>{p&&(d.value=!0)});const v=Dt({uid:n.uid,getVnode:()=>n.vnode,slots:a,props:t,paneName:f,active:c,index:r,isClosable:u,isFocusInsidePane:m});return l.registerPane(v),Ht(()=>{l.unregisterPane(v)}),zi(()=>{var p;a.label&&((p=l.nav$.value)==null||p.scheduleRender())}),(p,g)=>h.value?ht((S(),A("div",{key:0,id:`pane-${f.value}`,ref_key:"paneRef",ref:s,class:P(i(o).b()),role:"tabpanel","aria-hidden":!c.value,"aria-labelledby":`tab-${f.value}`},[le(p.$slots,"default")],10,bue)),[[It,c.value]]):oe("v-if",!0)}}),H_=wue;const Cue=ct(gue,{TabPane:H_}),_ue=mn(H_),Sue=ke({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:Fl,default:""},truncated:Boolean,lineClamp:{type:[String,Number]},tag:{type:String,default:"span"}});var xue=W({name:"ElText",__name:"text",props:Sue,setup(e){const t=e,n=Hl(),a=B(),l=Pn(),o=ye("text"),s=x(()=>[o.b(),o.m(t.type),o.m(l.value),o.is("truncated",t.truncated),o.is("line-clamp",!Mt(t.lineClamp))]),r=async()=>{var d,f,h,m,v,p,g;if(await Pe(),n.title)return;let u=!1;const c=((d=a.value)==null?void 0:d.textContent)||"";if(t.truncated){const y=(f=a.value)==null?void 0:f.offsetWidth,b=(h=a.value)==null?void 0:h.scrollWidth;y&&b&&b>y&&(u=!0)}else if(!Mt(t.lineClamp)){const y=(m=a.value)==null?void 0:m.offsetHeight,b=(v=a.value)==null?void 0:v.scrollHeight;y&&b&&b>y&&(u=!0)}u?(p=a.value)==null||p.setAttribute("title",c):(g=a.value)==null||g.removeAttribute("title")};return mt(r),qa(r),(u,c)=>(S(),ie(ft(e.tag),{ref_key:"textRef",ref:a,class:P(s.value),style:Ye({"-webkit-line-clamp":e.lineClamp})},{default:ne(()=>[le(u.$slots,"default")]),_:3},8,["class","style"]))}}),kue=xue;const ym=ct(kue),F_="09:00",K_="18:00",W_="00:30",Eue=ke({format:{type:String,default:"HH:mm"},modelValue:{type:Y(String)},disabled:{type:Boolean,default:void 0},editable:{type:Boolean,default:!0},effect:{type:Y(String),default:"light"},clearable:{type:Boolean,default:!0},size:zn,placeholder:String,start:{type:String,default:F_},end:{type:String,default:K_},step:{type:String,default:W_},minTime:{type:Y(String)},maxTime:{type:Y(String)},includeEndTime:Boolean,name:String,prefixIcon:{type:Y([String,Object]),default:()=>T1},clearIcon:{type:Y([String,Object]),default:()=>ql},popperClass:{type:Y([String,Array,Object,Boolean]),default:""},popperStyle:{type:Y([String,Array,Object,Boolean]),default:void 0},...$r}),lr=e=>{const t=(e||"").split(":");if(t.length>=2){let n=Number.parseInt(t[0],10);const a=Number.parseInt(t[1],10);if(Number.isNaN(n)||Number.isNaN(a))return null;const l=e.toUpperCase();return l.includes("AM")&&n===12?n=0:l.includes("PM")&&n!==12&&(n+=12),{hours:n,minutes:a}}return null},Tue=e=>!!e&&e.hours>=0&&e.minutes>=0&&!Number.isNaN(e.hours)&&!Number.isNaN(e.minutes),Xp=(e,t)=>{const n=lr(e);if(!n)return-1;const a=lr(t);if(!a)return-1;const l=n.minutes+n.hours*60,o=a.minutes+a.hours*60;return l===o?0:l>o?1:-1},m6=e=>`${e}`.padStart(2,"0"),jd=e=>`${m6(e.hours)}:${m6(e.minutes)}`,Mue=(e,t)=>{const n=lr(e);if(!n)return"";const a=lr(t);if(!a)return"";const l={hours:n.hours,minutes:n.minutes};return l.minutes+=a.minutes,l.hours+=a.hours,l.hours+=Math.floor(l.minutes/60),l.minutes=l.minutes%60,jd(l)};var Oue=W({name:"ElTimeSelect",__name:"time-select",props:Eue,emits:[Ct,"blur","focus","clear",it],setup(e,{expose:t}){et.extend(F1);const{Option:n}=Os,a=e,l=ye("input"),o=B(),s=hn(),{lang:r}=St(),u=(b,C,w,_=!0)=>{const k=lr(b);return!Tue(k)||!_&&k.hours===0&&k.minutes===0?(jt("ElTimeSelect",`invalid ${C}, fallback to default ${C} (${w}).`),w):jd(k)},c=x(()=>a.modelValue),d=x(()=>u(a.start,"start",F_)),f=x(()=>u(a.end,"end",K_)),h=x(()=>{const b=lr(a.minTime||"");return b?jd(b):null}),m=x(()=>{const b=lr(a.maxTime||"");return b?jd(b):null}),v=x(()=>u(a.step,"step",W_,!1)),p=x(()=>{var _;const b=[],C=(k,M)=>{b.push({value:k,rawValue:M,disabled:Xp(M,h.value||"-1:-1")<=0||Xp(M,m.value||"100:100")>=0})};let w=d.value;for(;Xp(w,f.value)<=0;)C(et(w,"HH:mm").locale(r.value).format(a.format),w),w=Mue(w,v.value);return a.includeEndTime&&((_=b[b.length-1])==null?void 0:_.rawValue)!==f.value&&C(et(f.value,"HH:mm").locale(r.value).format(a.format),f.value),b});return t({blur:()=>{var b,C;(C=(b=o.value)==null?void 0:b.blur)==null||C.call(b)},focus:()=>{var b,C;(C=(b=o.value)==null?void 0:b.focus)==null||C.call(b)}}),(b,C)=>(S(),ie(i(Os),{ref_key:"select",ref:o,name:e.name,"model-value":c.value,disabled:i(s),clearable:e.clearable,"clear-icon":e.clearIcon,size:e.size,effect:e.effect,placeholder:e.placeholder,"default-first-option":"",filterable:e.editable,"empty-values":e.emptyValues,"value-on-clear":e.valueOnClear,"popper-class":e.popperClass,"popper-style":e.popperStyle,"onUpdate:modelValue":C[0]||(C[0]=w=>b.$emit(i("update:modelValue"),w)),onChange:C[1]||(C[1]=w=>b.$emit(i("change"),w)),onBlur:C[2]||(C[2]=w=>b.$emit("blur",w)),onFocus:C[3]||(C[3]=w=>b.$emit("focus",w)),onClear:C[4]||(C[4]=()=>b.$emit("clear"))},{prefix:ne(()=>[e.prefixIcon?(S(),ie(i(Be),{key:0,class:P(i(l).e("prefix-icon"))},{default:ne(()=>[(S(),ie(ft(e.prefixIcon)))]),_:1},8,["class"])):oe("v-if",!0)]),default:ne(()=>[(S(!0),A(He,null,wt(p.value,w=>(S(),ie(i(n),{key:w.value,label:w.value,value:w.value,disabled:w.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["name","model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable","empty-values","value-on-clear","popper-class","popper-style"]))}}),$ue=Oue;const Nue=ct($ue),j_="timeline",Aue=ke({mode:{type:String,values:["start","alternate","alternate-reverse","end"],default:"start"},reverse:Boolean}),Iue=W({name:"ElTimeline",props:Aue,setup(e,{slots:t}){const n=ye("timeline");Et(j_,{props:e,slots:t});const a=x(()=>[n.b(),n.is(e.mode)]);return()=>{var o;const l=tl(((o=t.default)==null?void 0:o.call(t))??[]);return Je("ul",{class:a.value},e.reverse?l.reverse():l)}}}),Pue=ke({timestamp:{type:String,default:""},hideTimestamp:Boolean,center:Boolean,placement:{type:String,values:["top","bottom"],default:"bottom"},type:{type:String,values:["primary","success","warning","danger","info"],default:""},color:{type:String,default:""},size:{type:String,values:["normal","large"],default:"normal"},icon:{type:Ut},hollow:Boolean});var Rue=W({name:"ElTimelineItem",__name:"timeline-item",props:Pue,setup(e){const t=e,{props:n}=De(j_),a=ye("timeline-item"),l=x(()=>[a.e("node"),a.em("node",t.size||""),a.em("node",t.type||""),a.is("hollow",t.hollow)]),o=x(()=>[a.b(),{[a.e("center")]:t.center},a.is(n.mode)]);return(s,r)=>(S(),A("li",{class:P(o.value)},[$("div",{class:P(i(a).e("tail"))},null,2),s.$slots.dot?oe("v-if",!0):(S(),A("div",{key:0,class:P(l.value),style:Ye({backgroundColor:e.color})},[e.icon?(S(),ie(i(Be),{key:0,class:P(i(a).e("icon"))},{default:ne(()=>[(S(),ie(ft(e.icon)))]),_:1},8,["class"])):oe("v-if",!0)],6)),s.$slots.dot?(S(),A("div",{key:1,class:P(i(a).e("dot"))},[le(s.$slots,"dot")],2)):oe("v-if",!0),$("div",{class:P(i(a).e("wrapper"))},[!e.hideTimestamp&&e.placement==="top"?(S(),A("div",{key:0,class:P([i(a).e("timestamp"),i(a).is("top")])},Se(e.timestamp),3)):oe("v-if",!0),$("div",{class:P(i(a).e("content"))},[le(s.$slots,"default")],2),!e.hideTimestamp&&e.placement==="bottom"?(S(),A("div",{key:1,class:P([i(a).e("timestamp"),i(a).is("bottom")])},Se(e.timestamp),3)):oe("v-if",!0)],2)],2))}}),q_=Rue;const Vue=ct(Iue,{TimelineItem:q_}),Lue=mn(q_),U_="left-check-change",Y_="right-check-change",us=ke({data:{type:Y(Array),default:()=>[]},titles:{type:Y(Array),default:()=>[]},buttonTexts:{type:Y(Array),default:()=>[]},filterPlaceholder:String,filterMethod:{type:Y(Function)},leftDefaultChecked:{type:Y(Array),default:()=>[]},rightDefaultChecked:{type:Y(Array),default:()=>[]},renderContent:{type:Y(Function)},modelValue:{type:Y(Array),default:()=>[]},format:{type:Y(Object),default:()=>({})},filterable:Boolean,props:{type:Y(Object),default:()=>yn({label:"label",key:"key",disabled:"disabled"})},targetOrder:{type:String,values:["original","push","unshift"],default:"original"},validateEvent:{type:Boolean,default:!0},virtualScroll:Boolean,itemSize:{type:Number,default:30}}),E2=(e,t)=>[e,t].every(ve)||ve(e)&&_n(t),Bue={[Ct]:(e,t,n)=>[e,n].every(ve)&&["left","right"].includes(t),[it]:e=>ve(e),[U_]:E2,[Y_]:E2},Uc=e=>{const t={label:"label",key:"key",disabled:"disabled"};return x(()=>({...t,...e.props}))},zue=(e,t)=>({onSourceCheckedChange:(l,o)=>{e.leftChecked=l,o&&t(U_,l,o)},onTargetCheckedChange:(l,o)=>{e.rightChecked=l,o&&t(Y_,l,o)}}),Due=e=>{const t=Uc(e),n=x(()=>e.data.reduce((a,l)=>(a[l[t.value.key]]=l,a),{}));return{sourceData:x(()=>e.data.filter(a=>!e.modelValue.includes(a[t.value.key]))),targetData:x(()=>e.targetOrder==="original"?e.data.filter(a=>e.modelValue.includes(a[t.value.key])):e.modelValue.reduce((a,l)=>{const o=n.value[l];return o&&a.push(o),a},[]))}},Hue=(e,t,n)=>{const a=Uc(e),l=(r,u,c)=>{n(it,r),n(Ct,r,u,c)};return{addToLeft:()=>{const r=e.modelValue.slice();t.rightChecked.forEach(u=>{const c=r.indexOf(u);c>-1&&r.splice(c,1)}),l(r,"left",t.rightChecked)},addToRight:()=>{let r=e.modelValue.slice();const u=e.data.filter(c=>{const d=c[a.value.key];return t.leftChecked.includes(d)&&!e.modelValue.includes(d)}).map(c=>c[a.value.key]);r=e.targetOrder==="unshift"?u.concat(r):r.concat(u),e.targetOrder==="original"&&(r=e.data.filter(c=>r.includes(c[a.value.key])).map(c=>c[a.value.key])),l(r,"right",t.leftChecked)}}},T2="checked-change",Fue=ke({data:us.data,optionRender:{type:Y(Function)},placeholder:String,title:String,filterable:Boolean,format:us.format,filterMethod:us.filterMethod,defaultChecked:us.leftDefaultChecked,props:us.props,virtualScroll:us.virtualScroll,itemSize:us.itemSize}),Kue={[T2]:E2},Wue=(e,t,n)=>{const a=Uc(e),l=x(()=>e.data.filter(m=>Ke(e.filterMethod)?e.filterMethod(t.query,m):String(m[a.value.label]||m[a.value.key]).toLowerCase().includes(t.query.toLowerCase()))),o=x(()=>l.value.filter(m=>!m[a.value.disabled])),s=x(()=>{const m=t.checked.length,v=e.data.length,{noChecked:p,hasChecked:g}=e.format;return p&&g?m>0?g.replace(/\${checked}/g,m.toString()).replace(/\${total}/g,v.toString()):p.replace(/\${total}/g,v.toString()):`${m}/${v}`}),r=x(()=>{const m=t.checked.length;return m>0&&m{const m=o.value.map(v=>v[a.value.key]);t.allChecked=m.length>0&&m.every(v=>t.checked.includes(v))},c=m=>{t.checked=m?o.value.map(v=>v[a.value.key]):[]},d=B(),{height:f}=Cf(x(()=>{var m;return(m=d.value)==null?void 0:m.$el})),h=B();return ce(()=>t.checked,(m,v)=>{u(),t.checkChangeByUser?n(T2,m,m.concat(v).filter(p=>!m.includes(p)||!v.includes(p))):(n(T2,m),t.checkChangeByUser=!0)}),ce(o,()=>{u()}),ce(()=>e.data,()=>{const m=[],v=l.value.map(p=>p[a.value.key]);t.checked.forEach(p=>{v.includes(p)&&m.push(p)}),t.checkChangeByUser=!1,t.checked=m}),ce(()=>e.defaultChecked,(m,v)=>{if(v&&m.length===v.length&&m.every(y=>v.includes(y)))return;const p=[],g=o.value.map(y=>y[a.value.key]);m.forEach(y=>{g.includes(y)&&p.push(y)}),t.checkChangeByUser=!1,t.checked=p},{immediate:!0}),ce(()=>t.query,()=>{var m;e.virtualScroll&&((m=h.value)==null||m.scrollToItem(0))},{flush:"post"}),{filteredData:l,checkableData:o,checkedSummary:s,virtualListRef:h,isIndeterminate:r,checkboxGroupRef:d,virtualListHeight:f,updateAllChecked:u,handleAllCheckedChange:c}};var jue=W({name:"ElTransferPanel",__name:"transfer-panel",props:Fue,emits:Kue,setup(e,{expose:t,emit:n}){const a=e,l=n,o=wn(),s=({option:M})=>M,{t:r}=St(),u=ye("transfer"),c=Dt({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),d=Uc(a),{filteredData:f,checkedSummary:h,virtualListRef:m,isIndeterminate:v,checkboxGroupRef:p,virtualListHeight:g,handleAllCheckedChange:y}=Wue(a,c,l),b=x(()=>!$a(c.query)&&$a(f.value)),C=x(()=>!$a(o.default()[0].children)),{checked:w,allChecked:_,query:k}=Bn(c);return t({query:k}),(M,E)=>(S(),A("div",{class:P(i(u).b("panel"))},[$("p",{class:P(i(u).be("panel","header"))},[G(i(Al),{modelValue:i(_),"onUpdate:modelValue":E[0]||(E[0]=T=>en(_)?_.value=T:null),indeterminate:i(v),"validate-event":!1,onChange:i(y)},{default:ne(()=>[$("span",{class:P(i(u).be("panel","header-title"))},Se(e.title),3),$("span",{class:P(i(u).be("panel","header-count"))},Se(i(h)),3)]),_:1},8,["modelValue","indeterminate","onChange"])],2),$("div",{class:P([i(u).be("panel","body"),i(u).is("with-footer",C.value)])},[e.filterable?(S(),ie(i(aa),{key:0,modelValue:i(k),"onUpdate:modelValue":E[1]||(E[1]=T=>en(k)?k.value=T:null),class:P(i(u).be("panel","filter")),size:"default",placeholder:e.placeholder,"prefix-icon":i(W5),clearable:"","validate-event":!1},null,8,["modelValue","class","placeholder","prefix-icon"])):oe("v-if",!0),ht(G(i(Y1),{ref_key:"checkboxGroupRef",ref:p,modelValue:i(w),"onUpdate:modelValue":E[2]||(E[2]=T=>en(w)?w.value=T:null),"validate-event":!1,class:P([i(u).is("filterable",e.filterable),i(u).be("panel","list")])},{default:ne(()=>[e.virtualScroll?(S(),ie(i(Wc),{key:1,ref_key:"virtualListRef",ref:m,data:i(f),total:i(f).length,"item-size":e.itemSize,height:i(g)},{default:ne(({data:T,index:O,style:I})=>[(S(),A("div",{key:T[O][i(d).key],style:Ye(I)},[G(i(Al),{class:P(i(u).be("panel","item")),value:T[O][i(d).key],disabled:T[O][i(d).disabled],"validate-event":!1},{default:ne(()=>{var N;return[G(s,{option:(N=e.optionRender)==null?void 0:N.call(e,T[O])},null,8,["option"])]}),_:2},1032,["class","value","disabled"])],4))]),_:1},8,["data","total","item-size","height"])):(S(!0),A(He,{key:0},wt(i(f),T=>(S(),ie(i(Al),{key:T[i(d).key],class:P(i(u).be("panel","item")),value:T[i(d).key],disabled:T[i(d).disabled],"validate-event":!1},{default:ne(()=>{var O;return[G(s,{option:(O=e.optionRender)==null?void 0:O.call(e,T)},null,8,["option"])]}),_:2},1032,["class","value","disabled"]))),128))]),_:1},8,["modelValue","class"]),[[It,!b.value&&!i($a)(e.data)]]),ht($("div",{class:P(i(u).be("panel","empty"))},[le(M.$slots,"empty",{},()=>[bt(Se(b.value?i(r)("el.transfer.noMatch"):i(r)("el.transfer.noData")),1)])],2),[[It,b.value||i($a)(e.data)]])],2),C.value?(S(),A("p",{key:0,class:P(i(u).be("panel","footer"))},[le(M.$slots,"default")],2)):oe("v-if",!0)],2))}}),g6=jue;const que={key:0},Uue={key:0};var Yue=W({name:"ElTransfer",__name:"transfer",props:us,emits:Bue,setup(e,{expose:t,emit:n}){const a=e,l=n,o=wn(),{t:s}=St(),r=ye("transfer"),{formItem:u}=Xn(),c=Dt({leftChecked:[],rightChecked:[]}),d=Uc(a),{sourceData:f,targetData:h}=Due(a),{onSourceCheckedChange:m,onTargetCheckedChange:v}=zue(c,l),{addToLeft:p,addToRight:g}=Hue(a,c,l),y=B(),b=B(),C=T=>{switch(T){case"left":y.value.query="";break;case"right":b.value.query="";break}},w=x(()=>a.buttonTexts.length===2),_=x(()=>a.titles[0]||s("el.transfer.titles.0")),k=x(()=>a.titles[1]||s("el.transfer.titles.1")),M=x(()=>a.filterPlaceholder||s("el.transfer.filterPlaceholder"));ce(()=>a.modelValue,()=>{var T;a.validateEvent&&((T=u==null?void 0:u.validate)==null||T.call(u,"change").catch(ut))});const E=x(()=>T=>{var I;if(a.renderContent)return a.renderContent(Je,T);const O=(((I=o.default)==null?void 0:I.call(o,{option:T}))||[]).filter(N=>N.type!==pn);return O.length?O:Je("span",T[d.value.label]||T[d.value.key])});return t({clearQuery:C,leftPanel:y,rightPanel:b}),(T,O)=>(S(),A("div",{class:P(i(r).b())},[G(g6,{ref_key:"leftPanel",ref:y,data:i(f),"option-render":E.value,placeholder:M.value,title:_.value,filterable:e.filterable,format:e.format,"filter-method":e.filterMethod,"default-checked":e.leftDefaultChecked,props:a.props,"virtual-scroll":e.virtualScroll,"item-size":e.itemSize,onCheckedChange:i(m)},{empty:ne(()=>[le(T.$slots,"left-empty")]),default:ne(()=>[le(T.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","virtual-scroll","item-size","onCheckedChange"]),$("div",{class:P(i(r).e("buttons"))},[G(i(Un),{type:"primary",class:P([i(r).e("button"),i(r).is("with-texts",w.value)]),disabled:i($a)(c.rightChecked),onClick:i(p)},{default:ne(()=>[G(i(Be),null,{default:ne(()=>[G(i(mo))]),_:1}),i(Mt)(e.buttonTexts[0])?oe("v-if",!0):(S(),A("span",que,Se(e.buttonTexts[0]),1))]),_:1},8,["class","disabled","onClick"]),G(i(Un),{type:"primary",class:P([i(r).e("button"),i(r).is("with-texts",w.value)]),disabled:i($a)(c.leftChecked),onClick:i(g)},{default:ne(()=>[i(Mt)(e.buttonTexts[1])?oe("v-if",!0):(S(),A("span",Uue,Se(e.buttonTexts[1]),1)),G(i(Be),null,{default:ne(()=>[G(i(ua))]),_:1})]),_:1},8,["class","disabled","onClick"])],2),G(g6,{ref_key:"rightPanel",ref:b,data:i(h),"option-render":E.value,placeholder:M.value,filterable:e.filterable,format:e.format,"filter-method":e.filterMethod,title:k.value,"default-checked":e.rightDefaultChecked,props:a.props,"virtual-scroll":e.virtualScroll,"item-size":e.itemSize,onCheckedChange:i(v)},{empty:ne(()=>[le(T.$slots,"right-empty")]),default:ne(()=>[le(T.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","virtual-scroll","item-size","onCheckedChange"])],2))}}),Gue=Yue;const Xue=ct(Gue),bm="RootTree",G_="NodeInstance",y6="TreeNodeMap",X_=ke({data:{type:Y(Array),default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkOnClickLeaf:{type:Boolean,default:!0},checkDescendants:Boolean,autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:{type:Array},defaultExpandedKeys:{type:Array},currentNodeKey:{type:[String,Number]},renderContent:{type:Y(Function)},showCheckbox:Boolean,draggable:Boolean,allowDrag:{type:Y(Function)},allowDrop:{type:Y(Function)},props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:Boolean,highlightCurrent:Boolean,load:{type:Function},filterNodeMethod:{type:Function},accordion:Boolean,indent:{type:Number,default:18},icon:{type:Ut}}),Jue={"check-change":(e,t,n)=>e&&qt(t)&&qt(n),"current-change":(e,t)=>!0,"node-click":(e,t,n,a)=>e&&t&&a instanceof Event,"node-contextmenu":(e,t,n,a)=>e instanceof Event&&t&&n,"node-collapse":(e,t,n)=>e&&t,"node-expand":(e,t,n)=>e&&t,check:(e,t)=>e&&t,"node-drag-start":(e,t)=>e&&t,"node-drag-end":(e,t,n,a)=>e&&a,"node-drop":(e,t,n,a)=>e&&t&&a,"node-drag-leave":(e,t,n)=>e&&t&&n,"node-drag-enter":(e,t,n)=>e&&t&&n,"node-drag-over":(e,t,n)=>e&&t&&n},J_="$treeNodeId",b6=function(e,t){!t||t.$treeNodeId||Object.defineProperty(t,J_,{value:e.id,enumerable:!1,configurable:!1,writable:!1})},wm=(e,t)=>t==null?void 0:t[e||"$treeNodeId"],M2=(e,t,n)=>{const a=e.value.currentNode;n();const l=e.value.currentNode;a!==l&&t("current-change",l?l.data:null,l)},Z_=e=>{let t=!0,n=!0,a=!0,l=!0;for(let o=0,s=e.length;o{n.canFocus=t,O2(n.childNodes,t)})};let Zue=0;var $2=class qd{constructor(t){this.isLeafByUser=void 0,this.isLeaf=void 0,this.isEffectivelyChecked=!1,this.id=Zue++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0,this.isCurrent=!1,this.canFocus=!1;for(const n in t)zt(t,n)&&(this[n]=t[n]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){var o;const t=this.store;if(!t)throw new Error("[Node]store is required!");t.registerNode(this);const n=t.props;if(n&&typeof n.isLeaf<"u"){const s=xd(this,"isLeaf");qt(s)&&(this.isLeafByUser=s)}if(t.lazy!==!0&&this.data?(this.setData(this.data),t.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&t.lazy&&t.defaultExpandAll&&!this.isLeafByUser&&this.expand(),ve(this.data)||b6(this,this.data),!this.data)return;const a=t.defaultExpandedKeys,l=t.key;l&&!_n(this.key)&&a&&a.includes(this.key)&&this.expand(null,t.autoExpandParent),l&&t.currentNodeKey!==void 0&&this.key===t.currentNodeKey&&(t.currentNode&&(t.currentNode.isCurrent=!1),t.currentNode=this,t.currentNode.isCurrent=!0),t.lazy&&t._initDefaultCheckedNode(this),this.updateLeafState(),(this.level===1||((o=this.parent)==null?void 0:o.expanded)===!0)&&(this.canFocus=!0)}setData(t){ve(t)||b6(this,t),this.data=t,this.childNodes=[];let n;this.level===0&&ve(this.data)?n=this.data:n=xd(this,"children")||[];for(let a=0,l=n.length;a-1)return t.childNodes[n+1]}return null}get previousSibling(){const t=this.parent;if(t){const n=t.childNodes.indexOf(this);if(n>-1)return n>0?t.childNodes[n-1]:null}return null}contains(t,n=!0){return(this.childNodes||[]).some(a=>a===t||n&&a.contains(t))}remove(){const t=this.parent;t&&t.removeChild(this)}insertChild(t,n,a){if(!t)throw new Error("InsertChild error: child is required.");if(!(t instanceof qd)){if(!a){const l=this.getChildren(!0);l!=null&&l.includes(t.data)||(Mt(n)||n<0?l==null||l.push(t.data):l==null||l.splice(n,0,t.data))}Object.assign(t,{parent:this,store:this.store}),t=Dt(new qd(t)),t instanceof qd&&t.initialize()}t.level=this.level+1,Mt(n)||n<0?this.childNodes.push(t):this.childNodes.splice(n,0,t),this.updateLeafState()}insertBefore(t,n){let a;n&&(a=this.childNodes.indexOf(n)),this.insertChild(t,a)}insertAfter(t,n){let a;n&&(a=this.childNodes.indexOf(n),a!==-1&&(a+=1)),this.insertChild(t,a)}removeChild(t){const n=this.getChildren()||[],a=n.indexOf(t.data);a>-1&&n.splice(a,1);const l=this.childNodes.indexOf(t);l>-1&&(this.store&&this.store.deregisterNode(t),t.parent=null,this.childNodes.splice(l,1)),this.updateLeafState()}removeChildByData(t){const n=this.childNodes.find(a=>a.data===t);n&&this.removeChild(n)}expand(t,n){const a=()=>{if(n){let l=this.parent;for(;l&&l.level>0;)l.expanded=!0,l=l.parent}this.expanded=!0,t&&t(),O2(this.childNodes,!0)};this.shouldLoadData()?this.loadData(l=>{ve(l)&&(this.store.checkStrictly||(this.checked?this.setChecked(!0,!0):yu(this)),a())}):a()}doCreateChildren(t,n={}){t.forEach(a=>{this.insertChild(Object.assign({data:a},n),void 0,!0)})}collapse(){this.expanded=!1,O2(this.childNodes,!1)}shouldLoadData(){return!!(this.store.lazy===!0&&this.store.load&&!this.loaded)}updateLeafState(){if(this.store.lazy===!0&&this.loaded!==!0&&typeof this.isLeafByUser<"u"){this.isLeaf=this.isLeafByUser,this.isEffectivelyChecked=this.isLeaf&&this.disabled;return}const t=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!t||t.length===0,this.isEffectivelyChecked=this.isLeaf&&this.disabled;return}this.isLeaf=!1}setChecked(t,n,a,l){if(this.indeterminate=t==="half",this.checked=t===!0,this.isEffectivelyChecked=!this.childNodes.length&&(this.disabled||this.checked),this.store.checkStrictly&&!n)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const s=()=>{if(n){const r=this.childNodes;for(let f=0,h=r.length;f{s(),yu(this)},{checked:t!==!1});return}else s()}const o=this.parent;!o||o.level===0||!a&&!this.store.checkStrictly&&yu(o)}getChildren(t=!1){if(this.level===0)return this.data;const n=this.data;if(!n)return null;const a=this.store.props;let l="children";return a&&(l=a.children||"children"),Mt(n[l])&&(n[l]=null),t&&!n[l]&&(n[l]=[]),n[l]}updateChildren(){const t=this.getChildren()||[],n=this.childNodes.map(o=>o.data),a={},l=[];t.forEach((o,s)=>{const r=o[J_];r&&n.some(u=>(u==null?void 0:u.$treeNodeId)===r)?a[r]={index:s,data:o}:l.push({index:s,data:o})}),this.store.lazy||n.forEach(o=>{a[o==null?void 0:o.$treeNodeId]||this.removeChildByData(o)}),l.forEach(({index:o,data:s})=>{this.insertChild({data:s},o)}),this.updateLeafState()}loadData(t,n={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(n).length)){this.loading=!0;const a=o=>{this.childNodes=[],this.doCreateChildren(o,n),this.loaded=!0,this.loading=!1,this.updateLeafState(),t&&t.call(this,o)},l=()=>{this.loading=!1};this.store.load(this,a,l)}else t&&t.call(this)}eachNode(t){const n=[this];for(;n.length;){const a=n.shift();n.unshift(...a.childNodes),t(a)}}reInitChecked(){this.store.checkStrictly||yu(this)}},Que=class{constructor(e){this.lazy=!1,this.checkStrictly=!1,this.autoExpandParent=!1,this.defaultExpandAll=!1,this.checkDescendants=!1,this.currentNode=null,this.currentNodeKey=null;for(const t in e)zt(e,t)&&(this[t]=e[t]);this.nodesMap={}}initialize(){if(this.root=new $2({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const e=this.load;e(this.root,t=>{this.root.doCreateChildren(t),this._initDefaultCheckedNodes()},ut)}else this._initDefaultCheckedNodes()}filter(e){const t=this.filterNodeMethod,n=this.lazy,a=async function(l){const o=l.root?l.root.childNodes:l.childNodes;for(const[s,r]of o.entries())r.visible=!!(t!=null&&t.call(r,e,r.data,r)),s%80===0&&s>0&&await Pe(),await a(r);if(!l.visible&&o.length){let s=!0;s=!o.some(r=>r.visible),l.root?l.root.visible=s===!1:l.visible=s===!1}e&&l.visible&&!l.isLeaf&&(!n||l.loaded)&&l.expand()};a(this)}setData(e){e!==this.root.data?(this.nodesMap={},this.root.setData(e),this._initDefaultCheckedNodes(),this.setCurrentNodeKey(this.currentNodeKey)):this.root.updateChildren()}getNode(e){if(e instanceof $2)return e;const t=rt(e)?wm(this.key,e):e;return this.nodesMap[t]||null}insertBefore(e,t){var a;const n=this.getNode(t);(a=n.parent)==null||a.insertBefore({data:e},n)}insertAfter(e,t){var a;const n=this.getNode(t);(a=n.parent)==null||a.insertAfter({data:e},n)}remove(e){const t=this.getNode(e);t&&t.parent&&(t===this.currentNode&&(this.currentNode=null),t.parent.removeChild(t))}append(e,t){const n=el(t)?this.root:this.getNode(t);n&&n.insertChild({data:e})}_initDefaultCheckedNodes(){const e=this.defaultCheckedKeys||[],t=this.nodesMap;e.forEach(n=>{const a=t[n];a&&a.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(e){const t=this.defaultCheckedKeys||[];!_n(e.key)&&t.includes(e.key)&&e.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(e){e!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=e,this._initDefaultCheckedNodes())}registerNode(e){const t=this.key;if(!(!e||!e.data))if(!t)this.nodesMap[e.id]=e;else{const n=e.key;_n(n)||(this.nodesMap[n]=e)}}deregisterNode(e){!this.key||!e||!e.data||(e.childNodes.forEach(t=>{this.deregisterNode(t)}),delete this.nodesMap[e.key])}getCheckedNodes(e=!1,t=!1){const n=[],a=function(l){(l.root?l.root.childNodes:l.childNodes).forEach(o=>{(o.checked||t&&o.indeterminate)&&(!e||e&&o.isLeaf)&&n.push(o.data),a(o)})};return a(this),n}getCheckedKeys(e=!1){return this.getCheckedNodes(e).map(t=>(t||{})[this.key])}getHalfCheckedNodes(){const e=[],t=function(n){(n.root?n.root.childNodes:n.childNodes).forEach(a=>{a.indeterminate&&e.push(a.data),t(a)})};return t(this),e}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(e=>(e||{})[this.key])}_getAllNodes(){const e=[],t=this.nodesMap;for(const n in t)zt(t,n)&&e.push(t[n]);return e}updateChildren(e,t){const n=this.nodesMap[e];if(!n)return;const a=n.childNodes;for(let l=a.length-1;l>=0;l--){const o=a[l];this.remove(o.data)}for(let l=0,o=t.length;lr.level-u.level),l=Object.create(null),o=Object.keys(n);a.forEach(r=>r.setChecked(!1,!1));const s=r=>{r.childNodes.forEach(u=>{var c;l[u.data[e]]=!0,(c=u.childNodes)!=null&&c.length&&s(u)})};for(let r=0,u=a.length;r{m.isLeaf||m.setChecked(!1,!1,!0),f(m)}),h.reInitChecked()};f(c)}}}setCheckedNodes(e,t=!1){const n=this.key,a={};e.forEach(l=>{a[(l||{})[n]]=!0}),this._setCheckedKeys(n,t,a)}setCheckedKeys(e,t=!1){this.defaultCheckedKeys=e;const n=this.key,a={};e.forEach(l=>{a[l]=!0}),this._setCheckedKeys(n,t,a)}setDefaultExpandedKeys(e){e=e||[],this.defaultExpandedKeys=e,e.forEach(t=>{const n=this.getNode(t);n&&n.expand(null,this.autoExpandParent)})}setChecked(e,t,n){const a=this.getNode(e);a&&a.setChecked(!!t,n)}getCurrentNode(){return this.currentNode}setCurrentNode(e){const t=this.currentNode;t&&(t.isCurrent=!1),this.currentNode=e,this.currentNode.isCurrent=!0}setUserCurrentNode(e,t=!0){var l;const n=e[this.key],a=this.nodesMap[n];this.setCurrentNode(a),t&&this.currentNode&&this.currentNode.level>1&&((l=this.currentNode.parent)==null||l.expand(null,!0))}setCurrentNodeKey(e,t=!0){var a;if(this.currentNodeKey=e,el(e)){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const n=this.getNode(e);n&&(this.setCurrentNode(n),t&&this.currentNode&&this.currentNode.level>1&&((a=this.currentNode.parent)==null||a.expand(null,!0)))}};function Q_(e){const t=De(y6,null);let n={treeNodeExpand:a=>{var l;e.node!==a&&((l=e.node)==null||l.collapse())},children:new Set};return t&&t.children.add(n),Ht(()=>{t&&t.children.delete(n),n=null}),Et(y6,n),{broadcastExpanded:a=>{if(e.accordion)for(const l of n.children)l.treeNodeExpand(a)}}}const eS=Symbol("dragEvents");function ece({props:e,ctx:t,el$:n,dropIndicator$:a,store:l}){const o=ye("tree"),s=B({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return Et(eS,{treeNodeDragStart:({event:d,treeNode:f})=>{if(d.dataTransfer){if(Ke(e.allowDrag)&&!e.allowDrag(f.node))return d.preventDefault(),!1;d.dataTransfer.effectAllowed="move";try{d.dataTransfer.setData("text/plain","")}catch{}s.value.draggingNode=f,t.emit("node-drag-start",f.node,d)}},treeNodeDragOver:({event:d,treeNode:f})=>{if(!d.dataTransfer)return;const h=f,m=s.value.dropNode;m&&m.node.id!==h.node.id&&Ca(m.$el,o.is("drop-inner"));const v=s.value.draggingNode;if(!v||!h)return;let p=!0,g=!0,y=!0,b=!0;Ke(e.allowDrop)&&(p=e.allowDrop(v.node,h.node,"prev"),b=g=e.allowDrop(v.node,h.node,"inner"),y=e.allowDrop(v.node,h.node,"next")),d.dataTransfer.dropEffect=g||p||y?"move":"none",(p||g||y)&&(m==null?void 0:m.node.id)!==h.node.id&&(m&&t.emit("node-drag-leave",v.node,m.node,d),t.emit("node-drag-enter",v.node,h.node,d)),p||g||y?s.value.dropNode=h:s.value.dropNode=null,h.node.nextSibling===v.node&&(y=!1),h.node.previousSibling===v.node&&(p=!1),h.node.contains(v.node,!1)&&(g=!1),(v.node===h.node||v.node.contains(h.node))&&(p=!1,g=!1,y=!1);const C=h.$el,w=C.querySelector(`.${o.be("node","content")}`).getBoundingClientRect(),_=n.value.getBoundingClientRect(),k=n.value.scrollTop;let M;const E=p?g?.25:y?.45:1:Number.NEGATIVE_INFINITY,T=y?g?.75:p?.55:0:Number.POSITIVE_INFINITY;let O=-9999;const I=d.clientY-w.top;Iw.height*T?M="after":g?M="inner":M="none";const N=C.querySelector(`.${o.be("node","expand-icon")}`).getBoundingClientRect(),R=a.value;M==="before"?O=N.top-_.top+k:M==="after"&&(O=N.bottom-_.top+k),R.style.top=`${O}px`,R.style.left=`${N.right-_.left}px`,M==="inner"?dl(C,o.is("drop-inner")):Ca(C,o.is("drop-inner")),s.value.showDropIndicator=M==="before"||M==="after",s.value.allowDrop=s.value.showDropIndicator||b,s.value.dropType=M,t.emit("node-drag-over",v.node,h.node,d)},treeNodeDragEnd:d=>{var v,p;const{draggingNode:f,dropType:h,dropNode:m}=s.value;if(d.preventDefault(),d.dataTransfer&&(d.dataTransfer.dropEffect="move"),f!=null&&f.node.data&&m){const g={data:f.node.data};h!=="none"&&f.node.remove(),h==="before"?(v=m.node.parent)==null||v.insertBefore(g,m.node):h==="after"?(p=m.node.parent)==null||p.insertAfter(g,m.node):h==="inner"&&m.node.insertChild(g),h!=="none"&&(l.value.registerNode(g),l.value.key&&f.node.eachNode(y=>{var b;(b=l.value.nodesMap[y.data[l.value.key]])==null||b.setChecked(y.checked,!l.value.checkStrictly)})),Ca(m.$el,o.is("drop-inner")),t.emit("node-drag-end",f.node,m.node,h,d),h!=="none"&&t.emit("node-drop",f.node,m.node,h,d)}f&&!m&&t.emit("node-drag-end",f.node,null,h,d),s.value.showDropIndicator=!1,s.value.draggingNode=null,s.value.dropNode=null,s.value.allowDrop=!0}}),{dragState:s}}var tce=W({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(e){const t=ye("tree"),n=De(G_),a=De(bm);return()=>{const l=e.node,{data:o,store:s}=l;return e.renderContent?e.renderContent(Je,{_self:n,node:l,data:o,store:s}):le(a.ctx.slots,"default",{node:l,data:o},()=>[Je(ym,{tag:"span",truncated:!0,class:t.be("node","label")},()=>[l.label])])}}}),nce=tce,ace=W({name:"ElTreeNode",components:{ElCollapseTransition:G0,ElCheckbox:Al,NodeContent:nce,ElIcon:Be,Loading:wl},props:{node:{type:$2,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:Boolean},emits:["node-expand"],setup(e,t){const n=ye("tree"),{broadcastExpanded:a}=Q_(e),l=De(bm),o=B(!1),s=B(!1),r=B(),u=B(),c=B(),d=De(eS),f=st();Et(G_,f),l||jt("Tree","Can not find node's tree."),e.node.expanded&&(o.value=!0,s.value=!0);const h=l.props.props.children||"children";ce(()=>{var O;const T=(O=e.node.data)==null?void 0:O[h];return T&&[...T]},()=>{e.node.updateChildren()}),ce(()=>e.node.indeterminate,T=>{p(e.node.checked,T)}),ce(()=>e.node.checked,T=>{p(T,e.node.indeterminate)}),ce(()=>e.node.childNodes.length,()=>e.node.reInitChecked()),ce(()=>e.node.expanded,T=>{Pe(()=>o.value=T),T&&(s.value=!0)});const m=T=>l.props.nodeKey?wm(l.props.nodeKey,T.data):T.id,v=T=>{const O=e.props.class;if(!O)return{};let I;if(Ke(O)){const{data:N}=T;I=O(N,T)}else I=O;return Ne(I)?{[I]:!0}:I},p=(T,O)=>{(r.value!==T||u.value!==O)&&l.ctx.emit("check-change",e.node.data,T,O),r.value=T,u.value=O},g=T=>{M2(l.store,l.ctx.emit,()=>{var O;if((O=l==null?void 0:l.props)!=null&&O.nodeKey){const I=m(e.node);l.store.value.setCurrentNodeKey(I)}else l.store.value.setCurrentNode(e.node)}),l.currentNode.value=e.node,l.props.expandOnClickNode&&b(),(l.props.checkOnClickNode||e.node.isLeaf&&l.props.checkOnClickLeaf&&e.showCheckbox)&&!e.node.disabled&&C(!e.node.checked),l.ctx.emit("node-click",e.node.data,e.node,f,T)},y=T=>{var O;(O=l.instance.vnode.props)!=null&&O.onNodeContextmenu&&(T.stopPropagation(),T.preventDefault()),l.ctx.emit("node-contextmenu",T,e.node.data,e.node,f)},b=()=>{e.node.isLeaf||(o.value?(l.ctx.emit("node-collapse",e.node.data,e.node,f),e.node.collapse()):e.node.expand(()=>{t.emit("node-expand",e.node.data,e.node,f)}))},C=T=>{const O=l==null?void 0:l.props.checkStrictly,I=e.node.childNodes;!O&&I.length&&(T=I.some(N=>!N.isEffectivelyChecked)),e.node.setChecked(T,!O),Pe(()=>{const N=l.store.value;l.ctx.emit("check",e.node.data,{checkedNodes:N.getCheckedNodes(),checkedKeys:N.getCheckedKeys(),halfCheckedNodes:N.getHalfCheckedNodes(),halfCheckedKeys:N.getHalfCheckedKeys()})})};return{ns:n,node$:c,tree:l,expanded:o,childNodeRendered:s,oldChecked:r,oldIndeterminate:u,getNodeKey:m,getNodeClass:v,handleSelectChange:p,handleClick:g,handleContextMenu:y,handleExpandIconClick:b,handleCheckChange:C,handleChildNodeExpand:(T,O,I)=>{a(O),l.ctx.emit("node-expand",T,O,I)},handleDragStart:T=>{l.props.draggable&&d.treeNodeDragStart({event:T,treeNode:e})},handleDragOver:T=>{T.preventDefault(),l.props.draggable&&d.treeNodeDragOver({event:T,treeNode:{$el:c.value,node:e.node}})},handleDrop:T=>{T.preventDefault()},handleDragEnd:T=>{l.props.draggable&&d.treeNodeDragEnd(T)},CaretRight:E1}}});const lce=["aria-expanded","aria-disabled","aria-checked","draggable","data-key"],oce=["aria-expanded"];function sce(e,t,n,a,l,o){const s=Kt("el-icon"),r=Kt("el-checkbox"),u=Kt("loading"),c=Kt("node-content"),d=Kt("el-tree-node"),f=Kt("el-collapse-transition");return ht((S(),A("div",{ref:"node$",class:P([e.ns.b("node"),e.ns.is("expanded",e.expanded),e.ns.is("current",e.node.isCurrent),e.ns.is("hidden",!e.node.visible),e.ns.is("focusable",!e.node.disabled),e.ns.is("checked",!e.node.disabled&&e.node.checked),e.getNodeClass(e.node)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.node.disabled,"aria-checked":e.node.checked,draggable:e.tree.props.draggable,"data-key":e.getNodeKey(e.node),onClick:t[2]||(t[2]=Qe((...h)=>e.handleClick&&e.handleClick(...h),["stop"])),onContextmenu:t[3]||(t[3]=(...h)=>e.handleContextMenu&&e.handleContextMenu(...h)),onDragstart:t[4]||(t[4]=Qe((...h)=>e.handleDragStart&&e.handleDragStart(...h),["stop"])),onDragover:t[5]||(t[5]=Qe((...h)=>e.handleDragOver&&e.handleDragOver(...h),["stop"])),onDragend:t[6]||(t[6]=Qe((...h)=>e.handleDragEnd&&e.handleDragEnd(...h),["stop"])),onDrop:t[7]||(t[7]=Qe((...h)=>e.handleDrop&&e.handleDrop(...h),["stop"]))},[$("div",{class:P(e.ns.be("node","content")),style:Ye({paddingLeft:(e.node.level-1)*e.tree.props.indent+"px"})},[e.tree.props.icon||e.CaretRight?(S(),ie(s,{key:0,class:P([e.ns.be("node","expand-icon"),e.ns.is("leaf",e.node.isLeaf),{expanded:!e.node.isLeaf&&e.expanded}]),onClick:Qe(e.handleExpandIconClick,["stop"])},{default:ne(()=>[(S(),ie(ft(e.tree.props.icon||e.CaretRight)))]),_:1},8,["class","onClick"])):oe("v-if",!0),e.showCheckbox?(S(),ie(r,{key:1,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:!!e.node.disabled,onClick:t[0]||(t[0]=Qe(()=>{},["stop"])),onChange:e.handleCheckChange},null,8,["model-value","indeterminate","disabled","onChange"])):oe("v-if",!0),e.node.loading?(S(),ie(s,{key:2,class:P([e.ns.be("node","loading-icon"),e.ns.is("loading")])},{default:ne(()=>[G(u)]),_:1},8,["class"])):oe("v-if",!0),G(c,{node:e.node,"render-content":e.renderContent},null,8,["node","render-content"])],6),G(f,null,{default:ne(()=>[!e.renderAfterExpand||e.childNodeRendered?ht((S(),A("div",{key:0,class:P(e.ns.be("node","children")),role:"group","aria-expanded":e.expanded,onClick:t[1]||(t[1]=Qe(()=>{},["stop"]))},[(S(!0),A(He,null,wt(e.node.childNodes,h=>(S(),ie(d,{key:e.getNodeKey(h),"render-content":e.renderContent,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,node:h,accordion:e.accordion,props:e.props,onNodeExpand:e.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,oce)),[[It,e.expanded]]):oe("v-if",!0)]),_:1})],42,lce)),[[It,e.node.visible]])}var rce=Hn(ace,[["render",sce]]);function ice({el$:e},t){const n=ye("tree");mt(()=>{o()}),qa(()=>{var s;(s=e.value)==null||s.querySelectorAll("input[type=checkbox]").forEach(r=>{r.setAttribute("tabindex","-1")})});function a(s,r){var c,d;const u=t.value.getNode(s[r].dataset.key);return u.canFocus&&u.visible&&(((c=u.parent)==null?void 0:c.expanded)||((d=u.parent)==null?void 0:d.level)===0)}Wt(e,"keydown",s=>{const r=s.target;if(!r.className.includes(n.b("node")))return;const u=Xt(s),c=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`)),d=c.indexOf(r);let f;if([Ce.up,Ce.down].includes(u)){if(s.preventDefault(),u===Ce.up){f=d===-1?0:d!==0?d-1:c.length-1;const m=f;for(;!a(c,f);){if(f--,f===m){f=-1;break}f<0&&(f=c.length-1)}}else{f=d===-1?0:d=c.length&&(f=0)}}f!==-1&&c[f].focus()}[Ce.left,Ce.right].includes(u)&&(s.preventDefault(),r.click());const h=r.querySelector('[type="checkbox"]');[Ce.enter,Ce.numpadEnter,Ce.space].includes(u)&&h&&(s.preventDefault(),h.click())});const o=()=>{var u;if(!e.value)return;const s=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`));Array.from(e.value.querySelectorAll("input[type=checkbox]")).forEach(c=>{c.setAttribute("tabindex","-1")});const r=e.value.querySelectorAll(`.${n.is("checked")}[role=treeitem]`);if(r.length){r[0].setAttribute("tabindex","0");return}(u=s[0])==null||u.setAttribute("tabindex","0")}}var uce=W({name:"ElTree",components:{ElTreeNode:rce},props:X_,emits:Jue,setup(e,t){const{t:n}=St(),a=ye("tree"),l=B(new Que({key:e.nodeKey,data:e.data,lazy:e.lazy,props:e.props,load:e.load,currentNodeKey:e.currentNodeKey,checkStrictly:e.checkStrictly,checkDescendants:e.checkDescendants,defaultCheckedKeys:e.defaultCheckedKeys,defaultExpandedKeys:e.defaultExpandedKeys,autoExpandParent:e.autoExpandParent,defaultExpandAll:e.defaultExpandAll,filterNodeMethod:e.filterNodeMethod}));l.value.initialize();const o=B(l.value.root),s=B(null),r=B(null),u=B(null),{broadcastExpanded:c}=Q_(e),{dragState:d}=ece({props:e,ctx:t,el$:r,dropIndicator$:u,store:l});ice({el$:r},l);const f=st(),h=x(()=>{let D=f==null?void 0:f.parent;for(;D;){if(D.type.name==="ElTreeSelect")return!0;D=D.parent}return!1}),m=x(()=>{const{childNodes:D}=o.value;return(!D||D.length===0||D.every(({visible:j})=>!j))&&!h.value});ce(()=>e.currentNodeKey,D=>{l.value.setCurrentNodeKey(D??null)}),ce(()=>e.defaultCheckedKeys,(D,j)=>{gn(D,j)||l.value.setDefaultCheckedKey(D??[])}),ce(()=>e.defaultExpandedKeys,D=>{l.value.setDefaultExpandedKeys(D??[])}),ce(()=>e.data,D=>{l.value.setData(D)},{deep:!0}),ce(()=>e.checkStrictly,D=>{l.value.checkStrictly=D});const v=D=>{if(!e.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");l.value.filter(D)},p=D=>e.nodeKey?wm(e.nodeKey,D.data):D.id,g=D=>{if(!e.nodeKey)throw new Error(`[Tree] nodeKey is required in ${D}`)},y=D=>{g("getNodePath");const j=l.value.getNode(D);if(!j)return[];const q=[j.data];let Q=j.parent;for(;Q&&Q!==o.value;)q.push(Q.data),Q=Q.parent;return q.reverse()},b=(D,j)=>l.value.getCheckedNodes(D,j),C=D=>l.value.getCheckedKeys(D),w=()=>{const D=l.value.getCurrentNode();return D?D.data:null},_=()=>{g("getCurrentKey");const D=w();return D?D[e.nodeKey]:null},k=(D,j)=>{g("setCheckedNodes"),l.value.setCheckedNodes(D,j)},M=(D,j)=>{g("setCheckedKeys"),l.value.setCheckedKeys(D,j)},E=(D,j,q=!1)=>{l.value.setChecked(D,j,q)},T=()=>l.value.getHalfCheckedNodes(),O=()=>l.value.getHalfCheckedKeys(),I=(D,j=!0)=>{g("setCurrentNode"),M2(l,t.emit,()=>{c(D),l.value.setUserCurrentNode(D,j)})},N=(D=null,j=!0)=>{g("setCurrentKey"),M2(l,t.emit,()=>{c(),l.value.setCurrentNodeKey(D,j)})},R=D=>l.value.getNode(D),K=D=>{l.value.remove(D)},H=(D,j)=>{l.value.append(D,j)},z=(D,j)=>{l.value.insertBefore(D,j)},V=(D,j)=>{l.value.insertAfter(D,j)},L=(D,j,q)=>{c(j),t.emit("node-expand",D,j,q)},F=(D,j)=>{g("updateKeyChildren"),l.value.updateChildren(D,j)};return Et(bm,{ctx:t,props:e,store:l,root:o,currentNode:s,instance:f}),Et(go,void 0),{ns:a,store:l,root:o,currentNode:s,dragState:d,el$:r,dropIndicator$:u,isEmpty:m,filter:v,getNodeKey:p,getNodePath:y,getCheckedNodes:b,getCheckedKeys:C,getCurrentNode:w,getCurrentKey:_,setCheckedNodes:k,setCheckedKeys:M,setChecked:E,getHalfCheckedNodes:T,getHalfCheckedKeys:O,setCurrentNode:I,setCurrentKey:N,t:n,getNode:R,remove:K,append:H,insertBefore:z,insertAfter:V,handleNodeExpand:L,updateKeyChildren:F}}});function cce(e,t,n,a,l,o){const s=Kt("el-tree-node");return S(),A("div",{ref:"el$",class:P([e.ns.b(),e.ns.is("dragging",!!e.dragState.draggingNode),e.ns.is("drop-not-allow",!e.dragState.allowDrop),e.ns.is("drop-inner",e.dragState.dropType==="inner"),{[e.ns.m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[(S(!0),A(He,null,wt(e.root.childNodes,r=>(S(),ie(s,{key:e.getNodeKey(r),node:r,props:e.props,accordion:e.accordion,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,"render-content":e.renderContent,onNodeExpand:e.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),e.isEmpty?(S(),A("div",{key:0,class:P(e.ns.e("empty-block"))},[le(e.$slots,"empty",{},()=>[$("span",{class:P(e.ns.e("empty-text"))},Se(e.emptyText??e.t("el.tree.emptyText")),3)])],2)):oe("v-if",!0),ht($("div",{ref:"dropIndicator$",class:P(e.ns.e("drop-indicator"))},null,2),[[It,e.dragState.showDropIndicator]])],2)}var dce=Hn(uce,[["render",cce]]);const Cm=ct(dce),fce=(e,{attrs:t,emit:n},{select:a,tree:l,key:o})=>{const s=ye("tree-select");ce(()=>e.data,()=>{e.filterable&&Pe(()=>{var u,c;(c=l.value)==null||c.filter((u=a.value)==null?void 0:u.states.inputValue)})},{flush:"post"});const r=u=>{var d,f;const c=u.at(-1);if(c.expanded&&c.childNodes.at(-1))r([c.childNodes.at(-1)]);else{(f=(d=l.value.el$)==null?void 0:d.querySelector(`[data-key="${u.at(-1).key}"]`))==null||f.focus({preventScroll:!0});return}};return mt(()=>{Wt(()=>{var u;return(u=a.value)==null?void 0:u.$el},"keydown",async u=>{const c=Xt(u),{dropdownMenuVisible:d}=a.value;[Ce.down,Ce.up].includes(c)&&d&&(await Pe(),setTimeout(()=>{var f,h,m;if(Ce.up===c){const v=l.value.store.root.childNodes;r(v);return}(m=(h=(f=a.value.optionsArray[a.value.states.hoveringIndex].$el)==null?void 0:f.parentNode)==null?void 0:h.parentNode)==null||m.focus({preventScroll:!0})}))},{capture:!0})}),{...fo(Bn(e),Object.keys(Os.props)),...t,class:x(()=>t.class),style:x(()=>t.style),"onUpdate:modelValue":u=>n(it,u),valueKey:o,popperClass:x(()=>[s.e("popper"),e.popperClass]),filterMethod:(u="")=>{var c;e.filterMethod?e.filterMethod(u):e.remoteMethod?e.remoteMethod(u):(c=l.value)==null||c.filter(u)}}},pce=W({extends:If,setup(e,t){const n=If.setup(e,t);delete n.selectOptionClick;const a=st().proxy;return Pe(()=>{n.select.states.cachedOptions.get(a.value)||n.select.onOptionCreate(a)}),ce(()=>t.attrs.visible,l=>{Pe(()=>{n.states.visible=l})},{immediate:!0}),n},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function N2(e){return e||e===0}function _m(e){return ve(e)&&e.length}function Fr(e){return ve(e)?e:N2(e)?[e]:[]}function Ud(e,t,n,a,l){for(let o=0;o{ce([()=>e.modelValue,o],()=>{e.showCheckbox&&Pe(()=>{const v=o.value;v&&!gn(v.getCheckedKeys(),Fr(e.modelValue))&&v.setCheckedKeys(Fr(e.modelValue))})},{immediate:!0,deep:!0});const r=x(()=>({value:s.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf",...e.props})),u=(v,p)=>{var y;const g=r.value[v];return Ke(g)?g(p,(y=o.value)==null?void 0:y.getNode(u("value",p))):p[g]},c=Fr(e.modelValue).map(v=>Ud(e.data||[],p=>u("value",p)===v,p=>u("children",p),(p,g,y,b)=>b&&u("value",b))).filter(v=>N2(v)),d=x(()=>{if(!e.renderAfterExpand&&!e.lazy)return[];const v=[];return Yd(e.data.concat(e.cacheData),p=>{const g=u("value",p);v.push({value:g,currentLabel:u("label",p),isDisabled:u("disabled",p)})},p=>u("children",p)),v}),f=()=>{var v;return(v=o.value)==null?void 0:v.getCheckedKeys().filter(p=>{var y;const g=(y=o.value)==null?void 0:y.getNode(p);return!_n(g)&&$a(g.childNodes)})},h=v=>{gn(e.modelValue,v)||a(Ct,v)};function m(v){a(it,v),h(v)}return{...fo(Bn(e),Object.keys(Cm.props)),...t,nodeKey:s,expandOnClickNode:x(()=>!e.checkStrictly&&e.expandOnClickNode),defaultExpandedKeys:x(()=>e.defaultExpandedKeys?e.defaultExpandedKeys.concat(c):c),renderContent:(v,{node:p,data:g,store:y})=>v(pce,{value:u("value",g),label:u("label",g),disabled:u("disabled",g),visible:p.visible},e.renderContent?()=>e.renderContent(v,{node:p,data:g,store:y}):n.default?()=>n.default({node:p,data:g,store:y}):void 0),filterNodeMethod:(v,p,g)=>e.filterNodeMethod?e.filterNodeMethod(v,p,g):v?new RegExp(r1(v),"i").test(u("label",p)||""):!0,onNodeClick:(v,p,g)=>{var y,b,C;if((y=t.onNodeClick)==null||y.call(t,v,p,g),!(e.showCheckbox&&e.checkOnClickNode))if(!e.showCheckbox&&(e.checkStrictly||p.isLeaf)){if(!u("disabled",v)){const w=(b=l.value)==null?void 0:b.states.options.get(u("value",v));(C=l.value)==null||C.handleOptionSelect(w)}}else e.expandOnClickNode&&g.proxy.handleExpandIconClick()},onCheck:(v,p)=>{var _;if(!e.showCheckbox)return;const g=u("value",v),y={};Yd([o.value.store.root],k=>y[k.key]=k,k=>k.childNodes);const b=p.checkedKeys,C=e.multiple?Fr(e.modelValue).filter(k=>!(k in y)&&!b.includes(k)):[],w=C.concat(b);if(e.checkStrictly)m(e.multiple?w:w.includes(g)?g:void 0);else if(e.multiple){const k=f();m(C.concat(k))}else{const k=Ud([v],T=>!_m(u("children",T))&&!u("disabled",T),T=>u("children",T)),M=k?u("value",k):void 0,E=N2(e.modelValue)&&!!Ud([v],T=>u("value",T)===e.modelValue,T=>u("children",T));m(M===e.modelValue||E?void 0:M)}Pe(()=>{var M;const k=Fr(e.modelValue);o.value.setCheckedKeys(k),(M=t.onCheck)==null||M.call(t,v,{checkedKeys:o.value.getCheckedKeys(),checkedNodes:o.value.getCheckedNodes(),halfCheckedKeys:o.value.getHalfCheckedKeys(),halfCheckedNodes:o.value.getHalfCheckedNodes()})}),(_=l.value)==null||_.focus()},onNodeExpand:(v,p,g)=>{var y;(y=t.onNodeExpand)==null||y.call(t,v,p,g),Pe(()=>{if(!e.checkStrictly&&e.lazy&&e.multiple&&p.checked){const b={},C=o.value.getCheckedKeys();Yd([o.value.store.root],k=>b[k.key]=k,k=>k.childNodes);const w=Fr(e.modelValue).filter(k=>!(k in b)&&!C.includes(k)),_=f();m(w.concat(_))}})},cacheOptions:d}};var vce=W({props:{data:{type:Array,default:()=>[]}},setup(e){const t=De(Fc);return ce(()=>e.data,()=>{var a;e.data.forEach(l=>{t.states.cachedOptions.has(l.value)||t.states.cachedOptions.set(l.value,l)});const n=((a=t.selectRef)==null?void 0:a.querySelectorAll("input"))||[];Bt&&!Array.from(n).includes(document.activeElement)&&t.setSelected()},{flush:"post",immediate:!0}),()=>{}}}),mce=W({name:"ElTreeSelect",inheritAttrs:!1,props:{...V9,...X_,cacheData:{type:Array,default:()=>[]}},setup(e,t){const{slots:n,expose:a,emit:l,attrs:o}=t,s={...o,onChange:void 0},r=B(),u=B(),c=x(()=>e.nodeKey||e.valueKey||"value"),d=fce(e,{attrs:o,emit:l},{select:r,tree:u,key:c}),{cacheOptions:f,...h}=hce(e,{attrs:s,slots:n,emit:l},{select:r,tree:u,key:c}),m=Dt({});return a(m),mt(()=>{Object.assign(m,{...fo(u.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...fo(r.value,["focus","blur","selectedLabel"]),treeRef:u.value,selectRef:r.value})}),()=>Je(Os,Dt({...d,ref:v=>r.value=v}),{...n,default:()=>[Je(vce,{data:f.value}),Je(Cm,Dt({...h,ref:v=>u.value=v}))]})}}),gce=mce;const yce=ct(gce),Sm=Symbol(),bce={key:-1,level:-1,data:{}},tS={type:Number,default:26},wce=ke({data:{type:Y(Array),default:()=>yn([])},emptyText:{type:String},height:{type:Number,default:200},props:{type:Y(Object),default:()=>yn({children:"children",label:"label",disabled:"disabled",value:"id",class:""})},highlightCurrent:Boolean,showCheckbox:Boolean,defaultCheckedKeys:{type:Y(Array),default:()=>yn([])},checkStrictly:Boolean,defaultExpandedKeys:{type:Y(Array),default:()=>yn([])},indent:{type:Number,default:16},itemSize:tS,icon:{type:Ut},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkOnClickLeaf:{type:Boolean,default:!0},currentNodeKey:{type:Y([String,Number])},accordion:Boolean,filterMethod:{type:Y(Function)},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:Boolean}),Cce=ke({node:{type:Y(Object),default:()=>yn(bce)},expanded:Boolean,checked:Boolean,indeterminate:Boolean,showCheckbox:Boolean,disabled:Boolean,current:Boolean,hiddenExpandIcon:Boolean,itemSize:tS}),_ce=ke({node:{type:Y(Object),required:!0}}),nS="node-click",aS="node-drop",lS="node-expand",oS="node-collapse",sS="current-change",rS="check",iS="check-change",uS="node-contextmenu",Sce={[nS]:(e,t,n)=>e&&t&&n,[aS]:(e,t,n)=>e&&t&&n,[lS]:(e,t)=>e&&t,[oS]:(e,t)=>e&&t,[sS]:(e,t)=>e&&t,[rS]:(e,t)=>e&&t,[iS]:(e,t)=>e&&qt(t),[uS]:(e,t,n)=>e&&t&&n},xce={click:(e,t)=>!!(e&&t),drop:(e,t)=>!!(e&&t),toggle:e=>!!e,check:(e,t)=>e&&qt(t)};function kce(e,t){const n=B(new Set),a=B(new Set),{emit:l}=st();ce([()=>t.value,()=>e.defaultCheckedKeys],()=>Pe(()=>{b(e.defaultCheckedKeys)}),{immediate:!0});const o=(C=!1)=>{if(!t.value||!e.showCheckbox||e.checkStrictly&&!C)return;const{levelTreeNodeMap:w,maxLevel:_}=t.value,k=n.value,M=new Set;for(let E=_;E>=1;--E){const T=w.get(E);T&&T.forEach(O=>{const I=O.children;let N=!O.isLeaf||O.disabled||k.has(O.key);if(I){let R=!0,K=!1;for(const H of I){const z=H.key;if(H.isEffectivelyChecked||(N=!1),k.has(z))K=!0;else if(M.has(z)){R=!1,K=!0;break}else R=!1}R?k.add(O.key):K?(M.add(O.key),k.delete(O.key)):(k.delete(O.key),M.delete(O.key))}O.isEffectivelyChecked=N})}a.value=M},s=C=>n.value.has(C.key),r=C=>a.value.has(C.key),u=(C,w,_=!0,k=!0,M=!1)=>{const E=n.value,T=C.children;(!e.checkStrictly||M)&&_&&(T!=null&&T.length)&&(w=T.some(I=>!I.isEffectivelyChecked));const O=(I,N)=>{E[N?"add":"delete"](I.key);const R=I.children;(!e.checkStrictly||M)&&R&&R.forEach(K=>{(!K.disabled||K.children)&&O(K,N)})};O(C,w),k&&o(),_&&c(C,w)},c=(C,w)=>{const{checkedNodes:_,checkedKeys:k}=v(),{halfCheckedNodes:M,halfCheckedKeys:E}=p();l(rS,C.data,{checkedKeys:k,checkedNodes:_,halfCheckedKeys:E,halfCheckedNodes:M}),l(iS,C.data,w)};function d(C=!1){return v(C).checkedKeys}function f(C=!1){return v(C).checkedNodes}function h(){return p().halfCheckedKeys}function m(){return p().halfCheckedNodes}function v(C=!1){const w=[],_=[];if(t!=null&&t.value&&e.showCheckbox){const{treeNodeMap:k}=t.value;n.value.forEach(M=>{const E=k.get(M);E&&(!C||C&&E.isLeaf)&&(_.push(M),w.push(E.data))})}return{checkedKeys:_,checkedNodes:w}}function p(){const C=[],w=[];if(t!=null&&t.value&&e.showCheckbox){const{treeNodeMap:_}=t.value;a.value.forEach(k=>{const M=_.get(k);M&&(w.push(k),C.push(M.data))})}return{halfCheckedNodes:C,halfCheckedKeys:w}}function g(C){n.value.clear(),a.value.clear(),Pe(()=>{b(C)})}function y(C,w,_){if(t!=null&&t.value&&e.showCheckbox){const k=t.value.treeNodeMap.get(C);k&&u(k,w,!1,void 0,_)}}function b(C){if(t!=null&&t.value){const{treeNodeMap:w}=t.value;if(e.showCheckbox&&w){for(const _ of C){const k=w.get(_);k&&!s(k)&&u(k,!0,!1,!1)}o()}}}return{updateCheckedKeys:o,toggleCheckbox:u,isChecked:s,isIndeterminate:r,getCheckedKeys:d,getCheckedNodes:f,getHalfCheckedKeys:h,getHalfCheckedNodes:m,setChecked:y,setCheckedKeys:g}}function Ece(e,t){const n=B(new Set([])),a=B(new Set([])),l=x(()=>Ke(e.filterMethod));function o(r){var p;if(!l.value)return;const u=new Set,c=a.value,d=n.value,f=[],h=((p=t.value)==null?void 0:p.treeNodes)||[],m=e.filterMethod;d.clear();function v(g){g.forEach(y=>{f.push(y),m!=null&&m(r,y.data,y)?f.forEach(C=>{u.add(C.key),C.expanded=!0}):(y.expanded=!1,y.isLeaf&&d.add(y.key));const b=y.children;if(b&&v(b),!y.isLeaf){if(!u.has(y.key))d.add(y.key);else if(b){let C=!0;for(const w of b)if(!d.has(w.key)){C=!1;break}C?c.add(y.key):c.delete(y.key)}}f.pop()})}return v(h),u}function s(r){return a.value.has(r.key)}return{hiddenExpandIconKeySet:a,hiddenNodeKeySet:n,doFilter:o,isForceHiddenExpandIcon:s}}function Tce(e,t){const n=B(new Set),a=B(),l=kt(),o=B(),{isIndeterminate:s,isChecked:r,toggleCheckbox:u,getCheckedKeys:c,getCheckedNodes:d,getHalfCheckedKeys:f,getHalfCheckedNodes:h,setChecked:m,setCheckedKeys:v}=kce(e,l),{doFilter:p,hiddenNodeKeySet:g,isForceHiddenExpandIcon:y}=Ece(e,l),b=x(()=>{var Z;return((Z=e.props)==null?void 0:Z.value)||"id"}),C=x(()=>{var Z;return((Z=e.props)==null?void 0:Z.children)||"children"}),w=x(()=>{var Z;return((Z=e.props)==null?void 0:Z.disabled)||"disabled"}),_=x(()=>{var Z;return((Z=e.props)==null?void 0:Z.label)||"label"}),k=x(()=>{var fe;const Z=n.value,re=g.value,U=[],J=((fe=l.value)==null?void 0:fe.treeNodes)||[],se=[];for(let me=J.length-1;me>=0;--me)se.push(J[me]);for(;se.length;){const me=se.pop();if(!re.has(me.key)&&(U.push(me),me.children&&Z.has(me.key)))for(let we=me.children.length-1;we>=0;--we)se.push(me.children[we])}return U}),M=x(()=>k.value.length>0);function E(Z){const re=new Map,U=new Map;let J=1;function se(me,we=1,Ve=void 0){var xe;const Ae=[];for(const he of me){const Ee=I(he),$e={level:we,key:Ee,data:he};$e.label=R(he),$e.parent=Ve;const Re=O(he);$e.disabled=N(he),$e.isLeaf=!Re||Re.length===0,$e.expanded=n.value.has(Ee),Re&&Re.length&&($e.children=se(Re,we+1,$e)),Ae.push($e),re.set(Ee,$e),U.has(we)||U.set(we,[]),(xe=U.get(we))==null||xe.push($e)}return we>J&&(J=we),Ae}const fe=se(Z);return{treeNodeMap:re,levelTreeNodeMap:U,maxLevel:J,treeNodes:fe}}function T(Z){const re=p(Z);re&&(n.value=re)}function O(Z){return Z[C.value]}function I(Z){return Z?Z[b.value]:""}function N(Z){return Z[w.value]}function R(Z){return Z[_.value]}function K(Z){n.value.has(Z.key)?j(Z):D(Z)}function H(Z){const re=new Set,U=l.value.treeNodeMap;n.value.forEach(J=>{const se=U.get(J);se&&(se.expanded=!1)}),Z.forEach(J=>{let se=U.get(J);for(;se&&!re.has(se.key);)re.add(se.key),se.expanded=!0,se=se.parent}),n.value=re}function z(Z,re){L(Z),t(nS,Z.data,Z,re),e.expandOnClickNode&&K(Z),e.showCheckbox&&(e.checkOnClickNode||Z.isLeaf&&e.checkOnClickLeaf)&&!Z.disabled&&u(Z,!r(Z),!0)}function V(Z,re){t(aS,Z.data,Z,re)}function L(Z){Q(Z)||(a.value=Z.key,t(sS,Z.data,Z))}function F(Z,re){u(Z,re)}function D(Z){const re=n.value;if(l.value&&e.accordion){const{treeNodeMap:J}=l.value;re.forEach(se=>{const fe=J.get(se);Z&&Z.level===(fe==null?void 0:fe.level)&&(re.delete(se),fe.expanded=!1)})}re.add(Z.key);const U=pe(Z.key);U&&(U.expanded=!0,t(lS,U.data,U))}function j(Z){n.value.delete(Z.key);const re=pe(Z.key);re&&(re.expanded=!1,t(oS,re.data,re))}function q(Z){return!!Z.disabled}function Q(Z){const re=a.value;return re!==void 0&&re===Z.key}function ee(){var Z,re;if(a.value!==void 0)return(re=(Z=l.value)==null?void 0:Z.treeNodeMap.get(a.value))==null?void 0:re.data}function te(){return a.value}function ae(Z){a.value=Z}function ue(Z){l.value=E(Z)}function pe(Z){var U;const re=rt(Z)?I(Z):Z;return(U=l.value)==null?void 0:U.treeNodeMap.get(re)}function ge(Z,re="auto"){const U=pe(Z);U&&o.value&&o.value.scrollToItem(k.value.indexOf(U),re)}function X(Z){var re;(re=o.value)==null||re.scrollTo(Z)}return ce(()=>e.currentNodeKey,Z=>{a.value=Z},{immediate:!0}),ce(()=>e.defaultExpandedKeys,Z=>{H(Z||[])}),ce(()=>e.data,Z=>{ue(Z),H(e.defaultExpandedKeys||[])},{immediate:!0}),{tree:l,flattenTree:k,isNotEmpty:M,listRef:o,getKey:I,getChildren:O,toggleExpand:K,toggleCheckbox:u,isChecked:r,isIndeterminate:s,isDisabled:q,isCurrent:Q,isForceHiddenExpandIcon:y,handleNodeClick:z,handleNodeDrop:V,handleNodeCheck:F,getCurrentNode:ee,getCurrentKey:te,setCurrentKey:ae,getCheckedKeys:c,getCheckedNodes:d,getHalfCheckedKeys:f,getHalfCheckedNodes:h,setChecked:m,setCheckedKeys:v,filter:T,setData:ue,getNode:pe,expandNode:D,collapseNode:j,setExpandedKeys:H,scrollToNode:ge,scrollTo:X}}var Mce=W({name:"ElTreeNodeContent",props:_ce,setup(e){const t=De(Sm),n=ye("tree");return()=>{const a=e.node,{data:l}=a;return t!=null&&t.ctx.slots.default?t.ctx.slots.default({node:a,data:l}):Je(ym,{tag:"span",truncated:!0,class:n.be("node","label")},()=>[a==null?void 0:a.label])}}});const Oce=["aria-expanded","aria-disabled","aria-checked","data-key"];var $ce=W({name:"ElTreeNode",__name:"tree-node",props:Cce,emits:xce,setup(e,{emit:t}){const n=e,a=t,l=De(Sm),o=ye("tree"),s=x(()=>(l==null?void 0:l.props.indent)??16),r=x(()=>(l==null?void 0:l.props.icon)??E1),u=v=>{var y;const p=(y=l==null?void 0:l.props.props)==null?void 0:y.class;if(!p)return{};let g;if(Ke(p)){const{data:b}=v;g=p(b,v)}else g=p;return Ne(g)?{[g]:!0}:g},c=v=>{a("click",n.node,v)},d=v=>{a("drop",n.node,v)},f=()=>{a("toggle",n.node)},h=v=>{a("check",n.node,v)},m=v=>{var p,g,y,b;(y=(g=(p=l==null?void 0:l.instance)==null?void 0:p.vnode)==null?void 0:g.props)!=null&&y.onNodeContextmenu&&(v.stopPropagation(),v.preventDefault()),l==null||l.ctx.emit(uS,v,(b=n.node)==null?void 0:b.data,n.node)};return(v,p)=>{var g,y,b;return S(),A("div",{ref:"node$",class:P([i(o).b("node"),i(o).is("expanded",e.expanded),i(o).is("current",e.current),i(o).is("focusable",!e.disabled),i(o).is("checked",!e.disabled&&e.checked),u(e.node)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.disabled,"aria-checked":e.checked,"data-key":(g=e.node)==null?void 0:g.key,onClick:Qe(c,["stop"]),onContextmenu:m,onDragover:p[1]||(p[1]=Qe(()=>{},["prevent"])),onDragenter:p[2]||(p[2]=Qe(()=>{},["prevent"])),onDrop:Qe(d,["stop"])},[$("div",{class:P(i(o).be("node","content")),style:Ye({paddingLeft:`${(e.node.level-1)*s.value}px`,height:e.itemSize+"px"})},[r.value?(S(),ie(i(Be),{key:0,class:P([i(o).is("leaf",!!((y=e.node)!=null&&y.isLeaf)),i(o).is("hidden",e.hiddenExpandIcon),{expanded:!((b=e.node)!=null&&b.isLeaf)&&e.expanded},i(o).be("node","expand-icon")]),onClick:Qe(f,["stop"])},{default:ne(()=>[(S(),ie(ft(r.value)))]),_:1},8,["class"])):oe("v-if",!0),e.showCheckbox?(S(),ie(i(Al),{key:1,"model-value":e.checked,indeterminate:e.indeterminate,disabled:e.disabled,onChange:h,onClick:p[0]||(p[0]=Qe(()=>{},["stop"]))},null,8,["model-value","indeterminate","disabled"])):oe("v-if",!0),G(i(Mce),{node:{...e.node,expanded:e.expanded}},null,8,["node"])],6)],42,Oce)}}}),Nce=$ce,Ace=W({name:"ElTreeV2",__name:"tree",props:wce,emits:Sce,setup(e,{expose:t,emit:n}){const a=e,l=n,o=wn(),s=x(()=>a.itemSize);Et(Sm,{ctx:{emit:l,slots:o},props:a,instance:st()}),Et(go,void 0);const{t:r}=St(),u=ye("tree"),{flattenTree:c,isNotEmpty:d,listRef:f,toggleExpand:h,isIndeterminate:m,isChecked:v,isDisabled:p,isCurrent:g,isForceHiddenExpandIcon:y,handleNodeClick:b,handleNodeDrop:C,handleNodeCheck:w,toggleCheckbox:_,getCurrentNode:k,getCurrentKey:M,setCurrentKey:E,getCheckedKeys:T,getCheckedNodes:O,getHalfCheckedKeys:I,getHalfCheckedNodes:N,setChecked:R,setCheckedKeys:K,filter:H,setData:z,getNode:V,expandNode:L,collapseNode:F,setExpandedKeys:D,scrollToNode:j,scrollTo:q}=Tce(a,l);return t({toggleCheckbox:_,getCurrentNode:k,getCurrentKey:M,setCurrentKey:E,getCheckedKeys:T,getCheckedNodes:O,getHalfCheckedKeys:I,getHalfCheckedNodes:N,setChecked:R,setCheckedKeys:K,filter:H,setData:z,getNode:V,expandNode:L,collapseNode:F,setExpandedKeys:D,scrollToNode:j,scrollTo:q}),(Q,ee)=>(S(),A("div",{class:P([i(u).b(),{[i(u).m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[i(d)?(S(),ie(i(Wc),{key:0,ref_key:"listRef",ref:f,"class-name":i(u).b("virtual-list"),data:i(c),total:i(c).length,height:e.height,"item-size":s.value,"perf-mode":e.perfMode,"scrollbar-always-on":e.scrollbarAlwaysOn},{default:ne(({data:te,index:ae,style:ue})=>[(S(),ie(Nce,{key:te[ae].key,style:Ye(ue),node:te[ae],expanded:te[ae].expanded,"show-checkbox":e.showCheckbox,checked:i(v)(te[ae]),indeterminate:i(m)(te[ae]),"item-size":s.value,disabled:i(p)(te[ae]),current:i(g)(te[ae]),"hidden-expand-icon":i(y)(te[ae]),onClick:i(b),onToggle:i(h),onCheck:i(w),onDrop:i(C)},null,8,["style","node","expanded","show-checkbox","checked","indeterminate","item-size","disabled","current","hidden-expand-icon","onClick","onToggle","onCheck","onDrop"]))]),_:1},8,["class-name","data","total","height","item-size","perf-mode","scrollbar-always-on"])):(S(),A("div",{key:1,class:P(i(u).e("empty-block"))},[le(Q.$slots,"empty",{},()=>[$("span",{class:P(i(u).e("empty-text"))},Se(e.emptyText??i(r)("el.tree.emptyText")),3)])],2))],2))}}),Ice=Ace;const Pce=ct(Ice),Rce="ElUpload";var Vce=class extends Error{constructor(e,t,n,a){super(e),this.name="UploadAjaxError",this.status=t,this.method=n,this.url=a}};function w6(e,t,n){let a;return n.response?a=`${n.response.error||n.response}`:n.responseText?a=`${n.responseText}`:a=`fail to ${t.method} ${e} ${n.status}`,new Vce(a,n.status,t.method,e)}function Lce(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}const Bce=e=>{typeof XMLHttpRequest>"u"&&vn(Rce,"XMLHttpRequest is undefined");const t=new XMLHttpRequest,n=e.action;t.upload&&t.upload.addEventListener("progress",o=>{const s=o;s.percent=o.total>0?o.loaded/o.total*100:0,e.onProgress(s)});const a=new FormData;if(e.data)for(const[o,s]of Object.entries(e.data))ve(s)?s.length===2&&s[0]instanceof Blob&&Ne(s[1])?a.append(o,s[0],s[1]):s.forEach(r=>{a.append(o,r)}):a.append(o,s);a.append(e.filename,e.file,e.file.name),t.addEventListener("error",()=>{e.onError(w6(n,e,t))}),t.addEventListener("load",()=>{if(t.status<200||t.status>=300)return e.onError(w6(n,e,t));e.onSuccess(Lce(t))}),t.open(e.method,n,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const l=e.headers||{};if(l instanceof Headers)l.forEach((o,s)=>t.setRequestHeader(s,o));else for(const[o,s]of Object.entries(l))_n(s)||t.setRequestHeader(o,String(s));return t.send(a),t},cS=["text","picture","picture-card"];let zce=1;const A2=()=>Date.now()+zce++,dS=ke({action:{type:String,default:"#"},headers:{type:Y(Object)},method:{type:String,default:"post"},data:{type:Y([Object,Function,Promise]),default:()=>yn({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:Y(Array),default:()=>yn([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:cS,default:"text"},httpRequest:{type:Y(Function),default:Bce},disabled:{type:Boolean,default:void 0},limit:Number,directory:Boolean}),Dce=ke({...dS,beforeUpload:{type:Y(Function),default:ut},beforeRemove:{type:Y(Function)},onRemove:{type:Y(Function),default:ut},onChange:{type:Y(Function),default:ut},onPreview:{type:Y(Function),default:ut},onSuccess:{type:Y(Function),default:ut},onProgress:{type:Y(Function),default:ut},onError:{type:Y(Function),default:ut},onExceed:{type:Y(Function),default:ut},crossorigin:{type:Y(String)}}),fS=Symbol("uploadContextKey"),Hce=ke({files:{type:Y(Array),default:()=>yn([])},disabled:{type:Boolean,default:void 0},handlePreview:{type:Y(Function),default:ut},listType:{type:String,values:cS,default:"text"},crossorigin:{type:Y(String)}}),Fce={remove:e=>!!e},Kce=ke({...dS,beforeUpload:{type:Y(Function),default:ut},onRemove:{type:Y(Function),default:ut},onStart:{type:Y(Function),default:ut},onSuccess:{type:Y(Function),default:ut},onProgress:{type:Y(Function),default:ut},onError:{type:Y(Function),default:ut},onExceed:{type:Y(Function),default:ut}}),Wce=ke({disabled:{type:Boolean,default:void 0},directory:Boolean}),jce={file:e=>ve(e)},qce=["tabindex","aria-disabled","onKeydown"],Uce=["src","crossorigin"],Yce=["onClick"],Gce=["title"],Xce=["onClick"],Jce=["onClick"];var Zce=W({name:"ElUploadList",__name:"upload-list",props:Hce,emits:Fce,setup(e,{emit:t}){const n=e,a=t,{t:l}=St(),o=ye("upload"),s=ye("icon"),r=ye("list"),u=hn(),c=B(!1),d=x(()=>[o.b("list"),o.bm("list",n.listType),o.is("disabled",u.value)]),f=async m=>{const v=m.relatedTarget;await Pe(),v!=null&&v.classList.contains(o.be("list","item"))||(c.value=!1)},h=m=>{a("remove",m)};return(m,v)=>(S(),ie(g0,{tag:"ul",class:P(d.value),name:i(r).b()},{default:ne(()=>[(S(!0),A(He,null,wt(e.files,(p,g)=>(S(),A("li",{key:p.uid||p.name,class:P([i(o).be("list","item"),i(o).is(p.status),{focusing:c.value}]),tabindex:i(u)?void 0:0,"aria-disabled":i(u),role:"button",onKeydown:un(y=>!i(u)&&h(p),["delete"]),onFocus:v[0]||(v[0]=y=>c.value=!0),onBlur:f,onClick:v[1]||(v[1]=y=>c.value=!1)},[le(m.$slots,"default",{file:p,index:g},()=>[e.listType==="picture"||p.status!=="uploading"&&e.listType==="picture-card"?(S(),A("img",{key:0,class:P(i(o).be("list","item-thumbnail")),src:p.url,crossorigin:e.crossorigin,alt:""},null,10,Uce)):oe("v-if",!0),p.status==="uploading"||e.listType!=="picture-card"?(S(),A("div",{key:1,class:P(i(o).be("list","item-info"))},[$("a",{class:P(i(o).be("list","item-name")),onClick:Qe(y=>e.handlePreview(p),["prevent"])},[G(i(Be),{class:P(i(s).m("document"))},{default:ne(()=>[G(i(P5))]),_:1},8,["class"]),$("span",{class:P(i(o).be("list","item-file-name")),title:p.name},Se(p.name),11,Gce)],10,Yce),p.status==="uploading"?(S(),ie(i(om),{key:0,type:e.listType==="picture-card"?"circle":"line","stroke-width":e.listType==="picture-card"?6:2,percentage:Number(p.percentage),style:Ye(e.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):oe("v-if",!0)],2)):oe("v-if",!0),$("label",{class:P(i(o).be("list","item-status-label"))},[e.listType==="text"?(S(),ie(i(Be),{key:0,class:P([i(s).m("upload-success"),i(s).m("circle-check")])},{default:ne(()=>[G(i(K0))]),_:1},8,["class"])):["picture-card","picture"].includes(e.listType)?(S(),ie(i(Be),{key:1,class:P([i(s).m("upload-success"),i(s).m("check")])},{default:ne(()=>[G(i(gr))]),_:1},8,["class"])):oe("v-if",!0)],2),i(u)?oe("v-if",!0):(S(),ie(i(Be),{key:2,class:P(i(s).m("close")),"aria-label":i(l)("el.upload.delete"),role:"button",tabindex:"0",onClick:y=>h(p),onKeydown:un(Qe(y=>h(p),["prevent"]),["enter","space"])},{default:ne(()=>[G(i(ll))]),_:1},8,["class","aria-label","onClick","onKeydown"])),i(u)?oe("v-if",!0):(S(),A("i",{key:3,class:P(i(s).m("close-tip"))},Se(i(l)("el.upload.deleteTip")),3)),e.listType==="picture-card"?(S(),A("span",{key:4,class:P(i(o).be("list","item-actions"))},[$("span",{class:P(i(o).be("list","item-preview")),onClick:y=>e.handlePreview(p)},[G(i(Be),{class:P(i(s).m("zoom-in"))},{default:ne(()=>[G(i($1))]),_:1},8,["class"])],10,Xce),i(u)?oe("v-if",!0):(S(),A("span",{key:0,class:P(i(o).be("list","item-delete")),onClick:y=>h(p)},[G(i(Be),{class:P(i(s).m("delete"))},{default:ne(()=>[G(i(I5))]),_:1},8,["class"])],10,Jce))],2)):oe("v-if",!0)])],42,qce))),128)),le(m.$slots,"append")]),_:3},8,["class","name"]))}}),C6=Zce;const _6="ElUploadDrag";var Qce=W({name:_6,__name:"upload-dragger",props:Wce,emits:jce,setup(e,{emit:t}){const n=e,a=t;De(fS)||vn(_6,"usage: ");const l=ye("upload"),o=B(!1),s=hn(),r=h=>new Promise((m,v)=>h.file(m,v)),u=async h=>{try{if(h.isFile){const m=await r(h);return m.isDirectory=!1,[m]}if(h.isDirectory){const m=h.createReader(),v=()=>new Promise((b,C)=>m.readEntries(b,C)),p=[];let g=await v();for(;g.length>0;)p.push(...g),g=await v();const y=p.map(b=>u(b).catch(()=>[]));return Sf(await Promise.all(y))}}catch{return[]}return[]},c=async h=>{if(s.value)return;o.value=!1,h.stopPropagation();const m=Array.from(h.dataTransfer.files),v=h.dataTransfer.items||[];if(n.directory){const p=Array.from(v).map(g=>{var y;return(y=g==null?void 0:g.webkitGetAsEntry)==null?void 0:y.call(g)}).filter(g=>g);a("file",Sf(await Promise.all(p.map(u))));return}m.forEach((p,g)=>{var b,C;const y=(C=(b=v[g])==null?void 0:b.webkitGetAsEntry)==null?void 0:C.call(b);y&&(p.isDirectory=y.isDirectory)}),a("file",m)},d=()=>{s.value||(o.value=!0)},f=h=>{h.currentTarget.contains(h.relatedTarget)||(o.value=!1)};return(h,m)=>(S(),A("div",{class:P([i(l).b("dragger"),i(l).is("dragover",o.value)]),onDrop:Qe(c,["prevent"]),onDragover:Qe(d,["prevent"]),onDragleave:Qe(f,["prevent"])},[le(h.$slots,"default")],34))}}),ede=Qce;const tde=["tabindex","aria-disabled","onKeydown"],nde=["name","disabled","multiple","accept","webkitdirectory"];var ade=W({name:"ElUploadContent",inheritAttrs:!1,__name:"upload-content",props:Kce,setup(e,{expose:t}){const n=e,a=ye("upload"),l=hn(),o=kt({}),s=kt(),r=p=>{if(p.length===0)return;const{autoUpload:g,limit:y,fileList:b,multiple:C,onStart:w,onExceed:_}=n;if(y&&b.length+p.length>y){_(p,b);return}C||(p=p.slice(0,1));for(const k of p){const M=k;M.uid=A2(),w(M),g&&u(M)}},u=async p=>{if(s.value.value="",!n.beforeUpload)return d(p);let g,y={};try{const C=n.data,w=n.beforeUpload(p);y=or(n.data)?eo(n.data):n.data,g=await w,or(n.data)&&gn(C,y)&&(y=eo(n.data))}catch{g=!1}if(g===!1){n.onRemove(p);return}let b=p;g instanceof Blob&&(g instanceof File?b=g:b=new File([g],p.name,{type:p.type})),d(Object.assign(b,{uid:p.uid}),y)},c=async(p,g)=>Ke(p)?p(g):p,d=async(p,g)=>{const{headers:y,data:b,method:C,withCredentials:w,name:_,action:k,onProgress:M,onSuccess:E,onError:T,httpRequest:O}=n;try{g=await c(g??b,p)}catch{n.onRemove(p);return}const{uid:I}=p,N={headers:y||{},withCredentials:w,file:p,data:g,method:C,filename:_,action:k,onProgress:K=>{M(K,p)},onSuccess:K=>{E(K,p),delete o.value[I]},onError:K=>{T(K,p),delete o.value[I]}},R=O(N);o.value[I]=R,R instanceof Promise&&R.then(N.onSuccess,N.onError)},f=p=>{const g=p.target.files;g&&r(Array.from(g))},h=()=>{l.value||(s.value.value="",s.value.click())},m=()=>{h()};return t({abort:p=>{Hw(o.value).filter(p?([g])=>String(p.uid)===g:()=>!0).forEach(([g,y])=>{y instanceof XMLHttpRequest&&y.abort(),delete o.value[g]})},upload:u}),(p,g)=>(S(),A("div",{class:P([i(a).b(),i(a).m(e.listType),i(a).is("drag",e.drag),i(a).is("disabled",i(l))]),tabindex:i(l)?void 0:0,"aria-disabled":i(l),role:"button",onClick:h,onKeydown:un(Qe(m,["self"]),["enter","space"])},[e.drag?(S(),ie(ede,{key:0,disabled:i(l),directory:e.directory,onFile:r},{default:ne(()=>[le(p.$slots,"default")]),_:3},8,["disabled","directory"])):le(p.$slots,"default",{key:1}),$("input",{ref_key:"inputRef",ref:s,class:P(i(a).e("input")),name:e.name,disabled:i(l),multiple:e.multiple,accept:e.accept,webkitdirectory:e.directory||void 0,type:"file",onChange:f,onClick:g[0]||(g[0]=Qe(()=>{},["stop"]))},null,42,nde)],42,tde))}}),S6=ade;const x6="ElUpload",k6=e=>{var t;(t=e.url)!=null&&t.startsWith("blob:")&&URL.revokeObjectURL(e.url)},lde=(e,t)=>{const n=$T(e,"fileList",void 0,{passive:!0}),a=v=>n.value.find(p=>p.uid===v.uid);function l(v){var p;(p=t.value)==null||p.abort(v)}function o(v=["ready","uploading","success","fail"]){n.value=n.value.filter(p=>!v.includes(p.status))}function s(v){n.value=n.value.filter(p=>p.uid!==v.uid)}const r=v=>{Pe(()=>e.onChange(v,n.value))},u=(v,p)=>{const g=a(p);g&&(console.error(v),g.status="fail",s(g),e.onError(v,g,n.value),r(g))},c=(v,p)=>{const g=a(p);g&&(e.onProgress(v,g,n.value),g.status="uploading",g.percentage=Math.round(v.percent))},d=(v,p)=>{const g=a(p);g&&(g.status="success",g.response=v,e.onSuccess(v,g,n.value),r(g))},f=v=>{_n(v.uid)&&(v.uid=A2());const p={name:v.name,percentage:0,status:"ready",size:v.size,raw:v,uid:v.uid};if(e.listType==="picture-card"||e.listType==="picture")try{p.url=URL.createObjectURL(v)}catch(g){jt(x6,g.message),e.onError(g,p,n.value)}n.value=[...n.value,p],r(p)},h=async v=>{const p=v instanceof File?a(v):v;p||vn(x6,"file to be removed not found");const g=y=>{l(y),s(y),e.onRemove(y,n.value),k6(y)};e.beforeRemove?await e.beforeRemove(p,n.value)!==!1&&g(p):g(p)};function m(){n.value.filter(({status:v})=>v==="ready").forEach(({raw:v})=>{var p;return v&&((p=t.value)==null?void 0:p.upload(v))})}return ce(()=>e.listType,v=>{v!=="picture-card"&&v!=="picture"||(n.value=n.value.map(p=>{const{raw:g,url:y}=p;if(!y&&g)try{p.url=URL.createObjectURL(g)}catch(b){e.onError(b,p,n.value)}return p}))}),ce(n,v=>{for(const p of v)p.uid||(p.uid=A2()),p.status||(p.status="success")},{immediate:!0,deep:!0}),{uploadFiles:n,abort:l,clearFiles:o,handleError:u,handleProgress:c,handleStart:f,handleSuccess:d,handleRemove:h,submit:m,revokeFileObjectURL:k6}};var ode=W({name:"ElUpload",__name:"upload",props:Dce,setup(e,{expose:t}){const n=e,a=hn(),l=kt(),{abort:o,submit:s,clearFiles:r,uploadFiles:u,handleStart:c,handleError:d,handleRemove:f,handleSuccess:h,handleProgress:m,revokeFileObjectURL:v}=lde(n,l),p=x(()=>n.listType==="picture-card"),g=x(()=>({...n,fileList:u.value,onStart:c,onProgress:m,onSuccess:h,onError:d,onRemove:f}));return Ht(()=>{u.value.forEach(v)}),Et(fS,{accept:At(n,"accept")}),t({abort:o,submit:s,clearFiles:r,handleStart:c,handleRemove:f}),(y,b)=>(S(),A("div",null,[p.value&&e.showFileList?(S(),ie(C6,{key:0,disabled:i(a),"list-type":e.listType,files:i(u),crossorigin:e.crossorigin,"handle-preview":e.onPreview,onRemove:i(f)},da({append:ne(()=>[G(S6,vt({ref_key:"uploadRef",ref:l},g.value),{default:ne(()=>[y.$slots.trigger?le(y.$slots,"trigger",{key:0}):oe("v-if",!0),!y.$slots.trigger&&y.$slots.default?le(y.$slots,"default",{key:1}):oe("v-if",!0)]),_:3},16)]),_:2},[y.$slots.file?{name:"default",fn:ne(({file:C,index:w})=>[le(y.$slots,"file",{file:C,index:w})]),key:"0"}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):oe("v-if",!0),!p.value||p.value&&!e.showFileList?(S(),ie(S6,vt({key:1,ref_key:"uploadRef",ref:l},g.value),{default:ne(()=>[y.$slots.trigger?le(y.$slots,"trigger",{key:0}):oe("v-if",!0),!y.$slots.trigger&&y.$slots.default?le(y.$slots,"default",{key:1}):oe("v-if",!0)]),_:3},16)):oe("v-if",!0),y.$slots.trigger?le(y.$slots,"default",{key:2}):oe("v-if",!0),le(y.$slots,"tip"),!p.value&&e.showFileList?(S(),ie(C6,{key:3,disabled:i(a),"list-type":e.listType,files:i(u),crossorigin:e.crossorigin,"handle-preview":e.onPreview,onRemove:i(f)},da({_:2},[y.$slots.file?{name:"default",fn:ne(({file:C,index:w})=>[le(y.$slots,"file",{file:C,index:w})]),key:"0"}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):oe("v-if",!0)]))}}),sde=ode;const rde=ct(sde),ide=ke({zIndex:{type:Number,default:9},rotate:{type:Number,default:-22},width:Number,height:Number,image:String,content:{type:Y([String,Array]),default:"Element Plus"},font:{type:Y(Object)},gap:{type:Y(Array),default:()=>[100,100]},offset:{type:Y(Array)}});function ude(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function cde(e){return Object.keys(e).map(t=>`${ude(t)}: ${e[t]};`).join(" ")}function dde(){return window.devicePixelRatio||1}const fde=(e,t)=>{let n=!1;return e.removedNodes.length&&t&&(n=Array.from(e.removedNodes).includes(t)),e.type==="attributes"&&e.target===t&&(n=!0),n},pde={left:[0,.5],start:[0,.5],center:[.5,0],right:[1,-.5],end:[1,-.5]};function Jp(e,t,n=1){const a=document.createElement("canvas"),l=a.getContext("2d"),o=e*n,s=t*n;return a.setAttribute("width",`${o}px`),a.setAttribute("height",`${s}px`),l.save(),[l,a,o,s]}function hde(){function e(t,n,a,l,o,s,r,u,c){const[d,f,h,m]=Jp(l,o,a);let v=0;if(t instanceof HTMLImageElement)d.drawImage(t,0,0,h,m);else{const{color:q,fontSize:Q,fontStyle:ee,fontWeight:te,fontFamily:ae,textAlign:ue,textBaseline:pe}=s,ge=Number(Q)*a;d.font=`${ee} normal ${te} ${ge}px/${o}px ${ae}`,d.fillStyle=q,d.textAlign=ue,d.textBaseline=pe;const X=ve(t)?t:[t];if(pe!=="top"&&X[0]){const Z=d.measureText(X[0]);d.textBaseline="top";const re=d.measureText(X[0]);v=Z.actualBoundingBoxAscent-re.actualBoundingBoxAscent}X==null||X.forEach((Z,re)=>{const[U,J]=pde[ue];d.fillText(Z??"",h*U+c*J,re*(ge+s.fontGap*a))})}const p=Math.PI/180*Number(n),g=Math.max(l,o),[y,b,C]=Jp(g,g,a);y.translate(C/2,C/2),y.rotate(p),h>0&&m>0&&y.drawImage(f,-h/2,-m/2);function w(q,Q){return[q*Math.cos(p)-Q*Math.sin(p),q*Math.sin(p)+Q*Math.cos(p)]}let _=0,k=0,M=0,E=0;const T=h/2,O=m/2;[[0-T,0-O],[0+T,0-O],[0+T,0+O],[0-T,0+O]].forEach(([q,Q])=>{const[ee,te]=w(q,Q);_=Math.min(_,ee),k=Math.max(k,ee),M=Math.min(M,te),E=Math.max(E,te)});const I=_+C/2,N=M+C/2,R=k-_,K=E-M,H=r*a,z=u*a,V=(R+H)*2,L=K+z,[F,D]=Jp(V,L);function j(q=0,Q=0){F.drawImage(b,I,N,R,K,q,Q+v,R,K)}return j(),j(R+H,-K/2-z/2),j(R+H,+K/2+z/2),[D.toDataURL(),V/a,L/a]}return e}var vde=W({name:"ElWatermark",__name:"watermark",props:ide,setup(e){const t={position:"relative"},n=e,a=x(()=>{var I;return((I=n.font)==null?void 0:I.fontGap)??3}),l=x(()=>{var I;return((I=n.font)==null?void 0:I.color)??"rgba(0,0,0,.15)"}),o=x(()=>{var I;return((I=n.font)==null?void 0:I.fontSize)??16}),s=x(()=>{var I;return((I=n.font)==null?void 0:I.fontWeight)??"normal"}),r=x(()=>{var I;return((I=n.font)==null?void 0:I.fontStyle)??"normal"}),u=x(()=>{var I;return((I=n.font)==null?void 0:I.fontFamily)??"sans-serif"}),c=x(()=>{var I;return((I=n.font)==null?void 0:I.textAlign)??"center"}),d=x(()=>{var I;return((I=n.font)==null?void 0:I.textBaseline)??"hanging"}),f=x(()=>n.gap[0]),h=x(()=>n.gap[1]),m=x(()=>f.value/2),v=x(()=>h.value/2),p=x(()=>{var I;return((I=n.offset)==null?void 0:I[0])??m.value}),g=x(()=>{var I;return((I=n.offset)==null?void 0:I[1])??v.value}),y=()=>{const I={zIndex:n.zIndex,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let N=p.value-m.value,R=g.value-v.value;return N>0&&(I.left=`${N}px`,I.width=`calc(100% - ${N}px)`,N=0),R>0&&(I.top=`${R}px`,I.height=`calc(100% - ${R}px)`,R=0),I.backgroundPosition=`${N}px ${R}px`,I},b=kt(null),C=kt(),w=B(!1),_=()=>{C.value&&(C.value.remove(),C.value=void 0)},k=(I,N)=>{var R;b.value&&C.value&&(w.value=!0,C.value.setAttribute("style",cde({...y(),backgroundImage:`url('${I}')`,backgroundSize:`${Math.floor(N)}px`})),(R=b.value)==null||R.append(C.value),setTimeout(()=>{w.value=!1}))},M=I=>{let N=120,R=64,K=0;const{image:H,content:z,width:V,height:L,rotate:F}=n;if(!H&&I.measureText){I.font=`${Number(o.value)}px ${u.value}`;const D=ve(z)?z:[z];let j=0,q=0;D.forEach(ee=>{const{width:te,fontBoundingBoxAscent:ae,fontBoundingBoxDescent:ue,actualBoundingBoxAscent:pe,actualBoundingBoxDescent:ge}=I.measureText(ee),X=Mt(ae)?pe+ge:ae+ue;te>j&&(j=Math.ceil(te)),X>q&&(q=Math.ceil(X))}),N=j,R=q*D.length+(D.length-1)*a.value;const Q=Math.PI/180*Number(F);K=Math.ceil(Math.abs(Math.sin(Q)*R)/2),N+=K}return[V??N,L??R,K]},E=hde(),T=()=>{const I=document.createElement("canvas").getContext("2d"),N=n.image,R=n.content,K=n.rotate;if(I){C.value||(C.value=document.createElement("div"));const H=dde(),[z,V,L]=M(I),F=D=>{const[j,q]=E(D||"",K,H,z,V,{color:l.value,fontSize:o.value,fontStyle:r.value,fontWeight:s.value,fontFamily:u.value,fontGap:a.value,textAlign:c.value,textBaseline:d.value},f.value,h.value,L);k(j,q)};if(N){const D=new Image;D.onload=()=>{F(D)},D.onerror=()=>{F(R)},D.crossOrigin="anonymous",D.referrerPolicy="no-referrer",D.src=N}else F(R)}};return mt(()=>{T()}),ce(()=>n,()=>{T()},{deep:!0,flush:"post"}),Ht(()=>{_()}),kc(b,I=>{w.value||I.forEach(N=>{fde(N,C.value)&&(_(),T())})},{attributes:!0,subtree:!0,childList:!0}),(I,N)=>(S(),A("div",{ref_key:"containerRef",ref:b,style:Ye([t])},[le(I.$slots,"default")],4))}}),mde=vde;const gde=ct(mde),yde=["absolute","fixed"],bde=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],xm=ke({placement:{type:Y(String),values:bde,default:"bottom"},reference:{type:Y(Object),default:null},strategy:{type:Y(String),values:yde,default:"absolute"},offset:{type:Number,default:10},showArrow:Boolean,zIndex:{type:Number,default:2001}}),wde={close:()=>!0},Cde=ke({modelValue:Boolean,current:{type:Number},showArrow:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeIcon:{type:Ut},placement:xm.placement,contentStyle:{type:Y([Object])},mask:{type:Y([Boolean,Object]),default:!0},gap:{type:Y(Object),default:()=>({offset:6,radius:2})},zIndex:{type:Number},scrollIntoViewOptions:{type:Y([Boolean,Object]),default:()=>({block:"center"})},type:{type:Y(String)},appendTo:{type:Y([String,Object]),default:"body"},closeOnPressEscape:{type:Boolean,default:!0},targetAreaClickable:{type:Boolean,default:!0}}),_de={[it]:e=>qt(e),"update:current":e=>qe(e),close:e=>qe(e),finish:()=>!0,change:e=>qe(e)},Sde=ke({target:{type:Y([String,Object,Function])},title:String,description:String,showClose:{type:Boolean,default:void 0},closeIcon:{type:Ut},showArrow:{type:Boolean,default:void 0},placement:xm.placement,mask:{type:Y([Boolean,Object]),default:void 0},contentStyle:{type:Y([Object])},prevButtonProps:{type:Y(Object)},nextButtonProps:{type:Y(Object)},scrollIntoViewOptions:{type:Y([Boolean,Object]),default:void 0},type:{type:Y(String)}}),xde={close:()=>!0},kde=(e,t,n,a,l)=>{const o=B(null),s=()=>{let d;return Ne(e.value)?d=document.querySelector(e.value):Ke(e.value)?d=e.value():d=e.value,d},r=()=>{const d=s();if(!d||!t.value){o.value=null;return}Ede(d)||d.scrollIntoView(l.value);const{left:f,top:h,width:m,height:v}=d.getBoundingClientRect();o.value={left:f,top:h,width:m,height:v,radius:0}};mt(()=>{ce([t,e],()=>{r()},{immediate:!0}),window.addEventListener("resize",r)}),Ht(()=>{window.removeEventListener("resize",r)});const u=d=>(ve(n.value.offset)?n.value.offset[d]:n.value.offset)??6,c=x(()=>{var m;if(!o.value)return o.value;const d=u(0),f=u(1),h=((m=n.value)==null?void 0:m.radius)||2;return{left:o.value.left-d,top:o.value.top-f,width:o.value.width+d*2,height:o.value.height+f*2,radius:h}});return{mergedPosInfo:c,triggerTarget:x(()=>{const d=s();return!a.value||!d||!window.DOMRect?d||void 0:{getBoundingClientRect(){var f,h,m,v;return window.DOMRect.fromRect({width:((f=c.value)==null?void 0:f.width)||0,height:((h=c.value)==null?void 0:h.height)||0,x:((m=c.value)==null?void 0:m.left)||0,y:((v=c.value)==null?void 0:v.top)||0})}}})}},ap=Symbol("ElTour");function Ede(e){const t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,{top:a,right:l,bottom:o,left:s}=e.getBoundingClientRect();return a>=0&&s>=0&&l<=t&&o<=n}const Tde=(e,t,n,a,l,o,s,r)=>{const u=B(),c=B(),d=B({}),f={x:u,y:c,placement:a,strategy:l,middlewareData:d},h=x(()=>{const y=[ER(i(o)),MR(),TR(),Mde()];return i(r)&&i(n)&&y.push(OR({element:i(n)})),y}),m=async()=>{if(!Bt)return;const y=i(e),b=i(t);if(!y||!b)return;const C=await $R(y,b,{placement:i(a),strategy:i(l),middleware:i(h)});Ju(f).forEach(w=>{f[w].value=C[w]})},v=x(()=>{if(!i(e))return{position:"fixed",top:"50%",left:"50%",transform:"translate3d(-50%, -50%, 0)",maxWidth:"100vw",zIndex:i(s)};const{overflow:y}=i(d);return{position:i(l),zIndex:i(s),top:i(c)!=null?`${i(c)}px`:"",left:i(u)!=null?`${i(u)}px`:"",maxWidth:y!=null&&y.maxWidth?`${y==null?void 0:y.maxWidth}px`:""}}),p=x(()=>{if(!i(r))return{};const{arrow:y}=i(d);return{left:(y==null?void 0:y.x)!=null?`${y==null?void 0:y.x}px`:"",top:(y==null?void 0:y.y)!=null?`${y==null?void 0:y.y}px`:""}});let g;return mt(()=>{const y=i(e),b=i(t);y&&b&&(g=xR(y,b,m)),la(()=>{m()})}),Ht(()=>{g&&g()}),{update:m,contentStyle:v,arrowStyle:p}},Mde=()=>({name:"overflow",async fn(e){const t=await kR(e);let n=0;return t.left>0&&(n=t.left),t.right>0&&(n=t.right),{data:{maxWidth:e.rects.floating.width-n}}}}),Ode=ke({zIndex:{type:Number,default:1001},visible:Boolean,fill:{type:String,default:"rgba(0,0,0,0.5)"},pos:{type:Y(Object)},targetAreaClickable:{type:Boolean,default:!0}}),$de={style:{width:"100%",height:"100%"}},Nde=["d"];var Ade=W({name:"ElTourMask",inheritAttrs:!1,__name:"mask",props:Ode,setup(e){const t=e,{ns:n}=De(ap),a=x(()=>{var d;return((d=t.pos)==null?void 0:d.radius)??2}),l=x(()=>{const d=a.value,f=`a${d},${d} 0 0 1`;return{topRight:`${f} ${d},${d}`,bottomRight:`${f} ${-d},${d}`,bottomLeft:`${f} ${-d},${-d}`,topLeft:`${f} ${d},${-d}`}}),{width:o,height:s}=Wv(),r=x(()=>{const d=o.value,f=s.value,h=l.value,m=`M${d},0 L0,0 L0,${f} L${d},${f} L${d},0 Z`,v=a.value;return t.pos?`${m} M${t.pos.left+v},${t.pos.top} h${t.pos.width-v*2} ${h.topRight} v${t.pos.height-v*2} ${h.bottomRight} h${-t.pos.width+v*2} ${h.bottomLeft} v${-t.pos.height+v*2} ${h.topLeft} z`:m}),u=x(()=>({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:t.zIndex,pointerEvents:t.pos&&t.targetAreaClickable?"none":"auto"})),c=x(()=>({fill:t.fill,pointerEvents:"auto",cursor:"auto"}));return R0(At(t,"visible"),{ns:n}),(d,f)=>e.visible?(S(),A("div",vt({key:0,class:i(n).e("mask"),style:u.value},d.$attrs),[(S(),A("svg",$de,[$("path",{class:P(i(n).e("hollow")),style:Ye(c.value),d:r.value},null,14,Nde)]))],16)):oe("v-if",!0)}}),Ide=Ade;const Pde=["data-side"];var Rde=W({name:"ElTourContent",__name:"content",props:xm,emits:wde,setup(e,{emit:t}){const n=e,a=t,l=B(n.placement),o=B(n.strategy),s=B(null),r=B(null);ce(()=>n.placement,()=>{l.value=n.placement});const{contentStyle:u,arrowStyle:c}=Tde(At(n,"reference"),s,r,l,o,At(n,"offset"),At(n,"zIndex"),At(n,"showArrow")),d=x(()=>l.value.split("-")[0]),{ns:f}=De(ap),h=()=>{a("close")},m=v=>{v.detail.focusReason==="pointer"&&v.preventDefault()};return(v,p)=>(S(),A("div",{ref_key:"contentRef",ref:s,style:Ye(i(u)),class:P(i(f).e("content")),"data-side":d.value,tabindex:"-1"},[G(i(Ui),{loop:"",trapped:"","focus-start-el":"container","focus-trap-el":s.value||void 0,onReleaseRequested:h,onFocusoutPrevented:m},{default:ne(()=>[le(v.$slots,"default")]),_:3},8,["focus-trap-el"]),e.showArrow?(S(),A("span",{key:0,ref_key:"arrowRef",ref:r,style:Ye(i(c)),class:P(i(f).e("arrow"))},null,6)):oe("v-if",!0)],14,Pde))}}),Vde=Rde,Lde=W({name:"ElTourSteps",props:{current:{type:Number,default:0}},emits:["update-total"],setup(e,{slots:t,emit:n}){let a=0;return()=>{var u,c;const l=(u=t.default)==null?void 0:u.call(t),o=[];let s=0;function r(d){ve(d)&&d.forEach(f=>{var h;((h=(f==null?void 0:f.type)||{})==null?void 0:h.name)==="ElTourStep"&&(o.push(f),s+=1)})}return l.length&&r(tl((c=l[0])==null?void 0:c.children)),a!==s&&(a=s,n("update-total",s)),o.length?o[e.current]:null}}}),Bde=W({name:"ElTour",inheritAttrs:!1,__name:"tour",props:Cde,emits:_de,setup(e,{emit:t}){const n=e,a=t,l=ye("tour"),o=B(0),s=B(),r=x(()=>!Mt(n.current)),u=B(n.current??0),c=x({get(){return Mt(n.current)?u.value:n.current},set(N){(r.value?n.current:u.value)!==N&&(r.value||(u.value=N),a("update:current",N))}}),d=x(()=>{var N;return(N=s.value)==null?void 0:N.target}),f=x(()=>[l.b(),C.value==="primary"?l.m("primary"):""]),h=x(()=>{var N;return((N=s.value)==null?void 0:N.placement)||n.placement}),m=x(()=>{var N;return((N=s.value)==null?void 0:N.contentStyle)??n.contentStyle}),v=x(()=>{var N;return((N=s.value)==null?void 0:N.mask)??n.mask}),p=x(()=>!!v.value&&n.modelValue),g=x(()=>qt(v.value)?void 0:v.value),y=x(()=>{var N;return!!d.value&&(((N=s.value)==null?void 0:N.showArrow)??n.showArrow)}),b=x(()=>{var N;return((N=s.value)==null?void 0:N.scrollIntoViewOptions)??n.scrollIntoViewOptions}),C=x(()=>{var N;return((N=s.value)==null?void 0:N.type)??n.type}),{nextZIndex:w}=Pc(),_=w(),k=x(()=>n.zIndex??_),{mergedPosInfo:M,triggerTarget:E}=kde(d,At(n,"modelValue"),At(n,"gap"),v,b);ce(()=>n.current,N=>!Mt(N)&&(u.value=N)),ce(c,(N,R)=>{!n.modelValue||N===R||a(Ct,N)},{flush:"post"}),ce(()=>n.modelValue,N=>{!N&&c.value!==0&&(c.value=0)});const T=()=>{n.closeOnPressEscape&&(a(it,!1),a("close",c.value))},O=N=>{o.value=N},I=wn();return Et(ap,{currentStep:s,current:c,total:o,showClose:At(n,"showClose"),closeIcon:At(n,"closeIcon"),mergedType:C,ns:l,slots:I,updateModelValue(N){a(it,N)},onClose(){a("close",c.value)},onFinish(){a("finish")}}),(N,R)=>{var K,H;return S(),A(He,null,[(S(),ie(Ns,{to:e.appendTo},[$("div",vt({class:f.value},N.$attrs),[G(Ide,{visible:p.value,fill:(K=g.value)==null?void 0:K.color,style:Ye((H=g.value)==null?void 0:H.style),pos:i(M),"z-index":k.value,"target-area-clickable":e.targetAreaClickable},null,8,["visible","fill","style","pos","z-index","target-area-clickable"]),e.modelValue?(S(),ie(Vde,{key:c.value,reference:i(E),placement:h.value,"show-arrow":y.value,"z-index":k.value,style:Ye(m.value),onClose:T},{default:ne(()=>[G(i(Lde),{current:c.value,onUpdateTotal:O},{default:ne(()=>[le(N.$slots,"default")]),_:3},8,["current"])]),_:3},8,["reference","placement","show-arrow","z-index","style"])):oe("v-if",!0)],16)],8,["to"])),oe(" just for IDE "),oe("v-if",!0)],64)}}}),zde=Bde;const Dde=["aria-label"];var Hde=W({name:"ElTourStep",__name:"step",props:Sde,emits:xde,setup(e,{emit:t}){const n=e,a=t,{Close:l}=X5,{t:o}=St(),{currentStep:s,current:r,total:u,showClose:c,closeIcon:d,mergedType:f,ns:h,slots:m,updateModelValue:v,onClose:p,onFinish:g}=De(ap);ce(n,T=>{s.value=T},{immediate:!0});const y=x(()=>n.showClose??c.value),b=x(()=>n.closeIcon??d.value??l),C=T=>{if(T)return Or(T,["children","onClick"])},w=()=>{var T,O;r.value-=1,(T=n.prevButtonProps)!=null&&T.onClick&&((O=n.prevButtonProps)==null||O.onClick())},_=()=>{var T;r.value>=u.value-1?k():r.value+=1,(T=n.nextButtonProps)!=null&&T.onClick&&n.nextButtonProps.onClick()},k=()=>{M(),g()},M=()=>{v(!1),p(),a("close")},E=T=>{var O;if(!((O=T.target)!=null&&O.isContentEditable))switch(Xt(T)){case Ce.left:T.preventDefault(),r.value>0&&w();break;case Ce.right:T.preventDefault(),_();break}};return mt(()=>{window.addEventListener("keydown",E)}),Ht(()=>{window.removeEventListener("keydown",E)}),(T,O)=>(S(),A(He,null,[y.value?(S(),A("button",{key:0,"aria-label":i(o)("el.tour.close"),class:P(i(h).e("closebtn")),type:"button",onClick:M},[G(i(Be),{class:P(i(h).e("close"))},{default:ne(()=>[(S(),ie(ft(b.value)))]),_:1},8,["class"])],10,Dde)):oe("v-if",!0),$("header",{class:P([i(h).e("header"),{"show-close":i(c)}])},[le(T.$slots,"header",{},()=>[$("span",{role:"heading",class:P(i(h).e("title"))},Se(e.title),3)])],2),$("div",{class:P(i(h).e("body"))},[le(T.$slots,"default",{},()=>[$("span",null,Se(e.description),1)])],2),$("footer",{class:P(i(h).e("footer"))},[$("div",{class:P(i(h).b("indicators"))},[i(m).indicators?(S(),ie(ft(i(m).indicators),{key:0,current:i(r),total:i(u)},null,8,["current","total"])):(S(!0),A(He,{key:1},wt(i(u),(I,N)=>(S(),A("span",{key:I,class:P([i(h).b("indicator"),i(h).is("active",N===i(r))])},null,2))),128))],2),$("div",{class:P(i(h).b("buttons"))},[i(r)>0?(S(),ie(i(Un),vt({key:0,size:"small",type:i(f)},C(e.prevButtonProps),{onClick:w}),{default:ne(()=>{var I;return[bt(Se(((I=e.prevButtonProps)==null?void 0:I.children)??i(o)("el.tour.previous")),1)]}),_:1},16,["type"])):oe("v-if",!0),i(r)<=i(u)-1?(S(),ie(i(Un),vt({key:1,size:"small",type:i(f)==="primary"?"default":"primary"},C(e.nextButtonProps),{onClick:_}),{default:ne(()=>{var I;return[bt(Se(((I=e.nextButtonProps)==null?void 0:I.children)??(i(r)===i(u)-1?i(o)("el.tour.finish"):i(o)("el.tour.next"))),1)]}),_:1},16,["type"])):oe("v-if",!0)],2)],2)],64))}}),pS=Hde;const Fde=ct(zde,{TourStep:pS}),Kde=mn(pS),Wde=ke({container:{type:Y([String,Object])},offset:{type:Number,default:0},bound:{type:Number,default:15},duration:{type:Number,default:300},marker:{type:Boolean,default:!0},type:{type:Y(String),default:"default"},direction:{type:Y(String),default:"vertical"},selectScrollTop:Boolean}),jde={change:e=>Ne(e),click:(e,t)=>e instanceof MouseEvent&&(Ne(t)||Mt(t))},kd=e=>{if(!Bt||e==="")return null;if(Ne(e))try{return document.querySelector(e)}catch{return null}return e};function qde(e){let t=0;const n=(...a)=>{t&&Ll(t),t=Sa(()=>{e(...a),t=0})};return n.cancel=()=>{Ll(t),t=0},n}const hS=Symbol("anchor");var Ude=W({name:"ElAnchor",__name:"anchor",props:Wde,emits:jde,setup(e,{expose:t,emit:n}){const a=e,l=n,o=wn(),s=B(""),r=B({}),u=B(null),c=B(null),d=B(),f={};let h=!1,m=0;const v=ye("anchor"),p=x(()=>[v.b(),a.type==="underline"?v.m("underline"):"",v.m(a.direction)]),g=N=>{f[N.href]=N.el},y=N=>{delete f[N]},b=N=>{s.value!==N&&(s.value=N,l(Ct,N))};let C=null,w="";const _=N=>{if(!d.value)return;const R=kd(N);if(!R)return;if(C){if(w===N)return;C()}w=N,h=!0;const K=x4(R,d.value),H=m2(R,K),z=K.scrollHeight-K.clientHeight,V=Math.min(H-a.offset,z);C=xI(d.value,m,V,a.duration,()=>{setTimeout(()=>{h=!1,w=""},20)})},k=N=>{N&&(b(N),_(N))},M=(N,R)=>{l("click",N,R),k(R)},E=qde(()=>{d.value&&(m=k4(d.value));const N=T();h||Mt(N)||b(N)}),T=()=>{if(!d.value)return;const N=k4(d.value),R=[];for(const K of Object.keys(f)){const H=kd(K);if(!H)continue;const z=m2(H,x4(H,d.value));R.push({top:z-a.offset-a.bound,href:K})}R.sort((K,H)=>K.top-H.top);for(let K=0;KN))return H.href}},O=()=>{const N=kd(a.container);!N||$c(N)?d.value=window:d.value=N};Wt(d,"scroll",E);const I=()=>{Pe(()=>{if(!u.value||!c.value||!s.value){r.value={};return}const N=f[s.value];if(!N){r.value={};return}const R=u.value.getBoundingClientRect(),K=c.value.getBoundingClientRect(),H=N.getBoundingClientRect();a.direction==="horizontal"?r.value={left:`${H.left-R.left}px`,width:`${H.width}px`,opacity:1}:r.value={top:`${H.top-R.top+(H.height-K.height)/2}px`,opacity:1}})};return ce(s,I),ce(()=>{var N;return(N=o.default)==null?void 0:N.call(o)},I),mt(()=>{O();const N=decodeURIComponent(window.location.hash);kd(N)?k(N):E()}),ce(()=>a.container,()=>{O()}),Et(hS,{ns:v,direction:a.direction,currentAnchor:s,addLink:g,removeLink:y,handleClick:M}),t({scrollTo:k}),(N,R)=>(S(),A("div",{ref_key:"anchorRef",ref:u,class:P(p.value)},[e.marker?(S(),A("div",{key:0,ref_key:"markerRef",ref:c,class:P(i(v).e("marker")),style:Ye(r.value)},null,6)):oe("v-if",!0),$("div",{class:P(i(v).e("list"))},[le(N.$slots,"default")],2)],2))}}),Yde=Ude;const Gde=ke({title:String,href:String}),Xde=["href"];var Jde=W({name:"ElAnchorLink",__name:"anchor-link",props:Gde,setup(e){const t=e,n=B(null),{ns:a,direction:l,currentAnchor:o,addLink:s,removeLink:r,handleClick:u}=De(hS),c=x(()=>[a.e("link"),a.is("active",o.value===t.href)]),d=f=>{u(f,t.href)};return ce(()=>t.href,(f,h)=>{Pe(()=>{h&&r(h),f&&s({href:f,el:n.value})})}),mt(()=>{const{href:f}=t;f&&s({href:f,el:n.value})}),Ht(()=>{const{href:f}=t;f&&r(f)}),(f,h)=>(S(),A("div",{class:P(i(a).e("item"))},[$("a",{ref_key:"linkRef",ref:n,class:P(c.value),href:e.href,onClick:d},[le(f.$slots,"default",{},()=>[bt(Se(e.title),1)])],10,Xde),f.$slots["sub-link"]&&i(l)==="vertical"?(S(),A("div",{key:0,class:P(i(a).e("list"))},[le(f.$slots,"sub-link")],2)):oe("v-if",!0)],2))}}),vS=Jde;const Zde=ct(Yde,{AnchorLink:vS}),Qde=mn(vS),mS={label:"label",value:"value",disabled:"disabled"},efe=ke({direction:{type:Y(String),default:"horizontal"},options:{type:Y(Array),default:()=>[]},modelValue:{type:[String,Number,Boolean],default:void 0},props:{type:Y(Object),default:()=>mS},block:Boolean,size:zn,disabled:{type:Boolean,default:void 0},validateEvent:{type:Boolean,default:!0},id:String,name:String,...xa(["ariaLabel"])}),tfe={[it]:e=>Ne(e)||qe(e)||qt(e),[Ct]:e=>Ne(e)||qe(e)||qt(e)},nfe=["id","aria-label","aria-labelledby"],afe=["name","disabled","checked","onChange"];var lfe=W({name:"ElSegmented",__name:"segmented",props:efe,emits:tfe,setup(e,{emit:t}){const n=e,a=t,l=ye("segmented"),o=oa(),s=Pn(),r=hn(),{formItem:u}=Xn(),{inputId:c,isLabeledByFormItem:d}=Ua(n,{formItemContext:u}),f=B(null),h=_T(),m=Dt({isInit:!1,width:0,height:0,translateX:0,translateY:0,focusVisible:!1}),v=(I,N)=>{const R=g(N);a(it,R),a(Ct,R),I.target.checked=R===n.modelValue},p=x(()=>({...mS,...n.props})),g=I=>rt(I)?I[p.value.value]:I,y=I=>rt(I)?I[p.value.label]:I,b=I=>!!(r.value||rt(I)&&I[p.value.disabled]),C=I=>n.modelValue===g(I),w=I=>n.options.find(N=>g(N)===I),_=I=>[l.e("item"),l.is("selected",C(I)),l.is("disabled",b(I))],k=()=>{if(!f.value)return;const I=f.value.querySelector(".is-selected"),N=f.value.querySelector(".is-selected input");if(!I||!N){m.width=0,m.height=0,m.translateX=0,m.translateY=0,m.focusVisible=!1;return}m.isInit=!0,n.direction==="vertical"?(m.height=I.offsetHeight,m.translateY=I.offsetTop):(m.width=I.offsetWidth,m.translateX=I.offsetLeft);try{m.focusVisible=N.matches(":focus-visible")}catch{}},M=x(()=>[l.b(),l.m(s.value),l.is("block",n.block)]),E=x(()=>({width:n.direction==="vertical"?"100%":`${m.width}px`,height:n.direction==="vertical"?`${m.height}px`:"100%",transform:n.direction==="vertical"?`translateY(${m.translateY}px)`:`translateX(${m.translateX}px)`,display:m.isInit?"block":"none"})),T=x(()=>[l.e("item-selected"),l.is("disabled",b(w(n.modelValue))),l.is("focus-visible",m.focusVisible)]),O=x(()=>n.name||o.value);return rn(f,k),ce(h,k),ce(()=>n.options,k,{deep:!0,flush:"post"}),ce(()=>n.modelValue,()=>{var I;k(),n.validateEvent&&((I=u==null?void 0:u.validate)==null||I.call(u,"change").catch(ut))},{flush:"post"}),(I,N)=>e.options.length?(S(),A("div",{key:0,id:i(c),ref_key:"segmentedRef",ref:f,class:P(M.value),role:"radiogroup","aria-label":i(d)?void 0:e.ariaLabel||"segmented","aria-labelledby":i(d)?i(u).labelId:void 0},[$("div",{class:P([i(l).e("group"),i(l).m(e.direction)])},[$("div",{style:Ye(E.value),class:P(T.value)},null,6),(S(!0),A(He,null,wt(e.options,(R,K)=>(S(),A("label",{key:K,class:P(_(R))},[$("input",{class:P(i(l).e("item-input")),type:"radio",name:O.value,disabled:b(R),checked:C(R),onChange:H=>v(H,R)},null,42,afe),$("div",{class:P(i(l).e("item-label"))},[le(I.$slots,"default",{item:R},()=>[bt(Se(y(R)),1)])],2)],2))),128))],2)],10,nfe)):oe("v-if",!0)}}),ofe=lfe;const sfe=ct(ofe),rfe=(e,t)=>{const n=e.toLowerCase();return(t.label||t.value||"").toLowerCase().includes(n)},ife=(e,t,n)=>{const{selectionEnd:a}=e;if(a===null)return;const l=e.value,o=Wn(t);let s=-1,r;for(let u=a-1;u>=0;--u){const c=l[u];if(s===-1&&(c===n||c===` +`||c==="\r")){s=u;continue}if(o.includes(c)){const d=s===-1?a:s;r={pattern:l.slice(u+1,d),start:u+1,end:d,prefix:c,prefixIndex:u,splitIndex:s,selectionEnd:a};break}}return r},ufe=(e,t={debug:!1,useSelectionEnd:!1})=>{const n=e.selectionStart!==null?e.selectionStart:0,a=e.selectionEnd!==null?e.selectionEnd:0,l=t.useSelectionEnd?a:n,o=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"];if(t.debug){const h=document.querySelector("#input-textarea-caret-position-mirror-div");h!=null&&h.parentNode&&h.parentNode.removeChild(h)}const s=document.createElement("div");s.id="input-textarea-caret-position-mirror-div",document.body.appendChild(s);const r=s.style,u=window.getComputedStyle(e),c=e.nodeName==="INPUT";r.whiteSpace=c?"nowrap":"pre-wrap",c||(r.wordWrap="break-word"),r.position="absolute",t.debug||(r.visibility="hidden"),o.forEach(h=>{if(c&&h==="lineHeight")if(u.boxSizing==="border-box"){const m=Number.parseInt(u.height),v=Number.parseInt(u.paddingTop)+Number.parseInt(u.paddingBottom)+Number.parseInt(u.borderTopWidth)+Number.parseInt(u.borderBottomWidth),p=v+Number.parseInt(u.lineHeight);m>p?r.lineHeight=`${m-v}px`:m===p?r.lineHeight=u.lineHeight:r.lineHeight="0"}else r.lineHeight=u.height;else r[h]=u[h]}),x0()?e.scrollHeight>Number.parseInt(u.height)&&(r.overflowY="scroll"):r.overflow="hidden",s.textContent=e.value.slice(0,Math.max(0,l)),c&&s.textContent&&(s.textContent=s.textContent.replace(/\s/g," "));const d=document.createElement("span");d.textContent=e.value.slice(Math.max(0,l))||".",d.style.position="relative",d.style.left=`${-e.scrollLeft}px`,d.style.top=`${-e.scrollTop}px`,s.appendChild(d);const f={top:d.offsetTop+Number.parseInt(u.borderTopWidth),left:d.offsetLeft+Number.parseInt(u.borderLeftWidth),height:Number.parseInt(u.fontSize)*1.5};return t.debug?d.style.backgroundColor="#aaa":document.body.removeChild(s),f.left>=e.clientWidth&&(f.left=e.clientWidth),f},cfe=ke({...V1,options:{type:Y(Array),default:()=>[]},prefix:{type:Y([String,Array]),default:"@",validator:e=>Ne(e)?e.length===1:e.every(t=>Ne(t)&&t.length===1)},split:{type:String,default:" ",validator:e=>e.length===1},filterOption:{type:Y([Boolean,Function]),default:()=>rfe,validator:e=>e===!1?!0:Ke(e)},placement:{type:Y(String),default:"bottom"},showArrow:Boolean,offset:{type:Number,default:0},whole:Boolean,checkIsWhole:{type:Y(Function)},modelValue:String,loading:Boolean,popperClass:on.popperClass,popperStyle:on.popperStyle,popperOptions:{type:Y(Object),default:()=>({})},props:{type:Y(Object),default:()=>gS}}),dfe={[it]:e=>Ne(e),"whole-remove":(e,t)=>Ne(e)&&Ne(t),input:e=>Ne(e),search:(e,t)=>Ne(e)&&Ne(t),select:(e,t)=>rt(e)&&Ne(t),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},gS={value:"value",label:"label",disabled:"disabled"},ffe=ke({options:{type:Y(Array),default:()=>[]},loading:Boolean,disabled:Boolean,contentId:String,ariaLabel:String}),pfe={select:e=>Ne(e.value)},hfe=["id","aria-disabled","aria-selected","onMousemove","onClick"];var vfe=W({name:"ElMentionDropdown",__name:"mention-dropdown",props:ffe,emits:pfe,setup(e,{expose:t,emit:n}){const a=e,l=n,o=ye("mention"),{t:s}=St(),r=B(-1),u=B(),c=B(),d=B(),f=(w,_)=>[o.be("dropdown","item"),o.is("hovering",r.value===_),o.is("disabled",w.disabled||a.disabled)],h=w=>{w.disabled||a.disabled||l("select",w)},m=w=>{r.value=w},v=x(()=>a.disabled||a.options.every(w=>w.disabled)),p=x(()=>a.options[r.value]),g=()=>{!p.value||p.value.disabled||a.disabled||l("select",p.value)},y=w=>{const{options:_}=a;if(_.length===0||v.value)return;w==="next"?(r.value++,r.value===_.length&&(r.value=0)):w==="prev"&&(r.value--,r.value<0&&(r.value=_.length-1));const k=_[r.value];if(k.disabled){y(w);return}Pe(()=>b(k))},b=w=>{var E,T,O,I;const{options:_}=a,k=_.findIndex(N=>N.value===w.value),M=(E=c.value)==null?void 0:E[k];if(M){const N=(O=(T=d.value)==null?void 0:T.querySelector)==null?void 0:O.call(T,`.${o.be("dropdown","wrap")}`);N&&c1(N,M)}(I=u.value)==null||I.handleScroll()};return ce(()=>a.options,()=>{v.value||a.options.length===0?r.value=-1:r.value=a.options.findIndex(w=>!w.disabled)},{immediate:!0}),t({hoveringIndex:r,navigateOptions:y,selectHoverOption:g,hoverOption:p}),(w,_)=>(S(),A("div",{ref_key:"dropdownRef",ref:d,class:P(i(o).b("dropdown"))},[w.$slots.header?(S(),A("div",{key:0,class:P(i(o).be("dropdown","header"))},[le(w.$slots,"header")],2)):oe("v-if",!0),ht(G(i(Dl),{id:e.contentId,ref_key:"scrollbarRef",ref:u,tag:"ul","wrap-class":i(o).be("dropdown","wrap"),"view-class":i(o).be("dropdown","list"),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},{default:ne(()=>[(S(!0),A(He,null,wt(e.options,(k,M)=>(S(),A("li",{id:`${e.contentId}-${M}`,ref_for:!0,ref_key:"optionRefs",ref:c,key:M,class:P(f(k,M)),role:"option","aria-disabled":k.disabled||e.disabled||void 0,"aria-selected":r.value===M,onMousemove:E=>m(M),onClick:Qe(E=>h(k),["stop"])},[le(w.$slots,"label",{item:k,index:M},()=>[$("span",null,Se(k.label??k.value),1)])],42,hfe))),128))]),_:3},8,["id","wrap-class","view-class","aria-label"]),[[It,e.options.length>0&&!e.loading]]),e.loading?(S(),A("div",{key:1,class:P(i(o).be("dropdown","loading"))},[le(w.$slots,"loading",{},()=>[bt(Se(i(s)("el.mention.loading")),1)])],2)):oe("v-if",!0),w.$slots.footer?(S(),A("div",{key:2,class:P(i(o).be("dropdown","footer"))},[le(w.$slots,"footer")],2)):oe("v-if",!0)],2))}}),mfe=vfe,gfe=W({name:"ElMention",inheritAttrs:!1,__name:"mention",props:cfe,emits:dfe,setup(e,{expose:t,emit:n}){const a=e,l=n,o=x(()=>{const V=aa.props??[];return fo(a,ve(V)?V:Object.keys(V))}),s=ye("mention"),r=hn(),u=oa(),c=B(),d=B(),f=B(),h=B(!1),m=B(),v=B(),p=x(()=>a.showArrow?a.placement:`${a.placement}-start`),g=x(()=>a.showArrow?["bottom","top"]:["bottom-start","top-start"]),y=x(()=>({...gS,...a.props})),b=V=>{const L={label:V[y.value.label],value:V[y.value.value],disabled:V[y.value.disabled]};return{...V,...L}},C=x(()=>a.options.map(b)),w=x(()=>{const{filterOption:V}=a;return!v.value||!V?C.value:C.value.filter(L=>V(v.value.pattern,L))}),_=x(()=>h.value&&(!!w.value.length||a.loading)),k=x(()=>{var V;return`${u.value}-${(V=f.value)==null?void 0:V.hoveringIndex}`}),M=V=>{l(it,V),l(In,V),K()},E=V=>{var F,D,j,q;if((F=c.value)!=null&&F.isComposing)return;const L=Xt(V);switch(L){case Ce.left:case Ce.right:K();break;case Ce.up:case Ce.down:if(!h.value)return;V.preventDefault(),(D=f.value)==null||D.navigateOptions(L===Ce.up?"prev":"next");break;case Ce.enter:case Ce.numpadEnter:if(!h.value){a.type!=="textarea"&&K();return}V.preventDefault(),(j=f.value)!=null&&j.hoverOption?(q=f.value)==null||q.selectHoverOption():h.value=!1;break;case Ce.esc:if(!h.value)return;V.preventDefault(),h.value=!1;break;case Ce.backspace:if(a.whole&&v.value){const{splitIndex:Q,selectionEnd:ee,pattern:te,prefixIndex:ae,prefix:ue}=v.value,pe=R();if(!pe)return;const ge=pe.value,X=C.value.find(Z=>Z.value===te);if((Ke(a.checkIsWhole)?a.checkIsWhole(te,ue):X)&&Q!==-1&&Q+1===ee){V.preventDefault();const Z=ge.slice(0,ae)+ge.slice(Q+1);l(it,Z),l(In,Z),l("whole-remove",te,ue);const re=ae;Pe(()=>{pe.selectionStart=re,pe.selectionEnd=re,z()})}}}},{wrapperRef:T}=Jo(c,{disabled:r,afterFocus(){K()},beforeBlur(V){var L;return(L=d.value)==null?void 0:L.isFocusInsideContent(V)},afterBlur(){h.value=!1}}),O=()=>{K()},I=V=>a.options.find(L=>V.value===L[y.value.value]),N=V=>{if(!v.value)return;const L=R();if(!L)return;const F=L.value,{split:D}=a,j=F.slice(v.value.end),q=j.startsWith(D),Q=`${V.value}${q?"":D}`,ee=F.slice(0,v.value.start)+Q+j;l(it,ee),l(In,ee),l("select",I(V),v.value.prefix);const te=v.value.start+Q.length+(q?1:0);Pe(()=>{L.selectionStart=te,L.selectionEnd=te,L.focus(),z()})},R=()=>{var V,L;return a.type==="textarea"?(V=c.value)==null?void 0:V.textarea:(L=c.value)==null?void 0:L.input},K=()=>{setTimeout(()=>{H(),z(),Pe(()=>{var V;return(V=d.value)==null?void 0:V.updatePopper()})},0)},H=()=>{const V=R();if(!V)return;const L=ufe(V),F=V.getBoundingClientRect(),D=T.value.getBoundingClientRect();m.value={position:"absolute",width:0,height:`${L.height}px`,left:`${L.left+F.left-D.left}px`,top:`${L.top+F.top-D.top}px`}},z=()=>{const V=R();if(document.activeElement!==V){h.value=!1;return}const{prefix:L,split:F}=a;if(v.value=ife(V,L,F),v.value&&v.value.splitIndex===-1){h.value=!0,l("search",v.value.pattern,v.value.prefix);return}h.value=!1};return t({input:c,tooltip:d,dropdownVisible:_}),(V,L)=>(S(),A("div",{ref_key:"wrapperRef",ref:T,class:P(i(s).b())},[G(i(aa),vt(vt(o.value,V.$attrs),{ref_key:"elInputRef",ref:c,"model-value":e.modelValue,disabled:i(r),role:_.value?"combobox":void 0,"aria-activedescendant":_.value?k.value||"":void 0,"aria-controls":_.value?i(u):void 0,"aria-expanded":_.value||void 0,"aria-label":e.ariaLabel,"aria-autocomplete":_.value?"none":void 0,"aria-haspopup":_.value?"listbox":void 0,onInput:M,onKeydown:E,onMousedown:O}),da({_:2},[wt(V.$slots,(F,D)=>({name:D,fn:ne(j=>[le(V.$slots,D,El(Ol(j)))])}))]),1040,["model-value","disabled","role","aria-activedescendant","aria-controls","aria-expanded","aria-label","aria-autocomplete","aria-haspopup"]),G(i(Gn),{ref_key:"tooltipRef",ref:d,visible:_.value,"popper-class":[i(s).e("popper"),e.popperClass],"popper-style":e.popperStyle,"popper-options":e.popperOptions,placement:p.value,"fallback-placements":g.value,effect:"light",pure:"",offset:e.offset,"show-arrow":e.showArrow},{default:ne(()=>[$("div",{style:Ye(m.value)},null,4)]),content:ne(()=>[G(mfe,{ref_key:"dropdownRef",ref:f,options:w.value,disabled:i(r),loading:e.loading,"content-id":i(u),"aria-label":e.ariaLabel,onSelect:N,onClick:L[0]||(L[0]=Qe(F=>{var D;return(D=c.value)==null?void 0:D.focus()},["stop"]))},da({_:2},[wt(V.$slots,(F,D)=>({name:D,fn:ne(j=>[le(V.$slots,D,El(Ol(j)))])}))]),1032,["options","disabled","loading","content-id","aria-label"])]),_:3},8,["visible","popper-class","popper-style","popper-options","placement","fallback-placements","offset","show-arrow"])],2))}}),yfe=gfe;const bfe=ct(yfe),wfe=ke({layout:{type:String,default:"horizontal",values:["horizontal","vertical"]},lazy:Boolean}),Cfe={resizeStart:(e,t)=>!0,resize:(e,t)=>!0,resizeEnd:(e,t)=>!0,collapse:(e,t,n)=>!0},_fe=ke({min:{type:[String,Number]},max:{type:[String,Number]},size:{type:[String,Number]},resizable:{type:Boolean,default:!0},collapsible:Boolean}),Sfe={"update:size":e=>typeof e=="number"||typeof e=="string"};function xfe(e){const t=B(),{width:n,height:a}=Cf(t);return{containerEl:t,containerSize:x(()=>e.value==="horizontal"?n.value:a.value)}}function km(e){return Number(e.slice(0,-1))/100}function Em(e){return Number(e.slice(0,-2))}function Tm(e){return Ne(e)&&e.endsWith("%")}function Mm(e){return Ne(e)&&e.endsWith("px")}function kfe(e,t){const n=x(()=>e.value.map(s=>s.size)),a=x(()=>e.value.length),l=B([]);ce([n,a,t],()=>{var c;let s=[],r=0;for(let d=0;dd+(f||0),0);if(u>1||!r){const d=1/u;s=s.map(f=>f===void 0?0:f*d)}else{const d=(1-u)/r;s=s.map(f=>f===void 0?d:f)}l.value=s});const o=s=>s*t.value;return{percentSizes:l,pxSizes:x(()=>l.value.map(o))}}function Efe(e,t,n,a){const l=g=>g*t.value||0;function o(g,y){return Tm(g)?l(km(g)):Mm(g)?Em(g):g??y}const s=B(0),r=B(null);let u=[],c=ut;const d=x(()=>e.value.map(g=>[g.min,g.max]));ce(a,()=>{if(s.value){const g=new MouseEvent("mouseup",{bubbles:!0});window.dispatchEvent(g)}});const f=g=>{s.value=0,r.value={index:g,confirmed:!1},u=n.value},h=(g,y)=>{var I;let b=null;if((!r.value||!r.value.confirmed)&&y!==0){if(y>0)b=g,r.value={index:g,confirmed:!0};else for(let N=g;N>=0;N-=1)if(u[N]>0){b=N,r.value={index:N,confirmed:!0};break}}const C=b??((I=r.value)==null?void 0:I.index)??g,w=[...u],_=C+1,k=o(d.value[C][0],0),M=o(d.value[_][0],0),E=o(d.value[C][1],t.value||0),T=o(d.value[_][1],t.value||0);let O=y;w[C]+OE&&(O=E-w[C]),w[_]-O>T&&(O=w[_]-T),w[C]+=O,w[_]-=O,s.value=O,c=()=>{e.value.forEach((N,R)=>{N.size=w[R]}),c=ut},a.value||c()},m=()=>{a.value&&c(),s.value=0,r.value=null,u=[]},v=[];return{lazyOffset:s,onMoveStart:f,onMoving:h,onMoveEnd:m,movingIndex:r,onCollapse:(g,y)=>{v.length||v.push(...n.value.map((M,E)=>{var T;return M<=0?o((T=d.value[E])==null?void 0:T[0],0):M}));const b=n.value,C=y==="start"?g:g+1,w=y==="start"?g+1:g,_=b[C],k=b[w];if(_!==0&&k!==0)b[C]=0,b[w]+=_,v[g]=_;else{const M=_+k,E=za(v[g],0,M),T=M-E;b[w]=E,b[C]=T}e.value.forEach((M,E)=>{M.size=b[E]})}}}const yS=Symbol("splitterRootContextKey");var Tfe=W({name:"ElSplitter",__name:"splitter",props:wfe,emits:Cfe,setup(e,{emit:t}){const n=ye("splitter"),a=t,l=e,o=At(l,"layout"),s=At(l,"lazy"),{containerEl:r,containerSize:u}=xfe(o),{removeChild:c,children:d,addChild:f,ChildrenSorter:h}=F0(st(),"ElSplitterPanel");ce(d,()=>{g.value=null,d.value.forEach((O,I)=>{O.setIndex(I)})});const{percentSizes:m,pxSizes:v}=kfe(d,u),{lazyOffset:p,movingIndex:g,onMoveStart:y,onMoving:b,onMoveEnd:C,onCollapse:w}=Efe(d,u,v,s),_=x(()=>({[n.cssVarBlockName("bar-offset")]:s.value?`${p.value}px`:void 0}));return Et(yS,Dt({panels:d,percentSizes:m,pxSizes:v,layout:o,lazy:s,movingIndex:g,containerSize:u,onMoveStart:O=>{y(O),a("resizeStart",O,v.value)},onMoving:(O,I)=>{b(O,I),s.value||a("resize",O,v.value)},onMoveEnd:async O=>{C(),await Pe(),a("resizeEnd",O,v.value)},onCollapse:(O,I)=>{w(O,I),a("collapse",O,I,v.value)},registerPanel:f,unregisterPanel:c})),(O,I)=>(S(),A("div",{ref_key:"containerEl",ref:r,class:P([i(n).b(),i(n).e(o.value)]),style:Ye(_.value)},[le(O.$slots,"default"),G(i(h)),oe(" Prevent iframe touch events from breaking "),i(g)?(S(),A("div",{key:0,class:P([i(n).e("mask"),i(n).e(`mask-${o.value}`)])},null,2)):oe("v-if",!0)],6))}}),Mfe=Tfe;function Ofe(e){return e&&rt(e)?e:{start:!!e,end:!!e}}function E6(e,t,n,a){return!!(e!=null&&e.collapsible.end&&t>0||n!=null&&n.collapsible.start&&a===0&&t>0)}var $fe=W({name:"ElSplitterBar",__name:"split-bar",props:{index:{type:Number,required:!0},layout:{type:String,values:["horizontal","vertical"],default:"horizontal"},resizable:{type:Boolean,default:!0},lazy:Boolean,startCollapsible:Boolean,endCollapsible:Boolean},emits:["moveStart","moving","moveEnd","collapse"],setup(e,{emit:t}){const n=ye("splitter-bar"),a=e,l=t,o=x(()=>a.layout==="horizontal"),s=x(()=>o.value?{width:0}:{height:0}),r=x(()=>({width:o.value?"16px":"100%",height:o.value?"100%":"16px",cursor:a.resizable?o.value?"ew-resize":"ns-resize":"auto",touchAction:"none"})),u=x(()=>{const b=n.e("dragger");return{[`${b}-horizontal`]:o.value,[`${b}-vertical`]:!o.value,[`${b}-active`]:!!c.value}}),c=B(null),d=b=>{a.resizable&&(c.value=[b.pageX,b.pageY],l("moveStart",a.index),window.addEventListener("mouseup",v),window.addEventListener("mousemove",h))},f=b=>{if(a.resizable&&b.touches.length===1){b.preventDefault();const C=b.touches[0];c.value=[C.pageX,C.pageY],l("moveStart",a.index),window.addEventListener("touchend",p),window.addEventListener("touchmove",m)}},h=b=>{const{pageX:C,pageY:w}=b,_=C-c.value[0],k=w-c.value[1],M=o.value?_:k;l("moving",a.index,M)},m=b=>{if(b.touches.length===1){b.preventDefault();const C=b.touches[0],w=C.pageX-c.value[0],_=C.pageY-c.value[1],k=o.value?w:_;l("moving",a.index,k)}},v=()=>{c.value=null,window.removeEventListener("mouseup",v),window.removeEventListener("mousemove",h),l("moveEnd",a.index)},p=()=>{c.value=null,window.removeEventListener("touchend",p),window.removeEventListener("touchmove",m),l("moveEnd",a.index)},g=x(()=>o.value?mo:zc),y=x(()=>o.value?ua:jl);return(b,C)=>(S(),A("div",{class:P([i(n).b()]),style:Ye(s.value)},[e.startCollapsible?(S(),A("div",{key:0,class:P([i(n).e("collapse-icon"),i(n).e(`${e.layout}-collapse-icon-start`)]),onClick:C[0]||(C[0]=w=>l("collapse",e.index,"start"))},[le(b.$slots,"start-collapsible",{},()=>[(S(),ie(ft(g.value),{style:{width:"12px",height:"12px"}}))])],2)):oe("v-if",!0),$("div",{class:P([i(n).e("dragger"),u.value,i(n).is("disabled",!e.resizable),i(n).is("lazy",e.resizable&&e.lazy)]),style:Ye(r.value),onMousedown:d,onTouchstart:f},null,38),e.endCollapsible?(S(),A("div",{key:1,class:P([i(n).e("collapse-icon"),i(n).e(`${e.layout}-collapse-icon-end`)]),onClick:C[1]||(C[1]=w=>l("collapse",e.index,"end"))},[le(b.$slots,"end-collapsible",{},()=>[(S(),ie(ft(y.value),{style:{width:"12px",height:"12px"}}))])],2)):oe("v-if",!0)],6))}}),Nfe=$fe;const T6="ElSplitterPanel";var Afe=W({name:T6,__name:"split-panel",props:_fe,emits:Sfe,setup(e,{expose:t,emit:n}){const a=ye("splitter-panel"),l=e,o=n,s=De(yS);s||vn(T6,"usage: ");const{panels:r,layout:u,lazy:c,containerSize:d,pxSizes:f}=Bn(s),{registerPanel:h,unregisterPanel:m,onCollapse:v,onMoveEnd:p,onMoveStart:g,onMoving:y}=s,b=B(),C=st(),w=C.uid,_=B(0),k=x(()=>r.value[_.value]),M=L=>{_.value=L},E=x(()=>k.value?f.value[_.value]??0:0),T=x(()=>k.value?f.value[_.value+1]??0:0),O=x(()=>k.value?r.value[_.value+1]:null),I=x(()=>{var L;return O.value?l.resizable&&((L=O.value)==null?void 0:L.resizable)&&(E.value!==0||!l.min)&&(T.value!==0||!O.value.min):!1}),N=x(()=>k.value?_.value!==r.value.length-1:!1),R=x(()=>E6(k.value,E.value,O.value,T.value)),K=x(()=>E6(O.value,T.value,k.value,E.value));function H(L){return Tm(L)?km(L)*d.value||0:Mm(L)?Em(L):L??0}let z=!1;ce(()=>l.size,()=>{if(!z&&k.value){if(!d.value){k.value.size=l.size;return}const L=H(l.size),F=H(l.max),D=H(l.min),j=Math.min(Math.max(L,D||0),F||L);j!==L&&o("update:size",j),k.value.size=j}}),ce(()=>{var L;return(L=k.value)==null?void 0:L.size},L=>{L!==l.size&&(z=!0,o("update:size",L),Pe(()=>z=!1))}),ce(()=>l.resizable,L=>{k.value&&(k.value.resizable=L)});const V=Dt({uid:w,getVnode:()=>C.vnode,setIndex:M,...l,collapsible:x(()=>Ofe(l.collapsible))});return h(V),Ht(()=>m(V)),t({splitterPanelRef:b}),(L,F)=>(S(),A(He,null,[$("div",vt({ref_key:"panelEl",ref:b,class:[i(a).b()],style:{flexBasis:`${E.value}px`}},L.$attrs),[le(L.$slots,"default")],16),N.value?(S(),ie(Nfe,{key:0,index:_.value,layout:i(u),lazy:i(c),resizable:I.value,"start-collapsible":R.value,"end-collapsible":K.value,onMoveStart:i(g),onMoving:i(y),onMoveEnd:i(p),onCollapse:i(v)},{"start-collapsible":ne(()=>[le(L.$slots,"start-collapsible")]),"end-collapsible":ne(()=>[le(L.$slots,"end-collapsible")]),_:3},8,["index","layout","lazy","resizable","start-collapsible","end-collapsible","onMoveStart","onMoving","onMoveEnd","onCollapse"])):oe("v-if",!0)],64))}}),bS=Afe;const Ife=ct(Mfe,{SplitPanel:bS}),Pfe=mn(bS),Rfe="2.14.5",Vfe=(e=[])=>({version:Rfe,install:(n,a)=>{n[Pg]||(n[Pg]=!0,e.forEach(l=>n.use(l)),a&&B1(a,n,!0))}}),xl="ElInfiniteScroll",Lfe={delay:{type:Number,default:200},distance:{type:Number,default:0},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},Om=(e,t)=>Object.entries(Lfe).reduce((n,[a,l])=>{const{type:o,default:s}=l,r=e.getAttribute(`infinite-scroll-${a}`);let u=t[r]??r??s;return u=u==="false"?!1:u,u=o(u),n[a]=Number.isNaN(u)?s:u,n},{}),wS=e=>{const{observer:t}=e[xl];t&&(t.disconnect(),delete e[xl].observer)},Bfe=(e,t)=>{const{container:n,containerEl:a,instance:l,observer:o,lastScrollTop:s}=e[xl],{disabled:r,distance:u}=Om(e,l),{clientHeight:c,scrollHeight:d,scrollTop:f}=a,h=f-s;if(e[xl].lastScrollTop=f,o||r||h<0)return;let m=!1;if(n===e)m=d-(c+f)<=u;else{const{clientTop:v,scrollHeight:p}=e,g=m2(e,a);m=f+c>=g+v+p-u}m&&t.call(l)};function Zp(e,t){const{containerEl:n,instance:a}=e[xl],{disabled:l}=Om(e,a);l||n.clientHeight===0||(n.scrollHeight<=n.clientHeight?t.call(a):wS(e))}const zfe={async mounted(e,t){const{instance:n,value:a}=t;lo({scope:xl,from:"the directive v-infinite-scroll",replacement:"the el-scrollbar infinite scroll",version:"3.0.0",ref:"https://element-plus.org/en-US/component/scrollbar#infinite-scroll"},!0),Ke(a)||vn(xl,"'v-infinite-scroll' binding value must be a function"),await Pe();const{delay:l,immediate:o}=Om(e,n),s=u1(e,!0),r=s===window?document.documentElement:s,u=hs(Bfe.bind(null,e,a),l);if(s){if(e[xl]={instance:n,container:s,containerEl:r,delay:l,cb:a,onScroll:u,lastScrollTop:r.scrollTop},o){const c=new MutationObserver(hs(Zp.bind(null,e,a),50));e[xl].observer=c,c.observe(e,{childList:!0,subtree:!0}),Zp(e,a)}s.addEventListener("scroll",u)}},unmounted(e){if(!e.ElInfiniteScroll)return;const{container:t,onScroll:n}=e[xl];t==null||t.removeEventListener("scroll",n),wS(e)},async updated(e){if(!e.ElInfiniteScroll)await Pe();else{const{containerEl:t,cb:n,observer:a}=e[xl];t.clientHeight&&a&&Zp(e,n)}}},I2=zfe;I2.install=e=>{e.directive("InfiniteScroll",I2)};const Dfe=I2;function Hfe(e,t){let n;const a=B(!1),l=Dt({...e,originalPosition:"",originalOverflow:"",visible:!1});function o(h){l.text=h}function s(){const h=l.parent,m=f.ns;if(!h.vLoadingAddClassList){let v=h.getAttribute("loading-number");v=Number.parseInt(v)-1,v?h.setAttribute("loading-number",v.toString()):(Ca(h,m.bm("parent","relative")),h.removeAttribute("loading-number")),Ca(h,m.bm("parent","hidden"))}r(),d.unmount()}function r(){var h,m;(m=(h=f.$el)==null?void 0:h.parentNode)==null||m.removeChild(f.$el)}function u(){var h;e.beforeClose&&!e.beforeClose()||(a.value=!0,clearTimeout(n),n=setTimeout(c,400),l.visible=!1,(h=e.closed)==null||h.call(e))}function c(){if(!a.value)return;const h=l.parent;a.value=!1,h.vLoadingAddClassList=void 0,s()}const d=zu(W({name:"ElLoading",setup(h,{expose:m}){const{ns:v,zIndex:p}=U0("loading");return m({ns:v,zIndex:p}),()=>{const g=l.spinner||l.svg,y=Je("svg",{class:"circular",viewBox:l.svgViewBox?l.svgViewBox:"0 0 50 50",...g?{innerHTML:g}:{}},g?void 0:[Je("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),b=l.text?Je("p",{class:v.b("text")},[l.text]):void 0;return Je(Yn,{name:v.b("fade"),onAfterLeave:c},{default:ne(()=>[ht(G("div",{style:{backgroundColor:l.background||""},class:[v.b("mask"),l.customClass,v.is("fullscreen",l.fullscreen)]},[Je("div",{class:v.b("spinner")},[y,b])]),[[It,l.visible]])])})}}}));Object.assign(d._context,t??{});const f=d.mount(document.createElement("div"));return{...Bn(l),setText:o,removeElLoadingChild:r,close:u,handleAfterLeave:c,vm:f,get $el(){return f.$el}}}let Ed;const ui=function(e={},t){if(!Bt)return;const n=Ffe(e);if(n.fullscreen&&Ed)return Ed;const a=Hfe({...n,closed:()=>{var o;(o=n.closed)==null||o.call(n),n.fullscreen&&(Ed=void 0)}},t??ui._context);Kfe(n,n.parent,a),M6(n,n.parent,a),n.parent.vLoadingAddClassList=()=>M6(n,n.parent,a);let l=n.parent.getAttribute("loading-number");return l?l=`${Number.parseInt(l)+1}`:l="1",n.parent.setAttribute("loading-number",l),n.parent.appendChild(a.$el),Pe(()=>a.visible.value=n.visible),n.fullscreen&&(Ed=a),a},Ffe=e=>{let t;return Ne(e.target)?t=document.querySelector(e.target)??document.body:t=e.target||document.body,{parent:t===document.body||e.body?document.body:t,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:t===document.body&&(e.fullscreen??!0),lock:e.lock??!1,customClass:e.customClass||"",visible:e.visible??!0,beforeClose:e.beforeClose,closed:e.closed,target:t}},Kfe=async(e,t,n)=>{const{nextZIndex:a}=n.vm.zIndex||n.vm._.exposed.zIndex,l={};if(e.fullscreen)n.originalPosition.value=Io(document.body,"position"),n.originalOverflow.value=Io(document.body,"overflow"),l.zIndex=a();else if(e.parent===document.body){n.originalPosition.value=Io(document.body,"position"),await Pe();for(const o of["top","left"]){const s=o==="top"?"scrollTop":"scrollLeft";l[o]=`${e.target.getBoundingClientRect()[o]+document.body[s]+document.documentElement[s]-Number.parseInt(Io(document.body,`margin-${o}`),10)}px`}for(const o of["height","width"])l[o]=`${e.target.getBoundingClientRect()[o]}px`}else n.originalPosition.value=Io(t,"position");for(const[o,s]of Object.entries(l))n.$el.style[o]=s},M6=(e,t,n)=>{const a=n.vm.ns||n.vm._.exposed.ns;["absolute","fixed","sticky"].includes(n.originalPosition.value)?Ca(t,a.bm("parent","relative")):dl(t,a.bm("parent","relative")),e.fullscreen&&e.lock?dl(t,a.bm("parent","hidden")):Ca(t,a.bm("parent","hidden"))};ui._context=null;const bu=Symbol("ElLoading"),Ds=e=>`element-loading-${Ma(e)}`,O6=(e,t)=>{const n=t.instance,a=c=>rt(t.value)?t.value[c]:void 0,l=c=>B(Ne(c)&&(n==null?void 0:n[c])||c),o=c=>l(a(c)||e.getAttribute(Ds(c))),s=a("fullscreen")??t.modifiers.fullscreen,r={text:o("text"),svg:o("svg"),svgViewBox:o("svgViewBox"),spinner:o("spinner"),background:o("background"),customClass:o("customClass"),fullscreen:s,target:a("target")??(s?void 0:e),body:a("body")??t.modifiers.body,lock:a("lock")??t.modifiers.lock},u=ui(r);u._context=Nu._context,e[bu]={options:r,instance:u}},Wfe=(e,t)=>{for(const n of Object.keys(e))en(e[n])&&(e[n].value=t[n])},Nu={mounted(e,t){t.value&&O6(e,t)},updated(e,t){const n=e[bu];if(!t.value){n==null||n.instance.close(),e[bu]=null;return}n?Wfe(n.options,rt(t.value)?t.value:{text:e.getAttribute(Ds("text")),svg:e.getAttribute(Ds("svg")),svgViewBox:e.getAttribute(Ds("svgViewBox")),spinner:e.getAttribute(Ds("spinner")),background:e.getAttribute(Ds("background")),customClass:e.getAttribute(Ds("customClass"))}):O6(e,t)},unmounted(e){var t;(t=e[bu])==null||t.instance.close(),e[bu]=null}};Nu._context=null;const jfe={install(e){ui._context=e._context,Nu._context=e._context,e.directive("loading",Nu),e.config.globalProperties.$loading=ui},directive:Nu,service:ui},CS=["primary","success","info","warning","error"],_S=["top","top-left","top-right","bottom","bottom-left","bottom-right"],va=yn({customClass:"",dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,placement:void 0,zIndex:0,grouping:!1,repeatNum:1,appendTo:Bt?document.body:void 0}),qfe=ke({customClass:{type:Y([String,Array,Object,Boolean]),default:va.customClass},dangerouslyUseHTMLString:{type:Boolean,default:va.dangerouslyUseHTMLString},duration:{type:Number,default:va.duration},icon:{type:Ut,default:va.icon},id:{type:String,default:va.id},message:{type:Y([String,Object,Function]),default:va.message},onClose:{type:Y(Function),default:va.onClose},showClose:{type:Boolean,default:va.showClose},type:{type:String,values:CS,default:va.type},plain:{type:Boolean,default:va.plain},offset:{type:Number,default:va.offset},placement:{type:String,values:_S,default:va.placement},zIndex:{type:Number,default:va.zIndex},grouping:{type:Boolean,default:va.grouping},repeatNum:{type:Number,default:va.repeatNum}}),Ufe={destroy:()=>!0},Il=hc({}),Yfe=e=>(Il[e]||(Il[e]=hc([])),Il[e]),Gfe=(e,t)=>{const n=Il[t]||[],a=n.findIndex(s=>s.id===e),l=n[a];let o;return a>0&&(o=n[a-1]),{current:l,prev:o}},Xfe=(e,t)=>{const{prev:n}=Gfe(e,t);return n?n.vm.exposed.bottom.value:0},Jfe=(e,t,n)=>(Il[n]||[]).findIndex(a=>a.id===e)>0?16:t,Zfe=["id"],Qfe=["innerHTML"];var e0e=W({name:"ElMessage",__name:"message",props:qfe,emits:Ufe,setup(e,{expose:t,emit:n}){const{Close:a}=N1,l=e,o=n,s=B(!1),{ns:r,zIndex:u}=U0("message"),{currentZIndex:c,nextZIndex:d}=u,f=B(),h=B(!1),m=B(0);let v;const p=x(()=>l.type?l.type==="error"?"danger":l.type:"info"),g=x(()=>{const R=l.type;return{[r.bm("icon",R)]:R&&Ms[R]}}),y=x(()=>l.icon||Ms[l.type]||""),b=x(()=>l.placement||"top"),C=x(()=>Xfe(l.id,b.value)),w=x(()=>Math.max(Jfe(l.id,l.offset,b.value)+C.value,l.offset)),_=x(()=>m.value+w.value),k=x(()=>b.value.includes("left")?r.is("left"):b.value.includes("right")?r.is("right"):r.is("center")),M=x(()=>b.value.startsWith("top")?"top":"bottom"),E=x(()=>({[M.value]:`${w.value}px`,zIndex:c.value}));function T(){l.duration!==0&&({stop:v}=Ci(()=>{I()},l.duration))}function O(){v==null||v()}function I(){h.value=!1,Pe(()=>{var R;s.value||((R=l.onClose)==null||R.call(l),o("destroy"))})}function N(R){Xt(R)===Ce.esc&&I()}return mt(()=>{T(),d(),h.value=!0}),ce(()=>l.repeatNum,()=>{O(),T()}),Wt(document,"keydown",N),rn(f,()=>{m.value=f.value.getBoundingClientRect().height}),t({visible:h,bottom:_,close:I}),(R,K)=>(S(),ie(Yn,{name:i(r).b("fade"),onBeforeEnter:K[0]||(K[0]=H=>s.value=!0),onBeforeLeave:e.onClose,onAfterLeave:K[1]||(K[1]=H=>R.$emit("destroy")),persisted:""},{default:ne(()=>[ht($("div",{id:e.id,ref_key:"messageRef",ref:f,class:P([i(r).b(),{[i(r).m(e.type)]:e.type},i(r).is("closable",e.showClose),i(r).is("plain",e.plain),i(r).is("bottom",M.value==="bottom"),k.value,e.customClass]),style:Ye(E.value),role:"alert",onMouseenter:O,onMouseleave:T},[e.repeatNum>1?(S(),ie(i(h9),{key:0,value:e.repeatNum,type:p.value,class:P(i(r).e("badge"))},null,8,["value","type","class"])):oe("v-if",!0),y.value?(S(),ie(i(Be),{key:1,class:P([i(r).e("icon"),g.value])},{default:ne(()=>[(S(),ie(ft(y.value)))]),_:1},8,["class"])):oe("v-if",!0),!e.dangerouslyUseHTMLString||R.$slots.default?(S(),A("p",{key:2,class:P(i(r).e("content"))},[le(R.$slots,"default",{},()=>[bt(Se(e.message),1)])],2)):(S(),A(He,{key:3},[oe(" Caution here, message could've been compromised, never use user's input as message "),$("p",{class:P(i(r).e("content")),innerHTML:e.message},null,10,Qfe)],2112)),e.showClose?(S(),ie(i(Be),{key:4,class:P(i(r).e("closeBtn")),onClick:Qe(I,["stop"])},{default:ne(()=>[G(i(a))]),_:1},8,["class"])):oe("v-if",!0)],46,Zfe),[[It,h.value]])]),_:3},8,["name","onBeforeLeave"]))}}),t0e=e0e;let n0e=1;const a0e=e=>{if(!e.appendTo)e.appendTo=document.body;else if(Ne(e.appendTo)){let t=document.querySelector(e.appendTo);Da(t)||(jt("ElMessage","the appendTo option is not an HTMLElement. Falling back to document.body."),t=document.body),e.appendTo=t}},l0e=e=>{!e.placement&&Ne(ma.placement)&&ma.placement&&(e.placement=ma.placement),e.placement||(e.placement="top"),_S.includes(e.placement)||(jt("ElMessage",`Invalid placement: ${e.placement}. Falling back to 'top'.`),e.placement="top")},SS=e=>{const t=!e||Ne(e)||Yt(e)||Ke(e)?{message:e}:e,n={...va,...t};return a0e(n),l0e(n),qt(ma.grouping)&&!n.grouping&&(n.grouping=ma.grouping),qe(ma.duration)&&n.duration===3e3&&(n.duration=ma.duration),qe(ma.offset)&&n.offset===16&&(n.offset=ma.offset),qt(ma.showClose)&&!n.showClose&&(n.showClose=ma.showClose),qt(ma.plain)&&!n.plain&&(n.plain=ma.plain),n},o0e=e=>{const t=Il[e.props.placement||"top"],n=t.indexOf(e);if(n===-1)return;t.splice(n,1);const{handler:a}=e;a.close()},s0e=({appendTo:e,...t},n)=>{const a=`message_${n0e++}`,l=t.onClose,o=document.createElement("div"),s={...t,id:a,onClose:()=>{l==null||l(),o0e(c)},onDestroy:()=>{Vl(null,o)}},r=G(t0e,s,Ke(s.message)||Yt(s.message)?{default:Ke(s.message)?s.message:()=>s.message}:null);r.appContext=n||Cr._context,Vl(r,o),e.appendChild(o.firstElementChild);const u=r.component,c={id:a,vnode:r,vm:u,handler:{close:()=>{u.exposed.close()}},props:r.component.props};return c},Cr=(e={},t)=>{if(!Bt)return{close:()=>{}};const n=SS(e),a=Yfe(n.placement||"top");if(n.grouping&&a.length){const o=a.find(({vnode:s})=>{var r;return((r=s.props)==null?void 0:r.message)===n.message});if(o)return o.props.repeatNum+=1,o.props.type=n.type,o.handler}if(qe(ma.max)&&a.length>=ma.max)return{close:()=>{}};const l=s0e(n,t);return a.push(l),l.handler};CS.forEach(e=>{Cr[e]=(t={},n)=>Cr({...SS(t),type:e},n)});function r0e(e){for(const t in Il)if(zt(Il,t)){const n=[...Il[t]];for(const a of n)(!e||e===a.props.type)&&a.handler.close()}}function i0e(e){Il[e]&&[...Il[e]].forEach(t=>t.handler.close())}Cr.closeAll=r0e;Cr.closeAllByPlacement=i0e;Cr._context=null;const u0e=M5(Cr,"$message");var c0e=W({name:"ElMessageBox",directives:{TrapFocus:lI},components:{ElButton:Un,ElFocusTrap:Ui,ElInput:aa,ElOverlay:Q1,ElIcon:Be,...N1},inheritAttrs:!1,props:{buttonSize:{type:String,validator:C_},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:Boolean,container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(e,{emit:t}){const{locale:n,zIndex:a,ns:l,size:o}=U0("message-box",x(()=>e.buttonSize)),{t:s}=n,{nextZIndex:r}=a,u=B(!1),c=Dt({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",cancelButtonType:"",confirmButtonType:"primary",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",closeIcon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:"",inputValidator:void 0,inputErrorMessage:"",message:"",modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:pl(wl),cancelButtonLoadingIcon:pl(wl),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:r()}),d=x(()=>{const H=c.type;return{[l.bm("icon",H)]:H&&Ms[H]}}),f=oa(),h=oa(),m=x(()=>{const H=c.type;return c.icon||H&&Ms[H]||""}),v=x(()=>!!c.message),p=B(),g=B(),y=B(),b=B(),C=B(),w=x(()=>c.confirmButtonClass);ce(()=>c.inputValue,async H=>{await Pe(),e.boxType==="prompt"&&H&&I()},{immediate:!0}),ce(()=>u.value,H=>{var z;H&&(e.boxType!=="prompt"&&(c.autofocus?y.value=((z=C.value)==null?void 0:z.$el)??p.value:y.value=p.value),c.zIndex=r()),e.boxType==="prompt"&&(H?Pe().then(()=>{b.value&&b.value.$el&&(c.autofocus?y.value=N()??p.value:y.value=p.value)}):(c.editorErrorMessage="",c.validateError=!1))});const{isDragging:_}=jw(p,g,x(()=>e.draggable),x(()=>e.overflow));mt(async()=>{await Pe(),e.closeOnHashChange&&window.addEventListener("hashchange",k)}),Ht(()=>{e.closeOnHashChange&&window.removeEventListener("hashchange",k)});function k(){u.value&&(u.value=!1,Pe(()=>{c.action&&t("action",c.action)}))}const M=()=>{e.closeOnClickModal&&O(c.distinguishCancelAndClose?"close":"cancel")},E=b1(M),T=H=>{var z;if(c.inputType!=="textarea"&&!((z=b.value)!=null&&z.isComposing))return H.preventDefault(),O("confirm")},O=H=>{var z;e.boxType==="prompt"&&H==="confirm"&&!I()||(c.action=H,c.beforeClose?(z=c.beforeClose)==null||z.call(c,H,c,k):k())},I=()=>{if(e.boxType==="prompt"){const H=c.inputPattern;if(H&&!H.test(c.inputValue||""))return c.editorErrorMessage=c.inputErrorMessage||s("el.messagebox.error"),c.validateError=!0,!1;const z=c.inputValidator;if(Ke(z)){const V=z(c.inputValue);if(V===!1)return c.editorErrorMessage=c.inputErrorMessage||s("el.messagebox.error"),c.validateError=!0,!1;if(Ne(V))return c.editorErrorMessage=V,c.validateError=!0,!1}}return c.editorErrorMessage="",c.validateError=!1,!0},N=()=>{var z;const H=(z=b.value)==null?void 0:z.$refs;return(H==null?void 0:H.input)??(H==null?void 0:H.textarea)},R=()=>{O("close")},K=()=>{e.closeOnPressEscape&&R()};return e.lockScroll&&R0(u,{ns:l}),{...Bn(c),ns:l,overlayEvent:E,visible:u,hasMessage:v,typeClass:d,contentId:f,inputId:h,btnSize:o,iconComponent:m,confirmButtonClasses:w,rootRef:p,focusStartRef:y,headerRef:g,inputRef:b,isDragging:_,confirmRef:C,doClose:k,handleClose:R,onCloseRequested:K,handleWrapperClick:M,handleInputEnter:T,handleAction:O,t:s}}});const d0e=["aria-label","aria-describedby"],f0e=["aria-label"],p0e=["id"];function h0e(e,t,n,a,l,o){const s=Kt("el-icon"),r=Kt("el-input"),u=Kt("el-button"),c=Kt("el-focus-trap"),d=Kt("el-overlay");return S(),ie(Yn,{name:"fade-in-linear",onAfterLeave:t[11]||(t[11]=f=>e.$emit("vanish")),persisted:""},{default:ne(()=>[ht(G(d,{"z-index":e.zIndex,"overlay-class":[e.ns.is("message-box"),e.modalClass],mask:e.modal},{default:ne(()=>[$("div",{role:"dialog","aria-label":e.title,"aria-modal":"true","aria-describedby":e.showInput?void 0:e.contentId,class:P(`${e.ns.namespace.value}-overlay-message-box`),onClick:t[8]||(t[8]=(...f)=>e.overlayEvent.onClick&&e.overlayEvent.onClick(...f)),onMousedown:t[9]||(t[9]=(...f)=>e.overlayEvent.onMousedown&&e.overlayEvent.onMousedown(...f)),onMouseup:t[10]||(t[10]=(...f)=>e.overlayEvent.onMouseup&&e.overlayEvent.onMouseup(...f))},[G(c,{loop:"",trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:ne(()=>[$("div",{ref:"rootRef",class:P([e.ns.b(),e.customClass,e.ns.is("draggable",e.draggable),e.ns.is("dragging",e.isDragging),{[e.ns.m("center")]:e.center}]),style:Ye(e.customStyle),tabindex:"-1",onClick:t[7]||(t[7]=Qe(()=>{},["stop"]))},[e.title!==null&&e.title!==void 0?(S(),A("div",{key:0,ref:"headerRef",class:P([e.ns.e("header"),{"show-close":e.showClose}])},[$("div",{class:P(e.ns.e("title"))},[e.iconComponent&&e.center?(S(),ie(s,{key:0,class:P([e.ns.e("status"),e.typeClass])},{default:ne(()=>[(S(),ie(ft(e.iconComponent)))]),_:1},8,["class"])):oe("v-if",!0),$("span",null,Se(e.title),1)],2),e.showClose?(S(),A("button",{key:0,type:"button",class:P(e.ns.e("headerbtn")),"aria-label":e.t("el.messagebox.close"),onClick:t[0]||(t[0]=f=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel")),onKeydown:t[1]||(t[1]=un(Qe(f=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[G(s,{class:P(e.ns.e("close"))},{default:ne(()=>[(S(),ie(ft(e.closeIcon||"close")))]),_:1},8,["class"])],42,f0e)):oe("v-if",!0)],2)):oe("v-if",!0),$("div",{id:e.contentId,class:P(e.ns.e("content"))},[$("div",{class:P(e.ns.e("container"))},[e.iconComponent&&!e.center&&e.hasMessage?(S(),ie(s,{key:0,class:P([e.ns.e("status"),e.typeClass])},{default:ne(()=>[(S(),ie(ft(e.iconComponent)))]),_:1},8,["class"])):oe("v-if",!0),e.hasMessage?(S(),A("div",{key:1,class:P(e.ns.e("message"))},[le(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(S(),ie(ft(e.showInput?"label":"p"),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,["for","innerHTML"])):(S(),ie(ft(e.showInput?"label":"p"),{key:0,for:e.showInput?e.inputId:void 0,textContent:Se(e.message)},null,8,["for","textContent"]))])],2)):oe("v-if",!0)],2),ht($("div",{class:P(e.ns.e("input"))},[G(r,{id:e.inputId,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":t[2]||(t[2]=f=>e.inputValue=f),type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:P({invalid:e.validateError}),onKeydown:un(e.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),$("div",{class:P(e.ns.e("errormsg")),style:Ye({visibility:e.editorErrorMessage?"visible":"hidden"})},Se(e.editorErrorMessage),7)],2),[[It,e.showInput]])],10,p0e),e.showCancelButton||e.showConfirmButton?(S(),A("div",{key:1,class:P(e.ns.e("btns"))},[e.showCancelButton?(S(),ie(u,{key:0,type:e.cancelButtonType==="text"?"":e.cancelButtonType,text:e.cancelButtonType==="text",loading:e.cancelButtonLoading,"loading-icon":e.cancelButtonLoadingIcon,class:P([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:t[3]||(t[3]=f=>e.handleAction("cancel")),onKeydown:t[4]||(t[4]=un(Qe(f=>e.handleAction("cancel"),["prevent"]),["enter"]))},{default:ne(()=>[bt(Se(e.cancelButtonText||e.t("el.messagebox.cancel")),1)]),_:1},8,["type","text","loading","loading-icon","class","round","size"])):oe("v-if",!0),ht(G(u,{ref:"confirmRef",type:e.confirmButtonType==="text"?"":e.confirmButtonType,text:e.confirmButtonType==="text",loading:e.confirmButtonLoading,"loading-icon":e.confirmButtonLoadingIcon,class:P([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:t[5]||(t[5]=f=>e.handleAction("confirm")),onKeydown:t[6]||(t[6]=un(Qe(f=>e.handleAction("confirm"),["prevent"]),["enter"]))},{default:ne(()=>[bt(Se(e.confirmButtonText||e.t("el.messagebox.confirm")),1)]),_:1},8,["type","text","loading","loading-icon","class","round","disabled","size"]),[[It,e.showConfirmButton]])],2)):oe("v-if",!0)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,d0e)]),_:3},8,["z-index","overlay-class","mask"]),[[It,e.visible]])]),_:3})}var v0e=Hn(c0e,[["render",h0e]]);const fc=new Map,m0e=e=>{let t=document.body;return e.appendTo&&(Ne(e.appendTo)&&(t=document.querySelector(e.appendTo)),Da(e.appendTo)&&(t=e.appendTo),Da(t)||(jt("ElMessageBox","the appendTo option is not an HTMLElement. Falling back to document.body."),t=document.body)),t},Qp=(e,t)=>{var a;const n=(a=e.component)==null?void 0:a.proxy;return()=>n.handleAction(t)},g0e=(e,t,n=null)=>{const a=G(v0e,e,Ke(e.message)||Yt(e.message)?{default:Ke(e.message)?()=>e.message({confirm:Qp(a,"confirm"),cancel:Qp(a,"cancel"),close:Qp(a,"close")}):()=>e.message}:null);return a.appContext=n,Vl(a,t),m0e(e).appendChild(t.firstElementChild),a.component},y0e=()=>document.createElement("div"),b0e=(e,t)=>{const n=y0e();e.onVanish=()=>{Vl(null,n),fc.delete(l)},e.onAction=o=>{const s=fc.get(l);let r;e.showInput?r={value:l.inputValue,action:o}:r=o,e.callback?e.callback(r,a.proxy):o==="cancel"||o==="close"?e.distinguishCancelAndClose&&o!=="cancel"?s.reject("close"):s.reject("cancel"):s.resolve(r)};const a=g0e(e,n,t),l=a.proxy;for(const o in e)zt(e,o)&&!zt(l.$props,o)&&(o==="closeIcon"&&rt(e[o])?l[o]=pl(e[o]):l[o]=e[o]);return l.visible=!0,l};function Gi(e,t=null){if(!Bt)return Promise.reject();let n;return Ne(e)||Yt(e)?e={message:e}:n=e.callback,new Promise((a,l)=>{const o=b0e(e,t??Gi._context);fc.set(o,{options:e,callback:n,resolve:a,reject:l})})}const w0e=["alert","confirm","prompt"],C0e={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};w0e.forEach(e=>{Gi[e]=_0e(e)});function _0e(e){return(t,n,a,l)=>{let o="";return rt(n)?(a=n,o=""):Mt(n)?o="":o=n,Gi(Object.assign({title:o,message:t,type:"",...C0e[e]},a,{boxType:e}),l)}}Gi.close=()=>{fc.forEach((e,t)=>{t.doClose()}),fc.clear()};Gi._context=null;const cs=Gi;cs.install=e=>{cs._context=e._context,e.config.globalProperties.$msgbox=cs,e.config.globalProperties.$messageBox=cs,e.config.globalProperties.$alert=cs.alert,e.config.globalProperties.$confirm=cs.confirm,e.config.globalProperties.$prompt=cs.prompt};const S0e=cs,xS=["primary","success","info","warning","error"],x0e=ke({customClass:{type:Y([String,Array,Object,Boolean]),default:""},dangerouslyUseHTMLString:Boolean,duration:{type:Number,default:4500},icon:{type:Ut},id:{type:String,default:""},message:{type:Y([String,Object,Function]),default:""},offset:{type:Number,default:0},onClick:{type:Y(Function),default:()=>{}},onClose:{type:Y(Function),required:!0},position:{type:String,values:["top-right","top-left","bottom-right","bottom-left"],default:"top-right"},showClose:{type:Boolean,default:!0},title:{type:String,default:""},type:{type:String,values:[...xS,""],default:""},zIndex:Number,closeIcon:{type:Ut,default:ll},progress:{type:Y([Boolean,Object]),default:!1},pauseOnHover:{type:Boolean,default:!0}}),k0e={destroy:()=>!0},E0e=["id"],T0e=["textContent"],M0e={key:0},O0e=["innerHTML"];var $0e=W({name:"ElNotification",__name:"notification",props:x0e,emits:k0e,setup(e,{expose:t}){const n=e,{ns:a,zIndex:l}=U0("notification"),{nextZIndex:o,currentZIndex:s}=l,r=B(!1);let u;const c=B(100);let d=0,f=0;const h=x(()=>{const R=n.type;return R&&Ms[n.type]?a.m(R):""}),m=x(()=>!!n.progress&&n.duration>0),v=x(()=>{switch(n.type){case"success":return"success";case"warning":return"warning";case"error":return"exception";default:return}}),p=x(()=>({status:v.value,strokeWidth:3,showText:!1,...typeof n.progress=="object"?n.progress:void 0})),g=x(()=>n.type&&Ms[n.type]||n.icon),y=x(()=>n.position.endsWith("right")?"right":"left"),b=x(()=>n.position.startsWith("top")?"top":"bottom"),C=x(()=>({[b.value]:`${n.offset}px`,zIndex:n.zIndex??s.value})),{pause:w,resume:_}=gT(()=>{c.value=Math.max(0,100-(d+Date.now()-f)/n.duration*100)},100,{immediate:!1});function k(){if(n.duration<=0)return;u==null||u(),w(),f=Date.now();const R=Math.max(0,n.duration-d);({stop:u}=Ci(()=>{r.value&&I()},R)),m.value&&(c.value=R/n.duration*100,_())}function M(){u==null||u(),w(),f>0&&(d+=Date.now()-f,f=0)}let E=!1;function T(){E=!0,n.pauseOnHover&&M()}function O(){E=!1,n.pauseOnHover&&k()}function I(){r.value=!1,M()}function N(R){switch(Xt(R)){case Ce.delete:case Ce.backspace:M();break;case Ce.esc:r.value&&I();break;default:if(E&&n.pauseOnHover)break;M(),k();break}}return mt(()=>{k(),o(),r.value=!0}),Wt(document,"keydown",N),t({visible:r,close:I}),(R,K)=>(S(),ie(Yn,{name:i(a).b("fade"),onBeforeLeave:e.onClose,onAfterLeave:K[1]||(K[1]=H=>R.$emit("destroy")),persisted:""},{default:ne(()=>[ht($("div",{id:e.id,class:P([i(a).b(),e.customClass,y.value]),style:Ye(C.value),role:"alert",onMouseenter:T,onMouseleave:O,onClick:K[0]||(K[0]=(...H)=>e.onClick&&e.onClick(...H))},[g.value?(S(),ie(i(Be),{key:0,class:P([i(a).e("icon"),h.value])},{default:ne(()=>[(S(),ie(ft(g.value)))]),_:1},8,["class"])):oe("v-if",!0),$("div",{class:P(i(a).e("group"))},[$("h2",{class:P(i(a).e("title")),textContent:Se(e.title)},null,10,T0e),ht($("div",{class:P(i(a).e("content")),style:Ye(e.title?void 0:{margin:0})},[le(R.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(S(),A(He,{key:1},[oe(" Caution here, message could've been compromised, never use user's input as message "),$("p",{innerHTML:e.message},null,8,O0e)],2112)):(S(),A("p",M0e,Se(e.message),1))])],6),[[It,e.message]]),e.showClose?(S(),ie(i(Be),{key:0,class:P(i(a).e("closeBtn")),onClick:Qe(I,["stop"])},{default:ne(()=>[(S(),ie(ft(e.closeIcon)))]),_:1},8,["class"])):oe("v-if",!0)],2),m.value?(S(),A("div",{key:1,class:P(i(a).e("progress")),"aria-hidden":"true"},[G(i(om),vt(p.value,{percentage:c.value}),null,16,["percentage"])],2)):oe("v-if",!0)],46,E0e),[[It,r.value]])]),_:3},8,["name","onBeforeLeave"]))}}),N0e=$0e;const Pi={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},Uf=16;let A0e=1;const _r=function(e={},t){if(!Bt)return{close:()=>{}};(Ne(e)||Yt(e))&&(e={message:e});const n=e.position||"top-right";let a=e.offset||0;Pi[n].forEach(({vm:d})=>{var f;a+=(((f=d.el)==null?void 0:f.offsetHeight)||0)+Uf}),a+=Uf;const l=`notification_${A0e++}`,o=e.onClose,s={...e,offset:a,id:l,onClose:()=>{I0e(l,n,o)}};let r=document.body;Da(e.appendTo)?r=e.appendTo:Ne(e.appendTo)&&(r=document.querySelector(e.appendTo)),Da(r)||(jt("ElNotification","the appendTo option is not an HTMLElement. Falling back to document.body."),r=document.body);const u=document.createElement("div"),c=G(N0e,s,Ke(s.message)?s.message:Yt(s.message)?()=>s.message:null);return c.appContext=Mt(t)?_r._context:t,c.props.onDestroy=()=>{Vl(null,u)},Vl(c,u),Pi[n].push({vm:c}),r.appendChild(u.firstElementChild),{close:()=>{c.component.exposed.close()}}};xS.forEach(e=>{_r[e]=(t={},n)=>((Ne(t)||Yt(t))&&(t={message:t}),_r({...t,type:e},n))});function I0e(e,t,n){const a=Pi[t],l=a.findIndex(({vm:c})=>{var d;return((d=c.component)==null?void 0:d.props.id)===e});if(l===-1)return;const{vm:o}=a[l];if(!o)return;n==null||n(o);const s=o.el.offsetHeight,r=t.split("-")[0];a.splice(l,1);const u=a.length;if(!(u<1))for(let c=l;c{t.component.exposed.close()})}function R0e(e="top-right"){var n,a,l,o;let t=((l=(a=(n=Pi[e][0])==null?void 0:n.vm.component)==null?void 0:a.props)==null?void 0:l.offset)||0;for(const{vm:s}of Pi[e])s.component.props.offset=t,t+=(((o=s.el)==null?void 0:o.offsetHeight)||0)+Uf}_r.closeAll=P0e;_r.updateOffsets=R0e;_r._context=null;const V0e=M5(_r,"$notify");var L0e=[FR,tq,hY,sue,wY,CY,TY,h9,LY,BY,Un,C9,EX,$X,jX,qX,sZ,bC,dZ,Al,TJ,Y1,CZ,VZ,LZ,G0,$C,dQ,WY,yQ,bQ,wQ,CQ,_Q,gte,jC,Ete,Tte,Fte,QC,tne,Fne,Kne,Wne,i_,tU,nU,Be,Aae,u_,aa,c_,Gae,tle,rle,Sle,xle,kle,Ele,Ale,foe,goe,xoe,u9,om,yC,zJ,BJ,zoe,Koe,yZ,Dl,Os,If,sX,dse,gse,yse,Bse,Kse,y_,Zse,ore,sre,mre,kie,Eie,oue,Cue,_ue,Do,ym,IG,Nue,Vue,Lue,Gn,Xue,Cm,yce,Pce,rde,gde,Fde,Kde,Zde,Qde,sfe,bfe,Ife,Pfe],B0e=[Dfe,jfe,u0e,S0e,V0e,m_],$m=Vfe([...L0e,...B0e]);$m.install;$m.version;var W0e=$m;export{bt as $,$ as A,ie as B,ne as C,wt as D,le as E,He as F,Et as G,oe as H,wo as I,yo as J,Ns as K,kr as L,yc as M,Zt as N,kt as O,R2 as P,en as Q,ao as R,pc as S,g0 as T,t0 as U,i0 as V,i as W,hc as X,bo as Y,u0e as Z,Ml as _,mt as a,Se as a0,P as a1,Ye as a2,H0e as a3,lT as a4,D0e as a5,Ey as a6,et as a7,Hl as a8,ft as a9,Do as aA,Al as aB,Gn as aC,Y1 as aD,J2 as aE,Tte as aF,Un as aG,Ete as aH,da as aI,Ty as aJ,K0e as aa,It as ab,Qe as ac,S0e as ad,Vl as ae,F0e as af,qD as ag,z0e as ah,W0e as ai,un as aj,Wy as ak,zy as al,El as am,Ol as an,V0e as ao,zi as ap,jfe as aq,ur as ar,fb as as,Yn as at,NF as au,W5 as av,H5 as aw,rle as ax,mre as ay,Aae as az,Ht as b,zu as c,W as d,qa as e,ce as f,st as g,Je as h,De as i,G as j,Kt as k,B as l,pl as m,Pe as n,Bi as o,x as p,At as q,Dt as r,ht as s,Bn as t,p0 as u,vt as v,la as w,Yt as x,S as y,A as z}; diff --git a/backend/public/admin/system_static/emoji-Bf3wLaas.js b/backend/public/admin/system_static/emoji-Bf3wLaas.js new file mode 100644 index 000000000..0e8196458 --- /dev/null +++ b/backend/public/admin/system_static/emoji-Bf3wLaas.js @@ -0,0 +1 @@ +const e=["em-tlj-1","em-tlj-2","em-tlj-3","em-tlj-4","em-tlj-5","em-tlj-6","em-tlj-7","em-tlj-8","em-tlj-9","em-tlj-10","em-tlj-11","em-tlj-12","em-tlj-13","em-tlj-14","em-tlj-15","em-tlj-16","em-tlj-17","em-tlj-18","em-tlj-19","em-tlj-20","em-tlj-21","em-tlj-22","em-tlj-23","em-tlj-24","em-tlj-25","em-tlj-26","em-tlj-27","em-tlj-28","em-tlj-29","em-tlj-30","em-tlj-31","em-tlj-32","em-tlj-33","em-tlj-34","em-tlj-35","em-tlj-36","em-tlj-37","em-tlj-38","em-tlj-39","em-tlj-40","em-tlj-41","em-tlj-42","em-tlj-43","em-tlj-44","em-tlj-45","em-tlj-46","em-tlj-47","em-tlj-48","em-tlj-49","em-tlj-50","em-tlj-51","em-tlj-52","em-tlj-53","em-tlj-54","em-tlj-55","em-tlj-56","em-tlj-57","em-tlj-58","em-tlj-59","em-tlj-60","em-tlj-61","em-tlj-62","em-tlj-63","em-tlj-64","em-tlj-65","em-tlj-66","em-tlj-67","em-tlj-68","em-tlj-69","em-tlj-70","em-tlj-71","em-tlj-72","em-tlj-73","em-tlj-74","em-tlj-75","em-tlj-76","em-tlj-77","em-tlj-78","em-tlj-79","em-tlj-80","em-tlj-81","em-tlj-82","em-tlj-83","em-tlj-84","em-tlj-85","em-tlj-86","em-tlj-87","em-tlj-88","em-tlj-89","em-tlj-90","em-tlj-91","em-tlj-92","em-tlj-93","em-tlj-94","em-tlj-95","em-tlj-96"],m=[{name:"微笑",char:"😊"},{name:"撇嘴",char:"😞"},{name:"色",char:"😍"},{name:"发呆",char:"😑"},{name:"得意",char:"😏"},{name:"流泪",char:"😢"},{name:"害羞",char:"😳"},{name:"闭嘴",char:"🤐"},{name:"睡",char:"😴"},{name:"大哭",char:"😭"},{name:"尴尬",char:"😅"},{name:"发怒",char:"😠"},{name:"调皮",char:"😜"},{name:"呲牙",char:"😁"},{name:"惊讶",char:"😮"},{name:"难过",char:"🙁"},{name:"囧",char:"😖"},{name:"抓狂",char:"🤯"},{name:"吐",char:"🤮"},{name:"偷笑",char:"🤭"},{name:"可爱",char:"🥰"},{name:"白眼",char:"🙄"},{name:"傲慢",char:"😤"},{name:"饥饿",char:"🤤"},{name:"困",char:"😪"},{name:"惊恐",char:"😨"},{name:"流汗",char:"😓"},{name:"憨笑",char:"😄"},{name:"奋斗",char:"💪"},{name:"咒骂",char:"😡"},{name:"疑问",char:"🤔"},{name:"嘘",char:"🤫"},{name:"晕",char:"😵"},{name:"折磨",char:"😫"},{name:"衰",char:"🥴"},{name:"骷髅",char:"💀"},{name:"敲打",char:"👊"},{name:"再见",char:"👋"},{name:"擦汗",char:"😰"},{name:"抠鼻",char:"👃"},{name:"鼓掌",char:"👏"},{name:"糗大了",char:"🤦"},{name:"坏笑",char:"😈"},{name:"鄙视",char:"👎"},{name:"委屈",char:"🥺"},{name:"亲亲",char:"😘"},{name:"吓",char:"😱"},{name:"拥抱",char:"🤗"},{name:"强",char:"👍"},{name:"握手",char:"🤝"},{name:"胜利",char:"✌️"},{name:"抱拳",char:"🙏"},{name:"咖啡",char:"☕"},{name:"蛋糕",char:"🎂"},{name:"啤酒",char:"🍺"},{name:"西瓜",char:"🍉"},{name:"玫瑰",char:"🌹"},{name:"凋谢",char:"🥀"},{name:"嘴唇",char:"👄"},{name:"爱心",char:"❤️"},{name:"心碎",char:"💔"},{name:"礼物",char:"🎁"},{name:"红包",char:"🧧"},{name:"猪头",char:"🐷"},{name:"便便",char:"💩"},{name:"炸弹",char:"💣"},{name:"足球",char:"⚽️"},{name:"篮球",char:"🏀"},{name:"乒乓",char:"🏓"},{name:"太阳",char:"☀️"},{name:"月亮",char:"🌙"},{name:"星星",char:"⭐️"},{name:"彩虹",char:"🌈"},{name:"闪电",char:"⚡️"},{name:"汽车",char:"🚗"},{name:"飞机",char:"✈️"}];export{e,m as q}; diff --git a/backend/public/admin/system_static/empty-9253BCs-.js b/backend/public/admin/system_static/empty-9253BCs-.js new file mode 100644 index 000000000..d9eadd29c --- /dev/null +++ b/backend/public/admin/system_static/empty-9253BCs-.js @@ -0,0 +1 @@ +import{w as n,_ as c}from"./index-DHL7RTL2.js";import{y as s,z as e,H as a,A as o,a0 as i}from"./element-plus-C_ZDq0cz.js";function w(){return n({url:"kefu/service/info",method:"get",kefu:!0})}const m="/admin/system_static/no_chat-CXi0dIPZ.png",r="/admin/system_static/no_user-G0E_wEcN.png",_="/admin/system_static/no_all-1TL8tcns.png",u="/admin/system_static/no_zf-BoX8xUdI.png",d="/admin/system_static/no_fh-Qi8tUafQ.png",y="/admin/system_static/no_tk-KH_2Drbf.png",g={class:"empty-wrapper"},p={key:0,src:m,alt:""},l={key:1,src:r,alt:""},f={key:2,src:_,alt:""},h={key:3,src:u,alt:""},k={key:4,src:d,alt:""},v={key:5,src:y,alt:""},x=Object.assign({name:"empty"},{__name:"empty",props:{status:{type:[String,Number],default:1},msg:{type:String,default:""}},setup(t){return(B,I)=>(s(),e("div",g,[t.status==1?(s(),e("img",p)):a("",!0),t.status==2?(s(),e("img",l)):a("",!0),t.status==3?(s(),e("img",f)):a("",!0),t.status==4?(s(),e("img",h)):a("",!0),t.status==5?(s(),e("img",k)):a("",!0),t.status==6?(s(),e("img",v)):a("",!0),o("p",null,i(t.msg),1)]))}}),E=c(x,[["__scopeId","data-v-e4de1d9c"]]);export{E as e,w as s}; diff --git a/backend/public/admin/system_static/empty-DbzrnqVF.css b/backend/public/admin/system_static/empty-DbzrnqVF.css new file mode 100644 index 000000000..29a186845 --- /dev/null +++ b/backend/public/admin/system_static/empty-DbzrnqVF.css @@ -0,0 +1 @@ +.empty-wrapper[data-v-e4de1d9c]{margin-top:60px;text-align:center;font-size:12px;color:#666}.empty-wrapper img[data-v-e4de1d9c]{width:36%} diff --git a/backend/public/admin/system_static/error-401-CftDfKTV.svg b/backend/public/admin/system_static/error-401-CftDfKTV.svg new file mode 100644 index 000000000..19e2f9fa9 --- /dev/null +++ b/backend/public/admin/system_static/error-401-CftDfKTV.svg @@ -0,0 +1 @@ +tasting \ No newline at end of file diff --git a/backend/public/admin/system_static/error-404-DHVJrDpZ.svg b/backend/public/admin/system_static/error-404-DHVJrDpZ.svg new file mode 100644 index 000000000..77d97f717 --- /dev/null +++ b/backend/public/admin/system_static/error-404-DHVJrDpZ.svg @@ -0,0 +1 @@ +drone_delivery \ No newline at end of file diff --git a/backend/public/admin/system_static/error-500-_U3ethY6.svg b/backend/public/admin/system_static/error-500-_U3ethY6.svg new file mode 100644 index 000000000..ef72fd321 --- /dev/null +++ b/backend/public/admin/system_static/error-500-_U3ethY6.svg @@ -0,0 +1 @@ +co-working \ No newline at end of file diff --git a/backend/public/admin/system_static/error-content-DWvwR9Cz.css b/backend/public/admin/system_static/error-content-DWvwR9Cz.css new file mode 100644 index 000000000..14d777b86 --- /dev/null +++ b/backend/public/admin/system_static/error-content-DWvwR9Cz.css @@ -0,0 +1 @@ +.list[data-v-6eeeb3f1]{height:80%;min-height:500px}.pictrue[data-v-6eeeb3f1]{width:100%;max-width:300px;height:360px}.right[data-v-6eeeb3f1]{padding-right:75px}.left[data-v-6eeeb3f1]{padding-left:75px}.num[data-v-6eeeb3f1]{margin-bottom:24px;color:#515a6e;font-weight:600;font-size:72px;line-height:72px}.desc[data-v-6eeeb3f1]{margin-bottom:16px;color:#808695;font-size:20px;line-height:28px} diff --git a/backend/public/admin/system_static/error-content-DaJxR5pX.js b/backend/public/admin/system_static/error-content-DaJxR5pX.js new file mode 100644 index 000000000..3b66713a7 --- /dev/null +++ b/backend/public/admin/system_static/error-content-DaJxR5pX.js @@ -0,0 +1 @@ +import{k as s,u as f,y as n,z as g,j as c,C as t,A as o,a0 as l,s as p,B as w,$ as h}from"./element-plus-C_ZDq0cz.js";import{_ as v,h as k,j as b}from"./index-DHL7RTL2.js";const x=["src","alt"],B={class:"num"},C={class:"desc"},y=Object.assign({name:"error_content"},{__name:"error-content",props:{code:String,desc:String,src:String},setup(e){const i=k();function d(){i.replace({name:b.homeName})}return(N,r)=>{const a=s("el-col"),_=s("el-button"),m=s("el-row"),u=f("db-click");return n(),g("div",null,[c(m,{class:"acea-row row-middle list"},{default:t(()=>[c(a,{xs:24,sm:12,md:12,lg:12,class:"acea-row row-right right"},{default:t(()=>[o("img",{src:e.src,alt:e.code,class:"pictrue"},null,8,x)]),_:1}),c(a,{xs:24,sm:12,md:12,lg:12,class:"acea-row row-left left"},{default:t(()=>[o("div",null,[o("h1",B,l(e.code),1),o("div",C,l(e.desc),1),p((n(),w(_,{type:"primary",size:"large",onClick:d},{default:t(()=>[...r[0]||(r[0]=[h("返回首页",-1)])]),_:1})),[[u]])])]),_:1})]),_:1})])}}}),D=v(y,[["__scopeId","data-v-6eeeb3f1"]]);export{D as e}; diff --git a/backend/public/admin/system_static/export-D13HPb6l.js b/backend/public/admin/system_static/export-D13HPb6l.js new file mode 100644 index 000000000..d3ba7b35c --- /dev/null +++ b/backend/public/admin/system_static/export-D13HPb6l.js @@ -0,0 +1 @@ +import{w as t}from"./index-DHL7RTL2.js";import"./element-plus-C_ZDq0cz.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function m(r){return t({url:"/export/user_list",method:"get",params:r})}function n(r){return t({url:"/export/product_list",method:"get",params:r})}function c(r){return t({url:"/product/product_export",method:"get",params:r})}function d(r){return t({url:"/product/product_import",method:"post",data:r})}function s(r){return t({url:"/export/bargain_list",method:"get",params:r})}function a(r){return t({url:`/export/member_card/${r}`,method:"get"})}export{s as exportBargainList,c as exportProductExport,n as exportProductList,m as exportUserList,a as exportmberCardList,d as importProductImport}; diff --git a/backend/public/admin/system_static/expressi-pvEIYRE3.js b/backend/public/admin/system_static/expressi-pvEIYRE3.js new file mode 100644 index 000000000..7deebf64f --- /dev/null +++ b/backend/public/admin/system_static/expressi-pvEIYRE3.js @@ -0,0 +1 @@ +const A="data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAKEUlEQVR4nO2de3AV1R3HP3uS8EhCkCSAQCLgRZ6RV7Hgo47hpVNgpp3+UZ2llpbOFIUqdWzR6UzpdOqMqFNHq4KMDzp6a/tHO50B2goIVqmCVV4KymMFTAiPJghXbohJ2O0fZwOX5Jy9e+/dzb0hfGYy9ybn7Hl8c3bPOb9zzm+NeDxOtohERTkwCRgFjHY/hwBlQCFQDDQD54Az7ucpYD/wmfu50zLt+k4vvIvRmQJGoqIQmAFMB6qB8YCRYbIOsAfYAmwG3rJMuzHDNH0TuoCRqBDALGABMA8oCjVDiANrgTXARsu07TAzC03ASFQUAz8BHgSGhZJJco4AzwAvWaZ9LowMAhcwEhW9gSXAL4HyQBNPn3rgSeAPlmmfDzLhQAWMRMXdwArgusASDZYvgGWWaf85qAQDETASFUOBVcBdKV9bAlWlDpG+MLwEhvVxKOsJRQVQXCDjnGuBeCs0NMGRrwwOx8A6C3u/NDh0Nq0ivwn81DLto2ldnUDGAkaiYj7wPFDiJ36vPKge4jCrEm671qGsV0bZ09AEW08YbKyBLccMmi74vjQGLLZM+/VM8k9bwEhU9EIK92M/8atKYf5IhzlDHQrz08oyKY2tsP6owesHDD457fuyV4H7LdNuSifPtASMRMUA4O/Azcni3jQAlo53mDbQSaN46bPtpMEzeww+OOUr+vvAdyzT9hc7gZQFjETFcGAjEPGKV1kMv57iMH1I5wrXns3HDH77oUFN8kGMBcyyTPtwKumnJGAkKsYAm4DBujj5AhaNc7hvnEOvvFSKEh5NF2DlXoNVew1avYfVdcBMy7Q/9Zu2bwEjUTECOV2q0MWpLIanb7WZlCujv3bsqoel/xHJWmMtUG2Z9iE/afoSMBIV/YH3gBG6ODMrHJ682aGkh59ss0esGX7xvsGmWs8p+CHgFsu0/5csPZEsQiQqeiDnllrx7h3lsPL23BcPoKQHrLzd4d5Rns/mEcDaSFT0TJZeUgGBF4CpqgADeGiCw/IpDiJTm0onIgxYPsXhoQmeIk5FDtO80/IKdAfJC3XhD090WFyV3V42ExZXOTw80bP8C10NtGgFdKdn2v+AeYPDonFdV7w27hvnYN7gWY/nXS2UeLXAF9FMz2ZWOCy/qeuL18bymxxmVWrrU4LUQolSQNeqcqcqrKIInrjZIa8LPfOSkWfAimkOFXpT752RqLhHFdBhGOOa3T9FYZIqEPCX2TYTyjIrcK6yqx7u3ihoUQ+2vwDGtF8uUE3rl6Cx591f5fgWL9YCO+ptjjc6ugKFToGAQYUGk8sFJQXJ408sl3V8Zo/y9roOqc0TiX+8rAW6ZvjDKCzJkRJYP8emwMfAJ9YM/6i5QHOWhGtPDwHfrszzNU5tsWHOeoEVUwY3AMMSlwfay/EjNGb4Ryc7vsQD2NFg54x4AM22LJMfCoSsq4YypEYXuSiJu3r2c9VV3xwgjaB+Od6Yez10XQplqh7iMHWANvghVyvg8hY4CxiuuuLB8akJkq1nnhdJrDAdeEBf52HA7LZfEgVcoIo9th+dbgzNBaYNdBjbTxu8oO2LgItDl3mqmPNHdj/x2viB3uAwNxIVRXCpBc5GsWOgdz7MHdp9BZw71KG3ev2mCPnIuyigcjnyjsEORT7GT1cqhflQPVjbgO6CSwJOV8WYobU9dx88NJgOYFy7+vwA4GT7UAPY9j2b8gzWbcv++DUXnOw+AvIMg4YfJrWLaqlvgml/FWhqMTAfmKwKGV5CRuIB9C8KaQG4EynvBdeXoJuZfEMAE1UhE8q6b+fRnvHlWi0mCDRrHaP0Y6Bux+hrtEEjBJrZx/A+YRWn6zFMr8X1As0i+aDCq7dwG4OLtFoMEkCpKqRv+h3XFYeHGaxUAL1VIcVdvwMNDA8tCgWgvMO78wykPR5aFOcjz2F0+p6Ckh4wpwKuKybtBaoLDnxxDtbXSit4NhDAV6qAeEu4Gc+pkD19Jqt7eYZMY15lcOVS4aHFOa2A51rDKo5kSICnRTyWIwMhrteiUStg2LfEsQBPV9SGfNjqrF6L0wJQbuGqi4e7cr6+Fg5/JZ9j6WI7Mo11NcGVS4WHFifykcuYHTiibJfBEWuGNz4PN4+g8NDCEsjNhB347MuwitP12H9GG3RIALtUIbsbrqDNLxmyu16rxR4B7FCFHI5JY2J3p6EJPlfbAgE+FO7ZiA63sQNsPX61FW49Yeis0Qct0z7VtiayWRVjU21IpepCbNL38Jvh0qLSP1Ux3q4zaAx5QJ3LNLbCljrtXfgvuCTgRuRJ78s43wprj3Tf23jdUYPz6gYUR2omBbRMOw6sU8V8/UD3FfC1/dq6r3M1u2xvzBpVzH1fyoN76ZALi3LpngzddtJgn34svKbtS6KAG5A+BjrwrHrHZlKq+mW/9d6YZhk86nwUqRWQIKDr3eL3qiu2n4J/6x+mWhaMzL6A6ZThnTqD7fqDr08negJpv+f0VeQ21g489pGR8r6/6kEGi8ZkT8RFYwyqB6WWf4sNv/tIe00D8HLiHy4T0N37e9km6othMXlkNFWWjhO8cItgan9Dt9MpUHrnw9T+BitvFSwd53NPcgIr9xq6XQgAT7R3n3L1mEMCuxvg+xtSO+bQ4V/kRnhElUKLDQ+8K7K2/hAmsWZZN4/H1KMql1LKNm6Z9htI1yAdqI3Dsm0G9hW07u4g6+Rh2d5gmfafVAFeD4lFSNcgHVOrMfjNf7PfwwbF8g8MNtRo6xNDaqFEK6Bl2keQJ3OURA9KHwRdnVV7DaIHPeuxxMsRhWc3ZZn2a7TrthN5apfB6n1dV8TV+wye3OVZ/ldcDbT46ecXA9tVAQ6wYqfB4zu1NrOcpK3cK3Z6ircdWXdPrjqdUOPb6USqbk/eRrroVFJZDM/eZjM+R8eJHzfAz7YmdXtyDLgjULcnbbiOd94EtJsp8gUsqZLuAPweTgybFlt2Fs99ktTxTg1wZyiOd9qIREUl0ho71iveiL7wq8kOt+vPWXQK79QZPLbDl5u8fcBdlmmntEyfrvOxUqQvmVuSxZ06QB7cy4bzsWf3eFpVEnkPmGeZtn+fby6ZuL/rCTyFx1gxkapSMEc6zA3Z/d26owbR1NzfPQc8bJn21+nkGYQDxu8CrwD6vewJ9M6H6UMcZlTAtwY5lGa4lfj01/DucYO3aqWnNs0ahoozwELLtP+WSf5BugB9EY2nD23mQKQvjC9zGHmNPNBSUeRwTU/oUyDN8a223F4Wa5afx+IGn8fgwBnY02BgnSWdMeibwCJ3tpURQTuhvQd4nNx2QvuIaywJhEAHGm7BRgPLkK6Hc4V6pIludJDiQbiOuPsg/W7lgiPuly3TDmXD3lVX8BmSrZcRzEC+jOBGgnkZwcdI75pvcaW9jMAL10gxCRhJx9dhFHGptcbdnwbkXLXtdRgHkK/DSDrpD4v/AyTig4w83FS9AAAAAElFTkSuQmCC";export{A as _}; diff --git a/backend/public/admin/system_static/f-Cc8iisnS.png b/backend/public/admin/system_static/f-Cc8iisnS.png new file mode 100644 index 000000000..3c18c6a54 Binary files /dev/null and b/backend/public/admin/system_static/f-Cc8iisnS.png differ diff --git a/backend/public/admin/system_static/f-MniSWpLh.js b/backend/public/admin/system_static/f-MniSWpLh.js new file mode 100644 index 000000000..9d6016211 --- /dev/null +++ b/backend/public/admin/system_static/f-MniSWpLh.js @@ -0,0 +1 @@ +const s="/admin/system_static/f-Cc8iisnS.png";export{s as _}; diff --git a/backend/public/admin/system_static/feedback-CsdA5MJQ.js b/backend/public/admin/system_static/feedback-CsdA5MJQ.js new file mode 100644 index 000000000..d78d8939a --- /dev/null +++ b/backend/public/admin/system_static/feedback-CsdA5MJQ.js @@ -0,0 +1 @@ +import{y as u,z as C,j as l,C as a,A as i,ac as Z,s as b,B as D,$ as x,a0 as s,H as q,r as G,l as m,k as o,p as M,u as B,Z as E}from"./element-plus-C_ZDq0cz.js";import{a as J,a4 as K,o as Q,a5 as R,m as X}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const ee={class:"padding-add"},te=["onClick"],le=["onClick"],ae={class:"acea-row row-right page"},ue=Object.assign({name:"feedback"},{__name:"feedback",setup(oe){const F=J(),S=m(!1),g=m([]),c=m(1),w=m(15),r=G({time:"",title:""}),_=m([]),k=m(0),Y=M(()=>F.isMobile),$=M(()=>Y.value?void 0:"80px"),N=M(()=>Y.value?"top":"right");p();function U(n){Q(R(n)).then(()=>p())}function j(){c.value=1,p()}function T(n){_.value=n,r.time=_.value?_.value.join("-"):"",c.value=1,p()}function p(){K({page:c.value,limit:w.value,time:r.time,title:r.title}).then(n=>{g.value=n.data.data,k.value=n.data.count})}function L(n,t,h){let f={title:t,url:`/app/feedback/${n.id}`,method:"DELETE",ids:""};X(f).then(v=>{E.success(v.msg),g.value.splice(h,1)}).catch(v=>{E.error(v.msg)})}return(n,t)=>{const h=o("date-range-picker"),f=o("el-form-item"),v=o("el-input"),P=o("el-button"),z=o("el-form"),y=o("el-card"),d=o("el-table-column"),A=o("el-divider"),H=o("el-table"),I=o("pagination"),V=B("db-click"),O=B("loading");return u(),C("div",null,[l(y,{bordered:!1,shadow:"never","body-style":{padding:0}},{default:a(()=>[i("div",ee,[l(z,{model:r,"label-width":$.value,"label-position":N.value,class:"tabform",onSubmit:t[2]||(t[2]=Z(()=>{},["prevent"])),inline:""},{default:a(()=>[l(f,{label:"留言时间:"},{default:a(()=>[l(h,{clearable:"",modelValue:_.value,"onUpdate:modelValue":t[0]||(t[0]=e=>_.value=e),editable:!1,onChange:T,format:"YYYY/MM/DD","value-format":"YYYY/MM/DD",class:"mr20"},null,8,["modelValue"])]),_:1}),l(f,{label:"留言信息:"},{default:a(()=>[l(v,{clearable:"",placeholder:"请输入用户昵称/电话/留言内容搜索",modelValue:r.title,"onUpdate:modelValue":t[1]||(t[1]=e=>r.title=e),class:"form_content_width"},null,8,["modelValue"])]),_:1}),l(f,null,{default:a(()=>[b((u(),D(P,{type:"primary",onClick:j},{default:a(()=>[...t[5]||(t[5]=[x("查询",-1)])]),_:1})),[[V]])]),_:1})]),_:1},8,["model","label-width","label-position"])])]),_:1}),l(y,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:a(()=>[b((u(),D(H,{data:g.value,"no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:a(()=>[l(d,{label:"ID",width:"80"},{default:a(e=>[i("span",null,s(e.row.id),1)]),_:1}),l(d,{label:"昵称","min-width":"130"},{default:a(e=>[i("span",null,s(e.row.rela_name),1)]),_:1}),l(d,{label:"电话","min-width":"130"},{default:a(e=>[i("span",null,s(e.row.phone),1)]),_:1}),l(d,{label:"内容","min-width":"130"},{default:a(e=>[i("span",null,s(e.row.content),1)]),_:1}),l(d,{label:"状态","min-width":"130"},{default:a(e=>[i("div",null,s(e.row.status===1?"已处理":"未处理"),1)]),_:1}),l(d,{label:"时间","min-width":"130"},{default:a(e=>[i("span",null,s(e.row.add_time),1)]),_:1}),l(d,{label:"操作",fixed:"right",width:"170"},{default:a(e=>[b((u(),C("a",{onClick:W=>U(e.row.id)},[x(s(e.row.status===1?"备注":"处理"),1)],8,te)),[[V]]),l(A,{direction:"vertical"}),b((u(),C("a",{onClick:W=>L(e.row,"删除反馈",e.$index)},[...t[6]||(t[6]=[x("删除",-1)])],8,le)),[[V]])]),_:1})]),_:1},8,["data"])),[[O,S.value]]),i("div",ae,[k.value?(u(),D(I,{key:0,total:k.value,page:c.value,"onUpdate:page":t[3]||(t[3]=e=>c.value=e),limit:w.value,"onUpdate:limit":t[4]||(t[4]=e=>w.value=e),onPagination:p},null,8,["total","page","limit"])):q("",!0)])]),_:1})])}}});export{ue as default}; diff --git a/backend/public/admin/system_static/file-success-DULWj9TL.js b/backend/public/admin/system_static/file-success-DULWj9TL.js new file mode 100644 index 000000000..490fc761f --- /dev/null +++ b/backend/public/admin/system_static/file-success-DULWj9TL.js @@ -0,0 +1 @@ +const s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAAByCAMAAAD6QAbYAAAAAXNSR0IArs4c6QAAAtlQTFRFAAAAjOamhueegOiihd6bhembf9+VeuCZheuZf+KdhOOXf+Sbe+WVgN2ZgOaZe+aUf9+Xf+eXfOCTeOGWfNuSfOKZVdSHeOOVfOOYed2Udt6Qed+TduCPduCVeeGSWdWId9uOdNyRcd2Od92TdN6Qct6NddqPctuNcNuKdduPc9yMRc5/cd2Ob9mMcdmJRsx9RsyCb9WLb9qLW9aJbduJcNuLbteIbNiGbNiKatWIb9mIbdmGa9aIXdeGadeGOMt8aNeDbNeDbNeHatSFatiFaNWDZ9WFZdaDZ9OBZtODZteDS9CBT9CBZdSBZ9SDO8t6O856ZdKBT9J/ZNJ/Y89+Y9OBYdN/Y9F+YtF8YdJ+QMx8QM98YM98YNJ8XtB7XtB+YNB8X857Xs55Xcx4Xcx7Xc97XNB6W814Ws53Ws56Qs57XMt4XM54W8x3W893Ws12Wc13WMt2V8t1VslzVsx2Wcx2KsVyVcp1LcV0V8p0VshyVclxVcl0VMdzVMlzU8dyU8pyUshwUslvUcdxUMdwT8hvT8ZuTsZtJcJwKMVzTcVuUMVuTcVtT8VtJ8NzM8h1TMZsTsZsTcRrKcRzNMd1TcRqKsVyTMNpTMNrS8NoS8NqLsRzI8NwLsV0I8NxL8ZyL8Z0JsNyLsVyLsV0ieGf////KMRzKsJyKsRyKcVyIcJvLMRyLMVzJMJxJsRyKMRy4vnn4ffn3/Xm3/fm4Pbk4Pfk4Pfm3vbk3fbj2vTi2vbiH8Bu2vTg2fTf2PPf2PTf1/Pe1fPdIb9u1PLcIsBu0/La0vDZ0vLZ0vLb0fHZz/HYIsFwHsBuHsFuH8BuIMBvsuzAHL9tHL9sHL5tHcBtHcBsHL9sHL5tHr9tHb5sGr9rG79sG79sG79sHL9sHL5sHMBsGr5rGb1rGr5sGr5rGr9rGb5rKMJ0NsZ+RMqHcNaiieGgjN+1muO+t+vR1PPj4vfs8Pv2////S/7aPwAAAOZ0Uk5TABQVFhcXGBkZGhscHR4eHyAgISIjIyQkJSYnKCkpKisrLC0tLi8wMTIyMzQ0NTY3Nzc3ODg5Ojs7PDw9Pj8/QEBAQEFBQkNERUZGR0dHSElJSUpKS0tMTU5PUFBQUFFRUlNUVVVVVldYWFlZWVpaW1xdXl9fX2BgYWFiY2NkZGVlZmdoaWprbG1tbW1ubm9vb29wcXFxcnJyc3N6e3t8fX1/f3+AgIGGhoiKi4yOlJifoKGhoqKio6SmpqenqKmpqqusra6ur6+vsLGytbm7v7/T1NXV1tfY2Nni4uPk5OXl8PHx8vIVvEMzAAADvklEQVRo3u2aO2gUQRjHv9ndu4tnuDwV4xEFA4lROwuFmKhJEYQEtdAmpjWFaGEjBOyCiIWNaYKdRrGQNBIQCUFT+CokCkFNJ1jJRUxI4EJudty9fbi3r3nsbBHi7A3c3fzzu2/me8zeXNAUAiACPX8FIpui61gX6YPT0VBNB8E2OB1pq4ZBPtWYvk5EepUq39JoWxUi2GxqxPQNgUiHGGqi6UetQLLpR9iaGBpGTQ4NoSqQvAWoEiwNUqVA/VQ5UB81YfCHUxUiWFHivKURZF5DVBe/oKkGF5cARtwijQhD3Ji6eEURllxLjS2n+qA0U0QYqRphjHAWXdFT+UOWPWT6LKqi5S0FY6wbD0K7TJ33dVzGKm7o0S6fJq4OSMqoWqoSL/E4ikllUaV636HaUJ0J6lV9C1U9lx+njgpdB/nNyX2pXcOISL80I1CkX7ajRqjr9IRZ5XqfqfQxqqp7lA46Q7xEp3ttKTd15ppiYMhAU8egMliAU5l+Khml6VZs0VeLXeXGKcuasqpIOmvKenuOOVTC9ZTB+3Knjy6nUU/JzoZaHh2jCqeYVenG6TbKKJatF+jbeW1GEc8MQ7v9hKJLMU3TqfwpWrodpm/coCk6w5Zm6hhUJktBfekVlP9FWmJTi/JvpCHN2/Pts/HJbQpJw1F4Z2dUAked6e/I1yMg62s/5l97B1C3ILH1am/W83Lt6/3SP+hhMeZ4b85f9N/ednO/RQR59FGn5n8PHbj45VcC6I2bWtjbuXOFDxa0WWDqwxHnk6h7/4Ig9Nr56LGO/EcT2sTL7L4Vd4565J0RBOgQL3S2IXZ4c8CwtJGTebeTkk1tC9wHiM09tE8920zUAh/0Tjs18RveKDrhuqITMOvEbj/h3PhOR7ogm4VypfpsVx/nrzzDMUzIOCLOetoew8Rl+0UnJ7QpjumgcpzQggeEcTgTCpxQ1WMcKeNQJqii2wnSANVZVD+Te+PDjqmkXKdY1CATc0JX3Uqp29QgE1Y5oZuew7IqtZIJMOE355n09zYfNYQJP9Uc9Uust28M1ZxrqiiECfdQgc/rn/I1t3d1SpC50sNbT1/VHkKWKwEmLBNUz2dpy9xuWtSdWuG1tPSS9rHzJYLyvLn0Od7U0kmRH7kuVeKYlVFDomq8lpbUEzGjk7NmRVG5a8n7fccix55NgBgU5uB4+F9tPZiwS5jI7zhdT/eEMDcuLFvjSBWrpw8HMn7kzLhbbEX/aaJ1sstr7fqM9/YciX+R6Bs9uLcxA1t/thYfL3gH/gK1kUCzH/b2agAAAABJRU5ErkJggg==";export{s as _}; diff --git a/backend/public/admin/system_static/finance-CSn9G5kh.js b/backend/public/admin/system_static/finance-CSn9G5kh.js new file mode 100644 index 000000000..70cce2ec9 --- /dev/null +++ b/backend/public/admin/system_static/finance-CSn9G5kh.js @@ -0,0 +1 @@ +import{w as t}from"./index-DHL7RTL2.js";function a(){return t({url:"finance/finance/bill_type",method:"get"})}function i(e){return t({url:"finance/finance/list",method:"get",params:e})}function s(e){return t({url:"finance/finance/commission_list",method:"get",params:e})}function u(e){return t({url:`finance/finance/user_info/${e}`,method:"get"})}function c(e,r){return t({url:`finance/finance/extract_list/${e}`,method:"get",params:r})}function o(e){return t({url:"finance/extract",method:"get",params:e})}function f(e){return t({url:`finance/extract/${e}/edit`,method:"get"})}function m(e,r){return t({url:`finance/extract/refuse/${e}`,method:"put",data:r})}function l(e){return t({url:"finance/recharge",method:"get",params:e})}function p(e){return t({url:"finance/recharge/user_recharge",method:"get",params:e})}function h(e){return t({url:`finance/recharge/${e}/refund_edit`,method:"get"})}function g(e){return t({url:"export/userFinance",method:"get",params:e})}function d(e){return t({url:"export/userCommission",method:"get",params:e})}function A(e){return t({url:"export/userRecharge",method:"get",params:e})}function x(e){return t({url:"statistic/flow/get_list",method:"get",params:e})}function _(e,r){return t({url:`statistic/flow/set_mark/${e}`,method:"post",data:r})}function $(e){return t({url:"finance/balance/list",method:"get",params:e})}function b(e,r){return t({url:`finance/balance/set_mark/${e}`,method:"post",data:r})}export{f as a,l as b,o as c,h as d,A as e,a as f,x as g,i as h,g as i,c as j,u as k,s as l,d as m,$ as n,b as o,m as r,_ as s,p as u}; diff --git a/backend/public/admin/system_static/follow-58QJGNKp.css b/backend/public/admin/system_static/follow-58QJGNKp.css new file mode 100644 index 000000000..70cbd1dc7 --- /dev/null +++ b/backend/public/admin/system_static/follow-58QJGNKp.css @@ -0,0 +1 @@ +@charset "UTF-8";[data-v-bfd3964b]{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.arrbox[data-v-bfd3964b]{background-color:#fff;font-size:12px;border:1px solid #dcdee2;border-radius:6px;margin-bottom:0;padding:0 5px;text-align:left;-webkit-box-sizing:border-box;box-sizing:border-box;width:90%}.arrbox .el-tag[data-v-bfd3964b]{margin-right:3px}.arrbox_ip[data-v-bfd3964b]{font-size:12px;border:none;-webkit-box-shadow:none;box-shadow:none;outline:none;background-color:transparent;padding:0;width:auto!important;max-width:inherit;min-width:80px;vertical-align:top;height:30px;color:#34495e;margin:2px;line-height:30px}.left[data-v-bfd3964b]{min-width:390px;min-height:550px;position:relative;padding-left:40px}.top[data-v-bfd3964b]{position:absolute;top:0}.bottom[data-v-bfd3964b]{position:absolute;bottom:0}.centent[data-v-bfd3964b]{background:#f4f5f9;min-height:438px;position:absolute;top:63px;width:320px;height:60%;overflow-y:auto;padding:15px;-webkit-box-sizing:border-box;box-sizing:border-box}.right[data-v-bfd3964b]{background:#fff;min-height:300px}.box-content[data-v-bfd3964b]{position:relative;max-width:60%;min-height:40px;margin-left:15px;padding:10px;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #ccc;word-break:break-all;word-wrap:break-word;line-height:1.5;border-radius:5px}.box-content_pic[data-v-bfd3964b]{width:100%}.box-content_pic img[data-v-bfd3964b]{width:100%;height:auto}.box-content[data-v-bfd3964b]:before{content:"";position:absolute;left:-13px;top:11px;display:block;width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-top:10px solid #ccc;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.box-content[data-v-bfd3964b]:after{content:"";position:absolute;left:-12px;top:11px;display:block;width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-top:10px solid #f5f5f5;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.time-wrapper[data-v-bfd3964b]{margin-bottom:10px;text-align:center}.time[data-v-bfd3964b]{display:inline-block;color:#f5f5f5;background:#0000004d;padding:3px 8px;border-radius:3px;font-size:12px}.text-box[data-v-bfd3964b]{display:-webkit-box;display:-ms-flexbox;display:flex}.avatar[data-v-bfd3964b]{width:40px;height:40px}.avatar img[data-v-bfd3964b]{width:100%;height:100%}.modelBox[data-v-bfd3964b] .ivu-modal-body{padding:0 16px 16px!important}.news_pic[data-v-bfd3964b]{width:100%;height:150px;overflow:hidden;position:relative;background-size:100%;background-position:center center;border-radius:5px 5px 0 0;padding:10px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.news_sp[data-v-bfd3964b]{font-size:12px;color:#000;background:#fff;width:100%;height:38px;line-height:38px;padding:0 12px;-webkit-box-sizing:border-box;box-sizing:border-box;display:block}.news_cent[data-v-bfd3964b]{width:100%;height:auto;background:#fff;border-top:1px dashed #eee;display:-webkit-box;display:-ms-flexbox;display:flex;padding:10px;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.news_cent .news_sp1[data-v-bfd3964b]{font-size:12px;color:#000;width:71%}.news_cent .news_cent_img[data-v-bfd3964b]{width:81px;height:46px;border-radius:6px;overflow:hidden}.news_cent .news_cent_img img[data-v-bfd3964b]{width:100%;height:100%} diff --git a/backend/public/admin/system_static/follow-DvaTSkhw.js b/backend/public/admin/system_static/follow-DvaTSkhw.js new file mode 100644 index 000000000..4f6951aa0 --- /dev/null +++ b/backend/public/admin/system_static/follow-DvaTSkhw.js @@ -0,0 +1 @@ +import{l as c,f as ve,a as fe,Z as _,y as n,z as m,j as l,C as s,k as p,u as _e,A as i,a0 as S,H as v,F,D as H,a2 as ge,ac as ye,B as g,$ as k,s as x,aj as we,ar as ke,ab as L,W as be,p as he,ad as xe}from"./element-plus-C_ZDq0cz.js";import{_ as Ve,a as Ce}from"./mobilefoot-C3C9xKqL.js";import{_ as Be,g as Ue,b as Se,h as Te,S as V}from"./index-DHL7RTL2.js";import{keywordsinfoApi as Me,replyApi as ze}from"./api-BkA92x09.js";import{n as Re}from"./index-ClezV1By.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./app-hJ6HxRad.js";const Ee="/admin/system_static/head-CgdJUT-f.gif",$e={class:"centent"},Ae={key:0,class:"view-item text-box clearfix"},Fe={class:"box-content fl"},He=["textContent"],Le={key:1,class:"box-content_pic"},je=["src"],qe={key:1},De={key:0},Ne={class:"news_sp"},Oe={key:1,class:"news_cent"},Pe={key:0,class:"news_sp1"},We={key:1,class:"news_cent_img"},Ie=["src"],Ke={class:"box-card right"},Ge={class:"arrbox"},Je={class:"acea-row row-middle"},Ze=Object.assign({name:"follow"},{__name:"follow",setup(Qe){const u=Se(),M=Te(),j=c(4),q=c("600"),D=c("130"),N=c("98%"),b=c(!1),w=c(""),O=["jpg","jpeg","png","bmp","gif"],P=["mp3","wma","wav","amr"],z=c({}),t=c({status:-1,type:"",key:u.params.key||"",data:{content:"",src:"",list:[]},id:0}),W=V.apiBaseURL+"/file/upload/1",f=c([]),I=c({val:[{required:!0,validator:(a,e,r)=>{f.value.length===0?r(new Error("请输入后回车")):r()},trigger:"change"}],type:[{required:!0,message:"请选择消息类型",trigger:"change"}],content:[{required:!0,validator:(a,e,r)=>{t.value.type==="text"&&(t.value.data.content===""?r(new Error("请填写规则内容")):r())},trigger:"blur"}],src:[{required:!0,validator:(a,e,r)=>{t.value.type==="image"&&t.value.data.src===""?r(new Error("请上传")):r()},trigger:"change"}]}),C=c(null),K=c(null),G=he(()=>{const e=V.apiBaseURL.indexOf("/adminapi/");return V.apiBaseURL.substring(0,e)});ve(u,(a,e)=>{u.params.key||u.params.id!=="0"?(t.value.key=u.params.key,R()):(f.value=[],C.value.resetFields())}),fe(()=>{te(),(u.params.key||u.params.id&&u.params.id!=="0")&&R()});function J(a){}function Z(a){t.value.data.list=a.new,b.value=!1}function Q(){f.value.indexOf(w.value)===-1&&f.value.push(w.value),w.value=""}function X(a){const e=f.value.indexOf(a);f.value.splice(e,1)}function R(){let a="",e={};u.params.id?(a="app/wechat/keyword/"+u.params.id,e={}):(a="app/wechat/reply",e={key:{key:t.value.key}}),Me(a,e).then(async r=>{if(r.data.info.data instanceof Array){t.value.status=0;return}let d=r.data.info||{},h=d.data||{};t.value={status:d.status,type:d.type,key:d.key,data:{content:h.content,src:h.src,list:h.list},id:d.id},u.params.id&&(f.value=t.value.key.split(",")||[])}).catch(r=>{_.error(r.msg)})}function Y(){b.value=!0}function ee(a){switch(a){case"text":t.value.data.src="",t.value.data.list=[];break;case"news":t.value.data.src="",t.value.data.content="";break;default:t.value.data.list=[],t.value.data.content="",t.value.data.src=""}}function te(){z.value["Authori-zation"]="Bearer "+Ue("token")}function ae(a,e){a.status===200?(t.value.data.src=a.data.src,_.success(a.msg)):_.error(a.msg)}function le(a){t.value.type==="image"?_.warning("请上传bmp/png/jpeg/jpg/gif格式的图片"):_.warning("请上传mp3/wma/wav/amr格式的语音")}function se(a){_.warning("请上传文件2M以内的文件")}function oe(a){C.value.validate(e=>{if(e){let r={};u.params.id?(t.value.key=f.value.join(","),r={url:"app/wechat/keyword/"+u.params.id,key:t.value}):r={url:"app/wechat/keyword/"+t.value.id,key:t.value},ze(r).then(async d=>{ne(),_.success(d.msg)}).catch(d=>{_.error(d.msg)})}else return!1})}function ne(){u.params.id&&u.params.id==="0"?xe({title:"提示",message:"是否继续添加",showCancelButton:!0,cancelButtonText:"否",confirmButtonText:"是",iconClass:"el-icon-warning",confirmButtonClass:"btn-custom-cancel"}).then(()=>{setTimeout(()=>{f.value=[],w.value="",C.value.resetFields()},1e3)}).catch(()=>{setTimeout(()=>{M.push({path:V.routePre+"/app/wechat/reply/keyword"})},500)}):u.params.id&&u.params.id!=="0"&&M.push({path:V.routePre+"/app/wechat/reply/keyword"})}return(a,e)=>{const r=p("pages-header"),d=p("el-col"),h=p("el-tag"),y=p("el-form-item"),E=p("el-radio"),re=p("el-radio-group"),B=p("el-option"),ie=p("el-select"),$=p("el-input"),T=p("el-button"),ue=p("el-upload"),de=p("el-form"),pe=p("el-row"),ce=p("el-card"),me=p("el-dialog"),A=_e("db-click");return n(),m("div",null,[l(r,{ref_key:"pageHeader",ref:K,title:a.$route.meta.title,backUrl:a.$routeProStr+"/app/wechat/reply/keyword"},null,8,["title","backUrl"]),l(ce,{bordered:!1,shadow:"never",class:"ivu-mt-16"},{default:s(()=>[l(pe,{gutter:24},{default:s(()=>[l(d,{span:24,class:"ml40"},{default:s(()=>[l(d,{span:24},{default:s(()=>[l(d,{xl:7,lg:7,md:22,sm:22,xs:22,class:"left mb15"},{default:s(()=>[e[11]||(e[11]=i("img",{class:"top",src:Ve},null,-1)),e[12]||(e[12]=i("img",{class:"bottom",src:Ce},null,-1)),i("div",$e,[e[10]||(e[10]=i("div",{class:"time-wrapper"},[i("span",{class:"time"},"9:36")],-1)),t.value.type!=="news"?(n(),m("div",Ae,[e[9]||(e[9]=i("div",{class:"avatar fl"},[i("img",{src:Ee})],-1)),i("div",Fe,[t.value.type==="text"?(n(),m("span",{key:0,textContent:S(t.value.data.content)},null,8,He)):v("",!0),t.value.data.src?(n(),m("div",Le,[i("img",{src:t.value.data.src?G.value+t.value.data.src:""},null,8,je)])):v("",!0)])])):v("",!0),t.value.type==="news"?(n(),m("div",qe,[(n(!0),m(F,null,H(t.value.data.list,(o,U)=>(n(),m("div",{key:U},[U===0?(n(),m("div",De,[i("div",{class:"news_pic",style:ge({backgroundImage:"url("+o.image_input[0]+")",backgroundSize:"100% 100%"})},null,4),i("span",Ne,S(o.title),1)])):(n(),m("div",Oe,[o.synopsis?(n(),m("span",Pe,S(o.title),1)):v("",!0),o.image_input.length!==0?(n(),m("div",We,[i("img",{src:o.image_input[0]},null,8,Ie)])):v("",!0)]))]))),128))])):v("",!0)])]),_:1}),l(d,{xl:11,lg:12,md:22,sm:22,xs:22},{default:s(()=>[l(d,{span:24,class:"userAlert"},{default:s(()=>[i("div",Ke,[l(de,{ref_key:"formValidateRef",ref:C,model:t.value,rules:I.value,"label-width":"100px",class:"mt20",onSubmit:e[7]||(e[7]=ye(()=>{},["prevent"]))},{default:s(()=>[a.$route.params.id?(n(),g(y,{key:0,label:"关键字:",prop:"val"},{default:s(()=>[i("div",Ge,[(n(!0),m(F,null,H(f.value,(o,U)=>(n(),g(h,{onClose:tt=>X(o),name:o,closable:!0,key:U},{default:s(()=>[k(S(o),1)]),_:2},1032,["onClose","name"]))),128)),x(i("input",{class:"arrbox_ip","onUpdate:modelValue":e[0]||(e[0]=o=>w.value=o),placeholder:"输入后回车",style:{width:"90%"},onKeyup:we(Q,["enter"])},null,544),[[ke,w.value]])])]),_:1})):v("",!0),l(y,{label:"消息状态:"},{default:s(()=>[l(re,{modelValue:t.value.status,"onUpdate:modelValue":e[1]||(e[1]=o=>t.value.status=o)},{default:s(()=>[l(E,{label:1,value:1},{default:s(()=>[...e[13]||(e[13]=[k("启用",-1)])]),_:1}),l(E,{label:0,value:0},{default:s(()=>[...e[14]||(e[14]=[k("禁用",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),l(y,{label:"消息类型:",prop:"type"},{default:s(()=>[l(ie,{modelValue:t.value.type,"onUpdate:modelValue":e[2]||(e[2]=o=>t.value.type=o),placeholder:"请选择规则状态",style:{width:"90%"},onChange:e[3]||(e[3]=o=>ee(t.value.type))},{default:s(()=>[l(B,{value:"text",label:"文字消息"}),l(B,{value:"image",label:"图片消息"}),l(B,{value:"news",label:"图文消息"}),l(B,{value:"voice",label:"声音消息"})]),_:1},8,["modelValue"])]),_:1}),t.value.type==="text"?(n(),g(y,{key:1,label:"消息内容:",prop:"content"},{default:s(()=>[l($,{modelValue:t.value.data.content,"onUpdate:modelValue":e[4]||(e[4]=o=>t.value.data.content=o),placeholder:"请填写消息内容",style:{width:"90%"},type:"textarea",rows:4},null,8,["modelValue"])]),_:1})):v("",!0),t.value.type==="news"?(n(),g(y,{key:2,label:"选取图文:"},{default:s(()=>[x((n(),g(T,{onClick:Y},{default:s(()=>[...e[15]||(e[15]=[k("选择图文消息",-1)])]),_:1})),[[A]])]),_:1})):v("",!0),t.value.type==="image"||t.value.type==="voice"?(n(),g(y,{key:3,label:t.value.type==="image"?"图片地址:":"语音地址:",prop:"src"},{default:s(()=>[i("div",Je,[l($,{readonly:"readonly",placeholder:"default size",style:{width:"75%"},class:"mr15",modelValue:t.value.data.src,"onUpdate:modelValue":e[5]||(e[5]=o=>t.value.data.src=o)},null,8,["modelValue"]),l(ue,{"show-file-list":!1,action:W,"on-success":ae,accept:t.value.type==="image"?O:P,"max-size":2048,headers:z.value,"on-format-error":le,"on-exceeded-size":se,"before-upload":J,class:"mr20",style:{"margin-top":"1px"}},{default:s(()=>[l(T,{type:"primary"},{default:s(()=>[...e[16]||(e[16]=[k("上传",-1)])]),_:1})]),_:1},8,["accept","headers"])]),x(i("span",null,"文件最大2Mb,支持bmp/png/jpeg/jpg/gif格式",512),[[L,t.value.type==="image"]]),x(i("span",null,"文件最大2Mb,支持mp3格式,播放长度不超过60s",512),[[L,t.value.type==="voice"]])]),_:1},8,["label"])):v("",!0),l(y,null,{default:s(()=>[x((n(),g(T,{type:"primary",class:"mr20",onClick:e[6]||(e[6]=o=>oe("formValidate"))},{default:s(()=>[...e[17]||(e[17]=[k("保存并发布 ",-1)])]),_:1})),[[A]])]),_:1})]),_:1},8,["model","rules"])])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),l(me,{modelValue:b.value,"onUpdate:modelValue":e[8]||(e[8]=o=>b.value=o),title:"发送消息",width:"1200px","lock-scroll":!1,class:"modelBox"},{default:s(()=>[b.value?(n(),g(be(Re),{key:0,onGetCentList:Z,scrollerHeight:q.value,contentTop:D.value,contentWidth:N.value,maxCols:j.value},null,8,["scrollerHeight","contentTop","contentWidth","maxCols"])):v("",!0)]),_:1},8,["modelValue"])])}}}),pt=Be(Ze,[["__scopeId","data-v-bfd3964b"]]);export{pt as default}; diff --git a/backend/public/admin/system_static/foo3-01-DkQlt7xo.png b/backend/public/admin/system_static/foo3-01-DkQlt7xo.png new file mode 100644 index 000000000..4a94834d4 Binary files /dev/null and b/backend/public/admin/system_static/foo3-01-DkQlt7xo.png differ diff --git a/backend/public/admin/system_static/form-create-7SMPLzS9.js b/backend/public/admin/system_static/form-create-7SMPLzS9.js new file mode 100644 index 000000000..0be94eede --- /dev/null +++ b/backend/public/admin/system_static/form-create-7SMPLzS9.js @@ -0,0 +1,12 @@ +import{d as re,r as X,c as br,h as _r,i as $r,t as gt,o as xr,w as wr,a as kr,b as Cr,e as Sr,f as P,m as ce,g as tt,n as D,j as _,k as V,l as st,p as oe,q as L,s as Vr,u as Or,v as z,x as Fr,y as N,z as Z,A as pe,B as Be,C as vt,F as Ye,D as yt,E as jr,G as Er}from"./element-plus-C_ZDq0cz.js";/*! + * FormCreate 低代码表单渲染器 + * @form-create/element-ui v3.3.4 + * (c) 2018-2026 xaboy + * Github https://github.com/xaboy/form-create + * Site https://form-create.com/ + * Released under the MIT License. + */(function(){try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('._fc-frame ._fc-files img{width:100%;height:100%;display:inline-block;vertical-align:top}._fc-frame ._fc-upload-btn{border:1px dashed #c0ccda;cursor:pointer}._fc-frame._fc-disabled ._fc-upload-btn,._fc-frame._fc-disabled .el-button{cursor:not-allowed!important;color:#999}._fc-frame ._fc-upload-cover{opacity:0;position:absolute;inset:0;background:#0009;-webkit-transition:opacity .3s;-o-transition:opacity .3s;transition:opacity .3s}._fc-frame ._fc-upload-cover i{color:#fff;font-size:20px;cursor:pointer;margin:0 2px}._fc-frame ._fc-files:hover ._fc-upload-cover{opacity:1}._fc-frame .el-upload{display:block}._fc-frame ._fc-upload-icon{cursor:pointer}._fc-frame ._fc-upload-btn,._fc-files{display:inline-block;width:58px;height:58px;text-align:center;line-height:58px;border:1px solid #c0ccda;border-radius:4px;overflow:hidden;background:#fff;position:relative;-webkit-box-shadow:2px 2px 5px rgba(0,0,0,.1);box-shadow:2px 2px 5px #0000001a;margin-right:4px;-webkit-box-sizing:border-box;box-sizing:border-box}._fc-upload{width:100%}._fc-exceed .el-upload{display:none}.el-upload-list.is-disabled .el-upload{cursor:not-allowed!important}._fc-group{display:flex;min-height:38px;justify-content:center;flex-direction:column;width:100%}._fc-group-disabled ._fc-group-btn,._fc-group-disabled ._fc-group-add{cursor:not-allowed}._fc-group-handle{display:flex;flex-direction:row;position:absolute;bottom:-15px;right:30px;border-radius:15px;border:1px dashed #d9d9d9;padding:3px 8px;background-color:#fff}._fc-group-btn{cursor:pointer}._fc-group-idx{position:absolute;bottom:-15px;left:10px;width:30px;height:30px;display:flex;align-items:center;justify-content:center;background:#eee;border-radius:15px;font-weight:700}._fc-group-handle ._fc-group-btn+._fc-group-btn{margin-left:7px}._fc-group-container{position:relative;display:flex;flex-direction:column;border:1px dashed #d9d9d9;border-radius:5px;margin:5px 5px 25px;padding:20px 20px 25px}._fc-group-arrow{position:relative;width:20px;height:20px}._fc-group-arrow:before{content:"";position:absolute;top:8px;left:5px;width:9px;height:9px;border-left:2px solid #999;border-top:2px solid #999}._fc-group-arrow:before{transform:rotate(45deg)}._fc-group-arrow._fc-group-down{transform:rotate(180deg)}._fc-group-plus-minus{width:20px;height:20px;position:relative;cursor:pointer}._fc-group-plus-minus:before,._fc-group-plus-minus:after{content:"";position:absolute;top:50%;left:50%;width:60%;height:2px;background-color:#409eff;transform:translate(-50%,-50%)}._fc-group-plus-minus:before{transform:translate(-50%,-50%) rotate(90deg)}._fc-group-plus-minus._fc-group-minus:before{display:none}._fc-group-plus-minus._fc-group-minus:after{background-color:#f56c6c}._fc-group-add{cursor:pointer;width:25px;height:25px;border:1px solid rgb(64 158 255 / 50%);border-radius:15px}._fc-group-add._fc-group-plus-minus:before,._fc-group-add._fc-group-plus-minus:after{width:50%}._fc-group._fc-group-card{display:flex;flex-direction:column;width:100%;gap:16px}._fc-group._fc-group-card._fc-group-disabled ._fc-group-btn,._fc-group._fc-group-card._fc-group-disabled ._fc-group-add{cursor:not-allowed;opacity:.5}._fc-group._fc-group-card ._fc-group-container{position:relative;background:#fff;border:1px solid #f0f0f0;border-radius:6px;overflow:hidden;display:flex;flex-direction:column;padding:0;margin:0}._fc-group._fc-group-card ._fc-group-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px 12px;border-bottom:1px solid #f0f0f0;background:#fafafa}._fc-group._fc-group-card ._fc-group-idx{display:flex;align-items:center;justify-content:center;width:24px;height:24px;background:#f0f0f0;color:#666;border-radius:6px;font-size:12px;font-weight:500;margin-right:12px;flex-shrink:0;position:static;border:1px solid #e0e0e0}._fc-group._fc-group-card ._fc-group-title{flex:1;font-size:14px;font-weight:500;color:#000000d9;line-height:1.5715}._fc-group._fc-group-card ._fc-group-handle{display:flex;align-items:center;gap:4px;margin-left:12px;flex-shrink:0;position:static;bottom:auto;right:auto;border-radius:0;border:none;padding:0;background-color:transparent;flex-direction:row}._fc-group._fc-group-card ._fc-group-btn{cursor:pointer;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:4px;border:1px solid #d9d9d9;background:#fff;color:#00000073;position:relative}._fc-group._fc-group-card ._fc-group-btn:hover{color:#1890ff;border-color:#1890ff;background:#f0f8ff}._fc-group._fc-group-card ._fc-group-btn:active{color:#096dd9;border-color:#096dd9}._fc-group._fc-group-card ._fc-group-arrow{position:relative}._fc-group._fc-group-card ._fc-group-arrow:before{content:"";position:absolute;top:50%;left:50%;width:5px;height:5px;border-left:1px solid currentColor;border-top:1px solid currentColor;transform:translate(-50%,-50%) rotate(45deg)}._fc-group._fc-group-card ._fc-group-arrow._fc-group-down{transform:rotate(180deg)}._fc-group._fc-group-card ._fc-group-sort{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;height:24px}._fc-group._fc-group-card ._fc-group-sort:before,._fc-group._fc-group-card ._fc-group-sort:after{content:"";position:absolute;left:50%;width:4px;height:4px;border-left:1px solid currentColor;border-top:1px solid currentColor;transform:translate(-50%)}._fc-group._fc-group-card ._fc-group-sort:before{top:6px;transform:translate(-50%) rotate(45deg)}._fc-group._fc-group-card ._fc-group-sort:after{bottom:6px;transform:translate(-50%) rotate(225deg)}._fc-group._fc-group-card ._fc-group-sort-up,._fc-group._fc-group-card ._fc-group-sort-down{position:absolute;left:0;right:0;height:12px;cursor:pointer;z-index:1}._fc-group._fc-group-card ._fc-group-sort-up{top:0}._fc-group._fc-group-card ._fc-group-sort-down{bottom:0}._fc-group._fc-group-card ._fc-group-sort-up:hover,._fc-group._fc-group-card ._fc-group-sort-down:hover{background:#1890ff1a}._fc-group._fc-group-card ._fc-group-plus-minus{position:relative;background:#409eff;border-color:#409eff;color:#fff;width:24px;height:24px}._fc-group._fc-group-card ._fc-group-plus-minus:hover{background:#66b1ff;border-color:#66b1ff;color:#fff}._fc-group._fc-group-card ._fc-group-plus-minus:before,._fc-group._fc-group-card ._fc-group-plus-minus:after{content:"";position:absolute;top:50%;left:50%;width:8px;height:1px;background-color:currentColor;transform:translate(-50%,-50%)}._fc-group._fc-group-card ._fc-group-plus-minus:before{transform:translate(-50%,-50%) rotate(90deg)}._fc-group._fc-group-card ._fc-group-plus-minus._fc-group-minus{background:#f56c6c;border-color:#f56c6c}._fc-group._fc-group-card ._fc-group-plus-minus._fc-group-minus:hover{background:#f78989;border-color:#f78989}._fc-group._fc-group-card ._fc-group-plus-minus._fc-group-minus:before{display:none}._fc-group._fc-group-card ._fc-group-content{padding:20px}._fc-group._fc-group-card ._fc-group-add{cursor:pointer;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:4px;border:1px solid #d9d9d9;background:#fff;color:#00000073;position:relative}._fc-group._fc-group-card ._fc-group-add:hover{color:#409eff;border-color:#409eff;background:#f0f8ff}._fc-group._fc-group-card ._fc-group-add._fc-group-plus-minus{width:24px;height:24px;background:#409eff;border-color:#409eff;color:#fff}._fc-group._fc-group-card ._fc-group-add._fc-group-plus-minus:hover{background:#66b1ff;border-color:#66b1ff;color:#fff}._fc-group._fc-group-card ._fc-group-add._fc-group-plus-minus:before,._fc-group._fc-group-card ._fc-group-add._fc-group-plus-minus:after{content:"";position:absolute;top:50%;left:50%;width:8px;height:1px;background-color:currentColor;transform:translate(-50%,-50%)}._fc-group._fc-group-card ._fc-group-add._fc-group-plus-minus:before{transform:translate(-50%,-50%) rotate(90deg)}._fc-group._fc-group-card ._fc-group-empty{text-align:center;padding:40px 20px;color:#00000073;font-size:14px}@media (max-width: 768px){._fc-group._fc-group-card ._fc-group-container{margin:0 -8px;border-radius:0;border-left:none;border-right:none}._fc-group._fc-group-card ._fc-group-header{padding:12px 16px 8px}._fc-group._fc-group-card ._fc-group-content{padding:16px}._fc-group._fc-group-card ._fc-group-handle{gap:2px}._fc-group._fc-group-card ._fc-group-btn{width:22px;height:22px}}.form-create .form-create .el-form-item{margin-bottom:22px}.form-create{width:100%}.form-create.is-preview .fc-clock,.form-create .fc-none,.form-create.is-preview .el-form-item.is-required>.el-form-item__label-wrap>.el-form-item__label:before,.form-create.is-preview .el-form-item.is-required>.el-form-item__label:before{display:none!important}.fc-wrap-right>.el-form-item__label{display:flex;justify-content:flex-end}.fc-wrap-left>.el-form-item__label{display:flex;justify-content:flex-start}.fc-wrap-top.el-form-item{display:block}.fc-wrap-top.el-form-item>.el-form-item__label{display:block;height:auto;line-height:22px;margin-bottom:8px;text-align:left;float:unset}.el-form--large .fc-wrap-top.el-form-item>.el-form-item__label{line-height:22px;margin-bottom:12px}.el-form--default .fc-wrap-top.el-form-item>.el-form-item__label{line-height:22px;margin-bottom:8px}.el-form--small .fc-wrap-top.el-form-item>.el-form-item__label{line-height:20px;margin-bottom:4px}.fc-form-footer{margin-top:12px}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();var Rr=Object.defineProperty,Dr=Object.defineProperties,Ar=Object.getOwnPropertyDescriptors,bt=Object.getOwnPropertySymbols,Ir=Object.prototype.hasOwnProperty,Pr=Object.prototype.propertyIsEnumerable,_t=(t,e,r)=>e in t?Rr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,$=(t,e)=>{for(var r in e||(e={}))Ir.call(e,r)&&_t(t,r,e[r]);if(bt)for(var r of bt(e))Pr.call(e,r)&&_t(t,r,e[r]);return t},J=(t,e)=>Dr(t,Ar(e));function at(t,e){return Object.keys(t).reduce((r,i)=>((!e||e.indexOf(i)===-1)&&(r[i]=t[i]),r),{})}function U(t){return Array.isArray(t)?t:[null,void 0,""].indexOf(t)>-1?[]:[t]}const Br="fcCheckbox",Lr=re({name:Br,inheritAttrs:!1,props:{formCreateInject:Object,modelValue:{type:Array,default:()=>[]},type:String,options:Array,input:Boolean,inputValue:String},emits:["update:modelValue","fc.el"],setup(t,e){const r=L(t.formCreateInject,"options",[]),i=L(t,"options"),o=L(t,"modelValue"),n=L(t,"inputValue",""),s=st(n.value),a=L(t,"input",!1),l=d=>{const f=[...U(o.value)],g=f.indexOf(s.value);s.value=d,g>-1&&(f.splice(g,1),f.push(d),c(f))};P(n,d=>{if(!a.value){s.value=d;return}l(d)});const u=oe(()=>{let d=r.value||[];return i.value&&(d=i.value||[]),Array.isArray(d)?d:[]});P(o,d=>{let f=null;if(!n.value&&d!=null&&Array.isArray(d)&&d.length>0&&a.value){const g=u.value.map(y=>y.value);d.forEach(y=>{g.indexOf(y)===-1&&(f=y)})}f!=null&&(s.value=f)},{immediate:!0});const c=d=>{e.emit("update:modelValue",d)};return{options:u,value:o,onInput:c,updateCustomValue:l,makeInput(d){if(a.value)return _(d,{value:s.value||void 0,label:s.value||void 0},{default:()=>[_(V("ElInput"),{size:"small",modelValue:s.value,"onUpdate:modelValue":l},null)]})}}},render(){const t=this.type==="button"?"ElCheckboxButton":"ElCheckbox",e=V(t);return _(V("ElCheckboxGroup"),z(this.$attrs,{modelValue:this.value===null?void 0:this.value,"onUpdate:modelValue":this.onInput,ref:"el"}),$({default:()=>{var r,i;return[this.options.map((o,n)=>{const s=$({},o),a=s.value,l=s.label;return delete s.value,delete s.label,_(e,z(s,{label:a,value:a,key:t+n+"-"+a}),{default:()=>[l||a||""]})}),(i=(r=this.$slots).default)==null?void 0:i.call(r),this.makeInput(e)]}},at(this.$slots,["default"])))},mounted(){this.$emit("fc.el",this.$refs.el)}});function Mt(t){t=t||new Map;const e={$on(r,i){const o=t.get(r);o&&o.push(i)||t.set(r,[i])},$once(r,i){i._once=!0,e.$on(r,i)},$off(r,i){const o=t.get(r);o&&o.splice(o.indexOf(i)>>>0,1)},$emit(r,...i){(t.get(r)||[]).slice().map(o=>{o._once&&(e.$off(r,o),delete o._once),o(...i)}),(t.get("*")||[]).slice().map(o=>{o(r,i)})}};return e}const me=(t,e)=>{const r=t.__vccOpts||t;for(const[i,o]of e)r[i]=o;return r},Tr={name:"IconCircleClose"},Mr={class:"icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"};function Nr(t,e,r,i,o,n){return N(),Z("svg",Mr,[...e[0]||(e[0]=[pe("path",{fill:"currentColor",d:"M466.752 512l-90.496-90.496a32 32 0 0145.248-45.248L512 466.752l90.496-90.496a32 32 0 1145.248 45.248L557.248 512l90.496 90.496a32 32 0 11-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 01-45.248-45.248L466.752 512z"},null,-1),pe("path",{fill:"currentColor",d:"M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"},null,-1)])])}const Ur=me(Tr,[["render",Nr]]),qr={name:"IconDocument"},zr={class:"icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"};function Hr(t,e,r,i,o,n){return N(),Z("svg",zr,[...e[0]||(e[0]=[pe("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640V384zm-26.496-64L640 154.496V320h165.504zM160 64h480l256 256v608a32 32 0 01-32 32H160a32 32 0 01-32-32V96a32 32 0 0132-32zm160 448h384v64H320v-64zm0-192h160v64H320v-64zm0 384h384v64H320v-64z"},null,-1)])])}const Gr=me(qr,[["render",Hr]]),Yr={name:"IconDelete"},Jr={class:"icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"};function Kr(t,e,r,i,o,n){return N(),Z("svg",Jr,[...e[0]||(e[0]=[pe("path",{fill:"currentColor",d:"M160 256H96a32 32 0 010-64h256V95.936a32 32 0 0132-32h256a32 32 0 0132 32V192h256a32 32 0 110 64h-64v672a32 32 0 01-32 32H192a32 32 0 01-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32zm192 0a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32z"},null,-1)])])}const Wr=me(Yr,[["render",Kr]]),Qr={name:"IconView"},Xr={class:"icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"};function Zr(t,e,r,i,o,n){return N(),Z("svg",Xr,[...e[0]||(e[0]=[pe("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 110 448 224 224 0 010-448zm0 64a160.192 160.192 0 00-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"},null,-1)])])}const ei=me(Qr,[["render",Zr]]),ti={name:"IconFolderOpened"},ri={class:"icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"};function ii(t,e,r,i,o,n){return N(),Z("svg",ri,[...e[0]||(e[0]=[pe("path",{fill:"currentColor",d:"M878.08 448H241.92l-96 384h636.16l96-384zM832 384v-64H485.76L357.504 192H128v448l57.92-231.744A32 32 0 01216.96 384H832zm-24.96 512H96a32 32 0 01-32-32V160a32 32 0 0132-32h287.872l128.384 128H864a32 32 0 0132 32v96h23.04a32 32 0 0131.04 39.744l-112 448A32 32 0 01807.04 896z"},null,-1)])])}const ni=me(ti,[["render",ii]]),oi="fcFrame",si=re({name:oi,props:{type:{type:String,default:"input"},field:String,helper:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},src:{type:String,required:!0},icon:{type:String,default:"IconFolderOpened"},width:{type:String,default:"500px"},height:{type:String,default:"370px"},maxLength:{type:Number,default:0},okBtnText:{type:String,default:""},closeBtnText:{type:String,default:""},modalTitle:String,handleIcon:{type:[String,Boolean],default:void 0},title:String,allowRemove:{type:Boolean,default:!0},onOpen:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}},onCancel:{type:Function,default:()=>{}},onLoad:{type:Function,default:()=>{}},onBeforeRemove:{type:Function,default:()=>{}},onRemove:{type:Function,default:()=>{}},onHandle:Function,modal:{type:Object,default:()=>({})},srcKey:[String,Number],modelValue:[Array,String,Number,Object],previewMask:void 0,footer:{type:Boolean,default:!0},reload:{type:Boolean,default:!0},closeBtn:{type:Boolean,default:!0},okBtn:{type:Boolean,default:!0},formCreateInject:Object},emits:["update:modelValue","change"],components:{IconFolderOpened:ni,IconView:ei},data(){return{fileList:U(this.modelValue),previewVisible:!1,frameVisible:!1,previewImage:"",bus:new Mt}},watch:{modelValue(t){this.fileList=U(t)}},methods:{close(){this.closeModel(!0)},closeModel(t){this.bus.$emit(t?"$close":"$ok"),this.reload&&(this.bus.$off("$ok"),this.bus.$off("$close")),this.frameVisible=!1},handleCancel(){this.previewVisible=!1},showModel(){this.disabled||this.onOpen()===!1||(this.frameVisible=!0)},input(){const t=this.fileList,e=this.maxLength===1?t[0]||"":t;this.$emit("update:modelValue",e),this.$emit("change",e)},makeInput(){return _(V("ElInput"),z({type:"text",modelValue:this.fileList.map(t=>this.getSrc(t)).toString(),readonly:!0},{key:1}),{append:()=>_(V("ElButton"),{icon:V(this.icon),onClick:()=>this.showModel()},null),suffix:()=>this.fileList.length&&!this.disabled?_(V("ElIcon"),{class:"el-input__icon _fc-upload-icon",onClick:()=>{this.fileList=[],this.input()}},{default:()=>[_(Ur,null,null)]}):null})},makeGroup(t){return(!this.maxLength||this.fileList.lengththis.handleClick(t),key:"5"+e},{default:()=>[_(r,null,null)]})},makeRemoveIcon(t,e){return _(V("ElIcon"),{onClick:()=>this.handleRemove(t),key:"6"+e},{default:()=>[_(Wr,null,null)]})},makeFiles(){return this.makeGroup(this.fileList.map((t,e)=>this.makeItem(e,[_(V("ElIcon"),{onClick:()=>this.handleClick(t)},{default:()=>[_(Gr,null,null)]}),this.makeIcons(t,e)])))},makeImages(){return this.makeGroup(this.fileList.map((t,e)=>this.makeItem(e,[_("img",{src:this.getSrc(t)},null),this.makeIcons(t,e)])))},makeBtn(){const t=V(this.icon);return _("div",{class:"_fc-upload-btn",onClick:()=>this.showModel(),key:7},[_(V("ElIcon"),null,{default:()=>[_(t,null,null)]})])},handleClick(t){if(this.onHandle)return this.onHandle(t);this.previewImage=this.getSrc(t),this.previewVisible=!0},handleRemove(t){this.disabled||this.onBeforeRemove(t)!==!1&&(this.fileList.splice(this.fileList.indexOf(t),1),this.input(),this.onRemove(t))},getSrc(t){return this.srcKey?t[this.srcKey]:t},frameLoad(t){this.onLoad(t);try{this.helper===!0&&(t.form_create_helper={api:this.formCreateInject.api,close:e=>{this.valid(e),this.closeModel()},set:(e,r)=>{this.valid(e),!this.disabled&&this.$emit("update:modelValue",r)},get:e=>(this.valid(e),this.modelValue),onOk:e=>this.bus.$on("$ok",e),onClose:e=>this.bus.$on("$close",e)})}catch(e){console.error(e)}},makeFooter(){const{okBtnText:t,closeBtnText:e,closeBtn:r,okBtn:i,footer:o}=this.$props;if(o)return _("div",null,[r?_(V("ElButton"),{onClick:()=>this.onCancel()!==!1&&(this.frameVisible=!1)},{default:()=>[e||this.formCreateInject.t("close")||"关闭"]}):null,i?_(V("ElButton"),{type:"primary",onClick:()=>this.onOk()!==!1&&this.closeModel()},{default:()=>[t||this.formCreateInject.t("ok")||"确定"]}):null])}},render(){const t=this.type;let e;t==="input"?e=this.makeInput():t==="image"?e=this.makeImages():e=this.makeFiles();const{width:r="30%",height:i,src:o,title:n,modalTitle:s}=this.$props;return D(()=>{this.$refs.frame&&this.frameLoad(this.$refs.frame.contentWindow||{})}),_("div",{class:{"_fc-frame":!0,"_fc-disabled":this.disabled}},[e,_(V("ElDialog"),{appendToBody:!0,modal:this.previewMask,title:s,modelValue:this.previewVisible,onClose:this.handleCancel},{default:()=>[_("img",{style:"width: 100%",src:this.previewImage},null)]}),_(V("ElDialog"),z({appendToBody:!0},$({width:r,title:n},this.modal),{modelValue:this.frameVisible,onClose:()=>this.closeModel(!0)}),{default:()=>[this.frameVisible||!this.reload?_("iframe",{ref:"frame",src:o,frameBorder:"0",style:{height:i,border:"0 none",width:"100%"}},null):null],footer:()=>this.makeFooter()})])},beforeMount(){const{name:t,field:e,api:r}=this.formCreateInject;t&&r.on("fc:closeModal:"+t,this.close),e&&r.on("fc:closeModal:"+e,this.close)},beforeUnmount(){const{name:t,field:e,api:r}=this.formCreateInject;t&&r.off("fc:closeModal:"+t,this.close),e&&r.off("fc:closeModal:"+e,this.close)}}),ai="fcRadio",li=re({name:ai,inheritAttrs:!1,props:{formCreateInject:Object,modelValue:{type:[String,Number,Boolean],default:""},options:Array,type:String,input:Boolean,inputValue:String},emits:["update:modelValue","fc.el"],setup(t,e){const r=L(t.formCreateInject,"options",[]),i=L(t,"options"),o=L(t,"modelValue"),n=L(t,"inputValue",""),s=st(n.value),a=L(t,"input",!1);P(n,d=>{if(!a.value){s.value=d;return}c(d)});const l=oe(()=>{let d=r.value||[];return i.value&&(d=i.value||[]),Array.isArray(d)?d:[]});P(o,d=>{let f=!1;!n.value&&d!=null&&a.value&&(f=l.value.map(g=>g.value).indexOf(d)===-1),f&&(s.value=d)},{immediate:!0});const u=d=>{e.emit("update:modelValue",d)},c=d=>{const f=s.value;s.value=d,o.value===f&&u(d)};return{options:l,value:o,onInput:u,updateCustomValue:c,customValue:s,makeInput(d){if(a.value)return _(d,{checked:!1,value:s.value||void 0,label:s.value||void 0},{default:()=>[_(V("ElInput"),{size:"small",modelValue:s.value,"onUpdate:modelValue":c},null)]})}}},render(){const t=this.type==="button"?"ElRadioButton":"ElRadio",e=V(t);return _(V("ElRadioGroup"),z(this.$attrs,{modelValue:this.value,"onUpdate:modelValue":this.onInput,ref:"el"}),$({default:()=>{var r,i;return[this.options.map((o,n)=>{const s=$({},o),a=s.value,l=s.label;return delete s.value,delete s.label,_(e,z(s,{label:a,value:a,key:t+n+"-"+a}),{default:()=>[l||a||""]})}),(i=(r=this.$slots).default)==null?void 0:i.call(r),this.makeInput(e)]}},at(this.$slots,["default"])))},mounted(){this.$emit("fc.el",this.$refs.el)}}),h={type(t,e){return Object.prototype.toString.call(t)==="[object "+e+"]"},Undef(t){return t==null},Element(t){return typeof t=="object"&&t!==null&&t.nodeType===1&&!h.Object(t)},trueArray(t){return Array.isArray(t)&&t.length>0},Function(t){const e=this.getType(t);return e==="Function"||e==="AsyncFunction"},getType(t){const e=Object.prototype.toString.call(t);return/^\[object (.*)\]$/.exec(e)[1]},empty(t){return t==null||Array.isArray(t)&&Array.isArray(t)&&!t.length?!0:typeof t=="string"&&!t}};["Date","Object","String","Boolean","Array","Number"].forEach(t=>{h[t]=function(e){return h.type(e,t)}});function E(t,e){return{}.hasOwnProperty.call(t,e)}const ui="fcSelect",ci=re({name:ui,inheritAttrs:!1,props:{formCreateInject:Object,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},type:String},emits:["update:modelValue","fc.el"],setup(t,{emit:e}){const r=L(t.formCreateInject,"options",[]),i=L(t,"modelValue");return{options:oe(()=>Array.isArray(r.value)?r.value:[]),value:i,handleUpdate:o=>{e("update:modelValue",o)},hasProperty:E,is:h}},mounted(){this.$emit("fc.el",this.$refs.el)}});function di(t,e,r,i,o,n){const s=V("el-option"),a=V("el-option-group"),l=V("el-select");return N(),Be(l,z(t.$attrs,{"model-value":t.value,"onUpdate:modelValue":t.handleUpdate,ref:"el"}),{default:vt(()=>[(N(!0),Z(Ye,null,yt(t.options,(u,c)=>(N(),Z(Ye,null,[t.hasProperty(u,"options")?(N(),Be(a,{label:u.label,key:`${c}-${u.label}`},{default:vt(()=>[(N(!0),Z(Ye,null,yt(t.is.trueArray(u.options)?u.options:[],(d,f)=>(N(),Be(s,z({key:`${f}-${d.value}`},{ref_for:!0},d),null,16))),128))]),_:2},1032,["label"])):(N(),Be(s,z({key:`${c}-${u.value}`},{ref_for:!0},u),null,16))],64))),256)),jr(t.$slots,"default")]),_:3},16,["model-value","onUpdate:modelValue"])}const pi=me(ci,[["render",di]]),fi="fcTree",hi=re({name:fi,inheritAttrs:!1,formCreateParser:{mergeProp(t){const e=t.prop.props;e.nodeKey||(e.nodeKey="id"),e.props||(e.props={label:"title"})}},props:{type:String,modelValue:{type:[Array,String,Number],default:()=>[]}},emits:["update:modelValue","fc.el"],watch:{modelValue(){this.setValue()}},methods:{updateValue(){if(!this.$refs.tree)return;let t;this.type==="selected"?t=this.$refs.tree.getCurrentKey():t=this.$refs.tree.getCheckedKeys(),this.$emit("update:modelValue",t)},setValue(){this.$refs.tree&&(this.type==="selected"?this.$refs.tree.setCurrentKey(this.modelValue):this.$refs.tree.setCheckedKeys(U(this.modelValue)))}},render(){return _(V("ElTree"),z(this.$attrs,{ref:"tree",onCheck:this.updateValue,onNodeClick:this.updateValue}),this.$slots)},mounted(){this.setValue(),this.$emit("fc.el",this.$refs.tree)}}),mi={name:"IconUpload"},gi={class:"icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"};function vi(t,e,r,i,o,n){return N(),Z("svg",gi,[...e[0]||(e[0]=[pe("path",{fill:"currentColor",d:"M160 832h704a32 32 0 110 64H160a32 32 0 110-64zm384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248L544 253.696z"},null,-1)])])}const yi=me(mi,[["render",vi]]);function $t(t,e){return typeof t=="object"?t:{url:t,is_string:!0,name:bi(t),uid:e}}function xt(t){return J($({},t),{file:t,value:t})}function bi(t){return(""+t).split("/").pop()}const _i="fcUpload",$i=re({name:_i,inheritAttrs:!1,formCreateParser:{toFormValue(t){return U(t)},toValue(t,e){return e.prop.props.limit===1?t[0]||"":t}},props:{previewMask:void 0,onPreview:Function,httpRequest:Function,modalTitle:String,listType:String,uploadText:String,formCreateInject:Object,modelValue:[Array,String,Object]},emits:["update:modelValue","change","remove","fc.el"],data(){return{previewVisible:!1,previewImage:"",fileList:[]}},created(){this.fileList=U(this.modelValue).map($t).map(xt)},watch:{modelValue(t){this.fileList=U(t).map($t).map(xt)}},methods:{handlePreview(t){this.onPreview?this.onPreview(...arguments):this.listType==="text"?window.open(t.url):(this.previewImage=t.url,this.previewVisible=!0)},update(t){let e=t.map(r=>r.is_string?r.url:r.value||r.url).filter(r=>r!==void 0);this.$emit("update:modelValue",e)},handleCancel(){this.previewVisible=!1},handleChange(t,e){this.$emit("change",...arguments),t.status==="success"&&this.update(e)},handleRemove(t,e){this.$emit("remove",...arguments),this.update(e)},doHttpRequest(t){if(this.httpRequest)return this.httpRequest(t);t.source="upload",this.formCreateInject.api.fetch(t)}},render(){const t=U(this.modelValue).length;return _("div",{class:"_fc-upload"},[_(V("ElUpload"),z({key:t},this.$attrs,{listType:this.listType||"picture-card",class:{"_fc-exceed":this.$attrs.limit?this.$attrs.limit<=t:!1},onPreview:this.handlePreview,onChange:this.handleChange,onRemove:this.handleRemove,httpRequest:this.doHttpRequest,fileList:this.fileList,ref:"upload"}),$({default:()=>{var e,r;return[((r=(e=this.$slots).default)==null?void 0:r.call(e))||(["text","picture"].indexOf(this.listType)===-1?_(V("ElIcon"),null,{default:()=>[_(yi,null,null)]}):_(V("ElButton"),{type:"primary"},{default:()=>[this.formCreateInject.t("clickToUpload")||this.uploadText||"点击上传"]}))]}},at(this.$slots,["default"]))),_(V("ElDialog"),{appendToBody:!0,modal:this.previewMask,title:this.modalTitle,modelValue:this.previewVisible,onClose:this.handleCancel},{default:()=>[_("img",{style:"width: 100%",src:this.previewImage},null)]})])},mounted(){this.$emit("fc.el",this.$refs.upload)}});function Y(t,e,r){t[e]=r}function xe(t,e){delete t[e]}function Re(t,e={},r){let i=!1;for(let o in e)if(Object.prototype.hasOwnProperty.call(e,o)){let n=e[o];if((i=Array.isArray(n))||h.Object(n)){let s=t[o]===void 0;if(i)i=!1,s&&Y(t,o,[]);else if(n._clone&&r!==void 0)if(r)n=n.getRule(),s&&Y(t,o,{});else{Y(t,o,n._clone());continue}else s&&Y(t,o,{});t[o]=Re(t[o],n,r)}else Y(t,o,n),h.Undef(n)||(h.Undef(n.__json)||(t[o].__json=n.__json),h.Undef(n.__origin)||(t[o].__origin=n.__origin))}return r!==void 0&&Array.isArray(t)?t.filter(o=>!o||!o.__ctrl):t}function ee(t){return Re({},{value:t}).value}const xi=Object.assign||function(t){for(let e,r=1;rt.call(this,...i),e)}}function Nt(t){return t==null?"":typeof t=="object"?JSON.stringify(t,null,2):String(t)}function wi(t){return t&&typeof t=="object"&&typeof t.then=="function"}function Ue(t){return wi(t)?t:Promise.resolve(t)}function je(t){let e=t.replace(/([A-Z])/g,"-$1").toLocaleLowerCase();return e.indexOf("-")===0&&(e=e.substr(1)),e}function Ut(t){return t.replace(t[0],t[0].toLocaleUpperCase())}function qt(t,e,r){return`[form-create ${t}]: ${e}`}function lt(t,e){console.error(qt("err",t))}function ki(t){lt(t.toString()),console.error(t)}const it="[[FORM-CREATE-PREFIX-",nt="-FORM-CREATE-SUFFIX]]";function Ee(t,e){return JSON.stringify(Re(Array.isArray(t)?[]:{},t,!0),function(r,i){if(!(i&&i._isVue===!0)){if(typeof i!="function")return i;if(i.__json)return i.__json;if(i.__origin&&(i=i.__origin),!i.__emit)return it+i+nt}},e)}function Je(t){return new Function("return "+t)()}function te(t,e){if(t&&h.String(t)&&t.length>4){let r=t.trim(),i=!1;try{if(r.indexOf(nt)>0&&r.indexOf(it)===0)r=r.replace(nt,"").replace(it,""),i=!0;else if(r.indexOf("$FN:")===0)r=r.substring(4),i=!0;else if(r.indexOf("$EXEC:")===0)r=r.substring(6),i=!0;else if(r.indexOf("$GLOBAL:")===0){const n=r.substring(8);return r=function(...s){const a=s[0].api.getGlobalEvent(n);if(a)return a.call(this,...s)},r.__json=t,r.__inject=!0,r}else{if(r.indexOf("$FNX:")===0)return r=Je(`function($inject){ +`+r.substring(5)+` +}`),r.__json=t,r.__inject=!0,r;(!e&&r.indexOf("function ")===0&&r!=="function "||!e&&r.indexOf("function(")===0&&r!=="function(")&&(i=!0)}if(!i)return t;let o;try{o=Je(r)}catch{o=Je("function "+r)}return o.__json=t,o}catch(o){lt(`解析失败:${r} + +err: ${o}`);return}}return t}function zt(t,e){return JSON.parse(t,function(r,i){return h.Undef(i)||!i.indexOf?i:te(i,e)})}let Ci=0;function qe(){const t=370+ ++Ci;return"F"+Math.random().toString(36).substr(3,3)+(+`${Date.now()}`).toString(36)+t.toString(36)+"c"}function fe(t,e,r){let i=t,o;return(e||"").split(".").forEach(n=>{o&&((!i[o]||typeof i[o]!="object")&&(i[o]={}),i=i[o]),o=n}),i[o]=r,i}const Si="fcGroup",Vi=re({name:Si,props:{field:String,rule:Array,expand:Number,options:Object,button:{type:Boolean,default:!0},max:{type:Number,default:0},min:{type:Number,default:0},modelValue:{type:Array,default:()=>[]},defaultValue:Object,sortBtn:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},syncDisabled:{type:Boolean,default:!0},title:{type:[String,Function],default:null},type:{type:String,default:"default"},onBeforeRemove:{type:Function,default:()=>{}},onBeforeAdd:{type:Function,default:()=>{}},formCreateInject:Object,parse:Function},data(){return{len:0,cacheRule:{},cacheValue:{},sort:[],form:ce(this.formCreateInject.form.$form())}},emits:["update:modelValue","change","itemMounted","remove","add"],watch:{rule:{handler(t,e){Object.keys(this.cacheRule).forEach(r=>{const i=this.cacheRule[r];if(i.$f){const o=i.$f.formData();if(t===e)i.$f.deferSyncValue(()=>{Re(i.rule,t),i.$f.setValue(o)},!0);else{const n=i.$f.formData();i.$f.once("reloading",()=>{i.$f.setValue(n)}),i.rule=ee(t)}}})},deep:!0},expand(t){let e=t-this.modelValue.length;e>0&&this.expandRule(e)},modelValue:{handler(t){t=t||[];let e=this.sort,r=e.length,i=r-t.length;if(i<0){for(let o=i;o<0;o++)this.addRule(t.length+o,!0);for(let o=0;o0)for(let o=0;o{this.setValue(e[n],t[n])})}},deep:!0}},methods:{_value(t){return t&&E(t,this.field)?t[this.field]:t},cache(t,e){this.cacheValue[t]=JSON.stringify(e)},input(t){this.$emit("update:modelValue",t),this.$emit("change",t)},formData(t,e){const r=this.cacheRule,i=this.sort;if(i.filter(n=>r[n]&&r[n].$f).length!==i.length)return;const o=i.map(n=>{const s=t===n?e:$({},this.cacheRule[n].$f.form),a=this.field?h.Undef(s[this.field])?null:s[this.field]:s;return this.cache(n,a),a});this.input(o)},setValue(t,e){const r=this.field;r&&(e={[r]:this._value(e)}),this.cacheValue[t]!==JSON.stringify(r?e[r]:e)&&(this.cacheRule[t].$f&&this.cacheRule[t].$f.coverValue(e),this.cache(t,e))},addRule(t,e){const r=this.formCreateInject.form.copyRules(this.rule||[]),i=this.options?$({},this.options):{submitBtn:!1,resetBtn:!1};if(this.defaultValue){i.formData||(i.formData={});const o=ee(this.defaultValue);w(i.formData,this.field?{[this.field]:o}:o)}this.parse&&this.parse({rule:r,options:i,index:this.sort.length}),this.cacheRule[++this.len]={rule:r,options:i},this.sort=Object.keys(this.cacheRule),e&&D(()=>this.$emit("add",r,Object.keys(this.cacheRule).length-1))},add$f(t,e,r){this.cacheRule[e].$f=r,D(()=>{this.$emit("itemMounted",r,Object.keys(this.cacheRule).indexOf(e))})},removeRule(t,e){const r=Object.keys(this.cacheRule).indexOf(t);delete this.cacheRule[t],delete this.cacheValue[t],this.sort=Object.keys(this.cacheRule),e&&D(()=>this.$emit("remove",r))},add(t){if(this.disabled||this.onBeforeAdd(this.modelValue)===!1)return;const e=[...this.modelValue];e.push(this.defaultValue?ee(this.defaultValue):this.field?null:{}),this.input(e)},del(t,e){if(this.disabled)return;const r=()=>{this.removeRule(e,!0);const i=[...this.modelValue];i.splice(t,1),this.input(i)};Ue(this.onBeforeRemove(this.modelValue,t)).then(i=>{i!==!1&&r()})},addIcon(t){return _("div",{class:"_fc-group-btn _fc-group-plus-minus",onClick:this.add},null)},delIcon(t,e){return _("div",{class:"_fc-group-btn _fc-group-plus-minus _fc-group-minus",onClick:()=>this.del(t,e)},null)},sortUpIcon(t){return _("div",{class:"_fc-group-btn _fc-group-arrow _fc-group-up",onClick:()=>this.changeSort(t,-1)},null)},sortDownIcon(t){return _("div",{class:"_fc-group-btn _fc-group-arrow _fc-group-down",onClick:()=>this.changeSort(t,1)},null)},changeSort(t,e){const r=this.sort[t];this.sort[t]=this.sort[t+e],this.sort[t+e]=r,this.formCreateInject.subForm(this.sort.map(i=>this.cacheRule[i].$f)),this.formData(0)},sortIcon(t,e){const r=t>0,i=tthis.changeSort(t,-1)},null),_("div",{class:" _fc-group-sort-down",onClick:()=>this.changeSort(t,1)},null)])),o):(r&&o.push(this.sortUpIcon(t)),i&&o.push(this.sortDownIcon(t)),o)},makeIcon(t,e,r){if(this.$slots.button)return this.$slots.button({total:t,index:e,vm:this,key:r,del:()=>this.del(e,r),add:this.add});const i=[];if((!this.max||tthis.min&&i.push(this.delIcon(e,r)),this.sortBtn){const o=this.sortIcon(e,t);o&&i.push(...o)}return i},expandRule(t){for(let e=0;e0&&this.expandRule(t)},render(){const t=this.sort,e=this.button,r=this.form,i=this.disabled,o=this.type==="card",n=t.length===0?this.$slots.default?this.$slots.default({vm:this,add:this.add}):_("div",{key:"a_def",class:"_fc-group-plus-minus _fc-group-add fc-clock",onClick:this.add},null):t.map((s,a)=>{const{rule:l,options:u}=this.cacheRule[s],c=e&&!i?this.makeIcon(t.length,a,s):[],d=this.getTitle(a,s);return o?_("div",{class:"_fc-group-container",key:s},[_("div",{class:"_fc-group-header"},[d===!1?_("div",{class:"_fc-group-idx"},[a+1]):null,d!==!1?_("div",{class:"_fc-group-title"},[d]):null,_("div",{class:"_fc-group-handle fc-clock"},[c.length?c:null])]),_("div",{class:"_fc-group-content"},[_(r,z({key:s},J($({},this.$attrs),{disabled:i,"onUpdate:modelValue":f=>this.formData(s,f),"onUpdate:api":f=>this.add$f(a,s,f),inFor:!0,modelValue:this.field?{[this.field]:this._value(this.modelValue[a])}:this.modelValue[a],rule:l,option:u,extendOption:!0})),null)])]):_("div",{class:"_fc-group-container",key:s},[_(r,z({key:s},J($({},this.$attrs),{disabled:i,"onUpdate:modelValue":f=>this.formData(s,f),"onUpdate:api":f=>this.add$f(a,s,f),inFor:!0,modelValue:this.field?{[this.field]:this._value(this.modelValue[a])}:this.modelValue[a],rule:l,option:u,extendOption:!0})),null),_("div",{class:"_fc-group-idx"},[a+1]),c.length?_("div",{class:"_fc-group-handle fc-clock"},[c]):null])});return _("div",{key:"con",class:"_fc-group "+(i?"_fc-group-disabled":"")+(o?" _fc-group-card":"")},[n])}}),Oi="fcSubForm",Fi=re({name:Oi,props:{rule:Array,options:{type:Object,default:()=>X({submitBtn:!1,resetBtn:!1})},modelValue:{type:Object,default:()=>({})},disabled:{type:Boolean,default:!1},syncDisabled:{type:Boolean,default:!0},formCreateInject:Object},data(){return{cacheValue:{},subApi:{},form:ce(this.formCreateInject.form.$form())}},emits:["fc:subform","update:modelValue","change","itemMounted"],watch:{modelValue(t){this.setValue(t)}},methods:{formData(t){this.cacheValue=JSON.stringify(t),this.$emit("update:modelValue",t),this.$emit("change",t)},setValue(t){const e=JSON.stringify(t);this.cacheValue!==e&&(this.cacheValue=e,this.subApi.coverValue(t||{}))},add$f(t){this.subApi=t,D(()=>{this.$emit("itemMounted",t)})}},render(){const t=this.form;return _(t,{disabled:this.disabled,"onUpdate:modelValue":this.formData,modelValue:this.modelValue,"onUpdate:api":this.add$f,rule:this.rule,option:this.options,extendOption:!0},null)}}),ji={name:"IconWarning"},Ei={class:"icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"};function Ri(t,e,r,i,o,n){return N(),Z("svg",Ei,[...e[0]||(e[0]=[pe("path",{fill:"currentColor",d:"M512 64a448 448 0 110 896 448 448 0 010-896zm0 832a384 384 0 000-768 384 384 0 000 768zm48-176a48 48 0 11-96 0 48 48 0 0196 0zm-48-464a32 32 0 0132 32v288a32 32 0 01-64 0V288a32 32 0 0132-32z"},null,-1)])])}const Di=me(ji,[["render",Ri]]),Ai=[Lr,si,li,pi,hi,$i,Vi,Fi,Di],Ht=["props"],Gt=["class","style","directives"],Yt=["on","hook"],se=(t,e={},r={})=>{const i=[...Ht,...r.normal||[]],o=[...Gt,...r.array||[]],n=[...Yt,...r.functional||[]],s=r.props||[];return t.reduce((a,l)=>{for(const u in l)if(a[u])if(s.indexOf(u)>-1)a[u]=se([l[u]],a[u]);else if(i.indexOf(u)>-1)a[u]=$($({},a[u]),l[u]);else if(o.indexOf(u)>-1){const c=a[u]instanceof Array?a[u]:[a[u]],d=l[u]instanceof Array?l[u]:[l[u]];a[u]=[...c,...d]}else if(n.indexOf(u)>-1)for(const c in l[u])if(a[u][c]){const d=a[u][c]instanceof Array?a[u][c]:[a[u][c]],f=l[u][c]instanceof Array?l[u][c]:[l[u][c]];a[u][c]=[...d,...f]}else a[u][c]=l[u][c];else if(u==="hook")for(let c in l[u])a[u][c]?a[u][c]=Ii(a[u][c],l[u][c]):a[u][c]=l[u][c];else a[u]=l[u];else i.indexOf(u)>-1||n.indexOf(u)>-1||s.indexOf(u)>-1?a[u]=$({},l[u]):o.indexOf(u)>-1?a[u]=l[u]instanceof Array?[...l[u]]:typeof l[u]=="object"?$({},l[u]):l[u]:a[u]=l[u];return a},e)},Ii=(t,e)=>function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)},Jt=["type","slot","ignore","emitPrefix","value","name","native","hidden","display","inject","options","emit","link","prefix","suffix","update","sync","optionsTo","key","slotUpdate","computed","preview","component","cache","modelEmit"],ut=["validate","children","control"],ct=["effect","deep","renderSlots"];function Kt(){return[...Jt,...Ht,...Gt,...Yt,...ut,...ct]}function q(t){const e=t.replace(/(-[a-z])/g,function(r){return r.replace("-","").toLocaleUpperCase()});return Wt(e)}function Wt(t){return t.replace(t[0],t[0].toLowerCase())}function ot(t,e){return{value:t,enumerable:!1,configurable:!1,writable:!0}}function Qt(t,e){return Xt([t],e||!1)[0]}function Xt(t,e){return Re([],[...t],e||!1)}const Pi={array:ut,normal:ct};function ae(t,e){return se(Array.isArray(e)?e:[e],t,Pi),t}function wt(t){const e=h.Function(t.getRule)?t.getRule():t;return e.type||(e.type="input"),e}function Bi(t,e){return t?(Object.keys(e||{}).forEach(r=>{e[r]&&(t[r]=ae(t[r]||{},e[r]))}),t):e}function Zt(t,e){Object.defineProperties(t,Object.keys(e).reduce((r,i)=>(r[i]={get(){return e[i]()}},r),{}))}function Q(t){return t.__fc__||(t.__origin__?t.__origin__.__fc__:null)}function C(t,e){try{e=t()}catch(r){ki(r)}return e}function Le(){const t={},e=r=>r||"default";return{setSlot(r,i){r=e(r),!(!i||Array.isArray(i)&&i.length)&&(t[r]||(t[r]=[]),t[r].push(i))},getSlot(r,i){r=e(r);const o=[];return(t[r]||[]).forEach(n=>{if(Array.isArray(n))o.push(...n);else if(h.Function(n)){const s=n(...i||[]);Array.isArray(s)?o.push(...s):o.push(s)}else h.Undef(n)||o.push(n)}),o},getSlots(){const r={};return Object.keys(t).forEach(i=>{r[i]=(...o)=>this.getSlot(i,o)}),r},slotLen(r){return r=e(r),t[r]?t[r].length:0},mergeBag(r){if(!r)return this;const i=h.Function(r.getSlots)?r.getSlots():r;return Array.isArray(r)||Fr(r)?this.setSlot(void 0,()=>r):Object.keys(i).forEach(o=>{this.setSlot(o,i[o])}),this}}}function kt(t){const e=$({},t.props||{});return Object.keys(t.on||{}).forEach(r=>{r.indexOf("-")>0&&(r=q(r));const i=`on${Ut(r)}`;Array.isArray(e[i])?e[i]=[...e[i],t.on[r]]:e[i]?e[i]=[e[i],t.on[r]]:e[i]=t.on[r]}),e.key=t.key,e.ref=t.ref,e.class=t.class,e.id=t.id,e.style=t.style,e.slot&&delete e.slot,e}function Te(t,e){return Object.setPrototypeOf(t,e),t}const Ct=(t,e)=>typeof t=="string"?String(e):typeof t=="number"?Number(e):e,we={"==":(t,e)=>JSON.stringify(t)===JSON.stringify(Ct(t,e)),"!=":(t,e)=>!we["=="](t,e),">":(t,e)=>t>e,">=":(t,e)=>t>=e,"<":(t,e)=>tt<=e,on(t,e){return t&&t.indexOf&&t.indexOf(Ct(t[0],e))>-1},notOn(t,e){return!we.on(t,e)},in(t,e){return e&&e.indexOf&&e.indexOf(t)>-1},notIn(t,e){return!we.in(t,e)},between(t,e){return t>e[0]&&te[1]},empty(t){return h.empty(t)},notEmpty(t){return!h.empty(t)},pattern(t,e){return new RegExp(e,"g").test(t)}};function T(t,e){return(Array.isArray(e)?e:(e||"").split(".")).forEach(r=>{t!=null&&(t=t[r])}),t}function Li(t){const e=/{{\s*(.*?)\s*}}/g;let r;const i={};for(;(r=e.exec(t))!==null;)r[1]&&(i[r[1]]=!0);return Object.keys(i)}function St(t){let e=t.split("."),r=[],i="";return e.forEach((o,n)=>{n===0?i=o:i+="."+o,r.push(i)}),r.join(" && ")}function er(t){const e=[];let r="",i=0;for(let o=0;oo.type==="key"?{key:o.value}:{children:o.value})}const Ne=(t,e)=>{if(!(!t||t===e)){if(t.props.formCreateInject)return t.props.formCreateInject;if(t.parent)return Ne(t.parent,e)}};function Ti(t,e,r){return re({name:"FormCreate"+(t.isMobile?"Mobile":""),components:e,directives:r,props:{rule:{type:Array,required:!0,default:()=>[]},option:{type:Object,default:()=>({})},extendOption:Boolean,driver:[String,Object],modelValue:Object,disabled:{type:Boolean,default:void 0},preview:{type:Boolean,default:void 0},index:[String,Number],api:Object,locale:[String,Object],t:Function,name:String,subForm:{type:Boolean,default:!0},inFor:Boolean},emits:["update:api","update:modelValue","mounted","beforeUnmount","submit","reset","change","emit-event","control","remove-rule","remove-field","sync","reload","repeat-field","update","validate-field-fail","validate-fail","created"],render(){return this.fc.render()},setup(i){const o=tt();Er("parentFC",o);const n=$r("parentFC",null);let s=n;if(n)for(;s.setupState.parent;)s=s.setupState.parent;else s=o;const{rule:a,modelValue:l,subForm:u,inFor:c}=gt(i),d=X({ctxInject:{},destroyed:!1,isShow:!0,unique:1,renderRule:[...a.value||[]]});let f=JSON.stringify(l.value||{});const g=new t(o),y=g.api(),x=c.value,S=()=>{if(n){const j=Ne(o,n);if(j){let R;x?(R=U(j.getSubForm()),R.push(y)):R=y,j.subForm(R)}}},H=()=>{const j=Ne(o,n);if(j)if(x){const R=U(j.getSubForm()),K=R.indexOf(y);K>-1&&R.splice(K,1)}else j.subForm()};let A=null;xr(()=>{wr(()=>{let j="";const R=i.option&&i.option.globalClass||{};Object.keys(R).forEach(K=>{let Se="";R[K].style&&Object.keys(R[K].style).forEach(De=>{Se+=je(De)+":"+R[K].style[De]+";"}),R[K].content&&(Se+=R[K].content+";"),Se&&(j+=`.${K}{${Se}}`)}),i.option&&i.option.style&&(j+=i.option.style),A||(A=document.createElement("style"),A.type="text/css",document.head.appendChild(A)),A.innerHTML=j||""})});const M=de(()=>{g.bus.$emit("$loadData.$topForm")},100),ke=de(function(){g.bus.$emit("$loadData.$scopeForm")},100),ze=de(()=>{g.bus.$emit("$loadData.$form")},100),Ce=j=>{g.bus.$emit("change-$form."+j)};return kr(()=>{n&&(y.top.bus.$on("$loadData.$form",M),y.top.bus.$on("change",Ce)),y!==y.scope&&y.scope.bus.$on("$loadData.$scopeForm",ke),g.mounted()}),Cr(()=>{n&&(y.top.bus.$off("$loadData.$form",M),y.top.bus.$off("change",Ce)),y!==y.scope&&y.scope.bus.$off("$loadData.$scopeForm",ke),H(),d.destroyed=!0,g.unmount(),A&&(A.parentNode||A.parentElement)&&document.head.removeChild(A)}),Sr(()=>{g.updated()}),S(),P(()=>i.option,()=>{g.initOptions(),y.refresh()},{deep:!0,flush:"sync"}),P(()=>[...a.value],j=>{g.$handle.isBreakWatch()||j.length===d.renderRule.length&&j.every(R=>d.renderRule.indexOf(R)>-1)||(g.$handle.updateAppendData(),g.$handle.reloadRule(a.value),o.setupState.renderRule())}),P(()=>[i.disabled,i.preview],()=>{y.refresh()}),P(l,j=>{Ee(j||{})!==f&&(y.config.forceCoverValue?y.coverValue(j||{}):y.setValue(j||{}))},{deep:!0,flush:"post"}),P(()=>i.index,()=>{y.coverValue({}),g.$handle.updateAppendData(),D(()=>{D(()=>{y.clearValidateState()})})},{flush:"sync"}),J($({fc:ce(g),parent:n&&ce(n),top:ce(s),fapi:ce(y)},gt(d)),{getGroupInject:()=>Ne(o,n),refresh(){++d.unique},renderRule(){d.renderRule=[...a.value||[]]},updateValue(j){if(d.destroyed)return;const R=Ee(j);f!==R&&(f=R,o.emit("update:modelValue",j),D(()=>{ze(),n?u.value||ke():(M(),ke())}))}})},created(){const i=tt();i.emit("update:api",i.setupState.fapi),i.setupState.fc.init()}})}function tr(){return{props:{},on:{},options:[],children:[],hidden:!1,display:!0,value:void 0}}function B(t,e){return(r,i,o,n={})=>{const s=new dt(t,r,i,o,n);return e&&(h.Function(e)?e(s):s.props(e)),s}}function dt(t,e,r,i,o){this._data=w(tr(),{type:t,title:e,field:r,value:i,props:o||{}}),this.event=this.on}w(dt.prototype,{getRule(){return this._data},setProp(t,e){return Y(this._data,t,e),this},modelField(t){return this._data.modelField=t,this},_clone(){const t=new this.constructor;return t._data=Qt(this._data),t}});function rr(t){t.forEach(e=>{dt.prototype[e]=function(r){return ae(this._data,{[e]:arguments.length<2?r:{[r]:arguments[1]}}),this}})}rr(Kt());const Mi=B("");function Ni(t,e,r){let i=Mi("",e);return i._data.type=t,i._data.title=r,i}function Ui(){return{create:Ni,factory:B}}function qi(t,e,r){const i=`fail to ${t} ${r.status}'`,o=new Error(i);return o.status=r.status,o.url=t,o}function Vt(t){const e=t.responseText||t.response;if(!e)return e;try{return JSON.parse(e)}catch{return e}}function ir(t){if(typeof XMLHttpRequest>"u")return;const e=new XMLHttpRequest;let r=t.action||"";if(e.upload&&t.onProgress&&e.upload.addEventListener("progress",n=>{n.percent=n.total>0?n.loaded/n.total*100:0,t.onProgress(n)}),t.query){const n=h.String(t.query)?t.query:Object.keys(t.query).reduce((a,l)=>(a[l]=t.query[l]===null||t.query[l]===void 0?"":t.query[l],a),{}),s=new URLSearchParams(n).toString();s&&(r.includes("?")?r+=`&${s}`:r+=`?${s}`)}e.onerror=function(n){t.onError(n)},e.onload=function(){if(e.status<200||e.status>=300)return t.onError(qi(r,t,e),Vt(e));t.onSuccess(Vt(e))},e.open(t.method||"get",r,!0);let i;(t.data||t.file)&&(t.file||(t.dataType||"").toLowerCase()!=="json"?(i=new FormData,Object.keys(t.data||{}).map(n=>{i.append(n,t.data[n])})):(i=JSON.stringify(t.data||{}),e.setRequestHeader("content-type","application/json"))),t.file&&i.append(t.filename,t.file,t.file.name),t.withCredentials&&"withCredentials"in e&&(e.withCredentials=!0);const o=t.headers||{};Object.keys(o).forEach(n=>{o[n]!=null&&e.setRequestHeader(n,o[n])}),e.send(i)}function Ot(t,e,r){return new Promise((i,o)=>{(e||ir)(J($({},t),{onSuccess(n){let s=l=>l;const a=te(t.parse);h.Function(a)?s=a:a&&h.String(a)&&(s=l=>T(l,a)),Ue(s(n,t.targetRule,r)).then(l=>{i(l)})},onError(n){o(n)}}))})}function Ve(t){return ee(t)}function zi(t){function e(n){return h.Undef(n)?n=t.fields():Array.isArray(n)||(n=[n]),n}function r(n,s,a){h.Undef(n)?n=Object.keys($($({},t.fieldCtx),t.nameCtx)):Array.isArray(n)||(n=[n]),n.forEach(l=>{const u=t.fieldCtx[l]||t.nameCtx[l];u&&u.forEach(c=>{Y(c.rule,s,a),t.$render.clearCache(c)})})}function i(){const n=t.subForm;return Object.keys(n).reduce((s,a)=>{const l=n[a];return l&&(Array.isArray(l)?s.push(...l):s.push(l)),s},[])}const o={get isScope(){return t.vm.props.subForm===!1},get isPreview(){return t.preview},get config(){return t.options},set config(n){t.fc.options.value=n},get options(){return t.options},set options(n){t.fc.options.value=n},get form(){return t.form},get rule(){return t.rules},get parent(){return t.vm.setupState.parent&&t.vm.setupState.parent.setupState.fapi},get top(){return o.parent?o.parent.top:o},get scope(){let n=t.vm;for(;n&&n.setupState.fapi;)if(n.props.subForm)n=n.setupState.parent;else return n.setupState.fapi;return o.top},get children(){return i()},get siblings(){const n=t.vm.setupState.getGroupInject();if(n){const s=n.getSubForm();if(Array.isArray(s))return[...s]}},get index(){const n=o.siblings;if(n){const s=n.indexOf(o);return s>-1?s:void 0}},get formulas(){return $({},t.fc.formulas)},formData(n){if(n==null||typeof n=="boolean"){const s={};return Object.keys(t.form).forEach(a=>{(n===!0||t.ignoreFields.indexOf(a)===-1)&&(s[a]=Ve(t.form[a]))}),s}else return e(n).reduce((s,a)=>(s[a]=o.getValue(a),s),{})},getValue(n){const s=t.getFieldCtx(n);return s?Ve(s.rule.value):t.options.appendValue!==!1&&E(t.appendData,n)?Ve(t.appendData[n]):void 0},coverValue(n){const s=$({},n||{});t.deferSyncValue(()=>{t.appendData={},o.fields().forEach(a=>{const l=t.fieldCtx[a];if(l){const u=E(n,a);l.forEach(c=>{c.rule.value=u?n[a]:void 0}),delete s[a]}}),w(t.appendData,s)},!0)},setValue(n){let s=n;arguments.length>=2&&(s={[n]:arguments[1]}),t.deferSyncValue(()=>{Object.keys(s).forEach(a=>{const l=t.fieldCtx[a];if(!l)return t.appendData[a]=s[a];l.forEach(u=>{u.rule.value=s[a]})})},!0)},removeField(n){const s=t.getCtx(n);return t.deferSyncValue(()=>{t.getCtxs(n).forEach(a=>{a.rm()})},!0),s?s.origin:void 0},removeRule(n){const s=n&&Q(n);if(s)return s.rm(),s.origin},fields:()=>t.fields(),append:(n,s,a)=>{let l=t.sort.length-1,u;const c=t.getCtx(s);if(c)if(a){if(u=c.getPending("children",c.rule.children),!Array.isArray(u))return;l=c.rule.children.length-1}else l=c.root.indexOf(c.origin),u=c.root;else u=t.rules;u.splice(l+1,0,n)},prepend:(n,s,a)=>{let l=0,u;const c=t.getCtx(s);if(c)if(a){if(u=c.getPending("children",c.rule.children),!Array.isArray(u))return}else l=c.root.indexOf(c.origin),u=c.root;else u=t.rules;u.splice(l,0,n)},hidden(n,s){r(s,"hidden",!!n),t.refresh()},hiddenStatus(n){const s=t.getCtx(n);if(s)return!!s.rule.hidden},display(n,s){r(s,"display",!!n),t.refresh()},displayStatus(n){const s=t.getCtx(n);if(s)return!!s.rule.display},disabled(n,s){e(s).forEach(a=>{t.getCtxs(a).forEach(l=>{Y(l.rule.props,"disabled",!!n)})}),t.refresh()},all(n){return Object.keys(t.ctxs).map(s=>{const a=t.ctxs[s];return n?a.origin:a.rule})},model(n){return t.fields().reduce((s,a)=>{const l=t.fieldCtx[a][0];return s[a]=n?l.origin:l.rule,s},{})},component(n){return Object.keys(t.nameCtx).reduce((s,a)=>{const l=t.nameCtx[a].map(u=>n?u.origin:u.rule);return s[a]=l.length===1?l[0]:l,s},{})},bind(){return o.form},reload:n=>{t.reloadRule(n)},updateOptions(n){t.fc.updateOptions(n),o.refresh()},onSubmit(n){o.updateOptions({onSubmit:n})},sync:n=>{if(Array.isArray(n)){n.forEach(a=>o.sync(a));return}let s=h.Object(n)?Q(n):t.getCtxs(n);s&&(s=Array.isArray(s)?s:[s],s.forEach(a=>{if(!a.deleted){const l=t.subForm[a.id];l&&(Array.isArray(l)?l.forEach(u=>{u.refresh()}):l&&l.refresh()),t.$render.clearCache(a)}}),t.refresh())},refresh:()=>{i().forEach(n=>{n.refresh()}),t.$render.clearCacheAll(),t.refresh()},refreshOptions(){t.$manager.updateOptions(t.options),o.refresh()},hideForm:n=>{t.vm.setupState.isShow=!n},changeStatus:()=>t.changeStatus,clearChangeStatus:()=>{t.changeStatus=!1},updateRule(n,s){t.getCtxs(n).forEach(a=>{w(a.rule,s)})},updateRules(n){Object.keys(n).forEach(s=>{o.updateRule(s,n[s])})},mergeRule:(n,s)=>{t.getCtxs(n).forEach(a=>{ae(a.rule,s)})},mergeRules(n){Object.keys(n).forEach(s=>{o.mergeRule(s,n[s])})},getRule:(n,s)=>{const a=t.getCtx(n);if(a)return s?a.origin:a.rule},findType(n,s){let a;return Object.keys(t.ctxs).forEach(l=>{const u=t.ctxs[l];u.rule.type===n&&(a=s?u.origin:u.rule)}),a},findTypes(n,s){let a=[];return Object.keys(t.ctxs).forEach(l=>{const u=t.ctxs[l];u.rule.type===n&&a.push(s?u.origin:u.rule)}),a},getRenderRule:n=>{const s=t.getCtx(n);if(s)return s.prop},getRefRule:n=>{const s=t.getCtxs(n);if(s){const a=s.map(l=>l.rule);return a.length===1?a[0]:a}},setEffect(n,s,a){const l=t.getCtx(n);l&&s&&(s[0]==="$"&&(s=s.substr(1)),E(l.rule,"$"+s)&&Y(l.rule,"$"+s,a),E(l.rule,"effect")||(l.rule.effect={}),Y(l.rule.effect,s,a))},clearEffectData(n,s){const a=t.getCtx(n);a&&(s&&s[0]==="$"&&(s=s.substr(1)),a.clearEffectData(s),o.sync(n))},updateValidate(n,s,a){a?o.mergeRule(n,{validate:s}):r(n,"validate",s)},updateValidates(n,s){Object.keys(n).forEach(a=>{o.updateValidate(a,n[a],s)})},refreshValidate(){o.refresh()},resetFields(n){e(n).forEach(s=>{t.getCtxs(s).forEach(a=>{t.$render.clearCache(a),a.rule.value=Ve(a.defaultValue)})}),D(()=>{D(()=>{D(()=>{o.clearValidateState(n)})})}),n==null&&(h.Function(t.options.onReset)&&C(()=>t.options.onReset(o)),t.vm.emit("reset",o))},method(n,s){const a=o.el(n);if(!a||!a[s])throw new Error(qt("err",`${s} 方法不存在`));return(...l)=>a[s](...l)},exec(n,s,...a){return C(()=>o.method(n,s)(...a))},toJson(n){return Ee(o.rule,n)},trigger(n,s,...a){const l=o.el(n);l&&l.$emit(s,...a)},el(n){const s=t.getCtx(n);if(s)return s.el||t.vm.refs[s.ref]},scrollTo(n,s={block:"center",inline:"nearest",behavior:"smooth"}){const a=o.el(n);if(!a)return;const l=a.$el!==void 0?a.$el:a;if(!l)return;const u=l.nodeType===1?l:l.firstElementChild;u&&typeof u.scrollIntoView=="function"&&u.scrollIntoView(s)},focus(n){const s=o.el(n);if(!s)return;const a=d=>!d||typeof d.focus!="function"?!1:(C(()=>d.focus()),!0);if(a(s))return;const l=s.$el!==void 0?s.$el:s;if(a(l))return;const u=l&&(l.nodeType===1?l:l.firstElementChild);if(a(u)||!u||!u.querySelector)return;const c=u.querySelector('input:not([type=hidden]):not([disabled]),textarea:not([disabled]),select:not([disabled]),[tabindex]:not([tabindex="-1"])');a(c)},closeModal:n=>{t.bus.$emit("fc:closeModal:"+n)},getSubForm(n){const s=t.getCtx(n);return s?t.subForm[s.id]:void 0},getChildrenRuleList(n){const s=typeof n=="object",a=s?Q(n):t.getCtx(n),l=a?a.rule:s?n:o.getRule(n);if(!l)return[];const u=[];return(c=>{c&&c.forEach(d=>{typeof d=="object"&&(d.field&&u.push(d),u.push(...o.getChildrenRuleList(d)))})})(a?a.loadChildrenPending():l.children),u},getParentRule(n){return(typeof n=="object"?Q(n):t.getCtx(n)).parent.rule},getParentSubRule(n){const s=typeof n=="object"?Q(n):t.getCtx(n);if(s){const a=s.getParentGroup();if(a)return a.rule}},getChildrenFormData(n,s){return o.getChildrenRuleList(n).reduce((a,l)=>((l.ignore!==!0||s===!0)&&(a[l.field]=Ve(l.value)),a),{})},setChildrenFormData(n,s,a){const l=o.getChildrenRuleList(n);t.deferSyncValue(()=>{l.forEach(u=>{E(s,u.field)?u.value=s[u.field]:a&&(u.value=void 0)})})},getGlobalEvent(n){let s=o.options.globalEvent[n];if(s)return typeof s=="object"&&(s=s.handle),te(s)},getGlobalData(n){return new Promise((s,a)=>{let l=o.options.globalData[n];l?l.type==="fetch"?o.fetch(l).then(u=>{s(u)}).catch(a):s(l.data):s(t.fc.loadData[n])})},emitGlobalEvent(n,...s){const a=o.getGlobalEvent(n);if(a){const l=t.getInjectData({},void 0);return l.args=[...s],s.unshift(l),a.apply(null,s)}},setGlobalData(n,s){o.setData("$globalData."+n,s)},setGlobalVar(n,s){o.setData("$var."+n,s)},renderRule(n,s,a){const l=typeof n=="object"?Q(n):t.getCtx(n);return l?t.$render.createRuleVnode(l,s,a):void 0},renderChildren(n,s,a){const l=typeof n=="object"?Q(n):t.getCtx(n);return l?t.$render.createChildrenVnodes(l,s,a):void 0},nextTick(n){t.bus.$once("next-tick",n),t.refresh()},nextRefresh(n){t.nextRefresh(),n&&C(n)},deferSyncValue(n,s){t.deferSyncValue(n,s)},emit(n,...s){t.vm.emitsOptions&&!t.vm.emitsOptions[n]&&(t.vm.emitsOptions[n]=null),t.vm.emit(n,...s)},bus:t.bus,getCurrentFormRule(){var n;return(n=t.vm.setupState.getGroupInject())==null?void 0:n.rule},fetch(n){return new Promise((s,a)=>{let l=$({},n);l=t.loadFetchVar(l);const u=c=>{C(()=>l.onError&&l.onError(c)),a(c)};t.beforeFetch(l).then(()=>Ot(l,t.fc.create.fetch,o).then(c=>{C(()=>l.onSuccess&&l.onSuccess(c)),s(c)}).catch(c=>{u(c)})).catch(c=>{u(c)})})},watchFetch(n,s,a,l){return t.fc.watchLoadData((u,c)=>{let d=$({},n);if(d=t.loadFetchVar(d,u),l&&l(d,c)===!1)return;const f=g=>{C(()=>d.onError&&d.onError(g)),a&&a(g)};t.beforeFetch(d).then(()=>Ot(d,t.fc.create.fetch,o).then(g=>{C(()=>d.onSuccess&&d.onSuccess(g)),s&&s(g,c)}).catch(g=>{f(g)})).catch(g=>{f(g)})},n.wait==null?1e3:n.wait)},getData(n,s){return t.fc.get?t.fc.get(n,s):t.fc.getLoadData(n,s)},watchData(n){return t.fc.watchLoadData((s,a)=>{C(()=>n(s,a))})},setData(n,s,a){return t.fc.setData(n,s,a)},refreshData(n){return t.fc.refreshData(n)},t(n,s){return t.fc.t(n,s)},getLocale(){return t.fc.getLocale()},helper:{tidyFields:e,props:r}};return["on","once","off"].forEach(n=>{o[n]=function(...s){t.bus[`$${n}`](...s)}}),o.changeValue=o.changeField=o.setValue,o}function Hi(t){w(t.prototype,{initCache(){this.clearCacheAll()},clearCache(e){if(!e.rule.cache){if(!this.cache[e.id]){e.parent&&this.clearCache(e.parent);return}(this.cache[e.id].use===!0||this.cache[e.id].parent)&&this.$handle.refresh(),this.cache[e.id].parent&&this.clearCache(this.cache[e.id].parent),this.cache[e.id]=null}},clearCacheAll(){this.cache={}},setCache(e,r,i){this.cache[e.id]={vnode:r,use:!1,parent:i,slot:e.rule.slot}},getCache(e){const r=this.cache[e.id];if(r)return r.use=!0,r.vnode}})}function Gi(t){w(t.prototype,{initRender(){this.cacheConfig={}},getTypeSlot(e){const r=i=>{if(i){let o;return e.rule.field&&(o=i.slots["field-"+je(e.rule.field)]||i.slots["field-"+e.rule.field]),o||(o=i.slots["type-"+je(e.type)]||i.slots["type-"+e.type]),o||r(i.setupState.parent)}};return r(this.vm)},render(){if(!this.vm.setupState.isShow)return;this.$manager.beforeRender();const e=Le();return this.sort.forEach(r=>{this.renderSlot(e,this.$handle.ctxs[r])}),this.$manager.render(e)},renderSlot(e,r,i){if(this.isFragment(r)){r.initProp(),this.mergeGlobal(r),r.initNone();const o=this.renderChildren(r.loadChildrenPending(),r),n=o.default;n&&e.setSlot(r.rule.slot,()=>n()),delete o.default,e.mergeBag(o)}else e.setSlot(r.rule.slot,this.renderCtx(r,i))},mergeGlobal(e){if(!this.$handle.options.global)return;const{trueType:r,originType:i,type:o}=e;this.cacheConfig[r]||(this.cacheConfig[r]=oe(()=>{const n=this.$handle.options.global;return ae({},[n["*"]||n.default||{},n[i]||n[o]||{}])})),e.prop=ae({},[this.cacheConfig[e.trueType].value,e.prop])},setOptions(e){const r=e.loadPending({key:"options",origin:e.prop.options,def:[]});e.prop.options=r,e.prop.optionsTo&&r&&fe(e.prop,e.prop.optionsTo,r)},deepSet(e){const r=e.prop.deep;r&&Object.keys(r).sort((i,o)=>i.length{fe(e.prop,i,r[i])})},parseSide(e,r){return h.Object(e)?ae({props:{formCreateInject:r.prop.props.formCreateInject}},e):e},renderSides(e,r,i){const o=r[i?"rule":"prop"];return[this.renderRule(this.parseSide(o.prefix,r)),e,this.renderRule(this.parseSide(o.suffix,r))]},renderId(e,r){const i=this.$handle[r==="field"?"fieldCtx":"nameCtx"][e];return i?i.map(o=>this.renderCtx(o,o.parent)):void 0},renderCtx(e,r){try{if(e.type==="hidden")return;const i=e.rule;if(this.force||!this.cache[e.id]||this.cache[e.id].slot!==i.slot){let o;e.initProp(),this.mergeGlobal(e),e.initNone(),this.$manager.tidyRule(e),this.deepSet(e),this.setOptions(e),this.ctxProp(e);let n=e.prop;n.preview=!!(n.preview!=null?n.preview:this.$handle.preview),n.props.formCreateInject=this.injectProp(e);let s=n.cache!==!1;const a=n.preview;if(n.hidden){this.setCache(e,void 0,r);return}o=(...l)=>{var u,c;const d={rule:i,prop:n,preview:a,api:this.$handle.api,model:n.model||{},slotValue:l};l.length&&i.slotUpdate&&C(()=>i.slotUpdate(d));let f={};const g=e.loadChildrenPending();e.parser.renderChildren?f=e.parser.renderChildren(g,e):e.parser.loadChildren!==!1&&(f=this.renderChildren(g,e)),Object.keys(n.renderSlots||{}).forEach(S=>{f[S]=(...H)=>{if(h.Function(n.renderSlots[S]))return C(()=>n.renderSlots[S](...H));const A=this.parseSide(n.renderSlots[S],e);return this.renderRule(A)}});const y=this.getTypeSlot(e);let x;return y?(d.children=f,x=y(d)):x=a?e.parser.preview(rt(f),e):e.parser.render(rt(f),e),x=this.renderSides(x,e),(u=n.title)!=null&&u.show&&(n.wrap=$({show:!0},n.wrap||{}),n.native||(n.native=!1)),(!(!e.input&&h.Undef(n.native))||((c=n.col)==null?void 0:c.show)===!0)&&n.native!==!0&&(this.fc.targetFormDriver("updateWrap",e),x=this.$manager.makeWrap(e,x)),e.none&&(Array.isArray(x)?x=x.map(S=>!S||!S.__v_isVNode?S:this.none(S)):x=this.none(x)),s&&this.setCache(e,()=>this.stable(x),r),x},this.setCache(e,o,r)}return(...o)=>{const n=this.getCache(e);if(n)return n(...o);if(this.cache[e.id])return;const s=this.renderCtx(e,e.parent);if(s)return s()}}catch(i){console.error(i);return}},none(e){if(e)return e.props.class=this.mergeClass(e.props.class,"fc-none"),e},mergeClass(e,r){if(Array.isArray(e))e.push(r);else return e?[e,r]:r;return e},stable(e){return(Array.isArray(e)?e:[e]).forEach(r=>{r&&r.__v_isVNode&&r.children&&typeof r.children=="object"&&(r.children.$stable=!0,this.stable(r.children))}),e},getModelField(e){return e.prop.modelField||e.parser.modelField||this.fc.modelFields[this.vNode.aliasMap[e.type]]||this.fc.modelFields[e.type]||this.fc.modelFields[e.originType]||"modelValue"},isFragment(e){return e.type==="fragment"||e.type==="template"},injectProp(e){const r=this.vm.setupState;r.ctxInject[e.id]||(r.ctxInject[e.id]={api:this.$handle.api,form:this.fc.create,subForm:o=>{this.$handle.addSubForm(e,o)},getSubForm:()=>this.$handle.subForm[e.id],slots:()=>this.vm.setupState.top.slots,getWrap:()=>this.vm.refs[e.wrapRef],options:[],children:[],preview:!1,id:e.id,field:e.field,rule:e.rule,input:e.input,t:(...o)=>this.$handle.api.t(...o),updateValue:o=>{this.$handle.onUpdateValue(e,o)}});const i=r.ctxInject[e.id];return w(i,{preview:e.prop.preview,options:e.prop.options,children:e.loadChildrenPending()}),i},ensureCtxHandlers(e){if(e.handlers)return e.handlers;const r=this;return e.handlers={vnodeMounted(i){i.el.__rule__=e.rule,r.onMounted(e,i.el)},vnodeBeforeUnmount(){r.$handle.effect(e,"beforeUnmount"),r.$handle.targetHook(e,"beforeUnmount")},fcUpdateValue(i){r.$handle.onUpdateValue(e,i)},fcEl(i){e.exportEl=i,i&&((i.$el||i).__rule__=e.rule)},modelCallback(i){r.tmpInput&&r.tmpInput(e.field,i,e.rule),r.onInput(e,i)},modelEmit(){r.onEmitInput(e)}},e.handlers},ctxProp(e){const{ref:r,key:i,rule:o}=e;this.$manager.mergeProp(e),e.parser.mergeProp(e);const n=this.ensureCtxHandlers(e),s=[{ref:r,key:o.key||`${i}fc`,slot:void 0,on:{vnodeMounted:n.vnodeMounted,vnodeBeforeUnmount:n.vnodeBeforeUnmount,"fc.updateValue":n.fcUpdateValue,"fc.el":n.fcEl}}];if(e.input){this.vm.props.disabled===!0&&(e.prop.props.disabled=!0);const a=this.getModelField(e),l={callback:n.modelCallback,modelField:a,value:this.$handle.getFormData(e)};s.push({on:$({[`update:${a}`]:l.callback},e.prop.modelEmit?{[e.prop.modelEmit]:n.modelEmit}:{}),props:{[a]:l.value}}),e.prop.model=l}return se(s,e.prop),e.prop},onMounted(e,r){e.el=this.vm.refs[e.ref]||r,e.parser.mounted(e),this.$handle.effect(e,"mounted"),this.$handle.targetHook(e,"mounted")},onInput(e,r){if(e.prop.modelEmit){this.$handle.onBaseInput(e,r);return}this.$handle.onInput(e,r)},onEmitInput(e){this.$handle.setValue(e,e.parser.toValue(e.modelValue,e),e.modelValue)},renderChildren(e,r){if(!h.trueArray(e))return{};const i=Le();return e.map(o=>{if(o){if(h.String(o)||h.Number(o))return i.setSlot(null,`${o}`);if(o.__fc__)return this.renderSlot(i,o.__fc__,r);o.type&&D(()=>{this.$handle.loadChildren(e,r),this.$handle.refresh()})}}),i.getSlots()},defaultRender(e,r){const i=e.prop;return i.component?typeof i.component=="string"?this.vNode.make(i.component,i,r):this.vNode.makeComponent(i.component,i,r):this.vNode[e.type]?this.vNode[e.type](i,r):this.vNode[e.originType]?this.vNode[e.originType](i,r):this.vNode.make(Wt(i.type),i,r)},createChildrenVnodes(e,r,i){this.force=i!==!1,this.tmpInput=r;const o=this.renderChildren(e.rule.children,e);return this.force=!1,this.tmpInput=null,o},createRuleVnode(e,r,i){this.force=i!==!1,this.tmpInput=r;const o=Le();return this.renderSlot(o,e,e.parent),this.force=!1,this.tmpInput=null,o.getSlots()},renderRule(e,r,i){if(!e)return;if(h.String(e)||h.Number(e))return`${e}`;let o;if(i)o=e.type;else if(o=e.is,e.type){o=q(e.type);const a=this.vNode.aliasMap[o];a&&(o=q(a))}if(!o)return;const n=Le();h.trueArray(e.children)&&e.children.forEach(a=>{a&&n.setSlot(a==null?void 0:a.slot,()=>this.renderRule(a))});const s=$({},e);return delete s.type,delete s.is,this.vNode.make(o,s,n.mergeBag(r).getSlots())}})}let Yi=1;function pt(t){w(this,{$handle:t,fc:t.fc,vm:t.vm,$manager:t.$manager,vNode:new t.fc.CreateNode(t),force:!1,tmpInput:null,id:Yi++}),Zt(this,{options(){return t.options},sort(){return t.sort}}),this.initCache(),this.initRender()}Hi(pt);Gi(pt);function Ji(t){w(t.prototype,{parseInjectEvent(e,r){const i=e.inject||this.options.injectEvent;return this.parseEventLst(e,r,i)},parseEventLst(e,r,i,o){return Object.keys(r).forEach(n=>{const s=this.parseEvent(e,r[n],i,o);s&&(r[n]=s)}),r},parseEvent(e,r,i,o){if(h.Function(r)&&(i!==!1&&!h.Undef(i)||r.__inject))return this.inject(e,r,i);if(!o&&Array.isArray(r)&&r[0]&&(h.String(r[0])||h.Function(r[0])))return this.parseEventLst(e,r,i,!0);if(h.String(r)){const n=te(r);if(n&&r!==n)return n.__inject?this.parseEvent(e,n,i,!0):n}},parseEmit(e){let r={},i=e.rule,{emitPrefix:o,field:n,name:s,inject:a}=i,l=i.emit||[];return h.trueArray(l)&&l.forEach(u=>{if(!u)return;let c,d=o||n||s;if(h.Object(u)&&(c=u.inject,u=u.name,d=u.prefix||d),d){const f=je(`${d}-${u}`),g=(...y)=>{this.vm.emitsOptions&&!this.vm.emitsOptions[f]&&(this.vm.emitsOptions[f]=null),this.vm.emit(f,...y),this.vm.emit("emit-event",f,...y),this.bus.$emit(f,...y)};if(g.__emit=!0,!c&&a===!1)r[q(u)]=g;else{let y=c||a||this.options.injectEvent;r[q(u)]=h.Undef(y)?g:this.inject(i,g,y)}}}),e.computed.on=r,r},getInjectData(e,r){const i=e.__fc__&&e.__fc__.$api,o=e.__fc__&&e.__fc__.$handle.vm||this.vm,{option:n,rule:s}=o.props;return{$f:i||this.api,api:i||this.api,rule:s,self:e.__origin__,option:n,inject:r}},inject(e,r,i){if(r.__origin){if(this.watching&&!this.loading)return r;r=r.__origin}const o=this,n=function(...s){const a=o.getInjectData(e,i);return a.args=[...s],s.unshift(a),r.apply(this,s)};return n.__origin=r,n.__json=r.__json,n},loadStrVar(e,r,i){if(e&&typeof e=="string"&&e.indexOf("{{")>-1&&e.indexOf("}}")>-1){const o=e,n=Li(e),s=u=>{let c=!1,d;if(i&&u.indexOf("$form.")===0){const f=u.split(".");f.shift(),E(i.value,f[0])&&(c=!0,d=r?r({id:"$form."+f[0]+"_"+i.rule.__fc__.id,getValue:()=>T(i.value,f)}):T(i.value,f))}return c||(d=r?r(u):this.fc.getLoadData(u)),d},a=u=>{const c=[];u.forEach(f=>{f.key?c.push(f.key):f.children&&c.push(a(f.children))});let d=!1;return c.forEach((f,g)=>{f!=null&&(f.indexOf("'")===0||f.indexOf('"')===0)&&(c[g]=f.slice(1,-1),d=!0)}),c.length===1&&(d||!isNaN(Number(c[0])))?c[0]:s(c.join("."))};let l;if(n.forEach(u=>{const c=u.split("||"),d=c[0].trim();if(d){const f=(c[1]||"").trim(),g=er(d);let y=C(()=>a(g));(y==null||y==="")&&c.length>1&&(y=f),l=y,e=e.replaceAll(`{{${u}}}`,y??"")}}),n.length===1&&o===`{{${n[0]}}}`)return l}return e},loadFetchVar(e,r,i){let o;i&&i.__fc__&&(o=i.__fc__.getParentGroup()),!o&&e.targetRule&&e.targetRule.__fc__&&(o=e.targetRule.__fc__.getParentGroup());const n=s=>this.loadStrVar(s,r,o?{rule:i,value:this.subRuleData[o.id]||{}}:null);return e.action=n(e.action||""),["headers","data","query"].forEach(s=>{if(e[s]){const a=Array.isArray(e[s])?[]:{};Object.keys(e[s]).forEach(l=>{a[n(l)]=n(e[s][l])}),e[s]=a}}),e}})}const Ft=["hook:updated","hook:mounted"];function Ki(t){w(t.prototype,{usePage(){const e=this.options.page;if(!e)return;let r=25,i=Wi(this.rules);h.Object(e)&&(e.first&&(r=parseInt(e.first,10)||r),e.limit&&(i=parseInt(e.limit,10)||i)),w(this,{first:r,limit:i,pageEnd:this.rules.length<=r}),this.bus.$on("page-end",()=>this.vm.emit("page-end",this.api)),this.pageLoad()},pageLoad(){const e=()=>{this.pageEnd?(this.bus.$off(Ft,e),this.bus.$emit("page-end")):(this.first+=this.limit,this.pageEnd=this.rules.length<=this.first,this.loadRule(),this.refresh())};this.bus.$on(Ft,e)}})}function Wi(t){return t.length<31?31:Math.ceil(t.length/3)}function Qi(t){w(t.prototype,{clearNextTick(){this.nextTick&&clearTimeout(this.nextTick),this.nextTick=null},bindNextTick(e){this.clearNextTick(),this.nextTick=setTimeout(()=>{e(),this.nextTick=null},10)},render(){return++this.loadedId,this.vm.setupState.unique>0?this.$render.render():(this.vm.setupState.unique=1,[])}})}function Xi(t){Object.defineProperties(t.origin,{__fc__:ot(ce(t))}),t.rule!==t.origin&&Object.defineProperties(t.rule,{__fc__:ot(ce(t))})}function nr(t,e,r){const i=qe(),o=!!e.field;w(this,{id:i,ref:i,wrapRef:i+"fi",rule:e,origin:e.__origin__||e,name:e.name,pending:{},none:!1,watch:[],linkOn:[],root:[],ctrlRule:[],children:[],parent:null,group:e.subRule?this:null,cacheConfig:null,prop:$({},e),computed:{},payload:{},refRule:{},handlers:null,input:o,el:void 0,exportEl:void 0,defaultValue:o?ee(r):void 0,field:e.field||void 0}),this.updateKey(),Xi(this),this.update(t,!0)}w(nr.prototype,{getParentGroup(){let t=this.parent;for(;t;){if(t.group)return t;t=t.parent}},loadChildrenPending(){const t=this.rule.children||[];return Array.isArray(t)?t:this.loadPending({key:"children",origin:t,def:[],onLoad:e=>{this.$handle&&this.$handle.loadChildren(e,this)},onUpdate:(e,r)=>{this.$handle&&(e===r?this.$handle.loadChildren(e,this):this.$handle.updateChildren(this,e,r))},onReload:e=>{this.$handle?this.$handle.updateChildren(this,[],e):delete this.pending.children}})},loadPending(t){const{key:e,origin:r,def:i,onLoad:o,onReload:n,onUpdate:s}=t;if(this.pending[e]&&this.pending[e].origin===r)return this.getPending(e,i);delete this.pending[e];let a=r;if(h.Function(r)){let l=C(()=>r({rule:this.rule,api:this.$api,update:u=>{const c=u||i,d=this.getPending(e,i);this.setPending(e,r,c),s&&s(c,d)},reload:()=>{const u=this.getPending(e,i);delete this.pending[e],n&&n(u),this.$api&&this.$api.sync(this.rule)}}));l&&h.Function(l.then)?(l.then(u=>{const c=u||i;this.setPending(e,r,c),o&&o(c),this.$api&&this.$api.sync(this.rule)}).catch(u=>{console.error(u)}),a=i,this.setPending(e,r,a)):(a=l||i,this.setPending(e,r,a),o&&o(a))}return a},getPending(t,e){return this.pending[t]&&this.pending[t].value||e},setPending(t,e,r){this.pending[t]={origin:e,value:X(r)}},effectData(t){return this.payload[t]||(this.payload[t]={}),this.payload[t]},clearEffectData(t){t===void 0?this.payload={}:delete this.payload[t]},updateKey(t){this.key=qe(),t&&this.parent&&this.parent.updateKey(t)},updateType(){this.originType=this.rule.type,this.type=q(this.rule.type),this.trueType=this.$handle.getType(this.originType)},setParser(t){this.parser=t,t.init(this)},initProp(){var t,e,r;const i=$({},this.rule);delete i.children,delete i.validate,this.prop=ae({},[i,...Object.keys(this.payload).map(o=>this.payload[o]),this.computed]),i.col&&((t=i.col)==null?void 0:t.show)!==!1&&(this.prop.col.show=!0),this.prop.validate=[...((r=(e=this.refRule)==null?void 0:e.__$validate)==null?void 0:r.value)||[],...this.prop.validate||[]]},initNone(){this.none=!(h.Undef(this.prop.display)||this.prop.display)},hasHidden(){return!!this.rule.hidden||(this.parent?this.parent.hasHidden():!1)},injectValidate(){return this.prop.validate},check(t){return this.vm===t.vm},unwatch(){this.watch.forEach(t=>t()),this.watch=[],Object.keys(this.refRule).forEach(t=>{t.indexOf("__$")!==0&&delete this.refRule[t]})},unlink(){this.linkOn.forEach(t=>t()),this.linkOn=[]},link(){this.unlink(),this.$handle.appendLink(this)},watchTo(){this.$handle.watchCtx(this)},delete(){this.unwatch(),this.unlink(),this.rmCtrl(),this.parent&&this.parent.children.splice(this.parent.children.indexOf(this)>>>0,1),w(this,{deleted:!0,computed:{},parent:null,children:[],cacheConfig:null,none:!1,handlers:null,el:void 0,exportEl:void 0})},rmCtrl(){this.ctrlRule.forEach(t=>t.__fc__&&t.__fc__.rm()),this.ctrlRule=[]},rm(){const t=()=>{let e=this.root.indexOf(this.origin);e>-1&&(this.root.splice(e,1),this.$handle&&this.$handle.refresh())};if(this.deleted){t();return}this.$handle.noWatch(()=>{this.$handle.deferSyncValue(()=>{this.rmCtrl(),t(),this.$handle.rmCtx(this),w(this,{root:[]})},this.input)})},update(t,e){w(this,{deleted:!1,$handle:t,$render:t.$render,$api:t.api,vm:t.vm,vNode:t.$render.vNode,updated:!1,cacheValue:this.rule.value}),!e&&this.unwatch(),this.watchTo(),this.link(),this.updateType()}});function Zi(t){w(t.prototype,{nextRefresh(e){const r=this.loadedId;D(()=>{r===this.loadedId&&(e?e():this.refresh())})},parseRule(e){const r=wt(e);return Object.defineProperties(r,{__origin__:ot(e)}),en(r),this.appendValue(r),[r,r.prefix,r.suffix].forEach(i=>{i&&this.loadFn(i,r)}),this.loadCtrl(r),r.update&&(r.update=te(r.update)),r},loadFn(e,r){["on","props","deep"].forEach(i=>{e[i]&&this.parseInjectEvent(r,e[i])})},loadCtrl(e){e.control&&e.control.forEach(r=>{r.handle&&(r.handle=te(r.handle))})},syncProp(e){const r=e.rule;h.trueArray(r.sync)&&se([{on:r.sync.reduce((i,o)=>(i[typeof o=="object"&&o.event||`update:${o}`]=n=>{r.props[typeof o=="object"&&o.prop||o]=n,this.vm.emit("sync",o,n,r,this.fapi)},i),{})}],e.computed)},loadRule(){this.cycleLoad=!1,this.loading=!0,this.pageEnd&&this.bus.$emit("load-start"),this.deferSyncValue(()=>{if(this._loadRule(this.rules),this.loading=!1,this.cycleLoad&&this.pageEnd)return this.loadRule();this.syncForm(),this.pageEnd&&this.bus.$emit("load-end"),this.vm.setupState.renderRule()})},loadChildren(e,r){if(this.cycleLoad=!1,this.loading=!0,this.bus.$emit("load-start"),this._loadRule(e,r),this.loading=!1,this.cycleLoad)return this.loadRule();this.syncForm(),this.bus.$emit("load-end"),this.$render.clearCache(r)},_loadRule(e,r){const i=s=>{let a=e[s-1];if(!a||!a.__fc__)return s>0?i(s-1):-1;let l=this.sort.indexOf(a.__fc__.id);return l>-1?l:i(s-1)},o=(s,a)=>{h.trueArray(s)&&this._loadRule(s,a)},n=e.map((s,a)=>{if(r&&!h.Object(s)||!this.pageEnd&&!r&&a>=this.first)return;if(s.__fc__&&s.__fc__.root===e&&this.ctxs[s.__fc__.id])return o(s.__fc__.loadChildrenPending(),s.__fc__),s.__fc__;let l=wt(s);const u=()=>!!(l.field&&this.fieldCtx[l.field]&&this.fieldCtx[l.field][0]!==s.__fc__);this.fc.targetFormDriver("loadRule",{rule:l,api:this.api},this.fc),this.ruleEffect(l,"init",{repeat:u()}),u()&&this.vm.emit("repeat-field",s,this.api);let c,d=!1,f=!!s.__fc__,g=l.value;if(f){if(c=s.__fc__,g=c.defaultValue,c.deleted){if(jt(c))return;c.update(this)}else if(!c.check(this)){if(jt(c))return;e[a]=s=s._clone?s._clone():zt(Ee(s)),c=null,d=!0}}if(c)c.originType!==c.rule.type&&c.updateType(),this.bindParser(c),this.appendValue(c.rule),c.parent&&c.parent!==r&&this.rmSubRuleData(c);else{const S=this.parseRule(s);c=new nr(this,S,g),this.bindParser(c)}this.parseEmit(c),this.syncProp(c),c.parent=r||null,c.root=e,this.setCtx(c),!d&&!f&&(this.effect(c,"load"),this.targetHook(c,"load")),this.effect(c,"created");const y=c.loadChildrenPending();if(c.parser.loadChildren===!1||o(y,c),!r){const S=i(a);S>-1||!a?this.sort.splice(S+1,0,c.id):this.sort.push(c.id)}const x=c.rule;return c.updated||(c.updated=!0,h.Function(x.update)&&this.bus.$once("load-end",()=>{this.refreshUpdate(c,x.value,"init")}),this.effect(c,"loaded")),this.refreshControl(c)&&(this.cycleLoad=!0),c}).filter(s=>!!s);r&&(r.children=n)},refreshControl(e){return e.input&&e.rule.control&&this.useCtrl(e)},useCtrl(e){const r=tn(e),i=[],o=this.api;if(!r.length)return!1;for(let a=0;au(e.rule.value,o)),ctrl:rn(e,l.rule),isHidden:h.String(l.rule[0])});c.valid&&c.ctrl||!c.valid&&!c.ctrl&&!c.isHidden||i.push(c)}if(!i.length)return!1;const n=[];let s=!1;return this.deferSyncValue(()=>{i.reverse().forEach(({isHidden:a,valid:l,rule:u,prepend:c,append:d,child:f,ctrl:g,method:y})=>{if(a){l?e.ctrlRule.push({__ctrl:!0,children:u,valid:l}):g&&e.ctrlRule.splice(e.ctrlRule.indexOf(g)>>>0,1),n[l?"push":"unshift"](()=>{y==="disabled"||y==="enabled"?this.api.disabled(!l,u):y==="display"||y==="show"?this.api.display(l,u):y==="required"?(u.forEach(x=>{this.api.setEffect(x,"required",l)}),l||this.api.clearValidateState(u)):y==="if"?this.api.hidden(!l,u):this.api.hidden(!l,u)});return}if(l){s=!0;const x={type:"fragment",native:!0,__ctrl:!0,children:u};e.ctrlRule.push(x),this.bus.$once("load-start",()=>{c?o.prepend(x,c,f):d||f?o.append(x,d||e.id,f):e.root.splice(e.root.indexOf(e.origin)+1,0,x)})}else{e.ctrlRule.splice(e.ctrlRule.indexOf(g),1);const x=Q(g);x&&x.rm()}})}),n.length&&(this.loading?n.length&&this.bus.$once("load-end",()=>{n.forEach(a=>a())}):n.length&&D(()=>{n.forEach(a=>a())})),this.vm.emit("control",e.origin,this.api),this.effect(e,"control"),s},reloadRule(e){return this._reloadRule(e)},_reloadRule(e){e||(e=this.rules);const r=$({},this.ctxs);this.clearNextTick(),this.initData(e),this.fc.rules=e,this.deferSyncValue(()=>{this.bus.$once("load-end",()=>{Object.keys(r).filter(i=>this.ctxs[i]===void 0).forEach(i=>this.rmCtx(r[i])),this.$render.clearCacheAll()}),this.reloading=!0,this.loadRule(),this.reloading=!1,this.refresh(),this.bus.$emit("reloading",this.api)}),this.bus.$off("next-tick",this.nextReload),this.bus.$once("next-tick",this.nextReload),this.bus.$emit("update",this.api)},refresh(){this.vm.setupState.refresh()}})}function en(t){const e=tr();return Object.keys(e).forEach(r=>{E(t,r)||(t[r]=e[r])}),t}function tn(t){const e=t.rule.control||[];return h.Object(e)?[e]:e}function rn(t,e){for(let r=0;r{D(()=>{D(()=>{this.api.clearValidateState(e.id)})})}),this.$manager.fieldChange(e,r,i,o))},onInput(e,r){let i;e.input&&(this.isQuote(e,i=e.parser.toValue(r,e))||this.isChange(e,r))&&this.setValue(e,i,r)},onUpdateValue(e,r){this.deferSyncValue(()=>{const i=e.getParentGroup(),o=i?this.subRuleData[i.id]:null,n={};Object.keys(r||{}).forEach(s=>{o&&E(o,s)?n[s]=r[s]:E(this.api.form,s)?this.api.form[s]=r[s]:this.api.top!==this.api&&E(this.api.top.form,s)&&(this.api.top.form[s]=r[s])}),Object.keys(n).length&&this.api.setChildrenFormData(i.rule,n)})},onBaseInput(e,r){this.setFormData(e,r),this.$render.clearCache(e),this.nextRefresh()},setFormData(e,r){e.modelValue=r;const i=e.getParentGroup();i&&(this.subRuleData[i.id]||(this.subRuleData[i.id]={}),this.subRuleData[i.id][e.field]=e.rule.value),Y(this.formData,e.id,r)},rmSubRuleData(e){const r=e.getParentGroup();r&&this.subRuleData[r.id]&&delete this.subRuleData[r.id][e.field]},getFormData(e){return this.formData[e.id]},syncForm(){const e=X({}),r=this.fields(),i=[];this.options.appendValue!==!1&&Object.keys(this.appendData).reduce((o,n)=>(r.indexOf(n)===-1&&(o[n]=L(this.appendData,n)),o),e),r.reduce((o,n)=>{let s=(this.fieldCtx[n]||[]).filter(a=>!this.isIgnore(a))[0];return s||(s=this.fieldCtx[n][0],i.push(n)),o[n]=L(s.rule,"value"),o},e),this.form=e,this.ignoreFields=i,this.syncValue()},isIgnore(e){return e.rule.ignore===!0||(e.rule.ignore==="hidden"||this.options.ignoreHiddenFields)&&e.hasHidden()},appendValue(e){(!e.field||!E(this.appendData,e.field))&&(!h.Undef(e.value)||!this.options.forceCoverValue)||(e.value=this.appendData[e.field],delete this.appendData[e.field])},addSubForm(e,r){this.subForm[e.id]=r},deferSyncValue(e,r){this.deferSyncFn||(this.deferSyncFn=e),this.deferSyncFn.sync||(this.deferSyncFn.sync=r),C(e),this.deferSyncFn===e&&(this.deferSyncFn=null,e.sync&&this.syncForm())},syncValue(){if(this.deferSyncFn)return this.deferSyncFn.sync=!0;const e={};Object.keys(this.form).forEach(r=>{this.ignoreFields.indexOf(r)===-1&&(e[r]=this.form[r])}),this.vm.setupState.updateValue(e)},isChange(e,r){const i=this.getFormData(e);if(i===r)return!1;const o=typeof i;return o===typeof r&&(o==="string"||o==="boolean"||o==="number"&&Number.isFinite(i)&&Number.isFinite(r))?!0:JSON.stringify(i,Et)!==JSON.stringify(r,Et)},isQuote(e,r){return(r instanceof Function||h.Object(r)||Array.isArray(r))&&r===e.rule.value},refreshUpdate(e,r,i,o){if(h.Function(e.rule.update)){const n=C(()=>e.rule.update(r,e.origin,this.api,{origin:i||"change",linkField:o}));if(n===void 0)return;e.rule.hidden=n===!0}},valueChange(e,r){this.refreshRule(e,r),this.bus.$emit("change-"+e.field,r)},refreshRule(e,r,i,o){this.refreshControl(e)&&(this.$render.clearCacheAll(),this.loadRule(),this.bus.$emit("update",this.api),this.refresh()),this.refreshUpdate(e,r,i,o)},appendLink(e){const r=e.rule.link;h.trueArray(r)&&r.forEach(i=>{const o=()=>this.refreshRule(e,e.rule.value,"link",i);this.bus.$on("change-"+i,o),e.linkOn.push(()=>this.bus.$off("change-"+i,o))})},fields(){return Object.keys(this.fieldCtx)}})}function Et(t,e){return typeof e=="function"?""+e:e}const Fe={init(t){},toFormValue(t,e){return t},toValue(t,e){return t},mounted(t){},render(t,e){return e.$handle.fc.renderDriver&&e.$handle.fc.renderDriver.defaultRender?e.$handle.fc.renderDriver.defaultRender(e,t):e.$render.defaultRender(e,t)},preview(t,e){return e.$handle.fc.renderDriver&&e.$handle.fc.renderDriver.defaultPreview?e.$handle.fc.renderDriver.defaultPreview(e,t):this.render(t,e)},mergeProp(t){}},on=["field","value","vm","template","name","config","control","inject","sync","payload","optionsTo","update","slotUpdate","computed","component","cache"],Oe=Symbol("oldValue"),sn=["$condition","$variableVal","$val","$form","$scope","$group","$rule"],an=["$formulas","$form","$scope","$group","$rule","$api"],Me=new Map,ln=1e3;function Rt(t,e){const r=t.join(",")+"|"+e;let i=Me.get(r);return i||(Me.size>=ln&&Me.clear(),i=new Function(...t,e),Me.set(r,i)),i}function un(t){w(t.prototype,{scheduleComputedUpdate(e){(this._computedQueue||(this._computedQueue=[])).push(e),!(this._computedFlushing||this._computedScheduled)&&(this._computedScheduled=!0,setTimeout(()=>{this._computedScheduled=!1,this._computedFlushing=!0;try{const r=this._computedQueue||[];this._computedQueue=[];for(let i=0;i>>0,1).length>0;return n.length||delete this[o][r],s},getFieldCtx(e){return(this.fieldCtx[e]||[])[0]},getNameCtx(e){return this.nameCtx[e]||[]},setCtx(e){let{id:r,field:i,name:o,rule:n}=e;this.ctxs[r]=e,o&&this.setIdCtx(e,o,"name"),e.input&&(this.setIdCtx(e,i,"field"),this.setFormData(e,e.parser.toFormValue(n.value,e)),this.isMounted&&!this.reloading&&this.vm.emit("change",e.field,n.value,e.origin,this.api,!1,!0))},getParser(e){const r=this.fc.parsers,i=this.fc.renderDriver;if(i){const o=i.parsers||{},n=o[e.originType]||o[q(e.type)]||o[e.trueType];if(n)return n}return r[e.originType]||r[q(e.type)]||r[e.trueType]||Fe},bindParser(e){e.setParser(this.getParser(e))},getType(e){const r=this.fc.CreateNode.aliasMap,i=r[e]||r[q(e)]||e;return q(i)},noWatch(e){this.noWatchFn||(this.noWatchFn=e),C(e),this.noWatchFn===e&&(this.noWatchFn=null)},watchCtx(e){const r=Kt().filter(s=>s[0]!=="_"&&s[0]!=="$"&&on.indexOf(s)===-1),i={},o=(s,a,l)=>(u,c)=>{let d=a.value;if(!this.isBreakWatch()){if(l&&e.parser.loadChildren===!1){this.$render.clearCache(e),this.nextRefresh();return}if(this.watching=!0,D(()=>{this.targetHook(e,"watch",{key:s,oldValue:c,newValue:d})}),s==="hidden"&&!!d!=!!c&&D(()=>{this.targetHook(e,"hidden",{value:d})}),s==="ignore"&&e.input||s==="hidden"&&(e.rule.ignore==="hidden"||this.options.ignoreHiddenFields))this.syncForm();else if(s==="link"){e.link();return}else["props","on","deep"].indexOf(s)>-1?(this.parseInjectEvent(e.rule,d||{}),s==="props"&&e.input&&this.setFormData(e,e.parser.toFormValue(e.rule.value,e))):s==="emit"?this.parseEmit(e):["prefix","suffix"].indexOf(s)>-1?d&&this.loadFn(d,e.rule):s==="type"?(e.updateType(),this.bindParser(e)):l&&(h.Function(c)&&(c=e.getPending("children",[])),h.Function(d)&&(d=e.loadChildrenPending()),this.updateChildren(e,d,c));this.$render.clearCache(e),this.refresh(),this.watching=!1}},n=(s,a)=>{if(i[s])return;i[s]=!0;const l=e.refRule[s],u=s==="children",c=o(s,l,u);e.watch.push(P(u?()=>h.Function(l.value)?l.value:[...l.value||[]]:()=>l.value,c,{deep:!u,sync:u})),a&&c(l.value,void 0)};if(r.forEach(s=>{e.refRule[s]=L(e.rule,s),E(e.rule,s)&&n(s)}),e.watch.push(P(()=>Object.keys(e.rule).join("|"),()=>{r.forEach(s=>{!i[s]&&E(e.rule,s)&&n(s,!0)})})),e.refRule.__$title=oe(()=>{let s=(typeof e.rule.title=="object"?e.rule.title.title:e.rule.title)||"";if(s){const a=s.match(/^\{\{\s*\$t\.(.+)\s*\}\}$/);a&&(s=this.api.t(a[1]))}return s}),e.refRule.__$info=oe(()=>{let s=(typeof e.rule.info=="object"?e.rule.info.info:e.rule.info)||"";if(s){const a=s.match(/^\{\{\s*\$t\.(.+)\s*\}\}$/);a&&(s=this.api.t(a[1]))}return s}),e.refRule.__$validate=oe(()=>{const s=a=>{var l,u;const c=a.match(/^\{\{\s*\$t\.(.+)\s*\}\}$/);return c?this.api.t(c[1],{title:(u=(l=e.refRule)==null?void 0:l.__$title)==null?void 0:u.value}):a};return U(e.rule.validate).map(a=>{const l=$({},a);if(l.message&&(l.message=s(l.message)),h.Function(l.validator)){const u=e;l.validator=function(...c){return a.validator.call({that:this,id:u.id,field:u.field,rule:u.rule,api:u.$handle.api},...c)}}if(l.adapter){if(typeof l.error=="object"){const u=$({},l.error);Object.keys(u).forEach(c=>{u[c]=s(u[c])}),l.error=u}return this.adapterValidate(l,e)}return l})}),e.input){const s=L(e.rule,"value");e.watch.push(P(()=>s.value,()=>{let a=e.parser.toFormValue(s.value,e);this.isChange(e,a)&&this.setValue(e,s.value,a,!0)}))}this.bus.$once("load-end",()=>{let s=e.rule.computed;s&&(typeof s!="object"&&(s={value:s}),Object.keys(s).forEach(a=>{const l=oe(()=>{const c=s[a];if(!c)return;const d=this.compute(e,c);return(c.linkage||c.linkageVariable)&&d===Oe?Oe:d}),u=c=>{a==="value"?this.onInput(e,c):a[0]==="$"?this.api.setEffect(e.id,a,c):fe(e.rule,a,c)};(a==="value"?[void 0,null,""].indexOf(e.rule.value)>-1:l.value!==T(e.rule,a))&&u(l.value),e.watch.push(P(l,c=>{c!==Oe&&this.scheduleComputedUpdate(()=>u(c))},{deep:!0}))}))}),this.watchEffect(e)},adapterValidate(e,r){const i=(o,n)=>{if((e.beforeValidate&&C(()=>e.beforeValidate({value:o,api:this.api,validate:e,rule:r.rule})))===!1)n();else{const s=this.validator(r,o,e);if(s){let a="";typeof e.error=="object"&&(a=e.error[s]||e.error.default),!a&&typeof e.message=="string"&&(a=e.message),a||(a=this.getValidateMessage(r,{key:s,rule:e[s]})),n(a)}else if(e.validator){const a=e.validator&&C(()=>e.validator(o,n));a&&h.Function(a.then)&&a.then(()=>n()).catch(l=>n(l))}else n()}};return this.$manager.adapterValidate({required:e.required,message:e.message,trigger:e.trigger},i)},getValidateMessage(e,r){var i,o;const n=Array.isArray(r.rule)?r.rule.join(","):""+r.rule;return this.api.t(r.key==="required"?r.key:"validate."+r.key,{[r.key]:n,title:(o=(i=e.refRule)==null?void 0:i.__$title)==null?void 0:o.value})},validator(e,r,i){if(h.empty(r))return i.required?"required":void 0;for(const[o,n]of Object.entries(i))switch(o){case"len":case"maxLen":case"minLen":const s=l=>o==="len"?l===n:o==="maxLen"?l<=n:l>=n;if(Array.isArray(r)){if(!s(r.length))return o}else if(typeof r=="object"||!s((""+r).length))return o;break;case"pattern":if(!(typeof n=="string"?new RegExp(n):n).test(""+r))return o;break;case"uppercase":if(n&&(typeof r!="string"||!/^[A-Z]*$/.test(r)))return o;break;case"lowercase":if(n&&(typeof r!="string"||!/^[a-z]*$/.test(r)))return o;break;case"min":case"max":case"positive":case"negative":case"integer":case"number":const a=Number(r);if(Number.isNaN(a)||o==="min"&&an||o==="positive"&&a<=0||o==="negative"&&a>=0||o==="integer"&&!Number.isInteger(a))return o;break;case"equal":if(r!==n)return o;break;case"enum":if(Array.isArray(n)&&!n.includes(r))return o;break;case"hasKeys":if(typeof r!="object"||Array.isArray(n)&&n.some(l=>!(l in r)))return o;break;case"email":if(!/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(""+r))return o;break;case"url":if(!new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i").test(""+r))return o;break;case"ip":if(!/^(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})(\.(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})){3}$/.test(""+r))return o;break;case"phone":if(!/^(?:(?:\+|00)86)?1[3-9]\d{9}$/.test(""+r))return o;break;case"computed":if(!this.compute(e,n))return o;break}},compute(e,r){let i;if(typeof r=="object"){const o=e.getParentGroup(),n=a=>{if(a=Array.isArray(a)?{mode:"AND",group:a}:a,!h.trueArray(a.group))return!0;const l=a.mode==="OR";let u=!0;for(let c=0;cd.handler(this.api,e.rule)):f=C(()=>Rt(sn,`with($form){with($scope){with(this){with($group){ return $condition['${d.condition}'](${d.variable?"$variableVal":g}, ${x||"$val"}); }}}}`).call(this.api.form,we,y,d.value,this.api.top.form,this.api.top===this.api.scope?{}:this.api.scope.form,o?this.subRuleData[o.id]||{}:{},e.rule)):f=!1,l&&f)return!0;l||(u=u&&f)}return l?!1:u};let s=n(r);return s=r.invert===!0?!s:s,r.linkage?s?C(()=>this.computeValue(r.linkage,e,o),void 0):Oe:r.linkageVariable?s?C(()=>this.fc.getLoadData(r.linkageVariable),void 0):Oe:s}else if(h.Function(r))i=()=>r(this.api.form,this.api,e.rule);else{const o=e.getParentGroup();i=()=>this.computeValue(r,e,o)}return C(i,void 0)},computeValue(e,r,i){const o=this,n=Object.keys(this.fc.formulas).reduce((s,a)=>(s[a]=function(...l){return o.fc.formulas[a].call({that:this,rule:r.rule,api:o.api,fc:o.fc},...l)},s),{});return C(()=>Rt(an,`with($form){with($scope){with(this){with($group){with($formulas){ return ${e} }}}}}`).call(this.api.form,n,this.api.top.form,this.api.top===this.api.scope?{}:this.api.scope.form,i?this.subRuleData[i.id]||{}:{},r.rule,this.api),void 0)},updateChildren(e,r,i){this.deferSyncValue(()=>{i&&i.forEach(o=>{(r||[]).indexOf(o)===-1&&o&&!h.String(o)&&o.__fc__&&o.__fc__.parent===e&&this.rmCtx(o.__fc__)}),h.trueArray(r)&&(this.loadChildren(r,e),this.bus.$emit("update",this.api))})},rmSub(e){h.trueArray(e)&&e.forEach(r=>{r&&r.__fc__&&this.rmCtx(r.__fc__)})},rmCtx(e){if(e.deleted)return;const{id:r,field:i,input:o,name:n}=e;xe(this.ctxs,r),xe(this.formData,r),xe(this.subForm,r),xe(this.vm.setupState.ctxInject,r);const s=e.getParentGroup();s&&this.subRuleData[s.id]&&xe(this.subRuleData[s.id],i),e.group&&xe(this.subRuleData,r),o&&this.rmIdCtx(e,i,"field"),n&&this.rmIdCtx(e,n,"name"),o&&!E(this.fieldCtx,i)&&xe(this.form,i),this.deferSyncValue(()=>{if(!this.reloading){if(e.parser.loadChildren!==!1){const l=e.getPending("children",e.rule.children);h.trueArray(l)&&l.forEach(u=>u&&u.__fc__&&this.rmCtx(u.__fc__))}e.root===this.rules&&this.vm.setupState.renderRule()}},o);const a=this.sort.indexOf(r);return a>-1&&this.sort.splice(a,1),this.$render.clearCache(e),e.delete(),this.effect(e,"deleted"),this.targetHook(e,"deleted"),o&&!this.fieldCtx[i]&&this.vm.emit("remove-field",i,e.rule,this.api),e.rule.__ctrl||this.vm.emit("remove-rule",e.rule,this.api),e}})}function cn(t){w(t.prototype,{mounted(){const e=()=>{this.isMounted=!0,this.lifecycle("mounted")};this.pageEnd?e():this.bus.$once("page-end",e)},lifecycle(e){this.fc.targetFormDriver(e,this.api,this.fc),this.vm.emit(e,this.api),this.emitEvent(e,this.api)},emitEvent(e,...r){const i=this.options[e]||this.options[q("on-"+e)];if(i){const o=te(i);h.Function(o)&&C(()=>o(...r))}this.bus.$emit(e,...r)},targetHook(e,r,i){var o,n,s,a;let l=(n=(o=e.prop)==null?void 0:o.hook)==null?void 0:n[r],u=(f,g)=>{f&&(f=Array.isArray(f)?f:[f],f.forEach(y=>{C(()=>y(J($({args:Object.values(i||{})},i||{}),{self:e.rule,rule:e.rule,parent:g==null?void 0:g.rule,$f:this.api,api:this.api,option:this.vm.props.option})))}))};u(l);let c="deep"+Ut(r),d=e.parent;for(;d;){let f=(a=(s=d.prop)==null?void 0:s.hook)==null?void 0:a[c];u(f,d),d=d.parent}}})}function dn(t){w(t.prototype,{useProvider(){const e=this.fc.providers;Object.keys(e).forEach(r=>{let i=e[r];h.Function(i)&&(i=i(this.fc)),i._c=fn(i),this.onEffect(i,r),this.providers[r]=i})},onEffect(e,r){const i=[];(e._c||["*"]).forEach(o=>{const n=o==="*"?"*":this.getType(o);i.indexOf(n)>-1||(i.push(n),this.bus.$on(`p:${r||e.name}:${n}:${e.input?1:0}`,(s,a)=>{e[s]&&e[s](...a)}))}),e._used=i},watchEffect(e){let r={required:()=>{var i,o;return(E(e.rule,"$required")?e.rule.$required:(o=(i=e.rule)==null?void 0:i.effect)==null?void 0:o.required)||!1}};Object.keys(e.rule.effect||{}).forEach(i=>{r[i]=()=>e.rule.effect[i]}),Object.keys(e.rule).forEach(i=>{i[0]==="$"&&(r[i.substr(1)]=()=>e.rule[i])}),Object.keys(r).forEach(i=>{e.watch.push(P(r[i],o=>{this.effect(e,"watch",{[i]:o})},{deep:!0}))})},ruleEffect(e,r,i){this.emitEffect({rule:e,input:!!e.field,type:this.getType(e.type)},r,i)},effect(e,r,i){this.emitEffect({rule:e.rule,input:e.input,type:e.trueType,ctx:e,custom:i},r)},getEffect(e,r){if(E(e,"$"+r))return e["$"+r];if(E(e,"effect")&&E(e.effect,r))return e.effect[r]},emitEffect({ctx:e,rule:r,input:i,type:o,custom:n},s,a){if(!o||["fcFragment","fragment"].indexOf(o)>-1)return;const l=n||Object.keys(r).reduce((u,c)=>(c[0]==="$"&&(u[c.substr(1)]=r[c]),u),$({},r.effect||{}));Object.keys(l).forEach(u=>{const c=this.providers[u];if(!c||c.input&&!i)return;let d;if(!c._c)d="*";else if(c._used.indexOf(o)>-1)d=o;else return;const f=$({value:l[u],getValue:()=>this.getEffect(r,u)},a||{});e&&(f.getProp=()=>e.effectData(u),f.clearProp=()=>e.clearEffectData(u),f.mergeProp=g=>ae(f.getProp(),[g]),f.id=e.id),this.bus.$emit(`p:${u}:${d}:${c.input?1:0}`,s,[f,r,this.api])})}})}function pn(t){return t.filter(function(e,r,i){return i.indexOf(e,0)===r})}function fn(t){const e=t.components;if(Array.isArray(e)){const r=pn(e.filter(i=>i!=="*"));return r.length?r:!1}else return h.String(e)?[e]:!1}function ie(t){Zt(this,{options(){return t.options.value||{}},bus(){return t.bus},preview(){return t.vm.props.preview!=null?t.vm.props.preview:t.vm.setupState.parent&&t.vm.setupState.parent.props.preview!=null?t.vm.setupState.parent.props.preview:t.options.value.preview||!1}}),w(this,{fc:t,vm:t.vm,watching:!1,loading:!1,reloading:!1,noWatchFn:null,deferSyncFn:null,isMounted:!1,formData:X({}),subRuleData:X({}),subForm:{},form:X({}),appendData:{},ignoreFields:[],providers:{},cycleLoad:null,loadedId:1,nextTick:null,changeStatus:!1,pageEnd:!0,nextReload:()=>{this.lifecycle("reload")}}),this.initData(t.rules),this.$manager=new t.manager(this),this.$render=new pt(this),this.api=t.extendApiFn.reduce((e,r)=>{const i=C(()=>r(e,this));return i&&i!==e&&w(e,i),e},zi(this))}w(ie.prototype,{initData(t){w(this,{ctxs:{},fieldCtx:{},nameCtx:{},sort:[],rules:t})},init(){this.updateAppendData(),this.useProvider(),this.usePage(),this.loadRule(),this.$manager.__init(),this.lifecycle("created")},updateAppendData(){this.appendData=$($($({},ee(this.options.formData||{})),this.fc.vm.props.modelValue||{}),this.appendData)},isBreakWatch(){return this.loading||this.noWatchFn||this.reloading},globalBeforeFetch(t){return new Promise((e,r)=>{const i=this.options.beforeFetch&&C(()=>this.options.beforeFetch(t,{api:this.api}));i&&h.Function(i.then)?i.then(e).catch(r):e()})},beforeFetch(t){return new Promise((e,r)=>{const i=t&&t.beforeFetch&&C(()=>t.beforeFetch(t,{api:this.api}));i&&h.Function(i.then)?i.then(e).catch(r):i===!1?r():e()}).then(()=>this.globalBeforeFetch(t))},beforeSubmit(t){return new Promise((e,r)=>{const i=this.options.beforeSubmit&&C(()=>this.options.beforeSubmit(t,{api:this.api}));i&&h.Function(i.then)?i.then(e).catch(r):i===!1?r():e()})}});Ji(ie);Ki(ie);Qi(ie);Zi(ie);nn(ie);un(ie);cn(ie);dn(ie);const hn="fcFragment",Ke=re({name:hn,inheritAttrs:!1,props:["vnode"],render(){return this.vnode}});function mn(t){return Object.keys(t).map(e=>{const r=t[e],i=Or(e);if(i)return[i,r.value,r.arg,r.modifiers]}).filter(e=>!!e)}function Dt(t,e){let r=t.directives;return r?(Array.isArray(r)||(r=[r]),Vr(e,r.reduce((i,o)=>i.concat(mn(o)),[]))):e}function gn(){const t={};function e(r){this.vm=r.vm,this.handle=r}return w(e.prototype,{make(r,i,o){return Dt(i,this.h(r,kt(i),o))},makeComponent(r,i,o){try{return Dt(i,_(r,kt(i),o))}catch(n){return console.error(n),_("")}},h(r,i,o){const n=(this.vm||tt()).appContext.config.isNativeTag(r),s=this.handle.fc.prop.components[r];!s&&n&&delete i.formCreateInject;try{return _(s||(n?r:V(r)),i,o)}catch(a){return console.error(a),_("")}},aliasMap:t}),w(e,{aliasMap:t,alias(r,i){t[r]=i},use(r){Object.keys(r).forEach(i=>{const o=je(i),n=Nt(i).toLocaleLowerCase(),s=r[i];e.alias(i,s),[i,o,n].forEach(a=>{e.prototype[a]=function(l,u){return this.make(t[i]||a,l,u)}})})}}),e}function vn(t){class e extends or{}return Object.assign(e.prototype,t),e}function or(t){w(this,{$handle:t,vm:t.vm,options:{},ref:"fcForm",mergeOptionsRule:{normal:["form","row","info","submitBtn","resetBtn"]}}),this.updateKey(),this.init()}w(or.prototype,{__init(){this.$render=this.$handle.$render,this.$r=(...t)=>this.$render.renderRule(...t)},updateKey(){this.key=qe()},init(){},update(){},beforeRender(){},form(){return this.vm.refs[this.ref]},adapterValidate(t,e){return t.validator=(r,i,o)=>e(i,o),t},getSlot(t){const e=r=>{if(r)return r.slots[t]||e(r.setupState.parent)};return e(this.vm)},mergeOptions(t,e){return se(t.map(r=>this.tidyOptions(r)),e,this.mergeOptionsRule)},updateOptions(t){this.$handle.fc.targetFormDriver("updateOptions",t,{handle:this.$handle,api:this.$handle.api}),this.options=this.mergeOptions([t],this.getDefaultOptions()),this.update()},tidyOptions(t){return t},tidyRule(t){},mergeProp(t){},getDefaultOptions(){return{}},fieldChange(t,e,r,i){},render(t){}});const yn=function(t){const e={name:"loadData",_fn:[],loaded(r,i,o){this.deleted(r),D(()=>{let n=U(r.getValue());const s=[];n.forEach(a=>{if(a&&(a.attr||a.template||a.handler)){let l=d=>{let f;i&&i.__fc__&&(f=i.__fc__.getParentGroup());let g;a.template?g=t.$handle.loadStrVar(a.template,d,f?{rule:i,value:t.$handle.subRuleData[f.id]||{}}:null):a.handler&&h.Function(a.handler)?g=a.handler(d,i,o):g=t.$handle.loadStrVar(`{{${a.attr}}}`,d,f?{rule:i,value:t.$handle.subRuleData[f.id]||{}}:null),(g==null||g==="")&&a.default!=null&&(g=a.default),a.copy!==!1&&(g=ee(g));const y=a.modify?i:r.getProp();a.to==="child"?y.children?y.children[0]=g:y.children=[g]:fe(y,a.to||"options",g),o.sync(i)},u=d=>l(d);const c=t.watchLoadData(u);l=de(l,a.wait||300),a.watch!==!1?s.push(c):c()}}),this._fn[r.id]=s})},deleted(r){this._fn[r.id]&&(this._fn[r.id].forEach(i=>{i()}),delete this._fn[r.id]),r.clearProp()}};return e.watch=e.loaded,e},bn=function(t){const e={name:"t",_fn:[],loaded(r,i,o){this.deleted(r);let n=r.getValue()||{};const s=[];Object.keys(n).forEach(a=>{const l=n[a];if(l){const u=typeof l=="object";let c=g=>{let y=t.t(u?l.attr:l,u?l.params:null,g);const x=u&&l.modify?i:r.getProp();a==="child"?x.children?x.children[0]=y:x.children=[y]:fe(x,a,y),o.sync(i)},d=g=>c(g);const f=t.watchLoadData(d);c=de(c,l.wait||300),l.watch!==!1?s.push(f):f()}}),this._fn[r.id]=s},deleted(r){this._fn[r.id]&&(this._fn[r.id].forEach(i=>{i()}),delete this._fn[r.id]),r.clearProp()}};return e.watch=e.loaded,e},sr={name:"componentValidate",load(t,e,r){let i=t.getValue();if(!i||i.method===!1)t.clearProp(),r.clearValidateState([e.field]);else{h.Object(i)||(i={method:i});const o=i.method,n=J($({},i),{validator(...s){const a=Q(e);if(a)return r.exec(a.id,h.String(o)?o:"formCreateValidate",...s,{attr:t,rule:e,api:r})}});delete n.method,t.getProp().validate=[n]}},watch(...t){sr.load(...t)}},_n=function(t){function e(o){return h.String(o)&&(o={action:o,to:"options"}),o}function r(o,n,s){let a=o.value;i.deleted(o),h.Function(a)&&(a=a(n,s)),a=e(a);const l=d=>{d===void 0?o.clearProp():fe(o.getProp(),a.to||"options",d),d!=null&&a&&a.key&&t.$handle.options.globalData[a.key]&&t.fetchCache.set(t.$handle.options.globalData[a.key],{status:!0,data:d}),s.sync(n)};if(!a||!a.action&&!a.key){l(void 0);return}a=ee(a),a.to||(a.to="options");const u=a.onError,c=()=>{if(!o.getValue())return o.clearProp(),s.sync(n),!0};i._fn[o.id]=t.watchLoadData(de((d,f)=>{if(f&&a.watch===!1)return i._fn[o.id]();if(a.key){t.targetRule=n;const x=d("$globalData."+a.key);if(delete t.targetRule,x){if(c())return;l(x)}return}const g=t.$handle.loadFetchVar(ee(a),d,n),y=J($({headers:{}},g),{onSuccess(x,S){if(c())return;let H=M=>S?M:E(M,"data")?M.data:M;const A=te(g.parse);h.Function(A)?H=A:A&&h.String(A)&&(H=M=>T(M,A)),Ue(H(x,n,s)).then(M=>{l(M)})},onError(x){l(void 0),!c()&&(u||(S=>lt(S.message||"fetch fail "+g.action)))(x,n,s)}});t.$handle.beforeFetch(y,{rule:n,api:s}).then(()=>{if(h.Function(g.action)){Ue(g.action(n,s)).then(x=>{y.onSuccess(x,!0)}).catch(x=>{y.onError(x)});return}C(()=>t.create.fetch(y,{inject:o,rule:n,api:s}))}).catch(x=>{})},a.wait||600))}const i={name:"fetch",_fn:[],loaded(...o){r(...o)},watch(...o){r(...o)},deleted(o){this._fn[o.id]&&(this._fn[o.id](),delete this._fn[o.id]),o.clearProp()}};return i},$n={fetch:_n,loadData:yn,t:bn,componentValidate:sr},xn="html",wn={name:xn,loadChildren:!1,render(t,e){return e.prop.props.innerHTML=t.default(),e.vNode.make(e.prop.props.tag||"div",e.prop)},renderChildren(t){return{default:()=>t.filter(e=>h.String(e)).join("")}}};function kn(t){t=t+"=";const e=decodeURIComponent(document.cookie).split(";");for(let r=0;rv.api());if(m)return m.api()}function A(p){s.push(p)}function M(){const p=We(...arguments);p.id&&p.prop&&(i[p.id]=p.prop)}function ke(){const p=We(...arguments);p.id&&p.prop&&(u[p.id]=h.Function(p.prop)?p.prop:J($({},p.prop),{name:p.id}))}function ze(p){y.use(p)}function Ce(p){if(arguments.length===0)return Fe;if(typeof p=="string"&&arguments.length===1)return r[q(p)];const m=We(...arguments);if(!m.id||!m.prop)return Fe;const v=q(m.id),b=m.prop,k=b.merge===!0?r[v]:void 0;r[v]=Te(b,k||Fe),c[v]=B(v),b.maker&&w(c,b.maker)}function j(p,m){let v;if(h.String(p)){if(v=p,m===void 0)return e[v]}else v=p.displayName||p.name,m=p;if(!v||!m)return;const b=q(v);e[v]=m,e[b]=m,delete y.aliasMap[v],delete y.aliasMap[b],delete r[v],delete r[b],m.formCreateParser&&Ce(v,m.formCreateParser)}function R(){return Ti(Ge,e,i)}function K(p,m){const v=R();return br({data(){return X({rule:p,option:m})},render(){return _r(v,$({ref:"fc"},this.$data))}})}function Se(){return Ke}function De(p,m){return h.Function(p.install)?p.install(le,m):h.Function(p)&&p(le,m),this}function le(p,m){let v=K(p,m||{});s.forEach(k=>{C(()=>k(le,v))});const b=document.createElement("div");return((m==null?void 0:m.el)||document.body).appendChild(b),v.mount(b).$refs.fc.fapi}Te(le,S);function cr(p){let m=$({},t);return p?m.inherit={components:e,parsers:r,directives:i,modelFields:o,providers:u,useApps:s,maker:c,formulas:x,loadData:g}:delete m.inherit,ar(m)}function dr(p,m){o[p]=m}function pr(p,m){x[p]=m}function fr(p,m){const v=n[p]||{},b=v.parsers||{};m.parsers&&Object.keys(m.parsers).forEach(k=>{b[k]=Te(m.parsers[k],Fe)}),m.name=p,n[p]=J($($({},v),m),{parsers:b})}function Ae(p){p&&Object.keys(G).forEach(m=>{(Array.isArray(G[m])?G[m]:[G[m]]).forEach(v=>{v.bus.$emit("$loadData."+p)})})}function He(p,m){fe(g,p,m),Ae(p)}function Ie(p,m){const v=(...b)=>C(()=>m(...b));v._driver=!0,He(p,v)}function ht(p,m){const v=(p||"").split(".");p=v.shift();const b=v.join(".");if(E(g,p)||(g[p]=At),g[p]!==At){let k=g[p];return k&&k._driver?k=k(b):v.length&&(k=T(k,v)),k==null||k===""?m:k}else return m}function hr(p){l.push(p)}function mr(p){delete g[p],Ae(p)}function gr(p,m){a.push({name:p,callback:m})}function Ge(p){w(this,{id:Dn++,create:le,vm:p,manager:vn(t.manager),parsers:r,providers:u,modelFields:o,formulas:x,isMobile:f,rules:p.props.rule,name:p.props.name||qe(),inFor:p.props.inFor,prop:{components:e,directives:i},get:null,drivers:n,renderDriver:null,refreshData:Ae,loadData:g,CreateNode:y,bus:new Mt,unwatch:new Set,options:st({}),extendApiFn:l,fetchCache:new WeakMap,tmpData:X({})}),this.unwatch.push=this.unwatch.add,a.forEach(m=>{this.bus.$on(m.name,m.callback)}),D(()=>{P(this.options,()=>{this.$handle.$manager.updateOptions(this.options.value),this.api().refresh()},{deep:!0})}),w(p.appContext.components,e),w(p.appContext.directives,i),this.$handle=new ie(this),this.name&&(this.inFor?(G[this.name]||(G[this.name]=[]),G[this.name].push(this)):G[this.name]=this)}Ge.isMobile=f,w(Ge.prototype,{init(){this.isSub()&&this.unwatch.add(P(()=>this.vm.setupState.parent.setupState.fc.options.value,()=>{this.initOptions(),this.$handle.api.refresh()},{deep:!0,flush:"sync"})),this.vm.props.driver&&(this.renderDriver=typeof this.vm.props.driver=="object"?this.vm.props.driver:this.drivers[this.vm.props.driver]),!this.renderDriver&&this.vm.setupState.parent&&(this.renderDriver=this.vm.setupState.parent.setupState.fc.renderDriver),this.renderDriver||(this.renderDriver=this.drivers.default),this.initOptions(),this.$handle.init()},targetFormDriver(p,...m){if(this.bus.$emit(p,...m),this.renderDriver&&this.renderDriver[p])return C(()=>this.renderDriver[p](...m))},t(p,m,v){let b=v?v("$t."+p):this.globalLanguageDriver(p);return b==null&&(b=""),b&&m&&Object.keys(m).forEach(k=>{const I=new RegExp(`{${k}}`,"g");b=b.replace(I,m[k])}),b},globalDataDriver(p){let m=p.split(".");const v=m.shift(),b=this.options.value.globalData&&this.options.value.globalData[v];if(b){if(b.type==="static")return T(b.data,m);{let k;const I=this.fetchCache.get(b);if(I){if(I.status&&(k=T(I.data,m)),!I.loading)return k;I.loading=!1,this.fetchCache.set(b,I)}else this.fetchCache.set(b,{status:!1});const F=de(()=>{ye();const W=this.fetchCache.get(b);this.options.value.globalData&&Object.values(this.options.value.globalData).indexOf(b)!==-1?(W&&(W.loading=!0,this.fetchCache.set(b,W)),this.bus.$emit("$loadData.$globalData."+v)):this.fetchCache.delete(b)},b.wait||600),ge=W=>{this.fetchCache.set(b,{status:!0,data:W}),this.bus.$emit("$loadData.$globalData."+v)},ve=(W,be)=>{if(be&&b.watch===!1)return ye();if(be){F();return}const _e=this.$handle.loadFetchVar(rt(b),W);_e.targetRule=this.targetRule,this.$handle.api.fetch(_e).then(ue=>{ge(ue)}).catch(ue=>{ge(null)})},ye=this.watchLoadData(ve);return b.watch===!1&&ye(),k}}},getLocale(){let p=this.vm.setupState.top.props.locale;return p&&typeof p=="object"?p.name:typeof p=="string"?p:"zh-cn"},globalLanguageDriver(p){let m=this.vm.setupState.top.props.t,v=this.vm.setupState.top.props.locale,b;if(m&&(b=C(()=>m(p))),b==null&&v&&typeof v=="object"&&(b=T(v,p)),b==null){const k=this.options.value.language||{},I=this.getLocale();b=T(k[I]||{},p),b==null&&(b=T(jn[I]||{},p))}return b},globalVarDriver(p){let m=p.split(".");const v=m.shift(),b=this.options.value.globalVariable&&this.options.value.globalVariable[v];if(b){const k=h.Function(b)?b:te(b.handle);if(k){let I=k((...F)=>this.$handle.api.getData(...F),this.$handle.api);return T(I,m)}}},setData(p,m,v){v?He(p,m):(fe(this.vm.setupState.top.setupState.fc.tmpData,p,m),this.bus.$emit("$loadData."+p))},getLoadData(p,m){let v=null;if(p!=null){let b=p.split(".");const k=b.shift();if(v=T(this.vm.setupState.top.setupState.fc.tmpData,p),v!=null)return v;if(k==="$topForm")v=this.$handle.api.top.formData(!0);else if(k==="$scopeForm")v=this.$handle.api.scope.formData(!0);else if(k==="$form")v=this.$handle.api.formData(!0);else if(k==="$options")v=this.options.value;else if(k==="$globalData")v=this.globalDataDriver(b.join(".")),b=[];else if(k==="$var")v=this.globalVarDriver(b.join(".")),b=[];else if(k==="$locale")v=this.getLocale(),b=[];else if(k==="$t")v=this.globalLanguageDriver(b.join(".")),b=[];else{if(k==="$preview")return this.$handle.preview;v=ht(p),b=[]}v&&b.length&&(v=T(v,b))}return v==null||v===""?m:v},watchLoadData(p,m){let v={};const b=F=>{this.get||(this.get=k),C(()=>{p(k,F)}),this.get===k&&(this.get=void 0)},k=(F,ge)=>{let ve;if(typeof F=="object"&&(ve=F.getValue,F=F.id),v[F])return v[F].val;const ye=oe(()=>ve?ve():this.getLoadData(F,ge)),W=F.split("."),be=W.shift(),_e=W.shift()||"",ue=de(()=>{const $e=ve?ve():this.getLoadData(F,ge);if(v[F])(($e instanceof Function||h.Object($e)||Array.isArray($e))&&$e===v[F].val||JSON.stringify($e)!==JSON.stringify(v[F].val))&&(v[F].val=$e,b(!0));else return},m||0),yr=P(ye,$e=>{ue()});return this.bus.$on("$loadData."+be,ue),_e&&this.bus.$on("$loadData."+be+"."+_e,ue),v[F]={fn:()=>{this.bus.$off("$loadData."+be,ue),_e&&this.bus.$off("$loadData."+be+"."+_e,ue),yr()},val:ye.value},ye.value};b(!1);const I=()=>{Object.keys(v).forEach(F=>v[F].fn()),v={},this.unwatch.delete(I)};return this.unwatch.add(I),I},isSub(){return this.vm.setupState.parent&&this.vm.props.extendOption},initOptions(){this.options.value={};let p=$({formData:{},submitBtn:{},resetBtn:{},globalEvent:{},globalData:{}},ee(d));const m=this.isSub();m&&(p=this.mergeOptions(p,this.vm.setupState.parent.setupState.fc.options.value||{},!0)),p=this.mergeOptions(p,this.vm.props.option);const v=this.api();this.targetFormDriver("initOptions",p,{api:v,isSubForm:m}),this.updateOptions(p)},mergeOptions(p,m,v){return m=$({},m||{}),v&&["page","onSubmit","onReset","onCreated","onChange","onMounted","mounted","beforeUnmount","beforeSubmit","onBeforeUnmount","onReload","reload","formData","el","globalClass","style"].forEach(b=>{delete m[b]}),m.global&&(p.global=Bi(p.global,m.global),delete m.global),this.$handle.$manager.mergeOptions([m],p),p},updateOptions(p){this.options.value=this.mergeOptions(this.options.value,p),this.$handle.$manager.updateOptions(this.options.value),this.bus.$emit("$loadData.$options")},api(){return this.$handle.api},render(){return this.$handle.render()},mounted(){this.$handle.mounted()},unmount(){if(C(()=>this.$handle.lifecycle("beforeUnmount")),this.name)if(this.inFor){const p=G[this.name].indexOf(this);G[this.name].splice(p,1)}else delete G[this.name];a.forEach(p=>{this.bus.$off(p.name,p.callback)}),this.tmpData={},[...this.unwatch].forEach(p=>p()),this.unwatch.clear(),this.$handle.reloadRule([])},updated(){this.$handle.bindNextTick(()=>this.bus.$emit("next-tick",this.$handle.api))}});function mt(p){w(p,{version:t.version,ui:t.ui,isMobile:f,extendApi:hr,getData:ht,setDataDriver:Ie,setData:He,removeData:mr,refreshData:Ae,maker:c,component:j,directive:M,setModelField:dr,setFormula:pr,setDriver:fr,register:ke,$vnode:Se,parser:Ce,use:De,factory:cr,componentAlias:ze,copyRule:Qt,copyRules:Xt,mergeRule:ae,fetch:ir,$form:R,parseFn:te,parseJson:zt,toJson:Ee,useApp:A,getApi:H,on:gr})}function vr(p){w(p,{create:le,install(m,v){d=$($({},d),v||{});const b=`_installedFormCreate${f?"Mobile":""}_${t.ui}`;if(m[b]===!0)return;m[b]=!0;const k=function(F,ge={}){return le(F,ge)};mt(k),m.config.globalProperties.$formCreate=k;const I=R();m.component(I.name,I),s.forEach(F=>{C(()=>F(p,m))})}})}if(mt(S),vr(S),Ie("$cookie",Vn),Ie("$localStorage",On),Ie("$sessionStorage",Fn),y.use({fragment:"fcFragment"}),t.install&&le.use(t),A((p,m)=>{m.mixin({props:["formCreateInject"],emits:["fc.updateValue","fc.el"]})}),Ce(wn),t.inherit){const p=t.inherit;p.components&&w(e,p.components),p.parsers&&w(r,p.parsers),p.directives&&w(i,p.directives),p.modelFields&&w(o,p.modelFields),p.providers&&w(u,p.providers),p.useApps&&w(s,p.useApps),p.maker&&w(c,p.maker),p.loadData&&w(g,p.loadData),p.formulas&&w(x,p.formulas)}const Pe=R();return Te(Pe,S),Object.defineProperties(Pe,{fetch:{get(){return S.fetch},set(p){S.fetch=p}}}),Pe.util=S,Pe}const It={date:"YYYY-MM-DD",month:"YYYY-MM",week:"YYYY-wo",datetime:"YYYY-MM-DD HH:mm:ss",timerange:"HH:mm:ss",daterange:"YYYY-MM-DD",monthrange:"YYYY-MM",datetimerange:"YYYY-MM-DD HH:mm:ss",year:"YYYY"},Pt="datePicker",An={name:Pt,maker:function(){return["year","month","date","dates","week","datetime","datetimeRange","dateRange","monthRange"].reduce((t,e)=>(t[e]=B(Pt,{type:e.toLowerCase()}),t),{})}(),mergeProp(t){const e=t.prop.props;e.valueFormat||(e.valueFormat=It[e.type]||It.date)}},Qe="hidden",In={name:Qe,maker:{[Qe]:(t,e)=>B(Qe)("",t,e)},render(){return[]}},Xe="input",Pn={name:Xe,maker:function(){const t=["password","url","email","text","textarea"].reduce((e,r)=>(e[r]=B(Xe,{type:r}),e),{});return t.idate=B(Xe,{type:"date"}),t}(),mergeProp(t){let{props:e}=t.prop;e&&e.autosize&&e.autosize.minRows&&(e.rows=e.autosize.minRows||2)}},Bn="textarea",Ln={name:Bn,mergeProp(t){let{props:e}=t.prop;e.type="textarea",e&&e.autosize&&e.autosize.minRows&&(e.rows=e.autosize.minRows||2)}},Bt="slider",Tn={name:Bt,maker:{sliderRange:B(Bt,{range:!0})},toFormValue(t,e){let r=Array.isArray(t),i=e.prop.props,o=i.min||0,n;return i.range===!0?n=r?t:[o,parseFloat(t)||o]:n=r?parseFloat(t[0])||o:parseFloat(t),n}},Ze="timePicker",Mn={name:Ze,maker:{time:B(Ze,t=>t.props.isRange=!1),timeRange:B(Ze,t=>t.props.isRange=!0)},mergeProp(t){const e=t.prop.props;e.valueFormat||(e.valueFormat="HH:mm:ss")}},Nn={name:"FcRow",render(t,e){return e.vNode.col({props:{span:24}},{default:()=>[e.vNode.row(e.prop,t)]})}},Un="select",qn={name:Un,toFormValue(t,e){return e.prop.props.multiple&&!Array.isArray(t)?U(t):t}},zn=[An,In,Pn,Ln,Tn,Mn,Nn,qn],O="el",Hn={button:O+"-button",icon:O+"-icon",slider:O+"-slider",rate:O+"-rate",upload:"fc-upload",cascader:O+"-cascader",popover:O+"-popover",tooltip:O+"-tooltip",colorPicker:O+"-colorPicker",timePicker:O+"-time-picker",timeSelect:O+"-time-select",datePicker:O+"-date-picker",switch:O+"-switch",select:"fc-select",checkbox:"fc-checkbox",radio:"fc-radio",inputNumber:O+"-input-number",number:O+"-input-number",input:O+"-input",textarea:O+"-input",formItem:O+"-form-item",form:O+"-form",frame:"fc-frame",col:O+"-col",row:O+"-row",tree:"fc-tree",inputTag:O+"-input-tag",inputOtp:O+"-input-otp",mention:O+"-mention",transfer:O+"-transfer",treeSelect:O+"-tree-select",autoComplete:O+"-autocomplete",auto:O+"-autocomplete",group:"fc-group",array:"fc-group",object:"fc-sub-form",subForm:"fc-sub-form"};function Gn(){return{form:{inline:!1,labelPosition:"right",labelWidth:"125px",disabled:!1,size:void 0},row:{show:!0,gutter:0},submitBtn:{type:"primary",loading:!1,disabled:!1,innerText:"",show:!0,col:void 0,click:void 0},resetBtn:{type:"default",loading:!1,disabled:!1,innerText:"",show:!1,col:void 0,click:void 0}}}function Yn(t){return t.type==="tooltip"}function Lt(t,e){E(t,e)&&h.String(t[e])&&(t[e]={[e]:t[e],show:!0})}function ne(t){return t===!1}function Jn(t,e){E(t,e)&&!h.Object(t[e])&&(t[e]={show:!!t[e]})}function et(t){const e=$({},t);return delete e.children,e}const Kn={validate(){const t=this.form();return t?t.validate():new Promise(e=>e())},validateField(t){return new Promise((e,r)=>{const i=this.form();i?i.validateField(t,(o,n)=>{n?r(n):e(o)}):e()})},clearValidateState(t){const e=this.vm.refs[t.wrapRef];e&&e.clearValidate()},fieldChange(t,e,r,i){var o,n;i||(n=(o=this.vm.refs[t.wrapRef])==null?void 0:o.validate("change"))==null||n.catch(()=>{})},tidyOptions(t){return["submitBtn","resetBtn","row","info","wrap","col","title"].forEach(e=>{Jn(t,e)}),t},tidyRule({prop:t}){return Lt(t,"title"),Lt(t,"info"),t},mergeProp(t){const e={info:{trigger:"hover",placement:"top-start",icon:!0},title:{},col:{span:24},wrap:{}};["info","wrap","col","title"].forEach(r=>{t.prop[r]=se([this.options[r]||{},t.prop[r]||{}],e[r])})},getDefaultOptions(){return Gn()},update(){const t=this.options.form;this.rule={props:$({},t),on:{submit:e=>{e.preventDefault()}},style:t.style,type:"form"}},beforeRender(){const{key:t,ref:e,$handle:r}=this,i=this.options.form;w(this.rule,{key:t,ref:e,class:[i.className,i.class,"form-create",this.$handle.preview?"is-preview":""]}),w(this.rule.props,{model:r.formData})},render(t){return t.slotLen()&&!this.$handle.preview&&t.setSlot(void 0,()=>this.makeFormBtn()),this.$r(this.rule,ne(this.options.row.show)?t.getSlots():[this.makeRow(t)])},makeWrap(t,e){const r=t.prop,i=`${this.key}${t.key}`,o=r.col,n=this.isTitle(r)&&r.wrap.title!==!1,s=!(o!=null&&o.labelWidth)&&!n?0:o==null?void 0:o.labelWidth,{inline:a,col:l}=this.rule.props,u=r.wrap.class;delete r.wrap.class,delete r.wrap.title;const c=(h.Undef(r.wrap.show)?!t.input:ne(r.wrap.show))?e:this.$r(se([r.wrap,{props:J($({labelWidth:s===void 0?s:Nt(s),label:n?r.title.title:void 0},et(r.wrap||{})),{prop:t.id,rules:t.injectValidate()}),class:this.$render.mergeClass(u||r.className,"fc-form-item"),key:`${i}fi`,ref:t.wrapRef,type:"formItem"}]),$({default:()=>e},n?{label:()=>this.makeInfo(r,i,t)}:{}));return a===!0||ne(l)||ne(o.show)?c:this.makeCol(r,i,[c])},isTitle(t){if(this.options.form.title===!1)return!1;const e=t.title;return!(!e.title&&!e.native||ne(e.show))},makeInfo(t,e,r){var i,o,n,s,a,l;const u=$({},t.title),c=$({},t.info),d=Yn(c),f=this.options.form,g=this.getSlot("title"),y=[g?g({title:(o=(i=r.refRule)==null?void 0:i.__$title)==null?void 0:o.value,rule:r.rule,options:this.options}):((s=(n=r.refRule)==null?void 0:n.__$title)==null?void 0:s.value)+(f.labelSuffix||f["label-suffix"]||"")];if(!ne(c.show)&&(c.info||c.native)&&!ne(c.icon)){const S={type:c.type||"popover",props:et(c),key:`${e}pop`};delete S.props.icon,delete S.props.show,delete S.props.info,delete S.props.align,delete S.props.native;const H="content";c.info&&!E(S.props,H)&&(S.props[H]=(l=(a=r.refRule)==null?void 0:a.__$info)==null?void 0:l.value),y[c.align!=="left"?"unshift":"push"](this.$r(se([c,S]),{[u.slot||(d?"default":"reference")]:()=>this.$r({type:"ElIcon",style:"top:2px",key:`${e}i`},{default:()=>this.$r({type:c.icon===!0?"icon-warning":c.icon})},!0)}))}const x=se([u,{props:et(u),key:`${e}tit`,class:"fc-form-title",type:u.type||"span",on:{click:(...S)=>{this.$handle.targetHook(r,"titleClick",{args:S})}}}]);return delete x.props.show,delete x.props.title,delete x.props.native,this.$r(x,y)},makeCol(t,e,r){const i=$({},t.col);return delete i.show,this.$r({class:this.$render.mergeClass(i.class,"fc-form-col"),type:"col",props:i||{span:24},key:`${e}col`},r)},makeRow(t){const e=this.options.row||{};return this.$r({type:"row",props:e,class:this.$render.mergeClass(e.class,"fc-form-row"),key:`${this.key}row`},t)},makeFormBtn(){let t=[];if(ne(this.options.submitBtn.show)||t.push(this.makeSubmitBtn()),ne(this.options.resetBtn.show)||t.push(this.makeResetBtn()),!t.length)return;const e=this.$r({type:"formItem",class:"fc-form-item",key:`${this.key}fb`},t);return this.rule.props.inline===!0?e:this.$r({type:"col",class:"fc-form-col fc-form-footer",props:{span:24},key:`${this.key}fc`},[e])},makeResetBtn(){const t=$({},this.options.resetBtn),e=t.innerText||this.$handle.api.t("reset")||"重置";return delete t.innerText,delete t.click,delete t.col,delete t.show,this.$r({type:"button",props:t,class:"fc-reset-btn",style:{width:t.width},on:{click:()=>{const r=this.$handle.api;this.options.resetBtn.click?this.options.resetBtn.click(r):r.resetFields()}},key:`${this.key}b2`},[e])},makeSubmitBtn(){const t=$({},this.options.submitBtn),e=t.innerText||this.$handle.api.t("submit")||"提交";return delete t.innerText,delete t.click,delete t.col,delete t.show,this.$r({type:"button",props:t,class:"fc-submit-btn",style:{width:t.width},on:{click:()=>{const r=this.$handle.api;this.options.submitBtn.click?this.options.submitBtn.click(r):r.submit().catch(()=>{})}},key:`${this.key}b1`},[e])}},he={};Wn(he);Qn(he);Xn(he);Zn(he);eo(he);to(he);function Wn(t){["group","tree","switch","upload","autoComplete","checkbox","cascader","colorPicker","datePicker","frame","inputNumber","inputTag","inputOtp","mention","transfer","treeSelect","radio","rate"].forEach(e=>{t[e]=B(e)}),t.auto=t.autoComplete,t.number=t.inputNumber,t.color=t.colorPicker,t.tag=t.inputTag}function Qn(t){t.treeSelectMultiple=B("treeSelect",{multiple:!0})}function Xn(t){const e="select",r="multiple";t.selectMultiple=B(e,{[r]:!0}),t.selectOne=B(e,{[r]:!1})}function Zn(t){const e="tree",r={treeSelected:"selected",treeChecked:"checked"};Object.keys(r).reduce((i,o)=>(i[o]=B(e,{type:r[o]}),i),t)}function eo(t){const e="upload",r={image:["image",0],file:["file",0],uploadFileOne:["file",1],uploadImageOne:["image",1]};Object.keys(r).reduce((i,o)=>(i[o]=B(e,n=>n.props({uploadType:r[o][0],maxLength:r[o][1]})),i),t),t.uploadImage=t.image,t.uploadFile=t.file}function to(t){const e={frameInputs:["input",0],frameFiles:["file",0],frameImages:["image",0],frameInputOne:["input",1],frameFileOne:["file",1],frameImageOne:["image",1]};return Object.keys(e).reduce((r,i)=>(r[i]=B("frame",o=>o.props({type:e[i][0],maxLength:e[i][1]})),r),t),t.frameInput=t.frameInputs,t.frameFile=t.frameFiles,t.frameImage=t.frameImages,t}function Tt(t,e){return h.Boolean(t)?t={show:t}:!h.Undef(t)&&!h.Object(t)&&(t={show:e}),t}function ro(t,e){return{formEl(){return e.$manager.form()},wrapEl(r){const i=e.getFieldCtx(r);if(i)return e.vm.refs[i.wrapRef]},validate(r){return new Promise((i,o)=>{const n=t.children,s=[e.$manager.validate()];n.filter(a=>!a.isScope).forEach(a=>{s.push(a.validate())}),Promise.all(s).then(()=>{i(!0),r&&r(!0)}).catch(a=>{o(a),r&&r(a),e.vm.emit("validate-fail",a,{api:t}),e.emitEvent("validate-fail",a,{api:t})})})},validateField(r,i){return new Promise((o,n)=>{const s=typeof r=="object"?Q(r):e.getCtx(r);if(!s){o(null),i&&i(null);return}const a=e.subForm[s.id],l=[e.$manager.validateField(s.id)];U(a).filter(u=>!u.isScope).forEach(u=>{l.push(u.validate())}),Promise.all(l).then(()=>{o(null),i&&i(null)}).catch(u=>{n(u),i&&i(u),e.vm.emit("validate-field-fail",u,{field:r,api:t})})})},validateFields(r,i){return new Promise((o,n)=>{Array.isArray(r)||(r=[r]);const s=r.map(a=>t.validateField(a));Promise.all(s).then(()=>{o(null),i&&i(null)}).catch(a=>{n(a),i&&i(a)})})},clearValidateState(r,i=!0){t.helper.tidyFields(r).forEach(o=>{i&&this.clearSubValidateState(o),e.getCtxs(o).forEach(n=>{e.$manager.clearValidateState(n)})})},clearSubValidateState(r){t.helper.tidyFields(r).forEach(i=>{e.getCtxs(i).forEach(o=>{const n=e.subForm[o.id];n&&(Array.isArray(n)?n.forEach(s=>{s.clearValidateState()}):n&&n.clearValidateState())})})},btn:{loading:(r=!0)=>{t.submitBtnProps({loading:!!r})},disabled:(r=!0)=>{t.submitBtnProps({disabled:!!r})},show:(r=!0)=>{t.submitBtnProps({show:!!r})}},resetBtn:{loading:(r=!0)=>{t.resetBtnProps({loading:!!r})},disabled:(r=!0)=>{t.resetBtnProps({disabled:!!r})},show:(r=!0)=>{t.resetBtnProps({show:!!r})}},submitBtnProps:(r={})=>{let i=Tt(e.options.submitBtn,!0);w(i,r),e.options.submitBtn=i,t.refreshOptions()},resetBtnProps:(r={})=>{let i=Tt(e.options.resetBtn,!1);w(i,r),e.options.resetBtn=i,t.refreshOptions()},submit(r,i){return new Promise((o,n)=>{(e.options.validateOnSubmit===!1?Promise.resolve():t.validate()).then(()=>{let s=t.formData();e.beforeSubmit(s).then(()=>{h.Function(r)&&C(()=>r(s,t)),h.Function(e.options.onSubmit)&&C(()=>e.options.onSubmit(s,t)),e.vm.emit("submit",s,t),o(s)}).catch(a=>{})}).catch((...s)=>{h.Function(i)&&C(()=>i(t,...s)),n(...s)})})}}}const lr={name:"required",load(t,e,r){const i=io(t.getValue());let o;if(i.required===!1)t.clearProp(),r.clearValidateState([e.field]);else{const n=$({required:!0,validator(a,l,u){s(),h.empty(l)?u(n.message):u()}},i),s=()=>{var a;const l=(a=e.__fc__.refRule.__$title)==null?void 0:a.value;if(o!==l)if(o=l,!i.message)n.message=r.t("required",{title:l})||l+(r.getLocale()==="en"?" is required":"不能为空");else{const u=i.message.match(/^\{\{\s*\$t\.(.+)\s*\}\}$/);u&&(n.message=r.t(u[1],{title:l}))}};s(),t.getProp().validate=[n]}r.sync(e)},watch(...t){lr.load(...t)}};function io(t){return h.Boolean(t)?{required:t}:h.String(t)?{message:t}:h.Undef(t)?{required:!1}:h.Function(t)?{validator:t}:h.Object(t)?t:{}}function no(t){t.componentAlias(Hn),Ai.forEach(e=>{t.component(e.name,e)}),t.register(lr),zn.forEach(e=>{t.parser(e)}),Object.keys(he).forEach(e=>{t.maker[e]=he[e]}),typeof window<"u"&&window.ElementPlus&&t.useApp((e,r)=>{r.use(window.ElementPlus)})}function oo(){return ar({ui:"element-ui",version:"3.3.4",manager:Kn,extendApi:ro,install:no,attrs:{normal:["col","wrap"],array:["className"],key:["title","info"]}})}const ur=oo();typeof window<"u"&&(window.formCreate=ur);ur.maker;export{ur as u}; diff --git a/backend/public/admin/system_static/from-Bx8xpz66.js b/backend/public/admin/system_static/from-Bx8xpz66.js new file mode 100644 index 000000000..98c8e1983 --- /dev/null +++ b/backend/public/admin/system_static/from-Bx8xpz66.js @@ -0,0 +1 @@ +import{g as $,f as E,y as m,z as N,j as p,C as i,E as h,W as j,A as O,s as v,B as b,$ as g,H as T,l as c,Z as f,k as D,u as U}from"./element-plus-C_ZDq0cz.js";import{u as W}from"./form-create-7SMPLzS9.js";import{w as z}from"./index-DHL7RTL2.js";const A={key:0},H={class:"dialog-footer"},Z=Object.assign({name:"edit"},{__name:"from",props:{FromData:{type:Object,default:null},update:{type:Boolean,default:!0}},emits:["submitFail"],setup(l,{expose:F,emit:k}){const B=W.$form(),o=l,C=k,{proxy:x}=$(),s=c(!1),r=c(!1),u=c(null),y={form:{labelWidth:"100px"},resetBtn:!1,submitBtn:!1,global:{upload:{props:{onSuccess(t,e){t.status===200?e.url=t.data.src:f.error(t.msg)}}}}};E(()=>o.FromData,()=>{o.FromData.rules.forEach(t=>{t.title+=":"})});function V(){u.value.submit()}function _(t){let e={};e=t,!r.value&&(r.value=!0,z({url:o.FromData.action,method:o.FromData.method,data:e}).then(a=>{o.update&&x.$parent.getList(),f.success(a.msg),s.value=!1,setTimeout(()=>{C("submitFail"),r.value=!1},1e3)}).catch(a=>{r.value=!1,f.error(a.msg)}))}function w(){}return F({modals:s}),(t,e)=>{const a=D("el-button"),S=D("el-dialog"),d=U("db-click");return l.FromData?(m(),N("div",A,[p(S,{modelValue:s.value,"onUpdate:modelValue":e[2]||(e[2]=n=>s.value=n),title:l.FromData.title,width:"720px",onClosed:w},{footer:i(()=>[O("span",H,[v((m(),b(a,{onClick:e[1]||(e[1]=n=>s.value=!1)},{default:i(()=>[...e[3]||(e[3]=[g("取 消",-1)])]),_:1})),[[d]]),v((m(),b(a,{type:"primary",onClick:V},{default:i(()=>[...e[4]||(e[4]=[g("确 定",-1)])]),_:1})),[[d]])])]),default:i(()=>[h(t.$slots,"before-form"),p(j(B),{api:u.value,"onUpdate:api":e[0]||(e[0]=n=>u.value=n),option:y,rule:l.FromData.rules,onSubmit:_,class:"formBox"},null,8,["api","rule"])]),_:3},8,["modelValue","title"])])):T("",!0)}}});export{Z as _}; diff --git a/backend/public/admin/system_static/green-DREypMtL.jpg b/backend/public/admin/system_static/green-DREypMtL.jpg new file mode 100644 index 000000000..f52fd4fbb Binary files /dev/null and b/backend/public/admin/system_static/green-DREypMtL.jpg differ diff --git a/backend/public/admin/system_static/greesgin-e-wBNJtW.png b/backend/public/admin/system_static/greesgin-e-wBNJtW.png new file mode 100644 index 000000000..7fee90247 Binary files /dev/null and b/backend/public/admin/system_static/greesgin-e-wBNJtW.png differ diff --git a/backend/public/admin/system_static/head-CgdJUT-f.gif b/backend/public/admin/system_static/head-CgdJUT-f.gif new file mode 100644 index 000000000..e33fb4aa3 Binary files /dev/null and b/backend/public/admin/system_static/head-CgdJUT-f.gif differ diff --git a/backend/public/admin/system_static/header-BI__SDxR.css b/backend/public/admin/system_static/header-BI__SDxR.css new file mode 100644 index 000000000..7843920cd --- /dev/null +++ b/backend/public/admin/system_static/header-BI__SDxR.css @@ -0,0 +1 @@ +.menu-icon[data-v-afd94c97]{width:1em;font-size:16px;margin-right:5px;text-align:center;vertical-align:middle;-ms-flex-negative:0;flex-shrink:0}.el-menu .el-icon[data-v-afd94c97]{font-size:16px}.layout-logo[data-v-ef5fd5c5]{width:180px;height:50px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:var(--prev-color-primary);font-size:16px;cursor:pointer;-webkit-animation:logoAnimation .3s ease-in-out;animation:logoAnimation .3s ease-in-out}.layout-logo:hover span[data-v-ef5fd5c5]{opacity:.9}.layout-logo-medium-img[data-v-ef5fd5c5]{width:100%;height:50px;margin-right:5px;position:relative;top:2px}.layout-logo-size[data-v-ef5fd5c5]{width:50px;height:50px;display:-webkit-box;display:-ms-flexbox;display:flex;cursor:pointer;margin:auto}.layout-logo-size-img[data-v-ef5fd5c5]{width:50px;height:50px;margin:auto;-webkit-animation:logoAnimation .3s ease-in-out;animation:logoAnimation .3s ease-in-out}.layout-navbars-breadcrumb[data-v-0ea355d9]{height:inherit;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-left:15px}.layout-navbars-breadcrumb .layout-navbars-breadcrumb-icon[data-v-0ea355d9]{cursor:pointer;font-size:18px;margin-right:15px;color:var(--prev-bg-topBarColor);opacity:.8}.layout-navbars-breadcrumb .layout-navbars-breadcrumb-icon[data-v-0ea355d9]:hover{opacity:1}.layout-navbars-breadcrumb .layout-navbars-breadcrumb-span[data-v-0ea355d9]{opacity:.7;color:var(--prev-bg-topBarColor)}.layout-navbars-breadcrumb .layout-navbars-breadcrumb-iconfont[data-v-0ea355d9]{font-size:14px;margin-right:5px}.layout-navbars-breadcrumb-user-news[data-v-f17e187a]{width:100%;padding:8px 14px 14px}.layout-navbars-breadcrumb-user-news .head-box[data-v-f17e187a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--prev-color-text-primary);-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.layout-navbars-breadcrumb-user-news .head-box .head-box-title[data-v-f17e187a]{font-size:13px;font-weight:500;color:#333;line-height:13px}.layout-navbars-breadcrumb-user-news .head-box .head-box-btn[data-v-f17e187a]{color:var(--prev-color-primary);font-size:13px;cursor:pointer;opacity:.8;font-weight:400;line-height:13px}.layout-navbars-breadcrumb-user-news .head-box .head-box-btn[data-v-f17e187a]:hover{opacity:1}.layout-navbars-breadcrumb-user-news .content-box[data-v-f17e187a]{font-size:13px}.layout-navbars-breadcrumb-user-news .content-box .content-box-item[data-v-f17e187a]{padding-top:24px;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.layout-navbars-breadcrumb-user-news .content-box .content-box-item .icon[data-v-f17e187a]{width:26px;height:26px;margin-right:10px}.layout-navbars-breadcrumb-user-news .content-box .content-box-item .content-box-type[data-v-f17e187a]{font-size:13px;font-weight:500;color:#333;line-height:13px}.layout-navbars-breadcrumb-user-news .content-box .content-box-item .content-box-msg[data-v-f17e187a]{margin-top:6px;font-size:13px;font-weight:400;color:#666;line-height:13px}.layout-navbars-breadcrumb-user-news .content-box .content-box-item .content-box-time[data-v-f17e187a]{color:var(--prev-color-text-secondary)}.layout-navbars-breadcrumb-user-news .content-box .content-box-empty[data-v-f17e187a]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.layout-navbars-breadcrumb-user-news .content-box .content-box-empty .content-box-empty-margin[data-v-f17e187a]{text-align:center;font-size:13px;color:#999}.layout-navbars-breadcrumb-user-news .content-box .content-box-empty .content-box-empty-margin i[data-v-f17e187a]{color:var(--prev-color-primary);font-size:60px}.layout-navbars-breadcrumb-user-news .content-box .content-box-empty .content-box-empty-margin .no-msg[data-v-f17e187a]{width:180px;height:138px}.layout-navbars-breadcrumb-user-news .foot-box[data-v-f17e187a]{height:35px;color:var(--prev-color-primary);font-size:13px;cursor:pointer;opacity:.8;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-top:1px solid var(--prev-border-color-lighter)}.layout-navbars-breadcrumb-user-news .foot-box[data-v-f17e187a]:hover{opacity:1}.layout-navbars-breadcrumb-user-news[data-v-f17e187a] .el-empty__description p{font-size:13px}.layout-search-dialog[data-v-50e9041e] .el-dialog{-webkit-box-shadow:unset!important;box-shadow:unset!important;border-radius:0!important;background:#00000080}.layout-search-dialog[data-v-50e9041e] .el-autocomplete{width:560px;position:absolute;top:100px;left:50%;-webkit-transform:translateX(-50%);transform:translate(-50%)}[data-v-50e9041e] .el-dialog__header{border:none!important}[data-v-50e9041e] .el-input--small .el-input__inner{height:36px;line-height:36px}.layout-navbars-breadcrumb-user[data-v-6ce560d3]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.layout-navbars-breadcrumb-user .el-icon-bell[data-v-6ce560d3]{color:var(--prev-bg-topBarColor)}.layout-navbars-breadcrumb-user-link[data-v-6ce560d3]{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;white-space:nowrap}.layout-navbars-breadcrumb-user-link-photo[data-v-6ce560d3]{width:30px;height:30px;border-radius:100%}.layout-navbars-breadcrumb-user-icon[data-v-6ce560d3]{padding:0 10px;cursor:pointer;color:var(--prev-bg-topBarColor);height:50px;line-height:50px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:15px}.layout-navbars-breadcrumb-user-icon[data-v-6ce560d3]:hover{background:var(--prev-color-hover)}.layout-navbars-breadcrumb-user-icon:hover i[data-v-6ce560d3]{display:inline-block;-webkit-animation:logoAnimation .3s ease-in-out;animation:logoAnimation .3s ease-in-out}.layout-navbars-breadcrumb-user[data-v-6ce560d3] .el-dropdown{color:var(--prev-bg-topBarColor);cursor:pointer}.layout-navbars-breadcrumb-user[data-v-6ce560d3] .el-badge{height:40px;line-height:40px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.layout-navbars-breadcrumb-user[data-v-6ce560d3] .el-badge__content.is-fixed{top:12px}[data-v-5146884c] .el-scrollbar__bar.is-horizontal{height:0}.el-menu-horizontal-warp[data-v-5146884c]{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:hidden;margin-right:30px}.el-menu-horizontal-warp[data-v-5146884c] .el-scrollbar__bar.is-vertical{display:none}.el-menu-horizontal-warp[data-v-5146884c] .el-scrollbar__wrap{overflow-y:hidden!important}.el-menu-horizontal-warp[data-v-5146884c] a{width:100%}.el-menu-horizontal-warp .el-menu.el-menu--horizontal[data-v-5146884c]{display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}[data-v-8cfd8fe3] .el-scrollbar__bar.is-horizontal{height:0}.el-menu-horizontal-warp[data-v-8cfd8fe3] .el-scrollbar__bar.is-vertical{display:none}.el-menu-horizontal-warp[data-v-8cfd8fe3] .el-scrollbar__wrap{overflow-y:hidden!important;overflow-x:scroll!important}.el-menu-horizontal-warp[data-v-8cfd8fe3] a{width:100%}.el-menu-horizontal-warp .el-menu.el-menu--horizontal[data-v-8cfd8fe3]{display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.layout-columns-tra-aside[data-v-8cfd8fe3]{height:100%;background:var(--prev-bg-columnsMenuBar);overflow-y:hidden}.layout-columns-tra-aside ul[data-v-8cfd8fe3]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex}.layout-columns-tra-aside ul li[data-v-8cfd8fe3]{color:var(--prev-bg-columnsMenuBarColor);width:80px;height:66px;text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;cursor:pointer;position:relative;z-index:1}.layout-columns-tra-aside ul li .columns-vertical[data-v-8cfd8fe3]{margin:auto}.layout-columns-tra-aside ul li .columns-vertical[data-v-8cfd8fe3] .menu-icon{margin-right:0}.layout-columns-tra-aside ul li .columns-horizontal[data-v-8cfd8fe3]{display:-webkit-box;display:-ms-flexbox;display:flex;height:50px;width:80px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 5px}.layout-columns-tra-aside ul li .columns-horizontal i[data-v-8cfd8fe3]{margin-right:5px}.layout-columns-tra-aside ul li .columns-horizontal a[data-v-8cfd8fe3]{display:-webkit-box;display:-ms-flexbox;display:flex}.layout-columns-tra-aside ul li .columns-horizontal a .columns-horizontal-title[data-v-8cfd8fe3]{padding-top:1px}.layout-columns-tra-aside ul li a[data-v-8cfd8fe3]{text-decoration:none;color:var(--prev-bg-columnsMenuBarColor)}.layout-columns-tra-aside ul .layout-columns[data-v-8cfd8fe3]{-webkit-transition:.3s ease-in-out;transition:.3s ease-in-out}.layout-columns-tra-aside ul .layout-columns-active[data-v-8cfd8fe3],.layout-columns-tra-aside ul .layout-columns-active a[data-v-8cfd8fe3]{color:var(--prev-bg-columnsMenuActiveColor);-webkit-transition:.3s ease-in-out;transition:.3s ease-in-out}.layout-columns-tra-aside ul .columns-round[data-v-8cfd8fe3],.layout-columns-tra-aside ul .columns-card[data-v-8cfd8fe3]{position:absolute;left:0;height:4px;width:80px;margin-top:59px;z-index:0;-webkit-transition:.2s ease-in-out;transition:.2s ease-in-out}.layout-columns-tra-aside ul .columns-round[data-v-8cfd8fe3]:before,.layout-columns-tra-aside ul .columns-card[data-v-8cfd8fe3]:before{content:"";display:block;width:48px;height:4px;margin:0 auto;background:var(--prev-color-primary)}.layout-columns-tra-aside ul .columns-card[data-v-8cfd8fe3]{top:0;height:4px;border-radius:0;margin-top:59px}[data-v-8cfd8fe3] .el-scrollbar{height:66px}[data-v-8cfd8fe3] .el-scrollbar__bar.is-horizontal,[data-v-8cfd8fe3] .el-scrollbar__thumb{display:none}.layout-navbars-breadcrumb-index[data-v-011870b6]{height:64px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden;background:var(--prev-bg-topBar);border-bottom:1px solid var(--prev-border-color-lighter)}.custom-contextmenu[data-v-331abecd]{-webkit-transform-origin:center top;transform-origin:center top;z-index:2190;position:fixed}.custom-contextmenu .el-dropdown-menu__item[data-v-331abecd]{font-size:12px!important;white-space:nowrap}.custom-contextmenu .el-dropdown-menu__item i[data-v-331abecd]{font-size:12px!important}[data-v-2f610022] .el-scrollbar__bar.is-horizontal{height:0}.el-dropdown-menu[data-v-2f610022]{width:130px}.setting-tag[data-v-2f610022]{padding:0 10px;cursor:pointer}.direction[data-v-2f610022]{padding:0 3px}.direction[data-v-2f610022]:hover{line-height:34px;background-color:#f7f2f2;cursor:pointer;-webkit-transition:all .3s;transition:all .3s}.layout-navbars-tagsview[data-v-2f610022]{-webkit-box-flex:1;-ms-flex:1;flex:1;z-index:10;background-color:var(--prev-bg-white);-webkit-box-shadow:0 1px 4px rgba(113,128,165,.1);box-shadow:0 1px 4px #7180a51a;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.layout-navbars-tagsview[data-v-2f610022] .is-vertical{display:none!important}.layout-navbars-tagsview-ul[data-v-2f610022]{list-style:none;margin:0;height:34px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;white-space:nowrap;color:var(--prev-color-text-regular);font-size:12px;padding:0 15px}.layout-navbars-tagsview-ul-li[data-v-2f610022]{height:26px;line-height:26px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #ebeef5;padding:0 12px 0 15px;margin-right:5px;border-radius:2px;position:relative;z-index:0;cursor:pointer;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-transition:all .3s cubic-bezier(.2,1,.3,1);transition:all .3s cubic-bezier(.2,1,.3,1)}.layout-navbars-tagsview-ul-li[data-v-2f610022]:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:var(--prev-tag-active-color);z-index:-1;opacity:0}.layout-navbars-tagsview-ul-li[data-v-2f610022]:hover{color:var(--prev-color-primary-light-9);-webkit-transition:all .3s cubic-bezier(.2,1,.3,1);transition:all .3s cubic-bezier(.2,1,.3,1);border-color:transparent}.layout-navbars-tagsview-ul-li[data-v-2f610022]:hover:before{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0);border-radius:2px}.layout-navbars-tagsview-ul-li:hover .is-tagsview-icon[data-v-2f610022]{color:var(--prev-color-primary-light-9);-webkit-transition:all .3s cubic-bezier(.2,1,.3,1);transition:all .3s cubic-bezier(.2,1,.3,1)}.layout-navbars-tagsview-ul-li-iconfont[data-v-2f610022]{position:relative;left:-5px;top:1px;color:var(--prev-color-primary-light-9)}.layout-navbars-tagsview-ul-li-icon[data-v-2f610022]{border-radius:100%;position:relative;height:14px;width:14px;text-align:center;line-height:14px;top:0}.layout-navbars-tagsview-ul-li .is-tagsview-icon[data-v-2f610022]{color:var(--prev-color-text-regular);-webkit-transition:all .3s cubic-bezier(.2,1,.3,1);transition:all .3s cubic-bezier(.2,1,.3,1)}.layout-navbars-tagsview-ul .is-active[data-v-2f610022]{color:var(--prev-color-primary-light-3);-webkit-transition:all .3s cubic-bezier(.2,1,.3,1);transition:all .3s cubic-bezier(.2,1,.3,1);border-color:transparent}.layout-navbars-tagsview-ul .is-active[data-v-2f610022]:before{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0);border-radius:2px}.layout-navbars-tagsview[data-v-2f610022] ::-webkit-scrollbar{display:none!important}.layout-navbars-tagsview .tags-style-one .is-active[data-v-2f610022]{background:none!important;color:#fff!important}.layout-navbars-tagsview .tags-style-four .layout-navbars-tagsview-ul-li[data-v-2f610022]{margin-right:0!important;border:none!important;position:relative;border-radius:3px!important}.layout-navbars-tagsview .tags-style-four .layout-navbars-tagsview-ul-li .layout-icon-active[data-v-2f610022]{display:none}.layout-navbars-tagsview .tags-style-four .layout-navbars-tagsview-ul-li .layout-icon-three[data-v-2f610022]{display:block}.layout-navbars-tagsview .tags-style-four .layout-navbars-tagsview-ul-li[data-v-2f610022]:hover{background:none!important}.layout-navbars-tagsview .tags-style-four .is-active[data-v-2f610022]{background:none!important;color:#fff!important}.layout-navbars-tagsview .tags-style-five[data-v-2f610022]{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.layout-navbars-tagsview .tags-style-five .tags-style-five-svg[data-v-2f610022],.layout-navbars-tagsview .tags-style-five .is-active[data-v-2f610022],.layout-navbars-tagsview .tags-style-five .layout-navbars-tagsview-ul-li[data-v-2f610022]:hover{-webkit-mask-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzAiIGhlaWdodD0iNzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbD0ibm9uZSI+CgogPGc+CiAgPHRpdGxlPkxheWVyIDE8L3RpdGxlPgogIDxwYXRoIHRyYW5zZm9ybT0icm90YXRlKC0wLjEzMzUwNiA1MC4xMTkyIDUwKSIgaWQ9InN2Z18xIiBkPSJtMTAwLjExOTE5LDEwMGMtNTUuMjI4LDAgLTEwMCwtNDQuNzcyIC0xMDAsLTEwMGwwLDEwMGwxMDAsMHoiIG9wYWNpdHk9InVuZGVmaW5lZCIgc3Ryb2tlPSJudWxsIiBmaWxsPSIjRjhFQUU3Ii8+CiAgPHBhdGggZD0ibS0wLjYzNzY2LDcuMzEyMjhjMC4xMTkxOSwwIDAuMjE3MzcsMC4wNTc5NiAwLjQ3Njc2LDAuMTE5MTljMC4yMzIsMC4wNTQ3NyAwLjI3MzI5LDAuMDM0OTEgMC4zNTc1NywwLjExOTE5YzAuMDg0MjgsMC4wODQyOCAwLjM1NzU3LDAgMC40NzY3NiwwbDAuMTE5MTksMGwwLjIzODM4LDAiIGlkPSJzdmdfMiIgc3Ryb2tlPSJudWxsIiBmaWxsPSJub25lIi8+CiAgPHBhdGggZD0ibTI4LjkyMTM0LDY5LjA1MjQ0YzAsMC4xMTkxOSwwLDAuMjM4MzgsMCwwLjM1NzU3bDAuMTE5MTlsMCwwLjExOTE5IiBpZD0ic3ZnXzMiIHN0cm9rZT0ibnVsbCIgZmlsbD0ibm9uZSIvPgogIDxyZWN0IGlkPSJzdmdfNCIgaGVpZ2h0PSIwIiB3aWR0aD0iMS4zMTEwOCIgeT0iNi44MzU1MiIgeD0iLTAuMDQxNzEiIHN0cm9rZT0ibnVsbCIgZmlsbD0ibm9uZSIvPgogIDxyZWN0IGlkPSJzdmdfNSIgaGVpZ2h0PSIxLjc4Nzg0IiB3aWR0aD0iMC4xMTkxOSIgeT0iNjguNDU2NSIgeD0iMjguOTIxMzQiIHN0cm9rZT0ibnVsbCIgZmlsbD0ibm9uZSIvPgogIDxyZWN0IGlkPSJzdmdfNiIgaGVpZ2h0PSI0Ljg4Njc3IiB3aWR0aD0iMTkuMDcwMzIiIHk9IjUxLjI5MzIxIiB4PSIzNi42Njg2NiIgc3Ryb2tlPSJudWxsIiBmaWxsPSJub25lIi8+CiA8L2c+Cjwvc3ZnPg==),url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzAiIGhlaWdodD0iNzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbD0ibm9uZSI+CiA8Zz4KICA8dGl0bGU+TGF5ZXIgMTwvdGl0bGU+CiAgPHBhdGggdHJhbnNmb3JtPSJyb3RhdGUoLTg5Ljc2MjQgNy4zMzAxNCA1NS4xMjUyKSIgc3Ryb2tlPSJudWxsIiBpZD0ic3ZnXzEiIGZpbGw9IiNGOEVBRTciIGQ9Im02Mi41NzQ0OSwxMTcuNTIwODZjLTU1LjIyOCwwIC0xMDAsLTQ0Ljc3MiAtMTAwLC0xMDBsMCwxMDBsMTAwLDB6IiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPgogIDxwYXRoIGQ9Im0tMC42Mzc2Niw3LjMxMjI4YzAuMTE5MTksMCAwLjIxNzM3LDAuMDU3OTYgMC40NzY3NiwwLjExOTE5YzAuMjMyLDAuMDU0NzcgMC4yNzMyOSwwLjAzNDkxIDAuMzU3NTcsMC4xMTkxOWMwLjA4NDI4LDAuMDg0MjggMC4zNTc1NywwIDAuNDc2NzYsMGwwLjExOTE5LDBsMC4yMzgzOCwwIiBpZD0ic3ZnXzIiIHN0cm9rZT0ibnVsbCIgZmlsbD0ibm9uZSIvPgogIDxwYXRoIGQ9Im0yOC45MjEzNCw2OS4wNTI0NGMwLDAuMTE5MTkgMCwwLjIzODM4IDAsMC4zNTc1N2wwLDAuMTE5MTlsMCwwLjExOTE5IiBpZD0ic3ZnXzMiIHN0cm9rZT0ibnVsbCIgZmlsbD0ibm9uZSIvPgogIDxyZWN0IGlkPSJzdmdfNCIgaGVpZ2h0PSIwIiB3aWR0aD0iMS4zMTEwOCIgeT0iNi44MzU1MiIgeD0iLTAuMDQxNzEiIHN0cm9rZT0ibnVsbCIgZmlsbD0ibm9uZSIvPgogIDxyZWN0IGlkPSJzdmdfNSIgaGVpZ2h0PSIxLjc4Nzg0IiB3aWR0aD0iMC4xMTkxOSIgeT0iNjguNDU2NSIgeD0iMjguOTIxMzQiIHN0cm9rZT0ibnVsbCIgZmlsbD0ibm9uZSIvPgogIDxyZWN0IGlkPSJzdmdfNiIgaGVpZ2h0PSI0Ljg4Njc3IiB3aWR0aD0iMTkuMDcwMzIiIHk9IjUxLjI5MzIxIiB4PSIzNi42Njg2NiIgc3Ryb2tlPSJudWxsIiBmaWxsPSJub25lIi8+CiA8L2c+Cjwvc3ZnPg==),url("data:image/svg+xml,");-webkit-mask-size:18px 30px,20px 30px,calc(100% - 30px) calc(100% + 17px);-webkit-mask-position:right bottom,left bottom,center top;-webkit-mask-repeat:no-repeat}.layout-navbars-tagsview .tags-style-five .layout-navbars-tagsview-ul-li[data-v-2f610022]{padding:0 5px;border-width:15px 27px 15px;border-style:solid;border-color:transparent;margin:0 -15px}.layout-navbars-tagsview .tags-style-five .layout-navbars-tagsview-ul-li .layout-icon-active[data-v-2f610022],.layout-navbars-tagsview .tags-style-five .layout-navbars-tagsview-ul-li .layout-navbars-tagsview-ul-li-iconfont[data-v-2f610022],.layout-navbars-tagsview .tags-style-five .layout-navbars-tagsview-ul-li .layout-navbars-tagsview-ul-li-refresh[data-v-2f610022]{display:none}.layout-navbars-tagsview .tags-style-five .layout-navbars-tagsview-ul-li .layout-icon-three[data-v-2f610022]{display:block}.layout-navbars-tagsview .tags-style-five .layout-navbars-tagsview-ul-li[data-v-2f610022]:hover{background:var(--prev-color-primary-light-9);color:unset}.layout-navbars-tagsview .tags-style-five .is-active[data-v-2f610022]{background:var(--prev-color-primary-light-9)!important;color:var(--prev-color-primary)!important;z-index:1}.layout-navbars-container[data-v-3e8fe9a3]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;-webkit-box-shadow:0 1px 4px rgba(0,21,41,.08);box-shadow:0 1px 4px #00152914} diff --git a/backend/public/admin/system_static/header-GEaJ1_Kn.js b/backend/public/admin/system_static/header-GEaJ1_Kn.js new file mode 100644 index 000000000..e947c02e3 --- /dev/null +++ b/backend/public/admin/system_static/header-GEaJ1_Kn.js @@ -0,0 +1 @@ +import{k as z,y as n,B as H,C as O,a9 as He,z as u,a1 as q,H as B,p as N,F,D as se,j as R,A as _,a0 as D,$ as K,a as X,u as de,s as G,l as v,T as Je,ac as ce,a2 as ye,ao as pe,g as Ge,Z as Oe,ad as qe,n as ue,f as fe,W as Qe,aI as Fe,b as Te,J as Ve,ab as Pe,at as Ye}from"./element-plus-C_ZDq0cz.js";import{_ as P,bF as Ke,aK as ke,bk as ee,bG as Ze,b as ve,h as me,aL as he,bH as ge,bI as Xe,bJ as et,J as tt,M as nt,g as $e,bK as st,bL as ot,bM as lt,l as re,aO as Ne,u as it,A as J,bB as at,K as xe,N as rt,bE as ct,s as ut,bN as Me,bO as ft,bD as dt}from"./index-DHL7RTL2.js";import{s as we}from"./screenfull-BDHcr3-M.js";import{i as mt}from"./icon-C8INUNkX.js";const ht=Object.assign({name:"MenuIcon"},{__name:"index",props:{icon:{type:String,default:""}},setup(E){const t=E,a=new Set(mt),r=N(()=>a.has(t.icon)),h=N(()=>Ke(t.icon)),i=N(()=>t.icon.startsWith("el-icon-")?t.icon:"el-icon-"+t.icon);return(s,p)=>{const S=z("el-icon");return r.value?(n(),H(S,{key:0},{default:O(()=>[(n(),H(He(t.icon)))]),_:1})):h.value?(n(),u("i",{key:1,class:q(["crmeb-icon menu-icon",h.value])},null,2)):t.icon?(n(),u("i",{key:2,class:q(["ivu-icon",i.value])},null,2)):B("",!0)}}}),ne=P(ht,[["__scopeId","data-v-afd94c97"]]),pt=["href"],gt=Object.assign({name:"subItem"},{__name:"subItem",props:{chil:{type:Array,default(){return[]}}},setup(E){return(t,a)=>{const r=z("sub-item",!0),h=z("el-sub-menu"),i=z("el-menu-item");return n(),u("div",null,[(n(!0),u(F,null,se(E.chil,s=>(n(),u(F,{key:s.path},[s.is_show&&s.children&&s.children.length>0?(n(),H(h,{key:0,index:s.path},{title:O(()=>[R(ne,{icon:s.icon},null,8,["icon"]),_("span",null,D(t.$t(s.title)),1)]),default:O(()=>[R(r,{chil:s.children},null,8,["chil"])]),_:2},1032,["index"])):s.is_show?(n(),H(i,{key:1,index:s.path},{default:O(()=>[!s.isLink||s.isLink&&s.isIframe?(n(),u(F,{key:0},[R(ne,{icon:s.icon},null,8,["icon"]),_("span",null,D(t.$t(s.title)),1)],64)):(n(),u("a",{key:1,href:s.isLink,target:"_blank"},[R(ne,{icon:s.icon},null,8,["icon"]),K(" "+D(t.$t(s.title)),1)],8,pt))]),_:2},1032,["index"])):B("",!0)],64))),128))])}}}),_t=["src"],vt=["src"],bt=Object.assign({name:"layoutLogo"},{__name:"index",setup(E){const t=ke(),a=ee(),r=v(""),h=v(""),i=N(()=>a.themeConfig);X(()=>{p()});function s(){if(!(a.themeConfig.layout=="columns"&&!t.childMenuList.length&&a.themeConfig.isCollapse)){if(a.themeConfig.layout==="transverse"||a.themeConfig.layout==="classic")return!1;a.themeConfig.isCollapse=!a.themeConfig.isCollapse}}function p(){Ze().then(S=>{r.value=S.data.logo_square,h.value=S.data.logo})}return(S,M)=>{const b=de("db-click");return i.value.layout!=="columns"&&!i.value.isCollapse?G((n(),u("div",{key:0,class:"layout-logo",onClick:s},[h.value?(n(),u("img",{key:0,class:"layout-logo-medium-img",src:h.value},null,8,_t)):B("",!0)])),[[b]]):G((n(),u("div",{key:1,class:"layout-logo-size",onClick:s},[r.value?(n(),u("img",{key:0,class:"layout-logo-size-img",src:r.value},null,8,vt)):B("",!0)])),[[b]])}}}),At=P(bt,[["__scopeId","data-v-ef5fd5c5"]]),Ct={class:"layout-navbars-breadcrumb"},wt={key:0,class:"layout-navbars-breadcrumb-span"},yt=["onClick"],kt=Object.assign({name:"layoutBreadcrumb"},{__name:"breadcrumb",setup(E){const t=ve(),a=me(),r=ke(),h=he(),i=ee(),s=v([]),p=v([]),S=v(""),M=v(1),b=N(()=>{let T=r.menusName;const g=t.meta&&t.meta.activeMenu||t.path;let e=[];const c=(V,A)=>{for(const U of V){if(U.path===g)return e=A,!0;if(U.children&&U.children.length&&c(U.children,A.concat(U)))return!0}return!1};return c(T,[]),e}),k=N(()=>{let T=r.menusName,g=Xe(T,[]),e=[];return g.length>0&&g.forEach(c=>{t.path===c.path&&e.push(c)}),e}),d=N(()=>{const T=new Set;return[...b.value,...k.value].filter(g=>T.has(g.path)?!1:(T.add(g.path),!0))}),l=N(()=>i.themeConfig),x=N(()=>{const{layout:T,isBreadcrumb:g}=i.themeConfig;return T==="transverse"||T==="classic"?"none":g?"":"none"}),C=N(()=>{const{layout:T}=i.themeConfig;return!(T==="transverse"||T==="classic")}),m=N(()=>["defaults","columns"].includes(i.themeConfig.layout));X(()=>{Z(t.path)});function w(T){const{redirect:g,path:e}=T;g?a.push(g):a.push(e)}function I(){i.themeConfig.layout=="columns"&&!r.childMenuList.length&&i.themeConfig.isCollapse||(i.themeConfig.isCollapse=!i.themeConfig.isCollapse,W())}function W(){ge.remove("themeConfigPrev"),ge.set("themeConfigPrev",i.themeConfig)}function y(T){T.map(g=>{p.value.map((e,c,V)=>{S.value===g.path&&(S.value+=`/${V[M.value]}`,s.value.push(g),M.value++,g.children&&y(g.children))})})}function Z(T){s.value=[{path:"/",meta:{title:h.routesList[0].title,icon:h.routesList[0].icon}}],S.value=T,M.value=1,y(h.routesList)}return(T,g)=>{const e=z("Icon"),c=z("el-breadcrumb-item"),V=z("el-breadcrumb"),A=de("db-click");return n(),u("div",Ct,[m.value?G((n(),u("i",{key:0,class:q(["layout-navbars-breadcrumb-icon",l.value.isCollapse?"el-icon-s-unfold":"el-icon-s-fold"]),onClick:I},null,2)),[[A]]):B("",!0),C.value?(n(),H(V,{key:1,class:"layout-navbars-breadcrumb-hide",style:ye({display:x.value})},{default:O(()=>[R(Je,{name:"breadcrumb"},{default:O(()=>[(n(!0),u(F,null,se(d.value,(U,le)=>(n(),H(c,{key:U.path},{default:O(()=>[le==1?(n(),u("span",wt,[l.value.isBreadcrumbIcon?(n(),H(e,{key:0,type:U.icon,class:"ivu-icon layout-navbars-breadcrumb-iconfont"},null,8,["type"])):B("",!0),K(D(T.$t(U.title)),1)])):G((n(),u("a",{key:1,onClick:ce(Y=>w(U),["prevent"])},[l.value.isBreadcrumbIcon?(n(),H(e,{key:0,type:U.icon,class:"ivu-icon layout-navbars-breadcrumb-iconfont"},null,8,["type"])):B("",!0),K(D(T.$t(U.title)),1)],8,yt)),[[A]])]),_:2},1024))),128))]),_:1})]),_:1},8,["style"])):B("",!0)])}}}),Lt=P(kt,[["__scopeId","data-v-0ea355d9"]]),St="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAMAAADypuvZAAAAAXNSR0IArs4c6QAAAEJQTFRFAAAAMI//MI/3NY/6NI/3M4/5M5H6Mo/6NZH6NI/5NJH5NJD7NJL6M5D6M5L6NJL7NJL6NJH6M5H5M5H6NJH6NJH6Z/OaFQAAABV0Uk5TABAgMEBQX2BvgICPj5+fr7/P39/vnrLRCQAAAXlJREFUSMelltuWgyAMRSmiVtEShPz/rw5a23IJlXTOiwtlmxsQhCglh9VsHtFb0GMnGqSmMD2W01ecAiQEIxvZZWWNWfCLZhKRFr/KEcY6jxdyRUL6SyaUoOfaOajElnTYJB/H1ciE1H+YGZu1vJ1DhtQJWQ4ET2aMI4V1l3fHw6A5nlCagrJ+Bk6/VZnd41MX/eW1mtcMEiozpaPxrQbdoklTViNRg0Qcd+pdG4QyyR0Op9wLerzeJLOSkPJqVKq+iqQG9/O/FoSEOUDL+eIezzLpcvjEtO8v29MxbcKTEOLjphzSkE9Gb8g49Vz9JIQ0pM4qS0lDpHulUvc2PmSF4UOwJ4oLaTHwoTFdKm1Q2KmeC7kwnLiQznZytQt1qXfJwTLVoDnfNbGpmbQlp/LwAc5haYnz6VKyqdlWW2/zae7iSH0jI//bPn9r1MGW49ppadaVm87c1GzbbzqgvtzDRmAjR0J0FpufVMvlshs12P06upl1oML/A7DQgjVSbX0zAAAAAElFTkSuQmCC",xt=Object.freeze(Object.defineProperty({__proto__:null,default:St},Symbol.toStringTag,{value:"Module"})),Rt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAMAAADypuvZAAAAAXNSR0IArs4c6QAAAEJQTFRFAAAA/4AA/3gA/4AA/3oA/3wA/3wA/34A/30A/34A/30A/3wA/34A/30A/30A/30A/30A/3wA/34A/30A/30A/30AuioTngAAABV0Uk5TABAgIDBAUF9gb3CAgI+fr7/Pz9/vQdVm5AAAAZBJREFUSMelltGChCAIRZnUydY0U/j/X92HnVpBLdvlqWY8InCFAGqb5rBlJMIUvdUwYMYhMcv+jjORGhbtY4SIKKke4+nC1iaidrq03HCmkW4sVwl53zJE+H7qh4gImS+VaciwjGuQIdp/mbXeMrhlcVt9aH8erlKA6Zf7+CsJL6YM14qjx8/P10WUSfrZMt4UXlARAEDzjVpiqV1xmQZ2G5tKdlWNSkfr8fJiqUfpOxbMVzofediTyJ0tI1nO55ktmsV5TZkz3UlFqDwfYWTKRUbYok3I4YQ2ojBN0+vzyksJ2IQOCb9bEPLXA1LOzUvZTfiqNgQAYIp7ICHsQUt548Txcg/aSunyzglbD2JyF7IJHUizfiWu/NzzBF3IimIPQRp4+kagDACOCXZqm+xi5hTvtZ1NUBc3LN4NVrbOHCUbgyzf4toS39vQA1NDw7Y7evdRJpedFwcZ9d/x+bdBDaDzUz8jw3pvf+msV4zvCUWlHhLNhb5sfIwAAGgvYkNnRj4utfUxIRHmLcytu/wNuNqBGQ02EVUAAAAASUVORK5CYII=",It=Object.freeze(Object.defineProperty({__proto__:null,default:Rt},Symbol.toStringTag,{value:"Module"})),Ot="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAMAAADypuvZAAAAAXNSR0IArs4c6QAAAEJQTFRFAAAAEL9wGL9oG7pqG79qGLtsGrxpGL9rGL1qGb1rGL1qGr1sGb9rGL9rGr9rGb9sGb5rGb5rGb5qGb5rGb5rGb5rna/YcQAAABV0Uk5TABAgMDBAUF9gcICAj5+fr7/P39/vJx1ylwAAAWJJREFUSMelltF2hCAMRCPCShUrSOb/f7UP3e6CRA3befR4TYLJBKJWZlq3nQFOMXhLCrmZUSmHO85FCIq+GwGAZM6YgAstImISLpWFYCPjRnk8Mo9bBuBHbxwA4CqWyVCJy7qUDJDezAK1wis5dMg9odQDxV/Gl49WSVtuQsW7XqnfiUREtvjKcAY9DqHKNj3v/+Kl+fCPVBDX2ekgmOrsntAwveUEaKonTxhG20IrxRYa41tBiLTV7aCraSfuh5jQD+EzSEiv9Is8SOntLfTVDrirx3cT0hvMS4OQXqS1v6ZAUz/ka4PQQZaq41NBmYjmqukVkxsOH4knVOXA9mAawJ7+fMKt+0uthznJDcfTpegbf3pC5vvWzetQEw3zxeIx4rLljXWrV+3muTxSVjLmv+vzs0VNNObeOJplfXLTWVTLVn/Tie7iHuZjN0JEZMOhNp6d5nJpfYiJAd63dZLK/wGw9IMeio8AugAAAABJRU5ErkJggg==",Mt=Object.freeze(Object.defineProperty({__proto__:null,default:Ot},Symbol.toStringTag,{value:"Module"})),Tt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAMAAADypuvZAAAAAXNSR0IArs4c6QAAAEhQTFRFAAAA778g97cg9Lob9Log97cc9bkd97ke97od9rge9bke97ke+Lke+Lse97od97oe+Lsd+Lsf97od+Loe97ke97oe9roe97oeo/+gAgAAABd0Uk5TABAgMDBAUF9gcICAj4+fn6+vv8/f3+/XzptVAAABiElEQVRIx6WW25qDIAyEI5XKelhXkMz7v+le2NYAIrA7l/38GxKSCUSp1LBuOwPs7GJ6qpAeGYH8UuK0xYWsaUYAwKkcM+NG0yWiHG7lL4I9GAX5R8w8iwzAz9Y4AMBBLOVRJZZ5VTKAO5kJ1Zo/h0OD9AtyLZA9GAO0h5INN3e5HlPfMlQv/6bLd3MnQy0Suhub9zdjfEc1EEenuzveeTEqqp3VKiN9XswQplSnVRac92vF0CbaYcrkkhjHTlwogvLwazgFTKVyOzgiHYYqQfNhKKFRFY5nAENE1HFwvLM236lHKcb6Mp5gfLdKt/uRI7XeQ08R9K2FhvN4XZqQuLuvz4dG9GFSCAv0F/OEns7yJWVYz0mVJfdENGYhZfd9P36XaS4kbrvLjF4M9dJY5muII+jwMF3w78hODSUediFD3Zy6uW4ZW1W1bLOrt9rNfdjNdYz67/r826ImevjWODXLOvPSmaqWbf1Lx+qbdWJsM0JE1C9RbjzqmsdlbxbrGOB9W4er9H8BGf2R+QWj0okAAAAASUVORK5CYII=",Vt=Object.freeze(Object.defineProperty({__proto__:null,default:Tt},Symbol.toStringTag,{value:"Module"})),$t="/admin/system_static/no-msg-D5WlFdLL.png",Nt="/admin/system_static/newOrderAudioLink-D8E0M4aO.mp3",_e=nt();let ze=$e("WS_ADMIN_URL")||"";class zt{constructor(t){this.ws=null,this.opt=t||{},this.init(t.key)}onOpen(){this.opt.open&&this.opt.open(),this.ping(),this.socketStatus=!0}init(t){let a="";t==1&&(a=ze),a&&(this.ws=new WebSocket(a),this.ws.onopen=this.onOpen.bind(this),this.ws.onerror=this.onError.bind(this),this.ws.onmessage=this.onMessage.bind(this),this.ws.onclose=this.onClose.bind(this))}ping(){var t=this;this.timer=setInterval(function(){t.send({type:"ping"})},1e4)}send(t){return new Promise((a,r)=>{try{this.ws.send(JSON.stringify(t)),a({status:!0})}catch{r({status:!1})}})}onMessage(t){this.opt.message&&this.opt.message(t)}onClose(){this.timer&&clearInterval(this.timer),this.opt.close&&this.opt.close()}onError(t){this.opt.error&&this.opt.error(t)}$on(...t){_e.on(...t)}$off(...t){_e.off(...t)}}async function Et(E){const t=await et();return ze=t.data.admin,tt("WS_ADMIN_URL",t.data.admin),new Promise((a,r)=>{const h=new zt({key:E,open(){a(h),_e.emit("socket_open",E)},error(i){r(i)},message(i){const{type:s,data:p={}}=JSON.parse(i.data);_e.emit(s,p)},close(i){_e.emit("close",{e:i,key:E})}})})}const Ut=Et(1),Bt={class:"layout-navbars-breadcrumb-user-news"},Dt={class:"content-box"},Wt=["onClick"],jt=["src"],Ht={class:"content-box-right"},Jt={class:"content-box-type"},Gt={class:"content-box-msg"},qt={key:1,class:"content-box-empty"},Qt=Object.assign({name:"layoutBreadcrumbUserNews"},{__name:"userNews",emits:["haveNews"],setup(E,{emit:t}){let a=new Audio(Nt);const r=t,h=me(),i=v([]),s=v([]),p=Object.assign({"../../../assets/images/news-1.png":xt,"../../../assets/images/news-2.png":It,"../../../assets/images/news-3.png":Mt,"../../../assets/images/news-4.png":Vt});X(()=>{M(),Ut.then(d=>{d.send({type:"login",data:$e("token")}),d.$on("ADMIN_NEW_PUSH",function(l){M()}),d.$on("NEW_ORDER",function(l){pe.info({title:"新订单",message:"您有一个新的订单,ID为("+l.order_id+"),请注意查看"}),a&&a.play(),s.value.push({title:"新订单提醒",icon:"md-bulb",iconColor:"#87d068",time:0,read:0})}),d.$on("NEW_REFUND_ORDER",function(l){pe.info({title:"退款订单提醒",message:"您有一个订单申请退款,ID为("+l.order_id+"),请注意查看"}),a&&a.play(),s.value.push({title:"退款订单提醒",icon:"md-information",iconColor:"#fe5c57",time:0,read:0})}),d.$on("WITHDRAW",function(l){pe.info({title:"提现提醒",message:"有用户申请提现,编号为("+l.id+"),请注意查看"}),s.value.push({title:"退款订单提醒",icon:"md-people",iconColor:"#f06292",time:0,read:0})}),d.$on("STORE_STOCK",function(l){pe.info({title:"库存预警",message:"商品ID为("+l.id+")的库存不足啦,请注意查看~"}),s.value.push({title:"库存预警",icon:"md-information",iconColor:"#fe5c57",time:0,read:0})}),d.$on("PAY_SMS_SUCCESS",function(l){pe.info({title:"短信充值成功",message:"恭喜您充值"+l.price+"元,获得"+l.number+"条短信"}),s.value.push({title:"短信充值成功",icon:"md-bulb",iconColor:"#87d068",time:0,read:0})})})});function S(d){let l;switch(d){case 1:l="待发货订单提醒";break;case 2:l="库存报警";break;case 3:l="评论回复";break;case 4:l="提现申请";break;default:l="其它"}return l}function M(){st().then(d=>{i.value=d.data||[],r("haveNews",!!i.value.length)}).catch(()=>{})}function b(d){if(d){if(/^https?:\/\//.test(d)){window.open(d,"_blank");return}h&&typeof h.push=="function"?h.push({path:d}):window.location.href=d}}function k(d){const l=Object.keys(p).find(x=>x.endsWith(`news-${d}.png`));return l?p[l].default:""}return(d,l)=>{const x=de("db-click");return n(),u("div",Bt,[l[1]||(l[1]=_("div",{class:"head-box"},[_("div",{class:"head-box-title"},"系统通知")],-1)),_("div",Dt,[i.value.length>0?(n(!0),u(F,{key:0},se(i.value,(C,m)=>G((n(),u("div",{class:"content-box-item",key:m,onClick:w=>b(C.url)},[_("img",{class:"icon",src:k(C.type),alt:""},null,8,jt),_("div",Ht,[_("div",Jt,D(S(C.type)),1),_("div",Gt,D(C.title),1)])],8,Wt)),[[x]])),128)):(n(),u("div",qt,[...l[0]||(l[0]=[_("div",{class:"content-box-empty-margin"},[_("img",{class:"no-msg",src:$t,alt:""}),_("div",{class:"mt15"},"暂无通知")],-1)])]))])])}}}),Ft=P(Qt,[["__scopeId","data-v-f17e187a"]]),Pt={class:"layout-search-dialog"},Yt=Object.assign({name:"layoutBreadcrumbSearch"},{__name:"search",setup(E,{expose:t}){const a=me(),r=he(),h=v(null),i=v(!1),s=v(""),p=v([]);function S(){s.value="",i.value=!0,l()}function M(){var m,w;(w=(m=h.value)==null?void 0:m.focus)==null||w.call(m)}function b(){setTimeout(()=>{i.value=!1},150)}function k(m,w){if(m)ot({keyword:m}).then(W=>{w(W.data)});else{let I=m?p.value.filter(d(m)):p.value;w(I)}}function d(m){return w=>w.path.toLowerCase().indexOf(m.toLowerCase())>-1||w.title.toLowerCase().indexOf(m.toLowerCase())>-1||re.global.t(w.title).toLowerCase().indexOf(m.toLowerCase())>-1}function l(){if(p.value.length>0)return!1;p.value=lt(r.routesList)}function x(m){let{path:w,redirect:I}=m;m.isLink&&!m.isIframe?window.open(m.isLink):I?a.push(I):a.push(w),b()}function C(){b()}return t({openSearch:S,closeSearch:b}),(m,w)=>{const I=z("el-autocomplete"),W=z("el-dialog");return n(),u("div",Pt,[R(W,{modelValue:i.value,"onUpdate:modelValue":w[1]||(w[1]=y=>i.value=y),fullscreen:"",modal:!1,"destroy-on-close":"","show-close":!0,onOpened:M},{default:O(()=>[R(I,{modelValue:s.value,"onUpdate:modelValue":w[0]||(w[0]=y=>s.value=y),"fetch-suggestions":k,placeholder:m.$t("message.user.searchPlaceholder"),"prefix-icon":"el-icon-search",ref_key:"layoutMenuAutocompleteRef",ref:h,onSelect:x,onBlur:C},{default:O(({item:y})=>[_("div",null,[_("i",{class:q([y.icon,"mr10"])},null,2),K(D(m.$t(y.title)),1)])]),_:1},8,["modelValue","placeholder"])]),_:1},8,["modelValue"])])}}}),Kt=P(Yt,[["__scopeId","data-v-50e9041e"]]),Zt=["title"],Xt=["title"],en={class:"layout-navbars-breadcrumb-user-icon"},tn=["title"],nn=["title"],sn={class:"layout-navbars-breadcrumb-user-link"},on=["src"],ln=["title"],an=Object.assign({name:"layoutBreadcrumbUser"},{__name:"user",setup(E){const{proxy:t}=Ge(),a=ve(),r=me(),h=Ne(),i=it(),s=ee(),p=v(null),S=v(!1),M=v("zh-cn"),b=v(""),k=v(!1),d=N(()=>i.userInfo),l=N(()=>{let{layout:g,isClassicSplitMenu:e}=s.themeConfig,c="";return g==="defaults"||g==="classic"&&!e||g==="columns"?c=1:c=null,c});X(()=>{ge.get("themeConfigPrev")&&(y(),Z())});function x(g){k.value=g}function C(){window.open(window.location.origin,"_blank")}function m(){p.value.openSearch()}function w(){J.emit("openSetingsDrawer")}function I(){J.emit("onTagsViewRefreshRouterView",a.path)}function W(){if(!we.isEnabled)return Oe.warning("暂不不支持全屏"),!1;we.toggle(),we.on("change",()=>{we.isFullscreen?S.value=!0:S.value=!1}),J.emit("updateElScrollBar")}function y(){switch(ge.get("themeConfigPrev").globalI18n){case"zh-cn":M.value="zh-cn";break;case"en":M.value="en";break;case"zh-tw":M.value="zh-tw";break}}function Z(){switch(ge.get("themeConfigPrev").globalComponentSize){case"":b.value="";break;case"medium":b.value="medium";break;case"small":b.value="small";break;case"mini":b.value="mini";break}}function T(g){g==="logOut"?setTimeout(()=>{qe({closeOnClickModal:!1,closeOnPressEscape:!1,title:re.global.t("message.user.logOutTitle"),message:re.global.t("message.user.logOutMessage"),showCancelButton:!0,confirmButtonText:re.global.t("message.user.logOutConfirm"),cancelButtonText:re.global.t("message.user.logOutCancel"),beforeClose:(e,c,V)=>{e==="confirm"?(c.confirmButtonLoading=!0,c.confirmButtonText=re.global.t("message.user.logOutExit"),at().then(A=>{V(),Oe.success("您已成功退出"),h.clearAll(),xe("token"),xe("expires_time"),xe("uuid")}).finally(()=>{setTimeout(()=>{r.replace({name:"login"}),c.confirmButtonLoading=!1,V()},1500)})):V()}}).then(()=>{rt.clear(),window.location.reload()}).catch(()=>{})},150):g==="user"?r.push({name:"systemUser"}):r.push(g)}return(g,e)=>{const c=z("el-badge"),V=z("el-popover"),A=z("el-dropdown-item"),U=z("el-dropdown-menu"),le=z("el-dropdown"),Y=de("db-click");return n(),u("div",{class:"layout-navbars-breadcrumb-user",style:ye({flex:l.value})},[G((n(),u("div",{class:"layout-navbars-breadcrumb-user-icon",onClick:I},[_("i",{class:"el-icon-refresh-right",title:g.$t("message.user.title7")},null,8,Zt)])),[[Y]]),G((n(),u("div",{class:"layout-navbars-breadcrumb-user-icon",onClick:m},[_("i",{class:"el-icon-search",title:g.$t("message.user.title2")},null,8,Xt)])),[[Y]]),_("div",en,[R(V,{placement:"bottom",width:300,trigger:"click","popper-class":"user-news-popover",onShow:e[0]||(e[0]=Re=>k.value=!1)},{reference:O(()=>[R(c,{"is-dot":k.value},{default:O(()=>[_("i",{class:"el-icon-bell",title:g.$t("message.user.title4")},null,8,tn)]),_:1},8,["is-dot"])]),default:O(()=>[R(Ft,{onHaveNews:x})]),_:1})]),G((n(),u("div",{class:"layout-navbars-breadcrumb-user-icon",onClick:W},[_("i",{title:S.value?g.$t("message.user.title6"):g.$t("message.user.title5"),class:q(S.value?"el-icon-crop":"el-icon-full-screen")},null,10,nn)])),[[Y]]),G((n(),u("div",{class:"layout-navbars-breadcrumb-user-icon mr10",onClick:C},[...e[1]||(e[1]=[_("i",{title:"商城页面",class:"el-icon-mobile-phone"},null,-1)])])),[[Y]]),R(le,{"show-timeout":70,onCommand:T},{dropdown:O(()=>[R(U,null,{default:O(()=>[R(A,{command:"user"},{default:O(()=>[K(D(g.$t("message.user.dropdown6")),1)]),_:1}),R(A,{divided:"",command:"logOut"},{default:O(()=>[K(D(g.$t("message.user.dropdown5")),1)]),_:1})]),_:1})]),default:O(()=>[_("span",sn,[_("img",{src:d.value.head_pic,class:"layout-navbars-breadcrumb-user-link-photo mr5"},null,8,on),K(" "+D(d.value.account===""?"test":d.value.account)+" ",1),e[2]||(e[2]=_("i",{class:"el-icon-arrow-down el-icon--right"},null,-1))])]),_:1}),G((n(),u("div",{class:"layout-navbars-breadcrumb-user-icon",onClick:w},[_("i",{class:"el-icon-setting",title:g.$t("message.user.title3")},null,8,ln)])),[[Y]]),R(Kt,{ref_key:"searchRef",ref:p},null,512)],4)}}}),rn=P(an,[["__scopeId","data-v-6ce560d3"]]),cn={class:"el-menu-horizontal-warp"},un=["href"],fn=Object.assign({name:"navMenuHorizontal"},{__name:"horizontal",props:{menuList:{type:Array,default:()=>[]}},setup(E){const t=ve(),a=ct(),r=he(),h=ee(),{activePath:i}=ut(a),s=v(null),p=v(null);X(()=>{M(),l(t.path)});function S(x){const C=x.wheelDelta||-x.deltaY*40;s.value.wrapRef.scrollLeft=s.value.wrapRef.scrollLeft+C/4}function M(){ue(()=>{let x=document.querySelector(".el-menu.el-menu--horizontal li.is-active");if(!x)return!1;s.value.wrapRef.scrollLeft=x.offsetLeft})}function b(x){return x.filter(C=>!C.isHide).map(C=>(C=Object.assign({},C),C.children&&(C.children=b(C.children)),C))}function k(x){const C=x.split("/");let m={};return b(r.routesList).map((w,I)=>{w.path===`/${C[1]}`&&(w.k=I,m.item=[{...w}],m.children=[{...w}],w.children&&(m.children=w.children))}),m}function d(x){J.emit("setSendClassicChildren",k(x))}function l(x){const C=x.split("/");h.themeConfig.layout==="classic"?p.value=`/${C[1]}`:p.value=x}return fe(()=>t.fullPath,()=>{l(t.path)}),(x,C)=>{const m=z("el-sub-menu"),w=z("el-menu-item"),I=z("el-menu"),W=z("el-scrollbar");return n(),u("div",cn,[R(W,{onWheel:ce(S,["prevent"]),ref_key:"elMenuHorizontalScrollRef",ref:s},{default:O(()=>[R(I,{router:"","default-active":Qe(i)||p.value,"background-color":"transparent",mode:"horizontal",onSelect:d},{default:O(()=>[(n(!0),u(F,null,se(E.menuList,y=>(n(),u(F,{key:y.path},[y.is_show&&y.children&&y.children.length>0?(n(),H(m,{key:0,index:y.path},{title:O(()=>[R(ne,{icon:y.icon},null,8,["icon"]),_("span",null,D(x.$t(y.title)),1)]),default:O(()=>[R(gt,{chil:y.children},null,8,["chil"])]),_:2},1032,["index"])):y.is_show?(n(),H(w,{key:1,index:y.path},Fe({_:2},[!y.isLink||y.isLink&&y.isIframe?{name:"title",fn:O(()=>[R(ne,{icon:y.icon},null,8,["icon"]),K(" "+D(x.$t(y.title)),1)]),key:"0"}:{name:"title",fn:O(()=>[_("a",{href:y.isLink,target:"_blank"},[R(ne,{icon:y.icon},null,8,["icon"]),K(" "+D(x.$t(y.title)),1)],8,un)]),key:"1"}]),1032,["index"])):B("",!0)],64))),128))]),_:1},8,["default-active"])]),_:1},512)])}}}),dn=P(fn,[["__scopeId","data-v-5146884c"]]),mn={class:"layout-columns-tra-aside el-menu-horizontal-warp"},hn=["onClick","title"],pn={class:"font14"},gn=["href"],_n={class:"font14"},vn=Object.assign({name:"layoutColumnsAside"},{__name:"transverseAside",setup(E){const t=ve(),a=me(),r=ke(),h=he(),i=ee(),s=v([]),p=v(0),S=v(0),M=v(null),b=v(null),k=v(null),d=N(()=>i.themeConfig.columnsAsideStyle),l=N(()=>i.themeConfig.columnsAsideLayout);Te(()=>{J.off("routesListChange",x)}),X(()=>{J.on("routesListChange",x),y(),ue(e=>{m()})});function x(){y()}function C(e){const c=e.wheelDelta||-e.deltaY*40;M.value.wrapRef.scrollLeft=M.value.wrapRef.scrollLeft+c/4}function m(){ue(()=>{let e=document.querySelector(".layout-columns.layout-columns-active");if(!e)return!1;M.value.wrapRef.scrollLeft=e.offsetLeft})}function w(e){if(e===void 0)return!1;const c=b.value;if(!c||!c[e])return!1;p.value=e,k.value.style.left=`${c[e].offsetLeft+S.value}px`}function I(e){let{path:c,redirect:V}=e;if(e.children&&e.children.length){const A=dt(e.children);a.push(A&&A.path||c)}else a.push(c);!e.children||e.children.length<=1?i.themeConfig.isCollapse=!0:e.children.length>1&&(i.themeConfig.isCollapse=!1)}function W(e){ue(()=>{w(e)})}function y(){if(h.routesList.length<=0)return!1;s.value=T(h.routesList);const e=Z(Me(t,s.value));if(!e.children)return J.emit("setSendColumnsChildren",[]),r.setChildMenuList([]),i.themeConfig.isCollapse=!0,!1;J.emit("oneCatName",e.item[0].title),W(e.item[0].k),e.children.length>0?i.themeConfig.isCollapse=!1:i.themeConfig.isCollapse=!0,J.emit("setSendColumnsChildren",(e==null?void 0:e.children)||[]),r.setChildMenuList((e==null?void 0:e.children)||[])}function Z(e){let c={};return s.value.map((V,A)=>{V.k=A,V.path===e&&(c.item=[{...V}],V.children&&(c.children=V.children))}),c}function T(e){return e.filter(c=>c.path).map(c=>(c=Object.assign({},c),c.children&&(c.children=T(c.children)),c))}function g(e){const c=s.value.find(V=>V.path===e);if(!c)return!1;setTimeout(()=>{W(c.k)},0)}return fe(()=>i.themeConfig.columnsAsideStyle,e=>{e==="columnsRound"?S.value=3:S.value=0}),fe(()=>t.fullPath,()=>{var U;const e=t;g(e.path);let c=Me(e,s.value),V=(U=ft(s.value,c)[0])==null?void 0:U.children;const A=Z(c);A.item&&(W(A.item[0].k),J.emit("oneCatName",A.item[0].title)),J.emit("setSendColumnsChildren",V||[]),r.setChildMenuList(V||[])}),(e,c)=>{const V=z("el-scrollbar");return n(),u("div",mn,[R(V,{ref_key:"elMenuHorizontalScrollRef",ref:M,onWheel:ce(C,["prevent"])},{default:O(()=>[_("ul",null,[(n(!0),u(F,null,se(s.value,(A,U)=>(n(),u("li",{key:U,onClick:le=>I(A),ref_for:!0,ref_key:"columnsAsideOffsetLeftRefs",ref:b,class:q(["layout-columns",{"layout-columns-active":A.k===p.value}]),title:e.$t(A.title)},[!A.isLink||A.isLink&&A.isIframe?(n(),u("div",{key:0,class:q(l.value)},[R(ne,{icon:A.icon},null,8,["icon"]),_("div",pn,D(e.$t(A.title)&&e.$t(A.title).length>=4?e.$t(A.title).substr(0,l.value==="columns-vertical"?4:3):e.$t(A.title)),1)],2)):(n(),u("div",{key:1,class:q(l.value)},[_("a",{href:A.isLink,target:"_blank"},[R(ne,{icon:A.icon},null,8,["icon"]),_("div",_n,D(e.$t(A.title)&&e.$t(A.title).length>=4?e.$t(A.title).substr(0,l.value==="columns-vertical"?4:3):e.$t(A.title)),1)],8,gn)],2))],10,hn))),128)),_("div",{ref_key:"columnsAsideActiveRef",ref:k,class:q(d.value)},null,2)])]),_:1},512)])}}}),bn=P(vn,[["__scopeId","data-v-8cfd8fe3"]]),An={class:"layout-navbars-breadcrumb-index"},Cn=Object.assign({name:"layoutNavBars"},{__name:"index",setup(E){const t=he(),a=ee(),r=v([]),h=N(()=>{let{isShowLogo:b,layout:k}=a.themeConfig;return b&&k==="classic"||b&&k==="transverse"}),i=N(()=>{let{layout:b,isClassicSplitMenu:k}=a.themeConfig;return b==="transverse"||k&&b==="classic"}),s=N(()=>{let{layout:b}=a.themeConfig;return b==="classic"});X(()=>{S(),J.on("routesListChange",p)}),Te(()=>{J.off("routesListChange",p)});function p(){S()}function S(){r.value=M(t.routesList)}function M(b){return b.filter(k=>k.path).map(k=>(k=Object.assign({},k),k.children&&(k.children=M(k.children)),k))}return fe(()=>t.routesList,b=>{if(b.length===r.value.length)return!1;S()}),(b,k)=>(n(),u("div",An,[h.value?(n(),H(At,{key:0})):B("",!0),R(Lt),i.value?(n(),H(dn,{key:1,menuList:r.value},null,8,["menuList"])):B("",!0),s.value?(n(),H(bn,{key:2})):B("",!0),R(rn)]))}}),wn=P(Cn,[["__scopeId","data-v-011870b6"]]),yn=["onClick"],kn=Object.assign({name:"layoutTagsViewContextmenu"},{__name:"contextmenu",props:{dropdown:{type:Object}},emits:["currentContextmenuClick"],setup(E,{expose:t,emit:a}){const r=E,h=a,i=v(!1),s=v([{id:0,txt:"message.tagsView.refresh",affix:!1,icon:"el-icon-refresh-right"},{id:1,txt:"message.tagsView.close",affix:!1,icon:"el-icon-close"},{id:2,txt:"message.tagsView.closeOther",affix:!1,icon:"el-icon-circle-close"},{id:3,txt:"message.tagsView.closeAll",affix:!1,icon:"el-icon-folder-delete"}]),p=v({}),S=v(5),M=N(()=>r.dropdown.x+99>document.documentElement.clientWidth?{x:document.documentElement.clientWidth-99-5,y:r.dropdown.y}:r.dropdown);X(()=>{document.body.addEventListener("click",d)}),Ve(()=>{document.body.removeEventListener("click",d)});function b(l){h("currentContextmenuClick",{id:l,path:p.value})}function k(l){p.value=l.path,l.meta.isAffix?s.value[1].affix=!0:s.value[1].affix=!1,d(),setTimeout(()=>{i.value=!0},80)}function d(){i.value=!1}return fe(()=>r.dropdown,({x:l})=>{l+99>document.documentElement.clientWidth?S.value=99-(document.documentElement.clientWidth-l):S.value=10},{deep:!0}),t({openContextmenu:k,closeContextmenu:d}),(l,x)=>{const C=de("db-click");return n(),u("div",null,[R(Ye,{name:"el-zoom-in-center"},{default:O(()=>[G(_("ul",{class:"el-dropdown-menu el-popper el-dropdown-menu--medium custom-contextmenu",style:ye(`top: ${M.value.y}px;left: ${M.value.x}px;`),"x-placement":"bottom-end",id:"contextmenu"},[(n(!0),u(F,null,se(s.value,(m,w)=>G((n(),u("li",{class:"el-dropdown-menu__item",key:w,onClick:I=>b(m.id)},[m.affix?B("",!0):(n(),u(F,{key:0},[_("i",{class:q(m.icon)},null,2),_("span",null,D(l.$t(m.txt)),1)],64))],8,yn)),[[C]])),128)),_("div",{"x-arrow":"",class:"popper__arrow",style:ye({left:`${S.value}px`})},null,4)],4),[[Pe,i.value]])]),_:1})])}}}),Ln=P(kn,[["__scopeId","data-v-331abecd"]]),Sn=["data-name","onContextmenu","onClick"],xn=["onClick"],Rn=Object.assign({name:"tagsView"},{__name:"tagsView",setup(E){const t=ve(),a=me(),r=Ne(),h=ke();he();const i=ee(),s=v(null),p=v(null),S=v(null),M=v(null),b=v(null),k=v({x:"",y:""}),d=v(0),l=v(t.path),x=v([{id:0,txt:"message.tagsView.refresh",affix:!1,icon:"el-icon-refresh-right"},{id:1,txt:"message.tagsView.close",affix:!1,icon:"el-icon-close"},{id:2,txt:"message.tagsView.closeOther",affix:!1,icon:"el-icon-circle-close"},{id:3,txt:"message.tagsView.closeAll",affix:!1,icon:"el-icon-folder-delete"}]),C=v(!1),m=N(()=>i.themeConfig),w=N(()=>i.themeConfig.tagsStyle),I=N(()=>r.tagNavList),W=N(()=>r.tagNavList);J.on("onCurrentContextmenuClick",y),X(()=>{var o;r.tagNavList.length||le(),((o=s.value)==null?void 0:o.offsetWidth){J.off("onCurrentContextmenuClick",y),window.removeEventListener("resize",Z)});function y(o){Le(o)}function Z(){var o;((o=s.value)==null?void 0:o.offsetWidth)0&&(d.value=I.value.findIndex(f=>f.path===o))}function c(o){p.value.wrapRef.scrollLeft+=o.wheelDelta/4}function V(o){let f=p.value.wrapRef.scrollWidth,L=p.value.wrapRef.scrollLeft;o==="left"?p.value.wrapRef.scrollLeft=L-300<=0?0:L-300:p.value.wrapRef.scrollLeft=L+300>=f?f:L+300}function A(){ue(()=>{const o=M.value;if(!o)return;if(o.length<=0)return!1;let f=o[d.value],L=d.value,$=o.length,te=o[0],oe=o[o.length-1],Q=p.value.wrapRef,j=Q.scrollWidth,ie=Q.offsetWidth,ae=Q.scrollLeft,Se=o[d.value-1],be=o[d.value+1],Ae="",Ce="";f===te?Q.scrollLeft=0:f===oe?Q.scrollLeft=j-ie:(L===0?Ae=(te==null?void 0:te.offsetLeft)-5:Ae=(Se==null?void 0:Se.offsetLeft)-5,L===$?Ce=(oe==null?void 0:oe.offsetLeft)+oe.offsetWidth+5:Ce=(be==null?void 0:be.offsetLeft)+be.offsetWidth+5,Ce>ae+ie?Q.scrollLeft=Ce-ie:Ae{f.meta&&f.meta.isAffix&&o.push({...f})}),r.setTagNavList(o),e(t.path),A()}function Ee(o,f){if(I.value.some($=>$.path===o))return!1;const L=W.value.find($=>$.path===o);if(L.isLink&&!L.isIframe)return!1;L.query=f!=null&&f.query?f==null?void 0:f.query:t.query,I.value.push({...L}),Y(I.value)}function Ue(o,f){let{clientX:L,clientY:$}=f;k.value.x=L,k.value.y=$,b.value.openContextmenu(o)}function Le(o){let{id:f,path:L}=o,$=I.value.find(te=>te.path===L);switch(f){case 0:De(L),a.push({path:L,query:$.query});break;case 1:Ie(L);break;case 2:We(L,$.query);break;case 3:je(L);break}}function Be(){ue(o=>{var f;((f=s.value)==null?void 0:f.offsetWidth){f.meta.isAffix||f.path===o&&(I.value.splice(L,1),setTimeout(()=>{I.value.length===L?a.push({path:$[$.length-1].path,query:$[$.length-1].query}):a.push({path:$[L].path,query:$[L].query})},0))}),r.setTagNavList(I.value)}function We(o,f){let L=[];W.value.map($=>{($.meta&&$.meta.isAffix||$.path===o)&&L.push({...$})}),Y(L),a.push({path:o,query:f})}function je(o){let f=[];W.value.map(L=>{L.meta.isAffix&&(f.push({...L}),f.some($=>$.path===o)?a.push({path:o,query:t.query}):a.push({path:L.path,query:t.query}))}),Y(f)}return fe(()=>t.fullPath,()=>{const o=t;l.value=o.path,Ee(o.path,o),e(o.path),A(),Be()}),(o,f)=>{const L=z("el-scrollbar"),$=z("el-dropdown-item"),te=z("el-dropdown-menu"),oe=z("el-dropdown"),Q=de("db-click");return n(),u("div",{ref_key:"tagsViews",ref:s,class:"layout-navbars-tagsview"},[C.value?G((n(),u("i",{key:0,class:"direction el-icon-arrow-left",onClick:f[0]||(f[0]=j=>V("left"))},null,512)),[[Q]]):B("",!0),R(L,{ref_key:"scrollbarRef",ref:p,onWheel:ce(c,["prevent"])},{default:O(()=>[_("ul",{class:q(["layout-navbars-tagsview-ul",w.value]),ref_key:"tagsUlRef",ref:S},[(n(!0),u(F,null,se(I.value,(j,ie)=>G((n(),u("li",{key:ie,class:q(["layout-navbars-tagsview-ul-li",{"is-active":j.path===l.value}]),"data-name":j.name,onContextmenu:ce(ae=>Ue(j,ae),["prevent"]),onClick:ae=>g(j,ie),ref_for:!0,ref_key:"tagsRefs",ref:M},[j.path!==l.value&&m.value.isTagsviewIcon?(n(),u("i",{key:0,class:q(["layout-navbars-tagsview-ul-li-iconfont font14 is-tagsview-icon",j.icon])},null,2)):B("",!0),_("span",null,D(o.$t(j.meta.title)),1),j.isAffix?B("",!0):G((n(),u("i",{key:1,class:"el-icon-close layout-navbars-tagsview-ul-li-icon ml5",onClick:ce(ae=>Ie(j.path),["stop"])},null,8,xn)),[[Q]])],42,Sn)),[[Q]])),128))],2)]),_:1},512),C.value?G((n(),u("i",{key:1,class:"direction el-icon-arrow-right",onClick:f[1]||(f[1]=j=>V("right"))},null,512)),[[Q]]):B("",!0),I.value.length>2?(n(),H(oe,{key:2,onCommand:T},{dropdown:O(()=>[R(te,null,{default:O(()=>[(n(!0),u(F,null,se(x.value,j=>(n(),H($,{command:j.id,key:j.id},{default:O(()=>[_("i",{class:q(j.icon)},null,2),K(" "+D(o.$t(j.txt)),1)]),_:2},1032,["command"]))),128))]),_:1})]),default:O(()=>[f[2]||(f[2]=_("span",{class:"setting-tag el-dropdown-link"},[_("i",{class:"el-icon-menu"})],-1))]),_:1})):B("",!0),R(Ln,{dropdown:k.value,ref_key:"tagsContextmenu",ref:b,onCurrentContextmenuClick:Le},null,8,["dropdown"])],512)}}}),In=P(Rn,[["__scopeId","data-v-2f610022"]]),On={class:"layout-navbars-container"},Mn=Object.assign({name:"layoutNavBars"},{__name:"index",setup(E){const t=ee(),a=N(()=>{let{layout:r,isTagsview:h}=t.themeConfig;return r!=="classic"&&h});return(r,h)=>(n(),u("div",On,[R(wn),a.value?(n(),H(In,{key:0})):B("",!0)]))}}),Tn=P(Mn,[["__scopeId","data-v-3e8fe9a3"]]),En=Object.assign({name:"layoutHeader"},{__name:"header",setup(E){const t=ee(),a=N(()=>{let{isTagsview:r,layout:h}=t.themeConfig;return h=="classic"?"66px":r&&h!=="classic"?"84px":"50px"});return(r,h)=>{const i=z("el-header");return n(),H(i,{class:"layout-header",height:a.value},{default:O(()=>[R(Tn)]),_:1},8,["height"])}}});export{At as L,ne as M,In as T,En as _,gt as a}; diff --git a/backend/public/admin/system_static/icon-C8INUNkX.js b/backend/public/admin/system_static/icon-C8INUNkX.js new file mode 100644 index 000000000..58ebfffa4 --- /dev/null +++ b/backend/public/admin/system_static/icon-C8INUNkX.js @@ -0,0 +1 @@ +import{aa as s}from"./element-plus-C_ZDq0cz.js";const t=Object.keys(s).sort((o,e)=>o.localeCompare(e));export{t as i}; diff --git a/backend/public/admin/system_static/iconfont.1789035007778-DQWiQZ_I.ttf b/backend/public/admin/system_static/iconfont.1789035007778-DQWiQZ_I.ttf new file mode 100644 index 000000000..9db09c112 Binary files /dev/null and b/backend/public/admin/system_static/iconfont.1789035007778-DQWiQZ_I.ttf differ diff --git a/backend/public/admin/system_static/iconfont.1789035007778-G0HNy9M3.woff b/backend/public/admin/system_static/iconfont.1789035007778-G0HNy9M3.woff new file mode 100644 index 000000000..bb89b4a3f Binary files /dev/null and b/backend/public/admin/system_static/iconfont.1789035007778-G0HNy9M3.woff differ diff --git a/backend/public/admin/system_static/iconfont.1789279228951-CP3KGbRQ.woff b/backend/public/admin/system_static/iconfont.1789279228951-CP3KGbRQ.woff new file mode 100644 index 000000000..398fe5f90 Binary files /dev/null and b/backend/public/admin/system_static/iconfont.1789279228951-CP3KGbRQ.woff differ diff --git a/backend/public/admin/system_static/iconfont.1789279228951-CUciZ-UB.ttf b/backend/public/admin/system_static/iconfont.1789279228951-CUciZ-UB.ttf new file mode 100644 index 000000000..d74068710 Binary files /dev/null and b/backend/public/admin/system_static/iconfont.1789279228951-CUciZ-UB.ttf differ diff --git a/backend/public/admin/system_static/icons-BrtpLkNO.png b/backend/public/admin/system_static/icons-BrtpLkNO.png new file mode 100644 index 000000000..c015e3aac Binary files /dev/null and b/backend/public/admin/system_static/icons-BrtpLkNO.png differ diff --git a/backend/public/admin/system_static/index-0A1I8l_G.css b/backend/public/admin/system_static/index-0A1I8l_G.css new file mode 100644 index 000000000..6fe2da626 --- /dev/null +++ b/backend/public/admin/system_static/index-0A1I8l_G.css @@ -0,0 +1 @@ +@charset "UTF-8";.c_row-item[data-v-712b67c0]{margin-bottom:20px}.c_row-item[data-v-712b67c0] .ivu-select-dropdown{left:-27px!important}.color-box[data-v-712b67c0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.color-box .color-item[data-v-712b67c0]{margin-left:15px}.color-box .color-item span[data-v-712b67c0]{margin-left:5px;color:#999;font-size:13px;cursor:pointer}.footer[data-v-79f14505]{margin:15px 0}.tabBox_img[data-v-79f14505]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-79f14505]{width:100%;height:100%}.tabform[data-v-79f14505] .ivu-form-item{margin-bottom:16px!important}.btn[data-v-79f14505]{margin-top:20px;float:right}.goodList[data-v-79f14505] table{width:100%!important}.middleTop[data-v-951a1583] .ivu-modal-wrap .ivu-modal{top:50%!important;margin-top:-350px}.goods-box[data-v-951a1583]{padding:16px 0;margin-bottom:16px;border-top:1px solid rgba(0,0,0,.05);border-bottom:1px solid rgba(0,0,0,.05)}.goods-box .wrapper[data-v-951a1583],.goods-box .list-group[data-v-951a1583]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.goods-box .add-item[data-v-951a1583]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:80px;height:80px;margin-bottom:10px;background:#f7f7f7}.goods-box .add-item .iconfont[data-v-951a1583]{font-size:18px;color:#d8d8d8}.goods-box .item[data-v-951a1583]{position:relative;width:80px;height:80px;margin-bottom:20px;margin-right:12px}.goods-box .item[data-v-951a1583]:nth-child(4n){margin-right:0}.goods-box .item img[data-v-951a1583]{width:100%;height:100%}.goods-box .item .icondel_1[data-v-951a1583]{position:absolute;right:-10px;top:-16px;color:#ccc;font-size:28px;cursor:pointer}.line-box[data-v-d8eceecb]{margin-top:20px;padding:10px 0 20px;border-top:1px solid rgba(0,0,0,.05);border-bottom:1px solid rgba(0,0,0,.05)}.line-box .title p[data-v-d8eceecb]{font-size:14px;color:#000}.line-box .title span[data-v-d8eceecb]{color:#999}.line-box .input-box[data-v-d8eceecb]{position:relative;margin-top:10px}.line-box .input-box .add-btn[data-v-d8eceecb]{margin-top:18px}.line-box .input-box .input-item[data-v-d8eceecb]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:15px}.line-box .input-box .input-item .icon[data-v-d8eceecb]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:36px;cursor:move;color:#d8d8d8}.line-box .input-box .input-item[data-v-d8eceecb] .ivu-input{-webkit-box-flex:1;-ms-flex:1;flex:1;height:36px}.line-box .input-box .close[data-v-d8eceecb]{position:absolute;right:10px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);cursor:pointer}.numbox[data-v-239d1958]{margin:20px 0 10px}.numbox span[data-v-239d1958]{width:80px;color:#999}.c_row-item[data-v-239d1958]{width:100%}.c_row-item~.c_row-item[data-v-239d1958]{margin-top:20px}.dif[data-v-239d1958]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.slider-box[data-v-239d1958]{margin-left:10px;width:350px}.numbox[data-v-dc9d5836]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:20px 0 10px}.numbox span[data-v-dc9d5836]{width:80px;color:#999}.c_row-item[data-v-dc9d5836]{width:100%}.c_row-item[data-v-bcfb46de]{margin-bottom:20px}.slider-box[data-v-476b6151]{margin-top:10px}.radio-box[data-v-4c5167c5] .ivu-radio-group-button{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.radio-box[data-v-4c5167c5] .ivu-radio-group-button .ivu-radio-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.radio-box.on[data-v-4c5167c5] .ivu-radio-group-button .ivu-radio-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1}.title-tips[data-v-4c5167c5]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-4c5167c5]{margin-right:14px;color:#999}.iconfont[data-v-4c5167c5]{font-size:20px;line-height:18px}.tabBars .box-item[data-v-e82b7165]:last-child{margin-bottom:20px}.tabBars .title[data-v-e82b7165]{margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid rgba(0,0,0,.05);font-size:12px;color:#999}.tabBars .box-item[data-v-e82b7165]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:15px;padding:20px 30px 20px 0;border:1px solid #dddddd;border-radius:3px}.tabBars .box-item .del-box[data-v-e82b7165]{position:absolute;right:-13px;top:-18px;cursor:pointer}.tabBars .box-item .del-box .iconfont[data-v-e82b7165]{color:#999;font-size:30px}.tabBars .box-item .left-tool[data-v-e82b7165]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:72px}.tabBars .box-item .left-tool .iconfont[data-v-e82b7165]{color:#999;font-size:36px;cursor:move}.tabBars .box-item .right-wrapper[data-v-e82b7165]{-webkit-box-flex:1;-ms-flex:1;flex:1}.tabBars .box-item .right-wrapper .img-wrapper[data-v-e82b7165]{display:-webkit-box;display:-ms-flexbox;display:flex}.tabBars .box-item .right-wrapper .img-wrapper .img-item[data-v-e82b7165]{position:relative;width:80px;height:80px;margin-right:20px;cursor:pointer}.tabBars .box-item .right-wrapper .img-wrapper .img-item img[data-v-e82b7165]{display:block;width:100%;height:100%}.tabBars .box-item .right-wrapper .img-wrapper .img-item .empty-img[data-v-e82b7165]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;background:#f7f7f7;font-size:12px;color:#bfbfbf}.tabBars .box-item .right-wrapper .img-wrapper .img-item .empty-img .iconfont[data-v-e82b7165]{font-size:16px}.tabBars .box-item .right-wrapper .img-wrapper .img-item .txt[data-v-e82b7165]{position:absolute;left:0;bottom:0;width:100%;height:22px;line-height:22px;text-align:center;background:#0006;color:#fff;font-size:12px}.tabBars .box-item .right-wrapper .c_row-item[data-v-e82b7165]{margin-top:10px}.tabBars .add-btn[data-v-e82b7165]{margin-bottom:20px;width:100%;height:40px}.icondrag2[data-v-b5aedf17]{font-size:26px;color:#d8d8d8}.c_product[data-v-b5aedf17]{margin-bottom:20px}.c_product .list-box .item[data-v-b5aedf17]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:23px;padding:18px 20px 18px 0;border:1px solid rgb(238,238,238)}.c_product .list-box .item .delete[data-v-b5aedf17]{position:absolute;right:-13px;top:-14px;color:#999;cursor:pointer}.c_product .list-box .move-icon[data-v-b5aedf17]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:50px;cursor:move}.c_product .list-box .content[data-v-b5aedf17]{-webkit-box-flex:1;-ms-flex:1;flex:1}.c_product .list-box .content .con-item[data-v-b5aedf17]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:15px;width:300px}.c_product .list-box .content .con-item[data-v-b5aedf17]:last-child{margin-bottom:0}.c_product .list-box .content .con-item span[data-v-b5aedf17]{width:45px;font-size:13px}.c_product .add-btn[data-v-b5aedf17]{margin-top:18px}.title[data-v-b5aedf17]{font-size:12px;color:#999}.iconfont[data-v-b5aedf17]{color:#ddd;font-size:28px}.dif[data-v-b5aedf17]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.slider-box[data-v-b5aedf17]{margin-left:10px;width:250px}.txt_tab[data-v-33bc73f2]{margin-top:20px}.c_row-item[data-v-33bc73f2]{margin-bottom:20px}.row-item[data-v-33bc73f2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.iconfont[data-v-33bc73f2]{font-size:18px}.title[data-v-eaedf25a]{margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid rgba(0,0,0,.05);font-size:12px;color:#999}.box[data-v-eaedf25a]{width:60px;height:60px;margin-bottom:10px;background-color:#f2f2f2}.box img[data-v-eaedf25a]{width:100%;height:100%}.upload-box[data-v-eaedf25a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:60px;height:60px;background:#ccc}.icondrag2[data-v-88d92efb]{font-size:26px;color:#d8d8d8}.hot_imgs[data-v-88d92efb]{margin-bottom:20px}.hot_imgs .title[data-v-88d92efb]{padding:0 0 13px;color:#999;font-size:12px;border-bottom:1px solid rgba(0,0,0,.05)}.hot_imgs .list-box .item[data-v-88d92efb]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:14px}.hot_imgs .list-box .item .move-icon[data-v-88d92efb]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:30px;height:80px;cursor:move;color:#d8d8d8}.hot_imgs .list-box .item .img-box[data-v-88d92efb]{position:relative;width:80px;height:80px}.hot_imgs .list-box .item .img-box img[data-v-88d92efb]{width:100%;height:100%}.hot_imgs .list-box .item .info[data-v-88d92efb]{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:22px}.hot_imgs .list-box .item .info .info-item[data-v-88d92efb]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:10px;width:300px}.hot_imgs .list-box .item .info .info-item span[data-v-88d92efb]{width:40px;font-size:13px}.hot_imgs .list-box .item .info .info-item .input-box[data-v-88d92efb]{-webkit-box-flex:1;-ms-flex:1;flex:1}.hot_imgs .list-box .item .delect-btn[data-v-88d92efb]{position:absolute;right:-12px;top:-12px;color:#999}.hot_imgs .list-box .item .delect-btn .iconfont[data-v-88d92efb]{font-size:28px;color:#999}.hot_imgs .add-btn[data-v-88d92efb]{margin-top:10px}.upload-box[data-v-88d92efb]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;background:#ccc}.iconfont[data-v-88d92efb]{color:#ddd;font-size:28px}.title[data-v-f3292d96]{margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid rgba(0,0,0,.05);font-size:12px;color:#999}.box[data-v-f3292d96]{width:60px;height:60px;margin-bottom:10px;background-color:#f2f2f2}.box img[data-v-f3292d96]{width:100%;height:100%}.upload-box[data-v-f3292d96]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:60px;height:60px;background:#ccc}.right-box[data-v-46f59b67]{width:700px;margin-left:50px;border:1px solid #ddd;border-radius:4px;height:700px;overflow-y:scroll}.right-box[data-v-46f59b67]::-webkit-scrollbar{width:4px;height:1px}.right-box[data-v-46f59b67]::-webkit-scrollbar-thumb{border-radius:4px;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2);box-shadow:inset 0 0 5px #0003;background:#535353}.right-box[data-v-46f59b67]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 5px #fff;box-shadow:inset 0 0 5px #fff;border-radius:4px;background:#fff}.title-bar[data-v-46f59b67]{width:100%;height:38px;line-height:38px;padding-left:24px;color:#333;border-radius:4px;border-bottom:1px solid #eee}.flex-wrapper[data-v-d8713622]{display:-webkit-box;display:-ms-flexbox;display:flex}.iframe-box[data-v-d8713622]{min-width:375px;height:700px;border-radius:4px;-webkit-box-shadow:0 0 7px #cccccc;box-shadow:0 0 7px #ccc}.right-box[data-v-d8713622]{width:500px;margin-left:50px;border:1px solid #ddd;border-radius:4px}.right-box .title-bar[data-v-d8713622]{width:100%;height:38px;line-height:38px;padding-left:24px;color:#333;border-radius:4px;border-bottom:1px solid #eee} diff --git a/backend/public/admin/system_static/index-0l_wdoHx.js b/backend/public/admin/system_static/index-0l_wdoHx.js new file mode 100644 index 000000000..835b795bf --- /dev/null +++ b/backend/public/admin/system_static/index-0l_wdoHx.js @@ -0,0 +1 @@ +import{a as K,k as m,u as B,y as o,z as s,j as i,C as a,aj as L,s as y,B as f,$ as S,ac as P,A as _,a0 as c,H as U,l as w,Z as H,n as O,r as z}from"./element-plus-C_ZDq0cz.js";import{_ as Z,b as G}from"./index-DHL7RTL2.js";import{r as J}from"./marketing-BAfn8OEa.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const Q={class:"coupon-select"},W={key:0},X={key:1},Y={key:2},ee={key:3},te={key:0},ne={key:1},oe={class:"ml10"},ae={key:0},le={key:1},ie={class:"acea-row row-right page"},re={class:"footer"},se=Object.assign({name:"CouponSelect"},{__name:"index",setup(ce){const h=G(),v=w(!1),g=w(0),b=w([]),k=w(null),u=z({coupon_title:"",receive_type:"",page:1,limit:15}),d=w([]);function I(t){const e=t.is_permanent||t.remain_count>0,l=Math.floor(Date.now()/1e3),p=!t.start_time&&!t.end_time||!t.start_time&&t.end_time>l||t.start_timel;return e&&p}function R(t){return t.id}function C(){v.value=!0,J(u).then(t=>{b.value=t.data.list,g.value=t.data.count,O(()=>$()),v.value=!1}).catch(()=>{v.value=!1})}function $(){if(!d.value.length||!k.value)return;const t=d.value.map(e=>Number(e.id??e));b.value.forEach(e=>{k.value.toggleRowSelection(e,t.includes(e.id))})}function j(t){d.value=t.map(e=>({id:e.id,title:e.title,coupon_price:e.coupon_price,use_min_price:e.use_min_price}))}function V(){u.page=1,C()}function q(){window.form_create_helper&&window.form_create_helper.close(h.query.fodder)}function N(){if(!window.form_create_helper){H.error("请在表单弹窗中使用本页面");return}window.form_create_helper.set(h.query.fodder,d.value),window.form_create_helper.close(h.query.fodder)}function A(t=5e3){return new Promise(e=>{const l=Date.now(),p=setInterval(()=>{window.form_create_helper?(clearInterval(p),e(window.form_create_helper)):Date.now()-l>t&&(clearInterval(p),e(null))},50)})}return K(async()=>{const t=await A();if(t){const e=t.get(h.query.fodder);Array.isArray(e)&&(d.value=e.map(l=>typeof l=="object"&&l!==null?l:{id:Number(l)})),t.onOk(N)}C()}),(t,e)=>{const l=m("el-input"),p=m("el-form-item"),x=m("el-button"),M=m("el-form"),r=m("el-table-column"),T=m("el-table"),E=m("pagination"),D=B("db-click"),F=B("loading");return o(),s("div",Q,[i(M,{inline:!0,onSubmit:e[1]||(e[1]=P(()=>{},["prevent"]))},{default:a(()=>[i(p,{label:"优惠券名称:"},{default:a(()=>[i(l,{modelValue:u.coupon_title,"onUpdate:modelValue":e[0]||(e[0]=n=>u.coupon_title=n),placeholder:"请输入优惠券名称",clearable:"",class:"form_content_width",onKeyup:L(V,["enter"])},null,8,["modelValue"])]),_:1}),i(p,null,{default:a(()=>[y((o(),f(x,{type:"primary",onClick:V},{default:a(()=>[...e[4]||(e[4]=[S("查询",-1)])]),_:1})),[[D]])]),_:1})]),_:1}),y((o(),f(T,{ref_key:"couponTable",ref:k,class:"mt15",data:b.value,"row-key":R,"highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果",height:"420",onSelectionChange:j},{default:a(()=>[i(r,{type:"selection",width:"55",selectable:I,"reserve-selection":!0}),i(r,{label:"ID",width:"70",prop:"id"}),i(r,{label:"优惠券名称","min-width":"140"},{default:a(n=>[_("span",null,c(n.row.title),1)]),_:1}),i(r,{label:"优惠券类型","min-width":"90"},{default:a(n=>[n.row.type===1?(o(),s("span",W,"品类券")):n.row.type===2?(o(),s("span",X,"商品券")):n.row.type===3?(o(),s("span",Y,"会员券")):(o(),s("span",ee,"通用券"))]),_:1}),i(r,{label:"面值","min-width":"80"},{default:a(n=>[_("span",null,c(n.row.coupon_price)+"元",1)]),_:1}),i(r,{label:"最低消费","min-width":"90"},{default:a(n=>[_("span",null,c(n.row.use_min_price=="0.00"?"无门槛":`满${n.row.use_min_price}元`),1)]),_:1}),i(r,{label:"发布数量","min-width":"130"},{default:a(n=>[n.row.is_permanent?(o(),s("span",te,"不限量")):(o(),s("div",ne,[_("span",null,"发布:"+c(n.row.total_count),1),_("span",oe,"剩余:"+c(n.row.remain_count),1)]))]),_:1}),i(r,{label:"领取期限","min-width":"150"},{default:a(n=>[n.row.start_time||n.row.end_time?(o(),s("div",ae,c(t.$filters.formatDate(n.row.start_time))+" ~ "+c(t.$filters.formatDate(n.row.end_time)),1)):(o(),s("span",le,"不限时"))]),_:1}),i(r,{label:"使用有效期","min-width":"150"},{default:a(n=>[_("span",null,c(n.row.use_time),1)]),_:1})]),_:1},8,["data"])),[[F,v.value]]),_("div",ie,[g.value?(o(),f(E,{key:0,total:g.value,page:u.page,"onUpdate:page":e[2]||(e[2]=n=>u.page=n),limit:u.limit,"onUpdate:limit":e[3]||(e[3]=n=>u.limit=n),onPagination:C},null,8,["total","page","limit"])):U("",!0)]),_("div",re,[y((o(),f(x,{onClick:q},{default:a(()=>[...e[5]||(e[5]=[S("取 消",-1)])]),_:1})),[[D]]),y((o(),f(x,{type:"primary",onClick:N},{default:a(()=>[S("确认选择"+c(d.value.length?`(${d.value.length})`:""),1)]),_:1})),[[D]])])])}}}),we=Z(se,[["__scopeId","data-v-02474edd"]]);export{we as default}; diff --git a/backend/public/admin/system_static/index-1GFSfALR.js b/backend/public/admin/system_static/index-1GFSfALR.js new file mode 100644 index 000000000..281256d12 --- /dev/null +++ b/backend/public/admin/system_static/index-1GFSfALR.js @@ -0,0 +1 @@ +import{k as s,u as T,y as t,z as n,j as f,C as d,A as g,B as u,ac as ke,F as b,D as x,H as F,s as c,$ as I,am as we,an as Ve,a0 as C,a1 as xe,l as v,p as H,r as Ce,Z as B}from"./element-plus-C_ZDq0cz.js";import{w as Y,_ as Be,b as Ue,a as De,ac as Me,o as Q,m as ze}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function Fe(p){return Y({url:`system/crud/config/${p}`,method:"get"})}function Ie(p,U){return Y({url:p,method:"get",params:U})}function X(p){return Y({url:p,method:"get"})}function Ye(p,U){return Y({url:p,method:"put",data:U})}function $e(p){return Y({url:p,method:"get"})}const Ae={class:"padding-add"},Se={key:0},Ee={key:1,class:"tabBox_img"},Re={key:2,class:"frame-images"},Le={key:3},Te=["onClick"],Ne=["onClick"],Oe=["onClick"],Pe={class:"acea-row row-right page"},je={key:0},He={class:"tabBox_img"},We={key:1},Ke={class:"frame-images"},Ze={key:2},qe={key:3},Ge=Object.assign({name:"crud_index"},{__name:"index",setup(p){const U=Ue(),ee=De(),le={xl:7,lg:7,md:12,sm:24,xs:24},$=v(!1),W=v([]),N=v({name:"",all:[]}),r=Ce({page:1,limit:15}),K=v([]),O=v(0),y=v({}),P=v(""),A=v(!1),k=v({}),S=v([]),Z=H(()=>ee.isMobile),te=H(()=>Z.value?void 0:"80px"),ae=H(()=>Z.value?"top":"right");Me((i,l,o)=>{r.page=1,q(i.params.table_name),o()});function oe(i){let l=y.value.read.replace("",i.id);X(l).then(o=>{A.value=!0,k.value=o.data}).catch(o=>{B.error(o.msg)})}function ne(i,l){let o=y.value.status.replace("",i.id);Ye(o,{field:l,value:i[l]}).then(async m=>{B.success(m.msg)}).catch(m=>{B.error(m.msg)})}function j(){r.page=1,w()}function q(i){Fe(i).then(l=>{y.value=l.data.route,P.value=l.data.key,N.value=l.data.readFields,l.data.search.map(o=>{r[o.field]=""}),S.value=l.data.search,l.data.columns.push({title:"操作",slot:"action",fixed:"right",width:100,align:"center"}),l.data.columns.map(o=>{o.from_type==="frameImageOne"?o.render=(m,V)=>m("div",{class:"tabBox_img",directives:[{name:"viewer"}]},[m("img",{directives:[{name:"lazy",value:V.row[o.slot]}]})]):o.from_type==="frameImages"&&(o.render=(m,V)=>{let h=V.row[o.slot]||[],D=[];return h.map(E=>{D.push(m("img",{directives:[{name:"lazy",value:E}]}))}),m("div",{class:"tabBox_img",directives:[{name:"viewer"}]},D)})}),W.value=l.data.columns,w()})}function se(){let i=y.value.create;Q(X(i)).then(()=>w())}function w(){$.value=!0;let i=y.value.index;Ie(i,r).then(async l=>{let o=l.data;K.value=o.list,O.value=o.count,$.value=!1}).catch(l=>{$.value=!1,B.error(l.msg)})}function ie(i){let l=y.value.edit.replace("",i[P.value]);Q($e(l)).then(()=>w())}function re(i,l,o){let m=y.value.delete.replace("",i[P.value]);ze({title:l,url:m,method:"DELETE",ids:""}).then(h=>{B.success(h.msg),w()}).catch(h=>{B.error(h.msg)})}return q(U.params.table_name),(i,l)=>{const o=s("el-input"),m=s("date-range-picker"),V=s("el-option"),h=s("el-select"),D=s("el-form-item"),E=s("el-button"),de=s("el-form"),G=s("el-card"),ue=s("el-col"),ce=s("el-row"),J=s("el-divider"),me=s("el-switch"),_e=s("el-table-column"),pe=s("el-table"),ve=s("pagination"),fe=s("el-descriptions-item"),ge=s("el-descriptions"),ye=s("el-dialog"),M=T("db-click"),R=T("lazy"),L=T("viewer"),he=T("loading");return t(),n("div",null,[f(G,{shadow:"never","body-style":{padding:0}},{default:d(()=>[g("div",Ae,[S.value.length?(t(),u(de,{key:0,ref:"curlFrom",model:r,"label-width":te.value,"label-position":ae.value,inline:"",onSubmit:l[0]||(l[0]=ke(()=>{},["prevent"]))},{default:d(()=>[(t(!0),n(b,null,x(S.value,(e,z)=>(t(),u(D,{label:e.name+":",key:z},{default:d(()=>[e.type==="input"?(t(),u(o,{key:0,modelValue:r[e.field],"onUpdate:modelValue":a=>r[e.field]=a,placeholder:"请输入"+e.name,class:"form_content_width"},null,8,["modelValue","onUpdate:modelValue","placeholder"])):e.type==="date-picker"?(t(),u(m,{key:1,editable:!1,clearabl:"",onChange:j,modelValue:r[e.field],"onUpdate:modelValue":a=>r[e.field]=a,format:"YYYY/MM/DD","value-format":"YYYY/MM/DD"},null,8,["modelValue","onUpdate:modelValue"])):e.type==="select"?(t(),u(h,{key:2,modelValue:r[e.field],"onUpdate:modelValue":a=>r[e.field]=a,placeholder:"请选择",clearable:"",onChange:j,class:"form_content_width"},{default:d(()=>[(t(!0),n(b,null,x(e.option,(a,_)=>(t(),u(V,{value:a.value,label:a.label,key:_},null,8,["value","label"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):F("",!0)]),_:2},1032,["label"]))),128)),f(D,null,{default:d(()=>[c((t(),u(E,{type:"primary",onClick:j},{default:d(()=>[...l[4]||(l[4]=[I("查询",-1)])]),_:1})),[[M]])]),_:1})]),_:1},8,["model","label-width","label-position"])):F("",!0)])]),_:1}),f(G,{shadow:"never",class:xe(["ivu-mt",S.value.length?"mt16":""])},{default:d(()=>[f(ce,{class:"action-row"},{default:d(()=>[f(ue,we(Ve(le)),{default:d(()=>[c((t(),u(E,{type:"primary",onClick:se},{default:d(()=>[...l[5]||(l[5]=[I("添加",-1)])]),_:1})),[[M]])]),_:1},16)]),_:1}),c((t(),u(pe,{data:K.value,ref:"table",class:"mt14","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:d(()=>[(t(!0),n(b,null,x(W.value,(e,z)=>(t(),u(_e,{label:e.title,"min-width":e.minWidth,key:z},{default:d(a=>[e.key?(t(),n("span",Se,C(a.row[e.key]),1)):e.from_type=="frameImageOne"?c((t(),n("div",Ee,[c(g("img",null,null,512),[[R,a.row[e.slot]]])])),[[L]]):e.from_type=="frameImages"?(t(),n("div",Re,[(t(!0),n(b,null,x(a.row[e.slot],(_,be)=>c((t(),n("div",{class:"tabBox_img",key:be},[c(g("img",null,null,512),[[R,_]])])),[[L]])),128))])):e.from_type=="dateTimeRange"?(t(),n("span",Le,C(a.row[e.slot][0])+"--"+C(a.row[e.slot][1]),1)):e.slot==="action"?(t(),n(b,{key:4},[c((t(),n("a",{onClick:_=>oe(a.row)},[...l[6]||(l[6]=[I("详情",-1)])],8,Te)),[[M]]),f(J,{direction:"vertical"}),c((t(),n("a",{onClick:_=>ie(a.row)},[...l[7]||(l[7]=[I("修改",-1)])],8,Ne)),[[M]]),f(J,{direction:"vertical"}),c((t(),n("a",{onClick:_=>re(a.row,"删除",a.$index)},[...l[8]||(l[8]=[I("删除",-1)])],8,Oe)),[[M]])],64)):e.from_type==="switches"?(t(),u(me,{key:5,"active-value":1,"inactive-value":0,modelValue:a.row[e.slot],"onUpdate:modelValue":_=>a.row[e.slot]=_,value:a.row[e.slot],size:"large",onChange:_=>ne(a.row,e.slot)},null,8,["modelValue","onUpdate:modelValue","value","onChange"])):F("",!0)]),_:2},1032,["label","min-width"]))),128))]),_:1},8,["data"])),[[he,$.value]]),g("div",Pe,[O.value?(t(),u(ve,{key:0,total:O.value,page:r.page,"onUpdate:page":l[1]||(l[1]=e=>r.page=e),limit:r.limit,"onUpdate:limit":l[2]||(l[2]=e=>r.limit=e),onPagination:w},null,8,["total","page","limit"])):F("",!0)])]),_:1},8,["class"]),A.value?(t(),u(ye,{key:0,title:"查看详情",modelValue:A.value,"onUpdate:modelValue":l[3]||(l[3]=e=>A.value=e)},{default:d(()=>[f(ge,{title:N.value.name},{default:d(()=>[(t(!0),n(b,null,x(N.value.all,(e,z)=>(t(),u(fe,{label:e.comment,key:z},{default:d(()=>[e.from_type=="frameImageOne"?(t(),n("div",je,[c((t(),n("div",He,[c(g("img",null,null,512),[[R,k.value[e.field]]])])),[[L]])])):e.from_type=="frameImages"?(t(),n("div",We,[g("div",Ke,[(t(!0),n(b,null,x(k.value[e.field],(a,_)=>c((t(),n("div",{class:"tabBox_img",key:_},[c(g("img",null,null,512),[[R,a]])])),[[L]])),128))])])):e.from_type=="dateTimeRange"?(t(),n("div",Ze,[g("span",null,C(k.value[e.field][0])+"--"+C(k.value[e.field][1]),1)])):(t(),n("div",qe,C(k.value[e.field]),1))]),_:2},1032,["label"]))),128))]),_:1},8,["title"])]),_:1},8,["modelValue"])):F("",!0)])}}}),tl=Be(Ge,[["__scopeId","data-v-9ad60664"]]);export{tl as default}; diff --git a/backend/public/admin/system_static/index-2ZEzXnqh.css b/backend/public/admin/system_static/index-2ZEzXnqh.css new file mode 100644 index 000000000..f8d94f046 --- /dev/null +++ b/backend/public/admin/system_static/index-2ZEzXnqh.css @@ -0,0 +1 @@ +.template_sp_box[data-v-b5fb431f]{padding:5px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.template_sp[data-v-b5fb431f]{display:block;padding:2px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.flex-wrapper[data-v-b5fb431f]{display:-webkit-box;display:-ms-flexbox;display:flex;border-radius:10px}.iframe-box[data-v-b5fb431f]{width:312px;height:550px;border-radius:10px}.ivu-mt[data-v-b5fb431f]{height:600px}.content[data-v-b5fb431f]{padding:0 20px}.content>.title[data-v-b5fb431f]{padding-bottom:26px}.content-box[data-v-b5fb431f]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:20px 20px 0;color:#333}.content-box.last[data-v-b5fb431f]{margin-top:0;color:#999}.line[data-v-b5fb431f]{width:3px;height:16px;background-color:var(--prev-color-primary);margin-right:11px}.content-box .title[data-v-b5fb431f]{font-size:16px;font-weight:700}.content-box>span[data-v-b5fb431f]{color:#f5222d;font-size:20px}.content-box .left[data-v-b5fb431f]{width:100px;text-align:right}.content-box .right[data-v-b5fb431f]{width:400px}.rad[data-v-b5fb431f]{margin-left:20px}.mask[data-v-b5fb431f]{position:absolute;left:0;top:0;width:312px;height:550px;background-color:#0000} diff --git a/backend/public/admin/system_static/index-6DEBuo1d.css b/backend/public/admin/system_static/index-6DEBuo1d.css new file mode 100644 index 000000000..59fe949c8 --- /dev/null +++ b/backend/public/admin/system_static/index-6DEBuo1d.css @@ -0,0 +1 @@ +.video-style[data-v-ba38b170]{width:40%;height:180px;border-radius:10px;background-color:#707070;margin-top:10px;position:relative;overflow:hidden}.video-style .iconv[data-v-ba38b170]{color:#fff;line-height:180px;width:50px;height:50px;display:inherit;font-size:26px;position:absolute;top:-74px;left:50%;margin-left:-25px}.video-style .mark[data-v-ba38b170]{position:absolute;width:100%;height:30px;top:0;background-color:#00000080;text-align:center} diff --git a/backend/public/admin/system_static/index-7WEFTgt-.js b/backend/public/admin/system_static/index-7WEFTgt-.js new file mode 100644 index 000000000..b1dc8e314 --- /dev/null +++ b/backend/public/admin/system_static/index-7WEFTgt-.js @@ -0,0 +1 @@ +import{Z as v,y as u,z as w,A as t,a0 as l,j as s,C as a,l as m,k as r,u as b,s as g,B as y}from"./element-plus-C_ZDq0cz.js";import{fileListApi as B}from"./api-sRNjWbbq.js";import"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const k={class:"i-layout-page-header header-title"},x={class:"ivu-page-header-title"},V=Object.assign({name:"systemFile"},{__name:"index",setup(C){const o=m(!1),c=m([]);_();function _(){o.value=!0,B().then(async i=>{let d=i.data;c.value=d.list,o.value=!1}).catch(i=>{o.value=!1,v.error(i.msg)})}return(i,d)=>{const n=r("el-table-column"),p=r("el-table"),h=r("el-card"),f=b("loading");return u(),w("div",null,[t("div",k,[t("span",x,l(i.$route.meta.title),1)]),s(h,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:a(()=>[g((u(),y(p,{data:c.value,"empty-text":"暂无数据","highlight-current-row":""},{default:a(()=>[s(n,{label:"类型",width:"100"},{default:a(e=>[t("span",null,l(e.row.type),1)]),_:1}),s(n,{label:"文件地址","min-width":"130"},{default:a(e=>[t("span",null,l(e.row.filename),1)]),_:1}),s(n,{label:"校验码","min-width":"130"},{default:a(e=>[t("span",null,l(e.row.cthash),1)]),_:1}),s(n,{label:"上次访问时间","min-width":"130"},{default:a(e=>[t("span",null,l(e.row.atime),1)]),_:1}),s(n,{label:"上次修改时间","min-width":"130"},{default:a(e=>[t("span",null,l(e.row.mtime),1)]),_:1}),s(n,{label:"上次改变时间","min-width":"130"},{default:a(e=>[t("span",null,l(e.row.ctime),1)]),_:1})]),_:1},8,["data"])),[[f,o.value]])]),_:1})])}}});export{V as default}; diff --git a/backend/public/admin/system_static/index-8mHMmBy7.css b/backend/public/admin/system_static/index-8mHMmBy7.css new file mode 100644 index 000000000..a6521aaf4 --- /dev/null +++ b/backend/public/admin/system_static/index-8mHMmBy7.css @@ -0,0 +1 @@ +.btn[data-v-357346ae]{outline:none;display:inline-block;line-height:1;white-space:nowrap;cursor:pointer;-webkit-appearance:none;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;outline:0;-webkit-transition:.1s;transition:.1s;font-weight:500;padding:8px 15px;font-size:12px;border-radius:3px;color:#fff;background-color:#409eff;border-color:#409eff;margin-right:10px}.cropper-content[data-v-357346ae]{display:-webkit-box;display:-ms-flexbox;display:flex;display:-webkit-flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.cropper-content .cropper-box[data-v-357346ae]{-webkit-box-flex:1;-ms-flex:1;flex:1;width:100%}.cropper-content .cropper-box .cropper[data-v-357346ae]{width:auto;height:300px}.cropper-content .show-preview[data-v-357346ae]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.cropper-content .show-preview .preview[data-v-357346ae]{overflow:hidden;height:200px;width:200px;background:#ccc;-webkit-transform:scale(.8);transform:scale(.8);border-radius:50%}.footer-btn[data-v-357346ae]{margin-top:30px;display:-webkit-box;display:-ms-flexbox;display:flex;display:-webkit-flex;-ms-flex-pack:distribute;justify-content:space-around}.footer-btn .scope-btn[data-v-357346ae]{display:-webkit-box;display:-ms-flexbox;display:flex;display:-webkit-flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding-right:10px}.footer-btn .upload-btn[data-v-357346ae]{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;display:-webkit-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.input[data-v-81af7cda]{width:400px}.avatar[data-v-81af7cda]{width:80px;height:80px}.avatar img[data-v-81af7cda]{width:100%;height:100%;border-radius:50%;border:1px solid #f2f2f2} diff --git a/backend/public/admin/system_static/index-9Rmdoc27.js b/backend/public/admin/system_static/index-9Rmdoc27.js new file mode 100644 index 000000000..bf516fb34 --- /dev/null +++ b/backend/public/admin/system_static/index-9Rmdoc27.js @@ -0,0 +1 @@ +import{Z as K,k as m,u as z,s as h,y as d,z as T,j as s,C as o,A as t,ac as Q,B as v,W as L,H as k,$ as E,a0 as p,a2 as q,ab as G,l as i,r as H}from"./element-plus-C_ZDq0cz.js";import{c as X}from"./cards-kFTwJ5CA.js";import{_ as ee}from"./index-K7mJi7Sh.js";import{v as te,w as ae,x as le,y as se}from"./marketing-BAfn8OEa.js";import{f as D}from"./validate-a11VBqc7.js";import{_ as O}from"./index-BNh-i5iE.js";import{_ as oe}from"./index-DHL7RTL2.js";import"./echarts-CylxjQLW.js";import"./echarts-C6m23LPs.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const ne={class:"padding-add"},ie={class:"code-row-bg"},re={class:"acea-row row-between-wrapper"},de={class:"ech-box"},ce={class:"percent-box"},ue={class:"line"},me={class:"num"},ve={class:"acea-row row-between-wrapper"},pe={class:"ech-box"},fe={class:"percent-box"},_e={class:"line"},he={class:"num"},ye=Object.assign({name:"integralStatistics"},{__name:"index",setup(we){const u=i([]),R={height:"400px"},S=i({}),A=i({}),y=i(!0),w=i(!1),g=i(!1),c=H({time:""}),M=H([{col:8,count:0,name:"当前积分",className:"icondangqianjifen"},{col:8,count:0,name:"累计总积分",className:"iconleijijifen"},{col:8,count:0,name:"累计消耗积分",className:"iconxiaohaojifen"}]),F=i({}),b=i(!1),V=i([]),Y=i([]),j=new Date,x=new Date;x.setTime(x.getTime()-29*24*60*60*1e3),u.value=[D(x,"yyyy/MM/dd"),D(j,"yyyy/MM/dd")],c.time=D(x,"yyyy/MM/dd")+"-"+D(j,"yyyy/MM/dd"),U();function U(){N(),P(),W(),Z()}function N(){te(c).then(l=>{let e=["now_point","all_point","pay_point"];M.map((f,_)=>{f.count=l.data[e[_]]})})}function W(){g.value=!0,ae(c).then(l=>{S.value=l.data,V.value=l.data.list,g.value=!1})}function Z(){le(c).then(l=>{A.value=l.data,Y.value=l.data.list})}function J(l){u.value=l,c.time=u.value?u.value.join("-"):"",N(),P()}function P(){b.value=!0,se(c).then(async l=>{let e=l.data.series.map(r=>r.name),f=l.data.xAxis,_=["#5B8FF9","#5AD8A6","#FFAB2B","#5D7092"],B=l.data.series.map((r,n)=>({name:r.name,type:"line",data:r.data,itemStyle:{normal:{color:_[n]}},smooth:0}));F.value={tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},legend:{x:"center",data:e},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},toolbox:{feature:{saveAsImage:{}}},xAxis:{type:"category",boundaryGap:!0,axisLabel:{interval:0,rotate:40,textStyle:{color:"#000000"}},data:f},yAxis:{type:"value",axisLine:{show:!1},axisTick:{show:!1},axisLabel:{textStyle:{color:"#7F8B9C"}},splitLine:{show:!0,lineStyle:{color:"#F5F7F9"}}},series:B},b.value=!1}).catch(l=>{K.error(l.msg),b.value=!1})}return(l,e)=>{const f=m("date-range-picker"),_=m("el-form-item"),B=m("el-form"),r=m("el-card"),n=m("el-table-column"),$=m("el-table"),I=z("db-click"),C=z("loading");return h((d(),T("div",null,[s(r,{bordered:!1,shadow:"never",class:"ivu-mb-16","body-style":{padding:0}},{default:o(()=>[t("div",ne,[s(B,{model:c,"label-width":"80px",onSubmit:e[1]||(e[1]=Q(()=>{},["prevent"])),inline:""},{default:o(()=>[s(_,{label:"时间选择:"},{default:o(()=>[s(f,{clearable:"",modelValue:u.value,"onUpdate:modelValue":e[0]||(e[0]=a=>u.value=a),editable:!1,onChange:J,format:"YYYY/MM/DD","value-format":"YYYY/MM/DD"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])])]),_:1}),M.length>=0?(d(),v(L(X),{key:0,cardLists:M},null,8,["cardLists"])):k("",!0),s(r,{bordered:!1,shadow:"never"},{default:o(()=>[e[4]||(e[4]=t("h4",{class:"statics-header-title"},"积分使用趋势",-1)),F.value?(d(),v(L(ee),{key:0,"option-data":F.value,styles:R,height:"100%",width:"100%"},null,8,["option-data"])):k("",!0)]),_:1}),t("div",ie,[s(r,{bordered:!1,shadow:"never"},{default:o(()=>[t("div",re,[e[6]||(e[6]=t("h4",{class:"statics-header-title"},"积分来源分析",-1)),h((d(),T("div",{class:"change-style",onClick:e[2]||(e[2]=a=>y.value=!y.value)},[...e[5]||(e[5]=[E("切换样式",-1)])])),[[I]])]),t("div",de,[y.value?(d(),v(L(O),{key:0,infoList:S.value,echartsTitle:"circle"},null,8,["infoList"])):k("",!0),h((d(),v($,{ref:"selection",data:V.value,"empty-text":"暂无数据","highlight-current-row":""},{default:o(()=>[s(n,{type:"index",width:"60"}),s(n,{label:"来源","min-width":"80"},{default:o(a=>[t("span",null,p(a.row.name),1)]),_:1}),s(n,{label:"金额",width:"100"},{default:o(a=>[t("span",null,p(a.row.value),1)]),_:1}),s(n,{label:"占比率","min-width":"140"},{default:o(a=>[t("div",ce,[t("div",ue,[e[7]||(e[7]=t("div",{class:"bg"},null,-1)),t("div",{class:"percent",style:q("width:"+a.row.percent+"%;")},null,4)]),t("div",me,p(a.row.percent)+"%",1)])]),_:1})]),_:1},8,["data"])),[[G,!y.value],[C,g.value]])])]),_:1}),s(r,{bordered:!1,shadow:"never"},{default:o(()=>[t("div",ve,[e[9]||(e[9]=t("h4",{class:"statics-header-title"},"积分消耗",-1)),h((d(),T("div",{class:"change-style",onClick:e[3]||(e[3]=a=>w.value=!w.value)},[...e[8]||(e[8]=[E("切换样式",-1)])])),[[I]])]),t("div",pe,[w.value?(d(),v(L(O),{key:0,infoList:A.value,echartsTitle:"circle"},null,8,["infoList"])):k("",!0),h((d(),v($,{ref:"selection",data:Y.value,"empty-text":"暂无数据","highlight-current-row":""},{default:o(()=>[s(n,{type:"index",width:"60"}),s(n,{label:"来源","min-width":"80"},{default:o(a=>[t("span",null,p(a.row.name),1)]),_:1}),s(n,{label:"金额",width:"100"},{default:o(a=>[t("span",null,p(a.row.value),1)]),_:1}),s(n,{label:"占比率","min-width":"140"},{default:o(a=>[t("div",fe,[t("div",_e,[e[10]||(e[10]=t("div",{class:"bg"},null,-1)),t("div",{class:"percent",style:q("width:"+a.row.percent+"%;")},null,4)]),t("div",he,p(a.row.percent)+"%",1)])]),_:1})]),_:1},8,["data"])),[[G,!w.value],[C,g.value]])])]),_:1})])])),[[C,b.value]])}}}),Ae=oe(ye,[["__scopeId","data-v-b1298aef"]]);export{Ae as default}; diff --git a/backend/public/admin/system_static/index-B-GLxux4.js b/backend/public/admin/system_static/index-B-GLxux4.js new file mode 100644 index 000000000..db727cdd6 --- /dev/null +++ b/backend/public/admin/system_static/index-B-GLxux4.js @@ -0,0 +1 @@ +import{a as $e,y as o,z as V,A as f,l as h,g as De,k as v,u as ie,j as a,C as t,F as Q,D as X,B as r,s as x,$ as g,ab as re,a0 as w,H as C,Z as I,f as ze,W as Ie,a2 as ye,ac as be,a1 as _e,ad as Le,p as Se}from"./element-plus-C_ZDq0cz.js";import{al as ge,S as se,g as ke,_ as pe,s as Fe,a as Ne}from"./index-DHL7RTL2.js";import{interfaceList as Oe,interfaceDet as Ee,interfaceDel as Be,interfaceEditName as qe,interfaceSave as Ve}from"./api-DrXU68ht.js";import{V as xe,A as Me}from"./vue-tree-list.es-Ci9W7bTx.js";import{e as Ae}from"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const me=ge.create({baseURL:se.apiBaseURL,timeout:1e4});ge.defaults.withCredentials=!0;me.interceptors.request.use(c=>{if(c.kefu){let T=se.apiBaseURL.replace(/adminapi/,"kefuapi");c.baseURL=T}else c.baseURL=se.apiBaseURL;c.file&&(c.headers["Content-Type"]="multipart/form-data");try{if(c.headerItem)for(let T in c.headerItem)c.headers[T]=c.headerItem[T]}catch(T){}const z=ke("token"),O=ke("kefu_token");return(z||O)&&(c.headers["Authori-zation"]=c.kefu?"Bearer "+O:"Bearer "+z),c},c=>Promise.reject(c));me.interceptors.response.use(c=>{let z={};switch(c.data&&(typeof c.data=="string"?z=JSON.parse(c.data):z=c.data),c.data?z.status:0){case 200:return z;default:return Promise.reject(z||{msg:"未知错误"})}},c=>Promise.reject(c));const Re={class:"monaco-container"},He={__name:"MonacoEditor",props:{codes:{type:String,default:function(){return""}},readOnly:{type:Boolean,default:function(){return!1}},editorOptions:{type:Object,default:function(){return{selectOnLineNumbers:!0,roundedSelection:!1,readOnly:!1,cursorStyle:"line",automaticLayout:!1,glyphMargin:!0,useTabStops:!1,fontSize:28,autoIndent:!0}}}},setup(c){const z=c,O=h(null);let T=null;return $e(()=>{T=Ae.create(O.value,{value:z.codes,language:"json",theme:"vs",automaticLayout:!0,scrollbar:{verticalScrollbarSize:4,horizontalScrollbarSize:10},lineNumbersMinChars:5,editorOptions:{...z.editorOptions,readOnly:z.readOnly}}),setTimeout(()=>{T.trigger("anyString","editor.action.formatDocument"),T.setValue(T.getValue())},100)}),(E,B)=>(o(),V("div",Re,[f("div",{ref_key:"container",ref:O,class:"monaco-editor"},null,512)]))}},We=pe(He,[["__scopeId","data-v-19c44121"]]),je={key:0,class:"content"},Je={class:"head"},Ge={class:"params"},Ke={key:0,class:"res mt10 mb10"},Pe={__name:"debugging",props:{formValidate:{type:Object,default:()=>({})},requestTypeList:{type:Array,default:()=>[]},typeList:{type:Array,default:()=>[]}},setup(c){const z=c,{proxy:O}=De(),T=h(null),E=h(null),B=h(null),R=h(null),m={xTable:T,yTable:E,zTable:B,zaTable:R},U=h(void 0),q=h("Params"),i=h("");function oe(b,u,k,_,$){return me({url:b,method:u,params:k,data:_,headerItem:$})}U.value=z.formValidate,U.value.request_body=JSON.parse(JSON.stringify(U.value.request_params));function ee(){O.$copyText(i.value).then(b=>{I.success("复制成功")}).catch(b=>{I.error("复制失败")})}async function te(){let b,u,k,_,$;b=U.value.url,u=U.value.method,k=J(await T.value.getTableData().tableData||[]),_=J(await E.value.getTableData().tableData||[]);let L=J(await B.value.getTableData().tableData||[]),M=J(await R.value.getTableData().tableData||[]);$={...L,...M},oe(b,u,k,_,$).then(W=>{i.value=W+""}).catch(W=>{i.value=JSON.stringify(W)})}function J(b){try{let u={};return b.map(k=>{if(!k.parentId){for(let _ in k)if(_=="attribute")if(k.type!=="array")u[k[_]]=k.value||"";else{let $=[];k.children.map((L,M)=>{$[M]=le(L)}),u[k[_]]=$}}}),u}catch(u){}}function le(b){let u={};for(let k in b)if(k=="attribute")if(b.type!=="array")u[b[k]]=b.value||"";else{let _=[];b.children.map(($,L)=>{_[L]=le($)}),u[b[k]]=_}return u}function G(){q.value==="Header"&&(U.value.headerData||(K("zTable",{attribute:"Content-Type",value:"application/x-www-form-urlencoded"}),K("zaTable")))}async function K(b,u){const k=m[b].value;let _;b=="xTable"?_={attribute:"",type:"string",must:0,value:"",trip:""}:b=="yTable"?_={attribute:"",type:"string",value:"",must:0,trip:""}:b=="zTable"?(_={attribute:"",type:"",value:"",trip:""},_={..._,...u}):b=="zaTable"?_={attribute:"token",type:"string",value:"",must:0,trip:""}:_={code:"",value:"",solution:""};const{row:$}=await k.insertAt(_,-1);await k.setActiveCell($,"name")}async function P(b,u){const k=m[u].value;let _;u=="xTable"?_={attribute:"",type:"string",must:0,value:"",trip:"",id:Date.now(),parentId:b.id}:_={code:"",value:"",solution:"",id:Date.now(),parentId:b.id};const{row:$}=await k.insertAt(_,-1);await k.setTreeExpand(b,!0),await k.setActiveRow($)}async function Y(b,u){await m[u].value.remove(b)}return(b,u)=>{const k=v("el-option"),_=v("el-select"),$=v("el-input"),L=v("el-button"),M=v("el-tab-pane"),W=v("el-tabs"),A=v("vxe-input"),d=v("vxe-column"),e=v("vxe-option"),y=v("vxe-select"),D=v("vxe-button"),j=v("vxe-table"),F=ie("db-click");return U.value?(o(),V("div",je,[f("div",Je,[a($,{modelValue:U.value.url,"onUpdate:modelValue":u[1]||(u[1]=n=>U.value.url=n)},{prepend:t(()=>[a(_,{modelValue:U.value.method,"onUpdate:modelValue":u[0]||(u[0]=n=>U.value.method=n),style:{width:"120px"}},{default:t(()=>[(o(!0),V(Q,null,X(c.requestTypeList,(n,s)=>(o(),r(k,{key:s,value:n.value,label:n.label},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1},8,["modelValue"]),x((o(),r(L,{class:"ml20",type:"primary",onClick:te},{default:t(()=>[...u[7]||(u[7]=[g("请求",-1)])]),_:1})),[[F]]),x((o(),r(L,{class:"ml10 copy-btn",type:"success",onClick:u[2]||(u[2]=n=>ee())},{default:t(()=>[...u[8]||(u[8]=[g("复制",-1)])]),_:1})),[[F]])]),f("div",Ge,[a(W,{class:"mt10",modelValue:q.value,"onUpdate:modelValue":u[3]||(u[3]=n=>q.value=n),onTabChange:G},{default:t(()=>[a(M,{label:"Params",name:"Params"}),a(M,{label:"Body",name:"Body"}),a(M,{label:"Header",name:"Header"})]),_:1},8,["modelValue"]),x(f("div",null,[a(j,{class:"mt10","show-overflow":"","keep-source":"",ref_key:"xTable",ref:T,"print-config":{},"export-config":{},"tree-config":{transform:!0,rowField:"id",parentField:"parentId"},data:U.value.request_params,"row-config":{keyField:"id"},"column-config":{resizable:!0}},{default:t(()=>[a(d,{field:"attribute",width:"150",title:"属性","tree-node":"","edit-render":{}},{default:t(({row:n})=>[a(A,{modelValue:n.attribute,"onUpdate:modelValue":s=>n.attribute=s,type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),a(d,{field:"value",title:"参数值","edit-render":{}},{default:t(({row:n})=>[a(A,{modelValue:n.value,"onUpdate:modelValue":s=>n.value=s,type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),a(d,{field:"type",title:"类型",width:"120","edit-render":{}},{default:t(({row:n})=>[a(y,{modelValue:n.type,"onUpdate:modelValue":s=>n.type=s,transfer:""},{default:t(()=>[(o(!0),V(Q,null,X(c.typeList,s=>(o(),r(e,{key:s.value,value:s.value,label:s.label},null,8,["value","label"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue"])]),_:1}),a(d,{field:"must",title:"必填",width:"50","edit-render":{}},{default:t(({row:n})=>[f("span",null,w(n.must=="1"?"是":"否"),1)]),_:1}),a(d,{field:"trip",width:"150",title:"说明","edit-render":{}},{default:t(({row:n})=>[a(A,{modelValue:n.trip,"onUpdate:modelValue":s=>n.trip=s,type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),a(d,{title:"操作",width:"120"},{default:t(({row:n})=>[n.type==="array"?x((o(),r(D,{key:0,type:"text",status:"primary",onClick:s=>P(n,"xTable")},{default:t(()=>[...u[9]||(u[9]=[g("插入",-1)])]),_:1},8,["onClick"])),[[F]]):C("",!0),x((o(),r(D,{type:"text",status:"primary",onClick:s=>Y(n,"xTable")},{default:t(()=>[...u[10]||(u[10]=[g("删除",-1)])]),_:1},8,["onClick"])),[[F]])]),_:1})]),_:1},8,["data"]),x((o(),r(L,{class:"mt10",type:"primary",onClick:u[4]||(u[4]=n=>K("xTable"))},{default:t(()=>[...u[11]||(u[11]=[g("添加参数",-1)])]),_:1})),[[F]])],512),[[re,q.value==="Params"]]),x(f("div",null,[a(j,{class:"mt10","show-overflow":"","keep-source":"",ref_key:"yTable",ref:E,"print-config":{},"export-config":{},"tree-config":{transform:!0,rowField:"id",parentField:"parentId"},data:U.value.request_body,"row-config":{keyField:"id"},"column-config":{resizable:!0}},{default:t(()=>[a(d,{field:"attribute",width:"150",title:"属性","tree-node":"","edit-render":{}},{default:t(({row:n})=>[a(A,{modelValue:n.attribute,"onUpdate:modelValue":s=>n.attribute=s,type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),a(d,{field:"value",title:"参数值","edit-render":{}},{default:t(({row:n})=>[a(A,{modelValue:n.value,"onUpdate:modelValue":s=>n.value=s,type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),a(d,{field:"type",title:"类型",width:"120","edit-render":{}},{default:t(({row:n})=>[a(y,{modelValue:n.type,"onUpdate:modelValue":s=>n.type=s,transfer:""},{default:t(()=>[(o(!0),V(Q,null,X(c.typeList,s=>(o(),r(e,{key:s.value,value:s.value,label:s.label},null,8,["value","label"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue"])]),_:1}),a(d,{field:"must",title:"必填",width:"50","edit-render":{}},{default:t(({row:n})=>[f("span",null,w(n.must=="1"?"是":"否"),1)]),_:1}),a(d,{field:"trip",title:"说明",width:"150","edit-render":{}},{default:t(({row:n})=>[a(A,{modelValue:n.trip,"onUpdate:modelValue":s=>n.trip=s,type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),a(d,{title:"操作",width:"120"},{default:t(({row:n})=>[n.type==="array"?x((o(),r(D,{key:0,type:"text",status:"primary",onClick:s=>P(n,"yTable")},{default:t(()=>[...u[12]||(u[12]=[g("插入",-1)])]),_:1},8,["onClick"])),[[F]]):C("",!0),x((o(),r(D,{type:"text",status:"primary",onClick:s=>Y(n,"yTable")},{default:t(()=>[...u[13]||(u[13]=[g("删除",-1)])]),_:1},8,["onClick"])),[[F]])]),_:1})]),_:1},8,["data"]),x((o(),r(L,{class:"mt10",type:"primary",onClick:u[5]||(u[5]=n=>K("yTable"))},{default:t(()=>[...u[14]||(u[14]=[g("添加参数",-1)])]),_:1})),[[F]])],512),[[re,q.value==="Body"]]),x(f("div",null,[a(j,{class:"mt10","show-overflow":"","keep-source":"",ref_key:"zTable",ref:B,"print-config":{},"export-config":{},"tree-config":{transform:!0,rowField:"id",parentField:"parentId"},data:U.value.headerData,"row-config":{keyField:"id"},"column-config":{resizable:!0}},{default:t(()=>[a(d,{field:"attribute",width:"300",title:"属性","tree-node":"","edit-render":{}},{default:t(({row:n})=>[a(A,{modelValue:n.attribute,"onUpdate:modelValue":s=>n.attribute=s,type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),a(d,{field:"value",title:"参数值","edit-render":{}},{default:t(({row:n})=>[a(A,{modelValue:n.value,"onUpdate:modelValue":s=>n.value=s,type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),a(d,{field:"type",title:"类型",width:"200","edit-render":{}},{default:t(({row:n})=>[a(y,{modelValue:n.type,"onUpdate:modelValue":s=>n.type=s,transfer:""},{default:t(()=>[(o(!0),V(Q,null,X(c.typeList,s=>(o(),r(e,{key:s.value,value:s.value,label:s.label},null,8,["value","label"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue"])]),_:1}),a(d,{title:"操作",width:"100"},{default:t(({row:n})=>[n.type==="array"?x((o(),r(D,{key:0,type:"text",status:"primary",onClick:s=>P(n,"zTable")},{default:t(()=>[...u[15]||(u[15]=[g("插入",-1)])]),_:1},8,["onClick"])),[[F]]):C("",!0),x((o(),r(D,{type:"text",status:"primary",onClick:s=>Y(n,"zTable")},{default:t(()=>[...u[16]||(u[16]=[g("删除",-1)])]),_:1},8,["onClick"])),[[F]])]),_:1})]),_:1},8,["data"]),x((o(),r(L,{class:"mt10",type:"primary",onClick:u[6]||(u[6]=n=>K("zTable"))},{default:t(()=>[...u[17]||(u[17]=[g("添加参数",-1)])]),_:1})),[[F]]),u[18]||(u[18]=f("h4",{class:"mt10 title"},"全局Header参数",-1)),a(j,{class:"mt10","show-overflow":"","keep-source":"",ref_key:"zaTable",ref:R,"print-config":{},"export-config":{},"tree-config":{transform:!0,rowField:"id",parentField:"parentId"},data:U.value.allHeaderData,"row-config":{keyField:"id"},"column-config":{resizable:!0}},{default:t(()=>[a(d,{field:"attribute",width:"300",title:"属性","tree-node":"","edit-render":{}},{default:t(({row:n})=>[f("span",null,w(n.attribute||""),1)]),_:1}),a(d,{field:"value",title:"参数值","edit-render":{}},{default:t(({row:n})=>[f("span",null,w(n.value||""),1)]),_:1}),a(d,{field:"type",title:"类型",width:"200","edit-render":{}},{default:t(({row:n})=>[f("span",null,w(n.type||""),1)]),_:1}),a(d,{field:"trip",title:"说明","edit-render":{}},{default:t(({row:n})=>[f("span",null,w(n.trip||""),1)]),_:1})]),_:1},8,["data"])],512),[[re,q.value==="Header"]])]),i.value?(o(),V("div",Ke,[a(We,{codes:i.value,readOnly:!0},null,8,["codes"])])):C("",!0)])):C("",!0)}}},Ze=pe(Pe,[["__scopeId","data-v-57e01659"]]),Qe={class:"main"},Xe={class:"tree"},Ye={class:"main-btn"},et=["onClick"],tt={class:"data"},lt={class:"eidt-sub"},at={class:"name"},ot={key:1},nt={key:1,class:"text-area"},ut={key:1},dt={key:1},rt={key:1},it={key:1},st={key:1},pt={key:1},mt={key:1},ft={key:1},vt={key:1,class:"text-area"},ct={key:1,class:"text-area"},yt={key:1},bt={key:1},_t={key:1},kt={class:"dialog-footer"},Vt=Object.assign({name:"systemOutInterface"},{__name:"index",setup(c){const{isMobile:z}=Fe(Ne()),O=Se(()=>z.value?"top":"right"),T=h(null),E=h(null),B=h(null),R=h(""),m=h(!1),U=h(!1),q=h(!1),i=h({}),oe={title:[{message:"请输入正确的描述 (不能多于200位数)",trigger:"blur",max:200}]},ee=h(!1),te=[{value:"string",label:"String"},{value:"array",label:"Array"},{value:"number",label:"Number"},{value:"boolean",label:"Boolean"},{value:"null",label:"Null"},{value:"any",label:"Any"}],J=[{value:"get",label:"get"},{value:"post",label:"post"},{value:"delete",label:"delete"},{value:"put",label:"put"},{value:"options",label:"options"}],le=h(new xe([]).root),G=h("#fff");ze(()=>i.value.method,(d,e)=>{let y=d.toUpperCase();y=="GET"?G.value="#61affe":y=="POST"?G.value="#49cc90":y=="PUT"?G.value="#fca130":y=="DELETE"&&(G.value="#f93e3e")},{deep:!0}),P();function K(d){let e=d.toUpperCase();if(e=="GET")return"#61affe";if(e=="POST")return"#49cc90";if(e=="PUT")return"#fca130";if(e=="DELETE")return"#f93e3e"}function P(d){Oe().then(e=>{e.data[0].expand=!1,le.value=new xe(e.data).root,e.data.length&&e.data[0].children.length&&Y(e.data[0].children[0])}).catch(e=>{I.error(e)})}function Y(d){d.method&&(m.value=!1,Ee(d.id).then(e=>{i.value=e.data}).catch(e=>{I.error(e)}))}async function b(){if(i.value.name)if(i.value.method){if(!i.value.url)return I.warning("请输入调用方式")}else return I.warning("请选择请求类型");else return I.warning("请输入接口名称");i.value.request_params=await T.value.getTableData().tableData,i.value.return_params=await E.value.getTableData().tableData,i.value.error_code=await B.value.getTableData().tableData,await Ve(i.value).then(d=>{m.value=!1,I.success(d.msg),P()}).catch(d=>{I.error(d)})}async function u(d){const e={xTable:T,resTable:E,codeTable:B}[d].value;let y;d=="xTable"?y={attribute:"",type:"",must:0,trip:""}:d=="resTable"?y={attribute:"",type:"",trip:""}:y={code:"",value:"",solution:""};const{row:D}=await e.insertAt(y,-1);await e.setActiveCell(D,"name")}async function k(d,e){const y={xTable:T,resTable:E,codeTable:B}[e].value;let D;e=="xTable"?D={attribute:"",type:"",must:0,trip:"",id:Date.now(),parentId:d.id}:e=="resTable"?D={attribute:"",type:"",trip:"",id:Date.now(),parentId:d.id}:D={code:"",value:"",solution:"",id:Date.now(),parentId:d.id};const{row:j}=await y.insertAt(D,-1);await y.setTreeExpand(d,!0),await y.setActiveRow(j)}async function _(d,e){await{xTable:T,resTable:E,codeTable:B}[e].value.remove(d)}function $(){R.value="",i.value.id=0,U.value=!0}function L(d,e){d==1?(i.value={},i.value.pid=e?e.id:0,i.value.id=0,m.value=!0):d==2?(R.value=e.name||"",i.value.id=e?e.id:0,U.value=!0):d==3?W(e):d==4&&$()}function M(){let d={id:i.value.id||0,type:0,name:R.value};Ve(d).then(e=>{I.success(e.msg),P()}).catch(e=>{I.error(e)})}function W(d){Le({title:"提示",message:"删除后无法恢复,请确认后删除!",showCancelButton:!0,cancelButtonText:"取消",confirmButtonText:"确定",iconClass:"el-icon-warning",confirmButtonClass:"btn-custom-cancel"}).then(()=>{Be(d.id).then(e=>{I.success(e.msg),d.remove()}).catch(e=>{I.error(e)})}).catch(()=>{})}function A(d){if(d.eventType=="blur"){let e={name:d.newName,id:d.id};qe(e).then(y=>{I.success(y.msg)}).catch(y=>{I.error(y)})}}return(d,e)=>{const y=v("el-button"),D=v("el-dropdown-item"),j=v("el-dropdown-menu"),F=v("el-dropdown"),n=v("el-card"),s=v("el-input"),H=v("el-form-item"),we=v("el-option"),Te=v("el-select"),ne=v("el-col"),ue=v("el-row"),Z=v("vxe-input"),N=v("vxe-column"),fe=v("vxe-option"),ve=v("vxe-select"),Ue=v("vxe-checkbox"),ae=v("vxe-button"),de=v("vxe-table"),Ce=v("el-form"),ce=v("el-dialog"),S=ie("db-click"),he=ie("loading");return o(),V("div",null,[f("div",Qe,[a(n,{bordered:!1,shadow:"never",class:"ivu-mt mr20 card-tree"},{default:t(()=>[f("div",Xe,[f("div",Ye,[x((o(),r(y,{class:"mb10",type:"primary",onClick:e[0]||(e[0]=l=>L(4)),long:""},{default:t(()=>[...e[17]||(e[17]=[g("新增分类",-1)])]),_:1})),[[S]])]),a(Ie(Me),{class:"tree-list",onChangeName:A,onDeleteNode:W,model:le.value,"default-tree-node-name":"默认文件夹","default-leaf-node-name":"默认接口名","default-expanded":!0},{leafNameDisplay:t(l=>[e[22]||(e[22]=f("div",null,null,-1)),x((o(),V("div",{class:_e(["tree-node",{node:l.model.method,open:i.value.id==l.model.id}]),onClick:be(p=>Y(l.model),["stop"])},[f("span",{class:_e(["",{open:i.value.id==l.model.id}])},w(l.model.name),3),a(F,{onCommand:p=>{L(p,l.model)}},{dropdown:t(()=>[a(j,null,{default:t(()=>[l.model.method?C("",!0):(o(),r(D,{key:0,command:"1"},{default:t(()=>[...e[18]||(e[18]=[g("新增接口",-1)])]),_:1})),l.model.method?C("",!0):(o(),r(D,{key:1,command:"2"},{default:t(()=>[...e[19]||(e[19]=[g("编辑分类名",-1)])]),_:1})),a(D,{command:"3"},{default:t(()=>[...e[20]||(e[20]=[g("删除",-1)])]),_:1})]),_:2},1024)]),default:t(()=>[e[21]||(e[21]=f("span",{class:"el-dropdown-link"},[f("i",{class:"el-icon-arrow-down el-icon--right"})],-1))]),_:2},1032,["onCommand"])],10,et)),[[S]])]),addTreeNodeIcon:t(()=>[...e[23]||(e[23]=[f("span",{class:"icon"},null,-1)])]),addLeafNodeIcon:t(()=>[...e[24]||(e[24]=[f("span",{class:"icon"},null,-1)])]),editNodeIcon:t(()=>[...e[25]||(e[25]=[f("span",{class:"icon"},null,-1)])]),delNodeIcon:t(()=>[...e[26]||(e[26]=[f("span",{class:"icon"},null,-1)])]),treeNodeIcon:t(l=>[l.model.method?(o(),V("span",{key:0,class:"req-method",style:ye({color:K(l.model.method),"font-weight":(l.model.id==i.value.id,"500")})},w(l.model.method=="delete"?"DEL":l.model.method||""),5)):C("",!0)]),_:1},8,["model"])])]),_:1}),a(n,{bordered:!1,shadow:"never",class:"ivu-mt right-card"},{default:t(()=>[f("div",tt,[f("div",lt,[f("div",at,w(i.value.name),1),f("div",null,[i.value.id?x((o(),r(y,{key:0,type:"primary",class:"submission mr20",onClick:e[1]||(e[1]=l=>m.value=!m.value)},{default:t(()=>[g(w(m.value?"返回":"编辑"),1)]),_:1})),[[S]]):C("",!0),m.value?x((o(),r(y,{key:1,type:"primary",class:"submission",onClick:e[2]||(e[2]=l=>b("formValidate"))},{default:t(()=>[...e[27]||(e[27]=[g("保存",-1)])]),_:1})),[[S]]):C("",!0)])]),a(Ce,{class:"formValidate mt20",rules:oe,model:i.value,"label-width":"100px","label-position":O.value,onSubmit:e[12]||(e[12]=be(()=>{},["prevent"]))},{default:t(()=>[a(ue,{gutter:24},{default:t(()=>[a(ne,{span:24},{default:t(()=>[e[28]||(e[28]=f("div",{class:"title"},"接口信息",-1)),a(H,{label:"接口名称:",prop:"name"},{default:t(()=>[m.value?(o(),r(s,{key:0,class:"perW20",type:"text",rows:4,modelValue:i.value.name,"onUpdate:modelValue":e[3]||(e[3]=l=>i.value.name=l),modelModifiers:{trim:!0},placeholder:"请输入"},null,8,["modelValue"])):(o(),V("span",ot,w(i.value.name||""),1))]),_:1}),a(H,{label:"请求类型:",prop:"name"},{default:t(()=>[m.value?(o(),r(Te,{key:0,modelValue:i.value.method,"onUpdate:modelValue":e[4]||(e[4]=l=>i.value.method=l),style:{width:"120px"}},{default:t(()=>[(o(),V(Q,null,X(J,(l,p)=>a(we,{key:p,value:l.value,label:l.label},null,8,["value","label"])),64))]),_:1},8,["modelValue"])):(o(),V("span",{key:1,class:"req-method",style:ye("background-color:"+G.value)},w(i.value.method||""),5))]),_:1}),a(H,{label:"功能描述:",prop:"name"},{default:t(()=>[m.value?(o(),r(s,{key:0,class:"perW20",type:"textarea",rows:4,modelValue:i.value.describe,"onUpdate:modelValue":e[5]||(e[5]=l=>i.value.describe=l),modelModifiers:{trim:!0},placeholder:"请输入"},null,8,["modelValue"])):(o(),V("span",nt,w(i.value.describe||""),1))]),_:1})]),_:1})]),_:1}),a(ue,{gutter:24},{default:t(()=>[a(ne,{span:24},{default:t(()=>[e[35]||(e[35]=f("div",{class:"title"},"调用方式",-1)),a(H,{label:"调用内容:",prop:"url"},{default:t(()=>[m.value?(o(),r(s,{key:0,class:"perW20",type:"text",rows:4,modelValue:i.value.url,"onUpdate:modelValue":e[6]||(e[6]=l=>i.value.url=l),modelModifiers:{trim:!0},placeholder:"请输入"},null,8,["modelValue"])):(o(),V("span",ut,w(i.value.url||""),1))]),_:1}),a(H,{label:"请求参数:"},{default:t(()=>[x((o(),r(de,{"show-overflow":"","keep-source":"",ref_key:"xTable",ref:T,"print-config":{},"export-config":{},"tree-config":{transform:!0,rowField:"id",parentField:"parentId"},data:i.value.request_params,"row-config":{keyField:"id"},"column-config":{resizable:!0}},{default:t(()=>[a(N,{field:"attribute",width:"300",title:"属性","tree-node":"","edit-render":{}},{default:t(({row:l})=>[m.value?(o(),r(Z,{key:0,modelValue:l.attribute,"onUpdate:modelValue":p=>l.attribute=p,type:"text"},null,8,["modelValue","onUpdate:modelValue"])):(o(),V("span",dt,w(l.attribute||""),1))]),_:1}),a(N,{field:"type",title:"类型",width:"200","edit-render":{}},{default:t(({row:l})=>[m.value?(o(),r(ve,{key:0,modelValue:l.type,"onUpdate:modelValue":p=>l.type=p,transfer:""},{default:t(()=>[(o(),V(Q,null,X(te,p=>a(fe,{key:p.value,value:p.value,label:p.label},null,8,["value","label"])),64))]),_:1},8,["modelValue","onUpdate:modelValue"])):(o(),V("span",rt,w(l.type||""),1))]),_:1}),a(N,{field:"must",title:"必填",width:"100","edit-render":{}},{default:t(({row:l})=>[m.value?(o(),r(Ue,{key:0,modelValue:l.must,"onUpdate:modelValue":p=>l.must=p,"unchecked-value":"0","checked-value":"1"},null,8,["modelValue","onUpdate:modelValue"])):(o(),V("span",it,w(l.must=="1"?"是":"否"),1))]),_:1}),a(N,{field:"trip",title:"说明","edit-render":{}},{default:t(({row:l})=>[m.value?(o(),r(Z,{key:0,modelValue:l.trip,"onUpdate:modelValue":p=>l.trip=p,type:"text"},null,8,["modelValue","onUpdate:modelValue"])):(o(),V("span",st,w(l.trip||""),1))]),_:1}),m.value?(o(),r(N,{key:0,title:"操作",width:"200"},{default:t(({row:l})=>[l.type==="array"?x((o(),r(ae,{key:0,type:"text",status:"primary",onClick:p=>k(l,"xTable")},{default:t(()=>[...e[29]||(e[29]=[g("插入",-1)])]),_:1},8,["onClick"])),[[S]]):C("",!0),x((o(),r(ae,{type:"text",status:"primary",onClick:p=>_(l,"xTable")},{default:t(()=>[...e[30]||(e[30]=[g("删除",-1)])]),_:1},8,["onClick"])),[[S]])]),_:1})):C("",!0)]),_:1},8,["data"])),[[he,ee.value]]),m.value?x((o(),r(y,{key:0,class:"mt10",type:"primary",onClick:e[7]||(e[7]=l=>u("xTable"))},{default:t(()=>[...e[31]||(e[31]=[g("添加参数",-1)])]),_:1})),[[S]]):C("",!0)]),_:1}),a(H,{label:"返回参数:"},{default:t(()=>[a(de,{"show-overflow":"","keep-source":"",ref_key:"resTable",ref:E,"print-config":{},"export-config":{},loading:ee.value,"tree-config":{transform:!0,rowField:"id",parentField:"parentId"},data:i.value.return_params,"row-config":{keyField:"id"},"column-config":{resizable:!0}},{default:t(()=>[a(N,{field:"attribute",title:"属性",width:"300","tree-node":"","edit-render":{}},{default:t(({row:l})=>[m.value?(o(),r(Z,{key:0,modelValue:l.attribute,"onUpdate:modelValue":p=>l.attribute=p,type:"text"},null,8,["modelValue","onUpdate:modelValue"])):(o(),V("span",pt,w(l.attribute||""),1))]),_:1}),a(N,{field:"type",title:"类型",width:"200","edit-render":{}},{default:t(({row:l})=>[m.value?(o(),r(ve,{key:0,modelValue:l.type,"onUpdate:modelValue":p=>l.type=p,transfer:""},{default:t(()=>[(o(),V(Q,null,X(te,p=>a(fe,{key:p.value,value:p.value,label:p.label},null,8,["value","label"])),64))]),_:1},8,["modelValue","onUpdate:modelValue"])):(o(),V("span",mt,w(l.type||""),1))]),_:1}),a(N,{field:"trip",title:"说明","edit-render":{}},{default:t(({row:l})=>[m.value?(o(),r(Z,{key:0,modelValue:l.trip,"onUpdate:modelValue":p=>l.trip=p,type:"text"},null,8,["modelValue","onUpdate:modelValue"])):(o(),V("span",ft,w(l.trip||""),1))]),_:1}),m.value?(o(),r(N,{key:0,title:"操作",width:"200"},{default:t(({row:l})=>[l.type==="array"?x((o(),r(ae,{key:0,type:"text",status:"primary",onClick:p=>k(l,"resTable")},{default:t(()=>[...e[32]||(e[32]=[g("插入",-1)])]),_:1},8,["onClick"])),[[S]]):C("",!0),x((o(),r(ae,{type:"text",status:"primary",onClick:p=>_(l,"resTable")},{default:t(()=>[...e[33]||(e[33]=[g("删除",-1)])]),_:1},8,["onClick"])),[[S]])]),_:1})):C("",!0)]),_:1},8,["loading","data"]),m.value?x((o(),r(y,{key:0,class:"mt10",type:"primary",onClick:e[8]||(e[8]=l=>u("resTable"))},{default:t(()=>[...e[34]||(e[34]=[g("添加参数",-1)])]),_:1})),[[S]]):C("",!0)]),_:1})]),_:1})]),_:1}),a(ue,{gutter:24},{default:t(()=>[a(ne,{span:24},{default:t(()=>[e[38]||(e[38]=f("div",{class:"title"},"调用示例",-1)),a(H,{label:"请求数据示例:",prop:"request_example"},{default:t(()=>[m.value?(o(),r(s,{key:0,class:"perW20",type:"textarea",rows:4,modelValue:i.value.request_example,"onUpdate:modelValue":e[9]||(e[9]=l=>i.value.request_example=l),modelModifiers:{trim:!0},placeholder:"请输入"},null,8,["modelValue"])):(o(),V("span",vt,w(i.value.request_example||""),1))]),_:1}),a(H,{label:"返回数据示例:",prop:"return_example"},{default:t(()=>[m.value?(o(),r(s,{key:0,class:"perW20",type:"textarea",rows:4,modelValue:i.value.return_example,"onUpdate:modelValue":e[10]||(e[10]=l=>i.value.return_example=l),modelModifiers:{trim:!0},placeholder:"请输入"},null,8,["modelValue"])):(o(),V("span",ct,w(i.value.return_example||""),1))]),_:1}),a(H,{label:"错误码:"},{default:t(()=>[a(de,{"show-overflow":"","keep-source":"",ref_key:"codeTable",ref:B,"print-config":{},"export-config":{},loading:ee.value,"tree-config":{transform:!0,rowField:"id",parentField:"parentId"},data:i.value.error_code,"row-config":{keyField:"id"},"column-config":{resizable:!0}},{default:t(()=>[a(N,{field:"code",title:"错误码","tree-node":"","edit-render":{}},{default:t(({row:l})=>[m.value?(o(),r(Z,{key:0,modelValue:l.code,"onUpdate:modelValue":p=>l.code=p,type:"text"},null,8,["modelValue","onUpdate:modelValue"])):(o(),V("span",yt,w(l.code||""),1))]),_:1}),a(N,{field:"value",title:"错误码取值","edit-render":{}},{default:t(({row:l})=>[m.value?(o(),r(Z,{key:0,modelValue:l.value,"onUpdate:modelValue":p=>l.value=p,type:"text"},null,8,["modelValue","onUpdate:modelValue"])):(o(),V("span",bt,w(l.value||""),1))]),_:1}),a(N,{field:"solution",title:"解决方案","edit-render":{}},{default:t(({row:l})=>[m.value?(o(),r(Z,{key:0,modelValue:l.solution,"onUpdate:modelValue":p=>l.solution=p,type:"text"},null,8,["modelValue","onUpdate:modelValue"])):(o(),V("span",_t,w(l.solution||""),1))]),_:1}),m.value?(o(),r(N,{key:0,title:"操作"},{default:t(({row:l})=>[x((o(),r(ae,{type:"text",status:"primary",onClick:p=>_(l,"codeTable")},{default:t(()=>[...e[36]||(e[36]=[g("删除",-1)])]),_:1},8,["onClick"])),[[S]])]),_:1})):C("",!0)]),_:1},8,["loading","data"]),m.value?x((o(),r(y,{key:0,class:"mt10",type:"primary",onClick:e[11]||(e[11]=l=>u("codeTable"))},{default:t(()=>[...e[37]||(e[37]=[g("添加参数",-1)])]),_:1})),[[S]]):C("",!0)]),_:1})]),_:1})]),_:1})]),_:1},8,["model","label-position"])])]),_:1})]),a(ce,{modelValue:U.value,"onUpdate:modelValue":e[15]||(e[15]=l=>U.value=l),width:"470px",title:"分组名称",onOnOk:M},{footer:t(()=>[f("span",kt,[x((o(),r(y,{onClick:e[14]||(e[14]=l=>U.value=!1)},{default:t(()=>[...e[39]||(e[39]=[g("取 消",-1)])]),_:1})),[[S]]),x((o(),r(y,{type:"primary",onClick:M},{default:t(()=>[...e[40]||(e[40]=[g("确 定",-1)])]),_:1})),[[S]])])]),default:t(()=>[e[41]||(e[41]=f("label",null,"分组名称:",-1)),a(s,{modelValue:R.value,"onUpdate:modelValue":e[13]||(e[13]=l=>R.value=l),placeholder:"请输入分组名称",style:{width:"85%"}},null,8,["modelValue"])]),_:1},8,["modelValue"]),a(ce,{modelValue:q.value,"onUpdate:modelValue":e[16]||(e[16]=l=>q.value=l),title:i.value.name,width:"1000px"},{default:t(()=>[q.value?(o(),r(Ze,{key:0,formValidate:i.value,typeList:te,requestTypeList:J},null,8,["formValidate"])):C("",!0)]),_:1},8,["modelValue","title"])])}}}),$t=pe(Vt,[["__scopeId","data-v-0ee463a0"]]);export{$t as default}; diff --git a/backend/public/admin/system_static/index-B0CaW8di.js b/backend/public/admin/system_static/index-B0CaW8di.js new file mode 100644 index 000000000..ae9f36f01 --- /dev/null +++ b/backend/public/admin/system_static/index-B0CaW8di.js @@ -0,0 +1 @@ +import{k as s,u as k,y as r,z as i,j as l,C as a,F as N,D as w,v as B,A as n,a0 as d,s as D,B as V,$ as j,Z as o}from"./element-plus-C_ZDq0cz.js";import{_ as E,m}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const F={class:"clear_box"},L=["textContent"],S=["textContent"],$=Object.assign({name:"clear"},{__name:"index",setup(z){const p={xl:6,lg:8,md:12,sm:24,xs:24},u=[{title:"清除缓存",tlt:"清除系统的所有缓存",typeName:"primary",type:"11"},{title:"清除日志",tlt:"清除系统的所有日志文件",typeName:"primary",type:"temp"}];function f(t){t?g():h()}function h(){m({title:"清除缓存",url:"system/refresh_cache/cache",method:"get",ids:""}).then(e=>{o.success(e.msg)}).catch(e=>{o.error(e.msg)})}function g(){m({title:"清除日志",url:"system/refresh_cache/log",method:"get",ids:""}).then(e=>{o.success(e.msg)}).catch(e=>{o.error(e.msg)})}return(t,e)=>{const x=s("el-button"),y=s("el-col"),v=s("el-row"),b=s("el-card"),C=k("db-click");return r(),i("div",null,[l(b,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:a(()=>[l(v,{gutter:24},{default:a(()=>[(r(),i(N,null,w(u,(c,_)=>l(y,B({ref_for:!0},p,{class:"mb20",key:_}),{default:a(()=>[n("div",F,[n("span",{class:"clear_box_sp1",textContent:d(c.title)},null,8,L),n("span",{class:"clear_box_sp2",textContent:d(c.tlt)},null,8,S),D((r(),V(x,{type:c.typeName,onClick:A=>f(_)},{default:a(()=>[...e[0]||(e[0]=[j("立即清除",-1)])]),_:1},8,["type","onClick"])),[[C]])])]),_:2},1040)),64))]),_:1})]),_:1})])}}}),Z=E($,[["__scopeId","data-v-203a716e"]]);export{Z as default}; diff --git a/backend/public/admin/system_static/index-B14gRfLE.js b/backend/public/admin/system_static/index-B14gRfLE.js new file mode 100644 index 000000000..c3ec44fe7 --- /dev/null +++ b/backend/public/admin/system_static/index-B14gRfLE.js @@ -0,0 +1 @@ +import{f as B,y as n,z as d,j as i,C as a,s as w,B as g,$ as y,A as p,a0 as f,ab as R,H as Z,n as ee,l as s,u as L,k as m,r as te}from"./element-plus-C_ZDq0cz.js";import{r as le}from"./marketing-BAfn8OEa.js";const ae={key:0},oe={key:1},ne={key:2},ie={key:3},se={key:0},ue={key:1},de={class:"fa"},re={class:"sheng ml10"},ce={key:0},pe={key:1},fe={class:"acea-row row-right page"},me={class:"dialog-footer"},we=Object.assign({name:"index"},{__name:"index",props:{couponids:{type:Array},updateIds:{type:Array},updateName:{type:Array},luckDraw:{type:Boolean,default:!1},status:{type:Number,default:null},receiveType:{type:[Number,String],default:3}},emits:["getCouponId","nameId"],setup(z,{expose:q,emit:H}){const E=H,r=z,U=s(0),N=s(0),$=s({}),_=s(!1),T=s(!1),c=te({receive_type:3,page:1,limit:15}),V=s(0),C=s([]),h=s([]),I=s([]),D=s([]),S=s(null);B(()=>r.updateIds,l=>{h.value=l}),B(()=>r.updateName,l=>{I.value=l,D.value=l}),B(_,l=>{l&&(c.page=1,A())});function K(l){return l.id}function M(l){N.value=l.id,$.value=l}function O(l){const e=new Map;return l.filter(o=>!e.has(o.id)&&e.set(o.id,1))}function P(l){let e=[],o=[],b=[],v=O(l);for(let k=0;k{let e=l.data;C.value=e.list,V.value=e.count,ee(()=>{h.value.length&&J(),W()}),T.value=!1})}function J(){let l=[...h.value];C.value.forEach(e=>{l.includes(e.id)?S.value.toggleRowSelection(e,!0):S.value.toggleRowSelection(e,!1)})}function Q(){r.luckDraw?(E("getCouponId",$.value),N.value=0):E("nameId",h.value,I.value),_.value=!1}function W(){D.value.length>0&&C.value.forEach(l=>{D.value.forEach(e=>{l.id,e.id})})}return q({isTemplate:_,tableList:A}),(l,e)=>{const o=m("el-table-column"),b=m("el-radio"),v=m("el-tag"),k=m("el-table"),u=m("pagination"),x=m("el-button"),X=m("el-dialog"),Y=L("loading"),j=L("db-click");return n(),d("div",null,[i(X,{modelValue:_.value,"onUpdate:modelValue":e[3]||(e[3]=t=>_.value=t),title:"优惠券列表","append-to-body":"",width:"1000px"},{footer:a(()=>[p("span",me,[w((n(),g(x,{onClick:G},{default:a(()=>[...e[8]||(e[8]=[y("取 消",-1)])]),_:1})),[[j]]),w((n(),g(x,{type:"primary",onClick:Q},{default:a(()=>[...e[9]||(e[9]=[y("确 定",-1)])]),_:1})),[[j]])])]),default:a(()=>[w((n(),g(k,{data:C.value,ref_key:"couponTable",ref:S,class:"mt20","highlight-current-row":"","row-key":K,"no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果",onSelectionChange:P},{default:a(()=>[z.luckDraw?(n(),g(o,{key:1,width:"50"},{default:a(t=>[i(b,{modelValue:U.value,"onUpdate:modelValue":e[0]||(e[0]=F=>U.value=F),label:t.row.id,value:t.row.id,onChange:F=>M(t.row)},{default:a(()=>[...e[4]||(e[4]=[y(" ",-1)])]),_:1},8,["modelValue","label","value","onChange"])]),_:1})):(n(),g(o,{key:0,type:"selection",width:"55","reserve-selection":!0})),i(o,{label:"ID",width:"70"},{default:a(t=>[p("span",null,f(t.row.id),1)]),_:1}),i(o,{label:"优惠券名称","min-width":"120"},{default:a(t=>[p("span",null,f(t.row.title),1)]),_:1}),i(o,{label:"优惠券类型","min-width":"100"},{default:a(t=>[t.row.type===1?(n(),d("span",ae,"品类券")):t.row.type===2?(n(),d("span",oe,"商品券")):t.row.type===3?(n(),d("span",ne,"会员券")):(n(),d("span",ie,"通用券"))]),_:1}),i(o,{label:"面值","min-width":"100"},{default:a(t=>[p("span",null,f(t.row.coupon_price),1)]),_:1}),i(o,{label:"最低消费额","min-width":"100"},{default:a(t=>[p("span",null,f(t.row.use_min_price),1)]),_:1}),i(o,{label:"发布数量","min-width":"100"},{default:a(t=>[t.row.is_permanent?(n(),d("span",se,"不限量")):(n(),d("div",ue,[p("span",de,"发布:"+f(t.row.total_count),1),p("span",re,"剩余:"+f(t.row.remain_count),1)]))]),_:1}),i(o,{label:"有效期限","min-width":"100"},{default:a(t=>[t.row.start_time?(n(),d("div",ce,f(l.$filters.formatDate(t.row.start_time))+" - "+f(l.$filters.formatDate(t.row.end_time)),1)):(n(),d("span",pe,"不限时"))]),_:1}),i(o,{label:"状态","min-width":"100"},{default:a(t=>[w(i(v,{size:"default"},{default:a(()=>[...e[5]||(e[5]=[y("正常",-1)])]),_:1},512),[[R,t.row.status===1]]),w(i(v,{size:"default",type:"danger"},{default:a(()=>[...e[6]||(e[6]=[y("未开启",-1)])]),_:1},512),[[R,t.row.status===0]]),w(i(v,{size:"default",type:"info"},{default:a(()=>[...e[7]||(e[7]=[y("已失效",-1)])]),_:1},512),[[R,t.row.status===-1]])]),_:1})]),_:1},8,["data"])),[[Y,T.value]]),p("div",fe,[V.value?(n(),g(u,{key:0,total:V.value,page:c.page,"onUpdate:page":e[1]||(e[1]=t=>c.page=t),limit:c.limit,"onUpdate:limit":e[2]||(e[2]=t=>c.limit=t),onPagination:A},null,8,["total","page","limit"])):Z("",!0)])]),_:1},8,["modelValue"])])}}});export{we as _}; diff --git a/backend/public/admin/system_static/index-B3O73jsZ.js b/backend/public/admin/system_static/index-B3O73jsZ.js new file mode 100644 index 000000000..86e4a50f8 --- /dev/null +++ b/backend/public/admin/system_static/index-B3O73jsZ.js @@ -0,0 +1 @@ +import{Z as U,k as n,u as P,s as A,y as d,B as p,C as l,j as i,$ as _,z as W,F as K,D as Q,a0 as x,H as z,A as T,W as j,ac as X,l as u,p as H}from"./element-plus-C_ZDq0cz.js";import{w as q,_ as Z,a as G}from"./index-DHL7RTL2.js";import{u as J}from"./usePrinterAuth-I2ixLXHJ.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function Y(){return q({url:"driver/printer_driver/list",method:"get"})}function ee(f){return q({url:`driver/printer_driver/detail/${f}`,method:"get"})}function te(f,c){return q({url:`driver/printer_driver/set_status/${f}`,method:"put",data:{status:c}})}function ae(f,c){return q({url:`driver/printer_driver/save_config/${f}`,method:"post",data:c})}const le={key:2,class:"tips-info"},ie={class:"form-actions"},re=Object.assign({name:"PrinterDriverEdit"},{__name:"edit",props:{driverId:{type:[Number,String],required:!0}},emits:["close","success","submitting"],setup(f,{emit:c}){const $=f,v=c,{hasPermission:m}=J(),b=G(),h=H(()=>b.isMobile?void 0:120),y=H(()=>b.isMobile?"top":"right"),w=u(!1),s=u({status:0}),k=u([]),E=u(null),V=u(!1),g=u(!1);a();async function a(){if(m("admin-printer-driver-detail")){w.value=!0;try{const r=await ee($.driverId);s.value={status:Number(r.data.status||0)},k.value=r.data.config_fields||[],k.value.forEach(t=>{s.value[t.field]=t.value!==void 0?t.value:t.default??""}),V.value=!0}catch(r){V.value=!1,U.error(r.msg||"打印机驱动配置加载失败")}finally{w.value=!1}}}function o(r){return r.type==="switch"||r.required===!1?[]:[{required:!0,whitespace:!0,message:"请输入"+r.label,trigger:"blur"}]}async function D(){if(!(g.value||w.value||!V.value||!E.value||!m("admin-printer-driver-edit"))){g.value=!0,v("submitting",!0);try{if(!await E.value.validate().catch(()=>!1))return;const t={status:s.value.status};k.value.forEach(S=>{t[S.field]=s.value[S.field]}),await ae($.driverId,t),v("success")}catch(r){U.error(r.msg||"打印机驱动配置保存失败")}finally{g.value=!1,v("submitting",!1)}}}return(r,t)=>{const S=n("el-divider"),I=n("el-switch"),R=n("el-input"),L=n("el-form-item"),M=n("el-button"),F=n("el-form"),N=P("auth"),B=P("db-click"),O=P("loading");return A((d(),p(F,{ref_key:"formRef",ref:E,disabled:w.value||!V.value||g.value||!j(m)("admin-printer-driver-edit"),model:s.value,"label-width":h.value,"label-position":y.value,class:"form-wrap",onSubmit:t[2]||(t[2]=X(()=>{},["prevent"]))},{default:l(()=>[i(S,{"content-position":"left"},{default:l(()=>[...t[3]||(t[3]=[_("服务商配置",-1)])]),_:1}),(d(!0),W(K,null,Q(k.value,e=>(d(),p(L,{key:e.field,label:e.label,prop:e.field,rules:o(e)},{default:l(()=>[e.type==="switch"?(d(),p(I,{key:0,modelValue:s.value[e.field],"onUpdate:modelValue":C=>s.value[e.field]=C,"active-value":"1","inactive-value":"0",disabled:e.readonly},null,8,["modelValue","onUpdate:modelValue","disabled"])):(d(),p(R,{key:1,modelValue:s.value[e.field],"onUpdate:modelValue":C=>s.value[e.field]=C,type:e.type==="password"?"password":"text","show-password":e.type==="password",disabled:e.readonly,placeholder:e.tip||"请输入"+e.label},null,8,["modelValue","onUpdate:modelValue","type","show-password","disabled","placeholder"])),e.tip?(d(),W("div",le,x(e.tip),1)):z("",!0)]),_:2},1032,["label","prop","rules"]))),128)),i(S,{"content-position":"left"},{default:l(()=>[...t[4]||(t[4]=[_("其他设置",-1)])]),_:1}),i(L,{label:"启用驱动"},{default:l(()=>[i(I,{modelValue:s.value.status,"onUpdate:modelValue":t[0]||(t[0]=e=>s.value.status=e),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1}),T("div",ie,[j(m)("admin-printer-driver-edit")?A((d(),p(M,{key:0,type:"primary",loading:g.value,disabled:w.value||!V.value,onClick:D},{default:l(()=>[...t[5]||(t[5]=[_(" 保存 ",-1)])]),_:1},8,["loading","disabled"])),[[N,["admin-printer-driver-edit"]],[B]]):z("",!0),A((d(),p(M,{disabled:g.value,onClick:t[1]||(t[1]=e=>r.$emit("close"))},{default:l(()=>[...t[6]||(t[6]=[_("取消",-1)])]),_:1},8,["disabled"])),[[B]])])]),_:1},8,["disabled","model","label-width","label-position"])),[[O,w.value]])}}}),ne=Z(re,[["__scopeId","data-v-55c29021"]]),se={class:"font-weight-bold"},oe=Object.assign({name:"PrinterDriverList"},{__name:"index",setup(f){const c=u(!1),$=u([]),v=u(!1),m=u(!1),b=u(null),h=u({}),{hasPermission:y}=J(),w=G(),s=H(()=>w.isMobile?"100%":"50%");k();function k(){y("admin-printer-driver-list")&&(c.value=!0,Y().then(a=>{$.value=a.data||[]}).catch(a=>{$.value=[],U.error(a.msg||"打印机驱动加载失败")}).finally(()=>{c.value=!1}))}function E(a){!a.id||!y("admin-printer-driver-detail")||(b.value=a,v.value=!0)}function V(a){const o=a.status===1?0:1;if(!a.id||!y("admin-printer-driver-status")){a.status=o;return}if(!h.value[a.id])return h.value[a.id]=!0,te(a.id,a.status).then(D=>{U.success(D.msg||"状态更新成功")}).catch(D=>{a.status=o,U.error(D.msg||"打印机驱动状态更新失败")}).finally(()=>{h.value[a.id]=!1})}function g(){v.value=!1,k(),U.success("保存成功")}return(a,o)=>{const D=n("pages-header"),r=n("el-alert"),t=n("el-table-column"),S=n("el-tag"),I=n("el-switch"),R=n("el-button"),L=n("el-table"),M=n("el-card"),F=n("el-drawer"),N=P("auth"),B=P("db-click"),O=P("loading");return d(),W("div",null,[i(D,{class:"mb16",title:a.$route.meta.title},null,8,["title"]),i(M,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:l(()=>[i(r,{title:"在这里配置打印服务商账号和密钥;具体设备只在“设置 > 打印设置”中填写打印机 ID。",type:"info","show-icon":"",closable:!1,class:"mb20"}),A((d(),p(L,{ref:"table",data:$.value,"row-key":"name"},{default:l(()=>[i(t,{label:"驱动名称","min-width":"160"},{default:l(e=>[T("span",se,x(e.row.driver_name),1)]),_:1}),i(t,{label:"驱动标识","min-width":"140"},{default:l(e=>[i(S,null,{default:l(()=>[_(x(e.row.driver_key),1)]),_:2},1024)]),_:1}),i(t,{label:"版本",width:"110"},{default:l(e=>[_(x(e.row.driver_info&&e.row.driver_info.version||"-"),1)]),_:1}),i(t,{label:"作者",width:"120"},{default:l(e=>[_(x(e.row.driver_info&&e.row.driver_info.author||"-"),1)]),_:1}),i(t,{label:"状态",width:"120"},{default:l(e=>[A(i(I,{"active-value":1,"inactive-value":0,modelValue:e.row.status,"onUpdate:modelValue":C=>e.row.status=C,loading:h.value[e.row.id],disabled:c.value||h.value[e.row.id]||!e.row.id||!j(y)("admin-printer-driver-status"),onChange:C=>V(e.row),"active-text":"开启","inactive-text":"关闭",class:"defineSwitch"},null,8,["modelValue","onUpdate:modelValue","loading","disabled","onChange"]),[[N,["admin-printer-driver-status"]]])]),_:1}),i(t,{label:"说明","min-width":"220"},{default:l(e=>[_(x(e.row.description||e.row.driver_info&&e.row.driver_info.description||"-"),1)]),_:1}),i(t,{label:"操作",fixed:"right",width:"100",align:"center"},{default:l(e=>[j(y)("admin-printer-driver-detail")?A((d(),p(R,{key:0,type:"text",disabled:!e.row.id,onClick:C=>E(e.row)},{default:l(()=>[...o[3]||(o[3]=[_(" 配置 ",-1)])]),_:1},8,["disabled","onClick"])),[[N,["admin-printer-driver-detail"]],[B]]):z("",!0)]),_:1})]),_:1},8,["data"])),[[O,c.value]])]),_:1}),i(F,{title:b.value?"配置 - "+b.value.driver_name:"驱动配置",modelValue:v.value,"onUpdate:modelValue":o[2]||(o[2]=e=>v.value=e),direction:"rtl",size:s.value,"close-on-click-modal":!m.value,"show-close":!m.value,"close-on-press-escape":!m.value},{default:l(()=>[v.value&&b.value?(d(),p(ne,{key:0,"driver-id":b.value.id,onClose:o[0]||(o[0]=e=>v.value=!1),onSuccess:g,onSubmitting:o[1]||(o[1]=e=>m.value=e)},null,8,["driver-id"])):z("",!0)]),_:1},8,["title","modelValue","size","close-on-click-modal","show-close","close-on-press-escape"])])}}}),_e=Z(oe,[["__scopeId","data-v-8d86826e"]]);export{_e as default}; diff --git a/backend/public/admin/system_static/index-B4IpvDdX.css b/backend/public/admin/system_static/index-B4IpvDdX.css new file mode 100644 index 000000000..e7ffd8f9a --- /dev/null +++ b/backend/public/admin/system_static/index-B4IpvDdX.css @@ -0,0 +1 @@ +@charset "UTF-8";[data-v-cdee1e71]{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.left[data-v-cdee1e71]{min-width:390px;min-height:550px;position:relative;padding-left:40px}.top[data-v-cdee1e71]{position:absolute;top:0}.bottom[data-v-cdee1e71]{position:absolute;bottom:0}.textbot[data-v-cdee1e71]{position:absolute;bottom:0;left:55px;width:100%}.active[data-v-cdee1e71]{border:1px solid var(--prev-color-primary)!important;color:var(--prev-color-primary)!important}.li[data-v-cdee1e71]{float:left;width:92px;height:48px;line-height:48px;border-left:1px solid #e7e7eb;background:#fafafa;text-align:center;cursor:pointer;color:#999;position:relative}.text[data-v-cdee1e71]{height:50px;white-space:nowrap;width:100%;overflow:hidden;text-overflow:ellipsis;padding:0 5px}.text[data-v-cdee1e71]:hover{color:#000}.add[data-v-cdee1e71]{position:absolute;bottom:65px;width:100%;line-height:40px;background:#fafafa}.arrow[data-v-cdee1e71]{position:absolute;bottom:-16px;left:36px;width:0;height:0;font-size:0;border:solid 8px;border-color:#fafafa #f4f5f9 #f4f5f9 #f4f5f9}.tianjia[data-v-cdee1e71]{position:absolute;bottom:107px;width:100%;line-height:48px;background:#fafafa}.tianjia[data-v-cdee1e71] :first-child{border:none}.addadd[data-v-cdee1e71]{width:100%;line-height:40px;border-top:1px solid #f0f0f0;background:#fafafa;height:40px}.right[data-v-cdee1e71]{background:#fff;min-height:400px}.spwidth[data-v-cdee1e71]{width:100%}.userAlert[data-v-cdee1e71]{margin-top:16px!important} diff --git a/backend/public/admin/system_static/index-B4KDpYjG.js b/backend/public/admin/system_static/index-B4KDpYjG.js new file mode 100644 index 000000000..f1dc08aa4 --- /dev/null +++ b/backend/public/admin/system_static/index-B4KDpYjG.js @@ -0,0 +1 @@ +import{Z as w,k as a,u as b,y as s,z as x,j as n,C as l,am as T,an as U,s as u,B as k,$ as C,A as y,a0 as D,H as G,l as m}from"./element-plus-C_ZDq0cz.js";import{userGroupApi as H,groupAddApi as B}from"./user-Blgc2iHx.js";import{_ as M,o as E,m as O}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const R={class:"group-name"},Z=["onClick"],q=["onClick"],J={class:"acea-row row-right page"},K=Object.assign({name:"user_group"},{__name:"index",setup(Q){const $={xl:7,lg:7,md:12,sm:24,xs:24},d=m(!1),i=m({page:1,limit:15}),_=m([]),p=m(0);r();function A(){E(B(0)).then(()=>r()).catch(()=>{})}function r(){d.value=!0,H(i.value).then(async o=>{let e=o.data;_.value=e.list,p.value=e.count,d.value=!1}).catch(o=>{d.value=!1,w.error(o.msg)})}function F(o){E(B(o)).then(()=>r())}function N(o,e,g){let v={title:e,url:`user/user_group/del/${o.id}`,method:"DELETE",ids:""};O(v).then(c=>{w.success(c.msg),_.value.splice(g,1),r()}).catch(c=>{w.error(c.msg)})}return(o,e)=>{const g=a("el-button"),v=a("el-col"),c=a("el-row"),f=a("el-table-column"),V=a("el-divider"),L=a("el-table"),P=a("pagination"),j=a("el-card"),z=b("auth"),h=b("db-click"),I=b("loading");return s(),x("div",null,[n(j,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:l(()=>[n(c,{class:"action-row"},{default:l(()=>[n(v,T(U($)),{default:l(()=>[u((s(),k(g,{type:"primary",onClick:A},{default:l(()=>[...e[2]||(e[2]=[C("添加分组",-1)])]),_:1})),[[z,["admin-user-group"]],[h]])]),_:1},16)]),_:1}),u((s(),k(L,{data:_.value,ref:"table",class:"mt14","highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:l(()=>[n(f,{label:"ID",width:"120"},{default:l(t=>[y("span",null,D(t.row.id),1)]),_:1}),n(f,{label:"分组","min-width":"80"},{default:l(t=>[y("span",R,D(t.row.group_name),1)]),_:1}),n(f,{fixed:"right",label:"操作",width:"100"},{default:l(t=>[u((s(),x("a",{onClick:S=>F(t.row.id)},[...e[3]||(e[3]=[C("修改",-1)])],8,Z)),[[h]]),n(V,{direction:"vertical"}),u((s(),x("a",{onClick:S=>N(t.row,"删除分组",t.$index)},[...e[4]||(e[4]=[C("删除",-1)])],8,q)),[[h]])]),_:1})]),_:1},8,["data"])),[[I,d.value]]),y("div",J,[p.value?(s(),k(P,{key:0,total:p.value,page:i.value.page,"onUpdate:page":e[0]||(e[0]=t=>i.value.page=t),limit:i.value.limit,"onUpdate:limit":e[1]||(e[1]=t=>i.value.limit=t),onPagination:r},null,8,["total","page","limit"])):G("",!0)])]),_:1})])}}}),ae=M(K,[["__scopeId","data-v-622e4c56"]]);export{ae as default}; diff --git a/backend/public/admin/system_static/index-B63tfpEn.js b/backend/public/admin/system_static/index-B63tfpEn.js new file mode 100644 index 000000000..3682f2acd --- /dev/null +++ b/backend/public/admin/system_static/index-B63tfpEn.js @@ -0,0 +1 @@ +import{a as X,Z as M,k as s,u as I,y as i,z as p,j as t,C as a,A as d,ac as S,F as T,D as z,B as f,s as y,$ as D,a0 as m,H as V,l as u,p as ee}from"./element-plus-C_ZDq0cz.js";import{_ as le,s as ae,a as te}from"./index-DHL7RTL2.js";import{g as oe,s as ne}from"./finance-CSn9G5kh.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const se={class:"padding-add"},ie={class:"acea-row row-middle"},de={key:0,class:"z-price"},ue={key:1,class:"f-price"},re={key:0},me=["onClick"],ce={class:"acea-row row-right page"},pe={class:"dialog-footer"},_e=Object.assign({name:"cashApply"},{__name:"index",setup(ve){const{isMobile:A}=ae(te()),h=u(!1),g=u({mark:""}),w=u(!1),x=u(0),b=u(!1),Y=u([]),U=u([]),E=[{title:"全部",value:""},{title:"微信",value:"weixin"},{title:"支付宝",value:"alipay"},{title:"银行卡",value:"bank"},{title:"线下支付",value:"offline"}],o=u({trading_type:0,time:"",keywords:"",page:1,limit:15}),_=u([]),B=u(0),$=ee(()=>A.value?void 0:"80px");X(()=>{v()});function H(){h.value=!0,ne(B.value,g.value).then(n=>{M.success(n.msg),h.value=!1,w.value=!1,v()}).catch(n=>{h.value=!1,M.error(n.msg)})}function O(n){w.value=!0,B.value=n.id,g.value.mark=n.mark}function P(n){_.value=n,o.value.time=_.value?_.value.join("-"):"",o.value.page=1,v()}function L(n){o.value.page=1,v()}function v(){b.value=!0,oe(o.value).then(async n=>{let l=n.data;Y.value=l.list,x.value=l.count,U.value=l.status,b.value=!1}).catch(n=>{b.value=!1,M.error(n.msg)})}return(n,l)=>{const R=s("date-range-picker"),k=s("el-form-item"),W=s("el-option"),Z=s("el-select"),N=s("el-input"),j=s("el-button"),q=s("el-form"),F=s("el-card"),r=s("el-table-column"),G=s("el-table"),J=s("pagination"),K=s("el-dialog"),C=I("db-click"),Q=I("loading");return i(),p("div",null,[t(F,{bordered:!1,shadow:"never","body-style":{padding:0}},{default:a(()=>[d("div",se,[t(q,{ref_key:"formValidate",ref:o,model:o.value,"label-width":$.value,"label-position":"right",inline:"",onSubmit:l[3]||(l[3]=S(()=>{},["prevent"]))},{default:a(()=>[t(k,{label:"订单时间:"},{default:a(()=>[t(R,{clearable:"",modelValue:_.value,"onUpdate:modelValue":l[0]||(l[0]=e=>_.value=e),editable:!1,onChange:P,format:"YYYY/MM/DD","value-format":"YYYY/MM/DD",class:"mr20"},null,8,["modelValue"])]),_:1}),t(k,{label:"交易类型:"},{default:a(()=>[t(Z,{modelValue:o.value.status,"onUpdate:modelValue":l[1]||(l[1]=e=>o.value.status=e),onChange:L,class:"form_content_width"},{default:a(()=>[(i(!0),p(T,null,z(U.value,(e,c)=>(i(),f(W,{label:e,value:c,key:c},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(k,{label:"流水搜索:"},{default:a(()=>[d("div",ie,[t(N,{clearable:"",placeholder:"订单号/昵称/电话/用户ID",modelValue:o.value.keywords,"onUpdate:modelValue":l[2]||(l[2]=e=>o.value.keywords=e),class:"form_content_width"},null,8,["modelValue"])])]),_:1}),t(k,null,{default:a(()=>[y((i(),f(j,{type:"primary",onClick:L},{default:a(()=>[...l[8]||(l[8]=[D("查询",-1)])]),_:1})),[[C]])]),_:1})]),_:1},8,["model","label-width"])])]),_:1}),t(F,{bordered:!1,shadow:"never",class:"mt16"},{default:a(()=>[y((i(),f(G,{ref:"table",data:Y.value,class:"ivu-mt","empty-text":"暂无数据"},{default:a(()=>[t(r,{label:"交易单号",width:"180"},{default:a(e=>[d("span",null,m(e.row.flow_id),1)]),_:1}),t(r,{label:"关联订单","min-width":"120"},{default:a(e=>[d("span",null,m(e.row.order_id),1)]),_:1}),t(r,{label:"交易时间","min-width":"130"},{default:a(e=>[d("span",null,m(e.row.add_time),1)]),_:1}),t(r,{label:"交易金额","min-width":"90"},{default:a(e=>[e.row.price>=0?(i(),p("div",de,"+"+m(e.row.price),1)):V("",!0),e.row.price<0?(i(),p("div",ue,m(e.row.price),1)):V("",!0)]),_:1}),t(r,{label:"交易用户","min-width":"90"},{default:a(e=>[d("span",null,m(e.row.nickname),1)]),_:1}),t(r,{label:"支付方式","min-width":"90"},{default:a(e=>[(i(),p(T,null,z(E,c=>d("div",{key:c.value},[e.row.pay_type==c.value?(i(),p("span",re,m(c.title),1)):V("",!0)])),64))]),_:1}),t(r,{label:"备注","min-width":"90"},{default:a(e=>[d("span",null,m(e.row.mark),1)]),_:1}),t(r,{label:"操作",fixed:"right",width:"170"},{default:a(e=>[y((i(),p("a",{onClick:c=>O(e.row)},[...l[9]||(l[9]=[D("备注",-1)])],8,me)),[[C]])]),_:1})]),_:1},8,["data"])),[[Q,b.value]]),d("div",ce,[x.value?(i(),f(J,{key:0,total:x.value,page:o.value.page,"onUpdate:page":l[4]||(l[4]=e=>o.value.page=e),limit:o.value.limit,"onUpdate:limit":l[5]||(l[5]=e=>o.value.limit=e),onPagination:v},null,8,["total","page","limit"])):V("",!0)])]),_:1}),t(K,{modelValue:w.value,"onUpdate:modelValue":l[7]||(l[7]=e=>w.value=e),title:"备注","close-on-click-modal":!1,width:"540px"},{footer:a(()=>[d("span",pe,[y((i(),f(j,{type:"primary",onClick:S(H,["prevent"])},{default:a(()=>[...l[10]||(l[10]=[D("确定",-1)])]),_:1})),[[C]])])]),default:a(()=>[t(N,{modelValue:g.value.mark,"onUpdate:modelValue":l[6]||(l[6]=e=>g.value.mark=e),type:"textarea",rows:4,placeholder:"请输入备注"},null,8,["modelValue"])]),_:1},8,["modelValue"])])}}}),Ve=le(_e,[["__scopeId","data-v-46cc638f"]]);export{Ve as default}; diff --git a/backend/public/admin/system_static/index-B9KSJDOT.css b/backend/public/admin/system_static/index-B9KSJDOT.css new file mode 100644 index 000000000..a75292e35 --- /dev/null +++ b/backend/public/admin/system_static/index-B9KSJDOT.css @@ -0,0 +1 @@ +.editor[data-v-baf6271c]{width:100%;margin:0 auto}.text[data-v-baf6271c] .el-textarea__inner{min-height:600px}.text[data-v-baf6271c]{border:1px solid #ccc;min-height:600px}.bottom[data-v-49806cbd]{margin-bottom:10px;cursor:pointer}.monaco-box[data-v-49806cbd] .el-textarea__inner{height:600px}[data-v-49806cbd] .w-e-toolbar{z-index:2!important}.wang-editor[data-v-49806cbd]{border:1px solid #dcdfe6;border-radius:4px;overflow:hidden;background-color:#fff}.editor-toolbar[data-v-49806cbd]{border-bottom:1px solid #dcdfe6} diff --git a/backend/public/admin/system_static/index-B9iJncpm.js b/backend/public/admin/system_static/index-B9iJncpm.js new file mode 100644 index 000000000..721fc5a1a --- /dev/null +++ b/backend/public/admin/system_static/index-B9iJncpm.js @@ -0,0 +1 @@ +import{a as ie,Z as k,y as c,z as b,j as l,C as o,l as y,k as r,u as x,A as n,ac as se,s as m,B as h,$ as p,a0 as _,ab as U,H as I,p as A}from"./element-plus-C_ZDq0cz.js";import{_ as re,a as de,b as ue,h as me,S as ce,m as _e}from"./index-DHL7RTL2.js";import{combinationListApi as pe,combinationSetStatusApi as fe,storeCombinationApi as we}from"./api-WYxeAVAk.js";import{e as ve}from"./newToExcel-Ce_ClQ6v.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./xlsx-DvXcP_SB.js";const ge={class:"padding-add"},be={class:"tabBox_img"},he={class:"line2"},ke=["onClick"],ye=["onClick"],xe=["onClick"],Ce=["onClick"],Se={class:"acea-row row-right page"},Ve=Object.assign({name:"combinationProductList"},{__name:"index",setup(De){const R=ue(),C=me(),O=de(),S=ce.routePre,j=A(()=>O.isMobile),q=A(()=>j.value?void 0:"80px"),J=y(null),V=y(!1),d=y({is_show:"",store_name:"",page:1,limit:15}),$=y([]),E=y(0);ie(()=>{N()});async function T(){let[a,t,i,w]=[[],[],[],""],u=JSON.parse(JSON.stringify(d.value));u.page=1,u.limit=200;for(let D=0;D{we(a).then(i=>t(i.data))})}function K(){C.push({path:S+"/marketing/combination/create"})}function W(a){C.push({path:S+"/marketing/combination/create/"+a.id+"/0"})}function Z(a){C.push({path:S+"/marketing/combination/create/"+a.id+"/1"})}function F(a,t,i){let w={title:t,url:`marketing/combination/${a.id}`,method:"DELETE",ids:""};_e(w).then(u=>{k.success(u.msg),$.value.splice(i,1)}).catch(u=>{k.error(u.msg)})}function G(a){C.push({path:S+"/marketing/combination/statistics/"+a.id})}function N(){V.value=!0,d.value.product_id=R.params.product_id||"",pe(d.value).then(async a=>{$.value=a.data.list,E.value=a.data.count,V.value=!1}).catch(a=>{V.value=!1,k.error(a.msg)})}function L(){d.value.page=1,N()}function Q(a){let t={id:a.id,status:a.is_show};fe(t).then(async i=>{k.success(i.msg)}).catch(i=>{k.error(i.msg),a.is_show=!a.is_show})}return(a,t)=>{const i=r("el-option"),w=r("el-select"),u=r("el-form-item"),D=r("el-input"),f=r("el-button"),X=r("el-form"),P=r("el-card"),s=r("el-table-column"),Y=r("el-tooltip"),B=r("el-tag"),ee=r("el-switch"),M=r("el-divider"),te=r("el-table"),le=r("pagination"),v=x("db-click"),z=x("auth"),oe=x("lazy"),ae=x("viewer"),ne=x("loading");return c(),b("div",null,[l(P,{bordered:!1,shadow:"never","body-style":{padding:0}},{default:o(()=>[n("div",ge,[l(X,{ref_key:"formRef",ref:J,model:d.value,"label-width":q.value,"label-position":"right",onSubmit:t[2]||(t[2]=se(()=>{},["prevent"])),inline:""},{default:o(()=>[l(u,{label:"上架状态:"},{default:o(()=>[l(w,{modelValue:d.value.is_show,"onUpdate:modelValue":t[0]||(t[0]=e=>d.value.is_show=e),placeholder:"请选择",clearable:"",onChange:L,class:"form_content_width"},{default:o(()=>[l(i,{value:1,label:"上架"}),l(i,{value:0,label:"下架"})]),_:1},8,["modelValue"])]),_:1}),l(u,{label:"拼团搜索:",prop:"store_name"},{default:o(()=>[l(D,{clearable:"",placeholder:"请输入拼团名称/ID",modelValue:d.value.store_name,"onUpdate:modelValue":t[1]||(t[1]=e=>d.value.store_name=e),class:"form_content_width"},null,8,["modelValue"])]),_:1}),l(u,null,{default:o(()=>[m((c(),h(f,{type:"primary",onClick:L},{default:o(()=>[...t[5]||(t[5]=[p("查询",-1)])]),_:1})),[[v]])]),_:1})]),_:1},8,["model","label-width"])])]),_:1}),l(P,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:o(()=>[m((c(),h(f,{class:"action-row",type:"primary",onClick:K},{default:o(()=>[...t[6]||(t[6]=[p(" 添加拼团商品 ",-1)])]),_:1})),[[z,["marketing-store_combination-create"]],[v]]),m((c(),h(f,{class:"action-row export",onClick:T},{default:o(()=>[...t[7]||(t[7]=[p("导出",-1)])]),_:1})),[[z,["export-storeCombination"]],[v]]),m((c(),h(te,{data:$.value,"highlight-current-row":"",class:"mt14"},{default:o(()=>[l(s,{label:"ID",width:"80"},{default:o(e=>[n("span",null,_(e.row.id),1)]),_:1}),l(s,{label:"拼团图片","min-width":"90"},{default:o(e=>[m((c(),b("div",be,[m(n("img",null,null,512),[[oe,e.row.image]])])),[[ae]])]),_:1}),l(s,{label:"拼团名称","min-width":"130"},{default:o(e=>[l(Y,{placement:"top","show-after":600},{content:o(()=>[n("div",null,_(e.row.title),1)]),default:o(()=>[n("span",he,_(e.row.title),1)]),_:2},1024)]),_:1}),l(s,{label:"原价","min-width":"100"},{default:o(e=>[n("span",null,_(e.row.ot_price),1)]),_:1}),l(s,{label:"拼团价","min-width":"100"},{default:o(e=>[n("span",null,_(e.row.price),1)]),_:1}),l(s,{label:"拼团人数","min-width":"80"},{default:o(e=>[n("span",null,_(e.row.count_people),1)]),_:1}),l(s,{label:"参与人数","min-width":"80"},{default:o(e=>[n("span",null,_(e.row.count_people_all),1)]),_:1}),l(s,{label:"成团数量","min-width":"80"},{default:o(e=>[n("span",null,_(e.row.count_people_pink),1)]),_:1}),l(s,{label:"限量","min-width":"80"},{default:o(e=>[n("span",null,_(e.row.quota_show),1)]),_:1}),l(s,{label:"限量剩余","min-width":"80"},{default:o(e=>[n("span",null,_(e.row.quota),1)]),_:1}),l(s,{label:"活动状态","min-width":"100"},{default:o(e=>[m(l(B,null,{default:o(()=>[...t[8]||(t[8]=[p("进行中",-1)])]),_:1},512),[[U,e.row.start_name==="进行中"]]),m(l(B,{type:"warning"},{default:o(()=>[...t[9]||(t[9]=[p("未开始",-1)])]),_:1},512),[[U,e.row.start_name==="未开始"]]),m(l(B,{type:"info"},{default:o(()=>[...t[10]||(t[10]=[p("已结束",-1)])]),_:1},512),[[U,e.row.start_name==="已结束"]])]),_:1}),l(s,{label:"活动时间","min-width":"180"},{default:o(e=>[n("p",null,"开始:"+_(e.row.start_time),1),n("p",null,"结束:"+_(e.row.stop_time),1)]),_:1}),l(s,{label:"上架状态","min-width":"120"},{default:o(e=>[l(ee,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:e.row.is_show,"onUpdate:modelValue":g=>e.row.is_show=g,onChange:g=>Q(e.row),size:"large","active-text":"上架","inactive-text":"下架"},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),l(s,{label:"操作",fixed:"right",width:"170"},{default:o(e=>[e.row.stop_status===0?m((c(),b("a",{key:0,onClick:g=>W(e.row)},[...t[11]||(t[11]=[p("编辑",-1)])],8,ke)),[[v]]):I("",!0),e.row.stop_status===0?(c(),h(M,{key:1,direction:"vertical"})):I("",!0),m((c(),b("a",{onClick:g=>Z(e.row)},[...t[12]||(t[12]=[p("复制",-1)])],8,ye)),[[v]]),l(M,{direction:"vertical"}),m((c(),b("a",{onClick:g=>F(e.row,"删除拼团商品",e.$index)},[...t[13]||(t[13]=[p("删除",-1)])],8,xe)),[[v]]),l(M,{direction:"vertical"}),m((c(),b("a",{onClick:g=>G(e.row)},[...t[14]||(t[14]=[p("统计",-1)])],8,Ce)),[[v]])]),_:1})]),_:1},8,["data"])),[[ne,V.value]]),n("div",Se,[E.value?(c(),h(le,{key:0,total:E.value,page:d.value.page,"onUpdate:page":t[3]||(t[3]=e=>d.value.page=e),limit:d.value.limit,"onUpdate:limit":t[4]||(t[4]=e=>d.value.limit=e),onPagination:N},null,8,["total","page","limit"])):I("",!0)])]),_:1})])}}}),Pe=re(Ve,[["__scopeId","data-v-a6f89adc"]]);export{Pe as default}; diff --git a/backend/public/admin/system_static/index-BATgnXbi.js b/backend/public/admin/system_static/index-BATgnXbi.js new file mode 100644 index 000000000..d60049863 --- /dev/null +++ b/backend/public/admin/system_static/index-BATgnXbi.js @@ -0,0 +1 @@ +import{g as ae,f as oe,k as u,u as M,y as f,B as v,C as l,s as g,ac as J,j as t,A as w,z as N,$ as V,H as Q,Z as x,l as s,n as O,a0 as Z,W as ne,r as se}from"./element-plus-C_ZDq0cz.js";import{_ as ie,S as ue}from"./sortable.esm-C9jepji9.js";import{_ as de,aj as re,av as me,ag as ce,m as fe}from"./index-DHL7RTL2.js";import"./vuedraggable.umd-fTw9SVdO.js";import{u as pe}from"./order-CMbOGVbG.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./screenfull-BDHcr3-M.js";import"./order-61Db5vVU.js";const _e={class:"specifications"},ve=["onClick"],ge={class:"dialog-footer"},be=Object.assign({name:"addAttr"},{__name:"paramAdd",emits:["getList"],setup(X,{expose:q,emit:P}){const D=P,{proxy:L}=ae(),p=s(null),E=s(null),S=s(!1),C=s(!1),h=s(!1),z=s(1),o=s({id:0,name:"",sort:0,value:[]}),G=s(""),F=s(""),H=s(!1),A=s(0);oe(h,n=>{n&&O(()=>{K()})});function K(){const n=E.value.$el.querySelectorAll(".el-table__body-wrapper > table > tbody")[0];ue.create(n,{ghostClass:"sortable-ghost",handle:".handle",setData:function(e){e.setData("Text","")},onEnd:e=>{R(e.oldIndex,e.newIndex,o.value.value)}})}function R(n,e,m,U){const c=m,k=m[n],i=m[e];c[n]=i,c[e]=k,o.value.value=[],O(I=>{o.value.value=c})}function B(){let n={name:"",value:""};o.value.value.push(n)}function d(){A.value=0,$()}function a(){A.value=0,$(),h.value=!1}function b(n){o.value.value.splice(n,1)}function _(n,e){o.value.value.splice(e,1,...o.value.value.splice(n,1,o.value.value[e]))}function y(n){A.value=n.id,re(n.id).then(e=>{o.value=e.data}).catch(e=>{S.value=!1,x.error(e.msg)})}q({modal:h,getIofo:y});function W(n){p.value.validate(e=>{if(e){if(o.value.value.length===0)return x.warning("请至少添加一条商品参数!");C.value=!0,me(o.value).then(m=>{x.success(m.msg),setTimeout(()=>{h.value=!1,C.value=!1},500),setTimeout(()=>{D("getList"),$()},600)}).catch(m=>{C.value=!1,x.error(m.msg)})}else return!1})}function $(){p.value.resetFields(),o.value.value=[],o.value.name="",o.value.sort="",H.value=!1,G.value="",F.value="",A.value=0}return(n,e)=>{const m=u("el-input"),U=u("el-form-item"),c=u("el-col"),k=u("el-table-column"),i=u("el-table"),I=u("el-button"),Y=u("el-row"),ee=u("el-form"),le=u("el-dialog"),T=M("db-click"),te=M("loading");return f(),v(le,{modelValue:h.value,"onUpdate:modelValue":e[4]||(e[4]=r=>h.value=r),onClosed:d,title:"商品参数",width:"1000px"},{footer:l(()=>[w("span",ge,[g((f(),v(I,{onClick:a},{default:l(()=>[...e[8]||(e[8]=[V("取消",-1)])]),_:1})),[[T]]),g((f(),v(I,{type:"primary",loading:C.value,onClick:e[3]||(e[3]=r=>W("formDynamic"))},{default:l(()=>[...e[9]||(e[9]=[V("确定",-1)])]),_:1},8,["loading"])),[[T]])])]),default:l(()=>[g((f(),v(ee,{ref_key:"formDynamicRef",ref:p,model:o.value,class:"attrFrom","label-position":"right","label-width":"auto",onSubmit:e[2]||(e[2]=J(()=>{},["prevent"]))},{default:l(()=>[t(Y,{gutter:24},{default:l(()=>[t(c,{span:24},{default:l(()=>[t(c,{span:8},{default:l(()=>[t(U,{label:"模板名称:",prop:"rule_name"},{default:l(()=>[t(m,{placeholder:"请输入模板名称",maxlength:20,modelValue:o.value.name,"onUpdate:modelValue":e[0]||(e[0]=r=>o.value.name=r),modelModifiers:{trim:!0}},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),t(c,{span:24},{default:l(()=>[t(c,{span:8},{default:l(()=>[t(U,{label:"排序:",prop:"rule_name"},{default:l(()=>[t(m,{type:"number",placeholder:"请输入排序",maxlength:20,modelValue:o.value.sort,"onUpdate:modelValue":e[1]||(e[1]=r=>o.value.sort=r),modelModifiers:{trim:!0}},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),(f(),v(c,{span:24,class:"noForm",key:z.value},{default:l(()=>[t(U,{label:""},{default:l(()=>[w("div",_e,[t(i,{ref_key:"selectionRef",ref:E,data:o.value.value},{default:l(()=>[t(k,{width:"50"},{default:l(r=>[w("div",{class:"drag",onOnDragDrop:_},[...e[5]||(e[5]=[w("img",{class:"handle",src:ie,alt:""},null,-1)])],32)]),_:1}),t(k,{label:"参数名称","min-width":"180"},{default:l(r=>[t(m,{modelValue:r.row.name,"onUpdate:modelValue":j=>r.row.name=j},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),t(k,{label:"参数值","min-width":"180"},{default:l(r=>[t(m,{modelValue:r.row.value,"onUpdate:modelValue":j=>r.row.value=j},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),t(k,{label:"操作",fixed:"right",width:"80"},{default:l(r=>[g((f(),N("a",{class:"submission mr15",onClick:j=>b(r.$index)},[...e[6]||(e[6]=[V("删除",-1)])],8,ve)),[[T]])]),_:1})]),_:1},8,["data"]),o.value.value.length<8?g((f(),v(I,{key:0,type:"primary",class:"submission mr15 mt20",onClick:B},{default:l(()=>[...e[7]||(e[7]=[V("添加参数",-1)])]),_:1})),[[T]]):Q("",!0)])]),_:1})]),_:1}))]),_:1})]),_:1},8,["model"])),[[te,S.value]])]),_:1},8,["modelValue"])}}}),we=de(be,[["__scopeId","data-v-c0f1332d"]]),he={class:"padding-add"},ye=["onClick"],ke=["onClick"],Ve={class:"acea-row row-right page"},Ee=Object.assign({name:"paramList"},{__name:"index",setup(X){pe();const q=s(null),P=s(null),D=s(null),L=s(!1),p=se({page:1,limit:15,name:""}),E=s([]),S=s(0),C=s(new Set),h=s([]),z=s([]);R();function o(d){return d.id}function G(d){const a=[],b=[];for(let _=0;_{F()})}function F(){h.value=[...C.value].join(",")}function H(d,a){let b={title:a,url:`product/param/del/${d.id}`,method:"DELETE"};fe(b).then(_=>{x.success(_.msg),R()}).catch(_=>{x.error(_.msg)})}function A(){D.value.modal=!0}function K(d){D.value.modal=!0,D.value.getIofo(d)}function R(){L.value=!0,ce(p).then(d=>{let a=d.data;E.value=a.list,O(()=>{F()}),S.value=d.data.count,L.value=!1}).catch(d=>{L.value=!1,x.error(d.msg)})}function B(){p.page=1,R()}return(d,a)=>{const b=u("el-input"),_=u("el-form-item"),y=u("el-button"),W=u("el-form"),$=u("el-card"),n=u("el-table-column"),e=u("el-divider"),m=u("el-table"),U=u("pagination"),c=M("db-click"),k=M("loading");return f(),N("div",null,[t($,{bordered:!1,shadow:"never","body-style":{padding:0}},{default:l(()=>[w("div",he,[t(W,{ref_key:"artFromRef",ref:q,model:p,"label-width":"80px","label-position":"right",class:"tabform",onSubmit:a[1]||(a[1]=J(()=>{},["prevent"])),inline:""},{default:l(()=>[t(_,{label:"模板搜索:"},{default:l(()=>[t(b,{clearable:"",modelValue:p.name,"onUpdate:modelValue":a[0]||(a[0]=i=>p.name=i),placeholder:"请输入模板名称",class:"form_content_width"},null,8,["modelValue"])]),_:1}),t(_,null,{default:l(()=>[g((f(),v(y,{type:"primary",onClick:B},{default:l(()=>[...a[4]||(a[4]=[V("查询",-1)])]),_:1})),[[c]])]),_:1})]),_:1},8,["model"])])]),_:1}),t($,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:l(()=>[g((f(),v(y,{type:"primary",class:"action-row",onClick:A},{default:l(()=>[...a[5]||(a[5]=[V("添加商品参数",-1)])]),_:1})),[[c]]),g((f(),v(m,{ref_key:"tableRef",ref:P,data:E.value,"highlight-current-row":"","row-key":o,onSelectionChange:G,"empty-text":"暂无数据",class:"mt14"},{default:l(()=>[t(n,{label:"ID",width:"80"},{default:l(i=>[w("span",null,Z(i.row.id),1)]),_:1}),t(n,{label:"模板名称","min-width":"130"},{default:l(i=>[w("span",null,Z(i.row.name),1)]),_:1}),t(n,{label:"创建时间","min-width":"130"},{default:l(i=>[w("span",null,Z(i.row.add_time),1)]),_:1}),t(n,{label:"操作",fixed:"right",width:"120"},{default:l(i=>[g((f(),N("a",{onClick:I=>K(i.row)},[...a[6]||(a[6]=[V("编辑",-1)])],8,ye)),[[c]]),t(e,{direction:"vertical"}),g((f(),N("a",{onClick:I=>H(i.row,"删除参数",i.$index)},[...a[7]||(a[7]=[V("删除",-1)])],8,ke)),[[c]])]),_:1})]),_:1},8,["data"])),[[k,L.value]]),w("div",Ve,[S.value?(f(),v(U,{key:0,total:S.value,page:p.page,"onUpdate:page":a[2]||(a[2]=i=>p.page=i),limit:p.limit,"onUpdate:limit":a[3]||(a[3]=i=>p.limit=i),onPagination:R},null,8,["total","page","limit"])):Q("",!0)])]),_:1}),t(ne(we),{ref_key:"paramAddRef",ref:D,onGetList:B},null,512)])}}});export{Ee as default}; diff --git a/backend/public/admin/system_static/index-BBKMivHI.js b/backend/public/admin/system_static/index-BBKMivHI.js new file mode 100644 index 000000000..ac5c7bffd --- /dev/null +++ b/backend/public/admin/system_static/index-BBKMivHI.js @@ -0,0 +1 @@ +import{Z as L,y as _,z as v,j as a,C as l,l as m,k as d,u as w,A as n,ac as Z,s as r,B as y,a0 as s,$ as g,ab as B,H as q,p as G}from"./element-plus-C_ZDq0cz.js";import{_ as J,s as K,a as Q}from"./index-DHL7RTL2.js";import"./validate-a11VBqc7.js";import{e as X,f as ee}from"./marketing-BAfn8OEa.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const ae={class:"article-manager"},le={class:"padding-add"},te={class:"tabBox_img"},oe=["onClick"],ne={class:"acea-row row-right page"},ie={class:"tabBox_img"},se=Object.assign({name:"bargainPink"},{__name:"index",setup(de){const{isMobile:N}=K(Q()),j=G(()=>N.value?void 0:"80px"),b=m(!1),c=m(!1),i=m({status:"",data:"",page:1,limit:15}),C=m([]),h=m(0),p=m([]),A=m(!1),D=m([]),T=m({});f();function E(u){b.value=!0,T.value=u,ee(u.id).then(async t=>{let x=t.data;D.value=x.list,c.value=!1}).catch(t=>{c.value=!1,L.error(t.msg)})}function F(u){p.value=u||[],i.value.data=p.value[0]&&p.value?p.value.join("-"):"",i.value.page=1,f()}function f(){c.value=!0,i.value.status=i.value.status||"",X(i.value).then(async u=>{let t=u.data;C.value=t.list,h.value=u.data.count,c.value=!1}).catch(u=>{c.value=!1,L.error(u.msg)})}function P(){i.value.page=1,f()}return(u,t)=>{const x=d("date-range-picker"),M=d("el-form-item"),k=d("el-option"),$=d("el-select"),H=d("el-form"),Y=d("el-card"),o=d("el-table-column"),V=d("el-tag"),U=d("el-table"),O=d("pagination"),R=d("el-dialog"),z=w("lazy"),S=w("viewer"),W=w("db-click"),I=w("loading");return _(),v("div",ae,[a(Y,{bordered:!1,shadow:"never","body-style":{padding:0}},{default:l(()=>[n("div",le,[a(H,{model:i.value,"label-width":j.value,"label-position":"right",onSubmit:t[2]||(t[2]=Z(()=>{},["prevent"])),inline:""},{default:l(()=>[a(M,{label:"时间选择:"},{default:l(()=>[a(x,{clearable:"",modelValue:p.value,"onUpdate:modelValue":t[0]||(t[0]=e=>p.value=e),editable:!1,onChange:F,format:"YYYY/MM/DD","value-format":"YYYY/MM/DD",class:"mr20"},null,8,["modelValue"])]),_:1}),a(M,{label:"砍价状态:"},{default:l(()=>[a($,{modelValue:i.value.status,"onUpdate:modelValue":t[1]||(t[1]=e=>i.value.status=e),placeholder:"请选择",clearable:"",onChange:P,class:"form_content_width"},{default:l(()=>[a(k,{value:1,label:"进行中"}),a(k,{value:2,label:"已失败"}),a(k,{value:3,label:"已成功"})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","label-width"])])]),_:1}),a(Y,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:l(()=>[r((_(),y(U,{data:C.value,"highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:l(()=>[a(o,{label:"头像",width:"80"},{default:l(e=>[r((_(),v("div",te,[r(n("img",null,null,512),[[z,e.row.avatar]])])),[[S]])]),_:1}),a(o,{label:"发起用户","min-width":"100"},{default:l(e=>[n("span",null,s(e.row.nickname+" / "+e.row.uid),1)]),_:1}),a(o,{label:"开启时间","min-width":"110"},{default:l(e=>[n("span",null,s(e.row.add_time),1)]),_:1}),a(o,{label:"砍价商品","min-width":"300"},{default:l(e=>[n("span",null,s(e.row.title),1)]),_:1}),a(o,{label:"最低价","min-width":"60"},{default:l(e=>[n("span",null,s(e.row.bargain_price_min),1)]),_:1}),a(o,{label:"当前价","min-width":"60"},{default:l(e=>[n("span",null,s(e.row.now_price),1)]),_:1}),a(o,{label:"总砍价次数","min-width":"70"},{default:l(e=>[n("span",null,s(e.row.people_num),1)]),_:1}),a(o,{label:"剩余砍价次数","min-width":"100"},{default:l(e=>[n("span",null,s(e.row.num),1)]),_:1}),a(o,{label:"结束时间","min-width":"150"},{default:l(e=>[n("span",null,s(e.row.datatime),1)]),_:1}),a(o,{label:"状态","min-width":"100"},{default:l(e=>[r(a(V,{size:"default",type:"info"},{default:l(()=>[...t[6]||(t[6]=[g("进行中",-1)])]),_:1},512),[[B,e.row.status===1]]),r(a(V,{size:"default",type:"danger"},{default:l(()=>[...t[7]||(t[7]=[g("已失败",-1)])]),_:1},512),[[B,e.row.status===2]]),r(a(V,{size:"default"},{default:l(()=>[...t[8]||(t[8]=[g("已成功",-1)])]),_:1},512),[[B,e.row.status===3]])]),_:1}),a(o,{label:"操作",fixed:"right",width:"100"},{default:l(e=>[r((_(),v("a",{onClick:ue=>E(e.row)},[...t[9]||(t[9]=[g("查看详情",-1)])],8,oe)),[[W]])]),_:1})]),_:1},8,["data"])),[[I,c.value]]),n("div",ne,[h.value?(_(),y(O,{key:0,total:h.value,page:i.value.page,"onUpdate:page":t[3]||(t[3]=e=>i.value.page=e),limit:i.value.limit,"onUpdate:limit":t[4]||(t[4]=e=>i.value.limit=e),onPagination:f},null,8,["total","page","limit"])):q("",!0)])]),_:1}),a(R,{modelValue:b.value,"onUpdate:modelValue":t[5]||(t[5]=e=>b.value=e),class:"tableBox",title:"查看详情","close-on-click-modal":!1,width:"720px"},{default:l(()=>[r((_(),y(U,{data:D.value,"empty-text":"暂无数据","highlight-current-row":"","max-height":"600"},{default:l(()=>[a(o,{label:"用户ID",width:"80"},{default:l(e=>[n("span",null,s(e.row.uid),1)]),_:1}),a(o,{label:"用户头像","min-width":"100"},{default:l(e=>[r((_(),v("div",ie,[r(n("img",null,null,512),[[z,e.row.avatar]])])),[[S]])]),_:1}),a(o,{label:"用户名称","min-width":"100"},{default:l(e=>[n("span",null,s(e.row.nickname),1)]),_:1}),a(o,{label:"砍价金额","min-width":"100"},{default:l(e=>[n("span",null,s(e.row.price),1)]),_:1}),a(o,{label:"砍价时间","min-width":"130"},{default:l(e=>[n("span",null,s(e.row.add_time),1)]),_:1})]),_:1},8,["data"])),[[I,A.value]])]),_:1},8,["modelValue"])])}}}),we=J(se,[["__scopeId","data-v-f5ef5c4f"]]);export{we as default}; diff --git a/backend/public/admin/system_static/index-BCrO6Kuk.css b/backend/public/admin/system_static/index-BCrO6Kuk.css new file mode 100644 index 000000000..23451dc0f --- /dev/null +++ b/backend/public/admin/system_static/index-BCrO6Kuk.css @@ -0,0 +1 @@ +.page-account[data-v-8070e374]{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;background-image:url(/admin/system_static/kfbg_2-BJ0R6ko4.jpg);background-size:cover;background-position:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100vh;overflow:auto}.page-account .content[data-v-8070e374]{height:400px;margin-right:100px}.page-account .content .desc[data-v-8070e374]{color:#fff}.page-account .content .desc .tit[data-v-8070e374]{font-size:40px;font-weight:600}.page-account .content .desc .kefu[data-v-8070e374]{margin-top:30px;font-weight:500;font-size:20px}.page-account .content img[data-v-8070e374]{width:360px;margin-left:-100px}.code-box[data-v-8070e374]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.code-box .qrcode[data-v-8070e374]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:180px;height:180px;border:1px solid #e5e5e6}.code-box .rxpired-box[data-v-8070e374]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:160px;height:160px;background:#0009}.code-box .rxpired-box p[data-v-8070e374]{margin-bottom:10px;font-size:15px;color:#fff}.page-account-top-logo[data-v-8070e374]{color:#000;font-size:21px}.wrapper-box[data-v-8070e374]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100vh}.wrapper-box .foot-box[data-v-8070e374]{padding:20px;font-size:14px;color:#666;text-align:right;-webkit-box-sizing:border-box;box-sizing:border-box}.wrapper-box .foot-box a[data-v-8070e374]{margin-left:0;color:#666}.page-account[data-v-8070e374]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1}.page-account .code[data-v-8070e374]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.page-account .code .pictrue[data-v-8070e374]{height:40px}.swiperPross[data-v-8070e374]{border-radius:6px 0 0 6px}.swiperPross[data-v-8070e374],.swiperPic[data-v-8070e374],.swiperPic img[data-v-8070e374]{width:510px;height:100%}.swiperPic img[data-v-8070e374]{width:100%;height:100%}.container[data-v-8070e374]{height:400px!important;padding:0!important;border-radius:6px;z-index:1;display:-webkit-box;display:-ms-flexbox;display:flex}.containerSamll[data-v-8070e374]{width:384px!important;background:#fff!important}.containerBig[data-v-8070e374]{width:90%;padding-bottom:20px;margin-top:84px;background:#f7f7f7!important;height:auto!important;-webkit-box-shadow:0px 3px 20px rgba(0,20,41,.06);box-shadow:0 3px 20px #0014290f}.index_from[data-v-8070e374]{position:relative;padding:40px 40px 32px;height:400px;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.containerBig .index_from[data-v-8070e374]{padding:20px;height:auto!important}.index_from .qh_box[data-v-8070e374]{position:absolute;right:12px;top:0;cursor:pointer}.index_from .qh_box .iconfont[data-v-8070e374]{color:#265bed;font-size:36px}.page-account-top[data-v-8070e374]{padding:20px 0 50px!important;-webkit-box-sizing:border-box!important;box-sizing:border-box!important;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.page-account-container[data-v-8070e374]{border-radius:0 6px 6px 0}.btn[data-v-8070e374]{width:100%;background:#265bed}.captchaBox[data-v-8070e374]{width:310px}input[data-v-8070e374]{display:block;width:290px;line-height:40px;margin:10px 0;padding:0 10px;outline:none;border:1px solid #c8cccf;border-radius:4px;color:#6a6f77}#msg[data-v-8070e374]{width:100%;line-height:40px;font-size:14px;text-align:center}a[data-v-8070e374]:link,a[data-v-8070e374]:visited,a[data-v-8070e374]:hover,a[data-v-8070e374]:active{margin-left:100px;color:#0366d6}.index_from[data-v-8070e374] .ivu-input-large{font-size:14px!important}@media screen and (min-width: 320px) and (max-width: 960px){.page-account{background-image:url(/admin/system_static/m_bg-EVbOGZhz.png)!important;background-size:100% auto!important;background-repeat:no-repeat;background-position:left top!important;display:-webkit-box;display:-ms-flexbox;display:flex}.wrapper-box .foot-box{text-align:center!important}.content{display:none}.index_from{-webkit-box-shadow:0px 3px 20px rgba(0,20,41,.06);box-shadow:0 3px 20px #0014290f;background:#fff}.wrapper-box .foot-box{padding:20px 66px!important;color:#adadad!important;font-size:.22rem!important}.containerBig{width:86%!important;border-radius:.2rem!important;overflow:hidden}.btn{background:-webkit-gradient(linear,left top,right top,from(#3875ea),to(#1890fc))!important;background:linear-gradient(90deg,#3875ea,#1890fc)!important;border-radius:.41rem}.ivu-input{border:1px solid #dcdee2;-webkit-appearance:none;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}} diff --git a/backend/public/admin/system_static/index-BCyf9cRk.js b/backend/public/admin/system_static/index-BCyf9cRk.js new file mode 100644 index 000000000..e916f7075 --- /dev/null +++ b/backend/public/admin/system_static/index-BCyf9cRk.js @@ -0,0 +1 @@ +import{a as q,Z as V,k as s,u as U,y as d,z as v,j as t,C as l,A as u,ac as G,F as J,D as K,B as b,s as x,a0 as m,$ as j,H as Q,l as i,p as X}from"./element-plus-C_ZDq0cz.js";import{_ as ee,s as ae,a as le}from"./index-DHL7RTL2.js";import{n as te,o as oe}from"./finance-CSn9G5kh.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const ne={class:"padding-add"},se={key:0,class:"z-price"},ie={key:1,class:"f-price"},de=["onClick"],ue={class:"acea-row row-right page"},re={class:"dialog-footer"},me=Object.assign({name:"balance"},{__name:"index",setup(ce){const{isMobile:L}=ae(le()),k=i(!1),c=i({mark:""}),f=i(!1),w=i(0),g=i(!1),M=i([]),y=i([]),n=i({trading_type:"",time:"",keywords:"",page:1,limit:15}),_=i([]),C=i(0),N=X(()=>L.value?void 0:"80px");q(()=>{p()});function I(){k.value=!0,c.value.mark=c.value.mark.trim(),oe(C.value,c.value).then(async o=>{V.success(o.msg),k.value=!1,f.value=!1,p()}).catch(o=>{k.value=!1,V.error(o.msg)})}function O(o){f.value=!0,C.value=o.id,c.value.mark=o.mark}function S(o){_.value=o,n.value.time=_.value?_.value.join("-"):"",n.value.page=1,p()}function T(o){n.value.page=1,n.value.trading_type=o,p()}function p(){g.value=!0,te(n.value).then(async o=>{let a=o.data;M.value=a.list,w.value=a.count,y.value=a.status,g.value=!1}).catch(o=>{g.value=!1,V.error(o.msg)})}return(o,a)=>{const z=s("date-range-picker"),D=s("el-form-item"),E=s("el-option"),F=s("el-select"),$=s("el-form"),Y=s("el-card"),r=s("el-table-column"),A=s("el-table"),H=s("pagination"),P=s("el-input"),R=s("el-button"),W=s("el-dialog"),B=U("db-click"),Z=U("loading");return d(),v("div",null,[t(Y,{bordered:!1,shadow:"never",class:"ivu-mb-16","body-style":{padding:0}},{default:l(()=>[u("div",ne,[t($,{ref_key:"formValidate",ref:n,model:n.value,"label-width":N.value,"label-position":"right",inline:"",onSubmit:a[2]||(a[2]=G(()=>{},["prevent"]))},{default:l(()=>[t(D,{label:"订单时间:"},{default:l(()=>[t(z,{clearable:"",modelValue:_.value,"onUpdate:modelValue":a[0]||(a[0]=e=>_.value=e),editable:!1,onChange:S,format:"YYYY/MM/DD","value-format":"YYYY/MM/DD",class:"mr20"},null,8,["modelValue"])]),_:1}),t(D,{label:"交易类型:"},{default:l(()=>[t(F,{clearable:"",modelValue:n.value.trading_type,"onUpdate:modelValue":a[1]||(a[1]=e=>n.value.trading_type=e),onChange:T,class:"form_content_width"},{default:l(()=>[(d(!0),v(J,null,K(Object.values(y.value),(e,h)=>(d(),b(E,{label:e,value:Object.keys(y.value)[h],key:h},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","label-width"])])]),_:1}),t(Y,{bordered:!1,shadow:"never"},{default:l(()=>[x((d(),b(A,{ref:"table",data:M.value,"empty-text":"暂无数据"},{default:l(()=>[t(r,{label:"ID",width:"70"},{default:l(e=>[u("span",null,m(e.row.id),1)]),_:1}),t(r,{label:"关联订单","min-width":"120"},{default:l(e=>[u("span",null,m(e.row.relation),1)]),_:1}),t(r,{label:"交易时间","min-width":"100"},{default:l(e=>[u("span",null,m(e.row.add_time),1)]),_:1}),t(r,{label:"交易金额","min-width":"100"},{default:l(e=>[e.row.pm?(d(),v("div",se,"+ "+m(e.row.number),1)):(d(),v("div",ie,"- "+m(e.row.number),1))]),_:1}),t(r,{label:"用户","min-width":"100"},{default:l(e=>[u("span",null,m(e.row.nickname),1)]),_:1}),t(r,{label:"交易类型","min-width":"100"},{default:l(e=>[u("span",null,m(e.row.type_name),1)]),_:1}),t(r,{label:"备注","min-width":"100"},{default:l(e=>[u("span",null,m(e.row.mark),1)]),_:1}),t(r,{label:"操作",fixed:"right",width:"70"},{default:l(e=>[x((d(),v("a",{onClick:h=>O(e.row)},[...a[7]||(a[7]=[j("备注",-1)])],8,de)),[[B]])]),_:1})]),_:1},8,["data"])),[[Z,g.value]]),u("div",ue,[w.value?(d(),b(H,{key:0,total:w.value,page:n.value.page,"onUpdate:page":a[3]||(a[3]=e=>n.value.page=e),limit:n.value.limit,"onUpdate:limit":a[4]||(a[4]=e=>n.value.limit=e),onPagination:p},null,8,["total","page","limit"])):Q("",!0)])]),_:1}),t(W,{modelValue:f.value,"onUpdate:modelValue":a[6]||(a[6]=e=>f.value=e),title:"备注","close-on-click-modal":!1,width:"540px"},{footer:l(()=>[u("span",re,[x((d(),b(R,{type:"primary",onClick:I},{default:l(()=>[...a[8]||(a[8]=[j("确 定",-1)])]),_:1})),[[B]])])]),default:l(()=>[t(P,{modelValue:c.value.mark,"onUpdate:modelValue":a[5]||(a[5]=e=>c.value.mark=e),type:"textarea",rows:4,placeholder:"请输入备注"},null,8,["modelValue"])]),_:1},8,["modelValue"])])}}}),ke=ee(me,[["__scopeId","data-v-397efefa"]]);export{ke as default}; diff --git a/backend/public/admin/system_static/index-BFJwPq9k.js b/backend/public/admin/system_static/index-BFJwPq9k.js new file mode 100644 index 000000000..aa0b7cba4 --- /dev/null +++ b/backend/public/admin/system_static/index-BFJwPq9k.js @@ -0,0 +1 @@ +import{a as g,k as t,y as l,z as b,j as a,C as r,A as x,B as m,W as c,H as u,l as o}from"./element-plus-C_ZDq0cz.js";import{_ as B,c as k,B as y}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const V=Object.assign({name:"system_file"},{__name:"index",setup(w){const d=o(null),e=o("img"),s=o(12),p=o(!1);return g(()=>{p.value=!0}),(L,n)=>{const i=t("el-tab-pane"),_=t("el-tabs"),f=t("el-card");return l(),b("div",null,[a(f,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:r(()=>[a(_,{modelValue:e.value,"onUpdate:modelValue":n[0]||(n[0]=v=>e.value=v)},{default:r(()=>[a(i,{name:"img",label:"图片管理"}),a(i,{name:"video",label:"视频管理"})]),_:1},8,["modelValue"]),x("div",{class:"box",ref_key:"picBox",ref:d},[e.value==="img"?(l(),m(c(k),{key:0,isPage:!0,isShow:0,pageLimit:s.value},null,8,["pageLimit"])):u("",!0),e.value==="video"?(l(),m(c(y),{key:1,isPage:!0,isShow:0,pageLimit:s.value},null,8,["pageLimit"])):u("",!0)],512)]),_:1})])}}}),M=B(V,[["__scopeId","data-v-9f2d8f4a"]]);export{M as default}; diff --git a/backend/public/admin/system_static/index-BGBlkmqT.css b/backend/public/admin/system_static/index-BGBlkmqT.css new file mode 100644 index 000000000..4af05f8aa --- /dev/null +++ b/backend/public/admin/system_static/index-BGBlkmqT.css @@ -0,0 +1 @@ +[data-v-d3df05fd] .el-card__body{padding:0}.btn[data-v-d3df05fd]{cursor:pointer;color:var(--prev-color-primary);font-size:12px}.confignv[data-v-d3df05fd]{margin:10px 0;overflow-wrap:anywhere}.configtit[data-v-d3df05fd]{display:inline-block;width:90px;text-align:right}.copy[data-v-d3df05fd]{padding:3px 5px;border:1px solid var(--prev-border-color-base);border-radius:4px;color:var(--prev-color-text-regular);cursor:pointer;margin-left:5px}.copy[data-v-d3df05fd]:hover{border-color:var(--prev-color-primary);color:var(--prev-color-primary)}.mt16[data-v-d3df05fd]{margin-top:16px}.mb20[data-v-d3df05fd]{margin-bottom:20px}.form-tip[data-v-d3df05fd]{color:var(--prev-color-text-secondary);font-size:12px;line-height:1.5;margin-top:5px}.storage-toolbar[data-v-d3df05fd]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:14px}.storage-toolbar .el-button[data-v-d3df05fd]{margin:0}.storage-toolbar .el-button[data-v-d3df05fd]:last-child{margin-left:auto}.upload-driver-storage .page[data-v-d3df05fd],.upload-driver-storage[data-v-d3df05fd] .pagination-container{max-width:100%;min-width:0}@media (max-width: 576px){.upload-driver-storage[data-v-d3df05fd] .pagination-container{width:100%}.upload-driver-storage[data-v-d3df05fd] .el-pagination{-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;gap:8px}.upload-driver-storage[data-v-d3df05fd] .el-pager{-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;max-width:100%}.storage-toolbar .el-button[data-v-d3df05fd]:last-child{margin-left:0}.storage-form[data-v-d3df05fd] .el-form-item{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;min-width:0}.storage-form[data-v-d3df05fd] .el-form-item__label{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.storage-form[data-v-d3df05fd] .el-form-item__content{width:100%;min-width:0}}.form-tip[data-v-09d10f0d]{color:var(--prev-color-text-secondary);font-size:12px;line-height:1.5;margin-top:5px}.form-footer[data-v-09d10f0d]{padding:20px;text-align:center;border-top:1px solid #e8e8e8;margin-top:20px}[data-v-09d10f0d] .el-tabs__content{padding-top:0}[data-v-09d10f0d] .el-tab-pane{padding:0}[data-v-09d10f0d] .el-card{margin:0}[data-v-09d10f0d] .el-tabs__item{height:54px!important;line-height:54px!important}.help-doc[data-v-09d10f0d]{padding:15px 20px;background:#f5f7fa;border-radius:4px}.help-doc .help-doc-link[data-v-09d10f0d]{margin-bottom:12px;font-size:14px}.help-doc .help-doc-link a[data-v-09d10f0d]{color:#409eff;text-decoration:none}.help-doc .help-doc-link a[data-v-09d10f0d]:hover{text-decoration:underline}.help-doc .help-doc-steps .help-doc-step[data-v-09d10f0d]{font-size:13px;color:#606266;line-height:2;padding-left:10px}.mb20[data-v-09d10f0d]{margin-bottom:20px}.mt16[data-v-09d10f0d]{margin-top:16px}.thumb-config[data-v-09d10f0d]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap}.thumb-config .thumb-item[data-v-09d10f0d]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:30px;margin-bottom:20px}.thumb-config .thumb-item .thumb-label[data-v-09d10f0d]{width:80px;text-align:center;font-size:13px}.thumb-config .thumb-item .thumb-label .thumb-img[data-v-09d10f0d]{width:70px;height:51px;display:block;margin:0 auto 8px}.thumb-config .thumb-item .thumb-fields[data-v-09d10f0d]{width:300px;margin-left:15px}.watermark-config .watermark-row[data-v-09d10f0d]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.watermark-config .watermark-row .el-form-item[data-v-09d10f0d]{margin-right:20px}.picBox[data-v-09d10f0d]{display:inline-block;cursor:pointer}.picBox .pictrue[data-v-09d10f0d]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:10px}.picBox .pictrue img[data-v-09d10f0d]{width:100%;height:100%}.picBox .upLoad[data-v-09d10f0d]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:#00000005;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.position-container[data-v-09d10f0d]{display:-webkit-box;display:-ms-flexbox;display:flex}.position-container .positionBox[data-v-09d10f0d]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;width:100px;height:99px;border-right:1px solid #dddddd}.position-container .positionBox .position-item[data-v-09d10f0d]{width:33px;height:33px;border:1px solid #dddddd;cursor:pointer}.position-container .positionBox .position-item.active[data-v-09d10f0d]{background:#1890ff1a}.position-container .position-label[data-v-09d10f0d]{width:30px;margin-top:70px;margin-left:6px;font-size:12px}@media (max-width: 576px){.upload-driver-edit[data-v-09d10f0d] .el-form-item{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;min-width:0}.upload-driver-edit[data-v-09d10f0d] .el-form-item__label{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.upload-driver-edit[data-v-09d10f0d] .el-form-item__content{width:100%;min-width:0}.thumb-config .thumb-item[data-v-09d10f0d]{width:100%;min-width:0;margin-right:0}.thumb-config .thumb-item .thumb-label[data-v-09d10f0d]{-webkit-box-flex:0;-ms-flex:0 0 80px;flex:0 0 80px}.thumb-config .thumb-item .thumb-fields[data-v-09d10f0d]{-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0;width:auto;min-width:0}.watermark-config .watermark-row .el-form-item[data-v-09d10f0d]{width:100%;margin-right:0}}.font-weight-bold[data-v-da4a9a56]{font-weight:700}.mt16[data-v-da4a9a56]{margin-top:16px}.mb20[data-v-da4a9a56]{margin-bottom:20px}@media (max-width: 576px){.upload-driver-drawer[data-v-da4a9a56] .el-drawer__body{padding:20px 16px}} diff --git a/backend/public/admin/system_static/index-BJFZQU9r.css b/backend/public/admin/system_static/index-BJFZQU9r.css new file mode 100644 index 000000000..9440b4383 --- /dev/null +++ b/backend/public/admin/system_static/index-BJFZQU9r.css @@ -0,0 +1 @@ +.content_width[data-v-ddf1f17e]{width:460px}.grey[data-v-ddf1f17e]{color:#999;font-size:12px}.maxW[data-v-ddf1f17e] .ivu-select-dropdown{max-width:600px}.ivu-table-wrapper[data-v-ddf1f17e]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.tabBox_img[data-v-ddf1f17e]{width:50px;height:50px}.tabBox_img img[data-v-ddf1f17e]{width:100%;height:100%}.priceBox[data-v-ddf1f17e]{width:100%}.form .picBox[data-v-ddf1f17e]{display:inline-block;cursor:pointer}.form .pictrue[data-v-ddf1f17e]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:15px;display:inline-block;position:relative;cursor:pointer}.form .pictrue img[data-v-ddf1f17e]{width:100%;height:100%}.form .pictrue .btndel[data-v-ddf1f17e]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.form .upLoad[data-v-ddf1f17e]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer}.form .col[data-v-ddf1f17e]{color:#2d8cf0;cursor:pointer}.addfont[data-v-ddf1f17e]{font-size:12px;color:var(--prev-color-primary);margin-left:10px;cursor:pointer} diff --git a/backend/public/admin/system_static/index-BJjGkk2i.js b/backend/public/admin/system_static/index-BJjGkk2i.js new file mode 100644 index 000000000..e445153d4 --- /dev/null +++ b/backend/public/admin/system_static/index-BJjGkk2i.js @@ -0,0 +1 @@ +import{Z as S,a as Oe,y as a,z as v,A as T,l as U,g as Ye,k as c,u as Ce,j as n,C as l,F as Y,D as ee,B as d,s as _,$ as V,H as C,ab as xe,f as Te,a2 as De,a0 as g,ac as Se,a1 as Ee,W as et,n as tt,ad as Ie,p as Ne}from"./element-plus-C_ZDq0cz.js";import{w as te,al as ze,S as lt,g as Ue,_ as we,a as at,o as Fe}from"./index-DHL7RTL2.js";import{V as he,A as nt}from"./vue-tree-list.es-Ci9W7bTx.js";import{e as ot}from"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function ut(m){return te({url:`system/route/sync_route/${m}`,method:"get"})}function dt(m){return te({url:`system/route_cate/create?app_name=${m}`,method:"get"})}function it(m){return te({url:`system/route/tree?app_name=${m}`,method:"get"})}function Le(m){return te({url:`system/route/${m.id}`,method:"post",data:m})}function rt(m){return te({url:`system/route/${m}`,method:"get"})}function st(m,E){return te({url:`system/route_cate/${m}/edit?app_name=${E}`,method:"get"})}function pt(m){return te({url:"setting/system_out_interface/edit_name",method:"PUT",data:m})}function mt(m){return te({url:"system/route/"+m,method:"delete"})}function ft(m){return te({url:"system/route_cate/"+m,method:"delete"})}const $e=ze.create({baseURL:lt.apiBaseURL,timeout:1e4});ze.defaults.withCredentials=!0;$e.interceptors.request.use(m=>{m.file?m.headers["Content-Type"]="multipart/form-data":m.headers["Content-Type"]="application/json;charset=UTF-8";try{if(m.headerItem)for(let F in m.headerItem)m.headers[F]=m.headerItem[F]}catch(F){}const E=Ue("token"),M=Ue("kefu_token");return(E||M)&&(m.headers["Authori-zation"]=m.kefu?"Bearer "+M:"Bearer "+E),m},m=>Promise.reject(m));$e.interceptors.response.use(m=>{let E={};switch(m.data&&(typeof m.data=="string"?E=JSON.parse(m.data):E=m.data),m.data?E.status:0){case 200:return E;default:return Promise.reject(E||{msg:"未知错误"})}},m=>{S.error("接口异常")});const ct={class:"monaco-container"},vt={__name:"MonacoEditor",props:{codes:{type:String,default:function(){return""}},readOnly:{type:Boolean,default:function(){return!1}},editorOptions:{type:Object,default:function(){return{selectOnLineNumbers:!0,roundedSelection:!1,readOnly:!1,cursorStyle:"line",automaticLayout:!1,glyphMargin:!0,useTabStops:!1,fontSize:28,autoIndent:!0}}}},setup(m,{expose:E}){const M=m,F=U(null);let z=null;return Oe(()=>{z=ot.create(F.value,{...M.editorOptions,readOnly:M.readOnly,value:M.codes,language:"json",theme:"vs",automaticLayout:!0,scrollbar:{verticalScrollbarSize:4,horizontalScrollbarSize:10},lineNumbersMinChars:5}),setTimeout(()=>{z.trigger("anyString","editor.action.formatDocument"),z.setValue(z.getValue())},100)}),E({monacoEditor:()=>z}),(H,P)=>(a(),v("div",ct,[T("div",{ref_key:"container",ref:F,class:"monaco-editor"},null,512)]))}},yt=we(vt,[["__scopeId","data-v-96a738dd"]]),bt={key:0,class:"content"},_t={class:"head"},kt={class:"params"},Vt={key:1},gt={key:0,class:"res mt10 mb10"},xt={__name:"debugging",props:{formValidate:{type:Object,default:()=>({})},requestTypeList:{type:Array,default:()=>[]},typeList:{type:Array,default:()=>[]},apiType:{type:String,default:"adminapi"}},setup(m){const E=m,{proxy:M}=Ye(),F=U(null),z=U(null),H=U(null),P={xTable:F,yTable:z,zTable:H},W=U("form-data"),N=U(void 0),Z=U("Params"),R=U(""),f=U("");function re(p,o,y,k,h){return $e({url:p,method:o,params:y,data:k,headerItem:h})}async function oe(p,o,y){if(p.value!=="array"&&p.value!=="object"&&o.children.length){let k=P[y].value.getTableData().tableData,h=o.children[0].parentId;const I=P[y].value;for(let $=0;${S.success("复制成功")}).catch(p=>{S.error("复制失败")})}async function ye(){let p,o,y,k,h;p=E.apiType+"/"+N.value.path,o=N.value.method,y=G(await F.value.getTableData().tableData||[]),k=W.value==="json"?f.value:G(await z.value.getTableData().tableData||[]),h=G(await H.value.getTableData().tableData||[]),R.value="",re(p,o,y,k,h).then($=>{if(!$)return S.error("接口异常");R.value=JSON.stringify($)}).catch($=>{if(!$)return S.error("接口异常");R.value=JSON.stringify($)})}function G(p){try{let o={};return p.map(y=>{if(!y.parentId){for(let k in y)if(k=="attribute")if(y.type==="object"){let h={};y.children.map((I,$)=>{h=de(I,1)}),o[y[k]]=h}else if(y.type!=="array")o[y[k]]=y.value||"";else{let h=[];y.children.map((I,$)=>{h[$]=de(I)}),o[y[k]]=h}}}),o}catch(o){}}function de(p,o){let y={};for(let k in p)if(k=="attribute")if(p.type==="object"){let h={};p.children.map((I,$)=>{h[p.attribute]=de(I)}),y=h}else if(p.type!=="array")o?y[p.attribute]=p.value||"":y[p[k]]=p.value||"";else{let h=[];p.children.map((I,$)=>{h[$]=de(I)}),y[p[k]]=h}return y}function ie(p){}async function le(p,o){const y=P[p].value;let k;p=="xTable"?k={attribute:"",type:"string",must:0,value:"",trip:""}:p=="yTable"?k={attribute:"",type:"string",value:"",must:0,trip:""}:p=="zTable"?(k={attribute:"",type:"",value:"",trip:""},k={...k,...o}):p=="zaTable"?k={attribute:"token",type:"string",value:"",must:0,trip:""}:k={code:"",value:"",solution:""};const{row:h}=await y.insertAt(k,-1);await y.setActiveCell(h,"name")}async function ue(p,o){const y=P[o].value;let k;o=="xTable"?k={attribute:"",type:"string",must:0,value:"",trip:"",id:Date.now(),parentId:p.id}:k={code:"",value:"",solution:"",id:Date.now(),parentId:p.id};const{row:h}=await y.insertAt(k,-1);await y.setTreeExpand(p,!0),await y.setActiveRow(h)}async function K(p,o){await P[o].value.remove(p)}return N.value=E.formValidate,N.value.request_body=JSON.parse(JSON.stringify(N.value.request)),Oe(()=>{!H.value.getTableData().tableData.length&&E.apiType=="adminapi"?le("zTable",{attribute:"Authori-Zation",value:"Bearer "+Ue("token")}):N.value.header&&N.value.header.forEach((p,o)=>{le("zTable",{attribute:p.attribute||"",value:p.value||""})})}),(p,o)=>{const y=c("el-option"),k=c("el-select"),h=c("el-input"),I=c("el-button"),$=c("el-tab-pane"),be=c("el-tabs"),B=c("vxe-input"),L=c("vxe-column"),se=c("vxe-option"),me=c("vxe-select"),j=c("vxe-button"),ae=c("vxe-table"),ne=c("el-radio"),_e=c("el-radio-group"),q=Ce("db-click");return N.value?(a(),v("div",bt,[T("div",_t,[n(h,{modelValue:N.value.path,"onUpdate:modelValue":o[1]||(o[1]=r=>N.value.path=r)},{prepend:l(()=>[n(k,{modelValue:N.value.method,"onUpdate:modelValue":o[0]||(o[0]=r=>N.value.method=r),style:{width:"120px"}},{default:l(()=>[(a(!0),v(Y,null,ee(m.requestTypeList,(r,b)=>(a(),d(y,{key:b,value:r.value,label:r.label},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1},8,["modelValue"]),_((a(),d(I,{class:"ml20",type:"primary",onClick:ye},{default:l(()=>[...o[9]||(o[9]=[V("请求",-1)])]),_:1})),[[q]]),R.value?_((a(),d(I,{key:0,class:"ml10 copy-btn",type:"success",onClick:o[2]||(o[2]=r=>i())},{default:l(()=>[...o[10]||(o[10]=[V("复制结果",-1)])]),_:1})),[[q]]):C("",!0)]),T("div",kt,[n(be,{class:"mt10",modelValue:Z.value,"onUpdate:modelValue":o[3]||(o[3]=r=>Z.value=r),onTabClick:ie},{default:l(()=>[n($,{label:"Params",name:"Params"}),n($,{label:"Body",name:"Body"}),n($,{label:"Header",name:"Header"})]),_:1},8,["modelValue"]),_(T("div",null,[n(ae,{class:"mt10","show-overflow":"","keep-source":"",ref_key:"xTable",ref:F,"print-config":{},"export-config":{},"tree-config":{transform:!0,rowField:"id",parentField:"parentId"},data:N.value.query,"row-config":{keyField:"id"},"column-config":{resizable:!0}},{default:l(()=>[n(L,{field:"attribute",width:"150",title:"属性","tree-node":"","edit-render":{}},{default:l(({row:r})=>[n(B,{modelValue:r.attribute,"onUpdate:modelValue":b=>r.attribute=b,type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),n(L,{field:"value",title:"参数值","edit-render":{}},{default:l(({row:r})=>[n(B,{modelValue:r.value,"onUpdate:modelValue":b=>r.value=b,type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),n(L,{field:"type",title:"类型",width:"120","edit-render":{}},{default:l(({row:r})=>[n(me,{modelValue:r.type,"onUpdate:modelValue":b=>r.type=b,transfer:"",onChange:b=>{oe(b,r,"xTable")}},{default:l(()=>[(a(!0),v(Y,null,ee(m.typeList,b=>(a(),d(se,{key:b.value,value:b.value,label:b.label},null,8,["value","label"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),n(L,{title:"操作",width:"120"},{default:l(({row:r})=>[["array","object"].includes(r.type)?_((a(),d(j,{key:0,type:"text",status:"primary",onClick:b=>ue(r,"xTable")},{default:l(()=>[...o[11]||(o[11]=[V("插入",-1)])]),_:1},8,["onClick"])),[[q]]):C("",!0),_((a(),d(j,{type:"text",status:"primary",onClick:b=>K(r,"xTable")},{default:l(()=>[...o[12]||(o[12]=[V("删除",-1)])]),_:1},8,["onClick"])),[[q]])]),_:1})]),_:1},8,["data"]),_((a(),d(I,{class:"mt10",type:"primary",onClick:o[4]||(o[4]=r=>le("xTable"))},{default:l(()=>[...o[13]||(o[13]=[V("添加参数",-1)])]),_:1})),[[q]])],512),[[xe,Z.value==="Params"]]),_(T("div",null,[n(_e,{modelValue:W.value,"onUpdate:modelValue":o[5]||(o[5]=r=>W.value=r),class:"mt10"},{default:l(()=>[n(ne,{label:"form-data",value:"form-data"}),n(ne,{label:"json",value:"json"})]),_:1},8,["modelValue"]),W.value=="form-data"?(a(),d(ae,{key:0,class:"mt10","show-overflow":"","keep-source":"",ref_key:"yTable",ref:z,"print-config":{},"export-config":{},"tree-config":{transform:!0,rowField:"id",parentField:"parentId"},data:N.value.request_body,"row-config":{keyField:"id"},"column-config":{resizable:!0}},{default:l(()=>[n(L,{field:"attribute",width:"150",title:"属性","tree-node":"","edit-render":{}},{default:l(({row:r})=>[n(B,{modelValue:r.attribute,"onUpdate:modelValue":b=>r.attribute=b,type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),n(L,{field:"value",title:"参数值","edit-render":{}},{default:l(({row:r})=>[n(B,{modelValue:r.value,"onUpdate:modelValue":b=>r.value=b,type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),n(L,{field:"type",title:"类型",width:"120","edit-render":{}},{default:l(({row:r})=>[n(me,{modelValue:r.type,"onUpdate:modelValue":b=>r.type=b,transfer:"",onChange:b=>{oe(b,r,"yTable")}},{default:l(()=>[(a(!0),v(Y,null,ee(m.typeList,b=>(a(),d(se,{key:b.value,value:b.value,label:b.label},null,8,["value","label"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),n(L,{title:"操作",width:"120"},{default:l(({row:r})=>[["array","object"].includes(r.type)?_((a(),d(j,{key:0,type:"text",status:"primary",onClick:b=>ue(r,"yTable")},{default:l(()=>[...o[14]||(o[14]=[V("插入",-1)])]),_:1},8,["onClick"])),[[q]]):C("",!0),_((a(),d(j,{type:"text",status:"primary",onClick:b=>K(r,"yTable")},{default:l(()=>[...o[15]||(o[15]=[V("删除",-1)])]),_:1},8,["onClick"])),[[q]])]),_:1})]),_:1},8,["data"])):(a(),v("div",Vt,[n(h,{modelValue:f.value,"onUpdate:modelValue":o[6]||(o[6]=r=>f.value=r),type:"textarea",rows:8,placeholder:"请求数据"},null,8,["modelValue"])])),W.value=="form-data"?_((a(),d(I,{key:2,class:"mt10",type:"primary",onClick:o[7]||(o[7]=r=>le("yTable"))},{default:l(()=>[...o[16]||(o[16]=[V("添加参数",-1)])]),_:1})),[[q]]):C("",!0)],512),[[xe,Z.value==="Body"]]),_(T("div",null,[n(ae,{class:"mt10","show-overflow":"","keep-source":"",ref_key:"zTable",ref:H,"print-config":{},"export-config":{},"tree-config":{transform:!0,rowField:"id",parentField:"parentId"},data:N.value.headerData,"row-config":{keyField:"id"},"column-config":{resizable:!0}},{default:l(()=>[n(L,{field:"attribute",width:"300",title:"属性","tree-node":"","edit-render":{}},{default:l(({row:r})=>[n(B,{modelValue:r.attribute,"onUpdate:modelValue":b=>r.attribute=b,type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),n(L,{field:"value",title:"参数值","edit-render":{}},{default:l(({row:r})=>[n(B,{modelValue:r.value,"onUpdate:modelValue":b=>r.value=b,type:"text"},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),n(L,{title:"操作",width:"100"},{default:l(({row:r})=>[["array","object"].includes(r.type)?_((a(),d(j,{key:0,type:"text",status:"primary",onClick:b=>ue(r,"zTable")},{default:l(()=>[...o[17]||(o[17]=[V("插入",-1)])]),_:1},8,["onClick"])),[[q]]):C("",!0),_((a(),d(j,{type:"text",status:"primary",onClick:b=>K(r,"zTable")},{default:l(()=>[...o[18]||(o[18]=[V("删除",-1)])]),_:1},8,["onClick"])),[[q]])]),_:1})]),_:1},8,["data"]),_((a(),d(I,{class:"mt10",type:"primary",onClick:o[8]||(o[8]=r=>le("zTable"))},{default:l(()=>[...o[19]||(o[19]=[V("添加参数",-1)])]),_:1})),[[q]])],512),[[xe,Z.value==="Header"]])]),R.value?(a(),v("div",gt,[n(yt,{codes:R.value,readOnly:!0},null,8,["codes"])])):C("",!0)])):C("",!0)}}},Tt=we(xt,[["__scopeId","data-v-bbbf6976"]]),ht={class:"tabs"},Ct={class:"main"},Ut={class:"ivu-mt card-tree b-r-1"},wt={class:"tree"},$t={class:"main-btn"},Dt=["onClick"],St={class:"data"},Et={class:"eidt-sub"},It={class:"name"},Nt={key:1},Ft={key:1,class:"text-area"},Lt={key:1,class:"text-area"},Ot={key:1},zt={key:1},Bt={key:1},qt={key:1},At={key:1},jt={key:1},Mt={key:1},Rt={key:1},Jt={key:1},Pt={key:1},Gt={key:1},Ht={key:1},Wt={key:1},Zt={key:1},Kt={key:1},Qt={key:1,class:"text-area"},Xt={key:1},Yt={key:1},el={key:1},tl={class:"dialog-footer"},ll=Object.assign({name:"systemOutInterface"},{__name:"index",setup(m){const E=at(),M=U(null),F=U(null),z=U(null),H=U(null),P=U(null),W=U(null),N=U(null),Z={headTable:F,xTable:z,bodyTable:H,resTable:P,codeTable:W},R=U(""),f=U(!1),re=U(!1),oe=U(!1),i=U({}),ye={title:[{message:"请输入正确的描述 (不能多于200位数)",trigger:"blur",max:200}]},G=U(!1),de=[{value:"string",label:"String"},{value:"number",label:"Number"},{value:"boolean",label:"Boolean"},{value:"null",label:"Null"},{value:"any",label:"Any"}],ie=[{value:"string",label:"String"},{value:"array",label:"Array"},{value:"object",label:"Object"},{value:"number",label:"Number"},{value:"boolean",label:"Boolean"},{value:"null",label:"Null"},{value:"any",label:"Any"}],le=[{value:"GET",label:"GET"},{value:"POST",label:"POST"},{value:"DELETE",label:"DELETE"},{value:"PUT",label:"PUT"}],ue=U(new he([]).root),K=U("#fff"),p=U("adminapi"),o=U(0),y=U(!1);Te(()=>i.value.method,{deep:!0,handler(s,e){if(s){let x=s.toUpperCase();x=="GET"?K.value="#61affe":x=="POST"?K.value="#49cc90":x=="PUT"?K.value="#fca130":(x=="DEL"||x=="DELETE")&&(K.value="#f93e3e")}}}),Te(p,s=>{s&&(y.value=!0,B("one"))}),Te(f,s=>{s?i.value.response_example.map(e=>{e.data=JSON.stringify(e.data)}):i.value.response_example.map(e=>{e.data=JSON.parse(e.data)})});const k=Ne(()=>E.isMobile),h=Ne(()=>k.value?"top":"right");function I(){Ie({title:"立即同步",message:"同步之后,路由文件中新增的接口添加到接口列表中,路由文件中删除的路由会同步的在接口列表中删除",showCancelButton:!0,cancelButtonText:"取消",confirmButtonText:"确定",iconClass:"el-icon-warning",confirmButtonClass:"btn-custom-cancel"}).then(()=>{ut(p.value).then(s=>{B("one"),S.success(s.msg)})}).catch(()=>{})}function $(){oe.value=!0}function be(s){let e=s.toUpperCase();if(e=="GET")return"#61affe";if(e=="POST")return"#49cc90";if(e=="PUT")return"#fca130";if(e=="DEL"||e=="DELETE")return"#f93e3e"}function B(s){try{it(p.value).then(e=>{if(e.data.length){e.data[0].expand=!1,ue.value=new he(e.data).root;let x;tt(Q=>{s&&(e.data[0].children&&e.data[0].children[0].children&&e.data[0].children[0].children.length?(document.querySelectorAll(".vtl-icon-caret-right")[0].click(),document.querySelectorAll(".vtl-icon-caret-right")[1].click(),x=e.data[0].children[0].children[0]):(document.querySelectorAll(".vtl-icon-caret-right")[0].click(),x=e.data[0].children[0]),L(x))})}else ue.value=new he({}).root,i.value={};y.value=!1}).catch(e=>{y.value=!1,S.error(e.msg)})}catch(e){}}function L(s){try{s.method&&(f.value=!1,o.value=s.id,se(s.id))}catch{}}function se(s){rt(s).then(e=>{i.value=e.data}).catch(e=>{S.error(e.msg)})}async function me(){if(i.value.name)if(i.value.method){if(!i.value.path)return S.warning("请输入路由地址")}else return S.warning("请选择请求类型");else return S.warning("请输入接口名称");i.value.request=await H.value.getTableData().tableData,i.value.response=await P.value.getTableData().tableData,i.value.error_code=await W.value.getTableData().tableData,i.value.header=await F.value.getTableData().tableData,i.value.query=await z.value.getTableData().tableData,i.value.apiType=p.value,i.value.response_example.map(s=>{s.data=JSON.parse(s.data)}),await Le(i.value).then(s=>{S.success(s.msg),se(o.value),f.value=!1}).catch(s=>{S.error(s.msg)})}async function j(s){const e=Z[s].value;let x;s=="xTable"?x={attribute:"",type:"",must:0,trip:""}:s=="resTable"?x={attribute:"",type:"",trip:""}:x={code:"",value:"",solution:""};const{row:Q}=await e.insertAt(x,-1);await e.setActiveCell(Q,"name")}async function ae(s,e){const x=Z[e].value;let Q;e=="xTable"?Q={attribute:"",type:"",must:0,trip:"",id:Date.now(),parentId:s.id}:e=="resTable"?Q={attribute:"",type:"",trip:"",id:Date.now(),parentId:s.id}:Q={code:"",value:"",solution:"",id:Date.now(),parentId:s.id};const{row:A}=await x.insertAt(Q,-1);await x.setTreeExpand(s,!0),await x.setActiveRow(A)}async function ne(s,e){await Z[e].value.remove(s)}function _e(s,e){s==1?(i.value={},i.value.cate_id=e?e.id:0,i.value.id=0,f.value=!0):s==2?Fe(st(e.id,p.value)).then(()=>B()):s==3?r(e):s==4&&Fe(dt(p.value)).then(()=>B())}function q(){let s={id:i.value.id||0,type:0,name:R.value};Le(s).then(e=>{S.success(e.msg),B()}).catch(e=>{S.error(e.msg)})}function r(s){let e=s.cate_id?mt:ft;Ie({title:"提示",message:"删除后无法恢复,请确认后删除!",showCancelButton:!0,cancelButtonText:"取消",confirmButtonText:"确定",iconClass:"el-icon-warning",confirmButtonClass:"btn-custom-cancel"}).then(()=>{e(s.id).then(x=>{S.success(x.msg),s.remove()}).catch(x=>{S.error(x.msg)})}).catch(()=>{})}function b(s){if(s.eventType=="blur"){let e={name:s.newName,id:s.id};pt(e).then(x=>{S.success(x.msg)}).catch(x=>{S.error(x.msg)})}}return B("one"),(s,e)=>{const x=c("el-tab-pane"),Q=c("el-tabs"),A=c("el-button"),Be=c("el-dropdown-item"),qe=c("el-dropdown-menu"),Ae=c("el-dropdown"),fe=c("el-input"),O=c("el-form-item"),je=c("el-option"),Me=c("el-select"),Re=c("el-cascader"),Je=c("el-switch"),ke=c("el-col"),Ve=c("el-row"),J=c("vxe-input"),w=c("vxe-column"),ce=c("vxe-option"),ve=c("vxe-select"),ge=c("vxe-checkbox"),X=c("vxe-button"),pe=c("vxe-table"),Pe=c("el-collapse-item"),Ge=c("el-collapse"),He=c("el-form"),We=c("el-card"),Ze=c("el-dialog"),Ke=c("el-drawer"),D=Ce("db-click"),Qe=Ce("loading");return a(),v("div",null,[T("div",ht,[n(Q,{modelValue:p.value,"onUpdate:modelValue":e[0]||(e[0]=t=>p.value=t)},{default:l(()=>[n(x,{label:"管理端接口",name:"adminapi"}),n(x,{label:"用户端接口",name:"api"})]),_:1},8,["modelValue"])]),_((a(),v("div",Ct,[T("div",Ut,[T("div",wt,[T("div",$t,[_((a(),d(A,{class:"mb5 mr10",style:{flex:"1"},type:"success",onClick:e[1]||(e[1]=t=>I())},{default:l(()=>[...e[20]||(e[20]=[V("同步",-1)])]),_:1})),[[D]])]),n(et(nt),{class:"tree-list",ref_key:"treeList",ref:M,onChangeName:b,onDeleteNode:r,model:ue.value,"default-tree-node-name":"默认文件夹","default-leaf-node-name":"默认接口名","default-expanded":!1,"expand-only-one":!0},{leafNameDisplay:l(t=>[e[23]||(e[23]=T("div",null,null,-1)),_((a(),v("div",{class:Ee(["tree-node",{node:t.model.method,open:i.value.path==t.model.path&&i.value.method==t.model.method}]),onClick:Se(u=>L(t.model),["stop"])},[T("span",{class:Ee(["",{open:i.value.path==t.model.path&&i.value.method==t.model.method}])},g(t.model.name),3),n(Ae,{transfer:"",onCommand:u=>{_e(u,t.model)}},{dropdown:l(()=>[n(qe,null,{default:l(()=>[n(Be,{command:"3"},{default:l(()=>[...e[21]||(e[21]=[V("删除",-1)])]),_:1})]),_:1})]),default:l(()=>[e[22]||(e[22]=T("span",{class:"el-dropdown-link"},[T("i",{class:"el-icon-more"})],-1))]),_:1},8,["onCommand"])],10,Dt)),[[D]])]),addTreeNodeIcon:l(()=>[...e[24]||(e[24]=[T("span",{class:"icon"},null,-1)])]),addLeafNodeIcon:l(()=>[...e[25]||(e[25]=[T("span",{class:"icon"},null,-1)])]),editNodeIcon:l(()=>[...e[26]||(e[26]=[T("span",{class:"icon"},null,-1)])]),delNodeIcon:l(()=>[...e[27]||(e[27]=[T("span",{class:"icon"},null,-1)])]),treeNodeIcon:l(t=>[t.model.method?(a(),v("span",{key:0,class:"req-method",style:De({color:be(t.model.method),"font-weight":(t.model.pid==i.value.pid,"500")})},g(t.model.method),5)):C("",!0)]),_:1},8,["model"])])]),n(We,{bordered:!1,shadow:"never",class:"ivu-mt right-card"},{default:l(()=>[T("div",St,[T("div",Et,[T("div",It,g(i.value.name),1),T("div",null,[_((a(),d(A,{class:"submission",onClick:e[2]||(e[2]=t=>$())},{default:l(()=>[...e[28]||(e[28]=[V("调试",-1)])]),_:1})),[[D]]),i.value.id?_((a(),d(A,{key:0,type:"primary",class:"submission",onClick:e[3]||(e[3]=t=>f.value=!f.value)},{default:l(()=>[V(g(f.value?"取消":"编辑"),1)]),_:1})),[[D]]):C("",!0),f.value?_((a(),d(A,{key:1,type:"primary",class:"submission",onClick:e[4]||(e[4]=t=>me())},{default:l(()=>[...e[29]||(e[29]=[V("保存",-1)])]),_:1})),[[D]]):C("",!0)])]),n(He,{class:"formValidate mt20",ref_key:"formValidateRef",ref:N,rules:ye,model:i.value,"label-width":"120px","label-position":h.value,onSubmit:e[15]||(e[15]=Se(()=>{},["prevent"]))},{default:l(()=>[n(Ve,{gutter:24},{default:l(()=>[n(ke,{span:24},{default:l(()=>[e[30]||(e[30]=T("div",{class:"title"},"接口信息",-1)),n(O,{label:"接口名称:",prop:"name"},{default:l(()=>[f.value?(a(),d(fe,{key:0,class:"perW20",type:"text",rows:4,modelValue:i.value.name,"onUpdate:modelValue":e[5]||(e[5]=t=>i.value.name=t),modelModifiers:{trim:!0},placeholder:"请输入"},null,8,["modelValue"])):(a(),v("span",Nt,g(i.value.name||""),1))]),_:1}),n(O,{label:"请求类型:",prop:"name"},{default:l(()=>[f.value?(a(),d(Me,{key:0,modelValue:i.value.method,"onUpdate:modelValue":e[6]||(e[6]=t=>i.value.method=t),style:{width:"120px"}},{default:l(()=>[(a(),v(Y,null,ee(le,(t,u)=>n(je,{key:u,value:t.value,label:t.label},null,8,["value","label"])),64))]),_:1},8,["modelValue"])):(a(),v("span",{key:1,class:"req-method",style:De("background-color:"+K.value)},g(i.value.method||""),5))]),_:1}),n(O,{label:"功能描述:",prop:"name"},{default:l(()=>[f.value?(a(),d(fe,{key:0,class:"perW20",type:"textarea",rows:4,modelValue:i.value.describe,"onUpdate:modelValue":e[7]||(e[7]=t=>i.value.describe=t),modelModifiers:{trim:!0},placeholder:"请输入"},null,8,["modelValue"])):(a(),v("span",Ft,g(i.value.describe||"--"),1))]),_:1}),f.value?(a(),d(O,{key:0,label:"所属分类:",prop:"name"},{default:l(()=>[n(Re,{modelValue:i.value.cate_id,"onUpdate:modelValue":e[8]||(e[8]=t=>i.value.cate_id=t),options:i.value.cate_tree,props:{checkStrictly:!0,multiple:!1,emitPath:!1,value:"id",label:"name"},clearable:""},null,8,["modelValue","options"])]),_:1})):C("",!0),n(O,{label:"是否公共:",prop:"name"},{default:l(()=>[f.value?(a(),d(Je,{key:0,modelValue:i.value.type,"onUpdate:modelValue":e[9]||(e[9]=t=>i.value.type=t),"active-value":1,"inactive-value":0},null,8,["modelValue"])):(a(),v("span",Lt,g(i.value.type?"是":"否"),1))]),_:1})]),_:1})]),_:1}),n(Ve,{gutter:24},{default:l(()=>[n(ke,{span:24},{default:l(()=>[e[43]||(e[43]=T("div",{class:"title"},"调用方式",-1)),n(O,{label:"路由地址:",prop:"path"},{default:l(()=>[T("span",null,g(i.value.path||""),1)]),_:1}),n(O,{label:"文件地址:",prop:"path"},{default:l(()=>[T("span",null,g(i.value.file_path||""),1)]),_:1}),n(O,{label:"方法名:",prop:"path"},{default:l(()=>[T("span",null,g(i.value.action||""),1)]),_:1}),n(O,{label:"header参数:"},{default:l(()=>[n(pe,{"show-overflow":"","keep-source":"",ref_key:"headTable",ref:F,"print-config":{},"export-config":{},loading:G.value,"tree-config":{transform:!0,rowField:"id",parentField:"parentId"},data:i.value.header,"row-config":{keyField:"id"},"column-config":{resizable:!0}},{default:l(()=>[n(w,{field:"attribute",width:"300",title:"属性","tree-node":"","edit-render":{}},{default:l(({row:t})=>[f.value?(a(),d(J,{key:0,modelValue:t.attribute,"onUpdate:modelValue":u=>t.attribute=u,type:"text"},null,8,["modelValue","onUpdate:modelValue"])):(a(),v("span",Ot,g(t.attribute||""),1))]),_:1}),n(w,{field:"type",title:"类型",width:"200","edit-render":{}},{default:l(({row:t})=>[f.value?(a(),d(ve,{key:0,modelValue:t.type,"onUpdate:modelValue":u=>t.type=u,transfer:""},{default:l(()=>[(a(),v(Y,null,ee(ie,u=>n(ce,{key:u.value,value:u.value,label:u.label},null,8,["value","label"])),64))]),_:1},8,["modelValue","onUpdate:modelValue"])):(a(),v("span",zt,g(t.type||""),1))]),_:1}),n(w,{field:"must",title:"必填",width:"100","edit-render":{}},{default:l(({row:t})=>[f.value?(a(),d(ge,{key:0,modelValue:t.must,"onUpdate:modelValue":u=>t.must=u,"unchecked-value":"0","checked-value":"1"},null,8,["modelValue","onUpdate:modelValue"])):(a(),v("span",Bt,g(t.must=="1"?"是":"否"),1))]),_:1}),n(w,{field:"trip",title:"说明","edit-render":{}},{default:l(({row:t})=>[f.value?(a(),d(J,{key:0,modelValue:t.trip,"onUpdate:modelValue":u=>t.trip=u,type:"text"},null,8,["modelValue","onUpdate:modelValue"])):(a(),v("span",qt,g(t.trip||""),1))]),_:1}),f.value?(a(),d(w,{key:0,title:"操作",width:"200"},{default:l(({row:t})=>[t.type==="array"||t.type==="object"?_((a(),d(X,{key:0,type:"text",status:"primary",onClick:u=>ae(t,"headTable")},{default:l(()=>[...e[31]||(e[31]=[V("插入",-1)])]),_:1},8,["onClick"])),[[D]]):C("",!0),_((a(),d(X,{type:"text",status:"primary",onClick:u=>ne(t,"headTable")},{default:l(()=>[...e[32]||(e[32]=[V("删除",-1)])]),_:1},8,["onClick"])),[[D]])]),_:1})):C("",!0)]),_:1},8,["loading","data"]),f.value?_((a(),d(A,{key:0,class:"mt10",type:"primary",onClick:e[10]||(e[10]=t=>j("headTable"))},{default:l(()=>[...e[33]||(e[33]=[V("添加参数",-1)])]),_:1})),[[D]]):C("",!0)]),_:1}),n(O,{label:"query参数:"},{default:l(()=>[n(pe,{"show-overflow":"","keep-source":"",ref_key:"xTable",ref:z,"print-config":{},"export-config":{},loading:G.value,"tree-config":{transform:!0,rowField:"id",parentField:"parentId"},data:i.value.query,"row-config":{keyField:"id"},"column-config":{resizable:!0}},{default:l(()=>[n(w,{field:"attribute",width:"300",title:"属性","tree-node":"","edit-render":{}},{default:l(({row:t})=>[f.value?(a(),d(J,{key:0,modelValue:t.attribute,"onUpdate:modelValue":u=>t.attribute=u,type:"text"},null,8,["modelValue","onUpdate:modelValue"])):(a(),v("span",At,g(t.attribute||""),1))]),_:1}),n(w,{field:"type",title:"类型",width:"200","edit-render":{}},{default:l(({row:t})=>[f.value?(a(),d(ve,{key:0,modelValue:t.type,"onUpdate:modelValue":u=>t.type=u,transfer:""},{default:l(()=>[(a(),v(Y,null,ee(ie,u=>n(ce,{key:u.value,value:u.value,label:u.label},null,8,["value","label"])),64))]),_:1},8,["modelValue","onUpdate:modelValue"])):(a(),v("span",jt,g(t.type||""),1))]),_:1}),n(w,{field:"must",title:"必填",width:"100","edit-render":{}},{default:l(({row:t})=>[f.value?(a(),d(ge,{key:0,modelValue:t.must,"onUpdate:modelValue":u=>t.must=u,"unchecked-value":"0","checked-value":"1"},null,8,["modelValue","onUpdate:modelValue"])):(a(),v("span",Mt,g(t.must=="1"?"是":"否"),1))]),_:1}),n(w,{field:"trip",title:"说明","edit-render":{}},{default:l(({row:t})=>[f.value?(a(),d(J,{key:0,modelValue:t.trip,"onUpdate:modelValue":u=>t.trip=u,type:"text"},null,8,["modelValue","onUpdate:modelValue"])):(a(),v("span",Rt,g(t.trip||""),1))]),_:1}),f.value?(a(),d(w,{key:0,title:"操作",width:"200"},{default:l(({row:t})=>[t.type==="array"||t.type==="object"?_((a(),d(X,{key:0,type:"text",status:"primary",onClick:u=>ae(t,"xTable")},{default:l(()=>[...e[34]||(e[34]=[V("插入",-1)])]),_:1},8,["onClick"])),[[D]]):C("",!0),_((a(),d(X,{type:"text",status:"primary",onClick:u=>ne(t,"xTable")},{default:l(()=>[...e[35]||(e[35]=[V("删除",-1)])]),_:1},8,["onClick"])),[[D]])]),_:1})):C("",!0)]),_:1},8,["loading","data"]),f.value?_((a(),d(A,{key:0,class:"mt10",type:"primary",onClick:e[11]||(e[11]=t=>j("xTable"))},{default:l(()=>[...e[36]||(e[36]=[V("添加参数",-1)])]),_:1})),[[D]]):C("",!0)]),_:1}),n(O,{label:"body参数:"},{default:l(()=>[n(pe,{"show-overflow":"","keep-source":"",ref_key:"bodyTable",ref:H,"print-config":{},"export-config":{},loading:G.value,"tree-config":{transform:!0,rowField:"id",parentField:"parentId"},data:i.value.request,"row-config":{keyField:"id"},"column-config":{resizable:!0}},{default:l(()=>[n(w,{field:"attribute",width:"300",title:"属性","tree-node":"","edit-render":{}},{default:l(({row:t})=>[f.value?(a(),d(J,{key:0,modelValue:t.attribute,"onUpdate:modelValue":u=>t.attribute=u,type:"text"},null,8,["modelValue","onUpdate:modelValue"])):(a(),v("span",Jt,g(t.attribute||""),1))]),_:1}),n(w,{field:"type",title:"类型",width:"200","edit-render":{}},{default:l(({row:t})=>[f.value?(a(),d(ve,{key:0,modelValue:t.type,"onUpdate:modelValue":u=>t.type=u,transfer:""},{default:l(()=>[(a(),v(Y,null,ee(ie,u=>n(ce,{key:u.value,value:u.value,label:u.label},null,8,["value","label"])),64))]),_:1},8,["modelValue","onUpdate:modelValue"])):(a(),v("span",Pt,g(t.type||""),1))]),_:1}),n(w,{field:"must",title:"必填",width:"100","edit-render":{}},{default:l(({row:t})=>[f.value?(a(),d(ge,{key:0,modelValue:t.must,"onUpdate:modelValue":u=>t.must=u,"unchecked-value":"0","checked-value":"1"},null,8,["modelValue","onUpdate:modelValue"])):(a(),v("span",Gt,g(t.must=="1"?"是":"否"),1))]),_:1}),n(w,{field:"trip",title:"说明","edit-render":{}},{default:l(({row:t})=>[f.value?(a(),d(J,{key:0,modelValue:t.trip,"onUpdate:modelValue":u=>t.trip=u,type:"text"},null,8,["modelValue","onUpdate:modelValue"])):(a(),v("span",Ht,g(t.trip||""),1))]),_:1}),f.value?(a(),d(w,{key:0,title:"操作",width:"200"},{default:l(({row:t})=>[t.type==="array"||t.type==="object"?_((a(),d(X,{key:0,type:"text",status:"primary",onClick:u=>ae(t,"bodyTable")},{default:l(()=>[...e[37]||(e[37]=[V("插入",-1)])]),_:1},8,["onClick"])),[[D]]):C("",!0),_((a(),d(X,{type:"text",status:"primary",onClick:u=>ne(t,"bodyTable")},{default:l(()=>[...e[38]||(e[38]=[V("删除",-1)])]),_:1},8,["onClick"])),[[D]])]),_:1})):C("",!0)]),_:1},8,["loading","data"]),f.value?_((a(),d(A,{key:0,class:"mt10",type:"primary",onClick:e[12]||(e[12]=t=>j("bodyTable"))},{default:l(()=>[...e[39]||(e[39]=[V("添加参数",-1)])]),_:1})),[[D]]):C("",!0)]),_:1}),n(O,{label:"返回参数:"},{default:l(()=>[n(pe,{"show-overflow":"","keep-source":"",ref_key:"resTable",ref:P,"print-config":{},"export-config":{},loading:G.value,"tree-config":{transform:!0,rowField:"id",parentField:"parentId"},data:i.value.response,"row-config":{keyField:"id"},"column-config":{resizable:!0}},{default:l(()=>[n(w,{field:"attribute",title:"属性",width:"300","tree-node":"","edit-render":{}},{default:l(({row:t})=>[f.value?(a(),d(J,{key:0,modelValue:t.attribute,"onUpdate:modelValue":u=>t.attribute=u,type:"text"},null,8,["modelValue","onUpdate:modelValue"])):(a(),v("span",Wt,g(t.attribute||""),1))]),_:1}),n(w,{field:"type",title:"类型",width:"200","edit-render":{}},{default:l(({row:t})=>[f.value?(a(),d(ve,{key:0,modelValue:t.type,"onUpdate:modelValue":u=>t.type=u,transfer:""},{default:l(()=>[(a(),v(Y,null,ee(ie,u=>n(ce,{key:u.value,value:u.value,label:u.label},null,8,["value","label"])),64))]),_:1},8,["modelValue","onUpdate:modelValue"])):(a(),v("span",Zt,g(t.type||""),1))]),_:1}),n(w,{field:"trip",title:"说明","edit-render":{}},{default:l(({row:t})=>[f.value?(a(),d(J,{key:0,modelValue:t.trip,"onUpdate:modelValue":u=>t.trip=u,type:"text"},null,8,["modelValue","onUpdate:modelValue"])):(a(),v("span",Kt,g(t.trip||""),1))]),_:1}),f.value?(a(),d(w,{key:0,title:"操作",width:"200"},{default:l(({row:t})=>[t.type==="array"||t.type==="object"?_((a(),d(X,{key:0,type:"text",status:"primary",onClick:u=>ae(t,"resTable")},{default:l(()=>[...e[40]||(e[40]=[V("插入",-1)])]),_:1},8,["onClick"])),[[D]]):C("",!0),_((a(),d(X,{type:"text",status:"primary",onClick:u=>ne(t,"resTable")},{default:l(()=>[...e[41]||(e[41]=[V("删除",-1)])]),_:1},8,["onClick"])),[[D]])]),_:1})):C("",!0)]),_:1},8,["loading","data"]),f.value?_((a(),d(A,{key:0,class:"mt10",type:"primary",onClick:e[13]||(e[13]=t=>j("resTable"))},{default:l(()=>[...e[42]||(e[42]=[V("添加参数",-1)])]),_:1})),[[D]]):C("",!0)]),_:1})]),_:1})]),_:1}),n(Ve,{gutter:24},{default:l(()=>[n(ke,{span:24},{default:l(()=>[e[46]||(e[46]=T("div",{class:"title"},"调用示例",-1)),i.value.response_example?(a(),d(O,{key:0,label:"返回数据示例:",prop:"response_example"},{default:l(()=>[(a(!0),v(Y,null,ee(i.value.response_example,(t,u)=>(a(),d(Ge,{accordion:"",key:u},{default:l(()=>[n(Pe,null,{title:l(()=>[V(g(t.name||""),1)]),default:l(()=>[f.value?(a(),d(fe,{key:0,class:"perW20",type:"textarea",rows:4,modelValue:t.data,"onUpdate:modelValue":Xe=>t.data=Xe,modelModifiers:{trim:!0},placeholder:"请输入"},null,8,["modelValue","onUpdate:modelValue"])):(a(),v("span",Qt,g(t.data||""),1))]),_:2},1024)]),_:2},1024))),128))]),_:1})):C("",!0),n(O,{label:"错误码:"},{default:l(()=>[n(pe,{"show-overflow":"","keep-source":"",ref_key:"codeTable",ref:W,"is-tree-view":"","print-config":{},"export-config":{},loading:G.value,"tree-config":{rowField:"id",parentField:"parentId"},data:i.value.error_code,"row-config":{keyField:"id"},"column-config":{resizable:!0}},{default:l(()=>[n(w,{field:"code",title:"错误码","tree-node":"","edit-render":{}},{default:l(({row:t})=>[f.value?(a(),d(J,{key:0,modelValue:t.code,"onUpdate:modelValue":u=>t.code=u,type:"text"},null,8,["modelValue","onUpdate:modelValue"])):(a(),v("span",Xt,g(t.code||""),1))]),_:1}),n(w,{field:"value",title:"错误码取值","edit-render":{}},{default:l(({row:t})=>[f.value?(a(),d(J,{key:0,modelValue:t.value,"onUpdate:modelValue":u=>t.value=u,type:"text"},null,8,["modelValue","onUpdate:modelValue"])):(a(),v("span",Yt,g(t.value||""),1))]),_:1}),n(w,{field:"solution",title:"解决方案","edit-render":{}},{default:l(({row:t})=>[f.value?(a(),d(J,{key:0,modelValue:t.solution,"onUpdate:modelValue":u=>t.solution=u,type:"text"},null,8,["modelValue","onUpdate:modelValue"])):(a(),v("span",el,g(t.solution||""),1))]),_:1}),f.value?(a(),d(w,{key:0,title:"操作"},{default:l(({row:t})=>[_((a(),d(X,{type:"text",status:"primary",onClick:u=>ne(t,"codeTable")},{default:l(()=>[...e[44]||(e[44]=[V("删除",-1)])]),_:1},8,["onClick"])),[[D]])]),_:1})):C("",!0)]),_:1},8,["loading","data"]),f.value?_((a(),d(A,{key:0,class:"mt10",type:"primary",onClick:e[14]||(e[14]=t=>j("codeTable"))},{default:l(()=>[...e[45]||(e[45]=[V("添加参数",-1)])]),_:1})),[[D]]):C("",!0)]),_:1})]),_:1})]),_:1})]),_:1},8,["model","label-position"])])]),_:1})])),[[Qe,y.value]]),n(Ze,{modelValue:re.value,"onUpdate:modelValue":e[18]||(e[18]=t=>re.value=t),width:"470px",title:"分组名称"},{footer:l(()=>[T("span",tl,[_((a(),d(A,{onClick:e[17]||(e[17]=t=>re.value=!1)},{default:l(()=>[...e[47]||(e[47]=[V("取 消",-1)])]),_:1})),[[D]]),_((a(),d(A,{type:"primary",onClick:q},{default:l(()=>[...e[48]||(e[48]=[V("确 定",-1)])]),_:1})),[[D]])])]),default:l(()=>[e[49]||(e[49]=T("label",null,"分组名称:",-1)),n(fe,{modelValue:R.value,"onUpdate:modelValue":e[16]||(e[16]=t=>R.value=t),placeholder:"请输入分组名称",style:{width:"85%"}},null,8,["modelValue"])]),_:1},8,["modelValue"]),n(Ke,{modelValue:oe.value,"onUpdate:modelValue":e[19]||(e[19]=t=>oe.value=t),title:i.value.name,size:"70%",wrapperClosable:!1,loading:G.value},{default:l(()=>[oe.value?(a(),d(Tt,{key:0,formValidate:i.value,typeList:de,requestTypeList:le,apiType:p.value},null,8,["formValidate","apiType"])):C("",!0)]),_:1},8,["modelValue","title","loading"])])}}}),rl=we(ll,[["__scopeId","data-v-ee3a3076"]]);export{rl as default}; diff --git a/backend/public/admin/system_static/index-BL7Hugou.css b/backend/public/admin/system_static/index-BL7Hugou.css new file mode 100644 index 000000000..a618ce2e2 --- /dev/null +++ b/backend/public/admin/system_static/index-BL7Hugou.css @@ -0,0 +1 @@ +.box[data-v-9f2d8f4a]{width:100%;height:100%;padding-top:15px;background:#fff}[data-v-9f2d8f4a] .el-card__body{min-height:700px;padding:0 16px 16px 0}[data-v-9f2d8f4a] .el-tabs__header{margin:0;padding:0 20px}[data-v-9f2d8f4a] .conter .pictrueList{max-width:100%} diff --git a/backend/public/admin/system_static/index-BL8qeyuG.css b/backend/public/admin/system_static/index-BL8qeyuG.css new file mode 100644 index 000000000..df64c223b --- /dev/null +++ b/backend/public/admin/system_static/index-BL8qeyuG.css @@ -0,0 +1 @@ +.form-tip[data-v-d50ad2eb]{color:#909399;font-size:12px;line-height:1.5;margin-top:5px}.help-doc-tag a[data-v-d50ad2eb]{color:inherit;text-decoration:none}.help-doc-tag a[data-v-d50ad2eb]:hover{color:#1890ff}.help-doc-module[data-v-d50ad2eb]{background:#fafafa;border-radius:6px;padding:16px 20px;margin-bottom:12px}.help-doc-module[data-v-d50ad2eb]:last-child{margin-bottom:0}.help-doc-title[data-v-d50ad2eb]{font-weight:700;font-size:14px;color:#303133;margin-bottom:10px}.help-doc-steps[data-v-d50ad2eb]{margin:0;padding-left:20px;line-height:1.8;color:#606266;font-size:13px}.form-actions[data-v-d50ad2eb]{margin-top:24px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;gap:8px}.form-actions .el-button+.el-button[data-v-d50ad2eb]{margin-left:0}.font-weight-bold[data-v-7d570194]{font-weight:700}.mt16[data-v-7d570194]{margin-top:16px}.mb20[data-v-7d570194]{margin-bottom:20px} diff --git a/backend/public/admin/system_static/index-BLYeLE9Z.css b/backend/public/admin/system_static/index-BLYeLE9Z.css new file mode 100644 index 000000000..ec1796976 --- /dev/null +++ b/backend/public/admin/system_static/index-BLYeLE9Z.css @@ -0,0 +1 @@ +@charset "UTF-8";.search-rule[data-v-ae704532]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:10px;background-color:#f2f2f2}.rule[data-v-ae704532]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;max-height:700px;overflow:scroll}.rule[data-v-ae704532]::-webkit-scrollbar{width:10px;height:10px;background-color:#f5f5f5}.rule[data-v-ae704532]::-webkit-scrollbar-track{border-radius:4px;background-color:#f5f5f5}.rule[data-v-ae704532]::-webkit-scrollbar-thumb{border-radius:4px;background-color:#555}.rule-list[data-v-ae704532]{background-color:#f8f5f5;width:32%;margin:5px;border-radius:3px;padding:10px;color:#333;cursor:pointer;-webkit-transition:all .1s;transition:all .1s}.rule-list[data-v-ae704532]:hover{background-color:#c5d1dd}.rule-list div[data-v-ae704532]{white-space:nowrap}.select-rule[data-v-ae704532]{background-color:#c5d1dd}.add[data-v-ae704532]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.df[data-v-ae704532]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.vxeTable>.vxe-table--header-wrapper[data-v-bf5c2284]{background:#fff!important}.vxeTable .icon[data-v-bf5c2284]{font-size:20px}[data-v-bf5c2284] .vxe-table--render-default .vxe-table--border-line{z-index:2!important}.rule[data-v-bf5c2284]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow-y:scroll;height:-webkit-max-content;height:-moz-max-content;height:max-content;max-height:600px;-webkit-box-flex:1;-ms-flex:1;flex:1}.tree[data-v-bf5c2284]::-webkit-scrollbar{width:2px;background-color:#f5f5f5}.rule[data-v-bf5c2284]::-webkit-scrollbar{width:10px;height:10px;background-color:#f5f5f5}.rule[data-v-bf5c2284]::-webkit-scrollbar-track{border-radius:4px;background-color:#f5f5f5}.rule[data-v-bf5c2284]::-webkit-scrollbar-thumb{border-radius:4px;background-color:#ccc}.rule-list[data-v-bf5c2284]{background-color:#f2f2f2;width:48.5%;height:-webkit-max-content;height:-moz-max-content;height:max-content;margin:5px;border-radius:3px;padding:10px;color:#333;cursor:pointer;-webkit-transition:all .1s;transition:all .1s}.rule-list[data-v-bf5c2284]:hover{background-color:#badbfb}.rule-list div[data-v-bf5c2284]{white-space:nowrap}.select-rule[data-v-bf5c2284]{background-color:#badbfb}.route-list[data-v-bf5c2284]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px}.route-list .tree[data-v-bf5c2284]{width:200px;overflow-y:scroll;max-height:600px}.route-list .tree[data-v-bf5c2284] .el-tree-node__children .el-tree-node .el-tree-node__content{padding-left:14px!important} diff --git a/backend/public/admin/system_static/index-BMyXtDsj.css b/backend/public/admin/system_static/index-BMyXtDsj.css new file mode 100644 index 000000000..41282ccf2 --- /dev/null +++ b/backend/public/admin/system_static/index-BMyXtDsj.css @@ -0,0 +1 @@ +.image-wrap[data-v-059adbcf]{width:36px;height:36px;border-radius:4px}.image-wrap img[data-v-059adbcf]{width:100%;height:100%}.image-group[data-v-059adbcf]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:60px;height:60px;border:1px solid #dcdee2;border-radius:4px;cursor:pointer}.image-group[data-v-059adbcf]:hover{border-color:#57a3f3}.image-group img[data-v-059adbcf]{width:100%;height:100%} diff --git a/backend/public/admin/system_static/index-BNh-i5iE.js b/backend/public/admin/system_static/index-BNh-i5iE.js new file mode 100644 index 000000000..1cae7e696 --- /dev/null +++ b/backend/public/admin/system_static/index-BNh-i5iE.js @@ -0,0 +1 @@ +import{l as c,f as d,a as h,n as x,b as y,y as m,z as g,A as v,p as b}from"./element-plus-C_ZDq0cz.js";import"./echarts-CylxjQLW.js";import{i as L}from"./echarts-C6m23LPs.js";const w=["id"],_=Object.assign({name:"index"},{__name:"index",props:{infoList:{type:Object,default:null},series:Array,echartsTitle:{type:String,default:""},yAxisData:{type:Array,default:()=>[]},bingXdata:Array},setup(u,{expose:p}){const t=u;let a=null;const i=c(t.infoList),r=c(t.series),o=b(()=>"echarts"+Math.ceil(Math.random()*100));d(()=>t.infoList,(e,n)=>{i.value=e,s()},{deep:!0}),d(()=>t.series,(e,n)=>{r.value=e,s()},{deep:!0});function l(){a.resize()}function s(){a=L(document.getElementById(o.value));let e=null;t.echartsTitle==="circle"?e={tooltip:{trigger:"item",formatter:"{a}
{b} : {c} ({d}%)"},legend:{orient:"vertical",left:"right",data:i.value.bing_xdata||[]},series:[{name:"访问来源",type:"pie",radius:"70%",center:["50%","60%"],data:i.value.bing_data||[],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]}:e={tooltip:{trigger:"axis"},toolbox:{},legend:{data:i.value.legend||[]},color:["#1495EB","#00CC66","#F9D249","#ff9900","#9860DF"],grid:{left:16,right:25,bottom:10,top:40,containLabel:!0},xAxis:[{type:"category",axisLine:{lineStyle:{color:"#D7DDE4"}},axisTick:{alignWithLabel:!0,lineStyle:{color:"#D7DDE4"}},splitLine:{show:!1,lineStyle:{color:"#F5F7F9"}},axisLabel:{interval:0,rotate:40,textStyle:{color:"#7F8B9C"}},data:i.value.xAxis}],yAxis:t.yAxisData.length?t.yAxisData:{axisLine:{show:!1},axisTick:{show:!1},axisLabel:{textStyle:{color:"#7F8B9C"}},splitLine:{show:!0,lineStyle:{color:"#F5F7F9"}},type:"value"},series:r.value},a.setOption(e,!0)}function f(){a.resize()}return p({wsFunc:l,handleSetVisitChart:s,handleResize:f}),h(()=>{x(()=>{s(),window.addEventListener("resize",l)})}),y(()=>{window.removeEventListener("resize",l),a&&(a.dispose(),a=null)}),(e,n)=>(m(),g("div",null,[v("div",{id:o.value,style:{height:"300px"}},null,8,w)]))}});export{_}; diff --git a/backend/public/admin/system_static/index-BOsWNpIp.js b/backend/public/admin/system_static/index-BOsWNpIp.js new file mode 100644 index 000000000..7e0396741 --- /dev/null +++ b/backend/public/admin/system_static/index-BOsWNpIp.js @@ -0,0 +1 @@ +import{a as J,Z as _,k as n,u as C,y as r,z as f,j as t,C as l,A as S,ac as K,F as P,D as Q,B as V,$ as v,a0 as X,s as m,H as Y,W as ee,l as c,r as te}from"./element-plus-C_ZDq0cz.js";import{_ as ae,am as le,an as oe,o as A,ah as ie,ao as ne,ap as se,m as de}from"./index-DHL7RTL2.js";import{_ as re}from"./from-Bx8xpz66.js";import{u as ce}from"./userLevel-t0L_1r_R.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./screenfull-BDHcr3-M.js";const ue={class:"article-manager"},_e={class:"padding-add"},me={key:0,class:"tabBox_img"},pe=["onClick"],fe=["onClick"],ve=Object.assign({name:"product_productClassify"},{__name:"index",setup(he){ce();const B=c(null),E=c(null),k=c([]),L=c(null),h=c(!1),i=te({pid:0,is_show:"",page:1,cate_name:"",limit:15}),U=c(0),x=c([]);J(()=>{$(),p()});function $(){le(0).then(o=>{k.value=o.data}).catch(o=>{_.error(o.msg)})}function p(){h.value=!0,i.is_show=i.is_show||"",i.pid=i.pid||"",oe(i).then(async o=>{let e=o.data;x.value=e.list,U.value=e.count,h.value=!1}).catch(o=>{h.value=!1,_.error(o.msg)})}function z(){A(ie()).then(()=>p())}function N(o){A(se(o.id)).then(()=>p())}function I(o){let e={id:o.id,is_show:o.is_show};ne(e).then(async s=>{_.success(s.msg)}).catch(s=>{_.error(s.msg)})}function M(o,e,s){let b={title:e,url:`product/category/${o.id}`,method:"DELETE",ids:""};de(b).then(d=>{_.success(d.msg),p()}).catch(d=>{_.error(d.msg)})}function g(){i.page=1,p()}return(o,e)=>{const s=n("el-option"),b=n("el-select"),d=n("el-form-item"),j=n("el-input"),D=n("el-button"),H=n("el-form"),F=n("el-card"),u=n("vxe-table-column"),R=n("el-switch"),T=n("el-divider"),O=n("vxe-table"),w=C("db-click"),W=C("auth"),Z=C("lazy"),q=C("viewer");return r(),f("div",ue,[t(F,{bordered:!1,shadow:"never","body-style":{padding:0}},{default:l(()=>[S("div",_e,[t(H,{ref_key:"artFromRef",ref:B,model:i,inline:"","label-width":"80px","label-position":"right",onSubmit:e[3]||(e[3]=K(()=>{},["prevent"]))},{default:l(()=>[t(d,{label:"商品分类:",prop:"pid","label-for":"pid"},{default:l(()=>[t(b,{modelValue:i.pid,"onUpdate:modelValue":e[0]||(e[0]=a=>i.pid=a),placeholder:"请选择商品分类",onChange:g,clearable:"",class:"form_content_width"},{default:l(()=>[(r(!0),f(P,null,Q(k.value,a=>(r(),V(s,{value:a.id,label:a.cate_name,key:a.id},{default:l(()=>[v(X(a.cate_name),1)]),_:2},1032,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(d,{label:"分类状态:","label-for":"is_show"},{default:l(()=>[t(b,{modelValue:i.is_show,"onUpdate:modelValue":e[1]||(e[1]=a=>i.is_show=a),placeholder:"请选择分类状态",clearable:"",onChange:g,class:"form_content_width"},{default:l(()=>[t(s,{value:"1",label:"开启"}),t(s,{value:"0",label:"关闭"})]),_:1},8,["modelValue"])]),_:1}),t(d,{label:"分类名称:","label-for":"status2"},{default:l(()=>[t(j,{clearable:"",placeholder:"请输入分类名称",modelValue:i.cate_name,"onUpdate:modelValue":e[2]||(e[2]=a=>i.cate_name=a),class:"form_content_width"},null,8,["modelValue"])]),_:1}),t(d,null,{default:l(()=>[m((r(),V(D,{type:"primary",onClick:g},{default:l(()=>[...e[4]||(e[4]=[v("查询",-1)])]),_:1})),[[w]])]),_:1})]),_:1},8,["model"])])]),_:1}),t(F,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:l(()=>[m((r(),V(D,{type:"primary",class:"action-row bnt",onClick:z},{default:l(()=>[...e[5]||(e[5]=[v("添加分类",-1)])]),_:1})),[[W,["product-save-cate"]],[w]]),t(O,{class:"mt14",loading:h.value,"header-row-class-name":"false","tree-config":{childrenField:"children"},data:x.value,"row-config":{isHover:!0}},{default:l(()=>[t(u,{field:"id",title:"ID",tooltip:"",width:"80"}),t(u,{field:"cate_name","tree-node":"",title:"分类名称","min-width":"250"}),t(u,{field:"pic",title:"分类图标","min-width":"100"},{default:l(({row:a})=>[a.pic?m((r(),f("div",me,[m(S("img",null,null,512),[[Z,a.pic]])])),[[q]]):Y("",!0)]),_:1}),t(u,{field:"sort",title:"排序","min-width":"100",tooltip:"true"}),t(u,{field:"is_show",title:"状态","min-width":"120"},{default:l(({row:a})=>[t(R,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:a.is_show,"onUpdate:modelValue":y=>a.is_show=y,value:a.is_show,onChange:y=>I(a),size:"large","active-text":"开启","inactive-text":"关闭"},null,8,["modelValue","onUpdate:modelValue","value","onChange"])]),_:1}),t(u,{field:"date",title:"操作",width:"120",fixed:"right"},{default:l(({row:a,index:y})=>[m((r(),f("a",{onClick:G=>N(a)},[...e[6]||(e[6]=[v("编辑",-1)])],8,pe)),[[w]]),t(T,{direction:"vertical"}),m((r(),f("a",{onClick:G=>M(a,"删除商品分类",y)},[...e[7]||(e[7]=[v("删除",-1)])],8,fe)),[[w]])]),_:1})]),_:1},8,["loading","data"])]),_:1}),t(ee(re),{ref_key:"edits",ref:E,FromData:L.value,onSubmitFail:g},null,8,["FromData"])])}}}),De=ae(ve,[["__scopeId","data-v-4603175a"]]);export{De as default}; diff --git a/backend/public/admin/system_static/index-BPMZxhk3.js b/backend/public/admin/system_static/index-BPMZxhk3.js new file mode 100644 index 000000000..3233cbc38 --- /dev/null +++ b/backend/public/admin/system_static/index-BPMZxhk3.js @@ -0,0 +1 @@ +import{n as N,Z as y,k as d,u as S,y as i,z as _,j as o,C as a,A as v,ac as Z,s as p,B as g,$ as w,a0 as C,F as J,D as Q,H as X,W as Y,l as u,r as ee}from"./element-plus-C_ZDq0cz.js";import{a as te}from"./addAttr-rwPSDERC.js";import{au as le,m as oe}from"./index-DHL7RTL2.js";import{u as ae}from"./order-CMbOGVbG.js";import"./vuedraggable.umd-fTw9SVdO.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./screenfull-BDHcr3-M.js";import"./order-61Db5vVU.js";const ne={class:"padding-add"},ie=["textContent"],re=["onClick"],se=["onClick"],de={class:"acea-row row-right page"},he=Object.assign({name:"productAttr"},{__name:"index",setup(ue){ae();const j=u(null),I=u(null),b=u(null),k=u(!1),r=ee({page:1,limit:15,rule_name:""}),R=u([]),x=u(0),A=u(new Set),V=u([]),T=u([]);h();function U(l){return l.id}function z(l){const e=[],s=[];for(let c=0;c{L()})}function L(){V.value=[...A.value].join(",")}function B(l,e){let s={};if(e==="批量删除规格"){if(A.value.size===0)return y.warning("请选择要删除的规格!");s={ids:V.value}}else s={ids:l.id};oe({title:e,url:"product/product/rule/delete",method:"DELETE",ids:s}).then(n=>{y.success(n.msg),h()}).catch(n=>{y.error(n.msg)})}function M(){b.value.modal=!0}function O(l){b.value.modal=!0,b.value.getIofo(l)}function h(){k.value=!0,le(r).then(l=>{let e=l.data;R.value=e.list,N(()=>{L()}),x.value=l.data.count,k.value=!1}).catch(l=>{k.value=!1,y.error(l.msg)})}function E(){r.page=1,h()}return(l,e)=>{const s=d("el-input"),c=d("el-form-item"),n=d("el-button"),q=d("el-form"),F=d("el-card"),m=d("el-table-column"),G=d("el-divider"),H=d("el-table"),K=d("pagination"),f=S("db-click"),$=S("auth"),P=S("loading");return i(),_("div",null,[o(F,{bordered:!1,shadow:"never","body-style":{padding:0}},{default:a(()=>[v("div",ne,[o(q,{ref_key:"artFromRef",ref:j,model:r,"label-width":"80px","label-position":"right",class:"tabform",onSubmit:e[1]||(e[1]=Z(()=>{},["prevent"])),inline:""},{default:a(()=>[o(c,{label:"规格搜索:"},{default:a(()=>[o(s,{clearable:"",modelValue:r.rule_name,"onUpdate:modelValue":e[0]||(e[0]=t=>r.rule_name=t),placeholder:"请输入规格名称",class:"form_content_width"},null,8,["modelValue"])]),_:1}),o(c,null,{default:a(()=>[p((i(),g(n,{type:"primary",onClick:E},{default:a(()=>[...e[5]||(e[5]=[w("查询",-1)])]),_:1})),[[f]])]),_:1})]),_:1},8,["model"])])]),_:1}),o(F,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:a(()=>[p((i(),g(n,{type:"primary",class:"action-row",onClick:M},{default:a(()=>[...e[6]||(e[6]=[w("添加商品规格",-1)])]),_:1})),[[$,["product-rule-save"]],[f]]),p((i(),g(n,{class:"action-row",onClick:e[2]||(e[2]=t=>B(null,"批量删除规格"))},{default:a(()=>[...e[7]||(e[7]=[w("批量删除",-1)])]),_:1})),[[$,["product-product-rule-delete"]],[f]]),p((i(),g(H,{ref_key:"tableRef",ref:I,data:R.value,"highlight-current-row":"","row-key":U,onSelectionChange:z,"empty-text":"暂无数据",class:"mt14"},{default:a(()=>[o(m,{type:"selection",width:"60","reserve-selection":!0}),o(m,{label:"ID",width:"80"},{default:a(t=>[v("span",null,C(t.row.id),1)]),_:1}),o(m,{label:"模版名称","min-width":"130"},{default:a(t=>[v("span",null,C(t.row.rule_name),1)]),_:1}),o(m,{label:"规格名称","min-width":"130"},{default:a(t=>[v("span",null,C(t.row.attr_name),1)]),_:1}),o(m,{label:"商品属性","min-width":"130"},{default:a(t=>[(i(!0),_(J,null,Q(t.row.attr_value,(D,W)=>(i(),_("span",{key:W,textContent:C(D),style:{display:"block"}},null,8,ie))),128))]),_:1}),o(m,{label:"操作",fixed:"right",width:"120"},{default:a(t=>[p((i(),_("a",{onClick:D=>O(t.row)},[...e[8]||(e[8]=[w("编辑",-1)])],8,re)),[[f]]),o(G,{direction:"vertical"}),p((i(),_("a",{onClick:D=>B(t.row,"删除规格",t.$index)},[...e[9]||(e[9]=[w("删除",-1)])],8,se)),[[f]])]),_:1})]),_:1},8,["data"])),[[P,k.value]]),v("div",de,[x.value?(i(),g(K,{key:0,total:x.value,page:r.page,"onUpdate:page":e[3]||(e[3]=t=>r.page=t),limit:r.limit,"onUpdate:limit":e[4]||(e[4]=t=>r.limit=t),onPagination:h},null,8,["total","page","limit"])):X("",!0)])]),_:1}),o(Y(te),{ref_key:"addAttrRef",ref:b,onGetList:E},null,512)])}}});export{he as default}; diff --git a/backend/public/admin/system_static/index-BPZiC_rp.css b/backend/public/admin/system_static/index-BPZiC_rp.css new file mode 100644 index 000000000..891deea62 --- /dev/null +++ b/backend/public/admin/system_static/index-BPZiC_rp.css @@ -0,0 +1 @@ +.form_content_width[data-v-473d9754]{width:220px}.price[data-v-473d9754]{color:#ed4014;font-weight:700}[data-v-473d9754] .el-tabs__header{margin:0;padding:0 20px} diff --git a/backend/public/admin/system_static/index-BQRoiRbm.js b/backend/public/admin/system_static/index-BQRoiRbm.js new file mode 100644 index 000000000..45bd6a3a5 --- /dev/null +++ b/backend/public/admin/system_static/index-BQRoiRbm.js @@ -0,0 +1 @@ +import{y as i,z as g,A as e,H as L,F as J,D as W,a1 as z,a0 as U,ad as ae,n as ue,k as B,j as y,C as q,$ as V,B as j,l as r,a as de,Z as I,u as ve,a2 as T,at as Ce,s as me,W as we,p as pe,f as $e,G as qe}from"./element-plus-C_ZDq0cz.js";import{_ as N,b as X,h as Z,S as se,Q as ce}from"./index-DHL7RTL2.js";import{y as K,A as Y,D as Se,L as xe}from"./index-C2Zmd2Xm.js";import le from"./diyIndex-fnxQJQda.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./mobildConfig-D-hsabUr.js";import"./vuedraggable.umd-fTw9SVdO.js";import"./validate-a11VBqc7.js";import"./cms-BakSzEoF.js";import"./index-CIbY4f6Z.js";import"./marketing-BAfn8OEa.js";import"./index-B14gRfLE.js";import"./index-CYgESPmX.js";/* empty css */import"./index-Beo5Mkpq.js";import"./wangeditor-D-KRDJ3T.js";import"./registerMenus-BIn2m7Us.js";const Ee={key:0},Te={class:"menu-list"},Ve=["onClick"],Me={key:0,class:"menu-name"},Be={class:"menu-item"},Ie=Object.assign({name:"Sidebar"},{__name:"Sidebar",props:{activeMenu:{type:String,default:"home"},collapsed:{type:Boolean,default:!1},unsaved:{type:Boolean,default:!1}},emits:["change","save","toggle"],setup(h,{emit:b}){const t=h,_=b,v=X(),u=Z(),c=[{key:"home",name:"商城首页",icon:"iconic_home"},{key:"category",name:"商品分类",icon:"icona-ic_Picturearrangement"},{key:"detail",name:"商品详情",icon:"iconic_commodity"},{key:"user",name:"个人中心",icon:"icona-ic_user1"},{key:"theme",name:"商城风格",icon:"iconic_zhuti"}];function l($){if(t.activeMenu===$)return;let k=v.query.type;t.unsaved?ae.confirm("确定离开此页面?系统可能不会保存您所做的更改。","提示",{confirmButtonText:"保存",cancelButtonText:"不保存",type:"warning",distinguishCancelAndClose:!0,showClose:!1}).then(()=>{_("save",k),_("change",$)}).catch(a=>{_("change",$)}):_("change",$)}function C(){_("toggle")}function M(){let $=v.query.type;ae.confirm("确定离开此页面?系统可能不会保存您所做的更改。","提示",{confirmButtonText:"保存",cancelButtonText:"退出",type:"warning",distinguishCancelAndClose:!0,showClose:!1}).then(()=>{_("save",$),ue(()=>{u.back()})}).catch(()=>{u.back()})}return($,k)=>(i(),g("div",{class:z(["sidebar-container",{collapsed:h.collapsed}])},[e("div",{class:"back-btn",onClick:M},[k[0]||(k[0]=e("i",{class:"el-icon-arrow-left"},null,-1)),h.collapsed?L("",!0):(i(),g("span",Ee,"返回"))]),e("div",Te,[(i(),g(J,null,W(c,a=>e("div",{class:z(["menu-item",{active:h.activeMenu===a.key}]),key:a.key,onClick:p=>l(a.key)},[e("span",{class:z(["iconfont",a.icon])},null,2),h.collapsed?L("",!0):(i(),g("span",Me,U(a.name),1))],10,Ve)),64))]),e("div",{class:"bottom-menu",onClick:C},[e("div",Be,[e("i",{class:z(h.collapsed?"el-icon-s-unfold":"el-icon-s-fold")},null,2)])])],2))}}),Pe=N(Ie,[["__scopeId","data-v-d84d9b12"]]),De={class:"page-header"},Fe={class:"header-left"},Ue={class:"label"},Le={class:"theme-name"},Ne={class:"header-right"},Oe={class:"dialog-footer"},Ae=Object.assign({name:"PageHeader"},{__name:"Header",props:{themeName:{type:String,default:""},themeInfo:{type:String,default:""},isMicroPage:{type:Boolean,default:!1}},emits:["preview","save","save-close","save-template","update-info"],setup(h,{emit:b}){const t=h,_=b,v=X(),u=Z(),c=r(!1),l=r({title:"",info:""});function C(){l.value.title=t.themeName,l.value.info=t.themeInfo,c.value=!0}function M(){let k={title:l.value.title,info:l.value.info};v.query.page_type==="micro"&&(k.page_type="micro"),v.query.tid&&(k.tid=v.query.tid),_("update-info",k),c.value=!1}function $(){u.push({path:"/admin/setting/theme/micro_page"})}return(k,a)=>{const p=B("el-button"),f=B("el-input"),S=B("el-form-item"),D=B("el-form"),P=B("el-dialog");return i(),g("div",De,[e("div",Fe,[h.isMicroPage?(i(),g("span",{key:0,class:"iconfont iconfanhui",onClick:$})):L("",!0),e("span",Ue,"当前"+U(h.isMicroPage?"专题":"主题")+":",1),e("span",Le,U(h.themeName),1),e("span",{class:"iconfont iconic_edit1 edit-icon",onClick:C})]),e("div",Ne,[y(p,{icon:"el-icon-view",onClick:a[0]||(a[0]=w=>k.$emit("preview"))},{default:q(()=>[...a[8]||(a[8]=[V("预览",-1)])]),_:1}),h.isMicroPage?L("",!0):(i(),j(p,{key:0,onClick:a[1]||(a[1]=w=>k.$emit("save-template"))},{default:q(()=>[...a[9]||(a[9]=[V("另存主题",-1)])]),_:1})),y(p,{onClick:a[2]||(a[2]=w=>k.$emit("save"))},{default:q(()=>[...a[10]||(a[10]=[V("保存",-1)])]),_:1}),y(p,{type:"primary",onClick:a[3]||(a[3]=w=>k.$emit("save-close"))},{default:q(()=>[...a[11]||(a[11]=[V("保存并关闭",-1)])]),_:1})]),y(P,{title:`修改${h.isMicroPage?"专题":"主题"}信息`,modelValue:c.value,"onUpdate:modelValue":a[7]||(a[7]=w=>c.value=w),width:"500px"},{footer:q(()=>[e("div",Oe,[y(p,{onClick:a[6]||(a[6]=w=>c.value=!1)},{default:q(()=>[...a[12]||(a[12]=[V("取 消",-1)])]),_:1}),y(p,{type:"primary",onClick:M},{default:q(()=>[...a[13]||(a[13]=[V("确 定",-1)])]),_:1})])]),default:q(()=>[y(D,{model:l.value,ref_key:"form",ref:l,"label-width":"80px"},{default:q(()=>[y(S,{label:`${h.isMicroPage?"专题":"主题"}名称:`},{default:q(()=>[y(f,{modelValue:l.value.title,"onUpdate:modelValue":a[4]||(a[4]=w=>l.value.title=w),maxlength:20,"show-word-limit":"",placeholder:`请输入${h.isMicroPage?"专题":"主题"}名称`},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),y(S,{label:`${h.isMicroPage?"专题":"主题"}简介:`},{default:q(()=>[y(f,{type:"textarea",modelValue:l.value.info,"onUpdate:modelValue":a[5]||(a[5]=w=>l.value.info=w),maxlength:200,"show-word-limit":"",placeholder:`请输入${h.isMicroPage?"专题":"主题"}简介`,rows:4},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_:1},8,["model"])]),_:1},8,["title","modelValue"])])}}}),He=N(Ae,[["__scopeId","data-v-5e3bffd7"]]),je="/admin/system_static/theme-bg-0-CJed1Cpd.png",re="/admin/system_static/theme-bg-1-DUNkwacX.png",ze="/admin/system_static/theme-bg-2-vmTggGe7.png",Re={class:"style-config-container"},Qe={class:"config-panel"},Ge={class:"panel-header"},Je={class:"config-body"},We={class:""},Xe={class:"config-item"},Ze={class:"color-picker-row"},Ke={class:"color-value"},Ye={class:"config-item"},et={class:"color-picker-row"},tt={class:"color-value"},ot={class:"config-item"},at={class:"color-picker-row"},st={class:"color-value"},lt={class:"qrcode-section"},nt={class:"qrcode-list"},it={class:"qrcode-item"},ct={class:"preview-panel"},rt={class:"preview-list"},ut={class:"phone-mockup"},dt=["src"],vt={key:0,class:"buy-btn"},mt={key:0,class:"dialog-header"},pt={key:1,class:"detail-header"},ft={class:"dialog-content",key:"list"},_t={class:"content-wrapper"},gt={class:"main-content"},yt={class:"filters-header"},ht={class:"search-box"},bt={class:"theme-grid"},kt={class:"phone-preview"},Ct=["src"],wt={class:"theme-info"},$t={class:"default-info"},qt={class:"theme-title line1"},St={class:"color-dots"},xt={class:"hover-actions"},Et={class:"pagination-wrapper"},Tt={class:"detail-content",key:"detail"},Vt={class:"detail-body"},Mt={class:"detail-images-section"},Bt={class:"images-list"},It={class:"phone-mockup"},Pt=["src"],Dt={key:0,class:"buy-btn"},Ft=Object.assign({name:"StyleConfig"},{__name:"StyleConfig",setup(h,{expose:b}){const t=X(),_=Z(),v=[je,re,ze],u=r(null),c=r("#E93323"),l=r("#FF7F00"),C=r("#FFC300"),M=se.apiBaseURL.replace(/adminapi/,""),$=r(!1),k=r(""),a=r([]),p=r(!1),f=r({}),S=r(1),D=r(10),P=r(0),w=r(!1),F=pe(()=>a.value.filter(s=>s.name.includes(k.value)));de(()=>{t.query.id!=0&&ie()}),b({saveOnly:fe,saveAndClose:_e});function ee(){$.value=!0,S.value=1,R()}function R(){w.value=!0,Se({page:S.value,limit:D.value}).then(s=>{w.value=!1,P.value=s.data.count,a.value=s.data.list.map(o=>{var x,E,H;return{...o,name:o.title,image:o.image,themeColor:((x=o.theme_data)==null?void 0:x.theme_color)||"#E93323",gradientColor:((E=o.theme_data)==null?void 0:E.gradient_color)||"#FF7F00",subColor:((H=o.theme_data)==null?void 0:H.sub_color)||"#FFC300"}})}).catch(()=>{w.value=!1})}function te(s){S.value=s,R()}function oe(s){var o,x,E;c.value=((o=s.theme_data)==null?void 0:o.theme_color)||"#E93323",l.value=((x=s.theme_data)==null?void 0:x.gradient_color)||"#FF7F00",C.value=((E=s.theme_data)==null?void 0:E.sub_color)||"#FFC300",I.success("已应用风格颜色"),$.value=!1,p.value=!1}function n(){window.open("https://www.crmeb.com/theme?from=crmebkytheme","_blank")}function m(s){f.value=s,p.value=!0}function O(){p.value=!1}function A(){$.value=!1,p.value=!1}function Q(){if(u.value){u.value.innerHTML="";let s=`${M}pages/index/index?theme_id=${t.query.id}`;new ce(u.value,{text:s,width:110,height:110,colorDark:"#000000",colorLight:"#ffffff",correctLevel:ce.CorrectLevel.H})}}function G(s,o){s||(s="#E93323"),s=s.replace("#","");const x=parseInt(s.substring(0,2),16),E=parseInt(s.substring(2,4),16),H=parseInt(s.substring(4,6),16);return`rgba(${x}, ${E}, ${H}, ${o})`}function ne(){const s=c.value.replace("#",""),o=parseInt(s.substring(0,2),16),x=parseInt(s.substring(2,4),16),E=parseInt(s.substring(4,6),16);return`rgba(${o}, ${x}, ${E}, 0.1)`}function ie(){ue(()=>{Q()}),K(t.query.id,"theme").then(s=>{s.data&&(c.value=s.data.theme_color,l.value=s.data.gradient_color,C.value=s.data.sub_color)})}function fe(){ae.confirm("确认仅保存风格吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Y(t.query.id,{type:"theme",value:{theme_color:c.value,gradient_color:l.value,sub_color:C.value,light_color:ne()}}).then(s=>{t.query.id==0&&_.replace({query:{...t.query,id:s.data.id}}),I({type:"success",message:s.msg})})})}function _e(){Y(t.query.id,{type:"theme",value:{theme_color:c.value,gradient_color:l.value,sub_color:C.value,light_color:ne()}}).then(s=>{t.query.id==0&&_.replace({query:{...t.query,id:s.data.id}}),I({type:"success",message:s.msg}),_.push(`${se.routePre}/setting/my_theme`)}).catch(s=>{I.error(s.msg||"保存失败")})}return(s,o)=>{const x=B("el-button"),E=B("el-color-picker"),H=B("el-input"),ge=B("el-pagination"),ye=B("el-dialog"),he=ve("loading");return i(),g("div",Re,[e("div",Qe,[e("div",Ge,[o[9]||(o[9]=e("span",{class:"title"},"当前风格:商城通用主题",-1)),y(x,{type:"text",onClick:ee},{default:q(()=>[...o[7]||(o[7]=[V("更换风格",-1)])]),_:1}),e("span",{class:"restore-btn",onClick:o[0]||(o[0]=d=>ie())},[...o[8]||(o[8]=[e("i",{class:"el-icon-refresh-left"},null,-1),V(" 还原主题",-1)])])]),e("div",Je,[e("div",We,[e("div",Xe,[o[10]||(o[10]=e("div",{class:"label"},"主题颜色",-1)),e("div",Ze,[y(E,{modelValue:c.value,"onUpdate:modelValue":o[1]||(o[1]=d=>c.value=d)},null,8,["modelValue"]),e("span",Ke,U(c.value),1)])]),e("div",Ye,[o[11]||(o[11]=e("div",{class:"label"},"渐变颜色",-1)),e("div",et,[y(E,{modelValue:l.value,"onUpdate:modelValue":o[2]||(o[2]=d=>l.value=d)},null,8,["modelValue"]),e("span",tt,U(l.value),1)])]),e("div",ot,[o[12]||(o[12]=e("div",{class:"label"},"辅助颜色",-1)),e("div",at,[y(E,{modelValue:C.value,"onUpdate:modelValue":o[3]||(o[3]=d=>C.value=d)},null,8,["modelValue"]),e("span",st,U(C.value),1)])])]),e("div",lt,[e("div",nt,[e("div",it,[e("div",{class:"qrcode-box",ref_key:"qrCodeUrl",ref:u},null,512)])]),o[13]||(o[13]=e("div",{class:"demo-tip"},"扫码查看完整演示",-1))])])]),e("div",ct,[o[14]||(o[14]=e("div",{class:"preview-title"},"预览效果",-1)),e("div",rt,[(i(),g(J,null,W([0,1,2],d=>e("div",{class:"preview-item",key:d},[e("div",ut,[e("img",{style:T({background:c.value}),src:v[d],alt:"preview"},null,12,dt),d==0?(i(),g("div",vt,[e("div",{class:"btn btn-outline",style:T({background:C.value})},"加入购物车",4),e("div",{class:"btn btn-primary",style:T({background:c.value})},"立即购买",4)])):L("",!0)])])),64))])]),y(ye,{modelValue:$.value,"onUpdate:modelValue":o[6]||(o[6]=d=>$.value=d),width:"1188px",top:"9vh","custom-class":"theme-dialog","show-close":!1,"append-to-body":"",modal:!0,"modal-append-to-body":!0,"lock-scroll":!0,onClose:A},{header:q(()=>[p.value?(i(),g("div",pt,[e("div",{class:"left-action"},[e("div",{class:"back-btn",onClick:O},[...o[16]||(o[16]=[e("i",{class:"el-icon-arrow-left"},null,-1),V(" 返回",-1)])]),o[17]||(o[17]=e("div",{class:"vertical-line"},null,-1)),o[18]||(o[18]=e("span",{class:"detail-title"},"风格详情",-1))])])):(i(),g("div",mt,[e("div",{class:"dialog-header-tabs"},[e("div",{class:"tabs"},[o[15]||(o[15]=e("span",{class:"title"},"我的主题",-1)),e("img",{class:"title-icon",src:"https://www.crmeb.com/static/images/zhutishichang.png",alt:"",onClick:n})])]),e("i",{class:"el-icon-close",onClick:A})]))]),default:q(()=>[y(Ce,{name:"fade-transform",mode:"out-in"},{default:q(()=>[p.value?(i(),g("div",Tt,[e("div",Vt,[e("div",Mt,[o[21]||(o[21]=e("div",{class:"section-title"},"页面预览",-1)),e("div",Bt,[(i(),g(J,null,W([0,1,2],d=>e("div",{class:"image-item",key:d},[e("div",It,[e("img",{style:T({background:f.value.themeColor}),src:v[d],alt:"preview"},null,12,Pt),d==0?(i(),g("div",Dt,[e("div",{class:"btn btn-outline",style:T({background:f.value.subColor})},"加入购物车",4),e("div",{class:"btn btn-primary",style:T({background:f.value.themeColor})},"立即购买",4)])):L("",!0)])])),64))])])])])):(i(),g("div",ft,[e("div",_t,[e("div",gt,[e("div",yt,[e("div",ht,[y(H,{modelValue:k.value,"onUpdate:modelValue":o[4]||(o[4]=d=>k.value=d),placeholder:"请输入主题名称","prefix-icon":"el-icon-search"},null,8,["modelValue"])])]),me((i(),g("div",bt,[(i(!0),g(J,null,W(F.value,(d,be)=>(i(),g("div",{class:"theme-item",key:be},[e("div",{class:"theme-cover",style:T({background:G(d.themeColor,.1)})},[e("div",kt,[e("img",{style:T({background:d.themeColor}),src:we(re),alt:"style"},null,12,Ct)])],4),e("div",wt,[e("div",$t,[e("div",qt,U(d.name||"无名称"),1),e("div",St,[e("span",{class:"dot",style:T({background:d.themeColor})},null,4),e("span",{class:"dot",style:T({background:d.gradientColor})},null,4),e("span",{class:"dot",style:T({background:d.subColor})},null,4)])]),e("div",xt,[y(x,{plain:"",onClick:ke=>m(d)},{default:q(()=>[...o[19]||(o[19]=[V("查看详情",-1)])]),_:1},8,["onClick"]),y(x,{type:"primary",onClick:ke=>oe(d)},{default:q(()=>[...o[20]||(o[20]=[V("使用风格",-1)])]),_:1},8,["onClick"])])])]))),128))])),[[he,w.value]]),e("div",Et,[y(ge,{background:"",layout:"prev, pager, next",total:P.value,"page-size":D.value,"current-page":S.value,"onUpdate:currentPage":o[5]||(o[5]=d=>S.value=d),onCurrentChange:te},null,8,["total","page-size","current-page"])])])])]))]),_:1})]),_:1},8,["modelValue"])])}}}),Ut=N(Ft,[["__scopeId","data-v-eb6f4400"]]),Lt={class:"home-editor"},Nt=Object.assign({name:"HomeEditor"},{__name:"HomeEditor",setup(h,{expose:b}){const t=r(null);function _(){t.value&&t.value.preview&&t.value.preview()}function v(){t.value&&t.value.saveConfig&&t.value.saveConfig(1)}function u(){t.value&&t.value.saveConfig&&t.value.saveConfig(2)}function c(){t.value&&(t.value.nameModal=!0)}return b({diy:t,preview:_,saveOnly:v,saveAndClose:u,saveTemplate:c}),(l,C)=>(i(),g("div",Lt,[y(le,{ref_key:"diy",ref:t},null,512)]))}}),Ot=N(Nt,[["__scopeId","data-v-696721a7"]]),At="/admin/system_static/cate1-BqKs_57c.png",Ht="/admin/system_static/cate2-DlxDfM8z.png",jt="/admin/system_static/cate3-BBplymHd.png",zt={class:"goodClass"},Rt={class:"list acea-row row-top"},Qt=["onClick"],Gt=["src"],Jt={class:"name"},Wt=Object.assign({name:"goodClass"},{__name:"CategoryEditor",emits:["parentFun"],setup(h,{expose:b,emit:t}){const _=t,v=X(),u=Z(),c=r([{image:At,name:"样式1"},{image:Ht,name:"样式2"},{image:jt,name:"样式3"}]),l=r("-1"),C=r("");$(),M(),b({saveOnly:a,saveAndClose:p});function M(){K(v.query.id,"theme").then(f=>{C.value=f.data?f.data.theme_color:"#E93323"})}function $(){K(v.query.id,"category").then(f=>{l.value=f.data.status?f.data.status-1:0})}function k(f){l.value=f}function a(f){_("parentFun",!0),l.value=f==1?0:l.value,Y(v.query.id,{type:"category",value:f==1?1:l.value+1}).then(S=>{v.query.id==0&&u.replace({query:{...v.query,id:S.data.id}}),I.success(S.msg)})}function p(){_("parentFun",!0),Y(v.query.id,{type:"category",value:l.value+1}).then(f=>{v.query.id==0&&u.replace({query:{...v.query,id:f.data.id}}),I.success(f.msg),u.push(`${se.routePre}/setting/my_theme`)}).catch(f=>{I.error(f.msg||"保存失败")})}return(f,S)=>{const D=ve("db-click");return i(),g("div",zt,[e("div",Rt,[(i(!0),g(J,null,W(c.value,(P,w)=>me((i(),g("div",{class:z(["item",l.value==w?"on":""]),key:w,onClick:F=>k(w)},[e("div",{class:"pictrue",style:T({backgroundColor:C.value})},[e("img",{src:P.image},null,8,Gt)],4),e("div",Jt,U(P.name),1)],10,Qt)),[[D]])),128))])])}}}),Xt=N(Wt,[["__scopeId","data-v-5ee8195e"]]),Zt={class:"detail-editor"},Kt=Object.assign({name:"DetailEditor"},{__name:"DetailEditor",setup(h,{expose:b}){const t=r(null);function _(){t.value&&t.value.preview&&t.value.preview()}function v(){t.value&&t.value.saveConfig&&t.value.saveConfig(1)}function u(){t.value&&t.value.saveConfig&&t.value.saveConfig(2)}function c(){t.value&&(t.value.nameModal=!0)}return b({diy:t,preview:_,saveOnly:v,saveAndClose:u,saveTemplate:c}),(l,C)=>(i(),g("div",Zt,[y(le,{ref_key:"diy",ref:t},null,512)]))}}),Yt=N(Kt,[["__scopeId","data-v-a0d33300"]]),eo={class:"user-editor"},to=Object.assign({name:"UserEditor"},{__name:"UserEditor",setup(h,{expose:b}){const t=r(null);function _(){t.value&&t.value.preview&&t.value.preview()}function v(){t.value&&t.value.saveConfig&&t.value.saveConfig(1)}function u(){t.value&&t.value.saveConfig&&t.value.saveConfig(2)}function c(){t.value&&(t.value.nameModal=!0)}return b({diy:t,preview:_,saveOnly:v,saveAndClose:u,saveTemplate:c}),(l,C)=>(i(),g("div",eo,[y(le,{ref_key:"diy",ref:t},null,512)]))}}),oo=N(to,[["__scopeId","data-v-3cbcd247"]]),ao={class:"edit-theme-layout"},so={class:"layout-main"},lo={class:"layout-content"},no=Object.assign({name:"EditTheme"},{__name:"index",setup(h){const b=X(),t=Z(),_=r("请设置页面名称"),v=r(""),u=r("home"),c=r(!1),l=r(!1),C=r(null),M=r(null),$=r(null),k=r(null),a=r(null),p={styleConfig:C,homeEditor:M,categoryEditor:$,detailEditor:k,userEditor:a};qe("setDirty",n=>{l.value=n}),$e(()=>b.query.type,n=>{n&&(u.value=n)},{immediate:!0});const f=pe(()=>b.query.page_type==="micro");de(()=>{b.query.id!=0&&S()});function S(){const n=b.query.id||0;if(!n){_.value="请设置页面名称";return}K(n,"base").then(m=>{_.value=m.data.title||"请设置页面名称",v.value=m.data.info}).catch(m=>{I.error(m.msg)})}function D(n){l.value&&(l.value=!1),u.value=n,b.query.type!==n&&t.replace({query:{...b.query,type:n}})}function P(n){R()}function w(n){_.value=n.title,v.value=n.info;let m=b.query.id||0;xe(m,n).then(O=>{if(I.success("保存成功"),m==0){let A={...b.query,id:O.data.id};A.tid&&delete A.tid,t.replace({query:A});const Q=F(),G=Q&&p[Q]?p[Q].value:null;G&&G.diy&&(G.diy.pageId=O.data.id)}}).catch(O=>{I.error(O.msg)})}function F(){switch(u.value){case"theme":return"styleConfig";case"home":return"homeEditor";case"category":return"categoryEditor";case"detail":return"detailEditor";case"user":return"userEditor";default:return""}}function ee(){const n=F(),m=n&&p[n]?p[n].value:null;m&&m.preview&&m.preview()}function R(){const n=F(),m=n&&p[n]?p[n].value:null;m&&m.saveOnly&&m.saveOnly()}function te(){const n=F(),m=n&&p[n]?p[n].value:null;m&&m.saveAndClose&&m.saveAndClose()}function oe(){const n=F(),m=n&&p[n]?p[n].value:null;m&&m.saveTemplate&&m.saveTemplate()}return(n,m)=>(i(),g("div",ao,[f.value?L("",!0):(i(),g("div",{key:0,class:z(["layout-sidebar",{collapsed:c.value}])},[y(Pe,{"active-menu":u.value,collapsed:c.value,unsaved:l.value,onChange:D,onSave:P,onToggle:m[0]||(m[0]=O=>c.value=!c.value)},null,8,["active-menu","collapsed","unsaved"])],2)),e("div",so,[y(He,{"theme-name":_.value,"theme-info":v.value,isMicroPage:f.value,onPreview:ee,onSave:R,onSaveClose:te,onSaveTemplate:oe,onUpdateInfo:w},null,8,["theme-name","theme-info","isMicroPage"]),e("div",lo,[u.value==="theme"?(i(),j(Ut,{key:0,ref_key:"styleConfig",ref:C},null,512)):u.value==="home"?(i(),j(Ot,{key:1,ref_key:"homeEditor",ref:M},null,512)):u.value==="category"?(i(),j(Xt,{key:2,ref_key:"categoryEditor",ref:$},null,512)):u.value==="detail"?(i(),j(Yt,{key:3,ref_key:"detailEditor",ref:k},null,512)):u.value==="user"?(i(),j(oo,{key:4,ref_key:"userEditor",ref:a},null,512)):L("",!0)])])]))}}),xo=N(no,[["__scopeId","data-v-aa7d2f6c"]]);export{xo as default}; diff --git a/backend/public/admin/system_static/index-BS6HoU40.css b/backend/public/admin/system_static/index-BS6HoU40.css new file mode 100644 index 000000000..6d40767f2 --- /dev/null +++ b/backend/public/admin/system_static/index-BS6HoU40.css @@ -0,0 +1 @@ +.coupon-setting[data-v-d5506d47]{padding:20px}.product-add .bottom-btn-box[data-v-1b32378c]{text-align:center;padding:20px 0;border-top:1px solid #ebf0f5}.product-add .bottom-btn-box .save-btn[data-v-1b32378c]{width:120px} diff --git a/backend/public/admin/system_static/index-BTDA8QGr.js b/backend/public/admin/system_static/index-BTDA8QGr.js new file mode 100644 index 000000000..c9f6c6305 --- /dev/null +++ b/backend/public/admin/system_static/index-BTDA8QGr.js @@ -0,0 +1 @@ +import{a as re,L as de,Z as b,y as p,z as k,j as l,C as a,l as y,k as s,u as C,A as n,ac as ue,s as _,B as x,$ as w,a0 as r,H as A,p as j}from"./element-plus-C_ZDq0cz.js";import{_ as ce,a as me,b as pe,h as _e,S as ve,m as fe}from"./index-DHL7RTL2.js";import{seckillTimeListApi as we,seckillListApi as ge,seckillStatusApi as he,exportSeckillListApi as be}from"./api-DEOgbDDm.js";import"./validate-a11VBqc7.js";import{e as ke}from"./newToExcel-Ce_ClQ6v.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./xlsx-DvXcP_SB.js";const ye={class:"padding-add"},xe={class:"tabBox_img"},Ve={class:"line2"},Ce={class:"line2"},Se={class:"line2"},De=["onClick"],Le=["onClick"],Me=["onClick"],Ue=["onClick"],Ye={class:"acea-row row-right page"},$e=Object.assign({name:"seckillProductList"},{__name:"index",setup(Ee){const z=pe(),S=_e(),D=ve.routePre,O=me(),q=j(()=>O.isMobile),J=j(()=>q.value?void 0:"80px"),L=y(!1),U=y([]),R=y([]),i=y({status:"",store_name:"",page:1,limit:15,time_ids:[],time:"",activity_name:""}),V=y([]),Y=y(0);re(()=>{g(),B()}),de(()=>{g(),B()});function B(){we().then(o=>{R.value=o.data.list.data}).catch(o=>{b.error(o.msg)})}function F(o){V.value=o,i.value.time=V.value?V.value.join("-"):"",i.value.page=1,o[0]||(i.value.time=""),g()}function H(){S.push({path:D+"/marketing/seckill/product/create"})}async function K(){let[o,t,d,u]=[[],[],[],""],m=JSON.parse(JSON.stringify(i.value));m.page=1,m.limit=200;for(let M=0;M{be(o).then(u=>{t(u.data)})})}function Z(o){S.push({path:D+"/marketing/seckill/product/create/"+o.id+"/0"})}function G(o){S.push({path:D+"/marketing/seckill/product/create/"+o.id+"/1"})}function Q(o,t,d){let u={title:t,url:`marketing/seckill/${o.id}`,method:"DELETE",ids:""};fe(u).then(m=>{b.success(m.msg),U.value.splice(d,1)}).catch(m=>{b.error(m.msg)})}function X(o){S.push({path:D+"/marketing/store_seckill/statistics/"+o.id})}function g(){L.value=!0,i.value.status=i.value.status||"",i.value.product_id=z.params.product_id||"",ge(i.value).then(async o=>{let t=o.data;U.value=t.list,Y.value=o.data.count,L.value=!1}).catch(o=>{L.value=!1,b.error(o.msg)})}function I(){i.value.page=1,g()}function ee(o){let t={id:o.id,status:o.status};he(t).then(async d=>{g(),b.success(d.msg)}).catch(d=>{b.error(d.msg),o.status=!o.status})}return(o,t)=>{const d=s("el-input"),u=s("el-form-item"),m=s("el-option"),M=s("el-select"),v=s("date-range-picker"),$=s("el-button"),te=s("el-form"),P=s("el-card"),c=s("el-table-column"),E=s("el-tooltip"),le=s("el-switch"),N=s("el-divider"),ae=s("el-table"),oe=s("pagination"),f=C("db-click"),T=C("auth"),ie=C("lazy"),ne=C("viewer"),se=C("loading");return p(),k("div",null,[l(P,{bordered:!1,shadow:"never","body-style":{padding:0}},{default:a(()=>[n("div",ye,[l(te,{model:i.value,"label-width":J.value,"label-position":"right",onSubmit:t[4]||(t[4]=ue(()=>{},["prevent"])),inline:""},{default:a(()=>[l(u,{label:"商品搜索:","label-for":"store_name"},{default:a(()=>[l(d,{placeholder:"请输入商品名称,ID",modelValue:i.value.store_name,"onUpdate:modelValue":t[0]||(t[0]=e=>i.value.store_name=e),clearable:"",class:"form_content_width"},null,8,["modelValue"])]),_:1}),l(u,{label:"活动搜索:","label-for":"activity_name"},{default:a(()=>[l(d,{placeholder:"请输入活动名称",modelValue:i.value.activity_name,"onUpdate:modelValue":t[1]||(t[1]=e=>i.value.activity_name=e),clearable:"",class:"form_content_width"},null,8,["modelValue"])]),_:1}),l(u,{label:"活动状态:"},{default:a(()=>[l(M,{placeholder:"请选择",clearable:"",modelValue:i.value.status,"onUpdate:modelValue":t[2]||(t[2]=e=>i.value.status=e),onChange:I,class:"form_content_width"},{default:a(()=>[l(m,{value:"1",label:"开启"}),l(m,{value:"0",label:"关闭"})]),_:1},8,["modelValue"])]),_:1}),l(u,{label:"活动时间:"},{default:a(()=>[l(v,{clearable:"",modelValue:V.value,"onUpdate:modelValue":t[3]||(t[3]=e=>V.value=e),editable:!1,onChange:F,format:"YYYY/MM/DD","value-format":"YYYY/MM/DD"},null,8,["modelValue"])]),_:1}),l(u,null,{default:a(()=>[_((p(),x($,{type:"primary",onClick:I},{default:a(()=>[...t[7]||(t[7]=[w("查询",-1)])]),_:1})),[[f]])]),_:1})]),_:1},8,["model","label-width"])])]),_:1}),l(P,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:a(()=>[_((p(),x($,{class:"action-row",type:"primary",onClick:H},{default:a(()=>[...t[8]||(t[8]=[w(" 添加秒杀商品 ",-1)])]),_:1})),[[T,["marketing-seckill-product-create"]],[f]]),_((p(),x($,{class:"action-row export",onClick:K},{default:a(()=>[...t[9]||(t[9]=[w("导出",-1)])]),_:1})),[[T,["export-storeSeckill"]],[f]]),_((p(),x(ae,{data:U.value,"highlight-current-row":"",class:"mt14"},{default:a(()=>[l(c,{label:"ID",width:"80"},{default:a(e=>[n("span",null,r(e.row.id),1)]),_:1}),l(c,{label:"商品图片","min-width":"90"},{default:a(e=>[_((p(),k("div",xe,[_(n("img",null,null,512),[[ie,e.row.image]])])),[[ne]])]),_:1}),l(c,{label:"商品标题","min-width":"130"},{default:a(e=>[l(E,{placement:"top","open-delay":600},{content:a(()=>[n("div",null,r(e.row.title),1)]),default:a(()=>[n("span",Ve,r(e.row.title),1)]),_:2},1024)]),_:1}),l(c,{label:"商品简介","min-width":"100"},{default:a(e=>[l(E,{placement:"top","open-delay":600},{content:a(()=>[n("div",null,r(e.row.info),1)]),default:a(()=>[n("span",Ce,r(e.row.info),1)]),_:2},1024)]),_:1}),l(c,{label:"活动名称","min-width":"100"},{default:a(e=>[l(E,{placement:"top","open-delay":600},{content:a(()=>[n("div",null,r(e.row.activity_name),1)]),default:a(()=>[n("span",Se,r(e.row.activity_name),1)]),_:2},1024)]),_:1}),l(c,{label:"售价","min-width":"90"},{default:a(e=>[n("span",null,r(e.row.product_price),1)]),_:1}),l(c,{label:"秒杀价","min-width":"90"},{default:a(e=>[n("span",null,r(e.row.price),1)]),_:1}),l(c,{label:"限量","min-width":"80"},{default:a(e=>[n("span",null,r(e.row.quota_show),1)]),_:1}),l(c,{label:"限量剩余","min-width":"80"},{default:a(e=>[n("span",null,r(e.row.quota),1)]),_:1}),l(c,{label:"秒杀状态","min-width":"90"},{default:a(e=>[n("span",null,r(e.row.start_name),1)]),_:1}),l(c,{label:"活动时间","min-width":"190"},{default:a(e=>[n("p",null,"开始:"+r(e.row.start_time),1),n("p",null,"结束:"+r(e.row.end_time),1)]),_:1}),l(c,{label:"状态","min-width":"100"},{default:a(e=>[l(le,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:e.row.status,"onUpdate:modelValue":h=>e.row.status=h,value:e.row.status,onChange:h=>ee(e.row),size:"large","active-text":"开启","inactive-text":"关闭"},null,8,["modelValue","onUpdate:modelValue","value","onChange"])]),_:1}),l(c,{label:"操作",fixed:"right",width:"150"},{default:a(e=>[e.row.stop_status===0?_((p(),k("a",{key:0,onClick:h=>Z(e.row)},[...t[10]||(t[10]=[w("编辑",-1)])],8,De)),[[f]]):A("",!0),e.row.stop_status===0?(p(),x(N,{key:1,direction:"vertical"})):A("",!0),_((p(),k("a",{onClick:h=>G(e.row)},[...t[11]||(t[11]=[w("复制",-1)])],8,Le)),[[f]]),l(N,{direction:"vertical"}),_((p(),k("a",{onClick:h=>Q(e.row,"删除秒杀商品",e.$index)},[...t[12]||(t[12]=[w("删除",-1)])],8,Me)),[[f]]),l(N,{direction:"vertical"}),_((p(),k("a",{onClick:h=>X(e.row)},[...t[13]||(t[13]=[w("统计",-1)])],8,Ue)),[[f]])]),_:1})]),_:1},8,["data"])),[[se,L.value]]),n("div",Ye,[Y.value?(p(),x(oe,{key:0,total:Y.value,page:i.value.page,"onUpdate:page":t[5]||(t[5]=e=>i.value.page=e),limit:i.value.limit,"onUpdate:limit":t[6]||(t[6]=e=>i.value.limit=e),onPagination:g},null,8,["total","page","limit"])):A("",!0)])]),_:1})])}}}),qe=ce($e,[["__scopeId","data-v-d2802e4b"]]);export{qe as default}; diff --git a/backend/public/admin/system_static/index-BTQEHEeo.css b/backend/public/admin/system_static/index-BTQEHEeo.css new file mode 100644 index 000000000..a426e3b7e --- /dev/null +++ b/backend/public/admin/system_static/index-BTQEHEeo.css @@ -0,0 +1 @@ +.sidebar-container[data-v-d84d9b12]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%;background:-webkit-gradient(linear,left top,left bottom,from(#0550ff),to(#009dff));background:linear-gradient(180deg,#0550ff,#009dff);color:#fff}.sidebar-container .back-btn[data-v-d84d9b12]{height:50px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 20px;cursor:pointer;font-size:14px;white-space:nowrap}.sidebar-container .back-btn i[data-v-d84d9b12]{margin-right:5px}.sidebar-container .menu-list[data-v-d84d9b12]{-webkit-box-flex:1;-ms-flex:1;flex:1;padding-top:20px}.sidebar-container .menu-list .menu-item[data-v-d84d9b12]{display:-webkit-box;display:-ms-flexbox;display:flex;height:60px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;-webkit-transition:all .3s;transition:all .3s;opacity:.9;font-size:14px;position:relative;background-color:transparent;border-radius:8px 0 0 8px;font-weight:400}.sidebar-container .menu-list .menu-item[data-v-d84d9b12]:before,.sidebar-container .menu-list .menu-item[data-v-d84d9b12]:after{position:absolute;right:0;content:"";width:30px;height:30px;border-radius:100%;-webkit-box-shadow:0 0 0 15px transparent;box-shadow:0 0 0 15px transparent;-webkit-transition:all .3s;transition:all .3s;z-index:1}.sidebar-container .menu-list .menu-item[data-v-d84d9b12]:before{top:-30px;clip-path:inset(50% 0 0 50%)}.sidebar-container .menu-list .menu-item[data-v-d84d9b12]:after{bottom:-30px;clip-path:inset(0 0 50% 50%)}.sidebar-container .menu-list .menu-item.active[data-v-d84d9b12]{opacity:1;background:#fff;color:#1f74ff;margin-left:8px}.sidebar-container .menu-list .menu-item.active[data-v-d84d9b12]:before,.sidebar-container .menu-list .menu-item.active[data-v-d84d9b12]:after{-webkit-box-shadow:0 0 0 15px #fff;box-shadow:0 0 0 15px #fff}.sidebar-container .menu-list .menu-item .iconfont[data-v-d84d9b12]{font-size:16px;font-weight:700}.sidebar-container .menu-list .menu-item .menu-name[data-v-d84d9b12]{margin-left:10px;font-size:14px;white-space:nowrap}.sidebar-container .bottom-menu[data-v-d84d9b12]{border-top:1px solid rgba(255,255,255,.2)}.sidebar-container .bottom-menu .menu-item[data-v-d84d9b12]{height:60px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;position:relative}.sidebar-container .bottom-menu .menu-item i[data-v-d84d9b12]{font-size:20px;margin-bottom:5px}.sidebar-container.collapsed .menu-item .menu-name[data-v-d84d9b12],.sidebar-container.collapsed .back-btn span[data-v-d84d9b12]{display:none}.page-header[data-v-5e3bffd7]{height:60px;background:#fff;border-bottom:1px solid #eee;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 20px}.page-header .header-left[data-v-5e3bffd7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:16px;color:#333}.page-header .header-left .label[data-v-5e3bffd7]{font-weight:500}.page-header .header-left .iconfanhui[data-v-5e3bffd7]{margin-right:10px}.page-header .header-left .theme-name[data-v-5e3bffd7]{font-weight:500;margin-right:10px}.page-header .header-left .edit-icon[data-v-5e3bffd7]{cursor:pointer;color:#999}.page-header .header-left .edit-icon[data-v-5e3bffd7]:hover{color:#1890ff}.fade-transform-leave-active[data-v-eb6f4400],.fade-transform-enter-active[data-v-eb6f4400]{-webkit-transition:all .5s;transition:all .5s}.fade-transform-enter[data-v-eb6f4400]{opacity:0;-webkit-transform:translateX(-30px);transform:translate(-30px)}.fade-transform-leave-to[data-v-eb6f4400]{opacity:0;-webkit-transform:translateX(30px);transform:translate(30px)}.style-config-container[data-v-eb6f4400]{display:-webkit-box;display:-ms-flexbox;display:flex;height:100%}.style-config-container .config-panel[data-v-eb6f4400]{background:#fff;padding:35px 40px;border-right:1px solid #eee}.style-config-container .config-panel[data-v-eb6f4400] .el-color-picker__trigger{border:none}.style-config-container .config-panel .panel-header[data-v-eb6f4400]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:30px}.style-config-container .config-panel .panel-header[data-v-eb6f4400] .el-button{font-size:14px;padding-left:0!important}.style-config-container .config-panel .panel-header .title[data-v-eb6f4400]{font-size:16px;font-weight:500;margin-right:10px}.style-config-container .config-panel .panel-header .restore-btn[data-v-eb6f4400]{margin-left:auto;cursor:pointer;color:#666;font-size:14px}.style-config-container .config-panel .panel-header .restore-btn[data-v-eb6f4400]:hover{color:#1890ff}.style-config-container .config-panel .config-body[data-v-eb6f4400]{display:-webkit-box;display:-ms-flexbox;display:flex;background:#fafafa;border-radius:8px;padding:20px 50px 20px 20px}.style-config-container .config-panel .config-body .config-item[data-v-eb6f4400]{margin-bottom:25px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.style-config-container .config-panel .config-body .config-item .label[data-v-eb6f4400]{width:80px;color:#666}.style-config-container .config-panel .config-body .config-item .color-picker-row[data-v-eb6f4400]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.style-config-container .config-panel .config-body .config-item .color-picker-row .color-value[data-v-eb6f4400]{margin-left:10px;color:#333}.style-config-container .config-panel .config-body .config-item[data-v-eb6f4400]:last-child{margin-bottom:0}.style-config-container .config-panel .config-body .qrcode-section[data-v-eb6f4400]{margin-left:50px;border-left:1px dashed #eee;padding-left:50px}.style-config-container .config-panel .config-body .qrcode-section .qrcode-list[data-v-eb6f4400]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around;margin-bottom:10px}.style-config-container .config-panel .config-body .qrcode-section .qrcode-list .qrcode-item[data-v-eb6f4400]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.style-config-container .config-panel .config-body .qrcode-section .qrcode-list .qrcode-item .qrcode-box[data-v-eb6f4400]{width:110px;height:110px;border:1px solid #eee;padding:5px;background:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.style-config-container .config-panel .config-body .qrcode-section .qrcode-list .qrcode-item .qrcode-box img[data-v-eb6f4400],.style-config-container .config-panel .config-body .qrcode-section .qrcode-list .qrcode-item .qrcode-box canvas[data-v-eb6f4400]{width:100%!important;height:100%!important}.style-config-container .config-panel .config-body .qrcode-section .qrcode-list .qrcode-item .qrcode-label[data-v-eb6f4400]{margin-top:10px;font-size:12px;color:#666}.style-config-container .config-panel .config-body .qrcode-section .demo-tip[data-v-eb6f4400]{text-align:center;font-size:12px;color:#999}.style-config-container .preview-panel[data-v-eb6f4400]{-webkit-box-flex:1;-ms-flex:1;flex:1;background:#fff;padding:40px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.style-config-container .preview-panel .preview-title[data-v-eb6f4400]{font-size:14px;margin-bottom:20px}.style-config-container .preview-panel .preview-list[data-v-eb6f4400]{display:-webkit-box;display:-ms-flexbox;display:flex;gap:30px;overflow-y:auto;-webkit-box-flex:1;-ms-flex:1;flex:1}.style-config-container .preview-panel .preview-list .preview-item .phone-mockup[data-v-eb6f4400]{width:202px;height:-webkit-max-content;height:-moz-max-content;height:max-content;overflow:hidden;position:relative}.style-config-container .preview-panel .preview-list .preview-item .phone-mockup .buy-btn[data-v-eb6f4400]{position:absolute;bottom:24px;right:7px;display:-webkit-box;display:-ms-flexbox;display:flex}.style-config-container .preview-panel .preview-list .preview-item .phone-mockup .buy-btn .btn[data-v-eb6f4400]{padding:4px 11px;border-radius:5px;color:#fff;font-size:8px}.style-config-container .preview-panel .preview-list .preview-item .phone-mockup .buy-btn .btn-outline[data-v-eb6f4400]{border-radius:20px 0 0 20px}.style-config-container .preview-panel .preview-list .preview-item .phone-mockup .buy-btn .btn-primary[data-v-eb6f4400]{border-radius:0 20px 20px 0}.style-config-container .preview-panel .preview-list .preview-item .phone-mockup img[data-v-eb6f4400]{width:100%;height:100%;border-radius:20px;-o-object-fit:cover;object-fit:cover}.style-config-container[data-v-eb6f4400] .theme-dialog{border-radius:8px;overflow:hidden;width:calc(100vw - 140px)!important;height:calc(100vh - 100px)!important;margin:50px 70px!important}.style-config-container[data-v-eb6f4400] .theme-dialog .el-dialog__header{border-bottom:1px solid #f0f0f0;padding:0 20px!important}[data-v-eb6f4400] .el-dialog__body{max-height:-webkit-max-content;max-height:-moz-max-content;max-height:max-content;padding:0!important;overflow-y:auto}.dialog-header[data-v-eb6f4400]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%}.dialog-header .dialog-header-tabs[data-v-eb6f4400]{background:#fff}.dialog-header .dialog-header-tabs .tabs[data-v-eb6f4400]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.dialog-header .dialog-header-tabs .tabs .title[data-v-eb6f4400]{font-size:14px;line-height:22px;font-weight:500;color:#333;cursor:pointer;position:relative}.dialog-header .dialog-header-tabs .tabs .theme-in[data-v-eb6f4400]{height:12px;margin-left:20px;cursor:pointer}.dialog-header .dialog-header-tabs .tabs .title-icon[data-v-eb6f4400]{height:14px;margin-left:10px}.dialog-content[data-v-eb6f4400]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:calc(100% - 20px);background-color:#f5f7fa}.dialog-content .content-wrapper[data-v-eb6f4400]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden}.dialog-content .content-wrapper .main-content[data-v-eb6f4400]{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:hidden;background:#fff}.dialog-content .content-wrapper .main-content .filters-header[data-v-eb6f4400]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:20px}.dialog-content .content-wrapper .main-content .filters-header .search-box[data-v-eb6f4400]{width:300px}.dialog-content .content-wrapper .main-content .theme-grid[data-v-eb6f4400]{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:20px;overflow-y:auto;padding-right:5px;-webkit-box-flex:1;-ms-flex:1;flex:1}.dialog-content .content-wrapper .main-content .theme-grid .theme-item[data-v-eb6f4400]{background:#fff;border-radius:8px;overflow:hidden;border:1px solid #f0f0f0;-webkit-transition:all .3s;transition:all .3s;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.dialog-content .content-wrapper .main-content .theme-grid .theme-item[data-v-eb6f4400]:hover{-webkit-box-shadow:0 4px 12px rgba(0,0,0,.1);box-shadow:0 4px 12px #0000001a;-webkit-transform:translateY(-2px);transform:translateY(-2px)}.dialog-content .content-wrapper .main-content .theme-grid .theme-item:hover .theme-info .default-info[data-v-eb6f4400]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.dialog-content .content-wrapper .main-content .theme-grid .theme-item:hover .theme-info .hover-actions[data-v-eb6f4400]{opacity:1;visibility:visible;-webkit-transform:translateY(0);transform:translateY(0)}.dialog-content .content-wrapper .main-content .theme-grid .theme-item .theme-cover[data-v-eb6f4400]{position:relative;height:240px;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.dialog-content .content-wrapper .main-content .theme-grid .theme-item .theme-cover .phone-preview[data-v-eb6f4400]{width:140px;height:100%;overflow:hidden;padding:20px 0}.dialog-content .content-wrapper .main-content .theme-grid .theme-item .theme-cover .phone-preview img[data-v-eb6f4400]{width:100%;border-radius:10px}.dialog-content .content-wrapper .main-content .theme-grid .theme-item .theme-info[data-v-eb6f4400]{padding:12px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:relative;background:#fff}.dialog-content .content-wrapper .main-content .theme-grid .theme-item .theme-info .default-info[data-v-eb6f4400]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:100%;-webkit-transition:all .3s;transition:all .3s}.dialog-content .content-wrapper .main-content .theme-grid .theme-item .theme-info .theme-title[data-v-eb6f4400]{font-size:14px;color:#333;font-weight:500}.dialog-content .content-wrapper .main-content .theme-grid .theme-item .theme-info .color-dots[data-v-eb6f4400]{display:-webkit-box;display:-ms-flexbox;display:flex;gap:4px}.dialog-content .content-wrapper .main-content .theme-grid .theme-item .theme-info .color-dots .dot[data-v-eb6f4400]{width:16px;height:16px;border-radius:50%;display:inline-block}.dialog-content .content-wrapper .main-content .theme-grid .theme-item .theme-info .hover-actions[data-v-eb6f4400]{position:absolute;top:0;left:0;width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;gap:0px;background:#fff;opacity:0;visibility:hidden;-webkit-transform:translateY(10px);transform:translateY(10px);-webkit-transition:all .3s;transition:all .3s;z-index:2}.dialog-content .content-wrapper .main-content .pagination-wrapper[data-v-eb6f4400]{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.detail-header[data-v-eb6f4400]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0;background:#fff}.detail-header .left-action[data-v-eb6f4400]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:15px}.detail-header .left-action .back-btn[data-v-eb6f4400]{cursor:pointer;color:#666;font-size:14px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.detail-header .left-action .back-btn[data-v-eb6f4400]:hover{color:#1890ff}.detail-header .left-action .back-btn i[data-v-eb6f4400]{margin-right:4px}.detail-header .left-action .vertical-line[data-v-eb6f4400]{width:1px;height:16px;background:#e8e8e8}.detail-header .left-action .detail-title[data-v-eb6f4400]{font-size:16px;font-weight:700;color:#333}.detail-content[data-v-eb6f4400]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%;background:#f5f7fa}.detail-content .detail-body[data-v-eb6f4400]{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto;padding:20px}.detail-content .detail-body .detail-top[data-v-eb6f4400]{display:-webkit-box;display:-ms-flexbox;display:flex;background:#fff;border-radius:8px;padding:30px;margin-bottom:20px}.detail-content .detail-body .detail-top .detail-preview-main[data-v-eb6f4400]{width:220px;margin-right:24px;-ms-flex-negative:0;flex-shrink:0}.detail-content .detail-body .detail-top .detail-preview-main .phone-mockup-main[data-v-eb6f4400]{width:100%;height:380px;border-radius:20px;overflow:hidden;border:1px solid #eeeeee}.detail-content .detail-body .detail-top .detail-preview-main .phone-mockup-main img[data-v-eb6f4400]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.detail-content .detail-body .detail-top .detail-info-box[data-v-eb6f4400]{-webkit-box-flex:1;-ms-flex:1;flex:1;padding-top:20px}.detail-content .detail-body .detail-top .detail-info-box .info-title[data-v-eb6f4400]{font-size:24px;font-weight:700;color:#333;margin-bottom:20px}.detail-content .detail-body .detail-top .detail-info-box .info-desc[data-v-eb6f4400]{font-size:14px;color:#666;line-height:1.8;margin-bottom:40px;max-width:600px}.detail-content .detail-body .detail-top .detail-info-box .info-colors[data-v-eb6f4400]{margin-bottom:40px}.detail-content .detail-body .detail-top .detail-info-box .info-colors .color-row[data-v-eb6f4400]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:15px}.detail-content .detail-body .detail-top .detail-info-box .info-colors .color-row .label[data-v-eb6f4400]{width:70px;color:#999;font-size:14px}.detail-content .detail-body .detail-top .detail-info-box .info-colors .color-row .color-block[data-v-eb6f4400]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:#f5f7fa;padding:5px 15px 5px 5px;border-radius:4px}.detail-content .detail-body .detail-top .detail-info-box .info-colors .color-row .color-block .dot[data-v-eb6f4400]{width:24px;height:24px;border-radius:4px;margin-right:10px}.detail-content .detail-body .detail-top .detail-info-box .info-colors .color-row .color-block .value[data-v-eb6f4400]{font-size:14px;color:#333;font-family:Monaco,monospace}.detail-content .detail-body .detail-top .detail-info-box .info-btn .el-button[data-v-eb6f4400]{width:120px;height:40px}.detail-content .detail-body .detail-top .detail-qrcode[data-v-eb6f4400]{width:200px;border-left:1px solid #eee;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding-left:40px}.detail-content .detail-body .detail-top .detail-qrcode .qrcode-box[data-v-eb6f4400]{width:140px;height:140px;padding:10px;border:1px solid #eee;border-radius:4px;margin-bottom:15px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.detail-content .detail-body .detail-top .detail-qrcode .qrcode-box img[data-v-eb6f4400],.detail-content .detail-body .detail-top .detail-qrcode .qrcode-box canvas[data-v-eb6f4400]{width:100%!important;height:100%!important}.detail-content .detail-body .detail-top .detail-qrcode .qrcode-text[data-v-eb6f4400]{font-size:13px;color:#666}.detail-content .detail-body .detail-images-section[data-v-eb6f4400]{background:#fff;border-radius:8px;padding:30px}.detail-content .detail-body .detail-images-section .section-title[data-v-eb6f4400]{font-size:18px;font-weight:700;color:#333;margin-bottom:25px;padding-left:10px;border-left:4px solid #1890ff;line-height:1}.detail-content .detail-body .detail-images-section .images-list[data-v-eb6f4400]{display:-webkit-box;display:-ms-flexbox;display:flex;gap:40px;overflow-x:auto;padding-bottom:20px}.detail-content .detail-body .detail-images-section .images-list .image-item[data-v-eb6f4400]{-ms-flex-negative:0;flex-shrink:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.detail-content .detail-body .detail-images-section .images-list .image-item .phone-mockup[data-v-eb6f4400]{width:240px;height:-webkit-max-content;height:-moz-max-content;height:max-content;border-radius:16px;overflow:hidden;-webkit-box-shadow:0 4px 15px rgba(0,0,0,.08);box-shadow:0 4px 15px #00000014;position:relative;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;border:1px solid #eee}.detail-content .detail-body .detail-images-section .images-list .image-item .phone-mockup[data-v-eb6f4400]:hover{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.detail-content .detail-body .detail-images-section .images-list .image-item .phone-mockup .buy-btn[data-v-eb6f4400]{position:absolute;bottom:28px;right:9px;display:-webkit-box;display:-ms-flexbox;display:flex}.detail-content .detail-body .detail-images-section .images-list .image-item .phone-mockup .buy-btn .btn[data-v-eb6f4400]{padding:5px 10px;border-radius:5px;color:#fff;font-size:10px}.detail-content .detail-body .detail-images-section .images-list .image-item .phone-mockup .buy-btn .btn-outline[data-v-eb6f4400]{border-radius:20px 0 0 20px}.detail-content .detail-body .detail-images-section .images-list .image-item .phone-mockup .buy-btn .btn-primary[data-v-eb6f4400]{border-radius:0 20px 20px 0}.detail-content .detail-body .detail-images-section .images-list .image-item .phone-mockup img[data-v-eb6f4400]{width:100%;display:block}.detail-content .detail-body .detail-images-section .images-list .image-item .page-name[data-v-eb6f4400]{margin-top:15px;font-size:14px;color:#666}.home-editor[data-v-696721a7]{height:100%}[data-v-696721a7] .i-layout-page-header.header-title{display:none}.goodClass[data-v-5ee8195e]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:#fff}.goodClass .title[data-v-5ee8195e]{font-size:14px;color:#000000d9;position:relative;padding-left:11px;font-weight:700}.goodClass .title[data-v-5ee8195e]:after{position:absolute;content:" ";width:2px;height:14px;background-color:var(--prev-color-primary);left:0;top:3px}.goodClass .list .item[data-v-5ee8195e]{width:264px;margin:0 30px 0 0;cursor:pointer}.goodClass .list .item .pictrue[data-v-5ee8195e]{width:100%;height:496px;border:1px solid #eeeeee;border-radius:10px}.goodClass .list .item .pictrue img[data-v-5ee8195e]{width:100%;height:100%}.goodClass .list .item .name[data-v-5ee8195e]{font-size:13px;color:#000000d9;margin-top:16px;text-align:center}.goodClass .list .item.on .pictrue[data-v-5ee8195e]{border:2px solid var(--prev-color-primary)}.goodClass .list .item.on .name[data-v-5ee8195e]{color:var(--prev-color-primary)}.detail-editor[data-v-a0d33300],.user-editor[data-v-3cbcd247]{height:100%}[data-v-3cbcd247] .i-layout-page-header.header-title{display:none}.el-main{padding:0}.edit-theme-layout[data-v-aa7d2f6c]{display:-webkit-box;display:-ms-flexbox;display:flex;height:100vh;background-color:#f5f7fa;overflow:hidden}.edit-theme-layout .layout-sidebar[data-v-aa7d2f6c]{width:120px;background:#fff;height:100%;-ms-flex-negative:0;flex-shrink:0;-webkit-transition:width .2s ease;transition:width .2s ease}.edit-theme-layout .layout-sidebar.collapsed[data-v-aa7d2f6c]{width:70px}.edit-theme-layout .layout-main[data-v-aa7d2f6c]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-width:0}.edit-theme-layout .layout-main .layout-content[data-v-aa7d2f6c]{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:hidden;position:relative;background:#fff} diff --git a/backend/public/admin/system_static/index-BUIAESmA.css b/backend/public/admin/system_static/index-BUIAESmA.css new file mode 100644 index 000000000..c58259c67 --- /dev/null +++ b/backend/public/admin/system_static/index-BUIAESmA.css @@ -0,0 +1 @@ +.picBox[data-v-dc6822bc]{display:inline-block;cursor:pointer}.picBox .upLoad[data-v-dc6822bc]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:#00000005}.picBox .pictrue[data-v-dc6822bc]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:10px}.picBox .pictrue img[data-v-dc6822bc]{width:100%;height:100%}.picBox .iconfont[data-v-dc6822bc]{color:#898989}.mapBox[data-v-dc6822bc] .ivu-modal-body{height:640px!important}.btn[data-v-dc6822bc]{margin:0 auto;width:40%}[data-v-55bba783] .el-tabs__item{height:54px!important;line-height:54px!important}.tabBox_img[data-v-55bba783]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-55bba783]{width:100%;height:100%} diff --git a/backend/public/admin/system_static/index-BURA8Ns7.css b/backend/public/admin/system_static/index-BURA8Ns7.css new file mode 100644 index 000000000..f4cc06c7b --- /dev/null +++ b/backend/public/admin/system_static/index-BURA8Ns7.css @@ -0,0 +1 @@ +.input[data-v-46605ade]{width:400px} diff --git a/backend/public/admin/system_static/index-BUW_EdOq.css b/backend/public/admin/system_static/index-BUW_EdOq.css new file mode 100644 index 000000000..1399bc3e3 --- /dev/null +++ b/backend/public/admin/system_static/index-BUW_EdOq.css @@ -0,0 +1 @@ +.drawer-footer[data-v-3cba7511]{position:absolute;bottom:0;left:0;right:0;padding:16px 24px;background:#fff;border-top:1px solid #e8e8e8;text-align:right;z-index:10}.font-weight-bold[data-v-c42f4b4e]{font-weight:700}.mb20[data-v-c42f4b4e]{margin-bottom:20px}.text-muted[data-v-c42f4b4e]{color:#999}.text-danger[data-v-c42f4b4e]{color:#e74c3c}[data-v-c42f4b4e] .sort-input-center input{text-align:center}[data-v-5272a480] .el-tabs__header{margin:0}.setting-card[data-v-5272a480]{min-height:calc(100vh - 200px)}.tab-content[data-v-5272a480]{padding-top:20px}.field-md[data-v-5272a480]{width:300px}.field-lg[data-v-5272a480]{width:500px}.form-tip[data-v-5272a480]{color:#909399;font-size:12px;line-height:1.5;margin-top:5px}.mb20[data-v-5272a480]{margin-bottom:20px} diff --git a/backend/public/admin/system_static/index-BUfKU4C3.js b/backend/public/admin/system_static/index-BUfKU4C3.js new file mode 100644 index 000000000..b222ad488 --- /dev/null +++ b/backend/public/admin/system_static/index-BUfKU4C3.js @@ -0,0 +1 @@ +import{Z as q,k as y,u as N,s as h,y as r,z as A,B as m,W as x,H as B,j as s,C as o,A as a,$ as z,a0 as f,a2 as I,ab as E,l as n}from"./element-plus-C_ZDq0cz.js";import{c as J}from"./cards-kFTwJ5CA.js";import{_ as K}from"./index-K7mJi7Sh.js";import{_ as G}from"./index-BNh-i5iE.js";import{f as Q,h as X,i as ee,j as ae}from"./statistic-BeRWO-o3.js";import{f as H}from"./validate-a11VBqc7.js";import{_ as te}from"./index-DHL7RTL2.js";import"./echarts-CylxjQLW.js";import"./echarts-C6m23LPs.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const le={class:"acea-row row-middle"},se={class:"code-row-bg"},ne={class:"acea-row row-between-wrapper"},oe={class:"ech-box"},ie={class:"percent-box"},re={class:"line"},ce={class:"num"},de={class:"acea-row row-between-wrapper"},ue={class:"ech-box"},ve={class:"percent-box"},me={class:"line"},fe={class:"num"},pe=Object.assign({name:"index"},{__name:"index",setup(he){const d=n([]),O={height:"400px"},F=n({}),V=n({}),_=n(!0),w=n(!1),D=n(!1),L=n(!1),v=n({time:""}),k=n([{col:8,count:0,name:"当前余额",className:"iconyuexiaohaojine"},{col:8,count:0,name:"累计余额",className:"iconyuechongzhi"},{col:8,count:0,name:"累计消耗余额",className:"iconyuexiaohaojine"}]),C=n({}),b=n(!1),Y=n([]),$=n([]),P=new Date,T=new Date;T.setTime(T.setTime(new Date(new Date().getFullYear(),new Date().getMonth(),new Date().getDate()-29))),d.value=[H(T,"yyyy/MM/dd"),H(P,"yyyy/MM/dd")],v.value.time=d.value.join("-"),R();function R(){S(),j(),U(),W()}function S(){Q(v.value).then(l=>{let e=["now_balance","add_balance","sub_balance"];k.value.map((p,c)=>{p.count=l.data[e[c]]})})}function U(){D.value=!0,X(v.value).then(l=>{F.value=l.data,Y.value=l.data.list,D.value=!1})}function W(){L.value=!0,ee(v.value).then(l=>{V.value=l.data,$.value=l.data.list,L.value=!1})}function Z(l){d.value=l,v.value.time=d.value?d.value.join("-"):"",S(),j()}function j(){b.value=!0,ae(v.value).then(async l=>{let e=l.data.series.map(u=>u.name),p=l.data.xAxis,c=["#5B8FF9","#5AD8A6","#FFAB2B","#5D7092"],i=[];l.data.series.map((u,g)=>{i.push({name:u.name,type:"line",data:u.data,itemStyle:{normal:{color:c[g]}},smooth:0})}),C.value={tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},legend:{x:"center",data:e},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},toolbox:{feature:{saveAsImage:{}}},xAxis:{type:"category",boundaryGap:!0,axisLabel:{interval:0,rotate:40,textStyle:{color:"#000000"}},data:p},yAxis:{type:"value",axisLine:{show:!1},axisTick:{show:!1},axisLabel:{textStyle:{color:"#7F8B9C"}},splitLine:{show:!0,lineStyle:{color:"#F5F7F9"}}},series:i},b.value=!1}).catch(l=>{q.error(l.msg),b.value=!1})}return(l,e)=>{const p=y("date-range-picker"),c=y("el-card"),i=y("el-table-column"),u=y("el-table"),g=N("db-click"),M=N("loading");return h((r(),A("div",null,[k.value.length>=0?(r(),m(x(J),{key:0,cardLists:k.value},null,8,["cardLists"])):B("",!0),s(c,{bordered:!1,shadow:"never",class:"ivu-mb-16"},{default:o(()=>[a("div",le,[e[3]||(e[3]=a("span",{class:"label_text"},"时间选择:",-1)),s(p,{clearable:"",modelValue:d.value,"onUpdate:modelValue":e[0]||(e[0]=t=>d.value=t),editable:!1,onChange:Z,format:"YYYY/MM/DD","value-format":"YYYY/MM/DD",class:"mr20"},null,8,["modelValue"])])]),_:1}),s(c,{class:"ivu-mb-16",bordered:!1,shadow:"never"},{default:o(()=>[e[4]||(e[4]=a("h3",null,"余额使用趋势",-1)),C.value?(r(),m(x(K),{key:0,"option-data":C.value,styles:O,height:"100%",width:"100%"},null,8,["option-data"])):B("",!0)]),_:1}),a("div",se,[s(c,{bordered:!1,shadow:"never",class:"ivu-mt mr8"},{default:o(()=>[a("div",ne,[e[6]||(e[6]=a("h3",{class:"statics-header-title"},"余额来源分析",-1)),h((r(),A("div",{class:"change-style",onClick:e[1]||(e[1]=t=>_.value=!_.value)},[...e[5]||(e[5]=[z("切换样式",-1)])])),[[g]])]),a("div",oe,[_.value?(r(),m(x(G),{key:0,ref:"visitChart",infoList:F.value,echartsTitle:"circle"},null,8,["infoList"])):B("",!0),h((r(),m(u,{ref:"selection",data:Y.value,"empty-text":"暂无数据","highlight-current-row":""},{default:o(()=>[s(i,{type:"index",label:"序号",width:"50"}),s(i,{label:"来源","min-width":"80"},{default:o(t=>[a("span",null,f(t.row.name),1)]),_:1}),s(i,{label:"金额","min-width":"130"},{default:o(t=>[a("span",null,f(t.row.value),1)]),_:1}),s(i,{label:"占比率","min-width":"130"},{default:o(t=>[a("div",ie,[a("div",re,[e[7]||(e[7]=a("div",{class:"bg"},null,-1)),a("div",{class:"percent",style:I("width:"+t.row.percent+"%;")},null,4)]),a("div",ce,f(t.row.percent)+"%",1)])]),_:1})]),_:1},8,["data"])),[[E,!_.value],[M,D.value]])])]),_:1}),s(c,{bordered:!1,shadow:"never",class:"ivu-mt ml8 pr10"},{default:o(()=>[a("div",de,[e[9]||(e[9]=a("h3",{class:"statics-header-title"},"余额消耗",-1)),h((r(),A("div",{class:"change-style",onClick:e[2]||(e[2]=t=>w.value=!w.value)},[...e[8]||(e[8]=[z("切换样式",-1)])])),[[g]])]),a("div",ue,[w.value?(r(),m(x(G),{key:0,ref:"visitChart",infoList:V.value,echartsTitle:"circle"},null,8,["infoList"])):B("",!0),h((r(),m(u,{ref:"selection",data:$.value,"empty-text":"暂无数据","highlight-current-row":""},{default:o(()=>[s(i,{type:"index",label:"序号",width:"50"}),s(i,{label:"来源","min-width":"80"},{default:o(t=>[a("span",null,f(t.row.name),1)]),_:1}),s(i,{label:"金额","min-width":"130"},{default:o(t=>[a("span",null,f(t.row.value),1)]),_:1}),s(i,{label:"占比率","min-width":"130"},{default:o(t=>[a("div",ve,[a("div",me,[e[10]||(e[10]=a("div",{class:"bg"},null,-1)),a("div",{class:"percent",style:I("width:"+t.row.percent+"%;")},null,4)]),a("div",fe,f(t.row.percent)+"%",1)])]),_:1})]),_:1},8,["data"])),[[E,!w.value],[M,L.value]])])]),_:1})])])),[[M,b.value]])}}}),Me=te(pe,[["__scopeId","data-v-a8c350f6"]]);export{Me as default}; diff --git a/backend/public/admin/system_static/index-BW8heJ1r.css b/backend/public/admin/system_static/index-BW8heJ1r.css new file mode 100644 index 000000000..b1de538b7 --- /dev/null +++ b/backend/public/admin/system_static/index-BW8heJ1r.css @@ -0,0 +1 @@ +.form-tip[data-v-6aacd0ab]{color:#909399;font-size:12px;line-height:1.5;margin-top:5px}.form-actions[data-v-6aacd0ab]{margin-top:24px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;gap:8px}.form-actions .el-button+.el-button[data-v-6aacd0ab]{margin-left:0}.font-weight-bold[data-v-80355f3f]{font-weight:700}.mb20[data-v-80355f3f]{margin-bottom:20px}.mt16[data-v-80355f3f]{margin-top:16px} diff --git a/backend/public/admin/system_static/index-BWirwKLf.css b/backend/public/admin/system_static/index-BWirwKLf.css new file mode 100644 index 000000000..8b2b0bd12 --- /dev/null +++ b/backend/public/admin/system_static/index-BWirwKLf.css @@ -0,0 +1 @@ +.label-wrapper .list[data-v-729ac026]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.label-wrapper .list .label[data-v-729ac026]{position:relative;border:1px solid #ffffff;padding:2px;border-radius:4px;margin:0 8px 10px 0;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.label-wrapper .list .label.on[data-v-729ac026]{border:1px solid #2d8cf0}.label-wrapper .list .label-item[data-v-729ac026]{padding:3px 8px;background:#eee;color:#333;border-radius:2px;cursor:pointer;font-size:12px}.label-wrapper .list .img-tag[data-v-729ac026]{height:22px;border-radius:2px}.label-wrapper .list .sanjiao[data-v-729ac026]{position:absolute;right:0;bottom:0;width:20px;height:20px;background:#2d8cf0;clip-path:polygon(100% 100%,100% 0,0 100%);color:#fff;text-align:right}.label-wrapper .list .sanjiao .iconfont[data-v-729ac026]{font-size:10px}.label-wrapper .footer[data-v-729ac026]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin-top:40px}.label-wrapper .footer button[data-v-729ac026]{margin-left:10px}.label-box[data-v-729ac026]{margin-bottom:10px}.btn[data-v-729ac026]{width:60px;height:24px}.title[data-v-729ac026]{font-size:13px;margin-bottom:8px}.nonefont[data-v-729ac026]{text-align:center;padding-top:20px} diff --git a/backend/public/admin/system_static/index-BXIJJ_bG.js b/backend/public/admin/system_static/index-BXIJJ_bG.js new file mode 100644 index 000000000..5d7106913 --- /dev/null +++ b/backend/public/admin/system_static/index-BXIJJ_bG.js @@ -0,0 +1 @@ +import{f as ie,k as m,u as xe,y as d,z as y,j as o,C as a,ac as Re,am as te,an as _e,A as c,B as b,v as we,s as V,W as Fe,au as Pe,H as ae,F as he,D as ge,a0 as D,$ as F,a1 as Se,ab as Me,Z as g,l as s,p as Z,n as qe,a as ze,r as Ee}from"./element-plus-C_ZDq0cz.js";import{_ as Le,h as He,aK as We,u as Ge,aL as Ze,aM as Ce,A as Je}from"./index-DHL7RTL2.js";import{a as Qe,b as Xe,g as Ye,i as el,m as ll,c as tl,d as al,e as ol}from"./systemMenus-A7RZD8uO.js";import{S as nl}from"./index-C_e-GUyL.js";import{u as sl}from"./layout-BstPWRqw.js";import{u as ul}from"./keepAliveNames-DXzO5c1g.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./icon-C8INUNkX.js";const il={class:"add"},rl={class:"dialog-footer"},dl={class:"search-rule"},ml={class:"rule"},cl=["onClick"],fl=Object.assign({name:"menusFrom"},{__name:"menusFrom",props:{formValidate:{type:Object,default:null},titleFrom:{type:String,default:""}},emits:["selectRule","changeMenu","clearFrom"],setup(_,{expose:Ve,emit:re}){const i=_,$=re,oe=s(null),de=s(null),k=s([]),N=s(""),O={xl:24,lg:24,md:24,sm:24,xs:24},w=s(!1),J=s(!1),Q=s([]),I=s(!1),C=s(!0),B=s(!1),T=s([]);ie(()=>i.formValidate.header,function(n){i.formValidate.is_header=n?1:0}),ie(()=>i.formValidate.auth_type,function(n){n===void 0&&(n=1),C.value=n===1}),ie(()=>i.formValidate.data,function(n){});const S=Z(()=>{var v;const n=(v=i.formValidate)==null?void 0:v.path;return Array.isArray(n)?n.filter(h=>Number(h)!==0).length+1>=3:!1});ie(()=>{var n;return(n=i.formValidate)==null?void 0:n.path},()=>{S.value&&i.formValidate.icon&&(i.formValidate.icon="")},{deep:!0});const E=Z(()=>{let n=[];return Q.value.map(l=>{l.field==="is_show_path"&&(n=l.options)}),n}),me=Z(()=>{let n=[];Q.value.map(v=>{v.field==="menu_list"&&(n=v.props.options)});const l=(v,h)=>v.map(M=>{var R;const x={...M};return Number(x.value)!==0&&(h>=3&&(x.disabled=!0),(R=x.children)!=null&&R.length&&(x.children=l(x.children,h+1))),x});return l(n,1)});function ce(){k.value=[],B.value="",B.value=!1}function H(){C.value=!0}function X(n){$("selectRule",n),qe(l=>{B.value=!1})}function Y(){if(N.value.trim()){k.value=[];for(var n=0;n{Q.value=n.data.rules}).catch(n=>{g.error(n.msg)})}function K(){J.value=!0}function ne(n){i.formValidate.icon=n}function G(){if(i.formValidate.path){let l=i.formValidate.path.length;i.formValidate.pid=i.formValidate.path[l-1]||0}S.value&&(i.formValidate.icon="");let n={url:i.formValidate.id?`/setting/menus/${i.formValidate.id}`:"/setting/menus",method:i.formValidate.id?"put":"post",datas:i.formValidate};if(C.value){if(!i.formValidate.menu_name)return g.warning("请填写按钮名称");if(!i.formValidate.menu_path)return g.warning("请填写路由地址")}else{if(!i.formValidate.menu_name)return g.warning("请填写接口名称");if(!i.formValidate.methods)return g.warning("请选择请求方式");if(!i.formValidate.api_url)return g.warning("请选择接口地址")}I.value=!0,Xe(n).then(async l=>{g.success(l.msg),w.value=!1,$("changeMenu",i.formValidate),W()}).catch(l=>{I.value=!1,g.error(l.msg)})}function L(){w.value=!1,C.value=!0,oe.value.resetFields(),$("clearFrom")}return W(),Ve({modals:w,valids:I,getAddFrom:W}),(n,l)=>{const v=m("el-input"),h=m("el-form-item"),M=m("el-col"),x=m("el-cascader"),R=m("el-button"),fe=m("el-radio"),ve=m("el-radio-group"),P=m("el-row"),pe=m("el-form"),se=m("el-dialog"),U=xe("db-click");return d(),y("div",null,[o(se,{modelValue:w.value,"onUpdate:modelValue":l[7]||(l[7]=u=>w.value=u),width:"540px",title:_.titleFrom,"close-on-click-modal":!1,onClosed:H},{footer:a(()=>[c("span",rl,[V((d(),b(R,{onClick:L},{default:a(()=>[...l[11]||(l[11]=[F("取 消",-1)])]),_:1})),[[U]]),V((d(),b(R,{type:"primary",onClick:l[6]||(l[6]=u=>G()),disabled:I.value},{default:a(()=>[...l[12]||(l[12]=[F("提 交",-1)])]),_:1},8,["disabled"])),[[U]])])]),default:a(()=>[o(pe,{ref_key:"formValidateRef",ref:oe,model:_.formValidate,"label-width":"80px",onSubmit:l[5]||(l[5]=Re(()=>{},["prevent"]))},{default:a(()=>[o(P,{gutter:24},{default:a(()=>[o(M,te(_e(O)),{default:a(()=>[o(h,{label:C.value?"按钮名称:":"接口名称:",prop:"menu_name"},{default:a(()=>[c("div",il,[o(v,{modelValue:_.formValidate.menu_name,"onUpdate:modelValue":l[0]||(l[0]=u=>_.formValidate.menu_name=u),placeholder:C.value?"请输入按钮名称":"请输入接口名称"},null,8,["modelValue","placeholder"])])]),_:1},8,["label"])]),_:1},16),o(M,te(_e(O)),{default:a(()=>[o(h,{label:"父级分类:"},{default:a(()=>[o(x,{options:me.value,props:{checkStrictly:!0},modelValue:_.formValidate.path,"onUpdate:modelValue":l[1]||(l[1]=u=>_.formValidate.path=u),filterable:"",style:{width:"100%"}},null,8,["options","modelValue"])]),_:1})]),_:1},16),C.value&&!S.value?(d(),b(M,te(we({key:0},O)),{default:a(()=>[o(h,{label:"图标:"},{default:a(()=>[o(v,{modelValue:_.formValidate.icon,"onUpdate:modelValue":l[2]||(l[2]=u=>_.formValidate.icon=u),placeholder:"请选择图标,点击右面图标"},{append:a(()=>[V(o(R,{icon:Fe(Pe),onClick:K},null,8,["icon"]),[[U]])]),_:1},8,["modelValue"])]),_:1})]),_:1},16)):ae("",!0),C.value?(d(),b(M,te(we({key:1},O)),{default:a(()=>[o(h,{label:"排序:"},{default:a(()=>[o(v,{type:"number",modelValue:_.formValidate.sort,"onUpdate:modelValue":l[3]||(l[3]=u=>_.formValidate.sort=u),placeholder:"请输入排序",number:""},null,8,["modelValue"])]),_:1})]),_:1},16)):ae("",!0),o(M,te(_e(O)),{default:a(()=>[o(h,{label:"是否显示:"},{default:a(()=>[o(ve,{modelValue:_.formValidate.is_show_path,"onUpdate:modelValue":l[4]||(l[4]=u=>_.formValidate.is_show_path=u)},{default:a(()=>[(d(!0),y(he,null,ge(E.value,(u,q)=>(d(),b(fe,{label:u.value,value:u.value,key:q},{default:a(()=>[c("span",null,D(u.label),1)]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1},16)]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue","title"]),o(nl,{modelValue:J.value,"onUpdate:modelValue":l[8]||(l[8]=u=>J.value=u),onSelect:ne},null,8,["modelValue"]),o(se,{modelValue:B.value,"onUpdate:modelValue":l[10]||(l[10]=u=>B.value=u),width:"1100px",title:"权限列表",onClosed:ce},{default:a(()=>[c("div",dl,[o(v,{class:"mr10",modelValue:N.value,"onUpdate:modelValue":l[9]||(l[9]=u=>N.value=u),placeholder:"输入关键词搜索",clearable:"",style:{width:"300px"},ref_key:"searchRef",ref:de},null,8,["modelValue"]),V((d(),b(R,{type:"primary",onClick:Y},{default:a(()=>[...l[13]||(l[13]=[F("搜索",-1)])]),_:1})),[[U]]),V((d(),b(R,{onClick:j},{default:a(()=>[...l[14]||(l[14]=[F("重置",-1)])]),_:1})),[[U]])]),c("div",ml,[(d(!0),y(he,null,ge(T.value,(u,q)=>V((d(),y("div",{class:Se(["rule-list",{"select-rule":k.value.includes(q)}]),key:q,onClick:be=>X(u)},[c("div",null,"接口名称:"+D(u.real_name),1),c("div",null,"请求方式:"+D(u.method),1),c("div",null,"接口地址:"+D(u.rule),1)],10,cl)),[[Me,!k.value.length||k.value.includes(q)],[U]])),128))])]),_:1},8,["modelValue"])])}}}),vl=Le(fl,[["__scopeId","data-v-ae704532"]]),pl={class:"padding-add"},_l={key:0},hl={key:1},gl={key:2},Vl=["onClick"],bl={class:"search-rule"},yl={class:"route-list"},kl={class:"tree"},wl={class:"rule"},Cl=["onClick"],xl={class:"dialog-footer"},Rl=Object.assign({name:"systemMenus"},{__name:"index",emits:["onCancel"],setup(_,{emit:Ve}){const re=He(),i=sl(),$=We(),oe=Ge(),de=Ze(),k=ul(),N=s(null),O=s(null),w=s(null),J=s(null),Q=s(null),I=s([]),C=s([]),B={childrenField:"children",reserve:!0,accordion:!0},T=s(!1),S=s(""),E=Ee({is_show:"",keyword:""}),me={children:"children",label:"name"},ce=s([]),H=s(!1),X=s([]),Y=()=>({}),j=s(Y()),W=s(""),K=s([]),ne=s([]),G=s([]),L=s([]),n=s(0),l=s(0),v=s(""),h=Z(()=>i.isMobile),M=Z(()=>h.value?void 0:"80px"),x=Z(()=>h.value?"top":"right");function R(){S.value="",P()}function fe(){let t={menus:G.value};ll(t).then(e=>{ue()}).catch(e=>{g.error(e.msg)})}function ve(t){if(L.value.includes(t.id)){let e=L.value.findIndex(f=>f==t.id);L.value.splice(e,1),G.value.splice(e,1)}else L.value.push(t.id),G.value.push({menu_name:t.name,unique_auth:"",api_url:t.path,path:n.value,method:t.method})}function P(){if(S.value.trim()){K.value=[];let e=ne.value;for(var t=0;t{ne.value=e.data,I.value=e.data,P()})}function u(t){let e={id:t.id,is_show_path:t.is_show_path,is_show:-1};el(e).then(async f=>{g.success(f.msg),$.getMenusNavList()}).catch(f=>{g.error(f.msg)})}function q(){j.value=Object.assign({},Y()),ue()}function be(){j.value=Object.assign({},Y())}function Ue(t){tl(t).then(async e=>{j.value=e.data,w.value.modals=!0}).catch(e=>{g.error(e.msg)})}function Ae(t,e,f){v.value=t.id,j.value={},Ue(t.id),W.value=e,w.value.valids=!1,w.value.getAddFrom(t.id)}function ue(){H.value=!0,Ye(E).then(async t=>{X.value=t.data,H.value=!1}).catch(t=>{H.value=!1,g.error(t.msg)})}function De(t){ye(X.value,t),$e()}function ye(t,e){let f=Object.keys(e);t.map(p=>{p.id==v.value?f.map(A=>{p[A]=e[A]}):p.children&&ye(p.children,e)})}function $e(){ol().then(t=>{let e=t.data;oe.setUniqueAuth(e.uniqueAuth),$.getmenusNav(e.menus),de.setRoutesList(e.menus);let f=Ce(re.options.routes);Ne(f);let p=Ce(e.menus);$.setOneLvRoute(p),Je.emit("routesListChange")})}function Ne(t){if(t.length<=0)return!1;const e=[],f=[];return t.forEach(p=>{p&&p.meta&&p.meta.keepAlive&&(e.push({...p}),f.push(p.name),k.setCacheKeepAlive(f))}),e}return ze(()=>{ue()}),(t,e)=>{const f=m("el-input"),p=m("el-form-item"),A=m("el-button"),Oe=m("el-form"),ke=m("el-card"),ee=m("vxe-table-column"),Ie=m("el-switch"),Be=m("vxe-table"),Te=m("el-alert"),je=m("el-tree"),Ke=m("el-dialog"),z=xe("db-click");return d(),y("div",null,[o(ke,{bordered:!1,shadow:"never",class:"ivu-mb-16","body-style":{padding:0}},{default:a(()=>[c("div",pl,[o(Oe,{ref_key:"roleDataRef",ref:O,model:E,"label-width":M.value,"label-position":x.value,onSubmit:e[1]||(e[1]=Re(()=>{},["prevent"])),inline:""},{default:a(()=>[o(p,{label:"按钮名称:",prop:"status2","label-for":"status2"},{default:a(()=>[o(f,{clearable:"",modelValue:E.keyword,"onUpdate:modelValue":e[0]||(e[0]=r=>E.keyword=r),placeholder:"请输入按钮名称",class:"form_content_width"},null,8,["modelValue"])]),_:1}),o(p,null,{default:a(()=>[V((d(),b(A,{type:"primary",onClick:ue},{default:a(()=>[...e[5]||(e[5]=[F("查询",-1)])]),_:1})),[[z]])]),_:1})]),_:1},8,["model","label-width","label-position"])])]),_:1}),o(ke,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:a(()=>[o(Be,{border:!1,class:"vxeTable",loading:H.value,ref_key:"xTable",ref:N,"header-row-class-name":"false","tree-config":B,data:X.value,"row-config":{keyField:"id",isCurrent:!0,isHover:!0}},{default:a(()=>[o(ee,{field:"menu_name","tree-node":"",title:"按钮名称","min-width":"100"}),o(ee,{field:"menu_path",title:"类型","min-width":"240",tooltip:"true"},{default:a(({row:r})=>[r.auth_type==1?(d(),y("span",_l,"菜单:"+D(r.menu_path),1)):ae("",!0),r.auth_type==3?(d(),y("span",hl,"按钮")):ae("",!0),r.auth_type==2?(d(),y("span",gl,"数据权限")):ae("",!0)]),_:1}),o(ee,{field:"sort",title:"排序",width:"150"}),o(ee,{field:"flag",title:"是否显示",width:"150"},{default:a(({row:r})=>[o(Ie,{"active-value":1,"inactive-value":0,modelValue:r.is_show_path,"onUpdate:modelValue":le=>r.is_show_path=le,value:r.is_show_path,onChange:le=>u(r),size:"large"},null,8,["modelValue","onUpdate:modelValue","value","onChange"])]),_:1}),o(ee,{field:"date",title:"操作",align:"center",width:"150",fixed:"right"},{default:a(({row:r})=>[V((d(),y("a",{onClick:le=>Ae(r,"编辑")},[...e[6]||(e[6]=[F("编辑",-1)])],8,Vl)),[[z]])]),_:1})]),_:1},8,["loading","data"])]),_:1}),o(Fe(vl),{formValidate:j.value,titleFrom:W.value,onGetList:q,onChangeMenu:De,ref_key:"menusFromRef",ref:w,onClearFrom:be},null,8,["formValidate","titleFrom"]),o(Ke,{modelValue:T.value,"onUpdate:modelValue":e[4]||(e[4]=r=>T.value=r),width:"1100px",title:"权限列表",onClosed:se},{footer:a(()=>[c("span",xl,[V((d(),b(A,{onClick:e[3]||(e[3]=r=>T.value=!1)},{default:a(()=>[...e[9]||(e[9]=[F("取 消",-1)])]),_:1})),[[z]]),V((d(),b(A,{type:"primary",onClick:fe},{default:a(()=>[...e[10]||(e[10]=[F("确 定",-1)])]),_:1})),[[z]])])]),default:a(()=>[c("div",bl,[o(Te,{title:"基础接口,可多选,并且添加后不会再展示出现;删除权限后才会出现;公共接口,可多选,并且添加后会继续展示;"}),o(f,{class:"mr10",modelValue:S.value,"onUpdate:modelValue":e[2]||(e[2]=r=>S.value=r),placeholder:"输入关键词搜索",clearable:"",style:{width:"300px"},ref_key:"search",ref:J,onOnEnter:P,onOnClear:P},null,8,["modelValue"]),V((d(),b(A,{type:"primary",onClick:P},{default:a(()=>[...e[7]||(e[7]=[F("搜索",-1)])]),_:1})),[[z]]),V((d(),b(A,{onClick:R},{default:a(()=>[...e[8]||(e[8]=[F("重置",-1)])]),_:1})),[[z]])]),c("div",yl,[c("div",kl,[o(je,{ref_key:"treeBox",ref:Q,data:ce.value,"highlight-current":!0,props:me,"node-key":"id","default-expanded-keys":C.value,"current-node-key":l.value,onNodeClick:pe},null,8,["data","default-expanded-keys","current-node-key"])]),c("div",wl,[(d(!0),y(he,null,ge(I.value,(r,le)=>V((d(),y("div",{class:Se(["rule-list",{"select-rule":L.value.includes(r.id)}]),key:le,onClick:Fl=>ve(r)},[c("div",null,"接口名称:"+D(r.name),1),c("div",null,"请求方式:"+D(r.method),1),c("div",null,"接口地址:"+D(r.path),1)],10,Cl)),[[Me,!K.value.length||K.value.includes(r.id)],[z]])),128))])])]),_:1},8,["modelValue"])])}}}),Bl=Le(Rl,[["__scopeId","data-v-bf5c2284"]]);export{Bl as default}; diff --git a/backend/public/admin/system_static/index-BXdg6YJo.js b/backend/public/admin/system_static/index-BXdg6YJo.js new file mode 100644 index 000000000..05bf1bd0d --- /dev/null +++ b/backend/public/admin/system_static/index-BXdg6YJo.js @@ -0,0 +1 @@ +import{f as S,k as O,u as z,y as s,z as o,F as m,D as p,A as r,a0 as f,s as d,a1 as A,a2 as j,H as F,B as y,C as g,$ as k,l as u}from"./element-plus-C_ZDq0cz.js";import{_ as I}from"./index-DHL7RTL2.js";const J={class:"label-wrapper"},V={key:0,class:"nonefont"},$={class:"title"},E={class:"list"},H=["onClick"],T=["src"],q={key:2,class:"sanjiao"},G={class:"acea-row row-right mt20"},K=Object.assign({name:"userLabel"},{__name:"index",props:{uid:{type:[String,Number],default:0},only_get:{default:!1},selectDataLabel:{type:Array,default:()=>{}},defaultLabelList:{type:Array,default:()=>{}}},emits:["activeLabel","close"],setup(b,{emit:L}){const _=L,h=b,n=u([]),c=u([]),x=u([]);S(()=>h.defaultLabelList,(e,t)=>{e!=t&&(n.value=JSON.parse(JSON.stringify(e)))},{deep:!0,immediate:!0});function C(e){if(e.active){let t=c.value.indexOf(e.id);c.value.splice(t,1),e.active=!1}else c.value.push(e.id),e.active=!0}function w(){let e=[];n.value.map(t=>{t.list.map(i=>{i.active==!0&&e.push(i.id)})}),_("activeLabel",e)}function B(){c.value=[],x.value=[],_("close")}return(e,t)=>{const i=O("el-button"),l=z("db-click");return s(),o("div",J,[n.value.length?(s(!0),o(m,{key:1},p(n.value,(v,N)=>(s(),o("div",{class:"label-box",key:N},[r("div",$,f(v.cate_name),1),r("div",E,[(s(!0),o(m,null,p(v.list,(a,D)=>d((s(),o("div",{class:A(["label",{on:a.active}]),key:D,onClick:M=>C(a)},[a.image?(s(),o("img",{key:1,src:a.image,class:"img-tag"},null,8,T)):(s(),o("div",{key:0,class:"label-item",style:j({backgroundColor:a.bg_color,color:a.font_color,border:a.border_color?"1px solid "+a.border_color:"none"})},f(a.name),5)),a.active?(s(),o("div",q,[...t[0]||(t[0]=[r("span",{class:"iconfont iconwancheng"},null,-1)])])):F("",!0)],10,H)),[[l]])),128))])]))),128)):(s(),o("div",V,"暂无标签")),r("div",G,[d((s(),y(i,{onClick:B},{default:g(()=>[...t[1]||(t[1]=[k("取 消",-1)])]),_:1})),[[l]]),d((s(),y(i,{type:"primary",onClick:w},{default:g(()=>[...t[2]||(t[2]=[k("确 定",-1)])]),_:1})),[[l]])])])}}}),R=I(K,[["__scopeId","data-v-729ac026"]]);export{R as g}; diff --git a/backend/public/admin/system_static/index-BYKnoFyn.js b/backend/public/admin/system_static/index-BYKnoFyn.js new file mode 100644 index 000000000..d5abfed39 --- /dev/null +++ b/backend/public/admin/system_static/index-BYKnoFyn.js @@ -0,0 +1 @@ +import{a as K,k as r,u as R,y as t,z as p,s as j,B as d,C as a,j as n,$ as V,F as C,D as A,a0 as k,H as B,A as S,l as b,p as ee,Z as T}from"./element-plus-C_ZDq0cz.js";import{w as O,_ as P,b as te}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function le(g){return O({url:"driver/email_driver/list",method:"get",params:g})}function ae(g,w){return O({url:`driver/email_driver/set_status/${g}`,method:"put",data:{status:w}})}function oe(g){return O({url:`driver/email_driver/detail/${g}`,method:"get"})}function ne(g,w){return O({url:`driver/email_driver/save_config/${g}`,method:"post",data:w})}const ue={key:7,class:"form-tip"},se={class:"help-doc-title"},re={class:"help-doc-content"},ie={key:0,class:"help-doc-steps"},de=["href"],ce={class:"form-actions"},me=Object.assign({name:"EmailDriverEdit"},{__name:"edit",props:{driverId:{type:[Number,String],default:null}},emits:["close","success"],setup(g,{emit:w}){const E=g,U=w,x=te(),I=b(null),$=b(!1),_=b({driver_name:"",sort:0,status:0}),q=b({driver_name:[{required:!0,message:"请输入驱动名称",trigger:"blur"}],sort:[{type:"number",required:!0,message:"请输入排序",trigger:"blur"}]}),L=b([]),c=b([]),f=ee(()=>{const v={};return L.value.forEach(l=>{const u=l.group||"配置";v[u]||(v[u]={name:u,fields:[]}),v[u].fields.push(l)}),Object.values(v)});K(()=>{z()});function z(){const v=E.driverId||x&&x.params.id;v&&($.value=!0,oe(v).then(l=>{var y;const u=l.data;_.value={driver_name:u.driver_name||"",sort:u.sort||0,status:u.status||0},L.value=(u.config_fields||[]).map(h=>({...h,value:h.value!==void 0&&h.value!==null&&h.value!==""?h.value:h.default!==void 0?h.default:""}));const s=(y=u.driver_info)==null?void 0:y.help_doc;s&&(s.steps&&s.steps.length>0||s.link)?c.value=[s]:c.value=[]}).catch(()=>{}).finally(()=>{$.value=!1}))}function D(){I.value.validate(v=>{if(!v)return;const l=E.driverId||x&&x.params.id,u={driver_name:_.value.driver_name,sort:_.value.sort,status:_.value.status};L.value.forEach(s=>{u[s.field]=s.value}),ne(l,u).then(s=>{T.success(s.msg||"保存成功"),U("success")}).catch(s=>{T.error(s.msg||"保存失败")})})}return(v,l)=>{const u=r("el-divider"),s=r("el-input"),y=r("el-form-item"),h=r("el-option"),M=r("el-select"),G=r("el-radio"),i=r("el-radio-group"),N=r("el-switch"),Q=r("el-input-number"),W=r("el-tag"),Z=r("el-button"),X=r("el-form"),J=R("db-click"),Y=R("loading");return t(),p("div",null,[j((t(),d(X,{ref_key:"formRef",ref:I,model:_.value,rules:q.value,"label-width":"100px"},{default:a(()=>[n(u,{"content-position":"left"},{default:a(()=>[...l[4]||(l[4]=[V("基本信息",-1)])]),_:1}),n(y,{label:"驱动名称",prop:"driver_name"},{default:a(()=>[n(s,{modelValue:_.value.driver_name,"onUpdate:modelValue":l[0]||(l[0]=m=>_.value.driver_name=m),placeholder:"请输入驱动名称"},null,8,["modelValue"])]),_:1}),f.value.length>0?(t(!0),p(C,{key:0},A(f.value,(m,F)=>(t(),p(C,{key:"group-"+F},[n(u,{"content-position":"left",style:{"margin-top":"20px"}},{default:a(()=>[V(k(m.name),1)]),_:2},1024),(t(!0),p(C,null,A(m.fields,(e,H)=>(t(),d(y,{key:"field-"+F+"-"+H,label:e.label},{default:a(()=>[e.type==="text"?(t(),d(s,{key:0,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,placeholder:e.placeholder||"请输入"+e.label},null,8,["modelValue","onUpdate:modelValue","placeholder"])):e.type==="password"?(t(),d(s,{key:1,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,type:"text",placeholder:e.placeholder||"请输入"+e.label},null,8,["modelValue","onUpdate:modelValue","placeholder"])):e.type==="textarea"?(t(),d(s,{key:2,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,type:"textarea",rows:3,placeholder:e.placeholder||"请输入"+e.label},null,8,["modelValue","onUpdate:modelValue","placeholder"])):e.type==="select"?(t(),d(M,{key:3,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,placeholder:"请选择"+e.label},{default:a(()=>[(t(!0),p(C,null,A(e.options,o=>(t(),d(h,{key:o.value,label:o.label,value:o.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","placeholder"])):e.type==="radio"?(t(),d(i,{key:4,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o},{default:a(()=>[(t(!0),p(C,null,A(e.options,o=>(t(),d(G,{key:o.value,label:o.value,value:o.value},{default:a(()=>[V(k(o.label),1)]),_:2},1032,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.type==="switch"?(t(),d(N,{key:5,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,"active-value":"1","inactive-value":"0",class:"defineSwitch"},null,8,["modelValue","onUpdate:modelValue"])):(t(),d(s,{key:6,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,placeholder:"请输入"+e.label},null,8,["modelValue","onUpdate:modelValue","placeholder"])),e.tip?(t(),p("div",ue,k(e.tip),1)):B("",!0)]),_:2},1032,["label"]))),128))],64))),128)):B("",!0),n(u,{"content-position":"left"},{default:a(()=>[...l[5]||(l[5]=[V("其它设置",-1)])]),_:1}),n(y,{label:"状态",prop:"status"},{default:a(()=>[n(N,{"active-value":1,"inactive-value":0,modelValue:_.value.status,"onUpdate:modelValue":l[1]||(l[1]=m=>_.value.status=m),"active-text":"开启","inactive-text":"关闭",class:"defineSwitch"},null,8,["modelValue"]),l[6]||(l[6]=S("div",{class:"form-tip"},"邮件驱动为互斥模式,启用当前驱动将自动禁用其他驱动",-1))]),_:1}),n(y,{label:"排序",prop:"sort"},{default:a(()=>[n(Q,{modelValue:_.value.sort,"onUpdate:modelValue":l[2]||(l[2]=m=>_.value.sort=m),min:0,max:9999},null,8,["modelValue"])]),_:1}),c.value.length>0?(t(),p(C,{key:1},[n(u,{"content-position":"left"},{default:a(()=>[...l[7]||(l[7]=[V("帮助文档",-1)])]),_:1}),(t(!0),p(C,null,A(c.value,(m,F)=>(t(),p("div",{key:F,class:"help-doc-module"},[S("div",se,k(m.title||"参考文档"),1),S("div",re,[m.steps&&m.steps.length>0?(t(),p("ol",ie,[(t(!0),p(C,null,A(m.steps,(e,H)=>(t(),p("li",{key:H},k(e),1))),128))])):B("",!0),m.link?(t(),d(W,{key:1,type:"info",class:"help-doc-tag"},{default:a(()=>[S("a",{href:m.link,target:"_blank",class:"help-doc-link"},"查看帮助文档",8,de)]),_:2},1024)):B("",!0)])]))),128))],64)):B("",!0),S("div",ce,[j((t(),d(Z,{type:"primary",onClick:D},{default:a(()=>[...l[8]||(l[8]=[V(" 保存 ",-1)])]),_:1})),[[J]]),j((t(),d(Z,{onClick:l[3]||(l[3]=m=>v.$emit("close"))},{default:a(()=>[...l[9]||(l[9]=[V(" 取消 ",-1)])]),_:1})),[[J]])])]),_:1},8,["model","rules"])),[[Y,$.value]])])}}}),ve=P(me,[["__scopeId","data-v-598d5b8a"]]),pe={class:"font-weight-bold"},_e=Object.assign({name:"emailDriver"},{__name:"index",setup(g){const w=b([]),E=b(!1),U=b(!1),x=b(null),I=b(null);K(()=>{$()});function $(){E.value=!0,le().then(c=>{w.value=c.data||[],E.value=!1}).catch(()=>{E.value=!1})}function _(c){ae(c.id,c.status).then(f=>{T.success(f.msg||"修改成功"),$()}).catch(()=>{c.status=c.status===1?0:1})}function q(c){x.value=c,I.value=c.id,U.value=!0}function L(){U.value=!1,$()}return(c,f)=>{const z=r("pages-header"),D=r("el-table-column"),v=r("el-tag"),l=r("el-switch"),u=r("el-button"),s=r("el-table"),y=r("el-card"),h=r("el-drawer"),M=R("db-click"),G=R("loading");return t(),p("div",null,[n(z,{class:"mb16",title:c.$route.meta.title},null,8,["title"]),n(y,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:a(()=>[j((t(),d(s,{data:w.value,ref:"table","highlight-current-row":"","row-key":"id"},{default:a(()=>[n(D,{label:"排序",width:"80",prop:"sort"},{default:a(i=>[S("span",null,k(i.row.sort),1)]),_:1}),n(D,{label:"驱动名称","min-width":"150"},{default:a(i=>[S("span",pe,k(i.row.driver_name),1)]),_:1}),n(D,{label:"驱动标识","min-width":"120"},{default:a(i=>[n(v,null,{default:a(()=>[V(k(i.row.driver_key),1)]),_:2},1024)]),_:1}),n(D,{label:"类型","min-width":"100"},{default:a(i=>[n(v,{type:i.row.is_builtin?"success":"primary"},{default:a(()=>[V(k(i.row.is_builtin?"内置驱动":"扩展驱动"),1)]),_:2},1032,["type"])]),_:1}),n(D,{label:"状态",width:"120"},{default:a(i=>[n(l,{"active-value":1,"inactive-value":0,modelValue:i.row.status,"onUpdate:modelValue":N=>i.row.status=N,onChange:N=>_(i.row),"active-text":"开启","inactive-text":"关闭",class:"defineSwitch"},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),n(D,{label:"操作",fixed:"right",width:"150",align:"center"},{default:a(i=>[j((t(),d(u,{type:"text",onClick:N=>q(i.row)},{default:a(()=>[...f[2]||(f[2]=[V(" 配置 ",-1)])]),_:1},8,["onClick"])),[[M]])]),_:1})]),_:1},8,["data"])),[[G,E.value]])]),_:1}),n(h,{title:"编辑 - "+(x.value?x.value.driver_name:""),modelValue:U.value,"onUpdate:modelValue":f[1]||(f[1]=i=>U.value=i),direction:"rtl",size:"600px"},{default:a(()=>[U.value?(t(),d(ve,{key:0,"driver-id":I.value,onClose:f[0]||(f[0]=i=>U.value=!1),onSuccess:L},null,8,["driver-id"])):B("",!0)]),_:1},8,["title","modelValue"])])}}}),ye=P(_e,[["__scopeId","data-v-f7e4ba01"]]);export{ye as default}; diff --git a/backend/public/admin/system_static/index-BYjJLrMj.css b/backend/public/admin/system_static/index-BYjJLrMj.css new file mode 100644 index 000000000..420e4a80c --- /dev/null +++ b/backend/public/admin/system_static/index-BYjJLrMj.css @@ -0,0 +1 @@ +.form-tip[data-v-f33a3bef]{color:#909399;font-size:12px;line-height:1.5;margin-top:5px}.help-doc-tag a[data-v-f33a3bef]{color:inherit;text-decoration:none}.help-doc-tag a[data-v-f33a3bef]:hover{color:#1890ff}.help-doc-module[data-v-f33a3bef]{background:#fafafa;border-radius:6px;padding:16px 20px;margin-bottom:12px}.help-doc-module[data-v-f33a3bef]:last-child{margin-bottom:0}.help-doc-title[data-v-f33a3bef]{font-weight:700;font-size:14px;color:#303133;margin-bottom:10px}.help-doc-steps[data-v-f33a3bef]{margin:0;padding-left:20px;line-height:1.8;color:#606266;font-size:13px}.form-actions[data-v-f33a3bef]{margin-top:24px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;gap:8px}.form-actions .el-button+.el-button[data-v-f33a3bef]{margin-left:0}.font-weight-bold[data-v-e47eca03]{font-weight:700}.mt16[data-v-e47eca03]{margin-top:16px}.mb20[data-v-e47eca03]{margin-bottom:20px} diff --git a/backend/public/admin/system_static/index-BYm7nlX3.js b/backend/public/admin/system_static/index-BYm7nlX3.js new file mode 100644 index 000000000..63ff932c0 --- /dev/null +++ b/backend/public/admin/system_static/index-BYm7nlX3.js @@ -0,0 +1 @@ +import{y as n,z as c,j as a,W as I,B as m,H as x,C as l,l as i,k as s,u as V,ac as ie,s as u,$ as y,F,D as O,A as _,a0 as U,ab as P,Z as ue}from"./element-plus-C_ZDq0cz.js";import{_ as re,S as de,b as ce}from"./index-DHL7RTL2.js";import{c as me}from"./cards-kFTwJ5CA.js";import{g as _e,h as pe,i as ve,f as fe}from"./marketing-BAfn8OEa.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const ge={key:0},be={key:1,class:"tabBox_img"},ye=["onClick"],ke={class:"acea-row row-right page"},he={class:"tabBox_img"},we="80px",xe=Object.assign({name:"bargainStatistics"},{__name:"index",setup(Ve){const H=ce(),R=de.routePre,C=i(!1),j=i([]),Z=i(!1),k=i(0),N=i([]),h=i(0),q=[{type:"0",label:"发起砍价"},{type:"1",label:"活动订单"}],p=i(!1),G=[{title:"头像",slot:"avatar"},{title:"发起用户",key:"nickname"},{title:"发起时间",key:"add_time"},{title:"帮砍人数",key:"already_num"},{title:"结束时间",key:"datatime"},{title:"砍价状态",slot:"status"},{title:"操作",slot:"action"}],J=[{title:"订单号",key:"order_id"},{title:"用户",key:"real_name"},{title:"订单状态",key:"status"},{title:"订单支付金额",key:"pay_price"},{title:"订单商品数",key:"total_num"},{title:"下单时间",key:"add_time"},{title:"支付时间",key:"pay_time"}],S=i([{col:4,count:0,name:"活动参与人数(人)",className:"iconcanyurenshu"},{col:4,count:0,name:"砍价人数(人)",className:"iconxiadanrenshu"},{col:4,count:0,name:"发起砍价数",className:"icontuiguangrenshu"},{col:4,count:0,name:"砍价成功数",className:"iconkanjiachenggong"},{col:4,count:0,name:"支付订单额(元)",className:"iconzhifudingdan"},{col:4,count:0,name:"支付人数(人)",className:"iconzhifurenshu"}]),o=i({page:1,limit:15,real_name:"",status:""}),v=i("0"),K=i({});k.value=H.params.id,Q(k.value),w();function Q(r){_e(r).then(e=>{let d=["people_count","spread_count","start_count","success_count","pay_price","pay_count","pay_rate"];S.value.map((f,z)=>{f.count=e.data[d[z]]})})}function w(){p.value=!0,v.value==0?pe(k.value,o.value).then(r=>{p.value=!1;const{count:e,list:d}=r.data;h.value=e,N.value=d}):ve(k.value,o.value).then(r=>{p.value=!1;const{count:e,list:d}=r.data;h.value=e,N.value=d})}function X(){o.value.page=1,o.value.real_name="",o.value.status="",w()}function T(){o.value.page=1,w()}function Y(r){C.value=!0,K.value=r,fe(r.id).then(async e=>{let d=e.data;j.value=d.list,p.value=!1}).catch(e=>{p.value=!1,ue.error(e.msg)})}return(r,e)=>{const d=s("pages-header"),f=s("el-option"),z=s("el-select"),B=s("el-form-item"),ee=s("el-input"),te=s("el-button"),ae=s("el-form"),le=s("el-tab-pane"),oe=s("el-tabs"),D=s("el-tag"),b=s("el-table-column"),W=s("el-table"),ne=s("el-card"),se=s("el-dialog"),$=V("db-click"),A=V("lazy"),E=V("viewer"),M=V("loading");return n(),c("div",null,[a(d,{title:r.$route.meta.title,backUrl:I(R)+"/marketing/bargain/product"},null,8,["title","backUrl"]),S.value.length?(n(),m(I(me),{key:0,cardLists:S.value,class:"ivu-mt-16"},null,8,["cardLists"])):x("",!0),a(ne,{bordered:!1,shadow:"never"},{default:l(()=>[a(ae,{model:o.value,"label-width":we,"label-position":"right",onSubmit:e[2]||(e[2]=ie(()=>{},["prevent"])),inline:""},{default:l(()=>[v.value==1?(n(),m(B,{key:0,label:"订单状态:","label-for":"status"},{default:l(()=>[a(z,{modelValue:o.value.status,"onUpdate:modelValue":e[0]||(e[0]=t=>o.value.status=t),placeholder:"请选择订单状态",clearable:"",onChange:T,class:"form_content_width"},{default:l(()=>[a(f,{value:"1",label:"待发货"}),a(f,{value:"2",label:"待收货"}),a(f,{value:"3",label:"待评价"}),a(f,{value:"4",label:"交易完成"})]),_:1},8,["modelValue"])]),_:1})):x("",!0),a(B,{label:"搜索:","label-for":"title"},{default:l(()=>[a(ee,{modelValue:o.value.real_name,"onUpdate:modelValue":e[1]||(e[1]=t=>o.value.real_name=t),placeholder:v.value==1?"请输入用户姓名|订单号|UID":"请输入用户UID",class:"form_content_width",clearable:""},null,8,["modelValue","placeholder"])]),_:1}),a(B,null,{default:l(()=>[u((n(),m(te,{type:"primary",onClick:T},{default:l(()=>[...e[7]||(e[7]=[y("查询",-1)])]),_:1})),[[$]])]),_:1})]),_:1},8,["model"]),a(oe,{modelValue:v.value,"onUpdate:modelValue":e[3]||(e[3]=t=>v.value=t),onTabChange:X},{default:l(()=>[(n(),c(F,null,O(q,(t,L)=>a(le,{label:t.label,name:t.type,key:L},null,8,["label","name"])),64))]),_:1},8,["modelValue"]),u((n(),m(W,{data:N.value,"highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:l(()=>[(n(!0),c(F,null,O(v.value==1?J:G,(t,L)=>(n(),m(b,{label:t.title,"min-width":t.minWidth,key:L},{default:l(g=>[t.key?(n(),c("div",ge,[_("span",null,U(g.row[t.key]),1)])):t.slot==="avatar"?u((n(),c("div",be,[u(_("img",null,null,512),[[A,g.row.avatar]])])),[[E]]):t.slot==="status"?(n(),c(F,{key:2},[u(a(D,{size:"default",type:"info"},{default:l(()=>[...e[8]||(e[8]=[y("进行中",-1)])]),_:1},512),[[P,g.row.status===1]]),u(a(D,{size:"default",type:"danger"},{default:l(()=>[...e[9]||(e[9]=[y("已失败",-1)])]),_:1},512),[[P,g.row.status===2]]),u(a(D,{size:"default"},{default:l(()=>[...e[10]||(e[10]=[y("已成功",-1)])]),_:1},512),[[P,g.row.status===3]])],64)):t.slot==="action"?u((n(),c("a",{key:3,onClick:Ue=>Y(g.row)},[...e[11]||(e[11]=[y("查看详情",-1)])],8,ye)),[[$]]):x("",!0)]),_:2},1032,["label","min-width"]))),128))]),_:1},8,["data"])),[[M,p.value]]),_("div",ke,[h.value?(n(),m(I(o),{key:0,total:h.value,page:o.value.page,"onUpdate:page":e[4]||(e[4]=t=>o.value.page=t),limit:o.value.limit,"onUpdate:limit":e[5]||(e[5]=t=>o.value.limit=t),onPagination:w},null,8,["total","page","limit"])):x("",!0)])]),_:1}),a(se,{modelValue:C.value,"onUpdate:modelValue":e[6]||(e[6]=t=>C.value=t),class:"tableBox",title:"查看详情","close-on-click-modal":!1,width:"720px"},{default:l(()=>[u((n(),m(W,{data:j.value,"empty-text":"暂无数据","highlight-current-row":"","max-height":"600"},{default:l(()=>[a(b,{label:"用户ID",width:"80"},{default:l(t=>[_("span",null,U(t.row.uid),1)]),_:1}),a(b,{label:"用户头像","min-width":"90"},{default:l(t=>[u((n(),c("div",he,[u(_("img",null,null,512),[[A,t.row.avatar]])])),[[E]])]),_:1}),a(b,{label:"砍价金额","min-width":"130"},{default:l(t=>[_("span",null,U(t.row.price),1)]),_:1}),a(b,{label:"砍价时间","min-width":"130"},{default:l(t=>[_("span",null,U(t.row.add_time),1)]),_:1})]),_:1},8,["data"])),[[M,Z.value]])]),_:1},8,["modelValue"])])}}}),Ie=re(xe,[["__scopeId","data-v-06da7b21"]]);export{Ie as default}; diff --git a/backend/public/admin/system_static/index-BZxAZssH.css b/backend/public/admin/system_static/index-BZxAZssH.css new file mode 100644 index 000000000..2ad6a253e --- /dev/null +++ b/backend/public/admin/system_static/index-BZxAZssH.css @@ -0,0 +1 @@ +.form_content_width[data-v-8cae9593]{width:200px}.tab[data-v-8cae9593]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.tab img[data-v-8cae9593]{width:36px;height:36px;margin-right:10px}.w-250[data-v-8cae9593]{max-width:250px}.price[data-v-8cae9593]{color:#ed4014;font-weight:700}.category-product[data-v-8cae9593]{background:#e6f7ff;color:#1890ff}.category-activity[data-v-8cae9593]{background:#f6ffed;color:#52c41a}.category-user[data-v-8cae9593]{background:#fff7e6;color:#fa8c16}.business-status[data-v-8cae9593]{font-size:12px;color:#999}.stat-card .stat-item[data-v-8cae9593]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.stat-card .stat-icon[data-v-8cae9593]{width:50px;height:50px;border-radius:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:24px;margin-right:15px}.stat-card .stat-icon-total[data-v-8cae9593]{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.stat-card .stat-icon-pay[data-v-8cae9593]{background:linear-gradient(135deg,#f093fb,#f5576c);color:#fff}.stat-card .stat-icon-pending[data-v-8cae9593]{background:linear-gradient(135deg,#4facfe,#00f2fe);color:#fff}.stat-card .stat-icon-completed[data-v-8cae9593]{background:linear-gradient(135deg,#43e97b,#38f9d7);color:#fff}.stat-card .stat-info .stat-value[data-v-8cae9593]{font-size:24px;font-weight:700;color:#333}.stat-card .stat-info .stat-label[data-v-8cae9593]{font-size:14px;color:#999;margin-top:5px}[data-v-8cae9593] .el-tabs__header{margin:0;padding:0 20px} diff --git a/backend/public/admin/system_static/index-B_Jz-e5D.js b/backend/public/admin/system_static/index-B_Jz-e5D.js new file mode 100644 index 000000000..86d0ea021 --- /dev/null +++ b/backend/public/admin/system_static/index-B_Jz-e5D.js @@ -0,0 +1 @@ +import{k as p,y as n,z as b,j as l,C as a,A as t,a0 as w,a as Ne,u as de,B as y,H as O,F as R,D as X,s as I,$ as g,ac as $e,W as ie,l as m,Z as M,r as Wl,as as Fl,a7 as Ol,a1 as jl,n as ge,ab as Ae}from"./element-plus-C_ZDq0cz.js";import{u as we}from"./userLabel-Bfejie0w.js";import{f as Al}from"./validate-a11VBqc7.js";import{_ as fe,o as ce,m as Te}from"./index-DHL7RTL2.js";import{userLabelAddApi as Re,couponApi as El,getUserInfo as ze,editUser as qe,setUser as Be,detailsApi as Nl,infoApi as Tl,userGroupApi as Rl,levelListApi as zl,userList as ql,userSetGroup as Ee,saveSetLabel as Bl,editOtherApi as Gl,giveLevelTimeApi as Hl}from"./user-Blgc2iHx.js";import{exportUserList as Jl}from"./export-D13HPb6l.js";import{_ as Pl}from"./from-Bx8xpz66.js";import{n as Kl}from"./index-ClezV1By.js";import{e as Zl}from"./app-hJ6HxRad.js";import{p as Ql}from"./plugin-BtX0g2Z9.js";import{m as Xl}from"./membershipLevel-C-i0J-Hs.js";import{e as ea}from"./newToExcel-Ce_ClQ6v.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./xlsx-DvXcP_SB.js";const la={class:"expand-value"},aa={class:"expand-value"},ta={class:"expand-value"},oa={class:"expand-value"},na={class:"expand-value"},sa={class:"expand-value"},ua={class:"expand-value"},da={class:"expand-value"},ia={class:"expand-value"},ra=Object.assign({name:"table-expand"},{__name:"tableExpand",props:{row:Object},setup(x){function Z($){if($!==0){let d=new Date($*1e3);return Al(d,"yyyy-MM-dd hh:mm")}}return($,d)=>{const r=p("el-col"),D=p("el-row");return n(),b("div",null,[l(D,{class:"expand-row"},{default:a(()=>[l(r,{span:6},{default:a(()=>[d[0]||(d[0]=t("span",{class:"expand-key"},"首次访问:",-1)),t("span",la,w(Z(x.row.add_time)),1)]),_:1}),l(r,{span:6},{default:a(()=>[d[1]||(d[1]=t("span",{class:"expand-key"},"近次访问:",-1)),t("span",aa,w(Z(x.row.last_time)),1)]),_:1}),l(r,{span:6},{default:a(()=>[d[2]||(d[2]=t("span",{class:"expand-key"},"身份证号:",-1)),t("span",ta,w(x.row.card_id),1)]),_:1}),l(r,{span:6},{default:a(()=>[d[3]||(d[3]=t("span",{class:"expand-key"},"真实姓名:",-1)),t("span",oa,w(x.row.real_name),1)]),_:1})]),_:1}),l(D,{class:"expand-row"},{default:a(()=>[l(r,{span:6},{default:a(()=>[d[4]||(d[4]=t("span",{class:"expand-key"},"标签:",-1)),t("span",na,w(x.row.labels),1)]),_:1}),l(r,{span:6},{default:a(()=>[d[5]||(d[5]=t("span",{class:"expand-key"},"生日:",-1)),t("span",sa,w(x.row.birthday),1)]),_:1}),l(r,{span:6},{default:a(()=>[d[6]||(d[6]=t("span",{class:"expand-key"},"推荐人:",-1)),t("span",ua,w(x.row.spread_uid_nickname),1)]),_:1}),l(r,{span:6},{default:a(()=>[d[7]||(d[7]=t("span",{class:"expand-key"},"地址:",-1)),t("span",da,w(x.row.addres),1)]),_:1})]),_:1}),l(D,{class:"expand-row"},{default:a(()=>[l(r,{span:6},{default:a(()=>[d[8]||(d[8]=t("span",{class:"expand-key"},"备注:",-1)),t("span",ia,w(x.row.mark),1)]),_:1})]),_:1})])}}}),ma=fe(ra,[["__scopeId","data-v-3636101e"]]),va={class:"pb-50"},pa={style:{display:"flex"}},fa={style:{width:"90%"}},_a={key:0},ca={key:1,class:"span"},ba=Object.assign({name:"userEdit"},{__name:"userEdit",props:{userData:{type:Object,default:()=>{}}},setup(x,{expose:Z}){const $=x,d=m(!1),r=m({uid:0,real_name:"",phone:"",email:"",birthday:"",card_id:"",addres:"",mark:"",pwd:"",true_pwd:"",level:"",group_id:"",label_id:[],status:1}),D=m({groupInfo:[],labelInfo:[],levelInfo:[]}),_={real_name:[{required:!0,message:" ",trigger:"blur"}],phone:[{required:!0,message:" ",trigger:"blur"}],pwd:[{required:!0,message:" ",trigger:"blur"}],true_pwd:[{required:!0,message:" ",trigger:"blur"}]},S=m([]),E=m(null);Ne(()=>{D.value.groupInfo=$.userData.groupInfo,D.value.levelInfo=$.userData.levelInfo,D.value.labelInfo=$.userData.labelInfo;let F=Object.keys(r.value);$.userData.userInfo?(F.map(c=>{r.value[c]=$.userData.userInfo[c]}),r.value.birthday||(r.value.birthday=""),r.value.label_id.length&&(S.value=r.value.label_id)):J()});function U(){ce(Re(0)).then(()=>{})}function H(F){var c,A;d.value=!0,(A=(c=E.value)==null?void 0:c.userLabel)==null||A.call(c,JSON.parse(JSON.stringify(D.value.labelInfo)))}function q(F){d.value=!1,S.value=F}function C(){d.value=!1}function z(F){let c=S.value.indexOf(S.value.filter(A=>A.id==F.id)[0]);S.value.splice(c,1)}function J(){r.value={uid:"",real_name:"",phone:"",email:"",birthday:"",card_id:"",addres:"",mark:"",pwd:"",true_pwd:"",level:"",group_id:"",label_id:[],status:1}}return Z({formItem:r,dataLabel:S}),(F,c)=>{const A=p("el-input"),W=p("el-form-item"),ae=p("el-date-picker"),s=p("el-option"),u=p("el-select"),k=p("el-tag"),f=p("el-radio"),N=p("el-radio-group"),B=p("el-form"),ee=p("el-dialog"),te=de("db-click");return n(),b("div",va,[l(B,{rules:_,model:r.value,"label-width":"100px",onSubmit:c[13]||(c[13]=$e(()=>{},["prevent"]))},{default:a(()=>[r.value.uid?(n(),y(W,{key:0,label:"用户ID:"},{default:a(()=>[l(A,{class:"form-sty",disabled:"",modelValue:r.value.uid,"onUpdate:modelValue":c[0]||(c[0]=V=>r.value.uid=V),placeholder:"请输入编号",style:{width:"80%"}},null,8,["modelValue"])]),_:1})):O("",!0),l(W,{label:"真实姓名:",prop:"real_name"},{default:a(()=>[l(A,{class:"form-sty",modelValue:r.value.real_name,"onUpdate:modelValue":c[1]||(c[1]=V=>r.value.real_name=V),modelModifiers:{trim:!0},placeholder:"请输入真实姓名",style:{width:"80%"}},null,8,["modelValue"])]),_:1}),l(W,{label:"手机号码:",prop:"phone"},{default:a(()=>[l(A,{class:"form-sty",modelValue:r.value.phone,"onUpdate:modelValue":c[2]||(c[2]=V=>r.value.phone=V),placeholder:"请输入手机号码",style:{width:"80%"}},null,8,["modelValue"])]),_:1}),l(W,{label:"邮箱:"},{default:a(()=>[l(A,{class:"form-sty",modelValue:r.value.email,"onUpdate:modelValue":c[3]||(c[3]=V=>r.value.email=V),modelModifiers:{trim:!0},placeholder:"请输入邮箱",style:{width:"80%"}},null,8,["modelValue"])]),_:1}),l(W,{label:"生日:"},{default:a(()=>[l(ae,{clearable:"",class:"form-sty",type:"date",modelValue:r.value.birthday,"onUpdate:modelValue":c[4]||(c[4]=V=>r.value.birthday=V),placeholder:"请选择生日",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1}),l(W,{label:"身份证号:"},{default:a(()=>[l(A,{class:"form-sty",modelValue:r.value.card_id,"onUpdate:modelValue":c[5]||(c[5]=V=>r.value.card_id=V),modelModifiers:{trim:!0},placeholder:"请输入身份证号",style:{width:"80%"}},null,8,["modelValue"])]),_:1}),l(W,{label:"用户地址:"},{default:a(()=>[l(A,{class:"form-sty",modelValue:r.value.addres,"onUpdate:modelValue":c[6]||(c[6]=V=>r.value.addres=V),placeholder:"请输入用户地址",style:{width:"80%"}},null,8,["modelValue"])]),_:1}),l(W,{label:"用户备注:"},{default:a(()=>[l(A,{class:"form-sty",modelValue:r.value.mark,"onUpdate:modelValue":c[7]||(c[7]=V=>r.value.mark=V),placeholder:"请输入用户备注",style:{width:"80%"}},null,8,["modelValue"])]),_:1}),l(W,{label:"登录密码:",prop:"pwd"},{default:a(()=>[l(A,{class:"form-sty",type:"password",modelValue:r.value.pwd,"onUpdate:modelValue":c[8]||(c[8]=V=>r.value.pwd=V),placeholder:"请输入登录密码(修改用户可不填写,不填写不修改原密码)",style:{width:"80%"}},null,8,["modelValue"])]),_:1}),l(W,{label:"确认密码:",prop:"true_pwd"},{default:a(()=>[l(A,{class:"form-sty",type:"password",modelValue:r.value.true_pwd,"onUpdate:modelValue":c[9]||(c[9]=V=>r.value.true_pwd=V),placeholder:"请输入确认密码(修改用户可不填写,不填写不修改原密码)",style:{width:"80%"}},null,8,["modelValue"])]),_:1}),l(W,{label:"用户等级:"},{default:a(()=>[l(u,{modelValue:r.value.level,"onUpdate:modelValue":c[10]||(c[10]=V=>r.value.level=V),class:"form-sty",clearable:""},{default:a(()=>[(n(!0),b(R,null,X(D.value.levelInfo,(V,ue)=>(n(),y(s,{key:ue,value:V.id,label:V.name},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(W,{label:"用户分组:"},{default:a(()=>[l(u,{modelValue:r.value.group_id,"onUpdate:modelValue":c[11]||(c[11]=V=>r.value.group_id=V),class:"form-sty",clearable:""},{default:a(()=>[(n(!0),b(R,null,X(D.value.groupInfo,(V,ue)=>(n(),y(s,{key:ue,value:V.id,label:V.group_name},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(W,{label:"用户标签:"},{default:a(()=>[t("div",pa,[I((n(),b("div",{class:"labelInput acea-row row-between-wrapper",onClick:H},[t("div",fa,[S.value.length?(n(),b("div",_a,[(n(!0),b(R,null,X(S.value,(V,ue)=>(n(),y(k,{closable:"",key:ue,onClose:re=>z(V),class:"mr10"},{default:a(()=>[g(w(V.label_name),1)]),_:2},1032,["onClose"]))),128))])):(n(),b("span",ca,"选择用户关联标签"))]),c[15]||(c[15]=t("div",{class:"ivu-icon ivu-icon-ios-arrow-down"},null,-1))])),[[te]]),I((n(),b("span",{class:"addfont",onClick:U},[...c[16]||(c[16]=[g("新增标签",-1)])])),[[te]])])]),_:1}),l(W,{label:"用户状态:"},{default:a(()=>[l(N,{modelValue:r.value.status,"onUpdate:modelValue":c[12]||(c[12]=V=>r.value.status=V),class:"form-sty"},{default:a(()=>[l(f,{label:1,value:1},{default:a(()=>[...c[17]||(c[17]=[g("开启",-1)])]),_:1}),l(f,{label:0,value:0},{default:a(()=>[...c[18]||(c[18]=[g("锁定",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"]),l(ee,{modelValue:d.value,"onUpdate:modelValue":c[14]||(c[14]=V=>d.value=V),scrollable:"",title:"请选择用户标签","show-close":!0,width:"540px"},{default:a(()=>[d.value?(n(),y(ie(we),{key:0,ref_key:"userLabelRef",ref:E,only_get:!0,uid:r.value.uid,onClose:C,onActiveData:q},null,8,["uid"])):O("",!0)]),_:1},8,["modelValue"])])}}}),ya=fe(ba,[["__scopeId","data-v-682fcb63"]]),ga={class:"acea-row"},wa={key:0},ka={key:1},Va=["onClick"],ha={class:"acea-row row-right page"},xa=Object.assign({name:"send"},{__name:"index",props:{userIds:{type:String,default:""}},setup(x,{expose:Z}){const $=x,d=m(!1),r=m(!1),D=m([]),_=Wl({page:1,limit:15,coupon_title:"",receive_type:3}),S=m(0);function E(q){r.value=!0,El(_).then(async C=>{if(C.status===200){let z=C.data;D.value=z.list,S.value=z.count,r.value=!1}else r.value=!1,M.error(C.msg)}).catch(C=>{r.value=!1,M.error(C.msg)})}function U(){E()}function H(q,C,z){let J={title:C,url:"marketing/coupon/user/grant",method:"post",ids:{id:q.id,uid:$.userIds}};Te(J).then(F=>{M.success(F.msg)}).catch(F=>{M.error(F.msg)})}return Z({modals:d,getList:E}),(q,C)=>{const z=p("el-input"),J=p("el-button"),F=p("el-table-column"),c=p("el-table"),A=p("pagination"),W=p("el-dialog"),ae=de("db-click"),s=de("loading");return n(),b("div",null,[l(W,{modelValue:d.value,"onUpdate:modelValue":C[3]||(C[3]=u=>d.value=u),"z-index":100,title:"发送优惠券","close-on-click-modal":!1,width:"1000px"},{default:a(()=>[t("div",ga,[C[5]||(C[5]=t("span",{class:"sp"},"优惠券名称:",-1)),l(z,{clearable:"",modelValue:_.coupon_title,"onUpdate:modelValue":C[0]||(C[0]=u=>_.coupon_title=u),placeholder:"请输入优惠券名称",class:"form_content_width"},null,8,["modelValue"]),I((n(),y(J,{type:"primary",onClick:U,class:"ml15"},{default:a(()=>[...C[4]||(C[4]=[g("查询",-1)])]),_:1})),[[ae]])]),I((n(),y(c,{data:D.value,ref:"table",class:"mt14","highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:a(()=>[l(F,{label:"优惠券名称","min-width":"130"},{default:a(u=>[t("span",null,w(u.row.title),1)]),_:1}),l(F,{label:"优惠券面值","min-width":"130"},{default:a(u=>[t("span",null,w(u.row.coupon_price),1)]),_:1}),l(F,{label:"优惠券最低消费","min-width":"130"},{default:a(u=>[t("span",null,w(u.row.use_min_price),1)]),_:1}),l(F,{label:"优惠券有效期限","min-width":"130"},{default:a(u=>[u.row.coupon_time?(n(),b("div",wa,w(u.row.coupon_time),1)):(n(),b("div",ka,w(u.row.use_time),1))]),_:1}),l(F,{label:"操作",fixed:"right",width:"90"},{default:a(u=>[I((n(),b("a",{onClick:k=>H(u.row,"发送优惠券",q.index)},[...C[6]||(C[6]=[g("发送",-1)])],8,Va)),[[ae]])]),_:1})]),_:1},8,["data"])),[[s,r.value]]),t("div",ha,[S.value?(n(),y(A,{key:0,total:S.value,page:_.page,"onUpdate:page":C[1]||(C[1]=u=>_.page=u),limit:_.limit,"onUpdate:limit":C[2]||(C[2]=u=>_.limit=u),onPagination:E},null,8,["total","page","limit"])):O("",!0)])]),_:1},8,["modelValue"])])}}}),$a=fe(xa,[["__scopeId","data-v-2a5df26b"]]),Ia={class:"user-info"},Da={class:"section"},Ua={class:"section-bd"},Ca={class:"item"},La={class:"value"},Sa={class:"item"},Ya={class:"value"},Ma={class:"item"},Wa={class:"value"},Fa={class:"item"},Oa={class:"value"},ja={class:"item"},Aa={class:"value"},Ea={class:"item"},Na={class:"value"},Ta={class:"item"},Ra={class:"value"},za={class:"section"},qa={class:"section-bd"},Ba={class:"item"},Ga={class:"value"},Ha={class:"item"},Ja={class:"value"},Pa={class:"item"},Ka={class:"value"},Za={class:"item"},Qa={class:"value"},Xa={class:"item"},et={class:"value"},lt={class:"item"},at={class:"value"},tt={class:"item"},ot={class:"value"},nt={class:"item"},st={class:"value"},ut={key:0,class:"item"},dt={class:"value"},it={class:"section"},rt={class:"section-bd"},mt={class:"item"},vt={class:"value"},pt=Object.assign({name:"userInfo"},{__name:"userInfo",props:{psInfo:Object},setup(x){function Z($,d){let r=d?"YYYY-MM-DD":"YYYY-MM-DD HH:mm:ss";return $?Ol($*1e3).format(r):"-"}return($,d)=>(n(),b("div",Ia,[t("div",Da,[d[7]||(d[7]=t("div",{class:"section-hd"},"基本信息",-1)),t("div",Ua,[t("div",Ca,[d[0]||(d[0]=t("div",null,"用户ID:",-1)),t("div",La,w(x.psInfo.uid),1)]),t("div",Sa,[d[1]||(d[1]=t("div",null,"真实姓名:",-1)),t("div",Ya,w(x.psInfo.real_name||"-"),1)]),t("div",Ma,[d[2]||(d[2]=t("div",null,"手机号码:",-1)),t("div",Wa,w(x.psInfo.phone||"-"),1)]),t("div",Fa,[d[3]||(d[3]=t("div",null,"邮箱:",-1)),t("div",Oa,w(x.psInfo.email||"-"),1)]),t("div",ja,[d[4]||(d[4]=t("div",null,"生日:",-1)),t("div",Aa,w(Z(x.psInfo.birthday,"birthday")),1)]),t("div",Ea,[d[5]||(d[5]=t("div",null,"身份证号:",-1)),t("div",Na,w(x.psInfo.card_id||"-"),1)]),t("div",Ta,[d[6]||(d[6]=t("div",null,"用户地址:",-1)),t("div",Ra,w(`${x.psInfo.addres}`||"-"),1)])])]),d[20]||(d[20]=Fl('
密码
登录密码:
********
',1)),t("div",za,[d[17]||(d[17]=t("div",{class:"section-hd"},"用户概况",-1)),t("div",qa,[t("div",Ba,[d[8]||(d[8]=t("div",null,"推广资格:",-1)),t("div",Ga,w(x.psInfo.spread_open?"开启":"关闭"),1)]),t("div",Ha,[d[9]||(d[9]=t("div",null,"用户状态:",-1)),t("div",Ja,w(x.psInfo.status?"开启":"锁定"),1)]),t("div",Pa,[d[10]||(d[10]=t("div",null,"用户等级:",-1)),t("div",Ka,w(x.psInfo.vip_name||"-"),1)]),t("div",Za,[d[11]||(d[11]=t("div",null,"用户标签:",-1)),t("div",Qa,w(x.psInfo.label_list||"-"),1)]),t("div",Xa,[d[12]||(d[12]=t("div",null,"用户分组:",-1)),t("div",et,w(x.psInfo.group_name||"-"),1)]),t("div",lt,[d[13]||(d[13]=t("div",null,"推广人:",-1)),t("div",at,w(x.psInfo.spread_uid_nickname||"-"),1)]),t("div",tt,[d[14]||(d[14]=t("div",null,"注册时间:",-1)),t("div",ot,w(Z(x.psInfo.add_time)),1)]),t("div",nt,[d[15]||(d[15]=t("div",null,"登录时间:",-1)),t("div",st,w(Z(x.psInfo.last_time)),1)]),x.psInfo.is_money_level?(n(),b("div",ut,[d[16]||(d[16]=t("div",null,"付费会员:",-1)),t("div",dt,w(x.psInfo.is_ever_level==1?"永久会员":x.psInfo.overdue_time?`${x.psInfo.overdue_time} 到期`:"已过期"),1)])):O("",!0)])]),t("div",it,[d[19]||(d[19]=t("div",{class:"section-hd"},"用户备注",-1)),t("div",rt,[t("div",mt,[d[18]||(d[18]=t("div",null,"备注:",-1)),t("div",vt,w(x.psInfo.mark||"-"),1)])])])]))}}),ft=fe(pt,[["__scopeId","data-v-cdf9ef67"]]),_t={class:"user-info"},ct={class:"section"},bt={class:"section-bd"},yt={class:"item"},gt={class:"item"},wt={class:"item"},kt={class:"item"},Vt={class:"item"},ht={class:"item"},xt={class:"item"},$t={class:"section"},It={class:"section-bd"},Dt={class:"item"},Ut={class:"item"},Ct={class:"section"},Lt={class:"section-bd"},St={class:"item"},Yt={class:"item"},Mt={class:"item lang"},Wt={style:{display:"flex"}},Ft={style:{width:"90%"}},Ot={key:0},jt={key:1,class:"span"},At={class:"item lang"},Et={class:"section"},Nt={class:"section-bd"},Tt={class:"item"},Rt=Object.assign({name:"userInfo"},{__name:"userEditForm",props:{userId:{type:Number,default:0}},emits:["success"],setup(x,{expose:Z,emit:$}){const d=x,r=$,D=m(!1),_=m({uid:0,real_name:"",phone:"",email:"",birthday:"",card_id:"",addres:"",mark:"",pwd:"",true_pwd:"",level:"",group_id:"",label_id:[],status:1}),S=m({groupInfo:[],labelInfo:[],levelInfo:[]}),E={real_name:[{required:!0,message:" ",trigger:"blur"}],phone:[{required:!0,message:" ",trigger:"blur"}],pwd:[{required:!0,message:" ",trigger:"blur"}],true_pwd:[{required:!0,message:" ",trigger:"blur"}]},U=m([]),H=m({}),q=m(null);c(d.userId);function C(){let s=_.value,u=[];U.value.map(k=>{u.push(k.id)}),s.label_id=u,s.uid?qe(s).then(k=>{M.success(k.msg),r("success")}).catch(k=>{M.error(k.msg)}):Be(s).then(k=>{r("success"),M.success(k.msg)}).catch(k=>{M.error("err.msg")})}function z(){ce(Re(0)).then(()=>{})}function J(s){var u,k;D.value=!0,(k=(u=q.value)==null?void 0:u.userLabel)==null||k.call(u,JSON.parse(JSON.stringify(S.value.labelInfo)))}function F(s){let u=U.value.indexOf(U.value.filter(k=>k.id==s.id)[0]);U.value.splice(u,1)}function c(s){ze(s).then(async u=>{H.value=u.data,S.value.groupInfo=H.value.groupInfo,S.value.levelInfo=H.value.levelInfo,S.value.labelInfo=H.value.labelInfo;let k=Object.keys(_.value);H.value.userInfo?(k.map(f=>{_.value[f]=H.value.userInfo[f]}),_.value.birthday||(_.value.birthday=""),_.value.label_id.length&&(U.value=_.value.label_id)):ae()}).catch(u=>{M.error("res.msg")})}function A(){D.value=!1}function W(s){D.value=!1,U.value=s}function ae(){_.value={uid:"",real_name:"",phone:"",email:"",birthday:"",card_id:"",addres:"",mark:"",pwd:"",true_pwd:"",level:"",group_id:"",label_id:[],status:1}}return Z({setUser:C}),(s,u)=>{const k=p("el-input"),f=p("el-form-item"),N=p("el-date-picker"),B=p("el-option"),ee=p("el-select"),te=p("el-tag"),V=p("el-radio"),ue=p("el-radio-group"),re=p("el-form"),pe=p("el-dialog"),ve=de("db-click");return n(),b("div",_t,[l(re,{rules:E,model:_.value,"label-width":"100px",onSubmit:u[13]||(u[13]=$e(()=>{},["prevent"]))},{default:a(()=>[t("div",ct,[u[15]||(u[15]=t("div",{class:"section-hd"},"基本信息",-1)),t("div",bt,[t("div",yt,[l(f,{label:"用户ID:"},{default:a(()=>[l(k,{class:"form-sty",disabled:"",modelValue:_.value.uid,"onUpdate:modelValue":u[0]||(u[0]=h=>_.value.uid=h),placeholder:"请输入编号"},null,8,["modelValue"])]),_:1})]),t("div",gt,[l(f,{label:"真实姓名:",prop:"real_name"},{default:a(()=>[l(k,{class:"form-sty",modelValue:_.value.real_name,"onUpdate:modelValue":u[1]||(u[1]=h=>_.value.real_name=h),modelModifiers:{trim:!0},placeholder:"请输入真实姓名"},null,8,["modelValue"])]),_:1})]),t("div",wt,[l(f,{label:"手机号码:",prop:"phone"},{default:a(()=>[l(k,{class:"form-sty",modelValue:_.value.phone,"onUpdate:modelValue":u[2]||(u[2]=h=>_.value.phone=h),placeholder:"请输入手机号码"},null,8,["modelValue"])]),_:1})]),t("div",kt,[l(f,{label:"邮箱:"},{default:a(()=>[l(k,{class:"form-sty",modelValue:_.value.email,"onUpdate:modelValue":u[3]||(u[3]=h=>_.value.email=h),modelModifiers:{trim:!0},placeholder:"请输入邮箱"},null,8,["modelValue"])]),_:1})]),t("div",Vt,[l(f,{label:"生日:"},{default:a(()=>[l(N,{clearable:"",class:"form-sty",type:"date",modelValue:_.value.birthday,"onUpdate:modelValue":u[4]||(u[4]=h=>_.value.birthday=h),placeholder:"请选择生日",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1})]),t("div",ht,[l(f,{label:"身份证号:"},{default:a(()=>[l(k,{class:"form-sty",modelValue:_.value.card_id,"onUpdate:modelValue":u[5]||(u[5]=h=>_.value.card_id=h),modelModifiers:{trim:!0},placeholder:"请输入身份证号"},null,8,["modelValue"])]),_:1})]),t("div",xt,[l(f,{label:"用户地址:"},{default:a(()=>[l(k,{class:"form-sty",modelValue:_.value.addres,"onUpdate:modelValue":u[6]||(u[6]=h=>_.value.addres=h),placeholder:"请输入用户地址"},null,8,["modelValue"])]),_:1})])])]),t("div",$t,[u[16]||(u[16]=t("div",{class:"section-hd"},"密码",-1)),t("div",It,[t("div",Dt,[l(f,{label:"登录密码:",prop:"pwd"},{default:a(()=>[l(k,{class:"form-sty",type:"password",modelValue:_.value.pwd,"onUpdate:modelValue":u[7]||(u[7]=h=>_.value.pwd=h),placeholder:"请输入登录密码(修改用户可不填写,不填写不修改原密码)"},null,8,["modelValue"])]),_:1})]),t("div",Ut,[l(f,{label:"确认密码:",prop:"true_pwd"},{default:a(()=>[l(k,{class:"form-sty",type:"password",modelValue:_.value.true_pwd,"onUpdate:modelValue":u[8]||(u[8]=h=>_.value.true_pwd=h),placeholder:"请输入确认密码(修改用户可不填写,不填写不修改原密码)"},null,8,["modelValue"])]),_:1})])])]),t("div",Ct,[u[21]||(u[21]=t("div",{class:"section-hd"},"用户概况",-1)),t("div",Lt,[t("div",St,[l(f,{label:"用户等级:"},{default:a(()=>[l(ee,{modelValue:_.value.level,"onUpdate:modelValue":u[9]||(u[9]=h=>_.value.level=h),class:"form-sty",clearable:""},{default:a(()=>[(n(!0),b(R,null,X(S.value.levelInfo,(h,oe)=>(n(),y(B,{key:oe,value:h.id,label:h.name},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),t("div",Yt,[l(f,{label:"用户分组:"},{default:a(()=>[l(ee,{modelValue:_.value.group_id,"onUpdate:modelValue":u[10]||(u[10]=h=>_.value.group_id=h),class:"form-sty",clearable:""},{default:a(()=>[(n(!0),b(R,null,X(S.value.groupInfo,(h,oe)=>(n(),y(B,{key:oe,value:h.id,label:h.group_name},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),t("div",Mt,[l(f,{label:"用户标签:"},{default:a(()=>[t("div",Wt,[I((n(),b("div",{class:"labelInput acea-row row-between-wrapper",onClick:J},[t("div",Ft,[U.value.length?(n(),b("div",Ot,[(n(!0),b(R,null,X(U.value,(h,oe)=>(n(),y(te,{closable:"",key:oe,onClose:le=>F(h),class:"mr10"},{default:a(()=>[g(w(h.label_name),1)]),_:2},1032,["onClose"]))),128))])):(n(),b("span",jt,"选择用户关联标签"))]),u[17]||(u[17]=t("div",{class:"ivu-icon ivu-icon-ios-arrow-down"},null,-1))])),[[ve]]),I((n(),b("span",{class:"addfont",onClick:z},[...u[18]||(u[18]=[g("新增标签",-1)])])),[[ve]])])]),_:1})]),t("div",At,[l(f,{label:"用户状态:"},{default:a(()=>[l(ue,{modelValue:_.value.status,"onUpdate:modelValue":u[11]||(u[11]=h=>_.value.status=h),class:"form-sty"},{default:a(()=>[l(V,{label:1,value:1},{default:a(()=>[...u[19]||(u[19]=[g("开启",-1)])]),_:1}),l(V,{label:0,value:0},{default:a(()=>[...u[20]||(u[20]=[g("锁定",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1})])])]),t("div",Et,[u[22]||(u[22]=t("div",{class:"section-hd"},"用户备注",-1)),t("div",Nt,[t("div",Tt,[l(f,{label:"用户备注:"},{default:a(()=>[l(k,{class:"form-sty",type:"textarea",rows:5,modelValue:_.value.mark,"onUpdate:modelValue":u[12]||(u[12]=h=>_.value.mark=h),placeholder:"请输入用户备注"},null,8,["modelValue"])]),_:1})])])])]),_:1},8,["model"]),l(pe,{modelValue:D.value,"onUpdate:modelValue":u[14]||(u[14]=h=>D.value=h),"append-to-body":"",title:"请选择用户标签","show-close":!0,width:"540px"},{default:a(()=>[D.value?(n(),y(ie(we),{key:0,ref_key:"userLabelRef",ref:q,only_get:!0,uid:_.value.uid,onClose:A,onActiveData:W},null,8,["uid"])):O("",!0)]),_:1},8,["modelValue"])])}}}),zt=fe(Rt,[["__scopeId","data-v-0128a178"]]),qt={style:{width:"100%"}},Bt={class:"acea-row head"},Gt={class:"avatar mr15"},Ht=["src"],Jt={class:"dashboard-workplace-header-tip"},Pt=["textContent"],Kt={class:"dashboard-workplace-header-tip-desc"},Zt={key:0,class:"edit-btn"},Qt={key:0},Xt={class:"acea-row row-right page"},eo=Object.assign({name:"userDetails"},{__name:"userDetails",setup(x,{expose:Z}){const $=m(!1),d=[{val:"order",label:"消费记录"},{val:"integral",label:"积分明细"},{val:"sign",label:"签到记录"},{val:"coupon",label:"持有优惠券"},{val:"balance_change",label:"余额变动"},{val:"spread",label:"好友关系"}],r=m(!1),D=m(!1),_=m([]),S=m(0),E=m(!1),U=m({type:"order",page:1,limit:15}),H=m(0),q=m([]),C=m([]),z=m({}),J=m("user"),F=m(null);function c(){J.value="user",$.value=!$.value}function A(){F.value.setUser()}function W(){$.value=!1}function ae(k){J.value="user",S.value=k,D.value=!0,$.value=!1,Nl(k).then(async f=>{if(f.status===200){let N=f.data;_.value=N.headerList,z.value=N.ps_info,D.value=!1}else D.value=!1,M.error(f.msg)}).catch(f=>{D.value=!1,M.error(f.msg)})}function s(k){J.value=k,u()}function u(){if(E.value=!0,U.value.type=J.value,$.value=!1,J.value=="user")return;U.value.type===""&&(U.value.type="order");let k={id:S.value,datas:U.value};Tl(k).then(async f=>{if(f.status===200){switch(U.value.type){case"order":q.value=[{title:"订单ID",key:"order_id",minWidth:160},{title:"收货人",key:"real_name",minWidth:100},{title:"商品数量",key:"total_num",minWidth:90},{title:"实付金额",key:"pay_price",minWidth:120},{title:"交易完成时间",key:"pay_time",minWidth:120}];break;case"integral":q.value=[{title:"来源/用途",key:"title",minWidth:120},{title:"积分变化",slot:"number",minWidth:120},{title:"变化后积分",key:"balance",minWidth:120},{title:"日期",key:"add_time",minWidth:120},{title:"备注",key:"mark",minWidth:120}];break;case"sign":q.value=[{title:"动作",key:"title",minWidth:120},{title:"获得积分",key:"number",minWidth:120},{title:"签到时间",key:"add_time",minWidth:120},{title:"备注",key:"mark",minWidth:120}];break;case"coupon":q.value=[{title:"优惠券名称",key:"coupon_title",minWidth:120},{title:"面值",key:"coupon_price",minWidth:120},{title:"有效期(天)",key:"coupon_time",minWidth:120},{title:"领取时间",key:"_add_time",minWidth:120}];break;case"balance_change":q.value=[{title:"动作",key:"title",minWidth:120},{title:"余额变动",slot:"number",minWidth:120},{title:"当前余额",key:"balance",minWidth:120},{title:"创建时间",key:"add_time",minWidth:120},{title:"备注",key:"mark",minWidth:120}];break;default:q.value=[{title:"ID",key:"uid",minWidth:120},{title:"昵称",key:"nickname",minWidth:120},{title:"等级",key:"type",minWidth:120},{title:"加入时间",key:"add_time",minWidth:120}]}ge(N=>{let B=f.data;C.value=B.list,H.value=B.count}),E.value=!1}else E.value=!1,M.error(f.msg)}).catch(f=>{E.value=!1,M.error(f.msg)})}return Z({modals:r,getDetails:ae}),(k,f)=>{const N=p("el-button"),B=p("el-tab-pane"),ee=p("el-table-column"),te=p("el-table"),V=p("pagination"),ue=p("el-tabs"),re=p("el-col"),pe=p("el-row"),ve=p("el-drawer"),h=de("db-click"),oe=de("loading");return n(),b("div",qt,[l(ve,{modelValue:r.value,"onUpdate:modelValue":f[4]||(f[4]=le=>r.value=le),title:"用户详情",wrapperClosable:!1,size:1100,onClosed:W},{default:a(()=>[t("div",Bt,[t("div",Gt,[t("img",{src:z.value.avatar},null,8,Ht)]),t("div",Jt,[t("p",{class:"dashboard-workplace-header-tip-title f-w-b",textContent:w(z.value.nickname||"-")},null,8,Pt),t("div",Kt,[(n(!0),b(R,null,X(_.value,(le,ne)=>(n(),b("span",{class:"dashboard-workplace-header-tip-desc-sp",key:ne},w(le.title+":"+le.value),1))),128))])]),z.value.is_del?O("",!0):(n(),b("div",Zt,[$.value?O("",!0):I((n(),y(N,{key:0,type:"primary",onClick:c},{default:a(()=>[...f[5]||(f[5]=[g("编辑",-1)])]),_:1})),[[h]]),$.value?I((n(),y(N,{key:1,onClick:c},{default:a(()=>[...f[6]||(f[6]=[g("取消",-1)])]),_:1})),[[h]]):O("",!0),$.value?I((n(),y(N,{key:2,type:"primary",onClick:A},{default:a(()=>[...f[7]||(f[7]=[g("保存",-1)])]),_:1})),[[h]]):O("",!0)]))]),l(pe,{justify:"space-between",class:"mt14"},{default:a(()=>[l(re,{span:24},{default:a(()=>[l(ue,{type:"border-card",modelValue:J.value,"onUpdate:modelValue":f[3]||(f[3]=le=>J.value=le),onTabChange:s},{default:a(()=>[l(B,{name:"user",label:"用户信息"},{default:a(()=>[$.value?(n(),y(ie(zt),{key:0,ref_key:"editForm",ref:F,userId:S.value,onSuccess:f[0]||(f[0]=le=>ae(S.value))},null,8,["userId"])):(n(),y(ie(ft),{key:1,"ps-info":z.value},null,8,["ps-info"]))]),_:1}),(n(),b(R,null,X(d,(le,ne)=>l(B,{name:le.val,key:ne,label:le.label},{default:a(()=>[I((n(),y(te,{class:"mt20",data:C.value,"max-height":"400",ref_for:!0,ref:"table","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:a(()=>[(n(!0),b(R,null,X(q.value,(j,ye)=>(n(),y(ee,{label:j.title,"min-width":"120",key:ye},{default:a(me=>[j.key?(n(),b("div",Qt,[t("span",null,w(me.row[j.key]),1)])):j.slot==="number"?(n(),b("div",{key:1,class:jl(me.row.pm?"plusColor":"reduceColor")},w(me.row.pm?"+"+me.row.number:"-"+me.row.number),3)):O("",!0)]),_:2},1032,["label"]))),128))]),_:2},1032,["data"])),[[oe,E.value]]),t("div",Xt,[H.value?(n(),y(V,{key:0,total:H.value,page:U.value.page,"onUpdate:page":f[1]||(f[1]=j=>U.value.page=j),limit:U.value.limit,"onUpdate:limit":f[2]||(f[2]=j=>U.value.limit=j),onPagination:u},null,8,["total","page","limit"])):O("",!0)])]),_:2},1032,["name","label"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1},8,["modelValue"])])}}}),lo=fe(eo,[["__scopeId","data-v-7541a834"]]),ao={class:"padding-add"},to={key:0,class:"acea-row search-form"},oo={key:1,class:"acea-row search-form"},no={class:"search-form-box"},so={style:{width:"222px"}},uo={key:0},io={key:1,class:"span"},ro={class:"userI"},mo={class:"tabBox_img"},vo={class:"acea-row"},po={class:"el-icon-male",style:{color:"#2db7f5","font-size":"15px"}},fo={class:"el-icon-female",style:{color:"#ed4014","font-size":"15px"}},_o=["textContent"],co={key:0,style:{color:"red"}},bo=["onClick"],yo=["onClick"],go={class:"acea-row row-right page"},wo={class:"demo-drawer__content"},ko={class:"fix_footer acea-row row-center"},Vo=Object.assign({name:"user_list"},{__name:"index",setup(x){const Z=m([]),$=m([]),d=m({}),r=m(!1),D=m(!1),_=m(!1),S=m(!1),E=m({uid:0}),U=m(!1),H=m([{type:"",name:"全部"}]),q=m([]),C=m(!0),z=m(!1),J=m(4),F=m("600"),c=m("130"),A=m("98%"),W=m(!1),ae=m(0),s=m({label_id:"",user_type:"",status:"",sex:"",country:"",isMember:"",pay_count_num:["",""],balance:["",""],integral:["",""],pay_count_money:["",""],recharge_count:["",""],user_time_type:"",user_time:"",before_pay_time:"",nickname:"",province:"",city:"",page:1,limit:15,level:"",group_id:"",agent_level:"",field_key:""}),u=m(""),k=m(""),f=m(""),N=m(""),B=m(""),ee=m(""),te=m(""),V=m([]),ue=m(null),re=m([]),pe=m([]),ve=m([]),h=m([]),oe=m(!1),le=m([]),ne=m([]),j=m([]),ye=m(null),me=m(null),ke=m(null),Ve=m(null);Q(),Ge(),Ne(()=>{Ze(),Qe(),Xe()});function Ge(){Zl().then(i=>{q.value=i.data})}function He(){let i=Ve.value.formItem,e=[];Ve.value.dataLabel.map(v=>{e.push(v.id)}),i.label_id=e,i.uid?qe(i).then(v=>{r.value=!1,M.success(v.msg),Q()}).catch(v=>{M.error(v)}):Be(i).then(v=>{r.value=!1,M.success(v.msg),Q()}).catch(v=>{M.error(v.msg)})}function Je(){E.value.uid=0,Q()}function Ie(){E.value.uid=0,_.value=!1,D.value=!1}function Pe(i){return!i.is_del}function Ke(){s.value.page=1,Q()}function Ze(){Rl({page:1,limit:""}).then(e=>{ve.value=e.data.list})}function Qe(){zl({page:1,limit:"",title:"",is_show:1}).then(e=>{h.value=e.data.list})}function Xe(){Ql({type:"distribution"}).then(i=>{const v=(Array.isArray(i.data)?i.data:[]).find(L=>L.key==="distribution"||L.id==="distribution");oe.value=!!(v&&Number(v.installed)===1&&Number(v.enabled)===1),oe.value&&el()}).catch(()=>{oe.value=!1})}function el(){Xl({page:1,limit:0,staus:1}).then(e=>{le.value=e.data.list})}function ll(){if(j.value.length===0)M.warning("请选择要设置分组的用户");else{let i={uids:j.value};ce(Ee(i)).then(()=>{j.value=[],ne.value=[],Q()})}}function al(){j.value.length===0?M.warning("请选择要设置标签的用户"):(S.value=!0,j.value,E.value.uid=0,_.value=!0)}function tl(i){if(D.value=!1,$.value=i||[],$.value.length){let e=[];$.value.map(v=>{e.push(v.id)}),s.value.label_id=e.join(","),Q()}else s.value.label_id=""}function ol(i,e){let v=[];i.length&&(i.map(L=>{v.push(L.id)}),Bl({uids:j.value.join(","),label_id:v,label_type:e}).then(L=>{_.value=!1,ne.value=new Set,Q(),M.success(L.msg)}))}function De(i,e){s.value[e]=i?i.join("-"):""}function Ue(i){ke.value.modals=!0,ke.value.getDetails(i.uid)}function nl(i,e,v){let L=[];L.push(i.uid);let T={uids:L};switch(e){case"1":We(i);break;case"2":Me(i.uid,"money");break;case"3":dl(i.uid);break;case"4":Le(i,"清除 【 "+Ce(i.nickname)+" 】的会员等级",v,"user");break;case"5":ce(Ee(T)).then(()=>Q());break;case"6":sl(i);break;case"8":Me(i.uid,"point");break;case"99":Le(i,"解除【 "+Ce(i.nickname)+" 】的上级推广人",v,"tuiguang");break}}function Ce(i){return i.length>10&&(i=i.substr(0,10)+"..."),i}function sl(i){S.value=!1,_.value=!0,E.value.uid=i.uid}function ul(){D.value=!0}function dl(i){ce(Hl(i)).then(()=>Q())}function Le(i,e,v,L){let T={title:e,url:L==="user"?`user/del_level/${i.uid}`:`distribution/stair/delete_spread/${i.uid}`,method:L==="user"?"DELETE":"PUT",ids:""};Te(T).then(Y=>{M.success(Y.msg),Q()}).catch(Y=>{M.error(Y.msg)})}function Q(){s.value.user_type=s.value.user_type||"",s.value.status=s.value.status||"",s.value.sex=s.value.sex||"",s.value.country=s.value.country||"",s.value.pay_count=te.value==="all"?"":te.value,s.value.user_time_type=ee.value==="all"?"":ee.value,s.value.field_key=k.value==="all"?"":k.value,s.value.level=f.value==="all"?"":f.value,s.value.group_id=N.value==="all"?"":N.value,s.value.agent_level=B.value==="all"?"":B.value,W.value=!0,ql(s.value).then(async i=>{let e=i.data;V.value=e.list,e.tabs&&(H.value=e.tabs),ae.value=e.count,W.value=!1,ge(()=>{he()})}).catch(i=>{W.value=!1,M.error(i.msg)})}async function il(){j.value.length&&(s.value.ids=j.value),s.value.user_type=s.value.user_type||"",s.value.status=s.value.status||"",s.value.sex=s.value.sex||"",s.value.country=s.value.country||"",s.value.pay_count=te.value==="all"?"":te.value,s.value.user_time_type=ee.value==="all"?"":ee.value,s.value.field_key=k.value==="all"?"":k.value,s.value.level=f.value==="all"?"":f.value,s.value.group_id=N.value==="all"?"":N.value,s.value.agent_level=B.value==="all"?"":B.value;let[i,e,v,L]=[[],[],[],""],T=JSON.parse(JSON.stringify(s.value));T.page=1;for(let Y=0;Y{Jl(i).then(L=>{e(L.data)})})}function ml(){re.value=[],Q()}function Se(){j.value=[],ne.value=[],re.value=[],s.value.page=1,Q()}function Ye(i){s.value={label_id:"",status:"",sex:"",country:"",isMember:"",pay_count_num:["",""],balance:["",""],integral:["",""],pay_count_money:["",""],recharge_count:["",""],user_time_type:"",user_time:"",before_pay_time:"",nickname:"",province:"",city:"",page:1,limit:15,level:"",group_id:"",agent_level:"",field_key:"",page:1,limit:15},k.value="",f.value="",N.value="",B.value="",Z.value=[],$.value=[],ee.value="",te.value="",pe.value=[],ne.value=new Set,Q()}function vl(i){ze(i).then(async e=>{r.value=!0,d.value=e.data}).catch(e=>{M.error(e.msg)})}function Me(i,e){ce(Gl(i,e)).then(()=>Q())}function pl(){j.value.length===0?M.warning("请选择要发送优惠券的用户"):(me.value.modals=!0,me.value.getList())}function fl(){j.value.length===0?M.warning("请选择要发送图文消息的用户"):z.value=!0}function We(i){vl(i.uid)}function _l(){}function cl(i,e,v){s.value[i.prop]=i.order,Q()}function bl(i){let e=[];i.map(v=>{e.push(v.uid)}),ne.value=e,ge(()=>{he()})}function yl(i,e){let v=[];i.map(L=>{v.push(L.uid)}),ne.value=v,ge(()=>{he()})}function he(){var e;j.value=[...ne.value];let i=(e=ye.value)==null?void 0:e.objData;if(i)for(let v in i)ne.value.has(i[v].uid)&&(i[v]._isChecked=!0)}return(i,e)=>{const v=p("el-option"),L=p("el-select"),T=p("el-input"),Y=p("el-form-item"),G=p("el-button"),gl=p("el-tag"),Fe=p("date-range-picker"),wl=p("el-form"),Oe=p("el-card"),kl=p("el-tab-pane"),Vl=p("el-tabs"),je=p("el-col"),hl=p("el-alert"),xl=p("el-row"),se=p("el-table-column"),$l=p("el-divider"),_e=p("el-dropdown-item"),Il=p("el-dropdown-menu"),Dl=p("el-dropdown"),Ul=p("el-table"),Cl=p("pagination"),xe=p("el-dialog"),Ll=p("el-drawer"),P=de("db-click"),be=de("auth"),Sl=de("lazy"),Yl=de("viewer"),Ml=de("loading");return n(),b("div",null,[l(Oe,{bordered:!1,shadow:"never","body-style":{padding:0}},{default:a(()=>[t("div",ao,[l(wl,{model:s.value,"label-width":"80px","label-position":"right",onSubmit:e[29]||(e[29]=$e(()=>{},["prevent"])),inline:""},{default:a(()=>[U.value?O("",!0):(n(),b("div",to,[t("div",null,[l(Y,{label:"用户搜索:","label-for":"nickname"},{default:a(()=>[l(T,{modelValue:s.value.nickname,"onUpdate:modelValue":e[1]||(e[1]=o=>s.value.nickname=o),placeholder:"请输入用户",clearable:"",class:"form_content_width"},{prepend:a(()=>[l(L,{modelValue:k.value,"onUpdate:modelValue":e[0]||(e[0]=o=>k.value=o),style:{width:"100px"}},{default:a(()=>[l(v,{value:"all",label:"全部"}),l(v,{value:"uid",label:"UID"}),l(v,{value:"phone",label:"手机号"}),l(v,{value:"nickname",label:"用户昵称"})]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])]),_:1}),l(Y,{label:"用户等级:","label-for":"level"},{default:a(()=>[l(L,{modelValue:f.value,"onUpdate:modelValue":e[2]||(e[2]=o=>f.value=o),placeholder:"请选择用户等级",clearable:"",class:"form_content_width"},{default:a(()=>[l(v,{value:"all",label:"全部"},{default:a(()=>[...e[39]||(e[39]=[g("全部",-1)])]),_:1}),(n(!0),b(R,null,X(h.value,(o,K)=>(n(),y(v,{value:o.id,key:K,label:o.name},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(Y,{label:"用户分组:"},{default:a(()=>[l(L,{modelValue:N.value,"onUpdate:modelValue":e[3]||(e[3]=o=>N.value=o),placeholder:"请选择用户分组",clearable:"",class:"form_content_width"},{default:a(()=>[l(v,{value:"all",label:"全部"}),(n(!0),b(R,null,X(ve.value,(o,K)=>(n(),y(v,{value:o.id,key:K,label:o.group_name},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),l(Y,{class:"search-form-sub"},{default:a(()=>[I((n(),y(G,{type:"primary",onClick:Se},{default:a(()=>[...e[40]||(e[40]=[g("查询",-1)])]),_:1})),[[P]]),I((n(),y(G,{class:"ResetSearch",onClick:e[4]||(e[4]=o=>Ye("userFrom"))},{default:a(()=>[...e[41]||(e[41]=[g("重置",-1)])]),_:1})),[[P]]),I((n(),b("a",{class:"ivu-ml-8 font12 ml10",onClick:e[5]||(e[5]=o=>U.value=!U.value)},[U.value?(n(),b(R,{key:1},[e[44]||(e[44]=g(" 收起 ",-1)),e[45]||(e[45]=t("i",{class:"el-icon-arrow-up"},null,-1))],64)):(n(),b(R,{key:0},[e[42]||(e[42]=g(" 展开 ",-1)),e[43]||(e[43]=t("i",{class:"el-icon-arrow-down"},null,-1))],64))])),[[P]])]),_:1})])),U.value?(n(),b("div",oo,[t("div",no,[l(Y,{label:"用户搜索:","label-for":"nickname"},{default:a(()=>[l(T,{modelValue:s.value.nickname,"onUpdate:modelValue":e[7]||(e[7]=o=>s.value.nickname=o),placeholder:"请输入用户",clearable:"",class:"form_content_width"},{prepend:a(()=>[l(L,{modelValue:k.value,"onUpdate:modelValue":e[6]||(e[6]=o=>k.value=o),style:{width:"100px"}},{default:a(()=>[l(v,{value:"all",label:"全部"}),l(v,{value:"uid",label:"UID"}),l(v,{value:"phone",label:"手机号"}),l(v,{value:"nickname",label:"用户昵称"})]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])]),_:1}),l(Y,{label:"用户等级:","label-for":"level"},{default:a(()=>[l(L,{modelValue:f.value,"onUpdate:modelValue":e[8]||(e[8]=o=>f.value=o),placeholder:"请选择用户等级",clearable:"",class:"form_content_width"},{default:a(()=>[l(v,{value:"all",label:"全部"},{default:a(()=>[...e[46]||(e[46]=[g("全部",-1)])]),_:1}),(n(!0),b(R,null,X(h.value,(o,K)=>(n(),y(v,{value:o.id,key:K,label:o.name},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(Y,{label:"用户分组:"},{default:a(()=>[l(L,{modelValue:N.value,"onUpdate:modelValue":e[9]||(e[9]=o=>N.value=o),placeholder:"请选择用户分组",clearable:"",class:"form_content_width"},{default:a(()=>[l(v,{value:"all",label:"全部"}),(n(!0),b(R,null,X(ve.value,(o,K)=>(n(),y(v,{value:o.id,key:K,label:o.group_name},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1}),oe.value?(n(),y(Y,{key:0,label:"分销等级:"},{default:a(()=>[l(L,{modelValue:B.value,"onUpdate:modelValue":e[10]||(e[10]=o=>B.value=o),placeholder:"请选择分销等级",clearable:"",class:"form_content_width"},{default:a(()=>[l(v,{value:"all",label:"全部"}),(n(!0),b(R,null,X(le.value,(o,K)=>(n(),y(v,{value:o.grade,key:K,label:o.name},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1})):O("",!0),l(Y,{label:"用户标签:","label-for":"label_id"},{default:a(()=>[I((n(),b("div",{class:"labelInput acea-row row-between-wrapper",onClick:ul},[t("div",so,[$.value.length?(n(),b("div",uo,[(n(!0),b(R,null,X($.value,(o,K)=>(n(),y(gl,{closable:!1,key:K,class:"mr10"},{default:a(()=>[g(w(o.label_name),1)]),_:2},1024))),128))])):(n(),b("span",io,"选择用户关联标签"))]),e[47]||(e[47]=t("div",{class:"ivu-icon ivu-icon-ios-arrow-down"},null,-1))])),[[P]])]),_:1}),l(Y,{label:"付费会员:","label-for":"isMember"},{default:a(()=>[l(L,{modelValue:s.value.isMember,"onUpdate:modelValue":e[11]||(e[11]=o=>s.value.isMember=o),placeholder:"请选择",clearable:"",class:"form_content_width"},{default:a(()=>[l(v,{value:"",label:"全部"}),l(v,{value:"1",label:"是"}),l(v,{value:"0",label:"否"})]),_:1},8,["modelValue"])]),_:1}),l(Y,{label:"储值余额:","label-for":"balance"},{default:a(()=>[l(T,{clearable:"",placeholder:"最小值",modelValue:s.value.balance[0],"onUpdate:modelValue":e[12]||(e[12]=o=>s.value.balance[0]=o),class:"form_range_content_width"},null,8,["modelValue"]),e[48]||(e[48]=g(" ~ ",-1)),l(T,{clearable:"",placeholder:"最大值",modelValue:s.value.balance[1],"onUpdate:modelValue":e[13]||(e[13]=o=>s.value.balance[1]=o),class:"form_range_content_width"},null,8,["modelValue"])]),_:1}),l(Y,{label:"积分剩余:","label-for":"integral"},{default:a(()=>[l(T,{clearable:"",placeholder:"最小值",modelValue:s.value.integral[0],"onUpdate:modelValue":e[14]||(e[14]=o=>s.value.integral[0]=o),class:"form_range_content_width"},null,8,["modelValue"]),e[49]||(e[49]=g(" ~ ",-1)),l(T,{clearable:"",placeholder:"最大值",modelValue:s.value.integral[1],"onUpdate:modelValue":e[15]||(e[15]=o=>s.value.integral[1]=o),class:"form_range_content_width"},null,8,["modelValue"])]),_:1}),l(Y,{label:"上次消费:","label-for":"before_pay_time"},{default:a(()=>[l(Fe,{clearable:"",modelValue:u.value,"onUpdate:modelValue":e[16]||(e[16]=o=>u.value=o),editable:!1,onChange:e[17]||(e[17]=o=>De(o,"before_pay_time")),format:"YYYY/MM/DD","value-format":"YYYY/MM/DD"},null,8,["modelValue"])]),_:1}),l(Y,{label:"下单次数:","label-for":"pay_count"},{default:a(()=>[l(T,{clearable:"",placeholder:"最小值",modelValue:s.value.pay_count_num[0],"onUpdate:modelValue":e[18]||(e[18]=o=>s.value.pay_count_num[0]=o),class:"form_range_content_width"},null,8,["modelValue"]),e[50]||(e[50]=g(" ~ ",-1)),l(T,{clearable:"",placeholder:"最大值",modelValue:s.value.pay_count_num[1],"onUpdate:modelValue":e[19]||(e[19]=o=>s.value.pay_count_num[1]=o),class:"form_range_content_width"},null,8,["modelValue"])]),_:1}),l(Y,{label:"消费金额:","label-for":"store_name"},{default:a(()=>[l(T,{clearable:"",placeholder:"最小值",modelValue:s.value.pay_count_money[0],"onUpdate:modelValue":e[20]||(e[20]=o=>s.value.pay_count_money[0]=o),class:"form_range_content_width"},null,8,["modelValue"]),e[51]||(e[51]=g(" ~ ",-1)),l(T,{clearable:"",placeholder:"最大值",modelValue:s.value.pay_count_money[1],"onUpdate:modelValue":e[21]||(e[21]=o=>s.value.pay_count_money[1]=o),class:"form_range_content_width"},null,8,["modelValue"])]),_:1}),l(Y,{label:"充值次数:","label-for":"store_name"},{default:a(()=>[l(T,{clearable:"",placeholder:"最小值",modelValue:s.value.recharge_count[0],"onUpdate:modelValue":e[22]||(e[22]=o=>s.value.recharge_count[0]=o),class:"form_range_content_width"},null,8,["modelValue"]),e[52]||(e[52]=g(" ~ ",-1)),l(T,{clearable:"",placeholder:"最大值",modelValue:s.value.recharge_count[1],"onUpdate:modelValue":e[23]||(e[23]=o=>s.value.recharge_count[1]=o),class:"form_range_content_width"},null,8,["modelValue"])]),_:1}),l(Y,{label:"访问情况:","label-for":"user_time_type"},{default:a(()=>[l(L,{modelValue:ee.value,"onUpdate:modelValue":e[24]||(e[24]=o=>ee.value=o),placeholder:"请选择访问情况",clearable:"",class:"form_content_width"},{default:a(()=>[l(v,{value:"",label:"全部"}),l(v,{value:"visitno",label:"时间段未访问"}),l(v,{value:"visit",label:"时间段访问过"}),l(v,{value:"add_time",label:"首次访问"})]),_:1},8,["modelValue"])]),_:1}),ee.value?(n(),y(Y,{key:1,label:"访问时间:","label-for":"user_time"},{default:a(()=>[l(Fe,{clearable:"",modelValue:pe.value,"onUpdate:modelValue":e[25]||(e[25]=o=>pe.value=o),editable:!1,onChange:e[26]||(e[26]=o=>De(o,"user_time")),format:"YYYY/MM/DD","value-format":"YYYY/MM/DD"},null,8,["modelValue"])]),_:1})):O("",!0)]),l(Y,{class:"search-form-sub"},{default:a(()=>[I((n(),y(G,{type:"primary",label:"default",onClick:Se},{default:a(()=>[...e[53]||(e[53]=[g("查询",-1)])]),_:1})),[[P]]),I((n(),y(G,{class:"ResetSearch",onClick:e[27]||(e[27]=o=>Ye("userFrom"))},{default:a(()=>[...e[54]||(e[54]=[g("重置",-1)])]),_:1})),[[P]]),I((n(),b("a",{class:"ivu-ml-8 font12 ml10",onClick:e[28]||(e[28]=o=>U.value=!U.value)},[U.value?(n(),b(R,{key:1},[e[57]||(e[57]=g(" 收起 ",-1)),e[58]||(e[58]=t("i",{class:"el-icon-arrow-up"},null,-1))],64)):(n(),b(R,{key:0},[e[55]||(e[55]=g(" 展开 ",-1)),e[56]||(e[56]=t("i",{class:"el-icon-arrow-down"},null,-1))],64))])),[[P]])]),_:1})])):O("",!0)]),_:1},8,["model"])])]),_:1}),l(Oe,{bordered:!1,shadow:"never",class:"ivu-mt mt16","body-style":{padding:"0 20px 20px"}},{default:a(()=>[l(Vl,{modelValue:s.value.user_type,"onUpdate:modelValue":e[30]||(e[30]=o=>s.value.user_type=o),onTabChange:Ke},{default:a(()=>[(n(!0),b(R,null,X(H.value,(o,K)=>(n(),y(kl,{label:o.name,name:o.type,key:K},null,8,["label","name"]))),128))]),_:1},8,["modelValue"]),l(xl,{gutter:24,justify:"space-between"},{default:a(()=>[l(je,{span:24},{default:a(()=>[I((n(),y(G,{type:"primary",onClick:e[31]||(e[31]=o=>We({uid:0}))},{default:a(()=>[...e[59]||(e[59]=[g("添加用户",-1)])]),_:1})),[[be,["admin-user-save"]],[P]]),I((n(),y(G,{onClick:pl},{default:a(()=>[...e[60]||(e[60]=[g("发送优惠券",-1)])]),_:1})),[[be,["admin-user-coupon"]],[P]]),s.value.user_type==="wechat"?I((n(),y(G,{key:0,class:"greens mr10",onClick:fl},{default:a(()=>[...e[61]||(e[61]=[g(" 发送图文消息 ",-1)])]),_:1})),[[be,["admin-wechat-news"]],[P]]):O("",!0),I((n(),y(G,{onClick:ll},{default:a(()=>[...e[62]||(e[62]=[g("批量设置分组",-1)])]),_:1})),[[be,["admin-user-group_set"]],[P]]),I((n(),y(G,{onClick:al},{default:a(()=>[...e[63]||(e[63]=[g("批量设置标签",-1)])]),_:1})),[[be,["admin-user-set_label"]],[P]]),I((n(),y(G,{class:"mr10",onClick:il},{default:a(()=>[...e[64]||(e[64]=[g("导出",-1)])]),_:1})),[[P]])]),_:1}),re.value.length?(n(),y(je,{key:0,span:24,class:"userAlert"},{default:a(()=>[l(hl,{"show-icon":""},{title:a(()=>[e[65]||(e[65]=g(" 已选择",-1)),t("i",ro,w(re.value.length),1),e[66]||(e[66]=g("项 ",-1))]),_:1})]),_:1})):O("",!0)]),_:1}),I((n(),y(Ul,{data:V.value,class:"mt16",ref_key:"table",ref:ye,"highlight-current-row":"","empty-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果",onSortChange:cl,onSelect:yl,onSelectAll:bl},{default:a(()=>[l(se,{type:"expand"},{default:a(o=>[l(ma,{row:o.row},null,8,["row"])]),_:1}),l(se,{type:"selection",selectable:Pe,width:"55"}),l(se,{label:"用户ID","min-width":"80"},{default:a(o=>[t("span",null,w(o.row.uid),1)]),_:1}),l(se,{label:"头像","min-width":"60"},{default:a(o=>[I((n(),b("div",mo,[I(t("img",null,null,512),[[Sl,o.row.avatar]])])),[[Yl]])]),_:1}),l(se,{label:"姓名","min-width":"150"},{default:a(o=>[t("div",vo,[I(t("i",po,null,512),[[Ae,o.row.sex==="男"]]),I(t("i",fo,null,512),[[Ae,o.row.sex==="女"]]),t("div",{textContent:w(o.row.nickname),class:""},null,8,_o)]),o.row.is_del==1?(n(),b("div",co,"用户已注销")):O("",!0)]),_:1}),l(se,{label:"付费会员","min-width":"90"},{default:a(o=>[t("div",null,w(o.row.isMember?"是":"否"),1)]),_:1}),l(se,{label:"用户等级","min-width":"90"},{default:a(o=>[t("div",null,w(o.row.level),1)]),_:1}),l(se,{label:"分组","min-width":"100"},{default:a(o=>[t("div",null,w(o.row.group_id),1)]),_:1}),l(se,{label:"手机号","min-width":"100"},{default:a(o=>[t("div",null,w(o.row.phone),1)]),_:1}),l(se,{label:"用户类型","min-width":"100"},{default:a(o=>[t("div",null,w(o.row.user_type),1)]),_:1}),l(se,{label:"余额",prop:"now_money","min-width":"100",sortable:!0},{default:a(o=>[t("div",null,w(o.row.now_money),1)]),_:1}),l(se,{label:"操作",fixed:"right",width:"120"},{default:a(o=>[o.row.is_del!=1?(n(),b(R,{key:0},[I((n(),b("a",{onClick:K=>Ue(o.row)},[...e[67]||(e[67]=[g("详情",-1)])],8,bo)),[[P]]),l($l,{direction:"vertical"}),l(Dl,{onCommand:K=>nl(o.row,K,o.$index),transfer:!0},{dropdown:a(()=>[l(Il,null,{default:a(()=>[l(_e,{command:"2"},{default:a(()=>[...e[68]||(e[68]=[g("修改余额",-1)])]),_:1}),l(_e,{command:"8"},{default:a(()=>[...e[69]||(e[69]=[g("修改积分",-1)])]),_:1}),l(_e,{command:"3"},{default:a(()=>[...e[70]||(e[70]=[g("赠送会员",-1)])]),_:1}),l(_e,{command:"5"},{default:a(()=>[...e[71]||(e[71]=[g("设置分组",-1)])]),_:1}),l(_e,{command:"6"},{default:a(()=>[...e[72]||(e[72]=[g("设置标签",-1)])]),_:1}),o.row.spread_uid?(n(),y(_e,{key:0,command:"99"},{default:a(()=>[...e[73]||(e[73]=[g("清除上级推广人",-1)])]),_:1})):O("",!0)]),_:2},1024)]),default:a(()=>[e[74]||(e[74]=t("span",{class:"el-dropdown-link"},[g("更多"),t("i",{class:"el-icon-arrow-down el-icon--right"})],-1))]),_:2},1032,["onCommand"])],64)):I((n(),b("a",{key:1,onClick:K=>Ue(o.row)},[...e[75]||(e[75]=[g("详情",-1)])],8,yo)),[[P]])]),_:1})]),_:1},8,["data"])),[[Ml,W.value]]),t("div",go,[ae.value?(n(),y(Cl,{key:0,total:ae.value,page:s.value.page,"onUpdate:page":e[32]||(e[32]=o=>s.value.page=o),limit:s.value.limit,"onUpdate:limit":e[33]||(e[33]=o=>s.value.limit=o),onPagination:ml},null,8,["total","page","limit"])):O("",!0)])]),_:1}),l(ie(Pl),{ref:"edits",FromData:ue.value,onSubmitFail:_l},null,8,["FromData"]),l(ie($a),{ref_key:"sends",ref:me,userIds:j.value.toString()},null,8,["userIds"]),l(ie(lo),{ref_key:"userDetailsRef",ref:ke},null,512),l(xe,{modelValue:z.value,"onUpdate:modelValue":e[34]||(e[34]=o=>z.value=o),title:"发送消息",width:"1200px",class:"modelBox"},{default:a(()=>[z.value?(n(),y(ie(Kl),{key:0,isShowSend:C.value,userIds:j.value.toString(),scrollerHeight:F.value,contentTop:c.value,contentWidth:A.value,maxCols:J.value},null,8,["isShowSend","userIds","scrollerHeight","contentTop","contentWidth","maxCols"])):O("",!0)]),_:1},8,["modelValue"]),l(xe,{modelValue:_.value,"onUpdate:modelValue":e[35]||(e[35]=o=>_.value=o),"append-to-body":"",title:"请选择用户标签",width:"540px","show-close":!0},{default:a(()=>[_.value?(n(),y(ie(we),{key:0,uid:E.value.uid,only_get:!E.value.uid,is_batch:S.value,onClose:Ie,onActiveData:ol,onOnceGetList:Je},null,8,["uid","only_get","is_batch"])):O("",!0)]),_:1},8,["modelValue"]),l(Ll,{"custom-class":"demo-drawer",modelValue:r.value,"onUpdate:modelValue":e[37]||(e[37]=o=>r.value=o),wrapperClosable:!1,size:"720",title:"用户信息填写"},{default:a(()=>[t("div",wo,[r.value?(n(),y(ya,{key:0,ref_key:"userEditRef",ref:Ve,userData:d.value},null,8,["userData"])):O("",!0),t("div",ko,[I((n(),y(G,{onClick:e[36]||(e[36]=o=>r.value=!1)},{default:a(()=>[...e[76]||(e[76]=[g("取消",-1)])]),_:1})),[[P]]),I((n(),y(G,{type:"primary",onClick:He},{default:a(()=>[...e[77]||(e[77]=[g("提交",-1)])]),_:1})),[[P]])])])]),_:1},8,["modelValue"]),l(xe,{modelValue:D.value,"onUpdate:modelValue":e[38]||(e[38]=o=>D.value=o),"append-to-body":"",title:"请选择用户标签",width:"540px","show-close":!0,"close-on-click-modal":!1},{default:a(()=>[D.value?(n(),y(ie(we),{key:0,uid:0,only_get:!0,selectDataLabel:$.value,onActiveData:tl,onClose:Ie},null,8,["selectDataLabel"])):O("",!0)]),_:1},8,["modelValue"])])}}}),Eo=fe(Vo,[["__scopeId","data-v-b77781c5"]]);export{Eo as default}; diff --git a/backend/public/admin/system_static/index-B_LSCRpr.js b/backend/public/admin/system_static/index-B_LSCRpr.js new file mode 100644 index 000000000..9c2ffe4aa --- /dev/null +++ b/backend/public/admin/system_static/index-B_LSCRpr.js @@ -0,0 +1 @@ +import{f as P,k as S,u as z,s as H,y as i,z as w,A as q,a0 as M,H as k,j as O,C as B,B as _,F,D as j,l as d,Z as g}from"./element-plus-C_ZDq0cz.js";import{_ as U,b as $,aO as Q,w as W,aP as Z,aQ as G,aR as J}from"./index-DHL7RTL2.js";import{a as K}from"./authLapse-UNQuIcwX.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const X={key:0,class:"i-layout-page-header header-title"},Y={class:"ivu-page-header-title"},ee={class:"article-manager"},ae=Object.assign({name:"setting_setSystem"},{__name:"index",setup(te){const s=$(),I=Q(),h=d([]),N={form:{labelWidth:"120px"},submitBtn:{col:{span:3,push:3}},global:{upload:{props:{onSuccess(e,a){e.status===200?a.url=e.data.src:g.error(e.msg)}}},frame:{props:{closeBtn:!1,okBtn:!1}}}},c=d(!1),b=d(null),u=d(""),m=d([]),f=d([]),r=d(""),C=d("");P(s,(e,a)=>{f.value=[],L()});function V(e){const a=m.value.find(l=>l.value.toString()===u.value);if(!a)return;const n=Array.isArray(a.children)?a.children:[];if(f.value=n,n.length){r.value=n[e||0].id.toString(),y(r.value);return}r.value="",y(a.id)}function T(e){return c.value=!0,new Promise((a,n)=>{s.query.tab_id&&(u.value=s.query.tab_id);let l=s.params.tab_id?s.params.tab_id:s.query.tab_id;Z({pid:l||0}).then(async p=>{let t=p.data.config_tab;if(m.value=t,!t||!t.length){u.value="",r.value="",c.value=!1,y(l);return}s.query.tab_id?u.value=s.query.tab_id:u.value=t[e||0].value.toString(),V(e?1:0),a(u.value),c.value=!1}).catch(p=>{c.value=!1,g.error(p)})})}function y(e){return c.value=!0,new Promise((a,n)=>{const l=e||r.value||u.value||s.params.tab_id;let v={tab_id:Number(l)};G(v,"setting/config/edit_basics").then(async t=>{if(c.value=!1,t.data.status===!1)return K(t.data);b.value=t.data;const o=t.data.rules.map(J);x(o),h.value=o,C.value=t.data.title,t.data.title&&s.meta&&(s.meta.title=t.data.title)}).catch(t=>{c.value=!1,g.error(t.msg)})})}function x(e){for(let a=0;a{g.success(a.msg),e.site_name&&(localStorage.setItem("ADMIN_TITLE",e.site_name),I.setAdminTitle(e.site_name),window.document.title=`${e.site_name} - 系统设置`)}).catch(a=>{g.error(a.msg)})}return L(),(e,a)=>{const n=S("el-tab-pane"),l=S("el-tabs"),v=S("form-create"),p=S("el-card"),t=z("loading");return H((i(),w("div",null,[m.value.length?k("",!0):(i(),w("div",X,[q("span",Y,M(C.value||e.$route.meta.title),1)])),q("div",ee,[O(p,{bordered:!1,shadow:"never",class:"ivu-mt fromBox","body-style":{padding:"0 20px 20px"}},{default:B(()=>[m.value.length?(i(),_(l,{key:0,modelValue:u.value,"onUpdate:modelValue":a[0]||(a[0]=o=>u.value=o),onTabChange:R},{default:B(()=>[(i(!0),w(F,null,j(m.value,(o,A)=>(i(),_(n,{icon:o.icon,label:o.label,name:o.value.toString(),key:A},null,8,["icon","label","name"]))),128))]),_:1},8,["modelValue"])):k("",!0),f.value.length?(i(),_(l,{key:1,modelValue:r.value,"onUpdate:modelValue":a[1]||(a[1]=o=>r.value=o),onTabChange:D},{default:B(()=>[(i(!0),w(F,null,j(f.value,(o,A)=>(i(),_(n,{label:o.label,name:o.id.toString(),key:A},null,8,["label","name"]))),128))]),_:1},8,["modelValue"])):k("",!0),h.value.length?(i(),_(v,{key:2,option:N,rule:h.value,onSubmit:E,style:{"padding-top":"20px"}},null,8,["rule"])):k("",!0)]),_:1})])])),[[t,c.value]])}}}),ie=U(ae,[["__scopeId","data-v-e94ba8c7"]]);export{ie as default}; diff --git a/backend/public/admin/system_static/index-BbAH76-s.js b/backend/public/admin/system_static/index-BbAH76-s.js new file mode 100644 index 000000000..1a4be0cfe --- /dev/null +++ b/backend/public/admin/system_static/index-BbAH76-s.js @@ -0,0 +1 @@ +import{y as e,B as o,W as t}from"./element-plus-C_ZDq0cz.js";import{e as s}from"./error-content-DaJxR5pX.js";import"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const c="/admin/system_static/error-404-DHVJrDpZ.svg",l=Object.assign({name:"error_404"},{__name:"index",setup(n){const r=c;return(a,m)=>(e(),o(s,{code:"404",desc:"抱歉,你访问的页面不存在",src:t(r)},null,8,["src"]))}});export{l as default}; diff --git a/backend/public/admin/system_static/index-BbkNeK5C.css b/backend/public/admin/system_static/index-BbkNeK5C.css new file mode 100644 index 000000000..838be06eb --- /dev/null +++ b/backend/public/admin/system_static/index-BbkNeK5C.css @@ -0,0 +1 @@ +.driver-name-tag[data-v-33d44caa]{color:var(--prev-color-text-secondary);font-size:12px;margin-left:5px}.form-actions[data-v-33d44caa]{margin-top:24px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;gap:8px}.form-actions .el-button+.el-button[data-v-33d44caa]{margin-left:0}.font-weight-bold[data-v-7a2c0a76]{font-weight:700} diff --git a/backend/public/admin/system_static/index-BciuNPQg.js b/backend/public/admin/system_static/index-BciuNPQg.js new file mode 100644 index 000000000..6c0714de6 --- /dev/null +++ b/backend/public/admin/system_static/index-BciuNPQg.js @@ -0,0 +1 @@ +import{a as ye,k as p,u as z,s as V,y as u,z as f,A as l,$ as n,a0 as s,j as t,C as o,H as c,Z as D,l as w,ac as Q,B as I,F as ke,W as Ie,ad as $e}from"./element-plus-C_ZDq0cz.js";import{_ as X,s as Ve,a as xe}from"./index-DHL7RTL2.js";import{c as Ce,d as he,e as De,f as Ue,r as Se,i as Me,h as Be,s as Te}from"./order-61Db5vVU.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const Ye={key:0,class:"order_detail"},Fe={class:"msg-box"},Le={class:"msg-wrapper"},Ee={class:"msg-item"},Ne={class:"item"},je={class:"item"},qe={class:"msg-item"},Oe={class:"item"},Re={class:"item"},ze={class:"msg-box",style:{border:"none"}},Pe={class:"msg-wrapper"},Ae={class:"msg-item"},He={class:"item"},We={class:"item",style:{color:"red"}},Ze={class:"msg-item"},Ge={class:"item"},Je={class:"item"},Ke={class:"msg-item"},Qe={class:"item"},Xe={class:"item"},el={class:"msg-item"},ll={class:"item"},tl={class:"item"},ol={class:"msg-item"},al={class:"item"},nl={class:"item"},sl={class:"msg-item"},il={class:"item"},dl={class:"item"},ul={class:"msg-item"},rl={class:"item"},vl={class:"goods-box"},_l={class:"product_info"},ml=["src"],fl=Object.assign({name:"order_detail"},{__name:"orderDetall",props:{orderId:{type:[String,Number],default:""}},emits:["detall"],setup(P,{emit:A}){const U=P,S=A,v=w({}),r=w([]),m=w(!1);function B(){m.value=!0,Ce(U.orderId).then($=>{m.value=!1,v.value=$.data,r.value=$.data.orderInfo.cartInfo}).catch($=>{m.value=!1,D.error($.msg),S("detall",!1)})}return ye(()=>{B()}),($,i)=>{const g=p("el-table-column"),x=p("el-table"),F=z("loading");return v.value.userInfo?V((u(),f("div",Ye,[l("div",Fe,[i[4]||(i[4]=l("div",{class:"box-title"},"收货信息",-1)),l("div",Le,[l("div",Ee,[l("div",Ne,[i[0]||(i[0]=l("span",null,"用户昵称:",-1)),n(s(v.value.userInfo.nickname),1)]),l("div",je,[i[1]||(i[1]=l("span",null,"收货人:",-1)),n(s(v.value.orderInfo.real_name),1)])]),l("div",qe,[l("div",Oe,[i[2]||(i[2]=l("span",null,"联系电话:",-1)),n(s(v.value.orderInfo.user_phone),1)]),l("div",Re,[i[3]||(i[3]=l("span",null,"收货地址:",-1)),n(s(v.value.orderInfo.user_address),1)])])])]),l("div",ze,[i[18]||(i[18]=l("div",{class:"box-title"},"订单信息",-1)),l("div",Pe,[l("div",Ae,[l("div",He,[i[5]||(i[5]=l("span",null,"订单ID:",-1)),n(s(v.value.orderInfo.order_id),1)]),l("div",We,[i[6]||(i[6]=l("span",{style:{color:"red"}},"订单状态:",-1)),n(s(v.value.orderInfo._status._title),1)])]),l("div",Ze,[l("div",Ge,[i[7]||(i[7]=l("span",null,"商品总数:",-1)),n(s(v.value.orderInfo.total_num),1)]),l("div",Je,[i[8]||(i[8]=l("span",null,"商品总价:",-1)),n(s(parseFloat(v.value.orderInfo.total_price)+parseFloat(v.value.orderInfo.vip_true_price||0)),1)])]),l("div",Ke,[l("div",Qe,[i[9]||(i[9]=l("span",null,"交付邮费:",-1)),n(s(v.value.orderInfo.pay_postage),1)]),l("div",Xe,[i[10]||(i[10]=l("span",null,"优惠券金额:",-1)),n(s(v.value.orderInfo.coupon_price),1)])]),l("div",el,[l("div",ll,[i[11]||(i[11]=l("span",null,"会员商品优惠:",-1)),n(s(v.value.orderInfo.vip_true_price||0),1)]),l("div",tl,[i[12]||(i[12]=l("span",null,"积分抵扣:",-1)),n(s(v.value.orderInfo.deduction_price||0),1)])]),l("div",ol,[l("div",al,[i[13]||(i[13]=l("span",null,"实际支付:",-1)),n(s(v.value.orderInfo.pay_price),1)]),l("div",nl,[i[14]||(i[14]=l("span",null,"创建时间:",-1)),n(s(v.value.orderInfo.add_time),1)])]),l("div",sl,[l("div",il,[i[15]||(i[15]=l("span",null,"支付方式:",-1)),n(s(v.value.orderInfo._status._payType),1)]),l("div",dl,[i[16]||(i[16]=l("span",null,"推广人:",-1)),n(s(v.value.userInfo.spread_name),1)])]),l("div",ul,[l("div",rl,[i[17]||(i[17]=l("span",null,"商家备注:",-1)),n(s(v.value.orderInfo.mark),1)])])])]),l("div",vl,[t(x,{data:r.value},{default:o(()=>[t(g,{label:"商品ID",width:"80"},{default:o(y=>[l("span",null,s(y.row.productInfo.id),1)]),_:1}),t(g,{label:"商品名称","min-width":"160"},{default:o(y=>[l("div",_l,[l("img",{src:y.row.productInfo.image,alt:""},null,8,ml),l("p",null,s(y.row.productInfo.store_name),1)])]),_:1}),t(g,{label:"商品分类","min-width":"160"},{default:o(y=>[l("div",null,s(y.row.class_name),1)]),_:1}),t(g,{label:"商品售价","min-width":"160"},{default:o(y=>[l("div",null,s(y.row.productInfo.price),1)]),_:1}),t(g,{label:"商品数量","min-width":"160"},{default:o(y=>[l("div",null,s(y.row.cart_num),1)]),_:1})]),_:1},8,["data"])])])),[[F,m.value]]):c("",!0)}}}),pl=X(fl,[["__scopeId","data-v-97b7e535"]]),cl={class:"padding-add"},wl={key:0},bl={key:1},gl={key:0},yl={key:1},kl={key:0},Il={key:1},$l={key:0},Vl={key:1},xl={key:2},Cl={key:3},hl={key:4},Dl=["onClick"],Ul=["onClick"],Sl=["onClick"],Ml=["onClick"],Bl=["onClick"],Tl={class:"acea-row row-right page"},Yl={key:0},Fl={class:"list"},Ll={class:"info"},El={class:"list"},Nl={key:1},jl={class:"list"},ql={class:"info"},Ol={class:"info"},Rl={class:"list"},zl={key:2},Pl={class:"list"},Al={class:"info"},Hl={class:"info"},Wl={class:"info"},Zl={class:"info"},Gl={class:"list"},Jl={class:"acea-row row-right"},Kl=["src"],Ql=Object.assign({name:"invoice"},{__name:"index",setup(P){const{isMobile:A}=Ve(xe()),U=w(!1),S=w(!1),v=w(!1),r=w({}),m=w({is_invoice:0,invoice_number:"",remark:""}),B=w(""),$=w(!1),i=w(""),g=w(null),x=w([]),F=w([]),y=w(0),b=w({page:1,limit:15,status:"",data:"",real_name:"",field_key:"",type:""}),H=w(0),L=w(0);E(),C();function ee(d){$e.confirm("确定开具负数发票?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Se(d.invoice_id).then(e=>{D.success(e.msg),C()})})}function le(d){Ue(d.invoice_id).then(e=>{window.open(e.data.downloadBase64.pdfUrl,"_blank")})}function te(d){Me(d.invoice_id).then(e=>{L.value=d.invoice_id,B.value=e.data.uri,v.value=!0,window.addEventListener("message",oe)})}function oe(d){switch(d.data.event){case"onCancel":v.value=!1,B.value="",L.value=0,window.removeEventListener("message");break;case"onSuccess":Te(L.value,d.data.data).then(e=>{D.success(e.msg),C(),B.value="",L.value=0,v.value=!1,window.removeEventListener("message")});break}}function ae(d){U.value=d}function ne(d){H.value=d,U.value=!0}function W(){m.value={is_invoice:1,invoice_number:"",remark:""}}function se(){S.value=!1,W()}function ie(d){d!==1&&(m.value.invoice_number="",m.value.remark="")}function de(){if(m.value.is_invoice===1&&m.value.invoice_number.trim()==="")return D.error("请填写发票编号");Be(r.value.invoice_id,m.value).then(d=>{D.success(d.msg),S.value=!1,C(),W(),E()}).catch(d=>{D.error(d.msg)})}function ue(d){S.value=!0,r.value=d,m.value.invoice_number=d.invoice_number,m.value.remark=d.invoice_reamrk,m.value.is_invoice=d.is_invoice}function C(){$.value=!0,he(b.value).then(async d=>{$.value=!1;let e=d.data;F.value=e.list,y.value=e.count}).catch(d=>{$.value=!1,D.error(d.msg)})}function E(){De(b.value).then(d=>{g.value=d.data}).catch(d=>{D.error(d.msg)})}function re(){b.value.page=1,E(),C()}function ve(d){b.value.page=1,x.value=d||[],b.value.data=x.value[0]&&x.value?x.value.join("-"):"",C(),E()}function _e(){b.value.page=1,b.value.type=i.value,C()}return(d,e)=>{const me=p("date-range-picker"),T=p("el-form-item"),Y=p("el-option"),fe=p("el-select"),O=p("el-input"),Z=p("el-button"),G=p("el-form"),J=p("el-card"),N=p("el-tab-pane"),pe=p("el-tabs"),h=p("el-table-column"),j=p("el-divider"),ce=p("el-table"),we=p("pagination"),_=p("el-col"),k=p("el-row"),K=p("el-radio"),be=p("el-radio-group"),R=p("el-dialog"),M=z("db-click"),ge=z("loading");return u(),f("div",null,[t(J,{bordered:!1,shadow:"never",class:"ivu-mb-16","body-style":{padding:0}},{default:o(()=>[l("div",cl,[t(G,{model:b.value,"label-width":"80px","label-position":"right",inline:"",onSubmit:e[3]||(e[3]=Q(()=>{},["prevent"]))},{default:o(()=>[t(T,{label:"创建时间:"},{default:o(()=>[t(me,{clearable:"",modelValue:x.value,"onUpdate:modelValue":e[0]||(e[0]=a=>x.value=a),editable:!1,onChange:ve,format:"YYYY/MM/DD","value-format":"YYYY/MM/DD",class:"mr20"},null,8,["modelValue"])]),_:1}),t(T,{label:"搜索:",prop:"real_name","label-for":"real_name"},{default:o(()=>[t(O,{clearable:"",modelValue:b.value.real_name,"onUpdate:modelValue":e[2]||(e[2]=a=>b.value.real_name=a),placeholder:"请输入",class:"form_content_width"},{prepend:o(()=>[t(fe,{modelValue:b.value.field_key,"onUpdate:modelValue":e[1]||(e[1]=a=>b.value.field_key=a),style:{width:"100px"}},{default:o(()=>[t(Y,{value:"all",label:"全部"}),t(Y,{value:"order_id",label:"订单号"}),t(Y,{value:"uid",label:"UID"}),t(Y,{value:"real_name",label:"用户姓名"}),t(Y,{value:"user_phone",label:"用户电话"})]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])]),_:1}),t(T,null,{default:o(()=>[V((u(),I(Z,{type:"primary",onClick:re},{default:o(()=>[...e[16]||(e[16]=[n("查询",-1)])]),_:1})),[[M]])]),_:1})]),_:1},8,["model"])])]),_:1}),t(J,{bordered:!1,shadow:"never","body-style":{padding:"0 20px 20px"}},{default:o(()=>[g.value?(u(),I(pe,{key:0,modelValue:i.value,"onUpdate:modelValue":e[4]||(e[4]=a=>i.value=a),onTabChange:_e},{default:o(()=>[t(N,{label:"全部发票("+g.value.all+")",name:" "},null,8,["label"]),t(N,{label:"待开发票("+g.value.noOpened+")",name:"1"},null,8,["label"]),t(N,{label:"已开发票("+g.value.opened+")",name:"2"},null,8,["label"]),t(N,{label:"退款发票("+g.value.refund+")",name:"3"},null,8,["label"])]),_:1},8,["modelValue"])):c("",!0),V((u(),I(ce,{data:F.value,ref:"table","highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:o(()=>[t(h,{label:"订单号","min-width":"140"},{default:o(a=>[l("span",null,s(a.row.order_id),1)]),_:1}),t(h,{label:"订单金额","min-width":"90"},{default:o(a=>[l("div",null,"¥ "+s(a.row.pay_price),1)]),_:1}),t(h,{label:"发票类型","min-width":"130"},{default:o(a=>[a.row.type===1?(u(),f("div",wl,"电子普通发票")):(u(),f("div",bl,"纸质专用发票"))]),_:1}),t(h,{label:"发票抬头类型","min-width":"130"},{default:o(a=>[a.row.header_type===1?(u(),f("div",gl,"个人")):(u(),f("div",yl,"企业"))]),_:1}),t(h,{label:"下单时间","min-width":"130"},{default:o(a=>[l("span",null,s(a.row.add_time),1)]),_:1}),t(h,{label:"开票状态","min-width":"130"},{default:o(a=>[a.row.is_invoice===1?(u(),f("div",kl,"已开票")):(u(),f("div",Il,"未开票"))]),_:1}),t(h,{label:"订单状态","min-width":"130"},{default:o(a=>[a.row.status===0?(u(),f("div",$l,"未发货")):a.row.status===1?(u(),f("div",Vl,"待收货")):a.row.status===2?(u(),f("div",xl,"待评价")):a.row.status===3?(u(),f("div",Cl,"已完成")):a.row.status===-2?(u(),f("div",hl,"已退款")):c("",!0)]),_:1}),t(h,{label:"操作",fixed:"right",width:"300"},{default:o(a=>[g.value.elec_invoice&&g.value.elec_invoice==1?(u(),f(ke,{key:0},[a.row.is_invoice==1&&a.row.unique_num!==""&&a.row.red_invoice_num==""&&a.row.refund_status==0?V((u(),f("a",{key:0,onClick:q=>le(a.row)},[...e[17]||(e[17]=[n("下载发票",-1)])],8,Dl)),[[M]]):c("",!0),a.row.is_invoice==1&&a.row.unique_num!==""&&a.row.red_invoice_num==""&&a.row.refund_status==0?(u(),I(j,{key:1,direction:"vertical"})):c("",!0),a.row.is_invoice==1&&a.row.unique_num!==""&&a.row.red_invoice_num==""?V((u(),f("a",{key:2,onClick:q=>ee(a.row)},[...e[18]||(e[18]=[n("开具负数发票",-1)])],8,Ul)),[[M]]):c("",!0),a.row.is_invoice==1&&a.row.unique_num!==""&&a.row.red_invoice_num==""?(u(),I(j,{key:3,direction:"vertical"})):c("",!0),a.row.is_invoice!==1&&a.row.refund_status==0?V((u(),f("a",{key:4,onClick:q=>te(a.row)},[...e[19]||(e[19]=[n("开具电子发票",-1)])],8,Sl)),[[M]]):c("",!0),a.row.is_invoice!==1&&a.row.refund_status==0?(u(),I(j,{key:5,direction:"vertical"})):c("",!0)],64)):c("",!0),a.row.status!=-2?V((u(),f("a",{key:1,onClick:q=>ue(a.row)},[...e[20]||(e[20]=[n("操作",-1)])],8,Ml)),[[M]]):c("",!0),a.row.status!=-2?(u(),I(j,{key:2,direction:"vertical"})):c("",!0),V((u(),f("a",{onClick:q=>ne(a.row.id)},[...e[21]||(e[21]=[n("订单信息",-1)])],8,Bl)),[[M]])]),_:1})]),_:1},8,["data"])),[[ge,$.value]]),l("div",Tl,[y.value?(u(),I(we,{key:0,total:y.value,page:b.value.page,"onUpdate:page":e[5]||(e[5]=a=>b.value.page=a),limit:b.value.limit,"onUpdate:limit":e[6]||(e[6]=a=>b.value.limit=a),onPagination:C},null,8,["total","page","limit"])):c("",!0)])]),_:1}),t(R,{modelValue:S.value,"onUpdate:modelValue":e[13]||(e[13]=a=>S.value=a),title:"发票详情",class:"order_box",width:"720px",onClosed:se},{default:o(()=>[t(G,{model:m.value,"label-width":"80px",onSubmit:e[12]||(e[12]=Q(()=>{},["prevent"]))},{default:o(()=>[r.value.header_type===1&&r.value.type===1?(u(),f("div",Yl,[l("div",Fl,[e[25]||(e[25]=l("div",{class:"title"},"发票信息",-1)),t(k,{class:"row"},{default:o(()=>[t(_,{span:12},{default:o(()=>[e[22]||(e[22]=n("发票抬头: ",-1)),l("span",Ll,s(r.value.name),1)]),_:1}),t(_,{span:12},{default:o(()=>[...e[23]||(e[23]=[n("发票类型: ",-1),l("span",{class:"info"},"电子普通发票",-1)])]),_:1})]),_:1}),t(k,{class:"row"},{default:o(()=>[t(_,{span:12},{default:o(()=>[...e[24]||(e[24]=[n("发票抬头类型: 个人",-1)])]),_:1}),t(_,{span:12},{default:o(()=>[n("订单金额: "+s(r.value.pay_price),1)]),_:1})]),_:1})]),l("div",El,[e[26]||(e[26]=l("div",{class:"title row"},"联系信息",-1)),t(k,{class:"row"},{default:o(()=>[t(_,{span:12},{default:o(()=>[n("真实姓名: "+s(r.value.name),1)]),_:1}),t(_,{span:12},{default:o(()=>[n("联系电话: "+s(r.value.drawer_phone),1)]),_:1})]),_:1}),t(k,{class:"row"},{default:o(()=>[t(_,{span:12},{default:o(()=>[n("联系邮箱: "+s(r.value.email),1)]),_:1})]),_:1})])])):c("",!0),r.value.header_type===2&&r.value.type===1?(u(),f("div",Nl,[l("div",jl,[e[31]||(e[31]=l("div",{class:"title"},"发票信息",-1)),t(k,{class:"row"},{default:o(()=>[t(_,{span:12},{default:o(()=>[e[27]||(e[27]=n("发票抬头: ",-1)),l("span",ql,s(r.value.name),1)]),_:1}),t(_,{span:12},{default:o(()=>[e[28]||(e[28]=n("企业税号: ",-1)),l("span",Ol,s(r.value.duty_number),1)]),_:1})]),_:1}),t(k,{class:"row"},{default:o(()=>[t(_,{span:12},{default:o(()=>[...e[29]||(e[29]=[n("发票类型: 电子普通发票",-1)])]),_:1}),t(_,{span:12},{default:o(()=>[...e[30]||(e[30]=[n("发票抬头类型: 企业",-1)])]),_:1})]),_:1})]),l("div",Rl,[e[32]||(e[32]=l("div",{class:"title row"},"联系信息",-1)),t(k,{class:"row"},{default:o(()=>[t(_,{span:12},{default:o(()=>[n("真实姓名: "+s(r.value.name),1)]),_:1}),t(_,{span:12},{default:o(()=>[n("联系电话: "+s(r.value.user_phone),1)]),_:1})]),_:1}),t(k,{class:"row"},{default:o(()=>[t(_,{span:12},{default:o(()=>[n("联系邮箱: "+s(r.value.email),1)]),_:1})]),_:1})])])):c("",!0),r.value.header_type===2&&r.value.type===2?(u(),f("div",zl,[l("div",Pl,[e[39]||(e[39]=l("div",{class:"title"},"发票信息",-1)),t(k,{class:"row"},{default:o(()=>[t(_,{span:12},{default:o(()=>[e[33]||(e[33]=n("发票抬头: ",-1)),l("span",Al,s(r.value.name),1)]),_:1}),t(_,{span:12},{default:o(()=>[e[34]||(e[34]=n("企业税号: ",-1)),l("span",Hl,s(r.value.duty_number),1)]),_:1})]),_:1}),t(k,{class:"row"},{default:o(()=>[t(_,{span:12},{default:o(()=>[...e[35]||(e[35]=[n("发票类型: 纸质专用发票",-1)])]),_:1}),t(_,{span:12},{default:o(()=>[...e[36]||(e[36]=[n("发票抬头类型: 企业",-1)])]),_:1})]),_:1}),t(k,{class:"row"},{default:o(()=>[t(_,{span:12},{default:o(()=>[e[37]||(e[37]=n("开户银行: ",-1)),l("span",Wl,s(r.value.bank),1)]),_:1}),t(_,{span:12},{default:o(()=>[e[38]||(e[38]=n("银行账号: ",-1)),l("span",Zl,s(r.value.card_number),1)]),_:1})]),_:1}),t(k,{class:"row"},{default:o(()=>[t(_,{span:12},{default:o(()=>[n("企业地址: "+s(r.value.address),1)]),_:1}),t(_,{span:12},{default:o(()=>[n("企业电话: "+s(r.value.tell),1)]),_:1})]),_:1})]),l("div",Gl,[e[40]||(e[40]=l("div",{class:"title row"},"联系信息",-1)),t(k,{class:"row"},{default:o(()=>[t(_,{span:12},{default:o(()=>[n("真实姓名: "+s(r.value.real_name),1)]),_:1}),t(_,{span:12},{default:o(()=>[n("联系电话: "+s(r.value.user_phone),1)]),_:1})]),_:1}),t(k,{class:"row"},{default:o(()=>[t(_,{span:12},{default:o(()=>[n("联系邮箱: "+s(r.value.email),1)]),_:1})]),_:1})])])):c("",!0),t(T,{label:"开票状态:",style:{"margin-top":"14px"}},{default:o(()=>[t(be,{modelValue:m.value.is_invoice,"onUpdate:modelValue":e[7]||(e[7]=a=>m.value.is_invoice=a),onChange:e[8]||(e[8]=a=>ie(m.value.is_invoice))},{default:o(()=>[t(K,{label:1,value:1},{default:o(()=>[...e[41]||(e[41]=[n("已开票",-1)])]),_:1}),t(K,{label:0,value:0},{default:o(()=>[...e[42]||(e[42]=[n("未开票",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),m.value.is_invoice===1?(u(),I(T,{key:3,label:"发票编号:"},{default:o(()=>[t(O,{modelValue:m.value.invoice_number,"onUpdate:modelValue":e[9]||(e[9]=a=>m.value.invoice_number=a),placeholder:"请输入发票编号"},null,8,["modelValue"])]),_:1})):c("",!0),m.value.is_invoice===1?(u(),I(T,{key:4,label:"发票备注:"},{default:o(()=>[t(O,{modelValue:m.value.remark,"onUpdate:modelValue":e[10]||(e[10]=a=>m.value.remark=a),value:"备注",type:"textarea",autosize:{minRows:2,maxRows:5},placeholder:"请输入发票备注"},null,8,["modelValue"])]),_:1})):c("",!0),l("div",Jl,[V((u(),I(Z,{type:"primary",onClick:e[11]||(e[11]=a=>de())},{default:o(()=>[...e[43]||(e[43]=[n("确定",-1)])]),_:1})),[[M]])])]),_:1},8,["model"])]),_:1},8,["modelValue"]),t(R,{modelValue:U.value,"onUpdate:modelValue":e[14]||(e[14]=a=>U.value=a),title:"订单详情",class:"order_box",width:"720px"},{default:o(()=>[U.value?(u(),I(Ie(pl),{key:0,orderId:H.value,onDetall:ae},null,8,["orderId"])):c("",!0)]),_:1},8,["modelValue"]),t(R,{modelValue:v.value,"onUpdate:modelValue":e[15]||(e[15]=a=>v.value=a),title:"发票信息","append-to-body":"","close-on-click-modal":!1,width:"1320px",class:"mapBox"},{default:o(()=>[l("iframe",{id:"invoicePage",width:"100%",height:"600px",frameborder:"0",src:B.value},null,8,Kl)]),_:1},8,["modelValue"])])}}}),nt=X(Ql,[["__scopeId","data-v-b8d4e21d"]]);export{nt as default}; diff --git a/backend/public/admin/system_static/index-BcoZDLPl.css b/backend/public/admin/system_static/index-BcoZDLPl.css new file mode 100644 index 000000000..74ef54148 --- /dev/null +++ b/backend/public/admin/system_static/index-BcoZDLPl.css @@ -0,0 +1 @@ +.tabBox_img[data-v-469d7659]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-469d7659]{width:100%;height:100%} diff --git a/backend/public/admin/system_static/index-BdCVplkw.css b/backend/public/admin/system_static/index-BdCVplkw.css new file mode 100644 index 000000000..9716600b6 --- /dev/null +++ b/backend/public/admin/system_static/index-BdCVplkw.css @@ -0,0 +1 @@ +.tabBox_img[data-v-6927e03a]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-6927e03a]{width:100%;height:100%} diff --git a/backend/public/admin/system_static/index-BeRxGkDP.js b/backend/public/admin/system_static/index-BeRxGkDP.js new file mode 100644 index 000000000..44a382846 --- /dev/null +++ b/backend/public/admin/system_static/index-BeRxGkDP.js @@ -0,0 +1 @@ +import{y as u,z as $,A as e,a0 as i,Z as f,l as r,j as a,C as o,k as _,u as A,ac as ne,F as de,D as ue,B as g,s as y,$ as V,H as D,W as re,p as me}from"./element-plus-C_ZDq0cz.js";import{_ as G,s as _e,a as ce,h as ve,S as pe,m as fe}from"./index-DHL7RTL2.js";import{liveDetailApi as be,liveListApi as ge,liveSyncRoomApi as we,liveShowApi as he,liveRoomGoodsAddApi as ye}from"./api-Bi3YkYmz.js";import ke from"./index-CYgESPmX.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./index-C2Zmd2Xm.js";/* empty css */const Ve={class:"divBox"},$e={class:"box-container"},xe={class:"list sp"},Ce={class:"info"},De={class:"list sp"},Se={class:"info"},Ie={class:"list sp"},Fe={class:"info"},Le={class:"info"},Re={class:"list sp"},Ae={class:"info"},Ue={class:"list sp"},Be={class:"info"},Ee={class:"list sp"},Te={class:"info"},Me={class:"list sp"},Ne={class:"info"},Pe={class:"list sp"},je={class:"info"},Ge={class:"list sp"},ze={class:"info"},Oe={class:"list sp"},We={class:"info"},He={class:"list sp image"},Ze=["src"],qe={class:"list sp image"},Je=["src"],Ke={class:"list sp"},Qe={class:"info blue"},Xe={class:"list sp"},Ye={class:"info blue"},et={class:"list sp"},tt={class:"info blue"},lt={class:"list"},st={class:"info blue"},at=Object.assign({name:"LiveRoomDetail"},{__name:"detail",setup(z,{expose:S}){const d=r({}),x=r(!1);function b(m){x.value=!0,be(m).then(l=>{d.value=l.data,x.value=!1}).catch(l=>{f.error(l.msg),x.value=!1})}return S({getData:b}),(m,l)=>(u(),$("div",Ve,[e("div",null,[e("div",$e,[e("div",xe,[l[0]||(l[0]=e("label",{class:"name"},"直播间名称:",-1)),e("span",Ce,i(d.value.name),1)]),e("div",De,[l[1]||(l[1]=e("label",{class:"name"},"主播微信号:",-1)),e("span",Se,i(d.value.anchor_wechat),1)]),e("div",Ie,[l[2]||(l[2]=e("label",{class:"name"},"直播间ID:",-1)),e("span",Fe,i(d.value.id),1),e("span",Le,"(微信直播间ID:"+i(d.value.room_id)+")",1)]),e("div",Re,[l[3]||(l[3]=e("label",{class:"name"},"主播昵称:",-1)),e("span",Ae,i(d.value.anchor_name),1)]),e("div",Ue,[l[4]||(l[4]=e("label",{class:"name"},"手机号:",-1)),e("span",Be,i(d.value.phone),1)]),e("div",Ee,[l[5]||(l[5]=e("label",{class:"name"},"直播状态:",-1)),e("span",Te,i(m.$filters.liveReviewStatusFilter(d.value.live_status)),1)]),e("div",Me,[l[6]||(l[6]=e("label",{class:"name"},"直播开始时间:",-1)),e("span",Ne,i(d.value.start_time),1)]),e("div",Pe,[l[7]||(l[7]=e("label",{class:"name"},"直播结束时间:",-1)),e("span",je,i(d.value.end_time),1)]),e("div",Ge,[l[8]||(l[8]=e("label",{class:"name"},"直播间类型:",-1)),e("span",ze,i(m.$filters.broadcastType(d.value.type)),1)]),e("div",Oe,[l[9]||(l[9]=e("label",{class:"name"},"显示类型:",-1)),e("span",We,i(m.$filters.broadcastDisplayType(d.value.screen_type)),1)]),e("div",He,[l[10]||(l[10]=e("label",{class:"name"},"背景图:",-1)),e("img",{style:{"max-width":"150px",height:"80px"},src:d.value.cover_img},null,8,Ze)]),e("div",qe,[l[11]||(l[11]=e("label",{class:"name"},"分享图:",-1)),e("img",{style:{"max-width":"150px",height:"80px"},src:d.value.share_img},null,8,Je)]),e("div",Ke,[l[12]||(l[12]=e("label",{class:"name"},"是否开启点赞:",-1)),e("span",Qe,i(m.$filters.filterClose(d.value.close_like)),1)]),e("div",Xe,[l[13]||(l[13]=e("label",{class:"name"},"是否开启货架:",-1)),e("span",Ye,i(m.$filters.filterClose(d.value.close_goods)),1)]),e("div",et,[l[14]||(l[14]=e("label",{class:"name"},"是否开启评论:",-1)),e("span",tt,i(m.$filters.filterClose(d.value.close_comment)),1)]),e("div",lt,[l[15]||(l[15]=e("label",{class:"name"},"是否显示直播回放:",-1)),e("span",st,i(m.$filters.filterClose(d.value.replay_status)),1)])])])]))}}),ot=G(at,[["__scopeId","data-v-f2abb7b4"]]),it={class:"padding-add"},nt=["onClick"],dt=["onClick"],ut=["onClick"],rt={class:"acea-row row-right page"},mt=Object.assign({name:"LiveRoomList"},{__name:"index",setup(z){const S=ve(),{isMobile:d}=_e(ce()),x=me(()=>d.value?void 0:"80px"),b=r(!1),m=r(!1),l=r(0),c=r({status:"",kerword:"",page:1,limit:15}),O=r({withdrawal:[{title:"全部",value:""},{title:"直播中",value:1},{title:"未开始",value:2},{title:"已结束",value:3}]}),I=r([]),F=r(!1),U=r({}),B=r([]),W=r(null),E=r(null),H=r(null);function C(){F.value=!0,ge(c.value).then(n=>{l.value=n.data.count,I.value=n.data.list,F.value=!1})}function T(){c.value.page=1,C()}function Z(){S.push({path:pe.routePre+"/marketing/live/add_live_room"})}function q({id:n,is_show:s}){he(n,s).then(p=>{f.success(p.msg)}).catch(p=>{f.error(p.msg)})}function J(n){m.value=!0,E.value.getData(n.id)}function K(n){B.value=n.product_ids,U.value=n,b.value=!0}function Q(n){ye({room_id:U.value.id,goods_ids:n}).then(s=>{f.success(s.msg),b.value=!1}).catch(s=>{f.error(s.msg),b.value=!1})}function X(){we().then(n=>{f.success(n.msg),C()}).catch(n=>{f.error(n.msg)})}function Y(n,s,p){let L={title:s,url:`live/room/del/${n.id}`,method:"DELETE",ids:""};fe(L).then(w=>{f.success(w.msg),I.value.splice(p,1),C()}).catch(w=>{f.error(w.msg)})}function ee(n){let s=[];n.map(p=>{s.push(p.product_id)}),Q(s)}return C(),(n,s)=>{const p=_("el-option"),L=_("el-select"),w=_("el-form-item"),te=_("el-input"),R=_("el-button"),le=_("el-form"),M=_("el-card"),v=_("el-table-column"),se=_("el-switch"),N=_("el-divider"),ae=_("el-table"),oe=_("pagination"),P=_("el-dialog"),k=A("db-click"),j=A("auth"),ie=A("loading");return u(),$("div",null,[a(M,{bordered:!1,shadow:"never","body-style":{padding:0}},{default:o(()=>[e("div",it,[a(le,{ref_key:"formValidate",ref:c,model:c.value,"label-width":x.value,"label-position":"right",inline:"",onSubmit:s[2]||(s[2]=ne(()=>{},["prevent"])),class:"tabform"},{default:o(()=>[a(w,{label:"直播状态:"},{default:o(()=>[a(L,{modelValue:c.value.status,"onUpdate:modelValue":s[0]||(s[0]=t=>c.value.status=t),clearable:"",onChange:T,class:"form_content_width"},{default:o(()=>[(u(!0),$(de,null,ue(O.value.withdrawal,(t,h)=>(u(),g(p,{value:t.value,key:h,label:t.title},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(w,{label:"搜索:"},{default:o(()=>[a(te,{clearable:"",placeholder:"请输入直播间名称/ID/主播昵称/微信号",modelValue:c.value.kerword,"onUpdate:modelValue":s[1]||(s[1]=t=>c.value.kerword=t),class:"form_content_width"},null,8,["modelValue"])]),_:1}),a(w,null,{default:o(()=>[y((u(),g(R,{type:"primary",onClick:T},{default:o(()=>[...s[8]||(s[8]=[V("查询",-1)])]),_:1})),[[k]])]),_:1})]),_:1},8,["model","label-width"])])]),_:1}),a(M,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:o(()=>[y((u(),g(R,{class:"action-row",type:"primary",onClick:s[3]||(s[3]=t=>Z("添加直播间"))},{default:o(()=>[...s[9]||(s[9]=[V("添加直播间",-1)])]),_:1})),[[j,["setting-system_menus-add"]],[k]]),y((u(),g(R,{onClick:X,style:{"margin-left":"20px"}},{default:o(()=>[...s[10]||(s[10]=[V("同步直播间",-1)])]),_:1})),[[j,["setting-system_menus-add"]],[k]]),y((u(),g(ae,{data:I.value,ref_key:"table",ref:W,class:"mt14","highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:o(()=>[a(v,{label:"直播间ID",width:"80"},{default:o(t=>[e("span",null,i(t.row.id),1)]),_:1}),a(v,{label:"直播间名称","min-width":"35"},{default:o(t=>[e("span",null,i(t.row.name),1)]),_:1}),a(v,{label:"主播昵称","min-width":"35"},{default:o(t=>[e("span",null,i(t.row.anchor_name),1)]),_:1}),a(v,{label:"主播微信号","min-width":"35"},{default:o(t=>[e("span",null,i(t.row.anchor_wechat),1)]),_:1}),a(v,{label:"直播开始时间","min-width":"35"},{default:o(t=>[e("span",null,i(t.row.start_time),1)]),_:1}),a(v,{label:"计划结束时间","min-width":"35"},{default:o(t=>[e("span",null,i(t.row.end_time),1)]),_:1}),a(v,{label:"创建时间","min-width":"35"},{default:o(t=>[e("span",null,i(t.row.add_time),1)]),_:1}),a(v,{label:"显示状态","min-width":"35"},{default:o(t=>[a(se,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:t.row.is_show,"onUpdate:modelValue":h=>t.row.is_show=h,value:t.row.is_show,onChange:h=>q(t.row),size:"large","active-text":"开启","inactive-text":"关闭"},null,8,["modelValue","onUpdate:modelValue","value","onChange"])]),_:1}),a(v,{label:"直播状态","min-width":"35"},{default:o(t=>[e("div",null,i(n.$filters.liveReviewStatusFilter(t.row.live_status)),1)]),_:1}),a(v,{label:"排序","min-width":"35"},{default:o(t=>[e("div",null,i(t.row.sort),1)]),_:1}),a(v,{label:"操作",fixed:"right",width:"170"},{default:o(t=>[y((u(),$("a",{onClick:h=>J(t.row,"详情")},[...s[11]||(s[11]=[V("详情",-1)])],8,nt)),[[k]]),a(N,{direction:"vertical"}),y((u(),$("a",{onClick:h=>Y(t.row,"删除这条信息",t.$index)},[...s[12]||(s[12]=[V("删除",-1)])],8,dt)),[[k]]),t.row.live_status==102?(u(),g(N,{key:0,direction:"vertical"})):D("",!0),t.row.live_status==102?y((u(),$("a",{key:1,onClick:h=>K(t.row)},[...s[13]||(s[13]=[V("添加商品",-1)])],8,ut)),[[k]]):D("",!0)]),_:1})]),_:1},8,["data"])),[[ie,F.value]]),e("div",rt,[l.value?(u(),g(oe,{key:0,total:l.value,page:c.value.page,"onUpdate:page":s[4]||(s[4]=t=>c.value.page=t),limit:c.value.limit,"onUpdate:limit":s[5]||(s[5]=t=>c.value.limit=t),onPagination:C},null,8,["total","page","limit"])):D("",!0)])]),_:1}),a(P,{modelValue:m.value,"onUpdate:modelValue":s[6]||(s[6]=t=>m.value=t),title:"直播间详情",class:"paymentFooter",width:"720px"},{default:o(()=>[a(ot,{ref_key:"studioDetail",ref:E},null,512)]),_:1},8,["modelValue"]),a(P,{modelValue:b.value,"onUpdate:modelValue":s[7]||(s[7]=t=>b.value=t),title:"添加商品",class:"paymentFooter",width:"720px"},{default:o(()=>[b.value?(u(),g(re(ke),{key:0,ref_key:"goodslist",ref:H,onGetProductId:ee,selectIds:B.value,ischeckbox:!0,liveStatus:!0},null,8,["selectIds"])):D("",!0)]),_:1},8,["modelValue"])])}}}),yt=G(mt,[["__scopeId","data-v-0771af4c"]]);export{yt as default}; diff --git a/backend/public/admin/system_static/index-Beo5Mkpq.js b/backend/public/admin/system_static/index-Beo5Mkpq.js new file mode 100644 index 000000000..da4abcbed --- /dev/null +++ b/backend/public/admin/system_static/index-Beo5Mkpq.js @@ -0,0 +1 @@ +import{f as W,k as S,y as f,z as k,j as d,l as u,g as Z,a as ee,b as te,u as oe,s as j,ab as ne,A as O,W as y,B as V,C as H,$ as ae,H as w,O as le,n as ie}from"./element-plus-C_ZDq0cz.js";import{E as x,T as ue}from"./wangeditor-D-KRDJ3T.js";import{_ as L,A as i,c as se,B as re}from"./index-DHL7RTL2.js";import{A as de}from"./registerMenus-BIn2m7Us.js";const ce={ref:"code_box",class:"text"},me=Object.assign({name:"wangEditorMonaco"},{__name:"monaco",props:{value:{type:String,default:""}},emits:["change"],setup(c,{emit:C}){const a=c,v=C,m=u("");W(()=>a.value,s=>{m.value=s},{immediate:!0});function o(){v("change",m.value)}return(s,n)=>{const l=S("el-input");return f(),k("div",ce,[d(l,{modelValue:m.value,"onUpdate:modelValue":n[0]||(n[0]=r=>m.value=r),type:"textarea",placeholder:"",onChange:o},null,8,["modelValue"])],512)}}}),fe=L(me,[["__scopeId","data-v-baf6271c"]]),ve={class:"wang-editor"},pe={key:0},ge=Object.assign({name:"WangEditor"},{__name:"index",props:{content:{type:String,default:""},aiDefaultPrompt:{type:String,default:""},aiDefaultSystemPrompt:{type:String,default:""},aiShowSystemPrompt:{type:Boolean,default:!1}},emits:["editorContent","input"],setup(c,{emit:C}){x.emits||(x.emits=["onCreated","onChange","onDestroyed","onMaxLength","onFocus","onBlur","customAlert","customPaste"]);const a=c,v=C,{proxy:m}=Z(),o=le(null),s=u("


"),n=u(""),l=u(!1),r=u(!1),E=u("多选"),p=u(!1),M=u(null),N={toolbarKeys:["alertHtml","headerSelect","bold","fontSize","fontFamily","italic","underline","through","indent","delIndent","lineHeight","color","bgColor","insertLink","bulletedList","numberedList","justifyLeft","justifyRight","justifyCenter","justifyJustify","blockquote","emotion","uploadImgMenuKey","alertMenuKey","codeBlock","divider","aiMenuKey"]},$={placeholder:"",readOnly:!1,autoFocus:!1,scroll:!0,MENU_CONF:{uploadImage:{base64LimitSize:5*1024*1024}}};W(()=>a.content,e=>{e&&o.value&&e!==o.value.getHtml()&&(s.value=e,n.value=e)});function h(e){return e===o.value}function B(e){h(e)&&G()}function I(e){h(e)&&q()}function D(e){h(e)&&b()}function P(e){var t;h(e)&&((t=M.value)==null||t.open())}ee(()=>{a.content&&(s.value=a.content,n.value=a.content),i.on("Video",B),i.on("UploadImg",I),i.on("Html",D),i.on("AiWrite",P)}),te(()=>{i.off("Video",B),i.off("UploadImg",I),i.off("Html",D),i.off("AiWrite",P);const e=o.value;e&&e.destroy()});function F(e){o.value=e,a.content&&a.content!==e.getHtml()&&(e.setHtml(a.content),n.value=a.content)}function R(){o.value=null}function T(e){n.value=e.getHtml(),v("editorContent",n.value)}function K(e){n.value=e,v("editorContent",e),v("input",e)}function z(e){r.value=!1,_(e.map(t=>``).join(""))}function q(){r.value=!0,E.value="多选"}function G(){m.$videoModal(e=>{p.value=!1,_(A(e))})}function _(e){const t=o.value;!t||!e||ie(()=>{t.isDestroyed||(t.restoreSelection(),t.dangerouslyInsertHtml(e))})}function A(e){return e?`
`:""}function b(){l.value=!l.value,l.value||o.value&&n.value&&n.value!==o.value.getHtml()&&o.value.setHtml(n.value)}function J(e){p.value=!1,_(A(e))}function Q(e){l.value&&b(),o.value&&e&&o.value.setHtml(o.value.getHtml()+e)}return(e,t)=>{const X=S("el-button"),U=S("el-dialog"),Y=oe("db-click");return f(),k("div",null,[j(O("div",null,[O("div",ve,[d(y(ue),{class:"editor-toolbar",editor:o.value,defaultConfig:N,mode:"default"},null,8,["editor"]),d(y(x),{class:"editor-content",modelValue:s.value,"onUpdate:modelValue":t[0]||(t[0]=g=>s.value=g),defaultConfig:$,mode:"default",style:{height:"600px","overflow-y":"hidden"},onOnCreated:F,onOnChange:T,onOnDestroyed:R},null,8,["modelValue"])])],512),[[ne,!l.value]]),l.value?(f(),k("div",pe,[j((f(),V(X,{type:"primary",class:"bottom",onClick:b},{default:H(()=>[...t[3]||(t[3]=[ae("可视化界面",-1)])]),_:1})),[[Y]]),d(y(fe),{class:"monaco-box",onChange:K,value:n.value},null,8,["value"])])):w("",!0),d(U,{modelValue:r.value,"onUpdate:modelValue":t[1]||(t[1]=g=>r.value=g),width:"1024px",title:"上传图片","close-on-click-modal":!1},{default:H(()=>[r.value?(f(),V(y(se),{key:0,isChoice:E.value,onGetPic:z},null,8,["isChoice"])):w("",!0)]),_:1},8,["modelValue"]),d(U,{modelValue:p.value,"onUpdate:modelValue":t[2]||(t[2]=g=>p.value=g),width:"1024px",title:"上传视频","close-on-click-modal":!1},{default:H(()=>[p.value?(f(),V(y(re),{key:0,onGetVideo:J})):w("",!0)]),_:1},8,["modelValue"]),d(de,{ref_key:"aiModalRef",ref:M,"ai-default-prompt":c.aiDefaultPrompt,"ai-default-system-prompt":c.aiDefaultSystemPrompt,"ai-show-system-prompt":c.aiShowSystemPrompt,onInsert:Q},null,8,["ai-default-prompt","ai-default-system-prompt","ai-show-system-prompt"])])}}}),be=L(ge,[["__scopeId","data-v-49806cbd"]]);export{be as W}; diff --git a/backend/public/admin/system_static/index-BfVwTx0H.js b/backend/public/admin/system_static/index-BfVwTx0H.js new file mode 100644 index 000000000..30367374c --- /dev/null +++ b/backend/public/admin/system_static/index-BfVwTx0H.js @@ -0,0 +1,4 @@ +import{f as ee,k as u,u as H,y as s,z as S,j as e,C as t,ac as J,$ as d,F as le,D as te,B as C,v as Y,s as w,H as Q,A as U,Z as V,l as m,a as ae,a0 as P,W as oe,p as z,r as ne}from"./element-plus-C_ZDq0cz.js";import{_ as ue,h as re,a as de,S as ie,m as se}from"./index-DHL7RTL2.js";import{L as pe,M as me,N as fe}from"./system-C_6vcZAB.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const ve={class:"dialog-footer"},_e=Object.assign({name:"menusFrom"},{__name:"groupFrom",props:{groupId:{type:Number,default:0},titleFrom:{type:String,default:""},addId:{type:String,default:""}},emits:["getList","clearFrom"],setup(j,{expose:T,emit:G}){const h=j,M=G,k=m(null),p={xl:7,lg:7,md:12,sm:24,xs:24},g=m(!1),$={name:[{required:!0,message:"请输入数据组名称",trigger:"blur"}],config_name:[{required:!0,message:"请输入数据字段",trigger:"blur"}],info:[{required:!0,message:"请输入数据简介",trigger:"blur"}],names:[{required:!0,message:"请输入字段名称",trigger:"blur"}]},D=m(!1),n=m({name:"",config_name:"",info:"",typelist:[],cate_id:0});ee(()=>h.addId,c=>{c==="addId"&&(n.value.typelist=[])});function L(){n.value.typelist.push({name:{value:""},title:{value:""},type:{value:""},param:{placeholder:`参数方式例如: +1=>白色 +2=>红色 +3=>黑色`,value:""}})}function q(c){n.value.typelist.splice(c,1)}function A(c){pe(c).then(async l=>{n.value=l.data.info}).catch(l=>{V.error(l.msg)})}function K(){let c={url:h.groupId?`/setting/group/${h.groupId}`:"setting/group",method:h.groupId?"put":"post",datas:n.value};k.value.validate(l=>{if(l){if(n.value.typelist.length===0)return V.error("请添加字段名称:姓名!");me(c).then(async f=>{V.success(f.msg),g.value=!1,k.value.resetFields(),n.value.typelist=[],M("getList")}).catch(f=>{V.error(f.msg)})}else{if(!n.value.name)return V.error("请添加数据组名称!");if(!n.value.config_name)return V.error("请添加数据字段!");if(!n.value.info)return V.error("请添加数据简介!")}})}function O(){g.value=!1,k.value.resetFields(),M("clearFrom")}return T({modals:g,fromData:A}),(c,l)=>{const f=u("el-input"),_=u("el-form-item"),v=u("el-col"),N=u("el-radio"),i=u("el-radio-group"),a=u("el-option"),B=u("el-select"),x=u("el-button"),F=u("el-row"),W=u("el-form"),R=u("el-dialog"),b=H("db-click");return s(),S("div",null,[e(R,{modelValue:g.value,"onUpdate:modelValue":l[6]||(l[6]=o=>g.value=o),width:"720px",title:j.titleFrom,"close-on-click-modal":!1},{footer:t(()=>[U("span",ve,[w((s(),C(x,{onClick:O},{default:t(()=>[...l[17]||(l[17]=[d("取 消",-1)])]),_:1})),[[b]]),w((s(),C(x,{type:"primary",onClick:l[5]||(l[5]=o=>K()),disabled:D.value},{default:t(()=>[...l[18]||(l[18]=[d("确 定",-1)])]),_:1},8,["disabled"])),[[b]])])]),default:t(()=>[e(W,{ref_key:"formValidateRef",ref:k,model:n.value,"label-width":"100px",rules:$,onSubmit:l[4]||(l[4]=J(()=>{},["prevent"]))},{default:t(()=>[e(F,{gutter:24},{default:t(()=>[e(v,{span:24},{default:t(()=>[e(_,{label:"数据组名称:",prop:"name"},{default:t(()=>[e(f,{modelValue:n.value.name,"onUpdate:modelValue":l[0]||(l[0]=o=>n.value.name=o),placeholder:"请输入数据组名称",style:{width:"90%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(v,{span:24},{default:t(()=>[e(_,{label:"数据字段:",prop:"config_name"},{default:t(()=>[e(f,{modelValue:n.value.config_name,"onUpdate:modelValue":l[1]||(l[1]=o=>n.value.config_name=o),placeholder:"请输入数据字段",style:{width:"90%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(v,{span:24},{default:t(()=>[e(_,{label:"数据简介:",prop:"info"},{default:t(()=>[e(f,{modelValue:n.value.info,"onUpdate:modelValue":l[2]||(l[2]=o=>n.value.info=o),placeholder:"请输入数据简介",style:{width:"90%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(v,{span:24},{default:t(()=>[e(_,{label:"数据类型:",prop:"cate_id"},{default:t(()=>[e(i,{modelValue:n.value.cate_id,"onUpdate:modelValue":l[3]||(l[3]=o=>n.value.cate_id=o)},{default:t(()=>[e(N,{label:0,value:0},{default:t(()=>[...l[7]||(l[7]=[d("默认",-1)])]),_:1}),e(N,{label:1,value:1},{default:t(()=>[...l[8]||(l[8]=[d("数据",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),(s(!0),S(le,null,te(n.value.typelist,(o,I)=>(s(),C(v,{span:24,key:I},{default:t(()=>[e(v,Y({ref_for:!0},p),{default:t(()=>[e(_,{label:"字段"+(I+1)+":","label-width":"90px",prop:"typelist."+I+".name.value",rules:{required:!0,message:"请输入字段名称:姓名",trigger:"blur"}},{default:t(()=>[e(f,{modelValue:o.name.value,"onUpdate:modelValue":y=>o.name.value=y,placeholder:"字段名称:姓名"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["label","prop"])]),_:2},1040),e(v,Y({ref_for:!0},p,{class:"goupBox"}),{default:t(()=>[e(_,{"label-width":"0",prop:"typelist."+I+".title.value",rules:{required:!0,message:"请输入字段配置名",trigger:"blur"}},{default:t(()=>[e(f,{modelValue:o.title.value,"onUpdate:modelValue":y=>o.title.value=y,placeholder:"字段配置名:name"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1040),e(v,Y({ref_for:!0},p,{prop:"type",class:"goupBox"}),{default:t(()=>[e(_,{prop:"typelist."+I+".type.value",rules:{required:!0,message:"请选择字段类型",trigger:"change"},"label-width":"0"},{default:t(()=>[e(B,{placeholder:"字段类型",modelValue:o.type.value,"onUpdate:modelValue":y=>o.type.value=y},{default:t(()=>[e(a,{value:"input"},{default:t(()=>[...l[9]||(l[9]=[d("文本框",-1)])]),_:1}),e(a,{value:"textarea"},{default:t(()=>[...l[10]||(l[10]=[d("多行文本框",-1)])]),_:1}),e(a,{value:"radio"},{default:t(()=>[...l[11]||(l[11]=[d("单选框",-1)])]),_:1}),e(a,{value:"checkbox"},{default:t(()=>[...l[12]||(l[12]=[d("多选框",-1)])]),_:1}),e(a,{value:"select"},{default:t(()=>[...l[13]||(l[13]=[d("下拉选择",-1)])]),_:1}),e(a,{value:"upload"},{default:t(()=>[...l[14]||(l[14]=[d("单图",-1)])]),_:1}),e(a,{value:"uploads"},{default:t(()=>[...l[15]||(l[15]=[d("多图",-1)])]),_:1})]),_:1},8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1040),w(e(x,{icon:"el-icon-delete",onClick:y=>q(I)},null,8,["onClick"]),[[b]]),o.type.value==="radio"||o.type.value==="checkbox"||o.type.value==="select"?(s(),C(v,{key:0,span:24},{default:t(()=>[e(_,{prop:"typelist."+I+".param.value",rules:{required:!0,message:"请输入参数方式",trigger:"blur"}},{default:t(()=>[e(f,{type:"textarea",rows:4,placeholder:o.param.placeholder,modelValue:o.param.value,"onUpdate:modelValue":y=>o.param.value=y,style:{width:"90%"}},null,8,["placeholder","modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1024)):Q("",!0)]),_:2},1024))),128)),e(v,null,{default:t(()=>[e(_,null,{default:t(()=>[w((s(),C(x,{type:"primary",onClick:L},{default:t(()=>[...l[16]||(l[16]=[d("添加字段",-1)])]),_:1})),[[b]])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue","title"])])}}}),ge=ue(_e,[["__scopeId","data-v-849f744a"]]),ce={class:"padding-add"},be=["onClick"],ye=["onClick"],Ve=["onClick"],we={class:"acea-row row-right page"},he=Object.assign({name:"group"},{__name:"index",setup(j){const T=re(),G=de(),h=m(null),M=m(null),k=m(null),p=ne({page:1,limit:15,title:""}),g=m(!1),$=m([]),D=m(0),n=m(""),L=m(0),q=m(""),A=z(()=>G.isMobile),K=z(()=>A.value?void 0:"80px"),O=z(()=>A.value?"top":"right");function c(i){T.push({path:ie.routePre+"/system/config/system_group/list/"+i.id})}function l(){g.value=!0,fe(p).then(async i=>{let a=i.data;$.value=a.list,D.value=a.count,g.value=!1}).catch(i=>{g.value=!1,V.error(i.msg)})}function f(){p.page=1,l()}function _(i){k.value.modals=!0,n.value=i,q.value="addId",L.value=0}function v(i,a,B){let x={title:a,url:`setting/group/${i.id}`,method:"DELETE",ids:""};se(x).then(F=>{V.success(F.msg),$.value.splice(B,1),l()}).catch(F=>{V.error(F.msg)})}function N(i,a){n.value=a,L.value=i.id,k.value.fromData(i.id),k.value.modals=!0,q.value=""}return ae(()=>{l()}),(i,a)=>{const B=u("el-input"),x=u("el-form-item"),F=u("el-button"),W=u("el-form"),R=u("el-card"),b=u("el-table-column"),o=u("el-divider"),I=u("el-table"),y=u("pagination"),E=H("db-click"),X=H("loading");return s(),S("div",null,[e(R,{bordered:!1,shadow:"never",class:"ivu-mb-16","body-style":{padding:0}},{default:t(()=>[U("div",ce,[e(W,{ref_key:"formValidateRef",ref:M,model:p,"label-width":K.value,"label-position":O.value,onSubmit:a[1]||(a[1]=J(()=>{},["prevent"])),inline:""},{default:t(()=>[e(x,{label:"数据搜索:"},{default:t(()=>[e(B,{clearable:"",placeholder:"请输入ID,KEY,数据组名称,简介",modelValue:p.title,"onUpdate:modelValue":a[0]||(a[0]=r=>p.title=r),class:"form_content_width"},null,8,["modelValue"])]),_:1}),e(x,null,{default:t(()=>[w((s(),C(F,{type:"primary",onClick:f},{default:t(()=>[...a[5]||(a[5]=[d("查询",-1)])]),_:1})),[[E]])]),_:1})]),_:1},8,["model","label-width","label-position"])])]),_:1}),e(R,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:t(()=>[w((s(),C(F,{type:"primary",onClick:a[2]||(a[2]=r=>_("添加数据组")),class:"action-row mr20"},{default:t(()=>[...a[6]||(a[6]=[d("添加数据组",-1)])]),_:1})),[[E]]),w((s(),C(I,{data:$.value,ref_key:"table",ref:h,class:"mt14","highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:t(()=>[e(b,{label:"ID",width:"80"},{default:t(r=>[U("span",null,P(r.row.id),1)]),_:1}),e(b,{label:"KEY","min-width":"130"},{default:t(r=>[U("span",null,P(r.row.config_name),1)]),_:1}),e(b,{label:"数据组名称","min-width":"130"},{default:t(r=>[U("span",null,P(r.row.name),1)]),_:1}),e(b,{label:"简介","min-width":"130"},{default:t(r=>[U("span",null,P(r.row.info),1)]),_:1}),e(b,{label:"操作",fixed:"right",width:"170"},{default:t(r=>[w((s(),S("a",{onClick:Z=>c(r.row)},[...a[7]||(a[7]=[d("数据列表",-1)])],8,be)),[[E]]),e(o,{direction:"vertical"}),w((s(),S("a",{onClick:Z=>N(r.row,"编辑")},[...a[8]||(a[8]=[d("编辑",-1)])],8,ye)),[[E]]),e(o,{direction:"vertical"}),w((s(),S("a",{onClick:Z=>v(r.row,"删除数据组",r.$index)},[...a[9]||(a[9]=[d("删除",-1)])],8,Ve)),[[E]])]),_:1})]),_:1},8,["data"])),[[X,g.value]]),U("div",we,[D.value?(s(),C(y,{key:0,total:D.value,page:p.page,"onUpdate:page":a[3]||(a[3]=r=>p.page=r),limit:p.limit,"onUpdate:limit":a[4]||(a[4]=r=>p.limit=r),onPagination:l},null,8,["total","page","limit"])):Q("",!0)])]),_:1}),e(oe(ge),{ref_key:"groupfroms",ref:k,titleFrom:n.value,groupId:L.value,addId:q.value,onGetList:l},null,8,["titleFrom","groupId","addId"])])}}});export{he as default}; diff --git a/backend/public/admin/system_static/index-BhcO48j7.css b/backend/public/admin/system_static/index-BhcO48j7.css new file mode 100644 index 000000000..e1c3719b1 --- /dev/null +++ b/backend/public/admin/system_static/index-BhcO48j7.css @@ -0,0 +1 @@ +.tabBox_img[data-v-1f608428]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-1f608428]{width:100%;height:100%} diff --git a/backend/public/admin/system_static/index-BjFMrWOz.js b/backend/public/admin/system_static/index-BjFMrWOz.js new file mode 100644 index 000000000..c5405892c --- /dev/null +++ b/backend/public/admin/system_static/index-BjFMrWOz.js @@ -0,0 +1 @@ +import{k as g,y as o,z as l,A as e,a0 as u,F as f,D as N,a2 as D,H as y,j as k,a1 as M,$ as w,C as S,B as R,l as i,ad as U,Z as q}from"./element-plus-C_ZDq0cz.js";import{_ as F,T as I}from"./index-CWm_4sIW.js";import{_ as L,h as O,S as P}from"./index-DHL7RTL2.js";import{J as A,K as H}from"./index-C2Zmd2Xm.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const J={class:"mall-theme-page"},K={class:"page-header"},Z={class:"header-left"},G={class:"page-title"},Q={key:0,class:"theme-colors"},W={key:1,class:"status-tag"},X={class:"theme-list"},Y={class:"list-wrapper"},ee={class:"theme-card"},te={class:"card-header"},se={class:"card-title"},ae={class:"card-actions"},oe=["onClick"],ne=["onClick"],le={class:"card-info"},ie={class:"theme-name line1"},ce={class:"last-modified"},re={class:"card-preview"},de=["src"],ue={key:1,class:"empty-container"},me={class:"empty-text"},pe=Object.assign({name:"MallTheme"},{__name:"index",setup(_e){const V=O(),C=i([]),m=i([]),c=i(!1),T=i(""),r=i(""),b=i(!1),x=i("");p();function p(){A().then(n=>{const{title:t,data_info:_,theme_data:v,id:h,confuse:s}=n.data;T.value=t,r.value=h,b.value=s,m.value=Object.values(v||{}),C.value=_.map((a,d)=>({id:a.key,name:$(a.key),themeName:a.title,updateTime:a.update_time,image:a.image,type:["home","category","detail","user"][d]}))})}function $(n){return{home:"商城首页",category:"商品分类页",detail:"商品详情页",user:"个人中心页"}[n]||n}function B(n){V.push({path:P.routePre+"/setting/edit_theme",query:{type:n.type,id:r.value}})}function E(n,t){x.value=t,c.value=!0}function j(){U.confirm("确定要还原主题吗?所有自定义修改将丢失。","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{H(r.value).then(n=>{q.success("主题已还原"),p()})}).catch(()=>{})}function z(){p()}return(n,t)=>{const _=g("el-divider"),v=g("el-tooltip"),h=g("el-button");return o(),l("div",J,[e("div",K,[e("div",Z,[e("span",G,"当前主题:"+u(T.value),1),m.value.length?(o(),l("div",Q,[(o(!0),l(f,null,N(m.value.slice(0,3),(s,a)=>(o(),l("span",{class:"color-dot",key:a,style:D({backgroundColor:s})},null,4))),128))])):y("",!0),b.value?(o(),l("span",W,[...t[1]||(t[1]=[e("span",{class:"text"},"混搭使用中",-1)])])):y("",!0)]),e("div",{class:"header-right"},[t[2]||(t[2]=e("i",{class:"el-icon-refresh-left icon"},null,-1)),e("span",{onClick:j},"还原主题")])]),e("div",X,[e("div",Y,[(o(!0),l(f,null,N(C.value,(s,a)=>(o(),l("div",{class:"list-item",key:a},[e("div",ee,[e("div",te,[e("span",se,u(s.name||"未命名主题"),1),e("div",ae,[e("span",{class:"action-btn",onClick:d=>B(s)},"编辑",8,oe),k(_,{direction:"vertical"}),e("span",{class:"action-btn",onClick:d=>E(s,["home","category","detail","user"][a])},"更换",8,ne)])]),e("div",le,[e("div",ie,u(s.themeName),1),e("div",ce,"上次修改:"+u(s.updateTime),1)]),e("div",re,[e("div",{class:M(["phone-mockup",{"has-image":s.image}])},[s.image?(o(),l(f,{key:0},[t[3]||(t[3]=e("div",{class:"phone-notch"},null,-1)),e("img",{src:s.image,class:"preview-image",alt:"preview"},null,8,de)],64)):(o(),l("div",ue,[t[7]||(t[7]=e("img",{src:F,class:"empty-poster",alt:"no poster"},null,-1)),e("div",me,[t[5]||(t[5]=w(" 暂无主题封面 ",-1)),k(v,{content:"请前往设计页面保存封面",placement:"top"},{default:S(()=>[...t[4]||(t[4]=[e("i",{class:"el-icon-question"},null,-1)])]),_:1})]),k(h,{type:"primary",onClick:d=>B(s)},{default:S(()=>[...t[6]||(t[6]=[w("去编辑",-1)])]),_:1},8,["onClick"])]))],2)])])]))),128))])]),c.value?(o(),R(I,{key:0,visible:c.value,"onUpdate:visible":t[0]||(t[0]=s=>c.value=s),activeTab:"mall",type:"mall","theme-id":r.value,"current-type":x.value,onSuccess:z},null,8,["visible","theme-id","current-type"])):y("",!0)])}}}),Te=L(pe,[["__scopeId","data-v-f3c8f6e9"]]);export{Te as default}; diff --git a/backend/public/admin/system_static/index-BkwulBUA.css b/backend/public/admin/system_static/index-BkwulBUA.css new file mode 100644 index 000000000..9a46d68e0 --- /dev/null +++ b/backend/public/admin/system_static/index-BkwulBUA.css @@ -0,0 +1 @@ +.content_width[data-v-181b70ac]{width:460px}.grey[data-v-181b70ac]{font-size:12px;color:#999}.priceBox[data-v-181b70ac]{width:100%}.addfont[data-v-181b70ac]{font-size:12px;color:var(--prev-color-primary);margin-left:10px;cursor:pointer}.form .picBox[data-v-181b70ac]{display:inline-block;cursor:pointer}.form .pictrue[data-v-181b70ac]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:15px;display:inline-block;position:relative;cursor:pointer}.form .pictrue img[data-v-181b70ac]{width:100%;height:100%}.form .pictrue .btndel[data-v-181b70ac]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.form .upLoad[data-v-181b70ac]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:#00000005;cursor:pointer} diff --git a/backend/public/admin/system_static/index-Bl0-mY_w.css b/backend/public/admin/system_static/index-Bl0-mY_w.css new file mode 100644 index 000000000..347c18922 --- /dev/null +++ b/backend/public/admin/system_static/index-Bl0-mY_w.css @@ -0,0 +1 @@ +.up[data-v-0a7d6963],.el-icon-caret-top[data-v-0a7d6963],.content-is[data-v-0a7d6963]{color:#f5222d;font-size:12px;opacity:1!important}.up.down[data-v-0a7d6963],.el-icon-caret-top.down[data-v-0a7d6963],.content-is.down[data-v-0a7d6963]{color:#39c15b}.down[data-v-0a7d6963],.el-icon-caret-bottom .content-is[data-v-0a7d6963]{font-size:12px}.el-icon-caret-bottom[data-v-0a7d6963]{color:#39c15b}.br[data-v-0a7d6963]{border-right:1px solid rgba(0,0,0,.1)}.toDay[data-v-0a7d6963]{width:49%;display:inline-block}.toDay-title[data-v-0a7d6963]{font-size:14px}.toDay-number[data-v-0a7d6963]{font-size:20px}.toDay-time[data-v-0a7d6963]{font-size:12px;color:#8c8c8c;margin-bottom:5px}.title[data-v-0a7d6963]{font-size:16px;color:#000;font-weight:500}.price i[data-v-0a7d6963]{font-style:normal;font-size:21px;color:#000}.one[data-v-4b9e8b40]{background:var(--prev-color-primary)}.two[data-v-4b9e8b40]{background:#00c050}.three[data-v-4b9e8b40]{background:#ffab2b}.four[data-v-4b9e8b40]{background:#b37feb}.up[data-v-4b9e8b40],.el-icon-caret-top[data-v-4b9e8b40]{color:#f5222d;font-size:12px;opacity:1!important}.down[data-v-4b9e8b40],.el-icon-caret-bottom[data-v-4b9e8b40]{color:#39c15b;font-size:12px}.curP[data-v-4b9e8b40]{cursor:pointer}.header-title[data-v-4b9e8b40]{font-size:16px;color:#000000d9}.header-time[data-v-4b9e8b40]{font-size:12px;color:#000;opacity:.45}.iconfont[data-v-4b9e8b40]{font-size:16px;color:#fff}.iconCrl[data-v-4b9e8b40]{width:32px;height:32px;border-radius:50%;text-align:center;line-height:32px;opacity:.7}.lan[data-v-4b9e8b40]{background:var(--prev-color-primary)}.iconshangpinliulanliang[data-v-4b9e8b40]{color:#fff}.infoBox[data-v-4b9e8b40]{width:20%}@media screen and (max-width: 1300px){.infoBox[data-v-4b9e8b40]{width:25%}}@media screen and (max-width: 1200px){.infoBox[data-v-4b9e8b40]{width:33%}}@media screen and (max-width: 900px){.infoBox[data-v-4b9e8b40]{width:50%}}.info .sp1[data-v-4b9e8b40]{color:#666;font-size:14px;display:block}.info .sp2[data-v-4b9e8b40]{font-weight:400;font-size:30px;color:#000000d9;display:block}.info .sp3[data-v-4b9e8b40]{font-size:12px;font-weight:400;color:#00000073;display:block} diff --git a/backend/public/admin/system_static/index-BmirIms0.js b/backend/public/admin/system_static/index-BmirIms0.js new file mode 100644 index 000000000..6e90b832a --- /dev/null +++ b/backend/public/admin/system_static/index-BmirIms0.js @@ -0,0 +1 @@ +import{a as Qe,n as ne,Z as b,y as n,z as v,j as t,C as a,W as A,l as d,k as m,u as O,s as f,B as _,ac as re,A as r,H as k,F as W,D as j,am as de,an as me,$ as h,a0 as pe,ab as ce,p as B}from"./element-plus-C_ZDq0cz.js";import{_ as Xe,a as el,k as ll,b as tl,h as al,S as ol,c as sl}from"./index-DHL7RTL2.js";import il from"./index-CYgESPmX.js";import{W as ul}from"./index-Beo5Mkpq.js";import{combinationInfoApi as nl,combinationCreatApi as rl}from"./api-WYxeAVAk.js";import{p as dl}from"./marketing-BAfn8OEa.js";import{f as ml}from"./index-qanQGPk7.js";import{s as pl}from"./index-FXNuAOau.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./index-C2Zmd2Xm.js";/* empty css */import"./wangeditor-D-KRDJ3T.js";import"./registerMenus-BIn2m7Us.js";const cl={key:0,class:"pictrue"},vl={key:1,class:"upLoad acea-row row-center-wrapper"},fl={key:0,class:"pictrue"},gl={key:1,class:"upLoad acea-row row-center-wrapper"},_l={class:"acea-row"},bl=["onDragstart","onDragover","onDragenter","onDragend"],Vl=["onClick"],yl={class:"acea-row"},kl={class:"acea-row"},wl={key:0},hl=["onClick"],xl={key:0,class:"pictrue pictrueTab"},Pl={key:1,class:"upLoad pictrueTab acea-row row-center-wrapper"},Ul=Object.assign({name:"combinationProductCreate"},{__name:"index",setup(Cl){const C=tl(),ve=al(),fe=el(),ge=ol.routePre,K=B(()=>fe.isMobile),_e=B(()=>K.value?void 0:"155px"),be=B(()=>K.value?"top":"right"),E=d(null),x=d(null),$=d(null),L=d(null),D=d(!1),T=d(!1),Z=d(""),g=d(0),P=d(!1),J={xl:12,lg:20,md:24,sm:24,xs:24},Ve={xl:6,lg:8,md:12,sm:12,xs:12},ye={xl:4,lg:8,md:8,sm:8,xs:8},ke=["选择拼团商品","填写基础信息","修改商品详情"],q=d(!1),we=d(!1),M=d([]),Q=d([]),I=d([]),y=d([]),X=d(""),Y=d(0),ee=d(0),le=d("");let S=null;const l=d({images:[],info:"",title:"",image:"",unit_name:"",price:0,effective_time:24,stock:1,sales:0,sort:0,is_postage:0,is_commission:0,is_host:0,is_show:0,section_time:[],description:"",id:0,product_id:0,people:2,once_num:1,num:1,temp_id:"",attrs:[],items:[],virtual:100,virtualPeople:0,head_commission:0,logistics:["1"],freight:2,postage:1}),he=B(()=>{const o=(l.value.title||"").trim();return o?`请围绕商品《${o}》撰写一篇产品推广文章,介绍产品亮点、使用场景与适用人群,结构清晰,800字左右。`:"写一篇产品推广文章,介绍产品亮点、使用场景与适用人群,结构清晰,800字左右。"}),xe={image:[{required:!0,message:"请选择主图",trigger:"change"}],images:[{required:!0,type:"array",message:"请选择轮播图",trigger:"change",min:1}],title:[{required:!0,message:"请输入拼团名称",trigger:"blur"}],info:[{required:!0,message:"请输入拼团简介",trigger:"blur"}],section_time:[{required:!0,type:"array",message:"请选择活动时间",trigger:"change"}],unit_name:[{required:!0,message:"请输入单位",trigger:"blur"}],effective_time:[{required:!0,type:"number",message:"请输入拼团时效(小时)",trigger:"blur"}],people:[{required:!0,type:"number",message:"请输入拼团人数",trigger:"blur"}],num:[{required:!0,type:"number",message:"请输入购买数量限制",trigger:"blur"}],once_num:[{required:!0,type:"number",message:"请输入单次购买数量限制",trigger:"blur"}],virtualPeople:[{required:!0,type:"number",message:"请输入虚拟成团补齐人数",trigger:"blur"}],temp_id:[{required:!0,message:"请选择运费模板",trigger:"change",type:"number"}]};Qe(()=>{C.params.id&&(ee.value=C.params.copy,g.value=1,Se()),te()});function Pe(o){le.value=o}function Ue(){L.value.id=0,L.value.isTemplate=!0}function Ce(o){dl(o.id,3).then(e=>{let p=e.data.info;y.value=p.attrs,y.value.forEach(function(i,u){y.value[u].id=u}),l.value.items=p.items,I.value=p.header}).catch(e=>{b.error(e.msg)})}function De(o){l.value.attrs=o}function te(){ll().then(o=>{Q.value=o.data})}function Te(o){we.value=!1,q.value=!1,setTimeout(()=>{l.value={images:o.slider_image,info:o.store_info,title:o.store_name,image:o.image,unit_name:o.unit_name,price:0,effective_time:24,stock:o.stock,sales:o.sales,sort:o.sort,is_postage:o.is_postage,is_commission:0,is_host:o.is_hot,is_show:0,section_time:[],id:0,people:2,num:1,once_num:1,product_id:o.id,temp_id:o.temp_id,virtual:100,virtualPeople:0,logistics:o.logistics,freight:o.freight,postage:o.postage,custom_form:o.custom_form,virtual_type:o.virtual_type,head_commission:0,description:o.description},Ce(o)},500)}function qe(o){l.value.section_time=o}function Se(){T.value=!0,nl(C.params.id).then(async o=>{let e=o.data.info;l.value=e,l.value.virtualPeople=parseInt(l.value.people-l.value.people*(l.value.virtual/100)),l.value.items=e.attrs.items,I.value=e.attrs.header,y.value=e.attrs.value,y.value.forEach(function(i,u){y.value[u].id=u});let p=[];for(let i in e.attrs.value)e.attrs.value[i]._checked&&p.push(e.attrs.value[i]);l.value.attrs=p,ne(()=>{p.forEach(i=>{$.value&&$.value.toggleRowSelection(i,!0)})}),T.value=!1}).catch(o=>{T.value=!1,b.error(o.msg)})}function Re(o){return o.id}function ze(){g.value===2?(l.value.description=le.value,E.value.validate(o=>{o&&(ee.value==1&&(l.value.copy=1),l.value.id=Number(C.params.id)||0,D.value=!0,l.value.virtual=parseInt((l.value.people-l.value.virtualPeople)/l.value.people*100),rl(l.value).then(async e=>{D.value=!1,b.success(e.msg),setTimeout(()=>{ve.push({path:ge+"/marketing/combination/product"})},500)}).catch(e=>{D.value=!1,b.error(e.msg)}))})):g.value===1?E.value.validate(o=>{if(o){if(l.value.people<2)return b.error("拼团人数必须大于2");if(l.value.num<0)return b.error("购买数量限制必须大于0");if(l.value.once_num<0)return b.error("单次购买数量限制必须大于0");if(!l.value.attrs)return b.error("请选择属性规格");for(let e in l.value.attrs){if(l.value.attrs[e].quota<=0)return b.error("拼团限量必须大于0");if(l.value.attrs[e].quota>l.value.attrs[e].stock)return b.error("拼团限量不能超过规格库存")}g.value+=1}else return b.warning("请完善您的信息")}):l.value.image?g.value+=1:b.warning("请选择商品")}function Ae(){g.value--}function F(o,e,p){P.value=!0,Z.value=o==="dan"?"单选":"多选",X.value=e,Y.value=p}function Be(o){switch(X.value){case"danFrom":l.value.image=o.att_dir;break;default:l.value.attrs&&l.value.attrs.length&&(y.value[Y.value]._checked=!0),y.value[Y.value].pic=o.att_dir}P.value=!1}function Ee(o){M.value=o,M.value.map(e=>{l.value.images.push(e.att_dir),l.value.images=l.value.images.splice(0,10)}),P.value=!1}function $e(o){M.value.splice(o,1),l.value.images.splice(o,1)}function Le(){q.value=!0,ne(()=>{x.value&&(x.value.formValidate.is_show=-1,x.value.formValidate.type=3,x.value.getList(),x.value.goodsCategory())})}function Me(o,e){S=e}function Ie(o,e){S=null}function Ye(o){o.dataTransfer.dropEffect="move"}function Fe(o,e){if(o.dataTransfer.effectAllowed="move",e===S)return;const p=[...l.value.images],i=p.indexOf(S),u=p.indexOf(e);p.splice(u,0,...p.splice(i,1)),l.value.images=p}return(o,e)=>{const p=m("pages-header"),i=m("el-col"),u=m("el-form-item"),G=m("el-input"),Ge=m("el-date-picker"),ae=m("el-checkbox"),He=m("el-checkbox-group"),oe=m("el-radio"),Ne=m("el-radio-group"),V=m("el-input-number"),Oe=m("el-option"),We=m("el-select"),H=m("el-switch"),se=m("el-table-column"),je=m("el-table"),N=m("el-row"),ie=m("el-button"),Ke=m("el-form"),Ze=m("el-card"),ue=m("el-dialog"),R=O("lazy"),w=O("db-click"),Je=O("loading");return n(),v("div",null,[t(p,{ref:"pageHeader",title:o.$route.params.id&&!o.$route.params.copy?"编辑拼团商品":"添加拼团商品",backUrl:o.$routeProStr+"/marketing/combination/product"},null,8,["title","backUrl"]),t(Ze,{bordered:!1,shadow:"never",class:"mt16"},{default:a(()=>[t(N,{class:"mt30 acea-row row-middle row-center"},{default:a(()=>[t(i,{span:20},{default:a(()=>[t(A(pl),{stepList:ke,isActive:g.value},null,8,["isActive"])]),_:1}),f((n(),_(i,{span:23},{default:a(()=>[t(Ke,{class:"form mt30",ref_key:"formRef",ref:E,model:l.value,rules:xe,"label-width":_e.value,"label-position":be.value,onSubmit:e[20]||(e[20]=re(()=>{},["prevent"]))},{default:a(()=>[g.value===0?(n(),_(u,{key:0,label:"选择商品:",prop:"image_input"},{default:a(()=>[f((n(),v("div",{class:"picBox",onClick:Le},[l.value.image?(n(),v("div",cl,[f(r("img",null,null,512),[[R,l.value.image]])])):(n(),v("div",vl,[...e[23]||(e[23]=[r("i",{class:"el-icon-goods",style:{"font-size":"24px"}},null,-1)])]))])),[[w]])]),_:1})):k("",!0),f(t(N,null,{default:a(()=>[t(i,{span:24},{default:a(()=>[t(u,{label:"商品主图:",prop:"image"},{default:a(()=>[f((n(),v("div",{class:"picBox",onClick:e[0]||(e[0]=s=>F("dan","danFrom"))},[l.value.image?(n(),v("div",fl,[f(r("img",null,null,512),[[R,l.value.image]])])):(n(),v("div",gl,[...e[24]||(e[24]=[r("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])]))])),[[w]])]),_:1})]),_:1}),t(i,{span:24},{default:a(()=>[t(u,{label:"商品轮播图:",prop:"images"},{default:a(()=>[r("div",_l,[(n(!0),v(W,null,j(l.value.images,(s,U)=>(n(),v("div",{class:"pictrue",key:U,draggable:"true",onDragstart:c=>Me(c,s),onDragover:re(c=>Ye(c,s),["prevent"]),onDragenter:c=>Fe(c,s),onDragend:c=>Ie(c,s)},[f(r("img",null,null,512),[[R,s]]),f(r("i",{class:"el-icon-circle-close btndel",onClick:c=>$e(U)},null,8,Vl),[[w]])],40,bl))),128)),l.value.images.length<10?f((n(),v("div",{key:0,class:"upLoad acea-row row-center-wrapper",onClick:e[1]||(e[1]=s=>F("duo"))},[...e[25]||(e[25]=[r("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])])),[[w]]):k("",!0)])]),_:1})]),_:1}),t(i,{span:24},{default:a(()=>[t(i,de(me(J)),{default:a(()=>[t(u,{label:"拼团名称:",prop:"title"},{default:a(()=>[t(G,{clearable:"",placeholder:"请输入拼团名称",modelValue:l.value.title,"onUpdate:modelValue":e[2]||(e[2]=s=>l.value.title=s),class:"content_width",maxlength:"80","show-word-limit":""},null,8,["modelValue"])]),_:1})]),_:1},16)]),_:1}),t(i,{span:24},{default:a(()=>[t(i,de(me(J)),{default:a(()=>[t(u,{label:"拼团简介:",prop:"info"},{default:a(()=>[t(G,{placeholder:"请输入拼团简介",type:"textarea",rows:4,modelValue:l.value.info,"onUpdate:modelValue":e[3]||(e[3]=s=>l.value.info=s),class:"content_width",maxlength:"100","show-word-limit":""},null,8,["modelValue"])]),_:1})]),_:1},16)]),_:1}),t(i,{span:24},{default:a(()=>[t(u,{label:"拼团时间:",prop:"section_time"},{default:a(()=>[r("div",null,[t(Ge,{clearable:"",editable:!1,type:"datetimerange",format:"YYYY-MM-DD HH:mm","value-format":"YYYY-MM-DD HH:mm","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期",onChange:qe,class:"content_width",modelValue:l.value.section_time,"onUpdate:modelValue":e[4]||(e[4]=s=>l.value.section_time=s)},null,8,["modelValue"]),e[26]||(e[26]=r("div",{class:"grey"},"设置活动开启结束时间,用户可以在设置时间内发起参与拼团",-1))])]),_:1})]),_:1}),l.value.virtual_type==0?(n(),_(i,{key:0,span:24},{default:a(()=>[t(u,{label:"物流方式:",prop:"logistics"},{default:a(()=>[t(He,{modelValue:l.value.logistics,"onUpdate:modelValue":e[5]||(e[5]=s=>l.value.logistics=s)},{default:a(()=>[t(ae,{label:"1"},{default:a(()=>[...e[27]||(e[27]=[h("快递",-1)])]),_:1}),t(ae,{label:"2"},{default:a(()=>[...e[28]||(e[28]=[h("到店",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})):k("",!0),l.value.virtual_type==0&&l.value.logistics.includes("1")?(n(),_(i,{key:1,span:24},{default:a(()=>[t(u,{label:"运费设置:"},{default:a(()=>[t(Ne,{modelValue:l.value.freight,"onUpdate:modelValue":e[6]||(e[6]=s=>l.value.freight=s)},{default:a(()=>[t(oe,{label:2,value:2},{default:a(()=>[...e[29]||(e[29]=[h("固定邮费",-1)])]),_:1}),t(oe,{label:3,value:3},{default:a(()=>[...e[30]||(e[30]=[h("运费模板",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})):k("",!0),l.value.freight!=3&&l.value.freight!=1&&l.value.virtual_type==0&&l.value.logistics.includes("1")?(n(),_(i,{key:2,span:24},{default:a(()=>[t(u,{label:""},{default:a(()=>[r("div",yl,[t(V,{controls:!1,min:0,max:9999999999,modelValue:l.value.postage,"onUpdate:modelValue":e[7]||(e[7]=s=>l.value.postage=s),placeholder:"请输入金额",class:"input-number-unit-class","class-unit":"元"},null,8,["modelValue"])])]),_:1})]),_:1})):k("",!0),l.value.freight==3&&l.value.virtual_type==0?(n(),_(i,{key:3,span:24},{default:a(()=>[t(u,{label:"",prop:"temp_id"},{default:a(()=>[r("div",kl,[t(We,{modelValue:l.value.temp_id,"onUpdate:modelValue":e[8]||(e[8]=s=>l.value.temp_id=s),clearable:"",placeholder:"请选择运费模板",class:"content_width"},{default:a(()=>[(n(!0),v(W,null,j(Q.value,(s,U)=>(n(),_(Oe,{value:s.id,key:U,label:s.name},null,8,["value","label"]))),128))]),_:1},8,["modelValue"]),f((n(),v("span",{class:"addfont",onClick:Ue},[...e[31]||(e[31]=[h("新增运费模板",-1)])])),[[w]])])]),_:1})]),_:1})):k("",!0),t(i,{span:24},{default:a(()=>[t(u,{label:"拼团时效:",prop:"effective_time"},{default:a(()=>[r("div",null,[t(V,{controls:!1,placeholder:"请输入拼团时效",class:"input-number-unit-class","class-unit":"小时",modelValue:l.value.effective_time,"onUpdate:modelValue":e[9]||(e[9]=s=>l.value.effective_time=s)},null,8,["modelValue"]),e[32]||(e[32]=r("div",{class:"grey"}," 用户发起拼团后开始计时,需在设置时间内邀请到规定好友人数参团,超过时效时间则系统判定拼团失败,自动发起退款 ",-1))])]),_:1})]),_:1}),t(i,{span:24},{default:a(()=>[t(u,{label:"拼团人数:",prop:"people"},{default:a(()=>[r("div",null,[t(V,{controls:!1,min:2,max:1e4,placeholder:"请输入拼团人数",precision:0,modelValue:l.value.people,"onUpdate:modelValue":e[10]||(e[10]=s=>l.value.people=s),class:"input-number-unit-class","class-unit":"人"},null,8,["modelValue"]),e[33]||(e[33]=r("div",{class:"grey"},"单次拼团需要参与的用户数",-1))])]),_:1})]),_:1}),t(i,{span:24},{default:a(()=>[t(u,{label:"虚拟成团补齐人数:",prop:"virtualPeople"},{default:a(()=>[r("div",null,[t(V,{controls:!1,placeholder:"设置虚拟成团的补齐人数",precision:0,max:1e4,min:0,modelValue:l.value.virtualPeople,"onUpdate:modelValue":e[11]||(e[11]=s=>l.value.virtualPeople=s),class:"input-number-unit-class","class-unit":"人"},null,8,["modelValue"]),e[34]||(e[34]=r("div",{class:"grey"}," 如:5人团设置补齐2人,当团队成员大于等于3人时,拼团结束时自动补齐剩余最多2个位置,不开启虚拟成团请设置为0 ",-1))])]),_:1})]),_:1}),t(i,{span:24},{default:a(()=>[t(u,{label:"单位:",prop:"unit_name"},{default:a(()=>[t(G,{clearable:"",placeholder:"请输入单位",modelValue:l.value.unit_name,"onUpdate:modelValue":e[12]||(e[12]=s=>l.value.unit_name=s),class:"content_width"},null,8,["modelValue"])]),_:1})]),_:1}),t(i,{span:24},{default:a(()=>[t(u,{label:"总购买数量限制:",prop:"num"},{default:a(()=>[r("div",null,[t(V,{controls:!1,min:1,placeholder:"请输入总数量限制",precision:0,max:1e4,modelValue:l.value.num,"onUpdate:modelValue":e[13]||(e[13]=s=>l.value.num=s),class:"input-number-unit-class","class-unit":l.value.unit_name||"件"},null,8,["modelValue","class-unit"]),e[35]||(e[35]=r("div",{class:"grey"},"该商品活动期间内,用户可购买的最大数量",-1))])]),_:1})]),_:1}),t(i,{span:24},{default:a(()=>[t(u,{label:"单次购买数量限制:",prop:"once_num"},{default:a(()=>[r("div",null,[t(V,{controls:!1,min:1,placeholder:"请输入单次购买数量限制",precision:0,max:1e4,modelValue:l.value.once_num,"onUpdate:modelValue":e[14]||(e[14]=s=>l.value.once_num=s),class:"input-number-unit-class","class-unit":l.value.unit_name||"件"},null,8,["modelValue","class-unit"]),e[36]||(e[36]=r("div",{class:"grey"},"用户参与拼团时,一次购买最大数量限制",-1))])]),_:1})]),_:1}),t(i,{span:24},{default:a(()=>[t(u,{label:"团长返佣比例:",prop:"head_commission"},{default:a(()=>[r("div",null,[t(V,{controls:!1,min:0,max:100,placeholder:"团长返佣比例",precision:0,modelValue:l.value.head_commission,"onUpdate:modelValue":e[15]||(e[15]=s=>l.value.head_commission=s),class:"input-number-unit-class","class-unit":"%"},null,8,["modelValue"]),e[37]||(e[37]=r("div",{class:"grey"}," 拼团成功后,如果团长是分销员,则订单确认收货时给团长返佣金,比例是实际支付金额的0-100% ",-1))])]),_:1})]),_:1}),t(i,{span:24},{default:a(()=>[t(u,{label:"拼团是否参与分销:",props:"is_commission"},{default:a(()=>[r("div",null,[t(H,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:l.value.is_commission,"onUpdate:modelValue":e[16]||(e[16]=s=>l.value.is_commission=s),size:"large","active-text":"开启","inactive-text":"关闭"},null,8,["modelValue"]),e[38]||(e[38]=r("div",{class:"grey"},"拼团商品是否参与商城分销返佣",-1))])]),_:1})]),_:1}),t(i,{span:24},{default:a(()=>[t(u,{label:"排序:"},{default:a(()=>[t(V,{controls:!1,placeholder:"请输入排序",precision:0,max:1e4,min:0,modelValue:l.value.sort,"onUpdate:modelValue":e[17]||(e[17]=s=>l.value.sort=s),class:"content_width"},null,8,["modelValue"])]),_:1})]),_:1}),t(i,{span:24},{default:a(()=>[t(u,{label:"热门推荐:",props:"is_hot"},{default:a(()=>[t(H,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:l.value.is_host,"onUpdate:modelValue":e[18]||(e[18]=s=>l.value.is_host=s),size:"large","active-text":"开启","inactive-text":"关闭"},null,8,["modelValue"])]),_:1})]),_:1}),t(i,{span:24},{default:a(()=>[t(u,{label:"活动状态:",props:"is_show"},{default:a(()=>[t(H,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:l.value.is_show,"onUpdate:modelValue":e[19]||(e[19]=s=>l.value.is_show=s),size:"large","active-text":"开启","inactive-text":"关闭"},null,8,["modelValue"])]),_:1})]),_:1}),t(i,{span:24},{default:a(()=>[t(u,{label:"规格选择:"},{default:a(()=>[t(je,{ref_key:"multipleTableRef",ref:$,data:y.value,"row-key":Re,border:"",onSelectionChange:De},{default:a(()=>[t(se,{type:"selection","reserve-selection":!0,width:"55"}),(n(!0),v(W,null,j(I.value,(s,U)=>(n(),_(se,{label:s.title,"min-width":s.minWidth,key:U},{default:a(c=>[s.key?(n(),v("span",wl,pe(c.row[s.key]),1)):s.slot==="pic"?f((n(),v("div",{key:1,class:"acea-row row-middle row-center-wrapper",onClick:z=>F("dan","danTable",c.$index)},[c.row.pic?(n(),v("div",xl,[f(r("img",null,null,512),[[R,c.row.pic]])])):(n(),v("div",Pl,[...e[39]||(e[39]=[r("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])]))],8,hl)),[[w]]):s.slot==="price"?(n(),_(V,{key:2,controls:!1,modelValue:c.row.price,"onUpdate:modelValue":z=>c.row.price=z,min:0,precision:2,class:"priceBox"},null,8,["modelValue","onUpdate:modelValue"])):k("",!0),s.slot==="quota"?(n(),_(V,{key:3,controls:!1,modelValue:c.row.quota,"onUpdate:modelValue":z=>c.row.quota=z,min:1,class:"priceBox"},null,8,["modelValue","onUpdate:modelValue"])):k("",!0)]),_:2},1032,["label","min-width"]))),128))]),_:1},8,["data"])]),_:1})]),_:1})]),_:1},512),[[ce,g.value===1]]),f(t(N,null,{default:a(()=>[t(i,{span:24},{default:a(()=>[t(u,{label:"内容:"},{default:a(()=>[t(ul,{style:{width:"90%"},content:l.value.description,"ai-default-prompt":he.value,onEditorContent:Pe},null,8,["content","ai-default-prompt"])]),_:1})]),_:1})]),_:1},512),[[ce,g.value===2]]),t(u,null,{default:a(()=>[f((n(),_(ie,{class:"submission",onClick:Ae,disabled:o.$route.params.id&&g.value===1||g.value===0},{default:a(()=>[...e[40]||(e[40]=[h("上一步",-1)])]),_:1},8,["disabled"])),[[w]]),f((n(),_(ie,{disabled:D.value&&g.value===2,type:"primary",class:"submission",onClick:ze},{default:a(()=>[h(pe(g.value===2?"提交":"下一步"),1)]),_:1},8,["disabled"])),[[w]])]),_:1})]),_:1},8,["model","label-width","label-position"])]),_:1})),[[Je,T.value]])]),_:1})]),_:1}),t(ue,{modelValue:q.value,"onUpdate:modelValue":e[21]||(e[21]=s=>q.value=s),title:"商品列表",class:"paymentFooter",width:"1000px"},{default:a(()=>[t(A(il),{ref_key:"goodslistRef",ref:x,onGetProductId:Te},null,512)]),_:1},8,["modelValue"]),t(ue,{modelValue:P.value,"onUpdate:modelValue":e[22]||(e[22]=s=>P.value=s),width:"950px",title:"上传商品图","close-on-click-modal":!1},{default:a(()=>[P.value?(n(),_(A(sl),{key:0,isChoice:Z.value,onGetPic:Be,onGetPicD:Ee,gridBtn:ye,gridPic:Ve},null,8,["isChoice"])):k("",!0)]),_:1},8,["modelValue"]),t(A(ml),{ref_key:"templateRef",ref:L,onAddSuccess:te},null,512)])}}}),Gl=Xe(Ul,[["__scopeId","data-v-181b70ac"]]);export{Gl as default}; diff --git a/backend/public/admin/system_static/index-Bn3hiSFi.css b/backend/public/admin/system_static/index-Bn3hiSFi.css new file mode 100644 index 000000000..7db5d657b --- /dev/null +++ b/backend/public/admin/system_static/index-Bn3hiSFi.css @@ -0,0 +1 @@ +@charset "UTF-8";.upload-success-content[data-v-ff0fe23b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:20px 0}.upload-success-content .success-title[data-v-ff0fe23b]{font-size:18px;font-weight:500;color:#303133;margin-bottom:8px}.upload-success-content .success-desc[data-v-ff0fe23b]{font-size:14px;color:#606266}.cross-version-upgrade .new-version-summary[data-v-ff0fe23b]{padding:24px 0;background:#fff;border-radius:8px;margin-top:16px;margin-bottom:16px}.cross-version-upgrade .new-version-summary .summary-header[data-v-ff0fe23b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;gap:0;margin-top:12px;margin-bottom:12px}.cross-version-upgrade .new-version-summary .summary-icon-wrap[data-v-ff0fe23b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.cross-version-upgrade .new-version-summary .summary-icon-img[data-v-ff0fe23b]{width:36px;height:36px;display:block}.cross-version-upgrade .new-version-summary .summary-title[data-v-ff0fe23b]{font-size:16px;font-weight:600;text-align:center;margin-top:16px}.cross-version-upgrade .new-version-summary .summary-sub[data-v-ff0fe23b]{color:#666;text-align:center;font-size:12px;margin-top:6px}.cross-version-upgrade .new-version-summary .summary-actions[data-v-ff0fe23b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:20px}.cross-version-upgrade .new-version-summary .check-update-btn[data-v-ff0fe23b]{color:#0256ff;border:1px solid #0256ff;background-color:transparent}.cross-version-upgrade .new-version-summary .check-update-btn[data-v-ff0fe23b]:hover,.cross-version-upgrade .new-version-summary .check-update-btn[data-v-ff0fe23b]:focus{color:#fff;background-color:#0256ff;border-color:#0256ff}.cross-version-upgrade .new-version-summary .summary-content[data-v-ff0fe23b]{background:#fafafa;border-radius:6px;padding:16px;margin-top:48px}.cross-version-upgrade .new-version-summary .content-title[data-v-ff0fe23b]{font-weight:500;font-size:14px;color:#333;padding-bottom:8px;border-bottom:1px solid #eaeaea;margin-bottom:12px}.cross-version-upgrade .new-version-summary .release-time[data-v-ff0fe23b]{color:#666;font-size:12px;margin-left:8px}.cross-version-upgrade .new-version-summary .content-desc[data-v-ff0fe23b]{white-space:pre-wrap;font-size:12px;line-height:18px;color:#333}.cross-version-upgrade .agreement-content[data-v-ff0fe23b]{max-height:60vh;overflow:auto;font-size:12px;font-weight:400;line-height:20px;color:#333}.cross-version-upgrade[data-v-ff0fe23b] .agreement-dialog .el-dialog__header{text-align:center}.cross-version-upgrade[data-v-ff0fe23b] .agreement-dialog .el-dialog__title{font-size:16px!important;line-height:16px!important;font-weight:500;color:#333}.cross-version-upgrade .local-mask[data-v-ff0fe23b]{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;z-index:1998}.cross-version-upgrade .progress-line[data-v-ff0fe23b] .el-progress-bar__inner{background-color:var(--prev-color-primary)}.cross-version-upgrade .progress-status-row[data-v-ff0fe23b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-top:8px;font-size:12px}.cross-version-upgrade .status-item[data-v-ff0fe23b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:6px}.cross-version-upgrade .status-ok[data-v-ff0fe23b]{color:var(--prev-color-primary)}.cross-version-upgrade .status-loading[data-v-ff0fe23b]{color:#ff8a00}.cross-version-upgrade .status-error[data-v-ff0fe23b]{color:#ff4d4f}.cross-version-upgrade .status-muted[data-v-ff0fe23b]{color:#999}.cross-version-upgrade .check-error-box[data-v-ff0fe23b]{border:1px solid #ffd591;background:#fff7e6;border-radius:6px;padding:12px;color:#ad6800}.cross-version-upgrade .check-error-head[data-v-ff0fe23b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:6px;font-weight:500}.cross-version-upgrade .check-error-desc[data-v-ff0fe23b]{font-size:12px;font-weight:400}.cross-version-upgrade .check-error-actions[data-v-ff0fe23b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.cross-version-upgrade .check-success-box[data-v-ff0fe23b]{border:1px solid rgb(2,86,255);background:#e8fdf5;border-radius:6px;padding:12px;background:#f0f5ff;color:#333}.cross-version-upgrade .mt16[data-v-ff0fe23b]{margin-top:16px}.cross-version-upgrade[data-v-ff0fe23b]{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.cross-version-upgrade .version-info[data-v-ff0fe23b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:30px}.cross-version-upgrade .version-info .current-version[data-v-ff0fe23b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:16px}.cross-version-upgrade .version-info .current-version .label[data-v-ff0fe23b]{color:#666}.cross-version-upgrade .version-info .current-version .version-num[data-v-ff0fe23b]{font-weight:700;color:var(--prev-color-primary)}.upgrade-section[data-v-ff0fe23b]{margin-bottom:16px;padding:16px;background:#f9fafc}.upgrade-section .section-title[data-v-ff0fe23b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:16px;font-size:16px;font-weight:500}.upgrade-section .section-title .step-num[data-v-ff0fe23b]{width:24px;height:24px;background:var(--prev-color-primary);color:#fff;border-radius:50%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:14px;margin-right:10px}.upgrade-section .section-content .status-text[data-v-ff0fe23b]{margin-left:15px;color:#666}.download-progress .progress-info[data-v-ff0fe23b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:8px}.download-progress .progress-info .stage-text[data-v-ff0fe23b]{color:#409eff;font-weight:500}.download-progress .progress-info .progress-text[data-v-ff0fe23b]{color:#999}.download-progress .progress-steps[data-v-ff0fe23b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-top:16px}.download-progress .progress-steps .step-item[data-v-ff0fe23b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:6px;color:#999;font-size:13px}.download-progress .progress-steps .step-item i[data-v-ff0fe23b]{font-size:16px}.download-progress .progress-steps .step-item.active[data-v-ff0fe23b],.download-progress .progress-steps .step-item.active i[data-v-ff0fe23b]{color:#409eff}.download-progress .progress-steps .step-item.done[data-v-ff0fe23b],.download-progress .progress-steps .step-item.done i[data-v-ff0fe23b]{color:#67c23a}.download-complete[data-v-ff0fe23b],.download-error[data-v-ff0fe23b]{margin-top:10px}.upgrade-header[data-v-ff0fe23b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:16px;font-weight:500}.sql-list[data-v-ff0fe23b],.upgrade-progress-detail .progress-header[data-v-ff0fe23b]{margin-bottom:20px}.upgrade-progress-detail .sql-execution-logs[data-v-ff0fe23b]{margin-top:20px;background:#f5f7fa;border-radius:4px;padding:12px;max-height:300px;overflow-y:auto}.upgrade-progress-detail .sql-execution-logs .logs-header[data-v-ff0fe23b]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:10px;margin-bottom:10px;font-weight:500;padding-bottom:10px;border-bottom:1px solid #eee}.upgrade-progress-detail .sql-execution-logs .logs-content[data-v-ff0fe23b]{font-size:12px;font-family:monospace}.upgrade-progress-detail .sql-execution-logs .logs-content .log-item[data-v-ff0fe23b]{padding:4px 8px;border-radius:2px;margin-bottom:2px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:8px}.upgrade-progress-detail .sql-execution-logs .logs-content .log-item.log-success[data-v-ff0fe23b]{background:#f0f9eb}.upgrade-progress-detail .sql-execution-logs .logs-content .log-item.log-failed[data-v-ff0fe23b]{background:#fef0f0}.upgrade-progress-detail .sql-execution-logs .logs-content .log-item.log-skipped[data-v-ff0fe23b]{background:#f4f4f5}.upgrade-progress-detail .sql-execution-logs .logs-content .log-item .log-index[data-v-ff0fe23b]{color:#999;min-width:30px}.upgrade-progress-detail .sql-execution-logs .logs-content .log-item .log-version[data-v-ff0fe23b]{color:#409eff}.upgrade-progress-detail .sql-execution-logs .logs-content .log-item .log-type[data-v-ff0fe23b]{color:#e6a23c;margin-right:4px}.upgrade-progress-detail .sql-execution-logs .logs-content .log-item .log-table[data-v-ff0fe23b]{color:#606266;min-width:100px}.upgrade-progress-detail .sql-execution-logs .logs-content .log-item .log-field[data-v-ff0fe23b]{color:#67c23a;margin-right:8px}.upgrade-progress-detail .sql-execution-logs .logs-content .log-item .log-message[data-v-ff0fe23b]{color:#909399;font-size:11px;margin-left:auto}.upgrade-progress-detail .upgrade-result[data-v-ff0fe23b]{margin-top:20px}.error-files-table-wrap[data-v-ff0fe23b]{max-height:none;overflow:visible}.error-files-table[data-v-ff0fe23b] .el-table__cell{padding-top:0!important;padding-bottom:0!important}.error-files-table[data-v-ff0fe23b] .el-table__cell .cell{line-height:30px;padding-top:0;padding-bottom:0}.download-msg[data-v-ff0fe23b]{font-size:12px;font-weight:400;color:#999} diff --git a/backend/public/admin/system_static/index-BoCKMsix.js b/backend/public/admin/system_static/index-BoCKMsix.js new file mode 100644 index 000000000..caddf6cf8 --- /dev/null +++ b/backend/public/admin/system_static/index-BoCKMsix.js @@ -0,0 +1 @@ +import{g as we,L as be,k as n,u as C,y as r,z as v,j as o,C as a,A as d,ac as he,s as p,B as x,$ as g,W as I,a0 as w,F as ye,D as ke,H as P,p as M,r as T,l as _,Z as u}from"./element-plus-C_ZDq0cz.js";import{_ as Ce,b as xe,h as Ve,a as De,S as N,m as j}from"./index-DHL7RTL2.js";import{c as Se,r as $e,a as Le}from"./cms-BakSzEoF.js";import Pe from"./index-CYgESPmX.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./index-C2Zmd2Xm.js";/* empty css */const Be={class:"padding-add"},Fe={key:0},Ue={class:"line2"},Ae=["onClick"],Ee=["onClick"],Ie=["onClick"],Me={class:"acea-row row-right page"},Te=Object.assign({name:"cms_article"},{__name:"index",setup(Ne){const{proxy:z}=we(),B=xe(),R=Ve(),q=De(),W=_(null),k=_(!1),i=T({pid:0,title:"",page:1,limit:15}),D=_(0),S=_([]),$=_([]),G=T({type:1}),F=_({}),U=_(!1),b=_(!1),H={value:"id",label:"title",emitPath:!1},O=M(()=>q.isMobile),Z=M(()=>O.value?void 0:"80px");be(()=>{i.pid=B.query.id?B.query.id:0,h(),Q()});function J(l){let e={product_id:l.id};$e(e,F.value.id).then(async s=>{u.success(s.msg),l.id=0,U.value=!1,b.value=!1,setTimeout(()=>{h()},500)}).catch(s=>{U.value=!1,k.value=!1,u.error(s.msg)})}function K(){b.value=!1}function h(){k.value=!0,Se(i).then(async l=>{let e=l.data;S.value=e.list,D.value=e.count,k.value=!1}).catch(l=>{k.value=!1,u.error(l.msg)})}function Q(){Le(G).then(async l=>{let e=l.data;$.value=e;let s={id:0,title:"全部"};$.value.unshift(s)}).catch(l=>{u.error(l.msg)})}function X(l){i.pid=l||0,i.page=1,h()}function Y(l){R.push({path:N.routePre+"/cms/article/add_article/"+l.id})}function ee(l,e,s){if(F.value=l,l.product_id===0)b.value=!0;else{let c={title:e,url:`/cms/cms/unrelation/${l.id}`,method:"PUT",ids:""};j(c).then(m=>{u.success(m.msg),h()}).catch(m=>{u.error(m.msg)})}}function te(l,e,s){let c={title:e,url:`cms/cms/${l.id}`,method:"DELETE",ids:""};j(c).then(m=>{u.success(m.msg),S.value.splice(s,1)}).catch(m=>{u.error(m.msg)})}function le(){i.page=1,h()}function oe(l,e){let s=l.copy_url;z.$copyText(s).then(c=>{u.success("复制成功")}).catch(c=>{u.error("复制失败")})}return(l,e)=>{const s=n("el-cascader"),c=n("el-form-item"),m=n("el-input"),A=n("el-button"),ae=n("el-form"),E=n("el-card"),ne=n("router-link"),f=n("el-table-column"),ie=n("el-tooltip"),L=n("el-divider"),se=n("el-dropdown-item"),re=n("el-dropdown-menu"),de=n("el-dropdown"),ue=n("el-table"),ce=n("pagination"),me=n("el-dialog"),V=C("db-click"),pe=C("auth"),_e=C("lazy"),fe=C("viewer"),ve=C("loading");return r(),v("div",null,[o(E,{bordered:!1,shadow:"never",class:"ivu-mb-16","body-style":{padding:0}},{default:a(()=>[d("div",Be,[o(ae,{model:i,"label-width":Z.value,"label-position":"right",onSubmit:e[2]||(e[2]=he(()=>{},["prevent"])),inline:""},{default:a(()=>[o(c,{label:"文章分类:","label-for":"pid"},{default:a(()=>[o(s,{modelValue:i.pid,"onUpdate:modelValue":e[0]||(e[0]=t=>i.pid=t),placeholder:"请选择",class:"treeSel",onChange:X,options:$.value,props:H,style:{width:"250px"}},null,8,["modelValue","options"])]),_:1}),o(c,{label:"文章搜索:","label-for":"title"},{default:a(()=>[o(m,{clearable:"",placeholder:"请输入",modelValue:i.title,"onUpdate:modelValue":e[1]||(e[1]=t=>i.title=t),class:"form_content_width"},null,8,["modelValue"])]),_:1}),o(c,null,{default:a(()=>[p((r(),x(A,{type:"primary",onClick:le},{default:a(()=>[...e[6]||(e[6]=[g("查询",-1)])]),_:1})),[[V]])]),_:1})]),_:1},8,["model","label-width"])])]),_:1}),o(E,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:a(()=>[p((r(),x(ne,{to:I(N).routePre+"/cms/article/add_article"},{default:a(()=>[o(A,{type:"primary",class:"action-row bnt"},{default:a(()=>[...e[7]||(e[7]=[g("添加文章",-1)])]),_:1})]),_:1},8,["to"])),[[pe,["cms-article-creat"]]]),p((r(),x(ue,{data:S.value,ref:"table",class:"mt14","highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:a(()=>[o(f,{label:"ID",width:"80"},{default:a(t=>[d("span",null,w(t.row.id),1)]),_:1}),o(f,{label:"文章图片","min-width":"90"},{default:a(t=>[t.row.image_input.length!==0?p((r(),v("div",Fe,[(r(!0),v(ye,null,ke(t.row.image_input,(y,ge)=>(r(),v("div",{class:"tabBox_img",key:ge},[p(d("img",null,null,512),[[_e,y]])]))),128))])),[[fe]]):P("",!0)]),_:1}),o(f,{label:"文章名称","min-width":"130"},{default:a(t=>[o(ie,{placement:"top","open-delay":600},{content:a(()=>[d("div",null,w(" [ "+t.row.catename+" ] "+t.row.title),1)]),default:a(()=>[d("span",Ue,w(t.row.title),1)]),_:2},1024)]),_:1}),o(f,{label:"关联商品","min-width":"130"},{default:a(t=>[d("span",null,w(t.row.store_name||"--"),1)]),_:1}),o(f,{label:"浏览量","min-width":"80"},{default:a(t=>[d("span",null,w(t.row.visit),1)]),_:1}),o(f,{label:"时间","min-width":"130"},{default:a(t=>[d("span",null,w(l.$filters.formatDate(t.row.add_time)),1)]),_:1}),o(f,{label:"操作",fixed:"right",width:"300"},{default:a(t=>[p((r(),v("a",{onClick:y=>Y(t.row)},[...e[8]||(e[8]=[g("编辑",-1)])],8,Ae)),[[V]]),o(L,{direction:"vertical"}),p((r(),v("a",{onClick:y=>ee(t.row,"取消关联",l.index)},[g(w(t.row.product_id===0?"关联":"取消关联"),1)],8,Ee)),[[V]]),o(L,{direction:"vertical"}),p((r(),v("a",{onClick:y=>te(t.row,"删除文章",t.$index)},[...e[9]||(e[9]=[g("删除",-1)])],8,Ie)),[[V]]),o(L,{direction:"vertical"}),o(de,{onCommand:y=>oe(t.row,y),transfer:!0},{dropdown:a(()=>[o(re,null,{default:a(()=>[o(se,{command:"1"},{default:a(()=>[...e[10]||(e[10]=[g("移动端链接",-1)])]),_:1})]),_:1})]),default:a(()=>[e[11]||(e[11]=d("span",{class:"el-dropdown-link"},[g("复制链接"),d("i",{class:"el-icon-arrow-down el-icon--right"})],-1))]),_:1},8,["onCommand"])]),_:1})]),_:1},8,["data"])),[[ve,k.value]]),d("div",Me,[D.value?(r(),x(ce,{key:0,total:D.value,page:i.page,"onUpdate:page":e[3]||(e[3]=t=>i.page=t),limit:i.limit,"onUpdate:limit":e[4]||(e[4]=t=>i.limit=t),onPagination:h},null,8,["total","page","limit"])):P("",!0)])]),_:1}),o(me,{modelValue:b.value,"onUpdate:modelValue":e[5]||(e[5]=t=>b.value=t),title:"商品列表",class:"paymentFooter",width:"1000px",onClosed:K},{default:a(()=>[b.value?(r(),x(I(Pe),{key:0,ref_key:"goodslist",ref:W,onGetProductId:J},null,512)):P("",!0)]),_:1},8,["modelValue"])])}}}),Je=Ce(Te,[["__scopeId","data-v-fbdbaed4"]]);export{Je as default}; diff --git a/backend/public/admin/system_static/index-Boajy8aR.js b/backend/public/admin/system_static/index-Boajy8aR.js new file mode 100644 index 000000000..2be7dcdac --- /dev/null +++ b/backend/public/admin/system_static/index-Boajy8aR.js @@ -0,0 +1 @@ +import{k as i,u as D,y as m,z as M,j as a,C as l,A as s,ac as W,F as Z,D as G,B as v,s as Y,$ as J,a0 as r,H as K,Z as C,p as g,l as u,r as Q}from"./element-plus-C_ZDq0cz.js";import{p as X,q as ee}from"./system-C_6vcZAB.js";import{a as te}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const ae={class:"padding-add"},le={class:"acea-row row-right page"},me=Object.assign({name:"systemLog"},{__name:"index",setup(oe){const L=te(),S=u(null),U=u(null),A={title:"选择时间",custom:!0,fromTxt:[{text:"全部",val:""},{text:"今天",val:"today"},{text:"昨天",val:"yesterday"},{text:"最近7天",val:"lately7"},{text:"最近30天",val:"lately30"},{text:"本月",val:"month"},{text:"本年",val:"year"}]},p=u([]),o=Q({limit:15,page:1,pages:"",data:"",path:"",ip:"",admin_id:""}),_=u(!1),h=u([]),b=u(0),w=u([]),y=g(()=>L.isMobile),B=g(()=>y.value?void 0:"80px"),I=g(()=>y.value?"top":"right");function N(n){p.value=n,o.data=p.value?p.value.join("-"):"",o.page=1,f()}function P(){X().then(async n=>{w.value=n.data.info}).catch(n=>{C.error(n.msg)})}function f(){_.value=!0,ee(o).then(async n=>{let t=n.data;h.value=t.list,b.value=t.count,_.value=!1}).catch(n=>{_.value=!1,C.error(n.msg)})}function V(){o.page=1,f()}return P(),f(),(n,t)=>{const j=i("date-range-picker"),c=i("el-form-item"),T=i("el-option"),E=i("el-select"),x=i("el-input"),F=i("el-button"),R=i("el-form"),k=i("el-card"),d=i("el-table-column"),$=i("el-table"),q=i("pagination"),z=D("db-click"),H=D("loading");return m(),M("div",null,[a(k,{bordered:!1,shadow:"never",class:"ivu-mb-16","body-style":{padding:0}},{default:l(()=>[s("div",ae,[a(R,{ref_key:"formValidateRef",ref:S,"label-width":B.value,"label-position":I.value,onSubmit:t[4]||(t[4]=W(()=>{},["prevent"])),inline:"",class:"tabform"},{default:l(()=>[a(c,{label:A.title+":"},{default:l(()=>[a(j,{clearable:"",editable:!1,onChange:N,modelValue:p.value,"onUpdate:modelValue":t[0]||(t[0]=e=>p.value=e),format:"YYYY/MM/DD","value-format":"YYYY/MM/DD"},null,8,["modelValue"])]),_:1},8,["label"]),a(c,{label:"名称:"},{default:l(()=>[a(E,{modelValue:o.admin_id,"onUpdate:modelValue":t[1]||(t[1]=e=>o.admin_id=e),clearable:"",onChange:V,class:"form_content_width"},{default:l(()=>[(m(!0),M(Z,null,G(w.value,(e,O)=>(m(),v(T,{value:e.id,key:O,label:e.real_name},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(c,{label:"链接:"},{default:l(()=>[a(x,{placeholder:"请输入链接",modelValue:o.path,"onUpdate:modelValue":t[2]||(t[2]=e=>o.path=e),class:"form_content_width",clearable:""},null,8,["modelValue"])]),_:1}),a(c,{label:"IP:"},{default:l(()=>[a(x,{placeholder:"请输入IP",modelValue:o.ip,"onUpdate:modelValue":t[3]||(t[3]=e=>o.ip=e),clearable:"",class:"form_content_width"},null,8,["modelValue"])]),_:1}),a(c,null,{default:l(()=>[Y((m(),v(F,{type:"primary",class:"userSearch",onClick:V},{default:l(()=>[...t[7]||(t[7]=[J("搜索",-1)])]),_:1})),[[z]])]),_:1})]),_:1},8,["label-width","label-position"])])]),_:1}),a(k,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:l(()=>[Y((m(),v($,{ref_key:"selection",ref:U,data:h.value,"empty-text":"暂无数据","highlight-current-row":""},{default:l(()=>[a(d,{label:"ID",width:"80"},{default:l(e=>[s("span",null,r(e.row.id),1)]),_:1}),a(d,{label:"ID/名称","min-width":"100"},{default:l(e=>[s("span",null,r(e.row.admin_id+" / "+e.row.admin_name),1)]),_:1}),a(d,{label:"操作","min-width":"100"},{default:l(e=>[s("span",null,r(e.row.path_name),1)]),_:1}),a(d,{label:"链接","min-width":"100"},{default:l(e=>[s("span",null,r(e.row.path),1)]),_:1}),a(d,{label:"操作ip","min-width":"100"},{default:l(e=>[s("span",null,r(e.row.ip),1)]),_:1}),a(d,{label:"类型","min-width":"100"},{default:l(e=>[s("span",null,r(e.row.type),1)]),_:1}),a(d,{label:"操作时间","min-width":"100"},{default:l(e=>[s("span",null,r(n.$filters.formatDate(e.row.add_time)),1)]),_:1})]),_:1},8,["data"])),[[H,_.value]]),s("div",le,[b.value?(m(),v(q,{key:0,total:b.value,page:o.page,"onUpdate:page":t[5]||(t[5]=e=>o.page=e),limit:o.limit,"onUpdate:limit":t[6]||(t[6]=e=>o.limit=e),onPagination:f},null,8,["total","page","limit"])):K("",!0)])]),_:1})])}}});export{me as default}; diff --git a/backend/public/admin/system_static/index-Bp-oG-xv.js b/backend/public/admin/system_static/index-Bp-oG-xv.js new file mode 100644 index 000000000..9808d5672 --- /dev/null +++ b/backend/public/admin/system_static/index-Bp-oG-xv.js @@ -0,0 +1,2 @@ +import{a as R,k as d,y as f,B as m,C as e,z as I,F as N,D as T,v as g,j as t,A as o,a0 as k,$ as b,a1 as j,Z as z,l as v,u as M,s as y,W as C,H as V,p as E}from"./element-plus-C_ZDq0cz.js";import{w as F,_ as A,u as O}from"./index-DHL7RTL2.js";import{_ as D}from"./index-BNh-i5iE.js";import{a as U}from"./system-C_6vcZAB.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./echarts-CylxjQLW.js";import"./echarts-C6m23LPs.js";function q(){return F({url:"home/header",method:"get"})}function H(S){return F({url:"home/order",method:"get",params:S})}function W(){return F({url:"home/user",method:"get"})}function Z(){return F({url:"home/rank",method:"get"})}const G=["textContent"],J={class:"number"},K={class:"ivu-pt-8",style:{height:"42px"}},Q={class:"ivu-mr"},X={class:"total"},Y={__name:"baseInfo",setup(S){const i=v([]),l={xl:6,lg:6,md:12,sm:12,xs:24};function a(){q().then(async s=>{let _=s.data;i.value=_.info}).catch(s=>{z.error(s.msg)})}return R(()=>{a()}),(s,_)=>{const u=d("el-tag"),p=d("el-divider"),c=d("el-col"),x=d("el-row"),r=d("el-card");return f(),m(x,{gutter:16},{default:e(()=>[(f(!0),I(N,null,T(i.value,(n,h)=>(f(),m(c,g({ref_for:!0},l,{class:"ivu-mb",key:h}),{default:e(()=>[t(r,{shadow:"never",padding:0},{header:e(()=>[o("p",null,[o("span",{textContent:k(n.title)},null,8,G),t(u,{style:{float:"right"},type:"success"},{default:e(()=>[b(k(n.date),1)]),_:2},1024)])]),default:e(()=>[o("div",null,[o("div",J,k(n.today),1),o("div",K,[o("span",null,"昨日 "+k(n.yesterday),1),o("span",Q,[b(" 日环比 "+k(Number(n.today_ratio))+"% ",1),o("i",{class:j(["iconColor",[Number(n.today_ratio)>=0?" ":"on",Number(n.today_ratio)>=0?"el-icon-caret-top":`el-icon-caret-bottom +`]])},null,2)])]),t(p),o("div",X,[t(x,null,{default:e(()=>[t(c,{span:12},{default:e(()=>[b(k(n.total_name),1)]),_:2},1024),t(c,{span:12,class:"ivu-text-right"},{default:e(()=>[b(k(n.total),1)]),_:2},1024)]),_:2},1024)])])]),_:2},1024)]),_:2},1040))),128))]),_:1})}}},ee=A(Y,[["__scopeId","data-v-6b078c4b"]]),te={__name:"gridMenu",setup(S){const i={xl:3,lg:3,md:6,sm:6,xs:12};return(l,a)=>{const s=d("router-link"),_=d("el-card"),u=d("el-col"),p=d("el-row"),c=M("auth");return f(),m(p,{gutter:16,class:"dashboard-console-grid"},{default:e(()=>[y((f(),m(u,g(i,{class:"ivu-mb"}),{default:e(()=>[t(_,{shadow:"never"},{default:e(()=>[t(s,{to:{path:l.$routeProStr+"/user/list"}},{default:e(()=>[...a[0]||(a[0]=[o("div",{class:"icon"},[o("i",{class:"iconfont iconyonghuguanli",style:{color:"#0256ff"}})],-1),o("p",null,"用户管理",-1)])]),_:1},8,["to"])]),_:1})]),_:1},16)),[[c,["admin-user-user-index"]]]),y((f(),m(u,g(i,{class:"ivu-mb"}),{default:e(()=>[t(_,{shadow:"never"},{default:e(()=>[t(s,{to:{path:l.$routeProStr+"/setting/system_config"}},{default:e(()=>[...a[1]||(a[1]=[o("div",{class:"icon"},[o("i",{class:"iconfont iconxitongshezhi",style:{color:"#9fdb1d"}})],-1),o("p",null,"系统设置",-1)])]),_:1},8,["to"])]),_:1})]),_:1},16)),[[c,["setting-system-config"]]]),y((f(),m(u,g(i,{class:"ivu-mb"}),{default:e(()=>[t(_,{shadow:"never"},{default:e(()=>[t(s,{to:{path:l.$routeProStr+"/product/normal/list"}},{default:e(()=>[...a[2]||(a[2]=[o("div",{class:"icon"},[o("i",{class:"iconfont iconshangpin",style:{color:"#0fc6c2"}})],-1),o("p",null,"商品",-1)])]),_:1},8,["to"])]),_:1})]),_:1},16)),[[c,["admin-normal-product-list"]]]),y((f(),m(u,g(i,{class:"ivu-mb"}),{default:e(()=>[t(_,{shadow:"never"},{default:e(()=>[t(s,{to:{path:l.$routeProStr+"/order/center"}},{default:e(()=>[...a[3]||(a[3]=[o("div",{class:"icon"},[o("i",{class:"iconfont icondingdanguanli",style:{color:"#b37feb"}})],-1),o("p",null,"订单中台",-1)])]),_:1},8,["to"])]),_:1})]),_:1},16)),[[c,["admin-order-orderCenter-index"]]]),y((f(),m(u,g(i,{class:"ivu-mb"}),{default:e(()=>[t(_,{shadow:"never"},{default:e(()=>[t(s,{to:{path:l.$routeProStr+"/setting/yihaotong/index"}},{default:e(()=>[...a[4]||(a[4]=[o("div",{class:"icon"},[o("i",{class:"iconfont iconduanxinpeizhi",style:{color:"#f7ba1e"}})],-1),o("p",null,"短信配置",-1)])]),_:1},8,["to"])]),_:1})]),_:1},16)),[[c,["setting-yihaotong"]]]),y((f(),m(u,g(i,{class:"ivu-mb"}),{default:e(()=>[t(_,{shadow:"never"},{default:e(()=>[t(s,{to:{path:l.$routeProStr+"/cms/article/index"}},{default:e(()=>[...a[5]||(a[5]=[o("div",{class:"icon"},[o("i",{class:"iconfont iconwenzhangguanli",style:{color:"#7da2ff"}})],-1),o("p",null,"文章管理",-1)])]),_:1},8,["to"])]),_:1})]),_:1},16)),[[c,["cms-article-index"]]]),y((f(),m(u,g(i,{class:"ivu-mb"}),{default:e(()=>[t(_,{shadow:"never"},{default:e(()=>[t(s,{to:{path:l.$routeProStr+"/distribution/agent_manage/index"}},{default:e(()=>[...a[6]||(a[6]=[o("div",{class:"icon"},[o("i",{class:"iconfont iconfenxiaoguanli",style:{color:"#ff7d00"}})],-1),o("p",null,"分销管理",-1)])]),_:1},8,["to"])]),_:1})]),_:1},16)),[[c,["agent-agent-manage"]]]),y((f(),m(u,g(i,{class:"ivu-mb"}),{default:e(()=>[t(_,{shadow:"never"},{default:e(()=>[t(s,{to:{path:l.$routeProStr+"/marketing/store_coupon_issue/index"}},{default:e(()=>[...a[7]||(a[7]=[o("div",{class:"icon"},[o("i",{class:"iconfont iconyouhuiquan4",style:{color:"#0fc6c2"}})],-1),o("p",null,"优惠券",-1)])]),_:1},8,["to"])]),_:1})]),_:1},16)),[[c,["marketing-store_coupon-index"]]])]),_:1})}}},oe=A(te,[["__scopeId","data-v-345098d0"]]),ae={__name:"visitChart",setup(S){const i=v(null),l=v(null),a=v("thirtyday"),s=v([]),_=v([]);function u(){let x={cycle:a.value};H(x).then(async r=>{l.value=r.data||{},s.value=l.value.series||[],_.value=[{type:"value",name:"金额",axisLine:{show:!1},axisTick:{show:!1},axisLabel:{textStyle:{color:"#7F8B9C"}},splitLine:{show:!0,lineStyle:{color:"#F5F7F9"}}},{type:"value",name:"数量",axisLine:{show:!1},axisTick:{show:!1},axisLabel:{textStyle:{color:"#7F8B9C"}},splitLine:{show:!0,lineStyle:{color:"#F5F7F9"}}}]}).catch(r=>{z.error(r.msg)})}function p(){u()}function c(){l.value&&i.value.handleResize()}return u(),(x,r)=>{const n=d("el-avatar"),h=d("el-col"),w=d("el-radio-button"),$=d("el-radio-group"),L=d("el-row"),P=d("el-card");return f(),I("div",{onResize:c},[t(L,{gutter:24},{default:e(()=>[t(h,{san:"24",class:"ivu-mb"},{default:e(()=>[t(P,{bordered:!1,shadow:"never",class:"dashboard-console-visit"},{default:e(()=>[o("div",null,[t(L,{justify:"center",align:"middle"},{default:e(()=>[t(h,{span:8,class:"card-title"},{default:e(()=>[t(n,{icon:"el-icon-s-marketing",style:{color:"var(--prev-color-primary)","background-color":"#e6f7ff"}}),r[1]||(r[1]=o("h4",{class:"ivu-pl-8"},"订单",-1))]),_:1}),t(h,{span:16,class:"ivu-text-right"},{default:e(()=>[t($,{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=B=>a.value=B),type:"button",class:"ivu-mr-8",onChange:p},{default:e(()=>[t(w,{label:"thirtyday",value:"thirtyday"},{default:e(()=>[...r[2]||(r[2]=[b("30天",-1)])]),_:1}),t(w,{label:"week",value:"week"},{default:e(()=>[...r[3]||(r[3]=[b("周",-1)])]),_:1}),t(w,{label:"month",value:"month"},{default:e(()=>[...r[4]||(r[4]=[b("月",-1)])]),_:1}),t(w,{label:"year",value:"year"},{default:e(()=>[...r[5]||(r[5]=[b("年",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),l.value?(f(),m(C(D),{key:0,ref_key:"visitChart",ref:i,series:s.value,infoList:l.value,yAxisData:_.value},null,8,["series","infoList","yAxisData"])):V("",!0)]),_:1})]),_:1})]),_:1})],32)}}},se=A(ae,[["__scopeId","data-v-6ba7f725"]]),ne={class:"card-title"},le={class:"card-title"},re="line",ie="circle",ue=Object.assign({name:"user-chart"},{__name:"userChart",setup(S){const i=v(null),l=v(null),a=v({}),s=v([]),_=v([]),u=v([]),p=v([]);function c(){W().then(async n=>{a.value=n.data,s.value=[{data:n.data.series,name:"人数(人)",type:"line",tooltip:!0,smooth:!0,symbol:"none",areaStyle:{normal:{opacity:.2}}}],u.value=n.bing_data,p.value=n.bing_xdata}).catch(n=>{z.error(n.msg)})}function x(){Z().then(async n=>{let h=n.data;_.value=h.list}).catch(n=>{z.error(n.msg)})}function r(){a.value&&s.value.length!==0&&i.value.handleResize(),a.value&&l.value.handleResize()}return R(()=>{c(),x()}),(n,h)=>{const w=d("el-avatar"),$=d("el-card"),L=d("el-col"),P=d("el-row");return f(),I("div",{onResize:r},[t(P,{gutter:16},{default:e(()=>[t(L,{xl:16,lg:12,md:24,sm:24,xs:24,class:"ivu-mb dashboard-console-visit"},{default:e(()=>[t($,{bordered:!1,shadow:"never"},{default:e(()=>[o("div",ne,[t(w,{icon:"el-icon-user-solid",style:{color:"var(--prev-color-primary)","background-color":"#e6f7ff"}}),h[0]||(h[0]=o("h4",{class:"ivu-pl-8"},"用户",-1))]),a.value&&s.value.length!==0?(f(),m(C(D),{key:0,ref_key:"userChart",ref:i,echartsTitle:re,infoList:a.value,series:s.value},null,8,["infoList","series"])):V("",!0)]),_:1})]),_:1}),t(L,{xl:8,lg:12,md:24,sm:24,xs:24},{default:e(()=>[t($,{bordered:!1,shadow:"never",class:"dashboard-console-visit"},{default:e(()=>[o("div",le,[t(w,{icon:"el-icon-s-marketing",style:{color:"var(--prev-color-primary)","background-color":"#e6f7ff"}}),h[1]||(h[1]=o("h4",{class:"ivu-pl-8"},"购买用户统计",-1))]),t(C(D),{ref_key:"visitChart",ref:l,infoList:a.value,echartsTitle:ie},null,8,["infoList"])]),_:1})]),_:1})]),_:1})],32)}}}),ce=A(ue,[["__scopeId","data-v-df9ff1fd"]]),be=Object.assign({name:"index"},{__name:"index",setup(S){const i=O(),l=v(!1),a=v(null),s=E(()=>i.userInfo);R(()=>{_()});function _(){U().then(u=>{let p=u.data||{};a.value=p.force_reminder,p.auth_code&&p.auth&&p.auth_code,l.value=!0}).catch(u=>{})}return(u,p)=>{var c;return f(),I("div",null,[t(C(ee)),((c=s.value)==null?void 0:c.level)==0?(f(),m(C(oe),{key:0})):V("",!0),t(C(se)),t(C(ce))])}}});export{be as default}; diff --git a/backend/public/admin/system_static/index-BpapDzkP.css b/backend/public/admin/system_static/index-BpapDzkP.css new file mode 100644 index 000000000..3480993da --- /dev/null +++ b/backend/public/admin/system_static/index-BpapDzkP.css @@ -0,0 +1 @@ +.form-tip[data-v-fc63ea95]{color:#909399;font-size:12px;line-height:1.5;margin-top:5px}.platform-list[data-v-fc63ea95]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px}.text-gray[data-v-fc63ea95]{color:#909399}.form-actions[data-v-fc63ea95]{margin-top:24px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;gap:8px}.form-actions .el-button+.el-button[data-v-fc63ea95]{margin-left:0}.font-weight-bold[data-v-10834357]{font-weight:700}.mt16[data-v-10834357]{margin-top:16px}.mb20[data-v-10834357]{margin-bottom:20px} diff --git a/backend/public/admin/system_static/index-BqHzK2dW.js b/backend/public/admin/system_static/index-BqHzK2dW.js new file mode 100644 index 000000000..6cb7f04c7 --- /dev/null +++ b/backend/public/admin/system_static/index-BqHzK2dW.js @@ -0,0 +1 @@ +import{y as v,z as B,j as d,C as s,l as f,k as i,u as D,A as t,B as g,$ as n,H as E,a0 as I,s as w,Z as x}from"./element-plus-C_ZDq0cz.js";import{_ as $,s as S,a as L,S as M}from"./index-DHL7RTL2.js";import{routineInfo as N,routineDownload as T}from"./api-Bi3YkYmz.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const U={class:"flex-wrapper"},R=["src"],j={class:"right"},z={class:"content"},A={class:"content-box"},H={class:"right"},O={class:"content-box"},P={class:"right"},W={class:"content-box"},Z={class:"right"},q={class:"content-box last"},F={class:"right"},G=["href"],J=Object.assign({name:"routineTemplate"},{__name:"index",setup(K){const{isMobile:Q}=S(L()),k=f(`${M.h5BaseURL||location.origin}/pages/index/index?mdType=iframeWindow`),m=f(1),a=f({code:"",routine_name:"",help:"",appId:"1",config_tab_id:""});N().then(o=>{a.value=o.data});function h(){T({is_live:m.value}).then(o=>{window.open(o.data.url)}).catch(o=>{x.warning(o.msg)})}function y(o){if(!o)return x.warning("暂无小程序码");var e=new Image;e.src=o,e.setAttribute("crossOrigin","anonymous"),e.onload=function(){var l=document.createElement("canvas");l.width=e.width,l.height=e.height;var p=l.getContext("2d");p.drawImage(e,0,0,e.width,e.height);var _=l.toDataURL(),r=document.createElement("a"),u=new MouseEvent("click");r.download=name||"photo",r.href=_,r.dispatchEvent(u)}}return(o,e)=>{const l=i("pages-header"),p=i("router-link"),_=i("el-alert"),r=i("el-button"),u=i("el-radio"),C=i("el-radio-group"),V=i("el-card"),b=D("db-click");return v(),B("div",null,[d(l,{ref:"pageHeader",title:o.$route.meta.title},null,8,["title"]),d(V,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:s(()=>[t("div",U,[t("div",null,[t("iframe",{class:"iframe-box",src:k.value,frameborder:"0",ref:"iframe"},null,8,R),e[3]||(e[3]=t("div",{class:"mask"},null,-1))]),t("div",j,[t("div",z,[e[17]||(e[17]=t("div",{class:"content-box title"},[t("div",{class:"line"}),t("div",{class:"right title"},"小程序设置")],-1)),!a.value.appId&&!a.value.code?(v(),g(_,{key:0},{title:s(()=>[e[5]||(e[5]=n(" 您尚未配置小程序信息,请",-1)),d(p,{to:{path:o.$routeProStr+"/setting/system_config/"+a.value.config_tab_id}},{default:s(()=>[...e[4]||(e[4]=[n("立即设置",-1)])]),_:1},8,["to"])]),_:1})):E("",!0),t("div",A,[e[6]||(e[6]=t("div",{class:"left"},"小程序名称:",-1)),t("div",H,I(a.value.routine_name||"未命名"),1)]),t("div",O,[e[8]||(e[8]=t("div",{class:"left"},"小程序码:",-1)),t("div",P,[w((v(),g(r,{type:"primary",onClick:e[0]||(e[0]=c=>y(a.value.code))},{default:s(()=>[...e[7]||(e[7]=[n("下载小程序码",-1)])]),_:1})),[[b]])])]),t("div",W,[e[12]||(e[12]=t("div",{class:"left"},"小程序包:",-1)),t("div",Z,[e[11]||(e[11]=t("span",null,"是否已开通小程序直播",-1)),d(C,{class:"rad",size:"large",modelValue:m.value,"onUpdate:modelValue":e[1]||(e[1]=c=>m.value=c)},{default:s(()=>[d(u,{label:0,value:0},{default:s(()=>[...e[9]||(e[9]=[n("未开通",-1)])]),_:1}),d(u,{label:1,value:1},{default:s(()=>[...e[10]||(e[10]=[n("已开通",-1)])]),_:1})]),_:1},8,["modelValue"])])]),t("div",q,[e[16]||(e[16]=t("div",{class:"left"},null,-1)),t("div",F,[t("div",null,[e[13]||(e[13]=n(" 请谨慎选择是否有开通小程序直播功能,否则将影响小程序的发布 可前往 ",-1)),t("a",{href:a.value.help,target:"_blank"},"帮助文档",8,G),e[14]||(e[14]=n(" 查看如何开通直播功能 ",-1))]),w((v(),g(r,{class:"mt10",type:"primary",onClick:e[2]||(e[2]=c=>h())},{default:s(()=>[...e[15]||(e[15]=[n("下载小程序包",-1)])]),_:1})),[[b]])])])])])])]),_:1})])}}}),ne=$(J,[["__scopeId","data-v-b5fb431f"]]);export{ne as default}; diff --git a/backend/public/admin/system_static/index-BrWh5x-K.js b/backend/public/admin/system_static/index-BrWh5x-K.js new file mode 100644 index 000000000..a8dc3924a --- /dev/null +++ b/backend/public/admin/system_static/index-BrWh5x-K.js @@ -0,0 +1 @@ +import{a as Z,f as X,k as d,u as B,y as o,z as b,s as N,B as p,C as t,j as l,$ as y,F as A,D as I,a0 as C,H,A as j,l as _,p as Y,Z as F}from"./element-plus-C_ZDq0cz.js";import{w as L,_ as J,b as ee}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function te(f){return L({url:"driver/copy_driver/list",method:"get",params:f})}function le(f,h){return L({url:`driver/copy_driver/set_status/${f}`,method:"put",data:{status:h}})}function ae(f){return L({url:`driver/copy_driver/detail/${f}`,method:"get"})}function oe(f,h){return L({url:`driver/copy_driver/save_config/${f}`,method:"post",data:h})}const ne={key:3,class:"form-tip"},re={key:0,class:"platform-list"},se={key:1,class:"text-gray"},ue={class:"form-actions"},ie=Object.assign({name:"CopyDriverEdit"},{__name:"edit",props:{driverId:{type:[Number,String],default:null}},emits:["close","success"],setup(f,{emit:h}){const V=f,k=h,w=ee(),E=_(null),x=_(!1),c=_({driver_name:"",sort:0,status:0}),R=_({driver_name:[{required:!0,message:"请输入驱动名称",trigger:"blur"}],sort:[{type:"number",required:!0,message:"请输入排序",trigger:"blur"}]}),U=_([]),$=_([]),u=Y(()=>{const n={};return U.value.forEach(e=>{const r=e.group||"配置";n[r]||(n[r]={name:r,fields:[]}),n[r].fields.push(e)}),Object.values(n)});Z(()=>{v()}),X(()=>V.driverId,n=>{n&&(c.value={driver_name:"",sort:0,status:0},U.value=[],$.value=[],v())});function v(){const n=V.driverId||w&&w.params.id;n&&(x.value=!0,ae(n).then(e=>{const r=e.data;c.value={driver_name:r.driver_name||"",sort:r.sort||0,status:r.status||0},U.value=(r.config_fields||[]).map(s=>({...s,value:s.value!==void 0&&s.value!==null&&s.value!==""?s.value:s.default!==void 0?s.default:""})),$.value=r.platforms||[]}).catch(()=>{}).finally(()=>{x.value=!1}))}function O(){E.value.validate(n=>{if(!n)return;const e=V.driverId||w&&w.params.id,r={driver_name:c.value.driver_name,sort:c.value.sort,status:c.value.status};U.value.forEach(s=>{r[s.field]=s.value}),oe(e,r).then(s=>{F.success(s.msg||"保存成功"),k("success")}).catch(s=>{F.error(s.msg||"保存失败")})})}return(n,e)=>{const r=d("el-divider"),s=d("el-input"),D=d("el-form-item"),q=d("el-option"),z=d("el-select"),M=d("el-tag"),G=d("el-switch"),i=d("el-input-number"),S=d("el-button"),K=d("el-form"),P=B("db-click"),Q=B("loading");return o(),b("div",null,[N((o(),p(K,{ref_key:"formRef",ref:E,model:c.value,rules:R.value,"label-width":"100px"},{default:t(()=>[l(r,{"content-position":"left"},{default:t(()=>[...e[4]||(e[4]=[y("基本信息",-1)])]),_:1}),l(D,{label:"驱动名称",prop:"driver_name"},{default:t(()=>[l(s,{modelValue:c.value.driver_name,"onUpdate:modelValue":e[0]||(e[0]=m=>c.value.driver_name=m),placeholder:"请输入驱动名称"},null,8,["modelValue"])]),_:1}),u.value.length>0?(o(!0),b(A,{key:0},I(u.value,(m,T)=>(o(),b(A,{key:"group-"+T},[l(r,{"content-position":"left",style:{"margin-top":"20px"}},{default:t(()=>[y(C(m.name),1)]),_:2},1024),(o(!0),b(A,null,I(m.fields,(a,W)=>(o(),p(D,{key:"field-"+T+"-"+W,label:a.label},{default:t(()=>[a.type==="text"?(o(),p(s,{key:0,modelValue:a.value,"onUpdate:modelValue":g=>a.value=g,disabled:a.readonly,placeholder:a.placeholder||"请输入"+a.label},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"])):a.type==="password"?(o(),p(s,{key:1,modelValue:a.value,"onUpdate:modelValue":g=>a.value=g,type:"text",disabled:a.readonly,placeholder:a.placeholder||"请输入"+a.label},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"])):a.type==="select"?(o(),p(z,{key:2,modelValue:a.value,"onUpdate:modelValue":g=>a.value=g,disabled:a.readonly,placeholder:"请选择"+a.label},{default:t(()=>[(o(!0),b(A,null,I(a.options,g=>(o(),p(q,{key:g.value,label:g.label,value:g.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled","placeholder"])):H("",!0),a.description?(o(),b("div",ne,C(a.description),1)):H("",!0)]),_:2},1032,["label"]))),128))],64))),128)):H("",!0),l(r,{"content-position":"left"},{default:t(()=>[...e[5]||(e[5]=[y("支持平台",-1)])]),_:1}),l(D,{label:"平台列表"},{default:t(()=>[$.value.length>0?(o(),b("div",re,[(o(!0),b(A,null,I($.value,m=>(o(),p(M,{key:m.key,type:"info"},{default:t(()=>[y(C(m.name),1)]),_:2},1024))),128))])):(o(),b("span",se,"-"))]),_:1}),l(r,{"content-position":"left"},{default:t(()=>[...e[6]||(e[6]=[y("其它设置",-1)])]),_:1}),l(D,{label:"状态",prop:"status"},{default:t(()=>[l(G,{"active-value":1,"inactive-value":0,modelValue:c.value.status,"onUpdate:modelValue":e[1]||(e[1]=m=>c.value.status=m),"active-text":"开启","inactive-text":"关闭",class:"defineSwitch"},null,8,["modelValue"])]),_:1}),l(D,{label:"排序",prop:"sort"},{default:t(()=>[l(i,{modelValue:c.value.sort,"onUpdate:modelValue":e[2]||(e[2]=m=>c.value.sort=m),min:0,max:9999},null,8,["modelValue"])]),_:1}),j("div",ue,[N((o(),p(S,{type:"primary",onClick:O},{default:t(()=>[...e[7]||(e[7]=[y(" 保存 ",-1)])]),_:1})),[[P]]),N((o(),p(S,{onClick:e[3]||(e[3]=m=>n.$emit("close"))},{default:t(()=>[...e[8]||(e[8]=[y(" 取消 ",-1)])]),_:1})),[[P]])])]),_:1},8,["model","rules"])),[[Q,x.value]])])}}}),de=J(ie,[["__scopeId","data-v-fc63ea95"]]),ce={class:"font-weight-bold"},ve=Object.assign({name:"copyDriver"},{__name:"index",setup(f){const h=_([]),V=_(!1),k=_(!1),w=_(null),E=_(null);Z(()=>{x()});function x(){V.value=!0,te().then(u=>{h.value=u.data.list||[],V.value=!1}).catch(()=>{V.value=!1})}function c(u){return!u||!Array.isArray(u)?"-":u.map(v=>v.name).join("、")}function R(u){le(u.id,u.status).then(v=>{F.success(v.msg),x()}).catch(()=>{u.status=u.status===1?0:1})}function U(u){w.value=u,E.value=u.id,k.value=!0}function $(){k.value=!1,x(),F.success("保存成功")}return(u,v)=>{const O=d("pages-header"),n=d("el-table-column"),e=d("el-tag"),r=d("el-switch"),s=d("el-button"),D=d("el-table"),q=d("el-card"),z=d("el-drawer"),M=B("db-click"),G=B("loading");return o(),b("div",null,[l(O,{class:"mb16",title:u.$route.meta.title},null,8,["title"]),l(q,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:t(()=>[N((o(),p(D,{data:h.value,ref:"table","highlight-current-row":"","row-key":"id"},{default:t(()=>[l(n,{label:"排序",width:"80",prop:"sort"},{default:t(i=>[j("span",null,C(i.row.sort),1)]),_:1}),l(n,{label:"驱动名称","min-width":"150"},{default:t(i=>[j("span",ce,C(i.row.driver_name),1)]),_:1}),l(n,{label:"驱动标识","min-width":"100"},{default:t(i=>[l(e,null,{default:t(()=>[y(C(i.row.driver_key),1)]),_:2},1024)]),_:1}),l(n,{label:"支持平台","min-width":"200"},{default:t(i=>[j("span",null,C(c(i.row.platforms)),1)]),_:1}),l(n,{label:"状态",width:"80"},{default:t(i=>[l(r,{"active-value":1,"inactive-value":0,modelValue:i.row.status,"onUpdate:modelValue":S=>i.row.status=S,onChange:S=>R(i.row),"active-text":"开启","inactive-text":"关闭",class:"defineSwitch"},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),l(n,{label:"操作",fixed:"right",width:"150",align:"center"},{default:t(i=>[N((o(),p(s,{type:"text",onClick:S=>U(i.row)},{default:t(()=>[...v[2]||(v[2]=[y(" 设置 ",-1)])]),_:1},8,["onClick"])),[[M]])]),_:1})]),_:1},8,["data"])),[[G,V.value]])]),_:1}),l(z,{title:"编辑 - "+(w.value?w.value.driver_name:""),modelValue:k.value,"onUpdate:modelValue":v[1]||(v[1]=i=>k.value=i),direction:"rtl",size:"600px"},{default:t(()=>[l(de,{"driver-id":E.value,onClose:v[0]||(v[0]=i=>k.value=!1),onSuccess:$},null,8,["driver-id"])]),_:1},8,["title","modelValue"])])}}}),ge=J(ve,[["__scopeId","data-v-10834357"]]);export{ge as default}; diff --git a/backend/public/admin/system_static/index-BrazCYHr.js b/backend/public/admin/system_static/index-BrazCYHr.js new file mode 100644 index 000000000..6a7f6b436 --- /dev/null +++ b/backend/public/admin/system_static/index-BrazCYHr.js @@ -0,0 +1 @@ +import{a as x,k as s,u as k,y as p,z as y,j as t,C as l,s as S,B as U,$ as B,l as m,r as C,Z as f}from"./element-plus-C_ZDq0cz.js";import{setFilePassword as I}from"./user-Blgc2iHx.js";import{_ as M,a as j,u as q}from"./index-DHL7RTL2.js";import{u as D}from"./userLevel-t0L_1r_R.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./screenfull-BDHcr3-M.js";const E=Object.assign({name:"setting_files"},{__name:"index",setup(N){j(),D();const _=q(),d=m(null),n=m(""),o=C({file_pwd:"",conf_file_pwd:""}),c={file_pwd:[{required:!0,message:"请输入您的文件管理新密码",trigger:"blur"}],conf_file_pwd:[{required:!0,message:"请确认您的文件管理新密码",trigger:"blur"}]};x(()=>{n.value=_.userInfo.account});function v(){d.value.validate(u=>{u&&I(o).then(e=>{f.success(e.msg)}).catch(e=>{f.error(e.msg)})})}return(u,e)=>{const i=s("el-input"),r=s("el-form-item"),w=s("el-button"),b=s("el-form"),V=s("el-card"),g=k("db-click");return p(),y("div",null,[t(V,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:l(()=>[t(b,{ref_key:"formValidateRef",ref:d,model:o,rules:c,"label-width":"160px","label-position":"right"},{default:l(()=>[t(r,{label:"账号:",prop:""},{default:l(()=>[t(i,{type:"text",modelValue:n.value,"onUpdate:modelValue":e[0]||(e[0]=a=>n.value=a),disabled:!0,class:"input"},null,8,["modelValue"])]),_:1}),t(r,{label:"文件管理新密码:",prop:"file_pwd"},{default:l(()=>[t(i,{type:"password",modelValue:o.file_pwd,"onUpdate:modelValue":e[1]||(e[1]=a=>o.file_pwd=a),class:"input"},null,8,["modelValue"])]),_:1}),t(r,{label:"文件管理确认新密码:",prop:"conf_file_pwd"},{default:l(()=>[t(i,{type:"password",modelValue:o.conf_file_pwd,"onUpdate:modelValue":e[2]||(e[2]=a=>o.conf_file_pwd=a),class:"input"},null,8,["modelValue"])]),_:1}),t(r,null,{default:l(()=>[S((p(),U(w,{type:"primary",onClick:e[3]||(e[3]=a=>v())},{default:l(()=>[...e[4]||(e[4]=[B("提交",-1)])]),_:1})),[[g]])]),_:1})]),_:1},8,["model"])]),_:1})])}}}),Z=M(E,[["__scopeId","data-v-46605ade"]]);export{Z as default}; diff --git a/backend/public/admin/system_static/index-BroL-9rZ.js b/backend/public/admin/system_static/index-BroL-9rZ.js new file mode 100644 index 000000000..b5e345333 --- /dev/null +++ b/backend/public/admin/system_static/index-BroL-9rZ.js @@ -0,0 +1 @@ +import{k as S,u as V,y as a,z as i,A as m,F as p,D as h,a0 as k,H as o,s as u,a1 as z,$ as _,B as y,C as x,Z as A,l as v}from"./element-plus-C_ZDq0cz.js";import{_ as E,C as F}from"./index-DHL7RTL2.js";const J={class:"label-wrapper"},U={class:"list-box"},$={key:0,class:"title"},j={key:1,class:"list"},H=["onClick"],I={key:1},M={class:"footer"},T=Object.assign({name:"userLabel"},{__name:"index",emits:["activeData","close"],setup(Z,{emit:C}){const f=C,b=v([]),n=v([]),r=v(!1);function g(e,s){for(let t in s)if(s[t].id==e)return!0;return!1}function L(){F().then(e=>{e.data.map(s=>{s.children&&(r.value=!0,s.children.map(t=>{g(t.id,n.value)?t.disabled=!0:t.disabled=!1}))}),b.value=e.data}).catch(e=>{A.error(e.msg)})}function B(e){if(e.disabled){let s=n.value.indexOf(n.value.filter(t=>t.id==e.id)[0]);n.value.splice(s,1),e.disabled=!1}else n.value.push({label_name:e.label_name,id:e.id}),e.disabled=!0}function D(){f("activeData",JSON.parse(JSON.stringify(n.value)))}function N(){f("close")}return L(),(e,s)=>{const t=S("el-button"),c=V("db-click");return a(),i("div",J,[m("div",U,[r.value?(a(!0),i(p,{key:0},h(b.value,(l,O)=>(a(),i("div",{class:"label-box",key:O},[l.children?(a(),i("div",$,k(l.label_name),1)):o("",!0),l.children&&l.children.length?(a(),i("div",j,[(a(!0),i(p,null,h(l.children,(d,w)=>u((a(),i("div",{class:z(["label-item",{on:d.disabled}]),key:w,onClick:q=>B(d)},[_(k(d.label_name),1)],10,H)),[[c]])),128))])):o("",!0)]))),128)):o("",!0),r.value?o("",!0):(a(),i("div",I,"暂无标签"))]),m("div",M,[u((a(),y(t,{class:"btns",ghost:"",onClick:N},{default:x(()=>[...s[0]||(s[0]=[_("取消",-1)])]),_:1})),[[c]]),u((a(),y(t,{type:"primary",class:"btns",onClick:D},{default:x(()=>[...s[1]||(s[1]=[_("确定",-1)])]),_:1})),[[c]])])])}}}),P=E(T,[["__scopeId","data-v-3d14f4b0"]]);export{P as u}; diff --git a/backend/public/admin/system_static/index-Bsy0SbuZ.js b/backend/public/admin/system_static/index-Bsy0SbuZ.js new file mode 100644 index 000000000..75e8c07a6 --- /dev/null +++ b/backend/public/admin/system_static/index-Bsy0SbuZ.js @@ -0,0 +1 @@ +import{Z as U,k as d,u as w,y as u,z as B,j as a,C as t,A as o,ac as H,s as m,B as g,$ as O,a0 as c,W as I,H as Z,l as r,p as N}from"./element-plus-C_ZDq0cz.js";import{_ as $,s as F,a as G}from"./index-DHL7RTL2.js";import{o as J,a as K}from"./api-Cf_YNigo.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const X={class:"padding-add"},ee={class:"acea-row row-right page"},le={class:"acea-row row-around code"},ae={class:"acea-row row-column-around row-between-wrapper"},te={class:"QRpic"},oe={class:"acea-row row-column-around row-between-wrapper"},ne={class:"QRpic"},ie=Object.assign({name:"memberOfflineOrder"},{__name:"index",setup(de){const{isMobile:k}=F(G()),j=N(()=>k.value?void 0:"80px"),z=N(()=>k.value?"top":"right"),x=r([]),v=r(!1),h=r(0),V=r(!1),p=r(null),y=r(!1),n=r({page:1,limit:15,order_id:"",add_time:""}),s=r([]);f();function R(i){n.value.page=1,s.value=i||[],n.value.add_time=s.value[0]&&s.value?s.value.join("-"):"",f()}function f(){v.value=!0,J(n.value).then(i=>{v.value=!1,h.value=i.data.count,x.value=i.data.list}).catch(i=>{v.value=!1,U.error(i.msg)})}function T(){n.value.page=1,f()}function q(){V.value=!0,y.value=!0,K({type:0}).then(i=>{y.value=!1,p.value=i.data}).catch(i=>{y.value=!1,U.error(i.msg)})}return(i,e)=>{const E=d("date-range-picker"),b=d("el-form-item"),M=d("el-input"),Y=d("el-button"),L=d("el-form"),C=d("el-card"),_=d("el-table-column"),P=d("el-table"),Q=d("el-dialog"),D=w("db-click"),W=w("loading"),S=w("lazy"),A=w("viewer");return u(),B("div",null,[a(C,{bordered:!1,shadow:"never","body-style":{padding:0}},{default:t(()=>[o("div",X,[a(L,{model:n.value,"label-width":j.value,"label-position":z.value,onSubmit:e[3]||(e[3]=H(()=>{},["prevent"])),inline:""},{default:t(()=>[a(b,{label:"创建时间:"},{default:t(()=>[a(E,{clearable:"",modelValue:s.value,"onUpdate:modelValue":e[0]||(e[0]=l=>s.value=l),editable:!1,onChange:R,format:"YYYY/MM/DD","value-format":"YYYY/MM/DD",class:"mr20"},null,8,["modelValue"])]),_:1}),a(b,{label:"订单号:","label-for":"title"},{default:t(()=>[a(M,{clearable:"",modelValue:n.value.order_id,"onUpdate:modelValue":e[1]||(e[1]=l=>n.value.order_id=l),placeholder:"请输入订单号",class:"form_content_width"},null,8,["modelValue"])]),_:1}),a(b,{label:"用户名:","label-for":"title"},{default:t(()=>[a(M,{clearable:"",modelValue:n.value.name,"onUpdate:modelValue":e[2]||(e[2]=l=>n.value.name=l),placeholder:"请输入用户名",class:"form_content_width"},null,8,["modelValue"])]),_:1}),a(b,null,{default:t(()=>[m((u(),g(Y,{type:"primary",onClick:T},{default:t(()=>[...e[7]||(e[7]=[O("查询",-1)])]),_:1})),[[D]])]),_:1})]),_:1},8,["model","label-width","label-position"])])]),_:1}),a(C,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:t(()=>[m((u(),g(Y,{type:"primary",onClick:q},{default:t(()=>[...e[8]||(e[8]=[O("查看收款二维码",-1)])]),_:1})),[[D]]),m((u(),g(P,{data:x.value,ref:"table",class:"mt14","highlight-current-row":""},{default:t(()=>[a(_,{label:"订单号","min-width":"180"},{default:t(l=>[o("span",null,c(l.row.order_id),1)]),_:1}),a(_,{label:"用户信息","min-width":"180"},{default:t(l=>[o("span",null,c(l.row.nickname)+" | "+c(l.row.uid),1)]),_:1}),a(_,{label:"实际支付","min-width":"180"},{default:t(l=>[o("span",null,c(l.row.pay_price),1)]),_:1}),a(_,{label:"优惠价格","min-width":"180"},{default:t(l=>[o("span",null,c(l.row.true_price),1)]),_:1}),a(_,{label:"支付时间","min-width":"180"},{default:t(l=>[o("span",null,c(l.row.pay_time),1)]),_:1})]),_:1},8,["data"])),[[W,v.value]]),o("div",ee,[h.value?(u(),g(I(n),{key:0,total:h.value,page:n.value.page,"onUpdate:page":e[4]||(e[4]=l=>n.value.page=l),limit:n.value.limit,"onUpdate:limit":e[5]||(e[5]=l=>n.value.limit=l),onPagination:f},null,8,["total","page","limit"])):Z("",!0)])]),_:1}),a(Q,{modelValue:V.value,"onUpdate:modelValue":e[6]||(e[6]=l=>V.value=l),title:"收款码",width:"540px"},{default:t(()=>[m((u(),B("div",le,[o("div",ae,[o("div",te,[m(o("img",null,null,512),[[S,p.value&&p.value.wechat]])]),e[9]||(e[9]=o("span",{class:"mt10"},"公众号收款码",-1))]),o("div",oe,[o("div",ne,[m(o("img",null,null,512),[[S,p.value&&p.value.routine]])]),e[10]||(e[10]=o("span",{class:"mt10"},"小程序收款码",-1))])])),[[A]])]),_:1},8,["modelValue"])])}}}),_e=$(ie,[["__scopeId","data-v-d3a4b0d6"]]);export{_e as default}; diff --git a/backend/public/admin/system_static/index-BuP6BLjn.css b/backend/public/admin/system_static/index-BuP6BLjn.css new file mode 100644 index 000000000..6fa68471d --- /dev/null +++ b/backend/public/admin/system_static/index-BuP6BLjn.css @@ -0,0 +1 @@ +@charset "UTF-8";.schema-search-bar .schema-search-item[data-v-00aff1c6]{width:200px}[data-v-c5a50696] .el-button.is-link{background:transparent!important;border:none!important;height:auto;padding:0 2px!important}[data-v-c5a50696] .el-button.is-link.el-button--primary{color:var(--el-color-primary)!important}[data-v-c5a50696] .el-button.is-link.el-button--danger{color:var(--el-color-danger)!important}[data-v-c5a50696] .el-button.is-link.el-button--success{color:var(--el-color-success)!important}[data-v-c5a50696] .el-button.is-link.el-button--warning{color:var(--el-color-warning)!important}.el-popper.schema-table-tooltip{max-width:min(480px,100vw - 40px);line-height:20px}.schema-drawer__content[data-v-540290f1]{padding-bottom:16px}.schema-drawer__footer[data-v-540290f1]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.schema-editor[data-v-02754ae2]{width:100%;border:1px solid var(--el-border-color);border-radius:4px;z-index:10}.schema-editor__toolbar[data-v-02754ae2]{border-bottom:1px solid var(--el-border-color)}.schema-editor__content[data-v-02754ae2]{min-height:360px}.schema-coupon__tags[data-v-0e37a285]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:8px}.schema-coupon__tag[data-v-0e37a285]{height:26px;padding:0 10px;font-size:13px}.schema-coupon__empty[data-v-0e37a285]{color:var(--el-text-color-placeholder);font-size:13px}.schema-coupon__frame[data-v-0e37a285]{width:100%;height:540px;border:0 none}.schema-checkbox-group[data-v-6f405a98]{width:100%}.schema-checkbox-group__all[data-v-6f405a98]{margin-bottom:8px}.schema-checkbox-group__grid[data-v-6f405a98]{width:100%}.schema-checkbox-group__grid[data-v-6f405a98] .el-checkbox{margin-right:0;height:26px}.schema-checkbox-group__tip[data-v-6f405a98]{display:inline-block;max-width:400px;white-space:pre-line}.schema-detail-json-wrap[data-v-bc4476dc]{position:relative}.schema-detail-json-wrap__copy[data-v-bc4476dc]{position:absolute;top:2px;right:4px;z-index:1}.schema-detail-json[data-v-bc4476dc]{margin:0;padding:8px 12px;max-height:320px;overflow:auto;background:#f5f7fa;border-radius:4px;font-size:12px;line-height:1.6;white-space:pre-wrap;word-break:break-all}.schema-cards[data-v-ad99675c]{margin-bottom:12px}.schema-cards[data-v-ad99675c] .el-card__body{padding:16px 20px}.schema-cards__row[data-v-ad99675c]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:12px 48px}.schema-cards__item[data-v-ad99675c]{min-width:120px}.schema-cards__label[data-v-ad99675c]{font-size:13px;color:var(--el-text-color-secondary);margin-bottom:6px}.schema-cards__value[data-v-ad99675c]{font-size:22px;font-weight:600;color:var(--el-text-color-primary);line-height:1.2}.schema-list__search[data-v-607422a2]{margin-bottom:12px}.schema-list__search[data-v-607422a2] .el-card__body{padding-bottom:2px}.schema-list__actions[data-v-607422a2]{margin-top:-6px;margin-bottom:14px}.schema-list__tabs[data-v-607422a2]{margin-bottom:8px}.schema-list__tabs+.schema-list__actions[data-v-607422a2]{margin-top:0}.schema-list__page[data-v-607422a2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin-top:12px}.schema-form-page__loading[data-v-c8640960]{min-height:300px}.schema-form-page__title[data-v-c8640960]{font-size:16px;font-weight:600;color:var(--el-text-color-primary)}.schema-form-page__body[data-v-c8640960]{max-width:720px}.schema-form-page__footer[data-v-c8640960]{padding-left:105px;padding-top:12px;border-top:1px solid var(--el-border-color-lighter);margin-top:8px}.schema-detail-page__tip[data-v-937e1937]{margin-bottom:12px}.schema-detail-page__loading[data-v-937e1937]{min-height:300px}.schema-detail-page__actions[data-v-937e1937]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;gap:8px;margin-bottom:12px}.schema-page__loading[data-v-07626ba0]{min-height:300px} diff --git a/backend/public/admin/system_static/index-BxlYWKs6.js b/backend/public/admin/system_static/index-BxlYWKs6.js new file mode 100644 index 000000000..a6a6b5a62 --- /dev/null +++ b/backend/public/admin/system_static/index-BxlYWKs6.js @@ -0,0 +1 @@ +import{Z as w,y as i,z as _,j as n,C as l,s as r,B as f,$,A as c,a0 as b,H as h,l as d,k as g,u as L,r as X}from"./element-plus-C_ZDq0cz.js";import{_ as mt,a as vt,R as _t,T as gt,o as tt,U as ft,m as pt,V as wt,J as P,W as ht,S as et,X as kt,Y as bt}from"./index-DHL7RTL2.js";import{u as xt}from"./userLevel-t0L_1r_R.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./screenfull-BDHcr3-M.js";const yt={class:"tabBox_img"},Ct={key:0},Vt=["onClick"],$t=["onClick"],St=["onClick"],Ut={class:"acea-row row-right page"},Bt={key:0,class:"modelBox"},Ft={class:"tabBox_img"},Lt=["onClick"],Dt={class:"acea-row row-right page"},Et={key:1},It={class:"tabBox_img"},Mt={class:"acea-row row-right page"},Nt=Object.assign({name:"index"},{__name:"index",setup(Tt){const at=vt();xt();const D=d(!0),S=X({page:1,limit:15}),z=d(0),E=d(!1),Y=d(!1),Z=d([]),p=X({page:1,limit:15,uid:0,to_uid:0,id:0}),R=d(0),I=d(!1),q=d([]),j=d(0),U=X({page:1,limit:15}),M=d(!1),A=d([]),H=d({}),G=d({}),N=d(!1);B();function lt(a){wt(a.id).then(t=>{var o="";if(t.data.token){let m=ot(t.data.exp_time);P("kefu_token",t.data.token,m),P("kefu_uuid",t.data.kefuInfo.uid,m),P("kefu_expires_time",t.data.exp_time,m),P("kefuInfo",t.data.kefuInfo,m),at.isMobile?o=`${window.location.origin}${et.routePre}/kefu/mobile_list`:o=`${window.location.origin}${et.routePre}/kefu/pc_list`,window.open(o,"_blank")}}).catch(t=>{w.error(t.msg)})}function ot(a){let t=Math.round(new Date/1e3),o=a-t;return parseFloat(parseFloat(parseFloat(o/60)/60)/24)}function it(a){D.value=!1,G.value=a,K()}function K(){I.value=!0,p.uid=H.value.uid,p.to_uid=G.value.uid,p.id=H.value.id,ht(p).then(async a=>{let t=a.data;q.value=t.list,R.value=t.count,I.value=!1}).catch(a=>{I.value=!1,w.error(a.msg)})}function nt(){E.value=!0,bt(S,H.value.id).then(async a=>{let t=a.data;Z.value=t.list?t.list:[],z.value=t.count,E.value=!1}).catch(a=>{E.value=!1,w.error(a.msg)})}function st(a){N.value||(N.value=!0,tt(ft(a.id),{onMounted:Q}).then(()=>{B(),N.value=!1}).catch(()=>{N.value=!1}))}function Q(a){var T,F,x,y;const t=v=>{const u=Array.isArray(v)?v[0]:v;return!u||typeof u!="object"?"":u.image||u.avatar||u.headimgurl||""};let o=t((T=a.getValue)==null?void 0:T.call(a,"image")),m=!!((F=a.getValue)!=null&&F.call(a,"avatar")&&o&&a.getValue("avatar")!==o);const k=v=>{if(m)return;const u=t(v);u&&(o=u,a.setValue("avatar",u))},s=v=>{const u=Array.isArray(v)?v[0]:v;m=!!(u&&u!==o),u||(o="")};(x=a.bus)==null||x.$on("change-image",k),(y=a.bus)==null||y.$on("change-avatar",s)}function ut(){tt(kt(),{onMounted:Q}).then(()=>B())}function rt(a,t,o){let m={title:t,url:`app/wechat/kefu/${a.id}`,method:"DELETE",ids:""};pt(m).then(k=>{w.success(k.msg),A.value.splice(o,1)}).catch(k=>{w.error(k.msg)})}function B(){M.value=!0,_t(U).then(async a=>{let t=a.data;A.value=t.list,j.value=a.data.count,M.value=!1}).catch(a=>{M.value=!1,w.error(a.msg)})}function dt(a){let t={id:a.id,status:a.status};gt(t).then(async o=>{w.success(o.msg),B()}).catch(o=>{w.error(o.msg)})}return(a,t)=>{const o=g("el-button"),m=g("el-col"),k=g("el-row"),s=g("el-table-column"),T=g("el-switch"),F=g("el-divider"),x=g("el-table"),y=g("pagination"),v=g("el-card"),u=g("el-dialog"),ct=L("auth"),C=L("db-click"),J=L("lazy"),O=L("viewer"),W=L("loading");return i(),_("div",null,[n(v,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:l(()=>[n(k,{class:"action-row mb14"},{default:l(()=>[n(m,{span:24},{default:l(()=>[r((i(),f(o,{type:"primary",onClick:ut,class:"mr10"},{default:l(()=>[...t[8]||(t[8]=[$("添加客服",-1)])]),_:1})),[[ct,["setting-store_service-add"]],[C]])]),_:1})]),_:1}),r((i(),f(x,{data:A.value,"highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:l(()=>[n(s,{label:"ID",width:"80"},{default:l(e=>[c("span",null,b(e.row.id),1)]),_:1}),n(s,{label:"客服头像","min-width":"90"},{default:l(e=>[r((i(),_("div",yt,[e.row.avatar?r((i(),_("img",Ct,null,512)),[[J,e.row.avatar]]):h("",!0)])),[[O]])]),_:1}),n(s,{label:"客服名称","min-width":"130"},{default:l(e=>[c("span",null,b(e.row.wx_name),1)]),_:1}),n(s,{label:"客服状态","min-width":"130"},{default:l(e=>[n(T,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:e.row.status,"onUpdate:modelValue":V=>e.row.status=V,value:e.row.status,onChange:V=>dt(e.row),size:"large","active-text":"开启","inactive-text":"关闭"},null,8,["modelValue","onUpdate:modelValue","value","onChange"])]),_:1}),n(s,{label:"添加时间","min-width":"130"},{default:l(e=>[c("span",null,b(e.row.add_time),1)]),_:1}),n(s,{label:"操作",fixed:"right",width:"170"},{default:l(e=>[r((i(),_("a",{onClick:V=>st(e.row)},[...t[9]||(t[9]=[$("编辑",-1)])],8,Vt)),[[C]]),n(F,{direction:"vertical"}),r((i(),_("a",{onClick:V=>rt(e.row,"删除客服",e.$index)},[...t[10]||(t[10]=[$("删除",-1)])],8,$t)),[[C]]),e.row.status?(i(),f(F,{key:0,direction:"vertical"})):h("",!0),e.row.status?r((i(),_("a",{key:1,onClick:V=>lt(e.row)},[...t[11]||(t[11]=[$("进入工作台",-1)])],8,St)),[[C]]):h("",!0)]),_:1})]),_:1},8,["data"])),[[W,M.value]]),c("div",Ut,[j.value?(i(),f(y,{key:0,total:j.value,page:U.page,"onUpdate:page":t[0]||(t[0]=e=>U.page=e),limit:U.limit,"onUpdate:limit":t[1]||(t[1]=e=>U.limit=e),onPagination:B},null,8,["total","page","limit"])):h("",!0)])]),_:1}),n(u,{modelValue:Y.value,"onUpdate:modelValue":t[7]||(t[7]=e=>Y.value=e),title:"聊天记录",width:"720px"},{default:l(()=>[D.value?(i(),_("div",Bt,[r((i(),f(x,{"highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果",data:Z.value},{default:l(()=>[n(s,{label:"用户名称",width:"200"},{default:l(e=>[c("span",null,b(e.row.nickname),1)]),_:1}),n(s,{label:"用户头像","min-width":"90"},{default:l(e=>[r((i(),_("div",Ft,[r(c("img",null,null,512),[[J,e.row.headimgurl]])])),[[O]])]),_:1}),n(s,{label:"操作",fixed:"right",width:"170"},{default:l(e=>[r((i(),_("a",{onClick:V=>it(e.row)},[...t[12]||(t[12]=[$("查看对话",-1)])],8,Lt)),[[C]])]),_:1})]),_:1},8,["data"])),[[W,E.value]]),c("div",Dt,[z.value?(i(),f(y,{key:0,total:z.value,page:S.page,"onUpdate:page":t[2]||(t[2]=e=>S.page=e),limit:S.limit,"onUpdate:limit":t[3]||(t[3]=e=>S.limit=e),onPagination:nt},null,8,["total","page","limit"])):h("",!0)])])):h("",!0),D.value?h("",!0):(i(),_("div",Et,[r((i(),f(o,{type:"primary",onClick:t[4]||(t[4]=e=>D.value=!0)},{default:l(()=>[...t[13]||(t[13]=[$("返回聊天记录",-1)])]),_:1})),[[C]]),r((i(),f(x,{"highlight-current-row":"","no-userFrom-text":"暂无数据",class:"mt14","no-filtered-userFrom-text":"暂无筛选结果",data:q.value},{default:l(()=>[n(s,{label:"用户名称","min-width":"200"},{default:l(e=>[c("span",null,b(e.row.nickname),1)]),_:1}),n(s,{label:"用户头像","min-width":"90"},{default:l(e=>[r((i(),_("div",It,[r(c("img",null,null,512),[[J,e.row.avatar]])])),[[O]])]),_:1}),n(s,{label:"发送消息","min-width":"200"},{default:l(e=>[c("span",null,b(e.row.msn),1)]),_:1}),n(s,{label:"发送时间","min-width":"200"},{default:l(e=>[c("span",null,b(e.row.add_time),1)]),_:1})]),_:1},8,["data"])),[[W,I.value]]),c("div",Mt,[R.value?(i(),f(y,{key:0,total:R.value,page:p.page,"onUpdate:page":t[5]||(t[5]=e=>p.page=e),limit:p.limit,"onUpdate:limit":t[6]||(t[6]=e=>p.limit=e),onPagination:K},null,8,["total","page","limit"])):h("",!0)])]))]),_:1},8,["modelValue"])])}}}),Ot=mt(Nt,[["__scopeId","data-v-cd5da9a8"]]);export{Ot as default}; diff --git a/backend/public/admin/system_static/index-ByWbh4H5.css b/backend/public/admin/system_static/index-ByWbh4H5.css new file mode 100644 index 000000000..d25da087b --- /dev/null +++ b/backend/public/admin/system_static/index-ByWbh4H5.css @@ -0,0 +1 @@ +.form-tip[data-v-13ff7a9c]{color:#909399;font-size:12px;line-height:1.5;margin-top:5px}.form-actions[data-v-13ff7a9c]{margin-top:24px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;gap:8px}.form-actions .el-button+.el-button[data-v-13ff7a9c]{margin-left:0}.font-weight-bold[data-v-1183572d]{font-weight:700}.mt16[data-v-1183572d]{margin-top:16px}.mb20[data-v-1183572d]{margin-bottom:20px} diff --git a/backend/public/admin/system_static/index-BzpkD0Or.js b/backend/public/admin/system_static/index-BzpkD0Or.js new file mode 100644 index 000000000..8de844ad9 --- /dev/null +++ b/backend/public/admin/system_static/index-BzpkD0Or.js @@ -0,0 +1 @@ +import{k as n,u as $,y as i,z as f,j as a,C as o,v as S,s as g,A as d,$ as v,H as C,a0 as y,B as E,l as _,Z as b}from"./element-plus-C_ZDq0cz.js";import{_ as ae,n as ne,o as L,m as F}from"./index-DHL7RTL2.js";import{userLabelAll as se,userLabelApi as ie,userLabelCreate as de,userLabelAddApi as V,userLabelEdit as re}from"./user-Blgc2iHx.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const ce={class:"tree"},ue={class:"custom-tree-node"},_e={class:"file-name"},me={key:0,class:"icon",src:ne},pe={class:"text line1"},fe={key:0},ve=["onClick"],ge=["onClick"],be={class:"acea-row row-right page"},he=Object.assign({name:"user_label"},{__name:"index",setup(we){const j=_(""),M={xl:4,lg:4,md:6,sm:8,xs:0},T={xl:20,lg:20,md:18,sm:16,xs:24},h=_(!1),r=_({page:1,limit:15,label_cate:""}),D=_([]),A=_(0),m=_([]),U=_(""),P=_(0);w();function z(){L(V(0,r.value.label_cate)).then(()=>p())}function p(){h.value=!0,ie(r.value).then(async t=>{let e=t.data;D.value=e.list,A.value=e.count,h.value=!1}).catch(t=>{h.value=!1,b.error(t.msg)})}function H(t){L(V(t)).then(()=>p())}function O(t,e,c){let u={title:e,url:`user/user_label/del/${t.id}`,method:"DELETE",ids:""};F(u).then(s=>{b.success(s.msg),D.value.splice(c,1),p()}).catch(s=>{b.error(s.msg)})}function w(t){se().then(e=>{let c={name:"全部",id:""};e.data.unshift(c),e.data.forEach(u=>{u.status=!1}),t||(U.value=e.data[0].id,r.value.label_cate=e.data[0].id,p()),m.value=e.data})}function Z(t){L(re(t.id)).then(()=>w(1))}function q(){L(de()).then(()=>w())}function G(t,e){let c=m.value.findIndex(s=>s.id==t.id),u={title:e,url:`user/user_label_cate/${t.id}`,method:"DELETE",ids:""};F(u).then(s=>{b.success(s.msg),m.value.splice(c,1),m.value=[],w()}).catch(s=>{b.error(s.msg)})}function J(t,e){e==1?Z(t):e==2&&G(t,"删除分类")}function K(t,e){r.value.page=1,P.value=e,m.value.forEach(c=>{c.status=!1}),r.value.label_cate=t.id,p()}return(t,e)=>{const c=n("el-tooltip"),u=n("el-dropdown-item"),s=n("el-dropdown-menu"),Q=n("el-dropdown"),R=n("el-tree"),B=n("el-col"),W=n("el-button"),I=n("el-row"),k=n("el-table-column"),X=n("el-divider"),Y=n("el-table"),ee=n("pagination"),te=n("el-card"),x=$("db-click"),le=$("auth"),oe=$("loading");return i(),f("div",null,[a(I,{class:"ivu-mt box-wrapper"},{default:o(()=>[a(B,S(M,{class:"left-wrapper"}),{default:o(()=>[g((i(),f("div",{class:"tree_tit",onClick:q},[...e[2]||(e[2]=[d("i",{class:"el-icon-circle-plus"},null,-1),v(" 添加分类 ",-1)])])),[[x]]),d("div",ce,[a(R,{data:m.value,"node-key":"id","default-expand-all":"","highlight-current":"","expand-on-click-node":!1,onNodeClick:K,"current-node-key":j.value},{default:o(({data:l})=>[d("span",ue,[d("div",_e,[l.pid?C("",!0):(i(),f("img",me)),a(c,{class:"item",effect:"dark",content:l.name,placement:"top"},{default:o(()=>[d("div",pe,y(l.name),1)]),_:2},1032,["content"])]),l.id?(i(),f("span",fe,[a(Q,{onCommand:N=>J(l,N)},{dropdown:o(()=>[a(s,null,{default:o(()=>[a(u,{command:"1"},{default:o(()=>[...e[3]||(e[3]=[v("编辑分类",-1)])]),_:1}),l.id?(i(),E(u,{key:0,command:"2"},{default:o(()=>[...e[4]||(e[4]=[v("删除分类",-1)])]),_:1})):C("",!0)]),_:2},1024)]),default:o(()=>[e[5]||(e[5]=d("i",{class:"el-icon-more el-icon--right"},null,-1))]),_:2},1032,["onCommand"])])):C("",!0)])]),_:1},8,["data","current-node-key"])])]),_:1},16),a(B,S(T,{ref:"rightBox"}),{default:o(()=>[a(te,{bordered:!1,shadow:"never",class:"left-radius-none"},{default:o(()=>[a(I,{class:"action-row"},{default:o(()=>[a(B,null,{default:o(()=>[g((i(),E(W,{type:"primary",onClick:z},{default:o(()=>[...e[6]||(e[6]=[v("添加标签",-1)])]),_:1})),[[le,["admin-user-label_add"]],[x]])]),_:1})]),_:1}),g((i(),E(Y,{data:D.value,ref:"table",class:"mt14","highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:o(()=>[a(k,{label:"ID",width:"80"},{default:o(l=>[d("span",null,y(l.row.id),1)]),_:1}),a(k,{label:"标签名称",width:"80"},{default:o(l=>[d("span",null,y(l.row.label_name),1)]),_:1}),a(k,{label:"分类名称","min-width":"80"},{default:o(l=>[d("span",null,y(l.row.cate_name),1)]),_:1}),a(k,{fixed:"right",label:"操作",width:"100"},{default:o(l=>[g((i(),f("a",{onClick:N=>H(l.row.id)},[...e[7]||(e[7]=[v("修改",-1)])],8,ve)),[[x]]),a(X,{direction:"vertical"}),g((i(),f("a",{onClick:N=>O(l.row,"删除分类",l.$index)},[...e[8]||(e[8]=[v("删除",-1)])],8,ge)),[[x]])]),_:1})]),_:1},8,["data"])),[[oe,h.value]]),d("div",be,[A.value?(i(),E(ee,{key:0,total:A.value,page:r.value.page,"onUpdate:page":e[0]||(e[0]=l=>r.value.page=l),limit:r.value.limit,"onUpdate:limit":e[1]||(e[1]=l=>r.value.limit=l),onPagination:p},null,8,["total","page","limit"])):C("",!0)])]),_:1})]),_:1},16)]),_:1})])}}}),De=ae(he,[["__scopeId","data-v-87e94987"]]);export{De as default}; diff --git a/backend/public/admin/system_static/index-C0pMrD-p.css b/backend/public/admin/system_static/index-C0pMrD-p.css new file mode 100644 index 000000000..ec5785c49 --- /dev/null +++ b/backend/public/admin/system_static/index-C0pMrD-p.css @@ -0,0 +1 @@ +.trees-coadd[data-v-d82666a6]{width:100%;height:385px;display:-webkit-box;display:-ms-flexbox;display:flex}.trees-coadd .scollhide[data-v-d82666a6]{position:relative;width:100%;height:100%;margin-top:4px;overflow-y:scroll}.trees-coadd .iconlist-btn[data-v-d82666a6]{white-space:nowrap;cursor:pointer;color:var(--prev-color-primary)}.scollhide[data-v-d82666a6]::-webkit-scrollbar{display:none} diff --git a/backend/public/admin/system_static/index-C0tUCmxZ.css b/backend/public/admin/system_static/index-C0tUCmxZ.css new file mode 100644 index 000000000..d8c4ac11d --- /dev/null +++ b/backend/public/admin/system_static/index-C0tUCmxZ.css @@ -0,0 +1 @@ +.form-width[data-v-f2cd2ff7]{width:500px}.item[data-v-f2cd2ff7]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:10px}.item .row[data-v-f2cd2ff7]{width:140px;margin-right:10px}.form-width[data-v-01015212]{width:500px}.item[data-v-01015212]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:10px}.item .row[data-v-01015212]{width:140px;margin-right:10px}.table-options[data-v-01015212]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.table-options .create[data-v-01015212]{font-size:16px;margin-left:10px;cursor:pointer}.options-list .item[data-v-01015212]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.options-list .item .add[data-v-01015212]{font-size:18px;cursor:pointer;margin-right:5px}.options-list .item .delete[data-v-01015212]{font-size:18px;cursor:pointer;color:#fb0144}[data-v-01015212] .el-input-group__prepend .el-select{width:86px}.drag[data-v-01015212]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.drag .handle[data-v-01015212]{width:9px;height:15px}.code-table-sel[data-v-01015212] .el-input__inner{border:none;border-color:transparent;background-color:transparent}[data-v-01015212] .el-input-group__prepend div.el-select .el-input__inner{height:28px!important;line-height:28px!important}[data-v-01015212] .el-input-group__prepend div.el-select .el-input--small .el-input__icon{line-height:28px}.form-width[data-v-1259129f]{width:500px}.ivu-steps .ivu-steps-title[data-v-cc7c97f9]{line-height:26px}.code-wapper[data-v-cc7c97f9]{min-height:800px;padding-bottom:90px}.btn[data-v-cc7c97f9]{position:fixed;bottom:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;background-color:#fff9;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:2}.tab-1[data-v-cc7c97f9]{padding-bottom:100px}[data-v-cc7c97f9] .el-input__inner{padding-left:7px}[data-v-cc7c97f9] .ivu-form-item{margin-bottom:17px}[data-v-cc7c97f9] .ivu-form-item-error-tip{padding-top:2px}[data-v-cc7c97f9] .tip{color:#bbb;line-height:16px;padding-top:5px;font-size:12px} diff --git a/backend/public/admin/system_static/index-C12uyhCR.js b/backend/public/admin/system_static/index-C12uyhCR.js new file mode 100644 index 000000000..293a15a26 --- /dev/null +++ b/backend/public/admin/system_static/index-C12uyhCR.js @@ -0,0 +1,9 @@ +import{f as J,k as m,u as q,y as i,z as f,j as u,C as r,B as _,H as p,A as d,F as H,D as W,v as K,a0 as B,s as T,$ as x,l as v,Z as w,n as Q,O as X}from"./element-plus-C_ZDq0cz.js";import{Z as Y,_ as ee,$ as le,a0 as te,a1 as ae}from"./system-C_6vcZAB.js";import{e as ne}from"./monaco-editor-uXAv8CL-.js";import{_ as G,S as oe,m as ue}from"./index-DHL7RTL2.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const se={class:"cycle-row"},re={key:1,class:"input-number-wrapper"},ie={key:2,class:"input-number-wrapper"},de={key:3,class:"input-number-wrapper"},me={key:4,class:"input-number-wrapper"},pe={key:5,class:"input-number-wrapper"},ve={class:"trip"},ce={ref:"container",id:"container",class:"monaco-editor"},fe={class:"dialog-footer"},be={__name:"createModal",props:{currentTab:{type:String,default:"0"}},emits:["submitAsk"],setup(U,{expose:S,emit:h}){const L=U,D=h,I=v(null),c=v(!1),N=[{name:"每隔N秒",value:1},{name:"每隔N分钟",value:2},{name:"每隔N小时",value:3},{name:"每隔N天",value:4},{name:"每天",value:5},{name:"每星期",value:6},{name:"每月",value:7},{name:"每年",value:8}],O=v({}),l=v({name:"",mark:"customTimer",content:"",is_open:0,type:1,month:1,week:1,day:1,hour:1,minute:1,second:1,customCode:""}),b=v(""),k=[{label:"周一",value:1},{label:"周二",value:2},{label:"周三",value:3},{label:"周四",value:4},{label:"周五",value:5},{label:"周六",value:6},{label:"周日",value:7}],z=X(null);J(l,t=>{switch(t.type){case 1:b.value=`每隔${t.second}秒执行一次`;break;case 2:b.value=`每隔${t.minute}分钟执行一次`;break;case 3:b.value=`每隔${t.hour}小时的${t.minute}分执行一次`;break;case 4:b.value=`每隔${t.day}天的${t.hour}时${t.minute}分执行一次`;break;case 5:b.value=`每天${t.hour}时${t.minute}分${t.second}秒执行一次`;break;case 6:b.value=`每个星期${t.week}的${t.hour}时${t.minute}分${t.second}秒执行一次`;break;case 7:b.value=`每月${t.day}日的${t.hour}时${t.minute}分${t.second}秒执行一次`;break;case 8:b.value=`每年${t.month}月${t.day}日的${t.hour}时${t.minute}分${t.second}秒执行一次`;break}},{immediate:!0,deep:!0});function A(t=""){try{Q(()=>{z.value=ne.create(document.getElementById("container"),{value:t,language:"php",automaticLayout:!0,theme:"vs-dark",foldingStrategy:"indentation",overviewRulerBorder:!1,minimap:{enabled:!1},scrollbar:{vertical:"hidden",horizontal:"hidden"},wordWrap:"on",autoIndent:!0,tabSize:4,autoClosingOvertype:"always",readOnly:!1})})}catch(e){}}function j(){Y().then(t=>{O.value=t.data})}function F(t){l.value={name:"",mark:"",content:"",is_open:0,type:1,month:1,week:1,day:1,hour:1,minute:1,second:1,customCode:""},c.value=!1}function n(t){t?ee(t).then(e=>{c.value=!0,l.value=e.data,A(e.data.customCode||"")}):(c.value=!0,A(`insert(['key' => 'custom_timer_' . rand(), 'result' => rand(), 'expire_time' => 0]); + +//调用系统方法 +app()->make(\\app\\services\\other\\CacheServices::class)->setDbCache('custom_timer_' . rand(), rand());`))}function o(){if(L.currentTab==="1"&&(l.value.customCode=z.value.getValue(),l.value.mark="customTimer"),!l.value.mark)return w.error({message:"请选择任务名称",onClose:()=>{}});y(l.value)}function y(t){le(t).then(e=>{w.success({message:e.msg}),D("submitAsk"),c.value=!1}).catch(e=>{w.error(e.msg)})}return j(),S({timerInfo:n}),(t,e)=>{const R=m("el-input"),$=m("el-form-item"),g=m("el-option"),E=m("el-select"),V=m("el-input-number"),M=m("el-switch"),P=m("el-form"),C=m("el-button"),Z=m("el-drawer"),s=q("db-click");return i(),f("div",null,[u(Z,{modelValue:c.value,"onUpdate:modelValue":e[12]||(e[12]=a=>c.value=a),title:l.value.id?"编辑定时任务":"添加定时任务",size:"1000px",onClosed:F},{default:r(()=>[c.value?(i(),_(P,{key:0,class:"pb-20",ref_key:"formValidateRef",ref:I,model:l.value,"label-width":"97px","label-colon":""},{default:r(()=>[U.currentTab==="1"?(i(),_($,{key:0,label:"任务名称:"},{default:r(()=>[u(R,{modelValue:l.value.name,"onUpdate:modelValue":e[0]||(e[0]=a=>l.value.name=a),type:"text",placeholder:"请输入任务名称"},null,8,["modelValue"])]),_:1})):p("",!0),u($,{label:"执行周期:",required:""},{default:r(()=>[d("div",se,[u(E,{modelValue:l.value.type,"onUpdate:modelValue":e[1]||(e[1]=a=>l.value.type=a),class:"cycle-select"},{default:r(()=>[(i(),f(H,null,W(N,a=>u(g,{key:a.value,value:a.value,label:a.name},null,8,["value","label"])),64))]),_:1},8,["modelValue"]),l.value.type==6?(i(),_(E,{key:0,modelValue:l.value.week,"onUpdate:modelValue":e[2]||(e[2]=a=>l.value.week=a),class:"cycle-select"},{default:r(()=>[(i(),f(H,null,W(k,a=>u(g,K({key:a.value},{ref_for:!0},a),null,16)),64))]),_:1},8,["modelValue"])):p("",!0),[8].includes(l.value.type)?(i(),f("div",re,[u(V,{controls:!1,modelValue:l.value.month,"onUpdate:modelValue":e[3]||(e[3]=a=>l.value.month=a),max:12,min:1},null,8,["modelValue"]),e[13]||(e[13]=d("span",{class:"suffix"},"月",-1))])):p("",!0),[4,7,8].includes(l.value.type)?(i(),f("div",ie,[u(V,{controls:!1,modelValue:l.value.day,"onUpdate:modelValue":e[4]||(e[4]=a=>l.value.day=a),max:l.value.type===4?1e4:31,min:1},null,8,["modelValue","max"]),e[14]||(e[14]=d("span",{class:"suffix"},"日",-1))])):p("",!0),[3,4,5,6,7,8].includes(l.value.type)?(i(),f("div",de,[u(V,{controls:!1,modelValue:l.value.hour,"onUpdate:modelValue":e[5]||(e[5]=a=>l.value.hour=a),max:23,min:0},null,8,["modelValue"]),e[15]||(e[15]=d("span",{class:"suffix"},"时",-1))])):p("",!0),[2,3,4,5,6,7,8].includes(l.value.type)?(i(),f("div",me,[u(V,{controls:!1,modelValue:l.value.minute,"onUpdate:modelValue":e[6]||(e[6]=a=>l.value.minute=a),max:l.value.type===2?36e3:59,min:0},null,8,["modelValue","max"]),e[16]||(e[16]=d("span",{class:"suffix"},"分",-1))])):p("",!0),[1,5,6,7].includes(l.value.type)?(i(),f("div",pe,[u(V,{controls:!1,modelValue:l.value.second,"onUpdate:modelValue":e[7]||(e[7]=a=>l.value.second=a),max:l.value.type===1?36e3:59,min:0},null,8,["modelValue","max"]),e[17]||(e[17]=d("span",{class:"suffix"},"秒",-1))])):p("",!0),d("div",ve,B(b.value),1)])]),_:1}),u($,{label:"任务说明:"},{default:r(()=>[u(R,{modelValue:l.value.content,"onUpdate:modelValue":e[8]||(e[8]=a=>l.value.content=a),type:"textarea",autosize:{minRows:3,maxRows:5},placeholder:"请输入任务说明"},null,8,["modelValue"])]),_:1}),U.currentTab==="1"?(i(),_($,{key:1,label:"执行代码:"},{default:r(()=>[d("div",ce,null,512)]),_:1})):p("",!0),U.currentTab==="1"?(i(),_($,{key:2,label:"开发密码:"},{default:r(()=>[u(R,{modelValue:l.value.password,"onUpdate:modelValue":e[9]||(e[9]=a=>l.value.password=a),type:"password",placeholder:"请输入系统开发密码,开发密码在crmeb/config/filesystem.php中修改password"},null,8,["modelValue"])]),_:1})):p("",!0),u($,{label:"是否开启:"},{default:r(()=>[u(M,{"active-value":1,"inactive-value":0,modelValue:l.value.is_open,"onUpdate:modelValue":e[10]||(e[10]=a=>l.value.is_open=a),size:"large"},{open:r(()=>[...e[18]||(e[18]=[d("span",null,"开启",-1)])]),close:r(()=>[...e[19]||(e[19]=[d("span",null,"关闭",-1)])]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])):p("",!0),d("span",fe,[T((i(),_(C,{onClick:e[11]||(e[11]=a=>c.value=!1)},{default:r(()=>[...e[20]||(e[20]=[x("取 消",-1)])]),_:1})),[[s]]),T((i(),_(C,{type:"primary",onClick:o},{default:r(()=>[...e[21]||(e[21]=[x("提 交",-1)])]),_:1})),[[s]])])]),_:1},8,["modelValue","title"])])}}},_e=G(be,[["__scopeId","data-v-7f4e8887"]]),ye=["onClick"],ke=["onClick"],$e={class:"acea-row row-right page"},ge=Object.assign({name:"system_crontab"},{__name:"index",setup(U){const S=v(null),h=v(!1),L=v([]),D=v(1),I=v(15),c=v(1),N=v(""),O=[{label:"系统任务",value:"0"},{label:"自定义任务",value:"1"}],l=v("0");function b(n){switch(n.type){case 1:return`每隔${n.second}秒执行一次`;case 2:return`每隔${n.minute}分钟执行一次`;case 3:return`每隔${n.hour}小时执行一次`;case 4:return`每隔${n.day}天执行一次`;case 5:return`每天${n.hour}时${n.minute}分${n.second}秒执行一次`;case 6:return`每个星期${n.week}的${n.hour}时${n.minute}分${n.second}秒执行一次`;case 7:return`每月${n.day}日的${n.hour}时${n.minute}分${n.second}秒执行一次`;case 8:return`每年${n.month}月${n.day}日的${n.hour}时${n.minute}分${n.second}秒执行一次`}}function k(){h.value=!0,te({page:D.value,limit:I.value,custom:l.value==="1"?1:0}).then(n=>{h.value=!1;let{count:o,list:y}=n.data;c.value=o,L.value=y}).catch(n=>{h.value=!1,w.error(n.msg)})}function z(){S.value.timerInfo(0)}function A(n){S.value.timerInfo(n)}function j(n,o,y){let t={title:o,url:`system/crontab/del/${n.id}`,method:"delete",ids:""};ue(t).then(e=>{w.success(e.msg),k()}).catch(e=>{w.error(e.msg)})}function F({id:n,is_open:o}){ae(n,o).then(y=>{w.success(y.msg),k()}).catch(y=>{w.error(y.msg)})}return N.value=oe.apiBaseURL.replace(/adminapi/,""),k(),(n,o)=>{const y=m("el-tab-pane"),t=m("el-tabs"),e=m("el-card"),R=m("el-alert"),$=m("el-button"),g=m("el-table-column"),E=m("el-switch"),V=m("el-divider"),M=m("el-table"),P=m("pagination"),C=q("db-click"),Z=q("loading");return i(),f("div",null,[u(e,{bordered:!1,shadow:"never",class:"ivu-mt","body-style":{padding:"10px 20px 0"}},{default:r(()=>[d("div",null,[u(t,{modelValue:l.value,"onUpdate:modelValue":o[0]||(o[0]=s=>l.value=s),onTabChange:k},{default:r(()=>[(i(),f(H,null,W(O,(s,a)=>u(y,{label:s.label,name:s.value.toString(),key:a},null,8,["label","name"])),64))]),_:1},8,["modelValue"])])]),_:1}),u(e,{bordered:!1,shadow:"never","body-style":{padding:"10px 20px 20px"}},{default:r(()=>[u(R,{type:"warning",closable:!1},{title:r(()=>[o[3]||(o[3]=x(" 启动定时任务两种方式:",-1)),o[4]||(o[4]=d("br",null,null,-1)),o[5]||(o[5]=x(" 1、使用命令启动:php think timer start --d;如果更改了执行周期、编辑是否开启、删除定时任务需要重新启动下定时任务确保生效;",-1)),o[6]||(o[6]=d("br",null,null,-1)),x(" 2、使用接口触发定时任务,建议每分钟调用一次,接口地址 "+B(N.value)+"api/crontab/run ",1),o[7]||(o[7]=d("br",null,null,-1))]),_:1}),l.value==="1"?T((i(),_($,{key:0,type:"primary",onClick:z,class:"mt14"},{default:r(()=>[...o[8]||(o[8]=[x("添加定时任务",-1)])]),_:1})),[[C]]):p("",!0),T((i(),_(M,{data:L.value,class:"mt14"},{default:r(()=>[u(g,{label:"标题","min-width":"150"},{default:r(s=>[d("span",null,B(s.row.name),1)]),_:1}),u(g,{label:"任务说明","min-width":"130"},{default:r(s=>[d("span",null,B(s.row.content),1)]),_:1}),u(g,{label:"执行周期","min-width":"130"},{default:r(s=>[d("span",null,B(b(s.row)),1)]),_:1}),u(g,{label:"是否开启","min-width":"130"},{default:r(s=>[u(E,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:s.row.is_open,"onUpdate:modelValue":a=>s.row.is_open=a,size:"large",onChange:a=>F(s.row),"active-text":"开启","inactive-text":"关闭"},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),u(g,{label:"操作",width:"100"},{default:r(s=>[T((i(),f("a",{onClick:a=>A(s.row.id)},[...o[9]||(o[9]=[x("编辑",-1)])],8,ye)),[[C]]),l.value==="1"?(i(),_(V,{key:0,direction:"vertical"})):p("",!0),l.value==="1"?T((i(),f("a",{key:1,onClick:a=>j(s.row,"删除定时任务",s.$index)},[...o[10]||(o[10]=[x("删除",-1)])],8,ke)),[[C]]):p("",!0)]),_:1})]),_:1},8,["data"])),[[Z,h.value]]),d("div",$e,[c.value?(i(),_(P,{key:0,total:c.value,page:D.value,"onUpdate:page":o[1]||(o[1]=s=>D.value=s),limit:I.value,"onUpdate:limit":o[2]||(o[2]=s=>I.value=s),onPagination:k},null,8,["total","page","limit"])):p("",!0)]),u(_e,{ref_key:"addTaskRef",ref:S,currentTab:l.value,onSubmitAsk:k},null,8,["currentTab"])]),_:1})])}}}),Ue=G(ge,[["__scopeId","data-v-22f0e6aa"]]);export{Ue as default}; diff --git a/backend/public/admin/system_static/index-C1PTqLW9.js b/backend/public/admin/system_static/index-C1PTqLW9.js new file mode 100644 index 000000000..c6b219d08 --- /dev/null +++ b/backend/public/admin/system_static/index-C1PTqLW9.js @@ -0,0 +1 @@ +import{k as i,u as B,y as s,z as T,j as a,C as l,A as r,ac as Z,s as f,B as m,$ as k,a0 as p,H as y,W as q,Z as V,p as E,r as G,n as M,l as _}from"./element-plus-C_ZDq0cz.js";import{f as J,t as K}from"./index-qanQGPk7.js";import{a as Q,m as R}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const X={class:"padding-add"},Y=["onClick"],ee=["onClick"],te={class:"acea-row row-right page"},de=Object.assign({name:"setting_templates"},{__name:"index",setup(le){const F=Q(),c=_(null),v=_(!1),n=G({name:"",page:1,limit:15}),C=_([]),x=_(0),g=_(!1),N=E(()=>F.isMobile),$=E(()=>N.value?void 0:"80px");function A(){g.value=!0,M(o=>{c.value.id=0,c.value.isTemplate=!0})}function L(o,e,S){let w={title:e,url:`freight/shipping_templates/del/${o.id}`,method:"DELETE",ids:""};R(w).then(u=>{V.success(u.msg),C.value.splice(S,1)}).catch(u=>{V.error(u.msg)})}function b(){v.value=!0,K(n).then(async o=>{let e=o.data;C.value=e.data,x.value=e.count,v.value=!1}).catch(o=>{v.value=!1,V.error(o.msg)})}function U(o){g.value=!0,M(e=>{c.value.isTemplate=!0,c.value.editFrom(o)})}function j(){n.page=1,b()}return b(),(o,e)=>{const S=i("el-input"),w=i("el-form-item"),u=i("el-button"),W=i("el-form"),D=i("el-card"),d=i("el-table-column"),z=i("el-divider"),H=i("el-table"),I=i("pagination"),h=B("db-click"),O=B("loading");return s(),T("div",null,[a(D,{bordered:!1,shadow:"never",class:"ivu-mb-16","body-style":{padding:0}},{default:l(()=>[r("div",X,[a(W,{model:n,"label-width":$.value,"label-position":"right",onSubmit:e[1]||(e[1]=Z(()=>{},["prevent"])),inline:""},{default:l(()=>[a(w,{label:"搜索:","label-for":"keyword"},{default:l(()=>[a(S,{clearable:"",modelValue:n.name,"onUpdate:modelValue":e[0]||(e[0]=t=>n.name=t),placeholder:"请输入模板名称",class:"form_content_width"},null,8,["modelValue"])]),_:1}),a(w,null,{default:l(()=>[f((s(),m(u,{type:"primary",onClick:j},{default:l(()=>[...e[5]||(e[5]=[k("查询",-1)])]),_:1})),[[h]])]),_:1})]),_:1},8,["model","label-width"])])]),_:1}),a(D,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:l(()=>[f((s(),m(u,{type:"primary",class:"action-row",onClick:A},{default:l(()=>[...e[6]||(e[6]=[k("添加运费模板",-1)])]),_:1})),[[h]]),f((s(),m(H,{data:C.value,ref:"table",class:"mt14","highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:l(()=>[a(d,{label:"ID",width:"80"},{default:l(t=>[r("span",null,p(t.row.id),1)]),_:1}),a(d,{label:"模板名称","min-width":"130"},{default:l(t=>[r("span",null,p(t.row.name),1)]),_:1}),a(d,{label:"计费方式","min-width":"130"},{default:l(t=>[r("span",null,p(t.row.type),1)]),_:1}),a(d,{label:"指定包邮","min-width":"130"},{default:l(t=>[r("span",null,p(t.row.appoint),1)]),_:1}),a(d,{label:"排序","min-width":"130"},{default:l(t=>[r("span",null,p(t.row.sort),1)]),_:1}),a(d,{label:"添加时间","min-width":"130"},{default:l(t=>[r("span",null,p(t.row.add_time),1)]),_:1}),a(d,{label:"操作",fixed:"right",width:"100"},{default:l(t=>[f((s(),T("a",{onClick:P=>U(t.row.id)},[...e[7]||(e[7]=[k("修改",-1)])],8,Y)),[[h]]),t.row.id!==1?(s(),m(z,{key:0,direction:"vertical"})):y("",!0),t.row.id!==1?f((s(),T("a",{key:1,onClick:P=>L(t.row,"删除模版",o.index)},[...e[8]||(e[8]=[k("删除",-1)])],8,ee)),[[h]]):y("",!0)]),_:1})]),_:1},8,["data"])),[[O,v.value]]),r("div",te,[x.value?(s(),m(I,{key:0,total:x.value,page:n.page,"onUpdate:page":e[2]||(e[2]=t=>n.page=t),limit:n.limit,"onUpdate:limit":e[3]||(e[3]=t=>n.limit=t),onPagination:b},null,8,["total","page","limit"])):y("",!0)])]),_:1}),g.value?(s(),m(q(J),{key:0,ref_key:"template",ref:c,onAddSuccess:b,onClose:e[4]||(e[4]=()=>{g.value=!1})},null,512)):y("",!0)])}}});export{de as default}; diff --git a/backend/public/admin/system_static/index-C1cnpQHB.css b/backend/public/admin/system_static/index-C1cnpQHB.css new file mode 100644 index 000000000..6d29efbac --- /dev/null +++ b/backend/public/admin/system_static/index-C1cnpQHB.css @@ -0,0 +1 @@ +.options-list .item[data-v-a62537fe]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.options-list .item .add[data-v-a62537fe]{font-size:18px;cursor:pointer;margin-right:5px}.options-list .item .delete[data-v-a62537fe]{font-size:18px;cursor:pointer;color:#fb0144} diff --git a/backend/public/admin/system_static/index-C1p58Gve.js b/backend/public/admin/system_static/index-C1p58Gve.js new file mode 100644 index 000000000..8c26409a7 --- /dev/null +++ b/backend/public/admin/system_static/index-C1p58Gve.js @@ -0,0 +1 @@ +import{f as te,a as le,Z as v,k as n,u as ae,y as m,z as b,j as l,W as x,C as o,ac as oe,A as r,s as T,$ as g,B as E,H as ie,l as u,p as w}from"./element-plus-C_ZDq0cz.js";import{_ as se,b as ne,h as re,a as de,S as A,c as ue}from"./index-DHL7RTL2.js";import{W as pe}from"./index-Beo5Mkpq.js";import{e as me,f as ce,g as fe}from"./cms-BakSzEoF.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./wangeditor-D-KRDJ3T.js";import"./registerMenus-BIn2m7Us.js";const ge={class:"article-manager"},_e={class:"grid_box"},ve={key:0,class:"pictrue"},be=["src"],we={key:1,class:"upLoad acea-row row-center-wrapper"},he=Object.assign({name:"addArticle"},{__name:"index",setup(xe){const p=ne(),M=re(),S=de(),D=u(null),y=u(null),R=u("单选"),q={xl:6,lg:8,md:12,sm:12,xs:12},N={xl:4,lg:8,md:8,sm:8,xs:8},W=u(!1),a=u({id:0,title:"",author:"",image_input:"",content:"",synopsis:"",url:"",is_hot:0,is_banner:0,cid:"",visit:0}),V=u(""),c=u(!1),k=u([]),$={title:[{required:!0,message:"请输入标题",trigger:"blur"}],cid:[{required:!0,validator:(i,e,t)=>{a.value.cid?t():t(new Error("请选择文章分类"))},trigger:"change",type:"number"}],image_input:[{required:!0,validator:(i,e,t)=>{a.value.image_input?t():t(new Error("请上传图文封面"))},trigger:"change"}],content:[{required:!0,message:"请输入文章内容",trigger:"change"}]},C=w(()=>S.isMobile),H=w(()=>C.value?void 0:"100px"),j=w(()=>C.value?"top":"right"),z=w(()=>{const i=a.value.title.trim();return i?`请围绕标题《${i}》撰写一篇文章,内容切题、结构清晰、语言流畅,800字左右。`:"写一篇资讯类文章,主题明确、结构清晰,800字左右。"});te(()=>p.params,(i,e)=>{p.params.id?U():a.value={id:0,title:"",author:"",image_input:"",content:"",synopsis:"",url:"",is_hot:0,is_banner:0}}),I(),le(()=>{p.params.id&&U()});function L(i){V.value=i}function F(){c.value=!0}function G(i){a.value.image_input=i.att_dir,c.value=!1}function I(){me().then(async i=>{k.value=i.data}).catch(i=>{v.error(i.msg)})}function O(i){let e=i.replace(/]*>/gi,function(t,f){return t=t.replace(/style="[^"]+"/gi,"").replace(/style='[^']+'/gi,""),t=t.replace(/width="[^"]+"/gi,"").replace(/width='[^']+'/gi,""),t=t.replace(/height="[^"]+"/gi,"").replace(/height='[^']+'/gi,""),t});return e=e.replace(/style="[^"]+"/gi,function(t,f){return t=t.replace(/width:[^;]+;/gi,"max-width:100%;").replace(/max-max-width:[^;]+;/gi,"max-width:100%;"),t}),e=e.replace(/\{if(e)fe(a.value).then(async t=>{v.success(t.msg),setTimeout(()=>{M.push({path:A.routePre+"/cms/article/index"})},500)}).catch(t=>{v.error(t.msg)});else return!1})}function U(){ce(p.params.id?p.params.id:0).then(async i=>{let t=i.data.info;a.value={id:t.id,title:t.title,author:t.author,image_input:t.image_input,content:t.content,synopsis:t.synopsis,url:t.url,is_hot:t.is_hot,is_banner:t.is_banner,cid:t.cid,visit:t.visit}}).catch(i=>{W.value=!1,v.error(i.msg)})}return(i,e)=>{const t=n("pages-header"),f=n("el-input"),d=n("el-form-item"),J=n("el-cascader"),_=n("el-radio"),P=n("el-radio-group"),h=n("el-col"),K=n("el-button"),Q=n("el-row"),X=n("el-form"),Y=n("el-dialog"),ee=n("el-card"),B=ae("db-click");return m(),b("div",ge,[l(t,{ref_key:"pageHeader",ref:D,title:x(p).params.id?"编辑文章":"添加文章",backUrl:x(A).routePre+"/cms/article/index"},null,8,["title","backUrl"]),l(ee,{bordered:!1,shadow:"never",class:"mt16"},{default:o(()=>[l(X,{class:"form",ref_key:"formValidateRef",ref:y,model:a.value,rules:$,"label-width":H.value,"label-position":j.value,onSubmit:e[8]||(e[8]=oe(()=>{},["prevent"]))},{default:o(()=>[e[17]||(e[17]=r("div",{class:"goodsTitle acea-row"},[r("div",{class:"title"},"文章信息")],-1)),r("div",_e,[l(d,{label:"标题:",prop:"title","label-for":"title"},{default:o(()=>[l(f,{modelValue:a.value.title,"onUpdate:modelValue":e[0]||(e[0]=s=>a.value.title=s),placeholder:"请输入",class:"content_width",maxlength:"80","show-word-limit":""},null,8,["modelValue"])]),_:1}),l(d,{label:"作者:",prop:"author","label-for":"author"},{default:o(()=>[l(f,{modelValue:a.value.author,"onUpdate:modelValue":e[1]||(e[1]=s=>a.value.author=s),placeholder:"请输入",class:"content_width",maxlength:"10","show-word-limit":""},null,8,["modelValue"])]),_:1}),l(d,{label:"文章分类:","label-for":"cid",prop:"cid"},{default:o(()=>[l(J,{class:"content_width",modelValue:a.value.cid,"onUpdate:modelValue":e[2]||(e[2]=s=>a.value.cid=s),options:k.value,props:{multiple:!1,checkStrictly:!0,emitPath:!1},clearable:""},null,8,["modelValue","options"])]),_:1}),l(d,{label:"文章简介:",prop:"synopsis","label-for":"synopsis"},{default:o(()=>[l(f,{modelValue:a.value.synopsis,"onUpdate:modelValue":e[3]||(e[3]=s=>a.value.synopsis=s),type:"textarea",placeholder:"请输入",class:"content_width",maxlength:"300","show-word-limit":""},null,8,["modelValue"])]),_:1}),l(d,{label:"图文封面:",prop:"image_input"},{default:o(()=>[T((m(),b("div",{class:"picBox",onClick:e[4]||(e[4]=s=>F("单选"))},[a.value.image_input?(m(),b("div",ve,[r("img",{src:a.value.image_input},null,8,be)])):(m(),b("div",we,[...e[10]||(e[10]=[r("i",{class:"el-icon-plus",style:{"font-size":"24px"}},null,-1)])]))])),[[B]]),e[11]||(e[11]=r("div",{class:"tip"},"建议尺寸:500 x 312 px",-1))]),_:1})]),e[18]||(e[18]=r("div",{class:"goodsTitle acea-row"},[r("div",{class:"title"},"文章内容")],-1)),l(d,{label:"文章内容:",prop:"content"},{default:o(()=>[l(pe,{style:{width:"90%"},content:a.value.content,"ai-default-prompt":z.value,onEditorContent:L},null,8,["content","ai-default-prompt"])]),_:1}),e[19]||(e[19]=r("div",{class:"goodsTitle acea-row"},[r("div",{class:"title"},"其他设置")],-1)),l(Q,{gutter:24},{default:o(()=>[l(h,{span:24},{default:o(()=>[l(d,{label:"banner显示:","label-for":"is_banner"},{default:o(()=>[l(P,{modelValue:a.value.is_banner,"onUpdate:modelValue":e[5]||(e[5]=s=>a.value.is_banner=s),"element-id":"is_banner"},{default:o(()=>[l(_,{label:1,value:1,class:"radio"},{default:o(()=>[...e[12]||(e[12]=[g("显示",-1)])]),_:1}),l(_,{label:0,value:0},{default:o(()=>[...e[13]||(e[13]=[g("不显示",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(h,{span:24},{default:o(()=>[l(d,{label:"热门文章:","label-for":"is_hot"},{default:o(()=>[l(P,{modelValue:a.value.is_hot,"onUpdate:modelValue":e[6]||(e[6]=s=>a.value.is_hot=s),"element-id":"is_hot"},{default:o(()=>[l(_,{label:1,value:1,class:"radio"},{default:o(()=>[...e[14]||(e[14]=[g("显示",-1)])]),_:1}),l(_,{label:0,value:0},{default:o(()=>[...e[15]||(e[15]=[g("不显示",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(h,{span:24},{default:o(()=>[l(d,{label:""},{default:o(()=>[T((m(),E(K,{type:"primary",class:"submission",onClick:e[7]||(e[7]=s=>Z("formValidate"))},{default:o(()=>[...e[16]||(e[16]=[g("提交",-1)])]),_:1})),[[B]])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","label-width","label-position"]),l(Y,{modelValue:c.value,"onUpdate:modelValue":e[9]||(e[9]=s=>c.value=s),width:"950px",title:"上传商品图","close-on-click-modal":!1},{default:o(()=>[c.value?(m(),E(x(ue),{key:0,isChoice:R.value,onGetPic:G,gridBtn:N,gridPic:q},null,8,["isChoice"])):ie("",!0)]),_:1},8,["modelValue"])]),_:1})])}}}),Se=se(he,[["__scopeId","data-v-de1f4c5f"]]);export{Se as default}; diff --git a/backend/public/admin/system_static/index-C24kkrXg.js b/backend/public/admin/system_static/index-C24kkrXg.js new file mode 100644 index 000000000..c9ed6c4c7 --- /dev/null +++ b/backend/public/admin/system_static/index-C24kkrXg.js @@ -0,0 +1 @@ +import{Z as _,k as s,u as x,y as w,z as C,j as l,C as a,ac as A,s as E,B,$ as D,l as r}from"./element-plus-C_ZDq0cz.js";import{W as S}from"./index-Beo5Mkpq.js";import{l as j,n as z}from"./api-Cf_YNigo.js";import"./wangeditor-D-KRDJ3T.js";import"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./registerMenus-BIn2m7Us.js";const q=Object.assign({name:"memberAgreement"},{__name:"index",setup(M){const f=r(0),m=r(!1),o=r({title:"",content:"",status:1,system_prompt:"",user_prompt:""}),v=r(""),b=r("");g();function y(t){o.value.content=t}function g(){m.value=!0,j().then(t=>{m.value=!1;const{title:e,content:u,status:n,id:i,system_prompt:c,user_prompt:p}=t.data;o.value={title:e,content:u,status:n},f.value=i,v.value=p||"",b.value=c||""}).catch(t=>{_.error(t),m.value=!1})}function V(){z(f.value,o.value).then(t=>{_.success("保存成功"),g()}).catch(t=>{_.error(t.msg)})}return(t,e)=>{const u=s("el-input"),n=s("el-form-item"),i=s("el-switch"),c=s("el-button"),p=s("el-form"),k=s("el-card"),h=x("db-click");return w(),C("div",null,[l(k,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:a(()=>[l(p,{"label-width":"85px",onSubmit:e[2]||(e[2]=A(()=>{},["prevent"]))},{default:a(()=>[l(n,{label:"协议名称:"},{default:a(()=>[l(u,{modelValue:o.value.title,"onUpdate:modelValue":e[0]||(e[0]=d=>o.value.title=d)},null,8,["modelValue"])]),_:1}),l(n,{label:"协议内容:"},{default:a(()=>[l(S,{content:o.value.content,"ai-default-prompt":v.value,"ai-default-system-prompt":b.value,onEditorContent:y},null,8,["content","ai-default-prompt","ai-default-system-prompt"])]),_:1}),l(n,{label:"开启状态:"},{default:a(()=>[l(i,{"active-value":1,"inactive-value":0,modelValue:o.value.status,"onUpdate:modelValue":e[1]||(e[1]=d=>o.value.status=d),size:"large"},null,8,["modelValue"])]),_:1}),l(n,null,{default:a(()=>[E((w(),B(c,{type:"primary",onClick:V},{default:a(()=>[...e[3]||(e[3]=[D("保存",-1)])]),_:1})),[[h]])]),_:1})]),_:1})]),_:1})])}}});export{q as default}; diff --git a/backend/public/admin/system_static/index-C2Zmd2Xm.js b/backend/public/admin/system_static/index-C2Zmd2Xm.js new file mode 100644 index 000000000..57168ea2c --- /dev/null +++ b/backend/public/admin/system_static/index-C2Zmd2Xm.js @@ -0,0 +1 @@ +import{w as t}from"./index-DHL7RTL2.js";function u(){return t({url:"/cms/category_list",method:"get"})}function n(e,r){return t({url:"diy/save/"+e,method:"post",data:r})}function a(e,r){return t({url:"diy/get_info/"+e,method:"get",params:r})}function i(){return t({url:"diy_pro/text/field",method:"get"})}function s(){return t({url:"diy/component_status",method:"get"})}function m(){return t({url:"diy/get_url",method:"get"})}function d(){return t({url:"diy/get_category",method:"get"})}function g(e){return t({url:"diy/get_by_category",method:"get",params:e})}function h(e){return t({url:"diy/set_status/"+e,method:"put"})}function c(){return t({url:"diy/get_store_status",method:"get"})}function l(e){return t({url:"diy/get_product_list",method:"get",params:e})}function p(e,r){return t({url:`diy/color_change/${e}/${r}`,method:"put"})}function f(e){return t({url:`diy/get_color_change/${e}`,method:"get"})}function y(){return t({url:"diy/get_member",method:"get"})}function _(e){return t({url:`diy/get_routine_code/${e}`,method:"get"})}function v(e){return t({url:"diy/member_save",method:"post",data:e})}function T(){return t({url:"diy/get_page_category",method:"get"})}function C(e){return t({url:`diy/get_page_link/${e}`,method:"get"})}function x(e){return t({url:`diy_pro/export/data/${e}`,method:"get"})}function L(e){return t({url:"diy_pro/get_list",method:"get",params:e})}function b(e,r){return t({url:"theme/save/"+e,method:"post",data:r})}function D(e,r){return t({url:"theme/info/"+e+"/"+r,method:"get"})}function P(e){return t({url:"theme/article",method:"get",params:e})}function S(e){return t({url:"theme/coupon",method:"get",params:e})}function $(e){return t({url:"diy_pro/get_product",method:"get",params:e})}function I(e){return t({url:"theme/product",method:"get",params:e})}function k(e){return t({url:"theme/import",method:"post",data:e})}function A(e,r){return t({url:"theme/save_title/"+e,method:"post",data:r})}function w(e,r){return t({url:"theme/save_image/"+e,method:"post",data:r})}function B(e){return t({url:"theme/list",method:"get",params:e})}function E(e){return t({url:"theme/export/"+e,method:"get"})}function F(e){return t({url:"theme/export_record/"+e,method:"get"})}function G(e){return t({url:"theme/use/"+e,method:"get"})}function M(){return t({url:"theme/using",method:"get"})}function R(e){return t({url:"theme/restore/"+e,method:"get"})}function U(e,r){return t({url:"theme/use_data/"+e,method:"get",params:r})}function j(e){return t({url:"theme/del/"+e,method:"delete"})}function q(e){return t({url:"theme/micro_page",method:"get",params:e})}export{b as A,m as B,k as C,B as D,E,F,j as G,G as H,U as I,M as J,R as K,A as L,C as a,f as b,p as c,q as d,y as e,L as f,l as g,x as h,_ as i,g as j,c as k,d as l,v as m,n,a as o,T as p,S as q,P as r,h as s,I as t,i as u,$ as v,u as w,s as x,D as y,w as z}; diff --git a/backend/public/admin/system_static/index-C5aCmoOY.js b/backend/public/admin/system_static/index-C5aCmoOY.js new file mode 100644 index 000000000..c6cc208b2 --- /dev/null +++ b/backend/public/admin/system_static/index-C5aCmoOY.js @@ -0,0 +1 @@ +import{l as u,a as ie,Z as y,k as o,u as q,s as C,y as m,B as _,C as t,j as l,$ as p,z as ee,F as re,D as oe,A as U,a0 as S,W as I,H as M,ac as se,p as P}from"./element-plus-C_ZDq0cz.js";import{_ as te,a as le,h as de,S as ue,m as pe}from"./index-DHL7RTL2.js";import{p as me,a as ve,b as ce,c as _e,d as fe,e as ge}from"./printer-ByWczRt9.js";import{u as ae}from"./usePrinterAuth-I2ixLXHJ.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const be={class:"driver-name-tag"},ye={class:"form-actions"},we=Object.assign({name:"PrinterEdit"},{__name:"edit",props:{driverId:{type:[Number,String],default:null},isAdd:{type:Boolean,default:!1},driverOptions:{type:Array,default:()=>[]}},emits:["close","success","submitting"],setup(R,{emit:H}){const s=R,O=H,{hasPermission:V}=ae(),B=le(),A=P(()=>B.isMobile?void 0:120),N=P(()=>B.isMobile?"top":"right"),c=P(()=>s.isAdd?"admin-printer-create":"admin-printer-edit"),x=u(null),f=u(!1),w=u(!1),k=u(s.isAdd),r=u({print_name:"",driver:"",printer_id:"",status:1,sort:0,times:1,print_type:1}),Z=u({print_name:[{required:!0,whitespace:!0,message:"请输入打印机名称",trigger:"blur"}],driver:[{required:!0,message:"请选择打印机驱动",trigger:"change"}],printer_id:[{required:!0,whitespace:!0,message:"请输入打印机ID",trigger:"blur"}],times:[{type:"integer",required:!0,min:1,max:99,message:"打印联数须为1到99的整数",trigger:"change"}],print_type:[{type:"enum",required:!0,enum:[1,2],message:"请选择打印时机",trigger:"change"}],sort:[{type:"integer",required:!0,min:0,max:9999,message:"排序须为0到9999的整数",trigger:"change"}]}),E=P(()=>{const v=s.driverOptions.find(e=>e.name===r.value.driver);return v&&v.device_id||{label:"打印机ID",tip:"请输入打印机设备ID/SN/终端号"}});ie(()=>{s.isAdd||G()});function G(){!s.driverId||!V("admin-printer-detail")||(f.value=!0,me(s.driverId).then(v=>{const e=v.data;r.value={id:e.id,print_name:e.print_name,driver:e.driver,printer_id:e.printer_id||"",icon:e.icon||"",sort:Number(e.sort),status:Number(e.status),times:Number(e.times),print_type:Number(e.print_type)},k.value=!0}).catch(v=>{k.value=!1,y.error(v.msg||"打印机配置加载失败")}).finally(()=>{f.value=!1}))}async function J(){if(!(w.value||f.value||!k.value||!x.value||!V(c.value))){w.value=!0,O("submitting",!0);try{if(!await x.value.validate().catch(()=>!1))return;const e={...r.value,print_name:r.value.print_name.trim(),printer_id:r.value.printer_id.trim()},D=s.isAdd?await ve(e):await ce(r.value.id,e);y.success(D.msg||"保存成功"),O("success")}catch(v){y.error(v.msg||"打印机配置保存失败")}finally{w.value=!1,O("submitting",!1)}}}return(v,e)=>{const D=o("el-divider"),j=o("el-input"),h=o("el-form-item"),i=o("el-option"),d=o("el-select"),g=o("el-tag"),$=o("el-radio"),K=o("el-radio-group"),F=o("el-input-number"),b=o("el-switch"),L=o("el-button"),Q=o("el-form"),X=q("auth"),T=q("db-click"),Y=q("loading");return C((m(),_(Q,{ref_key:"formRef",ref:x,model:r.value,rules:Z.value,disabled:f.value||!k.value||w.value||!I(V)(c.value),"label-width":A.value,"label-position":N.value,onSubmit:e[8]||(e[8]=se(()=>{},["prevent"]))},{default:t(()=>[l(D,{"content-position":"left"},{default:t(()=>[...e[9]||(e[9]=[p("基本信息",-1)])]),_:1}),l(h,{label:"打印机名称",prop:"print_name"},{default:t(()=>[l(j,{modelValue:r.value.print_name,"onUpdate:modelValue":e[0]||(e[0]=n=>r.value.print_name=n),placeholder:"请输入打印机名称"},null,8,["modelValue"])]),_:1}),R.isAdd?(m(),_(h,{key:0,label:"选择驱动",prop:"driver"},{default:t(()=>[l(d,{modelValue:r.value.driver,"onUpdate:modelValue":e[1]||(e[1]=n=>r.value.driver=n),placeholder:"请选择打印机驱动",style:{width:"100%"}},{default:t(()=>[(m(!0),ee(re,null,oe(R.driverOptions,n=>(m(),_(i,{key:n.name,label:n.description||n.name,value:n.name},{default:t(()=>[U("span",null,S(n.description||n.name),1),U("span",be,"["+S(n.name)+"]",1)]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):(m(),_(h,{key:1,label:"驱动"},{default:t(()=>[l(g,null,{default:t(()=>[p(S(r.value.driver),1)]),_:1})]),_:1})),l(h,{label:E.value.label,prop:"printer_id"},{default:t(()=>[l(j,{modelValue:r.value.printer_id,"onUpdate:modelValue":e[2]||(e[2]=n=>r.value.printer_id=n),placeholder:E.value.tip},null,8,["modelValue","placeholder"]),e[10]||(e[10]=U("div",{class:"tips-info"},"服务商账号和密钥请在“扩展管理 > 打印机驱动管理”中配置",-1))]),_:1},8,["label"]),l(D,{"content-position":"left"},{default:t(()=>[...e[11]||(e[11]=[p("打印设置",-1)])]),_:1}),l(h,{label:"打印时机",prop:"print_type"},{default:t(()=>[l(K,{modelValue:r.value.print_type,"onUpdate:modelValue":e[3]||(e[3]=n=>r.value.print_type=n)},{default:t(()=>[l($,{label:1,value:1},{default:t(()=>[...e[12]||(e[12]=[p("支付后打印",-1)])]),_:1}),l($,{label:2,value:2},{default:t(()=>[...e[13]||(e[13]=[p("下单后打印",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),l(h,{label:"打印联数",prop:"times"},{default:t(()=>[l(F,{modelValue:r.value.times,"onUpdate:modelValue":e[4]||(e[4]=n=>r.value.times=n),min:1,max:99,precision:0},null,8,["modelValue"])]),_:1}),l(D,{"content-position":"left"},{default:t(()=>[...e[14]||(e[14]=[p("其他设置",-1)])]),_:1}),l(h,{label:"状态"},{default:t(()=>[l(b,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:r.value.status,"onUpdate:modelValue":e[5]||(e[5]=n=>r.value.status=n),"active-text":"开启","inactive-text":"关闭"},null,8,["modelValue"])]),_:1}),l(h,{label:"排序",prop:"sort"},{default:t(()=>[l(F,{modelValue:r.value.sort,"onUpdate:modelValue":e[6]||(e[6]=n=>r.value.sort=n),min:0,max:9999,precision:0},null,8,["modelValue"])]),_:1}),U("div",ye,[I(V)(c.value)?C((m(),_(L,{key:0,type:"primary",disabled:f.value||!k.value,onClick:J,loading:w.value},{default:t(()=>[...e[15]||(e[15]=[p(" 保存 ",-1)])]),_:1},8,["disabled","loading"])),[[X,[c.value]],[T]]):M("",!0),C((m(),_(L,{disabled:w.value,onClick:e[7]||(e[7]=n=>v.$emit("close"))},{default:t(()=>[...e[16]||(e[16]=[p(" 取消 ",-1)])]),_:1},8,["disabled"])),[[T]])])]),_:1},8,["model","rules","disabled","label-width","label-position"])),[[Y,f.value]])}}}),he=te(we,[["__scopeId","data-v-33d44caa"]]),Ve={class:"font-weight-bold"},ke=Object.assign({name:"PrinterChannelList"},{__name:"index",setup(R){const H=de(),{hasPermission:s}=ae(),O=le(),V=u(!1),B=u([]),A=u({}),N=u(!1),c=u(!1),x=u(!1),f=u(!1),w=u(null),k=u([]),r=P(()=>f.value?"添加打印机":"设置打印机"),Z=P(()=>O.isMobile?"100%":"50%");E();function E(){s("admin-printer-list")&&(V.value=!0,_e().then(i=>{B.value=i.data||[]}).catch(i=>{y.error(i.msg||"打印机列表加载失败")}).finally(()=>{V.value=!1}))}async function G(){if(!(N.value||!s("admin-printer-create"))&&await D()){if(!k.value.length){y.warning("暂无可用打印机驱动");return}f.value=!0,w.value=null,c.value=!0}}function J(i){s("admin-printer-detail")&&(f.value=!1,w.value=i.id,c.value=!0)}function v(){c.value=!1,E()}function e(i){s("admin-printer-content-read")&&H.push({path:ue.routePre+"/setting/printer/content",query:{id:i.id}})}async function D(){if(!s("admin-printer-drivers"))return y.error("没有查看打印机驱动的权限"),!1;N.value=!0;try{const i=await ge();return k.value=i.data||[],!0}catch(i){return y.error(i.msg||"打印机驱动加载失败"),!1}finally{N.value=!1}}function j(i){const d=i.status===1?0:1;if(!s("admin-printer-status")){i.status=d;return}if(!A.value[i.id])return A.value[i.id]=!0,fe(i.id,i.status).then(g=>{y.success(g.msg)}).catch(g=>{i.status=d,y.error(g.msg||"打印机状态更新失败")}).finally(()=>{A.value[i.id]=!1})}function h(i,d){if(s("admin-printer-delete"))return pe({title:"删除打印机",info:"删除后该打印机将不再接收小票,设备配置不可恢复。",url:`driver/printer_channel/del/${i.id}`,method:"DELETE",ids:""}).then(g=>{y.success(g.msg),E()}).catch(g=>{y.error(g.msg||"打印机删除失败")})}return(i,d)=>{const g=o("pages-header"),$=o("el-button"),K=o("el-col"),F=o("el-row"),b=o("el-table-column"),L=o("el-tag"),Q=o("el-switch"),X=o("el-table"),T=o("el-card"),Y=o("el-drawer"),n=q("auth"),W=q("db-click"),ne=q("loading");return m(),ee("div",null,[l(g,{class:"mb16",title:i.$route.meta.title},null,8,["title"]),l(T,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:t(()=>[l(F,{class:"action-row mb14"},{default:t(()=>[l(K,{span:24},{default:t(()=>[I(s)("admin-printer-create")?C((m(),_($,{key:0,type:"primary",loading:N.value,onClick:G},{default:t(()=>[...d[3]||(d[3]=[p(" 添加打印机 ",-1)])]),_:1},8,["loading"])),[[n,["admin-printer-create"]],[W]]):M("",!0)]),_:1})]),_:1}),C((m(),_(X,{data:B.value,ref:"table","highlight-current-row":"","row-key":"id"},{default:t(()=>[l(b,{label:"排序",width:"80",prop:"sort"},{default:t(a=>[U("span",null,S(a.row.sort),1)]),_:1}),l(b,{label:"打印机名称","min-width":"150"},{default:t(a=>[U("span",Ve,S(a.row.print_name),1)]),_:1}),l(b,{label:"驱动","min-width":"120"},{default:t(a=>[l(L,null,{default:t(()=>[p(S(a.row.driver),1)]),_:2},1024)]),_:1}),l(b,{label:"打印机ID","min-width":"150",prop:"printer_id"}),l(b,{label:"驱动状态",width:"100"},{default:t(a=>[l(L,{type:a.row.driver_status?"success":"danger"},{default:t(()=>[p(S(a.row.driver_status?"正常":"缺失"),1)]),_:2},1032,["type"])]),_:1}),l(b,{label:"打印时机",width:"120"},{default:t(a=>[l(L,{type:a.row.print_type==1?"primary":"warning"},{default:t(()=>[p(S(a.row.print_type==1?"支付后打印":"下单后打印"),1)]),_:2},1032,["type"])]),_:1}),l(b,{label:"打印联数",width:"80"},{default:t(a=>[U("span",null,S(a.row.times)+" 联",1)]),_:1}),l(b,{label:"状态",width:"120"},{default:t(a=>[C(l(Q,{"active-value":1,"inactive-value":0,modelValue:a.row.status,"onUpdate:modelValue":z=>a.row.status=z,loading:A.value[a.row.id],disabled:V.value||A.value[a.row.id]||!I(s)("admin-printer-status"),onChange:z=>j(a.row),"active-text":"开启","inactive-text":"关闭",class:"defineSwitch"},null,8,["modelValue","onUpdate:modelValue","loading","disabled","onChange"]),[[n,["admin-printer-status"]]])]),_:1}),l(b,{label:"操作",fixed:"right",width:"200"},{default:t(a=>[I(s)("admin-printer-content-read")?C((m(),_($,{key:0,link:"",type:"primary",onClick:z=>e(a.row)},{default:t(()=>[...d[4]||(d[4]=[p(" 设计 ",-1)])]),_:1},8,["onClick"])),[[n,["admin-printer-content-read"]],[W]]):M("",!0),I(s)("admin-printer-detail")?C((m(),_($,{key:1,link:"",type:"primary",onClick:z=>J(a.row)},{default:t(()=>[...d[5]||(d[5]=[p(" 设置 ",-1)])]),_:1},8,["onClick"])),[[n,["admin-printer-detail"]],[W]]):M("",!0),I(s)("admin-printer-delete")?C((m(),_($,{key:2,link:"",type:"danger",onClick:z=>h(a.row,a.$index)},{default:t(()=>[...d[6]||(d[6]=[p(" 删除 ",-1)])]),_:1},8,["onClick"])),[[n,["admin-printer-delete"]],[W]]):M("",!0)]),_:1})]),_:1},8,["data"])),[[ne,V.value]])]),_:1}),l(Y,{modelValue:c.value,"onUpdate:modelValue":d[2]||(d[2]=a=>c.value=a),title:r.value,size:Z.value,direction:"rtl","close-on-click-modal":!1,"show-close":!x.value,"close-on-press-escape":!x.value},{default:t(()=>[c.value?(m(),_(he,{key:0,"driver-id":w.value,"is-add":f.value,"driver-options":k.value,onClose:d[0]||(d[0]=a=>c.value=!1),onSuccess:v,onSubmitting:d[1]||(d[1]=a=>x.value=a)},null,8,["driver-id","is-add","driver-options"])):M("",!0)]),_:1},8,["modelValue","title","size","show-close","close-on-press-escape"])])}}}),Ue=te(ke,[["__scopeId","data-v-7a2c0a76"]]);export{Ue as default}; diff --git a/backend/public/admin/system_static/index-C6YWK6gX.js b/backend/public/admin/system_static/index-C6YWK6gX.js new file mode 100644 index 000000000..dc53e196f --- /dev/null +++ b/backend/public/admin/system_static/index-C6YWK6gX.js @@ -0,0 +1 @@ +import{k as y,y as p,z as h,j as a,C as o,A as m,$ as L,l as b,a as Fe,n as me,u as le,s as q,B as S,H as fe,F as G,D as J,Z as N,W as ce,ab as pe,a0 as $e,a2 as Ne,r as Te,ad as be,p as Se}from"./element-plus-C_ZDq0cz.js";import{_ as ae,b as Ie,h as De,bk as Le,aK as qe,u as Oe,aL as Be,S as Ae,bA as Re,aM as ve,A as Ke}from"./index-DHL7RTL2.js";import{c as _e,a as ge,b as Me,d as Pe,s as Ee,g as je,e as ze,f as He}from"./systemCodeGeneration-DVBdGskJ.js";import{_ as We,S as Ze}from"./sortable.esm-C9jepji9.js";import{e as Ge}from"./systemMenus-A7RZD8uO.js";import{s as Je}from"./index-FXNuAOau.js";import{u as Qe}from"./keepAliveNames-DXzO5c1g.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const Xe={class:"main"},Ye={__name:"FoundationFor",props:{foundation:{type:Object,default:()=>({})}},setup(f,{expose:R}){const K={tableName:[{required:!0,message:"请输入表名",trigger:"blur"}],modelName:[{required:!0,message:"请输入模块名",trigger:"blur"}]},M=b([]),n=b([]),E=[{value:"0",label:"不生成"},{value:"input",label:"input"},{value:"textarea",label:"textarea"},{value:"radio",label:"radio"},{value:"number",label:"number"},{value:"frameImageOne",label:"frameImageOne"},{value:"frameImages",label:"frameImages"}],V=b([]);function x(t){let s=V.value[t],g=["addTimestamps","addSoftDelete"].includes(V.value[t].field_type);return s.primaryKey&&(g=!0),s.field==="delete_time"&&s.field_type==="timestamp"&&(g=!0),g}function B(){V.value=[]}function _(t,s){t==="addSoftDelete"&&(V.value[s].comment="伪删除"),t==="addTimestamps"&&(V.value[s].comment="添加和修改时间")}function j(){_e().then(t=>{M.value=t.data}),ge().then(t=>{n.value=t.data.types})}function F(t){V.value.splice(t,1)}return j(),R({disabledInput:x,initfield:B,changeItemField:_,del:F,tableField:V,fromTypeList:E}),(t,s)=>{const g=y("el-alert"),z=y("el-cascader"),T=y("el-form-item"),A=y("el-input"),I=y("el-form");return p(),h("div",Xe,[a(g,{class:"mb20",closable:""},{title:o(()=>[...s[4]||(s[4]=[L("crud生成说明",-1)])]),default:o(()=>[s[5]||(s[5]=m("template",null,[L(" 不能生成系统自带的表;已经生成过的表还能继续生成 ")],-1))]),_:1}),a(I,{ref:"foundation",model:f.foundation,rules:K,"label-width":"100px"},{default:o(()=>[a(T,{label:"菜单:"},{default:o(()=>[a(z,{class:"form-width",modelValue:f.foundation.pid,"onUpdate:modelValue":s[0]||(s[0]=D=>f.foundation.pid=D),options:M.value,props:{checkStrictly:!0,multiple:!1,emitPath:!1},clearable:""},null,8,["modelValue","options"]),s[6]||(s[6]=m("div",{class:"tip"},"选项,选择的菜单成功后会自动写入到此菜单下",-1))]),_:1}),a(T,{label:"菜单名称:"},{default:o(()=>[a(A,{class:"form-width",modelValue:f.foundation.menuName,"onUpdate:modelValue":s[1]||(s[1]=D=>f.foundation.menuName=D),placeholder:"请输入菜单名称"},null,8,["modelValue"]),s[7]||(s[7]=m("div",{class:"tip"}," 生成菜单为可选项,不填写默认生成的菜单名称将为表名;生成后会把自动生成的权限默认加入该菜单下 ",-1))]),_:1}),a(T,{label:"模块名:",prop:"modelName"},{default:o(()=>[a(A,{class:"form-width",modelValue:f.foundation.modelName,"onUpdate:modelValue":s[2]||(s[2]=D=>f.foundation.modelName=D),placeholder:"请输入模块名"},null,8,["modelValue"]),s[8]||(s[8]=m("div",{class:"tip"},"模块名称为中文或者英文,用在接口名称前缀、表单头部标题",-1))]),_:1}),a(T,{label:"表名:",prop:"tableName"},{default:o(()=>[a(A,{class:"form-width",modelValue:f.foundation.tableName,"onUpdate:modelValue":s[3]||(s[3]=D=>f.foundation.tableName=D),placeholder:"请输入表名"},null,8,["modelValue"]),s[9]||(s[9]=m("div",{class:"tip"}," 用于生成CRUD指定的表名,不需要携带表前缀;对于生成过的表将不能在进行生成;或者可以删除对应的文件重新生成!对应系统中重要的数据表将不允许生成! ",-1))]),_:1})]),_:1},8,["model"])])}}},el=ae(Ye,[["__scopeId","data-v-f2cd2ff7"]]),ll={class:"main"},al={class:"df mb14"},tl={key:0,class:"drag"},dl={key:0,class:"table-options"},ol={key:1},nl=["onClick"],il={key:1},ul={class:"options-list"},sl={class:"mb10"},rl={style:{display:"inline-block","margin-bottom":"14px"}},ml=["onClick"],fl={class:"dialog-footer"},pl={__name:"TableForm",props:{foundation:{type:Object,default:()=>({})},id:{type:[String,Number]}},setup(f,{expose:R}){const K=f,M=b(null),n=b(null),E=b([]),V=b([]),x=b(!1),B=b(!1),_=b(!1),j=b([]),F=b(!1),t=b([]),s=b([]),g=b([]),z=b([]),T=b(""),A=b([]),I=b([]),D=b([]),te={lazy:!0,options:I,checkStrictly:!0,lazyLoad(i,l){const{value:r}=i;r&&Pe(r).then(w=>{l(w.data)})}};let Q=0;function de(){se()}function oe(){const i=M.value.$el.querySelectorAll(".el-table__body-wrapper > table > tbody")[0];Ze.create(i,{ghostClass:"sortable-ghost",handle:".handle",setData:function(l){l.setData("Text","")},onEnd:l=>{l.newIndex===0?setTimeout(()=>{X(l.oldIndex,l.newIndex,t.value,!0)},100):X(l.oldIndex,l.newIndex,t.value)}})}function X(i,l,r,w){const $=r,C=r[i],O=r[l];w?($[l]=O,$[i]=C):($[i]=O,$[l]=C),t.value=[],me(H=>{t.value=$})}function U(i){let l=t.value[i],r=["addTimestamps","addSoftDelete"].includes(t.value[i].field_type);return(l.primaryKey||l.field==="delete_time"&&l.field_type==="timestamp"||(l.field==="create_time"||l.field==="update_time")&&l.field_type==="timestamp")&&(r=!0),r}function ne(i,l){i==="addSoftDelete"&&(t.value[l].comment="伪删除"),i==="addTimestamps"&&(t.value[l].comment="添加和修改时间")}function ie(){let i={name:T.value,value:s.value};Ee(Q,i).then(l=>{x.value=!1,se()})}function c(){for(let r=0;r{(r.field==="create_time"||r.field==="update_time")&&l++,r.field==="delete_time"&&l++}),i=t.value.length-l,t.value.splice(i,0,{field:"",field_type:"",default:"",default_type:"-1",comment:"",required:!1,is_table:!0,table_name:"",limit:"",primaryKey:0,from_type:"",search:"",dictionary_id:0,hasOne:[],index:!1})}function v(i){if(i){let l=t.value.findIndex($=>$.field==="create_time"),r=t.value.findIndex($=>$.field==="update_time");if(l>0||r>0)return me($=>{B.value=!1}),N.warning("已存在 create_time或update_time");let w=[{field:"create_time",field_type:"timestamp",default:"",default_type:"-1",comment:"添加时间",required:!1,is_table:!1,table_name:"添加时间",limit:"",primaryKey:0,from_type:"",search:"",dictionary_id:0,hasOne:[],index:!1},{field:"update_time",field_type:"timestamp",default_type:"-1",default:"",comment:"修改时间",required:!1,is_table:!1,table_name:"修改时间",limit:"",primaryKey:0,from_type:"",search:"",dictionary_id:0,hasOne:[],index:!1}];t.value=[...t.value,...w]}else{let l=t.value.findIndex(r=>r.field==="create_time");t.value.splice(l,2)}}function u(i){if(i){if(t.value.findIndex(w=>w.field==="delete_time")>0)return _.value=!1,N.warning("已存在 delete_time");let r=[{field:"delete_time",field_type:"timestamp",default:"",default_type:"-1",comment:"伪删除",required:!1,is_table:!1,table_name:"伪删除",limit:"",primaryKey:0,from_type:"",search:"",dictionary_id:0,hasOne:[],index:!1}];t.value=[...t.value,...r]}else{let l=t.value.findIndex(r=>r.field==="delete_time");t.value.splice(l,1)}}function k(i){if(t.value[i].field){for(let l=0;l{r.value==i&&(t.value[l].limit=r.limit||"",t.value[l].field_type=r.field_type||"")})}function Y(){_e().then(i=>{E.value=i.data}),ge().then(i=>{V.value=i.data.types,j.value=i.data.form,A.value=i.data.default_type,z.value=i.data.search_type}),se(),Me().then(i=>{I.value=i.data})}function se(){je().then(i=>{D.value=i.data.list})}function ye(i,l){t.value.splice(l,1),K.id&&g.value.push(i.field)}function Ve(){s.value.push({label:"",value:""})}function we(i){s.value.splice(i,1)}return Y(),Fe(()=>{me(i=>{oe()})}),R({tableField:t,isCreate:B,isDelete:_,deleteField:g}),(i,l)=>{const r=y("el-alert"),w=y("el-button"),$=y("el-checkbox"),C=y("el-table-column"),O=y("el-input"),H=y("el-option"),W=y("el-select"),he=y("el-cascader"),xe=y("el-table"),re=y("el-form-item"),Ue=y("el-form"),ke=y("el-dialog"),Z=le("db-click"),Ce=le("loading");return p(),h("div",ll,[a(r,{closable:"",class:"mb14"},{title:o(()=>[...l[5]||(l[5]=[L("crud生成说明",-1)])]),default:o(()=>[l[6]||(l[6]=m("p",null," 1、字段配置中表存在生成的字段为表内列的信息,并且主键、伪删除字段不允许设置为列,主键默认展示在列表中,伪删除字段不允许展示 ",-1)),l[7]||(l[7]=m("p",null,"2、在字段配置中新建表时,主键不需要增加列,会自动增加一行主键id",-1)),l[8]||(l[8]=m("p",null,"3、在字段配置中,表单类型为不生成时创建后不会生成对应的表单项",-1)),l[9]||(l[9]=m("p",null,"4、添加字段id、create_time、update_time、delete_time为不可用字段",-1))]),_:1}),m("div",al,[q((p(),S(w,{class:"mr20",type:"primary",onClick:c},{default:o(()=>[...l[10]||(l[10]=[L("添加一行",-1)])]),_:1})),[[Z]]),a($,{class:"mr10",modelValue:B.value,"onUpdate:modelValue":l[0]||(l[0]=e=>B.value=e),onChange:v},{default:o(()=>[...l[11]||(l[11]=[L("添加与修改时间",-1)])]),_:1},8,["modelValue"]),a($,{class:"mr10",modelValue:_.value,"onUpdate:modelValue":l[1]||(l[1]=e=>_.value=e),onChange:u},{default:o(()=>[...l[12]||(l[12]=[L("伪删除",-1)])]),_:1},8,["modelValue"])]),m("div",null,[q((p(),S(xe,{ref_key:"selection",ref:M,data:t.value,"empty-text":"暂无数据","highlight-current-row":"","max-height":"600"},{default:o(()=>[a(C,{label:"","min-width":"40"},{default:o(e=>[U(e.$index)?fe("",!0):(p(),h("div",tl,[...l[13]||(l[13]=[m("img",{class:"handle",src:We,alt:""},null,-1)])]))]),_:1}),a(C,{label:"表单名","min-width":"130"},{default:o(e=>[a(O,{modelValue:e.row.table_name,"onUpdate:modelValue":d=>e.row.table_name=d,disabled:U(e.$index)&&e.row.field=="id",onChange:d=>P(d,e.$index)},null,8,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:1}),a(C,{label:"表单类型","min-width":"130"},{default:o(e=>[a(W,{clearable:"",modelValue:e.row.from_type,"onUpdate:modelValue":d=>e.row.from_type=d,disabled:U(e.$index)&&e.row.field=="id",onChange:d=>ue(d,e.$index)},{default:o(()=>[(p(!0),h(G,null,J(j.value,d=>(p(),S(H,{value:d.value,key:d.value,label:d.label},null,8,["value","label"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:1}),a(C,{label:"数据字典","min-width":"130"},{default:o(e=>[["select","radio","checkbox"].includes(e.row.from_type)?(p(),h("div",dl,[a(W,{clearable:"",modelValue:e.row.dictionary_id,"onUpdate:modelValue":d=>e.row.dictionary_id=d},{default:o(()=>[(p(!0),h(G,null,J(D.value,d=>(p(),S(H,{value:d.id,key:d.id,label:d.name},null,8,["value","label"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue"])])):(p(),h("div",ol,"--"))]),_:1}),a(C,{label:"必填",width:"50"},{default:o(e=>[a($,{modelValue:e.row.required,"onUpdate:modelValue":d=>e.row.required=d,disabled:U(e.$index)&&e.row.field=="id"},null,8,["modelValue","onUpdate:modelValue","disabled"])]),_:1}),a(C,{label:"查询方式","min-width":"130"},{default:o(e=>[a(W,{clearable:"",modelValue:e.row.search,"onUpdate:modelValue":d=>e.row.search=d,disabled:U(e.$index),placeholder:"请选择"},{default:o(()=>[(p(!0),h(G,null,J(z.value,d=>(p(),S(H,{label:d.label,value:d.value,key:d.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])]),_:1}),a(C,{label:"列表",width:"50"},{default:o(e=>[a($,{modelValue:e.row.is_table,"onUpdate:modelValue":d=>e.row.is_table=d,disabled:U(e.$index)&&e.row.field=="id"},null,8,["modelValue","onUpdate:modelValue","disabled"])]),_:1}),a(C,{label:"字段名称","min-width":"120"},{default:o(e=>[a(O,{disabled:U(e.$index),modelValue:e.row.field,"onUpdate:modelValue":d=>e.row.field=d,onBlur:d=>k(e.$index)},null,8,["disabled","modelValue","onUpdate:modelValue","onBlur"])]),_:1}),a(C,{label:"字段类型","min-width":"130"},{default:o(e=>[a(W,{modelValue:e.row.field_type,"onUpdate:modelValue":d=>e.row.field_type=d,disabled:U(e.$index),clearable:"",onChange:d=>ne(d,e.$index)},{default:o(()=>[(p(!0),h(G,null,J(V.value,d=>(p(),S(H,{value:d,key:d,label:d},null,8,["value","label"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue","disabled","onChange"])]),_:1}),a(C,{label:"长度","min-width":"80"},{default:o(e=>[e.row.field_type!=="enum"?(p(),S(O,{key:0,modelValue:e.row.limit,"onUpdate:modelValue":d=>e.row.limit=d,disabled:U(e.$index)},null,8,["modelValue","onUpdate:modelValue","disabled"])):(p(),S(W,{key:1,modelValue:e.row.limit,"onUpdate:modelValue":d=>e.row.limit=d,multiple:"",filterable:"","allow-create":"",clearable:"","default-first-option":"",placeholder:"请添加"},null,8,["modelValue","onUpdate:modelValue"]))]),_:1}),a(C,{label:"默认值","min-width":"180"},{default:o(e=>[a(O,{class:"input-with-select",modelValue:e.row.default,"onUpdate:modelValue":d=>e.row.default=d,disabled:U(e.$index)||e.row.default_type!=="1"},{prepend:o(()=>[a(W,{class:"code-table-sel",clearable:"",modelValue:e.row.default_type,"onUpdate:modelValue":d=>e.row.default_type=d,disabled:U(e.$index),placeholder:"请选择",style:{width:"100px"}},{default:o(()=>[(p(!0),h(G,null,J(A.value,d=>(p(),S(H,{label:d.label,value:d.value,key:d.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]),_:1}),a(C,{label:"字段描述","min-width":"130"},{default:o(e=>[a(O,{modelValue:e.row.comment,"onUpdate:modelValue":d=>e.row.comment=d,disabled:U(e.$index)},null,8,["modelValue","onUpdate:modelValue","disabled"])]),_:1}),a(C,{label:"关联表","min-width":"130"},{default:o(e=>[a(he,{clearable:"",filterable:"",modelValue:e.row.hasOne,"onUpdate:modelValue":d=>e.row.hasOne=d,disabled:U(e.$index)&&e.row.field=="id",options:I.value,props:te},null,8,["modelValue","onUpdate:modelValue","disabled","options"])]),_:1}),a(C,{label:"索引",width:"50"},{default:o(e=>[a($,{modelValue:e.row.index,"onUpdate:modelValue":d=>e.row.index=d,disabled:U(e.$index)&&e.row.field=="id"},null,8,["modelValue","onUpdate:modelValue","disabled"])]),_:1}),a(C,{label:"操作",fixed:"right",width:"100"},{default:o(e=>[!e.row.primaryKey&&!U(e.$index)?q((p(),h("a",{key:0,onClick:d=>ye(i.row,e.$index)},[...l[14]||(l[14]=[L("删除",-1)])],8,nl)),[[Z]]):(p(),h("span",il,"--"))]),_:1})]),_:1},8,["data"])),[[Ce,F.value]])]),a(ke,{modelValue:x.value,"onUpdate:modelValue":l[4]||(l[4]=e=>x.value=e),title:"字典配置",onClose:de,"close-on-click-modal":!1,width:"600px"},{footer:o(()=>[m("span",fl,[q((p(),S(w,{onClick:l[3]||(l[3]=e=>x.value=!1)},{default:o(()=>[...l[15]||(l[15]=[L("取 消",-1)])]),_:1})),[[Z]]),q((p(),S(w,{type:"primary",onClick:ie},{default:o(()=>[...l[16]||(l[16]=[L("确 定",-1)])]),_:1})),[[Z]])])]),default:o(()=>[m("div",ul,[a(Ue,{ref_key:"form",ref:n,inline:!0,"label-width":"80px"},{default:o(()=>[m("div",sl,[a(re,{label:"字典名称:"},{default:o(()=>[a(O,{class:"mr10",modelValue:T.value,"onUpdate:modelValue":l[2]||(l[2]=e=>T.value=e),placeholder:"字典名称",style:{width:"310px"}},null,8,["modelValue"])]),_:1})]),(p(!0),h(G,null,J(s.value,(e,d)=>(p(),h("div",{class:"item",key:d},[a(re,{label:"数据名称:"},{default:o(()=>[a(O,{class:"mr10",modelValue:e.label,"onUpdate:modelValue":ee=>e.label=ee,placeholder:"label",style:{width:"150px"}},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),a(re,{label:"数据值:"},{default:o(()=>[a(O,{class:"mr10",modelValue:e.value,"onUpdate:modelValue":ee=>e.value=ee,placeholder:"value",style:{width:"150px"}},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),m("div",rl,[d==s.value.length-1?q((p(),h("i",{key:0,class:"el-icon-circle-plus-outline add",title:"新增",onClick:Ve},null,512)),[[Z]]):fe("",!0),d>0?q((p(),h("i",{key:1,class:"el-icon-remove-outline delete",title:"删除",onClick:ee=>we(d)},null,8,ml)),[[Z]]):fe("",!0)])]))),128))]),_:1},512)])]),_:1},8,["modelValue"])])}}},cl=ae(pl,[["__scopeId","data-v-01015212"]]),bl={class:"main"},vl={__name:"StorageLoc",props:{storage:{type:Object,default:()=>({})}},setup(f){const R=b(null),K={};return(M,n)=>{const E=y("el-alert"),V=y("el-input"),x=y("el-form-item"),B=y("el-form");return p(),h("div",bl,[a(E,{closable:"",class:"mb20"},{title:o(()=>[...n[9]||(n[9]=[L("crud生成文件位置说明",-1)])]),default:o(()=>[n[10]||(n[10]=m("p",null,"1、生成的文件位置尽量不能修改,可以在创建后自行移动",-1)),n[11]||(n[11]=m("p",null,"2、生成的文件位置不会包含文件的绝对路径,在创建时会携带提前预设的绝对路径",-1)),n[12]||(n[12]=m("p",null,"3、前端模板文件默认位置在:config/app.php的admin_template_path中配置",-1)),n[13]||(n[13]=m("p",null,"4、后端默认生成位置为:网站根目录",-1)),n[14]||(n[14]=m("p",null,"5、确保前端/admin/src目录、后端app目录有写入创建文件权限",-1))]),_:1}),a(B,{ref_key:"foundation",ref:R,model:f.storage,rules:K,"label-width":"140px"},{default:o(()=>[a(x,{label:"生成controller位置:"},{default:o(()=>[a(V,{class:"form-width",modelValue:f.storage.controller,"onUpdate:modelValue":n[0]||(n[0]=_=>f.storage.controller=_),disabled:"",placeholder:"请输入"},null,8,["modelValue"]),n[15]||(n[15]=m("div",{class:"tip"},"生成后端控制器文件存放位置",-1))]),_:1}),a(x,{label:"生成service位置:"},{default:o(()=>[a(V,{class:"form-width",modelValue:f.storage.service,"onUpdate:modelValue":n[1]||(n[1]=_=>f.storage.service=_),disabled:"",placeholder:"请输入"},null,8,["modelValue"]),n[16]||(n[16]=m("div",{class:"tip"},"生成后端service文件存放位置",-1))]),_:1}),a(x,{label:"生成dao位置:"},{default:o(()=>[a(V,{class:"form-width",modelValue:f.storage.dao,"onUpdate:modelValue":n[2]||(n[2]=_=>f.storage.dao=_),disabled:"",placeholder:"请输入"},null,8,["modelValue"]),n[17]||(n[17]=m("div",{class:"tip"},"生成后端dao文件存放位置",-1))]),_:1}),a(x,{label:"生成model位置:"},{default:o(()=>[a(V,{class:"form-width",modelValue:f.storage.model,"onUpdate:modelValue":n[3]||(n[3]=_=>f.storage.model=_),disabled:"",placeholder:"请输入"},null,8,["modelValue"]),n[18]||(n[18]=m("div",{class:"tip"},"生成后端model文件存放位置",-1))]),_:1}),a(x,{label:"生成route位置:"},{default:o(()=>[a(V,{class:"form-width",modelValue:f.storage.route,"onUpdate:modelValue":n[4]||(n[4]=_=>f.storage.route=_),disabled:"",placeholder:"请输入"},null,8,["modelValue"]),n[19]||(n[19]=m("div",{class:"tip"},"生成后端路由存放位置",-1))]),_:1}),a(x,{label:"生成validate位置:"},{default:o(()=>[a(V,{class:"form-width",modelValue:f.storage.validate,"onUpdate:modelValue":n[5]||(n[5]=_=>f.storage.validate=_),disabled:"",placeholder:"请输入"},null,8,["modelValue"]),n[20]||(n[20]=m("div",{class:"tip"},"生成后端验证器存放位置",-1))]),_:1}),a(x,{label:"生成pages位置:"},{default:o(()=>[a(V,{class:"form-width",modelValue:f.storage.pages,"onUpdate:modelValue":n[6]||(n[6]=_=>f.storage.pages=_),disabled:"",placeholder:"请输入"},null,8,["modelValue"]),n[21]||(n[21]=m("div",{class:"tip"},"生成前端页面文件存放位置",-1))]),_:1}),a(x,{label:"生成api位置:"},{default:o(()=>[a(V,{class:"form-width",modelValue:f.storage.api,"onUpdate:modelValue":n[7]||(n[7]=_=>f.storage.api=_),disabled:"",placeholder:"请输入"},null,8,["modelValue"]),n[22]||(n[22]=m("div",{class:"tip"},"生成前端api接口文件存放位置",-1))]),_:1}),a(x,{label:"生成router位置:"},{default:o(()=>[a(V,{class:"form-width",modelValue:f.storage.router,"onUpdate:modelValue":n[8]||(n[8]=_=>f.storage.router=_),disabled:"",placeholder:"请输入"},null,8,["modelValue"]),n[23]||(n[23]=m("div",{class:"tip"},"生成前端路由存放位置",-1))]),_:1})]),_:1},8,["model"])])}}},_l=ae(vl,[["__scopeId","data-v-1259129f"]]),gl={class:"code-wapper"},yl={class:"message mt10"},Vl={class:"pt10 tab-1"},wl={class:"pt10"},hl={class:"pt10"},xl=Object.assign({name:"system_code_generation"},{__name:"index",setup(f){const R=Ie(),K=De(),M=Le(),n=qe(),E=Oe(),V=Be(),x=Qe(),B=Ae.routePre,_=b(null),j=b(null),F=b(null),t=b(0),s=["基础信息","字段配置","存放位置"],g=Te({foundation:{pid:"",tableName:"",modelName:"",isTable:1,menuName:""},tableForm:{},storage:{},field:{},formItem:{}}),z=b([]),T=b(!1),A=b(!1),I=b(""),D=Se(()=>{let{layout:c,isCollapse:v}=M.themeConfig,u;return["columns"].includes(c)?v?u="85px":u="265px":["classic"].includes(c)?v?u="69px":u="190px":["defaults","classic"].includes(c)?v?u="64px":u="180px":u="0px",u});function te(c){A.value=!0,ze(c).then(v=>{let u=v.data.crudInfo.field;g.foundation.pid=Number(u.pid),g.foundation.tableName=u.tableName,g.foundation.modelName=u.modelName,g.foundation.menuName=u.menuName,F.value.tableField=u.tableField,g.storage=u.filePath;let k=0;u.tableField.map(P=>{(P.field==="create_time"||P.field==="update_time")&&(k++,k==2&&(F.value.isCreate=!0)),P.field==="delete_time"&&(F.value.isDelete=!0)}),A.value=!1}).catch(v=>{N.warning(v.msg)})}function Q(c){g.storage=c}function de(){t.value--}function oe(){let c=g.foundation;if(!c.tableName)return N.warning("请先填写表名");let v={menuName:c.menuName,tableName:c.tableName,fromField:[],columnField:[]};He(v).then(u=>{F.value.tableField=u.data.tableField.length?u.data.tableField:[],g.storage=u.data.makePath,u.data.tableField.length||F.value.tableField.push({field:"id",field_type:"int",default:"",comment:"自增ID",required:!1,is_table:!0,table_name:"ID",limit:"15",primaryKey:1,from_type:""}),t.value++}).catch(u=>{N.warning(u.msg)})}function X(){if(t.value==0){if(!g.foundation.tableName)return N.warning("请输入表名");if(!g.foundation.modelName)return N.warning("请输入模块名");if(!g.foundation.isTable){if(!F.value.tableField.length)return N.warning("请先添加表数据");if(F.value.tableField.length)for(let c=0;c{U(c)}).catch(()=>{})):be({title:"生成提醒",message:"生成后本地开发调试会直接加载生成的vue页面;如果是上线后进行生成,可以进行浏览,代码生成列表中的修改文件将不生效。需要重新打包上线!",showCancelButton:!0,cancelButtonText:"取消",confirmButtonText:"确定",iconClass:"el-icon-warning",confirmButtonClass:"btn-custom-cancel"}).then(()=>{U(c)}).catch(()=>{})}else t.value<3&&t.value++}function U(c,v){T.value=!0,Re(c).then(u=>{N.success(u.msg),ne(),T.value=!1,K.push({name:"system_code_generation_list"})}).catch(u=>{T.value=!1,N.error(u.msg)})}function ne(){Ge().then(c=>{let v=c.data;E.setUniqueAuth(v.uniqueAuth),n.getmenusNav(v.menus),V.setRoutesList(v.menus);let u=ve(K.options.routes);ie(u);let k=ve(v.menus);n.setOneLvRoute(k),Ke.emit("routesListChange")})}function ie(c){if(c.length<=0)return!1;const v=[],u=[];return c.forEach(k=>{k&&k.meta&&k.meta.keepAlive&&(v.push({...k}),u.push(k.name),x.setCacheKeepAlive(u))}),v}return R.query.id&&(I.value=R.query.id,te(R.query.id)),(c,v)=>{const u=y("pages-header"),k=y("el-card"),P=y("el-button"),ue=le("loading"),Y=le("db-click");return p(),h("div",gl,[a(u,{ref_key:"pageHeader",ref:_,title:c.$route.meta.title,backUrl:ce(B)+"/system/code_generation_list"},null,8,["title","backUrl"]),m("div",yl,[a(k,{bordered:!1,shadow:"never",class:""},{default:o(()=>[a(ce(Je),{stepList:s,isActive:t.value},null,8,["isActive"])]),_:1})]),q((p(),h("div",Vl,[a(k,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:o(()=>[a(el,{ref_key:"Foundation",ref:j,foundation:g.foundation,tableField:z.value,onStorageData:Q},null,8,["foundation","tableField"])]),_:1})])),[[pe,t.value=="0"],[ue,A.value]]),q(m("div",wl,[a(k,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:o(()=>[a(cl,{ref_key:"TableFormRef",ref:F,foundation:g.foundation,tableField:z.value,id:I.value,onStorageData:Q},null,8,["foundation","tableField","id"])]),_:1})],512),[[pe,t.value=="1"]]),q(m("div",hl,[a(k,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:o(()=>[a(_l,{storage:g.storage},null,8,["storage"])]),_:1})],512),[[pe,t.value=="2"]]),a(k,{bordered:!1,class:"fixed-card",style:Ne({left:`${D.value}`}),shadow:"never"},{default:o(()=>[q((p(),S(P,{disabled:!t.value,class:"mr20",onClick:de},{default:o(()=>[...v[0]||(v[0]=[L("上一步",-1)])]),_:1},8,["disabled"])),[[Y]]),q((p(),S(P,{type:"primary",onClick:X},{default:o(()=>[L($e(t.value==2?"提交":"下一步"),1)]),_:1})),[[Y]])]),_:1},8,["style"])])}}}),Ll=ae(xl,[["__scopeId","data-v-cc7c97f9"]]);export{Ll as default}; diff --git a/backend/public/admin/system_static/index-C6_gM9tb.js b/backend/public/admin/system_static/index-C6_gM9tb.js new file mode 100644 index 000000000..de0029d43 --- /dev/null +++ b/backend/public/admin/system_static/index-C6_gM9tb.js @@ -0,0 +1 @@ +import{g as ue,L as _e,k as d,u as g,y as o,z as i,j as t,C as a,A as c,ac as ce,s as m,B as y,$ as h,a0 as u,H as me,p as E,r as T,l as p,Z as S}from"./element-plus-C_ZDq0cz.js";import{_ as pe,h as ve,a as fe,S as I,m as we}from"./index-DHL7RTL2.js";import{l as he,r as be,m as ge}from"./marketing-BAfn8OEa.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const ye={class:"padding-add"},ke={key:0},Ve={key:1},Ce={key:2},xe={key:3},$e={key:0},De={key:1},Se={key:0},Ue={key:1},Fe={key:0},Le={key:1},Be={key:0},Ae={key:1},Ee={class:"fa"},Ie={class:"sheng"},Me=["onClick"],Pe=["onClick"],ze=["onClick"],Ne=["onClick"],Re={class:"acea-row row-right page"},je={class:"tabBox_img"},Te=Object.assign({name:"marketing_storeCouponIssue"},{__name:"index",setup(He){const{proxy:Oe}=ue(),U=ve(),H=fe(),O=p(null),F=p(!1),k=p(!1),s=T({status:"",coupon_type:"",coupon_title:"",receive_type:"",page:1,limit:15}),V=p(""),L=p([]),C=p(0),M=p([]),x=p(!1),W=p(0),Z=T({page:1,limit:15}),q=p({});_e(()=>{$()});const P=E(()=>H.isMobile),G=E(()=>P.value?void 0:"90px"),J=E(()=>P.value?"top":"right");function K(n){F.value=!0,q.value=n,Q(n)}function Q(n){x.value=!0,ge(n.id,Z).then(async l=>{let b=l.data;M.value=b.list,W.value=l.data.count,x.value=!1}).catch(l=>{x.value=!1,S.error(l.msg)})}function X(n,l,b){let v={title:l,url:`marketing/coupon/released/${n.id}`,method:"DELETE",ids:""};we(v).then(_=>{S.success(_.msg),L.value.splice(b,1),C.value--}).catch(_=>{S.error(_.msg)})}function $(){k.value=!0,s.receive_type=V.value==="all"?"":V.value,s.status=s.status||"",be(s).then(async n=>{let l=n.data;L.value=l.list,C.value=n.data.count,k.value=!1}).catch(n=>{k.value=!1,S.error(n.msg)})}function D(){s.page=1,$()}function Y(){U.push({path:I.routePre+"/marketing/store_coupon_issue/create"})}function ee(n){U.push({path:I.routePre+`/marketing/store_coupon_issue/create/${n.id}`})}function te(n){U.push({path:I.routePre+`/marketing/store_coupon_issue/create/${n.id}/1`})}function le(n){he(n).then(()=>$())}return(n,l)=>{const b=d("el-input"),v=d("el-form-item"),_=d("el-option"),B=d("el-select"),z=d("el-button"),ae=d("el-form"),N=d("el-card"),r=d("el-table-column"),oe=d("el-switch"),A=d("el-divider"),R=d("el-table"),ne=d("pagination"),ie=d("el-dialog"),f=g("db-click"),se=g("auth"),j=g("loading"),re=g("lazy"),de=g("viewer");return o(),i("div",null,[t(N,{bordered:!1,shadow:"never","body-style":{padding:0}},{default:a(()=>[c("div",ye,[t(ae,{ref_key:"tableFromRef",ref:O,model:s,"label-width":G.value,"label-position":J.value,onSubmit:l[4]||(l[4]=ce(()=>{},["prevent"])),inline:""},{default:a(()=>[t(v,{label:"优惠券名称:","label-for":"coupon_title"},{default:a(()=>[t(b,{modelValue:s.coupon_title,"onUpdate:modelValue":l[0]||(l[0]=e=>s.coupon_title=e),placeholder:"请输入优惠券名称",class:"form_content_width",maxlength:"18","show-word-limit":"",clearable:""},null,8,["modelValue"])]),_:1}),t(v,{label:"优惠券类型:","label-for":"coupon_type"},{default:a(()=>[t(B,{modelValue:s.coupon_type,"onUpdate:modelValue":l[1]||(l[1]=e=>s.coupon_type=e),placeholder:"请选择",clearable:"",onChange:D,class:"form_content_width"},{default:a(()=>[t(_,{value:"0",label:"通用券"}),t(_,{value:"1",label:"品类券"}),t(_,{value:"2",label:"商品券"})]),_:1},8,["modelValue"])]),_:1}),t(v,{label:"是否有效:","label-for":"status"},{default:a(()=>[t(B,{modelValue:s.status,"onUpdate:modelValue":l[2]||(l[2]=e=>s.status=e),placeholder:"请选择",clearable:"",onChange:D,class:"form_content_width"},{default:a(()=>[t(_,{value:"1",label:"正常"}),t(_,{value:"0",label:"未开启"})]),_:1},8,["modelValue"])]),_:1}),t(v,{label:"发放方式:","label-for":"status"},{default:a(()=>[t(B,{modelValue:V.value,"onUpdate:modelValue":l[3]||(l[3]=e=>V.value=e),placeholder:"请选择",clearable:"",onChange:D,class:"form_content_width"},{default:a(()=>[t(_,{value:"all",label:"全部"}),t(_,{value:"1",label:"用户领取"}),t(_,{value:"2",label:"系统赠送"})]),_:1},8,["modelValue"])]),_:1}),t(v,null,{default:a(()=>[m((o(),y(z,{type:"primary",onClick:D},{default:a(()=>[...l[8]||(l[8]=[h("查询",-1)])]),_:1})),[[f]])]),_:1})]),_:1},8,["model","label-width","label-position"])])]),_:1}),t(N,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:a(()=>[m((o(),y(z,{type:"primary",onClick:Y,class:"action-row"},{default:a(()=>[...l[9]||(l[9]=[h("添加优惠券",-1)])]),_:1})),[[se,["admin-marketing-store_coupon-add"]],[f]]),m((o(),y(R,{data:L.value,ref:"table",class:"mt14","highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:a(()=>[t(r,{label:"ID",width:"80"},{default:a(e=>[c("span",null,u(e.row.id),1)]),_:1}),t(r,{label:"优惠券名称","min-width":"150"},{default:a(e=>[c("span",null,u(e.row.coupon_title),1)]),_:1}),t(r,{label:"优惠券类型","min-width":"80"},{default:a(e=>[e.row.type===1?(o(),i("span",ke,"品类券")):e.row.type===2?(o(),i("span",Ve,"商品券")):e.row.type===3?(o(),i("span",Ce,"会员券")):(o(),i("span",xe,"通用券"))]),_:1}),t(r,{label:"面值","min-width":"100"},{default:a(e=>[c("span",null,u(e.row.coupon_price),1)]),_:1}),t(r,{label:"领取方式","min-width":"150"},{default:a(e=>[e.row.receive_type===1||e.row.receive_type===4?(o(),i("span",$e,"用户领取")):(o(),i("span",De,"系统赠送"))]),_:1}),t(r,{label:"领取日期","min-width":"100"},{default:a(e=>[e.row.start_time?(o(),i("div",Se,u(n.$filters.formatDate(e.row.start_time))+" - "+u(n.$filters.formatDate(e.row.end_time)),1)):(o(),i("span",Ue,"不限时"))]),_:1}),t(r,{label:"使用时间","min-width":"100"},{default:a(e=>[e.row.start_use_time?(o(),i("div",Fe,u(n.$filters.formatDate(e.row.start_use_time))+" - "+u(n.$filters.formatDate(e.row.end_use_time)),1)):(o(),i("div",Le,u(e.row.coupon_time)+"天",1))]),_:1}),t(r,{label:"发布数量","min-width":"100"},{default:a(e=>[e.row.is_permanent?(o(),i("span",Be,"不限量")):(o(),i("div",Ae,[c("span",Ee,"发布:"+u(e.row.total_count),1),c("span",Ie,"剩余:"+u(e.row.remain_count),1)]))]),_:1}),t(r,{label:"是否开启","min-width":"100"},{default:a(e=>[t(oe,{"active-value":1,"inactive-value":0,modelValue:e.row.status,"onUpdate:modelValue":w=>e.row.status=w,value:e.row.status,size:"large",onChange:w=>le(e.row)},null,8,["modelValue","onUpdate:modelValue","value","onChange"])]),_:1}),t(r,{label:"操作",fixed:"right",width:"200"},{default:a(e=>[m((o(),i("a",{onClick:w=>K(e.row)},[...l[10]||(l[10]=[h("领取记录",-1)])],8,Me)),[[f]]),t(A,{direction:"vertical"}),m((o(),i("a",{onClick:w=>te(e.row)},[...l[11]||(l[11]=[h("编辑",-1)])],8,Pe)),[[f]]),t(A,{direction:"vertical"}),m((o(),i("a",{onClick:w=>ee(e.row)},[...l[12]||(l[12]=[h("复制",-1)])],8,ze)),[[f]]),t(A,{direction:"vertical"}),m((o(),i("a",{onClick:w=>X(e.row,"删除发布的优惠券",e.$index)},[...l[13]||(l[13]=[h("删除",-1)])],8,Ne)),[[f]])]),_:1})]),_:1},8,["data"])),[[j,k.value]]),c("div",Re,[C.value?(o(),y(ne,{key:0,total:C.value,page:s.page,"onUpdate:page":l[5]||(l[5]=e=>s.page=e),limit:s.limit,"onUpdate:limit":l[6]||(l[6]=e=>s.limit=e),onPagination:$},null,8,["total","page","limit"])):me("",!0)])]),_:1}),t(ie,{modelValue:F.value,"onUpdate:modelValue":l[7]||(l[7]=e=>F.value=e),title:"领取记录","close-on-click-modal":!1,width:"720px"},{default:a(()=>[m((o(),y(R,{data:M.value,ref:"table","highlight-current-row":"",height:"500","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:a(()=>[t(r,{label:"ID","min-width":"150"},{default:a(e=>[c("span",null,u(e.row.uid),1)]),_:1}),t(r,{label:"用户名","min-width":"150"},{default:a(e=>[c("span",null,u(e.row.nickname),1)]),_:1}),t(r,{label:"用户头像","min-width":"150"},{default:a(e=>[m((o(),i("div",je,[m(c("img",null,null,512),[[re,e.row.avatar]])])),[[de]])]),_:1}),t(r,{label:"领取时间","min-width":"150"},{default:a(e=>[c("span",null,u(e.row.add_time),1)]),_:1})]),_:1},8,["data"])),[[j,x.value]])]),_:1},8,["modelValue"])])}}}),Qe=pe(Te,[["__scopeId","data-v-d0dede4e"]]);export{Qe as default}; diff --git a/backend/public/admin/system_static/index-C6rRQCTO.css b/backend/public/admin/system_static/index-C6rRQCTO.css new file mode 100644 index 000000000..a0f8029e9 --- /dev/null +++ b/backend/public/admin/system_static/index-C6rRQCTO.css @@ -0,0 +1 @@ +.ivu-mt .type .item[data-v-7497dc62]{margin:3px 0}.tabform[data-v-7497dc62]{margin-bottom:10px}.Refresh[data-v-7497dc62]{font-size:12px;color:var(--prev-color-primary);cursor:pointer}.ivu-form-item[data-v-7497dc62]{margin-bottom:10px}.status[data-v-7497dc62] .item~.item{margin-left:6px}.status[data-v-7497dc62] .statusVal{margin-bottom:7px}[data-v-7497dc62] .type{padding:3px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.tabBox_img[data-v-7497dc62]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-7497dc62]{width:100%;height:100%}.z-price[data-v-7497dc62]{color:red}.f-price[data-v-7497dc62]{color:green} diff --git a/backend/public/admin/system_static/index-C9P97TTT.css b/backend/public/admin/system_static/index-C9P97TTT.css new file mode 100644 index 000000000..c7150df9c --- /dev/null +++ b/backend/public/admin/system_static/index-C9P97TTT.css @@ -0,0 +1 @@ +.df-cc[data-v-0329e626]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.steps-item[data-v-0329e626]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:-webkit-max-content;width:-moz-max-content;width:max-content}.steps-item .dot[data-v-0329e626]{width:28px;height:28px;color:#c0c4cc;border:1px solid #c0c4cc;border-radius:50%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-right:8px}.steps-item .title[data-v-0329e626]{font-size:16px;font-weight:400;color:#909399;line-height:16px;white-space:nowrap}.steps-item .line[data-v-0329e626]{height:1px;margin:0 20px;background:#ddd}.steps-item .wd160[data-v-0329e626]{width:160px}.steps-item .wd120[data-v-0329e626]{width:120px}.steps-item .wd100[data-v-0329e626]{width:100px}.steps-item.active .title[data-v-0329e626]{font-size:16px;font-weight:500;color:#303133;line-height:16px}.steps-item.active .dot[data-v-0329e626]{width:28px;height:28px;background:var(--prev-color-primary);border:1px solid var(--prev-color-primary);color:#fff} diff --git a/backend/public/admin/system_static/index-C9edqb5w.js b/backend/public/admin/system_static/index-C9edqb5w.js new file mode 100644 index 000000000..f2c6496e9 --- /dev/null +++ b/backend/public/admin/system_static/index-C9edqb5w.js @@ -0,0 +1 @@ +import{f as fe,a as ve,k as u,u as A,y as s,z as y,j as l,C as a,A as n,ac as be,s as r,B as k,$ as f,a0 as m,H as we,Z as v,p as F,r as J,l as g}from"./element-plus-C_ZDq0cz.js";import{_ as ge,b as ke,o as $,m as K}from"./index-DHL7RTL2.js";import{m as he,a as ye,b as Ve,c as Ce,l as xe,g as $e,d as De,e as Te,f as Ae}from"./membershipLevel-C-i0J-Hs.js";import{u as Ee}from"./layout-BstPWRqw.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const Se={class:"padding-add"},Ue={class:"tabBox_img"},Le=["onClick"],Be=["onClick"],Fe=["onClick"],Ie={class:"acea-row row-right page"},Me={class:"task-modal"},Ne={class:"add-task"},ze=["onClick"],Re=["onClick"],je=Object.assign({name:"list"},{__name:"index",setup(Pe){const I=ke(),Q=Ee(),M=g(null),X=g(null),E=g(!1),_=J({status:"",page:1,limit:15,gid:0}),b=J({keyword:"",page:1,limit:15,status:""}),S=g(0),Y=g(0),U=g([]),L=g([]),D=g(!1),T=g(!1),N=F(()=>Q.isMobile),z=F(()=>N.value?void 0:"80px"),R=F(()=>N.value?"top":"right");fe(I,(o,e)=>{I.params.id});let j=null;function h(){D.value=!0,he(_).then(async o=>{let e=o.data;U.value=e.list,S.value=e.count,D.value=!1}).catch(o=>{D.value=!1,v.error(o.msg)})}function C(){T.value=!0,Ae(b).then(async o=>{let e=o.data;L.value=e.list,Y.value=e.count,T.value=!1}).catch(o=>{T.value=!1,v.error(o.msg)})}function P(){_.page=1,h()}function ee(){b.page=1,C()}function te(){$($e(j)).then(()=>h())}function le(){$(ye({},"/distribution/level/create")).then(()=>h())}function ae(){$(xe({},"/distribution/level_task/create?level_id="+b.id)).then(()=>C())}function oe(o){Ve(`distribution/level/set_status/${o.id}/${o.status}`).then(async e=>{v.success(e.msg),h()}).catch(e=>{v.error(e.msg)})}function ne(o){De(`distribution/level_task/set_status/${o.id}/${o.status}`).then(async e=>{v.success(e.msg),C()}).catch(e=>{v.error(e.msg)})}function ie(o){j=o.id,E.value=!0,b.id=o.id,C()}function se(o){let e={gid:o.gid};$(Ce(e,`distribution/level/${o.id}/edit`)).then(()=>h())}function de(o){let e={gid:o.gid};$(Te(e,`distribution/level_task/${o.id}/edit`)).then(()=>C())}function re(o,e,w){let V={title:e,url:`distribution/level/${o.id}`,method:"DELETE",ids:""};K(V).then(d=>{v.success(d.msg),U.value.splice(w,1)}).catch(d=>{v.error(d.msg)})}function ue(o,e,w){let V={title:e,url:`distribution/level_task/${o.id}`,method:"DELETE",ids:""};K(V).then(d=>{v.success(d.msg),L.value.splice(w,1)}).catch(d=>{v.error(d.msg)})}return ve(()=>{h()}),(o,e)=>{const w=u("el-option"),V=u("el-select"),d=u("el-form-item"),H=u("el-input"),x=u("el-button"),O=u("el-form"),W=u("el-card"),i=u("el-table-column"),Z=u("el-switch"),B=u("el-divider"),q=u("el-table"),me=u("pagination"),_e=u("el-dialog"),c=A("db-click"),ce=A("lazy"),pe=A("viewer"),G=A("loading");return s(),y("div",null,[l(W,{bordered:!1,shadow:"never",class:"ivu-mb-16","body-style":{padding:0}},{default:a(()=>[n("div",Se,[l(O,{ref_key:"formValidateRef",ref:X,model:_,"label-width":z.value,"label-position":R.value,onSubmit:e[2]||(e[2]=be(()=>{},["prevent"])),inline:""},{default:a(()=>[l(d,{label:"是否显示:"},{default:a(()=>[l(V,{modelValue:_.status,"onUpdate:modelValue":e[0]||(e[0]=t=>_.status=t),clearable:"",onChange:P,class:"form_content_width"},{default:a(()=>[l(w,{value:"",label:"全部"}),l(w,{value:1,label:"显示"}),l(w,{value:0,label:"不显示"})]),_:1},8,["modelValue"])]),_:1}),l(d,{label:"等级名称:"},{default:a(()=>[l(H,{clearable:"",placeholder:"请输入等级名称",modelValue:_.keyword,"onUpdate:modelValue":e[1]||(e[1]=t=>_.keyword=t),class:"form_content_width"},null,8,["modelValue"])]),_:1}),l(d,null,{default:a(()=>[r((s(),k(x,{type:"primary",onClick:P},{default:a(()=>[...e[10]||(e[10]=[f("查询",-1)])]),_:1})),[[c]])]),_:1})]),_:1},8,["model","label-width","label-position"])])]),_:1}),l(W,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:a(()=>[r((s(),k(x,{type:"primary",class:"action-row",onClick:le},{default:a(()=>[...e[11]||(e[11]=[f("添加等级",-1)])]),_:1})),[[c]]),r((s(),k(q,{class:"mt14",data:U.value,ref_key:"table",ref:M,"highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:a(()=>[l(i,{label:"ID",width:"50"},{default:a(t=>[n("span",null,m(t.row.id),1)]),_:1}),l(i,{label:"商品图片","min-width":"90"},{default:a(t=>[r((s(),y("div",Ue,[r(n("img",null,null,512),[[ce,t.row.image]])])),[[pe]])]),_:1}),l(i,{label:"名称","min-width":"130"},{default:a(t=>[n("span",null,m(t.row.name),1)]),_:1}),l(i,{label:"等级","min-width":"130"},{default:a(t=>[n("span",null,m(t.row.grade),1)]),_:1}),l(i,{label:"一级分佣比例","min-width":"150"},{default:a(t=>[n("span",null,m(t.row.one_brokerage_percent=="0.00"?t.row.one_brokerage_ratio:t.row.one_brokerage_percent)+"%",1)]),_:1}),l(i,{label:"二级分佣比例","min-width":"150"},{default:a(t=>[n("span",null,m(t.row.two_brokerage_percent=="0.00"?t.row.two_brokerage_ratio:t.row.two_brokerage_percent)+"%",1)]),_:1}),l(i,{label:"任务总数","min-width":"150"},{default:a(t=>[n("span",null,m(t.row.task_total_num),1)]),_:1}),l(i,{label:"需完成数量","min-width":"150"},{default:a(t=>[n("span",null,m(t.row.task_num),1)]),_:1}),l(i,{label:"是否显示","min-width":"130"},{default:a(t=>[l(Z,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:t.row.status,"onUpdate:modelValue":p=>t.row.status=p,value:t.row.status,onChange:p=>oe(t.row),size:"large","active-text":"显示","inactive-text":"隐藏"},null,8,["modelValue","onUpdate:modelValue","value","onChange"])]),_:1}),l(i,{label:"操作",fixed:"right",width:"170"},{default:a(t=>[r((s(),y("a",{onClick:p=>ie(t.row)},[...e[12]||(e[12]=[f("等级任务",-1)])],8,Le)),[[c]]),l(B,{direction:"vertical"}),r((s(),y("a",{onClick:p=>se(t.row,"编辑")},[...e[13]||(e[13]=[f("编辑",-1)])],8,Be)),[[c]]),l(B,{direction:"vertical"}),r((s(),y("a",{onClick:p=>re(t.row,"删除这条信息",t.$index)},[...e[14]||(e[14]=[f("删除",-1)])],8,Fe)),[[c]])]),_:1})]),_:1},8,["data"])),[[G,D.value]]),n("div",Ie,[S.value?(s(),k(me,{key:0,total:S.value,page:_.page,"onUpdate:page":e[3]||(e[3]=t=>_.page=t),limit:_.limit,"onUpdate:limit":e[4]||(e[4]=t=>_.limit=t),onPagination:h},null,8,["total","page","limit"])):we("",!0)])]),_:1}),n("div",Me,[l(_e,{modelValue:E.value,"onUpdate:modelValue":e[9]||(e[9]=t=>E.value=t),title:"添加任务",width:"1000px"},{default:a(()=>[l(O,{model:b,"label-width":z.value,"label-position":R.value,inline:""},{default:a(()=>[l(d,{label:"是否显示:"},{default:a(()=>[l(V,{modelValue:b.status,"onUpdate:modelValue":e[5]||(e[5]=t=>b.status=t),class:"form_content_width",clearable:""},{default:a(()=>[l(w,{value:1,label:"显示"}),l(w,{value:0,label:"不显示"})]),_:1},8,["modelValue"])]),_:1}),l(d,{label:"任务名称:"},{default:a(()=>[l(H,{modelValue:b.keyword,"onUpdate:modelValue":e[6]||(e[6]=t=>b.keyword=t),placeholder:"请输入任务名称",clearable:"",class:"form_content_width"},null,8,["modelValue"])]),_:1}),l(d,null,{default:a(()=>[r((s(),k(x,{type:"primary",onClick:ee},{default:a(()=>[...e[15]||(e[15]=[f("查询",-1)])]),_:1})),[[c]])]),_:1})]),_:1},8,["model","label-width","label-position"]),n("div",null,[n("div",Ne,[r((s(),k(x,{type:"primary",onClick:e[7]||(e[7]=t=>ae())},{default:a(()=>[...e[16]||(e[16]=[f("添加等级任务",-1)])]),_:1})),[[c]]),r((s(),k(x,{type:"primary",onClick:e[8]||(e[8]=t=>te())},{default:a(()=>[...e[17]||(e[17]=[f("设置完成数量",-1)])]),_:1})),[[c]])]),n("div",null,[r((s(),k(q,{data:L.value,ref_key:"table",ref:M,class:"mt14","highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:a(()=>[l(i,{label:"ID",width:"80"},{default:a(t=>[n("span",null,m(t.row.id),1)]),_:1}),l(i,{label:"名称","min-width":"130"},{default:a(t=>[n("span",null,m(t.row.name),1)]),_:1}),l(i,{label:"任务类型","min-width":"80"},{default:a(t=>[n("span",null,m(t.row.type_name),1)]),_:1}),l(i,{label:"限定数量","min-width":"80"},{default:a(t=>[n("span",null,m(t.row.number),1)]),_:1}),l(i,{label:"是否显示","min-width":"80"},{default:a(t=>[l(Z,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:t.row.status,"onUpdate:modelValue":p=>t.row.status=p,value:t.row.status,onChange:p=>ne(t.row),"active-text":"开启","inactive-text":"关闭"},{open:a(()=>[...e[18]||(e[18]=[n("span",null,"开启",-1)])]),close:a(()=>[...e[19]||(e[19]=[n("span",null,"关闭",-1)])]),_:1},8,["modelValue","onUpdate:modelValue","value","onChange"])]),_:1}),l(i,{label:"排序","min-width":"50"},{default:a(t=>[n("span",null,m(t.row.sort),1)]),_:1}),l(i,{label:"操作",fixed:"right",width:"170"},{default:a(t=>[r((s(),y("a",{onClick:p=>de(t.row,"编辑")},[...e[20]||(e[20]=[f("编辑",-1)])],8,ze)),[[c]]),l(B,{direction:"vertical"}),r((s(),y("a",{onClick:p=>ue(t.row,"删除这条信息",t.$index)},[...e[21]||(e[21]=[f("删除",-1)])],8,Re)),[[c]])]),_:1})]),_:1},8,["data"])),[[G,T.value]])])])]),_:1},8,["modelValue"])])])}}}),Ke=ge(je,[["__scopeId","data-v-9eedbdbd"]]);export{Ke as default}; diff --git a/backend/public/admin/system_static/index-C9jFQRIm.css b/backend/public/admin/system_static/index-C9jFQRIm.css new file mode 100644 index 000000000..f311f0b69 --- /dev/null +++ b/backend/public/admin/system_static/index-C9jFQRIm.css @@ -0,0 +1 @@ +.tabBox_img[data-v-ee1571ba]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-ee1571ba]{width:100%;height:100%} diff --git a/backend/public/admin/system_static/index-C9pjde8B.css b/backend/public/admin/system_static/index-C9pjde8B.css new file mode 100644 index 000000000..4465f2edb --- /dev/null +++ b/backend/public/admin/system_static/index-C9pjde8B.css @@ -0,0 +1 @@ +.ivu-mt .type .item[data-v-46cc638f]{margin:3px 0}.Refresh[data-v-46cc638f]{font-size:12px;color:var(--prev-color-primary);cursor:pointer}.ivu-form-item[data-v-46cc638f]{margin-bottom:10px}.status[data-v-46cc638f] .item~.item{margin-left:6px}.status[data-v-46cc638f] .statusVal{margin-bottom:7px}[data-v-46cc638f] .type{padding:3px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.tabBox_img[data-v-46cc638f]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-46cc638f]{width:100%;height:100%}.z-price[data-v-46cc638f]{color:red}.f-price[data-v-46cc638f]{color:green} diff --git a/backend/public/admin/system_static/index-CB9LyaQm.js b/backend/public/admin/system_static/index-CB9LyaQm.js new file mode 100644 index 000000000..aa84da604 --- /dev/null +++ b/backend/public/admin/system_static/index-CB9LyaQm.js @@ -0,0 +1 @@ +import{f as G,a as we,k as n,u as J,y as u,z as m,j as a,C as o,A as i,s as c,B as _,$ as d,a0 as C,H as M,F as Q,n as B,p as W,Z as D,ad as Ve,l as p}from"./element-plus-C_ZDq0cz.js";import{w,_ as ke,h as be,S as ye}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function xe(r){return w({url:"ai/model/list",method:"get",params:r})}function X(r){return w({url:`ai/model/detail/${r}`,method:"get"})}function Ue(r){return w({url:"ai/model/save",method:"post",data:r})}function Ae(r){return w({url:"ai/model/test",method:"post",data:r})}function Ce(r,I){return w({url:`ai/model/update/${r}`,method:"put",data:I})}function Me(r){return w({url:`ai/model/delete/${r}`,method:"delete"})}function Ie(r,I){return w({url:`ai/model/set_status/${r}`,method:"put",data:{status:I}})}function he(r){return w({url:`ai/model/set_default/${r}`,method:"put"})}const $e={class:"model-manage"},De={class:"mt14"},Se={class:"model-name"},Te={class:"muted"},qe={key:0,class:"danger"},Be={key:1,class:"muted"},Fe={key:2,class:"mono"},Pe={key:2,class:"muted"},Re={key:0,class:"muted"},Ee={key:1,class:"muted"},Le=["onClick"],ze={key:0,class:"muted"},Ne=["onClick"],Oe=["onClick"],je=["onClick"],Ke={class:"acea-row row-right page"},He={class:"base-url-head"},Ye={class:"base-url-switch"},Ze={class:"field-tip"},Ge={class:"dialog-footer"},Je=Object.assign({name:"AiModelManage"},{__name:"index",setup(r){const I=be(),h=()=>({id:0,name:"",protocol:"openai_compatible",provider:"",model:"",base_url:"",api_key:"",full_url:0,supports_tools:0,supports_vision:0,context_window:0,max_tokens:2048,temperature:.7,is_default:0,sort:0,status:1}),F=p(!1),V=p(""),ee=W(()=>V.value?V.value==="test"?"连通测试中":"保存中":t.value.id?"保存":"添加模型"),$=p(!1),P=p([]),R=p(0),E=p(1),L=p(15),t=p(h()),S=p([]),k=p(!1),f=p(null),le={model:[{required:!0,message:"请填写模型 ID",trigger:"blur"}],base_url:[{required:!0,validator:(s,e,y)=>{/^https?:\/\//i.test(e||"")?y():y(new Error("接口地址必须以 http:// 或 https:// 开头"))},trigger:"blur"}]};G(()=>t.value.model,s=>{k.value||(t.value.name=s)}),G(()=>t.value.status,s=>{s===0&&(t.value.is_default=0)});const O=p(!0),te=W(()=>{const s=P.value.some(e=>e.is_default===1);return[{virtual:!0,id:0,name:s?"一号通AI":"一号通AI(系统内置)",protocol_name:"一号通 AI",model:"由一号通平台决定",supports_tools:1,is_default:s?0:1,configured:O.value},...P.value]}),b=()=>{F.value=!0,xe({page:E.value,limit:L.value}).then(s=>{const e=s.data||{};P.value=e.list||[],R.value=e.count||0,O.value=e.yihaotong_configured!==0}).finally(()=>{F.value=!1})},ae=()=>{I.push(ye.routePre+"/setting/yihaotong/index")},j=s=>{if(!s){t.value=h(),k.value=!1,S.value=[],$.value=!0,B(()=>f.value&&f.value.clearValidate());return}X(s.id).then(e=>{t.value={...h(),...e.data||{}},k.value=!!t.value.name,S.value=[],$.value=!0,B(()=>f.value&&f.value.clearValidate())})},oe=()=>{t.value.id?X(t.value.id).then(s=>{t.value={...h(),...s.data||{}},k.value=!!t.value.name,B(()=>f.value&&f.value.clearValidate())}):(t.value=h(),k.value=!1,B(()=>f.value&&f.value.clearValidate()))},se=()=>{f.value.validate(s=>{if(!s)return;V.value="test";const e={...t.value};delete e.id,Ae({...t.value}).then(y=>{const x=y.data||{};if(x.ok!==1){D.error(x.message||"连通性测试失败,请检查模型配置");return}return V.value="save",(t.value.id?Ce(t.value.id,e):Ue(e)).then(()=>{D.success(t.value.id?"修改成功":"添加成功"),$.value=!1,b()})}).catch(()=>{}).finally(()=>{V.value=""})})},ue=s=>{Ie(s.id,s.status).then(()=>{D.success("修改成功"),b()}).catch(()=>{s.status=s.status===1?0:1})},K=s=>{he(s.id).then(()=>{D.success("已设为系统默认模型"),b()}).catch(()=>{})},ne=s=>{Ve.confirm(`确定删除模型“${s.name}”吗?删除后对话中将无法再选择该模型。`,"提示",{type:"warning"}).then(()=>Me(s.id)).then(()=>{D.success("删除成功"),b()}).catch(()=>{})};return we(()=>{b()}),(s,e)=>{const y=n("pages-header"),x=n("el-button"),T=n("el-tag"),U=n("el-table-column"),H=n("el-switch"),Y=n("el-divider"),ie=n("el-table"),de=n("pagination"),re=n("el-card"),q=n("el-input"),v=n("el-form-item"),z=n("el-checkbox"),me=n("el-slider"),N=n("el-input-number"),Z=n("el-radio"),pe=n("el-radio-group"),ve=n("el-collapse-item"),fe=n("el-collapse"),_e=n("el-form"),ce=n("el-dialog"),g=J("db-click"),ge=J("loading");return u(),m("div",$e,[a(y,{class:"mb16",title:"模型管理",description:"填写接口地址与密钥即可接入 DeepSeek、通义、Kimi 等厂商,同协议厂商无需重复开发。"}),a(re,{shadow:"never",class:"ivu-mt mt16","body-style":{padding:"0 20px 20px"}},{default:o(()=>[i("div",De,[c((u(),_(x,{type:"primary",onClick:e[0]||(e[0]=l=>j())},{default:o(()=>[...e[19]||(e[19]=[d("新增模型",-1)])]),_:1})),[[g]])]),c((u(),_(ie,{data:te.value,"row-key":"id",class:"mt14"},{default:o(()=>[a(U,{label:"模型","min-width":"200"},{default:o(l=>[i("div",Se,[d(C(l.row.name)+" ",1),l.row.is_default===1?(u(),_(T,{key:0,size:"small",type:"warning"},{default:o(()=>[...e[20]||(e[20]=[d("默认",-1)])]),_:1})):M("",!0)]),i("div",Te,C(l.row.model),1)]),_:1}),a(U,{label:"接口地址","min-width":"200","show-overflow-tooltip":""},{default:o(l=>[d(C(l.row.base_url||"-"),1)]),_:1}),a(U,{label:"密钥","min-width":"140"},{default:o(l=>[l.row.virtual&&!l.row.configured?(u(),m("span",qe,"未配置,请一键配置")):l.row.virtual?(u(),m("span",Be,"复用一号通凭证")):(u(),m("span",Fe,C(l.row.has_api_key?l.row.api_key:"未配置"),1))]),_:1}),a(U,{label:"能力","min-width":"120"},{default:o(l=>[l.row.supports_tools===1?(u(),_(T,{key:0,size:"small",type:"success"},{default:o(()=>[...e[21]||(e[21]=[d("工具调用",-1)])]),_:1})):M("",!0),l.row.supports_vision===1?(u(),_(T,{key:1,size:"small",type:"info"},{default:o(()=>[...e[22]||(e[22]=[d("视觉",-1)])]),_:1})):M("",!0),l.row.supports_tools!==1&&l.row.supports_vision!==1?(u(),m("span",Pe,"-")):M("",!0)]),_:1}),a(U,{label:"状态",width:"120"},{default:o(l=>[l.row.virtual?(u(),m("span",Re,"-")):(u(),_(H,{key:1,modelValue:l.row.status,"onUpdate:modelValue":A=>l.row.status=A,"active-value":1,"inactive-value":0,"active-text":"开启","inactive-text":"关闭",class:"defineSwitch",onChange:A=>ue(l.row)},null,8,["modelValue","onUpdate:modelValue","onChange"]))]),_:1}),a(U,{label:"操作",fixed:"right",width:"200"},{default:o(l=>[l.row.virtual?(u(),m(Q,{key:0},[l.row.configured?l.row.is_default===1?(u(),m("span",Ee,"内置模型")):c((u(),m("a",{key:2,onClick:A=>K(l.row)},[...e[24]||(e[24]=[d("设为默认",-1)])],8,Le)),[[g]]):c((u(),m("a",{key:0,onClick:ae},[...e[23]||(e[23]=[d("一键配置",-1)])])),[[g]])],64)):(u(),m(Q,{key:1},[l.row.is_default===1||l.row.status!==1?(u(),m("span",ze,"设为默认")):c((u(),m("a",{key:1,onClick:A=>K(l.row)},[...e[25]||(e[25]=[d("设为默认",-1)])],8,Ne)),[[g]]),a(Y,{direction:"vertical"}),c((u(),m("a",{onClick:A=>j(l.row)},[...e[26]||(e[26]=[d("编辑",-1)])],8,Oe)),[[g]]),a(Y,{direction:"vertical"}),c((u(),m("a",{onClick:A=>ne(l.row)},[...e[27]||(e[27]=[d("删除",-1)])],8,je)),[[g]])],64))]),_:1})]),_:1},8,["data"])),[[ge,F.value]]),i("div",Ke,[R.value?(u(),_(de,{key:0,total:R.value,page:E.value,"onUpdate:page":e[1]||(e[1]=l=>E.value=l),limit:L.value,"onUpdate:limit":e[2]||(e[2]=l=>L.value=l),onPagination:b},null,8,["total","page","limit"])):M("",!0)])]),_:1}),a(ce,{modelValue:$.value,"onUpdate:modelValue":e[18]||(e[18]=l=>$.value=l),title:t.value.id?"编辑 AI 模型":"新增 AI 模型",width:"640px",top:"8vh","append-to-body":"","close-on-click-modal":!1},{footer:o(()=>[i("div",Ge,[e[42]||(e[42]=i("span",{class:"footer-tip"},[i("i",{class:"el-icon-info"}),d(" 连通性测试会发起一次真实请求,会消耗少量模型 Token")],-1)),i("span",null,[c((u(),_(x,{onClick:oe},{default:o(()=>[...e[41]||(e[41]=[d("重置",-1)])]),_:1})),[[g]]),c((u(),_(x,{type:"primary",loading:!!V.value,onClick:se},{default:o(()=>[d(C(ee.value),1)]),_:1},8,["loading"])),[[g]])])])]),default:o(()=>[a(_e,{ref_key:"modelForm",ref:f,model:t.value,rules:le,"label-position":"top"},{default:o(()=>[a(v,{prop:"base_url"},{default:o(()=>[i("div",He,[e[30]||(e[30]=i("span",{class:"base-url-label"},[d("自定义请求地址"),i("i",{class:"required-star"},"*")],-1)),i("span",Ye,[e[28]||(e[28]=i("i",{class:"el-icon-link"},null,-1)),e[29]||(e[29]=i("span",null,"完整 URL",-1)),a(H,{modelValue:t.value.full_url,"onUpdate:modelValue":e[3]||(e[3]=l=>t.value.full_url=l),"active-value":1,"inactive-value":0},null,8,["modelValue"])])]),i("div",Ze,C(t.value.full_url===1?"请填写完整请求 URL,请求将直接使用此 URL,不拼接路径。":"请填写兼容 OpenAI API 的服务端点地址,不要以斜杠结尾。/chat/completions 将会被补全到你填写的地址末尾。"),1),a(q,{modelValue:t.value.base_url,"onUpdate:modelValue":e[4]||(e[4]=l=>t.value.base_url=l),modelModifiers:{trim:!0},maxlength:"255",placeholder:t.value.full_url===1?"例如 https://api.openai.com/v1/chat/completions":"例如 https://api.openai.com/v1"},null,8,["modelValue","placeholder"])]),_:1}),a(v,{label:"模型 ID",prop:"model"},{default:o(()=>[a(q,{modelValue:t.value.model,"onUpdate:modelValue":e[5]||(e[5]=l=>t.value.model=l),modelModifiers:{trim:!0},maxlength:"100",placeholder:"输入模型 ID,例如 deepseek-chat、qwen-plus"},null,8,["modelValue"])]),_:1}),a(v,{label:"模型名称",prop:"name"},{default:o(()=>[a(q,{modelValue:t.value.name,"onUpdate:modelValue":e[6]||(e[6]=l=>t.value.name=l),modelModifiers:{trim:!0},maxlength:"32",placeholder:"请输入模型名称","show-word-limit":"",onInput:e[7]||(e[7]=l=>k.value=!0)},null,8,["modelValue"]),e[31]||(e[31]=i("div",{class:"field-tip"},"在模型列表中展示的名称,未设置时默认显示模型 ID。",-1))]),_:1}),a(v,{label:"API 密钥"},{default:o(()=>[a(q,{modelValue:t.value.api_key,"onUpdate:modelValue":e[8]||(e[8]=l=>t.value.api_key=l),modelModifiers:{trim:!0},maxlength:"255","show-password":"",placeholder:t.value.id?"留空保持原密钥不变":"厂商控制台签发的 API Key"},null,8,["modelValue","placeholder"])]),_:1}),a(fe,{modelValue:S.value,"onUpdate:modelValue":e[17]||(e[17]=l=>S.value=l),class:"advanced-collapse"},{default:o(()=>[a(ve,{title:"高级配置",name:"advanced"},{default:o(()=>[a(v,{label:"模型能力"},{default:o(()=>[a(z,{modelValue:t.value.supports_tools,"onUpdate:modelValue":e[9]||(e[9]=l=>t.value.supports_tools=l),"true-value":1,"false-value":0},{default:o(()=>[...e[32]||(e[32]=[d("支持工具调用",-1)])]),_:1},8,["modelValue"]),a(z,{modelValue:t.value.supports_vision,"onUpdate:modelValue":e[10]||(e[10]=l=>t.value.supports_vision=l),"true-value":1,"false-value":0},{default:o(()=>[...e[33]||(e[33]=[d("支持视觉输入",-1)])]),_:1},8,["modelValue"])]),_:1}),a(v,{label:"采样温度"},{default:o(()=>[a(me,{modelValue:t.value.temperature,"onUpdate:modelValue":e[11]||(e[11]=l=>t.value.temperature=l),min:0,max:2,step:.1,"show-input":"","show-input-controls":!1},null,8,["modelValue"])]),_:1}),a(v,{label:"最大输出 Token"},{default:o(()=>[a(N,{modelValue:t.value.max_tokens,"onUpdate:modelValue":e[12]||(e[12]=l=>t.value.max_tokens=l),min:1,max:128e3,step:256},null,8,["modelValue"]),e[34]||(e[34]=i("span",{class:"field-tip inline-tip"},"0 表示使用服务端默认值",-1))]),_:1}),a(v,{label:"上下文窗口"},{default:o(()=>[a(N,{modelValue:t.value.context_window,"onUpdate:modelValue":e[13]||(e[13]=l=>t.value.context_window=l),min:0,max:1e7,step:1e3},null,8,["modelValue"]),e[35]||(e[35]=i("span",{class:"field-tip inline-tip"},"仅用于展示,0 表示未填写",-1))]),_:1}),a(v,{label:"排序"},{default:o(()=>[a(N,{modelValue:t.value.sort,"onUpdate:modelValue":e[14]||(e[14]=l=>t.value.sort=l),min:0,max:9999},null,8,["modelValue"]),e[36]||(e[36]=i("span",{class:"field-tip inline-tip"},"数值越大越靠前",-1))]),_:1}),a(v,{label:"状态"},{default:o(()=>[a(pe,{modelValue:t.value.status,"onUpdate:modelValue":e[15]||(e[15]=l=>t.value.status=l)},{default:o(()=>[a(Z,{value:1},{default:o(()=>[...e[37]||(e[37]=[d("启用",-1)])]),_:1}),a(Z,{value:0},{default:o(()=>[...e[38]||(e[38]=[d("停用",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),t.value.status===1?(u(),_(v,{key:0,label:"默认模型"},{default:o(()=>[a(z,{modelValue:t.value.is_default,"onUpdate:modelValue":e[16]||(e[16]=l=>t.value.is_default=l),"true-value":1,"false-value":0},{default:o(()=>[...e[39]||(e[39]=[d("设为系统默认模型",-1)])]),_:1},8,["modelValue"]),e[40]||(e[40]=i("div",{class:"field-tip default-tip"},"未勾选且无其他默认模型时,系统 AI模型 默认为内置一号通AI",-1))]),_:1})):M("",!0)]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["model"])]),_:1},8,["modelValue","title"])])}}}),tl=ke(Je,[["__scopeId","data-v-f1c275d6"]]);export{tl as default}; diff --git a/backend/public/admin/system_static/index-CD0E6by0.js b/backend/public/admin/system_static/index-CD0E6by0.js new file mode 100644 index 000000000..0c058b803 --- /dev/null +++ b/backend/public/admin/system_static/index-CD0E6by0.js @@ -0,0 +1 @@ +import{a as ve,k as r,u as Y,y as d,z as s,j as t,C as a,A as y,ac as fe,F as b,D as h,B as x,aj as ce,s as V,$ as _,a0 as k,H as F,Z as O,l as m}from"./element-plus-C_ZDq0cz.js";import{_ as ye,h as ge,S as be}from"./index-DHL7RTL2.js";import{a as ke,r as we}from"./afterSale-B_OkLLdC.js";import{c as Ve}from"./orderCenter-CFBp04xC.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const Se={class:"padding-add"},Ce={class:"price"},he=["onClick"],xe=["onClick"],$e=["onClick"],De={class:"acea-row row-right page"},Me=Object.assign({name:"afterSaleList"},{__name:"index",setup(Ue){const j=ge(),B=be.routePre,o=m({status:"",type:"",product_type:"",order_category:"",keyword:"",search_field:"after_sale_no",start_time:"",end_time:""}),g=m([]),L=m([]),T=m(0),v=m({page:1,limit:15}),$=m(!1),D=m(""),S=m(!1),w=m({id:0,remark:""}),R=[{key:"pending_audit",label:"待审核"},{key:"audit_passed",label:"审核通过"},{key:"audit_rejected",label:"审核拒绝"},{key:"canceled",label:"已取消"},{key:"refunding",label:"退款中"},{key:"refunded",label:"已退款"},{key:"pending_return",label:"待退货"},{key:"receiving",label:"待收货"},{key:"repairing",label:"维修中"},{key:"resending",label:"补发中"},{key:"completed",label:"已完成"}],I=[{key:"refund_only",label:"仅退款"},{key:"return_refund",label:"退货退款"},{key:"exchange",label:"换货"},{key:"resend",label:"补发"},{key:"repair",label:"维修"}],M=m([]),Z=[{key:"goods",label:"商品订单"},{key:"points",label:"积分订单"},{key:"member",label:"会员订单"},{key:"recharge",label:"充值订单"}];function i(n){v.value.page=n===1?1:v.value.page,$.value=!0;const u={status:D.value||o.value.status,type:o.value.type,product_type:o.value.product_type,order_category:o.value.order_category,start_time:o.value.start_time,end_time:o.value.end_time,page:v.value.page,limit:v.value.limit};o.value.keyword&&(u[o.value.search_field]=o.value.keyword),ke(u).then(p=>{L.value=p.data.list||[],T.value=p.data.count||0,$.value=!1}).catch(p=>{$.value=!1,O.error(p.msg)})}function G(){Ve().then(n=>{var l;M.value=((l=n.data)==null?void 0:l.product_types)||[]}).catch(()=>{M.value=[]})}function J(n){g.value=n||[],g.value.length===2?(o.value.start_time=Math.floor(new Date(g.value[0]+" 00:00:00").getTime()/1e3),o.value.end_time=Math.floor(new Date(g.value[1]+" 23:59:59").getTime()/1e3)):(o.value.start_time="",o.value.end_time=""),i(1)}function Q(){o.value={status:"",type:"",product_type:"",order_category:"",keyword:"",search_field:"after_sale_no",start_time:"",end_time:""},g.value=[],D.value="",i(1)}function W(){i(1)}function X(n){j.push({path:B+"/order/afterSale/detail/"+n.id})}function ee(n){j.push({path:B+"/order/afterSale/detail/"+n.id,query:{action:"audit"}})}function le(n){w.value={id:n.id,remark:n.remark||""},S.value=!0}function te(){we(w.value.id,{remark:w.value.remark}).then(n=>{O.success(n.msg),S.value=!1,i()}).catch(n=>{O.error(n.msg)})}function ae(n){return!["completed","canceled","audit_rejected"].includes(n)}function ne(n){const l=M.value.find(u=>u.key===n);return l?l.label:n||"--"}function oe(n){return{refund_only:"warning",return_refund:"danger",exchange:"primary",resend:"success",repair:"info"}[n]||"info"}function re(n){return{pending_audit:"warning",audit_passed:"primary",audit_rejected:"danger",canceled:"info",refunding:"warning",refunded:"success",pending_return:"warning",receiving:"primary",repairing:"primary",resending:"primary",completed:"success"}[n]||"info"}function de(n){const l=new Date(n*1e3);return`${l.getFullYear()}/${(l.getMonth()+1).toString().padStart(2,"0")}/${l.getDate().toString().padStart(2,"0")} ${l.getHours().toString().padStart(2,"0")}:${l.getMinutes().toString().padStart(2,"0")}:${l.getSeconds().toString().padStart(2,"0")}`}return ve(()=>{G(),i()}),(n,l)=>{const u=r("el-option"),p=r("el-select"),f=r("el-form-item"),ue=r("date-range-picker"),N=r("el-input"),U=r("el-button"),P=r("el-form"),A=r("el-card"),E=r("el-tab-pane"),ie=r("el-tabs"),c=r("el-table-column"),H=r("el-tag"),K=r("el-divider"),se=r("el-table"),pe=r("pagination"),me=r("el-dialog"),C=Y("db-click"),q=Y("auth"),_e=Y("loading");return d(),s("div",null,[t(A,{bordered:!1,shadow:"never","body-style":{padding:0}},{default:a(()=>[y("div",Se,[t(P,{model:o.value,"label-width":"80px","label-position":"right",inline:"",onSubmit:l[13]||(l[13]=fe(()=>{},["prevent"]))},{default:a(()=>[t(f,{label:"售后状态:"},{default:a(()=>[t(p,{modelValue:o.value.status,"onUpdate:modelValue":l[0]||(l[0]=e=>o.value.status=e),clearable:"",onChange:l[1]||(l[1]=e=>i(1)),placeholder:"全部",class:"form_content_width"},{default:a(()=>[t(u,{label:"全部",value:""}),(d(),s(b,null,h(R,e=>t(u,{key:e.key,value:e.key,label:e.label},null,8,["value","label"])),64))]),_:1},8,["modelValue"])]),_:1}),t(f,{label:"售后类型:"},{default:a(()=>[t(p,{modelValue:o.value.type,"onUpdate:modelValue":l[2]||(l[2]=e=>o.value.type=e),clearable:"",onChange:l[3]||(l[3]=e=>i(1)),placeholder:"全部",class:"form_content_width"},{default:a(()=>[t(u,{label:"全部",value:""}),(d(),s(b,null,h(I,e=>t(u,{key:e.key,value:e.key,label:e.label},null,8,["value","label"])),64))]),_:1},8,["modelValue"])]),_:1}),t(f,{label:"产品类型:"},{default:a(()=>[t(p,{modelValue:o.value.product_type,"onUpdate:modelValue":l[4]||(l[4]=e=>o.value.product_type=e),clearable:"",onChange:l[5]||(l[5]=e=>i(1)),placeholder:"全部",class:"form_content_width"},{default:a(()=>[t(u,{label:"全部",value:""}),(d(!0),s(b,null,h(M.value,e=>(d(),x(u,{key:e.key,value:e.key,label:e.label},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(f,{label:"订单大类:"},{default:a(()=>[t(p,{modelValue:o.value.order_category,"onUpdate:modelValue":l[6]||(l[6]=e=>o.value.order_category=e),clearable:"",onChange:l[7]||(l[7]=e=>i(1)),placeholder:"全部",class:"form_content_width"},{default:a(()=>[t(u,{label:"全部",value:""}),(d(),s(b,null,h(Z,e=>t(u,{key:e.key,value:e.key,label:e.label},null,8,["value","label"])),64))]),_:1},8,["modelValue"])]),_:1}),t(f,{label:"申请时间:"},{default:a(()=>[t(ue,{clearable:"",modelValue:g.value,"onUpdate:modelValue":l[8]||(l[8]=e=>g.value=e),onChange:J,format:"YYYY/MM/DD","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1}),t(f,{label:"单号搜索:"},{default:a(()=>[t(N,{clearable:"",modelValue:o.value.keyword,"onUpdate:modelValue":l[10]||(l[10]=e=>o.value.keyword=e),placeholder:"请输入售后单号/订单号",class:"form_content_width",onKeyup:l[11]||(l[11]=ce(e=>i(1),["enter"]))},{prepend:a(()=>[t(p,{modelValue:o.value.search_field,"onUpdate:modelValue":l[9]||(l[9]=e=>o.value.search_field=e),style:{width:"110px"}},{default:a(()=>[t(u,{value:"after_sale_no",label:"售后单号"}),t(u,{value:"order_no",label:"订单号"})]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])]),_:1}),t(f,null,{default:a(()=>[V((d(),x(U,{type:"primary",onClick:l[12]||(l[12]=e=>i(1))},{default:a(()=>[...l[20]||(l[20]=[_("查询",-1)])]),_:1})),[[C]]),V((d(),x(U,{onClick:Q},{default:a(()=>[...l[21]||(l[21]=[_("重置",-1)])]),_:1})),[[C]])]),_:1})]),_:1},8,["model"])])]),_:1}),t(A,{bordered:!1,shadow:"never",class:"mt16","body-style":{padding:"0 0 20px"}},{default:a(()=>[t(ie,{modelValue:D.value,"onUpdate:modelValue":l[14]||(l[14]=e=>D.value=e),onTabChange:W},{default:a(()=>[t(E,{label:"全部",name:""}),(d(),s(b,null,h(R,e=>t(E,{key:e.key,label:e.label,name:e.key},null,8,["label","name"])),64))]),_:1},8,["modelValue"]),V((d(),x(se,{data:L.value,ref:"table","empty-text":"暂无数据",class:"afterSaleData"},{default:a(()=>[t(c,{label:"售后单号","min-width":"180"},{default:a(e=>[y("span",null,k(e.row.after_sale_no),1)]),_:1}),t(c,{label:"订单号","min-width":"160"},{default:a(e=>[y("span",null,k(e.row.order_no),1)]),_:1}),t(c,{label:"售后类型",width:"110"},{default:a(e=>[t(H,{type:oe(e.row.type),effect:"plain"},{default:a(()=>[_(k(e.row.type_text||e.row.type),1)]),_:2},1032,["type"])]),_:1}),t(c,{label:"售后状态",width:"110"},{default:a(e=>[t(H,{type:re(e.row.status)},{default:a(()=>[_(k(e.row.status_text||e.row.status),1)]),_:2},1032,["type"])]),_:1}),t(c,{label:"产品类型",width:"110"},{default:a(e=>[y("span",null,k(ne(e.row.product_type)),1)]),_:1}),t(c,{label:"退款金额","min-width":"120"},{default:a(e=>[y("span",Ce,"¥"+k(e.row.refund_price||"0.00"),1)]),_:1}),t(c,{label:"申请时间","min-width":"160"},{default:a(e=>[y("span",null,k(e.row.add_time?de(e.row.add_time):"--"),1)]),_:1}),t(c,{label:"操作",fixed:"right",width:"140"},{default:a(e=>[V((d(),s("a",{onClick:z=>X(e.row)},[...l[22]||(l[22]=[_("详情",-1)])],8,he)),[[C]]),e.row.status==="pending_audit"?(d(),s(b,{key:0},[t(K,{direction:"vertical"}),V((d(),s("a",{onClick:z=>ee(e.row)},[...l[23]||(l[23]=[_("审核",-1)])],8,xe)),[[C],[q,["admin-order-afterSale-audit"]]])],64)):F("",!0),ae(e.row.status)?(d(),s(b,{key:1},[t(K,{direction:"vertical"}),V((d(),s("a",{onClick:z=>le(e.row)},[...l[24]||(l[24]=[_("备注",-1)])],8,$e)),[[C],[q,["admin-order-afterSale-remark"]]])],64)):F("",!0)]),_:1})]),_:1},8,["data"])),[[_e,$.value]]),y("div",De,[T.value?(d(),x(pe,{key:0,total:T.value,page:v.value.page,"onUpdate:page":l[15]||(l[15]=e=>v.value.page=e),limit:v.value.limit,"onUpdate:limit":l[16]||(l[16]=e=>v.value.limit=e),onPagination:i},null,8,["total","page","limit"])):F("",!0)])]),_:1}),t(me,{modelValue:S.value,"onUpdate:modelValue":l[19]||(l[19]=e=>S.value=e),title:"售后管理备注",width:"500px"},{footer:a(()=>[y("div",null,[t(U,{onClick:l[18]||(l[18]=e=>S.value=!1)},{default:a(()=>[...l[25]||(l[25]=[_("取消",-1)])]),_:1}),t(U,{type:"primary",onClick:te},{default:a(()=>[...l[26]||(l[26]=[_("保存",-1)])]),_:1})])]),default:a(()=>[t(P,{model:w.value,"label-width":"80px"},{default:a(()=>[t(f,{label:"备注内容"},{default:a(()=>[t(N,{type:"textarea",modelValue:w.value.remark,"onUpdate:modelValue":l[17]||(l[17]=e=>w.value.remark=e),rows:4,placeholder:"请输入备注内容",maxlength:"500","show-word-limit":""},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])])}}}),Re=ye(Me,[["__scopeId","data-v-473d9754"]]);export{Re as default}; diff --git a/backend/public/admin/system_static/index-CDtR_H-e.js b/backend/public/admin/system_static/index-CDtR_H-e.js new file mode 100644 index 000000000..840b01c57 --- /dev/null +++ b/backend/public/admin/system_static/index-CDtR_H-e.js @@ -0,0 +1 @@ +import{a as fe,Z as p,y as s,z as c,j as t,C as a,l as u,k as i,u as U,A as d,ac as q,s as v,B,$ as f,a0 as M,H as R,W as _e,p as z,n as W,ad as ge}from"./element-plus-C_ZDq0cz.js";import{_ as be,a as we,c as Ve}from"./index-DHL7RTL2.js";import{seckillConfigListApi as xe,seckillConfigStatusApi as ke,seckillConfigDelApi as Ce,seckillConfigSaveApi as ye}from"./api-DEOgbDDm.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const he={class:"padding-add"},Ue={key:0,class:"tabBox_img"},Be={key:1},$e=["onClick"],Pe=["onClick"],Se={class:"acea-row row-right page"},Ae={key:0,class:"pictrue"},Me=["src"],ze={key:1,class:"upLoad acea-row row-center-wrapper"},Le=Object.assign({name:"index"},{__name:"index",setup(De){const G=we(),_=u(null),L=z(()=>G.isMobile),H=z(()=>L.value?void 0:"80px"),O=z(()=>L.value?"top":"right"),w=u(!1),Z=u("单选"),J={xl:6,lg:8,md:12,sm:24,xs:24},K={xl:4,lg:8,md:8,sm:8,xs:8},m=u({status:"",page:1,limit:15}),$=u(0),D=u([]),C=u(!1),V=u(!1),x=u(0),P=u(!1),n=u({time:"",continued:"",slide:"",sort:0,status:1}),Q=u({time:[{required:!0,message:"请输入开启时间",trigger:"blur"},{pattern:/^(\d|1\d|2[0-3])$/,message:"请输入0-23之间的整点数",trigger:"blur"}],continued:[{required:!0,message:"请输入持续时间",trigger:"blur"},{pattern:/^([1-9]|1\d|2[0-4])$/,message:"请输入1-24之间的整数",trigger:"blur"}]});fe(()=>{k()});function k(){C.value=!0;const o={...m.value};o.status===""&&delete o.status,xe(o).then(e=>{D.value=e.data.list,$.value=e.data.count,C.value=!1}).catch(e=>{C.value=!1,p.error(e.msg||"获取列表失败")})}function X(){x.value=0,n.value={time:"",continued:"",slide:"",sort:0,status:1},V.value=!0,W(()=>{_.value&&_.value.clearValidate()})}function Y(o){x.value=o.id,n.value={time:o.time||"",continued:o.continued||"",slide:o.slide&&Array.isArray(o.slide)?o.slide[0]:o.slide||"",sort:o.sort||0,status:o.status},V.value=!0,W(()=>{_.value&&_.value.clearValidate()})}function ee(){_.value.validate(o=>{if(!o)return;P.value=!0;const e={...n.value,id:x.value};ye(e).then(r=>{p.success(r.msg||"保存成功"),S(),k()}).catch(r=>{p.error(r.msg||"保存失败")}).finally(()=>{P.value=!1})})}function le(o,e){ge.confirm("确定删除该配置吗?","提示",{type:"warning"}).then(()=>{Ce(o.id).then(r=>{p.success(r.msg||"删除成功"),k()}).catch(r=>{p.error(r.msg||"删除失败")})}).catch(()=>{})}function te(o){ke({id:o.id,status:o.status}).then(e=>{p.success(e.msg||"设置成功")}).catch(e=>{o.status=o.status===1?0:1,p.error(e.msg||"设置失败")})}function ae(){w.value=!0}function oe(o){n.value.slide=o.att_dir,w.value=!1}function S(){V.value=!1,x.value=0}return(o,e)=>{const r=i("pages-header"),F=i("el-option"),ie=i("el-select"),g=i("el-form-item"),N=i("el-form"),E=i("el-card"),A=i("el-button"),b=i("el-table-column"),ne=i("el-switch"),se=i("el-divider"),ue=i("el-table"),de=i("pagination"),I=i("el-input"),re=i("el-input-number"),T=i("el-radio"),me=i("el-radio-group"),j=i("el-dialog"),y=U("db-click"),ce=U("lazy"),pe=U("viewer"),ve=U("loading");return s(),c("div",null,[t(r,{class:"mb16",title:o.$route.meta.title},null,8,["title"]),t(E,{bordered:!1,shadow:"never","body-style":{padding:0}},{default:a(()=>[d("div",he,[t(N,{model:m.value,"label-width":H.value,"label-position":O.value,onSubmit:e[1]||(e[1]=q(()=>{},["prevent"])),inline:""},{default:a(()=>[t(g,{label:"是否显示:"},{default:a(()=>[t(ie,{modelValue:m.value.status,"onUpdate:modelValue":e[0]||(e[0]=l=>m.value.status=l),placeholder:"请选择",clearable:"",onChange:k,class:"form_content_width"},{default:a(()=>[t(F,{value:"1",label:"显示"}),t(F,{value:"0",label:"不显示"})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","label-width","label-position"])])]),_:1}),t(E,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:a(()=>[v((s(),B(A,{type:"primary",onClick:X,class:"action-row mr20"},{default:a(()=>[...e[12]||(e[12]=[f("添加配置",-1)])]),_:1})),[[y]]),v((s(),B(ue,{data:D.value,ref:"table",class:"mt14","highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:a(()=>[t(b,{label:"开启时间(整点)","min-width":"150"},{default:a(l=>[d("span",null,M(l.row.time),1)]),_:1}),t(b,{label:"持续时间(整数小时)","min-width":"150"},{default:a(l=>[d("span",null,M(l.row.continued),1)]),_:1}),t(b,{label:"幻灯片","min-width":"120"},{default:a(l=>[l.row.slide&&l.row.slide.length?v((s(),c("div",Ue,[v(d("img",null,null,512),[[ce,l.row.slide[0]]])])),[[pe]]):(s(),c("span",Be,"-"))]),_:1}),t(b,{label:"排序",width:"80"},{default:a(l=>[d("span",null,M(l.row.sort),1)]),_:1}),t(b,{label:"状态",width:"100"},{default:a(l=>[t(ne,{"active-value":1,"inactive-value":0,modelValue:l.row.status,"onUpdate:modelValue":h=>l.row.status=h,onChange:h=>te(l.row),size:"large"},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),t(b,{label:"操作",fixed:"right",width:"170"},{default:a(l=>[v((s(),c("a",{onClick:h=>Y(l.row)},[...e[13]||(e[13]=[f("编辑",-1)])],8,$e)),[[y]]),t(se,{direction:"vertical"}),v((s(),c("a",{onClick:h=>le(l.row,l.$index)},[...e[14]||(e[14]=[f("删除",-1)])],8,Pe)),[[y]])]),_:1})]),_:1},8,["data"])),[[ve,C.value]]),d("div",Se,[$.value?(s(),B(de,{key:0,total:$.value,page:m.value.page,"onUpdate:page":e[2]||(e[2]=l=>m.value.page=l),limit:m.value.limit,"onUpdate:limit":e[3]||(e[3]=l=>m.value.limit=l),onPagination:k},null,8,["total","page","limit"])):R("",!0)])]),_:1}),t(j,{title:x.value?"编辑配置":"添加配置",modelValue:V.value,"onUpdate:modelValue":e[10]||(e[10]=l=>V.value=l),width:"500px","before-close":S},{footer:a(()=>[d("div",null,[t(A,{onClick:S},{default:a(()=>[...e[20]||(e[20]=[f("取消",-1)])]),_:1}),t(A,{type:"primary",onClick:ee,loading:P.value},{default:a(()=>[...e[21]||(e[21]=[f("确定",-1)])]),_:1},8,["loading"])])]),default:a(()=>[t(N,{ref_key:"formRef",ref:_,model:n.value,rules:Q.value,"label-width":"140px",onSubmit:e[9]||(e[9]=q(()=>{},["prevent"]))},{default:a(()=>[t(g,{label:"开启时间(整点)",prop:"time"},{default:a(()=>[t(I,{modelValue:n.value.time,"onUpdate:modelValue":e[4]||(e[4]=l=>n.value.time=l),placeholder:"请输入0-23之间的整点数字",maxlength:"2"},null,8,["modelValue"]),e[15]||(e[15]=d("div",{class:"tips"},"例如输入 10 表示从 10:00 开始",-1))]),_:1}),t(g,{label:"持续时间(整数小时)",prop:"continued"},{default:a(()=>[t(I,{modelValue:n.value.continued,"onUpdate:modelValue":e[5]||(e[5]=l=>n.value.continued=l),placeholder:"请输入1-24之间的整数",maxlength:"2"},null,8,["modelValue"]),e[16]||(e[16]=d("div",{class:"tips"},"例如输入 2 表示持续 2 小时",-1))]),_:1}),t(g,{label:"幻灯片",prop:"slide"},{default:a(()=>[v((s(),c("div",{class:"picBox",onClick:e[6]||(e[6]=l=>ae("单选"))},[n.value.slide?(s(),c("div",Ae,[d("img",{src:n.value.slide},null,8,Me)])):(s(),c("div",ze,[...e[17]||(e[17]=[d("i",{class:"el-icon-plus acea-row row-center-wrapper",style:{"font-size":"24px"}},null,-1)])]))])),[[y]])]),_:1}),t(g,{label:"排序"},{default:a(()=>[t(re,{modelValue:n.value.sort,"onUpdate:modelValue":e[7]||(e[7]=l=>n.value.sort=l),min:0,max:9999},null,8,["modelValue"])]),_:1}),t(g,{label:"状态"},{default:a(()=>[t(me,{modelValue:n.value.status,"onUpdate:modelValue":e[8]||(e[8]=l=>n.value.status=l)},{default:a(()=>[t(T,{label:1,value:1},{default:a(()=>[...e[18]||(e[18]=[f("显示",-1)])]),_:1}),t(T,{label:0,value:0},{default:a(()=>[...e[19]||(e[19]=[f("隐藏",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["title","modelValue"]),t(j,{modelValue:w.value,"onUpdate:modelValue":e[11]||(e[11]=l=>w.value=l),width:"950px",title:"上传商品图","close-on-click-modal":!1},{default:a(()=>[w.value?(s(),B(_e(Ve),{key:0,isChoice:Z.value,onGetPic:oe,gridBtn:K,gridPic:J},null,8,["isChoice"])):R("",!0)]),_:1},8,["modelValue"])])}}}),qe=be(Le,[["__scopeId","data-v-7cb70930"]]);export{qe as default}; diff --git a/backend/public/admin/system_static/index-CHwiGZ8T.css b/backend/public/admin/system_static/index-CHwiGZ8T.css new file mode 100644 index 000000000..1c1d238a3 --- /dev/null +++ b/backend/public/admin/system_static/index-CHwiGZ8T.css @@ -0,0 +1 @@ +.picBox[data-v-2f45545a]{display:inline-block;cursor:pointer}.picBox .upLoad[data-v-2f45545a]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:#00000005}.picBox .pictrue[data-v-2f45545a]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:10px}.picBox .pictrue img[data-v-2f45545a]{width:100%;height:100%}.picBox .iconfont[data-v-2f45545a]{color:#898989}.mapBox[data-v-2f45545a] .ivu-modal-body{height:640px!important} diff --git a/backend/public/admin/system_static/index-CI9Rme9v.css b/backend/public/admin/system_static/index-CI9Rme9v.css new file mode 100644 index 000000000..03eb677ce --- /dev/null +++ b/backend/public/admin/system_static/index-CI9Rme9v.css @@ -0,0 +1 @@ +.cl[data-v-06da7b21]{margin-right:20px}.code-row-bg[data-v-06da7b21]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.code-row-bg .ivu-mt[data-v-06da7b21]{width:100%;margin:0 5px}.ech-box[data-v-06da7b21]{margin-top:10px}.change-style[data-v-06da7b21]{border:1px solid #ccc;border-radius:15px;padding:0 10px;cursor:pointer}.table-head[data-v-06da7b21]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.return[data-v-06da7b21]{margin-bottom:6px}[data-v-06da7b21] .ivu-tabs-nav-scroll{background-color:#fff;padding-top:5px}.tabBox_img[data-v-06da7b21]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-06da7b21]{width:100%;height:100%} diff --git a/backend/public/admin/system_static/index-CIbY4f6Z.js b/backend/public/admin/system_static/index-CIbY4f6Z.js new file mode 100644 index 000000000..956d2db26 --- /dev/null +++ b/backend/public/admin/system_static/index-CIbY4f6Z.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["system_static/api-OAtPGPHN.js","system_static/index-DHL7RTL2.js","system_static/element-plus-C_ZDq0cz.js","system_static/element-plus-BMPTpAlv.css","system_static/monaco-editor-uXAv8CL-.js","system_static/monaco-editor-gC43XGTT.css","system_static/form-create-7SMPLzS9.js","system_static/vxe-CHB4XD1z.js","system_static/vxe-B-xomzuK.css","system_static/index-CYIj7XV_.css","system_static/api-DA9KG23L.js","system_static/api-WYxeAVAk.js","system_static/api-DjzY39ON.js","system_static/api-CuxUM2v-.js","system_static/api-F07lxUgi.js","system_static/api-CkTOrWll.js","system_static/api-DzQEuwz6.js","system_static/api-DrXU68ht.js","system_static/api-DEOgbDDm.js","system_static/api-sRNjWbbq.js","system_static/api-D06-m3Vw.js","system_static/api-Bi3YkYmz.js","system_static/api-BkA92x09.js"])))=>i.map(i=>d[i]); +import{_ as y}from"./monaco-editor-uXAv8CL-.js";import{Z as k,k as b,u as S,y as i,z as s,j as c,C as u,A as n,H as g,F as L,D,s as m,a1 as I,$ as V,a0 as A,B as P,W as Se,l as _,r as re}from"./element-plus-C_ZDq0cz.js";import{p as Ne,a as ze}from"./index-C2Zmd2Xm.js";import{_ as qe,y as We,aV as de,z as Me}from"./index-DHL7RTL2.js";import{s as Fe,b as Ge,j as He,k as Ze}from"./marketing-BAfn8OEa.js";import{c as Je}from"./cms-BakSzEoF.js";const Ke={class:"table_box"},Qe={key:0,class:"left_box"},Xe={key:1,class:"right_box"},Ye={key:0},et={class:"Box"},tt=["onClick"],lt={key:2,class:"right_box"},at={class:"Box"},it=["onClick"],ot={key:0},nt={class:"Box"},st=["onClick"],ut={key:0},rt={class:"Box"},dt=["onClick"],ct={key:0},_t={class:"Box"},pt=["onClick"],vt={key:0},mt={class:"Box"},gt=["onClick"],ft={key:1},ht={class:"Box"},yt=["onClick"],kt={key:0},bt={class:"tabBox_img"},wt={class:"tabBox_img"},xt={class:"tabBox_img"},Vt={key:4,class:"right_box"},Et={style:{width:"340px",margin:"150px 100px 0 120px"}},Pt={class:"mb30 radioGroup"},Ct={key:0},Lt={key:1},Dt={class:"dialog-footer"},It=Object.assign({name:"linkaddress"},{__name:"index",props:{fromType:{type:String,default:""}},emits:["linkUrl"],setup(N,{expose:ce,emit:_e}){const pe=Object.assign({"../../pages/plugin/aiagent/api.js":()=>y(()=>import("./api-OAtPGPHN.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])),"../../pages/plugin/channel_code/api.js":()=>y(()=>import("./api-DA9KG23L.js"),__vite__mapDeps([10,1,2,3,4,5,6,7,8,9])),"../../pages/plugin/combination/api.js":()=>y(()=>import("./api-WYxeAVAk.js"),__vite__mapDeps([11,1,2,3,4,5,6,7,8,9])),"../../pages/plugin/distribution/api.js":()=>y(()=>import("./api-DjzY39ON.js"),__vite__mapDeps([12,1,2,3,4,5,6,7,8,9])),"../../pages/plugin/integral/api.js":()=>y(()=>import("./api-CuxUM2v-.js"),__vite__mapDeps([13,1,2,3,4,5,6,7,8,9])),"../../pages/plugin/kefu/api.js":()=>y(()=>import("./api-F07lxUgi.js"),__vite__mapDeps([14,1,2,3,4,5,6,7,8,9])),"../../pages/plugin/lottery/api.js":()=>y(()=>import("./api-CkTOrWll.js"),__vite__mapDeps([15,1,2,3,4,5,6,7,8,9])),"../../pages/plugin/normal/api.js":()=>y(()=>import("./api-DzQEuwz6.js"),__vite__mapDeps([16,1,2,3,4,5,6,7,8,9])),"../../pages/plugin/outapi/api.js":()=>y(()=>import("./api-DrXU68ht.js"),__vite__mapDeps([17,1,2,3,4,5,6,7,8,9])),"../../pages/plugin/seckill/api.js":()=>y(()=>import("./api-DEOgbDDm.js"),__vite__mapDeps([18,1,2,3,4,5,6,7,8,9])),"../../pages/plugin/system_file_manage/api.js":()=>y(()=>import("./api-sRNjWbbq.js"),__vite__mapDeps([19,1,2,3,4,5,6,7,8,9])),"../../pages/plugin/virtual/api.js":()=>y(()=>import("./api-D06-m3Vw.js"),__vite__mapDeps([20,1,2,3,4,5,6,7,8,9])),"../../pages/plugin/wechat_mini/api.js":()=>y(()=>import("./api-Bi3YkYmz.js"),__vite__mapDeps([21,1,2,3,4,5,6,7,8,9])),"../../pages/plugin/wechat_mp/api.js":()=>y(()=>import("./api-BkA92x09.js"),__vite__mapDeps([22,1,2,3,4,5,6,7,8,9]))});function ve(e,t){var w;const o=(w=Object.entries(pe).find(([x])=>x.endsWith(`/plugin/${e}/api.js`)))==null?void 0:w[1];return o?o().then(x=>x[t]||null).catch(()=>null):Promise.resolve(null)}const G=_e,me=N,j=_(!1),H=_([]),a=_("link"),ge={label:"name",children:"children"},Z=_(0),fe=[{title:"ID",key:"id",width:60},{title:"页面名称",key:"title",width:150},{title:"页面链接",key:"url"}],he=[{title:"ID",key:"id",width:60},{title:"分类名称",key:"cate_name",tree:!0},{title:"分类图标",slot:"pic"}],ye=[{title:"ID",key:"id",width:60},{title:"商品图片",slot:"image",width:90},{title:"商品名称",key:"store_name"}],ke=void 0,be=[{title:"ID",key:"id",width:60},{title:"商品图片",slot:"image",width:90},{title:"商品名称",key:"title"}],we=[{title:"ID",key:"id",width:60},{title:"文章图片",slot:"image_input",width:90},{title:"文章名称",key:"title"}],xe=[{title:"ID",key:"id",width:60},{title:"名称",key:"name"}],r=re({page:1,limit:1e3,cate_id:"",store_name:""}),J=_([]),K=_([]),Q=_([]),X=_([]),Y=_([]),ee=_([]),C=_(""),O=_(""),d=_(!1),f=_([]),te=_(0),le=_(""),ae=_([]),v=re({url:"",appid:"",mpUrl:"",status:2}),Ve=_(1),Ee={name:[{required:!0,message:"请输入链接名称",trigger:"blur"}],url:[{required:!0,message:"请输入跳转路径",trigger:"blur"}],appid:[{required:!0,message:"请输入APPID",trigger:"blur"}]},ie=_(0),Pe=_(null);Ae(),Ie();function Ce(e){te.value=e.id,O.value=e.url}function Le(){ze(le.value).then(e=>{e.data.list.length||(Ve.value=2),f.value=e.data.list}).catch(e=>{k.error(e.msg||"获取自定义列表失败")})}function De(e){Pe.value.validate(t=>{if(t){let o=v.url;v.status==1?o=v.url:o=v.mpUrl+"@APPID="+v.appid,G("linkUrl",o),j.value=!1,U()}else k.error("请填写信息")})}function Ie(){We(1).then(e=>{ae.value=e.data}).catch(e=>{k.error(e.msg||"获取商品分类失败")})}function oe(){r.page=1,ne()}function U(){O.value="",te.value=0,C.value="",v.url=""}function $(e){C.value=e.id,O.value=e.url}function Ae(){Ne().then(e=>{e.data.length&&(e.data[0].children[0].selected=!0),H.value=e.data,me.fromType==="diyPage"&&e.data.length&&e.data[0].children.length&&e.data[0].children[2]?R(e.data[0].children[2]):e.data.length&&e.data[0].children.length&&e.data[0].children[0].children.length&&R(e.data[0].children[0].children[0])}).catch(e=>{k.error(e.msg||"获取链接分类失败")})}function ne(){d.value=!0,r.limit=1e3,a.value=="product"?Me(r).then(async e=>{let t=e.data;t.list.forEach(o=>{o.url=`/pages/goods_details/index?id=${o.id}`}),f.value=t.list,d.value=!1}).catch(e=>{d.value=!1,k.error(e.msg||"获取列表失败")}):a.value=="seckill"?Fe(r).then(async e=>{let t=e.data;t.list.forEach(o=>{o.url=`/pages/activity/goods_seckill_details/index?id=${o.id}&status=1`}),f.value=t.list,d.value=!1}).catch(e=>{d.value=!1,k.error(e.msg||"获取秒杀列表失败")}):a.value=="bargain"?Ge(r).then(async e=>{let t=e.data;t.list.forEach(o=>{o.url=`/pages/activity/goods_bargain_details/index?id=${o.id}`}),f.value=t.list,d.value=!1}).catch(e=>{d.value=!1,k.error(e.msg||"获取砍价列表失败")}):a.value=="combination"?He(r).then(async e=>{let t=e.data;t.list.forEach(o=>{o.url=`/pages/activity/goods_combination_details/index?id=${o.id}`}),f.value=t.list,d.value=!1}).catch(e=>{d.value=!1,k.error(e.msg||"获取拼团列表失败")}):a.value=="news"?Je(r).then(async e=>{let t=e.data;t.list.forEach(o=>{o.url=`/pages/extension/news_details/index?id=${o.id}`}),f.value=t.list,d.value=!1}).catch(e=>{d.value=!1,k.error(e.msg||"获取新闻列表失败")}):a.value=="lottery_list"?(r.cate_id="",r.store_name="",Object.assign(r,{page:1,limit:1e3,factor:1}),ve("lottery","lotteryList").then(e=>e?e(r):null).then(async e=>{if(!e){f.value=[],d.value=!1;return}let t=e.data;t.list.forEach(o=>{o.url=`/pages/goods/lottery/grids/index?type=1&lottery_id=${o.id}`}),f.value=t.list,d.value=!1}).catch(e=>{d.value=!1,e&&e.msg&&k.error(e.msg)})):a.value=="integral"?Ze(r).then(async e=>{let t=e.data;t.list.forEach(o=>{o.url=`/pages/points_mall/integral_goods_details?id=${o.id}`}),f.value=t.list,d.value=!1}).catch(e=>{d.value=!1,k.error(e.msg||"获取积分商品列表失败")}):a.value=="special"&&de(r).then(e=>{d.value=!1;let t=e.data.list,o=[];t.forEach(w=>{w.url=`/pages/annex/special/index?theme_id=${w.id}&name=${w.title}`,o.push(w)}),f.value=o}).catch(e=>{d.value=!1,k.error(e.msg||"获取链接列表失败")})}function R(e){U();let t="";if(ie.value=e.id,e.pid)t=e.id,le.value=e.id;else return!1;d.value=!0,a.value=e.type,a.value=="product"||a.value=="seckill"||a.value=="bargain"||a.value=="combination"||a.value=="news"||a.value=="integral"||a.value=="lottery_list"?ne():a.value=="custom"?Le():(r.id=t,r.page=1,r.limit=1e3,de(r).then(o=>{d.value=!1;let w=o.data.list;if(a.value=="special"){let x=[];w.forEach(T=>{T.url=`/pages/annex/special/index?theme_id=${T.id}&name=${T.title}`,x.push(T)}),f.value=x}else f.value=w}).catch(o=>{d.value=!1,k.error(o.msg||"获取链接列表失败")}))}function $e(){if(O.value=="")return k.warning("请选择链接");G("linkUrl",O.value),j.value=!1,U()}function Te(){j.value=!1,U()}return ce({modals:j,handleCheckChange:R}),(e,t)=>{const o=b("el-tree"),w=b("el-cascader"),x=b("el-form-item"),T=b("el-col"),B=b("el-input"),je=b("el-row"),se=b("el-form"),z=b("el-radio"),ue=b("el-table-column"),q=b("viewer"),Oe=b("el-table"),Ue=b("el-radio-group"),W=b("el-button"),Re=b("el-dialog"),E=S("db-click"),M=S("permission"),F=S("lazy"),Be=S("loading");return i(),s("div",null,[c(Re,{modelValue:j.value,"onUpdate:modelValue":t[9]||(t[9]=l=>j.value=l),title:"选择链接","close-on-click-modal":!1,"append-to-body":"",width:"1000px"},{footer:u(()=>[n("span",Dt,[m((i(),P(W,{onClick:Te},{default:u(()=>[...t[20]||(t[20]=[V("取 消",-1)])]),_:1})),[[E]]),a.value=="custom"?m((i(),P(W,{key:0,type:"primary",onClick:t[8]||(t[8]=l=>De("customdate"))},{default:u(()=>[...t[21]||(t[21]=[V("确 定",-1)])]),_:1})),[[E]]):m((i(),P(W,{key:1,type:"primary",onClick:$e},{default:u(()=>[...t[22]||(t[22]=[V("确 定",-1)])]),_:1})),[[E]])])]),default:u(()=>[n("div",Ke,[N.fromType!=="diyPage"?(i(),s("div",Qe,[c(o,{data:H.value,"node-key":"id","default-expand-all":"",props:ge,"highlight-current":"",onNodeClick:R,"current-node-key":ie.value},null,8,["data","current-node-key"])])):g("",!0),a.value=="link"?(i(),s("div",Xe,[f.value.length?(i(),s("div",Ye,[t[10]||(t[10]=n("div",{class:"cont"},"请选择链接",-1)),n("div",et,[(i(!0),s(L,null,D(f.value,(l,p)=>m((i(),s("div",{class:I(["cont_box",C.value==l.id?"on":""]),key:p,onClick:h=>$(l)},[V(A(l.name),1)],10,tt)),[[E]])),128))])])):g("",!0)])):g("",!0),a.value=="marketing_link"&&X.value.length?(i(),s("div",lt,[n("div",null,[t[11]||(t[11]=n("div",{class:"cont"},"优惠券",-1)),n("div",at,[(i(!0),s(L,null,D(X.value,(l,p)=>m((i(),s("div",{class:I(["cont_box",C.value==l.id?"on":""]),key:p,onClick:h=>$(l)},[V(A(l.name),1)],10,it)),[[E]])),128))])]),n("div",null,[J.value.length?m((i(),s("div",ot,[t[12]||(t[12]=n("div",{class:"cont"},"秒杀",-1)),n("div",nt,[(i(!0),s(L,null,D(J.value,(l,p)=>m((i(),s("div",{class:I(["cont_box",C.value==l.id?"on":""]),key:p,onClick:h=>$(l)},[V(A(l.name),1)],10,st)),[[E]])),128))])])),[[M,"seckill"]]):g("",!0)]),n("div",null,[Q.value.length?m((i(),s("div",ut,[t[13]||(t[13]=n("div",{class:"cont"},"砍价",-1)),n("div",rt,[(i(!0),s(L,null,D(Q.value,(l,p)=>m((i(),s("div",{class:I(["cont_box",C.value==l.id?"on":""]),key:p,onClick:h=>$(l)},[V(A(l.name),1)],10,dt)),[[E]])),128))])])),[[M,"bargain"]]):g("",!0)]),n("div",null,[K.value.length?m((i(),s("div",ct,[t[14]||(t[14]=n("div",{class:"cont"},"拼团",-1)),n("div",_t,[(i(!0),s(L,null,D(K.value,(l,p)=>m((i(),s("div",{class:I(["cont_box",C.value==l.id?"on":""]),key:p,onClick:h=>$(l)},[V(A(l.name),1)],10,pt)),[[E]])),128))])])),[[M,"combination"]]):g("",!0)]),ee.value.length?(i(),s("div",vt,[t[15]||(t[15]=n("div",{class:"cont"},"积分",-1)),n("div",mt,[(i(!0),s(L,null,D(ee.value,(l,p)=>m((i(),s("div",{class:I(["cont_box",C.value==l.id?"on":""]),key:p,onClick:h=>$(l)},[V(A(l.name),1)],10,gt)),[[E]])),128))])])):g("",!0),Y.value.length?(i(),s("div",ft,[t[16]||(t[16]=n("div",{class:"cont"},"抽奖",-1)),n("div",ht,[(i(!0),s(L,null,D(Y.value,(l,p)=>m((i(),s("div",{class:I(["cont_box",C.value==l.id?"on":""]),key:p,onClick:h=>$(l)},[V(A(l.name),1)],10,yt)),[[E]])),128))])])):g("",!0)])):g("",!0),a.value=="special"||a.value=="product_category"||a.value=="product"||a.value=="seckill"||a.value=="bargain"||a.value=="combination"||a.value=="news"||a.value=="integral"||a.value=="lottery_list"?(i(),s("div",{key:3,class:I(["right_box",N.fromType=="diyPage"?"diy":""])},[a.value=="product"?(i(),P(se,{key:0,ref:"formValidate",model:r,class:"tabform"},{default:u(()=>[c(je,{gutter:24},{default:u(()=>[c(T,{span:8},{default:u(()=>[c(x,{label:"","label-for":"pid"},{default:u(()=>[c(w,{style:{width:"180px"},modelValue:r.cate_id,"onUpdate:modelValue":t[0]||(t[0]=l=>r.cate_id=l),options:ae.value,props:{multiple:!0,checkStrictly:!0,emitPath:!1},filterable:"",clearable:"",onChange:oe},null,8,["modelValue","options"])]),_:1})]),_:1}),c(T,{span:12},{default:u(()=>[c(x,{label:"","label-for":"store_name"},{default:u(()=>[c(B,{search:"","enter-button":"",placeholder:"请输入商品名称,关键字,编号",modelValue:r.store_name,"onUpdate:modelValue":t[1]||(t[1]=l=>r.store_name=l),style:{width:"200px"},onChange:oe},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])):g("",!0),m((i(),P(Oe,{"row-key":"id",ref:"table","empty-text":"暂无数据",data:f.value,"max-height":a.value=="product_category"?"460":a.value=="product"||a.value=="seckill"||a.value=="bargain"||a.value=="combination"||a.value=="news"||a.value=="integral"?"428":""},{default:u(()=>[["special","product","seckill","product_category","bargain","combination","integral","news","lottery_list","link"].includes(a.value)?(i(),P(ue,{key:0,width:a.value!="product_category"?50:80},{default:u(l=>[c(z,{modelValue:Z.value,"onUpdate:modelValue":t[2]||(t[2]=p=>Z.value=p),label:l.row.id,value:l.row.id,onChange:p=>Ce(l.row)},{default:u(()=>[...t[17]||(t[17]=[V(" ",-1)])]),_:1},8,["modelValue","label","value","onChange"])]),_:1},8,["width"])):g("",!0),(i(!0),s(L,null,D(a.value=="special"?fe:a.value=="product_category"?he:a.value=="bargain"||a.value=="combination"||a.value=="integral"?be:a.value=="news"?we:a.value=="lottery_list"?xe:a.value=="link"?Se(ke):ye,(l,p)=>(i(),P(ue,{label:l.title,width:l.width,"min-width":l.minWidth,key:p},{default:u(h=>[l.key?(i(),s("div",kt,[n("span",null,A(h.row[l.key]),1)])):l.slot==="pic"&&h.row.hasOwnProperty("pic")?(i(),P(q,{key:1},{default:u(()=>[n("div",bt,[m(n("img",null,null,512),[[F,h.row.pic]])])]),_:2},1024)):l.slot==="image"&&h.row.hasOwnProperty("image")?(i(),P(q,{key:2},{default:u(()=>[n("div",wt,[m(n("img",null,null,512),[[F,h.row.image]])])]),_:2},1024)):l.slot==="image_input"&&h.row.hasOwnProperty("image_input")?(i(),P(q,{key:3},{default:u(()=>[n("div",xt,[m(n("img",null,null,512),[[F,h.row.image_input[0]]])])]),_:2},1024)):g("",!0)]),_:2},1032,["label","width","min-width"]))),128))]),_:1},8,["data","max-height"])),[[Be,d.value]])],2)):g("",!0),a.value=="custom"?(i(),s("div",Vt,[n("div",Et,[c(se,{ref:"customdate",model:v,rules:Ee,"label-width":100},{default:u(()=>[n("div",Pt,[c(Ue,{modelValue:v.status,"onUpdate:modelValue":t[3]||(t[3]=l=>v.status=l),onInput:t[4]||(t[4]=l=>e.radioTap("customdate"))},{default:u(()=>[c(z,{label:2,value:2},{default:u(()=>[...t[18]||(t[18]=[n("span",null,"跳转其他小程序",-1)])]),_:1}),c(z,{label:1,value:1},{default:u(()=>[...t[19]||(t[19]=[n("span",null,"普通链接",-1)])]),_:1})]),_:1},8,["modelValue"])]),v.status==1?(i(),s("div",Ct,[c(x,{label:"跳转路径:",prop:"url",key:"url"},{default:u(()=>[c(B,{modelValue:v.url,"onUpdate:modelValue":t[5]||(t[5]=l=>v.url=l),placeholder:"请输入正确跳转路径"},null,8,["modelValue"])]),_:1})])):g("",!0),v.status==2?(i(),s("div",Lt,[c(x,{label:"APPID:",prop:"appid",key:"appid"},{default:u(()=>[c(B,{modelValue:v.appid,"onUpdate:modelValue":t[6]||(t[6]=l=>v.appid=l),placeholder:"请输入正确APPID"},null,8,["modelValue"])]),_:1}),c(x,{label:"小程序路径:",prop:"mpUrl",key:"mpUrl"},{default:u(()=>[c(B,{modelValue:v.mpUrl,"onUpdate:modelValue":t[7]||(t[7]=l=>v.mpUrl=l),placeholder:"请输入正确小程序路径"},null,8,["modelValue"])]),_:1})])):g("",!0)]),_:1},8,["model"])])])):g("",!0)])]),_:1},8,["modelValue"])])}}}),Rt=qe(It,[["__scopeId","data-v-11ca6a9f"]]);export{Rt as l}; diff --git a/backend/public/admin/system_static/index-CIiybnwF.css b/backend/public/admin/system_static/index-CIiybnwF.css new file mode 100644 index 000000000..abd7d61c1 --- /dev/null +++ b/backend/public/admin/system_static/index-CIiybnwF.css @@ -0,0 +1 @@ +.save[data-v-1dd526fc]{width:100%;margin:0 auto;text-align:center;background-color:#fff;bottom:0;padding:16px;border-top:3px solid #f5f7f9}.form .goodsTitle[data-v-1dd526fc]{margin-bottom:25px}.form .goodsTitle~.goodsTitle[data-v-1dd526fc]{margin-top:20px}.form .goodsTitle .title[data-v-1dd526fc]{border-bottom:2px solid var(--prev-color-primary);padding:0 8px 12px 5px;color:#000;font-size:14px}.form .goodsTitle .icons[data-v-1dd526fc]{font-size:15px;margin-right:8px;color:#999}.form .add[data-v-1dd526fc]{font-size:12px;color:var(--prev-color-primary);padding:0 12px;cursor:pointer}.form .radio[data-v-1dd526fc]{margin-right:20px}.form .upLoad[data-v-1dd526fc]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:#00000005}.form .iconfont[data-v-1dd526fc]{color:#898989}.form .pictrue[data-v-1dd526fc]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:10px}.form .pictrue img[data-v-1dd526fc]{width:100%;height:100%}.agreement-box[data-v-1dd526fc]{width:310px;height:550px;border-radius:10px;background:#0000;border:1px solid #eeeeee;opacity:1;position:relative}.agreement-box .template[data-v-1dd526fc]{position:absolute;width:100%;height:100%;top:0;left:0;border-radius:10px;background-color:#817e81}.agreement-box .htmls_box[data-v-1dd526fc]{font-size:12px;width:259px;height:430px;border-radius:10px;background-color:#fff;position:absolute;top:58px;left:26px}.agreement-box .htmls_box .htmls_top[data-v-1dd526fc]{position:absolute;top:8px;left:0;height:34px;text-align:center;width:100%;line-height:35px;font-weight:600;font-size:20px}.agreement-box .htmls_box .htmls_font[data-v-1dd526fc]{position:absolute;bottom:0;left:0;padding:15px;text-align:center;width:100%}.agreement-box .htmls_box .htmls_font div[data-v-1dd526fc]{height:35px;line-height:35px;border-radius:20px}.agreement-box .htmls_box .htmls_font .ok[data-v-1dd526fc]{background-color:#f33316;color:#fff}.agreement-box .htmls_box .htmls[data-v-1dd526fc]{position:absolute;background-color:#fff;top:50px;left:0;width:259px;height:281px;border-radius:4px;overflow:auto;padding:5px 15px;word-break:break-word}.agreement-box .htmls_box .htmls[data-v-1dd526fc]::-webkit-scrollbar{display:none}.item[data-v-1dd526fc]{margin-right:15px;border:1px dashed #dbdbdb;padding-bottom:10px;padding-right:15px;padding-top:20px}.swiperimg[data-v-1dd526fc]{width:310px;border-top-left-radius:10px;border-top-right-radius:10px}.swiperimg img[data-v-1dd526fc]{width:100%;height:100%}.title[data-v-1dd526fc]{font-weight:700;font-size:15px;border-left:2px solid var(--prev-color-primary);height:23px;padding:0 0 13px 10px}.content .right-box[data-v-1dd526fc]{margin-left:40px}.box[data-v-1dd526fc]{border-top:3px solid #f5f7f9;padding:25px 10px 10px;width:100%}.box .save[data-v-1dd526fc]{background-color:var(--prev-color-primary);color:#fff;width:71px;height:30px;margin:0 auto;text-align:center;line-height:30px;cursor:pointer}.iframe[data-v-1dd526fc]{margin-left:20px;position:relative;width:310px;background:#fff;border:1px solid #eeeeee;opacity:1;border-radius:10px}.iconfont[data-v-1dd526fc]{color:#ddd;font-size:28px}.box-wrapper[data-v-1dd526fc]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;padding:20px;background-color:#fff;border-radius:5px;margin:20px} diff --git a/backend/public/admin/system_static/index-CIzI5-ig.css b/backend/public/admin/system_static/index-CIzI5-ig.css new file mode 100644 index 000000000..d448f0930 --- /dev/null +++ b/backend/public/admin/system_static/index-CIzI5-ig.css @@ -0,0 +1 @@ +[data-v-18ceb9ff] .ivu-table-cell-tree{border:0;font-size:15px;background-color:unset}[data-v-18ceb9ff] .ivu-table-cell-tree .ivu-icon-ios-add:before{content:""}[data-v-18ceb9ff] .ivu-table-cell-tree .ivu-icon-ios-remove:before{content:""}.button[data-v-18ceb9ff]{width:300px} diff --git a/backend/public/admin/system_static/index-CJIz5l5o.js b/backend/public/admin/system_static/index-CJIz5l5o.js new file mode 100644 index 000000000..1aa815627 --- /dev/null +++ b/backend/public/admin/system_static/index-CJIz5l5o.js @@ -0,0 +1,4 @@ +import{a as oe,Z as _,y as l,z as i,j as u,A as e,a1 as r,C as o,at as R,s as y,B as V,$ as c,a0 as p,H as m,F as U,r as ae,l as f,k as w,u as Z,ab as de,D as re,ad as ue}from"./element-plus-C_ZDq0cz.js";import{routineCIEnvironment as ce,routineCIConfig as ve,routineCIGuide as pe,routineCIUpload as me,routineCIPreview as fe,routineCISaveKey as ge}from"./api-Bi3YkYmz.js";import{_ as ye}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const _e={class:"routine-ci-upload"},ke={class:"progress-steps"},be={class:"notice-content"},we={class:"main-content"},xe={class:"card-header"},Ce={class:"card-body"},Ve={class:"status-overview"},Ie={class:"env-grid"},Pe={class:"env-item"},$e={class:"env-info"},Ee={class:"env-value"},Ue={class:"env-item"},qe={class:"env-info"},Ke={class:"env-item"},Se={class:"env-info"},Be={key:0,class:"alert alert-error"},Re={key:1,class:"action-buttons"},Ne={key:0,class:"card config-card"},Te={class:"card-body"},Ae={class:"config-grid"},De={class:"config-item"},Fe={class:"config-info"},Ge={class:"config-value"},ze={class:"value-text"},je={class:"config-item"},He={class:"config-info"},Le={class:"config-value"},Me={key:1,class:"card upload-card"},Ye={class:"card-header"},Oe={class:"card-body"},Qe={class:"form-row"},Ze={class:"form-actions"},Je={key:0,class:"el-icon-upload2"},We={key:0,class:"el-icon-mobile-phone"},Xe={key:0,class:"preview-section"},he={class:"preview-card"},es=["src"],ss={key:0,class:"result-section"},ls={class:"result-icon"},ts={class:"result-content"},ns={key:0},is={key:1},os={key:2,class:"error-msg"},as={key:0,class:"install-guide"},ds={key:0,class:"guide-section recommended"},rs={class:"code-block"},us={class:"code-content"},cs={class:"section-footer"},vs=["href"],ps={class:"guide-section manual"},ms={class:"section-header"},fs={class:"header-text"},gs={class:"guide-steps"},ys={class:"step-number"},_s={class:"step-content"},ks=["onClick"],bs={class:"key-upload-content"},ws={class:"key-input-section"},xs={key:0,class:"el-icon-check"},Cs=Object.assign({name:"RoutineCIUpload"},{__name:"index",setup(Vs){const $=f(!1),t=f({}),v=f({}),x=f(null),d=ae({environment:!1,saveKey:!1,upload:!1,preview:!1}),q=f(!1),P=f(!1),E=f(""),k=f({version:"",desc:"",is_live:0}),J=f({version:[{required:!0,message:"请输入版本号",trigger:"blur"},{pattern:/^\d+\.\d+\.\d+$/,message:"版本号格式错误,请使用 x.x.x 格式",trigger:"blur"}]}),K=f(""),g=f(null),N=f(null);oe(()=>{A()});async function T(n){try{await navigator.clipboard.writeText(n),_.success("已复制到剪贴板")}catch{_.error("复制失败")}}async function A(){d.environment=!0;try{const n=await ce();t.value=n.data,n.data.ready?D():W()}catch(n){_.error(n.msg||"检查环境失败")}finally{d.environment=!1}}async function D(){try{const n=await ve();v.value=n.data}catch(n){console.error("获取上传配置失败",n)}}async function W(){try{const n=await pe();x.value=n.data}catch(n){console.error("获取安装指南失败",n)}}async function X(){if(!E.value.trim()){_.warning("请输入密钥内容");return}d.saveKey=!0;try{await ge({key_content:E.value}),_.success("密钥保存成功"),P.value=!1,E.value="",D()}catch(n){_.error(n.msg||"保存失败")}finally{d.saveKey=!1}}async function h(){N.value.validate(async n=>{var s;if(n)try{await ue.confirm("确定要上传小程序代码吗?","确认上传",{confirmButtonText:"确定上传",cancelButtonText:"取消",type:"info"}),d.upload=!0,g.value=null;const I=await me(k.value);g.value={success:!0,version:k.value.version,message:((s=I.data)==null?void 0:s.message)||"上传成功"},_.success("上传成功")}catch(I){I!=="cancel"&&(g.value={success:!1,message:I.msg||"上传失败"},_.error(I.msg||"上传失败"))}finally{d.upload=!1}})}async function ee(){d.preview=!0;try{const n=await fe({});K.value=n.data.qrcode_url,_.success("预览二维码生成成功")}catch(n){_.error(n.msg||"获取预览码失败")}finally{d.preview=!1}}return(n,s)=>{var G,z,j,H,L,M,Y,O;const I=w("pages-header"),C=w("el-button"),se=w("router-link"),le=w("el-tag"),S=w("el-input"),B=w("el-form-item"),te=w("el-switch"),ne=w("el-form"),F=w("el-dialog"),b=Z("db-click"),ie=Z("loading");return l(),i("div",_e,[u(I,{title:"小程序一键上传",description:"使用 miniprogram-ci 自动化部署小程序代码到微信服务器"}),e("div",ke,[e("div",{class:r(["step",{active:!0,completed:t.value.ready}])},[...s[13]||(s[13]=[e("div",{class:"step-number"},"1",-1),e("div",{class:"step-label"},"环境配置",-1)])],2),e("div",{class:r(["step-line",{completed:t.value.ready}])},null,2),e("div",{class:r(["step",{active:t.value.ready,completed:v.value.app_id_configured&&v.value.private_key_exists}])},[...s[14]||(s[14]=[e("div",{class:"step-number"},"2",-1),e("div",{class:"step-label"},"上传配置",-1)])],2),e("div",{class:r(["step-line",{completed:v.value.app_id_configured&&v.value.private_key_exists}])},null,2),e("div",{class:r(["step",{active:t.value.ready&&v.value.app_id_configured&&v.value.private_key_exists}])},[...s[15]||(s[15]=[e("div",{class:"step-number"},"3",-1),e("div",{class:"step-label"},"上传代码",-1)])],2)]),e("div",{class:r(["notice-banner",{expanded:$.value}])},[e("div",{class:"notice-header",onClick:s[0]||(s[0]=a=>$.value=!$.value)},[s[16]||(s[16]=e("div",{class:"notice-title"},[e("i",{class:"el-icon-info"}),e("span",null,"使用前准备")],-1)),e("i",{class:r($.value?"el-icon-arrow-up":"el-icon-arrow-down")},null,2)]),u(R,{name:"slide-fade"},{default:o(()=>[y(e("div",be,[...s[17]||(s[17]=[e("div",{class:"notice-item"},[e("div",{class:"notice-step"},"1"),e("div",{class:"notice-text"},[e("strong",null,"生成代码上传密钥"),e("p",null,[c(" 访问 "),e("a",{href:"https://mp.weixin.qq.com/",target:"_blank",rel:"noopener"},"微信公众平台"),c(" → 开发管理 → 开发设置 → 小程序代码上传 → 生成密钥 ")])])],-1),e("div",{class:"notice-item"},[e("div",{class:"notice-step"},"2"),e("div",{class:"notice-text"},[e("strong",null,"配置 IP 白名单"),e("p",null,"在同一页面将服务器公网 IP 添加到白名单中")])],-1)])],512),[[de,$.value]])]),_:1})],2),e("div",we,[e("div",{class:r(["card env-card",{"card-success":t.value.ready,"card-warning":!t.value.ready}])},[e("div",xe,[s[18]||(s[18]=e("div",{class:"card-title"},[e("i",{class:"el-icon-cpu"}),e("span",null,"运行环境")],-1)),y((l(),V(C,{class:"refresh-btn",disabled:d.environment,onClick:A},{default:o(()=>[e("i",{class:r(d.environment?"el-icon-loading":"el-icon-refresh")},null,2)]),_:1},8,["disabled"])),[[b]])]),y((l(),i("div",Ce,[e("div",Ve,[e("div",{class:r(["status-badge",t.value.ready?"success":"warning"])},[e("i",{class:r(t.value.ready?"el-icon-check":"el-icon-warning")},null,2),c(" "+p(t.value.ready?"环境就绪":"环境未就绪"),1)],2)]),e("div",Ie,[e("div",Pe,[s[20]||(s[20]=e("div",{class:"env-icon os"},[e("i",{class:"el-icon-monitor"})],-1)),e("div",$e,[s[19]||(s[19]=e("span",{class:"env-label"},"操作系统",-1)),e("span",Ee,p(((G=t.value.os)==null?void 0:G.type)||"-")+" "+p(((z=t.value.os)==null?void 0:z.version)||""),1)])]),e("div",Ue,[e("div",{class:r(["env-icon",(j=t.value.node)!=null&&j.installed?"success":"error"])},[...s[21]||(s[21]=[e("i",{class:"el-icon-connection"},null,-1)])],2),e("div",qe,[s[22]||(s[22]=e("span",{class:"env-label"},"Node.js",-1)),e("span",{class:r(["env-value",(H=t.value.node)!=null&&H.installed?"text-success":"text-error"])},p((L=t.value.node)!=null&&L.installed?"v"+t.value.node.version:"未安装"),3)])]),e("div",Ke,[e("div",{class:r(["env-icon",(M=t.value.miniprogram_ci)!=null&&M.installed?"success":"error"])},[...s[23]||(s[23]=[e("i",{class:"el-icon-box"},null,-1)])],2),e("div",Se,[s[24]||(s[24]=e("span",{class:"env-label"},"miniprogram-ci",-1)),e("span",{class:r(["env-value",(Y=t.value.miniprogram_ci)!=null&&Y.installed?"text-success":"text-error"])},p((O=t.value.miniprogram_ci)!=null&&O.installed?"v"+t.value.miniprogram_ci.version:"未安装"),3)])])]),t.value.exec_enabled===!1?(l(),i("div",Be,[...s[25]||(s[25]=[e("i",{class:"el-icon-warning"},null,-1),e("div",{class:"alert-content"},[e("strong",null,"无法使用小程序上传功能"),e("p",null,[c("服务器禁用了 "),e("code",null,"exec"),c(" 函数。请在 PHP 配置中启用该函数。")]),e("p",{class:"alert-hint"},"宝塔面板:软件商店 → PHP → 设置 → 禁用函数 → 删除 exec")],-1)])])):m("",!0),!t.value.ready&&t.value.exec_enabled!==!1?(l(),i("div",Re,[y((l(),V(C,{onClick:s[1]||(s[1]=a=>q.value=!0)},{default:o(()=>[...s[26]||(s[26]=[e("i",{class:"el-icon-document"},null,-1),e("span",null,"手动安装指南",-1)])]),_:1})),[[b]])])):m("",!0)])),[[ie,d.environment]])],2),t.value.ready?(l(),i("div",Ne,[s[40]||(s[40]=e("div",{class:"card-header"},[e("div",{class:"card-title"},[e("i",{class:"el-icon-setting"}),e("span",null,"上传配置")])],-1)),e("div",Te,[e("div",Ae,[e("div",De,[s[31]||(s[31]=e("div",{class:"config-icon"},[e("i",{class:"el-icon-key"})],-1)),e("div",Fe,[s[30]||(s[30]=e("span",{class:"config-label"},"小程序 AppId",-1)),e("div",Ge,[v.value.app_id_configured?(l(),i(U,{key:0},[e("span",ze,p(v.value.app_id),1),s[27]||(s[27]=e("span",{class:"status-dot success"},null,-1))],64)):(l(),i(U,{key:1},[s[29]||(s[29]=e("span",{class:"value-text text-muted"},"未配置",-1)),u(se,{to:{path:n.$routeProStr+"/setting/system_config/"+v.value.config_tab_id},class:"config-link"},{default:o(()=>[...s[28]||(s[28]=[c(" 去配置 ",-1),e("i",{class:"el-icon-arrow-right"},null,-1)])]),_:1},8,["to"])],64))])])]),e("div",je,[s[38]||(s[38]=e("div",{class:"config-icon"},[e("i",{class:"el-icon-lock"})],-1)),e("div",He,[s[37]||(s[37]=e("span",{class:"config-label"},"上传密钥",-1)),e("div",Le,[v.value.private_key_exists?(l(),i(U,{key:0},[s[33]||(s[33]=e("span",{class:"value-text"},"已配置",-1)),s[34]||(s[34]=e("span",{class:"status-dot success"},null,-1)),y((l(),i("a",{class:"link-btn",onClick:s[2]||(s[2]=a=>P.value=!0)},[...s[32]||(s[32]=[c("重新上传",-1)])])),[[b]])],64)):(l(),i(U,{key:1},[s[36]||(s[36]=e("span",{class:"value-text text-muted"},"未配置",-1)),y((l(),V(C,{type:"primary",onClick:s[3]||(s[3]=a=>P.value=!0)},{default:o(()=>[...s[35]||(s[35]=[e("i",{class:"el-icon-upload2"},null,-1),c(" 上传密钥 ",-1)])]),_:1})),[[b]])],64))])]),s[39]||(s[39]=e("div",{class:"config-hint"},[e("a",{href:"https://mp.weixin.qq.com/",target:"_blank",rel:"noopener"},"前往微信公众平台获取")],-1))])])])])):m("",!0),t.value.ready&&v.value.app_id_configured&&v.value.private_key_exists?(l(),i("div",Me,[e("div",Ye,[s[42]||(s[42]=e("div",{class:"card-title"},[e("i",{class:"el-icon-upload"}),e("span",null,"一键上传")],-1)),u(le,{size:"small"},{default:o(()=>[...s[41]||(s[41]=[c("无需开发者工具",-1)])]),_:1})]),e("div",Oe,[s[48]||(s[48]=e("div",{class:"info-banner"},[e("i",{class:"el-icon-info"}),e("span",null,"系统将自动生成小程序代码包并上传到微信服务器")],-1)),u(ne,{model:k.value,rules:J.value,ref_key:"uploadFormRef",ref:N,class:"upload-form","label-position":"top"},{default:o(()=>[e("div",Qe,[u(B,{label:"版本号",prop:"version",class:"form-item-half"},{default:o(()=>[u(S,{modelValue:k.value.version,"onUpdate:modelValue":s[4]||(s[4]=a=>k.value.version=a),placeholder:"例如:1.0.0"},{prefix:o(()=>[...s[43]||(s[43]=[e("i",{class:"el-icon-price-tag"},null,-1)])]),_:1},8,["modelValue"])]),_:1}),u(B,{label:"直播功能",class:"form-item-half"},{default:o(()=>[u(te,{modelValue:k.value.is_live,"onUpdate:modelValue":s[5]||(s[5]=a=>k.value.is_live=a),"active-value":1,"inactive-value":0,class:"defineSwitch",size:"large",width:"200","active-text":"已开通","inactive-text":"未开通"},null,8,["modelValue"])]),_:1})]),u(B,{label:"版本描述"},{default:o(()=>[u(S,{modelValue:k.value.desc,"onUpdate:modelValue":s[6]||(s[6]=a=>k.value.desc=a),type:"textarea",rows:3,placeholder:"简要描述本次更新内容(可选)"},null,8,["modelValue"])]),_:1}),e("div",Ze,[y((l(),V(C,{type:"primary",loading:d.upload,onClick:h},{default:o(()=>[d.upload?m("",!0):(l(),i("i",Je)),s[44]||(s[44]=e("span",null,"上传到微信",-1))]),_:1},8,["loading"])),[[b]]),y((l(),V(C,{loading:d.preview,onClick:ee},{default:o(()=>[d.preview?m("",!0):(l(),i("i",We)),s[45]||(s[45]=e("span",null,"获取预览码",-1))]),_:1},8,["loading"])),[[b]])])]),_:1},8,["model","rules"]),u(R,{name:"fade-slide"},{default:o(()=>[K.value?(l(),i("div",Xe,[e("div",he,[e("img",{src:K.value,alt:"预览二维码"},null,8,es),s[46]||(s[46]=e("p",null,"使用微信扫码预览",-1))])])):m("",!0)]),_:1}),u(R,{name:"fade-slide"},{default:o(()=>[g.value?(l(),i("div",ss,[e("div",{class:r(["result-card",g.value.success?"success":"error"])},[e("div",ls,[e("i",{class:r(g.value.success?"el-icon-check":"el-icon-close")},null,2)]),e("div",ts,[e("h4",null,p(g.value.success?"上传成功":"上传失败"),1),g.value.success?(l(),i("p",ns,"版本 "+p(g.value.version)+" 已上传到微信服务器",1)):m("",!0),g.value.success?(l(),i("p",is,[...s[47]||(s[47]=[c(" 请前往 ",-1),e("a",{href:"https://mp.weixin.qq.com/",target:"_blank",rel:"noopener"},"微信公众平台",-1),c(" 提交审核 ",-1)])])):(l(),i("p",os,p(g.value.message),1))])],2)])):m("",!0)]),_:1})])])):m("",!0)]),u(F,{title:"手动安装指南",modelValue:q.value,"onUpdate:modelValue":s[9]||(s[9]=a=>q.value=a),width:"650px"},{footer:o(()=>[y((l(),V(C,{onClick:s[8]||(s[8]=a=>q.value=!1)},{default:o(()=>[...s[61]||(s[61]=[c("关闭",-1)])]),_:1})),[[b]])]),default:o(()=>[x.value?(l(),i("div",as,[x.value.script_url?(l(),i("div",ds,[s[54]||(s[54]=e("div",{class:"section-badge"},[e("i",{class:"el-icon-star-on"}),e("span",null,"推荐方式")],-1)),s[55]||(s[55]=e("div",{class:"section-header"},[e("div",{class:"header-icon"},[e("i",{class:"el-icon-magic-stick"})]),e("div",{class:"header-text"},[e("h3",null,"一键自动安装"),e("p",null,"最简单的方式,自动完成所有配置")])],-1)),s[56]||(s[56]=e("div",{class:"install-instruction"},[e("span",{class:"instruction-label"},"在服务器终端执行:")],-1)),e("div",rs,[e("div",us,[s[49]||(s[49]=e("span",{class:"code-prompt"},"$",-1)),e("code",null,"curl -fsSL "+p(x.value.script_url)+" | bash",1)]),e("button",{class:"copy-btn",onClick:s[7]||(s[7]=a=>T(`curl -fsSL ${x.value.script_url} | bash`)),title:"复制命令"},[...s[50]||(s[50]=[e("i",{class:"el-icon-document-copy"},null,-1),e("span",{class:"copy-text"},"复制",-1)])])]),e("div",cs,[s[53]||(s[53]=e("i",{class:"el-icon-download"},null,-1)),e("span",null,[s[51]||(s[51]=c("或 ",-1)),e("a",{href:x.value.script_url,target:"_blank",rel:"noopener"},"下载脚本文件",8,vs),s[52]||(s[52]=c(" 后手动执行",-1))])])])):m("",!0),s[60]||(s[60]=e("div",{class:"divider-section"},[e("div",{class:"divider-line"}),e("span",{class:"divider-text"},"或者手动安装"),e("div",{class:"divider-line"})],-1)),e("div",ps,[e("div",ms,[s[58]||(s[58]=e("div",{class:"header-icon manual-icon"},[e("i",{class:"el-icon-document"})],-1)),e("div",fs,[e("h3",null,p(x.value.title||"手动安装步骤"),1),s[57]||(s[57]=e("p",null,"按照以下步骤逐一执行",-1))])]),e("div",gs,[(l(!0),i(U,null,re(x.value.steps,(a,Q)=>(l(),i("div",{key:Q,class:"step-item"},[e("div",ys,p(Q+1),1),e("div",_s,[e("code",null,p(a),1)]),e("button",{class:"step-copy-btn",onClick:Is=>T(a),title:"复制"},[...s[59]||(s[59]=[e("i",{class:"el-icon-document-copy"},null,-1)])],8,ks)]))),128))])])])):m("",!0)]),_:1},8,["modelValue"]),u(F,{title:"上传代码上传密钥",modelValue:P.value,"onUpdate:modelValue":s[12]||(s[12]=a=>P.value=a),width:"650px"},{footer:o(()=>[y((l(),V(C,{onClick:s[11]||(s[11]=a=>P.value=!1)},{default:o(()=>[...s[65]||(s[65]=[c("取消",-1)])]),_:1})),[[b]]),y((l(),V(C,{type:"primary",loading:d.saveKey,onClick:X},{default:o(()=>[d.saveKey?m("",!0):(l(),i("i",xs)),s[66]||(s[66]=e("span",null,"保存密钥",-1))]),_:1},8,["loading"])),[[b]])]),default:o(()=>[e("div",bs,[s[63]||(s[63]=e("div",{class:"info-card"},[e("div",{class:"info-card-header"},[e("i",{class:"el-icon-info"}),e("span",null,"密钥获取方式")]),e("ol",{class:"info-steps"},[e("li",null,[c("登录 "),e("a",{href:"https://mp.weixin.qq.com/",target:"_blank",rel:"noopener"},"微信公众平台")]),e("li",null,"进入 开发管理 → 开发设置 → 小程序代码上传"),e("li",null,"点击「生成」按钮,下载 private.key 文件"),e("li",null,"用文本编辑器打开,复制全部内容粘贴到下方")])],-1)),s[64]||(s[64]=e("div",{class:"info-card warning"},[e("div",{class:"info-card-header"},[e("i",{class:"el-icon-warning"}),e("span",null,"IP 白名单配置")]),e("p",null,"在同一页面将服务器公网 IP 添加到白名单")],-1)),e("div",ws,[s[62]||(s[62]=e("label",null,"密钥内容",-1)),u(S,{modelValue:E.value,"onUpdate:modelValue":s[10]||(s[10]=a=>E.value=a),type:"textarea",rows:10,class:"key-textarea",placeholder:`请粘贴 private.key 文件的完整内容 +-----BEGIN RSA PRIVATE KEY----- +... +-----END RSA PRIVATE KEY-----`},null,8,["modelValue"])])])]),_:1},8,["modelValue"])])}}}),Ss=ye(Cs,[["__scopeId","data-v-7051760e"]]);export{Ss as default}; diff --git a/backend/public/admin/system_static/index-CJscUFt0.css b/backend/public/admin/system_static/index-CJscUFt0.css new file mode 100644 index 000000000..25b4342d3 --- /dev/null +++ b/backend/public/admin/system_static/index-CJscUFt0.css @@ -0,0 +1 @@ +.group-name[data-v-622e4c56]{display:inline-block;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle} diff --git a/backend/public/admin/system_static/index-CJyyINXz.js b/backend/public/admin/system_static/index-CJyyINXz.js new file mode 100644 index 000000000..c50fab4c8 --- /dev/null +++ b/backend/public/admin/system_static/index-CJyyINXz.js @@ -0,0 +1 @@ +import{a as J,k as r,u as R,y as l,z as f,s as j,B as i,C as a,j as n,$ as y,F as S,D as I,a0 as D,H as L,A as E,l as h,p as ee,Z as H}from"./element-plus-C_ZDq0cz.js";import{w as O,_ as K,b as te}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function le(g){return O({url:"driver/bot_driver/list",method:"get",params:g})}function ae(g,k){return O({url:`driver/bot_driver/set_status/${g}`,method:"put",data:{status:k}})}function oe(g){return O({url:`driver/bot_driver/detail/${g}`,method:"get"})}function ne(g,k){return O({url:`driver/bot_driver/save_config/${g}`,method:"post",data:k})}const ue={key:7,class:"form-tip"},re={class:"help-doc-title"},se={class:"help-doc-content"},de=["href"],ie={class:"form-actions"},ce=Object.assign({name:"BotDriverEdit"},{__name:"edit",props:{driverId:{type:[Number,String],default:null}},emits:["close","success"],setup(g,{emit:k}){const C=g,w=k,U=te(),A=h(null),$=h(!1),m=h({driver_name:"",sort:0,status:0}),q=h({driver_name:[{required:!0,message:"请输入驱动名称",trigger:"blur"}],sort:[{type:"number",required:!0,message:"请输入排序",trigger:"blur"}]}),N=h([]),c=h([]),_=ee(()=>{const v={};return N.value.forEach(t=>{const u=t.group||"配置";v[u]||(v[u]={name:u,fields:[]}),v[u].fields.push(t)}),Object.values(v)});J(()=>{z()});function z(){const v=C.driverId||U&&U.params.id;v&&($.value=!0,oe(v).then(t=>{var V;const u=t.data;m.value={driver_name:u.driver_name||"",sort:u.sort||0,status:u.status||0},N.value=(u.config_fields||[]).map(b=>({...b,value:b.value!==void 0&&b.value!==null&&b.value!==""?b.value:b.default!==void 0?b.default:""}));const d=(V=u.driver_info)==null?void 0:V.help_doc;Array.isArray(d)&&d.length>0?c.value=d:c.value=[]}).catch(()=>{}).finally(()=>{$.value=!1}))}function x(){A.value.validate(v=>{if(!v)return;const t=C.driverId||U&&U.params.id,u={driver_name:m.value.driver_name,sort:m.value.sort,status:m.value.status};N.value.forEach(d=>{u[d.field]=d.value}),ne(t,u).then(d=>{H.success(d.msg||"保存成功"),w("success")}).catch(d=>{H.error(d.msg||"保存失败")})})}return(v,t)=>{const u=r("el-divider"),d=r("el-input"),V=r("el-form-item"),b=r("el-option"),M=r("el-select"),G=r("el-radio"),s=r("el-radio-group"),B=r("el-switch"),P=r("el-input-number"),Q=r("el-tag"),T=r("el-button"),W=r("el-form"),Z=R("db-click"),X=R("loading");return l(),f("div",null,[j((l(),i(W,{ref_key:"formRef",ref:A,model:m.value,rules:q.value,"label-width":"100px"},{default:a(()=>[n(u,{"content-position":"left"},{default:a(()=>[...t[4]||(t[4]=[y("基本信息",-1)])]),_:1}),n(V,{label:"驱动名称",prop:"driver_name"},{default:a(()=>[n(d,{modelValue:m.value.driver_name,"onUpdate:modelValue":t[0]||(t[0]=p=>m.value.driver_name=p),placeholder:"请输入驱动名称"},null,8,["modelValue"])]),_:1}),_.value.length>0?(l(!0),f(S,{key:0},I(_.value,(p,F)=>(l(),f(S,{key:"group-"+F},[n(u,{"content-position":"left",style:{"margin-top":"20px"}},{default:a(()=>[y(D(p.name),1)]),_:2},1024),(l(!0),f(S,null,I(p.fields,(e,Y)=>(l(),i(V,{key:"field-"+F+"-"+Y,label:e.label},{default:a(()=>[e.type==="text"?(l(),i(d,{key:0,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,disabled:e.readonly,placeholder:e.placeholder||"请输入"+e.label},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"])):e.type==="password"?(l(),i(d,{key:1,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,type:"text",disabled:e.readonly,placeholder:e.placeholder||"请输入"+e.label},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"])):e.type==="textarea"?(l(),i(d,{key:2,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,type:"textarea",rows:3,disabled:e.readonly,placeholder:e.placeholder||"请输入"+e.label},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"])):e.type==="select"?(l(),i(M,{key:3,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,disabled:e.readonly,placeholder:"请选择"+e.label},{default:a(()=>[(l(!0),f(S,null,I(e.options,o=>(l(),i(b,{key:o.value,label:o.label,value:o.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled","placeholder"])):e.type==="radio"?(l(),i(s,{key:4,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,disabled:e.readonly},{default:a(()=>[(l(!0),f(S,null,I(e.options,o=>(l(),i(G,{key:o.value,label:o.value,value:o.value},{default:a(()=>[y(D(o.label),1)]),_:2},1032,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])):e.type==="switch"?(l(),i(B,{key:5,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,disabled:e.readonly,"active-value":"1","inactive-value":"0",class:"defineSwitch"},null,8,["modelValue","onUpdate:modelValue","disabled"])):(l(),i(d,{key:6,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,disabled:e.readonly,placeholder:"请输入"+e.label},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"])),e.tip?(l(),f("div",ue,D(e.tip),1)):L("",!0)]),_:2},1032,["label"]))),128))],64))),128)):L("",!0),n(u,{"content-position":"left"},{default:a(()=>[...t[5]||(t[5]=[y("其它设置",-1)])]),_:1}),n(V,{label:"状态",prop:"status"},{default:a(()=>[n(B,{"active-value":1,"inactive-value":0,modelValue:m.value.status,"onUpdate:modelValue":t[1]||(t[1]=p=>m.value.status=p),"active-text":"开启","inactive-text":"关闭",class:"defineSwitch"},null,8,["modelValue"]),t[6]||(t[6]=E("div",{class:"form-tip"},"机器人通知驱动支持同时启用多个驱动",-1))]),_:1}),n(V,{label:"排序",prop:"sort"},{default:a(()=>[n(P,{modelValue:m.value.sort,"onUpdate:modelValue":t[2]||(t[2]=p=>m.value.sort=p),min:0,max:9999},null,8,["modelValue"])]),_:1}),c.value.length>0?(l(),f(S,{key:1},[n(u,{"content-position":"left"},{default:a(()=>[...t[7]||(t[7]=[y("帮助文档",-1)])]),_:1}),(l(!0),f(S,null,I(c.value,(p,F)=>(l(),f("div",{key:F,class:"help-doc-module"},[E("div",re,D(p.title||"参考文档"),1),E("div",se,[p.url?(l(),i(Q,{key:0,type:"info",class:"help-doc-tag"},{default:a(()=>[E("a",{href:p.url,target:"_blank",class:"help-doc-link"},"查看帮助文档",8,de)]),_:2},1024)):L("",!0)])]))),128))],64)):L("",!0),E("div",ie,[j((l(),i(T,{type:"primary",onClick:x},{default:a(()=>[...t[8]||(t[8]=[y(" 保存 ",-1)])]),_:1})),[[Z]]),j((l(),i(T,{onClick:t[3]||(t[3]=p=>v.$emit("close"))},{default:a(()=>[...t[9]||(t[9]=[y(" 取消 ",-1)])]),_:1})),[[Z]])])]),_:1},8,["model","rules"])),[[X,$.value]])])}}}),ve=K(ce,[["__scopeId","data-v-db349382"]]),me={class:"font-weight-bold"},pe=Object.assign({name:"botDriver"},{__name:"index",setup(g){const k=h([]),C=h(!1),w=h(!1),U=h(null),A=h(null);J(()=>{$()});function $(){C.value=!0,le().then(c=>{k.value=c.data||[],C.value=!1}).catch(()=>{C.value=!1})}function m(c){ae(c.id,c.status).then(_=>{H.success(_.msg||"修改成功"),$()}).catch(()=>{c.status=c.status===1?0:1})}function q(c){U.value=c,A.value=c.id,w.value=!0}function N(){w.value=!1,$()}return(c,_)=>{const z=r("pages-header"),x=r("el-table-column"),v=r("el-tag"),t=r("el-switch"),u=r("el-button"),d=r("el-table"),V=r("el-card"),b=r("el-drawer"),M=R("db-click"),G=R("loading");return l(),f("div",null,[n(z,{class:"mb16",title:c.$route.meta.title},null,8,["title"]),n(V,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:a(()=>[j((l(),i(d,{data:k.value,ref:"table","highlight-current-row":"","row-key":"id"},{default:a(()=>[n(x,{label:"排序",width:"80",prop:"sort"},{default:a(s=>[E("span",null,D(s.row.sort),1)]),_:1}),n(x,{label:"驱动名称","min-width":"150"},{default:a(s=>[E("span",me,D(s.row.driver_name),1)]),_:1}),n(x,{label:"驱动标识","min-width":"120"},{default:a(s=>[n(v,null,{default:a(()=>[y(D(s.row.driver_key),1)]),_:2},1024)]),_:1}),n(x,{label:"类型","min-width":"100"},{default:a(s=>[n(v,{type:s.row.is_builtin?"success":"primary"},{default:a(()=>[y(D(s.row.is_builtin?"内置驱动":"扩展驱动"),1)]),_:2},1032,["type"])]),_:1}),n(x,{label:"状态",width:"120"},{default:a(s=>[n(t,{"active-value":1,"inactive-value":0,modelValue:s.row.status,"onUpdate:modelValue":B=>s.row.status=B,onChange:B=>m(s.row),"active-text":"开启","inactive-text":"关闭",class:"defineSwitch"},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),n(x,{label:"操作",fixed:"right",width:"150",align:"center"},{default:a(s=>[j((l(),i(u,{type:"text",onClick:B=>q(s.row)},{default:a(()=>[..._[2]||(_[2]=[y(" 配置 ",-1)])]),_:1},8,["onClick"])),[[M]])]),_:1})]),_:1},8,["data"])),[[G,C.value]])]),_:1}),n(b,{title:"编辑 - "+(U.value?U.value.driver_name:""),modelValue:w.value,"onUpdate:modelValue":_[1]||(_[1]=s=>w.value=s),direction:"rtl",size:"600px"},{default:a(()=>[w.value?(l(),i(ve,{key:0,"driver-id":A.value,onClose:_[0]||(_[0]=s=>w.value=!1),onSuccess:N},null,8,["driver-id"])):L("",!0)]),_:1},8,["title","modelValue"])])}}}),ye=K(pe,[["__scopeId","data-v-7a683141"]]);export{ye as default}; diff --git a/backend/public/admin/system_static/index-CL7NxHKs.js b/backend/public/admin/system_static/index-CL7NxHKs.js new file mode 100644 index 000000000..b071e8211 --- /dev/null +++ b/backend/public/admin/system_static/index-CL7NxHKs.js @@ -0,0 +1 @@ +import{Z as k,k as n,u as b,y as u,z as g,j as i,C as o,s as d,B as h,A as v,a0 as U,$ as P,H as M,ab as X,W as Y,l as s}from"./element-plus-C_ZDq0cz.js";import{j as ee,k as le}from"./api-Cf_YNigo.js";import{_ as te,c as ae}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const ie={class:"image-wrap"},oe=["onClick"],ne={class:"acea-row row-right page"},ue={key:0},se={key:1,class:"el-icon-picture-outline",style:{"font-size":"24px"}},de={class:"acea-row row-right"},re=Object.assign({name:"memberRightList"},{__name:"index",setup(me){const C=s([]),c=s(!1),V=s(0),R=s(1),B=s(15),f=s(!1),a=s({id:"",right_type:"",title:"",show_title:"",image:"",explain:"",number:1,status:1}),N={title:[{required:!0,message:"请输入权益名称",trigger:"blur"}],show_title:[{required:!0,message:"请输入展示名称",trigger:"blur"}],image:[{required:!0,message:"请上传权益图标"}],explain:[{required:!0,message:"请输入权益简介",trigger:"blur"}],number:[{required:!0,type:"integer",message:"请输入正整数"}]},_=s(!1),$={xl:6,lg:8,md:12,sm:12,xs:12},D={xl:4,lg:8,md:8,sm:8,xs:8},z=s(null);y();function y(){c.value=!0,ee().then(t=>{c.value=!1,V.value=t.data.count,C.value=t.data.list}).catch(t=>{c.value=!1,k.error(t)})}function O(t){Object.assign(a.value,{id:t.id,right_type:t.right_type,title:t.title,show_title:t.show_title,image:t.image,explain:t.explain,number:t.number,status:t.status}),S()}function E(t){f.value=!0,Object.assign(a.value,{id:t.id,status:t.status,right_type:t.right_type,title:t.title,show_title:t.show_title,image:t.image,explain:t.explain,number:t.number})}function S(){le(a.value).then(t=>{f.value=!1,y(),k.success(t.msg)}).catch(t=>{k.error(t.msg)})}function I(t){z.value.validate(l=>{l&&S()})}function L(){_.value=!0}function A(t){a.value.image=t.att_dir,_.value=!1}return(t,l)=>{const m=n("el-table-column"),F=n("el-switch"),G=n("el-table"),H=n("pagination"),T=n("el-card"),r=n("el-input"),p=n("el-form-item"),W=n("el-input-number"),Z=n("el-button"),J=n("el-form"),j=n("el-dialog"),q=b("lazy"),K=b("viewer"),w=b("db-click"),Q=b("loading");return u(),g("div",null,[i(T,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:o(()=>[d((u(),h(G,{data:C.value,"highlight-current-row":""},{default:o(()=>[i(m,{label:"权益名称","min-width":"120"},{default:o(e=>[v("span",null,U(e.row.title),1)]),_:1}),i(m,{label:"展示名称","min-width":"120"},{default:o(e=>[v("span",null,U(e.row.show_title),1)]),_:1}),i(m,{label:"权益图标","min-width":"120"},{default:o(e=>[d((u(),g("div",ie,[d(v("img",null,null,512),[[q,e.row.image]])])),[[K]])]),_:1}),i(m,{label:"权益简介","min-width":"120"},{default:o(e=>[v("span",null,U(e.row.explain),1)]),_:1}),i(m,{label:"权益状态","min-width":"120"},{default:o(e=>[i(F,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:e.row.status,"onUpdate:modelValue":x=>e.row.status=x,size:"large",onChange:x=>O(e.row),"active-text":"启用","inactive-text":"禁用"},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),i(m,{label:"操作",fixed:"right",width:"170"},{default:o(e=>[d((u(),g("a",{onClick:x=>E(e.row)},[...l[13]||(l[13]=[P("编辑",-1)])],8,oe)),[[w]])]),_:1})]),_:1},8,["data"])),[[Q,c.value]]),v("div",ne,[V.value?(u(),h(H,{key:0,total:V.value,page:R.value,"onUpdate:page":l[0]||(l[0]=e=>R.value=e),limit:B.value,"onUpdate:limit":l[1]||(l[1]=e=>B.value=e),onPagination:y},null,8,["total","page","limit"])):M("",!0)])]),_:1}),i(j,{modelValue:f.value,"onUpdate:modelValue":l[11]||(l[11]=e=>f.value=e),title:"编辑会员权益",width:"540px"},{default:o(()=>[i(J,{ref_key:"formRef",ref:z,model:a.value,rules:N,"label-width":"90px"},{default:o(()=>[i(r,{modelValue:a.value.id,"onUpdate:modelValue":l[2]||(l[2]=e=>a.value.id=e),style:{display:"none"}},null,8,["modelValue"]),i(r,{modelValue:a.value.status,"onUpdate:modelValue":l[3]||(l[3]=e=>a.value.status=e),style:{display:"none"}},null,8,["modelValue"]),i(r,{modelValue:a.value.right_type,"onUpdate:modelValue":l[4]||(l[4]=e=>a.value.right_type=e),style:{display:"none"}},null,8,["modelValue"]),i(p,{label:"权益名称:",prop:"title"},{default:o(()=>[i(r,{modelValue:a.value.title,"onUpdate:modelValue":l[5]||(l[5]=e=>a.value.title=e),modelModifiers:{trim:!0},placeholder:"请输入权益名称",disabled:"",class:"w100"},null,8,["modelValue"])]),_:1}),i(p,{label:"展示名称:",prop:"show_title"},{default:o(()=>[i(r,{modelValue:a.value.show_title,"onUpdate:modelValue":l[6]||(l[6]=e=>a.value.show_title=e),modelModifiers:{trim:!0},placeholder:"请输入展示名称",class:"w100"},null,8,["modelValue"])]),_:1}),i(p,{label:"权益图标:",prop:"image"},{default:o(()=>[d((u(),g("div",{class:"image-group",onClick:L},[a.value.image?d((u(),g("img",ue,null,512)),[[q,a.value.image]]):(u(),g("i",se))])),[[w]]),i(r,{modelValue:a.value.image,"onUpdate:modelValue":l[7]||(l[7]=e=>a.value.image=e),style:{display:"none"}},null,8,["modelValue"])]),_:1}),i(p,{label:"权益简介:",prop:"show_title"},{default:o(()=>[i(r,{modelValue:a.value.explain,"onUpdate:modelValue":l[8]||(l[8]=e=>a.value.explain=e),modelModifiers:{trim:!0},type:"textarea",autosize:{minRows:2,maxRows:10},placeholder:"请输入权益简介",class:"w100"},null,8,["modelValue"])]),_:1}),d(i(p,{label:a.value.right_type==="offline"||a.value.right_type==="express"||a.value.right_type==="vip_price"?"折扣数(%):":"积分倍数:",prop:"number"},{default:o(()=>[i(W,{controls:!1,modelValue:a.value.number,"onUpdate:modelValue":l[9]||(l[9]=e=>a.value.number=e),min:1},null,8,["modelValue"])]),_:1},8,["label"]),[[X,a.value.right_type!=="coupon"&&a.value.right_type!=="vip_price"]]),i(p,null,{default:o(()=>[v("div",de,[d((u(),h(Z,{type:"primary",onClick:l[10]||(l[10]=e=>I("form"))},{default:o(()=>[...l[14]||(l[14]=[P("提交",-1)])]),_:1})),[[w]])])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),i(j,{modelValue:_.value,"onUpdate:modelValue":l[12]||(l[12]=e=>_.value=e),width:"1024px",title:"选择权益图标"},{default:o(()=>[_.value?(u(),h(Y(ae),{key:0,isChoice:"单选",gridBtn:D,gridPic:$,onGetPic:A})):M("",!0)]),_:1},8,["modelValue"])])}}}),be=te(re,[["__scopeId","data-v-059adbcf"]]);export{be as default}; diff --git a/backend/public/admin/system_static/index-COgT5yo1.css b/backend/public/admin/system_static/index-COgT5yo1.css new file mode 100644 index 000000000..e3c6fb4e5 --- /dev/null +++ b/backend/public/admin/system_static/index-COgT5yo1.css @@ -0,0 +1 @@ +.code-row-bg[data-v-b1298aef]{display:-webkit-box;display:-ms-flexbox;display:flex;gap:16px;margin-top:16px}.code-row-bg>.el-card[data-v-b1298aef]{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:0}.ech-box[data-v-b1298aef]{margin-top:10px}.change-style[data-v-b1298aef]{height:28px;line-height:26px;padding:0 12px;font-size:12px;color:var(--prev-color-primary);border:1px solid var(--prev-border-color-base);border-radius:4px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transition:all .2s;transition:all .2s}.change-style[data-v-b1298aef]:hover{border-color:var(--prev-color-primary)}.percent-box[data-v-b1298aef]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.line[data-v-b1298aef]{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:0;height:8px;position:relative}.bg[data-v-b1298aef]{position:absolute;top:0;left:0;width:100%;height:8px;border-radius:4px;background-color:var(--prev-bg-color)}.percent[data-v-b1298aef]{position:absolute;top:0;left:0;border-radius:4px;height:8px;background-color:var(--prev-color-primary)}.num[data-v-b1298aef]{-ms-flex-negative:0;flex-shrink:0;min-width:40px;margin-left:10px;text-align:right} diff --git a/backend/public/admin/system_static/index-CP0itCJF.css b/backend/public/admin/system_static/index-CP0itCJF.css new file mode 100644 index 000000000..fa34ba4dd --- /dev/null +++ b/backend/public/admin/system_static/index-CP0itCJF.css @@ -0,0 +1 @@ +@charset "UTF-8";.monaco-editor[data-v-96a738dd]{min-height:300px}.vxe-select--panel.is--transfer{z-index:99999!important}.content[data-v-bbbf6976]{padding:12px}.content .head[data-v-bbbf6976]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.content .head .item[data-v-bbbf6976]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:12px;font-size:14px}.content .head .item .title[data-v-bbbf6976]{margin-right:14px}.copy-btn[data-v-bbbf6976]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:right;-ms-flex-pack:right;justify-content:right}[data-v-bbbf6976] .monaco-editor{min-height:700px}.reset[data-v-ee3a3076]{margin-left:10px}.b-r-1[data-v-ee3a3076]{border-right:1px solid #f2f2f2}.card-tree[data-v-ee3a3076]{background:#fff;height:72px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow-x:scroll;white-space:nowrap;overflow-y:hidden;border-radius:4px;scrollbar-width:none;-ms-overflow-style:none}.card-tree[data-v-ee3a3076]::-webkit-scrollbar{display:none}.tabs[data-v-ee3a3076]{background:#fff;padding-left:20px;border-radius:5px 5px 0 0}.main[data-v-ee3a3076]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;padding-bottom:16px;background:#fff;border-radius:6px}.main .main-btn[data-v-ee3a3076]{display:-webkit-box;display:-ms-flexbox;display:flex;position:sticky;padding:0 5px 0 15px;width:100%;background:#fff;top:0;background-color:#fff9;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:99}.main .card-tree[data-v-ee3a3076]{width:290px;height:calc(100vh - 205px);overflow-y:scroll}.main[data-v-ee3a3076] .tree .tree-list{margin-left:10px;padding:0 15px;margin-top:10px}.main[data-v-ee3a3076] .tree .vtl-caret{padding-right:2px}.main[data-v-ee3a3076] .tree .req-method{display:block;padding:0 2px;font-size:13px;line-height:13px;margin-right:5px;border-radius:4px;text-transform:uppercase}.main[data-v-ee3a3076] .tree .tree-node{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;cursor:pointer;padding:3px 7px 3px 0}.main[data-v-ee3a3076] .tree .open{font-weight:500;color:#333}.main[data-v-ee3a3076] .vtl-node-main .vtl-operation{position:absolute;right:20px}.main[data-v-ee3a3076] .vtl-node-content{width:100%}.main .pop-menu[data-v-ee3a3076]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.main[data-v-ee3a3076] .vtl-node-content .add{display:none;margin-right:10px}.main[data-v-ee3a3076] .vtl-node-content:hover .add{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:50%;width:18px;height:18px}.main[data-v-ee3a3076] .vtl-node-content:hover .add:hover{background-color:#fff}.main[data-v-ee3a3076] .vtl-node-content:hover .add:hover .pop-menu{font-size:16px}.main[data-v-ee3a3076] .vtl-node-main{padding:3px 0}.main[data-v-ee3a3076] .line1{display:table-caption;white-space:nowrap;width:120px;overflow:hidden;text-overflow:ellipsis}.main[data-v-ee3a3076] .ivu-form-item{margin-bottom:10px}.main .right-card[data-v-ee3a3076]{-webkit-box-flex:1;-ms-flex:1;flex:1}.main .right-card[data-v-ee3a3076] .el-card__body{max-height:calc(100vh - 205px);overflow-y:scroll;padding-bottom:16px}.main .right-card[data-v-ee3a3076] .el-form-item--small.el-form-item{margin-bottom:6px}.main .data[data-v-ee3a3076]{-webkit-box-flex:1;-ms-flex:1;flex:1}.main .data .req-method[data-v-ee3a3076]{text-transform:uppercase;border-radius:4px;color:#fff;padding:3px 7px}.main .data .eidt-sub[data-v-ee3a3076]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.main .data .eidt-sub .name[data-v-ee3a3076]{font-size:20px;font-weight:500}.main .data .title[data-v-ee3a3076]{font-size:16px;font-weight:500;margin-bottom:15px}.main .data .perW20[data-v-ee3a3076]{width:500px}.main .data .text-area[data-v-ee3a3076]{white-space:pre-wrap;word-break:break-word}.main[data-v-ee3a3076] .ivu-tree-title{width:100%!important}.main[data-v-ee3a3076] .vtl-tree-margin{margin-left:15px}.main[data-v-ee3a3076] .ivu-btn-icon-only.ivu-btn-small{width:28px}.main[data-v-ee3a3076] .tree-node>span{font-size:14px}.main[data-v-ee3a3076] .tree-node.node>span{font-size:13px}.main .nothing[data-v-ee3a3076]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;min-height:800px}.main .nothing .box[data-v-ee3a3076]:hover{border:1px solid pink}.main .nothing .box[data-v-ee3a3076]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:150px;height:200px;margin:0 20px;border-radius:10px;cursor:pointer;overflow:hidden;border:1px solid #fff}.main .nothing .box .icon[data-v-ee3a3076]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:150px;font-size:40px;color:#2d8cf0;background:#f1f1f1}.main .nothing .box .text[data-v-ee3a3076]{width:100%;height:50px;background:#ddd;text-align:center;line-height:50px;font-size:14px;font-weight:500} diff --git a/backend/public/admin/system_static/index-CRyRJvf-.js b/backend/public/admin/system_static/index-CRyRJvf-.js new file mode 100644 index 000000000..8ddcdf827 --- /dev/null +++ b/backend/public/admin/system_static/index-CRyRJvf-.js @@ -0,0 +1 @@ +import{Z as N,k as s,u as b,y as c,z,j as a,C as t,A as o,ac as H,s as m,B as g,$ as R,a0 as d,W as I,H as Z,l as r,p as T}from"./element-plus-C_ZDq0cz.js";import{_ as $,s as G,a as J}from"./index-DHL7RTL2.js";import{o as K,b as X}from"./order-61Db5vVU.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const ee={class:"padding-add"},le={class:"acea-row row-right page"},ae={class:"acea-row row-around code"},te={class:"acea-row row-column-around row-between-wrapper"},oe={class:"QRpic"},ne={class:"mt10"},ie={class:"acea-row row-column-around row-between-wrapper"},se={class:"QRpic"},re={class:"mt10"},de={__name:"index",setup(ue){const{isMobile:M}=G(J()),j=T(()=>M.value?void 0:"80px"),q=T(()=>M.value?"top":"right"),Y=r([]),v=r(!1),h=r(0),V=r(0),n=r({page:1,limit:15,order_id:"",add_time:""}),u=r([]),y=r(!1),_=r(null),k=r(!1);f();function E(i){n.value.page=1,u.value=i||[],n.value.add_time=u.value[0]&&u.value?u.value.join("-"):"",f()}function f(){v.value=!0,K(n.value).then(i=>{v.value=!1;const{count:l,list:x}=i.data;h.value=l,Y.value=x}).catch(i=>{v.value=!1,N.error(i.msg)})}function F(){n.value.page=1,f()}function L(){y.value=!0,k.value=!0,X({type:V.value}).then(i=>{k.value=!1,_.value=i.data}).catch(i=>{k.value=!1,N.error(i.msg)})}return(i,l)=>{const x=s("date-range-picker"),w=s("el-form-item"),C=s("el-input"),D=s("el-button"),O=s("el-form"),S=s("el-card"),p=s("el-table-column"),P=s("el-table"),Q=s("el-dialog"),U=b("db-click"),W=b("loading"),B=b("lazy"),A=b("viewer");return c(),z("div",null,[a(S,{bordered:!1,shadow:"never","body-style":{padding:0}},{default:t(()=>[o("div",ee,[a(O,{model:n.value,"label-width":j.value,"label-position":q.value,onSubmit:l[3]||(l[3]=H(()=>{},["prevent"])),inline:""},{default:t(()=>[a(w,{label:"创建时间:"},{default:t(()=>[a(x,{clearable:"",modelValue:u.value,"onUpdate:modelValue":l[0]||(l[0]=e=>u.value=e),editable:!1,onChange:E,format:"YYYY/MM/DD","value-format":"YYYY/MM/DD",class:"mr20"},null,8,["modelValue"])]),_:1}),a(w,{label:"订单号:","label-for":"title"},{default:t(()=>[a(C,{clearable:"",modelValue:n.value.order_id,"onUpdate:modelValue":l[1]||(l[1]=e=>n.value.order_id=e),placeholder:"请输入订单号",class:"form_content_width"},null,8,["modelValue"])]),_:1}),a(w,{label:"用户名:","label-for":"title"},{default:t(()=>[a(C,{clearable:"",modelValue:n.value.name,"onUpdate:modelValue":l[2]||(l[2]=e=>n.value.name=e),placeholder:"请输入用户名",class:"form_content_width"},null,8,["modelValue"])]),_:1}),a(w,null,{default:t(()=>[m((c(),g(D,{type:"primary",onClick:F},{default:t(()=>[...l[7]||(l[7]=[R("查询",-1)])]),_:1})),[[U]])]),_:1})]),_:1},8,["model","label-width","label-position"])])]),_:1}),a(S,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:t(()=>[m((c(),g(D,{type:"primary",onClick:L},{default:t(()=>[...l[8]||(l[8]=[R("查看收款二维码",-1)])]),_:1})),[[U]]),m((c(),g(P,{data:Y.value,ref:"table",class:"mt14","highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:t(()=>[a(p,{label:"订单号","min-width":"180"},{default:t(e=>[o("span",null,d(e.row.order_id),1)]),_:1}),a(p,{label:"用户信息","min-width":"180"},{default:t(e=>[o("span",null,d(e.row.nickname)+" | "+d(e.row.uid),1)]),_:1}),a(p,{label:"实际支付","min-width":"180"},{default:t(e=>[o("span",null,d(e.row.pay_price),1)]),_:1}),a(p,{label:"优惠价格","min-width":"180"},{default:t(e=>[o("span",null,d(e.row.true_price),1)]),_:1}),a(p,{label:"支付时间","min-width":"180"},{default:t(e=>[o("span",null,d(e.row.pay_time),1)]),_:1})]),_:1},8,["data"])),[[W,v.value]]),o("div",le,[h.value?(c(),g(I(n),{key:0,total:h.value,page:n.value.page,"onUpdate:page":l[4]||(l[4]=e=>n.value.page=e),limit:n.value.limit,"onUpdate:limit":l[5]||(l[5]=e=>n.value.limit=e),onPagination:f},null,8,["total","page","limit"])):Z("",!0)])]),_:1}),a(Q,{modelValue:y.value,"onUpdate:modelValue":l[6]||(l[6]=e=>y.value=e),title:"收款码",width:"540px"},{default:t(()=>[m((c(),z("div",ae,[o("div",te,[o("div",oe,[m(o("img",null,null,512),[[B,_.value&&_.value.wechat]])]),o("span",ne,d(V.value?"公众号收款码":"公众号二维码"),1)]),o("div",ie,[o("div",se,[m(o("img",null,null,512),[[B,_.value&&_.value.routine]])]),o("span",re,d(V.value?"小程序收款码":"小程序二维码"),1)])])),[[A]])]),_:1},8,["modelValue"])])}}},we=$(de,[["__scopeId","data-v-2e01b211"]]);export{we as default}; diff --git a/backend/public/admin/system_static/index-CSLn1Xdr.css b/backend/public/admin/system_static/index-CSLn1Xdr.css new file mode 100644 index 000000000..fbe0c834b --- /dev/null +++ b/backend/public/admin/system_static/index-CSLn1Xdr.css @@ -0,0 +1 @@ +.ivu-mt .type .item[data-v-397efefa]{margin:3px 0}.Refresh[data-v-397efefa]{font-size:12px;color:var(--prev-color-primary);cursor:pointer}.ivu-form-item[data-v-397efefa]{margin-bottom:10px}.status[data-v-397efefa] .item~.item{margin-left:6px}.status[data-v-397efefa] .statusVal{margin-bottom:7px}[data-v-397efefa] .type{padding:3px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.tabBox_img[data-v-397efefa]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-397efefa]{width:100%;height:100%}.z-price[data-v-397efefa]{color:red}.f-price[data-v-397efefa]{color:green} diff --git a/backend/public/admin/system_static/index-CSiaJNcw.css b/backend/public/admin/system_static/index-CSiaJNcw.css new file mode 100644 index 000000000..6b6a146bd --- /dev/null +++ b/backend/public/admin/system_static/index-CSiaJNcw.css @@ -0,0 +1 @@ +[data-v-c491c7de] .theme-dialog{border-radius:8px;overflow:hidden}[data-v-c491c7de] .theme-dialog .el-dialog__header{border-bottom:1px solid #f0f0f0;padding:0!important}[data-v-c491c7de] .theme-dialog .el-dialog__body{padding:0!important}[data-v-c491c7de] .theme-dialog .el-dialog__body::-webkit-scrollbar{width:0%}.dialog-header[data-v-c491c7de]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;padding:15px 24px}.dialog-header .dialog-header-tabs[data-v-c491c7de]{background:#fff}.dialog-header .dialog-header-tabs .tabs[data-v-c491c7de]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.dialog-header .dialog-header-tabs .tabs .title[data-v-c491c7de]{font-size:14px;line-height:22px;font-weight:500;color:#333;cursor:pointer;position:relative}.dialog-header .dialog-header-tabs .tabs .theme-in[data-v-c491c7de]{height:12px;margin-left:20px;cursor:pointer}.el-icon-close[data-v-c491c7de]{font-size:16px;color:#909399;cursor:pointer}.dialog-content[data-v-c491c7de]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:calc(100% - 100px);padding:1px 24px!important}.dialog-content .content-wrapper[data-v-c491c7de]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden}.dialog-content .content-wrapper .main-content[data-v-c491c7de]{-webkit-box-flex:1;-ms-flex:1;flex:1;min-height:756px;padding:20px 0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:hidden;background:#fff}.dialog-content .content-wrapper .main-content .filters-header[data-v-c491c7de]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:20px}.dialog-content .content-wrapper .main-content .filters-header .filter-left[data-v-c491c7de]{margin-right:10px}.dialog-content .content-wrapper .main-content .filters-header .search-box[data-v-c491c7de]{width:250px}.dialog-content .content-wrapper .main-content .theme-grid[data-v-c491c7de]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:30px;overflow-y:auto;-webkit-box-flex:1;-ms-flex:1;flex:1}.dialog-content .content-wrapper .main-content .theme-grid .theme-item[data-v-c491c7de]{width:204px;height:295px;background:#fff;border-radius:8px;overflow:hidden;border:1px solid #f0f0f0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.dialog-content .content-wrapper .main-content .theme-grid .theme-item.create-new[data-v-c491c7de]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:#fff;cursor:pointer;border:1px solid #eee;background:#fafafa;height:295px;-webkit-transition:all .3s;transition:all .3s}.dialog-content .content-wrapper .main-content .theme-grid .theme-item.create-new .iconic_brush[data-v-c491c7de]{font-size:40px;color:#ccc;padding-bottom:15px}.dialog-content .content-wrapper .main-content .theme-grid .theme-item.create-new .create-text[data-v-c491c7de]{color:#333;font-size:14px}.dialog-content .content-wrapper .main-content .theme-grid .theme-item.create-new[data-v-c491c7de]:hover{border-color:var(--prev-color-primary)}.dialog-content .content-wrapper .main-content .theme-grid .theme-item.create-new:hover .iconic_brush[data-v-c491c7de],.dialog-content .content-wrapper .main-content .theme-grid .theme-item.create-new:hover .create-text[data-v-c491c7de]{color:var(--prev-color-primary)}.dialog-content .content-wrapper .main-content .theme-grid .theme-item .theme-cover[data-v-c491c7de]{position:relative;height:215px;overflow:hidden;background:#f0f2f5;-webkit-transition:height .3s;transition:height .3s}.dialog-content .content-wrapper .main-content .theme-grid .theme-item .theme-cover .blur-bg[data-v-c491c7de]{position:absolute;top:0;left:0;right:0;bottom:0;background-size:cover;background-position:top;-webkit-filter:blur(20px);filter:blur(20px);z-index:1}.dialog-content .content-wrapper .main-content .theme-grid .theme-item .theme-cover .phone-preview[data-v-c491c7de]{position:relative;z-index:2;height:95%;margin:25px 24px 0;background:#fff;border-radius:10px 10px 0 0;overflow:hidden;border:2px solid #fff}.dialog-content .content-wrapper .main-content .theme-grid .theme-item .theme-cover .phone-preview img[data-v-c491c7de]{width:100%}.dialog-content .content-wrapper .main-content .theme-grid .theme-item .theme-cover .phone-preview .no-poster[data-v-c491c7de]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;font-size:12px;color:#999}.dialog-content .content-wrapper .main-content .theme-grid .theme-item .theme-info[data-v-c491c7de]{background:#fff;-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;position:relative;overflow:hidden}.dialog-content .content-wrapper .main-content .theme-grid .theme-item .theme-info .theme-title[data-v-c491c7de]{padding:12px 0 0 12px;font-size:14px;color:#333;margin-bottom:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.dialog-content .content-wrapper .main-content .theme-grid .theme-item .theme-info .theme-title .tag[data-v-c491c7de]{font-weight:400;color:#0256ff;font-size:12px;background:#0256ff0f;padding:4px 6px 4px 8px;border-radius:10px 0 0 10px}.dialog-content .content-wrapper .main-content .theme-grid .theme-item .theme-info .theme-time[data-v-c491c7de]{padding:0 12px;font-size:12px;color:#999;margin-bottom:10px}.dialog-content .content-wrapper .main-content .theme-grid .theme-item .theme-info .theme-hover-actions[data-v-c491c7de]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px);-webkit-transition:all .3s;transition:all .3s;height:0;padding:0 12px;overflow:hidden}.dialog-content .content-wrapper .main-content .theme-grid .theme-item .theme-info .theme-hover-actions .button[data-v-c491c7de]{width:84px;height:28px;line-height:28px;text-align:center;border-radius:4px;font-size:12px;-webkit-transition:all .3s;transition:all .3s;cursor:pointer}.dialog-content .content-wrapper .main-content .theme-grid .theme-item .theme-info .theme-hover-actions .primary[data-v-c491c7de]{background:var(--prev-color-primary);color:#fff}.dialog-content .content-wrapper .main-content .theme-grid .theme-item .theme-info .theme-hover-actions .primary[data-v-c491c7de]:hover{background:var(--prev-color-primary-light-1)}.dialog-content .content-wrapper .main-content .theme-grid .theme-item .theme-info .theme-hover-actions .default[data-v-c491c7de]{background:#f5f5f5;color:#606266}.dialog-content .content-wrapper .main-content .theme-grid .theme-item .theme-info .theme-hover-actions .default[data-v-c491c7de]:hover{background:#e4e7ed}.dialog-content .content-wrapper .main-content .theme-grid .theme-item:hover .theme-cover[data-v-c491c7de]{height:170px}.dialog-content .content-wrapper .main-content .theme-grid .theme-item:hover .theme-info .theme-hover-actions[data-v-c491c7de]{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);height:32px;margin-top:10px}[data-v-c491c7de] .el-dialog__body{max-height:calc(100vh - 100px)!important}.detail-content[data-v-c491c7de]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:calc(100vh - 100px);background:#f5f7fa}.detail-content .detail-header[data-v-c491c7de]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:15px 20px 16px;background:#fff;border-bottom:1px solid #eee}.detail-content .detail-header .back-btn[data-v-c491c7de]{cursor:pointer;color:#666;font-size:14px;margin-right:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.detail-content .detail-header .back-btn[data-v-c491c7de]:hover{color:var(--prev-color-primary-light-1)}.detail-content .detail-header .back-btn i[data-v-c491c7de]{margin-right:4px}.detail-content .detail-header .detail-title[data-v-c491c7de]{font-size:14px;font-weight:500;color:#333;border-left:1px solid #eee;padding-left:10px}.detail-content .detail-body[data-v-c491c7de]{height:calc(100vh - 100px);overflow-y:auto;background:#fff;padding:0 20px 0 24px!important}.detail-content .detail-body .detail-top[data-v-c491c7de]{display:-webkit-box;display:-ms-flexbox;display:flex;background:#fff;padding:24px 0 20px;margin-bottom:20px;border-bottom:1px solid #eee}.detail-content .detail-body .detail-top .detail-preview-main[data-v-c491c7de]{width:180px;height:210px;border-radius:8px;overflow:hidden;margin-right:24px;border:1px solid #eeeeee}.detail-content .detail-body .detail-top .detail-preview-main img[data-v-c491c7de]{width:100%;-o-object-fit:cover;object-fit:cover}.detail-content .detail-body .detail-top .detail-info-box[data-v-c491c7de]{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-right:24px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.detail-content .detail-body .detail-top .detail-info-box .info-title[data-v-c491c7de]{font-size:16px;font-weight:500;color:#333;margin-bottom:20px}.detail-content .detail-body .detail-top .detail-info-box .info-desc[data-v-c491c7de]{font-size:14px;color:#666;line-height:1.6;margin-bottom:30px;color:#888}.detail-content .detail-body .detail-images-section .section-title[data-v-c491c7de]{font-size:16px;font-weight:500;color:#333;margin-bottom:15px}.detail-content .detail-body .detail-images-section .images-list[data-v-c491c7de]{display:-webkit-box;display:-ms-flexbox;display:flex;overflow-x:auto;padding-bottom:10px}.detail-content .detail-body .detail-images-section .images-list .image-item[data-v-c491c7de]{margin-right:29px;-ms-flex-negative:0;flex-shrink:0}.detail-content .detail-body .detail-images-section .images-list .image-item .phone-mockup[data-v-c491c7de]{width:214px;height:380px;background:#fff;border-radius:8px;overflow:hidden;position:relative;border:1px solid #eeeeee}.detail-content .detail-body .detail-images-section .images-list .image-item .phone-mockup .preview-image[data-v-c491c7de]{width:100%;-o-object-fit:cover;object-fit:cover}.detail-content .detail-body .detail-images-section .images-list .image-item .phone-mockup .no-poster[data-v-c491c7de]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:10px;margin-top:70px;color:#999;font-size:13px}.detail-content .detail-body .detail-images-section .detail-qrcode[data-v-c491c7de]{width:-webkit-max-content;width:-moz-max-content;width:max-content;height:-webkit-max-content;height:-moz-max-content;height:max-content;text-align:center;background:#f9f9f9;border-radius:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:16px}.detail-content .detail-body .detail-images-section .detail-qrcode .qrcode-box[data-v-c491c7de]{width:120px;height:120px;margin-bottom:10px}.detail-content .detail-body .detail-images-section .detail-qrcode .qrcode-box img[data-v-c491c7de]{width:100%;height:100%}.detail-content .detail-body .detail-images-section .detail-qrcode .qrcode-text[data-v-c491c7de]{font-size:12px;color:#999} diff --git a/backend/public/admin/system_static/index-CTEX-Odb.css b/backend/public/admin/system_static/index-CTEX-Odb.css new file mode 100644 index 000000000..c43ec4a45 --- /dev/null +++ b/backend/public/admin/system_static/index-CTEX-Odb.css @@ -0,0 +1 @@ +.code[data-v-2e01b211]{position:relative}.QRpic[data-v-2e01b211]{width:180px}.QRpic img[data-v-2e01b211]{width:100%;height:100%} diff --git a/backend/public/admin/system_static/index-CTv_pWHu.css b/backend/public/admin/system_static/index-CTv_pWHu.css new file mode 100644 index 000000000..64ce54afb --- /dev/null +++ b/backend/public/admin/system_static/index-CTv_pWHu.css @@ -0,0 +1 @@ +.table .ivu-table-default{overflow-y:auto;max-height:350px}.dashboard-workplace-header-avatar{width:64px;height:64px;border-radius:50%;margin-right:16px;font-weight:600}.dashboard-workplace-header-tip{width:100%;display:inline-block;vertical-align:middle}.dashboard-workplace-header-tip-title{font-size:13px;color:#000;margin-bottom:12px}.dashboard-workplace-header-tip-desc-sp{width:33.33%;color:#17233d;font-size:12px;display:inline-block;padding-bottom:10px}.dashboard-workplace-header-extra .ivu-col p{text-align:right}.dashboard-workplace-header-extra .ivu-col p:first-child span:first-child{margin-right:4px}.dashboard-workplace-header-extra .ivu-col p:first-child span:last-child{color:#808695}.dashboard-workplace-header-extra .ivu-col p:last-child{font-size:22px}.lines[data-v-e72343e8]{padding-top:6px!important}.tabform .export[data-v-e72343e8]{margin-left:10px}.tab_data[data-v-e72343e8] .ivu-form-item-content{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important} diff --git a/backend/public/admin/system_static/index-CU0B1mSW.css b/backend/public/admin/system_static/index-CU0B1mSW.css new file mode 100644 index 000000000..84c44a965 --- /dev/null +++ b/backend/public/admin/system_static/index-CU0B1mSW.css @@ -0,0 +1 @@ +.label-wrapper .list[data-v-3d14f4b0]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.label-wrapper .list .label-item[data-v-3d14f4b0]{margin:10px 8px 10px 0;padding:3px 8px;background:#eee;color:#333;border-radius:2px;cursor:pointer;font-size:12px}.label-wrapper .list .label-item.on[data-v-3d14f4b0]{color:#fff;background:var(--prev-color-primary)}.label-wrapper .footer[data-v-3d14f4b0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin-top:40px}.label-wrapper .footer button[data-v-3d14f4b0]{margin-left:10px}.btn[data-v-3d14f4b0]{width:60px;height:24px}.title[data-v-3d14f4b0]{font-size:13px}.list-box[data-v-3d14f4b0]{overflow-y:auto;overflow-x:hidden;max-height:240px}.label-box[data-v-3d14f4b0]{margin-bottom:10px} diff --git a/backend/public/admin/system_static/index-CUFtVRqi.css b/backend/public/admin/system_static/index-CUFtVRqi.css new file mode 100644 index 000000000..9f3212e41 --- /dev/null +++ b/backend/public/admin/system_static/index-CUFtVRqi.css @@ -0,0 +1 @@ +.btn[data-v-f864950b]{padding:6px 12px;cursor:pointer;font-size:12px;border-radius:3px} diff --git a/backend/public/admin/system_static/index-CUfKiWTY.js b/backend/public/admin/system_static/index-CUfKiWTY.js new file mode 100644 index 000000000..f42e288aa --- /dev/null +++ b/backend/public/admin/system_static/index-CUfKiWTY.js @@ -0,0 +1 @@ +import{y as r,B as o}from"./element-plus-C_ZDq0cz.js";import t from"./index-CWswhIn3.js";import"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const f=Object.assign({name:"storageConfig"},{__name:"index",setup(e){return(a,i)=>(r(),o(t))}});export{f as default}; diff --git a/backend/public/admin/system_static/index-CV87dtWp.css b/backend/public/admin/system_static/index-CV87dtWp.css new file mode 100644 index 000000000..e6e327403 --- /dev/null +++ b/backend/public/admin/system_static/index-CV87dtWp.css @@ -0,0 +1 @@ +.routine-ci-upload .progress-steps[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;gap:0;margin-bottom:16px;padding:20px;background:var(--prev-bg-white);border-radius:6px}.routine-ci-upload .progress-steps .step[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:10px;opacity:.4;-webkit-transition:all .2s ease;transition:all .2s ease}.routine-ci-upload .progress-steps .step.active[data-v-7051760e]{opacity:1}.routine-ci-upload .progress-steps .step.completed .step-number[data-v-7051760e]{background:var(--prev-color-primary);border-color:var(--prev-color-primary)}.routine-ci-upload .progress-steps .step .step-number[data-v-7051760e]{width:32px;height:32px;border-radius:50%;background:var(--prev-bg-color);border:2px solid var(--prev-border-color-light);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-weight:500;font-size:14px;color:var(--prev-color-text-primary);-webkit-transition:all .2s ease;transition:all .2s ease}.routine-ci-upload .progress-steps .step.active .step-number[data-v-7051760e]{background:var(--prev-color-primary);border-color:var(--prev-color-primary);color:var(--prev-color-text-white)}.routine-ci-upload .progress-steps .step .step-label[data-v-7051760e]{font-size:14px;font-weight:500;color:var(--prev-color-text-primary)}.routine-ci-upload .progress-steps .step-line[data-v-7051760e]{width:60px;height:2px;background:var(--prev-border-color-light);margin:0 16px;-webkit-transition:background .2s ease;transition:background .2s ease}.routine-ci-upload .progress-steps .step-line.completed[data-v-7051760e]{background:var(--prev-color-primary-light-5)}.routine-ci-upload .notice-banner[data-v-7051760e]{background:var(--prev-bg-white);border:1px solid var(--prev-border-color-light);border-radius:6px;margin-bottom:16px;overflow:hidden}.routine-ci-upload .notice-banner .notice-header[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:14px 20px;cursor:pointer;-webkit-transition:background .15s ease;transition:background .15s ease}.routine-ci-upload .notice-banner .notice-header[data-v-7051760e]:hover{background:var(--prev-bg-color)}.routine-ci-upload .notice-banner .notice-header .notice-title[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:10px;font-weight:500;font-size:14px;color:var(--prev-color-text-regular)}.routine-ci-upload .notice-banner .notice-header .notice-title i[data-v-7051760e]{color:var(--prev-color-warning);font-size:18px}.routine-ci-upload .notice-banner .notice-header>i[data-v-7051760e]{color:var(--prev-color-text-secondary);-webkit-transition:-webkit-transform .2s ease;transition:-webkit-transform .2s ease;transition:transform .2s ease;transition:transform .2s ease,-webkit-transform .2s ease}.routine-ci-upload .notice-banner .notice-content[data-v-7051760e]{padding:0 20px 20px;border-top:1px solid var(--prev-border-color-lighter)}.routine-ci-upload .notice-banner .notice-content .notice-item[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;gap:14px;padding:16px 0;border-bottom:1px solid var(--prev-border-color-lighter)}.routine-ci-upload .notice-banner .notice-content .notice-item[data-v-7051760e]:last-child{border-bottom:none;padding-bottom:0}.routine-ci-upload .notice-banner .notice-content .notice-item .notice-step[data-v-7051760e]{width:24px;height:24px;min-width:24px;background:var(--prev-color-primary-light-9);color:var(--prev-color-primary);border-radius:50%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-weight:500;font-size:12px}.routine-ci-upload .notice-banner .notice-content .notice-item .notice-text strong[data-v-7051760e]{display:block;font-size:14px;color:var(--prev-color-text-regular);margin-bottom:4px}.routine-ci-upload .notice-banner .notice-content .notice-item .notice-text p[data-v-7051760e]{font-size:13px;color:var(--prev-color-text-secondary);margin:0;line-height:1.5}.routine-ci-upload .notice-banner .notice-content .notice-item .notice-text p a[data-v-7051760e]{color:var(--prev-color-primary);text-decoration:none;font-weight:500}.routine-ci-upload .notice-banner .notice-content .notice-item .notice-text p a[data-v-7051760e]:hover{text-decoration:underline}.routine-ci-upload .main-content[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:16px}.routine-ci-upload .card[data-v-7051760e]{background:var(--prev-bg-white);border-radius:6px;border:1px solid var(--prev-border-color-lighter);overflow:hidden;-webkit-transition:border-color .2s ease;transition:border-color .2s ease}.routine-ci-upload .card.card-success[data-v-7051760e]{border-color:var(--prev-color-primary-light-7)}.routine-ci-upload .card.card-warning[data-v-7051760e]{border-color:var(--el-color-warning-light-7)}.routine-ci-upload .card .card-header[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:15px 20px;border-bottom:1px solid var(--prev-border-color-lighter);background:var(--prev-bg-white)}.routine-ci-upload .card .card-header .card-title[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:10px;font-size:14px;font-weight:500;color:var(--prev-color-text-regular)}.routine-ci-upload .card .card-header .card-title i[data-v-7051760e]{font-size:18px;color:var(--prev-color-primary)}.routine-ci-upload .card .card-header .refresh-btn[data-v-7051760e]{padding:7px 10px}.routine-ci-upload .card .card-header .refresh-btn i[data-v-7051760e]{font-size:14px}.routine-ci-upload .card .card-body[data-v-7051760e]{padding:20px}.routine-ci-upload .env-card .status-overview[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-bottom:20px}.routine-ci-upload .env-card .status-overview .status-badge[data-v-7051760e]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:8px;padding:8px 20px;border-radius:50px;font-weight:500;font-size:14px}.routine-ci-upload .env-card .status-overview .status-badge i[data-v-7051760e]{font-size:16px}.routine-ci-upload .env-card .status-overview .status-badge.success[data-v-7051760e]{background:var(--prev-color-primary-light-9);color:var(--prev-color-primary-dark-2)}.routine-ci-upload .env-card .status-overview .status-badge.warning[data-v-7051760e]{background:var(--el-color-warning-light-9);color:var(--el-color-warning-dark-2)}.routine-ci-upload .env-card .env-grid[data-v-7051760e]{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}@media (max-width: 768px){.routine-ci-upload .env-card .env-grid[data-v-7051760e]{grid-template-columns:1fr}}.routine-ci-upload .env-card .env-grid .env-item[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:14px;padding:16px;background:var(--prev-bg-color);border-radius:4px;border:1px solid transparent;-webkit-transition:all .15s ease;transition:all .15s ease}.routine-ci-upload .env-card .env-grid .env-item[data-v-7051760e]:hover{border-color:var(--prev-border-color-light)}.routine-ci-upload .env-card .env-grid .env-item .env-icon[data-v-7051760e]{width:44px;height:44px;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background:var(--prev-color-primary-light-9);border:1px solid var(--prev-color-primary-light-7)}.routine-ci-upload .env-card .env-grid .env-item .env-icon i[data-v-7051760e]{font-size:20px;color:var(--prev-color-primary)}.routine-ci-upload .env-card .env-grid .env-item .env-icon.success[data-v-7051760e]{background:var(--prev-color-primary-light-9);border-color:var(--prev-color-primary-light-7)}.routine-ci-upload .env-card .env-grid .env-item .env-icon.success i[data-v-7051760e]{color:var(--prev-color-primary)}.routine-ci-upload .env-card .env-grid .env-item .env-icon.error[data-v-7051760e]{background:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-7)}.routine-ci-upload .env-card .env-grid .env-item .env-icon.error i[data-v-7051760e]{color:var(--prev-color-danger)}.routine-ci-upload .env-card .env-grid .env-item .env-info[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:4px}.routine-ci-upload .env-card .env-grid .env-item .env-info .env-label[data-v-7051760e]{font-size:12px;color:var(--prev-color-text-secondary)}.routine-ci-upload .env-card .env-grid .env-item .env-info .env-value[data-v-7051760e]{font-size:14px;font-weight:500;color:var(--prev-color-primary)}.routine-ci-upload .env-card .env-grid .env-item .env-info .env-value.text-error[data-v-7051760e]{color:var(--prev-color-danger)}.routine-ci-upload .alert[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;gap:14px;padding:16px 20px;border-radius:4px;margin-top:20px}.routine-ci-upload .alert>i[data-v-7051760e]{font-size:22px;-ms-flex-negative:0;flex-shrink:0;color:var(--prev-color-danger)}.routine-ci-upload .alert.alert-error[data-v-7051760e]{background:var(--el-color-danger-light-9);border:1px solid var(--el-color-danger-light-7)}.routine-ci-upload .alert .alert-content strong[data-v-7051760e]{display:block;font-size:14px;color:var(--prev-color-text-regular);margin-bottom:6px}.routine-ci-upload .alert .alert-content p[data-v-7051760e]{font-size:13px;color:var(--prev-color-text-primary);margin:0 0 4px;line-height:1.5}.routine-ci-upload .alert .alert-content p code[data-v-7051760e]{background:var(--prev-color-hover);padding:2px 6px;border-radius:4px;font-family:SF Mono,Monaco,monospace;font-size:12px}.routine-ci-upload .alert .alert-content .alert-hint[data-v-7051760e]{color:var(--prev-color-text-secondary);font-size:12px}.routine-ci-upload .action-buttons[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:20px;padding-top:20px;border-top:1px solid var(--prev-border-color-lighter)}.routine-ci-upload .config-card .config-grid[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:0}.routine-ci-upload .config-card .config-item[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;gap:16px;padding:20px 0;border-bottom:1px solid var(--prev-border-color-lighter)}.routine-ci-upload .config-card .config-item[data-v-7051760e]:first-child{padding-top:0}.routine-ci-upload .config-card .config-item[data-v-7051760e]:last-child{border-bottom:none;padding-bottom:0}.routine-ci-upload .config-card .config-item .config-icon[data-v-7051760e]{width:40px;height:40px;background:var(--prev-color-primary-light-9);border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0}.routine-ci-upload .config-card .config-item .config-icon i[data-v-7051760e]{font-size:18px;color:var(--prev-color-primary)}.routine-ci-upload .config-card .config-item .config-info[data-v-7051760e]{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:0}.routine-ci-upload .config-card .config-item .config-info .config-label[data-v-7051760e]{display:block;font-size:12px;color:var(--prev-color-text-secondary);margin-bottom:6px}.routine-ci-upload .config-card .config-item .config-info .config-value[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:10px;-ms-flex-wrap:wrap;flex-wrap:wrap}.routine-ci-upload .config-card .config-item .config-info .config-value .value-text[data-v-7051760e]{font-size:14px;font-weight:500;color:var(--prev-color-text-regular)}.routine-ci-upload .config-card .config-item .config-info .config-value .value-text.text-muted[data-v-7051760e]{color:var(--prev-color-text-secondary)}.routine-ci-upload .config-card .config-item .config-info .config-value .status-dot[data-v-7051760e]{width:8px;height:8px;border-radius:50%}.routine-ci-upload .config-card .config-item .config-info .config-value .status-dot.success[data-v-7051760e]{background:var(--prev-color-primary);-webkit-box-shadow:0 0 0 3px var(--prev-color-primary-light-9);box-shadow:0 0 0 3px var(--prev-color-primary-light-9)}.routine-ci-upload .config-card .config-item .config-info .config-value .config-link[data-v-7051760e]{font-size:13px;color:var(--prev-color-primary);text-decoration:none;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:4px}.routine-ci-upload .config-card .config-item .config-info .config-value .config-link[data-v-7051760e]:hover{text-decoration:underline}.routine-ci-upload .config-card .config-item .config-hint[data-v-7051760e]{font-size:12px;color:var(--prev-color-text-secondary);margin-top:6px}.routine-ci-upload .config-card .config-item .config-hint a[data-v-7051760e]{color:var(--prev-color-primary);text-decoration:none}.routine-ci-upload .config-card .config-item .config-hint a[data-v-7051760e]:hover{text-decoration:underline}.routine-ci-upload .upload-card .info-banner[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:12px;padding:12px 16px;background:var(--prev-color-primary-light-9);border-radius:4px;margin-bottom:20px}.routine-ci-upload .upload-card .info-banner i[data-v-7051760e]{font-size:16px;color:var(--prev-color-primary)}.routine-ci-upload .upload-card .info-banner span[data-v-7051760e]{font-size:13px;color:var(--prev-color-primary-dark-2)}.routine-ci-upload .upload-card .upload-form .form-row[data-v-7051760e]{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}@media (max-width: 768px){.routine-ci-upload .upload-card .upload-form .form-row[data-v-7051760e]{grid-template-columns:1fr}}.routine-ci-upload .upload-card .upload-form .form-item-half[data-v-7051760e]{margin-bottom:0}.routine-ci-upload .upload-card .upload-form[data-v-7051760e] .el-form-item__label{font-weight:500;color:var(--prev-color-text-regular);padding-bottom:8px}.routine-ci-upload .upload-card .upload-form .form-actions[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:8px}.routine-ci-upload .preview-section[data-v-7051760e]{margin-top:20px;padding-top:20px;border-top:1px solid var(--prev-border-color-lighter)}.routine-ci-upload .preview-section .preview-card[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:20px;background:var(--prev-bg-color);border-radius:4px;text-align:center}.routine-ci-upload .preview-section .preview-card img[data-v-7051760e]{width:180px;height:180px;border-radius:4px;margin-bottom:12px}.routine-ci-upload .preview-section .preview-card p[data-v-7051760e]{font-size:13px;color:var(--prev-color-text-secondary);margin:0}.routine-ci-upload .result-section[data-v-7051760e]{margin-top:20px}.routine-ci-upload .result-section .result-card[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;gap:16px;padding:20px;border-radius:4px}.routine-ci-upload .result-section .result-card.success[data-v-7051760e]{background:var(--prev-color-primary-light-9);border:1px solid var(--prev-color-primary-light-7)}.routine-ci-upload .result-section .result-card.success .result-icon[data-v-7051760e]{background:var(--prev-color-primary)}.routine-ci-upload .result-section .result-card.error[data-v-7051760e]{background:var(--el-color-danger-light-9);border:1px solid var(--el-color-danger-light-7)}.routine-ci-upload .result-section .result-card.error .result-icon[data-v-7051760e]{background:var(--prev-color-danger)}.routine-ci-upload .result-section .result-card .result-icon[data-v-7051760e]{width:40px;height:40px;border-radius:50%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0}.routine-ci-upload .result-section .result-card .result-icon i[data-v-7051760e]{font-size:20px;color:var(--prev-color-text-white)}.routine-ci-upload .result-section .result-card .result-content h4[data-v-7051760e]{font-size:14px;font-weight:500;color:var(--prev-color-text-regular);margin:0 0 6px}.routine-ci-upload .result-section .result-card .result-content p[data-v-7051760e]{font-size:13px;color:var(--prev-color-text-primary);margin:0 0 4px;line-height:1.5}.routine-ci-upload .result-section .result-card .result-content p a[data-v-7051760e]{color:var(--prev-color-primary);text-decoration:none;font-weight:500}.routine-ci-upload .result-section .result-card .result-content p a[data-v-7051760e]:hover{text-decoration:underline}.routine-ci-upload .result-section .result-card .result-content p.error-msg[data-v-7051760e]{color:var(--prev-color-danger)}.link-btn[data-v-7051760e]{font-size:13px;cursor:pointer}.install-guide .guide-section[data-v-7051760e]{padding:24px;background:var(--prev-bg-color);border-radius:6px;margin-bottom:0;border:1px solid var(--prev-border-color-lighter);-webkit-transition:all .2s ease;transition:all .2s ease}.install-guide .guide-section.recommended[data-v-7051760e]{background:var(--prev-color-primary-light-9);border:1px solid var(--prev-color-primary-light-7);position:relative;overflow:visible}.install-guide .guide-section.recommended[data-v-7051760e]:hover{border-color:var(--prev-color-primary-light-5)}.install-guide .guide-section.recommended .section-badge[data-v-7051760e]{position:absolute;top:-12px;left:20px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:6px;padding:5px 12px;background:var(--prev-color-primary);color:var(--prev-color-text-white);font-size:12px;font-weight:500;border-radius:50px}.install-guide .guide-section.recommended .section-badge i[data-v-7051760e]{font-size:14px}.install-guide .guide-section.recommended .header-icon[data-v-7051760e]{background:var(--prev-color-primary)}.install-guide .guide-section.recommended .header-icon i[data-v-7051760e]{color:var(--prev-color-text-white)}.install-guide .guide-section.manual[data-v-7051760e]{background:var(--prev-bg-white);border:1px solid var(--prev-border-color-lighter)}.install-guide .guide-section.manual[data-v-7051760e]:hover{border-color:var(--prev-border-color-base)}.install-guide .guide-section.manual .manual-icon[data-v-7051760e]{background:var(--prev-color-text-secondary)}.install-guide .guide-section.manual .manual-icon i[data-v-7051760e]{color:var(--prev-color-text-white)}.install-guide .guide-section .section-header[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:16px;margin-bottom:20px;padding-top:8px}.install-guide .guide-section .section-header .header-icon[data-v-7051760e]{width:48px;height:48px;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0}.install-guide .guide-section .section-header .header-icon i[data-v-7051760e]{font-size:24px}.install-guide .guide-section .section-header .header-text[data-v-7051760e]{-webkit-box-flex:1;-ms-flex:1;flex:1}.install-guide .guide-section .section-header .header-text h3[data-v-7051760e]{font-size:14px;font-weight:500;color:var(--prev-color-text-regular);margin:0 0 4px}.install-guide .guide-section .section-header .header-text p[data-v-7051760e]{font-size:13px;color:var(--prev-color-text-secondary);margin:0}.install-guide .guide-section .install-instruction[data-v-7051760e]{margin-bottom:12px}.install-guide .guide-section .install-instruction .instruction-label[data-v-7051760e]{font-size:13px;font-weight:500;color:var(--prev-color-text-primary)}.install-guide .guide-section .section-footer[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:8px;margin-top:16px;padding-top:16px;border-top:1px dashed var(--prev-color-primary-light-7);font-size:13px;color:var(--prev-color-text-secondary)}.install-guide .guide-section .section-footer i[data-v-7051760e]{font-size:14px;color:var(--prev-color-text-secondary)}.install-guide .guide-section .section-footer a[data-v-7051760e]{color:var(--prev-color-primary);font-weight:500;text-decoration:none;-webkit-transition:color .15s ease;transition:color .15s ease}.install-guide .guide-section .section-footer a[data-v-7051760e]:hover{text-decoration:underline}.install-guide .code-block[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:0;background:var(--prev-bg-menuBar);border-radius:4px;padding:0;overflow:hidden}.install-guide .code-block .code-content[data-v-7051760e]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:12px;padding:14px 16px;overflow-x:auto}.install-guide .code-block .code-content .code-prompt[data-v-7051760e]{font-family:SF Mono,Monaco,Consolas,monospace;font-size:14px;color:var(--prev-color-text-placeholder);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.install-guide .code-block .code-content code[data-v-7051760e]{font-family:SF Mono,Monaco,Consolas,monospace;font-size:14px;color:var(--prev-color-success);word-break:break-all;line-height:1.5}.install-guide .code-block .copy-btn[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:6px;padding:14px 16px;background:#ffffff0d;border:none;border-left:1px solid rgba(255,255,255,.1);color:var(--prev-color-text-secondary);cursor:pointer;-webkit-transition:all .15s ease;transition:all .15s ease;height:100%}.install-guide .code-block .copy-btn i[data-v-7051760e]{font-size:16px}.install-guide .code-block .copy-btn .copy-text[data-v-7051760e]{font-size:12px;font-weight:500}.install-guide .code-block .copy-btn[data-v-7051760e]:hover{background:color-mix(in srgb,var(--prev-color-primary) 20%,transparent);color:var(--prev-color-text-white)}.install-guide .code-block .copy-btn:hover i[data-v-7051760e]{color:var(--prev-color-primary-light-3)}.install-guide .divider-section[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:20px;margin:28px 0;padding:0 10px}.install-guide .divider-section .divider-line[data-v-7051760e]{-webkit-box-flex:1;-ms-flex:1;flex:1;height:1px;background:var(--prev-border-color-light)}.install-guide .divider-section .divider-text[data-v-7051760e]{font-size:13px;font-weight:500;color:var(--prev-color-text-secondary);white-space:nowrap;padding:5px 14px;background:var(--prev-bg-white);border:1px solid var(--prev-border-color-lighter);border-radius:50px}.install-guide .guide-steps[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:12px;margin-top:8px}.install-guide .guide-steps .step-item[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:14px;padding:14px 16px;background:var(--prev-bg-color);border:1px solid var(--prev-border-color-lighter);border-radius:4px;-webkit-transition:all .15s ease;transition:all .15s ease}.install-guide .guide-steps .step-item[data-v-7051760e]:hover{background:var(--prev-bg-white);border-color:var(--prev-border-color-base)}.install-guide .guide-steps .step-item:hover .step-copy-btn[data-v-7051760e]{opacity:1}.install-guide .guide-steps .step-item .step-number[data-v-7051760e]{width:28px;height:28px;min-width:28px;background:var(--prev-color-primary-light-9);color:var(--prev-color-primary);border-radius:50%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:13px;font-weight:500}.install-guide .guide-steps .step-item .step-content[data-v-7051760e]{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-x:auto}.install-guide .guide-steps .step-item .step-content code[data-v-7051760e]{font-family:SF Mono,Monaco,Consolas,monospace;font-size:13px;color:var(--prev-color-text-regular);line-height:1.5;white-space:pre-wrap;word-break:break-all}.install-guide .guide-steps .step-item .step-copy-btn[data-v-7051760e]{width:32px;height:32px;min-width:32px;background:transparent;border:1px solid var(--prev-border-color-light);border-radius:4px;color:var(--prev-color-text-secondary);cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;opacity:0;-webkit-transition:all .15s ease;transition:all .15s ease}.install-guide .guide-steps .step-item .step-copy-btn i[data-v-7051760e]{font-size:14px}.install-guide .guide-steps .step-item .step-copy-btn[data-v-7051760e]:hover{background:var(--prev-color-primary-light-9);border-color:var(--prev-color-primary);color:var(--prev-color-primary)}.key-upload-content .info-card[data-v-7051760e]{padding:14px 16px;background:var(--prev-color-primary-light-9);border-radius:4px;margin-bottom:16px}.key-upload-content .info-card.warning[data-v-7051760e]{background:var(--el-color-warning-light-9)}.key-upload-content .info-card.warning .info-card-header i[data-v-7051760e]{color:var(--prev-color-warning)}.key-upload-content .info-card .info-card-header[data-v-7051760e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:10px;font-weight:500;color:var(--prev-color-text-regular);margin-bottom:10px}.key-upload-content .info-card .info-card-header i[data-v-7051760e]{font-size:18px;color:var(--prev-color-primary)}.key-upload-content .info-card ol.info-steps[data-v-7051760e]{margin:0;padding-left:20px}.key-upload-content .info-card ol.info-steps li[data-v-7051760e]{font-size:13px;color:var(--prev-color-text-primary);line-height:1.8}.key-upload-content .info-card ol.info-steps li a[data-v-7051760e]{color:var(--prev-color-primary);text-decoration:none}.key-upload-content .info-card ol.info-steps li a[data-v-7051760e]:hover{text-decoration:underline}.key-upload-content .info-card p[data-v-7051760e]{font-size:13px;color:var(--prev-color-text-primary);margin:0}.key-upload-content .key-input-section[data-v-7051760e]{margin-top:20px}.key-upload-content .key-input-section label[data-v-7051760e]{display:block;font-size:14px;font-weight:500;color:var(--prev-color-text-regular);margin-bottom:8px}.key-upload-content .key-input-section[data-v-7051760e] .el-textarea__inner{font-family:SF Mono,Monaco,monospace;font-size:13px}.slide-fade-enter-active[data-v-7051760e],.slide-fade-leave-active[data-v-7051760e]{-webkit-transition:all .2s ease;transition:all .2s ease}.slide-fade-enter[data-v-7051760e],.slide-fade-leave-to[data-v-7051760e]{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.fade-slide-enter-active[data-v-7051760e],.fade-slide-leave-active[data-v-7051760e]{-webkit-transition:all .3s ease;transition:all .3s ease}.fade-slide-enter[data-v-7051760e],.fade-slide-leave-to[data-v-7051760e]{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}[data-v-7051760e] .defineSwitch.el-switch .el-switch__core,[data-v-7051760e] .defineSwitch.el-switch .el-switch__label{width:65px!important}[data-v-7051760e] .el-switch__label{height:21px!important} diff --git a/backend/public/admin/system_static/index-CVuS9gjs.js b/backend/public/admin/system_static/index-CVuS9gjs.js new file mode 100644 index 000000000..4ce93b650 --- /dev/null +++ b/backend/public/admin/system_static/index-CVuS9gjs.js @@ -0,0 +1 @@ +import{g as he,k as s,u as P,y as d,z as b,j as o,C as t,v as q,s as h,A as i,$ as v,a0 as A,B as m,H as k,a2 as Ue,F as Le,D as Se,l as c,r as Ee,Z as u}from"./element-plus-C_ZDq0cz.js";import{_ as $e,a as Ae,aw as De,n as Ie,ax as Be,o as R,ay as W,az as Fe,aA as ze,aB as Ne,m as H,aC as Me}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const Te={class:"tree"},je={class:"custom-tree-node"},Pe={class:"file-name"},qe={class:"text line1"},Re={key:0},We=["src"],He=["onClick"],Oe=["onClick"],Ze={class:"acea-row row-right page"},Ge={key:0,class:"upload-list"},Je={class:"upload-item"},Ke=["src"],Qe={class:"dialog-footer"},Xe=Object.assign({name:"labelList"},{__name:"index",setup(Ye){const{proxy:O}=he();Ae();const M=c(null),Z=c(""),G={xl:4,lg:4,md:6,sm:8,xs:0},J={xl:20,lg:20,md:18,sm:16,xs:24},L=c(!1),p=Ee({page:1,limit:15,cate_id:""}),D=c([]),I=c(0),V=c([]),K=c(""),Q=c(0),y=c(!1),B=c(!1),a=c({id:0,cate_id:"",name:"",type:1,font_color:"#e93323",bg_color:"#fff",border_color:"#e93323",sort:0,is_show:1,image:"",status:1}),X={name:[{required:!0,message:"请输入标签名称",trigger:"blur"},{min:2,max:6,message:"长度在 2 到 6 个字符",trigger:"blur"}],cate_id:[{required:!0,message:"请选择分组"}]};S();function Y(){y.value=!0,B.value=!1}function ee(){O.$imgModal(n=>{a.value.image=n.att_dir})}function x(){L.value=!0,Be(p).then(async n=>{let e=n.data;D.value=e.list,I.value=e.count,L.value=!1}).catch(n=>{L.value=!1,u.error(n.msg)})}function le(n){Ne({id:n}).then(e=>{a.value=e.data,B.value=!0,y.value=!0})}function te(n,e,f){let w={title:e,url:`product/label/del/${n.id}`,method:"DELETE",ids:""};H(w).then(r=>{u.success(r.msg),D.value.splice(f,1),x()}).catch(r=>{u.error(r.msg)})}function oe(n){Fe(n).then(async e=>{u.success(e.msg)}).catch(e=>{u.error(e.msg)})}function ae(n){ze(n).then(async e=>{u.success(e.msg)}).catch(e=>{u.error(e.msg)})}function S(n){De().then(e=>{let f={name:"全部",id:""};e.data.unshift(f),e.data.forEach(w=>{w.status=!1}),n||(K.value=e.data[0].id,p.cate_id=e.data[0].id,x()),V.value=e.data}),x()}function ne(){if(!a.value.cate_id)return u.error("请选择分组");M.value.validate(n=>{n&&Me(a.value).then(e=>{u.success(e.msg),y.value=!1,F(),p.page=1,x()}).catch(e=>{u.error(e.msg)})})}function F(){a.value={id:0,cate_id:p.cate_id,name:"",type:1,font_color:"#e93323",bg_color:"#ffffff",border_color:"#e93323",sort:0,is_show:1,image:"",status:1},y.value=!1}function se(n){R(W(n.id)).then(()=>S(1))}function ie(){R(W(0)).then(()=>S())}function de(n,e){let f=V.value.findIndex(r=>r.id==n.id),w={title:e,url:`product/label_cate/del/${n.id}`,method:"DELETE",ids:""};H(w).then(r=>{u.success(r.msg),V.value.splice(f,1),V.value=[],S()}).catch(r=>{u.error(r.msg)})}function ue(n,e){e==1?se(n):e==2&&de(n,"删除分类")}function re(n,e){p.page=1,Q.value=e,V.value.forEach(f=>{f.status=!1}),p.cate_id=n.id,a.value.cate_id=n.id,x()}return(n,e)=>{const f=s("el-tooltip"),w=s("el-dropdown-item"),r=s("el-dropdown-menu"),me=s("el-dropdown"),ce=s("el-tree"),z=s("el-col"),E=s("el-button"),T=s("el-row"),C=s("el-table-column"),$=s("el-switch"),pe=s("el-divider"),_e=s("el-table"),ve=s("pagination"),fe=s("el-card"),ge=s("el-input"),_=s("el-form-item"),be=s("el-option"),we=s("el-select"),j=s("el-radio"),Ve=s("el-radio-group"),N=s("el-color-picker"),ke=s("el-input-number"),ye=s("el-form"),xe=s("el-dialog"),U=P("db-click"),Ce=P("loading");return d(),b("div",null,[o(T,{class:"ivu-mt box-wrapper"},{default:t(()=>[o(z,q(G,{class:"left-wrapper"}),{default:t(()=>[h((d(),b("div",{class:"tree_tit",onClick:ie},[...e[14]||(e[14]=[i("i",{class:"el-icon-circle-plus"},null,-1),v(" 添加分组 ",-1)])])),[[U]]),i("div",Te,[o(ce,{data:V.value,"node-key":"id","default-expand-all":"","highlight-current":"","expand-on-click-node":!1,onNodeClick:re,"current-node-key":Z.value},{default:t(({data:l})=>[i("span",je,[i("div",Pe,[e[15]||(e[15]=i("img",{class:"icon",src:Ie},null,-1)),o(f,{class:"item",effect:"dark",content:l.name,placement:"top"},{default:t(()=>[i("div",qe,A(l.name),1)]),_:2},1032,["content"])]),l.id?(d(),b("span",Re,[o(me,{onCommand:g=>ue(l,g)},{dropdown:t(()=>[o(r,null,{default:t(()=>[o(w,{command:"1"},{default:t(()=>[...e[16]||(e[16]=[v("编辑分组",-1)])]),_:1}),l.id?(d(),m(w,{key:0,command:"2"},{default:t(()=>[...e[17]||(e[17]=[v("删除分组",-1)])]),_:1})):k("",!0)]),_:2},1024)]),default:t(()=>[e[18]||(e[18]=i("i",{class:"el-icon-more el-icon--right"},null,-1))]),_:2},1032,["onCommand"])])):k("",!0)])]),_:1},8,["data","current-node-key"])])]),_:1},16),o(z,q(J,{ref:"rightBox"}),{default:t(()=>[o(fe,{bordered:!1,shadow:"never"},{default:t(()=>[o(T,{class:"action-row"},{default:t(()=>[o(z,null,{default:t(()=>[h((d(),m(E,{type:"primary",onClick:Y},{default:t(()=>[...e[19]||(e[19]=[v("添加标签",-1)])]),_:1})),[[U]])]),_:1})]),_:1}),h((d(),m(_e,{data:D.value,ref:"table",class:"mt14","highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:t(()=>[o(C,{label:"ID",width:"80"},{default:t(l=>[i("span",null,A(l.row.id),1)]),_:1}),o(C,{label:"标签名称",width:"180"},{default:t(l=>[l.row.type==1?(d(),b("div",{key:0,class:"words-tag",style:Ue({backgroundColor:l.row.bg_color,color:l.row.font_color,border:l.row.border_color?"1px solid "+l.row.border_color:"none"})},[i("span",null,A(l.row.name),1)],4)):(d(),b("img",{key:1,src:l.row.image,class:"tag-img"},null,8,We))]),_:1}),o(C,{label:"分类名称","min-width":"140"},{default:t(l=>[i("span",null,A(l.row.cate_name),1)]),_:1}),o(C,{label:"状态","min-width":"140"},{default:t(l=>[o($,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:l.row.status,"onUpdate:modelValue":g=>l.row.status=g,value:l.row.status,onChange:g=>oe(l.row),size:"large","active-text":"开启","inactive-text":"关闭"},null,8,["modelValue","onUpdate:modelValue","value","onChange"])]),_:1}),o(C,{label:"移动端展示","min-width":"140"},{default:t(l=>[o($,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:l.row.is_show,"onUpdate:modelValue":g=>l.row.is_show=g,value:l.row.is_show,onChange:g=>ae(l.row),size:"large","active-text":"开启","inactive-text":"关闭"},null,8,["modelValue","onUpdate:modelValue","value","onChange"])]),_:1}),o(C,{fixed:"right",label:"操作",width:"100"},{default:t(l=>[h((d(),b("a",{onClick:g=>le(l.row.id)},[...e[20]||(e[20]=[v("修改",-1)])],8,He)),[[U]]),o(pe,{direction:"vertical"}),h((d(),b("a",{onClick:g=>te(l.row,"删除",l.$index)},[...e[21]||(e[21]=[v("删除",-1)])],8,Oe)),[[U]])]),_:1})]),_:1},8,["data"])),[[Ce,L.value]]),i("div",Ze,[I.value?(d(),m(ve,{key:0,total:I.value,page:p.page,"onUpdate:page":e[0]||(e[0]=l=>p.page=l),limit:p.limit,"onUpdate:limit":e[1]||(e[1]=l=>p.limit=l),onPagination:x},null,8,["total","page","limit"])):k("",!0)])]),_:1}),o(xe,{modelValue:y.value,"onUpdate:modelValue":e[13]||(e[13]=l=>y.value=l),closable:"",title:B.value?"编辑标签":"添加标签",width:"560",onClose:F},{footer:t(()=>[i("span",Qe,[o(E,{onClick:F},{default:t(()=>[...e[31]||(e[31]=[v("取 消",-1)])]),_:1}),h((d(),m(E,{type:"primary",onClick:ne},{default:t(()=>[...e[32]||(e[32]=[v("确 定",-1)])]),_:1})),[[U]])])]),default:t(()=>[i("div",null,[o(ye,{"label-position":"right",ref_key:"formRef",ref:M,rules:X,model:a.value,"label-width":"100px"},{default:t(()=>[o(_,{label:"标签名称:",prop:"name"},{default:t(()=>[o(ge,{modelValue:a.value.name,"onUpdate:modelValue":e[2]||(e[2]=l=>a.value.name=l),class:"w-420"},null,8,["modelValue"])]),_:1}),o(_,{label:"分组选择:",prop:"label_cate"},{default:t(()=>[o(we,{modelValue:a.value.cate_id,"onUpdate:modelValue":e[3]||(e[3]=l=>a.value.cate_id=l),clearable:"",class:"w-420"},{default:t(()=>[(d(!0),b(Le,null,Se(V.value.slice(1),l=>(d(),m(be,{value:l.id,label:l.name,key:l.id},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1}),o(_,{label:"移动端展示:"},{default:t(()=>[o($,{modelValue:a.value.is_show,"onUpdate:modelValue":e[4]||(e[4]=l=>a.value.is_show=l),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1}),o(_,{label:"效果设置:"},{default:t(()=>[o(Ve,{modelValue:a.value.type,"onUpdate:modelValue":e[5]||(e[5]=l=>a.value.type=l),"true-value":1,"false-value":2},{default:t(()=>[o(j,{label:1,value:1},{default:t(()=>[...e[22]||(e[22]=[v("自定义",-1)])]),_:1}),o(j,{label:2,value:2},{default:t(()=>[...e[23]||(e[23]=[v("图片",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),a.value.type==1?(d(),m(_,{key:0,label:"字体颜色:"},{default:t(()=>[o(N,{modelValue:a.value.font_color,"onUpdate:modelValue":e[6]||(e[6]=l=>a.value.font_color=l),"show-alpha":""},null,8,["modelValue"]),e[24]||(e[24]=i("p",{class:"tip"},"若未设置颜色,则为默认色",-1))]),_:1})):k("",!0),a.value.type==1?(d(),m(_,{key:1,label:"背景颜色:"},{default:t(()=>[o(N,{modelValue:a.value.bg_color,"onUpdate:modelValue":e[7]||(e[7]=l=>a.value.bg_color=l),"show-alpha":""},null,8,["modelValue"]),e[25]||(e[25]=i("p",{class:"tip"},"若未设置颜色,则为默认色",-1))]),_:1})):k("",!0),a.value.type==1?(d(),m(_,{key:2,label:"边框颜色:"},{default:t(()=>[o(N,{modelValue:a.value.border_color,"onUpdate:modelValue":e[8]||(e[8]=l=>a.value.border_color=l),"show-alpha":""},null,8,["modelValue"]),e[26]||(e[26]=i("p",{class:"tip"},"若未设置颜色,则无边框",-1))]),_:1})):k("",!0),a.value.type==2?(d(),m(_,{key:3,label:"上传图标:"},{default:t(()=>[a.value.image?(d(),b("div",Ge,[i("div",Je,[i("img",{src:a.value.image},null,8,Ke),i("div",{class:"close",onClick:e[9]||(e[9]=l=>a.value.image="")},[...e[27]||(e[27]=[i("i",{class:"el-icon-close"},null,-1)])])])])):(d(),m(E,{key:1,class:"upload-select",type:"dashed",icon:"el-icon-plus",onClick:e[10]||(e[10]=l=>ee(1))})),e[28]||(e[28]=i("p",{class:"tip"},"建议尺寸:80px*30px,若未上传则为空白",-1))]),_:1})):k("",!0),o(_,{label:"排序:"},{default:t(()=>[o(ke,{modelValue:a.value.sort,"onUpdate:modelValue":e[11]||(e[11]=l=>a.value.sort=l),min:0,max:999,class:"selWidth"},null,8,["modelValue"])]),_:1}),o(_,{label:"是否开启:"},{default:t(()=>[o($,{modelValue:a.value.status,"onUpdate:modelValue":e[12]||(e[12]=l=>a.value.status=l),"active-value":1,"inactive-value":0,size:"large"},{open:t(()=>[...e[29]||(e[29]=[i("span",null,"开启",-1)])]),close:t(()=>[...e[30]||(e[30]=[i("span",null,"关闭",-1)])]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])])]),_:1},8,["modelValue","title"])]),_:1},16)]),_:1})])}}}),nl=$e(Xe,[["__scopeId","data-v-20637870"]]);export{nl as default}; diff --git a/backend/public/admin/system_static/index-CWm_4sIW.js b/backend/public/admin/system_static/index-CWm_4sIW.js new file mode 100644 index 000000000..79084d7e0 --- /dev/null +++ b/backend/public/admin/system_static/index-CWm_4sIW.js @@ -0,0 +1 @@ +import{f as U,k as v,u as E,y as l,B as N,C as f,z as i,A as e,j as y,F as D,D as V,H as m,a2 as ae,W as B,a0 as b,$ as z,s as ie,l as d,n as oe,ad as ne,Z as R,p as ce}from"./element-plus-C_ZDq0cz.js";import{_ as de,h as re,S as j,Q as F}from"./index-DHL7RTL2.js";import{D as ue,I as ve}from"./index-C2Zmd2Xm.js";const q="/admin/system_static/no-theme-poster-C-UVGq77.png",me={key:0,class:"dialog-header"},pe={key:0,class:"dialog-content"},_e={class:"content-wrapper"},he={class:"main-content"},ge={class:"filters-header"},fe={key:0,class:"filter-left"},ye={class:"search-box"},be={class:"theme-grid"},ke={class:"theme-cover"},we={class:"phone-preview"},xe=["src"],Ce={key:1,class:"no-poster"},Te=["src"],De={class:"theme-info"},Ve={class:"theme-title"},Be={class:"line1"},qe={key:0,class:"tag"},Ie={class:"theme-time"},Se={class:"theme-hover-actions"},Le=["onClick"],$e=["onClick"],Ue={key:0,class:"acea-row row-right page"},Ee={key:1,class:"detail-content"},Ne={class:"detail-header"},ze={class:"flex"},Re={class:"detail-body"},je={class:"detail-top"},Fe={class:"detail-preview-main"},He=["src"],Me={key:1,class:"no-poster"},Pe=["src"],Qe={class:"detail-info-box"},Oe={class:"info-title"},Ae={class:"info-desc"},Ge={class:"info-btn"},Ke={class:"detail-images-section"},We={class:"images-list"},Ze={class:"phone-mockup"},Je=["src"],Xe={key:1,class:"no-poster"},Ye=["src"],et=Object.assign({name:"ThemeSelectDialog"},{__name:"index",props:{visible:{type:Boolean,default:!1},type:{type:String,default:"mall"},themeId:{type:[Number,String],default:0},currentType:{type:String,default:"home"},activeTab:{type:String,default:"my"}},emits:["update:visible","select","success"],setup(k,{emit:H}){const c=k,h=H,M=re(),I=ce({get(){return c.visible},set(a){h("update:visible",a)}}),r=d(!1),o=d({}),n=d("home_image"),w=d(""),S=[{label:"首页",value:"home_image"},{label:"分类页",value:"category_image"},{label:"详情页",value:"detail_image"},{label:"个人中心",value:"user_image"}],L=d([]),p=d(1),u=d(9),g=d(0),P=j.apiBaseURL.replace(/adminapi/,"");U(()=>c.currentType,a=>{n.value=`${a}_image`},{immediate:!0}),U(()=>c.activeTab,a=>{a==="mall"?u.value=10:u.value=9},{immediate:!0}),x();function x(){const a={page:p.value,limit:u.value,title:w.value};c.type=="mall"&&c.currentType=="home"&&(a.page_type="all"),ue(a).then(t=>{L.value=t.data.list,g.value=t.data.count})}function Q(a){p.value=a,x()}function O(){window.open("https://www.crmeb.com/theme?from=crmebkytheme","_blank")}function _(){r.value=!1,h("update:visible",!1)}function $(a){c.themeId&&c.themeId!=0?ne.confirm("确定要使用该主题数据吗?这将覆盖当前页面配置","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{const t=n.value.replace("_image","");ve(c.themeId,{theme_id:a.id,type:t}).then(()=>{R.success("设置成功"),h("success"),_(),r.value=!1}).catch(C=>{R.error(C.msg||"设置失败")})}).catch(()=>{}):(h("select",a),_(),r.value=!1)}function A(a){o.value=a,r.value=!0,oe(()=>{G()})}function G(){document.getElementById("qrcodeDetail")&&(document.getElementById("qrcodeDetail").innerHTML="");let a=`${P}pages/index/index?theme_id=${o.value.id}`;new F(document.getElementById("qrcodeDetail"),{text:a,width:120,height:120,colorDark:"#000000",colorLight:"#ffffff",correctLevel:F.CorrectLevel.H})}function K(){M.push({path:j.routePre+"/setting/edit_theme",query:{id:0,type:"home"}})}function W(){p.value=1,x()}return(a,t)=>{const C=v("el-option"),Z=v("el-select"),J=v("el-input"),X=v("pagination"),Y=v("el-button"),ee=v("el-dialog"),te=E("viewer"),se=E("lazy");return l(),N(ee,{modelValue:I.value,"onUpdate:modelValue":t[6]||(t[6]=s=>I.value=s),width:"1188px",top:"5vh","custom-class":"theme-dialog","show-close":!1,"append-to-body":"",modal:!0,"modal-append-to-body":!0,"lock-scroll":!0,onClose:_},{header:f(()=>[r.value?m("",!0):(l(),i("div",me,[e("div",{class:"dialog-header-tabs"},[e("div",{class:"tabs"},[t[7]||(t[7]=e("span",{class:"title"},"我的主题",-1)),e("img",{class:"theme-in",src:"https://www.crmeb.com/static/images/zhutishichang.png",alt:"",onClick:O})])]),e("i",{class:"el-icon-close",onClick:_})]))]),default:f(()=>[r.value?(l(),i("div",Ee,[e("div",Ne,[e("div",ze,[e("div",{class:"back-btn",onClick:t[4]||(t[4]=s=>r.value=!1)},[...t[10]||(t[10]=[e("i",{class:"el-icon-arrow-left"},null,-1),z(" 返回",-1)])]),t[11]||(t[11]=e("div",{class:"detail-title"},"主题详情",-1))]),e("i",{class:"el-icon-close",onClick:_})]),e("div",Re,[e("div",je,[e("div",Fe,[o.value[n.value]||o.value.home_image?(l(),i("img",{key:0,src:o.value[n.value]||o.value.home_image,alt:"preview"},null,8,He)):(l(),i("div",Me,[e("img",{src:B(q),class:"preview-image",alt:"no poster"},null,8,Pe)]))]),e("div",Qe,[e("div",null,[e("div",Oe,b(o.value.title||"暂无主题名称"),1),e("div",Ae,b(o.value.info||"暂无描述"),1)]),e("div",Ge,[y(Y,{type:"primary",onClick:t[5]||(t[5]=s=>$(o.value))},{default:f(()=>[...t[12]||(t[12]=[z("使用主题",-1)])]),_:1})])])]),e("div",Ke,[t[15]||(t[15]=e("div",{class:"section-title"},"主题图片",-1)),e("div",We,[(l(),i(D,null,V(S,(s,T)=>e("div",{class:"image-item",key:T},[e("div",Ze,[o.value[s.value]?ie((l(),i("img",{key:0,src:o.value[s.value],class:"preview-image"},null,8,Je)),[[te],[se,o.value[s.value]]]):(l(),i("div",Xe,[e("img",{src:B(q),class:"preview-image",alt:"no poster"},null,8,Ye),t[13]||(t[13]=e("div",null,"暂无封面",-1))]))])])),64)),t[14]||(t[14]=e("div",{class:"detail-qrcode"},[e("div",{class:"qrcode-box",id:"qrcodeDetail"}),e("div",{class:"qrcode-text"},"扫码查看完整演示")],-1))])])])])):(l(),i("div",pe,[e("div",_e,[e("div",he,[e("div",ge,[k.type!="mall"?(l(),i("div",fe,[y(Z,{modelValue:n.value,"onUpdate:modelValue":t[0]||(t[0]=s=>n.value=s),placeholder:"首页",style:{width:"204px"}},{default:f(()=>[(l(),i(D,null,V(S,s=>y(C,{key:s.value,label:s.label,value:s.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])])):m("",!0),e("div",ye,[y(J,{modelValue:w.value,"onUpdate:modelValue":t[1]||(t[1]=s=>w.value=s),placeholder:"请输入主题名称","suffix-icon":"el-icon-search",onChange:W},null,8,["modelValue"])])]),e("div",be,[k.activeTab==="my"?(l(),i("div",{key:0,class:"theme-item create-new",onClick:K},[...t[8]||(t[8]=[e("div",{class:"create-icon"},[e("div",{class:"iconfont iconic_brush"})],-1),e("div",{class:"create-text"},"新建空白主题",-1)])])):m("",!0),(l(!0),i(D,null,V(L.value,(s,T)=>(l(),i("div",{class:"theme-item",key:T},[e("div",ke,[e("div",{class:"blur-bg",style:ae({backgroundImage:`url(${s[n.value]})`})},null,4),e("div",we,[s[n.value]||s.home_image?(l(),i("img",{key:0,src:s[n.value]||s.home_image,alt:"theme"},null,8,xe)):(l(),i("div",Ce,[e("img",{src:B(q),class:"preview-image",alt:"no poster"},null,8,Te),t[9]||(t[9]=e("div",null,"暂无封面",-1))]))])]),e("div",De,[e("div",Ve,[e("div",Be,b(s.title||"暂无主题名称"),1),s.page_type=="micro"?(l(),i("div",qe,"专题页")):m("",!0)]),e("div",Ie,"修改时间:"+b(s.up_time),1),e("div",Se,[e("div",{class:"button default",onClick:le=>A(s)},"查看详情",8,Le),e("div",{class:"button primary",onClick:le=>$(s)},"使用主题",8,$e)])])]))),128))]),g.value>u.value?(l(),i("div",Ue,[g.value?(l(),N(X,{key:0,total:g.value,page:p.value,"onUpdate:page":t[2]||(t[2]=s=>p.value=s),limit:u.value,"onUpdate:limit":t[3]||(t[3]=s=>u.value=s),layout:"total, prev, pager, next, jumper",onPagination:Q},null,8,["total","page","limit"])):m("",!0)])):m("",!0)])])]))]),_:1},8,["modelValue"])}}}),at=de(et,[["__scopeId","data-v-c491c7de"]]);export{at as T,q as _}; diff --git a/backend/public/admin/system_static/index-CWswhIn3.js b/backend/public/admin/system_static/index-CWswhIn3.js new file mode 100644 index 000000000..3c58d9f5b --- /dev/null +++ b/backend/public/admin/system_static/index-CWswhIn3.js @@ -0,0 +1 @@ +import{g as Ie,f as Ce,k as d,u as ae,y as u,z as c,j as l,C as t,A as n,s as $,B as p,$ as k,a0 as E,F as O,H as B,D as Y,l as v,Z as C,ad as Be,a1 as Re,W as Le,a as Ne}from"./element-plus-C_ZDq0cz.js";import{w as _e,_ as Ue,b as Se,bu as qe,bv as ze,o as Me,bw as Pe,m as Te,bx as je,by as Oe,c as He}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const Ge="/admin/system_static/abbreviationBig-3cTObEZV.png",We="/admin/system_static/abbreviation-DpLm7rj7.png",Ze="/admin/system_static/abbreviationSmall-BstagHuq.png";function Je(L){return _e({url:"driver/upload_driver/list",method:"get",params:L})}function Ke(L,H){return _e({url:`driver/upload_driver/set_status/${L}`,method:"put",data:{status:H}})}function $e(L){return _e({url:`driver/upload_driver/detail/${L}`,method:"get"})}function Qe(L){return _e({url:`driver/upload_driver/common_config/${L}`,method:"get"})}function De(L,H){return _e({url:`driver/upload_driver/save_config/${L}`,method:"post",data:H})}const Xe={class:"upload-driver-storage"},Ye=["onClick"],et=["onClick"],tt=["onClick"],lt={class:"acea-row row-right page"},at={class:"confignv"},ot={class:"confignv"},nt={key:3,class:"form-tip"},ut={class:"dialog-footer"},st={class:"dialog-footer"},it=Object.assign({name:"UploadDriverStorage"},{__name:"storage",props:{driverId:{type:[Number,String],default:null}},setup(L){const H=L,P=Se(),{proxy:ee}=Ie(),G=v(null),W=v(null),J=v([]),z=v(!1),T=v(0),A=v({page:1,limit:15,driver_key:""}),D=v(null),V=v(!1),y=v(""),s=v(!1),N=v(!1),M=v([]),F=v([]),I=v({}),q=v({}),ie=v({}),re=v({}),j=v(!1),Q=v(!1),oe=v(!1);let ne=0,b=0;Ce(()=>H.driverId||P.params.id,()=>{ue()},{immediate:!0});function ue(){const r=H.driverId||P&&P.params.id;if(!r)return;const a=++ne;return++b,D.value=null,J.value=[],T.value=0,z.value=!0,$e(r).then(f=>{if(a===ne)return D.value=f.data,A.value.driver_key=f.data.driver_key,A.value.page=1,M.value=f.data.config_fields||[],F.value=f.data.bucket_fields||[],me(M.value,"config"),me(F.value,"add"),te()}).catch(f=>{a===ne&&C.error(f.msg||f.message||"驱动加载失败")}).finally(()=>{a===ne&&(z.value=!1)})}function me(r,a){const f={},U={};r.forEach(R=>{f[R.field]=R.value!==void 0?R.value:"",R.required&&(U[R.field]=[{required:!0,message:"请输入"+R.label,trigger:R.type==="select"||R.type==="radio"?"change":"blur"}])}),a==="config"?(I.value=f,ie.value=U):(q.value=f,re.value=U)}function fe(r){ee.$copyText(r).then(()=>{C.success("复制成功")}).catch(()=>{C.error("复制失败")})}function te(){if(!D.value)return;const r=++b;return z.value=!0,je({...A.value}).then(a=>{r===b&&(T.value=a.data.count,J.value=a.data.list||[])}).catch(a=>{r===b&&C.error(a.msg||a.message||"存储空间加载失败")}).finally(()=>{r===b&&(z.value=!1)})}function S(){if(!(oe.value||!D.value))return oe.value=!0,qe(A.value.driver_key).then(r=>{C.success(r.msg),te()}).catch(r=>{C.error(r.msg||r.message||"同步失败")}).finally(()=>{oe.value=!1})}function e(r){const a=r.status===1?0:1;r._statusSaving=!0,Be({title:"切换状态",message:"您确认要切换使用状态吗",showCancelButton:!0,cancelButtonText:"取消",confirmButtonText:"确定",iconClass:"el-icon-warning",confirmButtonClass:"btn-custom-cancel"}).then(()=>ze(r.id,r.status).then(f=>{C.success(f.msg),te()})).catch(f=>{r.status=a,f!=="cancel"&&f!=="close"&&C.error(f.msg||f.message||"切换失败")}).finally(()=>{r._statusSaving=!1})}function m(r){_(r)&&(V.value=!0,y.value={...r,hostname:g(r.domain)})}function g(r){if(!r)return"";try{return new URL(r.startsWith("//")?"https:"+r:r.includes("://")?r:"https://"+r).hostname}catch{return""}}function _(r){const a=g(r.domain);return!!(a&&r.cname&&a!==g(r.cname))}function w(r){Me(Pe(r.id)).then(()=>{te()})}function be(r,a,f){const U={title:a,url:`system/config/storage/${r.id}`,method:"DELETE",ids:""};Te(U).then(R=>{C.success(R.msg),te()}).catch(R=>{C.error(R.msg)})}function we(){j.value||!D.value||G.value.validate(r=>{if(r&&!j.value){const a=H.driverId||P&&P.params.id,f={...I.value};j.value=!0,De(a,f).then(U=>{C.success(U.msg||"保存成功"),s.value=!1,ue()}).catch(U=>{C.error(U.msg||U.message||"保存失败")}).finally(()=>{j.value=!1})}})}function he(){Q.value||!D.value||W.value.validate(r=>{r&&!Q.value&&(Q.value=!0,Oe(A.value.driver_key,{...q.value}).then(a=>{C.success(a.msg||"添加成功"),N.value=!1,me(F.value,"add"),te()}).catch(a=>{C.error(a.msg||a.message||"添加失败")}).finally(()=>{Q.value=!1}))})}return(r,a)=>{const f=d("el-alert"),U=d("el-button"),R=d("el-col"),ke=d("el-row"),X=d("el-table-column"),ye=d("el-switch"),ve=d("el-divider"),Ve=d("el-table"),xe=d("pagination"),ce=d("el-card"),pe=d("el-dialog"),i=d("el-input"),se=d("el-option"),x=d("el-select"),ge=d("el-form-item"),Z=d("el-form"),Ee=d("el-radio"),Ae=d("el-radio-group"),de=ae("auth"),K=ae("db-click"),Fe=ae("loading");return u(),c("div",Xe,[l(ce,{bordered:!1,shadow:"never"},{default:t(()=>[l(f,{closable:"",type:"info",style:{"margin-bottom":"16px"}},{title:t(()=>[...a[10]||(a[10]=[n("p",null,"第一步:添加【存储空间】(空间名称不能重复)",-1),n("p",null,"第二步:开启【使用状态】",-1),n("p",null,"第三步(可选):选择存储空间列表上的【修改空间域名】操作,填写已备案并配置好CNAME解析的自定义域名",-1),n("p",null,"第四步(可选):选择存储空间列表上的【CNAME配置】,打开后复制记录值到对应的域名解析平台完成解析",-1)])]),_:1}),l(ke,{style:{"margin-bottom":"16px"}},{default:t(()=>[l(R,{span:24,class:"storage-toolbar"},{default:t(()=>[$((u(),p(U,{type:"primary",disabled:!D.value,onClick:a[0]||(a[0]=o=>N.value=!0)},{default:t(()=>[...a[11]||(a[11]=[k(" 添加存储空间 ",-1)])]),_:1},8,["disabled"])),[[de,["driver-storage-save"]],[K]]),$((u(),p(U,{type:"success",loading:oe.value,disabled:!D.value,onClick:S},{default:t(()=>[...a[12]||(a[12]=[k(" 同步存储空间 ",-1)])]),_:1},8,["loading","disabled"])),[[de,["driver-storage-sync"]],[K]]),$((u(),p(U,{disabled:!D.value,onClick:a[1]||(a[1]=o=>s.value=!0)},{default:t(()=>[...a[13]||(a[13]=[k(" 修改配置信息 ",-1)])]),_:1},8,["disabled"])),[[de,["driver-upload-save-config"]],[K]])]),_:1})]),_:1}),$((u(),p(Ve,{data:J.value,ref:"table","highlight-current-row":"","row-key":"id","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:t(()=>[l(X,{label:"存储空间名称","min-width":"120"},{default:t(o=>[n("span",null,E(o.row.name),1)]),_:1}),l(X,{label:"区域","min-width":"90"},{default:t(o=>[n("span",null,E(o.row._region),1)]),_:1}),l(X,{label:"空间域名","min-width":"130"},{default:t(o=>[n("span",null,E(o.row.domain),1)]),_:1}),l(X,{label:"使用状态","min-width":"80"},{default:t(o=>[$(l(ye,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:o.row.status,"onUpdate:modelValue":le=>o.row.status=le,disabled:o.row._statusSaving,value:o.row.status,onChange:le=>e(o.row),size:"large","active-text":"开启","inactive-text":"关闭"},null,8,["modelValue","onUpdate:modelValue","disabled","value","onChange"]),[[de,["driver-storage-status"]]])]),_:1}),l(X,{label:"创建时间","min-width":"100"},{default:t(o=>[n("span",null,E(o.row._add_time),1)]),_:1}),l(X,{label:"更新时间","min-width":"100"},{default:t(o=>[n("span",null,E(o.row._update_time),1)]),_:1}),l(X,{label:"操作",fixed:"right",width:"220"},{default:t(o=>[_(o.row)?(u(),c(O,{key:0},[$((u(),c("span",{class:"btn",onClick:le=>m(o.row)},[...a[14]||(a[14]=[k("CNAME配置",-1)])],8,Ye)),[[K]]),l(ve,{direction:"vertical"})],64)):B("",!0),$((u(),c("span",{class:"btn",onClick:le=>w(o.row)},[...a[15]||(a[15]=[k("修改空间域名",-1)])],8,et)),[[de,["driver-storage-domain"]],[K]]),l(ve,{direction:"vertical"}),$((u(),c("span",{class:"btn",onClick:le=>be(o.row,"删除该数据",o.$index)},[...a[16]||(a[16]=[k(" 删除 ",-1)])],8,tt)),[[de,["driver-storage-delete"]],[K]])]),_:1})]),_:1},8,["data"])),[[Fe,z.value]]),n("div",lt,[T.value?(u(),p(xe,{key:0,total:T.value,page:A.value.page,"onUpdate:page":a[2]||(a[2]=o=>A.value.page=o),limit:A.value.limit,"onUpdate:limit":a[3]||(a[3]=o=>A.value.limit=o),onPagination:te},null,8,["total","page","limit"])):B("",!0)])]),_:1}),l(pe,{modelValue:V.value,"onUpdate:modelValue":a[5]||(a[5]=o=>V.value=o),class:"storage-dialog",title:"CNAME配置",width:"min(570px, calc(100% - 32px))","append-to-body":""},{default:t(()=>[l(f,{closable:"",type:"info",style:{"margin-bottom":"16px"}},{title:t(()=>[...a[17]||(a[17]=[n("p",null,"请将以下记录值复制后,到您的域名DNS解析管理平台添加CNAME解析记录。",-1)])]),_:1}),n("div",null,[n("div",at,[a[18]||(a[18]=n("span",{class:"configtit"},"主机记录:",-1)),k(E(y.value.hostname),1)]),a[21]||(a[21]=n("div",{class:"confignv"},[n("span",{class:"configtit"},"记录类型:"),k("CNAME")],-1)),n("div",ot,[a[20]||(a[20]=n("span",{class:"configtit"},"记录值:",-1)),k(E(y.value.cname)+" ",1),$((u(),c("span",{class:"copy copy-data",onClick:a[4]||(a[4]=o=>fe(y.value.cname))},[...a[19]||(a[19]=[k("复制",-1)])])),[[K]])])])]),_:1},8,["modelValue"]),l(pe,{modelValue:s.value,"onUpdate:modelValue":a[7]||(a[7]=o=>s.value=o),class:"storage-dialog",title:"配置信息",width:"min(570px, calc(100% - 32px))","close-on-click-modal":!1,"append-to-body":""},{footer:t(()=>[n("div",ut,[$((u(),p(U,{onClick:a[6]||(a[6]=o=>s.value=!1)},{default:t(()=>[...a[22]||(a[22]=[k("取消",-1)])]),_:1})),[[K]]),$((u(),p(U,{type:"primary",loading:j.value,onClick:we},{default:t(()=>[...a[23]||(a[23]=[k("确定",-1)])]),_:1},8,["loading"])),[[K]])])]),default:t(()=>[l(Z,{class:"storage-form",ref_key:"configFormRef",ref:G,model:I.value,rules:ie.value,"label-width":"140px"},{default:t(()=>[(u(!0),c(O,null,Y(M.value,(o,le)=>(u(),p(ge,{key:le,label:o.label+":",prop:o.field},{default:t(()=>[o.type==="text"?(u(),p(i,{key:0,modelValue:I.value[o.field],"onUpdate:modelValue":h=>I.value[o.field]=h,placeholder:"请输入"+o.label},null,8,["modelValue","onUpdate:modelValue","placeholder"])):o.type==="password"?(u(),p(i,{key:1,modelValue:I.value[o.field],"onUpdate:modelValue":h=>I.value[o.field]=h,placeholder:"请输入"+o.label,type:"password","show-password":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):o.type==="select"?(u(),p(x,{key:2,modelValue:I.value[o.field],"onUpdate:modelValue":h=>I.value[o.field]=h,placeholder:"请选择"+o.label},{default:t(()=>[(u(!0),c(O,null,Y(o.options,h=>(u(),p(se,{key:h.value,label:h.label,value:h.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","placeholder"])):B("",!0),o.tip?(u(),c("div",nt,E(o.tip),1)):B("",!0)]),_:2},1032,["label","prop"]))),128))]),_:1},8,["model","rules"])]),_:1},8,["modelValue"]),l(pe,{modelValue:N.value,"onUpdate:modelValue":a[9]||(a[9]=o=>N.value=o),class:"storage-dialog",title:"添加云空间",width:"min(570px, calc(100% - 32px))","close-on-click-modal":!1,"append-to-body":""},{footer:t(()=>[n("div",st,[$((u(),p(U,{onClick:a[8]||(a[8]=o=>N.value=!1)},{default:t(()=>[...a[24]||(a[24]=[k("取消",-1)])]),_:1})),[[K]]),$((u(),p(U,{type:"primary",loading:Q.value,onClick:he},{default:t(()=>[...a[25]||(a[25]=[k("确定",-1)])]),_:1},8,["loading"])),[[K]])])]),default:t(()=>[l(Z,{class:"storage-form",ref_key:"addStorageFormRef",ref:W,model:q.value,rules:re.value,"label-width":"140px"},{default:t(()=>[(u(!0),c(O,null,Y(F.value,(o,le)=>(u(),p(ge,{key:le,label:o.label+":",prop:o.field},{default:t(()=>[o.type==="text"?(u(),p(i,{key:0,modelValue:q.value[o.field],"onUpdate:modelValue":h=>q.value[o.field]=h,placeholder:"请输入"+o.label},null,8,["modelValue","onUpdate:modelValue","placeholder"])):o.type==="password"?(u(),p(i,{key:1,modelValue:q.value[o.field],"onUpdate:modelValue":h=>q.value[o.field]=h,placeholder:"请输入"+o.label,type:"password","show-password":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):o.type==="select"?(u(),p(x,{key:2,modelValue:q.value[o.field],"onUpdate:modelValue":h=>q.value[o.field]=h,placeholder:"请选择"+o.label},{default:t(()=>[(u(!0),c(O,null,Y(o.options,h=>(u(),p(se,{key:h.value,label:h.label,value:h.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","placeholder"])):o.type==="radio"?(u(),p(Ae,{key:3,modelValue:q.value[o.field],"onUpdate:modelValue":h=>q.value[o.field]=h},{default:t(()=>[(u(!0),c(O,null,Y(o.options,h=>(u(),p(Ee,{key:h.value,label:h.value,value:h.value},{default:t(()=>[k(E(h.label),1)]),_:2},1032,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):B("",!0)]),_:2},1032,["label","prop"]))),128))]),_:1},8,["model","rules"])]),_:1},8,["modelValue"])])}}}),rt=Ue(it,[["__scopeId","data-v-d3df05fd"]]),dt={class:"upload-driver-edit"},mt={key:0,class:"help-doc"},vt={key:0,class:"help-doc-link"},pt=["href"],_t={key:1,class:"help-doc-steps"},ct={key:3,class:"form-tip"},gt={key:1,class:"thumb-config"},ft={class:"thumb-item"},bt={class:"thumb-fields"},wt={class:"thumb-item"},ht={class:"thumb-fields"},kt={class:"thumb-item"},yt={class:"thumb-fields"},Vt={key:2},xt={class:"watermark-config"},Ut={class:"watermark-row"},Ct={class:"position-container"},St={class:"positionBox"},$t=["onClick"],Dt={class:"position-label"},Et={class:"watermark-row"},At={key:0,class:"watermark-config"},Ft={class:"watermark-row"},It={key:0,class:"pictrue"},Bt=["src"],Rt={key:1,class:"upLoad acea-row row-center-wrapper"},Lt={class:"watermark-row"},Nt={class:"watermark-row"},qt={key:1,class:"watermark-config"},zt={class:"watermark-row"},Mt={class:"watermark-row"},Pt={class:"watermark-row"},Tt={class:"watermark-row"},jt={class:"form-footer"},Ot=Object.assign({name:"UploadDriverEdit"},{__name:"edit",props:{driverId:{type:[Number,String],default:null}},emits:["close","success"],setup(L,{emit:H}){const P=L,ee=H,G=Se(),W=v(null),J=v("basic"),z=v(!1),T=v(!1);let A=0;const D=v(!1),V=v({id:0,driver_name:"",icon:"",sort:0,status:1,is_builtin:0,driver_key:"",config_fields:[]}),y=v({driver_name:[{required:!0,message:"请输入驱动名称",trigger:"blur"}]}),s=v({image_thumb_status:0,thumb_big_width:800,thumb_big_height:800,thumb_mid_width:300,thumb_mid_height:300,thumb_small_width:150,thumb_small_height:150,image_watermark_status:0,watermark_type:1,watermark_opacity:"",watermark_rotate:"",watermark_position:1,watermark_x:"",watermark_y:"",watermark_image:"",watermark_text:"",watermark_text_size:"",watermark_text_color:"#000000",watermark_text_angle:""}),N=[{content:"左上",id:1},{content:"上",id:2},{content:"右上",id:3},{content:"左中",id:4},{content:"中",id:5},{content:"右中",id:6},{content:"左下",id:7},{content:"下",id:8},{content:"右下",id:9}],M=v(""),F=v(null),I=v(!1),q=v("单选"),ie={xl:4,lg:8,md:8,sm:8,xs:8},re={xl:6,lg:8,md:12,sm:12,xs:12},j=v([]);Ce(()=>P.driverId,()=>{oe()},{immediate:!0});function Q(){ee("close")}function oe(){const S=P.driverId||G&&G.params.id;if(!S)return;const e=++A;z.value=!0,T.value=!1,$e(S).then(async m=>{if(e!==A)return;const g=m.data;V.value={id:g.id,driver_name:g.driver_name,icon:g.icon,sort:g.sort,status:g.status,is_builtin:g.is_builtin,driver_key:g.driver_key,config_fields:g.config_fields||[]};const _=(g.config_fields||[]).map(w=>({...w,value:w.value!==void 0&&w.value!==null&&w.value!==""?w.value:w.default!==void 0?w.default:""}));fe(_),F.value=g.help_doc||null,await ne(g.driver_key,e)}).catch(m=>{e===A&&(T.value=!0,C.error(m.msg||m.message||"配置加载失败"))}).finally(()=>{e===A&&(z.value=!1)})}function ne(S,e){return Qe(S).then(m=>{if(e===A&&m.data){s.value={image_thumb_status:m.data.image_thumb_status??0,thumb_big_width:m.data.thumb_big_width??800,thumb_big_height:m.data.thumb_big_height??800,thumb_mid_width:m.data.thumb_mid_width??300,thumb_mid_height:m.data.thumb_mid_height??300,thumb_small_width:m.data.thumb_small_width??150,thumb_small_height:m.data.thumb_small_height??150,image_watermark_status:m.data.image_watermark_status??0,watermark_type:m.data.watermark_type??1,watermark_opacity:m.data.watermark_opacity??"",watermark_rotate:m.data.watermark_rotate??"",watermark_position:m.data.watermark_position??1,watermark_x:m.data.watermark_x??"",watermark_y:m.data.watermark_y??"",watermark_image:m.data.watermark_image??"",watermark_text:m.data.watermark_text??"",watermark_text_size:m.data.watermark_text_size??"",watermark_text_color:m.data.watermark_text_color??"#000000",watermark_text_angle:m.data.watermark_text_angle??""};const g=N.find(_=>_.id===s.value.watermark_position);M.value=g?g.content:""}})}function b(S){s.value.watermark_position=S.id,M.value=S.content}function ue(){I.value=!0}function me(S){s.value.watermark_image=S.att_dir,I.value=!1}function fe(S){if(j.value=[],!S||!Array.isArray(S)||S.length===0)return;const e=Object.create(null);S.forEach(m=>{const g=m.group||"默认配置";e[g]||(e[g]=[]),e[g].push(m)}),Object.keys(e).forEach(m=>{j.value.push({name:m,fields:e[m]})})}function te(){D.value||z.value||T.value||W.value.validate(S=>{if(!S||D.value)return;const e=P.driverId||G&&G.params.id,m={driver_name:V.value.driver_name,icon:V.value.icon,sort:V.value.sort,status:V.value.status,thumb_watermark_config:{...s.value}};j.value.forEach(g=>{g.fields.forEach(_=>{m[_.field]=_.value})}),D.value=!0,De(e,m).then(()=>{ee("success"),D.value=!1}).catch(g=>{C.error(g.msg||g.message||"保存失败"),D.value=!1})})}return(S,e)=>{const m=d("el-divider"),g=d("el-switch"),_=d("el-form-item"),w=d("el-input"),be=d("el-input-number"),we=d("el-option"),he=d("el-select"),r=d("el-empty"),a=d("el-alert"),f=d("el-radio"),U=d("el-radio-group"),R=d("el-color-picker"),ke=d("el-form"),X=d("el-tab-pane"),ye=d("el-tabs"),ve=d("el-button"),Ve=d("el-dialog"),xe=ae("loading"),ce=ae("db-click"),pe=ae("auth");return u(),c("div",dt,[!V.value.is_builtin&&F.value&&F.value.title?(u(),c("div",mt,[F.value.link?(u(),c("div",vt,[n("span",null,E(F.value.title.replace("开通方法",""))+"开通方法:",1),n("a",{href:F.value.link,target:"_blank",rel:"noopener noreferrer"},"点击查看",8,pt)])):B("",!0),F.value.steps&&F.value.steps.length?(u(),c("div",_t,[(u(!0),c(O,null,Y(F.value.steps,(i,se)=>(u(),c("div",{key:se,class:"help-doc-step"},E(i),1))),128))])):B("",!0)])):B("",!0),l(ye,{modelValue:J.value,"onUpdate:modelValue":e[21]||(e[21]=i=>J.value=i)},{default:t(()=>[l(X,{label:"基础配置",name:"basic"},{default:t(()=>[$((u(),p(ke,{ref_key:"formRef",ref:W,model:V.value,rules:y.value,"label-width":"120px"},{default:t(()=>[l(m,{"content-position":"left"},{default:t(()=>[...e[23]||(e[23]=[k("基本信息",-1)])]),_:1}),l(_,{label:"状态",prop:"status"},{default:t(()=>[l(g,{"active-value":1,"inactive-value":0,modelValue:V.value.status,"onUpdate:modelValue":e[0]||(e[0]=i=>V.value.status=i),"active-text":"开启","inactive-text":"关闭",class:"defineSwitch"},null,8,["modelValue"])]),_:1}),l(_,{label:"驱动名称",prop:"driver_name"},{default:t(()=>[l(w,{modelValue:V.value.driver_name,"onUpdate:modelValue":e[1]||(e[1]=i=>V.value.driver_name=i),placeholder:"请输入驱动名称"},null,8,["modelValue"])]),_:1}),l(_,{label:"排序",prop:"sort"},{default:t(()=>[l(be,{modelValue:V.value.sort,"onUpdate:modelValue":e[2]||(e[2]=i=>V.value.sort=i),min:0,max:9999},null,8,["modelValue"])]),_:1}),V.value.is_builtin?B("",!0):(u(),c(O,{key:0},[j.value.length>0?(u(!0),c(O,{key:0},Y(j.value,(i,se)=>(u(),c(O,{key:"group-"+se},[l(m,{"content-position":"left",style:{"margin-top":"20px"}},{default:t(()=>[k(E(i.name),1)]),_:2},1024),(u(!0),c(O,null,Y(i.fields,(x,ge)=>(u(),p(_,{key:"field-"+se+"-"+ge,label:x.label},{default:t(()=>[x.type==="text"?(u(),p(w,{key:0,modelValue:x.value,"onUpdate:modelValue":Z=>x.value=Z,placeholder:x.placeholder||"请输入"+x.label},null,8,["modelValue","onUpdate:modelValue","placeholder"])):x.type==="password"?(u(),p(w,{key:1,modelValue:x.value,"onUpdate:modelValue":Z=>x.value=Z,type:"password","show-password":"",placeholder:x.placeholder||"请输入"+x.label},null,8,["modelValue","onUpdate:modelValue","placeholder"])):x.type==="select"?(u(),p(he,{key:2,modelValue:x.value,"onUpdate:modelValue":Z=>x.value=Z,placeholder:"请选择"+x.label},{default:t(()=>[(u(!0),c(O,null,Y(x.options,Z=>(u(),p(we,{key:Z.value,label:Z.label,value:Z.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","placeholder"])):B("",!0),x.tip?(u(),c("div",ct,E(x.tip),1)):B("",!0)]),_:2},1032,["label"]))),128))],64))),128)):(u(),p(r,{key:1,description:"暂无配置字段"}))],64)),l(m,{"content-position":"left"},{default:t(()=>[...e[24]||(e[24]=[k("缩略图和水印设置",-1)])]),_:1}),l(_,{label:"是否开启缩略图:","label-width":"120px"},{default:t(()=>[l(g,{"active-value":1,"inactive-value":0,modelValue:s.value.image_thumb_status,"onUpdate:modelValue":e[3]||(e[3]=i=>s.value.image_thumb_status=i),size:"large","active-text":"开启","inactive-text":"关闭",class:"defineSwitch"},null,8,["modelValue"])]),_:1}),l(a,{closable:"",type:"info",class:"mb20"},{title:t(()=>[...e[25]||(e[25]=[n("p",null,"上传图片时会生成缩略图",-1),n("p",null,"未设置按照系统默认生成,系统默认:大图800*800,中图300*300,小图150*150",-1)])]),_:1}),s.value.image_thumb_status?(u(),c("div",gt,[n("div",ft,[e[28]||(e[28]=n("div",{class:"thumb-label"},[n("img",{class:"thumb-img",src:Ge,alt:""}),n("div",null,"缩略大图")],-1)),n("div",bt,[l(_,{label:"宽:"},{default:t(()=>[l(w,{type:"number",modelValue:s.value.thumb_big_width,"onUpdate:modelValue":e[4]||(e[4]=i=>s.value.thumb_big_width=i),placeholder:"请输入宽度"},{append:t(()=>[...e[26]||(e[26]=[n("span",null,"px",-1)])]),_:1},8,["modelValue"])]),_:1}),l(_,{label:"高:"},{default:t(()=>[l(w,{type:"number",modelValue:s.value.thumb_big_height,"onUpdate:modelValue":e[5]||(e[5]=i=>s.value.thumb_big_height=i),placeholder:"请输入高度"},{append:t(()=>[...e[27]||(e[27]=[n("span",null,"px",-1)])]),_:1},8,["modelValue"])]),_:1})])]),n("div",wt,[e[31]||(e[31]=n("div",{class:"thumb-label"},[n("img",{class:"thumb-img",src:We,alt:""}),n("div",null,"缩略中图")],-1)),n("div",ht,[l(_,{label:"宽:"},{default:t(()=>[l(w,{type:"number",modelValue:s.value.thumb_mid_width,"onUpdate:modelValue":e[6]||(e[6]=i=>s.value.thumb_mid_width=i),placeholder:"请输入宽度"},{append:t(()=>[...e[29]||(e[29]=[n("span",null,"px",-1)])]),_:1},8,["modelValue"])]),_:1}),l(_,{label:"高:"},{default:t(()=>[l(w,{type:"number",modelValue:s.value.thumb_mid_height,"onUpdate:modelValue":e[7]||(e[7]=i=>s.value.thumb_mid_height=i),placeholder:"请输入高度"},{append:t(()=>[...e[30]||(e[30]=[n("span",null,"px",-1)])]),_:1},8,["modelValue"])]),_:1})])]),n("div",kt,[e[34]||(e[34]=n("div",{class:"thumb-label"},[n("img",{class:"thumb-img",src:Ze,alt:""}),n("div",null,"缩略小图")],-1)),n("div",yt,[l(_,{label:"宽:"},{default:t(()=>[l(w,{type:"number",modelValue:s.value.thumb_small_width,"onUpdate:modelValue":e[8]||(e[8]=i=>s.value.thumb_small_width=i),placeholder:"请输入宽度"},{append:t(()=>[...e[32]||(e[32]=[n("span",null,"px",-1)])]),_:1},8,["modelValue"])]),_:1}),l(_,{label:"高:"},{default:t(()=>[l(w,{type:"number",modelValue:s.value.thumb_small_height,"onUpdate:modelValue":e[9]||(e[9]=i=>s.value.thumb_small_height=i),placeholder:"请输入高度"},{append:t(()=>[...e[33]||(e[33]=[n("span",null,"px",-1)])]),_:1},8,["modelValue"])]),_:1})])])])):B("",!0),l(_,{label:"是否开启水印:","label-width":"120px"},{default:t(()=>[l(g,{"active-value":1,"inactive-value":0,modelValue:s.value.image_watermark_status,"onUpdate:modelValue":e[10]||(e[10]=i=>s.value.image_watermark_status=i),size:"large","active-text":"开启","inactive-text":"关闭",class:"defineSwitch"},null,8,["modelValue"])]),_:1}),l(a,{closable:"",type:"info",class:"mb20"},{title:t(()=>[...e[35]||(e[35]=[n("p",null,"水印只在上传图片时生成,原图,大中小缩略图上都按照比例存在。",-1),n("p",null,"若上传图片时未开启水印,则该图在开启水印之后依旧无水印效果。",-1)])]),_:1}),s.value.image_watermark_status?(u(),c("div",Vt,[n("div",xt,[n("div",Ut,[l(_,{label:"位置:","label-width":"120px"},{default:t(()=>[n("div",Ct,[n("div",St,[(u(),c(O,null,Y(N,i=>n("div",{class:Re(["position-item",s.value.watermark_position==i.id?"active":""]),key:i.id,onClick:se=>b(i)},null,10,$t)),64))]),n("div",Dt,E(M.value),1)])]),_:1})]),n("div",Et,[l(_,{label:"横坐标偏移量:","label-width":"120px"},{default:t(()=>[l(w,{type:"number",modelValue:s.value.watermark_x,"onUpdate:modelValue":e[11]||(e[11]=i=>s.value.watermark_x=i),placeholder:"请输入横坐标偏移量"},{append:t(()=>[...e[36]||(e[36]=[n("span",null,"px",-1)])]),_:1},8,["modelValue"])]),_:1}),l(_,{label:"纵坐标偏移量:","label-width":"120px"},{default:t(()=>[l(w,{type:"number",modelValue:s.value.watermark_y,"onUpdate:modelValue":e[12]||(e[12]=i=>s.value.watermark_y=i),placeholder:"请输入纵坐标偏移量"},{append:t(()=>[...e[37]||(e[37]=[n("span",null,"px",-1)])]),_:1},8,["modelValue"])]),_:1})])]),l(_,{label:"类型:","label-width":"120px"},{default:t(()=>[l(U,{modelValue:s.value.watermark_type,"onUpdate:modelValue":e[13]||(e[13]=i=>s.value.watermark_type=i)},{default:t(()=>[l(f,{label:1,value:1},{default:t(()=>[...e[38]||(e[38]=[k("图片",-1)])]),_:1}),l(f,{label:2,value:2},{default:t(()=>[...e[39]||(e[39]=[k("文字",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),s.value.watermark_type==1?(u(),c("div",At,[n("div",Ft,[l(_,{label:"图片:","label-width":"120px"},{default:t(()=>[n("div",{class:"picBox",onClick:e[14]||(e[14]=i=>ue("单选"))},[s.value.watermark_image?(u(),c("div",It,[n("img",{src:s.value.watermark_image},null,8,Bt)])):(u(),c("div",Rt,[...e[40]||(e[40]=[n("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])]))])]),_:1})]),n("div",Lt,[l(_,{label:"透明度:","label-width":"120px"},{default:t(()=>[l(w,{type:"number",modelValue:s.value.watermark_opacity,"onUpdate:modelValue":e[15]||(e[15]=i=>s.value.watermark_opacity=i),placeholder:"请输入水印透明度"},null,8,["modelValue"])]),_:1})]),n("div",Nt,[l(_,{label:"倾斜度:","label-width":"120px"},{default:t(()=>[l(w,{type:"number",modelValue:s.value.watermark_rotate,"onUpdate:modelValue":e[16]||(e[16]=i=>s.value.watermark_rotate=i),placeholder:"请输入水印倾斜度"},null,8,["modelValue"])]),_:1})])])):(u(),c("div",qt,[n("div",zt,[l(_,{label:"文字:","label-width":"120px"},{default:t(()=>[l(w,{modelValue:s.value.watermark_text,"onUpdate:modelValue":e[17]||(e[17]=i=>s.value.watermark_text=i),placeholder:"请输入水印文字"},null,8,["modelValue"])]),_:1})]),n("div",Mt,[l(_,{label:"文字大小:","label-width":"120px"},{default:t(()=>[l(w,{type:"number",modelValue:s.value.watermark_text_size,"onUpdate:modelValue":e[18]||(e[18]=i=>s.value.watermark_text_size=i),placeholder:"请输入水印文字大小"},null,8,["modelValue"])]),_:1})]),n("div",Pt,[l(_,{label:"字体颜色:","label-width":"120px"},{default:t(()=>[l(R,{modelValue:s.value.watermark_text_color,"onUpdate:modelValue":e[19]||(e[19]=i=>s.value.watermark_text_color=i)},null,8,["modelValue"])]),_:1})]),n("div",Tt,[l(_,{label:"字体旋转角度:","label-width":"120px"},{default:t(()=>[l(w,{type:"number",modelValue:s.value.watermark_text_angle,"onUpdate:modelValue":e[20]||(e[20]=i=>s.value.watermark_text_angle=i),placeholder:"请输入水印字体旋转角度"},null,8,["modelValue"])]),_:1})])]))])):B("",!0)]),_:1},8,["model","rules"])),[[xe,z.value]])]),_:1}),V.value.driver_key!=="local"?(u(),p(X,{key:0,label:"空间配置",name:"storage"},{default:t(()=>[J.value==="storage"?(u(),p(rt,{key:0,"driver-id":L.driverId},null,8,["driver-id"])):B("",!0)]),_:1})):B("",!0)]),_:1},8,["modelValue"]),n("div",jt,[$((u(),p(ve,{onClick:Q},{default:t(()=>[...e[41]||(e[41]=[k("返回",-1)])]),_:1})),[[ce]]),$((u(),p(ve,{type:"primary",onClick:te,loading:D.value,disabled:z.value||T.value},{default:t(()=>[...e[42]||(e[42]=[k(" 保存 ",-1)])]),_:1},8,["loading","disabled"])),[[pe,["driver-upload-save-config"]],[ce]])]),l(Ve,{modelValue:I.value,"onUpdate:modelValue":e[22]||(e[22]=i=>I.value=i),width:"min(950px, calc(100% - 32px))",title:"上传图片","close-on-click-modal":!1},{default:t(()=>[I.value?(u(),p(Le(He),{key:0,isChoice:q.value,onGetPic:me,gridBtn:ie,gridPic:re},null,8,["isChoice"])):B("",!0)]),_:1},8,["modelValue"])])}}}),Ht=Ue(Ot,[["__scopeId","data-v-09d10f0d"]]),Gt={class:"font-weight-bold"},Wt=Object.assign({name:"uploadDriver"},{__name:"index",setup(L){const H=v([]),P=v(!1),ee=v(!1);let G=0;const W=v(!1),J=v(null),z=v(null);Ne(()=>{T()});function T(){const y=++G;return P.value=!0,Je().then(s=>{y===G&&(H.value=s.data.list||[])}).catch(s=>{y===G&&C.error(s.msg||s.message||"驱动列表加载失败")}).finally(()=>{y===G&&(P.value=!1)})}function A(y){if(y._statusSaving||ee.value)return;const s=y.status===1?0:1;return y._statusSaving=!0,ee.value=!0,Ke(y.id,y.status).then(N=>(C.success(N.msg),T())).catch(N=>{y.status=s,C.error(N.msg||N.message||"切换失败")}).finally(()=>{y._statusSaving=!1,ee.value=!1})}function D(y){J.value=y,z.value=y.id,W.value=!0}function V(){W.value=!1,T(),C.success("保存成功")}return(y,s)=>{const N=d("pages-header"),M=d("el-table-column"),F=d("el-tag"),I=d("el-switch"),q=d("el-button"),ie=d("el-table"),re=d("el-card"),j=d("el-drawer"),Q=ae("auth"),oe=ae("db-click"),ne=ae("loading");return u(),c("div",null,[l(N,{class:"mb16",title:y.$route.meta.title},null,8,["title"]),l(re,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:t(()=>[$((u(),p(ie,{data:H.value,ref:"table","highlight-current-row":"","row-key":"id"},{default:t(()=>[l(M,{label:"排序",width:"80",prop:"sort"},{default:t(b=>[n("span",null,E(b.row.sort),1)]),_:1}),l(M,{label:"驱动名称","min-width":"150"},{default:t(b=>[n("span",Gt,E(b.row.driver_name),1)]),_:1}),l(M,{label:"驱动标识","min-width":"100"},{default:t(b=>[l(F,null,{default:t(()=>[k(E(b.row.driver_key),1)]),_:2},1024)]),_:1}),l(M,{label:"类型","min-width":"100"},{default:t(b=>[l(F,{type:b.row.is_builtin?"success":"primary"},{default:t(()=>[k(E(b.row.is_builtin?"本地存储":"云存储扩展"),1)]),_:2},1032,["type"])]),_:1}),l(M,{label:"状态",width:"80"},{default:t(b=>[$(l(I,{"active-value":1,"inactive-value":0,modelValue:b.row.status,"onUpdate:modelValue":ue=>b.row.status=ue,disabled:ee.value||b.row._statusSaving,onChange:ue=>A(b.row),"active-text":"开启","inactive-text":"关闭",class:"defineSwitch"},null,8,["modelValue","onUpdate:modelValue","disabled","onChange"]),[[Q,["driver-upload-status"]]])]),_:1}),l(M,{label:"操作",fixed:"right",width:"150",align:"center"},{default:t(b=>[$((u(),p(q,{type:"text",onClick:ue=>D(b.row)},{default:t(()=>[...s[2]||(s[2]=[k(" 设置 ",-1)])]),_:1},8,["onClick"])),[[Q,["driver-upload-save-config"]],[oe]])]),_:1})]),_:1},8,["data"])),[[ne,P.value]])]),_:1}),l(j,{class:"upload-driver-drawer",title:"编辑 - "+(J.value?J.value.driver_name:""),modelValue:W.value,"onUpdate:modelValue":s[1]||(s[1]=b=>W.value=b),direction:"rtl",size:"min(1100px, 100%)"},{default:t(()=>[W.value?(u(),p(Ht,{key:0,"driver-id":z.value,onClose:s[0]||(s[0]=b=>W.value=!1),onSuccess:V},null,8,["driver-id"])):B("",!0)]),_:1},8,["title","modelValue"])])}}}),Yt=Ue(Wt,[["__scopeId","data-v-da4a9a56"]]);export{Yt as default}; diff --git a/backend/public/admin/system_static/index-CYIj7XV_.css b/backend/public/admin/system_static/index-CYIj7XV_.css new file mode 100644 index 000000000..38af5fbd7 --- /dev/null +++ b/backend/public/admin/system_static/index-CYIj7XV_.css @@ -0,0 +1,9 @@ +@charset "UTF-8";body .v-modal{background-color:#0000001a}.w10[data-v-f9d6ba4c]{width:10px}.mr5[data-v-f9d6ba4c]{margin-right:5px}[data-v-f9d6ba4c] .el-drawer__header{margin-bottom:0}[data-v-f9d6ba4c] .el-radio-button--mini .el-radio-button__inner{padding:7px 8px}[data-v-f9d6ba4c] .el-drawer__body{padding:0}.layout-breadcrumb-seting-bar[data-v-f9d6ba4c]{padding:0 15px}.layout-breadcrumb-seting-bar[data-v-f9d6ba4c] .el-scrollbar__view{overflow-x:hidden}.layout-breadcrumb-seting-bar .layout-breadcrumb-seting-bar-flex[data-v-f9d6ba4c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.layout-breadcrumb-seting-bar .layout-breadcrumb-seting-bar-flex-label[data-v-f9d6ba4c]{-webkit-box-flex:1;-ms-flex:1;flex:1;color:var(--prev-color-text-primary)}.layout-breadcrumb-seting-bar .layout-drawer-content-flex[data-v-f9d6ba4c]{overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:center;align-content:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0 -5px}.layout-breadcrumb-seting-bar .layout-drawer-content-flex .layout-drawer-content-item.drawer-layout-active[data-v-f9d6ba4c]{border:1px solid;border-color:var(--prev-color-primary)}.layout-breadcrumb-seting-bar .layout-drawer-content-flex .layout-drawer-content-item[data-v-f9d6ba4c]:hover{-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out;border:1px solid;border-color:var(--prev-color-primary)}.layout-breadcrumb-seting-bar .layout-drawer-content-flex .layout-drawer-content-item[data-v-f9d6ba4c]{width:107px;height:70px;cursor:pointer;border:1px solid rgba(0,0,0,0);position:relative;padding:6px;background:#fff;-webkit-box-shadow:0px 2px 5px 0px rgba(0,0,0,.08);box-shadow:0 2px 5px #00000014;border-radius:6px;opacity:1;margin:10px}.layout-breadcrumb-seting-bar .layout-drawer-content-flex .layout-drawer-content-item .el-container[data-v-f9d6ba4c]{height:100%}.layout-breadcrumb-seting-bar .layout-drawer-content-flex .layout-drawer-content-item .el-container .el-aside-dark[data-v-f9d6ba4c]{opacity:.5;background-color:var(--prev-tag-active-color);border-radius:2px}.layout-breadcrumb-seting-bar .layout-drawer-content-flex .layout-drawer-content-item .el-container .el-aside[data-v-f9d6ba4c]{background-color:var(--prev-tag-active-color);border-radius:2px}.layout-breadcrumb-seting-bar .layout-drawer-content-flex .layout-drawer-content-item .el-container .el-header[data-v-f9d6ba4c]{border-radius:2px;background-color:var(--prev-color-seting-header)}.layout-breadcrumb-seting-bar .layout-drawer-content-flex .layout-drawer-content-item .el-container .el-main[data-v-f9d6ba4c]{border-radius:2px;border:1px dashed var(--prev-color-primary);padding:0;background-color:var(--prev-color-seting-main)}.layout-breadcrumb-seting-bar .layout-drawer-content-flex .layout-drawer-content-item .el-circular[data-v-f9d6ba4c]{border-radius:2px;overflow:hidden;border:1px solid transparent;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.layout-breadcrumb-seting-bar .layout-drawer-content-flex .layout-drawer-content-item .layout-tips-warp[data-v-f9d6ba4c],.layout-breadcrumb-seting-bar .layout-drawer-content-flex .layout-drawer-content-item .layout-tips-warp-active[data-v-f9d6ba4c]{-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out;position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);border:1px solid;border-color:var(--prev-color-primary-light-5);border-radius:100%;padding:4px}.layout-breadcrumb-seting-bar .layout-drawer-content-flex .layout-drawer-content-item .layout-tips-warp .layout-tips-box[data-v-f9d6ba4c],.layout-breadcrumb-seting-bar .layout-drawer-content-flex .layout-drawer-content-item .layout-tips-warp-active .layout-tips-box[data-v-f9d6ba4c]{-webkit-transition:inherit;transition:inherit;width:30px;height:30px;z-index:9;border:1px solid;border-color:var(--prev-color-primary-light-5);border-radius:100%}.layout-breadcrumb-seting-bar .layout-drawer-content-flex .layout-drawer-content-item .layout-tips-warp .layout-tips-box .layout-tips-txt[data-v-f9d6ba4c],.layout-breadcrumb-seting-bar .layout-drawer-content-flex .layout-drawer-content-item .layout-tips-warp-active .layout-tips-box .layout-tips-txt[data-v-f9d6ba4c]{-webkit-transition:inherit;transition:inherit;position:relative;top:5px;font-size:12px;line-height:1;letter-spacing:2px;white-space:nowrap;color:var(--prev-color-primary-light-5);text-align:center;-webkit-transform:rotate(30deg);transform:rotate(30deg);left:-1px;background-color:var(--prev-color-seting-main);width:32px;height:17px;line-height:17px}.layout-breadcrumb-seting-bar .layout-drawer-content-flex .layout-drawer-content-item .layout-tips-warp-active[data-v-f9d6ba4c],.layout-breadcrumb-seting-bar .layout-drawer-content-flex .layout-drawer-content-item .layout-tips-warp-active .layout-tips-box[data-v-f9d6ba4c]{border:1px solid;border-color:var(--prev-color-primary)}.layout-breadcrumb-seting-bar .layout-drawer-content-flex .layout-drawer-content-item .layout-tips-warp-active .layout-tips-box .layout-tips-txt[data-v-f9d6ba4c]{color:var(--prev-color-primary)!important;background-color:var(--prev-color-seting-main)!important}.layout-breadcrumb-seting-bar .layout-drawer-content-flex .layout-drawer-content-item:hover .layout-tips-warp[data-v-f9d6ba4c]{-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out;border-color:var(--prev-color-primary)}.layout-breadcrumb-seting-bar .layout-drawer-content-flex .layout-drawer-content-item:hover .layout-tips-warp .layout-tips-box[data-v-f9d6ba4c]{-webkit-transition:inherit;transition:inherit;border-color:var(--prev-color-primary)}.layout-breadcrumb-seting-bar .layout-drawer-content-flex .layout-drawer-content-item:hover .layout-tips-warp .layout-tips-box .layout-tips-txt[data-v-f9d6ba4c]{-webkit-transition:inherit;transition:inherit;color:var(--prev-color-primary)!important;background-color:var(--prev-color-seting-main)!important}.layout-breadcrumb-seting-bar .copy-config[data-v-f9d6ba4c]{margin:10px 0}.layout-breadcrumb-seting-bar .copy-config .copy-config-btn[data-v-f9d6ba4c]{width:100%;margin-top:15px}.layout-breadcrumb-seting-bar .copy-config .copy-config-btn-reset[data-v-f9d6ba4c]{width:100%;margin:10px 0 0}.icon{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}html,body{width:100%;height:100%;overflow:hidden;margin:0;padding:0}#app{width:100%;height:100%;font-family:PingFang SC,Arial,Microsoft YaHei,sans-serif}.right-box .ivu-color-picker .ivu-select-dropdown{position:absolute;left:-73px!important}.el-icon-arrow-down{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M831.872%20340.864%20512%20652.672%20192.128%20340.864a30.59%2030.59%200%200%200-42.752%200%2029.12%2029.12%200%200%200%200%2041.6L489.664%20714.24a32%2032%200%200%200%2044.672%200l340.288-331.712a29.12%2029.12%200%200%200%200-41.728%2030.59%2030.59%200%200%200-42.752%200z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M831.872%20340.864%20512%20652.672%20192.128%20340.864a30.59%2030.59%200%200%200-42.752%200%2029.12%2029.12%200%200%200%200%2041.6L489.664%20714.24a32%2032%200%200%200%2044.672%200l340.288-331.712a29.12%2029.12%200%200%200%200-41.728%2030.59%2030.59%200%200%200-42.752%200z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-arrow-left{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M609.408%20149.376%20277.76%20489.6a32%2032%200%200%200%200%2044.672l331.648%20340.352a29.12%2029.12%200%200%200%2041.728%200%2030.59%2030.59%200%200%200%200-42.752L339.264%20511.936l311.872-319.872a30.59%2030.59%200%200%200%200-42.688%2029.12%2029.12%200%200%200-41.728%200%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M609.408%20149.376%20277.76%20489.6a32%2032%200%200%200%200%2044.672l331.648%20340.352a29.12%2029.12%200%200%200%2041.728%200%2030.59%2030.59%200%200%200%200-42.752L339.264%20511.936l311.872-319.872a30.59%2030.59%200%200%200%200-42.688%2029.12%2029.12%200%200%200-41.728%200%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-arrow-right{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M340.864%20149.312a30.59%2030.59%200%200%200%200%2042.752L652.736%20512%20340.864%20831.872a30.59%2030.59%200%200%200%200%2042.752%2029.12%2029.12%200%200%200%2041.728%200L714.24%20534.336a32%2032%200%200%200%200-44.672L382.592%20149.376a29.12%2029.12%200%200%200-41.728%200z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M340.864%20149.312a30.59%2030.59%200%200%200%200%2042.752L652.736%20512%20340.864%20831.872a30.59%2030.59%200%200%200%200%2042.752%2029.12%2029.12%200%200%200%2041.728%200L714.24%20534.336a32%2032%200%200%200%200-44.672L382.592%20149.376a29.12%2029.12%200%200%200-41.728%200z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-arrow-up{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m488.832%20344.32-339.84%20356.672a32%2032%200%200%200%200%2044.16l.384.384a29.44%2029.44%200%200%200%2042.688%200l320-335.872%20319.872%20335.872a29.44%2029.44%200%200%200%2042.688%200l.384-.384a32%2032%200%200%200%200-44.16L535.168%20344.32a32%2032%200%200%200-46.336%200%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m488.832%20344.32-339.84%20356.672a32%2032%200%200%200%200%2044.16l.384.384a29.44%2029.44%200%200%200%2042.688%200l320-335.872%20319.872%20335.872a29.44%2029.44%200%200%200%2042.688%200l.384-.384a32%2032%200%200%200%200-44.16L535.168%20344.32a32%2032%200%200%200-46.336%200%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-back{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M224%20480h640a32%2032%200%201%201%200%2064H224a32%2032%200%200%201%200-64%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m237.248%20512%20265.408%20265.344a32%2032%200%200%201-45.312%2045.312l-288-288a32%2032%200%200%201%200-45.312l288-288a32%2032%200%201%201%2045.312%2045.312z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M224%20480h640a32%2032%200%201%201%200%2064H224a32%2032%200%200%201%200-64%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m237.248%20512%20265.408%20265.344a32%2032%200%200%201-45.312%2045.312l-288-288a32%2032%200%200%201%200-45.312l288-288a32%2032%200%201%201%2045.312%2045.312z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-bell{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%2064a64%2064%200%200%201%2064%2064v64H448v-64a64%2064%200%200%201%2064-64%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M256%20768h512V448a256%20256%200%201%200-512%200zm256-640a320%20320%200%200%201%20320%20320v384H192V448a320%20320%200%200%201%20320-320%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M96%20768h832q32%200%2032%2032t-32%2032H96q-32%200-32-32t32-32m352%20128h128a64%2064%200%200%201-128%200%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%2064a64%2064%200%200%201%2064%2064v64H448v-64a64%2064%200%200%201%2064-64%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M256%20768h512V448a256%20256%200%201%200-512%200zm256-640a320%20320%200%200%201%20320%20320v384H192V448a320%20320%200%200%201%20320-320%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M96%20768h832q32%200%2032%2032t-32%2032H96q-32%200-32-32t32-32m352%20128h128a64%2064%200%200%201-128%200%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-box{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M317.056%20128%20128%20344.064V896h768V344.064L706.944%20128zm-14.528-64h418.944a32%2032%200%200%201%2024.064%2010.88l206.528%20236.096A32%2032%200%200%201%20960%20332.032V928a32%2032%200%200%201-32%2032H96a32%2032%200%200%201-32-32V332.032a32%2032%200%200%201%207.936-21.12L278.4%2075.008A32%2032%200%200%201%20302.528%2064%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M64%20320h896v64H64z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M448%20327.872V640h128V327.872L526.08%20128h-28.16zM448%2064h128l64%20256v352a32%2032%200%200%201-32%2032H416a32%2032%200%200%201-32-32V320z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M317.056%20128%20128%20344.064V896h768V344.064L706.944%20128zm-14.528-64h418.944a32%2032%200%200%201%2024.064%2010.88l206.528%20236.096A32%2032%200%200%201%20960%20332.032V928a32%2032%200%200%201-32%2032H96a32%2032%200%200%201-32-32V332.032a32%2032%200%200%201%207.936-21.12L278.4%2075.008A32%2032%200%200%201%20302.528%2064%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M64%20320h896v64H64z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M448%20327.872V640h128V327.872L526.08%20128h-28.16zM448%2064h128l64%20256v352a32%2032%200%200%201-32%2032H416a32%2032%200%200%201-32-32V320z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-c-scale-to-original{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M813.176%20180.706a60.235%2060.235%200%200%201%2060.236%2060.235v481.883a60.235%2060.235%200%200%201-60.236%2060.235H210.824a60.235%2060.235%200%200%201-60.236-60.235V240.94a60.235%2060.235%200%200%201%2060.236-60.235h602.352zm0-60.235H210.824A120.47%20120.47%200%200%200%2090.353%20240.94v481.883a120.47%20120.47%200%200%200%20120.47%20120.47h602.353a120.47%20120.47%200%200%200%20120.471-120.47V240.94a120.47%20120.47%200%200%200-120.47-120.47zm-120.47%20180.705a30.12%2030.12%200%200%200-30.118%2030.118v301.177a30.118%2030.118%200%200%200%2060.236%200V331.294a30.12%2030.12%200%200%200-30.118-30.118m-361.412%200a30.12%2030.12%200%200%200-30.118%2030.118v301.177a30.118%2030.118%200%201%200%2060.236%200V331.294a30.12%2030.12%200%200%200-30.118-30.118M512%20361.412a30.12%2030.12%200%200%200-30.118%2030.117v30.118a30.118%2030.118%200%200%200%2060.236%200V391.53A30.12%2030.12%200%200%200%20512%20361.412M512%20512a30.12%2030.12%200%200%200-30.118%2030.118v30.117a30.118%2030.118%200%200%200%2060.236%200v-30.117A30.12%2030.12%200%200%200%20512%20512%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M813.176%20180.706a60.235%2060.235%200%200%201%2060.236%2060.235v481.883a60.235%2060.235%200%200%201-60.236%2060.235H210.824a60.235%2060.235%200%200%201-60.236-60.235V240.94a60.235%2060.235%200%200%201%2060.236-60.235h602.352zm0-60.235H210.824A120.47%20120.47%200%200%200%2090.353%20240.94v481.883a120.47%20120.47%200%200%200%20120.47%20120.47h602.353a120.47%20120.47%200%200%200%20120.471-120.47V240.94a120.47%20120.47%200%200%200-120.47-120.47zm-120.47%20180.705a30.12%2030.12%200%200%200-30.118%2030.118v301.177a30.118%2030.118%200%200%200%2060.236%200V331.294a30.12%2030.12%200%200%200-30.118-30.118m-361.412%200a30.12%2030.12%200%200%200-30.118%2030.118v301.177a30.118%2030.118%200%201%200%2060.236%200V331.294a30.12%2030.12%200%200%200-30.118-30.118M512%20361.412a30.12%2030.12%200%200%200-30.118%2030.117v30.118a30.118%2030.118%200%200%200%2060.236%200V391.53A30.12%2030.12%200%200%200%20512%20361.412M512%20512a30.12%2030.12%200%200%200-30.118%2030.118v30.117a30.118%2030.118%200%200%200%2060.236%200v-30.117A30.12%2030.12%200%200%200%20512%20512%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-camera{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M896%20256H128v576h768zm-199.424-64-32.064-64h-304.96l-32%2064zM96%20192h160l46.336-92.608A64%2064%200%200%201%20359.552%2064h304.96a64%2064%200%200%201%2057.216%2035.328L768.192%20192H928a32%2032%200%200%201%2032%2032v640a32%2032%200%200%201-32%2032H96a32%2032%200%200%201-32-32V224a32%2032%200%200%201%2032-32m416%20512a160%20160%200%201%200%200-320%20160%20160%200%200%200%200%20320m0%2064a224%20224%200%201%201%200-448%20224%20224%200%200%201%200%20448%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M896%20256H128v576h768zm-199.424-64-32.064-64h-304.96l-32%2064zM96%20192h160l46.336-92.608A64%2064%200%200%201%20359.552%2064h304.96a64%2064%200%200%201%2057.216%2035.328L768.192%20192H928a32%2032%200%200%201%2032%2032v640a32%2032%200%200%201-32%2032H96a32%2032%200%200%201-32-32V224a32%2032%200%200%201%2032-32m416%20512a160%20160%200%201%200%200-320%20160%20160%200%200%200%200%20320m0%2064a224%20224%200%201%201%200-448%20224%20224%200%200%201%200%20448%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-camera-solid{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M160%20224a64%2064%200%200%200-64%2064v512a64%2064%200%200%200%2064%2064h704a64%2064%200%200%200%2064-64V288a64%2064%200%200%200-64-64H748.416l-46.464-92.672A64%2064%200%200%200%20644.736%2096H379.328a64%2064%200%200%200-57.216%2035.392L275.776%20224zm352%20435.2a115.2%20115.2%200%201%200%200-230.4%20115.2%20115.2%200%200%200%200%20230.4m0%20140.8a256%20256%200%201%201%200-512%20256%20256%200%200%201%200%20512%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M160%20224a64%2064%200%200%200-64%2064v512a64%2064%200%200%200%2064%2064h704a64%2064%200%200%200%2064-64V288a64%2064%200%200%200-64-64H748.416l-46.464-92.672A64%2064%200%200%200%20644.736%2096H379.328a64%2064%200%200%200-57.216%2035.392L275.776%20224zm352%20435.2a115.2%20115.2%200%201%200%200-230.4%20115.2%20115.2%200%200%200%200%20230.4m0%20140.8a256%20256%200%201%201%200-512%20256%20256%200%200%201%200%20512%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-caret-bottom{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m192%20384%20320%20384%20320-384z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m192%20384%20320%20384%20320-384z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-caret-top{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20320%20192%20704h639.936z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20320%20192%20704h639.936z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-check{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M406.656%20706.944%20195.84%20496.256a32%2032%200%201%200-45.248%2045.248l256%20256%20512-512a32%2032%200%200%200-45.248-45.248L406.592%20706.944z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M406.656%20706.944%20195.84%20496.256a32%2032%200%201%200-45.248%2045.248l256%20256%20512-512a32%2032%200%200%200-45.248-45.248L406.592%20706.944z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-check-circle{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M745.344%20361.344a32%2032%200%200%201%2045.312%2045.312l-288%20288a32%2032%200%200%201-45.312%200l-160-160a32%2032%200%201%201%2045.312-45.312L480%20626.752z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M745.344%20361.344a32%2032%200%200%201%2045.312%2045.312l-288%20288a32%2032%200%200%201-45.312%200l-160-160a32%2032%200%201%201%2045.312-45.312L480%20626.752z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-circle-check{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M745.344%20361.344a32%2032%200%200%201%2045.312%2045.312l-288%20288a32%2032%200%200%201-45.312%200l-160-160a32%2032%200%201%201%2045.312-45.312L480%20626.752z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M745.344%20361.344a32%2032%200%200%201%2045.312%2045.312l-288%20288a32%2032%200%200%201-45.312%200l-160-160a32%2032%200%201%201%2045.312-45.312L480%20626.752z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-circle-close{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m466.752%20512-90.496-90.496a32%2032%200%200%201%2045.248-45.248L512%20466.752l90.496-90.496a32%2032%200%201%201%2045.248%2045.248L557.248%20512l90.496%2090.496a32%2032%200%201%201-45.248%2045.248L512%20557.248l-90.496%2090.496a32%2032%200%200%201-45.248-45.248z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m466.752%20512-90.496-90.496a32%2032%200%200%201%2045.248-45.248L512%20466.752l90.496-90.496a32%2032%200%201%201%2045.248%2045.248L557.248%20512l90.496%2090.496a32%2032%200%201%201-45.248%2045.248L512%20557.248l-90.496%2090.496a32%2032%200%200%201-45.248-45.248z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-circle-plus{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M352%20480h320a32%2032%200%201%201%200%2064H352a32%2032%200%200%201%200-64%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M480%20672V352a32%2032%200%201%201%2064%200v320a32%2032%200%200%201-64%200%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M352%20480h320a32%2032%200%201%201%200%2064H352a32%2032%200%200%201%200-64%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M480%20672V352a32%2032%200%201%201%2064%200v320a32%2032%200%200%201-64%200%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-circle-plus-outline{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M352%20480h320a32%2032%200%201%201%200%2064H352a32%2032%200%200%201%200-64%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M480%20672V352a32%2032%200%201%201%2064%200v320a32%2032%200%200%201-64%200%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M352%20480h320a32%2032%200%201%201%200%2064H352a32%2032%200%200%201%200-64%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M480%20672V352a32%2032%200%201%201%2064%200v320a32%2032%200%200%201-64%200%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-clock{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M480%20256a32%2032%200%200%201%2032%2032v256a32%2032%200%200%201-64%200V288a32%2032%200%200%201%2032-32%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M480%20512h256q32%200%2032%2032t-32%2032H480q-32%200-32-32t32-32%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M480%20256a32%2032%200%200%201%2032%2032v256a32%2032%200%200%201-64%200V288a32%2032%200%200%201%2032-32%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M480%20512h256q32%200%2032%2032t-32%2032H480q-32%200-32-32t32-32%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-close{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M764.288%20214.592%20512%20466.88%20259.712%20214.592a31.936%2031.936%200%200%200-45.12%2045.12L466.752%20512%20214.528%20764.224a31.936%2031.936%200%201%200%2045.12%2045.184L512%20557.184l252.288%20252.288a31.936%2031.936%200%200%200%2045.12-45.12L557.12%20512.064l252.288-252.352a31.936%2031.936%200%201%200-45.12-45.184z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M764.288%20214.592%20512%20466.88%20259.712%20214.592a31.936%2031.936%200%200%200-45.12%2045.12L466.752%20512%20214.528%20764.224a31.936%2031.936%200%201%200%2045.12%2045.184L512%20557.184l252.288%20252.288a31.936%2031.936%200%200%200%2045.12-45.12L557.12%20512.064l252.288-252.352a31.936%2031.936%200%201%200-45.12-45.184z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-collection-tag{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M256%20128v698.88l196.032-156.864a96%2096%200%200%201%20119.936%200L768%20826.816V128zm-32-64h576a32%2032%200%200%201%2032%2032v797.44a32%2032%200%200%201-51.968%2024.96L531.968%20720a32%2032%200%200%200-39.936%200L243.968%20918.4A32%2032%200%200%201%20192%20893.44V96a32%2032%200%200%201%2032-32%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M256%20128v698.88l196.032-156.864a96%2096%200%200%201%20119.936%200L768%20826.816V128zm-32-64h576a32%2032%200%200%201%2032%2032v797.44a32%2032%200%200%201-51.968%2024.96L531.968%20720a32%2032%200%200%200-39.936%200L243.968%20918.4A32%2032%200%200%201%20192%20893.44V96a32%2032%200%200%201%2032-32%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-connection{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M640%20384v64H448a128%20128%200%200%200-128%20128v128a128%20128%200%200%200%20128%20128h320a128%20128%200%200%200%20128-128V576a128%20128%200%200%200-64-110.848V394.88c74.56%2026.368%20128%2097.472%20128%20181.056v128a192%20192%200%200%201-192%20192H448a192%20192%200%200%201-192-192V576a192%20192%200%200%201%20192-192z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M384%20640v-64h192a128%20128%200%200%200%20128-128V320a128%20128%200%200%200-128-128H256a128%20128%200%200%200-128%20128v128a128%20128%200%200%200%2064%20110.848v70.272A192.06%20192.06%200%200%201%2064%20448V320a192%20192%200%200%201%20192-192h320a192%20192%200%200%201%20192%20192v128a192%20192%200%200%201-192%20192z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M640%20384v64H448a128%20128%200%200%200-128%20128v128a128%20128%200%200%200%20128%20128h320a128%20128%200%200%200%20128-128V576a128%20128%200%200%200-64-110.848V394.88c74.56%2026.368%20128%2097.472%20128%20181.056v128a192%20192%200%200%201-192%20192H448a192%20192%200%200%201-192-192V576a192%20192%200%200%201%20192-192z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M384%20640v-64h192a128%20128%200%200%200%20128-128V320a128%20128%200%200%200-128-128H256a128%20128%200%200%200-128%20128v128a128%20128%200%200%200%2064%20110.848v70.272A192.06%20192.06%200%200%201%2064%20448V320a192%20192%200%200%201%20192-192h320a192%20192%200%200%201%20192%20192v128a192%20192%200%200%201-192%20192z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-cpu{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M320%20256a64%2064%200%200%200-64%2064v384a64%2064%200%200%200%2064%2064h384a64%2064%200%200%200%2064-64V320a64%2064%200%200%200-64-64zm0-64h384a128%20128%200%200%201%20128%20128v384a128%20128%200%200%201-128%20128H320a128%20128%200%200%201-128-128V320a128%20128%200%200%201%20128-128%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%2064a32%2032%200%200%201%2032%2032v128h-64V96a32%2032%200%200%201%2032-32m160%200a32%2032%200%200%201%2032%2032v128h-64V96a32%2032%200%200%201%2032-32m-320%200a32%2032%200%200%201%2032%2032v128h-64V96a32%2032%200%200%201%2032-32m160%20896a32%2032%200%200%201-32-32V800h64v128a32%2032%200%200%201-32%2032m160%200a32%2032%200%200%201-32-32V800h64v128a32%2032%200%200%201-32%2032m-320%200a32%2032%200%200%201-32-32V800h64v128a32%2032%200%200%201-32%2032M64%20512a32%2032%200%200%201%2032-32h128v64H96a32%2032%200%200%201-32-32m0-160a32%2032%200%200%201%2032-32h128v64H96a32%2032%200%200%201-32-32m0%20320a32%2032%200%200%201%2032-32h128v64H96a32%2032%200%200%201-32-32m896-160a32%2032%200%200%201-32%2032H800v-64h128a32%2032%200%200%201%2032%2032m0-160a32%2032%200%200%201-32%2032H800v-64h128a32%2032%200%200%201%2032%2032m0%20320a32%2032%200%200%201-32%2032H800v-64h128a32%2032%200%200%201%2032%2032%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M320%20256a64%2064%200%200%200-64%2064v384a64%2064%200%200%200%2064%2064h384a64%2064%200%200%200%2064-64V320a64%2064%200%200%200-64-64zm0-64h384a128%20128%200%200%201%20128%20128v384a128%20128%200%200%201-128%20128H320a128%20128%200%200%201-128-128V320a128%20128%200%200%201%20128-128%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%2064a32%2032%200%200%201%2032%2032v128h-64V96a32%2032%200%200%201%2032-32m160%200a32%2032%200%200%201%2032%2032v128h-64V96a32%2032%200%200%201%2032-32m-320%200a32%2032%200%200%201%2032%2032v128h-64V96a32%2032%200%200%201%2032-32m160%20896a32%2032%200%200%201-32-32V800h64v128a32%2032%200%200%201-32%2032m160%200a32%2032%200%200%201-32-32V800h64v128a32%2032%200%200%201-32%2032m-320%200a32%2032%200%200%201-32-32V800h64v128a32%2032%200%200%201-32%2032M64%20512a32%2032%200%200%201%2032-32h128v64H96a32%2032%200%200%201-32-32m0-160a32%2032%200%200%201%2032-32h128v64H96a32%2032%200%200%201-32-32m0%20320a32%2032%200%200%201%2032-32h128v64H96a32%2032%200%200%201-32-32m896-160a32%2032%200%200%201-32%2032H800v-64h128a32%2032%200%200%201%2032%2032m0-160a32%2032%200%200%201-32%2032H800v-64h128a32%2032%200%200%201%2032%2032m0%20320a32%2032%200%200%201-32%2032H800v-64h128a32%2032%200%200%201%2032%2032%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-crop{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M256%20768h672a32%2032%200%201%201%200%2064H224a32%2032%200%200%201-32-32V96a32%2032%200%200%201%2064%200z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M832%20224v704a32%2032%200%201%201-64%200V256H96a32%2032%200%200%201%200-64h704a32%2032%200%200%201%2032%2032%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M256%20768h672a32%2032%200%201%201%200%2064H224a32%2032%200%200%201-32-32V96a32%2032%200%200%201%2064%200z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M832%20224v704a32%2032%200%201%201-64%200V256H96a32%2032%200%200%201%200-64h704a32%2032%200%200%201%2032%2032%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-d-arrow-left{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M529.408%20149.376a29.12%2029.12%200%200%201%2041.728%200%2030.59%2030.59%200%200%201%200%2042.688L259.264%20511.936l311.872%20319.936a30.59%2030.59%200%200%201-.512%2043.264%2029.12%2029.12%200%200%201-41.216-.512L197.76%20534.272a32%2032%200%200%201%200-44.672zm256%200a29.12%2029.12%200%200%201%2041.728%200%2030.59%2030.59%200%200%201%200%2042.688L515.264%20511.936l311.872%20319.936a30.59%2030.59%200%200%201-.512%2043.264%2029.12%2029.12%200%200%201-41.216-.512L453.76%20534.272a32%2032%200%200%201%200-44.672z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M529.408%20149.376a29.12%2029.12%200%200%201%2041.728%200%2030.59%2030.59%200%200%201%200%2042.688L259.264%20511.936l311.872%20319.936a30.59%2030.59%200%200%201-.512%2043.264%2029.12%2029.12%200%200%201-41.216-.512L197.76%20534.272a32%2032%200%200%201%200-44.672zm256%200a29.12%2029.12%200%200%201%2041.728%200%2030.59%2030.59%200%200%201%200%2042.688L515.264%20511.936l311.872%20319.936a30.59%2030.59%200%200%201-.512%2043.264%2029.12%2029.12%200%200%201-41.216-.512L453.76%20534.272a32%2032%200%200%201%200-44.672z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-d-arrow-right{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M452.864%20149.312a29.12%2029.12%200%200%201%2041.728.064L826.24%20489.664a32%2032%200%200%201%200%2044.672L494.592%20874.624a29.12%2029.12%200%200%201-41.728%200%2030.59%2030.59%200%200%201%200-42.752L764.736%20512%20452.864%20192a30.59%2030.59%200%200%201%200-42.688m-256%200a29.12%2029.12%200%200%201%2041.728.064L570.24%20489.664a32%2032%200%200%201%200%2044.672L238.592%20874.624a29.12%2029.12%200%200%201-41.728%200%2030.59%2030.59%200%200%201%200-42.752L508.736%20512%20196.864%20192a30.59%2030.59%200%200%201%200-42.688%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M452.864%20149.312a29.12%2029.12%200%200%201%2041.728.064L826.24%20489.664a32%2032%200%200%201%200%2044.672L494.592%20874.624a29.12%2029.12%200%200%201-41.728%200%2030.59%2030.59%200%200%201%200-42.752L764.736%20512%20452.864%20192a30.59%2030.59%200%200%201%200-42.688m-256%200a29.12%2029.12%200%200%201%2041.728.064L570.24%20489.664a32%2032%200%200%201%200%2044.672L238.592%20874.624a29.12%2029.12%200%200%201-41.728%200%2030.59%2030.59%200%200%201%200-42.752L508.736%20512%20196.864%20192a30.59%2030.59%200%200%201%200-42.688%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-delete{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M160%20256H96a32%2032%200%200%201%200-64h256V95.936a32%2032%200%200%201%2032-32h256a32%2032%200%200%201%2032%2032V192h256a32%2032%200%201%201%200%2064h-64v672a32%2032%200%200%201-32%2032H192a32%2032%200%200%201-32-32zm448-64v-64H416v64zM224%20896h576V256H224zm192-128a32%2032%200%200%201-32-32V416a32%2032%200%200%201%2064%200v320a32%2032%200%200%201-32%2032m192%200a32%2032%200%200%201-32-32V416a32%2032%200%200%201%2064%200v320a32%2032%200%200%201-32%2032%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M160%20256H96a32%2032%200%200%201%200-64h256V95.936a32%2032%200%200%201%2032-32h256a32%2032%200%200%201%2032%2032V192h256a32%2032%200%201%201%200%2064h-64v672a32%2032%200%200%201-32%2032H192a32%2032%200%200%201-32-32zm448-64v-64H416v64zM224%20896h576V256H224zm192-128a32%2032%200%200%201-32-32V416a32%2032%200%200%201%2064%200v320a32%2032%200%200%201-32%2032m192%200a32%2032%200%200%201-32-32V416a32%2032%200%200%201%2064%200v320a32%2032%200%200%201-32%2032%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-delete-solid{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M352%20192V95.936a32%2032%200%200%201%2032-32h256a32%2032%200%200%201%2032%2032V192h256a32%2032%200%201%201%200%2064H96a32%2032%200%200%201%200-64zm64%200h192v-64H416zM192%20960a32%2032%200%200%201-32-32V256h704v672a32%2032%200%200%201-32%2032zm224-192a32%2032%200%200%200%2032-32V416a32%2032%200%200%200-64%200v320a32%2032%200%200%200%2032%2032m192%200a32%2032%200%200%200%2032-32V416a32%2032%200%200%200-64%200v320a32%2032%200%200%200%2032%2032%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M352%20192V95.936a32%2032%200%200%201%2032-32h256a32%2032%200%200%201%2032%2032V192h256a32%2032%200%201%201%200%2064H96a32%2032%200%200%201%200-64zm64%200h192v-64H416zM192%20960a32%2032%200%200%201-32-32V256h704v672a32%2032%200%200%201-32%2032zm224-192a32%2032%200%200%200%2032-32V416a32%2032%200%200%200-64%200v320a32%2032%200%200%200%2032%2032m192%200a32%2032%200%200%200%2032-32V416a32%2032%200%200%200-64%200v320a32%2032%200%200%200%2032%2032%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-document{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M832%20384H576V128H192v768h640zm-26.496-64L640%20154.496V320zM160%2064h480l256%20256v608a32%2032%200%200%201-32%2032H160a32%2032%200%200%201-32-32V96a32%2032%200%200%201%2032-32m160%20448h384v64H320zm0-192h160v64H320zm0%20384h384v64H320z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M832%20384H576V128H192v768h640zm-26.496-64L640%20154.496V320zM160%2064h480l256%20256v608a32%2032%200%200%201-32%2032H160a32%2032%200%200%201-32-32V96a32%2032%200%200%201%2032-32m160%20448h384v64H320zm0-192h160v64H320zm0%20384h384v64H320z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-document-copy{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M128%20320v576h576V320zm-32-64h640a32%2032%200%200%201%2032%2032v640a32%2032%200%200%201-32%2032H96a32%2032%200%200%201-32-32V288a32%2032%200%200%201%2032-32M960%2096v704a32%2032%200%200%201-32%2032h-96v-64h64V128H384v64h-64V96a32%2032%200%200%201%2032-32h576a32%2032%200%200%201%2032%2032M256%20672h320v64H256zm0-192h320v64H256z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M128%20320v576h576V320zm-32-64h640a32%2032%200%200%201%2032%2032v640a32%2032%200%200%201-32%2032H96a32%2032%200%200%201-32-32V288a32%2032%200%200%201%2032-32M960%2096v704a32%2032%200%200%201-32%2032h-96v-64h64V128H384v64h-64V96a32%2032%200%200%201%2032-32h576a32%2032%200%200%201%2032%2032M256%20672h320v64H256zm0-192h320v64H256z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-download{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M160%20832h704a32%2032%200%201%201%200%2064H160a32%2032%200%201%201%200-64m384-253.696%20236.288-236.352%2045.248%2045.248L508.8%20704%20192%20387.2l45.248-45.248L480%20584.704V128h64z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M160%20832h704a32%2032%200%201%201%200%2064H160a32%2032%200%201%201%200-64m384-253.696%20236.288-236.352%2045.248%2045.248L508.8%20704%20192%20387.2l45.248-45.248L480%20584.704V128h64z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-edit{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M832%20512a32%2032%200%201%201%2064%200v352a32%2032%200%200%201-32%2032H160a32%2032%200%200%201-32-32V160a32%2032%200%200%201%2032-32h352a32%2032%200%200%201%200%2064H192v640h640z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m469.952%20554.24%2052.8-7.552L847.104%20222.4a32%2032%200%201%200-45.248-45.248L477.44%20501.44l-7.552%2052.8zm422.4-422.4a96%2096%200%200%201%200%20135.808l-331.84%20331.84a32%2032%200%200%201-18.112%209.088L436.8%20623.68a32%2032%200%200%201-36.224-36.224l15.104-105.6a32%2032%200%200%201%209.024-18.112l331.904-331.84a96%2096%200%200%201%20135.744%200z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M832%20512a32%2032%200%201%201%2064%200v352a32%2032%200%200%201-32%2032H160a32%2032%200%200%201-32-32V160a32%2032%200%200%201%2032-32h352a32%2032%200%200%201%200%2064H192v640h640z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m469.952%20554.24%2052.8-7.552L847.104%20222.4a32%2032%200%201%200-45.248-45.248L477.44%20501.44l-7.552%2052.8zm422.4-422.4a96%2096%200%200%201%200%20135.808l-331.84%20331.84a32%2032%200%200%201-18.112%209.088L436.8%20623.68a32%2032%200%200%201-36.224-36.224l15.104-105.6a32%2032%200%200%201%209.024-18.112l331.904-331.84a96%2096%200%200%201%20135.744%200z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-edit-outline{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m199.04%20672.64%20193.984%20112%20224-387.968-193.92-112-224%20388.032zm-23.872%2060.16%2032.896%20148.288%20144.896-45.696zM455.04%20229.248l193.92%20112%2056.704-98.112-193.984-112zM104.32%20708.8l384-665.024%20304.768%20175.936L409.152%20884.8h.064l-248.448%2078.336zm384%20254.272v-64h448v64z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m199.04%20672.64%20193.984%20112%20224-387.968-193.92-112-224%20388.032zm-23.872%2060.16%2032.896%20148.288%20144.896-45.696zM455.04%20229.248l193.92%20112%2056.704-98.112-193.984-112zM104.32%20708.8l384-665.024%20304.768%20175.936L409.152%20884.8h.064l-248.448%2078.336zm384%20254.272v-64h448v64z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-error{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%2064a448%20448%200%201%201%200%20896%20448%20448%200%200%201%200-896m0%20393.664L407.936%20353.6a38.4%2038.4%200%201%200-54.336%2054.336L457.664%20512%20353.6%20616.064a38.4%2038.4%200%201%200%2054.336%2054.336L512%20566.336%20616.064%20670.4a38.4%2038.4%200%201%200%2054.336-54.336L566.336%20512%20670.4%20407.936a38.4%2038.4%200%201%200-54.336-54.336z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%2064a448%20448%200%201%201%200%20896%20448%20448%200%200%201%200-896m0%20393.664L407.936%20353.6a38.4%2038.4%200%201%200-54.336%2054.336L457.664%20512%20353.6%20616.064a38.4%2038.4%200%201%200%2054.336%2054.336L512%20566.336%20616.064%20670.4a38.4%2038.4%200%201%200%2054.336-54.336L566.336%20512%20670.4%20407.936a38.4%2038.4%200%201%200-54.336-54.336z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-fa{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M176%20416a112%20112%200%201%200%200%20224%20112%20112%200%200%200%200-224m0%2064a48%2048%200%201%201%200%2096%2048%2048%200%200%201%200-96m336-64a112%20112%200%201%201%200%20224%20112%20112%200%200%201%200-224m0%2064a48%2048%200%201%200%200%2096%2048%2048%200%200%200%200-96m336-64a112%20112%200%201%201%200%20224%20112%20112%200%200%201%200-224m0%2064a48%2048%200%201%200%200%2096%2048%2048%200%200%200%200-96%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M176%20416a112%20112%200%201%200%200%20224%20112%20112%200%200%200%200-224m0%2064a48%2048%200%201%201%200%2096%2048%2048%200%200%201%200-96m336-64a112%20112%200%201%201%200%20224%20112%20112%200%200%201%200-224m0%2064a48%2048%200%201%200%200%2096%2048%2048%200%200%200%200-96m336-64a112%20112%200%201%201%200%20224%20112%20112%200%200%201%200-224m0%2064a48%2048%200%201%200%200%2096%2048%2048%200%200%200%200-96%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-female{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20640a256%20256%200%201%200%200-512%20256%20256%200%200%200%200%20512m0%2064a320%20320%200%201%201%200-640%20320%20320%200%200%201%200%20640%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20640q32%200%2032%2032v256q0%2032-32%2032t-32-32V672q0-32%2032-32%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M352%20800h320q32%200%2032%2032t-32%2032H352q-32%200-32-32t32-32%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20640a256%20256%200%201%200%200-512%20256%20256%200%200%200%200%20512m0%2064a320%20320%200%201%201%200-640%20320%20320%200%200%201%200%20640%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20640q32%200%2032%2032v256q0%2032-32%2032t-32-32V672q0-32%2032-32%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M352%20800h320q32%200%2032%2032t-32%2032H352q-32%200-32-32t32-32%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-files{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M128%20384v448h768V384zm-32-64h832a32%2032%200%200%201%2032%2032v512a32%2032%200%200%201-32%2032H96a32%2032%200%200%201-32-32V352a32%2032%200%200%201%2032-32m64-128h704v64H160zm96-128h512v64H256z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M128%20384v448h768V384zm-32-64h832a32%2032%200%200%201%2032%2032v512a32%2032%200%200%201-32%2032H96a32%2032%200%200%201-32-32V352a32%2032%200%200%201%2032-32m64-128h704v64H160zm96-128h512v64H256z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-folder{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M128%20192v640h768V320H485.76L357.504%20192zm-32-64h287.872l128.384%20128H928a32%2032%200%200%201%2032%2032v576a32%2032%200%200%201-32%2032H96a32%2032%200%200%201-32-32V160a32%2032%200%200%201%2032-32%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M128%20192v640h768V320H485.76L357.504%20192zm-32-64h287.872l128.384%20128H928a32%2032%200%200%201%2032%2032v576a32%2032%200%200%201-32%2032H96a32%2032%200%200%201-32-32V160a32%2032%200%200%201%2032-32%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-folder-delete{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M128%20192v640h768V320H485.76L357.504%20192zm-32-64h287.872l128.384%20128H928a32%2032%200%200%201%2032%2032v576a32%2032%200%200%201-32%2032H96a32%2032%200%200%201-32-32V160a32%2032%200%200%201%2032-32m370.752%20448-90.496-90.496%2045.248-45.248L512%20530.752l90.496-90.496%2045.248%2045.248L557.248%20576l90.496%2090.496-45.248%2045.248L512%20621.248l-90.496%2090.496-45.248-45.248z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M128%20192v640h768V320H485.76L357.504%20192zm-32-64h287.872l128.384%20128H928a32%2032%200%200%201%2032%2032v576a32%2032%200%200%201-32%2032H96a32%2032%200%200%201-32-32V160a32%2032%200%200%201%2032-32m370.752%20448-90.496-90.496%2045.248-45.248L512%20530.752l90.496-90.496%2045.248%2045.248L557.248%20576l90.496%2090.496-45.248%2045.248L512%20621.248l-90.496%2090.496-45.248-45.248z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-folder-opened{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M878.08%20448H241.92l-96%20384h636.16zM832%20384v-64H485.76L357.504%20192H128v448l57.92-231.744A32%2032%200%200%201%20216.96%20384zm-24.96%20512H96a32%2032%200%200%201-32-32V160a32%2032%200%200%201%2032-32h287.872l128.384%20128H864a32%2032%200%200%201%2032%2032v96h23.04a32%2032%200%200%201%2031.04%2039.744l-112%20448A32%2032%200%200%201%20807.04%20896%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M878.08%20448H241.92l-96%20384h636.16zM832%20384v-64H485.76L357.504%20192H128v448l57.92-231.744A32%2032%200%200%201%20216.96%20384zm-24.96%20512H96a32%2032%200%200%201-32-32V160a32%2032%200%200%201%2032-32h287.872l128.384%20128H864a32%2032%200%200%201%2032%2032v96h23.04a32%2032%200%200%201%2031.04%2039.744l-112%20448A32%2032%200%200%201%20807.04%20896%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-folder-remove{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M128%20192v640h768V320H485.76L357.504%20192zm-32-64h287.872l128.384%20128H928a32%2032%200%200%201%2032%2032v576a32%2032%200%200%201-32%2032H96a32%2032%200%200%201-32-32V160a32%2032%200%200%201%2032-32m256%20416h320v64H352z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M128%20192v640h768V320H485.76L357.504%20192zm-32-64h287.872l128.384%20128H928a32%2032%200%200%201%2032%2032v576a32%2032%200%200%201-32%2032H96a32%2032%200%200%201-32-32V160a32%2032%200%200%201%2032-32m256%20416h320v64H352z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-full-screen{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m160%2096.064%20192%20.192a32%2032%200%200%201%200%2064l-192-.192V352a32%2032%200%200%201-64%200V96h64zm0%20831.872V928H96V672a32%2032%200%201%201%2064%200v191.936l192-.192a32%2032%200%201%201%200%2064zM864%2096.064V96h64v256a32%2032%200%201%201-64%200V160.064l-192%20.192a32%2032%200%201%201%200-64zm0%20831.872-192-.192a32%2032%200%200%201%200-64l192%20.192V672a32%2032%200%201%201%2064%200v256h-64z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m160%2096.064%20192%20.192a32%2032%200%200%201%200%2064l-192-.192V352a32%2032%200%200%201-64%200V96h64zm0%20831.872V928H96V672a32%2032%200%201%201%2064%200v191.936l192-.192a32%2032%200%201%201%200%2064zM864%2096.064V96h64v256a32%2032%200%201%201-64%200V160.064l-192%20.192a32%2032%200%201%201%200-64zm0%20831.872-192-.192a32%2032%200%200%201%200-64l192%20.192V672a32%2032%200%201%201%2064%200v256h-64z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-goods{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M320%20288v-22.336C320%20154.688%20405.504%2064%20512%2064s192%2090.688%20192%20201.664v22.4h131.072a32%2032%200%200%201%2031.808%2028.8l57.6%20576a32%2032%200%200%201-31.808%2035.2H131.328a32%2032%200%200%201-31.808-35.2l57.6-576a32%2032%200%200%201%2031.808-28.8H320zm64%200h256v-22.336C640%20189.248%20582.272%20128%20512%20128s-128%2061.248-128%20137.664v22.4zm-64%2064H217.92l-51.2%20512h690.56l-51.264-512H704v96a32%2032%200%201%201-64%200v-96H384v96a32%2032%200%200%201-64%200z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M320%20288v-22.336C320%20154.688%20405.504%2064%20512%2064s192%2090.688%20192%20201.664v22.4h131.072a32%2032%200%200%201%2031.808%2028.8l57.6%20576a32%2032%200%200%201-31.808%2035.2H131.328a32%2032%200%200%201-31.808-35.2l57.6-576a32%2032%200%200%201%2031.808-28.8H320zm64%200h256v-22.336C640%20189.248%20582.272%20128%20512%20128s-128%2061.248-128%20137.664v22.4zm-64%2064H217.92l-51.2%20512h690.56l-51.264-512H704v96a32%2032%200%201%201-64%200v-96H384v96a32%2032%200%200%201-64%200z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-info{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%2064a448%20448%200%201%201%200%20896.064A448%20448%200%200%201%20512%2064m67.2%20275.072c33.28%200%2060.288-23.104%2060.288-57.344s-27.072-57.344-60.288-57.344c-33.28%200-60.16%2023.104-60.16%2057.344s26.88%2057.344%2060.16%2057.344M590.912%20699.2c0-6.848%202.368-24.64%201.024-34.752l-52.608%2060.544c-10.88%2011.456-24.512%2019.392-30.912%2017.28a12.99%2012.99%200%200%201-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096%200-108.992%2044.736-148.48%20101.504%200%206.784-1.28%2023.68.064%2033.792l52.544-60.608c10.88-11.328%2023.552-19.328%2029.952-17.152a12.8%2012.8%200%200%201%207.808%2016.128L388.48%20728.576c-10.048%2032.256%208.96%2063.872%2055.04%2071.04%2067.84%200%20107.904-43.648%20147.456-100.416z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%2064a448%20448%200%201%201%200%20896.064A448%20448%200%200%201%20512%2064m67.2%20275.072c33.28%200%2060.288-23.104%2060.288-57.344s-27.072-57.344-60.288-57.344c-33.28%200-60.16%2023.104-60.16%2057.344s26.88%2057.344%2060.16%2057.344M590.912%20699.2c0-6.848%202.368-24.64%201.024-34.752l-52.608%2060.544c-10.88%2011.456-24.512%2019.392-30.912%2017.28a12.99%2012.99%200%200%201-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096%200-108.992%2044.736-148.48%20101.504%200%206.784-1.28%2023.68.064%2033.792l52.544-60.608c10.88-11.328%2023.552-19.328%2029.952-17.152a12.8%2012.8%200%200%201%207.808%2016.128L388.48%20728.576c-10.048%2032.256%208.96%2063.872%2055.04%2071.04%2067.84%200%20107.904-43.648%20147.456-100.416z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-key{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M448%20456.064V96a32%2032%200%200%201%2032-32.064L672%2064a32%2032%200%200%201%200%2064H512v128h160a32%2032%200%200%201%200%2064H512v128a256%20256%200%201%201-64%208.064M512%20896a192%20192%200%201%200%200-384%20192%20192%200%200%200%200%20384%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M448%20456.064V96a32%2032%200%200%201%2032-32.064L672%2064a32%2032%200%200%201%200%2064H512v128h160a32%2032%200%200%201%200%2064H512v128a256%20256%200%201%201-64%208.064M512%20896a192%20192%200%201%200%200-384%20192%20192%200%200%200%200%20384%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-link{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M715.648%20625.152%20670.4%20579.904l90.496-90.56c75.008-74.944%2085.12-186.368%2022.656-248.896-62.528-62.464-173.952-52.352-248.96%2022.656L444.16%20353.6l-45.248-45.248%2090.496-90.496c100.032-99.968%20251.968-110.08%20339.456-22.656%2087.488%2087.488%2077.312%20239.424-22.656%20339.456l-90.496%2090.496zm-90.496%2090.496-90.496%2090.496C434.624%20906.112%20282.688%20916.224%20195.2%20828.8c-87.488-87.488-77.312-239.424%2022.656-339.456l90.496-90.496%2045.248%2045.248-90.496%2090.56c-75.008%2074.944-85.12%20186.368-22.656%20248.896%2062.528%2062.464%20173.952%2052.352%20248.96-22.656l90.496-90.496zm0-362.048%2045.248%2045.248L398.848%20670.4%20353.6%20625.152z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M715.648%20625.152%20670.4%20579.904l90.496-90.56c75.008-74.944%2085.12-186.368%2022.656-248.896-62.528-62.464-173.952-52.352-248.96%2022.656L444.16%20353.6l-45.248-45.248%2090.496-90.496c100.032-99.968%20251.968-110.08%20339.456-22.656%2087.488%2087.488%2077.312%20239.424-22.656%20339.456l-90.496%2090.496zm-90.496%2090.496-90.496%2090.496C434.624%20906.112%20282.688%20916.224%20195.2%20828.8c-87.488-87.488-77.312-239.424%2022.656-339.456l90.496-90.496%2045.248%2045.248-90.496%2090.56c-75.008%2074.944-85.12%20186.368-22.656%20248.896%2062.528%2062.464%20173.952%2052.352%20248.96-22.656l90.496-90.496zm0-362.048%2045.248%2045.248L398.848%20670.4%20353.6%20625.152z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-loading{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%2064a32%2032%200%200%201%2032%2032v192a32%2032%200%200%201-64%200V96a32%2032%200%200%201%2032-32m0%20640a32%2032%200%200%201%2032%2032v192a32%2032%200%201%201-64%200V736a32%2032%200%200%201%2032-32m448-192a32%2032%200%200%201-32%2032H736a32%2032%200%201%201%200-64h192a32%2032%200%200%201%2032%2032m-640%200a32%2032%200%200%201-32%2032H96a32%2032%200%200%201%200-64h192a32%2032%200%200%201%2032%2032M195.2%20195.2a32%2032%200%200%201%2045.248%200L376.32%20331.008a32%2032%200%200%201-45.248%2045.248L195.2%20240.448a32%2032%200%200%201%200-45.248m452.544%20452.544a32%2032%200%200%201%2045.248%200L828.8%20783.552a32%2032%200%200%201-45.248%2045.248L647.744%20692.992a32%2032%200%200%201%200-45.248M828.8%20195.264a32%2032%200%200%201%200%2045.184L692.992%20376.32a32%2032%200%200%201-45.248-45.248l135.808-135.808a32%2032%200%200%201%2045.248%200m-452.544%20452.48a32%2032%200%200%201%200%2045.248L240.448%20828.8a32%2032%200%200%201-45.248-45.248l135.808-135.808a32%2032%200%200%201%2045.248%200%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%2064a32%2032%200%200%201%2032%2032v192a32%2032%200%200%201-64%200V96a32%2032%200%200%201%2032-32m0%20640a32%2032%200%200%201%2032%2032v192a32%2032%200%201%201-64%200V736a32%2032%200%200%201%2032-32m448-192a32%2032%200%200%201-32%2032H736a32%2032%200%201%201%200-64h192a32%2032%200%200%201%2032%2032m-640%200a32%2032%200%200%201-32%2032H96a32%2032%200%200%201%200-64h192a32%2032%200%200%201%2032%2032M195.2%20195.2a32%2032%200%200%201%2045.248%200L376.32%20331.008a32%2032%200%200%201-45.248%2045.248L195.2%20240.448a32%2032%200%200%201%200-45.248m452.544%20452.544a32%2032%200%200%201%2045.248%200L828.8%20783.552a32%2032%200%200%201-45.248%2045.248L647.744%20692.992a32%2032%200%200%201%200-45.248M828.8%20195.264a32%2032%200%200%201%200%2045.184L692.992%20376.32a32%2032%200%200%201-45.248-45.248l135.808-135.808a32%2032%200%200%201%2045.248%200m-452.544%20452.48a32%2032%200%200%201%200%2045.248L240.448%20828.8a32%2032%200%200%201-45.248-45.248l135.808-135.808a32%2032%200%200%201%2045.248%200%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-lock{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M224%20448a32%2032%200%200%200-32%2032v384a32%2032%200%200%200%2032%2032h576a32%2032%200%200%200%2032-32V480a32%2032%200%200%200-32-32zm0-64h576a96%2096%200%200%201%2096%2096v384a96%2096%200%200%201-96%2096H224a96%2096%200%200%201-96-96V480a96%2096%200%200%201%2096-96%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20544a32%2032%200%200%201%2032%2032v192a32%2032%200%201%201-64%200V576a32%2032%200%200%201%2032-32m192-160v-64a192%20192%200%201%200-384%200v64zM512%2064a256%20256%200%200%201%20256%20256v128H256V320A256%20256%200%200%201%20512%2064%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M224%20448a32%2032%200%200%200-32%2032v384a32%2032%200%200%200%2032%2032h576a32%2032%200%200%200%2032-32V480a32%2032%200%200%200-32-32zm0-64h576a96%2096%200%200%201%2096%2096v384a96%2096%200%200%201-96%2096H224a96%2096%200%200%201-96-96V480a96%2096%200%200%201%2096-96%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20544a32%2032%200%200%201%2032%2032v192a32%2032%200%201%201-64%200V576a32%2032%200%200%201%2032-32m192-160v-64a192%20192%200%201%200-384%200v64zM512%2064a256%20256%200%200%201%20256%20256v128H256V320A256%20256%200%200%201%20512%2064%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-magic-stick{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%2064h64v192h-64zm0%20576h64v192h-64zM160%20480v-64h192v64zm576%200v-64h192v64zM249.856%20199.04l45.248-45.184L430.848%20289.6%20385.6%20334.848%20249.856%20199.104zM657.152%20606.4l45.248-45.248%20135.744%20135.744-45.248%2045.248zM114.048%20923.2%2068.8%20877.952l316.8-316.8%2045.248%2045.248zM702.4%20334.848%20657.152%20289.6l135.744-135.744%2045.248%2045.248z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%2064h64v192h-64zm0%20576h64v192h-64zM160%20480v-64h192v64zm576%200v-64h192v64zM249.856%20199.04l45.248-45.184L430.848%20289.6%20385.6%20334.848%20249.856%20199.104zM657.152%20606.4l45.248-45.248%20135.744%20135.744-45.248%2045.248zM114.048%20923.2%2068.8%20877.952l316.8-316.8%2045.248%2045.248zM702.4%20334.848%20657.152%20289.6l135.744-135.744%2045.248%2045.248z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-male{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M399.5%20849.5a225%20225%200%201%200%200-450%20225%20225%200%200%200%200%20450m0%2056.25a281.25%20281.25%200%201%201%200-562.5%20281.25%20281.25%200%200%201%200%20562.5m253.125-787.5h225q28.125%200%2028.125%2028.125T877.625%20174.5h-225q-28.125%200-28.125-28.125t28.125-28.125%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M877.625%20118.25q28.125%200%2028.125%2028.125v225q0%2028.125-28.125%2028.125T849.5%20371.375v-225q0-28.125%2028.125-28.125%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M604.813%20458.9%20565.1%20419.131l292.613-292.668%2039.825%2039.824z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M399.5%20849.5a225%20225%200%201%200%200-450%20225%20225%200%200%200%200%20450m0%2056.25a281.25%20281.25%200%201%201%200-562.5%20281.25%20281.25%200%200%201%200%20562.5m253.125-787.5h225q28.125%200%2028.125%2028.125T877.625%20174.5h-225q-28.125%200-28.125-28.125t28.125-28.125%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M877.625%20118.25q28.125%200%2028.125%2028.125v225q0%2028.125-28.125%2028.125T849.5%20371.375v-225q0-28.125%2028.125-28.125%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M604.813%20458.9%20565.1%20419.131l292.613-292.668%2039.825%2039.824z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-menu{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M160%20448a32%2032%200%200%201-32-32V160.064a32%2032%200%200%201%2032-32h256a32%2032%200%200%201%2032%2032V416a32%2032%200%200%201-32%2032zm448%200a32%2032%200%200%201-32-32V160.064a32%2032%200%200%201%2032-32h255.936a32%2032%200%200%201%2032%2032V416a32%2032%200%200%201-32%2032zM160%20896a32%2032%200%200%201-32-32V608a32%2032%200%200%201%2032-32h256a32%2032%200%200%201%2032%2032v256a32%2032%200%200%201-32%2032zm448%200a32%2032%200%200%201-32-32V608a32%2032%200%200%201%2032-32h255.936a32%2032%200%200%201%2032%2032v256a32%2032%200%200%201-32%2032z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M160%20448a32%2032%200%200%201-32-32V160.064a32%2032%200%200%201%2032-32h256a32%2032%200%200%201%2032%2032V416a32%2032%200%200%201-32%2032zm448%200a32%2032%200%200%201-32-32V160.064a32%2032%200%200%201%2032-32h255.936a32%2032%200%200%201%2032%2032V416a32%2032%200%200%201-32%2032zM160%20896a32%2032%200%200%201-32-32V608a32%2032%200%200%201%2032-32h256a32%2032%200%200%201%2032%2032v256a32%2032%200%200%201-32%2032zm448%200a32%2032%200%200%201-32-32V608a32%2032%200%200%201%2032-32h255.936a32%2032%200%200%201%2032%2032v256a32%2032%200%200%201-32%2032z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-message-solid{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M128%20224v512a64%2064%200%200%200%2064%2064h640a64%2064%200%200%200%2064-64V224zm0-64h768a64%2064%200%200%201%2064%2064v512a128%20128%200%200%201-128%20128H192A128%20128%200%200%201%2064%20736V224a64%2064%200%200%201%2064-64%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M904%20224%20656.512%20506.88a192%20192%200%200%201-289.024%200L120%20224zm-698.944%200%20210.56%20240.704a128%20128%200%200%200%20192.704%200L818.944%20224z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M128%20224v512a64%2064%200%200%200%2064%2064h640a64%2064%200%200%200%2064-64V224zm0-64h768a64%2064%200%200%201%2064%2064v512a128%20128%200%200%201-128%20128H192A128%20128%200%200%201%2064%20736V224a64%2064%200%200%201%2064-64%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M904%20224%20656.512%20506.88a192%20192%200%200%201-289.024%200L120%20224zm-698.944%200%20210.56%20240.704a128%20128%200%200%200%20192.704%200L818.944%20224z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-mobile-phone{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M224%20768v96.064a64%2064%200%200%200%2064%2064h448a64%2064%200%200%200%2064-64V768zm0-64h576V160a64%2064%200%200%200-64-64H288a64%2064%200%200%200-64%2064zm32%20288a96%2096%200%200%201-96-96V128a96%2096%200%200%201%2096-96h512a96%2096%200%200%201%2096%2096v768a96%2096%200%200%201-96%2096zm304-144a48%2048%200%201%201-96%200%2048%2048%200%200%201%2096%200%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M224%20768v96.064a64%2064%200%200%200%2064%2064h448a64%2064%200%200%200%2064-64V768zm0-64h576V160a64%2064%200%200%200-64-64H288a64%2064%200%200%200-64%2064zm32%20288a96%2096%200%200%201-96-96V128a96%2096%200%200%201%2096-96h512a96%2096%200%200%201%2096%2096v768a96%2096%200%200%201-96%2096zm304-144a48%2048%200%201%201-96%200%2048%2048%200%200%201%2096%200%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-money{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M256%20640v192h640V384H768v-64h150.976c14.272%200%2019.456%201.472%2024.64%204.288a29.06%2029.06%200%200%201%2012.16%2012.096c2.752%205.184%204.224%2010.368%204.224%2024.64v493.952c0%2014.272-1.472%2019.456-4.288%2024.64a29.06%2029.06%200%200%201-12.096%2012.16c-5.184%202.752-10.368%204.224-24.64%204.224H233.024c-14.272%200-19.456-1.472-24.64-4.288a29.06%2029.06%200%200%201-12.16-12.096c-2.688-5.184-4.224-10.368-4.224-24.576V640z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M768%20192H128v448h640zm64-22.976v493.952c0%2014.272-1.472%2019.456-4.288%2024.64a29.06%2029.06%200%200%201-12.096%2012.16c-5.184%202.752-10.368%204.224-24.64%204.224H105.024c-14.272%200-19.456-1.472-24.64-4.288a29.06%2029.06%200%200%201-12.16-12.096C65.536%20682.432%2064%20677.248%2064%20663.04V169.024c0-14.272%201.472-19.456%204.288-24.64a29.06%2029.06%200%200%201%2012.096-12.16C85.568%20129.536%2090.752%20128%20104.96%20128h685.952c14.272%200%2019.456%201.472%2024.64%204.288a29.06%2029.06%200%200%201%2012.16%2012.096c2.752%205.184%204.224%2010.368%204.224%2024.64z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M448%20576a160%20160%200%201%201%200-320%20160%20160%200%200%201%200%20320m0-64a96%2096%200%201%200%200-192%2096%2096%200%200%200%200%20192%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M256%20640v192h640V384H768v-64h150.976c14.272%200%2019.456%201.472%2024.64%204.288a29.06%2029.06%200%200%201%2012.16%2012.096c2.752%205.184%204.224%2010.368%204.224%2024.64v493.952c0%2014.272-1.472%2019.456-4.288%2024.64a29.06%2029.06%200%200%201-12.096%2012.16c-5.184%202.752-10.368%204.224-24.64%204.224H233.024c-14.272%200-19.456-1.472-24.64-4.288a29.06%2029.06%200%200%201-12.16-12.096c-2.688-5.184-4.224-10.368-4.224-24.576V640z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M768%20192H128v448h640zm64-22.976v493.952c0%2014.272-1.472%2019.456-4.288%2024.64a29.06%2029.06%200%200%201-12.096%2012.16c-5.184%202.752-10.368%204.224-24.64%204.224H105.024c-14.272%200-19.456-1.472-24.64-4.288a29.06%2029.06%200%200%201-12.16-12.096C65.536%20682.432%2064%20677.248%2064%20663.04V169.024c0-14.272%201.472-19.456%204.288-24.64a29.06%2029.06%200%200%201%2012.096-12.16C85.568%20129.536%2090.752%20128%20104.96%20128h685.952c14.272%200%2019.456%201.472%2024.64%204.288a29.06%2029.06%200%200%201%2012.16%2012.096c2.752%205.184%204.224%2010.368%204.224%2024.64z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M448%20576a160%20160%200%201%201%200-320%20160%20160%200%200%201%200%20320m0-64a96%2096%200%201%200%200-192%2096%2096%200%200%200%200%20192%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-monitor{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M544%20768v128h192a32%2032%200%201%201%200%2064H288a32%2032%200%201%201%200-64h192V768H192A128%20128%200%200%201%2064%20640V256a128%20128%200%200%201%20128-128h640a128%20128%200%200%201%20128%20128v384a128%20128%200%200%201-128%20128zM192%20192a64%2064%200%200%200-64%2064v384a64%2064%200%200%200%2064%2064h640a64%2064%200%200%200%2064-64V256a64%2064%200%200%200-64-64z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M544%20768v128h192a32%2032%200%201%201%200%2064H288a32%2032%200%201%201%200-64h192V768H192A128%20128%200%200%201%2064%20640V256a128%20128%200%200%201%20128-128h640a128%20128%200%200%201%20128%20128v384a128%20128%200%200%201-128%20128zM192%20192a64%2064%200%200%200-64%2064v384a64%2064%200%200%200%2064%2064h640a64%2064%200%200%200%2064-64V256a64%2064%200%200%200-64-64z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-more{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M176%20416a112%20112%200%201%200%200%20224%20112%20112%200%200%200%200-224m0%2064a48%2048%200%201%201%200%2096%2048%2048%200%200%201%200-96m336-64a112%20112%200%201%201%200%20224%20112%20112%200%200%201%200-224m0%2064a48%2048%200%201%200%200%2096%2048%2048%200%200%200%200-96m336-64a112%20112%200%201%201%200%20224%20112%20112%200%200%201%200-224m0%2064a48%2048%200%201%200%200%2096%2048%2048%200%200%200%200-96%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M176%20416a112%20112%200%201%200%200%20224%20112%20112%200%200%200%200-224m0%2064a48%2048%200%201%201%200%2096%2048%2048%200%200%201%200-96m336-64a112%20112%200%201%201%200%20224%20112%20112%200%200%201%200-224m0%2064a48%2048%200%201%200%200%2096%2048%2048%200%200%200%200-96m336-64a112%20112%200%201%201%200%20224%20112%20112%200%200%201%200-224m0%2064a48%2048%200%201%200%200%2096%2048%2048%200%200%200%200-96%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-phone-outline{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M79.36%20432.256%20591.744%20944.64a32%2032%200%200%200%2035.2%206.784l253.44-108.544a32%2032%200%200%200%209.984-52.032l-153.856-153.92a32%2032%200%200%200-36.928-6.016l-69.888%2034.944L358.08%20394.24l35.008-69.888a32%2032%200%200%200-5.952-36.928L233.152%20133.568a32%2032%200%200%200-52.032%2010.048L72.512%20397.056a32%2032%200%200%200%206.784%2035.2zm60.48-29.952%2081.536-190.08L325.568%20316.48l-24.64%2049.216-20.608%2041.216%2032.576%2032.64%20271.552%20271.552%2032.64%2032.64%2041.216-20.672%2049.28-24.576%20104.192%20104.128-190.08%2081.472zM512%20320v-64a256%20256%200%200%201%20256%20256h-64a192%20192%200%200%200-192-192m0-192V64a448%20448%200%200%201%20448%20448h-64a384%20384%200%200%200-384-384%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M79.36%20432.256%20591.744%20944.64a32%2032%200%200%200%2035.2%206.784l253.44-108.544a32%2032%200%200%200%209.984-52.032l-153.856-153.92a32%2032%200%200%200-36.928-6.016l-69.888%2034.944L358.08%20394.24l35.008-69.888a32%2032%200%200%200-5.952-36.928L233.152%20133.568a32%2032%200%200%200-52.032%2010.048L72.512%20397.056a32%2032%200%200%200%206.784%2035.2zm60.48-29.952%2081.536-190.08L325.568%20316.48l-24.64%2049.216-20.608%2041.216%2032.576%2032.64%20271.552%20271.552%2032.64%2032.64%2041.216-20.672%2049.28-24.576%20104.192%20104.128-190.08%2081.472zM512%20320v-64a256%20256%200%200%201%20256%20256h-64a192%20192%200%200%200-192-192m0-192V64a448%20448%200%200%201%20448%20448h-64a384%20384%200%200%200-384-384%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-picture{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M160%20160v704h704V160zm-32-64h768a32%2032%200%200%201%2032%2032v768a32%2032%200%200%201-32%2032H128a32%2032%200%200%201-32-32V128a32%2032%200%200%201%2032-32%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M384%20288q64%200%2064%2064t-64%2064-64-64%2064-64M185.408%20876.992l-50.816-38.912L350.72%20556.032a96%2096%200%200%201%20134.592-17.856l1.856%201.472%20122.88%2099.136a32%2032%200%200%200%2044.992-4.864l216-269.888%2049.92%2039.936-215.808%20269.824-.256.32a96%2096%200%200%201-135.04%2014.464l-122.88-99.072-.64-.512a32%2032%200%200%200-44.8%205.952z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M160%20160v704h704V160zm-32-64h768a32%2032%200%200%201%2032%2032v768a32%2032%200%200%201-32%2032H128a32%2032%200%200%201-32-32V128a32%2032%200%200%201%2032-32%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M384%20288q64%200%2064%2064t-64%2064-64-64%2064-64M185.408%20876.992l-50.816-38.912L350.72%20556.032a96%2096%200%200%201%20134.592-17.856l1.856%201.472%20122.88%2099.136a32%2032%200%200%200%2044.992-4.864l216-269.888%2049.92%2039.936-215.808%20269.824-.256.32a96%2096%200%200%201-135.04%2014.464l-122.88-99.072-.64-.512a32%2032%200%200%200-44.8%205.952z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-picture-outline{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M160%20160v704h704V160zm-32-64h768a32%2032%200%200%201%2032%2032v768a32%2032%200%200%201-32%2032H128a32%2032%200%200%201-32-32V128a32%2032%200%200%201%2032-32%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M384%20288q64%200%2064%2064t-64%2064-64-64%2064-64M185.408%20876.992l-50.816-38.912L350.72%20556.032a96%2096%200%200%201%20134.592-17.856l1.856%201.472%20122.88%2099.136a32%2032%200%200%200%2044.992-4.864l216-269.888%2049.92%2039.936-215.808%20269.824-.256.32a96%2096%200%200%201-135.04%2014.464l-122.88-99.072-.64-.512a32%2032%200%200%200-44.8%205.952z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M160%20160v704h704V160zm-32-64h768a32%2032%200%200%201%2032%2032v768a32%2032%200%200%201-32%2032H128a32%2032%200%200%201-32-32V128a32%2032%200%200%201%2032-32%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M384%20288q64%200%2064%2064t-64%2064-64-64%2064-64M185.408%20876.992l-50.816-38.912L350.72%20556.032a96%2096%200%200%201%20134.592-17.856l1.856%201.472%20122.88%2099.136a32%2032%200%200%200%2044.992-4.864l216-269.888%2049.92%2039.936-215.808%20269.824-.256.32a96%2096%200%200%201-135.04%2014.464l-122.88-99.072-.64-.512a32%2032%200%200%200-44.8%205.952z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-plus{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M480%20480V128a32%2032%200%200%201%2064%200v352h352a32%2032%200%201%201%200%2064H544v352a32%2032%200%201%201-64%200V544H128a32%2032%200%200%201%200-64z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M480%20480V128a32%2032%200%200%201%2064%200v352h352a32%2032%200%201%201%200%2064H544v352a32%2032%200%201%201-64%200V544H128a32%2032%200%200%201%200-64z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-price-tag{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M224%20318.336V896h576V318.336L552.512%20115.84a64%2064%200%200%200-81.024%200zM593.024%2066.304l259.2%20212.096A32%2032%200%200%201%20864%20303.168V928a32%2032%200%200%201-32%2032H192a32%2032%200%200%201-32-32V303.168a32%2032%200%200%201%2011.712-24.768l259.2-212.096a128%20128%200%200%201%20162.112%200%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20448a64%2064%200%201%200%200-128%2064%2064%200%200%200%200%20128m0%2064a128%20128%200%201%201%200-256%20128%20128%200%200%201%200%20256%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M224%20318.336V896h576V318.336L552.512%20115.84a64%2064%200%200%200-81.024%200zM593.024%2066.304l259.2%20212.096A32%2032%200%200%201%20864%20303.168V928a32%2032%200%200%201-32%2032H192a32%2032%200%200%201-32-32V303.168a32%2032%200%200%201%2011.712-24.768l259.2-212.096a128%20128%200%200%201%20162.112%200%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20448a64%2064%200%201%200%200-128%2064%2064%200%200%200%200%20128m0%2064a128%20128%200%201%201%200-256%20128%20128%200%200%201%200%20256%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-question{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%2064a448%20448%200%201%201%200%20896%20448%20448%200%200%201%200-896m23.744%20191.488c-52.096%200-92.928%2014.784-123.2%2044.352-30.976%2029.568-45.76%2070.4-45.76%20122.496h80.256c0-29.568%205.632-52.8%2017.6-68.992%2013.376-19.712%2035.2-28.864%2066.176-28.864%2023.936%200%2042.944%206.336%2056.32%2019.712%2012.672%2013.376%2019.712%2031.68%2019.712%2054.912%200%2017.6-6.336%2034.496-19.008%2049.984l-8.448%209.856c-45.76%2040.832-73.216%2070.4-82.368%2089.408-9.856%2019.008-14.08%2042.24-14.08%2068.992v9.856h80.96v-9.856c0-16.896%203.52-31.68%2010.56-45.76%206.336-12.672%2015.488-24.64%2028.16-35.2%2033.792-29.568%2054.208-48.576%2060.544-55.616%2016.896-22.528%2026.048-51.392%2026.048-86.592q0-64.416-42.24-101.376c-28.16-25.344-65.472-37.312-111.232-37.312m-12.672%20406.208a54.27%2054.27%200%200%200-38.72%2014.784%2049.4%2049.4%200%200%200-15.488%2038.016c0%2015.488%204.928%2028.16%2015.488%2038.016A54.85%2054.85%200%200%200%20523.072%20768c15.488%200%2028.16-4.928%2038.72-14.784a51.52%2051.52%200%200%200%2016.192-38.72%2051.97%2051.97%200%200%200-15.488-38.016%2055.94%2055.94%200%200%200-39.424-14.784%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%2064a448%20448%200%201%201%200%20896%20448%20448%200%200%201%200-896m23.744%20191.488c-52.096%200-92.928%2014.784-123.2%2044.352-30.976%2029.568-45.76%2070.4-45.76%20122.496h80.256c0-29.568%205.632-52.8%2017.6-68.992%2013.376-19.712%2035.2-28.864%2066.176-28.864%2023.936%200%2042.944%206.336%2056.32%2019.712%2012.672%2013.376%2019.712%2031.68%2019.712%2054.912%200%2017.6-6.336%2034.496-19.008%2049.984l-8.448%209.856c-45.76%2040.832-73.216%2070.4-82.368%2089.408-9.856%2019.008-14.08%2042.24-14.08%2068.992v9.856h80.96v-9.856c0-16.896%203.52-31.68%2010.56-45.76%206.336-12.672%2015.488-24.64%2028.16-35.2%2033.792-29.568%2054.208-48.576%2060.544-55.616%2016.896-22.528%2026.048-51.392%2026.048-86.592q0-64.416-42.24-101.376c-28.16-25.344-65.472-37.312-111.232-37.312m-12.672%20406.208a54.27%2054.27%200%200%200-38.72%2014.784%2049.4%2049.4%200%200%200-15.488%2038.016c0%2015.488%204.928%2028.16%2015.488%2038.016A54.85%2054.85%200%200%200%20523.072%20768c15.488%200%2028.16-4.928%2038.72-14.784a51.52%2051.52%200%200%200%2016.192-38.72%2051.97%2051.97%200%200%200-15.488-38.016%2055.94%2055.94%200%200%200-39.424-14.784%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-rank{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m186.496%20544%2041.408%2041.344a32%2032%200%201%201-45.248%2045.312l-96-96a32%2032%200%200%201%200-45.312l96-96a32%2032%200%201%201%2045.248%2045.312L186.496%20480h290.816V186.432l-41.472%2041.472a32%2032%200%201%201-45.248-45.184l96-96.128a32%2032%200%200%201%2045.312%200l96%2096.064a32%2032%200%200%201-45.248%2045.184l-41.344-41.28V480H832l-41.344-41.344a32%2032%200%200%201%2045.248-45.312l96%2096a32%2032%200%200%201%200%2045.312l-96%2096a32%2032%200%200%201-45.248-45.312L832%20544H541.312v293.44l41.344-41.28a32%2032%200%201%201%2045.248%2045.248l-96%2096a32%2032%200%200%201-45.312%200l-96-96a32%2032%200%201%201%2045.312-45.248l41.408%2041.408V544z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m186.496%20544%2041.408%2041.344a32%2032%200%201%201-45.248%2045.312l-96-96a32%2032%200%200%201%200-45.312l96-96a32%2032%200%201%201%2045.248%2045.312L186.496%20480h290.816V186.432l-41.472%2041.472a32%2032%200%201%201-45.248-45.184l96-96.128a32%2032%200%200%201%2045.312%200l96%2096.064a32%2032%200%200%201-45.248%2045.184l-41.344-41.28V480H832l-41.344-41.344a32%2032%200%200%201%2045.248-45.312l96%2096a32%2032%200%200%201%200%2045.312l-96%2096a32%2032%200%200%201-45.248-45.312L832%20544H541.312v293.44l41.344-41.28a32%2032%200%201%201%2045.248%2045.248l-96%2096a32%2032%200%200%201-45.312%200l-96-96a32%2032%200%201%201%2045.312-45.248l41.408%2041.408V544z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-refresh{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M771.776%20794.88A384%20384%200%200%201%20128%20512h64a320%20320%200%200%200%20555.712%20216.448H654.72a32%2032%200%201%201%200-64h149.056a32%2032%200%200%201%2032%2032v148.928a32%2032%200%201%201-64%200v-50.56zM276.288%20295.616h92.992a32%2032%200%200%201%200%2064H220.16a32%2032%200%200%201-32-32V178.56a32%2032%200%200%201%2064%200v50.56A384%20384%200%200%201%20896.128%20512h-64a320%20320%200%200%200-555.776-216.384z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M771.776%20794.88A384%20384%200%200%201%20128%20512h64a320%20320%200%200%200%20555.712%20216.448H654.72a32%2032%200%201%201%200-64h149.056a32%2032%200%200%201%2032%2032v148.928a32%2032%200%201%201-64%200v-50.56zM276.288%20295.616h92.992a32%2032%200%200%201%200%2064H220.16a32%2032%200%200%201-32-32V178.56a32%2032%200%200%201%2064%200v50.56A384%20384%200%200%201%20896.128%20512h-64a320%20320%200%200%200-555.776-216.384z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-refresh-left{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M289.088%20296.704h92.992a32%2032%200%200%201%200%2064H232.96a32%2032%200%200%201-32-32V179.712a32%2032%200%200%201%2064%200v50.56a384%20384%200%200%201%20643.84%20282.88%20384%20384%200%200%201-383.936%20384%20384%20384%200%200%201-384-384h64a320%20320%200%201%200%20640%200%20320%20320%200%200%200-555.712-216.448z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M289.088%20296.704h92.992a32%2032%200%200%201%200%2064H232.96a32%2032%200%200%201-32-32V179.712a32%2032%200%200%201%2064%200v50.56a384%20384%200%200%201%20643.84%20282.88%20384%20384%200%200%201-383.936%20384%20384%20384%200%200%201-384-384h64a320%20320%200%201%200%20640%200%20320%20320%200%200%200-555.712-216.448z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-refresh-right{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M784.512%20230.272v-50.56a32%2032%200%201%201%2064%200v149.056a32%2032%200%200%201-32%2032H667.52a32%2032%200%201%201%200-64h92.992A320%20320%200%201%200%20524.8%20833.152a320%20320%200%200%200%20320-320h64a384%20384%200%200%201-384%20384%20384%20384%200%200%201-384-384%20384%20384%200%200%201%20643.712-282.88%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M784.512%20230.272v-50.56a32%2032%200%201%201%2064%200v149.056a32%2032%200%200%201-32%2032H667.52a32%2032%200%201%201%200-64h92.992A320%20320%200%201%200%20524.8%20833.152a320%20320%200%200%200%20320-320h64a384%20384%200%200%201-384%20384%20384%20384%200%200%201-384-384%20384%20384%200%200%201%20643.712-282.88%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-remove{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m466.752%20512-90.496-90.496a32%2032%200%200%201%2045.248-45.248L512%20466.752l90.496-90.496a32%2032%200%201%201%2045.248%2045.248L557.248%20512l90.496%2090.496a32%2032%200%201%201-45.248%2045.248L512%20557.248l-90.496%2090.496a32%2032%200%200%201-45.248-45.248z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m466.752%20512-90.496-90.496a32%2032%200%200%201%2045.248-45.248L512%20466.752l90.496-90.496a32%2032%200%201%201%2045.248%2045.248L557.248%20512l90.496%2090.496a32%2032%200%201%201-45.248%2045.248L512%20557.248l-90.496%2090.496a32%2032%200%200%201-45.248-45.248z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-remove-outline{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M352%20480h320a32%2032%200%201%201%200%2064H352a32%2032%200%200%201%200-64%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M352%20480h320a32%2032%200%201%201%200%2064H352a32%2032%200%200%201%200-64%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-check{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M745.344%20361.344a32%2032%200%200%201%2045.312%2045.312l-288%20288a32%2032%200%200%201-45.312%200l-160-160a32%2032%200%201%201%2045.312-45.312L480%20626.752z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M745.344%20361.344a32%2032%200%200%201%2045.312%2045.312l-288%20288a32%2032%200%200%201-45.312%200l-160-160a32%2032%200%201%201%2045.312-45.312L480%20626.752z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-claim{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M745.344%20361.344a32%2032%200%200%201%2045.312%2045.312l-288%20288a32%2032%200%200%201-45.312%200l-160-160a32%2032%200%201%201%2045.312-45.312L480%20626.752z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M745.344%20361.344a32%2032%200%200%201%2045.312%2045.312l-288%20288a32%2032%200%200%201-45.312%200l-160-160a32%2032%200%201%201%2045.312-45.312L480%20626.752z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-claim1{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M745.344%20361.344a32%2032%200%200%201%2045.312%2045.312l-288%20288a32%2032%200%200%201-45.312%200l-160-160a32%2032%200%201%201%2045.312-45.312L480%20626.752z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M745.344%20361.344a32%2032%200%200%201%2045.312%2045.312l-288%20288a32%2032%200%200%201-45.312%200l-160-160a32%2032%200%201%201%2045.312-45.312L480%20626.752z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-comment{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m174.72%20855.68%20135.296-45.12%2023.68%2011.84C388.096%20849.536%20448.576%20864%20512%20864c211.84%200%20384-166.784%20384-352S723.84%20160%20512%20160%20128%20326.784%20128%20512c0%2069.12%2024.96%20139.264%2070.848%20199.232l22.08%2028.8-46.272%20115.584zm-45.248%2082.56A32%2032%200%200%201%2089.6%20896l58.368-145.92C94.72%20680.32%2064%20596.864%2064%20512%2064%20299.904%20256%2096%20512%2096s448%20203.904%20448%20416-192%20416-448%20416a461.06%20461.06%200%200%201-206.912-48.384l-175.616%2058.56z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20563.2a51.2%2051.2%200%201%201%200-102.4%2051.2%2051.2%200%200%201%200%20102.4m192%200a51.2%2051.2%200%201%201%200-102.4%2051.2%2051.2%200%200%201%200%20102.4m-384%200a51.2%2051.2%200%201%201%200-102.4%2051.2%2051.2%200%200%201%200%20102.4%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m174.72%20855.68%20135.296-45.12%2023.68%2011.84C388.096%20849.536%20448.576%20864%20512%20864c211.84%200%20384-166.784%20384-352S723.84%20160%20512%20160%20128%20326.784%20128%20512c0%2069.12%2024.96%20139.264%2070.848%20199.232l22.08%2028.8-46.272%20115.584zm-45.248%2082.56A32%2032%200%200%201%2089.6%20896l58.368-145.92C94.72%20680.32%2064%20596.864%2064%20512%2064%20299.904%20256%2096%20512%2096s448%20203.904%20448%20416-192%20416-448%20416a461.06%20461.06%200%200%201-206.912-48.384l-175.616%2058.56z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20563.2a51.2%2051.2%200%201%201%200-102.4%2051.2%2051.2%200%200%201%200%20102.4m192%200a51.2%2051.2%200%201%201%200-102.4%2051.2%2051.2%200%200%201%200%20102.4m-384%200a51.2%2051.2%200%201%201%200-102.4%2051.2%2051.2%200%200%201%200%20102.4%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-comment1{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m174.72%20855.68%20135.296-45.12%2023.68%2011.84C388.096%20849.536%20448.576%20864%20512%20864c211.84%200%20384-166.784%20384-352S723.84%20160%20512%20160%20128%20326.784%20128%20512c0%2069.12%2024.96%20139.264%2070.848%20199.232l22.08%2028.8-46.272%20115.584zm-45.248%2082.56A32%2032%200%200%201%2089.6%20896l58.368-145.92C94.72%20680.32%2064%20596.864%2064%20512%2064%20299.904%20256%2096%20512%2096s448%20203.904%20448%20416-192%20416-448%20416a461.06%20461.06%200%200%201-206.912-48.384l-175.616%2058.56z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20563.2a51.2%2051.2%200%201%201%200-102.4%2051.2%2051.2%200%200%201%200%20102.4m192%200a51.2%2051.2%200%201%201%200-102.4%2051.2%2051.2%200%200%201%200%20102.4m-384%200a51.2%2051.2%200%201%201%200-102.4%2051.2%2051.2%200%200%201%200%20102.4%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m174.72%20855.68%20135.296-45.12%2023.68%2011.84C388.096%20849.536%20448.576%20864%20512%20864c211.84%200%20384-166.784%20384-352S723.84%20160%20512%20160%20128%20326.784%20128%20512c0%2069.12%2024.96%20139.264%2070.848%20199.232l22.08%2028.8-46.272%20115.584zm-45.248%2082.56A32%2032%200%200%201%2089.6%20896l58.368-145.92C94.72%20680.32%2064%20596.864%2064%20512%2064%20299.904%20256%2096%20512%2096s448%20203.904%20448%20416-192%20416-448%20416a461.06%20461.06%200%200%201-206.912-48.384l-175.616%2058.56z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20563.2a51.2%2051.2%200%201%201%200-102.4%2051.2%2051.2%200%200%201%200%20102.4m192%200a51.2%2051.2%200%201%201%200-102.4%2051.2%2051.2%200%200%201%200%20102.4m-384%200a51.2%2051.2%200%201%201%200-102.4%2051.2%2051.2%200%200%201%200%20102.4%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-cooperation{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M640%20384v64H448a128%20128%200%200%200-128%20128v128a128%20128%200%200%200%20128%20128h320a128%20128%200%200%200%20128-128V576a128%20128%200%200%200-64-110.848V394.88c74.56%2026.368%20128%2097.472%20128%20181.056v128a192%20192%200%200%201-192%20192H448a192%20192%200%200%201-192-192V576a192%20192%200%200%201%20192-192z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M384%20640v-64h192a128%20128%200%200%200%20128-128V320a128%20128%200%200%200-128-128H256a128%20128%200%200%200-128%20128v128a128%20128%200%200%200%2064%20110.848v70.272A192.06%20192.06%200%200%201%2064%20448V320a192%20192%200%200%201%20192-192h320a192%20192%200%200%201%20192%20192v128a192%20192%200%200%201-192%20192z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M640%20384v64H448a128%20128%200%200%200-128%20128v128a128%20128%200%200%200%20128%20128h320a128%20128%200%200%200%20128-128V576a128%20128%200%200%200-64-110.848V394.88c74.56%2026.368%20128%2097.472%20128%20181.056v128a192%20192%200%200%201-192%20192H448a192%20192%200%200%201-192-192V576a192%20192%200%200%201%20192-192z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M384%20640v-64h192a128%20128%200%200%200%20128-128V320a128%20128%200%200%200-128-128H256a128%20128%200%200%200-128%20128v128a128%20128%200%200%200%2064%20110.848v70.272A192.06%20192.06%200%200%201%2064%20448V320a192%20192%200%200%201%20192-192h320a192%20192%200%200%201%20192%20192v128a192%20192%200%200%201-192%20192z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-custom{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20512a192%20192%200%201%200%200-384%20192%20192%200%200%200%200%20384m0%2064a256%20256%200%201%201%200-512%20256%20256%200%200%201%200%20512m320%20320v-96a96%2096%200%200%200-96-96H288a96%2096%200%200%200-96%2096v96a32%2032%200%201%201-64%200v-96a160%20160%200%200%201%20160-160h448a160%20160%200%200%201%20160%20160v96a32%2032%200%201%201-64%200%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20512a192%20192%200%201%200%200-384%20192%20192%200%200%200%200%20384m0%2064a256%20256%200%201%201%200-512%20256%20256%200%200%201%200%20512m320%20320v-96a96%2096%200%200%200-96-96H288a96%2096%200%200%200-96%2096v96a32%2032%200%201%201-64%200v-96a160%20160%200%200%201%20160-160h448a160%20160%200%200%201%20160%20160v96a32%2032%200%201%201-64%200%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-data{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M359.168%20768H160a32%2032%200%200%201-32-32V192H64a32%2032%200%200%201%200-64h896a32%2032%200%201%201%200%2064h-64v544a32%2032%200%200%201-32%2032H665.216l110.848%20192h-73.856L591.36%20768H433.024L322.176%20960H248.32zM832%20192H192v512h640zM342.656%20534.656a32%2032%200%201%201-45.312-45.312L444.992%20341.76l125.44%2094.08L679.04%20300.032a32%2032%200%201%201%2049.92%2039.936L581.632%20524.224%20451.008%20426.24%20342.656%20534.592z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M359.168%20768H160a32%2032%200%200%201-32-32V192H64a32%2032%200%200%201%200-64h896a32%2032%200%201%201%200%2064h-64v544a32%2032%200%200%201-32%2032H665.216l110.848%20192h-73.856L591.36%20768H433.024L322.176%20960H248.32zM832%20192H192v512h640zM342.656%20534.656a32%2032%200%201%201-45.312-45.312L444.992%20341.76l125.44%2094.08L679.04%20300.032a32%2032%200%201%201%2049.92%2039.936L581.632%20524.224%20451.008%20426.24%20342.656%20534.592z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-finance{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M256%20640v192h640V384H768v-64h150.976c14.272%200%2019.456%201.472%2024.64%204.288a29.06%2029.06%200%200%201%2012.16%2012.096c2.752%205.184%204.224%2010.368%204.224%2024.64v493.952c0%2014.272-1.472%2019.456-4.288%2024.64a29.06%2029.06%200%200%201-12.096%2012.16c-5.184%202.752-10.368%204.224-24.64%204.224H233.024c-14.272%200-19.456-1.472-24.64-4.288a29.06%2029.06%200%200%201-12.16-12.096c-2.688-5.184-4.224-10.368-4.224-24.576V640z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M768%20192H128v448h640zm64-22.976v493.952c0%2014.272-1.472%2019.456-4.288%2024.64a29.06%2029.06%200%200%201-12.096%2012.16c-5.184%202.752-10.368%204.224-24.64%204.224H105.024c-14.272%200-19.456-1.472-24.64-4.288a29.06%2029.06%200%200%201-12.16-12.096C65.536%20682.432%2064%20677.248%2064%20663.04V169.024c0-14.272%201.472-19.456%204.288-24.64a29.06%2029.06%200%200%201%2012.096-12.16C85.568%20129.536%2090.752%20128%20104.96%20128h685.952c14.272%200%2019.456%201.472%2024.64%204.288a29.06%2029.06%200%200%201%2012.16%2012.096c2.752%205.184%204.224%2010.368%204.224%2024.64z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M448%20576a160%20160%200%201%201%200-320%20160%20160%200%200%201%200%20320m0-64a96%2096%200%201%200%200-192%2096%2096%200%200%200%200%20192%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M256%20640v192h640V384H768v-64h150.976c14.272%200%2019.456%201.472%2024.64%204.288a29.06%2029.06%200%200%201%2012.16%2012.096c2.752%205.184%204.224%2010.368%204.224%2024.64v493.952c0%2014.272-1.472%2019.456-4.288%2024.64a29.06%2029.06%200%200%201-12.096%2012.16c-5.184%202.752-10.368%204.224-24.64%204.224H233.024c-14.272%200-19.456-1.472-24.64-4.288a29.06%2029.06%200%200%201-12.16-12.096c-2.688-5.184-4.224-10.368-4.224-24.576V640z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M768%20192H128v448h640zm64-22.976v493.952c0%2014.272-1.472%2019.456-4.288%2024.64a29.06%2029.06%200%200%201-12.096%2012.16c-5.184%202.752-10.368%204.224-24.64%204.224H105.024c-14.272%200-19.456-1.472-24.64-4.288a29.06%2029.06%200%200%201-12.16-12.096C65.536%20682.432%2064%20677.248%2064%20663.04V169.024c0-14.272%201.472-19.456%204.288-24.64a29.06%2029.06%200%200%201%2012.096-12.16C85.568%20129.536%2090.752%20128%20104.96%20128h685.952c14.272%200%2019.456%201.472%2024.64%204.288a29.06%2029.06%200%200%201%2012.16%2012.096c2.752%205.184%204.224%2010.368%204.224%2024.64z%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M448%20576a160%20160%200%201%201%200-320%20160%20160%200%200%201%200%20320m0-64a96%2096%200%201%200%200-192%2096%2096%200%200%200%200%20192%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-flag{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M288%20128h608L736%20384l160%20256H288v320h-96V64h96z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M288%20128h608L736%20384l160%20256H288v320h-96V64h96z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-fold{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M896%20192H128v128h768zm0%20256H384v128h512zm0%20256H128v128h768zM320%20384%20128%20512l192%20128z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M896%20192H128v128h768zm0%20256H384v128h512zm0%20256H128v128h768zM320%20384%20128%20512l192%20128z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-goods{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M320%20288v-22.336C320%20154.688%20405.504%2064%20512%2064s192%2090.688%20192%20201.664v22.4h131.072a32%2032%200%200%201%2031.808%2028.8l57.6%20576a32%2032%200%200%201-31.808%2035.2H131.328a32%2032%200%200%201-31.808-35.2l57.6-576a32%2032%200%200%201%2031.808-28.8H320zm64%200h256v-22.336C640%20189.248%20582.272%20128%20512%20128s-128%2061.248-128%20137.664v22.4zm-64%2064H217.92l-51.2%20512h690.56l-51.264-512H704v96a32%2032%200%201%201-64%200v-96H384v96a32%2032%200%200%201-64%200z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M320%20288v-22.336C320%20154.688%20405.504%2064%20512%2064s192%2090.688%20192%20201.664v22.4h131.072a32%2032%200%200%201%2031.808%2028.8l57.6%20576a32%2032%200%200%201-31.808%2035.2H131.328a32%2032%200%200%201-31.808-35.2l57.6-576a32%2032%200%200%201%2031.808-28.8H320zm64%200h256v-22.336C640%20189.248%20582.272%20128%20512%20128s-128%2061.248-128%20137.664v22.4zm-64%2064H217.92l-51.2%20512h690.56l-51.264-512H704v96a32%2032%200%201%201-64%200v-96H384v96a32%2032%200%200%201-64%200z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-grid{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M640%20384v256H384V384zm64%200h192v256H704zm-64%20512H384V704h256zm64%200V704h192v192zm-64-768v192H384V128zm64%200h192v192H704zM320%20384v256H128V384zm0%20512H128V704h192zm0-768v192H128V128z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M640%20384v256H384V384zm64%200h192v256H704zm-64%20512H384V704h256zm64%200V704h192v192zm-64-768v192H384V128zm64%200h192v192H704zM320%20384v256H128V384zm0%20512H128V704h192zm0-768v192H128V128z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-help{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M926.784%20480H701.312A192.51%20192.51%200%200%200%20544%20322.688V97.216A416.064%20416.064%200%200%201%20926.784%20480m0%2064A416.064%20416.064%200%200%201%20544%20926.784V701.312A192.51%20192.51%200%200%200%20701.312%20544zM97.28%20544h225.472A192.51%20192.51%200%200%200%20480%20701.312v225.472A416.064%20416.064%200%200%201%2097.216%20544zm0-64A416.064%20416.064%200%200%201%20480%2097.216v225.472A192.51%20192.51%200%200%200%20322.688%20480H97.216z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M926.784%20480H701.312A192.51%20192.51%200%200%200%20544%20322.688V97.216A416.064%20416.064%200%200%201%20926.784%20480m0%2064A416.064%20416.064%200%200%201%20544%20926.784V701.312A192.51%20192.51%200%200%200%20701.312%20544zM97.28%20544h225.472A192.51%20192.51%200%200%200%20480%20701.312v225.472A416.064%20416.064%200%200%201%2097.216%20544zm0-64A416.064%20416.064%200%200%201%20480%2097.216v225.472A192.51%20192.51%200%200%200%20322.688%20480H97.216z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-home{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20128%20128%20447.936V896h255.936V640H640v256h255.936V447.936z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20128%20128%20447.936V896h255.936V640H640v256h255.936V447.936z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-management{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M128%20384v448h768V384zm-32-64h832a32%2032%200%200%201%2032%2032v512a32%2032%200%200%201-32%2032H96a32%2032%200%200%201-32-32V352a32%2032%200%200%201%2032-32m64-128h704v64H160zm96-128h512v64H256z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M128%20384v448h768V384zm-32-64h832a32%2032%200%200%201%2032%2032v512a32%2032%200%200%201-32%2032H96a32%2032%200%200%201-32-32V352a32%2032%200%200%201%2032-32m64-128h704v64H160zm96-128h512v64H256z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-market{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%2064a64%2064%200%200%201%2064%2064v64H448v-64a64%2064%200%200%201%2064-64%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M256%20768h512V448a256%20256%200%201%200-512%200zm256-640a320%20320%200%200%201%20320%20320v384H192V448a320%20320%200%200%201%20320-320%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M96%20768h832q32%200%2032%2032t-32%2032H96q-32%200-32-32t32-32m352%20128h128a64%2064%200%200%201-128%200%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%2064a64%2064%200%200%201%2064%2064v64H448v-64a64%2064%200%200%201%2064-64%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M256%20768h512V448a256%20256%200%201%200-512%200zm256-640a320%20320%200%200%201%20320%20320v384H192V448a320%20320%200%200%201%20320-320%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M96%20768h832q32%200%2032%2032t-32%2032H96q-32%200-32-32t32-32m352%20128h128a64%2064%200%200%201-128%200%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-marketing{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m665.216%20768%20110.848%20192h-73.856L591.36%20768H433.024L322.176%20960H248.32l110.848-192H160a32%2032%200%200%201-32-32V192H64a32%2032%200%200%201%200-64h896a32%2032%200%201%201%200%2064h-64v544a32%2032%200%200%201-32%2032zM832%20192H192v512h640zM352%20448a32%2032%200%200%201%2032%2032v64a32%2032%200%200%201-64%200v-64a32%2032%200%200%201%2032-32m160-64a32%2032%200%200%201%2032%2032v128a32%2032%200%200%201-64%200V416a32%2032%200%200%201%2032-32m160-64a32%2032%200%200%201%2032%2032v192a32%2032%200%201%201-64%200V352a32%2032%200%200%201%2032-32%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m665.216%20768%20110.848%20192h-73.856L591.36%20768H433.024L322.176%20960H248.32l110.848-192H160a32%2032%200%200%201-32-32V192H64a32%2032%200%200%201%200-64h896a32%2032%200%201%201%200%2064h-64v544a32%2032%200%200%201-32%2032zM832%20192H192v512h640zM352%20448a32%2032%200%200%201%2032%2032v64a32%2032%200%200%201-64%200v-64a32%2032%200%200%201%2032-32m160-64a32%2032%200%200%201%2032%2032v128a32%2032%200%200%201-64%200V416a32%2032%200%200%201%2032-32m160-64a32%2032%200%200%201%2032%2032v192a32%2032%200%201%201-64%200V352a32%2032%200%200%201%2032-32%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-open{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M329.956%20257.138a254.862%20254.862%200%200%200%200%20509.724h364.088a254.862%20254.862%200%200%200%200-509.724zm0-72.818h364.088a327.68%20327.68%200%201%201%200%20655.36H329.956a327.68%20327.68%200%201%201%200-655.36%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M694.044%20621.227a109.227%20109.227%200%201%200%200-218.454%20109.227%20109.227%200%200%200%200%20218.454m0%2072.817a182.044%20182.044%200%201%201%200-364.088%20182.044%20182.044%200%200%201%200%20364.088%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M329.956%20257.138a254.862%20254.862%200%200%200%200%20509.724h364.088a254.862%20254.862%200%200%200%200-509.724zm0-72.818h364.088a327.68%20327.68%200%201%201%200%20655.36H329.956a327.68%20327.68%200%201%201%200-655.36%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M694.044%20621.227a109.227%20109.227%200%201%200%200-218.454%20109.227%20109.227%200%200%200%200%20218.454m0%2072.817a182.044%20182.044%200%201%201%200-364.088%20182.044%20182.044%200%200%201%200%20364.088%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-operation{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M389.44%20768a96.064%2096.064%200%200%201%20181.12%200H896v64H570.56a96.064%2096.064%200%200%201-181.12%200H128v-64zm192-288a96.064%2096.064%200%200%201%20181.12%200H896v64H762.56a96.064%2096.064%200%200%201-181.12%200H128v-64zm-320-288a96.064%2096.064%200%200%201%20181.12%200H896v64H442.56a96.064%2096.064%200%200%201-181.12%200H128v-64z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M389.44%20768a96.064%2096.064%200%200%201%20181.12%200H896v64H570.56a96.064%2096.064%200%200%201-181.12%200H128v-64zm192-288a96.064%2096.064%200%200%201%20181.12%200H896v64H762.56a96.064%2096.064%200%200%201-181.12%200H128v-64zm-320-288a96.064%2096.064%200%200%201%20181.12%200H896v64H442.56a96.064%2096.064%200%200%201-181.12%200H128v-64z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-opportunity{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M384%20960v-64h192.064v64zm448-544a350.66%20350.66%200%200%201-128.32%20271.424C665.344%20719.04%20640%20763.776%20640%20813.504V832H320v-14.336c0-48-19.392-95.36-57.216-124.992a351.55%20351.55%200%200%201-128.448-344.256c25.344-136.448%20133.888-248.128%20269.76-276.48A352.384%20352.384%200%200%201%20832%20416m-544%2032c0-132.288%2075.904-224%20192-224v-64c-154.432%200-256%20122.752-256%20288z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M384%20960v-64h192.064v64zm448-544a350.66%20350.66%200%200%201-128.32%20271.424C665.344%20719.04%20640%20763.776%20640%20813.504V832H320v-14.336c0-48-19.392-95.36-57.216-124.992a351.55%20351.55%200%200%201-128.448-344.256c25.344-136.448%20133.888-248.128%20269.76-276.48A352.384%20352.384%200%200%201%20832%20416m-544%2032c0-132.288%2075.904-224%20192-224v-64c-154.432%200-256%20122.752-256%20288z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-order{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M704%20192h160v736H160V192h160v64h384zM288%20512h448v-64H288zm0%20256h448v-64H288zm96-576V96h256v96z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M704%20192h160v736H160V192h160v64h384zM288%20512h448v-64H288zm0%20256h448v-64H288zm96-576V96h256v96z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-platform{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M544%20768v128h192a32%2032%200%201%201%200%2064H288a32%2032%200%201%201%200-64h192V768H192A128%20128%200%200%201%2064%20640V256a128%20128%200%200%201%20128-128h640a128%20128%200%200%201%20128%20128v384a128%20128%200%200%201-128%20128zM192%20192a64%2064%200%200%200-64%2064v384a64%2064%200%200%200%2064%2064h640a64%2064%200%200%200%2064-64V256a64%2064%200%200%200-64-64z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M544%20768v128h192a32%2032%200%201%201%200%2064H288a32%2032%200%201%201%200-64h192V768H192A128%20128%200%200%201%2064%20640V256a128%20128%200%200%201%20128-128h640a128%20128%200%200%201%20128%20128v384a128%20128%200%200%201-128%20128zM192%20192a64%2064%200%200%200-64%2064v384a64%2064%200%200%200%2064%2064h640a64%2064%200%200%200%2064-64V256a64%2064%200%200%200-64-64z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-platform1{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M544%20768v128h192a32%2032%200%201%201%200%2064H288a32%2032%200%201%201%200-64h192V768H192A128%20128%200%200%201%2064%20640V256a128%20128%200%200%201%20128-128h640a128%20128%200%200%201%20128%20128v384a128%20128%200%200%201-128%20128zM192%20192a64%2064%200%200%200-64%2064v384a64%2064%200%200%200%2064%2064h640a64%2064%200%200%200%2064-64V256a64%2064%200%200%200-64-64z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M544%20768v128h192a32%2032%200%201%201%200%2064H288a32%2032%200%201%201%200-64h192V768H192A128%20128%200%200%201%2064%20640V256a128%20128%200%200%201%20128-128h640a128%20128%200%200%201%20128%20128v384a128%20128%200%200%201-128%20128zM192%20192a64%2064%200%200%200-64%2064v384a64%2064%200%200%200%2064%2064h640a64%2064%200%200%200%2064-64V256a64%2064%200%200%200-64-64z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-promotion{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m64%20448%20832-320-128%20704-446.08-243.328L832%20192%20242.816%20545.472zm256%20512V657.024L512%20768z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m64%20448%20832-320-128%20704-446.08-243.328L832%20192%20242.816%20545.472zm256%20512V657.024L512%20768z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-shop{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M432%20928a48%2048%200%201%201%200-96%2048%2048%200%200%201%200%2096m320%200a48%2048%200%201%201%200-96%2048%2048%200%200%201%200%2096M96%20128a32%2032%200%200%201%200-64h160a32%2032%200%200%201%2031.36%2025.728L320.64%20256H928a32%2032%200%200%201%2031.296%2038.72l-96%20448A32%2032%200%200%201%20832%20768H384a32%2032%200%200%201-31.36-25.728L229.76%20128zm314.24%20576h395.904l82.304-384H333.44z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M432%20928a48%2048%200%201%201%200-96%2048%2048%200%200%201%200%2096m320%200a48%2048%200%201%201%200-96%2048%2048%200%200%201%200%2096M96%20128a32%2032%200%200%201%200-64h160a32%2032%200%200%201%2031.36%2025.728L320.64%20256H928a32%2032%200%200%201%2031.296%2038.72l-96%20448A32%2032%200%200%201%20832%20768H384a32%2032%200%200%201-31.36-25.728L229.76%20128zm314.24%20576h395.904l82.304-384H333.44z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-ticket{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M640%20832H64V640a128%20128%200%201%200%200-256V192h576v160h64V192h256v192a128%20128%200%201%200%200%20256v192H704V672h-64zm0-416v192h64V416z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M640%20832H64V640a128%20128%200%201%200%200-256V192h576v160h64V192h256v192a128%20128%200%201%200%200%20256v192H704V672h-64zm0-416v192h64V416z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-tools{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M764.416%20254.72a351.7%20351.7%200%200%201%2086.336%20149.184H960v192.064H850.752a351.7%20351.7%200%200%201-86.336%20149.312l54.72%2094.72-166.272%2096-54.592-94.72a352.64%20352.64%200%200%201-172.48%200L371.136%20936l-166.272-96%2054.72-94.72a351.7%20351.7%200%200%201-86.336-149.312H64v-192h109.248a351.7%20351.7%200%200%201%2086.336-149.312L204.8%20160l166.208-96h.192l54.656%2094.592a352.64%20352.64%200%200%201%20172.48%200L652.8%2064h.128L819.2%20160l-54.72%2094.72zM704%20499.968a192%20192%200%201%200-384%200%20192%20192%200%200%200%20384%200%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M764.416%20254.72a351.7%20351.7%200%200%201%2086.336%20149.184H960v192.064H850.752a351.7%20351.7%200%200%201-86.336%20149.312l54.72%2094.72-166.272%2096-54.592-94.72a352.64%20352.64%200%200%201-172.48%200L371.136%20936l-166.272-96%2054.72-94.72a351.7%20351.7%200%200%201-86.336-149.312H64v-192h109.248a351.7%20351.7%200%200%201%2086.336-149.312L204.8%20160l166.208-96h.192l54.656%2094.592a352.64%20352.64%200%200%201%20172.48%200L652.8%2064h.128L819.2%20160l-54.72%2094.72zM704%20499.968a192%20192%200%201%200-384%200%20192%20192%200%200%200%20384%200%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-s-unfold{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M128%20192h768v128H128zm0%20256h512v128H128zm0%20256h768v128H128zm576-352%20192%20160-192%20128z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M128%20192h768v128H128zm0%20256h512v128H128zm0%20256h768v128H128zm576-352%20192%20160-192%20128z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-search{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m795.904%20750.72%20124.992%20124.928a32%2032%200%200%201-45.248%2045.248L750.656%20795.904a416%20416%200%201%201%2045.248-45.248zM480%20832a352%20352%200%201%200%200-704%20352%20352%200%200%200%200%20704%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m795.904%20750.72%20124.992%20124.928a32%2032%200%200%201-45.248%2045.248L750.656%20795.904a416%20416%200%201%201%2045.248-45.248zM480%20832a352%20352%200%201%200%200-704%20352%20352%200%200%200%200%20704%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-setting{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M600.704%2064a32%2032%200%200%201%2030.464%2022.208l35.2%20109.376c14.784%207.232%2028.928%2015.36%2042.432%2024.512l112.384-24.192a32%2032%200%200%201%2034.432%2015.36L944.32%20364.8a32%2032%200%200%201-4.032%2037.504l-77.12%2085.12a357%20357%200%200%201%200%2049.024l77.12%2085.248a32%2032%200%200%201%204.032%2037.504l-88.704%20153.6a32%2032%200%200%201-34.432%2015.296L708.8%20803.904c-13.44%209.088-27.648%2017.28-42.368%2024.512l-35.264%20109.376A32%2032%200%200%201%20600.704%20960H423.296a32%2032%200%200%201-30.464-22.208L357.696%20828.48a352%20352%200%200%201-42.56-24.64l-112.32%2024.256a32%2032%200%200%201-34.432-15.36L79.68%20659.2a32%2032%200%200%201%204.032-37.504l77.12-85.248a357%20357%200%200%201%200-48.896l-77.12-85.248A32%2032%200%200%201%2079.68%20364.8l88.704-153.6a32%2032%200%200%201%2034.432-15.296l112.32%2024.256c13.568-9.152%2027.776-17.408%2042.56-24.64l35.2-109.312A32%2032%200%200%201%20423.232%2064H600.64zm-23.424%2064H446.72l-36.352%20113.088-24.512%2011.968a294%20294%200%200%200-34.816%2020.096l-22.656%2015.36-116.224-25.088-65.28%20113.152%2079.68%2088.192-1.92%2027.136a293%20293%200%200%200%200%2040.192l1.92%2027.136-79.808%2088.192%2065.344%20113.152%20116.224-25.024%2022.656%2015.296a294%20294%200%200%200%2034.816%2020.096l24.512%2011.968L446.72%20896h130.688l36.48-113.152%2024.448-11.904a288%20288%200%200%200%2034.752-20.096l22.592-15.296%20116.288%2025.024%2065.28-113.152-79.744-88.192%201.92-27.136a293%20293%200%200%200%200-40.256l-1.92-27.136%2079.808-88.128-65.344-113.152-116.288%2024.96-22.592-15.232a288%20288%200%200%200-34.752-20.096l-24.448-11.904L577.344%20128zM512%20320a192%20192%200%201%201%200%20384%20192%20192%200%200%201%200-384m0%2064a128%20128%200%201%200%200%20256%20128%20128%200%200%200%200-256%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M600.704%2064a32%2032%200%200%201%2030.464%2022.208l35.2%20109.376c14.784%207.232%2028.928%2015.36%2042.432%2024.512l112.384-24.192a32%2032%200%200%201%2034.432%2015.36L944.32%20364.8a32%2032%200%200%201-4.032%2037.504l-77.12%2085.12a357%20357%200%200%201%200%2049.024l77.12%2085.248a32%2032%200%200%201%204.032%2037.504l-88.704%20153.6a32%2032%200%200%201-34.432%2015.296L708.8%20803.904c-13.44%209.088-27.648%2017.28-42.368%2024.512l-35.264%20109.376A32%2032%200%200%201%20600.704%20960H423.296a32%2032%200%200%201-30.464-22.208L357.696%20828.48a352%20352%200%200%201-42.56-24.64l-112.32%2024.256a32%2032%200%200%201-34.432-15.36L79.68%20659.2a32%2032%200%200%201%204.032-37.504l77.12-85.248a357%20357%200%200%201%200-48.896l-77.12-85.248A32%2032%200%200%201%2079.68%20364.8l88.704-153.6a32%2032%200%200%201%2034.432-15.296l112.32%2024.256c13.568-9.152%2027.776-17.408%2042.56-24.64l35.2-109.312A32%2032%200%200%201%20423.232%2064H600.64zm-23.424%2064H446.72l-36.352%20113.088-24.512%2011.968a294%20294%200%200%200-34.816%2020.096l-22.656%2015.36-116.224-25.088-65.28%20113.152%2079.68%2088.192-1.92%2027.136a293%20293%200%200%200%200%2040.192l1.92%2027.136-79.808%2088.192%2065.344%20113.152%20116.224-25.024%2022.656%2015.296a294%20294%200%200%200%2034.816%2020.096l24.512%2011.968L446.72%20896h130.688l36.48-113.152%2024.448-11.904a288%20288%200%200%200%2034.752-20.096l22.592-15.296%20116.288%2025.024%2065.28-113.152-79.744-88.192%201.92-27.136a293%20293%200%200%200%200-40.256l-1.92-27.136%2079.808-88.128-65.344-113.152-116.288%2024.96-22.592-15.232a288%20288%200%200%200-34.752-20.096l-24.448-11.904L577.344%20128zM512%20320a192%20192%200%201%201%200%20384%20192%20192%200%200%201%200-384m0%2064a128%20128%200%201%200%200%20256%20128%20128%200%200%200%200-256%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-share{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m679.872%20348.8-301.76%20188.608a127.8%20127.8%200%200%201%205.12%2052.16l279.936%20104.96a128%20128%200%201%201-22.464%2059.904l-279.872-104.96a128%20128%200%201%201-16.64-166.272l301.696-188.608a128%20128%200%201%201%2033.92%2054.272z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m679.872%20348.8-301.76%20188.608a127.8%20127.8%200%200%201%205.12%2052.16l279.936%20104.96a128%20128%200%201%201-22.464%2059.904l-279.872-104.96a128%20128%200%201%201-16.64-166.272l301.696-188.608a128%20128%200%201%201%2033.92%2054.272z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-star-off{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m512%20747.84%20228.16%20119.936a6.4%206.4%200%200%200%209.28-6.72l-43.52-254.08%20184.512-179.904a6.4%206.4%200%200%200-3.52-10.88l-255.104-37.12L517.76%20147.904a6.4%206.4%200%200%200-11.52%200L392.192%20379.072l-255.104%2037.12a6.4%206.4%200%200%200-3.52%2010.88L318.08%20606.976l-43.584%20254.08a6.4%206.4%200%200%200%209.28%206.72zM313.6%20924.48a70.4%2070.4%200%200%201-102.144-74.24l37.888-220.928L88.96%20472.96A70.4%2070.4%200%200%201%20128%20352.896l221.76-32.256%2099.2-200.96a70.4%2070.4%200%200%201%20126.208%200l99.2%20200.96%20221.824%2032.256a70.4%2070.4%200%200%201%2039.04%20120.064L774.72%20629.376l37.888%20220.928a70.4%2070.4%200%200%201-102.144%2074.24L512%20820.096l-198.4%20104.32z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m512%20747.84%20228.16%20119.936a6.4%206.4%200%200%200%209.28-6.72l-43.52-254.08%20184.512-179.904a6.4%206.4%200%200%200-3.52-10.88l-255.104-37.12L517.76%20147.904a6.4%206.4%200%200%200-11.52%200L392.192%20379.072l-255.104%2037.12a6.4%206.4%200%200%200-3.52%2010.88L318.08%20606.976l-43.584%20254.08a6.4%206.4%200%200%200%209.28%206.72zM313.6%20924.48a70.4%2070.4%200%200%201-102.144-74.24l37.888-220.928L88.96%20472.96A70.4%2070.4%200%200%201%20128%20352.896l221.76-32.256%2099.2-200.96a70.4%2070.4%200%200%201%20126.208%200l99.2%20200.96%20221.824%2032.256a70.4%2070.4%200%200%201%2039.04%20120.064L774.72%20629.376l37.888%20220.928a70.4%2070.4%200%200%201-102.144%2074.24L512%20820.096l-198.4%20104.32z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-star-on{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M313.6%20924.48a70.4%2070.4%200%200%201-74.152-5.365%2070.4%2070.4%200%200%201-27.992-68.875l37.888-220.928L88.96%20472.96a70.4%2070.4%200%200%201%203.788-104.225A70.4%2070.4%200%200%201%20128%20352.896l221.76-32.256%2099.2-200.96a70.4%2070.4%200%200%201%20100.246-28.595%2070.4%2070.4%200%200%201%2025.962%2028.595l99.2%20200.96%20221.824%2032.256a70.4%2070.4%200%200%201%2039.04%20120.064L774.72%20629.376l37.888%20220.928a70.4%2070.4%200%200%201-102.144%2074.24L512%20820.096l-198.4%20104.32z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M313.6%20924.48a70.4%2070.4%200%200%201-74.152-5.365%2070.4%2070.4%200%200%201-27.992-68.875l37.888-220.928L88.96%20472.96a70.4%2070.4%200%200%201%203.788-104.225A70.4%2070.4%200%200%201%20128%20352.896l221.76-32.256%2099.2-200.96a70.4%2070.4%200%200%201%20100.246-28.595%2070.4%2070.4%200%200%201%2025.962%2028.595l99.2%20200.96%20221.824%2032.256a70.4%2070.4%200%200%201%2039.04%20120.064L774.72%20629.376l37.888%20220.928a70.4%2070.4%200%200%201-102.144%2074.24L512%20820.096l-198.4%20104.32z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-success{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M745.344%20361.344a32%2032%200%200%201%2045.312%2045.312l-288%20288a32%2032%200%200%201-45.312%200l-160-160a32%2032%200%201%201%2045.312-45.312L480%20626.752z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M745.344%20361.344a32%2032%200%200%201%2045.312%2045.312l-288%20288a32%2032%200%200%201-45.312%200l-160-160a32%2032%200%201%201%2045.312-45.312L480%20626.752z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-tickets{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M192%20128v768h640V128zm-32-64h704a32%2032%200%200%201%2032%2032v832a32%2032%200%200%201-32%2032H160a32%2032%200%200%201-32-32V96a32%2032%200%200%201%2032-32m160%20448h384v64H320zm0-192h192v64H320zm0%20384h384v64H320z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M192%20128v768h640V128zm-32-64h704a32%2032%200%200%201%2032%2032v832a32%2032%200%200%201-32%2032H160a32%2032%200%200%201-32-32V96a32%2032%200%200%201%2032-32m160%20448h384v64H320zm0-192h192v64H320zm0%20384h384v64H320z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-time{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M480%20256a32%2032%200%200%201%2032%2032v256a32%2032%200%200%201-64%200V288a32%2032%200%200%201%2032-32%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M480%20512h256q32%200%2032%2032t-32%2032H480q-32%200-32-32t32-32%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20896a384%20384%200%201%200%200-768%20384%20384%200%200%200%200%20768m0%2064a448%20448%200%201%201%200-896%20448%20448%200%200%201%200%20896%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M480%20256a32%2032%200%200%201%2032%2032v256a32%2032%200%200%201-64%200V288a32%2032%200%200%201%2032-32%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M480%20512h256q32%200%2032%2032t-32%2032H480q-32%200-32-32t32-32%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-upload{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M160%20832h704a32%2032%200%201%201%200%2064H160a32%2032%200%201%201%200-64m384-578.304V704h-64V247.296L237.248%20490.048%20192%20444.8%20508.8%20128l316.8%20316.8-45.312%2045.248z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M160%20832h704a32%2032%200%201%201%200%2064H160a32%2032%200%201%201%200-64m384-578.304V704h-64V247.296L237.248%20490.048%20192%20444.8%20508.8%20128l316.8%20316.8-45.312%2045.248z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-upload2{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M160%20832h704a32%2032%200%201%201%200%2064H160a32%2032%200%201%201%200-64m384-578.304V704h-64V247.296L237.248%20490.048%20192%20444.8%20508.8%20128l316.8%20316.8-45.312%2045.248z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M160%20832h704a32%2032%200%201%201%200%2064H160a32%2032%200%201%201%200-64m384-578.304V704h-64V247.296L237.248%20490.048%20192%20444.8%20508.8%20128l316.8%20316.8-45.312%2045.248z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-user{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20512a192%20192%200%201%200%200-384%20192%20192%200%200%200%200%20384m0%2064a256%20256%200%201%201%200-512%20256%20256%200%200%201%200%20512m320%20320v-96a96%2096%200%200%200-96-96H288a96%2096%200%200%200-96%2096v96a32%2032%200%201%201-64%200v-96a160%20160%200%200%201%20160-160h448a160%20160%200%200%201%20160%20160v96a32%2032%200%201%201-64%200%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20512a192%20192%200%201%200%200-384%20192%20192%200%200%200%200%20384m0%2064a256%20256%200%201%201%200-512%20256%20256%200%200%201%200%20512m320%20320v-96a96%2096%200%200%200-96-96H288a96%2096%200%200%200-96%2096v96a32%2032%200%201%201-64%200v-96a160%20160%200%200%201%20160-160h448a160%20160%200%200%201%20160%20160v96a32%2032%200%201%201-64%200%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-user-solid{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M288%20320a224%20224%200%201%200%20448%200%20224%20224%200%201%200-448%200m544%20608H160a32%2032%200%200%201-32-32v-96a160%20160%200%200%201%20160-160h448a160%20160%200%200%201%20160%20160v96a32%2032%200%200%201-32%2032z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M288%20320a224%20224%200%201%200%20448%200%20224%20224%200%201%200-448%200m544%20608H160a32%2032%200%200%201-32-32v-96a160%20160%200%200%201%20160-160h448a160%20160%200%200%201%20160%20160v96a32%2032%200%200%201-32%2032z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-video-camera{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M704%20768V256H128v512zm64-416%20192-96v512l-192-96v128a32%2032%200%200%201-32%2032H96a32%2032%200%200%201-32-32V224a32%2032%200%200%201%2032-32h640a32%2032%200%200%201%2032%2032zm0%2071.552v176.896l128%2064V359.552zM192%20320h192v64H192z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M704%20768V256H128v512zm64-416%20192-96v512l-192-96v128a32%2032%200%200%201-32%2032H96a32%2032%200%200%201-32-32V224a32%2032%200%200%201%2032-32h640a32%2032%200%200%201%2032%2032zm0%2071.552v176.896l128%2064V359.552zM192%20320h192v64H192z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-video-camera-solid{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m768%20576%20192-64v320l-192-64v96a32%2032%200%200%201-32%2032H96a32%2032%200%200%201-32-32V480a32%2032%200%200%201%2032-32h640a32%2032%200%200%201%2032%2032zM192%20768v64h384v-64zm192-480a160%20160%200%200%201%20320%200%20160%20160%200%200%201-320%200m64%200a96%2096%200%201%200%20192.064-.064A96%2096%200%200%200%20448%20288m-320%2032a128%20128%200%201%201%20256.064.064A128%20128%200%200%201%20128%20320m64%200a64%2064%200%201%200%20128%200%2064%2064%200%200%200-128%200%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m768%20576%20192-64v320l-192-64v96a32%2032%200%200%201-32%2032H96a32%2032%200%200%201-32-32V480a32%2032%200%200%201%2032-32h640a32%2032%200%200%201%2032%2032zM192%20768v64h384v-64zm192-480a160%20160%200%200%201%20320%200%20160%20160%200%200%201-320%200m64%200a96%2096%200%201%200%20192.064-.064A96%2096%200%200%200%20448%20288m-320%2032a128%20128%200%201%201%20256.064.064A128%20128%200%200%201%20128%20320m64%200a64%2064%200%201%200%20128%200%2064%2064%200%200%200-128%200%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-video-play{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%2064a448%20448%200%201%201%200%20896%20448%20448%200%200%201%200-896m0%20832a384%20384%200%200%200%200-768%20384%20384%200%200%200%200%20768m-48-247.616L668.608%20512%20464%20375.616zm10.624-342.656%20249.472%20166.336a48%2048%200%200%201%200%2079.872L474.624%20718.272A48%2048%200%200%201%20400%20678.336V345.6a48%2048%200%200%201%2074.624-39.936z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%2064a448%20448%200%201%201%200%20896%20448%20448%200%200%201%200-896m0%20832a384%20384%200%200%200%200-768%20384%20384%200%200%200%200%20768m-48-247.616L668.608%20512%20464%20375.616zm10.624-342.656%20249.472%20166.336a48%2048%200%200%201%200%2079.872L474.624%20718.272A48%2048%200%200%201%20400%20678.336V345.6a48%2048%200%200%201%2074.624-39.936z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-view{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20160c320%200%20512%20352%20512%20352S832%20864%20512%20864%200%20512%200%20512s192-352%20512-352m0%2064c-225.28%200-384.128%20208.064-436.8%20288%2052.608%2079.872%20211.456%20288%20436.8%20288%20225.28%200%20384.128-208.064%20436.8-288-52.608-79.872-211.456-288-436.8-288m0%2064a224%20224%200%201%201%200%20448%20224%20224%200%200%201%200-448m0%2064a160.19%20160.19%200%200%200-160%20160c0%2088.192%2071.744%20160%20160%20160s160-71.808%20160-160-71.744-160-160-160%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20160c320%200%20512%20352%20512%20352S832%20864%20512%20864%200%20512%200%20512s192-352%20512-352m0%2064c-225.28%200-384.128%20208.064-436.8%20288%2052.608%2079.872%20211.456%20288%20436.8%20288%20225.28%200%20384.128-208.064%20436.8-288-52.608-79.872-211.456-288-436.8-288m0%2064a224%20224%200%201%201%200%20448%20224%20224%200%200%201%200-448m0%2064a160.19%20160.19%200%200%200-160%20160c0%2088.192%2071.744%20160%20160%20160s160-71.808%20160-160-71.744-160-160-160%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-warning{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%2064a448%20448%200%201%201%200%20896%20448%20448%200%200%201%200-896m0%20832a384%20384%200%200%200%200-768%20384%20384%200%200%200%200%20768m48-176a48%2048%200%201%201-96%200%2048%2048%200%200%201%2096%200m-48-464a32%2032%200%200%201%2032%2032v288a32%2032%200%200%201-64%200V288a32%2032%200%200%201%2032-32%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%2064a448%20448%200%201%201%200%20896%20448%20448%200%200%201%200-896m0%20832a384%20384%200%200%200%200-768%20384%20384%200%200%200%200%20768m48-176a48%2048%200%201%201-96%200%2048%2048%200%200%201%2096%200m-48-464a32%2032%200%200%201%2032%2032v288a32%2032%200%200%201-64%200V288a32%2032%200%200%201%2032-32%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-warning-outline{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%2064a448%20448%200%201%201%200%20896%20448%20448%200%200%201%200-896m0%20832a384%20384%200%200%200%200-768%20384%20384%200%200%200%200%20768m48-176a48%2048%200%201%201-96%200%2048%2048%200%200%201%2096%200m-48-464a32%2032%200%200%201%2032%2032v288a32%2032%200%200%201-64%200V288a32%2032%200%200%201%2032-32%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%2064a448%20448%200%201%201%200%20896%20448%20448%200%200%201%200-896m0%20832a384%20384%200%200%200%200-768%20384%20384%200%200%200%200%20768m48-176a48%2048%200%201%201-96%200%2048%2048%200%200%201%2096%200m-48-464a32%2032%200%200%201%2032%2032v288a32%2032%200%200%201-64%200V288a32%2032%200%200%201%2032-32%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-yuan{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m161.92%20580.736%2029.888%2058.88C171.328%20659.776%20160%20681.728%20160%20704c0%2082.304%20155.328%20160%20352%20160s352-77.696%20352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936%20615.808%20928%20657.664%20928%20704c0%20129.728-188.544%20224-416%20224S96%20833.728%2096%20704c0-46.592%2024.32-88.576%2065.92-123.264%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m161.92%20388.736%2029.888%2058.88C171.328%20467.84%20160%20489.792%20160%20512c0%2082.304%20155.328%20160%20352%20160s352-77.696%20352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936%20423.808%20928%20465.664%20928%20512c0%20129.728-188.544%20224-416%20224S96%20641.728%2096%20512c0-46.592%2024.32-88.576%2065.92-123.264%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20544c-227.456%200-416-94.272-416-224S284.544%2096%20512%2096s416%2094.272%20416%20224-188.544%20224-416%20224m0-64c196.672%200%20352-77.696%20352-160S708.672%20160%20512%20160s-352%2077.696-352%20160%20155.328%20160%20352%20160%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m161.92%20580.736%2029.888%2058.88C171.328%20659.776%20160%20681.728%20160%20704c0%2082.304%20155.328%20160%20352%20160s352-77.696%20352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936%20615.808%20928%20657.664%20928%20704c0%20129.728-188.544%20224-416%20224S96%20833.728%2096%20704c0-46.592%2024.32-88.576%2065.92-123.264%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m161.92%20388.736%2029.888%2058.88C171.328%20467.84%20160%20489.792%20160%20512c0%2082.304%20155.328%20160%20352%20160s352-77.696%20352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936%20423.808%20928%20465.664%20928%20512c0%20129.728-188.544%20224-416%20224S96%20641.728%2096%20512c0-46.592%2024.32-88.576%2065.92-123.264%22%2F%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M512%20544c-227.456%200-416-94.272-416-224S284.544%2096%20512%2096s416%2094.272%20416%20224-188.544%20224-416%20224m0-64c196.672%200%20352-77.696%20352-160S708.672%20160%20512%20160s-352%2077.696-352%20160%20155.328%20160%20352%20160%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-zoom-in{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m795.904%20750.72%20124.992%20124.928a32%2032%200%200%201-45.248%2045.248L750.656%20795.904a416%20416%200%201%201%2045.248-45.248zM480%20832a352%20352%200%201%200%200-704%20352%20352%200%200%200%200%20704m-32-384v-96a32%2032%200%200%201%2064%200v96h96a32%2032%200%200%201%200%2064h-96v96a32%2032%200%200%201-64%200v-96h-96a32%2032%200%200%201%200-64z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m795.904%20750.72%20124.992%20124.928a32%2032%200%200%201-45.248%2045.248L750.656%20795.904a416%20416%200%201%201%2045.248-45.248zM480%20832a352%20352%200%201%200%200-704%20352%20352%200%200%200%200%20704m-32-384v-96a32%2032%200%200%201%2064%200v96h96a32%2032%200%200%201%200%2064h-96v96a32%2032%200%200%201-64%200v-96h-96a32%2032%200%200%201%200-64z%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-zoom-out{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m795.904%20750.72%20124.992%20124.928a32%2032%200%200%201-45.248%2045.248L750.656%20795.904a416%20416%200%201%201%2045.248-45.248zM480%20832a352%20352%200%201%200%200-704%20352%20352%200%200%200%200%20704M352%20448h256a32%2032%200%200%201%200%2064H352a32%2032%200%200%201%200-64%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain;mask:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22m795.904%20750.72%20124.992%20124.928a32%2032%200%200%201-45.248%2045.248L750.656%20795.904a416%20416%200%201%201%2045.248-45.248zM480%20832a352%20352%200%201%200%200-704%20352%20352%200%200%200%200%20704M352%20448h256a32%2032%200%200%201%200%2064H352a32%2032%200%200%201%200-64%22%2F%3E%3C%2Fsvg%3E) no-repeat center / contain}.el-icon-loading{-webkit-animation:el-icon-compat-rotating 2s linear infinite;animation:el-icon-compat-rotating 2s linear infinite}@-webkit-keyframes el-icon-compat-rotating{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes el-icon-compat-rotating{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.pagination-container[data-v-56a06556]{background:#fff}.pagination-container.hidden[data-v-56a06556]{display:none}.header-title[data-v-7eb79b6f]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.header-main[data-v-7eb79b6f]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;min-width:0;gap:16px}.header-description[data-v-7eb79b6f]{color:var(--prev-color-text-secondary);font-size:12px;line-height:18px}.header-description-icon[data-v-7eb79b6f]{font-size:14px;color:var(--prev-color-primary);vertical-align:-2px;margin-right:2px}.after-line[data-v-7eb79b6f]{display:inline-block;position:relative;margin-right:16px;color:#000000d9;cursor:pointer;-ms-flex-item-align:center;align-self:center}.after-line[data-v-7eb79b6f]:after{content:"";position:absolute;top:0;right:-16px;width:1px;height:16px;background:#eee}.font-sm[data-v-7eb79b6f]{font-size:14px}.iview-icon-compat[data-v-dbc9fa09]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;vertical-align:middle;line-height:1}[data-v-44005f19] .el-dialog__title{font-size:16px}.main[data-v-44005f19]{min-height:410px}.pictrue[data-v-44005f19]{width:60px!important;height:60px!important;border:1px dotted rgba(0,0,0,.1);margin-right:10px;position:relative;cursor:pointer}.pictrue img[data-v-44005f19]{width:100%;height:100%}.btndel[data-v-44005f19]{position:absolute;z-index:1;font-size:18px;right:-5px;top:-5px;color:#999}.form-width[data-v-44005f19]{width:280px;max-width:100%}.tq-text[data-v-44005f19]{margin-left:14px;font-size:12px;font-weight:400;color:var(--prev-color-primary);cursor:pointer}.uploadCont[data-v-44005f19] .el-upload--picture-card,[data-v-44005f19] .el-upload-list--picture-card .el-upload-list__item{width:64px;height:64px;line-height:72px;overflow:inherit}.uploadCont[data-v-44005f19] .el-upload--picture-card,[data-v-44005f19] .el-upload-list--picture-card .el-upload-list__item img{width:64px!important;height:64px!important;border-radius:6px;-o-object-fit:cover;object-fit:cover}.pl100[data-v-44005f19]{padding-left:100px}.img-box[data-v-44005f19]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.tips[data-v-44005f19]{font-size:12px;color:#bbb}.code-image[data-v-44005f19]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:12px}.code-image .left[data-v-44005f19]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-right:20px;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.code-image .left .code[data-v-44005f19]{border:1px solid #dddddd;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:200px;height:200px;border-radius:4px}.code-image .left .code .code-img[data-v-44005f19]{width:160px;height:160px}.code-image .left .form-width[data-v-44005f19]{width:200px}.code-image .left .code[data-v-44005f19]{margin-bottom:14px}.code-image .left .trip[data-v-44005f19]{color:#333;text-align:center;line-height:18px}.code-image .left .trip-small[data-v-44005f19]{font-size:12px;font-weight:400;color:#bbb;text-align:center;line-height:16px}.code-image .right[data-v-44005f19]{margin-top:62px}.code-image .right .tip[data-v-44005f19]{margin:10px 0}@media (max-width: 620px){.main[data-v-44005f19]{min-height:300px}.demo-ruleForm[data-v-44005f19] .el-form-item{display:block}.demo-ruleForm[data-v-44005f19] .el-form-item__label{display:block;width:auto!important;height:auto;margin-bottom:6px;text-align:left}.demo-ruleForm[data-v-44005f19] .el-form-item__content{min-width:0;margin-left:0!important}.demo-ruleForm[data-v-44005f19] .el-radio-group{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px 16px}.demo-ruleForm[data-v-44005f19] .el-radio{margin-right:0}.form-width[data-v-44005f19],.uploadCont[data-v-44005f19]{width:100%;min-width:0}.uploadCont[data-v-44005f19] .el-upload-list--picture-card{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;width:100%}.pl100[data-v-44005f19]{padding-left:0}.code-image[data-v-44005f19]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:16px}.code-image .left[data-v-44005f19]{width:100%;min-width:0;margin-right:0;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.code-image .left .form-width[data-v-44005f19]{width:100%}.code-image .left .code[data-v-44005f19]{max-width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.code-image .left .trip[data-v-44005f19],.code-image .left .trip-small[data-v-44005f19]{width:100%;text-align:left}.code-image .right[data-v-44005f19]{width:100%;min-width:0;margin-top:0}}@font-face{font-family:icomoon;src:url(data:application/vnd.ms-fontobject;base64,4AgAADwIAAABAAIAAAAAAAAAAAAAAAAAAAABAJABAAAAAExQAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAA07p/gAAAAAAAAAAAAAAAAAAAAAAAAA4AaQBjAG8AbQBvAG8AbgAAAA4AUgBlAGcAdQBsAGEAcgAAABYAVgBlAHIAcwBpAG8AbgAgADEALgAwAAAADgBpAGMAbwBtAG8AbwBuAAAAAAAAAQAAAAsAgAADADBPUy8yDxIF+AAAALwAAABgY21hcBdW0o4AAAEcAAAAVGdhc3AAAAAQAAABcAAAAAhnbHlmXV8IXAAAAXgAAARUaGVhZA5OKqMAAAXMAAAANmhoZWEHwgPNAAAGBAAAACRobXR4JgAEfAAABigAAAAwbG9jYQWkBEwAAAZYAAAAGm1heHAAEgBwAAAGdAAAACBuYW1lmUoJ+wAABpQAAAGGcG9zdAADAAAAAAgcAAAAIAADA8cBkAAFAAACmQLMAAAAjwKZAswAAAHrADMBCQAAAAAAAAAAAAAAAAAAAAEQAAAAAAAAAAAAAAAAAAAAAEAAAOkHA8D/wABAA8AAQAAAAAEAAAAAAAAAAAAAACAAAAAAAAMAAAADAAAAHAABAAMAAAAcAAMAAQAAABwABAA4AAAACgAIAAIAAgABACDpB//9//8AAAAAACDpAP/9//8AAf/jFwQAAwABAAAAAAAAAAAAAAABAAH//wAPAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEBMgCbAnsC5QASAAABFAcBBiMiJyY1ETQ3NjMyFwEWAnsL/wAKDw8LCwsLDw8KAQALAcAPC/8ACwsLDwIADwsLC/8ACwAAAAEA2wEuAyUCdwASAAABIicBJjU0NzYzITIXFhUGBwEGAgAPC/8ACwsLDwIADwsLAQr/AAsBLgsBAAoPDwsLCwsPDwr/AAsAAAIAqQCCA0QDHAAmADQAAAEiBhURFAYjISImNRE0NjMhMjY1NCYjISIGFREUFjMhMjY1ETQmIwUWMjcBNjQnJiIHAQYUAzAIDBgR/gcQGBgQAVgIDAwI/pQZJCQZAiIZIwwI/nEGEQYBawYGBhEG/pUGAlIMCP6UEBgYEAH5ERgMCAgMIxn93hkjIxkBgAgMxQYGAW0GEQYGBv6TBhEAAAACAAAAjgQAA8AAJgBGAAABIScuAQcjIgYVERczHgEzITUhBxE0NjM3Fx4BMyEyFh0BMzU0JiMTIzU0JiMiBh0BIyIGFRQWOwEVFBYzMjY9ATMyNjU0JgOy/dwrDRwF5yEtBhQIEwoB/f4SDQgF4ysFGBICJwYHQS0hKo4VDg8Vjg8VFQ+OFQ8OFY4PFRUDdDQQCQEuIP1QKAYGQgECowUHATUIDwcFy8sgLf4Tjg8VFQ+OFQ4PFY4PFRUPjhUPDhUAAAAAAQCAAEADfwM9ACAAAAEhETQmIyIGFREhIgYVBhYzIREUFjMyNjURITI2NTQmIwNf/sMTDQ0T/r4OEgETDQFDEw0NEwE9DRMSDgHfAT4NExMN/sITDQ0T/sEOEhIOAT8SDg0TAAUAQAAAA8ADgAASACQARABPAG0AACUiJjURNDYzMhYVETgBMRQGIzEjIiY1ETQ2MzIWFRE4ATEUBiMBIzU0JiMhIgYdASMiBhUUFjMhOAExMjY1OAE5ATQmIyU0NjMhMhYdASE1ASEiJjURNDYzMhYVERQWMyEyNjURNDYzMhYVERQGAmANExMNDRMTDcANExMNDRMTDQIAoDgn/r8oOKANExMNA0ANExMN/aATDQFBDRL+gAGg/kAoOBMNDRMTDQHADhITDQ4SOMATDQFgDRMTDf6gDRMTDQFgDRMTDf6gDRMCIEAoODgoQBMNDRMTDQ0TQA0TEw1AQPzgOCgB4A4SEg7+IA0TEw0B3w0TEw3+ISg4AAMAvwBAAz8DQAAFAAgADwAAASERIREnHwEjAREhFTMRIQJt/lICgNITUlL+fwFAwP4AA0D9AAIt021T/gECf8D+QQAAAwBHAEcDsgM2ABUAGgAfAAABIScuASsBIgYVERQWMyEyNjURNCYjITUzFyEVIREhEQOI/miNBhIKzxIZGRIDFhEZGRH89MBi/t4DAfz/Aq92CAkZEv1mEhgYEgIUERlSUjX+AgH+AAABAAAAAAAAgH+6018PPPUACwQAAAAAANWYcvMAAAAA1Zhy8wAAAAAEAAPAAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAQAAAEAAAAAAAAAAAAAAAAAAAAMBAAAAAAAAAAAAAAAAgAAAAQAATIEAADbBAAAqQQAAAAEAACABAAAQAQAAL8EAABHAAAAAAAKABQAHgBCAGYAtgEYAUoB1AH2AioAAAABAAAADABuAAUAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAADgCuAAEAAAAAAAEABwAAAAEAAAAAAAIABwBgAAEAAAAAAAMABwA2AAEAAAAAAAQABwB1AAEAAAAAAAUACwAVAAEAAAAAAAYABwBLAAEAAAAAAAoAGgCKAAMAAQQJAAEADgAHAAMAAQQJAAIADgBnAAMAAQQJAAMADgA9AAMAAQQJAAQADgB8AAMAAQQJAAUAFgAgAAMAAQQJAAYADgBSAAMAAQQJAAoANACkaWNvbW9vbgBpAGMAbwBtAG8AbwBuVmVyc2lvbiAxLjAAVgBlAHIAcwBpAG8AbgAgADEALgAwaWNvbW9vbgBpAGMAbwBtAG8AbwBuaWNvbW9vbgBpAGMAbwBtAG8AbwBuUmVndWxhcgBSAGUAZwB1AGwAYQByaWNvbW9vbgBpAGMAbwBtAG8AbwBuRm9udCBnZW5lcmF0ZWQgYnkgSWNvTW9vbi4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==);src:url(data:application/vnd.ms-fontobject;base64,4AgAADwIAAABAAIAAAAAAAAAAAAAAAAAAAABAJABAAAAAExQAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAA07p/gAAAAAAAAAAAAAAAAAAAAAAAAA4AaQBjAG8AbQBvAG8AbgAAAA4AUgBlAGcAdQBsAGEAcgAAABYAVgBlAHIAcwBpAG8AbgAgADEALgAwAAAADgBpAGMAbwBtAG8AbwBuAAAAAAAAAQAAAAsAgAADADBPUy8yDxIF+AAAALwAAABgY21hcBdW0o4AAAEcAAAAVGdhc3AAAAAQAAABcAAAAAhnbHlmXV8IXAAAAXgAAARUaGVhZA5OKqMAAAXMAAAANmhoZWEHwgPNAAAGBAAAACRobXR4JgAEfAAABigAAAAwbG9jYQWkBEwAAAZYAAAAGm1heHAAEgBwAAAGdAAAACBuYW1lmUoJ+wAABpQAAAGGcG9zdAADAAAAAAgcAAAAIAADA8cBkAAFAAACmQLMAAAAjwKZAswAAAHrADMBCQAAAAAAAAAAAAAAAAAAAAEQAAAAAAAAAAAAAAAAAAAAAEAAAOkHA8D/wABAA8AAQAAAAAEAAAAAAAAAAAAAACAAAAAAAAMAAAADAAAAHAABAAMAAAAcAAMAAQAAABwABAA4AAAACgAIAAIAAgABACDpB//9//8AAAAAACDpAP/9//8AAf/jFwQAAwABAAAAAAAAAAAAAAABAAH//wAPAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEBMgCbAnsC5QASAAABFAcBBiMiJyY1ETQ3NjMyFwEWAnsL/wAKDw8LCwsLDw8KAQALAcAPC/8ACwsLDwIADwsLC/8ACwAAAAEA2wEuAyUCdwASAAABIicBJjU0NzYzITIXFhUGBwEGAgAPC/8ACwsLDwIADwsLAQr/AAsBLgsBAAoPDwsLCwsPDwr/AAsAAAIAqQCCA0QDHAAmADQAAAEiBhURFAYjISImNRE0NjMhMjY1NCYjISIGFREUFjMhMjY1ETQmIwUWMjcBNjQnJiIHAQYUAzAIDBgR/gcQGBgQAVgIDAwI/pQZJCQZAiIZIwwI/nEGEQYBawYGBhEG/pUGAlIMCP6UEBgYEAH5ERgMCAgMIxn93hkjIxkBgAgMxQYGAW0GEQYGBv6TBhEAAAACAAAAjgQAA8AAJgBGAAABIScuAQcjIgYVERczHgEzITUhBxE0NjM3Fx4BMyEyFh0BMzU0JiMTIzU0JiMiBh0BIyIGFRQWOwEVFBYzMjY9ATMyNjU0JgOy/dwrDRwF5yEtBhQIEwoB/f4SDQgF4ysFGBICJwYHQS0hKo4VDg8Vjg8VFQ+OFQ8OFY4PFRUDdDQQCQEuIP1QKAYGQgECowUHATUIDwcFy8sgLf4Tjg8VFQ+OFQ4PFY4PFRUPjhUPDhUAAAAAAQCAAEADfwM9ACAAAAEhETQmIyIGFREhIgYVBhYzIREUFjMyNjURITI2NTQmIwNf/sMTDQ0T/r4OEgETDQFDEw0NEwE9DRMSDgHfAT4NExMN/sITDQ0T/sEOEhIOAT8SDg0TAAUAQAAAA8ADgAASACQARABPAG0AACUiJjURNDYzMhYVETgBMRQGIzEjIiY1ETQ2MzIWFRE4ATEUBiMBIzU0JiMhIgYdASMiBhUUFjMhOAExMjY1OAE5ATQmIyU0NjMhMhYdASE1ASEiJjURNDYzMhYVERQWMyEyNjURNDYzMhYVERQGAmANExMNDRMTDcANExMNDRMTDQIAoDgn/r8oOKANExMNA0ANExMN/aATDQFBDRL+gAGg/kAoOBMNDRMTDQHADhITDQ4SOMATDQFgDRMTDf6gDRMTDQFgDRMTDf6gDRMCIEAoODgoQBMNDRMTDQ0TQA0TEw1AQPzgOCgB4A4SEg7+IA0TEw0B3w0TEw3+ISg4AAMAvwBAAz8DQAAFAAgADwAAASERIREnHwEjAREhFTMRIQJt/lICgNITUlL+fwFAwP4AA0D9AAIt021T/gECf8D+QQAAAwBHAEcDsgM2ABUAGgAfAAABIScuASsBIgYVERQWMyEyNjURNCYjITUzFyEVIREhEQOI/miNBhIKzxIZGRIDFhEZGRH89MBi/t4DAfz/Aq92CAkZEv1mEhgYEgIUERlSUjX+AgH+AAABAAAAAAAAgH+6018PPPUACwQAAAAAANWYcvMAAAAA1Zhy8wAAAAAEAAPAAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAQAAAEAAAAAAAAAAAAAAAAAAAAMBAAAAAAAAAAAAAAAAgAAAAQAATIEAADbBAAAqQQAAAAEAACABAAAQAQAAL8EAABHAAAAAAAKABQAHgBCAGYAtgEYAUoB1AH2AioAAAABAAAADABuAAUAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAADgCuAAEAAAAAAAEABwAAAAEAAAAAAAIABwBgAAEAAAAAAAMABwA2AAEAAAAAAAQABwB1AAEAAAAAAAUACwAVAAEAAAAAAAYABwBLAAEAAAAAAAoAGgCKAAMAAQQJAAEADgAHAAMAAQQJAAIADgBnAAMAAQQJAAMADgA9AAMAAQQJAAQADgB8AAMAAQQJAAUAFgAgAAMAAQQJAAYADgBSAAMAAQQJAAoANACkaWNvbW9vbgBpAGMAbwBtAG8AbwBuVmVyc2lvbiAxLjAAVgBlAHIAcwBpAG8AbgAgADEALgAwaWNvbW9vbgBpAGMAbwBtAG8AbwBuaWNvbW9vbgBpAGMAbwBtAG8AbwBuUmVndWxhcgBSAGUAZwB1AGwAYQByaWNvbW9vbgBpAGMAbwBtAG8AbwBuRm9udCBnZW5lcmF0ZWQgYnkgSWNvTW9vbi4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==) format("embedded-opentype"),url(data:font/ttf;base64,AAEAAAALAIAAAwAwT1MvMg8SBfgAAAC8AAAAYGNtYXAXVtKOAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5Zl1fCFwAAAF4AAAEVGhlYWQOTiqjAAAFzAAAADZoaGVhB8IDzQAABgQAAAAkaG10eCYABHwAAAYoAAAAMGxvY2EFpARMAAAGWAAAABptYXhwABIAcAAABnQAAAAgbmFtZZlKCfsAAAaUAAABhnBvc3QAAwAAAAAIHAAAACAAAwPHAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBwPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qf//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABATIAmwJ7AuUAEgAAARQHAQYjIicmNRE0NzYzMhcBFgJ7C/8ACg8PCwsLCw8PCgEACwHADwv/AAsLCw8CAA8LCwv/AAsAAAABANsBLgMlAncAEgAAASInASY1NDc2MyEyFxYVBgcBBgIADwv/AAsLCw8CAA8LCwEK/wALAS4LAQAKDw8LCwsLDw8K/wALAAACAKkAggNEAxwAJgA0AAABIgYVERQGIyEiJjURNDYzITI2NTQmIyEiBhURFBYzITI2NRE0JiMFFjI3ATY0JyYiBwEGFAMwCAwYEf4HEBgYEAFYCAwMCP6UGSQkGQIiGSMMCP5xBhEGAWsGBgYRBv6VBgJSDAj+lBAYGBAB+REYDAgIDCMZ/d4ZIyMZAYAIDMUGBgFtBhEGBgb+kwYRAAAAAgAAAI4EAAPAACYARgAAASEnLgEHIyIGFREXMx4BMyE1IQcRNDYzNxceATMhMhYdATM1NCYjEyM1NCYjIgYdASMiBhUUFjsBFRQWMzI2PQEzMjY1NCYDsv3cKw0cBechLQYUCBMKAf3+Eg0IBeMrBRgSAicGB0EtISqOFQ4PFY4PFRUPjhUPDhWODxUVA3Q0EAkBLiD9UCgGBkIBAqMFBwE1CA8HBcvLIC3+E44PFRUPjhUODxWODxUVD44VDw4VAAAAAAEAgABAA38DPQAgAAABIRE0JiMiBhURISIGFQYWMyERFBYzMjY1ESEyNjU0JiMDX/7DEw0NE/6+DhIBEw0BQxMNDRMBPQ0TEg4B3wE+DRMTDf7CEw0NE/7BDhISDgE/Eg4NEwAFAEAAAAPAA4AAEgAkAEQATwBtAAAlIiY1ETQ2MzIWFRE4ATEUBiMxIyImNRE0NjMyFhUROAExFAYjASM1NCYjISIGHQEjIgYVFBYzITgBMTI2NTgBOQE0JiMlNDYzITIWHQEhNQEhIiY1ETQ2MzIWFREUFjMhMjY1ETQ2MzIWFREUBgJgDRMTDQ0TEw3ADRMTDQ0TEw0CAKA4J/6/KDigDRMTDQNADRMTDf2gEw0BQQ0S/oABoP5AKDgTDQ0TEw0BwA4SEw0OEjjAEw0BYA0TEw3+oA0TEw0BYA0TEw3+oA0TAiBAKDg4KEATDQ0TEw0NE0ANExMNQED84DgoAeAOEhIO/iANExMNAd8NExMN/iEoOAADAL8AQAM/A0AABQAIAA8AAAEhESERJx8BIwERIRUzESECbf5SAoDSE1JS/n8BQMD+AANA/QACLdNtU/4BAn/A/kEAAAMARwBHA7IDNgAVABoAHwAAASEnLgErASIGFREUFjMhMjY1ETQmIyE1MxchFSERIREDiP5ojQYSCs8SGRkSAxYRGRkR/PTAYv7eAwH8/wKvdggJGRL9ZhIYGBICFBEZUlI1/gIB/gAAAQAAAAAAAIB/utNfDzz1AAsEAAAAAADVmHLzAAAAANWYcvMAAAAABAADwAAAAAgAAgAAAAAAAAABAAADwP/AAAAEAAAAAAAEAAABAAAAAAAAAAAAAAAAAAAADAQAAAAAAAAAAAAAAAIAAAAEAAEyBAAA2wQAAKkEAAAABAAAgAQAAEAEAAC/BAAARwAAAAAACgAUAB4AQgBmALYBGAFKAdQB9gIqAAAAAQAAAAwAbgAFAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGljb21vb24AaQBjAG8AbQBvAG8AblZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGljb21vb24AaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AblJlZ3VsYXIAUgBlAGcAdQBsAGEAcmljb21vb24AaQBjAG8AbQBvAG8AbkZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=) format("truetype"),url(data:font/woff;base64,d09GRgABAAAAAAiIAAsAAAAACDwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIF+GNtYXAAAAFoAAAAVAAAAFQXVtKOZ2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAABFQAAARUXV8IXGhlYWQAAAYYAAAANgAAADYOTiqjaGhlYQAABlAAAAAkAAAAJAfCA81obXR4AAAGdAAAADAAAAAwJgAEfGxvY2EAAAakAAAAGgAAABoFpARMbWF4cAAABsAAAAAgAAAAIAASAHBuYW1lAAAG4AAAAYYAAAGGmUoJ+3Bvc3QAAAhoAAAAIAAAACAAAwAAAAMDxwGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6QcDwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADgAAAAKAAgAAgACAAEAIOkH//3//wAAAAAAIOkA//3//wAB/+MXBAADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQEyAJsCewLlABIAAAEUBwEGIyInJjURNDc2MzIXARYCewv/AAoPDwsLCwsPDwoBAAsBwA8L/wALCwsPAgAPCwsL/wALAAAAAQDbAS4DJQJ3ABIAAAEiJwEmNTQ3NjMhMhcWFQYHAQYCAA8L/wALCwsPAgAPCwsBCv8ACwEuCwEACg8PCwsLCw8PCv8ACwAAAgCpAIIDRAMcACYANAAAASIGFREUBiMhIiY1ETQ2MyEyNjU0JiMhIgYVERQWMyEyNjURNCYjBRYyNwE2NCcmIgcBBhQDMAgMGBH+BxAYGBABWAgMDAj+lBkkJBkCIhkjDAj+cQYRBgFrBgYGEQb+lQYCUgwI/pQQGBgQAfkRGAwICAwjGf3eGSMjGQGACAzFBgYBbQYRBgYG/pMGEQAAAAIAAACOBAADwAAmAEYAAAEhJy4BByMiBhURFzMeATMhNSEHETQ2MzcXHgEzITIWHQEzNTQmIxMjNTQmIyIGHQEjIgYVFBY7ARUUFjMyNj0BMzI2NTQmA7L93CsNHAXnIS0GFAgTCgH9/hINCAXjKwUYEgInBgdBLSEqjhUODxWODxUVD44VDw4Vjg8VFQN0NBAJAS4g/VAoBgZCAQKjBQcBNQgPBwXLyyAt/hOODxUVD44VDg8Vjg8VFQ+OFQ8OFQAAAAABAIAAQAN/Az0AIAAAASERNCYjIgYVESEiBhUGFjMhERQWMzI2NREhMjY1NCYjA1/+wxMNDRP+vg4SARMNAUMTDQ0TAT0NExIOAd8BPg0TEw3+whMNDRP+wQ4SEg4BPxIODRMABQBAAAADwAOAABIAJABEAE8AbQAAJSImNRE0NjMyFhUROAExFAYjMSMiJjURNDYzMhYVETgBMRQGIwEjNTQmIyEiBh0BIyIGFRQWMyE4ATEyNjU4ATkBNCYjJTQ2MyEyFh0BITUBISImNRE0NjMyFhURFBYzITI2NRE0NjMyFhURFAYCYA0TEw0NExMNwA0TEw0NExMNAgCgOCf+vyg4oA0TEw0DQA0TEw39oBMNAUENEv6AAaD+QCg4Ew0NExMNAcAOEhMNDhI4wBMNAWANExMN/qANExMNAWANExMN/qANEwIgQCg4OChAEw0NExMNDRNADRMTDUBA/OA4KAHgDhISDv4gDRMTDQHfDRMTDf4hKDgAAwC/AEADPwNAAAUACAAPAAABIREhEScfASMBESEVMxEhAm3+UgKA0hNSUv5/AUDA/gADQP0AAi3TbVP+AQJ/wP5BAAADAEcARwOyAzYAFQAaAB8AAAEhJy4BKwEiBhURFBYzITI2NRE0JiMhNTMXIRUhESERA4j+aI0GEgrPEhkZEgMWERkZEfz0wGL+3gMB/P8Cr3YICRkS/WYSGBgSAhQRGVJSNf4CAf4AAAEAAAAAAACAf7rTXw889QALBAAAAAAA1Zhy8wAAAADVmHLzAAAAAAQAA8AAAAAIAAIAAAAAAAAAAQAAA8D/wAAABAAAAAAABAAAAQAAAAAAAAAAAAAAAAAAAAwEAAAAAAAAAAAAAAACAAAABAABMgQAANsEAACpBAAAAAQAAIAEAABABAAAvwQAAEcAAAAAAAoAFAAeAEIAZgC2ARgBSgHUAfYCKgAAAAEAAAAMAG4ABQAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAHAAAAAQAAAAAAAgAHAGAAAQAAAAAAAwAHADYAAQAAAAAABAAHAHUAAQAAAAAABQALABUAAQAAAAAABgAHAEsAAQAAAAAACgAaAIoAAwABBAkAAQAOAAcAAwABBAkAAgAOAGcAAwABBAkAAwAOAD0AAwABBAkABAAOAHwAAwABBAkABQAWACAAAwABBAkABgAOAFIAAwABBAkACgA0AKRpY29tb29uAGkAYwBvAG0AbwBvAG5WZXJzaW9uIDEuMABWAGUAcgBzAGkAbwBuACAAMQAuADBpY29tb29uAGkAYwBvAG0AbwBvAG5pY29tb29uAGkAYwBvAG0AbwBvAG5SZWd1bGFyAFIAZQBnAHUAbABhAHJpY29tb29uAGkAYwBvAG0AbwBvAG5Gb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) format("woff"),url("data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%20%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%3e%3cmetadata%3eGenerated%20by%20IcoMoon%3c/metadata%3e%3cdefs%3e%3cfont%20id='icomoon'%20horiz-adv-x='1024'%3e%3cfont-face%20units-per-em='1024'%20ascent='960'%20descent='-64'%20/%3e%3cmissing-glyph%20horiz-adv-x='1024'%20/%3e%3cglyph%20unicode='&%23x20;'%20horiz-adv-x='512'%20d=''%20/%3e%3cglyph%20unicode='&%23xe900;'%20glyph-name='caret-down'%20d='M635.311%20448q0-14.848-10.848-25.728l-256-256q-10.848-10.848-25.728-10.848t-25.728%2010.848-10.848%2025.728v512q0%2014.848%2010.848%2025.728t25.728%2010.848%2025.728-10.848l256-256q10.848-10.848%2010.848-25.728z'%20/%3e%3cglyph%20unicode='&%23xe901;'%20glyph-name='caret-right'%20d='M512%20301.714q-14.848%200-25.746%2010.825l-256%20256q-10.825%2010.825-10.825%2025.746t10.825%2025.746%2025.746%2010.825h512q14.848%200%2025.746-10.825t10.825-25.746-10.825-25.746l-256-256q-10.825-10.825-25.746-10.825z'%20/%3e%3cglyph%20unicode='&%23xe902;'%20glyph-name='edit'%20d='M816.001%20594.256c-11.151%200-20.203-9.053-20.203-20.201v-363.665c0-22.31-18.089-40.402-40.401-40.402h-505.083c-22.318%200-40.405%2018.093-40.405%2040.402v505.086c0%2022.317%2018.094%2040.401%2040.405%2040.401h343.46c11.168%200%2020.2%209.038%2020.2%2020.204%200%2011.161-9.036%2020.201-20.2%2020.201h-363.675c-33.483%200-60.612-27.136-60.612-60.61v-545.494c0-33.481%2027.13-60.612%2060.612-60.612h545.494c33.482%200%2060.613%2027.133%2060.613%2060.612v383.877c-0.004%2011.148-9.040%2020.201-20.205%2020.201zM417.158%20397.194c7.893-7.868%2020.674-7.868%2028.572%200l363.068%20365.049c7.889%207.894%207.889%2020.689%200%2028.572-7.89%207.893-20.678%207.893-28.563%200l-363.077-365.035c-7.897-7.891-7.897-20.692%200-28.586z'%20/%3e%3cglyph%20unicode='&%23xe903;'%20glyph-name='folder-plus-e'%20d='M946.471%20884.169h-548.426l-42.856%2051.918c-17.498%2021.394-39.525%2025.1-46.676%2023.629h-230.922c-42.788%200-77.591-34.803-77.591-77.525v-688.284l6.327-39.784h19.857c10.467-7.603%2023.121-11.751%2036.469-11.751h509.37v65.392h-494.433l-12.194-1.020v675.448c0%206.704%205.486%2012.133%2012.194%2012.133l227.025%200.256%2043.551-52.108c6.96-11.43%2022.799-23.693%2046.424-23.693h551.88c6.709%200%2012.133-5.49%2012.133-12.198v-202.19h65.397v202.189c0%2042.787-34.803%2077.589-77.529%2077.589zM988.451%20391.215h-142.197v142.197c0%2019.65-15.9%2035.549-35.549%2035.549s-35.549-15.9-35.549-35.549v-142.197h-142.197c-19.65%200-35.549-15.9-35.549-35.549s15.9-35.549%2035.549-35.549h142.197v-142.197c0-19.65%2015.9-35.549%2035.549-35.549s35.549%2015.9%2035.549%2035.549v142.197h142.197c19.65%200%2035.549%2015.9%2035.549%2035.549s-15.9%2035.549-35.549%2035.549z'%20/%3e%3cglyph%20unicode='&%23xe904;'%20glyph-name='plus'%20d='M863.328%20478.66l-317.344-0.1v318.622c0%2017.665-14.336%2032.001-32%2032.001s-32-14.336-32-32v-318.401l-322.465%200.177c-17.632%200-31.935-14.24-32-31.904-0.097-17.665%2014.208-32.032%2031.871-32.096l322.593-0.177v-319.167c0-17.696%2014.336-32.001%2031.999-32.001s32%2014.303%2032%2032v318.946l317.216%200.1c17.632%200%2031.935%2014.24%2032%2031.905s-14.238%2032.031-31.87%2032.095z'%20/%3e%3cglyph%20unicode='&%23xe905;'%20glyph-name='trash'%20d='M607.904%20191.952c-17.712%200-32%2014.288-32%2032v352.112c0%2017.712%2014.288%2032%2032%2032s31.984-14.288%2031.984-32v-351.936c0-0.033%200-0.073%200-0.112%200-17.68-14.31-32.019-31.98-32.064h-0.004zM415.936%20191.952c-17.712%200-32%2014.288-32%2032v352.112c0%2017.712%2014.272%2032%2032%2032s32-14.288%2032-32v-351.936c0-0.024%200-0.052%200-0.080%200-17.692-14.315-32.041-31.995-32.096h-0.005zM928.016%20736.032h-159.968v63.984c0%2052.992-42.672%2095.984-95.296%2095.984h-320.816c-52.999-0.027-95.957-42.984-95.984-95.981v-63.987h-159.968c-17.712%200-32-14.288-32-32s14.272-32%2032-32h832.032c0.014%200%200.031%200%200.048%200%2017.638%200%2031.936%2014.298%2031.936%2031.936%200%200.023%200%200.045%200%200.068v-0.004c0%2017.728-14.272%2032-31.984%2032zM319.952%20800.016c0%2017.552%2014.448%2032%2032%2032h320.816c17.536%200%2031.312-14.112%2031.312-32v-63.984h-384.128v63.984zM736.048%200h-447.92c-53.001%200.009-95.966%2042.968-95.984%2095.966v480.434c0%2017.712%2014.272%2032%2032%2032s32-14.288%2032-32v-480.432c0-17.712%2014.448-32%2032-32h448.096c17.712%200%2032%2014.288%2032%2032v479.232c0%2017.712%2014.288%2032%2032%2032s31.984-14.288%2031.984-32v-479.232c-0.192-52.816-43.2-95.968-96.176-95.968z'%20/%3e%3cglyph%20unicode='&%23xe906;'%20glyph-name='file'%20d='M620.792%20832.218h-430.076v-767.753h640.521v556.933l-210.445%20210.819zM639.538%20722.765l82.441-82.588h-82.441v82.588zM254.775%20128.524v639.635h320.704v-192.041h191.699v-447.595h-512.403z'%20/%3e%3cglyph%20unicode='&%23xe907;'%20glyph-name='folder'%20d='M903.813%20687.206h-407.918l-141.342%20118.095c-7.946%2010.51-20.476%2016.774-33.521%2016.774h-207.504c-23.271%200-42.223-19.158-42.223-42.714v-666.599c0-23.299%2018.95-42.251%2042.223-42.251h790.286c23.296%200%2042.246%2018.95%2042.246%2042.251v532.223c0.001%2023.274-18.949%2042.223-42.245%2042.223zM124.32%20687.206v81.852h191.869l97.435-81.852h-289.305zM124.32%20634.187h768.72v-510.657h-768.72v510.657z'%20/%3e%3c/font%3e%3c/defs%3e%3c/svg%3e") format("svg");font-weight:400;font-style:normal}.vtl-icon{font-family:icomoon!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.vtl-icon.vtl-menu-icon{margin-right:4px}.vtl-icon.vtl-menu-icon:hover{color:inherit}.vtl-icon:hover{color:#00f}.vtl-icon-file:before{content:""}.vtl-icon-folder:before{content:""}.vtl-icon-caret-down:before{content:""}.vtl-icon-caret-right:before{content:""}.vtl-icon-edit:before{content:""}.vtl-icon-folder-plus-e:before{content:""}.vtl-icon-plus:before{content:""}.vtl-icon-trash:before{content:""}.vtl-border{height:8px}.vtl-border.vtl-up{margin-top:-5px;background-color:transparent}.vtl-border.vtl-bottom{background-color:transparent}.vtl-border.vtl-active{border-bottom:3px dashed blue}.vtl-node-main{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:5px 0 5px 1rem}.vtl-node-main .vtl-input{border:none;max-width:150px;border-bottom:1px solid blue}.vtl-node-main:hover{background-color:#f0f0f0}.vtl-node-main.vtl-active{outline:2px dashed pink}.vtl-node-main .vtl-caret{margin-left:-1rem}.vtl-node-main .vtl-operation{margin-left:2rem;letter-spacing:1px}.vtl-item{cursor:pointer}.vtl-tree-margin{margin-left:2em}.nameStyle[data-v-62315c76]{position:absolute;white-space:nowrap;z-index:9;background:#eee;height:20px;line-height:20px;color:#555;border:1px solid #ebebeb;padding:0 5px;left:56px;bottom:-18px}.iconbianji1[data-v-62315c76]{font-size:13px}.selectTreeClass[data-v-62315c76]{background:#d5e8fc}.tree_tit[data-v-62315c76]{padding-top:7px}.treeBox[data-v-62315c76]{width:100%;height:100%;max-width:180px}.is-modal .pictrueList_pic[data-v-62315c76]{width:100px;margin:10px 5px!important}.is-modal .pictrueList_pic .img[data-v-62315c76]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100px;height:100px;background-color:#f8f8f8;padding:2px}.is-modal .pictrueList_pic .img img[data-v-62315c76]{max-width:96px;max-height:96px}.is-modal .pictrueList_pic .img .operate-height[data-v-62315c76]{bottom:-8px}.pictrueList_pic[data-v-62315c76]{position:relative;width:146px;cursor:pointer}.pictrueList_pic .img[data-v-62315c76]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:146px;height:146px;background-color:#f8f8f8;padding:3px}.pictrueList_pic .img img[data-v-62315c76]{max-width:140px;max-height:140px}.pictrueList_pic p[data-v-62315c76]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:20px;font-size:12px;color:#515a6d;text-align:center}.pictrueList_pic .number[data-v-62315c76]{height:33px}.pictrueList_pic .number[data-v-62315c76]{position:absolute;right:0;top:0}.pictrueList_pic[data-v-62315c76] .el-badge__content.is-fixed{top:13px;right:25px}.Nav[data-v-62315c76]{width:100%;border-right:1px solid #eee;min-width:220px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}.trees-coadd[data-v-62315c76]{width:100%;border-radius:4px;overflow:hidden;position:relative}.trees-coadd .scollhide[data-v-62315c76]{overflow-x:hidden;overflow-y:scroll;padding:0 0 10px;-webkit-box-sizing:border-box;box-sizing:border-box}.trees-coadd .scollhide .isTree[data-v-62315c76]{min-height:374px;max-height:550px}.trees-coadd .scollhide .isTree[data-v-62315c76] .file-name{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.trees-coadd .scollhide .isTree[data-v-62315c76] .file-name .name{max-width:7em}.trees-coadd .scollhide .isTree[data-v-62315c76] .file-name .icon{width:12px;height:12px;margin-right:8px}.trees-coadd .scollhide .isTree[data-v-62315c76] .el-tree-node{margin-right:16px}.trees-coadd .scollhide .isTree[data-v-62315c76] .el-tree-node__children .el-tree-node{margin-right:0}.trees-coadd .scollhide .isTree[data-v-62315c76] .el-tree-node__content{width:100%;height:36px}.trees-coadd .scollhide .isTree[data-v-62315c76] .custom-tree-node{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding-right:20px;font-size:13px;font-weight:400;color:#0009;line-height:13px}.trees-coadd .scollhide .isTree[data-v-62315c76] .is-current{background:#f1f9ff!important;color:var(--prev-color-primary)!important}.trees-coadd .scollhide .isTree[data-v-62315c76] .is-current .custom-tree-node{color:var(--prev-color-primary)!important}.trees-coadd .scollhide[data-v-62315c76]::-webkit-scrollbar{display:none}.treeSel[data-v-62315c76] .ivu-select-dropdown-list{padding:0 5px!important;-webkit-box-sizing:border-box;box-sizing:border-box;width:200px}.imagesNo[data-v-62315c76]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:65px 0}.imagesNo .imagesNo_sp[data-v-62315c76]{font-size:13px;color:#dbdbdb;line-height:3}.Modal[data-v-62315c76]{width:100%;height:100%;background:#fff!important}.fill-window[data-v-62315c76]{height:100vh}.colLeft[data-v-62315c76]{padding-right:0!important;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.conter[data-v-62315c76]{width:100%;height:100%;margin-left:20px!important}.conter .iconliebiao[data-v-62315c76]{font-size:12px}.conter .bnt[data-v-62315c76]{width:100%;padding:0 0 20px;-webkit-box-sizing:border-box;box-sizing:border-box}.conter .pictrueList[data-v-62315c76]{overflow-x:hidden;overflow-y:auto;min-height:463px}.conter .pictrueList.is-modal[data-v-62315c76]{max-height:480px}.conter .pictrueList img[data-v-62315c76]{max-width:100%}.conter .pictrueList .img.on[data-v-62315c76]{border:2px solid var(--prev-color-primary)}.conter .footer[data-v-62315c76]{padding:0 20px 10px}.tabBox_img[data-v-62315c76]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.real-name[data-v-62315c76]{-webkit-box-flex:1;-ms-flex:1;flex:1}.df-aic[data-v-62315c76]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.demo-badge[data-v-62315c76]{width:42px;height:42px;background:transparent;border-radius:6px;display:inline-block}.bnt[data-v-62315c76] .ivu-tree-children{padding:5px 0}.card-tree[data-v-62315c76]{background:#fff;height:72px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow-x:scroll;white-space:nowrap;overflow-y:hidden;border-radius:4px;scrollbar-width:none;-ms-overflow-style:none}.card-tree[data-v-62315c76]::-webkit-scrollbar{display:none}.tabs[data-v-62315c76]{background:#fff;padding-top:10px;border-radius:5px 5px 0 0}.operate-item[data-v-62315c76]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin:5px 0}.operate-height[data-v-62315c76]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:16px;position:absolute;bottom:-10px}.operate[data-v-62315c76]{color:var(--prev-color-primary);font-size:12px;white-space:nowrap}.nameStyle[data-v-833002a8]{position:absolute;white-space:nowrap;z-index:9;background:#eee;height:20px;line-height:20px;color:#555;border:1px solid #ebebeb;padding:0 5px;left:56px;bottom:-18px}.iconbianji1[data-v-833002a8]{font-size:13px}.selectTreeClass[data-v-833002a8]{background:#d5e8fc}.tree_tit[data-v-833002a8]{padding-top:7px}.treeBox[data-v-833002a8]{width:100%;height:100%;max-width:180px}.is-modal .pictrueList_pic[data-v-833002a8]{width:100px;margin:10px 5px!important}.is-modal .pictrueList_pic .img[data-v-833002a8]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100px;height:100px;background-color:#f8f8f8;padding:2px}.is-modal .pictrueList_pic .img img[data-v-833002a8]{max-width:96px;max-height:96px}.is-modal .pictrueList_pic .img .operate-height[data-v-833002a8]{bottom:-8px}.pictrueList_pic[data-v-833002a8]{position:relative;width:146px;cursor:pointer}.pictrueList_pic .img[data-v-833002a8]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:146px;height:146px;background-color:#f8f8f8;padding:3px}.pictrueList_pic .img video[data-v-833002a8]{max-width:100px;max-height:100px}.pictrueList_pic p[data-v-833002a8]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:20px;font-size:12px;color:#515a6d;text-align:center}.pictrueList_pic .number[data-v-833002a8]{height:33px}.pictrueList_pic .number[data-v-833002a8]{position:absolute;right:0;top:0}.pictrueList_pic[data-v-833002a8] .el-badge__content.is-fixed{top:13px;right:25px}.Nav[data-v-833002a8]{width:100%;border-right:1px solid #eee;min-width:220px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}.trees-coadd[data-v-833002a8]{width:100%;border-radius:4px;overflow:hidden;position:relative}.trees-coadd .scollhide[data-v-833002a8]{overflow-x:hidden;overflow-y:scroll;padding:0 0 10px;-webkit-box-sizing:border-box;box-sizing:border-box}.trees-coadd .scollhide .isTree[data-v-833002a8]{min-height:374px;max-height:550px}.trees-coadd .scollhide .isTree[data-v-833002a8] .file-name{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.trees-coadd .scollhide .isTree[data-v-833002a8] .file-name .name{max-width:7em}.trees-coadd .scollhide .isTree[data-v-833002a8] .file-name .icon{width:12px;height:12px;margin-right:8px}.trees-coadd .scollhide .isTree[data-v-833002a8] .el-tree-node{margin-right:16px}.trees-coadd .scollhide .isTree[data-v-833002a8] .el-tree-node__children .el-tree-node{margin-right:0}.trees-coadd .scollhide .isTree[data-v-833002a8] .el-tree-node__content{width:100%;height:36px}.trees-coadd .scollhide .isTree[data-v-833002a8] .custom-tree-node{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding-right:20px;font-size:13px;font-weight:400;color:#0009;line-height:13px}.trees-coadd .scollhide .isTree[data-v-833002a8] .is-current{background:#f1f9ff!important;color:var(--prev-color-primary)!important}.trees-coadd .scollhide .isTree[data-v-833002a8] .is-current .custom-tree-node{color:var(--prev-color-primary)!important}.trees-coadd .scollhide[data-v-833002a8]::-webkit-scrollbar{display:none}.treeSel[data-v-833002a8] .ivu-select-dropdown-list{padding:0 5px!important;-webkit-box-sizing:border-box;box-sizing:border-box;width:200px}.imagesNo[data-v-833002a8]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:65px 0}.imagesNo .imagesNo_sp[data-v-833002a8]{font-size:13px;color:#dbdbdb;line-height:3}.Modal[data-v-833002a8]{width:100%;height:100%;background:#fff!important}.fill-window[data-v-833002a8]{height:100vh}.colLeft[data-v-833002a8]{padding-right:0!important;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.conter[data-v-833002a8]{width:100%;height:100%;margin-left:20px!important}.conter .iconliebiao[data-v-833002a8]{font-size:12px}.conter .bnt[data-v-833002a8]{width:100%;padding:0 0 20px;-webkit-box-sizing:border-box;box-sizing:border-box}.conter .pictrueList[data-v-833002a8]{overflow-x:hidden;overflow-y:auto;min-height:463px}.conter .pictrueList.is-modal[data-v-833002a8]{max-height:480px}.conter .pictrueList img[data-v-833002a8]{max-width:100%}.conter .pictrueList .img.on[data-v-833002a8]{border:2px solid var(--prev-color-primary)}.conter .footer[data-v-833002a8]{padding:0 20px 10px}.tabBox_img[data-v-833002a8]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.tabBox_img video[data-v-833002a8]{max-width:90px;max-height:30px}.real-name[data-v-833002a8]{-webkit-box-flex:1;-ms-flex:1;flex:1}.df-aic[data-v-833002a8]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.demo-badge[data-v-833002a8]{width:42px;height:42px;background:transparent;border-radius:6px;display:inline-block}.bnt[data-v-833002a8] .ivu-tree-children{padding:5px 0}.card-tree[data-v-833002a8]{background:#fff;height:72px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow-x:scroll;white-space:nowrap;overflow-y:hidden;border-radius:4px;scrollbar-width:none;-ms-overflow-style:none}.card-tree[data-v-833002a8]::-webkit-scrollbar{display:none}.tabs[data-v-833002a8]{background:#fff;padding-top:10px;border-radius:5px 5px 0 0}.operate-item[data-v-833002a8]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin:5px 0}.operate-height[data-v-833002a8]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:16px;position:absolute;bottom:-10px}.operate[data-v-833002a8]{color:var(--prev-color-primary);font-size:12px;white-space:nowrap}@font-face{font-family:SemiBold;src:url(/admin/system_static/D-DIN-PRO-600-SemiBold-D3rt1d_1.ttf)}.slide-right-enter-active,.slide-right-leave-active,.slide-left-enter-from,.slide-left-enter-active,.slide-left-leave-active{will-change:transform;-webkit-transition:all .3s ease;transition:all .3s ease}.slide-right-enter-from,.slide-left-leave-to{opacity:0;-webkit-transform:translateX(-20px);transform:translate(-20px)}.slide-right-leave-active,.slide-left-enter-from{opacity:0;-webkit-transform:translateX(20px);transform:translate(20px)}.opacitys-enter-active,.opacitys-leave-active{will-change:transform;-webkit-transition:all .3s ease;transition:all .3s ease}.opacitys-enter-from,.opacitys-leave-active{opacity:0}.no-transition-enter-active,.no-transition-leave-active{-webkit-transition:none;transition:none}.breadcrumb-enter-from,.breadcrumb-leave-active{opacity:0}.breadcrumb-leave-active{position:absolute}@-webkit-keyframes logoAnimation{0%{-webkit-transform:scale(0);transform:scale(0)}80%{-webkit-transform:scale(1.2);transform:scale(1.2)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes logoAnimation{0%{-webkit-transform:scale(0);transform:scale(0)}80%{-webkit-transform:scale(1.2);transform:scale(1.2)}to{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes error-num{0%{-webkit-transform:translateY(60px);transform:translateY(60px);opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes error-num{0%{-webkit-transform:translateY(60px);transform:translateY(60px);opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@-webkit-keyframes error-img{0%{opacity:0}to{opacity:1}}@keyframes error-img{0%{opacity:0}to{opacity:1}}@-webkit-keyframes toRight{0%{left:-5px}50%{left:100%}to{left:-5px}}@keyframes toRight{0%{left:-5px}50%{left:100%}to{left:-5px}}*{margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box;outline:none}:root{--prev-bg-menuBar: #282c34;--prev-bg-menuBarColor: #ffffff;--prev-bg-topBar: #ffffff;--prev-bg-topBarColor: #282c34;--prev-bg-columnsMenuBar: #282c34;--prev-bg-columnsMenuBarColor: #e6e6e6;--prev-bg-columnsMenuActiveColor: #ffffff;--prev-bg-menu-hover-ba-color: rgba(0, 0, 0, .2);--prev-bg-menu-active-color: #0256ff;--prev-bg-main-color: #f0f2f5;--prev-bg-color: #f5f7fa;--prev-bg-white: #ffffff;--prev-color-primary: #0256ff;--prev-color-text-white: #ffffff;--prev-color-text-black: #000000;--prev-color-text-primary: #606266;--prev-color-text-regular: #303133;--prev-color-text-secondary: #909399;--prev-color-text-placeholder: #c0c4cc;--prev-color-hover: rgba(0, 0, 0, .04);--prev-color-seting-main: #e9eef3;--prev-color-seting-aside: #d3dce6;--prev-color-seting-header: #b3c0d1;--prev-border-color-hover: #c0c4cc;--prev-border-color-base: #dcdfe6;--prev-border-color-light: #e4e7ed;--prev-border-color-lighter: #ebeef5;--prev-border-color-extra-light: #f2f6fc;--prev-tag-active-color: #fff;--prev-MenuActiveColor: #fff;--prev-table-header-bag: #f2f6ff;--prev-color-primary-light-1: color-mix(in srgb, var(--prev-color-primary) 90%, #ffffff);--prev-color-primary-light-2: color-mix(in srgb, var(--prev-color-primary) 80%, #ffffff);--prev-color-primary-light-3: color-mix(in srgb, var(--prev-color-primary) 70%, #ffffff);--prev-color-primary-light-4: color-mix(in srgb, var(--prev-color-primary) 60%, #ffffff);--prev-color-primary-light-5: color-mix(in srgb, var(--prev-color-primary) 50%, #ffffff);--prev-color-primary-light-6: color-mix(in srgb, var(--prev-color-primary) 40%, #ffffff);--prev-color-primary-light-7: color-mix(in srgb, var(--prev-color-primary) 30%, #ffffff);--prev-color-primary-light-8: color-mix(in srgb, var(--prev-color-primary) 20%, #ffffff);--prev-color-primary-light-9: color-mix(in srgb, var(--prev-color-primary) 10%, #ffffff);--prev-color-primary-dark-2: color-mix(in srgb, var(--prev-color-primary) 80%, #000000);--prev-color-success: #67c23a;--prev-color-warning: #e6a23c;--prev-color-danger: #f56c6c;--prev-color-info: #909399}:root{--el-color-primary: var(--prev-color-primary);--el-color-primary-light-3: color-mix(in srgb, var(--prev-color-primary) 70%, #ffffff);--el-color-primary-light-5: color-mix(in srgb, var(--prev-color-primary) 50%, #ffffff);--el-color-primary-light-7: color-mix(in srgb, var(--prev-color-primary) 30%, #ffffff);--el-color-primary-light-8: color-mix(in srgb, var(--prev-color-primary) 20%, #ffffff);--el-color-primary-light-9: color-mix(in srgb, var(--prev-color-primary) 10%, #ffffff);--el-color-primary-dark-2: color-mix(in srgb, var(--prev-color-primary) 80%, #000000);--el-text-color-primary: var(--prev-color-text-primary);--el-text-color-regular: var(--prev-color-text-regular);--el-text-color-secondary: var(--prev-color-text-secondary);--el-text-color-placeholder: var(--prev-color-text-placeholder);--el-border-color: var(--prev-border-color-base);--el-border-color-light: var(--prev-border-color-light);--el-border-color-lighter: var(--prev-border-color-lighter);--el-border-color-extra-light: var(--prev-border-color-extra-light);--el-fill-color-light: var(--prev-color-hover);--el-bg-color: var(--prev-bg-white)}html,body,#app{width:100%;height:100%;background-color:var(--prev-bg-main-color);font-size:14px}.el-table{--el-table-header-bg-color: var(--prev-color-primary-light-9);--el-table-row-hover-bg-color: var(--prev-bg-color)}.layout-container{width:100%;height:100%}.layout-container .layout-aside{background:var(--prev-bg-menuBar);height:inherit;position:relative;z-index:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow-x:hidden!important}.layout-container .layout-aside .el-scrollbar__view{overflow:hidden}.layout-container .layout-header{padding:0!important}.layout-container .layout-main{padding:0!important;overflow:hidden;width:100%;background-color:var(--prev-bg-main-color);position:relative}.layout-container .el-scrollbar,.layout-container .layout-scrollbar{width:100%}.layout-container .layout-view-bg-white{background:var(--prev-bg-white);width:100%;height:100%;border-radius:4px;border:1px solid var(--prev-border-color-lighter)}.layout-container .layout-aside-width-default{width:180px!important;-webkit-transition:width .2s ease;transition:width .2s ease;-webkit-box-shadow:1px 1px 4px rgba(0,21,41,.08);box-shadow:1px 1px 4px #00152914}.layout-container .layout-aside-width64{width:64px!important;-webkit-transition:width .2s ease;transition:width .2s ease}.layout-container .layout-aside-width1{width:0px!important;-webkit-transition:width .2s ease;transition:width .2s ease}.layout-container .layout-scrollbar{padding:16px}.layout-container .layout-scrollbar>.el-scrollbar__wrap .el-card:first-child,.layout-container .layout-scrollbar>.el-scrollbar__wrap .el-row:first-child:not(.action-row){margin-top:0!important}.layout-container .layout-mian-height-50{height:calc(100vh - 50px)}.layout-container .layout-columns-warp{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden}.layout-container .layout-hide{display:none}#nprogress .bar{background:var(--prev-color-primary)!important}.flex,.flex-center{display:-webkit-box;display:-ms-flexbox;display:flex}.flex-auto{-webkit-box-flex:1;-ms-flex:1;flex:1}.flex-center{-webkit-box-orient:vertical!important;-webkit-box-direction:normal!important;-ms-flex-direction:column!important;flex-direction:column!important;width:100%;overflow:hidden}.flex-margin{margin:auto}.flex-warp{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;align-content:flex-start;margin:0 -5px}.flex-warp .flex-warp-item{padding:5px}.flex-warp .flex-warp-item .flex-warp-item-box{width:100%;height:100%}.w100{width:100%!important}.h100{height:100%!important;min-height:calc(100vh - 186px)}.h101{height:100%!important;min-height:calc(100vh - 150px)}.vh100{height:100vh!important}.max100vh{max-height:100vh!important}.min100vh{min-height:100vh!important}.color-primary{color:var(--prev-color-primary)}.color-success{color:var(--prev-color-success)}.color-warning{color:var(--prev-color-warning)}.color-danger{color:var(--prev-color-danger)}.color-info{color:var(--prev-color-info)}.one-text-overflow{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.two-text-overflow{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.overflow{overflow:hidden!important}.white-space-nowrap{white-space:nowrap}.p30{padding:30px}.p20{padding:20px}.p40{padding:40px}.font10{font-size:10px!important}.font11{font-size:11px!important}.font13{font-size:13px!important}.font15{font-size:15px!important}.font16{font-size:16px!important}.font17{font-size:17px!important}.font18{font-size:18px!important}.font19{font-size:19px!important}.font20{font-size:20px!important}.font21{font-size:21px!important}.font22{font-size:22px!important}.font23{font-size:23px!important}.font24{font-size:24px!important}.font25{font-size:25px!important}.font26{font-size:26px!important}.font27{font-size:27px!important}.font28{font-size:28px!important}.font29{font-size:29px!important}.font30{font-size:30px!important}.font31{font-size:31px!important}.font32{font-size:32px!important}.mt5{margin-top:5px!important}.ml5{margin-left:5px!important}.pt5{padding-top:5px!important}.pr5{padding-right:5px!important}.pb5{padding-bottom:5px!important}.pl5{padding-left:5px!important}.mt6{margin-top:6px!important}.mr6{margin-right:6px!important}.mb6{margin-bottom:6px!important}.ml6{margin-left:6px!important}.pt6{padding-top:6px!important}.pr6{padding-right:6px!important}.pb6{padding-bottom:6px!important}.pl6{padding-left:6px!important}.mt7{margin-top:7px!important}.mr7{margin-right:7px!important}.mb7{margin-bottom:7px!important}.ml7{margin-left:7px!important}.pt7{padding-top:7px!important}.pr7{padding-right:7px!important}.pb7{padding-bottom:7px!important}.pl7{padding-left:7px!important}.mt8{margin-top:8px!important}.mr8{margin-right:8px!important}.mb8{margin-bottom:8px!important}.ml8{margin-left:8px!important}.pt8{padding-top:8px!important}.pr8{padding-right:8px!important}.pb8{padding-bottom:8px!important}.pl8{padding-left:8px!important}.mt9{margin-top:9px!important}.mr9{margin-right:9px!important}.mb9{margin-bottom:9px!important}.ml9{margin-left:9px!important}.pt9{padding-top:9px!important}.pr9{padding-right:9px!important}.pb9{padding-bottom:9px!important}.pl9{padding-left:9px!important}.mt10{margin-top:10px!important}.mr10{margin-right:10px!important}.ml10{margin-left:10px!important}.pt10{padding-top:10px!important}.pr10{padding-right:10px!important}.pb10{padding-bottom:10px!important}.pl10{padding-left:10px!important}.mt11{margin-top:11px!important}.mr11{margin-right:11px!important}.mb11{margin-bottom:11px!important}.ml11{margin-left:11px!important}.pt11{padding-top:11px!important}.pr11{padding-right:11px!important}.pb11{padding-bottom:11px!important}.pl11{padding-left:11px!important}.mt12{margin-top:12px!important}.mr12{margin-right:12px!important}.mb12{margin-bottom:12px!important}.ml12{margin-left:12px!important}.pt12{padding-top:12px!important}.pr12{padding-right:12px!important}.pb12{padding-bottom:12px!important}.pl12{padding-left:12px!important}.mt13{margin-top:13px!important}.mr13{margin-right:13px!important}.mb13{margin-bottom:13px!important}.ml13{margin-left:13px!important}.pt13{padding-top:13px!important}.pr13{padding-right:13px!important}.pb13{padding-bottom:13px!important}.pl13{padding-left:13px!important}.mt14{margin-top:14px!important}.mr14{margin-right:14px!important}.ml14{margin-left:14px!important}.pt14{padding-top:14px!important}.pr14{padding-right:14px!important}.pb14{padding-bottom:14px!important}.pl14{padding-left:14px!important}.mt15{margin-top:15px!important}.ml15{margin-left:15px!important}.pt15{padding-top:15px!important}.pr15{padding-right:15px!important}.pb15{padding-bottom:15px!important}.pl15{padding-left:15px!important}.mt16{margin-top:16px!important}.mr16{margin-right:16px!important}.mb16{margin-bottom:16px!important}.ml16{margin-left:16px!important}.pt16{padding-top:16px!important}.pr16{padding-right:16px!important}.pb16{padding-bottom:16px!important}.pl16{padding-left:16px!important}.mt17{margin-top:17px!important}.mr17{margin-right:17px!important}.mb17{margin-bottom:17px!important}.ml17{margin-left:17px!important}.pt17{padding-top:17px!important}.pr17{padding-right:17px!important}.pb17{padding-bottom:17px!important}.pl17{padding-left:17px!important}.mt18{margin-top:18px!important}.mr18{margin-right:18px!important}.mb18{margin-bottom:18px!important}.ml18{margin-left:18px!important}.pt18{padding-top:18px!important}.pr18{padding-right:18px!important}.pb18{padding-bottom:18px!important}.pl18{padding-left:18px!important}.mt19{margin-top:19px!important}.mr19{margin-right:19px!important}.mb19{margin-bottom:19px!important}.ml19{margin-left:19px!important}.pt19{padding-top:19px!important}.pr19{padding-right:19px!important}.pb19{padding-bottom:19px!important}.pl19{padding-left:19px!important}.mt20{margin-top:20px!important}.ml20{margin-left:20px!important}.pt20{padding-top:20px!important}.pr20{padding-right:20px!important}.pb20{padding-bottom:20px!important}.pl20{padding-left:20px!important}.mt21{margin-top:21px!important}.mr21{margin-right:21px!important}.mb21{margin-bottom:21px!important}.ml21{margin-left:21px!important}.pt21{padding-top:21px!important}.pr21{padding-right:21px!important}.pb21{padding-bottom:21px!important}.pl21{padding-left:21px!important}.mt22{margin-top:22px!important}.mr22{margin-right:22px!important}.mb22{margin-bottom:22px!important}.ml22{margin-left:22px!important}.pt22{padding-top:22px!important}.pr22{padding-right:22px!important}.pb22{padding-bottom:22px!important}.pl22{padding-left:22px!important}.mt23{margin-top:23px!important}.mr23{margin-right:23px!important}.mb23{margin-bottom:23px!important}.ml23{margin-left:23px!important}.pt23{padding-top:23px!important}.pr23{padding-right:23px!important}.pb23{padding-bottom:23px!important}.pl23{padding-left:23px!important}.mt24{margin-top:24px!important}.mr24{margin-right:24px!important}.mb24{margin-bottom:24px!important}.ml24{margin-left:24px!important}.pt24{padding-top:24px!important}.pr24{padding-right:24px!important}.pb24{padding-bottom:24px!important}.pl24{padding-left:24px!important}.mt25{margin-top:25px!important}.mr25{margin-right:25px!important}.mb25{margin-bottom:25px!important}.ml25{margin-left:25px!important}.pt25{padding-top:25px!important}.pr25{padding-right:25px!important}.pb25{padding-bottom:25px!important}.pl25{padding-left:25px!important}.mt26{margin-top:26px!important}.mr26{margin-right:26px!important}.mb26{margin-bottom:26px!important}.ml26{margin-left:26px!important}.pt26{padding-top:26px!important}.pr26{padding-right:26px!important}.pb26{padding-bottom:26px!important}.pl26{padding-left:26px!important}.mt27{margin-top:27px!important}.mr27{margin-right:27px!important}.mb27{margin-bottom:27px!important}.ml27{margin-left:27px!important}.pt27{padding-top:27px!important}.pr27{padding-right:27px!important}.pb27{padding-bottom:27px!important}.pl27{padding-left:27px!important}.mt28{margin-top:28px!important}.mr28{margin-right:28px!important}.mb28{margin-bottom:28px!important}.ml28{margin-left:28px!important}.pt28{padding-top:28px!important}.pr28{padding-right:28px!important}.pb28{padding-bottom:28px!important}.pl28{padding-left:28px!important}.mt29{margin-top:29px!important}.mr29{margin-right:29px!important}.mb29{margin-bottom:29px!important}.ml29{margin-left:29px!important}.pt29{padding-top:29px!important}.pr29{padding-right:29px!important}.pb29{padding-bottom:29px!important}.pl29{padding-left:29px!important}.mt30{margin-top:30px!important}.mr30{margin-right:30px!important}.ml30{margin-left:30px!important}.pt30{padding-top:30px!important}.pr30{padding-right:30px!important}.pb30{padding-bottom:30px!important}.pl30{padding-left:30px!important}.mt31{margin-top:31px!important}.mr31{margin-right:31px!important}.mb31{margin-bottom:31px!important}.ml31{margin-left:31px!important}.pt31{padding-top:31px!important}.pr31{padding-right:31px!important}.pb31{padding-bottom:31px!important}.pl31{padding-left:31px!important}.mt32{margin-top:32px!important}.mr32{margin-right:32px!important}.mb32{margin-bottom:32px!important}.ml32{margin-left:32px!important}.pt32{padding-top:32px!important}.pr32{padding-right:32px!important}.pb32{padding-bottom:32px!important}.pl32{padding-left:32px!important}.mt33{margin-top:33px!important}.mr33{margin-right:33px!important}.mb33{margin-bottom:33px!important}.ml33{margin-left:33px!important}.pt33{padding-top:33px!important}.pr33{padding-right:33px!important}.pb33{padding-bottom:33px!important}.pl33{padding-left:33px!important}.mt34{margin-top:34px!important}.mr34{margin-right:34px!important}.mb34{margin-bottom:34px!important}.ml34{margin-left:34px!important}.pt34{padding-top:34px!important}.pr34{padding-right:34px!important}.pb34{padding-bottom:34px!important}.pl34{padding-left:34px!important}.mt35{margin-top:35px!important}.mr35{margin-right:35px!important}.mb35{margin-bottom:35px!important}.ml35{margin-left:35px!important}.pt35{padding-top:35px!important}.pr35{padding-right:35px!important}.pb35{padding-bottom:35px!important}.pl35{padding-left:35px!important}.el-scrollbar{overflow:hidden;position:relative;height:100%}.el-scrollbar__wrap{overflow:auto!important;overflow-x:hidden!important;max-height:100%}.el-select-dropdown .el-scrollbar__wrap{overflow-x:scroll!important}.el-select-dropdown__wrap{max-height:274px!important}.el-select__wrapper{font-size:12px!important}.el-autocomplete-suggestion__wrap{max-height:280px!important}.el-button{font-weight:400!important;font-size:12px!important;padding:9px 15px!important;border-radius:4px}.el-button+.el-button{margin-left:14px!important}.el-button i.iconfont,.el-button i.fa{font-size:14px!important;margin-right:5px}.el-button--small i.iconfont,.el-button--small i.fa{font-size:12px!important;margin-right:5px}.el-dialog__body{overflow-y:auto;overflow-x:hidden;max-height:720px;padding:15px!important}.el-dialog{padding:0!important;-webkit-box-shadow:unset!important;box-shadow:unset!important;border-radius:6px!important}.el-dialog__header{border-bottom:1px solid #eee;padding:15px!important;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.el-dialog__title{font-size:14px!important;font-weight:500;color:#303133;line-height:14px!important}.el-dialog__headerbtn{position:initial!important;height:auto!important;width:auto!important;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.el-dialog__footer{padding:10px 15px 15px!important}.el-dialog__body>img{max-height:600px}.el-table-column--selection .el-checkbox{margin-right:unset!important}.el-table:before,.el-table--group:after,.el-table--border:after{z-index:1!important}.el-table__body tr.current-row>td.el-table__cell,.vxe-table--render-default .vxe-body--row.row--current{background-color:#f5f7fa!important}.hover-row .el-select-dropdown .el-scrollbar__wrap,.el-picker-panel .el-scrollbar__wrap{overflow-x:scroll!important}.el-table--enable-row-transition .el-table__body td{height:50px}.vxe-table--body-wrapper .vxe-cell{min-height:24px}.el-tabs{--el-tabs-header-height: 54px}.el-tabs__item{font-size:14px}.el-tabs__item.is-active{font-weight:500}.el-tabs__active-bar{height:3px}.el-dialog .el-tabs,.el-drawer .el-tabs{--el-tabs-header-height: 40px}.el-dialog .el-tabs__item,.el-drawer .el-tabs__item{font-size:13px}.el-menu{border-right:none!important}.el-menu-item,.el-sub-menu__title{height:50px!important;line-height:50px!important;color:var(--prev-bg-menuBarColor)!important;-webkit-transition:none!important;transition:none!important}.el-menu--horizontal>.el-menu-item.is-active,.el-menu--horizontal>.el-sub-menu.is-active .el-sub-menu__title{border-bottom:3px solid!important;border-bottom-color:var(--prev-color-primary)!important}.el-menu--horizontal>.el-menu-item.is-active{color:var(--prev-bg-topBarColor)!important}.el-menu--horizontal .el-menu-item:not(.is-disabled):focus,.el-menu--horizontal .el-menu-item:not(.is-disabled):hover,.el-menu--horizontal>.el-sub-menu:focus .el-sub-menu__title,.el-menu--horizontal>.el-sub-menu:hover .el-sub-menu__title,.el-menu--horizontal .el-menu .el-menu-item.is-active,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title{color:var(--prev-MenuActiveColor)!important}.el-menu.el-menu--horizontal{border-bottom:none!important}.el-menu--horizontal>.el-menu-item,.el-menu--horizontal>.el-sub-menu .el-sub-menu__title{padding:0 14px;color:var(--prev-bg-topBarColor)!important}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title{padding-right:32px}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title .el-sub-menu__icon-arrow{right:14px}.el-menu-item a,.el-menu-item a:hover,.el-menu-item i,.el-sub-menu__title i{color:var(--prev-bg-menuBarColor)!important;text-decoration:none;margin-right:8px;margin-left:5px}.el-menu-item a{width:86%;display:inline-block}.el-menu-item:hover,.el-sub-menu__title:hover{background-color:color-mix(in srgb,var(--prev-bg-menuBarColor) 10%,transparent)!important}.el-menu-hover-bg-color,.el-menu-item.is-active{background-color:var(--prev-bg-menu-hover-ba-color)!important}.el-menu-item.is-active,.el-menu-item.is-active .el-sub-menu__title i{color:var(--prev-MenuActiveColor)!important}.el-active-extend,.el-active-extend i{color:#fff!important}.columns-round .el-menu-item{margin:5px 5px 0;border-radius:5px}.columns-round .el-sub-menu{border-radius:5px}.columns-round .el-sub-menu .el-sub-menu__title{margin:5px}.columns-round .el-sub-menu .el-sub-menu__title:hover{border-radius:5px}.columns-round .el-sub-menu .el-menu-item{min-width:-webkit-min-content!important;min-width:-moz-min-content!important;min-width:min-content!important;width:94%}.layout-aside .el-menu .el-sub-menu .el-menu-item{padding-left:40px!important}.layout-aside .el-menu>.el-sub-menu>.el-sub-menu__title{padding-left:20px!important}.layout-aside .el-menu .el-sub-menu .el-sub-menu>.el-sub-menu__title{padding-left:40px!important}.layout-aside .el-menu .el-sub-menu .el-menu-item:not(:has(i)){padding-left:46px!important}.layout-aside .el-menu .el-sub-menu .el-sub-menu .el-menu-item:not(:has(i)){padding-left:66px!important}.layout-aside-drawer .el-drawer__body{padding:0}.is-dark a{color:#fff!important;text-decoration:none}.el-menu--vertical{background:var(--prev-bg-menuBar)!important}.el-menu--horizontal .el-menu{background:var(--prev-bg-topBar)!important}.el-menu--horizontal .el-menu-item,.el-menu--horizontal .el-sub-menu__title{color:var(--prev-bg-topBarColor)!important}.el-menu-item .iconfont,.el-sub-menu .iconfont,.el-menu-item .fa,.el-sub-menu__title .fa{font-size:14px!important;display:inline-block;vertical-align:middle;margin-right:5px;width:24px;text-align:center}.el-sub-menu [class^=el-icon-],.el-menu-item [class^=el-icon-]{font-size:14px!important}.el-alert__title{word-break:break-all}.el-popper.is-light{border-color:#f2f2f2!important}.el-popper .el-popper__arrow,.el-popper .el-popper__arrow:after{color:#f2f2f2!important}.el-popper .el-popper__arrow{border-bottom-color:#f2f2f2!important}.el-dropdown{font-size:12px!important;line-height:inherit}.el-dropdown-link{cursor:pointer;color:var(--prev-color-primary)}.el-icon-arrow-down{font-size:12px}.el-message{min-width:100px!important;padding-right:25px!important}.el-message-box{position:absolute;top:20%;left:50%;-webkit-transform:translate(-50%);transform:translate(-50%)}.el-message-box__wrapper{overflow-y:auto}.el-notification__content{color:var(--prev-color-text-regular)}.el-notification__content p{word-break:break-all}input::-webkit-inner-spin-button{-webkit-appearance:none!important}input::-webkit-outer-spin-button{-webkit-appearance:none!important}.el-radio__input.is-checked .el-radio__inner{background-color:var(--prev-color-primary)!important;border-color:var(--prev-color-primary)!important}.el-button--primary{color:var(--prev-color-text-white)!important;background:var(--prev-color-primary)!important;border-color:var(--prev-color-primary)!important}.el-button--primary:hover,.el-button--primary:focus{color:var(--prev-color-text-white);background:var(--prev-color-primary-light-3)!important;border-color:var(--prev-color-primary-light-3)!important}.vxe-loading>.vxe-loading--chunk{color:var(--prev-color-primary)!important}.el-form-item--small .el-form-item__label{word-break:break-word}.el-form-item__content .el-range-editor{-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0}.el-input-number{width:180px}@media screen and (max-width: 576px){.login-weaper{height:420px!important}.login-weaper .login-left{display:none!important}.login-weaper .login-right{width:100%!important;border-top-left-radius:4px;border-bottom-left-radius:4px}.login-weaper .login-right .login-main{width:94%!important}}@media screen and (min-width: 576px) and (max-width: 992px){.login-left{display:none!important}.login-right{border-top-left-radius:4px;border-bottom-left-radius:4px}}@media screen and (max-width: 768px){.error .error-flex{-webkit-box-orient:vertical!important;-webkit-box-direction:reverse!important;-ms-flex-direction:column-reverse!important;flex-direction:column-reverse!important;height:auto!important;width:100%!important}.error .right,.error .left{-webkit-box-flex:unset!important;-ms-flex:unset!important;flex:unset!important;display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.error .left-item,.error .right img{margin:auto!important}.error .right img{max-width:450px!important}}@media screen and (min-width: 768px) and (max-width: 992px){.error .error-flex{padding-left:30px!important}}.el-row{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box}@media screen and (max-width: 1200px){.home-recommend-row .home-recommend{margin-bottom:15px}.home-recommend-row .el-col:last-of-type .home-recommend,.home-recommend-row .el-col:nth-last-child(2) .home-recommend{margin-bottom:0}.home-lg{margin-bottom:15px}}@media screen and (max-width: 992px){.home-recommend-row .el-col:nth-last-child(2){margin-bottom:15px}.home-recommend-row .el-col:last-of-type .home-recommend{margin-bottom:0}}@media screen and (max-width: 576px){.el-message-box{width:80%!important}}@media screen and (max-width: 768px){.layout-navbars-breadcrumb-hide{display:none}.layout-view-link a{max-width:80%;text-align:center}.el-autocomplete{width:80%!important}}@media screen and (max-width: 1000px){.layout-drawer-content-flex{position:relative}.layout-drawer-content-flex:after{content:"手机版不支持切换布局";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;text-align:center;height:140px;line-height:140px;background:#ffffffe6;color:#666}}@media screen and (max-width: 768px){.el-scrollbar__bar.is-vertical{width:2px!important}.el-scrollbar__bar.is-horizontal{height:2px!important}}@media screen and (max-width: 800px){.el-dialog{width:90%}.el-dialog.is-fullscreen{width:100%!important}}@media screen and (max-width: 576px){.el-form-item__label{width:100%!important;text-align:left!important}.el-form-item__content{margin-left:0!important}.login-form .el-form-item{display:block!important}}.el-form-item__label{color:var(--prev-color-text-regular);font-size:12px!important}.el-radio__label,.el-input__inner{font-size:12px!important}body .el-button--primary:hover,body .el-button--primary:focus{background-color:var(--prev-color-primary-light-3)!important}body .el-button--success{background-color:#19be6b;border-color:#19be6b}body .el-button--success:hover,body .el-button--primary:focus{background-color:#1cc671;border-color:#1cc671}body .el-button--text{color:var(--prev-color-primary)}body .el-button--text:focus,body .el-button--text:hover{color:var(--prev-color-primary-light-3)}body .el-button--text:active{color:var(--prev-color-primary-light-3)}body .el-button--default:hover,body .el-button--default:focus{color:var(--prev-color-primary);background:var(--prev-color-primary-light-8);border-color:var(--prev-color-primary-light-6)}body .el-button--default.is-plain:hover,body .el-button--default.is-plain:focus{color:var(--prev-color-primary);background:var(--prev-bg-white);border-color:var(--prev-color-primary-light-1)}body .el-button--default:active{color:var(--prev-color-primary);background:var(--prev-bg-white);border-color:var(--prev-color-primary-light-1)}body .el-button--primary{color:var(--prev-color-text-white)!important;background:var(--prev-color-primary)!important;border-color:var(--prev-color-primary)!important}body .el-button--primary:hover,body .el-button--primary:focus{color:var(--prev-color-text-white);background:var(--prev-color-primary-light-3)!important;border-color:var(--prev-color-primary-light-3)!important}body .el-button--primary.is-plain{color:var(--prev-color-primary)!important;background:var(--prev-color-primary-light-8)!important;border-color:var(--prev-color-primary-light-6)!important}body .el-button--primary.is-plain:hover,body .el-button--primary.is-plain:focus{color:var(--prev-color-text-white);background:var(--prev-color-primary);border-color:var(--prev-color-primary)}body .el-button--primary.is-disabled,body .el-button--primary.is-disabled:active,body .el-button--primary.is-disabled:focus,body .el-button--primary.is-disabled:hover{color:#fff!important;background:var(--prev-color-primary-light-7)!important;border-color:var(--prev-color-primary-light-7)!important}body .el-button--primary.is-active,body .el-button--primary:active{color:var(--prev-color-text-white)!important;background:var(--prev-color-primary)!important;border-color:var(--prev-color-primary)!important}body .el-button.is-disabled.is-plain,body .el-button.is-disabled.is-plain:focus,body .el-button.is-disabled.is-plain:hover{background-color:var(--prev-bg-white);border-color:var(--prev-border-color-lighter);color:var(--prev-color-text-placeholder)}body .el-link.el-link--default:hover{color:var(--prev-color-primary-light-3)}body .el-link.el-link--primary{color:var(--prev-color-primary)}body .el-link.el-link--primary:hover{color:var(--prev-color-primary-light-3)}body .el-link.el-link--default:after,body .el-link.is-underline:hover:after,body .el-link.el-link--primary.is-underline:hover:after,body .el-link.el-link--primary:after{border-color:var(--prev-color-primary)}body .el-checkbox__label{font-size:12px}body .el-radio,body .el-checkbox{color:var(--prev-color-text-primary);font-weight:400}body .el-radio-button .el-radio__input.is-checked+.el-radio__label,body .el-radio-button .el-radio-button__inner:hover{color:var(--prev-color-primary)}body .el-radio__input.is-checked .el-radio__inner{background-color:var(--prev-color-primary);border-color:var(--prev-color-primary)}body .el-radio-button .el-radio-button__orig-radio:checked+.el-radio-button__inner{color:var(--prev-color-text-white);background-color:var(--prev-color-primary);border-color:var(--prev-color-primary);-webkit-box-shadow:-1px 0 0 0 var(--prev-color-primary);box-shadow:-1px 0 0 0 var(--prev-color-primary)}body .el-radio.is-bordered.is-checked,body .el-radio__inner:hover{border-color:var(--prev-color-primary)}body .el-radio-button__inner,body .el-checkbox-button__inner{background-color:var(--prev-bg-white);color:var(--prev-color-text-regular);border-color:var(--prev-border-color-base)}body .el-radio-button:first-child .el-radio-button__inner,body .el-checkbox-button:first-child .el-checkbox-button__inner{border-left-color:var(--prev-border-color-base)}body .el-radio.is-bordered,body .el-checkbox.is-bordered{border-color:var(--prev-border-color-base)}body .el-radio__input.is-checked+.el-radio__label{color:var(--prev-color-text-regular)}body .el-checkbox__input.is-checked+.el-checkbox__label,body .el-checkbox-button__inner:hover{color:var(--prev-color-text-regular)}body .el-checkbox__input.is-checked .el-checkbox__inner{background-color:var(--prev-color-primary);border-color:var(--prev-color-primary)}body .el-checkbox__input.is-focus .el-checkbox__inner,body .el-checkbox__inner:hover,body .el-checkbox.is-bordered.is-checked,body .el-checkbox-button.is-focus .el-checkbox-button__inner{border-color:var(--prev-color-primary)}body .el-checkbox-button.is-checked .el-checkbox-button__inner{color:var(--prev-color-text-white);background-color:var(--prev-color-primary);border-color:var(--prev-color-primary);-webkit-box-shadow:-1px 0 0 0 var(--prev-color-primary);box-shadow:-1px 0 0 0 var(--prev-color-primary)}body .el-checkbox-button.is-checked:first-child .el-checkbox-button__inner{border-left-color:var(--prev-color-primary)}body .el-checkbox__input.is-checked .el-checkbox__inner,body .el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:var(--prev-color-primary);border-color:var(--prev-color-primary)}body .el-checkbox-button.is-disabled .el-checkbox-button__inner{background-color:var(--prev-bg-white);border-color:var(--prev-border-color-base)}body .el-input-number--small .el-input-number__increase,body .el-input-number--small .el-input-number__decrease{display:none}body .el-input-number--small .el-input__inner{padding-left:15px;padding-right:15px}body .el-input--small .el-input__inner{height:32px;line-height:32px}body .el-select .el-input.is-focus .el-input__inner{border-color:var(--prev-color-primary-light-5)}body .el-input__inner:focus{border-color:var(--prev-border-color-base)}body .el-input-number__increase:hover,body .el-input-number__decrease:hover{color:var(--prev-color-primary)}body .el-input-number__decrease,body .el-input-number__increase{background-color:var(--prev-bg-color);border-color:var(--prev-border-color-base)!important}body .el-input__inner,body .el-textarea__inner{font-size:12px;background-color:var(--prev-bg-white);border-color:var(--prev-border-color-base);color:var(--prev-color-text-regular)}body .el-input__inner:hover,body .el-textarea__inner:hover{border-color:var(--prev-border-color-hover)}body .el-input.is-disabled .el-input__wrapper,body .el-textarea.is-disabled .el-textarea__inner{background-color:var(--prev-bg-white);border-color:var(--prev-border-color-base)}body .el-input-group__prepend .el-select{width:86px!important}body .el-input-group__append,body .el-input-group__prepend{background-color:var(--prev-bg-color);color:var(--prev-color-text-regular);border-color:var(--prev-border-color-base)}body .el-input-group__append .el-button{border-radius:0 4px 4px 0}body .el-input .el-input__count .el-input__count-inner{background-color:#fff!important}body .el-autocomplete-suggestion{background-color:var(--prev-bg-white);border-color:var(--prev-border-color-base)}body .el-autocomplete-suggestion__wrap{max-height:280px!important}body .el-popper[x-placement^=top] .el-popper__arrow{border-top-color:var(--prev-border-color-base)}body .el-popper[x-placement^=top] .el-popper__arrow:after{border-top-color:var(--prev-bg-white)}body .el-popper[x-placement^=right] .el-popper__arrow{border-right-color:var(--prev-border-color-base)}body .el-popper[x-placement^=right] .el-popper__arrow:after{border-right-color:var(--prev-bg-white)}body .el-popper[x-placement^=bottom] .el-popper__arrow{border-bottom-color:var(--prev-border-color-base)}body .el-popper[x-placement^=bottom] .el-popper__arrow:after{border-bottom-color:var(--prev-bg-white)}body .el-popper[x-placement^=left] .el-popper__arrow{border-left-color:var(--prev-border-color-base)}body .el-popper[x-placement^=left] .el-popper__arrow:after{border-left-color:var(--prev-bg-white)}body .el-autocomplete-suggestion li{color:var(--prev-color-text-regular)}body .el-autocomplete-suggestion li.highlighted,body .el-autocomplete-suggestion li:hover{background-color:var(--prev-color-hover)}body .el-input-group__prepend .el-select .el-input--suffix .el-input__inner::-webkit-input-placeholder{color:#606266}body .el-input-group__prepend .el-select .el-input--suffix .el-input__inner::-moz-placeholder{color:#606266}body .el-input-group__prepend .el-select .el-input--suffix .el-input__inner::-ms-input-placeholder{color:#606266}body .el-input-group__prepend .el-select .el-input--suffix .el-input__inner::placeholder,body .el-cascader .el-input .el-icon-arrow-down,body .el-select .el-input .el-select__caret{color:#606266}body .el-select-dropdown__item.selected{color:var(--prev-color-primary)}body .el-select-dropdown{background-color:var(--prev-bg-white);border-color:var(--prev-border-color-light)}body .el-select-dropdown__item{color:var(--prev-color-text-regular)}body .el-select-dropdown__item.hover,body .el-select-dropdown__item:hover{background-color:var(--prev-color-hover)}body .el-select-dropdown__item.is-disabled:hover{background-color:var(--prev-bg-white)}body .el-select .el-input.is-disabled .el-input__inner:hover{border-color:var(--prev-border-color-light)}body .el-select:hover .el-input__inner{border-color:var(--prev-border-color-hover)}body .el-select-dropdown.is-multiple .el-select-dropdown__item.selected{background-color:var(--prev-bg-white);color:var(--prev-color-primary)}body .el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover{background-color:var(--prev-color-hover)}body .el-select-group__wrap:not(:last-of-type):after{background:var(--prev-border-color-light)}body .el-cascader .el-input .el-input__inner:focus,body .el-cascader .el-input.is-focus .el-input__inner{border-color:var(--prev-border-color-base)}body .el-cascader-node.in-active-path,body .el-cascader-node.is-active,body .el-cascader-node.is-selectable.in-checked-path{color:var(--prev-color-primary)}body .el-cascader__dropdown{background-color:var(--prev-bg-white);border-color:var(--prev-border-color-light)}body .el-cascader-menu{border-color:var(--prev-border-color-light);color:var(--prev-color-text-regular)}body .el-cascader-node:not(.is-disabled):focus,body .el-cascader-node:not(.is-disabled):hover{background-color:var(--prev-color-hover)}body .el-switch.is-checked .el-switch__core{border-color:var(--prev-color-primary)!important;background-color:var(--prev-color-primary)!important}body .el-switch__label.is-active{color:var(--prev-color-primary)}body .el-slider__bar{background-color:var(--prev-color-primary)}body .el-slider__button{border-color:var(--prev-color-primary)}body .el-slider__runway{background-color:var(--prev-border-color-light)}body .el-slider__marks-text{color:var(--prev-color-text-secondary)}body .el-time-panel__btn.confirm,body .el-time-spinner__arrow:hover,body .time-select-item.selected:not(.disabled){color:var(--prev-color-primary)}body .el-picker-panel{border-color:var(--prev-border-color-light);background-color:var(--prev-bg-white);color:var(--prev-color-text-regular)}body .time-select-item:hover,body .el-time-spinner__item:hover:not(.disabled):not(.active),body .el-time-spinner__wrapper.is-arrow .el-time-spinner__item:hover:not(.disabled):not(.active){background-color:var(--prev-color-hover)}body .el-time-panel{border-color:var(--prev-border-color-light);background-color:var(--prev-bg-white)}body .el-time-panel__footer,body .el-time-panel__content:after,body .el-time-panel__content:before,body .el-time-range-picker__body{border-color:var(--prev-border-color-light)}body .el-time-panel__btn,body .el-date-editor .el-range-separator{color:var(--prev-color-text-primary)}body .el-date-editor .el-range-input{background-color:var(--prev-bg-white);color:var(--prev-color-text-primary)}body .el-date-table td.today span,body .el-date-table td.available:hover,body .el-date-picker__header-label.active,body .el-date-picker__header-label:hover,body .el-picker-panel__icon-btn:hover,body .el-year-table td.today .cell,body .el-year-table td .cell:hover,body .el-year-table td.current:not(.disabled) .cell,body .el-month-table td .cell:hover,body .el-month-table td.today .cell,body .el-month-table td.current:not(.disabled) .cell,body .el-picker-panel__shortcut:hover{color:var(--prev-color-primary)}body .el-date-table td.current:not(.disabled) span,body .el-date-table td.selected span{color:var(--prev-color-text-white);background-color:var(--prev-color-primary)}body .el-date-table td.end-date span,body .el-date-table td.start-date span,body .el-month-table td.end-date .cell,body .el-month-table td.start-date .cell{background-color:var(--prev-color-primary)}body .el-date-table td.in-range div,body .el-date-table td.in-range div:hover,body .el-date-table.is-week-mode .el-date-table__row.current div,body .el-date-table.is-week-mode .el-date-table__row:hover div,body .el-date-table td.selected div{background-color:var(--prev-color-primary-light-9)}body .el-date-table th,body .el-date-picker__header--bordered,body .el-date-range-picker__content.is-left,body .el-date-picker__time-header,body .el-date-range-picker__time-header{border-color:var(--prev-border-color-lighter)}body .el-date-table th,body .el-date-picker__header-label,body .el-picker-panel__shortcut,body .el-month-table td .cell,body .el-year-table td .cell{color:var(--prev-color-text-regular)}body .el-date-table td.next-month,body .el-date-table td.prev-month{color:var(--prev-border-color-hover)}body .el-picker-panel__icon-btn{color:var(--prev-color-text-primary)}body .el-date-table td.disabled div{background-color:var(--prev-bg-color)}body .el-picker-panel [slot=sidebar],body .el-picker-panel__sidebar,body .el-picker-panel__footer{border-color:var(--prev-border-color-light);background-color:var(--prev-bg-white)}body .el-month-table td.end-date .cell,body .el-month-table td.start-date .cell{color:var(--prev-color-text-white)}body .el-upload-list__item.is-success .el-upload-list__item-name:focus,body .el-upload-list__item.is-success .el-upload-list__item-name:hover,body .el-upload-list__item .el-icon-close-tip,body .el-upload-dragger .el-upload__text em{color:var(--prev-color-primary)}body .el-upload--picture-card,body .el-upload-dragger{background-color:var(--prev-bg-white);border-color:var(--prev-border-color-light)}body .el-upload--picture-card i,body .el-upload-dragger i{color:var(--prev-color-text-regular)}body .el-upload--picture-card:hover,body .el-upload:focus{color:var(--prev-color-primary);border-color:var(--prev-color-primary)}body .el-upload-dragger:hover,body .el-upload:focus .el-upload-dragger{border-color:var(--prev-color-primary)}body .el-upload__tip,body .el-upload-list__item,body .el-upload-dragger .el-upload__text,body .el-upload-list__item-name,body .el-upload-list__item .el-icon-close{color:var(--prev-color-text-regular)}body .el-upload-list__item:hover{background-color:var(--prev-bg-color)}body .el-color-picker__trigger{border-color:var(--prev-border-color-light)}body .el-transfer-panel__item:hover{color:var(--prev-color-primary)}body .el-transfer-panel,body .el-transfer-panel .el-transfer-panel__header{border-color:var(--prev-border-color-lighter)}body .el-transfer-panel .el-transfer-panel__footer{border-color:var(--prev-border-color-lighter);background-color:var(--prev-bg-white)}body .el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label{color:var(--prev-color-text-primary)}body .el-form-item__label{color:var(--prev-color-text-regular);font-size:12px!important;padding-right:6px}body .el-table{color:var(--prev-color-text-regular)}body .el-table .descending .sort-caret.descending{border-top-color:var(--prev-color-primary)}body .el-table .ascending .sort-caret.ascending{border-bottom-color:var(--prev-color-primary)}body .el-table thead{color:var(--prev-color-text-secondary);background-color:var(--prev-color-primary-light-8)!important}body .el-table th.el-table__cell.is-leaf{border-bottom:none}body .el-table td.el-table__cell,body .el-table th.el-table__cell.is-leaf,body .el-table--border,body .el-table--group{border-color:#f5f5f5!important}body .el-table tr{min-height:100px!important}body .el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell,body .el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell{background-color:var(--prev-bg-color)}body .el-table__cell.el-table__expanded-cell{padding-left:60px}body .vxe-table--render-default.border--default .vxe-table--header-wrapper{color:var(--prev-color-text-secondary);background-color:var(--prev-color-primary-light-9)!important;border-radius:4px}body .vxe-table--render-default .vxe-table--border-line{border:none}body .vxe-header--column{font-weight:500;color:#303133}body .el-table .el-table__header-wrapper{border-radius:4px}body .el-tag:not(.el-tag--success):not(.el-tag--warning):not(.el-tag--danger):not(.el-tag--info){color:var(--prev-color-primary);background-color:#fff;border-color:var(--prev-color-primary)}body .el-tag .el-tag__close{color:var(--prev-color-primary-light-3)}body .el-tag .el-tag__close:hover{color:var(--prev-color-text-white);background-color:var(--prev-color-primary)}body .el-tag--dark:not(.el-tag--success):not(.el-tag--warning):not(.el-tag--danger):not(.el-tag--info){color:var(--prev-color-text-white);background-color:var(--prev-color-primary);border-color:var(--prev-color-primary)}body .el-tag--dark .el-tag__close{color:var(--prev-color-text-white)}body .el-tag--dark .el-tag__close:hover{background-color:var(--prev-color-primary-light-3)}body .el-tag--plain:not(.el-tag--success):not(.el-tag--warning):not(.el-tag--danger):not(.el-tag--info){color:var(--prev-color-primary);background-color:var(--prev-bg-white);border-color:var(--prev-color-primary-light-3)}body .el-progress-bar__inner{background-color:var(--prev-color-primary)!important}body .el-progress-bar__outer{background-color:var(--prev-border-color-lighter)}body .el-progress__text{color:var(--prev-color-text-regular)}body .el-tree{background-color:var(--prev-bg-white);color:var(--prev-color-text-regular)}body .el-tree-node__content:hover,body .el-tree-node:focus>.el-tree-node__content{background-color:var(--prev-bg-color)}body .el-pager li.active,body .el-pager li:hover,body .el-pagination button:hover,body .el-pagination.is-background .el-pager li:not(.disabled):hover{color:var(--prev-color-primary)}body .el-pagination__sizes .el-input .el-input__inner:hover{border-color:var(--prev-color-primary)}body .el-pagination.is-background .el-pager li:not(.disabled).active{background-color:var(--prev-color-primary);color:var(--prev-color-text-white)}body .el-pagination__total,body .el-pagination__jump{color:var(--prev-color-text-regular)}body .el-pagination button:disabled,body .el-pagination .btn-next,body .el-pagination .btn-prev{background-color:var(--prev-bg-white)}body .el-pagination .btn-next,body .el-pagination .btn-prev{color:var(--prev-color-text-primary)}body .el-pager li{background-color:var(--prev-bg-white);color:var(--prev-color-text-primary)}body .el-badge__content--primary{background-color:var(--prev-color-primary)}body .el-loading-spinner .path{stroke:var(--prev-color-primary)}body .el-loading-spinner .el-loading-text,body .el-loading-spinner i{color:var(--prev-color-primary)}body .el-message{min-width:unset!important;padding:15px!important}body .el-message-box__headerbtn:focus .el-message-box__close,body .el-message-box__headerbtn:hover .el-message-box__close{color:var(--prev-color-primary)}body .el-message-box{background-color:var(--prev-bg-white);border-color:var(--prev-border-color-lighter)}body .el-message-box__title{color:var(--prev-color-text-primary)}body .el-message-box__content{color:var(--prev-color-text-regular)}body .el-notification{background-color:var(--prev-bg-white);border-color:var(--prev-border-color-lighter)}body .el-notification .el-notification__title{color:var(--prev-color-text-primary)}body .el-notification .el-notification__content{color:var(--prev-color-text-regular)}body .el-notification .el-notification__content p{word-break:break-all}body .el-tabs__item.is-active,body .el-tabs__item:hover,body .el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active,body .el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover{color:var(--prev-color-primary)!important}body .el-tabs__active-bar{background-color:var(--prev-color-primary)!important}body .el-tabs__nav-wrap:after{height:1px!important}body .el-tabs__item{color:var(--prev-color-text-primary)}body .el-tabs__nav-wrap:after{background-color:var(--prev-border-color-light)}body .el-tabs--card>.el-tabs__header .el-tabs__item.is-active,body .el-tabs--card>.el-tabs__header .el-tabs__item,body .el-tabs--card>.el-tabs__header,body .el-tabs--card>.el-tabs__header .el-tabs__nav{border-color:var(--prev-bg-color)}body .el-tabs--border-card{background-color:var(--prev-bg-white);border-color:var(--prev-border-color-base)}body .el-tabs--border-card>.el-tabs__header{background-color:var(--prev-bg-color);border-color:var(--prev-border-color-light)}body .el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{background-color:var(--prev-bg-white);border-color:var(--prev-border-color-base)}body .el-breadcrumb__item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}body .el-breadcrumb__inner a{color:var(--prev-bg-topBarColor)!important}body .el-breadcrumb__inner a:hover,body .el-breadcrumb__inner.is-link:hover{color:var(--prev-bg-topBarColor)}body .el-breadcrumb__inner a,body .el-breadcrumb__inner.is-link{color:var(--prev-bg-topBarColor);font-weight:400}body .el-breadcrumb__inner a,body .el-breadcrumb__inner.is-link{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--prev-color-text-black);opacity:.7}body .el-breadcrumb__separator{color:var(--prev-border-color-hover)}body .el-page-header__left{color:var(--prev-color-text-black)}body .el-page-header__left:after{background-color:var(--prev-border-color-base)}body .el-page-header__content{color:var(--prev-color-text-primary)}body .el-dropdown-menu__item:focus,body .el-dropdown-menu__item:not(.is-disabled):hover{color:var(--prev-color-primary);background-color:var(--prev-color-primary-light-9)}body .el-dropdown-menu{background-color:var(--prev-bg-white);border-color:#ebeef5}body .el-dropdown-menu__item{color:var(--prev-color-text-regular)}body .el-dropdown-menu__item--divided{border-color:var(--prev-border-color-lighter)}body .el-dropdown-menu__item--divided:before{background-color:var(--prev-bg-white)}body .el-step__title.is-finish,body .el-step__description.is-finish,body .el-step__head.is-finish{color:var(--prev-color-primary)}body .el-step__head.is-finish{border-color:var(--prev-color-primary)}body .el-dialog__headerbtn:focus .el-dialog__close,body .el-dialog__headerbtn:hover .el-dialog__close{color:var(--prev-color-primary)}body .el-dialog{background-color:var(--prev-bg-white)}body .el-dialog__title{color:var(--prev-color-text-primary)}body .el-dialog__body{color:var(--prev-color-text-regular)}body .el-tooltip{border-color:var(--prev-border-color-lighter);color:var(--prev-color-text-regular)}body .el-popover__title{color:var(--prev-color-text-primary)}body .el-card{color:var(--prev-color-text-primary);background-color:var(--prev-bg-white);border:none!important;border-color:var(--prev-border-color-lighter)}body .el-card__header{padding:15px 20px;border-bottom-color:var(--prev-color-primary-light-9)}body .el-collapse{border-color:var(--prev-border-color-lighter)}body .el-collapse-item__header{color:var(--prev-color-text-primary);background-color:var(--prev-bg-white);border-color:var(--prev-border-color-lighter)}body .el-collapse-item__wrap{background-color:var(--prev-bg-white);border-color:var(--prev-border-color-lighter)}body .el-collapse-item__content{color:var(--prev-color-text-primary)}body .el-timeline-item__node--primary{background-color:var(--prev-color-primary)}body .el-timeline-item__content{color:var(--prev-color-text-primary)}body .el-divider{background-color:var(--prev-color-primary-light-9)}body .el-calendar-table td{color:var(--prev-color-text-black)}body .el-calendar-table td.is-today{color:var(--prev-color-primary)!important;background-color:var(--prev-color-primary-light-9)}body .el-calendar-table .el-calendar-day:hover,body .el-calendar-table td.is-selected{background-color:var(--prev-color-primary-light-9);color:var(--prev-color-primary)!important}body .el-calendar{background-color:var(--prev-bg-white)}body .el-calendar__title{color:var(--prev-color-text-black)}body .el-calendar__header,body .el-calendar-table tr:first-child td,body .el-calendar-table td,body .el-calendar-table tr td:first-child{border-color:var(--prev-border-color-lighter)}body .el-calendar-table thead th{color:var(--prev-color-text-regular)}body .el-calendar-table:not(.is-range) td.next,body .el-calendar-table:not(.is-range) td.prev{color:var(--prev-color-text-placeholder)}body .el-calendar__button-group .el-button{color:var(--prev-color-text-regular);background-color:var(--prev-bg-white);border-color:var(--prev-border-color-base)}body .el-calendar__button-group .el-button:focus,body .el-calendar__button-group .el-button:hover{color:var(--prev-color-primary)!important;background:var(--prev-color-primary-light-8)!important;border-color:var(--prev-color-primary-light-6)!important}body .el-calendar__button-group .el-button:active{color:var(--prev-color-primary-light-3)}body .el-backtop{color:var(--prev-color-primary)}body .el-backtop:hover{background-color:var(--prev-color-primary-light-9)}body .el-scrollbar__wrap{overflow-x:hidden!important;max-height:100%}body .el-select-dropdown .el-scrollbar__wrap{overflow-x:scroll!important}body .el-drawer,body .el-divider__text{background-color:var(--prev-bg-white)}body .el-divider__text{color:var(--prev-color-text-primary);white-space:nowrap}body .el-drawer__close-btn:hover{color:var(--prev-color-primary)}body .el-drawer__body{width:100%;height:100%;overflow:auto;padding:20px 35px}body .el-drawer__header{padding:0 15px!important;height:50px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-weight:500;margin-bottom:0!important;border-bottom:1px solid var(--prev-border-color-lighter);color:var(--prev-color-text-primary)}.el-drawer__header>:first-child{font-size:14px;font-weight:500;color:#303133;line-height:14px}.el-alert--info .el-alert__description,.el-alert.is-light .el-alert__closebtn{color:#f7ba1e!important}.el-form-item--small .el-form-item__content,.el-form-item--small .el-form-item__label{line-height:31px!important}.vxe-table--render-default .vxe-cell--checkbox.is--checked .vxe-checkbox--icon,.vxe-table--render-default .vxe-cell--checkbox.is--indeterminate .vxe-checkbox--icon{color:var(--prev-color-primary)!important}[data-theme=dark]{--prev-bg-menuBar: #191919 !important;--prev-bg-menuBarColor: #dadada !important;--prev-bg-topBar: #191919 !important;--prev-bg-topBarColor: #dadada !important;--prev-bg-columnsMenuBar: #191919 !important;--prev-bg-columnsMenuBarColor: #dadada !important;--prev-bg-main-color: #1f1f1f !important;--prev-bg-color: rgba(0, 0, 0, .3) !important;--prev-bg-white: #191919 !important;--prev-color-text-black: #ffffff !important;--prev-color-text-primary: #dadada !important;--prev-color-text-regular: #dadada !important;--prev-color-text-secondary: #a3a3a3 !important;--prev-color-hover: rgba(0, 0, 0, .3) !important;--prev-color-seting-main: #505050 !important;--prev-color-seting-aside: #3c3c3c !important;--prev-color-seting-header: #303030 !important;--prev-border-color-hover: #616161 !important;--prev-border-color-base: #333333 !important;--prev-border-color-light: #333333 !important;--prev-border-color-lighter: #333333 !important;--prev-border-color-extra-light: #333333 !important}[data-theme=dark] .layout-aside{border-right:1px solid var(--prev-border-color-lighter)!important}[data-theme=dark] .el-drawer{border-left:1px solid var(--prev-border-color-lighter)!important}[data-theme=dark] .el-button--default{background:var(--prev-bg-white);color:var(--prev-color-text-primary);border-color:var(--prev-border-color-lighter)}[data-theme=dark] .el-button--default:hover,[data-theme=dark] .el-button--default:focus{color:var(--prev-color-primary)!important;background:var(--prev-color-primary-light-8)!important;border-color:var(--prev-color-primary-light-6)!important}[data-theme=dark] .el-button--default:focus{border-color:var(--prev-color-primary-light-1)!important}[data-theme=dark] .el-button--default:active{border-color:var(--prev-color-primary-light-6)!important}[data-theme=dark] .el-tag.el-tag--info{background-color:var(--prev-bg-white)!important;border-color:var(--prev-border-color-light)!important;color:var(--prev-color-text-regular)!important}[data-theme=dark] .el-table{--el-table-row-hover-bg-color: #121212}[data-theme=dark] .el-switch:not(.is-checked) .el-switch__core{border-color:var(--prev-border-color-base)!important;background-color:var(--prev-border-color-base)!important}[data-theme=dark] .el-time-spinner__item.active:not(.disabled){color:var(--prev-color-primary)!important}[data-theme=dark] .el-date-table td.in-range div,[data-theme=dark] .el-date-table td.in-range div:hover,[data-theme=dark] .el-date-table.is-week-mode .el-date-table__row.current div,[data-theme=dark] .el-date-table.is-week-mode .el-date-table__row:hover div,[data-theme=dark] .el-date-table td.selected div,[data-theme=dark] .el-month-table td.in-range div,[data-theme=dark] .el-month-table td.in-range div:hover,[data-theme=dark] .el-transfer-panel,[data-theme=dark] .el-transfer-panel .el-transfer-panel__header,[data-theme=dark] .el-loading-mask{background-color:var(--prev-bg-color)!important}[data-theme=dark] .el-dropdown-menu__item:focus,[data-theme=dark] .el-dropdown-menu__item:not(.is-disabled):hover{background-color:var(--prev-color-hover)!important}[data-theme=dark] .el-dialog,[data-theme=dark] .el-calendar{border:1px solid var(--prev-border-color-lighter)}@font-face{font-family:iconfont;src:url(//at.alicdn.com/t/c/font_993865_y16rke07phr.woff2?t=1770019710811) format("woff2"),url(//at.alicdn.com/t/c/font_993865_y16rke07phr.woff?t=1770019710811) format("woff"),url(//at.alicdn.com/t/c/font_993865_y16rke07phr.ttf?t=1770019710811) format("truetype")}.em{display:inline-block;height:1em;width:1em;overflow:hidden;line-height:18px;font-size:22px;vertical-align:middle;margin-top:-4px;color:transparent!important;background-size:4100%;background-image:url(/admin/system_static/look-Cgrx0S6u.png)!important}.em.em-tlj-1{background-position:0% 0%}.em.em-tlj-2{background-position:0% 2.5%}.em.em-tlj-3{background-position:0% 5%}.em.em-tlj-4{background-position:0% 7.5%}.em.em-tlj-5{background-position:0% 10%}.em.em-tlj-6{background-position:0% 12.5%}.em.em-tlj-7{background-position:0% 15%}.em.em-tlj-8{background-position:0% 17.5%}.em.em-tlj-9{background-position:0% 20%}.em.em-tlj-10{background-position:0% 22.5%}.em.em-tlj-11{background-position:0% 25%}.em.em-tlj-12{background-position:0% 27.5%}.em.em-tlj-13{background-position:0% 30%}.em.em-tlj-14{background-position:0% 32.5%}.em.em-tlj-15{background-position:0% 35%}.em.em-tlj-16{background-position:0% 37.5%}.em.em-tlj-17{background-position:0% 40%}.em.em-tlj-18{background-position:0% 42.5%}.em.em-tlj-19{background-position:0% 45%}.em.em-tlj-20{background-position:0% 47.5%}.em.em-tlj-21{background-position:0% 50%}.em.em-tlj-22{background-position:0% 52.5%}.em.em-tlj-23{background-position:0% 55%}.em.em-tlj-24{background-position:0% 57.5%}.em.em-tlj-25{background-position:0% 60%}.em.em-tlj-26{background-position:0% 62.5%}.em.em-tlj-27{background-position:0% 65%}.em.em-tlj-28{background-position:0% 67.5%}.em.em-tlj-29{background-position:0% 70%}.em.em-tlj-30{background-position:0% 72.5%}.em.em-tlj-31{background-position:0% 75%}.em.em-tlj-32{background-position:0% 77.5%}.em.em-tlj-33{background-position:0% 80%}.em.em-tlj-34{background-position:0% 82.5%}.em.em-tlj-35{background-position:0% 85%}.em.em-tlj-36{background-position:0% 87.5%}.em.em-tlj-37{background-position:0% 90%}.em.em-tlj-38{background-position:0% 92.5%}.em.em-tlj-39{background-position:0% 95%}.em.em-tlj-40{background-position:0% 97.5%}.em.em-tlj-41{background-position:0% 100%}.em.em-tlj-42{background-position:2.5% 0%}.em.em-tlj-43{background-position:2.5% 2.5%}.em.em-tlj-44{background-position:2.5% 5%}.em.em-tlj-45{background-position:2.5% 7.5%}.em.em-tlj-46{background-position:2.5% 10%}.em.em-tlj-47{background-position:2.5% 12.5%}.em.em-tlj-48{background-position:2.5% 15%}.em.em-tlj-49{background-position:2.5% 17.5%}.em.em-tlj-50{background-position:2.5% 20%}.em.em-tlj-51{background-position:2.5% 22.5%}.em.em-tlj-52{background-position:2.5% 25%}.em.em-tlj-53{background-position:2.5% 27.5%}.em.em-tlj-54{background-position:2.5% 30%}.em.em-tlj-55{background-position:2.5% 32.5%}.em.em-tlj-56{background-position:2.5% 35%}.em.em-tlj-57{background-position:2.5% 37.5%}.em.em-tlj-58{background-position:2.5% 40%}.em.em-tlj-59{background-position:2.5% 42.5%}.em.em-tlj-60{background-position:2.5% 45%}.em.em-tlj-61{background-position:2.5% 47.5%}.em.em-tlj-62{background-position:2.5% 50%}.em.em-tlj-63{background-position:2.5% 52.5%}.em.em-tlj-64{background-position:2.5% 55%}.em.em-tlj-65{background-position:2.5% 57.5%}.em.em-tlj-66{background-position:2.5% 60%}.em.em-tlj-67{background-position:2.5% 62.5%}.em.em-tlj-68{background-position:2.5% 65%}.em.em-tlj-69{background-position:2.5% 67.5%}.em.em-tlj-70{background-position:2.5% 70%}.em.em-tlj-71{background-position:2.5% 72.5%}.em.em-tlj-72{background-position:2.5% 75%}.em.em-tlj-73{background-position:2.5% 77.5%}.em.em-tlj-74{background-position:2.5% 80%}.em.em-tlj-75{background-position:2.5% 82.5%}.em.em-tlj-76{background-position:2.5% 85%}.em.em-tlj-77{background-position:2.5% 87.5%}.em.em-tlj-78{background-position:2.5% 90%}.em.em-tlj-79{background-position:2.5% 92.5%}.em.em-tlj-80{background-position:2.5% 95%}.em.em-tlj-81{background-position:2.5% 97.5%}.em.em-tlj-82{background-position:2.5% 100%}.em.em-tlj-83{background-position:5% 0%}.em.em-tlj-84{background-position:5% 2.5%}.em.em-tlj-85{background-position:5% 5%}.em.em-tlj-86{background-position:5% 7.5%}.em.em-tlj-87{background-position:5% 10%}.em.em-tlj-88{background-position:5% 12.5%}.em.em-tlj-89{background-position:5% 15%}.em.em-tlj-90{background-position:5% 17.5%}.em.em-tlj-91{background-position:5% 20%}.em.em-tlj-92{background-position:5% 22.5%}.em.em-tlj-93{background-position:5% 25%}.em.em-tlj-94{background-position:5% 27.5%}.em.em-tlj-95{background-position:5% 30%}.em.em-tlj-96{background-position:5% 32.5%}@font-face{font-family:iconfont;src:url(//at.alicdn.com/t/c/font_1945396_dq310cxaxok.woff2?t=1770189526356) format("woff2"),url(//at.alicdn.com/t/c/font_1945396_dq310cxaxok.woff?t=1770189526356) format("woff"),url(//at.alicdn.com/t/c/font_1945396_dq310cxaxok.ttf?t=1770189526356) format("truetype")}.iconfont{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.iconic_edit2:before{content:""}.iconic_jinyan:before{content:""}.iconic_microphone:before{content:""}.iconic_huashu:before{content:""}.iconic_video2:before{content:""}.iconshangyibu:before{content:""}.iconshangyibu1:before{content:""}.iconzujian-zidingyi:before{content:""}.icontubiao-2:before{content:""}.iconwenben-2:before{content:""}.iconmianban-2:before{content:""}.iconxiantiao-2:before{content:""}.icontupian-2:before{content:""}.iconzujian-huiyuanxinxi:before{content:""}.iconzujian-youpintuijian:before{content:""}.iconzujian-shangpinxinxi:before{content:""}.iconzujian-shangjiaguanli:before{content:""}.iconzujian-dibucaidan1:before{content:""}.iconzujian-dingdanzhongxin:before{content:""}.iconzujian-shangpinpingjia:before{content:""}.iconzujian-shangpinfuwu:before{content:""}.iconzujian-fufeihuiyuan:before{content:""}.iconzujian-wodefuwu:before{content:""}.icona-ic_user1:before{content:""}.iconic_Refresh:before{content:""}.icona-ic_Picturearrangement:before{content:""}.iconic_Eyes:before{content:""}.iconic_eye:before{content:""}.iconic_commodity:before{content:""}.iconicon_question:before{content:""}.iconicon_Link:before{content:""}.iconic_home:before{content:""}.iconic_brush:before{content:""}.iconic_zhuti:before{content:""}.iconic_output:before{content:""}.iconic_expand:before{content:""}.iconic_delete2:before{content:""}.iconzhiding:before{content:""}.iconzhidi:before{content:""}.iconshangbianju:before{content:""}.iconyoubianju:before{content:""}.iconxiabianju:before{content:""}.iconzuobianju:before{content:""}.iconjuzhongduiqi:before{content:""}.iconliangduanduiqi:before{content:""}.iconyouduiqi:before{content:""}.iconzuoduiqi:before{content:""}.icondiduiqi:before{content:""}.iconshuipingjuzhong:before{content:""}.iconchuizhijuzhong:before{content:""}.icondingduiqi:before{content:""}.iconzuoduiqi1:before{content:""}.iconyouduiqi1:before{content:""}.iconbianju:before{content:""}.iconsuodingbili:before{content:""}.iconneibianju-you:before{content:""}.iconneibianju-zuo:before{content:""}.iconneibianju-xia:before{content:""}.iconneibianju-shang:before{content:""}.icona-ic_ShoppingBag2:before{content:""}.iconhuiyuandengji:before{content:""}.iconic_loading:before{content:""}.iconic_more2-copy:before{content:""}.icona-ic_wechatpay:before{content:""}.icona-ic_alipay:before{content:""}.iconic_more2:before{content:""}.iconshouyintai-gerenzhongxin:before{content:""}.iconicon_cash:before{content:""}.icona-icon_yue:before{content:""}.iconshouyintai-tuichu:before{content:""}.iconshouyintai-jiaojieban:before{content:""}.iconruku:before{content:""}.iconchuku:before{content:""}.icona-xingbietubiaonan:before{content:""}.icona-xingbietubiaobaomi:before{content:""}.icona-xingbietubiaonv:before{content:""}.iconzujian-tuijianzu:before{content:""}.iconyanzhengma:before{content:""}.iconmima1:before{content:""}.iconyonghuming:before{content:""}.iconshoujihao:before{content:""}.icongongge1:before{content:""}.iconicon_talk:before{content:""}.iconic_location51:before{content:""}.iconic_picture:before{content:""}.iconic_location41:before{content:""}.iconic_star:before{content:""}.iconic-clock2:before{content:""}.iconic_edit1:before{content:""}.icona-zu10416:before{content:""}.iconzhankai-01:before{content:""}.iconshouqi-01:before{content:""}.icona-zu10158:before{content:""}.iconshanchu-01:before{content:""}.icontianjia-01:before{content:""}.iconshezhi2:before{content:""}.iconshangpinguanli:before{content:""}.icondingdanguanli1:before{content:""}.iconyingxiaozhongxin:before{content:""}.icondaogouyeji:before{content:""}.iconxitongshezhi1:before{content:""}.iconyonghuguanli1:before{content:""}.iconxiaoxipeizhi:before{content:""}.iconrongqi:before{content:""}.iconyouhuiquan5:before{content:""}.iconwenzhangguanli-01:before{content:""}.icontixianshenqing-01:before{content:""}.icondaogouguanli-01:before{content:""}.iconfenxiaoguanli-01:before{content:""}.iconshouhouguanli-01:before{content:""}.iconxiayi-01:before{content:""}.iconjinyong-01:before{content:""}.iconshangyi-01:before{content:""}.iconqiyong-01:before{content:""}.iconrequ1:before{content:""}.iconrequ:before{content:""}.iconicon_Like_2:before{content:""}.iconic_mall:before{content:""}.iconic_Like:before{content:""}.icona-zu80222:before{content:""}.iconfuzhi1:before{content:""}.icona-fuzhi1:before{content:""}.iconlianjie:before{content:""}.icona-xuanzhong1:before{content:""}.iconweixuanzhong:before{content:""}.icondaifahuo-jifen:before{content:""}.iconic_fire:before{content:""}.iconfuxuankuang-weixuanzhong:before{content:""}.iconcaozuo-zhengti:before{content:""}.iconcaozuo-bianjiao:before{content:""}.iconbofang:before{content:""}.iconyoushangjiao:before{content:""}.iconguanbi:before{content:""}.iconxia:before{content:""}.iconxingzhuangjiehe:before{content:""}.iconxianshi:before{content:""}.iconwancheng:before{content:""}.iconshanchu3:before{content:""}.iconshang:before{content:""}.iconjiahao1:before{content:""}.iconfuxuankuang-xuanzhong:before{content:""}.iconyouxiajiao:before{content:""}.iconyincang:before{content:""}.icongouwuche1:before{content:""}.iconyou:before{content:""}.iconzuoshangjiao:before{content:""}.iconzuoxiajiao:before{content:""}.iconzujian-gongzhonghao:before{content:""}.iconzujian-pintuan:before{content:""}.iconzujian-shangpinxuanxiangka:before{content:""}.iconzujian-qiandao:before{content:""}.iconzujian-xuanfuanniu:before{content:""}.iconzujian-xuanxiangka1:before{content:""}.iconzujian-jifenshangcheng:before{content:""}.iconzujian-kanjia:before{content:""}.iconzujian-requ:before{content:""}.iconzujian-duanshipin:before{content:""}.iconzujian-xinrenzhuanxiang:before{content:""}.iconzujian-paihangbang:before{content:""}.iconzujian-yonghuxinxi:before{content:""}.iconzujian-yushou:before{content:""}.iconzujian-dianpujie:before{content:""}.iconzujian-daohangzu:before{content:""}.iconzujian-biaoti:before{content:""}.iconzujian-fuzhukongbai:before{content:""}.iconzujian-tupianmofang:before{content:""}.iconzujian-shangpinfenlei:before{content:""}.iconzujian-wenzhangliebiao:before{content:""}.iconzujian-shangpinliebiao:before{content:""}.iconzujian-lunbotu:before{content:""}.iconzujian-xiaochengxuzhibo:before{content:""}.iconzujian-fuwenben:before{content:""}.iconzujian-shipin:before{content:""}.iconzujian-sousuokuang:before{content:""}.iconzujian-zhongcaoshequ:before{content:""}.iconzujian-xuanfucaidan:before{content:""}.iconzujian-miaosha:before{content:""}.iconzujian-youhuiquan:before{content:""}.iconzujian-xinwenbobao:before{content:""}.iconzujian-xuanxiangka:before{content:""}.iconzujian-zuhezujian:before{content:""}.iconzujian-fuzhuxian:before{content:""}.iconzujian-dibucaidan:before{content:""}.icondaifahuo2:before{content:""}.icondaichuli-yonghufankui:before{content:""}.icondaituikuan:before{content:""}.icondaishenhe-tixian:before{content:""}.icondaishenhe-shanghuruzhu:before{content:""}.icondaishenhe-shequneirong:before{content:""}.iconjingjiekucun:before{content:""}.icondaishenhe-zhuanzhang:before{content:""}.iconputongshangpin:before{content:""}.iconshouqingshangpin:before{content:""}.icondaihexiao-fenxiaolibao:before{content:""}.icondaihuifu:before{content:""}.icondaikaipiao:before{content:""}.icondaihexiao:before{content:""}.iconzaishoushangpin:before{content:""}.iconhuodongshangpin:before{content:""}.iconxitongshezhi:before{content:""}.iconyonghuguanli:before{content:""}.iconshangpin:before{content:""}.iconfenxiaoguanli:before{content:""}.iconyouhuiquan4:before{content:""}.iconwenzhangguanli:before{content:""}.icondingdanguanli:before{content:""}.iconduanxinpeizhi:before{content:""}.iconshangyeshouquan:before{content:""}.iconweixinzhifu:before{content:""}.iconzhifubao:before{content:""}.icongongge:before{content:""}.iconliebiao:before{content:""}.iconshouyintai-shouyin1:before{content:""}.iconshouyintai-dingdan1:before{content:""}.iconshouyintai-hexiao1:before{content:""}.iconshouyintai-zhuoma:before{content:""}.iconshouyintai-tuihuo1:before{content:""}.iconshouyintai-yonghu:before{content:""}.iconshouyintai-guadan1:before{content:""}.iconshouyintai-chongzhi1:before{content:""}.iconqudaoma:before{content:""}.iconbiaodanzujian-duoxuankuang:before{content:""}.iconbiaodanzujian-riqi:before{content:""}.iconbiaodanzujian-danxuankuang:before{content:""}.iconbiaodanzujian-danhangwenben:before{content:""}.iconbiaodanzujian-riqifanwei:before{content:""}.iconbiaodanzujian-shijian:before{content:""}.iconbiaodanzujian-xialakuang:before{content:""}.iconbiaodanzujian-shijianfanwei:before{content:""}.iconbiaodanzujian-tupian:before{content:""}.iconbiaodanzujian-chengshi:before{content:""}.icondangqianjifen:before{content:""}.iconleijijifen:before{content:""}.iconfaqirenshu:before{content:""}.iconshengyukucun:before{content:""}.icontuiguangrenshu:before{content:""}.iconkanjiachenggong:before{content:""}.iconchengtuanshu:before{content:""}.iconcanyurenshu:before{content:""}.iconxiadanrenshu:before{content:""}.iconxiaohaojifen:before{content:""}.iconzhifudingdan:before{content:""}.iconzhifurenshu:before{content:""}.iconxinrenli2:before{content:""}.iconhuiyuanjihuo:before{content:""}.iconyangshier:before{content:""}.iconyangshiyi:before{content:""}.icona-zuhe-banner1:before{content:""}.icontupianmofang2:before{content:""}.iconshangpinfenlei1:before{content:""}.iconpeizhiyindao1:before{content:""}.iconyuechongzhi:before{content:""}.iconyouhuitaocan:before{content:""}.iconzuhe-fenlei:before{content:""}.iconpeizhiyindao:before{content:""}.iconduanshipin1:before{content:""}.icondinjiannzhe:before{content:""}.iconhuodongbeijingtu:before{content:""}.iconjifenshangcheng:before{content:""}.iconhuodongbiankuang:before{content:""}.iconkanjiahuodong:before{content:""}.iconjiugonggechoujiang:before{content:""}.iconmansonghuodong:before{content:""}.iconmanjianmanzhe:before{content:""}.iconmeiriqiandao:before{content:""}.iconwenzhang:before{content:""}.iconmiaoshahuodong:before{content:""}.iconpintuanhuodong:before{content:""}.iconyouhuiquan3:before{content:""}.iconzhibo:before{content:""}.iconxianshizhekou:before{content:""}.icontupianmofang1:before{content:""}.iconremaipaihang:before{content:""}.iconyonghuxinxi:before{content:""}.iconshipinyangshi2:before{content:""}.iconbiaoti3:before{content:""}.iconshipinyangshi1:before{content:""}.icondingwei1:before{content:""}.iconsousuo11:before{content:""}.iconshouji1:before{content:""}.iconerweima:before{content:""}.iconsousuo1:before{content:""}.icondingwei:before{content:""}.iconshipindianzan-yidian:before{content:""}.iconshipindianzan-weidian:before{content:""}.icondingbudaohang:before{content:""}.iconduanshipin:before{content:""}.iconxinrenli:before{content:""}.icongouwuche:before{content:""}.iconfenxiang:before{content:""}.iconkanjia2:before{content:""}.iconpintuan3:before{content:""}.iconkefu2:before{content:""}.icona-shoucang:before{content:""}.iconmendian:before{content:""}.iconmiaosha3:before{content:""}.icontuikuandingdanliang:before{content:""}.icondingdanliang:before{content:""}.icondingdanjine:before{content:""}.icontuikuanjine:before{content:""}.icontongji:before{content:""}.iconbiaoge1:before{content:""}.iconfanhui1:before{content:""}.iconpc-jifen:before{content:""}.iconpc-youhuiquan:before{content:""}.iconshouyintai:before{content:""}.iconjia:before{content:""}.iconjian:before{content:""}.iconcrmeb1:before{content:""}.iconzuoyou:before{content:""}.iconshangxia:before{content:""}.icondangqianqunchengyuan:before{content:""}.iconjinrituiqun:before{content:""}.iconjinrixinzeng:before{content:""}.iconleijituiqun:before{content:""}.icondianpujie:before{content:""}.icontupian4:before{content:""}.icona-shouyintai-weixinzhifubao:before{content:""}.iconshouyintai-xianjinshoukuan:before{content:""}.iconshouyintai-xingzhuang:before{content:""}.iconshouyintai-shuaxin:before{content:""}.iconshouyintai-mima:before{content:""}.iconshouyintai-qiyeweixin:before{content:""}.iconshouyintai-dianyuan:before{content:""}.iconshouyintai-qingkong:before{content:""}.iconshouyintai-shaixuan:before{content:""}.iconshouyintai-weixin:before{content:""}.iconshouyintai-zhanghao:before{content:""}.iconshouyintai-yanjing:before{content:""}.iconzidingyicaidan:before{content:""}.iconfuwenben3:before{content:""}.iconzhongcaoshequ1:before{content:""}.iconyushou1:before{content:""}.iconxiaochengxuzhibo3:before{content:""}.iconguanzhugongzhonghao2:before{content:""}.iconzhuanti:before{content:""}.iconfuzhukongbai2:before{content:""}.iconzhuli:before{content:""}.iconsousuokuang:before{content:""}.iconmiaosha2:before{content:""}.icontuijianzu:before{content:""}.icondaohangzu2:before{content:""}.iconpintuan2:before{content:""}.iconshangpinliebiao2:before{content:""}.iconshangpinfenlei:before{content:""}.iconxinwenbobao2:before{content:""}.iconyouhuiquan2:before{content:""}.iconfuzhuxian2:before{content:""}.iconzaixiankefu:before{content:""}.iconbiaoti2:before{content:""}.iconlunbotu:before{content:""}.icontupianmofang:before{content:""}.iconbanquan:before{content:""}.iconcaidanshouqi:before{content:""}.iconcaidanzhankai:before{content:""}.icondingdan:before{content:""}.iconapp:before{content:""}.iconPC:before{content:""}.iconxiaochengxu:before{content:""}.icongongzhonghao:before{content:""}.iconh5:before{content:""}.iconshipin:before{content:""}.iconqiehuanhuiyuan:before{content:""}.iconguadan:before{content:""}.iconhexiaodingdanjine:before{content:""}.iconmendiandingdanjine:before{content:""}.iconmendianchengjiaoyonghushu:before{content:""}.iconfufeihuiyuanjine:before{content:""}.iconshouyindingdanjine:before{content:""}.iconmendianxinzengyonghushu:before{content:""}.iconhuiyuankajihuoshu:before{content:""}.iconxinzengyonghushu1:before{content:""}.iconfenpeidingdanjine:before{content:""}.iconyuexiaohaojine:before{content:""}.iconerweima-xingerenzhongxin:before{content:""}.iconhuishan:before{content:""}.iconshangpinshuliang-jia:before{content:""}.iconshangpinshuliang-jian:before{content:""}.icontupianguanggao1:before{content:""}.iconsousukuang1:before{content:""}.iconwenzhangliebiao1:before{content:""}.iconpintuan1:before{content:""}.iconshangpinliebiao1:before{content:""}.iconyouhuiquan1:before{content:""}.iconxiaochengxuzhibo1:before{content:""}.iconmiaosha1:before{content:""}.iconxinwenbobao1:before{content:""}.icondaohangzu1:before{content:""}.iconbiaoti1:before{content:""}.iconfenleidaohang1:before{content:""}.iconcuxiaoliebiao1:before{content:""}.iconfuzhukongbai1:before{content:""}.iconhuodongmofang1:before{content:""}.iconguanzhugongzhonghao1:before{content:""}.iconkanjia1:before{content:""}.iconfuzhuxian1:before{content:""}.iconkefu1:before{content:""}.iconfuwenben1:before{content:""}.icondantu:before{content:""}.iconlashen:before{content:""}.iconpingpu:before{content:""}.iconshouhou-tuikuan-lan:before{content:""}.icondaifukuan-lan:before{content:""}.icondaishouhuo-lan:before{content:""}.icondaipingjia-lan:before{content:""}.icondaifahuo-lan:before{content:""}.icondaifukuan-ju:before{content:""}.iconshouhou-tuikuan-ju:before{content:""}.icondaishouhuo-ju:before{content:""}.icondaipingjia-ju:before{content:""}.icondaifahuo-ju:before{content:""}.icondaipingjia-fen:before{content:""}.icondaishouhuo-fen:before{content:""}.icondaifukuan-fen:before{content:""}.icondaifahuo-fen:before{content:""}.icona-shouhoutuikuan-fen:before{content:""}.icondaifahuo-lv:before{content:""}.icondaishouhuo-lv:before{content:""}.icondaifukuan-lv:before{content:""}.icondaipingjia-lv:before{content:""}.iconshouhou-tuikuan-lv:before{content:""}.icondaifukuan1:before{content:""}.icondaipingjia1:before{content:""}.iconshouhou_tuikuan:before{content:""}.icondaifahuo1:before{content:""}.icondaishouhuo1:before{content:""}.iconshezhi:before{content:""}.icons-kefu:before{content:""}.iconduohang:before{content:""}.icon4ge1:before{content:""}.icon5ge1:before{content:""}.icondayuanjiao:before{content:""}.icon3ge1:before{content:""}.icondanhang:before{content:""}.iconzuoyoutuwen:before{content:""}.iconyangshi8:before{content:""}.iconyangshi9:before{content:""}.iconyangshi1:before{content:""}.iconyangshi4:before{content:""}.iconyangshi5:before{content:""}.iconyangshi6:before{content:""}.iconyangshi2:before{content:""}.iconyangshi7:before{content:""}.iconyangshi3:before{content:""}.iconshuzi:before{content:""}.iconjinyong:before{content:""}.icon4ge:before{content:""}.icon3ge:before{content:""}.icon5ge:before{content:""}.icon2hang:before{content:""}.icon3hang:before{content:""}.icon4hang:before{content:""}.iconxiayi:before{content:""}.iconshangyi:before{content:""}.iconshanchu2:before{content:""}.iconfuzhi:before{content:""}.iconzuixin:before{content:""}.iconxuanzhong6:before{content:""}.icontianjia:before{content:""}.iconbianji2:before{content:""}.icongengduozhankai1:before{content:""}.icontupian3:before{content:""}.iconbiaoqing2:before{content:""}.iconhuashu1:before{content:""}.iconshangpintuikuanjine:before{content:""}.iconjiaoyijine:before{content:""}.iconyuezhifujine:before{content:""}.iconzhifuyongjinjine:before{content:""}.iconxianxiashouyinjine:before{content:""}.iconliaotian:before{content:""}.iconbianji11:before{content:""}.iconjinru:before{content:""}.iconfanhui:before{content:""}.icongengduo:before{content:""}.iconfasong:before{content:""}.iconcha1:before{content:""}.iconmima:before{content:""}.iconsousuo:before{content:""}.iconshouji:before{content:""}.icontuichu:before{content:""}.iconshangpinxinxi:before{content:""}.iconzhanghao:before{content:""}.iconbiaoqing:before{content:""}.icongengduozhankai:before{content:""}.iconhuashu:before{content:""}.icontupian2:before{content:""}.icontianjia11:before{content:""}.iconbianji1:before{content:""}.iconshezhi1:before{content:""}.iconshanchu1:before{content:""}.iconjiahao:before{content:""}.iconcha:before{content:""}.iconshanchu:before{content:""}.iconbianji:before{content:""}.iconduihao:before{content:""}.icondaipingjia:before{content:""}.icondaishouhuo:before{content:""}.iconshouhou-tuikuan:before{content:""}.icondaifahuo:before{content:""}.icondaifukuan:before{content:""}.iconzhuanjie:before{content:""}.iconliulanqi:before{content:""}.iconfangkeshu:before{content:""}.iconfangwenliang:before{content:""}.iconchengjiaoyonghushu:before{content:""}.iconchongzhijianshu:before{content:""}.iconchengbenjine:before{content:""}.iconfufeihuiyuanshu:before{content:""}.iconchongzhiyonghushu:before{content:""}.icongoumaihuiyuanjine:before{content:""}.iconfangke-zhifuzhuanhuashuai:before{content:""}.iconjingzengyonghu:before{content:""}.iconkedanjia:before{content:""}.iconjiagoujianshu:before{content:""}.iconleijichongzhiyonghu:before{content:""}.iconleijichengjiaoyonghu:before{content:""}.iconleijihuiyuanshu:before{content:""}.iconshangpinliulanliang:before{content:""}.iconshangpinzhifujine:before{content:""}.icontuikuanjianshu:before{content:""}.iconleijiguanzhuyonghu:before{content:""}.icontuikuan:before{content:""}.iconxiadanjianshu:before{content:""}.iconleijiquguanyonghu:before{content:""}.iconleijiyonghu:before{content:""}.iconxinzengquguanyonghu:before{content:""}.iconshangpinfangkeshu:before{content:""}.iconxinzengyonghushu:before{content:""}.iconxinzengguanzhuyonghu:before{content:""}.iconzhifujine:before{content:""}.iconyingyee:before{content:""}.iconzhifujianshu:before{content:""}.iconzhichujine:before{content:""}.iconguanji:before{content:""}.iconshengyinjingyinxianxing:before{content:""}.iconshengyinyinliang:before{content:""}.iconguanbi5:before{content:""}.icontupian1:before{content:""}.iconbiaoqing1:before{content:""}.iconzhanghaomima:before{content:""}.iconerweima2:before{content:""}.iconjuxing:before{content:""}.iconzidongxuanze:before{content:""}.iconshoudongxuanze:before{content:""}.icondanlie:before{content:""}.iconlianglie:before{content:""}.iconsanlie:before{content:""}.iconzhibozhong:before{content:""}.iconyijieshu:before{content:""}.iconweikaishi:before{content:""}.icondrag2:before{content:""}.iconbanner_3:before{content:""}.iconxiaochengxuzhibo:before{content:""}.iconSolidline:before{content:""}.iconDottedline:before{content:""}.iconDotline:before{content:""}.icondrop-down:before{content:""}.iconDot:before{content:""}.iconSquarepoint:before{content:""}.icondel_2:before{content:""}.iconaddto:before{content:""}.icondel_1:before{content:""}.icondrag:before{content:""}.iconComm_number:before{content:""}.iconComm_whole:before{content:""}.iconComm_Price:before{content:""}.iconPic_square:before{content:""}.iconPic_fillet:before{content:""}.iconsearch_2:before{content:""}.iconsearch_1:before{content:""}.iconbanner_2:before{content:""}.iconPic_small:before{content:""}.iconPic_big:before{content:""}.iconbanner_1:before{content:""}.icondoc_skew:before{content:""}.icondoc_bold:before{content:""}.icondoc_general:before{content:""}.iconfive:before{content:""}.iconFour:before{content:""}.icondoc_center:before{content:""}.icondoc_right:before{content:""}.icondoc_left:before{content:""}.icontupian:before{content:""}.iconkefu:before{content:""}.iconfuzhuxian:before{content:""}.iconbiaoti:before{content:""}.icondaohangzu:before{content:""}.iconfuzhukongbai:before{content:""}.iconfenleidaohang:before{content:""}.iconcuxiaoliebiao:before{content:""}.iconkanjia:before{content:""}.iconguanzhugongzhonghao:before{content:""}.iconhuodongmofang:before{content:""}.iconfuwenben:before{content:""}.iconmiaosha:before{content:""}.iconshangpinliebiao:before{content:""}.iconpintuan:before{content:""}.iconsousukuang:before{content:""}.icontupianguanggao:before{content:""}.iconxinwenbobao:before{content:""}.iconwenzhangliebiao:before{content:""}.iconyouhuiquan:before{content:""}@font-face{font-family:mb-iconfont;src:url(//at.alicdn.com/t/c/font_993865_ygvqu4b1otm.woff2?t=1764987591131) format("woff2"),url(//at.alicdn.com/t/c/font_993865_ygvqu4b1otm.woff?t=1764987591131) format("woff"),url(//at.alicdn.com/t/c/font_993865_ygvqu4b1otm.ttf?t=1764987591131) format("truetype")}.mb-iconfont{font-family:mb-iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-ic_sale:before{content:""}.icon-ic_clock:before{content:""}.icon-a-jiantou11:before{content:""}.icon-kefuliaotian:before{content:""}.icon-ic_location51:before{content:""}.icon-ic_enlarge:before{content:""}.icon-ic_star:before{content:""}.icon-ic_location41:before{content:""}.icon-ic_picture:before{content:""}.icon-ic_ShoppingCart1:before{content:""}.icon-ic_increase-2:before{content:""}.icon-a-ic_Imageandtextsorting:before{content:""}.icon-ic_gift1:before{content:""}.icon-ic_gift2:before{content:""}.icon-ic-complete1:before{content:""}.icon-ic_close1:before{content:""}.icon-a-ic_QRcode:before{content:""}.icon-ic_video1:before{content:""}.icon-ic_Like:before{content:""}.icon-ic_fire:before{content:""}.icon-caozuo-zhengti:before{content:""}.icon-bofang:before{content:""}.icon-caozuo-bianjiao:before{content:""}.icon-fuxuankuang-xuanzhong:before{content:""}.icon-fuzhi1:before{content:""}.icon-jiahao11:before{content:""}.icon-guanbi6:before{content:""}.icon-shang:before{content:""}.icon-wancheng1:before{content:""}.icon-shanchu31:before{content:""}.icon-xingzhuangjiehe1:before{content:""}.icon-xia:before{content:""}.icon-xianshi1:before{content:""}.icon-youshangjiao:before{content:""}.icon-gouwuche11:before{content:""}.icon-zuoshangjiao:before{content:""}.icon-zuoxiajiao:before{content:""}.icon-you2:before{content:""}.icon-yincang:before{content:""}.icon-youxiajiao:before{content:""}.icon-fuxuankuang-weixuanzhong:before{content:""}.icon-daifahuo-jifen:before{content:""}.icon-weixuanzhong1:before{content:""}.icon-a-xuanzhong1:before{content:""}.icon-lianjie:before{content:""}.icon-a-zu10416:before{content:""}.icon-ic_edit1:before{content:""}.icon-ic_rightarrow:before{content:""}.icon-ic_close2:before{content:""}.icon-ic_share1:before{content:""}.icon-kanjiahuohua:before{content:""}.icon-ic_xuni:before{content:""}.icon-icon_tip:before{content:""}.icon-ic_user1:before{content:""}.icon-ic_invite:before{content:""}.icon-ic_box:before{content:""}.icon-gongzuotai-unselect:before{content:""}.icon-dingdan-unselect:before{content:""}.icon-dingdan-select:before{content:""}.icon-shangpin-unselect:before{content:""}.icon-gongzuotai-select:before{content:""}.icon-shangpin-select:before{content:""}.icon-shouhou-select:before{content:""}.icon-shouhou-unselect:before{content:""}.icon-ic_shangpin:before{content:""}.icon-ic_shouhou:before{content:""}.icon-ic_user:before{content:""}.icon-icon_dingdan:before{content:""}.icon-ic_increase:before{content:""}.icon-ic_Reduce:before{content:""}.icon-a-icon_filter1x:before{content:""}.icon-a-icon_cloud1x:before{content:""}.icon-ic_batch:before{content:""}.icon-ic_edit:before{content:""}.icon-ic_search:before{content:""}.icon-ic_returnmoney:before{content:""}.icon-ic_returnofgoods:before{content:""}.icon-ic_location4:before{content:""}.icon-a-ic_tanhao1:before{content:""}.icon-ic_daifahuo:before{content:""}.icon-ic_daifukuan:before{content:""}.icon-huiyuandengji:before{content:""}.icon-ic_notes:before{content:""}.icon-ic_Selected:before{content:""}.icon-ic_unselect:before{content:""}.icon-a-ic_CompleteSelect:before{content:""}.icon-ic_Scan:before{content:""}.icon-huodong-renshu:before{content:""}.icon-huodong-shijian:before{content:""}.icon-huodong-jianjie:before{content:""}.icon-shuoming2:before{content:""}.icon-jintuikuan:before{content:""}.icon-tuihuotuikuan:before{content:""}.icon-shoucang4:before{content:""}.icon-yishoucang2:before{content:""}.icon-dianpu2:before{content:""}.icon-yincangzhuangtai:before{content:""}.icon-xianshizhuangtai:before{content:""}.icon-fenxiang4:before{content:""}.icon-yilingwan1:before{content:""}.icon-yilingqu1:before{content:""}.icon-yishixiao:before{content:""}.icon-yishiyong:before{content:""}.icon-ditu1:before{content:""}.icon-xiala3:before{content:""}.icon-xiangshang2:before{content:""}.icon-peisong1:before{content:""}.icon-fabuzhongcao:before{content:""}.icon-qiandao1:before{content:""}.icon-jinzhipinglun:before{content:""}.icon-yunxupinglun:before{content:""}.icon-jifenshangcheng:before{content:""}.icon-fabu2:before{content:""}.icon-bianji6:before{content:""}.icon-zhibo-yugao:before{content:""}.icon-zhibo-huifang:before{content:""}.icon-zhibo-zhibozhong:before{content:""}.icon-a-guanzhu:before{content:""}.icon-huati:before{content:""}.icon-shuaxin:before{content:""}.icon-pinglun3:before{content:""}.icon-neirongfenlei:before{content:""}.icon-canyuhuati1:before{content:""}.icon-tianjiabaobei:before{content:""}.icon-zhankai:before{content:""}.icon-shouqi:before{content:""}.icon-ziti:before{content:""}.icon-pindan:before{content:""}.icon-daifukuan1:before{content:""}.icon-daifahuo1:before{content:""}.icon-daipingjia1:before{content:""}.icon-daishouhuo1:before{content:""}.icon-a-shouhoutuikuan1:before{content:""}.icon-baozhengjin:before{content:""}.icon-tonglianzhifu1:before{content:""}.icon-dianpu1:before{content:""}.icon-paizhao:before{content:""}.icon-24gf-play:before{content:""}.icon-yiquxiao:before{content:""}.icon-wutouxiang:before{content:""}.icon-fenxiang3:before{content:""}.icon-pinglun2:before{content:""}.icon-shipin1:before{content:""}.icon-tuwen1:before{content:""}.icon-shangpinye_fenxiang:before{content:""}.icon-gou2:before{content:""}.icon-daihexiao:before{content:""}.icon-pengyouquan1:before{content:""}.icon-shangpin1:before{content:""}.icon-tishi2:before{content:""}.icon-baoguo:before{content:""}.icon-shipin:before{content:""}.icon-fengmian:before{content:""}.icon-hexiaoma:before{content:""}.icon-tuwen:before{content:""}.icon-tianjiashipin:before{content:""}.icon-chehui:before{content:""}.icon-fuzhi:before{content:""}.icon-yue2:before{content:""}.icon-gouwu_o:before{content:""}.icon-chengchangzhi:before{content:""}.icon-fabu1:before{content:""}.icon-qiandao:before{content:""}.icon-pingjia3:before{content:""}.icon-yaoqing1:before{content:""}.icon-liebiao1:before{content:""}.icon-liebiao2:before{content:""}.icon-xiaofeijilu-rongcuo:before{content:""}.icon-goumaishangpin:before{content:""}.icon-meiriqiandao:before{content:""}.icon-yaoqinghaoyou2:before{content:""}.icon-xiaofeijilu1:before{content:""}.icon-fufeihuiyuan1:before{content:""}.icon-goumai:before{content:""}.icon-dengdaizhifu:before{content:""}.icon-xinghao:before{content:""}.icon-shouji2:before{content:""}.icon-dingwei4:before{content:""}.icon-sousuo8:before{content:""}.icon-erweima3:before{content:""}.icon-shoudanyouhui:before{content:""}.icon-gouwuche-mendian:before{content:""}.icon-kefu-mendian:before{content:""}.icon-zhongwen:before{content:""}.icon-yingwen:before{content:""}.icon-shipindianzan-weidian1:before{content:""}.icon-shipindianzan-yidian:before{content:""}.icon-mendian1:before{content:""}.icon-gouwuche8:before{content:""}.icon-tianjiagouwuche:before{content:""}.icon-shipindianzan-weidian:before{content:""}.icon-pingjia2:before{content:""}.icon-liwu:before{content:""}.icon-shipindianzan:before{content:""}.icon-dingwei2:before{content:""}.icon-dianhua:before{content:""}.icon-yingyeshijian1:before{content:""}.icon-bianji4:before{content:""}.icon-xuanzhong6:before{content:""}.icon-shaixuan1:before{content:""}.icon-yingyeshijian2:before{content:""}.icon-dingwei3:before{content:""}.icon-mendian:before{content:""}.icon-fangda1:before{content:""}.icon-meiyuan:before{content:""}.icon-jifen:before{content:""}.icon-youhuiquan2:before{content:""}.icon-zuji-xuanzhong:before{content:""}.icon-zuji:before{content:""}.icon-fanhui3:before{content:""}.icon-fenxiaodingdan:before{content:""}.icon-tuiguangrenpaihang1:before{content:""}.icon-huodongguize:before{content:""}.icon-xingzhuangjiehe:before{content:""}.icon-wodetuandui:before{content:""}.icon-yaoqinghaoyou1:before{content:""}.icon-yongjinpaihang1:before{content:""}.icon-daohangdaodian:before{content:""}.icon-yingyeshijian:before{content:""}.icon-dingwei1:before{content:""}.icon-zhidianzixun:before{content:""}.icon-pc-jifen:before{content:""}.icon-pc-youhuiquan:before{content:""}.icon-qunliao:before{content:""}.icon-dingdan-xuanzhong:before{content:""}.icon-jilu-xuanzhong:before{content:""}.icon-kehu-xuanzhong:before{content:""}.icon-jilu:before{content:""}.icon-dingdan1:before{content:""}.icon-kehu:before{content:""}.icon-xingbie-nan:before{content:""}.icon-xingbie-nv:before{content:""}.icon-v:before{content:""}.icon-huangguan4:before{content:""}.icon-yilingqu:before{content:""}.icon-jinru3:before{content:""}.icon-dingdanguanli:before{content:""}.icon-kefujilu:before{content:""}.icon-dingdanhexiao:before{content:""}.icon-shangjiaguanli:before{content:""}.icon-yaoqinghaoyou:before{content:""}.icon-yongjinpaihang:before{content:""}.icon-tuiguangrenpaihang:before{content:""}.icon-mimatubiao:before{content:""}.icon-xianshi:before{content:""}.icon-zhekoujia:before{content:""}.icon-zhu:before{content:""}.icon-weizan:before{content:""}.icon-zan:before{content:""}.icon-pinglun1:before{content:""}.icon-gou1:before{content:""}.icon-banquan:before{content:""}.icon-gengxinshijian:before{content:""}.icon-xiazailiang:before{content:""}.icon-wenjiandaxiao:before{content:""}.icon-dizhi1:before{content:""}.icon-guojiagaoxinqiye:before{content:""}.icon-yishoucang1:before{content:""}.icon-wendang:before{content:""}.icon-shoucangbenzhan1:before{content:""}.icon-fenlei3:before{content:""}.icon-shenheweitongguo:before{content:""}.icon-shenhetongguo:before{content:""}.icon-daishenhe:before{content:""}.icon-shoufaxinpin:before{content:""}.icon-cuxiaodanpin:before{content:""}.icon-jingpintuijian1:before{content:""}.icon-paihangbang:before{content:""}.icon-yidianzan:before{content:""}.icon-dianzan1:before{content:""}.icon-haoyoudaizhifu:before{content:""}.icon-baobeilianjie:before{content:""}.icon-canyuhuati:before{content:""}.icon-dianzan:before{content:""}.icon-pinglun:before{content:""}.icon-fenxiang2:before{content:""}.icon-fabu:before{content:""}.icon-gengduo5:before{content:""}.icon-fanhui2:before{content:""}.icon-kanjialiebiao:before{content:""}.icon-xunishangpin:before{content:""}.icon-dingdanliebiao:before{content:""}.icon-shujutongji1:before{content:""}.icon-sousuo7:before{content:""}.icon-zhibozhong1:before{content:""}.icon-youhuiquanshisebeijing:before{content:""}.icon-youhuiquantoumingbeijing:before{content:""}.icon-yushouanniu:before{content:""}.icon-gengduo4:before{content:""}.icon-sousuo6:before{content:""}.icon-gerenzhongxin1:before{content:""}.icon-shoucang3:before{content:""}.icon-shouye8:before{content:""}.icon-gouwuche7:before{content:""}.icon-fuzhikouling1:before{content:""}.icon-zhuanti:before{content:""}.icon-daifukuan-3:before{content:""}.icon-shouhou-tuikuan-3:before{content:""}.icon-daipingjia-3:before{content:""}.icon-daifahuo-3:before{content:""}.icon-quanbudingdan-3:before{content:""}.icon-daifahuo-2:before{content:""}.icon-daishouhuo-2:before{content:""}.icon-daipingjia-2:before{content:""}.icon-shouhou-tuikuan-2:before{content:""}.icon-daifukuan-2:before{content:""}.icon-duoshanghupc-shuomingdanchuang:before{content:""}.icon-duoshanghupc-daohuotongzhi:before{content:""}.icon-duoshanghupc-baozhang:before{content:""}.icon-dianpu:before{content:""}.icon-dengjitubiao:before{content:""}.icon-daifahuo-xingerenzhongxin:before{content:""}.icon-erweima-xingerenzhongxin:before{content:""}.icon-quanbudingdan-xingerenzhongxin:before{content:""}.icon-xiaoxi-xingerenzhongxin:before{content:""}.icon-daipingjia-xingerenzhongxin:before{content:""}.icon-a-shouhoutuikuan-xingerenzhongxin:before{content:""}.icon-daifukuan-xingerenzhongxin:before{content:""}.icon-fapiao2:before{content:""}.icon-shouhou-tuikuan-lan:before{content:""}.icon-daipingjia-lan:before{content:""}.icon-daishouhuo-lan:before{content:""}.icon-daifukuan-lan:before{content:""}.icon-daifahuo-lan:before{content:""}.icon-daifahuo-ju:before{content:""}.icon-daifukuan-ju:before{content:""}.icon-daishouhuo-ju:before{content:""}.icon-shouhou-tuikuan-ju:before{content:""}.icon-daipingjia-ju:before{content:""}.icon-daishouhuo-fen:before{content:""}.icon-daipingjia-fen:before{content:""}.icon-daifukuan-fen:before{content:""}.icon-a-shouhoutuikuan-fen:before{content:""}.icon-daifahuo-fen:before{content:""}.icon-daifahuo-lv:before{content:""}.icon-shouhou-tuikuan-lv:before{content:""}.icon-daifukuan-lv:before{content:""}.icon-daishouhuo-lv:before{content:""}.icon-daipingjia-lv:before{content:""}.icon-daishouhuo:before{content:""}.icon-daipingjia:before{content:""}.icon-daifahuo:before{content:""}.icon-daifukuan:before{content:""}.icon-a-shouhoutuikuan:before{content:""}.icon-gouwuche-yangshi1:before{content:""}.icon-gouwuche-yangshi2:before{content:""}.icon-rilitubiao:before{content:""}.icon-tishi1:before{content:""}.icon-daituihuo1:before{content:""}.icon-shenqingzhong:before{content:""}.icon-fanyong:before{content:""}.icon-zizhizhengjian:before{content:""}.icon-fenxiaodengji:before{content:""}.icon-yijujue:before{content:""}.icon-tuikuanzhong1:before{content:""}.icon-tuikuanshibai:before{content:""}.icon-tuikuanchenggong:before{content:""}.icon-tuikuanzhong11:before{content:""}.icon-yiwancheng:before{content:""}.icon-yituikuan1:before{content:""}.icon-tuikuan1:before{content:""}.icon-tuihuo:before{content:""}.icon-shenhe:before{content:""}.icon-shangchuantupian1:before{content:""}.icon-shouye7:before{content:""}.icon-shengqian:before{content:""}.icon-xiaolian1:before{content:""}.icon-fangda:before{content:""}.icon-dianjichoujiang:before{content:""}.icon-7jinianban:before{content:""}.icon-lingquyouhuiquananniu:before{content:""}.icon-qiandaochenggonganniu:before{content:""}.icon-s-xianshimiaosha:before{content:""}.icon-s-pintuan1:before{content:""}.icon-s-kanjia1:before{content:""}.icon-s-pingguo:before{content:""}.icon-s-weixindenglu1:before{content:""}.icon-s-yanzhengmadenglu1:before{content:""}.icon-s-mimadenglu1:before{content:""}.icon-s-yanzhengma:before{content:""}.icon-pengyouquan:before{content:""}.icon-jifenzhongxin:before{content:""}.icon-s-chongzhijilu:before{content:""}.icon-s-xiaofeijilu:before{content:""}.icon-s-zhangdanjilu:before{content:""}.icon-s-kefu:before{content:""}.icon-s-bianji:before{content:""}.icon-s-pintuan:before{content:""}.icon-s-kanjia:before{content:""}.icon-s-miaosha:before{content:""}.icon-fanhui1:before{content:""}.icon-kefu3:before{content:""}.icon-shouye6:before{content:""}.icon-chakanditu:before{content:""}.icon-haowuquan1:before{content:""}.icon-haowuquan:before{content:""}.icon-gengduozhankai1:before{content:""}.icon-biaoqing2:before{content:""}.icon-huashu1:before{content:""}.icon-tupian2:before{content:""}.icon-huifang:before{content:""}.icon-zhibozhong:before{content:""}.icon-huangguan3:before{content:""}.icon-huiyuan2:before{content:""}.icon-fapiao1:before{content:""}.icon-cha3:before{content:""}.icon-shezhi1:before{content:""}.icon-tianjia1:before{content:""}.icon-bianji3:before{content:""}.icon-jiahao2:before{content:""}.icon-shanchu3:before{content:""}.icon-fuzhikouling:before{content:""}.icon-kefujiedai:before{content:""}.icon-miaosha1:before{content:""}.icon-bianji2:before{content:""}.icon-qingkonghuancun:before{content:""}.icon-shijian1:before{content:""}.icon-wenhao1:before{content:""}.icon-zhanghaomima:before{content:""}.icon-erweima2:before{content:""}.icon-guanji:before{content:""}.icon-tupian1:before{content:""}.icon-biaoqing1:before{content:""}.icon-guanbi5:before{content:""}.icon-shengyinjingyinxianxing:before{content:""}.icon-shengyinyinliang:before{content:""}.icon-pingjia1:before{content:""}.icon-xialazhankai:before{content:""}.icon-cha2:before{content:""}.icon-fanhuishouye:before{content:""}.icon-gengduo3:before{content:""}.icon-fenxiang1:before{content:""}.icon-sousuo5:before{content:""}.icon-huiyuan1:before{content:""}.icon-gou:before{content:""}.icon-gouwuche6:before{content:""}.icon-you1:before{content:""}.icon-zuo1:before{content:""}.icon-vip12:before{content:""}.icon-youhuiquan1:before{content:""}.icon-kefu21:before{content:""}.icon-yue1:before{content:""}.icon-huiyuanzhongxin:before{content:""}.icon-kanjiajilu:before{content:""}.icon-dizhixinxi:before{content:""}.icon-wodetuiguang:before{content:""}.icon-wodeshoucang:before{content:""}.icon-huidaodingbu1:before{content:""}.icon-saoyisao:before{content:""}.icon-jiageshaixuanshang:before{content:""}.icon-jiageshaixuanxia:before{content:""}.icon-shouji1:before{content:""}.icon-gengduo2:before{content:""}.icon-cha1:before{content:""}.icon-fasong:before{content:""}.icon-gengduozhankai:before{content:""}.icon-biaoqing:before{content:""}.icon-huashu:before{content:""}.icon-tupian:before{content:""}.icon-mima:before{content:""}.icon-zhanghao:before{content:""}.icon-fanhui:before{content:""}.icon-jinru2:before{content:""}.icon-shangpinxinxi:before{content:""}.icon-tuichu:before{content:""}.icon-jiaoyidingdan:before{content:""}.icon-sousuo4:before{content:""}.icon-xuanzhong5:before{content:""}.icon-VIP2:before{content:""}.icon-pinzhong:before{content:""}.icon-hanghuo:before{content:""}.icon-zhifa:before{content:""}.icon-dijia:before{content:""}.icon-gerenzhongxin-xuanzhong:before{content:""}.icon-xuanzhong4:before{content:""}.icon-zanwumiaosha:before{content:""}.icon-shangchuantupian:before{content:""}.icon-fuwu:before{content:""}.icon-tuikuantishi:before{content:""}.icon-erweima-youxia:before{content:""}.icon-erweimabianjiao:before{content:""}.icon-weixindenglu1:before{content:""}.icon-zhanghaodenglu1:before{content:""}.icon-shangjiashijian:before{content:""}.icon-jiageshaixuan:before{content:""}.icon-gengduofenlei:before{content:""}.icon-weixuan:before{content:""}.icon-xuanzhong11:before{content:""}.icon-pingjia:before{content:""}.icon-guanbi4:before{content:""}.icon-pinzhongqiquan:before{content:""}.icon-dijiachangxuan:before{content:""}.icon-zhengpinhanghuo:before{content:""}.icon-dizhi-tianjia:before{content:""}.icon-shanchu2:before{content:""}.icon-yue:before{content:""}.icon-weixinzhifu1:before{content:""}.icon-shangpinshuliang-jian:before{content:""}.icon-shangpinshuliang-jia:before{content:""}.icon-xuanzhong3:before{content:""}.icon-dizhixiala:before{content:""}.icon-jinru1:before{content:""}.icon-shenqingtuikuan:before{content:""}.icon-peihuo:before{content:""}.icon-xiadan:before{content:""}.icon-wancheng:before{content:""}.icon-fukuan:before{content:""}.icon-fahuo:before{content:""}.icon-saoma:before{content:""}.icon-tishi:before{content:""}.icon-xiala2:before{content:""}.icon-VIP1:before{content:""}.icon-yishoucang:before{content:""}.icon-shoucang2:before{content:""}.icon-kefu2:before{content:""}.icon-fapiao:before{content:""}.icon-fapiaoguanli:before{content:""}.icon-jinru:before{content:""}.icon-sousuo3:before{content:""}.icon-dingbu-gouwuche:before{content:""}.icon-huidaodingbu:before{content:""}.icon-cedaohang-gouwuche:before{content:""}.icon-weixin4:before{content:""}.icon-lianxikefu:before{content:""}.icon-zuo-miaosha:before{content:""}.icon-you-miaosha:before{content:""}.icon-zuo:before{content:""}.icon-you:before{content:""}.icon-shoucangbenzhan:before{content:""}.icon-lianxishangjia:before{content:""}.icon-dingwei:before{content:""}.icon-fenlei2:before{content:""}.icon-wode:before{content:""}.icon-shouye5:before{content:""}.icon-gouwuche5:before{content:""}.icon-jianhao1:before{content:""}.icon-jiahao1:before{content:""}.icon-yanzhengma1:before{content:""}.icon-shouji:before{content:""}.icon-cha:before{content:""}.icon-shoujihao:before{content:""}.icon-qiye:before{content:""}.icon-yonghu3:before{content:""}.icon-yanzhengma:before{content:""}.icon-shangpin:before{content:""}.icon-qiandao2:before{content:""}.icon-yaoqing:before{content:""}.icon-tuihuozhong:before{content:""}.icon-shenhezhong1:before{content:""}.icon-daituihuo:before{content:""}.icon-yihexiao:before{content:""}.icon-yijujue1:before{content:""}.icon-gengduo1:before{content:""}.icon-tuikuan:before{content:""}.icon-xiaoxi:before{content:""}.icon-erweima1:before{content:""}.icon-kefu1:before{content:""}.icon-guanzhu:before{content:""}.icon-xiangji:before{content:""}.icon-zhuyi-copy:before{content:""}.icon-pingfen:before{content:""}.icon-yingyongAPP_o:before{content:""}.icon-yizhan_o:before{content:""}.icon-shaixuan:before{content:""}.icon-shangjiadingdan:before{content:""}.icon-shouye4:before{content:""}.icon-jinbi2:before{content:""}.icon-jinbi:before{content:""}.icon-zuobiao:before{content:""}.icon-jianhao:before{content:""}.icon-jiahao:before{content:""}.icon-zhibojieshux:before{content:""}.icon-zhibo:before{content:""}.icon-VIP:before{content:""}.icon-tuiguang:before{content:""}.icon-geren1:before{content:""}.icon-gouwuche4:before{content:""}.icon-fenlei1:before{content:""}.icon-shouye3:before{content:""}.icon-geren:before{content:""}.icon-gouwuche3:before{content:""}.icon-fenlei:before{content:""}.icon-shouye2:before{content:""}.icon-mzshopping:before{content:""}.icon-gongneng:before{content:""}.icon-gerenzhongxin-copy:before{content:""}.icon-shouye1-copy:before{content:""}.icon-gerenzhongxin:before{content:""}.icon-shouye1:before{content:""}.icon-gouwuche2:before{content:""}.icon-fenleiyemian:before{content:""}.icon-gouwuche2-copy:before{content:""}.icon-fenleiyemian-copy:before{content:""}.icon-tonghua:before{content:""}.icon-youjian:before{content:""}.icon-dadianhua01:before{content:""}.icon-paihang:before{content:""}.icon-weizhi:before{content:""}.icon-paihang1:before{content:""}.icon-shuoming1:before{content:""}.icon-dianhau:before{content:""}.icon-shijian:before{content:""}.icon-huabanfuben:before{content:""}.icon-jian:before{content:""}.icon-jia:before{content:""}.icon-xiugai:before{content:""}.icon-anniu_jiantouzhankai_o:before{content:""}.icon-jiantou_xiayiye_o:before{content:""}.icon-jiantou_shangxiaqiehuan_o:before{content:""}.icon-shangxiazhankai_o:before{content:""}.icon-dianhua_o:before{content:""}.icon-yunshangchuan_o:before{content:""}.icon-bingtu_o:before{content:""}.icon-baoguo_huanbaohe_o:before{content:""}.icon-baoguo_quxiaoshouhuo_o:before{content:""}.icon-baoguo_shouhuo_o:before{content:""}.icon-baoguo_lingjian_o:before{content:""}.icon-baoguo_shouna_o:before{content:""}.icon-xianxiazhifu:before{content:""}.icon-icon_im_keyboard:before{content:""}.icon-tupian-:before{content:""}.icon-icon_im_face:before{content:""}.icon-yuezhifu:before{content:""}.icon-yuezhifu1:before{content:""}.icon-weixinzhifu:before{content:""}.icon-zhifubao:before{content:""}.icon-haibao:before{content:""}.icon-weixin3:before{content:""}.icon-crmeb1:before{content:""}.icon-crmeb:before{content:""}.icon-xuanzhong2:before{content:""}.icon-shujutongji:before{content:""}.icon-xiangxishuju:before{content:""}.icon-gengduo:before{content:""}.icon-up:before{content:""}.icon-yonghu2:before{content:""}.icon-zhinengkefu-:before{content:""}.icon-xiangshang1:before{content:""}.icon-xiangxia2:before{content:""}.icon-code_:before{content:""}.icon-code_1:before{content:""}.icon-phone_:before{content:""}.icon-xiala:before{content:""}.icon-shezhi:before{content:""}.icon-bianji1:before{content:""}.icon-shoucang1:before{content:""}.icon-jiazai:before{content:""}.icon-2:before{content:""}.icon-tuandui:before{content:""}.icon-jinbi1:before{content:""}.icon-guanbi3:before{content:""}.icon-wenti:before{content:""}.icon-ziyuan-xianxing:before{content:""}.icon-yonghu1:before{content:""}.icon-dingdan:before{content:""}.icon-suozi:before{content:""}.icon-quanxianguanlisuozi:before{content:""}.icon-lingxing:before{content:""}.icon-miaosha:before{content:""}.icon-hebingxingzhuang:before{content:""}.icon-kanjia1:before{content:""}.icon-qiandai:before{content:""}.icon-tongji:before{content:""}.icon-erweima:before{content:""}.icon-icon34:before{content:""}.icon-yinhangqia:before{content:""}.icon-yituikuan:before{content:""}.icon-tuikuanzhong:before{content:""}.icon-sousuo2:before{content:""}.icon-caidan:before{content:""}.icon-icon25201:before{content:""}.icon-shitixing:before{content:""}.icon-kongxinxing:before{content:""}.icon-pintuanchenggong:before{content:""}.icon-pintuanshibai:before{content:""}.icon-laba:before{content:""}.icon-xiaolian:before{content:""}.icon-kanjia:before{content:""}.icon-shuoming:before{content:""}.icon-mingxi:before{content:""}.icon-tishengfenzhi:before{content:""}.icon-guanbi2:before{content:""}.icon-yuandianxiao:before{content:""}.icon-webicon318:before{content:""}.icon-tianjiadizhi:before{content:""}.icon-shanchu:before{content:""}.icon-weixin2:before{content:""}.icon-icon-test:before{content:""}.icon-guanbi1:before{content:""}.icon-shoucang:before{content:""}.icon-kefu:before{content:""}.icon-biankuang:before{content:""}.icon-zhuangshixian:before{content:""}.icon-jishuzhichi:before{content:""}.icon-xuanzhong1:before{content:""}.icon-weixuanzhong:before{content:""}.icon-xiangshang:before{content:""}.icon-xiangxia:before{content:""}.icon-cuxiaoguanli:before{content:""}.icon-shanchu1:before{content:""}.icon-caigou-xianxing:before{content:""}.icon-caigou:before{content:""}.icon-yingyongchengxu-xianxing:before{content:""}.icon-yingyongchengxu:before{content:""}.icon-shouye:before{content:""}.icon-shouye-xianxing:before{content:""}.icon-yonghu-xianxing:before{content:""}.icon-yonghu:before{content:""}.icon-sousuo:before{content:""}.icon-sousuo1:before{content:""}.icon-kefu_o:before{content:""}.icon-liwu_o:before{content:""}.icon-huobiliu_o:before{content:""}.icon-jinbi_o:before{content:""}.icon-gerentouxiang_o:before{content:""}.icon-qunzu_o:before{content:""}.icon-shoucang_o:before{content:""}.icon-didiandingwei_o:before{content:""}.icon-xiangyou:before{content:""}.icon-jingpintuijian:before{content:""}.icon-xinpin:before{content:""}.icon-remen:before{content:""}.icon-xiangzuo:before{content:""}.icon-ditu:before{content:""}.icon-guanbi:before{content:""}.icon-liulan:before{content:""}.icon-shenhezhong:before{content:""}.icon-chongzhi:before{content:""}.icon-iconfontguanbi:before{content:""}.icon-zhekou:before{content:""}.icon-duihao2:before{content:""}.icon-duihao:before{content:""}.icon-jingyanzhi:before{content:""}.icon-wuliu:before{content:""}.icon-pintuan-copy:before{content:""}.icon-arrow:before{content:""}.icon-pintuan:before{content:""}.icon-youhuiquan:before{content:""}.icon-gouwuche1:before{content:""}.icon-pailie:before{content:""}.icon-tupianpailie:before{content:""}.icon-xiazai5:before{content:""}.icon-weixin1:before{content:""}.icon-gouwuche:before{content:""}.icon-jiantou:before{content:""}.icon-huiyuan:before{content:""}.icon-xuanzhong:before{content:""}.icon-complete:before{content:""}.icon-xiala1:before{content:""}.icon-dizhi:before{content:""}.icon-weixin:before{content:""}.icon-fenxiang:before{content:""}.icon-bianji:before{content:""}.icon-huangguan:before{content:""}.icon-huangguan1:before{content:""}.icon-huangguan2:before{content:""}@font-face{font-family:crmeb-icon;src:url(/admin/system_static/crmeb_iconfont-e8Tn5Wqb.woff2?t=1790068779425) format("woff2"),url(/admin/system_static/crmeb_iconfont-Cc4PHFhh.woff?t=1790068779425) format("woff"),url(/admin/system_static/crmeb_iconfont-DISY6zH1.ttf?t=1790068779425) format("truetype")}.crmeb-icon{font-family:crmeb-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.CRMEB-951-AIhuihua-xianxing:before{content:""}.CRMEB-952-AIhuihua-mianxing:before{content:""}.CRMEB-956-MCP-mianxing:before{content:""}.CRMEB-954-zhishiku-mianxing:before{content:""}.CRMEB-953-zhishiku-xianxing:before{content:""}.CRMEB-955-MCP-xianxing:before{content:""}.CRMEB-950-jiantou-xianxing:before{content:""}.CRMEB-923-gemini-mianxing:before{content:""}.CRMEB-938-hailuoAI-mianxing:before{content:""}.CRMEB-941-ririxin-mianxing:before{content:""}.CRMEB-919-bukelianjie-xianxing:before{content:""}.CRMEB-920-zhipuqingyan-mianxing:before{content:""}.CRMEB-921-chatgpt-mianxing:before{content:""}.CRMEB-922-Cloudcode-mianxing:before{content:""}.CRMEB-927-baiduqianfan-mianxing:before{content:""}.CRMEB-932-zhipuAI-mianxing:before{content:""}.CRMEB-930-tengxunyuanbao-mianxing:before{content:""}.CRMEB-924-openclaw-mianxing:before{content:""}.CRMEB-929-tengxunhunyuan-mianxing:before{content:""}.CRMEB-936-duiyou-mianxing:before{content:""}.CRMEB-935-xunfeixinghuo-mianxing:before{content:""}.CRMEB-937-kimi-mianxing:before{content:""}.CRMEB-939-minimax-mianxing:before{content:""}.CRMEB-931-Workbuddy-mianxing:before{content:""}.CRMEB-934-deepseek-mianxing:before{content:""}.CRMEB-942-mistral-mianxing:before{content:""}.CRMEB-933-yuezhianmian-mianxing:before{content:""}.CRMEB-946-keling-mianxing:before{content:""}.CRMEB-940-baichuanzhineng-mianxing:before{content:""}.CRMEB-943-liblib-mianxing:before{content:""}.CRMEB-926-wenxinyiyan-mianxing:before{content:""}.CRMEB-944-zuotang-mianxing:before{content:""}.CRMEB-945-midjourney-mianxing:before{content:""}.CRMEB-928-tongyiqianwen-mianxing:before{content:""}.CRMEB-949-vidu-mianxing:before{content:""}.CRMEB-948-jimeng-mianxing:before{content:""}.CRMEB-947-manus-mianxing:before{content:""}.CRMEB-925-doubao-mianxing:before{content:""}.CRMEB-916-fenlei-xianxing:before{content:""}.CRMEB-917-fenlei-mianxing:before{content:""}.CRMEB-918-fuzhi-xianxing:before{content:""}.CRMED-915-wangluo-xianxing:before{content:""}.CRMED-914-zidingyi-xianxing:before{content:""}.CRMEB-913-caidan-xianxing:before{content:""}.CRMEB-899-you-xianxing:before{content:""}.CRMEB-507-tuihuoruku-mianxing:before{content:""}.CRMEB-509-zongrukushu-mianxing:before{content:""}.CRMEB-508-zongrukushu-xianxing:before{content:""}.CRMEB-502-caigouruku-xianxing:before{content:""}.CRMEB-506-tuihuoruku-xianxing:before{content:""}.CRMEB-503-caigouruku-mianxing:before{content:""}.CRMEB-501-panyingruku-mianxing:before{content:""}.CRMEB-500-panyingruku-xianxing:before{content:""}.CRMEB-516-yongquanshuliang-xianxing:before{content:""}.CRMEB-517-yongquanshuliang-mianxing:before{content:""}.CRMEB-515-yongquanjine-mianxing:before{content:""}.CRMEB-519-chuzhizongjine-mianxing:before{content:""}.CRMEB-510-dingdanjine-xianxing:before{content:""}.CRMEB-512-jiagoujianshu-xianxing:before{content:""}.CRMEB-511-dingdanjine-mianxing:before{content:""}.CRMEB-505-qitaruku-mianxing:before{content:""}.CRMEB-504-qitaruku-xianxing:before{content:""}.CRMEB-528-shangpinzhifujine-xianxing:before{content:""}.CRMEB-529-shangpinzhifujine-mianxing:before{content:""}.CRMEB-531-xiadanjianshu-mianxing:before{content:""}.CRMEB-522-chuzhituikuanjine-xianxing:before{content:""}.CRMEB-527-pingtaishouxufei-mianxing:before{content:""}.CRMEB-513-jiagoujianshu-mianxing:before{content:""}.CRMEB-520-leijichuzhijine-xianxing:before{content:""}.CRMEB-521-leijichuzhijine-mianxing:before{content:""}.CRMEB-514-yongquanjine-xianxing:before{content:""}.CRMEB-523-chuzhituikuanjine-mianxing:before{content:""}.CRMEB-532-gongtushitu-xianxing:before{content:""}.CRMEB-539-jifendikoujine-mianxing:before{content:""}.CRMEB-526-pingtaishouxufei-xianxing:before{content:""}.CRMEB-536-tuiguangdingdanshu-xianxing:before{content:""}.CRMEB-518-chuzhizongjine-xianxing:before{content:""}.CRMEB-537-tuiguangdingdanshu-mianxing:before{content:""}.CRMEB-530-xiadanjianshu-xianxing:before{content:""}.CRMEB-535-shanghuruzhu-mianxing:before{content:""}.CRMEB-524-daikaifapiao-xianxing:before{content:""}.CRMEB-545-daichuliyonghufankui-mianxing:before{content:""}.CRMEB-546-jiaoyichenggongshu-xianxing:before{content:""}.CRMEB-541-zhifuzhuanhuashuai-mianxing:before{content:""}.CRMEB-543-shenheweitongguoshangpin-mianxing:before{content:""}.CRMEB-542-shenheweitongguoshangpin-xianxing:before{content:""}.CRMEB-538-jifendikoujine-xianxing:before{content:""}.CRMEB-533-gongtushitu-xianxing:before{content:""}.CRMEB-540-zhifuzhuanhuashuai-xianxing:before{content:""}.CRMEB-525-daikaifapiao-mianxing:before{content:""}.CRMEB-534-shanghuruzhu-xianxing:before{content:""}.CRMEB-561-xican-mianxing:before{content:""}.CRMEB-560-xican-xianxing:before{content:""}.CRMEB-554-shanghujiaoyi-xianxing:before{content:""}.CRMEB-553-dinjiannzhe-mianxing:before{content:""}.CRMEB-549-mansonghuodong-mianxing:before{content:""}.CRMEB-559-daishiyong-mianxing:before{content:""}.CRMEB-550-manjianmanzhe-xianxing:before{content:""}.CRMEB-548-mansonghuodong-xianxing:before{content:""}.CRMEB-544-daichuliyonghufankui-xianxing:before{content:""}.CRMEB-551-manjianmanzhe-mianxing:before{content:""}.CRMEB-566-shiwu-xianxing:before{content:""}.CRMEB-562-canju-xianxing:before{content:""}.CRMEB-567-shiwu-mianxing:before{content:""}.CRMEB-564-miantiao-xianxing:before{content:""}.CRMEB-558-daishiyong-xianxing:before{content:""}.CRMEB-555-shanghujiaoyi-mianxing:before{content:""}.CRMEB-565-miantiao-mianxing:before{content:""}.CRMEB-557-jiaoyijine-mianxing:before{content:""}.CRMEB-552-dinjiannzhe-xianxing:before{content:""}.CRMEB-556-jiaoyijine-xianxing:before{content:""}.CRMEB-577-tiandian-mianxing:before{content:""}.CRMEB-581-kafei-mianxing:before{content:""}.CRMEB-580-kafei-xianxing:before{content:""}.CRMEB-571-cha-mianxing:before{content:""}.CRMEB-573-guozhi-mianxing:before{content:""}.CRMEB-572-guozhi-xianxing:before{content:""}.CRMEB-574-tiantong-xianxing:before{content:""}.CRMEB-568-hongjiu-xianxing:before{content:""}.CRMEB-547-jiaoyichenggongshu-mianxing:before{content:""}.CRMEB-569-hongjiu-mianxing:before{content:""}.CRMEB-563-canju-mianxing:before{content:""}.CRMEB-589-niupai-mianxing:before{content:""}.CRMEB-586-jirou-xianxing:before{content:""}.CRMEB-582-kele-xianxing:before{content:""}.CRMEB-576-tiandian-xianxing:before{content:""}.CRMEB-583-kele-mianxing:before{content:""}.CRMEB-575-tiantong-mianxing:before{content:""}.CRMEB-584-shutiao-xianxing:before{content:""}.CRMEB-579-xuegao-mianxing:before{content:""}.CRMEB-578-xuegao-xianxing:before{content:""}.CRMEB-570-cha-xianxing:before{content:""}.CRMEB-597-bingxiang-mianxing:before{content:""}.CRMEB-594-leixingshaixuan-xianxing:before{content:""}.CRMEB-598-beizi-xianxing:before{content:""}.CRMEB-590-hanbao-xianxing:before{content:""}.CRMEB-593-tangguo-mianxing:before{content:""}.CRMEB-585-shutiao-mianxing:before{content:""}.CRMEB-591-hanbao-mianxing:before{content:""}.CRMEB-592-tangguo-xianxing:before{content:""}.CRMEB-588-niupai-xianxing:before{content:""}.CRMEB-587-jirou-mianxing:before{content:""}.CRMEB-600-yingtao-xianxing:before{content:""}.CRMEB-607-mangguo-mianxing:before{content:""}.CRMEB-609-xigua-mianxing:before{content:""}.CRMEB-608-xigua-xianxing:before{content:""}.CRMEB-604-putao-xianxing:before{content:""}.CRMEB-603-pingguo-mianxing:before{content:""}.CRMEB-596-bingxiang-xianxing:before{content:""}.CRMEB-602-pingguo-xianxing:before{content:""}.CRMEB-595-leixingshaixuan-mianxing:before{content:""}.CRMEB-599-beizi-mianxing:before{content:""}.CRMEB-617-ganlanqiu-mianxing:before{content:""}.CRMEB-615-li-mianxing:before{content:""}.CRMEB-620-lanqiu-xianxing:before{content:""}.CRMEB-612-taozi-xianxing:before{content:""}.CRMEB-610-juzi-xianxing:before{content:""}.CRMEB-614-li-xianxing:before{content:""}.CRMEB-613-taozi-mianxing:before{content:""}.CRMEB-605-putao-mianxing:before{content:""}.CRMEB-611-juzi-mianxing:before{content:""}.CRMEB-606-mangguo-xianxing:before{content:""}.CRMEB-601-yingtao-mianxing:before{content:""}.CRMEB-626-zuqiu-xianxing:before{content:""}.CRMEB-624-paiqiu-xianxing:before{content:""}.CRMEB-622-wangqiu-xianxing:before{content:""}.CRMEB-627-zuqiu-mianxing:before{content:""}.CRMEB-628-pingpangqiu-xianxing:before{content:""}.CRMEB-629-pingpangqiu-mianxing:before{content:""}.CRMEB-621-lanqiu-mianxing:before{content:""}.CRMEB-618-bangqiu-xianxing:before{content:""}.CRMEB-619-bangqiu-mianxing:before{content:""}.CRMEB-616-ganlanqiu-xianxing:before{content:""}.CRMEB-625-paiqiu-mianxing:before{content:""}.CRMEB-641-yintian-mianxing:before{content:""}.CRMEB-637-qingtian-mianxing:before{content:""}.CRMEB-638-richu-xianxing:before{content:""}.CRMEB-631-yumaoqiu-mianxing:before{content:""}.CRMEB-632-yewan-xianxing:before{content:""}.CRMEB-623-wangqiu-mianxing:before{content:""}.CRMEB-636-qingtian-xianxing:before{content:""}.CRMEB-635-yuese-mianxing:before{content:""}.CRMEB-633-yewan-mianxing:before{content:""}.CRMEB-630-yumaoqiu-xianxing:before{content:""}.CRMEB-634-yuese-xianxing:before{content:""}.CRMEB-642-qingzhuanduoyun-xianxing:before{content:""}.CRMEB-648-yu-xianxing:before{content:""}.CRMEB-649-yu-mianxing:before{content:""}.CRMEB-650-xue-xianxing:before{content:""}.CRMEB-644-duoyunzhuanqing-xianxing:before{content:""}.CRMEB-645-duoyunzhuanqing-mianxing:before{content:""}.CRMEB-640-yintian-xianxing:before{content:""}.CRMEB-643-qingzhuanduoyun-mianxing:before{content:""}.CRMEB-647-leidian-mianxing:before{content:""}.CRMEB-646-leidian-xianxing:before{content:""}.CRMEB-639-richu-mianxing:before{content:""}.CRMEB-664-xiangmu-xianxing:before{content:""}.CRMEB-663-AI-mianxing:before{content:""}.CRMEB-662-AI-xianxing:before{content:""}.CRMEB-656-qingli-xianxing:before{content:""}.CRMEB-657-qingli-mianxing:before{content:""}.CRMEB-654-cheliangguanli-xianxing:before{content:""}.CRMEB-667-caiwuguanli-mianxing:before{content:""}.CRMEB-652-qingjiashenqing-xianxing:before{content:""}.CRMEB-659-bangong-mianxing:before{content:""}.CRMEB-655-cheliangguanli-mianxing:before{content:""}.CRMEB-665-xiangmu-mianxing:before{content:""}.CRMEB-668-renshi-xianxing:before{content:""}.CRMEB-661-kehu-mianxing:before{content:""}.CRMEB-671-hangzheng-mianxing:before{content:""}.CRMEB-660-kehu-xianxing:before{content:""}.CRMEB-658-bangong-xianxing:before{content:""}.CRMEB-666-caiwuguanli-xianxing:before{content:""}.CRMEB-673-yunpan-mianxing:before{content:""}.CRMEB-669-renshi-mianxing:before{content:""}.CRMEB-651-xue-mianxing:before{content:""}.CRMEB-653-qingjiashenqing-mianxing:before{content:""}.CRMEB-683-zhiweishuoming-mianxing:before{content:""}.CRMEB-687-yuangongpeixun-mianxing:before{content:""}.CRMEB-682-zhiweishuoming-xianxing:before{content:""}.CRMEB-679-wodericheng-mianxing:before{content:""}.CRMEB-685-jixiaokaohe-mianxing:before{content:""}.CRMEB-670-hangzheng-xianxing:before{content:""}.CRMEB-675-xitong-mianxing:before{content:""}.CRMEB-678-wodericheng-xianxing:before{content:""}.CRMEB-677-gongzuotai-mianxing:before{content:""}.CRMEB-676-gongzuotai-xianxing:before{content:""}.CRMEB-672-yunpan-xianxing:before{content:""}.CRMEB-681-gongzuohuibao-mianxing:before{content:""}.CRMEB-694-kehuguanli-xianxing:before{content:""}.CRMEB-680-gongzuohuibao-xianxing:before{content:""}.CRMEB-688-kaoqintongji-xianxing:before{content:""}.CRMEB-686-yuangongpeixun-xianxing:before{content:""}.CRMEB-691-qiyetongxunlu-mianxing:before{content:""}.CRMEB-674-xitong-xianxing:before{content:""}.CRMEB-692-xiansuoguanli-xianxing:before{content:""}.CRMEB-684-jixiaokaohe-xianxing:before{content:""}.CRMEB-689-kaoqintongji-mianxing:before{content:""}.CRMEB-699-hetongdingdan-mianxing:before{content:""}.CRMEB-697-shangjiguanli-mianxing:before{content:""}.CRMEB-696-shangjiguanli-xianxing:before{content:""}.CRMEB-698-hetongdingdan-xianxing:before{content:""}.CRMEB-690-qiyetongxunlu-xianxing:before{content:""}.CRMEB-712-kehushezhi-xianxing:before{content:""}.CRMEB-713-kehushezhi-mianxing:before{content:""}.CRMEB-707-genjinjilu-mianxing:before{content:""}.CRMEB-703-fapiaoguanli-mianxing:before{content:""}.CRMEB-704-lianxiren-xianxing:before{content:""}.CRMEB-706-genjinjilu-xianxing:before{content:""}.CRMEB-705-lianxiren-mianxing:before{content:""}.CRMEB-700-hetongqianyue-xianxing:before{content:""}.CRMEB-693-xiansuoguanli-mianxing:before{content:""}.CRMEB-695-kehuguanli-mianxing:before{content:""}.CRMEB-701-hetongqianyue-mianxing:before{content:""}.CRMEB-702-fapiaoguanli-xianxing:before{content:""}.CRMEB-719-huishouzhan-mianxing:before{content:""}.CRMEB-721-moxingshezhi-mianxing:before{content:""}.CRMEB-723-wodexiangmu-mianxing:before{content:""}.CRMEB-718-huishouzhan-xianxing:before{content:""}.CRMEB-716-yingyongliebiao-xianxing:before{content:""}.CRMEB-717-yingyongliebiao-mianxing:before{content:""}.CRMEB-714-qunfagongju-xianxing:before{content:""}.CRMEB-715-qunfagongju-mianxing:before{content:""}.CRMEB-711-chanpinguanli-mianxing:before{content:""}.CRMEB-708-yejimubiao-xianxing:before{content:""}.CRMEB-709-yejimubiao-mianxing:before{content:""}.CRMEB-710-chanpinguanli-xianxing:before{content:""}.CRMEB-733-qiyedongtai-mianxing:before{content:""}.CRMEB-735-gudingwuzi-mianxing:before{content:""}.CRMEB-732-qiyedongtai-xianxing:before{content:""}.CRMEB-731-caiwushezhi-mianxing:before{content:""}.CRMEB-729-kaipiaoguanli-mianxing:before{content:""}.CRMEB-724-woderenwu-xianxing:before{content:""}.CRMEB-727-zhangmujilu-mianxing:before{content:""}.CRMEB-728-kaipiaoguanli-xianxing:before{content:""}.CRMEB-726-zhangmujilu-xianxing:before{content:""}.CRMEB-725-woderenwu-mianxing:before{content:""}.CRMEB-720-moxingshezhi-xianxing:before{content:""}.CRMEB-722-wodexiangmu-xianxing:before{content:""}.CRMEB-747-xitongshezhi-mianxing:before{content:""}.CRMEB-743-yingyongdajian-mianxing:before{content:""}.CRMEB-744-suoding-xianxing:before{content:""}.CRMEB-740-qiyexinxi-xianxing:before{content:""}.CRMEB-741-qiyexinxi-mianxing:before{content:""}.CRMEB-738-wuzigailan-xianxing:before{content:""}.CRMEB-736-xiaohaowuzi-xianxing:before{content:""}.CRMEB-739-wuzigailan-mianxing:before{content:""}.CRMEB-737-xiaohaowuzi-mianxing:before{content:""}.CRMEB-734-gudingwuzi-xianxing:before{content:""}.CRMEB-730-caiwushezhi-xianxing:before{content:""}.CRMEB-756-zhiweiguanli-xianxing:before{content:""}.CRMEB-754-kaoqinguanli-xianxing:before{content:""}.CRMEB-753-yuangongdangan-mianxing:before{content:""}.CRMEB-748-xiaoxizhongxin-xianxing:before{content:""}.CRMEB-755-kaoqinguanli-mianxing:before{content:""}.CRMEB-752-yuangongdangan-xianxing:before{content:""}.CRMEB-749-xiaoxizhongxin-mianxing:before{content:""}.CRMEB-750-zuzhijiagou-xianxing:before{content:""}.CRMEB-751-zuzhijiagou-mianxing:before{content:""}.CRMEB-746-xitongshezhi-xianxing:before{content:""}.CRMEB-745-suoding-mianxing:before{content:""}.CRMEB-742-yingyongdajian-xianxing:before{content:""}.CRMEB-766-chuchabaoxiao-xianxing:before{content:""}.CRMEB-767-chuchabaoxiao-mianxing:before{content:""}.CRMEB-768-buka-xianxing:before{content:""}.CRMEB-765-shenqingfapiao-mianxing:before{content:""}.CRMEB-764-shenqingfapiao-xianxing:before{content:""}.CRMEB-763-huibaoguanli-mianxing:before{content:""}.CRMEB-762-huibaoguanli-xianxing:before{content:""}.CRMEB-758-bangongshenpi-xianxing:before{content:""}.CRMEB-760-fuzhugongju-xianxing:before{content:""}.CRMEB-757-zhiweiguanli-mianxing:before{content:""}.CRMEB-759-bangongshenpi-mianxing:before{content:""}.CRMEB-761-fuzhugongju-mianxing:before{content:""}.CRMEB-781-wupin-mianxing:before{content:""}.CRMEB-776-yongzhang-xianxing:before{content:""}.CRMEB-774-caigou-xianxing:before{content:""}.CRMEB-777-yongzhang-mianxing:before{content:""}.CRMEB-772-waichu-xianxing:before{content:""}.CRMEB-771-jiaban-mianxing:before{content:""}.CRMEB-769-buka-mianxing:before{content:""}.CRMEB-773-waichu-mianxing:before{content:""}.CRMEB-770-jiaban-xianxing:before{content:""}.CRMEB-782-zhuanzhengshenqing-xianxing:before{content:""}.CRMEB-789-jiatianzhichu-mianxing:before{content:""}.CRMEB-788-jiatianzhichu-xianxing:before{content:""}.CRMEB-787-tiaogangshenqing-mianxing:before{content:""}.CRMEB-775-caigou-mianxing:before{content:""}.CRMEB-785-lizhishenqing-mianxing:before{content:""}.CRMEB-783-zhuanzhengshenqing-mianxing:before{content:""}.CRMEB-786-tiaogangshenqing-xianxing:before{content:""}.CRMEB-784-lizhishenqing-xianxing:before{content:""}.CRMEB-778-ruzhishenqing-xianxing:before{content:""}.CRMEB-779-ruzhishenqing-mianxing:before{content:""}.CRMEB-780-wupin-xianxing:before{content:""}.CRMEB-796-jujiabangongshenqing-xianxing:before{content:""}.CRMEB-802-zhou-xianxing:before{content:""}.CRMEB-806-canjiapeixun-xianxing:before{content:""}.CRMEB-807-canjiapeixun-mianxing:before{content:""}.CRMEB-798-ri-xianxing:before{content:""}.CRMEB-792-tianjiahuikuan-xianxing:before{content:""}.CRMEB-793-tianjiahuikuan-mianxing:before{content:""}.CRMEB-791-tianjiaxufei-mianxing:before{content:""}.CRMEB-790-tianjiaxufei-xianxing:before{content:""}.CRMEB-811-qitatongyong-mianxing:before{content:""}.CRMEB-809-faqihuiyi-mianxing:before{content:""}.CRMEB-803-zhou-mianxing:before{content:""}.CRMEB-805-wupinlingyong-mianxing:before{content:""}.CRMEB-804-wupinlingyong-xianxing:before{content:""}.CRMEB-801-yue-mianxing:before{content:""}.CRMEB-799-ri-mianxing:before{content:""}.CRMEB-797-jujiabangongshenqing-mianxing:before{content:""}.CRMEB-794-cheliangshenqing-xianxing:before{content:""}.CRMEB-800-yue-xianxing:before{content:""}.CRMEB-820-shouyinji-xianxing:before{content:""}.CRMEB-816-jianglidan-xianxing:before{content:""}.CRMEB-819-chanpinfabu-mianxing:before{content:""}.CRMEB-818-chanpinfabu-xianxing:before{content:""}.CRMEB-817-jianglidan-mianxing:before{content:""}.CRMEB-812-jiekuanshenqing-xianxing:before{content:""}.CRMEB-808-faqihuiyi-xianxing:before{content:""}.CRMEB-815-chufadan-mianxing:before{content:""}.CRMEB-813-jiekuanshenqing-mianxing:before{content:""}.CRMEB-810-qitatongyong-xianxing:before{content:""}.CRMEB-814-chufadan-xianxing:before{content:""}.CRMEB-795-cheliangshenqing-mianxing:before{content:""}.CRMEB-821-shouyinji-mianxing:before{content:""}.CRMEB-833-wav-mianxing:before{content:""}.CRMEB-828-svg-mianxing:before{content:""}.CRMEB-826-gif-mianxing:before{content:""}.CRMEB-829-css-mianxing:before{content:""}.CRMEB-824-md-mianxing:before{content:""}.CRMEB-832-xd-mianxing:before{content:""}.CRMEB-830-mp4-mianxing:before{content:""}.CRMEB-827-ps-mianxing:before{content:""}.CRMEB-823-Xmind-mianxing:before{content:""}.CRMEB-831-avi-mianxing:before{content:""}.CRMEB-825-tiff-mianxing:before{content:""}.CRMEB-848-sketch-mianxing:before{content:""}.CRMEB-846-pdf-mianxing:before{content:""}.CRMEB-841-bmp-mianxing:before{content:""}.CRMEB-838-ppt-mianxing:before{content:""}.CRMEB-843-raw-mianxing:before{content:""}.CRMEB-842-excel-mianxing:before{content:""}.CRMEB-840-axure-mianxing:before{content:""}.CRMEB-837-mov-mianxing:before{content:""}.CRMEB-839-apk-mianxing:before{content:""}.CRMEB-836-word-mianxing:before{content:""}.CRMEB-834-jpg-mianxing:before{content:""}.CRMEB-835-flv-mianxing:before{content:""}.CRMEB-822-ai-mianxing:before{content:""}.CRMEB-856-shangwaibianju-xianxing:before{content:""}.CRMEB-847-csv-mianxing:before{content:""}.CRMEB-854-daochu-xianxing:before{content:""}.CRMEB-853-houtui-xianxing:before{content:""}.CRMEB-850-mp3-mianxing:before{content:""}.CRMEB-852-qianjin-xianxing:before{content:""}.CRMEB-855-xiazai-xianxing:before{content:""}.CRMEB-844-png-mianxing:before{content:""}.CRMEB-849-html-mianxing:before{content:""}.CRMEB-851-zip-mianxing:before{content:""}.CRMEB-845-eps-mianxing:before{content:""}.CRMEB-870-yonghu4-xianxing:before{content:""}.CRMEB-867-fujian-xianxing:before{content:""}.CRMEB-860-shangneibianju-xianxing:before{content:""}.CRMEB-865-paixu3-xianxing:before{content:""}.CRMEB-868-fujian-xianxing:before{content:""}.CRMEB-864-qiehuan-xianxing:before{content:""}.CRMEB-866-lianjie-xianxing:before{content:""}.CRMEB-859-youwaibianju-xianxing:before{content:""}.CRMEB-857-xiawaibianju-xianxing:before{content:""}.CRMEB-858-zuowaibianju-xianxing:before{content:""}.CRMEB-862-zuobianju-xianxing:before{content:""}.CRMEB-861-xianeibianju-xianxing:before{content:""}.CRMEB-863-youneibianju-xianxing:before{content:""}.CRMEB-880-shense-xianxing:before{content:""}.CRMEB-882-xitongse-xianxing:before{content:""}.CRMEB-881-liangse-xianxing:before{content:""}.CRMEB-871-yonghu5-xianxing:before{content:""}.CRMEB-873-zhuti-xianxing:before{content:""}.CRMEB-878-yuanjiao-xianxing:before{content:""}.CRMEB-874-zuoshangjiao-xianxing:before{content:""}.CRMEB-875-youshangjiao-xianxing:before{content:""}.CRMEB-877-youxiajiao-xianxing:before{content:""}.CRMEB-876-zuoxiajiao-xianxing:before{content:""}.CRMEB-879-bianju-xianxing:before{content:""}.CRMEB-869-xiaoping-xianxing:before{content:""}.CRMEB-872-quanping-xianxing:before{content:""}.CRMEB-891-tuichu-xianxing:before{content:""}.CRMEB-895-shouqi-xianxing:before{content:""}.CRMEB-892-shuaxin-xianxing:before{content:""}.CRMEB-888-tuozhuai-xianxing:before{content:""}.CRMEB-893-tuichudenglu-xianxing:before{content:""}.CRMEB-890-fenxiang-xianxing:before{content:""}.CRMEB-889-peizhi-xianxing:before{content:""}.CRMEB-887-shuaxin-xianxing:before{content:""}.CRMEB-883-bianji3-xianxing:before{content:""}.CRMEB-886-shuazi-xianxing:before{content:""}.CRMEB-885-bianji4-xianxing:before{content:""}.CRMEB-884-bianji2-xianxing:before{content:""}.CRMEB-907-jian-xianxing:before{content:""}.CRMEB-909-xiajiang-xianxing:before{content:""}.CRMEB-908-shangsheng-xianxing:before{content:""}.CRMEB-911-zhankai-xianxing:before{content:""}.CRMEB-905-xia-xianxing:before{content:""}.CRMEB-898-zuo-xianxing:before{content:""}.CRMEB-902-zuohua-xianxing:before{content:""}.CRMEB-900-cuo-xianxing:before{content:""}.CRMEB-901-dui-xianxing:before{content:""}.CRMEB-896-paixu1-xianxing:before{content:""}.CRMEB-903-youhua-xianxing:before{content:""}.CRMEB-897-gengduo-xianxing:before{content:""}.CRMEB-894-shanchu-xianxing:before{content:""}.CRMEB-912-liebiaoshitu-xianxing:before{content:""}.CRMEB-910-paixu2-xianxing:before{content:""}.CRMEB-904-shang-xianxing:before{content:""}.CRMEB-906-jia-xianxing:before{content:""}.CRMEB-103-dingdan-mianxing:before{content:""}.CRMEB-110-yonghu1-xianxing:before{content:""}.CRMEB-115-caiwu-mianxing:before{content:""}.CRMEB-100-shouye-xianxing:before{content:""}.CRMEB-118-yunying-xianxing:before{content:""}.CRMEB-114-caiwu-xianxing:before{content:""}.CRMEB-101-shouye-mianxing:before{content:""}.CRMEB-125-yonghu2-mianxing:before{content:""}.CRMEB-117-zhuangxiu-mianxing:before{content:""}.CRMEB-119-yunying-mianxing:before{content:""}.CRMEB-102-dingdan-xianxing:before{content:""}.CRMEB-120-neirong-xianxing:before{content:""}.CRMEB-111-yonghu1-mianxing:before{content:""}.CRMEB-105-yingyong-mianxing:before{content:""}.CRMEB-107-shanghu-mianxing:before{content:""}.CRMEB-113-quanceng-mianxing:before{content:""}.CRMEB-108-qiqiu-xianxing:before{content:""}.CRMEB-109-qiqiu-mianxing:before{content:""}.CRMEB-139-wenjianjia-mianxing:before{content:""}.CRMEB-145-xuanzewenjian-mianxing:before{content:""}.CRMEB-130-shangpin-xianxing:before{content:""}.CRMEB-116-zhuangxiu-xianxing:before{content:""}.CRMEB-135-shezhi2-mianxing:before{content:""}.CRMEB-131-shangpin-mianxing:before{content:""}.CRMEB-123-yingxiao-mianxing:before{content:""}.CRMEB-138-wenjianjia-xianxing:before{content:""}.CRMEB-129-shezhi1-mianxing:before{content:""}.CRMEB-126-fenxiao-xianxing:before{content:""}.CRMEB-124-yonghu2-xianxing:before{content:""}.CRMEB-106-shanghu-xianxing:before{content:""}.CRMEB-121-neirong-mianxing:before{content:""}.CRMEB-104-yingyong-xianxing:before{content:""}.CRMEB-136-wenjian-xianxing:before{content:""}.CRMEB-155-xuanzewendang-mianxing:before{content:""}.CRMEB-128-shezhi1-xianxing:before{content:""}.CRMEB-127-fenxiao-mianxing:before{content:""}.CRMEB-133-kefu-mianxing:before{content:""}.CRMEB-112-quanceng-xianxing:before{content:""}.CRMEB-132-kefu-xianxing:before{content:""}.CRMEB-158-guan-xianxing:before{content:""}.CRMEB-153-shanchuwendang-mianxing:before{content:""}.CRMEB-149-fangda-mianxing:before{content:""}.CRMEB-142-shanchuwenjian-xianxing:before{content:""}.CRMEB-146-suoxiao-xianxing:before{content:""}.CRMEB-150-wendang-xianxing:before{content:""}.CRMEB-137-wenjian-mianxing:before{content:""}.CRMEB-172-PCduan-xianxing:before{content:""}.CRMEB-147-suoxiao-mianxing:before{content:""}.CRMEB-180-yinhangka-xianxing:before{content:""}.CRMEB-157-kai-mianxing:before{content:""}.CRMEB-161-dingyuexinxi-mianxing:before{content:""}.CRMEB-159-guan-mianxing:before{content:""}.CRMEB-165-gonggao-mianxing:before{content:""}.CRMEB-169-quanxiansuoding-mianxing:before{content:""}.CRMEB-166-tongji-xianxing:before{content:""}.CRMEB-163-rili-mianxing:before{content:""}.CRMEB-148-fangda-xianxing:before{content:""}.CRMEB-175-youhuiquan-mianxing:before{content:""}.CRMEB-144-xuanzewenjian-xianxing:before{content:""}.CRMEB-151-wendang-mianxing:before{content:""}.CRMEB-143-shanchuwenjian-mianxing:before{content:""}.CRMEB-141-tianjiawenjian-mianxing:before{content:""}.CRMEB-170-anquanweihu-xianxing:before{content:""}.CRMEB-185-yunyingtongji-mianxing:before{content:""}.CRMEB-162-rili-xianxing:before{content:""}.CRMEB-156-kai-xianxing:before{content:""}.CRMEB-182-zichantongji-xianxing:before{content:""}.CRMEB-171-anquanweihu-mianxing:before{content:""}.CRMEB-183-zichantongji-mianxing:before{content:""}.CRMEB-184-yunyingtongji-xianxing:before{content:""}.CRMEB-174-youhuiquan-xianxing:before{content:""}.CRMEB-181-yinhangka-mianxing:before{content:""}.CRMEB-154-xuanzewendang-xianxing:before{content:""}.CRMEB-177-jiegoukuangjia-mianxing:before{content:""}.CRMEB-160-dingyuexinxi-xianxing:before{content:""}.CRMEB-134-shezhi2-xianxing:before{content:""}.CRMEB-186-shouyin-xianxing:before{content:""}.CRMEB-199-lipinka-mianxing:before{content:""}.CRMEB-192-tuihuo-xianxing:before{content:""}.CRMEB-187-shouyin-mianxing:before{content:""}.CRMEB-189-qiyeweixin-mianxing:before{content:""}.CRMEB-197-shangpinguanli-mianxing:before{content:""}.CRMEB-168-quanxiansuoding-xianxing:before{content:""}.CRMEB-196-shangpinguanli-xianxing:before{content:""}.CRMEB-190-guadan-xianxing:before{content:""}.CRMEB-194-yuyue-xianxing:before{content:""}.CRMEB-179-kucunguanli-mianxing:before{content:""}.CRMEB-173-PCduan-mianxing:before{content:""}.CRMEB-176-jiegoukuangjia-xianxing:before{content:""}.CRMEB-152-shanchuwendang-xianxing:before{content:""}.CRMEB-167-tongji-mianxing:before{content:""}.CRMEB-206-shequ-xianxing:before{content:""}.CRMEB-203-xiaochengxu-mianxing:before{content:""}.CRMEB-202-xiaochengxu-xianxing:before{content:""}.CRMEB-209-wenzhangguanli-mianxing:before{content:""}.CRMEB-204-taocandapei-xianxing:before{content:""}.CRMEB-208-wenzhangguanli-xianxing:before{content:""}.CRMEB-207-shequ-mianxing:before{content:""}.CRMEB-205-taocandapei-mianxing:before{content:""}.CRMEB-122-yingxiao-xianxing:before{content:""}.CRMEB-191-guadan-mianxing:before{content:""}.CRMEB-198-lipinka-xianxing:before{content:""}.CRMEB-188-qiyeweixin-xianxing:before{content:""}.CRMEB-193-tuihuo-mianxing:before{content:""}.CRMEB-200-zhekou-xianxing:before{content:""}.CRMEB-178-kucunguanli-xianxing:before{content:""}.CRMEB-195-yuyue-mianxing:before{content:""}.CRMEB-214-gongyingshangdingdan-xianxing:before{content:""}.CRMEB-211-gouwuche-mianxing:before{content:""}.CRMEB-218-tuiguangzhongxin-xianxing:before{content:""}.CRMEB-223-gerenjianli-mianxing:before{content:""}.CRMEB-217-shoucangjia-mianxing:before{content:""}.CRMEB-213-mendiandingdan-mianxing:before{content:""}.CRMEB-201-zhekou-mianxing:before{content:""}.CRMEB-215-gongyingshangdingdan-mianxing:before{content:""}.CRMEB-140-tianjiawenjian-xianxing:before{content:""}.CRMEB-210-gouwuche-xianxing:before{content:""}.CRMEB-212-mendiandingdan-xianxing:before{content:""}.CRMEB-224-shangyeshouquan-xianxing:before{content:""}.CRMEB-240-neirongzixun-xianxing:before{content:""}.CRMEB-233-shangchengtongji-mianxing:before{content:""}.CRMEB-231-xiaoxishezhi-mianxing:before{content:""}.CRMEB-234-xitongbiaodan-xianxing:before{content:""}.CRMEB-226-zhibo-xianxing:before{content:""}.CRMEB-227-zhibo-mianxing:before{content:""}.CRMEB-219-tuiguangzhongxin-mianxing:before{content:""}.CRMEB-232-shangchengtongji-xianxing:before{content:""}.CRMEB-220-kaifashezhi-xianxing:before{content:""}.CRMEB-228-hexiao-xianxing:before{content:""}.CRMEB-221-kaifashezhi-mianxing:before{content:""}.CRMEB-225-shangyeshouquan-mianxing:before{content:""}.CRMEB-216-shoucangjia-xianxing:before{content:""}.CRMEB-164-gonggao-xianxing:before{content:""}.CRMEB-222-gerenjianli-xianxing:before{content:""}.CRMEB-245-xiaoxi-mianxing:before{content:""}.CRMEB-255-zidonghuayunying-mianxing:before{content:""}.CRMEB-251-gaikuang-mianxing:before{content:""}.CRMEB-242-fahuo-xianxing:before{content:""}.CRMEB-248-xiazaizhongxin-xianxing:before{content:""}.CRMEB-236-kanjiahuodong-xianxing:before{content:""}.CRMEB-250-gaikuang-xianxing:before{content:""}.CRMEB-247-kaquanzhongxin-mianxing:before{content:""}.CRMEB-244-xiaoxi-xianxing:before{content:""}.CRMEB-239-fenxiaoyuanshenqing-mianxing:before{content:""}.CRMEB-230-xiaoxishezhi-xianxing:before{content:""}.CRMEB-241-neirongzixun-mianxing:before{content:""}.CRMEB-237-kanjiahuodong-mianxing:before{content:""}.CRMEB-235-xitongbiaodan-mianxing:before{content:""}.CRMEB-229-hexiao-mianxing:before{content:""}.CRMEB-238-fenxiaoyuanshenqing-xianxing:before{content:""}.CRMEB-268-kehuyunying-xianxing:before{content:""}.CRMEB-265-tuanduifenxiao-mianxing:before{content:""}.CRMEB-266-fenxiaocaiwu-xianxing:before{content:""}.CRMEB-263-fenxiaopeizhi-mianxing:before{content:""}.CRMEB-264-tuanduifenxiao-xianxing:before{content:""}.CRMEB-261-fenxiaoguanli-mianxing:before{content:""}.CRMEB-262-fenxiaopeizhi-xianxing:before{content:""}.CRMEB-259-gongyingshang-mianxing:before{content:""}.CRMEB-258-gongyingshang-xianxing:before{content:""}.CRMEB-254-zidonghuayunying-xianxing:before{content:""}.CRMEB-252-pintuanhuodong-xianxing:before{content:""}.CRMEB-257-caigoushang-mianxing:before{content:""}.CRMEB-260-fenxiaoguanli-xianxing:before{content:""}.CRMEB-246-kaquanzhongxin-xianxing:before{content:""}.CRMEB-249-xiazaizhongxin-mianxing:before{content:""}.CRMEB-253-pintuanhuodong-mianxing:before{content:""}.CRMEB-243-fahuo-mianxing:before{content:""}.CRMEB-280-erweima-xianxing:before{content:""}.CRMEB-285-tongyongzujian-mianxing:before{content:""}.CRMEB-281-erweima-mianxing:before{content:""}.CRMEB-282-huiyuantixi-xianxing:before{content:""}.CRMEB-283-huiyuantixi-mianxing:before{content:""}.CRMEB-278-choujianghuodong-xianxing:before{content:""}.CRMEB-276-jifen-xianxing:before{content:""}.CRMEB-277-jifen-mianxing:before{content:""}.CRMEB-279-choujianghuodong-mianxing:before{content:""}.CRMEB-274-gongzhonghao-xianxing:before{content:""}.CRMEB-267-fenxiaocaiwu-mianxing:before{content:""}.CRMEB-275-gongzhonghao-mianxing:before{content:""}.CRMEB-270-yonghuyunying-xianxing:before{content:""}.CRMEB-272-dianyuanguanli-xianxing:before{content:""}.CRMEB-271-yonghuyunying-mianxing:before{content:""}.CRMEB-273-dianyuanguanli-mianxing:before{content:""}.CRMEB-256-caigoushang-xianxing:before{content:""}.CRMEB-269-kehuyunying-mianxing:before{content:""}.CRMEB-304-shubiao-xianxing:before{content:""}.CRMEB-303-caiwucaozuo-mianxing:before{content:""}.CRMEB-286-peisong-xianxing:before{content:""}.CRMEB-299-huodongbeijing-mianxing:before{content:""}.CRMEB-298-huodongbeijing-xianxing:before{content:""}.CRMEB-297-huodongbiankuang-mianxing:before{content:""}.CRMEB-296-huodongbiankuang-xianxing:before{content:""}.CRMEB-294-youhuihuodong-xianxing:before{content:""}.CRMEB-295-youhuihuodong-mianxing:before{content:""}.CRMEB-287-peisong-mianxing:before{content:""}.CRMEB-291-kefuguanli-mianxing:before{content:""}.CRMEB-289-fuwushezhi-mianxing:before{content:""}.CRMEB-284-tongyongzujian-xianxing:before{content:""}.CRMEB-290-kefuguanli-xianxing:before{content:""}.CRMEB-292-shangchengshezhi-xianxing:before{content:""}.CRMEB-293-shangchengshezhi-mianxing:before{content:""}.CRMEB-288-fuwushezhi-xianxing:before{content:""}.CRMEB-318-bofang-xianxing:before{content:""}.CRMEB-316-jingyin-xianxing:before{content:""}.CRMEB-319-bofang-mianxing:before{content:""}.CRMEB-317-jingyin-mianxing:before{content:""}.CRMEB-315-yuyin-mianxing:before{content:""}.CRMEB-313-tianjiadizhi-mianxing:before{content:""}.CRMEB-320-zanting-xianxing:before{content:""}.CRMEB-312-tianjiadizhi-xianxing:before{content:""}.CRMEB-310-dingwei-xianxing:before{content:""}.CRMEB-306-yuanpanshoubiao-xianxing:before{content:""}.CRMEB-307-yuanpanshoubiao-mianxing:before{content:""}.CRMEB-308-fangpanshoubiao-xianxing:before{content:""}.CRMEB-311-dingwei-mianxing:before{content:""}.CRMEB-309-fangpanshoubiao-mianxing:before{content:""}.CRMEB-300-caiwujilu-xianxing:before{content:""}.CRMEB-301-caiwujilu-mianxing:before{content:""}.CRMEB-302-caiwucaozuo-xianxing:before{content:""}.CRMEB-305-shubiao-mianxing:before{content:""}.CRMEB-338-APP-xianxing:before{content:""}.CRMEB-334-fufeihuiyuan-xianxing:before{content:""}.CRMEB-329-jiangbei-mianxing:before{content:""}.CRMEB-335-fufeihuiyuan-mianxing:before{content:""}.CRMEB-332-biaoshi-xianxing:before{content:""}.CRMEB-333-biaoshi-mianxing:before{content:""}.CRMEB-330-dayinji-xianxing:before{content:""}.CRMEB-336-fenwei-xianxing:before{content:""}.CRMEB-328-jiangbei-xianxing:before{content:""}.CRMEB-331-dayinji-mianxing:before{content:""}.CRMEB-325-san-mianxing:before{content:""}.CRMEB-322-caozuo-xianxing:before{content:""}.CRMEB-327-taideng-mianxing:before{content:""}.CRMEB-323-caozuo-mianxing:before{content:""}.CRMEB-324-san-xianxing:before{content:""}.CRMEB-326-taideng-xianxing:before{content:""}.CRMEB-314-yuyin-xianxing:before{content:""}.CRMEB-321-zanting-mianxing:before{content:""}.CRMEB-356-guanbi-xianxing:before{content:""}.CRMEB-357-guanbi-mianxing:before{content:""}.CRMEB-355-jianshao-mianxing:before{content:""}.CRMEB-351-mendiancaiwu-mianxing:before{content:""}.CRMEB-352-tianjia-xianxing:before{content:""}.CRMEB-354-jianshao-xianxing:before{content:""}.CRMEB-353-tianjia-mianxing:before{content:""}.CRMEB-346-guanzhu-xianxing:before{content:""}.CRMEB-344-fenxiaoyuan-xianxing:before{content:""}.CRMEB-347-guanzhu-mianxing:before{content:""}.CRMEB-343-lipinshenqing-mianxing:before{content:""}.CRMEB-345-fenxiaoyuan-mianxing:before{content:""}.CRMEB-349-shijian-mianxing:before{content:""}.CRMEB-348-shijian-xianxing:before{content:""}.CRMEB-342-lipinshenqing-xianxing:before{content:""}.CRMEB-337-fenwei-mianxing:before{content:""}.CRMEB-340-zichanguanli-xianxing:before{content:""}.CRMEB-341-zichanguanli-mianxing:before{content:""}.CRMEB-339-APP-mianxing:before{content:""}.CRMEB-375-gongge-mianxing:before{content:""}.CRMEB-369-sousuo-mianxing:before{content:""}.CRMEB-370-zhankaicebianlan-xianxing:before{content:""}.CRMEB-372-shouqicebianlan-xianxing:before{content:""}.CRMEB-371-zhankaicebianlan-mianxing:before{content:""}.CRMEB-373-shouqicebianlan-mianxing:before{content:""}.CRMEB-368-sousuo-xianxing:before{content:""}.CRMEB-363-guanbiqita-mianxing:before{content:""}.CRMEB-367-tongzhi1-mianxing:before{content:""}.CRMEB-366-tongzhi1-xianxing:before{content:""}.CRMEB-364-shuoming-xianxing:before{content:""}.CRMEB-365-shuoming-mianxing:before{content:""}.CRMEB-360-gengduo-xianxing:before{content:""}.CRMEB-362-guanbiqita-xianxing:before{content:""}.CRMEB-358-gouxuan-xianxing:before{content:""}.CRMEB-359-gouxuan-mianxing:before{content:""}.CRMEB-361-gengduo-mianxing:before{content:""}.CRMEB-350-mendiancaiwu-xianxing:before{content:""}.CRMEB-391-tupian-mianxing:before{content:""}.CRMEB-397-fuzhi-mianxing:before{content:""}.CRMEB-393-xianshi-mianxing:before{content:""}.CRMEB-390-tupian-xianxing:before{content:""}.CRMEB-388-shaixuan-xianxing:before{content:""}.CRMEB-382-laba-xianxing:before{content:""}.CRMEB-387-shipin-mianxing:before{content:""}.CRMEB-386-shipin-xianxing:before{content:""}.CRMEB-383-laba-mianxing:before{content:""}.CRMEB-389-shaixuan-mianxing:before{content:""}.CRMEB-385-xiangji-mianxing:before{content:""}.CRMEB-384-xiangji-xianxing:before{content:""}.CRMEB-378-bianji1-xianxing:before{content:""}.CRMEB-381-yidongduan-mianxing:before{content:""}.CRMEB-377-liebiao-mianxing:before{content:""}.CRMEB-380-yidongduan-xianxing:before{content:""}.CRMEB-379-bianji1-mianxing:before{content:""}.CRMEB-376-liebiao-xianxing:before{content:""}.CRMEB-374-gongge-xianxing:before{content:""}.CRMEB-398-duanxinpeizhi-xianxing:before{content:""}.CRMEB-404-tixianjine-xianxing:before{content:""}.CRMEB-410-yingyee-xianxing:before{content:""}.CRMEB-411-yingyee-mianxing:before{content:""}.CRMEB-412-dangqianyue-xianxing:before{content:""}.CRMEB-413-dangqianyue-mianxing:before{content:""}.CRMEB-406-chongzhijine-xianxing:before{content:""}.CRMEB-405-tixianjine-mianxing:before{content:""}.CRMEB-407-chongzhijine-mianxing:before{content:""}.CRMEB-403-zhichujine-mianxing:before{content:""}.CRMEB-402-zhichujine-xianxing:before{content:""}.CRMEB-401-tuikuanjine-mianxing:before{content:""}.CRMEB-394-yincang-xianxing:before{content:""}.CRMEB-395-yincang-mianxing:before{content:""}.CRMEB-396-fuzhi-xianxing:before{content:""}.CRMEB-392-xianshi-xianxing:before{content:""}.CRMEB-400-tuikuanjine-xianxing:before{content:""}.CRMEB-399-duanxinpeizhi-mianxing:before{content:""}.CRMEB-432-huiyuankajihuo-xianxing:before{content:""}.CRMEB-431-shifujine-mianxing:before{content:""}.CRMEB-430-shifujine-xianxing:before{content:""}.CRMEB-424-weixinchongzhijine-xianxing:before{content:""}.CRMEB-428-chengbenjine-xianxing:before{content:""}.CRMEB-427-zhifubaojine-mianxing:before{content:""}.CRMEB-425-weixinchongzhijine-mianxing:before{content:""}.CRMEB-426-zhifubaojine-xianxing:before{content:""}.CRMEB-421-tuikuandingdanshu-mianxing:before{content:""}.CRMEB-423-dongjiezhongjine-mianxing:before{content:""}.CRMEB-422-dongjiezhongjine-xianxing:before{content:""}.CRMEB-420-tuikuandingdanshu-xianxing:before{content:""}.CRMEB-417-shangpintuikuanjine-mianxing:before{content:""}.CRMEB-418-yongjinzongjine-xianxing:before{content:""}.CRMEB-419-yongjinzongjine-mianxing:before{content:""}.CRMEB-416-shangpintuikuanjine-xianxing:before{content:""}.CRMEB-414-leijiyue-xianxing:before{content:""}.CRMEB-415-leijiyue-mianxing:before{content:""}.CRMEB-409-tongzhi2-mianxing:before{content:""}.CRMEB-408-tongzhi2-xianxing:before{content:""}.CRMEB-452-shiyongjifen-xianxing:before{content:""}.CRMEB-453-shiyongjifen-mianxing:before{content:""}.CRMEB-448-dangqianjifen-xianxing:before{content:""}.CRMEB-447-shouqingshangpin-mianxing:before{content:""}.CRMEB-449-dangqianjifen-mianxing:before{content:""}.CRMEB-445-chushoushangpin-mianxing:before{content:""}.CRMEB-446-shouqingshangpin-xianxing:before{content:""}.CRMEB-444-chushoushangpin-xianxing:before{content:""}.CRMEB-440-daishenhe-xianxing:before{content:""}.CRMEB-443-daitixianjine-mianxing:before{content:""}.CRMEB-438-goumaihuiyuanjine-xianxing:before{content:""}.CRMEB-441-daishenhe-mianxing:before{content:""}.CRMEB-439-goumaihuiyuanjine-mianxing:before{content:""}.CRMEB-442-daitixianjine-xianxing:before{content:""}.CRMEB-437-peisongjuli-mianxing:before{content:""}.CRMEB-434-peisongfeishouru-xianxing:before{content:""}.CRMEB-436-peisongjuli-xianxing:before{content:""}.CRMEB-433-huiyuankajihuo-mianxing:before{content:""}.CRMEB-435-peisongfeishouru-mianxing:before{content:""}.CRMEB-429-chengbenjine-mianxing:before{content:""}.CRMEB-471-jishiben-mianxing:before{content:""}.CRMEB-469-daihuifupinglun-mianxing:before{content:""}.CRMEB-470-jishiben-xianxing:before{content:""}.CRMEB-463-zongdingdanjine-mianxing:before{content:""}.CRMEB-462-zongdingdanjine-xianxing:before{content:""}.CRMEB-466-jingjiekucun-xianxing:before{content:""}.CRMEB-464-peisongdanshu-xianxing:before{content:""}.CRMEB-465-peisongdanshu-mianxing:before{content:""}.CRMEB-467-jingjiekucun-mianxing:before{content:""}.CRMEB-458-daifahuodingdan-xianxing:before{content:""}.CRMEB-461-daizhuanzhangjine-mianxing:before{content:""}.CRMEB-460-daizhuanzhangjine-xianxing:before{content:""}.CRMEB-459-daifahuodingdan-mianxing:before{content:""}.CRMEB-456-daituikuandingdan-xianxing:before{content:""}.CRMEB-457-daituikuandingdan-mianxing:before{content:""}.CRMEB-450-leijijifen-xianxing:before{content:""}.CRMEB-454-dongjiejifen-xianxing:before{content:""}.CRMEB-455-dongjiejifen-mianxing:before{content:""}.CRMEB-451-leijijifen-mianxing:before{content:""}.CRMEB-486-cancipinzhuanliang-xianxing:before{content:""}.CRMEB-488-cancipinkucun-xianxing:before{content:""}.CRMEB-491-cancipinrukushuliang-mianxing:before{content:""}.CRMEB-485-fufeihuiyuanshu-mianxing:before{content:""}.CRMEB-484-fufeihuiyuanshu-xianxing:before{content:""}.CRMEB-483-chongzhiyonghushu-mianxing:before{content:""}.CRMEB-482-chongzhiyonghushu-xianxing:before{content:""}.CRMEB-481-chengjiaoyonghushu-mianxing:before{content:""}.CRMEB-480-chengjiaoyonghushu-xianxing:before{content:""}.CRMEB-479-leijiguoqirenshu-mianxing:before{content:""}.CRMEB-478-leijiguoqirenshu-xianxing:before{content:""}.CRMEB-477-xinzengyonghushu-mianxing:before{content:""}.CRMEB-475-yonghu3-mianxing:before{content:""}.CRMEB-476-xinzengyonghushu-xianxing:before{content:""}.CRMEB-474-yonghu3-mianxing:before{content:""}.CRMEB-473-dianhuabu-mianxing:before{content:""}.CRMEB-472-dianhuabu-xianxing:before{content:""}.CRMEB-468-daihuifupinglun-xianxing:before{content:""}.CRMEB-499-liangpinchukushuliang-mianxing:before{content:""}.CRMEB-495-liangpinkucun-mianxing:before{content:""}.CRMEB-498-liangpinchukushuliang-xianxing:before{content:""}.CRMEB-496-liangpinrukushuliang-xianxing:before{content:""}.CRMEB-497-liangpinrukushuliang-mianxing:before{content:""}.CRMEB-494-liangpinkucun-xianxing:before{content:""}.CRMEB-492-cancipinchukushuliang-xianxing:before{content:""}.CRMEB-490-cancipinrukushuliang-xianxing:before{content:""}.CRMEB-489-cancipinkucun-mianxing:before{content:""}.CRMEB-487-cancipinzhuanliang-mianxing:before{content:""}.CRMEB-493-cancipinchukushuliang-mianxing:before{content:""}#app,body,html{height:100%}.chart-scroll .ivu-scroll-container::-webkit-scrollbar,.i-scrollbar-hide::-webkit-scrollbar{width:0}.chart-scroll .ivu-scroll-container::-webkit-scrollbar-track,.i-scrollbar-hide::-webkit-scrollbar-track{background-color:transparent}.chart-scroll .ivu-scroll-container::-webkit-scrollbar-thumb,.i-scrollbar-hide::-webkit-scrollbar-thumb{background:#e8eaec}.right-scroll .ivu-scroll-container::-webkit-scrollbar,.i-scrollbar::-webkit-scrollbar{width:6px}.right-scroll .ivu-scroll-container::-webkit-scrollbar-track,.i-scrollbar::-webkit-scrollbar-track{background-color:transparent}.right-scroll .ivu-scroll-container::-webkit-scrollbar-thumb,.i-scrollbar::-webkit-scrollbar-thumb{background:#808695;border-radius:4px}.i-scrollbar-hide::-webkit-scrollbar{width:0}.i-scrollbar-hide::-webkit-scrollbar-track{background-color:transparent}.i-scrollbar-hide::-webkit-scrollbar-thumb{background:#e8eaec}.i-scrollbar::-webkit-scrollbar{width:6px}.i-scrollbar::-webkit-scrollbar-track{background-color:transparent}.i-scrollbar::-webkit-scrollbar-thumb{background:#808695;border-radius:4px}.i-table-no-border .ivu-table th{background-color:#fff}.i-table-no-border .ivu-table-wrapper,.i-table-no-border .ivu-table tr:last-child td{border:none}.i-table-no-border .ivu-table:before,.i-table-no-border .ivu-table:after{display:none}.w-80{width:80px}.w-100{width:100px}.el-input__suffix .el-input__suffix-inner{line-height:2.5}.el-input__suffix .el-input__suffix-inner .el-icon-link{font-size:16px;cursor:pointer}.vxe-tree-cell,.vxe-cell{font-size:12px}.plusColor{color:#e83323}.reduceColor{color:#16ac57}.c_label{font-size:14px;color:#999}.c_label span{margin-left:10px;color:#333}.c_row-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.acea-row{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-lines:multiple;-moz-box-lines:multiple;-o-box-lines:multiple;-ms-flex-wrap:wrap;flex-wrap:wrap}.acea-row.row-middle{-webkit-box-align:center;-o-box-align:center;-ms-flex-align:center;align-items:center}.acea-row.row-top{-webkit-box-align:start;-o-box-align:start;-ms-flex-align:start;align-items:flex-start}.acea-row.row-bottom{-webkit-box-align:end;-o-box-align:end;-ms-flex-align:end;align-items:flex-end}.acea-row.row-center{-webkit-box-pack:center;-o-box-pack:center;-ms-flex-pack:center;justify-content:center}.acea-row.row-right{-webkit-box-pack:end;-o-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.acea-row.row-left{-webkit-box-pack:start;-o-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.acea-row.row-between{-webkit-box-pack:justify;-o-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.acea-row.row-around{-ms-flex-pack:distribute;justify-content:space-around;-webkit-justify-content:space-around}.acea-row.row-column-around{-ms-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-ms-flex-pack:distribute;justify-content:space-around;-webkit-justify-content:space-around}.acea-row.row-column{-webkit-box-orient:vertical;-o-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.acea-row.row-column-between{-webkit-box-orient:vertical;-o-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-o-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.acea-row.row-center-wrapper{-webkit-box-align:center;-o-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-o-box-pack:center;-ms-flex-pack:center;justify-content:center}.acea-row.row-between-wrapper{-webkit-box-align:center;-o-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-o-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.mobile-config{width:100%}html,body{font-size:12px}.tip,.tips-info{margin-left:12px;margin-top:3px;font-size:12px;line-height:18px;color:var(--prev-color-text-secondary)}.ivu-table-wrapper{overflow:unset!important}.ivu-layout-content{overflow-x:hidden!important;height:100%}.page{margin-top:22px}.vxe-table--loading{background-color:#ffffffe6!important}.vxe-table--loading .vxe-table--spinner:after,.vxe-table--loading .vxe-table--spinner:before{width:50%!important;height:50%!important}.ivu-table-header .ivu-table-cell{color:#999;font-size:13px;padding:10px 5px!important}.ivu-form .ivu-form-item-label{font-size:12px!important}.ivu-radio-group-button .ivu-radio-wrapper,.ivu-table{font-size:13px!important}.ivu-table-cell{padding:10px 5px!important}.ivu-table th{background:#2164fa0d!important}.form_content_width{width:250px}.form_range_content_width{width:117px}.ivu-btn{font-size:12px!important}.ivu-icon-ios-refresh{color:var(--prev-color-primary)}.product_tabs .ivu-tabs-bar{margin-bottom:0!important}.product_tabs .ivu-page-header{border-bottom:0}.product_tabs .ivu-page-header-content{margin-bottom:0!important}.ivu-radio{padding:8px 0}.ivu-radio-wrapper,.ivu-input{font-size:12px!important}.ivu-notice-desc{word-break:normal;text-align:left!important}.el-input-number .el-input__inner,.el-form .el-input-number .el-input__inner{text-align:left}.modal-form{width:540px;max-width:calc(100vw - 32px);position:absolute;top:20%;left:50%;-webkit-transform:translate(-50%);transform:translate(-50%);-webkit-box-shadow:unset;box-shadow:unset;border-radius:6px;padding:0}.modal-form .el-message-box__header{padding:15px;border-bottom:1px solid #eee;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.modal-form .el-message-box__title{font-size:14px;line-height:14px;font-weight:500;color:#303133}.modal-form .el-message-box__content{padding:15px}.modal-form .el-message-box__headerbtn{position:initial;width:auto;height:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#c0c4cc}.modal-form .el-message-box__btns{padding:10px 15px 15px}.form-create .el-select,.form-create .el-input-number{width:100%}.el-dialog ::v-deep .form-create .el-button{float:right}.modalBody .ivu-modal-body{padding:27px!important}.Modals .ivu-mt,.ivu-mt-16{margin-top:0!important}.Modals .ivu-form-item-content{line-height:unset}.Modals .label .ivu-input{border:1px solid #f5f5f5}.Modals .ivu-table table{width:100%!important}.h-33{height:33px}.mr{margin-right:15px}.mr10{margin-right:10px}.ml20{margin-left:20px}.ml10{margin-left:10px}.ml15{margin-left:15px}.ml40{margin-left:40px!important}.ml95{margin-left:95px!important}.pt5{padding:5px 0!important;-webkit-box-sizing:border-box;box-sizing:border-box}.mr50{margin-right:50px}.mr20{margin-right:20px!important}.mr15{margin-right:15px!important}.mr5{margin-right:5px!important}.mb20{margin-bottom:20px!important}.mb14{margin-bottom:14px!important}.mb15{margin-bottom:15px!important}.mb30{margin-bottom:30px!important}.mt3{margin-top:3px}.mt35{margin-top:35px}.mb50{margin-bottom:50px!important}.mt30{margin-top:30px}.mt25{margin-top:25px}.mt20{margin-top:20px}.mt14{margin-top:14px}.mt50{margin-top:50px}.mt10{margin-top:10px}.mb10{margin-bottom:10px!important}.my2{margin-top:2px;margin-bottom:2px}.my5{margin-top:5px;margin-bottom:5px}.m2{margin:2px}.m5{margin:5px}.spBlock{display:block}.mb5{margin-bottom:5px!important}.pl25{padding-left:25px;-webkit-box-sizing:border-box;box-sizing:border-box}.padding-add{padding:20px 20px 0}.action-row{margin-top:-6px}.index_bg{width:100%;background:#0009!important;z-index:0!important}.fl_header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-left:0!important}.btn-back{padding:0!important;color:#333!important;font-size:13px}.header_top{padding-bottom:16px!important;padding-left:10px!important}.i-layout-menu-side-title-icon-single .ivu-icon{font-size:20px}.ivu-layout-content{position:relative}.ivu-form-item-content{font-size:12px!important}#shopp-manager .ivu-form-item-content{line-height:23px!important}#shopp-manager .ivu-tag{background-color:unset!important;height:28px!important;line-height:28px!important;padding:0 10px!important}#shopp-manager .ivu-tag .ivu-icon-ios-close{top:0}.pointer{cursor:pointer}.font-blue:hover{color:#2d8cf0;cursor:pointer}.i-layout-tabs-fix{z-index:5!important}.vxe-header--row th:nth-of-type(1){padding-left:26px!important}.vxe-table--body td:nth-of-type(1){padding-left:26px!important}.el-table th:nth-of-type(1)>.cell,.el-table td:nth-of-type(1)>.cell{padding-left:26px}.ivu-modal-header{background:#fafafa}.ivu-mb,.ivu-mb-16{margin-bottom:16px!important}.ivu-mt,.mt16,.ivu-mt-16{margin-top:16px!important}.ivu-table-wrapper{border:0}.i-layout-page-header{margin:0;background-color:#fff;padding:7px 32px 0}.header-title{padding:10px 20px;margin-bottom:16px;border-radius:5px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:14px;color:#303133}.statics-header-title{font-size:14px;color:#303133;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.ivu-page-header-title{display:inline-block;color:#17233d;font-weight:500;font-size:18px;line-height:32px}.main .content-wrapper{padding:16px;height:calc(100% - 80px);overflow:auto;background-color:#f5f7f9}.left-wrapper{height:calc(100vh - 120px);background:#fff;border-right:1px solid #f2f2f2}.ivu-tabs-bar{margin-bottom:0}.perW100{width:100%}.perW90{width:90%}.perW50{width:50%}.perW20{width:20%}.perW35{width:35%}.perW30{width:30%}.font12{font-size:12px!important}.font14{font-size:14px!important}.ivu-table:after{width:0}.ivu-text-left{text-align:left}.ivu-text-right{text-align:right}.ivu-block{display:block}.ivu-pl-8{padding-left:8px!important}.tabBox_img{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img{width:100%;height:100%}.mask-footer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;padding-top:20px;border-top:1px solid #e8eaec}.mask-footer button{margin-left:10px}.goods-mask .ivu-modal-body{padding:0}.content img{display:block;max-width:100%}.none-radius .ivu-modal-content{border-radius:0}.transfer-mask .ivu-modal-wrap{width:1200px;margin:0 auto}.position-relative{position:relative}.position-absolute{position:absolute}.m-auto{margin:0 auto}.no-warp{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.transfer-mask .ivu-modal{position:absolute;right:279px;top:auto;bottom:271px}.maskModel{position:fixed;top:0;left:0;right:0;bottom:0;z-index:55;background-color:#00000080}.input-input{display:block;height:100%;background:none;color:inherit;opacity:1;-webkit-text-fill-color:currentcolor;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit;border:none}.kf_mobile .textarea-box textarea{resize:none!important;height:148px;border-color:transparent;font-size:14px!important}.kf_mobile .textarea-box textarea:focus{-webkit-box-shadow:none;box-shadow:none}.line1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.line2{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.df-n-warp{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.none-radius .ivu-modal-mask,.label-box .ivu-modal-mask{background-color:transparent}.empty-box{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background:#f3f5f7;border-radius:6px}.empty-box.on{border-radius:0}.empty-box .iconfont{color:#bbbfc8;font-size:30px}.paddingBox{padding:0 10px 10px}.pt10{padding-top:10px}.common-form-create-footer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:right;-ms-flex-pack:right;justify-content:right}.common-form-button{margin-right:10px}.pl10{padding-left:10px}.el-switch__label *{font-size:12px!important;line-height:20px!important;font-weight:400}.defineSwitch .el-switch__label{position:absolute;display:none;color:#fff!important;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);white-space:nowrap;font-size:12px;margin:0}.defineSwitch .el-switch__label--right{z-index:1;left:7px;right:auto}.defineSwitch .el-switch__label--left{z-index:1;right:7px;left:auto}.defineSwitch .el-switch__label.is-active{display:block}.defineSwitch.el-switch .el-switch__core{width:55px!important}.defineSwitch.el-switch--large{height:32px}.df-jcsb{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.el-table{font-size:12px}.el-table .el-table__header-wrapper th,.el-table .el-table__fixed-header-wrapper th{word-break:break-word;height:47px;background:var(--prev-color-primary-light-9);color:#515a6e;font-size:12px;font-weight:500}:root{--vxe-ui-font-size-default: 12px}a{color:var(--prev-color-primary);cursor:pointer;text-decoration:none}.label_text{color:#606266;font-size:12px;display:inline-block;width:80px;text-align:right;padding-right:12px}.el-table-column--selection .cell{padding-left:10px}.tree_tit{font-size:14px;color:#606266;font-weight:500;padding:23px 0 23px 20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer}.tree_tit .el-icon-circle-plus{color:#c0c4cc;font-size:20px;margin-right:6px}.mt-20{margin-top:20px}.cup{cursor:pointer}.hover-pimary:hover{color:var(--prev-color-primary)}.tree{min-height:374px}.tree .is-current .file-name{color:var(--prev-color-primary)}.tree .file-name{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#303133;font-size:14px}.tree .file-name .text{max-width:160px}.tree .file-name .icon{width:15px;height:13px;margin-right:6px}.tree .el-tree-node__children .el-tree-node{margin-right:0}.tree .el-tree-node__content{width:100%;height:48px}.tree .custom-tree-node{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding-right:20px;font-size:13px;font-weight:400;color:#0009;line-height:13px}.tree .is-current{background:#f1f9ff!important;color:var(--prev-color-primary)!important}.tree .is-current .custom-tree-node{color:var(--prev-color-primary)!important}.tree .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:var(--prev-color-primary-light-9)!important;border-right:2px solid var(--prev-color-primary)}.upload-box,._fc-upload .fc-upload-btn,._fc-frame .fc-upload-btn,._fc-upload .fc-files{font-size:24px;font-weight:500}.fixed-card{position:fixed;right:16px;bottom:10px;left:265px!important;z-index:8;border:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#fff9!important;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.fixed-card ::v-deep .ivu-card-body{padding:15px 16px 14px}.fixed-card .ivu-form-item{margin-bottom:0}.fixed-card ::v-deep .ivu-form-item-content{margin-right:124px;text-align:center}.drag{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.drag .handle{width:9px;height:15px}.c-red{color:#f56464}.justify-between{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.align-end{-webkit-box-align:end;-ms-flex-align:end;align-items:end}.flex-col{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.flex-x-center{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.flex-y-center{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.pt-100px{padding-top:100px}.pt-10,.pt-10px{padding-top:10px}.pt-20,.pt-20px{padding-top:20px}.left-wrapper{border-radius:4px 0 0 4px}.left-radius-none{border-radius:0 4px 4px 0}.input-number-unit-class[class-unit]{--el-input-number-unit-offset-x: 0px;position:relative}.input-number-unit-class[class-unit]:after{content:attr(class-unit);height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;top:0;font-size:12px;right:var(--el-input-number-unit-offset-x);padding:0 10px;color:#555;border-radius:0 4px 4px 0}.p-y-15{padding-top:15px;padding-bottom:15px}.p-x-10{padding-left:10px;padding-right:10px}.p-x-15{padding-left:15px;padding-right:15px}.p-x-20{padding-left:20px;padding-right:20px}.pb-50{padding-bottom:50px}.m-r-2{margin-right:2px}.m-r-10{margin-right:10px}.f-w-b{font-weight:700}/*! +* Viewer.js v1.14.0 +* https://fengyuanchen.github.io/viewerjs +* +* Copyright 2015-present Chen Fengyuan +* Released under the MIT license +* +* Date: 2026-09-12T12:12:27.170Z +*/.viewer-zoom-in:before,.viewer-zoom-out:before,.viewer-one-to-one:before,.viewer-reset:before,.viewer-prev:before,.viewer-play:before,.viewer-next:before,.viewer-rotate-left:before,.viewer-rotate-right:before,.viewer-flip-horizontal:before,.viewer-flip-vertical:before,.viewer-fullscreen:before,.viewer-fullscreen-exit:before,.viewer-close:before{background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox%3D%220 0 560 40%22%3E%3Cpath fill%3D%22%23fff%22 d%3D%22M49.6 17.9h20.2v3.9H49.6zm123.1 2 10.9-11 2.7 2.8-8.2 8.2 8.2 8.2-2.7 2.7-10.9-10.9zm94 0-10.8-11-2.7 2.8 8.1 8.2-8.1 8.2 2.7 2.7 10.8-10.9zM212 9.3l20.1 10.6L212 30.5V9.3zm161.5 4.6-7.2 6 7.2 5.9v-4h12.4v4l7.3-5.9-7.3-6v4h-12.4v-4zm40.2 12.3 5.9 7.2 5.9-7.2h-4V13.6h4l-5.9-7.3-5.9 7.3h4v12.6h-4zm35.9-16.5h6.3v2h-4.3V16h-2V9.7Zm14 0h6.2V16h-2v-4.3h-4.2v-2Zm6.2 14V30h-6.2v-2h4.2v-4.3h2Zm-14 6.3h-6.2v-6.3h2v4.4h4.3v2Zm-438 .1v-8.3H9.6v-3.9h8.2V9.7h3.9v8.2h8.1v3.9h-8.1v8.3h-3.9zM93.6 9.7h-5.8v3.9h2V30h3.8V9.7zm16.1 0h-5.8v3.9h1.9V30h3.9V9.7zm-11.9 4.1h3.9v3.9h-3.9zm0 8.2h3.9v3.9h-3.9zm244.6-11.7 7.2 5.9-7.2 6v-3.6c-5.4-.4-7.8.8-8.7 2.8-.8 1.7-1.8 4.9 2.8 8.2-6.3-2-7.5-6.9-6-11.3 1.6-4.4 8-5 11.9-4.9v-3.1Zm147.2 13.4h6.3V30h-2v-4.3h-4.3v-2zm14 6.3v-6.3h6.2v2h-4.3V30h-1.9zm6.2-14h-6.2V9.7h1.9V14h4.3v2zm-13.9 0h-6.3v-2h4.3V9.7h2V16zm33.3 12.5 8.6-8.6-8.6-8.7 1.9-1.9 8.6 8.7 8.6-8.7 1.9 1.9-8.6 8.7 8.6 8.6-1.9 2-8.6-8.7-8.6 8.7-1.9-2zM297 10.3l-7.1 5.9 7.2 6v-3.6c5.3-.4 7.7.8 8.7 2.8.8 1.7 1.7 4.9-2.9 8.2 6.3-2 7.5-6.9 6-11.3-1.6-4.4-7.9-5-11.8-4.9v-3.1Zm-157.3-.6c2.3 0 4.4.7 6 2l2.5-3 1.9 9.2h-9.3l2.6-3.1a6.2 6.2 0 0 0-9.9 5.1c0 3.4 2.8 6.3 6.2 6.3 2.8 0 5.1-1.9 6-4.4h4c-1 4.7-5 8.3-10 8.3a10 10 0 0 1-10-10.2 10 10 0 0 1 10-10.2Z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-size:280px;color:transparent;display:block;font-size:0;height:20px;line-height:0;width:20px}.viewer-zoom-in:before{background-position:0 0;content:"Zoom In"}.viewer-zoom-out:before{background-position:-20px 0;content:"Zoom Out"}.viewer-one-to-one:before{background-position:-40px 0;content:"One to One"}.viewer-reset:before{background-position:-60px 0;content:"Reset"}.viewer-prev:before{background-position:-80px 0;content:"Previous"}.viewer-play:before{background-position:-100px 0;content:"Play"}.viewer-next:before{background-position:-120px 0;content:"Next"}.viewer-rotate-left:before{background-position:-140px 0;content:"Rotate Left"}.viewer-rotate-right:before{background-position:-160px 0;content:"Rotate Right"}.viewer-flip-horizontal:before{background-position:-180px 0;content:"Flip Horizontal"}.viewer-flip-vertical:before{background-position:-200px 0;content:"Flip Vertical"}.viewer-fullscreen:before{background-position:-220px 0;content:"Enter Full Screen"}.viewer-fullscreen-exit:before{background-position:-240px 0;content:"Exit Full Screen"}.viewer-close:before{background-position:-260px 0;content:"Close"}.viewer-container{bottom:0;direction:ltr;font-size:0;left:0;line-height:0;overflow:hidden;position:absolute;right:0;-webkit-tap-highlight-color:transparent;top:0;-ms-touch-action:none;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.viewer-container::-moz-selection,.viewer-container *::-moz-selection{background-color:transparent}.viewer-container::selection,.viewer-container *::selection{background-color:transparent}.viewer-container:focus{outline:0}.viewer-container img{display:block;height:auto;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.viewer-canvas{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:0}.viewer-canvas>img{height:auto;margin:15px auto;max-width:90%!important;width:auto}.viewer-magnifier{background-color:#fff;background-repeat:no-repeat;border:2px solid #fff;border-radius:50%;-webkit-box-shadow:0 1px 5px rgba(0,0,0,.5);box-shadow:0 1px 5px #00000080;-webkit-box-sizing:border-box;box-sizing:border-box;display:none;left:16px;overflow:hidden;pointer-events:none;position:absolute;top:16px;z-index:2}.viewer-magnifier.viewer-show{display:block}.viewer-magnifier-image{left:0;max-width:none!important;position:absolute;top:0;-webkit-transform-origin:center;transform-origin:center}.viewer-navigation{left:0;position:absolute;right:0;top:50%}.viewer-navigation>.viewer-prev,.viewer-navigation>.viewer-next{background-color:#00000080;border-radius:50%;cursor:pointer;height:40px;margin-top:-20px;position:absolute;width:40px}.viewer-navigation>.viewer-prev:focus,.viewer-navigation>.viewer-next:focus,.viewer-navigation>.viewer-prev:hover,.viewer-navigation>.viewer-next:hover{background-color:#000c}.viewer-navigation>.viewer-prev:focus,.viewer-navigation>.viewer-next:focus{-webkit-box-shadow:0 0 3px #fff;box-shadow:0 0 3px #fff;outline:0}.viewer-navigation>.viewer-prev:before,.viewer-navigation>.viewer-next:before{margin:10px}.viewer-navigation>.viewer-prev{left:15px}.viewer-navigation>.viewer-next{right:15px}.viewer-navigation>.viewer-large{height:48px;margin-top:-24px;width:48px}.viewer-navigation>.viewer-large:before{margin:14px}.viewer-navigation>.viewer-small{height:32px;margin-top:-16px;width:32px}.viewer-navigation>.viewer-small:before{margin:6px}.viewer-footer{bottom:0;left:0;overflow:hidden;position:absolute;right:0;text-align:center}.viewer-navbar{background-color:#00000080;overflow:hidden}.viewer-navbar.viewer-small>.viewer-list{height:40px}.viewer-navbar.viewer-small>.viewer-list>li{height:40px;width:24px}.viewer-navbar.viewer-large>.viewer-list{height:60px}.viewer-navbar.viewer-large>.viewer-list>li{height:60px;width:36px}.viewer-list{-webkit-box-sizing:content-box;box-sizing:content-box;height:50px;margin:0;overflow:hidden;padding:1px 0}.viewer-list>li{color:transparent;cursor:pointer;float:left;font-size:0;height:50px;line-height:0;opacity:.5;overflow:hidden;-webkit-transition:opacity .15s;transition:opacity .15s;width:30px}.viewer-list>li:focus,.viewer-list>li:hover{opacity:.75}.viewer-list>li:focus{outline:0}.viewer-list>li+li{margin-left:1px}.viewer-list>.viewer-loading{position:relative}.viewer-list>.viewer-loading:after{border-width:2px;height:20px;margin-left:-10px;margin-top:-10px;width:20px}.viewer-list>.viewer-active,.viewer-list>.viewer-active:focus,.viewer-list>.viewer-active:hover{opacity:1}.viewer-player{background-color:#000;bottom:0;cursor:none;display:none;left:0;position:absolute;right:0;top:0;z-index:1}.viewer-player>img{left:0;position:absolute;top:0}.viewer-toolbar>ul{display:inline-block;margin:0 auto 5px;overflow:hidden;padding:6px 3px}.viewer-toolbar>ul>li{background-color:#00000080;border-radius:50%;cursor:pointer;float:left;height:24px;overflow:hidden;-webkit-transition:background-color .15s;transition:background-color .15s;width:24px}.viewer-toolbar>ul>li:focus,.viewer-toolbar>ul>li:hover{background-color:#000c}.viewer-toolbar>ul>li:focus{-webkit-box-shadow:0 0 3px #fff;box-shadow:0 0 3px #fff;outline:0;position:relative;z-index:1}.viewer-toolbar>ul>li:before{margin:2px}.viewer-toolbar>ul>li+li{margin-left:1px}.viewer-toolbar>ul>.viewer-small{height:18px;margin-bottom:3px;margin-top:3px;width:18px}.viewer-toolbar>ul>.viewer-small:before{margin:-1px}.viewer-toolbar>ul>.viewer-large{height:30px;margin-bottom:-3px;margin-top:-3px;width:30px}.viewer-toolbar>ul>.viewer-large:before{margin:5px}.viewer-tooltip{background-color:#000c;border-radius:10px;color:#fff;display:none;font-size:12px;height:20px;left:50%;line-height:20px;margin-left:-25px;margin-top:-10px;position:absolute;text-align:center;top:50%;width:50px}.viewer-title{color:#ccc;display:inline-block;font-size:12px;line-height:1.2;margin:5px 5%;max-width:90%;min-height:14px;opacity:.8;overflow:hidden;text-overflow:ellipsis;-webkit-transition:opacity .15s;transition:opacity .15s;white-space:nowrap}.viewer-title:hover{opacity:1}.viewer-button{-webkit-app-region:no-drag;background-color:#00000080;border-radius:50%;cursor:pointer;height:80px;overflow:hidden;position:absolute;right:-40px;top:-40px;-webkit-transition:background-color .15s;transition:background-color .15s;width:80px}.viewer-button:focus,.viewer-button:hover{background-color:#000c}.viewer-button:focus{-webkit-box-shadow:0 0 3px #fff;box-shadow:0 0 3px #fff;outline:0}.viewer-button:before{bottom:15px;left:15px;position:absolute}.viewer-fixed{position:fixed}.viewer-open{overflow:hidden}.viewer-show{display:block}.viewer-hide{display:none}.viewer-backdrop{background-color:#00000080}.viewer-invisible{visibility:hidden}.viewer-move{cursor:move;cursor:-webkit-grab;cursor:grab}.viewer-fade{opacity:0}.viewer-in{opacity:1}.viewer-transition{-webkit-transition:all .3s;transition:all .3s}@-webkit-keyframes viewer-spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes viewer-spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.viewer-loading:after{-webkit-animation:viewer-spinner 1s linear infinite;animation:viewer-spinner 1s linear infinite;border:4px solid rgba(255,255,255,.1);border-left-color:#ffffff80;border-radius:50%;content:"";display:inline-block;height:40px;left:50%;margin-left:-20px;margin-top:-20px;position:absolute;top:50%;width:40px;z-index:1}@media (max-width: 767px){.viewer-hide-xs-down{display:none}}@media (max-width: 991px){.viewer-hide-sm-down{display:none}}@media (max-width: 1199px){.viewer-hide-md-down{display:none}} diff --git a/backend/public/admin/system_static/index-CYgESPmX.js b/backend/public/admin/system_static/index-CYgESPmX.js new file mode 100644 index 000000000..6c1cda8e2 --- /dev/null +++ b/backend/public/admin/system_static/index-CYgESPmX.js @@ -0,0 +1 @@ +import{r as de,f as re,a as ue,Z as b,n as G,k as r,u as L,y as s,z as R,j as c,C as n,B as p,H as w,F as ce,D as me,s as k,$ as U,A as V,a0 as N,l as u}from"./element-plus-C_ZDq0cz.js";import{w as pe,_ as _e,b as fe,y as ge,z as ve}from"./index-DHL7RTL2.js";import{g as ye}from"./index-C2Zmd2Xm.js";/* empty css */import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function he(_){return pe({url:"live/goods/list",method:"get",params:_})}const be={class:"goodList"},we={class:"tabBox_img"},ke={class:"acea-row row-right page"},Ve=Object.assign({name:"index"},{__name:"index",props:{is_new:{type:String,default:""},type:{type:Number,default:0},diy:{type:Boolean,default:!1},ischeckbox:{type:Boolean,default:!1},liveStatus:{type:Boolean,default:!1},isLive:{type:Boolean,default:!1},isdiy:{type:Boolean,default:!1},selectIds:{type:Array,default:()=>[]},datas:{type:Object,default:function(){return{}}}},emits:["getProductId","getProductDiy"],setup(_,{expose:H,emit:Z}){const x=Z,z=fe(),i=_,E=u(0),O=u([]),l=de({page:1,limit:15,cate_id:[],store_name:"",is_new:i.is_new}),g=u(0),m=u(!1),S=u([]),J=u(0),K=u({}),v=u([]),y=u(""),B=u("");let A=null;const Q=[{activeValue:0,title:"商品列表"},{activeValue:"7",title:"优品推荐"}],I=u(null);re(()=>i.ischeckbox,(t,e)=>{t&&(y.value="many")},{immediate:!0});{let t="";i.ischeckbox?t="many":t=z.query.type,y.value=t}ue(()=>{T(),i.diy?P():C()});function P(){let t={page:l.page,limit:l.limit,cate_id:Array.isArray(l.cate_id)?l.cate_id.join(","):l.cate_id,store_name:l.store_name,type:i.type?i.type:B.value};m.value=!0,ye(t).then(e=>{let o=e.data;S.value=o.list,g.value=e.data.count,m.value=!1}).catch(e=>{m.value=!1,b.error(e.msg)})}function W(t){let e=[],o={image:t.image,product_id:t.id,store_name:t.store_name,temp_id:t.temp_id};e.push(o),v.value=e,A=t,x("getProductId",t)}function D(t){let e=[];t.forEach(function(o){let d={image:o.image,product_id:o.id,store_name:o.store_name,temp_id:o.temp_id};e.push(d)}),v.value=e,A=t,x("getProductDiy",t)}function T(){ge(1).then(t=>{O.value=t.data}).catch(t=>{b.error(t.msg)})}function X(){i.diy?P():C()}function C(){if(m.value=!0,i.liveStatus)he({is_show:"1",status:"1",live_id:i.datas.id,kerword:l.store_name,page:l.page,limit:l.limit}).then(async t=>{let e=t.data;e.list.forEach(o=>{o.image=o.cover_img}),i.selectIds.length&&i.selectIds.map(o=>{e.list.map(d=>{d.id==o&&I.value.toggleRowSelection(d)})}),G(o=>{S.value=e.list,g.value=t.data.count,m.value=!1})}).catch(t=>{m.value=!1,b.error(t.msg)});else{i.isLive&&(l.is_live=1);let t={...l};Array.isArray(t.cate_id)&&(t.cate_id=t.cate_id.join(",")),ve(t).then(async e=>{let o=e.data;S.value=o.list,g.value=e.data.count,m.value=!1,G(()=>{if(i.selectIds.length){let d=[];i.selectIds.map(j=>{o.list.map(h=>{h.id==j&&(I.value.toggleRowSelection(h,!0),d.push(h))})}),D(d)}})}).catch(e=>{m.value=!1,b.error(e.msg)})}}function Y(){if(v.value.length>0)if(z.query.fodder==="image"){let t=form_create_helper.get("image");form_create_helper.set("image",t.concat(v.value)),form_create_helper.close("image")}else I.value.clearSelection(),i.isdiy?x("getProductId",A):x("getProductId",v.value);else b.warning("请先选择商品")}function q(){J.value=0,K.value={},l.page=1,i.diy?P():C()}return H({getList:C,goodsCategory:T,formValidate:l}),(t,e)=>{const o=r("el-cascader"),d=r("el-form-item"),j=r("el-option"),h=r("el-select"),ee=r("el-input"),F=r("el-button"),te=r("el-form"),f=r("el-table-column"),ae=r("el-radio"),le=r("el-table"),oe=r("pagination"),M=L("db-click"),ie=L("lazy"),ne=L("viewer"),se=L("loading");return s(),R("div",be,[c(te,{ref:"formValidate",model:l,"label-width":"80px","label-position":"right",inline:"",class:"tabform"},{default:n(()=>[_.liveStatus?w("",!0):(s(),p(d,{key:0,label:"商品分类:"},{default:n(()=>[c(o,{modelValue:l.cate_id,"onUpdate:modelValue":e[0]||(e[0]=a=>l.cate_id=a),options:O.value,props:{checkStrictly:!0,emitPath:!1,multiple:!0},clearable:"",class:"form_content_width"},null,8,["modelValue","options"])]),_:1})),!_.type&&_.diy?(s(),p(d,{key:1,label:"商品类型:"},{default:n(()=>[c(h,{modelValue:B.value,"onUpdate:modelValue":e[1]||(e[1]=a=>B.value=a),clearable:"",onChange:q,class:"form_content_width"},{default:n(()=>[(s(),R(ce,null,me(Q,a=>c(j,{value:a.activeValue,key:a.activeValue,label:a.title},null,8,["value","label"])),64))]),_:1},8,["modelValue"])]),_:1})):w("",!0),c(d,{label:"商品搜索:"},{default:n(()=>[c(ee,{clearable:"",placeholder:"请输入商品名称/关键字/ID",modelValue:l.store_name,"onUpdate:modelValue":e[2]||(e[2]=a=>l.store_name=a),class:"form_content_width"},null,8,["modelValue"]),k((s(),p(F,{type:"primary",onClick:q,class:"ml15"},{default:n(()=>[...e[6]||(e[6]=[U("查询",-1)])]),_:1})),[[M]])]),_:1})]),_:1},8,["model"]),k((s(),p(le,{ref_key:"table",ref:I,"empty-text":"暂无数据","max-height":"400","highlight-current-row":y.value!=="many",data:S.value,onSelect:D,onSelectAll:D},{default:n(()=>[y.value=="many"?(s(),p(f,{key:0,type:"selection",width:"55"})):(s(),p(f,{key:1,width:"50"},{default:n(a=>[c(ae,{modelValue:E.value,"onUpdate:modelValue":e[3]||(e[3]=$=>E.value=$),label:a.row.id,value:a.row.id,onChange:$=>W(a.row)},{default:n(()=>[...e[7]||(e[7]=[U(" ",-1)])]),_:1},8,["modelValue","label","value","onChange"])]),_:1})),c(f,{label:"商品ID",width:"80"},{default:n(a=>[V("span",null,N(a.row.id),1)]),_:1}),c(f,{label:"图片",width:"80"},{default:n(a=>[k((s(),R("div",we,[k(V("img",null,null,512),[[ie,a.row.image]])])),[[ne]])]),_:1}),c(f,{label:"商品名称","min-width":"250"},{default:n(a=>[V("span",null,N(a.row.store_name),1)]),_:1}),_.liveStatus?(s(),p(f,{key:2,label:"商品分类","min-width":"150"},{default:n(a=>[V("span",null,N(a.row.cate_name),1)]),_:1})):w("",!0)]),_:1},8,["highlight-current-row","data"])),[[se,m.value]]),V("div",ke,[g.value?(s(),p(oe,{key:0,total:g.value,page:l.page,"onUpdate:page":e[4]||(e[4]=a=>l.page=a),limit:l.limit,"onUpdate:limit":e[5]||(e[5]=a=>l.limit=a),onPagination:X},null,8,["total","page","limit"])):w("",!0),y.value==="many"&&!_.diy?k((s(),p(F,{key:1,type:"primary",onClick:Y,class:"ml15"},{default:n(()=>[...e[8]||(e[8]=[U("提交",-1)])]),_:1})),[[M]]):w("",!0)])])}}}),Pe=_e(Ve,[["__scopeId","data-v-a76a1842"]]);export{Pe as default}; diff --git a/backend/public/admin/system_static/index-CZc0X988.css b/backend/public/admin/system_static/index-CZc0X988.css new file mode 100644 index 000000000..f54038f8b --- /dev/null +++ b/backend/public/admin/system_static/index-CZc0X988.css @@ -0,0 +1 @@ +.f-s-24[data-v-d68ac272]{font-size:24px}.iconBox[data-v-d68ac272]{background:#fff}.icons-item[data-v-d68ac272]{float:left;margin:6px 6px 6px 0;width:53px;text-align:center;list-style:none;cursor:pointer;height:50px;color:#5c6b77;-webkit-transition:all .2s ease;transition:all .2s ease;position:relative;padding-top:10px}.icons-item[data-v-d68ac272] .ivu-icon{font-size:32px!important}.trees-coadd[data-v-d68ac272]{width:100%;height:500px;border-radius:4px;overflow:hidden}.scollhide[data-v-d68ac272]{width:100%;height:100%;overflow:auto;margin-left:18px;padding:10px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.scollhide .content[data-v-d68ac272]{font-size:12px}.scollhide .time[data-v-d68ac272]{font-size:12px;color:#2d8cf0} diff --git a/backend/public/admin/system_static/index-C_e-GUyL.js b/backend/public/admin/system_static/index-C_e-GUyL.js new file mode 100644 index 000000000..0517d85f0 --- /dev/null +++ b/backend/public/admin/system_static/index-C_e-GUyL.js @@ -0,0 +1 @@ +import{k as a,u as q,y as t,B as i,C as s,A as r,a0 as C,j as n,W as w,av as G,z as _,F as h,D as I,s as B,aw as J,$ as L,H as N,a9 as K,a1 as P,p as b,l as V}from"./element-plus-C_ZDq0cz.js";import{_ as Q,aN as R}from"./index-DHL7RTL2.js";import{i as X}from"./icon-C8INUNkX.js";const Y={class:"select-icon"},Z={class:"toolbar"},ee={class:"toolbar__count"},le={class:"icons-container"},oe={class:"grid"},te=["onClick"],ae=["title"],se=Object.assign({name:"SelectIcon"},{__name:"index",props:{modelValue:{type:Boolean,default:!1}},emits:["update:modelValue","select"],setup(D,{emit:E}){const F=D,k=E,v=b({get:()=>F.modelValue,set:l=>k("update:modelValue",l)}),S=[{label:"官方图标库",value:"crmeb"},{label:"ELEMENT",value:"element"}],d=V(""),u=V("crmeb"),m=V("outlined"),U=R.map(l=>({value:l.value,name:l.name,source:"crmeb"})),z=X.map(l=>({value:l,name:l,source:"element"})),p=b(()=>{let l;if(u.value==="crmeb"){const c=m.value==="filled"?"-mianxing":"-xianxing";l=U.filter(f=>f.value.endsWith(c))}else l=z;const o=d.value.trim().toLowerCase();return o&&(l=l.filter(c=>c.name.toLowerCase().includes(o)||c.value.toLowerCase().includes(o))),l}),T=b(()=>!!d.value||u.value!=="crmeb"||m.value!=="outlined");function j(){d.value="",u.value="crmeb",m.value="outlined"}function O(l){v.value=!1,k("select",l)}return(l,o)=>{const c=a("el-input"),f=a("el-option"),W=a("el-select"),y=a("el-icon"),$=a("el-button"),g=a("el-radio-button"),A=a("el-radio-group"),H=a("el-empty"),M=a("el-dialog"),x=q("db-click");return t(),i(M,{modelValue:v.value,"onUpdate:modelValue":o[3]||(o[3]=e=>v.value=e),width:"1020px",title:"图标选择","append-to-body":""},{default:s(()=>[r("div",Y,[r("div",Z,[r("span",ee,"共 "+C(p.value.length)+" 项",1),n(c,{modelValue:d.value,"onUpdate:modelValue":o[0]||(o[0]=e=>d.value=e),class:"toolbar__search",placeholder:"请输入图标名称","prefix-icon":w(G),clearable:""},null,8,["modelValue","prefix-icon"]),n(W,{modelValue:u.value,"onUpdate:modelValue":o[1]||(o[1]=e=>u.value=e),class:"toolbar__source"},{default:s(()=>[(t(),_(h,null,I(S,e=>n(f,{key:e.value,label:e.label,value:e.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"]),B((t(),i($,{class:"toolbar__reset",disabled:!T.value,onClick:j},{default:s(()=>[n(y,null,{default:s(()=>[n(w(J))]),_:1})]),_:1},8,["disabled"])),[[x]]),u.value==="crmeb"?(t(),i(A,{key:0,modelValue:m.value,"onUpdate:modelValue":o[2]||(o[2]=e=>m.value=e),class:"toolbar__segmented"},{default:s(()=>[n(g,{value:"outlined"},{default:s(()=>[...o[4]||(o[4]=[L("线性",-1)])]),_:1}),n(g,{value:"filled"},{default:s(()=>[...o[5]||(o[5]=[L("面性",-1)])]),_:1})]),_:1},8,["modelValue"])):N("",!0)]),r("div",le,[r("div",oe,[(t(!0),_(h,null,I(p.value,e=>B((t(),_("div",{key:e.value,class:"icon-item",onClick:ne=>O(e.value)},[e.source==="element"?(t(),i(y,{key:0,size:26},{default:s(()=>[(t(),i(K(e.value)))]),_:2},1024)):(t(),_("i",{key:1,class:P(["crmeb-icon",e.value])},null,2)),r("span",{class:"line1",title:e.name},C(e.name),9,ae)],8,te)),[[x]])),128))]),p.value.length?N("",!0):(t(),i(H,{key:0,description:"暂无匹配图标"}))])])]),_:1},8,["modelValue"])}}}),re=Q(se,[["__scopeId","data-v-586d86f7"]]);export{re as S}; diff --git a/backend/public/admin/system_static/index-Cas7-n7e.css b/backend/public/admin/system_static/index-Cas7-n7e.css new file mode 100644 index 000000000..be2889ba9 --- /dev/null +++ b/backend/public/admin/system_static/index-Cas7-n7e.css @@ -0,0 +1 @@ +.colorred[data-v-f0b88a69]{color:#ff5722}.colorgreen[data-v-f0b88a69]{color:#009688}.search[data-v-f0b88a69]{width:86px;height:32px;background:var(--prev-color-primary);border-radius:4px;text-align:center;line-height:32px;font-size:13px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;cursor:pointer}.reset[data-v-f0b88a69]{width:86px;height:32px;border-radius:4px;border:1px solid rgba(151,151,151,.36);text-align:center;line-height:32px;font-size:13px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#000000d9;cursor:pointer}.table .ivu-table-default[data-v-f0b88a69]{overflow-y:auto;max-height:350px}.dashboard-workplace-header-avatar[data-v-f0b88a69]{width:64px;height:64px;border-radius:50%;margin-right:16px;font-weight:600}.dashboard-workplace-header-tip[data-v-f0b88a69]{width:82%;display:inline-block;vertical-align:middle}.dashboard-workplace-header-tip-title[data-v-f0b88a69]{font-size:13px;color:#000;margin-bottom:12px}.dashboard-workplace-header-tip-desc-sp[data-v-f0b88a69]{width:33.33%;color:#17233d;font-size:12px;display:inline-block}.dashboard-workplace-header-extra .ivu-col p[data-v-f0b88a69]{text-align:right}.dashboard-workplace-header-extra .ivu-col p:first-child span[data-v-f0b88a69]:first-child{margin-right:4px}.dashboard-workplace-header-extra .ivu-col p:first-child span[data-v-f0b88a69]:last-child{color:#808695}.dashboard-workplace-header-extra .ivu-col p[data-v-f0b88a69]:last-child{font-size:22px}.z-price[data-v-f0b88a69]{color:red}.f-price[data-v-f0b88a69]{color:green}[data-v-e9fcfb95] .el-tabs__item{height:54px!important;line-height:54px!important}[data-v-e9fcfb95] .ivu-card-body{padding:0}.tabbox[data-v-e9fcfb95]{padding:16px 20px 0}.box[data-v-e9fcfb95]{padding:20px 20px 1px}.tablebox[data-v-e9fcfb95]{margin-top:15px;padding-bottom:10px}.btnbox[data-v-e9fcfb95]{padding:20px 0 0 30px}.btnbox .btns[data-v-e9fcfb95]{width:99px;height:32px;background:var(--prev-color-primary);border-radius:4px;text-align:center;line-height:32px;color:#fff;cursor:pointer} diff --git a/backend/public/admin/system_static/index-Cc9GWsRf.js b/backend/public/admin/system_static/index-Cc9GWsRf.js new file mode 100644 index 000000000..53f0b9b55 --- /dev/null +++ b/backend/public/admin/system_static/index-Cc9GWsRf.js @@ -0,0 +1 @@ +import{L as oe,Z as x,y as c,z as b,j as a,C as l,l as V,k as r,u as y,A as n,ac as ie,s as m,B as h,$ as p,a0 as _,ab as N,H as P,p as F}from"./element-plus-C_ZDq0cz.js";import{_ as ne,s as se,a as re,b as ue,h as de,S as me,m as ce}from"./index-DHL7RTL2.js";import{b as _e,a as pe}from"./marketing-BAfn8OEa.js";import"./validate-a11VBqc7.js";import{exportBargainList as ve}from"./export-D13HPb6l.js";import{e as fe}from"./newToExcel-Ce_ClQ6v.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./xlsx-DvXcP_SB.js";const ge={class:"padding-add"},we={class:"tabBox_img"},be={class:"line2"},he=["onClick"],ke=["onClick"],xe=["onClick"],ye=["onClick"],Ce={class:"acea-row row-right page"},Se=Object.assign({name:"bargainProduct"},{__name:"index",setup(Ve){const O=ue(),D=de(),$=me.routePre,{isMobile:U}=se(re()),R=F(()=>U.value?void 0:"80px"),T=F(()=>U.value?"top":"right"),C=V(!1),B=V([]),i=V({status:"",store_name:"",page:1,limit:15}),z=V(0);k(),oe(()=>{k()});function q(){D.push({path:$+"/marketing/bargain/create"})}async function J(){i.value.status=i.value.status||"";let[o,t,u,v]=[[],[],[],""],d=JSON.parse(JSON.stringify(i.value));d.page=1,d.limit=50;for(let S=0;S{ve(o).then(v=>{t(v.data)})})}function I(o,t){D.push({path:$+`/marketing/bargain/create/${o.id}/${t}`})}function K(o,t,u){let v={title:t,url:`marketing/bargain/${o.id}`,method:"DELETE",ids:""};ce(v).then(d=>{x.success(d.msg),B.value.splice(u,1)}).catch(d=>{x.error(d.msg)})}function W(o){D.push({path:$+"/marketing/bargain/statistics/"+o.id})}function k(){C.value=!0,i.value.status=i.value.status||"",i.value.product_id=O.params.product_id||"",_e(i.value).then(async o=>{let t=o.data;B.value=t.list,z.value=o.data.count,C.value=!1}).catch(o=>{C.value=!1,x.error(o.msg)})}function A(){i.value.page=1,k()}function Z(o){let t={id:o.id,status:o.status};pe(t).then(async u=>{x.success(u.msg),k()}).catch(u=>{x.error(u.msg),o.status=!o.status})}return(o,t)=>{const u=r("el-option"),v=r("el-select"),d=r("el-form-item"),S=r("el-input"),f=r("el-button"),G=r("el-form"),M=r("el-card"),s=r("el-table-column"),Q=r("el-tooltip"),E=r("el-tag"),X=r("el-switch"),L=r("el-divider"),Y=r("el-table"),ee=r("pagination"),g=y("db-click"),j=y("auth"),te=y("lazy"),ae=y("viewer"),le=y("loading");return c(),b("div",null,[a(M,{bordered:!1,shadow:"never","body-style":{padding:0}},{default:l(()=>[n("div",ge,[a(G,{model:i.value,"label-width":R.value,"label-position":T.value,onSubmit:t[2]||(t[2]=ie(()=>{},["prevent"])),inline:""},{default:l(()=>[a(d,{label:"上架状态:"},{default:l(()=>[a(v,{placeholder:"请选择",modelValue:i.value.status,"onUpdate:modelValue":t[0]||(t[0]=e=>i.value.status=e),clearable:"",onChange:A,class:"form_content_width"},{default:l(()=>[a(u,{value:"1",label:"上架"}),a(u,{value:"0",label:"下架"})]),_:1},8,["modelValue"])]),_:1}),a(d,{label:"商品搜索:","label-for":"store_name"},{default:l(()=>[a(S,{clearable:"",placeholder:"请输入砍价名称,ID",modelValue:i.value.store_name,"onUpdate:modelValue":t[1]||(t[1]=e=>i.value.store_name=e),class:"form_content_width"},null,8,["modelValue"])]),_:1}),a(d,null,{default:l(()=>[m((c(),h(f,{type:"primary",onClick:A},{default:l(()=>[...t[5]||(t[5]=[p("查询",-1)])]),_:1})),[[g]])]),_:1})]),_:1},8,["model","label-width","label-position"])])]),_:1}),a(M,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:l(()=>[m((c(),h(f,{type:"primary",class:"action-row",onClick:q},{default:l(()=>[...t[6]||(t[6]=[p("添加砍价商品",-1)])]),_:1})),[[j,["marketing-store_bargain-create"]],[g]]),m((c(),h(f,{class:"action-row export",icon:"ios-share-outline",onClick:J},{default:l(()=>[...t[7]||(t[7]=[p("导出",-1)])]),_:1})),[[j,["export-storeBargain"]],[g]]),m((c(),h(Y,{data:B.value,"highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果",class:"mt14"},{default:l(()=>[a(s,{label:"ID",width:"80"},{default:l(e=>[n("div",null,_(e.row.id),1)]),_:1}),a(s,{label:"砍价图片","min-width":"80"},{default:l(e=>[m((c(),b("div",we,[m(n("img",null,null,512),[[te,e.row.image]])])),[[ae]])]),_:1}),a(s,{label:"砍价名称","min-width":"150"},{default:l(e=>[a(Q,{placement:"top","open-delay":600},{content:l(()=>[n("div",null,_(e.row.title),1)]),default:l(()=>[n("span",be,_(e.row.title),1)]),_:2},1024)]),_:1}),a(s,{label:"砍价价格","min-width":"100"},{default:l(e=>[n("div",null,_(e.row.price),1)]),_:1}),a(s,{label:"最低价","min-width":"100"},{default:l(e=>[n("div",null,_(e.row.min_price),1)]),_:1}),a(s,{label:"参与人数","min-width":"100"},{default:l(e=>[n("div",null,_(e.row.count_people_all),1)]),_:1}),a(s,{label:"帮忙砍价人数","min-width":"100"},{default:l(e=>[n("div",null,_(e.row.count_people_help),1)]),_:1}),a(s,{label:"砍价成功人数","min-width":"100"},{default:l(e=>[n("div",null,_(e.row.count_people_success),1)]),_:1}),a(s,{label:"限量","min-width":"80"},{default:l(e=>[n("div",null,_(e.row.quota_show),1)]),_:1}),a(s,{label:"限量剩余","min-width":"80"},{default:l(e=>[n("div",null,_(e.row.quota),1)]),_:1}),a(s,{label:"活动状态","min-width":"100"},{default:l(e=>[m(a(E,{size:"default"},{default:l(()=>[...t[8]||(t[8]=[p("进行中",-1)])]),_:1},512),[[N,e.row.start_name==="进行中"]]),m(a(E,{size:"default",type:"warning"},{default:l(()=>[...t[9]||(t[9]=[p("未开始",-1)])]),_:1},512),[[N,e.row.start_name==="未开始"]]),m(a(E,{size:"default",type:"info"},{default:l(()=>[...t[10]||(t[10]=[p("已结束",-1)])]),_:1},512),[[N,e.row.start_name==="已结束"]])]),_:1}),a(s,{label:"活动时间","min-width":"180"},{default:l(e=>[n("p",null,"开始:"+_(e.row.start_time),1),n("p",null,"结束:"+_(e.row.stop_time),1)]),_:1}),a(s,{label:"上架状态","min-width":"100"},{default:l(e=>[a(X,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:e.row.status,"onUpdate:modelValue":w=>e.row.status=w,value:e.row.status,onChange:w=>Z(e.row),size:"large","active-text":"上架","inactive-text":"下架"},null,8,["modelValue","onUpdate:modelValue","value","onChange"])]),_:1}),a(s,{label:"操作",fixed:"right",width:"170"},{default:l(e=>[e.row.stop_status===0?m((c(),b("a",{key:0,onClick:w=>I(e.row,0)},[...t[11]||(t[11]=[p("编辑",-1)])],8,he)),[[g]]):P("",!0),e.row.stop_status===0?(c(),h(L,{key:1,direction:"vertical"})):P("",!0),m((c(),b("a",{onClick:w=>I(e.row,1)},[...t[12]||(t[12]=[p("复制",-1)])],8,ke)),[[g]]),a(L,{direction:"vertical"}),m((c(),b("a",{onClick:w=>K(e.row,"删除砍价商品",e.$index)},[...t[13]||(t[13]=[p("删除",-1)])],8,xe)),[[g]]),a(L,{direction:"vertical"}),m((c(),b("a",{onClick:w=>W(e.row)},[...t[14]||(t[14]=[p("统计",-1)])],8,ye)),[[g]])]),_:1})]),_:1},8,["data"])),[[le,C.value]]),n("div",Ce,[z.value?(c(),h(ee,{key:0,total:z.value,page:i.value.page,"onUpdate:page":t[3]||(t[3]=e=>i.value.page=e),limit:i.value.limit,"onUpdate:limit":t[4]||(t[4]=e=>i.value.limit=e),onPagination:k},null,8,["total","page","limit"])):P("",!0)])]),_:1})])}}}),Ae=ne(Se,[["__scopeId","data-v-469d7659"]]);export{Ae as default}; diff --git a/backend/public/admin/system_static/index-CcPLC6Wr.js b/backend/public/admin/system_static/index-CcPLC6Wr.js new file mode 100644 index 000000000..e545fc2ae --- /dev/null +++ b/backend/public/admin/system_static/index-CcPLC6Wr.js @@ -0,0 +1 @@ +import{k as i,u as F,y as m,z as L,j as o,C as n,A as v,ac as Z,s as h,B as y,$ as g,a0 as K,H as xe,Z as p,p as N,r as Ve,l as u,n as Ce}from"./element-plus-C_ZDq0cz.js";import{_ as Se,a as Me,aF as Ie,aG as Ue,m as $e,aH as Ae,aI as Ne,aJ as De}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const Ee={class:"padding-add"},Pe=["onClick"],Re=["onClick"],Be={class:"acea-row row-right page"},Fe={class:"trees-coadd"},Le={class:"scollhide"},Ke={class:"iconlist"},Te={class:"dialog-footer"},He=Object.assign({name:"systemrRole"},{__name:"index",setup(qe){const Q=Me(),X=u(null),c=u(null),Y=u(null),C=u(null),k=u(!1),w=u(!1),D=u(0),S=u(!1),V=u(!1),r=Ve({status:"",role_name:"",page:1,limit:15}),E=u([]),s=u({role_name:"",status:0,checked_menus:[],id:0}),M=u([]),I=u([]),P=u(""),O={role_name:[{required:!0,message:"请输入身份昵称",trigger:"blur"}],status:[{required:!0,type:"number",message:"请选择是否开启",trigger:"change"}]},j={children:"children",label:"title"},R=N(()=>Q.isMobile),ee=N(()=>R.value?void 0:"80px"),le=N(()=>R.value?"top":"right"),te=N(()=>R.value?"top":"right");function ae(){if(V.value){V.value=!1;for(let l in c.value.store.nodesMap)c.value.store.nodesMap[l].expanded=!1}else{V.value=!0;for(let l in c.value.store.nodesMap)c.value.store.nodesMap[l].expanded=!0}}function oe(){s.value={role_name:"",status:0,checked_menus:[],id:0},I.value=[]}function ne(l){s.value.id=0,P.value=l,w.value=!0,ue()}function se(l,e,t){let f={title:e,url:`setting/role/${l.id}`,method:"DELETE",ids:""};$e(f).then(d=>{p.success(d.msg),E.value.splice(t,1)}).catch(d=>{p.error(d.msg)})}function ie(l){let e={id:l.id,status:l.status};Ue(e).then(async t=>{p.success(t.msg)}).catch(t=>{p.error(t.msg)})}function U(){S.value=!0,r.status=r.status||"",Ie(r).then(async l=>{let e=l.data;E.value=e.list,D.value=l.data.count,S.value=!1}).catch(l=>{S.value=!1,p.error(l.msg)})}function T(){r.page=1,U()}function de(l,e){P.value=e,s.value.id=l.id,w.value=!0,re(l)}function ue(){k.value=!0,Ne().then(async l=>{let e=l.data;M.value=e.menus,M.value.map((t,f)=>{t.title==="主页"&&t.children.length&&t.children.map(d=>{}),t.expand=!1}),k.value=!1}).catch(l=>{k.value=!1,p.error(l.msg)})}function re(l){k.value=!0,De(l.id).then(async e=>{let t=e.data;s.value=t.role||s.value,s.value.checked_menus=s.value.rules,Ce(f=>{I.value=s.value.rules.split(","),fe(t.menus)}),k.value=!1}).catch(e=>{k.value=!1,p.error(e.msg)})}function ce(l,e,t){if(e.checkedKeys.indexOf(l.id)!==-1)H(l),B(l,!0);else{l.children.length!==0&&B(l,!1);let d=!1,b=l.pid?c.value.getNode(l.pid).data:void 0;if(b&&b.children.length)for(let _=0;_{t.title==="主页"?(t.checked=!0,t.children.length&&t.children.map(f=>{f.checked=!0}),e.push(t)):e.push(q(t))}),M.value=e}function q(l){let e={},t=","+s.value.checked_menus+",";return e.title=l.title,e.id=l.id,e.pid=l.pid,e.children=l.children,e.checked=l.checked,l.children&&l.children.length>0?(e.children=[],l.children.map(f=>{e.children.push(q(f))})):(e.checked=t.indexOf(","+e.id+",")!==-1,e.expand=!e.checked),e}function me(){C.value.validate(l=>{if(l){if(s.value.checked_menus=[...c.value.getCheckedKeys(),...c.value.getHalfCheckedKeys()],s.value.checked_menus.length===0)return p.warning("请至少选择一个权限");Ae(s.value).then(async e=>{p.success(e.msg),w.value=!1,U(),C.value.resetFields(),s.value.checked_menus=[]}).catch(e=>{p.error(e.msg)})}else return!1})}function pe(){C.value.resetFields(),s.value.checked_menus=[],I.value=[],w.value=!1}return U(),(l,e)=>{const t=i("el-option"),f=i("el-select"),d=i("el-form-item"),b=i("el-input"),_=i("el-button"),z=i("el-form"),G=i("el-card"),$=i("el-table-column"),ve=i("el-switch"),_e=i("el-divider"),he=i("el-table"),ge=i("pagination"),J=i("el-radio"),ke=i("el-radio-group"),be=i("el-tree"),ye=i("el-dialog"),x=F("db-click"),we=F("auth"),W=F("loading");return m(),L("div",null,[o(G,{bordered:!1,shadow:"never",class:"ivu-mb-16","body-style":{padding:0}},{default:n(()=>[v("div",Ee,[o(z,{ref_key:"formValidateRef",ref:Y,model:r,"label-width":ee.value,"label-position":le.value,onSubmit:e[2]||(e[2]=Z(()=>{},["prevent"])),inline:""},{default:n(()=>[o(d,{label:"状态:","label-for":"status"},{default:n(()=>[o(f,{modelValue:r.status,"onUpdate:modelValue":e[0]||(e[0]=a=>r.status=a),placeholder:"请选择",onChange:T,clearable:"",class:"form_content_width"},{default:n(()=>[o(t,{value:"1",label:"显示"}),o(t,{value:"0",label:"不显示"})]),_:1},8,["modelValue"])]),_:1}),o(d,{label:"身份昵称:","label-for":"role_name"},{default:n(()=>[o(b,{clearable:"",placeholder:"请输入身份昵称",modelValue:r.role_name,"onUpdate:modelValue":e[1]||(e[1]=a=>r.role_name=a),class:"form_content_width"},null,8,["modelValue"])]),_:1}),o(d,null,{default:n(()=>[h((m(),y(_,{type:"primary",onClick:T},{default:n(()=>[...e[11]||(e[11]=[g("查询",-1)])]),_:1})),[[x]])]),_:1})]),_:1},8,["model","label-width","label-position"])])]),_:1}),h((m(),y(G,{bordered:!1,shadow:"never"},{default:n(()=>[h((m(),y(_,{class:"action-row",type:"primary",onClick:e[3]||(e[3]=a=>ne("添加"))},{default:n(()=>[...e[12]||(e[12]=[g("添加身份",-1)])]),_:1})),[[we,["setting-system_role-add"]],[x]]),h((m(),y(he,{data:E.value,ref_key:"table",ref:X,class:"mt14","highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:n(()=>[o($,{label:"ID","min-width":"80"},{default:n(a=>[v("span",null,K(a.row.id),1)]),_:1}),o($,{label:"身份昵称","min-width":"130"},{default:n(a=>[v("span",null,K(a.row.role_name),1)]),_:1}),o($,{label:"状态","min-width":"120"},{default:n(a=>[o(ve,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:a.row.status,"onUpdate:modelValue":A=>a.row.status=A,value:a.row.status,onChange:A=>ie(a.row),size:"large","active-text":"显示","inactive-text":"隐藏"},null,8,["modelValue","onUpdate:modelValue","value","onChange"])]),_:1}),o($,{label:"操作",fixed:"right",width:"120"},{default:n(a=>[h((m(),L("a",{onClick:A=>de(a.row,"编辑")},[...e[13]||(e[13]=[g("编辑",-1)])],8,Pe)),[[x]]),o(_e,{direction:"vertical"}),h((m(),L("a",{onClick:A=>se(a.row,"删除",a.$index)},[...e[14]||(e[14]=[g("删除",-1)])],8,Re)),[[x]])]),_:1})]),_:1},8,["data"])),[[W,S.value]]),v("div",Be,[D.value?(m(),y(ge,{key:0,total:D.value,page:r.page,"onUpdate:page":e[4]||(e[4]=a=>r.page=a),limit:r.limit,"onUpdate:limit":e[5]||(e[5]=a=>r.limit=a),onPagination:U},null,8,["total","page","limit"])):xe("",!0)])]),_:1})),[[W,k.value]]),o(ye,{modelValue:w.value,"onUpdate:modelValue":e[10]||(e[10]=a=>w.value=a),title:`${P.value}身份`,"close-on-click-modal":!1,"show-close":!0,width:"540px",onClosed:oe},{footer:n(()=>[v("span",Te,[h((m(),y(_,{onClick:pe},{default:n(()=>[...e[17]||(e[17]=[g("取 消",-1)])]),_:1})),[[x]]),h((m(),y(_,{type:"primary",onClick:e[9]||(e[9]=a=>me())},{default:n(()=>[...e[18]||(e[18]=[g("提 交",-1)])]),_:1})),[[x]])])]),default:n(()=>[o(z,{ref_key:"formInlineRef",ref:C,model:s.value,rules:O,"label-width":"100px","label-position":te.value,onSubmit:e[8]||(e[8]=Z(()=>{},["prevent"]))},{default:n(()=>[o(d,{label:"身份名称:","label-for":"role_name",prop:"role_name"},{default:n(()=>[o(b,{placeholder:"请输入身份昵称",modelValue:s.value.role_name,"onUpdate:modelValue":e[6]||(e[6]=a=>s.value.role_name=a)},null,8,["modelValue"])]),_:1}),o(d,{label:"是否开启:",prop:"status"},{default:n(()=>[o(ke,{modelValue:s.value.status,"onUpdate:modelValue":e[7]||(e[7]=a=>s.value.status=a)},{default:n(()=>[o(J,{label:1,value:1},{default:n(()=>[...e[15]||(e[15]=[g("开启",-1)])]),_:1}),o(J,{label:0,value:0},{default:n(()=>[...e[16]||(e[16]=[g("关闭",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),o(d,{label:"权限:"},{default:n(()=>[v("div",Fe,[v("div",Le,[v("div",Ke,[o(be,{data:M.value,"node-key":"id","check-strictly":"","show-checkbox":"","highlight-current":"",ref_key:"tree",ref:c,"default-checked-keys":I.value,props:j,onCheck:ce,"default-expand-all":V.value},null,8,["data","default-checked-keys","default-expand-all"])])]),v("span",{class:"iconlist-btn",onClick:ae},K(V.value?"折叠":"展开"),1)])]),_:1})]),_:1},8,["model","label-position"])]),_:1},8,["modelValue","title"])])}}}),Qe=Se(He,[["__scopeId","data-v-d82666a6"]]);export{Qe as default}; diff --git a/backend/public/admin/system_static/index-Cegf9kSB.js b/backend/public/admin/system_static/index-Cegf9kSB.js new file mode 100644 index 000000000..90f43bcf3 --- /dev/null +++ b/backend/public/admin/system_static/index-Cegf9kSB.js @@ -0,0 +1 @@ +import{k as d,u as R,y as o,z as f,j as i,C as a,s as U,B as p,A as L,a0 as g,a1 as Z,H as C,$ as _,F as V,D as F,W as $e,l as v,Z as S,p as Ae}from"./element-plus-C_ZDq0cz.js";import{w as j,_ as Ne,S as ze,g as je,c as De}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function Ee(b){return j({url:"driver/pay_channel/list",method:"get",params:b})}function Oe(b){return j({url:`driver/pay_channel/${b}`,method:"get"})}function Re(b,w){return j({url:`driver/pay_channel/${b}`,method:"put",data:w})}function He(b,w){return j({url:`driver/pay_channel/set_status/${b}/${w}`,method:"put"})}const Te=["src"],Ge={class:"font-weight-bold"},We={key:0,class:"pictrue"},qe={key:2,class:"upLoad acea-row row-center-wrapper"},Ie={key:7,class:"form-tip"},Je={class:"drawer-footer"},Me=Object.assign({name:"PayChannelList"},{__name:"index",setup(b){const w=v(!1),H=v([]),P=v(!1),K=v("单选"),Q={xl:4,lg:8,md:8,sm:8,xs:8},X={xl:6,lg:8,md:12,sm:12,xs:12},T=v(null),B=v(!1),$=v(!1),A=v(!1),c=v({channel_name:"",icon:"",sort:0,status:0,enabled_platforms:"",config_fields:[]}),N=v([]),G=v([]),Y=v({channel_name:[{required:!0,message:"请输入支付名称",trigger:"blur"}]}),ee=ze.apiBaseURL+"/file/upload/1",le={"Authori-zation":"Bearer "+je("token")},W=[{value:"wechat_mini",label:"微信小程序"},{value:"wechat_mp",label:"微信公众号"},{value:"h5",label:"H5浏览器"},{value:"app",label:"APP"}];function q(l){return!l||typeof l!="string"?!1:/^(https?:)?\/\//i.test(l)||l.startsWith("/")||/\.(png|jpe?g|gif|webp|bmp|svg)(?:[?#].*)?$/i.test(l)}const I=Ae(()=>{const l={};return(c.value.config_fields||[]).forEach(u=>{const s=u.group||"其他";l[s]||(l[s]={name:s,fields:[]}),l[s].fields.push(u)}),Object.values(l)});J();function J(){w.value=!0,Ee().then(l=>{H.value=l.data,w.value=!1}).catch(()=>{w.value=!1})}function te(l){return l?l.split(",").map(e=>e.trim()):[]}function ae(l){return{wechat:"微信",alipay:"支付宝",allinpay:"通联",self:"自有"}[l]||l}function ne(l){return{wechat:"success",alipay:"primary",allinpay:"warning",self:"info"}[l]||""}function oe(l){const e=W.find(u=>u.value===l);return e?e.label:l}function ue(l){He(l.id,l.status).then(e=>{S.success(e.msg)}).catch(()=>{l.status=l.status===1?0:1})}function se(){P.value=!0}function ie(l){c.value.icon=l.att_dir,P.value=!1}function re(l){B.value=!0,$.value=!0,de(l.id)}function de(l){Oe(l).then(e=>{const u=e.data;c.value={id:u.id,channel_name:u.channel_name,icon:u.icon,sort:u.sort,status:u.status,enabled_platforms:u.enabled_platforms,config_fields:u.config_fields||[]},N.value=u.enabled_platforms?u.enabled_platforms.split(",").map(s=>s.trim()):[],G.value=u.supported_platforms?u.supported_platforms.split(",").map(s=>{const m=W.find(h=>h.value===s.trim());return{value:s.trim(),label:m?m.label:s.trim()}}):[],$.value=!1}).catch(e=>{$.value=!1,S.error(e.msg||"支付配置加载失败")})}function ce(){T.value.validate(l=>{if(!l)return;const e=c.value.id,u={...c.value,enabled_platforms:N.value.join(",")};A.value=!0,Re(e,u).then(s=>{S.success(s.msg),A.value=!1,B.value=!1,J()}).catch(()=>{A.value=!1})})}function pe(l,e){if(l.status===200){const s=(c.value.config_fields||[]).find(m=>m.field===e);s&&(s.value=l.data.src)}else S.error(l.msg||"上传失败")}function me(l){let e="上传失败";try{const u=JSON.parse((l==null?void 0:l.message)||"");u&&u.msg&&(e=u.msg)}catch{}S.error(e)}function fe(){S.warning("最多上传 1 个文件,请先删除已上传的文件")}function _e(l){const u=(c.value.config_fields||[]).find(s=>s.field===l);u&&(u.value="")}function ve(l){const u=(c.value.config_fields||[]).find(m=>m.field===l),s=u?u.value:"";if(s){const m=String(s);return[{name:m.split("/").pop(),url:m}]}return[]}function ge(l){if(!l.show_if)return!0;const{show_if:e}=l,u=e.field,m=(c.value.config_fields||[]).find(k=>k.field===u),h=m?m.value:"";return Array.isArray(e.values)?e.values.map(D=>String(D)).includes(String(h)):Object.prototype.hasOwnProperty.call(e,"value")?String(h)===String(e.value):String(h)==="1"}return(l,e)=>{const u=d("pages-header"),s=d("el-table-column"),m=d("el-tag"),h=d("el-switch"),k=d("el-button"),D=d("el-table"),he=d("el-card"),E=d("el-divider"),x=d("el-form-item"),z=d("el-input"),ye=d("el-input-number"),be=d("el-checkbox"),we=d("el-checkbox-group"),Ve=d("el-radio"),ke=d("el-radio-group"),xe=d("el-option"),Ue=d("el-select"),Ce=d("el-upload"),Fe=d("el-form"),Se=d("el-drawer"),Pe=d("el-dialog"),O=R("db-click"),M=R("loading"),Be=R("lazy");return o(),f("div",null,[i(u,{class:"mb16",title:l.$route.meta.title},null,8,["title"]),i(he,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:a(()=>[U((o(),p(D,{data:H.value,ref:"table","highlight-current-row":"","row-key":"id"},{default:a(()=>[i(s,{label:"排序",width:"80",prop:"sort"},{default:a(t=>[L("span",null,g(t.row.sort),1)]),_:1}),i(s,{label:"图标",width:"80"},{default:a(t=>[q(t.row.icon)?(o(),f("img",{key:0,src:t.row.icon,style:{width:"24px",height:"24px"}},null,8,Te)):t.row.icon?(o(),f("span",{key:1,class:Z(["iconfont",t.row.icon])},null,2)):C("",!0)]),_:1}),i(s,{label:"支付名称","min-width":"150"},{default:a(t=>[L("span",Ge,g(t.row.channel_name),1)]),_:1}),i(s,{label:"支付标识","min-width":"100"},{default:a(t=>[i(m,null,{default:a(()=>[_(g(t.row.channel_key),1)]),_:2},1024)]),_:1}),i(s,{label:"所属平台","min-width":"100"},{default:a(t=>[i(m,{type:ne(t.row.platform)},{default:a(()=>[_(g(ae(t.row.platform)),1)]),_:2},1032,["type"])]),_:1}),i(s,{label:"支持端","min-width":"200"},{default:a(t=>[(o(!0),f(V,null,F(te(t.row.supported_platforms),y=>(o(),p(m,{key:y,class:"mr5"},{default:a(()=>[_(g(oe(y)),1)]),_:2},1024))),128))]),_:1}),i(s,{label:"驱动状态",width:"100"},{default:a(t=>[t.row.platform==="self"?(o(),p(m,{key:0,type:"info"},{default:a(()=>[...e[7]||(e[7]=[_("自有",-1)])]),_:1})):(o(),p(m,{key:1,type:t.row.driver_status?"success":"danger"},{default:a(()=>[_(g(t.row.driver_status?"可用":"不可用"),1)]),_:2},1032,["type"]))]),_:1}),i(s,{label:"状态",width:"80"},{default:a(t=>[i(h,{"active-value":1,"inactive-value":0,modelValue:t.row.status,"onUpdate:modelValue":y=>t.row.status=y,onChange:y=>ue(t.row),"active-text":"开启","inactive-text":"关闭",class:"defineSwitch"},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),i(s,{label:"操作",fixed:"right",width:"150",align:"center"},{default:a(t=>[U((o(),p(k,{type:"text",onClick:y=>re(t.row)},{default:a(()=>[...e[8]||(e[8]=[_(" 设置 ",-1)])]),_:1},8,["onClick"])),[[O]])]),_:1})]),_:1},8,["data"])),[[M,w.value]])]),_:1}),i(Se,{modelValue:B.value,"onUpdate:modelValue":e[5]||(e[5]=t=>B.value=t),title:"设置支付方式",size:"50%",direction:"rtl"},{default:a(()=>[U((o(),p(Fe,{ref_key:"editFormRef",ref:T,model:c.value,rules:Y.value,"label-width":"100px"},{default:a(()=>[i(E,{"content-position":"left"},{default:a(()=>[...e[9]||(e[9]=[_("基本信息",-1)])]),_:1}),i(x,{label:"状态",prop:"status"},{default:a(()=>[i(h,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:c.value.status,"onUpdate:modelValue":e[0]||(e[0]=t=>c.value.status=t),"active-text":"开启","inactive-text":"关闭"},null,8,["modelValue"])]),_:1}),i(x,{label:"支付名称",prop:"channel_name"},{default:a(()=>[i(z,{modelValue:c.value.channel_name,"onUpdate:modelValue":e[1]||(e[1]=t=>c.value.channel_name=t),placeholder:"请输入支付名称"},null,8,["modelValue"])]),_:1}),i(x,{label:"支付图标",prop:"icon"},{default:a(()=>[U((o(),f("div",{class:"picBox",onClick:se},[q(c.value.icon)?(o(),f("div",We,[U(L("img",null,null,512),[[Be,c.value.icon]])])):c.value.icon?(o(),f("div",{key:1,class:Z(["pictrue payment-default-icon iconfont",c.value.icon])},null,2)):(o(),f("div",qe,[...e[10]||(e[10]=[L("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])]))])),[[O]])]),_:1}),i(x,{label:"排序",prop:"sort"},{default:a(()=>[i(ye,{modelValue:c.value.sort,"onUpdate:modelValue":e[2]||(e[2]=t=>c.value.sort=t),min:0,max:9999},null,8,["modelValue"])]),_:1}),i(E,{"content-position":"left"},{default:a(()=>[...e[11]||(e[11]=[_("端配置",-1)])]),_:1}),i(x,{label:"已开启端"},{default:a(()=>[i(we,{modelValue:N.value,"onUpdate:modelValue":e[3]||(e[3]=t=>N.value=t)},{default:a(()=>[(o(!0),f(V,null,F(G.value,t=>(o(),p(be,{key:t.value,label:t.value},{default:a(()=>[_(g(t.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1}),I.value.length>0?(o(!0),f(V,{key:0},F(I.value,(t,y)=>(o(),f(V,{key:"group-"+y},[i(E,{"content-position":"left"},{default:a(()=>[_(g(t.name),1)]),_:2},1024),(o(!0),f(V,null,F(t.fields,(n,Le)=>(o(),f(V,{key:"field-"+y+"-"+Le},[ge(n)?(o(),p(x,{key:0,label:n.label},{default:a(()=>[n.type==="switch"?(o(),p(h,{key:0,"active-value":"1","inactive-value":"0",modelValue:n.value,"onUpdate:modelValue":r=>n.value=r},null,8,["modelValue","onUpdate:modelValue"])):n.type==="text"?(o(),p(z,{key:1,modelValue:n.value,"onUpdate:modelValue":r=>n.value=r,placeholder:n.placeholder||"请输入"+n.label},null,8,["modelValue","onUpdate:modelValue","placeholder"])):n.type==="password"?(o(),p(z,{key:2,modelValue:n.value,"onUpdate:modelValue":r=>n.value=r,type:"password",placeholder:n.placeholder||"请输入"+n.label,"show-password":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):n.type==="textarea"?(o(),p(z,{key:3,modelValue:n.value,"onUpdate:modelValue":r=>n.value=r,type:"textarea",rows:3,placeholder:n.placeholder||"请输入"+n.label},null,8,["modelValue","onUpdate:modelValue","placeholder"])):n.type==="radio"?(o(),p(ke,{key:4,modelValue:n.value,"onUpdate:modelValue":r=>n.value=r},{default:a(()=>[(o(!0),f(V,null,F(n.options,r=>(o(),p(Ve,{key:r.value,label:r.value,value:r.value},{default:a(()=>[_(g(r.label),1)]),_:2},1032,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):n.type==="select"?(o(),p(Ue,{key:5,modelValue:n.value,"onUpdate:modelValue":r=>n.value=r,placeholder:"请选择"+n.label},{default:a(()=>[(o(!0),f(V,null,F(n.options,r=>(o(),p(xe,{key:r.value,label:r.label,value:r.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","placeholder"])):n.type==="upload"?(o(),p(Ce,{key:6,action:ee,headers:le,"on-success":r=>pe(r,n.field),"on-error":me,"on-exceed":fe,"on-remove":()=>_e(n.field),"file-list":ve(n.field),limit:1},{default:a(()=>[i(k,{type:"primary"},{default:a(()=>[...e[12]||(e[12]=[_("点击上传",-1)])]),_:1})]),_:1},8,["on-success","on-remove","file-list"])):C("",!0),n.tip?(o(),f("div",Ie,g(n.tip),1)):C("",!0)]),_:2},1032,["label"])):C("",!0)],64))),128))],64))),128)):C("",!0)]),_:1},8,["model","rules"])),[[M,$.value]]),L("div",Je,[U((o(),p(k,{type:"primary",onClick:ce,loading:A.value},{default:a(()=>[...e[13]||(e[13]=[_(" 保存 ",-1)])]),_:1},8,["loading"])),[[O]]),i(k,{onClick:e[4]||(e[4]=t=>B.value=!1)},{default:a(()=>[...e[14]||(e[14]=[_("取消",-1)])]),_:1})])]),_:1},8,["modelValue"]),i(Pe,{modelValue:P.value,"onUpdate:modelValue":e[6]||(e[6]=t=>P.value=t),title:"选择图片",width:"1024px","close-on-click-modal":!1},{default:a(()=>[P.value?(o(),p($e(De),{key:0,isChoice:K.value,onGetPic:ie,gridBtn:Q,gridPic:X},null,8,["isChoice"])):C("",!0)]),_:1},8,["modelValue"])])}}}),el=Ne(Me,[["__scopeId","data-v-88c934fe"]]);export{el as default}; diff --git a/backend/public/admin/system_static/index-CetprEls.css b/backend/public/admin/system_static/index-CetprEls.css new file mode 100644 index 000000000..c4eb66514 --- /dev/null +++ b/backend/public/admin/system_static/index-CetprEls.css @@ -0,0 +1 @@ +.tip[data-v-5d2e0911]{font-size:12px;color:#999;line-height:20px;-ms-flex-preferred-size:100%;flex-basis:100%;width:100%}.input-width[data-v-5d2e0911]{width:300px}.login-frame[data-v-5d2e0911]{width:100%;height:70vh;border:0;display:block} diff --git a/backend/public/admin/system_static/index-Cf6yyRFo.js b/backend/public/admin/system_static/index-Cf6yyRFo.js new file mode 100644 index 000000000..f85bb215c --- /dev/null +++ b/backend/public/admin/system_static/index-Cf6yyRFo.js @@ -0,0 +1 @@ +import{a as re,k as d,u as $,y as u,z as b,j as l,C as t,s as _,ac as ue,am as h,an as k,A as g,B as q,$ as T,W as me,H as de,a0 as F,l as f,r as ce,Z as C,p as se}from"./element-plus-C_ZDq0cz.js";import{_ as pe,c as ge,b7 as ve,aY as be,a_ as ye,a as we,b8 as he,b9 as ke,ba as Ve,m as xe}from"./index-DHL7RTL2.js";import{e as Ce}from"./app-hJ6HxRad.js";import{u as Se}from"./userLevel-t0L_1r_R.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./screenfull-BDHcr3-M.js";const Ue={class:"article-manager"},$e={key:0,class:"pictrue"},qe={key:1,class:"upLoad acea-row row-center-wrapper"},Ie={key:0,class:"pictrue"},Pe={key:1,class:"upLoad acea-row row-center-wrapper"},Ae={class:"dialog-footer"},Be=["src"],Le=Object.assign({name:"systemStore"},{__name:"index",emits:["success"],setup(_e,{expose:Y,emit:Z}){const j=Z,V=f(!1),I=f(!1),P=f(!1),O=f([]),R=f(""),a=ce({name:"",introduction:"",phone:"",address:[],address2:[],detailed_address:"",valid_time:[],day_time:["",""],latlng:"",id:0}),c=f(null),M={name:[{required:!0,message:"请输入门店名称",trigger:"blur"}],mail:[{required:!0,message:"Mailbox cannot be empty",trigger:"blur"},{type:"email",message:"Incorrect email format",trigger:"blur"}],address:[{required:!0,message:"请选择门店地址",type:"array",trigger:"change"}],valid_time:[{required:!0,type:"array",message:"请选择核销时效",trigger:"change",fields:{0:{type:"date",required:!0,message:"请选择年度范围"},1:{type:"date",required:!0,message:"请选择年度范围"}}}],day_time:[{required:!0,type:"array",message:"请选择门店营业时间",trigger:"change"}],phone:[{required:!0,validator:K,trigger:"blur"}],detailed_address:[{required:!0,message:"请输入详细地址",trigger:"blur"}],image:[{required:!0,validator:Q,trigger:"change"}],oblong_image:[{required:!0,validator:X,trigger:"change"}],latlng:[{required:!0,message:"请选择经纬度",trigger:"blur"}]},A=f(""),y={xl:20,lg:24,md:20,sm:24,xs:24},z={xl:6,lg:8,md:12,sm:12,xs:12},S={xl:4,lg:8,md:8,sm:8,xs:8},B=f(!1),J=f("单选");let D="";function K(s,e,o){if(e)o();else return o(new Error("请填写电话号码"))}function Q(s,e,o){a.image?o():o(new Error("请上传门店logo"))}function X(s,e,o){a.oblong_image?o():o(new Error("请上传门店大图"))}ee(),re(function(){window.addEventListener("message",function(s){var e=s.data;e&&e.module==="locationPicker"&&window.parent.selectAdderss(e)},!1),window.selectAdderss=L});function ee(){Ce().then(s=>{s.data.map(e=>{e.value=e.label,e.children&&e.children.length&&e.children.map(o=>{o.value=o.label,o.children&&o.children.length&&o.children.map(v=>{v.value=v.label})})}),O.value=s.data})}function p(){c.value.resetFields(),i()}function i(){a.introduction="",a.day_time=["",""],a.oblong_image="",a.id=0}function L(s){a.latlng=s.latlng.lat+","+s.latlng.lng,P.value=!1}function E(s){a.id=s,I.value=!0,ve(s).then(e=>{let o=e.data.info||null;Object.assign(a,o||{}),a.address=o.address2,a.day_time=o.day_time.split("-"),I.value=!1}).catch(function(e){I.value=!1,C.error(e.msg)})}function x(s,e){R.value=e=="oblong"?"门店大图":"门店LOGO",B.value=!0,D=e}function le(s){switch(D){case"logo":a.image=s.att_dir;break;case"oblong":a.oblong_image=s.att_dir;break}B.value=!1}function G(s){a.day_time=s}function H(){A.value?P.value=!0:be().then(async s=>{let e=s.data.key;A.value=`https://apis.map.qq.com/tools/locpicker?type=1&key=${e}&referer=myapp`,P.value=!0}).catch(s=>{C.error(s.msg)})}function te(s){c.value.validate(e=>{if(e)ye(a).then(async o=>{C.success(o.msg),V.value=!1,j("success"),c.value.resetFields(),i()}).catch(o=>{C.error(o.msg)});else return!1})}return Y({getInfo:E,isTemplate:V}),(s,e)=>{const o=d("el-input"),v=d("el-form-item"),m=d("el-col"),ae=d("el-cascader"),oe=d("el-time-picker"),U=d("el-button"),W=d("el-tooltip"),ne=d("el-row"),ie=d("el-form"),N=d("el-dialog"),n=$("lazy"),w=$("db-click"),fe=$("loading");return u(),b("div",null,[l(N,{modelValue:V.value,"onUpdate:modelValue":e[12]||(e[12]=r=>V.value=r),title:a.id?"编辑门店":"添加门店",width:"720px",onClosed:p,"append-to-body":""},{footer:t(()=>[g("span",Ae,[_((u(),q(U,{type:"primary",long:"",onClick:e[11]||(e[11]=r=>te("formItem"))},{default:t(()=>[T(F(a.id?"修改":"提交"),1)]),_:1})),[[w]])])]),default:t(()=>[_((u(),b("div",Ue,[l(ie,{ref_key:"formItemRef",ref:c,model:a,"label-width":"110px","label-position":"right",rules:M,onSubmit:e[9]||(e[9]=ue(()=>{},["prevent"]))},{default:t(()=>[l(ne,{gutter:24},{default:t(()=>[l(m,{span:24},{default:t(()=>[l(m,h(k(y)),{default:t(()=>[l(v,{label:"门店名称:",prop:"name","label-for":"name"},{default:t(()=>[l(o,{modelValue:a.name,"onUpdate:modelValue":e[0]||(e[0]=r=>a.name=r),placeholder:"请输入门店名称"},null,8,["modelValue"])]),_:1})]),_:1},16)]),_:1}),l(m,{span:24},{default:t(()=>[l(m,h(k(y)),{default:t(()=>[l(v,{label:"门店简介:","label-for":"introduction"},{default:t(()=>[l(o,{modelValue:a.introduction,"onUpdate:modelValue":e[1]||(e[1]=r=>a.introduction=r),placeholder:"请输入门店简介"},null,8,["modelValue"])]),_:1})]),_:1},16)]),_:1}),l(m,{span:24},{default:t(()=>[l(m,h(k(y)),{default:t(()=>[l(v,{label:"门店电话:","label-for":"phone",prop:"phone"},{default:t(()=>[l(o,{modelValue:a.phone,"onUpdate:modelValue":e[2]||(e[2]=r=>a.phone=r),placeholder:"请输入门店电话:"},null,8,["modelValue"])]),_:1})]),_:1},16)]),_:1}),l(m,{span:24},{default:t(()=>[l(m,h(k(y)),{default:t(()=>[l(v,{label:"门店地址:","label-for":"address",prop:"address"},{default:t(()=>[l(ae,{options:O.value,modelValue:a.address,"onUpdate:modelValue":e[3]||(e[3]=r=>a.address=r),style:{width:"100%"}},null,8,["options","modelValue"])]),_:1})]),_:1},16)]),_:1}),l(m,{span:24},{default:t(()=>[l(m,h(k(y)),{default:t(()=>[l(v,{label:"详细地址:","label-for":"detailed_address",prop:"detailed_address"},{default:t(()=>[l(o,{modelValue:a.detailed_address,"onUpdate:modelValue":e[4]||(e[4]=r=>a.detailed_address=r),placeholder:"请输入详细地址"},null,8,["modelValue"])]),_:1})]),_:1},16)]),_:1}),l(m,{span:24},{default:t(()=>[l(m,h(k(y)),{default:t(()=>[l(v,{label:"门店营业:","label-for":"day_time",prop:"day_time"},{default:t(()=>[l(oe,{"is-range":"",onChange:G,modelValue:a.day_time,"onUpdate:modelValue":e[5]||(e[5]=r=>a.day_time=r),format:"HH:mm:ss","value-format":"HH:mm:ss","range-separator":"-","start-placeholder":"开始时间","end-placeholder":"结束时间",placeholder:"选择时间范围",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1},16)]),_:1}),l(m,{span:24},{default:t(()=>[l(m,h(k(y)),{default:t(()=>[l(v,{label:"门店logo:",prop:"image"},{default:t(()=>[_((u(),b("div",{class:"picBox",onClick:e[6]||(e[6]=r=>x("单选","logo"))},[a.image?(u(),b("div",$e,[_(g("img",null,null,512),[[n,a.image]])])):(u(),b("div",qe,[...e[14]||(e[14]=[g("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])]))])),[[w]])]),_:1})]),_:1},16)]),_:1}),l(m,{span:24},{default:t(()=>[l(m,h(k(y)),{default:t(()=>[l(v,{label:"门店大图:",prop:"oblong_image"},{default:t(()=>[_((u(),b("div",{class:"picBox",onClick:e[7]||(e[7]=r=>x("单选","oblong"))},[a.oblong_image?(u(),b("div",Ie,[_(g("img",null,null,512),[[n,a.oblong_image]])])):(u(),b("div",Pe,[...e[15]||(e[15]=[g("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])]))])),[[w]])]),_:1})]),_:1},16)]),_:1}),l(m,{span:24},{default:t(()=>[l(m,h(k(y)),{default:t(()=>[l(v,{label:"经纬度:","label-for":"status2",prop:"latlng"},{default:t(()=>[l(W,null,{content:t(()=>[...e[17]||(e[17]=[g("div",null,"请点击查找位置选择位置",-1)])]),default:t(()=>[l(o,{modelValue:a.latlng,"onUpdate:modelValue":e[8]||(e[8]=r=>a.latlng=r),style:{width:"100%"},placeholder:"请查找位置"},{append:t(()=>[_((u(),q(U,{type:"primary",onClick:H},{default:t(()=>[...e[16]||(e[16]=[T("查找位置",-1)])]),_:1})),[[w]])]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1},16)]),_:1})]),_:1})]),_:1},8,["model"]),l(N,{modelValue:B.value,"onUpdate:modelValue":e[10]||(e[10]=r=>B.value=r),width:"1024px",title:R.value,"close-on-click-modal":!1,"append-to-body":""},{default:t(()=>[B.value?(u(),q(me(ge),{key:0,isChoice:J.value,onGetPic:le,gridBtn:S,gridPic:z},null,8,["isChoice"])):de("",!0)]),_:1},8,["modelValue","title"])])),[[fe,I.value]])]),_:1},8,["modelValue","title"]),l(N,{modelValue:P.value,"onUpdate:modelValue":e[13]||(e[13]=r=>P.value=r),title:"请选择地址","append-to-body":"","close-on-click-modal":!1,width:"720px",class:"mapBox"},{default:t(()=>[g("iframe",{id:"mapPage",width:"100%",height:"600px",frameborder:"0",src:A.value},null,8,Be)]),_:1},8,["modelValue"])])}}}),Te=pe(Le,[["__scopeId","data-v-dc6822bc"]]),ze={class:"padding-add"},Ee={key:0},Fe={class:"tabBox_img"},Me=["onClick"],De=["onClick"],He=["onClick"],Ne={class:"acea-row row-right page"},Oe=Object.assign({name:"setting_store"},{__name:"index",setup(_e){const Y=we();Se();const Z=f(null),j=f(null),V=f(null),I=se(()=>Y.isMobile),P=se(()=>I.value?void 0:"90px"),O=se(()=>I.value?"top":"right"),R={xl:10,lg:10,md:12,sm:24,xs:24},a=f({show:{name:"",num:0},hide:{name:"",num:0},recycle:{name:"",num:0}}),c=ce({page:1,limit:15,type:"0",keywords:""}),M=f(!1),A=f([]),y=f(0);function z(){he().then(p=>{a.value=p.data.count}).catch(p=>{C.error(p.msg)})}function S(){M.value=!0,ke(c).then(p=>{M.value=!1,A.value=p.data.list,y.value=p.data.count}).catch(p=>{C.error(p.msg)})}function B(){c.page=1,S()}function J(){c.page=1,c.keywords="",S()}function D(p,i,L){let E={title:i,url:`merchant/store/del/${p.id}`,method:"DELETE",ids:""};xe(E).then(x=>{C.success(x.msg),A.value.splice(L,1),z()}).catch(x=>{C.error(x.msg)})}function K(){V.value.isTemplate=!0}function Q(p,i){Ve(p,i).then(L=>{C.success(L.msg),S(),z()})}function X(p){V.value.isTemplate=!0,V.value.getInfo(p)}function ee(){S(),z()}return re(()=>{z(),S()}),(p,i)=>{const L=d("el-input"),E=d("el-form-item"),x=d("el-button"),le=d("el-form"),G=d("el-card"),H=d("el-tab-pane"),te=d("el-tabs"),s=d("el-col"),e=d("el-row"),o=d("el-table-column"),v=d("el-switch"),m=d("el-divider"),ae=d("el-table"),oe=d("pagination"),U=$("db-click"),W=$("auth"),ne=$("lazy"),ie=$("viewer"),N=$("loading");return u(),b("div",null,[l(G,{bordered:!1,shadow:"never",class:"ivu-mb-16","body-style":{padding:0}},{default:t(()=>[g("div",ze,[l(le,{ref_key:"artFromRef",ref:j,model:c,"label-width":P.value,"label-position":O.value,onSubmit:i[1]||(i[1]=ue(()=>{},["prevent"])),inline:""},{default:t(()=>[l(E,{label:"门店搜索:"},{default:t(()=>[l(L,{clearable:"",placeholder:"请输入门店名称,电话",modelValue:c.keywords,"onUpdate:modelValue":i[0]||(i[0]=n=>c.keywords=n),class:"form_content_width"},null,8,["modelValue"])]),_:1}),l(E,null,{default:t(()=>[_((u(),q(x,{type:"primary",onClick:B},{default:t(()=>[...i[5]||(i[5]=[T("查询",-1)])]),_:1})),[[U]])]),_:1})]),_:1},8,["model","label-width","label-position"])])]),_:1}),l(G,{bordered:!1,shadow:"never",class:"ivu-mt","body-style":{padding:"0 20px 20px"}},{default:t(()=>[a.value.show.name?(u(),b("div",Ee,[l(te,{modelValue:c.type,"onUpdate:modelValue":i[2]||(i[2]=n=>c.type=n),onTabChange:J},{default:t(()=>[l(H,{label:a.value.show.name+"("+a.value.show.num+")",name:"0"},null,8,["label"]),l(H,{label:a.value.hide.name+"("+a.value.hide.num+")",name:"1"},null,8,["label"]),l(H,{label:a.value.recycle.name+"("+a.value.recycle.num+")",name:"2"},null,8,["label"])]),_:1},8,["modelValue"])])):de("",!0),_((u(),q(e,null,{default:t(()=>[l(s,h(k(R)),{default:t(()=>[_((u(),q(x,{type:"primary",onClick:K},{default:t(()=>[...i[6]||(i[6]=[T("添加门店",-1)])]),_:1})),[[W,["setting-merchant-system_store-save"]],[U]])]),_:1},16)]),_:1})),[[W,["setting-merchant-system_store-save"]]]),_((u(),q(ae,{data:A.value,ref_key:"table",ref:Z,class:"mt14","highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:t(()=>[l(o,{label:"ID",width:"80"},{default:t(n=>[g("span",null,F(n.row.id),1)]),_:1}),l(o,{label:"门店图片","min-width":"90"},{default:t(n=>[_((u(),b("div",Fe,[_(g("img",null,null,512),[[ne,n.row.image]])])),[[ie]])]),_:1}),l(o,{label:"门店名称","min-width":"130"},{default:t(n=>[g("span",null,F(n.row.name),1)]),_:1}),l(o,{label:"门店电话","min-width":"130"},{default:t(n=>[g("span",null,F(n.row.phone),1)]),_:1}),l(o,{label:"地址","min-width":"130"},{default:t(n=>[g("span",null,F(n.row.detailed_address),1)]),_:1}),l(o,{label:"营业时间","min-width":"130"},{default:t(n=>[g("span",null,F(n.row.day_time),1)]),_:1}),l(o,{label:"是否显示","min-width":"130"},{default:t(n=>[l(v,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:n.row.is_show,"onUpdate:modelValue":w=>n.row.is_show=w,value:n.row.is_show,onChange:w=>Q(n.row.id,n.row.is_show),size:"large","active-text":"显示","inactive-text":"隐藏"},null,8,["modelValue","onUpdate:modelValue","value","onChange"])]),_:1}),l(o,{label:"操作",fixed:"right",width:"170"},{default:t(n=>[_((u(),b("a",{onClick:w=>X(n.row.id)},[...i[7]||(i[7]=[T("编辑",-1)])],8,Me)),[[U]]),l(m,{direction:"vertical"}),n.row.is_del==0?_((u(),b("a",{key:0,onClick:w=>D(n.row,"删除门店",n.$index)},[...i[8]||(i[8]=[T("删除",-1)])],8,De)),[[U]]):_((u(),b("a",{key:1,onClick:w=>D(n.row,"恢复门店",n.$index)},[...i[9]||(i[9]=[T("恢复",-1)])],8,He)),[[U]])]),_:1})]),_:1},8,["data"])),[[N,M.value]]),g("div",Ne,[y.value?(u(),q(oe,{key:0,total:y.value,page:c.page,"onUpdate:page":i[3]||(i[3]=n=>c.page=n),limit:c.limit,"onUpdate:limit":i[4]||(i[4]=n=>c.limit=n),onPagination:S},null,8,["total","page","limit"])):de("",!0)])]),_:1}),l(me(Te),{ref_key:"template",ref:V,onSuccess:ee},null,512)])}}}),Qe=pe(Oe,[["__scopeId","data-v-55bba783"]]);export{Qe as default}; diff --git a/backend/public/admin/system_static/index-CfS_ozPG.css b/backend/public/admin/system_static/index-CfS_ozPG.css new file mode 100644 index 000000000..286d4a447 --- /dev/null +++ b/backend/public/admin/system_static/index-CfS_ozPG.css @@ -0,0 +1 @@ +@charset "UTF-8";.conversation-panel[data-v-fffade3e]{display:-webkit-box;display:-ms-flexbox;display:flex;width:240px;-ms-flex-negative:0;flex-shrink:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:16px 12px;overflow-y:auto;background:#f7f8fa;border-right:1px solid #ebeef5}.panel-brand[data-v-fffade3e]{margin:0 8px 16px;color:#303133;font-size:17px;font-weight:700}.panel-nav[data-v-fffade3e]{margin-bottom:8px}.nav-item[data-v-fffade3e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:10px;margin-bottom:2px;padding:9px 10px;color:#303133;font-size:14px;cursor:pointer;border-radius:8px}.nav-item i[data-v-fffade3e]{color:#606266;font-size:16px}.nav-item[data-v-fffade3e]:hover{background:#ececec}.panel-section[data-v-fffade3e]{margin:12px 8px 6px;color:#909399;font-size:12px}.conversation-list[data-v-fffade3e]{-webkit-box-flex:1;-ms-flex:1;flex:1}.conversation-item[data-v-fffade3e]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:6px;padding:10px;cursor:pointer;border-radius:8px}.conversation-item[data-v-fffade3e]:hover,.conversation-item.active[data-v-fffade3e]{color:var(--prev-color-primary);background:#fff}.conversation-info[data-v-fffade3e]{display:-webkit-box;display:-ms-flexbox;display:flex;min-width:0;-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding-right:24px}.conversation-title[data-v-fffade3e]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-time[data-v-fffade3e]{margin-top:4px;color:#a8abb2;font-size:12px}.conversation-actions[data-v-fffade3e]{position:absolute;top:8px;right:8px;display:-webkit-box;display:-ms-flexbox;display:flex}.conversation-actions[data-v-fffade3e] .el-dropdown{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.action-icon[data-v-fffade3e]{color:#a8abb2;font-size:16px;cursor:pointer}.action-icon[data-v-fffade3e]:hover,.action-icon.pinned[data-v-fffade3e]{color:var(--prev-color-primary)}.action-icon.hoverOnly[data-v-fffade3e]{opacity:0}.conversation-item:hover .hoverOnly[data-v-fffade3e]{opacity:1}.conversation-empty[data-v-fffade3e]{color:#a8abb2;font-size:13px;text-align:center}.confirm-row[data-v-2b8f842e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-bottom:30px}.confirm-card[data-v-2b8f842e]{width:380px;padding:14px 16px;background:#f0f7ff;border:1px solid #d9ecff;border-radius:12px}.confirm-card .confirm-head[data-v-2b8f842e]{color:var(--prev-color-primary)}.confirm-card.approved .confirm-head[data-v-2b8f842e]{color:#67c23a}.confirm-card.rejected .confirm-head[data-v-2b8f842e],.confirm-card.expired .confirm-head[data-v-2b8f842e]{color:#909399}.confirm-card.rejected[data-v-2b8f842e],.confirm-card.expired[data-v-2b8f842e]{color:#909399;background:#f4f4f5;border-color:#e9e9eb}.confirm-card.rejected .ask-question[data-v-2b8f842e],.confirm-card.rejected .ask-label[data-v-2b8f842e],.confirm-card.expired .ask-question[data-v-2b8f842e],.confirm-card.expired .ask-label[data-v-2b8f842e]{color:#909399}.confirm-card.rejected .ask-option[data-v-2b8f842e],.confirm-card.expired .ask-option[data-v-2b8f842e]{cursor:default;border-color:#e9e9eb}.confirm-head[data-v-2b8f842e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:6px;font-size:13px;font-weight:600}.confirm-head .confirm-state[data-v-2b8f842e]{margin-left:auto;color:#909399;font-size:12px;font-weight:400}.confirm-head .confirm-state.ok[data-v-2b8f842e]{color:#67c23a}.ask-question[data-v-2b8f842e]{margin-top:10px;color:#303133;font-size:14px;font-weight:600;line-height:1.6;word-break:break-word}.ask-options[data-v-2b8f842e]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:8px}.ask-option[data-v-2b8f842e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;gap:8px;padding:8px 12px;font-size:13px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background:#fff;border:1px solid #e4e7ed;border-radius:8px;-webkit-transition:border-color .15s,background .15s;transition:border-color .15s,background .15s}.ask-option[data-v-2b8f842e]:hover{border-color:var(--prev-color-primary)}.ask-option.selected[data-v-2b8f842e]{color:var(--prev-color-primary);background:#f0f7ff;border-color:var(--prev-color-primary)}.ask-mark[data-v-2b8f842e]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0;width:16px;height:16px;margin-top:1px;color:#fff;font-size:11px;background:#fff;border:1px solid #c0c4cc}.ask-mark.single[data-v-2b8f842e]{border-radius:50%}.ask-mark.multi[data-v-2b8f842e]{border-radius:4px}.selected .ask-mark[data-v-2b8f842e]{color:#fff;background:var(--prev-color-primary);border-color:var(--prev-color-primary)}.ask-label[data-v-2b8f842e]{color:#303133;line-height:1.5;word-break:break-word}.ask-custom[data-v-2b8f842e]{margin-top:10px}.confirm-actions[data-v-2b8f842e]{display:-webkit-box;display:-ms-flexbox;display:flex;gap:10px;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin-top:12px}.confirm-btn[data-v-2b8f842e]{padding:5px 16px;font-size:12px;cursor:pointer;border-radius:14px;border:1px solid transparent}.confirm-btn.cancel[data-v-2b8f842e]{color:#606266;background:#fff;border-color:#dcdfe6}.confirm-btn.cancel[data-v-2b8f842e]:hover{color:#909399;border-color:#c0c4cc}.confirm-btn.ok[data-v-2b8f842e]{color:#fff;background:var(--prev-color-primary)}.confirm-btn.ok[data-v-2b8f842e]:hover:not(:disabled){opacity:.85}.confirm-btn.ok[data-v-2b8f842e]:disabled{cursor:not-allowed;background:#a0cfff}.confirm-row[data-v-ce0859ea]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-bottom:30px}.confirm-card[data-v-ce0859ea]{width:380px;padding:14px 16px;color:#303133;background:#fdf6ec;border:1px solid #faecd8;border-radius:12px}.confirm-card .confirm-head[data-v-ce0859ea]{color:#b88230}.confirm-card.approved[data-v-ce0859ea]{background:#f0f9eb;border-color:#e1f3d8}.confirm-card.approved .confirm-head[data-v-ce0859ea]{color:#67c23a}.confirm-card.rejected[data-v-ce0859ea],.confirm-card.expired[data-v-ce0859ea]{color:#909399;background:#f4f4f5;border-color:#e9e9eb}.confirm-card.rejected .confirm-head[data-v-ce0859ea],.confirm-card.expired .confirm-head[data-v-ce0859ea],.confirm-card.rejected .confirm-tool[data-v-ce0859ea],.confirm-card.rejected .confirm-args[data-v-ce0859ea],.confirm-card.expired .confirm-tool[data-v-ce0859ea],.confirm-card.expired .confirm-args[data-v-ce0859ea]{color:#909399}.confirm-card.rejected .confirm-preview[data-v-ce0859ea],.confirm-card.expired .confirm-preview[data-v-ce0859ea]{opacity:.6}.confirm-head[data-v-ce0859ea]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:6px;font-size:13px;font-weight:600}.confirm-head .confirm-state[data-v-ce0859ea]{margin-left:auto;color:#909399;font-size:12px;font-weight:400}.confirm-head .confirm-state.ok[data-v-ce0859ea]{color:#67c23a}.confirm-tool[data-v-ce0859ea]{margin-top:10px;color:#303133;font-size:13px;font-weight:600;word-break:break-all}.confirm-args[data-v-ce0859ea]{margin-top:8px;font-size:12px}.confirm-args .arg-row[data-v-ce0859ea]{padding:4px 0;line-height:1.5;word-break:break-all}.confirm-args .arg-key[data-v-ce0859ea]{color:#909399}.confirm-args .arg-toggle[data-v-ce0859ea]{margin-left:4px;color:var(--prev-color-primary);cursor:pointer;white-space:nowrap}.confirm-preview[data-v-ce0859ea]{margin-top:8px}.confirm-preview .preview-head[data-v-ce0859ea]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:4px;color:#909399;font-size:12px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.confirm-preview .preview-head[data-v-ce0859ea]:hover{color:#606266}.confirm-preview .preview-frame[data-v-ce0859ea]{width:100%;height:240px;margin-top:6px;background:#fff;border:1px solid #faecd8;border-radius:8px}.confirm-actions[data-v-ce0859ea]{display:-webkit-box;display:-ms-flexbox;display:flex;gap:10px;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin-top:12px}.confirm-btn[data-v-ce0859ea]{padding:5px 16px;font-size:12px;cursor:pointer;border-radius:14px;border:1px solid transparent}.confirm-btn.cancel[data-v-ce0859ea]{color:#606266;background:#fff;border-color:#dcdfe6}.confirm-btn.cancel[data-v-ce0859ea]:hover{color:#909399;border-color:#c0c4cc}.confirm-btn.ok[data-v-ce0859ea]{color:#fff;background:var(--prev-color-primary)}.confirm-btn.ok[data-v-ce0859ea]:hover:not(:disabled){opacity:.85}.confirm-btn.ok[data-v-ce0859ea]:disabled{cursor:not-allowed;background:#a0cfff}.chat-input[data-v-cb581231]{width:100%;max-width:900px;margin:0 auto;padding:0 32px}.input-topics[data-v-cb581231]{display:-webkit-box;display:-ms-flexbox;display:flex;gap:10px;margin:0 0 10px;-ms-flex-wrap:wrap;flex-wrap:wrap}.topic-tag[data-v-cb581231]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:6px;padding:7px 16px;color:#606266;font-size:13px;cursor:pointer;background:#fff;border:1px solid #e4e7ed;border-radius:999px;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.04);box-shadow:0 2px 8px #0000000a;-webkit-transition:color .15s,border-color .15s,background .15s;transition:color .15s,border-color .15s,background .15s}.topic-tag i[data-v-cb581231]{font-size:14px}.topic-tag[data-v-cb581231]:hover{color:var(--prev-color-primary);background:#f0f7ff;border-color:var(--prev-color-primary)}.input-card[data-v-cb581231]{margin:0 0 24px;border:1px solid #e4e7ed;border-radius:20px;-webkit-transition:border-color .2s;transition:border-color .2s}.input-card[data-v-cb581231]:focus-within{border-color:var(--prev-color-primary)}.input-card[data-v-cb581231] .el-textarea__inner{padding:16px 18px 0;color:#303133;font-size:14px;background:transparent;border:none;-webkit-box-shadow:none;box-shadow:none}.input-card-toolbar[data-v-cb581231]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:8px 14px 12px}.toolbar-left[data-v-cb581231]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:4px;-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:0;overflow:hidden}.toolbar-right[data-v-cb581231]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:10px}.panel-tip[data-v-cb581231]{padding:2px 10px 8px;color:#909399;font-size:12px}.model-trigger[data-v-cb581231]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:6px;max-width:220px;padding:6px 10px;color:#303133;font-size:13px;cursor:pointer;background:transparent;border:none;border-radius:8px}.model-trigger[data-v-cb581231]:hover{color:var(--prev-color-primary);background:#f2f3f5}.model-trigger span[data-v-cb581231]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.send-btn[data-v-cb581231]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:34px;height:34px;color:#fff;font-size:17px;cursor:pointer;background:var(--prev-color-primary);border:none;border-radius:50%;-webkit-transition:opacity .2s;transition:opacity .2s}.send-btn[data-v-cb581231]:hover:not(:disabled){opacity:.85}.send-btn[data-v-cb581231]:disabled{color:#a8abb2;cursor:not-allowed;background:#e9e9eb}.send-btn.stop[data-v-cb581231]{cursor:pointer;background:#f56c6c}.send-btn.stop[data-v-cb581231]:hover{opacity:.85}.model-panel[data-v-cb581231]{max-height:320px;overflow-y:auto}.model-item[data-v-cb581231]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:9px 10px;cursor:pointer;border-radius:6px}.model-item[data-v-cb581231]:hover{background:#f5f7fa}.model-item.active[data-v-cb581231]{color:var(--prev-color-primary);background:#f0f7ff}.model-item.active i[data-v-cb581231]{color:var(--prev-color-primary)}.model-item .el-icon-check[data-v-cb581231]{font-weight:600}.model-name[data-v-cb581231]{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.model-manage[data-v-cb581231]{color:#606266;border-top:1px solid #ebeef5;border-radius:0}.model-manage[data-v-cb581231]:hover{color:var(--prev-color-primary)}.mcp-page .mt16[data-v-93a472f0]{margin-top:0}.mt16[data-v-93a472f0]{margin-top:16px}.mono[data-v-93a472f0]{font-family:Menlo,Consolas,monospace;font-size:12px}.muted[data-v-93a472f0]{color:#909399;font-size:12px}.danger[data-v-93a472f0]{color:#f56c6c}.mcp-hero[data-v-93a472f0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:4px 0 20px}.mcp-hero-icon[data-v-93a472f0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:44px;height:44px;margin-right:14px;border-radius:10px;background:#f2f3f5;color:#303133;font-size:22px}.mcp-hero-main[data-v-93a472f0]{-webkit-box-flex:1;-ms-flex:1;flex:1}.mcp-hero-title[data-v-93a472f0]{color:#1d2129;font-size:17px;font-weight:600}.mcp-hero-sub[data-v-93a472f0]{margin-top:4px;color:#86909c;font-size:13px}.mcp-toolbar[data-v-93a472f0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:14px}.mcp-search[data-v-93a472f0]{width:100%}.mcp-section[data-v-93a472f0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:12px}.mcp-section-title[data-v-93a472f0]{color:#1d2129;font-size:15px;font-weight:600}.mcp-count-badge[data-v-93a472f0]{margin-left:8px;padding:1px 9px;border-radius:10px;background:#f2f3f5;color:#4e5969;font-size:12px}.mcp-enabled-count[data-v-93a472f0]{margin-left:auto;color:#86909c;font-size:13px}.mcp-list[data-v-93a472f0]{min-height:80px}.mcp-card[data-v-93a472f0]{margin-bottom:12px;border:1px solid #f0f1f3;border-radius:12px;background:#fff;-webkit-transition:-webkit-box-shadow .2s;transition:-webkit-box-shadow .2s;transition:box-shadow .2s;transition:box-shadow .2s,-webkit-box-shadow .2s}.mcp-card[data-v-93a472f0]:hover{-webkit-box-shadow:0 2px 12px rgba(0,0,0,.06);box-shadow:0 2px 12px #0000000f}.mcp-card.is-expanded[data-v-93a472f0]{border-color:#e5e6eb}.mcp-card-head[data-v-93a472f0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:14px 16px}.mcp-chevron[data-v-93a472f0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:22px;height:22px;margin-right:6px;border-radius:4px;color:#86909c;font-size:12px;cursor:pointer}.mcp-chevron[data-v-93a472f0]:hover{background:#f2f3f5}.mcp-avatar[data-v-93a472f0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0;width:36px;height:36px;margin-right:12px;border-radius:10px;color:#fff;font-size:16px;font-weight:600}.mcp-meta[data-v-93a472f0]{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:0}.mcp-name[data-v-93a472f0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mcp-name-text[data-v-93a472f0]{color:#1d2129;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mcp-dot[data-v-93a472f0]{-ms-flex-negative:0;flex-shrink:0;width:8px;height:8px;margin-left:8px;border-radius:50%}.mcp-dot.is-on[data-v-93a472f0]{background:#00b42a}.mcp-dot.is-pending[data-v-93a472f0]{background:#ff7d00}.mcp-dot.is-off[data-v-93a472f0]{background:#c9cdd4}.mcp-sub[data-v-93a472f0]{margin-top:3px;color:#86909c;font-size:12px}.mcp-actions[data-v-93a472f0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0}.mcp-action-icon[data-v-93a472f0]{margin-left:18px;color:#4e5969;font-size:16px;cursor:pointer}.mcp-action-icon[data-v-93a472f0]:hover{color:#1d2129}.mcp-action-icon.danger[data-v-93a472f0]:hover{color:#f56c6c}.mcp-action-icon.is-loading[data-v-93a472f0]{-webkit-animation:mcp-spin-93a472f0 1s linear infinite;animation:mcp-spin-93a472f0 1s linear infinite;pointer-events:none;opacity:.6}.mcp-switch[data-v-93a472f0]{margin-left:18px}@-webkit-keyframes mcp-spin-93a472f0{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes mcp-spin-93a472f0{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.mcp-card-body[data-v-93a472f0]{padding:0 16px 16px 76px}.mcp-url[data-v-93a472f0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:10px;margin-bottom:12px}.mcp-url .mcp-url-text[data-v-93a472f0]{color:#4e5969;word-break:break-all}.mcp-no-tools[data-v-93a472f0]{font-size:13px}.mcp-tools[data-v-93a472f0]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px}.tool-chip[data-v-93a472f0]{padding:5px 12px;border-radius:8px;background:#f2f3f5;color:#1d2129;font-size:12px;cursor:default;-webkit-transition:background .15s;transition:background .15s}.tool-chip[data-v-93a472f0]:hover{background:#e5e6eb}.mcp-empty[data-v-93a472f0]{padding:40px 0;color:#86909c;font-size:13px;text-align:center}.dialog-tip[data-v-93a472f0]{margin-bottom:10px;color:#909399;font-size:13px;line-height:1.6}.json-input[data-v-93a472f0] textarea{font-family:Menlo,Consolas,monospace;font-size:12px;line-height:1.7}.ai-status[data-v-22c0416b]{margin-top:12px;font-size:12px}.ai-status .ai-status-text[data-v-22c0416b]{color:var(--prev-color-primary)}.ai-status .ai-status-error[data-v-22c0416b]{color:#f56c6c}.ai-status .ai-status-tip[data-v-22c0416b]{color:#999}.ai-preview[data-v-22c0416b]{margin-top:12px;max-height:400px;overflow-y:auto;padding:12px 16px;border:1px solid #e5e5e5;border-radius:4px;background:#fafafa;font-size:14px;line-height:1.7}.ai-preview[data-v-22c0416b] h2,.ai-preview[data-v-22c0416b] h3,.ai-preview[data-v-22c0416b] h4,.ai-preview[data-v-22c0416b] h5,.ai-preview[data-v-22c0416b] h6{margin:10px 0 6px}.ai-preview[data-v-22c0416b] p{margin:6px 0}.ai-preview[data-v-22c0416b] ul,.ai-preview[data-v-22c0416b] ol{margin:6px 0;padding-left:20px}.ai-preview[data-v-22c0416b] blockquote{margin:6px 0;padding:4px 10px;border-left:3px solid #ccc;color:#666}.ai-preview[data-v-22c0416b] code{background:#f1f1f1;padding:1px 4px;border-radius:3px}.ai-preview[data-v-22c0416b] hr{border:none;border-top:1px solid #ddd}.skill-manage .mt16[data-v-54bc7dc8]{margin-top:0}.mt16[data-v-54bc7dc8]{margin-top:16px}.toolbar[data-v-54bc7dc8]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:20px}.toolbar-title[data-v-54bc7dc8]{color:#303133;font-size:18px;font-weight:600}.toolbar-tip[data-v-54bc7dc8],.muted[data-v-54bc7dc8]{margin-top:6px;color:#909399;font-size:13px}.skill-name[data-v-54bc7dc8]{color:#303133;font-weight:600}.mono[data-v-54bc7dc8]{font-family:Menlo,Consolas,monospace;font-size:12px}.table-link[data-v-54bc7dc8]{display:inline-block;margin-right:14px;color:var(--prev-color-primary);font-size:13px;cursor:pointer}.table-link[data-v-54bc7dc8]:last-child{margin-right:0}.table-link[data-v-54bc7dc8]:hover{opacity:.8}.table-link.danger[data-v-54bc7dc8],.danger[data-v-54bc7dc8]{color:#f56c6c}.content-editor[data-v-54bc7dc8] .el-textarea__inner{height:max(100vh - 310px,520px);resize:vertical;font-family:Menlo,Consolas,monospace;font-size:13px;line-height:1.7}.drawer-body[data-v-54bc7dc8]{padding:0 24px 10px}.ai-inline-tip[data-v-54bc7dc8]{margin-left:10px;color:#909399;font-size:12px}.mt16[data-v-725528bc]{margin-top:0}.mono[data-v-725528bc]{font-family:Menlo,Consolas,monospace;font-size:12px}.muted[data-v-725528bc]{color:#909399;font-size:12px}.danger[data-v-725528bc]{color:#f56c6c}.task-hero[data-v-725528bc]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:4px 0 20px}.task-hero-icon[data-v-725528bc]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:44px;height:44px;margin-right:14px;border-radius:10px;background:#f2f3f5;color:#303133;font-size:22px}.task-hero-main[data-v-725528bc]{-webkit-box-flex:1;-ms-flex:1;flex:1}.task-hero-title[data-v-725528bc]{color:#1d2129;font-size:17px;font-weight:600}.task-hero-sub[data-v-725528bc]{margin-top:4px;color:#86909c;font-size:13px}.task-section[data-v-725528bc]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:12px}.task-section-title[data-v-725528bc]{color:#1d2129;font-size:15px;font-weight:600}.task-count-badge[data-v-725528bc]{margin-left:8px;padding:1px 9px;border-radius:10px;background:#f2f3f5;color:#4e5969;font-size:12px}.task-enabled-count[data-v-725528bc]{margin-left:auto;color:#86909c;font-size:13px}.task-list[data-v-725528bc]{min-height:80px}.task-card[data-v-725528bc]{margin-bottom:12px;border:1px solid #f0f1f3;border-radius:12px;background:#fff;-webkit-transition:-webkit-box-shadow .2s;transition:-webkit-box-shadow .2s;transition:box-shadow .2s;transition:box-shadow .2s,-webkit-box-shadow .2s}.task-card[data-v-725528bc]:hover{-webkit-box-shadow:0 2px 12px rgba(0,0,0,.06);box-shadow:0 2px 12px #0000000f}.task-card-head[data-v-725528bc]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:14px 16px}.task-avatar[data-v-725528bc]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0;width:36px;height:36px;margin-right:12px;border-radius:10px;color:#fff;font-size:16px;font-weight:600}.task-meta[data-v-725528bc]{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:0}.task-name[data-v-725528bc]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.task-name-text[data-v-725528bc]{color:#1d2129;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-tag[data-v-725528bc]{margin-left:8px}.task-sub[data-v-725528bc]{margin-top:3px;color:#86909c;font-size:12px}.task-actions[data-v-725528bc]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0}.task-action-icon[data-v-725528bc]{margin-left:18px;color:#4e5969;font-size:16px;cursor:pointer}.task-action-icon[data-v-725528bc]:hover{color:#1d2129}.task-action-icon.danger[data-v-725528bc]:hover{color:#f56c6c}.task-action-icon.is-loading[data-v-725528bc]{-webkit-animation:task-spin-725528bc 1s linear infinite;animation:task-spin-725528bc 1s linear infinite;pointer-events:none;opacity:.6}.task-switch[data-v-725528bc]{margin-left:18px}.task-test-btn[data-v-725528bc]{margin-left:18px;font-weight:600}@-webkit-keyframes task-spin-725528bc{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes task-spin-725528bc{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.task-card-body[data-v-725528bc]{padding:0 16px 14px 64px}.task-instruction[data-v-725528bc]{display:-webkit-box;overflow:hidden;color:#4e5969;font-size:13px;line-height:1.6;-webkit-box-orient:vertical;-webkit-line-clamp:2}.task-channel-row[data-v-725528bc]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:8px;margin-top:8px}.channel-tag[data-v-725528bc]{-ms-flex-negative:0;flex-shrink:0}.task-empty[data-v-725528bc]{padding:40px 0;color:#86909c;font-size:13px;text-align:center}.editor-tip[data-v-725528bc]{margin-bottom:14px}.task-form .schedule-input[data-v-725528bc]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:8px;width:100%;margin-top:8px}.task-form .schedule-input .schedule-field[data-v-725528bc]{width:180px}.task-form .schedule-input .schedule-day-field[data-v-725528bc]{width:90px}.task-form .schedule-input .schedule-month-field[data-v-725528bc]{width:120px}.task-form .task-field[data-v-725528bc]{width:100%}.task-form .email-field[data-v-725528bc]{margin-top:8px}.task-form .autonomy-tip[data-v-725528bc]{width:100%;margin-top:4px;line-height:1.6}.task-form .advanced-row[data-v-725528bc]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:10px}.task-form .advanced-row .advanced-field[data-v-725528bc]{width:110px}.run-detail-dialog[data-v-725528bc] .el-dialog__body{padding-top:10px}.run-detail-head[data-v-725528bc]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:12px;margin-bottom:10px}.run-detail-error[data-v-725528bc]{margin-bottom:10px;padding:8px 12px;border-radius:8px;background:#fef0f0;color:#f56c6c;font-size:13px;word-break:break-all}.run-messages[data-v-725528bc]{max-height:55vh;overflow-y:auto;padding:4px}.msg-row[data-v-725528bc]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:14px}.msg-row.user[data-v-725528bc]{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.msg-bubble.user[data-v-725528bc]{max-width:78%;padding:10px 14px;border-radius:10px 2px 10px 10px;background:#f2f3f5;color:#1d2129;font-size:13px;line-height:1.7;white-space:pre-wrap;word-break:break-word}.msg-content[data-v-725528bc]{width:100%;padding:10px 12px;border:1px solid #f0f1f3;border-radius:2px 10px 10px;background:#fafbfc;font-size:13px;line-height:1.7;word-break:break-word}.msg-tool[data-v-725528bc]{margin-bottom:14px;padding:8px 12px;border-radius:8px;background:#f7f8fa}.msg-tool .tool-line[data-v-725528bc]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:6px;color:#4e5969;font-size:12px;font-weight:600}.msg-tool .tool-result[data-v-725528bc]{margin-top:6px;color:#86909c;line-height:1.6;word-break:break-all;white-space:pre-wrap}.cell-ellipsis[data-v-725528bc]{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cell-error[data-v-725528bc]{color:#f56c6c}.aiagent-page[data-v-828103b2]{padding-bottom:20px}.chat-layout[data-v-828103b2]{display:-webkit-box;display:-ms-flexbox;display:flex;height:calc(100vh - 110px);min-height:480px;margin-top:0;overflow:hidden;border:1px solid #ebeef5;border-radius:12px}.chat-main[data-v-828103b2]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background:#fff}.manage-overlay[data-v-828103b2]{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:hidden;background:#fff}.manage-header[data-v-828103b2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:14px;padding:12px 20px;border-bottom:1px solid #ebeef5}.manage-back[data-v-828103b2]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:4px;padding:6px 12px;color:#606266;font-size:13px;cursor:pointer;background:#f4f4f5;border:none;border-radius:16px}.manage-back[data-v-828103b2]:hover{color:var(--prev-color-primary);background:#e9e9eb}.manage-title[data-v-828103b2]{color:#303133;font-size:15px;font-weight:600}.manage-body[data-v-828103b2]{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:0 20px 20px;overflow-y:auto}.message-list[data-v-828103b2]{-webkit-box-flex:1;-ms-flex:1;flex:1;width:100%;max-width:900px;margin:0 auto;padding:24px 32px;overflow-y:auto}.empty-chat[data-v-828103b2]{margin-top:22vh;text-align:center}.empty-title[data-v-828103b2]{color:#303133;font-size:22px;font-weight:600}.empty-tip[data-v-828103b2]{margin-top:10px;color:#a8abb2;font-size:13px}.user-row[data-v-828103b2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin-bottom:26px}.user-msg[data-v-828103b2]{display:-webkit-box;display:-ms-flexbox;display:flex;max-width:68%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.user-bubble[data-v-828103b2]{padding:12px 18px;color:#303133;line-height:1.65;white-space:pre-wrap;word-break:break-word;background:#f2f3f5;border-radius:18px}.user-actions[data-v-828103b2]{display:-webkit-box;display:-ms-flexbox;display:flex;gap:14px;margin-top:6px;padding-right:6px;color:#a8abb2;font-size:14px;opacity:0;-webkit-transition:opacity .15s;transition:opacity .15s}.user-actions i[data-v-828103b2]{cursor:pointer}.user-actions i[data-v-828103b2]:hover{color:var(--prev-color-primary)}.user-row:hover .user-actions[data-v-828103b2]{opacity:1}.assistant-row[data-v-828103b2]{margin-bottom:30px}.reasoning-block[data-v-828103b2]{margin-bottom:12px}.reasoning-toggle[data-v-828103b2]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:2px;color:#9aa0a8;font-size:13px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.reasoning-toggle i[data-v-828103b2]{font-size:12px}.reasoning-toggle[data-v-828103b2]:hover{color:#606266}.reasoning-content[data-v-828103b2]{margin-top:6px;padding:4px 0 4px 16px;color:#9aa0a8;font-size:13px;line-height:1.9;white-space:pre-wrap;word-break:break-word;border-left:3px solid #e3e5e8}.skill-trace[data-v-828103b2]{display:-webkit-box;display:-ms-flexbox;display:flex;gap:6px;margin-top:10px;-ms-flex-wrap:wrap;flex-wrap:wrap}.trace-tag[data-v-828103b2]{display:inline-block;height:20px;line-height:18px;padding:0 6px;font-size:12px;color:#909399;background:#f7f8fa;border:1px solid #e9e9eb;border-radius:4px;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.assistant-content[data-v-828103b2]{color:#303133;font-size:14px;line-height:1.75;word-break:break-word}.assistant-content[data-v-828103b2] p{margin:0 0 12px}.assistant-content[data-v-828103b2] p:last-child{margin-bottom:0}.assistant-content[data-v-828103b2] h1,.assistant-content[data-v-828103b2] h2,.assistant-content[data-v-828103b2] h3,.assistant-content[data-v-828103b2] h4,.assistant-content[data-v-828103b2] h5,.assistant-content[data-v-828103b2] h6{margin:20px 0 10px;color:#1f2937;line-height:1.4}.assistant-content[data-v-828103b2] hr{height:0;margin:16px 0;border:0;border-top:1px solid #e4e7ed}.assistant-content[data-v-828103b2] ul,.assistant-content[data-v-828103b2] ol{margin:0 0 12px;padding-left:24px}.assistant-content[data-v-828103b2] blockquote{margin:12px 0;padding:4px 12px;color:#606266;border-left:3px solid #dcdfe6}.assistant-content[data-v-828103b2] pre{margin:12px 0;padding:12px;overflow-x:auto;color:#303133;white-space:pre-wrap;background:#f5f7fa;border-radius:6px}.assistant-content[data-v-828103b2] code{padding:2px 4px;font-family:Consolas,Monaco,monospace;font-size:.9em;background:#f5f7fa;border-radius:3px}.assistant-content[data-v-828103b2] pre code{padding:0;background:transparent}.assistant-content[data-v-828103b2] table{width:100%;margin:12px 0;border-collapse:collapse}.assistant-content[data-v-828103b2] th,.assistant-content[data-v-828103b2] td{padding:8px 10px;text-align:left;border:1px solid #ebeef5}.assistant-content[data-v-828103b2] th{background:#f5f7fa}.assistant-content[data-v-828103b2] a{color:var(--prev-color-primary)}.assistant-content.typing[data-v-828103b2]{color:#909399}.followups[data-v-828103b2]{display:-webkit-box;display:-ms-flexbox;display:flex;gap:8px;margin-top:14px;-ms-flex-wrap:wrap;flex-wrap:wrap}.followup-tag[data-v-828103b2]{padding:6px 14px;color:#606266;font-size:13px;line-height:1.5;text-align:left;cursor:pointer;word-break:break-all;background:#f7f8fa;border:1px solid #e4e7ed;border-radius:999px;-webkit-transition:color .15s,border-color .15s,background .15s;transition:color .15s,border-color .15s,background .15s}.followup-tag[data-v-828103b2]:hover:not(:disabled){color:var(--prev-color-primary);background:#f0f7ff;border-color:var(--prev-color-primary)}.followup-tag[data-v-828103b2]:disabled{color:#c0c4cc;cursor:not-allowed}.assistant-actions[data-v-828103b2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:14px;margin-top:12px;color:#a8abb2;font-size:14px}.action-icon[data-v-828103b2]{cursor:pointer;-webkit-transition:color .15s;transition:color .15s}.action-icon[data-v-828103b2]:hover{color:var(--prev-color-primary)}.action-time[data-v-828103b2]{font-size:12px;color:#c0c4cc} diff --git a/backend/public/admin/system_static/index-CgSOmRtP.js b/backend/public/admin/system_static/index-CgSOmRtP.js new file mode 100644 index 000000000..d070b698f --- /dev/null +++ b/backend/public/admin/system_static/index-CgSOmRtP.js @@ -0,0 +1 @@ +import{Z as c,k as d,u as T,y as v,z,A as t,a0 as N,s as P,B as U,C as m,$ as W,am as $,an as j,j as r,ac as H,W as I,a2 as O,l as o,p as u,r as Z}from"./element-plus-C_ZDq0cz.js";import{W as q}from"./index-Beo5Mkpq.js";import{_ as G,a as J,S as K}from"./index-DHL7RTL2.js";import{b as Q}from"./index-C2Zmd2Xm.js";import{i as X,s as Y}from"./system-C_6vcZAB.js";import"./form-create-7SMPLzS9.js";import{l as ee}from"./index-CIbY4f6Z.js";import{u as te}from"./layout-BstPWRqw.js";import"./wangeditor-D-KRDJ3T.js";import"./registerMenus-BIn2m7Us.js";import"./monaco-editor-uXAv8CL-.js";import"./vxe-CHB4XD1z.js";import"./marketing-BAfn8OEa.js";import"./cms-BakSzEoF.js";const se={class:"i-layout-page-header header-title"},oe={class:"ivu-page-header-title mr20"},ae={style:{float:"right"}},le={class:"box-wrapper"},ne={class:"iframe",bordered:!1},ie={class:"agreement-box"},re={class:"htmls_box"},ce=["innerHTML"],de={style:{"margin-left":"40px"}},me={class:"table_box"},ue=Object.assign({name:"list"},{__name:"index",setup(ve){const p=J();te();const f=o(null),_=o(null),l=o({content:""}),g=Z({}),b=o(1),k=o(0),n=o(0),a=o(""),i=o(""),h={xl:7,lg:7,md:12,sm:24,xs:24},y=o(!1);K.apiBaseURL.replace(/adminapi/,"");const x=o(0),C=u(()=>({"--color-theme":a.value})),E=u(()=>p.isMobile),S=u(()=>E.value?"top":"right");V(),b.value=1,k.value=0,L();function w(s){tabList.list[x.value].link=s}function M(s){i.value=s}function V(){Q("color_change").then(s=>{switch(s.data.status){case 1:a.value="#3875EA",n.value=1;break;case 2:a.value="#00C050",n.value=2;break;case 3:a.value="#E93323",n.value=3;break;case 4:a.value="#FF448F",n.value=4;break;case 5:a.value="#FE5C2D",n.value=5;break}})}function B(s){l.value.content=i.value,Y(l.value).then(async e=>{c.success(e.msg)}).catch(e=>{c.error(e.msg)})}function L(){X().then(async s=>{let e=s.data;l.value={content:e.content},i.value=e.content}).catch(s=>{y.value=!1,c.error(s.msg)})}return(s,e)=>{const A=d("el-button"),D=d("el-form-item"),F=d("el-form"),R=T("db-click");return v(),z("div",{style:O(C.value)},[t("div",se,[t("span",oe,N(s.$route.meta.title),1),t("div",ae,[P((v(),U(A,{class:"bnt",type:"primary",onClick:e[0]||(e[0]=pe=>B())},{default:m(()=>[...e[2]||(e[2]=[W("保存",-1)])]),_:1})),[[R]])])]),t("div",le,[t("div",ne,[t("div",ie,[e[5]||(e[5]=t("div",{class:"template"},null,-1)),t("div",re,[e[3]||(e[3]=t("div",{class:"htmls_top"},"服务协议与隐私政策",-1)),e[4]||(e[4]=t("div",{class:"htmls_font"},[t("div",{class:"ok"},"我同意"),t("div",null,"不同意")],-1)),t("div",{class:"htmls",innerHTML:i.value},null,8,ce)])])]),t("div",de,[t("div",me,[t("div",null,[t("div",$(j(h)),[...e[6]||(e[6]=[t("div",{class:"title"},"隐私权限页面展示:",-1)])],16)]),t("div",null,[r(F,{class:"form",ref_key:"formValidateRef",ref:f,model:l.value,rules:g,"label-position":S.value,onSubmit:e[1]||(e[1]=H(()=>{},["prevent"]))},{default:m(()=>[e[7]||(e[7]=t("div",{class:"goodsTitle acea-row"},null,-1)),r(D,{label:"",style:{margin:"0px"}},{default:m(()=>[r(q,{style:{width:"90%"},content:l.value.content,onEditorContent:M},null,8,["content"])]),_:1})]),_:1},8,["model","rules","label-position"])])])])]),r(I(ee),{ref_key:"linkaddres",ref:_,onLinkUrl:w},null,512)],4)}}}),Be=G(ue,[["__scopeId","data-v-1dd526fc"]]);export{Be as default}; diff --git a/backend/public/admin/system_static/index-CikBKh7E.js b/backend/public/admin/system_static/index-CikBKh7E.js new file mode 100644 index 000000000..a4d1923f2 --- /dev/null +++ b/backend/public/admin/system_static/index-CikBKh7E.js @@ -0,0 +1,7 @@ +import{y as O,z as I,s as M,ab as A,A as f,a2 as k,H as N,a1 as F,a0 as B,d as j,k as Y,u as R,j as y,W as U,B as S,C as b,$ as L,l as _,r as P,Z as E,a as q}from"./element-plus-C_ZDq0cz.js";import{_ as G}from"./f-MniSWpLh.js";import{updtaeAdmin as Q}from"./user-Blgc2iHx.js";import{_ as V,f as Z,u as J,a as K}from"./index-DHL7RTL2.js";import{u as ee}from"./userLevel-t0L_1r_R.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./screenfull-BDHcr3-M.js";const D={};D.getData=e=>new Promise((t,s)=>{let i={};te(e).then(r=>{i.arrayBuffer=r;try{i.orientation=re(r)}catch{i.orientation=-1}t(i)}).catch(r=>{s(r)})});function te(e){let t=null;return new Promise((s,i)=>{if(e.src)if(/^data\:/i.test(e.src))t=ie(e.src),s(t);else if(/^blob\:/i.test(e.src)){var r=new FileReader;r.onload=function(h){t=h.target.result,s(t)},se(e.src,function(h){r.readAsArrayBuffer(h)})}else{var o=new XMLHttpRequest;o.onload=function(){if(this.status==200||this.status===0)t=o.response,s(t);else throw"Could not load image";o=null},o.open("GET",e.src,!0),o.responseType="arraybuffer",o.send(null)}else i("img error")})}function se(e,t){var s=new XMLHttpRequest;s.open("GET",e,!0),s.responseType="blob",s.onload=function(i){(this.status==200||this.status===0)&&t(this.response)},s.send()}function ie(e,t){t=t||e.match(/^data\:([^\;]+)\;base64,/mi)[1]||"",e=e.replace(/^data\:([^\;]+)\;base64,/gmi,"");for(var s=atob(e),i=s.length%2==0?s.length:s.length+1,r=new ArrayBuffer(i),o=new Uint16Array(r),h=0;h=8&&(c=o+h)))),c){for(s=t.getUint16(c,a),u=0;u{const s=e.__vccOpts||e;for(const[i,r]of t)s[i]=r;return s},ae=j({data:function(){return{w:0,h:0,scale:1,x:0,y:0,loading:!0,trueWidth:0,trueHeight:0,move:!0,moveX:0,moveY:0,crop:!1,cropping:!1,cropW:0,cropH:0,cropOldW:0,cropOldH:0,canChangeX:!1,canChangeY:!1,changeCropTypeX:1,changeCropTypeY:1,cropX:0,cropY:0,cropChangeX:0,cropChangeY:0,cropOffsertX:0,cropOffsertY:0,support:"",touches:[],touchNow:!1,rotate:0,isIos:!1,orientation:0,imgs:"",coe:.2,scaling:!1,scalingSet:"",coeStatus:"",isCanShow:!0,imgIsQqualCrop:!1}},props:{img:{type:[String,Blob,null,File],default:""},outputSize:{type:Number,default:1},outputType:{type:String,default:"jpeg"},info:{type:Boolean,default:!0},canScale:{type:Boolean,default:!0},autoCrop:{type:Boolean,default:!1},autoCropWidth:{type:[Number,String],default:0},autoCropHeight:{type:[Number,String],default:0},fixed:{type:Boolean,default:!1},fixedNumber:{type:Array,default:()=>[1,1]},fixedBox:{type:Boolean,default:!1},full:{type:Boolean,default:!1},canMove:{type:Boolean,default:!0},canMoveBox:{type:Boolean,default:!0},original:{type:Boolean,default:!1},centerBox:{type:Boolean,default:!1},high:{type:Boolean,default:!0},infoTrue:{type:Boolean,default:!1},maxImgSize:{type:[Number,String],default:2e3},enlarge:{type:[Number,String],default:1},preW:{type:[Number,String],default:0},mode:{type:String,default:"contain"},limitMinSize:{type:[Number,Array,String],default:()=>10,validator:function(e){return Array.isArray(e)?Number(e[0])>=0&&Number(e[1])>=0:Number(e)>=0}},fillColor:{type:String,default:""}},computed:{cropInfo(){let e={};if(e.top=this.cropOffsertY>21?"-21px":"0px",e.width=this.cropW>0?this.cropW:0,e.height=this.cropH>0?this.cropH:0,this.infoTrue){let t=1;this.high&&!this.full&&(t=window.devicePixelRatio),this.enlarge!==1&!this.full&&(t=Math.abs(Number(this.enlarge))),e.width=e.width*t,e.height=e.height*t,this.full&&(e.width=e.width/this.scale,e.height=e.height/this.scale)}return e.width=e.width.toFixed(0),e.height=e.height.toFixed(0),e},isIE(){return!!window.ActiveXObject||"ActiveXObject"in window},passive(){return this.isIE?null:{passive:!1}},isRotateRightOrLeft(){return[1,-1,3,-3].includes(this.rotate)}},watch:{img(){this.checkedImg()},imgs(e){e!==""&&this.reload()},cropW(){this.showPreview()},cropH(){this.showPreview()},cropOffsertX(){this.showPreview()},cropOffsertY(){this.showPreview()},scale(e,t){this.showPreview()},x(){this.showPreview()},y(){this.showPreview()},autoCrop(e){e&&this.goAutoCrop()},autoCropWidth(){this.autoCrop&&this.goAutoCrop()},autoCropHeight(){this.autoCrop&&this.goAutoCrop()},mode(){this.checkedImg()},rotate(){this.showPreview(),this.autoCrop?this.goAutoCrop(this.cropW,this.cropH):(this.cropW>0||this.cropH>0)&&this.goAutoCrop(this.cropW,this.cropH)}},methods:{getVersion(e){var t=navigator.userAgent.split(" "),s="";let i=0;const r=new RegExp(e,"i");for(var o=0;o=81)t=-1;else if(this.getVersion("safari")[0]>=605){const h=this.getVersion("version");h[0]>13&&h[1]>1&&(t=-1)}else{const h=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/);if(h){let a=h[1];a=a.split("_"),(a[0]>13||a[0]>=13&&a[1]>=4)&&(t=-1)}}let r=document.createElement("canvas"),o=r.getContext("2d");switch(o.save(),t){case 2:r.width=s,r.height=i,o.translate(s,0),o.scale(-1,1);break;case 3:r.width=s,r.height=i,o.translate(s/2,i/2),o.rotate(180*Math.PI/180),o.translate(-s/2,-i/2);break;case 4:r.width=s,r.height=i,o.translate(0,i),o.scale(1,-1);break;case 5:r.height=s,r.width=i,o.rotate(.5*Math.PI),o.scale(1,-1);break;case 6:r.width=i,r.height=s,o.translate(i/2,s/2),o.rotate(90*Math.PI/180),o.translate(-s/2,-i/2);break;case 7:r.height=s,r.width=i,o.rotate(.5*Math.PI),o.translate(s,-i),o.scale(-1,1);break;case 8:r.height=s,r.width=i,o.translate(i/2,s/2),o.rotate(-90*Math.PI/180),o.translate(-s/2,-i/2);break;default:r.width=s,r.height=i}o.drawImage(e,0,0,s,i),o.restore(),r.toBlob(h=>{let a=URL.createObjectURL(h);URL.revokeObjectURL(this.imgs),this.imgs=a},"image/"+this.outputType,1)},checkedImg(){if(this.img===null||this.img===""){this.imgs="",this.clearCrop();return}this.loading=!0,this.scale=1,this.rotate=0,this.imgIsQqualCrop=!1,this.clearCrop();let e=new Image;if(e.onload=()=>{if(this.img==="")return this.$emit("img-load",new Error("图片不能为空")),!1;let s=e.width,i=e.height;D.getData(e).then(r=>{this.orientation=r.orientation||1;let o=Number(this.maxImgSize);if(!this.orientation&&so&&(i=i/s*o,s=o),i>o&&(s=s/i*o,i=o),this.checkOrientationImage(e,this.orientation,s,i)}).catch(r=>{this.$emit("img-load","error"),this.$emit("img-load-error",r)})},e.onerror=s=>{this.$emit("img-load","error"),this.$emit("img-load-error",s)},this.img.substr(0,4)!=="data"&&(e.crossOrigin=""),this.isIE){var t=new XMLHttpRequest;t.onload=function(){var s=URL.createObjectURL(this.response);e.src=s},t.open("GET",this.img,!0),t.responseType="blob",t.send()}else e.src=this.img},startMove(e){if(e.preventDefault(),this.move&&!this.crop){if(!this.canMove)return!1;this.moveX=("clientX"in e?e.clientX:e.touches[0].clientX)-this.x,this.moveY=("clientY"in e?e.clientY:e.touches[0].clientY)-this.y,e.touches?(window.addEventListener("touchmove",this.moveImg),window.addEventListener("touchend",this.leaveImg),e.touches.length==2&&(this.touches=e.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale))):(window.addEventListener("mousemove",this.moveImg),window.addEventListener("mouseup",this.leaveImg)),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}else this.cropping=!0,window.addEventListener("mousemove",this.createCrop),window.addEventListener("mouseup",this.endCrop),window.addEventListener("touchmove",this.createCrop),window.addEventListener("touchend",this.endCrop),this.cropOffsertX=e.offsetX?e.offsetX:e.touches[0].pageX-this.$refs.cropper.offsetLeft,this.cropOffsertY=e.offsetY?e.offsetY:e.touches[0].pageY-this.$refs.cropper.offsetTop,this.cropX="clientX"in e?e.clientX:e.touches[0].clientX,this.cropY="clientY"in e?e.clientY:e.touches[0].clientY,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.cropW=0,this.cropH=0},touchScale(e){e.preventDefault();let t=this.scale;var s={x:this.touches[0].clientX,y:this.touches[0].clientY},i={x:e.touches[0].clientX,y:e.touches[0].clientY},r={x:this.touches[1].clientX,y:this.touches[1].clientY},o={x:e.touches[1].clientX,y:e.touches[1].clientY},h=Math.sqrt(Math.pow(s.x-r.x,2)+Math.pow(s.y-r.y,2)),a=Math.sqrt(Math.pow(i.x-o.x,2)+Math.pow(i.y-o.y,2)),l=a-h,n=1;n=n/this.trueWidth>n/this.trueHeight?n/this.trueHeight:n/this.trueWidth,n=n>.1?.1:n;var c=n*l;if(!this.touchNow){if(this.touchNow=!0,l>0?t+=Math.abs(c):l<0&&t>Math.abs(c)&&(t-=Math.abs(c)),this.touches=e.touches,setTimeout(()=>{this.touchNow=!1},8),!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t}},cancelTouchScale(e){window.removeEventListener("touchmove",this.touchScale)},moveImg(e){if(e.preventDefault(),e.touches&&e.touches.length===2)return this.touches=e.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale),window.removeEventListener("touchmove",this.moveImg),!1;let t="clientX"in e?e.clientX:e.touches[0].clientX,s="clientY"in e?e.clientY:e.touches[0].clientY,i,r;i=t-this.moveX,r=s-this.moveY,this.$nextTick(()=>{if(this.centerBox){let o=this.getImgAxis(i,r,this.scale),h=this.getCropAxis(),a=this.trueHeight*this.scale,l=this.trueWidth*this.scale,n,c,d,u;switch(this.rotate){case 1:case-1:case 3:case-3:n=this.cropOffsertX-this.trueWidth*(1-this.scale)/2+(a-l)/2,c=this.cropOffsertY-this.trueHeight*(1-this.scale)/2+(l-a)/2,d=n-a+this.cropW,u=c-l+this.cropH;break;default:n=this.cropOffsertX-this.trueWidth*(1-this.scale)/2,c=this.cropOffsertY-this.trueHeight*(1-this.scale)/2,d=n-l+this.cropW,u=c-a+this.cropH;break}o.x1>=h.x1&&(i=n),o.y1>=h.y1&&(r=c),o.x2<=h.x2&&(i=d),o.y2<=h.y2&&(r=u)}this.x=i,this.y=r,this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})})},leaveImg(e){window.removeEventListener("mousemove",this.moveImg),window.removeEventListener("touchmove",this.moveImg),window.removeEventListener("mouseup",this.leaveImg),window.removeEventListener("touchend",this.leaveImg),this.$emit("img-moving",{moving:!1,axis:this.getImgAxis()})},scaleImg(){this.canScale&&window.addEventListener(this.support,this.changeSize,this.passive)},cancelScale(){this.canScale&&window.removeEventListener(this.support,this.changeSize)},changeSize(e){e.preventDefault();let t=this.scale;var s=e.deltaY||e.wheelDelta,i=navigator.userAgent.indexOf("Firefox");s=i>0?s*30:s,this.isIE&&(s=-s);var r=this.coe;r=r/this.trueWidth>r/this.trueHeight?r/this.trueHeight:r/this.trueWidth;var o=r*s;o<0?t+=Math.abs(o):t>Math.abs(o)&&(t-=Math.abs(o));let h=o<0?"add":"reduce";if(h!==this.coeStatus&&(this.coeStatus=h,this.coe=.2),this.scaling||(this.scalingSet=setTimeout(()=>{this.scaling=!1,this.coe=this.coe+=.01},50)),this.scaling=!0,!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t},changeScale(e){let t=this.scale;e=e||1;var s=20;if(s=s/this.trueWidth>s/this.trueHeight?s/this.trueHeight:s/this.trueWidth,e=e*s,e>0?t+=Math.abs(e):t>Math.abs(e)&&(t-=Math.abs(e)),!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t},createCrop(e){e.preventDefault();var t="clientX"in e?e.clientX:e.touches?e.touches[0].clientX:0,s="clientY"in e?e.clientY:e.touches?e.touches[0].clientY:0;this.$nextTick(()=>{var i=t-this.cropX,r=s-this.cropY;if(i>0?(this.cropW=i+this.cropChangeX>this.w?this.w-this.cropChangeX:i,this.cropOffsertX=this.cropChangeX):(this.cropW=this.w-this.cropChangeX+Math.abs(i)>this.w?this.cropChangeX:Math.abs(i),this.cropOffsertX=this.cropChangeX+i>0?this.cropChangeX+i:0),!this.fixed)r>0?(this.cropH=r+this.cropChangeY>this.h?this.h-this.cropChangeY:r,this.cropOffsertY=this.cropChangeY):(this.cropH=this.h-this.cropChangeY+Math.abs(r)>this.h?this.cropChangeY:Math.abs(r),this.cropOffsertY=this.cropChangeY+r>0?this.cropChangeY+r:0);else{var o=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];o+this.cropOffsertY>this.h?(this.cropH=this.h-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],i>0?this.cropOffsertX=this.cropChangeX:this.cropOffsertX=this.cropChangeX-this.cropW):this.cropH=o,this.cropOffsertY=this.cropOffsertY}})},changeCropSize(e,t,s,i,r){e.preventDefault(),window.addEventListener("mousemove",this.changeCropNow),window.addEventListener("mouseup",this.changeCropEnd),window.addEventListener("touchmove",this.changeCropNow),window.addEventListener("touchend",this.changeCropEnd),this.canChangeX=t,this.canChangeY=s,this.changeCropTypeX=i,this.changeCropTypeY=r,this.cropX="clientX"in e?e.clientX:e.touches[0].clientX,this.cropY="clientY"in e?e.clientY:e.touches[0].clientY,this.cropOldW=this.cropW,this.cropOldH=this.cropH,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.fixed&&this.canChangeX&&this.canChangeY&&(this.canChangeY=0),this.$emit("change-crop-size",{width:this.cropW,height:this.cropH})},changeCropNow(e){e.preventDefault();var t="clientX"in e?e.clientX:e.touches?e.touches[0].clientX:0,s="clientY"in e?e.clientY:e.touches?e.touches[0].clientY:0;let i=this.w,r=this.h,o=0,h=0;if(this.centerBox){let n=this.getImgAxis(),c=n.x2,d=n.y2;o=n.x1>0?n.x1:0,h=n.y1>0?n.y1:0,i>c&&(i=c),r>d&&(r=d)}const[a,l]=this.checkCropLimitSize();this.$nextTick(()=>{var n=t-this.cropX,c=s-this.cropY;if(this.canChangeX&&(this.changeCropTypeX===1?this.cropOldW-n0?(this.cropW=i-this.cropChangeX-n<=i-o?this.cropOldW-n:this.cropOldW+this.cropChangeX-o,this.cropOffsertX=i-this.cropChangeX-n<=i-o?this.cropChangeX+n:o):(this.cropW=Math.abs(n)+this.cropChangeX<=i?Math.abs(n)-this.cropOldW:i-this.cropOldW-this.cropChangeX,this.cropOffsertX=this.cropChangeX+this.cropOldW):this.changeCropTypeX===2&&(this.cropOldW+n0?(this.cropW=this.cropOldW+n+this.cropOffsertX<=i?this.cropOldW+n:i-this.cropOffsertX,this.cropOffsertX=this.cropChangeX):(this.cropW=i-this.cropChangeX+Math.abs(n+this.cropOldW)<=i-o?Math.abs(n+this.cropOldW):this.cropChangeX-o,this.cropOffsertX=i-this.cropChangeX+Math.abs(n+this.cropOldW)<=i-o?this.cropChangeX-Math.abs(n+this.cropOldW):o))),this.canChangeY&&(this.changeCropTypeY===1?this.cropOldH-c0?(this.cropH=r-this.cropChangeY-c<=r-h?this.cropOldH-c:this.cropOldH+this.cropChangeY-h,this.cropOffsertY=r-this.cropChangeY-c<=r-h?this.cropChangeY+c:h):(this.cropH=Math.abs(c)+this.cropChangeY<=r?Math.abs(c)-this.cropOldH:r-this.cropOldH-this.cropChangeY,this.cropOffsertY=this.cropChangeY+this.cropOldH):this.changeCropTypeY===2&&(this.cropOldH+c0?(this.cropH=this.cropOldH+c+this.cropOffsertY<=r?this.cropOldH+c:r-this.cropOffsertY,this.cropOffsertY=this.cropChangeY):(this.cropH=r-this.cropChangeY+Math.abs(c+this.cropOldH)<=r-h?Math.abs(c+this.cropOldH):this.cropChangeY-h,this.cropOffsertY=r-this.cropChangeY+Math.abs(c+this.cropOldH)<=r-h?this.cropChangeY-Math.abs(c+this.cropOldH):h))),this.canChangeX&&this.fixed){var d=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];dr?(this.cropH=r-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],this.changeCropTypeX===1&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):this.cropH=d}if(this.canChangeY&&this.fixed){var u=this.cropH/this.fixedNumber[1]*this.fixedNumber[0];ui?(this.cropW=i-this.cropOffsertX,this.cropH=this.cropW/this.fixedNumber[0]*this.fixedNumber[1]):this.cropW=u}})},checkCropLimitSize(){let{cropW:e,cropH:t,limitMinSize:s}=this,i=new Array;return Array.isArray(s)?i=s:i=[s,s],e=parseFloat(i[0]),t=parseFloat(i[1]),[e,t]},changeCropEnd(e){window.removeEventListener("mousemove",this.changeCropNow),window.removeEventListener("mouseup",this.changeCropEnd),window.removeEventListener("touchmove",this.changeCropNow),window.removeEventListener("touchend",this.changeCropEnd)},calculateSize(e,t,s,i,r,o){const h=e/t;let a=r,l=o;return athis.cropW&&(this.cropW=s,this.cropOffsertX+s>this.w&&(this.cropOffsertX=this.w-s)),i>this.cropH&&(this.cropH=i,this.cropOffsertY+i>this.h&&(this.cropOffsertY=this.h-i)),window.removeEventListener("mousemove",this.createCrop),window.removeEventListener("mouseup",this.endCrop),window.removeEventListener("touchmove",this.createCrop),window.removeEventListener("touchend",this.endCrop)},startCrop(){this.crop=!0},stopCrop(){this.crop=!1},clearCrop(){this.cropping=!1,this.cropW=0,this.cropH=0},cropMove(e){if(e.preventDefault(),!this.canMoveBox)return this.crop=!1,this.startMove(e),!1;if(e.touches&&e.touches.length===2)return this.crop=!1,this.startMove(e),this.leaveCrop(),!1;window.addEventListener("mousemove",this.moveCrop),window.addEventListener("mouseup",this.leaveCrop),window.addEventListener("touchmove",this.moveCrop),window.addEventListener("touchend",this.leaveCrop);let t="clientX"in e?e.clientX:e.touches[0].clientX,s="clientY"in e?e.clientY:e.touches[0].clientY,i,r;i=t-this.cropOffsertX,r=s-this.cropOffsertY,this.cropX=i,this.cropY=r,this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})},moveCrop(e,t){let s=0,i=0;e&&(e.preventDefault(),s="clientX"in e?e.clientX:e.touches[0].clientX,i="clientY"in e?e.clientY:e.touches[0].clientY),this.$nextTick(()=>{let r,o,h=s-this.cropX,a=i-this.cropY;if(t&&(h=this.cropOffsertX,a=this.cropOffsertY),h<=0?r=0:h+this.cropW>this.w?r=this.w-this.cropW:r=h,a<=0?o=0:a+this.cropH>this.h?o=this.h-this.cropH:o=a,this.centerBox){let l=this.getImgAxis();r<=l.x1&&(r=l.x1),r+this.cropW>l.x2&&(r=l.x2-this.cropW),o<=l.y1&&(o=l.y1),o+this.cropH>l.y2&&(o=l.y2-this.cropH)}this.cropOffsertX=r,this.cropOffsertY=o,this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})})},getImgAxis(e,t,s){e=e||this.x,t=t||this.y,s=s||this.scale;let i={x1:0,x2:0,y1:0,y2:0},r=this.trueWidth*s,o=this.trueHeight*s;switch(this.rotate){case 0:i.x1=e+this.trueWidth*(1-s)/2,i.x2=i.x1+this.trueWidth*s,i.y1=t+this.trueHeight*(1-s)/2,i.y2=i.y1+this.trueHeight*s;break;case 1:case-1:case 3:case-3:i.x1=e+this.trueWidth*(1-s)/2+(r-o)/2,i.x2=i.x1+this.trueHeight*s,i.y1=t+this.trueHeight*(1-s)/2+(o-r)/2,i.y2=i.y1+this.trueWidth*s;break;default:i.x1=e+this.trueWidth*(1-s)/2,i.x2=i.x1+this.trueWidth*s,i.y1=t+this.trueHeight*(1-s)/2,i.y2=i.y1+this.trueHeight*s;break}return i},getCropAxis(){let e={x1:0,x2:0,y1:0,y2:0};return e.x1=this.cropOffsertX,e.x2=e.x1+this.cropW,e.y1=this.cropOffsertY,e.y2=e.y1+this.cropH,e},leaveCrop(e){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.$emit("crop-moving",{moving:!1,axis:this.getCropAxis()})},getCropChecked(e){let t=document.createElement("canvas"),s=t.getContext("2d"),i=new Image,r=this.rotate,o=this.trueWidth,h=this.trueHeight,a=this.cropOffsertX,l=this.cropOffsertY;i.onload=()=>{if(this.cropW!==0){let u=1;this.high&!this.full&&(u=window.devicePixelRatio),this.enlarge!==1&!this.full&&(u=Math.abs(Number(this.enlarge)));let w=this.cropW*u,W=this.cropH*u,m=o*this.scale*u,v=h*this.scale*u,x=(this.x-a+this.trueWidth*(1-this.scale)/2)*u,p=(this.y-l+this.trueHeight*(1-this.scale)/2)*u;switch(d(w,W),s.save(),r){case 0:this.full?(d(w/this.scale,W/this.scale),s.drawImage(i,x/this.scale,p/this.scale,m/this.scale,v/this.scale)):s.drawImage(i,x,p,m,v);break;case 1:case-3:this.full?(d(w/this.scale,W/this.scale),x=x/this.scale+(m/this.scale-v/this.scale)/2,p=p/this.scale+(v/this.scale-m/this.scale)/2,s.rotate(r*90*Math.PI/180),s.drawImage(i,p,-x-v/this.scale,m/this.scale,v/this.scale)):(x=x+(m-v)/2,p=p+(v-m)/2,s.rotate(r*90*Math.PI/180),s.drawImage(i,p,-x-v,m,v));break;case 2:case-2:this.full?(d(w/this.scale,W/this.scale),s.rotate(r*90*Math.PI/180),x=x/this.scale,p=p/this.scale,s.drawImage(i,-x-m/this.scale,-p-v/this.scale,m/this.scale,v/this.scale)):(s.rotate(r*90*Math.PI/180),s.drawImage(i,-x-m,-p-v,m,v));break;case 3:case-1:this.full?(d(w/this.scale,W/this.scale),x=x/this.scale+(m/this.scale-v/this.scale)/2,p=p/this.scale+(v/this.scale-m/this.scale)/2,s.rotate(r*90*Math.PI/180),s.drawImage(i,-p-m/this.scale,x,m/this.scale,v/this.scale)):(x=x+(m-v)/2,p=p+(v-m)/2,s.rotate(r*90*Math.PI/180),s.drawImage(i,-p-m,x,m,v));break;default:this.full?(d(w/this.scale,W/this.scale),s.drawImage(i,x/this.scale,p/this.scale,m/this.scale,v/this.scale)):s.drawImage(i,x,p,m,v)}s.restore()}else{let u=o*this.scale,w=h*this.scale;switch(s.save(),r){case 0:d(u,w),s.drawImage(i,0,0,u,w);break;case 1:case-3:d(w,u),s.rotate(r*90*Math.PI/180),s.drawImage(i,0,-w,u,w);break;case 2:case-2:d(u,w),s.rotate(r*90*Math.PI/180),s.drawImage(i,-u,-w,u,w);break;case 3:case-1:d(w,u),s.rotate(r*90*Math.PI/180),s.drawImage(i,-u,0,u,w);break;default:d(u,w),s.drawImage(i,0,0,u,w)}s.restore()}e(t)};var n=this.img.substr(0,4);n!=="data"&&(i.crossOrigin="Anonymous"),i.src=this.imgs;const c=this.fillColor;function d(u,w){t.width=Math.round(u),t.height=Math.round(w),c&&(s.fillStyle=c,s.fillRect(0,0,t.width,t.height))}},getCropData(e){this.getCropChecked(t=>{e(t.toDataURL("image/"+this.outputType,this.outputSize))})},getCropBlob(e){this.getCropChecked(t=>{t.toBlob(s=>e(s),"image/"+this.outputType,this.outputSize)})},showPreview(){if(this.isCanShow)this.isCanShow=!1,setTimeout(()=>{this.isCanShow=!0},16);else return!1;let e=this.cropW,t=this.cropH,s=this.scale;var i={};i.div={width:`${e}px`,height:`${t}px`};let r=(this.x-this.cropOffsertX)/s,o=(this.y-this.cropOffsertY)/s,h=0;i.w=e,i.h=t,i.url=this.imgs,i.img={width:`${this.trueWidth}px`,height:`${this.trueHeight}px`,transform:`scale(${s})translate3d(${r}px, ${o}px, ${h}px)rotateZ(${this.rotate*90}deg)`},i.html=` +
+
+ +
+
`,this.$emit("real-time",i)},reload(){let e=new Image;e.onload=()=>{this.w=parseFloat(window.getComputedStyle(this.$refs.cropper).width),this.h=parseFloat(window.getComputedStyle(this.$refs.cropper).height),this.trueWidth=e.width,this.trueHeight=e.height,this.original?this.scale=1:this.scale=this.checkedMode(),this.$nextTick(()=>{this.x=-(this.trueWidth-this.trueWidth*this.scale)/2+(this.w-this.trueWidth*this.scale)/2,this.y=-(this.trueHeight-this.trueHeight*this.scale)/2+(this.h-this.trueHeight*this.scale)/2,this.loading=!1,this.autoCrop&&this.goAutoCrop(),this.$emit("img-load","success"),setTimeout(()=>{this.showPreview()},20)})},e.onerror=()=>{this.$emit("img-load","error")},e.src=this.imgs},checkedMode(){let e=1,t=this.trueWidth,s=this.trueHeight;const i=this.mode.split(" ");switch(i[0]){case"contain":this.trueWidth>this.w&&(e=this.w/this.trueWidth),this.trueHeight*e>this.h&&(e=this.h/this.trueHeight);break;case"cover":t=this.w,e=t/this.trueWidth,s=s*e,s0;let a=(h?this.trueHeight:this.trueWidth)*this.scale,l=(h?this.trueWidth:this.trueHeight)*this.scale;s=as?s:r,o=o>i?i:o,this.fixed&&(o=r/this.fixedNumber[0]*this.fixedNumber[1]),o>this.h&&(o=this.h,r=o/this.fixedNumber[1]*this.fixedNumber[0]),this.changeCrop(r,o)},changeCrop(e,t){if(this.centerBox){let s=this.getImgAxis();e>s.x2-s.x1&&(e=s.x2-s.x1,t=e/this.fixedNumber[0]*this.fixedNumber[1]),t>s.y2-s.y1&&(t=s.y2-s.y1,e=t/this.fixedNumber[1]*this.fixedNumber[0])}this.cropW=e,this.cropH=t,this.checkCropLimitSize(),this.$nextTick(()=>{this.cropOffsertX=(this.w-this.cropW)/2,this.cropOffsertY=(this.h-this.cropH)/2,this.centerBox&&this.moveCrop(null,!0)})},refresh(){this.img,this.imgs="",this.scale=1,this.crop=!1,this.rotate=0,this.w=0,this.h=0,this.trueWidth=0,this.trueHeight=0,this.imgIsQqualCrop=!1,this.clearCrop(),this.$nextTick(()=>{this.checkedImg()})},rotateLeft(){this.rotate=this.rotate<=-3?0:this.rotate-1},rotateRight(){this.rotate=this.rotate>=3?0:this.rotate+1},rotateClear(){this.rotate=0},checkoutImgAxis(e,t,s){e=e||this.x,t=t||this.y,s=s||this.scale;let i=!0;if(this.centerBox){let r=this.getImgAxis(e,t,s),o=this.getCropAxis();r.x1>=o.x1&&(i=!1),r.x2<=o.x2&&(i=!1),r.y1>=o.y1&&(i=!1),r.y2<=o.y2&&(i=!1),i||this.changeImgScale(r,o,s)}return i},changeImgScale(e,t,s){let i=this.trueWidth,r=this.trueHeight,o=i*s,h=r*s;if(o>=this.cropW&&h>=this.cropH)this.scale=s;else{const a=this.cropW/i,l=this.cropH/r,n=this.cropH<=r*a?a:l;this.scale=n,o=i*n,h=r*n}this.imgIsQqualCrop||(e.x1>=t.x1&&(this.isRotateRightOrLeft?this.x=t.x1-(i-o)/2-(o-h)/2:this.x=t.x1-(i-o)/2),e.x2<=t.x2&&(this.isRotateRightOrLeft?this.x=t.x1-(i-o)/2-(o-h)/2-h+this.cropW:this.x=t.x2-(i-o)/2-o),e.y1>=t.y1&&(this.isRotateRightOrLeft?this.y=t.y1-(r-h)/2-(h-o)/2:this.y=t.y1-(r-h)/2),e.y2<=t.y2&&(this.isRotateRightOrLeft?this.y=t.y2-(r-h)/2-(h-o)/2-o:this.y=t.y2-(r-h)/2-h)),(oe.scaleImg&&e.scaleImg(...h)),onMouseout:t[29]||(t[29]=(...h)=>e.cancelScale&&e.cancelScale(...h))},[e.imgs?(O(),I("div",ce,[M(f("div",{class:"cropper-box-canvas",style:k({width:e.trueWidth+"px",height:e.trueHeight+"px",transform:"scale("+e.scale+","+e.scale+") translate3d("+e.x/e.scale+"px,"+e.y/e.scale+"px,0)rotateZ("+e.rotate*90+"deg)"})},[f("img",{src:e.imgs,alt:"cropper-img",ref:"cropperImg"},null,8,ne)],4),[[A,!e.loading]])])):N("",!0),f("div",{class:F(["cropper-drag-box",{"cropper-move":e.move&&!e.crop,"cropper-crop":e.crop,"cropper-modal":e.cropping}]),onMousedown:t[0]||(t[0]=(...h)=>e.startMove&&e.startMove(...h)),onTouchstart:t[1]||(t[1]=(...h)=>e.startMove&&e.startMove(...h))},null,34),M(f("div",{class:"cropper-crop-box",style:k({width:e.cropW+"px",height:e.cropH+"px",transform:"translate3d("+e.cropOffsertX+"px,"+e.cropOffsertY+"px,0)"})},[f("span",le,[f("img",{style:k({width:e.trueWidth+"px",height:e.trueHeight+"px",transform:"scale("+e.scale+","+e.scale+") translate3d("+(e.x-e.cropOffsertX)/e.scale+"px,"+(e.y-e.cropOffsertY)/e.scale+"px,0)rotateZ("+e.rotate*90+"deg)"}),src:e.imgs,alt:"cropper-img"},null,12,pe)]),f("span",{class:"cropper-face cropper-move",onMousedown:t[2]||(t[2]=(...h)=>e.cropMove&&e.cropMove(...h)),onTouchstart:t[3]||(t[3]=(...h)=>e.cropMove&&e.cropMove(...h))},null,32),e.info?(O(),I("span",{key:0,class:"crop-info",style:k({top:e.cropInfo.top})},B(e.cropInfo.width)+" × "+B(e.cropInfo.height),5)):N("",!0),e.fixedBox?N("",!0):(O(),I("span",ue,[f("span",{class:"crop-line line-w",onMousedown:t[4]||(t[4]=h=>e.changeCropSize(h,!1,!0,0,1)),onTouchstart:t[5]||(t[5]=h=>e.changeCropSize(h,!1,!0,0,1))},null,32),f("span",{class:"crop-line line-a",onMousedown:t[6]||(t[6]=h=>e.changeCropSize(h,!0,!1,1,0)),onTouchstart:t[7]||(t[7]=h=>e.changeCropSize(h,!0,!1,1,0))},null,32),f("span",{class:"crop-line line-s",onMousedown:t[8]||(t[8]=h=>e.changeCropSize(h,!1,!0,0,2)),onTouchstart:t[9]||(t[9]=h=>e.changeCropSize(h,!1,!0,0,2))},null,32),f("span",{class:"crop-line line-d",onMousedown:t[10]||(t[10]=h=>e.changeCropSize(h,!0,!1,2,0)),onTouchstart:t[11]||(t[11]=h=>e.changeCropSize(h,!0,!1,2,0))},null,32),f("span",{class:"crop-point point1",onMousedown:t[12]||(t[12]=h=>e.changeCropSize(h,!0,!0,1,1)),onTouchstart:t[13]||(t[13]=h=>e.changeCropSize(h,!0,!0,1,1))},null,32),f("span",{class:"crop-point point2",onMousedown:t[14]||(t[14]=h=>e.changeCropSize(h,!1,!0,0,1)),onTouchstart:t[15]||(t[15]=h=>e.changeCropSize(h,!1,!0,0,1))},null,32),f("span",{class:"crop-point point3",onMousedown:t[16]||(t[16]=h=>e.changeCropSize(h,!0,!0,2,1)),onTouchstart:t[17]||(t[17]=h=>e.changeCropSize(h,!0,!0,2,1))},null,32),f("span",{class:"crop-point point4",onMousedown:t[18]||(t[18]=h=>e.changeCropSize(h,!0,!1,1,0)),onTouchstart:t[19]||(t[19]=h=>e.changeCropSize(h,!0,!1,1,0))},null,32),f("span",{class:"crop-point point5",onMousedown:t[20]||(t[20]=h=>e.changeCropSize(h,!0,!1,2,0)),onTouchstart:t[21]||(t[21]=h=>e.changeCropSize(h,!0,!1,2,0))},null,32),f("span",{class:"crop-point point6",onMousedown:t[22]||(t[22]=h=>e.changeCropSize(h,!0,!0,1,2)),onTouchstart:t[23]||(t[23]=h=>e.changeCropSize(h,!0,!0,1,2))},null,32),f("span",{class:"crop-point point7",onMousedown:t[24]||(t[24]=h=>e.changeCropSize(h,!1,!0,0,2)),onTouchstart:t[25]||(t[25]=h=>e.changeCropSize(h,!1,!0,0,2))},null,32),f("span",{class:"crop-point point8",onMousedown:t[26]||(t[26]=h=>e.changeCropSize(h,!0,!0,2,2)),onTouchstart:t[27]||(t[27]=h=>e.changeCropSize(h,!0,!0,2,2))},null,32)]))],4),[[A,e.cropping]])],544)}const ge=he(ae,[["render",de],["__scopeId","data-v-a742df44"]]),fe={class:"cropper-content"},me={class:"cropper-box"},ve={class:"cropper"},we={class:"footer-btn"},xe={class:"scope-btn"},Ce={class:"show-preview"},ye={class:"preview"},be=["src"],Oe={class:"upload-btn"},He=Object.assign({name:"CropperImage"},{__name:"index",emits:["uploadImgSuccess"],setup(e,{emit:t}){const s=t,i=_(""),r=_(""),o=_({}),h=P({img:"",outputSize:1,outputType:"png",info:!0,canScale:!0,autoCrop:!0,autoCropWidth:200,autoCropHeight:200,fixed:!0,fixedNumber:[1,1],full:!1,fixedBox:!1,canMove:!0,canMoveBox:!0,original:!1,centerBox:!0,height:!1,infoTrue:!1,maxImgSize:3e3,enlarge:1,mode:"300px 300px"}),a=_(null);function l(p){""+p}function n(p){p=p||1,a.value.changeScale(p)}function c(){a.value.rotateLeft()}function d(){a.value.rotateRight()}function u(p){o.value=p,a.value.getCropBlob(g=>{w(g,function(C){r.value=C})})}function w(p,g){var C=new FileReader;C.readAsDataURL(p),C.onload=function(H){g(H.target.result)}}function W(p){let g=p.target.files[0];if(!/\.(jpg|jpeg|png|JPG|PNG)$/.test(p.target.value))return E({message:"图片类型要求:jpeg、jpg、png",type:"error"}),!1;let C=new FileReader;C.onload=H=>{let X;typeof H.target.result=="object"?X=window.URL.createObjectURL(new Blob([H.target.result])):X=H.target.result,h.img=X},C.readAsDataURL(g)}function m(p,g="file"){const C=p.split(","),H=C[0].match(/:(.*?);/)[1],X=H.split("/")[1],$=atob(C[1]);let T=$.length;const z=new Uint8Array(T);for(;T--;)z[T]=$.charCodeAt(T);return new File([z],`${g}.${X}`,{type:H})}function v(p){const g=new FormData;g.append("file",p),Z(g).then(C=>{C.status==200?s("uploadImgSuccess",C.data):E({message:"上传失败",type:"error",duration:1e3})})}function x(){a.value.getCropData(p=>{i.value=m(p),v(i.value)})}return(p,g)=>{const C=Y("el-button"),H=R("db-click");return O(),I("div",fe,[f("div",me,[f("div",ve,[y(U(ge),{ref_key:"cropper",ref:a,img:h.img,outputSize:h.outputSize,outputType:h.outputType,info:h.info,canScale:h.canScale,autoCrop:h.autoCrop,autoCropWidth:h.autoCropWidth,autoCropHeight:h.autoCropHeight,fixed:h.fixed,fixedNumber:h.fixedNumber,full:h.full,fixedBox:h.fixedBox,canMove:h.canMove,canMoveBox:h.canMoveBox,original:h.original,centerBox:h.centerBox,height:h.height,infoTrue:h.infoTrue,maxImgSize:h.maxImgSize,enlarge:h.enlarge,mode:h.mode,onRealTime:u,onImgLoad:l},null,8,["img","outputSize","outputType","info","canScale","autoCrop","autoCropWidth","autoCropHeight","fixed","fixedNumber","full","fixedBox","canMove","canMoveBox","original","centerBox","height","infoTrue","maxImgSize","enlarge","mode"])]),f("div",we,[f("div",xe,[f("input",{type:"file",id:"uploads",style:{position:"absolute",clip:"rect(0 0 0 0)"},accept:"image/png, image/jpeg, image/gif, image/jpg",onChange:g[0]||(g[0]=X=>W(X))},null,32),M((O(),S(C,{type:"danger",plain:"",icon:"el-icon-zoom-in",onClick:g[1]||(g[1]=X=>n(1))},{default:b(()=>[...g[4]||(g[4]=[L("放大",-1)])]),_:1})),[[H]]),M((O(),S(C,{type:"danger",plain:"",icon:"el-icon-zoom-out",onClick:g[2]||(g[2]=X=>n(-1))},{default:b(()=>[...g[5]||(g[5]=[L("缩小",-1)])]),_:1})),[[H]]),M((O(),S(C,{type:"danger",plain:"",onClick:c},{default:b(()=>[...g[6]||(g[6]=[L("↺ 左旋转",-1)])]),_:1})),[[H]]),M((O(),S(C,{type:"danger",plain:"",onClick:d},{default:b(()=>[...g[7]||(g[7]=[L("↻ 右旋转",-1)])]),_:1})),[[H]])])])]),f("div",Ce,[f("div",ye,[f("img",{src:o.value.url,style:k(o.value.img)},null,12,be)]),f("div",Oe,[g[9]||(g[9]=f("label",{class:"btn",for:"uploads"},"选择图片",-1)),M((O(),S(C,{type:"success",onClick:g[3]||(g[3]=X=>x())},{default:b(()=>[...g[8]||(g[8]=[L("确认上传",-1)])]),_:1})),[[H]])])])])}}}),We=V(He,[["__scopeId","data-v-357346ae"]]),Xe=["src"],Me={key:1,src:G,alt:""},Ie=Object.assign({name:"setting_user"},{__name:"index",setup(e){const t=J();K(),ee();const s=_(null),i=_(""),r=_(!1),o=P({avatar:"",real_name:"",pwd:"",new_pwd:"",conf_pwd:"",head_pic:""}),h={real_name:[{required:!0,message:"您的姓名不能为空",trigger:"blur"}]};q(()=>{i.value=t.userInfo.account,o.head_pic=t.userInfo.head_pic,o.real_name=t.userInfo.real_name});function a(n){r.value=!1,o.head_pic=n.src}function l(){s.value.validate(n=>{n?Q(o).then(c=>{t.userRealName(o.real_name),t.userRealHeadPic(o.head_pic),E.success(c.msg)}).catch(c=>{E.error(c.msg)}):o.new_pwd!==o.conf_pwd&&E.error("您输入的新密码与旧密码不一致")})}return(n,c)=>{const d=Y("el-form-item"),u=Y("el-input"),w=Y("el-button"),W=Y("el-form"),m=Y("el-card"),v=Y("el-dialog"),x=R("db-click");return O(),I("div",null,[y(m,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:b(()=>[y(W,{ref_key:"formValidateRef",ref:s,model:o,rules:h,"label-width":"160px","label-position":"right"},{default:b(()=>[y(d,{label:"头像:"},{default:b(()=>[M((O(),I("div",{class:"avatar",onClick:c[0]||(c[0]=p=>r.value=!0)},[o.head_pic?(O(),I("img",{key:0,src:o.head_pic,alt:""},null,8,Xe)):(O(),I("img",Me))])),[[x]])]),_:1}),y(d,{label:"账号:",prop:""},{default:b(()=>[y(u,{type:"text",modelValue:i.value,"onUpdate:modelValue":c[1]||(c[1]=p=>i.value=p),disabled:!0,class:"input"},null,8,["modelValue"])]),_:1}),y(d,{label:"姓名:",prop:"real_name"},{default:b(()=>[y(u,{type:"text",modelValue:o.real_name,"onUpdate:modelValue":c[2]||(c[2]=p=>o.real_name=p),class:"input"},null,8,["modelValue"])]),_:1}),y(d,{label:"原始密码:"},{default:b(()=>[y(u,{type:"password",modelValue:o.pwd,"onUpdate:modelValue":c[3]||(c[3]=p=>o.pwd=p),class:"input"},null,8,["modelValue"])]),_:1}),y(d,{label:"新密码:"},{default:b(()=>[y(u,{type:"password",modelValue:o.new_pwd,"onUpdate:modelValue":c[4]||(c[4]=p=>o.new_pwd=p),class:"input"},null,8,["modelValue"])]),_:1}),y(d,{label:"确认新密码:"},{default:b(()=>[y(u,{type:"password",modelValue:o.conf_pwd,"onUpdate:modelValue":c[5]||(c[5]=p=>o.conf_pwd=p),class:"input"},null,8,["modelValue"])]),_:1}),y(d,null,{default:b(()=>[M((O(),S(w,{type:"primary",onClick:c[6]||(c[6]=p=>l())},{default:b(()=>[...c[8]||(c[8]=[L("提交",-1)])]),_:1})),[[x]])]),_:1})]),_:1},8,["model"])]),_:1}),y(v,{modelValue:r.value,"onUpdate:modelValue":c[7]||(c[7]=p=>r.value=p),title:"头像上传",width:"720px"},{default:b(()=>[r.value?(O(),S(U(We),{key:0,onUploadImgSuccess:a})):N("",!0)]),_:1},8,["modelValue"])])}}}),ze=V(Ie,[["__scopeId","data-v-81af7cda"]]);export{ze as default}; diff --git a/backend/public/admin/system_static/index-CilM6r8s.css b/backend/public/admin/system_static/index-CilM6r8s.css new file mode 100644 index 000000000..d83242cd1 --- /dev/null +++ b/backend/public/admin/system_static/index-CilM6r8s.css @@ -0,0 +1 @@ +.font-weight-bold[data-v-88c934fe]{font-weight:700}.mr5[data-v-88c934fe]{margin-right:5px}.form-tip[data-v-88c934fe]{font-size:12px;color:#909399;line-height:1.5;margin-top:5px}.picBox[data-v-88c934fe]{display:inline-block;cursor:pointer}.picBox .pictrue[data-v-88c934fe]{width:80px;height:80px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;overflow:hidden}.picBox .pictrue img[data-v-88c934fe]{width:100%;height:100%}.picBox .payment-default-icon[data-v-88c934fe]{font-size:32px;line-height:80px;text-align:center}.picBox .upLoad[data-v-88c934fe]{width:80px;height:80px;line-height:80px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background-color:#00000005}.drawer-footer[data-v-88c934fe]{margin-top:24px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;gap:8px}.drawer-footer .el-button+.el-button[data-v-88c934fe]{margin-left:0} diff --git a/backend/public/admin/system_static/index-Ciz1Y7Qs.js b/backend/public/admin/system_static/index-Ciz1Y7Qs.js new file mode 100644 index 000000000..a3c608b66 --- /dev/null +++ b/backend/public/admin/system_static/index-Ciz1Y7Qs.js @@ -0,0 +1 @@ +import{a as ee,k as n,u as H,y as s,B as p,C as l,A as z,s as E,j as e,$ as d,z as Q,F as oe,D as ne,H as N,l as g,Z,p as ue,a0 as b,f as de}from"./element-plus-C_ZDq0cz.js";import{w as L,_ as X}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function ie(_){return L({url:"/driver/express_company/list",method:"get",params:_})}function se(_){return L({url:`/driver/express_company/read/${_}`,method:"get"})}function re(_){return L({url:"/driver/express_company/save",method:"post",data:_})}function me(_,I){return L({url:`/driver/express_company/update/${_}`,method:"put",data:I})}function pe(_){return L({url:`/driver/express_company/delete/${_}`,method:"delete"})}function _e(_,I){return L({url:`/driver/express_company/set_status/${_}/${I}`,method:"put"})}function ve(_,I){return L({url:`/driver/express_company/set_is_show/${_}/${I}`,method:"put"})}function ce(_){return L({url:"/driver/express_company/sort",method:"put",data:_})}function fe(){return L({url:"/driver/express_company/driver_options",method:"get"})}const ge={style:{padding:"0 24px 100px"}},Ve={class:"drawer-footer"},be=Object.assign({name:"companyEdit"},{__name:"companyEdit",props:{companyId:{type:[Number,String],default:null}},emits:["close","success"],setup(_,{emit:I}){const B=_,O=I,m=g(null),S=g(!1),D=g(!1),q=g(!1),T=g([]),a=g({driver_key:"",name:"",code:"",account:"",key:"",net_name:"",courier_name:"",customer_name:"",code_name:"",siid:"",temp_id:"",print_open:0,partner_id:0,partner_key:0,net:0,check_man:0,partner_name:0,is_code:0,sort:0,is_show:1,status:1}),j=g({driver_key:[{required:!0,message:"请选择绑定驱动",trigger:"change"}],name:[{required:!0,message:"请输入快递公司名称",trigger:"blur"}],code:[{required:!0,message:"请输入快递公司编码",trigger:"blur"}]}),F=ue(()=>!!B.companyId);ee(()=>{S.value=!0});function V(){v(),F.value&&c()}function G(){O("close")}function v(){fe().then(f=>{T.value=f.data||[]}).catch(()=>{})}function c(){D.value=!0,se(B.companyId).then(f=>{const t=f.data;Object.keys(a.value).forEach(y=>{t[y]!==void 0&&(a.value[y]=t[y])})}).catch(()=>{}).finally(()=>{D.value=!1})}function M(){m.value.validate(f=>{if(!f)return;q.value=!0,(F.value?me(B.companyId,a.value):re(a.value)).then(y=>{Z.success(y.msg||"保存成功"),O("success"),S.value=!1}).catch(()=>{}).finally(()=>{q.value=!1})})}return(f,t)=>{const y=n("el-divider"),$=n("el-option"),U=n("el-select"),u=n("el-form-item"),w=n("el-input"),x=n("el-col"),C=n("el-row"),k=n("el-switch"),r=n("el-input-number"),h=n("el-form"),K=n("el-button"),R=n("el-drawer"),J=H("loading"),P=H("db-click");return s(),p(R,{title:F.value?"编辑物流公司":"新增物流公司",modelValue:S.value,"onUpdate:modelValue":t[22]||(t[22]=o=>S.value=o),direction:"rtl",size:"80%",onClose:G,onOpened:V},{default:l(()=>[z("div",ge,[E((s(),p(h,{ref_key:"formRef",ref:m,model:a.value,rules:j.value,"label-width":"140px"},{default:l(()=>[e(y,{"content-position":"left"},{default:l(()=>[...t[23]||(t[23]=[d("基本信息",-1)])]),_:1}),e(u,{label:"绑定驱动",prop:"driver_key"},{default:l(()=>[e(U,{modelValue:a.value.driver_key,"onUpdate:modelValue":t[0]||(t[0]=o=>a.value.driver_key=o),placeholder:"请选择驱动",style:{width:"100%"}},{default:l(()=>[(s(!0),Q(oe,null,ne(T.value,o=>(s(),p($,{key:o.value,label:o.label,value:o.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(C,{gutter:20},{default:l(()=>[e(x,{span:12},{default:l(()=>[e(u,{label:"快递公司名称",prop:"name"},{default:l(()=>[e(w,{modelValue:a.value.name,"onUpdate:modelValue":t[1]||(t[1]=o=>a.value.name=o),placeholder:"如:圆通速递"},null,8,["modelValue"])]),_:1})]),_:1}),e(x,{span:12},{default:l(()=>[e(u,{label:"快递公司编码",prop:"code"},{default:l(()=>[e(w,{modelValue:a.value.code,"onUpdate:modelValue":t[2]||(t[2]=o=>a.value.code=o),placeholder:"如:yuantong"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(C,{gutter:20},{default:l(()=>[e(x,{span:12},{default:l(()=>[e(u,{label:"状态"},{default:l(()=>[e(k,{"active-value":1,"inactive-value":0,modelValue:a.value.status,"onUpdate:modelValue":t[3]||(t[3]=o=>a.value.status=o),"active-text":"启用","inactive-text":"关闭",class:"defineSwitch"},null,8,["modelValue"])]),_:1})]),_:1}),e(x,{span:12},{default:l(()=>[e(u,{label:"展示"},{default:l(()=>[e(k,{"active-value":1,"inactive-value":0,modelValue:a.value.is_show,"onUpdate:modelValue":t[4]||(t[4]=o=>a.value.is_show=o),"active-text":"展示","inactive-text":"隐藏",class:"defineSwitch"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,{label:"排序"},{default:l(()=>[e(r,{modelValue:a.value.sort,"onUpdate:modelValue":t[5]||(t[5]=o=>a.value.sort=o),min:0,max:9999},null,8,["modelValue"])]),_:1}),e(y,{"content-position":"left"},{default:l(()=>[...t[24]||(t[24]=[d("月结账号",-1)])]),_:1}),e(C,{gutter:20},{default:l(()=>[e(x,{span:12},{default:l(()=>[e(u,{label:"启用月结账号"},{default:l(()=>[e(k,{"active-value":1,"inactive-value":0,modelValue:a.value.partner_id,"onUpdate:modelValue":t[6]||(t[6]=o=>a.value.partner_id=o),"active-text":"是","inactive-text":"否",class:"defineSwitch"},null,8,["modelValue"])]),_:1}),a.value.partner_id?(s(),p(u,{key:0,label:"月结账号"},{default:l(()=>[e(w,{modelValue:a.value.account,"onUpdate:modelValue":t[7]||(t[7]=o=>a.value.account=o),placeholder:"请输入月结账号"},null,8,["modelValue"])]),_:1})):N("",!0)]),_:1}),e(x,{span:12},{default:l(()=>[e(u,{label:"启用月结密钥"},{default:l(()=>[e(k,{"active-value":1,"inactive-value":0,modelValue:a.value.partner_key,"onUpdate:modelValue":t[8]||(t[8]=o=>a.value.partner_key=o),"active-text":"是","inactive-text":"否",class:"defineSwitch"},null,8,["modelValue"])]),_:1}),a.value.partner_key?(s(),p(u,{key:0,label:"月结密钥"},{default:l(()=>[e(w,{modelValue:a.value.key,"onUpdate:modelValue":t[9]||(t[9]=o=>a.value.key=o),placeholder:"请输入月结密钥"},null,8,["modelValue"])]),_:1})):N("",!0)]),_:1})]),_:1}),e(y,{"content-position":"left"},{default:l(()=>[...t[25]||(t[25]=[d("网点 / 揽件 / 客户",-1)])]),_:1}),e(C,{gutter:20},{default:l(()=>[e(x,{span:12},{default:l(()=>[e(u,{label:"启用网点"},{default:l(()=>[e(k,{"active-value":1,"inactive-value":0,modelValue:a.value.net,"onUpdate:modelValue":t[10]||(t[10]=o=>a.value.net=o),"active-text":"是","inactive-text":"否",class:"defineSwitch"},null,8,["modelValue"])]),_:1}),a.value.net?(s(),p(u,{key:0,label:"网点名称"},{default:l(()=>[e(w,{modelValue:a.value.net_name,"onUpdate:modelValue":t[11]||(t[11]=o=>a.value.net_name=o),placeholder:"请输入网点名称"},null,8,["modelValue"])]),_:1})):N("",!0)]),_:1}),e(x,{span:12},{default:l(()=>[e(u,{label:"启用揽件人"},{default:l(()=>[e(k,{"active-value":1,"inactive-value":0,modelValue:a.value.check_man,"onUpdate:modelValue":t[12]||(t[12]=o=>a.value.check_man=o),"active-text":"是","inactive-text":"否",class:"defineSwitch"},null,8,["modelValue"])]),_:1}),a.value.check_man?(s(),p(u,{key:0,label:"揽件人"},{default:l(()=>[e(w,{modelValue:a.value.courier_name,"onUpdate:modelValue":t[13]||(t[13]=o=>a.value.courier_name=o),placeholder:"请输入揽件人"},null,8,["modelValue"])]),_:1})):N("",!0)]),_:1})]),_:1}),e(C,{gutter:20},{default:l(()=>[e(x,{span:12},{default:l(()=>[e(u,{label:"启用客户名"},{default:l(()=>[e(k,{"active-value":1,"inactive-value":0,modelValue:a.value.partner_name,"onUpdate:modelValue":t[14]||(t[14]=o=>a.value.partner_name=o),"active-text":"是","inactive-text":"否",class:"defineSwitch"},null,8,["modelValue"])]),_:1}),a.value.partner_name?(s(),p(u,{key:0,label:"客户名"},{default:l(()=>[e(w,{modelValue:a.value.customer_name,"onUpdate:modelValue":t[15]||(t[15]=o=>a.value.customer_name=o),placeholder:"请输入客户名"},null,8,["modelValue"])]),_:1})):N("",!0)]),_:1}),e(x,{span:12},{default:l(()=>[e(u,{label:"启用编码"},{default:l(()=>[e(k,{"active-value":1,"inactive-value":0,modelValue:a.value.is_code,"onUpdate:modelValue":t[16]||(t[16]=o=>a.value.is_code=o),"active-text":"是","inactive-text":"否",class:"defineSwitch"},null,8,["modelValue"])]),_:1}),a.value.is_code?(s(),p(u,{key:0,label:"编码名称"},{default:l(()=>[e(w,{modelValue:a.value.code_name,"onUpdate:modelValue":t[17]||(t[17]=o=>a.value.code_name=o),placeholder:"请输入编码名称"},null,8,["modelValue"])]),_:1})):N("",!0)]),_:1})]),_:1}),e(y,{"content-position":"left"},{default:l(()=>[...t[26]||(t[26]=[d("打印机配置",-1)])]),_:1}),e(u,{label:"开启打印"},{default:l(()=>[e(k,{"active-value":1,"inactive-value":0,modelValue:a.value.print_open,"onUpdate:modelValue":t[18]||(t[18]=o=>a.value.print_open=o),"active-text":"开启","inactive-text":"关闭",class:"defineSwitch"},null,8,["modelValue"])]),_:1}),a.value.print_open?(s(),p(C,{key:0,gutter:20},{default:l(()=>[e(x,{span:12},{default:l(()=>[e(u,{label:"云打印机编号"},{default:l(()=>[e(w,{modelValue:a.value.siid,"onUpdate:modelValue":t[19]||(t[19]=o=>a.value.siid=o),placeholder:"请购买快递100二代云打印机"},null,8,["modelValue"])]),_:1})]),_:1}),e(x,{span:12},{default:l(()=>[e(u,{label:"快递模板ID"},{default:l(()=>[e(w,{modelValue:a.value.temp_id,"onUpdate:modelValue":t[20]||(t[20]=o=>a.value.temp_id=o),placeholder:"登录快递100后台获取"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):N("",!0)]),_:1},8,["model","rules"])),[[J,D.value]])]),z("div",Ve,[E((s(),p(K,{onClick:t[21]||(t[21]=o=>S.value=!1)},{default:l(()=>[...t[27]||(t[27]=[d("取消",-1)])]),_:1})),[[P]]),E((s(),p(K,{type:"primary",onClick:M,loading:q.value},{default:l(()=>[...t[28]||(t[28]=[d(" 保存 ",-1)])]),_:1},8,["loading"])),[[P]])])]),_:1},8,["title","modelValue"])}}}),ye=X(be,[["__scopeId","data-v-3cba7511"]]),we={class:"font-weight-bold"},xe={key:1,class:"text-muted"},ke=Object.assign({name:"expressCompany"},{__name:"company",setup(_,{expose:I}){const B=g([]),O=g(!1),m=g(!1),S=g(null);ee(()=>{D()});function D(){O.value=!0,ie().then(v=>{B.value=v.data.list||[],O.value=!1}).catch(()=>{O.value=!1})}function q(){S.value=null,m.value=!0}function T(v){S.value=v.id,m.value=!0}function a(){m.value=!1,D()}function j(v){_e(v.id,v.status).then(c=>{Z.success(c.msg||"修改成功")}).catch(()=>{v.status=v.status===1?0:1})}function F(v){ve(v.id,v.is_show).then(c=>{Z.success(c.msg||"修改成功")}).catch(()=>{v.is_show=v.is_show===1?0:1})}function V(v){ce({id:v.id,sort:v.sort}).then(c=>{Z.success(c.msg||"排序成功")}).catch(()=>{D()})}function G(v){pe(v.id).then(c=>{Z.success(c.msg||"删除成功"),D()}).catch(()=>{})}return I({getList:D}),(v,c)=>{const M=n("el-button"),f=n("el-col"),t=n("el-row"),y=n("el-input"),$=n("el-table-column"),U=n("el-tag"),u=n("el-switch"),w=n("el-popconfirm"),x=n("el-table"),C=H("db-click"),k=H("loading");return s(),Q("div",null,[e(t,{class:"mb14"},{default:l(()=>[e(f,{span:24},{default:l(()=>[E((s(),p(M,{type:"primary",onClick:q},{default:l(()=>[...c[1]||(c[1]=[z("i",{class:"el-icon-plus"},null,-1),d(" 新增物流公司 ",-1)])]),_:1})),[[C]])]),_:1})]),_:1}),E((s(),p(x,{data:B.value,"highlight-current-row":"","row-key":"id"},{default:l(()=>[e($,{label:"排序",width:"120",prop:"sort",align:"center"},{default:l(r=>[e(y,{modelValue:r.row.sort,"onUpdate:modelValue":h=>r.row.sort=h,type:"number",style:{width:"70px"},class:"sort-input-center",onChange:h=>V(r.row)},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),e($,{label:"快递公司","min-width":"140"},{default:l(r=>[z("span",we,b(r.row.name),1)]),_:1}),e($,{label:"编码",width:"120",prop:"code"},{default:l(r=>[e(U,null,{default:l(()=>[d(b(r.row.code),1)]),_:2},1024)]),_:1}),e($,{label:"绑定驱动",width:"120",prop:"driver_key"},{default:l(r=>[e(U,{type:"info"},{default:l(()=>[d(b(r.row.driver_key||"-"),1)]),_:2},1024)]),_:1}),e($,{label:"月结账号",width:"140",prop:"account"},{default:l(r=>[z("span",null,b(r.row.account||"-"),1)]),_:1}),e($,{label:"打印机",width:"120"},{default:l(r=>[r.row.print_open?(s(),p(U,{key:0,type:"success"},{default:l(()=>[...c[2]||(c[2]=[d("已配置",-1)])]),_:1})):(s(),Q("span",xe,"未开启"))]),_:1}),e($,{label:"展示",width:"120"},{default:l(r=>[e(u,{"active-value":1,"inactive-value":0,modelValue:r.row.is_show,"onUpdate:modelValue":h=>r.row.is_show=h,onChange:h=>F(r.row),"active-text":"展示","inactive-text":"隐藏",class:"defineSwitch"},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),e($,{label:"状态",width:"120"},{default:l(r=>[e(u,{"active-value":1,"inactive-value":0,modelValue:r.row.status,"onUpdate:modelValue":h=>r.row.status=h,onChange:h=>j(r.row),"active-text":"启用","inactive-text":"禁用",class:"defineSwitch"},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),e($,{label:"操作",fixed:"right",width:"140",align:"center"},{default:l(r=>[E((s(),p(M,{type:"text",onClick:h=>T(r.row)},{default:l(()=>[...c[3]||(c[3]=[d(" 编辑 ",-1)])]),_:1},8,["onClick"])),[[C]]),e(w,{title:"确认删除该物流公司?",onConfirm:h=>G(r.row)},{reference:l(()=>[E((s(),p(M,{type:"text",class:"text-danger"},{default:l(()=>[...c[4]||(c[4]=[d(" 删除 ",-1)])]),_:1})),[[C]])]),_:1},8,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[k,O.value]]),m.value?(s(),p(ye,{key:0,"company-id":S.value,onClose:c[0]||(c[0]=r=>m.value=!1),onSuccess:a},null,8,["company-id"])):N("",!0)])}}}),Ue=X(ke,[["__scopeId","data-v-c42f4b4e"]]);function Ce(){return L({url:"driver/express_template/config",method:"get"})}function he(_){return L({url:"driver/express_template/config",method:"post",data:_})}function Se(_){return L({url:"driver/express_template/dump_log/list",method:"get",params:_})}function De(_){return L({url:`driver/express_template/dump_log/${_}`,method:"get"})}const $e={class:"tab-content"},Le={class:"tab-content"},Ie=Object.assign({name:"ExpressSetting"},{__name:"index",setup(_){const I=()=>({open:0,siid:"",id:"",temp_id:"",com:"",to_name:"",to_tel:"",to_address:""}),B=g(null),O=g("config"),m=g(I()),S=g(!1),D=g(!1),q=g([]),T=g(!1),a=g(!1),j=g({order_sn:"",kuaidinum:"",status:""}),F=g(!1),V=g(null);de(O,f=>{f==="company"&&B.value&&B.value.getList(),f==="log"&&!a.value&&c()});function G(){S.value=!0,Ce().then(f=>{m.value={...I(),...f.data||{}}}).finally(()=>{S.value=!1})}function v(){D.value=!0,he(m.value).then(f=>Z.success(f.msg||"保存成功")).catch(f=>Z.error(f.msg||"保存失败")).finally(()=>{D.value=!1})}function c(){T.value=!0,Se(j.value).then(f=>{q.value=f.data.list||[],a.value=!0}).finally(()=>{T.value=!1})}function M(f){De(f.id).then(t=>{V.value=t.data,F.value=!0})}return G(),(f,t)=>{const y=n("el-divider"),$=n("el-switch"),U=n("el-form-item"),u=n("el-input"),w=n("el-button"),x=n("el-form"),C=n("el-tab-pane"),k=n("el-col"),r=n("el-option"),h=n("el-select"),K=n("el-row"),R=n("el-table-column"),J=n("el-tag"),P=n("el-table"),o=n("el-tabs"),le=n("el-card"),A=n("el-descriptions-item"),te=n("el-descriptions"),ae=n("el-dialog"),W=H("db-click"),Y=H("loading");return s(),Q("div",null,[e(le,{bordered:!1,shadow:"never",class:"ivu-mt setting-card","body-style":{padding:"0 20px 20px"}},{default:l(()=>[e(o,{modelValue:O.value,"onUpdate:modelValue":t[11]||(t[11]=i=>O.value=i)},{default:l(()=>[e(C,{label:"基础设置",name:"config"},{default:l(()=>[E((s(),p(x,{model:m.value,"label-width":"140px",class:"tab-content"},{default:l(()=>[e(y,{"content-position":"left"},{default:l(()=>[...t[13]||(t[13]=[d("打印设置",-1)])]),_:1}),e(U,{label:"电子面单打印"},{default:l(()=>[e($,{modelValue:m.value.open,"onUpdate:modelValue":t[0]||(t[0]=i=>m.value.open=i),"active-value":1,"inactive-value":0,"active-text":"开启","inactive-text":"关闭",class:"defineSwitch"},null,8,["modelValue"])]),_:1}),e(U,{label:"云打印机编号"},{default:l(()=>[e(u,{modelValue:m.value.siid,"onUpdate:modelValue":t[1]||(t[1]=i=>m.value.siid=i),placeholder:"请输入云打印机编号",class:"field-md"},null,8,["modelValue"]),t[14]||(t[14]=z("div",{class:"form-tip"},"不填写时返回面单图片,由管理员手动打印。",-1))]),_:1}),e(y,{"content-position":"left"},{default:l(()=>[...t[15]||(t[15]=[d("默认快递公司",-1)])]),_:1}),e(U,{label:"快递公司编码"},{default:l(()=>[e(u,{modelValue:m.value.com,"onUpdate:modelValue":t[2]||(t[2]=i=>m.value.com=i),placeholder:"如:ZTO",class:"field-md"},null,8,["modelValue"])]),_:1}),e(U,{label:"快递公司ID"},{default:l(()=>[e(u,{modelValue:m.value.id,"onUpdate:modelValue":t[3]||(t[3]=i=>m.value.id=i),placeholder:"请输入快递公司ID",class:"field-md"},null,8,["modelValue"])]),_:1}),e(U,{label:"默认模板ID"},{default:l(()=>[e(u,{modelValue:m.value.temp_id,"onUpdate:modelValue":t[4]||(t[4]=i=>m.value.temp_id=i),placeholder:"请输入面单模板ID",class:"field-md"},null,8,["modelValue"])]),_:1}),e(y,{"content-position":"left"},{default:l(()=>[...t[16]||(t[16]=[d("默认寄件人",-1)])]),_:1}),e(U,{label:"发货人姓名"},{default:l(()=>[e(u,{modelValue:m.value.to_name,"onUpdate:modelValue":t[5]||(t[5]=i=>m.value.to_name=i),placeholder:"请输入发货人姓名",class:"field-md"},null,8,["modelValue"])]),_:1}),e(U,{label:"发货人电话"},{default:l(()=>[e(u,{modelValue:m.value.to_tel,"onUpdate:modelValue":t[6]||(t[6]=i=>m.value.to_tel=i),placeholder:"请输入发货人电话",class:"field-md"},null,8,["modelValue"])]),_:1}),e(U,{label:"发货人地址"},{default:l(()=>[e(u,{modelValue:m.value.to_address,"onUpdate:modelValue":t[7]||(t[7]=i=>m.value.to_address=i),placeholder:"请输入发货人详细地址",class:"field-lg"},null,8,["modelValue"])]),_:1}),e(U,null,{default:l(()=>[E((s(),p(w,{type:"primary",loading:D.value,onClick:v},{default:l(()=>[...t[17]||(t[17]=[d("保存配置",-1)])]),_:1},8,["loading"])),[[W]])]),_:1})]),_:1},8,["model"])),[[Y,S.value]])]),_:1}),e(C,{label:"物流公司",name:"company"},{default:l(()=>[z("div",$e,[e(Ue,{ref_key:"companyComponent",ref:B},null,512)])]),_:1}),e(C,{label:"打印记录",name:"log"},{default:l(()=>[z("div",Le,[e(K,{class:"mb20",gutter:16},{default:l(()=>[e(k,{span:6},{default:l(()=>[e(u,{modelValue:j.value.order_sn,"onUpdate:modelValue":t[8]||(t[8]=i=>j.value.order_sn=i),placeholder:"订单编号",clearable:""},null,8,["modelValue"])]),_:1}),e(k,{span:6},{default:l(()=>[e(u,{modelValue:j.value.kuaidinum,"onUpdate:modelValue":t[9]||(t[9]=i=>j.value.kuaidinum=i),placeholder:"快递单号",clearable:""},null,8,["modelValue"])]),_:1}),e(k,{span:6},{default:l(()=>[e(h,{modelValue:j.value.status,"onUpdate:modelValue":t[10]||(t[10]=i=>j.value.status=i),placeholder:"打印状态",clearable:""},{default:l(()=>[e(r,{label:"成功",value:1}),e(r,{label:"失败",value:0})]),_:1},8,["modelValue"])]),_:1}),e(k,{span:6},{default:l(()=>[E((s(),p(w,{type:"primary",onClick:c},{default:l(()=>[...t[18]||(t[18]=[d("查询",-1)])]),_:1})),[[W]])]),_:1})]),_:1}),E((s(),p(P,{data:q.value,"row-key":"id"},{default:l(()=>[e(R,{label:"订单编号","min-width":"160",prop:"order_sn"}),e(R,{label:"快递公司","min-width":"100",prop:"com_name"}),e(R,{label:"快递单号","min-width":"140",prop:"kuaidinum"}),e(R,{label:"打印方式",width:"100"},{default:l(i=>[i.row.print_type==="CLOUD"?(s(),p(J,{key:0},{default:l(()=>[...t[19]||(t[19]=[d("云打印",-1)])]),_:1})):(s(),p(J,{key:1,type:"info"},{default:l(()=>[...t[20]||(t[20]=[d("图片",-1)])]),_:1}))]),_:1}),e(R,{label:"状态",width:"80"},{default:l(i=>[e(J,{type:i.row.status===1?"success":"danger"},{default:l(()=>[d(b(i.row.status===1?"成功":"失败"),1)]),_:2},1032,["type"])]),_:1}),e(R,{label:"打印时间","min-width":"160",prop:"add_time"}),e(R,{label:"操作",fixed:"right",width:"100",align:"center"},{default:l(i=>[E((s(),p(w,{type:"text",onClick:Ae=>M(i.row)},{default:l(()=>[...t[21]||(t[21]=[d("详情",-1)])]),_:1},8,["onClick"])),[[W]])]),_:1})]),_:1},8,["data"])),[[Y,T.value]])])]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(ae,{title:"打印记录详情",modelValue:F.value,"onUpdate:modelValue":t[12]||(t[12]=i=>F.value=i),width:"600px"},{default:l(()=>[V.value?(s(),p(te,{key:0,column:2,border:""},{default:l(()=>[e(A,{label:"订单编号"},{default:l(()=>[d(b(V.value.order_sn),1)]),_:1}),e(A,{label:"快递公司"},{default:l(()=>[d(b(V.value.com_name),1)]),_:1}),e(A,{label:"快递单号"},{default:l(()=>[d(b(V.value.kuaidinum),1)]),_:1}),e(A,{label:"模板ID"},{default:l(()=>[d(b(V.value.temp_id),1)]),_:1}),e(A,{label:"打印机编号"},{default:l(()=>[d(b(V.value.siid||"-"),1)]),_:1}),e(A,{label:"收件人"},{default:l(()=>[d(b(V.value.to_name),1)]),_:1}),e(A,{label:"收件电话"},{default:l(()=>[d(b(V.value.to_tel),1)]),_:1}),e(A,{label:"收件地址",span:2},{default:l(()=>[d(b(V.value.to_addr),1)]),_:1}),e(A,{label:"寄件人"},{default:l(()=>[d(b(V.value.from_name),1)]),_:1}),e(A,{label:"寄件电话"},{default:l(()=>[d(b(V.value.from_tel),1)]),_:1}),e(A,{label:"寄件地址",span:2},{default:l(()=>[d(b(V.value.from_addr),1)]),_:1}),V.value.error_msg?(s(),p(A,{key:0,label:"错误信息",span:2},{default:l(()=>[d(b(V.value.error_msg),1)]),_:1})):N("",!0)]),_:1})):N("",!0)]),_:1},8,["modelValue"])])}}}),Fe=X(Ie,[["__scopeId","data-v-5272a480"]]);export{Fe as default}; diff --git a/backend/public/admin/system_static/index-CjpKS8Xv.css b/backend/public/admin/system_static/index-CjpKS8Xv.css new file mode 100644 index 000000000..11f6290a5 --- /dev/null +++ b/backend/public/admin/system_static/index-CjpKS8Xv.css @@ -0,0 +1 @@ +.ivu-mt .type .item[data-v-c2693b1c]{margin:3px 0}.tabform[data-v-c2693b1c]{margin-bottom:10px}.Refresh[data-v-c2693b1c]{font-size:12px;color:var(--prev-color-primary);cursor:pointer}.ivu-form-item[data-v-c2693b1c]{margin-bottom:10px}.status[data-v-c2693b1c] .item~.item{margin-left:6px}.status[data-v-c2693b1c] .statusVal{margin-bottom:7px} diff --git a/backend/public/admin/system_static/index-Cl9SCNe7.js b/backend/public/admin/system_static/index-Cl9SCNe7.js new file mode 100644 index 000000000..d481f68a7 --- /dev/null +++ b/backend/public/admin/system_static/index-Cl9SCNe7.js @@ -0,0 +1 @@ +import{a as K,k as r,u as R,y as t,z as p,s as j,B as i,C as a,j as n,$ as y,F as S,D as A,a0 as k,H as B,A as E,l as h,p as ee,Z as T}from"./element-plus-C_ZDq0cz.js";import{w as O,_ as P,b as te}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function le(g){return O({url:"driver/sms_driver/list",method:"get",params:g})}function ae(g,w){return O({url:`driver/sms_driver/set_status/${g}`,method:"put",data:{status:w}})}function oe(g){return O({url:`driver/sms_driver/detail/${g}`,method:"get"})}function ne(g,w){return O({url:`driver/sms_driver/save_config/${g}`,method:"post",data:w})}const se={key:7,class:"form-tip"},ue={class:"help-doc-title"},re={class:"help-doc-content"},de={key:0,class:"help-doc-steps"},ie=["href"],ce={class:"form-actions"},me=Object.assign({name:"SmsDriverEdit"},{__name:"edit",props:{driverId:{type:[Number,String],default:null}},emits:["close","success"],setup(g,{emit:w}){const C=g,U=w,x=te(),I=h(null),$=h(!1),_=h({driver_name:"",sort:0,status:0}),q=h({driver_name:[{required:!0,message:"请输入驱动名称",trigger:"blur"}],sort:[{type:"number",required:!0,message:"请输入排序",trigger:"blur"}]}),L=h([]),c=h([]),b=ee(()=>{const v={};return L.value.forEach(l=>{const s=l.group||"配置";v[s]||(v[s]={name:s,fields:[]}),v[s].fields.push(l)}),Object.values(v)});K(()=>{z()});function z(){const v=C.driverId||x&&x.params.id;v&&($.value=!0,oe(v).then(l=>{var V;const s=l.data;_.value={driver_name:s.driver_name||"",sort:s.sort||0,status:s.status||0},L.value=(s.config_fields||[]).map(f=>({...f,value:f.value!==void 0&&f.value!==null&&f.value!==""?f.value:f.default!==void 0?f.default:""}));const u=(V=s.driver_info)==null?void 0:V.help_doc;u&&(u.steps&&u.steps.length>0||u.link)?c.value=[u]:c.value=[]}).catch(()=>{}).finally(()=>{$.value=!1}))}function D(){I.value.validate(v=>{if(!v)return;const l=C.driverId||x&&x.params.id,s={driver_name:_.value.driver_name,sort:_.value.sort,status:_.value.status};L.value.forEach(u=>{s[u.field]=u.value}),ne(l,s).then(u=>{T.success(u.msg||"保存成功"),U("success")}).catch(u=>{T.error(u.msg||"保存失败")})})}return(v,l)=>{const s=r("el-divider"),u=r("el-input"),V=r("el-form-item"),f=r("el-option"),M=r("el-select"),G=r("el-radio"),d=r("el-radio-group"),N=r("el-switch"),Q=r("el-input-number"),W=r("el-tag"),Z=r("el-button"),X=r("el-form"),J=R("db-click"),Y=R("loading");return t(),p("div",null,[j((t(),i(X,{ref_key:"formRef",ref:I,model:_.value,rules:q.value,"label-width":"100px"},{default:a(()=>[n(s,{"content-position":"left"},{default:a(()=>[...l[4]||(l[4]=[y("基本信息",-1)])]),_:1}),n(V,{label:"驱动名称",prop:"driver_name"},{default:a(()=>[n(u,{modelValue:_.value.driver_name,"onUpdate:modelValue":l[0]||(l[0]=m=>_.value.driver_name=m),placeholder:"请输入驱动名称"},null,8,["modelValue"])]),_:1}),b.value.length>0?(t(!0),p(S,{key:0},A(b.value,(m,F)=>(t(),p(S,{key:"group-"+F},[n(s,{"content-position":"left",style:{"margin-top":"20px"}},{default:a(()=>[y(k(m.name),1)]),_:2},1024),(t(!0),p(S,null,A(m.fields,(e,H)=>(t(),i(V,{key:"field-"+F+"-"+H,label:e.label},{default:a(()=>[e.type==="text"?(t(),i(u,{key:0,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,disabled:e.readonly,placeholder:e.placeholder||"请输入"+e.label},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"])):e.type==="password"?(t(),i(u,{key:1,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,type:"text",disabled:e.readonly,placeholder:e.placeholder||"请输入"+e.label},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"])):e.type==="textarea"?(t(),i(u,{key:2,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,type:"textarea",rows:3,disabled:e.readonly,placeholder:e.placeholder||"请输入"+e.label},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"])):e.type==="select"?(t(),i(M,{key:3,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,disabled:e.readonly,placeholder:"请选择"+e.label},{default:a(()=>[(t(!0),p(S,null,A(e.options,o=>(t(),i(f,{key:o.value,label:o.label,value:o.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled","placeholder"])):e.type==="radio"?(t(),i(d,{key:4,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,disabled:e.readonly},{default:a(()=>[(t(!0),p(S,null,A(e.options,o=>(t(),i(G,{key:o.value,label:o.value,value:o.value},{default:a(()=>[y(k(o.label),1)]),_:2},1032,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])):e.type==="switch"?(t(),i(N,{key:5,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,disabled:e.readonly,"active-value":"1","inactive-value":"0",class:"defineSwitch"},null,8,["modelValue","onUpdate:modelValue","disabled"])):(t(),i(u,{key:6,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,disabled:e.readonly,placeholder:"请输入"+e.label},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"])),e.tip?(t(),p("div",se,k(e.tip),1)):B("",!0)]),_:2},1032,["label"]))),128))],64))),128)):B("",!0),n(s,{"content-position":"left"},{default:a(()=>[...l[5]||(l[5]=[y("其它设置",-1)])]),_:1}),n(V,{label:"状态",prop:"status"},{default:a(()=>[n(N,{"active-value":1,"inactive-value":0,modelValue:_.value.status,"onUpdate:modelValue":l[1]||(l[1]=m=>_.value.status=m),"active-text":"开启","inactive-text":"关闭",class:"defineSwitch"},null,8,["modelValue"]),l[6]||(l[6]=E("div",{class:"form-tip"},"短信驱动为互斥模式,启用当前驱动将自动禁用其他驱动",-1))]),_:1}),n(V,{label:"排序",prop:"sort"},{default:a(()=>[n(Q,{modelValue:_.value.sort,"onUpdate:modelValue":l[2]||(l[2]=m=>_.value.sort=m),min:0,max:9999},null,8,["modelValue"])]),_:1}),c.value.length>0?(t(),p(S,{key:1},[n(s,{"content-position":"left"},{default:a(()=>[...l[7]||(l[7]=[y("帮助文档",-1)])]),_:1}),(t(!0),p(S,null,A(c.value,(m,F)=>(t(),p("div",{key:F,class:"help-doc-module"},[E("div",ue,k(m.title||"参考文档"),1),E("div",re,[m.steps&&m.steps.length>0?(t(),p("ol",de,[(t(!0),p(S,null,A(m.steps,(e,H)=>(t(),p("li",{key:H},k(e),1))),128))])):B("",!0),m.link?(t(),i(W,{key:1,type:"info",class:"help-doc-tag"},{default:a(()=>[E("a",{href:m.link,target:"_blank",class:"help-doc-link"},"查看帮助文档",8,ie)]),_:2},1024)):B("",!0)])]))),128))],64)):B("",!0),E("div",ce,[j((t(),i(Z,{type:"primary",onClick:D},{default:a(()=>[...l[8]||(l[8]=[y(" 保存 ",-1)])]),_:1})),[[J]]),j((t(),i(Z,{onClick:l[3]||(l[3]=m=>v.$emit("close"))},{default:a(()=>[...l[9]||(l[9]=[y(" 取消 ",-1)])]),_:1})),[[J]])])]),_:1},8,["model","rules"])),[[Y,$.value]])])}}}),ve=P(me,[["__scopeId","data-v-f33a3bef"]]),pe={class:"font-weight-bold"},_e=Object.assign({name:"smsDriver"},{__name:"index",setup(g){const w=h([]),C=h(!1),U=h(!1),x=h(null),I=h(null);K(()=>{$()});function $(){C.value=!0,le().then(c=>{w.value=c.data||[],C.value=!1}).catch(()=>{C.value=!1})}function _(c){ae(c.id,c.status).then(b=>{T.success(b.msg||"修改成功"),$()}).catch(()=>{c.status=c.status===1?0:1})}function q(c){x.value=c,I.value=c.id,U.value=!0}function L(){U.value=!1,$()}return(c,b)=>{const z=r("pages-header"),D=r("el-table-column"),v=r("el-tag"),l=r("el-switch"),s=r("el-button"),u=r("el-table"),V=r("el-card"),f=r("el-drawer"),M=R("db-click"),G=R("loading");return t(),p("div",null,[n(z,{class:"mb16",title:c.$route.meta.title},null,8,["title"]),n(V,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:a(()=>[j((t(),i(u,{data:w.value,ref:"table","highlight-current-row":"","row-key":"id"},{default:a(()=>[n(D,{label:"排序",width:"80",prop:"sort"},{default:a(d=>[E("span",null,k(d.row.sort),1)]),_:1}),n(D,{label:"驱动名称","min-width":"150"},{default:a(d=>[E("span",pe,k(d.row.driver_name),1)]),_:1}),n(D,{label:"驱动标识","min-width":"120"},{default:a(d=>[n(v,null,{default:a(()=>[y(k(d.row.driver_key),1)]),_:2},1024)]),_:1}),n(D,{label:"类型","min-width":"100"},{default:a(d=>[n(v,{type:d.row.is_builtin?"success":"primary"},{default:a(()=>[y(k(d.row.is_builtin?"内置驱动":"扩展驱动"),1)]),_:2},1032,["type"])]),_:1}),n(D,{label:"状态",width:"120"},{default:a(d=>[n(l,{"active-value":1,"inactive-value":0,modelValue:d.row.status,"onUpdate:modelValue":N=>d.row.status=N,onChange:N=>_(d.row),"active-text":"开启","inactive-text":"关闭",class:"defineSwitch"},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),n(D,{label:"操作",fixed:"right",width:"150",align:"center"},{default:a(d=>[j((t(),i(s,{type:"text",onClick:N=>q(d.row)},{default:a(()=>[...b[2]||(b[2]=[y(" 配置 ",-1)])]),_:1},8,["onClick"])),[[M]])]),_:1})]),_:1},8,["data"])),[[G,C.value]])]),_:1}),n(f,{title:"编辑 - "+(x.value?x.value.driver_name:""),modelValue:U.value,"onUpdate:modelValue":b[1]||(b[1]=d=>U.value=d),direction:"rtl",size:"600px"},{default:a(()=>[U.value?(t(),i(ve,{key:0,"driver-id":I.value,onClose:b[0]||(b[0]=d=>U.value=!1),onSuccess:L},null,8,["driver-id"])):B("",!0)]),_:1},8,["title","modelValue"])])}}}),Ve=P(_e,[["__scopeId","data-v-e47eca03"]]);export{Ve as default}; diff --git a/backend/public/admin/system_static/index-CldgT2Ws.js b/backend/public/admin/system_static/index-CldgT2Ws.js new file mode 100644 index 000000000..26b6e9faf --- /dev/null +++ b/backend/public/admin/system_static/index-CldgT2Ws.js @@ -0,0 +1 @@ +import{l as n,f as ye,a as we,J as be,k as c,u as Se,y as o,z as i,j as u,C as l,A as s,$ as p,a0 as r,W as Le,H as _,s as T,B as V,F as P,D as $,a1 as ee,Z as w}from"./element-plus-C_ZDq0cz.js";import{x as Te,_ as Ve,h as Ue,u as Ae,bB as Ce,S as Ie,K as D}from"./index-DHL7RTL2.js";import{P as Me,Q as He,R as Be,S as Ee,T as Ge,U as xe,V as Ne}from"./system-C_6vcZAB.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const Pe=Te("upgrade",()=>{const C=n(!1);function I(k){C.value=k}return{toggleStatus:C,TOGGLE_STATUS:I}},{persist:!0}),$e={class:"upgrade"},De={class:"header"},Oe={class:"num"},je={class:"info title"},ze={key:0},Fe={key:1},qe={key:0,class:"contentTime"},Ke=["onMouseenter"],Re={class:"time"},Je={class:"info"},Qe={style:{"white-space":"pre-wrap"}},We=["innerHTML"],Ze={key:1,height:"550"},Xe={class:"contentTime"},Ye=["onMouseenter"],et={class:"time"},tt={key:0},at={class:"info"},st={style:{"white-space":"pre-wrap"}},lt=["innerHTML"],ot={class:"header-modal"},nt={class:"describe"},rt=["innerHTML"],ut={class:"dialog-footer"},it={class:"header-modal2"},dt={key:0,class:"describe"},ct={class:"demo-i-circle-custom"},vt={class:"proportion"},pt={key:1,class:"describe"},_t={key:0,class:"dialog-footer"},ft=Object.assign({name:"systemUpgradeclient"},{__name:"index",setup(C){const I=Ue(),k=Pe(),te=Ae(),b=n("1"),h=n(!1),g=n(!1),M=n(!1),H=n(""),ae=[{label:"系统升级",value:1},{label:"升级记录",value:2}],B=n([]),S=n([]),O=n([]),v=n({speed:0}),E=n([]),y=n({}),j=n(null),U=n(1),z=n(15);let m=null;const G=n(void 0),F=n(null),se=n(!1),x=n(0);ye(()=>v.value.speed,{handler(t,e){t==="100.0"&&clearInterval(m)}});function le(){U.value=1,b.value==1?K():(S.value=[],q())}async function oe(){let t={page:U.value,limit:z.value},e=await He(t);B.value=e.data.list,B.value=e.data.list}function q(){let t={page:U.value,limit:z.value};Ge(t).then(e=>{S.value=[...S.value,...e.data.list],x.value=e.data.count,S.value.length{w.error(e.msg)})}async function K(){let t=await Be();O.value=t.data;let e=t.data[0];if(k.toggleStatus||y.value.force_reminder){const d=t.data.find(A=>A.force_reminder===1);F.value=d.package_key,H.value=d.first_version+"."+d.second_version+"."+d.third_version+"."+d.fourth_version}else G.value=O.value[0].package_key,H.value=e.first_version+"."+e.second_version+"."+e.third_version+"."+e.fourth_version}function ne(){(k.toggleStatus||y.value.force_reminder)&&(G.value=F.value),xe(G.value).then(t=>{t.status==200?v.value.speed!=="100.0"?m=setInterval(()=>{setTimeout(()=>{ue()},0)},5e3):(clearInterval(m),g.value=!1):g.value=!1}).catch(t=>{clearInterval(m),w.error("下载终止"),g.value=!1})}function re(t){window.open(t,"_blank")}function ue(){Ne().then(t=>{v.value=t.data,j.value=t.status}).catch(t=>{clearInterval(m),w.error(t.msg)})}function N(){Ee().then(t=>{E.value=t.data,h.value=!0}).catch(t=>{w.error(t.msg)})}function ie(){Me().then(t=>{y.value=t.data,t.data.force_reminder&&(h.value=!0,N())}).catch(t=>{w.error(t.msg)})}function de(t){h.value=!0,N()}function ce(){h.value=!1,g.value=!0,ne(),k.TOGGLE_STATUS(!1)}function ve(){h.value=!1,k.TOGGLE_STATUS(!1)}function pe(){g.value=!1,clearInterval(m),Ce().then(t=>{w.success("您已成功退出"),I.replace(Ie.routePre+"/login"),localStorage.clear(),D("token"),D("expires_time"),D("uuid")}).catch(t=>{})}function _e(){g.value=!1,clearInterval(m)}function R(t,e){M.value=e}return we(async()=>{ie(),await oe(),await K(),k.toggleStatus&&(se.value=!0,N())}),be(()=>{clearInterval(m)}),(t,e)=>{const d=c("el-button"),A=c("el-card"),fe=c("el-tab-pane"),ge=c("el-tabs"),J=c("el-collapse-item"),Q=c("el-collapse"),W=c("el-timeline-item"),Z=c("el-timeline"),me=c("Icon"),X=c("el-dialog"),ke=c("i-circle"),he=c("el-progress"),L=Se("db-click");return o(),i("div",$e,[u(A,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:l(()=>[s("div",De,[s("div",null,[e[4]||(e[4]=p(" 当前版本",-1)),e[5]||(e[5]=s("span",{class:"v"},null,-1)),s("span",Oe,r(Le(te).version),1)]),s("div",je,[e[6]||(e[6]=p(" 更新说明: ",-1)),y.value.status!=1?(o(),i("span",ze,"已升级至最新版本,无需更新")):_("",!0),y.value.status==1?(o(),i("ul",Fe,[s("li",null,r(y.value.title),1)])):_("",!0)]),b.value==1&&y.value.status==1?T((o(),V(d,{key:0,type:"primary",class:"primary btn update",onClick:e[0]||(e[0]=a=>de())},{default:l(()=>[...e[7]||(e[7]=[p("立即更新",-1)])]),_:1})),[[L]]):_("",!0)])]),_:1}),u(A,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:l(()=>[u(ge,{modelValue:b.value,"onUpdate:modelValue":e[1]||(e[1]=a=>b.value=a),onTabChange:le},{default:l(()=>[(o(),i(P,null,$(ae,a=>u(fe,{label:a.label,name:a.value.toString(),key:a.id},null,8,["label","name"])),64))]),_:1},8,["modelValue"]),b.value==1?(o(),i("div",qe,[(o(!0),i(P,null,$(B.value,(a,f)=>(o(),i("div",{class:ee(["acea-row row-top on",{active:f==M.value}]),onMouseenter:Y=>R(a.id,f),key:f},[s("div",Re,r(a.release_time),1),u(Z,{class:"list"},{default:l(()=>[u(W,null,{default:l(()=>[u(Q,null,{default:l(()=>[u(J,null,{title:l(()=>[p(r(a.title)+" v"+r(a.first_version)+"."+r(a.second_version)+"."+r(a.third_version)+"."+r(a.fourth_version),1),e[8]||(e[8]=s("i",{class:"el-icon-arrow-down"},null,-1))]),default:l(()=>[s("div",Je,[s("ul",Qe,[s("li",{innerHTML:a.content},null,8,We)])])]),_:2},1024)]),_:2},1024)]),_:2},1024),a.client_package_link?T((o(),V(d,{key:0,type:"success",class:"primary btn",onClick:Y=>re(a.client_package_link)},{default:l(()=>[...e[9]||(e[9]=[p("移动端源码",-1)])]),_:1},8,["onClick"])),[[L]]):_("",!0)]),_:2},1024)],42,Ke))),128))])):_("",!0),b.value==2?(o(),i("div",Ze,[s("div",Xe,[(o(!0),i(P,null,$(S.value,(a,f)=>(o(),i("div",{class:ee(["acea-row row-top off",{active:f==M.value}]),onMouseenter:Y=>R(a.id,f),key:f},[s("div",et,[f==0?(o(),i("div",tt,"最近更新")):_("",!0),s("div",null,r(a.upgrade_time),1)]),u(Z,{class:"list"},{default:l(()=>[u(W,null,{dot:l(()=>[u(me,{type:f==0?"md-radio-button-on":"md-radio-button-off"},null,8,["type"])]),default:l(()=>[u(Q,null,{default:l(()=>[u(J,null,{title:l(()=>[p(r(a.title)+" v"+r(a.first_version)+"."+r(a.second_version)+"."+r(a.third_version)+"."+r(a.fourth_version),1),e[10]||(e[10]=s("i",{type:"el-icon-arrow-down"},null,-1))]),default:l(()=>[s("div",at,[s("ul",st,[s("li",{innerHTML:a.content},null,8,lt)])])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)],42,Ye))),128))])])):_("",!0)]),_:1}),u(X,{modelValue:h.value,"onUpdate:modelValue":e[2]||(e[2]=a=>h.value=a),width:"470px","custom-clas":"vertical-center-modal","show-close":!0,"close-on-click-modal":!1},{header:l(()=>[s("p",ot,[s("span",null,r(E.value.title),1)])]),footer:l(()=>[s("span",ut,[T((o(),V(d,{onClick:ve},{default:l(()=>[...e[11]||(e[11]=[p("拒 绝",-1)])]),_:1})),[[L]]),T((o(),V(d,{type:"primary",onClick:ce},{default:l(()=>[...e[12]||(e[12]=[p("同 意",-1)])]),_:1})),[[L]])])]),default:l(()=>[s("div",nt,[s("p",{innerHTML:E.value.content},null,8,rt)])]),_:1},8,["modelValue"]),u(X,{modelValue:g.value,"onUpdate:modelValue":e[3]||(e[3]=a=>g.value=a),width:"470px","custom-clas":"vertical-center-modal","show-close":!0,"close-on-click-modal":!1},{header:l(()=>[s("p",it,[s("span",null,"升级至v"+r(H.value),1)])]),footer:l(()=>[v.value.speed=="100.0"?(o(),i("span",_t,[T((o(),V(d,{onClick:_e},{default:l(()=>[...e[15]||(e[15]=[p("取 消",-1)])]),_:1})),[[L]]),T((o(),V(d,{type:"primary",onClick:pe},{default:l(()=>[...e[16]||(e[16]=[p("确 认",-1)])]),_:1})),[[L]])])):_("",!0)]),default:l(()=>[v.value.speed!="100.0"||j.value!="200"?(o(),i("div",dt,[u(ke,{size:140,"trail-width":4,"stroke-width":5,percent:Number(v.value.speed),"stroke-linecap":"square","stroke-color":"#43a3fb"},{default:l(()=>[s("div",ct,[s("p",null,r(v.value.tip||"升级中"),1)])]),_:1},8,["percent"]),s("div",vt,r(v.value.speed?v.value.speed+"%":""),1),e[13]||(e[13]=s("div",{class:"wait"},"正在更新,请耐心等候~",-1))])):_("",!0),v.value.speed=="100.0"?(o(),i("div",pt,[u(he,{type:"circle",percentage:100,status:"success"}),e[14]||(e[14]=s("div",{class:"success"},"升级成功",-1))])):_("",!0)]),_:1},8,["modelValue"])])}}}),bt=Ve(ft,[["__scopeId","data-v-6406971c"]]);export{bt as default}; diff --git a/backend/public/admin/system_static/index-ClezV1By.js b/backend/public/admin/system_static/index-ClezV1By.js new file mode 100644 index 000000000..612debeed --- /dev/null +++ b/backend/public/admin/system_static/index-ClezV1By.js @@ -0,0 +1 @@ +import{Z as y,k as w,u as ne,y as o,z as s,A as i,j as r,C as m,s as k,B as W,$ as V,W as le,a2 as b,F as N,D as A,ab as $,a0 as E,H as D,l as C,r as oe,n as I,p as se}from"./element-plus-C_ZDq0cz.js";import{_ as ae,h as ie,S as ce,m as z}from"./index-DHL7RTL2.js";import{w as re}from"./app-hJ6HxRad.js";const ue={class:"contentBox"},de=["onClick"],me={key:0},fe=["onMouseenter","onMouseleave"],pe={class:"news_sp"},ve={key:1,class:"news_cent"},_e={key:0,class:"news_sp1"},he={key:1,class:"news_cent_img"},ge=["src"],ye={class:"some-info"},we={key:0,class:"waterfall-over"},ke=Object.assign({name:"newsCategory"},{__name:"index",props:{scrollerHeight:{type:String,default:"100%"},contentTop:{type:String,default:"0"},contentWidth:{type:String,default:"100%"},maxCols:{type:Number,default:5},isShow:{type:Boolean,default:!1},isShowSend:{type:Boolean,default:!1},userIds:{type:Array,default:()=>{}}},emits:["getCentList"],setup(u,{emit:F}){const B=u,O=F,P=ie(),L=ce.routePre,f=C([]),c=oe({cate_name:"",page:1,limit:10}),R=document.body.clientWidth-200,M=C(1),T=C(null),p=C(!1),_=C(!1),U=se(()=>Math.max(1,Math.min(8,Math.floor(M.value))));B.maxCols===5?M.value=R/240:M.value=B.maxCols,x();function Z(e,t,d){let v={title:t,url:"app/wechat/push",method:"post",ids:{id:e.id,user_ids:B.userIds}};z(v).then(l=>{y.success(l.msg)}).catch(l=>{y.error(l.msg)})}function q(e,{index:t,value:d}){e.preventDefault(),e.target.tagName.toLowerCase()==="div"&&G(d)}function G(e){O("getCentList",e)}function J(e,t,d){let v={title:t,url:`app/wechat/news/${e.id}`,method:"DELETE",ids:""};z(v).then(l=>{y.success(l.msg),I(()=>{f.value=[]}),p.value=!1,c.page=1,x()}).catch(l=>{y.error(l.msg)})}function K(e){P.push({path:L+"/app/wechat/news_category/save/"+e.id})}function Q(e){e.isDel=!0}function X(e){e.isDel=!1}function Y(){I(()=>{f.value=[]}),p.value=!1,c.page=1,x()}function j(){const e=T.value;!e||p.value||_.value||e.scrollTop+e.clientHeight>=e.scrollHeight-30&&x()}function x(){_.value||(_.value=!0,re(c).then(async e=>{if(e.data.list.length===0)f.value=[],p.value=!0;else{let t=Math.ceil(e.data.count/c.limit)+1;e.data.list.map(d=>{d.isDel=!1}),f.value=f.value.concat(e.data.list)||[],c.page++,c.page===t&&(p.value=!0)}_.value=!1}).catch(e=>{_.value=!1,y.error(e.msg)}))}return(e,t)=>{const d=w("el-input"),v=w("el-form-item"),l=w("el-button"),ee=w("router-link"),te=w("el-form"),h=ne("db-click");return o(),s("div",{style:b({height:u.scrollerHeight+"px"||""})},[i("div",null,[r(te,{ref:"formValidate",inline:"",model:c,"label-width":"80px","label-position":"right",class:"tabform"},{default:m(()=>[r(v,{label:"图文搜索:",prop:"cate_name"},{default:m(()=>[r(d,{clearable:"",placeholder:"请输入",modelValue:c.cate_name,"onUpdate:modelValue":t[0]||(t[0]=n=>c.cate_name=n),class:"form_content_width"},null,8,["modelValue"])]),_:1}),r(v,null,{default:m(()=>[k((o(),W(l,{type:"primary",onClick:Y},{default:m(()=>[...t[1]||(t[1]=[V("查询",-1)])]),_:1})),[[h]]),r(ee,{to:le(L)+"/app/wechat/news_category/save/0"},{default:m(()=>[r(l,{type:"primary",class:"bnt ml15"},{default:m(()=>[...t[2]||(t[2]=[V("添加图文消息",-1)])]),_:1})]),_:1},8,["to"])]),_:1})]),_:1},8,["model"])]),i("div",ue,[i("div",{id:"content",style:b({top:u.contentTop+"px"||"",width:u.contentWidth}),ref:"content"},[i("div",{ref_key:"scrollBox",ref:T,class:"waterfall-scroll",onScroll:j},[i("div",{class:"waterfall-cols",style:b({columnCount:U.value})},[(o(!0),s(N,null,A(f.value,(n,H)=>k((o(),s("div",{class:"img-info waterfall-item",key:n.id!==void 0?n.id:H,onClick:a=>q(a,{index:H,value:n})},[n.new&&n.new.length!==0?(o(),s(N,{key:0},[(o(!0),s(N,null,A(n.new,(a,g)=>(o(),s("div",{key:g},[g===0?(o(),s("div",me,[i("div",{class:"news_pic",style:b({backgroundImage:"url("+a.image_input[0]+")",backgroundSize:"100% 100%"}),onMouseenter:S=>Q(a),onMouseleave:S=>X(a)},[k(r(l,{type:"success",icon:"el-icon-edit",onClick:S=>K(n)},null,8,["onClick"]),[[$,n.new[g].isDel&&u.isShow],[h]]),k(r(l,{type:"error",icon:"el-icon-delete",onClick:S=>J(n,"删除图文"),style:{"margin-top":"5px"}},null,8,["onClick"]),[[$,n.new[g].isDel&&u.isShow],[h]]),k((o(),W(l,{type:"primary",icon:"el-icon-s-promotion",onClick:S=>Z(n,"发送")},{default:m(()=>[...t[3]||(t[3]=[V("推送",-1)])]),_:1},8,["onClick"])),[[$,n.new[g].isDel&&u.isShowSend],[h]])],44,fe),i("span",pe,E(a.title),1)])):(o(),s("div",ve,[a.synopsis?(o(),s("span",_e,E(a.title),1)):D("",!0),a.image_input.length!==0?(o(),s("div",he,[i("img",{src:a.image_input[0]},null,8,ge)])):D("",!0)]))]))),128)),i("p",ye,E(n.id),1)],64)):D("",!0)],8,de)),[[h]])),128))],4),p.value?(o(),s("div",we,[...t[4]||(t[4]=[i("div",null,null,-1)])])):D("",!0)],544)],4)])],4)}}}),be=ae(ke,[["__scopeId","data-v-8c5573a9"]]);export{be as n}; diff --git a/backend/public/admin/system_static/index-CmJiM6qW.css b/backend/public/admin/system_static/index-CmJiM6qW.css new file mode 100644 index 000000000..7072ce35f --- /dev/null +++ b/backend/public/admin/system_static/index-CmJiM6qW.css @@ -0,0 +1 @@ +body .v-modal{background:#00000080!important;opacity:1!important}.mall-theme-page[data-v-f3c8f6e9]{min-height:100%}.mall-theme-page .page-header[data-v-f3c8f6e9]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:20px 16px;background:#fff;margin-bottom:20px;border-radius:4px}.mall-theme-page .page-header .header-left[data-v-f3c8f6e9]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mall-theme-page .page-header .header-left .page-title[data-v-f3c8f6e9]{font-size:18px;font-weight:700;color:#333;margin-right:15px}.mall-theme-page .page-header .header-left .theme-colors[data-v-f3c8f6e9]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-right:15px}.mall-theme-page .page-header .header-left .theme-colors .color-dot[data-v-f3c8f6e9]{width:16px;height:16px;border-radius:50%;margin-right:-6px;position:relative;z-index:5}.mall-theme-page .page-header .header-left .theme-colors .color-dot[data-v-f3c8f6e9]:first-child{z-index:3}.mall-theme-page .page-header .header-left .theme-colors .color-dot[data-v-f3c8f6e9]:nth-child(2){z-index:4}.mall-theme-page .page-header .header-left .status-tag[data-v-f3c8f6e9]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:#3333330a;padding:2px 10px;border-radius:4px}.mall-theme-page .page-header .header-left .status-tag .text[data-v-f3c8f6e9]{font-size:12px;color:#333}.mall-theme-page .page-header .header-right[data-v-f3c8f6e9]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:14px;color:#333;cursor:pointer}.mall-theme-page .page-header .header-right .icon[data-v-f3c8f6e9]{margin-right:5px}.mall-theme-page .page-header .header-right[data-v-f3c8f6e9]:hover{color:var(--prev-color-primary-light-1)}.mall-theme-page .theme-list[data-v-f3c8f6e9]{padding:16px;border-radius:5px;background-color:#fff}.mall-theme-page .theme-list .list-wrapper[data-v-f3c8f6e9]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -10px}.mall-theme-page .theme-list .list-item[data-v-f3c8f6e9]{min-width:270px;width:25%;padding:0 10px;-webkit-box-sizing:border-box;box-sizing:border-box}.mall-theme-page .theme-card[data-v-f3c8f6e9]{width:100%;background:#fff;border:1px solid #eee;border-radius:8px;padding:17px;-webkit-transition:all .3s;transition:all .3s;margin-bottom:20px}.mall-theme-page .theme-card[data-v-f3c8f6e9]:hover{-webkit-box-shadow:0 4px 12px rgba(0,0,0,.1);box-shadow:0 4px 12px #0000001a;-webkit-transform:translateY(-2px);transform:translateY(-2px)}.mall-theme-page .theme-card .card-header[data-v-f3c8f6e9]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:20px}.mall-theme-page .theme-card .card-header .card-title[data-v-f3c8f6e9]{font-size:12px;color:#333;border-radius:0 20px 20px 0;padding:7px 12px;margin-left:-17px;background:#3333330d}.mall-theme-page .theme-card .card-header .card-actions .action-btn[data-v-f3c8f6e9]{font-size:14px;color:var(--prev-color-primary);cursor:pointer}.mall-theme-page .theme-card .card-header .card-actions .action-btn[data-v-f3c8f6e9]:hover{color:var(--prev-color-primary-light-1)}.mall-theme-page .theme-card .card-info[data-v-f3c8f6e9]{margin-bottom:15px}.mall-theme-page .theme-card .card-info .theme-name[data-v-f3c8f6e9]{font-size:14px;font-weight:500;color:#303133;margin-bottom:5px}.mall-theme-page .theme-card .card-info .last-modified[data-v-f3c8f6e9]{font-size:12px;color:#909399}.mall-theme-page .theme-card .card-preview[data-v-f3c8f6e9]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background:#f5f7fa;padding:0;border-radius:12px}.mall-theme-page .theme-card .card-preview .phone-mockup[data-v-f3c8f6e9]{width:100%;background:#fff;border-radius:12px;overflow-y:scroll;position:relative;border:1px solid #f9f9f9;max-height:calc(100vh - 360px)}.mall-theme-page .theme-card .card-preview .phone-mockup.has-image[data-v-f3c8f6e9]{aspect-ratio:1/2}.mall-theme-page .theme-card .card-preview .phone-mockup .preview-image[data-v-f3c8f6e9]{width:100%;-o-object-fit:cover;object-fit:cover}.mall-theme-page .theme-card .card-preview .phone-mockup .empty-container[data-v-f3c8f6e9]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:75px 0 330px;height:100%;min-height:100%;background:#f9f9f9}.mall-theme-page .theme-card .card-preview .phone-mockup .empty-container .empty-poster[data-v-f3c8f6e9]{width:150px;height:auto;margin-bottom:20px}.mall-theme-page .theme-card .card-preview .phone-mockup .empty-container .empty-text[data-v-f3c8f6e9]{font-size:14px;color:#999;margin-bottom:20px}.mall-theme-page .theme-card .card-preview .phone-mockup .empty-container .empty-text i[data-v-f3c8f6e9]{color:#999;cursor:help}.mall-theme-page .theme-card .card-preview[data-v-f3c8f6e9] ::-webkit-scrollbar{display:none} diff --git a/backend/public/admin/system_static/index-CmKAitNc.js b/backend/public/admin/system_static/index-CmKAitNc.js new file mode 100644 index 000000000..a660d772f --- /dev/null +++ b/backend/public/admin/system_static/index-CmKAitNc.js @@ -0,0 +1 @@ +import{f as re,k as c,u as qe,y as r,z as C,j as l,C as u,ac as Ie,am as F,an as W,F as he,D as ge,B as k,A as f,a0 as x,v as _e,W as Ae,H as A,s as b,au as Xe,$ as y,a1 as Oe,ab as Pe,Z as w,l as d,p as ue,n as Be,a as Ye,r as el}from"./element-plus-C_ZDq0cz.js";import{_ as je,S as ll,h as tl,aK as al,u as ul,aL as nl,bC as ol,bD as sl,m as il,aM as Ee,A as dl}from"./index-DHL7RTL2.js";import{a as rl,b as ml,g as vl,i as cl,f as pl,c as Ne,m as fl,d as _l,e as hl}from"./systemMenus-A7RZD8uO.js";import{S as gl}from"./index-C_e-GUyL.js";import{u as yl}from"./layout-BstPWRqw.js";import{u as bl}from"./keepAliveNames-DXzO5c1g.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./icon-C8INUNkX.js";const kl={class:"add"},Vl={class:"dialog-footer"},Cl={class:"search-rule"},wl={class:"rule"},Rl=["onClick"],xl=Object.assign({name:"menusFrom"},{__name:"menusFrom",props:{formVal:{type:Object,default:null},titleFrom:{type:String,default:""}},emits:["selectRule","changeMenu","updateRow","clearFrom"],setup(ye,{expose:Le,emit:be}){const me=ll.routePre,ne=ye,Z=be,ve=d(null),ke=d(null),L=d([]),q=d(""),p={xl:22,lg:22,md:22,sm:22,xs:22},I=d(!1),O=d(!1),J=d([]),Q=d(!1),P=d(!1),D=d([]),V=d(1),a=d({}),Ve=[{value:1,label:"开启"},{value:0,label:"关闭"}];re(()=>ne.formVal,s=>{a.value=s}),re(()=>a.value.header,function(s){a.value.is_header=s?1:0}),re(()=>a.value.auth_type,function(s){s===void 0&&(s=1),V.value=s}),re(()=>a.value.data,function(s){});const X=ue(()=>{const s=a.value.path;return Array.isArray(s)?s.filter(S=>Number(S)!==0).length+1>=3:!1});re(()=>a.value.path,()=>{X.value&&a.value.icon&&(a.value.icon="")},{deep:!0});const Y=ue(()=>{let s=[];return J.value.map(t=>{t.field==="auth_type"&&(s=t.options)}),s}),oe=ue(()=>{let s=[];J.value.map(S=>{S.field==="menu_list"&&(s=S.props.options)});const t=(S,j)=>S.map(g=>{var R;const _={...g};return Number(_.value)!==0&&(j>=3&&(_.disabled=!0),(R=_.children)!=null&&R.length&&(_.children=t(_.children,j+1))),_});return t(s,1)});function se(){a.value={}}function h(){L.value=[],P.value="",P.value=!1}function $(s){let t=me+s.target.value;t.slice(0,1)==="/"&&(t=t.replace("/","")),a.value.unique_auth=t.replaceAll("/","-")}function Ce(s){V.value=s}function B(s){a.value.is_show=s}function ce(s){Z("selectRule",s),Be(t=>{P.value=!1})}function ee(){if(q.value.trim()){L.value=[];for(var s=0;s{J.value=s.data.rules}).catch(s=>{w.error(s.msg)})}function le(){O.value=!0}function de(s){a.value.icon=s,O.value=!1}function pe(){if(a.value.path){let t=a.value.path.length;a.value.pid=a.value.path[t-1]||0}X.value&&(a.value.icon="");let s={url:a.value.id?`/setting/menus/${a.value.id}`:"/setting/menus",method:a.value.id?"put":"post",datas:a.value};if(!a.value.menu_name)return w.warning("请填写菜单/按钮/接口名称");if(!a.value.menu_path&&V.value!=2)return w.warning("请填写页面/按钮地址");if(!a.value.api_url&&V.value==2)return w.warning("请填写接口地址");Q.value=!0,ml(s).then(async t=>{w.success(t.msg),I.value=!1,Z("changeMenu"),a.value.id&&Z("updateRow",{...a.value}),ie()}).catch(t=>{Q.value=!1,w.error(t.msg)})}function we(){I.value=!1,ve.value.resetFields(),Z("clearFrom")}return Le({modals:I,valids:Q,getAddFrom:ie}),(s,t)=>{const S=c("el-radio"),j=c("el-radio-group"),g=c("el-form-item"),_=c("el-col"),R=c("el-input"),Re=c("el-cascader"),K=c("el-option"),xe=c("el-select"),z=c("el-button"),Se=c("el-row"),Ue=c("el-form"),fe=c("el-dialog"),E=qe("db-click");return r(),C("div",null,[l(fe,{modelValue:I.value,"onUpdate:modelValue":t[13]||(t[13]=o=>I.value=o),width:"540px",title:ye.titleFrom,"close-on-click-modal":!1,onClosed:se},{footer:u(()=>[f("span",Vl,[b((r(),k(z,{onClick:we},{default:u(()=>[...t[17]||(t[17]=[y("取 消",-1)])]),_:1})),[[E]]),b((r(),k(z,{type:"primary",onClick:t[12]||(t[12]=o=>pe())},{default:u(()=>[...t[18]||(t[18]=[y("提 交",-1)])]),_:1})),[[E]])])]),default:u(()=>[l(Ue,{ref_key:"formValidateRef",ref:ve,model:a.value,"label-width":"80px",onSubmit:t[11]||(t[11]=Ie(()=>{},["prevent"]))},{default:u(()=>[l(Se,{gutter:24},{default:u(()=>[l(_,F(W(p)),{default:u(()=>[l(g,{label:"类型:"},{default:u(()=>[l(j,{modelValue:a.value.auth_type,"onUpdate:modelValue":t[0]||(t[0]=o=>a.value.auth_type=o),onInput:Ce},{default:u(()=>[(r(!0),C(he,null,ge(Y.value,(o,T)=>(r(),k(S,{label:o.value,value:o.value,key:T},{default:u(()=>[f("span",null,x(o.label),1)]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1},16),l(_,F(W(p)),{default:u(()=>[l(g,{label:V.value?"按钮名称:":"接口名称:",prop:"menu_name"},{default:u(()=>[f("div",kl,[l(R,{modelValue:a.value.menu_name,"onUpdate:modelValue":t[1]||(t[1]=o=>a.value.menu_name=o),placeholder:V.value?"请输入按钮名称":"请输入接口名称"},null,8,["modelValue","placeholder"])])]),_:1},8,["label"])]),_:1},16),l(_,F(W(p)),{default:u(()=>[l(g,{label:"父级分类:"},{default:u(()=>[l(Re,{options:oe.value,props:{checkStrictly:!0},modelValue:a.value.path,"onUpdate:modelValue":t[2]||(t[2]=o=>a.value.path=o),filterable:"",style:{width:"100%"}},null,8,["options","modelValue"])]),_:1})]),_:1},16),V.value!=2?(r(),k(_,F(_e({key:0},p)),{default:u(()=>[l(g,{label:"页面地址:",prop:"menu_path"},{default:u(()=>[l(R,{modelValue:a.value.menu_path,"onUpdate:modelValue":t[3]||(t[3]=o=>a.value.menu_path=o),placeholder:"请输入页面地址",onChange:$},{prepend:u(()=>[f("span",null,x(Ae(me)),1)]),_:1},8,["modelValue"])]),_:1})]),_:1},16)):A("",!0),V.value==2?(r(),k(_,F(_e({key:1},p)),{default:u(()=>[l(g,{label:"请求方式:",prop:"methods"},{default:u(()=>[l(xe,{modelValue:a.value.methods,"onUpdate:modelValue":t[4]||(t[4]=o=>a.value.methods=o)},{default:u(()=>[l(K,{value:"GET",label:"GET"}),l(K,{value:"POST",label:"POST"}),l(K,{value:"PUT",label:"PUT"}),l(K,{value:"DELETE",label:"DELETE"})]),_:1},8,["modelValue"])]),_:1})]),_:1},16)):A("",!0),V.value==2?(r(),k(_,F(_e({key:2},p)),{default:u(()=>[l(g,{label:"接口地址:",prop:"api_url"},{default:u(()=>[l(R,{modelValue:a.value.api_url,"onUpdate:modelValue":t[5]||(t[5]=o=>a.value.api_url=o),placeholder:"请输入接口地址",onChange:$},null,8,["modelValue"])]),_:1})]),_:1},16)):A("",!0),l(_,F(W(p)),{default:u(()=>[l(g,{label:"权限标识:",prop:"unique_auth"},{default:u(()=>[l(R,{modelValue:a.value.unique_auth,"onUpdate:modelValue":t[6]||(t[6]=o=>a.value.unique_auth=o),placeholder:"请输入权限标识"},null,8,["modelValue"])]),_:1})]),_:1},16),V.value===1&&!X.value?(r(),k(_,F(_e({key:3},p)),{default:u(()=>[l(g,{label:"图标:"},{default:u(()=>[l(R,{modelValue:a.value.icon,"onUpdate:modelValue":t[7]||(t[7]=o=>a.value.icon=o),placeholder:"请选择图标,点击右面图标"},{append:u(()=>[b(l(z,{icon:Ae(Xe),onClick:le},null,8,["icon"]),[[E]])]),_:1},8,["modelValue"])]),_:1})]),_:1},16)):A("",!0),l(_,F(W(p)),{default:u(()=>[l(g,{label:"备注:"},{default:u(()=>[l(R,{modelValue:a.value.mark,"onUpdate:modelValue":t[8]||(t[8]=o=>a.value.mark=o),placeholder:"请输入备注",number:""},null,8,["modelValue"])]),_:1})]),_:1},16),l(_,F(W(p)),{default:u(()=>[l(g,{label:"排序:"},{default:u(()=>[l(R,{type:"number",modelValue:a.value.sort,"onUpdate:modelValue":t[9]||(t[9]=o=>a.value.sort=o),placeholder:"请输入排序",number:""},null,8,["modelValue"])]),_:1})]),_:1},16),l(_,F(W(p)),{default:u(()=>[l(g,{label:"状态:"},{default:u(()=>[l(j,{modelValue:a.value.is_show,"onUpdate:modelValue":t[10]||(t[10]=o=>a.value.is_show=o),onInput:B},{default:u(()=>[(r(),C(he,null,ge(Ve,(o,T)=>l(S,{label:o.value,value:o.value,key:T},{default:u(()=>[f("span",null,x(o.label),1)]),_:2},1032,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1},16)]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue","title"]),l(gl,{modelValue:O.value,"onUpdate:modelValue":t[14]||(t[14]=o=>O.value=o),onSelect:de},null,8,["modelValue"]),l(fe,{modelValue:P.value,"onUpdate:modelValue":t[16]||(t[16]=o=>P.value=o),width:"1100px",title:"权限列表",onClosed:h},{default:u(()=>[f("div",Cl,[l(R,{class:"mr10",modelValue:q.value,"onUpdate:modelValue":t[15]||(t[15]=o=>q.value=o),placeholder:"输入关键词搜索",clearable:"",style:{width:"300px"},ref_key:"searchRef",ref:ke},null,8,["modelValue"]),b((r(),k(z,{type:"primary",onClick:ee},{default:u(()=>[...t[19]||(t[19]=[y("搜索",-1)])]),_:1})),[[E]]),b((r(),k(z,{onClick:M},{default:u(()=>[...t[20]||(t[20]=[y("重置",-1)])]),_:1})),[[E]])]),f("div",wl,[(r(!0),C(he,null,ge(D.value,(o,T)=>b((r(),C("div",{class:Oe(["rule-list",{"select-rule":L.value.includes(T)}]),key:T,onClick:G=>ce(o)},[f("div",null,"接口名称:"+x(o.real_name),1),f("div",null,"请求方式:"+x(o.method),1),f("div",null,"接口地址:"+x(o.rule),1)],10,Rl)),[[Pe,!L.value.length||L.value.includes(T)],[E]])),128))])]),_:1},8,["modelValue"])])}}}),Sl=je(xl,[["__scopeId","data-v-248868f1"]]),Ul={class:"padding-add"},Fl={key:0},Al={key:1},Ll={key:2},Dl=["onClick"],Tl=["onClick"],$l=["onClick"],Ml=["onClick"],El={class:"search-rule"},Nl={class:"route-list"},ql={class:"tree"},Il={class:"rule"},Ol=["onClick"],Pl={class:"dialog-footer"},Bl=Object.assign({name:"systemMenus"},{__name:"index",emits:["onCancel"],setup(ye,{emit:Le}){const be=tl(),me=yl(),ne=al(),Z=ul(),ve=nl(),ke=bl(),L=d(null),q=d(null),p=d(null),I=d(null),O=d(null),J=d([]),Q=d([]),P={childrenField:"children",reserve:!0,accordion:!0},D=d(!1),V=d(""),a=el({is_show:"",keyword:""}),Ve={children:"children",label:"name"},X=d([]),Y=d(!1),oe=d([]),se=()=>({auth_type:"",menu_name:"",path:"",api_url:"",menu_path:"",methods:"",unique_auth:"",mark:"",sort:"",is_show:0}),h=d(se()),$=d(""),Ce=d("0"),B=d([]),ce=d([]),ee=d([]),M=d([]),ie=d(0),le=d(0),de=d(null),pe=ue(()=>me.isMobile),we=ue(()=>pe.value?void 0:"80px"),s=ue(()=>pe.value?"top":"right");function t(){V.value="",g()}function S(){let n={menus:ee.value};fl(n).then(e=>{G(),D.value=!1}).catch(e=>{w.error(e.msg)})}function j(n){if(M.value.includes(n.id)){let e=M.value.findIndex(v=>v==n.id);M.value.splice(e,1),ee.value.splice(e,1)}else M.value.push(n.id),ee.value.push({menu_name:n.name,unique_auth:"",api_url:n.path,path:ie.value,method:n.method})}function g(){if(V.value.trim()){B.value=[];let e=ce.value;for(var n=0;n{X.value=e.data,D.value=!0,e.data.length&&Be(v=>{Q.value=ol(e.data[0],[]),le.value=sl(e.data).id,O.value.setCurrentKey(le.value),K(le.value)})})}function R(n){K(n.id)}function Re(){M.value=[],ee.value=[]}function K(n){_l(n).then(e=>{ce.value=e.data,J.value=e.data,g()})}function xe(n){let e={id:n.id,is_show:n.is_show};cl(e).then(async v=>{w.success(v.msg),ne.getMenusNavList()}).catch(v=>{w.error(v.msg)})}function z(){h.value=Object.assign({},se()),G()}function Se(){h.value=Object.assign({},se())}function Ue(n,e){h.value={is_show:0};let v=n.id.toString();v?Ne(n.id).then(async m=>{h.value.path=m.data.path,h.value.path.push(n.id),h.value.pid=v,p.value.valids=!1,$.value=e,h.value.auth_type=1,h.value.is_show_path=0,p.value.getAddFrom(),p.value.modals=!0}).catch(m=>{w.error(m.msg)}):(h.value.pid=v,p.value.modals=!0,p.value.valids=!1,$.value=e,h.value.auth_type=1,h.value.is_show_path=0)}function fe(n,e){let v={title:e,url:`/setting/menus/${n.id}`,method:"DELETE",ids:""};il(v).then(m=>{w.success(m.msg),G(),De()}).catch(m=>{w.error(m.msg)})}function E(n){Ne(n).then(async e=>{h.value=e.data,p.value.modals=!0}).catch(e=>{w.error(e.msg)})}function o(n,e,v){de.value=n.id,h.value={},E(n.id),$.value=e,p.value.valids=!1,p.value.getAddFrom(n.id)}function T(n){p.value.modals=!0,p.value.valids=!1,p.value.getAddFrom(),$.value=n,h.value.auth_type=1,h.value.is_show=0,h.value.is_show_path=0}function G(){Y.value=!0,a.is_show=a.is_show||"",vl(a).then(async n=>{oe.value=n.data,Y.value=!1}).catch(n=>{Y.value=!1,w.error(n.msg)})}function De(){hl().then(n=>{let e=n.data;Z.setUniqueAuth(e.uniqueAuth),ne.getmenusNav(e.menus),ve.setRoutesList(e.menus);let v=Ee(be.options.routes);Ke(v);let m=Ee(e.menus);ne.setOneLvRoute(m),dl.emit("routesListChange")})}function Ke(n){if(n.length<=0)return!1;const e=[],v=[];return n.forEach(m=>{m&&m.meta&&m.meta.keepAlive&&(e.push({...m}),v.push(m.name),ke.setCacheKeepAlive(v))}),e}function ze(n){const e=de.value||n.id;if(e){const v=["menu_name","unique_auth","menu_path","api_url","methods","icon","sort","mark","is_show","is_header","header","pid","auth_type"],m={};v.forEach(H=>{n[H]!==void 0&&(m[H]=n[H])}),Te(oe.value,e,m),de.value=null}}function Te(n,e,v){for(let m=0;m{G()}),(n,e)=>{const v=c("el-option"),m=c("el-select"),H=c("el-form-item"),$e=c("el-input"),te=c("el-button"),Ge=c("el-form"),Me=c("el-card"),ae=c("vxe-table-column"),He=c("el-switch"),Fe=c("el-divider"),We=c("vxe-table"),Ze=c("el-alert"),Je=c("el-tree"),Qe=c("el-dialog"),U=qe("db-click");return r(),C("div",null,[l(Me,{bordered:!1,shadow:"never",class:"ivu-mb-16","body-style":{padding:0}},{default:u(()=>[f("div",Ul,[l(Ge,{ref_key:"roleDataRef",ref:q,model:a,"label-width":we.value,"label-position":s.value,onSubmit:e[2]||(e[2]=Ie(()=>{},["prevent"])),inline:""},{default:u(()=>[l(H,{label:"规则状态:"},{default:u(()=>[l(m,{modelValue:a.is_show,"onUpdate:modelValue":e[0]||(e[0]=i=>a.is_show=i),placeholder:"请选择",clearable:"",onChange:G,class:"form_content_width"},{default:u(()=>[l(v,{value:"1",label:"显示"}),l(v,{value:"0",label:"不显示"})]),_:1},8,["modelValue"])]),_:1}),l(H,{label:"按钮名称:",prop:"status2","label-for":"status2"},{default:u(()=>[l($e,{clearable:"",modelValue:a.keyword,"onUpdate:modelValue":e[1]||(e[1]=i=>a.keyword=i),placeholder:"请输入按钮名称",class:"form_content_width"},null,8,["modelValue"])]),_:1}),l(H,null,{default:u(()=>[b((r(),k(te,{type:"primary",onClick:G},{default:u(()=>[...e[7]||(e[7]=[y("查询",-1)])]),_:1})),[[U]])]),_:1})]),_:1},8,["model","label-width","label-position"])])]),_:1}),l(Me,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:u(()=>[b((r(),k(te,{class:"action-row",type:"primary",onClick:e[3]||(e[3]=i=>T("添加规则"))},{default:u(()=>[...e[8]||(e[8]=[y("添加规则 ",-1)])]),_:1})),[[U]]),l(We,{border:!1,class:"vxeTable mt14",loading:Y.value,ref_key:"xTable",ref:L,"header-row-class-name":"false","tree-config":P,data:oe.value,"row-config":{keyField:"id",isCurrent:!0,isHover:!0}},{default:u(()=>[l(ae,{field:"menu_name","tree-node":"",title:"按钮名称","min-width":"100"}),l(ae,{field:"unique_auth",title:"前端权限","min-width":"200"}),l(ae,{field:"menu_path",title:"路由","min-width":"240",tooltip:"true"},{default:u(({row:i})=>[i.auth_type==1?(r(),C("span",Fl,"菜单:"+x(i.menu_path),1)):A("",!0),i.auth_type==3?(r(),C("span",Al,"按钮")):A("",!0),i.auth_type==2?(r(),C("span",Ll,"接口:["+x(i.methods)+"]"+x(i.api_url),1)):A("",!0)]),_:1}),l(ae,{field:"flag",title:"规则状态","min-width":"120"},{default:u(({row:i})=>[l(He,{"active-value":1,"inactive-value":0,modelValue:i.is_show,"onUpdate:modelValue":N=>i.is_show=N,value:i.is_show,onChange:N=>xe(i),size:"large"},null,8,["modelValue","onUpdate:modelValue","value","onChange"])]),_:1}),l(ae,{field:"mark",title:"备注","min-width":"120"}),l(ae,{field:"date",title:"操作",width:"230",fixed:"right"},{default:u(({row:i})=>[f("span",null,[i.auth_type===1||i.auth_type===3?b((r(),C("a",{key:0,onClick:N=>_(i)},[...e[9]||(e[9]=[y("选择权限",-1)])],8,Dl)),[[U]]):A("",!0),i.auth_type===1||i.auth_type===3?(r(),k(Fe,{key:1,direction:"vertical"})):A("",!0),i.auth_type===1||i.auth_type===3?b((r(),C("a",{key:2,onClick:N=>Ue(i,"添加子菜单")},[...e[10]||(e[10]=[y("添加下级",-1)])],8,Tl)),[[U]]):A("",!0)]),i.auth_type===1||i.auth_type===3?(r(),k(Fe,{key:0,direction:"vertical"})):A("",!0),b((r(),C("a",{onClick:N=>o(i,"编辑")},[...e[11]||(e[11]=[y("编辑",-1)])],8,$l)),[[U]]),l(Fe,{direction:"vertical"}),b((r(),C("a",{onClick:N=>fe(i,"删除规则")},[...e[12]||(e[12]=[y("删除",-1)])],8,Ml)),[[U]])]),_:1})]),_:1},8,["loading","data"])]),_:1}),l(Ae(Sl),{formVal:h.value,titleFrom:$.value,onGetList:z,onChangeMenu:De,ref_key:"menusFromRef",ref:p,onClearFrom:Se,onUpdateRow:ze},null,8,["formVal","titleFrom"]),l(Qe,{modelValue:D.value,"onUpdate:modelValue":e[6]||(e[6]=i=>D.value=i),width:"1100px",title:"权限列表",onClosed:Re},{footer:u(()=>[f("span",Pl,[b((r(),k(te,{onClick:e[5]||(e[5]=i=>D.value=!1)},{default:u(()=>[...e[16]||(e[16]=[y("取 消",-1)])]),_:1})),[[U]]),b((r(),k(te,{type:"primary",onClick:S},{default:u(()=>[...e[17]||(e[17]=[y("确 定",-1)])]),_:1})),[[U]])])]),default:u(()=>[f("div",El,[l(Ze,null,{title:u(()=>[...e[13]||(e[13]=[y(" 1.接口可多选,可重复添加;",-1),f("br",null,null,-1),y("2.添加路由按照路由规则进行添加,即可在开发工具->接口管理里面点击同步;",-1),f("br",null,null,-1),y("3.同步完成即可在此选择对应的接口; ",-1)])]),_:1}),l($e,{class:"mr10 mt10 form_content_width",modelValue:V.value,"onUpdate:modelValue":e[4]||(e[4]=i=>V.value=i),placeholder:"输入关键词搜索",clearable:"",ref_key:"search",ref:I},null,8,["modelValue"]),b((r(),k(te,{type:"primary",onClick:g},{default:u(()=>[...e[14]||(e[14]=[y("搜索",-1)])]),_:1})),[[U]]),b((r(),k(te,{onClick:t},{default:u(()=>[...e[15]||(e[15]=[y("重置",-1)])]),_:1})),[[U]])]),f("div",Nl,[f("div",ql,[l(Je,{ref_key:"treeBox",ref:O,data:X.value,"highlight-current":!0,props:Ve,"node-key":"id","default-expanded-keys":Q.value,"current-node-key":le.value,onNodeClick:R},null,8,["data","default-expanded-keys","current-node-key"])]),f("div",Il,[(r(!0),C(he,null,ge(J.value,(i,N)=>b((r(),C("div",{class:Oe(["rule-list",{"select-rule":M.value.includes(i.id)}]),key:N,onClick:jl=>j(i)},[f("div",null,"接口名称:"+x(i.name),1),f("div",null,"请求方式:"+x(i.method),1),f("div",null,"接口地址:"+x(i.path),1)],10,Ol)),[[Pe,!B.value.length||B.value.includes(i.id)],[U]])),128))])])]),_:1},8,["modelValue"])])}}}),et=je(Bl,[["__scopeId","data-v-611b08c8"]]);export{et as default}; diff --git a/backend/public/admin/system_static/index-CpSbpgzD.js b/backend/public/admin/system_static/index-CpSbpgzD.js new file mode 100644 index 000000000..099f5603e --- /dev/null +++ b/backend/public/admin/system_static/index-CpSbpgzD.js @@ -0,0 +1 @@ +import{a as K,k as u,u as F,y as t,z as f,s as I,B as m,C as l,j as o,$ as h,F as U,D as B,a0 as S,H as $,A as E,l as g,p as X,Z as R}from"./element-plus-C_ZDq0cz.js";import{w as O,_ as P,b as Y}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function ee(b){return O({url:"driver/logistics_driver/list",method:"get",params:b})}function te(b,k){return O({url:`driver/logistics_driver/set_status/${b}`,method:"put",data:{status:k}})}function le(b){return O({url:`driver/logistics_driver/detail/${b}`,method:"get"})}function ae(b,k){return O({url:`driver/logistics_driver/save_config/${b}`,method:"post",data:k})}const oe={key:3,class:"form-tip"},se={class:"help-doc-title"},ne={class:"help-doc-content"},re={key:0,class:"help-doc-steps"},ue=["href"],ie={class:"form-actions"},de=Object.assign({name:"LogisticsDriverEdit"},{__name:"edit",props:{driverId:{type:[Number,String],default:null}},emits:["close","success"],setup(b,{emit:k}){const x=b,V=k,w=Y(),L=g(null),C=g(!1),_=g({driver_name:"",sort:0,status:0}),q=g({driver_name:[{required:!0,message:"请输入驱动名称",trigger:"blur"}],sort:[{type:"number",required:!0,message:"请输入排序",trigger:"blur"}]}),N=g([]),i=g([]),c=X(()=>{const v={};return N.value.forEach(e=>{const s=e.group||"配置";v[s]||(v[s]={name:s,fields:[]}),v[s].fields.push(e)}),Object.values(v)});K(()=>{z()});function z(){const v=x.driverId||w&&w.params.id;v&&(C.value=!0,le(v).then(e=>{const s=e.data;_.value={driver_name:s.driver_name||"",sort:s.sort||0,status:s.status||0},N.value=(s.config_fields||[]).map(p=>({...p,value:p.value!==void 0&&p.value!==null&&p.value!==""?p.value:p.default!==void 0?p.default:""}));const n=s.help_doc;n&&(n.steps&&n.steps.length>0||n.link)?i.value=[n]:i.value=[]}).catch(()=>{}).finally(()=>{C.value=!1}))}function D(){L.value.validate(v=>{if(!v)return;const e=x.driverId||w&&w.params.id,s={driver_name:_.value.driver_name,sort:_.value.sort,status:_.value.status};N.value.forEach(n=>{s[n.field]=n.value}),ae(e,s).then(n=>{R.success(n.msg||"保存成功"),V("success")}).catch(n=>{R.error(n.msg||"保存失败")})})}return(v,e)=>{const s=u("el-divider"),n=u("el-input"),p=u("el-form-item"),M=u("el-option"),G=u("el-select"),H=u("el-tag"),r=u("el-switch"),A=u("el-input-number"),Z=u("el-button"),Q=u("el-form"),J=F("db-click"),W=F("loading");return t(),f("div",null,[I((t(),m(Q,{ref_key:"formRef",ref:L,model:_.value,rules:q.value,"label-width":"100px"},{default:l(()=>[o(s,{"content-position":"left"},{default:l(()=>[...e[4]||(e[4]=[h("基本信息",-1)])]),_:1}),o(p,{label:"驱动名称",prop:"driver_name"},{default:l(()=>[o(n,{modelValue:_.value.driver_name,"onUpdate:modelValue":e[0]||(e[0]=d=>_.value.driver_name=d),placeholder:"请输入驱动名称"},null,8,["modelValue"])]),_:1}),c.value.length>0?(t(!0),f(U,{key:0},B(c.value,(d,j)=>(t(),f(U,{key:"group-"+j},[o(s,{"content-position":"left",style:{"margin-top":"20px"}},{default:l(()=>[h(S(d.name),1)]),_:2},1024),(t(!0),f(U,null,B(d.fields,(a,T)=>(t(),m(p,{key:"field-"+j+"-"+T,label:a.label},{default:l(()=>[a.type==="text"?(t(),m(n,{key:0,modelValue:a.value,"onUpdate:modelValue":y=>a.value=y,disabled:a.readonly,placeholder:a.placeholder||"请输入"+a.label},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"])):a.type==="password"?(t(),m(n,{key:1,modelValue:a.value,"onUpdate:modelValue":y=>a.value=y,type:"text",disabled:a.readonly,placeholder:a.placeholder||"请输入"+a.label},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"])):a.type==="select"?(t(),m(G,{key:2,modelValue:a.value,"onUpdate:modelValue":y=>a.value=y,disabled:a.readonly,placeholder:"请选择"+a.label},{default:l(()=>[(t(!0),f(U,null,B(a.options,y=>(t(),m(M,{key:y.value,label:y.label,value:y.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled","placeholder"])):$("",!0),a.description?(t(),f("div",oe,S(a.description),1)):$("",!0)]),_:2},1032,["label"]))),128))],64))),128)):$("",!0),i.value.length>0?(t(),f(U,{key:1},[o(s,{"content-position":"left"},{default:l(()=>[...e[5]||(e[5]=[h("帮助文档",-1)])]),_:1}),(t(!0),f(U,null,B(i.value,(d,j)=>(t(),f("div",{key:j,class:"help-doc-module"},[E("div",se,S(d.title||"参考文档"),1),E("div",ne,[d.steps&&d.steps.length>0?(t(),f("ol",re,[(t(!0),f(U,null,B(d.steps,(a,T)=>(t(),f("li",{key:T},S(a),1))),128))])):$("",!0),d.link?(t(),m(H,{key:1,type:"info",class:"help-doc-tag"},{default:l(()=>[E("a",{href:d.link,target:"_blank",class:"help-doc-link"},"查看帮助文档",8,ue)]),_:2},1024)):$("",!0)])]))),128))],64)):$("",!0),o(s,{"content-position":"left"},{default:l(()=>[...e[6]||(e[6]=[h("其它设置",-1)])]),_:1}),o(p,{label:"状态",prop:"status"},{default:l(()=>[o(r,{"active-value":1,"inactive-value":0,modelValue:_.value.status,"onUpdate:modelValue":e[1]||(e[1]=d=>_.value.status=d),"active-text":"开启","inactive-text":"关闭",class:"defineSwitch"},null,8,["modelValue"])]),_:1}),o(p,{label:"排序",prop:"sort"},{default:l(()=>[o(A,{modelValue:_.value.sort,"onUpdate:modelValue":e[2]||(e[2]=d=>_.value.sort=d),min:0,max:9999},null,8,["modelValue"])]),_:1}),E("div",ie,[I((t(),m(Z,{type:"primary",onClick:D},{default:l(()=>[...e[7]||(e[7]=[h(" 保存 ",-1)])]),_:1})),[[J]]),I((t(),m(Z,{onClick:e[3]||(e[3]=d=>v.$emit("close"))},{default:l(()=>[...e[8]||(e[8]=[h(" 取消 ",-1)])]),_:1})),[[J]])])]),_:1},8,["model","rules"])),[[W,C.value]])])}}}),ce=P(de,[["__scopeId","data-v-d50ad2eb"]]),ve={class:"font-weight-bold"},pe=Object.assign({name:"logisticsDriver"},{__name:"index",setup(b){const k=g([]),x=g(!1),V=g(!1),w=g(null),L=g(null);K(()=>{C()});function C(){x.value=!0,ee().then(i=>{k.value=i.data.list||[],x.value=!1}).catch(()=>{x.value=!1})}function _(i){te(i.id,i.status).then(c=>{R.success(c.msg),C()}).catch(()=>{i.status=i.status===1?0:1})}function q(i){w.value=i,L.value=i.id,V.value=!0}function N(){V.value=!1,C(),R.success("保存成功")}return(i,c)=>{const z=u("pages-header"),D=u("el-table-column"),v=u("el-tag"),e=u("el-switch"),s=u("el-button"),n=u("el-table"),p=u("el-card"),M=u("el-drawer"),G=F("db-click"),H=F("loading");return t(),f("div",null,[o(z,{class:"mb16",title:i.$route.meta.title},null,8,["title"]),o(p,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:l(()=>[I((t(),m(n,{data:k.value,ref:"table","highlight-current-row":"","row-key":"id"},{default:l(()=>[o(D,{label:"排序",width:"80",prop:"sort"},{default:l(r=>[E("span",null,S(r.row.sort),1)]),_:1}),o(D,{label:"驱动名称","min-width":"150"},{default:l(r=>[E("span",ve,S(r.row.driver_name),1)]),_:1}),o(D,{label:"驱动标识","min-width":"120"},{default:l(r=>[o(v,null,{default:l(()=>[h(S(r.row.driver_key),1)]),_:2},1024)]),_:1}),o(D,{label:"是否内置",width:"80"},{default:l(r=>[r.row.is_builtin?(t(),m(v,{key:0,type:"success"},{default:l(()=>[...c[2]||(c[2]=[h("是",-1)])]),_:1})):(t(),m(v,{key:1,type:"info"},{default:l(()=>[...c[3]||(c[3]=[h("否",-1)])]),_:1}))]),_:1}),o(D,{label:"状态",width:"80"},{default:l(r=>[o(e,{"active-value":1,"inactive-value":0,modelValue:r.row.status,"onUpdate:modelValue":A=>r.row.status=A,onChange:A=>_(r.row),"active-text":"开启","inactive-text":"关闭",class:"defineSwitch"},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),o(D,{label:"操作",fixed:"right",width:"150",align:"center"},{default:l(r=>[I((t(),m(s,{type:"text",onClick:A=>q(r.row)},{default:l(()=>[...c[4]||(c[4]=[h(" 设置 ",-1)])]),_:1},8,["onClick"])),[[G]])]),_:1})]),_:1},8,["data"])),[[H,x.value]])]),_:1}),o(M,{title:"编辑 - "+(w.value?w.value.driver_name:""),modelValue:V.value,"onUpdate:modelValue":c[1]||(c[1]=r=>V.value=r),direction:"rtl",size:"600px"},{default:l(()=>[V.value?(t(),m(ce,{key:0,"driver-id":L.value,onClose:c[0]||(c[0]=r=>V.value=!1),onSuccess:N},null,8,["driver-id"])):$("",!0)]),_:1},8,["title","modelValue"])])}}}),he=P(pe,[["__scopeId","data-v-7d570194"]]);export{he as default}; diff --git a/backend/public/admin/system_static/index-CqalUoEe.js b/backend/public/admin/system_static/index-CqalUoEe.js new file mode 100644 index 000000000..02dcbb1a9 --- /dev/null +++ b/backend/public/admin/system_static/index-CqalUoEe.js @@ -0,0 +1 @@ +import{k as d,u as L,y as s,z as V,A as n,j as x,s as k,B as u,C as c,$ as g,a0 as M,H as p,l as r,Z as v,r as B}from"./element-plus-C_ZDq0cz.js";import{_ as G,d as H,g as K,p as O,v as R,S as W,i as Z,e as $}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const q={class:"mt20 ml20"},J={key:3,class:"video-style"},Q=["src"],X={class:"mt50 ml20"},Y=Object.assign({name:"vide11o"},{__name:"index",emits:["getvideo"],setup(ee,{emit:T}){const U=T,w=W.apiBaseURL+"/file/upload",_=B({videoIng:!1}),m=r(0),l=r(""),i=B({video_link:""}),f=r(""),z=r({}),h=r({}),b=r(null);S(),N();function I(){i.video_link=""}function S(){H().then(t=>{f.value=t.data.upload_type})}function D(t){return Z(filex)&&$({file:t,pieceSize:3,success:e=>{i.video_link=e.file_path,m.value=100},error:e=>{v.error(e.msg)},uploading:(e,a)=>{_.videoIng=!0;let o=Math.floor(e/a*100);m.value=o}}),!1}function N(){h.value["Authori-zation"]="Bearer "+K("token")}function A(){l.value?i.video_link=l.value:b.value.click()}function P(t){if(t.target.files[0].type!=="video/mp4")return v.error("只能上传mp4文件");let e={key:t.target.files[0].name,contentType:t.target.files[0].type};O(e).then(a=>{R.videoUpload({type:a.data.type,evfile:t,res:a,uploading(o,C){_.videoIng=o}}).then(o=>{i.video_link=o.url,v.success("视频上传成功")}).catch(o=>{v.error(o)})})}function j(){U("getvideo",i.video_link)}return(t,e)=>{const a=d("el-input"),o=d("el-button"),C=d("el-upload"),E=d("Progress"),y=L("db-click");return s(),V("div",null,[n("div",q,[x(a,{class:"perW35",modelValue:l.value,"onUpdate:modelValue":e[0]||(e[0]=F=>l.value=F),placeholder:"请输入视频链接"},null,8,["modelValue"]),n("input",{type:"file",ref_key:"refid",ref:b,style:{display:"none"},onChange:P},null,544),f.value!=="1"||l.value?k((s(),u(o,{key:0,type:"primary",icon:"ios-cloud-upload-outline",class:"ml10",onClick:A},{default:c(()=>[g(M(l.value?"确认添加":"上传视频"),1)]),_:1})),[[y]]):p("",!0),f.value==="1"&&!l.value?(s(),u(C,{key:1,"show-file-list":!1,action:w,class:"ml10","before-upload":D,data:z.value,headers:h.value,multiple:!0,style:{display:"inline-block"},accept:".mp4"},{default:c(()=>[x(o,{type:"primary",icon:"ios-cloud-upload-outline"},{default:c(()=>[...e[1]||(e[1]=[g("上传视频",-1)])]),_:1})]),_:1},8,["data","headers"])):p("",!0),_.videoIng?(s(),u(E,{key:2,percent:m.value,"stroke-width":5},null,8,["percent"])):p("",!0),i.video_link?(s(),V("div",J,[n("video",{style:{width:"100%",height:"100% !important","border-radius":"10px"},src:i.video_link,controls:"controls"}," 您的浏览器不支持 video 标签。 ",8,Q),e[2]||(e[2]=n("div",{class:"mark"},null,-1)),k(n("i",{class:"el-icon-delete iconv",onClick:I},null,512),[[y]])])):p("",!0)]),n("div",X,[k((s(),u(o,{type:"primary",onClick:j},{default:c(()=>[...e[3]||(e[3]=[g("确认",-1)])]),_:1})),[[y]])])])}}}),se=G(Y,[["__scopeId","data-v-ba38b170"]]);export{se as default}; diff --git a/backend/public/admin/system_static/index-Cr8BOPv8.css b/backend/public/admin/system_static/index-Cr8BOPv8.css new file mode 100644 index 000000000..5c435bb6a --- /dev/null +++ b/backend/public/admin/system_static/index-Cr8BOPv8.css @@ -0,0 +1 @@ +.form-tip[data-v-598d5b8a]{color:#909399;font-size:12px;line-height:1.5;margin-top:5px}.help-doc-list[data-v-598d5b8a]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px}.help-doc-tag a[data-v-598d5b8a]{color:inherit;text-decoration:none}.help-doc-tag a[data-v-598d5b8a]:hover{color:#1890ff}.help-doc-module[data-v-598d5b8a]{background:#fafafa;border-radius:6px;padding:16px 20px;margin-bottom:12px}.help-doc-module[data-v-598d5b8a]:last-child{margin-bottom:0}.help-doc-title[data-v-598d5b8a]{font-weight:700;font-size:14px;color:#303133;margin-bottom:10px}.help-doc-steps[data-v-598d5b8a]{margin:0;padding-left:20px;line-height:1.8;color:#606266;font-size:13px}.form-actions[data-v-598d5b8a]{margin-top:24px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;gap:8px}.form-actions .el-button+.el-button[data-v-598d5b8a]{margin-left:0}.font-weight-bold[data-v-f7e4ba01]{font-weight:700}.mt16[data-v-f7e4ba01]{margin-top:16px}.mb20[data-v-f7e4ba01]{margin-bottom:20px} diff --git a/backend/public/admin/system_static/index-CrVcp5FK.js b/backend/public/admin/system_static/index-CrVcp5FK.js new file mode 100644 index 000000000..fa87455bb --- /dev/null +++ b/backend/public/admin/system_static/index-CrVcp5FK.js @@ -0,0 +1 @@ +import{k as P,y as i,z as d,A as t,s as K,ab as S,j as f,C as _,F as Q,$ as h,a0 as R,H as V,B as M,l as r,Z as u,a as te,J as se,n as le,D as oe,a2 as ae,W as ne,ad as Y}from"./element-plus-C_ZDq0cz.js";import{_ as J,S as U,g as ie,h as re,Q as q}from"./index-DHL7RTL2.js";import{_ as H}from"./file-success-DULWj9TL.js";import{C as ce,D as de,E as ue,F as pe,G as ve,H as me}from"./index-C2Zmd2Xm.js";import{_ as fe,T as he}from"./index-CWm_4sIW.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const G="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAAAOZklEQVR4Aexde5AUxR3+pmf33siBdwiCkWg0chKsilj6Rwo0JmWgTJUKlCQK+ORIWZYJPpIg4CPBUjRqQPEVVDRETkisiviIsTiKSoKREqKIKBXNEVHksMAC7ri9fXS+3+7O3d7esrc707u3u9mp+banZ7t//fX36193zyx1KKQ4amfokRWX6/H+y7vP800Pnl9G/jQQzUV78UEK16Cvw67S9f6Z+twA8M1IBMfriL8Slk+XkT8NRHPRXnwgvgB9kui4Xodd1jnG1xE6S4dDVUCIZcoYbB3EF+KT6hl6NB0SPWMOu0TX+3zVp5QjKX+RlI3WQQungj4Sj0Ud5vfjdE6OWhBSiKZyLSjnC0OPqI/oMYUf6RO0jUrED188dZJy3lEilg6WHlEf0VeqIoLhCHMUlaELXQfxldIWansXVxlFiZuNcr5XG9FlcPUQX6lghNMht+4hAhZ0LPXF03K+kPTQ9JXyxbfwxZ2G8P/CX4UUt7IJKOcLWw/lC8nc3ItyvlcLcPYpND1UdI4Oc80iQJTzjDDRgShEPZSfD8oWUU6hi0EHFZSdKlFOKQLPQtdB+S3wbTx0OS0OHVSQQ8oBEq7lXjkPiA4OCkGP6Bom65cAipGWgHK+8PTgGsaw4tAJEiDK6SDqkYH+jDC/hvJrP1FOC1+HaIRJVJVRHApwl8hRZZXhLxINuEvknM1tUJCQLVE5LWw9ymtYka3dKqigTWPmJDR8sBw/bX8GTxx4Ds/nAp+vxIOvLcRFprkXuj3l5+sYk5j1HTQuuxpLRg7F2T4bNTSfk7PKj8ZzT8eVO+/HXJP8C92WCvLVlAP5xdm5ltRN/o7puCKXjkr2/phGTHqPTnPLV+o5cNNfp66k+ajPCAvCzwc2gYghqQM3+eOH6Capl0+I03YuRbO0GeOOaJ8GLx/TtLd9c3kVDPt1L7ieecz7bKtGiBpERqbEadsfwNxYX5x+DFbqaOq0by7fJ8JiozM2GtxeW5xiBwtjGjDpw4fQ7JZ7MdTjLpHe59Y2aAgZhUMOC4nTdvzWP9dUfwrNjvEIy6EvMjZ94nBM3lWikaaCIUaYA4ky51pSF/mMVc1xQXHajof8zab7N9j2lPzmVcGH5yhC/NXVuZbUTT7HjsjGvDhtz5NY9Pa9mBbF3fE0j/nWuzDl0bkYZ0pfJQJ088MBL+FcS+omL3UKBfW1aGo6CdMHC+d8A7PnTMbid36D2W71lHoOVNTzEk2GgPKRUoGvj8DUTYw2r3orx3Om0pRsyzejCpwxGpO96tyzhjlrmec0Sq380V8BoKYSY73qq9DdzZN+N5QO1kNzsbRLsXm615sRVqErVC+QcC33s86jfKRVwKO+3CUywrgvdD6RcC33ss+npVv+0qO+PRHmRJLntOyS9ArEI8ytzj0R5kSS9zQ93/K3Mm9xDYtHWrZ6lyMs3yPIc4Tx9VM3AcJImicBDnVgx6Gj2BGOoCObJoNhtEu9zi60YTAOjzpzSuxl3fPHOuK3vObjZowmIvhbu/DIqGYsHns9Ft/+e9zSHUZ7Jo1I3cuW4pZRrNd4HW7+41tYnGndTOxnW8aNvpwSYy985YEuoHqvXeezZZ1h+WAQ7W//G8vrr8a8C3+NDQ6/5W9i38YdeCYcTh9pUv93b+C+DTtxROoKZq/A+8NoT+x2036GVLwVS9DYjd7RCHM8bSrNpkcDlRWhRdD6azHvB3ejVcon85z5AP658AXc/OmXWJ/KcfsOonVxC6PxBfwnVX2xO+NB3PzxXrSkqi91TCKZfzZ5JWtXwIY2lXIEaBOgcPs+2IOV9XPQfMESRlQIOh3PZa9i3xm3YuU0/nB5+wtoXrcZi554A/Nrf4xLT5mPZfJ9uvpvvosjExZgjdT/eB/W6AiOmOhHsg2vOtNeAAgQIIykZsbiR59h/Tm3BdaTHE9yy5DfX7cGOh5+OdA+Z3ng/fnPBhhRrBsgsqg/4WeBls8ORlrN9CTZCrlkwYed58k6cf5cwyo1lEEk83OZP200LjbKK4s+XnRWZc3oYeoCl9TTV8uCR6r+RyOsUrxHmEnT883020obI967PzKTwwtmeAUytvPkPFxjK9RmyjW7cpnzSNXvaIQF4l43kmbHPm3p00apy2+5uLLRCC/2MRM7q2+sPHPEUHw3LTEvX2bIA8cop2Bzw2ESXjqTou6NUzDTOMc0/f3+BLaXgoexW2nazqSfCl2kYhI0Z/KU0b5pES4UnrdNxYjdD0duklTyXrF6Hr7VviKyxLG3aQEuHFKN8Sb597PlUes+EVaV5H1X+X4Mvd+YcDJmfr4Sv7xrBp4aMVTFpitydcWP9RCHnw+xQ6rVeLEr9r99Kq71znYAC/G2wdQNf5VoXpxvMp9oy8u1bECG1eC8XhvB6KVXvmGEo3bkQ+zb7jcaYiJruOHfJ8LE616Rj5/qbduvvfKU+sq2dT74JrYh7XoBI0z8bBJZD7SsK6gIN0rwzllxSsy6cc8VvPFWUFXaKDx3KEMDJnhn2JTRYh55K3TR4yZhtHepjSku2EZ484Vl6hZyeNej1go2I8wkctjXPqYNcJY1rI/NfGQ88uYadpQ0TYLmcnzaPlnDTHDOMdGU5r3xZoRVa9gGkZJkDm6a4JwDWgOa9MibDuNolTXBFAZk7L1AdJdogC+fu7R3Nlla8MhbQSJU2jSViq18oNj4Opp45B2LsO54lBlIEx8SLQs5eTC1nVHqka/sNvPBN7GN6EOzB97cdDiuL6fFoEAswpwRayLNQ6+V7BINcLU1inANQyclNgmay/kpL39NcA7lnGn/BrzxVuiu0T3wJVzLfTf5/gyN3zl5uL82ytkNP+lXHPU1Plf/DODzA/AJXHUs3rZb/lzDEjzemXAtkecq76obWVWaPB7fWzoreMLSaYSkDrLIt9yKU5pOwiUY4BDHvLIVdYvWYMTs5Rgz9R6Mve5xjBHItdyb9xROXP46hm/9BFUDmOPXCRq70JdrGKPKNghSyvXZUIdLb7rYv8oLLpmIFTWVmHAsruKoe19Cgzjm0dfR8M4nqPnyMHzJ5eXef/ej4rWtOG7hGoyc/xxGtvwDxx3uAoMhuTTzHrVWpKCNAsV/PN2KenHUpp2oy7Y3H+5B1aqNGH4Doy5lxMmGyQNSj4JsWZZIeYkqmeLWbUY9PB4SeRJx4nyPpvpUV0ajiyPHAqL/S1CxpXu/gv2L1RgpQiPp8JIV58s0eaQLliU/mFIjL5orHCEdk6A5ROSDKJJUIuvnz2OUaWdRgegp0+QzGzAsqotHrRU8erxffRTXIZuDXDrLUeO1f+G4leI0j3pzDfPociTXdygWR/psK+pzFVnJCqx7C/W2hYt8Vmgc/Pga95EN6Kdfsp598wq+Ou4SDQLFc8gu7tVtGJpPxlwlrgzDt8AKYYml8ZCy6hYoVXcpUFediS8YYYfJ1xwiOjpkaLPwz+f/xnUljzRDEfR7F6aBcVrjMmVhCULBk4H0vlDoGqLhJwylXUG8m0cNXDcl0SWbAdcGXFQ8fBSHjlWNjmu0LP/tvtCQM9L5IxZhh+NeNZD+aTMeLYYo27Y7k9dIx5I3+/sSXbv2og3pj5qIhWYcRUM00lL4Q8HH6DKIa57AF3/YhLmd3fh7ITvu/U9RjTwc4qiDHTjAV1vvdQQQGKhJiTROj9OO5RcFP7RpXPM09tZfj4VVV+GHFXNwQaGh5grcsOIv2LZhBzbnGny9tWVbGz7KxFmIH3TaJChGWQrfcEqMl8o6Kb4KdgiTVQjLwsCiQmdvW5iYiqPirygaFYyyTqKEUzpqFrfUzRy9XB/YV5iBpbDFsiB/2IWmzdikozR3jmen8ksswr5iETlLMfUfrVWduJdqTpEumgQdtTsSPvq438aveL3fpO2orRT+UKbXr0Kzp1T1LDqLzzcweoiDIhE8AFQfCQTRzuu7YaHDWCMWapB6DTvINkoTPhsTObVMZgfNnnSMT4mzDjKqerTbz3XnMWMNaewGemzTbOxaoWIY17DSBB8r5rCnxk9t4bFuhbZk7UI2tiiFdTBwcKBNtNWwKcltcA07QPOlB38ITZwKG2BBm4SywqtgH9gCpNYsbB9YS6etNdBmDTdJs7lZWoxu1DjtKRwerksR3LpPAXtsEkpjXfio/cpAeoU7sdYCtphoW0fQxAHwE6dNhUqOwBIEp5QmTh3GTm4yNoY1XsxUr4jCCtbZb4IAnXaOXY3p0janRBMmC8yGD7UchrUZscqgkAW0RWysyqBob5EQOriG3mnKabQ1lcYbFV+B6pJDCJzz2T1DJzcZjSqM+/iO75EeKNyarBu/u4PoLWPhDg1DXDRqbZvTo6E+FZiZLrN8KBan2BGJYASnGhSNiWXkmuWMRTqnxvMVqmmy1DCsah8M7w5T2kvWLddtMloV9u5FKULWHbNhlsJasnYpipi8xel1rELVKK5hJQgLO0yKldJWsnYpC5m7yQ1Mu0JtGx23h1ZLC3y3t56dyvGZrFmOm9OgwzrGRlA7hstqqQHtnBZz9Hd7445J1i1+O1cJ+7NdnsP4UkD+qUEcbW1sLwFtbUWb58NrCztp7g06leg95TUKtWlr4y0HvMzRyemwI+zHnxXWWmFIlO0bqzGEqCbkWlDs+cZolLXkRkO+qErWJzcNRa1aGi1YbR2SCAPORAh13N5/QUhaB10qeb5OepkPsyvZa67V7B8MQbbwyXqZsp1kh7PE9nATXmIfEHPYnZbEN6dGuVV6CEewXltYzGlFfsovqg7SWa0RP+7BnVEfxR0GHjI1vogghkGXJIZie6Qa8/nm29y6lqwVZTR1yuDiD6LLIi14UKZCx24swpycxZnySSuIExHGro0yhTjflEZagY7wcVgTqceVWmERp8qnZQS7gsbb/UThPVe2gFannrKxxqexMDIO14VarDcgPklo6H8AAAD//+VK588AAAAGSURBVAMAAMsOALUbP0EAAAAASUVORK5CYII=",ge={class:"theme-import"},ye={class:"goods-upload"},_e={key:0,class:"flex-column"},xe={class:"file-info"},ke={class:"el-upload__text"},Te={key:0,class:"flex mt12"},Ce={key:1,class:"el-upload__trip"},be={class:"file-info"},we=["src"],Le=Object.assign({name:"themeImport"},{__name:"themeImport",emits:["close","success"],setup(F,{emit:I}){const T=I,z=r(null),A=U.apiBaseURL+"/file/upload/1?type=1",C={"Authori-zation":"Bearer "+ie("token")},x=r(""),a=r(""),n=r(!1),p=r(!1),m=r(!1),b=r(H);function E(c,l){return c.name.endsWith(".zip")?c.size>=52428800?(u.error("文件大小不能超过50MB"),!1):(m.value=!0,x.value=c.name,!0):(u.error("请上传 .zip 格式的文件"),!1)}function g(){n.value=!1,p.value=!1,m.value=!1,z.value.$el.querySelector('input[type="file"]').click()}function O(c,l,w){m.value=!1,c.status===200?a.value=c.data.src:u.error(c.msg)}function D(c,l,w){m.value=!1,u.error("上传失败")}function N(){p.value=!0,n.value=!1,ce({url:a.value}).then(c=>{n.value=!0,p.value=!1,b.value=H,u.success("导入成功"),T("success")}).catch(c=>{p.value=!1,n.value=!1,u.error(c.msg)})}function W(){a.value="",x.value="",n.value=!1,T("close")}return(c,l)=>{const w=P("el-upload"),B=P("el-button");return i(),d("div",ge,[t("div",ye,[K(f(w,{ref_key:"upload",ref:z,class:"upload-demo",drag:!a.value,"show-file-list":!1,action:A,headers:C,"before-upload":E,"on-success":O,"on-error":D,accept:".zip"},{default:_(()=>[m.value?(i(),d("div",_e,[...l[1]||(l[1]=[t("i",{class:"el-icon-loading",style:{"font-size":"40px",color:"#ccc"}},null,-1),t("div",{class:"el-upload__text"},"正在上传中...",-1)])])):(i(),d(Q,{key:1},[l[2]||(l[2]=t("img",{class:"el-upload-dragger__icon mb20",src:G,alt:""},null,-1)),l[3]||(l[3]=t("div",{class:"el-upload__text"},[h("将文件拖到此处,或"),t("em",null,"点击添加")],-1)),l[4]||(l[4]=t("div",{class:"el-upload__trip"},"支持 .zip,限50M以内",-1))],64))]),_:1},8,["drag"]),[[S,!a.value&&!n.value]]),K(t("div",xe,[l[7]||(l[7]=t("img",{class:"el-upload-dragger__icon mb20",src:G,alt:""},null,-1)),t("div",ke,R(x.value),1),a.value&&!p.value?(i(),d("div",Te,[t("div",{class:"active-btn",onClick:g},"重新上传"),t("div",{class:"active-btn",onClick:l[0]||(l[0]=Z=>a.value="")},"删除")])):V("",!0),p.value?(i(),d("div",Ce,[...l[5]||(l[5]=[h(" 正在导入,您可关闭当前弹窗,稍候可在列表查看导入结果 ",-1),t("i",{class:"el-icon-loading"},null,-1)])])):(i(),M(B,{key:2,class:"btn-import",type:"primary",onClick:N},{default:_(()=>[...l[6]||(l[6]=[h("立即导入",-1)])]),_:1}))],512),[[S,a.value&&!n.value]]),K(t("div",be,[t("img",{class:"el-upload-dragger__icon mb20",src:b.value,alt:""},null,8,we),l[10]||(l[10]=t("div",{class:"el-upload__text"},"导入成功",-1)),t("div",null,[f(B,{class:"btn-import",onClick:g},{default:_(()=>[...l[8]||(l[8]=[h("再次导入",-1)])]),_:1}),f(B,{type:"primary",class:"btn-import",onClick:W},{default:_(()=>[...l[9]||(l[9]=[h("完成",-1)])]),_:1})])],512),[[S,a.value&&n.value]])])])}}}),Re=J(Le,[["__scopeId","data-v-918d781e"]]),Ve={class:"my-theme-page"},Pe={class:"content-area"},Ae={class:"action-bar"},Be={class:"left-actions"},Ie={class:"right-actions flex"},ze={class:"hover-overlay"},Ue={class:"overlay-content"},Ee={class:"qrcode-box"},Oe=["id"],De={class:"middle-actions"},Ne={class:"tag-row"},We={class:"theme-tag"},Xe=["onClick"],je={key:0,class:"line"},Ke=["onClick"],Se={class:"theme-name-overlay line2"},Ze={class:"update-time"},Ye={class:"bottom-buttons"},qe={class:"card-cover"},He={class:"phone-preview"},Ge=["src"],Qe={key:1,class:"no-poster"},Me=["src"],Je={class:"card-info"},Fe={class:"info-top"},$e={class:"tag"},et={key:0,class:"using-tag"},tt={class:"theme-name line1"},st={key:0,class:"acea-row row-right page"},lt=Object.assign({name:"MyTheme"},{__name:"index",setup(F){const I=re(),T=r(null),z=U.apiBaseURL.replace(/adminapi/,""),A=r(""),C=r(!1),x=r(!1),a=r([]),n=r(1),p=r(10),m=r(0);te(()=>{b(),window.addEventListener("resize",b)}),se(()=>{window.removeEventListener("resize",b)});function b(){if(!T.value)return;const o=T.value.clientWidth,e=206,v=20,y=Math.floor((o+v)/(e+v)),k=y*2>0?y*2:2;p.value!==k?(p.value=k,n.value=1,g()):a.value.length===0&&g()}function E(o){n.value=o,g()}function g(){de({page:n.value,limit:p.value,title:A.value}).then(o=>{a.value=o.data.list,m.value=o.data.count,le(()=>{a.value.forEach(e=>{document.getElementById("qrcode"+e.id)&&(document.getElementById("qrcode"+e.id).innerHTML=""),O(e.id)})})})}function O(o){let e=`${z}pages/index/index?theme_id=${o}`;new q(document.getElementById("qrcode"+o),{text:e,width:100,height:100,colorDark:"#000000",colorLight:"#ffffff",correctLevel:q.CorrectLevel.H})}function D(o){ue(o.id).then(e=>{const v=e.data.record_id,y=u({type:"success",message:e.msg,duration:0});let k=0;const X=60,s=setInterval(()=>{k++,pe(v).then(j=>{const L=j.data.download_url;L?(clearInterval(s),y.close(),u.success("导出成功,正在下载…"),window.location.href=L):k>=X&&(clearInterval(s),y.close(),u.warning("打包超时,请稍后到下载记录中查看"))}).catch(()=>{clearInterval(s),y.close()})},3e3)}).catch(e=>{u.error(e.msg||"导出失败")})}function N(o){Y.confirm("确认删除该主题吗?","提示",{type:"warning"}).then(()=>{ve(o.id).then(e=>{u.success("删除成功");let v=a.value.findIndex(y=>y.id===o.id);v!==-1&&a.value.splice(v,1),m.value=m.value-1,a.value.length===0&&n.value>1&&(n.value=n.value-1),g()}).catch(e=>{u.error(e.msg||"删除失败")})}).catch(()=>{})}function W(o){I.push({path:U.routePre+"/setting/edit_theme",query:{id:o.id,type:"home"}})}function c(o){Y.confirm("确认使用该主题吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{me(o.id).then(e=>{u.success("已切换主题"),g()}).catch(e=>{u.error(e.msg||"切换失败")})})}function l(){x.value=!0}function w(){window.open("https://www.crmeb.com/theme?from=crmebkytheme","_blank")}function B(o){I.push({path:U.routePre+"/setting/edit_theme",query:{type:"home",id:0,tid:o.id}})}function Z(){C.value=!0}function $(){C.value=!1}function ee(){g()}return(o,e)=>{const v=P("el-button"),y=P("el-input"),k=P("pagination"),X=P("el-dialog");return i(),d("div",Ve,[e[14]||(e[14]=t("div",{class:"i-layout-page-header header-title"},[t("div",{class:"fl_header"},[t("span",{class:"ivu-page-header-title"},"我的主题")])],-1)),t("div",Pe,[t("div",Ae,[t("div",Be,[f(v,{type:"primary",onClick:l},{default:_(()=>[...e[5]||(e[5]=[h("新建主题",-1)])]),_:1}),f(v,{onClick:Z},{default:_(()=>[...e[6]||(e[6]=[h("导入主题",-1)])]),_:1}),t("img",{class:"theme-in",src:"https://www.crmeb.com/static/images/zhutishichang.png",alt:"",onClick:w})]),t("div",Ie,[f(y,{modelValue:A.value,"onUpdate:modelValue":e[0]||(e[0]=s=>A.value=s),placeholder:"请输入主题名称",class:"search-input m-r-10"},null,8,["modelValue"]),f(v,{type:"primary",onClick:g},{default:_(()=>[...e[7]||(e[7]=[h("搜索",-1)])]),_:1})])]),t("div",{class:"theme-grid",ref_key:"gridContainer",ref:T},[(i(!0),d(Q,null,oe(a.value,(s,j)=>(i(),d("div",{class:"theme-card",key:j},[t("div",ze,[t("div",Ue,[t("div",Ee,[t("div",{id:"qrcode"+s.id},null,8,Oe),e[8]||(e[8]=t("div",{class:"scan-text"},"扫码预览",-1))]),t("div",De,[t("div",Ne,[t("span",We,R(s.type),1),t("span",{class:"action-text",onClick:L=>D(s)},[...e[9]||(e[9]=[t("span",{class:"iconfont iconic_output"},null,-1),h(" 导出 ",-1)])],8,Xe),s.is_use?V("",!0):(i(),d("div",je)),s.is_use?V("",!0):(i(),d("span",{key:1,class:"action-text",onClick:L=>N(s)},[...e[10]||(e[10]=[t("span",{class:"iconfont iconshanchu3"},null,-1),h(" 删除 ",-1)])],8,Ke))]),t("div",Se,R(s.title||"未命名主题"),1),t("div",Ze,"修改时间:"+R(s.up_time),1)]),t("div",Ye,[f(v,{onClick:L=>W(s)},{default:_(()=>[...e[11]||(e[11]=[h("编辑主题",-1)])]),_:1},8,["onClick"]),f(v,{type:"primary",onClick:L=>c(s)},{default:_(()=>[...e[12]||(e[12]=[h("使用主题",-1)])]),_:1},8,["onClick"])])])]),t("div",qe,[t("div",{class:"blur-bg",style:ae({backgroundImage:"url("+s.home_image+")"})},null,4),t("div",He,[s.home_image?(i(),d("img",{key:0,src:s.home_image,alt:"cover"},null,8,Ge)):(i(),d("div",Qe,[t("img",{src:ne(fe),class:"preview-image",alt:"no poster"},null,8,Me),e[13]||(e[13]=t("div",null,"暂无封面",-1))]))])]),t("div",Je,[t("div",Fe,[t("span",$e,R(s.type),1),s.is_use?(i(),d("div",et,"正在使用")):V("",!0)]),t("div",tt,R(s.title||"未命名主题"),1)])]))),128))],512),m.value/p.value>1?(i(),d("div",st,[m.value?(i(),M(k,{key:0,total:m.value,page:n.value,"onUpdate:page":e[1]||(e[1]=s=>n.value=s),limit:p.value,"onUpdate:limit":e[2]||(e[2]=s=>p.value=s),layout:"total, prev, pager, next, jumper",onPagination:E},null,8,["total","page","limit"])):V("",!0)])):V("",!0)]),f(X,{title:"导入主题",modelValue:C.value,"onUpdate:modelValue":e[3]||(e[3]=s=>C.value=s),width:"1188px",top:"10vh","destroy-on-close":"","close-on-click-modal":!1},{default:_(()=>[f(Re,{onClose:$,onSuccess:ee})]),_:1},8,["modelValue"]),f(he,{visible:x.value,"onUpdate:visible":e[4]||(e[4]=s=>x.value=s),type:"my",onSelect:B},null,8,["visible"])])}}}),pt=J(lt,[["__scopeId","data-v-904d4624"]]);export{pt as default}; diff --git a/backend/public/admin/system_static/index-CssbYOx7.css b/backend/public/admin/system_static/index-CssbYOx7.css new file mode 100644 index 000000000..7c0854ee6 --- /dev/null +++ b/backend/public/admin/system_static/index-CssbYOx7.css @@ -0,0 +1 @@ +.z-price[data-v-eca864fc]{color:red}.f-price[data-v-eca864fc]{color:green} diff --git a/backend/public/admin/system_static/index-CsxL8S1a.js b/backend/public/admin/system_static/index-CsxL8S1a.js new file mode 100644 index 000000000..989bac679 --- /dev/null +++ b/backend/public/admin/system_static/index-CsxL8S1a.js @@ -0,0 +1 @@ +import{a as se,k as i,u as k,s as g,y as f,z as y,j as l,C as a,ac as ie,am as m,an as p,A as h,B as x,$ as D,W as ue,H as me,Z as V,l as c,p as C}from"./element-plus-C_ZDq0cz.js";import{_ as pe,a as ce,c as fe,aY as ve,aZ as ge,a_ as _e}from"./index-DHL7RTL2.js";import{e as be}from"./app-hJ6HxRad.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const ye={class:"article-manager"},he={key:0,class:"pictrue"},Ve={key:1,class:"upLoad acea-row row-center-wrapper"},we=["src"],ke=Object.assign({name:"systemStore"},{__name:"index",setup(xe){const S=ce(),q=c(null),E=(o,e,r)=>{if(e)/^1[3456789]\d{9}$/.test(e)?r():r(new Error("手机号格式不正确!"));else return r(new Error("请填写手机号"))},z=(o,e,r)=>{t.value.image?r():r(new Error("请上传门店logo"))},_=c(!1),b=c(!1),M=c([]),t=c({name:"",introduction:"",phone:"",address:[],address2:[],detailed_address:"",valid_time:[],day_time:["",""],latlng:"",id:0}),H={name:[{required:!0,message:"请输入门店名称",trigger:"blur"}],mail:[{required:!0,message:"Mailbox cannot be empty",trigger:"blur"},{type:"email",message:"Incorrect email format",trigger:"blur"}],address:[{required:!0,message:"请选择门店地址",type:"array",trigger:"change"}],valid_time:[{required:!0,type:"array",message:"请选择核销时效",trigger:"change",fields:{0:{type:"date",required:!0,message:"请选择年度范围"},1:{type:"date",required:!0,message:"请选择年度范围"}}}],day_time:[{required:!0,type:"array",message:"请选择门店营业时间",trigger:"change"}],phone:[{required:!0,validator:E,trigger:"blur"}],detailed_address:[{required:!0,message:"请输入详细地址",trigger:"blur"}],image:[{required:!0,validator:z,trigger:"change"}],latlng:[{required:!0,message:"请选择经纬度",trigger:"blur"}]},P=c(""),u={xl:10,lg:16,md:18,sm:24,xs:24},I={xl:6,lg:8,md:12,sm:12,xs:12},$={xl:4,lg:8,md:8,sm:8,xs:8},v=c(!1),L=c("单选"),U=C(()=>S.isMobile),N=C(()=>U.value?void 0:"80px"),R=C(()=>U.value?"top":"right");function T(){be().then(o=>{o.data.map(e=>{e.value=e.label,e.children&&e.children.length&&e.children.map(r=>{r.value=r.label,r.children&&r.children.length&&r.children.map(s=>{s.value=s.label})})}),M.value=o.data})}function F(o){t.value.latlng=o.latlng.lat+","+o.latlng.lng,b.value=!1}function W(){ve().then(async o=>{let e=o.data.key;P.value=`https://apis.map.qq.com/tools/locpicker?type=1&key=${e}&referer=myapp`}).catch(o=>{V.error(o.msg)})}function Z(){_.value=!0,ge().then(async o=>{let e=o.data.info||null;t.value=e||t.value,t.value.address=e.address2,_.value=!1}).catch(o=>{_.value=!1,V.error(o.msg)})}function G(){v.value=!0}function K(o){t.value.image=o.att_dir,v.value=!1}function O(o,e){t.value.address=e.map(r=>r.label)}function J(o){t.value.valid_time=o}function Q(o){t.value.day_time=o}function X(){b.value=!0}function j(){q.value.validate(o=>{if(o)_e(t.value).then(async e=>{V.success(e.msg)}).catch(e=>{V.error(e.msg)});else return!1})}return T(),W(),Z(),se(function(){window.addEventListener("message",function(o){var e=o.data;e&&e.module==="locationPicker"&&window.parent.selectAdderss(e)},!1),window.selectAdderss=F}),(o,e)=>{const r=i("el-input"),s=i("el-form-item"),n=i("el-col"),ee=i("el-cascader"),le=i("el-date-picker"),ae=i("el-time-picker"),B=i("el-button"),te=i("el-tooltip"),Y=i("el-row"),oe=i("el-form"),de=i("el-card"),A=i("el-dialog"),re=k("lazy"),w=k("db-click"),ne=k("loading");return g((f(),y("div",ye,[l(de,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:a(()=>[l(oe,{ref_key:"formItemRef",ref:q,model:t.value,"label-width":N.value,"label-position":R.value,rules:H,onSubmit:e[10]||(e[10]=ie(()=>{},["prevent"]))},{default:a(()=>[l(Y,{gutter:24},{default:a(()=>[l(n,{span:24},{default:a(()=>[l(n,m(p(u)),{default:a(()=>[l(s,{label:"门店名称:",prop:"name","label-for":"name"},{default:a(()=>[l(r,{modelValue:t.value.name,"onUpdate:modelValue":e[0]||(e[0]=d=>t.value.name=d),placeholder:"请输入门店名称"},null,8,["modelValue"])]),_:1})]),_:1},16)]),_:1}),l(n,{span:24},{default:a(()=>[l(n,m(p(u)),{default:a(()=>[l(s,{label:"门店简介:","label-for":"introduction"},{default:a(()=>[l(r,{modelValue:t.value.introduction,"onUpdate:modelValue":e[1]||(e[1]=d=>t.value.introduction=d),placeholder:"请输入门店简介"},null,8,["modelValue"])]),_:1})]),_:1},16)]),_:1}),l(n,{span:24},{default:a(()=>[l(n,m(p(u)),{default:a(()=>[l(s,{label:"门店手机号:","label-for":"phone",prop:"phone"},{default:a(()=>[l(r,{modelValue:t.value.phone,"onUpdate:modelValue":e[2]||(e[2]=d=>t.value.phone=d),type:"number",placeholder:"请输入门店手机号"},null,8,["modelValue"])]),_:1})]),_:1},16)]),_:1}),l(n,{span:24},{default:a(()=>[l(n,m(p(u)),{default:a(()=>[l(s,{label:"门店地址:","label-for":"address",prop:"address"},{default:a(()=>[l(ee,{options:M.value,value:t.value.address,modelValue:t.value.address,"onUpdate:modelValue":e[3]||(e[3]=d=>t.value.address=d),onChange:O},null,8,["options","value","modelValue"])]),_:1})]),_:1},16)]),_:1}),l(n,{span:24},{default:a(()=>[l(n,m(p(u)),{default:a(()=>[l(s,{label:"详细地址:","label-for":"detailed_address",prop:"detailed_address"},{default:a(()=>[l(r,{modelValue:t.value.detailed_address,"onUpdate:modelValue":e[4]||(e[4]=d=>t.value.detailed_address=d),placeholder:"请输入详细地址"},null,8,["modelValue"])]),_:1})]),_:1},16)]),_:1}),l(n,{span:24},{default:a(()=>[l(n,m(p(u)),{default:a(()=>[l(s,{label:"核销时效:","label-for":"valid_time"},{default:a(()=>[l(le,{clearable:"",editable:!1,onChange:J,modelValue:t.value.valid_time,"onUpdate:modelValue":e[5]||(e[5]=d=>t.value.valid_time=d),format:"YYYY/MM/DD",type:"daterange","value-format":"YYYY/MM/DD","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},null,8,["modelValue"])]),_:1})]),_:1},16)]),_:1}),l(n,{span:24},{default:a(()=>[l(n,m(p(u)),{default:a(()=>[l(s,{label:"门店营业:","label-for":"day_time"},{default:a(()=>[l(ae,{onChange:Q,modelValue:t.value.day_time,"onUpdate:modelValue":e[6]||(e[6]=d=>t.value.day_time=d),format:"HH:mm:ss","value-format":"HH:mm:ss","range-separator":"-","start-placeholder":"开始时间","end-placeholder":"结束时间",placeholder:"选择时间范围"},null,8,["modelValue"])]),_:1})]),_:1},16)]),_:1}),l(n,{span:24},{default:a(()=>[l(n,m(p(u)),{default:a(()=>[l(s,{label:"门店logo:",prop:"image"},{default:a(()=>[g((f(),y("div",{class:"picBox",onClick:e[7]||(e[7]=d=>G("单选"))},[t.value.image?(f(),y("div",he,[g(h("img",null,null,512),[[re,t.value.image]])])):(f(),y("div",Ve,[...e[13]||(e[13]=[h("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])]))])),[[w]])]),_:1})]),_:1},16)]),_:1}),l(n,{span:24},{default:a(()=>[l(n,m(p(u)),{default:a(()=>[l(s,{label:"经纬度:","label-for":"status2",prop:"latlng"},{default:a(()=>[l(te,null,{content:a(()=>[...e[15]||(e[15]=[h("div",null,"请点击查找位置选择位置",-1)])]),default:a(()=>[l(r,{modelValue:t.value.latlng,"onUpdate:modelValue":e[8]||(e[8]=d=>t.value.latlng=d),style:{width:"100%"},placeholder:"请查找位置"},{append:a(()=>[g((f(),x(B,{type:"primary",onClick:X},{default:a(()=>[...e[14]||(e[14]=[D("查找位置",-1)])]),_:1})),[[w]])]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1},16)]),_:1})]),_:1}),l(Y,null,{default:a(()=>[l(n,m(p(u)),{default:a(()=>[g((f(),x(B,{type:"primary",class:"ml20",onClick:e[9]||(e[9]=d=>j())},{default:a(()=>[...e[16]||(e[16]=[D("提交",-1)])]),_:1})),[[w]])]),_:1},16)]),_:1})]),_:1},8,["model","label-width","label-position"])]),_:1}),l(A,{modelValue:v.value,"onUpdate:modelValue":e[11]||(e[11]=d=>v.value=d),width:"1024px",title:"上传商品图","close-on-click-modal":!1,"show-close":!0},{default:a(()=>[v.value?(f(),x(ue(fe),{key:0,isChoice:L.value,onGetPic:K,gridBtn:$,gridPic:I},null,8,["isChoice"])):me("",!0)]),_:1},8,["modelValue"]),l(A,{modelValue:b.value,"onUpdate:modelValue":e[12]||(e[12]=d=>b.value=d),title:"上传商品图","show-close":!0,"close-on-click-modal":!1,class:"mapBox"},{default:a(()=>[h("iframe",{id:"mapPage",width:"100%",height:"100%",frameborder:"0",src:P.value},null,8,we)]),_:1},8,["modelValue"])])),[[ne,_.value]])}}}),Ye=pe(ke,[["__scopeId","data-v-2f45545a"]]);export{Ye as default}; diff --git a/backend/public/admin/system_static/index-CtENg7a6.js b/backend/public/admin/system_static/index-CtENg7a6.js new file mode 100644 index 000000000..ca7fc6675 --- /dev/null +++ b/backend/public/admin/system_static/index-CtENg7a6.js @@ -0,0 +1 @@ +import{a as J,k as s,u as B,y as t,z as y,s as N,B as c,C as a,j as n,$ as w,F as I,D as A,a0 as D,H as z,A as M,l as b,p as X,Z as G}from"./element-plus-C_ZDq0cz.js";import{w as j,_ as K,b as Y}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";function ee(p){return j({url:"driver/invoice_driver/list",method:"get",params:p})}function le(p,V){return j({url:`driver/invoice_driver/set_status/${p}`,method:"put",data:{status:V}})}function te(p){return j({url:`driver/invoice_driver/detail/${p}`,method:"get"})}function ae(p,V){return j({url:`driver/invoice_driver/save_config/${p}`,method:"post",data:V})}const oe={key:7,class:"form-tip"},ne={class:"form-actions"},ue=Object.assign({name:"InvoiceDriverEdit"},{__name:"edit",props:{driverId:{type:[Number,String],default:null}},emits:["close","success"],setup(p,{emit:V}){const k=p,f=V,h=Y(),$=b(null),U=b(!1),m=b({driver_name:"",sort:0,status:0}),F=b({driver_name:[{required:!0,message:"请输入驱动名称",trigger:"blur"}],sort:[{type:"number",required:!0,message:"请输入排序",trigger:"blur"}]}),S=b([]),v=X(()=>{const d={};return S.value.forEach(l=>{const i=l.group||"配置";d[i]||(d[i]={name:i,fields:[]}),d[i].fields.push(l)}),Object.values(d)});J(()=>{_()});function _(){const d=k.driverId||h&&h.params.id;d&&(U.value=!0,te(d).then(l=>{const i=l.data;m.value={driver_name:i.driver_name||"",sort:i.sort||0,status:i.status||0},S.value=(i.config_fields||[]).map(u=>({...u,value:u.value!==void 0&&u.value!==null&&u.value!==""?u.value:u.default!==void 0?u.default:""}))}).catch(()=>{}).finally(()=>{U.value=!1}))}function L(){$.value.validate(d=>{if(!d)return;const l=k.driverId||h&&h.params.id,i={driver_name:m.value.driver_name,sort:m.value.sort,status:m.value.status};S.value.forEach(u=>{i[u.field]=u.value}),ae(l,i).then(u=>{G.success(u.msg||"保存成功"),f("success")}).catch(u=>{G.error(u.msg||"保存失败")})})}return(d,l)=>{const i=s("el-divider"),u=s("el-switch"),C=s("el-form-item"),x=s("el-input"),R=s("el-input-number"),O=s("el-option"),q=s("el-select"),r=s("el-radio"),E=s("el-radio-group"),H=s("el-button"),P=s("el-form"),T=B("db-click"),Q=B("loading");return t(),y("div",null,[N((t(),c(P,{ref_key:"formRef",ref:$,model:m.value,rules:F.value,"label-width":"100px"},{default:a(()=>[n(i,{"content-position":"left"},{default:a(()=>[...l[4]||(l[4]=[w("基本信息",-1)])]),_:1}),n(C,{label:"状态",prop:"status"},{default:a(()=>[n(u,{"active-value":1,"inactive-value":0,modelValue:m.value.status,"onUpdate:modelValue":l[0]||(l[0]=g=>m.value.status=g),"active-text":"开启","inactive-text":"关闭",class:"defineSwitch"},null,8,["modelValue"])]),_:1}),n(C,{label:"驱动名称",prop:"driver_name"},{default:a(()=>[n(x,{modelValue:m.value.driver_name,"onUpdate:modelValue":l[1]||(l[1]=g=>m.value.driver_name=g),placeholder:"请输入驱动名称"},null,8,["modelValue"])]),_:1}),n(C,{label:"排序",prop:"sort"},{default:a(()=>[n(R,{modelValue:m.value.sort,"onUpdate:modelValue":l[2]||(l[2]=g=>m.value.sort=g),min:0,max:9999},null,8,["modelValue"])]),_:1}),v.value.length>0?(t(!0),y(I,{key:0},A(v.value,(g,Z)=>(t(),y(I,{key:"group-"+Z},[n(i,{"content-position":"left",style:{"margin-top":"20px"}},{default:a(()=>[w(D(g.name),1)]),_:2},1024),(t(!0),y(I,null,A(g.fields,(e,W)=>(t(),c(C,{key:"field-"+Z+"-"+W,label:e.label},{default:a(()=>[e.type==="text"?(t(),c(x,{key:0,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,disabled:e.readonly,placeholder:e.placeholder||"请输入"+e.label},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"])):e.type==="password"?(t(),c(x,{key:1,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,type:"text",disabled:e.readonly,placeholder:e.placeholder||"请输入"+e.label},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"])):e.type==="textarea"?(t(),c(x,{key:2,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,type:"textarea",rows:3,disabled:e.readonly,placeholder:e.placeholder||"请输入"+e.label},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"])):e.type==="select"?(t(),c(q,{key:3,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,disabled:e.readonly,placeholder:"请选择"+e.label},{default:a(()=>[(t(!0),y(I,null,A(e.options,o=>(t(),c(O,{key:o.value,label:o.label,value:o.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled","placeholder"])):e.type==="radio"?(t(),c(E,{key:4,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,disabled:e.readonly},{default:a(()=>[(t(!0),y(I,null,A(e.options,o=>(t(),c(r,{key:o.value,label:o.value,value:o.value},{default:a(()=>[w(D(o.label),1)]),_:2},1032,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])):e.type==="switch"?(t(),c(u,{key:5,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,disabled:e.readonly,"active-value":"1","inactive-value":"0",class:"defineSwitch"},null,8,["modelValue","onUpdate:modelValue","disabled"])):(t(),c(x,{key:6,modelValue:e.value,"onUpdate:modelValue":o=>e.value=o,disabled:e.readonly,placeholder:"请输入"+e.label},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"])),e.tip?(t(),y("div",oe,D(e.tip),1)):z("",!0)]),_:2},1032,["label"]))),128))],64))),128)):z("",!0),M("div",ne,[N((t(),c(H,{type:"primary",onClick:L},{default:a(()=>[...l[5]||(l[5]=[w(" 保存 ",-1)])]),_:1})),[[T]]),N((t(),c(H,{onClick:l[3]||(l[3]=g=>d.$emit("close"))},{default:a(()=>[...l[6]||(l[6]=[w(" 取消 ",-1)])]),_:1})),[[T]])])]),_:1},8,["model","rules"])),[[Q,U.value]])])}}}),re=K(ue,[["__scopeId","data-v-13ff7a9c"]]),se={class:"font-weight-bold"},de=Object.assign({name:"invoiceDriver"},{__name:"index",setup(p){const V=b([]),k=b(!1),f=b(!1),h=b(null),$=b(null);J(()=>{U()});function U(){k.value=!0,ee().then(v=>{V.value=v.data||[],k.value=!1}).catch(()=>{k.value=!1})}function m(v){le(v.id,v.status).then(_=>{G.success(_.msg||"修改成功"),U()}).catch(()=>{v.status=v.status===1?0:1})}function F(v){h.value=v,$.value=v.id,f.value=!0}function S(){f.value=!1,U()}return(v,_)=>{const L=s("pages-header"),d=s("el-table-column"),l=s("el-tag"),i=s("el-switch"),u=s("el-button"),C=s("el-table"),x=s("el-card"),R=s("el-drawer"),O=B("db-click"),q=B("loading");return t(),y("div",null,[n(L,{class:"mb16",title:v.$route.meta.title},null,8,["title"]),n(x,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:a(()=>[N((t(),c(C,{data:V.value,ref:"table","highlight-current-row":"","row-key":"id"},{default:a(()=>[n(d,{label:"排序",width:"80",prop:"sort"},{default:a(r=>[M("span",null,D(r.row.sort),1)]),_:1}),n(d,{label:"驱动名称","min-width":"150"},{default:a(r=>[M("span",se,D(r.row.driver_name),1)]),_:1}),n(d,{label:"驱动标识","min-width":"120"},{default:a(r=>[n(l,null,{default:a(()=>[w(D(r.row.driver_key),1)]),_:2},1024)]),_:1}),n(d,{label:"类型","min-width":"100"},{default:a(r=>[n(l,{type:r.row.is_builtin?"success":"primary"},{default:a(()=>[w(D(r.row.is_builtin?"内置驱动":"扩展驱动"),1)]),_:2},1032,["type"])]),_:1}),n(d,{label:"状态",width:"120"},{default:a(r=>[n(i,{"active-value":1,"inactive-value":0,modelValue:r.row.status,"onUpdate:modelValue":E=>r.row.status=E,onChange:E=>m(r.row),"active-text":"开启","inactive-text":"关闭",class:"defineSwitch"},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),n(d,{label:"操作",fixed:"right",width:"150",align:"center"},{default:a(r=>[N((t(),c(u,{type:"text",onClick:E=>F(r.row)},{default:a(()=>[..._[2]||(_[2]=[w(" 配置 ",-1)])]),_:1},8,["onClick"])),[[O]])]),_:1})]),_:1},8,["data"])),[[q,k.value]])]),_:1}),n(R,{title:"编辑 - "+(h.value?h.value.driver_name:""),modelValue:f.value,"onUpdate:modelValue":_[1]||(_[1]=r=>f.value=r),direction:"rtl",size:"600px"},{default:a(()=>[f.value?(t(),c(re,{key:0,"driver-id":$.value,onClose:_[0]||(_[0]=r=>f.value=!1),onSuccess:S},null,8,["driver-id"])):z("",!0)]),_:1},8,["title","modelValue"])])}}}),_e=K(de,[["__scopeId","data-v-1183572d"]]);export{_e as default}; diff --git a/backend/public/admin/system_static/index-Cu1iMeao.css b/backend/public/admin/system_static/index-Cu1iMeao.css new file mode 100644 index 000000000..d593f703a --- /dev/null +++ b/backend/public/admin/system_static/index-Cu1iMeao.css @@ -0,0 +1 @@ +.coupon-select[data-v-02474edd]{padding:15px 15px 0;background-color:#fff}.footer[data-v-02474edd]{padding:15px 0;text-align:right} diff --git a/backend/public/admin/system_static/index-Cu7i-P1g.css b/backend/public/admin/system_static/index-Cu7i-P1g.css new file mode 100644 index 000000000..47114636d --- /dev/null +++ b/backend/public/admin/system_static/index-Cu7i-P1g.css @@ -0,0 +1 @@ +[data-v-9eedbdbd] .ivu-menu-vertical .ivu-menu-item-group-title{display:none}[data-v-9eedbdbd] .ivu-menu-vertical.ivu-menu-light:after{display:none}.left-wrapper[data-v-9eedbdbd]{height:904px;background:#fff;border-right:1px solid #f2f2f2}.menu-item[data-v-9eedbdbd]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;word-break:break-all}.menu-item .icon-box[data-v-9eedbdbd]{z-index:3;position:absolute;right:20px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);display:none}.menu-item:hover .icon-box[data-v-9eedbdbd]{display:block}.menu-item .right-menu[data-v-9eedbdbd]{z-index:10;position:absolute;right:-106px;top:-11px;width:auto;min-width:121px}.tabBox-img[data-v-9eedbdbd]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox-img img[data-v-9eedbdbd]{width:100%;height:100%}.ivu-menu[data-v-9eedbdbd]{z-index:auto}.header[data-v-9eedbdbd],.headers[data-v-9eedbdbd]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:#f2f2f2;padding:8px}.header .search[data-v-9eedbdbd],.headers .search[data-v-9eedbdbd]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.header .search>div[data-v-9eedbdbd],.headers .search>div[data-v-9eedbdbd]{margin-right:10px}.search[data-v-9eedbdbd] .ivu-select-selection{border:1px solid #dcdee2!important}.headers[data-v-9eedbdbd]{background-color:#fff;margin-bottom:20px}[data-v-9eedbdbd] .ivu-modal-mask,[data-v-9eedbdbd] .ivu-modal-wrap{z-index:100!important}.add-task[data-v-9eedbdbd]{margin:10px 0} diff --git a/backend/public/admin/system_static/index-CugQ9vpM.css b/backend/public/admin/system_static/index-CugQ9vpM.css new file mode 100644 index 000000000..25d2c392d --- /dev/null +++ b/backend/public/admin/system_static/index-CugQ9vpM.css @@ -0,0 +1 @@ +.tabBox_img[data-v-f0825c42]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-f0825c42]{width:100%;height:100%} diff --git a/backend/public/admin/system_static/index-CuzkuoCM.css b/backend/public/admin/system_static/index-CuzkuoCM.css new file mode 100644 index 000000000..5b352c70c --- /dev/null +++ b/backend/public/admin/system_static/index-CuzkuoCM.css @@ -0,0 +1 @@ +@charset "UTF-8";.contentBox[data-v-8c5573a9]{height:600px;width:100%;position:relative}.contentBox #content[data-v-8c5573a9]{position:absolute;bottom:0;width:86%}.waterfall-scroll[data-v-8c5573a9]{height:100%;overflow-x:hidden;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none}.waterfall-scroll[data-v-8c5573a9]::-webkit-scrollbar{display:none}.waterfall-cols[data-v-8c5573a9]{-webkit-column-gap:15px;-moz-column-gap:15px;column-gap:15px}.waterfall-item[data-v-8c5573a9]{-webkit-column-break-inside:avoid;-moz-column-break-inside:avoid;break-inside:avoid;margin-bottom:15px;background:#f7f7f7;border-radius:5px;overflow:hidden}.waterfall-over[data-v-8c5573a9]{padding:10px 0;text-align:center}.some-info[data-v-8c5573a9]{padding:7px;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.Refresh[data-v-8c5573a9]{font-size:12px;color:var(--prev-color-primary);cursor:pointer;line-height:35px;display:inline-block}.news_pic[data-v-8c5573a9]{width:100%;height:150px;overflow:hidden;position:relative;background-size:cover;border-radius:5px 5px 0 0;padding:10px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.news_sp[data-v-8c5573a9]{font-size:12px;color:#000;background:#fff;width:100%;height:38px;line-height:38px;padding:0 12px;-webkit-box-sizing:border-box;box-sizing:border-box;display:block}.news_cent[data-v-8c5573a9]{width:100%;height:auto;background:#fff;border-top:1px dashed #eee;display:-webkit-box;display:-ms-flexbox;display:flex;padding:10px;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.news_cent .news_sp1[data-v-8c5573a9]{font-size:12px;color:#000;width:71%}.news_cent .news_cent_img[data-v-8c5573a9]{width:81px;height:46px;border-radius:6px;overflow:hidden}.news_cent .news_cent_img img[data-v-8c5573a9]{width:100%;height:100%}.news_pic[data-v-8c5573a9] .el-button--error{width:24px!important;height:24px!important;background:#ff5d5f!important;color:#fff!important;border:1px solid #eee!important}.news_pic[data-v-8c5573a9] .el-button--error:hover{background:#ff5d5f!important;border:1px solid #fff!important;color:#fff!important}.news_pic[data-v-8c5573a9] .el-button--success{width:24px!important;height:24px!important;border:1px solid #eee!important} diff --git a/backend/public/admin/system_static/index-Cv0BAQrw.js b/backend/public/admin/system_static/index-Cv0BAQrw.js new file mode 100644 index 000000000..d2c11543a --- /dev/null +++ b/backend/public/admin/system_static/index-Cv0BAQrw.js @@ -0,0 +1 @@ +import{l as u,a as he,u as Q,y as t,z as n,A as e,s as c,a0 as y,ac as N,a1 as F,$ as O,ab as Se,H as S,ad as rt,f as Te,b as Ge,k as W,j as D,F as P,D as X,C as H,B as K,W as te,ao as Ne,a7 as Ve,Z as U,p as Ue,n as we,aj as vt}from"./element-plus-C_ZDq0cz.js";import{_ as fe,A as Ce,m as qe,a as ft,S as De,g as Me,h as _t,K as Le,r as pt}from"./index-DHL7RTL2.js";import{u as mt}from"./store-Uf3gwVpr.js";import{S as me}from"./socket-DARqh6Ia.js";import{unreadNumApi as Ke,record as Fe,userLabel as ht,userLabelPut as gt,userGroupApi as bt,userInfo as kt,putGroupApi as yt,endChatApi as $t,serviceCate as xt,speeChcraft as wt,addSpeeChcraft as Ct,serviceCateUpdate as St,editServiceCate as Et,addServiceCate as It,transferList as Lt,serviceTransfer as Tt,serviceList as Vt,uploadImg as Ut}from"./api-F07lxUgi.js";import{e as We,s as jt}from"./empty-9253BCs-.js";import{e as Re,q as Ot}from"./emoji-Bf3wLaas.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const Nt="/admin/system_static/notice-LFSmxyzk.wav",Dt={class:"base-header"},Mt={class:"left-header-wrapper"},Bt={class:"user_info"},Ht={alt:""},At={class:"status-box"},zt={class:"online-down"},Pt={key:0,class:"iconfont iconduihao"},qt={key:0,class:"iconfont iconduihao"},Ft=["title"],Rt=Object.assign({name:"baseHeader"},{__name:"baseHeader",props:{kefuInfo:{type:Object,default:function(){return{}}},online:{type:[Boolean,Number],default:!0}},emits:["setOnline"],setup(A,{emit:L}){const j=L,T=mt(),$=u(!1),r=u(window.localStorage.getItem("kefu_sound_off")==="1");he(()=>{document.addEventListener("click",()=>{$.value=!1})});function x(){$.value=!$.value}function V(p){j("setOnline",p),$.value=!1}function k(){r.value=!r.value,window.localStorage.setItem("kefu_sound_off",r.value?"1":"0")}function E(){$.value=!1,rt({title:"退出登录确认",message:"您确定退出登录当前账户吗?打开的标签页和个人设置将会保存。",showCancelButton:!0,cancelButtonText:"取消",confirmButtonText:"确认",iconClass:"el-icon-warning",confirmButtonClass:"btn-custom-cancel"}).then(()=>{T.logoutKefu({confirm:!1})}).catch(()=>{})}return(p,i)=>{const h=Q("lazy"),g=Q("db-click");return t(),n("div",Dt,[e("div",Mt,[e("div",Bt,[c(e("img",Ht,null,512),[[h,A.kefuInfo.avatar]]),e("span",null,y(A.kefuInfo.nickname),1),e("div",At,[c((t(),n("div",{class:F(["status",A.online?"on":"off"]),onClick:N(x,["stop"])},[i[2]||(i[2]=e("span",{class:"dot"},null,-1)),O(" "+y(A.online?"在线":"下线"),1)],2)),[[g]]),c(e("div",zt,[c((t(),n("div",{class:"item",onClick:i[0]||(i[0]=N(w=>V(1),["stop"]))},[A.online?(t(),n("span",Pt)):S("",!0),i[3]||(i[3]=e("i",{class:"green"},null,-1)),i[4]||(i[4]=O("在线 ",-1))])),[[g]]),c((t(),n("div",{class:"item",onClick:i[1]||(i[1]=N(w=>V(0),["stop"]))},[A.online?S("",!0):(t(),n("span",qt)),i[5]||(i[5]=e("i",null,null,-1)),i[6]||(i[6]=O("下线 ",-1))])),[[g]]),c((t(),n("div",{class:"item logout",onClick:N(E,["stop"])},[...i[7]||(i[7]=[e("span",{class:"iconfont icontuichu"},null,-1),O("退出登录 ",-1)])])),[[g]])],512),[[Se,$.value]])])]),c((t(),n("div",{class:"sound-btn",title:r.value?"开启提示音":"关闭提示音",onClick:N(k,["stop"])},[e("span",{class:F(["iconfont",r.value?"iconshengyinjingyinxianxing":"iconshengyinyinliang"])},null,2)],8,Ft)),[[g]])])])}}}),Yt=fe(Rt,[["__scopeId","data-v-116f29fc"]]),Gt={class:"chatList"},Kt={class:"search-box"},Wt={class:"tab-head"},Qt=["onClick"],Zt={key:0,class:"item-num"},Jt={class:"scroll-box"},Xt=["onClick"],es={class:"avatar"},ts={alt:""},ss={class:"user-info"},ls={class:"hd"},ns={class:"name line1"},as={key:0,class:"label"},os={key:1,class:"label H5"},is={key:2,class:"label wechat"},us={key:3,class:"label pc"},ds={class:"bd line1"},cs={class:"right-box"},rs={class:"time"},vs={key:0,class:"num"},fs=Object.assign({name:"chatList"},{__name:"chatList",props:{userOnline:{type:Object,default:function(){return{}}},newRecored:{type:Object,default:function(){return{}}}},emits:["setDataId"],setup(A,{emit:L}){const j=A,T=L,$=u(0),r=u([{key:0,title:"会话列表"},{key:1,title:"会话结束"}]),x=u([]),V=u({user:0,tourist:0}),k=u(""),E=u(1),p=u(15),i=u(!0),h=u(!1),g=u(""),w=u(!1),R=u("");function q(d){if(!d)return"";const I=Ve.unix(d),s=Ve();return I.isSame(s,"day")?I.format("HH:mm"):I.isSame(s,"year")?I.format("M月D日"):I.format("YYYY年M月D日")}Te(()=>j.userOnline,(d,I)=>{d.hasOwnProperty("to_uid")&&x.value.forEach((s,o,M)=>{s.to_uid==d.to_uid&&(s.online=d.online,d.online==1?Ne.info({title:"上线通知",message:`${s.nickname}上线`}):(Ne.info({title:"下线通知",message:`${s.nickname}已离线,会话已移入「会话结束」`}),$.value===0&&M.splice(o,1)))})},{deep:!0});function Y(){g.value=R.value,E.value=1,i.value=!0,h.value=!1,x.value=[],ue()}let C=null,f=null,se=!1;function ee(d){if(!(d!=null&&d.id)||$.value!==0)return;const I=x.value.findIndex(s=>String(s.id)===String(d.id));I!==-1&&x.value.splice(I,1),x.value.unshift(d)}function le(d){x.value.findIndex(s=>{var o;return String(s.id)===String((o=d.recored)==null?void 0:o.id)})===0&&(T("setDataId",d.recored),d.recored.mssage_num=0),ee(d.recored),Ne.info({title:"您有一条转接消息!"}),oe()}function ne(d){ee(d.recored),oe()}function z(){document.hidden||se||(se=!0,Fe({nickname:g.value,page:1,limit:p.value,is_end:$.value}).then(d=>{var I;if($.value===0){if(d.data.lengthString(s.id)===String(k.value))&&(k.value=((I=d.data[0])==null?void 0:I.id)||"",T("setDataId",d.data[0]||0));return}[...d.data].reverse().forEach(ee)}}).finally(()=>{se=!1}))}function ae(){z()}he(()=>{me.then(d=>{C=d,d.$on("transfer",le),d.$on("mssage_num",ne),d.$on("success",ae)}),Ce.on("change",pe),Ce.on("kefuChatEnded",_e),ue(),oe(),f=window.setInterval(z,5e3)});function _e(){E.value=1,i.value=!0,h.value=!1,x.value=[],ue(),oe()}function pe(d){g.value=d}Ge(()=>{C&&(C.$off("transfer",le),C.$off("mssage_num",ne),C.$off("success",ae)),f&&window.clearInterval(f),Ce.off("change",pe),Ce.off("kefuChatEnded",_e)});function ge(d){$.value!=d.key&&($.value=d.key,i.value=!0,h.value=!1,E.value=1,x.value=[],ue(),oe())}function oe(){Ke().then(d=>{V.value=d.data}).catch(()=>{})}function ce(d){return d!==0?0:Number(V.value.user||0)+Number(V.value.tourist||0)}function ue(){!i.value||h.value||(h.value=!0,Fe({nickname:g.value,page:E.value,limit:p.value,is_end:$.value}).then(d=>{if(h.value=!1,d.data.length>0){d.data[0].mssage_num=0,i.value=d.data.length>=p.value;const I=new Set(x.value.map(s=>String(s.id)));x.value=x.value.concat(d.data.filter(s=>!I.has(String(s.id)))),E.value==1&&d.data.length>0&&!w.value&&(k.value=d.data[0].id,T("setDataId",d.data[0])),E.value++}else T("setDataId",0)}).catch(()=>{h.value=!1}))}function re(d){k.value!=d.id&&(d.mssage_num=0,k.value=d.id,T("setDataId",d))}function be(d){const I=d.target;I.scrollTop+I.clientHeight>=I.scrollHeight-10&&ue()}return(d,I)=>{const s=W("el-input"),o=W("el-badge"),M=Q("db-click"),ie=Q("lazy");return t(),n("div",Gt,[e("div",Kt,[D(s,{modelValue:R.value,"onUpdate:modelValue":I[0]||(I[0]=b=>R.value=b),placeholder:"搜索用户名称",clearable:"",onChange:Y},null,8,["modelValue"])]),e("div",Wt,[(t(!0),n(P,null,X(r.value,(b,Z)=>c((t(),n("div",{class:F(["item",{active:b.key==$.value}]),key:Z,onClick:ke=>ge(b)},[O(y(b.title)+" ",1),ce(b.key)>0?(t(),n("span",Zt,y(ce(b.key)>99?"99+":ce(b.key)),1)):S("",!0)],10,Qt)),[[M]])),128))]),e("div",Jt,[x.value.length>0?(t(),n("div",{key:0,class:"scroll-inner",onScroll:be},[(t(!0),n(P,null,X(x.value,(b,Z)=>c((t(),n("div",{class:F(["chat-item",{active:k.value==b.id}]),key:Z,onClick:ke=>re(b)},[e("div",es,[c(e("img",ts,null,512),[[ie,b.wx_avatar]]),e("div",{class:F(["status",{off:b.online==0}])},null,2)]),e("div",ss,[e("div",ls,[e("span",ns,y(b.nickname),1),e("span",{class:F(["label source",b.is_tourist==1?"tourist":"user-tag"])},y(b.is_tourist==1?"游客":"用户"),3),b.type==2?(t(),n("span",as,"小程序")):S("",!0),b.type==3?(t(),n("span",os,"H5")):S("",!0),b.type==1?(t(),n("span",is,"公众号")):S("",!0),b.type==0?(t(),n("span",us,"PC端")):S("",!0)]),e("div",ds,[b.message_type<=2?(t(),n(P,{key:0},[O(y(b.message),1)],64)):S("",!0),b.message_type==3?(t(),n(P,{key:1},[O("[图片]")],64)):S("",!0),b.message_type==5?(t(),n(P,{key:2},[O("[商品]")],64)):S("",!0),b.message_type==6?(t(),n(P,{key:3},[O("[订单]")],64)):S("",!0)])]),e("div",cs,[e("div",rs,y(q(b.update_time)),1),$.value===0&&b.mssage_num>0?(t(),n("div",vs,[D(o,{value:b.mssage_num},{default:H(()=>[...I[1]||(I[1]=[e("a",{href:"#",class:"demo-badge"},null,-1)])]),_:1},8,["value"])])):S("",!0)])],10,Xt)),[[M]])),128))],32)):(t(),K(te(We),{key:1,msg:$.value?"暂无结束会话":"暂无会话",status:"1"},null,8,["msg"]))])])}}}),_s=fe(fs,[["__scopeId","data-v-63a03d30"]]),ps={class:"label-wrapper"},ms={class:"title"},hs={class:"list"},gs=["onClick"],bs={class:"footer"},ks=Object.assign({name:"userLabel"},{__name:"userLabel",props:{uid:{type:[String,Number],default:""}},emits:["editLabel","close"],setup(A,{emit:L}){const j=A,T=L,$=u([]),r=u([]);he(()=>{x()});function x(){ht(j.uid).then(p=>{p.data.map(i=>{i.label.map(h=>{h.disabled&&r.value.push(h.id)})}),$.value=p.data})}function V(p){if(p.disabled){let i=r.value.indexOf(p.id);r.value.splice(i,1),p.disabled=!1}else r.value.push(p.id),p.disabled=!0}function k(){let p=[];$.value.map(i=>{i.label.map(h=>{h.disabled==!1&&p.push(h.id)})}),gt(j.uid,{label_ids:r.value,un_label_ids:p}).then(i=>{U.success(i.msg),T("editLabel")}).catch(i=>{U.error(i.msg)})}function E(){T("close")}return(p,i)=>{const h=W("el-button"),g=Q("db-click");return t(),n("div",ps,[(t(!0),n(P,null,X($.value,(w,R)=>(t(),n("div",{class:"label-box",key:R},[e("div",ms,y(w.name),1),e("div",hs,[(t(!0),n(P,null,X(w.label,(q,Y)=>c((t(),n("div",{class:F(["label-item",{on:q.disabled}]),key:Y,onClick:C=>V(q)},[O(y(q.label_name),1)],10,gs)),[[g]])),128))])]))),128)),e("div",bs,[c((t(),K(h,{type:"primary",class:"btns",onClick:k},{default:H(()=>[...i[0]||(i[0]=[O("确定",-1)])]),_:1})),[[g]]),c((t(),K(h,{type:"primary",class:"btns",ghost:"",onClick:E},{default:H(()=>[...i[1]||(i[1]=[O("取消",-1)])]),_:1})),[[g]])])])}}}),ys=fe(ks,[["__scopeId","data-v-3ce5ed56"]]),$s={class:"label-wrapper"},xs={class:"label-box"},ws={class:"list"},Cs=["onClick"],Ss=Object.assign({name:"userLabel"},{__name:"userGroup",props:{uid:{type:[String,Number],default:""},groupId:{type:[String,Number],default:""},labelList:{type:Array,default:()=>{}}},emits:["editUserLabel"],setup(A,{emit:L}){const j=L;function T($){j("editUserLabel",$.id)}return($,r)=>{const x=Q("db-click");return t(),n("div",$s,[e("div",xs,[e("div",ws,[(t(!0),n(P,null,X(A.labelList,(V,k)=>c((t(),n("div",{class:F(["label-item",{on:V.id==A.groupId}]),key:k,onClick:E=>T(V)},[O(y(V.group_name),1)],10,Cs)),[[x]])),128))])])])}}}),Es=fe(Ss,[["__scopeId","data-v-3e857cc7"]]),Is={class:"right-wrapper"},Ls={key:0,class:"user-wrapper"},Ts={class:"user-card"},Vs={class:"avatar",alt:""},Us={class:"user-meta"},js={class:"name line1"},Os={class:"info-list"},Ns={class:"info-item"},Ds={class:"info-item"},Ms={class:"info-item"},Bs={class:"info-item"},Hs={class:"info-value"},As={class:"info-item"},zs={class:"info-value"},Ps={class:"info-item"},qs={class:"info-value"},Fs={class:"info-item"},Rs={class:"edit-block-body"},Ys={key:0,class:"tag"},Gs={key:1,class:"empty-text"},Ks={class:"edit-block-body"},Ws={key:1,class:"empty-text"},Qs={key:2,class:"end-chat"},Zs=Object.assign({name:"rightMenu"},{__name:"rightMenu",props:{isTourist:{type:[String,Number],default:0},status:{type:[String,Number],default:""},uid:{type:[String,Number],default:""},webType:{type:[String,Number],default:""},isEnd:{type:[String,Number],default:0}},setup(A){const L=A;function j(C){if(C)return Ve.unix(C).format("YYYY年M月D日")}function T(C){return{h5:"H5",wechat:"公众号",routine:"小程序",pc:"PC"}[C]}const $=u([]),r=u(""),x=u(!1),V=u(!1),k=u(!1),E=Ue(()=>!!L.uid&&Number(L.isEnd)!==1),p={0:{text:"PC端",class:"pc"},1:{text:"公众号",class:"wechat"},2:{text:"小程序",class:"routine"},3:{text:"H5",class:"h5"}},i=Ue(()=>p[L.webType]||null);function h(){k.value=!0,$t(L.uid).then(C=>{U.success(C.msg||"会话已结束"),Ce.emit("kefuChatEnded")}).finally(()=>{k.value=!1})}Te(()=>L.uid,(C,f)=>{C&&C!=f&&L.isTourist==0?(w(),g()):C||(r.value="")}),Te(()=>L.isTourist,C=>{C==1&&(r.value="")}),he(()=>{L.uid&&L.isTourist==0&&(w(),g())});function g(){bt().then(C=>{$.value=C.data})}function w(){kt(L.uid).then(C=>{r.value=C.data}).catch(()=>{r.value=""})}function R(){V.value=!1,w()}function q(C){x.value=!1,yt(L.uid,C).then(f=>{U.success(f.msg),w()})}function Y(){V.value=!1,x.value=!1}return(C,f)=>{const se=W("el-button"),ee=W("el-dialog"),le=Q("lazy"),ne=Q("db-click");return t(),n("div",Is,[r.value?(t(),n("div",Ls,[e("div",Ts,[c(e("img",Vs,null,512),[[le,r.value.avatar]]),e("div",Us,[e("div",js,y(r.value.nickname),1),i.value?(t(),n("span",{key:0,class:F(["channel-tag",i.value.class])},y(i.value.text),3)):S("",!0)])]),e("div",Os,[e("div",Ns,[f[4]||(f[4]=e("span",{class:"info-label"},"手机号",-1)),e("span",{class:F(["info-value",{"is-empty":!r.value.phone}])},y(r.value.phone||"暂无"),3)]),e("div",Ds,[f[5]||(f[5]=e("span",{class:"info-label"},"用户等级",-1)),e("span",{class:F(["info-value",{"is-empty":!r.value.level_name}])},y(r.value.level_name||"暂无"),3)]),e("div",Ms,[f[6]||(f[6]=e("span",{class:"info-label"},"推荐人",-1)),e("span",{class:F(["info-value",{"is-empty":!r.value.spread_name}])},y(r.value.spread_name||"暂无"),3)]),e("div",Bs,[f[7]||(f[7]=e("span",{class:"info-label"},"用户类型",-1)),e("span",Hs,y(T(r.value.user_type)),1)]),e("div",As,[f[8]||(f[8]=e("span",{class:"info-label"},"余额",-1)),e("span",zs,y(r.value.now_money),1)]),e("div",Ps,[f[9]||(f[9]=e("span",{class:"info-label"},"推广员",-1)),e("span",qs,y(r.value.is_promoter?"是":"否"),1)]),e("div",Fs,[f[10]||(f[10]=e("span",{class:"info-label"},"生日",-1)),e("span",{class:F(["info-value",{"is-empty":!r.value.birthday}])},y(j(r.value.birthday)||"暂无"),3)])]),c((t(),n("div",{class:"edit-block",onClick:f[0]||(f[0]=N(z=>x.value=!0,["stop"]))},[f[11]||(f[11]=e("div",{class:"edit-block-head"},[e("span",{class:"info-label"},"分组"),e("i",{class:"el-icon-arrow-right arrow-icon"})],-1)),e("div",Rs,[r.value.group_name?(t(),n("span",Ys,y(r.value.group_name),1)):(t(),n("span",Gs,"暂无分组,点击选择"))])])),[[ne]]),c((t(),n("div",{class:"edit-block",onClick:f[1]||(f[1]=N(z=>V.value=!0,["stop"]))},[f[12]||(f[12]=e("div",{class:"edit-block-head"},[e("span",{class:"info-label"},"用户标签"),e("i",{class:"el-icon-arrow-right arrow-icon"})],-1)),e("div",Ks,[r.value.labelNames&&r.value.labelNames.length?(t(!0),n(P,{key:0},X(r.value.labelNames,(z,ae)=>(t(),n("span",{class:"tag",key:ae},y(z),1))),128)):(t(),n("span",Ws,"暂无标签,点击选择"))])])),[[ne]])])):(t(),K(te(We),{key:1,status:"2",msg:"暂无用户信息"})),E.value?(t(),n("div",Qs,[c((t(),K(se,{type:"danger",plain:"",class:"end-btn",loading:k.value,onClick:h},{default:H(()=>[...f[13]||(f[13]=[O(" 结束会话 ",-1)])]),_:1},8,["loading"])),[[ne]])])):S("",!0),D(ee,{title:"选择用户标签",modelValue:V.value,"onUpdate:modelValue":f[2]||(f[2]=z=>V.value=z),width:"470px",class:"label-box","show-close":!0},{header:H(()=>[...f[14]||(f[14]=[e("p",{class:"label-head"},[e("span",null,"选择用户标签")],-1)])]),default:H(()=>[V.value?(t(),K(te(ys),{key:0,onClose:Y,uid:A.uid,onEditLabel:R},null,8,["uid"])):S("",!0)]),_:1},8,["modelValue"]),D(ee,{modelValue:x.value,"onUpdate:modelValue":f[3]||(f[3]=z=>x.value=z),title:"选择分组",width:"470px",class:"label-box","show-close":!0},{header:H(()=>[...f[15]||(f[15]=[e("p",{class:"label-head"},[e("span",null,"选择分组")],-1)])]),default:H(()=>[x.value?(t(),K(te(Es),{key:0,groupId:r.value.group_id,labelList:$.value,onClose:Y,uid:A.uid,onEditUserLabel:q},null,8,["groupId","labelList","uid"])):S("",!0)]),_:1},8,["modelValue"])])}}}),Js=fe(Zs,[["__scopeId","data-v-48764937"]]),Xs={class:"msg-box"},el={class:"head"},tl={class:"tab-bar"},sl=["onClick"],ll={class:"search-box"},nl={class:"main"},al={class:"left-box"},ol={class:"left-scroll"},il={key:0,class:"left-item"},ul=["onClick"],dl=["onClick"],cl={class:"edit-wrapper"},rl=["onClick"],vl=["onClick"],fl=["onClick"],_l={class:"right-box"},pl={class:"right-scroll","infinite-scroll-immediate":!1,"infinite-scroll-delay":500,style:{overflow:"auto"}},ml={key:0,class:"msg-item add-box",style:{"margin-top":"0"}},hl={class:"box2"},gl={class:"content"},bl={class:"bom"},kl={class:"select"},yl={class:"btns-box"},$l={key:0,class:"msg-item"},xl={key:0,class:"box1"},wl=["onClick"],Cl={key:0,class:"title"},Sl={key:1},El={key:0,class:"edit-box"},Il=["onClick"],Ll=["onClick"],Tl={key:1,class:"box2"},Vl={class:"content"},Ul={class:"bom"},jl={class:"select"},Ol={class:"btns-box"},Nl={class:"item"},Dl={class:"item"},Ml={class:"dialog-footer"},Bl=Object.assign({name:"msgWindow"},{__name:"msgWindow",emits:["close","activeTxt"],setup(A,{emit:L}){const j=u(!0),T=u(1),$=u(15),r=u(1),x=u([{title:"个人库",key:1},{title:"公共库",key:0}]),V=u(""),k=u([{isEdit:!1}]),E=u([]),p=u(""),i=u({title:"",message:"",cateId:"",isEdit:!1}),h=u(!1),g=u(""),w=u(""),R=u(""),q=u({});function Y(s){let o=37;return s.length>o?`${s.substring(0,o)}...`:s}function C(s){let o=113;return s.length>o?`${s.substring(0,o)}...`:s}he(()=>{z()});function f(s){s.isEdit=!0,p.value=s.cate_id}function se(s,o){s.isEdit=!s.isEdit}function ee(s){r.value=s.key,p.value="",E.value=[],j.value=!0,T.value=1,k.value=[],z()}function le(s){p.value!=s.id&&(E.value.forEach((o,M)=>{o.id!=s.id&&(o.isEdit=!1)}),p.value=s.id,j.value=!0,T.value=1,k.value=[],ae())}function ne(s,o,M){let ie={title:o,url:`/kefu/service/cate/${s.id}`,method:"DELETE",ids:"",kefu:!0};qe(ie).then(b=>{U.success(b.msg),j.value=!0,T.value=1,k.value=[],p.value="",z()}).catch(b=>{U.error(b.msg)})}function z(){xt({type:r.value}).then(s=>{s.data.data.forEach((o,M)=>{o.isEdit=!1}),E.value=s.data.data,p.value===""&&(p.value=s.data.data[0].id),ae()})}function ae(){j.value&&wt({page:T.value,limit:$.value,title:V.value,cate_id:p.value,type:r.value}).then(s=>{j.value=s.data.length>=$.value,s.data.forEach((o,M)=>{o.isEdit=!1}),T.value++,k.value=k.value.concat(s.data)})}function _e(s){St(s.id,{title:s.title,cate_id:p.value,message:s.message}).then(o=>{U.success("修改成功"),s.isEdit=!1}).catch(o=>{U.error(o.msg),s.isEdit=!0})}function pe(){k.value.forEach((s,o)=>{s.isEdit=!1}),i.value.isEdit=!0}function ge(){h.value=!0,R.value="添加分组",q.value.id=0}function oe(){Ct({title:i.value.title,cate_id:i.value.cateId,message:i.value.message}).then(s=>{i.value.title="",i.value.message="",i.value.cateId="",i.value.isEdit=!1,U.success(s.msg),s.data.isEdit=!1,T.value=1,k.value=[],j.value=!0,z()}).catch(s=>{U.error(s.msg)})}function ce(s,o,M,ie){let b={title:o,url:`kefu/service/speechcraft/${s.id}`,method:"DELETE",ids:"",kefu:!0};qe(b).then(Z=>{U.success(Z.msg),k.value.splice(M,1)}).catch(Z=>{U.error(Z.msg)})}function ue(){q.value.id?Et(q.value.id,{name:g.value,sort:w.value}).then(s=>{g.value="",w.value="",U.success(s.msg),h.value=!1,T.value=1,k.value=[],j.value=!0,z()}).catch(s=>{g.value="",w.value="",U.error(s.msg)}):It({name:g.value,sort:w.value}).then(s=>{g.value="",w.value="",U.success(s.msg),h.value=!1,T.value=1,k.value=[],j.value=!0,z()}).catch(s=>{g.value="",w.value="",U.error(s.msg)})}function re(s){w.value=s.sort,g.value=s.name,h.value=!0,R.value="编辑分组",q.value=s}function be(){ae()}function d(s){I("activeTxt",s.message)}const I=L;return(s,o)=>{const M=W("el-input"),ie=W("el-option"),b=W("el-select"),Z=W("el-button"),ke=W("el-dialog"),G=Q("db-click"),je=Q("infinite-scroll");return t(),n("div",Xs,[e("div",el,[e("div",tl,[(t(!0),n(P,null,X(x.value,(v,ve)=>c((t(),n("a",{href:"javascript:;",class:F(["tab-item",{on:v.key==r.value}]),key:ve,onClick:B=>ee(v)},[O(y(v.title),1)],10,sl)),[[G]])),128))]),e("div",ll,[D(M,{placeholder:"搜索快捷回复",style:{width:"100%"},modelValue:V.value,"onUpdate:modelValue":o[0]||(o[0]=v=>V.value=v)},null,8,["modelValue"])])]),e("div",nl,[e("div",al,[e("div",ol,[r.value?(t(),n("div",il,[o[9]||(o[9]=e("p",null,"分组",-1)),c(e("span",{class:"iconfont iconaddto",onClick:ge},null,512),[[G]])])):S("",!0),(t(!0),n(P,null,X(E.value,(v,ve)=>c((t(),n("div",{class:F(["left-item",{on:p.value==v.id}]),key:ve,onClick:B=>le(v)},[e("p",null,y(v.name),1),r.value?(t(),n(P,{key:0},[c(e("span",{class:"iconfont iconDot",onClick:N(B=>se(v),["stop"])},null,8,dl),[[G]]),c(e("div",cl,[c((t(),n("div",{class:"edit-item",onClick:B=>re(v)},[...o[10]||(o[10]=[O("编辑",-1)])],8,rl)),[[G]]),c((t(),n("div",{class:"edit-item",onClick:B=>ne(v,"删除分类")},[...o[11]||(o[11]=[O("删除",-1)])],8,vl)),[[G]])],512),[[Se,v.isEdit]]),c(e("div",{class:"edit-bg",onClick:N(B=>v.isEdit=!1,["stop"])},null,8,fl),[[Se,v.isEdit],[G]])],64)):S("",!0)],10,ul)),[[G]])),128))])]),e("div",_l,[c((t(),n("div",pl,[r.value?(t(),n("div",ml,[e("div",hl,[D(M,{class:"input-box",modelValue:i.value.title,"onUpdate:modelValue":o[1]||(o[1]=v=>i.value.title=v),placeholder:"输入标题(选填)",style:{width:"100%"},onOnFocus:pe},null,8,["modelValue"]),e("div",{class:F(["conBox",{active:i.value.isEdit}])},[e("div",gl,[D(M,{modelValue:i.value.message,"onUpdate:modelValue":o[2]||(o[2]=v=>i.value.message=v),type:"textarea",rows:4,placeholder:"请输入内容"},null,8,["modelValue"])]),e("div",bl,[e("div",kl,[D(b,{modelValue:i.value.cateId,"onUpdate:modelValue":o[3]||(o[3]=v=>i.value.cateId=v),style:{width:"100px"}},{default:H(()=>[(t(!0),n(P,null,X(E.value,v=>(t(),K(ie,{value:v.id,key:v.id},{default:H(()=>[O(y(v.name),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])]),e("div",yl,[c((t(),K(Z,{onClick:o[4]||(o[4]=N(v=>i.value.isEdit=!1,["stop"]))},{default:H(()=>[...o[12]||(o[12]=[O("取消",-1)])]),_:1})),[[G]]),c((t(),K(Z,{type:"primary",onClick:N(oe,["stop"])},{default:H(()=>[...o[13]||(o[13]=[O("保存",-1)])]),_:1})),[[G]])])])],2)])])):S("",!0),(t(!0),n(P,null,X(k.value,(v,ve)=>(t(),n(P,{key:ve},[v.id?(t(),n("div",$l,[v.isEdit?(t(),n("div",Tl,[D(M,{class:"input-box",modelValue:v.title,"onUpdate:modelValue":B=>v.title=B,placeholder:"输入标题(选填)",style:{width:"100%"}},null,8,["modelValue","onUpdate:modelValue"]),e("div",Vl,[D(M,{modelValue:v.message,"onUpdate:modelValue":B=>v.message=B,type:"textarea",rows:4,placeholder:"请输入内容"},null,8,["modelValue","onUpdate:modelValue"])]),e("div",Ul,[e("div",jl,[D(b,{modelValue:p.value,"onUpdate:modelValue":o[5]||(o[5]=B=>p.value=B),style:{width:"100px"}},{default:H(()=>[(t(!0),n(P,null,X(E.value,B=>(t(),K(ie,{value:B.id,key:B.id,label:B.name},null,8,["value","label"]))),128))]),_:2},1032,["modelValue"])]),e("div",Ol,[c((t(),K(Z,{onClick:N(B=>v.isEdit=!1,["stop"])},{default:H(()=>[...o[14]||(o[14]=[O("取消",-1)])]),_:1},8,["onClick"])),[[G]]),c((t(),K(Z,{type:"primary",onClick:N(B=>_e(v),["stop"])},{default:H(()=>[...o[15]||(o[15]=[O("保存",-1)])]),_:1},8,["onClick"])),[[G]])])])])):(t(),n("div",xl,[c((t(),n("div",{class:"txt-box",onClick:B=>d(v)},[v.title?(t(),n("span",Cl,y(Y(v.title)),1)):S("",!0),v.message?(t(),n("span",Sl,y(C(v.message)),1)):S("",!0)],8,wl)),[[G]]),r.value?(t(),n("div",El,[c(e("span",{class:"iconfont iconbianji",onClick:N(B=>f(v),["stop"])},null,8,Il),[[G]]),c(e("span",{class:"iconfont iconshanchu",onClick:N(B=>ce(v,"删除话术",ve),["stop"])},null,8,Ll),[[G]])])):S("",!0)]))])):S("",!0)],64))),128))])),[[je,be]])])]),D(ke,{modelValue:h.value,"onUpdate:modelValue":o[8]||(o[8]=v=>h.value=v),"append-to-body":"",title:R.value,width:"304px",class:"class-box"},{footer:H(()=>[e("span",Ml,[c((t(),K(Z,{type:"primary",onClick:ue},{default:H(()=>[...o[18]||(o[18]=[O("确定",-1)])]),_:1})),[[G]])])]),default:H(()=>[e("div",Nl,[o[16]||(o[16]=e("span",null,"分组名称:",-1)),D(M,{modelValue:g.value,"onUpdate:modelValue":o[6]||(o[6]=v=>g.value=v),placeholder:"分组名称"},null,8,["modelValue"])]),e("div",Dl,[o[17]||(o[17]=e("span",null,"分组排序:",-1)),D(M,{modelValue:w.value,"onUpdate:modelValue":o[7]||(o[7]=v=>w.value=v),placeholder:"输入排序"},null,8,["modelValue"])]),o[19]||(o[19]=e("div",{class:"btn"},null,-1))]),_:1},8,["modelValue","title"])])}}}),Hl=fe(Bl,[["__scopeId","data-v-34dbbf9b"]]),Al={class:"list-wrapper"},zl=["onClick"],Pl={alt:""},ql={class:"line1"},Fl=Object.assign({name:"transfer"},{__name:"transfer",props:{userUid:{type:[String,Number],default:""}},emits:["transferPeople","close"],setup(A,{emit:L}){const j=A,T=L,$=u([]),r=u("");he(()=>{x()});function x(){Lt({nickname:r.value,uid:j.userUid}).then(k=>{$.value=k.data.list})}function V(k){Tt({uid:j.userUid,kefuToUid:k.uid}).then(E=>{U.success(E.msg),T("close")}).catch(E=>{U.error(E.msg)})}return(k,E)=>{const p=Q("lazy"),i=Q("db-click");return t(),n("div",null,[e("div",Al,[(t(!0),n(P,null,X($.value,(h,g)=>c((t(),n("div",{class:"user-item",key:g,onClick:w=>V(h)},[c(e("img",Pl,null,512),[[p,h.avatar]]),e("p",ql,y(h.wx_name),1)],8,zl)),[[i]])),128))])])}}}),Rl=fe(Fl,[["__scopeId","data-v-0fe8dec3"]]),Yl={class:"kefu-layouts"},Gl={class:"content-wrapper"},Kl={class:"container"},Wl={class:"chat-content"},Ql={class:"chat-body"},Zl=["id"],Jl={class:"flex-box"},Xl={class:"avatar"},en={alt:""},tn={class:"msg-wrapper"},sn=["innerHTML"],ln={key:1,class:"img-wraper"},nn={alt:""},an={key:2,class:"product-wrapper"},on={class:"img-box"},un={alt:""},dn={class:"info"},cn={class:"name line1"},rn={class:"price"},vn={key:3,class:"order-wrapper"},fn={class:"img-box"},_n={alt:""},pn={class:"order-info"},mn={class:"name line1"},hn={class:"sku"},gn={class:"price-box"},bn={class:"more"},kn={class:"chat-textarea"},yn={class:"textarea-box"},$n={class:"input-toolbar"},xn={class:"left-wrappers"},wn={class:"icon-item"},Cn={class:"right-wrapper"},Sn={key:0,class:"transfer-box"},En={class:"emoji-box"},In={class:"emoji-tabs"},Ln={key:0,class:"emoji-list"},Tn=["onClick"],Vn={key:1,class:"emoji-list"},Un=["title","onClick"],Ye=20,jn=Object.assign({name:"index"},{__name:"index",setup(A){const L=new Audio(Nt);function j(){L.play().then(()=>{L.pause(),L.currentTime=0}).catch(()=>{}),window.removeEventListener("click",j),window.removeEventListener("keydown",j)}window.addEventListener("click",j),window.addEventListener("keydown",j);function T(){window.localStorage.getItem("kefu_sound_off")!=="1"&&L.play().catch(()=>{})}const $=function(l,a){a=a*1||1;var _=[];return l.forEach(function(J,Oe){Oe%a===0&&_.push([]),_[_.length-1].push(J)}),_},r=_t();ft().isMobile&&r.replace(De.routePre+"/kefu/mobile_list");const x={mounted(l,a,_){l.addEventListener("paste",function(J){a.value(J)})}},V=u(null),k=u(null),E=u(null),p=u(!1),i=u("default"),h=u("");$(Re,20);const g=u({}),w=u({}),R=u(!1),q=u(!1),Y=u([]),C=u(""),f=u(0),se=u(!0),ee=u(0),le=u(!0),ne=u(0),z=u(!1);Te(ee,l=>{const a=k.value;a&&(a.scrollTop=l)});function ae(){const l=k.value;l&&l.scrollTop<=0&<()}const _e=u(""),pe=u({}),ge=u({filename:"file"}),oe=u({}),ce=u({}),ue=u(""),re=u(0),be=Ue(()=>h.value.length==0),d=Ue(()=>Y.value.map((l,a)=>(l.time=Ve(l.add_time*1e3).format("M月D日 H:mm"),a?l.add_time-Y.value[a-1].add_time>=300?l.show=!0:l.show=!1:l.show=!0,l)));let I=!1,s=null,o=!1;function M(l){l&&l.msg&&(o=!0)}Ge(()=>{I=!0,He(),window.document.title=w.value.site_name,s&&(s.$off("socket_open",ie),s.$off("error",M),s.$off("close",b))}),_e.value=De.apiBaseURL+"/kefu/upload",jt().then(l=>{w.value=l.data,w.value.site_name?document.title=w.value.site_name:w.value.site_name=""}),he(()=>{window.addEventListener("click",function(){p.value=!1}),setTimeout(l=>{me.then(a=>{I||(s=a,s.send({type:"kefu_login",data:Me("kefu_token")}),s.$on("socket_open",ie),s.$on("close",b),s.$on(["reply","chat"],_=>{_.msn_type==1&&(_.msn=ye(_.msn)),_.msn_type==2&&_.msn.indexOf("[")==-1&&(_.msn=ye(`[${_.msn}]`)),(_.to_uid==g.value.to_uid||_.uid==g.value.to_uid)&&(Y.value.push(_),we(function(){Pe(),setTimeout(Pe,800)}))}),s.$on("reply",_=>{Number(_.is_tourist)===1&&T()}),s.$on("socket_error",()=>{U.error("连接失败")}),s.$on("err_tip",_=>{U.error(_.msg)}),s.$on("user_online",_=>{oe.value=_}),s.$on("mssage_num",_=>{_.num>0&&(T(),Je()),Y.value.forEach(J=>{J.to_uid==_.uid&&(J.mssage_num=_.num)}),_.recored.id&&(ce.value=_.recored),Ke().then(J=>{Number(J.data.user)+Number(J.data.tourist)===0&&He()}).catch(()=>{})}))})},2e3),pe.value["Authori-zation"]="Bearer "+Me("kefu_token"),C.value=ye("[em-smiling_imp]")});function ie(l){l==2&&s.send({type:"kefu_login",data:Me("kefu_token")})}function b(l){if(l.key==2){if(o){o=!1,Le("kefu_token"),Le("kefu_expires_time"),Le("kefuInfo"),Le("kefu_uuid"),U.error("客服登录已失效,请重新登录"),setTimeout(()=>{r.replace({path:De.routePre+"/kefu"})},800);return}U.error("连接断开,正在尝试重连..."),setTimeout(()=>{s.init(2)},2e3)}}function Z(l){return pt(l)}function ke(l){U.error("上传图片只能是 jpg、jpg、jpeg、gif 格式!")}function G(l){let a=null;if(l.clipboardData&&l.clipboardData.items[0]&&l.clipboardData.items[0].type&&l.clipboardData.items[0].type.indexOf("image")>-1)a=l.clipboardData.items[0].getAsFile();else{U({type:"warning",message:"上传的文件必须为图片且无法复制本地图片且无法同时复制多张图片"});return}je(a)}function je(l){let a=l,_=new FormData;_.append("filename","file"),_.append("file",a),Ut(_).then(J=>{Ee(J.data.url,3)})}function v(l,a,_){l.status===200?(U.success(l.msg),Ee(l.data.url,3)):U.error(l.msg)}function ve(l){me.then(a=>{a.send({data:{online:l},type:"online"})}),se.value=l}function B(l){if(!l.shiftKey&&l.keyCode==13&&!l.isComposing){if(l.preventDefault(),l.target.value=="")return U.error("请输入消息");Ee(l.target.value,1),h.value="",we(()=>E.value.focus())}}function Qe(l){let a=`[${l}]`;h.value+=a,p.value=!1}function Ze(l){h.value+=l.char,p.value=!1}function ye(l){return l=l.replace(/\[([^\[\]]+)\]/g,""),l}let $e=null;function Be(){const l=g.value,a=w.value.site_name||"";return!l||!l.to_uid?a:l.nickname?`正在和${l.nickname}对话中 - ${a}`:"正在和游客对话中 - "+a}function Je(){if($e)return;const l=`您有新的消息,请及时查看 ${w.value.site_name||""} `;let a=0;$e=window.setInterval(()=>{window.document.title=l.slice(a)+l.slice(0,a),a=(a+1)%l.length},300)}function He(){$e&&(window.clearInterval($e),$e=null,window.document.title=Be())}function Xe(l){g.value=l,window.document.title=Be(),Y.value=[],f.value=0,ne.value=0,le.value=!0,re.value=l&&l.is_tourist==1?1:0,l?(me.then(a=>{a.send({data:{id:g.value.to_uid},type:"to_chat"})}),ze()):me.then(a=>{a.send({data:{id:0},type:"to_chat"})})}function Ae(){q.value=!1}function et(l){h.value=l,R.value=!1}function tt(){Ee(h.value,1),h.value="",we(()=>E.value.focus())}function Ee(l,a){let _={type:"chat",data:{msn:l,type:a,to_uid:g.value.to_uid,is_tourist:re.value}};me.then(J=>{J.send(_)})}function ze(){Vt({limit:Ye,uid:g.value.to_uid,upperId:f.value,is_tourist:re.value}).then(l=>{l.data.forEach(_=>{_.msn_type==1?_.msn=ye(_.msn):_.msn_type==2&&(_.msn=ye(`[${_.msn}]`))});let a="";f.value==0?a="":a=`chat_${Y.value[0].id}`,Y.value=[...l.data,...Y.value],f.value=l.data.length>0?l.data[0].id:0,z.value=!1,we(()=>{le.value=l.data.length>=Ye,st(a)})})}function Pe(){const l=k.value;l&&(l.scrollTop=l.scrollHeight)}function st(l){we(()=>{if(l)setTimeout(()=>{let _=parseFloat(document.getElementById(l).offsetTop)-60;ee.value=_},0);else{var a=document.querySelector("#chat_scroll");ee.value=a.offsetHeight,setTimeout(_=>{ee.value!=V.value.offsetHeight&&(ee.value=document.querySelector("#chat_scroll").offsetHeight)},300)}})}function lt(){le.value&&f.value&&(z.value=!0,ze())}function nt(l){ue.value=l.id,q.value=!1,U.success("转接成功"),me.then(a=>{a.send({type:"to_chat",data:{id:l.uid}})})}return(l,a)=>{const _=W("el-input"),J=W("el-upload"),Oe=W("Top"),at=W("el-icon"),ot=W("el-button"),it=W("el-dialog"),Ie=Q("lazy"),ut=Q("viewer"),dt=Q("loading"),de=Q("db-click");return t(),n("div",Yl,[e("div",Gl,[D(te(Yt),{kefuInfo:w.value,online:se.value,onSetOnline:ve},null,8,["kefuInfo","online"]),e("div",Kl,[D(te(_s),{onSetDataId:Xe,userOnline:oe.value,newRecored:ce.value},null,8,["userOnline","newRecored"]),e("div",Wl,[e("div",Ql,[e("div",{ref_key:"chatScrollBox",ref:k,class:"chat-scroll-box",onScroll:ae},[c((t(),n("div",{style:{width:"600px",padding:"20px"},id:"chat_scroll",ref_key:"scrollBox",ref:V},[(t(!0),n(P,null,X(d.value,(m,xe)=>(t(),n("div",{class:F(["chat-item",[{"right-box":m.uid==w.value.uid}]]),key:xe,id:`chat_${m.id}`},[c(e("div",{class:"time"},y(m.time),513),[[Se,m.show]]),e("div",Jl,[e("div",Xl,[c(e("img",en,null,512),[[Ie,m.avatar]])]),e("div",tn,[m.msn_type<=2?(t(),n("div",{key:0,class:"txt-wrapper pad16",innerHTML:m.msn},null,8,sn)):S("",!0),m.msn_type==3?c((t(),n("div",ln,[c(e("img",nn,null,512),[[Ie,m.msn]])])),[[ut]]):S("",!0),m.msn_type==5&&m.productInfo?(t(),n("div",an,[e("div",on,[c(e("img",un,null,512),[[Ie,m.productInfo.image]])]),e("div",dn,[e("div",cn,y(m.productInfo.store_name),1),e("div",rn,"¥"+y(m.productInfo.price),1)])])):S("",!0),m.msn_type==6&&m.orderInfo?(t(),n("div",vn,[e("div",fn,[c(e("img",_n,null,512),[[Ie,m.orderInfo.image]])]),e("div",pn,[e("div",mn,y(m.orderInfo.title),1),e("div",hn,"订单号:"+y(m.orderInfo.order_no),1),e("div",gn,[e("span",null,"¥"+y(m.orderInfo.pay_price),1),e("span",bn,y(m.orderInfo.pay_status_name)+y(m.orderInfo.status_name?"·"+m.orderInfo.status_name:""),1)])])])):S("",!0)])])],10,Zl))),128))])),[[dt,z.value]])],544)]),e("div",kn,[e("div",yn,[c(D(_,{ref_key:"chatInput",ref:E,modelValue:h.value,"onUpdate:modelValue":a[0]||(a[0]=m=>h.value=m),type:"textarea",rows:4,resize:"none",onKeydown:a[1]||(a[1]=vt(m=>B(m),["enter"])),placeholder:"请输入内容,按 Enter 发送,Shift+Enter 换行"},null,8,["modelValue"]),[[x,G]]),e("div",$n,[e("div",xn,[c((t(),n("div",{class:"icon-item",onClick:a[2]||(a[2]=N(m=>p.value=!p.value,["stop"]))},[...a[9]||(a[9]=[e("span",{class:"iconfont iconbiaoqing1"},null,-1)])])),[[de]]),e("div",wn,[D(J,{"show-file-list":!1,headers:pe.value,data:ge.value,"on-success":v,accept:"image/*","on-format-error":ke,action:_e.value,"before-upload":Z},{default:H(()=>[...a[10]||(a[10]=[e("span",{class:"iconfont icontupian1"},null,-1)])]),_:1},8,["headers","data","action"])]),c((t(),n("div",{class:"icon-item",onClick:a[3]||(a[3]=N(m=>R.value=!0,["stop","stop"]))},[...a[11]||(a[11]=[e("span",{class:"iconfont iconliaotian"},null,-1)])])),[[de]]),e("div",Cn,[c((t(),n("div",{class:"icon-item",onClick:a[4]||(a[4]=N(m=>q.value=!q.value,["stop"]))},[...a[12]||(a[12]=[e("span",{class:"iconfont iconzhuanjie"},null,-1),e("span",null,"转接",-1)])])),[[de]]),q.value?(t(),n("div",Sn,[D(te(Rl),{onClose:Ae,onTransferPeople:nt,userUid:g.value.to_uid},null,8,["userUid"])])):S("",!0),q.value?c((t(),n("div",{key:1,class:"transfer-bg",onClick:a[5]||(a[5]=N(m=>q.value=!1,["stop"]))},null,512)),[[de]]):S("",!0)])]),c((t(),K(ot,{class:"send-btn",type:"primary",disabled:be.value,onClick:N(tt,["stop"])},{default:H(()=>[D(at,null,{default:H(()=>[D(Oe)]),_:1})]),_:1},8,["disabled"])),[[de]])]),c(e("div",En,[e("div",In,[c((t(),n("span",{class:F(["tab-item",{on:i.value==="default"}]),onClick:a[6]||(a[6]=N(m=>i.value="default",["stop"]))},[...a[13]||(a[13]=[O("默认表情",-1)])],2)),[[de]]),c((t(),n("span",{class:F(["tab-item",{on:i.value==="qq"}]),onClick:a[7]||(a[7]=N(m=>i.value="qq",["stop"]))},[...a[14]||(a[14]=[O("QQ表情",-1)])],2)),[[de]])]),i.value==="default"?(t(),n("div",Ln,[(t(!0),n(P,null,X(te(Re),(m,xe)=>(t(),n("div",{class:"emoji-item",key:xe},[c(e("i",{class:F(["em",m]),onClick:N(ct=>Qe(m),["stop"])},null,10,Tn),[[de]])]))),128))])):(t(),n("div",Vn,[(t(!0),n(P,null,X(te(Ot),(m,xe)=>c((t(),n("div",{class:"emoji-item qq",key:xe,title:m.name,onClick:N(ct=>Ze(m),["stop"])},[O(y(m.char),1)],8,Un)),[[de]])),128))]))],512),[[Se,p.value]])])])]),e("div",null,[D(te(Js),{isTourist:re.value,isEnd:g.value.is_end,uid:g.value.to_uid,webType:g.value.type},null,8,["isTourist","isEnd","uid","webType"])])]),D(it,{modelValue:R.value,"onUpdate:modelValue":a[8]||(a[8]=m=>R.value=m),title:"客服话术",class:"none-radius isMsgbox",width:"720px"},{default:H(()=>[R.value?(t(),K(te(Hl),{key:0,onClose:Ae,onActiveTxt:et})):S("",!0)]),_:1},8,["modelValue"])])])}}}),Fn=fe(jn,[["__scopeId","data-v-7cb47d81"]]);export{Fn as default}; diff --git a/backend/public/admin/system_static/index-CvoyNpmC.js b/backend/public/admin/system_static/index-CvoyNpmC.js new file mode 100644 index 000000000..01800704e --- /dev/null +++ b/backend/public/admin/system_static/index-CvoyNpmC.js @@ -0,0 +1 @@ +import{k as r,u as C,y as t,z as c,j as k,A as n,F as B,D as V,s as b,B as d,C as w,a9 as y,W as D,l as _}from"./element-plus-C_ZDq0cz.js";import{_ as g,b as L}from"./index-DHL7RTL2.js";import{i as j}from"./icon-C8INUNkX.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const z={class:"iconBox"},F={class:"trees-coadd"},I={class:"scollhide"},N={class:"trees"},O={class:"list-inline"},$=Object.assign({name:"index"},{__name:"index",setup(q){const u=L(),o=_(""),i=j,l=_([]);function p(a){l.value=i.filter(e=>e.toLowerCase().indexOf(o.value.toLowerCase())>-1)}function m(a){u.query.fodder==="icon"&&(form_create_helper.set("icon",a),form_create_helper.close("icon"))}return(a,e)=>{const v=r("el-input"),f=r("el-icon"),h=C("db-click");return t(),c("div",z,[k(v,{modelValue:o.value,"onUpdate:modelValue":e[0]||(e[0]=s=>o.value=s),placeholder:"输入关键词搜索,注意全是英文",clearable:"",style:{width:"300px"},onChange:e[1]||(e[1]=s=>p(o.value)),ref:"search"},null,8,["modelValue"]),n("div",F,[n("div",I,[n("div",N,[n("ul",O,[(t(!0),c(B,null,V(o.value?l.value:D(i),(s,x)=>(t(),c("li",{class:"icons-item",key:x},[b((t(),d(f,{size:24,class:"f-s-24",onClick:A=>m(s)},{default:w(()=>[(t(),d(y(s)))]),_:2},1032,["onClick"])),[[h]])]))),128))])])])])])}}}),J=g($,[["__scopeId","data-v-d68ac272"]]);export{J as default}; diff --git a/backend/public/admin/system_static/index-CwCdA-00.js b/backend/public/admin/system_static/index-CwCdA-00.js new file mode 100644 index 000000000..519f6f928 --- /dev/null +++ b/backend/public/admin/system_static/index-CwCdA-00.js @@ -0,0 +1 @@ +import{y as r,z as n,j as e,C as a,k as s,W as l,l as c}from"./element-plus-C_ZDq0cz.js";import{n as i}from"./index-ClezV1By.js";import"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./app-hJ6HxRad.js";const g=Object.assign({name:"newsCategoryIndex"},{__name:"index",setup(m){const o=c(!0);return(p,_)=>{const t=s("el-card");return r(),n("div",null,[e(t,null,{default:a(()=>[e(l(i),{isShow:o.value},null,8,["isShow"])]),_:1})])}}});export{g as default}; diff --git a/backend/public/admin/system_static/index-CwDu3hlz.css b/backend/public/admin/system_static/index-CwDu3hlz.css new file mode 100644 index 000000000..cf3232122 --- /dev/null +++ b/backend/public/admin/system_static/index-CwDu3hlz.css @@ -0,0 +1 @@ +.select-icon[data-v-586d86f7]{background-color:var(--el-bg-color)}.toolbar[data-v-586d86f7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:10px}.toolbar__count[data-v-586d86f7]{min-width:60px;white-space:nowrap;font-size:12px;color:var(--el-text-color-secondary)}.toolbar__search[data-v-586d86f7]{width:220px}.toolbar__source[data-v-586d86f7]{width:150px}.toolbar__reset[data-v-586d86f7]{width:32px;padding:0}.toolbar__segmented[data-v-586d86f7]{margin-left:auto}.icons-container[data-v-586d86f7]{height:460px;margin-top:10px;padding-top:10px;border-top:1px solid var(--el-border-color-lighter);overflow:auto}.icons-container .grid[data-v-586d86f7]{display:grid;grid-template-columns:repeat(auto-fill,82px);gap:10px 26px}.icons-container .icon-item[data-v-586d86f7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column;flex-flow:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:76px;overflow:hidden;border-radius:4px;cursor:pointer;-webkit-transition:background-color .15s ease;transition:background-color .15s ease}.icons-container .icon-item[data-v-586d86f7]:hover{background-color:var(--el-fill-color-light)}.icons-container .icon-item .crmeb-icon[data-v-586d86f7]{font-size:26px;line-height:1;color:var(--el-text-color-regular)}.icons-container .icon-item span[data-v-586d86f7]{width:100%;padding:0 3px;margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;font-size:12px;color:var(--el-text-color-primary)} diff --git a/backend/public/admin/system_static/index-CwReLhQN.js b/backend/public/admin/system_static/index-CwReLhQN.js new file mode 100644 index 000000000..f2b951f59 --- /dev/null +++ b/backend/public/admin/system_static/index-CwReLhQN.js @@ -0,0 +1 @@ +import{a as Q,Z as V,k as i,u as L,y as s,z as v,j as a,C as l,A as d,ac as X,F as ee,D as te,B as w,s as h,a0 as u,$ as j,H as le,l as m,p as x,r as N}from"./element-plus-C_ZDq0cz.js";import{q as ae,t as oe}from"./marketing-BAfn8OEa.js";import{_ as ne,a as ie}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const se={class:"padding-add"},de={key:0,class:"z-price"},re={key:1,class:"f-price"},ue=["onClick"],me={class:"acea-row row-right page"},ce=Object.assign({name:"integralRecord"},{__name:"index",setup(pe){const S=ie(),I=m(null),c=N({mark:""}),b=m(!1),y=m(0),g=m(!1),M=m([]),C=m([]),n=N({trading_type:"",time:"",page:1,limit:15}),p=m([]),D=m(0),Y=x(()=>S.isMobile),z=x(()=>Y.value?void 0:"80px"),E=x(()=>Y.value?"top":"right");Q(()=>{_()});function F(){c.mark=c.mark.trim(),oe(D.value,c).then(async o=>{V.success(o.msg),b.value=!1,_()}).catch(o=>{V.error(o.msg)})}function O(o){b.value=!0,D.value=o.id,c.mark=o.mark}function P(o){p.value=o,n.time=p.value?p.value.join("-"):"",n.page=1,_()}function T(o){n.page=1,n.trading_type=o,_()}function _(){g.value=!0,ae(n).then(async o=>{let t=o.data;M.value=t.list,y.value=t.count;const k=t.status||{};C.value=Object.keys(k).map(f=>({title:k[f],value:f})),g.value=!1}).catch(o=>{g.value=!1,V.error(o.msg)})}return(o,t)=>{const k=i("date-range-picker"),f=i("el-form-item"),$=i("el-option"),q=i("el-select"),A=i("el-form"),R=i("el-card"),r=i("el-table-column"),H=i("el-table"),W=i("pagination"),Z=i("el-input"),G=i("el-button"),J=i("el-dialog"),U=L("db-click"),K=L("loading");return s(),v("div",null,[a(R,{bordered:!1,shadow:"never","body-style":{padding:0}},{default:l(()=>[d("div",se,[a(A,{ref_key:"formValidateRef",ref:I,model:n,"label-width":z.value,"label-position":E.value,onSubmit:t[2]||(t[2]=X(()=>{},["prevent"])),inline:""},{default:l(()=>[a(f,{label:"订单时间:"},{default:l(()=>[a(k,{clearable:"",modelValue:p.value,"onUpdate:modelValue":t[0]||(t[0]=e=>p.value=e),editable:!1,onChange:P,format:"YYYY/MM/DD","value-format":"YYYY/MM/DD",class:"mr20"},null,8,["modelValue"])]),_:1}),a(f,{label:"交易类型:"},{default:l(()=>[a(q,{modelValue:n.trading_type,"onUpdate:modelValue":t[1]||(t[1]=e=>n.trading_type=e),onChange:T,class:"form_content_width",clearable:""},{default:l(()=>[(s(!0),v(ee,null,te(C.value,(e,B)=>(s(),w($,{key:B,label:e.title,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","label-width","label-position"])])]),_:1}),a(R,{bordered:!1,shadow:"never",class:"mt16"},{default:l(()=>[h((s(),w(H,{ref:"table",data:M.value,class:"ivu-mt","empty-text":"暂无数据"},{default:l(()=>[a(r,{label:"ID","min-width":"70"},{default:l(e=>[d("div",null,u(e.row.id),1)]),_:1}),a(r,{label:"关联订单","min-width":"100"},{default:l(e=>[d("div",null,u(e.row.relation),1)]),_:1}),a(r,{label:"交易时间","min-width":"100"},{default:l(e=>[d("div",null,u(e.row.add_time),1)]),_:1}),a(r,{label:"交易积分","min-width":"80"},{default:l(e=>[e.row.pm?(s(),v("div",de,"+ "+u(e.row.number),1)):(s(),v("div",re,"- "+u(e.row.number),1))]),_:1}),a(r,{label:"用户","min-width":"80"},{default:l(e=>[d("div",null,u(e.row.nickname),1)]),_:1}),a(r,{label:"交易类型","min-width":"100"},{default:l(e=>[d("div",null,u(e.row.type_name),1)]),_:1}),a(r,{label:"备注","min-width":"100"},{default:l(e=>[d("div",null,u(e.row.mark),1)]),_:1}),a(r,{label:"操作",width:"100"},{default:l(e=>[h((s(),v("a",{class:"item",onClick:B=>O(e.row)},[...t[7]||(t[7]=[j("修改备注",-1)])],8,ue)),[[U]])]),_:1})]),_:1},8,["data"])),[[K,g.value]]),d("div",me,[y.value?(s(),w(W,{key:0,total:y.value,page:n.page,"onUpdate:page":t[3]||(t[3]=e=>n.page=e),limit:n.limit,"onUpdate:limit":t[4]||(t[4]=e=>n.limit=e),onPagination:_},null,8,["total","page","limit"])):le("",!0)])]),_:1}),a(J,{modelValue:b.value,"onUpdate:modelValue":t[6]||(t[6]=e=>b.value=e),title:"备注","close-on-click-modal":!1,width:"470px"},{footer:l(()=>[d("div",null,[h((s(),w(G,{type:"primary",onClick:F},{default:l(()=>[...t[8]||(t[8]=[j("确定",-1)])]),_:1})),[[U]])])]),default:l(()=>[a(Z,{modelValue:c.mark,"onUpdate:modelValue":t[5]||(t[5]=e=>c.mark=e),type:"textarea",rows:4,placeholder:"请输入备注"},null,8,["modelValue"])]),_:1},8,["modelValue"])])}}}),we=ne(ce,[["__scopeId","data-v-eca864fc"]]);export{we as default}; diff --git a/backend/public/admin/system_static/index-CwY6kbWl.css b/backend/public/admin/system_static/index-CwY6kbWl.css new file mode 100644 index 000000000..01185212a --- /dev/null +++ b/backend/public/admin/system_static/index-CwY6kbWl.css @@ -0,0 +1 @@ +.tabBox_img[data-v-e821d35d]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-e821d35d]{width:100%;height:100%} diff --git a/backend/public/admin/system_static/index-CwyS3nH9.css b/backend/public/admin/system_static/index-CwyS3nH9.css new file mode 100644 index 000000000..a8420053e --- /dev/null +++ b/backend/public/admin/system_static/index-CwyS3nH9.css @@ -0,0 +1 @@ +.mt14[data-v-769ecc35]{margin-top:14px}.category-card[data-v-769ecc35]{text-align:center;cursor:pointer;-webkit-transition:all .3s;transition:all .3s;margin:10px 0}.category-card[data-v-769ecc35]:hover{-webkit-transform:translateY(-2px);transform:translateY(-2px);-webkit-box-shadow:0 4px 12px rgba(0,0,0,.1);box-shadow:0 4px 12px #0000001a}.category-card .category-title[data-v-769ecc35]{font-size:16px;font-weight:700;color:#303133;margin-bottom:8px}.category-card .category-count[data-v-769ecc35]{font-size:24px;color:#409eff;font-weight:700}.category-header[data-v-769ecc35]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:16px;font-weight:700;color:#303133;margin-top:20px;margin-bottom:10px;padding-left:10px;border-left:4px solid #409eff}.category-header .el-icon-folder-opened[data-v-769ecc35]{margin-right:8px;color:#409eff}.category-header .category-badge[data-v-769ecc35]{margin-left:auto;font-size:12px;font-weight:400;color:#909399}.event-table[data-v-769ecc35]{margin-bottom:20px}.event-name[data-v-769ecc35]{font-weight:500;color:#303133}.event-desc[data-v-769ecc35]{color:#606266}.listener-tag[data-v-769ecc35]{margin-right:8px;margin-bottom:4px}.listener-tag .listener-source[data-v-769ecc35]{font-size:10px;opacity:.7;margin-left:4px}.empty-text[data-v-769ecc35]{color:#c0c4cc}.detail-content[data-v-769ecc35]{padding:10px 0} diff --git a/backend/public/admin/system_static/index-Cy80wCWP.css b/backend/public/admin/system_static/index-Cy80wCWP.css new file mode 100644 index 000000000..e1d933865 --- /dev/null +++ b/backend/public/admin/system_static/index-Cy80wCWP.css @@ -0,0 +1 @@ +.expand-row[data-v-3636101e]{margin-bottom:16px}.labelInput[data-v-682fcb63]{border:1px solid #dcdee2;width:400px;padding:0 15px;border-radius:5px;min-height:30px;cursor:pointer;font-size:12px}.labelInput .span[data-v-682fcb63]{color:#c5c8ce}.labelInput .iconxiayi[data-v-682fcb63]{font-size:12px}.ivu-form-item[data-v-682fcb63]{margin-bottom:10px}.form-sty[data-v-682fcb63]{width:400px!important}.addfont[data-v-682fcb63]{display:inline-block;font-size:12px;font-weight:400;color:var(--prev-color-primary);cursor:pointer;margin-left:10px}.ivu-icon-ios-arrow-down[data-v-682fcb63]{font-size:14px}.tip[data-v-682fcb63]{line-height:12px}.pb-50[data-v-682fcb63]{padding-bottom:50px}.sp[data-v-2a5df26b]{font-size:12px;color:#606266;line-height:32px}.width-add[data-v-cdf9ef67]{width:40px}.mr30[data-v-cdf9ef67]{margin-right:30px}.user-info .section[data-v-cdf9ef67]{padding:25px 0;border-bottom:1px dashed #eeeeee}.user-info .section-hd[data-v-cdf9ef67]{padding-left:10px;border-left:3px solid var(--prev-color-primary);font-weight:500;font-size:14px;line-height:16px;color:#303133}.user-info .section-bd[data-v-cdf9ef67]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.user-info .section .item[data-v-cdf9ef67]{-webkit-box-flex:0;-ms-flex:0 0 calc((100% - 60px) / 3);flex:0 0 calc((100% - 60px) / 3);display:-webkit-box;display:-ms-flexbox;display:flex;margin:16px 30px 0 0;font-size:13px;color:#666}.user-info .section .item[data-v-cdf9ef67]:nth-child(3n+3){margin:16px 0 0}.user-info .section .value[data-v-cdf9ef67]{-webkit-box-flex:1;-ms-flex:1;flex:1}.user-info .section .avatar[data-v-cdf9ef67]{width:60px;height:60px;overflow:hidden}.user-info .section .avatar img[data-v-cdf9ef67]{width:100%;height:100%}.labelInput[data-v-0128a178]{border:1px solid #dcdee2;width:300px;padding:0 15px;border-radius:5px;min-height:30px;cursor:pointer;font-size:12px}.labelInput .span[data-v-0128a178]{color:#c5c8ce}.labelInput .iconxiayi[data-v-0128a178]{font-size:12px}.width-add[data-v-0128a178]{width:40px}.mr30[data-v-0128a178]{margin-right:30px}.user-info .section[data-v-0128a178]{padding:25px 0 0;border-bottom:1px dashed #eeeeee}.user-info .section-hd[data-v-0128a178]{margin-bottom:18px;padding-left:10px;border-left:3px solid var(--prev-color-primary);font-weight:500;font-size:14px;line-height:16px;color:#303133}.user-info .section-bd[data-v-0128a178]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.user-info .section .item[data-v-0128a178]{width:50%;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:13px;color:#666}.user-info .section .item .form-sty[data-v-0128a178]{width:300px}.user-info .section .item .ivu-form-item[data-v-0128a178]{margin:3px 0}.user-info .section .item .addfont[data-v-0128a178]{display:inline-block;font-size:12px;font-weight:400;color:var(--prev-color-primary);cursor:pointer;margin-left:10px}.user-info .section .item.lang[data-v-0128a178]{width:100%}.user-info .section .value[data-v-0128a178]{-webkit-box-flex:1;-ms-flex:1;flex:1}.user-info .section .avatar[data-v-0128a178]{width:60px;height:60px;overflow:hidden}.user-info .section .avatar img[data-v-0128a178]{width:100%;height:100%}.avatar[data-v-7541a834]{width:60px;height:60px;border-radius:50%;overflow:hidden}.avatar img[data-v-7541a834]{width:100%;height:100%}[data-v-7541a834] .el-drawer__body{padding:20px 0!important}[data-v-7541a834] .el-tabs--border-card>.el-tabs__content{padding:0 35px}[data-v-7541a834] .el-tabs--border-card>.el-tabs__header,[data-v-7541a834] .el-tabs--border-card>.el-tabs__header .el-tabs__item:active{border:none;height:40px}[data-v-7541a834] .el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{border:none;border-top:2px solid var(--prev-color-primary);font-size:13px;font-weight:500;color:#303133;line-height:16px}[data-v-7541a834] .el-tabs--border-card>.el-tabs__header .el-tabs__item{border:none}[data-v-7541a834] .el-tabs--border-card>.el-tabs__header .el-tabs__item{margin-top:0;-webkit-transition:none;transition:none;height:40px!important;line-height:40px!important;width:92px!important;font-size:13px;font-weight:400;color:#303133;line-height:16px}[data-v-7541a834] .el-tabs--border-card{border:none;-webkit-box-shadow:none;box-shadow:none}.head[data-v-7541a834]{position:relative;padding:0 15px}.head .edit-btn[data-v-7541a834]{position:absolute;right:20px;top:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.dashboard-workplace-header-avatar[data-v-7541a834]{width:64px;height:64px;border-radius:50%;margin-right:16px;font-weight:600}.dashboard-workplace-header-tip[data-v-7541a834]{width:82%;display:inline-block;vertical-align:middle}.dashboard-workplace-header-tip-title[data-v-7541a834]{font-size:13px;color:#000;margin-bottom:12px}.dashboard-workplace-header-tip-desc-sp[data-v-7541a834]{width:33.33%;color:#17233d;font-size:13px;display:inline-block}.dashboard-workplace-header-extra .ivu-col p[data-v-7541a834]{text-align:right}.dashboard-workplace-header-extra .ivu-col p:first-child span[data-v-7541a834]:first-child{margin-right:4px}.dashboard-workplace-header-extra .ivu-col p:first-child span[data-v-7541a834]:last-child{color:#808695}.dashboard-workplace-header-extra .ivu-col p[data-v-7541a834]:last-child{font-size:22px}.user_menu[data-v-7541a834] .ivu-menu{width:100%!important}[data-v-b77781c5] .el-tabs__item{height:54px!important;line-height:54px!important}.picBox[data-v-b77781c5]{display:inline-block;cursor:pointer}.picBox .upLoad[data-v-b77781c5]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:#00000005;font-size:24px;font-weight:500}.picBox .pictrue[data-v-b77781c5]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:10px}.picBox .pictrue img[data-v-b77781c5]{width:100%;height:100%}.fix_footer[data-v-b77781c5]{position:fixed;bottom:0;width:-webkit-fill-available;background:#fff;padding:20px 0;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:100}.userFrom[data-v-b77781c5] .ivu-form-item-content{margin-left:0!important}.userAlert[data-v-b77781c5]{margin-top:20px}.userI[data-v-b77781c5]{color:var(--prev-color-primary);font-style:normal}img[data-v-b77781c5]{height:36px;display:block}.tabBox_img[data-v-b77781c5]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-b77781c5]{width:100%;height:100%}.tabBox_tit[data-v-b77781c5]{width:60%;font-size:12px!important;margin:0 2px 0 10px;letter-spacing:1px;padding:5px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.modelBox[data-v-b77781c5] .ivu-modal-body{padding:0 16px 16px!important}.vipName[data-v-b77781c5]{color:#dab176}.listbox[data-v-b77781c5] .ivu-divider-horizontal{margin:0!important}.labelInput[data-v-b77781c5]{width:250px;border:1px solid #dcdee2;padding:0 15px;border-radius:5px;min-height:30px;cursor:pointer;font-size:12px}.labelInput .span[data-v-b77781c5]{color:#c5c8ce}.labelInput .ivu-icon-ios-arrow-down[data-v-b77781c5]{font-size:14px;color:#808695}.demo-drawer-footer[data-v-b77781c5]{width:100%;position:absolute;bottom:0;left:0;border-top:1px solid #e8e8e8;padding:10px 16px;text-align:right;background:#fff}.search-form[data-v-b77781c5]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.search-form .search-form-box[data-v-b77781c5]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-flex:1;-ms-flex:1;flex:1}.search-form-sub[data-v-b77781c5]{display:-webkit-box;display:-ms-flexbox;display:flex} diff --git a/backend/public/admin/system_static/index-CyuLu7BI.js b/backend/public/admin/system_static/index-CyuLu7BI.js new file mode 100644 index 000000000..e5021a642 --- /dev/null +++ b/backend/public/admin/system_static/index-CyuLu7BI.js @@ -0,0 +1 @@ +import{g as le,a as ie,k as r,u as I,y as s,B as h,C as o,A as l,s as k,z as f,$ as c,j as i,H as y,a0 as w,Z as _,l as m,n as se,r as ae}from"./element-plus-C_ZDq0cz.js";import{_ as de,n as re,bg as ce,o as E,bh as M,m as W,aV as ue,bi as j}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const _e={class:"Modal"},me={class:"colLeft"},pe={class:"Nav"},fe={class:"trees-coadd"},ve={class:"scollhide"},ge={key:0,class:"tree"},he={class:"custom-tree-node"},ke={class:"file-name"},ye={key:0,class:"icon",src:re},we={class:"text line1"},Ce={class:"conter"},be=["onClick"],xe=["onClick"],Le=["onClick"],De=["onClick"],Ee={class:"acea-row row-right page"},$e=Object.assign({name:"linkLisk"},{__name:"index",setup(Ne){const{proxy:H}=le(),F=m(null),S=m(null),$=m([]),N=m([]),p=m(0),u=ae({page:1,limit:15}),T=m(0),L=m(!1),B=m(!0);function A(t){H.$copyText(t).then(e=>{_.success("复制成功")}).catch(e=>{_.error("复制失败")})}function U(t){E(M(t.id,t.cate_id)).then(()=>v())}function z(t,e){e==1?V(t,0):e==2?V(t,1):e==3&&q(t)}function K(){E(M(0,p.value)).then(()=>v())}function O(t,e,a){if(t.pid==1&&!e.expanded){B.value=!1;return}else t.pid!=1&&(p.value=t.id,u.page=1,v())}function P(t,e,a){e.expanded&&t.children.length&&(B.value=!0,se(()=>{u.page=1,p.value=t.children[0].id||"",F.value.setCurrentKey(p.value),v()}))}function Z(){J()}function q(t,e){let a={title:"删除 [ "+t.title+" ] 分类",url:`diy/link/category/del/${t.id}`,method:"DELETE",ids:""};W(a).then(d=>{_.success(d.msg),D()}).catch(d=>{_.error(d.msg)})}function V(t,e){E(j(e?t.id:0,t.id?t.id:1)).then(()=>D())}function D(t){ce().then(e=>{var a,d;p.value=e.data.length>0?(d=(a=e.data[0])==null?void 0:a.children[0])==null?void 0:d.id:"",$.value=e.data,v()}).catch(e=>{_.error(e.msg)})}function v(){u.id=p.value,L.value=!0,ue(u).then(async t=>{N.value=t.data.list,T.value=t.data.count,L.value=!1}).catch(t=>{L.value=!1,_.error(t.msg)})}function G(t,e,a){let d={title:e,url:`diy/link/del/${t.id}`,method:"DELETE",ids:""};W(d).then(C=>{_.success(C.msg),N.value.splice(a,1)}).catch(C=>{_.error(C.msg)})}function J(){E(j(0,1)).then(t=>{D()})}return ie(()=>{D()}),(t,e)=>{const a=r("el-tooltip"),d=r("el-dropdown-item"),C=r("el-dropdown-menu"),Q=r("el-dropdown"),R=r("el-tree"),X=r("el-button"),g=r("el-table-column"),Y=r("el-divider"),ee=r("el-table"),te=r("pagination"),ne=r("el-card"),b=I("db-click"),oe=I("loading");return s(),h(ne,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:o(()=>[l("div",_e,[l("div",me,[l("div",pe,[l("div",fe,[k((s(),f("div",{class:"tree_tit",onClick:Z},[...e[2]||(e[2]=[l("i",{class:"el-icon-circle-plus"},null,-1),c(" 添加分类 ",-1)])])),[[b]]),l("div",ve,[$.value.length?(s(),f("div",ge,[i(R,{ref_key:"tree",ref:F,data:$.value,"node-key":"id","default-expand-all":"","highlight-current":B.value,"expand-on-click-node":!0,"check-on-click-node":!1,onNodeClick:O,onNodeExpand:P,"current-node-key":p.value},{default:o(({data:n})=>[l("span",he,[l("div",ke,[n.pid==1?(s(),f("img",ye)):y("",!0),i(a,{class:"item",effect:"dark",content:n.title,placement:"top"},{default:o(()=>[l("div",we,w(n.title),1)]),_:2},1032,["content"])]),l("span",null,[i(Q,{onCommand:x=>z(n,x)},{dropdown:o(()=>[i(C,null,{default:o(()=>[n.pid==1?(s(),h(d,{key:0,command:"1"},{default:o(()=>[...e[3]||(e[3]=[c("新增分类",-1)])]),_:1})):y("",!0),n.id?(s(),h(d,{key:1,command:"2"},{default:o(()=>[...e[4]||(e[4]=[c("编辑分类",-1)])]),_:1})):y("",!0),n.id?(s(),h(d,{key:2,command:"3"},{default:o(()=>[...e[5]||(e[5]=[c("删除",-1)])]),_:1})):y("",!0)]),_:2},1024)]),default:o(()=>[e[6]||(e[6]=l("i",{class:"el-icon-more el-icon--right"},null,-1))]),_:2},1032,["onCommand"])])])]),_:1},8,["data","highlight-current","current-node-key"])])):y("",!0)])])]),l("div",Ce,[i(X,{type:"primary",onClick:K},{default:o(()=>[...e[7]||(e[7]=[c("添加链接",-1)])]),_:1}),k((s(),h(ee,{data:N.value,ref_key:"couponTable",ref:S,class:"mt14","highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:o(()=>[i(g,{label:"ID",width:"70"},{default:o(n=>[l("span",null,w(n.row.id),1)]),_:1}),i(g,{label:"名称",width:"150"},{default:o(n=>[l("span",null,w(n.row.name),1)]),_:1}),i(g,{label:"H5链接",minWidth:"170"},{default:o(n=>[i(a,{class:"item pointer",content:"点击复制"},{default:o(()=>[k((s(),f("span",{onClick:x=>A(n.row.h5_url)},[c(w(n.row.h5_url),1)],8,be)),[[b]])]),_:2},1024)]),_:1}),i(g,{label:"小程序链接",minWidth:"140"},{default:o(n=>[i(a,{class:"item pointer",content:"点击复制"},{default:o(()=>[k((s(),f("span",{onClick:x=>A(n.row.url)},[c(w(n.row.url),1)],8,xe)),[[b]])]),_:2},1024)]),_:1}),i(g,{label:"添加时间",minWidth:"90"},{default:o(n=>[l("span",null,w(n.row.add_time),1)]),_:1}),i(g,{label:"操作",fixed:"right",width:"90"},{default:o(n=>[k((s(),f("a",{onClick:x=>U(n.row)},[...e[8]||(e[8]=[c("编辑",-1)])],8,Le)),[[b]]),i(Y,{direction:"vertical"}),k((s(),f("a",{onClick:x=>G(n.row,"删除链接",n.$index)},[...e[9]||(e[9]=[c("删除",-1)])],8,De)),[[b]])]),_:1})]),_:1},8,["data"])),[[oe,L.value]]),l("div",Ee,[T.value?(s(),h(te,{key:0,total:T.value,page:u.page,"onUpdate:page":e[0]||(e[0]=n=>u.page=n),limit:u.limit,"onUpdate:limit":e[1]||(e[1]=n=>u.limit=n),onPagination:v},null,8,["total","page","limit"])):y("",!0)])])])])]),_:1})}}}),Ie=de($e,[["__scopeId","data-v-be60448d"]]);export{Ie as default}; diff --git a/backend/public/admin/system_static/index-CzCcUbWJ.js b/backend/public/admin/system_static/index-CzCcUbWJ.js new file mode 100644 index 000000000..b37d1e75a --- /dev/null +++ b/backend/public/admin/system_static/index-CzCcUbWJ.js @@ -0,0 +1 @@ +import{k as y,u as q,y as a,z as b,A as o,a0 as g,B as m,C as l,$ as u,j as f,H as $,F as I,s as U,p as M,f as ce,a1 as Q,D as P,l as w,ad as Z,Z as x}from"./element-plus-C_ZDq0cz.js";import{p as pe,a as ge,b as ve,c as fe,d as ye,e as be}from"./plugin-BtX0g2Z9.js";import{e as ke}from"./systemMenus-A7RZD8uO.js";import{_ as ee,u as _e,aK as X,aL as he,aM as xe,A as $e}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const Ce={class:"plugin-card"},we={class:"plugin-card__header"},ze=["title"],Be={class:"plugin-card__key"},Ue=["title"],Ie=["title"],Te={key:0,class:"plugin-card__meta"},De={class:"plugin-card__footer"},Oe={class:"plugin-card__version"},Ve={class:"plugin-card__actions"},Se=Object.assign({name:"PluginCard"},{__name:"PluginCard",props:{item:{type:Object,required:!0}},emits:["install","uninstall","enable","disable","upgrade"],setup(s,{emit:E}){const V=s,k=E,T=M(()=>{const v=String(V.item.online_version||"").trim();return v?D(v,V.item.version)>0:!1});function D(v,n){const p=String(v).split("."),_=String(n).split("."),h=Math.max(p.length,_.length);for(let c=0;cF)return 1;if(C{const p=y("el-tag"),_=y("el-button"),h=q("auth"),c=q("db-click");return a(),b("div",Ce,[o("div",we,[o("span",{class:"plugin-card__name",title:s.item.name},g(s.item.name),9,ze),s.item.enabled?(a(),m(p,{key:0,size:"small",type:"success"},{default:l(()=>[...n[6]||(n[6]=[u("已启用",-1)])]),_:1})):s.item.installed?(a(),m(p,{key:1,size:"small",type:"warning"},{default:l(()=>[...n[7]||(n[7]=[u("已安装",-1)])]),_:1})):(a(),m(p,{key:2,size:"small",type:"info"},{default:l(()=>[...n[8]||(n[8]=[u("未安装",-1)])]),_:1}))]),o("div",Be,[o("span",{class:"plugin-key-text",title:s.item.key},g(s.item.key),9,Ue)]),o("div",{class:"plugin-card__desc",title:s.item.description},g(s.item.description||"暂无描述"),9,Ie),T.value?(a(),b("div",Te,[f(p,{size:"small",type:"warning",effect:"plain"},{default:l(()=>[u("可升级至 v"+g(s.item.online_version),1)]),_:1})])):$("",!0),o("div",De,[o("span",Oe,[u(" v"+g(s.item.version),1),s.item.author?(a(),b(I,{key:0},[u(" · "+g(s.item.author),1)],64)):$("",!0)]),o("div",Ve,[s.item.installed?$("",!0):U((a(),m(_,{key:0,type:"primary",size:"small",onClick:n[0]||(n[0]=C=>k("install",s.item))},{default:l(()=>[...n[9]||(n[9]=[u("安装",-1)])]),_:1})),[[h,["plugin-plugin-install"]],[c]]),s.item.installed&&!s.item.enabled?(a(),b(I,{key:1},[s.item.required?$("",!0):U((a(),m(_,{key:0,type:"success",size:"small",onClick:n[1]||(n[1]=C=>k("enable",s.item))},{default:l(()=>[...n[10]||(n[10]=[u("启用",-1)])]),_:1})),[[h,["plugin-plugin-enable"]],[c]]),s.item.required?$("",!0):U((a(),m(_,{key:1,type:"danger",plain:"",size:"small",onClick:n[2]||(n[2]=C=>k("uninstall",s.item))},{default:l(()=>[...n[11]||(n[11]=[u("卸载",-1)])]),_:1})),[[h,["plugin-plugin-uninstall"]],[c]])],64)):$("",!0),s.item.enabled?(a(),b(I,{key:2},[s.item.required?$("",!0):U((a(),m(_,{key:0,type:"warning",size:"small",onClick:n[3]||(n[3]=C=>k("disable",s.item))},{default:l(()=>[...n[12]||(n[12]=[u("禁用",-1)])]),_:1})),[[h,["plugin-plugin-disable"]],[c]]),s.item.required?$("",!0):U((a(),m(_,{key:1,type:"danger",plain:"",size:"small",onClick:n[4]||(n[4]=C=>k("uninstall",s.item))},{default:l(()=>[...n[13]||(n[13]=[u("卸载",-1)])]),_:1})),[[h,["plugin-plugin-uninstall"]],[c]])],64)):$("",!0),T.value?U((a(),m(_,{key:3,type:"primary",plain:"",size:"small",onClick:n[5]||(n[5]=C=>k("upgrade",s.item))},{default:l(()=>[...n[14]||(n[14]=[u("升级",-1)])]),_:1})),[[h,["plugin-plugin-upload"]],[c]]):$("",!0)])])])}}}),Y=ee(Se,[["__scopeId","data-v-b8819d5f"]]),Ae={class:"main-tab-bar"},Le={class:"segment-tabs"},Me={class:"segment-count"},qe={class:"segment-count"},Ee={class:"group-header"},Fe={class:"group-title"},je={class:"tab-count"},Ne=Object.assign({name:"plugin_list"},{__name:"index",setup(s){const E=w(null),V=w(!1),k=w(!1),T=w([]),D=w(!1),v=w(null),n=w(null),p=w("app"),_={product:{label:"产品类型",match:["product","product_type"]},mode:{label:"交易模式",match:["mode"]},marketing:{label:"营销活动",match:["marketing","activity"]},user:{label:"用户增值",match:["user"]},channel:{label:"用户渠道",match:["channel"]},distribution:{label:"分销代理",match:["distribution","agent"]},service:{label:"服务扩展",match:["service"]},system:{label:"系统组件",match:["system","notice","business"]}},h={pay:"支付",sms:"短信",upload:"存储",express:"电子面单",logistics:"物流",invoice:"电子发票",email:"邮件",bot:"机器人",copyproduct:"复制商品",printer:"小票打印"},c=M(()=>{const t=[],e=new Set;for(const[r,z]of Object.entries(_)){const B=T.value.filter(O=>O.type!=="driver"&&z.match.includes(O.type));B.length&&(t.push({key:r,label:z.label,items:B}),z.match.forEach(O=>e.add(O)))}const i=T.value.filter(r=>r.type!=="driver"&&!e.has(r.type));return i.length&&t.push({key:"other",label:"其它",items:i}),t}),C=M(()=>c.value.reduce((t,e)=>t+e.items.length,0)),F=M(()=>j.value.reduce((t,e)=>t+e.items.length,0)),j=M(()=>{const t=new Map;for(const i of T.value){if(i.type!=="driver")continue;const r=te(i.path);t.has(r)||t.set(r,{key:r,label:h[r]||r,items:[]}),t.get(r).items.push(i)}const e=Object.keys(h);return[...t.values()].sort((i,r)=>{const z=e.indexOf(i.key),B=e.indexOf(r.key);return(z===-1?e.length:z)-(B===-1?e.length:B)})}),N=w("");ce(j,t=>{t.some(e=>e.key===N.value)||(N.value=t.length?t[0].key:"")});function te(t){const e=String(t||"").split("/").filter(Boolean);return e.length>=2?e[1]:"other"}S();function R(t=null){n.value=t,v.value=null,D.value=!0}function S(){V.value=!0,pe().then(t=>{T.value=t.data||[]}).finally(()=>{V.value=!1})}function A(){ke().then(t=>{const e=t.data;_e().setUniqueAuth(e.uniqueAuth),X().getmenusNav(e.menus),he().setRoutesList(e.menus);const i=xe(e.menus);X().setOneLvRoute(i),window.localStorage.setItem("menuList",JSON.stringify(e.menus)),$e.emit("routesListChange")})}function G(t){Z.confirm(`确定安装插件「${t.name}」吗?`,"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"info"}).then(()=>{ye({plugin_key:t.key}).then(()=>{x.success("安装成功"),S(),A()}).catch(e=>{const i=e&&(e.msg||e.message)||"安装失败";i.indexOf("依赖插件")!==-1||i.indexOf("module:")!==-1?Z.alert(i,"插件安装失败",{confirmButtonText:"知道了",type:"warning"}):x.error(i)})})}function K(t){Z.confirm(`确定卸载插件「${t.name}」吗?卸载将删除相关数据表和菜单,此操作不可恢复!`,"危险操作",{confirmButtonText:"确定卸载",cancelButtonText:"取消",type:"warning"}).then(()=>{fe({plugin_key:t.key}).then(()=>{x.success("卸载成功"),S(),A()}).catch(e=>{x.error(e&&e.msg||"卸载失败")})})}function H(t){ve({plugin_key:t.key}).then(()=>{x.success("启用成功"),S(),A()})}function J(t){Z.confirm(`确定禁用插件「${t.name}」吗?禁用后插件功能将不可用。`,"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{ge({plugin_key:t.key}).then(()=>{x.success("禁用成功"),S(),A()})})}function ne(t){v.value=t.raw}function le(t){return t.name.endsWith(".zip")?(v.value=t,!1):(x.error("仅支持 ZIP 格式的插件安装包"),!1)}function ae(){if(!v.value){x.warning("请先选择插件安装包");return}k.value=!0;const t=new FormData;t.append("plugin_package",v.value),be(t).then(e=>{const i=e.data||{};i.action==="upgrade"?x.success(`插件「${i.name}」已从 ${i.from_version} 升级到 ${i.version}`):x.success(`插件「${i.name}」上传成功`),D.value=!1,v.value=null,n.value=null,E.value.clearFiles(),S(),i.action==="upgrade"&&A()}).catch(e=>{x.error(e.msg||"上传失败")}).finally(()=>{k.value=!1})}return(t,e)=>{const i=y("el-button"),r=y("el-card"),z=y("el-tag"),B=y("el-col"),O=y("el-row"),W=y("el-empty"),se=y("el-tab-pane"),ie=y("el-tabs"),oe=y("el-upload"),ue=y("el-dialog"),re=q("auth"),de=q("db-click"),me=q("loading");return a(),b("div",null,[f(r,{bordered:!1,shadow:"never",class:"ivu-mt mb16"},{default:l(()=>[o("div",Ae,[o("div",Le,[o("div",{class:Q(["segment-item",{active:p.value==="app"}]),onClick:e[0]||(e[0]=d=>p.value="app")},[e[6]||(e[6]=u(" 应用插件 ",-1)),o("span",Me,g(C.value),1)],2),o("div",{class:Q(["segment-item",{active:p.value==="driver"}]),onClick:e[1]||(e[1]=d=>p.value="driver")},[e[7]||(e[7]=u(" 驱动插件 ",-1)),o("span",qe,g(F.value),1)],2)]),U((a(),m(i,{type:"primary",onClick:e[2]||(e[2]=d=>R())},{default:l(()=>[...e[8]||(e[8]=[u(" 上传插件 ",-1)])]),_:1})),[[re,["plugin-plugin-upload"]],[de]])])]),_:1}),U((a(),b("div",null,[p.value==="app"?(a(),b(I,{key:0},[(a(!0),b(I,null,P(c.value,d=>(a(),m(r,{key:d.key,bordered:!1,shadow:"never",class:"ivu-mt mb16"},{header:l(()=>[o("div",Ee,[o("span",Fe,g(d.label),1),f(z,{size:"small",type:"info",effect:"plain"},{default:l(()=>[u(g(d.items.length),1)]),_:2},1024)])]),default:l(()=>[f(O,{gutter:16},{default:l(()=>[(a(!0),b(I,null,P(d.items,L=>(a(),m(B,{key:L.key,xs:24,sm:12,md:8,xl:6,class:"mb16"},{default:l(()=>[f(Y,{item:L,onInstall:G,onUninstall:K,onEnable:H,onDisable:J,onUpgrade:R},null,8,["item"])]),_:2},1024))),128))]),_:2},1024)]),_:2},1024))),128)),c.value.length?$("",!0):(a(),m(r,{key:0,bordered:!1,shadow:"never",class:"ivu-mt"},{default:l(()=>[f(W,{description:"暂无应用插件"})]),_:1}))],64)):(a(),m(r,{key:1,bordered:!1,shadow:"never",class:"ivu-mt mb16"},{default:l(()=>[j.value.length?(a(),m(ie,{key:0,modelValue:N.value,"onUpdate:modelValue":e[3]||(e[3]=d=>N.value=d)},{default:l(()=>[(a(!0),b(I,null,P(j.value,d=>(a(),m(se,{key:d.key,name:d.key},{label:l(()=>[u(g(d.label),1),o("span",je,"("+g(d.items.length)+")",1)]),default:l(()=>[f(O,{gutter:16,class:"driver-pane"},{default:l(()=>[(a(!0),b(I,null,P(d.items,L=>(a(),m(B,{key:L.key,xs:24,sm:12,md:8,xl:6,class:"mb16"},{default:l(()=>[f(Y,{item:L,onInstall:G,onUninstall:K,onEnable:H,onDisable:J,onUpgrade:R},null,8,["item"])]),_:2},1024))),128))]),_:2},1024)]),_:2},1032,["name"]))),128))]),_:1},8,["modelValue"])):(a(),m(W,{key:1,description:"暂无驱动插件"}))]),_:1}))])),[[me,V.value]]),f(ue,{title:n.value?`升级插件:${n.value.name}`:"上传插件",modelValue:D.value,"onUpdate:modelValue":e[5]||(e[5]=d=>D.value=d),width:"450px","close-on-click-modal":!1},{footer:l(()=>[o("span",null,[f(i,{onClick:e[4]||(e[4]=d=>D.value=!1)},{default:l(()=>[...e[12]||(e[12]=[u("取消",-1)])]),_:1}),f(i,{type:"primary",loading:k.value,onClick:ae},{default:l(()=>[u(g(k.value?"上传中...":"确定上传"),1)]),_:1},8,["loading"])])]),default:l(()=>[f(oe,{ref_key:"upload",ref:E,"auto-upload":!1,limit:1,"on-change":ne,"before-upload":le,accept:".zip",drag:"",action:""},{tip:l(()=>[...e[9]||(e[9]=[o("div",{class:"el-upload__tip"},"仅支持 .zip 格式的插件安装包,大小不超过 50MB",-1)])]),default:l(()=>[e[10]||(e[10]=o("i",{class:"el-icon-upload"},null,-1)),e[11]||(e[11]=o("div",{class:"el-upload__text"},[u("将插件 ZIP 包拖拽到此处,或"),o("em",null,"点击选择")],-1))]),_:1},512)]),_:1},8,["title","modelValue"])])}}}),We=ee(Ne,[["__scopeId","data-v-00b5fccc"]]);export{We as default}; diff --git a/backend/public/admin/system_static/index-CzfsvcoF.css b/backend/public/admin/system_static/index-CzfsvcoF.css new file mode 100644 index 000000000..cf279a030 --- /dev/null +++ b/backend/public/admin/system_static/index-CzfsvcoF.css @@ -0,0 +1 @@ +.order_detail .msg-box[data-v-97b7e535]{border-bottom:1px solid #e8eaed}.order_detail .msg-box .box-title[data-v-97b7e535]{padding-top:20px;font-size:15px;font-weight:500;color:#303133;line-height:15px}.order_detail .msg-box .msg-wrapper[data-v-97b7e535]{margin-top:15px;padding-bottom:10px}.order_detail .msg-box .msg-wrapper .msg-item[data-v-97b7e535]{display:-webkit-box;display:-ms-flexbox;display:flex}.order_detail .msg-box .msg-wrapper .msg-item .item[data-v-97b7e535]{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-bottom:15px;color:#606266;font-size:13px}.order_detail .msg-box .msg-wrapper .msg-item .item span[data-v-97b7e535]{font-size:13px;font-weight:400;color:#909399}.order_detail .msg-box:first-child .box-title[data-v-97b7e535]{padding-top:0}.order_detail .product_info[data-v-97b7e535]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.order_detail .product_info img[data-v-97b7e535]{width:36px;height:36px;border-radius:4px;margin-right:10px}.order_box .list[data-v-b8d4e21d]{font-size:12px;color:#17233d;border-bottom:1px solid #e7eaec;margin:0 10px;padding-bottom:22px}.ivu-form-item[data-v-b8d4e21d]{margin-left:10px;margin-right:10px}[data-v-b8d4e21d] .ivu-form-item-label{text-align:left;width:83px!important}[data-v-b8d4e21d] .ivu-form-item-content{margin-left:83px!important}.order_box .list .title[data-v-b8d4e21d]{color:#000;font-weight:700}.order_box .list .row[data-v-b8d4e21d]{margin-top:13px}.order_box .list .info[data-v-b8d4e21d]{color:#515a6e}.tab_data[data-v-b8d4e21d] .ivu-form-item-content{margin-left:0!important}.table_box[data-v-b8d4e21d] .ivu-divider-horizontal{margin-top:0!important}.table_box[data-v-b8d4e21d] .ivu-form-item{margin-bottom:15px!important}.tabform[data-v-b8d4e21d]{margin-bottom:10px}.Refresh[data-v-b8d4e21d]{font-size:12px;color:var(--prev-color-primary);cursor:pointer} diff --git a/backend/public/admin/system_static/index-D-hXPnKl.js b/backend/public/admin/system_static/index-D-hXPnKl.js new file mode 100644 index 000000000..aa700cb29 --- /dev/null +++ b/backend/public/admin/system_static/index-D-hXPnKl.js @@ -0,0 +1 @@ +import{Z as p,k as i,u as f,y as d,z as w,j as t,C as a,A as u,ac as X,s as r,B as y,$ as C,a0 as h,H as Y,l as g,p as A}from"./element-plus-C_ZDq0cz.js";import{_ as ee,s as le,a as te,o as F,m as ae}from"./index-DHL7RTL2.js";import{u as oe}from"./userLevel-t0L_1r_R.js";import{levelListApi as ne,createApi as M,setShowApi as ie}from"./user-Blgc2iHx.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";import"./screenfull-BDHcr3-M.js";const se={class:"padding-add"},de={class:"tabBox_img"},ue={class:"tabBox_img"},re=["onClick"],ce=["onClick"],me={class:"acea-row row-right page"},_e=Object.assign({name:"user_level"},{__name:"index",setup(ve){const{isMobile:U}=le(te()),N=oe(),j=A(()=>U.value?void 0:"80px"),E=A(()=>U.value?"top":"right"),b=g(!1),o=g({is_show:"",title:"",page:1,limit:15}),S=g([]),x=g(0),_=g(0);v();function P(n,l,c){let B={title:l,url:`user/user_level/delete/${n.id}`,method:"put",ids:""};ae(B).then(m=>{p.success(m.msg),S.value.splice(c,1),x.value--}).catch(m=>{p.error(m.msg)})}function T(n){let l={id:n.id,is_show:n.is_show};ie(l).then(async c=>{p.success(c.msg)}).catch(c=>{p.error(c.msg)})}function v(){b.value=!0,o.value.is_show=o.value.is_show||"",ne(o.value).then(async n=>{let l=n.data;S.value=l.list,x.value=n.data.count,b.value=!1}).catch(n=>{b.value=!1,p.error(n.msg)})}function H(){_.value=0,F(M({id:_.value})).then(()=>v())}function O(n){_.value=n.id,F(M({id:_.value})).then(()=>v()),N.getlevelId(_.value)}function $(){o.value.page=1,v()}return(n,l)=>{const c=i("el-option"),B=i("el-select"),m=i("el-form-item"),R=i("el-input"),D=i("el-button"),W=i("el-form"),I=i("el-card"),s=i("el-table-column"),Z=i("el-switch"),q=i("el-divider"),G=i("el-table"),J=i("pagination"),V=f("db-click"),K=f("auth"),L=f("lazy"),z=f("viewer"),Q=f("loading");return d(),w("div",null,[t(I,{bordered:!1,shadow:"never","body-style":{padding:0}},{default:a(()=>[u("div",se,[t(W,{model:o.value,"label-width":j.value,"label-position":E.value,inline:"",onSubmit:l[2]||(l[2]=X(()=>{},["prevent"]))},{default:a(()=>[t(m,{label:"等级状态:","label-for":"status1"},{default:a(()=>[t(B,{modelValue:o.value.is_show,"onUpdate:modelValue":l[0]||(l[0]=e=>o.value.is_show=e),placeholder:"请选择",clearable:"","element-id":"status1",onChange:$,class:"form_content_width"},{default:a(()=>[t(c,{value:"1",label:"显示"}),t(c,{value:"0",label:"不显示"})]),_:1},8,["modelValue"])]),_:1}),t(m,{label:"等级名称:","label-for":"title"},{default:a(()=>[t(R,{clearable:"",modelValue:o.value.title,"onUpdate:modelValue":l[1]||(l[1]=e=>o.value.title=e),placeholder:"请输入等级名称",class:"form_content_width"},null,8,["modelValue"])]),_:1}),t(m,null,{default:a(()=>[r((d(),y(D,{type:"primary",onClick:$},{default:a(()=>[...l[5]||(l[5]=[C("查询",-1)])]),_:1})),[[V]])]),_:1})]),_:1},8,["model","label-width","label-position"])])]),_:1}),t(I,{bordered:!1,shadow:"never",class:"ivu-mt mt16"},{default:a(()=>[r((d(),y(D,{type:"primary",class:"action-row",onClick:H},{default:a(()=>[...l[6]||(l[6]=[C("添加用户等级",-1)])]),_:1})),[[K,["admin-user-level_add"]],[V]]),r((d(),y(G,{data:S.value,ref:"table",class:"mt14","highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:a(()=>[t(s,{label:"ID",width:"80"},{default:a(e=>[u("span",null,h(e.row.id),1)]),_:1}),t(s,{label:"等级图标","min-width":"100"},{default:a(e=>[r((d(),w("div",de,[r(u("img",null,null,512),[[L,e.row.icon]])])),[[z]])]),_:1}),t(s,{label:"等级背景图","min-width":"100"},{default:a(e=>[r((d(),w("div",ue,[r(u("img",null,null,512),[[L,e.row.image]])])),[[z]])]),_:1}),t(s,{label:"等级名称","min-width":"120"},{default:a(e=>[u("span",null,h(e.row.name),1)]),_:1}),t(s,{label:"等级","min-width":"120"},{default:a(e=>[u("span",null,h(e.row.grade),1)]),_:1}),t(s,{label:"享受折扣","min-width":"100"},{default:a(e=>[u("span",null,h(e.row.discount),1)]),_:1}),t(s,{label:"经验值要求","min-width":"100"},{default:a(e=>[u("span",null,h(e.row.exp_num),1)]),_:1}),t(s,{label:"是否显示","min-width":"100"},{default:a(e=>[t(Z,{"active-value":1,"inactive-value":0,modelValue:e.row.is_show,"onUpdate:modelValue":k=>e.row.is_show=k,value:e.row.is_show,size:"large",onChange:k=>T(e.row)},null,8,["modelValue","onUpdate:modelValue","value","onChange"])]),_:1}),t(s,{fixed:"right",label:"操作",width:"100"},{default:a(e=>[r((d(),w("a",{onClick:k=>O(e.row)},[...l[7]||(l[7]=[C("编辑",-1)])],8,re)),[[V]]),t(q,{direction:"vertical"}),r((d(),w("a",{onClick:k=>P(e.row,"删除等级",e.$index)},[...l[8]||(l[8]=[C("删除",-1)])],8,ce)),[[V]])]),_:1})]),_:1},8,["data"])),[[Q,b.value]]),u("div",me,[x.value?(d(),y(J,{key:0,total:x.value,page:o.value.page,"onUpdate:page":l[3]||(l[3]=e=>o.value.page=e),limit:o.value.limit,"onUpdate:limit":l[4]||(l[4]=e=>o.value.limit=e),onPagination:v},null,8,["total","page","limit"])):Y("",!0)])]),_:1})])}}}),ke=ee(_e,[["__scopeId","data-v-f8098ec9"]]);export{ke as default}; diff --git a/backend/public/admin/system_static/index-D0bM2ltG.css b/backend/public/admin/system_static/index-D0bM2ltG.css new file mode 100644 index 000000000..e61448f71 --- /dev/null +++ b/backend/public/admin/system_static/index-D0bM2ltG.css @@ -0,0 +1 @@ +.tabBox_img[data-v-255490a0]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-255490a0]{width:100%;height:100%}.labelInput[data-v-255490a0]{border:1px solid #dcdee2;padding:0 15px 0 10px;border-radius:5px;min-height:30px;cursor:pointer;font-size:12px}.labelInput .span[data-v-255490a0]{color:#c5c8ce}.labelInput .iconxiayi[data-v-255490a0]{margin-left:5px;font-size:12px}.el-dropdown-link[data-v-255490a0]{cursor:pointer;color:var(--prev-color-primary);font-size:12px}.el-icon-arrow-down[data-v-255490a0]{font-size:12px}.el-dropdown-menu__item a[data-v-255490a0]{color:#606266}.label_width[data-v-255490a0]{width:400px}.search-form[data-v-255490a0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.search-form .search-form-box[data-v-255490a0]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-flex:1;-ms-flex:1;flex:1}.search-form .search-form-sub[data-v-255490a0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}.batch-box [data-v-255490a0] .ivu-modal-body{overflow:auto;min-height:350px} diff --git a/backend/public/admin/system_static/index-D0h0OCRo.css b/backend/public/admin/system_static/index-D0h0OCRo.css new file mode 100644 index 000000000..0dd9fe5d1 --- /dev/null +++ b/backend/public/admin/system_static/index-D0h0OCRo.css @@ -0,0 +1 @@ +.fa[data-v-d0dede4e]{color:#0a6aa1;display:block}.sheng[data-v-d0dede4e]{color:red;display:block}.tabBox_img[data-v-d0dede4e]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-d0dede4e]{width:100%;height:100%} diff --git a/backend/public/admin/system_static/index-D55PmjLQ.css b/backend/public/admin/system_static/index-D55PmjLQ.css new file mode 100644 index 000000000..a571688ad --- /dev/null +++ b/backend/public/admin/system_static/index-D55PmjLQ.css @@ -0,0 +1 @@ +.cl[data-v-0173500c]{margin-right:20px}.code-row-bg[data-v-0173500c]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.code-row-bg .ivu-mt[data-v-0173500c]{width:100%;margin:0 5px} diff --git a/backend/public/admin/system_static/index-D6DBiyhz.js b/backend/public/admin/system_static/index-D6DBiyhz.js new file mode 100644 index 000000000..7c5e7b1e0 --- /dev/null +++ b/backend/public/admin/system_static/index-D6DBiyhz.js @@ -0,0 +1 @@ +import{Z as q,k as y,u as z,s as _,y as r,z as A,j as s,C as o,A as t,B as m,W as x,H as D,$ as E,a0 as p,a2 as G,ab as H,l as n}from"./element-plus-C_ZDq0cz.js";import{c as J}from"./cards-kFTwJ5CA.js";import{_ as K}from"./index-K7mJi7Sh.js";import{_ as O}from"./index-BNh-i5iE.js";import{b as Q,c as X,d as ee,e as te}from"./statistic-BeRWO-o3.js";import{f as P}from"./validate-a11VBqc7.js";import{_ as ae}from"./index-DHL7RTL2.js";import"./echarts-CylxjQLW.js";import"./echarts-C6m23LPs.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const le={class:"acea-row row-middle"},se={class:"code-row-bg"},ne={class:"acea-row row-between-wrapper"},oe={class:"ech-box"},ie={class:"percent-box"},re={class:"line"},de={class:"num"},ce={class:"acea-row row-between-wrapper"},ue={class:"ech-box"},ve={class:"percent-box"},me={class:"line"},pe={class:"num"},fe=Object.assign({name:"index"},{__name:"index",setup(_e){const c=n([]),R={height:"400px"},F=n({}),V=n({}),h=n(!0),g=n(!1),k=n(!1),L=n(!1),v=n({time:""}),C=n([{col:6,count:0,name:"订单量",className:"icondingdanliang"},{col:6,count:0,name:"订单销售额",className:"icondingdanjine"},{col:6,count:0,name:"退款订单数",className:"icontuikuandingdanliang"},{col:6,count:0,name:"退款金额",className:"icontuikuanjine"}]),B=n({}),w=n(!1),Y=n([]),$=n([]),U=new Date,T=new Date;T.setTime(T.setTime(new Date(new Date().getFullYear(),new Date().getMonth(),new Date().getDate()-29))),c.value=[P(T,"yyyy/MM/dd"),P(U,"yyyy/MM/dd")],v.value.time=c.value.join("-"),W();function W(){N(),I(),S(),j()}function N(){Q(v.value).then(l=>{let e=["pay_count","pay_price","refund_count","refund_price"];C.value.map((f,d)=>{f.count=l.data[e[d]]})})}function S(){k.value=!0,X(v.value).then(l=>{F.value=l.data,Y.value=l.data.list,k.value=!1})}function j(){L.value=!0,ee(v.value).then(l=>{V.value=l.data,$.value=l.data.list,L.value=!1})}function Z(l){c.value=l,v.value.time=c.value?c.value.join("-"):"",N(),I(),S(),j()}function I(){w.value=!0,te(v.value).then(async l=>{let e=l.data.series.map(u=>u.name),f=l.data.xAxis,d=["#5B8FF9","#5AD8A6","#FFAB2B","#5D7092"],i=[];l.data.series.map((u,b)=>{i.push({name:u.name,type:"line",data:u.data,itemStyle:{normal:{color:d[b]}},smooth:0})}),B.value={tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},legend:{x:"center",data:e},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},toolbox:{feature:{saveAsImage:{}}},xAxis:{type:"category",boundaryGap:!0,axisLabel:{interval:0,rotate:40,textStyle:{color:"#000000"}},data:f},yAxis:{type:"value",axisLine:{show:!1},axisTick:{show:!1},axisLabel:{textStyle:{color:"#7F8B9C"}},splitLine:{show:!0,lineStyle:{color:"#F5F7F9"}}},series:i},w.value=!1}).catch(l=>{q.error(l.msg),w.value=!1})}return(l,e)=>{const f=y("date-range-picker"),d=y("el-card"),i=y("el-table-column"),u=y("el-table"),b=z("db-click"),M=z("loading");return _((r(),A("div",null,[s(d,{bordered:!1,shadow:"never",class:"ivu-mb-16"},{default:o(()=>[t("div",le,[e[3]||(e[3]=t("span",{class:"label_text"},"时间选择:",-1)),s(f,{clearable:"",modelValue:c.value,"onUpdate:modelValue":e[0]||(e[0]=a=>c.value=a),editable:!1,onChange:Z,format:"YYYY/MM/DD","value-format":"YYYY/MM/DD",class:"mr20"},null,8,["modelValue"])])]),_:1}),C.value.length>=0?(r(),m(x(J),{key:0,cardLists:C.value},null,8,["cardLists"])):D("",!0),s(d,{class:"ivu-mb-16",bordered:!1,shadow:"never"},{default:o(()=>[e[4]||(e[4]=t("h4",{class:"statics-header-title"},"营业趋势",-1)),B.value?(r(),m(x(K),{key:0,"option-data":B.value,styles:R,height:"100%",width:"100%"},null,8,["option-data"])):D("",!0)]),_:1}),t("div",se,[s(d,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:o(()=>[t("div",ne,[e[6]||(e[6]=t("h4",{class:"statics-header-title"},"订单来源分析",-1)),_((r(),A("div",{class:"change-style",onClick:e[1]||(e[1]=a=>h.value=!h.value)},[...e[5]||(e[5]=[E("切换样式",-1)])])),[[b]])]),t("div",oe,[h.value?(r(),m(x(O),{key:0,ref:"visitChart",infoList:F.value,echartsTitle:"circle"},null,8,["infoList"])):D("",!0),_((r(),m(u,{ref:"selection",data:Y.value,"empty-text":"暂无数据","highlight-current-row":""},{default:o(()=>[s(i,{type:"index",label:"序号",width:"80"}),s(i,{label:"来源","min-width":"80"},{default:o(a=>[t("span",null,p(a.row.name),1)]),_:1}),s(i,{label:"订单数","min-width":"130"},{default:o(a=>[t("span",null,p(a.row.value),1)]),_:1}),s(i,{label:"占比率","min-width":"130"},{default:o(a=>[t("div",ie,[t("div",re,[e[7]||(e[7]=t("div",{class:"bg"},null,-1)),t("div",{class:"percent",style:G("width:"+a.row.percent+"%;")},null,4)]),t("div",de,p(a.row.percent)+"%",1)])]),_:1})]),_:1},8,["data"])),[[H,!h.value],[M,k.value]])])]),_:1}),s(d,{bordered:!1,shadow:"never",class:"ivu-mt"},{default:o(()=>[t("div",ce,[e[9]||(e[9]=t("h4",{class:"statics-header-title"},"订单类型分析",-1)),_((r(),A("div",{class:"change-style",onClick:e[2]||(e[2]=a=>g.value=!g.value)},[...e[8]||(e[8]=[E("切换样式",-1)])])),[[b]])]),t("div",ue,[g.value?(r(),m(x(O),{key:0,ref:"visitChart",infoList:V.value,echartsTitle:"circle"},null,8,["infoList"])):D("",!0),_((r(),m(u,{ref:"selection",data:$.value,"empty-text":"暂无数据","highlight-current-row":""},{default:o(()=>[s(i,{type:"index",label:"序号",width:"80"}),s(i,{label:"来源","min-width":"80"},{default:o(a=>[t("span",null,p(a.row.name),1)]),_:1}),s(i,{label:"金额","min-width":"130"},{default:o(a=>[t("span",null,p(a.row.value),1)]),_:1}),s(i,{label:"占比率","min-width":"130"},{default:o(a=>[t("div",ve,[t("div",me,[e[10]||(e[10]=t("div",{class:"bg"},null,-1)),t("div",{class:"percent",style:G("width:"+a.row.percent+"%;")},null,4)]),t("div",pe,p(a.row.percent)+"%",1)])]),_:1})]),_:1},8,["data"])),[[H,!g.value],[M,L.value]])])]),_:1})])])),[[M,w.value]])}}}),Me=ae(fe,[["__scopeId","data-v-b92044de"]]);export{Me as default}; diff --git a/backend/public/admin/system_static/index-D6yf77in.js b/backend/public/admin/system_static/index-D6yf77in.js new file mode 100644 index 000000000..4b7cfdc54 --- /dev/null +++ b/backend/public/admin/system_static/index-D6yf77in.js @@ -0,0 +1 @@ +import{k as j,u as V,s as d,y as o,z as u,A as s,j as J,C as U,H as C,a1 as z,a0 as v,$ as _,l as r,Z as p}from"./element-plus-C_ZDq0cz.js";import{_ as P,b as T,bV as W,S as F,r as H,bW as L}from"./index-DHL7RTL2.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const O="data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAIzSURBVGiB7dkvbBRBFIDxihMVJ05UVCARFYgKBKKiEoFoQgWyElFRgUA2gQQBogmWpAgcJBgc8kgqEBUVFRUVFScqECcqTvwQu5te2D8zd927WZJ+enffN7Mzb9+bXVm5556ZwfPUDnOBAb7KeJLaZyawjSu3fEztFAV6eKPMNVZT+zWCNfyskIcJNlI71oJNXNbIw8vUjrVgDzcN8gepHWvBYYN4d+Vlm/U4IH+Y2rMS9NVv1oJPqT0ryeWHAfkf6KV2LYF1nAXkf6Of2rVELn8ekB9hPbVriUj5GzxO7VoiX/OnAXnYS+1aQtyGhQ+pXUvI8vz3CPmhjmac4wj5azxI7VoCryPk4WmbQR+18SrxTFb6hjhqw7sIuoWxbM3O/RHJJ2EcIX/axmQVQTf+CTrEYI7nDDTX8wUTbLYpP6oIcm7GL6K4jAOvFi1fcCWyhcN+pPyJFpfOjvBmG2Er8JxNzd1UwRgPW5GfCh4zc2M16Q6rwjVOwX6r8lMSMTl7gt2Ke99Hyp8sRH5K5ChS5GDqnu3Ie5ZzHILPkULvZEXaZeT1hwuXzwfQw7dIqYvI684t8zQtH8SvSLkYGjPYogbRl+Xru5LuVEFcC9jEH6wlG8DUIK4ConUsJufPinC5UcWZLnVYslIhpkQuWP7GDeG2XwjxJbVrLdjVXPzd6GJ/Ow1eNAzgbWq/KHBQIT8yRxeXDOWfEt39/VOH2wr2QpfS5izIir+d1B5z89/O/D134C+N9zTDbeyE4AAAAABJRU5ErkJggg==",G={class:"main"},Y={key:0},K={key:0,class:"upload-card"},q=["src"],M=["onClick"],Z={class:"footer"},$={key:0},ee={key:1},ae={class:"upload-btn"},le={key:1,class:"upload-success"},te=Object.assign({name:"app_upload_file"},{__name:"index",setup(se){const k=T(),b=r(null),x=F.apiBaseURL+"/image/scan_upload",l=r([]),f=r(0),h=r(""),g=r(!0),m=r(20),i=r(!1),c=r(0),w=r(0);h.value=k.query.token,w.value=k.query.pid,document.title="手机端扫码上传";function B(){i.value||c.value||b.value.$el.querySelector('input[type="file"]').click()}function R(){i.value||c.value||(g.value=!0,l.value=[],f.value=0)}async function E(){if(!(i.value||c.value)){if(!l.value.length){p.warning("请先选择图片");return}i.value=!0;try{for(const e of[...l.value])e._scanUploaded||(await S(e.raw),e._scanUploaded=!0);g.value=!1}catch(e){p.error(e.msg||e.message||"上传失败")}finally{i.value=!1}}}function N(e){if(i.value||c.value)return;const a=l.value.findIndex(t=>t===e||e.uid!==void 0&&t.uid===e.uid);a<0||(l.value.splice(a,1),y())}function y(){f.value=l.value.reduce((e,a)=>e+a.raw.size,0)}function S(e){const a=new FormData;return a.append("file",e),a.append("uploadToken",h.value),a.append("pid",w.value),W(a).then(t=>{if(t.status!==200)throw t})}function D(e,a,t){p.error(e.msg||e.message||"上传失败")}function Q(e){return H(e)}async function X(e,a){if(!i.value){if(l.value=[...a],e.size>=2097152){c.value++;try{const t=await L(e.raw),n=l.value.find(A=>A.uid===e.uid);n&&(n.raw=t)}catch(t){l.value=l.value.filter(n=>n.uid!==e.uid),p.error(t.msg||t.message||"图片处理失败")}finally{c.value--}}y()}}return(e,a)=>{const t=j("el-upload"),n=V("db-click"),A=V("loading");return d((o(),u("div",G,[g.value?(o(),u("div",Y,[s("div",{class:z(["img-list",{"none-card":l.value.length}])},[J(t,{ref_key:"uploadRef",ref:b,action:x,"list-type":"picture-card","on-change":X,"on-error":D,"before-upload":Q,"file-list":l.value,"auto-upload":!1,disabled:i.value||c.value>0,multiple:!0,limit:m.value,accept:"image/*"},{default:U(()=>[l.value.length?C("",!0):(o(),u("div",K,[...a[0]||(a[0]=[s("i",{class:"el-icon-plus"},null,-1),s("p",{class:"text"},"点击选择图片",-1)])]))]),file:U(({file:I})=>[s("div",null,[s("img",{class:"el-upload-list__item-thumbnail",src:I.url,alt:""},null,8,q),d(s("i",{class:"el-icon-error btndel",onClick:ie=>N(I)},null,8,M),[[n]])])]),_:1},8,["file-list","disabled","limit"])],2),s("div",Z,[l.value.length?(o(),u("div",$,"共"+v(l.value.length)+"/"+v(m.value)+"张,"+v((f.value/1e6).toFixed(2))+" M",1)):(o(),u("div",ee)),s("div",ae,[l.value.length0]])}}}),de=P(te,[["__scopeId","data-v-9ef67c85"]]);export{de as default}; diff --git a/backend/public/admin/system_static/index-D7I8woVD.css b/backend/public/admin/system_static/index-D7I8woVD.css new file mode 100644 index 000000000..4ba89f595 --- /dev/null +++ b/backend/public/admin/system_static/index-D7I8woVD.css @@ -0,0 +1 @@ +.form-tip[data-v-db349382]{color:#909399;font-size:12px;line-height:1.5;margin-top:5px}.help-doc-tag a[data-v-db349382]{color:inherit;text-decoration:none}.help-doc-tag a[data-v-db349382]:hover{color:#1890ff}.help-doc-module[data-v-db349382]{background:#fafafa;border-radius:6px;padding:16px 20px;margin-bottom:12px}.help-doc-module[data-v-db349382]:last-child{margin-bottom:0}.help-doc-title[data-v-db349382]{font-weight:700;font-size:14px;color:#303133;margin-bottom:10px}.form-actions[data-v-db349382]{margin-top:24px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;gap:8px}.form-actions .el-button+.el-button[data-v-db349382]{margin-left:0}.font-weight-bold[data-v-7a683141]{font-weight:700}.mt16[data-v-7a683141]{margin-top:16px}.mb20[data-v-7a683141]{margin-bottom:20px} diff --git a/backend/public/admin/system_static/index-D8Gxn4aj.css b/backend/public/admin/system_static/index-D8Gxn4aj.css new file mode 100644 index 000000000..9ffd5fc28 --- /dev/null +++ b/backend/public/admin/system_static/index-D8Gxn4aj.css @@ -0,0 +1 @@ +.form-wrap[data-v-55c29021]{padding:0 20px 20px}.form-actions[data-v-55c29021]{margin-top:24px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;gap:8px}.form-actions .el-button+.el-button[data-v-55c29021]{margin-left:0}.font-weight-bold[data-v-8d86826e]{font-weight:700} diff --git a/backend/public/admin/system_static/index-D8N21Pq6.css b/backend/public/admin/system_static/index-D8N21Pq6.css new file mode 100644 index 000000000..7bffc71f6 --- /dev/null +++ b/backend/public/admin/system_static/index-D8N21Pq6.css @@ -0,0 +1 @@ +.tabBox_img[data-v-5473538e]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-5473538e]{width:100%;height:100%} diff --git a/backend/public/admin/system_static/index-D9x6LhmM.css b/backend/public/admin/system_static/index-D9x6LhmM.css new file mode 100644 index 000000000..a7be97d14 --- /dev/null +++ b/backend/public/admin/system_static/index-D9x6LhmM.css @@ -0,0 +1 @@ +.active[data-v-6406971c]{padding:6px 0}.active .btn[data-v-6406971c]{top:50px}.primary[data-v-6406971c]{position:absolute;right:0;bottom:0}.upgrade .header[data-v-6406971c]{font-size:12px;color:#000}.upgrade .header .v[data-v-6406971c]{color:var(--prev-color-primary);margin-left:10px}.upgrade .header .num[data-v-6406971c]{color:var(--prev-color-primary);font-size:24px}.upgrade .header .info[data-v-6406971c]{color:#999}.upgrade .header .title[data-v-6406971c]{color:#999;display:-webkit-box;display:-ms-flexbox;display:flex}.upgrade .header .info ul[data-v-6406971c]{color:#999;display:-webkit-box;display:-ms-flexbox;display:flex;margin-left:14px}.upgrade .header .info ul li[data-v-6406971c]::marker{color:red}.upgrade .header .info ul li+li[data-v-6406971c]{margin-left:40px}.upgrade .contentTime .acea-row[data-v-6406971c]{padding:5px}.upgrade .contentTime .list[data-v-6406971c]{position:relative;width:85%}.upgrade .contentTime .info[data-v-6406971c]{font-size:12px!important;color:#999!important;margin-top:13px}.upgrade .contentTime .info li[data-v-6406971c]{list-style-type:disc;margin-left:16px;line-height:26px;list-style:none}.upgrade .contentTime .collapse[data-v-6406971c]{width:100%}.upgrade .contentTime .ivu-collapse[data-v-6406971c]{border:0!important}.upgrade .contentTime .ivu-collapse>.ivu-collapse-item>.ivu-collapse-header[data-v-6406971c]{height:unset!important;line-height:20px!important;border:0!important;font-size:16px!important;color:#333;font-weight:600}.upgrade .contentTime .ivu-collapse>.ivu-collapse-item>.ivu-collapse-header>i[data-v-6406971c]{color:#bbb!important;margin-left:9px}.upgrade .contentTime .ivu-collapse>.ivu-collapse-item.ivu-collapse-item-active>.ivu-collapse-header>i[data-v-6406971c]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.upgrade .contentTime[data-v-6406971c]{margin-top:30px;position:relative}.upgrade .contentTime .btn[data-v-6406971c]{position:absolute;top:5px;right:60px;z-index:99;height:-webkit-max-content;height:-moz-max-content;height:max-content}.upgrade .contentTime .btn1[data-v-6406971c]{position:absolute;top:0;right:-29px;z-index:99;margin-left:14px}.upgrade .contentTime .time[data-v-6406971c]{font-size:14px;line-height:14px;color:#999;text-align:right;padding-right:28px;min-width:150px}.upgrade .contentTime .ivu-timeline-item[data-v-6406971c]:after{content:" ";position:absolute;top:13px;left:6.5px;width:1px;height:calc(100% - 13px);background-color:#e8eaec}.upgrade .contentTime:nth-child(2n) .ivu-timeline-item-head-custom[data-v-6406971c]{z-index:2;font-size:16px;color:#dddcdd;margin-left:12px;margin-top:10px}.ivu-timeline-item-head-custom[data-v-6406971c]{left:-24px}.upgrade .contentTimed .on[data-v-6406971c]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.upgrade .contentTime .on:first-child .ivu-timeline-item-head-custom[data-v-6406971c]{color:var(--prev-color-primary);font-size:18px}[data-v-6406971c] .ivu-collapse>.ivu-collapse-item>.ivu-collapse-header{line-height:20px}.upgrade .contentTimed .on .ivu-collapse>.ivu-collapse-item>.ivu-collapse-header[data-v-6406971c]{color:var(--prev-color-primary)}.on:first-child .ivu-collapse-header[data-v-6406971c]{color:var(--prev-color-primary)!important}.upgrade .contentTime .off:first-child .ivu-timeline-item-head-custom[data-v-6406971c]{color:var(--prev-color-primary);font-size:18px}.off:first-child .ivu-collapse-header[data-v-6406971c],.off:first-child .time[data-v-6406971c]{color:var(--prev-color-primary)!important}.header-modal[data-v-6406971c]{background:url(/admin/system_static/bg-C7cxfRmM.png) no-repeat;background-size:100% 100%;text-align:center;border-radius:6px 6px 0 0}.ivu-modal[data-v-6406971c]{border-radius:12px;overflow:hidden}.header-modal2[data-v-6406971c]{background:url(/admin/system_static/bg2-BCMKJo4J.png) no-repeat;background-size:100% 100%;text-align:center;border-radius:6px 6px 0 0}.ivu-modal-header[data-v-6406971c]{padding:0;border-radius:10px;border:none}.ivu-modal-header .header-modal2[data-v-6406971c]{height:74px;line-height:74px;font-size:20px;font-weight:500}.ivu-modal-header p[data-v-6406971c],.ivu-modal-header-inner[data-v-6406971c]{height:96px;color:#fff;line-height:96px;font-size:24px}.describe[data-v-6406971c]{text-align:center;padding-top:30px}.describe .success[data-v-6406971c]{font-size:20px;color:#333;margin-top:10px}.ivu-modal-footer[data-v-6406971c]{border:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.footer .ivu-btn[data-v-6406971c]{width:128px;height:40px;border:none}.cancel[data-v-6406971c]{background:#eee}.vertical-center-modal[data-v-6406971c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.vertical-center-modal .ivu-modal[data-v-6406971c]{top:0}[data-v-6406971c] .vertical-center-modal .ivu-modal-header{padding:0!important;border:none}[data-v-6406971c] .ivu-modal-content{border-radius:14px 14px 0 0;overflow:hidden}.footer[data-v-6406971c]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around}.demo-i-circle-custom h1[data-v-6406971c]{color:#ccc;font-size:12px;font-weight:400;line-height:17px}.demo-i-circle-custom p[data-v-6406971c]{color:#2a7efb;font-size:14px;line-height:20px;margin:6px 0}.demo-i-circle-custom span[data-v-6406971c]{display:block;color:#ccc;font-size:12px;line-height:17px}.demo-i-circle-custom span i[data-v-6406971c]{font-style:normal;color:#3f414d}.proportion[data-v-6406971c]{font-size:20px;font-weight:600;color:#2a7efb;margin:12px 0 6px}.wait[data-v-6406971c]{font-size:12px;font-weight:400;color:#999}.footer2[data-v-6406971c]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.footer2 .confirm[data-v-6406971c],.footer2 .back[data-v-6406971c]{width:210px;height:40px}.footer2 .back[data-v-6406971c]{border:none}.describe[data-v-6406971c]{padding-top:0}.describe h2[data-v-6406971c]{font-size:22px;font-weight:400;color:#333;margin-bottom:12px}.acea-row.row-top[data-v-6406971c]{position:relative;overflow:hidden}.update[data-v-6406971c]{margin:27px 16px} diff --git a/backend/public/admin/system_static/index-D9y4vq66.js b/backend/public/admin/system_static/index-D9y4vq66.js new file mode 100644 index 000000000..f48b60110 --- /dev/null +++ b/backend/public/admin/system_static/index-D9y4vq66.js @@ -0,0 +1 @@ +import{a as A,k as i,u as p,y as m,z as V,j as l,C as a,s as f,B as h,$ as y,ac as H,A as n,a0 as u,H as P,Z as C,r as T,l as c}from"./element-plus-C_ZDq0cz.js";import{_ as Z,b as $}from"./index-DHL7RTL2.js";import{userList as G}from"./user-Blgc2iHx.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const J={class:"customer"},K={class:"tabBox_img"},Q={style:{color:"red"}},W=["textContent"],X={class:"acea-row row-right page"},Y=Object.assign({name:"index"},{__name:"index",emits:["imageObject"],setup(ee,{emit:B}){const I=B,U=$(),o=T({page:1,limit:15,data:"",nickname:""}),v=c([]),k=c(0),d=c({}),_=c(!1),g=c(0);function b(){_.value=!0,G(o).then(async s=>{let t=s.data;v.value=t.list,g.value=t.count,v.value.map(w=>{w._isChecked=!1}),_.value=!1}).catch(s=>{_.value=!1,C.error(s.msg)})}function j(){o.page=1,b()}function D(s){if(self.currentid=s.uid,d.value=s,d.value.uid)if(U.query.fodder==="image"){let t={image:d.value.avatar,uid:d.value.uid};form_create_helper.set("image",t),form_create_helper.close("image")}else I("imageObject",{image:d.value.avatar,uid:d.value.uid});else C.warning("请先选择商品")}return A(()=>{b()}),(s,t)=>{const w=i("el-input"),x=i("el-form-item"),N=i("el-button"),O=i("el-form"),S=i("el-radio"),r=i("el-table-column"),z=i("el-table"),L=i("pagination"),M=p("db-click"),R=p("lazy"),E=p("viewer"),F=p("loading");return m(),V("div",J,[l(O,{ref:"formValidate",model:o,"label-width":"80px",inline:"",onSubmit:t[1]||(t[1]=H(()=>{},["prevent"]))},{default:a(()=>[l(x,{label:"搜索用户:"},{default:a(()=>[l(w,{clearable:"",placeholder:"请输入用户UID、昵称或手机号",modelValue:o.nickname,"onUpdate:modelValue":t[0]||(t[0]=e=>o.nickname=e),class:"form_content_width"},null,8,["modelValue"])]),_:1}),l(x,null,{default:a(()=>[f((m(),h(N,{type:"primary",onClick:j},{default:a(()=>[...t[5]||(t[5]=[y("查询",-1)])]),_:1})),[[M]])]),_:1})]),_:1},8,["model"]),f((m(),h(z,{class:"mt15","highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果",ref:"selection",data:v.value,height:"450"},{default:a(()=>[l(r,{width:"50"},{default:a(e=>[l(S,{modelValue:k.value,"onUpdate:modelValue":t[2]||(t[2]=q=>k.value=q),disabled:!!e.row.is_del,label:e.row.uid,value:e.row.uid,onInput:()=>D(e.row)},{default:a(()=>[...t[6]||(t[6]=[y(" ",-1)])]),_:1},8,["modelValue","disabled","label","value","onInput"])]),_:1}),l(r,{label:"UID",width:"80"},{default:a(e=>[n("span",null,u(e.row.uid),1)]),_:1}),l(r,{label:"用户头像","min-width":"90"},{default:a(e=>[f((m(),V("div",K,[f(n("img",null,null,512),[[R,e.row.avatar]])])),[[E]])]),_:1}),l(r,{label:"用户昵称","min-width":"180"},{default:a(e=>[n("div",null,u(e.row.nickname),1),n("div",Q,u(e.row.is_del?"用户已注销":""),1)]),_:1}),l(r,{label:"手机号","min-width":"180"},{default:a(e=>[n("div",null,u(e.row.phone),1)]),_:1}),l(r,{label:"是否关注公众号","min-width":"130"},{default:a(e=>[n("span",{textContent:u(e.row.subscribe===1?"关注":"未关注")},null,8,W)]),_:1}),l(r,{label:"注册时间","min-width":"180"},{default:a(e=>[n("div",null,u(e.row.add_time),1)]),_:1})]),_:1},8,["data"])),[[F,_.value]]),n("div",X,[g.value?(m(),h(L,{key:0,total:g.value,page:o.page,"onUpdate:page":t[3]||(t[3]=e=>o.page=e),limit:o.limit,"onUpdate:limit":t[4]||(t[4]=e=>o.limit=e),onPagination:b},null,8,["total","page","limit"])):P("",!0)])])}}}),se=Z(Y,[["__scopeId","data-v-390e5416"]]);export{se as default}; diff --git a/backend/public/admin/system_static/index-DB-KGoE1.js b/backend/public/admin/system_static/index-DB-KGoE1.js new file mode 100644 index 000000000..8b9c41cb7 --- /dev/null +++ b/backend/public/admin/system_static/index-DB-KGoE1.js @@ -0,0 +1 @@ +import{f as P,k as V,u as A,y as i,z as s,j as p,C as f,$ as q,a0 as $,F as R,D as J,s as D,H as L,l as _,a as Q,am as ne,an as oe,B as U,A as u,Z as H,r as me,ac as te,ab as de,W as T,a1 as Z,J as re,ad as ge,n as X,a9 as pe,p as ve}from"./element-plus-C_ZDq0cz.js";import{_ as B,A as W,x as _e,c as Y,u as ce,b as fe,g as be,S as he}from"./index-DHL7RTL2.js";import{j as ee,k as xe,l as ye,n as ue,o as Ve}from"./index-C2Zmd2Xm.js";import{d as K}from"./vuedraggable.umd-fTw9SVdO.js";import Ne from"./index-CYgESPmX.js";import{l as le}from"./index-CIbY4f6Z.js";import{W as Se}from"./index-Beo5Mkpq.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";/* empty css */import"./marketing-BAfn8OEa.js";import"./cms-BakSzEoF.js";import"./wangeditor-D-KRDJ3T.js";import"./registerMenus-BIn2m7Us.js";const ke={key:0,class:"c_row-item"},Ce=["onClick"],we=Object.assign({name:"c_bg_color"},{__name:"c_bg_color",props:{configData:{type:Object},name:{type:String},configNum:{type:[Number,String],default:"default"}},setup(l){const e=l,n=_({}),v=_(0);P(()=>e.configData,g=>{n.value=g[e.configNum]},{immediate:!0,deep:!0}),n.value=e.configData[e.configNum][e.configNum];function r(g,o){}function a(g,o,m){g.item=e.configData[e.configNum][e.name].default[m].item}return(g,o)=>{const m=V("el-col"),b=V("el-color-picker"),h=A("db-click");return i(),s("div",null,[l.configData[l.configNum]?(i(),s("div",ke,[p(m,{span:8,class:"c_label"},{default:f(()=>[q($(l.configData[l.configNum][l.name].title),1)]),_:1}),p(m,{span:14,class:"color-box"},{default:f(()=>[(i(!0),s(R,null,J(l.configData[l.configNum][l.name].color,(x,t)=>(i(),s("div",{class:"color-item acea-row row-middle",key:t},[p(b,{modelValue:x.item,"onUpdate:modelValue":c=>x.item=c,onChange:c=>void 0},null,8,["modelValue","onUpdate:modelValue","onChange"]),D((i(),s("span",{class:"white-space-nowrap",onClick:c=>a(x,v.value,t)},[...o[0]||(o[0]=[q("重置",-1)])],8,Ce)),[[h]])]))),128))]),_:1})])):L("",!0)])}}}),Le=B(we,[["__scopeId","data-v-712b67c0"]]),De=Object.freeze(Object.defineProperty({__proto__:null,default:Le},Symbol.toStringTag,{value:"Module"})),$e={class:"goodList"},Oe={class:"tabBox_img"},Ie=Object.assign({name:"index"},{__name:"index",emits:["getProductDiy"],setup(l,{emit:e}){const n=e,v=me({pid:0,name:""}),r=_([]),a=_(!1),g={xl:10,lg:10,md:12,sm:24,xs:24},o=_([]);function m(t){n("getProductDiy",t)}function b(){ee().then(t=>{r.value=t.data}).catch(t=>{H.error(t.msg)})}function h(){a.value=!0,ee(v).then(async t=>{o.value=t.data,a.value=!1}).catch(t=>{a.value=!1,H.error(t.msg)})}function x(){h()}return Q(()=>{b(),h()}),(t,c)=>{const N=V("el-option"),S=V("el-select"),y=V("el-form-item"),I=V("el-col"),O=V("el-input"),k=V("el-row"),z=V("el-form"),M=V("el-table-column"),C=V("el-table"),G=A("lazy"),j=A("viewer"),E=A("loading");return i(),s("div",$e,[p(z,{ref:"formValidate",model:v,"label-width":"120px","label-position":"right",class:"tabform"},{default:f(()=>[p(k,{gutter:24},{default:f(()=>[p(I,ne(oe(g)),{default:f(()=>[p(y,{label:"商品分类:","label-for":"pid"},{default:f(()=>[p(S,{modelValue:v.pid,"onUpdate:modelValue":c[0]||(c[0]=w=>v.pid=w),style:{width:"230px"},clearable:"",onChange:x},{default:f(()=>[(i(!0),s(R,null,J(r.value,w=>(i(),U(N,{value:w.id,key:w.id,label:w.cate_name},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1},16),p(I,ne(oe(g)),{default:f(()=>[p(y,{label:"商品搜索:","label-for":"store_name"},{default:f(()=>[p(O,{search:"","enter-button":"",placeholder:"请输入商品分类,id",modelValue:v.name,"onUpdate:modelValue":c[1]||(c[1]=w=>v.name=w),style:{width:"80%"},onOnSearch:x},null,8,["modelValue"])]),_:1})]),_:1},16)]),_:1})]),_:1},8,["model"]),D((i(),U(C,{ref:"table","empty-text":"暂无数据","max-height":"400",data:o.value,onSelect:m},{default:f(()=>[p(M,{type:"selection",width:"55"}),p(M,{label:"商品ID",width:"80"},{default:f(w=>[u("span",null,$(w.row.id),1)]),_:1}),p(M,{label:"图片","min-width":"90"},{default:f(w=>[D((i(),s("div",Oe,[D(u("img",null,null,512),[[G,w.row.pic]])])),[[j]])]),_:1}),p(M,{label:"商品分类","min-width":"130"},{default:f(w=>[u("span",null,$(w.row.cate_name),1)]),_:1})]),_:1},8,["data"])),[[E,a.value]])])}}}),je=B(Ie,[["__scopeId","data-v-79f14505"]]),ze={key:0,class:"goods-box"},Ue={class:"wrapper"},Pe={class:"item"},Be=["src"],Te=["onClick"],Me={class:"dialog-footer"},qe=Object.assign({name:"c_goods"},{__name:"c_goods",props:{name:{type:String},configData:{type:null},configNum:{type:[Number,String],default:"default"}},setup(l){const e=l,n=_(!1),v=_([]),r=_({}),a=_(""),g=_(""),o=_(!0),m=_("");P(()=>e.configData,S=>{r.value=S[e.configNum];let y=S[e.configNum].titleInfo?S[e.configNum].titleInfo.type:0;switch(a.value=S[e.configNum].selectConfig.type?S[e.configNum].selectConfig.type:y||0,a.value){case 0:m.value="商品列表";break;case 1:m.value="分类列表";break;case 8:m.value="砍价列表";break;case 2:m.value="秒杀列表";break;case 3:m.value="拼团列表";break}},{immediate:!0,deep:!0}),r.value=e.configData[e.configNum],g.value=e.configData[e.configNum].is_new;function b(S){return r.value.goodsList.list.indexOf(S)}function h(S){v.value=S,o.value=!1}function x(){v.value=[]}function t(S){const y=new Map;return S.filter(I=>!y.has(I.id)&&y.set(I.id,1))}function c(){if(!v.value.length)return H.warning("请先选择商品");let S=r.value.goodsList.list;S.push.apply(S,v.value);let y=t(S);r.value.goodsList.list=y,n.value=!1}function N(S){r.value.goodsList.list.splice(S,1)}return(S,y)=>{const I=V("el-button"),O=V("el-dialog"),k=A("db-click");return r.value.goodsList?(i(),s("div",ze,[u("div",Ue,[p(T(K),{class:"dragArea list-group",list:r.value.goodsList.list,group:"peoples","item-key":b},{item:f(({element:z,index:M})=>[D(u("div",Pe,[u("img",{src:a.value==1?z.pic:z.image,alt:""},null,8,Be),D(u("span",{class:"iconfont icondel_1",onClick:te(C=>N(M),["stop"])},null,8,Te),[[k]])],512),[[de,r.value.goodsList.list.length]])]),footer:f(()=>[D((i(),s("div",{class:"add-item item",onClick:y[0]||(y[0]=z=>n.value=!0)},[...y[2]||(y[2]=[u("span",{class:"iconfont iconaddto"},null,-1)])])),[[k]])]),_:1},8,["list"])]),p(O,{modelValue:n.value,"onUpdate:modelValue":y[1]||(y[1]=z=>n.value=z),title:m.value,class:Z(["paymentFooter",a.value?"":"middleTop"]),width:"900px"},{footer:f(()=>[u("span",Me,[D((i(),U(I,{onClick:x},{default:f(()=>[...y[3]||(y[3]=[q("取 消",-1)])]),_:1})),[[k]]),D((i(),U(I,{type:"primary",onClick:c},{default:f(()=>[...y[4]||(y[4]=[q("确 定",-1)])]),_:1})),[[k]])])]),default:f(()=>[n.value&&a.value==1?(i(),U(T(je),{key:0,ref:"goodslist",onGetProductDiy:h},null,512)):L("",!0),n.value&&a.value!=1?(i(),U(T(Ne),{key:1,ref:"goodslist",onGetProductDiy:h,ischeckbox:!0,type:a.value,is_new:g.value,diy:!0},null,8,["type","is_new"])):L("",!0)]),_:1},8,["modelValue","title","class"])])):L("",!0)}}}),Ge=B(qe,[["__scopeId","data-v-951a1583"]]),Ae=Object.freeze(Object.defineProperty({__proto__:null,default:Ge},Symbol.toStringTag,{value:"Module"})),Re={class:"line-box"},Je={class:"title"},Ee={class:"input-box"},He={class:"input-item"},We=["onClick"],Ke=Object.assign({name:"c_hot_word"},{__name:"c_hot_word",props:{name:{type:String},configData:{type:null},configNum:{type:[Number,String],default:"default"}},setup(l){const e=l,n=_(e.configData[e.configNum]);P(()=>e.configData,g=>{n.value=g[e.configNum]},{deep:!0});function v(g){return n.value[e.name].list.indexOf(g)}function r(){let g={val:""};n.value[e.name].list.length<20?n.value[e.name].list.push(g):H.warning("最多添加20个热词")}function a(g){n.value[e.name].list.splice(g,1)}return(g,o)=>{const m=V("el-input"),b=V("el-button"),h=A("db-click");return i(),s("div",Re,[u("div",Je,[o[0]||(o[0]=u("p",null,"搜索热词",-1)),u("span",null,$(n.value[l.name].title),1)]),u("div",Ee,[p(T(K),{class:"dragArea list-group",list:n.value[l.name].list,group:"peoples",handle:".icon","item-key":v},{item:f(({element:x,index:t})=>[u("div",He,[o[2]||(o[2]=u("div",{class:"icon"},[u("i",{class:"el-icon-s-grid",style:{"font-size":"20px"}})],-1)),p(m,{modelValue:x.val,"onUpdate:modelValue":c=>x.val=c,placeholder:"选填,不超过十个字",maxlength:x.maxlength||10},null,8,["modelValue","onUpdate:modelValue","maxlength"]),D((i(),s("div",{class:"close",onClick:c=>a(t)},[...o[1]||(o[1]=[u("i",{class:"el-icon-close",style:{color:"#d8d8d8","font-size":"20px"}},null,-1)])],8,We)),[[h]])])]),_:1},8,["list"]),D((i(),s("div",{class:"add-btn",onClick:r},[p(b,{type:"primary",ghost:"",style:{width:"100%",height:"40px","border-color":"var(--prev-color-primary)",color:"var(--prev-color-primary)"}},{default:f(()=>[...o[3]||(o[3]=[q("添加热词",-1)])]),_:1})])),[[h]])])])}}}),Fe=B(Ke,[["__scopeId","data-v-d8eceecb"]]),Ze=Object.freeze(Object.defineProperty({__proto__:null,default:Fe},Symbol.toStringTag,{value:"Module"})),Qe={key:0,class:"numbox"},Xe={key:0,class:"dif"},Ye=["onClick"],et=["onClick"],tt={key:1,class:"dif"},lt=Object.assign({name:"c_input_list"},{__name:"c_input_list",props:{name:{type:String},configData:{type:null},configNum:{type:[Number,String],default:"default"}},setup(l){const e=l,n=_(e.configData[e.configNum]),v=_(0),r=_(null);P(()=>e.configData,o=>{n.value=o[e.configNum]},{immediate:!0,deep:!0});function a(o){v.value=o,r.value.modals=!0}function g(o){n.value[e.name].list[v.value].val=o}return(o,m)=>{const b=V("el-col"),h=V("el-input"),x=A("db-click");return n.value[l.name]?(i(),s("div",Qe,[(i(!0),s(R,null,J(n.value[l.name].list,(t,c)=>(i(),s("div",{class:"c_row-item",key:c},[t.title==="链接"?(i(),s("div",Xe,[p(b,{class:"label",span:4},{default:f(()=>[u("span",null,$(t.title),1)]),_:2},1024),p(b,{span:19,class:"slider-box"},{default:f(()=>[D((i(),s("div",{class:"input-box",onClick:N=>a(c)},[p(h,{modelValue:t.val,"onUpdate:modelValue":N=>t.val=N,placeholder:t.pla,maxlength:t.max},{suffix:f(()=>[u("i",{class:"el-icon-link",onClick:N=>a(c)},null,8,et)]),_:2},1032,["modelValue","onUpdate:modelValue","placeholder","maxlength"])],8,Ye)),[[x]])]),_:2},1024)])):(i(),s("div",tt,[p(b,{class:"label",span:4},{default:f(()=>[u("span",null,$(t.title),1)]),_:2},1024),p(b,{span:19,class:"slider-box"},{default:f(()=>[p(h,{modelValue:t.val,"onUpdate:modelValue":N=>t.val=N,placeholder:t.pla,maxlength:t.max,style:{"text-align":"right"}},null,8,["modelValue","onUpdate:modelValue","placeholder","maxlength"])]),_:2},1024)]))]))),128)),p(T(le),{ref_key:"linkaddres",ref:r,onLinkUrl:g},null,512)])):L("",!0)}}}),at=B(lt,[["__scopeId","data-v-239d1958"]]),it=Object.freeze(Object.defineProperty({__proto__:null,default:at},Symbol.toStringTag,{value:"Module"})),nt={key:0,class:"numbox"},ot={class:"c_row-item"},st={key:0},ct={key:1},ut=Object.assign({name:"c_input_number"},{__name:"c_input_number",props:{name:{type:String},configData:{type:null},configNum:{type:[Number,String],default:"default"}},setup(l){const e=l,n=_(e.configData[e.configNum]);P(()=>e.configData,a=>{n.value=a[e.configNum]},{immediate:!0,deep:!0});function v(a){/^\+?[1-9][0-9]*$/.test(a)||(n.value[e.name].val=3)}function r(a){a>=50&&(n.value[e.name].val=50)}return(a,g)=>{const o=V("el-col"),m=V("el-input");return n.value[l.name]?(i(),s("div",nt,[u("div",ot,[p(o,{class:"label",span:4},{default:f(()=>[n.value[l.name].show?(i(),s("span",st,$(n.value[l.name].title),1)):(i(),s("span",ct,"数量"))]),_:1}),p(o,{span:19,class:"slider-box"},{default:f(()=>[p(m,{modelValue:n.value[l.name].val,"onUpdate:modelValue":g[0]||(g[0]=b=>n.value[l.name].val=b),type:"number",placeholder:"请输入数量",style:{"text-align":"right",width:"350px"},onBlur:g[1]||(g[1]=b=>v(n.value[l.name].val)),onChange:g[2]||(g[2]=b=>r(n.value[l.name].val))},null,8,["modelValue"])]),_:1})])])):L("",!0)}}}),mt=B(ut,[["__scopeId","data-v-dc9d5836"]]),dt=Object.freeze(Object.defineProperty({__proto__:null,default:mt},Symbol.toStringTag,{value:"Module"})),rt={class:"c_row-item"},gt=Object.assign({name:"c_is_show"},{__name:"c_is_show",props:{name:{type:String},configData:{type:null},configNum:{type:[Number,String],default:"default"}},setup(l){const e=l,n=_(e.configData[e.configNum]);return P(()=>e.configData,v=>{n.value=v[e.configNum]},{immediate:!0,deep:!0}),(v,r)=>{const a=V("el-col"),g=V("el-switch");return i(),s("div",rt,[p(a,{class:"label",span:4},{default:f(()=>[...r[1]||(r[1]=[q(" 是否显示 ",-1)])]),_:1}),p(a,{span:19},{default:f(()=>[p(g,{modelValue:n.value[l.name].val,"onUpdate:modelValue":r[0]||(r[0]=o=>n.value[l.name].val=o)},null,8,["modelValue"])]),_:1})])}}}),pt=B(gt,[["__scopeId","data-v-bcfb46de"]]),vt=Object.freeze(Object.defineProperty({__proto__:null,default:pt},Symbol.toStringTag,{value:"Module"})),_t={key:0,class:"box"},ft=Object.assign({name:"c_page_ueditor"},{__name:"c_page_ueditor",props:{name:{type:String},configData:{type:null},configNum:{type:[Number,String],default:"default"}},setup(l){const e=l,n=_({});P(()=>e.configData,a=>{n.value=a[e.configNum][e.name]},{immediate:!0,deep:!0});const v=_(n.value.val||"");function r(a){n.value.val=a}return(a,g)=>n.value?(i(),s("div",_t,[p(Se,{style:{width:"100%",height:"60%"},content:v.value,onEditorContent:r},null,8,["content"])])):L("",!0)}}),bt=Object.freeze(Object.defineProperty({__proto__:null,default:ft},Symbol.toStringTag,{value:"Module"})),ht={class:"slider-box"},xt={class:"c_row-item"},yt=Object.assign({name:"c_select"},{__name:"c_select",props:{name:{type:String},configData:{type:null},configNum:{type:[Number,String],default:"default"}},emits:["getConfig"],setup(l,{emit:e}){const n=e,v=l,r=_(v.configData[v.configNum]);Q(()=>{v.name==="selectConfig"&&W.on("upData",a)}),re(()=>{W.off("upData",a)}),P(()=>v.configData,o=>{r.value=o[v.configNum]},{deep:!0});function a(o){r.value[v.name].list=o,W.off("upData",a)}function g(o){n("getConfig",{name:"select",values:o})}return(o,m)=>{const b=V("el-col"),h=V("el-option"),x=V("el-select");return i(),s("div",ht,[u("div",xt,[r.value[l.name].title?(i(),U(b,{key:0,class:"label",span:4},{default:f(()=>[q($(r.value[l.name].title),1)]),_:1})):L("",!0),p(b,{span:19},{default:f(()=>[p(x,{modelValue:r.value[l.name].activeValue,"onUpdate:modelValue":m[0]||(m[0]=t=>r.value[l.name].activeValue=t),clearable:"",style:{width:"350px"},onChange:g},{default:f(()=>[(i(!0),s(R,null,J(r.value[l.name].list,(t,c)=>(i(),U(h,{value:t.activeValue,key:c,label:t.title},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1})])])}}}),Vt=B(yt,[["__scopeId","data-v-476b6151"]]),Nt=Object.freeze(Object.defineProperty({__proto__:null,default:Vt},Symbol.toStringTag,{value:"Module"})),ae=_e("moren",()=>{const l=_({}),e=_({customComponent:{defaultVal:{customComponent:{setUp:{tabVal:0},selectType:{title:"选择信息",activeValue:"user",list:[{activeValue:"user",title:"用户"},{activeValue:"article",title:"文章"},{activeValue:"coupon",title:"优惠券"},{activeValue:"goods",title:"商品"}]},articleDisplayMode:{title:"展示方式",tabVal:0,tabList:[{name:"纵向平铺"},{name:"横向滑动"}]},articleColumnStyle:{title:"排列方式",tabVal:0,tabList:[{name:"1列"},{name:"2列"},{name:"3列"},{name:"4列"}]},articleDataSource:{title:"数据选择",tabVal:0,tabList:[{name:"指定数据"},{name:"筛选数据"}]},articleList:{list:[]},articleClass:{title:"文章分类",activeValue:"",list:[]},articleNum:{title:"显示数量",val:1,min:1},articleSort:{title:"排序类型",tabVal:0,tabList:[{name:"综合"},{name:"浏览量"},{name:"发布时间"}]},articleSortRule:{title:"排序规则",tabVal:0,tabList:[{name:"升序"},{name:"降序"}]},couponDisplayMode:{title:"展示方式",tabVal:0,tabList:[{name:"纵向平铺"},{name:"横向滑动"}]},couponColumnStyle:{title:"排列方式",tabVal:0,tabList:[{name:"1列"},{name:"2列"},{name:"3列"},{name:"4列"}]},couponDataSource:{title:"数据选择",tabVal:0,tabList:[{name:"指定数据"},{name:"筛选数据"}]},couponList:{list:[]},couponType:{title:"优惠券类型",activeValue:"",list:[{activeValue:"",title:"全部"},{activeValue:"0",title:"通用券"},{activeValue:"1",title:"品类券"},{activeValue:"2",title:"商品券"}]},couponSendType:{title:"发送方式",activeValue:"",list:[{activeValue:"",title:"全部"},{activeValue:"1",title:"手动领取"},{activeValue:"3",title:"赠送券"}]},couponUserType:{title:"用户类型",activeValue:"",list:[{activeValue:"",title:"全部"},{activeValue:"1",title:"普通用户"},{activeValue:"2",title:"会员用户"}]},couponThreshold:{title:"使用门槛",tabVal:0,tabList:[{name:"无门槛"},{name:"有门槛"}]},couponThresholdValue:{title:"门槛金额",val:0,min:0,max:1e5},couponTime:{title:"领取时间",val:[]},couponSort:{title:"排序类型",tabVal:0,tabList:[{name:"面值大小"},{name:"发布时间"}]},couponSortRule:{title:"排序规则",tabVal:0,tabList:[{name:"升序"},{name:"降序"}]},couponNum:{title:"显示数量",val:1,min:1},goodsDisplayMode:{title:"展示方式",tabVal:0,tabList:[{name:"纵向平铺"},{name:"横向滑动"}]},goodsColumnStyle:{title:"排列方式",tabVal:0,tabList:[{name:"1列"},{name:"2列"},{name:"3列"},{name:"4列"}]},goodsDataSource:{title:"数据选择",tabVal:0,tabList:[{name:"指定数据"},{name:"指定分类"}]},goodsList:{title:"商品列表",max:20,list:[]},goodsClass:{title:"商品分类",activeValue:"",list:[]},goodsNum:{title:"显示数量",val:6,min:1},goodsSort:{title:"商品排序",name:"goodsSort",type:0,list:[{val:"综合",icon:"iconComm_whole"},{val:"销量",icon:"iconComm_number"},{val:"价格",icon:"iconjiage"}]},paddingConfig:{isAll:!1,title:"内边距",val:0,min:0,max:100,valList:[{val:10},{val:10},{val:10},{val:10}]},marginConfig:{isAll:!1,title:"外边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},c_common_style:{color:"rgba(255,255,255,1)",color2:"rgba(255,255,255,1)",lr:0,type:0}}},default:{customComponent:{setUp:{tabVal:0},selectType:{title:"选择信息",activeValue:"user",list:[{activeValue:"user",title:"用户"},{activeValue:"article",title:"文章"},{activeValue:"coupon",title:"优惠券"},{activeValue:"goods",title:"商品"}]},articleDisplayMode:{title:"展示方式",tabVal:0,tabList:[{name:"纵向平铺"},{name:"横向滑动"}]},articleColumnStyle:{title:"排列方式",tabVal:0,tabList:[{name:"1列"},{name:"2列"},{name:"3列"},{name:"4列"}]},articleDataSource:{title:"数据选择",tabVal:0,tabList:[{name:"指定数据"},{name:"动态数据"}]},articleNum:{title:"显示数量",val:1,min:1},couponDisplayMode:{title:"展示方式",tabVal:0,tabList:[{name:"纵向平铺"},{name:"横向滑动"}]},couponColumnStyle:{title:"排列方式",tabVal:0,tabList:[{name:"1列"},{name:"2列"},{name:"3列"},{name:"4列"}]},couponDataSource:{title:"数据选择",tabVal:0,tabList:[{name:"指定数据"},{name:"筛选数据"}]},couponList:{list:[]},couponType:{title:"优惠券类型",activeValue:"",list:[{activeValue:"",title:"全部"},{activeValue:"0",title:"通用券"},{activeValue:"1",title:"品类券"},{activeValue:"2",title:"商品券"}]},couponSendType:{title:"发送方式",activeValue:"",list:[{activeValue:"",title:"全部"},{activeValue:"1",title:"手动领取"},{activeValue:"3",title:"赠送券"}]},couponUserType:{title:"用户类型",activeValue:"",list:[{activeValue:"",title:"全部"},{activeValue:"1",title:"普通用户"},{activeValue:"2",title:"会员用户"}]},couponThreshold:{title:"使用门槛",tabVal:0,tabList:[{name:"无门槛"},{name:"有门槛"}]},couponThresholdValue:{title:"门槛金额",val:0,min:0,max:1e5},couponTime:{title:"领取时间",val:[]},couponSort:{title:"排序类型",tabVal:0,tabList:[{name:"面值大小"},{name:"发布时间"}]},couponSortRule:{title:"排序规则",tabVal:0,tabList:[{name:"升序"},{name:"降序"}]},couponNum:{title:"显示数量",val:1,min:1},goodsDisplayMode:{title:"展示方式",tabVal:0,tabList:[{name:"纵向平铺"},{name:"横向滑动"}]},goodsColumnStyle:{title:"排列方式",tabVal:0,tabList:[{name:"1列"},{name:"2列"},{name:"3列"},{name:"4列"}]},goodsDataSource:{title:"数据选择",tabVal:0,tabList:[{name:"指定数据"},{name:"指定分类"}]},goodsList:{title:"商品列表",max:20,list:[]},goodsClass:{title:"商品分类",activeValue:"",list:[]},goodsNum:{title:"显示数量",val:6,min:1},goodsSort:{title:"商品排序",tabVal:0,tabList:[{name:"综合"},{name:"销量"},{name:"价格"}]},goodsSortRule:{title:"排序规则",tabVal:0,tabList:[{name:"降序"},{name:"升序"}]},paddingConfig:{isAll:!1,title:"内边距",val:0,min:0,max:100,valList:[{val:10},{val:10},{val:10},{val:10}]},marginConfig:{isAll:!1,title:"外边距",val:0,min:0,max:100,valList:[{val:0},{val:0},{val:0},{val:0}]},c_common_style:{color:"rgba(255,255,255,1)",color2:"rgba(255,255,255,1)",lr:0,type:0}}}},headerSerch:{defaultVal:{isShow:{val:!0},imgUrl:{title:"最多可添加1张图片,图片建议宽度128 * 45px",url:""},titleInfo:{title:"",type:8,list:[{title:"商城简介",val:"好物尽享 任你选择",max:20,pla:"选填,不超过10个字"}]},hotList:{title:"热词最多20个字,鼠标拖拽左侧圆点可调整热词顺序",max:99,list:[{val:"",maxlength:20}]}},default:{isShow:{val:!0},imgUrl:{title:"最多可添加1张图片,图片建议宽度128 * 45px",url:""},titleInfo:{title:"",type:8,list:[{title:"商城简介",val:"好物尽享 任你选择",max:20,pla:"选填,不超过10个字"}]},hotList:{title:"热词最多20个字,鼠标拖拽左侧圆点可调整热词顺序",max:99,list:[{val:"",maxlength:20}]}}},swiperBg:{defaultVal:{isShow:{val:!0},imgList:{title:"最多可添加10张图片,建议宽度750px",max:10,list:[{img:"",info:[{title:"标题",value:"",maxlength:10,tips:"选填,不超过十个字"},{title:"链接",value:"",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"",maxlength:10,tips:"选填,不超过十个字"},{title:"链接",value:"",maxlength:999,tips:"请填写链接"}]}]}},default:{isShow:{val:!0},imgList:{title:"最多可添加10张图片,建议宽度750px",max:10,list:[{img:"",info:[{title:"标题",value:"",maxlength:10,tips:"选填,不超过十个字"},{title:"链接",value:"",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"",maxlength:10,tips:"选填,不超过十个字"},{title:"链接",value:"",maxlength:999,tips:"请填写链接"}]}]}}},menus:{defaultVal:{isShow:{val:!0},imgList:{title:"最多可添加20个,图片建议宽度96*96px;鼠标拖拽左侧圆点可调整图标顺序",max:20,list:[{img:"",info:[{title:"标题",value:"商品分类",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/goods_cate/goods_cate",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"领优惠券",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/users/user_get_coupon/index",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"行业资讯",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/extension/news_list/index",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"我的收藏",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/users/user_goods_collection/index",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"拼团活动",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/activity/goods_combination/index",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"秒杀活动",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/activity/goods_seckill/index",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"砍价活动",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/activity/goods_bargain/index",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"地址管理",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/activity/goods_bargain/index",maxlength:999,tips:"请填写链接"}]}]}},default:{isShow:{val:!0},imgList:{title:"最多可添加20个,图片建议宽度96*96px;鼠标拖拽左侧圆点可调整图标顺序",max:20,list:[{img:"",info:[{title:"标题",value:"商品分类",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/goods_cate/goods_cate",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"领优惠券",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/users/user_get_coupon/index",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"行业资讯",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/extension/news_list/index",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"我的收藏",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/users/user_goods_collection/index",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"拼团活动",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/activity/goods_combination/index",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"秒杀活动",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/activity/goods_seckill/index",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"砍价活动",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/activity/goods_bargain/index",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"地址管理",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/activity/goods_bargain/index",maxlength:999,tips:"请填写链接"}]}]}}},tabNav:{defaultVal:{isShow:{val:!0}},default:{isShow:{val:!0}}},news:{defaultVal:{isShow:{val:!0},imgUrl:{title:"最多可添加10个模板,图片建议宽度124 * 28px",url:""},newList:{max:10,list:[{chiild:[{title:"标题",val:"CRMEB_PRO 1.1正式公测啦",max:20,pla:"选填,不超过四个字"},{title:"链接",val:"链接",max:99,pla:"选填"}]}]}},default:{isShow:{val:!0},imgUrl:{title:"最多可添加10个模板,图片建议宽度124 * 28px",url:""},newList:{max:10,list:[{chiild:[{title:"标题",val:"CRMEB_PRO 1.1正式公测啦",max:20,pla:"选填,不超过四个字"},{title:"链接",val:"链接",max:99,pla:"选填"}]}]}}},activity:{defaultVal:{isShow:{val:!0},imgList:{isDelete:!0,title:"最多可添加3组模块,第一张336*298px,后两张416*124px",max:3,list:[{img:"",info:[{title:"标题",value:"一起来拼团",maxlength:20,tips:"标题"},{title:"描述",value:"优惠多多",maxlength:20,tips:"描述"},{title:"链接",value:"/pages/activity/goods_combination/index",maxlength:999,tips:"链接"}]},{img:"",info:[{title:"标题",value:"秒杀专区",maxlength:20,tips:"标题"},{title:"描述",value:"新能源汽车优惠多多",maxlength:20,tips:"描述"},{title:"链接",value:"/pages/activity/goods_seckill/index",maxlength:999,tips:"链接"}]},{img:"",info:[{title:"标题",value:"砍价活动",maxlength:20,tips:"标题"},{title:"描述",value:"呼朋唤友来砍价~~",maxlength:20,tips:"描述"},{title:"链接",value:"/pages/activity/goods_bargain/index",maxlength:999,tips:"链接"}]}]},max:3},default:{isShow:{val:!0},imgList:{isDelete:!0,title:"最多可添加3组模块,第一张336*298px,后两张416*124px",max:3,list:[{img:"",info:[{title:"标题",value:"一起来拼团",maxlength:20,tips:"标题"},{title:"描述",value:"优惠多多",maxlength:20,tips:"描述"},{title:"链接",value:"/pages/activity/goods_combination/index",maxlength:999,tips:"链接"}]},{img:"",info:[{title:"标题",value:"秒杀专区",maxlength:20,tips:"标题"},{title:"描述",value:"新能源汽车优惠多多",maxlength:20,tips:"描述"},{title:"链接",value:"/pages/activity/goods_seckill/index",maxlength:999,tips:"链接"}]},{img:"",info:[{title:"标题",value:"砍价活动",maxlength:20,tips:"标题"},{title:"描述",value:"呼朋唤友来砍价~~",maxlength:20,tips:"描述"},{title:"链接",value:"/pages/activity/goods_bargain/index",maxlength:999,tips:"链接"}]}]},max:3}},alive:{defaultVal:{isShow:{val:!0},titleInfo:{title:"",list:[{title:"标题",val:"直播间",max:20,pla:"选填,不超过六个字"},{title:"介绍",val:"精彩直播",max:8,pla:"选填,不超过8个字"},{title:"链接",val:"/pages/columnGoods/live_list/index",max:999,pla:"选填"}]},numConfig:{title:"显示数量",val:3}},default:{isShow:{val:!0},titleInfo:{title:"",list:[{title:"标题",val:"直播间",max:20,pla:"选填,不超过六个字"},{title:"介绍",val:"精彩直播",max:8,pla:"选填,不超过8个字"},{title:"链接",val:"/pages/columnGoods/live_list/index",max:999,pla:"选填"}]},numConfig:{title:"显示数量",val:3}}},scrollBox:{defaultVal:{isShow:{val:!0},titleInfo:{title:"",list:[{title:"标题",val:"快速选择",max:4,pla:"选填,不超过4个字"},{title:"介绍",val:"诚意推荐品质商品",max:8,pla:"选填,不超过8个字"},{title:"链接",val:"/pages/goods_cate/goods_cate",max:999,pla:"选填"}]}},default:{isShow:{val:!0},titleInfo:{title:"",list:[{title:"标题",val:"快速选择",max:4,pla:"选填,不超过4个字"},{title:"介绍",val:"诚意推荐品质商品",max:8,pla:"选填,不超过8个字"},{title:"链接",val:"/pages/goods_cate/goods_cate",max:999,pla:"选填"}]}}},adsRecommend:{defaultVal:{isShow:{val:!0},imgList:{title:"图片建议尺寸338 * 206px;鼠标拖拽左侧圆点可调整版块顺序",max:10,list:[{img:"",info:[{title:"链接",value:"",maxlength:999,tips:"请填写链接"}]}]}},default:{isShow:{val:!0},imgList:{title:"图片建议尺寸338 * 206px;鼠标拖拽左侧圆点可调整版块顺序",max:10,list:[{img:"",info:[{title:"链接",value:"",maxlength:999,tips:"请填写链接"}]}]}}},coupon:{defaultVal:{isShow:{val:!0},numConfig:{val:10}},default:{isShow:{val:!0},numConfig:{val:10}}},seckill:{defaultVal:{isShow:{val:!0},tabConfig:{tabVal:0,type:1,tabList:[{name:"自动选择",icon:"iconzidongxuanze"},{name:"手动选择",icon:"iconshoudongxuanze"}]},titleInfo:{title:"",type:2,list:[{title:"商品类型",val:"限时秒杀",max:20,pla:"选填,不超过四个字"}]},selectConfig:{title:"商品分类",activeValue:"",list:[{activeValue:"",title:""},{activeValue:"",title:""}]},numConfig:{val:6},goodsSort:{title:"商品排序",name:"goodsSort",type:0,list:[{val:"系统排序",icon:"iconComm_whole"},{val:"销量最高",icon:"iconComm_number"},{val:"最新上架",icon:"iconzuixin"}]},goodsList:{max:20,list:[]}},default:{isShow:{val:!0},tabConfig:{tabVal:0,type:1,tabList:[{name:"自动选择",icon:"iconzidongxuanze"},{name:"手动选择",icon:"iconshoudongxuanze"}]},titleInfo:{title:"",type:2,list:[{title:"商品类型",val:"限时秒杀",max:20,pla:"选填,不超过四个字"}]},selectConfig:{title:"商品分类",activeValue:"",list:[{activeValue:"",title:""},{activeValue:"",title:""}]},numConfig:{val:6},goodsSort:{title:"商品排序",name:"goodsSort",type:0,list:[{val:"系统排序",icon:"iconComm_whole"},{val:"销量最高",icon:"iconComm_number"},{val:"最新上架",icon:"iconzuixin"}]},goodsList:{max:20,list:[]}}},combination:{defaultVal:{isShow:{val:!0},tabConfig:{tabVal:0,type:1,tabList:[{name:"自动选择",icon:"iconzidongxuanze"},{name:"手动选择",icon:"iconshoudongxuanze"}]},titleInfo:{title:"",type:3,list:[{title:"商品类型",val:"拼团列表",max:20,pla:"选填,不超过四个字"}]},selectConfig:{title:"商品分类",activeValue:"",list:[{activeValue:"",title:""},{activeValue:"",title:""}]},numConfig:{val:6},goodsSort:{title:"商品排序",name:"goodsSort",type:0,list:[{val:"系统排序",icon:"iconComm_whole"},{val:"销量最高",icon:"iconComm_number"},{val:"最新上架",icon:"iconzuixin"}]},goodsList:{max:20,list:[]}},default:{isShow:{val:!0},tabConfig:{tabVal:0,type:1,tabList:[{name:"自动选择",icon:"iconzidongxuanze"},{name:"手动选择",icon:"iconshoudongxuanze"}]},titleInfo:{title:"",type:3,list:[{title:"商品类型",val:"拼团列表",max:20,pla:"选填,不超过四个字"}]},selectConfig:{title:"商品分类",activeValue:"",list:[{activeValue:"",title:""},{activeValue:"",title:""}]},numConfig:{val:6},goodsSort:{title:"商品排序",name:"goodsSort",type:0,list:[{val:"系统排序",icon:"iconComm_whole"},{val:"销量最高",icon:"iconComm_number"},{val:"最新上架",icon:"iconzuixin"}]},goodsList:{max:20,list:[]}}},bargain:{defaultVal:{isShow:{val:!0},tabConfig:{tabVal:0,type:1,tabList:[{name:"自动选择",icon:"iconzidongxuanze"},{name:"手动选择",icon:"iconshoudongxuanze"}]},titleInfo:{title:"",type:8,list:[{title:"商品类型",val:"砍价列表",max:20,pla:"选填,不超过四个字"}]},selectConfig:{title:"商品分类",activeValue:"",list:[{activeValue:"",title:""},{activeValue:"",title:""}]},numConfig:{val:6},goodsSort:{title:"商品排序",name:"goodsSort",type:0,list:[{val:"系统排序",icon:"iconComm_whole"},{val:"销量最高",icon:"iconComm_number"},{val:"最新上架",icon:"iconzuixin"}]},goodsList:{max:20,list:[]}},default:{isShow:{val:!0},tabConfig:{tabVal:0,type:1,tabList:[{name:"自动选择",icon:"iconzidongxuanze"},{name:"手动选择",icon:"iconshoudongxuanze"}]},titleInfo:{title:"",type:8,list:[{title:"商品类型",val:"砍价列表",max:20,pla:"选填,不超过四个字"}]},selectConfig:{title:"商品分类",activeValue:"",list:[{activeValue:"",title:""},{activeValue:"",title:""}]},numConfig:{val:6},goodsSort:{title:"商品排序",name:"goodsSort",type:0,list:[{val:"系统排序",icon:"iconComm_whole"},{val:"销量最高",icon:"iconComm_number"},{val:"最新上架",icon:"iconzuixin"}]},goodsList:{max:20,list:[]}}},goodList:{defaultVal:{isShow:{val:!0},titleInfo:{title:"",list:[{title:"标题",val:"快速选择",max:4,pla:"选填,不超过4个字"},{title:"介绍",val:"诚意推荐品质商品",max:8,pla:"选填,不超过8个字"},{title:"链接",val:"",max:999,pla:"选填"}]},tabConfig:{tabVal:0,type:1,tabList:[{name:"自动选择",icon:"iconzidongxuanze"},{name:"手动选择",icon:"iconshoudongxuanze"}]},selectSortConfig:{title:"商品类型",activeValue:"",list:[{activeValue:"0",title:"商品列表"},{activeValue:"7",title:"优品推荐"}]},selectConfig:{title:"商品分类",activeValue:"",list:[{activeValue:"",title:""},{activeValue:"",title:""}]},numConfig:{val:6},goodsSort:{title:"商品排序",name:"goodsSort",type:0,list:[{val:"系统排序",icon:"iconComm_whole"},{val:"销量最高",icon:"iconComm_number"},{val:"最新上架",icon:"iconzuixin"}]},goodsList:{max:20,list:[]}},default:{isShow:{val:!0},titleInfo:{title:"",list:[{title:"标题",val:"快速选择",max:4,pla:"选填,不超过4个字"},{title:"介绍",val:"诚意推荐品质商品",max:8,pla:"选填,不超过8个字"},{title:"链接",val:"",max:999,pla:"选填"}]},tabConfig:{tabVal:0,type:1,tabList:[{name:"自动选择",icon:"iconzidongxuanze"},{name:"手动选择",icon:"iconshoudongxuanze"}]},selectSortConfig:{title:"商品类型",activeValue:"",list:[{activeValue:"0",title:"商品列表"},{activeValue:"7",title:"优品推荐"}]},selectConfig:{title:"商品分类",activeValue:"",list:[{activeValue:"",title:""},{activeValue:"",title:""}]},numConfig:{val:6},goodsSort:{title:"商品排序",name:"goodsSort",type:0,list:[{val:"系统排序",icon:"iconComm_whole"},{val:"销量最高",icon:"iconComm_number"},{val:"最新上架",icon:"iconzuixin"}]},goodsList:{max:20,list:[]}}},picTxt:{defaultVal:{isShow:{val:!0},richText:{val:""}},default:{isShow:{val:!0},richText:{val:""}}},titles:{defaultVal:{isShow:{val:!0},titleInfo:{title:"",list:[{title:"标题",val:"商品推荐",max:20,pla:"选填,不超过四个字"},{title:"标题",val:"商品推荐",max:20,pla:"选填,不超过四个字"},{title:"链接",val:"",max:999,pla:"选填"}]}},default:{isShow:{val:!0},titleInfo:{title:"",list:[{title:"标题",val:"商品推荐",max:20,pla:"选填,不超过四个字"},{title:"标题",val:"商品推荐",max:20,pla:"选填,不超过四个字"},{title:"链接",val:"",max:999,pla:"选填"}]}}},customerService:{defaultVal:{isShow:{val:!0},imgUrl:{title:"最多可添加1张图片,图片建议宽度128 * 45px",url:""}},default:{isShow:{val:!0},imgUrl:{title:"最多可添加1张图片,图片建议宽度128 * 45px",url:""}}},tabBar:{defaultVal:{isShow:{val:!0},tabBarList:{title:"图片建议宽度81*81px",list:[{name:"首页",imgList:["https://qiniu.crmeb.net/attach/2021/04/9ebdf202104251644215768.png","https://qiniu.crmeb.net/attach/2021/04/44bc420210425164421586.png"],link:"/pages/index/index"},{name:"分类",imgList:["https://qiniu.crmeb.net/attach/2021/04/b62c8202104251644218412.png","https://qiniu.crmeb.net/attach/2021/04/9509c202104251644214836.png"],link:"/pages/goods_cate/goods_cate"},{name:"购物车",imgList:["https://qiniu.crmeb.net/attach/2021/04/2e682202104251644216849.png","https://qiniu.crmeb.net/attach/2021/04/6b3cb202104251644218211.png"],link:"/pages/order_addcart/order_addcart"},{name:"我的",imgList:["https://qiniu.crmeb.net/attach/2021/04/3329c20210425164421428.png","https://qiniu.crmeb.net/attach/2021/04/031ce202104251644215432.png"],link:"/pages/user/index"}]}},default:{isShow:{val:!0},tabBarList:{title:"图片建议宽度81*81px",list:[{name:"首页",imgList:["https://qiniu.crmeb.net/attach/2021/04/9ebdf202104251644215768.png","https://qiniu.crmeb.net/attach/2021/04/44bc420210425164421586.png"],link:"/pages/index/index"},{name:"分类",imgList:["https://qiniu.crmeb.net/attach/2021/04/b62c8202104251644218412.png","https://qiniu.crmeb.net/attach/2021/04/9509c202104251644214836.png"],link:"/pages/goods_cate/goods_cate"},{name:"购物车",imgList:["https://qiniu.crmeb.net/attach/2021/04/2e682202104251644216849.png","https://qiniu.crmeb.net/attach/2021/04/6b3cb202104251644218211.png"],link:"/pages/order_addcart/order_addcart"},{name:"我的",imgList:["https://qiniu.crmeb.net/attach/2021/04/3329c20210425164421428.png","https://qiniu.crmeb.net/attach/2021/04/031ce202104251644215432.png"],link:"/pages/user/index"}]}}}}),n=_({customComponent:{list:[{components:d.c_custom_component,configNme:"customComponent"}]},headerSerch:{list:[{components:d.c_is_show,configNme:"isShow"},{components:d.c_input_list,configNme:"titleInfo"},{components:d.c_upload_img,configNme:"imgUrl"},{components:d.c_hot_word,configNme:"hotList"}]},swiperBg:{list:[{components:d.c_is_show,configNme:"isShow"},{components:d.c_upload_list,configNme:"imgList"}]},menus:{list:[{components:d.c_is_show,configNme:"isShow"},{components:d.c_upload_list,configNme:"imgList"}]},news:{list:[{components:d.c_is_show,configNme:"isShow"},{components:d.c_upload_img,configNme:"imgUrl"},{components:d.c_txt_list,configNme:"newList"}]},tabNav:{list:[{components:d.c_is_show,configNme:"isShow"}]},activity:{list:[{components:d.c_is_show,configNme:"isShow"},{components:d.c_upload_list,configNme:"imgList"}]},alive:{list:[{components:d.c_is_show,configNme:"isShow"},{components:d.c_input_list,configNme:"titleInfo"},{components:d.c_input_number,configNme:"numConfig"}]},scrollBox:{list:[{components:d.c_is_show,configNme:"isShow"},{components:d.c_input_list,configNme:"titleInfo"}]},adsRecommend:{list:[{components:d.c_is_show,configNme:"isShow"},{components:d.c_upload_list,configNme:"imgList"}]},coupon:{list:[{components:d.c_is_show,configNme:"isShow"},{components:d.c_input_number,configNme:"numConfig"}]},seckill:{list:[{components:d.c_is_show,configNme:"isShow"},{components:d.c_tab,configNme:"tabConfig"},{components:d.c_input_list,configNme:"titleInfo"},{components:d.c_select,configNme:"selectConfig"},{components:d.c_input_number,configNme:"numConfig"},{components:d.c_txt_tab,configNme:"goodsSort"}]},combination:{list:[{components:d.c_is_show,configNme:"isShow"},{components:d.c_tab,configNme:"tabConfig"},{components:d.c_input_list,configNme:"titleInfo"},{components:d.c_select,configNme:"selectConfig"},{components:d.c_input_number,configNme:"numConfig"},{components:d.c_txt_tab,configNme:"goodsSort"}]},bargain:{list:[{components:d.c_is_show,configNme:"isShow"},{components:d.c_tab,configNme:"tabConfig"},{components:d.c_input_list,configNme:"titleInfo"},{components:d.c_select,configNme:"selectConfig"},{components:d.c_input_number,configNme:"numConfig"},{components:d.c_txt_tab,configNme:"goodsSort"}]},goodList:{list:[{components:d.c_is_show,configNme:"isShow"},{components:d.c_input_list,configNme:"titleInfo"},{components:d.c_tab,configNme:"tabConfig"},{components:d.c_select,configNme:"selectSortConfig"},{components:d.c_select,configNme:"selectConfig"},{components:d.c_input_number,configNme:"numConfig"},{components:d.c_txt_tab,configNme:"goodsSort"}]},picTxt:{list:[{components:d.c_is_show,configNme:"isShow"},{components:d.c_page_ueditor,configNme:"richText"}]},titles:{list:[{components:d.c_is_show,configNme:"isShow"},{components:d.c_input_list,configNme:"titleInfo"}]},customerService:{list:[{components:d.c_is_show,configNme:"isShow"},{components:d.c_upload_img,configNme:"imgUrl"}]},tabBar:{list:[{components:d.c_is_show,configNme:"isShow"},{components:d.c_tab_bar,configNme:"tabBarList"}]}});function v(o){l.value=o}function r(o){e.value[l.value]=o}function a(o){let m=[];if(o.type)m=[{components:d.c_is_show,configNme:"isShow"},{components:d.c_input_list,configNme:"titleInfo"},{components:d.c_tab,configNme:"tabConfig"},{components:d.c_goods,configNme:"goodsList"}];else{m=[{components:d.c_is_show,configNme:"isShow"},{components:d.c_input_list,configNme:"titleInfo"},{components:d.c_tab,configNme:"tabConfig"},{components:d.c_select,configNme:"selectConfig"},{components:d.c_input_number,configNme:"numConfig"}];let h={components:d.c_txt_tab,configNme:"goodsSort"},x={components:d.c_select,configNme:"selectSortConfig"},t={components:d.c_input_list,configNme:"titleInfo"};(o.name==="seckill"||o.name==="combination"||o.name==="bargain")&&(m.splice(2,0,t),m.push(h)),o.name==="goodList"&&(m.splice(3,0,x),m.push(h))}let b={components:d.c_upload_list,configNme:"imgList"};switch(o.name==="recommend"&&m.splice(1,0,b),o.name){case"scrollBox":n.value.scrollBox.list=m;break;case"popular":n.value.popular.list=m;break;case"recommend":n.value.recommend.list=m;break;case"seckill":n.value.seckill.list=m;break;case"combination":n.value.combination.list=m;break;case"bargain":n.value.bargain.list=m;break;case"newGoods":n.value.newGoods.list=m;break;case"promotion":n.value.promotion.list=m;break;case"goodList":n.value.goodList.list=m;break}}function g(o){let m=e.value;for(let b in o)for(let h in m)b===h&&(m[h]=o[b]);e.value=m}return{activeName:l,defaultConfig:e,component:n,setConfig:v,upDataName:r,upDataGoodList:a,updataConfig:g}}),St={key:0,class:"title-tips"},kt={key:1},Ct=Object.assign({name:"c_tab"},{__name:"c_tab",props:{name:{type:String},configData:{type:null},configNum:{type:[Number,String],default:"default"},moduleName:{type:String}},emits:["getConfig"],setup(l,{emit:e}){const n=e,v=l,r=ae(),a=_(v.configData[v.configNum]);P(()=>v.configData,o=>{a.value=o[v.configNum],r.upDataGoodList({name:v.moduleName,type:a.value.tabConfig.tabVal})},{deep:!0});function g(o){n("getConfig",a.value[v.name].tabVal),r.upDataGoodList({name:v.moduleName,type:a.value[v.name].tabVal})}return(o,m)=>{const b=V("el-radio-button"),h=V("el-radio-group");return i(),s("div",null,[a.value[l.name].tabList?(i(),s("div",St,[m[2]||(m[2]=u("span",null,"选择模板",-1)),q($(a.value[l.name].tabList[a.value[l.name].tabVal].name),1)])):L("",!0),u("div",{class:Z(["radio-box",{on:a.value[l.name].type==1}])},[p(h,{modelValue:a.value[l.name].tabVal,"onUpdate:modelValue":m[0]||(m[0]=x=>a.value[l.name].tabVal=x),type:"button",onChange:m[1]||(m[1]=x=>g())},{default:f(()=>[(i(!0),s(R,null,J(a.value[l.name].tabList,(x,t)=>(i(),U(b,{label:t,value:t,key:t},{default:f(()=>[x.icon?(i(),s("span",{key:0,class:Z(["iconfont",x.icon])},null,2)):(i(),s("span",kt,$(x.name),1))]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])],2)])}}}),wt=B(Ct,[["__scopeId","data-v-4c5167c5"]]),Lt=Object.freeze(Object.defineProperty({__proto__:null,default:wt},Symbol.toStringTag,{value:"Module"})),Dt={class:"tabBars"},$t={class:"title"},Ot={class:"box-item"},It={class:"right-wrapper"},jt={class:"img-wrapper"},zt=["onClick"],Ut=["src"],Pt={key:1,class:"txt"},Bt={key:2,class:"empty-img"},Tt={class:"c_row-item"},Mt={class:"c_row-item"},qt=["onClick"],Gt={key:0,class:"add-btn"},At=Object.assign({name:"c_tab_bar"},{__name:"c_tab_bar",props:{name:{type:String},configData:{type:null},configNum:{type:[Number,String],default:"default"}},setup(l){const e=l,n=_(!1),v=_("单选"),r=_({xl:4,lg:8,md:8,sm:8,xs:8}),a=_({xl:6,lg:8,md:12,sm:12,xs:12}),g=_(0),o=_(0),m=_(e.configData[e.configNum]),b=_({});P(()=>e.configData,S=>{m.value=S[e.configNum]},{deep:!0});function h(S){return m.value[e.name].list.indexOf(S)}function x(){if(e.configData[e.configNum][e.name].list.length==0)e.configData[e.configNum][e.name].list.push(b.value);else{let S=JSON.parse(JSON.stringify(e.configData[e.configNum][e.name].list[e.configData[e.configNum][e.name].list.length-1]));e.configData[e.configNum][e.name].list.push(S)}}function t(S){ge({title:"提示",message:"是否确定删除该菜单",showCancelButton:!0,cancelButtonText:"取消",confirmButtonText:"删除",iconClass:"el-icon-warning",confirmButtonClass:"btn-custom-cancel"}).then(()=>{e.configData[e.configNum][e.name].list.length==1&&(b.value=e.configData[e.configNum][e.name].list[0]),e.configData[e.configNum][e.name].list.splice(S,1)}).catch(()=>{})}function c(S,y,I){g.value=y,n.value=!0,o.value=I}function N(S){X(()=>{e.configData[e.configNum][e.name].list[g.value].imgList[o.value]=S.att_dir,n.value=!1})}return(S,y)=>{const I=V("el-col"),O=V("el-input"),k=V("el-button"),z=V("el-dialog"),M=A("db-click");return i(),s("div",Dt,[u("div",$t,$(m.value[l.name].title),1),p(T(K),{class:"dragArea list-group",list:m.value[l.name].list,group:"peoples",handle:".iconfont","item-key":h},{item:f(({element:C,index:G})=>[u("div",Ot,[y[5]||(y[5]=u("div",{class:"left-tool"},[u("span",{class:"iconfont icondrag2"})],-1)),u("div",It,[u("div",jt,[(i(!0),s(R,null,J(C.imgList,(j,E)=>D((i(),s("div",{class:"img-item",onClick:w=>c("单选",G,E)},[j?(i(),s("img",{key:0,src:j,alt:""},null,8,Ut)):L("",!0),j?(i(),s("p",Pt,$(E==0?"选中":"未选中"),1)):(i(),s("div",Bt,[y[1]||(y[1]=u("span",{class:"iconfont iconjiahao"},null,-1)),u("p",null,$(E==0?"选中":"未选中"),1)]))],8,zt)),[[M]])),256))]),u("div",Tt,[p(I,{class:"label",span:4},{default:f(()=>[...y[2]||(y[2]=[q(" 名称 ",-1)])]),_:1}),p(I,{span:19,class:"slider-box"},{default:f(()=>[p(O,{modelValue:C.name,"onUpdate:modelValue":j=>C.name=j,placeholder:"选填不超过10个字"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),u("div",Mt,[p(I,{class:"label",span:4},{default:f(()=>[...y[3]||(y[3]=[q(" 链接 ",-1)])]),_:1}),p(I,{span:19,class:"slider-box"},{default:f(()=>[p(O,{modelValue:C.link,"onUpdate:modelValue":j=>C.link=j,placeholder:"选填不超过10个字"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),D((i(),s("div",{class:"del-box",onClick:j=>t(G)},[...y[4]||(y[4]=[u("span",{class:"iconfont iconcha"},null,-1)])],8,qt)),[[M]])])]),_:1},8,["list"]),m.value[l.name].list.length<5?(i(),s("div",Gt,[D((i(),U(k,{type:"primary",ghost:"",style:{width:"100%",height:"40px","border-color":"var(--prev-color-primary)",color:"var(--prev-color-primary)"},onClick:x},{default:f(()=>[...y[6]||(y[6]=[q("添加图文导航 ",-1)])]),_:1})),[[M]])])):L("",!0),u("div",null,[p(z,{modelValue:n.value,"onUpdate:modelValue":y[0]||(y[0]=C=>n.value=C),width:"950px",scrollable:"","footer-hide":"","show-close":!0,title:"上传商品图","mask-closable":!1,"z-index":888},{default:f(()=>[n.value?(i(),U(T(Y),{key:0,isChoice:v.value,onGetPic:N,gridBtn:r.value,gridPic:a.value},null,8,["isChoice","gridBtn","gridPic"])):L("",!0)]),_:1},8,["modelValue"])])])}}}),Rt=B(At,[["__scopeId","data-v-e82b7165"]]),Jt=Object.freeze(Object.defineProperty({__proto__:null,default:Rt},Symbol.toStringTag,{value:"Module"})),Et={key:0,class:"c_product"},Ht={class:"title"},Wt={class:"list-box"},Kt={class:"item"},Ft={class:"content"},Zt={key:0,class:"dif"},Qt={class:"input-box"},Xt=["onClick"],Yt={key:1,class:"dif"},el={key:0,class:"con-item"},tl=["onClick"],ll={key:0},al=Object.assign({name:"c_txt_list"},{__name:"c_txt_list",props:{name:{type:String},configData:{type:null},configNum:{type:[Number,String],default:"default"}},setup(l){const e=l,n=ce(),v=_(0),r=_(0),a=_(e.configData[e.configNum]),g=_(null);P(()=>e.configData,t=>{a.value=t[e.configNum]},{deep:!0});function o(t){return a.value[e.name].list.indexOf(t)}function m(t,c){v.value=t,r.value=c,g.value.modals=!0}function b(t){a.value[e.name].list[v.value].chiild[r.value].val=t}function h(){let t={chiild:[{max:20,pla:"选填,不超过四个字",title:"标题",val:""},{max:99,pla:"选填",title:"链接",val:""}]};if(e.name=="newList"){let c=a.value[e.name].list[a.value[e.name].list.length-1],N=c?JSON.parse(JSON.stringify(c)):"";a.value[e.name].list.push(N||t);return}if(a.value[e.name].list.length==0){let c=n.txtListData;a.value[e.name].list.push(c)}else{let c=JSON.parse(JSON.stringify(a.value[e.name].list[a.value[e.name].list.length-1]));a.value[e.name].list.push(c)}}function x(t){if(a.value[e.name].list.length==1){let c=a.value[e.name].list[0];n.txtList(c)}a.value[e.name].list.splice(t,1)}return(t,c)=>{const N=V("el-col"),S=V("el-input"),y=V("el-option"),I=V("el-select"),O=V("el-button"),k=A("db-click");return a.value?(i(),s("div",Et,[u("div",Ht,$(a.value[l.name].title),1),u("div",Wt,[p(T(K),{class:"dragArea list-group",list:a.value[l.name].list,group:"peoples",handle:".move-icon","item-key":o},{item:f(({element:z,index:M})=>[u("div",Kt,[c[1]||(c[1]=u("div",{class:"move-icon"},[u("span",{class:"iconfont icondrag2"})],-1)),u("div",Ft,[(i(!0),s(R,null,J(z.chiild,(C,G)=>(i(),s("div",{class:"con-item",key:G},[C.title==="链接"?(i(),s("div",Zt,[p(N,{class:"label",span:4},{default:f(()=>[u("span",null,$(C.title),1)]),_:2},1024),p(N,{class:"slider-box"},{default:f(()=>[D((i(),s("div",Qt,[p(S,{modelValue:C.val,"onUpdate:modelValue":j=>C.val=j,placeholder:C.pla,maxlength:C.max},{suffix:f(()=>[u("i",{class:"el-icon-link",onClick:j=>m(M,G)},null,8,Xt)]),_:2},1032,["modelValue","onUpdate:modelValue","placeholder","maxlength"])])),[[k]])]),_:2},1024)])):(i(),s("div",Yt,[p(N,{class:"label",span:4},{default:f(()=>[u("span",null,$(C.title),1)]),_:2},1024),p(N,{span:19,class:"slider-box"},{default:f(()=>[p(S,{modelValue:C.val,"onUpdate:modelValue":j=>C.val=j,placeholder:C.pla,maxlength:C.max,style:{"text-align":"right"}},null,8,["modelValue","onUpdate:modelValue","placeholder","maxlength"])]),_:2},1024)]))]))),128)),z.link?(i(),s("div",el,[u("span",null,$(z.link.title),1),p(I,{modelValue:z.link.activeVal,"onUpdate:modelValue":C=>z.link.activeVal=C,style:{}},{default:f(()=>[(i(!0),s(R,null,J(z.link.optiops,(C,G)=>(i(),U(y,{value:C.value,key:G,label:C.label},null,8,["value","label"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])])):L("",!0)]),a.value[l.name].max>1?D((i(),s("div",{key:0,class:"delete",onClick:te(C=>x(M),["stop"])},[...c[0]||(c[0]=[u("i",{class:"el-icon-circle-close",style:{"font-size":"24px"}},null,-1)])],8,tl)),[[k]]):L("",!0)])]),_:1},8,["list"])]),a.value[l.name]?(i(),s("div",ll,[a.value[l.name].list.length[...c[2]||(c[2]=[q("添加模块",-1)])]),_:1})])),[[k]]):L("",!0)])):L("",!0),p(T(le),{ref_key:"linkaddres",ref:g,onLinkUrl:b},null,512)])):L("",!0)}}}),il=B(al,[["__scopeId","data-v-b5aedf17"]]),nl=Object.freeze(Object.defineProperty({__proto__:null,default:il},Symbol.toStringTag,{value:"Module"})),ol={key:0,class:"txt_tab"},sl={class:"c_row-item"},cl={key:1},ul=Object.assign({name:"c_txt_tab"},{__name:"c_txt_tab",props:{name:{type:String},configData:{type:null},configNum:{type:[Number,String],default:"default"}},emits:["getConfig"],setup(l,{emit:e}){const n=e,v=l,r=_(v.configData[v.configNum]);P(()=>v.configData,g=>{r.value=g[v.configNum]},{immediate:!0,deep:!0});function a(g){n("getConfig",{name:"radio",values:g})}return(g,o)=>{const m=V("el-col"),b=V("el-radio-button"),h=V("el-radio-group");return r.value[l.name]?(i(),s("div",ol,[u("div",sl,[p(m,{class:"c_label"},{default:f(()=>[q($(r.value[l.name].title)+" ",1),u("span",null,$(r.value[l.name].list[r.value[l.name].type].val),1)]),_:1}),p(m,{class:"color-box"},{default:f(()=>[p(h,{modelValue:r.value[l.name].type,"onUpdate:modelValue":o[0]||(o[0]=x=>r.value[l.name].type=x),type:"button",onChange:o[1]||(o[1]=x=>a(x))},{default:f(()=>[(i(!0),s(R,null,J(r.value[l.name].list,(x,t)=>(i(),U(b,{label:t,value:t,key:t},{default:f(()=>[x.icon?(i(),s("span",{key:0,class:Z(["iconfont",x.icon])},null,2)):(i(),s("span",cl,$(x.val),1))]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})])])):L("",!0)}}}),ml=B(ul,[["__scopeId","data-v-33bc73f2"]]),dl=Object.freeze(Object.defineProperty({__proto__:null,default:ml},Symbol.toStringTag,{value:"Module"})),rl={class:"upload_img"},gl={class:"title"},pl=["src"],vl={key:1,class:"upload-box"},_l=Object.assign({name:"c_upload_img"},{__name:"c_upload_img",props:{name:{type:String},configData:{type:null},configNum:{type:[Number,String],default:"default"}},setup(l){const e=l,n=_(!1),v=_("单选"),r=_({xl:4,lg:8,md:8,sm:8,xs:8}),a=_({xl:6,lg:8,md:12,sm:12,xs:12}),g=_(e.configData[e.configNum]);P(()=>e.configData,b=>{g.value=b[e.configNum]},{deep:!0});function o(b){n.value=!0}function m(b){X(()=>{e.configData[e.configNum][e.name].url=b.att_dir,n.value=!1})}return(b,h)=>{const x=V("el-dialog"),t=A("db-click");return i(),s("div",rl,[u("div",gl,$(g.value[l.name].title),1),D((i(),s("div",{class:"box",onClick:h[0]||(h[0]=c=>o())},[g.value[l.name].url?(i(),s("img",{key:0,src:g.value[l.name].url,alt:""},null,8,pl)):(i(),s("div",vl,[...h[2]||(h[2]=[u("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])]))])),[[t]]),u("div",null,[p(x,{modelValue:n.value,"onUpdate:modelValue":h[1]||(h[1]=c=>n.value=c),width:"950px",title:"上传商品图","mask-closable":!1,"z-index":888},{default:f(()=>[n.value?(i(),U(T(Y),{key:0,isChoice:v.value,onGetPic:m,gridBtn:r.value,gridPic:a.value},null,8,["isChoice","gridBtn","gridPic"])):L("",!0)]),_:1},8,["modelValue"])])])}}}),fl=B(_l,[["__scopeId","data-v-eaedf25a"]]),bl=Object.freeze(Object.defineProperty({__proto__:null,default:fl},Symbol.toStringTag,{value:"Module"})),hl={class:"hot_imgs"},xl={class:"title"},yl={class:"list-box"},Vl={class:"item"},Nl=["onClick"],Sl=["src"],kl={key:1,class:"upload-box"},Cl=["onClick"],wl={class:"info"},Ll={key:0,class:"info-item"},Dl={class:"input-box"},$l=["onClick"],Ol={key:1,class:"info-item"},Il={class:"input-box"},jl={key:0,class:"add-btn"},zl=Object.assign({name:"c_upload_list"},{__name:"c_upload_list",props:{name:{type:String},configData:{type:null},configNum:{type:[Number,String],default:"default"},moduleName:{type:String}},setup(l){const e=l,n=ce(),v=_(!1),r=_("单选"),a=_({xl:4,lg:8,md:8,sm:8,xs:8}),g=_({xl:6,lg:8,md:12,sm:12,xs:12}),o=_(0),m=_(0),b=_(e.configData[e.configNum]),h=_(null);P(()=>e.configData,O=>{b.value=O[e.configNum]},{deep:!0});function x(O){return b.value[e.name].list.indexOf(O)}function t(O,k){o.value=O,m.value=k,h.value.modals=!0}function c(O){b.value[e.name].list[o.value].info[m.value].value=O}function N(){let O={img:"",info:[{maxlength:10,tips:"选填,不超过十个字",title:"标题",value:""},{maxlength:999,tips:"请填写链接",title:"链接",value:""}]};if(e.moduleName=="swiperBg"||e.moduleName=="menus"){e.configData[e.configNum][e.name].list.push(O);return}if(e.configData[e.configNum][e.name].list.length==0){let k=n["uploadListData"+e.moduleName];e.configData[e.configNum][e.name].list.push(k)}else{let k=JSON.parse(JSON.stringify(e.configData[e.configNum][e.name].list[e.configData[e.configNum][e.name].list.length-1]));e.configData[e.configNum][e.name].list.push(k)}}function S(O,k){o.value=k,v.value=!0}function y(O){X(()=>{e.configData[e.configNum][e.name].list[o.value].img=O.att_dir,v.value=!1})}function I(O,k){if(e.configData[e.configNum][e.name].list.length==1){let z=e.configData[e.configNum][e.name].list[0];n["uploadList"+e.moduleName](z)}e.configData[e.configNum][e.name].list.splice(k,1)}return(O,k)=>{const z=V("el-input"),M=V("el-dialog"),C=V("el-button"),G=A("db-click");return i(),s("div",hl,[u("div",xl,$(b.value[l.name].title),1),u("div",yl,[p(T(K),{class:"dragArea list-group",list:b.value[l.name].list,group:"peoples",handle:".move-icon","item-key":x},{item:f(({element:j,index:E})=>[u("div",Vl,[k[3]||(k[3]=u("div",{class:"move-icon"},[u("span",{class:"iconfont icondrag2"})],-1)),D((i(),s("div",{class:"img-box",onClick:w=>S("单选",E)},[j.img?(i(),s("img",{key:0,src:j.img,alt:""},null,8,Sl)):(i(),s("div",kl,[...k[1]||(k[1]=[u("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])])),b.value[l.name].isDelete?L("",!0):D((i(),s("div",{key:2,class:"delect-btn",onClick:te(w=>I(j,E),["stop"])},[...k[2]||(k[2]=[u("i",{class:"el-icon-circle-close",style:{"font-size":"24px"}},null,-1)])],8,Cl)),[[G]])],8,Nl)),[[G]]),u("div",wl,[(i(!0),s(R,null,J(j.info,(w,ie)=>(i(),s("div",{class:"info-item",key:ie},[w.title==="链接"?(i(),s("div",Ll,[u("span",null,$(w.title),1),D((i(),s("div",Dl,[p(z,{modelValue:w.value,"onUpdate:modelValue":F=>w.value=F,placeholder:w.tips,maxlength:w.maxlength},{suffix:f(()=>[u("i",{class:"el-icon-link",onClick:F=>t(E,ie)},null,8,$l)]),_:2},1032,["modelValue","onUpdate:modelValue","placeholder","maxlength"])])),[[G]])])):(i(),s("div",Ol,[u("span",null,$(w.title),1),u("div",Il,[p(z,{modelValue:w.value,"onUpdate:modelValue":F=>w.value=F,placeholder:w.tips,maxlength:w.maxlength,width:"250px"},null,8,["modelValue","onUpdate:modelValue","placeholder","maxlength"])])]))]))),128))])])]),_:1},8,["list"]),u("div",null,[p(M,{modelValue:v.value,"onUpdate:modelValue":k[0]||(k[0]=j=>v.value=j),width:"950px",title:"上传商品图","close-on-click-modal":!1,"z-index":888},{default:f(()=>[v.value?(i(),U(T(Y),{key:0,isChoice:r.value,onGetPic:y,gridBtn:a.value,gridPic:g.value},null,8,["isChoice","gridBtn","gridPic"])):L("",!0)]),_:1},8,["modelValue"])])]),b.value[l.name]?(i(),s(R,{key:0},[b.value[l.name].list.length[...k[4]||(k[4]=[q("添加图片 ",-1)])]),_:1})),[[G]])])):L("",!0)],64)):L("",!0),p(T(le),{ref_key:"linkaddres",ref:h,onLinkUrl:c},null,512)])}}}),Ul=B(zl,[["__scopeId","data-v-88d92efb"]]),Pl=Object.freeze(Object.defineProperty({__proto__:null,default:Ul},Symbol.toStringTag,{value:"Module"})),Bl={class:"upload_img"},Tl={class:"title"},Ml=["src"],ql={key:1,class:"upload-box"},Gl=Object.assign({name:"c_upload_video"},{__name:"c_upload_video",props:{name:{type:String},configData:{type:null},configNum:{type:[Number,String],default:"default"}},setup(l){const e=l,n=_(!1),v=_("单选"),r=_({xl:4,lg:8,md:8,sm:8,xs:8}),a=_({xl:6,lg:8,md:12,sm:12,xs:12}),g=_(e.configData[e.configNum]);P(()=>e.configData,b=>{g.value=b[e.configNum]},{deep:!0});function o(b){n.value=!0}function m(b){X(()=>{e.configData[e.configNum][e.name].url=b.att_dir,n.value=!1})}return(b,h)=>{const x=V("el-dialog"),t=A("db-click");return i(),s("div",Bl,[u("div",Tl,$(g.value[l.name].title),1),D((i(),s("div",{class:"box",onClick:h[0]||(h[0]=c=>o())},[g.value[l.name].url?(i(),s("img",{key:0,src:g.value[l.name].url,alt:""},null,8,Ml)):(i(),s("div",ql,[...h[2]||(h[2]=[u("i",{class:"el-icon-picture-outline",style:{"font-size":"24px"}},null,-1)])]))])),[[t]]),u("div",null,[p(x,{modelValue:n.value,"onUpdate:modelValue":h[1]||(h[1]=c=>n.value=c),width:"950px",title:"上传商品图","mask-closable":!1,"z-index":888},{default:f(()=>[n.value?(i(),U(T(Y),{key:0,isChoice:v.value,onGetPic:m,gridBtn:r.value,gridPic:a.value},null,8,["isChoice","gridBtn","gridPic"])):L("",!0)]),_:1},8,["modelValue"])])])}}}),Al=B(Gl,[["__scopeId","data-v-f3292d96"]]),Rl=Object.freeze(Object.defineProperty({__proto__:null,default:Al},Symbol.toStringTag,{value:"Module"})),se=Object.assign({"./c_bg_color.vue":De,"./c_goods.vue":Ae,"./c_hot_word.vue":Ze,"./c_input_list.vue":it,"./c_input_number.vue":dt,"./c_is_show.vue":vt,"./c_page_ueditor.vue":bt,"./c_select.vue":Nt,"./c_tab.vue":Lt,"./c_tab_bar.vue":Jt,"./c_txt_list.vue":nl,"./c_txt_tab.vue":dl,"./c_upload_img.vue":bl,"./c_upload_list.vue":Pl,"./c_upload_video.vue":Rl}),d={};Object.keys(se).forEach(l=>{d[l.replace(/(\.\/|\.vue)/g,"")]=se[l].default});const Jl={key:0,class:"right-box"},El={key:0,class:"mobile-config"},Hl={key:0,style:{"text-align":"center"}},Wl=Object.assign({name:"rightConfig"},{__name:"index",props:{name:{type:Object,default:{}},pageId:{type:Number,default:0},configNum:{type:[Number,String],default:"default"}},setup(l){const e=l,n=ae(),v=ve(()=>n.component),r=_([]),a=_({}),g=_(0);P(()=>e.name,(t,c)=>{if(r.value=[],a.value=n.defaultConfig[t.name],!a.value.hasOwnProperty(e.configNum)){let N=JSON.parse(JSON.stringify(a.value.defaultVal));a.value[t.num]=N,n.upDataName(a.value)}setTimeout(function(){r.value=n.component[t.name].list},30),a.value[t.num].selectConfig&&((a.value[t.num].selectConfig.type?a.value[t.num].selectConfig.type:0)?b():m())},{deep:!0}),P(v,(t,c)=>{r.value=[],x(t),r.value=t[e.name.name].list},{deep:!0}),Q(()=>{o()});function o(){xe().then(t=>{g.value=parseInt(t.data.store_status)})}function m(){ye().then(t=>{let c=[];t.data.map(N=>{c.push({title:N.title,pid:N.pid,activeValue:N.id.toString()})}),a.value[e.name.num].selectConfig.list=c,W.emit("upData",c)})}function b(){ee().then(t=>{let c=[];t.data.map(N=>{c.push({title:N.cate_name,pid:N.pid,activeValue:N.id.toString()})}),a.value[e.name.num].selectConfig.list=c,W.emit("upData",c)})}function h(){let t=n.defaultConfig;if(e.name.name=="tabBar"){if(!g.value){let c=t.tabBar.default.tabBarList.list;for(let N=0;N{H.success("保存成功")})}function x(t){var c=[];for(var N in t)c.push(t[N]);return c}return(t,c)=>{const N=V("el-button"),S=A("db-click");return r.value.length?(i(),s("div",Jl,[c[1]||(c[1]=u("div",{class:"title-bar"},"模块配置",-1)),r.value.length?(i(),s("div",El,[(i(!0),s(R,null,J(r.value,(y,I)=>(i(),s("div",{key:I},[(i(),U(pe(T(d)[y.components.name]),{moduleName:l.name.name,name:y.configNme,configData:a.value,configNum:l.configNum},null,8,["moduleName","name","configData","configNum"]))]))),128)),r.value.length?(i(),s("div",Hl,[D((i(),U(N,{type:"primary",style:{width:"100%",margin:"0 auto",height:"40px"},onClick:h},{default:f(()=>[...c[0]||(c[0]=[q("保存",-1)])]),_:1})),[[S]])])):L("",!0)])):L("",!0)])):L("",!0)}}}),Kl=B(Wl,[["__scopeId","data-v-46f59b67"]]),Fl={class:"flex-wrapper"},Zl=["src"],Ql={class:"content"},Xl=Object.assign({name:"index"},{__name:"index",setup(l){const e=fe(),n=ae(),v=_(null),r=_(null),a=_({}),g=_("default"),o=_(""),m=_(0);function b(t){if(t.data.name){let c={name:t.data.name,num:t.data.dataName};a.value=c,g.value=t.data.dataName,h(t.data.name)}}function h(t){n.setConfig(t)}function x(t){n.updataConfig(t)}{let t=e.query.id,c=n.defaultConfig;m.value=parseInt(t);let N=be("moveLink");Number(e.query.type)===1?o.value=`${N}/pages/index/index?mdType=iframeWindow`:o.value=`${he.h5BaseURL||location.origin}/pages/index/index?mdType=iframeWindow`,Ve(parseInt(t)).then(S=>{let y=S.data.info.value;y?x(y):ue(parseInt(t),{value:c}).then(I=>{})})}return Q(()=>{window.addEventListener("message",b,!1)}),(t,c)=>{const N=V("pages-header"),S=V("el-card");return i(),s("div",null,[p(N,{ref_key:"pageHeader",ref:v,title:"页面设计",backUrl:t.routePre+"/setting/pages/devise/0"},null,8,["backUrl"]),p(S,{bordered:!1,shadow:"never",class:"ivu-mt mt15"},{default:f(()=>[u("div",Fl,[u("iframe",{class:"iframe-box",src:o.value,frameborder:"0",ref_key:"iframe",ref:r},null,8,Zl),u("div",null,[u("div",Ql,[p(T(Kl),{name:a.value,pageId:m.value,configNum:g.value},null,8,["name","pageId","configNum"])])])])]),_:1})])}}}),pa=B(Xl,[["__scopeId","data-v-d8713622"]]);export{pa as default}; diff --git a/backend/public/admin/system_static/index-DBGuOLOy.js b/backend/public/admin/system_static/index-DBGuOLOy.js new file mode 100644 index 000000000..445f8ff00 --- /dev/null +++ b/backend/public/admin/system_static/index-DBGuOLOy.js @@ -0,0 +1 @@ +import{Z as g,k as i,u as h,y as r,z as C,A as s,a0 as u,j as l,C as a,ac as Z,F as q,D as G,B as m,s as w,$ as M,a1 as J,H as K,l as c,p as Y}from"./element-plus-C_ZDq0cz.js";import{_ as Q,s as X,a as ee}from"./index-DHL7RTL2.js";import{f as te,h as ae,i as le}from"./finance-CSn9G5kh.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const ne={class:"i-layout-page-header header-title"},oe={class:"ivu-page-header-title"},ie={class:"acea-row row-right page"},se=Object.assign({name:"bill"},{__name:"index",setup(re){const{isMobile:k}=X(ee()),x=c([]),n=c({nickname:"",start_time:"",end_time:"",type:"",page:1,limit:15}),_=c(!1),y=c([]),v=c(0),L=Y(()=>k.value?void 0:"80px"),B=Y(()=>k.value?"top":"right");F(),b();function A(o){n.value.start_time=o[0],n.value.end_time=o[1]}function F(){te().then(async o=>{x.value=o.data.list}).catch(o=>{g.error(o.msg)})}function b(){_.value=!0,ae(n.value).then(async o=>{let t=o.data;y.value=t.data,v.value=t.count,_.value=!1}).catch(o=>{_.value=!1,g.error(o.msg)})}function N(){n.value.page=1,b()}function S(){let o={start_time:n.value.start_time,end_time:n.value.end_time,nickname:n.value.nickname,type:n.value.type};le(o).then(t=>{location.href=t.data[0]}).catch(t=>{g.error(t.msg)})}return(o,t)=>{const T=i("el-input"),p=i("el-form-item"),f=i("el-col"),U=i("date-range-picker"),j=i("el-option"),z=i("el-select"),V=i("el-button"),E=i("el-row"),I=i("el-form"),d=i("el-table-column"),P=i("el-table"),$=i("pagination"),H=i("el-card"),D=h("db-click"),O=h("auth"),R=h("loading");return r(),C("div",null,[s("div",ne,[s("span",oe,u(o.$route.meta.title),1)]),l(H,{bordered:!1,shadow:"never"},{default:a(()=>[l(I,{ref_key:"formValidate",ref:n,model:n.value,"label-width":L.value,"label-position":B.value,onSubmit:t[2]||(t[2]=Z(()=>{},["prevent"]))},{default:a(()=>[l(E,{gutter:24},{default:a(()=>[l(f,{xl:6,lg:12,md:13,sm:12,xs:24},{default:a(()=>[l(p,{label:"关键字:"},{default:a(()=>[l(T,{"enter-button":"",placeholder:"请输入","element-id":"name",modelValue:n.value.nickname,"onUpdate:modelValue":t[0]||(t[0]=e=>n.value.nickname=e)},null,8,["modelValue"])]),_:1})]),_:1}),l(f,{xl:6,lg:12,md:13,sm:12,xs:24},{default:a(()=>[l(p,{label:"时间范围:",class:"tab_data"},{default:a(()=>[l(U,{clearable:"",editable:!1,onChange:A,format:"YYYY/MM/DD","value-format":"YYYY/MM/DD","range-separator":"-"})]),_:1})]),_:1}),l(f,{xl:6,lg:12,md:13,sm:12,xs:24},{default:a(()=>[l(p,{label:"筛选类型:",class:"tab_data"},{default:a(()=>[l(z,{modelValue:n.value.type,"onUpdate:modelValue":t[1]||(t[1]=e=>n.value.type=e),style:{width:"200px",height:"32px"},clearable:""},{default:a(()=>[(r(!0),C(q,null,G(x.value,(e,W)=>(r(),m(j,{key:W,value:e.type,label:e.title},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(f,{span:6},{default:a(()=>[l(p,null,{default:a(()=>[w((r(),m(V,{type:"primary",onClick:N},{default:a(()=>[...t[5]||(t[5]=[M("搜索",-1)])]),_:1})),[[D]]),w((r(),m(V,{class:"export",onClick:S},{default:a(()=>[...t[6]||(t[6]=[M("导出 ",-1)])]),_:1})),[[O,["export-userFinance"]],[D]])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","label-width","label-position"]),w((r(),m(P,{ref:"table","highlight-current-row":"",data:y.value,"empty-text":"暂无数据"},{default:a(()=>[l(d,{label:"用户ID",width:"80"},{default:a(e=>[s("span",null,u(e.row.uid),1)]),_:1}),l(d,{label:"昵称","min-width":"130"},{default:a(e=>[s("span",null,u(e.row.nickname),1)]),_:1}),l(d,{label:"金额","min-width":"130"},{default:a(e=>[s("div",{class:J([e.row.pm===1?"green":"red"])},u(e.row.pm===1?e.row.number:"-"+e.row.number),3)]),_:1}),l(d,{label:"类型","min-width":"130"},{default:a(e=>[s("span",null,u(e.row.title),1)]),_:1}),l(d,{label:"备注","min-width":"130"},{default:a(e=>[s("span",null,u(e.row.mark),1)]),_:1}),l(d,{label:"创建时间","min-width":"130"},{default:a(e=>[s("span",null,u(e.row.add_time),1)]),_:1})]),_:1},8,["data"])),[[R,_.value]]),s("div",ie,[v.value?(r(),m($,{key:0,total:v.value,page:n.value.page,"onUpdate:page":t[3]||(t[3]=e=>n.value.page=e),limit:n.value.limit,"onUpdate:limit":t[4]||(t[4]=e=>n.value.limit=e),onPagination:b},null,8,["total","page","limit"])):K("",!0)])]),_:1})])}}}),fe=Q(se,[["__scopeId","data-v-aac4527d"]]);export{fe as default}; diff --git a/backend/public/admin/system_static/index-DC9wwYci.css b/backend/public/admin/system_static/index-DC9wwYci.css new file mode 100644 index 000000000..19cc968eb --- /dev/null +++ b/backend/public/admin/system_static/index-DC9wwYci.css @@ -0,0 +1 @@ +.box-container[data-v-f2abb7b4]{overflow:hidden}.box-container .list[data-v-f2abb7b4]{float:left;line-height:40px}.box-container .sp[data-v-f2abb7b4]{width:50%}.box-container .sp3[data-v-f2abb7b4]{width:33.3333%}.box-container .sp100[data-v-f2abb7b4]{width:100%}.box-container .list .name[data-v-f2abb7b4]{display:inline-block;width:150px;text-align:right;color:#606266}.box-container .list .blue[data-v-f2abb7b4]{color:var(--prev-color-primary)}.box-container .list.image[data-v-f2abb7b4]{margin-bottom:40px}.box-container .list.image img[data-v-f2abb7b4]{position:relative;top:40px}[data-v-0771af4c] .goodList .ivu-input-group{width:200%!important} diff --git a/backend/public/admin/system_static/index-DCfvO22S.css b/backend/public/admin/system_static/index-DCfvO22S.css new file mode 100644 index 000000000..e7254755c --- /dev/null +++ b/backend/public/admin/system_static/index-DCfvO22S.css @@ -0,0 +1 @@ +.ivu-form-label-left[data-v-aac4527d] .ivu-form-item-label{text-align:right}.tabform .export[data-v-aac4527d]{margin-left:10px}.red[data-v-aac4527d]{color:#ff5722}.green[data-v-aac4527d]{color:#009688}.ivu-mt[data-v-aac4527d] .ivu-select-placeholder{height:32px} diff --git a/backend/public/admin/system_static/index-DDVpj_Vx.js b/backend/public/admin/system_static/index-DDVpj_Vx.js new file mode 100644 index 000000000..ca6e4b719 --- /dev/null +++ b/backend/public/admin/system_static/index-DDVpj_Vx.js @@ -0,0 +1 @@ +import{a as Y,Z as w,y as c,z as g,j as t,C as a,l as C,k as s,u as B,ac as ee,aj as te,s as p,B as M,$ as h,A as r,a0 as d,H as le,p as E}from"./element-plus-C_ZDq0cz.js";import{_ as ae,a as oe,h as ne,S as ie,m as se}from"./index-DHL7RTL2.js";import{lotteryListApi as ue,lotteryStatusApi as re}from"./api-CkTOrWll.js";import"./monaco-editor-uXAv8CL-.js";import"./form-create-7SMPLzS9.js";import"./vxe-CHB4XD1z.js";const de=["onClick"],me=["onClick"],ce=["onClick"],_e=["onClick"],pe={class:"acea-row row-right page"},ve=Object.assign({name:"storeBargain"},{__name:"index",setup(fe){const y=ne(),S=ie.routePre,N=oe(),I=E(()=>N.isMobile),P=E(()=>I.value?void 0:"80px"),j=E(()=>I.value?"top":"right"),k=C(!1),U=C([]),o=C({start_status:"",status:"",store_name:"",export:0,page:1,factor:"",limit:15}),$=C(0);Y(()=>{v()});function q(){y.push({path:S+"/marketing/lottery/create"})}function A(n){y.push({path:S+"/marketing/lottery/create",query:{lottery_id:n.id,type:n.factor}})}function F(n){y.push({name:"marketing_create",query:{id:n.id,copy:1}})}function z(n,l,i){let f={title:l,url:`marketing/lottery/del/${n.id}`,method:"DELETE",ids:""};se(f).then(m=>{w.success(m.msg),U.value.splice(i,1)}).catch(m=>{w.error(m.msg)})}function K(n){y.push({path:S+"/marketing/lottery/recording_list",query:{id:n.id}})}function v(){k.value=!0,o.value.start_status=o.value.start_status||"",o.value.status=o.value.status||"",ue(o.value).then(async n=>{let l=n.data;U.value=l.list,$.value=n.data.count,k.value=!1}).catch(n=>{k.value=!1,w.error(n.msg)})}function V(){o.value.page=1,v()}function R(n){let l={id:n.id,status:n.status};re(l).then(async i=>{w.success(i.msg),v()}).catch(i=>{w.error(i.msg),v()})}return(n,l)=>{const i=s("el-option"),f=s("el-select"),m=s("el-form-item"),x=s("el-col"),T=s("el-input"),L=s("el-row"),H=s("el-button"),O=s("el-form"),u=s("el-table-column"),W=s("el-switch"),D=s("el-divider"),Z=s("el-table"),G=s("pagination"),J=s("el-card"),Q=B("auth"),b=B("db-click"),X=B("loading");return c(),g("div",null,[t(J,{bordered:!1,shadow:"never"},{default:a(()=>[t(O,{model:o.value,"label-width":P.value,"label-position":j.value,onSubmit:l[4]||(l[4]=ee(()=>{},["prevent"]))},{default:a(()=>[t(L,{gutter:24},{default:a(()=>[t(x,null,{default:a(()=>[t(m,{label:"活动类型:",clearable:""},{default:a(()=>[t(f,{style:{width:"200px"},modelValue:o.value.factor,"onUpdate:modelValue":l[0]||(l[0]=e=>o.value.factor=e),placeholder:"请选择活动类型",clearable:"",onChange:V},{default:a(()=>[t(i,{value:"1",label:"积分抽取"}),t(i,{value:"3",label:"订单支付"}),t(i,{value:"4",label:"订单评价"})]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(x,null,{default:a(()=>[t(m,{label:"活动状态:",clearable:""},{default:a(()=>[t(f,{style:{width:"200px"},modelValue:o.value.start_status,"onUpdate:modelValue":l[1]||(l[1]=e=>o.value.start_status=e),placeholder:"请选择",clearable:"",onChange:V},{default:a(()=>[t(i,{value:"0",label:"未开始"}),t(i,{value:"1",label:"进行中"}),t(i,{value:"-1",label:"已结束"})]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(x,null,{default:a(()=>[t(m,{label:"上架状态:"},{default:a(()=>[t(f,{style:{width:"200px"},placeholder:"请选择",modelValue:o.value.status,"onUpdate:modelValue":l[2]||(l[2]=e=>o.value.status=e),clearable:"",onChange:V},{default:a(()=>[t(i,{value:"1",label:"上架"}),t(i,{value:"0",label:"下架"})]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(x,null,{default:a(()=>[t(m,{label:"抽奖搜索:","label-for":"store_name"},{default:a(()=>[t(T,{style:{width:"200px"},placeholder:"请输入抽奖名称,ID",modelValue:o.value.store_name,"onUpdate:modelValue":l[3]||(l[3]=e=>o.value.store_name=e),onKeyup:te(V,["enter"])},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),t(L,{class:"mb14"},{default:a(()=>[p((c(),M(H,{type:"primary",onClick:q,class:"mr10"},{default:a(()=>[...l[7]||(l[7]=[h("添加抽奖",-1)])]),_:1})),[[Q,["marketing-store_bargain-create"]],[b]])]),_:1})]),_:1},8,["model","label-width","label-position"]),p((c(),M(Z,{data:U.value,"highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},{default:a(()=>[t(u,{label:"ID",width:"80"},{default:a(e=>[r("span",null,d(e.row.id),1)]),_:1}),t(u,{label:"活动名称","min-width":"130"},{default:a(e=>[r("span",null,d(e.row.name),1)]),_:1}),t(u,{label:"活动类型","min-width":"130"},{default:a(e=>[r("span",null,d(e.row.lottery_type),1)]),_:1}),t(u,{label:"参与次数","min-width":"130"},{default:a(e=>[r("span",null,d(e.row.lottery_all),1)]),_:1}),t(u,{label:"抽奖人数","min-width":"130"},{default:a(e=>[r("span",null,d(e.row.lottery_people),1)]),_:1}),t(u,{label:"中奖人数","min-width":"130"},{default:a(e=>[r("span",null,d(e.row.lottery_win),1)]),_:1}),t(u,{label:"活动状态","min-width":"130"},{default:a(e=>[r("span",null,d(e.row.status_name),1)]),_:1}),t(u,{label:"上架状态","min-width":"130"},{default:a(e=>[t(W,{class:"defineSwitch","active-value":1,"inactive-value":0,modelValue:e.row.status,"onUpdate:modelValue":_=>e.row.status=_,value:e.row.status,disabled:e.row.lottery_status==2,onChange:_=>R(e.row),size:"large","active-text":"上架","inactive-text":"下架"},null,8,["modelValue","onUpdate:modelValue","value","disabled","onChange"])]),_:1}),t(u,{label:"活动时间","min-width":"130"},{default:a(e=>[r("div",null,"起:"+d(e.row.start_time||"--"),1),r("div",null,"止:"+d(e.row.end_time||"--"),1)]),_:1}),t(u,{label:"活动状态","min-width":"130"},{default:a(e=>[r("span",null,d(e.row.status_name),1)]),_:1}),t(u,{label:"操作",fixed:"right",width:"170"},{default:a(e=>[p((c(),g("a",{onClick:_=>A(e.row)},[...l[8]||(l[8]=[h("编辑",-1)])],8,de)),[[b]]),t(D,{direction:"vertical"}),p((c(),g("a",{onClick:_=>z(e.row,"删除抽奖",e.$index)},[...l[9]||(l[9]=[h("删除",-1)])],8,me)),[[b]]),t(D,{direction:"vertical"}),p((c(),g("a",{onClick:_=>F(e.row)},[...l[10]||(l[10]=[h("复制",-1)])],8,ce)),[[b]]),t(D,{direction:"vertical"}),p((c(),g("a",{onClick:_=>K(e.row)},[...l[11]||(l[11]=[h("抽奖记录",-1)])],8,_e)),[[b]])]),_:1})]),_:1},8,["data"])),[[X,k.value]]),r("div",pe,[$.value?(c(),M(G,{key:0,total:$.value,page:o.value.page,"onUpdate:page":l[5]||(l[5]=e=>o.value.page=e),limit:o.value.limit,"onUpdate:limit":l[6]||(l[6]=e=>o.value.limit=e),onPagination:v},null,8,["total","page","limit"])):le("",!0)])]),_:1})])}}}),Ve=ae(ve,[["__scopeId","data-v-f0825c42"]]);export{Ve as default}; diff --git a/backend/public/admin/system_static/index-DEagGnG2.css b/backend/public/admin/system_static/index-DEagGnG2.css new file mode 100644 index 000000000..8883f6658 --- /dev/null +++ b/backend/public/admin/system_static/index-DEagGnG2.css @@ -0,0 +1 @@ +@charset "UTF-8";.muted[data-v-f1c275d6]{color:var(--prev-color-text-secondary);font-size:12px}.mono[data-v-f1c275d6]{font-family:Menlo,Consolas,monospace;font-size:12px}.danger[data-v-f1c275d6]{color:var(--prev-color-danger)}.field-tip[data-v-f1c275d6]{margin-top:6px;color:var(--prev-color-text-secondary);font-size:12px;line-height:1.5}.inline-tip[data-v-f1c275d6]{margin-left:12px}.base-url-head[data-v-f1c275d6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:100%;margin-bottom:4px}.base-url-label[data-v-f1c275d6]{color:var(--prev-color-text-primary);font-size:14px;font-weight:600}.base-url-label .required-star[data-v-f1c275d6]{margin-left:4px;color:var(--prev-color-danger);font-style:normal}.base-url-switch[data-v-f1c275d6]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:6px;color:var(--prev-color-text-primary);font-size:13px}.base-url-switch i[data-v-f1c275d6]{color:var(--prev-color-text-secondary)}.default-tip[data-v-f1c275d6]{-ms-flex-preferred-size:100%;flex-basis:100%}.advanced-collapse[data-v-f1c275d6]{margin-top:4px;border-top:1px solid var(--prev-border-color-lighter)}.advanced-collapse[data-v-f1c275d6] .el-collapse-item__header{color:var(--prev-color-text-regular);font-size:14px;font-weight:600}.advanced-collapse[data-v-f1c275d6] .el-collapse-item__content{padding-bottom:8px}.dialog-footer[data-v-f1c275d6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.footer-tip[data-v-f1c275d6]{color:var(--prev-color-text-secondary);font-size:12px}.footer-tip i[data-v-f1c275d6]{margin-right:4px;color:var(--prev-color-primary)} diff --git a/backend/public/admin/system_static/index-DFrkpL_P.css b/backend/public/admin/system_static/index-DFrkpL_P.css new file mode 100644 index 000000000..e91322da2 --- /dev/null +++ b/backend/public/admin/system_static/index-DFrkpL_P.css @@ -0,0 +1 @@ +.em{display:inline-block;height:1em;width:1em;overflow:hidden;line-height:18px;font-size:22px;vertical-align:middle;margin-top:-4px;color:transparent!important;background:url(/admin/system_static/sheet_google_64_indexed_128-73XpFwx1.png);background-size:4100%}.em.em-grinning{background-position:65% 37.5%}.em.em-grimacing{background-position:67.5% 45%}.em.em-grin{background-position:65% 40%}.em.em-joy{background-position:65% 42.5%}.em.em-smiley{background-position:65% 45%}.em.em-smile{background-position:65% 47.5%}.em.em-sweat_smile{background-position:65% 50%}.em.em-laughing,.em.em-satisfied{background-position:65% 52.5%}.em.em-innocent{background-position:65% 55%}.em.em-wink{background-position:65% 60%}.em.em-blush{background-position:65% 62.5%}.em.em-slightly_smiling_face{background-position:67.5% 100%}.em.em-upside_down_face{background-position:70% 0%}.em.em-relaxed{background-position:2.5% 62.5%}.em.em-yum{background-position:65% 65%}.em.em-relieved{background-position:65% 67.5%}.em.em-heart_eyes{background-position:65% 70%}.em.em-kissing_heart{background-position:65% 97.5%}.em.em-kissing{background-position:65% 95%}.em.em-kissing_smiling_eyes{background-position:65% 100%}.em.em-kissing_closed_eyes{background-position:67.5% 0%}.em.em-stuck_out_tongue_winking_eye{background-position:67.5% 5%}.em.em-stuck_out_tongue_closed_eyes{background-position:67.5% 7.5%}.em.em-stuck_out_tongue{background-position:67.5% 2.5%}.em.em-money_mouth_face{background-position:80% 5%}.em.em-nerd_face{background-position:80% 10%}.em.em-sunglasses{background-position:65% 72.5%}.em.em-hugging_face{background-position:80% 20%}.em.em-smirk{background-position:65% 75%}.em.em-no_mouth{background-position:67.5% 70%}.em.em-neutral_face{background-position:65% 77.5%}.em.em-expressionless{background-position:65% 80%}.em.em-unamused{background-position:65% 82.5%}.em.em-face_with_rolling_eyes{background-position:70% 2.5%}.em.em-thinking_face{background-position:80% 12.5%}.em.em-flushed{background-position:67.5% 62.5%}.em.em-disappointed{background-position:67.5% 10%}.em.em-worried{background-position:67.5% 12.5%}.em.em-angry{background-position:67.5% 15%}.em.em-rage{background-position:67.5% 17.5%}.em.em-pensive{background-position:65% 87.5%}.em.em-confused{background-position:65% 90%}.em.em-slightly_frowning_face{background-position:67.5% 97.5%}.em.em-white_frowning_face{background-position:2.5% 60%}.em.em-persevere{background-position:67.5% 22.5%}.em.em-confounded{background-position:65% 92.5%}.em.em-tired_face{background-position:67.5% 42.5%}.em.em-weary{background-position:67.5% 37.5%}.em.em-triumph{background-position:67.5% 25%}.em.em-open_mouth{background-position:67.5% 50%}.em.em-scream{background-position:67.5% 57.5%}.em.em-fearful{background-position:67.5% 35%}.em.em-cold_sweat{background-position:67.5% 55%}.em.em-hushed{background-position:67.5% 52.5%}.em.em-frowning{background-position:67.5% 30%}.em.em-anguished{background-position:67.5% 32.5%}.em.em-cry{background-position:67.5% 20%}.em.em-disappointed_relieved{background-position:67.5% 27.5%}.em.em-sleepy{background-position:67.5% 40%}.em.em-sweat{background-position:65% 85%}.em.em-sob{background-position:67.5% 47.5%}.em.em-dizzy_face{background-position:67.5% 67.5%}.em.em-astonished{background-position:67.5% 60%}.em.em-zipper_mouth_face{background-position:80% 2.5%}.em.em-mask{background-position:67.5% 72.5%}.em.em-face_with_thermometer{background-position:80% 7.5%}.em.em-face_with_head_bandage{background-position:80% 15%}.em.em-sleeping{background-position:67.5% 65%}.em.em-zzz{background-position:50% 27.5%}.em.em-hankey,.em.em-poop,.em.em-shit{background-position:50% 40%}.em.em-smiling_imp{background-position:65% 57.5%}.em.em-imp{background-position:45% 65%}.em.em-japanese_ogre{background-position:45% 37.5%}.em.em-japanese_goblin{background-position:45% 40%}.em.em-skull{background-position:45% 67.5%}.em.em-ghost{background-position:45% 42.5%}.em.em-alien{background-position:45% 60%}.em.em-robot_face{background-position:80% 17.5%}.em.em-smiley_cat{background-position:67.5% 80%}.em.em-smile_cat{background-position:67.5% 75%}.em.em-joy_cat{background-position:67.5% 77.5%}.em.em-heart_eyes_cat{background-position:67.5% 82.5%}.em.em-smirk_cat{background-position:67.5% 85%}.em.em-kissing_cat{background-position:67.5% 87.5%}.em.em-scream_cat{background-position:67.5% 95%}.em.em-crying_cat_face{background-position:67.5% 92.5%}.em.em-pouting_cat{background-position:67.5% 90%}.em.em-raised_hands{background-position:70% 72.5%}.em.em-clap{background-position:37.5% 40%}.em.em-wave{background-position:35% 82.5%}.em.em---1,.em.em-thumbsup{background-position:37.5% 10%}.em.em--1,.em.em-thumbsdown{background-position:37.5% 25%}.em.em-facepunch,.em.em-punch{background-position:35% 67.5%}.em.em-fist{background-position:7.5% 22.5%}.em.em-v{background-position:7.5% 52.5%}.em.em-ok_hand{background-position:35% 97.5%}.em.em-hand,.em.em-raised_hand{background-position:7.5% 37.5%}.em.em-open_hands{background-position:37.5% 55%}.em.em-muscle{background-position:50% 42.5%}.em.em-pray{background-position:72.5% 15%}.em.em-point_up{background-position:2.5% 25%}.em.em-point_up_2{background-position:35% 7.5%}.em.em-point_down{background-position:35% 22.5%}.em.em-point_left{background-position:35% 37.5%}.em.em-point_right{background-position:35% 52.5%}.em.em-middle_finger{background-position:62.5% 47.5%}.em.em-raised_hand_with_fingers_splayed{background-position:62.5% 32.5%}.em.em-the_horns{background-position:80% 22.5%}.em.em-spock-hand{background-position:62.5% 62.5%}.em.em-writing_hand{background-position:7.5% 67.5%}.em.em-nail_care{background-position:47.5% 15%}.em.em-lips{background-position:35% 2.5%}.em.em-tongue{background-position:35% 5%}.em.em-ear{background-position:32.5% 75%}.em.em-nose{background-position:32.5% 90%}.em.em-eye{background-position:32.5% 72.5%}.em.em-eyes{background-position:32.5% 70%}.em.em-bust_in_silhouette{background-position:40% 15%}.em.em-busts_in_silhouette{background-position:40% 17.5%}.em.em-speaking_head_in_silhouette{background-position:65% 12.5%}.em.em-baby{background-position:42.5% 95%}.em.em-boy{background-position:40% 20%}.em.em-girl{background-position:40% 35%}.em.em-man{background-position:40% 50%}.em.em-woman{background-position:40% 65%}.em.em-person_with_blond_hair{background-position:42.5% 20%}.em.em-older_man{background-position:42.5% 65%}.em.em-older_woman{background-position:42.5% 80%}.em.em-man_with_gua_pi_mao{background-position:42.5% 35%}.em.em-man_with_turban{background-position:42.5% 50%}.em.em-cop{background-position:40% 90%}.em.em-construction_worker{background-position:45% 7.5%}.em.em-guardsman{background-position:45% 85%}.em.em-sleuth_or_spy{background-position:60% 97.5%}.em.em-santa{background-position:20% 72.5%}.em.em-angel{background-position:45% 45%}.em.em-princess{background-position:45% 22.5%}.em.em-bride_with_veil{background-position:42.5% 5%}.em.em-walking{background-position:75% 100%}.em.em-runner,.em.em-running{background-position:25% 22.5%}.em.em-dancer{background-position:45% 100%}.em.em-dancers{background-position:42.5% 2.5%}.em.em-couple{background-position:40% 82.5%}.em.em-two_men_holding_hands{background-position:40% 85%}.em.em-two_women_holding_hands{background-position:40% 87.5%}.em.em-bow{background-position:70% 35%}.em.em-information_desk_person{background-position:45% 70%}.em.em-no_good{background-position:70% 5%}.em.em-ok_woman{background-position:70% 20%}.em.em-raising_hand{background-position:70% 57.5%}.em.em-person_with_pouting_face{background-position:72.5% 0%}.em.em-person_frowning{background-position:70% 87.5%}.em.em-haircut{background-position:47.5% 45%}.em.em-massage{background-position:47.5% 30%}.em.em-couple_with_heart{background-position:47.5% 82.5%}.em.em-woman-heart-woman{background-position:97.5% 47.5%}.em.em-man-heart-man{background-position:97.5% 30%}.em.em-couplekiss{background-position:47.5% 77.5%}.em.em-woman-kiss-woman{background-position:97.5% 50%}.em.em-man-kiss-man{background-position:97.5% 32.5%}.em.em-family{background-position:40% 80%}.em.em-man-woman-girl{background-position:97.5% 22.5%}.em.em-man-woman-girl-boy{background-position:97.5% 25%}.em.em-man-woman-boy-boy{background-position:97.5% 20%}.em.em-man-woman-girl-girl{background-position:97.5% 27.5%}.em.em-woman-woman-boy{background-position:97.5% 35%}.em.em-woman-woman-girl{background-position:97.5% 40%}.em.em-woman-woman-girl-boy{background-position:97.5% 42.5%}.em.em-woman-woman-boy-boy{background-position:97.5% 37.5%}.em.em-woman-woman-girl-girl{background-position:97.5% 45%}.em.em-man-man-boy{background-position:97.5% 7.5%}.em.em-man-man-girl{background-position:97.5% 12.5%}.em.em-man-man-girl-boy{background-position:97.5% 15%}.em.em-man-man-boy-boy{background-position:97.5% 10%}.em.em-man-man-girl-girl{background-position:97.5% 17.5%}.em.em-womans_clothes{background-position:37.5% 92.5%}.em.em-shirt,.em.em-tshirt{background-position:37.5% 80%}.em.em-jeans{background-position:37.5% 82.5%}.em.em-necktie{background-position:37.5% 77.5%}.em.em-dress{background-position:37.5% 85%}.em.em-bikini{background-position:37.5% 90%}.em.em-kimono{background-position:37.5% 87.5%}.em.em-lipstick{background-position:47.5% 12.5%}.em.em-kiss{background-position:47.5% 67.5%}.em.em-footprints{background-position:40% 12.5%}.em.em-high_heel{background-position:40% 5%}.em.em-sandal{background-position:40% 7.5%}.em.em-boot{background-position:40% 10%}.em.em-mans_shoe,.em.em-shoe{background-position:40% 0%}.em.em-athletic_shoe{background-position:40% 2.5%}.em.em-womans_hat{background-position:37.5% 72.5%}.em.em-tophat{background-position:22.5% 60%}.em.em-helmet_with_white_cross{background-position:5% 62.5%}.em.em-mortar_board{background-position:22.5% 17.5%}.em.em-crown{background-position:37.5% 70%}.em.em-school_satchel{background-position:22.5% 15%}.em.em-pouch{background-position:37.5% 100%}.em.em-purse{background-position:37.5% 95%}.em.em-handbag{background-position:37.5% 97.5%}.em.em-briefcase{background-position:50% 100%}.em.em-eyeglasses{background-position:37.5% 75%}.em.em-dark_sunglasses{background-position:62.5% 10%}.em.em-ring{background-position:47.5% 72.5%}.em.em-closed_umbrella{background-position:12.5% 57.5%}.em.em-dog{background-position:32.5% 45%}.em.em-cat{background-position:32.5% 32.5%}.em.em-mouse{background-position:32.5% 22.5%}.em.em-hamster{background-position:32.5% 52.5%}.em.em-rabbit{background-position:32.5% 30%}.em.em-bear{background-position:32.5% 57.5%}.em.em-panda_face{background-position:32.5% 60%}.em.em-koala{background-position:32.5% 10%}.em.em-tiger{background-position:32.5% 27.5%}.em.em-lion_face{background-position:80% 40%}.em.em-cow{background-position:32.5% 25%}.em.em-pig{background-position:32.5% 47.5%}.em.em-pig_nose{background-position:32.5% 62.5%}.em.em-frog{background-position:32.5% 50%}.em.em-octopus{background-position:30% 75%}.em.em-monkey_face{background-position:32.5% 42.5%}.em.em-see_no_evil{background-position:70% 50%}.em.em-hear_no_evil{background-position:70% 52.5%}.em.em-speak_no_evil{background-position:70% 55%}.em.em-monkey{background-position:30% 57.5%}.em.em-chicken{background-position:30% 62.5%}.em.em-penguin{background-position:32.5% 7.5%}.em.em-bird{background-position:32.5% 5%}.em.em-baby_chick{background-position:32.5% 0%}.em.em-hatching_chick{background-position:30% 100%}.em.em-hatched_chick{background-position:32.5% 2.5%}.em.em-wolf{background-position:32.5% 55%}.em.em-boar{background-position:30% 70%}.em.em-horse{background-position:32.5% 40%}.em.em-unicorn_face{background-position:80% 47.5%}.em.em-bee,.em.em-honeybee{background-position:30% 85%}.em.em-bug{background-position:30% 80%}.em.em-snail{background-position:30% 42.5%}.em.em-beetle{background-position:30% 87.5%}.em.em-ant{background-position:30% 82.5%}.em.em-spider{background-position:62.5% 12.5%}.em.em-scorpion{background-position:80% 42.5%}.em.em-crab{background-position:80% 37.5%}.em.em-snake{background-position:30% 45%}.em.em-turtle{background-position:30% 97.5%}.em.em-tropical_fish{background-position:30% 92.5%}.em.em-fish{background-position:30% 90%}.em.em-blowfish{background-position:30% 95%}.em.em-dolphin{background-position:32.5% 20%}.em.em-whale{background-position:32.5% 37.5%}.em.em-whale2{background-position:30% 40%}.em.em-crocodile{background-position:30% 37.5%}.em.em-leopard{background-position:30% 27.5%}.em.em-tiger2{background-position:30% 25%}.em.em-water_buffalo{background-position:30% 20%}.em.em-ox{background-position:30% 17.5%}.em.em-cow2{background-position:30% 22.5%}.em.em-dromedary_camel{background-position:32.5% 15%}.em.em-camel{background-position:32.5% 17.5%}.em.em-elephant{background-position:30% 72.5%}.em.em-goat{background-position:30% 52.5%}.em.em-ram{background-position:30% 50%}.em.em-sheep{background-position:30% 55%}.em.em-racehorse{background-position:30% 47.5%}.em.em-pig2{background-position:30% 67.5%}.em.em-rat{background-position:30% 12.5%}.em.em-mouse2{background-position:30% 15%}.em.em-rooster{background-position:30% 60%}.em.em-turkey{background-position:80% 45%}.em.em-dove_of_peace{background-position:60% 15%}.em.em-dog2{background-position:30% 65%}.em.em-poodle{background-position:32.5% 12.5%}.em.em-cat2{background-position:30% 32.5%}.em.em-rabbit2{background-position:30% 30%}.em.em-chipmunk{background-position:32.5% 67.5%}.em.em-feet,.em.em-paw_prints{background-position:32.5% 65%}.em.em-dragon{background-position:30% 35%}.em.em-dragon_face{background-position:32.5% 35%}.em.em-cactus{background-position:15% 77.5%}.em.em-christmas_tree{background-position:20% 70%}.em.em-evergreen_tree{background-position:15% 70%}.em.em-deciduous_tree{background-position:15% 72.5%}.em.em-palm_tree{background-position:15% 75%}.em.em-seedling{background-position:15% 67.5%}.em.em-herb{background-position:17.5% 0%}.em.em-shamrock{background-position:2.5% 22.5%}.em.em-four_leaf_clover{background-position:17.5% 2.5%}.em.em-bamboo{background-position:22.5% 2.5%}.em.em-tanabata_tree{background-position:20% 100%}.em.em-leaves{background-position:17.5% 10%}.em.em-fallen_leaf{background-position:17.5% 7.5%}.em.em-maple_leaf{background-position:17.5% 5%}.em.em-ear_of_rice{background-position:15% 100%}.em.em-hibiscus{background-position:15% 90%}.em.em-sunflower{background-position:15% 92.5%}.em.em-rose{background-position:15% 87.5%}.em.em-tulip{background-position:15% 82.5%}.em.em-blossom{background-position:15% 95%}.em.em-cherry_blossom{background-position:15% 85%}.em.em-bouquet{background-position:47.5% 80%}.em.em-mushroom{background-position:17.5% 12.5%}.em.em-chestnut{background-position:15% 65%}.em.em-jack_o_lantern{background-position:20% 67.5%}.em.em-shell{background-position:30% 77.5%}.em.em-spider_web{background-position:62.5% 15%}.em.em-earth_americas{background-position:12.5% 87.5%}.em.em-earth_africa{background-position:12.5% 85%}.em.em-earth_asia{background-position:12.5% 90%}.em.em-full_moon{background-position:15% 2.5%}.em.em-waning_gibbous_moon{background-position:15% 5%}.em.em-last_quarter_moon{background-position:15% 7.5%}.em.em-waning_crescent_moon{background-position:15% 10%}.em.em-new_moon{background-position:12.5% 95%}.em.em-waxing_crescent_moon{background-position:12.5% 97.5%}.em.em-first_quarter_moon{background-position:12.5% 100%}.em.em-moon,.em.em-waxing_gibbous_moon{background-position:15% 0%}.em.em-new_moon_with_face{background-position:15% 15%}.em.em-full_moon_with_face{background-position:15% 22.5%}.em.em-first_quarter_moon_with_face{background-position:15% 17.5%}.em.em-last_quarter_moon_with_face{background-position:15% 20%}.em.em-sun_with_face{background-position:15% 25%}.em.em-crescent_moon{background-position:15% 12.5%}.em.em-star{background-position:10% 60%}.em.em-star2{background-position:15% 27.5%}.em.em-dizzy{background-position:50% 57.5%}.em.em-sparkles{background-position:7.5% 97.5%}.em.em-comet{background-position:2.5% 10%}.em.em-sunny{background-position:2.5% 0%}.em.em-mostly_sunny{background-position:15% 35%}.em.em-partly_sunny{background-position:5% 52.5%}.em.em-barely_sunny{background-position:15% 37.5%}.em.em-partly_sunny_rain{background-position:15% 40%}.em.em-cloud{background-position:2.5% 2.5%}.em.em-rain_cloud{background-position:15% 42.5%}.em.em-thunder_cloud_and_rain{background-position:5% 55%}.em.em-lightning{background-position:15% 47.5%}.em.em-zap{background-position:5% 32.5%}.em.em-fire{background-position:57.5% 52.5%}.em.em-boom,.em.em-collision{background-position:50% 30%}.em.em-snowflake{background-position:10% 2.5%}.em.em-snow_cloud{background-position:15% 45%}.em.em-snowman{background-position:2.5% 7.5%}.em.em-snowman_without_snow{background-position:5% 50%}.em.em-wind_blowing_face{background-position:15% 55%}.em.em-dash{background-position:50% 37.5%}.em.em-tornado{background-position:15% 50%}.em.em-fog{background-position:15% 52.5%}.em.em-umbrella{background-position:2.5% 5%}.em.em-umbrella_with_rain_drops{background-position:2.5% 17.5%}.em.em-droplet{background-position:50% 35%}.em.em-sweat_drops{background-position:50% 32.5%}.em.em-ocean{background-position:12.5% 77.5%}.em.em-green_apple{background-position:17.5% 40%}.em.em-apple{background-position:17.5% 37.5%}.em.em-pear{background-position:17.5% 42.5%}.em.em-tangerine{background-position:17.5% 27.5%}.em.em-lemon{background-position:17.5% 30%}.em.em-banana{background-position:17.5% 32.5%}.em.em-watermelon{background-position:17.5% 25%}.em.em-grapes{background-position:17.5% 20%}.em.em-strawberry{background-position:17.5% 50%}.em.em-melon{background-position:17.5% 22.5%}.em.em-cherries{background-position:17.5% 47.5%}.em.em-peach{background-position:17.5% 45%}.em.em-pineapple{background-position:17.5% 35%}.em.em-tomato{background-position:17.5% 15%}.em.em-eggplant{background-position:17.5% 17.5%}.em.em-hot_pepper{background-position:15% 80%}.em.em-corn{background-position:15% 97.5%}.em.em-sweet_potato{background-position:17.5% 82.5%}.em.em-honey_pot{background-position:20% 17.5%}.em.em-bread{background-position:17.5% 77.5%}.em.em-cheese_wedge{background-position:80% 50%}.em.em-poultry_leg{background-position:17.5% 60%}.em.em-meat_on_bone{background-position:17.5% 57.5%}.em.em-fried_shrimp{background-position:17.5% 92.5%}.em.em-egg{background-position:20% 27.5%}.em.em-hamburger{background-position:17.5% 52.5%}.em.em-fries{background-position:17.5% 80%}.em.em-hotdog{background-position:15% 57.5%}.em.em-pizza{background-position:17.5% 55%}.em.em-spaghetti{background-position:17.5% 75%}.em.em-taco{background-position:15% 60%}.em.em-burrito{background-position:15% 62.5%}.em.em-ramen{background-position:17.5% 72.5%}.em.em-stew{background-position:20% 25%}.em.em-fish_cake{background-position:17.5% 95%}.em.em-sushi{background-position:17.5% 90%}.em.em-bento{background-position:20% 22.5%}.em.em-curry{background-position:17.5% 70%}.em.em-rice_ball{background-position:17.5% 65%}.em.em-rice{background-position:17.5% 67.5%}.em.em-rice_cracker{background-position:17.5% 62.5%}.em.em-oden{background-position:17.5% 87.5%}.em.em-dango{background-position:17.5% 85%}.em.em-shaved_ice{background-position:17.5% 100%}.em.em-ice_cream{background-position:20% 0%}.em.em-icecream{background-position:17.5% 97.5%}.em.em-cake{background-position:20% 20%}.em.em-birthday{background-position:20% 65%}.em.em-custard{background-position:20% 15%}.em.em-candy{background-position:20% 10%}.em.em-lollipop{background-position:20% 12.5%}.em.em-chocolate_bar{background-position:20% 7.5%}.em.em-popcorn{background-position:20% 57.5%}.em.em-doughnut{background-position:20% 2.5%}.em.em-cookie{background-position:20% 5%}.em.em-beer{background-position:20% 45%}.em.em-beers{background-position:20% 47.5%}.em.em-wine_glass{background-position:20% 37.5%}.em.em-cocktail{background-position:20% 40%}.em.em-tropical_drink{background-position:20% 42.5%}.em.em-champagne{background-position:20% 55%}.em.em-sake{background-position:20% 35%}.em.em-tea{background-position:20% 32.5%}.em.em-coffee{background-position:2.5% 20%}.em.em-baby_bottle{background-position:20% 50%}.em.em-fork_and_knife{background-position:20% 30%}.em.em-knife_fork_plate{background-position:20% 52.5%}.em.em-soccer{background-position:5% 45%}.em.em-basketball{background-position:25% 15%}.em.em-football{background-position:25% 60%}.em.em-baseball{background-position:5% 47.5%}.em.em-tennis{background-position:25% 10%}.em.em-volleyball{background-position:27.5% 2.5%}.em.em-rugby_football{background-position:25% 62.5%}.em.em-8ball{background-position:22.5% 80%}.em.em-golf{background-position:5% 82.5%}.em.em-golfer{background-position:25% 95%}.em.em-table_tennis_paddle_and_ball{background-position:27.5% 10%}.em.em-badminton_racquet_and_shuttlecock{background-position:27.5% 95%}.em.em-ice_hockey_stick_and_puck{background-position:27.5% 7.5%}.em.em-field_hockey_stick_and_ball{background-position:27.5% 5%}.em.em-cricket_bat_and_ball{background-position:27.5% 0%}.em.em-ski{background-position:25% 12.5%}.em.em-skier{background-position:5% 90%}.em.em-snowboarder{background-position:25% 20%}.em.em-ice_skate{background-position:5% 92.5%}.em.em-bow_and_arrow{background-position:27.5% 97.5%}.em.em-fishing_pole_and_fish{background-position:22.5% 45%}.em.em-rowboat{background-position:75% 15%}.em.em-swimmer{background-position:25% 65%}.em.em-surfer{background-position:25% 37.5%}.em.em-bath{background-position:77.5% 35%}.em.em-person_with_ball{background-position:5% 95%}.em.em-weight_lifter{background-position:25% 80%}.em.em-bicyclist{background-position:75% 70%}.em.em-mountain_bicyclist{background-position:75% 85%}.em.em-horse_racing{background-position:25% 57.5%}.em.em-man_in_business_suit_levitating{background-position:60% 95%}.em.em-trophy{background-position:25% 55%}.em.em-running_shirt_with_sash{background-position:25% 7.5%}.em.em-sports_medal{background-position:25% 52.5%}.em.em-medal{background-position:22.5% 20%}.em.em-reminder_ribbon{background-position:22.5% 22.5%}.em.em-rosette{background-position:27.5% 90%}.em.em-ticket{background-position:22.5% 65%}.em.em-admission_tickets{background-position:22.5% 35%}.em.em-performing_arts{background-position:22.5% 70%}.em.em-art{background-position:22.5% 57.5%}.em.em-circus_tent{background-position:22.5% 62.5%}.em.em-microphone{background-position:22.5% 47.5%}.em.em-headphones{background-position:22.5% 55%}.em.em-musical_score{background-position:25% 5%}.em.em-musical_keyboard{background-position:22.5% 100%}.em.em-saxophone{background-position:22.5% 95%}.em.em-trumpet{background-position:25% 0%}.em.em-guitar{background-position:22.5% 97.5%}.em.em-violin{background-position:25% 2.5%}.em.em-clapper{background-position:22.5% 67.5%}.em.em-video_game{background-position:22.5% 72.5%}.em.em-space_invader{background-position:45% 62.5%}.em.em-dart{background-position:22.5% 75%}.em.em-game_die{background-position:22.5% 82.5%}.em.em-slot_machine{background-position:22.5% 77.5%}.em.em-bowling{background-position:22.5% 85%}.em.em-car{background-position:72.5% 87.5%}.em.em-taxi{background-position:72.5% 82.5%}.em.em-blue_car{background-position:72.5% 92.5%}.em.em-bus{background-position:72.5% 60%}.em.em-trolleybus{background-position:72.5% 65%}.em.em-racing_car{background-position:25% 100%}.em.em-police_car{background-position:72.5% 77.5%}.em.em-ambulance{background-position:72.5% 72.5%}.em.em-fire_engine{background-position:72.5% 75%}.em.em-minibus{background-position:72.5% 70%}.em.em-truck{background-position:72.5% 95%}.em.em-articulated_lorry{background-position:72.5% 97.5%}.em.em-tractor{background-position:72.5% 100%}.em.em-racing_motorcycle{background-position:25% 97.5%}.em.em-bike{background-position:75% 65%}.em.em-rotating_light{background-position:75% 40%}.em.em-oncoming_police_car{background-position:72.5% 80%}.em.em-oncoming_bus{background-position:72.5% 62.5%}.em.em-oncoming_automobile{background-position:72.5% 90%}.em.em-oncoming_taxi{background-position:72.5% 85%}.em.em-aerial_tramway{background-position:75% 10%}.em.em-mountain_cableway{background-position:75% 7.5%}.em.em-suspension_railway{background-position:75% 5%}.em.em-railway_car{background-position:72.5% 37.5%}.em.em-train{background-position:72.5% 57.5%}.em.em-monorail{background-position:75% 0%}.em.em-bullettrain_side{background-position:72.5% 40%}.em.em-bullettrain_front{background-position:72.5% 42.5%}.em.em-light_rail{background-position:72.5% 50%}.em.em-mountain_railway{background-position:75% 2.5%}.em.em-steam_locomotive{background-position:72.5% 35%}.em.em-train2{background-position:72.5% 45%}.em.em-metro{background-position:72.5% 47.5%}.em.em-tram{background-position:72.5% 55%}.em.em-station{background-position:72.5% 52.5%}.em.em-helicopter{background-position:72.5% 32.5%}.em.em-small_airplane{background-position:77.5% 92.5%}.em.em-airplane{background-position:7.5% 17.5%}.em.em-airplane_departure{background-position:77.5% 95%}.em.em-airplane_arriving{background-position:77.5% 97.5%}.em.em-boat{background-position:5% 87.5%}.em.em-motor_boat{background-position:77.5% 90%}.em.em-speedboat{background-position:75% 30%}.em.em-ferry{background-position:5% 85%}.em.em-passenger_ship{background-position:80% 0%}.em.em-rocket{background-position:72.5% 30%}.em.em-satellite{background-position:77.5% 100%}.em.em-seat{background-position:50% 95%}.em.em-anchor{background-position:5% 12.5%}.em.em-construction{background-position:75% 37.5%}.em.em-fuelpump{background-position:7.5% 10%}.em.em-busstop{background-position:72.5% 67.5%}.em.em-vertical_traffic_light{background-position:75% 35%}.em.em-traffic_light{background-position:75% 32.5%}.em.em-checkered_flag{background-position:25% 17.5%}.em.em-ship{background-position:75% 12.5%}.em.em-ferris_wheel{background-position:22.5% 40%}.em.em-roller_coaster{background-position:22.5% 42.5%}.em.em-carousel_horse{background-position:22.5% 37.5%}.em.em-building_construction{background-position:27.5% 20%}.em.em-foggy{background-position:12.5% 55%}.em.em-tokyo_tower{background-position:65% 27.5%}.em.em-factory{background-position:27.5% 75%}.em.em-fountain{background-position:5% 80%}.em.em-rice_scene{background-position:22.5% 12.5%}.em.em-mountain{background-position:5% 75%}.em.em-snow_capped_mountain{background-position:27.5% 12.5%}.em.em-mount_fuji{background-position:65% 25%}.em.em-volcano{background-position:12.5% 80%}.em.em-japan{background-position:65% 32.5%}.em.em-camping{background-position:27.5% 15%}.em.em-tent{background-position:7.5% 7.5%}.em.em-national_park{background-position:27.5% 37.5%}.em.em-motorway{background-position:77.5% 85%}.em.em-railway_track{background-position:77.5% 87.5%}.em.em-sunrise{background-position:12.5% 65%}.em.em-sunrise_over_mountains{background-position:12.5% 62.5%}.em.em-desert{background-position:27.5% 32.5%}.em.em-beach_with_umbrella{background-position:27.5% 17.5%}.em.em-desert_island{background-position:27.5% 35%}.em.em-city_sunrise{background-position:12.5% 70%}.em.em-city_sunset{background-position:12.5% 67.5%}.em.em-cityscape{background-position:27.5% 25%}.em.em-night_with_stars{background-position:12.5% 60%}.em.em-bridge_at_night{background-position:12.5% 75%}.em.em-milky_way{background-position:12.5% 82.5%}.em.em-stars{background-position:15% 30%}.em.em-sparkler{background-position:20% 90%}.em.em-fireworks{background-position:20% 87.5%}.em.em-rainbow{background-position:12.5% 72.5%}.em.em-house_buildings{background-position:27.5% 22.5%}.em.em-european_castle{background-position:27.5% 82.5%}.em.em-japanese_castle{background-position:27.5% 80%}.em.em-stadium{background-position:27.5% 40%}.em.em-statue_of_liberty{background-position:65% 30%}.em.em-house{background-position:27.5% 42.5%}.em.em-house_with_garden{background-position:27.5% 45%}.em.em-derelict_house_building{background-position:27.5% 27.5%}.em.em-office{background-position:27.5% 47.5%}.em.em-department_store{background-position:27.5% 72.5%}.em.em-post_office{background-position:27.5% 50%}.em.em-european_post_office{background-position:27.5% 52.5%}.em.em-hospital{background-position:27.5% 55%}.em.em-bank{background-position:27.5% 57.5%}.em.em-hotel{background-position:27.5% 62.5%}.em.em-convenience_store{background-position:27.5% 67.5%}.em.em-school{background-position:27.5% 70%}.em.em-love_hotel{background-position:27.5% 65%}.em.em-wedding{background-position:47.5% 85%}.em.em-classical_building{background-position:27.5% 30%}.em.em-church{background-position:5% 72.5%}.em.em-mosque{background-position:60% 20%}.em.em-synagogue{background-position:60% 22.5%}.em.em-kaaba{background-position:60% 17.5%}.em.em-shinto_shrine{background-position:5% 70%}.em.em-watch{background-position:0% 35%}.em.em-iphone{background-position:55% 27.5%}.em.em-calling{background-position:55% 30%}.em.em-computer{background-position:50% 97.5%}.em.em-keyboard{background-position:0% 40%}.em.em-desktop_computer{background-position:62.5% 77.5%}.em.em-printer{background-position:62.5% 80%}.em.em-three_button_mouse{background-position:62.5% 82.5%}.em.em-trackball{background-position:62.5% 85%}.em.em-joystick{background-position:62.5% 17.5%}.em.em-compression{background-position:65% 2.5%}.em.em-minidisc{background-position:52.5% 0%}.em.em-floppy_disk{background-position:52.5% 2.5%}.em.em-cd{background-position:52.5% 5%}.em.em-dvd{background-position:52.5% 7.5%}.em.em-vhs{background-position:55% 55%}.em.em-camera{background-position:55% 42.5%}.em.em-camera_with_flash{background-position:55% 45%}.em.em-video_camera{background-position:55% 47.5%}.em.em-movie_camera{background-position:22.5% 50%}.em.em-film_projector{background-position:55% 57.5%}.em.em-film_frames{background-position:22.5% 32.5%}.em.em-telephone_receiver{background-position:52.5% 82.5%}.em.em-phone{background-position:2.5% 12.5%}.em.em-pager{background-position:52.5% 85%}.em.em-fax{background-position:52.5% 87.5%}.em.em-tv{background-position:55% 50%}.em.em-radio{background-position:55% 52.5%}.em.em-studio_microphone{background-position:22.5% 25%}.em.em-level_slider{background-position:22.5% 27.5%}.em.em-control_knobs{background-position:22.5% 30%}.em.em-stopwatch{background-position:0% 65%}.em.em-timer_clock{background-position:0% 67.5%}.em.em-alarm_clock{background-position:0% 62.5%}.em.em-mantelpiece_clock{background-position:60% 90%}.em.em-hourglass_flowing_sand{background-position:0% 70%}.em.em-hourglass{background-position:0% 37.5%}.em.em-satellite_antenna{background-position:52.5% 90%}.em.em-battery{background-position:55% 90%}.em.em-electric_plug{background-position:55% 92.5%}.em.em-bulb{background-position:50% 20%}.em.em-flashlight{background-position:57.5% 55%}.em.em-candle{background-position:60% 87.5%}.em.em-wastebasket{background-position:62.5% 97.5%}.em.em-oil_drum{background-position:77.5% 82.5%}.em.em-money_with_wings{background-position:50% 90%}.em.em-dollar{background-position:50% 82.5%}.em.em-yen{background-position:50% 80%}.em.em-euro{background-position:50% 85%}.em.em-pound{background-position:50% 87.5%}.em.em-moneybag{background-position:50% 70%}.em.em-credit_card{background-position:50% 77.5%}.em.em-gem{background-position:47.5% 75%}.em.em-scales{background-position:5% 17.5%}.em.em-wrench{background-position:57.5% 57.5%}.em.em-hammer{background-position:57.5% 60%}.em.em-hammer_and_pick{background-position:5% 10%}.em.em-hammer_and_wrench{background-position:77.5% 77.5%}.em.em-pick{background-position:5% 60%}.em.em-nut_and_bolt{background-position:57.5% 62.5%}.em.em-gear{background-position:5% 22.5%}.em.em-chains{background-position:5% 65%}.em.em-gun{background-position:57.5% 67.5%}.em.em-bomb{background-position:50% 25%}.em.em-hocho{background-position:57.5% 65%}.em.em-dagger_knife{background-position:65% 10%}.em.em-crossed_swords{background-position:5% 15%}.em.em-shield{background-position:77.5% 80%}.em.em-smoking{background-position:75% 50%}.em.em-skull_and_crossbones{background-position:2.5% 40%}.em.em-coffin{background-position:5% 40%}.em.em-funeral_urn{background-position:5% 42.5%}.em.em-amphora{background-position:27.5% 100%}.em.em-crystal_ball{background-position:57.5% 75%}.em.em-prayer_beads{background-position:55% 60%}.em.em-barber{background-position:47.5% 60%}.em.em-alembic{background-position:5% 20%}.em.em-telescope{background-position:57.5% 72.5%}.em.em-microscope{background-position:57.5% 70%}.em.em-hole{background-position:60% 92.5%}.em.em-pill{background-position:47.5% 65%}.em.em-syringe{background-position:47.5% 62.5%}.em.em-thermometer{background-position:15% 32.5%}.em.em-label{background-position:27.5% 92.5%}.em.em-bookmark{background-position:57.5% 15%}.em.em-toilet{background-position:77.5% 27.5%}.em.em-shower{background-position:77.5% 32.5%}.em.em-bathtub{background-position:77.5% 50%}.em.em-key{background-position:57.5% 2.5%}.em.em-old_key{background-position:65% 5%}.em.em-couch_and_lamp{background-position:77.5% 62.5%}.em.em-sleeping_accommodation{background-position:77.5% 65%}.em.em-bed{background-position:77.5% 72.5%}.em.em-door{background-position:75% 45%}.em.em-bellhop_bell{background-position:77.5% 70%}.em.em-frame_with_picture{background-position:62.5% 87.5%}.em.em-world_map{background-position:65% 22.5%}.em.em-umbrella_on_ground{background-position:5% 77.5%}.em.em-moyai{background-position:65% 35%}.em.em-shopping_bags{background-position:77.5% 67.5%}.em.em-balloon{background-position:20% 92.5%}.em.em-flags{background-position:22.5% 7.5%}.em.em-ribbon{background-position:20% 60%}.em.em-gift{background-position:20% 62.5%}.em.em-confetti_ball{background-position:20% 97.5%}.em.em-tada{background-position:20% 95%}.em.em-dolls{background-position:22.5% 5%}.em.em-wind_chime{background-position:22.5% 10%}.em.em-crossed_flags{background-position:22.5% 0%}.em.em-izakaya_lantern{background-position:27.5% 77.5%}.em.em-email{background-position:7.5% 20%}.em.em-envelope_with_arrow{background-position:55% 7.5%}.em.em-incoming_envelope{background-position:55% 5%}.em.em-e-mail{background-position:55% 2.5%}.em.em-love_letter{background-position:47.5% 70%}.em.em-postbox{background-position:55% 20%}.em.em-mailbox_closed{background-position:55% 10%}.em.em-mailbox{background-position:55% 12.5%}.em.em-mailbox_with_mail{background-position:55% 15%}.em.em-mailbox_with_no_mail{background-position:55% 17.5%}.em.em-package{background-position:55% 0%}.em.em-postal_horn{background-position:55% 22.5%}.em.em-inbox_tray{background-position:52.5% 100%}.em.em-outbox_tray{background-position:52.5% 97.5%}.em.em-scroll{background-position:52.5% 77.5%}.em.em-page_with_curl{background-position:52.5% 15%}.em.em-bookmark_tabs{background-position:52.5% 50%}.em.em-bar_chart{background-position:52.5% 32.5%}.em.em-chart_with_upwards_trend{background-position:52.5% 27.5%}.em.em-chart_with_downwards_trend{background-position:52.5% 30%}.em.em-page_facing_up{background-position:52.5% 17.5%}.em.em-date{background-position:52.5% 20%}.em.em-calendar{background-position:52.5% 22.5%}.em.em-spiral_calendar_pad{background-position:65% 0%}.em.em-card_index{background-position:52.5% 25%}.em.em-card_file_box{background-position:62.5% 92.5%}.em.em-ballot_box_with_ballot{background-position:65% 20%}.em.em-file_cabinet{background-position:62.5% 95%}.em.em-clipboard{background-position:52.5% 35%}.em.em-spiral_note_pad{background-position:62.5% 100%}.em.em-file_folder{background-position:52.5% 10%}.em.em-open_file_folder{background-position:52.5% 12.5%}.em.em-card_index_dividers{background-position:62.5% 90%}.em.em-rolled_up_newspaper{background-position:65% 7.5%}.em.em-newspaper{background-position:55% 25%}.em.em-notebook{background-position:52.5% 55%}.em.em-closed_book{background-position:52.5% 60%}.em.em-green_book{background-position:52.5% 65%}.em.em-blue_book{background-position:52.5% 67.5%}.em.em-orange_book{background-position:52.5% 70%}.em.em-notebook_with_decorative_cover{background-position:52.5% 57.5%}.em.em-ledger{background-position:52.5% 52.5%}.em.em-books{background-position:52.5% 72.5%}.em.em-book{background-position:52.5% 62.5%}.em.em-link{background-position:57.5% 17.5%}.em.em-paperclip{background-position:52.5% 42.5%}.em.em-linked_paperclips{background-position:62.5% 20%}.em.em-scissors{background-position:7.5% 12.5%}.em.em-triangular_ruler{background-position:52.5% 47.5%}.em.em-straight_ruler{background-position:52.5% 45%}.em.em-pushpin{background-position:52.5% 37.5%}.em.em-round_pushpin{background-position:52.5% 40%}.em.em-triangular_flag_on_post{background-position:75% 42.5%}.em.em-waving_white_flag{background-position:27.5% 85%}.em.em-waving_black_flag{background-position:27.5% 87.5%}.em.em-closed_lock_with_key{background-position:57.5% 0%}.em.em-lock{background-position:57.5% 5%}.em.em-unlock{background-position:57.5% 7.5%}.em.em-lock_with_ink_pen{background-position:55% 100%}.em.em-lower_left_ballpoint_pen{background-position:62.5% 22.5%}.em.em-lower_left_fountain_pen{background-position:62.5% 25%}.em.em-black_nib{background-position:7.5% 85%}.em.em-memo,.em.em-pencil{background-position:52.5% 80%}.em.em-pencil2{background-position:7.5% 82.5%}.em.em-lower_left_crayon{background-position:62.5% 30%}.em.em-lower_left_paintbrush{background-position:62.5% 27.5%}.em.em-mag{background-position:55% 95%}.em.em-mag_right{background-position:55% 97.5%}.em.em-heart{background-position:10% 25%}.em.em-yellow_heart{background-position:50% 5%}.em.em-green_heart{background-position:50% 2.5%}.em.em-blue_heart{background-position:50% 0%}.em.em-purple_heart{background-position:50% 7.5%}.em.em-broken_heart{background-position:47.5% 90%}.em.em-heavy_heart_exclamation_mark_ornament{background-position:10% 22.5%}.em.em-two_hearts{background-position:47.5% 92.5%}.em.em-revolving_hearts{background-position:50% 12.5%}.em.em-heartbeat{background-position:47.5% 87.5%}.em.em-heartpulse{background-position:47.5% 97.5%}.em.em-sparkling_heart{background-position:47.5% 95%}.em.em-cupid{background-position:47.5% 100%}.em.em-gift_heart{background-position:50% 10%}.em.em-heart_decoration{background-position:50% 15%}.em.em-peace_symbol{background-position:2.5% 52.5%}.em.em-latin_cross{background-position:7.5% 92.5%}.em.em-star_and_crescent{background-position:2.5% 50%}.em.em-om_symbol{background-position:60% 12.5%}.em.em-wheel_of_dharma{background-position:2.5% 57.5%}.em.em-star_of_david{background-position:7.5% 95%}.em.em-six_pointed_star{background-position:57.5% 77.5%}.em.em-menorah_with_nine_branches{background-position:60% 25%}.em.em-yin_yang{background-position:2.5% 55%}.em.em-orthodox_cross{background-position:2.5% 47.5%}.em.em-place_of_worship{background-position:77.5% 75%}.em.em-ophiuchus{background-position:5% 57.5%}.em.em-aries{background-position:2.5% 65%}.em.em-taurus{background-position:2.5% 67.5%}.em.em-gemini{background-position:2.5% 70%}.em.em-cancer{background-position:2.5% 72.5%}.em.em-leo{background-position:2.5% 75%}.em.em-virgo{background-position:2.5% 77.5%}.em.em-libra{background-position:2.5% 80%}.em.em-scorpius{background-position:2.5% 82.5%}.em.em-sagittarius{background-position:2.5% 85%}.em.em-capricorn{background-position:2.5% 87.5%}.em.em-aquarius{background-position:2.5% 90%}.em.em-pisces{background-position:2.5% 92.5%}.em.em-id{background-position:10% 100%}.em.em-atom_symbol{background-position:5% 25%}.em.em-u7a7a{background-position:12.5% 27.5%}.em.em-u5272{background-position:12.5% 42.5%}.em.em-radioactive_sign{background-position:2.5% 42.5%}.em.em-biohazard_sign{background-position:2.5% 45%}.em.em-mobile_phone_off{background-position:55% 35%}.em.em-vibration_mode{background-position:55% 32.5%}.em.em-u6709{background-position:12.5% 35%}.em.em-u7121{background-position:12.5% 20%}.em.em-u7533{background-position:12.5% 40%}.em.em-u55b6{background-position:12.5% 45%}.em.em-u6708{background-position:12.5% 37.5%}.em.em-eight_pointed_black_star{background-position:10% 0%}.em.em-vs{background-position:12.5% 12.5%}.em.em-accept{background-position:12.5% 50%}.em.em-white_flower{background-position:50% 65%}.em.em-ideograph_advantage{background-position:12.5% 47.5%}.em.em-secret{background-position:10% 72.5%}.em.em-congratulations{background-position:10% 70%}.em.em-u5408{background-position:12.5% 30%}.em.em-u6e80{background-position:12.5% 32.5%}.em.em-u7981{background-position:12.5% 25%}.em.em-a{background-position:10% 80%}.em.em-b{background-position:10% 82.5%}.em.em-ab{background-position:10% 90%}.em.em-cl{background-position:10% 92.5%}.em.em-o2{background-position:10% 85%}.em.em-sos{background-position:12.5% 7.5%}.em.em-no_entry{background-position:5% 67.5%}.em.em-name_badge{background-position:52.5% 75%}.em.em-no_entry_sign{background-position:75% 47.5%}.em.em-x{background-position:10% 7.5%}.em.em-o{background-position:10% 62.5%}.em.em-anger{background-position:50% 22.5%}.em.em-hotsprings{background-position:5% 2.5%}.em.em-no_pedestrians{background-position:77.5% 12.5%}.em.em-do_not_litter{background-position:75% 57.5%}.em.em-no_bicycles{background-position:75% 67.5%}.em.em-non-potable_water{background-position:75% 62.5%}.em.em-underage{background-position:57.5% 35%}.em.em-no_mobile_phones{background-position:55% 37.5%}.em.em-exclamation,.em.em-heavy_exclamation_mark{background-position:10% 20%}.em.em-grey_exclamation{background-position:10% 17.5%}.em.em-question{background-position:10% 12.5%}.em.em-grey_question{background-position:10% 15%}.em.em-bangbang{background-position:0% 5%}.em.em-interrobang{background-position:0% 7.5%}.em.em-100{background-position:50% 67.5%}.em.em-low_brightness{background-position:55% 75%}.em.em-high_brightness{background-position:55% 77.5%}.em.em-trident{background-position:57.5% 82.5%}.em.em-fleur_de_lis{background-position:5% 27.5%}.em.em-part_alternation_mark{background-position:10% 67.5%}.em.em-warning{background-position:5% 30%}.em.em-children_crossing{background-position:77.5% 15%}.em.em-beginner{background-position:57.5% 80%}.em.em-recycle{background-position:5% 5%}.em.em-u6307{background-position:12.5% 22.5%}.em.em-chart{background-position:50% 92.5%}.em.em-sparkle{background-position:10% 5%}.em.em-eight_spoked_asterisk{background-position:7.5% 100%}.em.em-negative_squared_cross_mark{background-position:10% 10%}.em.em-white_check_mark{background-position:7.5% 15%}.em.em-diamond_shape_with_a_dot_inside{background-position:50% 17.5%}.em.em-cyclone{background-position:12.5% 52.5%}.em.em-loop{background-position:10% 40%}.em.em-globe_with_meridians{background-position:12.5% 92.5%}.em.em-m{background-position:0% 80%}.em.em-atm{background-position:27.5% 60%}.em.em-sa{background-position:12.5% 17.5%}.em.em-passport_control{background-position:77.5% 52.5%}.em.em-customs{background-position:77.5% 55%}.em.em-baggage_claim{background-position:77.5% 57.5%}.em.em-left_luggage{background-position:77.5% 60%}.em.em-wheelchair{background-position:5% 7.5%}.em.em-no_smoking{background-position:75% 52.5%}.em.em-wc{background-position:77.5% 30%}.em.em-parking{background-position:10% 87.5%}.em.em-potable_water{background-position:75% 60%}.em.em-mens{background-position:77.5% 17.5%}.em.em-womens{background-position:77.5% 20%}.em.em-baby_symbol{background-position:77.5% 25%}.em.em-restroom{background-position:77.5% 22.5%}.em.em-put_litter_in_its_place{background-position:75% 55%}.em.em-cinema{background-position:22.5% 52.5%}.em.em-signal_strength{background-position:55% 40%}.em.em-koko{background-position:12.5% 15%}.em.em-ng{background-position:12.5% 2.5%}.em.em-ok{background-position:12.5% 5%}.em.em-up{background-position:12.5% 10%}.em.em-cool{background-position:10% 95%}.em.em-new{background-position:12.5% 0%}.em.em-free{background-position:10% 97.5%}.em.em-zero{background-position:80% 57.5%}.em.em-one{background-position:80% 60%}.em.em-two{background-position:80% 62.5%}.em.em-three{background-position:80% 65%}.em.em-four{background-position:80% 67.5%}.em.em-five{background-position:80% 70%}.em.em-six{background-position:80% 72.5%}.em.em-seven{background-position:80% 75%}.em.em-eight{background-position:80% 77.5%}.em.em-nine{background-position:80% 80%}.em.em-keycap_ten{background-position:57.5% 37.5%}.em.em-keycap_star{background-position:80% 55%}.em.em-1234{background-position:57.5% 45%}.em.em-arrow_forward{background-position:0% 87.5%}.em.em-double_vertical_bar{background-position:0% 72.5%}.em.em-black_right_pointing_triangle_with_double_vertical_bar{background-position:0% 60%}.em.em-black_square_for_stop{background-position:0% 75%}.em.em-eject{background-position:0% 42.5%}.em.em-black_circle_for_record{background-position:0% 77.5%}.em.em-black_right_pointing_double_triangle_with_vertical_bar{background-position:0% 55%}.em.em-black_left_pointing_double_triangle_with_vertical_bar{background-position:0% 57.5%}.em.em-fast_forward{background-position:0% 45%}.em.em-rewind{background-position:0% 47.5%}.em.em-twisted_rightwards_arrows{background-position:55% 62.5%}.em.em-repeat{background-position:55% 65%}.em.em-repeat_one{background-position:55% 67.5%}.em.em-arrow_backward{background-position:0% 90%}.em.em-arrow_up_small{background-position:60% 7.5%}.em.em-arrow_down_small{background-position:60% 10%}.em.em-arrow_double_up{background-position:0% 50%}.em.em-arrow_double_down{background-position:0% 52.5%}.em.em-arrow_right{background-position:10% 35%}.em.em-arrow_left{background-position:10% 47.5%}.em.em-arrow_up{background-position:10% 50%}.em.em-arrow_down{background-position:10% 52.5%}.em.em-arrow_upper_right{background-position:0% 22.5%}.em.em-arrow_lower_right{background-position:0% 25%}.em.em-arrow_lower_left{background-position:0% 27.5%}.em.em-arrow_upper_left{background-position:0% 20%}.em.em-arrow_up_down{background-position:0% 17.5%}.em.em-left_right_arrow{background-position:0% 15%}.em.em-arrows_counterclockwise{background-position:55% 72.5%}.em.em-arrow_right_hook{background-position:0% 32.5%}.em.em-leftwards_arrow_with_hook{background-position:0% 30%}.em.em-arrow_heading_up{background-position:10% 42.5%}.em.em-arrow_heading_down{background-position:10% 45%}.em.em-hash{background-position:80% 52.5%}.em.em-information_source{background-position:0% 12.5%}.em.em-abc{background-position:57.5% 50%}.em.em-abcd{background-position:57.5% 42.5%}.em.em-capital_abcd{background-position:57.5% 40%}.em.em-symbols{background-position:57.5% 47.5%}.em.em-musical_note{background-position:22.5% 90%}.em.em-notes{background-position:22.5% 92.5%}.em.em-wavy_dash{background-position:10% 65%}.em.em-curly_loop{background-position:10% 37.5%}.em.em-heavy_check_mark{background-position:7.5% 87.5%}.em.em-arrows_clockwise{background-position:55% 70%}.em.em-heavy_plus_sign{background-position:10% 27.5%}.em.em-heavy_minus_sign{background-position:10% 30%}.em.em-heavy_division_sign{background-position:10% 32.5%}.em.em-heavy_multiplication_x{background-position:7.5% 90%}.em.em-heavy_dollar_sign{background-position:50% 75%}.em.em-currency_exchange{background-position:50% 72.5%}.em.em-copyright{background-position:0% 0%}.em.em-registered{background-position:0% 2.5%}.em.em-tm{background-position:0% 10%}.em.em-end{background-position:57.5% 25%}.em.em-back{background-position:57.5% 22.5%}.em.em-on{background-position:57.5% 27.5%}.em.em-top{background-position:57.5% 32.5%}.em.em-soon{background-position:57.5% 30%}.em.em-ballot_box_with_check{background-position:2.5% 15%}.em.em-radio_button{background-position:57.5% 20%}.em.em-white_circle{background-position:5% 35%}.em.em-black_circle{background-position:5% 37.5%}.em.em-red_circle{background-position:57.5% 90%}.em.em-large_blue_circle{background-position:57.5% 92.5%}.em.em-small_orange_diamond{background-position:57.5% 100%}.em.em-small_blue_diamond{background-position:60% 0%}.em.em-large_orange_diamond{background-position:57.5% 95%}.em.em-large_blue_diamond{background-position:57.5% 97.5%}.em.em-small_red_triangle{background-position:60% 2.5%}.em.em-black_small_square{background-position:0% 82.5%}.em.em-white_small_square{background-position:0% 85%}.em.em-black_large_square{background-position:10% 55%}.em.em-white_large_square{background-position:10% 57.5%}.em.em-small_red_triangle_down{background-position:60% 5%}.em.em-black_medium_square{background-position:0% 95%}.em.em-white_medium_square{background-position:0% 92.5%}.em.em-black_medium_small_square{background-position:0% 100%}.em.em-white_medium_small_square{background-position:0% 97.5%}.em.em-black_square_button{background-position:57.5% 85%}.em.em-white_square_button{background-position:57.5% 87.5%}.em.em-speaker{background-position:55% 82.5%}.em.em-sound{background-position:55% 85%}.em.em-loud_sound{background-position:55% 87.5%}.em.em-mute{background-position:55% 80%}.em.em-mega{background-position:52.5% 95%}.em.em-loudspeaker{background-position:52.5% 92.5%}.em.em-bell{background-position:57.5% 10%}.em.em-no_bell{background-position:57.5% 12.5%}.em.em-black_joker{background-position:10% 77.5%}.em.em-mahjong{background-position:10% 75%}.em.em-spades{background-position:2.5% 95%}.em.em-clubs{background-position:2.5% 97.5%}.em.em-hearts{background-position:2.5% 100%}.em.em-diamonds{background-position:5% 0%}.em.em-flower_playing_cards{background-position:22.5% 87.5%}.em.em-thought_balloon{background-position:50% 62.5%}.em.em-right_anger_bubble{background-position:65% 17.5%}.em.em-speech_balloon{background-position:50% 60%}.em.em-left_speech_bubble{background-position:65% 15%}.em.em-clock1{background-position:60% 27.5%}.em.em-clock2{background-position:60% 30%}.em.em-clock3{background-position:60% 32.5%}.em.em-clock4{background-position:60% 35%}.em.em-clock5{background-position:60% 37.5%}.em.em-clock6{background-position:60% 40%}.em.em-clock7{background-position:60% 42.5%}.em.em-clock8{background-position:60% 45%}.em.em-clock9{background-position:60% 47.5%}.em.em-clock10{background-position:60% 50%}.em.em-clock11{background-position:60% 52.5%}.em.em-clock12{background-position:60% 55%}.em.em-clock130{background-position:60% 57.5%}.em.em-clock230{background-position:60% 60%}.em.em-clock330{background-position:60% 62.5%}.em.em-clock430{background-position:60% 65%}.em.em-clock530{background-position:60% 67.5%}.em.em-clock630{background-position:60% 70%}.em.em-clock730{background-position:60% 72.5%}.em.em-clock830{background-position:60% 75%}.em.em-clock930{background-position:60% 77.5%}.em.em-clock1030{background-position:60% 80%}.em.em-clock1130{background-position:60% 82.5%}.em.em-clock1230{background-position:60% 85%}.em.em-flag-af{background-position:80% 90%}.em.em-flag-ax{background-position:82.5% 17.5%}.em.em-flag-al{background-position:80% 97.5%}.em.em-flag-dz{background-position:85% 37.5%}.em.em-flag-as{background-position:82.5% 7.5%}.em.em-flag-ad{background-position:80% 85%}.em.em-flag-ao{background-position:82.5% 0%}.em.em-flag-ai{background-position:80% 95%}.em.em-flag-aq{background-position:82.5% 2.5%}.em.em-flag-ag{background-position:80% 92.5%}.em.em-flag-ar{background-position:82.5% 5%}.em.em-flag-am{background-position:80% 100%}.em.em-flag-aw{background-position:82.5% 15%}.em.em-flag-au{background-position:82.5% 12.5%}.em.em-flag-at{background-position:82.5% 10%}.em.em-flag-az{background-position:82.5% 20%}.em.em-flag-bs{background-position:82.5% 60%}.em.em-flag-bh{background-position:82.5% 37.5%}.em.em-flag-bd{background-position:82.5% 27.5%}.em.em-flag-bb{background-position:82.5% 25%}.em.em-flag-by{background-position:82.5% 70%}.em.em-flag-be{background-position:82.5% 30%}.em.em-flag-bz{background-position:82.5% 72.5%}.em.em-flag-bj{background-position:82.5% 42.5%}.em.em-flag-bm{background-position:82.5% 47.5%}.em.em-flag-bt{background-position:82.5% 62.5%}.em.em-flag-bo{background-position:82.5% 52.5%}.em.em-flag-bq{background-position:82.5% 55%}.em.em-flag-ba{background-position:82.5% 22.5%}.em.em-flag-bw{background-position:82.5% 67.5%}.em.em-flag-br{background-position:82.5% 57.5%}.em.em-flag-io{background-position:87.5% 52.5%}.em.em-flag-vg{background-position:95% 80%}.em.em-flag-bn{background-position:82.5% 50%}.em.em-flag-bg{background-position:82.5% 35%}.em.em-flag-bf{background-position:82.5% 32.5%}.em.em-flag-bi{background-position:82.5% 40%}.em.em-flag-cv{background-position:85% 10%}.em.em-flag-kh{background-position:87.5% 80%}.em.em-flag-cm{background-position:82.5% 97.5%}.em.em-flag-ca{background-position:82.5% 75%}.em.em-flag-ic{background-position:87.5% 37.5%}.em.em-flag-ky{background-position:87.5% 97.5%}.em.em-flag-cf{background-position:82.5% 82.5%}.em.em-flag-td{background-position:95% 20%}.em.em-flag-cl{background-position:82.5% 95%}.em.em-flag-cn,.em.em-cn{background-position:82.5% 100%}.em.em-flag-cx{background-position:85% 15%}.em.em-flag-cc{background-position:82.5% 77.5%}.em.em-flag-co{background-position:85% 0%}.em.em-flag-km{background-position:87.5% 85%}.em.em-flag-cg{background-position:82.5% 85%}.em.em-flag-cd{background-position:82.5% 80%}.em.em-flag-ck{background-position:82.5% 92.5%}.em.em-flag-cr{background-position:85% 5%}.em.em-flag-hr{background-position:87.5% 30%}.em.em-flag-cu{background-position:85% 7.5%}.em.em-flag-cw{background-position:85% 12.5%}.em.em-flag-cy{background-position:85% 17.5%}.em.em-flag-cz{background-position:85% 20%}.em.em-flag-dk{background-position:85% 30%}.em.em-flag-dj{background-position:85% 27.5%}.em.em-flag-dm{background-position:85% 32.5%}.em.em-flag-do{background-position:85% 35%}.em.em-flag-ec{background-position:85% 42.5%}.em.em-flag-eg{background-position:85% 47.5%}.em.em-flag-sv{background-position:95% 5%}.em.em-flag-gq{background-position:87.5% 5%}.em.em-flag-er{background-position:85% 52.5%}.em.em-flag-ee{background-position:85% 45%}.em.em-flag-et{background-position:85% 57.5%}.em.em-flag-eu{background-position:85% 60%}.em.em-flag-fk{background-position:85% 67.5%}.em.em-flag-fo{background-position:85% 72.5%}.em.em-flag-fj{background-position:85% 65%}.em.em-flag-fi{background-position:85% 62.5%}.em.em-flag-fr,.em.em-fr{background-position:85% 75%}.em.em-flag-gf{background-position:85% 87.5%}.em.em-flag-pf{background-position:92.5% 20%}.em.em-flag-tf{background-position:95% 22.5%}.em.em-flag-ga{background-position:85% 77.5%}.em.em-flag-gm{background-position:85% 100%}.em.em-flag-ge{background-position:85% 85%}.em.em-flag-de,.em.em-de{background-position:85% 22.5%}.em.em-flag-gh{background-position:85% 92.5%}.em.em-flag-gi{background-position:85% 95%}.em.em-flag-gr{background-position:87.5% 7.5%}.em.em-flag-gl{background-position:85% 97.5%}.em.em-flag-gd{background-position:85% 82.5%}.em.em-flag-gp{background-position:87.5% 2.5%}.em.em-flag-gu{background-position:87.5% 15%}.em.em-flag-gt{background-position:87.5% 12.5%}.em.em-flag-gg{background-position:85% 90%}.em.em-flag-gn{background-position:87.5% 0%}.em.em-flag-gw{background-position:87.5% 17.5%}.em.em-flag-gy{background-position:87.5% 20%}.em.em-flag-ht{background-position:87.5% 32.5%}.em.em-flag-hn{background-position:87.5% 27.5%}.em.em-flag-hk{background-position:87.5% 22.5%}.em.em-flag-hu{background-position:87.5% 35%}.em.em-flag-is{background-position:87.5% 60%}.em.em-flag-in{background-position:87.5% 50%}.em.em-flag-id{background-position:87.5% 40%}.em.em-flag-ir{background-position:87.5% 57.5%}.em.em-flag-iq{background-position:87.5% 55%}.em.em-flag-ie{background-position:87.5% 42.5%}.em.em-flag-im{background-position:87.5% 47.5%}.em.em-flag-il{background-position:87.5% 45%}.em.em-flag-it,.em.em-it{background-position:87.5% 62.5%}.em.em-flag-ci{background-position:82.5% 90%}.em.em-flag-jm{background-position:87.5% 67.5%}.em.em-flag-jp,.em.em-jp{background-position:87.5% 72.5%}.em.em-flag-je{background-position:87.5% 65%}.em.em-flag-jo{background-position:87.5% 70%}.em.em-flag-kz{background-position:87.5% 100%}.em.em-flag-ke{background-position:87.5% 75%}.em.em-flag-ki{background-position:87.5% 82.5%}.em.em-flag-xk{background-position:95% 95%}.em.em-flag-kw{background-position:87.5% 95%}.em.em-flag-kg{background-position:87.5% 77.5%}.em.em-flag-la{background-position:90% 0%}.em.em-flag-lv{background-position:90% 22.5%}.em.em-flag-lb{background-position:90% 2.5%}.em.em-flag-ls{background-position:90% 15%}.em.em-flag-lr{background-position:90% 12.5%}.em.em-flag-ly{background-position:90% 25%}.em.em-flag-li{background-position:90% 7.5%}.em.em-flag-lt{background-position:90% 17.5%}.em.em-flag-lu{background-position:90% 20%}.em.em-flag-mo{background-position:90% 55%}.em.em-flag-mk{background-position:90% 45%}.em.em-flag-mg{background-position:90% 40%}.em.em-flag-mw{background-position:90% 75%}.em.em-flag-my{background-position:90% 80%}.em.em-flag-mv{background-position:90% 72.5%}.em.em-flag-ml{background-position:90% 47.5%}.em.em-flag-mt{background-position:90% 67.5%}.em.em-flag-mh{background-position:90% 42.5%}.em.em-flag-mq{background-position:90% 60%}.em.em-flag-mr{background-position:90% 62.5%}.em.em-flag-mu{background-position:90% 70%}.em.em-flag-yt{background-position:95% 100%}.em.em-flag-mx{background-position:90% 77.5%}.em.em-flag-fm{background-position:85% 70%}.em.em-flag-md{background-position:90% 32.5%}.em.em-flag-mc{background-position:90% 30%}.em.em-flag-mn{background-position:90% 52.5%}.em.em-flag-me{background-position:90% 35%}.em.em-flag-ms{background-position:90% 65%}.em.em-flag-ma{background-position:90% 27.5%}.em.em-flag-mz{background-position:90% 82.5%}.em.em-flag-mm{background-position:90% 50%}.em.em-flag-na{background-position:90% 85%}.em.em-flag-nr{background-position:92.5% 5%}.em.em-flag-np{background-position:92.5% 2.5%}.em.em-flag-nl{background-position:90% 100%}.em.em-flag-nc{background-position:90% 87.5%}.em.em-flag-nz{background-position:92.5% 10%}.em.em-flag-ni{background-position:90% 97.5%}.em.em-flag-ne{background-position:90% 90%}.em.em-flag-ng{background-position:90% 95%}.em.em-flag-nu{background-position:92.5% 7.5%}.em.em-flag-nf{background-position:90% 92.5%}.em.em-flag-mp{background-position:90% 57.5%}.em.em-flag-kp{background-position:87.5% 90%}.em.em-flag-no{background-position:92.5% 0%}.em.em-flag-om{background-position:92.5% 12.5%}.em.em-flag-pk{background-position:92.5% 27.5%}.em.em-flag-pw{background-position:92.5% 45%}.em.em-flag-ps{background-position:92.5% 40%}.em.em-flag-pa{background-position:92.5% 15%}.em.em-flag-pg{background-position:92.5% 22.5%}.em.em-flag-py{background-position:92.5% 47.5%}.em.em-flag-pe{background-position:92.5% 17.5%}.em.em-flag-ph{background-position:92.5% 25%}.em.em-flag-pn{background-position:92.5% 35%}.em.em-flag-pl{background-position:92.5% 30%}.em.em-flag-pt{background-position:92.5% 42.5%}.em.em-flag-pr{background-position:92.5% 37.5%}.em.em-flag-qa{background-position:92.5% 50%}.em.em-flag-re{background-position:92.5% 52.5%}.em.em-flag-ro{background-position:92.5% 55%}.em.em-flag-ru,.em.em-ru{background-position:92.5% 60%}.em.em-flag-rw{background-position:92.5% 62.5%}.em.em-flag-bl{background-position:82.5% 45%}.em.em-flag-sh{background-position:92.5% 80%}.em.em-flag-kn{background-position:87.5% 87.5%}.em.em-flag-lc{background-position:90% 5%}.em.em-flag-pm{background-position:92.5% 32.5%}.em.em-flag-vc{background-position:95% 75%}.em.em-flag-ws{background-position:95% 92.5%}.em.em-flag-sm{background-position:92.5% 92.5%}.em.em-flag-st{background-position:95% 2.5%}.em.em-flag-sa{background-position:92.5% 65%}.em.em-flag-sn{background-position:92.5% 95%}.em.em-flag-rs{background-position:92.5% 57.5%}.em.em-flag-sc{background-position:92.5% 70%}.em.em-flag-sl{background-position:92.5% 90%}.em.em-flag-sg{background-position:92.5% 77.5%}.em.em-flag-sx{background-position:95% 7.5%}.em.em-flag-sk{background-position:92.5% 87.5%}.em.em-flag-si{background-position:92.5% 82.5%}.em.em-flag-sb{background-position:92.5% 67.5%}.em.em-flag-so{background-position:92.5% 97.5%}.em.em-flag-za{background-position:97.5% 0%}.em.em-flag-gs{background-position:87.5% 10%}.em.em-flag-kr,.em.em-kr{background-position:87.5% 92.5%}.em.em-flag-ss{background-position:95% 0%}.em.em-flag-es,.em.em-es{background-position:85% 55%}.em.em-flag-lk{background-position:90% 10%}.em.em-flag-sd{background-position:92.5% 72.5%}.em.em-flag-sr{background-position:92.5% 100%}.em.em-flag-sz{background-position:95% 12.5%}.em.em-flag-se{background-position:92.5% 75%}.em.em-flag-ch{background-position:82.5% 87.5%}.em.em-flag-sy{background-position:95% 10%}.em.em-flag-tw{background-position:95% 52.5%}.em.em-flag-tj{background-position:95% 30%}.em.em-flag-tz{background-position:95% 55%}.em.em-flag-th{background-position:95% 27.5%}.em.em-flag-tl{background-position:95% 35%}.em.em-flag-tg{background-position:95% 25%}.em.em-flag-tk{background-position:95% 32.5%}.em.em-flag-to{background-position:95% 42.5%}.em.em-flag-tt{background-position:95% 47.5%}.em.em-flag-tn{background-position:95% 40%}.em.em-flag-tr{background-position:95% 45%}.em.em-flag-tm{background-position:95% 37.5%}.em.em-flag-tc{background-position:95% 17.5%}.em.em-flag-tv{background-position:95% 50%}.em.em-flag-ug{background-position:95% 60%}.em.em-flag-ua{background-position:95% 57.5%}.em.em-flag-ae{background-position:80% 87.5%}.em.em-flag-gb,.em.em-gb,.em.em-uk{background-position:85% 80%}.em.em-flag-us,.em.em-us{background-position:95% 65%}.em.em-flag-vi{background-position:95% 82.5%}.em.em-flag-uy{background-position:95% 67.5%}.em.em-flag-uz{background-position:95% 70%}.em.em-flag-vu{background-position:95% 87.5%}.em.em-flag-va{background-position:95% 72.5%}.em.em-flag-ve{background-position:95% 77.5%}.em.em-flag-vn{background-position:95% 85%}.em.em-flag-wf{background-position:95% 90%}.em.em-flag-eh{background-position:85% 50%}.em.em-flag-ye{background-position:95% 97.5%}.em.em-flag-zm{background-position:97.5% 2.5%}.em.em-flag-zw{background-position:97.5% 5%}.em.em-flag-ac{background-position:80% 82.5%}.em.em-flag-bv{background-position:82.5% 65%}.em.em-flag-cp{background-position:85% 2.5%}.em.em-flag-dg{background-position:85% 25%}.em.em-flag-ea{background-position:85% 40%}.em.em-flag-hm{background-position:87.5% 25%}.em.em-flag-mf{background-position:90% 37.5%}.em.em-flag-sj{background-position:92.5% 85%}.em.em-flag-ta{background-position:95% 15%}.em.em-flag-um{background-position:95% 62.5%}.maskModel[data-v-c0c0698d]{z-index:7777!important}.on[data-v-c0c0698d]{opacity:1!important;transform:scale(1)!important;-webkit-transform:scale(1)!important;-o-transform:scale(1)!important;-moz-transform:scale(1)!important;-ms-transform:scale(1)!important}.pl15[data-v-c0c0698d]{padding:0 15px}.sure[data-v-c0c0698d]{width:100%;height:480px;text-align:center}.sure-yuan[data-v-c0c0698d]{width:70px;height:70px;border-radius:50%;overflow:hidden;background:#55d443;margin:54px auto;line-height:70px}.sure .sp1[data-v-c0c0698d]{color:#333;font-size:16px}.sure .sp2[data-v-c0c0698d]{color:#999;font-size:13px}.feedback[data-v-c0c0698d]{position:fixed;width:320px;height:530px;border-radius:2px;background-color:#fff;z-index:9999;top:50%;left:50%;margin-left:-150px;margin-top:-237px;transition:all .3s ease-in-out 0s;-webkit-transition:all .3s ease-in-out 0s;-o-transition:all .3s ease-in-out 0s;-moz-transition:all .3s ease-in-out 0s;-webkit-transform:scale(0);transform:scale(0);opacity:0}.feedback-header[data-v-c0c0698d]{width:100%;height:50px;line-height:50px;padding:0 15px;background:-webkit-gradient(linear,right top,left top,from(#1890ff),to(#3875ea));background:linear-gradient(270deg,#1890ff,#3875ea);-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.feedback-header .sp1[data-v-c0c0698d]{color:#fff;font-size:16px}.feedback-conent[data-v-c0c0698d]{padding:15px}.feedback-conent .ft[data-v-c0c0698d]{color:#333;font-size:13px}@media (max-width: 767px){.feedback[data-v-c0c0698d]{top:0;left:0;width:100%;height:100dvh;margin:0;border-radius:0;background:var(--prev-bg-white)}.feedback-header[data-v-c0c0698d]{background:var(--prev-color-primary)}.feedback-conent .ft[data-v-c0c0698d]{color:var(--prev-color-text-regular)}}.em[data-v-b4599bf7]{display:inline-block;height:1em;width:1em;overflow:hidden;line-height:18px;font-size:22px;vertical-align:middle;margin-top:-4px;color:transparent!important;background-size:4100%;background-image:url(/admin/system_static/look-Cgrx0S6u.png)!important}.em.em-tlj-1[data-v-b4599bf7]{background-position:0% 0%}.em.em-tlj-2[data-v-b4599bf7]{background-position:0% 2.5%}.em.em-tlj-3[data-v-b4599bf7]{background-position:0% 5%}.em.em-tlj-4[data-v-b4599bf7]{background-position:0% 7.5%}.em.em-tlj-5[data-v-b4599bf7]{background-position:0% 10%}.em.em-tlj-6[data-v-b4599bf7]{background-position:0% 12.5%}.em.em-tlj-7[data-v-b4599bf7]{background-position:0% 15%}.em.em-tlj-8[data-v-b4599bf7]{background-position:0% 17.5%}.em.em-tlj-9[data-v-b4599bf7]{background-position:0% 20%}.em.em-tlj-10[data-v-b4599bf7]{background-position:0% 22.5%}.em.em-tlj-11[data-v-b4599bf7]{background-position:0% 25%}.em.em-tlj-12[data-v-b4599bf7]{background-position:0% 27.5%}.em.em-tlj-13[data-v-b4599bf7]{background-position:0% 30%}.em.em-tlj-14[data-v-b4599bf7]{background-position:0% 32.5%}.em.em-tlj-15[data-v-b4599bf7]{background-position:0% 35%}.em.em-tlj-16[data-v-b4599bf7]{background-position:0% 37.5%}.em.em-tlj-17[data-v-b4599bf7]{background-position:0% 40%}.em.em-tlj-18[data-v-b4599bf7]{background-position:0% 42.5%}.em.em-tlj-19[data-v-b4599bf7]{background-position:0% 45%}.em.em-tlj-20[data-v-b4599bf7]{background-position:0% 47.5%}.em.em-tlj-21[data-v-b4599bf7]{background-position:0% 50%}.em.em-tlj-22[data-v-b4599bf7]{background-position:0% 52.5%}.em.em-tlj-23[data-v-b4599bf7]{background-position:0% 55%}.em.em-tlj-24[data-v-b4599bf7]{background-position:0% 57.5%}.em.em-tlj-25[data-v-b4599bf7]{background-position:0% 60%}.em.em-tlj-26[data-v-b4599bf7]{background-position:0% 62.5%}.em.em-tlj-27[data-v-b4599bf7]{background-position:0% 65%}.em.em-tlj-28[data-v-b4599bf7]{background-position:0% 67.5%}.em.em-tlj-29[data-v-b4599bf7]{background-position:0% 70%}.em.em-tlj-30[data-v-b4599bf7]{background-position:0% 72.5%}.em.em-tlj-31[data-v-b4599bf7]{background-position:0% 75%}.em.em-tlj-32[data-v-b4599bf7]{background-position:0% 77.5%}.em.em-tlj-33[data-v-b4599bf7]{background-position:0% 80%}.em.em-tlj-34[data-v-b4599bf7]{background-position:0% 82.5%}.em.em-tlj-35[data-v-b4599bf7]{background-position:0% 85%}.em.em-tlj-36[data-v-b4599bf7]{background-position:0% 87.5%}.em.em-tlj-37[data-v-b4599bf7]{background-position:0% 90%}.em.em-tlj-38[data-v-b4599bf7]{background-position:0% 92.5%}.em.em-tlj-39[data-v-b4599bf7]{background-position:0% 95%}.em.em-tlj-40[data-v-b4599bf7]{background-position:0% 97.5%}.em.em-tlj-41[data-v-b4599bf7]{background-position:0% 100%}.em.em-tlj-42[data-v-b4599bf7]{background-position:2.5% 0%}.em.em-tlj-43[data-v-b4599bf7]{background-position:2.5% 2.5%}.em.em-tlj-44[data-v-b4599bf7]{background-position:2.5% 5%}.em.em-tlj-45[data-v-b4599bf7]{background-position:2.5% 7.5%}.em.em-tlj-46[data-v-b4599bf7]{background-position:2.5% 10%}.em.em-tlj-47[data-v-b4599bf7]{background-position:2.5% 12.5%}.em.em-tlj-48[data-v-b4599bf7]{background-position:2.5% 15%}.em.em-tlj-49[data-v-b4599bf7]{background-position:2.5% 17.5%}.em.em-tlj-50[data-v-b4599bf7]{background-position:2.5% 20%}.em.em-tlj-51[data-v-b4599bf7]{background-position:2.5% 22.5%}.em.em-tlj-52[data-v-b4599bf7]{background-position:2.5% 25%}.em.em-tlj-53[data-v-b4599bf7]{background-position:2.5% 27.5%}.em.em-tlj-54[data-v-b4599bf7]{background-position:2.5% 30%}.em.em-tlj-55[data-v-b4599bf7]{background-position:2.5% 32.5%}.em.em-tlj-56[data-v-b4599bf7]{background-position:2.5% 35%}.em.em-tlj-57[data-v-b4599bf7]{background-position:2.5% 37.5%}.em.em-tlj-58[data-v-b4599bf7]{background-position:2.5% 40%}.em.em-tlj-59[data-v-b4599bf7]{background-position:2.5% 42.5%}.em.em-tlj-60[data-v-b4599bf7]{background-position:2.5% 45%}.em.em-tlj-61[data-v-b4599bf7]{background-position:2.5% 47.5%}.em.em-tlj-62[data-v-b4599bf7]{background-position:2.5% 50%}.em.em-tlj-63[data-v-b4599bf7]{background-position:2.5% 52.5%}.em.em-tlj-64[data-v-b4599bf7]{background-position:2.5% 55%}.em.em-tlj-65[data-v-b4599bf7]{background-position:2.5% 57.5%}.em.em-tlj-66[data-v-b4599bf7]{background-position:2.5% 60%}.em.em-tlj-67[data-v-b4599bf7]{background-position:2.5% 62.5%}.em.em-tlj-68[data-v-b4599bf7]{background-position:2.5% 65%}.em.em-tlj-69[data-v-b4599bf7]{background-position:2.5% 67.5%}.em.em-tlj-70[data-v-b4599bf7]{background-position:2.5% 70%}.em.em-tlj-71[data-v-b4599bf7]{background-position:2.5% 72.5%}.em.em-tlj-72[data-v-b4599bf7]{background-position:2.5% 75%}.em.em-tlj-73[data-v-b4599bf7]{background-position:2.5% 77.5%}.em.em-tlj-74[data-v-b4599bf7]{background-position:2.5% 80%}.em.em-tlj-75[data-v-b4599bf7]{background-position:2.5% 82.5%}.em.em-tlj-76[data-v-b4599bf7]{background-position:2.5% 85%}.em.em-tlj-77[data-v-b4599bf7]{background-position:2.5% 87.5%}.em.em-tlj-78[data-v-b4599bf7]{background-position:2.5% 90%}.em.em-tlj-79[data-v-b4599bf7]{background-position:2.5% 92.5%}.em.em-tlj-80[data-v-b4599bf7]{background-position:2.5% 95%}.em.em-tlj-81[data-v-b4599bf7]{background-position:2.5% 97.5%}.em.em-tlj-82[data-v-b4599bf7]{background-position:2.5% 100%}.em.em-tlj-83[data-v-b4599bf7]{background-position:5% 0%}.em.em-tlj-84[data-v-b4599bf7]{background-position:5% 2.5%}.em.em-tlj-85[data-v-b4599bf7]{background-position:5% 5%}.em.em-tlj-86[data-v-b4599bf7]{background-position:5% 7.5%}.em.em-tlj-87[data-v-b4599bf7]{background-position:5% 10%}.em.em-tlj-88[data-v-b4599bf7]{background-position:5% 12.5%}.em.em-tlj-89[data-v-b4599bf7]{background-position:5% 15%}.em.em-tlj-90[data-v-b4599bf7]{background-position:5% 17.5%}.em.em-tlj-91[data-v-b4599bf7]{background-position:5% 20%}.em.em-tlj-92[data-v-b4599bf7]{background-position:5% 22.5%}.em.em-tlj-93[data-v-b4599bf7]{background-position:5% 25%}.em.em-tlj-94[data-v-b4599bf7]{background-position:5% 27.5%}.em.em-tlj-95[data-v-b4599bf7]{background-position:5% 30%}.em.em-tlj-96[data-v-b4599bf7]{background-position:5% 32.5%}li[data-v-b4599bf7]{list-style-type:none}.chat-room .room[data-v-b4599bf7]{border-radius:10px;position:fixed;top:calc(50% - 327px);left:calc(50% - 365px);z-index:999;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:730px;height:654px;background-color:#fff;overflow:hidden;-webkit-box-shadow:1px 1px 15px 0 rgba(0,0,0,.1);box-shadow:1px 1px 15px #0000001a}.chat-room .room.win[data-v-b4599bf7]{top:0;left:0;width:100%;height:100%}.chat-room .room .head[data-v-b4599bf7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:50px;padding-right:15px;padding-left:20px;background:linear-gradient(270deg,var(--prev-color-primary) 0%,#3875ea 100%)}.chat-room .room .head .image[data-v-b4599bf7]{width:36px;height:36px;border-radius:50%;overflow:hidden}.chat-room .room .head .image img[data-v-b4599bf7]{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.chat-room .room .head .name[data-v-b4599bf7]{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:0;margin-left:15px;font-size:16px;color:#fff}.chat-room .room .head .iconfont[data-v-b4599bf7]{width:25px;height:25px;font-size:16px;line-height:25px;text-align:center;color:#fff;cursor:pointer}.chat-room .room .main[data-v-b4599bf7]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;min-height:0}.chat-room .room .main .chat[data-v-b4599bf7]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-width:0}.chat-room .room .main .record[data-v-b4599bf7]{-webkit-box-flex:1;-ms-flex:1;flex:1;min-height:0;overflow-x:hidden;overflow-y:auto}.chat-room .room .main .record[data-v-b4599bf7]::-webkit-scrollbar{display:none}.chat-room .room .main .record ul[data-v-b4599bf7]{padding:20px}.chat-room .room .main .record li~li[data-v-b4599bf7]{margin-top:20px}.chat-room .room .main .record li[data-v-b4599bf7]:after{content:"";display:block;height:0;clear:both;visibility:hidden}.chat-room .room .main .record li.right .avatar[data-v-b4599bf7]{float:right}.chat-room .room .main .record li.right .content[data-v-b4599bf7]{text-align:right}.chat-room .room .main .record li.right .content>div[data-v-b4599bf7]{text-align:left}.chat-room .room .main .record .time-tag[data-v-b4599bf7]{padding-top:10px;padding-bottom:30px;text-align:center;color:#999}.chat-room .room .main .record .avatar[data-v-b4599bf7]{float:left;width:40px;height:40px;border-radius:50%;overflow:hidden}.chat-room .room .main .record .avatar.right[data-v-b4599bf7]{float:right}.chat-room .room .main .record .avatar img[data-v-b4599bf7]{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.chat-room .room .main .record .content[data-v-b4599bf7]{margin-right:56px;margin-left:56px}.chat-room .room .main .record .text[data-v-b4599bf7]{display:inline-block;min-height:41px;padding:10px 12px;border-radius:10px;background-color:#f5f5f5;font-size:15px;line-height:21px;color:#000}.chat-room .room .main .record .image[data-v-b4599bf7]{display:inline-block;max-width:50%;border-radius:10px;overflow:hidden}.chat-room .room .main .record .image img[data-v-b4599bf7]{display:block;max-width:100%}.chat-room .room .main .record .goods[data-v-b4599bf7],.chat-room .room .main .record .order[data-v-b4599bf7]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:320px;padding:10px 13px;border-radius:10px;background-color:#f5f5f5}.chat-room .room .main .record .thumb[data-v-b4599bf7]{width:60px;height:60px;border-radius:5px;overflow:hidden}.chat-room .room .main .record .thumb img[data-v-b4599bf7]{display:block;width:100%;height:100%}.chat-room .room .main .record .intro[data-v-b4599bf7]{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:0;margin-left:10px}.chat-room .room .main .record .intro .name[data-v-b4599bf7]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:15px;color:#000}.chat-room .room .main .record .intro .attr[data-v-b4599bf7]{margin-top:5px;font-size:12px;color:#999}.chat-room .room .main .record .intro .attr span[data-v-b4599bf7]{vertical-align:middle}.chat-room .room .main .record .intro .attr span~span[data-v-b4599bf7]{margin-left:10px}.chat-room .room .main .record .intro .group[data-v-b4599bf7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:5px}.chat-room .room .main .record .intro .group .money[data-v-b4599bf7]{font-size:14px;color:red}.chat-room .room .main .record .intro .group a[data-v-b4599bf7]{font-size:12px;color:var(--prev-color-primary)}.chat-room .room .main .editor[data-v-b4599bf7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:162px;border-top:1px solid #ececec}.chat-room .room .main .editor>div[data-v-b4599bf7]:first-child{font-size:0}.chat-room .room .main .editor button[data-v-b4599bf7]{border:none;background:none;outline:none}.chat-room .room .main .editor button~button[data-v-b4599bf7]{margin-left:20px}.chat-room .room .main .editor button.end[data-v-b4599bf7]{font-size:15px}.chat-room .room .main .editor button[data-v-b4599bf7]:hover,.chat-room .room .main .editor button:hover .iconfont[data-v-b4599bf7]{color:var(--prev-color-primary)}.chat-room .room .main .editor .editor-hd[data-v-b4599bf7]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:50px;padding-right:20px;padding-left:20px}.chat-room .room .main .editor .editor-hd .iconfont[data-v-b4599bf7]{line-height:1;color:#333}.chat-room .room .main .editor .editor-hd .emoji-panel[data-v-b4599bf7]{position:absolute;bottom:100%;left:5px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:390px;height:240px;padding-bottom:0;border:1px solid #ececec;margin-bottom:5px;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#fff;-webkit-box-shadow:1px 0 16px 0 rgba(0,0,0,.05);box-shadow:1px 0 16px #0000000d;overflow:hidden}.chat-room .room .main .editor .editor-hd .emoji-panel .emoji-tabs[data-v-b4599bf7]{display:-webkit-box;display:-ms-flexbox;display:flex;gap:8px;padding:10px 0 8px 10px;border-bottom:1px solid #ececec}.chat-room .room .main .editor .editor-hd .emoji-panel .emoji-tabs .tab-item[data-v-b4599bf7]{padding:2px 12px;font-size:12px;color:#999;cursor:pointer;border-radius:4px}.chat-room .room .main .editor .editor-hd .emoji-panel .emoji-tabs .tab-item[data-v-b4599bf7]:hover{color:var(--prev-color-primary)}.chat-room .room .main .editor .editor-hd .emoji-panel .emoji-tabs .tab-item.on[data-v-b4599bf7]{color:var(--prev-color-primary);background:var(--prev-color-primary-light-9)}.chat-room .room .main .editor .editor-hd .emoji-panel .emoji-list[data-v-b4599bf7]{-webkit-box-flex:1;-ms-flex:1;flex:1;min-height:0;max-height:none;padding-bottom:10px;overflow-y:auto}.chat-room .room .main .editor .editor-hd .emoji-panel .emoji-list[data-v-b4599bf7]::-webkit-scrollbar{width:4px}.chat-room .room .main .editor .editor-hd .emoji-panel .emoji-list[data-v-b4599bf7]::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:2px}.chat-room .room .main .editor .editor-hd .emoji-panel .em[data-v-b4599bf7]{width:28px;height:28px;padding:4px;margin-top:10px;margin-left:10px;-webkit-box-sizing:border-box;box-sizing:border-box}.chat-room .room .main .editor .editor-hd .emoji-panel .em[data-v-b4599bf7]:hover{background-color:#ececec}.chat-room .room .main .editor .editor-hd .emoji-panel .qq-item[data-v-b4599bf7]{display:inline-block;width:28px;height:28px;padding:3px 4px 4px;margin-top:10px;margin-left:10px;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:20px;line-height:21px;text-align:center;font-style:normal;cursor:pointer}.chat-room .room .main .editor .editor-hd .emoji-panel .qq-item[data-v-b4599bf7]:hover{background-color:#ececec}.chat-room .room .main .editor .icon-biaoqing1[data-v-b4599bf7],.chat-room .room .main .editor .icon-tupian1[data-v-b4599bf7]{font-size:22px}.chat-room .room .main .editor .icon-guanji[data-v-b4599bf7]{margin-right:5px;font-size:15px}.chat-room .room .main .editor .editor-bd[data-v-b4599bf7]{-webkit-box-flex:1;-ms-flex:1;flex:1;min-height:0}.chat-room .room .main .editor .editor-bd textarea[data-v-b4599bf7]{display:block;width:100%;height:100%;padding-right:20px;padding-left:20px;border:none;outline:none;resize:none;white-space:pre-wrap;overflow-wrap:break-word}.chat-room .room .main .editor .editor-bd textarea[data-v-b4599bf7]::-webkit-scrollbar{display:none}.chat-room .room .main .editor .editor-ft[data-v-b4599bf7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-right:20px;padding-bottom:20px}.chat-room .room .main .editor .editor-ft button[data-v-b4599bf7]{width:68px;height:26px;border:none;border-radius:3px;background-color:#3875ea;outline:none;font-size:13px;color:#fff}.chat-room .room .main .editor .editor-ft button[data-v-b4599bf7]:disabled{background-color:#ccc}.chat-room .room .main .notice[data-v-b4599bf7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:260px;border-left:1px solid #ececec}.chat-room .room .main .notice .rich[data-v-b4599bf7]{-webkit-box-flex:1;-ms-flex:1;flex:1;min-height:0;padding:18px 18px 0;overflow-x:hidden;overflow-y:auto}.chat-room .room .main .notice .rich[data-v-b4599bf7]::-webkit-scrollbar{display:none}.chat-room .room .main .notice .rich[data-v-b4599bf7] img{width:100%}.chat-room .room .main .notice .rich[data-v-b4599bf7] video{width:100%}.chat-room .room .main .notice .copy[data-v-b4599bf7]{padding-top:15px;padding-bottom:15px;font-size:12px;text-align:center;color:#ccc!important;text-decoration:none}@media (max-width: 900px){.chat-room .room .main .notice[data-v-b4599bf7]{display:none}}@media (max-width: 767px){.chat-room[data-v-b4599bf7]{width:100%;height:100dvh;padding:4px;-webkit-box-sizing:border-box;box-sizing:border-box;background:var(--prev-bg-main-color)}.chat-room .room[data-v-b4599bf7],.chat-room .room.win[data-v-b4599bf7]{top:4px;left:4px;width:calc(100% - 8px);height:calc(100dvh - 8px);border-radius:6px;-webkit-box-shadow:none;box-shadow:none}.chat-room .room .head[data-v-b4599bf7],.chat-room .room.win .head[data-v-b4599bf7]{-webkit-box-flex:0;-ms-flex:none;flex:none;height:56px;padding:0 16px}.chat-room .room .head .image[data-v-b4599bf7],.chat-room .room.win .head .image[data-v-b4599bf7]{width:34px;height:34px}.chat-room .room .head .name[data-v-b4599bf7],.chat-room .room.win .head .name[data-v-b4599bf7]{margin-left:10px;font-size:16px}.chat-room .room .head .icon-guanbi5[data-v-b4599bf7],.chat-room .room.win .head .icon-guanbi5[data-v-b4599bf7]{display:none}.chat-room .room .main[data-v-b4599bf7],.chat-room .room.win .main[data-v-b4599bf7]{width:100%}.chat-room .room .main .chat[data-v-b4599bf7],.chat-room .room.win .main .chat[data-v-b4599bf7],.chat-room .room .main .record[data-v-b4599bf7],.chat-room .room.win .main .record[data-v-b4599bf7]{background:var(--prev-bg-main-color)}.chat-room .room .main .record ul[data-v-b4599bf7],.chat-room .room.win .main .record ul[data-v-b4599bf7]{padding:16px 12px}.chat-room .room .main .record li~li[data-v-b4599bf7],.chat-room .room.win .main .record li~li[data-v-b4599bf7]{margin-top:16px}.chat-room .room .main .record .time-tag[data-v-b4599bf7],.chat-room .room.win .main .record .time-tag[data-v-b4599bf7]{padding:6px 0 18px;color:var(--prev-color-text-secondary)}.chat-room .room .main .record .avatar[data-v-b4599bf7],.chat-room .room.win .main .record .avatar[data-v-b4599bf7]{width:36px;height:36px}.chat-room .room .main .record .content[data-v-b4599bf7],.chat-room .room.win .main .record .content[data-v-b4599bf7]{margin-right:48px;margin-left:48px}.chat-room .room .main .record .text[data-v-b4599bf7],.chat-room .room.win .main .record .text[data-v-b4599bf7]{max-width:100%;min-height:36px;padding:8px 10px;border-radius:6px;background:var(--prev-bg-white);font-size:15px}.chat-room .room .main .record .image[data-v-b4599bf7],.chat-room .room.win .main .record .image[data-v-b4599bf7]{max-width:72%}.chat-room .room .main .record .goods[data-v-b4599bf7],.chat-room .room .main .record .order[data-v-b4599bf7],.chat-room .room.win .main .record .goods[data-v-b4599bf7],.chat-room .room.win .main .record .order[data-v-b4599bf7]{width:min(280px,100vw - 108px);border-radius:6px;background:var(--prev-bg-white)}.chat-room .room .main .editor[data-v-b4599bf7],.chat-room .room.win .main .editor[data-v-b4599bf7]{position:relative;display:block;-webkit-box-flex:0;-ms-flex:none;flex:none;height:152px;margin:0 12px 12px;overflow:visible;-webkit-box-sizing:border-box;box-sizing:border-box;background:transparent}.chat-room .room .main .editor .editor-hd[data-v-b4599bf7],.chat-room .room.win .main .editor .editor-hd[data-v-b4599bf7]{position:absolute;z-index:2;bottom:10px;left:14px;height:32px;padding:0}.chat-room .room .main .editor .editor-hd>div[data-v-b4599bf7]:first-child,.chat-room .room.win .main .editor .editor-hd>div[data-v-b4599bf7]:first-child{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:32px}.chat-room .room .main .editor .editor-hd button[data-v-b4599bf7],.chat-room .room.win .main .editor .editor-hd button[data-v-b4599bf7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:32px;height:32px;color:var(--prev-color-text-regular)}.chat-room .room .main .editor .editor-hd button~button[data-v-b4599bf7],.chat-room .room.win .main .editor .editor-hd button~button[data-v-b4599bf7]{margin-left:10px}.chat-room .room .main .editor .editor-hd .emoji-panel[data-v-b4599bf7],.chat-room .room.win .main .editor .editor-hd .emoji-panel[data-v-b4599bf7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;bottom:calc(100% + 8px);left:0;width:min(360px,100vw - 48px);height:min(240px,100dvh - 220px);max-height:none;padding-bottom:0;-webkit-box-sizing:border-box;box-sizing:border-box;border-color:var(--prev-border-color-lighter);background:var(--prev-bg-white);overflow:hidden}.chat-room .room .main .editor .editor-hd .emoji-panel .emoji-tabs[data-v-b4599bf7],.chat-room .room.win .main .editor .editor-hd .emoji-panel .emoji-tabs[data-v-b4599bf7]{-webkit-box-flex:0;-ms-flex:none;flex:none}.chat-room .room .main .editor .editor-hd .emoji-panel .emoji-list[data-v-b4599bf7],.chat-room .room.win .main .editor .editor-hd .emoji-panel .emoji-list[data-v-b4599bf7]{-webkit-box-flex:1;-ms-flex:1;flex:1;min-height:0;max-height:none;padding-bottom:10px;overflow-y:auto}.chat-room .room .main .editor .editor-bd[data-v-b4599bf7],.chat-room .room.win .main .editor .editor-bd[data-v-b4599bf7]{height:100%;overflow:hidden;border:1px solid var(--prev-border-color-lighter);border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;background:var(--prev-bg-white);-webkit-transition:border-color .2s ease;transition:border-color .2s ease}.chat-room .room .main .editor .editor-bd textarea[data-v-b4599bf7],.chat-room .room.win .main .editor .editor-bd textarea[data-v-b4599bf7]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:14px 16px 52px;border-radius:inherit;background:transparent;font-size:15px}.chat-room .room .main .editor:focus-within .editor-bd[data-v-b4599bf7],.chat-room .room.win .main .editor:focus-within .editor-bd[data-v-b4599bf7]{border-color:var(--prev-color-primary)}.chat-room .room .main .editor .editor-ft[data-v-b4599bf7],.chat-room .room.win .main .editor .editor-ft[data-v-b4599bf7]{position:absolute;right:14px;bottom:10px;z-index:2;padding:0}.chat-room .room .main .editor .editor-ft button[data-v-b4599bf7],.chat-room .room.win .main .editor .editor-ft button[data-v-b4599bf7]{width:68px;height:32px;border-radius:4px;background:var(--prev-color-primary)}.chat-room .room .main .editor .editor-ft button[data-v-b4599bf7]:disabled,.chat-room .room.win .main .editor .editor-ft button[data-v-b4599bf7]:disabled{background:var(--prev-color-text-placeholder)}} diff --git a/backend/public/admin/system_static/index-DG2dYFdM.css b/backend/public/admin/system_static/index-DG2dYFdM.css new file mode 100644 index 000000000..7f017394f --- /dev/null +++ b/backend/public/admin/system_static/index-DG2dYFdM.css @@ -0,0 +1 @@ +.tips[data-v-7cb70930]{font-size:12px;color:#999;line-height:1.5;margin-top:4px}.picBox[data-v-7cb70930]{width:60px;height:60px;border:1px dashed #dcdfe6;border-radius:4px;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden}.picBox .pictrue[data-v-7cb70930]{width:100%;height:100%}.picBox .pictrue img[data-v-7cb70930]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.picBox .upLoad[data-v-7cb70930]{width:100%;height:100%}.tabBox_img[data-v-7cb70930]{width:36px;height:36px;border-radius:4px;overflow:hidden}.tabBox_img img[data-v-7cb70930]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover} diff --git a/backend/public/admin/system_static/index-DHL7RTL2.js b/backend/public/admin/system_static/index-DHL7RTL2.js new file mode 100644 index 000000000..52acf9ab6 --- /dev/null +++ b/backend/public/admin/system_static/index-DHL7RTL2.js @@ -0,0 +1,140 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["system_static/index-U2-3zwf3.js","system_static/element-plus-C_ZDq0cz.js","system_static/element-plus-BMPTpAlv.css","system_static/api-OAtPGPHN.js","system_static/monaco-editor-uXAv8CL-.js","system_static/monaco-editor-gC43XGTT.css","system_static/form-create-7SMPLzS9.js","system_static/vxe-CHB4XD1z.js","system_static/vxe-B-xomzuK.css","system_static/index-CfS_ozPG.css","system_static/index-Cc9GWsRf.js","system_static/marketing-BAfn8OEa.js","system_static/validate-a11VBqc7.js","system_static/export-D13HPb6l.js","system_static/newToExcel-Ce_ClQ6v.js","system_static/xlsx-DvXcP_SB.js","system_static/index-BcoZDLPl.css","system_static/index-DM3IbC_I.js","system_static/index-CYgESPmX.js","system_static/index-C2Zmd2Xm.js","system_static/index-Jo0At4NP.css","system_static/index-qanQGPk7.js","system_static/index-Foz12oHc.css","system_static/index-Beo5Mkpq.js","system_static/wangeditor-D-KRDJ3T.js","system_static/wangeditor-ClAmh1bA.css","system_static/registerMenus-BIn2m7Us.js","system_static/registerMenus-DsmtZa-8.css","system_static/index-B9KSJDOT.css","system_static/index-FXNuAOau.js","system_static/index-C9P97TTT.css","system_static/index-BJFZQU9r.css","system_static/index-BBKMivHI.js","system_static/index-DwHGPp4b.css","system_static/index-BYm7nlX3.js","system_static/cards-kFTwJ5CA.js","system_static/cards-R1Ybou8A.css","system_static/index-CI9Rme9v.css","system_static/PageContainer-CwNjVoS0.js","system_static/PageContainer-BVjHQf20.css","system_static/channelCodeIndex-CHwxEGpT.js","system_static/api-DA9KG23L.js","system_static/channelCodeIndex-GXsB5Bax.css","system_static/createCode-CYd5sOvE.js","system_static/index-BroL-9rZ.js","system_static/index-CU0B1mSW.css","system_static/index-ClezV1By.js","system_static/app-hJ6HxRad.js","system_static/index-CuzkuoCM.css","system_static/user-Blgc2iHx.js","system_static/index-D9y4vq66.js","system_static/index-DqtXpMJ8.css","system_static/createCode-mLfAZj29.css","system_static/codeStatistic-Ct6__wKR.js","system_static/index-K7mJi7Sh.js","system_static/echarts-CylxjQLW.js","system_static/echarts-C6m23LPs.js","system_static/codeStatistic-DzNFYkq-.css","system_static/index-B9iJncpm.js","system_static/api-WYxeAVAk.js","system_static/index-pFXRJvuX.css","system_static/index-BmirIms0.js","system_static/index-BkwulBUA.css","system_static/index-D_W-9v0W.js","system_static/index-D_q-Ekb4.css","system_static/index-DRmsR4fb.js","system_static/index-BdCVplkw.css","system_static/index-DixSFioh.js","system_static/couponProduct-TuDixKV1.js","system_static/index-BXdg6YJo.js","system_static/index-BWirwKLf.css","system_static/index-B14gRfLE.js","system_static/vipPriceSet-xUhp1jU1.js","system_static/vipPriceSet-gxSxxN07.css","system_static/index-D0bM2ltG.css","system_static/index-DpIbV1C8.js","system_static/OtherSetting-BWm0KY_q.js","system_static/useLabel-CIIjfVL7.js","system_static/vuedraggable.umd-fTw9SVdO.js","system_static/useLabel-LJws4YKa.css","system_static/OtherSetting-DdmifY4S.css","system_static/index-BS6HoU40.css","system_static/index-TGJoY1P3.js","system_static/api-CuxUM2v-.js","system_static/index-DklUzgiY.css","system_static/create-bl0RFWlt.js","system_static/create-BxBp4tnQ.css","system_static/index-WBcBCA2K.js","system_static/from-Bx8xpz66.js","system_static/index-OcjqxUiE.css","system_static/defaults-3EyKQ7rz.js","system_static/aside-Ct0KePfj.js","system_static/header-GEaJ1_Kn.js","system_static/screenfull-BDHcr3-M.js","system_static/icon-C8INUNkX.js","system_static/header-BI__SDxR.css","system_static/aside-BPzrVeQ6.css","system_static/main-D8Bhuck4.js","system_static/keepAliveNames-DXzO5c1g.js","system_static/system-C_6vcZAB.js","system_static/main-3BatMCKA.css","system_static/classic-DBkTXhBw.js","system_static/transverse--S0pPBPX.js","system_static/columns-vNuT95U_.js","system_static/columns-hJG3dco0.css","system_static/index-DmKKZdQu.js","system_static/api-F07lxUgi.js","system_static/store-Uf3gwVpr.js","system_static/socket-DARqh6Ia.js","system_static/index-BCrO6Kuk.css","system_static/chat_list-D23HiL_U.js","system_static/notice-RG9GT7UO.js","system_static/empty-9253BCs-.js","system_static/empty-DbzrnqVF.css","system_static/chat_list-BXP92vqi.css","system_static/index-DW3dfjpg.js","system_static/swiper-DMZl3ZjC.js","system_static/swiper-DIrZlAKD.css","system_static/emoji-Bf3wLaas.js","system_static/index-Db9FdXkt.css","system_static/index-Cv0BAQrw.js","system_static/index-xzecTCcL.css","system_static/index-Mdy8aLlk.js","system_static/index-DW5EnBpO.css","system_static/index-DRfwWi2b.js","system_static/moren-BuCU3pD7.js","system_static/index-DFrkpL_P.css","system_static/index-BxlYWKs6.js","system_static/userLevel-t0L_1r_R.js","system_static/index-dI0Uq617.css","system_static/speechcraft-Dc7VIty2.js","system_static/speechcraft-DH7Mh3co.css","system_static/feedback-CsdA5MJQ.js","system_static/autoReply-BXyvByB7.js","system_static/autoReply-p0QXOSr9.css","system_static/config-JfvM_Q2I.js","system_static/lotteryList-C_iyDvLw.js","system_static/api-CkTOrWll.js","system_static/lotteryList-1iG5TvNJ.css","system_static/config-yQbilv3l.js","system_static/config-BqpXIccF.css","system_static/index-DDVpj_Vx.js","system_static/index-CugQ9vpM.css","system_static/create-C0WQAxxM.js","system_static/sortable.esm-C9jepji9.js","system_static/userLabel-Bfejie0w.js","system_static/userLabel-BDpzbLCj.css","system_static/editorImg-CgC4L1e6.js","system_static/create-DzEeMplL.css","system_static/recordingList-D6Hyfv0q.js","system_static/order-61Db5vVU.js","system_static/recordingList-BnL0FcW_.css","system_static/App-DL5-CEn5.js","system_static/file-success-DULWj9TL.js","system_static/plugin-BtX0g2Z9.js","system_static/expressi-pvEIYRE3.js","system_static/order_icon-kRzQraQC.js","system_static/App-C5ePyr6f.css","system_static/index-ocZyRr8G.js","system_static/api-DrXU68ht.js","system_static/index-RpZcHxfz.css","system_static/index-B-GLxux4.js","system_static/vue-tree-list.es-Ci9W7bTx.js","system_static/index-DIDJPSDg.css","system_static/index-TH3O1Dk5.js","system_static/api-DEOgbDDm.js","system_static/index-DIcSIb5R.css","system_static/create-Do0womH6.js","system_static/create-OOYR2wfy.css","system_static/index-BTDA8QGr.js","system_static/index-G67RCoZy.css","system_static/create-2r2vtRUT.js","system_static/create-CGwjk1Hq.css","system_static/index-DfEeeLUn.js","system_static/index-D_l3ZG69.css","system_static/index-CDtR_H-e.js","system_static/index-DG2dYFdM.css","system_static/index-7WEFTgt-.js","system_static/api-sRNjWbbq.js","system_static/opendir-BsieCZtT.js","system_static/opendir-DA3f8Ufk.css","system_static/login-2v5q6OSl.js","system_static/login-DK5sFjJB.css","system_static/App-BbLou-Lv.js","system_static/api-D06-m3Vw.js","system_static/addAttr-rwPSDERC.js","system_static/addAttr-CQ7n0fC2.css","system_static/App-CylSJUVC.css","system_static/index-BqHzK2dW.js","system_static/api-Bi3YkYmz.js","system_static/index-2ZEzXnqh.css","system_static/index-CJIz5l5o.js","system_static/index-CV87dtWp.css","system_static/index-g_5bzGSB.js","system_static/index-BeRxGkDP.js","system_static/index-DC9wwYci.css","system_static/create-BKnT-EMg.js","system_static/create-GyDWxhOw.css","system_static/list-BClnHwTg.js","system_static/list-BpQQYdEH.css","system_static/add-CXZ5ypxl.js","system_static/add-BmoSYUu7.css","system_static/list-KdFU50EB.js","system_static/index-dlQRSiyc.js","system_static/mobilefoot-C3C9xKqL.js","system_static/api-BkA92x09.js","system_static/index-B4IpvDdX.css","system_static/tag-a8CNFtkP.js","system_static/message-Cl70jGbg.js","system_static/order-CMbOGVbG.js","system_static/message-DaiRm4UD.css","system_static/index-CwCdA-00.js","system_static/save-ByhDmg8-.js","system_static/save-DJiUFQBd.css","system_static/follow-DvaTSkhw.js","system_static/follow-58QJGNKp.css","system_static/keyword-CP7n5djg.js","system_static/keyword-EGFc8ARd.css","system_static/index-Bp-oG-xv.js","system_static/index-BNh-i5iE.js","system_static/index-H8cSkmSc.css","system_static/index-BOsWNpIp.js","system_static/index-Dms_Egq6.css","system_static/index-DmLpiYKV.js","system_static/index-DTtEwlc0.css","system_static/index-BPMZxhk3.js","system_static/index-BATgnXbi.js","system_static/index-zyNNen1O.css","system_static/index-CVuS9gjs.js","system_static/index-DsZGn_hJ.css","system_static/index-uBi9K5Z2.js","system_static/index-pLNU0W-L.css","system_static/list-BSQ9nt6e.js","system_static/list-H3GvTCBA.css","system_static/index-CRyRJvf-.js","system_static/index-CTEX-Odb.css","system_static/index-BciuNPQg.js","system_static/index-CzfsvcoF.css","system_static/index-xuyKY44A.js","system_static/orderCenter-CFBp04xC.js","system_static/index-BZxAZssH.css","system_static/detail-7FxJXZqg.js","system_static/DetailLogistics-Bya3j2yF.js","system_static/DetailLogistics-dICRUuLI.css","system_static/detail-DCf0_qwl.css","system_static/index-CD0E6by0.js","system_static/afterSale-B_OkLLdC.js","system_static/index-BPZiC_rp.css","system_static/detail-BQJeVvL7.js","system_static/detail-BN1Ih8Q9.css","system_static/index-Bsy0SbuZ.js","system_static/api-Cf_YNigo.js","system_static/index-W2BMQOIT.css","system_static/index-B_Jz-e5D.js","system_static/membershipLevel-C-i0J-Hs.js","system_static/index-Cy80wCWP.css","system_static/index-D-hXPnKl.js","system_static/index-yyd4Mtii.css","system_static/index-B4KDpYjG.js","system_static/index-CJscUFt0.css","system_static/index-BzpkD0Or.js","system_static/index-Dqb-fG_U.css","system_static/index-zlLTrIyl.js","system_static/index-CwY6kbWl.css","system_static/list-DPX52RqS.js","system_static/list-CVINa5Lj.css","system_static/index-Dk9wwmzf.js","system_static/index-DtIg_FRB.js","system_static/index-DLy1lZNt.css","system_static/index-mZjJWP4o.js","system_static/index-CL7NxHKs.js","system_static/index-BMyXtDsj.css","system_static/index-C24kkrXg.js","system_static/index-CcPLC6Wr.js","system_static/index-C0pMrD-p.css","system_static/index-DPk6ZJh1.js","system_static/authLapse-UNQuIcwX.js","system_static/index-BXIJJ_bG.js","system_static/systemMenus-A7RZD8uO.js","system_static/index-C_e-GUyL.js","system_static/index-CwDu3hlz.css","system_static/layout-BstPWRqw.js","system_static/index-BLYeLE9Z.css","system_static/index-B_LSCRpr.js","system_static/index-ONR4g52Y.css","system_static/index-u5ML1CMo.js","system_static/index-DaJ9oQOu.css","system_static/index-C5aCmoOY.js","system_static/printer-ByWczRt9.js","system_static/usePrinterAuth-I2ixLXHJ.js","system_static/index-BbkNeK5C.css","system_static/content--56iX3eK.js","system_static/index-CIbY4f6Z.js","system_static/cms-BakSzEoF.js","system_static/index-Dhd_DmKE.css","system_static/content-DtQPAsi4.css","system_static/index-Ciz1Y7Qs.js","system_static/index-BUW_EdOq.css","system_static/index-C9edqb5w.js","system_static/index-Cu7i-P1g.css","system_static/member-UbZpAD73.js","system_static/notification-DlT15PB9.js","system_static/notificationEdit-wyy7bPNQ.js","system_static/notificationEdit-36Cz41Ah.css","system_static/member-CN0tsE6K.css","system_static/platform-Caw6KRyN.js","system_static/platform-C6A7rh97.css","system_static/index-Dcy8YGqz.js","system_static/index-CUFtVRqi.css","system_static/index-DSYG81ND.js","system_static/index-PTF8tHVI.css","system_static/index-QXgnvYvY.js","system_static/index-CetprEls.css","system_static/index-CB9LyaQm.js","system_static/index-DEagGnG2.css","system_static/index-CsxL8S1a.js","system_static/index-CHwiGZ8T.css","system_static/index-sVJczBkx.js","system_static/index-D8N21Pq6.css","system_static/index-Sv6pe8Rb.js","system_static/index-CIzI5-ig.css","system_static/index-C1PTqLW9.js","system_static/index-Cf6yyRFo.js","system_static/index-BUIAESmA.css","system_static/index-DPS1rS4C.js","system_static/index-BhcO48j7.css","system_static/index-nQfFfgqU.js","system_static/index-DfFCb7VE.css","system_static/index-R-ieEg68.js","system_static/list-Wa-6ytNf.js","system_static/f-MniSWpLh.js","system_static/pagination-Dk5F8jas.js","system_static/pagination-Bgnky0_b.css","system_static/mobildConfig-D-hsabUr.js","system_static/list-DEMQxysn.css","system_static/index-CyuLu7BI.js","system_static/index-DxXwIipo.css","system_static/index-DB-KGoE1.js","system_static/index-0A1I8l_G.css","system_static/diyIndex-fnxQJQda.js","system_static/diyIndex-BKHKFqFf.css","system_static/links-fkqlecoa.js","system_static/links-IsmEP3ik.css","system_static/index-OwsbfN-z.js","system_static/index-wWtDFQL7.css","system_static/visualization-BUgUYtp0.js","system_static/visualization-DDGq3i8Q.css","system_static/index-aVagswsh.js","system_static/index-DIChqSsx.css","system_static/list-B0A9--hb.js","system_static/langList-ClK7cuUP.js","system_static/langList-ByEaDGo5.css","system_static/country-aNvTrvCu.js","system_static/country-CLvqH4WN.css","system_static/index-CrVcp5FK.js","system_static/index-CWm_4sIW.js","system_static/index-CSiaJNcw.css","system_static/index-RoGYZEhJ.css","system_static/index-BjFMrWOz.js","system_static/index-CmJiM6qW.css","system_static/index-BQRoiRbm.js","system_static/index-BTQEHEeo.css","system_static/index-CUfKiWTY.js","system_static/index-CWswhIn3.js","system_static/index-BGBlkmqT.css","system_static/index-Cegf9kSB.js","system_static/index-CilM6r8s.css","system_static/index-CtENg7a6.js","system_static/index-ByWbh4H5.css","system_static/index-BrWh5x-K.js","system_static/index-BpapDzkP.css","system_static/index-CpSbpgzD.js","system_static/index-BL8qeyuG.css","system_static/index-Cl9SCNe7.js","system_static/index-BYjJLrMj.css","system_static/index-CJyyINXz.js","system_static/index-D7I8woVD.css","system_static/index-BYKnoFyn.js","system_static/index-Cr8BOPv8.css","system_static/index-FOMYFAu-.js","system_static/index-BW8heJ1r.css","system_static/index-B3O73jsZ.js","system_static/index-D8Gxn4aj.css","system_static/index-CzCcUbWJ.js","system_static/index-DuZInbg1.css","system_static/index-bZ3Wyuup.js","system_static/index-BuP6BLjn.css","system_static/index-ydfS5zXO.js","system_static/finance-CSn9G5kh.js","system_static/statistic-BeRWO-o3.js","system_static/index-Cas7-n7e.css","system_static/index-B63tfpEn.js","system_static/index-C9pjde8B.css","system_static/index-DL7U1mkp.js","system_static/index-C6rRQCTO.css","system_static/index-nT_PfLoh.js","system_static/index-CjpKS8Xv.css","system_static/index-DBGuOLOy.js","system_static/index-DCfvO22S.css","system_static/index-D_tX3x9B.js","system_static/index-CTv_pWHu.css","system_static/index-BCyf9cRk.js","system_static/index-CSLn1Xdr.css","system_static/index-BoCKMsix.js","system_static/index-nhaBWMH-.css","system_static/index-DNk6R4kZ.js","system_static/index-C9jFQRIm.css","system_static/index-C1p58Gve.js","system_static/index-TvlKgU_y.css","system_static/index-C6_gM9tb.js","system_static/index-D0h0OCRo.css","system_static/create-DlUHCJET.js","system_static/create-CV4yvf2w.css","system_static/user-DBtndEOn.js","system_static/index-CwReLhQN.js","system_static/index-CssbYOx7.css","system_static/index-9Rmdoc27.js","system_static/index-COgT5yo1.css","system_static/index-Uwn00YUw.js","system_static/index-CgSOmRtP.js","system_static/index-CIiybnwF.css","system_static/index-C6YWK6gX.js","system_static/systemCodeGeneration-DVBdGskJ.js","system_static/index-C0tUCmxZ.css","system_static/index-DzSJggaC.js","system_static/index-C1cnpQHB.css","system_static/dataList-o7Jl1Q7l.js","system_static/dataList-CWjVmrJO.css","system_static/list-BVaRsd6T.js","system_static/list-CPSNrAX9.css","system_static/index-BJjGkk2i.js","system_static/index-CP0itCJF.css","system_static/index-BFJwPq9k.js","system_static/index-BL7Hugou.css","system_static/index-B0CaW8di.js","system_static/index-Dx91QVl6.css","system_static/index-Boajy8aR.js","system_static/index-qvtv1395.js","system_static/index-SUbiMpkf.css","system_static/index-DNB2tN3j.js","system_static/index-Df3UYMQv.css","system_static/index-xBvn8wiZ.js","system_static/list-CIYUTKFF.js","system_static/list-BeU63AmV.css","system_static/index-BfVwTx0H.js","system_static/index-Du3NggMr.css","system_static/index-DizgX-Cm.js","system_static/index-TvE-Rb2c.css","system_static/index-CldgT2Ws.js","system_static/index-D9x6LhmM.css","system_static/index-ToC61P6L.js","system_static/index-Bn3hiSFi.css","system_static/index-C12uyhCR.js","system_static/index-Dgs19s1k.css","system_static/index-DuCZl4AA.js","system_static/index-CwyS3nH9.css","system_static/index-CmKAitNc.js","system_static/index-DSCwNb0J.css","system_static/index-MjwNDJx_.js","system_static/index-Bl0-mY_w.css","system_static/index-T5B16eZX.js","system_static/index-D55PmjLQ.css","system_static/index-D6DBiyhz.js","system_static/index-TtZ6HtEi.css","system_static/index-BUfKU4C3.js","system_static/index-DxdDUfdc.css","system_static/index-DwL6ptBU.js","system_static/index-DtxE1d5r.css","system_static/index-D6yf77in.js","system_static/index-D_0r1DXt.css","system_static/index-1GFSfALR.js","system_static/index-uDVLtbLX.css","system_static/index-CikBKh7E.js","system_static/index-8mHMmBy7.css","system_static/index-BrazCYHr.js","system_static/index-BURA8Ns7.css","system_static/widgetImg-CyoW-wLR.js","system_static/widgetImg-CrzJCpDL.css","system_static/index-CvoyNpmC.js","system_static/index-CZc0X988.css","system_static/index-0l_wdoHx.js","system_static/index-Cu1iMeao.css","system_static/index-CqalUoEe.js","system_static/index-6DEBuo1d.css","system_static/index-VPoDaoLt.js","system_static/error-content-DaJxR5pX.js","system_static/error-content-DWvwR9Cz.css","system_static/index-uYvvEAPv.js","system_static/index-BbAH76-s.js"])))=>i.map(i=>d[i]); +import{l as P1,m as jc,P as In,Q as w5,R as Hn,N as $c,S as C_,U as M_,r as N6,n as T3,t as B_,p as A2,f as l6,q as R_,i as R6,V as w_,J as V7,M as A_,L as z_,W as y3,X as S_,O as Vn,d as D5,h as q6,G as J8,Y as w2,I as M9,Z as p2,g as V4,a as I5,o as k_,j as j1,_ as T_,F as N4,k as m2,y as K1,z as h2,C as Q1,$ as C2,a0 as i0,A as R1,a1 as b3,B as U2,H as H2,a2 as f4,a3 as L_,a4 as F_,a5 as rn,a6 as s7,a7 as S3,v as Wc,u as V6,s as P2,E as Nn,a8 as O_,a9 as P_,aa as Kc,b as D_,ab as f9,D as S7,ac as A5,ad as Gc,ae as h9,af as I_,ag as H_,ah as Xc,ai as Qc}from"./element-plus-C_ZDq0cz.js";import{_ as Q}from"./monaco-editor-uXAv8CL-.js";import{u as e9}from"./form-create-7SMPLzS9.js";import{V as V_,a as N_}from"./vxe-CHB4XD1z.js";(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const c of s.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&a(c)}).observe(document,{childList:!0,subtree:!0});function t(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function a(o){if(o.ep)return;o.ep=!0;const s=t(o);fetch(o.href,s)}})();/*! + * pinia v2.3.1 + * (c) 2025 Eduardo San Martin Morote + * @license MIT + */let Yc;const N7=e=>Yc=e,Zc=Symbol();function sn(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var B7;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(B7||(B7={}));function q_(){const e=In(!0),i=e.run(()=>P1({}));let t=[],a=[];const o=jc({install(s){N7(o),o._a=s,s.provide(Zc,o),s.config.globalProperties.$pinia=o,a.forEach(c=>t.push(c)),a=[]},use(s){return this._a?t.push(s):a.push(s),this},_p:t,_a:null,_e:e,_s:new Map,state:i});return o}const Jc=()=>{};function Ao(e,i,t,a=Jc){e.push(i);const o=()=>{const s=e.indexOf(i);s>-1&&(e.splice(s,1),a())};return!t&&C_()&&M_(o),o}function d5(e,...i){e.slice().forEach(t=>{t(...i)})}const U_=e=>e(),zo=Symbol(),Ye=Symbol();function cn(e,i){e instanceof Map&&i instanceof Map?i.forEach((t,a)=>e.set(a,t)):e instanceof Set&&i instanceof Set&&i.forEach(e.add,e);for(const t in i){if(!i.hasOwnProperty(t))continue;const a=i[t],o=e[t];sn(o)&&sn(a)&&e.hasOwnProperty(t)&&!w5(a)&&!Hn(a)?e[t]=cn(o,a):e[t]=a}return e}const j_=Symbol();function $_(e){return!sn(e)||!e.hasOwnProperty(j_)}const{assign:c4}=Object;function W_(e){return!!(w5(e)&&e.effect)}function K_(e,i,t,a){const{state:o,actions:s,getters:c}=i,d=t.state.value[e];let p;function f(){d||(t.state.value[e]=o?o():{});const u=B_(t.state.value[e]);return c4(u,s,Object.keys(c||{}).reduce((g,h)=>(g[h]=jc(A2(()=>{N7(t);const x=t._s.get(e);return c[h].call(x,x)})),g),{}))}return p=el(e,f,i,t,a,!0),p}function el(e,i,t={},a,o,s){let c;const d=c4({actions:{}},t),p={deep:!0};let f,u,g=[],h=[],x;const b=a.state.value[e];!s&&!b&&(a.state.value[e]={});let w;function F(T){let R;f=u=!1,typeof T=="function"?(T(a.state.value[e]),R={type:B7.patchFunction,storeId:e,events:x}):(cn(a.state.value[e],T),R={type:B7.patchObject,payload:T,storeId:e,events:x});const B=w=Symbol();T3().then(()=>{w===B&&(f=!0)}),u=!0,d5(g,R,a.state.value[e])}const z=s?function(){const{state:R}=t,B=R?R():{};this.$patch(S=>{c4(S,B)})}:Jc;function E(){c.stop(),g=[],h=[],a._s.delete(e)}const m=(T,R="")=>{if(zo in T)return T[Ye]=R,T;const B=function(){N7(a);const S=Array.from(arguments),_=[],A=[];function O(N){_.push(N)}function D(N){A.push(N)}d5(h,{args:S,name:B[Ye],store:k,after:O,onError:D});let H;try{H=T.apply(this&&this.$id===e?this:k,S)}catch(N){throw d5(A,N),N}return H instanceof Promise?H.then(N=>(d5(_,N),N)).catch(N=>(d5(A,N),Promise.reject(N))):(d5(_,H),H)};return B[zo]=!0,B[Ye]=R,B},y={_p:a,$id:e,$onAction:Ao.bind(null,h),$patch:F,$reset:z,$subscribe(T,R={}){const B=Ao(g,T,R.detached,()=>S()),S=c.run(()=>l6(()=>a.state.value[e],_=>{(R.flush==="sync"?u:f)&&T({storeId:e,type:B7.direct,events:x},_)},c4({},p,R)));return B},$dispose:E},k=N6(y);a._s.set(e,k);const M=(a._a&&a._a.runWithContext||U_)(()=>a._e.run(()=>(c=In()).run(()=>i({action:m}))));for(const T in M){const R=M[T];if(w5(R)&&!W_(R)||Hn(R))s||(b&&$_(R)&&(w5(R)?R.value=b[T]:cn(R,b[T])),a.state.value[e][T]=R);else if(typeof R=="function"){const B=m(R,T);M[T]=B,d.actions[T]=R}}return c4(k,M),c4($c(k),M),Object.defineProperty(k,"$state",{get:()=>a.state.value[e],set:T=>{F(R=>{c4(R,T)})}}),a._p.forEach(T=>{c4(k,c.run(()=>T({store:k,app:a._a,pinia:a,options:d})))}),b&&s&&t.hydrate&&t.hydrate(k.$state,b),f=!0,u=!0,k}/*! #__NO_SIDE_EFFECTS__ */function g4(e,i,t){let a,o;const s=typeof i=="function";typeof e=="string"?(a=e,o=s?t:i):(o=e,a=e.id);function c(d,p){const f=w_();return d=d||(f?R6(Zc,null):null),d&&N7(d),d=Yc,d._s.has(a)||(s?el(a,i,o,d):K_(a,o,d)),d._s.get(a)}return c.$id=a,c}function fO(e){{const i=$c(e),t={};for(const a in i){const o=i[a];o.effect?t[a]=A2({get:()=>e[a],set(s){e[a]=s}}):(w5(o)||Hn(o))&&(t[a]=R_(e,a))}return t}}function G_(e){return typeof e=="object"&&e!==null}function So(e,i){return e=G_(e)?e:Object.create(null),new Proxy(e,{get(t,a,o){return a==="key"?Reflect.get(t,a,o):Reflect.get(t,a,o)||Reflect.get(i,a,o)}})}function X_(e,i){return i.reduce((t,a)=>t==null?void 0:t[a],e)}function Q_(e,i,t){return i.slice(0,-1).reduce((a,o)=>/^(__proto__)$/.test(o)?{}:a[o]=a[o]||{},e)[i[i.length-1]]=t,e}function Y_(e,i){return i.reduce((t,a)=>{const o=a.split(".");return Q_(t,o,X_(e,o))},{})}function Z_(e,i){return t=>{var a;try{const{storage:o=localStorage,beforeRestore:s=void 0,afterRestore:c=void 0,serializer:d={serialize:JSON.stringify,deserialize:JSON.parse},key:p=i.$id,paths:f=null,debug:u=!1}=t;return{storage:o,beforeRestore:s,afterRestore:c,serializer:d,key:((a=e.key)!=null?a:g=>g)(typeof p=="string"?p:p(i.$id)),paths:f,debug:u}}catch(o){return t.debug&&console.error("[pinia-plugin-persistedstate]",o),null}}}function ko(e,{storage:i,serializer:t,key:a,debug:o}){try{const s=i==null?void 0:i.getItem(a);s&&e.$patch(t==null?void 0:t.deserialize(s))}catch(s){o&&console.error("[pinia-plugin-persistedstate]",s)}}function To(e,{storage:i,serializer:t,key:a,paths:o,debug:s}){try{const c=Array.isArray(o)?Y_(e,o):e;i.setItem(a,t.serialize(c))}catch(c){s&&console.error("[pinia-plugin-persistedstate]",c)}}function J_(e={}){return i=>{const{auto:t=!1}=e,{options:{persist:a=t},store:o,pinia:s}=i;if(!a)return;if(!(o.$id in s.state.value)){const d=s._s.get(o.$id.replace("__hot:",""));d&&Promise.resolve().then(()=>d.$persist());return}const c=(Array.isArray(a)?a.map(d=>So(d,e)):[So(a,e)]).map(Z_(e,o)).filter(Boolean);o.$persist=()=>{c.forEach(d=>{To(o.$state,d)})},o.$hydrate=({runHooks:d=!0}={})=>{c.forEach(p=>{const{beforeRestore:f,afterRestore:u}=p;d&&(f==null||f(i)),ko(o,p),d&&(u==null||u(i))})},c.forEach(d=>{const{beforeRestore:p,afterRestore:f}=d;p==null||p(i),ko(o,d),f==null||f(i),o.$subscribe((u,g)=>{To(g,d)},{detached:!0})})}}var ex=J_();const B9=q_();B9.use(ex);N7(B9);/*! + * vue-router v4.6.4 + * (c) 2025 Eduardo San Martin Morote + * @license MIT + */const y5=typeof document<"u";function tl(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function tx(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&tl(e.default)}const c0=Object.assign;function Ze(e,i){const t={};for(const a in i){const o=i[a];t[a]=u6(o)?o.map(e):e(o)}return t}const R7=()=>{},u6=Array.isArray;function Lo(e,i){const t={};for(const a in e)t[a]=a in i?i[a]:e[a];return t}const nl=/#/g,nx=/&/g,ix=/\//g,ax=/=/g,ox=/\?/g,il=/\+/g,rx=/%5B/g,sx=/%5D/g,al=/%5E/g,cx=/%60/g,ol=/%7B/g,lx=/%7C/g,rl=/%7D/g,ux=/%20/g;function qn(e){return e==null?"":encodeURI(""+e).replace(lx,"|").replace(rx,"[").replace(sx,"]")}function dx(e){return qn(e).replace(ol,"{").replace(rl,"}").replace(al,"^")}function ln(e){return qn(e).replace(il,"%2B").replace(ux,"+").replace(nl,"%23").replace(nx,"%26").replace(cx,"`").replace(ol,"{").replace(rl,"}").replace(al,"^")}function fx(e){return ln(e).replace(ax,"%3D")}function hx(e){return qn(e).replace(nl,"%23").replace(ox,"%3F")}function mx(e){return hx(e).replace(ix,"%2F")}function k7(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const px=/\/$/,gx=e=>e.replace(px,"");function Je(e,i,t="/"){let a,o={},s="",c="";const d=i.indexOf("#");let p=i.indexOf("?");return p=d>=0&&p>d?-1:p,p>=0&&(a=i.slice(0,p),s=i.slice(p,d>0?d:i.length),o=e(s.slice(1))),d>=0&&(a=a||i.slice(0,d),c=i.slice(d,i.length)),a=yx(a??i,t),{fullPath:a+s+c,path:a,query:o,hash:k7(c)}}function vx(e,i){const t=i.query?e(i.query):"";return i.path+(t&&"?")+t+(i.hash||"")}function Fo(e,i){return!i||!e.toLowerCase().startsWith(i.toLowerCase())?e:e.slice(i.length)||"/"}function _x(e,i,t){const a=i.matched.length-1,o=t.matched.length-1;return a>-1&&a===o&&z5(i.matched[a],t.matched[o])&&sl(i.params,t.params)&&e(i.query)===e(t.query)&&i.hash===t.hash}function z5(e,i){return(e.aliasOf||e)===(i.aliasOf||i)}function sl(e,i){if(Object.keys(e).length!==Object.keys(i).length)return!1;for(var t in e)if(!xx(e[t],i[t]))return!1;return!0}function xx(e,i){return u6(e)?Oo(e,i):u6(i)?Oo(i,e):(e==null?void 0:e.valueOf())===(i==null?void 0:i.valueOf())}function Oo(e,i){return u6(i)?e.length===i.length&&e.every((t,a)=>t===i[a]):e.length===1&&e[0]===i}function yx(e,i){if(e.startsWith("/"))return e;if(!e)return i;const t=i.split("/"),a=e.split("/"),o=a[a.length-1];(o===".."||o===".")&&a.push("");let s=t.length-1,c,d;for(c=0;c1&&s--;else break;return t.slice(0,s).join("/")+"/"+a.slice(c).join("/")}const t4={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let un=function(e){return e.pop="pop",e.push="push",e}({}),et=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function bx(e){if(!e)if(y5){const i=document.querySelector("base");e=i&&i.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),gx(e)}const Ex=/^[^#]+#/;function Cx(e,i){return e.replace(Ex,"#")+i}function Mx(e,i){const t=document.documentElement.getBoundingClientRect(),a=e.getBoundingClientRect();return{behavior:i.behavior,left:a.left-t.left-(i.left||0),top:a.top-t.top-(i.top||0)}}const R9=()=>({left:window.scrollX,top:window.scrollY});function Bx(e){let i;if("el"in e){const t=e.el,a=typeof t=="string"&&t.startsWith("#"),o=typeof t=="string"?a?document.getElementById(t.slice(1)):document.querySelector(t):t;if(!o)return;i=Mx(o,e)}else i=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(i):window.scrollTo(i.left!=null?i.left:window.scrollX,i.top!=null?i.top:window.scrollY)}function Po(e,i){return(history.state?history.state.position-i:-1)+e}const dn=new Map;function Rx(e,i){dn.set(e,i)}function wx(e){const i=dn.get(e);return dn.delete(e),i}function Ax(e){return typeof e=="string"||e&&typeof e=="object"}function cl(e){return typeof e=="string"||typeof e=="symbol"}let T0=function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e}({});const ll=Symbol("");T0.MATCHER_NOT_FOUND+"",T0.NAVIGATION_GUARD_REDIRECT+"",T0.NAVIGATION_ABORTED+"",T0.NAVIGATION_CANCELLED+"",T0.NAVIGATION_DUPLICATED+"";function S5(e,i){return c0(new Error,{type:e,[ll]:!0},i)}function O6(e,i){return e instanceof Error&&ll in e&&(i==null||!!(e.type&i))}const zx=["params","query","hash"];function Sx(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const i={};for(const t of zx)t in e&&(i[t]=e[t]);return JSON.stringify(i,null,2)}function kx(e){const i={};if(e===""||e==="?")return i;const t=(e[0]==="?"?e.slice(1):e).split("&");for(let a=0;ao&&ln(o)):[a&&ln(a)]).forEach(o=>{o!==void 0&&(i+=(i.length?"&":"")+t,o!=null&&(i+="="+o))})}return i}function Tx(e){const i={};for(const t in e){const a=e[t];a!==void 0&&(i[t]=u6(a)?a.map(o=>o==null?null:""+o):a==null?a:""+a)}return i}const ul=Symbol(""),Io=Symbol(""),w9=Symbol(""),Un=Symbol(""),fn=Symbol("");function c7(){let e=[];function i(a){return e.push(a),()=>{const o=e.indexOf(a);o>-1&&e.splice(o,1)}}function t(){e=[]}return{add:i,list:()=>e.slice(),reset:t}}function Lx(e,i,t){const a=()=>{e[i].delete(t)};V7(a),A_(a),z_(()=>{e[i].add(t)}),e[i].add(t)}function hO(e){const i=R6(ul,{}).value;i&&Lx(i,"updateGuards",e)}function l4(e,i,t,a,o,s=c=>c()){const c=a&&(a.enterCallbacks[o]=a.enterCallbacks[o]||[]);return()=>new Promise((d,p)=>{const f=h=>{h===!1?p(S5(T0.NAVIGATION_ABORTED,{from:t,to:i})):h instanceof Error?p(h):Ax(h)?p(S5(T0.NAVIGATION_GUARD_REDIRECT,{from:i,to:h})):(c&&a.enterCallbacks[o]===c&&typeof h=="function"&&c.push(h),d())},u=s(()=>e.call(a&&a.instances[o],i,t,f));let g=Promise.resolve(u);e.length<3&&(g=g.then(f)),g.catch(h=>p(h))})}function tt(e,i,t,a,o=s=>s()){const s=[];for(const c of e)for(const d in c.components){let p=c.components[d];if(!(i!=="beforeRouteEnter"&&!c.instances[d]))if(tl(p)){const f=(p.__vccOpts||p)[i];f&&s.push(l4(f,t,a,c,d,o))}else{let f=p();s.push(()=>f.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${d}" at "${c.path}"`);const g=tx(u)?u.default:u;c.mods[d]=u,c.components[d]=g;const h=(g.__vccOpts||g)[i];return h&&l4(h,t,a,c,d,o)()}))}}return s}function Fx(e,i){const t=[],a=[],o=[],s=Math.max(i.matched.length,e.matched.length);for(let c=0;cz5(f,d))?a.push(d):t.push(d));const p=e.matched[c];p&&(i.matched.find(f=>z5(f,p))||o.push(p))}return[t,a,o]}/*! + * vue-router v4.6.4 + * (c) 2025 Eduardo San Martin Morote + * @license MIT + */let Ox=()=>location.protocol+"//"+location.host;function dl(e,i){const{pathname:t,search:a,hash:o}=i,s=e.indexOf("#");if(s>-1){let c=o.includes(e.slice(s))?e.slice(s).length:1,d=o.slice(c);return d[0]!=="/"&&(d="/"+d),Fo(d,"")}return Fo(t,e)+a+o}function Px(e,i,t,a){let o=[],s=[],c=null;const d=({state:h})=>{const x=dl(e,location),b=t.value,w=i.value;let F=0;if(h){if(t.value=x,i.value=h,c&&c===b){c=null;return}F=w?h.position-w.position:0}else a(x);o.forEach(z=>{z(t.value,b,{delta:F,type:un.pop,direction:F?F>0?et.forward:et.back:et.unknown})})};function p(){c=t.value}function f(h){o.push(h);const x=()=>{const b=o.indexOf(h);b>-1&&o.splice(b,1)};return s.push(x),x}function u(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(c0({},h.state,{scroll:R9()}),"")}}function g(){for(const h of s)h();s=[],window.removeEventListener("popstate",d),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",d),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:p,listen:f,destroy:g}}function Ho(e,i,t,a=!1,o=!1){return{back:e,current:i,forward:t,replaced:a,position:window.history.length,scroll:o?R9():null}}function Dx(e){const{history:i,location:t}=window,a={value:dl(e,t)},o={value:i.state};o.value||s(a.value,{back:null,current:a.value,forward:null,position:i.length-1,replaced:!0,scroll:null},!0);function s(p,f,u){const g=e.indexOf("#"),h=g>-1?(t.host&&document.querySelector("base")?e:e.slice(g))+p:Ox()+e+p;try{i[u?"replaceState":"pushState"](f,"",h),o.value=f}catch(x){console.error(x),t[u?"replace":"assign"](h)}}function c(p,f){s(p,c0({},i.state,Ho(o.value.back,p,o.value.forward,!0),f,{position:o.value.position}),!0),a.value=p}function d(p,f){const u=c0({},o.value,i.state,{forward:p,scroll:R9()});s(u.current,u,!0),s(p,c0({},Ho(a.value,p,null),{position:u.position+1},f),!1),a.value=p}return{location:a,state:o,push:d,replace:c}}function Ix(e){e=bx(e);const i=Dx(e),t=Px(e,i.state,i.location,i.replace);function a(s,c=!0){c||t.pauseListeners(),history.go(s)}const o=c0({location:"",base:e,go:a,createHref:Cx.bind(null,e)},i,t);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>i.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>i.state.value}),o}let P4=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var U0=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e}(U0||{});const Hx={type:P4.Static,value:""},Vx=/[a-zA-Z0-9_]/;function Nx(e){if(!e)return[[]];if(e==="/")return[[Hx]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function i(x){throw new Error(`ERR (${t})/"${f}": ${x}`)}let t=U0.Static,a=t;const o=[];let s;function c(){s&&o.push(s),s=[]}let d=0,p,f="",u="";function g(){f&&(t===U0.Static?s.push({type:P4.Static,value:f}):t===U0.Param||t===U0.ParamRegExp||t===U0.ParamRegExpEnd?(s.length>1&&(p==="*"||p==="+")&&i(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),s.push({type:P4.Param,value:f,regexp:u,repeatable:p==="*"||p==="+",optional:p==="*"||p==="?"})):i("Invalid state to consume buffer"),f="")}function h(){f+=p}for(;di.length?i.length===1&&i[0]===l3.Static+l3.Segment?1:-1:0}function fl(e,i){let t=0;const a=e.score,o=i.score;for(;t0&&i[i.length-1]<0}const Wx={strict:!1,end:!0,sensitive:!1};function Kx(e,i,t){const a=jx(Nx(e.path),t),o=c0(a,{record:e,parent:i,children:[],alias:[]});return i&&!o.record.aliasOf==!i.record.aliasOf&&i.children.push(o),o}function Gx(e,i){const t=[],a=new Map;i=Lo(Wx,i);function o(g){return a.get(g)}function s(g,h,x){const b=!x,w=Uo(g);w.aliasOf=x&&x.record;const F=Lo(i,g),z=[w];if("alias"in g){const y=typeof g.alias=="string"?[g.alias]:g.alias;for(const k of y)z.push(Uo(c0({},w,{components:x?x.record.components:w.components,path:k,aliasOf:x?x.record:w})))}let E,m;for(const y of z){const{path:k}=y;if(h&&k[0]!=="/"){const v=h.record.path,M=v[v.length-1]==="/"?"":"/";y.path=h.record.path+(k&&M+k)}if(E=Kx(y,h,F),x?x.alias.push(E):(m=m||E,m!==E&&m.alias.push(E),b&&g.name&&!jo(E)&&c(g.name)),hl(E)&&p(E),w.children){const v=w.children;for(let M=0;M{c(m)}:R7}function c(g){if(cl(g)){const h=a.get(g);h&&(a.delete(g),t.splice(t.indexOf(h),1),h.children.forEach(c),h.alias.forEach(c))}else{const h=t.indexOf(g);h>-1&&(t.splice(h,1),g.record.name&&a.delete(g.record.name),g.children.forEach(c),g.alias.forEach(c))}}function d(){return t}function p(g){const h=Yx(g,t);t.splice(h,0,g),g.record.name&&!jo(g)&&a.set(g.record.name,g)}function f(g,h){let x,b={},w,F;if("name"in g&&g.name){if(x=a.get(g.name),!x)throw S5(T0.MATCHER_NOT_FOUND,{location:g});F=x.record.name,b=c0(qo(h.params,x.keys.filter(m=>!m.optional).concat(x.parent?x.parent.keys.filter(m=>m.optional):[]).map(m=>m.name)),g.params&&qo(g.params,x.keys.map(m=>m.name))),w=x.stringify(b)}else if(g.path!=null)w=g.path,x=t.find(m=>m.re.test(w)),x&&(b=x.parse(w),F=x.record.name);else{if(x=h.name?a.get(h.name):t.find(m=>m.re.test(h.path)),!x)throw S5(T0.MATCHER_NOT_FOUND,{location:g,currentLocation:h});F=x.record.name,b=c0({},h.params,g.params),w=x.stringify(b)}const z=[];let E=x;for(;E;)z.unshift(E.record),E=E.parent;return{name:F,path:w,params:b,matched:z,meta:Qx(z)}}e.forEach(g=>s(g));function u(){t.length=0,a.clear()}return{addRoute:s,resolve:f,removeRoute:c,clearRoutes:u,getRoutes:d,getRecordMatcher:o}}function qo(e,i){const t={};for(const a of i)a in e&&(t[a]=e[a]);return t}function Uo(e){const i={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Xx(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(i,"mods",{value:{}}),i}function Xx(e){const i={},t=e.props||!1;if("component"in e)i.default=t;else for(const a in e.components)i[a]=typeof t=="object"?t[a]:t;return i}function jo(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Qx(e){return e.reduce((i,t)=>c0(i,t.meta),{})}function Yx(e,i){let t=0,a=i.length;for(;t!==a;){const s=t+a>>1;fl(e,i[s])<0?a=s:t=s+1}const o=Zx(e);return o&&(a=i.lastIndexOf(o,a-1)),a}function Zx(e){let i=e;for(;i=i.parent;)if(hl(i)&&fl(e,i)===0)return i}function hl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function $o(e){const i=R6(w9),t=R6(Un),a=A2(()=>{const p=y3(e.to);return i.resolve(p)}),o=A2(()=>{const{matched:p}=a.value,{length:f}=p,u=p[f-1],g=t.matched;if(!u||!g.length)return-1;const h=g.findIndex(z5.bind(null,u));if(h>-1)return h;const x=Wo(p[f-2]);return f>1&&Wo(u)===x&&g[g.length-1].path!==x?g.findIndex(z5.bind(null,p[f-2])):h}),s=A2(()=>o.value>-1&&iy(t.params,a.value.params)),c=A2(()=>o.value>-1&&o.value===t.matched.length-1&&sl(t.params,a.value.params));function d(p={}){if(ny(p)){const f=i[y3(e.replace)?"replace":"push"](y3(e.to)).catch(R7);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:a,href:A2(()=>a.value.href),isActive:s,isExactActive:c,navigate:d}}function Jx(e){return e.length===1?e[0]:e}const ey=D5({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:$o,setup(e,{slots:i}){const t=N6($o(e)),{options:a}=R6(w9),o=A2(()=>({[Ko(e.activeClass,a.linkActiveClass,"router-link-active")]:t.isActive,[Ko(e.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const s=i.default&&Jx(i.default(t));return e.custom?s:q6("a",{"aria-current":t.isExactActive?e.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:o.value},s)}}}),ty=ey;function ny(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const i=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(i))return}return e.preventDefault&&e.preventDefault(),!0}}function iy(e,i){for(const t in i){const a=i[t],o=e[t];if(typeof a=="string"){if(a!==o)return!1}else if(!u6(o)||o.length!==a.length||a.some((s,c)=>s.valueOf()!==o[c].valueOf()))return!1}return!0}function Wo(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ko=(e,i,t)=>e??i??t,ay=D5({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:i,slots:t}){const a=R6(fn),o=A2(()=>e.route||a.value),s=R6(Io,0),c=A2(()=>{let f=y3(s);const{matched:u}=o.value;let g;for(;(g=u[f])&&!g.components;)f++;return f}),d=A2(()=>o.value.matched[c.value]);J8(Io,A2(()=>c.value+1)),J8(ul,d),J8(fn,o);const p=P1();return l6(()=>[p.value,d.value,e.name],([f,u,g],[h,x,b])=>{u&&(u.instances[g]=f,x&&x!==u&&f&&f===h&&(u.leaveGuards.size||(u.leaveGuards=x.leaveGuards),u.updateGuards.size||(u.updateGuards=x.updateGuards))),f&&u&&(!x||!z5(u,x)||!h)&&(u.enterCallbacks[g]||[]).forEach(w=>w(f))},{flush:"post"}),()=>{const f=o.value,u=e.name,g=d.value,h=g&&g.components[u];if(!h)return Go(t.default,{Component:h,route:f});const x=g.props[u],b=x?x===!0?f.params:typeof x=="function"?x(f):x:null,F=q6(h,c0({},b,i,{onVnodeUnmounted:z=>{z.component.isUnmounted&&(g.instances[u]=null)},ref:p}));return Go(t.default,{Component:F,route:f})||F}}});function Go(e,i){if(!e)return null;const t=e(i);return t.length===1?t[0]:t}const oy=ay;function ry(e){const i=Gx(e.routes,e),t=e.parseQuery||kx,a=e.stringifyQuery||Do,o=e.history,s=c7(),c=c7(),d=c7(),p=Vn(t4);let f=t4;y5&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ze.bind(null,j=>""+j),g=Ze.bind(null,mx),h=Ze.bind(null,k7);function x(j,i1){let l1,m1;return cl(j)?(l1=i.getRecordMatcher(j),m1=i1):m1=j,i.addRoute(m1,l1)}function b(j){const i1=i.getRecordMatcher(j);i1&&i.removeRoute(i1)}function w(){return i.getRoutes().map(j=>j.record)}function F(j){return!!i.getRecordMatcher(j)}function z(j,i1){if(i1=c0({},i1||p.value),typeof j=="string"){const f1=Je(t,j,i1.path),L1=i.resolve({path:f1.path},i1),Y1=o.createHref(f1.fullPath);return c0(f1,L1,{params:h(L1.params),hash:k7(f1.hash),redirectedFrom:void 0,href:Y1})}let l1;if(j.path!=null)l1=c0({},j,{path:Je(t,j.path,i1.path).path});else{const f1=c0({},j.params);for(const L1 in f1)f1[L1]==null&&delete f1[L1];l1=c0({},j,{params:g(f1)}),i1.params=g(i1.params)}const m1=i.resolve(l1,i1),M1=j.hash||"";m1.params=u(h(m1.params));const z1=vx(a,c0({},j,{hash:dx(M1),path:m1.path})),w1=o.createHref(z1);return c0({fullPath:z1,hash:M1,query:a===Do?Tx(j.query):j.query||{}},m1,{redirectedFrom:void 0,href:w1})}function E(j){return typeof j=="string"?Je(t,j,p.value.path):c0({},j)}function m(j,i1){if(f!==j)return S5(T0.NAVIGATION_CANCELLED,{from:i1,to:j})}function y(j){return M(j)}function k(j){return y(c0(E(j),{replace:!0}))}function v(j,i1){const l1=j.matched[j.matched.length-1];if(l1&&l1.redirect){const{redirect:m1}=l1;let M1=typeof m1=="function"?m1(j,i1):m1;return typeof M1=="string"&&(M1=M1.includes("?")||M1.includes("#")?M1=E(M1):{path:M1},M1.params={}),c0({query:j.query,hash:j.hash,params:M1.path!=null?{}:j.params},M1)}}function M(j,i1){const l1=f=z(j),m1=p.value,M1=j.state,z1=j.force,w1=j.replace===!0,f1=v(l1,m1);if(f1)return M(c0(E(f1),{state:typeof f1=="object"?c0({},M1,f1.state):M1,force:z1,replace:w1}),i1||l1);const L1=l1;L1.redirectedFrom=i1;let Y1;return!z1&&_x(a,m1,l1)&&(Y1=S5(T0.NAVIGATION_DUPLICATED,{to:L1,from:m1}),t1(m1,m1,!0,!1)),(Y1?Promise.resolve(Y1):B(L1,m1)).catch(W1=>O6(W1)?O6(W1,T0.NAVIGATION_GUARD_REDIRECT)?W1:v1(W1):$(W1,L1,m1)).then(W1=>{if(W1){if(O6(W1,T0.NAVIGATION_GUARD_REDIRECT))return M(c0({replace:w1},E(W1.to),{state:typeof W1.to=="object"?c0({},M1,W1.to.state):M1,force:z1}),i1||L1)}else W1=_(L1,m1,!0,w1,M1);return S(L1,m1,W1),W1})}function T(j,i1){const l1=m(j,i1);return l1?Promise.reject(l1):Promise.resolve()}function R(j){const i1=n1.values().next().value;return i1&&typeof i1.runWithContext=="function"?i1.runWithContext(j):j()}function B(j,i1){let l1;const[m1,M1,z1]=Fx(j,i1);l1=tt(m1.reverse(),"beforeRouteLeave",j,i1);for(const f1 of m1)f1.leaveGuards.forEach(L1=>{l1.push(l4(L1,j,i1))});const w1=T.bind(null,j,i1);return l1.push(w1),c1(l1).then(()=>{l1=[];for(const f1 of s.list())l1.push(l4(f1,j,i1));return l1.push(w1),c1(l1)}).then(()=>{l1=tt(M1,"beforeRouteUpdate",j,i1);for(const f1 of M1)f1.updateGuards.forEach(L1=>{l1.push(l4(L1,j,i1))});return l1.push(w1),c1(l1)}).then(()=>{l1=[];for(const f1 of z1)if(f1.beforeEnter)if(u6(f1.beforeEnter))for(const L1 of f1.beforeEnter)l1.push(l4(L1,j,i1));else l1.push(l4(f1.beforeEnter,j,i1));return l1.push(w1),c1(l1)}).then(()=>(j.matched.forEach(f1=>f1.enterCallbacks={}),l1=tt(z1,"beforeRouteEnter",j,i1,R),l1.push(w1),c1(l1))).then(()=>{l1=[];for(const f1 of c.list())l1.push(l4(f1,j,i1));return l1.push(w1),c1(l1)}).catch(f1=>O6(f1,T0.NAVIGATION_CANCELLED)?f1:Promise.reject(f1))}function S(j,i1,l1){d.list().forEach(m1=>R(()=>m1(j,i1,l1)))}function _(j,i1,l1,m1,M1){const z1=m(j,i1);if(z1)return z1;const w1=i1===t4,f1=y5?history.state:{};l1&&(m1||w1?o.replace(j.fullPath,c0({scroll:w1&&f1&&f1.scroll},M1)):o.push(j.fullPath,M1)),p.value=j,t1(j,i1,l1,w1),v1()}let A;function O(){A||(A=o.listen((j,i1,l1)=>{if(!s1.listening)return;const m1=z(j),M1=v(m1,s1.currentRoute.value);if(M1){M(c0(M1,{replace:!0,force:!0}),m1).catch(R7);return}f=m1;const z1=p.value;y5&&Rx(Po(z1.fullPath,l1.delta),R9()),B(m1,z1).catch(w1=>O6(w1,T0.NAVIGATION_ABORTED|T0.NAVIGATION_CANCELLED)?w1:O6(w1,T0.NAVIGATION_GUARD_REDIRECT)?(M(c0(E(w1.to),{force:!0}),m1).then(f1=>{O6(f1,T0.NAVIGATION_ABORTED|T0.NAVIGATION_DUPLICATED)&&!l1.delta&&l1.type===un.pop&&o.go(-1,!1)}).catch(R7),Promise.reject()):(l1.delta&&o.go(-l1.delta,!1),$(w1,m1,z1))).then(w1=>{w1=w1||_(m1,z1,!1),w1&&(l1.delta&&!O6(w1,T0.NAVIGATION_CANCELLED)?o.go(-l1.delta,!1):l1.type===un.pop&&O6(w1,T0.NAVIGATION_ABORTED|T0.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),S(m1,z1,w1)}).catch(R7)}))}let D=c7(),H=c7(),N;function $(j,i1,l1){v1(j);const m1=H.list();return m1.length?m1.forEach(M1=>M1(j,i1,l1)):console.error(j),Promise.reject(j)}function Y(){return N&&p.value!==t4?Promise.resolve():new Promise((j,i1)=>{D.add([j,i1])})}function v1(j){return N||(N=!j,O(),D.list().forEach(([i1,l1])=>j?l1(j):i1()),D.reset()),j}function t1(j,i1,l1,m1){const{scrollBehavior:M1}=e;if(!y5||!M1)return Promise.resolve();const z1=!l1&&wx(Po(j.fullPath,0))||(m1||!l1)&&history.state&&history.state.scroll||null;return T3().then(()=>M1(j,i1,z1)).then(w1=>w1&&Bx(w1)).catch(w1=>$(w1,j,i1))}const X=j=>o.go(j);let o1;const n1=new Set,s1={currentRoute:p,listening:!0,addRoute:x,removeRoute:b,clearRoutes:i.clearRoutes,hasRoute:F,getRoutes:w,resolve:z,options:e,push:y,replace:k,go:X,back:()=>X(-1),forward:()=>X(1),beforeEach:s.add,beforeResolve:c.add,afterEach:d.add,onError:H.add,isReady:Y,install(j){j.component("RouterLink",ty),j.component("RouterView",oy),j.config.globalProperties.$router=s1,Object.defineProperty(j.config.globalProperties,"$route",{enumerable:!0,get:()=>y3(p)}),y5&&!o1&&p.value===t4&&(o1=!0,y(o.location).catch(m1=>{}));const i1={};for(const m1 in t4)Object.defineProperty(i1,m1,{get:()=>p.value[m1],enumerable:!0});j.provide(w9,s1),j.provide(Un,S_(i1)),j.provide(fn,p);const l1=j.unmount;n1.add(j),j.unmount=function(){n1.delete(j),n1.size<1&&(f=t4,A&&A(),A=null,p.value=t4,o1=!1,N=!1),l1()}}};function c1(j){return j.reduce((i1,l1)=>i1.then(()=>R(l1)),Promise.resolve())}return s1}function sy(){return R6(w9)}function A9(e){return R6(Un)}var ml={exports:{}};/*! + * clipboard.js v2.0.11 + * https://clipboardjs.com/ + * + * Licensed MIT © Zeno Rocha + */(function(e,i){(function(a,o){e.exports=o()})(w2,function(){return function(){var t={686:function(s,c,d){d.d(c,{default:function(){return t1}});var p=d(279),f=d.n(p),u=d(370),g=d.n(u),h=d(817),x=d.n(h);function b(X){try{return document.execCommand(X)}catch{return!1}}var w=function(o1){var n1=x()(o1);return b("cut"),n1},F=w;function z(X){var o1=document.documentElement.getAttribute("dir")==="rtl",n1=document.createElement("textarea");n1.style.fontSize="12pt",n1.style.border="0",n1.style.padding="0",n1.style.margin="0",n1.style.position="absolute",n1.style[o1?"right":"left"]="-9999px";var s1=window.pageYOffset||document.documentElement.scrollTop;return n1.style.top="".concat(s1,"px"),n1.setAttribute("readonly",""),n1.value=X,n1}var E=function(o1,n1){var s1=z(o1);n1.container.appendChild(s1);var c1=x()(s1);return b("copy"),s1.remove(),c1},m=function(o1){var n1=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},s1="";return typeof o1=="string"?s1=E(o1,n1):o1 instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(o1==null?void 0:o1.type)?s1=E(o1.value,n1):(s1=x()(o1),b("copy")),s1},y=m;function k(X){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?k=function(n1){return typeof n1}:k=function(n1){return n1&&typeof Symbol=="function"&&n1.constructor===Symbol&&n1!==Symbol.prototype?"symbol":typeof n1},k(X)}var v=function(){var o1=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n1=o1.action,s1=n1===void 0?"copy":n1,c1=o1.container,j=o1.target,i1=o1.text;if(s1!=="copy"&&s1!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(j!==void 0)if(j&&k(j)==="object"&&j.nodeType===1){if(s1==="copy"&&j.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(s1==="cut"&&(j.hasAttribute("readonly")||j.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(i1)return y(i1,{container:c1});if(j)return s1==="cut"?F(j):y(j,{container:c1})},M=v;function T(X){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(n1){return typeof n1}:T=function(n1){return n1&&typeof Symbol=="function"&&n1.constructor===Symbol&&n1!==Symbol.prototype?"symbol":typeof n1},T(X)}function R(X,o1){if(!(X instanceof o1))throw new TypeError("Cannot call a class as a function")}function B(X,o1){for(var n1=0;n1"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function $(X){return $=Object.setPrototypeOf?Object.getPrototypeOf:function(n1){return n1.__proto__||Object.getPrototypeOf(n1)},$(X)}function Y(X,o1){var n1="data-clipboard-".concat(X);if(o1.hasAttribute(n1))return o1.getAttribute(n1)}var v1=function(X){_(n1,X);var o1=O(n1);function n1(s1,c1){var j;return R(this,n1),j=o1.call(this),j.resolveOptions(c1),j.listenClick(s1),j}return S(n1,[{key:"resolveOptions",value:function(){var c1=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof c1.action=="function"?c1.action:this.defaultAction,this.target=typeof c1.target=="function"?c1.target:this.defaultTarget,this.text=typeof c1.text=="function"?c1.text:this.defaultText,this.container=T(c1.container)==="object"?c1.container:document.body}},{key:"listenClick",value:function(c1){var j=this;this.listener=g()(c1,"click",function(i1){return j.onClick(i1)})}},{key:"onClick",value:function(c1){var j=c1.delegateTarget||c1.currentTarget,i1=this.action(j)||"copy",l1=M({action:i1,container:this.container,target:this.target(j),text:this.text(j)});this.emit(l1?"success":"error",{action:i1,text:l1,trigger:j,clearSelection:function(){j&&j.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(c1){return Y("action",c1)}},{key:"defaultTarget",value:function(c1){var j=Y("target",c1);if(j)return document.querySelector(j)}},{key:"defaultText",value:function(c1){return Y("text",c1)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(c1){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return y(c1,j)}},{key:"cut",value:function(c1){return F(c1)}},{key:"isSupported",value:function(){var c1=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],j=typeof c1=="string"?[c1]:c1,i1=!!document.queryCommandSupported;return j.forEach(function(l1){i1=i1&&!!document.queryCommandSupported(l1)}),i1}}]),n1}(f()),t1=v1},828:function(s){var c=9;if(typeof Element<"u"&&!Element.prototype.matches){var d=Element.prototype;d.matches=d.matchesSelector||d.mozMatchesSelector||d.msMatchesSelector||d.oMatchesSelector||d.webkitMatchesSelector}function p(f,u){for(;f&&f.nodeType!==c;){if(typeof f.matches=="function"&&f.matches(u))return f;f=f.parentNode}}s.exports=p},438:function(s,c,d){var p=d(828);function f(h,x,b,w,F){var z=g.apply(this,arguments);return h.addEventListener(b,z,F),{destroy:function(){h.removeEventListener(b,z,F)}}}function u(h,x,b,w,F){return typeof h.addEventListener=="function"?f.apply(null,arguments):typeof b=="function"?f.bind(null,document).apply(null,arguments):(typeof h=="string"&&(h=document.querySelectorAll(h)),Array.prototype.map.call(h,function(z){return f(z,x,b,w,F)}))}function g(h,x,b,w){return function(F){F.delegateTarget=p(F.target,x),F.delegateTarget&&w.call(h,F)}}s.exports=u},879:function(s,c){c.node=function(d){return d!==void 0&&d instanceof HTMLElement&&d.nodeType===1},c.nodeList=function(d){var p=Object.prototype.toString.call(d);return d!==void 0&&(p==="[object NodeList]"||p==="[object HTMLCollection]")&&"length"in d&&(d.length===0||c.node(d[0]))},c.string=function(d){return typeof d=="string"||d instanceof String},c.fn=function(d){var p=Object.prototype.toString.call(d);return p==="[object Function]"}},370:function(s,c,d){var p=d(879),f=d(438);function u(b,w,F){if(!b&&!w&&!F)throw new Error("Missing required arguments");if(!p.string(w))throw new TypeError("Second argument must be a String");if(!p.fn(F))throw new TypeError("Third argument must be a Function");if(p.node(b))return g(b,w,F);if(p.nodeList(b))return h(b,w,F);if(p.string(b))return x(b,w,F);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function g(b,w,F){return b.addEventListener(w,F),{destroy:function(){b.removeEventListener(w,F)}}}function h(b,w,F){return Array.prototype.forEach.call(b,function(z){z.addEventListener(w,F)}),{destroy:function(){Array.prototype.forEach.call(b,function(z){z.removeEventListener(w,F)})}}}function x(b,w,F){return f(document.body,b,w,F)}s.exports=u},817:function(s){function c(d){var p;if(d.nodeName==="SELECT")d.focus(),p=d.value;else if(d.nodeName==="INPUT"||d.nodeName==="TEXTAREA"){var f=d.hasAttribute("readonly");f||d.setAttribute("readonly",""),d.select(),d.setSelectionRange(0,d.value.length),f||d.removeAttribute("readonly"),p=d.value}else{d.hasAttribute("contenteditable")&&d.focus();var u=window.getSelection(),g=document.createRange();g.selectNodeContents(d),u.removeAllRanges(),u.addRange(g),p=u.toString()}return p}s.exports=c},279:function(s){function c(){}c.prototype={on:function(d,p,f){var u=this.e||(this.e={});return(u[d]||(u[d]=[])).push({fn:p,ctx:f}),this},once:function(d,p,f){var u=this;function g(){u.off(d,g),p.apply(f,arguments)}return g._=p,this.on(d,g,f)},emit:function(d){var p=[].slice.call(arguments,1),f=((this.e||(this.e={}))[d]||[]).slice(),u=0,g=f.length;for(u;u{let s="";if(!/^#?[0-9A-Fa-f]{6}$/.test(o))return p2.warning("输入错误的hex"),"";o=o.replace("#",""),s=o.match(/../g);for(let d=0;d<3;d++)s[d]=parseInt(s[d],16);return s},rgbToHex:(o,s,c)=>{let d=/^\d{1,3}$/;if(!d.test(o)||!d.test(s)||!d.test(c))return p2.warning("输入错误的rgb颜色值"),"";let p=[o.toString(16),s.toString(16),c.toString(16)];for(let f=0;f<3;f++)p[f].length==1&&(p[f]=`0${p[f]}`);return`#${p.join("")}`},getDarkColor:(o,s)=>{if(!/^#?[0-9A-Fa-f]{6}$/.test(o))return p2.warning("输入错误的hex颜色值"),"";let d=E7().hexToRgb(o);for(let p=0;p<3;p++)d[p]=Math.floor(d[p]*(1-s));return E7().rgbToHex(d[0],d[1],d[2])},getLightColor:(o,s)=>{if(!/^#?[0-9A-Fa-f]{6}$/.test(o))return p2.warning("输入错误的hex颜色值"),"";let d=E7().hexToRgb(o);for(let p=0;p<3;p++)d[p]=Math.floor((255-d[p])*s+d[p]);return E7().rgbToHex(d[0],d[1],d[2])}}}const dy={"theme-1":{"--prev-bg-menuBar":"#282c34","--prev-bg-menuBarColor":"#fff","--prev-color-primary":"#0256FF","--prev-color-text-white":"#fff","--prev-bg-menu-hover-ba-color":"#0256FF","--prev-bg-topBar":"#fff","--prev-bg-topBarColor":"#282c34","--prev-bg-columnsMenuBar":"#282c34","--prev-bg-columnsMenuBarColor":"#fff","--prev-MenuActiveColor":"#0256FF","--prev-tag-active-color":"#0256FF","--prev-color-primary-light-9":"#e5eeff","--prev-bg-columnsMenuActiveColor":"#fff"},"theme-2":{"--prev-bg-menuBar":"#ffffff","--prev-bg-menuBarColor":"#515a6e","--prev-color-primary":"#0256FF","--prev-color-text-white":"#fff","--prev-bg-menu-hover-ba-color":"#e5eeff","--prev-bg-topBar":"#ffffff","--prev-bg-topBarColor":"#515a6e","--prev-bg-columnsMenuBar":"#fff","--prev-bg-columnsMenuBarColor":"#515a6e","--prev-bg-columnsMenuActiveColor":"#fff","--prev-MenuActiveColor":"#0256FF","--prev-bg-columnsMenuActiveBgColor":"#0256FF","--prev-tag-active-color":"#0256FF","--prev-color-primary-light-9":"#e5eeff"},"theme-3":{"--prev-bg-menuBar":"#282c34","--prev-bg-menuBarColor":"#fff","--prev-color-primary":"#41b584","--prev-color-text-white":"#fff","--prev-bg-menu-hover-ba-color":"#41b584","--prev-bg-topBar":"#fff","--prev-bg-topBarColor":"#282c34","--prev-bg-columnsMenuBar":"#282c34","--prev-bg-columnsMenuBarColor":"#fff","--prev-bg-columnsMenuActiveColor":"#fff","--prev-MenuActiveColor":"#41b584","--prev-color-primary-light-9":"#ecf8f3","--prev-tag-active-color":"#41b584","--prev-color-primary-light-9":"#ecf8f3"},"theme-4":{"--prev-bg-menuBar":"#ffffff","--prev-bg-menuBarColor":"#515a6e","--prev-color-primary":"#41b584","--prev-color-text-white":"#fff","--prev-bg-menu-hover-ba-color":"#ecf8f3","--prev-bg-topBar":"#ffffff","--prev-bg-topBarColor":"#515a6e","--prev-bg-columnsMenuBar":"#fff","--prev-bg-columnsMenuBarColor":"#515a6e","--prev-bg-columnsMenuActiveColor":"#fff","--prev-MenuActiveColor":"#41b584","--prev-tag-active-color":"#41b584","--prev-color-primary-light-9":"#ecf8f3"},"theme-5":{"--prev-bg-menuBar":"#282c34","--prev-bg-menuBarColor":"#fff","--prev-color-primary":"#6954f0","--prev-color-text-white":"#fff","--prev-bg-menu-hover-ba-color":"#6954f0","--prev-bg-topBar":"#fff","--prev-bg-topBarColor":"#282c34","--prev-bg-columnsMenuBar":"#282c34","--prev-bg-columnsMenuBarColor":"#fff","--prev-bg-columnsMenuActiveColor":"#fff","--prev-MenuActiveColor":"#6954f0","--prev-color-primary-light-9":"#f0eefe","--prev-tag-active-color":"#6954f0"},"theme-6":{"--prev-bg-menuBar":"#ffffff","--prev-bg-menuBarColor":"#515a6e","--prev-color-primary":"#6954f0","--prev-color-text-white":"#fff","--prev-bg-menu-hover-ba-color":"#e5eeff","--prev-bg-topBar":"#ffffff","--prev-bg-topBarColor":"#515a6e","--prev-bg-columnsMenuBar":"#fff","--prev-bg-columnsMenuBarColor":"#515a6e","--prev-bg-columnsMenuActiveColor":"#fff","--prev-MenuActiveColor":"#6954f0","--prev-color-primary-light-9":"#f0eefe","--prev-tag-active-color":"#6954f0"},"theme-7":{"--prev-bg-menuBar":"#282c34","--prev-bg-menuBarColor":"#fff","--prev-color-primary":"#f34d37","--prev-color-text-white":"#fff","--prev-bg-menu-hover-ba-color":"#f34d37","--prev-bg-topBar":"#fff","--prev-bg-topBarColor":"#282c34","--prev-bg-columnsMenuBar":"#282c34","--prev-bg-columnsMenuBarColor":"#fff","--prev-bg-columnsMenuActiveColor":"#fff","--prev-MenuActiveColor":"#f34d37","--prev-tag-active-color":"#f34d37"},"theme-8":{"--prev-bg-menuBar":"#ffffff","--prev-bg-menuBarColor":"#515a6e","--prev-color-primary":"#f34d37","--prev-color-text-white":"#fff","--prev-bg-menu-hover-ba-color":"#feedeb","--prev-bg-topBar":"#ffffff","--prev-bg-topBarColor":"#515a6e","--prev-bg-columnsMenuBar":"#fff","--prev-bg-columnsMenuBarColor":"#515a6e","--prev-bg-columnsMenuActiveColor":"#fff","--prev-color-primary-light-9":"#feedeb","--prev-MenuActiveColor":"#f34d37","--prev-tag-active-color":"#f34d37"},"theme-9":{"--prev-bg-menuBar":"#ffffff","--prev-bg-menuBarColor":"#515a6e","--prev-color-primary":"#0256FF","--prev-color-text-white":"#fff","--prev-bg-menu-hover-ba-color":"#e5eeff","--prev-bg-topBar":"#ffffff","--prev-bg-topBarColor":"#515a6e","--prev-bg-columnsMenuBar":"linear-gradient(90deg,#006cff,#399efd)","--prev-bg-columnsMenuBarColor":"#fff","--prev-bg-columnsMenuActiveColor":"#fff","--prev-tag-active-color":"#0256FF","--prev-MenuActiveColor":"#0256FF","--prev-color-primary-light-9":"#e5eeff"}};function fy(e){return{all:e=e||new Map,on:function(i,t){var a=e.get(i);a?a.push(t):e.set(i,[t])},off:function(i,t){var a=e.get(i);a&&(t?a.splice(a.indexOf(t)>>>0,1):e.set(i,[]))},emit:function(i,t){var a=e.get(i);a&&a.slice().map(function(o){o(t)}),(a=e.get("*"))&&a.slice().map(function(o){o(i,t)})}}}const E6=fy();/*! + * shared v9.14.4 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */const m9=typeof window<"u",v4=(e,i=!1)=>i?Symbol.for(e):Symbol(e),hy=(e,i,t)=>my({l:e,k:i,s:t}),my=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),P0=e=>typeof e=="number"&&isFinite(e),py=e=>vl(e)==="[object Date]",m4=e=>vl(e)==="[object RegExp]",z9=e=>k2(e)&&Object.keys(e).length===0,e3=Object.assign,gy=Object.create,g0=(e=null)=>gy(e);let Xo;const H6=()=>Xo||(Xo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:g0());function Qo(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const vy=Object.prototype.hasOwnProperty;function o6(e,i){return vy.call(e,i)}const E0=Array.isArray,x0=e=>typeof e=="function",a2=e=>typeof e=="string",j2=e=>typeof e=="boolean",e0=e=>e!==null&&typeof e=="object",_y=e=>e0(e)&&x0(e.then)&&x0(e.catch),gl=Object.prototype.toString,vl=e=>gl.call(e),k2=e=>{if(!e0(e))return!1;const i=Object.getPrototypeOf(e);return i===null||i.constructor===Object},xy=e=>e==null?"":E0(e)||k2(e)&&e.toString===gl?JSON.stringify(e,null,2):String(e);function yy(e,i=""){return e.reduce((t,a,o)=>o===0?t+a:t+i+a,"")}function S9(e){let i=e;return()=>++i}function by(e,i){typeof console<"u"&&(console.warn("[intlify] "+e),i&&console.warn(i.stack))}const I8=e=>!e0(e)||E0(e);function t9(e,i){if(I8(e)||I8(i))throw new Error("Invalid value");const t=[{src:e,des:i}];for(;t.length;){const{src:a,des:o}=t.pop();Object.keys(a).forEach(s=>{s!=="__proto__"&&(e0(a[s])&&!e0(o[s])&&(o[s]=Array.isArray(a[s])?[]:g0()),I8(o[s])||I8(a[s])?o[s]=a[s]:t.push({src:a[s],des:o[s]}))})}}/*! + * message-compiler v9.14.4 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */function Ey(e,i,t){return{line:e,column:i,offset:t}}function p9(e,i,t){return{start:e,end:i}}const Cy=/\{([0-9a-zA-Z]+)\}/g;function _l(e,...i){return i.length===1&&My(i[0])&&(i=i[0]),(!i||!i.hasOwnProperty)&&(i={}),e.replace(Cy,(t,a)=>i.hasOwnProperty(a)?i[a]:"")}const xl=Object.assign,Yo=e=>typeof e=="string",My=e=>e!==null&&typeof e=="object";function yl(e,i=""){return e.reduce((t,a,o)=>o===0?t+a:t+i+a,"")}const jn={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},By={[jn.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Ry(e,i,...t){const a=_l(By[e],...t||[]),o={message:String(a),code:e};return i&&(o.location=i),o}const B2={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},wy={[B2.EXPECTED_TOKEN]:"Expected token: '{0}'",[B2.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[B2.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[B2.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[B2.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[B2.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[B2.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[B2.EMPTY_PLACEHOLDER]:"Empty placeholder",[B2.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[B2.INVALID_LINKED_FORMAT]:"Invalid linked format",[B2.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[B2.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[B2.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[B2.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[B2.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[B2.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function H5(e,i,t={}){const{domain:a,messages:o,args:s}=t,c=_l((o||wy)[e]||"",...s||[]),d=new SyntaxError(String(c));return d.code=e,i&&(d.location=i),d.domain=a,d}function Ay(e){throw e}const P6=" ",zy="\r",c3=` +`,Sy="\u2028",ky="\u2029";function Ty(e){const i=e;let t=0,a=1,o=1,s=0;const c=M=>i[M]===zy&&i[M+1]===c3,d=M=>i[M]===c3,p=M=>i[M]===ky,f=M=>i[M]===Sy,u=M=>c(M)||d(M)||p(M)||f(M),g=()=>t,h=()=>a,x=()=>o,b=()=>s,w=M=>c(M)||p(M)||f(M)?c3:i[M],F=()=>w(t),z=()=>w(t+s);function E(){return s=0,u(t)&&(a++,o=0),c(t)&&t++,t++,o++,i[t]}function m(){return c(t+s)&&s++,s++,i[t+s]}function y(){t=0,a=1,o=1,s=0}function k(M=0){s=M}function v(){const M=t+s;for(;M!==t;)E();s=0}return{index:g,line:h,column:x,peekOffset:b,charAt:w,currentChar:F,currentPeek:z,next:E,peek:m,reset:y,resetPeek:k,skipToPeek:v}}const n4=void 0,Ly=".",Zo="'",Fy="tokenizer";function Oy(e,i={}){const t=i.location!==!1,a=Ty(e),o=()=>a.index(),s=()=>Ey(a.line(),a.column(),a.index()),c=s(),d=o(),p={currentType:14,offset:d,startLoc:c,endLoc:c,lastType:14,lastOffset:d,lastStartLoc:c,lastEndLoc:c,braceNest:0,inLinked:!1,text:""},f=()=>p,{onError:u}=i;function g(G,J,g1,...I1){const J1=f();if(J.column+=g1,J.offset+=g1,u){const s2=t?p9(J1.startLoc,J):null,d1=H5(G,s2,{domain:Fy,args:I1});u(d1)}}function h(G,J,g1){G.endLoc=s(),G.currentType=J;const I1={type:J};return t&&(I1.loc=p9(G.startLoc,G.endLoc)),g1!=null&&(I1.value=g1),I1}const x=G=>h(G,14);function b(G,J){return G.currentChar()===J?(G.next(),J):(g(B2.EXPECTED_TOKEN,s(),0,J),"")}function w(G){let J="";for(;G.currentPeek()===P6||G.currentPeek()===c3;)J+=G.currentPeek(),G.peek();return J}function F(G){const J=w(G);return G.skipToPeek(),J}function z(G){if(G===n4)return!1;const J=G.charCodeAt(0);return J>=97&&J<=122||J>=65&&J<=90||J===95}function E(G){if(G===n4)return!1;const J=G.charCodeAt(0);return J>=48&&J<=57}function m(G,J){const{currentType:g1}=J;if(g1!==2)return!1;w(G);const I1=z(G.currentPeek());return G.resetPeek(),I1}function y(G,J){const{currentType:g1}=J;if(g1!==2)return!1;w(G);const I1=G.currentPeek()==="-"?G.peek():G.currentPeek(),J1=E(I1);return G.resetPeek(),J1}function k(G,J){const{currentType:g1}=J;if(g1!==2)return!1;w(G);const I1=G.currentPeek()===Zo;return G.resetPeek(),I1}function v(G,J){const{currentType:g1}=J;if(g1!==8)return!1;w(G);const I1=G.currentPeek()===".";return G.resetPeek(),I1}function M(G,J){const{currentType:g1}=J;if(g1!==9)return!1;w(G);const I1=z(G.currentPeek());return G.resetPeek(),I1}function T(G,J){const{currentType:g1}=J;if(!(g1===8||g1===12))return!1;w(G);const I1=G.currentPeek()===":";return G.resetPeek(),I1}function R(G,J){const{currentType:g1}=J;if(g1!==10)return!1;const I1=()=>{const s2=G.currentPeek();return s2==="{"?z(G.peek()):s2==="@"||s2==="%"||s2==="|"||s2===":"||s2==="."||s2===P6||!s2?!1:s2===c3?(G.peek(),I1()):_(G,!1)},J1=I1();return G.resetPeek(),J1}function B(G){w(G);const J=G.currentPeek()==="|";return G.resetPeek(),J}function S(G){const J=w(G),g1=G.currentPeek()==="%"&&G.peek()==="{";return G.resetPeek(),{isModulo:g1,hasSpace:J.length>0}}function _(G,J=!0){const g1=(J1=!1,s2="",d1=!1)=>{const B1=G.currentPeek();return B1==="{"?s2==="%"?!1:J1:B1==="@"||!B1?s2==="%"?!0:J1:B1==="%"?(G.peek(),g1(J1,"%",!0)):B1==="|"?s2==="%"||d1?!0:!(s2===P6||s2===c3):B1===P6?(G.peek(),g1(!0,P6,d1)):B1===c3?(G.peek(),g1(!0,c3,d1)):!0},I1=g1();return J&&G.resetPeek(),I1}function A(G,J){const g1=G.currentChar();return g1===n4?n4:J(g1)?(G.next(),g1):null}function O(G){const J=G.charCodeAt(0);return J>=97&&J<=122||J>=65&&J<=90||J>=48&&J<=57||J===95||J===36}function D(G){return A(G,O)}function H(G){const J=G.charCodeAt(0);return J>=97&&J<=122||J>=65&&J<=90||J>=48&&J<=57||J===95||J===36||J===45}function N(G){return A(G,H)}function $(G){const J=G.charCodeAt(0);return J>=48&&J<=57}function Y(G){return A(G,$)}function v1(G){const J=G.charCodeAt(0);return J>=48&&J<=57||J>=65&&J<=70||J>=97&&J<=102}function t1(G){return A(G,v1)}function X(G){let J="",g1="";for(;J=Y(G);)g1+=J;return g1}function o1(G){F(G);const J=G.currentChar();return J!=="%"&&g(B2.EXPECTED_TOKEN,s(),0,J),G.next(),"%"}function n1(G){let J="";for(;;){const g1=G.currentChar();if(g1==="{"||g1==="}"||g1==="@"||g1==="|"||!g1)break;if(g1==="%")if(_(G))J+=g1,G.next();else break;else if(g1===P6||g1===c3)if(_(G))J+=g1,G.next();else{if(B(G))break;J+=g1,G.next()}else J+=g1,G.next()}return J}function s1(G){F(G);let J="",g1="";for(;J=N(G);)g1+=J;return G.currentChar()===n4&&g(B2.UNTERMINATED_CLOSING_BRACE,s(),0),g1}function c1(G){F(G);let J="";return G.currentChar()==="-"?(G.next(),J+=`-${X(G)}`):J+=X(G),G.currentChar()===n4&&g(B2.UNTERMINATED_CLOSING_BRACE,s(),0),J}function j(G){return G!==Zo&&G!==c3}function i1(G){F(G),b(G,"'");let J="",g1="";for(;J=A(G,j);)J==="\\"?g1+=l1(G):g1+=J;const I1=G.currentChar();return I1===c3||I1===n4?(g(B2.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),I1===c3&&(G.next(),b(G,"'")),g1):(b(G,"'"),g1)}function l1(G){const J=G.currentChar();switch(J){case"\\":case"'":return G.next(),`\\${J}`;case"u":return m1(G,J,4);case"U":return m1(G,J,6);default:return g(B2.UNKNOWN_ESCAPE_SEQUENCE,s(),0,J),""}}function m1(G,J,g1){b(G,J);let I1="";for(let J1=0;J1{const I1=G.currentChar();return I1==="{"||I1==="%"||I1==="@"||I1==="|"||I1==="("||I1===")"||!I1||I1===P6?g1:(g1+=I1,G.next(),J(g1))};return J("")}function L1(G){F(G);const J=b(G,"|");return F(G),J}function Y1(G,J){let g1=null;switch(G.currentChar()){case"{":return J.braceNest>=1&&g(B2.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),G.next(),g1=h(J,2,"{"),F(G),J.braceNest++,g1;case"}":return J.braceNest>0&&J.currentType===2&&g(B2.EMPTY_PLACEHOLDER,s(),0),G.next(),g1=h(J,3,"}"),J.braceNest--,J.braceNest>0&&F(G),J.inLinked&&J.braceNest===0&&(J.inLinked=!1),g1;case"@":return J.braceNest>0&&g(B2.UNTERMINATED_CLOSING_BRACE,s(),0),g1=W1(G,J)||x(J),J.braceNest=0,g1;default:{let J1=!0,s2=!0,d1=!0;if(B(G))return J.braceNest>0&&g(B2.UNTERMINATED_CLOSING_BRACE,s(),0),g1=h(J,1,L1(G)),J.braceNest=0,J.inLinked=!1,g1;if(J.braceNest>0&&(J.currentType===5||J.currentType===6||J.currentType===7))return g(B2.UNTERMINATED_CLOSING_BRACE,s(),0),J.braceNest=0,C1(G,J);if(J1=m(G,J))return g1=h(J,5,s1(G)),F(G),g1;if(s2=y(G,J))return g1=h(J,6,c1(G)),F(G),g1;if(d1=k(G,J))return g1=h(J,7,i1(G)),F(G),g1;if(!J1&&!s2&&!d1)return g1=h(J,13,z1(G)),g(B2.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,g1.value),F(G),g1;break}}return g1}function W1(G,J){const{currentType:g1}=J;let I1=null;const J1=G.currentChar();switch((g1===8||g1===9||g1===12||g1===10)&&(J1===c3||J1===P6)&&g(B2.INVALID_LINKED_FORMAT,s(),0),J1){case"@":return G.next(),I1=h(J,8,"@"),J.inLinked=!0,I1;case".":return F(G),G.next(),h(J,9,".");case":":return F(G),G.next(),h(J,10,":");default:return B(G)?(I1=h(J,1,L1(G)),J.braceNest=0,J.inLinked=!1,I1):v(G,J)||T(G,J)?(F(G),W1(G,J)):M(G,J)?(F(G),h(J,12,w1(G))):R(G,J)?(F(G),J1==="{"?Y1(G,J)||I1:h(J,11,f1(G))):(g1===8&&g(B2.INVALID_LINKED_FORMAT,s(),0),J.braceNest=0,J.inLinked=!1,C1(G,J))}}function C1(G,J){let g1={type:14};if(J.braceNest>0)return Y1(G,J)||x(J);if(J.inLinked)return W1(G,J)||x(J);switch(G.currentChar()){case"{":return Y1(G,J)||x(J);case"}":return g(B2.UNBALANCED_CLOSING_BRACE,s(),0),G.next(),h(J,3,"}");case"@":return W1(G,J)||x(J);default:{if(B(G))return g1=h(J,1,L1(G)),J.braceNest=0,J.inLinked=!1,g1;const{isModulo:J1,hasSpace:s2}=S(G);if(J1)return s2?h(J,0,n1(G)):h(J,4,o1(G));if(_(G))return h(J,0,n1(G));break}}return g1}function F1(){const{currentType:G,offset:J,startLoc:g1,endLoc:I1}=p;return p.lastType=G,p.lastOffset=J,p.lastStartLoc=g1,p.lastEndLoc=I1,p.offset=o(),p.startLoc=s(),a.currentChar()===n4?h(p,14):C1(a,p)}return{nextToken:F1,currentOffset:o,currentPosition:s,context:f}}const Py="parser",Dy=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Iy(e,i,t){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const a=parseInt(i||t,16);return a<=55295||a>=57344?String.fromCodePoint(a):"�"}}}function Hy(e={}){const i=e.location!==!1,{onError:t,onWarn:a}=e;function o(m,y,k,v,...M){const T=m.currentPosition();if(T.offset+=v,T.column+=v,t){const R=i?p9(k,T):null,B=H5(y,R,{domain:Py,args:M});t(B)}}function s(m,y,k,v,...M){const T=m.currentPosition();if(T.offset+=v,T.column+=v,a){const R=i?p9(k,T):null;a(Ry(y,R,M))}}function c(m,y,k){const v={type:m};return i&&(v.start=y,v.end=y,v.loc={start:k,end:k}),v}function d(m,y,k,v){i&&(m.end=y,m.loc&&(m.loc.end=k))}function p(m,y){const k=m.context(),v=c(3,k.offset,k.startLoc);return v.value=y,d(v,m.currentOffset(),m.currentPosition()),v}function f(m,y){const k=m.context(),{lastOffset:v,lastStartLoc:M}=k,T=c(5,v,M);return T.index=parseInt(y,10),m.nextToken(),d(T,m.currentOffset(),m.currentPosition()),T}function u(m,y,k){const v=m.context(),{lastOffset:M,lastStartLoc:T}=v,R=c(4,M,T);return R.key=y,k===!0&&(R.modulo=!0),m.nextToken(),d(R,m.currentOffset(),m.currentPosition()),R}function g(m,y){const k=m.context(),{lastOffset:v,lastStartLoc:M}=k,T=c(9,v,M);return T.value=y.replace(Dy,Iy),m.nextToken(),d(T,m.currentOffset(),m.currentPosition()),T}function h(m){const y=m.nextToken(),k=m.context(),{lastOffset:v,lastStartLoc:M}=k,T=c(8,v,M);return y.type!==12?(o(m,B2.UNEXPECTED_EMPTY_LINKED_MODIFIER,k.lastStartLoc,0),T.value="",d(T,v,M),{nextConsumeToken:y,node:T}):(y.value==null&&o(m,B2.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,t6(y)),T.value=y.value||"",d(T,m.currentOffset(),m.currentPosition()),{node:T})}function x(m,y){const k=m.context(),v=c(7,k.offset,k.startLoc);return v.value=y,d(v,m.currentOffset(),m.currentPosition()),v}function b(m){const y=m.context(),k=c(6,y.offset,y.startLoc);let v=m.nextToken();if(v.type===9){const M=h(m);k.modifier=M.node,v=M.nextConsumeToken||m.nextToken()}switch(v.type!==10&&o(m,B2.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,t6(v)),v=m.nextToken(),v.type===2&&(v=m.nextToken()),v.type){case 11:v.value==null&&o(m,B2.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,t6(v)),k.key=x(m,v.value||"");break;case 5:v.value==null&&o(m,B2.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,t6(v)),k.key=u(m,v.value||"");break;case 6:v.value==null&&o(m,B2.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,t6(v)),k.key=f(m,v.value||"");break;case 7:v.value==null&&o(m,B2.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,t6(v)),k.key=g(m,v.value||"");break;default:{o(m,B2.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const M=m.context(),T=c(7,M.offset,M.startLoc);return T.value="",d(T,M.offset,M.startLoc),k.key=T,d(k,M.offset,M.startLoc),{nextConsumeToken:v,node:k}}}return d(k,m.currentOffset(),m.currentPosition()),{node:k}}function w(m){const y=m.context(),k=y.currentType===1?m.currentOffset():y.offset,v=y.currentType===1?y.endLoc:y.startLoc,M=c(2,k,v);M.items=[];let T=null,R=null;do{const _=T||m.nextToken();switch(T=null,_.type){case 0:_.value==null&&o(m,B2.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,t6(_)),M.items.push(p(m,_.value||""));break;case 6:_.value==null&&o(m,B2.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,t6(_)),M.items.push(f(m,_.value||""));break;case 4:R=!0;break;case 5:_.value==null&&o(m,B2.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,t6(_)),M.items.push(u(m,_.value||"",!!R)),R&&(s(m,jn.USE_MODULO_SYNTAX,y.lastStartLoc,0,t6(_)),R=null);break;case 7:_.value==null&&o(m,B2.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,t6(_)),M.items.push(g(m,_.value||""));break;case 8:{const A=b(m);M.items.push(A.node),T=A.nextConsumeToken||null;break}}}while(y.currentType!==14&&y.currentType!==1);const B=y.currentType===1?y.lastOffset:m.currentOffset(),S=y.currentType===1?y.lastEndLoc:m.currentPosition();return d(M,B,S),M}function F(m,y,k,v){const M=m.context();let T=v.items.length===0;const R=c(1,y,k);R.cases=[],R.cases.push(v);do{const B=w(m);T||(T=B.items.length===0),R.cases.push(B)}while(M.currentType!==14);return T&&o(m,B2.MUST_HAVE_MESSAGES_IN_PLURAL,k,0),d(R,m.currentOffset(),m.currentPosition()),R}function z(m){const y=m.context(),{offset:k,startLoc:v}=y,M=w(m);return y.currentType===14?M:F(m,k,v,M)}function E(m){const y=Oy(m,xl({},e)),k=y.context(),v=c(0,k.offset,k.startLoc);return i&&v.loc&&(v.loc.source=m),v.body=z(y),e.onCacheKey&&(v.cacheKey=e.onCacheKey(m)),k.currentType!==14&&o(y,B2.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,m[k.offset]||""),d(v,y.currentOffset(),y.currentPosition()),v}return{parse:E}}function t6(e){if(e.type===14)return"EOF";const i=(e.value||"").replace(/\r?\n/gu,"\\n");return i.length>10?i.slice(0,9)+"…":i}function Vy(e,i={}){const t={ast:e,helpers:new Set};return{context:()=>t,helper:s=>(t.helpers.add(s),s)}}function Jo(e,i){for(let t=0;ter(t)),e}function er(e){if(e.items.length===1){const i=e.items[0];(i.type===3||i.type===9)&&(e.static=i.value,delete i.value)}else{const i=[];for(let t=0;tc;function p(w,F){c.code+=w}function f(w,F=!0){const z=F?a:"";p(o?z+" ".repeat(w):z)}function u(w=!0){const F=++c.indentLevel;w&&f(F)}function g(w=!0){const F=--c.indentLevel;w&&f(F)}function h(){f(c.indentLevel)}return{context:d,push:p,indent:u,deindent:g,newline:h,helper:w=>`_${w}`,needIndent:()=>c.needIndent}}function Wy(e,i){const{helper:t}=e;e.push(`${t("linked")}(`),k5(e,i.key),i.modifier?(e.push(", "),k5(e,i.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Ky(e,i){const{helper:t,needIndent:a}=e;e.push(`${t("normalize")}([`),e.indent(a());const o=i.items.length;for(let s=0;s1){e.push(`${t("plural")}([`),e.indent(a());const o=i.cases.length;for(let s=0;s{const t=Yo(i.mode)?i.mode:"normal",a=Yo(i.filename)?i.filename:"message.intl";i.sourceMap;const o=i.breakLineCode!=null?i.breakLineCode:t==="arrow"?";":` +`,s=i.needIndent?i.needIndent:t!=="arrow",c=e.helpers||[],d=$y(e,{filename:a,breakLineCode:o,needIndent:s});d.push(t==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),d.indent(s),c.length>0&&(d.push(`const { ${yl(c.map(u=>`${u}: _${u}`),", ")} } = ctx`),d.newline()),d.push("return "),k5(d,e),d.deindent(s),d.push("}"),delete e.helpers;const{code:p,map:f}=d.context();return{ast:e,code:p,map:f?f.toJSON():void 0}};function Yy(e,i={}){const t=xl({},i),a=!!t.jit,o=!!t.minify,s=t.optimize==null?!0:t.optimize,d=Hy(t).parse(e);return a?(s&&qy(d),o&&b5(d),{ast:d,code:""}):(Ny(d,t),Qy(d,t))}/*! + * core-base v9.14.4 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */function Zy(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(H6().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(H6().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(H6().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function B6(e){return e0(e)&&Wn(e)===0&&(o6(e,"b")||o6(e,"body"))}const bl=["b","body"];function Jy(e){return _4(e,bl)}const El=["c","cases"];function eb(e){return _4(e,El,[])}const Cl=["s","static"];function tb(e){return _4(e,Cl)}const Ml=["i","items"];function nb(e){return _4(e,Ml,[])}const Bl=["t","type"];function Wn(e){return _4(e,Bl)}const Rl=["v","value"];function H8(e,i){const t=_4(e,Rl);if(t!=null)return t;throw T7(i)}const wl=["m","modifier"];function ib(e){return _4(e,wl)}const Al=["k","key"];function ab(e){const i=_4(e,Al);if(i)return i;throw T7(6)}function _4(e,i,t){for(let a=0;a{c===void 0?c=d:c+=d},h[1]=()=>{c!==void 0&&(i.push(c),c=void 0)},h[2]=()=>{h[0](),o++},h[3]=()=>{if(o>0)o--,a=4,h[0]();else{if(o=0,c===void 0||(c=lb(c),c===!1))return!1;h[1]()}};function x(){const b=e[t+1];if(a===5&&b==="'"||a===6&&b==='"')return t++,d="\\"+b,h[0](),!0}for(;a!==null;)if(t++,s=e[t],!(s==="\\"&&x())){if(p=cb(s),g=x4[a],f=g[p]||g.l||8,f===8||(a=f[0],f[1]!==void 0&&(u=h[f[1]],u&&(d=s,u()===!1))))return;if(a===7)return i}}const tr=new Map;function db(e,i){return e0(e)?e[i]:null}function fb(e,i){if(!e0(e))return null;let t=tr.get(i);if(t||(t=ub(i),t&&tr.set(i,t)),!t)return null;const a=t.length;let o=e,s=0;for(;se,mb=e=>"",pb="text",gb=e=>e.length===0?"":yy(e),vb=xy;function nr(e,i){return e=Math.abs(e),i===2?e?e>1?1:0:1:e?Math.min(e,2):0}function _b(e){const i=P0(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(P0(e.named.count)||P0(e.named.n))?P0(e.named.count)?e.named.count:P0(e.named.n)?e.named.n:i:i}function xb(e,i){i.count||(i.count=e),i.n||(i.n=e)}function yb(e={}){const i=e.locale,t=_b(e),a=e0(e.pluralRules)&&a2(i)&&x0(e.pluralRules[i])?e.pluralRules[i]:nr,o=e0(e.pluralRules)&&a2(i)&&x0(e.pluralRules[i])?nr:void 0,s=z=>z[a(t,z.length,o)],c=e.list||[],d=z=>c[z],p=e.named||g0();P0(e.pluralIndex)&&xb(t,p);const f=z=>p[z];function u(z){const E=x0(e.messages)?e.messages(z):e0(e.messages)?e.messages[z]:!1;return E||(e.parent?e.parent.message(z):mb)}const g=z=>e.modifiers?e.modifiers[z]:hb,h=k2(e.processor)&&x0(e.processor.normalize)?e.processor.normalize:gb,x=k2(e.processor)&&x0(e.processor.interpolate)?e.processor.interpolate:vb,b=k2(e.processor)&&a2(e.processor.type)?e.processor.type:pb,F={list:d,named:f,plural:s,linked:(z,...E)=>{const[m,y]=E;let k="text",v="";E.length===1?e0(m)?(v=m.modifier||v,k=m.type||k):a2(m)&&(v=m||v):E.length===2&&(a2(m)&&(v=m||v),a2(y)&&(k=y||k));const M=u(z)(F),T=k==="vnode"&&E0(M)&&v?M[0]:M;return v?g(v)(T,k):T},message:u,type:b,interpolate:x,normalize:h,values:e3(g0(),c,p)};return F}let L7=null;function bb(e){L7=e}function Eb(e,i,t){L7&&L7.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:i,meta:t})}const Cb=Mb("function:translate");function Mb(e){return i=>L7&&L7.emit(e,i)}const Bb=jn.__EXTEND_POINT__,T4=S9(Bb),Rb={FALLBACK_TO_TRANSLATE:T4(),CANNOT_FORMAT_NUMBER:T4(),FALLBACK_TO_NUMBER_FORMAT:T4(),CANNOT_FORMAT_DATE:T4(),FALLBACK_TO_DATE_FORMAT:T4(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:T4(),__EXTEND_POINT__:T4()},Sl=B2.__EXTEND_POINT__,L4=S9(Sl),r6={INVALID_ARGUMENT:Sl,INVALID_DATE_ARGUMENT:L4(),INVALID_ISO_DATE_ARGUMENT:L4(),NOT_SUPPORT_NON_STRING_MESSAGE:L4(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:L4(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:L4(),NOT_SUPPORT_LOCALE_TYPE:L4(),__EXTEND_POINT__:L4()};function C6(e){return H5(e,null,void 0)}function Kn(e,i){return i.locale!=null?ir(i.locale):ir(e.locale)}let nt;function ir(e){if(a2(e))return e;if(x0(e)){if(e.resolvedOnce&&nt!=null)return nt;if(e.constructor.name==="Function"){const i=e();if(_y(i))throw C6(r6.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return nt=i}else throw C6(r6.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw C6(r6.NOT_SUPPORT_LOCALE_TYPE)}function wb(e,i,t){return[...new Set([t,...E0(i)?i:e0(i)?Object.keys(i):a2(i)?[i]:[t]])]}function kl(e,i,t){const a=a2(t)?t:T5,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(a);if(!s){s=[];let c=[t];for(;E0(c);)c=ar(s,c,i);const d=E0(i)||!k2(i)?i:i.default?i.default:null;c=a2(d)?[d]:d,E0(c)&&ar(s,c,!1),o.__localeChainCache.set(a,s)}return s}function ar(e,i,t){let a=!0;for(let o=0;o`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function kb(){return{upper:(e,i)=>i==="text"&&a2(e)?e.toUpperCase():i==="vnode"&&e0(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,i)=>i==="text"&&a2(e)?e.toLowerCase():i==="vnode"&&e0(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,i)=>i==="text"&&a2(e)?rr(e):i==="vnode"&&e0(e)&&"__v_isVNode"in e?rr(e.children):e}}let Tl;function sr(e){Tl=e}let Ll;function Tb(e){Ll=e}let Fl;function Lb(e){Fl=e}let Ol=null;const Fb=e=>{Ol=e},Ob=()=>Ol;let Pl=null;const cr=e=>{Pl=e},Pb=()=>Pl;let lr=0;function Db(e={}){const i=x0(e.onWarn)?e.onWarn:by,t=a2(e.version)?e.version:Sb,a=a2(e.locale)||x0(e.locale)?e.locale:T5,o=x0(a)?T5:a,s=E0(e.fallbackLocale)||k2(e.fallbackLocale)||a2(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,c=k2(e.messages)?e.messages:it(o),d=k2(e.datetimeFormats)?e.datetimeFormats:it(o),p=k2(e.numberFormats)?e.numberFormats:it(o),f=e3(g0(),e.modifiers,kb()),u=e.pluralRules||g0(),g=x0(e.missing)?e.missing:null,h=j2(e.missingWarn)||m4(e.missingWarn)?e.missingWarn:!0,x=j2(e.fallbackWarn)||m4(e.fallbackWarn)?e.fallbackWarn:!0,b=!!e.fallbackFormat,w=!!e.unresolving,F=x0(e.postTranslation)?e.postTranslation:null,z=k2(e.processor)?e.processor:null,E=j2(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter,y=x0(e.messageCompiler)?e.messageCompiler:Tl,k=x0(e.messageResolver)?e.messageResolver:Ll||db,v=x0(e.localeFallbacker)?e.localeFallbacker:Fl||wb,M=e0(e.fallbackContext)?e.fallbackContext:void 0,T=e,R=e0(T.__datetimeFormatters)?T.__datetimeFormatters:new Map,B=e0(T.__numberFormatters)?T.__numberFormatters:new Map,S=e0(T.__meta)?T.__meta:{};lr++;const _={version:t,cid:lr,locale:a,fallbackLocale:s,messages:c,modifiers:f,pluralRules:u,missing:g,missingWarn:h,fallbackWarn:x,fallbackFormat:b,unresolving:w,postTranslation:F,processor:z,warnHtmlMessage:E,escapeParameter:m,messageCompiler:y,messageResolver:k,localeFallbacker:v,fallbackContext:M,onWarn:i,__meta:S};return _.datetimeFormats=d,_.numberFormats=p,_.__datetimeFormatters=R,_.__numberFormatters=B,__INTLIFY_PROD_DEVTOOLS__&&Eb(_,t,S),_}const it=e=>({[e]:g0()});function Gn(e,i,t,a,o){const{missing:s,onWarn:c}=e;if(s!==null){const d=s(e,t,i,o);return a2(d)?d:i}else return i}function l7(e,i,t){const a=e;a.__localeChainCache=new Map,e.localeFallbacker(e,t,i)}function Ib(e,i){return e===i?!1:e.split("-")[0]===i.split("-")[0]}function Hb(e,i){const t=i.indexOf(e);if(t===-1)return!1;for(let a=t+1;aVb(t,e)}function Vb(e,i){const t=Jy(i);if(t==null)throw T7(0);if(Wn(t)===1){const s=eb(t);return e.plural(s.reduce((c,d)=>[...c,ur(e,d)],[]))}else return ur(e,t)}function ur(e,i){const t=tb(i);if(t!=null)return e.type==="text"?t:e.normalize([t]);{const a=nb(i).reduce((o,s)=>[...o,hn(e,s)],[]);return e.normalize(a)}}function hn(e,i){const t=Wn(i);switch(t){case 3:return H8(i,t);case 9:return H8(i,t);case 4:{const a=i;if(o6(a,"k")&&a.k)return e.interpolate(e.named(a.k));if(o6(a,"key")&&a.key)return e.interpolate(e.named(a.key));throw T7(t)}case 5:{const a=i;if(o6(a,"i")&&P0(a.i))return e.interpolate(e.list(a.i));if(o6(a,"index")&&P0(a.index))return e.interpolate(e.list(a.index));throw T7(t)}case 6:{const a=i,o=ib(a),s=ab(a);return e.linked(hn(e,s),o?hn(e,o):void 0,e.type)}case 7:return H8(i,t);case 8:return H8(i,t);default:throw new Error(`unhandled node on format message part: ${t}`)}}const Dl=e=>e;let M5=g0();function Il(e,i={}){let t=!1;const a=i.onError||Ay;return i.onError=o=>{t=!0,a(o)},{...Yy(e,i),detectError:t}}const Nb=(e,i)=>{if(!a2(e))throw C6(r6.NOT_SUPPORT_NON_STRING_MESSAGE);{j2(i.warnHtmlMessage)&&i.warnHtmlMessage;const a=(i.onCacheKey||Dl)(e),o=M5[a];if(o)return o;const{code:s,detectError:c}=Il(e,i),d=new Function(`return ${s}`)();return c?d:M5[a]=d}};function qb(e,i){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&a2(e)){j2(i.warnHtmlMessage)&&i.warnHtmlMessage;const a=(i.onCacheKey||Dl)(e),o=M5[a];if(o)return o;const{ast:s,detectError:c}=Il(e,{...i,location:!1,jit:!0}),d=at(s);return c?d:M5[a]=d}else{const t=e.cacheKey;if(t){const a=M5[t];return a||(M5[t]=at(e))}else return at(e)}}const dr=()=>"",$3=e=>x0(e);function fr(e,...i){const{fallbackFormat:t,postTranslation:a,unresolving:o,messageCompiler:s,fallbackLocale:c,messages:d}=e,[p,f]=mn(...i),u=j2(f.missingWarn)?f.missingWarn:e.missingWarn,g=j2(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,h=j2(f.escapeParameter)?f.escapeParameter:e.escapeParameter,x=!!f.resolvedMessage,b=a2(f.default)||j2(f.default)?j2(f.default)?s?p:()=>p:f.default:t?s?p:()=>p:"",w=t||b!=="",F=Kn(e,f);h&&Ub(f);let[z,E,m]=x?[p,F,d[F]||g0()]:Hl(e,p,F,c,g,u),y=z,k=p;if(!x&&!(a2(y)||B6(y)||$3(y))&&w&&(y=b,k=y),!x&&(!(a2(y)||B6(y)||$3(y))||!a2(E)))return o?k9:p;let v=!1;const M=()=>{v=!0},T=$3(y)?y:Vl(e,p,E,y,k,M);if(v)return y;const R=Wb(e,E,m,f),B=yb(R),S=jb(e,T,B),_=a?a(S,p):S;if(__INTLIFY_PROD_DEVTOOLS__){const A={timestamp:Date.now(),key:a2(p)?p:$3(y)?y.key:"",locale:E||($3(y)?y.locale:""),format:a2(y)?y:$3(y)?y.source:"",message:_};A.meta=e3({},e.__meta,Ob()||{}),Cb(A)}return _}function Ub(e){E0(e.list)?e.list=e.list.map(i=>a2(i)?Qo(i):i):e0(e.named)&&Object.keys(e.named).forEach(i=>{a2(e.named[i])&&(e.named[i]=Qo(e.named[i]))})}function Hl(e,i,t,a,o,s){const{messages:c,onWarn:d,messageResolver:p,localeFallbacker:f}=e,u=f(e,a,t);let g=g0(),h,x=null;const b="translate";for(let w=0;wa;return f.locale=t,f.key=i,f}const p=c(a,$b(e,t,o,a,d,s));return p.locale=t,p.key=i,p.source=a,p}function jb(e,i,t){return i(t)}function mn(...e){const[i,t,a]=e,o=g0();if(!a2(i)&&!P0(i)&&!$3(i)&&!B6(i))throw C6(r6.INVALID_ARGUMENT);const s=P0(i)?String(i):($3(i),i);return P0(t)?o.plural=t:a2(t)?o.default=t:k2(t)&&!z9(t)?o.named=t:E0(t)&&(o.list=t),P0(a)?o.plural=a:a2(a)?o.default=a:k2(a)&&e3(o,a),[s,o]}function $b(e,i,t,a,o,s){return{locale:i,key:t,warnHtmlMessage:o,onError:c=>{throw s&&s(c),c},onCacheKey:c=>hy(i,t,c)}}function Wb(e,i,t,a){const{modifiers:o,pluralRules:s,messageResolver:c,fallbackLocale:d,fallbackWarn:p,missingWarn:f,fallbackContext:u}=e,h={locale:i,modifiers:o,pluralRules:s,messages:x=>{let b=c(t,x);if(b==null&&u){const[,,w]=Hl(u,x,i,d,p,f);b=c(w,x)}if(a2(b)||B6(b)){let w=!1;const z=Vl(e,x,i,b,x,()=>{w=!0});return w?dr:z}else return $3(b)?b:dr}};return e.processor&&(h.processor=e.processor),a.list&&(h.list=a.list),a.named&&(h.named=a.named),P0(a.plural)&&(h.pluralIndex=a.plural),h}function hr(e,...i){const{datetimeFormats:t,unresolving:a,fallbackLocale:o,onWarn:s,localeFallbacker:c}=e,{__datetimeFormatters:d}=e,[p,f,u,g]=pn(...i),h=j2(u.missingWarn)?u.missingWarn:e.missingWarn;j2(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const x=!!u.part,b=Kn(e,u),w=c(e,o,b);if(!a2(p)||p==="")return new Intl.DateTimeFormat(b,g).format(f);let F={},z,E=null;const m="datetime format";for(let v=0;v{Nl.includes(p)?c[p]=t[p]:s[p]=t[p]}),a2(a)?s.locale=a:k2(a)&&(c=a),k2(o)&&(c=o),[s.key||"",d,s,c]}function mr(e,i,t){const a=e;for(const o in t){const s=`${i}__${o}`;a.__datetimeFormatters.has(s)&&a.__datetimeFormatters.delete(s)}}function pr(e,...i){const{numberFormats:t,unresolving:a,fallbackLocale:o,onWarn:s,localeFallbacker:c}=e,{__numberFormatters:d}=e,[p,f,u,g]=gn(...i),h=j2(u.missingWarn)?u.missingWarn:e.missingWarn;j2(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const x=!!u.part,b=Kn(e,u),w=c(e,o,b);if(!a2(p)||p==="")return new Intl.NumberFormat(b,g).format(f);let F={},z,E=null;const m="number format";for(let v=0;v{ql.includes(p)?c[p]=t[p]:s[p]=t[p]}),a2(a)?s.locale=a:k2(a)&&(c=a),k2(o)&&(c=o),[s.key||"",d,s,c]}function gr(e,i,t){const a=e;for(const o in t){const s=`${i}__${o}`;a.__numberFormatters.has(s)&&a.__numberFormatters.delete(s)}}Zy();/*! + * vue-i18n v9.14.4 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */const Kb="9.14.4";function Gb(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(H6().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(H6().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(H6().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(H6().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(H6().__INTLIFY_PROD_DEVTOOLS__=!1)}const Xb=Rb.__EXTEND_POINT__,D6=S9(Xb);D6(),D6(),D6(),D6(),D6(),D6(),D6(),D6(),D6();const Ul=r6.__EXTEND_POINT__,_3=S9(Ul),j0={UNEXPECTED_RETURN_TYPE:Ul,INVALID_ARGUMENT:_3(),MUST_BE_CALL_SETUP_TOP:_3(),NOT_INSTALLED:_3(),NOT_AVAILABLE_IN_LEGACY_MODE:_3(),REQUIRED_VALUE:_3(),INVALID_VALUE:_3(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:_3(),NOT_INSTALLED_WITH_PROVIDE:_3(),UNEXPECTED_ERROR:_3(),NOT_COMPATIBLE_LEGACY_VUE_I18N:_3(),BRIDGE_SUPPORT_VUE_2_ONLY:_3(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:_3(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:_3(),__EXTEND_POINT__:_3()};function K0(e,...i){return H5(e,null,void 0)}const vn=v4("__translateVNode"),_n=v4("__datetimeParts"),xn=v4("__numberParts"),jl=v4("__setPluralRules"),$l=v4("__injectWithOption"),yn=v4("__dispose");function F7(e){if(!e0(e)||B6(e))return e;for(const i in e)if(o6(e,i))if(!i.includes("."))e0(e[i])&&F7(e[i]);else{const t=i.split("."),a=t.length-1;let o=e,s=!1;for(let c=0;c{if("locale"in d&&"resource"in d){const{locale:p,resource:f}=d;p?(c[p]=c[p]||g0(),t9(f,c[p])):t9(f,c)}else a2(d)&&t9(JSON.parse(d),c)}),o==null&&s)for(const d in c)o6(c,d)&&F7(c[d]);return c}function Wl(e){return e.type}function Kl(e,i,t){let a=e0(i.messages)?i.messages:g0();"__i18nGlobal"in t&&(a=T9(e.locale.value,{messages:a,__i18n:t.__i18nGlobal}));const o=Object.keys(a);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,a[s])});{if(e0(i.datetimeFormats)){const s=Object.keys(i.datetimeFormats);s.length&&s.forEach(c=>{e.mergeDateTimeFormat(c,i.datetimeFormats[c])})}if(e0(i.numberFormats)){const s=Object.keys(i.numberFormats);s.length&&s.forEach(c=>{e.mergeNumberFormat(c,i.numberFormats[c])})}}}function vr(e){return j1(T_,null,e,0)}const _r="__INTLIFY_META__",xr=()=>[],Qb=()=>!1;let yr=0;function br(e){return(i,t,a,o)=>e(t,a,V4()||void 0,o)}const Yb=()=>{const e=V4();let i=null;return e&&(i=Wl(e)[_r])?{[_r]:i}:null};function Xn(e={},i){const{__root:t,__injectWithOption:a}=e,o=t===void 0,s=e.flatJson,c=m9?P1:Vn,d=!!e.translateExistCompatible;let p=j2(e.inheritLocale)?e.inheritLocale:!0;const f=c(t&&p?t.locale.value:a2(e.locale)?e.locale:T5),u=c(t&&p?t.fallbackLocale.value:a2(e.fallbackLocale)||E0(e.fallbackLocale)||k2(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:f.value),g=c(T9(f.value,e)),h=c(k2(e.datetimeFormats)?e.datetimeFormats:{[f.value]:{}}),x=c(k2(e.numberFormats)?e.numberFormats:{[f.value]:{}});let b=t?t.missingWarn:j2(e.missingWarn)||m4(e.missingWarn)?e.missingWarn:!0,w=t?t.fallbackWarn:j2(e.fallbackWarn)||m4(e.fallbackWarn)?e.fallbackWarn:!0,F=t?t.fallbackRoot:j2(e.fallbackRoot)?e.fallbackRoot:!0,z=!!e.fallbackFormat,E=x0(e.missing)?e.missing:null,m=x0(e.missing)?br(e.missing):null,y=x0(e.postTranslation)?e.postTranslation:null,k=t?t.warnHtmlMessage:j2(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter;const M=t?t.modifiers:k2(e.modifiers)?e.modifiers:{};let T=e.pluralRules||t&&t.pluralRules,R;R=(()=>{o&&cr(null);const d1={version:Kb,locale:f.value,fallbackLocale:u.value,messages:g.value,modifiers:M,pluralRules:T,missing:m===null?void 0:m,missingWarn:b,fallbackWarn:w,fallbackFormat:z,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:k,escapeParameter:v,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};d1.datetimeFormats=h.value,d1.numberFormats=x.value,d1.__datetimeFormatters=k2(R)?R.__datetimeFormatters:void 0,d1.__numberFormatters=k2(R)?R.__numberFormatters:void 0;const B1=Db(d1);return o&&cr(B1),B1})(),l7(R,f.value,u.value);function S(){return[f.value,u.value,g.value,h.value,x.value]}const _=A2({get:()=>f.value,set:d1=>{f.value=d1,R.locale=f.value}}),A=A2({get:()=>u.value,set:d1=>{u.value=d1,R.fallbackLocale=u.value,l7(R,f.value,d1)}}),O=A2(()=>g.value),D=A2(()=>h.value),H=A2(()=>x.value);function N(){return x0(y)?y:null}function $(d1){y=d1,R.postTranslation=d1}function Y(){return E}function v1(d1){d1!==null&&(m=br(d1)),E=d1,R.missing=m}const t1=(d1,B1,i2,f2,K2,q1)=>{S();let O1;try{__INTLIFY_PROD_DEVTOOLS__,o||(R.fallbackContext=t?Pb():void 0),O1=d1(R)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(R.fallbackContext=void 0)}if(i2!=="translate exists"&&P0(O1)&&O1===k9||i2==="translate exists"&&!O1){const[_2,k1]=B1();return t&&F?f2(t):K2(_2)}else{if(q1(O1))return O1;throw K0(j0.UNEXPECTED_RETURN_TYPE)}};function X(...d1){return t1(B1=>Reflect.apply(fr,null,[B1,...d1]),()=>mn(...d1),"translate",B1=>Reflect.apply(B1.t,B1,[...d1]),B1=>B1,B1=>a2(B1))}function o1(...d1){const[B1,i2,f2]=d1;if(f2&&!e0(f2))throw K0(j0.INVALID_ARGUMENT);return X(B1,i2,e3({resolvedMessage:!0},f2||{}))}function n1(...d1){return t1(B1=>Reflect.apply(hr,null,[B1,...d1]),()=>pn(...d1),"datetime format",B1=>Reflect.apply(B1.d,B1,[...d1]),()=>or,B1=>a2(B1))}function s1(...d1){return t1(B1=>Reflect.apply(pr,null,[B1,...d1]),()=>gn(...d1),"number format",B1=>Reflect.apply(B1.n,B1,[...d1]),()=>or,B1=>a2(B1))}function c1(d1){return d1.map(B1=>a2(B1)||P0(B1)||j2(B1)?vr(String(B1)):B1)}const i1={normalize:c1,interpolate:d1=>d1,type:"vnode"};function l1(...d1){return t1(B1=>{let i2;const f2=B1;try{f2.processor=i1,i2=Reflect.apply(fr,null,[f2,...d1])}finally{f2.processor=null}return i2},()=>mn(...d1),"translate",B1=>B1[vn](...d1),B1=>[vr(B1)],B1=>E0(B1))}function m1(...d1){return t1(B1=>Reflect.apply(pr,null,[B1,...d1]),()=>gn(...d1),"number format",B1=>B1[xn](...d1),xr,B1=>a2(B1)||E0(B1))}function M1(...d1){return t1(B1=>Reflect.apply(hr,null,[B1,...d1]),()=>pn(...d1),"datetime format",B1=>B1[_n](...d1),xr,B1=>a2(B1)||E0(B1))}function z1(d1){T=d1,R.pluralRules=T}function w1(d1,B1){return t1(()=>{if(!d1)return!1;const i2=a2(B1)?B1:f.value,f2=Y1(i2),K2=R.messageResolver(f2,d1);return d?K2!=null:B6(K2)||$3(K2)||a2(K2)},()=>[d1],"translate exists",i2=>Reflect.apply(i2.te,i2,[d1,B1]),Qb,i2=>j2(i2))}function f1(d1){let B1=null;const i2=kl(R,u.value,f.value);for(let f2=0;f2{p&&(f.value=d1,R.locale=d1,l7(R,f.value,u.value))}),l6(t.fallbackLocale,d1=>{p&&(u.value=d1,R.fallbackLocale=d1,l7(R,f.value,u.value))}));const s2={id:yr,locale:_,fallbackLocale:A,get inheritLocale(){return p},set inheritLocale(d1){p=d1,d1&&t&&(f.value=t.locale.value,u.value=t.fallbackLocale.value,l7(R,f.value,u.value))},get availableLocales(){return Object.keys(g.value).sort()},messages:O,get modifiers(){return M},get pluralRules(){return T||{}},get isGlobal(){return o},get missingWarn(){return b},set missingWarn(d1){b=d1,R.missingWarn=b},get fallbackWarn(){return w},set fallbackWarn(d1){w=d1,R.fallbackWarn=w},get fallbackRoot(){return F},set fallbackRoot(d1){F=d1},get fallbackFormat(){return z},set fallbackFormat(d1){z=d1,R.fallbackFormat=z},get warnHtmlMessage(){return k},set warnHtmlMessage(d1){k=d1,R.warnHtmlMessage=d1},get escapeParameter(){return v},set escapeParameter(d1){v=d1,R.escapeParameter=d1},t:X,getLocaleMessage:Y1,setLocaleMessage:W1,mergeLocaleMessage:C1,getPostTranslationHandler:N,setPostTranslationHandler:$,getMissingHandler:Y,setMissingHandler:v1,[jl]:z1};return s2.datetimeFormats=D,s2.numberFormats=H,s2.rt=o1,s2.te=w1,s2.tm=L1,s2.d=n1,s2.n=s1,s2.getDateTimeFormat=F1,s2.setDateTimeFormat=G,s2.mergeDateTimeFormat=J,s2.getNumberFormat=g1,s2.setNumberFormat=I1,s2.mergeNumberFormat=J1,s2[$l]=a,s2[vn]=l1,s2[_n]=M1,s2[xn]=m1,s2}function Zb(e){const i=a2(e.locale)?e.locale:T5,t=a2(e.fallbackLocale)||E0(e.fallbackLocale)||k2(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,a=x0(e.missing)?e.missing:void 0,o=j2(e.silentTranslationWarn)||m4(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=j2(e.silentFallbackWarn)||m4(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,c=j2(e.fallbackRoot)?e.fallbackRoot:!0,d=!!e.formatFallbackMessages,p=k2(e.modifiers)?e.modifiers:{},f=e.pluralizationRules,u=x0(e.postTranslation)?e.postTranslation:void 0,g=a2(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,h=!!e.escapeParameterHtml,x=j2(e.sync)?e.sync:!0;let b=e.messages;if(k2(e.sharedMessages)){const v=e.sharedMessages;b=Object.keys(v).reduce((T,R)=>{const B=T[R]||(T[R]={});return e3(B,v[R]),T},b||{})}const{__i18n:w,__root:F,__injectWithOption:z}=e,E=e.datetimeFormats,m=e.numberFormats,y=e.flatJson,k=e.translateExistCompatible;return{locale:i,fallbackLocale:t,messages:b,flatJson:y,datetimeFormats:E,numberFormats:m,missing:a,missingWarn:o,fallbackWarn:s,fallbackRoot:c,fallbackFormat:d,modifiers:p,pluralRules:f,postTranslation:u,warnHtmlMessage:g,escapeParameter:h,messageResolver:e.messageResolver,inheritLocale:x,translateExistCompatible:k,__i18n:w,__root:F,__injectWithOption:z}}function bn(e={},i){{const t=Xn(Zb(e)),{__extender:a}=e,o={id:t.id,get locale(){return t.locale.value},set locale(s){t.locale.value=s},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(s){t.fallbackLocale.value=s},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(s){},get missing(){return t.getMissingHandler()},set missing(s){t.setMissingHandler(s)},get silentTranslationWarn(){return j2(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(s){t.missingWarn=j2(s)?!s:s},get silentFallbackWarn(){return j2(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(s){t.fallbackWarn=j2(s)?!s:s},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(s){t.fallbackFormat=s},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(s){t.setPostTranslationHandler(s)},get sync(){return t.inheritLocale},set sync(s){t.inheritLocale=s},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){t.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(s){t.escapeParameter=s},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(s){},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...s){const[c,d,p]=s,f={};let u=null,g=null;if(!a2(c))throw K0(j0.INVALID_ARGUMENT);const h=c;return a2(d)?f.locale=d:E0(d)?u=d:k2(d)&&(g=d),E0(p)?u=p:k2(p)&&(g=p),Reflect.apply(t.t,t,[h,u||g||{},f])},rt(...s){return Reflect.apply(t.rt,t,[...s])},tc(...s){const[c,d,p]=s,f={plural:1};let u=null,g=null;if(!a2(c))throw K0(j0.INVALID_ARGUMENT);const h=c;return a2(d)?f.locale=d:P0(d)?f.plural=d:E0(d)?u=d:k2(d)&&(g=d),a2(p)?f.locale=p:E0(p)?u=p:k2(p)&&(g=p),Reflect.apply(t.t,t,[h,u||g||{},f])},te(s,c){return t.te(s,c)},tm(s){return t.tm(s)},getLocaleMessage(s){return t.getLocaleMessage(s)},setLocaleMessage(s,c){t.setLocaleMessage(s,c)},mergeLocaleMessage(s,c){t.mergeLocaleMessage(s,c)},d(...s){return Reflect.apply(t.d,t,[...s])},getDateTimeFormat(s){return t.getDateTimeFormat(s)},setDateTimeFormat(s,c){t.setDateTimeFormat(s,c)},mergeDateTimeFormat(s,c){t.mergeDateTimeFormat(s,c)},n(...s){return Reflect.apply(t.n,t,[...s])},getNumberFormat(s){return t.getNumberFormat(s)},setNumberFormat(s,c){t.setNumberFormat(s,c)},mergeNumberFormat(s,c){t.mergeNumberFormat(s,c)},getChoiceIndex(s,c){return-1}};return o.__extender=a,o}}const Qn={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Jb({slots:e},i){return i.length===1&&i[0]==="default"?(e.default?e.default():[]).reduce((a,o)=>[...a,...o.type===N4?o.children:[o]],[]):i.reduce((t,a)=>{const o=e[a];return o&&(t[a]=o()),t},g0())}function Gl(e){return N4}const eE=D5({name:"i18n-t",props:e3({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>P0(e)||!isNaN(e)}},Qn),setup(e,i){const{slots:t,attrs:a}=i,o=e.i18n||Yn({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(t).filter(g=>g!=="_"),c=g0();e.locale&&(c.locale=e.locale),e.plural!==void 0&&(c.plural=a2(e.plural)?+e.plural:e.plural);const d=Jb(i,s),p=o[vn](e.keypath,d,c),f=e3(g0(),a),u=a2(e.tag)||e0(e.tag)?e.tag:Gl();return q6(u,f,p)}}}),Er=eE;function tE(e){return E0(e)&&!a2(e[0])}function Xl(e,i,t,a){const{slots:o,attrs:s}=i;return()=>{const c={part:!0};let d=g0();e.locale&&(c.locale=e.locale),a2(e.format)?c.key=e.format:e0(e.format)&&(a2(e.format.key)&&(c.key=e.format.key),d=Object.keys(e.format).reduce((h,x)=>t.includes(x)?e3(g0(),h,{[x]:e.format[x]}):h,g0()));const p=a(e.value,c,d);let f=[c.key];E0(p)?f=p.map((h,x)=>{const b=o[h.type],w=b?b({[h.type]:h.value,index:x,parts:p}):[h.value];return tE(w)&&(w[0].key=`${h.type}-${x}`),w}):a2(p)&&(f=[p]);const u=e3(g0(),s),g=a2(e.tag)||e0(e.tag)?e.tag:Gl();return q6(g,u,f)}}const nE=D5({name:"i18n-n",props:e3({value:{type:Number,required:!0},format:{type:[String,Object]}},Qn),setup(e,i){const t=e.i18n||Yn({useScope:e.scope,__useComponent:!0});return Xl(e,i,ql,(...a)=>t[xn](...a))}}),Cr=nE,iE=D5({name:"i18n-d",props:e3({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Qn),setup(e,i){const t=e.i18n||Yn({useScope:e.scope,__useComponent:!0});return Xl(e,i,Nl,(...a)=>t[_n](...a))}}),Mr=iE;function aE(e,i){const t=e;if(e.mode==="composition")return t.__getInstance(i)||e.global;{const a=t.__getInstance(i);return a!=null?a.__composer:e.global.__composer}}function oE(e){const i=c=>{const{instance:d,modifiers:p,value:f}=c;if(!d||!d.$)throw K0(j0.UNEXPECTED_ERROR);const u=aE(e,d.$),g=Br(f);return[Reflect.apply(u.t,u,[...Rr(g)]),u]};return{created:(c,d)=>{const[p,f]=i(d);m9&&e.global===f&&(c.__i18nWatcher=l6(f.locale,()=>{d.instance&&d.instance.$forceUpdate()})),c.__composer=f,c.textContent=p},unmounted:c=>{m9&&c.__i18nWatcher&&(c.__i18nWatcher(),c.__i18nWatcher=void 0,delete c.__i18nWatcher),c.__composer&&(c.__composer=void 0,delete c.__composer)},beforeUpdate:(c,{value:d})=>{if(c.__composer){const p=c.__composer,f=Br(d);c.textContent=Reflect.apply(p.t,p,[...Rr(f)])}},getSSRProps:c=>{const[d]=i(c);return{textContent:d}}}}function Br(e){if(a2(e))return{path:e};if(k2(e)){if(!("path"in e))throw K0(j0.REQUIRED_VALUE,"path");return e}else throw K0(j0.INVALID_VALUE)}function Rr(e){const{path:i,locale:t,args:a,choice:o,plural:s}=e,c={},d=a||{};return a2(t)&&(c.locale=t),P0(o)&&(c.plural=o),P0(s)&&(c.plural=s),[i,d,c]}function rE(e,i,...t){const a=k2(t[0])?t[0]:{},o=!!a.useI18nComponentName;(j2(a.globalInstall)?a.globalInstall:!0)&&([o?"i18n":Er.name,"I18nT"].forEach(c=>e.component(c,Er)),[Cr.name,"I18nN"].forEach(c=>e.component(c,Cr)),[Mr.name,"I18nD"].forEach(c=>e.component(c,Mr))),e.directive("t",oE(i))}function sE(e,i,t){return{beforeCreate(){const a=V4();if(!a)throw K0(j0.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const s=o.i18n;if(o.__i18n&&(s.__i18n=o.__i18n),s.__root=i,this===this.$root)this.$i18n=wr(e,s);else{s.__injectWithOption=!0,s.__extender=t.__vueI18nExtend,this.$i18n=bn(s);const c=this.$i18n;c.__extender&&(c.__disposer=c.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=wr(e,o);else{this.$i18n=bn({__i18n:o.__i18n,__injectWithOption:!0,__extender:t.__vueI18nExtend,__root:i});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&Kl(i,o,o),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,c)=>this.$i18n.te(s,c),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),t.__setInstance(a,this.$i18n)},mounted(){},unmounted(){const a=V4();if(!a)throw K0(j0.UNEXPECTED_ERROR);const o=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),t.__deleteInstance(a),delete this.$i18n}}}function wr(e,i){e.locale=i.locale||e.locale,e.fallbackLocale=i.fallbackLocale||e.fallbackLocale,e.missing=i.missing||e.missing,e.silentTranslationWarn=i.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=i.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=i.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=i.postTranslation||e.postTranslation,e.warnHtmlInMessage=i.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=i.escapeParameterHtml||e.escapeParameterHtml,e.sync=i.sync||e.sync,e.__composer[jl](i.pluralizationRules||e.pluralizationRules);const t=T9(e.locale,{messages:i.messages,__i18n:i.__i18n});return Object.keys(t).forEach(a=>e.mergeLocaleMessage(a,t[a])),i.datetimeFormats&&Object.keys(i.datetimeFormats).forEach(a=>e.mergeDateTimeFormat(a,i.datetimeFormats[a])),i.numberFormats&&Object.keys(i.numberFormats).forEach(a=>e.mergeNumberFormat(a,i.numberFormats[a])),e}const cE=v4("global-vue-i18n");function lE(e={},i){const t=__VUE_I18N_LEGACY_API__&&j2(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,a=j2(e.globalInjection)?e.globalInjection:!0,o=__VUE_I18N_LEGACY_API__&&t?!!e.allowComposition:!0,s=new Map,[c,d]=uE(e,t),p=v4("");function f(h){return s.get(h)||null}function u(h,x){s.set(h,x)}function g(h){s.delete(h)}{const h={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},get allowComposition(){return o},async install(x,...b){if(x.__VUE_I18N_SYMBOL__=p,x.provide(x.__VUE_I18N_SYMBOL__,h),k2(b[0])){const z=b[0];h.__composerExtend=z.__composerExtend,h.__vueI18nExtend=z.__vueI18nExtend}let w=null;!t&&a&&(w=xE(x,h.global)),__VUE_I18N_FULL_INSTALL__&&rE(x,h,...b),__VUE_I18N_LEGACY_API__&&t&&x.mixin(sE(d,d.__composer,h));const F=x.unmount;x.unmount=()=>{w&&w(),h.dispose(),F()}},get global(){return d},dispose(){c.stop()},__instances:s,__getInstance:f,__setInstance:u,__deleteInstance:g};return h}}function Yn(e={}){const i=V4();if(i==null)throw K0(j0.MUST_BE_CALL_SETUP_TOP);if(!i.isCE&&i.appContext.app!=null&&!i.appContext.app.__VUE_I18N_SYMBOL__)throw K0(j0.NOT_INSTALLED);const t=dE(i),a=hE(t),o=Wl(i),s=fE(e,o);if(__VUE_I18N_LEGACY_API__&&t.mode==="legacy"&&!e.__useComponent){if(!t.allowComposition)throw K0(j0.NOT_AVAILABLE_IN_LEGACY_MODE);return vE(i,s,a,e)}if(s==="global")return Kl(a,e,o),a;if(s==="parent"){let p=mE(t,i,e.__useComponent);return p==null&&(p=a),p}const c=t;let d=c.__getInstance(i);if(d==null){const p=e3({},e);"__i18n"in o&&(p.__i18n=o.__i18n),a&&(p.__root=a),d=Xn(p),c.__composerExtend&&(d[yn]=c.__composerExtend(d)),gE(c,i,d),c.__setInstance(i,d)}return d}function uE(e,i,t){const a=In();{const o=__VUE_I18N_LEGACY_API__&&i?a.run(()=>bn(e)):a.run(()=>Xn(e));if(o==null)throw K0(j0.UNEXPECTED_ERROR);return[a,o]}}function dE(e){{const i=R6(e.isCE?cE:e.appContext.app.__VUE_I18N_SYMBOL__);if(!i)throw K0(e.isCE?j0.NOT_INSTALLED_WITH_PROVIDE:j0.UNEXPECTED_ERROR);return i}}function fE(e,i){return z9(e)?"__i18n"in i?"local":"global":e.useScope?e.useScope:"local"}function hE(e){return e.mode==="composition"?e.global:e.global.__composer}function mE(e,i,t=!1){let a=null;const o=i.root;let s=pE(i,t);for(;s!=null;){const c=e;if(e.mode==="composition")a=c.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const d=c.__getInstance(s);d!=null&&(a=d.__composer,t&&a&&!a[$l]&&(a=null))}if(a!=null||o===s)break;s=s.parent}return a}function pE(e,i=!1){return e==null?null:i&&e.vnode.ctx||e.parent}function gE(e,i,t){I5(()=>{},i),V7(()=>{const a=t;e.__deleteInstance(i);const o=a[yn];o&&(o(),delete a[yn])},i)}function vE(e,i,t,a={}){const o=i==="local",s=Vn(null);if(o&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw K0(j0.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const c=j2(a.inheritLocale)?a.inheritLocale:!a2(a.locale),d=P1(!o||c?t.locale.value:a2(a.locale)?a.locale:T5),p=P1(!o||c?t.fallbackLocale.value:a2(a.fallbackLocale)||E0(a.fallbackLocale)||k2(a.fallbackLocale)||a.fallbackLocale===!1?a.fallbackLocale:d.value),f=P1(T9(d.value,a)),u=P1(k2(a.datetimeFormats)?a.datetimeFormats:{[d.value]:{}}),g=P1(k2(a.numberFormats)?a.numberFormats:{[d.value]:{}}),h=o?t.missingWarn:j2(a.missingWarn)||m4(a.missingWarn)?a.missingWarn:!0,x=o?t.fallbackWarn:j2(a.fallbackWarn)||m4(a.fallbackWarn)?a.fallbackWarn:!0,b=o?t.fallbackRoot:j2(a.fallbackRoot)?a.fallbackRoot:!0,w=!!a.fallbackFormat,F=x0(a.missing)?a.missing:null,z=x0(a.postTranslation)?a.postTranslation:null,E=o?t.warnHtmlMessage:j2(a.warnHtmlMessage)?a.warnHtmlMessage:!0,m=!!a.escapeParameter,y=o?t.modifiers:k2(a.modifiers)?a.modifiers:{},k=a.pluralRules||o&&t.pluralRules;function v(){return[d.value,p.value,f.value,u.value,g.value]}const M=A2({get:()=>s.value?s.value.locale.value:d.value,set:f1=>{s.value&&(s.value.locale.value=f1),d.value=f1}}),T=A2({get:()=>s.value?s.value.fallbackLocale.value:p.value,set:f1=>{s.value&&(s.value.fallbackLocale.value=f1),p.value=f1}}),R=A2(()=>s.value?s.value.messages.value:f.value),B=A2(()=>u.value),S=A2(()=>g.value);function _(){return s.value?s.value.getPostTranslationHandler():z}function A(f1){s.value&&s.value.setPostTranslationHandler(f1)}function O(){return s.value?s.value.getMissingHandler():F}function D(f1){s.value&&s.value.setMissingHandler(f1)}function H(f1){return v(),f1()}function N(...f1){return s.value?H(()=>Reflect.apply(s.value.t,null,[...f1])):H(()=>"")}function $(...f1){return s.value?Reflect.apply(s.value.rt,null,[...f1]):""}function Y(...f1){return s.value?H(()=>Reflect.apply(s.value.d,null,[...f1])):H(()=>"")}function v1(...f1){return s.value?H(()=>Reflect.apply(s.value.n,null,[...f1])):H(()=>"")}function t1(f1){return s.value?s.value.tm(f1):{}}function X(f1,L1){return s.value?s.value.te(f1,L1):!1}function o1(f1){return s.value?s.value.getLocaleMessage(f1):{}}function n1(f1,L1){s.value&&(s.value.setLocaleMessage(f1,L1),f.value[f1]=L1)}function s1(f1,L1){s.value&&s.value.mergeLocaleMessage(f1,L1)}function c1(f1){return s.value?s.value.getDateTimeFormat(f1):{}}function j(f1,L1){s.value&&(s.value.setDateTimeFormat(f1,L1),u.value[f1]=L1)}function i1(f1,L1){s.value&&s.value.mergeDateTimeFormat(f1,L1)}function l1(f1){return s.value?s.value.getNumberFormat(f1):{}}function m1(f1,L1){s.value&&(s.value.setNumberFormat(f1,L1),g.value[f1]=L1)}function M1(f1,L1){s.value&&s.value.mergeNumberFormat(f1,L1)}const z1={get id(){return s.value?s.value.id:-1},locale:M,fallbackLocale:T,messages:R,datetimeFormats:B,numberFormats:S,get inheritLocale(){return s.value?s.value.inheritLocale:c},set inheritLocale(f1){s.value&&(s.value.inheritLocale=f1)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(f.value)},get modifiers(){return s.value?s.value.modifiers:y},get pluralRules(){return s.value?s.value.pluralRules:k},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:h},set missingWarn(f1){s.value&&(s.value.missingWarn=f1)},get fallbackWarn(){return s.value?s.value.fallbackWarn:x},set fallbackWarn(f1){s.value&&(s.value.missingWarn=f1)},get fallbackRoot(){return s.value?s.value.fallbackRoot:b},set fallbackRoot(f1){s.value&&(s.value.fallbackRoot=f1)},get fallbackFormat(){return s.value?s.value.fallbackFormat:w},set fallbackFormat(f1){s.value&&(s.value.fallbackFormat=f1)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:E},set warnHtmlMessage(f1){s.value&&(s.value.warnHtmlMessage=f1)},get escapeParameter(){return s.value?s.value.escapeParameter:m},set escapeParameter(f1){s.value&&(s.value.escapeParameter=f1)},t:N,getPostTranslationHandler:_,setPostTranslationHandler:A,getMissingHandler:O,setMissingHandler:D,rt:$,d:Y,n:v1,tm:t1,te:X,getLocaleMessage:o1,setLocaleMessage:n1,mergeLocaleMessage:s1,getDateTimeFormat:c1,setDateTimeFormat:j,mergeDateTimeFormat:i1,getNumberFormat:l1,setNumberFormat:m1,mergeNumberFormat:M1};function w1(f1){f1.locale.value=d.value,f1.fallbackLocale.value=p.value,Object.keys(f.value).forEach(L1=>{f1.mergeLocaleMessage(L1,f.value[L1])}),Object.keys(u.value).forEach(L1=>{f1.mergeDateTimeFormat(L1,u.value[L1])}),Object.keys(g.value).forEach(L1=>{f1.mergeNumberFormat(L1,g.value[L1])}),f1.escapeParameter=m,f1.fallbackFormat=w,f1.fallbackRoot=b,f1.fallbackWarn=x,f1.missingWarn=h,f1.warnHtmlMessage=E}return k_(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw K0(j0.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const f1=s.value=e.proxy.$i18n.__composer;i==="global"?(d.value=f1.locale.value,p.value=f1.fallbackLocale.value,f.value=f1.messages.value,u.value=f1.datetimeFormats.value,g.value=f1.numberFormats.value):o&&w1(f1)}),z1}const _E=["locale","fallbackLocale","availableLocales"],Ar=["t","rt","d","n","tm","te"];function xE(e,i){const t=Object.create(null);return _E.forEach(o=>{const s=Object.getOwnPropertyDescriptor(i,o);if(!s)throw K0(j0.UNEXPECTED_ERROR);const c=w5(s.value)?{get(){return s.value.value},set(d){s.value.value=d}}:{get(){return s.get&&s.get()}};Object.defineProperty(t,o,c)}),e.config.globalProperties.$i18n=t,Ar.forEach(o=>{const s=Object.getOwnPropertyDescriptor(i,o);if(!s||!s.value)throw K0(j0.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,Ar.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}Gb();__INTLIFY_JIT_COMPILATION__?sr(qb):sr(Nb);Tb(fb);Lb(kl);if(__INTLIFY_PROD_DEVTOOLS__){const e=H6();e.__INTLIFY__=!0,bb(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const L9=g4("themeConfig",()=>{const e=P1({isDrawer:!1,primary:"#409eff",menuBgColor:"#282c34",isIsDark:!1,themeStyle:"theme-1",topBar:"#ffffff",topBarColor:"#606266",menuBar:"#282c34",menuBarColor:"#eaeaea",columnsMenuBar:"#282c34",columnsMenuBarColor:"#e6e6e6",isCollapse:!1,isUniqueOpened:!0,isFixedHeader:!0,isShowLogo:!0,isBreadcrumb:!0,isBreadcrumbIcon:!1,isTagsview:!0,isTagsviewIcon:!1,isCacheTagsView:!1,isFooter:!0,isGrayscale:!1,isInvert:!1,tagsStyle:"tags-style-five",animation:"opacitys",columnsAsideStyle:"columns-card",columnsAsideLayout:"columns-vertical",layout:"columns",globalTitle:"crmeb-admin",globalViceTitle:"",globalViceDes:"vue2",globalI18n:"zh-cn",globalComponentSize:""});function i(a){e.value=a}function t(a){i(a)}return{themeConfig:e,getThemeConfig:i,setThemeConfig:t}},{persist:!0}),yE={router:{home:"首页",system:"系统设置",systemMenu:"菜单管理",systemUser:"用户管理",limits:"权限管理",limitsFrontEnd:"前端控制",limitsFrontEndPage:"页面权限",limitsFrontEndBtn:"按钮权限",limitsBackEnd:"后端控制",limitsBackEndEndPage:"页面权限",menu:"菜单嵌套",menu1:"菜单1",menu11:"菜单11",menu12:"菜单12",menu121:"菜单121",menu122:"菜单122",menu13:"菜单13",menu2:"菜单2",funIndex:"功能",funTagsView:"tagsView 操作",funSignCanvas:"在线签名",funCountup:"countup 数字滚动",funEchartsTree:"echartsTree 树图",funSelector:"图标选择器",funWangEditor:"wangEditor 编辑器",funCropper:"cropper 图片裁剪",funMindMap:"G6 思维导图",funQrcode:"qrcode 二维码生成",funEchartsMap:"地理坐标/地图",funPrintJs:"页面打印",funClipboard:"复制剪切",funScreenShort:"web端自定义截屏",pagesIndex:"页面",pagesFiltering:"过滤筛选组件",pagesFilteringDetails:"过滤筛选组件详情",pagesFilteringDetails1:"过滤筛选组件详情111",pagesIocnfont:"iconfont 字体图标",pagesElement:"element 字体图标",pagesAwesome:"awesome 字体图标",pagesCityLinkage:"城市多级联动",pagesFormAdapt:"表单自适应",pagesListAdapt:"列表自适应",pagesWaterfall:"瀑布屏",pagesSteps:"步骤条",chartIndex:"大数据图表",personal:"个人中心",tools:"工具类集合",layoutLinkView:"外链",layoutIfameView:"内嵌 iframe"},staticRoutes:{signIn:"登录",notFound:"找不到此页面",noPower:"没有权限"},user:{title0:"组件大小",title1:"语言切换",title2:"菜单搜索",title3:"布局配置",title4:"消息",title5:"开全屏",title6:"关全屏",title7:"刷新",dropdownDefault:"默认",dropdownMedium:"中等",dropdownSmall:"小型",dropdownMini:"超小",dropdown1:"首页",dropdown2:"个人中心",dropdown3:"404",dropdown4:"401",dropdown5:"退出登录",dropdown6:"个人中心",searchPlaceholder:"菜单搜索:菜单名称、配置名称",newTitle:"通知",newBtn:"全部已读",newGo:"前往通知中心",newDesc:"暂无通知",logOutTitle:"提示",logOutMessage:"此操作将退出登录, 是否继续?",logOutConfirm:"确定",logOutCancel:"取消",logOutExit:"退出中",logOutSuccess:"安全退出成功!"},tagsView:{refresh:"刷新",close:"关闭",closeOther:"关闭其它",closeAll:"全部关闭",fullscreen:"当前页全屏"},notFound:{foundTitle:"地址输入错误,请重新输入地址~",foundMsg:"您可以先检查网址,然后重新输入或给我们反馈问题。",foundBtn:"返回首页"},layout:{configTitle:"布局配置",oneTitle:"全局主题",menuBag:"菜单背景色",twoTitle:"菜单 / 顶栏",twoTopBar:"顶栏背景",twoMenuBar:"菜单背景",twoColumnsMenuBar:"分栏菜单背景",twoTopBarColor:"顶栏默认字体颜色",twoMenuBarColor:"菜单默认字体颜色",twoColumnsMenuBarColor:"分栏菜单默认字体颜色",twoIsTopBarColorGradual:"顶栏背景渐变",twoIsMenuBarColorGradual:"菜单背景渐变",twoIsMenuBarColorHighlight:"菜单字体背景高亮",threeTitle:"界面设置",threeIsCollapse:"菜单水平折叠",threeIsUniqueOpened:"菜单手风琴",threeIsFixedHeader:"固定 Header",threeIsClassicSplitMenu:"经典布局分割菜单",threeIsLockScreen:"开启锁屏",threeLockScreenTime:"自动锁屏(s/秒)",fourTitle:"界面显示",fourIsShowLogo:"侧边栏 Logo",fourIsBreadcrumb:"面包屑",fourIsBreadcrumbIcon:"面包屑图标",fourIsTagsview:"历史菜单",fourIsTagsviewIcon:"历史菜单 图标",fourIsFooter:"Footer",fourIsGrayscale:"灰色模式",fourIsInvert:"色弱模式",fourIsDark:"深色模式",fourIsWartermark:"开启水印",fourWartermarkText:"水印文案",fiveTitle:"其它设置",fiveTagsStyle:"历史菜单风格",themeStyle:"主题",fiveAnimation:"主页面切换动画",fiveColumnsAsideStyle:"菜单高亮风格",fiveColumnsAsideLayout:"顶级菜单风格",sixTitle:"布局切换",sixDefaults:"默认",sixClassic:"经典",sixTransverse:"横向",sixColumns:"分栏",tipText:"点击下方按钮,复制布局配置去 `src/store/modules/themeConfig.js` 中修改。",copyText:"一键复制配置",resetText:"一键恢复默认",copyTextSuccess:"复制成功!",copyTextError:"复制失败!"},upgrade:{title:"新版本升级",msg:"新版本来啦,马上更新尝鲜吧!不用担心,更新很快的哦!",desc:"提示:更新会还原默认配置",btnOne:"残忍拒绝",btnTwo:"马上更新",btnTwoLoading:"更新中"}},bE={router:{home:"home",system:"system",systemMenu:"systemMenu",systemUser:"systemUser",limits:"limits",limitsFrontEnd:"FrontEnd",limitsFrontEndPage:"FrontEndPage",limitsFrontEndBtn:"FrontEndBtn",limitsBackEnd:"BackEnd",limitsBackEndEndPage:"BackEndEndPage",menu:"menu",menu1:"menu1",menu11:"menu11",menu12:"menu12",menu121:"menu121",menu122:"menu122",menu13:"menu13",menu2:"menu2",funIndex:"function",funTagsView:"funTagsView",funSignCanvas:"Online signature",funCountup:"countup",funEchartsTree:"echartsTree",funSelector:"funSelector",funWangEditor:"wangEditor",funCropper:"cropper",funMindMap:"G6 MindMap",funQrcode:"qrcode",funEchartsMap:"EchartsMap",funPrintJs:"PrintJs",funClipboard:"Copy cut",funScreenShort:"screenCapture",pagesIndex:"pages",pagesFiltering:"Filtering",pagesFilteringDetails:"FilteringDetails",pagesFilteringDetails1:"FilteringDetails1",pagesIocnfont:"iconfont icon",pagesElement:"element icon",pagesAwesome:"awesome icon",pagesCityLinkage:"CityLinkage",pagesFormAdapt:"FormAdapt",pagesListAdapt:"ListAdapt",pagesWaterfall:"Waterfall",pagesSteps:"Steps",chartIndex:"chartIndex",personal:"personal",tools:"tools",layoutLinkView:"LinkView",layoutIfameView:"IfameView"},staticRoutes:{signIn:"signIn",notFound:"notFound",noPower:"noPower"},user:{title0:"Component size",title1:"Language switching",title2:"Menu search",title3:"Layout configuration",title4:"news",title5:"Full screen on",title6:"Full screen off",dropdownDefault:"default",dropdownMedium:"medium",dropdownSmall:"small",dropdownMini:"mini",dropdown1:"home page",dropdown2:"Personal Center",dropdown3:"404",dropdown4:"401",dropdown5:"Log out",dropdown6:"Code warehouse",searchPlaceholder:"Menu search: support Chinese, routing path",newTitle:"notice",newBtn:"All read",newGo:"Go to the notification center",newDesc:"No notice",logOutTitle:"Tips",logOutMessage:"This operation will log out. Do you want to continue?",logOutConfirm:"determine",logOutCancel:"cancel",logOutExit:"Exiting",logOutSuccess:"Exit successfully!"},tagsView:{refresh:"refresh",close:"close",closeOther:"closeOther",closeAll:"closeAll",fullscreen:"fullscreen"},notFound:{foundTitle:"Wrong address input, please re-enter the address~",foundMsg:"You can check the web address first, and then re-enter or give us feedback.",foundBtn:"Back to home page"},layout:{configTitle:"Layout configuration",oneTitle:"Global Themes",menuBag:"Menu BG Color",twoTitle:"Menu / top bar",twoTopBar:"Top bar background",twoMenuBar:"Menu background",twoColumnsMenuBar:"Column menu background",twoTopBarColor:"Top bar default font color",twoMenuBarColor:"Menu default font color",twoColumnsMenuBarColor:"Default font color bar menu",twoIsTopBarColorGradual:"Top bar gradient",twoIsMenuBarColorGradual:"Menu gradient",twoIsMenuBarColorHighlight:"Menu font highlight",threeTitle:"Interface settings",threeIsCollapse:"Menu horizontal collapse",threeIsUniqueOpened:"Menu accordion",threeIsFixedHeader:"Fixed header",threeIsClassicSplitMenu:"Classic layout split menu",threeIsLockScreen:"Open the lock screen",threeLockScreenTime:"screen locking(s/s)",fourTitle:"Interface display",fourIsShowLogo:"Sidebar logo",fourIsBreadcrumb:"Open breadcrumb",fourIsBreadcrumbIcon:"Open breadcrumb icon",fourIsTagsview:"Open tagsview",fourIsTagsviewIcon:"Open tagsview Icon",fourIsFooter:"Open footer",fourIsGrayscale:"Grey model",fourIsInvert:"Color weak mode",fourIsDark:"Dark Mode",fourIsWartermark:"Turn on watermark",fourWartermarkText:"Watermark copy",fiveTitle:"Other settings",fiveTagsStyle:"Tagsview style",themeStyle:"Theme",fiveAnimation:"page animation",fiveColumnsAsideStyle:"Column style",fiveColumnsAsideLayout:"Column layout",sixTitle:"Layout switch",sixDefaults:"One",sixClassic:"Two",sixTransverse:"Three",sixColumns:"Four",tipText:"Click the button below to copy the layout configuration to `/src/store/modules/themeConfig.js` It has been modified in.",copyText:"replication configuration",resetText:"restore default",copyTextSuccess:"Copy succeeded!",copyTextError:"Copy failed!"},upgrade:{title:"New version",msg:"The new version is available, please update it now! Dont worry, the update is fast!",desc:"Prompt: Update will restore the default configuration",btnOne:"Cruel refusal",btnTwo:"Update now",btnTwoLoading:"Updating"}},EE={router:{home:"首頁",system:"系統設置",systemMenu:"選單管理",systemUser:"用戶管理",limits:"許可權管理",limitsFrontEnd:"前端控制",limitsFrontEndPage:"頁面許可權",limitsFrontEndBtn:"按鈕許可權",limitsBackEnd:"後端控制",limitsBackEndEndPage:"頁面許可權",menu:"選單嵌套",menu1:"選單1",menu11:"選單11",menu12:"選單12",menu121:"選單121",menu122:"選單122",menu13:"選單13",menu2:"選單2",funIndex:"功能",funTagsView:"tagsView 操作",funSignCanvas:"線上簽名",funCountup:"countup 數位滾動",funEchartsTree:"echartsTree 樹圖",funSelector:"圖標選擇器",funWangEditor:"wangEditor 編輯器",funCropper:"cropper 圖片裁剪",funMindMap:"G6 心智圖",funQrcode:"qrcode 二維碼生成",funEchartsMap:"地理座標/地圖",funPrintJs:"頁面列印",funClipboard:"複製剪切",funScreenShort:"自定義截圖",pagesIndex:"頁面",pagesFiltering:"過濾篩選組件",pagesFilteringDetails:"過濾篩選組件詳情",pagesFilteringDetails1:"過濾篩選組件詳情111",pagesIocnfont:"iconfont 字體圖標",pagesElement:"element 字體圖標",pagesAwesome:"awesome 字體圖標",pagesCityLinkage:"都市多級聯動",pagesFormAdapt:"表單自我調整",pagesListAdapt:"清單自我調整",pagesWaterfall:"瀑布屏",pagesSteps:"步驟條",chartIndex:"大資料圖表",personal:"個人中心",tools:"工具類集合",layoutLinkView:"外鏈",layoutIfameView:"内嵌 iframe"},staticRoutes:{signIn:"登入",notFound:"找不到此頁面",noPower:"沒有許可權"},user:{title0:"組件大小",title1:"語言切換",title2:"選單蒐索",title3:"佈局配寘",title4:"消息",title5:"開全屏",title6:"關全屏",title7:"重繪",dropdownDefault:"默認",dropdownMedium:"中等",dropdownSmall:"小型",dropdownMini:"超小",dropdown1:"首頁",dropdown2:"個人中心",dropdown3:"404",dropdown4:"401",dropdown5:"登出",dropdown6:"程式碼倉庫",searchPlaceholder:"選單蒐索:支援中文、路由路徑",newTitle:"通知",newBtn:"全部已讀",newGo:"前往通知中心",newDesc:"暫無通知",logOutTitle:"提示",logOutMessage:"此操作將登出,是否繼續?",logOutConfirm:"確定",logOutCancel:"取消",logOutExit:"退出中",logOutSuccess:"安全退出成功!"},tagsView:{refresh:"重繪",close:"關閉",closeOther:"關閉其它",closeAll:"全部關閉",fullscreen:"當前頁全屏"},notFound:{foundTitle:"地址輸入錯誤,請重新輸入地址~",foundMsg:"您可以先檢查網址,然後重新輸入或給我們迴響問題。",foundBtn:"返回首頁"},layout:{configTitle:"佈局配寘",oneTitle:"全域主題",menuBag:"菜單背景色",twoTitle:"選單 / 頂欄",twoTopBar:"頂欄背景",twoMenuBar:"選單背景",twoColumnsMenuBar:"分欄選單背景",twoTopBarColor:"頂欄默認字體顏色",twoMenuBarColor:"選單默認字體顏色",twoColumnsMenuBarColor:"分欄選單默認字體顏色",twoIsTopBarColorGradual:"頂欄背景漸變",twoIsMenuBarColorGradual:"選單背景漸變",twoIsMenuBarColorHighlight:"選單字體背景高亮",threeTitle:"介面設定",threeIsCollapse:"選單水准折疊",threeIsUniqueOpened:"選單手風琴",threeIsFixedHeader:"固定 Header",threeIsClassicSplitMenu:"經典佈局分割選單",threeIsLockScreen:"開啟鎖屏",threeLockScreenTime:"自動鎖屏(s/秒)",fourTitle:"介面顯示",fourIsShowLogo:"側邊欄 Logo",fourIsBreadcrumb:"開啟 Breadcrumb",fourIsBreadcrumbIcon:"開啟 Breadcrumb 圖標",fourIsTagsview:"開啟 Tagsview",fourIsTagsviewIcon:"開啟 Tagsview 圖標",fourIsFooter:"開啟 Footer",fourIsGrayscale:"灰色模式",fourIsInvert:"色弱模式",fourIsDark:"深色模式",fourIsWartermark:"開啟浮水印",fourWartermarkText:"浮水印文案",fiveTitle:"其它設定",fiveTagsStyle:"Tagsview 風格",themeStyle:"主題",fiveAnimation:"主頁面切換動畫",fiveColumnsAsideStyle:"分欄高亮風格",fiveColumnsAsideLayout:"分欄佈局風格",sixTitle:"佈局切換",sixDefaults:"默認",sixClassic:"經典",sixTransverse:"橫向",sixColumns:"分欄",tipText:"點擊下方按鈕,複製佈局配寘去`src/store/modules/themeConfig.js`中修改。",copyText:"一鍵複製配寘",resetText:"一鍵恢復默認",copyTextSuccess:"複製成功!",copyTextError:"複製失敗!"},upgrade:{title:"新版本陞級",msg:"新版本來啦,馬上更新嘗鮮吧! 不用擔心,更新很快的哦!",desc:"提示:更新會還原默認配寘",btnOne:"殘忍拒絕",btnTwo:"馬上更新",btnTwoLoading:"更新中"}},CE={card:{title1:"我的工作台",title2:"消息通知",title3:"更多",title4:"营销推荐",title5:"更多",title6:"库存作业",title7:"履约情况",title8:"缺货监控",title9:"履约超时预警"}},ME={card:{title1:"My desk",title2:"Message notification",title3:"more",title4:"Marketing recommendation",title5:"more",title6:"Inventory operations",title7:"Performance",title8:"Out of stock monitoring",title9:"Performance overtime warning"}},BE={card:{title1:"我的工作臺",title2:"消息通知",title3:"更多",title4:"行銷推薦",title5:"更多",title6:"庫存工作",title7:"履約情况",title8:"缺貨監控",title9:"履約超時預警"}},RE={login:{placeholder1:"",placeholder2:"",placeholder3:"",btnText:"登 录",link:{one1:"",one2:""},signInText:"",copyright:{one5:"",two6:""}}},wE={login:{placeholder1:"",placeholder2:"",placeholder3:"",btnText:"Sign in",link:{one1:"",one2:""},signInText:"welcome back!",copyright:{one5:"",two6:""}}},AE={login:{placeholder1:"",placeholder2:"",placeholder3:"",btnText:"登 录",link:{one1:"",one2:""},signInText:"",copyright:{one5:"",two6:""}}},zE={"zh-cn":{message:{...yE,...CE,...RE}},en:{message:{...bE,...ME,...wE}},"zh-tw":{message:{...EE,...BE,...AE}}},Ql=lE({legacy:!0,globalInjection:!0,locale:L9(B9).themeConfig.globalI18n||"zh-cn",fallbackLocale:"zh-cn",messages:zE,silentTranslationWarn:!0,silentFallbackWarn:!0}),W4=(e,i)=>{const t=e.__vccOpts||e;for(const[a,o]of i)t[a]=o;return t},SE={class:"layout-breadcrumb-seting"},kE={class:"layout-drawer-content-flex"},TE={class:"layout-breadcrumb-seting-bar-flex mb10"},LE={class:"layout-breadcrumb-seting-bar-flex-label"},FE={class:"layout-breadcrumb-seting-bar-flex-value"},OE={key:0,class:"layout-breadcrumb-seting-bar-flex"},PE={class:"layout-breadcrumb-seting-bar-flex-label"},DE={class:"layout-breadcrumb-seting-bar-flex-value"},IE={class:"layout-breadcrumb-seting-bar-flex mt15"},HE={class:"layout-breadcrumb-seting-bar-flex-label"},VE={class:"layout-breadcrumb-seting-bar-flex-value"},NE={class:"layout-breadcrumb-seting-bar-flex mt15"},qE={class:"layout-breadcrumb-seting-bar-flex-label"},UE={class:"layout-breadcrumb-seting-bar-flex-value"},jE={class:"layout-breadcrumb-seting-bar-flex"},$E={class:"layout-breadcrumb-seting-bar-flex-label"},WE={class:"layout-breadcrumb-seting-bar-flex-value"},KE={class:"layout-breadcrumb-seting-bar-flex-label"},GE={class:"layout-breadcrumb-seting-bar-flex-value"},XE={class:"layout-breadcrumb-seting-bar-flex mt15"},QE={class:"layout-breadcrumb-seting-bar-flex-label"},YE={class:"layout-breadcrumb-seting-bar-flex-value"},ZE={class:"layout-breadcrumb-seting-bar-flex mt15"},JE={class:"layout-breadcrumb-seting-bar-flex-label"},eC={class:"layout-breadcrumb-seting-bar-flex-value"},tC={class:"layout-breadcrumb-seting-bar-flex mt15"},nC={class:"layout-breadcrumb-seting-bar-flex-label"},iC={class:"layout-breadcrumb-seting-bar-flex-value"},aC={class:"layout-breadcrumb-seting-bar-flex mt15"},oC={class:"layout-breadcrumb-seting-bar-flex-label"},rC={class:"layout-breadcrumb-seting-bar-flex-value"},sC={class:"layout-breadcrumb-seting-bar-flex mt15"},cC={class:"layout-breadcrumb-seting-bar-flex-label"},lC={class:"layout-breadcrumb-seting-bar-flex-value"},uC={class:"layout-breadcrumb-seting-bar-flex mt15"},dC={class:"layout-breadcrumb-seting-bar-flex-label"},fC={class:"layout-breadcrumb-seting-bar-flex-value"},hC={class:"layout-breadcrumb-seting-bar-flex mt15"},mC={class:"layout-breadcrumb-seting-bar-flex-label"},pC={class:"layout-breadcrumb-seting-bar-flex-value"},gC={class:"layout-breadcrumb-seting-bar-flex-label"},vC={class:"layout-breadcrumb-seting-bar-flex-value"},_C={key:1,class:"layout-breadcrumb-seting-bar-flex mt15 mb28"},xC={class:"layout-breadcrumb-seting-bar-flex-label"},yC={class:"layout-breadcrumb-seting-bar-flex-value"},bC=Object.assign({name:"layoutBreadcrumbSeting"},{__name:"setings",setup(e,{expose:i}){const t=L9(),a=P1("center"),o=A2(()=>t.themeConfig);M0.set("frequency",1),E6.on("layoutMobileResize",s),d(t.themeConfig.themeStyle),I5(()=>{f()});function s(E){if(t.themeConfig.layout===E.layout)return!1;t.themeConfig.layout=E.layout,t.themeConfig.isDrawer=!1,t.themeConfig.isCollapse=!1}function c(){for(let E=1;E<=9;E++)document.documentElement.style.setProperty(`--prev-color-primary-light-${E}`,`${E7().getLightColor(o.value.primary,E/10)}`);u()}function d(E){let m=dy[E];m["--prev-border-color-lighter"]="#ebeef5",["classic"].includes(o.value.layout)?(m["--prev-bg-topBar"]="#282c34",m["--prev-bg-topBarColor"]="#fff",m["--prev-bg-menuBarColor"]="#515a6e",E=="theme-1"?(m["--prev-bg-menuBar"]="#fff",m["--prev-border-color-lighter"]="#e5eeff",m["--prev-bg-menu-hover-ba-color"]="#e5eeff",m["--prev-MenuActiveColor"]="#0256FF"):E=="theme-3"?(m["--prev-bg-menuBar"]="#fff",m["--prev-border-color-lighter"]="#ecf8f3",m["--prev-bg-menu-hover-ba-color"]="#ecf8f3",m["--prev-MenuActiveColor"]="#41b584"):E=="theme-5"?(m["--prev-bg-menuBar"]="#fff",m["--prev-border-color-lighter"]="#f0eefe",m["--prev-bg-menu-hover-ba-color"]="#f0eefe",m["--prev-MenuActiveColor"]="#6954f0"):E=="theme-7"?(m["--prev-bg-menuBar"]="#fff",m["--prev-border-color-lighter"]="#feedeb",m["--prev-bg-menu-hover-ba-color"]="#feedeb",m["--prev-MenuActiveColor"]="#f34d37"):(m["--prev-border-color-lighter"]="#ebeef5",m["--prev-bg-topBar"]="#fff",m["--prev-bg-topBarColor"]="#515a6e",m["--prev-bg-columnsMenuActiveColor"]="#515a6e")):["transverse"].includes(o.value.layout)?(m["--prev-bg-topBar"]="#282c34",m["--prev-bg-topBarColor"]="#fff",m["--prev-bg-menuBarColor"]="#fff",m["--prev-MenuActiveColor"]="#fff",E=="theme-1"?(m["--prev-bg-menu-hover-ba-color"]="#0256FF",m["--prev-bg-menuBar"]="#282c34"):E=="theme-3"?(m["--prev-bg-menu-hover-ba-color"]="#41b584",m["--prev-bg-menuBar"]="#282c34"):E=="theme-5"?(m["--prev-bg-menu-hover-ba-color"]="#6954f0",m["--prev-bg-menuBar"]="#282c34"):E=="theme-7"?(m["--prev-bg-menu-hover-ba-color"]="#f34d37",m["--prev-bg-menuBar"]="#282c34"):(m["--prev-border-color-lighter"]="#ebeef5",m["--prev-bg-topBar"]="#fff",m["--prev-bg-topBarColor"]="#515a6e",m["--prev-bg-menuBarColor"]="#515a6e",m["--prev-MenuActiveColor"]="#515a6e")):o.value.layout==="columns"?(m["--prev-bg-topBar"]="#fff",m["--prev-bg-topBarColor"]="#515a6e",m["--prev-bg-menuBar"]="#fff",m["--prev-bg-menuBarColor"]="#303133",m["--prev-border-color-lighter"]="#ebeef5",E=="theme-1"?(m["--prev-bg-menu-hover-ba-color"]="#e5eeff",m["--prev-color-primary"]="#0256FF",m["--prev-MenuActiveColor"]="#0256FF"):E=="theme-3"?(m["--prev-bg-menu-hover-ba-color"]="#ecf8f3",m["--prev-color-primary"]="#41b584",m["--prev-MenuActiveColor"]="#41b584"):E=="theme-5"?(m["--prev-bg-menu-hover-ba-color"]="#f0eefe",m["--prev-color-primary"]="#6954f0",m["--prev-MenuActiveColor"]="#6954f0"):E=="theme-7"&&(m["--prev-bg-menu-hover-ba-color"]="#feedeb",m["--prev-color-primary"]="#f34d37",m["--prev-MenuActiveColor"]="#f34d37")):E=="theme-1"?(m["--prev-bg-menuBar"]="#282c34",m["--prev-color-primary"]="#0256FF",m["--prev-bg-topBarColor"]="#282c34",m["--prev-bg-topBar"]="#fff",m["--prev-bg-menuBarColor"]="#fff",m["--prev-MenuActiveColor"]="#fff",m["--prev-bg-menu-hover-ba-color"]="#0256FF"):E=="theme-3"?(m["--prev-bg-menuBar"]="#282c34",m["--prev-color-primary"]="#41b584",m["--prev-bg-topBar"]="#fff",m["--prev-bg-topBarColor"]="#282c34",m["--prev-bg-menuBarColor"]="#fff",m["--prev-MenuActiveColor"]="#fff",m["--prev-bg-menu-hover-ba-color"]="#41b584"):E=="theme-5"?(m["--prev-bg-menuBar"]="#282c34",m["--prev-bg-topBarColor"]="#282c34",m["--prev-color-primary"]="#6954f0",m["--prev-bg-topBar"]="#fff",m["--prev-bg-menuBarColor"]="#fff",m["--prev-MenuActiveColor"]="#fff",m["--prev-bg-menu-hover-ba-color"]="#6954f0"):E=="theme-7"&&(m["--prev-bg-menuBar"]="#282c34",m["--prev-bg-topBar"]="#fff",m["--prev-bg-topBarColor"]="#282c34",m["--prev-color-primary"]="#f34d37",m["--prev-bg-menuBarColor"]="#fff",m["--prev-MenuActiveColor"]="#fff",m["--prev-bg-menu-hover-ba-color"]="#f34d37"),["theme-1","theme-2"].includes(E)?t.themeConfig.primary="#0256FF":["theme-3","theme-4"].includes(E)?t.themeConfig.primary="#41a584":["theme-5","theme-6"].includes(E)?t.themeConfig.primary="#6954f0":["theme-7","theme-8"].includes(E)?t.themeConfig.primary="#f34d37":t.themeConfig.primary="#0256FF";for(let y in m)document.documentElement.style.setProperty(y,m[y]);T3(y=>{c()})}function p(){const E=document.documentElement;o.value.isIsDark?E.setAttribute("data-theme","dark"):E.setAttribute("data-theme",""),u()}function f(){window.addEventListener("load",()=>{c(),t.themeConfig.isGrayscale&&b("grayscale"),t.themeConfig.isInvert&&b("invert"),t.themeConfig.isIsDark&&p(),M0.get("themeConfigPrev")&&(Ql.global.locale=M0.get("themeConfigPrev").globalI18n)})}function u(){M0.remove("themeConfigPrev"),M0.set("themeConfigPrev",t.themeConfig),g()}function g(){M0.set("themeConfigStyle",document.documentElement.style.cssText)}function h(){t.themeConfig.isDrawer=!0}function x(){t.themeConfig.isDrawer=!1,u()}function b(E){E==="grayscale"?t.themeConfig.isGrayscale&&(t.themeConfig.isInvert=!1):t.themeConfig.isInvert&&(t.themeConfig.isGrayscale=!1);const m=E==="grayscale"?`grayscale(${t.themeConfig.isGrayscale?1:0})`:`invert(${t.themeConfig.isInvert?"80%":"0%"})`;document.body.setAttribute("style",`filter: ${m};`),u()}function w(E){if(M0.set("oldLayout",E),t.themeConfig.layout===E)return!1;["classic","transverse"].includes(E)?t.themeConfig.isTagsview=!1:t.themeConfig.isTagsview=!0,t.themeConfig.layout=E,t.themeConfig.isDrawer=!1,t.themeConfig.columnsAsideStyle="columns-card",d(t.themeConfig.themeStyle)}function F(){t.themeConfig.isDrawer=!1;let E=new pl(".copy-config-btn",{text:()=>JSON.stringify(t.themeConfig)});E.on("success",()=>{p2.success("配置复制成功"),E.destroy()}),E.on("error",()=>{p2.error("配置复制失败")})}function z(){M0.clear(),window.location.reload(),M0.set("version",q7.version)}return i({openDrawer:h,onCopyConfigClick:F,onResetConfigClick:z}),(E,m)=>{const y=m2("el-divider"),k=m2("el-option"),v=m2("el-select"),M=m2("el-switch"),T=m2("el-radio-button"),R=m2("el-radio-group"),B=m2("el-scrollbar"),S=m2("el-drawer");return K1(),h2("div",SE,[j1(S,{title:"主题编辑",modelValue:o.value.isDrawer,"onUpdate:modelValue":m[21]||(m[21]=_=>o.value.isDrawer=_),direction:"rtl","destroy-on-close":"",size:"320px",onClose:x},{default:Q1(()=>[j1(B,{class:"layout-breadcrumb-seting-bar el-main"},{default:Q1(()=>[j1(y,{"content-position":a.value},{default:Q1(()=>[C2(i0(E.$t("message.layout.sixTitle")),1)]),_:1},8,["content-position"]),R1("div",kE,[R1("div",{class:b3(["layout-drawer-content-item",{"drawer-layout-active":o.value.layout==="defaults"}]),onClick:m[0]||(m[0]=_=>w("defaults"))},[...m[22]||(m[22]=[R1("section",{class:"el-container el-circular"},[R1("aside",{class:"el-aside w10 mr5",style:{width:"17px"}}),R1("section",{class:"el-container is-vertical"},[R1("header",{class:"el-header mb5",style:{height:"10px"}}),R1("main",{class:"el-main"})])],-1)])],2),R1("div",{class:b3(["layout-drawer-content-item",{"drawer-layout-active":o.value.layout==="columns"}]),onClick:m[1]||(m[1]=_=>w("columns"))},[...m[23]||(m[23]=[R1("section",{class:"el-container el-circular"},[R1("aside",{class:"el-aside mr5",style:{width:"10px"}}),R1("aside",{class:"el-aside-dark mr5",style:{width:"17px"}}),R1("section",{class:"el-container is-vertical"},[R1("header",{class:"el-header mb5",style:{height:"10px"}}),R1("main",{class:"el-main"})])],-1)])],2),R1("div",{class:b3(["layout-drawer-content-item",{"drawer-layout-active":o.value.layout==="classic"}]),onClick:m[2]||(m[2]=_=>w("classic"))},[...m[24]||(m[24]=[R1("section",{class:"el-container is-vertical el-circular"},[R1("header",{class:"el-aside mb5",style:{height:"10px"}}),R1("section",{class:"el-container"},[R1("aside",{class:"el-aside-dark mr5",style:{width:"17px"}}),R1("section",{class:"el-container is-vertical"},[R1("main",{class:"el-main"})])])],-1)])],2),R1("div",{class:b3(["layout-drawer-content-item",{"drawer-layout-active":o.value.layout==="transverse"}]),onClick:m[3]||(m[3]=_=>w("transverse"))},[...m[25]||(m[25]=[R1("section",{class:"el-container is-vertical el-circular"},[R1("header",{class:"el-aside mb5",style:{height:"10px"}}),R1("section",{class:"el-container"},[R1("section",{class:"el-container is-vertical"},[R1("main",{class:"el-main"})])])],-1)])],2)]),j1(y,{"content-position":a.value},{default:Q1(()=>[C2(i0(E.$t("message.layout.threeTitle")),1)]),_:1},8,["content-position"]),R1("div",TE,[R1("div",LE,i0(E.$t("message.layout.themeStyle")),1),R1("div",FE,[j1(v,{modelValue:o.value.themeStyle,"onUpdate:modelValue":m[4]||(m[4]=_=>o.value.themeStyle=_),placeholder:"请选择",style:{width:"90px"},onChange:d},{default:Q1(()=>[j1(k,{label:"蓝黑",value:"theme-1"}),j1(k,{label:"蓝白",value:"theme-2"}),j1(k,{label:"绿黑",value:"theme-3"}),j1(k,{label:"绿白",value:"theme-4"}),j1(k,{label:"紫黑",value:"theme-5"}),j1(k,{label:"紫白",value:"theme-6"}),j1(k,{label:"红黑",value:"theme-7"}),j1(k,{label:"红白",value:"theme-8"}),o.value.layout==="columns"?(K1(),U2(k,{key:0,label:"渐变",value:"theme-9"})):H2("",!0)]),_:1},8,["modelValue"])])]),o.value.layout==="columns"||o.value.layout==="defaults"?(K1(),h2("div",OE,[R1("div",PE,i0(E.$t("message.layout.threeIsCollapse")),1),R1("div",DE,[j1(M,{modelValue:o.value.isCollapse,"onUpdate:modelValue":m[5]||(m[5]=_=>o.value.isCollapse=_),width:35,onChange:u},null,8,["modelValue"])])])):H2("",!0),R1("div",IE,[R1("div",HE,i0(E.$t("message.layout.threeIsUniqueOpened")),1),R1("div",VE,[j1(M,{modelValue:o.value.isUniqueOpened,"onUpdate:modelValue":m[6]||(m[6]=_=>o.value.isUniqueOpened=_),width:35,onChange:u},null,8,["modelValue"])])]),R1("div",NE,[R1("div",qE,i0(E.$t("message.layout.threeIsFixedHeader")),1),R1("div",UE,[j1(M,{modelValue:o.value.isFixedHeader,"onUpdate:modelValue":m[7]||(m[7]=_=>o.value.isFixedHeader=_),width:35,onChange:u},null,8,["modelValue"])])]),j1(y,{"content-position":a.value},{default:Q1(()=>[C2(i0(E.$t("message.layout.fourTitle")),1)]),_:1},8,["content-position"]),R1("div",jE,[R1("div",$E,i0(E.$t("message.layout.fourIsShowLogo")),1),R1("div",WE,[j1(M,{modelValue:o.value.isShowLogo,"onUpdate:modelValue":m[8]||(m[8]=_=>o.value.isShowLogo=_),width:35,onChange:u},null,8,["modelValue"])])]),R1("div",{class:"layout-breadcrumb-seting-bar-flex mt15",style:f4({opacity:o.value.layout==="classic"||o.value.layout==="transverse"?.5:1})},[R1("div",KE,i0(E.$t("message.layout.fourIsBreadcrumb")),1),R1("div",GE,[j1(M,{modelValue:o.value.isBreadcrumb,"onUpdate:modelValue":m[9]||(m[9]=_=>o.value.isBreadcrumb=_),disabled:o.value.layout==="classic"||o.value.layout==="transverse",width:35,onChange:u},null,8,["modelValue","disabled"])])],4),R1("div",XE,[R1("div",QE,i0(E.$t("message.layout.fourIsBreadcrumbIcon")),1),R1("div",YE,[j1(M,{modelValue:o.value.isBreadcrumbIcon,"onUpdate:modelValue":m[10]||(m[10]=_=>o.value.isBreadcrumbIcon=_),width:35,onChange:u},null,8,["modelValue"])])]),R1("div",ZE,[R1("div",JE,i0(E.$t("message.layout.fourIsTagsview")),1),R1("div",eC,[j1(M,{modelValue:o.value.isTagsview,"onUpdate:modelValue":m[11]||(m[11]=_=>o.value.isTagsview=_),width:35,onChange:u},null,8,["modelValue"])])]),R1("div",tC,[R1("div",nC,i0(E.$t("message.layout.fourIsFooter")),1),R1("div",iC,[j1(M,{modelValue:o.value.isFooter,"onUpdate:modelValue":m[12]||(m[12]=_=>o.value.isFooter=_),width:35,onChange:u},null,8,["modelValue"])])]),R1("div",aC,[R1("div",oC,i0(E.$t("message.layout.fourIsGrayscale")),1),R1("div",rC,[j1(M,{modelValue:o.value.isGrayscale,"onUpdate:modelValue":m[13]||(m[13]=_=>o.value.isGrayscale=_),width:35,onChange:m[14]||(m[14]=_=>b("grayscale"))},null,8,["modelValue"])])]),R1("div",sC,[R1("div",cC,i0(E.$t("message.layout.fourIsInvert")),1),R1("div",lC,[j1(M,{modelValue:o.value.isInvert,"onUpdate:modelValue":m[15]||(m[15]=_=>o.value.isInvert=_),width:35,onChange:m[16]||(m[16]=_=>b("invert"))},null,8,["modelValue"])])]),j1(y,{"content-position":a.value},{default:Q1(()=>[C2(i0(E.$t("message.layout.fiveTitle")),1)]),_:1},8,["content-position"]),R1("div",uC,[R1("div",dC,i0(E.$t("message.layout.fiveTagsStyle")),1),R1("div",fC,[j1(R,{modelValue:o.value.tagsStyle,"onUpdate:modelValue":m[17]||(m[17]=_=>o.value.tagsStyle=_),disabled:!o.value.isTagsview,onChange:u},{default:Q1(()=>[j1(T,{label:"tags-style-one",value:"tags-style-one"},{default:Q1(()=>[...m[26]||(m[26]=[C2("卡片",-1)])]),_:1}),j1(T,{label:"tags-style-four",value:"tags-style-four"},{default:Q1(()=>[...m[27]||(m[27]=[C2("灵动",-1)])]),_:1}),j1(T,{label:"tags-style-five",value:"tags-style-five"},{default:Q1(()=>[...m[28]||(m[28]=[C2("圆滑",-1)])]),_:1})]),_:1},8,["modelValue","disabled"])])]),R1("div",hC,[R1("div",mC,i0(E.$t("message.layout.fiveAnimation")),1),R1("div",pC,[j1(R,{modelValue:o.value.animation,"onUpdate:modelValue":m[18]||(m[18]=_=>o.value.animation=_),onChange:u},{default:Q1(()=>[j1(T,{label:"slide-left",value:"slide-left"},{default:Q1(()=>[...m[29]||(m[29]=[C2("左滑",-1)])]),_:1}),j1(T,{label:"opacitys",value:"opacitys"},{default:Q1(()=>[...m[30]||(m[30]=[C2("透明",-1)])]),_:1}),j1(T,{label:"slide-right",value:"slide-right"},{default:Q1(()=>[...m[31]||(m[31]=[C2("右滑",-1)])]),_:1}),j1(T,{label:"no-transition",value:"no-transition"},{default:Q1(()=>[...m[32]||(m[32]=[C2("无",-1)])]),_:1})]),_:1},8,["modelValue"])])]),R1("div",{class:b3(["layout-breadcrumb-seting-bar-flex mt15",{mb28:o.value.layout!=="columns"&&o.value.layout!=="classic"}])},[R1("div",gC,i0(E.$t("message.layout.fiveColumnsAsideStyle")),1),R1("div",vC,[j1(R,{modelValue:o.value.columnsAsideStyle,"onUpdate:modelValue":m[19]||(m[19]=_=>o.value.columnsAsideStyle=_),onChange:u},{default:Q1(()=>[j1(T,{label:"columns-round",value:"columns-round"},{default:Q1(()=>[...m[33]||(m[33]=[C2("圆角",-1)])]),_:1}),j1(T,{label:"columns-card",value:"columns-card"},{default:Q1(()=>[...m[34]||(m[34]=[C2("卡片",-1)])]),_:1})]),_:1},8,["modelValue"])])],2),o.value.layout==="columns"||o.value.layout==="classic"?(K1(),h2("div",_C,[R1("div",xC,i0(E.$t("message.layout.fiveColumnsAsideLayout")),1),R1("div",yC,[j1(R,{modelValue:o.value.columnsAsideLayout,"onUpdate:modelValue":m[20]||(m[20]=_=>o.value.columnsAsideLayout=_),onChange:u},{default:Q1(()=>[j1(T,{label:"columns-horizontal",value:"columns-horizontal"},{default:Q1(()=>[...m[35]||(m[35]=[C2("水平",-1)])]),_:1}),j1(T,{label:"columns-vertical",value:"columns-vertical"},{default:Q1(()=>[...m[36]||(m[36]=[C2("垂直",-1)])]),_:1})]),_:1},8,["modelValue"])])])):H2("",!0)]),_:1})]),_:1},8,["modelValue"])])}}}),EC=W4(bC,[["__scopeId","data-v-f9d6ba4c"]]),CC=`${location.origin}/adminapi`,MC="",O2={routePre:"/admin",apiBaseURL:CC,h5BaseURL:MC,routerMode:"history",showProgressBar:!0},BC=g4("media",()=>{const e=P1(!1),i=P1(!1),t=P1(!0),a=P1(!1);function o(s){e.value=!1,i.value=!1,t.value=!1;const c={Mobile:e,Tablet:i,Desktop:t}[s];c&&(c.value=!0)}return{isMobile:e,isTablet:i,isDesktop:t,isFullscreen:a,setDevice:o}},{persist:!0}),RC={id:"app"},wC=Object.assign({name:"app"},{__name:"App",setup(e){A9();const i=P1(null),t=BC(),a=L9(),o=P1(!0),s={"zh-cn":rn,en:F_,"zh-tw":L_},c=A2(()=>s[a.themeConfig.globalI18n]||rn);J8("reload",p);function d(){const g=window.matchMedia;if(g("(max-width: 600px)").matches){document.documentElement.clientWidth||window.innerWidth;let h="calc(100vw/7.5)";document.documentElement.style.fontSize=h,t.setDevice("Mobile")}else g("(max-width: 992px)").matches?t.setDevice("Tablet"):t.setDevice("Desktop")}function p(){o.value=!1,T3(()=>{o.value=!0})}function f(){i.value&&i.value.openDrawer()}function u(){M0.get("themeConfigPrev")?(a.setThemeConfig(M0.get("themeConfigPrev")),document.documentElement.style.cssText=M0.get("themeConfigStyle")):M0.set("themeConfigPrev",a.themeConfig)}return I5(()=>{d(),E6.on("openSetingsDrawer",f),u(),T3(g=>{})}),V7(()=>{E6.off("openSetingsDrawer",f)}),(g,h)=>{const x=m2("router-view"),b=m2("el-config-provider");return K1(),h2("div",RC,[j1(b,{locale:c.value},{default:Q1(()=>[j1(x),j1(EC,{ref_key:"setingsRef",ref:i},null,512)]),_:1},8,["locale"])])}}}),AC=O2.routePre,zC=[{path:AC+"/aiagent",component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"index",section:"aiagent",action:"manage",name:"aiagent_manage",meta:{auth:["aiagent-manage"],title:"AI 对话"},component:()=>Q(()=>import("./index-U2-3zwf3.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]))}]}],SC=Object.freeze(Object.defineProperty({__proto__:null,default:zC},Symbol.toStringTag,{value:"Module"})),_6=O2.routePre,i4="bargain_",kC=[{path:_6+"/marketing/bargain/product",section:"bargain",action:"product",meta:{auth:["marketing-store_bargain"],title:"砍价商品"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${i4}product`,component:()=>Q(()=>import("./index-Cc9GWsRf.js"),__vite__mapDeps([10,1,2,11,12,13,4,5,6,7,8,14,15,16])),meta:{auth:["marketing-store_bargain"],title:"砍价商品"}}]},{path:_6+"/marketing/bargain/create/:id?/:copy?",section:"bargain",action:"create",meta:{auth:["marketing-store_bargain-create"],title:"添加/编辑砍价商品"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${i4}create`,component:()=>Q(()=>import("./index-DM3IbC_I.js"),__vite__mapDeps([17,1,2,18,19,4,5,6,7,8,20,11,21,22,23,24,25,26,27,28,29,30,31])),meta:{auth:["marketing-store_bargain-create"],title:"添加/编辑砍价商品",activeMenu:_6+"/marketing/bargain/product"}}]},{path:_6+"/marketing/bargain/pink",section:"bargain",action:"pink",meta:{auth:["marketing-store_bargain-bargain_list"],title:"砍价列表"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${i4}pink`,component:()=>Q(()=>import("./index-BBKMivHI.js"),__vite__mapDeps([32,1,2,12,11,4,5,6,7,8,33])),meta:{auth:["marketing-store_bargain-bargain_list"],title:"砍价列表"}}]},{path:_6+"/marketing/bargain/statistics/:id",section:"bargain",action:"statistics",meta:{auth:["marketing-store_bargain-statistics"],title:"砍价统计"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${i4}statistics`,component:()=>Q(()=>import("./index-BYm7nlX3.js"),__vite__mapDeps([34,1,2,35,36,11,4,5,6,7,8,37])),meta:{auth:["marketing-store_bargain-statistics"],title:"砍价统计",activeMenu:_6+"/marketing/bargain/product"}}]},{path:_6+"/marketing/store_bargain/index",section:"bargain",action:"product",name:`${i4}legacyIndex`,meta:{title:"砍价商品"}},{path:_6+"/marketing/store_bargain/bargain_list",section:"bargain",action:"pink",name:`${i4}legacyPink`,meta:{title:"砍价列表"}},{path:_6+"/marketing/store_bargain/create/:id?/:copy?",section:"bargain",action:"create",name:`${i4}legacyCreate`,meta:{title:"添加/编辑砍价商品"}},{path:_6+"/marketing/store_bargain/statistics/:id",section:"bargain",action:"statistics",name:`${i4}legacyStatistics`,meta:{title:"砍价统计"}}],TC=Object.freeze(Object.defineProperty({__proto__:null,default:kC},Symbol.toStringTag,{value:"Module"})),F4=O2.routePre,f5="product_",u7=()=>Q(()=>import("./PageContainer-CwNjVoS0.js"),__vite__mapDeps([38,1,2,4,5,6,7,8,39])),LC=[{path:F4+"/product/cardkey/list",meta:{auth:["admin-cardkey-product-list"],title:"卡密商品",keepAlive:!0},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${f5}cardkeyProductList`,component:u7,props:{typeKey:"cardkey",section:"cardkey",action:"list"},meta:{auth:["admin-cardkey-product-list"],title:"卡密商品",keepAlive:!0}}]},{path:F4+"/product/cardkey/add",name:`${f5}cardkeyProductAdd`,meta:{auth:["admin-cardkey-product-add"],title:"添加商品"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:":id?",name:`${f5}cardkeyProductAddId`,component:u7,props:{typeKey:"cardkey",section:"cardkey",action:"add"},meta:{auth:["admin-cardkey-product-add"],title:"添加商品",activeMenu:F4+"/product/cardkey/list"}}]},{path:F4+"/product/cardkey/stock/list",meta:{auth:["admin-cardkey-stock-list"],title:"卡密库存",keepAlive:!0},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${f5}cardkeyStockList`,component:u7,props:{typeKey:"cardkey",section:"cardkey",action:"stock"},meta:{auth:["admin-cardkey-stock-list"],title:"卡密库存",keepAlive:!0}}]},{path:F4+"/product/cardkey/order/list",meta:{auth:["admin-cardkey-order-list"],title:"订单管理",keepAlive:!0},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${f5}cardkeyOrderList`,component:u7,props:{typeKey:"cardkey",section:"cardkey",action:"order"},meta:{auth:["admin-cardkey-order-list"],title:"订单管理",keepAlive:!0}}]},{path:F4+"/product/cardkey/order/detail/:orderNo",meta:{auth:["admin-cardkey-order-list"],title:"订单详情"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${f5}cardkeyOrderDetail`,component:u7,props:{typeKey:"cardkey",section:"cardkey",action:"order_detail"},meta:{auth:["admin-cardkey-order-list"],title:"订单详情",activeMenu:F4+"/product/cardkey/order/list"}}]}],FC=Object.freeze(Object.defineProperty({__proto__:null,default:LC},Symbol.toStringTag,{value:"Module"})),d7=O2.routePre,ot="channel_code_",OC=[{path:d7+"/marketing/channel_code/channelCodeIndex",section:"channel_code",action:"channelCodeIndex",meta:{auth:!0,title:"公众号渠道码",keepAlive:!0},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${ot}channelCodeIndex`,component:()=>Q(()=>import("./channelCodeIndex-CHwxEGpT.js"),__vite__mapDeps([40,1,2,41,4,5,6,7,8,42])),meta:{auth:!0,title:"公众号渠道码",keepAlive:!0}}]},{path:d7+"/marketing/channel_code/create",section:"channel_code",action:"createCode",meta:{auth:["marketing-channel_code-create"],title:"渠道码"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${ot}createCode`,component:()=>Q(()=>import("./createCode-CYd5sOvE.js"),__vite__mapDeps([43,1,2,44,45,46,47,48,49,4,5,6,7,8,41,50,51,52,20])),meta:{auth:["marketing-channel_code-create"],title:"渠道码",activeMenu:d7+"/marketing/channel_code/channelCodeIndex"}}]},{path:d7+"/marketing/channel_code/code_statistic",section:"channel_code",action:"codeStatistic",meta:{auth:["marketing-channel_code-statistic"],title:"二维码统计"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${ot}codeStatistic`,component:()=>Q(()=>import("./codeStatistic-Ct6__wKR.js"),__vite__mapDeps([53,1,2,35,36,54,55,56,41,4,5,6,7,8,12,57])),meta:{auth:["marketing-channel_code-statistic"],title:"二维码统计",activeMenu:d7+"/marketing/channel_code/channelCodeIndex"}}]}],PC=Object.freeze(Object.defineProperty({__proto__:null,default:OC},Symbol.toStringTag,{value:"Module"})),x6=O2.routePre,a4="combination_",DC=[{path:x6+"/marketing/combination/product",section:"combination",action:"product",meta:{auth:["marketing-combination-product"],title:"拼团商品"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${a4}product`,component:()=>Q(()=>import("./index-B9iJncpm.js"),__vite__mapDeps([58,1,2,59,4,5,6,7,8,14,15,60])),meta:{auth:["marketing-combination-product"],title:"拼团商品"}}]},{path:x6+"/marketing/combination/create/:id?/:copy?",section:"combination",action:"create",meta:{auth:["marketing-combination-create"],title:"添加/编辑拼团商品"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${a4}create`,component:()=>Q(()=>import("./index-BmirIms0.js"),__vite__mapDeps([61,1,2,18,19,4,5,6,7,8,20,23,24,25,26,27,28,59,11,21,22,29,30,62])),meta:{auth:["marketing-combination-create"],title:"添加/编辑拼团商品",activeMenu:x6+"/marketing/combination/product"}}]},{path:x6+"/marketing/combination/pink",section:"combination",action:"pink",meta:{auth:["marketing-combination-pink"],title:"拼团列表"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${a4}pink`,component:()=>Q(()=>import("./index-D_W-9v0W.js"),__vite__mapDeps([63,1,2,35,36,59,4,5,6,7,8,64])),meta:{auth:["marketing-combination-pink"],title:"拼团列表"}}]},{path:x6+"/marketing/combination/statistics/:id",section:"combination",action:"statistics",meta:{auth:["marketing-combination-statistics"],title:"拼团统计"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${a4}statistics`,component:()=>Q(()=>import("./index-DRmsR4fb.js"),__vite__mapDeps([65,1,2,35,36,59,4,5,6,7,8,66])),meta:{auth:["marketing-combination-statistics"],title:"拼团统计",activeMenu:x6+"/marketing/combination/product"}}]},{path:x6+"/marketing/store_combination/index",section:"combination",action:"product",name:`${a4}legacyIndex`,meta:{title:"拼团商品"}},{path:x6+"/marketing/store_combination/combina_list",section:"combination",action:"pink",name:`${a4}legacyPink`,meta:{title:"拼团列表"}},{path:x6+"/marketing/store_combination/create/:id?/:copy?",section:"combination",action:"create",name:`${a4}legacyCreate`,meta:{title:"添加/编辑拼团商品"}},{path:x6+"/marketing/store_combination/statistics/:id",section:"combination",action:"statistics",name:`${a4}legacyStatistics`,meta:{title:"拼团统计"}}],IC=Object.freeze(Object.defineProperty({__proto__:null,default:DC},Symbol.toStringTag,{value:"Module"})),rt=O2.routePre,zr="product_",HC=[{path:rt+"/product/coupon/list",name:`${zr}couponProductList`,meta:{auth:["admin-coupon-product-list"],title:"优惠券商品"},component:()=>Q(()=>import("./index-DixSFioh.js"),__vite__mapDeps([67,1,2,68,44,45,69,70,71,11,72,73,4,5,6,7,8,74]))},{path:rt+"/product/coupon/add/:id?",name:`${zr}couponProductAdd`,meta:{auth:["admin-coupon-product-add"],title:"优惠券商品添加",activeMenu:rt+"/product/coupon/list"},component:()=>Q(()=>import("./index-DpIbV1C8.js"),__vite__mapDeps([75,1,2,76,77,78,79,23,24,25,26,27,28,80,68,4,5,6,7,8,81]))}],VC=Object.freeze(Object.defineProperty({__proto__:null,default:HC},Symbol.toStringTag,{value:"Module"})),NC=O2.routePre,Sr="agent_",qC=[{path:"agent_manage/index",section:"distribution",action:"manage",name:`${Sr}agentManage`,meta:{auth:["agent-agent-manage"],title:"分销员管理"}},{path:"spread/apply",section:"distribution",action:"apply",name:`${Sr}spreadApply`,meta:{auth:["admin-agent-spread-apply"],title:"分销员申请"}},{path:NC+"/division",name:"division",redirect:{name:"division_list"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"index",section:"distribution",action:"list",name:"division_list",component:()=>Q(()=>import("./PageContainer-CwNjVoS0.js"),__vite__mapDeps([38,1,2,4,5,6,7,8,39])),props:{typeKey:"distribution",section:"distribution",action:"list"},meta:{auth:["agent-division-index"],title:"事业部列表"}},{path:"agent/index",section:"distribution",action:"agent",name:"division_agent",component:()=>Q(()=>import("./PageContainer-CwNjVoS0.js"),__vite__mapDeps([38,1,2,4,5,6,7,8,39])),props:{typeKey:"distribution",section:"distribution",action:"agent"},meta:{auth:["agent-division-agent-index"],title:"代理商列表"}},{path:"agent/statistics",section:"distribution",action:"statistics",name:"division_statistics",component:()=>Q(()=>import("./PageContainer-CwNjVoS0.js"),__vite__mapDeps([38,1,2,4,5,6,7,8,39])),props:{typeKey:"distribution",section:"distribution",action:"statistics"},meta:{auth:["agent-division-statistics"],title:"事业部统计"}},{path:"agent/applyList",section:"distribution",action:"applyList",name:"division_applyList",component:()=>Q(()=>import("./PageContainer-CwNjVoS0.js"),__vite__mapDeps([38,1,2,4,5,6,7,8,39])),props:{typeKey:"distribution",section:"distribution",action:"applyList"},meta:{auth:["agent-division-agent-applyList"],title:"代理商申请"}},{path:"agent/agreement",section:"distribution",action:"agreement",name:"division_agreement",component:()=>Q(()=>import("./PageContainer-CwNjVoS0.js"),__vite__mapDeps([38,1,2,4,5,6,7,8,39])),props:{typeKey:"distribution",section:"distribution",action:"agreement"},meta:{auth:["agent-division-agent-agreement"],title:"代理商规则"}}]}],UC=Object.freeze(Object.defineProperty({__proto__:null,default:qC},Symbol.toStringTag,{value:"Module"})),V8=O2.routePre,st="integral_",jC=[{path:V8+"/marketing/integral/product",section:"integral",action:"product",meta:{auth:["marketing-integral-product"],title:"积分商品",keepAlive:!0},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${st}product`,name:"integralProductList",component:()=>Q(()=>import("./index-TGJoY1P3.js"),__vite__mapDeps([82,1,2,83,4,5,6,7,8,12,84])),meta:{auth:["marketing-integral-product"],title:"积分商品",keepAlive:!0}}]},{path:V8+"/marketing/integral/product/create/:id?/:copy?",section:"integral",action:"product_create",meta:{auth:["marketing-integral-save"],title:"添加/编辑积分商品"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${st}productCreate`,component:()=>Q(()=>import("./create-bl0RFWlt.js"),__vite__mapDeps([85,1,2,18,19,4,5,6,7,8,20,23,24,25,26,27,28,29,30,83,86])),meta:{auth:["marketing-integral-save"],title:"添加/编辑积分商品",activeMenu:V8+"/marketing/integral/product"}}]},{path:V8+"/marketing/integral/order",section:"integral",action:"order",meta:{auth:["marketing-integral-order"],title:"积分订单",keepAlive:!0},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${st}order`,name:"integralOrderList",component:()=>Q(()=>import("./index-WBcBCA2K.js"),__vite__mapDeps([87,1,2,83,4,5,6,7,8,88,89])),meta:{auth:["marketing-integral-order"],title:"积分订单",keepAlive:!0}}]}],$C=Object.freeze(Object.defineProperty({__proto__:null,default:jC},Symbol.toStringTag,{value:"Module"}));/*! js-cookie v3.0.8 | MIT */function N8(e){for(var i=1;i"u")){c=N8({},i,c),typeof c.expires=="number"&&(c.expires=new Date(Date.now()+c.expires*864e5)),c.expires&&(c.expires=c.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var d="";for(var p in c)c[p]&&(d+="; "+p,c[p]!==!0&&(d+="="+c[p].split(";")[0]));return document.cookie=o+"="+e.write(s,o)+d}}function a(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var s=document.cookie?document.cookie.split("; "):[],c={},d=0;d{if(!e.length||!i)return;let t=-1,a=e.length;for(;++t{let t=Math.min(e.length,i.length),a=-1,o=[];for(;++a-1&&o.push(s)}return o},XC=(e,i)=>Array.from(new Set([...e,...i])),QC=(e,i)=>e.some(t=>i.indexOf(t)>-1);function YC(e,i){for(let t=0;tString(e).length>10,JC=(e,i)=>ee<10?"0"+e:e,kr=(e,i)=>{const t=new Date(e*1e3),a=t.getFullYear(),o=f7(t.getMonth()+1),s=f7(t.getDate()),c=f7(t.getHours()),d=f7(t.getMinutes()),p=f7(t.getSeconds());let f="";return i==="year"?f=a+"-"+o+"-"+s+" "+c+":"+d+":"+p:f=o+"-"+s+" "+c+":"+d,f},eM=e=>{ZC(e)&&Math.floor(e/=1e3),e=Number(e);const t=Math.floor(Date.parse(new Date)/1e3),a=JC(e,t);let o=t-e;a||(o=-o);let s="";const c=a?"前":"后";return o<=59?s=o+"秒"+c:o>59&&o<=3599?s=Math.floor(o/60)+"分钟"+c:o>3599&&o<=86399?s=Math.floor(o/3600)+"小时"+c:o>86399&&o<=2623859?s=Math.floor(o/86400)+"天"+c:o>2623859&&o<=31567859&&a?s=kr(e):s=kr(e,"year"),s},tM=()=>{const e=window.navigator.userAgent,i=t=>e.indexOf(t)>-1;if(i("MSIE"))return"IE";if(i("Firefox"))return"Firefox";if(i("Chrome"))return"Chrome";if(i("Opera"))return"Opera";if(i("Safari"))return"Safari"},n9=function(){return document.addEventListener?function(e,i,t){e&&i&&t&&e.addEventListener(i,t,!1)}:function(e,i,t){e&&i&&t&&e.attachEvent("on"+i,t)}}(),nM=function(){return document.removeEventListener?function(e,i,t){e&&i&&e.removeEventListener(i,t,!1)}:function(e,i,t){e&&i&&e.detachEvent("on"+i,t)}}(),iM=(e,i)=>i?i in e:Object.keys(e).length,Cn=(e,i)=>{const t=Object.keys(e),a=Object.keys(i);return t.length!==a.length?!1:t.length===0&&a.length===0?!0:!t.some(o=>e[o]!=i[o])},aM=(e,i)=>{var t=0,a=e.toString(),o=i.toString();try{t+=a.split(".")[1].length}catch{}try{t+=o.split(".")[1].length}catch{}return Number(a.replace(".",""))*Number(o.replace(".",""))/Math.pow(10,t)},oM=Object.freeze(Object.defineProperty({__proto__:null,accMul:aM,forEach:KC,getExplorer:tM,getIntersection:GC,getRelativeTime:eM,getUnion:XC,hasKey:iM,hasOneOf:QC,objEqual:Cn,off:nM,on:n9,oneOf:YC},Symbol.toStringTag,{value:"Module"}));var g9={exports:{}};/** + * @license + * Lodash + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */g9.exports;(function(e,i){(function(){var t,a="4.18.1",o=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",d="Invalid `variable` option passed into `_.template`",p="Invalid `imports` option passed into `_.template`",f="__lodash_hash_undefined__",u=500,g="__lodash_placeholder__",h=1,x=2,b=4,w=1,F=2,z=1,E=2,m=4,y=8,k=16,v=32,M=64,T=128,R=256,B=512,S=30,_="...",A=800,O=16,D=1,H=2,N=3,$=1/0,Y=9007199254740991,v1=17976931348623157e292,t1=NaN,X=4294967295,o1=X-1,n1=X>>>1,s1=[["ary",T],["bind",z],["bindKey",E],["curry",y],["curryRight",k],["flip",B],["partial",v],["partialRight",M],["rearg",R]],c1="[object Arguments]",j="[object Array]",i1="[object AsyncFunction]",l1="[object Boolean]",m1="[object Date]",M1="[object DOMException]",z1="[object Error]",w1="[object Function]",f1="[object GeneratorFunction]",L1="[object Map]",Y1="[object Number]",W1="[object Null]",C1="[object Object]",F1="[object Promise]",G="[object Proxy]",J="[object RegExp]",g1="[object Set]",I1="[object String]",J1="[object Symbol]",s2="[object Undefined]",d1="[object WeakMap]",B1="[object WeakSet]",i2="[object ArrayBuffer]",f2="[object DataView]",K2="[object Float32Array]",q1="[object Float64Array]",O1="[object Int8Array]",_2="[object Int16Array]",k1="[object Int32Array]",a1="[object Uint8Array]",_1="[object Uint8ClampedArray]",b1="[object Uint16Array]",U1="[object Uint32Array]",A1=/\b__p \+= '';/g,Z1=/\b(__p \+=) '' \+/g,r2=/(__e\(.*?\)|\b__t\)) \+\n'';/g,x2=/&(?:amp|lt|gt|quot|#39);/g,V2=/[&<>"']/g,t0=RegExp(x2.source),h0=RegExp(V2.source),o0=/<%-([\s\S]+?)%>/g,I0=/<%([\s\S]+?)%>/g,f3=/<%=([\s\S]+?)%>/g,H0=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,y2=/^\w*$/,X0=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,G1=/[\\^$.*+?()[\]{}|]/g,u0=RegExp(G1.source),z0=/^\s+/,b4=/\s/,q5=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,t2=/\{\n\/\* \[wrapped with (.+)\] \*/,U5=/,? & /,X7=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Q7=/[()=,{}\[\]\/\s]/,L=/\\(\\)?/g,W=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,I=/\w*$/,q=/^[-+]0x[0-9a-f]+$/i,e1=/^0b[01]+$/i,Z=/^\[object .+?Constructor\]$/,u1=/^0o[0-7]+$/i,y1=/^(?:0|[1-9]\d*)$/,H1=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,l2=/($^)/,c2=/['\n\r\u2028\u2029\\]/g,T2="\\ud800-\\udfff",X1="\\u0300-\\u036f",$2="\\ufe20-\\ufe2f",S0="\\u20d0-\\u20ff",V0=X1+$2+S0,Q0="\\u2700-\\u27bf",Y0="a-z\\xdf-\\xf6\\xf8-\\xff",G3="\\xac\\xb1\\xd7\\xf7",Y2="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",z2="\\u2000-\\u206f",m0=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",N2="A-Z\\xc0-\\xd6\\xd8-\\xde",h3="\\ufe0e\\ufe0f",X4=G3+Y2+z2+m0,j6="['’]",X3="["+T2+"]",Y7="["+X4+"]",E4="["+V0+"]",d6="\\d+",Q4="["+Q0+"]",j5="["+Y0+"]",Y4="[^"+T2+X4+d6+Q0+Y0+N2+"]",$6="\\ud83c[\\udffb-\\udfff]",Z7="(?:"+E4+"|"+$6+")",f6="[^"+T2+"]",B0="(?:\\ud83c[\\udde6-\\uddff]){2}",h6="[\\ud800-\\udbff][\\udc00-\\udfff]",m6="["+N2+"]",$5="\\u200d",J7="(?:"+j5+"|"+Y4+")",Rd="(?:"+m6+"|"+Y4+")",mi="(?:"+j6+"(?:d|ll|m|re|s|t|ve))?",pi="(?:"+j6+"(?:D|LL|M|RE|S|T|VE))?",gi=Z7+"?",vi="["+h3+"]?",wd="(?:"+$5+"(?:"+[f6,B0,h6].join("|")+")"+vi+gi+")*",Ad="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",zd="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",_i=vi+gi+wd,Sd="(?:"+[Q4,B0,h6].join("|")+")"+_i,kd="(?:"+[f6+E4+"?",E4,B0,h6,X3].join("|")+")",Td=RegExp(j6,"g"),Ld=RegExp(E4,"g"),j9=RegExp($6+"(?="+$6+")|"+kd+_i,"g"),Fd=RegExp([m6+"?"+j5+"+"+mi+"(?="+[Y7,m6,"$"].join("|")+")",Rd+"+"+pi+"(?="+[Y7,m6+J7,"$"].join("|")+")",m6+"?"+J7+"+"+mi,m6+"+"+pi,zd,Ad,d6,Sd].join("|"),"g"),Od=RegExp("["+$5+T2+V0+h3+"]"),Pd=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Dd=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Id=-1,y0={};y0[K2]=y0[q1]=y0[O1]=y0[_2]=y0[k1]=y0[a1]=y0[_1]=y0[b1]=y0[U1]=!0,y0[c1]=y0[j]=y0[i2]=y0[l1]=y0[f2]=y0[m1]=y0[z1]=y0[w1]=y0[L1]=y0[Y1]=y0[C1]=y0[J]=y0[g1]=y0[I1]=y0[d1]=!1;var _0={};_0[c1]=_0[j]=_0[i2]=_0[f2]=_0[l1]=_0[m1]=_0[K2]=_0[q1]=_0[O1]=_0[_2]=_0[k1]=_0[L1]=_0[Y1]=_0[C1]=_0[J]=_0[g1]=_0[I1]=_0[J1]=_0[a1]=_0[_1]=_0[b1]=_0[U1]=!0,_0[z1]=_0[w1]=_0[d1]=!1;var Hd={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Vd={"&":"&","<":"<",">":">",'"':""","'":"'"},Nd={"&":"&","<":"<",">":">",""":'"',"'":"'"},qd={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ud=parseFloat,jd=parseInt,xi=typeof w2=="object"&&w2&&w2.Object===Object&&w2,$d=typeof self=="object"&&self&&self.Object===Object&&self,Z0=xi||$d||Function("return this")(),$9=i&&!i.nodeType&&i,C4=$9&&!0&&e&&!e.nodeType&&e,yi=C4&&C4.exports===$9,W9=yi&&xi.process,L3=function(){try{var x1=C4&&C4.require&&C4.require("util").types;return x1||W9&&W9.binding&&W9.binding("util")}catch{}}(),bi=L3&&L3.isArrayBuffer,Ei=L3&&L3.isDate,Ci=L3&&L3.isMap,Mi=L3&&L3.isRegExp,Bi=L3&&L3.isSet,Ri=L3&&L3.isTypedArray;function C3(x1,D1,T1){switch(T1.length){case 0:return x1.call(D1);case 1:return x1.call(D1,T1[0]);case 2:return x1.call(D1,T1[0],T1[1]);case 3:return x1.call(D1,T1[0],T1[1],T1[2])}return x1.apply(D1,T1)}function Wd(x1,D1,T1,o2){for(var S2=-1,n0=x1==null?0:x1.length;++S2-1}function K9(x1,D1,T1){for(var o2=-1,S2=x1==null?0:x1.length;++o2-1;);return T1}function Fi(x1,D1){for(var T1=x1.length;T1--&&Z4(D1,x1[T1],0)>-1;);return T1}function tf(x1,D1){for(var T1=x1.length,o2=0;T1--;)x1[T1]===D1&&++o2;return o2}var nf=Y9(Hd),af=Y9(Vd);function of(x1){return"\\"+qd[x1]}function rf(x1,D1){return x1==null?t:x1[D1]}function J4(x1){return Od.test(x1)}function sf(x1){return Pd.test(x1)}function cf(x1){for(var D1,T1=[];!(D1=x1.next()).done;)T1.push(D1.value);return T1}function te(x1){var D1=-1,T1=Array(x1.size);return x1.forEach(function(o2,S2){T1[++D1]=[S2,o2]}),T1}function Oi(x1,D1){return function(T1){return x1(D1(T1))}}function G6(x1,D1){for(var T1=-1,o2=x1.length,S2=0,n0=[];++T1-1}function Xf(r,l){var C=this.__data__,P=v8(C,r);return P<0?(++this.size,C.push([r,l])):C[P][1]=l,this}w6.prototype.clear=$f,w6.prototype.delete=Wf,w6.prototype.get=Kf,w6.prototype.has=Gf,w6.prototype.set=Xf;function A6(r){var l=-1,C=r==null?0:r.length;for(this.clear();++l=l?r:l)),r}function P3(r,l,C,P,V,K){var r1,h1=l&h,E1=l&x,V1=l&b;if(C&&(r1=V?C(r,P,V,K):C(r)),r1!==t)return r1;if(!R0(r))return r;var N1=F2(r);if(N1){if(r1=Jh(r),!h1)return m3(r,r1)}else{var $1=n3(r),n2=$1==w1||$1==f1;if(e4(r))return va(r,h1);if($1==C1||$1==c1||n2&&!V){if(r1=E1||n2?{}:Pa(r),!h1)return E1?qh(r,dh(r1,r)):Nh(r,Ki(r1,r))}else{if(!_0[$1])return V?r:{};r1=em(r,$1,h1)}}K||(K=new Y3);var u2=K.get(r);if(u2)return u2;K.set(r,r1),fo(r)?r.forEach(function(v2){r1.add(P3(v2,l,C,v2,r,K))}):lo(r)&&r.forEach(function(v2,W2){r1.set(W2,P3(v2,l,C,W2,r,K))});var M2=V1?E1?we:Re:E1?g3:$0,I2=N1?t:M2(r);return M3(I2||r,function(v2,W2){I2&&(W2=v2,v2=r[W2]),Z5(r1,W2,P3(v2,l,C,W2,r,K))}),r1}function fh(r){var l=$0(r);return function(C){return Gi(C,r,l)}}function Gi(r,l,C){var P=C.length;if(r==null)return!P;for(r=v0(r);P--;){var V=C[P],K=l[V],r1=r[V];if(r1===t&&!(V in r)||!K(r1))return!1}return!0}function Xi(r,l,C){if(typeof r!="function")throw new F3(c);return o7(function(){r.apply(t,C)},l)}function J5(r,l,C,P){var V=-1,K=e8,r1=!0,h1=r.length,E1=[],V1=l.length;if(!h1)return E1;C&&(l=C0(l,B3(C))),P?(K=K9,r1=!1):l.length>=o&&(K=W5,r1=!1,l=new R4(l));e:for(;++VV?0:V+C),P=P===t||P>V?V:D2(P),P<0&&(P+=V),P=C>P?0:mo(P);C0&&C(h1)?l>1?J0(h1,l-1,C,P,V):K6(V,h1):P||(V[V.length]=h1)}return V}var ce=Ca(),Zi=Ca(!0);function g6(r,l){return r&&ce(r,l,$0)}function le(r,l){return r&&Zi(r,l,$0)}function x8(r,l){return W6(l,function(C){return T6(r[C])})}function A4(r,l){l=Z6(l,r);for(var C=0,P=l.length;r!=null&&Cl}function ph(r,l){return r!=null&&r0.call(r,l)}function gh(r,l){return r!=null&&l in v0(r)}function vh(r,l,C){return r>=t3(l,C)&&r=120&&N1.length>=120)?new R4(r1&&N1):t}N1=r[0];var $1=-1,n2=h1[0];e:for(;++$1-1;)h1!==r&&u8.call(h1,E1,1),u8.call(r,E1,1);return r}function la(r,l){for(var C=r?l.length:0,P=C-1;C--;){var V=l[C];if(C==P||V!==K){var K=V;k6(V)?u8.call(r,V,1):xe(r,V)}}return r}function ge(r,l){return r+h8(Ui()*(l-r+1))}function Sh(r,l,C,P){for(var V=-1,K=q0(f8((l-r)/(C||1)),0),r1=T1(K);K--;)r1[P?K:++V]=r,r+=C;return r1}function ve(r,l){var C="";if(!r||l<1||l>Y)return C;do l%2&&(C+=r),l=h8(l/2),l&&(r+=r);while(l);return C}function q2(r,l){return Fe(Ha(r,l,v3),r+"")}function kh(r){return Wi(u5(r))}function Th(r,l){var C=u5(r);return S8(C,w4(l,0,C.length))}function n7(r,l,C,P){if(!R0(r))return r;l=Z6(l,r);for(var V=-1,K=l.length,r1=K-1,h1=r;h1!=null&&++VV?0:V+l),C=C>V?V:C,C<0&&(C+=V),V=l>C?0:C-l>>>0,l>>>=0;for(var K=T1(V);++P>>1,r1=r[K];r1!==null&&!w3(r1)&&(C?r1<=l:r1=o){var V1=l?null:Wh(r);if(V1)return n8(V1);r1=!1,V=W5,E1=new R4}else E1=l?[]:h1;e:for(;++P=P?r:D3(r,l,C)}var ga=Cf||function(r){return Z0.clearTimeout(r)};function va(r,l){if(l)return r.slice();var C=r.length,P=Ii?Ii(C):new r.constructor(C);return r.copy(P),P}function Ce(r){var l=new r.constructor(r.byteLength);return new c8(l).set(new c8(r)),l}function Dh(r,l){var C=l?Ce(r.buffer):r.buffer;return new r.constructor(C,r.byteOffset,r.byteLength)}function Ih(r){var l=new r.constructor(r.source,I.exec(r));return l.lastIndex=r.lastIndex,l}function Hh(r){return Y5?v0(Y5.call(r)):{}}function _a(r,l){var C=l?Ce(r.buffer):r.buffer;return new r.constructor(C,r.byteOffset,r.length)}function xa(r,l){if(r!==l){var C=r!==t,P=r===null,V=r===r,K=w3(r),r1=l!==t,h1=l===null,E1=l===l,V1=w3(l);if(!h1&&!V1&&!K&&r>l||K&&r1&&E1&&!h1&&!V1||P&&r1&&E1||!C&&E1||!V)return 1;if(!P&&!K&&!V1&&r=h1)return E1;var V1=C[P];return E1*(V1=="desc"?-1:1)}}return r.index-l.index}function ya(r,l,C,P){for(var V=-1,K=r.length,r1=C.length,h1=-1,E1=l.length,V1=q0(K-r1,0),N1=T1(E1+V1),$1=!P;++h11?C[V-1]:t,r1=V>2?C[2]:t;for(K=r.length>3&&typeof K=="function"?(V--,K):t,r1&&r3(C[0],C[1],r1)&&(K=V<3?t:K,V=1),l=v0(l);++P-1?V[K?l[r1]:r1]:t}}function Ra(r){return S6(function(l){var C=l.length,P=C,V=O3.prototype.thru;for(r&&l.reverse();P--;){var K=l[P];if(typeof K!="function")throw new F3(c);if(V&&!r1&&A8(K)=="wrapper")var r1=new O3([],!0)}for(P=r1?P:C;++P1&&X2.reverse(),N1&&E1h1))return!1;var V1=K.get(r),N1=K.get(l);if(V1&&N1)return V1==l&&N1==r;var $1=-1,n2=!0,u2=C&F?new R4:t;for(K.set(r,l),K.set(l,r);++$11?"& ":"")+l[P],l=l.join(C>2?", ":" "),r.replace(q5,`{ +/* [wrapped with `+l+`] */ +`)}function nm(r){return F2(r)||k4(r)||!!(Ni&&r&&r[Ni])}function k6(r,l){var C=typeof r;return l=l??Y,!!l&&(C=="number"||C!="symbol"&&y1.test(r))&&r>-1&&r%1==0&&r0){if(++l>=A)return arguments[0]}else l=0;return r.apply(t,arguments)}}function S8(r,l){var C=-1,P=r.length,V=P-1;for(l=l===t?P:l;++C1?r[l-1]:t;return C=typeof C=="function"?(r.pop(),C):t,Ya(r,C)});function Za(r){var l=U(r);return l.__chain__=!0,l}function hp(r,l){return l(r),r}function k8(r,l){return l(r)}var mp=S6(function(r){var l=r.length,C=l?r[0]:0,P=this.__wrapped__,V=function(K){return se(K,r)};return l>1||this.__actions__.length||!(P instanceof G2)||!k6(C)?this.thru(V):(P=P.slice(C,+C+(l?1:0)),P.__actions__.push({func:k8,args:[V],thisArg:t}),new O3(P,this.__chain__).thru(function(K){return l&&!K.length&&K.push(t),K}))});function pp(){return Za(this)}function gp(){return new O3(this.value(),this.__chain__)}function vp(){this.__values__===t&&(this.__values__=ho(this.value()));var r=this.__index__>=this.__values__.length,l=r?t:this.__values__[this.__index__++];return{done:r,value:l}}function _p(){return this}function xp(r){for(var l,C=this;C instanceof g8;){var P=$a(C);P.__index__=0,P.__values__=t,l?V.__wrapped__=P:l=P;var V=P;C=C.__wrapped__}return V.__wrapped__=r,l}function yp(){var r=this.__wrapped__;if(r instanceof G2){var l=r;return this.__actions__.length&&(l=new G2(this)),l=l.reverse(),l.__actions__.push({func:k8,args:[Oe],thisArg:t}),new O3(l,this.__chain__)}return this.thru(Oe)}function bp(){return ma(this.__wrapped__,this.__actions__)}var Ep=C8(function(r,l,C){r0.call(r,C)?++r[C]:p6(r,C,1)});function Cp(r,l,C){var P=F2(r)?wi:hh;return C&&r3(r,l,C)&&(l=t),P(r,b2(l,3))}function Mp(r,l){var C=F2(r)?W6:Yi;return C(r,b2(l,3))}var Bp=Ba(Wa),Rp=Ba(Ka);function wp(r,l){return J0(T8(r,l),1)}function Ap(r,l){return J0(T8(r,l),$)}function zp(r,l,C){return C=C===t?1:D2(C),J0(T8(r,l),C)}function Ja(r,l){var C=F2(r)?M3:Q6;return C(r,b2(l,3))}function eo(r,l){var C=F2(r)?Kd:Qi;return C(r,b2(l,3))}var Sp=C8(function(r,l,C){r0.call(r,C)?r[C].push(l):p6(r,C,[l])});function kp(r,l,C,P){r=p3(r)?r:u5(r),C=C&&!P?D2(C):0;var V=r.length;return C<0&&(C=q0(V+C,0)),D8(r)?C<=V&&r.indexOf(l,C)>-1:!!V&&Z4(r,l,C)>-1}var Tp=q2(function(r,l,C){var P=-1,V=typeof l=="function",K=p3(r)?T1(r.length):[];return Q6(r,function(r1){K[++P]=V?C3(l,r1,C):e7(r1,l,C)}),K}),Lp=C8(function(r,l,C){p6(r,C,l)});function T8(r,l){var C=F2(r)?C0:ia;return C(r,b2(l,3))}function Fp(r,l,C,P){return r==null?[]:(F2(l)||(l=l==null?[]:[l]),C=P?t:C,F2(C)||(C=C==null?[]:[C]),sa(r,l,C))}var Op=C8(function(r,l,C){r[C?0:1].push(l)},function(){return[[],[]]});function Pp(r,l,C){var P=F2(r)?G9:ki,V=arguments.length<3;return P(r,b2(l,4),C,V,Q6)}function Dp(r,l,C){var P=F2(r)?Gd:ki,V=arguments.length<3;return P(r,b2(l,4),C,V,Qi)}function Ip(r,l){var C=F2(r)?W6:Yi;return C(r,O8(b2(l,3)))}function Hp(r){var l=F2(r)?Wi:kh;return l(r)}function Vp(r,l,C){(C?r3(r,l,C):l===t)?l=1:l=D2(l);var P=F2(r)?ch:Th;return P(r,l)}function Np(r){var l=F2(r)?lh:Fh;return l(r)}function qp(r){if(r==null)return 0;if(p3(r))return D8(r)?e5(r):r.length;var l=n3(r);return l==L1||l==g1?r.size:he(r).length}function Up(r,l,C){var P=F2(r)?X9:Oh;return C&&r3(r,l,C)&&(l=t),P(r,b2(l,3))}var jp=q2(function(r,l){if(r==null)return[];var C=l.length;return C>1&&r3(r,l[0],l[1])?l=[]:C>2&&r3(l[0],l[1],l[2])&&(l=[l[0]]),sa(r,J0(l,1),[])}),L8=Mf||function(){return Z0.Date.now()};function $p(r,l){if(typeof l!="function")throw new F3(c);return r=D2(r),function(){if(--r<1)return l.apply(this,arguments)}}function to(r,l,C){return l=C?t:l,l=r&&l==null?r.length:l,z6(r,T,t,t,t,t,l)}function no(r,l){var C;if(typeof l!="function")throw new F3(c);return r=D2(r),function(){return--r>0&&(C=l.apply(this,arguments)),r<=1&&(l=t),C}}var De=q2(function(r,l,C){var P=z;if(C.length){var V=G6(C,c5(De));P|=v}return z6(r,P,l,C,V)}),io=q2(function(r,l,C){var P=z|E;if(C.length){var V=G6(C,c5(io));P|=v}return z6(l,P,r,C,V)});function ao(r,l,C){l=C?t:l;var P=z6(r,y,t,t,t,t,t,l);return P.placeholder=ao.placeholder,P}function oo(r,l,C){l=C?t:l;var P=z6(r,k,t,t,t,t,t,l);return P.placeholder=oo.placeholder,P}function ro(r,l,C){var P,V,K,r1,h1,E1,V1=0,N1=!1,$1=!1,n2=!0;if(typeof r!="function")throw new F3(c);l=H3(l)||0,R0(C)&&(N1=!!C.leading,$1="maxWait"in C,K=$1?q0(H3(C.maxWait)||0,l):K,n2="trailing"in C?!!C.trailing:n2);function u2(F0){var e6=P,F6=V;return P=V=t,V1=F0,r1=r.apply(F6,e6),r1}function M2(F0){return V1=F0,h1=o7(W2,l),N1?u2(F0):r1}function I2(F0){var e6=F0-E1,F6=F0-V1,wo=l-e6;return $1?t3(wo,K-F6):wo}function v2(F0){var e6=F0-E1,F6=F0-V1;return E1===t||e6>=l||e6<0||$1&&F6>=K}function W2(){var F0=L8();if(v2(F0))return X2(F0);h1=o7(W2,I2(F0))}function X2(F0){return h1=t,n2&&P?u2(F0):(P=V=t,r1)}function A3(){h1!==t&&ga(h1),V1=0,P=E1=V=h1=t}function s3(){return h1===t?r1:X2(L8())}function z3(){var F0=L8(),e6=v2(F0);if(P=arguments,V=this,E1=F0,e6){if(h1===t)return M2(E1);if($1)return ga(h1),h1=o7(W2,l),u2(E1)}return h1===t&&(h1=o7(W2,l)),r1}return z3.cancel=A3,z3.flush=s3,z3}var Wp=q2(function(r,l){return Xi(r,1,l)}),Kp=q2(function(r,l,C){return Xi(r,H3(l)||0,C)});function Gp(r){return z6(r,B)}function F8(r,l){if(typeof r!="function"||l!=null&&typeof l!="function")throw new F3(c);var C=function(){var P=arguments,V=l?l.apply(this,P):P[0],K=C.cache;if(K.has(V))return K.get(V);var r1=r.apply(this,P);return C.cache=K.set(V,r1)||K,r1};return C.cache=new(F8.Cache||A6),C}F8.Cache=A6;function O8(r){if(typeof r!="function")throw new F3(c);return function(){var l=arguments;switch(l.length){case 0:return!r.call(this);case 1:return!r.call(this,l[0]);case 2:return!r.call(this,l[0],l[1]);case 3:return!r.call(this,l[0],l[1],l[2])}return!r.apply(this,l)}}function Xp(r){return no(2,r)}var Qp=Ph(function(r,l){l=l.length==1&&F2(l[0])?C0(l[0],B3(b2())):C0(J0(l,1),B3(b2()));var C=l.length;return q2(function(P){for(var V=-1,K=t3(P.length,C);++V=l}),k4=ea(function(){return arguments}())?ea:function(r){return k0(r)&&r0.call(r,"callee")&&!Vi.call(r,"callee")},F2=T1.isArray,dg=bi?B3(bi):xh;function p3(r){return r!=null&&P8(r.length)&&!T6(r)}function L0(r){return k0(r)&&p3(r)}function fg(r){return r===!0||r===!1||k0(r)&&o3(r)==l1}var e4=Rf||Qe,hg=Ei?B3(Ei):yh;function mg(r){return k0(r)&&r.nodeType===1&&!r7(r)}function pg(r){if(r==null)return!0;if(p3(r)&&(F2(r)||typeof r=="string"||typeof r.splice=="function"||e4(r)||l5(r)||k4(r)))return!r.length;var l=n3(r);if(l==L1||l==g1)return!r.size;if(a7(r))return!he(r).length;for(var C in r)if(r0.call(r,C))return!1;return!0}function gg(r,l){return t7(r,l)}function vg(r,l,C){C=typeof C=="function"?C:t;var P=C?C(r,l):t;return P===t?t7(r,l,t,C):!!P}function He(r){if(!k0(r))return!1;var l=o3(r);return l==z1||l==M1||typeof r.message=="string"&&typeof r.name=="string"&&!r7(r)}function _g(r){return typeof r=="number"&&qi(r)}function T6(r){if(!R0(r))return!1;var l=o3(r);return l==w1||l==f1||l==i1||l==G}function co(r){return typeof r=="number"&&r==D2(r)}function P8(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=Y}function R0(r){var l=typeof r;return r!=null&&(l=="object"||l=="function")}function k0(r){return r!=null&&typeof r=="object"}var lo=Ci?B3(Ci):Eh;function xg(r,l){return r===l||fe(r,l,ze(l))}function yg(r,l,C){return C=typeof C=="function"?C:t,fe(r,l,ze(l),C)}function bg(r){return uo(r)&&r!=+r}function Eg(r){if(om(r))throw new S2(s);return ta(r)}function Cg(r){return r===null}function Mg(r){return r==null}function uo(r){return typeof r=="number"||k0(r)&&o3(r)==Y1}function r7(r){if(!k0(r)||o3(r)!=C1)return!1;var l=l8(r);if(l===null)return!0;var C=r0.call(l,"constructor")&&l.constructor;return typeof C=="function"&&C instanceof C&&o8.call(C)==yf}var Ve=Mi?B3(Mi):Ch;function Bg(r){return co(r)&&r>=-Y&&r<=Y}var fo=Bi?B3(Bi):Mh;function D8(r){return typeof r=="string"||!F2(r)&&k0(r)&&o3(r)==I1}function w3(r){return typeof r=="symbol"||k0(r)&&o3(r)==J1}var l5=Ri?B3(Ri):Bh;function Rg(r){return r===t}function wg(r){return k0(r)&&n3(r)==d1}function Ag(r){return k0(r)&&o3(r)==B1}var zg=w8(me),Sg=w8(function(r,l){return r<=l});function ho(r){if(!r)return[];if(p3(r))return D8(r)?Q3(r):m3(r);if(K5&&r[K5])return cf(r[K5]());var l=n3(r),C=l==L1?te:l==g1?n8:u5;return C(r)}function L6(r){if(!r)return r===0?r:0;if(r=H3(r),r===$||r===-$){var l=r<0?-1:1;return l*v1}return r===r?r:0}function D2(r){var l=L6(r),C=l%1;return l===l?C?l-C:l:0}function mo(r){return r?w4(D2(r),0,X):0}function H3(r){if(typeof r=="number")return r;if(w3(r))return t1;if(R0(r)){var l=typeof r.valueOf=="function"?r.valueOf():r;r=R0(l)?l+"":l}if(typeof r!="string")return r===0?r:+r;r=Ti(r);var C=e1.test(r);return C||u1.test(r)?jd(r.slice(2),C?2:8):q.test(r)?t1:+r}function po(r){return v6(r,g3(r))}function kg(r){return r?w4(D2(r),-Y,Y):r===0?r:0}function s0(r){return r==null?"":R3(r)}var Tg=r5(function(r,l){if(a7(l)||p3(l)){v6(l,$0(l),r);return}for(var C in l)r0.call(l,C)&&Z5(r,C,l[C])}),go=r5(function(r,l){v6(l,g3(l),r)}),vo=r5(function(r,l,C,P){v6(l,g3(l),r,P)}),Ne=r5(function(r,l,C,P){v6(l,$0(l),r,P)}),Lg=S6(se);function Fg(r,l){var C=o5(r);return l==null?C:Ki(C,l)}var Og=q2(function(r,l){r=v0(r);var C=-1,P=l.length,V=P>2?l[2]:t;for(V&&r3(l[0],l[1],V)&&(P=1);++C1),K}),v6(r,we(r),C),P&&(C=P3(C,h|x|b,Kh));for(var V=l.length;V--;)xe(C,l[V]);return C});function Jg(r,l){return xo(r,O8(b2(l)))}var ev=S6(function(r,l){return r==null?{}:Ah(r,l)});function xo(r,l){if(r==null)return{};var C=C0(we(r),function(P){return[P]});return l=b2(l),ca(r,C,function(P,V){return l(P,V[0])})}function tv(r,l,C){l=Z6(l,r);var P=-1,V=l.length;for(V||(V=1,r=t);++Pl){var P=r;r=l,l=P}if(C||r%1||l%1){var V=Ui();return t3(r+V*(l-r+Ud("1e-"+((V+"").length-1))),l)}return ge(r,l)}var fv=s5(function(r,l,C){return l=l.toLowerCase(),r+(C?Eo(l):l)});function Eo(r){return je(s0(r).toLowerCase())}function Co(r){return r=s0(r),r&&r.replace(H1,nf).replace(Ld,"")}function hv(r,l,C){r=s0(r),l=R3(l);var P=r.length;C=C===t?P:w4(D2(C),0,P);var V=C;return C-=l.length,C>=0&&r.slice(C,V)==l}function mv(r){return r=s0(r),r&&h0.test(r)?r.replace(V2,af):r}function pv(r){return r=s0(r),r&&u0.test(r)?r.replace(G1,"\\$&"):r}var gv=s5(function(r,l,C){return r+(C?"-":"")+l.toLowerCase()}),vv=s5(function(r,l,C){return r+(C?" ":"")+l.toLowerCase()}),_v=Ma("toLowerCase");function xv(r,l,C){r=s0(r),l=D2(l);var P=l?e5(r):0;if(!l||P>=l)return r;var V=(l-P)/2;return R8(h8(V),C)+r+R8(f8(V),C)}function yv(r,l,C){r=s0(r),l=D2(l);var P=l?e5(r):0;return l&&P>>0,C?(r=s0(r),r&&(typeof l=="string"||l!=null&&!Ve(l))&&(l=R3(l),!l&&J4(r))?J6(Q3(r),0,C):r.split(l,C)):[]}var wv=s5(function(r,l,C){return r+(C?" ":"")+je(l)});function Av(r,l,C){return r=s0(r),C=C==null?0:w4(D2(C),0,r.length),l=R3(l),r.slice(C,C+l.length)==l}function zv(r,l,C){var P=U.templateSettings;C&&r3(r,l,C)&&(l=t),r=s0(r),l=Ne({},l,P,ka);var V=Ne({},l.imports,P.imports,ka),K=$0(V),r1=ee(V,K);M3(K,function(v2){if(Q7.test(v2))throw new S2(p)});var h1,E1,V1=0,N1=l.interpolate||l2,$1="__p += '",n2=ne((l.escape||l2).source+"|"+N1.source+"|"+(N1===f3?W:l2).source+"|"+(l.evaluate||l2).source+"|$","g"),u2="//# sourceURL="+(r0.call(l,"sourceURL")?(l.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Id+"]")+` +`;r.replace(n2,function(v2,W2,X2,A3,s3,z3){return X2||(X2=A3),$1+=r.slice(V1,z3).replace(c2,of),W2&&(h1=!0,$1+=`' + +__e(`+W2+`) + +'`),s3&&(E1=!0,$1+=`'; +`+s3+`; +__p += '`),X2&&($1+=`' + +((__t = (`+X2+`)) == null ? '' : __t) + +'`),V1=z3+v2.length,v2}),$1+=`'; +`;var M2=r0.call(l,"variable")&&l.variable;if(!M2)$1=`with (obj) { +`+$1+` +} +`;else if(Q7.test(M2))throw new S2(d);$1=(E1?$1.replace(A1,""):$1).replace(Z1,"$1").replace(r2,"$1;"),$1="function("+(M2||"obj")+`) { +`+(M2?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(h1?", __e = _.escape":"")+(E1?`, __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +`:`; +`)+$1+`return __p +}`;var I2=Bo(function(){return n0(K,u2+"return "+$1).apply(t,r1)});if(I2.source=$1,He(I2))throw I2;return I2}function Sv(r){return s0(r).toLowerCase()}function kv(r){return s0(r).toUpperCase()}function Tv(r,l,C){if(r=s0(r),r&&(C||l===t))return Ti(r);if(!r||!(l=R3(l)))return r;var P=Q3(r),V=Q3(l),K=Li(P,V),r1=Fi(P,V)+1;return J6(P,K,r1).join("")}function Lv(r,l,C){if(r=s0(r),r&&(C||l===t))return r.slice(0,Pi(r)+1);if(!r||!(l=R3(l)))return r;var P=Q3(r),V=Fi(P,Q3(l))+1;return J6(P,0,V).join("")}function Fv(r,l,C){if(r=s0(r),r&&(C||l===t))return r.replace(z0,"");if(!r||!(l=R3(l)))return r;var P=Q3(r),V=Li(P,Q3(l));return J6(P,V).join("")}function Ov(r,l){var C=S,P=_;if(R0(l)){var V="separator"in l?l.separator:V;C="length"in l?D2(l.length):C,P="omission"in l?R3(l.omission):P}r=s0(r);var K=r.length;if(J4(r)){var r1=Q3(r);K=r1.length}if(C>=K)return r;var h1=C-e5(P);if(h1<1)return P;var E1=r1?J6(r1,0,h1).join(""):r.slice(0,h1);if(V===t)return E1+P;if(r1&&(h1+=E1.length-h1),Ve(V)){if(r.slice(h1).search(V)){var V1,N1=E1;for(V.global||(V=ne(V.source,s0(I.exec(V))+"g")),V.lastIndex=0;V1=V.exec(N1);)var $1=V1.index;E1=E1.slice(0,$1===t?h1:$1)}}else if(r.indexOf(R3(V),h1)!=h1){var n2=E1.lastIndexOf(V);n2>-1&&(E1=E1.slice(0,n2))}return E1+P}function Pv(r){return r=s0(r),r&&t0.test(r)?r.replace(x2,ff):r}var Dv=s5(function(r,l,C){return r+(C?" ":"")+l.toUpperCase()}),je=Ma("toUpperCase");function Mo(r,l,C){return r=s0(r),l=C?t:l,l===t?sf(r)?pf(r):Yd(r):r.match(l)||[]}var Bo=q2(function(r,l){try{return C3(r,t,l)}catch(C){return He(C)?C:new S2(C)}}),Iv=S6(function(r,l){return M3(l,function(C){C=Z3(C),p6(r,C,De(r[C],r))}),r});function Hv(r){var l=r==null?0:r.length,C=b2();return r=l?C0(r,function(P){if(typeof P[1]!="function")throw new F3(c);return[C(P[0]),P[1]]}):[],q2(function(P){for(var V=-1;++VY)return[];var C=X,P=t3(r,X);l=b2(l),r-=X;for(var V=J9(P,l);++C0||l<0)?new G2(C):(r<0?C=C.takeRight(-r):r&&(C=C.drop(r)),l!==t&&(l=D2(l),C=l<0?C.dropRight(-l):C.take(l-r)),C)},G2.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},G2.prototype.toArray=function(){return this.take(X)},g6(G2.prototype,function(r,l){var C=/^(?:filter|find|map|reject)|While$/.test(l),P=/^(?:head|last)$/.test(l),V=U[P?"take"+(l=="last"?"Right":""):l],K=P||/^find/.test(l);V&&(U.prototype[l]=function(){var r1=this.__wrapped__,h1=P?[1]:arguments,E1=r1 instanceof G2,V1=h1[0],N1=E1||F2(r1),$1=function(W2){var X2=V.apply(U,K6([W2],h1));return P&&n2?X2[0]:X2};N1&&C&&typeof V1=="function"&&V1.length!=1&&(E1=N1=!1);var n2=this.__chain__,u2=!!this.__actions__.length,M2=K&&!n2,I2=E1&&!u2;if(!K&&N1){r1=I2?r1:new G2(this);var v2=r.apply(r1,h1);return v2.__actions__.push({func:k8,args:[$1],thisArg:t}),new O3(v2,n2)}return M2&&I2?r.apply(this,h1):(v2=this.thru($1),M2?P?v2.value()[0]:v2.value():v2)})}),M3(["pop","push","shift","sort","splice","unshift"],function(r){var l=i8[r],C=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",P=/^(?:pop|shift)$/.test(r);U.prototype[r]=function(){var V=arguments;if(P&&!this.__chain__){var K=this.value();return l.apply(F2(K)?K:[],V)}return this[C](function(r1){return l.apply(F2(r1)?r1:[],V)})}}),g6(G2.prototype,function(r,l){var C=U[l];if(C){var P=C.name+"";r0.call(a5,P)||(a5[P]=[]),a5[P].push({name:l,func:C})}}),a5[M8(t,E).name]=[{name:"wrapper",func:t}],G2.prototype.clone=Df,G2.prototype.reverse=If,G2.prototype.value=Hf,U.prototype.at=mp,U.prototype.chain=pp,U.prototype.commit=gp,U.prototype.next=vp,U.prototype.plant=xp,U.prototype.reverse=yp,U.prototype.toJSON=U.prototype.valueOf=U.prototype.value=bp,U.prototype.first=U.prototype.head,K5&&(U.prototype[K5]=_p),U},t5=gf();C4?((C4.exports=t5)._=t5,$9._=t5):Z0._=t5}).call(w2)})(g9,g9.exports);var Yl=g9.exports;const{title:rM}=Jn,pO=(e,i,t)=>{Zn.set(`${q7.name}:${e}`,i,{expires:t||1})},L5=e=>Zn.get(`${q7.name}:${e}`),k3=e=>Zn.remove(`${q7.name}:${e}`),sM=(e,i)=>{var s;let t={...i,icon:(s=i.meta)==null?void 0:s.icon},a=e.matched;if(a.some(c=>c.name===i.name))return[t];let o=a.filter(c=>c.meta===void 0||!c.meta.hideInBread).map(c=>{let d={...c.meta};return d.title&&typeof d.title=="function"&&(d.__titleIsFunction__=!0,d.title=d.title(e)),{icon:c.meta&&c.meta.icon||"",name:c.name,meta:d}});return o=o.filter(c=>!c.meta.hideInMenu),[{...t,to:i.path},...o]},Zl=e=>{let i={...e},t={...e.meta},a="";return t.title&&(typeof t.title=="function"?(t.__titleIsFunction__=!0,a=t.title(i)):a=t.title),t.title=a,i.meta=t,i},cM=(e,i)=>{let{title:t,__titleIsFunction__:a}=e.meta;if(t)return t=e.meta&&e.meta.title||e.name,t},Tr=e=>{localStorage.tagNaveList=JSON.stringify(e)},lM=()=>{const e=localStorage.tagNaveList;return e?JSON.parse(e):[]},ei=(e,i="home")=>{let t=-1,a=e.length,o={};for(;++t{const{name:t,path:a,meta:o}=i;let s=[...e];return s.findIndex(c=>c.path===a)>=0||s.push({name:t,path:a,meta:o}),s},dM=(e,i)=>{let t={};if(e.length===2)t=ei(e);else{const a=e.findIndex(o=>v9(o,i));a===e.length-1?t=e[e.length-2]:t=e[a+1]}return t},fM=(e,i)=>{let t=-1;for(;++t{const t=e.params||{},a=i.params||{},o=e.query||{},s=i.query||{};return e.name===i.name&&Cn(t,a)&&Cn(o,s)},hM=(e,i)=>{let t=e.length,a=!1;return fM(t,o=>{v9(e[o],i)&&(a=!0)}),a},mM=(e,i)=>{localStorage.setItem(e,i)},pM=e=>localStorage.getItem(e)||"",gM=(e,i)=>{let t=localStorage.getItem("ADMIN_TITLE")||rM;const a=Zl(e),o=cM(a),s=o?`${t} - ${o}`:t;window.document.title=s},vM=(e,i)=>(e.forEach(t=>{let a={};for(let o in t)o!=="children"&&(a[o]=Yl.cloneDeep(t[o]));i.push(a),t.children&&vM(t.children,i)}),i);function Jl(e,i){return function(){return e.apply(i,arguments)}}const{toString:_M}=Object.prototype,{getPrototypeOf:p4}=Object,{iterator:U7,toStringTag:eu}=Symbol,O7=(({hasOwnProperty:e})=>(i,t)=>e.call(i,t))(Object.prototype),tu=e=>typeof e=="string"&&(e==="__proto__"||e==="constructor"||e==="prototype"),nu=(e,i,t)=>e===Object.prototype||!t&&i===null,xM=e=>{if(!Object.isExtensible(e))return!1;const i=Object.getOwnPropertyNames(e);return Object.getOwnPropertySymbols&&i.push(...Object.getOwnPropertySymbols(e)),i.every(t=>{if(tu(t))return!1;const a=Object.getOwnPropertyDescriptor(e,t);return!!a&&a.configurable&&a.writable===!0})},P7=(e,i)=>{let t=e;const a=[];for(;t!=null;){if(a.indexOf(t)!==-1)return!1;a.push(t);const o=p4(t);if(nu(t,o,t===e))return!1;if(O7(t,i))return!0;t=o}return!1},yM=(e,i)=>e!=null&&P7(e,i)?e[i]:void 0,bM=e=>{if(e==null||typeof e!="object"&&typeof e!="function")return e;const i=p4(e);if(i===null&&xM(e))return e;const t=Object.create(null),a=Object.create(null),o=[];let s=e;for(;s!=null&&o.indexOf(s)===-1;){o.push(s);const c=s===e?i:p4(s);if(nu(s,c,s===e))break;const d=Object.getOwnPropertyNames(s);Object.getOwnPropertySymbols&&d.push(...Object.getOwnPropertySymbols(s));for(const p of d)tu(p)||O7(a,p)||(t[p]=e[p],a[p]=!0);s=c}return t},ti=(e=>i=>{const t=_M.call(i);return e[t]||(e[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),K3=e=>(e=e.toLowerCase(),i=>ti(i)===e),F9=e=>i=>typeof i===e,{isArray:q4}=Array,U4=F9("undefined");function V5(e){return e!==null&&!U4(e)&&e.constructor!==null&&!U4(e.constructor)&&E3(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const iu=K3("ArrayBuffer");function EM(e){let i;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?i=ArrayBuffer.isView(e):i=e&&e.buffer&&iu(e.buffer),i}const CM=F9("string"),E3=F9("function"),au=F9("number"),N5=e=>e!==null&&typeof e=="object",MM=e=>e===!0||e===!1,i9=e=>{if(!N5(e))return!1;const i=p4(e);return(i===null||i===Object.prototype||p4(i)===null)&&!P7(e,eu)&&!P7(e,U7)},BM=e=>{if(!N5(e)||V5(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},RM=K3("Date"),wM=K3("File"),AM=e=>!!(e&&typeof e.uri<"u"),zM=e=>e&&typeof e.getParts<"u",SM=K3("Blob"),kM=K3("FileList"),TM=K3("Set"),LM=e=>N5(e)&&E3(e.pipe);function FM(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const Lr=FM(),Fr=typeof Lr.FormData<"u"?Lr.FormData:void 0,OM=e=>{if(!e)return!1;if(Fr&&e instanceof Fr)return!0;const i=p4(e);if(!i||i===Object.prototype||!E3(e.append))return!1;const t=ti(e);return t==="formdata"||t==="object"&&E3(e.toString)&&e.toString()==="[object FormData]"},PM=K3("URLSearchParams"),[DM,IM,HM,VM]=["ReadableStream","Request","Response","Headers"].map(K3),NM=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function j7(e,i,{allOwnKeys:t=!1}={}){if(e===null||typeof e>"u")return;let a,o;if(typeof e!="object"&&(e=[e]),q4(e))for(a=0,o=e.length;a0;)if(o=t[a],i===o.toLowerCase())return o;return null}const D4=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ru=e=>!U4(e)&&e!==D4;function Mn(...e){const{caseless:i,skipUndefined:t}=ru(this)&&this||{},a={},o=(s,c)=>{if(c==="__proto__"||c==="constructor"||c==="prototype")return;const d=i&&typeof c=="string"&&ou(a,c)||c,p=O7(a,d)?a[d]:void 0;i9(p)&&i9(s)?a[d]=Mn(p,s):i9(s)?a[d]=Mn({},s):q4(s)?a[d]=s.slice():(!t||!U4(s))&&(a[d]=s)};for(let s=0,c=e.length;s(j7(i,(o,s)=>{t&&E3(o)?Object.defineProperty(e,s,{__proto__:null,value:Jl(o,t),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,s,{__proto__:null,value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:a}),e),UM=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),jM=(e,i,t,a)=>{e.prototype=Object.create(i.prototype,a),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:i.prototype}),t&&Object.assign(e.prototype,t)},$M=(e,i,t,a)=>{let o,s,c;const d={};if(i=i||{},e==null)return i;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)c=o[s],(!a||a(c,e,i))&&!d[c]&&(i[c]=e[c],d[c]=!0);e=t!==!1&&p4(e)}while(e&&(!t||t(e,i))&&e!==Object.prototype);return i},WM=(e,i,t)=>{e=String(e),(t===void 0||t>e.length)&&(t=e.length),t-=i.length;const a=e.indexOf(i,t);return a!==-1&&a===t},KM=e=>{if(!e)return null;if(q4(e))return e;let i=e.length;if(!au(i))return null;const t=new Array(i);for(;i-- >0;)t[i]=e[i];return t},GM=(e=>i=>e&&i instanceof e)(typeof Uint8Array<"u"&&p4(Uint8Array)),XM=(e,i)=>{const a=(e&&e[U7]).call(e);let o;for(;(o=a.next())&&!o.done;){const s=o.value;i.call(e,s[0],s[1])}},QM=(e,i)=>{let t;const a=[];for(;(t=e.exec(i))!==null;)a.push(t);return a},YM=K3("HTMLFormElement"),ZM=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,a,o){return a.toUpperCase()+o}),{propertyIsEnumerable:JM}=Object.prototype,eB=K3("RegExp"),su=(e,i)=>{const t=Object.getOwnPropertyDescriptors(e),a={};j7(t,(o,s)=>{let c;(c=i(o,s,e))!==!1&&(a[s]=c||o)}),Object.defineProperties(e,a)},tB=e=>{su(e,(i,t)=>{if(E3(e)&&["arguments","caller","callee"].includes(t))return!1;const a=e[t];if(E3(a)){if(i.enumerable=!1,"writable"in i){i.writable=!1;return}i.set||(i.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},nB=(e,i)=>{const t={},a=o=>{o.forEach(s=>{t[s]=!0})};return q4(e)?a(e):a(String(e).split(i)),t},iB=()=>{},aB=(e,i)=>e!=null&&Number.isFinite(e=+e)?e:i;function oB(e){return!!(e&&E3(e.append)&&e[eu]==="FormData"&&e[U7])}const rB=e=>{const i=new WeakSet,t=a=>{if(N5(a)){if(i.has(a))return;if(V5(a))return a;if(!("toJSON"in a)){i.add(a);let o;if(TM(a)){o=[];for(const s of a){const c=t(s);!U4(c)&&o.push(c)}}else o=q4(a)?[]:{},j7(a,(s,c)=>{const d=t(s);!U4(d)&&(o[c]=d)});return i.delete(a),o}}return a};return t(e)},sB=K3("AsyncFunction"),cB=e=>e&&(N5(e)||E3(e))&&E3(e.then)&&E3(e.catch),cu=((e,i)=>e?setImmediate:i?((t,a)=>(D4.addEventListener("message",({source:o,data:s})=>{o===D4&&s===t&&a.length&&a.shift()()},!1),o=>{a.push(o),D4.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))(typeof setImmediate=="function",E3(D4.postMessage)),lB=typeof queueMicrotask<"u"?queueMicrotask.bind(D4):typeof process<"u"&&process.nextTick||cu,lu=e=>e!=null&&E3(e[U7]),uB=e=>e!=null&&P7(e,U7)&&lu(e),p1={isArray:q4,isArrayBuffer:iu,isBuffer:V5,isFormData:OM,isArrayBufferView:EM,isString:CM,isNumber:au,isBoolean:MM,isObject:N5,isPlainObject:i9,isEmptyObject:BM,isReadableStream:DM,isRequest:IM,isResponse:HM,isHeaders:VM,isUndefined:U4,isDate:RM,isFile:wM,isReactNativeBlob:AM,isReactNative:zM,isBlob:SM,isRegExp:eB,isFunction:E3,isStream:LM,isURLSearchParams:PM,isTypedArray:GM,isFileList:kM,forEach:j7,merge:Mn,extend:qM,trim:NM,stripBOM:UM,inherits:jM,toFlatObject:$M,kindOf:ti,kindOfTest:K3,endsWith:WM,toArray:KM,forEachEntry:XM,matchAll:QM,isHTMLForm:YM,hasOwnProperty:O7,hasOwnProp:O7,hasOwnInPrototypeChain:P7,getSafeProp:yM,toSafeFlatObject:bM,reduceDescriptors:su,freezeMethods:tB,toObjectSet:nB,toCamelCase:ZM,noop:iB,toFiniteNumber:aB,findKey:ou,global:D4,isContextDefined:ru,isSpecCompliantForm:oB,toJSONObject:rB,isAsyncFn:sB,isThenable:cB,setImmediate:cu,asap:lB,isIterable:lu,isSafeIterable:uB},dB=p1.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),fB=e=>{const i={};let t,a,o;return e&&e.split(` +`).forEach(function(c){o=c.indexOf(":"),t=c.substring(0,o).trim().toLowerCase(),a=c.substring(o+1).trim();const d=p1.hasOwnProp(i,t);!t||d&&p1.hasOwnProp(dB,t)||(t==="set-cookie"?d?i[t].push(a):i[t]=[a]:i[t]=d?i[t]+", "+a:a)}),i};function hB(e){let i=0,t=e.length;for(;ii;){const a=e.charCodeAt(t-1);if(a!==9&&a!==32)break;t-=1}return i===0&&t===e.length?e:e.slice(i,t)}const mB=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),pB=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function ni(e,i){return p1.isArray(e)?e.map(t=>ni(t,i)):hB(String(e).replace(i,""))}const gB=e=>ni(e,mB),vB=e=>ni(e,pB);function uu(e){const i=Object.create(null);return p1.forEach(e.toJSON(),(t,a)=>{i[a]=vB(t)}),i}const Or=Symbol("internals");function h7(e){return e&&String(e).trim().toLowerCase()}function a9(e){return e===!1||e==null?e:p1.isArray(e)?e.map(a9):gB(String(e))}function _B(e){const i=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let a;for(;a=t.exec(e);)i[a[1]]=a[2];return i}const xB=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function ct(e){let i=0,t=e.length;for(;ii;){const a=e.charCodeAt(t-1);if(a!==9&&a!==32)break;t-=1}return i===0&&t===e.length?e:e.slice(i,t)}function yB(e){const i=e.length-1;if(i<1||e.charCodeAt(0)!==34||e.charCodeAt(i)!==34)return e;let t="";for(let a=1;a=i))return e;t+=e[a]}return t}function bB(e){const i=Object.create(null),t=String(e);let a=0,o=!1,s=!1;function c(d){const p=ct(t.slice(a,d)),f=p.indexOf("=");if(f<1)return;const u=ct(p.slice(0,f));if(!xB.test(u))return;const g=u.toLowerCase();if(g==="__proto__"||g==="constructor"||g==="prototype")return;const h=ct(p.slice(f+1));i[g]=yB(h)}for(let d=0;d/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function lt(e,i,t,a,o){if(p1.isFunction(a))return a.call(this,i,t);if(o&&(i=t),!!p1.isString(i)){if(p1.isString(a))return i.indexOf(a)!==-1;if(p1.isRegExp(a))return a.test(i)}}function CB(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(i,t,a)=>t.toUpperCase()+a)}function MB(e,i){const t=p1.toCamelCase(" "+i);["get","set","has"].forEach(a=>{Object.defineProperty(e,a+t,{__proto__:null,value:function(o,s,c){return this[a].call(this,i,o,s,c)},configurable:!0})})}let a3=class{constructor(i){i&&this.set(i)}set(i,t,a){const o=this;function s(d,p,f){const u=h7(p);if(!u)return;const g=p1.findKey(o,u);(!g||o[g]===void 0||f===!0||f===void 0&&o[g]!==!1)&&(o[g||p]=a9(d))}const c=(d,p)=>p1.forEach(d,(f,u)=>s(f,u,p));if(p1.isPlainObject(i)||i instanceof this.constructor)c(i,t);else if(p1.isString(i)&&(i=i.trim())&&!EB(i))c(fB(i),t);else if(p1.isObject(i)&&p1.isSafeIterable(i)){let d=Object.create(null),p,f;for(const u of i){if(!p1.isArray(u))throw new TypeError("Object iterator must return a key-value pair");f=u[0],p1.hasOwnProp(d,f)?(p=d[f],d[f]=p1.isArray(p)?[...p,u[1]]:[p,u[1]]):d[f]=u[1]}c(d,t)}else i!=null&&s(t,i,a);return this}get(i,t){if(i=h7(i),i){const a=p1.findKey(this,i);if(a){const o=this[a];if(!t)return o;if(t===!0)return _B(o);if(p1.isFunction(t))return t.call(this,o,a);if(p1.isRegExp(t))return t.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(i,t){if(i=h7(i),i){const a=p1.findKey(this,i);return!!(a&&this[a]!==void 0&&(!t||lt(this,this[a],a,t)))}return!1}delete(i,t){const a=this;let o=!1;function s(c){if(c=h7(c),c){const d=p1.findKey(a,c);d&&(!t||lt(a,a[d],d,t))&&(delete a[d],o=!0)}}return p1.isArray(i)?i.forEach(s):s(i),o}clear(i){const t=Object.keys(this);let a=t.length,o=!1;for(;a--;){const s=t[a];(!i||lt(this,this[s],s,i,!0))&&(delete this[s],o=!0)}return o}normalize(i){const t=this,a={};return p1.forEach(this,(o,s)=>{const c=p1.findKey(a,s);if(c){t[c]=a9(o),delete t[s];return}const d=i?CB(s):String(s).trim();d!==s&&delete t[s],t[d]=a9(o),a[d]=!0}),this}concat(...i){return this.constructor.concat(this,...i)}toJSON(i){const t=Object.create(null);return p1.forEach(this,(a,o)=>{a!=null&&a!==!1&&(t[o]=i&&p1.isArray(a)?a.join(", "):a)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([i,t])=>i+": "+t).join(` +`)}getSetCookie(){const i=this.get("set-cookie");return p1.isArray(i)?i:i==null||i===!1?[]:[i]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(i){return i instanceof this?i:new this(i)}static parseParameters(i){return bB(i)}static concat(i,...t){const a=new this(i);return t.forEach(o=>a.set(o)),a}static accessor(i){const a=(this[Or]=this[Or]={accessors:{}}).accessors,o=this.prototype;function s(c){const d=h7(c);a[d]||(MB(o,c),a[d]=!0)}return p1.isArray(i)?i.forEach(s):s(i),this}};a3.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);p1.reduceDescriptors(a3.prototype,({value:e},i)=>{let t=i[0].toUpperCase()+i.slice(1);return{get:()=>e,set(a){this[t]=a}}});p1.freezeMethods(a3);const _9="[REDACTED ****]";function BB(e){if(p1.hasOwnProp(e,"toJSON"))return!0;let i=Object.getPrototypeOf(e);for(;i&&i!==Object.prototype;){if(p1.hasOwnProp(i,"toJSON"))return!0;i=Object.getPrototypeOf(i)}return!1}function RB(e,i){const t=new Set(i.map(s=>String(s).toLowerCase())),a=[],o=s=>{if(s===null||typeof s!="object"||p1.isBuffer(s))return s;if(a.indexOf(s)!==-1)return;s instanceof a3&&(s=s.toJSON()),a.push(s);let c;if(p1.isArray(s))c=[],s.forEach((d,p)=>{const f=o(d);p1.isUndefined(f)||(c[p]=f)});else{if(!p1.isPlainObject(s)&&BB(s))return a.pop(),s;c=Object.create(null);for(const[d,p]of Object.entries(s)){const f=t.has(d.toLowerCase())?_9:o(p);p1.isUndefined(f)||(c[d]=f)}}return a.pop(),c};return o(e)}function Pr(e){try{return String(e)}catch{return""}}function wB(e){return e.errors.map(t=>{try{return t&&t.message?Pr(t.message):Pr(t)}catch{return""}}).filter(Boolean).join("; ")||e.name||"AggregateError"}let e2=class du extends Error{static from(i,t,a,o,s,c){let d=i.message;!d&&p1.isArray(i.errors)&&i.errors.length&&(d=wB(i));const p=new du(d,t||i.code,a,o,s);return Object.defineProperty(p,"cause",{__proto__:null,value:i,writable:!0,enumerable:!1,configurable:!0}),p.name=i.name,i.status!=null&&p.status==null&&(p.status=i.status),c&&Object.assign(p,c),p}constructor(i,t,a,o,s){super(i),Object.defineProperty(this,"message",{__proto__:null,value:i,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),a&&(this.config=a),o&&(this.request=o),s&&(this.response=s,this.status=s.status)}toJSON(){const i=this.config,t=i&&p1.hasOwnProp(i,"redact")?i.redact:void 0,a=p1.isArray(t)&&t.length>0?RB(i,t):p1.toJSONObject(i);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:a,code:this.code,status:this.status}}};e2.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";e2.ERR_BAD_OPTION="ERR_BAD_OPTION";e2.ECONNABORTED="ECONNABORTED";e2.ETIMEDOUT="ETIMEDOUT";e2.ECONNREFUSED="ECONNREFUSED";e2.ERR_NETWORK="ERR_NETWORK";e2.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";e2.ERR_DEPRECATED="ERR_DEPRECATED";e2.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";e2.ERR_BAD_REQUEST="ERR_BAD_REQUEST";e2.ERR_CANCELED="ERR_CANCELED";e2.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";e2.ERR_INVALID_URL="ERR_INVALID_URL";e2.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const AB=null,fu=100;function Bn(e){return p1.isPlainObject(e)||p1.isArray(e)}function hu(e){return p1.endsWith(e,"[]")?e.slice(0,-2):e}function ut(e,i,t){return e?e.concat(i).map(function(o,s){return o=hu(o),!t&&s?"["+o+"]":o}).join(t?".":""):i}function zB(e){return p1.isArray(e)&&!e.some(Bn)}const SB=p1.toFlatObject(p1,{},null,function(i){return/^is[A-Z]/.test(i)});function O9(e,i,t){if(!p1.isObject(e))throw new TypeError("target must be an object");i=i||new FormData;const a=(E,m)=>{const y=p1.getSafeProp(t,E);return p1.isUndefined(y)?m:y},o=a("metaTokens",!0),s=a("visitor")||w,c=a("dots",!1),d=a("indexes",!1),p=a("Blob")||typeof Blob<"u"&&Blob,f=a("maxDepth",fu),u=p&&p1.isSpecCompliantForm(i),g=[];if(!p1.isFunction(s))throw new TypeError("visitor must be a function");function h(E){if(E===null)return"";if(p1.isDate(E))return E.toISOString();if(p1.isBoolean(E))return E.toString();if(!u&&p1.isBlob(E))throw new e2("Blob is not supported. Use a Buffer instead.");if(p1.isArrayBuffer(E)||p1.isTypedArray(E)){if(u&&typeof p=="function")return new p([E]);throw new e2("Blob is not supported. Use a Buffer instead.",e2.ERR_NOT_SUPPORT)}return E}function x(E){if(E>f)throw new e2("Object is too deeply nested ("+E+" levels). Max depth: "+f,e2.ERR_FORM_DATA_DEPTH_EXCEEDED)}function b(E,m){if(f===1/0)return JSON.stringify(E);const y=[];return JSON.stringify(E,function(v,M){if(!p1.isObject(M))return M;for(;y.length&&y[y.length-1]!==this;)y.pop();return y.push(M),x(m+y.length-1),M})}function w(E,m,y){let k=E;if(p1.isReactNative(i)&&p1.isReactNativeBlob(E))return i.append(ut(y,m,c),h(E)),!1;if(E&&!y&&typeof E=="object"){if(p1.endsWith(m,"{}"))m=o?m:m.slice(0,-2),E=b(E,1);else if(p1.isArray(E)&&zB(E)||(p1.isFileList(E)||p1.endsWith(m,"[]"))&&(k=p1.toArray(E)))return m=hu(m),k.forEach(function(M,T){!(p1.isUndefined(M)||M===null)&&i.append(d===!0?ut([m],T,c):d===null?m:m+"[]",h(M))}),!1}return Bn(E)?!0:(i.append(ut(y,m,c),h(E)),!1)}const F=Object.assign(SB,{defaultVisitor:w,convertValue:h,isVisitable:Bn});function z(E,m,y=0){if(!p1.isUndefined(E)){if(x(y),g.indexOf(E)!==-1)throw new Error("Circular reference detected in "+m.join("."));g.push(E),p1.forEach(E,function(v,M){(!(p1.isUndefined(v)||v===null)&&s.call(i,v,p1.isString(M)?M.trim():M,m,F))===!0&&z(v,m?m.concat(M):[M],y+1)}),g.pop()}}if(!p1.isObject(e))throw new TypeError("data must be an object");return z(e),i}function Dr(e){const i={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(a){return i[a]})}function ii(e,i){this._pairs=[],e&&O9(e,this,i)}const mu=ii.prototype;mu.append=function(i,t){this._pairs.push([i,t])};mu.toString=function(i){const t=i?a=>i.call(this,a,Dr):Dr;return this._pairs.map(function(o){return t(o[0])+"="+t(o[1])},"").join("&")};function kB(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function pu(e,i,t){if(!i)return e;e=e||"";const a=p1.isFunction(t)?{serialize:t}:t,o=p1.getSafeProp(a,"encode")||kB,s=p1.getSafeProp(a,"serialize");let c;if(s?c=s(i,a):c=p1.isURLSearchParams(i)?i.toString():new ii(i,a).toString(o),c){const d=e.indexOf("#");d!==-1&&(e=e.slice(0,d)),e+=(e.indexOf("?")===-1?"?":"&")+c}return e}const m7=Symbol("internals");function gu(e){return e?e.length:0}function Ir(e){if(e)for(;e.length&&e[e.length-1]===null;)e.pop()}function p7(e,i){const t=e.handlers,a=gu(t);t!==i.handlersRef?(i.handlersRef=t,i.handlerEntries.clear()):a!==i.handlersLength&&(a?i.handlerEntries.forEach(function(s,c){t[s.index]!==s.handler&&i.handlerEntries.delete(c)}):i.handlerEntries.clear()),i.handlersLength=a}class Hr{constructor(){this.handlers=[],this[m7]={handlersRef:this.handlers,handlersLength:this.handlers.length,handlerEntries:new Map,iterationDepth:0,nextId:0}}use(i,t,a){const o={fulfilled:i,rejected:t,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null},s=this[m7];this.handlers==null&&(this.handlers=[]),p7(this,s);const c=s.nextId++;return this.handlers.push(o),s.handlerEntries.set(c,{handler:o,index:this.handlers.length-1}),s.handlersLength=this.handlers.length,c}eject(i){const t=this[m7];p7(this,t);const a=t.handlerEntries.get(i);if(a){if(t.handlerEntries.delete(i),this.handlers[a.index]!==a.handler)return;this.handlers[a.index]=null,t.iterationDepth||(Ir(this.handlers),t.handlersLength=this.handlers.length)}}clear(){this.handlers&&(this.handlers=[],p7(this,this[m7]))}forEach(i){const t=this[m7];p7(this,t),t.iterationDepth++;try{p1.forEach(this.handlers,function(o){o!==null&&i(o)})}finally{--t.iterationDepth||(p7(this,t),Ir(this.handlers),t.handlersLength=gu(this.handlers))}}}const ai={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},TB=typeof URLSearchParams<"u"?URLSearchParams:ii,LB=typeof FormData<"u"?FormData:null,FB=typeof Blob<"u"?Blob:null,OB={isBrowser:!0,classes:{URLSearchParams:TB,FormData:LB,Blob:FB},protocols:["http","https","file","blob","url","data"]},oi=typeof window<"u"&&typeof document<"u",Rn=typeof navigator=="object"&&navigator||void 0,PB=oi&&(!Rn||["ReactNative","NativeScript","NS"].indexOf(Rn.product)<0),DB=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",IB=oi&&window.location.href||"http://localhost",HB=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:oi,hasStandardBrowserEnv:PB,hasStandardBrowserWebWorkerEnv:DB,navigator:Rn,origin:IB},Symbol.toStringTag,{value:"Module"})),W0={...HB,...OB};function VB(e,i){return O9(e,new W0.classes.URLSearchParams,{visitor:function(t,a,o,s){return W0.isNode&&p1.isBuffer(t)?(this.append(a,t.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...i})}const Vr=fu;function vu(e){if(e>Vr)throw new e2("FormData field is too deeply nested ("+e+" levels). Max depth: "+Vr,e2.ERR_FORM_DATA_DEPTH_EXCEEDED)}function NB(e){const i=[],t=/[^.[\]]+|\[([^.[\]]*)]/g;let a;for(;(a=t.exec(e))!==null;)vu(i.length),i.push(a[0]==="[]"?"":a[1]||a[0]);return i}function qB(e){const i={},t=Object.keys(e);let a;const o=t.length;let s;for(a=0;a=t.length;return c=!c&&p1.isArray(o)?o.length:c,p?(p1.hasOwnProp(o,c)?o[c]=p1.isArray(o[c])?o[c].concat(a):[o[c],a]:o[c]=a,!d):((!p1.hasOwnProp(o,c)||!p1.isObject(o[c]))&&(o[c]=[]),i(t,a,o[c],s)&&p1.isArray(o[c])&&(o[c]=qB(o[c])),!d)}if(p1.isFormData(e)&&p1.isFunction(e.entries)){const t={};return p1.forEachEntry(e,(a,o)=>{i(NB(a),o,t,0)}),t}return null}const xu=Object.freeze(["get","delete","head","options","post","put","patch","purge","link","unlink","query"]),h5=(e,i)=>e!=null&&p1.hasOwnProp(e,i)?e[i]:void 0;function UB(e,i,t){if(p1.isString(e))try{return(i||JSON.parse)(e),p1.trim(e)}catch(a){if(a.name!=="SyntaxError")throw a}return(t||JSON.stringify)(e)}const $7={transitional:ai,adapter:["xhr","http","fetch"],transformRequest:[function(i,t){const a=t.getContentType()||"",o=a.indexOf("application/json")>-1,s=p1.isObject(i);if(s&&p1.isHTMLForm(i)&&(i=new FormData(i)),p1.isFormData(i))return o?JSON.stringify(_u(i)):i;if(p1.isArrayBuffer(i)||p1.isBuffer(i)||p1.isStream(i)||p1.isFile(i)||p1.isBlob(i)||p1.isReadableStream(i))return i;if(p1.isArrayBufferView(i))return i.buffer;if(p1.isURLSearchParams(i))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),i.toString();let d;if(s){const p=h5(this,"formSerializer");if(a.indexOf("application/x-www-form-urlencoded")>-1)return VB(i,p).toString();if((d=p1.isFileList(i))||a.indexOf("multipart/form-data")>-1){const f=h5(this,"env"),u=f&&f.FormData;return O9(d?{"files[]":i}:i,u&&new u,p)}}return s||o?(t.setContentType("application/json",!1),UB(i)):i}],transformResponse:[function(i){const t=h5(this,"transitional")||$7.transitional,a=t&&t.forcedJSONParsing,o=h5(this,"responseType"),s=o==="json";if(p1.isResponse(i)||p1.isReadableStream(i))return i;if(i&&p1.isString(i)&&(a&&!o||s)){const d=!(t&&t.silentJSONParsing)&&s;try{return JSON.parse(i,h5(this,"parseReviver"))}catch(p){if(d)throw p.name==="SyntaxError"?e2.from(p,e2.ERR_BAD_RESPONSE,this,null,h5(this,"response")):p}}return i}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:W0.classes.FormData,Blob:W0.classes.Blob},validateStatus:function(i){return i>=200&&i<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};p1.forEach(xu,e=>{$7.headers[e]={}});function dt(e,i){const t=this||$7,a=i||t,o=a3.from(a.headers);let s=a.data;return p1.forEach(e,function(d){s=d.call(t,s,o.normalize(),i?i.status:void 0)}),o.normalize(),s}function yu(e){return!!(e&&e.__CANCEL__)}let W7=class extends e2{constructor(i,t,a){super(i??"canceled",e2.ERR_CANCELED,t,a),this.name="CanceledError",this.__CANCEL__=!0}};function bu(e,i,t){const a=t.config.validateStatus;!t.status||!a||a(t.status)?e(t):i(new e2("Request failed with status code "+t.status,t.status>=400&&t.status<500?e2.ERR_BAD_REQUEST:e2.ERR_BAD_RESPONSE,t.config,t.request,t))}const jB=/[\t\n\r]/g;function Eu(e){if(typeof e!="string")return e;let i=0;for(;i{t=g,o=null,s&&(clearTimeout(s),s=null),e(...u)};return[(...u)=>{const g=Date.now(),h=g-t;h>=a?c(u,g):(o=u,s||(s=setTimeout(()=>{s=null,c(o)},a-h)))},()=>o&&c(o),(...u)=>c(u)]}const x9=(e,i,t=3)=>{let a=0;const o=$B(50,250);return WB(s=>{if(!s||!p1.isNumber(s.loaded))return;const c=s.loaded,d=s.lengthComputable?s.total:void 0,p=Math.max(0,d!=null?Math.min(c,d):c),f=Math.max(0,p-a),u=o(f);a=Math.max(a,p);const g={loaded:p,total:d,progress:d?p/d:void 0,bytes:f,rate:u||void 0,estimated:u&&d?(d-p)/u:void 0,event:s,lengthComputable:d!=null,[i?"download":"upload"]:!0};e(g)},t)},Nr=(e,i)=>{const t=e!=null;return[a=>i[0]({lengthComputable:t,total:e,loaded:a}),i[1]]},qr=(e,i=p1.asap)=>(...t)=>i(()=>e(...t)),KB=W0.hasStandardBrowserEnv?((e,i)=>t=>(t=new URL(t,W0.origin),e.protocol===t.protocol&&e.host===t.host&&(i||e.port===t.port)))(new URL(W0.origin),W0.navigator&&/(msie|trident)/i.test(W0.navigator.userAgent)):()=>!0,GB=W0.hasStandardBrowserEnv?{write(e,i,t,a,o,s,c){if(typeof document>"u")return;const d=[`${e}=${encodeURIComponent(i)}`];p1.isNumber(t)&&d.push(`expires=${new Date(t).toUTCString()}`),p1.isString(a)&&d.push(`path=${a}`),p1.isString(o)&&d.push(`domain=${o}`),s===!0&&d.push("secure"),p1.isString(c)&&d.push(`SameSite=${c}`),document.cookie=d.join("; ")},read(e){if(typeof document>"u")return null;const i=document.cookie.split(";");for(let t=0;t0&&e.charCodeAt(t-1)===47;)t--;return e.slice(0,t)+"/"+i.replace(/^\/+/,"")}const YB=/^https?:(?!\/\/)/i;function ZB(e){return e&&e.replace(/(^|&)([^=&]*=)?[^&]+/g,(i,t,a="")=>`${t}${a}${_9}`)}function JB(e){const i=e.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${_9}@`),t=i.indexOf("#"),o=(t===-1?i:i.slice(0,t)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${_9}`);return t===-1?o:`${o}#${ZB(i.slice(t+1))}`}function Ur(e,i){if(typeof e=="string"){const t=Eu(e);if(YB.test(t))throw new e2(`Invalid URL ${JSON.stringify(JB(t))}: missing "//" after protocol`,e2.ERR_INVALID_URL,i)}}function Cu(e,i,t,a){Ur(i,a);let o=!XB(i);return e&&(o||t===!1)?(Ur(e,a),QB(e,i)):i}const jr=e=>e instanceof a3?{...e}:e,eR=e=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(e).concat(Object.getOwnPropertySymbols(e).filter(i=>Object.getOwnPropertyDescriptor(e,i).enumerable)):Object.keys(e);function j4(e,i){e=e||{},i=i||{};const t=Object.create(null);Object.defineProperty(t,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function a(u,g,h,x){return p1.isPlainObject(u)&&p1.isPlainObject(g)?p1.merge.call({caseless:x},u,g):p1.isPlainObject(g)?p1.merge({},g):p1.isArray(g)?g.slice():g}function o(u,g,h,x){if(p1.isUndefined(g)){if(!p1.isUndefined(u))return a(void 0,u,h,x)}else return a(u,g,h,x)}function s(u,g){if(!p1.isUndefined(g))return a(void 0,g)}function c(u,g){if(p1.isUndefined(g)){if(!p1.isUndefined(u))return a(void 0,u)}else return a(void 0,g)}function d(u){const g=p1.hasOwnProp(i,"transitional")?i.transitional:void 0;if(!p1.isUndefined(g))if(p1.isPlainObject(g)){if(p1.hasOwnProp(g,u))return g[u]}else return;const h=p1.hasOwnProp(e,"transitional")?e.transitional:void 0;if(p1.isPlainObject(h)&&p1.hasOwnProp(h,u))return h[u]}function p(u,g,h){if(p1.hasOwnProp(i,h))return a(u,g);if(p1.hasOwnProp(e,h))return a(void 0,u)}const f={url:s,method:s,data:s,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutErrorMessage:c,withCredentials:c,withXSRFToken:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,allowedSocketPaths:c,responseEncoding:c,validateStatus:p,headers:(u,g,h)=>o(jr(u),jr(g),h,!0)};return p1.forEach(eR({...e,...i}),function(g){if(g==="__proto__"||g==="constructor"||g==="prototype")return;const h=p1.hasOwnProp(f,g)?f[g]:o,x=p1.hasOwnProp(e,g)?e[g]:void 0,b=p1.hasOwnProp(i,g)?i[g]:void 0,w=h(x,b,g);p1.isUndefined(w)&&h!==p||(t[g]=w)}),p1.hasOwnProp(i,"validateStatus")&&p1.isUndefined(i.validateStatus)&&d("validateStatusUndefinedResolves")===!1&&(p1.hasOwnProp(e,"validateStatus")?t.validateStatus=a(void 0,e.validateStatus):delete t.validateStatus),t}const tR=["content-type","content-length"];function nR(e,i,t){if(t!=="content-only"){e.set(i);return}Object.entries(i||{}).forEach(([a,o])=>{tR.includes(a.toLowerCase())&&e.set(a,o)})}const iR=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(i,t)=>String.fromCharCode(parseInt(t,16)));function Mu(e){const i=j4({},e),t=h=>p1.hasOwnProp(i,h)?i[h]:void 0,a=t("data");let o=t("withXSRFToken");const s=t("xsrfHeaderName"),c=t("xsrfCookieName");let d=t("headers");const p=t("auth"),f=t("baseURL"),u=t("allowAbsoluteUrls"),g=t("url");if(i.headers=d=a3.from(d),i.url=pu(Cu(f,g,u,i),t("params"),t("paramsSerializer")),p){const h=p1.getSafeProp(p,"username")||"",x=p1.getSafeProp(p,"password")||"";try{d.set("Authorization","Basic "+btoa(h+":"+(x?iR(x):"")))}catch(b){throw e2.from(b,e2.ERR_BAD_OPTION_VALUE,e)}}if(p1.isFormData(a)){const h=p1.getSafeProp(a,"getHeaders");W0.hasStandardBrowserEnv||W0.hasStandardBrowserWebWorkerEnv||p1.isReactNative(a)?d.setContentType(void 0):p1.isFunction(h)&&nR(d,h.call(a),t("formDataHeaderPolicy"))}if(W0.hasStandardBrowserEnv&&(p1.isFunction(o)&&(o=o(i)),o===!0||o==null&&KB(i.url))){const x=s&&c&&GB.read(c);x&&d.set(s,x)}return i}const aR=typeof XMLHttpRequest<"u",oR=aR&&function(e){return new Promise(function(t,a){const o=Mu(e);let s=o.data;const c=a3.from(o.headers).normalize();let{responseType:d,onUploadProgress:p,onDownloadProgress:f}=o,u,g,h,x,b,w;function F(){x&&x(),b&&b(),o.cancelToken&&o.cancelToken.unsubscribe(u),o.signal&&o.signal.removeEventListener("abort",u)}let z=new XMLHttpRequest;z.open(o.method.toUpperCase(),o.url,!0),z.timeout=o.timeout;function E(y){if(!z)return;if(z.status===0&&(ft(Eu(o.url))||ft(W0.origin))!=="file"&&!(z.responseURL&&z.responseURL.startsWith("file:"))){a(new e2("Request aborted",e2.ECONNABORTED,e,z)),F(),z=null;return}try{y?w&&w(y):b&&b()}catch(T){setTimeout(()=>{throw T})}if(!z)return;const k=a3.from("getAllResponseHeaders"in z&&z.getAllResponseHeaders()),M={data:!d||d==="text"||d==="json"?z.responseText:z.response,status:z.status,statusText:z.statusText,headers:k,config:e,request:z};bu(function(R){t(R),F()},function(R){a(R),F()},M),z=null}"onloadend"in z?z.onloadend=E:z.onreadystatechange=function(){!z||z.readyState!==4||z.status===0&&!(z.responseURL&&z.responseURL.startsWith("file:"))||setTimeout(E)},z.onabort=function(){z&&(a(new e2("Request aborted",e2.ECONNABORTED,e,z)),F(),z=null)},z.onerror=function(k){const v=k&&k.message?k.message:"Network Error",M=new e2(v,e2.ERR_NETWORK,e,z);M.event=k||null,a(M),F(),z=null},z.ontimeout=function(){let k=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const v=o.transitional||ai;o.timeoutErrorMessage&&(k=o.timeoutErrorMessage),a(new e2(k,v.clarifyTimeoutError?e2.ETIMEDOUT:e2.ECONNABORTED,e,z)),F(),z=null},s===void 0&&c.setContentType(null),"setRequestHeader"in z&&p1.forEach(uu(c),function(k,v){z.setRequestHeader(v,k)}),p1.isUndefined(o.withCredentials)||(z.withCredentials=!!o.withCredentials),d&&d!=="json"&&(z.responseType=o.responseType),f&&([h,b,w]=x9(f,!0),z.addEventListener("progress",h)),p&&z.upload&&([g,x]=x9(p),z.upload.addEventListener("progress",g),z.upload.addEventListener("loadend",x)),(o.cancelToken||o.signal)&&(u=y=>{z&&(a(!y||y.type?new W7(null,e,z):y),z.abort(),F(),z=null)},o.cancelToken&&o.cancelToken.subscribe(u),o.signal&&(o.signal.aborted?u():o.signal.addEventListener("abort",u)));const m=ft(o.url);if(m&&!W0.protocols.includes(m)){a(new e2("Unsupported protocol "+m+":",e2.ERR_BAD_REQUEST,e)),F();return}z.send(s||null)})},rR=(e,i)=>{if(e=e?e.filter(Boolean):[],!i&&!e.length)return;const t=new AbortController;let a=!1;const o=function(p){if(!a){a=!0,c();const f=p instanceof Error?p:this.reason;t.abort(f instanceof e2?f:new W7(f instanceof Error?f.message:f))}};let s=i&&setTimeout(()=>{s=null,o(new e2(`timeout of ${i}ms exceeded`,e2.ETIMEDOUT))},i);const c=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(p=>{p.unsubscribe?p.unsubscribe(o):p.removeEventListener("abort",o)}),e=null)};e.forEach(p=>{if(!a){if(p.aborted){o.call(p);return}p.addEventListener("abort",o,{once:!0})}});const{signal:d}=t;return d.unsubscribe=()=>p1.asap(c),d},sR=function*(e,i){let t=e.byteLength;if(t{const o=cR(e,i);let s=0,c,d=p=>{c||(c=!0,a&&a(p))};return new ReadableStream({async pull(p){try{const{done:f,value:u}=await o.next();if(f){d(),p.close();return}let g=u.byteLength;if(t){let h=s+=g;t(h)}p.enqueue(new Uint8Array(u))}catch(f){throw d(f),f}},cancel(p){return d(p),o.return()}},{highWaterMark:2})},Wr=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,Bu=(e,i,t)=>i+2e<=57?e-48:(e&223)-55,uR=e=>e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===47||e===45||e===95,dR=e=>e===9||e===10||e===12||e===13||e===32,fR=e=>{const i=Math.floor(e/4),t=e%4;return i*3+(t===2?1:t===3?2:0)},hR=e=>{const i=e.length;let t=0;return i>0&&e.charCodeAt(i-1)===61&&(t++,i>1&&e.charCodeAt(i-2)===61&&t++),Math.floor((i-t)*3/4)},mR=e=>{const i=e.length;let t=0,a=0,o=!1;for(let s=0;s0){o=!0;continue}t++}}return o||a>2||a>0&&(t+a)%4!==0||t%4===1?hR(e):fR(t)},pR=(e,i)=>{if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const a=e.slice(5,t),o=e.slice(t+1);if(/;base64/i.test(a))return i(o);let c=0;for(let d=0,p=o.length;d=55296&&f<=56319&&d+1=56320&&u<=57343?(c+=4,d++):c+=3}else c+=3}return c};function gR(e){const i=typeof e=="string"?e.indexOf("#"):-1;return pR(i===-1?e:e.slice(0,i),mR)}const ri="1.20.0",Gr=64*1024,vR={cache:"default",redirect:"follow",referrer:"about:client",referrerPolicy:"",mode:"cors",integrity:"",keepalive:!1,priority:"auto",window:null},{isFunction:q8}=p1,_R=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(i,t)=>String.fromCharCode(parseInt(t,16))),Xr=e=>{if(!p1.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},Qr=(e,...i)=>{try{return!!e(...i)}catch{return!1}},xR=e=>{const i=e.indexOf("://");let t=e;return i!==-1&&(t=t.slice(i+3)),t.includes("@")||t.includes(":")},yR=e=>{const i=p1.global!==void 0&&p1.global!==null?p1.global:globalThis,{ReadableStream:t,TextEncoder:a}=i;e=p1.merge.call({skipUndefined:!0},{Request:i.Request,Response:i.Response},e);const{fetch:o,Request:s,Response:c}=e,d=o?q8(o):typeof fetch=="function",p=q8(s),f=q8(c);if(!d)return!1;const u=d&&q8(t),g=d&&(typeof a=="function"?(z=>E=>z.encode(E))(new a):async z=>new Uint8Array(await new s(z).arrayBuffer())),h=p&&u&&Qr(()=>{let z=!1;const E=new s(W0.origin,{body:new t,method:"POST",get duplex(){return z=!0,"half"}}),m=E.headers.has("Content-Type");return E.body!=null&&E.body.cancel(),z&&!m}),x=f&&u&&Qr(()=>p1.isReadableStream(new c("").body)),b={stream:x&&(z=>z.body)};d&&["text","arrayBuffer","blob","formData","stream"].forEach(z=>{!b[z]&&(b[z]=(E,m)=>{let y=E&&E[z];if(y)return y.call(E);throw new e2(`Response type '${z}' is not supported`,e2.ERR_NOT_SUPPORT,m)})});const w=async z=>{if(z==null)return 0;if(p1.isBlob(z))return z.size;if(p1.isSpecCompliantForm(z))return(await new s(W0.origin,{method:"POST",body:z}).arrayBuffer()).byteLength;if(p1.isArrayBufferView(z)||p1.isArrayBuffer(z))return z.byteLength;if(p1.isURLSearchParams(z)&&(z=z+""),p1.isString(z))return(await g(z)).byteLength},F=async(z,E)=>{const m=p1.toFiniteNumber(z.getContentLength());return m??w(E)};return async z=>{let{url:E,method:m,data:y,signal:k,cancelToken:v,timeout:M,onDownloadProgress:T,onUploadProgress:R,responseType:B,headers:S,withCredentials:_="same-origin",fetchOptions:A,maxContentLength:O,maxBodyLength:D,maxRedirects:H}=Mu(z);const N=p1.isNumber(O)&&O>-1,$=p1.isNumber(D)&&D>-1,Y=j=>p1.hasOwnProp(z,j)?z[j]:void 0;let v1=o||fetch;B=B?(B+"").toLowerCase():"text";let t1=rR([k,v&&v.toAbortSignal()],M),X=null;const o1=t1&&t1.unsubscribe&&(()=>{t1.unsubscribe()});let n1,s1=null;const c1=()=>new e2("Request body larger than maxBodyLength limit",e2.ERR_BAD_REQUEST,z,X);try{let j;const i1=Y("auth");if(i1){const C1=p1.getSafeProp(i1,"username")||"",F1=p1.getSafeProp(i1,"password")||"";j={username:C1,password:F1}}if(xR(E)){const C1=new URL(E,W0.origin);if(!j&&(C1.username||C1.password)){const F1=Xr(C1.username),G=Xr(C1.password);j={username:F1,password:G}}(C1.username||C1.password)&&(C1.username="",C1.password="",E=C1.href)}if(j&&(S.delete("authorization"),S.set("Authorization","Basic "+btoa(_R((j.username||"")+":"+(j.password||""))))),N&&typeof E=="string"&&E.startsWith("data:")&&gR(E)>O)throw new e2("maxContentLength size of "+O+" exceeded",e2.ERR_BAD_RESPONSE,z,X);if($&&m!=="get"&&m!=="head"){const C1=await w(y);if(typeof C1=="number"&&isFinite(C1)&&(n1=C1,C1>D))throw c1()}const l1=$&&(p1.isReadableStream(y)||p1.isStream(y)),m1=(C1,F1,G)=>$r(C1,Gr,J=>{if($&&J>D)throw s1=c1();F1&&F1(J)},G);if(h&&m!=="get"&&m!=="head"&&(R||l1)){if(n1=n1??await F(S,y),n1!==0||l1){let C1=new s(E,{method:"POST",body:y,duplex:"half"}),F1;if(p1.isFormData(y)&&(F1=C1.headers.get("content-type"))&&S.setContentType(F1),C1.body){const[G,J]=R&&Nr(n1,x9(qr(R)))||[];y=m1(C1.body,G,J)}}}else if(l1&&!p&&u&&m!=="get"&&m!=="head")y=m1(y);else if(l1&&p&&!h&&m!=="get"&&m!=="head")throw new e2("Stream request bodies are not supported by the current fetch implementation",e2.ERR_NOT_SUPPORT,z,X);p1.isString(_)||(_=_?"include":"omit");const M1=p&&"credentials"in s.prototype;if(p1.isFormData(y)){const C1=S.getContentType();C1&&/^multipart\/form-data/i.test(C1)&&!/boundary=/i.test(C1)&&S.delete("content-type")}S.set("User-Agent","axios/"+ri,!1);const z1=A==null?A:Object.assign(Object.create(null),A);z1&&(delete z1.body,delete z1.headers,delete z1.method,delete z1.signal,delete z1.duplex,delete z1.credentials);const w1=Object.assign(Object.create(null),z1,{signal:t1,method:m.toUpperCase(),headers:uu(S.normalize()),body:y,duplex:"half",credentials:M1?_:void 0});p&&(p1.forEach(vR,(C1,F1)=>{w1[F1]===void 0&&(w1[F1]=C1)}),w1.signal===void 0&&(w1.signal=null),w1.body===void 0&&(w1.body=null)),H===0&&(w1.redirect="manual",z1&&(z1.redirect="manual")),X=p&&new s(E,w1);let f1=await(p?v1(X,z1):v1(E,w1));const L1=a3.from(f1.headers);if(N){const C1=p1.toFiniteNumber(L1.getContentLength());if(C1!=null&&C1>O)throw new e2("maxContentLength size of "+O+" exceeded",e2.ERR_BAD_RESPONSE,z,X)}const Y1=x&&(B==="stream"||B==="response");if(x&&f1.body&&(T||N||Y1&&o1)){const C1={};["status","statusText","headers"].forEach(J1=>{C1[J1]=f1[J1]});const F1=p1.toFiniteNumber(L1.getContentLength()),[G,J]=T&&Nr(F1,x9(qr(T),!0))||[];let g1=0;const I1=J1=>{if(N&&(g1=J1,g1>O))throw new e2("maxContentLength size of "+O+" exceeded",e2.ERR_BAD_RESPONSE,z,X);G&&G(J1)};f1=new c($r(f1.body,Gr,I1,()=>{J&&J(),o1&&o1()}),C1)}B=B||"text";let W1=await b[p1.findKey(b,B)||"text"](f1,z);if(N&&!x&&!Y1){let C1;if(W1!=null&&(typeof W1.byteLength=="number"?C1=W1.byteLength:typeof W1.size=="number"?C1=W1.size:typeof W1=="string"&&(C1=typeof a=="function"?new a().encode(W1).byteLength:W1.length)),typeof C1=="number"&&C1>O)throw new e2("maxContentLength size of "+O+" exceeded",e2.ERR_BAD_RESPONSE,z,X)}return!Y1&&o1&&o1(),await new Promise((C1,F1)=>{bu(C1,F1,{data:W1,headers:a3.from(f1.headers),status:f1.status,statusText:f1.statusText,config:z,request:X})})}catch(j){if(o1&&o1(),t1&&t1.aborted&&t1.reason instanceof e2){const i1=t1.reason;throw i1.config=z,X&&(i1.request=X),j!==i1&&Object.defineProperty(i1,"cause",{__proto__:null,value:j,writable:!0,enumerable:!1,configurable:!0}),i1}if(s1)throw X&&!s1.request&&(s1.request=X),s1;if(j instanceof e2)throw X&&!j.request&&(j.request=X),j;if(j&&j.name==="TypeError"&&/Load failed|fetch/i.test(j.message)){const i1=new e2("Network Error",e2.ERR_NETWORK,z,X,j&&j.response);throw Object.defineProperty(i1,"cause",{__proto__:null,value:j.cause||j,writable:!0,enumerable:!1,configurable:!0}),i1}throw e2.from(j,j&&j.code,z,X,j&&j.response)}}},bR=new Map,Ru=e=>{let i=e&&e.env||{};const{fetch:t,Request:a,Response:o}=i,s=[a,o,t];let c=s.length,d=c,p,f,u=bR;for(;d--;)p=s[d],f=u.get(p),f===void 0&&u.set(p,f=d?new Map:yR(i)),u=f;return f};Ru();const si={http:AB,xhr:oR,fetch:{get:Ru}};p1.forEach(si,(e,i)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:i})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:i})}});const Yr=e=>`- ${e}`,ER=e=>p1.isFunction(e)||e===null||e===!1;function CR(e,i){e=p1.isArray(e)?e:[e];const{length:t}=e;let a,o;const s={};for(let c=0;c`adapter ${p} `+(f===!1?"is not supported by the environment":"is not available in the build"));let d=t?c.length>1?`since : +`+c.map(Yr).join(` +`):" "+Yr(c[0]):"as no adapter specified";throw new e2("There is no suitable adapter to dispatch the request "+d,e2.ERR_NOT_SUPPORT)}return o}const wu={getAdapter:CR,adapters:si};function ht(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new W7(null,e)}function mt(e){const i=p1.toSafeFlatObject(e);return ht(i),i.headers=a3.from(p1.getSafeProp(i,"headers")),i.data=dt.call(i,i.transformRequest),["post","put","patch"].indexOf(i.method)!==-1&&i.headers.setContentType("application/x-www-form-urlencoded",!1),wu.getAdapter(i.adapter||$7.adapter,i)(i).then(function(o){ht(i),i.response=o;try{o.data=dt.call(i,i.transformResponse,o)}finally{delete i.response}return o.headers=a3.from(o.headers),o},function(o){if(!yu(o)&&(ht(i),o&&o.response)){i.response=o.response;try{o.response.data=dt.call(i,i.transformResponse,o.response)}finally{delete i.response}o.response.headers=a3.from(o.response.headers)}return Promise.reject(o)})}const P9={};["object","boolean","number","function","string","symbol"].forEach((e,i)=>{P9[e]=function(a){return typeof a===e||"a"+(i<1?"n ":" ")+e}});const Zr={};P9.transitional=function(i,t,a){function o(s,c){return"[Axios v"+ri+"] Transitional option '"+s+"'"+c+(a?". "+a:"")}return(s,c,d)=>{if(i===!1)throw new e2(o(c," has been removed"+(t?" in "+t:"")),e2.ERR_DEPRECATED);return t&&!Zr[c]&&(Zr[c]=!0,console.warn(o(c," has been deprecated since v"+t+" and will be removed in the near future"))),i?i(s,c,d):!0}};P9.spelling=function(i){return(t,a)=>(console.warn(`${a} is likely a misspelling of ${i}`),!0)};function MR(e,i,t){if(typeof e!="object"||e===null)throw new e2("options must be an object",e2.ERR_BAD_OPTION_VALUE);const a=Object.keys(e);let o=a.length;for(;o-- >0;){const s=a[o],c=Object.prototype.hasOwnProperty.call(i,s)?i[s]:void 0;if(c){const d=e[s],p=d===void 0||c(d,s,e);if(p!==!0)throw new e2("option "+s+" must be "+p,e2.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new e2("Unknown option "+s,e2.ERR_BAD_OPTION)}}const o9={assertOptions:MR,validators:P9},i3=o9.validators;let I4=class{constructor(i){this.defaults=i||{},this.interceptors={request:new Hr,response:new Hr}}async request(i,t){try{return await this._request(i,t)}catch(a){if(a instanceof Error)try{let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const s=o.stack;let c="";if(typeof s=="string"){const d=s.indexOf(` +`);c=d===-1?"":s.slice(d+1)}if(!a.stack)a.stack=c;else if(c){const d=c.indexOf(` +`),p=d===-1?-1:c.indexOf(` +`,d+1),f=p===-1?"":c.slice(p+1);String(a.stack).endsWith(f)||(a.stack+=` +`+c)}}catch{}throw a}}_request(i,t){typeof i=="string"?(t=t||{},t.url=i):t=i||{},t=j4(this.defaults,t);const{transitional:a,paramsSerializer:o,headers:s}=t;a!==void 0&&o9.assertOptions(a,{silentJSONParsing:i3.transitional(i3.boolean),forcedJSONParsing:i3.transitional(i3.boolean),clarifyTimeoutError:i3.transitional(i3.boolean),legacyInterceptorReqResOrdering:i3.transitional(i3.boolean),advertiseZstdAcceptEncoding:i3.transitional(i3.boolean),validateStatusUndefinedResolves:i3.transitional(i3.boolean)},!1),o!=null&&(p1.isFunction(o)?t.paramsSerializer={serialize:o}:o9.assertOptions(o,{encode:i3.function,serialize:i3.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),o9.assertOptions(t,{baseUrl:i3.spelling("baseURL"),withXsrfToken:i3.spelling("withXSRFToken")},!0),t.method=(p1.getSafeProp(t,"method")||p1.getSafeProp(this.defaults,"method")||"get").toLowerCase();let c=s&&p1.merge(s.common,s[t.method]);s&&p1.forEach(xu.concat("common"),b=>{delete s[b]}),t.headers=a3.concat(c,s);const d=[];let p=!0;this.interceptors.request.forEach(function(w){if(typeof w.runWhen=="function"&&w.runWhen(t)===!1)return;p=p&&w.synchronous;const F=t.transitional||ai;F&&F.legacyInterceptorReqResOrdering?d.unshift(w.fulfilled,w.rejected):d.push(w.fulfilled,w.rejected)});const f=[];this.interceptors.response.forEach(function(w){f.push(w.fulfilled,w.rejected)});let u,g=0,h;if(!p){const b=[mt.bind(this),void 0];for(b.unshift(...d),b.push(...f),h=b.length,u=Promise.resolve(t);gmt.call(this,x)))}catch(z){u=Promise.reject(z)}break}}if(!u)try{u=mt.call(this,x)}catch(b){u=Promise.reject(b)}for(g=0,h=f.length;g{if(!a._listeners)return;let s=a._listeners.length;for(;s-- >0;)a._listeners[s](o);a._listeners=null}),this.promise.then=o=>{let s;const c=new Promise(d=>{a.subscribe(d),s=d}).then(o);return c.cancel=function(){a.unsubscribe(s)},c},i(function(s,c,d){a.reason||(a.reason=new W7(s,c,d),t(a.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(i){if(this.reason){i(this.reason);return}this._listeners?this._listeners.push(i):this._listeners=[i]}unsubscribe(i){if(!this._listeners)return;const t=this._listeners.indexOf(i);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){const i=new AbortController,t=a=>{i.abort(a)};return this.subscribe(t),i.signal.unsubscribe=()=>this.unsubscribe(t),i.signal}static source(){let i;return{token:new Au(function(o){i=o}),cancel:i}}};function RR(e){return function(t){return e.apply(null,t)}}function wR(e){return p1.isObject(e)&&e.isAxiosError===!0}const r9={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,ContentTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,UnprocessableContent:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(r9).forEach(([e,i])=>{r9[i]===void 0&&(r9[i]=e)});function zu(e){const i=new I4(e),t=Jl(I4.prototype.request,i);return p1.extend(t,I4.prototype,i,{allOwnKeys:!0}),p1.extend(t,i,null,{allOwnKeys:!0}),t.create=function(o){return zu(j4(e,o))},t}const p0=zu($7);p0.Axios=I4;p0.CanceledError=W7;p0.CancelToken=BR;p0.isCancel=yu;p0.VERSION=ri;p0.toFormData=O9;p0.AxiosError=e2;p0.Cancel=p0.CanceledError;p0.all=function(i){return Promise.all(i)};p0.spread=RR;p0.isAxiosError=wR;p0.mergeConfig=j4;p0.AxiosHeaders=a3;p0.formToJSON=e=>_u(p1.isHTMLForm(e)?new FormData(e):e);p0.getAdapter=wu.getAdapter;p0.HttpStatusCode=r9;p0.default=p0;const{Axios:xO,AxiosError:yO,CanceledError:bO,isCancel:EO,CancelToken:CO,VERSION:MO,all:BO,Cancel:RO,isAxiosError:wO,spread:AO,toFormData:zO,AxiosHeaders:SO,HttpStatusCode:kO,formToJSON:TO,getAdapter:LO,mergeConfig:FO,create:OO}=p0,S1=p0.create({baseURL:O2.apiBaseURL,timeout:1e5});p0.defaults.withCredentials=!0;let pt=!1;function Jr(){if(pt||(localStorage.clear(),k3("token"),k3("expires_time"),k3("uuid"),M6.currentRoute.value.name==="login"))return;pt=!0;const e={name:"login"},i=()=>window.location.replace(M6.resolve(e).href);M6.replace(e).then(()=>{M6.currentRoute.value.name!=="login"&&i()}).catch(i).finally(()=>{pt=!1})}S1.interceptors.request.use(e=>{e.file&&(e.headers["Content-Type"]="multipart/form-data");const i=L5("token"),t=L5("kefu_token");return(i||t)&&(e.headers["Authori-zation"]=e.kefu?"Bearer "+t:"Bearer "+i),e},e=>Promise.reject(e));S1.interceptors.response.use(e=>{let i={};switch(e.data&&(typeof e.data=="string"?i=JSON.parse(e.data):i=e.data),e.data?i.status:0){case 200:return i;case 401:return Jr(),Promise.reject({...i,msg:i.msg||"未登录"});case 402:return k3("kefuInfo"),k3("kefu_token"),k3("kefu_expires_time"),k3("kefu_uuid"),M6.replace({path:O2.routePre+"/kefu"}).catch(()=>{}),Promise.reject({msg:"未登录"});case 403:return M6.replace({name:"system_file_opendir_login"}).catch(()=>{}),Promise.reject({msg:"没有权限"});default:return Promise.reject(i||{msg:"未知错误"})}},e=>{var i,t,a,o;return((i=e.response)==null?void 0:i.status)===401?(Jr(),Promise.reject({...e.response.data,msg:((t=e.response.data)==null?void 0:t.msg)||"未登录"})):(p2.error(((o=(a=e.response)==null?void 0:a.data)==null?void 0:o.msg)||e.msg||e.message||"网络请求失败"),Promise.reject(e))});const wn=g4("user",()=>{const e=P1(""),i=P1(""),t=P1(""),a=P1(""),o=P1(!1),s=P1(0),c=P1([]),d=P1([]),p=P1([]),f=P1({}),u=A2(()=>c.value.length),g=A2(()=>d.value.length),h=A2(()=>p.value.length);function x(R){t.value=R}function b(R){i.value=R}function w(R){e.value=R}function F(R){a.value=R}function z(R){o.value=R}function E(R){s.value=R}function m(R){c.value=R}function y(R){d.value=R}function k(R){p.value=R}function v({msg_id:R,content:B}){f.value[R]=B}function M({from:R,to:B,msg_id:S}){const _={messageUnreadList:c,messageReadedList:d,messageTrashList:p},A=_[R].value.findIndex(D=>D.msg_id===S),O=_[R].value.splice(A,1)[0];O.loading=!1,_[B].value.unshift(O)}function T(){}return{userName:e,userId:i,avatarImgPath:t,access:a,hasGetInfo:o,unreadCount:s,messageUnreadList:c,messageReadedList:d,messageTrashList:p,messageContentStore:f,messageUnreadCount:u,messageReadedCount:g,messageTrashCount:h,setAvatar:x,setUserId:b,setUserName:w,setAccess:F,setHasGetInfo:z,setMessageCount:E,setMessageUnreadList:m,setMessageReadedList:y,setMessageTrashList:k,updateMessageContentStore:v,moveMsg:M,getUnreadMessageCount:T}},{persist:!0}),{homeName:AR}=Jn,zR=g4("app",()=>{const e=P1([]),i=P1([]),t=P1({}),a=P1(pM("local")),o=P1([]),s=P1(""),c=P1(!1),d=A2(()=>o.value.length),p=y=>{const k=dM(i.value,y);i.value=i.value.filter(v=>!v9(v,y)),M6.push(k)};function f(y){e.value=sM(y,t.value)}function u(y){s.value=y}function g(y){t.value=ei(y,AR)}function h(y){let k=[];y?k=[...y]:k=lM()||[],i.value=k,Tr([...k])}function x(y){let k=i.value.filter(v=>v9(v,y));y=k[0]?k[0]:null,y&&p(y)}function b({route:y,type:k="unshift"}){let v=Zl(y),M=i.value.findIndex(T=>T.path===y.path);if(!hM(i.value,v)){if(k==="push")if(M<1)i.value.push(v);else return;Tr([...i.value])}}function w(y){mM("local",y),a.value=y}function F(y){o.value.push(y)}function z(y=!0){c.value=y}function E(){i.value=[]}function m(y){window.location.href.includes("error_logger_page")||z(!1);const{token:k,userId:v,userName:M}=wn();({...y})}return{breadCrumbList:e,tagNavList:i,homeRoute:t,local:a,errorList:o,adminTitle:s,hasReadErrorPage:c,errorCount:d,setBreadCrumb:f,setAdminTitle:u,setHomeRoute:g,setTagNavList:h,closeTag:x,addTag:b,setLocal:w,addError:F,setHasReadErrorLoggerStatus:z,clearAll:E,addErrorLog:m}},{persist:!0}),D0=Object.assign({name:"layout"},{__name:"index",setup(e){const i=s7(()=>Q(()=>import("./defaults-3EyKQ7rz.js"),__vite__mapDeps([90,1,2,91,92,93,94,95,96,97,98,99,4,5,6,7,8,100]))),t=s7(()=>Q(()=>import("./classic-DBkTXhBw.js"),__vite__mapDeps([101,1,2,91,92,93,94,95,96,97,98,99,4,5,6,7,8,100]))),a=s7(()=>Q(()=>import("./transverse--S0pPBPX.js"),__vite__mapDeps([102,1,2,92,93,94,95,97,98,99,4,5,6,7,8,100]))),o=s7(()=>Q(()=>import("./columns-vNuT95U_.js"),__vite__mapDeps([103,1,2,91,92,93,94,95,96,97,98,99,4,5,6,7,8,100,104]))),s=s7(()=>Q(()=>import("./main-D8Bhuck4.js"),__vite__mapDeps([97,1,2,98,99,4,5,6,7,8,100]))),c=A9(),d=zR(),p=L9(),f=P1(!1),u=A2(()=>p.themeConfig),g=A2(()=>d.tagNavList);l6(()=>c.fullPath,()=>{const x=c;f.value=c.meta.fullScreen;const{name:b,query:w,params:F,meta:z,path:E}=x;d.addTag({route:{name:b,query:w,params:F,meta:z,path:E},type:"push"}),d.setBreadCrumb(x),d.setTagNavList(uM(g.value,x))}),f.value=c.meta.fullScreen,h(),window.addEventListener("resize",h);function h(){M0.get("oldLayout")||M0.set("oldLayout",p.themeConfig.layout);const x=document.body.clientWidth;x<1e3?(p.themeConfig.isCollapse=!1,E6.emit("layoutMobileResize",{layout:"defaults",clientWidth:x})):E6.emit("layoutMobileResize",{layout:M0.get("oldLayout")?M0.get("oldLayout"):p.themeConfig.layout,clientWidth:x})}return V7(()=>{window.removeEventListener("resize",h)}),(x,b)=>f.value?(K1(),U2(y3(s),{key:0})):u.value.layout==="defaults"?(K1(),U2(y3(i),{key:1})):u.value.layout==="classic"?(K1(),U2(y3(t),{key:2})):u.value.layout==="transverse"?(K1(),U2(y3(a),{key:3})):u.value.layout==="columns"?(K1(),U2(y3(o),{key:4})):H2("",!0)}}),d2=Object.freeze(Object.defineProperty({__proto__:null,default:D0},Symbol.toStringTag,{value:"Module"})),E5=O2.routePre,Su="kefu_",An={auth:!0,kefu:!0},m5=(e,i,t,a={})=>({path:E5+e,name:`${Su}${a.name||e.replace(/[^a-zA-Z0-9]+/g,"_")}`,meta:{...An,title:i,...a.meta},component:t}),g7=(e,i,t,a={})=>({path:e,meta:{...An,title:i,...a.meta},component:D0,children:[{path:"",name:`${Su}${a.name||e.replace(/[^a-zA-Z0-9]+/g,"_")}`,component:t,meta:{...An,title:i,...a.meta}}]}),SR=[m5("/kefu","客服管理",()=>Q(()=>import("./index-DmKKZdQu.js"),__vite__mapDeps([105,1,2,106,4,5,6,7,8,107,108,109])),{name:"index"}),m5("/kefu/mobile_list","消息列表",()=>Q(()=>import("./chat_list-D23HiL_U.js"),__vite__mapDeps([110,1,2,111,108,106,4,5,6,7,8,112,113,107,114])),{name:"mobile_list"}),m5("/kefu/mobile_chat","对话详情",()=>Q(()=>import("./index-DW3dfjpg.js"),__vite__mapDeps([115,1,2,111,116,117,106,4,5,6,7,8,108,118,119])),{name:"mobile_chat"}),m5("/kefu/pc_list","客服",()=>Q(()=>import("./index-Cv0BAQrw.js"),__vite__mapDeps([120,1,2,107,106,4,5,6,7,8,108,112,113,118,121])),{name:"pc_list"}),m5("/kefu/user/index/:uid?/:type?","客户信息",()=>Q(()=>import("./index-Mdy8aLlk.js"),__vite__mapDeps([122,1,2,106,4,5,6,7,8,123])),{name:"user-index"}),m5("/kefu/appChat","客服",()=>Q(()=>import("./index-DRfwWi2b.js"),__vite__mapDeps([124,1,2,118,125,108,106,4,5,6,7,8,126])),{name:"app-chat"}),g7(E5+"/setting/store_service/index","客服管理",()=>Q(()=>import("./index-BxlYWKs6.js"),__vite__mapDeps([127,1,2,128,93,4,5,6,7,8,129])),{name:"service",meta:{auth:["setting-store-service"]}}),g7(E5+"/setting/store_service/speechcraft","客服话术",()=>Q(()=>import("./speechcraft-Dc7VIty2.js"),__vite__mapDeps([130,1,2,4,5,6,7,8,131])),{name:"speechcraft",meta:{auth:["admin-setting-store_service-speechcraft"]}}),g7(E5+"/setting/store_service/feedback","用户留言",()=>Q(()=>import("./feedback-CsdA5MJQ.js"),__vite__mapDeps([132,1,2,4,5,6,7,8])),{name:"feedback",meta:{auth:["admin-setting-store_service-feedback"]}}),g7(E5+"/setting/store_service/auto_reply","自动回复",()=>Q(()=>import("./autoReply-BXyvByB7.js"),__vite__mapDeps([133,1,2,47,4,5,6,7,8,134])),{name:"auto_reply",meta:{auth:["admin-setting-store_service-auto_reply"]}}),g7(E5+"/setting/store_service/config","客服配置",()=>Q(()=>import("./config-JfvM_Q2I.js"),__vite__mapDeps([135,1,2,23,24,25,26,27,28,47,4,5,6,7,8])),{name:"service_config",meta:{auth:["admin-setting-store_service-config"]}})],kR=Object.freeze(Object.defineProperty({__proto__:null,default:SR},Symbol.toStringTag,{value:"Module"})),gt=O2.routePre,v7="lottery_",TR=[{path:gt+"/marketing/lottery",component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"list",section:"lottery",action:"list",name:`${v7}list`,meta:{auth:["admin-marketing-lottery-list"],title:"抽奖列表"},component:()=>Q(()=>import("./lotteryList-C_iyDvLw.js"),__vite__mapDeps([136,1,2,137,4,5,6,7,8,138]))},{path:"config",section:"lottery",action:"config",name:`${v7}config`,meta:{auth:["admin-marketing-lottery-config"],title:"抽奖配置"},component:()=>Q(()=>import("./config-yQbilv3l.js"),__vite__mapDeps([139,1,2,137,4,5,6,7,8,140]))},{path:"index",name:`${v7}index`,meta:{auth:!0,title:"抽奖列表"},component:()=>Q(()=>import("./index-DDVpj_Vx.js"),__vite__mapDeps([141,1,2,137,4,5,6,7,8,142]))},{path:"create",name:`${v7}create`,meta:{auth:!0,title:"创建抽奖",activeMenu:gt+"/marketing/lottery/list"},component:()=>Q(()=>import("./create-C0WQAxxM.js"),__vite__mapDeps([143,1,2,144,145,49,4,5,6,7,8,146,71,11,18,19,20,137,23,24,25,26,27,28,12,147,148]))},{path:"recording_list",name:`${v7}recording_list`,meta:{auth:!0,title:"抽奖记录",activeMenu:gt+"/marketing/lottery/list"},component:()=>Q(()=>import("./recordingList-D6Hyfv0q.js"),__vite__mapDeps([149,1,2,137,4,5,6,7,8,150,151]))}]}],LR=Object.freeze(Object.defineProperty({__proto__:null,default:TR},Symbol.toStringTag,{value:"Module"})),O4=O2.routePre,_7="product_",FR=[{path:O4+"/product/normal/list",meta:{auth:["admin-normal-product-list"],title:"商品管理",keepAlive:!0},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${_7}normalProductList`,section:"product",action:"list",component:()=>Q(()=>import("./App-DL5-CEn5.js"),__vite__mapDeps([152,1,2,44,45,69,70,71,11,72,73,153,13,4,5,6,7,8,14,15,78,77,79,21,22,18,19,20,49,154,23,24,25,26,27,28,147,155,156,12,54,55,56,157])),props:{section:"product",action:"list"},meta:{auth:["admin-normal-product-list"],title:"商品管理",keepAlive:!0}}]},{path:O4+"/product/normal/add/:id?",meta:{auth:["admin-normal-product-add"],title:"实物商品添加"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${_7}normalProductAdd`,section:"product",action:"add",component:()=>Q(()=>import("./App-DL5-CEn5.js"),__vite__mapDeps([152,1,2,44,45,69,70,71,11,72,73,153,13,4,5,6,7,8,14,15,78,77,79,21,22,18,19,20,49,154,23,24,25,26,27,28,147,155,156,12,54,55,56,157])),props:e=>({section:"product",action:"add",params:{id:e.params.id?parseInt(e.params.id):0}}),meta:{auth:["admin-normal-product-add"],title:"实物商品添加",activeMenu:O4+"/product/normal/list"}}]},{path:O4+"/product/normal/statistics",meta:{auth:["admin-normal-statistics"],title:"商品统计"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${_7}normalStatistics`,section:"statistic",action:"index",component:()=>Q(()=>import("./App-DL5-CEn5.js"),__vite__mapDeps([152,1,2,44,45,69,70,71,11,72,73,153,13,4,5,6,7,8,14,15,78,77,79,21,22,18,19,20,49,154,23,24,25,26,27,28,147,155,156,12,54,55,56,157])),props:{section:"statistic",action:"index"},meta:{auth:["admin-normal-statistics"],title:"商品统计"}}]},{path:O4+"/product/normal/order/list",meta:{auth:["admin-normal-order-list"],title:"实物订单"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${_7}normalOrderList`,section:"order",action:"list",component:()=>Q(()=>import("./App-DL5-CEn5.js"),__vite__mapDeps([152,1,2,44,45,69,70,71,11,72,73,153,13,4,5,6,7,8,14,15,78,77,79,21,22,18,19,20,49,154,23,24,25,26,27,28,147,155,156,12,54,55,56,157])),props:{section:"order",action:"list"},meta:{auth:["admin-normal-order-list"],title:"实物订单"}}]},{path:O4+"/product/normal/order/detail/:orderNo",meta:{auth:["admin-normal-order-list"],title:"订单详情"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${_7}normalOrderDetail`,section:"order",action:"detail",component:()=>Q(()=>import("./App-DL5-CEn5.js"),__vite__mapDeps([152,1,2,44,45,69,70,71,11,72,73,153,13,4,5,6,7,8,14,15,78,77,79,21,22,18,19,20,49,154,23,24,25,26,27,28,147,155,156,12,54,55,56,157])),props:e=>({section:"order",action:"detail",params:{orderNo:e.params.orderNo}}),meta:{auth:["admin-normal-order-list"],title:"订单详情",activeMenu:O4+"/product/normal/order/list"}}]}],OR=Object.freeze(Object.defineProperty({__proto__:null,default:FR},Symbol.toStringTag,{value:"Module"})),es=O2.routePre,ts="setting_",PR=[{path:es+"/setting/system_out_account/index",meta:{auth:["setting-system-out-account-index"],title:"账号列表"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${ts}systemOutAccount`,component:()=>Q(()=>import("./index-ocZyRr8G.js"),__vite__mapDeps([158,1,2,159,4,5,6,7,8,160])),meta:{auth:["setting-system-out-account-index"],title:"账号列表"}}]},{path:es+"/setting/system_out_interface/index",meta:{auth:["setting-system-out-interface-index"],title:"接口文档"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${ts}systemInterface`,component:()=>Q(()=>import("./index-B-GLxux4.js"),__vite__mapDeps([161,1,2,159,4,5,6,7,8,162,163])),meta:{auth:["setting-system-out-interface-index"],title:"接口文档"}}]}],DR=Object.freeze(Object.defineProperty({__proto__:null,default:PR},Symbol.toStringTag,{value:"Module"})),n6=O2.routePre,I6="seckill_",IR=[{path:n6+"/marketing/seckill/activity",section:"seckill",action:"activity",meta:{auth:["marketing-seckill-activity"],title:"秒杀活动"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${I6}activity`,component:()=>Q(()=>import("./index-TH3O1Dk5.js"),__vite__mapDeps([164,1,2,165,4,5,6,7,8,166])),meta:{auth:["marketing-seckill-activity"],title:"秒杀活动"}}]},{path:n6+"/marketing/seckill/activity/create/:id?",section:"seckill",action:"activity_create",meta:{auth:["marketing-seckill-save"],title:"添加/编辑秒杀活动"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${I6}activityCreate`,component:()=>Q(()=>import("./create-Do0womH6.js"),__vite__mapDeps([167,1,2,18,19,4,5,6,7,8,20,165,21,22,29,30,168])),meta:{auth:["marketing-seckill-save"],title:"添加/编辑秒杀活动",activeMenu:n6+"/marketing/seckill/activity"}}]},{path:n6+"/marketing/seckill/product",section:"seckill",action:"product",meta:{auth:["marketing-seckill-product"],title:"秒杀商品"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${I6}product`,component:()=>Q(()=>import("./index-BTDA8QGr.js"),__vite__mapDeps([169,1,2,165,4,5,6,7,8,12,14,15,170])),meta:{auth:["marketing-seckill-product"],title:"秒杀商品"}}]},{path:n6+"/marketing/seckill/product/create/:id?/:copy?",section:"seckill",action:"product_create",meta:{auth:["marketing-seckill-save"],title:"添加/编辑秒杀商品"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${I6}productCreate`,component:()=>Q(()=>import("./create-2r2vtRUT.js"),__vite__mapDeps([171,1,2,18,19,4,5,6,7,8,20,23,24,25,26,27,28,165,21,22,29,30,172])),meta:{auth:["marketing-seckill-save"],title:"添加/编辑秒杀商品",activeMenu:n6+"/marketing/seckill/product"}}]},{path:n6+"/marketing/seckill/statistics/:id",section:"seckill",action:"statistics",meta:{auth:["marketing-seckill-statistics"],title:"秒杀统计"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${I6}statistics`,component:()=>Q(()=>import("./index-DfEeeLUn.js"),__vite__mapDeps([173,1,2,35,36,165,4,5,6,7,8,174])),meta:{auth:["marketing-seckill-statistics"],title:"秒杀统计"}}]},{path:n6+"/marketing/seckill/config",section:"seckill",action:"config",meta:{auth:["marketing-seckill-config"],title:"秒杀配置"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${I6}config`,component:()=>Q(()=>import("./index-CDtR_H-e.js"),__vite__mapDeps([175,1,2,165,4,5,6,7,8,176])),meta:{auth:["marketing-seckill-config"],title:"秒杀配置"}}]},{path:n6+"/marketing/store_seckill/index",section:"seckill",action:"product",name:`${I6}legacyIndex`,meta:{title:"秒杀商品"}},{path:n6+"/marketing/store_seckill/list",section:"seckill",action:"activity",name:`${I6}legacyList`,meta:{title:"秒杀活动"}},{path:n6+"/marketing/store_seckill/statistics/:id",section:"seckill",action:"statistics",name:`${I6}legacyStatistics`,meta:{title:"秒杀统计"}}],HR=Object.freeze(Object.defineProperty({__proto__:null,default:IR},Symbol.toStringTag,{value:"Module"})),U8=O2.routePre,vt="system_file_",VR=[{path:U8+"/system/maintain/system_file/index",section:"system",action:"system_file",meta:{auth:["system-maintain-system-file"],title:"文件校验"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${vt}systemFile`,component:()=>Q(()=>import("./index-7WEFTgt-.js"),__vite__mapDeps([177,1,2,178,4,5,6,7,8])),meta:{auth:["system-maintain-system-file"],title:"文件校验"}}]},{path:U8+"/system/maintain/system_file/opendir",section:"system",action:"system_file",meta:{auth:["system-maintain-system-file"],title:"文件管理"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${vt}opendir`,component:()=>Q(()=>import("./opendir-BsieCZtT.js"),__vite__mapDeps([179,1,2,178,4,5,6,7,8,180])),meta:{auth:["system-maintain-system-file"],title:"文件管理"}}]},{path:U8+"/system/maintain/system_file/login",section:"system",action:"system_file",meta:{auth:["system-maintain-system-file"],title:"文件管理入口"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${vt}opendir_login`,component:()=>Q(()=>import("./login-2v5q6OSl.js"),__vite__mapDeps([181,1,2,178,4,5,6,7,8,182])),meta:{auth:["system-maintain-system-file"],title:"文件管理入口",activeMenu:U8+"/system/maintain/system_file/opendir"}}]}],NR=Object.freeze(Object.defineProperty({__proto__:null,default:VR},Symbol.toStringTag,{value:"Module"})),p5=O2.routePre,j8="product_",qR=[{path:p5+"/product/virtual/list",meta:{auth:["admin-virtual-product-list"],title:"网盘商品",keepAlive:!0},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${j8}virtualProductList`,section:"product",action:"list",component:()=>Q(()=>import("./App-BbLou-Lv.js"),__vite__mapDeps([183,1,2,184,4,5,6,7,8,71,11,21,22,185,78,186,18,19,20,76,77,79,23,24,25,26,27,28,80,147,44,45,69,70,156,187])),props:{section:"product",action:"list"},meta:{auth:["admin-virtual-product-list"],title:"网盘商品",keepAlive:!0}}]},{path:p5+"/product/virtual/add/:id?",meta:{auth:["admin-virtual-product-add"],title:"网盘商品添加"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${j8}virtualProductAdd`,section:"product",action:"add",component:()=>Q(()=>import("./App-BbLou-Lv.js"),__vite__mapDeps([183,1,2,184,4,5,6,7,8,71,11,21,22,185,78,186,18,19,20,76,77,79,23,24,25,26,27,28,80,147,44,45,69,70,156,187])),props:e=>({section:"product",action:"add",params:{id:e.params.id?parseInt(e.params.id):0}}),meta:{auth:["admin-virtual-product-add"],title:"网盘商品添加",activeMenu:p5+"/product/virtual/list"}}]},{path:p5+"/product/virtual/order/list",meta:{auth:["admin-virtual-order-list"],title:"网盘订单"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${j8}virtualOrderList`,section:"order",action:"list",component:()=>Q(()=>import("./App-BbLou-Lv.js"),__vite__mapDeps([183,1,2,184,4,5,6,7,8,71,11,21,22,185,78,186,18,19,20,76,77,79,23,24,25,26,27,28,80,147,44,45,69,70,156,187])),props:{section:"order",action:"list"},meta:{auth:["admin-virtual-order-list"],title:"网盘订单"}}]},{path:p5+"/product/virtual/order/detail/:orderNo",meta:{auth:["admin-virtual-order-list"],title:"订单详情"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:`${j8}virtualOrderDetail`,section:"order",action:"detail",component:()=>Q(()=>import("./App-BbLou-Lv.js"),__vite__mapDeps([183,1,2,184,4,5,6,7,8,71,11,21,22,185,78,186,18,19,20,76,77,79,23,24,25,26,27,28,80,147,44,45,69,70,156,187])),props:e=>({section:"order",action:"detail",params:{orderNo:e.params.orderNo}}),meta:{auth:["admin-virtual-order-list"],title:"订单详情",activeMenu:p5+"/product/virtual/order/list"}}]}],UR=Object.freeze(Object.defineProperty({__proto__:null,default:qR},Symbol.toStringTag,{value:"Module"})),y6=O2.routePre,jR=[{path:y6+"/app/routine/download",section:"wechat_mini",action:"download",meta:{auth:["routine-download"],title:"小程序下载"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:"routine_download",component:()=>Q(()=>import("./index-BqHzK2dW.js"),__vite__mapDeps([188,1,2,189,4,5,6,7,8,190])),meta:{auth:["routine-download"],title:"小程序下载"}}]},{path:y6+"/app/routine/ci_upload",section:"wechat_mini",action:"ci_upload",meta:{auth:["routine-ci-upload"],title:"小程序上传"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:"routine_ci_upload",component:()=>Q(()=>import("./index-CJIz5l5o.js"),__vite__mapDeps([191,1,2,189,4,5,6,7,8,192])),meta:{auth:["routine-ci-upload"],title:"小程序上传"}}]},{path:y6+"/app/routine/link",section:"wechat_mini",action:"link",meta:{auth:["routine-link"],title:"小程序链接"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:"routine_link",component:()=>Q(()=>import("./index-g_5bzGSB.js"),__vite__mapDeps([193,1,2,189,4,5,6,7,8])),meta:{auth:["routine-link"],title:"小程序链接"}}]},{path:y6+"/marketing/live/room",section:"live",action:"room_list",meta:{auth:!0,title:"直播间管理"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:"live_room",component:()=>Q(()=>import("./index-BeRxGkDP.js"),__vite__mapDeps([194,1,2,189,4,5,6,7,8,18,19,20,195])),meta:{auth:!0,title:"直播间管理"}}]},{path:y6+"/marketing/live/add_live_room",section:"live",action:"room_create",meta:{auth:!0,title:"添加直播间"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:"live_create_room",component:()=>Q(()=>import("./create-BKnT-EMg.js"),__vite__mapDeps([196,1,2,189,4,5,6,7,8,197])),meta:{auth:!0,title:"添加直播间",activeMenu:y6+"/marketing/live/room"}}]},{path:y6+"/marketing/live/goods",section:"live",action:"goods_list",meta:{auth:!0,title:"直播商品"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:"live_goods",component:()=>Q(()=>import("./list-BClnHwTg.js"),__vite__mapDeps([198,1,2,189,4,5,6,7,8,199])),meta:{auth:!0,title:"直播商品"}}]},{path:y6+"/marketing/live/add_live_goods",section:"live",action:"goods_add",meta:{auth:!0,title:"添加直播商品"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:"live_add_goods",component:()=>Q(()=>import("./add-CXZ5ypxl.js"),__vite__mapDeps([200,1,2,18,19,4,5,6,7,8,20,189,201])),meta:{auth:!0,title:"添加直播商品",activeMenu:y6+"/marketing/live/goods"}}]},{path:y6+"/marketing/live/anchor",section:"live",action:"anchor_list",meta:{auth:!0,title:"主播管理"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:"live_anchor",component:()=>Q(()=>import("./list-KdFU50EB.js"),__vite__mapDeps([202,1,2,189,4,5,6,7,8])),meta:{auth:!0,title:"主播管理"}}]}],$R=Object.freeze(Object.defineProperty({__proto__:null,default:jR},Symbol.toStringTag,{value:"Module"})),V3=O2.routePre,WR=[{path:V3+"/app/wechat/setting/menus/index",section:"wechat_mp",action:"menus",meta:{auth:["application-wechat-menus"],title:"微信菜单"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:"wechat_menus",component:()=>Q(()=>import("./index-dlQRSiyc.js"),__vite__mapDeps([203,1,2,204,205,4,5,6,7,8,206])),meta:{auth:["application-wechat-menus"],title:"微信菜单"}}]},{path:V3+"/app/wechat/wechat_user/user/tag",section:"wechat_mp",action:"user_tag",meta:{auth:["wechat-wechat-user-tag"],title:"用户标签"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:"wechat_tag",component:()=>Q(()=>import("./tag-a8CNFtkP.js"),__vite__mapDeps([207,1,2,205,4,5,6,7,8])),meta:{auth:["wechat-wechat-user-tag"],title:"用户标签"}}]},{path:V3+"/app/wechat/wechat_user/user/group",section:"wechat_mp",action:"user_group",meta:{auth:["wechat-wechat-user-group"],title:"用户分组"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:"wechat_group",component:()=>Q(()=>import("./tag-a8CNFtkP.js"),__vite__mapDeps([207,1,2,205,4,5,6,7,8])),meta:{auth:["wechat-wechat-user-group"],title:"用户分组"}}]},{path:V3+"/app/wechat/wechat_user/user/message",section:"wechat_mp",action:"user_message",meta:{auth:["wechat-wechat-user-message"],title:"用户行为记录"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:"wechat_message",component:()=>Q(()=>import("./message-Cl70jGbg.js"),__vite__mapDeps([208,1,2,209,93,150,205,4,5,6,7,8,210])),meta:{auth:["wechat-wechat-user-message"],title:"用户行为记录"}}]},{path:V3+"/app/wechat/news_category/index",section:"wechat_mp",action:"news_category_list",meta:{auth:["wechat-wechat-news-category-index"],title:"图文管理"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:"wechat_news_category",component:()=>Q(()=>import("./index-CwCdA-00.js"),__vite__mapDeps([211,1,2,46,47,48,4,5,6,7,8])),meta:{auth:["wechat-wechat-news-category-index"],title:"图文管理"}}]},{path:V3+"/app/wechat/news_category/save/:id?",section:"wechat_mp",action:"news_category_save",meta:{auth:["wechat-wechat-news-category-save"],title:"图文添加"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:"wechat_news_category_save",component:()=>Q(()=>import("./save-ByhDmg8-.js"),__vite__mapDeps([212,1,2,23,24,25,26,27,28,205,4,5,6,7,8,213])),meta:{auth:["wechat-wechat-news-category-save"],title:"图文添加",activeMenu:V3+"/app/wechat/news_category/index"}}]},{path:V3+"/app/wechat/reply/follow/:key",section:"wechat_mp",action:"reply_follow",meta:{auth:["wechat-wechat-reply-subscribe"],title:"微信关注回复"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:"wechat_reply_follow",component:()=>Q(()=>import("./follow-DvaTSkhw.js"),__vite__mapDeps([214,1,2,204,205,4,5,6,7,8,46,47,48,215])),meta:{auth:["wechat-wechat-reply-subscribe"],title:"微信关注回复"}}]},{path:V3+"/app/wechat/reply/keyword",section:"wechat_mp",action:"reply_keyword",meta:{auth:["wechat-wechat-reply-keyword"],title:"关键字回复"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:"wechat_reply_keyword",component:()=>Q(()=>import("./keyword-CP7n5djg.js"),__vite__mapDeps([216,1,2,205,4,5,6,7,8,217])),meta:{auth:["wechat-wechat-reply-keyword"],title:"关键字回复"}}]},{path:V3+"/app/wechat/reply/keyword/save/:id?",section:"wechat_mp",action:"reply_keyword_save",meta:{auth:["wechat-wechat-reply-save"],title:"关键字添加"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:"wechat_reply_keyword_save",component:()=>Q(()=>import("./follow-DvaTSkhw.js"),__vite__mapDeps([214,1,2,204,205,4,5,6,7,8,46,47,48,215])),meta:{auth:["wechat-wechat-reply-save"],title:"关键字添加",activeMenu:V3+"/app/wechat/reply/keyword"}}]},{path:V3+"/app/wechat/reply/index/:key",section:"wechat_mp",action:"reply_index",meta:{auth:["wechat-wechat-reply-default"],title:"无效关键词回复"},component:()=>Q(()=>Promise.resolve().then(()=>d2),void 0),children:[{path:"",name:"wechat_reply_index",component:()=>Q(()=>import("./follow-DvaTSkhw.js"),__vite__mapDeps([214,1,2,204,205,4,5,6,7,8,46,47,48,215])),meta:{auth:["wechat-wechat-reply-default"],title:"无效关键词回复"}}]}],KR=Object.freeze(Object.defineProperty({__proto__:null,default:WR},Symbol.toStringTag,{value:"Module"}));let ns=O2.routePre;const GR={auth:!0},is="home_",XR={path:ns+"/home",name:"home",header:"home",redirect:{name:`${is}index`},meta:GR,component:D0,children:[{path:ns+"/index",name:`${is}index`,header:"home",meta:{auth:["admin-index-index"],title:"主页",isAffix:!1},component:()=>Q(()=>import("./index-Bp-oG-xv.js"),__vite__mapDeps([218,1,2,219,55,56,99,4,5,6,7,8,220]))}]};let as=O2.routePre;const o4="product_",QR={path:as+"/product",name:"product",header:"product",meta:{title:"商品",auth:["admin-store-index"]},redirect:{name:`${o4}normalProductList`},component:D0,children:[{path:"product_list",redirect:as+"/product/normal/list"},{path:"product_classify",name:`${o4}productClassify`,meta:{title:"商品分类",auth:["admin-store-storeCategory-index"]},component:()=>Q(()=>import("./index-BOsWNpIp.js"),__vite__mapDeps([221,1,2,88,6,128,93,4,5,7,8,222]))},{path:"product_reply/:id?",name:`${o4}productEvaluate`,meta:{auth:["admin-store-storeProuduct-index"],title:"商品评论"},component:()=>Q(()=>import("./index-DmLpiYKV.js"),__vite__mapDeps([223,1,2,18,19,4,5,6,7,8,20,224]))},{path:"product_attr",name:`${o4}productAttr`,meta:{auth:["admin-store-storeProuduct-index"],title:"商品规格"},component:()=>Q(()=>import("./index-BPMZxhk3.js"),__vite__mapDeps([225,1,2,185,78,186,209,93,150,4,5,6,7,8]))},{path:"param/list",name:`${o4}paramList`,meta:{auth:["admin-product-param-list"],title:"商品参数"},component:()=>Q(()=>import("./index-BATgnXbi.js"),__vite__mapDeps([226,1,2,144,78,209,93,150,4,5,6,7,8,227]))},{path:"label/list",name:`${o4}labelList`,meta:{auth:["admin-product-label-list"],title:"商品标签"},component:()=>Q(()=>import("./index-CVuS9gjs.js"),__vite__mapDeps([228,1,2,4,5,6,7,8,229]))},{path:"protection/list",name:`${o4}protectionList`,meta:{auth:["admin-product-protection-list"],title:"商品保障"},component:()=>Q(()=>import("./index-uBi9K5Z2.js"),__vite__mapDeps([230,1,2,128,93,4,5,6,7,8,231]))},{path:"center/list",name:`${o4}centerProductList`,meta:{auth:["admin-center-product-index"],title:"中台商品管理"},component:()=>Q(()=>import("./list-BSQ9nt6e.js"),__vite__mapDeps([232,1,2,4,5,6,7,8,233]))}]};let os=O2.routePre;const r4="order_",YR={path:os+"/order",name:"order",header:"order",redirect:{name:`${r4}center`},component:D0,children:[{path:"offline",name:`${r4}offline`,meta:{auth:["admin-order-offline"],title:"收银订单"},component:()=>Q(()=>import("./index-CRyRJvf-.js"),__vite__mapDeps([234,1,2,150,4,5,6,7,8,235]))},{path:"invoice/list",name:`${r4}invoice`,meta:{auth:["admin-order-startOrderInvoice-index"],title:"发票管理"},component:()=>Q(()=>import("./index-BciuNPQg.js"),__vite__mapDeps([236,1,2,150,4,5,6,7,8,237]))},{path:"center",name:`${r4}center`,meta:{auth:["admin-order-orderCenter-index"],title:"订单中台"},component:()=>Q(()=>import("./index-xuyKY44A.js"),__vite__mapDeps([238,1,2,239,4,5,6,7,8,240]))},{path:"center/detail/:id",name:`${r4}centerDetail`,meta:{auth:["admin-order-orderCenter-detail"],title:"订单中台详情",noCache:!0},component:()=>Q(()=>import("./detail-7FxJXZqg.js"),__vite__mapDeps([241,1,2,156,239,150,242,155,243,4,5,6,7,8,244]))},{path:"afterSale",name:`${r4}afterSale`,meta:{auth:["admin-order-afterSale-index"],title:"售后订单"},component:()=>Q(()=>import("./index-CD0E6by0.js"),__vite__mapDeps([245,1,2,246,239,4,5,6,7,8,247]))},{path:"afterSale/detail/:id",name:`${r4}afterSaleDetail`,meta:{auth:["admin-order-afterSale-detail"],title:"售后单详情",noCache:!0,activeMenu:os+"/order/afterSale"},component:()=>Q(()=>import("./detail-BQJeVvL7.js"),__vite__mapDeps([248,1,2,246,242,155,243,4,5,6,7,8,249]))},{path:"member/offline",name:`${r4}memberOffline`,meta:{auth:["order-member-offline"],title:"线下收银"},component:()=>Q(()=>import("./index-Bsy0SbuZ.js"),__vite__mapDeps([250,1,2,251,4,5,6,7,8,252]))}]};let ZR=O2.routePre;const JR={auth:!0},N3="user_",ew={path:ZR+"/user",name:"user",header:"user",redirect:{name:`${N3}list`},meta:JR,component:D0,children:[{path:"list",name:`${N3}list`,meta:{auth:["admin-user-user-index"],title:"用户管理"},component:()=>Q(()=>import("./index-B_Jz-e5D.js"),__vite__mapDeps([253,1,2,145,49,4,5,6,7,8,146,12,13,88,46,47,48,154,254,14,15,255]))},{path:"level",name:`${N3}level`,meta:{auth:["user-user-level"],footer:!0,title:"用户等级"},component:()=>Q(()=>import("./index-D-hXPnKl.js"),__vite__mapDeps([256,1,2,128,93,49,4,5,6,7,8,257]))},{path:"group",name:`${N3}group`,meta:{auth:["user-user-group"],footer:!0,title:"用户分组"},component:()=>Q(()=>import("./index-B4KDpYjG.js"),__vite__mapDeps([258,1,2,49,4,5,6,7,8,259]))},{path:"label",name:`${N3}label`,meta:{auth:["user-user-label"],footer:!0,title:"用户标签"},component:()=>Q(()=>import("./index-BzpkD0Or.js"),__vite__mapDeps([260,1,2,49,4,5,6,7,8,261]))},{path:"cancel",name:`${N3}cancel`,meta:{auth:["user-user-cancel"],footer:!0,title:"用户注销"},component:()=>Q(()=>import("./index-zlLTrIyl.js"),__vite__mapDeps([262,1,2,49,4,5,6,7,8,263]))},{path:"recharge/:id",name:`${N3}recharge`,meta:{auth:["user-user-recharge"],footer:!0,title:"充值配置"},component:()=>Q(()=>import("./list-DPX52RqS.js"),__vite__mapDeps([264,1,2,6,99,4,5,7,8,265]))},{path:"member/type",name:`${N3}memberType`,meta:{auth:["admin-user-member-type"],title:"会员类型"},component:()=>Q(()=>import("./index-Dk9wwmzf.js"),__vite__mapDeps([266,1,2,251,4,5,6,7,8]))},{path:"member/card",name:`${N3}memberCard`,meta:{auth:["admin-user-grade-card"],title:"卡密会员"},component:()=>Q(()=>import("./index-DtIg_FRB.js"),__vite__mapDeps([267,4,5,1,2,251,14,15,6,7,8,268]))},{path:"member/record",name:`${N3}memberRecord`,meta:{auth:["admin-user-grade-record"],title:"会员记录"},component:()=>Q(()=>import("./index-mZjJWP4o.js"),__vite__mapDeps([269,1,2,251,4,5,6,7,8]))},{path:"member/right",name:`${N3}memberRight`,meta:{auth:["admin-user-grade-right"],title:"会员权益"},component:()=>Q(()=>import("./index-CL7NxHKs.js"),__vite__mapDeps([270,1,2,251,4,5,6,7,8,271]))},{path:"member/agreement",name:`${N3}memberAgreement`,meta:{auth:["admin-user-grade-agreement"],title:"会员协议"},component:()=>Q(()=>import("./index-C24kkrXg.js"),__vite__mapDeps([272,1,2,23,24,25,26,27,28,251,4,5,6,7,8]))}]};let $8=O2.routePre;const tw={auth:!0},g2="setting_",nw={path:$8+"/setting",name:"setting",header:"setting",redirect:{name:`${g2}setSystem`},component:D0,children:[{path:"system_role/index",name:`${g2}systemRole`,meta:{auth:["setting-system-role"],title:"身份管理"},component:()=>Q(()=>import("./index-CcPLC6Wr.js"),__vite__mapDeps([273,1,2,4,5,6,7,8,274]))},{path:"system_admin/index",name:`${g2}systemAdmin`,meta:{auth:["setting-system-list"],title:"管理员列表"},component:()=>Q(()=>import("./index-DPk6ZJh1.js"),__vite__mapDeps([275,1,2,88,6,276,4,5,7,8]))},{path:"system_menus/index",name:`${g2}systemMenus`,meta:{auth:["setting-system-menus"],title:"权限规则"},component:()=>Q(()=>import("./index-BXIJJ_bG.js"),__vite__mapDeps([277,1,2,278,279,94,280,281,98,4,5,6,7,8,282]))},{path:"system_config",name:`${g2}setSystem`,meta:{auth:["setting-system-config"],title:"系统设置"},component:()=>Q(()=>import("./index-B_LSCRpr.js"),__vite__mapDeps([283,1,2,276,4,5,6,7,8,284]))},{path:"system_config/:tab_id?",name:`${g2}setApp`,meta:{title:"系统设置"},component:()=>Q(()=>import("./index-B_LSCRpr.js"),__vite__mapDeps([283,1,2,276,4,5,6,7,8,284]))},{path:"elec_invoice",name:`${g2}elecInvoice`,meta:{auth:["setting-elec-invoice"],title:"电子发票"},component:()=>Q(()=>import("./index-u5ML1CMo.js"),__vite__mapDeps([285,1,2,150,4,5,6,7,8,286]))},{path:"printer",name:`${g2}printer`,meta:{auth:["driver:printer:channel"],title:"打印机管理"},component:()=>Q(()=>import("./index-C5aCmoOY.js"),__vite__mapDeps([287,1,2,288,289,4,5,6,7,8,290]))},{path:"printer/content",name:`${g2}printerContent`,meta:{auth:["driver:printer:channel"],title:"小票配置",activeMenu:$8+"/setting/printer"},component:()=>Q(()=>import("./content--56iX3eK.js"),__vite__mapDeps([291,1,2,288,292,4,5,19,11,293,294,281,289,6,7,8,295]))},{path:"express",name:`${g2}express`,meta:{auth:["driver:express:setting"],title:"电子面单设置"},component:()=>Q(()=>import("./index-Ciz1Y7Qs.js"),__vite__mapDeps([296,1,2,4,5,6,7,8,297]))},{path:"membership_level/index",name:`${g2}membershipLevel`,meta:{...tw,title:"分销等级"},component:()=>Q(()=>import("./index-C9edqb5w.js"),__vite__mapDeps([298,1,2,254,281,4,5,6,7,8,299]))},{path:"notification/member",name:`${g2}notificationMember`,meta:{auth:["setting-notification"],title:"会员通知"},component:()=>Q(()=>import("./member-UbZpAD73.js"),__vite__mapDeps([300,1,2,301,47,302,78,292,4,5,19,11,293,294,6,7,8,303,304]))},{path:"notification/platform",name:`${g2}notificationPlatform`,meta:{auth:["setting-notification"],title:"平台通知"},component:()=>Q(()=>import("./platform-Caw6KRyN.js"),__vite__mapDeps([305,1,2,301,4,5,6,7,8,306]))},{path:"notification/channel",name:`${g2}notificationChannel`,meta:{auth:["setting-notification"],title:"渠道管理"},component:()=>Q(()=>import("./index-Dcy8YGqz.js"),__vite__mapDeps([307,1,2,301,4,5,6,7,8,308]))},{path:"notification/log",name:`${g2}notificationLog`,meta:{auth:["setting-notification"],title:"发送记录"},component:()=>Q(()=>import("./index-DSYG81ND.js"),__vite__mapDeps([309,1,2,301,4,5,6,7,8,310]))},{path:"notification/notificationEdit",name:`${g2}notificationEdit`,meta:{auth:["setting-notification"],title:"消息编辑",activeMenu:$8+"/setting/notification/member"},component:()=>Q(()=>import("./notificationEdit-wyy7bPNQ.js"),__vite__mapDeps([302,1,2,301,78,292,4,5,19,11,293,294,6,7,8,303]))},{path:"yihaotong/index",name:`${g2}config`,meta:{auth:["setting-yihaotong"],title:"一号通账户"},component:()=>Q(()=>import("./index-QXgnvYvY.js"),__vite__mapDeps([311,1,2,4,5,6,7,8,312]))},{path:"ai_model/index",name:`${g2}aiModel`,meta:{auth:["setting-ai-model"],title:"模型管理"},component:()=>Q(()=>import("./index-CB9LyaQm.js"),__vite__mapDeps([313,1,2,4,5,6,7,8,314]))},{path:"system_group_data/index/:id",name:`${g2}groupDataIndex`,meta:{auth:["setting-system-group_data-index"],title:"首页导航按钮"},component:()=>Q(()=>import("./list-DPX52RqS.js"),__vite__mapDeps([264,1,2,6,99,4,5,7,8,265]))},{path:"system_group_data/slide/:id",name:`${g2}groupDataSlide`,meta:{auth:["setting-system-group_data-slide"],title:"首页幻灯片"},component:()=>Q(()=>import("./list-DPX52RqS.js"),__vite__mapDeps([264,1,2,6,99,4,5,7,8,265]))},{path:"system_group_data/sign/:id",name:`${g2}groupDataSign`,meta:{auth:["setting-system-group_data-sign"],title:"签到天数配置"},component:()=>Q(()=>import("./list-DPX52RqS.js"),__vite__mapDeps([264,1,2,6,99,4,5,7,8,265]))},{path:"system_group_data/new/:id",name:`${g2}groupDataNew`,meta:{auth:["setting-system-group_data-new"],title:"首页滚动新闻"},component:()=>Q(()=>import("./list-DPX52RqS.js"),__vite__mapDeps([264,1,2,6,99,4,5,7,8,265]))},{path:"system_group_data/search/:id",name:`${g2}groupDataSearch`,meta:{auth:["setting-system-group_data-search"],title:"热门搜索"},component:()=>Q(()=>import("./list-DPX52RqS.js"),__vite__mapDeps([264,1,2,6,99,4,5,7,8,265]))},{path:"system_group_data/poster/:id",name:`${g2}groupDataPoster`,meta:{auth:["setting-system-group_data-poster"],title:"个人中心分销海报"},component:()=>Q(()=>import("./list-DPX52RqS.js"),__vite__mapDeps([264,1,2,6,99,4,5,7,8,265]))},{path:"system_group_data/activity/:id",name:`${g2}groupDataActivity`,meta:{auth:["setting-system-group_data-activity"],title:"首页活动区域图片"},component:()=>Q(()=>import("./list-DPX52RqS.js"),__vite__mapDeps([264,1,2,6,99,4,5,7,8,265]))},{path:"system_group_data/system/:id",name:`${g2}groupDataSystem`,meta:{auth:["setting-system-group_data-system"],title:"首页配置"},component:()=>Q(()=>import("./list-DPX52RqS.js"),__vite__mapDeps([264,1,2,6,99,4,5,7,8,265]))},{path:"system_group_data/hot_money/:id",name:`${g2}groupDataHotMoney`,meta:{auth:["admin-setting-system_group_data-hot_money"],title:"首页超值爆款"},component:()=>Q(()=>import("./list-DPX52RqS.js"),__vite__mapDeps([264,1,2,6,99,4,5,7,8,265]))},{path:"merchant/system_store/index",name:`${g2}systemStore`,meta:{auth:["setting-system-config-merchant"],title:"门店设置"},component:()=>Q(()=>import("./index-CsxL8S1a.js"),__vite__mapDeps([315,1,2,47,4,5,6,7,8,316]))},{path:"freight/express/index",name:`${g2}freight`,meta:{auth:["setting-freight-express"],title:"物流公司"},component:()=>Q(()=>import("./index-sVJczBkx.js"),__vite__mapDeps([317,1,2,4,5,6,7,8,318]))},{path:"freight/city/list",name:`${g2}dada`,meta:{auth:["setting-system-city"],title:"城市数据"},component:()=>Q(()=>import("./index-Sv6pe8Rb.js"),__vite__mapDeps([319,1,2,4,5,6,7,8,320]))},{path:"freight/shipping_templates/list",name:`${g2}templates`,meta:{auth:["setting-shipping-templates"],title:"运费模板"},component:()=>Q(()=>import("./index-C1PTqLW9.js"),__vite__mapDeps([321,1,2,21,22,4,5,6,7,8]))},{path:"merchant/system_store/list",name:`${g2}store`,meta:{auth:["setting-merchant-system-store"],title:"门店"},component:()=>Q(()=>import("./index-Cf6yyRFo.js"),__vite__mapDeps([322,1,2,47,128,93,4,5,6,7,8,323]))},{path:"merchant/system_store_staff/index",name:`${g2}staff`,meta:{auth:["setting-merchant-system-store-staff"],title:"核销员"},component:()=>Q(()=>import("./index-DPS1rS4C.js"),__vite__mapDeps([324,1,2,128,93,4,5,6,7,8,325]))},{path:"theme_style",name:`${g2}themeStyle`,meta:{auth:["admin-setting-theme_style"],title:"主题风格"},component:()=>Q(()=>import("./index-nQfFfgqU.js"),__vite__mapDeps([326,1,2,19,4,5,6,7,8,327]))},{path:"theme/micro_page",name:`${g2}microPage`,meta:{auth:["setting-theme-micro_page"],title:"微页面"},component:()=>Q(()=>import("./index-R-ieEg68.js"),__vite__mapDeps([328,1,2,19,4,5,6,7,8]))},{path:"pages",name:`${g2}page`,header:"setting",redirect:{name:`${g2}devise`}},{path:"pages/devise/:type",name:`${g2}devise`,meta:{auth:["admin-setting-pages-devise"],title:"店铺装修"},component:()=>Q(()=>import("./list-Wa-6ytNf.js"),__vite__mapDeps([329,1,2,19,330,116,117,331,332,78,292,4,5,11,293,294,333,6,7,8,334]))},{path:"pages/user_page/:type",name:`${g2}user`,meta:{auth:["admin-setting-pages-user"],title:"个人中心"},component:()=>Q(()=>import("./list-Wa-6ytNf.js"),__vite__mapDeps([329,1,2,19,330,116,117,331,332,78,292,4,5,11,293,294,333,6,7,8,334]))},{path:"pages/link",name:`${g2}link`,meta:{auth:["admin-setting-pages-link"],title:"链接管理"},component:()=>Q(()=>import("./index-CyuLu7BI.js"),__vite__mapDeps([335,1,2,4,5,6,7,8,336]))},{path:"pages/cate_page/:type",name:`${g2}cate`,meta:{auth:["admin-setting-pages-cate"],title:"商品分类"},component:()=>Q(()=>import("./list-Wa-6ytNf.js"),__vite__mapDeps([329,1,2,19,330,116,117,331,332,78,292,4,5,11,293,294,333,6,7,8,334]))},{path:"pages/diy",name:`${g2}diy`,meta:{auth:["admin-setting-pages-diy"],title:"页面设计",activeMenu:$8+"/setting/pages/devise"},component:()=>Q(()=>import("./index-DB-KGoE1.js"),__vite__mapDeps([337,1,2,19,78,18,4,5,6,7,8,20,292,11,293,294,23,24,25,26,27,28,338]))},{path:"pages/diy_index",name:`${g2}index_diy`,meta:{auth:["admin-setting-pages-diy"],title:"首页设计",fullScreen:!0},component:()=>Q(()=>import("./diyIndex-fnxQJQda.js"),__vite__mapDeps([339,1,2,333,19,78,12,293,292,4,5,11,294,71,18,6,7,8,20,23,24,25,26,27,28,340]))},{path:"pages/links",name:`${g2}links`,meta:{auth:["admin-setting-pages-links"],title:"页面链接"},component:()=>Q(()=>import("./links-fkqlecoa.js"),__vite__mapDeps([341,1,2,19,4,5,6,7,8,342]))},{path:"service_personnel/index",name:`${g2}servicePersonnel`,meta:{auth:["setting-service-personnel"],title:"服务人员列表"},component:()=>Q(()=>import("./index-OwsbfN-z.js"),__vite__mapDeps([343,1,2,4,5,6,7,8,344]))},{path:"system_visualization_data",name:`${g2}systemGroupData`,meta:{auth:["admin-setting-system_visualization_data"],title:"数据配置"},component:()=>Q(()=>import("./visualization-BUgUYtp0.js"),__vite__mapDeps([345,1,2,23,24,25,26,27,28,19,6,99,78,292,4,5,11,293,294,116,117,281,7,8,346]))},{path:"agreement",name:`${g2}notification`,meta:{auth:["setting-agreement"],title:"协议设置"},component:()=>Q(()=>import("./index-aVagswsh.js"),__vite__mapDeps([347,1,2,23,24,25,26,27,28,99,4,5,6,7,8,348]))},{path:"lang/list",name:`${g2}langList`,meta:{auth:["admin-lang-list"],title:"语言列表"},component:()=>Q(()=>import("./list-B0A9--hb.js"),__vite__mapDeps([349,1,2,4,5,6,7,8]))},{path:"lang/info",name:`${g2}langInfo`,meta:{auth:["admin-lang-info"],title:"语言详情"},component:()=>Q(()=>import("./langList-ClK7cuUP.js"),__vite__mapDeps([350,1,2,4,5,6,7,8,351]))},{path:"lang/country",name:`${g2}langCountry`,meta:{auth:["admin-lang-country"],title:"地区关联语言"},component:()=>Q(()=>import("./country-aNvTrvCu.js"),__vite__mapDeps([352,1,2,4,5,6,7,8,353]))},{path:"my_theme",name:`${g2}myTheme`,meta:{title:"我的主题"},component:()=>Q(()=>import("./index-CrVcp5FK.js"),__vite__mapDeps([354,1,2,153,19,355,356,4,5,6,7,8,357]))},{path:"mall_theme",name:`${g2}mallTheme`,meta:{title:"商城主题"},component:()=>Q(()=>import("./index-BjFMrWOz.js"),__vite__mapDeps([358,1,2,355,19,356,4,5,6,7,8,359]))},{path:"edit_theme",name:`${g2}editTheme`,meta:{title:"主题风格",fullScreen:!0},component:()=>Q(()=>import("./index-BQRoiRbm.js"),__vite__mapDeps([360,1,2,19,339,333,78,12,293,292,4,5,11,294,71,18,6,7,8,20,23,24,25,26,27,28,340,361]))}]};let rs=O2.routePre;const q3="driver_",iw={path:rs+"/driver",name:"driver",header:"driver",redirect:{name:`${q3}pay`},component:D0,children:[{path:"storage",name:`${q3}storage`,meta:{auth:["driver-upload"],activeMenu:rs+"/driver/upload",title:"储存配置"},component:()=>Q(()=>import("./index-CUfKiWTY.js"),__vite__mapDeps([362,1,2,363,4,5,6,7,8,364]))},{path:"pay",name:`${q3}pay`,meta:{auth:["driver:pay:channel"],title:"支付管理"},component:()=>Q(()=>import("./index-Cegf9kSB.js"),__vite__mapDeps([365,1,2,4,5,6,7,8,366]))},{path:"invoiceDriver/index",name:`${q3}invoiceDriver`,meta:{auth:["driver-invoice"],title:"发票驱动管理"},component:()=>Q(()=>import("./index-CtENg7a6.js"),__vite__mapDeps([367,1,2,4,5,6,7,8,368]))},{path:"upload",name:`${q3}upload`,meta:{auth:["driver-upload"],title:"存储扩展管理"},component:()=>Q(()=>import("./index-CWswhIn3.js"),__vite__mapDeps([363,1,2,4,5,6,7,8,364]))},{path:"copyDriver/index",name:`${q3}copy`,meta:{auth:["driver-copydriver"],title:"采集驱动管理"},component:()=>Q(()=>import("./index-BrWh5x-K.js"),__vite__mapDeps([369,1,2,4,5,6,7,8,370]))},{path:"logisticsDriver/index",name:`${q3}logistics`,meta:{auth:["driver-logistics"],title:"物流查询驱动管理"},component:()=>Q(()=>import("./index-CpSbpgzD.js"),__vite__mapDeps([371,1,2,4,5,6,7,8,372]))},{path:"smsDriver/index",name:`${q3}smsDriver`,meta:{auth:["driver-sms-driver"],title:"短信驱动管理"},component:()=>Q(()=>import("./index-Cl9SCNe7.js"),__vite__mapDeps([373,1,2,4,5,6,7,8,374]))},{path:"botDriver/index",name:`${q3}botDriver`,meta:{auth:["driver-bot"],title:"机器人通知驱动管理"},component:()=>Q(()=>import("./index-CJyyINXz.js"),__vite__mapDeps([375,1,2,4,5,6,7,8,376]))},{path:"emailDriver/index",name:`${q3}emailDriver`,meta:{auth:["driver-email"],title:"邮件驱动管理"},component:()=>Q(()=>import("./index-BYKnoFyn.js"),__vite__mapDeps([377,1,2,4,5,6,7,8,378]))},{path:"expressDriver/index",name:`${q3}express`,meta:{auth:["driver-express"],title:"电子面单驱动管理"},component:()=>Q(()=>import("./index-FOMYFAu-.js"),__vite__mapDeps([379,1,2,4,5,6,7,8,380]))},{path:"printerDriver/index",name:`${q3}printerDriver`,meta:{auth:["driver-printer"],title:"打印机驱动管理"},component:()=>Q(()=>import("./index-B3O73jsZ.js"),__vite__mapDeps([381,1,2,289,4,5,6,7,8,382]))},{path:"printer",redirect:{name:"setting_printer"}},{path:"printer/content",redirect:e=>({name:"setting_printerContent",query:e.query})}]};let aw=O2.routePre;const ss="plugin_",ow={path:aw+"/plugin",name:"plugin",header:"plugin",redirect:{name:`${ss}list`},component:D0,children:[{path:"list",name:`${ss}list`,meta:{auth:["plugin-list"],title:"插件管理"},component:()=>Q(()=>import("./index-CzCcUbWJ.js"),__vite__mapDeps([383,1,2,154,278,4,5,6,7,8,384]))}]},rw=O2.routePre,sw={path:rw+"/plugin/:pluginKey/:pageKey",name:"SchemaPluginPage",meta:{title:"插件页面"},component:D0,children:[{path:"",name:"SchemaPluginPageView",meta:{auth:!0,title:"插件页面"},component:()=>Q(()=>import("./index-bZ3Wyuup.js"),__vite__mapDeps([385,1,2,6,24,25,26,27,4,5,7,8,386])),props:e=>({pluginKey:e.params.pluginKey,pageKey:e.params.pageKey})}]};let cw=O2.routePre;const _t="distribution_",lw={auth:!0},uw={path:`${cw}/distribution`,name:"distribution",header:"distribution",redirect:{name:`${_t}agentManage`},meta:lw,component:D0,children:[{path:"agent_manage/index",name:`${_t}agentManage`,meta:{auth:["agent-agent-manage"],title:"分销员管理"},component:()=>Q(()=>import("./PageContainer-CwNjVoS0.js"),__vite__mapDeps([38,1,2,4,5,6,7,8,39])),props:{typeKey:"distribution",section:"distribution",action:"manage"}},{path:"spread/apply",name:`${_t}spreadApply`,meta:{auth:["admin-agent-spread-apply"],title:"分销员申请"},component:()=>Q(()=>import("./PageContainer-CwNjVoS0.js"),__vite__mapDeps([38,1,2,4,5,6,7,8,39])),props:{typeKey:"distribution",section:"distribution",action:"apply"}}]};let dw=O2.routePre;const s4="finance_",fw={path:dw+"/finance",name:"finance",header:"finance",meta:{auth:["admin-finance"]},redirect:{name:`${s4}cashApply`},component:D0,children:[{path:"billing_records/index",name:`${s4}billingRecords`,meta:{auth:["finance-billing_records-index"],title:"账单记录"},component:()=>Q(()=>import("./index-ydfS5zXO.js"),__vite__mapDeps([387,1,2,14,15,388,389,4,5,6,7,8,390]))},{path:"capital_flow/index",name:`${s4}capitalFlow`,meta:{auth:["finance-capital_flow-index"],title:"资金流水"},component:()=>Q(()=>import("./index-B63tfpEn.js"),__vite__mapDeps([391,1,2,388,4,5,6,7,8,392]))},{path:"user_extract/index",name:`${s4}cashApply`,meta:{auth:["finance-user_extract"],title:"提现申请"},component:()=>Q(()=>import("./index-DL7U1mkp.js"),__vite__mapDeps([393,1,2,35,36,88,6,388,276,4,5,7,8,394]))},{path:"user_recharge/index",name:`${s4}recharge`,meta:{auth:["finance-user-recharge"],title:"充值记录"},component:()=>Q(()=>import("./index-nT_PfLoh.js"),__vite__mapDeps([395,1,2,35,36,88,6,125,388,276,4,5,7,8,396]))},{path:"finance/bill",name:`${s4}bill`,meta:{auth:["finance-finance-bill"],title:"资金记录"},component:()=>Q(()=>import("./index-DBGuOLOy.js"),__vite__mapDeps([397,1,2,388,4,5,6,7,8,398]))},{path:"finance/commission",name:`${s4}commissionRecord`,meta:{auth:["finance-finance-commission"],title:"佣金记录"},component:()=>Q(()=>import("./index-D_tX3x9B.js"),__vite__mapDeps([399,1,2,388,4,5,6,7,8,400]))},{path:"balance/balance",name:`${s4}balance`,meta:{auth:["finance-user-balance"],title:"余额记录"},component:()=>Q(()=>import("./index-BCyf9cRk.js"),__vite__mapDeps([401,1,2,388,4,5,6,7,8,402]))}]};let cs=O2.routePre;const W8="cms_",hw={path:cs+"/cms",name:"cms",header:"cms",redirect:{name:`${W8}article`},component:D0,children:[{path:"article/index/:id?",name:`${W8}article`,meta:{auth:["cms-article-index"],title:"文章管理",keepAlive:!0},component:()=>Q(()=>import("./index-BoCKMsix.js"),__vite__mapDeps([403,1,2,293,18,19,4,5,6,7,8,20,404]))},{path:"article_category/index",name:`${W8}articleCategory`,meta:{auth:["cms-article-category"],title:"文章分类"},component:()=>Q(()=>import("./index-DNk6R4kZ.js"),__vite__mapDeps([405,1,2,128,93,293,4,5,6,7,8,406]))},{path:"article/add_article/:id?",name:`${W8}addArticle`,meta:{auth:["cms-article-creat"],title:"文章添加",activeMenu:cs+"/cms/article/index"},component:()=>Q(()=>import("./index-C1p58Gve.js"),__vite__mapDeps([407,1,2,23,24,25,26,27,28,293,4,5,6,7,8,408]))}]};let K8=O2.routePre;const g5="marketing_",mw={path:K8+"/marketing",name:"marketing",header:"marketing",redirect:{name:`${g5}storeCouponIssue`},component:D0,children:[{path:"store_coupon_issue/index",name:`${g5}storeCouponIssue`,meta:{auth:["marketing-store_coupon_issue"],title:"优惠券列表",keepAlive:!0},component:()=>Q(()=>import("./index-C6_gM9tb.js"),__vite__mapDeps([409,1,2,11,4,5,6,7,8,410]))},{path:"store_coupon_issue/create/:id?/:edit?",name:`${g5}storeCouponCreate`,meta:{auth:["marketing-store_coupon_issue-create"],title:"添加优惠券",activeMenu:K8+"/marketing/store_coupon_issue/index"},component:()=>Q(()=>import("./create-DlUHCJET.js"),__vite__mapDeps([411,1,2,18,19,4,5,6,7,8,20,11,412]))},{path:"store_coupon_user/index",name:`${g5}storeCouponUser`,meta:{auth:["marketing-store_coupon_user"],title:"用户领取记录"},component:()=>Q(()=>import("./user-DBtndEOn.js"),__vite__mapDeps([413,1,2,11,4,5,6,7,8]))},{path:"integral/record",name:`${g5}integralRecord`,meta:{auth:["marketing-point_record-index"],title:"积分记录",activeMenu:K8+"/marketing/integral/record"},component:()=>Q(()=>import("./index-CwReLhQN.js"),__vite__mapDeps([414,1,2,11,4,5,6,7,8,415]))},{path:"integral/statistics",name:`${g5}integralStatistics`,meta:{auth:["marketing-point_statistic-index"],title:"积分统计",activeMenu:K8+"/marketing/integral/statistics"},component:()=>Q(()=>import("./index-9Rmdoc27.js"),__vite__mapDeps([416,1,2,35,36,54,55,56,11,12,219,4,5,6,7,8,417]))}]};let pw=O2.routePre;const xt="app_",gw={path:pw+"/app",name:"app",header:"app",redirect:{name:`${xt}version`},meta:{auth:["admin-app"]},component:D0,children:[{path:"app/version",name:`${xt}version`,meta:{auth:["admin-app-version"],title:"APP版本管理"},component:()=>Q(()=>import("./index-Uwn00YUw.js"),__vite__mapDeps([418,1,2,99,128,93,4,5,6,7,8]))},{path:"app/agreement",name:`${xt}agreement `,meta:{auth:["admin-app-agreement"],title:"隐私协议"},component:()=>Q(()=>import("./index-CgSOmRtP.js"),__vite__mapDeps([419,1,2,23,24,25,26,27,28,19,99,6,292,4,5,11,293,294,281,7,8,420]))}]};let v5=O2.routePre;const O0="system_",vw={path:v5+"/system",name:"system",header:"system",redirect:{name:`${O0}configTab`},meta:{auth:["admin-system"]},component:D0,children:[{path:"code_generation",name:`${O0}code_generation`,meta:{auth:["system-config-code-generation"],title:"代码生成",activeMenu:v5+"/system/code_generation_list"},component:()=>Q(()=>import("./index-C6YWK6gX.js"),__vite__mapDeps([421,1,2,422,144,278,29,30,98,4,5,6,7,8,423]))},{path:"code_data_dictionary",name:`${O0}code_data_dictionary`,meta:{auth:["system-code-data_dictionary"],title:"数据字典",activeMenu:v5+"/system/code_data_dictionary"},component:()=>Q(()=>import("./index-DzSJggaC.js"),__vite__mapDeps([424,1,2,422,4,5,6,7,8,425]))},{path:"code_data_dictionary_datalist",name:`${O0}code_data_dictionary_datalist`,meta:{auth:["system-code-data_dictionary-dataList"],title:"数据管理页面",activeMenu:v5+"/system/code_data_dictionary"},component:()=>Q(()=>import("./dataList-o7Jl1Q7l.js"),__vite__mapDeps([426,1,2,422,4,5,6,7,8,427]))},{path:"code_generation_list",name:`${O0}code_generation_list`,meta:{auth:["system-config-code-generation-list"],title:"代码生成列表"},component:()=>Q(()=>import("./list-BVaRsd6T.js"),__vite__mapDeps([428,1,2,422,4,5,6,7,8,429]))},{path:"backend_routing",name:`${O0}backend_routing`,meta:{auth:["system-config-backend-routing"],title:"接口管理"},component:()=>Q(()=>import("./index-BJjGkk2i.js"),__vite__mapDeps([430,1,2,162,4,5,6,7,8,431]))},{path:"file",name:`${O0}file`,meta:{auth:["system-file"],title:"附件管理"},component:()=>Q(()=>import("./index-BFJwPq9k.js"),__vite__mapDeps([432,1,2,4,5,6,7,8,433]))},{path:"maintain/clear/index",name:`${O0}clear`,meta:{auth:["system-clear"],title:"刷新缓存"},component:()=>Q(()=>import("./index-B0CaW8di.js"),__vite__mapDeps([434,1,2,4,5,6,7,8,435]))},{path:"maintain/system_log/index",name:`${O0}systemLog`,meta:{auth:["system-maintain-system-log"],title:"系统日志"},component:()=>Q(()=>import("./index-Boajy8aR.js"),__vite__mapDeps([436,1,2,99,4,5,6,7,8]))},{path:"maintain/system_cleardata/index",name:`${O0}systemCleardata`,meta:{auth:["system-maintain-system-cleardata"],title:"清除数据"},component:()=>Q(()=>import("./index-qvtv1395.js"),__vite__mapDeps([437,1,2,99,4,5,6,7,8,438]))},{path:"maintain/system_databackup/index",name:`${O0}systemDatabackup`,meta:{auth:["system-maintain-system-databackup"],title:"数据备份"},component:()=>Q(()=>import("./index-DNB2tN3j.js"),__vite__mapDeps([439,1,2,99,4,5,6,7,8,440]))},{path:"config/system_config_tab/index",name:`${O0}configTab`,meta:{auth:["system-config-system_config-tab"],title:"配置分类"},component:()=>Q(()=>import("./index-xBvn8wiZ.js"),__vite__mapDeps([441,1,2,88,6,99,276,4,5,7,8]))},{path:"config/system_config_tab/list/:id?",name:`${O0}configTabList`,meta:{auth:["system-config-system_config_tab-list"],title:"配置列表",activeMenu:v5+"/system/config/system_config_tab/index"},component:()=>Q(()=>import("./list-CIYUTKFF.js"),__vite__mapDeps([442,1,2,99,88,6,276,4,5,7,8,443]))},{path:"config/system_group/index",name:`${O0}group`,meta:{auth:["system-config-system_config-group"],title:"组合数据"},component:()=>Q(()=>import("./index-BfVwTx0H.js"),__vite__mapDeps([444,1,2,99,4,5,6,7,8,445]))},{path:"config/system_group/list/:id?",name:`${O0}groupList`,meta:{auth:["system-config-system_config-list"],title:"组合数据列表",activeMenu:v5+"/system/config/system_group/index"},component:()=>Q(()=>import("./list-DPX52RqS.js"),__vite__mapDeps([264,1,2,6,99,4,5,7,8,265]))},{path:"maintain/auth",name:`${O0}auth`,meta:{auth:["system-maintain-auth"],title:"系统信息"},component:()=>Q(()=>import("./index-DizgX-Cm.js"),__vite__mapDeps([446,1,2,99,4,5,6,7,8,447]))},{path:"onlineUpgrade/index",name:`${O0}upgradeclient`,meta:{auth:["system-onlineUpgrade-index"],title:"在线升级"},component:()=>Q(()=>import("./index-CldgT2Ws.js"),__vite__mapDeps([448,1,2,99,4,5,6,7,8,449]))},{path:"crossVersionUpgrade/index",name:`${O0}crossVersionUpgrade`,meta:{auth:["system-crossVersionUpgrade-index"],title:"跨版本升级"},component:()=>Q(()=>import("./index-ToC61P6L.js"),__vite__mapDeps([450,1,2,99,47,4,5,6,7,8,451]))},{path:"crontab",name:`${O0}crontab`,meta:{auth:["system-crontab-index"],title:"定时任务"},component:()=>Q(()=>import("./index-C12uyhCR.js"),__vite__mapDeps([452,1,2,99,4,5,6,7,8,453]))},{path:"event",name:`${O0}event`,meta:{auth:["system-event-index"],title:"系统事件"},component:()=>Q(()=>import("./index-DuCZl4AA.js"),__vite__mapDeps([454,1,2,99,4,5,6,7,8,455]))},{path:"system_menus/index",name:`${O0}systemMenus`,meta:{auth:["system-system-menus"],title:"权限规则"},component:()=>Q(()=>import("./index-CmKAitNc.js"),__vite__mapDeps([456,1,2,278,279,94,280,281,98,4,5,6,7,8,457]))}]};let _w=O2.routePre;const x7="statistic_",xw={path:_w+"/statistic",name:"statistic",header:"statistic",redirect:{name:`${x7}transaction`},component:D0,children:[{path:"transaction",name:`${x7}transaction`,meta:{title:"交易统计"},component:()=>Q(()=>import("./index-MjwNDJx_.js"),__vite__mapDeps([458,1,2,389,54,55,56,12,4,5,6,7,8,459]))},{path:"integral",name:`${x7}integral`,meta:{title:"积分统计"},component:()=>Q(()=>import("./index-T5B16eZX.js"),__vite__mapDeps([460,1,2,35,36,54,55,56,4,5,6,7,8,461]))},{path:"order",name:`${x7}order`,meta:{title:"订单统计"},component:()=>Q(()=>import("./index-D6DBiyhz.js"),__vite__mapDeps([462,1,2,35,36,54,55,56,219,389,12,4,5,6,7,8,463]))},{path:"balance",name:`${x7}balance`,meta:{title:"余额统计"},component:()=>Q(()=>import("./index-BUfKU4C3.js"),__vite__mapDeps([464,1,2,35,36,54,55,56,219,389,12,4,5,6,7,8,465]))}]};let yw=O2.routePre;const bw=[{path:yw+"/login",name:"login",meta:{title:"登录",hideInMenu:!0},component:()=>Q(()=>import("./index-DwL6ptBU.js"),__vite__mapDeps([466,1,2,116,117,331,332,98,4,5,6,7,8,467]))},{path:"/app/upload",name:"mobile_upload",meta:{auth:!0,title:"手机端扫码上传",kefu:!0},component:()=>Q(()=>import("./index-D6yf77in.js"),__vite__mapDeps([468,1,2,4,5,6,7,8,469]))}];let Ew=O2.routePre;const ls="crud_",Cw={path:Ew+"/crud",name:"crud",header:"crud",redirect:{name:`${ls}crud`},meta:{auth:!0},component:D0,children:[{path:":table_name",name:`${ls}crud`,meta:{auth:!0,title:"增删改查"},component:()=>Q(()=>import("./index-1GFSfALR.js"),__vite__mapDeps([470,1,2,4,5,6,7,8,471]))}]},us=Object.assign({}),ku=[];Object.keys(us).forEach(e=>{const i=us[e];ku.push(i.default)});const ds=Object.assign({"../pages/plugin/aiagent/routes.js":SC,"../pages/plugin/bargain/routes.js":TC,"../pages/plugin/cardkey/routes.js":FC,"../pages/plugin/channel_code/routes.js":PC,"../pages/plugin/combination/routes.js":IC,"../pages/plugin/coupon/routes.js":VC,"../pages/plugin/distribution/routes.js":UC,"../pages/plugin/integral/routes.js":$C,"../pages/plugin/kefu/routes.js":kR,"../pages/plugin/lottery/routes.js":LR,"../pages/plugin/normal/routes.js":OR,"../pages/plugin/outapi/routes.js":DR,"../pages/plugin/seckill/routes.js":HR,"../pages/plugin/system_file_manage/routes.js":NR,"../pages/plugin/virtual/routes.js":UR,"../pages/plugin/wechat_mini/routes.js":$R,"../pages/plugin/wechat_mp/routes.js":KR}),zn=[];Object.keys(ds).forEach(e=>{const i=ds[e],t=i.default||i;Array.isArray(t)?t.forEach(a=>{a.component&&zn.push(a)}):t&&t.component&&zn.push(t)});let j3=O2.routePre;const Mw=[{path:"/",meta:{title:"CRMEB"},redirect:{name:"home_index"},component:D0,children:[{path:j3+"/system/user",name:"systemUser",meta:{auth:!0,title:"个人中心"},component:()=>Q(()=>import("./index-CikBKh7E.js"),__vite__mapDeps([472,1,2,330,49,4,5,6,7,8,128,93,473]))},{path:j3+"/system/files",name:"systemFiles",meta:{auth:["admin-setting-files"],title:"文件管理"},component:()=>Q(()=>import("./index-BrazCYHr.js"),__vite__mapDeps([474,1,2,49,4,5,6,7,8,128,93,475]))},{path:"refresh",name:"refresh",hidden:!0,component:{beforeRouteEnter(e,i,t){t(a=>a.$router.replace(i.fullPath))},render:()=>null}},{path:"redirect/:route*",name:"redirect",hidden:!0,component:{beforeRouteEnter(e,i,t){t(a=>a.$router.replace(JSON.parse(i.params.route)))},render:()=>null}}]},{path:j3,meta:{title:"CRMEB"},redirect:{name:"home_index"},component:D0},{path:j3+"/widget.images/index.html",name:"images",meta:{auth:["admin-user-user-index"],title:"上传图片"},component:()=>Q(()=>import("./widgetImg-CyoW-wLR.js"),__vite__mapDeps([476,1,2,4,5,6,7,8,477]))},{path:j3+"/widget.widgets/icon.html",name:"imagesIcon",meta:{auth:["admin-user-user-index"],title:"上传图标"},component:()=>Q(()=>import("./index-CvoyNpmC.js"),__vite__mapDeps([478,1,2,94,4,5,6,7,8,479]))},{path:j3+"/store.StoreProduct/index.html",name:"storeProduct",meta:{title:"选择商品"},component:()=>Q(()=>import("./index-CYgESPmX.js"),__vite__mapDeps([18,1,2,19,4,5,6,7,8,20]))},{path:j3+"/system.User/list.html",name:"changeUser",meta:{title:"选择用户"},component:()=>Q(()=>import("./index-D9y4vq66.js"),__vite__mapDeps([50,1,2,49,4,5,6,7,8,51]))},{path:j3+"/marketing.Coupon/list.html",name:"couponSelect",meta:{title:"选择优惠券"},component:()=>Q(()=>import("./index-0l_wdoHx.js"),__vite__mapDeps([480,1,2,11,4,5,6,7,8,481]))},{path:j3+"/widget.video/index.html",name:"video",meta:{title:"上传视频"},component:()=>Q(()=>import("./index-CqalUoEe.js"),__vite__mapDeps([482,1,2,4,5,6,7,8,483]))},XR,uw,hw,QR,...zn,mw,YR,ew,fw,nw,iw,ow,sw,vw,gw,xw,...ku,Cw],Bw=bw,Rw=[{path:j3+"/403",name:"403",meta:{title:"403"},component:()=>Q(()=>import("./index-VPoDaoLt.js"),__vite__mapDeps([484,1,2,485,486,4,5,6,7,8]))},{path:j3+"/500",name:"500",meta:{title:"500"},component:()=>Q(()=>import("./index-uYvvEAPv.js"),__vite__mapDeps([487,1,2,485,486,4,5,6,7,8]))},{path:j3+"/:pathMatch(.*)*",name:"404",meta:{title:"404"},component:()=>Q(()=>import("./index-BbAH76-s.js"),__vite__mapDeps([488,1,2,485,486,4,5,6,7,8]))}],ww=[...Mw,...Bw,...Rw],fs=g4("routesList",()=>{const e=P1([]);function i(a){e.value=a}async function t(a){i(a)}return{routesList:e,getRoutesList:i,setRoutesList:t}},{persist:!0});function PO(e,i){const t=[];i.forEach(o=>{const s=o.path||"",c=Tu(o,s);t.push({path:o.path,header:s}),c.forEach(d=>t.push(d))});const a=t.find(o=>{let s=e.meta&&e.meta.activeMenu?e.meta.activeMenu:e.path;return o.path===s?!0:s===Aw(e,o.path)});return a?a.header:null}function Aw(e,i){let t=[],a=[];return Object.keys(e.params).forEach(o=>{t.push(e.params[o])}),Object.keys(e.query).forEach(o=>{a.push(o+"="+e.query[o])}),i+(t.length?"/"+t.join("/"):"")+(a.length?"?"+a.join("&"):"")}function Tu(e,i){return e.children&&e.children.length?e.children.reduce((t,a)=>{t.push({path:a.path,header:i});const o=Tu(a,i);return t.concat(o)},[]):[e]}function DO(e,i=""){return i?e.filter(t=>t.path===i):e}function IO(e){let i=[];return e.forEach(t=>{t.children&&t.children.length?Lu(t).forEach(o=>i.push(o)):i.push(t)}),i}function Lu(e){return e.children&&e.children.length?e.children.reduce((i,t)=>{const a=Lu(t);return i.concat(a)},[]):[e]}const zw=e=>{if(!e||e.length===0)return null;const i=e[0];return i.children?Array.isArray(i.children)?zw(i.children):null:i},Sw=(e,i)=>{let t=i;return e.children?Array.isArray(e.children)?(t.push(e.id),Sw(e.children[0],t)):t:(t.push(e.id),t)},HO=e=>{if(e.length<=0)return!1;for(let i=0;i{e.includes(a)&&(t=!0)}),t)}function Sn(e,i,t){return e.forEach(a=>{let o=a.auth;if(!o||Fu(o,i)){let s={};for(let c in a)c!=="children"&&(s[c]=Yl.cloneDeep(a[c]));a.children&&a.children.length&&(s.children=[]),t.push(s),a.children&&Sn(a.children,i,s.children)}}),t}function Ou(e){return e.children?Ou(e.children[0]):e.path}const kw=g4("menu",()=>{const e=P1([]),i=P1(""),t=P1([]),a=P1(""),o=P1(""),s=P1([]),c=A2(()=>{const z=wn().info.access;return z&&z.length?Sn(t.value,z,[]):Sn(t.value,[],[])}),d=A2(()=>{e.value.forEach(E=>{E.path=Ou(E)});const z=wn().info.access;return z&&z.length?e.value.filter(E=>{let m=!0;return E.auth&&!Fu(E.auth,z)&&(m=!1),m}):e.value.filter(E=>{let m=!0;return E.auth&&E.auth.length&&(m=!1),m})}),p=A2(()=>e.value.find(F=>F.name===a.value)),f=A2(()=>{let F=!1;return p.value&&"hideSider"in p.value&&(F=p.value.hideSider),F});function u(F){t.value=F}function g(F){i.value=F}function h(F){e.value=F}function x(F){a.value=F}function b(F){o.value=F}function w(F){s.value=F}return{header:e,oneMenuName:i,sider:t,headerName:a,activePath:o,openNames:s,filterSider:c,filterHeader:d,currentHeader:p,hideSider:f,setSider:u,setOpenMenuName:g,setHeader:h,setHeaderName:x,setActivePath:b,setOpenNames:w}},{persist:!0});function VO(e){return S1({url:"/login",method:"post",data:e})}function NO(){return S1({url:"/setting/admin/logout",method:"get"})}function qO(){return S1({url:"/login/info",method:"get"})}function Pu(){return S1({url:"/menus",method:"get"})}function Tw(){let e=window.localStorage,i=JSON.parse(e.getItem("menuList"));return(typeof i!="object"||i===null)&&(i=[]),i}const Lw=g4("menus",()=>{const e=P1(Tw()),i=P1([]),t=P1([]),a=P1([]),o=P1([]);function s(g){e.value=g}function c(g){i.value=g}function d(g){a.value=g}function p(g){o.value=g}function f(g){t.value=g}function u(){return new Promise((g,h)=>{Pu().then(async x=>{g(x),s(x.data.menus)}).catch(x=>{h(x)})})}return{menusName:e,openMenus:i,childMenuList:t,oneLvMenus:a,oneLvRoutes:o,getmenusNav:s,setopenMenus:c,setOneLvMenus:d,setOneLvRoute:p,setChildMenuList:f,getMenusNavList:u}},{persist:!0}),Du=g4("userInfo",()=>{const e=P1(null),i=P1([]),t=P1(""),a=P1(""),o=P1(""),s=P1(""),c=P1(""),d=P1(""),p=P1(""),f=P1(""),u=P1({}),g=P1({}),h=P1({}),x=P1({}),b=P1({}),w=P1({});function F(Y){u.value=Y}function z(Y){g.value=Y}function E(Y){x.value=Y}function m(Y){h.value=Y}function y(Y){b.value=Y}function k(Y){w.value=Y}function v(Y){f.value=Y}function M(Y){e.value=Y}function T(Y){e.value.real_name=Y}function R(Y){e.value.head_pic=Y}function B(Y){i.value=Y}function S(Y){t.value=Y}function _(Y){a.value=Y}function A(Y){o.value=Y}function O(Y){s.value=Y}function D(Y){c.value=Y}function H(Y){d.value=Y}function N(Y){p.value=Y}function $(){return new Promise((Y,v1)=>{Pu().then(async t1=>{Y(t1)}).catch(t1=>{v1(t1)})})}return{userInfo:e,uniqueAuth:i,name:t,avatar:a,access:o,logo:s,logoSmall:c,version:d,newOrderAudioLink:p,pageName:f,uploadListDataswiperBg:u,uploadListDatamenus:g,uploadListDataactivity:h,uploadListDatarecommend:x,uploadListDataadsRecommend:b,txtListData:w,uploadListswiperBg:F,uploadListmenus:z,uploadListrecommend:E,uploadListactivity:m,uploadListadsRecommend:y,txtList:k,setPageName:v,setUserInfo:M,userRealName:T,userRealHeadPic:R,setUniqueAuth:B,setName:S,setAvatar:_,setAccess:A,setLogo:O,setLogoSmall:D,setVersion:H,setNewOrderAudioLink:N,getMenusNavList:$}},{persist:!0});function Iu(e,i){let t=!1;return e===!0?!0:typeof i!="object"?!1:(i.forEach(a=>{e.includes(a)&&(t=!0)}),t)}const Fw=".loading-prev{width:100%;height:100%;position:fixed;top:0;left:0;z-index:99999;background-color:var(--prev-bg-white)}.loading-prev .loading-prev-box{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.loading-prev .loading-prev-box-warp{width:80px;height:80px}.loading-prev .loading-prev-box-warp .loading-prev-box-item{width:33.333333%;height:33.333333%;background:var(--prev-color-primary);float:left;-webkit-animation:loading-prev-animation 1.2s infinite ease;animation:loading-prev-animation 1.2s infinite ease;border-radius:1px}.loading-prev .loading-prev-box-warp .loading-prev-box-item:nth-child(7){-webkit-animation-delay:0s;animation-delay:0s}.loading-prev .loading-prev-box-warp .loading-prev-box-item:nth-child(4),.loading-prev .loading-prev-box-warp .loading-prev-box-item:nth-child(8){-webkit-animation-delay:.1s;animation-delay:.1s}.loading-prev .loading-prev-box-warp .loading-prev-box-item:nth-child(1),.loading-prev .loading-prev-box-warp .loading-prev-box-item:nth-child(5),.loading-prev .loading-prev-box-warp .loading-prev-box-item:nth-child(9){-webkit-animation-delay:.2s;animation-delay:.2s}.loading-prev .loading-prev-box-warp .loading-prev-box-item:nth-child(2),.loading-prev .loading-prev-box-warp .loading-prev-box-item:nth-child(6){-webkit-animation-delay:.3s;animation-delay:.3s}.loading-prev .loading-prev-box-warp .loading-prev-box-item:nth-child(3){-webkit-animation-delay:.4s;animation-delay:.4s}@-webkit-keyframes loading-prev-animation{0%,70%,to{-webkit-transform:scale3D(1,1,1);transform:scaleZ(1)}35%{-webkit-transform:scale3D(0,0,1);transform:scale3D(0,0,1)}}@keyframes loading-prev-animation{0%,70%,to{-webkit-transform:scale3D(1,1,1);transform:scaleZ(1)}35%{-webkit-transform:scale3D(0,0,1);transform:scale3D(0,0,1)}}.pl{width:6em;height:6em}.pl__ring{-webkit-animation:ringA 2s linear infinite;animation:ringA 2s linear infinite}.pl__ring--a{stroke:#f42f25}.pl__ring--b{-webkit-animation-name:ringB;animation-name:ringB;stroke:#f49725}.pl__ring--c{-webkit-animation-name:ringC;animation-name:ringC;stroke:#255ff4}.pl__ring--d{-webkit-animation-name:ringD;animation-name:ringD;stroke:#f42582}@-webkit-keyframes ringA{0%,4%{stroke-dasharray:0 660;stroke-width:20;stroke-dashoffset:-330}12%{stroke-dasharray:60 600;stroke-width:30;stroke-dashoffset:-335}32%{stroke-dasharray:60 600;stroke-width:30;stroke-dashoffset:-595}40%,54%{stroke-dasharray:0 660;stroke-width:20;stroke-dashoffset:-660}62%{stroke-dasharray:60 600;stroke-width:30;stroke-dashoffset:-665}82%{stroke-dasharray:60 600;stroke-width:30;stroke-dashoffset:-925}90%,to{stroke-dasharray:0 660;stroke-width:20;stroke-dashoffset:-990}}@keyframes ringA{0%,4%{stroke-dasharray:0 660;stroke-width:20;stroke-dashoffset:-330}12%{stroke-dasharray:60 600;stroke-width:30;stroke-dashoffset:-335}32%{stroke-dasharray:60 600;stroke-width:30;stroke-dashoffset:-595}40%,54%{stroke-dasharray:0 660;stroke-width:20;stroke-dashoffset:-660}62%{stroke-dasharray:60 600;stroke-width:30;stroke-dashoffset:-665}82%{stroke-dasharray:60 600;stroke-width:30;stroke-dashoffset:-925}90%,to{stroke-dasharray:0 660;stroke-width:20;stroke-dashoffset:-990}}@-webkit-keyframes ringB{0%,12%{stroke-dasharray:0 220;stroke-width:20;stroke-dashoffset:-110}20%{stroke-dasharray:20 200;stroke-width:30;stroke-dashoffset:-115}40%{stroke-dasharray:20 200;stroke-width:30;stroke-dashoffset:-195}48%,62%{stroke-dasharray:0 220;stroke-width:20;stroke-dashoffset:-220}70%{stroke-dasharray:20 200;stroke-width:30;stroke-dashoffset:-225}90%{stroke-dasharray:20 200;stroke-width:30;stroke-dashoffset:-305}98%,to{stroke-dasharray:0 220;stroke-width:20;stroke-dashoffset:-330}}@keyframes ringB{0%,12%{stroke-dasharray:0 220;stroke-width:20;stroke-dashoffset:-110}20%{stroke-dasharray:20 200;stroke-width:30;stroke-dashoffset:-115}40%{stroke-dasharray:20 200;stroke-width:30;stroke-dashoffset:-195}48%,62%{stroke-dasharray:0 220;stroke-width:20;stroke-dashoffset:-220}70%{stroke-dasharray:20 200;stroke-width:30;stroke-dashoffset:-225}90%{stroke-dasharray:20 200;stroke-width:30;stroke-dashoffset:-305}98%,to{stroke-dasharray:0 220;stroke-width:20;stroke-dashoffset:-330}}@-webkit-keyframes ringC{0%{stroke-dasharray:0 440;stroke-width:20;stroke-dashoffset:0}8%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-5}28%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-175}36%,58%{stroke-dasharray:0 440;stroke-width:20;stroke-dashoffset:-220}66%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-225}86%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-395}94%,to{stroke-dasharray:0 440;stroke-width:20;stroke-dashoffset:-440}}@keyframes ringC{0%{stroke-dasharray:0 440;stroke-width:20;stroke-dashoffset:0}8%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-5}28%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-175}36%,58%{stroke-dasharray:0 440;stroke-width:20;stroke-dashoffset:-220}66%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-225}86%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-395}94%,to{stroke-dasharray:0 440;stroke-width:20;stroke-dashoffset:-440}}@-webkit-keyframes ringD{0%,8%{stroke-dasharray:0 440;stroke-width:20;stroke-dashoffset:0}16%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-5}36%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-175}44%,50%{stroke-dasharray:0 440;stroke-width:20;stroke-dashoffset:-220}58%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-225}78%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-395}86%,to{stroke-dasharray:0 440;stroke-width:20;stroke-dashoffset:-440}}@keyframes ringD{0%,8%{stroke-dasharray:0 440;stroke-width:20;stroke-dashoffset:0}16%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-5}36%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-175}44%,50%{stroke-dasharray:0 440;stroke-width:20;stroke-dashoffset:-220}58%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-225}78%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-395}86%,to{stroke-dasharray:0 440;stroke-width:20;stroke-dashoffset:-440}}",Ow={setCss:()=>{let e=document.createElement("style");e.textContent=Fw,document.getElementsByTagName("head")[0].appendChild(e)},start:(e="box")=>{const i=document.body,t=document.createElement("div");t.setAttribute("class","loading-prev");const a=` +
+
+
+
+
+
+
+
+
+
+
+
+
+ `,o=` +
+
+ + + + + + +
+
`;t.innerHTML=e=="box"?a:o,i.insertBefore(t,i.childNodes[0])},done:()=>{T3(()=>{setTimeout(()=>{var i;const e=document.querySelector(".loading-prev");e&&((i=e.parentNode)==null||i.removeChild(e))},1e3)})}},M6=ry({routes:ww,history:Ix(O2.routerMode==="hash"?"/admin/":"/")});function Hu(e,i){if(!i||!i.length)return null;for(const t of i){if(t.path===e)return t.menu_name||t.title;if(t.children&&t.children.length){const a=Hu(e,t.children);if(a)return a}}return null}function Pw(e,i){if(!i||!i.length)return null;const t=[];if(function o(s){for(const c of s)c.path&&t.push(c.path),c.children&&c.children.length&&o(c.children)}(i),t.includes(e))return e;const a=e.split("/").filter(Boolean);for(let o=a.length-1;o>0;o--){const s="/"+a.slice(0,o).join("/");if(t.includes(s))return s}return null}function Dw(e,i){const t=kw(),a=Lw();let o=e.meta.activeMenu||e.meta.path;if(o||(o=Pw(e.path,fs().routesList)||e.path),t.setActivePath(o),e.name=="crud_crud"&&a.oneLvRoutes.map(s=>{s.path===e.path&&(e.meta.title=s.title)}),["marketing_bargainCreate","marketing_storeSeckillCreate","marketing_storeIntegralCreate","marketing_storeCouponCreate"].includes(e.name)){let s=e.matched[1].path.split(":")[0];a.oneLvRoutes.map(c=>{s.indexOf(c.path)!=-1&&(e.meta.title=`${e.params.id?c.title+"ID: "+e.params.id:"添加"+c.title}`)})}if(e.name==="product_extPage"){const s=Hu(e.path,fs().routesList);s&&(e.meta.title=s)}}M6.beforeEach(async(e,i,t)=>{if(Dw(e),e.fullPath.indexOf("kefu")!=-1||e.name=="mobile_upload")return t();if(e.matched.some(a=>a.meta.auth)){const a=L5("token");if(a&&a!=="undefined"){const o=Du().uniqueAuth;Iu(e.meta.auth,o),o.length?t():o.length==0?(t({name:"login",query:{redirect:e.fullPath}}),localStorage.clear(),k3("token"),k3("expires_time"),k3("uuid")):t({name:"403"})}else t({name:"login",query:{redirect:e.fullPath}}),localStorage.clear(),k3("token"),k3("expires_time"),k3("uuid")}else t()});M6.afterEach(e=>{gM(e),window.scrollTo(0,0),Ow.done()});const Vu={shortcuts:[{text:"今天",value:()=>[S3().startOf("day").toDate(),new Date]},{text:"昨天",value:()=>[S3().subtract(1,"day").startOf("day").toDate(),S3().subtract(1,"day").endOf("day").toDate()]},{text:"本月",value:()=>[S3().startOf("month").toDate(),new Date]},{text:"上月",value:()=>[S3().subtract(1,"month").startOf("month").toDate(),S3().subtract(1,"month").endOf("month").toDate()]},{text:"最近7天",value:()=>[S3().subtract(7,"day").toDate(),new Date]},{text:"最近30天",value:()=>[S3().subtract(30,"day").toDate(),new Date]},{text:"最近90天",value:()=>[S3().subtract(90,"day").toDate(),new Date]},{text:"最近1年",value:()=>[S3().subtract(1,"year").toDate(),new Date]},{text:"本年",value:()=>[S3().startOf("year").toDate(),new Date]},{text:"去年",value:()=>[S3().subtract(1,"year").startOf("year").toDate(),S3().subtract(1,"year").endOf("year").toDate()]}]},Iw={mounted:(e,i,t)=>{let a=document.querySelector(i.value.trigger);a.style.cursor="move";let o=document.querySelector(i.value.body),s=0,c=0,d=0,p=0,f=!1;const u=x=>{let b=/\(.*\)/.exec(o.style.transform);if(b){b=b[0].slice(1,b[0].length-1);let w=b.split("px, ");d=parseFloat(w[0]),p=parseFloat(w[1].split("px")[0])}s=x.pageX,c=x.pageY,f=!0},g=x=>{let b=x.pageX-s+d,w=x.pageY-c+p;f&&(o.style.transform=`translate(${b}px, ${w}px)`)},h=x=>{f=!1};n9(a,"mousedown",u),n9(document,"mousemove",g),n9(document,"mouseup",h)},updated:(e,i,t)=>{if(!i.value.recover)return;let a=document.querySelector(i.value.body);a.style.transform=""}},Hw={mounted:(e,i)=>{const t=new pl(e,{text:()=>i.value.value});e.__success_callback__=i.value.success,e.__error_callback__=i.value.error,t.on("success",a=>{const o=e.__success_callback__;o&&o(a)}),t.on("error",a=>{const o=e.__error_callback__;o&&o(a)}),e.__clipboard__=t},updated:(e,i)=>{e.__clipboard__.text=()=>i.value.value,e.__success_callback__=i.value.success,e.__error_callback__=i.value.error},unmounted:(e,i)=>{delete e.__success_callback__,delete e.__error_callback__,e.__clipboard__.destroy(),delete e.__clipboard__}},Vw={mounted(e,i,t){const{value:a}=i,o=Du().access;a&&a instanceof Array&&a.length&&o&&o.length&&Iu(a,o)}};function Nw(e){return(M0.get("PERMISSIONS")||["seckill","bargain","combination"]).indexOf(e)>-1}const qw={mounted:function(e,i){let t=i.value;t&&(Nw(t)||e.parentNode&&e.parentNode.removeChild(e))}},Uw={mounted(e,i){e.addEventListener("click",t=>{e.disabled||(e.disabled=!0,e.style.cursor="not-allowed",setTimeout(()=>{e.style.cursor="pointer",e.disabled=!1},1e3))})}},y7={draggable:Iw,clipboard:Hw,auth:Vw,permission:qw,dbClick:Uw},jw=e=>{e.directive("draggable",y7.draggable),e.directive("clipboard",y7.clipboard),e.directive("auth",y7.auth),e.directive("permission",y7.permission),e.directive("dbClick",y7.dbClick)},$w={install(e,i){i&&i.developmentOff}},{plugin:hs}=Jn,Ww={"error-store":$w},Kw=e=>{for(let i in hs){const t=hs[i],a=Ww[i];a&&e.use(a,typeof t=="object"?t:void 0)}};Math.easeInOutQuad=function(e,i,t,a){return e/=a/2,e<1?t/2*e*e+i:(e--,-t/2*(e*(e-2)-1)+i)};var Gw=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function Xw(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function Qw(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function ms(e,i,t){const a=Qw(),o=e-a,s=20;let c=0;i=typeof i>"u"?500:i;var d=function(){c+=s;var p=Math.easeInOutQuad(c,a,o,i);Xw(p),c{const u=m2("el-pagination");return K1(),h2("div",{class:b3([{hidden:e.hidden},"pagination-container"])},[j1(u,Wc({background:e.background,"current-page":o.value,"onUpdate:currentPage":f[0]||(f[0]=g=>o.value=g),"page-size":s.value,"onUpdate:pageSize":f[1]||(f[1]=g=>s.value=g),layout:e.layout,"page-sizes":e.pageSizes,"pager-count":e.pageCount,total:e.total},p.$attrs,{onSizeChange:c,onCurrentChange:d}),null,16,["background","current-page","page-size","layout","page-sizes","pager-count","total"])],2)}}}),Zw=W4(Yw,[["__scopeId","data-v-56a06556"]]),Jw={class:"i-layout-page-header header-title"},eA={class:"header-main"},tA={key:1,class:"header-description"},nA={__name:"index",props:{title:{type:String,default:""},backUrl:{type:String,default:""},description:{type:String,default:""}},setup(e){const i=e,t=sy();function a(){i.backUrl?t.push({path:i.backUrl}):t.back()}return(o,s)=>{const c=m2("InfoFilled"),d=m2("el-icon"),p=V6("db-click");return K1(),h2("div",Jw,[R1("div",eA,[e.backUrl?P2((K1(),h2("div",{key:0,class:"font-sm after-line",onClick:a},[...s[0]||(s[0]=[R1("span",{class:"el-icon-arrow-left"},null,-1),R1("span",{class:"pl10"},"返回",-1)])])),[[p]]):H2("",!0),R1("span",{class:b3(["ivu-page-header-title",{ml10:e.backUrl}])},i0(e.title),3),e.description?(K1(),h2("span",tA,[j1(d,{class:"header-description-icon"},{default:Q1(()=>[j1(c)]),_:1}),C2(" "+i0(e.description),1)])):H2("",!0)]),Nn(o.$slots,"default",{},void 0,!0)])}}},iA=W4(nA,[["__scopeId","data-v-7eb79b6f"]]),aA=Object.assign({name:"DateRangePicker",inheritAttrs:!1},{__name:"index",props:{modelValue:{type:Array,default:()=>[]},width:{type:String,default:"320px"}},emits:["update:modelValue","change"],setup(e,{emit:i}){const t=i,a={modifiers:[{name:"preventOverflow",options:{altAxis:!0,padding:8}}]},o=O_(),s=A2(()=>o.popperOptions||o["popper-options"]),c=A2(()=>{const u=s.value;return u?{...a,...u,modifiers:[...a.modifiers,...u.modifiers||[]]}:a}),d=A2(()=>{const{popperOptions:u,"popper-options":g,...h}=o;return h});function p(u){t("update:modelValue",u)}function f(u){t("change",u)}return(u,g)=>{const h=m2("el-date-picker");return K1(),U2(h,Wc({"model-value":e.modelValue,type:"daterange",shortcuts:y3(Vu).shortcuts,"range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",placement:"bottom-start","popper-options":c.value,style:e.width?{width:e.width,flexGrow:0}:void 0,"onUpdate:modelValue":p,onChange:f},d.value),null,16,["model-value","shortcuts","popper-options","style"])}}}),Nu=Object.assign({name:"common_wrapper"},{__name:"common_wrapper",props:{config:{type:Object,default:null}},setup(e){const i=e,t=A2(()=>{const o=i.config||{},s=o.moduleColor;let c="";if(s&&s.color&&s.color.length){const d=s.color.map(p=>p.item).filter(p=>p);d.length>1?c=`linear-gradient(90deg, ${d[0]} 0%, ${d[1]} 100%)`:d.length===1&&(c=d[0])}else o.bottomBgColor&&o.bottomBgColor.color&&(c=o.bottomBgColor.color[0].item);return{background:c,overflow:"hidden"}}),a=A2(()=>{const o=i.config||{},s=o.marginConfig||{val:0,valList:[{val:0},{val:0},{val:0},{val:0}]},c=o.paddingConfig||{val:0,valList:[{val:0},{val:0},{val:0},{val:0}]},d=o.componentBgConfig,p=o.zIndexConfig,f=o.borderConfig,u=o.shadowConfig,g=o.fillet,h=o.borderRadius||"0",x={marginTop:(s.isAll?s.valList[0].val:s.val)+"px",marginBottom:(s.isAll?s.valList[2].val:s.val)+"px",marginLeft:(s.isAll?s.valList[3].val:s.val)+"px",marginRight:(s.isAll?s.valList[1].val:s.val)+"px",paddingTop:(c.isAll?c.valList[0].val:c.val)+"px",paddingBottom:(c.isAll?c.valList[2].val:c.val)+"px",paddingLeft:(c.isAll?c.valList[3].val:c.val)+"px",paddingRight:(c.isAll?c.valList[1].val:c.val)+"px",overflow:"hidden"};if(d){if(d.tabVal===0){const b=d.colorConfig,w=d.colorDirection;if(b&&b.color){const F=b.color.map(z=>z.item);if(F.length>1){let z="90deg";if(w)switch(w.tabVal){case 0:z="90deg";break;case 1:z="180deg";break;case 2:z="135deg";break;case 3:z="200deg";break}x.background=`linear-gradient(${z}, ${F[0]} 0%, ${F[1]} 100%)`}else x.background=F[0]}}else if(d.tabVal===1){const b=d.imageConfig;b&&b.url&&(x.backgroundImage=`url(${b.url})`,x.backgroundRepeat="no-repeat",x.backgroundSize="cover",x.backgroundPosition="center")}}if(g)if(g.type){const b=g.valList;x.borderRadius=`${b[0].val}px ${b[1].val}px ${b[3].val}px ${b[2].val}px`}else x.borderRadius=g.val+"px";else h!=="0"&&(x.borderRadius=h);if(f&&f.tabVal){const b=f.colorConfig?f.colorConfig.color[0].item:"#000",w=f.widthConfig?f.widthConfig.val:1;let F="solid";if(f.styleConfig){const z=f.styleConfig.tabVal;z===1?F="dashed":z===2&&(F="dotted")}x.border=`${w}px ${F} ${b}`}if(u&&u.tabVal){const b=u.xConfig?u.xConfig.val:0,w=u.yConfig?u.yConfig.val:0,F=u.blurConfig?u.blurConfig.val:0,z=u.spreadConfig?u.spreadConfig.val:0,E=u.colorConfig?u.colorConfig.color[0].item:"#000";x.boxShadow=`${b}px ${w}px ${F}px ${z}px ${E}`}return p&&(x.zIndex=p.val,x.position="relative"),o.textColor&&o.textColor.color&&(x.color=o.textColor.color[0].item),x});return(o,s)=>(K1(),h2("div",{style:f4(t.value)},[R1("div",{style:f4(a.value)},[Nn(o.$slots,"default")],4)],4))}}),UO=Object.freeze(Object.defineProperty({__proto__:null,default:Nu},Symbol.toStringTag,{value:"Module"})),oA=[{icon_id:"48587124",name:"CRMEB-951-AI会话-线性",font_class:"CRMEB-951-AIhuihua-xianxing",unicode:"ecd9",unicode_decimal:60633},{icon_id:"48587125",name:"CRMEB-952-AI会话-面性",font_class:"CRMEB-952-AIhuihua-mianxing",unicode:"ecd8",unicode_decimal:60632},{icon_id:"48586759",name:"CRMEB-956-MCP-面性",font_class:"CRMEB-956-MCP-mianxing",unicode:"ecd5",unicode_decimal:60629},{icon_id:"48586757",name:"CRMEB-954-知识库-面性",font_class:"CRMEB-954-zhishiku-mianxing",unicode:"ecd6",unicode_decimal:60630},{icon_id:"48586758",name:"CRMEB-953-知识库-线性",font_class:"CRMEB-953-zhishiku-xianxing",unicode:"ecd7",unicode_decimal:60631},{icon_id:"48586760",name:"CRMEB-955-MCP-线性",font_class:"CRMEB-955-MCP-xianxing",unicode:"ecd4",unicode_decimal:60628},{icon_id:"48430210",name:"CRMEB-950-箭头-线性",font_class:"CRMEB-950-jiantou-xianxing",unicode:"ecd3",unicode_decimal:60627},{icon_id:"48398709",name:"CRMEB-923-gemini-面性",font_class:"CRMEB-923-gemini-mianxing",unicode:"ecd0",unicode_decimal:60624},{icon_id:"48398708",name:"CRMEB-938-海螺AI-面性",font_class:"CRMEB-938-hailuoAI-mianxing",unicode:"ecd1",unicode_decimal:60625},{icon_id:"48398702",name:"CRMEB-941-日日新-面性",font_class:"CRMEB-941-ririxin-mianxing",unicode:"ecd2",unicode_decimal:60626},{icon_id:"48398486",name:"CRMEB-919-不可链接-线性",font_class:"CRMEB-919-bukelianjie-xianxing",unicode:"ecb4",unicode_decimal:60596},{icon_id:"48398487",name:"CRMEB-920-智谱清言-面性",font_class:"CRMEB-920-zhipuqingyan-mianxing",unicode:"ecb5",unicode_decimal:60597},{icon_id:"48398488",name:"CRMEB-921-chat gpt-面性",font_class:"CRMEB-921-chatgpt-mianxing",unicode:"ecb6",unicode_decimal:60598},{icon_id:"48398489",name:"CRMEB-922-Cloud code-面性",font_class:"CRMEB-922-Cloudcode-mianxing",unicode:"ecb7",unicode_decimal:60599},{icon_id:"48398490",name:"CRMEB-927-百度千帆-面性",font_class:"CRMEB-927-baiduqianfan-mianxing",unicode:"ecb8",unicode_decimal:60600},{icon_id:"48398491",name:"CRMEB-932-智谱AI-面性",font_class:"CRMEB-932-zhipuAI-mianxing",unicode:"ecb9",unicode_decimal:60601},{icon_id:"48398492",name:"CRMEB-930-腾讯元宝-面性",font_class:"CRMEB-930-tengxunyuanbao-mianxing",unicode:"ecba",unicode_decimal:60602},{icon_id:"48398493",name:"CRMEB-924-openclaw-面性",font_class:"CRMEB-924-openclaw-mianxing",unicode:"ecbb",unicode_decimal:60603},{icon_id:"48398494",name:"CRMEB-929-腾讯混元-面性",font_class:"CRMEB-929-tengxunhunyuan-mianxing",unicode:"ecbc",unicode_decimal:60604},{icon_id:"48398495",name:"CRMEB-936-堆友-面性",font_class:"CRMEB-936-duiyou-mianxing",unicode:"ecbd",unicode_decimal:60605},{icon_id:"48398496",name:"CRMEB-935-讯飞星火-面性",font_class:"CRMEB-935-xunfeixinghuo-mianxing",unicode:"ecbe",unicode_decimal:60606},{icon_id:"48398497",name:"CRMEB-937-kimi-面性",font_class:"CRMEB-937-kimi-mianxing",unicode:"ecbf",unicode_decimal:60607},{icon_id:"48398498",name:"CRMEB-939-minimax-面性",font_class:"CRMEB-939-minimax-mianxing",unicode:"ecc0",unicode_decimal:60608},{icon_id:"48398499",name:"CRMEB-931-Workbuddy-面性",font_class:"CRMEB-931-Workbuddy-mianxing",unicode:"ecc1",unicode_decimal:60609},{icon_id:"48398500",name:"CRMEB-934-deepseek-面性",font_class:"CRMEB-934-deepseek-mianxing",unicode:"ecc2",unicode_decimal:60610},{icon_id:"48398501",name:"CRMEB-942-mistral-面性",font_class:"CRMEB-942-mistral-mianxing",unicode:"ecc3",unicode_decimal:60611},{icon_id:"48398502",name:"CRMEB-933-月之暗面-面性",font_class:"CRMEB-933-yuezhianmian-mianxing",unicode:"ecc4",unicode_decimal:60612},{icon_id:"48398503",name:"CRMEB-946-可灵-面性",font_class:"CRMEB-946-keling-mianxing",unicode:"ecc5",unicode_decimal:60613},{icon_id:"48398504",name:"CRMEB-940-百川智能-面性",font_class:"CRMEB-940-baichuanzhineng-mianxing",unicode:"ecc6",unicode_decimal:60614},{icon_id:"48398505",name:"CRMEB-943-liblib-面性",font_class:"CRMEB-943-liblib-mianxing",unicode:"ecc7",unicode_decimal:60615},{icon_id:"48398506",name:"CRMEB-926-文心一言-面性",font_class:"CRMEB-926-wenxinyiyan-mianxing",unicode:"ecc8",unicode_decimal:60616},{icon_id:"48398507",name:"CRMEB-944-佐糖-面性",font_class:"CRMEB-944-zuotang-mianxing",unicode:"ecc9",unicode_decimal:60617},{icon_id:"48398508",name:"CRMEB-945-midjourney-面性",font_class:"CRMEB-945-midjourney-mianxing",unicode:"ecca",unicode_decimal:60618},{icon_id:"48398509",name:"CRMEB-928-通义千问-面性",font_class:"CRMEB-928-tongyiqianwen-mianxing",unicode:"eccb",unicode_decimal:60619},{icon_id:"48398510",name:"CRMEB-949-vidu-面性",font_class:"CRMEB-949-vidu-mianxing",unicode:"eccc",unicode_decimal:60620},{icon_id:"48398511",name:"CRMEB-948-即梦-面性",font_class:"CRMEB-948-jimeng-mianxing",unicode:"eccd",unicode_decimal:60621},{icon_id:"48398512",name:"CRMEB-947-manus-面性",font_class:"CRMEB-947-manus-mianxing",unicode:"ecce",unicode_decimal:60622},{icon_id:"48398513",name:"CRMEB-925-豆包-面性",font_class:"CRMEB-925-doubao-mianxing",unicode:"eccf",unicode_decimal:60623},{icon_id:"48168113",name:"CRMEB-916-分类-线性",font_class:"CRMEB-916-fenlei-xianxing",unicode:"ecb3",unicode_decimal:60595},{icon_id:"48168114",name:"CRMEB-917-分类-面性",font_class:"CRMEB-917-fenlei-mianxing",unicode:"ecb2",unicode_decimal:60594},{icon_id:"48168105",name:"CRMEB-918-复制-线性",font_class:"CRMEB-918-fuzhi-xianxing",unicode:"ecb1",unicode_decimal:60593},{icon_id:"47946490",name:"CRMED-915-网络-线性",font_class:"CRMED-915-wangluo-xianxing",unicode:"ecb0",unicode_decimal:60592},{icon_id:"47794015",name:"CRMED-914-自定义-线性",font_class:"CRMED-914-zidingyi-xianxing",unicode:"ecaf",unicode_decimal:60591},{icon_id:"47625942",name:"CRMEB-913-菜单-线性",font_class:"CRMEB-913-caidan-xianxing",unicode:"ecae",unicode_decimal:60590},{icon_id:"47597009",name:"CRMEB-899-右-线性",font_class:"CRMEB-899-you-xianxing",unicode:"ecad",unicode_decimal:60589},{icon_id:"47596336",name:"CRMEB-507-退货入库-面性",font_class:"CRMEB-507-tuihuoruku-mianxing",unicode:"eca5",unicode_decimal:60581},{icon_id:"47596340",name:"CRMEB-509-总入库数-面性",font_class:"CRMEB-509-zongrukushu-mianxing",unicode:"eca6",unicode_decimal:60582},{icon_id:"47596338",name:"CRMEB-508-总入库数-线性",font_class:"CRMEB-508-zongrukushu-xianxing",unicode:"eca7",unicode_decimal:60583},{icon_id:"47596335",name:"CRMEB-502-采购入库-线性",font_class:"CRMEB-502-caigouruku-xianxing",unicode:"eca8",unicode_decimal:60584},{icon_id:"47596337",name:"CRMEB-506-退货入库-线性",font_class:"CRMEB-506-tuihuoruku-xianxing",unicode:"eca9",unicode_decimal:60585},{icon_id:"47596334",name:"CRMEB-503-采购入库-面性",font_class:"CRMEB-503-caigouruku-mianxing",unicode:"ecaa",unicode_decimal:60586},{icon_id:"47596333",name:"CRMEB-501-盘盈入库-面性",font_class:"CRMEB-501-panyingruku-mianxing",unicode:"ecab",unicode_decimal:60587},{icon_id:"47596332",name:"CRMEB-500-盘盈入库-线性",font_class:"CRMEB-500-panyingruku-xianxing",unicode:"ecac",unicode_decimal:60588},{icon_id:"47596351",name:"CRMEB-516-用券数量-线性",font_class:"CRMEB-516-yongquanshuliang-xianxing",unicode:"ec9c",unicode_decimal:60572},{icon_id:"47596349",name:"CRMEB-517-用券数量-面性",font_class:"CRMEB-517-yongquanshuliang-mianxing",unicode:"ec9d",unicode_decimal:60573},{icon_id:"47596352",name:"CRMEB-515-用券金额-面性",font_class:"CRMEB-515-yongquanjine-mianxing",unicode:"ec9e",unicode_decimal:60574},{icon_id:"47596346",name:"CRMEB-519-储值总金额-面性",font_class:"CRMEB-519-chuzhizongjine-mianxing",unicode:"ec9f",unicode_decimal:60575},{icon_id:"47596343",name:"CRMEB-510-订单金额-线性",font_class:"CRMEB-510-dingdanjine-xianxing",unicode:"eca0",unicode_decimal:60576},{icon_id:"47596344",name:"CRMEB-512-加购件数-线性",font_class:"CRMEB-512-jiagoujianshu-xianxing",unicode:"eca1",unicode_decimal:60577},{icon_id:"47596342",name:"CRMEB-511-订单金额-面性",font_class:"CRMEB-511-dingdanjine-mianxing",unicode:"eca2",unicode_decimal:60578},{icon_id:"47596341",name:"CRMEB-505-其他入库-面性",font_class:"CRMEB-505-qitaruku-mianxing",unicode:"eca3",unicode_decimal:60579},{icon_id:"47596339",name:"CRMEB-504-其他入库-线性",font_class:"CRMEB-504-qitaruku-xianxing",unicode:"eca4",unicode_decimal:60580},{icon_id:"47596358",name:"CRMEB-528-商品支付金额-线性",font_class:"CRMEB-528-shangpinzhifujine-xianxing",unicode:"ec92",unicode_decimal:60562},{icon_id:"47596360",name:"CRMEB-529-商品支付金额-面性",font_class:"CRMEB-529-shangpinzhifujine-mianxing",unicode:"ec93",unicode_decimal:60563},{icon_id:"47596359",name:"CRMEB-531-下单件数-面性",font_class:"CRMEB-531-xiadanjianshu-mianxing",unicode:"ec94",unicode_decimal:60564},{icon_id:"47596356",name:"CRMEB-522-储值退款金额-线性",font_class:"CRMEB-522-chuzhituikuanjine-xianxing",unicode:"ec95",unicode_decimal:60565},{icon_id:"47596355",name:"CRMEB-527-平台手续费-面性",font_class:"CRMEB-527-pingtaishouxufei-mianxing",unicode:"ec96",unicode_decimal:60566},{icon_id:"47596347",name:"CRMEB-513-加购件数-面性",font_class:"CRMEB-513-jiagoujianshu-mianxing",unicode:"ec97",unicode_decimal:60567},{icon_id:"47596348",name:"CRMEB-520-累计储值金额-线性",font_class:"CRMEB-520-leijichuzhijine-xianxing",unicode:"ec98",unicode_decimal:60568},{icon_id:"47596345",name:"CRMEB-521-累计储值金额-面性",font_class:"CRMEB-521-leijichuzhijine-mianxing",unicode:"ec99",unicode_decimal:60569},{icon_id:"47596353",name:"CRMEB-514-用券金额-线性",font_class:"CRMEB-514-yongquanjine-xianxing",unicode:"ec9a",unicode_decimal:60570},{icon_id:"47596354",name:"CRMEB-523-储值退款金额-面性",font_class:"CRMEB-523-chuzhituikuanjine-mianxing",unicode:"ec9b",unicode_decimal:60571},{icon_id:"47596366",name:"CRMEB-532-宫图视图-线性",font_class:"CRMEB-532-gongtushitu-xianxing",unicode:"ec89",unicode_decimal:60553},{icon_id:"47596367",name:"CRMEB-539-积分抵扣金额-面性",font_class:"CRMEB-539-jifendikoujine-mianxing",unicode:"ec8a",unicode_decimal:60554},{icon_id:"47596361",name:"CRMEB-526-平台手续费-线性",font_class:"CRMEB-526-pingtaishouxufei-xianxing",unicode:"ec8b",unicode_decimal:60555},{icon_id:"47596365",name:"CRMEB-536-推广订单数-线性",font_class:"CRMEB-536-tuiguangdingdanshu-xianxing",unicode:"ec8c",unicode_decimal:60556},{icon_id:"47596350",name:"CRMEB-518-储值总金额-线性",font_class:"CRMEB-518-chuzhizongjine-xianxing",unicode:"ec8d",unicode_decimal:60557},{icon_id:"47596364",name:"CRMEB-537-推广订单数-面性",font_class:"CRMEB-537-tuiguangdingdanshu-mianxing",unicode:"ec8e",unicode_decimal:60558},{icon_id:"47596363",name:"CRMEB-530-下单件数-线性",font_class:"CRMEB-530-xiadanjianshu-xianxing",unicode:"ec8f",unicode_decimal:60559},{icon_id:"47596362",name:"CRMEB-535-商户入驻-面性",font_class:"CRMEB-535-shanghuruzhu-mianxing",unicode:"ec90",unicode_decimal:60560},{icon_id:"47596357",name:"CRMEB-524-待开发票-线性",font_class:"CRMEB-524-daikaifapiao-xianxing",unicode:"ec91",unicode_decimal:60561},{icon_id:"47596378",name:"CRMEB-545-待处理用户反馈-面性",font_class:"CRMEB-545-daichuliyonghufankui-mianxing",unicode:"ec7f",unicode_decimal:60543},{icon_id:"47596377",name:"CRMEB-546-交易成功数-线性",font_class:"CRMEB-546-jiaoyichenggongshu-xianxing",unicode:"ec80",unicode_decimal:60544},{icon_id:"47596374",name:"CRMEB-541-支付转化率-面性",font_class:"CRMEB-541-zhifuzhuanhuashuai-mianxing",unicode:"ec81",unicode_decimal:60545},{icon_id:"47596375",name:"CRMEB-543-审核未通过商品-面性",font_class:"CRMEB-543-shenheweitongguoshangpin-mianxing",unicode:"ec82",unicode_decimal:60546},{icon_id:"47596373",name:"CRMEB-542-审核未通过商品-线性",font_class:"CRMEB-542-shenheweitongguoshangpin-xianxing",unicode:"ec83",unicode_decimal:60547},{icon_id:"47596371",name:"CRMEB-538-积分抵扣金额-线性",font_class:"CRMEB-538-jifendikoujine-xianxing",unicode:"ec84",unicode_decimal:60548},{icon_id:"47596370",name:"CRMEB-533-宫图视图-线性",font_class:"CRMEB-533-gongtushitu-xianxing",unicode:"ec85",unicode_decimal:60549},{icon_id:"47596372",name:"CRMEB-540-支付转化率-线性",font_class:"CRMEB-540-zhifuzhuanhuashuai-xianxing",unicode:"ec86",unicode_decimal:60550},{icon_id:"47596368",name:"CRMEB-525-待开发票-面性",font_class:"CRMEB-525-daikaifapiao-mianxing",unicode:"ec87",unicode_decimal:60551},{icon_id:"47596369",name:"CRMEB-534-商户入驻-线性",font_class:"CRMEB-534-shanghuruzhu-xianxing",unicode:"ec88",unicode_decimal:60552},{icon_id:"47596389",name:"CRMEB-561-西餐-面性",font_class:"CRMEB-561-xican-mianxing",unicode:"ec75",unicode_decimal:60533},{icon_id:"47596384",name:"CRMEB-560-西餐-线性",font_class:"CRMEB-560-xican-xianxing",unicode:"ec76",unicode_decimal:60534},{icon_id:"47596386",name:"CRMEB-554-商户交易-线性",font_class:"CRMEB-554-shanghujiaoyi-xianxing",unicode:"ec77",unicode_decimal:60535},{icon_id:"47596382",name:"CRMEB-553-第n件n折-面性",font_class:"CRMEB-553-dinjiannzhe-mianxing",unicode:"ec78",unicode_decimal:60536},{icon_id:"47596383",name:"CRMEB-549-满送活动-面性",font_class:"CRMEB-549-mansonghuodong-mianxing",unicode:"ec79",unicode_decimal:60537},{icon_id:"47596385",name:"CRMEB-559-待使用-面性",font_class:"CRMEB-559-daishiyong-mianxing",unicode:"ec7a",unicode_decimal:60538},{icon_id:"47596381",name:"CRMEB-550-满减满折-线性",font_class:"CRMEB-550-manjianmanzhe-xianxing",unicode:"ec7b",unicode_decimal:60539},{icon_id:"47596380",name:"CRMEB-548-满送活动-线性",font_class:"CRMEB-548-mansonghuodong-xianxing",unicode:"ec7c",unicode_decimal:60540},{icon_id:"47596376",name:"CRMEB-544-待处理用户反馈-线性",font_class:"CRMEB-544-daichuliyonghufankui-xianxing",unicode:"ec7d",unicode_decimal:60541},{icon_id:"47596379",name:"CRMEB-551-满减满折-面性",font_class:"CRMEB-551-manjianmanzhe-mianxing",unicode:"ec7e",unicode_decimal:60542},{icon_id:"47596397",name:"CRMEB-566-食物-线性",font_class:"CRMEB-566-shiwu-xianxing",unicode:"ec6b",unicode_decimal:60523},{icon_id:"47596396",name:"CRMEB-562-餐具-线性",font_class:"CRMEB-562-canju-xianxing",unicode:"ec6c",unicode_decimal:60524},{icon_id:"47596395",name:"CRMEB-567-食物-面性",font_class:"CRMEB-567-shiwu-mianxing",unicode:"ec6d",unicode_decimal:60525},{icon_id:"47596394",name:"CRMEB-564-面条-线性",font_class:"CRMEB-564-miantiao-xianxing",unicode:"ec6e",unicode_decimal:60526},{icon_id:"47596393",name:"CRMEB-558-待使用-线性",font_class:"CRMEB-558-daishiyong-xianxing",unicode:"ec6f",unicode_decimal:60527},{icon_id:"47596390",name:"CRMEB-555-商户交易-面性",font_class:"CRMEB-555-shanghujiaoyi-mianxing",unicode:"ec70",unicode_decimal:60528},{icon_id:"47596392",name:"CRMEB-565-面条-面性",font_class:"CRMEB-565-miantiao-mianxing",unicode:"ec71",unicode_decimal:60529},{icon_id:"47596387",name:"CRMEB-557-交易金额-面性",font_class:"CRMEB-557-jiaoyijine-mianxing",unicode:"ec72",unicode_decimal:60530},{icon_id:"47596391",name:"CRMEB-552-第n件n折-线性",font_class:"CRMEB-552-dinjiannzhe-xianxing",unicode:"ec73",unicode_decimal:60531},{icon_id:"47596388",name:"CRMEB-556-交易金额-线性",font_class:"CRMEB-556-jiaoyijine-xianxing",unicode:"ec74",unicode_decimal:60532},{icon_id:"47596409",name:"CRMEB-577-甜点-面性",font_class:"CRMEB-577-tiandian-mianxing",unicode:"ec60",unicode_decimal:60512},{icon_id:"47596406",name:"CRMEB-581-咖啡-面性",font_class:"CRMEB-581-kafei-mianxing",unicode:"ec61",unicode_decimal:60513},{icon_id:"47596407",name:"CRMEB-580-咖啡-线性",font_class:"CRMEB-580-kafei-xianxing",unicode:"ec62",unicode_decimal:60514},{icon_id:"47596405",name:"CRMEB-571-茶-面性",font_class:"CRMEB-571-cha-mianxing",unicode:"ec63",unicode_decimal:60515},{icon_id:"47596403",name:"CRMEB-573-果汁-面性",font_class:"CRMEB-573-guozhi-mianxing",unicode:"ec64",unicode_decimal:60516},{icon_id:"47596404",name:"CRMEB-572-果汁-线性",font_class:"CRMEB-572-guozhi-xianxing",unicode:"ec65",unicode_decimal:60517},{icon_id:"47596402",name:"CRMEB-574-甜筒-线性",font_class:"CRMEB-574-tiantong-xianxing",unicode:"ec66",unicode_decimal:60518},{icon_id:"47596401",name:"CRMEB-568-红酒-线性",font_class:"CRMEB-568-hongjiu-xianxing",unicode:"ec67",unicode_decimal:60519},{icon_id:"47596399",name:"CRMEB-547-交易成功数-面性",font_class:"CRMEB-547-jiaoyichenggongshu-mianxing",unicode:"ec68",unicode_decimal:60520},{icon_id:"47596400",name:"CRMEB-569-红酒-面性",font_class:"CRMEB-569-hongjiu-mianxing",unicode:"ec69",unicode_decimal:60521},{icon_id:"47596398",name:"CRMEB-563-餐具-面性",font_class:"CRMEB-563-canju-mianxing",unicode:"ec6a",unicode_decimal:60522},{icon_id:"47596418",name:"CRMEB-589-牛排-面性",font_class:"CRMEB-589-niupai-mianxing",unicode:"ec56",unicode_decimal:60502},{icon_id:"47596417",name:"CRMEB-586-鸡肉-线性",font_class:"CRMEB-586-jirou-xianxing",unicode:"ec57",unicode_decimal:60503},{icon_id:"47596416",name:"CRMEB-582-可乐-线性",font_class:"CRMEB-582-kele-xianxing",unicode:"ec58",unicode_decimal:60504},{icon_id:"47596413",name:"CRMEB-576-甜点-线性",font_class:"CRMEB-576-tiandian-xianxing",unicode:"ec59",unicode_decimal:60505},{icon_id:"47596415",name:"CRMEB-583-可乐-面性",font_class:"CRMEB-583-kele-mianxing",unicode:"ec5a",unicode_decimal:60506},{icon_id:"47596410",name:"CRMEB-575-甜筒-面性",font_class:"CRMEB-575-tiantong-mianxing",unicode:"ec5b",unicode_decimal:60507},{icon_id:"47596414",name:"CRMEB-584-薯条-线性",font_class:"CRMEB-584-shutiao-xianxing",unicode:"ec5c",unicode_decimal:60508},{icon_id:"47596411",name:"CRMEB-579-雪糕-面性",font_class:"CRMEB-579-xuegao-mianxing",unicode:"ec5d",unicode_decimal:60509},{icon_id:"47596412",name:"CRMEB-578-雪糕-线性",font_class:"CRMEB-578-xuegao-xianxing",unicode:"ec5e",unicode_decimal:60510},{icon_id:"47596408",name:"CRMEB-570-茶-线性",font_class:"CRMEB-570-cha-xianxing",unicode:"ec5f",unicode_decimal:60511},{icon_id:"47596428",name:"CRMEB-597-冰箱-面性",font_class:"CRMEB-597-bingxiang-mianxing",unicode:"ec4d",unicode_decimal:60493},{icon_id:"47596425",name:"CRMEB-594-类型筛选-线性",font_class:"CRMEB-594-leixingshaixuan-xianxing",unicode:"ec4e",unicode_decimal:60494},{icon_id:"47596427",name:"CRMEB-598-杯子-线性",font_class:"CRMEB-598-beizi-xianxing",unicode:"ec4f",unicode_decimal:60495},{icon_id:"47596422",name:"CRMEB-590-汉堡-线性",font_class:"CRMEB-590-hanbao-xianxing",unicode:"ec50",unicode_decimal:60496},{icon_id:"47596424",name:"CRMEB-593-糖果-面性",font_class:"CRMEB-593-tangguo-mianxing",unicode:"ec51",unicode_decimal:60497},{icon_id:"47596419",name:"CRMEB-585-薯条-面性",font_class:"CRMEB-585-shutiao-mianxing",unicode:"ec52",unicode_decimal:60498},{icon_id:"47596423",name:"CRMEB-591-汉堡-面性",font_class:"CRMEB-591-hanbao-mianxing",unicode:"ec53",unicode_decimal:60499},{icon_id:"47596420",name:"CRMEB-592-糖果-线性",font_class:"CRMEB-592-tangguo-xianxing",unicode:"ec54",unicode_decimal:60500},{icon_id:"47596421",name:"CRMEB-588-牛排-线性",font_class:"CRMEB-588-niupai-xianxing",unicode:"ec55",unicode_decimal:60501},{icon_id:"47596434",name:"CRMEB-587-鸡肉-面性",font_class:"CRMEB-587-jirou-mianxing",unicode:"ec42",unicode_decimal:60482},{icon_id:"47596432",name:"CRMEB-600-樱桃-线性",font_class:"CRMEB-600-yingtao-xianxing",unicode:"ec43",unicode_decimal:60483},{icon_id:"47596438",name:"CRMEB-607-芒果-面性",font_class:"CRMEB-607-mangguo-mianxing",unicode:"ec44",unicode_decimal:60484},{icon_id:"47596439",name:"CRMEB-609-西瓜-面性",font_class:"CRMEB-609-xigua-mianxing",unicode:"ec45",unicode_decimal:60485},{icon_id:"47596437",name:"CRMEB-608-西瓜-线性",font_class:"CRMEB-608-xigua-xianxing",unicode:"ec46",unicode_decimal:60486},{icon_id:"47596431",name:"CRMEB-604-葡萄-线性",font_class:"CRMEB-604-putao-xianxing",unicode:"ec47",unicode_decimal:60487},{icon_id:"47596436",name:"CRMEB-603-苹果-面性",font_class:"CRMEB-603-pingguo-mianxing",unicode:"ec48",unicode_decimal:60488},{icon_id:"47596426",name:"CRMEB-596-冰箱-线性",font_class:"CRMEB-596-bingxiang-xianxing",unicode:"ec49",unicode_decimal:60489},{icon_id:"47596433",name:"CRMEB-602-苹果-线性",font_class:"CRMEB-602-pingguo-xianxing",unicode:"ec4a",unicode_decimal:60490},{icon_id:"47596430",name:"CRMEB-595-类型筛选-面性",font_class:"CRMEB-595-leixingshaixuan-mianxing",unicode:"ec4b",unicode_decimal:60491},{icon_id:"47596429",name:"CRMEB-599-杯子-面性",font_class:"CRMEB-599-beizi-mianxing",unicode:"ec4c",unicode_decimal:60492},{icon_id:"47596450",name:"CRMEB-617-橄榄球-面性",font_class:"CRMEB-617-ganlanqiu-mianxing",unicode:"ec37",unicode_decimal:60471},{icon_id:"47596447",name:"CRMEB-615-梨-面性",font_class:"CRMEB-615-li-mianxing",unicode:"ec38",unicode_decimal:60472},{icon_id:"47596448",name:"CRMEB-620-篮球-线性",font_class:"CRMEB-620-lanqiu-xianxing",unicode:"ec39",unicode_decimal:60473},{icon_id:"47596445",name:"CRMEB-612-桃子-线性",font_class:"CRMEB-612-taozi-xianxing",unicode:"ec3a",unicode_decimal:60474},{icon_id:"47596446",name:"CRMEB-610-橘子-线性",font_class:"CRMEB-610-juzi-xianxing",unicode:"ec3b",unicode_decimal:60475},{icon_id:"47596444",name:"CRMEB-614-梨-线性",font_class:"CRMEB-614-li-xianxing",unicode:"ec3c",unicode_decimal:60476},{icon_id:"47596442",name:"CRMEB-613-桃子-面性",font_class:"CRMEB-613-taozi-mianxing",unicode:"ec3d",unicode_decimal:60477},{icon_id:"47596443",name:"CRMEB-605-葡萄-面性",font_class:"CRMEB-605-putao-mianxing",unicode:"ec3e",unicode_decimal:60478},{icon_id:"47596440",name:"CRMEB-611-橘子-面性",font_class:"CRMEB-611-juzi-mianxing",unicode:"ec3f",unicode_decimal:60479},{icon_id:"47596441",name:"CRMEB-606-芒果-线性",font_class:"CRMEB-606-mangguo-xianxing",unicode:"ec40",unicode_decimal:60480},{icon_id:"47596435",name:"CRMEB-601-樱桃-面性",font_class:"CRMEB-601-yingtao-mianxing",unicode:"ec41",unicode_decimal:60481},{icon_id:"47596460",name:"CRMEB-626-足球-线性",font_class:"CRMEB-626-zuqiu-xianxing",unicode:"ec2c",unicode_decimal:60460},{icon_id:"47596454",name:"CRMEB-624-排球-线性",font_class:"CRMEB-624-paiqiu-xianxing",unicode:"ec2d",unicode_decimal:60461},{icon_id:"47596459",name:"CRMEB-622-网球-线性",font_class:"CRMEB-622-wangqiu-xianxing",unicode:"ec2e",unicode_decimal:60462},{icon_id:"47596458",name:"CRMEB-627-足球-面性",font_class:"CRMEB-627-zuqiu-mianxing",unicode:"ec2f",unicode_decimal:60463},{icon_id:"47596457",name:"CRMEB-628-乒乓球-线性",font_class:"CRMEB-628-pingpangqiu-xianxing",unicode:"ec30",unicode_decimal:60464},{icon_id:"47596456",name:"CRMEB-629-乒乓球-面性",font_class:"CRMEB-629-pingpangqiu-mianxing",unicode:"ec31",unicode_decimal:60465},{icon_id:"47596455",name:"CRMEB-621-篮球-面性",font_class:"CRMEB-621-lanqiu-mianxing",unicode:"ec32",unicode_decimal:60466},{icon_id:"47596449",name:"CRMEB-618-棒球-线性",font_class:"CRMEB-618-bangqiu-xianxing",unicode:"ec33",unicode_decimal:60467},{icon_id:"47596453",name:"CRMEB-619-棒球-面性",font_class:"CRMEB-619-bangqiu-mianxing",unicode:"ec34",unicode_decimal:60468},{icon_id:"47596451",name:"CRMEB-616-橄榄球-线性",font_class:"CRMEB-616-ganlanqiu-xianxing",unicode:"ec35",unicode_decimal:60469},{icon_id:"47596452",name:"CRMEB-625-排球-面性",font_class:"CRMEB-625-paiqiu-mianxing",unicode:"ec36",unicode_decimal:60470},{icon_id:"47596470",name:"CRMEB-641-阴天-面性",font_class:"CRMEB-641-yintian-mianxing",unicode:"ec21",unicode_decimal:60449},{icon_id:"47596471",name:"CRMEB-637-晴天-面性",font_class:"CRMEB-637-qingtian-mianxing",unicode:"ec22",unicode_decimal:60450},{icon_id:"47596469",name:"CRMEB-638-日出-线性",font_class:"CRMEB-638-richu-xianxing",unicode:"ec23",unicode_decimal:60451},{icon_id:"47596468",name:"CRMEB-631-羽毛球-面性",font_class:"CRMEB-631-yumaoqiu-mianxing",unicode:"ec24",unicode_decimal:60452},{icon_id:"47596467",name:"CRMEB-632-夜晚-线性",font_class:"CRMEB-632-yewan-xianxing",unicode:"ec25",unicode_decimal:60453},{icon_id:"47596462",name:"CRMEB-623-网球-面性",font_class:"CRMEB-623-wangqiu-mianxing",unicode:"ec26",unicode_decimal:60454},{icon_id:"47596466",name:"CRMEB-636-晴天-线性",font_class:"CRMEB-636-qingtian-xianxing",unicode:"ec27",unicode_decimal:60455},{icon_id:"47596465",name:"CRMEB-635-月色-面性",font_class:"CRMEB-635-yuese-mianxing",unicode:"ec28",unicode_decimal:60456},{icon_id:"47596464",name:"CRMEB-633-夜晚-面性",font_class:"CRMEB-633-yewan-mianxing",unicode:"ec29",unicode_decimal:60457},{icon_id:"47596461",name:"CRMEB-630-羽毛球-线性",font_class:"CRMEB-630-yumaoqiu-xianxing",unicode:"ec2a",unicode_decimal:60458},{icon_id:"47596463",name:"CRMEB-634-月色-线性",font_class:"CRMEB-634-yuese-xianxing",unicode:"ec2b",unicode_decimal:60459},{icon_id:"47596478",name:"CRMEB-642-晴转多云-线性",font_class:"CRMEB-642-qingzhuanduoyun-xianxing",unicode:"ec16",unicode_decimal:60438},{icon_id:"47596482",name:"CRMEB-648-雨-线性",font_class:"CRMEB-648-yu-xianxing",unicode:"ec17",unicode_decimal:60439},{icon_id:"47596481",name:"CRMEB-649-雨-面性",font_class:"CRMEB-649-yu-mianxing",unicode:"ec18",unicode_decimal:60440},{icon_id:"47596480",name:"CRMEB-650-雪-线性",font_class:"CRMEB-650-xue-xianxing",unicode:"ec19",unicode_decimal:60441},{icon_id:"47596479",name:"CRMEB-644-多云转晴-线性",font_class:"CRMEB-644-duoyunzhuanqing-xianxing",unicode:"ec1a",unicode_decimal:60442},{icon_id:"47596477",name:"CRMEB-645-多云转晴-面性",font_class:"CRMEB-645-duoyunzhuanqing-mianxing",unicode:"ec1b",unicode_decimal:60443},{icon_id:"47596476",name:"CRMEB-640-阴天-线性",font_class:"CRMEB-640-yintian-xianxing",unicode:"ec1c",unicode_decimal:60444},{icon_id:"47596472",name:"CRMEB-643-晴转多云-面性",font_class:"CRMEB-643-qingzhuanduoyun-mianxing",unicode:"ec1d",unicode_decimal:60445},{icon_id:"47596475",name:"CRMEB-647-雷电-面性",font_class:"CRMEB-647-leidian-mianxing",unicode:"ec1e",unicode_decimal:60446},{icon_id:"47596474",name:"CRMEB-646-雷电-线性",font_class:"CRMEB-646-leidian-xianxing",unicode:"ec1f",unicode_decimal:60447},{icon_id:"47596473",name:"CRMEB-639-日出-面性",font_class:"CRMEB-639-richu-mianxing",unicode:"ec20",unicode_decimal:60448},{icon_id:"47596496",name:"CRMEB-664-项目-线性",font_class:"CRMEB-664-xiangmu-xianxing",unicode:"ec0c",unicode_decimal:60428},{icon_id:"47596494",name:"CRMEB-663-AI-面性",font_class:"CRMEB-663-AI-mianxing",unicode:"ec0d",unicode_decimal:60429},{icon_id:"47596492",name:"CRMEB-662-AI-线性",font_class:"CRMEB-662-AI-xianxing",unicode:"ec0e",unicode_decimal:60430},{icon_id:"47596488",name:"CRMEB-656-清理-线性",font_class:"CRMEB-656-qingli-xianxing",unicode:"ec0f",unicode_decimal:60431},{icon_id:"47596486",name:"CRMEB-657-清理-面性",font_class:"CRMEB-657-qingli-mianxing",unicode:"ec10",unicode_decimal:60432},{icon_id:"47596489",name:"CRMEB-654-车辆管理-线性",font_class:"CRMEB-654-cheliangguanli-xianxing",unicode:"ec11",unicode_decimal:60433},{icon_id:"47596490",name:"CRMEB-667-财务管理-面性",font_class:"CRMEB-667-caiwuguanli-mianxing",unicode:"ec12",unicode_decimal:60434},{icon_id:"47596483",name:"CRMEB-652-请假申请-线性",font_class:"CRMEB-652-qingjiashenqing-xianxing",unicode:"ec13",unicode_decimal:60435},{icon_id:"47596487",name:"CRMEB-659-办公-面性",font_class:"CRMEB-659-bangong-mianxing",unicode:"ec14",unicode_decimal:60436},{icon_id:"47596484",name:"CRMEB-655-车辆管理-面性",font_class:"CRMEB-655-cheliangguanli-mianxing",unicode:"ec15",unicode_decimal:60437},{icon_id:"47596504",name:"CRMEB-665-项目-面性",font_class:"CRMEB-665-xiangmu-mianxing",unicode:"ec01",unicode_decimal:60417},{icon_id:"47596502",name:"CRMEB-668-人事-线性",font_class:"CRMEB-668-renshi-xianxing",unicode:"ec02",unicode_decimal:60418},{icon_id:"47596491",name:"CRMEB-661-客户-面性",font_class:"CRMEB-661-kehu-mianxing",unicode:"ec03",unicode_decimal:60419},{icon_id:"47596501",name:"CRMEB-671-行政-面性",font_class:"CRMEB-671-hangzheng-mianxing",unicode:"ec04",unicode_decimal:60420},{icon_id:"47596495",name:"CRMEB-660-客户-线性",font_class:"CRMEB-660-kehu-xianxing",unicode:"ec05",unicode_decimal:60421},{icon_id:"47596497",name:"CRMEB-658-办公-线性",font_class:"CRMEB-658-bangong-xianxing",unicode:"ec06",unicode_decimal:60422},{icon_id:"47596498",name:"CRMEB-666-财务管理-线性",font_class:"CRMEB-666-caiwuguanli-xianxing",unicode:"ec07",unicode_decimal:60423},{icon_id:"47596500",name:"CRMEB-673-云盘-面性",font_class:"CRMEB-673-yunpan-mianxing",unicode:"ec08",unicode_decimal:60424},{icon_id:"47596499",name:"CRMEB-669-人事-面性",font_class:"CRMEB-669-renshi-mianxing",unicode:"ec09",unicode_decimal:60425},{icon_id:"47596485",name:"CRMEB-651-雪-面性",font_class:"CRMEB-651-xue-mianxing",unicode:"ec0a",unicode_decimal:60426},{icon_id:"47596493",name:"CRMEB-653-请假申请-面性",font_class:"CRMEB-653-qingjiashenqing-mianxing",unicode:"ec0b",unicode_decimal:60427},{icon_id:"47596516",name:"CRMEB-683-职位说明-面性",font_class:"CRMEB-683-zhiweishuoming-mianxing",unicode:"ebf6",unicode_decimal:60406},{icon_id:"47596513",name:"CRMEB-687-员工培训-面性",font_class:"CRMEB-687-yuangongpeixun-mianxing",unicode:"ebf7",unicode_decimal:60407},{icon_id:"47596511",name:"CRMEB-682-职位说明-线性",font_class:"CRMEB-682-zhiweishuoming-xianxing",unicode:"ebf8",unicode_decimal:60408},{icon_id:"47596514",name:"CRMEB-679-我的日程-面性",font_class:"CRMEB-679-wodericheng-mianxing",unicode:"ebf9",unicode_decimal:60409},{icon_id:"47596510",name:"CRMEB-685-绩效考核-面性",font_class:"CRMEB-685-jixiaokaohe-mianxing",unicode:"ebfa",unicode_decimal:60410},{icon_id:"47596506",name:"CRMEB-670-行政-线性",font_class:"CRMEB-670-hangzheng-xianxing",unicode:"ebfb",unicode_decimal:60411},{icon_id:"47596508",name:"CRMEB-675-系统-面性",font_class:"CRMEB-675-xitong-mianxing",unicode:"ebfc",unicode_decimal:60412},{icon_id:"47596509",name:"CRMEB-678-我的日程-线性",font_class:"CRMEB-678-wodericheng-xianxing",unicode:"ebfd",unicode_decimal:60413},{icon_id:"47596505",name:"CRMEB-677-工作台-面性",font_class:"CRMEB-677-gongzuotai-mianxing",unicode:"ebfe",unicode_decimal:60414},{icon_id:"47596507",name:"CRMEB-676-工作台-线性",font_class:"CRMEB-676-gongzuotai-xianxing",unicode:"ebff",unicode_decimal:60415},{icon_id:"47596503",name:"CRMEB-672-云盘-线性",font_class:"CRMEB-672-yunpan-xianxing",unicode:"ec00",unicode_decimal:60416},{icon_id:"47596515",name:"CRMEB-681-工作汇报-面性",font_class:"CRMEB-681-gongzuohuibao-mianxing",unicode:"ebf5",unicode_decimal:60405},{icon_id:"47596525",name:"CRMEB-694-客户管理-线性",font_class:"CRMEB-694-kehuguanli-xianxing",unicode:"ebec",unicode_decimal:60396},{icon_id:"47596519",name:"CRMEB-680-工作汇报-线性",font_class:"CRMEB-680-gongzuohuibao-xianxing",unicode:"ebed",unicode_decimal:60397},{icon_id:"47596523",name:"CRMEB-688-考勤统计-线性",font_class:"CRMEB-688-kaoqintongji-xianxing",unicode:"ebee",unicode_decimal:60398},{icon_id:"47596521",name:"CRMEB-686-员工培训-线性",font_class:"CRMEB-686-yuangongpeixun-xianxing",unicode:"ebef",unicode_decimal:60399},{icon_id:"47596522",name:"CRMEB-691-企业通讯录-面性",font_class:"CRMEB-691-qiyetongxunlu-mianxing",unicode:"ebf0",unicode_decimal:60400},{icon_id:"47596512",name:"CRMEB-674-系统-线性",font_class:"CRMEB-674-xitong-xianxing",unicode:"ebf1",unicode_decimal:60401},{icon_id:"47596520",name:"CRMEB-692-线索管理-线性",font_class:"CRMEB-692-xiansuoguanli-xianxing",unicode:"ebf2",unicode_decimal:60402},{icon_id:"47596517",name:"CRMEB-684-绩效考核-线性",font_class:"CRMEB-684-jixiaokaohe-xianxing",unicode:"ebf3",unicode_decimal:60403},{icon_id:"47596518",name:"CRMEB-689-考勤统计-面性",font_class:"CRMEB-689-kaoqintongji-mianxing",unicode:"ebf4",unicode_decimal:60404},{icon_id:"47596528",name:"CRMEB-699-合同订单-面性",font_class:"CRMEB-699-hetongdingdan-mianxing",unicode:"ebe7",unicode_decimal:60391},{icon_id:"47596527",name:"CRMEB-697-商机管理-面性",font_class:"CRMEB-697-shangjiguanli-mianxing",unicode:"ebe8",unicode_decimal:60392},{icon_id:"47596529",name:"CRMEB-696-商机管理-线性",font_class:"CRMEB-696-shangjiguanli-xianxing",unicode:"ebe9",unicode_decimal:60393},{icon_id:"47596526",name:"CRMEB-698-合同订单-线性",font_class:"CRMEB-698-hetongdingdan-xianxing",unicode:"ebea",unicode_decimal:60394},{icon_id:"47596524",name:"CRMEB-690-企业通讯录-线性",font_class:"CRMEB-690-qiyetongxunlu-xianxing",unicode:"ebeb",unicode_decimal:60395},{icon_id:"47596543",name:"CRMEB-712-客户设置-线性",font_class:"CRMEB-712-kehushezhi-xianxing",unicode:"ebdb",unicode_decimal:60379},{icon_id:"47596540",name:"CRMEB-713-客户设置-面性",font_class:"CRMEB-713-kehushezhi-mianxing",unicode:"ebdc",unicode_decimal:60380},{icon_id:"47596539",name:"CRMEB-707-跟进记录-面性",font_class:"CRMEB-707-genjinjilu-mianxing",unicode:"ebdd",unicode_decimal:60381},{icon_id:"47596538",name:"CRMEB-703-发票管理-面性",font_class:"CRMEB-703-fapiaoguanli-mianxing",unicode:"ebde",unicode_decimal:60382},{icon_id:"47596536",name:"CRMEB-704-联系人-线性",font_class:"CRMEB-704-lianxiren-xianxing",unicode:"ebdf",unicode_decimal:60383},{icon_id:"47596537",name:"CRMEB-706-跟进记录-线性",font_class:"CRMEB-706-genjinjilu-xianxing",unicode:"ebe0",unicode_decimal:60384},{icon_id:"47596535",name:"CRMEB-705-联系人-面性",font_class:"CRMEB-705-lianxiren-mianxing",unicode:"ebe1",unicode_decimal:60385},{icon_id:"47596534",name:"CRMEB-700-合同签约-线性",font_class:"CRMEB-700-hetongqianyue-xianxing",unicode:"ebe2",unicode_decimal:60386},{icon_id:"47596530",name:"CRMEB-693-线索管理-面性",font_class:"CRMEB-693-xiansuoguanli-mianxing",unicode:"ebe3",unicode_decimal:60387},{icon_id:"47596533",name:"CRMEB-695-客户管理-面性",font_class:"CRMEB-695-kehuguanli-mianxing",unicode:"ebe4",unicode_decimal:60388},{icon_id:"47596532",name:"CRMEB-701-合同签约-面性",font_class:"CRMEB-701-hetongqianyue-mianxing",unicode:"ebe5",unicode_decimal:60389},{icon_id:"47596531",name:"CRMEB-702-发票管理-线性",font_class:"CRMEB-702-fapiaoguanli-xianxing",unicode:"ebe6",unicode_decimal:60390},{icon_id:"47596554",name:"CRMEB-719-回收站-面性",font_class:"CRMEB-719-huishouzhan-mianxing",unicode:"ebcf",unicode_decimal:60367},{icon_id:"47596552",name:"CRMEB-721-模型设置-面性",font_class:"CRMEB-721-moxingshezhi-mianxing",unicode:"ebd0",unicode_decimal:60368},{icon_id:"47596553",name:"CRMEB-723-我的项目-面性",font_class:"CRMEB-723-wodexiangmu-mianxing",unicode:"ebd1",unicode_decimal:60369},{icon_id:"47596550",name:"CRMEB-718-回收站-线性",font_class:"CRMEB-718-huishouzhan-xianxing",unicode:"ebd2",unicode_decimal:60370},{icon_id:"47596549",name:"CRMEB-716-应用列表-线性",font_class:"CRMEB-716-yingyongliebiao-xianxing",unicode:"ebd3",unicode_decimal:60371},{icon_id:"47596548",name:"CRMEB-717-应用列表-面性",font_class:"CRMEB-717-yingyongliebiao-mianxing",unicode:"ebd4",unicode_decimal:60372},{icon_id:"47596547",name:"CRMEB-714-邮件-线性",font_class:"CRMEB-714-qunfagongju-xianxing",unicode:"ebd5",unicode_decimal:60373},{icon_id:"47596546",name:"CRMEB-714-邮件-面性",font_class:"CRMEB-715-qunfagongju-mianxing",unicode:"ebd6",unicode_decimal:60374},{icon_id:"47596544",name:"CRMEB-711-产品管理-面性",font_class:"CRMEB-711-chanpinguanli-mianxing",unicode:"ebd7",unicode_decimal:60375},{icon_id:"47596541",name:"CRMEB-708-业绩目标-线性",font_class:"CRMEB-708-yejimubiao-xianxing",unicode:"ebd8",unicode_decimal:60376},{icon_id:"47596542",name:"CRMEB-709-业绩目标-面性",font_class:"CRMEB-709-yejimubiao-mianxing",unicode:"ebd9",unicode_decimal:60377},{icon_id:"47596545",name:"CRMEB-710-产品管理-线性",font_class:"CRMEB-710-chanpinguanli-xianxing",unicode:"ebda",unicode_decimal:60378},{icon_id:"47596566",name:"CRMEB-733-企业动态-面性",font_class:"CRMEB-733-qiyedongtai-mianxing",unicode:"ebc3",unicode_decimal:60355},{icon_id:"47596563",name:"CRMEB-735-固定物资-面性",font_class:"CRMEB-735-gudingwuzi-mianxing",unicode:"ebc4",unicode_decimal:60356},{icon_id:"47596564",name:"CRMEB-732-企业动态-线性",font_class:"CRMEB-732-qiyedongtai-xianxing",unicode:"ebc5",unicode_decimal:60357},{icon_id:"47596562",name:"CRMEB-731-财务设置-面性",font_class:"CRMEB-731-caiwushezhi-mianxing",unicode:"ebc6",unicode_decimal:60358},{icon_id:"47596560",name:"CRMEB-729-开票管理-面性",font_class:"CRMEB-729-kaipiaoguanli-mianxing",unicode:"ebc7",unicode_decimal:60359},{icon_id:"47596561",name:"CRMEB-724-我的任务-线性",font_class:"CRMEB-724-woderenwu-xianxing",unicode:"ebc8",unicode_decimal:60360},{icon_id:"47596559",name:"CRMEB-727-账目记录-面性",font_class:"CRMEB-727-zhangmujilu-mianxing",unicode:"ebc9",unicode_decimal:60361},{icon_id:"47596557",name:"CRMEB-728-开票管理-线性",font_class:"CRMEB-728-kaipiaoguanli-xianxing",unicode:"ebca",unicode_decimal:60362},{icon_id:"47596558",name:"CRMEB-726-账目记录-线性",font_class:"CRMEB-726-zhangmujilu-xianxing",unicode:"ebcb",unicode_decimal:60363},{icon_id:"47596556",name:"CRMEB-725-我的任务-面性",font_class:"CRMEB-725-woderenwu-mianxing",unicode:"ebcc",unicode_decimal:60364},{icon_id:"47596555",name:"CRMEB-720-模型设置-线性",font_class:"CRMEB-720-moxingshezhi-xianxing",unicode:"ebcd",unicode_decimal:60365},{icon_id:"47596551",name:"CRMEB-722-我的项目-线性",font_class:"CRMEB-722-wodexiangmu-xianxing",unicode:"ebce",unicode_decimal:60366},{icon_id:"47596577",name:"CRMEB-747-系统设置-面性",font_class:"CRMEB-747-xitongshezhi-mianxing",unicode:"ebb8",unicode_decimal:60344},{icon_id:"47596574",name:"CRMEB-743-应用搭建-面性",font_class:"CRMEB-743-yingyongdajian-mianxing",unicode:"ebb9",unicode_decimal:60345},{icon_id:"47596573",name:"CRMEB-744-锁定-线性",font_class:"CRMEB-744-suoding-xianxing",unicode:"ebba",unicode_decimal:60346},{icon_id:"47596575",name:"CRMEB-740-企业信息-线性",font_class:"CRMEB-740-qiyexinxi-xianxing",unicode:"ebbb",unicode_decimal:60347},{icon_id:"47596572",name:"CRMEB-741-企业信息-面性",font_class:"CRMEB-741-qiyexinxi-mianxing",unicode:"ebbc",unicode_decimal:60348},{icon_id:"47596571",name:"CRMEB-738-物资概览-线性",font_class:"CRMEB-738-wuzigailan-xianxing",unicode:"ebbd",unicode_decimal:60349},{icon_id:"47596569",name:"CRMEB-736-消耗物资-线性",font_class:"CRMEB-736-xiaohaowuzi-xianxing",unicode:"ebbe",unicode_decimal:60350},{icon_id:"47596570",name:"CRMEB-739-物资概览-面性",font_class:"CRMEB-739-wuzigailan-mianxing",unicode:"ebbf",unicode_decimal:60351},{icon_id:"47596568",name:"CRMEB-737-消耗物资-面性",font_class:"CRMEB-737-xiaohaowuzi-mianxing",unicode:"ebc0",unicode_decimal:60352},{icon_id:"47596565",name:"CRMEB-734-固定物资-线性",font_class:"CRMEB-734-gudingwuzi-xianxing",unicode:"ebc1",unicode_decimal:60353},{icon_id:"47596567",name:"CRMEB-730-财务设置-线性",font_class:"CRMEB-730-caiwushezhi-xianxing",unicode:"ebc2",unicode_decimal:60354},{icon_id:"47596588",name:"CRMEB-756-职位管理-线性",font_class:"CRMEB-756-zhiweiguanli-xianxing",unicode:"ebac",unicode_decimal:60332},{icon_id:"47596587",name:"CRMEB-754-考勤管理-线性",font_class:"CRMEB-754-kaoqinguanli-xianxing",unicode:"ebad",unicode_decimal:60333},{icon_id:"47596586",name:"CRMEB-753-员工档案-面性",font_class:"CRMEB-753-yuangongdangan-mianxing",unicode:"ebae",unicode_decimal:60334},{icon_id:"47596584",name:"CRMEB-748-消息中心-线性",font_class:"CRMEB-748-xiaoxizhongxin-xianxing",unicode:"ebaf",unicode_decimal:60335},{icon_id:"47596585",name:"CRMEB-755-考勤管理-面性",font_class:"CRMEB-755-kaoqinguanli-mianxing",unicode:"ebb0",unicode_decimal:60336},{icon_id:"47596581",name:"CRMEB-752-员工档案-线性",font_class:"CRMEB-752-yuangongdangan-xianxing",unicode:"ebb1",unicode_decimal:60337},{icon_id:"47596583",name:"CRMEB-749-消息中心-面性",font_class:"CRMEB-749-xiaoxizhongxin-mianxing",unicode:"ebb2",unicode_decimal:60338},{icon_id:"47596582",name:"CRMEB-750-组织架构-线性",font_class:"CRMEB-750-zuzhijiagou-xianxing",unicode:"ebb3",unicode_decimal:60339},{icon_id:"47596580",name:"CRMEB-751-组织架构-面性",font_class:"CRMEB-751-zuzhijiagou-mianxing",unicode:"ebb4",unicode_decimal:60340},{icon_id:"47596579",name:"CRMEB-746-系统设置-线性",font_class:"CRMEB-746-xitongshezhi-xianxing",unicode:"ebb5",unicode_decimal:60341},{icon_id:"47596578",name:"CRMEB-745-锁定-面性",font_class:"CRMEB-745-suoding-mianxing",unicode:"ebb6",unicode_decimal:60342},{icon_id:"47596576",name:"CRMEB-742-应用搭建-线性",font_class:"CRMEB-742-yingyongdajian-xianxing",unicode:"ebb7",unicode_decimal:60343},{icon_id:"47596600",name:"CRMEB-766-出差报销-线性",font_class:"CRMEB-766-chuchabaoxiao-xianxing",unicode:"eba0",unicode_decimal:60320},{icon_id:"47596597",name:"CRMEB-767-出差报销-面性",font_class:"CRMEB-767-chuchabaoxiao-mianxing",unicode:"eba1",unicode_decimal:60321},{icon_id:"47596599",name:"CRMEB-768-补卡-线性",font_class:"CRMEB-768-buka-xianxing",unicode:"eba2",unicode_decimal:60322},{icon_id:"47596598",name:"CRMEB-765-申请发票-面性",font_class:"CRMEB-765-shenqingfapiao-mianxing",unicode:"eba3",unicode_decimal:60323},{icon_id:"47596596",name:"CRMEB-764-申请发票-线性",font_class:"CRMEB-764-shenqingfapiao-xianxing",unicode:"eba4",unicode_decimal:60324},{icon_id:"47596595",name:"CRMEB-763-汇报管理-面性",font_class:"CRMEB-763-huibaoguanli-mianxing",unicode:"eba5",unicode_decimal:60325},{icon_id:"47596594",name:"CRMEB-762-汇报管理-线性",font_class:"CRMEB-762-huibaoguanli-xianxing",unicode:"eba6",unicode_decimal:60326},{icon_id:"47596593",name:"CRMEB-758-办公审批-线性",font_class:"CRMEB-758-bangongshenpi-xianxing",unicode:"eba7",unicode_decimal:60327},{icon_id:"47596592",name:"CRMEB-760-辅助工具-线性",font_class:"CRMEB-760-fuzhugongju-xianxing",unicode:"eba8",unicode_decimal:60328},{icon_id:"47596591",name:"CRMEB-757-职位管理-面性",font_class:"CRMEB-757-zhiweiguanli-mianxing",unicode:"eba9",unicode_decimal:60329},{icon_id:"47596590",name:"CRMEB-759-办公审批-面性",font_class:"CRMEB-759-bangongshenpi-mianxing",unicode:"ebaa",unicode_decimal:60330},{icon_id:"47596589",name:"CRMEB-761-辅助工具-面性",font_class:"CRMEB-761-fuzhugongju-mianxing",unicode:"ebab",unicode_decimal:60331},{icon_id:"47596609",name:"CRMEB-781-物品-面性",font_class:"CRMEB-781-wupin-mianxing",unicode:"eb97",unicode_decimal:60311},{icon_id:"47596608",name:"CRMEB-776-用章-线性",font_class:"CRMEB-776-yongzhang-xianxing",unicode:"eb98",unicode_decimal:60312},{icon_id:"47596607",name:"CRMEB-774-采购-线性",font_class:"CRMEB-774-caigou-xianxing",unicode:"eb99",unicode_decimal:60313},{icon_id:"47596606",name:"CRMEB-777-用章-面性",font_class:"CRMEB-777-yongzhang-mianxing",unicode:"eb9a",unicode_decimal:60314},{icon_id:"47596605",name:"CRMEB-772-外出-线性",font_class:"CRMEB-772-waichu-xianxing",unicode:"eb9b",unicode_decimal:60315},{icon_id:"47596604",name:"CRMEB-771-加班-面性",font_class:"CRMEB-771-jiaban-mianxing",unicode:"eb9c",unicode_decimal:60316},{icon_id:"47596601",name:"CRMEB-769-补卡-面性",font_class:"CRMEB-769-buka-mianxing",unicode:"eb9d",unicode_decimal:60317},{icon_id:"47596602",name:"CRMEB-773-外出-面性",font_class:"CRMEB-773-waichu-mianxing",unicode:"eb9e",unicode_decimal:60318},{icon_id:"47596603",name:"CRMEB-770-加班-线性",font_class:"CRMEB-770-jiaban-xianxing",unicode:"eb9f",unicode_decimal:60319},{icon_id:"47596621",name:"CRMEB-782-转正申请-线性",font_class:"CRMEB-782-zhuanzhengshenqing-xianxing",unicode:"eb8b",unicode_decimal:60299},{icon_id:"47596620",name:"CRMEB-789-加添支出-面性",font_class:"CRMEB-789-jiatianzhichu-mianxing",unicode:"eb8c",unicode_decimal:60300},{icon_id:"47596619",name:"CRMEB-788-加添支出-线性",font_class:"CRMEB-788-jiatianzhichu-xianxing",unicode:"eb8d",unicode_decimal:60301},{icon_id:"47596618",name:"CRMEB-787-调岗申请-面性",font_class:"CRMEB-787-tiaogangshenqing-mianxing",unicode:"eb8e",unicode_decimal:60302},{icon_id:"47596615",name:"CRMEB-775-采购-面性",font_class:"CRMEB-775-caigou-mianxing",unicode:"eb8f",unicode_decimal:60303},{icon_id:"47596617",name:"CRMEB-785-离职申请-面性",font_class:"CRMEB-785-lizhishenqing-mianxing",unicode:"eb90",unicode_decimal:60304},{icon_id:"47596616",name:"CRMEB-783-转正申请-面性",font_class:"CRMEB-783-zhuanzhengshenqing-mianxing",unicode:"eb91",unicode_decimal:60305},{icon_id:"47596613",name:"CRMEB-786-调岗申请-线性",font_class:"CRMEB-786-tiaogangshenqing-xianxing",unicode:"eb92",unicode_decimal:60306},{icon_id:"47596614",name:"CRMEB-784-离职申请-线性",font_class:"CRMEB-784-lizhishenqing-xianxing",unicode:"eb93",unicode_decimal:60307},{icon_id:"47596611",name:"CRMEB-778-入职申请-线性",font_class:"CRMEB-778-ruzhishenqing-xianxing",unicode:"eb94",unicode_decimal:60308},{icon_id:"47596612",name:"CRMEB-779-入职申请-面性",font_class:"CRMEB-779-ruzhishenqing-mianxing",unicode:"eb95",unicode_decimal:60309},{icon_id:"47596610",name:"CRMEB-780-物品-线性",font_class:"CRMEB-780-wupin-xianxing",unicode:"eb96",unicode_decimal:60310},{icon_id:"47596635",name:"CRMEB-796-居家办公申请-线性",font_class:"CRMEB-796-jujiabangongshenqing-xianxing",unicode:"eb82",unicode_decimal:60290},{icon_id:"47596634",name:"CRMEB-802-周-线性",font_class:"CRMEB-802-zhou-xianxing",unicode:"eb83",unicode_decimal:60291},{icon_id:"47596632",name:"CRMEB-806-参加培训-线性",font_class:"CRMEB-806-canjiapeixun-xianxing",unicode:"eb84",unicode_decimal:60292},{icon_id:"47596631",name:"CRMEB-807-参加培训-面性",font_class:"CRMEB-807-canjiapeixun-mianxing",unicode:"eb85",unicode_decimal:60293},{icon_id:"47596630",name:"CRMEB-798-日-线性",font_class:"CRMEB-798-ri-xianxing",unicode:"eb86",unicode_decimal:60294},{icon_id:"47596629",name:"CRMEB-792-添加回款-线性",font_class:"CRMEB-792-tianjiahuikuan-xianxing",unicode:"eb87",unicode_decimal:60295},{icon_id:"47596625",name:"CRMEB-793-添加回款-面性",font_class:"CRMEB-793-tianjiahuikuan-mianxing",unicode:"eb88",unicode_decimal:60296},{icon_id:"47596624",name:"CRMEB-791-添加续费-面性",font_class:"CRMEB-791-tianjiaxufei-mianxing",unicode:"eb89",unicode_decimal:60297},{icon_id:"47596623",name:"CRMEB-790-添加续费-线性",font_class:"CRMEB-790-tianjiaxufei-xianxing",unicode:"eb8a",unicode_decimal:60298},{icon_id:"47596645",name:"CRMEB-811-其他通用-面性",font_class:"CRMEB-811-qitatongyong-mianxing",unicode:"eb78",unicode_decimal:60280},{icon_id:"47596644",name:"CRMEB-809-发起会议-面性",font_class:"CRMEB-809-faqihuiyi-mianxing",unicode:"eb79",unicode_decimal:60281},{icon_id:"47596642",name:"CRMEB-803-周-面性",font_class:"CRMEB-803-zhou-mianxing",unicode:"eb7a",unicode_decimal:60282},{icon_id:"47596640",name:"CRMEB-805-物品领用-面性",font_class:"CRMEB-805-wupinlingyong-mianxing",unicode:"eb7b",unicode_decimal:60283},{icon_id:"47596639",name:"CRMEB-804-物品领用-线性",font_class:"CRMEB-804-wupinlingyong-xianxing",unicode:"eb7c",unicode_decimal:60284},{icon_id:"47596641",name:"CRMEB-801-月-面性",font_class:"CRMEB-801-yue-mianxing",unicode:"eb7d",unicode_decimal:60285},{icon_id:"47596638",name:"CRMEB-799-日-面性",font_class:"CRMEB-799-ri-mianxing",unicode:"eb7e",unicode_decimal:60286},{icon_id:"47596633",name:"CRMEB-797-居家办公申请-面性",font_class:"CRMEB-797-jujiabangongshenqing-mianxing",unicode:"eb7f",unicode_decimal:60287},{icon_id:"47596637",name:"CRMEB-794-车辆申请-线性",font_class:"CRMEB-794-cheliangshenqing-xianxing",unicode:"eb80",unicode_decimal:60288},{icon_id:"47596636",name:"CRMEB-800-月-线性",font_class:"CRMEB-800-yue-xianxing",unicode:"eb81",unicode_decimal:60289},{icon_id:"47596656",name:"CRMEB-820-收音机-线性",font_class:"CRMEB-820-shouyinji-xianxing",unicode:"eb6c",unicode_decimal:60268},{icon_id:"47596655",name:"CRMEB-816-奖励单-线性",font_class:"CRMEB-816-jianglidan-xianxing",unicode:"eb6d",unicode_decimal:60269},{icon_id:"47596653",name:"CRMEB-819-产品发布-面性",font_class:"CRMEB-819-chanpinfabu-mianxing",unicode:"eb6e",unicode_decimal:60270},{icon_id:"47596654",name:"CRMEB-818-产品发布-线性",font_class:"CRMEB-818-chanpinfabu-xianxing",unicode:"eb6f",unicode_decimal:60271},{icon_id:"47596652",name:"CRMEB-817-奖励单-面性",font_class:"CRMEB-817-jianglidan-mianxing",unicode:"eb70",unicode_decimal:60272},{icon_id:"47596651",name:"CRMEB-812-借款申请-线性",font_class:"CRMEB-812-jiekuanshenqing-xianxing",unicode:"eb71",unicode_decimal:60273},{icon_id:"47596650",name:"CRMEB-808-发起会议-线性",font_class:"CRMEB-808-faqihuiyi-xianxing",unicode:"eb72",unicode_decimal:60274},{icon_id:"47596648",name:"CRMEB-815-处罚单-面性",font_class:"CRMEB-815-chufadan-mianxing",unicode:"eb73",unicode_decimal:60275},{icon_id:"47596649",name:"CRMEB-813-借款申请-面性",font_class:"CRMEB-813-jiekuanshenqing-mianxing",unicode:"eb74",unicode_decimal:60276},{icon_id:"47596646",name:"CRMEB-810-其他通用-线性",font_class:"CRMEB-810-qitatongyong-xianxing",unicode:"eb75",unicode_decimal:60277},{icon_id:"47596647",name:"CRMEB-814-处罚单-线性",font_class:"CRMEB-814-chufadan-xianxing",unicode:"eb76",unicode_decimal:60278},{icon_id:"47596643",name:"CRMEB-795-车辆申请-面性",font_class:"CRMEB-795-cheliangshenqing-mianxing",unicode:"eb77",unicode_decimal:60279},{icon_id:"47596668",name:"CRMEB-821-收音机-面性",font_class:"CRMEB-821-shouyinji-mianxing",unicode:"eb60",unicode_decimal:60256},{icon_id:"47596666",name:"CRMEB-833-wav-面性",font_class:"CRMEB-833-wav-mianxing",unicode:"eb61",unicode_decimal:60257},{icon_id:"47596667",name:"CRMEB-828-svg-面性",font_class:"CRMEB-828-svg-mianxing",unicode:"eb62",unicode_decimal:60258},{icon_id:"47596663",name:"CRMEB-826-gif-面性",font_class:"CRMEB-826-gif-mianxing",unicode:"eb63",unicode_decimal:60259},{icon_id:"47596665",name:"CRMEB-829-css-面性",font_class:"CRMEB-829-css-mianxing",unicode:"eb64",unicode_decimal:60260},{icon_id:"47596664",name:"CRMEB-824-md-面性",font_class:"CRMEB-824-md-mianxing",unicode:"eb65",unicode_decimal:60261},{icon_id:"47596662",name:"CRMEB-832-xd-面性",font_class:"CRMEB-832-xd-mianxing",unicode:"eb66",unicode_decimal:60262},{icon_id:"47596659",name:"CRMEB-830-mp4-面性",font_class:"CRMEB-830-mp4-mianxing",unicode:"eb67",unicode_decimal:60263},{icon_id:"47596661",name:"CRMEB-827-ps-面性",font_class:"CRMEB-827-ps-mianxing",unicode:"eb68",unicode_decimal:60264},{icon_id:"47596660",name:"CRMEB-823-Xmind-面性",font_class:"CRMEB-823-Xmind-mianxing",unicode:"eb69",unicode_decimal:60265},{icon_id:"47596658",name:"CRMEB-831-avi-面性",font_class:"CRMEB-831-avi-mianxing",unicode:"eb6a",unicode_decimal:60266},{icon_id:"47596657",name:"CRMEB-825-tiff-面性",font_class:"CRMEB-825-tiff-mianxing",unicode:"eb6b",unicode_decimal:60267},{icon_id:"47596682",name:"CRMEB-848-sketch-面性",font_class:"CRMEB-848-sketch-mianxing",unicode:"eb53",unicode_decimal:60243},{icon_id:"47596680",name:"CRMEB-846-pdf-面性",font_class:"CRMEB-846-pdf-mianxing",unicode:"eb54",unicode_decimal:60244},{icon_id:"47596677",name:"CRMEB-841-bmp-面性",font_class:"CRMEB-841-bmp-mianxing",unicode:"eb55",unicode_decimal:60245},{icon_id:"47596678",name:"CRMEB-838-ppt-面性",font_class:"CRMEB-838-ppt-mianxing",unicode:"eb56",unicode_decimal:60246},{icon_id:"47596679",name:"CRMEB-843-raw-面性",font_class:"CRMEB-843-raw-mianxing",unicode:"eb57",unicode_decimal:60247},{icon_id:"47596675",name:"CRMEB-842-excel-面性",font_class:"CRMEB-842-excel-mianxing",unicode:"eb58",unicode_decimal:60248},{icon_id:"47596676",name:"CRMEB-840-axure-面性",font_class:"CRMEB-840-axure-mianxing",unicode:"eb59",unicode_decimal:60249},{icon_id:"47596673",name:"CRMEB-837-mov-面性",font_class:"CRMEB-837-mov-mianxing",unicode:"eb5a",unicode_decimal:60250},{icon_id:"47596672",name:"CRMEB-839-apk-面性",font_class:"CRMEB-839-apk-mianxing",unicode:"eb5b",unicode_decimal:60251},{icon_id:"47596674",name:"CRMEB-836-word-面性",font_class:"CRMEB-836-word-mianxing",unicode:"eb5c",unicode_decimal:60252},{icon_id:"47596671",name:"CRMEB-834-jpg-面性",font_class:"CRMEB-834-jpg-mianxing",unicode:"eb5d",unicode_decimal:60253},{icon_id:"47596670",name:"CRMEB-835-flv-面性",font_class:"CRMEB-835-flv-mianxing",unicode:"eb5e",unicode_decimal:60254},{icon_id:"47596669",name:"CRMEB-822-ai-面性",font_class:"CRMEB-822-ai-mianxing",unicode:"eb5f",unicode_decimal:60255},{icon_id:"47596692",name:"CRMEB-856-上外边距-线性",font_class:"CRMEB-856-shangwaibianju-xianxing",unicode:"eb48",unicode_decimal:60232},{icon_id:"47596690",name:"CRMEB-847-csv-面性",font_class:"CRMEB-847-csv-mianxing",unicode:"eb49",unicode_decimal:60233},{icon_id:"47596691",name:"CRMEB-854-导出-线性",font_class:"CRMEB-854-daochu-xianxing",unicode:"eb4a",unicode_decimal:60234},{icon_id:"47596689",name:"CRMEB-853-后退-线性",font_class:"CRMEB-853-houtui-xianxing",unicode:"eb4b",unicode_decimal:60235},{icon_id:"47596688",name:"CRMEB-850-mp3-面性",font_class:"CRMEB-850-mp3-mianxing",unicode:"eb4c",unicode_decimal:60236},{icon_id:"47596687",name:"CRMEB-852-前进-线性",font_class:"CRMEB-852-qianjin-xianxing",unicode:"eb4d",unicode_decimal:60237},{icon_id:"47596686",name:"CRMEB-855-下载-线性",font_class:"CRMEB-855-xiazai-xianxing",unicode:"eb4e",unicode_decimal:60238},{icon_id:"47596684",name:"CRMEB-844-png-面性",font_class:"CRMEB-844-png-mianxing",unicode:"eb4f",unicode_decimal:60239},{icon_id:"47596685",name:"CRMEB-849-html-面性",font_class:"CRMEB-849-html-mianxing",unicode:"eb50",unicode_decimal:60240},{icon_id:"47596683",name:"CRMEB-851-zip-面性",font_class:"CRMEB-851-zip-mianxing",unicode:"eb51",unicode_decimal:60241},{icon_id:"47596681",name:"CRMEB-845-eps-面性",font_class:"CRMEB-845-eps-mianxing",unicode:"eb52",unicode_decimal:60242},{icon_id:"47596705",name:"CRMEB-870-用户4-线性",font_class:"CRMEB-870-yonghu4-xianxing",unicode:"eb3b",unicode_decimal:60219},{icon_id:"47596704",name:"CRMEB-867-附件-线性",font_class:"CRMEB-867-fujian-xianxing",unicode:"eb3c",unicode_decimal:60220},{icon_id:"47596699",name:"CRMEB-860-上内边距-线性",font_class:"CRMEB-860-shangneibianju-xianxing",unicode:"eb3d",unicode_decimal:60221},{icon_id:"47596703",name:"CRMEB-865-排序3-线性",font_class:"CRMEB-865-paixu3-xianxing",unicode:"eb3e",unicode_decimal:60222},{icon_id:"47596702",name:"CRMEB-868-附件-线性",font_class:"CRMEB-868-fujian-xianxing",unicode:"eb3f",unicode_decimal:60223},{icon_id:"47596701",name:"CRMEB-864-切换-线性",font_class:"CRMEB-864-qiehuan-xianxing",unicode:"eb40",unicode_decimal:60224},{icon_id:"47596700",name:"CRMEB-866-链接-线性",font_class:"CRMEB-866-lianjie-xianxing",unicode:"eb41",unicode_decimal:60225},{icon_id:"47596698",name:"CRMEB-859-右外边距-线性",font_class:"CRMEB-859-youwaibianju-xianxing",unicode:"eb42",unicode_decimal:60226},{icon_id:"47596695",name:"CRMEB-857-下外边距-线性",font_class:"CRMEB-857-xiawaibianju-xianxing",unicode:"eb43",unicode_decimal:60227},{icon_id:"47596697",name:"CRMEB-858-左外边距-线性",font_class:"CRMEB-858-zuowaibianju-xianxing",unicode:"eb44",unicode_decimal:60228},{icon_id:"47596694",name:"CRMEB-862-左边距-线性",font_class:"CRMEB-862-zuobianju-xianxing",unicode:"eb45",unicode_decimal:60229},{icon_id:"47596696",name:"CRMEB-861-下内边距-线性",font_class:"CRMEB-861-xianeibianju-xianxing",unicode:"eb46",unicode_decimal:60230},{icon_id:"47596693",name:"CRMEB-863-右内边距-线性",font_class:"CRMEB-863-youneibianju-xianxing",unicode:"eb47",unicode_decimal:60231},{icon_id:"47596718",name:"CRMEB-880-深色-线性",font_class:"CRMEB-880-shense-xianxing",unicode:"eb2e",unicode_decimal:60206},{icon_id:"47596717",name:"CRMEB-882-系统色-线性",font_class:"CRMEB-882-xitongse-xianxing",unicode:"eb2f",unicode_decimal:60207},{icon_id:"47596716",name:"CRMEB-881-亮色-线性",font_class:"CRMEB-881-liangse-xianxing",unicode:"eb30",unicode_decimal:60208},{icon_id:"47596714",name:"CRMEB-871-用户5-线性",font_class:"CRMEB-871-yonghu5-xianxing",unicode:"eb31",unicode_decimal:60209},{icon_id:"47596715",name:"CRMEB-873-主题-线性",font_class:"CRMEB-873-zhuti-xianxing",unicode:"eb32",unicode_decimal:60210},{icon_id:"47596713",name:"CRMEB-878-圆角-线性",font_class:"CRMEB-878-yuanjiao-xianxing",unicode:"eb33",unicode_decimal:60211},{icon_id:"47596712",name:"CRMEB-874-左上角-线性",font_class:"CRMEB-874-zuoshangjiao-xianxing",unicode:"eb34",unicode_decimal:60212},{icon_id:"47596710",name:"CRMEB-875-右上角-线性",font_class:"CRMEB-875-youshangjiao-xianxing",unicode:"eb35",unicode_decimal:60213},{icon_id:"47596711",name:"CRMEB-877-右下角-线性",font_class:"CRMEB-877-youxiajiao-xianxing",unicode:"eb36",unicode_decimal:60214},{icon_id:"47596709",name:"CRMEB-876-左下角-线性",font_class:"CRMEB-876-zuoxiajiao-xianxing",unicode:"eb37",unicode_decimal:60215},{icon_id:"47596708",name:"CRMEB-879-边距-线性",font_class:"CRMEB-879-bianju-xianxing",unicode:"eb38",unicode_decimal:60216},{icon_id:"47596707",name:"CRMEB-869-小屏-线性",font_class:"CRMEB-869-xiaoping-xianxing",unicode:"eb39",unicode_decimal:60217},{icon_id:"47596706",name:"CRMEB-872-全屏-线性",font_class:"CRMEB-872-quanping-xianxing",unicode:"eb3a",unicode_decimal:60218},{icon_id:"47596730",name:"CRMEB-891-退出-线性",font_class:"CRMEB-891-tuichu-xianxing",unicode:"eb22",unicode_decimal:60194},{icon_id:"47596729",name:"CRMEB-895-收起-线性",font_class:"CRMEB-895-shouqi-xianxing",unicode:"eb23",unicode_decimal:60195},{icon_id:"47596728",name:"CRMEB-892-刷新-线性",font_class:"CRMEB-892-shuaxin-xianxing",unicode:"eb24",unicode_decimal:60196},{icon_id:"47596726",name:"CRMEB-888-拖拽-线性",font_class:"CRMEB-888-tuozhuai-xianxing",unicode:"eb25",unicode_decimal:60197},{icon_id:"47596727",name:"CRMEB-893-退出登录-线性",font_class:"CRMEB-893-tuichudenglu-xianxing",unicode:"eb26",unicode_decimal:60198},{icon_id:"47596724",name:"CRMEB-890-分享-线性",font_class:"CRMEB-890-fenxiang-xianxing",unicode:"eb27",unicode_decimal:60199},{icon_id:"47596725",name:"CRMEB-889-配置-线性",font_class:"CRMEB-889-peizhi-xianxing",unicode:"eb28",unicode_decimal:60200},{icon_id:"47596723",name:"CRMEB-887-刷新-线性",font_class:"CRMEB-887-shuaxin-xianxing",unicode:"eb29",unicode_decimal:60201},{icon_id:"47596722",name:"CRMEB-883-编辑3-线性",font_class:"CRMEB-883-bianji3-xianxing",unicode:"eb2a",unicode_decimal:60202},{icon_id:"47596721",name:"CRMEB-886-刷子-线性",font_class:"CRMEB-886-shuazi-xianxing",unicode:"eb2b",unicode_decimal:60203},{icon_id:"47596720",name:"CRMEB-885-编辑4-线性",font_class:"CRMEB-885-bianji4-xianxing",unicode:"eb2c",unicode_decimal:60204},{icon_id:"47596719",name:"CRMEB-884-编辑2-线性",font_class:"CRMEB-884-bianji2-xianxing",unicode:"eb2d",unicode_decimal:60205},{icon_id:"47596744",name:"CRMEB-907-减-线性",font_class:"CRMEB-907-jian-xianxing",unicode:"eb15",unicode_decimal:60181},{icon_id:"47596743",name:"CRMEB-909-下降-线性",font_class:"CRMEB-909-xiajiang-xianxing",unicode:"eb16",unicode_decimal:60182},{icon_id:"47596742",name:"CRMEB-908-上升-线性",font_class:"CRMEB-908-shangsheng-xianxing",unicode:"eb17",unicode_decimal:60183},{icon_id:"47596741",name:"CRMEB-911-展开-线性",font_class:"CRMEB-911-zhankai-xianxing",unicode:"eb18",unicode_decimal:60184},{icon_id:"47596740",name:"CRMEB-905-下-线性",font_class:"CRMEB-905-xia-xianxing",unicode:"eb19",unicode_decimal:60185},{icon_id:"47596737",name:"CRMEB-898-左-线性",font_class:"CRMEB-898-zuo-xianxing",unicode:"eb1a",unicode_decimal:60186},{icon_id:"47596736",name:"CRMEB-902-左滑-线性",font_class:"CRMEB-902-zuohua-xianxing",unicode:"eb1b",unicode_decimal:60187},{icon_id:"47596733",name:"CRMEB-900-错-线性",font_class:"CRMEB-900-cuo-xianxing",unicode:"eb1c",unicode_decimal:60188},{icon_id:"47596738",name:"CRMEB-901-对-线性",font_class:"CRMEB-901-dui-xianxing",unicode:"eb1d",unicode_decimal:60189},{icon_id:"47596735",name:"CRMEB-896-排序1-线性",font_class:"CRMEB-896-paixu1-xianxing",unicode:"eb1e",unicode_decimal:60190},{icon_id:"47596734",name:"CRMEB-903-右滑-线性",font_class:"CRMEB-903-youhua-xianxing",unicode:"eb1f",unicode_decimal:60191},{icon_id:"47596732",name:"CRMEB-897-更多-线性",font_class:"CRMEB-897-gengduo-xianxing",unicode:"eb20",unicode_decimal:60192},{icon_id:"47596731",name:"CRMEB-894-删除-线性",font_class:"CRMEB-894-shanchu-xianxing",unicode:"eb21",unicode_decimal:60193},{icon_id:"47596747",name:"CRMEB-912-列表视图-线性",font_class:"CRMEB-912-liebiaoshitu-xianxing",unicode:"eb11",unicode_decimal:60177},{icon_id:"47596746",name:"CRMEB-910-排序2-线性",font_class:"CRMEB-910-paixu2-xianxing",unicode:"eb12",unicode_decimal:60178},{icon_id:"47596739",name:"CRMEB-904-上-线性",font_class:"CRMEB-904-shang-xianxing",unicode:"eb13",unicode_decimal:60179},{icon_id:"47596745",name:"CRMEB-906-加-线性",font_class:"CRMEB-906-jia-xianxing",unicode:"eb14",unicode_decimal:60180},{icon_id:"47595917",name:"CRMEB-103-订单-面性",font_class:"CRMEB-103-dingdan-mianxing",unicode:"eb0d",unicode_decimal:60173},{icon_id:"47595924",name:"CRMEB-110-用户1-线性",font_class:"CRMEB-110-yonghu1-xianxing",unicode:"eb0e",unicode_decimal:60174},{icon_id:"47595923",name:"CRMEB-115-财务-面性",font_class:"CRMEB-115-caiwu-mianxing",unicode:"eb0f",unicode_decimal:60175},{icon_id:"47595916",name:"CRMEB-100-首页-线性",font_class:"CRMEB-100-shouye-xianxing",unicode:"eb10",unicode_decimal:60176},{icon_id:"47595933",name:"CRMEB-118-运营-线性",font_class:"CRMEB-118-yunying-xianxing",unicode:"eb00",unicode_decimal:60160},{icon_id:"47595920",name:"CRMEB-114-财务-线性",font_class:"CRMEB-114-caiwu-xianxing",unicode:"eb01",unicode_decimal:60161},{icon_id:"47595922",name:"CRMEB-101-首页-面性",font_class:"CRMEB-101-shouye-mianxing",unicode:"eb02",unicode_decimal:60162},{icon_id:"47595937",name:"CRMEB-125-用户2-面性",font_class:"CRMEB-125-yonghu2-mianxing",unicode:"eb03",unicode_decimal:60163},{icon_id:"47595930",name:"CRMEB-117-装修-面性",font_class:"CRMEB-117-zhuangxiu-mianxing",unicode:"eb04",unicode_decimal:60164},{icon_id:"47595932",name:"CRMEB-119-运营-面性",font_class:"CRMEB-119-yunying-mianxing",unicode:"eb05",unicode_decimal:60165},{icon_id:"47595918",name:"CRMEB-102-订单-线性",font_class:"CRMEB-102-dingdan-xianxing",unicode:"eb06",unicode_decimal:60166},{icon_id:"47595931",name:"CRMEB-120-内容-线性",font_class:"CRMEB-120-neirong-xianxing",unicode:"eb07",unicode_decimal:60167},{icon_id:"47595919",name:"CRMEB-111-用户1-面性",font_class:"CRMEB-111-yonghu1-mianxing",unicode:"eb08",unicode_decimal:60168},{icon_id:"47595926",name:"CRMEB-105-应用-面性",font_class:"CRMEB-105-yingyong-mianxing",unicode:"eb09",unicode_decimal:60169},{icon_id:"47595929",name:"CRMEB-107-商户-面性",font_class:"CRMEB-107-shanghu-mianxing",unicode:"eb0a",unicode_decimal:60170},{icon_id:"47595927",name:"CRMEB-113-圈层-面性",font_class:"CRMEB-113-quanceng-mianxing",unicode:"eb0b",unicode_decimal:60171},{icon_id:"47595921",name:"CRMEB-108-气球-线性",font_class:"CRMEB-108-qiqiu-xianxing",unicode:"eb0c",unicode_decimal:60172},{icon_id:"47595925",name:"CRMEB-109-气球-面性",font_class:"CRMEB-109-qiqiu-mianxing",unicode:"eaf1",unicode_decimal:60145},{icon_id:"47595943",name:"CRMEB-139-文件夹-面性",font_class:"CRMEB-139-wenjianjia-mianxing",unicode:"eaf2",unicode_decimal:60146},{icon_id:"47595948",name:"CRMEB-145-选择文件-面性",font_class:"CRMEB-145-xuanzewenjian-mianxing",unicode:"eaf3",unicode_decimal:60147},{icon_id:"47595946",name:"CRMEB-130-商品-线性",font_class:"CRMEB-130-shangpin-xianxing",unicode:"eaf4",unicode_decimal:60148},{icon_id:"47595942",name:"CRMEB-116-装修-线性",font_class:"CRMEB-116-zhuangxiu-xianxing",unicode:"eaf5",unicode_decimal:60149},{icon_id:"47595947",name:"CRMEB-135-设置2-面性",font_class:"CRMEB-135-shezhi2-mianxing",unicode:"eaf6",unicode_decimal:60150},{icon_id:"47595949",name:"CRMEB-131-商品-面性",font_class:"CRMEB-131-shangpin-mianxing",unicode:"eaf7",unicode_decimal:60151},{icon_id:"47595940",name:"CRMEB-123-营销-面性",font_class:"CRMEB-123-yingxiao-mianxing",unicode:"eaf8",unicode_decimal:60152},{icon_id:"47595945",name:"CRMEB-138-文件夹-线性",font_class:"CRMEB-138-wenjianjia-xianxing",unicode:"eaf9",unicode_decimal:60153},{icon_id:"47595944",name:"CRMEB-129-设置1-面性",font_class:"CRMEB-129-shezhi1-mianxing",unicode:"eafa",unicode_decimal:60154},{icon_id:"47595941",name:"CRMEB-126-分销-线性",font_class:"CRMEB-126-fenxiao-xianxing",unicode:"eafb",unicode_decimal:60155},{icon_id:"47595934",name:"CRMEB-124-用户2-线性",font_class:"CRMEB-124-yonghu2-xianxing",unicode:"eafc",unicode_decimal:60156},{icon_id:"47595938",name:"CRMEB-106-商户-线性",font_class:"CRMEB-106-shanghu-xianxing",unicode:"eafd",unicode_decimal:60157},{icon_id:"47595939",name:"CRMEB-121-内容-面性",font_class:"CRMEB-121-neirong-mianxing",unicode:"eafe",unicode_decimal:60158},{icon_id:"47595928",name:"CRMEB-104-应用-线性",font_class:"CRMEB-104-yingyong-xianxing",unicode:"eaff",unicode_decimal:60159},{icon_id:"47595956",name:"CRMEB-136-文件-线性",font_class:"CRMEB-136-wenjian-xianxing",unicode:"eaeb",unicode_decimal:60139},{icon_id:"47595955",name:"CRMEB-155-选择文档-面性",font_class:"CRMEB-155-xuanzewendang-mianxing",unicode:"eaec",unicode_decimal:60140},{icon_id:"47595954",name:"CRMEB-128-设置1-线性",font_class:"CRMEB-128-shezhi1-xianxing",unicode:"eaed",unicode_decimal:60141},{icon_id:"47595952",name:"CRMEB-127-分销-面性",font_class:"CRMEB-127-fenxiao-mianxing",unicode:"eaee",unicode_decimal:60142},{icon_id:"47595958",name:"CRMEB-133-客服-面性",font_class:"CRMEB-133-kefu-mianxing",unicode:"eaef",unicode_decimal:60143},{icon_id:"47595936",name:"CRMEB-112-圈层-线性",font_class:"CRMEB-112-quanceng-xianxing",unicode:"e981",unicode_decimal:59777},{icon_id:"47595950",name:"CRMEB-132-客服-线性",font_class:"CRMEB-132-kefu-xianxing",unicode:"eaf0",unicode_decimal:60144},{icon_id:"47595962",name:"CRMEB-158-关-线性",font_class:"CRMEB-158-guan-xianxing",unicode:"eae4",unicode_decimal:60132},{icon_id:"47595963",name:"CRMEB-153-删除文档-面性",font_class:"CRMEB-153-shanchuwendang-mianxing",unicode:"eae5",unicode_decimal:60133},{icon_id:"47595961",name:"CRMEB-149-放大-面性",font_class:"CRMEB-149-fangda-mianxing",unicode:"eae6",unicode_decimal:60134},{icon_id:"47595959",name:"CRMEB-142-删除文件-线性",font_class:"CRMEB-142-shanchuwenjian-xianxing",unicode:"eae7",unicode_decimal:60135},{icon_id:"47595951",name:"CRMEB-146-缩小-线性",font_class:"CRMEB-146-suoxiao-xianxing",unicode:"eae8",unicode_decimal:60136},{icon_id:"47595957",name:"CRMEB-150-文档-线性",font_class:"CRMEB-150-wendang-xianxing",unicode:"eae9",unicode_decimal:60137},{icon_id:"47595953",name:"CRMEB-137-文件-面性",font_class:"CRMEB-137-wenjian-mianxing",unicode:"eaea",unicode_decimal:60138},{icon_id:"47595982",name:"CRMEB-172-PC端-线性",font_class:"CRMEB-172-PCduan-xianxing",unicode:"ead4",unicode_decimal:60116},{icon_id:"47595969",name:"CRMEB-147-缩小-面性",font_class:"CRMEB-147-suoxiao-mianxing",unicode:"ead5",unicode_decimal:60117},{icon_id:"47595980",name:"CRMEB-180-银行卡-线性",font_class:"CRMEB-180-yinhangka-xianxing",unicode:"ead6",unicode_decimal:60118},{icon_id:"47595970",name:"CRMEB-157-开-面性",font_class:"CRMEB-157-kai-mianxing",unicode:"ead7",unicode_decimal:60119},{icon_id:"47595979",name:"CRMEB-161-订阅信息-面性",font_class:"CRMEB-161-dingyuexinxi-mianxing",unicode:"ead8",unicode_decimal:60120},{icon_id:"47595972",name:"CRMEB-159-关-面性",font_class:"CRMEB-159-guan-mianxing",unicode:"ead9",unicode_decimal:60121},{icon_id:"47595974",name:"CRMEB-165-公告-面性",font_class:"CRMEB-165-gonggao-mianxing",unicode:"eada",unicode_decimal:60122},{icon_id:"47595971",name:"CRMEB-169-权限锁定-面性",font_class:"CRMEB-169-quanxiansuoding-mianxing",unicode:"eadb",unicode_decimal:60123},{icon_id:"47595978",name:"CRMEB-166-统计-线性",font_class:"CRMEB-166-tongji-xianxing",unicode:"eadc",unicode_decimal:60124},{icon_id:"47595977",name:"CRMEB-163-日历-面性",font_class:"CRMEB-163-rili-mianxing",unicode:"eadd",unicode_decimal:60125},{icon_id:"47595967",name:"CRMEB-148-放大-线性",font_class:"CRMEB-148-fangda-xianxing",unicode:"eade",unicode_decimal:60126},{icon_id:"47595975",name:"CRMEB-175-优惠券-面性",font_class:"CRMEB-175-youhuiquan-mianxing",unicode:"eadf",unicode_decimal:60127},{icon_id:"47595964",name:"CRMEB-144-选择文件-线性",font_class:"CRMEB-144-xuanzewenjian-xianxing",unicode:"eae0",unicode_decimal:60128},{icon_id:"47595965",name:"CRMEB-151-文档-面性",font_class:"CRMEB-151-wendang-mianxing",unicode:"eae1",unicode_decimal:60129},{icon_id:"47595966",name:"CRMEB-143-删除文件-面性",font_class:"CRMEB-143-shanchuwenjian-mianxing",unicode:"eae2",unicode_decimal:60130},{icon_id:"47595960",name:"CRMEB-141-添加文件-面性",font_class:"CRMEB-141-tianjiawenjian-mianxing",unicode:"eae3",unicode_decimal:60131},{icon_id:"47595996",name:"CRMEB-170-安全维护-线性",font_class:"CRMEB-170-anquanweihu-xianxing",unicode:"eac6",unicode_decimal:60102},{icon_id:"47595991",name:"CRMEB-185-运营统计-面性",font_class:"CRMEB-185-yunyingtongji-mianxing",unicode:"eac7",unicode_decimal:60103},{icon_id:"47595993",name:"CRMEB-162-日历-线性",font_class:"CRMEB-162-rili-xianxing",unicode:"eac8",unicode_decimal:60104},{icon_id:"47595973",name:"CRMEB-156-开-线性",font_class:"CRMEB-156-kai-xianxing",unicode:"eac9",unicode_decimal:60105},{icon_id:"47595994",name:"CRMEB-182-资产统计-线性",font_class:"CRMEB-182-zichantongji-xianxing",unicode:"eaca",unicode_decimal:60106},{icon_id:"47595986",name:"CRMEB-171-安全维护-面性",font_class:"CRMEB-171-anquanweihu-mianxing",unicode:"eacb",unicode_decimal:60107},{icon_id:"47595985",name:"CRMEB-183-资产统计-面性",font_class:"CRMEB-183-zichantongji-mianxing",unicode:"eacc",unicode_decimal:60108},{icon_id:"47595988",name:"CRMEB-184-运营统计-线性",font_class:"CRMEB-184-yunyingtongji-xianxing",unicode:"eacd",unicode_decimal:60109},{icon_id:"47595989",name:"CRMEB-174-优惠券-线性",font_class:"CRMEB-174-youhuiquan-xianxing",unicode:"eace",unicode_decimal:60110},{icon_id:"47595984",name:"CRMEB-181-银行卡-面性",font_class:"CRMEB-181-yinhangka-mianxing",unicode:"eacf",unicode_decimal:60111},{icon_id:"47595983",name:"CRMEB-154-选择文档-线性",font_class:"CRMEB-154-xuanzewendang-xianxing",unicode:"ead0",unicode_decimal:60112},{icon_id:"47595981",name:"CRMEB-177-结构框架-面性",font_class:"CRMEB-177-jiegoukuangjia-mianxing",unicode:"ead1",unicode_decimal:60113},{icon_id:"47595968",name:"CRMEB-160-订阅信息-线性",font_class:"CRMEB-160-dingyuexinxi-xianxing",unicode:"ead2",unicode_decimal:60114},{icon_id:"47595976",name:"CRMEB-134-设置2-线性",font_class:"CRMEB-134-shezhi2-xianxing",unicode:"ead3",unicode_decimal:60115},{icon_id:"47596000",name:"CRMEB-186-收银-线性",font_class:"CRMEB-186-shouyin-xianxing",unicode:"eab8",unicode_decimal:60088},{icon_id:"47596008",name:"CRMEB-199-礼品卡-面性",font_class:"CRMEB-199-lipinka-mianxing",unicode:"eab9",unicode_decimal:60089},{icon_id:"47596009",name:"CRMEB-192-退货-线性",font_class:"CRMEB-192-tuihuo-xianxing",unicode:"eaba",unicode_decimal:60090},{icon_id:"47596006",name:"CRMEB-187-收银-面性",font_class:"CRMEB-187-shouyin-mianxing",unicode:"eabb",unicode_decimal:60091},{icon_id:"47596007",name:"CRMEB-189-企业微信-面性",font_class:"CRMEB-189-qiyeweixin-mianxing",unicode:"eabc",unicode_decimal:60092},{icon_id:"47596005",name:"CRMEB-197-商品管理-面性",font_class:"CRMEB-197-shangpinguanli-mianxing",unicode:"eabd",unicode_decimal:60093},{icon_id:"47595998",name:"CRMEB-168-权限锁定-线性",font_class:"CRMEB-168-quanxiansuoding-xianxing",unicode:"eabe",unicode_decimal:60094},{icon_id:"47596002",name:"CRMEB-196-商品管理-线性",font_class:"CRMEB-196-shangpinguanli-xianxing",unicode:"eabf",unicode_decimal:60095},{icon_id:"47596003",name:"CRMEB-190-挂单-线性",font_class:"CRMEB-190-guadan-xianxing",unicode:"eac0",unicode_decimal:60096},{icon_id:"47596001",name:"CRMEB-194-预约-线性",font_class:"CRMEB-194-yuyue-xianxing",unicode:"eac1",unicode_decimal:60097},{icon_id:"47595995",name:"CRMEB-179-库存管理-面性",font_class:"CRMEB-179-kucunguanli-mianxing",unicode:"e984",unicode_decimal:59780},{icon_id:"47595997",name:"CRMEB-173-PC端-面性",font_class:"CRMEB-173-PCduan-mianxing",unicode:"eac2",unicode_decimal:60098},{icon_id:"47595992",name:"CRMEB-176-结构框架-线性",font_class:"CRMEB-176-jiegoukuangjia-xianxing",unicode:"eac3",unicode_decimal:60099},{icon_id:"47595990",name:"CRMEB-152-删除文档-线性",font_class:"CRMEB-152-shanchuwendang-xianxing",unicode:"eac4",unicode_decimal:60100},{icon_id:"47595987",name:"CRMEB-167-统计-面性",font_class:"CRMEB-167-tongji-mianxing",unicode:"eac5",unicode_decimal:60101},{icon_id:"47596020",name:"CRMEB-206-社区-线性",font_class:"CRMEB-206-shequ-xianxing",unicode:"eaab",unicode_decimal:60075},{icon_id:"47596022",name:"CRMEB-203-小程序-面性",font_class:"CRMEB-203-xiaochengxu-mianxing",unicode:"eaac",unicode_decimal:60076},{icon_id:"47596019",name:"CRMEB-202-小程序-线性",font_class:"CRMEB-202-xiaochengxu-xianxing",unicode:"eaad",unicode_decimal:60077},{icon_id:"47596021",name:"CRMEB-209-文章管理-面性",font_class:"CRMEB-209-wenzhangguanli-mianxing",unicode:"eaae",unicode_decimal:60078},{icon_id:"47596018",name:"CRMEB-204-套餐搭配-线性",font_class:"CRMEB-204-taocandapei-xianxing",unicode:"eaaf",unicode_decimal:60079},{icon_id:"47596015",name:"CRMEB-208-文章管理-线性",font_class:"CRMEB-208-wenzhangguanli-xianxing",unicode:"eab0",unicode_decimal:60080},{icon_id:"47596017",name:"CRMEB-207-社区-面性",font_class:"CRMEB-207-shequ-mianxing",unicode:"eab1",unicode_decimal:60081},{icon_id:"47596016",name:"CRMEB-205-套餐搭配-面性",font_class:"CRMEB-205-taocandapei-mianxing",unicode:"eab2",unicode_decimal:60082},{icon_id:"47595935",name:"CRMEB-122-营销-线性",font_class:"CRMEB-122-yingxiao-xianxing",unicode:"e982",unicode_decimal:59778},{icon_id:"47596014",name:"CRMEB-191-挂单-面性",font_class:"CRMEB-191-guadan-mianxing",unicode:"e986",unicode_decimal:59782},{icon_id:"47596013",name:"CRMEB-198-礼品卡-线性",font_class:"CRMEB-198-lipinka-xianxing",unicode:"eab3",unicode_decimal:60083},{icon_id:"47596012",name:"CRMEB-188-企业微信-线性",font_class:"CRMEB-188-qiyeweixin-xianxing",unicode:"eab4",unicode_decimal:60084},{icon_id:"47596011",name:"CRMEB-193-退货-面性",font_class:"CRMEB-193-tuihuo-mianxing",unicode:"eab5",unicode_decimal:60085},{icon_id:"47596010",name:"CRMEB-200-折扣-线性",font_class:"CRMEB-200-zhekou-xianxing",unicode:"eab6",unicode_decimal:60086},{icon_id:"47595999",name:"CRMEB-178-库存管理-线性",font_class:"CRMEB-178-kucunguanli-xianxing",unicode:"e985",unicode_decimal:59781},{icon_id:"47596004",name:"CRMEB-195-预约-面性",font_class:"CRMEB-195-yuyue-mianxing",unicode:"eab7",unicode_decimal:60087},{icon_id:"47596030",name:"CRMEB-214-供应商订单-线性",font_class:"CRMEB-214-gongyingshangdingdan-xianxing",unicode:"eaa2",unicode_decimal:60066},{icon_id:"47596032",name:"CRMEB-211-购物车-面性",font_class:"CRMEB-211-gouwuche-mianxing",unicode:"eaa3",unicode_decimal:60067},{icon_id:"47596033",name:"CRMEB-218-推广中心-线性",font_class:"CRMEB-218-tuiguangzhongxin-xianxing",unicode:"eaa4",unicode_decimal:60068},{icon_id:"47596031",name:"CRMEB-223-个人简历-面性",font_class:"CRMEB-223-gerenjianli-mianxing",unicode:"eaa5",unicode_decimal:60069},{icon_id:"47596029",name:"CRMEB-217-收藏夹-面性",font_class:"CRMEB-217-shoucangjia-mianxing",unicode:"eaa6",unicode_decimal:60070},{icon_id:"47596028",name:"CRMEB-213-门店订单-面性",font_class:"CRMEB-213-mendiandingdan-mianxing",unicode:"eaa7",unicode_decimal:60071},{icon_id:"47596023",name:"CRMEB-201-折扣-面性",font_class:"CRMEB-201-zhekou-mianxing",unicode:"e987",unicode_decimal:59783},{icon_id:"47596027",name:"CRMEB-215-供应商订单-面性",font_class:"CRMEB-215-gongyingshangdingdan-mianxing",unicode:"eaa8",unicode_decimal:60072},{icon_id:"47596026",name:"CRMEB-140-添加文件-线性",font_class:"CRMEB-140-tianjiawenjian-xianxing",unicode:"e983",unicode_decimal:59779},{icon_id:"47596025",name:"CRMEB-210-购物车-线性",font_class:"CRMEB-210-gouwuche-xianxing",unicode:"eaa9",unicode_decimal:60073},{icon_id:"47596024",name:"CRMEB-212-门店订单-线性",font_class:"CRMEB-212-mendiandingdan-xianxing",unicode:"eaaa",unicode_decimal:60074},{icon_id:"47596043",name:"CRMEB-224-商业授权-线性",font_class:"CRMEB-224-shangyeshouquan-xianxing",unicode:"ea93",unicode_decimal:60051},{icon_id:"47596050",name:"CRMEB-240-内容资讯-线性",font_class:"CRMEB-240-neirongzixun-xianxing",unicode:"ea94",unicode_decimal:60052},{icon_id:"47596049",name:"CRMEB-233-商城统计-面性",font_class:"CRMEB-233-shangchengtongji-mianxing",unicode:"ea95",unicode_decimal:60053},{icon_id:"47596048",name:"CRMEB-231-消息设置-面性",font_class:"CRMEB-231-xiaoxishezhi-mianxing",unicode:"ea96",unicode_decimal:60054},{icon_id:"47596047",name:"CRMEB-234-系统表单-线性",font_class:"CRMEB-234-xitongbiaodan-xianxing",unicode:"ea97",unicode_decimal:60055},{icon_id:"47596046",name:"CRMEB-226-直播-线性",font_class:"CRMEB-226-zhibo-xianxing",unicode:"ea98",unicode_decimal:60056},{icon_id:"47596044",name:"CRMEB-227-直播-面性",font_class:"CRMEB-227-zhibo-mianxing",unicode:"ea99",unicode_decimal:60057},{icon_id:"47596039",name:"CRMEB-219-推广中心-面性",font_class:"CRMEB-219-tuiguangzhongxin-mianxing",unicode:"ea9a",unicode_decimal:60058},{icon_id:"47596045",name:"CRMEB-232-商城统计-线性",font_class:"CRMEB-232-shangchengtongji-xianxing",unicode:"ea9b",unicode_decimal:60059},{icon_id:"47596040",name:"CRMEB-220-开发设置-线性",font_class:"CRMEB-220-kaifashezhi-xianxing",unicode:"ea9c",unicode_decimal:60060},{icon_id:"47596041",name:"CRMEB-228-核销-线性",font_class:"CRMEB-228-hexiao-xianxing",unicode:"ea9d",unicode_decimal:60061},{icon_id:"47596038",name:"CRMEB-221-开发设置-面性",font_class:"CRMEB-221-kaifashezhi-mianxing",unicode:"ea9e",unicode_decimal:60062},{icon_id:"47596037",name:"CRMEB-225-商业授权-面性",font_class:"CRMEB-225-shangyeshouquan-mianxing",unicode:"ea9f",unicode_decimal:60063},{icon_id:"47596034",name:"CRMEB-216-收藏夹-线性",font_class:"CRMEB-216-shoucangjia-xianxing",unicode:"e988",unicode_decimal:59784},{icon_id:"47596036",name:"CRMEB-164-公告-线性",font_class:"CRMEB-164-gonggao-xianxing",unicode:"eaa0",unicode_decimal:60064},{icon_id:"47596035",name:"CRMEB-222-个人简历-线性",font_class:"CRMEB-222-gerenjianli-xianxing",unicode:"eaa1",unicode_decimal:60065},{icon_id:"47596064",name:"CRMEB-245-消息-面性",font_class:"CRMEB-245-xiaoxi-mianxing",unicode:"ea86",unicode_decimal:60038},{icon_id:"47596065",name:"CRMEB-255-自动化运营-面性",font_class:"CRMEB-255-zidonghuayunying-mianxing",unicode:"ea87",unicode_decimal:60039},{icon_id:"47596063",name:"CRMEB-251-概况-面性",font_class:"CRMEB-251-gaikuang-mianxing",unicode:"ea88",unicode_decimal:60040},{icon_id:"47596061",name:"CRMEB-242-发货-线性",font_class:"CRMEB-242-fahuo-xianxing",unicode:"e98b",unicode_decimal:59787},{icon_id:"47596059",name:"CRMEB-248-下载中心-线性",font_class:"CRMEB-248-xiazaizhongxin-xianxing",unicode:"ea89",unicode_decimal:60041},{icon_id:"47596054",name:"CRMEB-236-砍价活动-线性",font_class:"CRMEB-236-kanjiahuodong-xianxing",unicode:"ea8a",unicode_decimal:60042},{icon_id:"47596062",name:"CRMEB-250-概况-线性",font_class:"CRMEB-250-gaikuang-xianxing",unicode:"ea8b",unicode_decimal:60043},{icon_id:"47596060",name:"CRMEB-247-卡券中心-面性",font_class:"CRMEB-247-kaquanzhongxin-mianxing",unicode:"ea8c",unicode_decimal:60044},{icon_id:"47596058",name:"CRMEB-244-消息-线性",font_class:"CRMEB-244-xiaoxi-xianxing",unicode:"ea8d",unicode_decimal:60045},{icon_id:"47596057",name:"CRMEB-239-分销员申请-面性",font_class:"CRMEB-239-fenxiaoyuanshenqing-mianxing",unicode:"ea8e",unicode_decimal:60046},{icon_id:"47596055",name:"CRMEB-230-消息设置-线性",font_class:"CRMEB-230-xiaoxishezhi-xianxing",unicode:"e98a",unicode_decimal:59786},{icon_id:"47596056",name:"CRMEB-241-内容资讯-面性",font_class:"CRMEB-241-neirongzixun-mianxing",unicode:"ea8f",unicode_decimal:60047},{icon_id:"47596053",name:"CRMEB-237-砍价活动-面性",font_class:"CRMEB-237-kanjiahuodong-mianxing",unicode:"ea90",unicode_decimal:60048},{icon_id:"47596052",name:"CRMEB-235-系统表单- 面性",font_class:"CRMEB-235-xitongbiaodan-mianxing",unicode:"ea91",unicode_decimal:60049},{icon_id:"47596042",name:"CRMEB-229-核销-面性",font_class:"CRMEB-229-hexiao-mianxing",unicode:"e989",unicode_decimal:59785},{icon_id:"47596051",name:"CRMEB-238-分销员申请-线性",font_class:"CRMEB-238-fenxiaoyuanshenqing-xianxing",unicode:"ea92",unicode_decimal:60050},{icon_id:"47596084",name:"CRMEB-268-客户运营-线性",font_class:"CRMEB-268-kehuyunying-xianxing",unicode:"ea76",unicode_decimal:60022},{icon_id:"47596082",name:"CRMEB-265-团队分销-面性",font_class:"CRMEB-265-tuanduifenxiao-mianxing",unicode:"ea77",unicode_decimal:60023},{icon_id:"47596083",name:"CRMEB-266-分销财务-线性",font_class:"CRMEB-266-fenxiaocaiwu-xianxing",unicode:"ea78",unicode_decimal:60024},{icon_id:"47596081",name:"CRMEB-263-分销配置-面性",font_class:"CRMEB-263-fenxiaopeizhi-mianxing",unicode:"ea79",unicode_decimal:60025},{icon_id:"47596079",name:"CRMEB-264-团队分销-线性",font_class:"CRMEB-264-tuanduifenxiao-xianxing",unicode:"ea7a",unicode_decimal:60026},{icon_id:"47596078",name:"CRMEB-261-分销管理-面性",font_class:"CRMEB-261-fenxiaoguanli-mianxing",unicode:"ea7b",unicode_decimal:60027},{icon_id:"47596077",name:"CRMEB-262-分销配置-线性",font_class:"CRMEB-262-fenxiaopeizhi-xianxing",unicode:"ea7c",unicode_decimal:60028},{icon_id:"47596076",name:"CRMEB-259-供应商-面性",font_class:"CRMEB-259-gongyingshang-mianxing",unicode:"ea7d",unicode_decimal:60029},{icon_id:"47596075",name:"CRMEB-258-供应商-线性",font_class:"CRMEB-258-gongyingshang-xianxing",unicode:"ea7e",unicode_decimal:60030},{icon_id:"47596072",name:"CRMEB-254-自动化运营-线性",font_class:"CRMEB-254-zidonghuayunying-xianxing",unicode:"ea7f",unicode_decimal:60031},{icon_id:"47596068",name:"CRMEB-252-拼团活动-线性",font_class:"CRMEB-252-pintuanhuodong-xianxing",unicode:"e98c",unicode_decimal:59788},{icon_id:"47596074",name:"CRMEB-257-采购商-面性",font_class:"CRMEB-257-caigoushang-mianxing",unicode:"ea80",unicode_decimal:60032},{icon_id:"47596073",name:"CRMEB-260-分销管理-线性",font_class:"CRMEB-260-fenxiaoguanli-xianxing",unicode:"ea81",unicode_decimal:60033},{icon_id:"47596071",name:"CRMEB-246-卡券中心-线性",font_class:"CRMEB-246-kaquanzhongxin-xianxing",unicode:"ea82",unicode_decimal:60034},{icon_id:"47596066",name:"CRMEB-249-下载中心-面性",font_class:"CRMEB-249-xiazaizhongxin-mianxing",unicode:"ea83",unicode_decimal:60035},{icon_id:"47596069",name:"CRMEB-253-拼团活动-面性",font_class:"CRMEB-253-pintuanhuodong-mianxing",unicode:"ea84",unicode_decimal:60036},{icon_id:"47596067",name:"CRMEB-243-发货-面性",font_class:"CRMEB-243-fahuo-mianxing",unicode:"ea85",unicode_decimal:60037},{icon_id:"47596101",name:"CRMEB-280-二维码-线性",font_class:"CRMEB-280-erweima-xianxing",unicode:"ea68",unicode_decimal:60008},{icon_id:"47596100",name:"CRMEB-285-通用组件-面性",font_class:"CRMEB-285-tongyongzujian-mianxing",unicode:"ea69",unicode_decimal:60009},{icon_id:"47596098",name:"CRMEB-281-二维码-面性",font_class:"CRMEB-281-erweima-mianxing",unicode:"ea6a",unicode_decimal:60010},{icon_id:"47596097",name:"CRMEB-282-会员体系-线性",font_class:"CRMEB-282-huiyuantixi-xianxing",unicode:"ea6b",unicode_decimal:60011},{icon_id:"47596096",name:"CRMEB-283-会员体系-面性",font_class:"CRMEB-283-huiyuantixi-mianxing",unicode:"ea6c",unicode_decimal:60012},{icon_id:"47596095",name:"CRMEB-278-抽奖活动-线性",font_class:"CRMEB-278-choujianghuodong-xianxing",unicode:"e990",unicode_decimal:59792},{icon_id:"47596094",name:"CRMEB-276-积分-线性",font_class:"CRMEB-276-jifen-xianxing",unicode:"ea6d",unicode_decimal:60013},{icon_id:"47596093",name:"CRMEB-277-积分-面性",font_class:"CRMEB-277-jifen-mianxing",unicode:"ea6e",unicode_decimal:60014},{icon_id:"47596092",name:"CRMEB-279-抽奖活动-面性",font_class:"CRMEB-279-choujianghuodong-mianxing",unicode:"ea6f",unicode_decimal:60015},{icon_id:"47596091",name:"CRMEB-274-公众号-线性",font_class:"CRMEB-274-gongzhonghao-xianxing",unicode:"e98f",unicode_decimal:59791},{icon_id:"47596080",name:"CRMEB-267-分销财务-面性",font_class:"CRMEB-267-fenxiaocaiwu-mianxing",unicode:"e98e",unicode_decimal:59790},{icon_id:"47596090",name:"CRMEB-275-公众号-面性",font_class:"CRMEB-275-gongzhonghao-mianxing",unicode:"ea70",unicode_decimal:60016},{icon_id:"47596086",name:"CRMEB-270-用户运营-线性",font_class:"CRMEB-270-yonghuyunying-xianxing",unicode:"ea71",unicode_decimal:60017},{icon_id:"47596089",name:"CRMEB-272-店员管理-线性",font_class:"CRMEB-272-dianyuanguanli-xianxing",unicode:"ea72",unicode_decimal:60018},{icon_id:"47596088",name:"CRMEB-271-用户运营-面性",font_class:"CRMEB-271-yonghuyunying-mianxing",unicode:"ea73",unicode_decimal:60019},{icon_id:"47596087",name:"CRMEB-273-店员管理-面性",font_class:"CRMEB-273-dianyuanguanli-mianxing",unicode:"ea74",unicode_decimal:60020},{icon_id:"47596070",name:"CRMEB-256-采购商-线性",font_class:"CRMEB-256-caigoushang-xianxing",unicode:"e98d",unicode_decimal:59789},{icon_id:"47596085",name:"CRMEB-269-客户运营-面性",font_class:"CRMEB-269-kehuyunying-mianxing",unicode:"ea75",unicode_decimal:60021},{icon_id:"47596116",name:"CRMEB-304-鼠标-线性",font_class:"CRMEB-304-shubiao-xianxing",unicode:"ea5b",unicode_decimal:59995},{icon_id:"47596117",name:"CRMEB-303-财务操作-面性",font_class:"CRMEB-303-caiwucaozuo-mianxing",unicode:"ea5c",unicode_decimal:59996},{icon_id:"47596115",name:"CRMEB-286-配送-线性",font_class:"CRMEB-286-peisong-xianxing",unicode:"e994",unicode_decimal:59796},{icon_id:"47596113",name:"CRMEB-299-活动背景-面性",font_class:"CRMEB-299-huodongbeijing-mianxing",unicode:"e993",unicode_decimal:59795},{icon_id:"47596114",name:"CRMEB-298-活动背景-线性",font_class:"CRMEB-298-huodongbeijing-xianxing",unicode:"ea5d",unicode_decimal:59997},{icon_id:"47596112",name:"CRMEB-297-活动边框-面性",font_class:"CRMEB-297-huodongbiankuang-mianxing",unicode:"ea5e",unicode_decimal:59998},{icon_id:"47596111",name:"CRMEB-296-活动边框-线性",font_class:"CRMEB-296-huodongbiankuang-xianxing",unicode:"ea5f",unicode_decimal:59999},{icon_id:"47596109",name:"CRMEB-294-优惠活动-线性",font_class:"CRMEB-294-youhuihuodong-xianxing",unicode:"e992",unicode_decimal:59794},{icon_id:"47596110",name:"CRMEB-295-优惠活动-面性",font_class:"CRMEB-295-youhuihuodong-mianxing",unicode:"ea60",unicode_decimal:6e4},{icon_id:"47596108",name:"CRMEB-287-配送-面性",font_class:"CRMEB-287-peisong-mianxing",unicode:"e991",unicode_decimal:59793},{icon_id:"47596107",name:"CRMEB-291-客服管理-面性",font_class:"CRMEB-291-kefuguanli-mianxing",unicode:"ea61",unicode_decimal:60001},{icon_id:"47596106",name:"CRMEB-289-服务设置-面性",font_class:"CRMEB-289-fuwushezhi-mianxing",unicode:"ea62",unicode_decimal:60002},{icon_id:"47596099",name:"CRMEB-284-通用组件-线性",font_class:"CRMEB-284-tongyongzujian-xianxing",unicode:"ea63",unicode_decimal:60003},{icon_id:"47596105",name:"CRMEB-290-客服管理-线性",font_class:"CRMEB-290-kefuguanli-xianxing",unicode:"ea64",unicode_decimal:60004},{icon_id:"47596104",name:"CRMEB-292-商城设置-线性",font_class:"CRMEB-292-shangchengshezhi-xianxing",unicode:"ea65",unicode_decimal:60005},{icon_id:"47596103",name:"CRMEB-293-商城设置-面性",font_class:"CRMEB-293-shangchengshezhi-mianxing",unicode:"ea66",unicode_decimal:60006},{icon_id:"47596102",name:"CRMEB-288-服务设置-线性",font_class:"CRMEB-288-fuwushezhi-xianxing",unicode:"ea67",unicode_decimal:60007},{icon_id:"47596134",name:"CRMEB-318-播放-线性",font_class:"CRMEB-318-bofang-xianxing",unicode:"ea4b",unicode_decimal:59979},{icon_id:"47596136",name:"CRMEB-316-静音-线性",font_class:"CRMEB-316-jingyin-xianxing",unicode:"ea4c",unicode_decimal:59980},{icon_id:"47596135",name:"CRMEB-319-播放-面性",font_class:"CRMEB-319-bofang-mianxing",unicode:"ea4d",unicode_decimal:59981},{icon_id:"47596131",name:"CRMEB-317-静音-面性",font_class:"CRMEB-317-jingyin-mianxing",unicode:"ea4e",unicode_decimal:59982},{icon_id:"47596130",name:"CRMEB-315-语音-面性",font_class:"CRMEB-315-yuyin-mianxing",unicode:"ea4f",unicode_decimal:59983},{icon_id:"47596132",name:"CRMEB-313-添加地址-面性",font_class:"CRMEB-313-tianjiadizhi-mianxing",unicode:"ea50",unicode_decimal:59984},{icon_id:"47596129",name:"CRMEB-320-暂停-线性",font_class:"CRMEB-320-zanting-xianxing",unicode:"ea51",unicode_decimal:59985},{icon_id:"47596128",name:"CRMEB-312-添加地址-线性",font_class:"CRMEB-312-tianjiadizhi-xianxing",unicode:"ea52",unicode_decimal:59986},{icon_id:"47596127",name:"CRMEB-310-定位-线性",font_class:"CRMEB-310-dingwei-xianxing",unicode:"e996",unicode_decimal:59798},{icon_id:"47596124",name:"CRMEB-306-圆盘手表-线性",font_class:"CRMEB-306-yuanpanshoubiao-xianxing",unicode:"ea53",unicode_decimal:59987},{icon_id:"47596126",name:"CRMEB-307-圆盘手表-面性",font_class:"CRMEB-307-yuanpanshoubiao-mianxing",unicode:"ea54",unicode_decimal:59988},{icon_id:"47596125",name:"CRMEB-308-方盘手表-线性",font_class:"CRMEB-308-fangpanshoubiao-xianxing",unicode:"ea55",unicode_decimal:59989},{icon_id:"47596123",name:"CRMEB-311-定位-面性",font_class:"CRMEB-311-dingwei-mianxing",unicode:"ea56",unicode_decimal:59990},{icon_id:"47596122",name:"CRMEB-309-方盘手表-面性",font_class:"CRMEB-309-fangpanshoubiao-mianxing",unicode:"ea57",unicode_decimal:59991},{icon_id:"47596121",name:"CRMEB-300-财务记录-线性",font_class:"CRMEB-300-caiwujilu-xianxing",unicode:"e995",unicode_decimal:59797},{icon_id:"47596119",name:"CRMEB-301-财务记录-面性",font_class:"CRMEB-301-caiwujilu-mianxing",unicode:"ea58",unicode_decimal:59992},{icon_id:"47596120",name:"CRMEB-302-财务操作-线性",font_class:"CRMEB-302-caiwucaozuo-xianxing",unicode:"ea59",unicode_decimal:59993},{icon_id:"47596118",name:"CRMEB-305-鼠标-面性",font_class:"CRMEB-305-shubiao-mianxing",unicode:"ea5a",unicode_decimal:59994},{icon_id:"47596153",name:"CRMEB-338-APP-线性",font_class:"CRMEB-338-APP-xianxing",unicode:"ea3c",unicode_decimal:59964},{icon_id:"47596152",name:"CRMEB-334-付费会员-线性",font_class:"CRMEB-334-fufeihuiyuan-xianxing",unicode:"e999",unicode_decimal:59801},{icon_id:"47596151",name:"CRMEB-329-奖杯-面性",font_class:"CRMEB-329-jiangbei-mianxing",unicode:"ea3d",unicode_decimal:59965},{icon_id:"47596147",name:"CRMEB-335-付费会员-面性",font_class:"CRMEB-335-fufeihuiyuan-mianxing",unicode:"ea3e",unicode_decimal:59966},{icon_id:"47596149",name:"CRMEB-332-标识-线性",font_class:"CRMEB-332-biaoshi-xianxing",unicode:"ea3f",unicode_decimal:59967},{icon_id:"47596146",name:"CRMEB-333-标识-面性",font_class:"CRMEB-333-biaoshi-mianxing",unicode:"ea40",unicode_decimal:59968},{icon_id:"47596145",name:"CRMEB-330-打印机-线性",font_class:"CRMEB-330-dayinji-xianxing",unicode:"ea41",unicode_decimal:59969},{icon_id:"47596150",name:"CRMEB-336-氛围-线性",font_class:"CRMEB-336-fenwei-xianxing",unicode:"ea42",unicode_decimal:59970},{icon_id:"47596148",name:"CRMEB-328-奖杯-线性",font_class:"CRMEB-328-jiangbei-xianxing",unicode:"ea43",unicode_decimal:59971},{icon_id:"47596144",name:"CRMEB-331-打印机-面性",font_class:"CRMEB-331-dayinji-mianxing",unicode:"ea44",unicode_decimal:59972},{icon_id:"47596143",name:"CRMEB-325-伞-面性",font_class:"CRMEB-325-san-mianxing",unicode:"e998",unicode_decimal:59800},{icon_id:"47596142",name:"CRMEB-322-操作-线性",font_class:"CRMEB-322-caozuo-xianxing",unicode:"ea45",unicode_decimal:59973},{icon_id:"47596141",name:"CRMEB-327-台灯-面性",font_class:"CRMEB-327-taideng-mianxing",unicode:"ea46",unicode_decimal:59974},{icon_id:"47596139",name:"CRMEB-323-操作-面性",font_class:"CRMEB-323-caozuo-mianxing",unicode:"ea47",unicode_decimal:59975},{icon_id:"47596140",name:"CRMEB-324-伞-线性",font_class:"CRMEB-324-san-xianxing",unicode:"ea48",unicode_decimal:59976},{icon_id:"47596138",name:"CRMEB-326-台灯-线性",font_class:"CRMEB-326-taideng-xianxing",unicode:"ea49",unicode_decimal:59977},{icon_id:"47596133",name:"CRMEB-314-语音-线性",font_class:"CRMEB-314-yuyin-xianxing",unicode:"e997",unicode_decimal:59799},{icon_id:"47596137",name:"CRMEB-321-暂停-面性",font_class:"CRMEB-321-zanting-mianxing",unicode:"ea4a",unicode_decimal:59978},{icon_id:"47596172",name:"CRMEB-356-关闭-线性",font_class:"CRMEB-356-guanbi-xianxing",unicode:"ea2b",unicode_decimal:59947},{icon_id:"47596171",name:"CRMEB-357-关闭-面性",font_class:"CRMEB-357-guanbi-mianxing",unicode:"ea2c",unicode_decimal:59948},{icon_id:"47596170",name:"CRMEB-355-减少-面性",font_class:"CRMEB-355-jianshao-mianxing",unicode:"ea2d",unicode_decimal:59949},{icon_id:"47596168",name:"CRMEB-351-门店财务-面性",font_class:"CRMEB-351-mendiancaiwu-mianxing",unicode:"ea2e",unicode_decimal:59950},{icon_id:"47596169",name:"CRMEB-352-添加-线性",font_class:"CRMEB-352-tianjia-xianxing",unicode:"ea2f",unicode_decimal:59951},{icon_id:"47596166",name:"CRMEB-354-减少-线性",font_class:"CRMEB-354-jianshao-xianxing",unicode:"ea30",unicode_decimal:59952},{icon_id:"47596167",name:"CRMEB-353-添加-面性",font_class:"CRMEB-353-tianjia-mianxing",unicode:"ea31",unicode_decimal:59953},{icon_id:"47596165",name:"CRMEB-346-关注-线性",font_class:"CRMEB-346-guanzhu-xianxing",unicode:"e99b",unicode_decimal:59803},{icon_id:"47596161",name:"CRMEB-344-分销员-线性",font_class:"CRMEB-344-fenxiaoyuan-xianxing",unicode:"ea32",unicode_decimal:59954},{icon_id:"47596164",name:"CRMEB-347-关注-面性",font_class:"CRMEB-347-guanzhu-mianxing",unicode:"ea33",unicode_decimal:59955},{icon_id:"47596163",name:"CRMEB-343-礼品申请-面性",font_class:"CRMEB-343-lipinshenqing-mianxing",unicode:"ea34",unicode_decimal:59956},{icon_id:"47596162",name:"CRMEB-345-分销员-面性",font_class:"CRMEB-345-fenxiaoyuan-mianxing",unicode:"ea35",unicode_decimal:59957},{icon_id:"47596159",name:"CRMEB-349-时间-面性",font_class:"CRMEB-349-shijian-mianxing",unicode:"ea36",unicode_decimal:59958},{icon_id:"47596160",name:"CRMEB-348-时间-线性",font_class:"CRMEB-348-shijian-xianxing",unicode:"ea37",unicode_decimal:59959},{icon_id:"47596158",name:"CRMEB-342-礼品申请-线性",font_class:"CRMEB-342-lipinshenqing-xianxing",unicode:"e99a",unicode_decimal:59802},{icon_id:"47596157",name:"CRMEB-337-氛围-面性",font_class:"CRMEB-337-fenwei-mianxing",unicode:"ea38",unicode_decimal:59960},{icon_id:"47596155",name:"CRMEB-340-资产管理-线性",font_class:"CRMEB-340-zichanguanli-xianxing",unicode:"ea39",unicode_decimal:59961},{icon_id:"47596156",name:"CRMEB-341-资产管理-面性",font_class:"CRMEB-341-zichanguanli-mianxing",unicode:"ea3a",unicode_decimal:59962},{icon_id:"47596154",name:"CRMEB-339-APP-面性",font_class:"CRMEB-339-APP-mianxing",unicode:"ea3b",unicode_decimal:59963},{icon_id:"47596190",name:"CRMEB-375-宫格-面性",font_class:"CRMEB-375-gongge-mianxing",unicode:"ea1d",unicode_decimal:59933},{icon_id:"47596189",name:"CRMEB-369-搜索-面性",font_class:"CRMEB-369-sousuo-mianxing",unicode:"e99f",unicode_decimal:59807},{icon_id:"47596188",name:"CRMEB-370-展开侧边栏-线性",font_class:"CRMEB-370-zhankaicebianlan-xianxing",unicode:"ea1e",unicode_decimal:59934},{icon_id:"47596187",name:"CRMEB-372-收起侧边栏-线性",font_class:"CRMEB-372-shouqicebianlan-xianxing",unicode:"ea1f",unicode_decimal:59935},{icon_id:"47596185",name:"CRMEB-371-展开侧边栏-面性",font_class:"CRMEB-371-zhankaicebianlan-mianxing",unicode:"ea20",unicode_decimal:59936},{icon_id:"47596186",name:"CRMEB-373-收起侧边栏-面性",font_class:"CRMEB-373-shouqicebianlan-mianxing",unicode:"ea21",unicode_decimal:59937},{icon_id:"47596184",name:"CRMEB-368-搜索-线性",font_class:"CRMEB-368-sousuo-xianxing",unicode:"e99e",unicode_decimal:59806},{icon_id:"47596183",name:"CRMEB-363-关闭其他-面性",font_class:"CRMEB-363-guanbiqita-mianxing",unicode:"ea22",unicode_decimal:59938},{icon_id:"47596181",name:"CRMEB-367-通知1-面性",font_class:"CRMEB-367-tongzhi1-mianxing",unicode:"ea23",unicode_decimal:59939},{icon_id:"47596182",name:"CRMEB-366-通知1-线性",font_class:"CRMEB-366-tongzhi1-xianxing",unicode:"ea24",unicode_decimal:59940},{icon_id:"47596180",name:"CRMEB-364-说明-线性",font_class:"CRMEB-364-shuoming-xianxing",unicode:"ea25",unicode_decimal:59941},{icon_id:"47596179",name:"CRMEB-365-说明-面性",font_class:"CRMEB-365-shuoming-mianxing",unicode:"ea26",unicode_decimal:59942},{icon_id:"47596178",name:"CRMEB-360-更多-线性",font_class:"CRMEB-360-gengduo-xianxing",unicode:"e99d",unicode_decimal:59805},{icon_id:"47596177",name:"CRMEB-362-关闭其他-线性",font_class:"CRMEB-362-guanbiqita-xianxing",unicode:"ea27",unicode_decimal:59943},{icon_id:"47596176",name:"CRMEB-358-勾选-线性",font_class:"CRMEB-358-gouxuan-xianxing",unicode:"ea28",unicode_decimal:59944},{icon_id:"47596175",name:"CRMEB-359-勾选-面性",font_class:"CRMEB-359-gouxuan-mianxing",unicode:"ea29",unicode_decimal:59945},{icon_id:"47596174",name:"CRMEB-361-更多-面性",font_class:"CRMEB-361-gengduo-mianxing",unicode:"ea2a",unicode_decimal:59946},{icon_id:"47596173",name:"CRMEB-350-门店财务-线性",font_class:"CRMEB-350-mendiancaiwu-xianxing",unicode:"e99c",unicode_decimal:59804},{icon_id:"47596209",name:"CRMEB-391-图片-面性",font_class:"CRMEB-391-tupian-mianxing",unicode:"ea0c",unicode_decimal:59916},{icon_id:"47596208",name:"CRMEB-397-复制-面性",font_class:"CRMEB-397-fuzhi-mianxing",unicode:"ea0d",unicode_decimal:59917},{icon_id:"47596207",name:"CRMEB-393-显示-面性",font_class:"CRMEB-393-xianshi-mianxing",unicode:"ea0e",unicode_decimal:59918},{icon_id:"47596206",name:"CRMEB-390-图片-线性",font_class:"CRMEB-390-tupian-xianxing",unicode:"e9a1",unicode_decimal:59809},{icon_id:"47596205",name:"CRMEB-388-筛选-线性",font_class:"CRMEB-388-shaixuan-xianxing",unicode:"ea0f",unicode_decimal:59919},{icon_id:"47596204",name:"CRMEB-382-喇叭-线性",font_class:"CRMEB-382-laba-xianxing",unicode:"ea10",unicode_decimal:59920},{icon_id:"47596203",name:"CRMEB-387-视频-面性",font_class:"CRMEB-387-shipin-mianxing",unicode:"ea11",unicode_decimal:59921},{icon_id:"47596202",name:"CRMEB-386-视频-线性",font_class:"CRMEB-386-shipin-xianxing",unicode:"ea12",unicode_decimal:59922},{icon_id:"47596201",name:"CRMEB-383-喇叭-面性",font_class:"CRMEB-383-laba-mianxing",unicode:"ea13",unicode_decimal:59923},{icon_id:"47596200",name:"CRMEB-389-筛选-面性",font_class:"CRMEB-389-shaixuan-mianxing",unicode:"ea14",unicode_decimal:59924},{icon_id:"47596199",name:"CRMEB-385-相机-面性",font_class:"CRMEB-385-xiangji-mianxing",unicode:"ea15",unicode_decimal:59925},{icon_id:"47596198",name:"CRMEB-384-相机-线性",font_class:"CRMEB-384-xiangji-xianxing",unicode:"ea16",unicode_decimal:59926},{icon_id:"47596197",name:"CRMEB-378-编辑1-线性",font_class:"CRMEB-378-bianji1-xianxing",unicode:"e9a0",unicode_decimal:59808},{icon_id:"47596195",name:"CRMEB-381-移动端-面性",font_class:"CRMEB-381-yidongduan-mianxing",unicode:"ea17",unicode_decimal:59927},{icon_id:"47596196",name:"CRMEB-377-列表-面性",font_class:"CRMEB-377-liebiao-mianxing",unicode:"ea18",unicode_decimal:59928},{icon_id:"47596193",name:"CRMEB-380-移动端-线性",font_class:"CRMEB-380-yidongduan-xianxing",unicode:"ea19",unicode_decimal:59929},{icon_id:"47596194",name:"CRMEB-379-编辑1-面性",font_class:"CRMEB-379-bianji1-mianxing",unicode:"ea1a",unicode_decimal:59930},{icon_id:"47596192",name:"CRMEB-376-列表-线性",font_class:"CRMEB-376-liebiao-xianxing",unicode:"ea1b",unicode_decimal:59931},{icon_id:"47596191",name:"CRMEB-374-宫格-线性",font_class:"CRMEB-374-gongge-xianxing",unicode:"ea1c",unicode_decimal:59932},{icon_id:"47596210",name:"CRMEB-398-短信配置-线性",font_class:"CRMEB-398-duanxinpeizhi-xianxing",unicode:"ea0b",unicode_decimal:59915},{icon_id:"47596223",name:"CRMEB-404-提现金额-线性",font_class:"CRMEB-404-tixianjine-xianxing",unicode:"e9fb",unicode_decimal:59899},{icon_id:"47596227",name:"CRMEB-410-营业额-线性",font_class:"CRMEB-410-yingyee-xianxing",unicode:"e9fc",unicode_decimal:59900},{icon_id:"47596226",name:"CRMEB-411-营业额-面性",font_class:"CRMEB-411-yingyee-mianxing",unicode:"e9fd",unicode_decimal:59901},{icon_id:"47596225",name:"CRMEB-412-当前余额-线性",font_class:"CRMEB-412-dangqianyue-xianxing",unicode:"e9fe",unicode_decimal:59902},{icon_id:"47596224",name:"CRMEB-413-当前余额-面性",font_class:"CRMEB-413-dangqianyue-mianxing",unicode:"e9ff",unicode_decimal:59903},{icon_id:"47596222",name:"CRMEB-406-充值金额-线性",font_class:"CRMEB-406-chongzhijine-xianxing",unicode:"ea00",unicode_decimal:59904},{icon_id:"47596221",name:"CRMEB-405-提现金额-面性",font_class:"CRMEB-405-tixianjine-mianxing",unicode:"ea01",unicode_decimal:59905},{icon_id:"47596220",name:"CRMEB-407-充值金额-面性",font_class:"CRMEB-407-chongzhijine-mianxing",unicode:"ea02",unicode_decimal:59906},{icon_id:"47596218",name:"CRMEB-403-支出金额-面性",font_class:"CRMEB-403-zhichujine-mianxing",unicode:"ea03",unicode_decimal:59907},{icon_id:"47596217",name:"CRMEB-402-支出金额-线性",font_class:"CRMEB-402-zhichujine-xianxing",unicode:"ea04",unicode_decimal:59908},{icon_id:"47596219",name:"CRMEB-401-退款金额-面性",font_class:"CRMEB-401-tuikuanjine-mianxing",unicode:"ea05",unicode_decimal:59909},{icon_id:"47596215",name:"CRMEB-394-隐藏-线性",font_class:"CRMEB-394-yincang-xianxing",unicode:"e9a2",unicode_decimal:59810},{icon_id:"47596216",name:"CRMEB-395-隐藏-面性",font_class:"CRMEB-395-yincang-mianxing",unicode:"ea06",unicode_decimal:59910},{icon_id:"47596213",name:"CRMEB-396-复制-线性",font_class:"CRMEB-396-fuzhi-xianxing",unicode:"ea07",unicode_decimal:59911},{icon_id:"47596214",name:"CRMEB-392-显示-线性",font_class:"CRMEB-392-xianshi-xianxing",unicode:"ea08",unicode_decimal:59912},{icon_id:"47596212",name:"CRMEB-400-退款金额-线性",font_class:"CRMEB-400-tuikuanjine-xianxing",unicode:"ea09",unicode_decimal:59913},{icon_id:"47596211",name:"CRMEB-399-短信配置-面性",font_class:"CRMEB-399-duanxinpeizhi-mianxing",unicode:"ea0a",unicode_decimal:59914},{icon_id:"47596248",name:"CRMEB-432-会员卡激活-线性",font_class:"CRMEB-432-huiyuankajihuo-xianxing",unicode:"e9ed",unicode_decimal:59885},{icon_id:"47596246",name:"CRMEB-431-实付金额-面性",font_class:"CRMEB-431-shifujine-mianxing",unicode:"e9ee",unicode_decimal:59886},{icon_id:"47596245",name:"CRMEB-430-实付金额-线性",font_class:"CRMEB-430-shifujine-xianxing",unicode:"e9ef",unicode_decimal:59887},{icon_id:"47596244",name:"CRMEB-424-微信充值金额-线性",font_class:"CRMEB-424-weixinchongzhijine-xianxing",unicode:"e9a8",unicode_decimal:59816},{icon_id:"47596243",name:"CRMEB-428-成本金额-线性",font_class:"CRMEB-428-chengbenjine-xianxing",unicode:"e9f0",unicode_decimal:59888},{icon_id:"47596242",name:"CRMEB-427-支付宝金额-面性",font_class:"CRMEB-427-zhifubaojine-mianxing",unicode:"e9f1",unicode_decimal:59889},{icon_id:"47596241",name:"CRMEB-425-微信充值金额-面性",font_class:"CRMEB-425-weixinchongzhijine-mianxing",unicode:"e9f2",unicode_decimal:59890},{icon_id:"47596240",name:"CRMEB-426-支付宝金额-线性",font_class:"CRMEB-426-zhifubaojine-xianxing",unicode:"e9f3",unicode_decimal:59891},{icon_id:"47596239",name:"CRMEB-421-退款订单数-面性",font_class:"CRMEB-421-tuikuandingdanshu-mianxing",unicode:"e9f4",unicode_decimal:59892},{icon_id:"47596238",name:"CRMEB-423-冻结中金额-面性",font_class:"CRMEB-423-dongjiezhongjine-mianxing",unicode:"e9f5",unicode_decimal:59893},{icon_id:"47596237",name:"CRMEB-422-冻结中金额-线性",font_class:"CRMEB-422-dongjiezhongjine-xianxing",unicode:"e9f6",unicode_decimal:59894},{icon_id:"47596236",name:"CRMEB-420-退款订单数-线性",font_class:"CRMEB-420-tuikuandingdanshu-xianxing",unicode:"e9a7",unicode_decimal:59815},{icon_id:"47596235",name:"CRMEB-417-商品退款金额-面性",font_class:"CRMEB-417-shangpintuikuanjine-mianxing",unicode:"e9a6",unicode_decimal:59814},{icon_id:"47596234",name:"CRMEB-418-佣金总金额-线性",font_class:"CRMEB-418-yongjinzongjine-xianxing",unicode:"e9f7",unicode_decimal:59895},{icon_id:"47596233",name:"CRMEB-419-佣金总金额-面性",font_class:"CRMEB-419-yongjinzongjine-mianxing",unicode:"e9f8",unicode_decimal:59896},{icon_id:"47596232",name:"CRMEB-416-商品退款金额-线性",font_class:"CRMEB-416-shangpintuikuanjine-xianxing",unicode:"e9a5",unicode_decimal:59813},{icon_id:"47596230",name:"CRMEB-414-累计余额-线性",font_class:"CRMEB-414-leijiyue-xianxing",unicode:"e9f9",unicode_decimal:59897},{icon_id:"47596231",name:"CRMEB-415-累计余额-面性",font_class:"CRMEB-415-leijiyue-mianxing",unicode:"e9fa",unicode_decimal:59898},{icon_id:"47596229",name:"CRMEB-409-通知2-面性",font_class:"CRMEB-409-tongzhi2-mianxing",unicode:"e9a4",unicode_decimal:59812},{icon_id:"47596228",name:"CRMEB-408-通知2-线性",font_class:"CRMEB-408-tongzhi2-xianxing",unicode:"e9a3",unicode_decimal:59811},{icon_id:"47596267",name:"CRMEB-452-使用积分-线性",font_class:"CRMEB-452-shiyongjifen-xianxing",unicode:"e9dd",unicode_decimal:59869},{icon_id:"47596266",name:"CRMEB-453-使用积分-面性",font_class:"CRMEB-453-shiyongjifen-mianxing",unicode:"e9de",unicode_decimal:59870},{icon_id:"47596264",name:"CRMEB-448-当前积分-线性",font_class:"CRMEB-448-dangqianjifen-xianxing",unicode:"e9ac",unicode_decimal:59820},{icon_id:"47596265",name:"CRMEB-447-售罄商品-面性",font_class:"CRMEB-447-shouqingshangpin-mianxing",unicode:"e9df",unicode_decimal:59871},{icon_id:"47596263",name:"CRMEB-449-当前积分-面性",font_class:"CRMEB-449-dangqianjifen-mianxing",unicode:"e9e0",unicode_decimal:59872},{icon_id:"47596262",name:"CRMEB-445-出售商品-面性",font_class:"CRMEB-445-chushoushangpin-mianxing",unicode:"e9e1",unicode_decimal:59873},{icon_id:"47596261",name:"CRMEB-446-售罄商品-线性",font_class:"CRMEB-446-shouqingshangpin-xianxing",unicode:"e9e2",unicode_decimal:59874},{icon_id:"47596260",name:"CRMEB-444-出售商品-线性",font_class:"CRMEB-444-chushoushangpin-xianxing",unicode:"e9ab",unicode_decimal:59819},{icon_id:"47596259",name:"CRMEB-440-待审核-线性",font_class:"CRMEB-440-daishenhe-xianxing",unicode:"e9e3",unicode_decimal:59875},{icon_id:"47596258",name:"CRMEB-443-待提现金额-面性",font_class:"CRMEB-443-daitixianjine-mianxing",unicode:"e9e4",unicode_decimal:59876},{icon_id:"47596257",name:"CRMEB-438-购买会员金额-线性",font_class:"CRMEB-438-goumaihuiyuanjine-xianxing",unicode:"e9e5",unicode_decimal:59877},{icon_id:"47596255",name:"CRMEB-441-待审核-面性",font_class:"CRMEB-441-daishenhe-mianxing",unicode:"e9e6",unicode_decimal:59878},{icon_id:"47596256",name:"CRMEB-439-购买会员金额-面性",font_class:"CRMEB-439-goumaihuiyuanjine-mianxing",unicode:"e9e7",unicode_decimal:59879},{icon_id:"47596254",name:"CRMEB-442-待提现金额-线性",font_class:"CRMEB-442-daitixianjine-xianxing",unicode:"e9e8",unicode_decimal:59880},{icon_id:"47596249",name:"CRMEB-437-配送距离-面性",font_class:"CRMEB-437-peisongjuli-mianxing",unicode:"e9aa",unicode_decimal:59818},{icon_id:"47596252",name:"CRMEB-434-配送费收入-线性",font_class:"CRMEB-434-peisongfeishouru-xianxing",unicode:"e9e9",unicode_decimal:59881},{icon_id:"47596253",name:"CRMEB-436-配送距离-线性",font_class:"CRMEB-436-peisongjuli-xianxing",unicode:"e9ea",unicode_decimal:59882},{icon_id:"47596251",name:"CRMEB-433-会员卡激活-面性",font_class:"CRMEB-433-huiyuankajihuo-mianxing",unicode:"e9eb",unicode_decimal:59883},{icon_id:"47596250",name:"CRMEB-435-配送费收入-面性",font_class:"CRMEB-435-peisongfeishouru-mianxing",unicode:"e9ec",unicode_decimal:59884},{icon_id:"47596247",name:"CRMEB-429-成本金额-面性",font_class:"CRMEB-429-chengbenjine-mianxing",unicode:"e9a9",unicode_decimal:59817},{icon_id:"47596288",name:"CRMEB-471-记事本-面性",font_class:"CRMEB-471-jishiben-mianxing",unicode:"e9ce",unicode_decimal:59854},{icon_id:"47596285",name:"CRMEB-469-待回复评论-面性",font_class:"CRMEB-469-daihuifupinglun-mianxing",unicode:"e9cf",unicode_decimal:59855},{icon_id:"47596284",name:"CRMEB-470-记事本-线性",font_class:"CRMEB-470-jishiben-xianxing",unicode:"e9d0",unicode_decimal:59856},{icon_id:"47596283",name:"CRMEB-463-总订单金额-面性",font_class:"CRMEB-463-zongdingdanjine-mianxing",unicode:"e9b0",unicode_decimal:59824},{icon_id:"47596282",name:"CRMEB-462-总订单金额-线性",font_class:"CRMEB-462-zongdingdanjine-xianxing",unicode:"e9d1",unicode_decimal:59857},{icon_id:"47596281",name:"CRMEB-466-警戒库存-线性",font_class:"CRMEB-466-jingjiekucun-xianxing",unicode:"e9d2",unicode_decimal:59858},{icon_id:"47596280",name:"CRMEB-464-配送单数-线性",font_class:"CRMEB-464-peisongdanshu-xianxing",unicode:"e9d3",unicode_decimal:59859},{icon_id:"47596279",name:"CRMEB-465-配送单数-面性",font_class:"CRMEB-465-peisongdanshu-mianxing",unicode:"e9d4",unicode_decimal:59860},{icon_id:"47596278",name:"CRMEB-467-警戒库存-面性",font_class:"CRMEB-467-jingjiekucun-mianxing",unicode:"e9d5",unicode_decimal:59861},{icon_id:"47596277",name:"CRMEB-458-待发货订单-线性",font_class:"CRMEB-458-daifahuodingdan-xianxing",unicode:"e9ae",unicode_decimal:59822},{icon_id:"47596276",name:"CRMEB-461-待转账金额-面性",font_class:"CRMEB-461-daizhuanzhangjine-mianxing",unicode:"e9af",unicode_decimal:59823},{icon_id:"47596275",name:"CRMEB-460-待转账金额-线性",font_class:"CRMEB-460-daizhuanzhangjine-xianxing",unicode:"e9d6",unicode_decimal:59862},{icon_id:"47596274",name:"CRMEB-459-待发货订单-面性",font_class:"CRMEB-459-daifahuodingdan-mianxing",unicode:"e9d7",unicode_decimal:59863},{icon_id:"47596273",name:"CRMEB-456-待退款订单-线性",font_class:"CRMEB-456-daituikuandingdan-xianxing",unicode:"e9d8",unicode_decimal:59864},{icon_id:"47596272",name:"CRMEB-457-待退款订单-面性",font_class:"CRMEB-457-daituikuandingdan-mianxing",unicode:"e9d9",unicode_decimal:59865},{icon_id:"47596271",name:"CRMEB-450-累计积分-线性",font_class:"CRMEB-450-leijijifen-xianxing",unicode:"e9ad",unicode_decimal:59821},{icon_id:"47596270",name:"CRMEB-454-冻结积分-线性",font_class:"CRMEB-454-dongjiejifen-xianxing",unicode:"e9da",unicode_decimal:59866},{icon_id:"47596269",name:"CRMEB-455-冻结积分-面性",font_class:"CRMEB-455-dongjiejifen-mianxing",unicode:"e9db",unicode_decimal:59867},{icon_id:"47596268",name:"CRMEB-451-累计积分-面性",font_class:"CRMEB-451-leijijifen-mianxing",unicode:"e9dc",unicode_decimal:59868},{icon_id:"47596306",name:"CRMEB-486-残次品转良-线性",font_class:"CRMEB-486-cancipinzhuanliang-xianxing",unicode:"e9c0",unicode_decimal:59840},{icon_id:"47596305",name:"CRMEB-488-残次品库存-线性",font_class:"CRMEB-488-cancipinkucun-xianxing",unicode:"e9c1",unicode_decimal:59841},{icon_id:"47596303",name:"CRMEB-491-残次品入库数量-面性",font_class:"CRMEB-491-cancipinrukushuliang-mianxing",unicode:"e9c2",unicode_decimal:59842},{icon_id:"47596301",name:"CRMEB-485-付费会员数-面性",font_class:"CRMEB-485-fufeihuiyuanshu-mianxing",unicode:"e9b4",unicode_decimal:59828},{icon_id:"47596300",name:"CRMEB-484-付费会员数-线性",font_class:"CRMEB-484-fufeihuiyuanshu-xianxing",unicode:"e9c3",unicode_decimal:59843},{icon_id:"47596299",name:"CRMEB-483-充值用户数-面性",font_class:"CRMEB-483-chongzhiyonghushu-mianxing",unicode:"e9c4",unicode_decimal:59844},{icon_id:"47596298",name:"CRMEB-482-充值用户数-线性",font_class:"CRMEB-482-chongzhiyonghushu-xianxing",unicode:"e9c5",unicode_decimal:59845},{icon_id:"47596297",name:"CRMEB-481-成交用户数-面性",font_class:"CRMEB-481-chengjiaoyonghushu-mianxing",unicode:"e9b3",unicode_decimal:59827},{icon_id:"47596296",name:"CRMEB-480-成交用户数-线性",font_class:"CRMEB-480-chengjiaoyonghushu-xianxing",unicode:"e9c6",unicode_decimal:59846},{icon_id:"47596295",name:"CRMEB-479-累计过期人数-面性",font_class:"CRMEB-479-leijiguoqirenshu-mianxing",unicode:"e9c7",unicode_decimal:59847},{icon_id:"47596294",name:"CRMEB-478-累计过期人数-线性",font_class:"CRMEB-478-leijiguoqirenshu-xianxing",unicode:"e9c8",unicode_decimal:59848},{icon_id:"47596293",name:"CRMEB-477-新增用户数-面性",font_class:"CRMEB-477-xinzengyonghushu-mianxing",unicode:"e9b2",unicode_decimal:59826},{icon_id:"47596292",name:"CRMEB-475-用户3-面性",font_class:"CRMEB-475-yonghu3-mianxing",unicode:"e9c9",unicode_decimal:59849},{icon_id:"47596291",name:"CRMEB-476-新增用户数-线性",font_class:"CRMEB-476-xinzengyonghushu-xianxing",unicode:"e9ca",unicode_decimal:59850},{icon_id:"47596289",name:"CRMEB-474-用户3-面性",font_class:"CRMEB-474-yonghu3-mianxing",unicode:"e9cb",unicode_decimal:59851},{icon_id:"47596290",name:"CRMEB-473-电话簿-面性",font_class:"CRMEB-473-dianhuabu-mianxing",unicode:"e9cc",unicode_decimal:59852},{icon_id:"47596286",name:"CRMEB-472-电话簿-线性",font_class:"CRMEB-472-dianhuabu-xianxing",unicode:"e9b1",unicode_decimal:59825},{icon_id:"47596287",name:"CRMEB-468-待回复评论-线性",font_class:"CRMEB-468-daihuifupinglun-xianxing",unicode:"e9cd",unicode_decimal:59853},{icon_id:"47596316",name:"CRMEB-499-良品出库数量-面性",font_class:"CRMEB-499-liangpinchukushuliang-mianxing",unicode:"e9b6",unicode_decimal:59830},{icon_id:"47596314",name:"CRMEB-495-良品库存-面性",font_class:"CRMEB-495-liangpinkucun-mianxing",unicode:"e9b5",unicode_decimal:59829},{icon_id:"47596315",name:"CRMEB-498-良品出库数量-线性",font_class:"CRMEB-498-liangpinchukushuliang-xianxing",unicode:"e9b7",unicode_decimal:59831},{icon_id:"47596312",name:"CRMEB-496-良品入库数量-线性",font_class:"CRMEB-496-liangpinrukushuliang-xianxing",unicode:"e9b8",unicode_decimal:59832},{icon_id:"47596313",name:"CRMEB-497-良品入库数量-面性",font_class:"CRMEB-497-liangpinrukushuliang-mianxing",unicode:"e9b9",unicode_decimal:59833},{icon_id:"47596311",name:"CRMEB-494-良品库存-线性",font_class:"CRMEB-494-liangpinkucun-xianxing",unicode:"e9ba",unicode_decimal:59834},{icon_id:"47596310",name:"CRMEB-492-残次品出库数量-线性",font_class:"CRMEB-492-cancipinchukushuliang-xianxing",unicode:"e9bb",unicode_decimal:59835},{icon_id:"47596304",name:"CRMEB-490-残次品入库数量-线性",font_class:"CRMEB-490-cancipinrukushuliang-xianxing",unicode:"e9bc",unicode_decimal:59836},{icon_id:"47596309",name:"CRMEB-489-残次品库存-面性",font_class:"CRMEB-489-cancipinkucun-mianxing",unicode:"e9bd",unicode_decimal:59837},{icon_id:"47596307",name:"CRMEB-487-残次品转良-面性",font_class:"CRMEB-487-cancipinzhuanliang-mianxing",unicode:"e9be",unicode_decimal:59838},{icon_id:"47596308",name:"CRMEB-493-残次品出库数量-面性",font_class:"CRMEB-493-cancipinchukushuliang-mianxing",unicode:"e9bf",unicode_decimal:59839}],rA={glyphs:oA};function sA(e){const i=e.match(/\d+/);return i?Number(i[0]):Number.MAX_SAFE_INTEGER}function cA(e){return e.replace(/\s+/g,"").replace(/^(?:a-)?CRME[BD]-\d+-/,"").replace(/-(线性|面性)$/,"")}const kn=rA.glyphs.map(e=>({value:e.font_class,name:cA(e.name),num:sA(e.font_class)})).sort((e,i)=>e.num-i.num||e.value.localeCompare(i.value)),ps=new Set(kn.map(e=>e.value));function lA(e){if(!e)return"";if(ps.has(e))return e;const i=kn.filter(o=>o.value.startsWith(e));if(i.length===1)return i[0].value;const t=e.replace(/^a-/,"");if(ps.has(t))return t;const a=kn.filter(o=>o.value.endsWith(t));return a.length===1?a[0].value:""}const uA=Object.assign({name:"Icon"},{__name:"index",props:{type:{type:String,default:""},size:{type:[Number,String],default:""},color:{type:String,default:""}},setup(e){const i=e,t={"ios-folder":"Folder","logo-linkedin":"Connection","ios-keypad-outline":"Grid","ios-camera-outline":"CameraFilled","ios-refresh":"Refresh","ios-close":"Close","md-radio-button-on":"CircleCheckFilled","md-radio-button-off":"CircleFilled","md-menu":"Menu","ios-people":"User","ios-gear":"Setting","md-home":"HomeFilled","ios-home":"HomeFilled"},a=Object.keys(Kc);function o(f){if(!f)return"";if(a.includes(f))return f;if(f.length>=4){const u=a.find(g=>g.startsWith(f));if(u)return u}return""}const s=A2(()=>{const f=(i.type||"").trim();if(!f)return{epName:"",compatClass:""};if(/^(ios|md|logo)-/.test(f))return{epName:t[f]||"",compatClass:""};const u=f.replace(/^el-icon-/,"");if(!u)return{epName:"",compatClass:""};const g=u[0].toUpperCase()+u.slice(1),h=o(g);if(h)return{epName:h,compatClass:""};const x=lA(f);return x?{epName:"",compatClass:`crmeb-icon ${x}`}:{epName:"",compatClass:`el-icon-${u.toLowerCase()}`}}),c=A2(()=>s.value.epName),d=A2(()=>s.value.compatClass),p=A2(()=>{const f={};return i.size&&(f.fontSize=typeof i.size=="number"?`${i.size}px`:i.size),i.color&&(f.color=i.color),f});return(f,u)=>c.value?(K1(),U2(P_(c.value),{key:0,class:"iview-icon-compat",style:f4(p.value)},null,8,["style"])):d.value?(K1(),h2("i",{key:1,class:b3([d.value,"iview-icon-compat"]),style:f4(p.value)},null,6)):(K1(),h2("i",{key:2,class:"iview-icon-compat iview-icon-compat--empty",style:f4(p.value)},null,4))}}),dA=W4(uA,[["__scopeId","data-v-dbc9fa09"]]),qu="data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAB1SURBVCiR7dI9DQJBEAbQt3sG+FkEIQUHWEABOQdYoLj+JCABAZCsg6EnHOSWhIop58vLN8XwxaQ4OWL/tL8I27RTP+GYyK4YJ7IqnFMMJWzKrHPB7V6z1XI+hLJeZF3XhpGb5R//FEfNwoF4+8Ovberbi/EAxP8Z/kc4LR4AAAAASUVORK5CYII=";function Uu(e){return S1({url:"file/category",method:"get",params:e})}function ju(e){return S1({url:"file/category/create",method:"get",params:e})}function $u(e){return S1({url:`file/category/${e}/edit`,method:"get"})}function Wu(e){return S1({url:"file/file",method:"get",params:e})}function ci(e){return S1({url:"file/file/do_move",method:"put",data:e})}function Ku(e,i){return S1({url:"file/file/update/"+e,method:"put",data:i})}function fA(e){return S1({url:"file/online_upload",method:"post",data:e})}function hA(){return S1({url:"file/scan_upload/qrcode",method:"delete"})}function gs(e){return S1({url:"file/video_data_save",method:"post",data:e})}function jO(e){return S1({url:"setting/config/header_basics",method:"get",params:e})}function $O(e,i){return S1({url:i,method:"get",params:e})}function WO(e){return S1({url:`app/wechat/kefu/login/${e}`,method:"get"})}function KO(e){return S1({url:"app/wechat/speechcraft",method:"get",params:e})}function GO(e){return S1({url:`app/wechat/speechcraft/${e}/edit`,method:"get"})}function XO(){return S1({url:"app/wechat/speechcraft/create",method:"get"})}function QO(e){return S1({url:"app/feedback",method:"get",params:e})}function YO(e){return S1({url:`app/feedback/${e}/edit`,method:"get"})}function ZO(){return S1({url:"merchant/store",method:"GET"})}function JO(){return S1({url:"merchant/store/address",method:"GET"})}function eP(e){return S1({url:`merchant/store/${e.id}`,method:"POST",data:e})}function tP(e){return S1({url:"freight/express",method:"get",params:e})}function nP(e){return S1({url:`freight/express/${e}/edit`,method:"get"})}function iP(e){return S1({url:`freight/express/set_status/${e.id}/${e.status}`,method:"PUT"})}function aP(){return S1({url:"freight/express/sync_express",method:"get"})}function oP(){return S1({url:"app/wechat/speechcraftcate",method:"get"})}function rP(){return S1({url:"app/wechat/speechcraftcate/create",method:"get"})}function sP(e){return S1({url:`app/wechat/speechcraftcate/${e}/edit`,method:"get"})}function cP(e){return S1({url:"setting/role",method:"GET",params:e})}function lP(e){return S1({url:`setting/role/set_status/${e.id}/${e.status}`,method:"PUT"})}function uP(e){return S1({url:`setting/role/${e.id}`,method:"post",data:e})}function dP(e){return S1({url:`setting/role/${e}/edit`,method:"get"})}function fP(){return S1({url:"setting/role/create",method:"get"})}function hP(e){return S1({url:"app/wechat/kefu",method:"get",params:e})}function mP(){return S1({url:"app/wechat/kefu/add",method:"get"})}function pP(e){return S1({url:`app/wechat/kefu/set_status/${e.id}/${e.status}`,method:"PUT"})}function gP(e){return S1({url:`app/wechat/kefu/${e}/edit`,method:"GET"})}function vP(e,i){return S1({url:`app/wechat/kefu/record/${i}`,method:"GET",params:e})}function _P(e){return S1({url:"app/wechat/kefu/chat_list",method:"GET",params:e})}function xP(e){return S1({url:`setting/city/list/${e}`,method:"get"})}function yP(e){return S1({url:`setting/city/add/${e}`,method:"get"})}function bP(e){return S1({url:`setting/city/${e}/edit`,method:"get"})}function EP(){return S1({url:"merchant/store/get_header",method:"get"})}function CP(e){return S1({url:"merchant/store",method:"get",params:e})}function MP(e,i){return S1({url:`merchant/store/set_show/${e}/${i}`,method:"put"})}function BP(e){return S1({url:`merchant/store/get_info/${e}`,method:"get"})}function RP(e){return S1({url:"merchant/store_staff",method:"get",params:e})}function wP(){return S1({url:"merchant/store_staff/create",method:"get"})}function AP(e){return S1({url:`merchant/store_staff/${e}/edit`,method:"get"})}function zP(e,i){return S1({url:`merchant/store_staff/set_show/${e}/${i}`,method:"put"})}function SP(){return S1({url:"merchant/store_list",method:"get"})}function kP(){return S1({url:"setting/city/clean_cache",method:"get"})}function TP(e){return S1({url:"system/config/storage",method:"get",params:e})}function LP(e,i){return S1({url:`system/config/storage/${e}`,method:"post",data:i})}function FP(e){return S1({url:`system/config/storage/synch/${e}`,method:"put"})}function OP(e,i){return S1({url:`system/config/storage/status/${e}`,method:"put",data:i===void 0?{}:{status:i}})}function PP(e){return S1({url:`system/config/storage/domain/${e}`,method:"get"})}function DP(){return S1({url:"setting/config/elec_invoice",method:"get"})}function IP(e){return S1({url:"setting/config/elec_invoice",method:"post",data:e})}function HP(e){return S1({url:`setting/config/get_system/${e}`,method:"get"})}function VP(e){return S1({url:"setting/config/save_basics",method:"post",data:e})}function NP(e){return S1({url:"setting/lang_type/list",method:"get",params:e})}function qP(e){return S1({url:`setting/lang_type/form/${e}`,method:"get"})}function UP(e){return S1({url:"setting/lang_code/list",method:"get",params:e})}function jP(e){return S1({url:"setting/lang_code/info",method:"get",params:e})}function $P(e){return S1({url:"setting/lang_code/save",method:"post",data:e})}function WP(e){return S1({url:"setting/lang_country/list",method:"get",params:e})}function KP(e){return S1({url:`setting/lang_country/form/${e}`,method:"get"})}function GP(e,i){return S1({url:`setting/lang_type/status/${e}/${i}`,method:"put"})}function XP(e){return S1({url:"setting/lang_code/translate",method:"post",data:e})}function QP(e){return S1({url:"system/crud",method:"post",data:e})}function mA(e){return S1({url:`file/scan_upload/qrcode?pid=${e}`,method:"get"})}function pA(e){return S1({url:`file/scan_upload/image/${e}`,method:"get"})}function gA(e){return S1({url:"file/upload",method:"post",file:!0,data:e})}function YP(e){return S1({url:"image/scan_upload",method:"post",file:!0,data:e})}function ZP(e){return S1({url:"menusSearch",method:"post",data:e})}function JP(){return S1({url:"/diy/link/category",method:"get"})}function eD(e,i){return S1({url:`diy/link/category/form/${e}/${i}`,method:"get"})}function tD(e){return S1({url:`diy/link/list/${e.id}`,method:"get",params:e})}function nD(e,i=0){return S1({url:`diy/link/form/${e}`,method:"get",params:{cate_id:i}})}function iD(){return S1({url:"get_workerman_url",method:"get"})}var u4,u4=function(){function e(m){this.mode=t.MODE_8BIT_BYTE,this.data=m,this.parsedData=[];for(var y=0,k=this.data.length;y65536?(v[0]=240|(M&1835008)>>>18,v[1]=128|(M&258048)>>>12,v[2]=128|(M&4032)>>>6,v[3]=128|M&63):M>2048?(v[0]=224|(M&61440)>>>12,v[1]=128|(M&4032)>>>6,v[2]=128|M&63):M>128?(v[0]=192|(M&1984)>>>6,v[1]=128|M&63):v[0]=M,this.parsedData.push(v)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}e.prototype={getLength:function(m){return this.parsedData.length},write:function(m){for(var y=0,k=this.parsedData.length;y=7&&this.setupTypeNumber(m),this.dataCache==null&&(this.dataCache=i.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,y)},setupPositionProbePattern:function(m,y){for(var k=-1;k<=7;k++)if(!(m+k<=-1||this.moduleCount<=m+k))for(var v=-1;v<=7;v++)y+v<=-1||this.moduleCount<=y+v||(0<=k&&k<=6&&(v==0||v==6)||0<=v&&v<=6&&(k==0||k==6)||2<=k&&k<=4&&2<=v&&v<=4?this.modules[m+k][y+v]=!0:this.modules[m+k][y+v]=!1)},getBestMaskPattern:function(){for(var m=0,y=0,k=0;k<8;k++){this.makeImpl(!0,k);var v=s.getLostPoint(this);(k==0||m>v)&&(m=v,y=k)}return y},createMovieClip:function(m,y,k){var v=m.createEmptyMovieClip(y,k),M=1;this.make();for(var T=0;T>k&1)==1;this.modules[Math.floor(k/3)][k%3+this.moduleCount-8-3]=v}for(var k=0;k<18;k++){var v=!m&&(y>>k&1)==1;this.modules[k%3+this.moduleCount-8-3][Math.floor(k/3)]=v}},setupTypeInfo:function(m,y){for(var k=this.errorCorrectLevel<<3|y,v=s.getBCHTypeInfo(k),M=0;M<15;M++){var T=!m&&(v>>M&1)==1;M<6?this.modules[M][8]=T:M<8?this.modules[M+1][8]=T:this.modules[this.moduleCount-15+M][8]=T}for(var M=0;M<15;M++){var T=!m&&(v>>M&1)==1;M<8?this.modules[8][this.moduleCount-M-1]=T:M<9?this.modules[8][15-M-1+1]=T:this.modules[8][15-M-1]=T}this.modules[this.moduleCount-8][8]=!m},mapData:function(m,y){for(var k=-1,v=this.moduleCount-1,M=7,T=0,R=this.moduleCount-1;R>0;R-=2)for(R==6&&R--;;){for(var B=0;B<2;B++)if(this.modules[v][R-B]==null){var S=!1;T>>M&1)==1);var _=s.getMask(y,v,R-B);_&&(S=!S),this.modules[v][R-B]=S,M--,M==-1&&(T++,M=7)}if(v+=k,v<0||this.moduleCount<=v){v-=k,k=-k;break}}}},i.PAD0=236,i.PAD1=17,i.createData=function(m,y,k){for(var v=f.getRSBlocks(m,y),M=new u,T=0;TB*8)throw new Error("code length overflow. ("+M.getLengthInBits()+">"+B*8+")");for(M.getLengthInBits()+4<=B*8&&M.put(0,4);M.getLengthInBits()%8!=0;)M.putBit(!1);for(;!(M.getLengthInBits()>=B*8||(M.put(i.PAD0,8),M.getLengthInBits()>=B*8));)M.put(i.PAD1,8);return i.createBytes(M,v)},i.createBytes=function(m,y){for(var k=0,v=0,M=0,T=new Array(y.length),R=new Array(y.length),B=0;B=0?H.get(N):0}}for(var $=0,A=0;A=0;)y^=s.G15<=0;)y^=s.G18<>>=1;return y},getPatternPosition:function(m){return s.PATTERN_POSITION_TABLE[m-1]},getMask:function(m,y,k){switch(m){case o.PATTERN000:return(y+k)%2==0;case o.PATTERN001:return y%2==0;case o.PATTERN010:return k%3==0;case o.PATTERN011:return(y+k)%3==0;case o.PATTERN100:return(Math.floor(y/2)+Math.floor(k/3))%2==0;case o.PATTERN101:return y*k%2+y*k%3==0;case o.PATTERN110:return(y*k%2+y*k%3)%2==0;case o.PATTERN111:return(y*k%3+(y+k)%2)%2==0;default:throw new Error("bad maskPattern:"+m)}},getErrorCorrectPolynomial:function(m){for(var y=new p([1],0),k=0;k5&&(k+=3+T-5)}for(var v=0;v=256;)m-=255;return c.EXP_TABLE[m]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},d=0;d<8;d++)c.EXP_TABLE[d]=1<>>7-m%8&1)==1},put:function(m,y){for(var k=0;k>>y-k-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(m){var y=Math.floor(this.length/8);this.buffer.length<=y&&this.buffer.push(0),m&&(this.buffer[y]|=128>>>this.length%8),this.length++}};var g=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function h(){return typeof CanvasRenderingContext2D<"u"}function x(){var m=!1,y=navigator.userAgent;if(/android/i.test(y)){m=!0;var k=y.toString().match(/android ([0-9]\.[0-9])/i);k&&k[1]&&(m=parseFloat(k[1]))}return m}var b=function(){var m=function(y,k){this._el=y,this._htOption=k};return m.prototype.draw=function(y){var k=this._htOption,v=this._el,M=y.getModuleCount();Math.floor(k.width/M),Math.floor(k.height/M),this.clear();function T(A,O){var D=document.createElementNS("http://www.w3.org/2000/svg",A);for(var H in O)O.hasOwnProperty(H)&&D.setAttribute(H,O[H]);return D}var R=T("svg",{viewBox:"0 0 "+String(M)+" "+String(M),width:"100%",height:"100%",fill:k.colorLight});R.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),v.appendChild(R),R.appendChild(T("rect",{fill:k.colorLight,width:"100%",height:"100%"})),R.appendChild(T("rect",{fill:k.colorDark,width:"1",height:"1",id:"template"}));for(var B=0;B=1;N--)arguments[N]=arguments[N]*y;else typeof D>"u"&&(arguments[1]*=y,arguments[2]*=y,arguments[3]*=y,arguments[4]*=y);k.apply(this,arguments)}}function v(T,R){var B=this;if(B._fFail=R,B._fSuccess=T,B._bSupportDataURI===null){var S=document.createElement("img"),_=function(){B._bSupportDataURI=!1,B._fFail&&B._fFail.call(B)},A=function(){B._bSupportDataURI=!0,B._fSuccess&&B._fSuccess.call(B)};S.onabort=_,S.onerror=_,S.onload=A,S.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==";return}else B._bSupportDataURI===!0&&B._fSuccess?B._fSuccess.call(B):B._bSupportDataURI===!1&&B._fFail&&B._fFail.call(B)}var M=function(T,R){this._bIsPainted=!1,this._android=x(),this._htOption=R,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=R.width,this._elCanvas.height=R.height,T.appendChild(this._elCanvas),this._el=T,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return M.prototype.draw=function(T){var R=this._elImage,B=this._oContext,S=this._htOption,_=T.getModuleCount(),A=S.width/_,O=S.height/_,D=Math.round(A),H=Math.round(O);R.style.display="none",this.clear();for(var N=0;N<_;N++)for(var $=0;$<_;$++){var Y=T.isDark(N,$),v1=$*A,t1=N*O;B.strokeStyle=Y?S.colorDark:S.colorLight,B.lineWidth=1,B.fillStyle=Y?S.colorDark:S.colorLight,B.fillRect(v1,t1,A,O),B.strokeRect(Math.floor(v1)+.5,Math.floor(t1)+.5,D,H),B.strokeRect(Math.ceil(v1)-.5,Math.ceil(t1)-.5,D,H)}this._bIsPainted=!0},M.prototype.makeImage=function(){this._bIsPainted&&v.call(this,m)},M.prototype.isPainted=function(){return this._bIsPainted},M.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},M.prototype.round=function(T){return T&&Math.floor(T*1e3)/1e3},M}).call(window):function(){var m=function(y,k){this._el=y,this._htOption=k};return m.prototype.draw=function(y){for(var k=this._htOption,v=this._el,M=y.getModuleCount(),T=Math.floor(k.width/M),R=Math.floor(k.height/M),B=[''],S=0;S");for(var _=0;_');B.push("")}B.push("
"),v.innerHTML=B.join("");var A=v.childNodes[0],O=(k.width-A.offsetWidth)/2,D=(k.height-A.offsetHeight)/2;O>0&&D>0&&(A.style.margin=D+"px "+O+"px")},m.prototype.clear=function(){this._el.innerHTML=""},m}();function z(m,y){for(var k=1,v=E(m),M=0,T=g.length;M<=T;M++){var R=0;switch(y){case a.L:R=g[M][0];break;case a.M:R=g[M][1];break;case a.Q:R=g[M][2];break;case a.H:R=g[M][3];break}if(v<=R)break;k++}if(k>g.length)throw new Error("Too long data");return k}function E(m){var y=encodeURI(m).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return y.length+(y.length!=m?3:0)}return u4=function(m,y){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:a.H},typeof y=="string"&&(y={text:y}),y)for(var k in y)this._htOption[k]=y[k];typeof m=="string"&&(m=document.getElementById(m)),this._htOption.useSVG&&(F=b),this._android=x(),this._el=m,this._oQRCode=null,this._oDrawing=new F(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)},u4.prototype.makeCode=function(m){this._oQRCode=new i(z(m,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(m),this._oQRCode.make(),this._el.title=m,this._oDrawing.draw(this._oQRCode),this.makeImage()},u4.prototype.makeImage=function(){typeof this._oDrawing.makeImage=="function"&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},u4.prototype.clear=function(){this._oDrawing.clear()},u4.CorrectLevel=a,u4}();const vs=u4;function vA(e){return new Promise((i,t)=>{const a=new FileReader;let o,s,c=!1;const d=setTimeout(()=>p(new Error("图片处理超时,请重新选择")),3e4);function p(f,u){c||(c=!0,clearTimeout(d),a.onload=a.onerror=a.onabort=null,a.readyState===1&&a.abort(),o&&(o.onload=o.onerror=null),s&&(s.width=s.height=0),f?t(f):i(u))}a.onerror=()=>p(new Error("图片读取失败,请重新选择")),a.onabort=()=>p(new Error("图片读取已取消")),a.onload=()=>{if(!c)try{o=new Image,o.onerror=()=>p(new Error("图片内容无法解析,请重新选择")),o.onload=()=>{if(!c)try{const f=o.naturalWidth,u=o.naturalHeight;if(!f||!u||f>2e7/u)throw new Error("图片像素超过处理限制");s=document.createElement("canvas"),s.width=f,s.height=u;const g=s.getContext("2d");if(!g)throw new Error("图片处理组件不可用");g.fillStyle="#fff",g.fillRect(0,0,f,u),g.drawImage(o,0,0,f,u),s.toBlob(h=>{if(!c)try{if(!h||!h.size||h.type!=="image/jpeg")throw new Error("图片压缩失败");const x=(e.name||"image").replace(/\.[^.]*$/,"")||"image";p(null,new File([h],`${x}.jpg`,{type:h.type}))}catch(x){p(x)}},"image/jpeg",.8)}catch(f){p(f)}},o.src=a.result}catch(f){p(f)}};try{a.readAsDataURL(e)}catch(f){p(f)}})}function _A(e){const i=[".jpg",".png",".jpeg",".JPG",".PNG",".JPEG",".gif",".GIF",".webp",".WEBP"],t=e.name.substring(e.name.lastIndexOf(".")),a=i.indexOf(t)>-1;return a||p2.error("上传图片格式不对"),a}function aD(e){const i=[".mp3",".MP3"],t=e.name.substring(e.name.lastIndexOf(".")),a=i.indexOf(t)>-1;return a||p2.error("上传音频格式不对"),a}function xA(e){const i=[".mp4",".MP4"],t=e.name.substring(e.name.lastIndexOf(".")),a=i.indexOf(t)>-1;return a||p2.error("上传文件必须为mp4格式视频"),a}function oD(e){const i=[".xls",".xlsx"],t=e.name.substring(e.name.lastIndexOf(".")),a=i.indexOf(t)>-1;return a||p2.error("上传文件格式不对"),a}function rD(e,i){if(e.length!==i.length)return!1;const t=e.slice().sort(),a=i.slice().sort();for(let o=0;o[]},categoryId:{default:""},isPage:{default:!1},isIframe:{default:!1}},emits:["uploadSuccess"],setup(e,{expose:i,emit:t}){const a=t,o=e,s=P1(""),c=P1(!1),d=O2.apiBaseURL+"/file/upload",p=P1({"Authori-zation":"Bearer "+L5("token")}),f=P1({}),u={checkStrictly:!0,emitPath:!1,label:"title",value:"id"},g=P1(null),h=N6({type:0,region:"",imgList:[]}),x={type:[{required:!0,message:"请选择活动资源",trigger:"change"}]},b=P1(""),w=P1(!1),F=P1(0),z=new Set;let E,m=0,y=null,k=Promise.resolve(),v=Promise.resolve(),M=null;const T=P1(null);l6(c,l1=>{l1&&(h.region=o.categoryId)},{immediate:!0}),D_(()=>{m++,R()});function R(){clearInterval(E),E=void 0}function B(l1){h.type=l1,h.imgList=[],m++,b.value="",R(),l1==2&&S()}async function S(){const l1=++m,m1=v,M1=k;let z1;v=new Promise(w1=>{z1=w1}),b.value="",h.imgList=[],z.clear(),T.value&&(T.value.innerHTML=""),R();try{if(await m1,await M1,l1!==m||!c.value||h.type!==2)return;const w1=await mA(h.region||0);if(l1!==m||!c.value||h.type!==2)return;const f1=new URL(w1.data.url,location.origin),L1=f1.searchParams.get("token");if(!/^[a-f0-9]{64}$/.test(L1||""))throw new Error("扫码上传链接无效");H(f1.href),b.value=L1,E=setInterval(_,2e3)}catch(w1){l1===m&&c.value&&h.type===2&&p2.error(w1.msg||w1.message||"生成扫码上传链接失败")}finally{z1()}}async function _(){const l1=m,m1=b.value;if(!(!m1||!c.value||h.type!==2||y===l1)){y=l1;try{const M1=await pA(m1);if(l1!==m||m1!==b.value||!c.value||h.type!==2)return;if(!Array.isArray(M1.data))throw new Error("扫码上传图片数据无效");const z1=M1.data.filter(Y1=>!z.has(String(Y1.att_id))),w1=new Map(z1.map(Y1=>[String(Y1.att_id),Y1])),f1=h.imgList.filter(Y1=>w1.has(String(Y1.att_id))).map(Y1=>w1.get(String(Y1.att_id))),L1=new Set(f1.map(Y1=>String(Y1.att_id)));h.imgList=[...f1,...z1.filter(Y1=>!L1.has(String(Y1.att_id)))]}catch(M1){l1===m&&c.value&&h.type===2&&(R(),p2.error(M1.msg||M1.message||"获取扫码上传图片失败"))}finally{y===l1&&(y=null)}}}function A(){if(!(w.value||F.value)){if(!s.value){p2.error("请先输入图片地址");return}if(s.value.indexOf(".php")!=-1){p2.error("请先输入其他图片地址");return}h.imgList.push({url:s.value})}}async function O(){if(w.value||F.value)return;if(!h.imgList.length)return p2.warning("请先选择图片");const l1=[...h.imgList],m1=h.region||0;w.value=!0;try{if(h.type==0)for(const M1 of l1)M1._uploaded||(await D(M1.raw,m1),M1._uploaded=!0);else if(h.type==1)await fA({pid:m1,images:l1.map(M1=>M1.url)});else if(h.type==2)await ci({pid:m1,images:l1.map(M1=>M1.att_id)});else throw new Error("上传方式错误");p2.success("上传成功"),a("uploadSuccess"),c.value=!1,i1()}catch(M1){p2.error(M1.msg||M1.message||"上传失败")}finally{w.value=!1}}function D(l1,m1){const M1=new FormData;return M1.append("file",l1),M1.append("pid",m1),gA(M1).then(z1=>{if(z1.status!==200)throw z1})}function H(l1){T.value.innerHTML="",new vs(T.value,{text:l1,width:160,height:160,colorDark:"#000000",colorLight:"#ffffff",correctLevel:vs.CorrectLevel.H})}function N(l1){if(w.value||F.value)return;const m1=h.imgList.findIndex(M1=>h.type===2?String(M1.att_id)===String(l1.att_id):M1.url===l1.url);m1<0||(h.type===2&&z.add(String(l1.att_id)),h.imgList.splice(m1,1))}function $(l1){w.value||F.value||h.imgList.splice(l1,1)}async function Y(l1,m1){if(!w.value)if(_A(l1)){if(h.imgList=[...m1],l1.size>=2097152){F.value++;try{const M1=await vA(l1.raw),z1=h.imgList.find(w1=>w1.uid===l1.uid);z1&&(z1.raw=M1)}catch(M1){h.imgList=h.imgList.filter(z1=>z1.uid!==l1.uid),p2.error(M1.msg||M1.message||"图片处理失败")}finally{F.value--}}}else h.imgList=m1.filter(M1=>M1.uid!==l1.uid)}function v1(l1){h.type==2&&S()}function t1(l1,m1){M=m1}function X(l1,m1){M=null}function o1(l1){l1.dataTransfer.dropEffect="move"}function n1(l1,m1){if(w.value||F.value||(l1.dataTransfer.effectAllowed="move",m1===M))return;const M1=[...h.imgList],z1=M1.indexOf(M),w1=M1.indexOf(m1);M1.splice(w1,0,...M1.splice(z1,1)),h.imgList=M1}function s1(){i1(),k=Promise.all([v,k]).then(()=>hA()).catch(l1=>{p2.error(l1.msg||l1.message||"取消扫码上传失败")})}function c1(l1){!w.value&&!F.value&&l1()}function j(){c.value=!1,i1()}function i1(){m++,y=null,h.type=0,h.region=0,b.value="",z.clear(),s.value="",h.imgList=[],R()}return i({uploadModal:c}),(l1,m1)=>{const M1=m2("el-radio"),z1=m2("el-radio-group"),w1=m2("el-form-item"),f1=m2("el-cascader"),L1=m2("el-input"),Y1=m2("el-upload"),W1=m2("el-button"),C1=m2("el-form"),F1=m2("el-dialog"),G=V6("db-click"),J=V6("loading");return K1(),h2("div",null,[j1(F1,{title:"上传图片",modelValue:c.value,"onUpdate:modelValue":m1[5]||(m1[5]=g1=>c.value=g1),"append-to-body":!0,width:e.isIframe?"100%":"min(1024px, calc(100vw - 24px))",fullscreen:e.isIframe,"close-on-click-modal":!1,"close-on-press-escape":!w.value&&!F.value,"show-close":!w.value&&!F.value,"before-close":c1,onClose:s1},{footer:Q1(()=>[R1("span",DA,[P2((K1(),U2(W1,{disabled:w.value||F.value>0,onClick:j},{default:Q1(()=>[...m1[16]||(m1[16]=[C2("取 消",-1)])]),_:1},8,["disabled"])),[[G]]),P2((K1(),U2(W1,{type:"primary",loading:w.value||F.value>0,disabled:!h.imgList.length,onClick:O},{default:Q1(()=>[...m1[17]||(m1[17]=[C2("确 定",-1)])]),_:1},8,["loading","disabled"])),[[G]])])]),default:Q1(()=>[P2((K1(),h2("div",yA,[j1(C1,{model:h,rules:x,ref_key:"formRef",ref:g,"label-width":"100px",class:"demo-ruleForm"},{default:Q1(()=>[j1(w1,{label:"上传方式:",prop:"type"},{default:Q1(()=>[j1(z1,{modelValue:h.type,"onUpdate:modelValue":m1[0]||(m1[0]=g1=>h.type=g1),disabled:w.value||F.value>0,onChange:m1[1]||(m1[1]=g1=>B(h.type))},{default:Q1(()=>[j1(M1,{label:0,value:0},{default:Q1(()=>[...m1[6]||(m1[6]=[C2("本地上传",-1)])]),_:1}),j1(M1,{label:1,value:1},{default:Q1(()=>[...m1[7]||(m1[7]=[C2("网络上传",-1)])]),_:1}),j1(M1,{label:2,value:2},{default:Q1(()=>[...m1[8]||(m1[8]=[C2("扫码上传",-1)])]),_:1})]),_:1},8,["modelValue","disabled"])]),_:1}),P2(j1(w1,{label:"上传至分组:",prop:"region"},{default:Q1(()=>[j1(f1,{class:"form-width",modelValue:h.region,"onUpdate:modelValue":m1[2]||(m1[2]=g1=>h.region=g1),props:u,options:e.categoryList,disabled:w.value||F.value>0,onChange:v1},null,8,["modelValue","options","disabled"])]),_:1},512),[[f9,h.type==0||h.type==1]]),h.type==1?(K1(),U2(w1,{key:0,label:"网络图片:",prop:"region"},{default:Q1(()=>[j1(L1,{class:"form-width",modelValue:s.value,"onUpdate:modelValue":m1[3]||(m1[3]=g1=>s.value=g1),placeholder:"请网络图片地址"},null,8,["modelValue"]),P2((K1(),h2("span",{class:"tq-text",onClick:A},[...m1[9]||(m1[9]=[C2("提取照片",-1)])])),[[G]])]),_:1})):H2("",!0),h.type==0?(K1(),U2(w1,{key:1,label:"上传图片:",prop:"region"},{default:Q1(()=>[R1("div",bA,[R1("div",EA,[j1(Y1,{ref:"upload",action:d,"list-type":"picture-card","on-change":Y,"file-list":h.imgList,"auto-upload":!1,disabled:w.value||F.value>0,data:f.value,headers:p.value,multiple:!0,limit:IA},{default:Q1(()=>[...m1[10]||(m1[10]=[R1("i",{class:"el-icon-plus"},null,-1)])]),file:Q1(({file:g1})=>[R1("div",{draggable:"false",onDragstart:I1=>t1(I1,g1),onDragover:I1=>o1(I1,g1),onDragenter:I1=>n1(I1,g1),onDragend:I1=>X(I1,g1)},[R1("img",{class:"el-upload-list__item-thumbnail",src:g1.url,alt:""},null,8,MA),P2(R1("i",{class:"el-icon-error btndel",onClick:I1=>N(g1)},null,8,BA),[[G]])],40,CA)]),_:1},8,["file-list","disabled","data","headers"]),m1[11]||(m1[11]=R1("div",{class:"tips"}," 建议上传图片最大宽度750px,不超过3MB;仅支持jpeg、jpg、png格式,可拖拽调整上传顺序 ",-1))])])]),_:1})):H2("",!0),h.type==1?(K1(),h2("div",RA,[(K1(!0),h2(N4,null,S7(h.imgList,(g1,I1)=>(K1(),h2("div",{key:I1,class:"pictrue",draggable:"false",onDragstart:J1=>t1(J1,g1),onDragover:A5(J1=>o1(J1,g1),["prevent"]),onDragenter:J1=>n1(J1,g1),onDragend:J1=>X(J1,g1)},[R1("img",{src:g1.url},null,8,AA),P2(R1("i",{class:"el-icon-error btndel",onClick:J1=>$(I1)},null,8,zA),[[G]])],40,wA))),128))])):H2("",!0),h.type==2?(K1(),h2("div",SA,[R1("div",kA,[j1(w1,{label:"上传至分组:",prop:"region"},{default:Q1(()=>[j1(f1,{class:"form-width",modelValue:h.region,"onUpdate:modelValue":m1[4]||(m1[4]=g1=>h.region=g1),props:u,options:e.categoryList,disabled:w.value||F.value>0,onChange:v1},null,8,["modelValue","options","disabled"])]),_:1}),j1(w1,{label:"二维码:",prop:"region"},{default:Q1(()=>[R1("div",{class:"code",ref_key:"qrCodeUrl",ref:T},null,512),m1[12]||(m1[12]=R1("div",{class:"trip"},"扫描二维码,快速上传手机图片",-1)),m1[13]||(m1[13]=R1("div",{class:"trip-small"},"建议使用手机浏览器",-1))]),_:1})]),R1("div",TA,[P2((K1(),U2(W1,{onClick:_},{default:Q1(()=>[...m1[14]||(m1[14]=[C2("刷新图库",-1)])]),_:1})),[[G]]),m1[15]||(m1[15]=R1("div",{class:"tip"},"刷新图库按钮,可显示移动端上传成功的图片",-1)),R1("div",LA,[(K1(!0),h2(N4,null,S7(h.imgList,(g1,I1)=>(K1(),h2("div",{key:I1,class:"pictrue",draggable:"false",onDragstart:J1=>t1(J1,g1),onDragover:A5(J1=>o1(J1,g1),["prevent"]),onDragenter:J1=>n1(J1,g1),onDragend:J1=>X(J1,g1)},[R1("img",{src:g1.att_dir},null,8,OA),P2(R1("i",{class:"el-icon-error btndel",onClick:J1=>N(g1)},null,8,PA),[[G]])],40,FA))),128))])])])):H2("",!0)]),_:1},8,["model"])])),[[J,w.value||F.value>0]])]),_:1},8,["modelValue","width","fullscreen","close-on-press-escape","show-close"])])}}}),Gu=W4(HA,[["__scopeId","data-v-44005f19"]]),VA={"el-icon-picture-outline":"Picture","el-icon-user":"User","el-icon-user-solid":"UserFilled","md-add":"Plus"};function _s(e){return typeof e=="string"&&VA[e]||e}function Tn(e){if(!e||typeof e!="object")return e;const i={...e};return typeof i.icon=="string"&&(i.icon=_s(i.icon)),["props","info","title"].forEach(t=>{const a=i[t];!a||typeof a!="object"||Array.isArray(a)||(i[t]={...a},["icon","handleIcon"].forEach(o=>{o in i[t]&&(i[t][o]=_s(i[t][o]))}))}),Array.isArray(i.children)&&(i.children=i.children.map(Tn)),Array.isArray(i.control)&&(i.control=i.control.map(t=>Array.isArray(t==null?void 0:t.rule)?{...t,rule:t.rule.map(Tn)}:t)),i}let G8,NA=1;const qA=()=>++NA;function D7(e,i={}){return new Promise((t,a)=>{e.then(({data:o})=>{o.config||(o.config={}),o.config.submitBtn=!1,o.config.resetBtn=!1,o.config.form||(o.config.form={}),o.config.formData||(o.config.formData={}),o.config.formData={...o.config.formData,...i.formData},o.config.form.labelWidth="105px",o.config.global={upload:{props:{onSuccess(c,d){c.status===200&&(d.url=c.data.src)}}},frame:{props:{onLoad(c){c.fApi=G8}}},inputNumber:{props:{controls:!1}}},o.rules=o.rules.map(Tn),o=N6(o),o.rules.forEach(c=>{c.title+=":"});const s=e9.$form?e9.$form():e9;Gc({title:o.title,showCancelButton:!0,customClass:i.class||"modal-form",modal:!0,closeOnClickModal:!1,message:j1("div",{class:"common-form-create",key:qA()},[j1(s,{rule:o.rules,option:o.config,onMounted:c=>{G8=c,typeof i.onMounted=="function"&&i.onMounted(c)},"onUpdate:api":c=>{G8=c}})]),beforeClose:(c,d,p)=>{const f=()=>{setTimeout(()=>{d.confirmButtonLoading=!1},500)};c==="confirm"?(d.confirmButtonLoading=!0,G8.submit(u=>{S1[o.method.toLowerCase()](o.action,u).then(g=>{p(),p2.success(g.msg||"提交成功"),t(g)}).catch(g=>{p2.error(g.msg||"提交失败")}).finally(()=>{f()})},()=>f())):(f(),p())}})}).catch(o=>{p2.error(o.msg||"--")})})}function sD(e){return S1({url:"ajcaptcha",method:"get",params:e})}function cD(e){return S1({url:"ajcheck",method:"post",data:e})}function UA(e){return S1({url:e.url,method:e.method,data:e.ids,kefu:e.kefu||""})}function lD(){return S1({url:"jnotice",method:"GET"})}function uD(){return S1({url:"logo",method:"GET"})}function I7(e){return new Promise((i,t)=>{e.info||(e.info=""),Gc({title:"提示",type:"warning",message:q6("p",null,[q6("div",null,`确定要${e.title}吗?`),q6("div",null,`${e.info}`)]),showCancelButton:!0,cancelButtonText:"取消",confirmButtonText:"确定",confirmButtonClass:"btn-custom-cancel"}).then(()=>{e.success?e.success.then(async a=>{i(a)}).catch(a=>{t(a)}):UA(e).then(async a=>{i(a)}).catch(a=>{t(a)})}).catch(()=>{})})}function jA(e,i){let t=[];return typeof e=="number"?t=e.toString().split("."):t=e.split("."),i?t.length&&t[1]?"."+t[1]:"":t[0]}const $A={class:"Modal"},WA={class:"colLeft"},KA={class:"Nav"},GA={class:"trees-coadd"},XA={class:"scollhide"},QA={class:"custom-tree-node"},YA={class:"file-name"},ZA={key:0,class:"icon",src:qu},JA={class:"text line1"},ez={class:"conter"},tz={class:"bnt acea-row row-middle df-jcsb"},nz={class:""},iz={key:0,style:{width:"100%"}},az={class:"imagesNo"},oz=["onMouseenter","onMouseleave"],rz={key:0,class:"number"},sz=["onClick"],cz=["onMouseenter","onMouseleave"],lz={key:0},uz={class:"operate-height"},dz=["onClick"],fz=["onClick"],hz=["onClick"],mz={class:"df-aic"},pz={class:"tabBox_img mr10"},gz={key:0,class:"line2 real-name"},vz=["onClick"],_z=["onClick"],xz=["onClick"],yz={class:"footer acea-row row-right"},bz={class:"images"},Ez=["src"],Cz=Object.assign({name:"uploadPictures"},{__name:"index",props:{isChoice:{type:String,default:""},isPage:{type:Boolean,default:!1},isIframe:{type:Boolean,default:!1},gridBtn:{type:Object,default:null},gridPic:{type:Object,default:null},isShow:{type:Number,default:1},pageLimit:{type:Number,default:0}},emits:["changeCancel","getPic","getPicD"],setup(e,{emit:i}){const t=i,a=A9(),{proxy:o}=V4(),s=e;O2.apiBaseURL+"";const c=P1([]),d=P1([]),p=P1([]),f=P1([]),u=N6({name:"",all:1}),g=P1(""),h=N6({pid:0,real_name:"",page:1,limit:s.pageLimit||18}),x=P1(0),b=P1(0),w=P1(!1),F=P1({}),z=P1([]),E=P1("list"),m=P1(""),y=P1(!1),k=P1([]),v=P1("5px"),M=P1(null),T=P1(null);I5(()=>{if(s.isPage){let C1=parseInt((document.body.clientHeight-M.value.clientHeight-325)/180),F1=parseInt(M.value.clientWidth/156);h.limit=F1*C1,v.value=parseInt(M.value.clientWidth-F1*146)/(2*F1)+"px"}N(),c1(),i1()});function R(){t1()}function B(C1){m.value=C1.att_dir;const F1=o.$el.querySelector(".images").$viewer;F1.show(),T3(()=>{let G=p.value.findIndex(J=>J.att_dir===C1.att_dir);F1.update().view(G)})}function S(){o1({id:g.value||0})}function _(C1,F1){F1==1?o1(C1):F1==2?s1(C1):F1==3&&n1(C1)}function A(){h.page=1,t1(),i1()}function O(){T.value.uploadModal=!0}function D(C1){C1.realName=!C1.realName}function H(C1){C1.isShowEdit=!C1.isShowEdit}function N(){F.value["Authori-zation"]="Bearer "+L5("token")}function $(C1){if(!C1)Y();else if(!z.value.toString()){p2.warning("请先选择图片");return}}function Y(){let C1={pid:b.value,images:z.value.toString()};C1.images&&ci(C1).then(async F1=>{p2.success(F1.msg),i1(),b.value=0,f.value=[],z.value=[]}).catch(F1=>{p2.error(F1.msg)})}function v1(C1){let G={title:"删除选中图片",url:"file/file/delete",method:"POST",ids:{ids:C1||z.value.toString()}};I7(G).then(J=>{p2.success(J.msg),i1(),t1()}).catch(J=>{p2.error(J.msg)})}function t1(){f.value=[],z.value=[],k.value=[]}function X(C1){g.value=C1.id,h.page=1,i1()}function o1(C1){g.value=C1.id,w1()}function n1(C1,F1){let G={title:"删除 [ "+C1.title+" ] 分类",url:`file/category/${C1.id}`,method:"DELETE",ids:""};I7(G).then(J=>{p2.success(J.msg),c1(),f.value=[]}).catch(J=>{p2.error(J.msg)})}function s1(C1){D7($u(C1.id)).then(()=>c1())}function c1(C1){let F1={title:"全部图片",id:"",pid:0};Uu(u).then(async G=>{d.value=JSON.parse(JSON.stringify([...G.data.list])),G.data.list.unshift(F1),c.value=G.data.list}).catch(G=>{p2.error(G.msg)})}function j(){h.page=1,i1()}function i1(){h.pid=g.value,Wu(h).then(async C1=>{C1.data.list.forEach(F1=>{F1.isSelect=!1,F1.isEdit=!1,F1.isShowEdit=!1,F1.realName=!1,F1.num=0,Y1(F1)}),p.value=C1.data.list,p.value.length?w.value=!1:w.value=!0,x.value=C1.data.count,T3(()=>{})}).catch(C1=>{p2.error(C1.msg)})}function l1(C1){return C1.att_id}function m1(C1){return C1.reduce((G,J)=>G.find(I1=>I1.att_id===J.att_id)?G:G.concat([J]),[])}function M1(C1){let F1=m1(C1);const G=[],J=[];for(let g1=0;g1{c1()})}function f1(C1,F1,G){let J=0;C1.isSelect?(C1.isSelect=!1,f.value.map((g1,I1)=>{g1.att_id==C1.att_id&&(J=I1)}),f.value.splice(J,1)):(C1.isSelect=!0,f.value.push(C1)),z.value=[],f.value.map((g1,I1)=>{z.value.push(g1.att_id)}),p.value.map((g1,I1)=>{g1.isSelect?f.value.filter((J1,s2)=>{g1.att_id==J1.att_id&&(g1.num=s2+1)}):g1.num=0})}function L1(){if(s.isChoice==="单选"){if(f.value.length>1)return p2.warning("最多只能选一张图片");t("getPic",f.value[0])}else{let C1=a.query.maxLength;if(C1!=null&&f.value.length>Number(C1))return p2.warning("最多只能选"+C1+"张图片");t("getPicD",f.value),t("getPic",f.value)}}function Y1(C1){let F1=C1.real_name.split("."),G=F1[1]==null?[]:F1[1],J=F1[0].length+G.length;C1.editName=J<10?C1.real_name:C1.real_name.substr(0,4)+"..."+C1.real_name.substr(-5,5)}function W1(C1){C1.real_name==""&&p2.error("请填写内容"),Ku(C1.att_id,{real_name:C1.real_name}).then(F1=>{Y1(C1),C1.isEdit=!1,p2.success(F1.msg)}).catch(F1=>{p2.error(F1.msg)})}return(C1,F1)=>{const G=m2("el-tooltip"),J=m2("el-dropdown-item"),g1=m2("el-dropdown-menu"),I1=m2("el-dropdown"),J1=m2("el-tree"),s2=m2("el-button"),d1=m2("el-cascader"),B1=m2("el-input"),i2=m2("el-radio-button"),f2=m2("el-radio-group"),K2=m2("el-badge"),q1=m2("el-table-column"),O1=m2("el-divider"),_2=m2("el-table"),k1=m2("pagination"),a1=V6("db-click"),_1=V6("lazy"),b1=V6("viewer"),U1=V6("loading");return K1(),h2("div",$A,[R1("div",WA,[R1("div",KA,[R1("div",GA,[e.isPage?P2((K1(),h2("div",{key:0,class:"tree_tit",onClick:S},[...F1[6]||(F1[6]=[R1("i",{class:"el-icon-circle-plus"},null,-1),C2(" 添加分类 ",-1)])])),[[a1]]):H2("",!0),R1("div",XA,[R1("div",{class:b3(e.isPage?"tree":"isTree")},[j1(J1,{data:c.value,"node-key":"id","default-expand-all":"","highlight-current":"","expand-on-click-node":!1,onNodeClick:X,"current-node-key":g.value},{default:Q1(({data:A1})=>[R1("span",QA,[R1("div",YA,[A1.pid?H2("",!0):(K1(),h2("img",ZA)),j1(G,{class:"item",effect:"dark",content:A1.title,placement:"top"},{default:Q1(()=>[R1("div",JA,i0(A1.title),1)]),_:2},1032,["content"])]),R1("span",null,[j1(I1,{onCommand:Z1=>_(A1,Z1)},{dropdown:Q1(()=>[j1(g1,null,{default:Q1(()=>[j1(J,{command:"1"},{default:Q1(()=>[...F1[7]||(F1[7]=[C2("新增分类",-1)])]),_:1}),A1.id?(K1(),U2(J,{key:0,command:"2"},{default:Q1(()=>[...F1[8]||(F1[8]=[C2("编辑分类",-1)])]),_:1})):H2("",!0),A1.id?(K1(),U2(J,{key:1,command:"3"},{default:Q1(()=>[...F1[9]||(F1[9]=[C2("删除",-1)])]),_:1})):H2("",!0)]),_:2},1024)]),default:Q1(()=>[F1[10]||(F1[10]=R1("i",{class:"el-icon-more el-icon--right"},null,-1))]),_:2},1032,["onCommand"])])])]),_:1},8,["data","current-node-key"])],2)])])]),R1("div",ez,[R1("div",tz,[R1("div",nz,[e.isShow!==0?P2((K1(),U2(s2,{key:0,type:"primary",disabled:f.value.length===0,onClick:L1},{default:Q1(()=>[...F1[11]||(F1[11]=[C2("使用选中图片",-1)])]),_:1},8,["disabled"])),[[a1]]):H2("",!0),P2((K1(),U2(s2,{type:"primary",onClick:O},{default:Q1(()=>[...F1[12]||(F1[12]=[C2("上传图片",-1)])]),_:1})),[[a1]]),P2((K1(),U2(s2,{class:"mr14",disabled:!f.value.length&&!z.value.length,onClick:F1[0]||(F1[0]=A5(A1=>v1(),["stop"]))},{default:Q1(()=>[...F1[13]||(F1[13]=[C2("删除图片",-1)])]),_:1},8,["disabled"])),[[a1]]),j1(d1,{modelValue:b.value,"onUpdate:modelValue":F1[1]||(F1[1]=A1=>b.value=A1),placeholder:"图片移动至",style:{width:"150px"},class:"treeSel",options:d.value,props:{checkStrictly:!0,emitPath:!1,label:"title",value:"id"},clearable:"",onVisibleChange:$},null,8,["modelValue","options"])]),R1("div",null,[j1(B1,{class:"mr10",modelValue:h.real_name,"onUpdate:modelValue":F1[2]||(F1[2]=A1=>h.real_name=A1),placeholder:"请输入图片名",style:{width:"150px"},onChange:j},{suffix:Q1(()=>[P2(R1("i",{class:"el-icon-search el-input__icon",onClick:i1},null,512),[[a1]])]),_:1},8,["modelValue"]),e.isPage?(K1(),U2(f2,{key:0,class:"mr10",modelValue:E.value,"onUpdate:modelValue":F1[3]||(F1[3]=A1=>E.value=A1),onChange:R},{default:Q1(()=>[j1(i2,{label:"list",value:"list"},{default:Q1(()=>[...F1[14]||(F1[14]=[R1("i",{class:"el-icon-menu"},null,-1)])]),_:1}),j1(i2,{label:"table",value:"table"},{default:Q1(()=>[...F1[15]||(F1[15]=[R1("span",{class:"iconfont iconliebiao"},null,-1)])]),_:1})]),_:1},8,["modelValue"])):H2("",!0)])]),R1("div",{class:b3(["pictrueList acea-row",{"is-modal":!e.isPage}])},[E.value=="list"?(K1(),h2("div",iz,[P2(R1("div",az,[...F1[16]||(F1[16]=[R1("i",{class:"el-icon-picture",style:{color:"#dbdbdb","font-size":"60px"}},null,-1),R1("span",{class:"imagesNo_sp"},"图片库为空",-1)])],512),[[f9,w.value]]),R1("div",{ref_key:"imgListBox",ref:M,class:"acea-row mb10"},[(K1(!0),h2(N4,null,S7(p.value,(A1,Z1)=>(K1(),h2("div",{class:"pictrueList_pic mb10 mt10",key:Z1,style:f4({margin:v.value}),onMouseenter:r2=>D(A1),onMouseleave:r2=>D(A1)},[A1.num>0?(K1(),h2("p",rz,[j1(K2,{value:A1.num,type:"primary"},{default:Q1(()=>[...F1[17]||(F1[17]=[R1("a",{href:"#",class:"demo-badge"},null,-1)])]),_:1},8,["value"])])):H2("",!0),P2((K1(),h2("div",{class:b3(["img",A1.isSelect?"on":""]),onClick:A5(r2=>f1(A1,Z1,p.value),["stop"])},[P2(R1("img",null,null,512),[[_1,A1.satt_dir]])],10,sz)),[[a1]]),R1("div",{class:"operate-item",onMouseenter:r2=>H(A1),onMouseleave:r2=>H(A1)},[A1.isEdit?(K1(),U2(B1,{key:1,type:"text",modelValue:A1.real_name,"onUpdate:modelValue":r2=>A1.real_name=r2,onBlur:r2=>W1(A1)},null,8,["modelValue","onUpdate:modelValue","onBlur"])):(K1(),h2("p",lz,i0(A1.editName),1)),R1("div",uz,[A1.isShowEdit?P2((K1(),h2("span",{key:0,class:"operate mr10",onClick:r2=>v1(A1.att_id)},[...F1[18]||(F1[18]=[C2("删除",-1)])],8,dz)),[[a1]]):H2("",!0),A1.isShowEdit?P2((K1(),h2("span",{key:1,class:"operate mr10",onClick:r2=>A1.isEdit=!A1.isEdit},[...F1[19]||(F1[19]=[C2("改名",-1)])],8,fz)),[[a1]]):H2("",!0),A1.isShowEdit?P2((K1(),h2("span",{key:2,class:"operate",onClick:r2=>B(A1)},[...F1[20]||(F1[20]=[C2("查看",-1)])],8,hz)),[[a1]]):H2("",!0)])],40,cz)],44,oz))),128))],512)])):H2("",!0),E.value=="table"?P2((K1(),U2(_2,{key:1,ref:"table",data:p.value,"highlight-row":"","row-key":l1,onSelectionChange:M1,"no-data-text":"暂无数据","no-filtered-data-text":"暂无筛选结果"},{default:Q1(()=>[j1(q1,{type:"selection",width:"60","reserve-selection":!0}),j1(q1,{label:"图片名称","min-width":"190"},{default:Q1(A1=>[R1("div",mz,[P2((K1(),h2("div",pz,[P2(R1("img",null,null,512),[[_1,A1.row.att_dir]])])),[[b1]]),A1.row.isEdit?(K1(),U2(B1,{key:1,type:"text",style:{width:"90%"},modelValue:A1.row.real_name,"onUpdate:modelValue":Z1=>A1.row.real_name=Z1,onBlur:Z1=>W1(A1.row)},null,8,["modelValue","onUpdate:modelValue","onBlur"])):(K1(),h2("span",gz,i0(A1.row.real_name),1))])]),_:1}),j1(q1,{label:"上传时间","min-width":"100"},{default:Q1(A1=>[R1("span",null,i0(A1.row.time),1)]),_:1}),j1(q1,{label:"操作",fixed:"right",width:"170"},{default:Q1(A1=>[P2((K1(),h2("a",{onClick:Z1=>v1(A1.row.att_id)},[...F1[21]||(F1[21]=[C2("删除",-1)])],8,vz)),[[a1]]),j1(O1,{direction:"vertical"}),P2((K1(),h2("a",{onClick:Z1=>A1.row.isEdit=!A1.row.isEdit},[C2(i0(A1.row.isEdit?"确定":"重命名"),1)],8,_z)),[[a1]]),j1(O1,{direction:"vertical"}),P2((K1(),h2("a",{onClick:Z1=>B(A1.row)},[...F1[22]||(F1[22]=[C2("查看",-1)])],8,xz)),[[a1]])]),_:1})]),_:1},8,["data"])),[[U1,y.value]]):H2("",!0)],2),R1("div",yz,[x.value?(K1(),U2(k1,{key:0,total:x.value,pageCount:9,layout:"total, prev, pager, next",page:h.page,"onUpdate:page":F1[4]||(F1[4]=A1=>h.page=A1),onPagination:z1,limit:h.limit,"onUpdate:limit":F1[5]||(F1[5]=A1=>h.limit=A1)},null,8,["total","page","limit"])):H2("",!0)])])]),j1(y3(Gu),{ref_key:"upload",ref:T,isPage:e.isPage,isIframe:e.isIframe,categoryId:g.value,categoryList:c.value,onUploadSuccess:A},null,8,["isPage","isIframe","categoryId","categoryList"]),P2((K1(),h2("div",bz,[(K1(!0),h2(N4,null,S7(p.value,A1=>(K1(),h2("img",{src:A1.att_dir,key:A1.att_id},null,8,Ez))),128))])),[[f9,!1],[b1,{movable:!1}]])])}}}),Mz=W4(Cz,[["__scopeId","data-v-62315c76"]]),Bz={__name:"imgModal",setup(e,{expose:i}){const t=P1(!1),a=P1(function(){}),o=P1({xl:4,lg:8,md:8,sm:8,xs:8}),s=P1({xl:6,lg:8,md:12,sm:12,xs:12}),c=P1(!1),d=P1(""),p=P1(""),f=A2(()=>c.value?"多选":"单选");function u(h={}){t.value=!0,h.callback&&(a.value=h.callback),c.value=!!h.isMore,h.modelName!==void 0&&(d.value=h.modelName),h.boolean!==void 0&&(p.value=h.boolean)}i({open:u});function g(h){a.value(h),t.value=!1}return(h,x)=>{const b=m2("el-dialog");return K1(),U2(b,{modelValue:t.value,"onUpdate:modelValue":x[0]||(x[0]=w=>t.value=w),width:"1024px",title:"选择图片","close-on-click-modal":!1},{default:Q1(()=>[t.value?(K1(),U2(Mz,{key:0,isChoice:f.value,onGetPic:g,gridBtn:o.value,gridPic:s.value},null,8,["isChoice","gridBtn","gridPic"])):H2("",!0)]),_:1},8,["modelValue"])}}},Xu={};Xu.install=function(e){const i=document.createElement("div");document.body.appendChild(i);const t=j1(Bz);t.appContext=e._context,h9(t,i);const a=t.component.exposed;e.config.globalProperties.$imgModal=function(o,s,c,d){a.open({callback:o,isMore:s,modelName:c,boolean:d})}};function Rz(e){return S1({url:"product/product/type_header",method:"get",params:e})}function wz(e){return S1({url:"product/product",method:"get",params:e})}function Az(){return S1({url:"product/cache",method:"get"})}function zz(){return S1({url:"product/cache",method:"delete"})}function Sz(e,i){return S1({url:`product/product/set_show/${e}/${i}`,method:"put"})}function kz(e){return S1({url:"product/product/product_show",method:"put",data:e})}function Tz(e){return S1({url:"product/reply/save_fictitious_reply",method:"post",data:e})}function Lz(e){return S1({url:"product/product/product_unshow",method:"put",data:e})}function Fz(e){return S1({url:`product/category/tree/${e}`,method:"get"})}function Oz(e){return S1({url:`product/category/cascader/${e}`,method:"get"})}function Pz(e){return S1({url:`product/product/${e}`,method:"get"})}function Dz(e){return S1({url:`product/product/${e.id}`,method:"POST",data:e})}function Iz(e){return S1({url:"product/category",method:"get",params:e})}function Hz(){return S1({url:"product/category/create",method:"get"})}function Vz(e){return S1({url:`product/category/${e}`,method:"get"})}function Nz(e){return S1({url:`product/category/set_show/${e.id}/${e.is_show}`,method:"PUT"})}function qz(e){return S1({url:"product/product/list",method:"GET",params:e})}function Uz(e){return S1({url:"product/reply",method:"get",params:e})}function jz(e,i){return S1({url:`product/reply/set_reply/${i}`,method:"PUT",data:e})}function $z(){return S1({url:"product/copy_config",method:"get"})}function Wz(e){return S1({url:"product/copy",method:"POST",data:e})}function Kz(e,i,t){return S1({url:`product/generate_attr/${i}/${t}`,method:"POST",data:e})}function Gz(e){return S1({url:"product/product/rule",method:"GET",params:e})}function Xz(e,i){return S1({url:`product/product/rule/${i}`,method:"POST",data:e})}function Qz(e){return S1({url:`product/product/rule/${e}`,method:"get"})}function Yz(e){return S1({url:`product/reply/fictitious_reply/${e}`,method:"get"})}function Zz(){return S1({url:"product/product/get_rule",method:"get"})}function Jz(){return S1({url:"product/product/get_template",method:"get"})}function Qu(e){return S1({url:"product/product/get_temp_keys",method:"get",params:e})}function eS(e){return S1({url:`product/product/check_activity/${e}`,method:"get"})}function tS(){return S1({url:"user/user_label",method:"get"})}function nS(){return S1({url:"user/user_tree_label",method:"get"})}function Yu(){return S1({url:"file/upload_type",method:"get"})}function iS(e){return S1({url:"product/product/import_card",method:"get",params:e})}function aS(e){return S1({url:"product/batch/setting",method:"POST",data:e})}function oS(){return S1({url:"product/product_type_config",method:"get"})}function rS(e){return S1({url:"product/param/list",method:"GET",params:e})}function sS(e){return S1({url:`product/param/info/${e}`,method:"get"})}function cS(e){return S1({url:`product/param/save/${e.id}`,method:"POST",data:e})}function lS(e){return S1({url:"product/label_cate/list",method:"GET",params:e})}function uS(e){return S1({url:`product/label_cate/form/${e}`,method:"get"})}function dS(e){return S1({url:"product/label/list",method:"get",params:e})}function fS(e){return S1({url:"product/label/use_list",method:"get"})}function hS(e){return S1({url:`product/label/info/${e.id}`,method:"get"})}function mS(e){return S1({url:"product/label/save",method:"post",data:e})}function pS(e){return S1({url:`product/label/status/${e.id}/${e.status}`,method:"PUT"})}function gS(e){return S1({url:`product/label/is_show/${e.id}/${e.is_show}`,method:"PUT"})}function vS(e){return S1({url:"product/protection/list",method:"get",params:e})}function _S(e){return S1({url:`product/protection/form/${e}`,method:"get"})}function xS(e){return S1({url:`product/protection/status/${e.id}/${e.status}`,method:"PUT"})}function yS(e,i){return S1({url:`product/other_info/${e}/${i}`,method:"get"})}function bS(e,i,t){return S1({url:`product/other_save/${e}/${i}`,method:"post",data:t})}function ES(e){return S1({url:"product/reply/batch_set_status",method:"post",data:e})}const dD=Object.freeze(Object.defineProperty({__proto__:null,PostgoodsIsShow:Sz,batchSetting:aS,cacheDelete:zz,cascaderListApi:Oz,changeListApi:qz,checkActivityApi:eS,copyConfigApi:$z,crawlFromApi:Wz,fictitiousReply:Yz,generateAttrApi:Kz,getGoodHeade:Rz,getGoods:wz,getProductTypeConfig:oS,importCard:iS,labelCateListApi:lS,labelIsShowApi:gS,labelListApi:tS,labelStatusApi:pS,paramInfoApi:sS,paramListApi:rS,paramSaveApi:cS,productAddApi:Dz,productBrokerage:yS,productBrokerageUpdate:bS,productCache:Az,productCreateApi:Hz,productEditApi:Vz,productGetRuleApi:Zz,productGetTempKeysApi:Qu,productGetTemplateApi:Jz,productInfoApi:Pz,productLabelCateFormApi:uS,productLabelInfoApi:hS,productLabelListApi:dS,productLabelSaveApi:mS,productLabelUseListApi:fS,productListApi:Iz,productProtectionFormApi:_S,productProtectionListApi:vS,productShowApi:kz,productUnshowApi:Lz,productUserLabel:nS,protectionStatusApi:xS,replyBatchStatus:ES,replyListApi:Uz,ruleAddApi:Xz,ruleInfoApi:Qz,ruleListApi:Gz,saveFictitiousReply:Tz,setReplyApi:jz,setShowApi:Nz,treeListApi:Fz,uploadType:Yu},Symbol.toStringTag,{value:"Module"}));var Zu={exports:{}};const CS={},MS=Object.freeze(Object.defineProperty({__proto__:null,default:CS},Symbol.toStringTag,{value:"Module"})),Ln=I_(MS);/** + * [js-md5]{@link https://github.com/emn178/js-md5} + * + * @namespace md5 + * @version 0.8.3 + * @author Chen, Yi-Cyuan [emn178@gmail.com] + * @copyright Chen, Yi-Cyuan 2014-2023 + * @license MIT + */(function(e){(function(){var i="input is invalid type",t="finalize already called",a=typeof window=="object",o=a?window:{};o.JS_MD5_NO_WINDOW&&(a=!1);var s=!a&&typeof self=="object",c=!o.JS_MD5_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;c?o=w2:s&&(o=self);var d=!o.JS_MD5_NO_COMMON_JS&&!0&&e.exports,p=!o.JS_MD5_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",f="0123456789abcdef".split(""),u=[128,32768,8388608,-2147483648],g=[0,8,16,24],h=["hex","array","digest","buffer","arrayBuffer","base64"],x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),b=[],w;if(p){var F=new ArrayBuffer(68);w=new Uint8Array(F),b=new Uint32Array(F)}var z=Array.isArray;(o.JS_MD5_NO_NODE_JS||!z)&&(z=function(_){return Object.prototype.toString.call(_)==="[object Array]"});var E=ArrayBuffer.isView;p&&(o.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW||!E)&&(E=function(_){return typeof _=="object"&&_.buffer&&_.buffer.constructor===ArrayBuffer});var m=function(_){var A=typeof _;if(A==="string")return[_,!0];if(A!=="object"||_===null)throw new Error(i);if(p&&_.constructor===ArrayBuffer)return[new Uint8Array(_),!1];if(!z(_)&&!E(_))throw new Error(i);return[_,!1]},y=function(_){return function(A){return new R(!0).update(A)[_]()}},k=function(){var _=y("hex");c&&(_=v(_)),_.create=function(){return new R},_.update=function(D){return _.create().update(D)};for(var A=0;A>>6,v1[N++]=128|D&63):D<55296||D>=57344?(v1[N++]=224|D>>>12,v1[N++]=128|D>>>6&63,v1[N++]=128|D&63):(D=65536+((D&1023)<<10|_.charCodeAt(++H)&1023),v1[N++]=240|D>>>18,v1[N++]=128|D>>>12&63,v1[N++]=128|D>>>6&63,v1[N++]=128|D&63);else for(N=this.start;H<$&&N<64;++H)D=_.charCodeAt(H),D<128?Y[N>>>2]|=D<>>2]|=(192|D>>>6)<>>2]|=(128|D&63)<=57344?(Y[N>>>2]|=(224|D>>>12)<>>2]|=(128|D>>>6&63)<>>2]|=(128|D&63)<>>2]|=(240|D>>>18)<>>2]|=(128|D>>>12&63)<>>2]|=(128|D>>>6&63)<>>2]|=(128|D&63)<>>2]|=_[H]<=64?(this.start=N-64,this.hash(),this.hashed=!0):this.start=N}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this},R.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var _=this.blocks,A=this.lastByteIndex;_[A>>>2]|=u[A&3],A>=56&&(this.hashed||this.hash(),_[0]=_[16],_[16]=_[1]=_[2]=_[3]=_[4]=_[5]=_[6]=_[7]=_[8]=_[9]=_[10]=_[11]=_[12]=_[13]=_[14]=_[15]=0),_[14]=this.bytes<<3,_[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},R.prototype.hash=function(){var _,A,O,D,H,N,$=this.blocks;this.first?(_=$[0]-680876937,_=(_<<7|_>>>25)-271733879<<0,D=(-1732584194^_&2004318071)+$[1]-117830708,D=(D<<12|D>>>20)+_<<0,O=(-271733879^D&(_^-271733879))+$[2]-1126478375,O=(O<<17|O>>>15)+D<<0,A=(_^O&(D^_))+$[3]-1316259209,A=(A<<22|A>>>10)+O<<0):(_=this.h0,A=this.h1,O=this.h2,D=this.h3,_+=(D^A&(O^D))+$[0]-680876936,_=(_<<7|_>>>25)+A<<0,D+=(O^_&(A^O))+$[1]-389564586,D=(D<<12|D>>>20)+_<<0,O+=(A^D&(_^A))+$[2]+606105819,O=(O<<17|O>>>15)+D<<0,A+=(_^O&(D^_))+$[3]-1044525330,A=(A<<22|A>>>10)+O<<0),_+=(D^A&(O^D))+$[4]-176418897,_=(_<<7|_>>>25)+A<<0,D+=(O^_&(A^O))+$[5]+1200080426,D=(D<<12|D>>>20)+_<<0,O+=(A^D&(_^A))+$[6]-1473231341,O=(O<<17|O>>>15)+D<<0,A+=(_^O&(D^_))+$[7]-45705983,A=(A<<22|A>>>10)+O<<0,_+=(D^A&(O^D))+$[8]+1770035416,_=(_<<7|_>>>25)+A<<0,D+=(O^_&(A^O))+$[9]-1958414417,D=(D<<12|D>>>20)+_<<0,O+=(A^D&(_^A))+$[10]-42063,O=(O<<17|O>>>15)+D<<0,A+=(_^O&(D^_))+$[11]-1990404162,A=(A<<22|A>>>10)+O<<0,_+=(D^A&(O^D))+$[12]+1804603682,_=(_<<7|_>>>25)+A<<0,D+=(O^_&(A^O))+$[13]-40341101,D=(D<<12|D>>>20)+_<<0,O+=(A^D&(_^A))+$[14]-1502002290,O=(O<<17|O>>>15)+D<<0,A+=(_^O&(D^_))+$[15]+1236535329,A=(A<<22|A>>>10)+O<<0,_+=(O^D&(A^O))+$[1]-165796510,_=(_<<5|_>>>27)+A<<0,D+=(A^O&(_^A))+$[6]-1069501632,D=(D<<9|D>>>23)+_<<0,O+=(_^A&(D^_))+$[11]+643717713,O=(O<<14|O>>>18)+D<<0,A+=(D^_&(O^D))+$[0]-373897302,A=(A<<20|A>>>12)+O<<0,_+=(O^D&(A^O))+$[5]-701558691,_=(_<<5|_>>>27)+A<<0,D+=(A^O&(_^A))+$[10]+38016083,D=(D<<9|D>>>23)+_<<0,O+=(_^A&(D^_))+$[15]-660478335,O=(O<<14|O>>>18)+D<<0,A+=(D^_&(O^D))+$[4]-405537848,A=(A<<20|A>>>12)+O<<0,_+=(O^D&(A^O))+$[9]+568446438,_=(_<<5|_>>>27)+A<<0,D+=(A^O&(_^A))+$[14]-1019803690,D=(D<<9|D>>>23)+_<<0,O+=(_^A&(D^_))+$[3]-187363961,O=(O<<14|O>>>18)+D<<0,A+=(D^_&(O^D))+$[8]+1163531501,A=(A<<20|A>>>12)+O<<0,_+=(O^D&(A^O))+$[13]-1444681467,_=(_<<5|_>>>27)+A<<0,D+=(A^O&(_^A))+$[2]-51403784,D=(D<<9|D>>>23)+_<<0,O+=(_^A&(D^_))+$[7]+1735328473,O=(O<<14|O>>>18)+D<<0,A+=(D^_&(O^D))+$[12]-1926607734,A=(A<<20|A>>>12)+O<<0,H=A^O,_+=(H^D)+$[5]-378558,_=(_<<4|_>>>28)+A<<0,D+=(H^_)+$[8]-2022574463,D=(D<<11|D>>>21)+_<<0,N=D^_,O+=(N^A)+$[11]+1839030562,O=(O<<16|O>>>16)+D<<0,A+=(N^O)+$[14]-35309556,A=(A<<23|A>>>9)+O<<0,H=A^O,_+=(H^D)+$[1]-1530992060,_=(_<<4|_>>>28)+A<<0,D+=(H^_)+$[4]+1272893353,D=(D<<11|D>>>21)+_<<0,N=D^_,O+=(N^A)+$[7]-155497632,O=(O<<16|O>>>16)+D<<0,A+=(N^O)+$[10]-1094730640,A=(A<<23|A>>>9)+O<<0,H=A^O,_+=(H^D)+$[13]+681279174,_=(_<<4|_>>>28)+A<<0,D+=(H^_)+$[0]-358537222,D=(D<<11|D>>>21)+_<<0,N=D^_,O+=(N^A)+$[3]-722521979,O=(O<<16|O>>>16)+D<<0,A+=(N^O)+$[6]+76029189,A=(A<<23|A>>>9)+O<<0,H=A^O,_+=(H^D)+$[9]-640364487,_=(_<<4|_>>>28)+A<<0,D+=(H^_)+$[12]-421815835,D=(D<<11|D>>>21)+_<<0,N=D^_,O+=(N^A)+$[15]+530742520,O=(O<<16|O>>>16)+D<<0,A+=(N^O)+$[2]-995338651,A=(A<<23|A>>>9)+O<<0,_+=(O^(A|~D))+$[0]-198630844,_=(_<<6|_>>>26)+A<<0,D+=(A^(_|~O))+$[7]+1126891415,D=(D<<10|D>>>22)+_<<0,O+=(_^(D|~A))+$[14]-1416354905,O=(O<<15|O>>>17)+D<<0,A+=(D^(O|~_))+$[5]-57434055,A=(A<<21|A>>>11)+O<<0,_+=(O^(A|~D))+$[12]+1700485571,_=(_<<6|_>>>26)+A<<0,D+=(A^(_|~O))+$[3]-1894986606,D=(D<<10|D>>>22)+_<<0,O+=(_^(D|~A))+$[10]-1051523,O=(O<<15|O>>>17)+D<<0,A+=(D^(O|~_))+$[1]-2054922799,A=(A<<21|A>>>11)+O<<0,_+=(O^(A|~D))+$[8]+1873313359,_=(_<<6|_>>>26)+A<<0,D+=(A^(_|~O))+$[15]-30611744,D=(D<<10|D>>>22)+_<<0,O+=(_^(D|~A))+$[6]-1560198380,O=(O<<15|O>>>17)+D<<0,A+=(D^(O|~_))+$[13]+1309151649,A=(A<<21|A>>>11)+O<<0,_+=(O^(A|~D))+$[4]-145523070,_=(_<<6|_>>>26)+A<<0,D+=(A^(_|~O))+$[11]-1120210379,D=(D<<10|D>>>22)+_<<0,O+=(_^(D|~A))+$[2]+718787259,O=(O<<15|O>>>17)+D<<0,A+=(D^(O|~_))+$[9]-343485551,A=(A<<21|A>>>11)+O<<0,this.first?(this.h0=_+1732584193<<0,this.h1=A-271733879<<0,this.h2=O-1732584194<<0,this.h3=D+271733878<<0,this.first=!1):(this.h0=this.h0+_<<0,this.h1=this.h1+A<<0,this.h2=this.h2+O<<0,this.h3=this.h3+D<<0)},R.prototype.hex=function(){this.finalize();var _=this.h0,A=this.h1,O=this.h2,D=this.h3;return f[_>>>4&15]+f[_&15]+f[_>>>12&15]+f[_>>>8&15]+f[_>>>20&15]+f[_>>>16&15]+f[_>>>28&15]+f[_>>>24&15]+f[A>>>4&15]+f[A&15]+f[A>>>12&15]+f[A>>>8&15]+f[A>>>20&15]+f[A>>>16&15]+f[A>>>28&15]+f[A>>>24&15]+f[O>>>4&15]+f[O&15]+f[O>>>12&15]+f[O>>>8&15]+f[O>>>20&15]+f[O>>>16&15]+f[O>>>28&15]+f[O>>>24&15]+f[D>>>4&15]+f[D&15]+f[D>>>12&15]+f[D>>>8&15]+f[D>>>20&15]+f[D>>>16&15]+f[D>>>28&15]+f[D>>>24&15]},R.prototype.toString=R.prototype.hex,R.prototype.digest=function(){this.finalize();var _=this.h0,A=this.h1,O=this.h2,D=this.h3;return[_&255,_>>>8&255,_>>>16&255,_>>>24&255,A&255,A>>>8&255,A>>>16&255,A>>>24&255,O&255,O>>>8&255,O>>>16&255,O>>>24&255,D&255,D>>>8&255,D>>>16&255,D>>>24&255]},R.prototype.array=R.prototype.digest,R.prototype.arrayBuffer=function(){this.finalize();var _=new ArrayBuffer(16),A=new Uint32Array(_);return A[0]=this.h0,A[1]=this.h1,A[2]=this.h2,A[3]=this.h3,_},R.prototype.buffer=R.prototype.arrayBuffer,R.prototype.base64=function(){for(var _,A,O,D="",H=this.array(),N=0;N<15;)_=H[N++],A=H[N++],O=H[N++],D+=x[_>>>2]+x[(_<<4|A>>>4)&63]+x[(A<<2|O>>>6)&63]+x[O&63];return _=H[N],D+=x[_>>>2]+x[_<<4&63]+"==",D};function B(_,A){var O,D=m(_);if(_=D[0],D[1]){var H=[],N=_.length,$=0,Y;for(O=0;O>>6,H[$++]=128|Y&63):Y<55296||Y>=57344?(H[$++]=224|Y>>>12,H[$++]=128|Y>>>6&63,H[$++]=128|Y&63):(Y=65536+((Y&1023)<<10|_.charCodeAt(++O)&1023),H[$++]=240|Y>>>18,H[$++]=128|Y>>>12&63,H[$++]=128|Y>>>6&63,H[$++]=128|Y&63);_=H}_.length>64&&(_=new R(!0).update(_).array());var v1=[],t1=[];for(O=0;O<64;++O){var X=_[O]||0;v1[O]=92^X,t1[O]=54^X}R.call(this,A),this.update(t1),this.oKeyPad=v1,this.inner=!0,this.sharedMemory=A}B.prototype=new R,B.prototype.finalize=function(){if(R.prototype.finalize.call(this),this.inner){this.inner=!1;var _=this.array();R.call(this,this.sharedMemory),this.update(this.oKeyPad),this.update(_),R.prototype.finalize.call(this)}};var S=k();S.md5=S,S.md5.hmac=T(),d?e.exports=S:o.md5=S})()})(Zu);var BS=Zu.exports;const RS=M9(BS);function Ju(e,i){return S1({url:"file/video_upload",method:"post",file:!0,data:e})}function wS(e,i){return S1({url:e,method:"post",file:!0,data:i})}const AS=({file:e,pieceSize:i=2,success:t,error:a,uploading:o})=>{if(!e)return;let s="";const c=i*1024*1024,d=Math.ceil(e.size/c),p=()=>{let h=new FileReader;h.readAsArrayBuffer(e),h.addEventListener("load",x=>{s=RS.create().update(x.target.result).hex(),u()}),h.addEventListener("error",x=>{a&&a(x)})},f=(h,x,b)=>{let w=x*b,F=Math.min(h.size,w+b),z=h.slice(w,F);return{start:w,end:F,chunk:z}},u=async()=>{for(var h=0;hnew Promise((x,b)=>{let w=new FormData;w.append("chunkNumber",h.currentChunk+1),w.append("chunkSize",c),w.append("currentChunkSize",h.chunk.size),w.append("file",h.chunk),w.append("filename",e.name),w.append("totalChunks",h.chunkCount),w.append("md5",s),Ju(w).then(F=>{F.data.code==1?(o(h.currentChunk+1,h.chunkCount),x(!0)):F.data.code==2&&(h.currentChunk{a&&a(F)})});p()};var ed={exports:{}};(function(e,i){(function(t,a){e.exports=a()})(typeof self<"u"?self:w2,function(){return function(t){function a(s){if(o[s])return o[s].exports;var c=o[s]={i:s,l:!1,exports:{}};return t[s].call(c.exports,c,c.exports,a),c.l=!0,c.exports}var o={};return a.m=t,a.c=o,a.d=function(s,c,d){a.o(s,c)||Object.defineProperty(s,c,{configurable:!1,enumerable:!0,get:d})},a.n=function(s){var c=s&&s.__esModule?function(){return s.default}:function(){return s};return a.d(c,"a",c),c},a.o=function(s,c){return Object.prototype.hasOwnProperty.call(s,c)},a.p="/dist/",a(a.s=58)}([function(t,a){var o=t.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=o)},function(t,a){var o=t.exports={version:"2.6.9"};typeof __e=="number"&&(__e=o)},function(t,a,o){var s=o(31)("wks"),c=o(22),d=o(0).Symbol,p=typeof d=="function";(t.exports=function(f){return s[f]||(s[f]=p&&d[f]||(p?d:c)("Symbol."+f))}).store=s},function(t,a,o){var s=o(8);t.exports=function(c){if(!s(c))throw TypeError(c+" is not an object!");return c}},function(t,a,o){t.exports=!o(10)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},function(t,a,o){var s=o(0),c=o(1),d=o(19),p=o(6),f=o(9),u=function(g,h,x){var b,w,F,z=g&u.F,E=g&u.G,m=g&u.S,y=g&u.P,k=g&u.B,v=g&u.W,M=E?c:c[h]||(c[h]={}),T=M.prototype,R=E?s:m?s[h]:(s[h]||{}).prototype;for(b in E&&(x=h),x)(w=!z&&R&&R[b]!==void 0)&&f(M,b)||(F=w?R[b]:x[b],M[b]=E&&typeof R[b]!="function"?x[b]:k&&w?d(F,s):v&&R[b]==F?function(B){var S=function(_,A,O){if(this instanceof B){switch(arguments.length){case 0:return new B;case 1:return new B(_);case 2:return new B(_,A)}return new B(_,A,O)}return B.apply(this,arguments)};return S.prototype=B.prototype,S}(F):y&&typeof F=="function"?d(Function.call,F):F,y&&((M.virtual||(M.virtual={}))[b]=F,g&u.R&&T&&!T[b]&&p(T,b,F)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,a,o){var s=o(7),c=o(21);t.exports=o(4)?function(d,p,f){return s.f(d,p,c(1,f))}:function(d,p,f){return d[p]=f,d}},function(t,a,o){var s=o(3),c=o(43),d=o(29),p=Object.defineProperty;a.f=o(4)?Object.defineProperty:function(f,u,g){if(s(f),u=d(u,!0),s(g),c)try{return p(f,u,g)}catch{}if("get"in g||"set"in g)throw TypeError("Accessors not supported!");return"value"in g&&(f[u]=g.value),f}},function(t,a){t.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},function(t,a){var o={}.hasOwnProperty;t.exports=function(s,c){return o.call(s,c)}},function(t,a){t.exports=function(o){try{return!!o()}catch{return!0}}},function(t,a,o){var s=o(47),c=o(27);t.exports=function(d){return s(c(d))}},function(t,a,o){function s(v){return v&&v.__esModule?v:{default:v}}function c(v){var M=v+864e5;return new Date().getTime()>M}function d(v){return(0,E.default)(v).filter(function(M){return M.startsWith("x:")}).map(function(M){return[M,v[M].toString()]})}function p(v){return"qiniu_js_sdk_upload_file_"+v.name+"_size_"+v.size}function f(v){try{return JSON.parse(localStorage.getItem(p(v)))||[]}catch{return window.console&&window.console.warn&&console.warn("getLocalFileInfo failed"),[]}}function u(v){return{Authorization:"UpToken "+v}}function g(){return window.XMLHttpRequest?new XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP")}function h(v){return new w.default(function(M,T){var R=new FileReader;R.readAsArrayBuffer(v),R.onload=function(B){var S=B.target.result;M(S)},R.onerror=function(){T(new Error("fileReader 读取错误"))}})}function x(v,M){return new w.default(function(T,R){var B=g();B.open(M.method,v),M.onCreate&&M.onCreate(B),M.headers&&(0,E.default)(M.headers).forEach(function(S){return B.setRequestHeader(S,M.headers[S])}),B.upload.addEventListener("progress",function(S){S.lengthComputable&&M.onProgress&&M.onProgress({loaded:S.loaded,total:S.total})}),B.onreadystatechange=function(){var S=B.responseText;if(B.readyState===4){var _=B.getResponseHeader("x-reqId")||"";if(B.status!==200){var A="xhr request failed, code: "+B.status+";";return S&&(A=A+" response: "+S),void R({code:B.status,message:A,reqId:_,isRequestError:!0})}try{T({data:JSON.parse(S),reqId:_})}catch(O){R(O)}}},B.send(M.body)})}function b(){return window.location.protocol==="http:"?"http:":"https:"}a.__esModule=!0;var w=s(o(18)),F=s(o(34)),z=s(o(86)),E=s(o(36));a.isChunkExpired=c,a.getChunks=function(v,M){for(var T=[],R=Math.ceil(v.size/M),B=0;B-1},a.createObjectURL=function(v){return(window.URL||window.webkitURL||window.mozURL).createObjectURL(v)},a.getTransform=function(v,M){var T=v.width,R=v.height;switch(M){case 1:return{width:T,height:R,matrix:[1,0,0,1,0,0]};case 2:return{width:T,height:R,matrix:[-1,0,0,1,T,0]};case 3:return{width:T,height:R,matrix:[-1,0,0,-1,T,R]};case 4:return{width:T,height:R,matrix:[1,0,0,-1,0,R]};case 5:return{width:R,height:T,matrix:[0,1,1,0,0,0]};case 6:return{width:R,height:T,matrix:[0,1,-1,0,R,0]};case 7:return{width:R,height:T,matrix:[0,-1,-1,0,R,T]};case 8:return{width:R,height:T,matrix:[0,-1,1,0,0,T]}}};var m=o(56),y=o(39),k=s(o(91))},function(t,a){t.exports=!0},function(t,a){t.exports={}},function(t,a,o){var s=o(46),c=o(32);t.exports=Object.keys||function(d){return s(d,c)}},function(t,a){var o={}.toString;t.exports=function(s){return o.call(s).slice(8,-1)}},function(t,a,o){a.__esModule=!0,a.default=function(s,c){if(!(s instanceof c))throw new TypeError("Cannot call a class as a function")}},function(t,a,o){t.exports={default:o(59),__esModule:!0}},function(t,a,o){var s=o(20);t.exports=function(c,d,p){if(s(c),d===void 0)return c;switch(p){case 1:return function(f){return c.call(d,f)};case 2:return function(f,u){return c.call(d,f,u)};case 3:return function(f,u,g){return c.call(d,f,u,g)}}return function(){return c.apply(d,arguments)}}},function(t,a){t.exports=function(o){if(typeof o!="function")throw TypeError(o+" is not a function!");return o}},function(t,a){t.exports=function(o,s){return{enumerable:!(1&o),configurable:!(2&o),writable:!(4&o),value:s}}},function(t,a){var o=0,s=Math.random();t.exports=function(c){return"Symbol(".concat(c===void 0?"":c,")_",(++o+s).toString(36))}},function(t,a,o){var s=o(7).f,c=o(9),d=o(2)("toStringTag");t.exports=function(p,f,u){p&&!c(p=u?p:p.prototype,d)&&s(p,d,{configurable:!0,value:f})}},function(t,a,o){var s=o(27);t.exports=function(c){return Object(s(c))}},function(t,a){a.f={}.propertyIsEnumerable},function(t,a){var o=Math.ceil,s=Math.floor;t.exports=function(c){return isNaN(c=+c)?0:(c>0?s:o)(c)}},function(t,a){t.exports=function(o){if(o==null)throw TypeError("Can't call method on "+o);return o}},function(t,a,o){var s=o(8),c=o(0).document,d=s(c)&&s(c.createElement);t.exports=function(p){return d?c.createElement(p):{}}},function(t,a,o){var s=o(8);t.exports=function(c,d){if(!s(c))return c;var p,f;if(d&&typeof(p=c.toString)=="function"&&!s(f=p.call(c))||typeof(p=c.valueOf)=="function"&&!s(f=p.call(c))||!d&&typeof(p=c.toString)=="function"&&!s(f=p.call(c)))return f;throw TypeError("Can't convert object to primitive value")}},function(t,a,o){var s=o(31)("keys"),c=o(22);t.exports=function(d){return s[d]||(s[d]=c(d))}},function(t,a,o){var s=o(1),c=o(0),d=c["__core-js_shared__"]||(c["__core-js_shared__"]={});(t.exports=function(p,f){return d[p]||(d[p]=f!==void 0?f:{})})("versions",[]).push({version:s.version,mode:o(13)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,a){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,a,o){var s=o(20);t.exports.f=function(c){return new function(d){var p,f;this.promise=new d(function(u,g){if(p!==void 0||f!==void 0)throw TypeError("Bad Promise constructor");p=u,f=g}),this.resolve=s(p),this.reject=s(f)}(c)}},function(t,a,o){t.exports={default:o(83),__esModule:!0}},function(t,a){a.f=Object.getOwnPropertySymbols},function(t,a,o){t.exports={default:o(88),__esModule:!0}},function(t,a,o){a.f=o(2)},function(t,a,o){var s=o(0),c=o(1),d=o(13),p=o(37),f=o(7).f;t.exports=function(u){var g=c.Symbol||(c.Symbol=d?{}:s.Symbol||{});u.charAt(0)=="_"||u in g||f(g,u,{value:p.f(u)})}},function(t,a,o){a.__esModule=!0,a.regionUphostMap={z0:{srcUphost:"up.qiniup.com",cdnUphost:"upload.qiniup.com"},z1:{srcUphost:"up-z1.qiniup.com",cdnUphost:"upload-z1.qiniup.com"},z2:{srcUphost:"up-z2.qiniup.com",cdnUphost:"upload-z2.qiniup.com"},na0:{srcUphost:"up-na0.qiniup.com",cdnUphost:"upload-na0.qiniup.com"},as0:{srcUphost:"up-as0.qiniup.com",cdnUphost:"upload-as0.qiniup.com"}},a.region={z0:"z0",z1:"z1",z2:"z2",na0:"na0",as0:"as0"}},function(t,a){},function(t,a,o){var s=o(60)(!0);o(42)(String,"String",function(c){this._t=String(c),this._i=0},function(){var c,d=this._t,p=this._i;return p>=d.length?{value:void 0,done:!0}:(c=s(d,p),this._i+=c.length,{value:c,done:!1})})},function(t,a,o){var s=o(13),c=o(5),d=o(44),p=o(6),f=o(14),u=o(61),g=o(23),h=o(65),x=o(2)("iterator"),b=!([].keys&&"next"in[].keys()),w=function(){return this};t.exports=function(F,z,E,m,y,k,v){u(E,z,m);var M,T,R,B=function(Y){if(!b&&Y in O)return O[Y];switch(Y){case"keys":case"values":return function(){return new E(this,Y)}}return function(){return new E(this,Y)}},S=z+" Iterator",_=y=="values",A=!1,O=F.prototype,D=O[x]||O["@@iterator"]||y&&O[y],H=D||B(y),N=y?_?B("entries"):H:void 0,$=z=="Array"&&O.entries||D;if($&&(R=h($.call(new F)))!==Object.prototype&&R.next&&(g(R,S,!0),s||typeof R[x]=="function"||p(R,x,w)),_&&D&&D.name!=="values"&&(A=!0,H=function(){return D.call(this)}),s&&!v||!b&&!A&&O[x]||p(O,x,H),f[z]=H,f[S]=w,y)if(M={values:_?H:B("values"),keys:k?H:B("keys"),entries:N},v)for(T in M)T in O||d(O,T,M[T]);else c(c.P+c.F*(b||A),z,M);return M}},function(t,a,o){t.exports=!o(4)&&!o(10)(function(){return Object.defineProperty(o(28)("div"),"a",{get:function(){return 7}}).a!=7})},function(t,a,o){t.exports=o(6)},function(t,a,o){var s=o(3),c=o(62),d=o(32),p=o(30)("IE_PROTO"),f=function(){},u=function(){var g,h=o(28)("iframe"),x=d.length;for(h.style.display="none",o(49).appendChild(h),h.src="javascript:",(g=h.contentWindow.document).open(),g.write("